MCPcopy Create free account

hub / github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui / functions

Functions682 in github.com/arhamkhnz/next-shadcn-admin-dashboard-baseui

↓ 429 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 25 callersFunctionformatCurrency
( amount: number, opts?: { currency?: string; locale?: string; minimumFractionDigits?: number;
src/lib/utils.ts:22
↓ 16 callersFunctiondt
(day: number, hour: number, min = 0)
src/app/(main)/dashboard/calendar/_components/events-data.ts:6
↓ 16 callersFunctiongetInitials
(str: string)
src/lib/utils.ts:8
↓ 15 callersFunctiondaysAgo
(days: number)
src/app/(main)/mail/_components/data.tsx:16
↓ 11 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:47
↓ 9 callersFunctiongetNumber
(value: number | string | undefined)
src/app/(main)/dashboard/ecommerce/_components/traffic-sources.tsx:72
↓ 6 callersFunctionfindColumnId
(board: BoardState, id: string)
src/app/(main)/dashboard/kanban/_components/utils.ts:8
↓ 6 callersFunctionformatInvoiceCurrency
(value: number)
src/app/(main)/dashboard/invoice/_components/invoice-paper.tsx:135
↓ 5 callersFunctiondefinePreference
(definition: PreferenceDefinition<Values, Persistence, Attribute>)
src/lib/preferences/preferences-config.ts:39
↓ 5 callersFunctionpreventPaginationNavigation
(event: React.MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/tasks/_components/tasks.tsx:41
↓ 4 callersFunctiond
(day: number)
src/app/(main)/dashboard/calendar/_components/events-data.ts:5
↓ 4 callersFunctionformatNoteDate
(date: Date)
src/app/(main)/dashboard/productivity/_components/recent-notes-card.tsx:9
↓ 4 callersFunctiongetInvoiceSubtotal
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:157
↓ 4 callersFunctionsetColumnSelectFilter
(columnId: string, value: string | null)
src/app/(main)/dashboard/users/_components/users.tsx:75
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:35
↓ 4 callersFunctionuseIsMobile
()
src/hooks/use-mobile.ts:5
↓ 4 callersFunctionuseMail
()
src/app/(main)/mail/_components/use-mail.ts:21
↓ 3 callersFunctiongetInvoiceDiscount
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:171
↓ 3 callersFunctiongetLineAmount
(item?: InvoiceLineItem)
src/app/(main)/dashboard/invoice/_components/data.ts:144
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/components/ui/chart.tsx:330
↓ 3 callersFunctionisItemActive
(item: NavMainItem)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:89
↓ 3 callersFunctiononChange
()
src/hooks/use-lg.ts:10
↓ 3 callersFunctionpreventPaginationNavigation
(event: MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/users/_components/users-table.tsx:23
↓ 3 callersFunctionpreventPaginationNavigation
(event: React.MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/crm/_components/opportunities-section.tsx:47
↓ 3 callersFunctionpreventPaginationNavigation
(event: React.MouseEvent<HTMLAnchorElement>)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/formatters.ts:29
↓ 3 callersFunctionusePreferencesStore
(selector: (state: PreferencesState) => T)
src/stores/preferences/preferences-provider.tsx:87
↓ 2 callersFunctionapplyPreference
( key: K, value: PreferenceValueMap[K], )
src/lib/preferences/preference-runtime.ts:7
↓ 2 callersFunctionapplyThemeMode
(mode: ThemeMode)
src/lib/preferences/theme-utils.ts:11
↓ 2 callersFunctionbuildRevenueChartData
(from: Date, to: Date)
src/app/(main)/dashboard/(legacy)/analytics-v1/_components/analytics-overview.tsx:128
↓ 2 callersFunctioncreateInlineSaveHandler
(header: string)
src/app/(main)/dashboard/(legacy)/default-v1/_components/proposal-sections-table/columns.tsx:248
↓ 2 callersFunctiondefineSSRPreference
(definition: PreferenceDefinition<Values, Persistence, Attribute>)
src/lib/preferences/preferences-config.ts:47
↓ 2 callersFunctiongetInvoiceItems
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:153
↓ 2 callersFunctiongetInvoiceTax
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:165
↓ 2 callersFunctiongetInvoiceTaxOption
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:161
↓ 2 callersFunctiongetPreference
(key: K)
src/server/server-actions.ts:30
↓ 2 callersFunctiongetPreferencePersistence
(key: PreferenceKey)
src/lib/preferences/preferences-config.ts:114
↓ 2 callersFunctiongroupRowsByRoleGroup
(rows: RoleTableRow[])
src/app/(main)/dashboard/roles/_components/roles-table/table.tsx:25
↓ 2 callersFunctionhandleOpenChange
(value: boolean)
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:96
↓ 2 callersFunctionhasSubItems
(item: NavMainItem)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:82
↓ 2 callersFunctionhoursAgo
(hours: number)
src/app/(main)/mail/_components/data.tsx:15
↓ 2 callersFunctionisSubItemActive
(url: string)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:97
↓ 2 callersFunctionminutesAgo
(minutes: number)
src/app/(main)/mail/_components/data.tsx:14
↓ 2 callersFunctionparsePreference
( key: K, rawValue: string | null | undefined, )
src/lib/preferences/preferences-config.ts:122
↓ 2 callersFunctionpersistPreference
(key: K, value: PreferenceValueMap[K])
src/lib/preferences/preferences-storage.ts:33
↓ 2 callersFunctionprojectPoint
(routePoint: RoutePoint)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:98
↓ 2 callersFunctionrenderGroups
(items: SearchItem[])
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:111
↓ 2 callersFunctionroundCoordinate
(value: number)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:36
↓ 2 callersFunctionsetClientCookie
(key: string, value: string, days = 7)
src/lib/cookie.client.ts:10
↓ 2 callersFunctionsubscribeForMode
(mode: PreferenceValueMap["theme_mode"])
src/stores/preferences/preferences-provider.tsx:59
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:32
↓ 2 callersFunctionuseChat
()
src/app/(main)/chat/_components/use-chat.ts:21
↓ 2 callersFunctionwriteClientCookie
(serializedCookie: string)
src/lib/cookie.client.ts:5
↓ 1 callersFunctionassignPreference
(key: K)
src/stores/preferences/preferences-provider.tsx:31
↓ 1 callersFunctionbillingIcon
(billing: string)
src/app/(main)/dashboard/default/_components/recent-customers-table/columns.tsx:13
↓ 1 callersFunctionbuildMapGeometry
(shipment: Shipment | null)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:77
↓ 1 callersFunctioncreatePreferencesStore
(initialValues: Partial<PreferenceValueMap> = {})
src/stores/preferences/preferences-store.ts:21
↓ 1 callersFunctioncreateRouteLine
(shipment: Shipment)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:40
↓ 1 callersFunctioncreateSnapshotFrame
(shipment: Shipment)
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:47
↓ 1 callersFunctionfindTask
(board: BoardState, id: string)
src/app/(main)/dashboard/kanban/_components/utils.ts:13
↓ 1 callersFunctionformatCurrencyTooltipValue
(value: unknown)
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:84
↓ 1 callersFunctionformatInvoiceCurrency
(value: number)
src/app/(main)/dashboard/invoice/_components/invoice-items.tsx:181
↓ 1 callersFunctionformatMailDate
(date: string)
src/app/(main)/mail/_components/mail-list.tsx:105
↓ 1 callersFunctionformatMonthTick
(value: string)
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:64
↓ 1 callersFunctionformatOrderCount
(filter: OrderFilter, count: number)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/formatters.ts:5
↓ 1 callersFunctionformatOrderDate
(date: string)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/columns.tsx:19
↓ 1 callersFunctionformatSelectedOrderCount
(count: number)
src/app/(main)/dashboard/ecommerce/_components/recent-orders-table/formatters.ts:23
↓ 1 callersFunctionformatTooltipCurrency
(value: number | string)
src/app/(main)/dashboard/finance/_components/transactions-overview-card.tsx:61
↓ 1 callersFunctionformatTooltipLabel
(value: string)
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:72
↓ 1 callersFunctionformatTrafficTooltipLabel
(value: string)
src/app/(main)/dashboard/ecommerce/_components/store-traffic.tsx:140
↓ 1 callersFunctiongetAccountColor
(key: BalanceKey)
src/app/(main)/dashboard/finance/_components/balance-distribution-card.tsx:82
↓ 1 callersFunctiongetAvailableItems
(items: SearchItem[])
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:66
↓ 1 callersFunctiongetAvatarTone
(name: string)
src/app/(main)/dashboard/users/_components/users-columns.tsx:44
↓ 1 callersFunctiongetContactLabel
(mode: Shipment["mode"])
src/app/(main)/dashboard/logistics/_components/shipment-details.tsx:44
↓ 1 callersFunctiongetGaugeSegmentStatus
(index: number)
src/app/(main)/dashboard/ecommerce/_components/inventory.tsx:17
↓ 1 callersFunctiongetHealthScore
(health: OpportunityRow["health"])
src/app/(main)/dashboard/crm/_components/opportunities-table/columns.tsx:19
↓ 1 callersFunctiongetInvoiceTotal
(invoice: InvoiceFormValues)
src/app/(main)/dashboard/invoice/_components/data.ts:179
↓ 1 callersFunctiongetLastActiveBadge
(lastActive: number)
src/app/(main)/dashboard/users/_components/users-columns.tsx:61
↓ 1 callersFunctiongetPageNumbers
(currentPage: number, pageCount: number)
src/app/(main)/dashboard/users/_components/users-table.tsx:27
↓ 1 callersFunctiongetPageNumbers
(currentPage: number, pageCount: number)
src/app/(main)/dashboard/tasks/_components/tasks.tsx:45
↓ 1 callersFunctiongetProgressRingClass
(status: Shipment["status"])
src/app/(main)/dashboard/logistics/_components/shipment-list.tsx:28
↓ 1 callersFunctiongetRoleGroupFilterValue
(typeFilter: string | null)
src/app/(main)/dashboard/roles/_components/roles.tsx:38
↓ 1 callersFunctiongetRoleTypeFilter
(groupFilter: string)
src/app/(main)/dashboard/roles/_components/roles.tsx:26
↓ 1 callersFunctiongetRollingMonthData
(values: readonly number[])
src/app/(main)/dashboard/crm/_components/pipeline-activity.tsx:28
↓ 1 callersFunctiongetRollingRevenueBuckets
()
src/app/(main)/dashboard/ecommerce/_components/kpi-strip.tsx:30
↓ 1 callersFunctiongetSubItemGroup
(groupLabel: string | undefined, itemTitle: string)
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:35
↓ 1 callersFunctiongetTrafficData
()
src/app/(main)/dashboard/ecommerce/_components/store-traffic.tsx:120
↓ 1 callersFunctiongetTransportNumberLabel
(mode: Shipment["mode"])
src/app/(main)/dashboard/logistics/_components/shipment-details.tsx:56
↓ 1 callersFunctiongetValueFromCookie
(key: string)
src/server/server-actions.ts:13
↓ 1 callersFunctiongroupBy
(items: SearchItem[])
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:72
↓ 1 callersFunctionhandleSelect
(item: SearchItem)
src/app/(main)/dashboard/_components/sidebar/search-dialog.tsx:101
↓ 1 callersFunctionisColumnId
(id: string)
src/app/(main)/dashboard/kanban/_components/utils.ts:4
↓ 1 callersFunctionisSubmenuOpen
(item: NavMainParentItem)
src/app/(main)/dashboard/_components/sidebar/nav-main.tsx:101
↓ 1 callersFunctionloadMap
()
src/app/(main)/dashboard/logistics/_components/shipment-route-map.tsx:138
↓ 1 callersFunctionmain
()
src/scripts/generate-theme-presets.ts:110
↓ 1 callersFunctiononFontChange
(value: FontKey | "")
src/app/(main)/dashboard/_components/sidebar/layout-controls.tsx:59
↓ 1 callersFunctiononThemePresetChange
(preset: ThemePreset)
src/app/(main)/dashboard/_components/sidebar/layout-controls.tsx:55
↓ 1 callersFunctionparseDateValue
(value: string)
src/app/(main)/dashboard/invoice/_components/invoice-details.tsx:109
↓ 1 callersFunctionpersistByMode
(mode: PreferencePersistence, key: string, value: string)
src/lib/preferences/preferences-storage.ts:14
↓ 1 callersFunctionreadDomPreference
(key: K)
src/stores/preferences/preferences-provider.tsx:21
next →1–100 of 682, ranked by callers