MCPcopy Create free account

hub / github.com/MohOulabi/nextjs-shadcn-admin / functions

Functions96 in github.com/MohOulabi/nextjs-shadcn-admin

↓ 94 callersFunctioncn
(...inputs: ClassValue[])
src/utils/cn.ts:4
↓ 4 callersFunctiondir
(locale: string)
src/utils/dir.ts:66
↓ 4 callersFunctionuseDir
()
src/hooks/use-dir.ts:5
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:40
↓ 4 callersFunctionuseSidebar
(selector: (state: SidebarState) => T)
src/zustand/sidebar-store/index.tsx:48
↓ 3 callersFunctiongetPayloadConfigFromPayload
(config: ChartConfig, payload: unknown, key: string)
src/components/ui/chart.tsx:288
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:26
↓ 2 callersFunctionuseLogin
()
src/apis/auth/use-login.mutation.ts:38
↓ 1 callersFunctioncreateSidebrStore
(initialProps?: Partial<SidebarProps>)
src/zustand/sidebar-store/index.tsx:16
↓ 1 callersFunctiongenerateCustomers
(count: number)
src/components/screens/customers/customers-list/mock-customers.ts:9
↓ 1 callersFunctionloginSchema
(t: (key: IntlPath) => string)
src/components/screens/auth/login-form.tsx:18
↓ 1 callersFunctionloginSchema
(t: (key: IntlPath) => string)
src/components/screens/auth/signup-form.tsx:17
↓ 1 callersFunctionnormalizeLogin
(response: LoginAPIResponse)
src/apis/auth/use-login.mutation.ts:20
↓ 1 callersFunctionrenderPaginationItems
()
src/components/common/responsive-pagination.tsx:33
↓ 1 callersFunctionuseMediaQuery
(query: string)
src/hooks/use-media-query.ts:3
↓ 1 callersFunctionwait
(s: number)
src/utils/wait.ts:1
FunctionAuthLayout
({ children }: { children: React.ReactNode })
src/components/layouts/auth-layout/index.tsx:5
FunctionCatchAllPage
()
src/app/[locale]/(dashboard)/dashboard/[...not-found]/page.tsx:3
FunctionCatchAllPage
()
src/app/[locale]/[...not-found]/page.tsx:3
FunctionChartStyle
({ id, config }: { id: string; config: ChartConfig })
src/components/ui/chart.tsx:64
FunctionChartsPage
({ params: { locale } })
src/app/[locale]/(dashboard)/dashboard/charts/page.tsx:6
FunctionChartsPageContent
()
src/components/screens/charts/index.tsx:35
FunctionCustomersPage
({ params: { locale } })
src/app/[locale]/(dashboard)/dashboard/customers/page.tsx:6
FunctionCustomersTable
({ customers }: CustomersTableProps)
src/components/screens/customers/customers-list/customers-table.tsx:12
FunctionDashboard404
()
src/components/errors/dashboard/dashboard-404.tsx:3
FunctionDashboard500
(props: ErrorFileProps)
src/components/errors/dashboard/dashboard-500.tsx:4
FunctionDashboardHeader
()
src/components/layouts/dashboard-layout/dashboard-header.tsx:5
FunctionDashboardLayout
({ children, messages }: DashboardLayoutProps)
src/components/layouts/dashboard-layout/index.tsx:14
FunctionDashboardPage
()
src/app/[locale]/(dashboard)/dashboard/page.tsx:35
FunctionDataTable
({ data }: DataTableProps)
src/components/screens/customers/customers-list/customers-data-table.tsx:28
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:60
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:55
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
src/components/ui/drawer.tsx:8
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/drawer.tsx:62
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/drawer.tsx:54
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/dropdown-menu.tsx:161
FunctionForgotPasswordForm
()
src/components/screens/auth/forgot-password-form.tsx:23
FunctionFormField
({ ...props }: ControllerProps<TFieldValues, TName>)
src/components/ui/form.tsx:27
FunctionHome
({ params: { locale } })
src/app/[locale]/page.tsx:5
FunctionLayout
({ children }: { children: React.ReactNode })
src/app/layout.tsx:1
FunctionLayout
({ children }: LayoutProps)
src/app/[locale]/(dashboard)/layout.tsx:5
FunctionLayout
({ children }: LayoutProps)
src/app/[locale]/(auth)/layout.tsx:13
FunctionLocaleLayout
({ children, params: { locale } }: LayoutProps)
src/components/layouts/locale-layout/index.tsx:4
FunctionLocaleSwitcher
()
src/components/common/locale-switcher.tsx:31
FunctionLoginForm
()
src/components/screens/auth/login-form.tsx:30
FunctionLoginPage
({ params: { locale } })
src/app/[locale]/(auth)/forgot-password/page.tsx:22
FunctionLoginPage
({ params: { locale } })
src/app/[locale]/(auth)/login/page.tsx:15
FunctionLogoutModal
({ isOpen, onClose }: LogoutModalProps)
src/components/layouts/dashboard-layout/logout-modal.tsx:15
FunctionMobileSidebar
()
src/components/layouts/dashboard-layout/mobile-sidebar.tsx:10
FunctionNotFoundDashboard
(props: ErrorFileProps)
src/app/[locale]/(dashboard)/error.tsx:5
FunctionNotFoundPage
()
src/app/not-found.tsx:7
FunctionNotFoundPage
()
src/app/[locale]/(dashboard)/dashboard/not-found.tsx:5
FunctionOverviewChart
({ title }: OverviewChartProps)
src/components/screens/dashboard/overview-chart.tsx:33
FunctionPage500
()
src/app/[locale]/(dashboard)/dashboard/error/500/page.tsx:1
FunctionPagination
({ className, ...props }: React.ComponentProps<'nav'>)
src/components/ui/pagination.tsx:8
FunctionPaginationEllipsis
({ className, ...props }: React.ComponentProps<'span'>)
src/components/ui/pagination.tsx:82
FunctionPaginationItems
({ totalPages, currentPage, maxVisiblePages = 5, onPageChange, onPreviousPage, onNextPage, canPr
src/components/common/responsive-pagination.tsx:23
FunctionPaginationLink
({ className, isActive, size = 'icon', ...props }: PaginationLinkProps)
src/components/ui/pagination.tsx:35
FunctionPaginationNext
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:67
FunctionPaginationPrevious
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
src/components/ui/pagination.tsx:49
FunctionProviders
({ children, messages, locale }: ProvidersProps)
src/app/providers.tsx:18
FunctionRecentSales
()
src/components/screens/dashboard/recent-sales.tsx:49
FunctionRootLocaleLayout
({ children, params: { locale } }: LayoutProps)
src/app/[locale]/layout.tsx:52
FunctionSheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:78
FunctionSheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:73
FunctionSidebar
()
src/components/layouts/dashboard-layout/sidebar.tsx:10
FunctionSidebarItem
({ link, ignoreCollapse }: SidebarItemProps)
src/components/layouts/dashboard-layout/sidebar-item.tsx:28
FunctionSidebarItemAccordion
({ link, ignoreCollapse }: NavLinkProps)
src/components/layouts/dashboard-layout/sidebar-item.tsx:101
FunctionSidebarNav
({ heading, ignoreCollapse }: SidebarNavProps)
src/components/layouts/dashboard-layout/sidebar.tsx:65
FunctionSidebarNavLink
({ link, ignoreCollapse }: NavLinkProps)
src/components/layouts/dashboard-layout/sidebar-item.tsx:59
FunctionSidebarProvider
({ children, ...props }: SidebarProviderProps)
src/zustand/sidebar-store/index.tsx:39
FunctionSignupForm
()
src/components/screens/auth/signup-form.tsx:37
FunctionSignupPage
({ params: { locale } })
src/app/[locale]/(auth)/signup/page.tsx:22
FunctionSkeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/skeleton.tsx:3
FunctionStatsWidget
({ content, icon, subContent, title }: StatsWidgetProps)
src/components/screens/dashboard/stats-widget.tsx:10
FunctionThemeSwitcher
()
src/components/common/theme-switcher.tsx:9
FunctionToaster
({ ...props }: ToasterProps)
src/components/ui/sonner.tsx:8
FunctionUserNav
()
src/components/layouts/dashboard-layout/user-nav.tsx:48
FunctioncloseDrawer
(v: boolean)
src/components/layouts/dashboard-layout/logout-modal.tsx:45
FunctioncookieInterceptor
(request)
src/utils/fetch/client.ts:8
FunctioncookieInterceptor
(request)
src/utils/fetch/server.ts:6
FunctionerrorInterceptor
(error)
src/utils/fetch/config.ts:3
FunctiongenerateMetadata
()
src/app/[locale]/layout.tsx:36
FunctiongenerateMetadata
()
src/app/[locale]/(auth)/forgot-password/page.tsx:10
FunctiongenerateMetadata
()
src/app/[locale]/(auth)/signup/page.tsx:10
FunctiongenerateMetadata
()
src/app/[locale]/(auth)/login/page.tsx:7
FunctionhandleFilter
(event: React.ChangeEvent<HTMLInputElement>)
src/components/screens/customers/customers-list/customers-table.tsx:15
Functionlistener
()
src/hooks/use-media-query.ts:11
Functionlogin
(params: LoginFormValues)
src/apis/auth/use-login.mutation.ts:24
FunctiononLogout
()
src/components/layouts/dashboard-layout/logout-modal.tsx:20
FunctiononSubmit
(values: LoginFormValues)
src/components/screens/auth/login-form.tsx:44
FunctiononSubmit
(values: ForgotPasswordFormValues)
src/components/screens/auth/forgot-password-form.tsx:34
FunctiononSubmit
(values: SignupFormValues)
src/components/screens/auth/signup-form.tsx:53
Functionrobots
()
src/app/robots.ts:3
Functionsitemap
()
src/app/sitemap.ts:3
FunctionupdateLocale
(locale: LOCALE)
src/components/common/locale-switcher.tsx:38