shadcn-ui-react 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4268,36 +4268,36 @@ var require_dom_export = __commonJS({
4268
4268
  };
4269
4269
  }
4270
4270
  var React310 = __toESM2(__require("react"));
4271
- var React70 = __toESM2(__require("react"));
4272
- var DataRouterContext = React70.createContext(null);
4271
+ var React71 = __toESM2(__require("react"));
4272
+ var DataRouterContext = React71.createContext(null);
4273
4273
  DataRouterContext.displayName = "DataRouter";
4274
- var DataRouterStateContext = React70.createContext(null);
4274
+ var DataRouterStateContext = React71.createContext(null);
4275
4275
  DataRouterStateContext.displayName = "DataRouterState";
4276
- var ViewTransitionContext = React70.createContext({
4276
+ var ViewTransitionContext = React71.createContext({
4277
4277
  isTransitioning: false
4278
4278
  });
4279
4279
  ViewTransitionContext.displayName = "ViewTransition";
4280
- var FetchersContext = React70.createContext(
4280
+ var FetchersContext = React71.createContext(
4281
4281
  /* @__PURE__ */ new Map()
4282
4282
  );
4283
4283
  FetchersContext.displayName = "Fetchers";
4284
- var AwaitContext = React70.createContext(null);
4284
+ var AwaitContext = React71.createContext(null);
4285
4285
  AwaitContext.displayName = "Await";
4286
- var NavigationContext = React70.createContext(
4286
+ var NavigationContext = React71.createContext(
4287
4287
  null
4288
4288
  );
4289
4289
  NavigationContext.displayName = "Navigation";
4290
- var LocationContext = React70.createContext(
4290
+ var LocationContext = React71.createContext(
4291
4291
  null
4292
4292
  );
4293
4293
  LocationContext.displayName = "Location";
4294
- var RouteContext = React70.createContext({
4294
+ var RouteContext = React71.createContext({
4295
4295
  outlet: null,
4296
4296
  matches: [],
4297
4297
  isDataRoute: false
4298
4298
  });
4299
4299
  RouteContext.displayName = "Route";
4300
- var RouteErrorContext = React70.createContext(null);
4300
+ var RouteErrorContext = React71.createContext(null);
4301
4301
  RouteErrorContext.displayName = "RouteError";
4302
4302
  var React210 = __toESM2(__require("react"));
4303
4303
  var ENABLE_DEV_WARNINGS = true;
@@ -10948,36 +10948,36 @@ var require_development = __commonJS({
10948
10948
  };
10949
10949
  }
10950
10950
  var React310 = __toESM2(__require("react"));
10951
- var React70 = __toESM2(__require("react"));
10952
- var DataRouterContext = React70.createContext(null);
10951
+ var React71 = __toESM2(__require("react"));
10952
+ var DataRouterContext = React71.createContext(null);
10953
10953
  DataRouterContext.displayName = "DataRouter";
10954
- var DataRouterStateContext = React70.createContext(null);
10954
+ var DataRouterStateContext = React71.createContext(null);
10955
10955
  DataRouterStateContext.displayName = "DataRouterState";
10956
- var ViewTransitionContext = React70.createContext({
10956
+ var ViewTransitionContext = React71.createContext({
10957
10957
  isTransitioning: false
10958
10958
  });
10959
10959
  ViewTransitionContext.displayName = "ViewTransition";
10960
- var FetchersContext = React70.createContext(
10960
+ var FetchersContext = React71.createContext(
10961
10961
  /* @__PURE__ */ new Map()
10962
10962
  );
10963
10963
  FetchersContext.displayName = "Fetchers";
10964
- var AwaitContext = React70.createContext(null);
10964
+ var AwaitContext = React71.createContext(null);
10965
10965
  AwaitContext.displayName = "Await";
10966
- var NavigationContext = React70.createContext(
10966
+ var NavigationContext = React71.createContext(
10967
10967
  null
10968
10968
  );
10969
10969
  NavigationContext.displayName = "Navigation";
10970
- var LocationContext = React70.createContext(
10970
+ var LocationContext = React71.createContext(
10971
10971
  null
10972
10972
  );
10973
10973
  LocationContext.displayName = "Location";
10974
- var RouteContext = React70.createContext({
10974
+ var RouteContext = React71.createContext({
10975
10975
  outlet: null,
10976
10976
  matches: [],
10977
10977
  isDataRoute: false
10978
10978
  });
10979
10979
  RouteContext.displayName = "Route";
10980
- var RouteErrorContext = React70.createContext(null);
10980
+ var RouteErrorContext = React71.createContext(null);
10981
10981
  RouteErrorContext.displayName = "RouteError";
10982
10982
  var React210 = __toESM2(__require("react"));
10983
10983
  var ENABLE_DEV_WARNINGS = true;
@@ -25479,8 +25479,44 @@ function useToast() {
25479
25479
  });
25480
25480
  }
25481
25481
 
25482
+ // src/components/search-input.tsx
25483
+ import React68, { useCallback as useCallback4 } from "react";
25484
+ import { useDebounce } from "use-debounce";
25485
+ import { jsx as jsx44 } from "react/jsx-runtime";
25486
+ function SearchInput({
25487
+ value,
25488
+ placeholder,
25489
+ className,
25490
+ debounceTime = 750,
25491
+ onSearch
25492
+ }) {
25493
+ const [searchTerm, setSearchTerm] = React68.useState(value);
25494
+ const [debouncedValue] = useDebounce(searchTerm, debounceTime);
25495
+ const handleSettingSearchParams = useCallback4((newSearchValue) => {
25496
+ if (newSearchValue === "" || newSearchValue === void 0 || !newSearchValue) {
25497
+ onSearch(newSearchValue);
25498
+ return;
25499
+ }
25500
+ }, []);
25501
+ React68.useEffect(() => {
25502
+ handleSettingSearchParams(debouncedValue);
25503
+ }, [debouncedValue, handleSettingSearchParams]);
25504
+ React68.useEffect(() => {
25505
+ setSearchTerm(value);
25506
+ }, [value]);
25507
+ return /* @__PURE__ */ jsx44(
25508
+ Input,
25509
+ {
25510
+ placeholder: placeholder || `Search...`,
25511
+ value: searchTerm,
25512
+ onChange: (event) => setSearchTerm(event.target.value),
25513
+ className: cn("w-full md:max-w-sm", className)
25514
+ }
25515
+ );
25516
+ }
25517
+
25482
25518
  // src/shared/alert-modal.tsx
25483
- import { jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
25519
+ import { jsx as jsx45, jsxs as jsxs18 } from "react/jsx-runtime";
25484
25520
  var AlertModal = ({
25485
25521
  isOpen,
25486
25522
  onClose,
@@ -25493,7 +25529,7 @@ var AlertModal = ({
25493
25529
  className,
25494
25530
  children
25495
25531
  }) => {
25496
- return /* @__PURE__ */ jsx44(
25532
+ return /* @__PURE__ */ jsx45(
25497
25533
  Modal,
25498
25534
  {
25499
25535
  title,
@@ -25502,8 +25538,8 @@ var AlertModal = ({
25502
25538
  onClose,
25503
25539
  className,
25504
25540
  children: children ? children : /* @__PURE__ */ jsxs18("div", { className: "flex w-full items-center justify-end space-x-2 pt-6", children: [
25505
- /* @__PURE__ */ jsx44(Button, { disabled: loading, variant: "outline", onClick: onClose, children: cancelText }),
25506
- /* @__PURE__ */ jsx44(Button, { disabled: loading, variant: "destructive", onClick: onConfirm, children: confirmText })
25541
+ /* @__PURE__ */ jsx45(Button, { disabled: loading, variant: "outline", onClick: onClose, children: cancelText }),
25542
+ /* @__PURE__ */ jsx45(Button, { disabled: loading, variant: "destructive", onClick: onConfirm, children: confirmText })
25507
25543
  ] })
25508
25544
  }
25509
25545
  );
@@ -25512,12 +25548,12 @@ var AlertModal = ({
25512
25548
  // src/shared/breadcrumbs.tsx
25513
25549
  import { Slash } from "lucide-react";
25514
25550
  import { Fragment } from "react";
25515
- import { jsx as jsx45, jsxs as jsxs19 } from "react/jsx-runtime";
25551
+ import { jsx as jsx46, jsxs as jsxs19 } from "react/jsx-runtime";
25516
25552
  function Breadcrumbs({ items, className, classNameList }) {
25517
- return /* @__PURE__ */ jsx45(Breadcrumb, { className, children: /* @__PURE__ */ jsx45(BreadcrumbList, { className: classNameList, children: items.map((item, index) => /* @__PURE__ */ jsxs19(Fragment, { children: [
25518
- index !== items.length - 1 && /* @__PURE__ */ jsx45(BreadcrumbItem, { className: item.className, children: /* @__PURE__ */ jsx45(BreadcrumbLink, { href: item.link, children: item.title }) }),
25519
- index < items.length - 1 && /* @__PURE__ */ jsx45(BreadcrumbSeparator, { children: /* @__PURE__ */ jsx45(Slash, {}) }),
25520
- index === items.length - 1 && /* @__PURE__ */ jsx45(BreadcrumbPage, { children: item.title })
25553
+ return /* @__PURE__ */ jsx46(Breadcrumb, { className, children: /* @__PURE__ */ jsx46(BreadcrumbList, { className: classNameList, children: items.map((item, index) => /* @__PURE__ */ jsxs19(Fragment, { children: [
25554
+ index !== items.length - 1 && /* @__PURE__ */ jsx46(BreadcrumbItem, { className: item.className, children: /* @__PURE__ */ jsx46(BreadcrumbLink, { href: item.link, children: item.title }) }),
25555
+ index < items.length - 1 && /* @__PURE__ */ jsx46(BreadcrumbSeparator, { children: /* @__PURE__ */ jsx46(Slash, {}) }),
25556
+ index === items.length - 1 && /* @__PURE__ */ jsx46(BreadcrumbPage, { children: item.title })
25521
25557
  ] }, item.title)) }) });
25522
25558
  }
25523
25559
 
@@ -25534,7 +25570,7 @@ function usePathname() {
25534
25570
 
25535
25571
  // src/hooks/use-sidebar.tsx
25536
25572
  import { createContext as createContext5, useContext as useContext6, useState as useState5 } from "react";
25537
- import { jsx as jsx46 } from "react/jsx-runtime";
25573
+ import { jsx as jsx47 } from "react/jsx-runtime";
25538
25574
  var SidebarContext = createContext5({
25539
25575
  isMinimized: false,
25540
25576
  toggle: () => {
@@ -25543,7 +25579,7 @@ var SidebarContext = createContext5({
25543
25579
  var useSidebar = () => useContext6(SidebarContext);
25544
25580
 
25545
25581
  // src/shared/dashboard-nav.tsx
25546
- import { jsx as jsx47, jsxs as jsxs20 } from "react/jsx-runtime";
25582
+ import { jsx as jsx48, jsxs as jsxs20 } from "react/jsx-runtime";
25547
25583
  function DashboardNav({
25548
25584
  items,
25549
25585
  setOpen,
@@ -25554,10 +25590,10 @@ function DashboardNav({
25554
25590
  if (!(items == null ? void 0 : items.length)) {
25555
25591
  return null;
25556
25592
  }
25557
- return /* @__PURE__ */ jsx47("nav", { className: "grid items-start gap-2", children: /* @__PURE__ */ jsx47(TooltipProvider, { children: items.map((item, index) => {
25593
+ return /* @__PURE__ */ jsx48("nav", { className: "grid items-start gap-2", children: /* @__PURE__ */ jsx48(TooltipProvider, { children: items.map((item, index) => {
25558
25594
  const Icon2 = Icons[item.icon || "arrowRight"];
25559
25595
  return item.href && /* @__PURE__ */ jsxs20(Tooltip, { children: [
25560
- /* @__PURE__ */ jsx47(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs20(
25596
+ /* @__PURE__ */ jsx48(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs20(
25561
25597
  import_react_router_dom2.Link,
25562
25598
  {
25563
25599
  to: item.disabled ? "/" : item.href,
@@ -25570,12 +25606,12 @@ function DashboardNav({
25570
25606
  if (setOpen) setOpen(false);
25571
25607
  },
25572
25608
  children: [
25573
- /* @__PURE__ */ jsx47(Icon2, { className: `ml-2.5 size-5` }),
25574
- isMobileNav || !isMinimized && !isMobileNav ? /* @__PURE__ */ jsx47("span", { className: "mr-2 truncate", children: item.title }) : ""
25609
+ /* @__PURE__ */ jsx48(Icon2, { className: `ml-2.5 size-5` }),
25610
+ isMobileNav || !isMinimized && !isMobileNav ? /* @__PURE__ */ jsx48("span", { className: "mr-2 truncate", children: item.title }) : ""
25575
25611
  ]
25576
25612
  }
25577
25613
  ) }),
25578
- /* @__PURE__ */ jsx47(
25614
+ /* @__PURE__ */ jsx48(
25579
25615
  TooltipContent,
25580
25616
  {
25581
25617
  align: "center",
@@ -25590,7 +25626,7 @@ function DashboardNav({
25590
25626
  }
25591
25627
 
25592
25628
  // src/shared/data-table-skeleton.tsx
25593
- import { jsx as jsx48, jsxs as jsxs21 } from "react/jsx-runtime";
25629
+ import { jsx as jsx49, jsxs as jsxs21 } from "react/jsx-runtime";
25594
25630
  function DataTableSkeleton({
25595
25631
  columnCount,
25596
25632
  rowCount = 10,
@@ -25601,28 +25637,28 @@ function DataTableSkeleton({
25601
25637
  return /* @__PURE__ */ jsxs21("div", { className: "w-full space-y-3 overflow-auto", children: [
25602
25638
  /* @__PURE__ */ jsxs21("div", { className: "flex w-full items-center justify-between space-x-2 overflow-auto p-1", children: [
25603
25639
  /* @__PURE__ */ jsxs21("div", { className: "flex flex-1 items-center space-x-2 space-y-4", children: [
25604
- searchableColumnCount > 0 ? Array.from({ length: searchableColumnCount }).map((_, i) => /* @__PURE__ */ jsx48(Skeleton, { className: "h-10 w-[150px] lg:w-[250px]" }, i)) : null,
25605
- filterableColumnCount > 0 ? Array.from({ length: filterableColumnCount }).map((_, i) => /* @__PURE__ */ jsx48(Skeleton, { className: "h-10 w-[70px] border-dashed" }, i)) : null
25640
+ searchableColumnCount > 0 ? Array.from({ length: searchableColumnCount }).map((_, i) => /* @__PURE__ */ jsx49(Skeleton, { className: "h-10 w-[150px] lg:w-[250px]" }, i)) : null,
25641
+ filterableColumnCount > 0 ? Array.from({ length: filterableColumnCount }).map((_, i) => /* @__PURE__ */ jsx49(Skeleton, { className: "h-10 w-[70px] border-dashed" }, i)) : null
25606
25642
  ] }),
25607
- showViewOptions ? /* @__PURE__ */ jsx48(Skeleton, { className: "ml-auto hidden h-7 w-[70px] lg:flex" }) : null
25643
+ showViewOptions ? /* @__PURE__ */ jsx49(Skeleton, { className: "ml-auto hidden h-7 w-[70px] lg:flex" }) : null
25608
25644
  ] }),
25609
- /* @__PURE__ */ jsx48("div", { className: "rounded-md border", children: /* @__PURE__ */ jsxs21(Table, { children: [
25610
- /* @__PURE__ */ jsx48(TableHeader, { children: Array.from({ length: 1 }).map((_, i) => /* @__PURE__ */ jsx48(TableRow, { className: "hover:bg-transparent", children: Array.from({ length: columnCount }).map((_2, i2) => /* @__PURE__ */ jsx48(TableHead, { children: /* @__PURE__ */ jsx48(Skeleton, { className: "h-6 w-full" }) }, i2)) }, i)) }),
25611
- /* @__PURE__ */ jsx48(TableBody, { children: Array.from({ length: rowCount }).map((_, i) => /* @__PURE__ */ jsx48(TableRow, { className: "hover:bg-transparent", children: Array.from({ length: columnCount }).map((_2, i2) => /* @__PURE__ */ jsx48(TableCell, { children: /* @__PURE__ */ jsx48(Skeleton, { className: "h-6 w-full" }) }, i2)) }, i)) })
25645
+ /* @__PURE__ */ jsx49("div", { className: "rounded-md border", children: /* @__PURE__ */ jsxs21(Table, { children: [
25646
+ /* @__PURE__ */ jsx49(TableHeader, { children: Array.from({ length: 1 }).map((_, i) => /* @__PURE__ */ jsx49(TableRow, { className: "hover:bg-transparent", children: Array.from({ length: columnCount }).map((_2, i2) => /* @__PURE__ */ jsx49(TableHead, { children: /* @__PURE__ */ jsx49(Skeleton, { className: "h-6 w-full" }) }, i2)) }, i)) }),
25647
+ /* @__PURE__ */ jsx49(TableBody, { children: Array.from({ length: rowCount }).map((_, i) => /* @__PURE__ */ jsx49(TableRow, { className: "hover:bg-transparent", children: Array.from({ length: columnCount }).map((_2, i2) => /* @__PURE__ */ jsx49(TableCell, { children: /* @__PURE__ */ jsx49(Skeleton, { className: "h-6 w-full" }) }, i2)) }, i)) })
25612
25648
  ] }) }),
25613
25649
  /* @__PURE__ */ jsxs21("div", { className: "flex w-full flex-col items-center justify-between gap-4 overflow-auto px-2 py-1 sm:flex-row sm:gap-8", children: [
25614
- /* @__PURE__ */ jsx48("div", { className: "flex-1", children: /* @__PURE__ */ jsx48(Skeleton, { className: "h-8 w-40" }) }),
25650
+ /* @__PURE__ */ jsx49("div", { className: "flex-1", children: /* @__PURE__ */ jsx49(Skeleton, { className: "h-8 w-40" }) }),
25615
25651
  /* @__PURE__ */ jsxs21("div", { className: "flex flex-col items-center gap-4 sm:flex-row sm:gap-6 lg:gap-8", children: [
25616
25652
  /* @__PURE__ */ jsxs21("div", { className: "flex items-center space-x-2", children: [
25617
- /* @__PURE__ */ jsx48(Skeleton, { className: "h-8 w-24" }),
25618
- /* @__PURE__ */ jsx48(Skeleton, { className: "h-8 w-[70px]" })
25653
+ /* @__PURE__ */ jsx49(Skeleton, { className: "h-8 w-24" }),
25654
+ /* @__PURE__ */ jsx49(Skeleton, { className: "h-8 w-[70px]" })
25619
25655
  ] }),
25620
- /* @__PURE__ */ jsx48("div", { className: "flex w-[100px] items-center justify-center text-sm font-medium", children: /* @__PURE__ */ jsx48(Skeleton, { className: "h-8 w-20" }) }),
25656
+ /* @__PURE__ */ jsx49("div", { className: "flex w-[100px] items-center justify-center text-sm font-medium", children: /* @__PURE__ */ jsx49(Skeleton, { className: "h-8 w-20" }) }),
25621
25657
  /* @__PURE__ */ jsxs21("div", { className: "flex items-center space-x-2", children: [
25622
- /* @__PURE__ */ jsx48(Skeleton, { className: "hidden size-8 lg:block" }),
25623
- /* @__PURE__ */ jsx48(Skeleton, { className: "size-8" }),
25624
- /* @__PURE__ */ jsx48(Skeleton, { className: "size-8" }),
25625
- /* @__PURE__ */ jsx48(Skeleton, { className: "hidden size-8 lg:block" })
25658
+ /* @__PURE__ */ jsx49(Skeleton, { className: "hidden size-8 lg:block" }),
25659
+ /* @__PURE__ */ jsx49(Skeleton, { className: "size-8" }),
25660
+ /* @__PURE__ */ jsx49(Skeleton, { className: "size-8" }),
25661
+ /* @__PURE__ */ jsx49(Skeleton, { className: "hidden size-8 lg:block" })
25626
25662
  ] })
25627
25663
  ] })
25628
25664
  ] })
@@ -25630,7 +25666,7 @@ function DataTableSkeleton({
25630
25666
  }
25631
25667
 
25632
25668
  // src/shared/data-table.tsx
25633
- import React69, { useEffect as useEffect5 } from "react";
25669
+ import React70, { useEffect as useEffect5 } from "react";
25634
25670
  import {
25635
25671
  DoubleArrowLeftIcon,
25636
25672
  DoubleArrowRightIcon
@@ -25643,7 +25679,7 @@ import {
25643
25679
  useReactTable
25644
25680
  } from "@tanstack/react-table";
25645
25681
  import { ChevronLeftIcon as ChevronLeftIcon2, ChevronRightIcon as ChevronRightIcon6 } from "lucide-react";
25646
- import { Fragment as Fragment2, jsx as jsx49, jsxs as jsxs22 } from "react/jsx-runtime";
25682
+ import { Fragment as Fragment2, jsx as jsx50, jsxs as jsxs22 } from "react/jsx-runtime";
25647
25683
  function DataTable({
25648
25684
  columns,
25649
25685
  data,
@@ -25664,7 +25700,7 @@ function DataTable({
25664
25700
  onPageChange,
25665
25701
  onClick
25666
25702
  }) {
25667
- const [pagination, setPagination] = React69.useState({
25703
+ const [pagination, setPagination] = React70.useState({
25668
25704
  pageIndex: Math.max(page - 1, 0),
25669
25705
  pageSize: perPage
25670
25706
  });
@@ -25693,23 +25729,23 @@ function DataTable({
25693
25729
  ),
25694
25730
  children: [
25695
25731
  /* @__PURE__ */ jsxs22(Table, { className: cn("relative", tableClassName), children: [
25696
- /* @__PURE__ */ jsx49(TableHeader, { className: headerClassName, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx49(TableRow, { className: rowClassName, children: headerGroup.headers.map((header) => /* @__PURE__ */ jsx49(TableHead, { className: headerClassName, children: header.isPlaceholder ? null : flexRender(
25732
+ /* @__PURE__ */ jsx50(TableHeader, { className: headerClassName, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx50(TableRow, { className: rowClassName, children: headerGroup.headers.map((header) => /* @__PURE__ */ jsx50(TableHead, { className: headerClassName, children: header.isPlaceholder ? null : flexRender(
25697
25733
  header.column.columnDef.header,
25698
25734
  header.getContext()
25699
25735
  ) }, header.id)) }, headerGroup.id)) }),
25700
- /* @__PURE__ */ jsx49(TableBody, { className: bodyClassName, children: table.getRowModel().rows.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx49(
25736
+ /* @__PURE__ */ jsx50(TableBody, { className: bodyClassName, children: table.getRowModel().rows.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx50(
25701
25737
  TableRow,
25702
25738
  {
25703
25739
  "data-state": row.getIsSelected() ? "selected" : void 0,
25704
25740
  onClick: () => onClick(row.original),
25705
25741
  className: rowClassName,
25706
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx49(TableCell, { className: cellClassName, children: flexRender(
25742
+ children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx50(TableCell, { className: cellClassName, children: flexRender(
25707
25743
  cell.column.columnDef.cell,
25708
25744
  cell.getContext()
25709
25745
  ) }, cell.id))
25710
25746
  },
25711
25747
  row.id
25712
- )) : emptyData || /* @__PURE__ */ jsx49(TableRow, { children: /* @__PURE__ */ jsx49(
25748
+ )) : emptyData || /* @__PURE__ */ jsx50(TableRow, { children: /* @__PURE__ */ jsx50(
25713
25749
  TableCell,
25714
25750
  {
25715
25751
  colSpan: columns.length,
@@ -25718,7 +25754,7 @@ function DataTable({
25718
25754
  }
25719
25755
  ) }) })
25720
25756
  ] }),
25721
- /* @__PURE__ */ jsx49(ScrollBar, { orientation: "horizontal" })
25757
+ /* @__PURE__ */ jsx50(ScrollBar, { orientation: "horizontal" })
25722
25758
  ]
25723
25759
  }
25724
25760
  ),
@@ -25733,15 +25769,15 @@ function DataTable({
25733
25769
  " row(s) selected."
25734
25770
  ] }),
25735
25771
  /* @__PURE__ */ jsxs22("div", { className: "flex items-center space-x-2", children: [
25736
- /* @__PURE__ */ jsx49("p", { className: "text-sm font-medium whitespace-nowrap", children: rowPerPageLabel }),
25772
+ /* @__PURE__ */ jsx50("p", { className: "text-sm font-medium whitespace-nowrap", children: rowPerPageLabel }),
25737
25773
  /* @__PURE__ */ jsxs22(
25738
25774
  Select2,
25739
25775
  {
25740
25776
  value: `${pagination.pageSize}`,
25741
25777
  onValueChange: (value) => setPagination(__spreadProps(__spreadValues({}, pagination), { pageSize: Number(value) })),
25742
25778
  children: [
25743
- /* @__PURE__ */ jsx49(SelectTrigger, { className: "h-8 w-[70px]", children: /* @__PURE__ */ jsx49(SelectValue, { placeholder: pagination.pageSize }) }),
25744
- /* @__PURE__ */ jsx49(SelectContent, { side: "top", children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx49(SelectItem, { value: `${size}`, children: size }, size)) })
25779
+ /* @__PURE__ */ jsx50(SelectTrigger, { className: "h-8 w-[70px]", children: /* @__PURE__ */ jsx50(SelectValue, { placeholder: pagination.pageSize }) }),
25780
+ /* @__PURE__ */ jsx50(SelectContent, { side: "top", children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx50(SelectItem, { value: `${size}`, children: size }, size)) })
25745
25781
  ]
25746
25782
  }
25747
25783
  )
@@ -25758,7 +25794,7 @@ function DataTable({
25758
25794
  pageCount
25759
25795
  ] }),
25760
25796
  /* @__PURE__ */ jsxs22("div", { className: "flex items-center space-x-2", children: [
25761
- /* @__PURE__ */ jsx49(
25797
+ /* @__PURE__ */ jsx50(
25762
25798
  Button,
25763
25799
  {
25764
25800
  "aria-label": "Go to first page",
@@ -25766,10 +25802,10 @@ function DataTable({
25766
25802
  className: "hidden h-8 w-8 p-0 lg:flex",
25767
25803
  onClick: () => setPagination(__spreadProps(__spreadValues({}, pagination), { pageIndex: 0 })),
25768
25804
  disabled: pagination.pageIndex === 0,
25769
- children: /* @__PURE__ */ jsx49(DoubleArrowLeftIcon, { className: "h-4 w-4" })
25805
+ children: /* @__PURE__ */ jsx50(DoubleArrowLeftIcon, { className: "h-4 w-4" })
25770
25806
  }
25771
25807
  ),
25772
- /* @__PURE__ */ jsx49(
25808
+ /* @__PURE__ */ jsx50(
25773
25809
  Button,
25774
25810
  {
25775
25811
  "aria-label": "Go to previous page",
@@ -25779,10 +25815,10 @@ function DataTable({
25779
25815
  pageIndex: pagination.pageIndex - 1
25780
25816
  })),
25781
25817
  disabled: pagination.pageIndex === 0,
25782
- children: /* @__PURE__ */ jsx49(ChevronLeftIcon2, { className: "h-4 w-4" })
25818
+ children: /* @__PURE__ */ jsx50(ChevronLeftIcon2, { className: "h-4 w-4" })
25783
25819
  }
25784
25820
  ),
25785
- /* @__PURE__ */ jsx49(
25821
+ /* @__PURE__ */ jsx50(
25786
25822
  Button,
25787
25823
  {
25788
25824
  "aria-label": "Go to next page",
@@ -25792,10 +25828,10 @@ function DataTable({
25792
25828
  pageIndex: pagination.pageIndex + 1
25793
25829
  })),
25794
25830
  disabled: pagination.pageIndex + 1 >= pageCount,
25795
- children: /* @__PURE__ */ jsx49(ChevronRightIcon6, { className: "h-4 w-4" })
25831
+ children: /* @__PURE__ */ jsx50(ChevronRightIcon6, { className: "h-4 w-4" })
25796
25832
  }
25797
25833
  ),
25798
- /* @__PURE__ */ jsx49(
25834
+ /* @__PURE__ */ jsx50(
25799
25835
  Button,
25800
25836
  {
25801
25837
  "aria-label": "Go to last page",
@@ -25803,7 +25839,7 @@ function DataTable({
25803
25839
  className: "hidden h-8 w-8 p-0 lg:flex",
25804
25840
  onClick: () => setPagination(__spreadProps(__spreadValues({}, pagination), { pageIndex: pageCount - 1 })),
25805
25841
  disabled: pagination.pageIndex + 1 >= pageCount,
25806
- children: /* @__PURE__ */ jsx49(DoubleArrowRightIcon, { className: "h-4 w-4" })
25842
+ children: /* @__PURE__ */ jsx50(DoubleArrowRightIcon, { className: "h-4 w-4" })
25807
25843
  }
25808
25844
  )
25809
25845
  ] })
@@ -25817,7 +25853,7 @@ import { AvatarIcon } from "@radix-ui/react-icons";
25817
25853
  import { CameraIcon } from "lucide-react";
25818
25854
  import { useEffect as useEffect6, useState as useState6 } from "react";
25819
25855
  import { useDropzone } from "react-dropzone";
25820
- import { jsx as jsx50, jsxs as jsxs23 } from "react/jsx-runtime";
25856
+ import { jsx as jsx51, jsxs as jsxs23 } from "react/jsx-runtime";
25821
25857
  function FileUpload({
25822
25858
  onChange,
25823
25859
  value,
@@ -25835,7 +25871,7 @@ function FileUpload({
25835
25871
  const onUpdateFile = (newFiles) => {
25836
25872
  onChange(newFiles);
25837
25873
  };
25838
- return /* @__PURE__ */ jsx50("div", { className: cn("flex items-center justify-center", className), children: /* @__PURE__ */ jsx50(
25874
+ return /* @__PURE__ */ jsx51("div", { className: cn("flex items-center justify-center", className), children: /* @__PURE__ */ jsx51(
25839
25875
  "div",
25840
25876
  {
25841
25877
  className: cn(
@@ -25843,10 +25879,10 @@ function FileUpload({
25843
25879
  classNameContent
25844
25880
  ),
25845
25881
  children: /* @__PURE__ */ jsxs23("div", __spreadProps(__spreadValues({}, getRootProps({ className: "dropzone cursor-pointer" })), { children: [
25846
- /* @__PURE__ */ jsx50("input", __spreadValues({}, getInputProps())),
25847
- value && !!value.length ? /* @__PURE__ */ jsx50(ImagePreview, { file: value[0] }) : /* @__PURE__ */ jsx50(AvatarIcon, { className: "h-36 w-36 text-gray-100" }),
25882
+ /* @__PURE__ */ jsx51("input", __spreadValues({}, getInputProps())),
25883
+ value && !!value.length ? /* @__PURE__ */ jsx51(ImagePreview, { file: value[0] }) : /* @__PURE__ */ jsx51(AvatarIcon, { className: "h-36 w-36 text-gray-100" }),
25848
25884
  /* @__PURE__ */ jsxs23("p", { className: "absolute -bottom-5 left-1/2 flex w-full -translate-x-1/2 -translate-y-1/2 transform flex-col items-center justify-center bg-gray-300 bg-opacity-50 py-1 text-xs font-normal text-muted-foreground ", children: [
25849
- /* @__PURE__ */ jsx50(CameraIcon, { className: "h-4 w-4 text-muted-foreground" }),
25885
+ /* @__PURE__ */ jsx51(CameraIcon, { className: "h-4 w-4 text-muted-foreground" }),
25850
25886
  label
25851
25887
  ] })
25852
25888
  ] }))
@@ -25862,7 +25898,7 @@ function ImagePreview({ file }) {
25862
25898
  URL.revokeObjectURL(url);
25863
25899
  };
25864
25900
  }, [file]);
25865
- return objectUrl ? /* @__PURE__ */ jsx50(
25901
+ return objectUrl ? /* @__PURE__ */ jsx51(
25866
25902
  "img",
25867
25903
  {
25868
25904
  src: objectUrl,
@@ -25877,7 +25913,7 @@ import { Moon as Moon2, Sun } from "lucide-react";
25877
25913
 
25878
25914
  // src/providers/theme-provider.tsx
25879
25915
  import { createContext as createContext6, useContext as useContext7, useEffect as useEffect7, useState as useState7 } from "react";
25880
- import { jsx as jsx51 } from "react/jsx-runtime";
25916
+ import { jsx as jsx52 } from "react/jsx-runtime";
25881
25917
  var initialState = {
25882
25918
  theme: "system",
25883
25919
  setTheme: () => null
@@ -25891,25 +25927,25 @@ var useTheme2 = () => {
25891
25927
  };
25892
25928
 
25893
25929
  // src/shared/theme-toggle.tsx
25894
- import { jsx as jsx52, jsxs as jsxs24 } from "react/jsx-runtime";
25930
+ import { jsx as jsx53, jsxs as jsxs24 } from "react/jsx-runtime";
25895
25931
  function ModeToggle() {
25896
25932
  const { setTheme } = useTheme2();
25897
25933
  return /* @__PURE__ */ jsxs24(DropdownMenu, { children: [
25898
- /* @__PURE__ */ jsx52(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs24(Button, { variant: "outline", size: "icon", children: [
25899
- /* @__PURE__ */ jsx52(Sun, { className: "h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
25900
- /* @__PURE__ */ jsx52(Moon2, { className: "absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
25901
- /* @__PURE__ */ jsx52("span", { className: "sr-only", children: "Toggle theme" })
25934
+ /* @__PURE__ */ jsx53(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs24(Button, { variant: "outline", size: "icon", children: [
25935
+ /* @__PURE__ */ jsx53(Sun, { className: "h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" }),
25936
+ /* @__PURE__ */ jsx53(Moon2, { className: "absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100" }),
25937
+ /* @__PURE__ */ jsx53("span", { className: "sr-only", children: "Toggle theme" })
25902
25938
  ] }) }),
25903
25939
  /* @__PURE__ */ jsxs24(DropdownMenuContent, { align: "end", children: [
25904
- /* @__PURE__ */ jsx52(DropdownMenuItem, { onClick: () => setTheme("light"), children: "Light" }),
25905
- /* @__PURE__ */ jsx52(DropdownMenuItem, { onClick: () => setTheme("dark"), children: "Dark" }),
25906
- /* @__PURE__ */ jsx52(DropdownMenuItem, { onClick: () => setTheme("system"), children: "System" })
25940
+ /* @__PURE__ */ jsx53(DropdownMenuItem, { onClick: () => setTheme("light"), children: "Light" }),
25941
+ /* @__PURE__ */ jsx53(DropdownMenuItem, { onClick: () => setTheme("dark"), children: "Dark" }),
25942
+ /* @__PURE__ */ jsx53(DropdownMenuItem, { onClick: () => setTheme("system"), children: "System" })
25907
25943
  ] })
25908
25944
  ] });
25909
25945
  }
25910
25946
 
25911
25947
  // src/shared/header.tsx
25912
- import { jsx as jsx53, jsxs as jsxs25 } from "react/jsx-runtime";
25948
+ import { jsx as jsx54, jsxs as jsxs25 } from "react/jsx-runtime";
25913
25949
  var useMatchedPath = (items, pathname) => {
25914
25950
  const matchedPath = items.find((item) => item.href === pathname) || items.find(
25915
25951
  (item) => pathname.startsWith(item.href + "/") && item.href !== "/"
@@ -25927,10 +25963,10 @@ function Header2({ items, className, classNameContent }) {
25927
25963
  className
25928
25964
  ),
25929
25965
  children: [
25930
- /* @__PURE__ */ jsx53(Heading, { title: headingText }),
25966
+ /* @__PURE__ */ jsx54(Heading, { title: headingText }),
25931
25967
  /* @__PURE__ */ jsxs25("div", { className: cn("ml-4 flex items-center md:ml-6", classNameContent), children: [
25932
- /* @__PURE__ */ jsx53(UserNav, {}),
25933
- /* @__PURE__ */ jsx53(ModeToggle, {})
25968
+ /* @__PURE__ */ jsx54(UserNav, {}),
25969
+ /* @__PURE__ */ jsx54(ModeToggle, {})
25934
25970
  ] })
25935
25971
  ]
25936
25972
  }
@@ -25938,34 +25974,34 @@ function Header2({ items, className, classNameContent }) {
25938
25974
  }
25939
25975
 
25940
25976
  // src/shared/heading.tsx
25941
- import { jsx as jsx54, jsxs as jsxs26 } from "react/jsx-runtime";
25977
+ import { jsx as jsx55, jsxs as jsxs26 } from "react/jsx-runtime";
25942
25978
  function Heading({ title, description, className }) {
25943
25979
  return /* @__PURE__ */ jsxs26("div", { className, children: [
25944
- /* @__PURE__ */ jsx54("h2", { className: "text-xl font-bold tracking-tight text-primary sm:text-3xl", children: title }),
25945
- /* @__PURE__ */ jsx54("p", { className: "text-sm text-muted-foreground", children: description })
25980
+ /* @__PURE__ */ jsx55("h2", { className: "text-xl font-bold tracking-tight text-primary sm:text-3xl", children: title }),
25981
+ /* @__PURE__ */ jsx55("p", { className: "text-sm text-muted-foreground", children: description })
25946
25982
  ] });
25947
25983
  }
25948
25984
 
25949
25985
  // src/shared/mobile-sidebar.tsx
25950
25986
  var import_react_router_dom3 = __toESM(require_dist2(), 1);
25951
- import { Fragment as Fragment3, jsx as jsx55, jsxs as jsxs27 } from "react/jsx-runtime";
25987
+ import { Fragment as Fragment3, jsx as jsx56, jsxs as jsxs27 } from "react/jsx-runtime";
25952
25988
  function MobileSidebar({
25953
25989
  items,
25954
25990
  setSidebarOpen,
25955
25991
  sidebarOpen,
25956
25992
  header
25957
25993
  }) {
25958
- return /* @__PURE__ */ jsx55(Fragment3, { children: /* @__PURE__ */ jsx55(Sheet, { open: sidebarOpen, onOpenChange: setSidebarOpen, children: /* @__PURE__ */ jsx55(SheetContent, { side: "left", className: "bg-background !px-0", children: /* @__PURE__ */ jsx55("div", { className: "space-y-4 py-4", children: /* @__PURE__ */ jsxs27("div", { className: "space-y-4 px-3 py-2", children: [
25959
- /* @__PURE__ */ jsx55(import_react_router_dom3.Link, { to: "/", className: "px-2 py-2 text-2xl font-bold text-white ", children: header ? header : "Logo" }),
25960
- /* @__PURE__ */ jsx55("div", { className: "space-y-1 px-2", children: /* @__PURE__ */ jsx55(DashboardNav, { items, setOpen: setSidebarOpen }) })
25994
+ return /* @__PURE__ */ jsx56(Fragment3, { children: /* @__PURE__ */ jsx56(Sheet, { open: sidebarOpen, onOpenChange: setSidebarOpen, children: /* @__PURE__ */ jsx56(SheetContent, { side: "left", className: "bg-background !px-0", children: /* @__PURE__ */ jsx56("div", { className: "space-y-4 py-4", children: /* @__PURE__ */ jsxs27("div", { className: "space-y-4 px-3 py-2", children: [
25995
+ /* @__PURE__ */ jsx56(import_react_router_dom3.Link, { to: "/", className: "px-2 py-2 text-2xl font-bold text-white ", children: header ? header : "Logo" }),
25996
+ /* @__PURE__ */ jsx56("div", { className: "space-y-1 px-2", children: /* @__PURE__ */ jsx56(DashboardNav, { items, setOpen: setSidebarOpen }) })
25961
25997
  ] }) }) }) }) });
25962
25998
  }
25963
25999
 
25964
26000
  // src/shared/page-head.tsx
25965
26001
  import { Helmet } from "react-helmet-next";
25966
- import { jsx as jsx56, jsxs as jsxs28 } from "react/jsx-runtime";
26002
+ import { jsx as jsx57, jsxs as jsxs28 } from "react/jsx-runtime";
25967
26003
  function PageHead({ title = "shadcn-ui-react" }) {
25968
- return /* @__PURE__ */ jsx56(Helmet, { children: /* @__PURE__ */ jsxs28("title", { children: [
26004
+ return /* @__PURE__ */ jsx57(Helmet, { children: /* @__PURE__ */ jsxs28("title", { children: [
25969
26005
  " ",
25970
26006
  title,
25971
26007
  " "
@@ -25973,7 +26009,7 @@ function PageHead({ title = "shadcn-ui-react" }) {
25973
26009
  }
25974
26010
 
25975
26011
  // src/shared/pagination-section.tsx
25976
- import { jsx as jsx57, jsxs as jsxs29 } from "react/jsx-runtime";
26012
+ import { jsx as jsx58, jsxs as jsxs29 } from "react/jsx-runtime";
25977
26013
  function PaginationSection({
25978
26014
  totalPosts,
25979
26015
  postsPerPage,
@@ -26011,17 +26047,17 @@ function PaginationSection({
26011
26047
  }
26012
26048
  };
26013
26049
  const renderPages = () => {
26014
- const renderedPages = activePages.map((page, idx) => /* @__PURE__ */ jsx57(
26050
+ const renderedPages = activePages.map((page, idx) => /* @__PURE__ */ jsx58(
26015
26051
  PaginationItem,
26016
26052
  {
26017
26053
  className: currentPage === page ? "rounded-md bg-primary" : "",
26018
- children: /* @__PURE__ */ jsx57(PaginationLink, { onClick: () => setCurrentPage(page), size: void 0, children: page })
26054
+ children: /* @__PURE__ */ jsx58(PaginationLink, { onClick: () => setCurrentPage(page), size: void 0, children: page })
26019
26055
  },
26020
26056
  idx
26021
26057
  ));
26022
26058
  if (activePages[0] > 1) {
26023
26059
  renderedPages.unshift(
26024
- /* @__PURE__ */ jsx57(
26060
+ /* @__PURE__ */ jsx58(
26025
26061
  PaginationEllipsis,
26026
26062
  {
26027
26063
  onClick: () => setCurrentPage(activePages[0] - 1)
@@ -26032,7 +26068,7 @@ function PaginationSection({
26032
26068
  }
26033
26069
  if (activePages[activePages.length - 1] < pageNumbers.length) {
26034
26070
  renderedPages.push(
26035
- /* @__PURE__ */ jsx57(
26071
+ /* @__PURE__ */ jsx58(
26036
26072
  PaginationEllipsis,
26037
26073
  {
26038
26074
  onClick: () => setCurrentPage(activePages[activePages.length - 1] + 1)
@@ -26043,21 +26079,21 @@ function PaginationSection({
26043
26079
  }
26044
26080
  return renderedPages;
26045
26081
  };
26046
- return /* @__PURE__ */ jsx57("div", { className: "p-4", children: /* @__PURE__ */ jsx57(Pagination, { children: /* @__PURE__ */ jsxs29(PaginationContent, { children: [
26082
+ return /* @__PURE__ */ jsx58("div", { className: "p-4", children: /* @__PURE__ */ jsx58(Pagination, { children: /* @__PURE__ */ jsxs29(PaginationContent, { children: [
26047
26083
  /* @__PURE__ */ jsxs29(PaginationItem, { children: [
26048
- /* @__PURE__ */ jsx57(
26084
+ /* @__PURE__ */ jsx58(
26049
26085
  PaginationPreviousLast,
26050
26086
  {
26051
26087
  onClick: handlePrevPageLast,
26052
26088
  size: void 0
26053
26089
  }
26054
26090
  ),
26055
- /* @__PURE__ */ jsx57(PaginationPrevious, { onClick: handlePrevPage, size: void 0 })
26091
+ /* @__PURE__ */ jsx58(PaginationPrevious, { onClick: handlePrevPage, size: void 0 })
26056
26092
  ] }),
26057
26093
  renderPages(),
26058
26094
  /* @__PURE__ */ jsxs29(PaginationItem, { children: [
26059
- /* @__PURE__ */ jsx57(PaginationNext, { onClick: handleNextPage, size: void 0 }),
26060
- /* @__PURE__ */ jsx57(PaginationNextLast, { onClick: handleNextPageLast, size: void 0 })
26095
+ /* @__PURE__ */ jsx58(PaginationNext, { onClick: handleNextPage, size: void 0 }),
26096
+ /* @__PURE__ */ jsx58(PaginationNextLast, { onClick: handleNextPageLast, size: void 0 })
26061
26097
  ] })
26062
26098
  ] }) }) });
26063
26099
  }
@@ -26065,7 +26101,7 @@ function PaginationSection({
26065
26101
  // src/shared/sidebar.tsx
26066
26102
  import { ChevronsLeft } from "lucide-react";
26067
26103
  import { useState as useState8 } from "react";
26068
- import { jsx as jsx58, jsxs as jsxs30 } from "react/jsx-runtime";
26104
+ import { jsx as jsx59, jsxs as jsxs30 } from "react/jsx-runtime";
26069
26105
  function Sidebar({ items, className }) {
26070
26106
  const { isMinimized, toggle } = useSidebar();
26071
26107
  const [status, setStatus] = useState8(false);
@@ -26092,8 +26128,8 @@ function Sidebar({ items, className }) {
26092
26128
  isMinimized ? "justify-center " : "justify-between"
26093
26129
  ),
26094
26130
  children: [
26095
- !isMinimized && /* @__PURE__ */ jsx58("h1", { className: "text-2xl font-bold", children: "Logo" }),
26096
- /* @__PURE__ */ jsx58(
26131
+ !isMinimized && /* @__PURE__ */ jsx59("h1", { className: "text-2xl font-bold", children: "Logo" }),
26132
+ /* @__PURE__ */ jsx59(
26097
26133
  ChevronsLeft,
26098
26134
  {
26099
26135
  className: cn(
@@ -26106,51 +26142,51 @@ function Sidebar({ items, className }) {
26106
26142
  ]
26107
26143
  }
26108
26144
  ),
26109
- /* @__PURE__ */ jsx58("div", { className: "space-y-4 py-4", children: /* @__PURE__ */ jsx58("div", { className: "px-2 py-2", children: /* @__PURE__ */ jsx58("div", { className: "mt-3 space-y-1", children: /* @__PURE__ */ jsx58(DashboardNav, { items }) }) }) })
26145
+ /* @__PURE__ */ jsx59("div", { className: "space-y-4 py-4", children: /* @__PURE__ */ jsx59("div", { className: "px-2 py-2", children: /* @__PURE__ */ jsx59("div", { className: "mt-3 space-y-1", children: /* @__PURE__ */ jsx59(DashboardNav, { items }) }) }) })
26110
26146
  ]
26111
26147
  }
26112
26148
  );
26113
26149
  }
26114
26150
 
26115
26151
  // src/shared/user-nav.tsx
26116
- import { jsx as jsx59, jsxs as jsxs31 } from "react/jsx-runtime";
26152
+ import { jsx as jsx60, jsxs as jsxs31 } from "react/jsx-runtime";
26117
26153
  function UserNav() {
26118
26154
  return /* @__PURE__ */ jsxs31(DropdownMenu, { children: [
26119
- /* @__PURE__ */ jsx59(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx59(Button, { variant: "ghost", className: "relative h-14 w-14 rounded-full", children: /* @__PURE__ */ jsxs31(Avatar, { className: "h-14 w-14", children: [
26120
- /* @__PURE__ */ jsx59(
26155
+ /* @__PURE__ */ jsx60(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx60(Button, { variant: "ghost", className: "relative h-14 w-14 rounded-full", children: /* @__PURE__ */ jsxs31(Avatar, { className: "h-14 w-14", children: [
26156
+ /* @__PURE__ */ jsx60(
26121
26157
  AvatarImage,
26122
26158
  {
26123
26159
  src: "https://png.pngtree.com/png-clipart/20230927/original/pngtree-man-avatar-image-for-profile-png-image_13001882.png",
26124
26160
  alt: ""
26125
26161
  }
26126
26162
  ),
26127
- /* @__PURE__ */ jsx59(AvatarFallback, { children: "hello" })
26163
+ /* @__PURE__ */ jsx60(AvatarFallback, { children: "hello" })
26128
26164
  ] }) }) }),
26129
26165
  /* @__PURE__ */ jsxs31(DropdownMenuContent, { className: "w-56", align: "end", forceMount: true, children: [
26130
- /* @__PURE__ */ jsx59(DropdownMenuLabel, { className: "font-normal", children: /* @__PURE__ */ jsxs31("div", { className: "flex flex-col space-y-1", children: [
26131
- /* @__PURE__ */ jsx59("p", { className: "text-sm leading-none font-medium", children: "Admin" }),
26132
- /* @__PURE__ */ jsx59("p", { className: "text-muted-foreground text-xs leading-none", children: "admin@gmail.com" })
26166
+ /* @__PURE__ */ jsx60(DropdownMenuLabel, { className: "font-normal", children: /* @__PURE__ */ jsxs31("div", { className: "flex flex-col space-y-1", children: [
26167
+ /* @__PURE__ */ jsx60("p", { className: "text-sm leading-none font-medium", children: "Admin" }),
26168
+ /* @__PURE__ */ jsx60("p", { className: "text-muted-foreground text-xs leading-none", children: "admin@gmail.com" })
26133
26169
  ] }) }),
26134
- /* @__PURE__ */ jsx59(DropdownMenuSeparator, {}),
26170
+ /* @__PURE__ */ jsx60(DropdownMenuSeparator, {}),
26135
26171
  /* @__PURE__ */ jsxs31(DropdownMenuGroup, { children: [
26136
26172
  /* @__PURE__ */ jsxs31(DropdownMenuItem, { children: [
26137
26173
  "Profile",
26138
- /* @__PURE__ */ jsx59(DropdownMenuShortcut, { children: "\u21E7\u2318P" })
26174
+ /* @__PURE__ */ jsx60(DropdownMenuShortcut, { children: "\u21E7\u2318P" })
26139
26175
  ] }),
26140
26176
  /* @__PURE__ */ jsxs31(DropdownMenuItem, { children: [
26141
26177
  "Billing",
26142
- /* @__PURE__ */ jsx59(DropdownMenuShortcut, { children: "\u2318B" })
26178
+ /* @__PURE__ */ jsx60(DropdownMenuShortcut, { children: "\u2318B" })
26143
26179
  ] }),
26144
26180
  /* @__PURE__ */ jsxs31(DropdownMenuItem, { children: [
26145
26181
  "Settings",
26146
- /* @__PURE__ */ jsx59(DropdownMenuShortcut, { children: "\u2318S" })
26182
+ /* @__PURE__ */ jsx60(DropdownMenuShortcut, { children: "\u2318S" })
26147
26183
  ] }),
26148
- /* @__PURE__ */ jsx59(DropdownMenuItem, { children: "New Team" })
26184
+ /* @__PURE__ */ jsx60(DropdownMenuItem, { children: "New Team" })
26149
26185
  ] }),
26150
- /* @__PURE__ */ jsx59(DropdownMenuSeparator, {}),
26186
+ /* @__PURE__ */ jsx60(DropdownMenuSeparator, {}),
26151
26187
  /* @__PURE__ */ jsxs31(DropdownMenuItem, { onClick: () => console.log("logout"), children: [
26152
26188
  "Log out",
26153
- /* @__PURE__ */ jsx59(DropdownMenuShortcut, { children: "\u21E7\u2318Q" })
26189
+ /* @__PURE__ */ jsx60(DropdownMenuShortcut, { children: "\u21E7\u2318Q" })
26154
26190
  ] })
26155
26191
  ] })
26156
26192
  ] });
@@ -26327,6 +26363,7 @@ export {
26327
26363
  ResizablePanelGroup,
26328
26364
  ScrollArea,
26329
26365
  ScrollBar,
26366
+ SearchInput,
26330
26367
  Select2 as Select,
26331
26368
  SelectContent,
26332
26369
  SelectGroup,