@yusr_systems/ui 6.0.17 → 6.0.18

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/yusr-ui.js CHANGED
@@ -1358,22 +1358,34 @@ function tn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1358
1358
  }
1359
1359
  //#endregion
1360
1360
  //#region src/components/custom/inputs/numberInput.tsx
1361
- function nn({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1362
- return /* @__PURE__ */ a(z, {
1363
- ...o,
1361
+ function nn({ value: e, onChange: t, min: n, max: r, isInvalid: i, className: o, ...s }) {
1362
+ let [c, l] = x(e ?? "");
1363
+ return je(() => {
1364
+ l(e ?? "");
1365
+ }, [e]), /* @__PURE__ */ a(z, {
1366
+ ...s,
1364
1367
  type: "number",
1365
- min: t,
1366
- max: n,
1367
- className: P(i, r && "border-red-600 ring-red-600 text-red-900"),
1368
- onChange: (r) => {
1369
- let i = r.target.value;
1370
- if (i === "") {
1371
- e?.(void 0);
1368
+ min: n,
1369
+ max: r,
1370
+ value: c,
1371
+ className: P(o, i && "border-red-600 ring-red-600 text-red-900"),
1372
+ onChange: (e) => {
1373
+ let i = e.target.value;
1374
+ if (l(i), i === "") {
1375
+ t?.(void 0);
1372
1376
  return;
1373
1377
  }
1374
- if (i === "-" || i.endsWith(".")) return;
1378
+ if (i === "-" || i === "-0" || i.endsWith(".")) return;
1375
1379
  let a = Number(i);
1376
- isNaN(a) || (t !== void 0 && a < Number(t) && (a = Number(t)), n !== void 0 && a > Number(n) && (a = Number(n)), e?.(a));
1380
+ isNaN(a) || (n !== void 0 && a < Number(n) && (a = Number(n), l(a)), r !== void 0 && a > Number(r) && (a = Number(r), l(a)), t?.(a));
1381
+ },
1382
+ onBlur: (e) => {
1383
+ if (c === "-" || c === "-0") l(""), t?.(void 0);
1384
+ else if (typeof c == "string" && c.endsWith(".")) {
1385
+ let e = Number(c);
1386
+ l(isNaN(e) ? "" : e);
1387
+ }
1388
+ s.onBlur?.(e);
1377
1389
  }
1378
1390
  });
1379
1391
  }
@@ -2655,12 +2667,12 @@ function li({ className: e, sideOffset: t = 0, children: n, ...r }) {
2655
2667
  //#endregion
2656
2668
  //#region src/components/pure/sidebar.tsx
2657
2669
  var ui = "sidebar_state", di = 3600 * 24 * 7, fi = "16rem", pi = "18rem", mi = "3rem", hi = "b", gi = y.createContext(null);
2658
- function _i() {
2670
+ function H() {
2659
2671
  let e = y.useContext(gi);
2660
2672
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
2661
2673
  return e;
2662
2674
  }
2663
- function vi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2675
+ function _i({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2664
2676
  let c = Yr(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2665
2677
  let t = typeof e == "function" ? e(p) : e;
2666
2678
  n ? n(t) : f(t), document.cookie = `${ui}=${t}; path=/; max-age=${di}`;
@@ -2707,8 +2719,8 @@ function vi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2707
2719
  })
2708
2720
  });
2709
2721
  }
2710
- function yi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2711
- let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = _i();
2722
+ function vi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2723
+ let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = H();
2712
2724
  return n === "none" ? /* @__PURE__ */ a("div", {
2713
2725
  "data-slot": "sidebar",
2714
2726
  className: P("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
@@ -2758,8 +2770,8 @@ function yi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
2758
2770
  })]
2759
2771
  });
2760
2772
  }
2761
- function bi({ className: e, onClick: t, ...n }) {
2762
- let { toggleSidebar: r } = _i();
2773
+ function yi({ className: e, onClick: t, ...n }) {
2774
+ let { toggleSidebar: r } = H();
2763
2775
  return /* @__PURE__ */ o(F, {
2764
2776
  "data-sidebar": "trigger",
2765
2777
  "data-slot": "sidebar-trigger",
@@ -2776,8 +2788,8 @@ function bi({ className: e, onClick: t, ...n }) {
2776
2788
  })]
2777
2789
  });
2778
2790
  }
2779
- function xi({ className: e, ...t }) {
2780
- let { toggleSidebar: n } = _i();
2791
+ function bi({ className: e, ...t }) {
2792
+ let { toggleSidebar: n } = H();
2781
2793
  return /* @__PURE__ */ a("button", {
2782
2794
  "data-sidebar": "rail",
2783
2795
  "data-slot": "sidebar-rail",
@@ -2789,14 +2801,14 @@ function xi({ className: e, ...t }) {
2789
2801
  ...t
2790
2802
  });
2791
2803
  }
2792
- function Si({ className: e, ...t }) {
2804
+ function xi({ className: e, ...t }) {
2793
2805
  return /* @__PURE__ */ a("main", {
2794
2806
  "data-slot": "sidebar-inset",
2795
2807
  className: P("bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2 relative flex w-full flex-1 flex-col", e),
2796
2808
  ...t
2797
2809
  });
2798
2810
  }
2799
- function Ci({ className: e, ...t }) {
2811
+ function Si({ className: e, ...t }) {
2800
2812
  return /* @__PURE__ */ a(z, {
2801
2813
  "data-slot": "sidebar-input",
2802
2814
  "data-sidebar": "input",
@@ -2804,7 +2816,7 @@ function Ci({ className: e, ...t }) {
2804
2816
  ...t
2805
2817
  });
2806
2818
  }
2807
- function wi({ className: e, ...t }) {
2819
+ function Ci({ className: e, ...t }) {
2808
2820
  return /* @__PURE__ */ a("div", {
2809
2821
  "data-slot": "sidebar-header",
2810
2822
  "data-sidebar": "header",
@@ -2812,7 +2824,7 @@ function wi({ className: e, ...t }) {
2812
2824
  ...t
2813
2825
  });
2814
2826
  }
2815
- function Ti({ className: e, ...t }) {
2827
+ function wi({ className: e, ...t }) {
2816
2828
  return /* @__PURE__ */ a("div", {
2817
2829
  "data-slot": "sidebar-footer",
2818
2830
  "data-sidebar": "footer",
@@ -2820,7 +2832,7 @@ function Ti({ className: e, ...t }) {
2820
2832
  ...t
2821
2833
  });
2822
2834
  }
2823
- function Ei({ className: e, ...t }) {
2835
+ function Ti({ className: e, ...t }) {
2824
2836
  return /* @__PURE__ */ a(L, {
2825
2837
  "data-slot": "sidebar-separator",
2826
2838
  "data-sidebar": "separator",
@@ -2828,7 +2840,7 @@ function Ei({ className: e, ...t }) {
2828
2840
  ...t
2829
2841
  });
2830
2842
  }
2831
- function Di({ className: e, ...t }) {
2843
+ function Ei({ className: e, ...t }) {
2832
2844
  return /* @__PURE__ */ a("div", {
2833
2845
  "data-slot": "sidebar-content",
2834
2846
  "data-sidebar": "content",
@@ -2836,7 +2848,7 @@ function Di({ className: e, ...t }) {
2836
2848
  ...t
2837
2849
  });
2838
2850
  }
2839
- function Oi({ className: e, ...t }) {
2851
+ function Di({ className: e, ...t }) {
2840
2852
  return /* @__PURE__ */ a("div", {
2841
2853
  "data-slot": "sidebar-group",
2842
2854
  "data-sidebar": "group",
@@ -2844,7 +2856,7 @@ function Oi({ className: e, ...t }) {
2844
2856
  ...t
2845
2857
  });
2846
2858
  }
2847
- function ki({ className: e, asChild: t = !1, ...n }) {
2859
+ function Oi({ className: e, asChild: t = !1, ...n }) {
2848
2860
  return /* @__PURE__ */ a(t ? C : "div", {
2849
2861
  "data-slot": "sidebar-group-label",
2850
2862
  "data-sidebar": "group-label",
@@ -2852,7 +2864,7 @@ function ki({ className: e, asChild: t = !1, ...n }) {
2852
2864
  ...n
2853
2865
  });
2854
2866
  }
2855
- function Ai({ className: e, asChild: t = !1, ...n }) {
2867
+ function ki({ className: e, asChild: t = !1, ...n }) {
2856
2868
  return /* @__PURE__ */ a(t ? C : "button", {
2857
2869
  "data-slot": "sidebar-group-action",
2858
2870
  "data-sidebar": "group-action",
@@ -2860,7 +2872,7 @@ function Ai({ className: e, asChild: t = !1, ...n }) {
2860
2872
  ...n
2861
2873
  });
2862
2874
  }
2863
- function ji({ className: e, ...t }) {
2875
+ function Ai({ className: e, ...t }) {
2864
2876
  return /* @__PURE__ */ a("div", {
2865
2877
  "data-slot": "sidebar-group-content",
2866
2878
  "data-sidebar": "group-content",
@@ -2868,7 +2880,7 @@ function ji({ className: e, ...t }) {
2868
2880
  ...t
2869
2881
  });
2870
2882
  }
2871
- function H({ className: e, ...t }) {
2883
+ function U({ className: e, ...t }) {
2872
2884
  return /* @__PURE__ */ a("ul", {
2873
2885
  "data-slot": "sidebar-menu",
2874
2886
  "data-sidebar": "menu",
@@ -2876,7 +2888,7 @@ function H({ className: e, ...t }) {
2876
2888
  ...t
2877
2889
  });
2878
2890
  }
2879
- function U({ className: e, ...t }) {
2891
+ function W({ className: e, ...t }) {
2880
2892
  return /* @__PURE__ */ a("li", {
2881
2893
  "data-slot": "sidebar-menu-item",
2882
2894
  "data-sidebar": "menu-item",
@@ -2884,7 +2896,7 @@ function U({ className: e, ...t }) {
2884
2896
  ...t
2885
2897
  });
2886
2898
  }
2887
- var Mi = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2899
+ var ji = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2888
2900
  variants: {
2889
2901
  variant: {
2890
2902
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2901,13 +2913,13 @@ var Mi = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-
2901
2913
  size: "default"
2902
2914
  }
2903
2915
  });
2904
- function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
2905
- let l = e ? C : "button", { isMobile: u, state: d } = _i(), f = /* @__PURE__ */ a(l, {
2916
+ function G({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
2917
+ let l = e ? C : "button", { isMobile: u, state: d } = H(), f = /* @__PURE__ */ a(l, {
2906
2918
  "data-slot": "sidebar-menu-button",
2907
2919
  "data-sidebar": "menu-button",
2908
2920
  "data-size": r,
2909
2921
  "data-active": t,
2910
- className: P(Mi({
2922
+ className: P(ji({
2911
2923
  variant: n,
2912
2924
  size: r
2913
2925
  }), s),
@@ -2923,7 +2935,7 @@ function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r
2923
2935
  ...i
2924
2936
  })] })) : f;
2925
2937
  }
2926
- function Ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2938
+ function Mi({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2927
2939
  return /* @__PURE__ */ a(t ? C : "button", {
2928
2940
  "data-slot": "sidebar-menu-action",
2929
2941
  "data-sidebar": "menu-action",
@@ -2931,7 +2943,7 @@ function Ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2931
2943
  ...r
2932
2944
  });
2933
2945
  }
2934
- function Pi({ className: e, ...t }) {
2946
+ function Ni({ className: e, ...t }) {
2935
2947
  return /* @__PURE__ */ a("div", {
2936
2948
  "data-slot": "sidebar-menu-badge",
2937
2949
  "data-sidebar": "menu-badge",
@@ -2939,7 +2951,7 @@ function Pi({ className: e, ...t }) {
2939
2951
  ...t
2940
2952
  });
2941
2953
  }
2942
- function Fi({ className: e, showIcon: t = !1, ...n }) {
2954
+ function Pi({ className: e, showIcon: t = !1, ...n }) {
2943
2955
  let [r] = y.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
2944
2956
  return /* @__PURE__ */ o("div", {
2945
2957
  "data-slot": "sidebar-menu-skeleton",
@@ -2956,7 +2968,7 @@ function Fi({ className: e, showIcon: t = !1, ...n }) {
2956
2968
  })]
2957
2969
  });
2958
2970
  }
2959
- function Ii({ className: e, ...t }) {
2971
+ function Fi({ className: e, ...t }) {
2960
2972
  return /* @__PURE__ */ a("ul", {
2961
2973
  "data-slot": "sidebar-menu-sub",
2962
2974
  "data-sidebar": "menu-sub",
@@ -2964,7 +2976,7 @@ function Ii({ className: e, ...t }) {
2964
2976
  ...t
2965
2977
  });
2966
2978
  }
2967
- function Li({ className: e, ...t }) {
2979
+ function Ii({ className: e, ...t }) {
2968
2980
  return /* @__PURE__ */ a("li", {
2969
2981
  "data-slot": "sidebar-menu-sub-item",
2970
2982
  "data-sidebar": "menu-sub-item",
@@ -2972,7 +2984,7 @@ function Li({ className: e, ...t }) {
2972
2984
  ...t
2973
2985
  });
2974
2986
  }
2975
- function Ri({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2987
+ function Li({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2976
2988
  return /* @__PURE__ */ a(e ? C : "a", {
2977
2989
  "data-slot": "sidebar-menu-sub-button",
2978
2990
  "data-sidebar": "menu-sub-button",
@@ -2984,7 +2996,7 @@ function Ri({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, .
2984
2996
  }
2985
2997
  //#endregion
2986
2998
  //#region src/components/custom/table/crudTablePagination.tsx
2987
- function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2999
+ function Ri({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2988
3000
  let i = Math.ceil(t / e);
2989
3001
  return /* @__PURE__ */ o("div", {
2990
3002
  className: "p-4 border-t bg-muted flex items-center justify-between text-sm text-muted-foreground",
@@ -3014,7 +3026,7 @@ function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
3014
3026
  dir: "rtl",
3015
3027
  children: [/* @__PURE__ */ a(Ir, {
3016
3028
  asChild: !0,
3017
- children: /* @__PURE__ */ a(W, {
3029
+ children: /* @__PURE__ */ a(G, {
3018
3030
  className: "w-full h-5 justify-start gap-2 text-base",
3019
3031
  children: /* @__PURE__ */ a("span", { children: n })
3020
3032
  })
@@ -3038,7 +3050,7 @@ function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
3038
3050
  }
3039
3051
  //#endregion
3040
3052
  //#region src/components/custom/table/crudTableRowActionsMenu.tsx
3041
- function Bi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3053
+ function zi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3042
3054
  return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Pr, {
3043
3055
  dir: "rtl",
3044
3056
  children: [/* @__PURE__ */ a(Ir, {
@@ -3080,7 +3092,7 @@ function Bi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3080
3092
  }
3081
3093
  //#endregion
3082
3094
  //#region src/components/custom/pages/crudPage.tsx
3083
- function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3095
+ function Bi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3084
3096
  let g = We(), { selectedRow: _, isChangeDialogOpen: v, isDeleteDialogOpen: ee } = t();
3085
3097
  return je(() => {
3086
3098
  g(l.filter(void 0));
@@ -3105,13 +3117,13 @@ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3105
3117
  state: d,
3106
3118
  children: [/* @__PURE__ */ a(Er, { tableHeadRows: f }), /* @__PURE__ */ a(Wn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(Cr, {
3107
3119
  tableRows: p(t),
3108
- dropdownMenu: /* @__PURE__ */ a(Bi, {
3120
+ dropdownMenu: /* @__PURE__ */ a(zi, {
3109
3121
  permissions: e,
3110
3122
  type: "dropdown",
3111
3123
  onEditClicked: () => g(l.openChangeDialog(t)),
3112
3124
  onDeleteClicked: () => g(l.openDeleteDialog(t))
3113
3125
  }),
3114
- contextMenuContent: /* @__PURE__ */ a(Bi, {
3126
+ contextMenuContent: /* @__PURE__ */ a(zi, {
3115
3127
  permissions: e,
3116
3128
  type: "context",
3117
3129
  onEditClicked: () => g(l.openChangeDialog(t)),
@@ -3119,7 +3131,7 @@ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3119
3131
  })
3120
3132
  }, n)) })]
3121
3133
  }),
3122
- /* @__PURE__ */ a(zi, {
3134
+ /* @__PURE__ */ a(Ri, {
3123
3135
  pageSize: d.rowsPerPage,
3124
3136
  totalNumber: d.entities?.count ?? 0,
3125
3137
  currentPage: d.currentPage || 1,
@@ -3154,75 +3166,75 @@ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3154
3166
  }
3155
3167
  //#endregion
3156
3168
  //#region src/components/pure/alert-dialog.tsx
3157
- function Hi({ ...e }) {
3169
+ function Vi({ ...e }) {
3158
3170
  return /* @__PURE__ */ a(k.Root, {
3159
3171
  "data-slot": "alert-dialog",
3160
3172
  ...e
3161
3173
  });
3162
3174
  }
3163
- function Ui({ ...e }) {
3175
+ function Hi({ ...e }) {
3164
3176
  return /* @__PURE__ */ a(k.Trigger, {
3165
3177
  "data-slot": "alert-dialog-trigger",
3166
3178
  ...e
3167
3179
  });
3168
3180
  }
3169
- function Wi({ ...e }) {
3181
+ function Ui({ ...e }) {
3170
3182
  return /* @__PURE__ */ a(k.Portal, {
3171
3183
  "data-slot": "alert-dialog-portal",
3172
3184
  ...e
3173
3185
  });
3174
3186
  }
3175
- function Gi({ className: e, ...t }) {
3187
+ function Wi({ className: e, ...t }) {
3176
3188
  return /* @__PURE__ */ a(k.Overlay, {
3177
3189
  "data-slot": "alert-dialog-overlay",
3178
3190
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
3179
3191
  ...t
3180
3192
  });
3181
3193
  }
3182
- function Ki({ className: e, size: t = "default", ...n }) {
3183
- return /* @__PURE__ */ o(Wi, { children: [/* @__PURE__ */ a(Gi, {}), /* @__PURE__ */ a(k.Content, {
3194
+ function Gi({ className: e, size: t = "default", ...n }) {
3195
+ return /* @__PURE__ */ o(Ui, { children: [/* @__PURE__ */ a(Wi, {}), /* @__PURE__ */ a(k.Content, {
3184
3196
  "data-slot": "alert-dialog-content",
3185
3197
  "data-size": t,
3186
3198
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 outline-none", e),
3187
3199
  ...n
3188
3200
  })] });
3189
3201
  }
3190
- function qi({ className: e, ...t }) {
3202
+ function Ki({ className: e, ...t }) {
3191
3203
  return /* @__PURE__ */ a("div", {
3192
3204
  "data-slot": "alert-dialog-header",
3193
3205
  className: P("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
3194
3206
  ...t
3195
3207
  });
3196
3208
  }
3197
- function Ji({ className: e, ...t }) {
3209
+ function qi({ className: e, ...t }) {
3198
3210
  return /* @__PURE__ */ a("div", {
3199
3211
  "data-slot": "alert-dialog-footer",
3200
3212
  className: P("bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
3201
3213
  ...t
3202
3214
  });
3203
3215
  }
3204
- function Yi({ className: e, ...t }) {
3216
+ function Ji({ className: e, ...t }) {
3205
3217
  return /* @__PURE__ */ a("div", {
3206
3218
  "data-slot": "alert-dialog-media",
3207
3219
  className: P("bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", e),
3208
3220
  ...t
3209
3221
  });
3210
3222
  }
3211
- function Xi({ className: e, ...t }) {
3223
+ function Yi({ className: e, ...t }) {
3212
3224
  return /* @__PURE__ */ a(k.Title, {
3213
3225
  "data-slot": "alert-dialog-title",
3214
3226
  className: P("text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
3215
3227
  ...t
3216
3228
  });
3217
3229
  }
3218
- function Zi({ className: e, ...t }) {
3230
+ function Xi({ className: e, ...t }) {
3219
3231
  return /* @__PURE__ */ a(k.Description, {
3220
3232
  "data-slot": "alert-dialog-description",
3221
3233
  className: P("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", e),
3222
3234
  ...t
3223
3235
  });
3224
3236
  }
3225
- function Qi({ className: e, variant: t = "default", size: n = "default", ...r }) {
3237
+ function Zi({ className: e, variant: t = "default", size: n = "default", ...r }) {
3226
3238
  return /* @__PURE__ */ a(F, {
3227
3239
  variant: t,
3228
3240
  size: n,
@@ -3234,7 +3246,7 @@ function Qi({ className: e, variant: t = "default", size: n = "default", ...r })
3234
3246
  })
3235
3247
  });
3236
3248
  }
3237
- function $i({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3249
+ function Qi({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3238
3250
  return /* @__PURE__ */ a(F, {
3239
3251
  variant: t,
3240
3252
  size: n,
@@ -3248,36 +3260,36 @@ function $i({ className: e, variant: t = "outline", size: n = "default", ...r })
3248
3260
  }
3249
3261
  //#endregion
3250
3262
  //#region src/components/pure/alert.tsx
3251
- var ea = S("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
3263
+ var $i = S("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
3252
3264
  variants: { variant: {
3253
3265
  default: "bg-card text-card-foreground",
3254
3266
  destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
3255
3267
  } },
3256
3268
  defaultVariants: { variant: "default" }
3257
3269
  });
3258
- function ta({ className: e, variant: t, ...n }) {
3270
+ function ea({ className: e, variant: t, ...n }) {
3259
3271
  return /* @__PURE__ */ a("div", {
3260
3272
  "data-slot": "alert",
3261
3273
  role: "alert",
3262
- className: P(ea({ variant: t }), e),
3274
+ className: P($i({ variant: t }), e),
3263
3275
  ...n
3264
3276
  });
3265
3277
  }
3266
- function na({ className: e, ...t }) {
3278
+ function ta({ className: e, ...t }) {
3267
3279
  return /* @__PURE__ */ a("div", {
3268
3280
  "data-slot": "alert-title",
3269
3281
  className: P("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
3270
3282
  ...t
3271
3283
  });
3272
3284
  }
3273
- function ra({ className: e, ...t }) {
3285
+ function na({ className: e, ...t }) {
3274
3286
  return /* @__PURE__ */ a("div", {
3275
3287
  "data-slot": "alert-description",
3276
3288
  className: P("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
3277
3289
  ...t
3278
3290
  });
3279
3291
  }
3280
- function ia({ className: e, ...t }) {
3292
+ function ra({ className: e, ...t }) {
3281
3293
  return /* @__PURE__ */ a("div", {
3282
3294
  "data-slot": "alert-action",
3283
3295
  className: P("absolute top-2 end-2", e),
@@ -3286,7 +3298,7 @@ function ia({ className: e, ...t }) {
3286
3298
  }
3287
3299
  //#endregion
3288
3300
  //#region src/components/pure/avatar.tsx
3289
- function aa({ className: e, size: t = "default", ...n }) {
3301
+ function ia({ className: e, size: t = "default", ...n }) {
3290
3302
  return /* @__PURE__ */ a(Ge.Root, {
3291
3303
  "data-slot": "avatar",
3292
3304
  "data-size": t,
@@ -3294,35 +3306,35 @@ function aa({ className: e, size: t = "default", ...n }) {
3294
3306
  ...n
3295
3307
  });
3296
3308
  }
3297
- function oa({ className: e, ...t }) {
3309
+ function aa({ className: e, ...t }) {
3298
3310
  return console.log(t), /* @__PURE__ */ a(Ge.Image, {
3299
3311
  "data-slot": "avatar-image",
3300
3312
  className: P("rounded-full aspect-square size-full object-cover", e),
3301
3313
  ...t
3302
3314
  });
3303
3315
  }
3304
- function sa({ className: e, ...t }) {
3316
+ function oa({ className: e, ...t }) {
3305
3317
  return /* @__PURE__ */ a(Ge.Fallback, {
3306
3318
  "data-slot": "avatar-fallback",
3307
3319
  className: P("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs", e),
3308
3320
  ...t
3309
3321
  });
3310
3322
  }
3311
- function ca({ className: e, ...t }) {
3323
+ function sa({ className: e, ...t }) {
3312
3324
  return /* @__PURE__ */ a("span", {
3313
3325
  "data-slot": "avatar-badge",
3314
3326
  className: P("bg-primary text-primary-foreground ring-background absolute end-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
3315
3327
  ...t
3316
3328
  });
3317
3329
  }
3318
- function la({ className: e, ...t }) {
3330
+ function ca({ className: e, ...t }) {
3319
3331
  return /* @__PURE__ */ a("div", {
3320
3332
  "data-slot": "avatar-group",
3321
3333
  className: P("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2", e),
3322
3334
  ...t
3323
3335
  });
3324
3336
  }
3325
- function ua({ className: e, ...t }) {
3337
+ function la({ className: e, ...t }) {
3326
3338
  return /* @__PURE__ */ a("div", {
3327
3339
  "data-slot": "avatar-group-count",
3328
3340
  className: P("bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", e),
@@ -3331,7 +3343,7 @@ function ua({ className: e, ...t }) {
3331
3343
  }
3332
3344
  //#endregion
3333
3345
  //#region src/components/pure/badge.tsx
3334
- var da = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge", {
3346
+ var ua = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge", {
3335
3347
  variants: { variant: {
3336
3348
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
3337
3349
  secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
@@ -3342,17 +3354,17 @@ var da = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs
3342
3354
  } },
3343
3355
  defaultVariants: { variant: "default" }
3344
3356
  });
3345
- function fa({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3357
+ function da({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3346
3358
  return /* @__PURE__ */ a(n ? C : "span", {
3347
3359
  "data-slot": "badge",
3348
3360
  "data-variant": t,
3349
- className: P(da({ variant: t }), e),
3361
+ className: P(ua({ variant: t }), e),
3350
3362
  ...r
3351
3363
  });
3352
3364
  }
3353
3365
  //#endregion
3354
3366
  //#region src/components/pure/breadcrumb.tsx
3355
- function pa({ className: e, ...t }) {
3367
+ function fa({ className: e, ...t }) {
3356
3368
  return /* @__PURE__ */ a("nav", {
3357
3369
  "aria-label": "breadcrumb",
3358
3370
  "data-slot": "breadcrumb",
@@ -3360,28 +3372,28 @@ function pa({ className: e, ...t }) {
3360
3372
  ...t
3361
3373
  });
3362
3374
  }
3363
- function ma({ className: e, ...t }) {
3375
+ function pa({ className: e, ...t }) {
3364
3376
  return /* @__PURE__ */ a("ol", {
3365
3377
  "data-slot": "breadcrumb-list",
3366
3378
  className: P("text-muted-foreground gap-1.5 text-sm flex flex-wrap items-center wrap-break-word", e),
3367
3379
  ...t
3368
3380
  });
3369
3381
  }
3370
- function ha({ className: e, ...t }) {
3382
+ function ma({ className: e, ...t }) {
3371
3383
  return /* @__PURE__ */ a("li", {
3372
3384
  "data-slot": "breadcrumb-item",
3373
3385
  className: P("gap-1 inline-flex items-center", e),
3374
3386
  ...t
3375
3387
  });
3376
3388
  }
3377
- function ga({ asChild: e, className: t, ...n }) {
3389
+ function ha({ asChild: e, className: t, ...n }) {
3378
3390
  return /* @__PURE__ */ a(e ? C : "a", {
3379
3391
  "data-slot": "breadcrumb-link",
3380
3392
  className: P("hover:text-foreground transition-colors", t),
3381
3393
  ...n
3382
3394
  });
3383
3395
  }
3384
- function _a({ className: e, ...t }) {
3396
+ function ga({ className: e, ...t }) {
3385
3397
  return /* @__PURE__ */ a("span", {
3386
3398
  "data-slot": "breadcrumb-page",
3387
3399
  role: "link",
@@ -3391,7 +3403,7 @@ function _a({ className: e, ...t }) {
3391
3403
  ...t
3392
3404
  });
3393
3405
  }
3394
- function va({ children: e, className: t, ...n }) {
3406
+ function _a({ children: e, className: t, ...n }) {
3395
3407
  return /* @__PURE__ */ a("li", {
3396
3408
  "data-slot": "breadcrumb-separator",
3397
3409
  role: "presentation",
@@ -3401,7 +3413,7 @@ function va({ children: e, className: t, ...n }) {
3401
3413
  children: e ?? /* @__PURE__ */ a(p, { className: "rtl:rotate-180" })
3402
3414
  });
3403
3415
  }
3404
- function ya({ className: e, ...t }) {
3416
+ function va({ className: e, ...t }) {
3405
3417
  return /* @__PURE__ */ o("span", {
3406
3418
  "data-slot": "breadcrumb-ellipsis",
3407
3419
  role: "presentation",
@@ -3416,34 +3428,34 @@ function ya({ className: e, ...t }) {
3416
3428
  }
3417
3429
  //#endregion
3418
3430
  //#region src/components/pure/chart.tsx
3419
- var ba = {
3431
+ var ya = {
3420
3432
  light: "",
3421
3433
  dark: ".dark"
3422
- }, xa = y.createContext(null);
3423
- function Sa() {
3424
- let e = y.useContext(xa);
3434
+ }, ba = y.createContext(null);
3435
+ function xa() {
3436
+ let e = y.useContext(ba);
3425
3437
  if (!e) throw Error("useChart must be used within a <ChartContainer />");
3426
3438
  return e;
3427
3439
  }
3428
- function Ca({ id: e, className: t, children: n, config: r, ...i }) {
3440
+ function Sa({ id: e, className: t, children: n, config: r, ...i }) {
3429
3441
  let s = y.useId(), c = `chart-${e || s.replace(/:/g, "")}`;
3430
- return /* @__PURE__ */ a(xa.Provider, {
3442
+ return /* @__PURE__ */ a(ba.Provider, {
3431
3443
  value: { config: r },
3432
3444
  children: /* @__PURE__ */ o("div", {
3433
3445
  "data-slot": "chart",
3434
3446
  "data-chart": c,
3435
3447
  className: P("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border[&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border[&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent[&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", t),
3436
3448
  ...i,
3437
- children: [/* @__PURE__ */ a(wa, {
3449
+ children: [/* @__PURE__ */ a(Ca, {
3438
3450
  id: c,
3439
3451
  config: r
3440
3452
  }), /* @__PURE__ */ a(Ke.ResponsiveContainer, { children: n })]
3441
3453
  })
3442
3454
  });
3443
3455
  }
3444
- var wa = ({ id: e, config: t }) => {
3456
+ var Ca = ({ id: e, config: t }) => {
3445
3457
  let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
3446
- return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(ba).map(([t, r]) => `
3458
+ return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(ya).map(([t, r]) => `
3447
3459
  ${r} [data-chart=${e}] {
3448
3460
  ${n.map(([e, n]) => {
3449
3461
  let r = n.theme?.[t] || n.color;
@@ -3451,11 +3463,11 @@ ${n.map(([e, n]) => {
3451
3463
  }).join("\n")}
3452
3464
  }
3453
3465
  `).join("\n") } }) : null;
3454
- }, Ta = Ke.Tooltip;
3455
- function Ea({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: s = !1, hideIndicator: c = !1, label: l, labelFormatter: u, labelClassName: d, formatter: f, color: p, nameKey: m, labelKey: h }) {
3456
- let { config: g } = Sa(), _ = y.useMemo(() => {
3466
+ }, wa = Ke.Tooltip;
3467
+ function Ta({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: s = !1, hideIndicator: c = !1, label: l, labelFormatter: u, labelClassName: d, formatter: f, color: p, nameKey: m, labelKey: h }) {
3468
+ let { config: g } = xa(), _ = y.useMemo(() => {
3457
3469
  if (s || !t?.length) return null;
3458
- let [e] = t, n = ka(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3470
+ let [e] = t, n = Oa(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3459
3471
  return u ? /* @__PURE__ */ a("div", {
3460
3472
  className: P("font-medium", d),
3461
3473
  children: u(r, t)
@@ -3479,7 +3491,7 @@ function Ea({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3479
3491
  children: [v ? null : _, /* @__PURE__ */ a("div", {
3480
3492
  className: "grid gap-1.5",
3481
3493
  children: t.filter((e) => e.type !== "none").map((e, t) => {
3482
- let n = ka(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3494
+ let n = Oa(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3483
3495
  return /* @__PURE__ */ a("div", {
3484
3496
  className: P("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center"),
3485
3497
  children: f && e?.value !== void 0 && e.name ? f(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ o(i, { children: [n?.icon ? /* @__PURE__ */ a(n.icon, {}) : !c && /* @__PURE__ */ a("div", {
@@ -3511,13 +3523,13 @@ function Ea({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3511
3523
  })]
3512
3524
  });
3513
3525
  }
3514
- var Da = Ke.Legend;
3515
- function Oa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3516
- let { config: s } = Sa();
3526
+ var Ea = Ke.Legend;
3527
+ function Da({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3528
+ let { config: s } = xa();
3517
3529
  return n?.length ? /* @__PURE__ */ a("div", {
3518
3530
  className: P("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
3519
3531
  children: n.filter((e) => e.type !== "none").map((e) => {
3520
- let n = ka(s, e, `${i || e.dataKey || "value"}`);
3532
+ let n = Oa(s, e, `${i || e.dataKey || "value"}`);
3521
3533
  return /* @__PURE__ */ o("div", {
3522
3534
  className: P("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
3523
3535
  children: [n?.icon && !t ? /* @__PURE__ */ a(n.icon, {}) : /* @__PURE__ */ a("div", {
@@ -3528,14 +3540,14 @@ function Oa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
3528
3540
  })
3529
3541
  }) : null;
3530
3542
  }
3531
- function ka(e, t, n) {
3543
+ function Oa(e, t, n) {
3532
3544
  if (typeof t != "object" || !t) return;
3533
3545
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
3534
3546
  return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
3535
3547
  }
3536
3548
  //#endregion
3537
3549
  //#region src/components/pure/checkbox.tsx
3538
- function Aa({ className: e, ...t }) {
3550
+ function ka({ className: e, ...t }) {
3539
3551
  return /* @__PURE__ */ a(qe.Root, {
3540
3552
  "data-slot": "checkbox",
3541
3553
  className: P("border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-3 aria-invalid:ring-3 peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50", e),
@@ -3549,7 +3561,7 @@ function Aa({ className: e, ...t }) {
3549
3561
  }
3550
3562
  //#endregion
3551
3563
  //#region src/components/pure/input-group.tsx
3552
- function ja({ className: e, ...t }) {
3564
+ function Aa({ className: e, ...t }) {
3553
3565
  return /* @__PURE__ */ a("div", {
3554
3566
  "data-slot": "input-group",
3555
3567
  role: "group",
@@ -3557,7 +3569,7 @@ function ja({ className: e, ...t }) {
3557
3569
  ...t
3558
3570
  });
3559
3571
  }
3560
- var Ma = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3572
+ var ja = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3561
3573
  variants: { align: {
3562
3574
  "inline-start": "ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first",
3563
3575
  "inline-end": "pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last",
@@ -3566,19 +3578,19 @@ var Ma = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-
3566
3578
  } },
3567
3579
  defaultVariants: { align: "inline-start" }
3568
3580
  });
3569
- function Na({ className: e, align: t = "inline-start", ...n }) {
3581
+ function Ma({ className: e, align: t = "inline-start", ...n }) {
3570
3582
  return /* @__PURE__ */ a("div", {
3571
3583
  role: "group",
3572
3584
  "data-slot": "input-group-addon",
3573
3585
  "data-align": t,
3574
- className: P(Ma({ align: t }), e),
3586
+ className: P(ja({ align: t }), e),
3575
3587
  onClick: (e) => {
3576
3588
  e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
3577
3589
  },
3578
3590
  ...n
3579
3591
  });
3580
3592
  }
3581
- var Pa = S("gap-2 text-sm shadow-none flex items-center", {
3593
+ var Na = S("gap-2 text-sm shadow-none flex items-center", {
3582
3594
  variants: { size: {
3583
3595
  xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
3584
3596
  sm: "",
@@ -3587,29 +3599,29 @@ var Pa = S("gap-2 text-sm shadow-none flex items-center", {
3587
3599
  } },
3588
3600
  defaultVariants: { size: "xs" }
3589
3601
  });
3590
- function Fa({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3602
+ function Pa({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3591
3603
  return /* @__PURE__ */ a(F, {
3592
3604
  type: t,
3593
3605
  "data-size": r,
3594
3606
  variant: n,
3595
- className: P(Pa({ size: r }), e),
3607
+ className: P(Na({ size: r }), e),
3596
3608
  ...i
3597
3609
  });
3598
3610
  }
3599
- function Ia({ className: e, ...t }) {
3611
+ function Fa({ className: e, ...t }) {
3600
3612
  return /* @__PURE__ */ a("span", {
3601
3613
  className: P("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", e),
3602
3614
  ...t
3603
3615
  });
3604
3616
  }
3605
- function La({ className: e, ...t }) {
3617
+ function Ia({ className: e, ...t }) {
3606
3618
  return /* @__PURE__ */ a(z, {
3607
3619
  "data-slot": "input-group-control",
3608
3620
  className: P("rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1", e),
3609
3621
  ...t
3610
3622
  });
3611
3623
  }
3612
- function Ra({ className: e, ...t }) {
3624
+ function La({ className: e, ...t }) {
3613
3625
  return /* @__PURE__ */ a(Fn, {
3614
3626
  "data-slot": "input-group-control",
3615
3627
  className: P("rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none", e),
@@ -3618,14 +3630,14 @@ function Ra({ className: e, ...t }) {
3618
3630
  }
3619
3631
  //#endregion
3620
3632
  //#region src/components/pure/combobox.tsx
3621
- var za = A.Root;
3622
- function Ba({ ...e }) {
3633
+ var Ra = A.Root;
3634
+ function za({ ...e }) {
3623
3635
  return /* @__PURE__ */ a(A.Value, {
3624
3636
  "data-slot": "combobox-value",
3625
3637
  ...e
3626
3638
  });
3627
3639
  }
3628
- function Va({ className: e, children: t, ...n }) {
3640
+ function Ba({ className: e, children: t, ...n }) {
3629
3641
  return /* @__PURE__ */ o(A.Trigger, {
3630
3642
  "data-slot": "combobox-trigger",
3631
3643
  className: P("[&_svg:not([class*='size-'])]:size-4", e),
@@ -3633,10 +3645,10 @@ function Va({ className: e, children: t, ...n }) {
3633
3645
  children: [t, /* @__PURE__ */ a(l, { className: "text-muted-foreground size-4 pointer-events-none" })]
3634
3646
  });
3635
3647
  }
3636
- function Ha({ className: e, ...t }) {
3648
+ function Va({ className: e, ...t }) {
3637
3649
  return /* @__PURE__ */ a(A.Clear, {
3638
3650
  "data-slot": "combobox-clear",
3639
- render: /* @__PURE__ */ a(Fa, {
3651
+ render: /* @__PURE__ */ a(Pa, {
3640
3652
  variant: "ghost",
3641
3653
  size: "icon-xs"
3642
3654
  }),
@@ -3645,31 +3657,31 @@ function Ha({ className: e, ...t }) {
3645
3657
  children: /* @__PURE__ */ a(Te, { className: "pointer-events-none" })
3646
3658
  });
3647
3659
  }
3648
- function Ua({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3649
- return /* @__PURE__ */ o(ja, {
3660
+ function Ha({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3661
+ return /* @__PURE__ */ o(Aa, {
3650
3662
  className: P("w-auto", e),
3651
3663
  children: [
3652
3664
  /* @__PURE__ */ a(A.Input, {
3653
- render: /* @__PURE__ */ a(La, { disabled: n }),
3665
+ render: /* @__PURE__ */ a(Ia, { disabled: n }),
3654
3666
  ...s
3655
3667
  }),
3656
- /* @__PURE__ */ o(Na, {
3668
+ /* @__PURE__ */ o(Ma, {
3657
3669
  align: "inline-end",
3658
- children: [r && /* @__PURE__ */ a(Fa, {
3670
+ children: [r && /* @__PURE__ */ a(Pa, {
3659
3671
  size: "icon-xs",
3660
3672
  variant: "ghost",
3661
3673
  asChild: !0,
3662
3674
  "data-slot": "input-group-button",
3663
3675
  className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
3664
3676
  disabled: n,
3665
- children: /* @__PURE__ */ a(Va, {})
3666
- }), i && /* @__PURE__ */ a(Ha, { disabled: n })]
3677
+ children: /* @__PURE__ */ a(Ba, {})
3678
+ }), i && /* @__PURE__ */ a(Va, { disabled: n })]
3667
3679
  }),
3668
3680
  t
3669
3681
  ]
3670
3682
  });
3671
3683
  }
3672
- function Wa({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3684
+ function Ua({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3673
3685
  return /* @__PURE__ */ a(A.Portal, { children: /* @__PURE__ */ a(A.Positioner, {
3674
3686
  side: t,
3675
3687
  sideOffset: n,
@@ -3685,14 +3697,14 @@ function Wa({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "s
3685
3697
  })
3686
3698
  }) });
3687
3699
  }
3688
- function Ga({ className: e, ...t }) {
3700
+ function Wa({ className: e, ...t }) {
3689
3701
  return /* @__PURE__ */ a(A.List, {
3690
3702
  "data-slot": "combobox-list",
3691
3703
  className: P("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 p-1 data-empty:p-0 overflow-y-auto overscroll-contain", e),
3692
3704
  ...t
3693
3705
  });
3694
3706
  }
3695
- function Ka({ className: e, children: t, ...n }) {
3707
+ function Ga({ className: e, children: t, ...n }) {
3696
3708
  return /* @__PURE__ */ o(A.Item, {
3697
3709
  "data-slot": "combobox-item",
3698
3710
  className: P("data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-md py-1 pe-8 ps-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -3703,48 +3715,48 @@ function Ka({ className: e, children: t, ...n }) {
3703
3715
  })]
3704
3716
  });
3705
3717
  }
3706
- function qa({ className: e, ...t }) {
3718
+ function Ka({ className: e, ...t }) {
3707
3719
  return /* @__PURE__ */ a(A.Group, {
3708
3720
  "data-slot": "combobox-group",
3709
3721
  className: P(e),
3710
3722
  ...t
3711
3723
  });
3712
3724
  }
3713
- function Ja({ className: e, ...t }) {
3725
+ function qa({ className: e, ...t }) {
3714
3726
  return /* @__PURE__ */ a(A.GroupLabel, {
3715
3727
  "data-slot": "combobox-label",
3716
3728
  className: P("text-muted-foreground px-2 py-1.5 text-xs", e),
3717
3729
  ...t
3718
3730
  });
3719
3731
  }
3720
- function Ya({ ...e }) {
3732
+ function Ja({ ...e }) {
3721
3733
  return /* @__PURE__ */ a(A.Collection, {
3722
3734
  "data-slot": "combobox-collection",
3723
3735
  ...e
3724
3736
  });
3725
3737
  }
3726
- function Xa({ className: e, ...t }) {
3738
+ function Ya({ className: e, ...t }) {
3727
3739
  return /* @__PURE__ */ a(A.Empty, {
3728
3740
  "data-slot": "combobox-empty",
3729
3741
  className: P("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex", e),
3730
3742
  ...t
3731
3743
  });
3732
3744
  }
3733
- function Za({ className: e, ...t }) {
3745
+ function Xa({ className: e, ...t }) {
3734
3746
  return /* @__PURE__ */ a(A.Separator, {
3735
3747
  "data-slot": "combobox-separator",
3736
3748
  className: P("bg-border -mx-1 my-1 h-px", e),
3737
3749
  ...t
3738
3750
  });
3739
3751
  }
3740
- function Qa({ className: e, ...t }) {
3752
+ function Za({ className: e, ...t }) {
3741
3753
  return /* @__PURE__ */ a(A.Chips, {
3742
3754
  "data-slot": "combobox-chips",
3743
3755
  className: P("dark:bg-input/30 border-input focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-8 flex-wrap items-center gap-1 rounded-lg border bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:ring-3 has-aria-invalid:ring-3 has-data-[slot=combobox-chip]:px-1", e),
3744
3756
  ...t
3745
3757
  });
3746
3758
  }
3747
- function $a({ className: e, children: t, showRemove: n = !0, ...r }) {
3759
+ function Qa({ className: e, children: t, showRemove: n = !0, ...r }) {
3748
3760
  return /* @__PURE__ */ o(A.Chip, {
3749
3761
  "data-slot": "combobox-chip",
3750
3762
  className: P("bg-muted text-foreground flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm px-1.5 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pe-0 has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50", e),
@@ -3760,26 +3772,26 @@ function $a({ className: e, children: t, showRemove: n = !0, ...r }) {
3760
3772
  })]
3761
3773
  });
3762
3774
  }
3763
- function eo({ className: e, ...t }) {
3775
+ function $a({ className: e, ...t }) {
3764
3776
  return /* @__PURE__ */ a(A.Input, {
3765
3777
  "data-slot": "combobox-chip-input",
3766
3778
  className: P("min-w-16 flex-1 outline-none", e),
3767
3779
  ...t
3768
3780
  });
3769
3781
  }
3770
- function to() {
3782
+ function eo() {
3771
3783
  return y.useRef(null);
3772
3784
  }
3773
3785
  //#endregion
3774
3786
  //#region src/components/pure/command.tsx
3775
- function no({ className: e, ...t }) {
3787
+ function to({ className: e, ...t }) {
3776
3788
  return /* @__PURE__ */ a(j, {
3777
3789
  "data-slot": "command",
3778
3790
  className: P("bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden", e),
3779
3791
  ...t
3780
3792
  });
3781
3793
  }
3782
- function ro({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3794
+ function no({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3783
3795
  return /* @__PURE__ */ o(I, {
3784
3796
  ...s,
3785
3797
  children: [/* @__PURE__ */ o(_t, {
@@ -3792,49 +3804,49 @@ function ro({ title: e = "Command Palette", description: t = "Search for a comma
3792
3804
  })]
3793
3805
  });
3794
3806
  }
3795
- function io({ className: e, ...t }) {
3807
+ function ro({ className: e, ...t }) {
3796
3808
  return /* @__PURE__ */ a("div", {
3797
3809
  "data-slot": "command-input-wrapper",
3798
3810
  className: "p-1 pb-0",
3799
- children: /* @__PURE__ */ o(ja, {
3811
+ children: /* @__PURE__ */ o(Aa, {
3800
3812
  className: "bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!",
3801
3813
  children: [/* @__PURE__ */ a(j.Input, {
3802
3814
  "data-slot": "command-input",
3803
3815
  className: P("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
3804
3816
  ...t
3805
- }), /* @__PURE__ */ a(Na, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3817
+ }), /* @__PURE__ */ a(Ma, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3806
3818
  })
3807
3819
  });
3808
3820
  }
3809
- function ao({ className: e, ...t }) {
3821
+ function io({ className: e, ...t }) {
3810
3822
  return /* @__PURE__ */ a(j.List, {
3811
3823
  "data-slot": "command-list",
3812
3824
  className: P("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto", e),
3813
3825
  ...t
3814
3826
  });
3815
3827
  }
3816
- function oo({ className: e, ...t }) {
3828
+ function ao({ className: e, ...t }) {
3817
3829
  return /* @__PURE__ */ a(j.Empty, {
3818
3830
  "data-slot": "command-empty",
3819
3831
  className: P("py-6 text-center text-sm", e),
3820
3832
  ...t
3821
3833
  });
3822
3834
  }
3823
- function so({ className: e, ...t }) {
3835
+ function oo({ className: e, ...t }) {
3824
3836
  return /* @__PURE__ */ a(j.Group, {
3825
3837
  "data-slot": "command-group",
3826
3838
  className: P("text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium", e),
3827
3839
  ...t
3828
3840
  });
3829
3841
  }
3830
- function co({ className: e, ...t }) {
3842
+ function so({ className: e, ...t }) {
3831
3843
  return /* @__PURE__ */ a(j.Separator, {
3832
3844
  "data-slot": "command-separator",
3833
3845
  className: P("bg-border -mx-1 h-px", e),
3834
3846
  ...t
3835
3847
  });
3836
3848
  }
3837
- function lo({ className: e, children: t, ...n }) {
3849
+ function co({ className: e, children: t, ...n }) {
3838
3850
  return /* @__PURE__ */ o(j.Item, {
3839
3851
  "data-slot": "command-item",
3840
3852
  className: P("data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -3842,7 +3854,7 @@ function lo({ className: e, children: t, ...n }) {
3842
3854
  children: [t, /* @__PURE__ */ a(c, { className: "ms-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })]
3843
3855
  });
3844
3856
  }
3845
- function uo({ className: e, ...t }) {
3857
+ function lo({ className: e, ...t }) {
3846
3858
  return /* @__PURE__ */ a("span", {
3847
3859
  "data-slot": "command-shortcut",
3848
3860
  className: P("text-muted-foreground group-data-selected/command-item:text-foreground ms-auto text-xs tracking-widest", e),
@@ -3851,50 +3863,50 @@ function uo({ className: e, ...t }) {
3851
3863
  }
3852
3864
  //#endregion
3853
3865
  //#region src/components/pure/direction.tsx
3854
- function fo({ dir: e, direction: t, children: n }) {
3866
+ function uo({ dir: e, direction: t, children: n }) {
3855
3867
  return /* @__PURE__ */ a(Je.DirectionProvider, {
3856
3868
  dir: t ?? e,
3857
3869
  children: n
3858
3870
  });
3859
3871
  }
3860
- var po = Je.useDirection;
3872
+ var fo = Je.useDirection;
3861
3873
  //#endregion
3862
3874
  //#region src/components/pure/drawer.tsx
3863
- function mo({ ...e }) {
3875
+ function po({ ...e }) {
3864
3876
  return /* @__PURE__ */ a(M.Root, {
3865
3877
  "data-slot": "drawer",
3866
3878
  ...e
3867
3879
  });
3868
3880
  }
3869
- function ho({ ...e }) {
3881
+ function mo({ ...e }) {
3870
3882
  return /* @__PURE__ */ a(M.Trigger, {
3871
3883
  "data-slot": "drawer-trigger",
3872
3884
  ...e
3873
3885
  });
3874
3886
  }
3875
- function go({ ...e }) {
3887
+ function ho({ ...e }) {
3876
3888
  return /* @__PURE__ */ a(M.Portal, {
3877
3889
  "data-slot": "drawer-portal",
3878
3890
  ...e
3879
3891
  });
3880
3892
  }
3881
- function _o({ ...e }) {
3893
+ function go({ ...e }) {
3882
3894
  return /* @__PURE__ */ a(M.Close, {
3883
3895
  "data-slot": "drawer-close",
3884
3896
  ...e
3885
3897
  });
3886
3898
  }
3887
- function vo({ className: e, ...t }) {
3899
+ function _o({ className: e, ...t }) {
3888
3900
  return /* @__PURE__ */ a(M.Overlay, {
3889
3901
  "data-slot": "drawer-overlay",
3890
3902
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
3891
3903
  ...t
3892
3904
  });
3893
3905
  }
3894
- function yo({ className: e, children: t, ...n }) {
3895
- return /* @__PURE__ */ o(go, {
3906
+ function vo({ className: e, children: t, ...n }) {
3907
+ return /* @__PURE__ */ o(ho, {
3896
3908
  "data-slot": "drawer-portal",
3897
- children: [/* @__PURE__ */ a(vo, {}), /* @__PURE__ */ o(M.Content, {
3909
+ children: [/* @__PURE__ */ a(_o, {}), /* @__PURE__ */ o(M.Content, {
3898
3910
  "data-slot": "drawer-content",
3899
3911
  className: P("bg-background flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:start-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-e-xl data-[vaul-drawer-direction=left]:border-e data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:end-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-s-xl data-[vaul-drawer-direction=right]:border-s data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50", e),
3900
3912
  ...n,
@@ -3902,28 +3914,28 @@ function yo({ className: e, children: t, ...n }) {
3902
3914
  })]
3903
3915
  });
3904
3916
  }
3905
- function bo({ className: e, ...t }) {
3917
+ function yo({ className: e, ...t }) {
3906
3918
  return /* @__PURE__ */ a("div", {
3907
3919
  "data-slot": "drawer-header",
3908
3920
  className: P("gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start flex flex-col", e),
3909
3921
  ...t
3910
3922
  });
3911
3923
  }
3912
- function xo({ className: e, ...t }) {
3924
+ function bo({ className: e, ...t }) {
3913
3925
  return /* @__PURE__ */ a("div", {
3914
3926
  "data-slot": "drawer-footer",
3915
3927
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
3916
3928
  ...t
3917
3929
  });
3918
3930
  }
3919
- function So({ className: e, ...t }) {
3931
+ function xo({ className: e, ...t }) {
3920
3932
  return /* @__PURE__ */ a(M.Title, {
3921
3933
  "data-slot": "drawer-title",
3922
3934
  className: P("text-foreground text-base font-medium", e),
3923
3935
  ...t
3924
3936
  });
3925
3937
  }
3926
- function Co({ className: e, ...t }) {
3938
+ function So({ className: e, ...t }) {
3927
3939
  return /* @__PURE__ */ a(M.Description, {
3928
3940
  "data-slot": "drawer-description",
3929
3941
  className: P("text-muted-foreground text-sm", e),
@@ -3932,14 +3944,14 @@ function Co({ className: e, ...t }) {
3932
3944
  }
3933
3945
  //#endregion
3934
3946
  //#region src/components/pure/field.tsx
3935
- function wo({ className: e, ...t }) {
3947
+ function Co({ className: e, ...t }) {
3936
3948
  return /* @__PURE__ */ a("fieldset", {
3937
3949
  "data-slot": "field-set",
3938
3950
  className: P("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", e),
3939
3951
  ...t
3940
3952
  });
3941
3953
  }
3942
- function To({ className: e, variant: t = "legend", ...n }) {
3954
+ function wo({ className: e, variant: t = "legend", ...n }) {
3943
3955
  return /* @__PURE__ */ a("legend", {
3944
3956
  "data-slot": "field-legend",
3945
3957
  "data-variant": t,
@@ -3947,14 +3959,14 @@ function To({ className: e, variant: t = "legend", ...n }) {
3947
3959
  ...n
3948
3960
  });
3949
3961
  }
3950
- function Eo({ className: e, ...t }) {
3962
+ function To({ className: e, ...t }) {
3951
3963
  return /* @__PURE__ */ a("div", {
3952
3964
  "data-slot": "field-group",
3953
3965
  className: P("gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4 group/field-group @container/field-group flex w-full flex-col", e),
3954
3966
  ...t
3955
3967
  });
3956
3968
  }
3957
- var Do = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
3969
+ var Eo = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
3958
3970
  variants: { orientation: {
3959
3971
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
3960
3972
  horizontal: "flex-row items-center *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
@@ -3962,44 +3974,44 @@ var Do = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",
3962
3974
  } },
3963
3975
  defaultVariants: { orientation: "vertical" }
3964
3976
  });
3965
- function Oo({ className: e, orientation: t = "vertical", ...n }) {
3977
+ function Do({ className: e, orientation: t = "vertical", ...n }) {
3966
3978
  return /* @__PURE__ */ a("div", {
3967
3979
  role: "group",
3968
3980
  "data-slot": "field",
3969
3981
  "data-orientation": t,
3970
- className: P(Do({ orientation: t }), e),
3982
+ className: P(Eo({ orientation: t }), e),
3971
3983
  ...n
3972
3984
  });
3973
3985
  }
3974
- function ko({ className: e, ...t }) {
3986
+ function Oo({ className: e, ...t }) {
3975
3987
  return /* @__PURE__ */ a("div", {
3976
3988
  "data-slot": "field-content",
3977
3989
  className: P("gap-0.5 group/field-content flex flex-1 flex-col leading-snug", e),
3978
3990
  ...t
3979
3991
  });
3980
3992
  }
3981
- function Ao({ className: e, ...t }) {
3993
+ function ko({ className: e, ...t }) {
3982
3994
  return /* @__PURE__ */ a(Wt, {
3983
3995
  "data-slot": "field-label",
3984
3996
  className: P("has-data-checked:bg-primary/5 has-data-checked:border-primary/30 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit leading-snug", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
3985
3997
  ...t
3986
3998
  });
3987
3999
  }
3988
- function jo({ className: e, ...t }) {
4000
+ function Ao({ className: e, ...t }) {
3989
4001
  return /* @__PURE__ */ a("div", {
3990
4002
  "data-slot": "field-label",
3991
4003
  className: P("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug", e),
3992
4004
  ...t
3993
4005
  });
3994
4006
  }
3995
- function Mo({ className: e, ...t }) {
4007
+ function jo({ className: e, ...t }) {
3996
4008
  return /* @__PURE__ */ a("p", {
3997
4009
  "data-slot": "field-description",
3998
4010
  className: P("text-muted-foreground text-start text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-data-horizontal/field:text-balance", "last:mt-0 nth-last-2:-mt-1", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
3999
4011
  ...t
4000
4012
  });
4001
4013
  }
4002
- function No({ children: e, className: t, ...n }) {
4014
+ function Mo({ children: e, className: t, ...n }) {
4003
4015
  return /* @__PURE__ */ o("div", {
4004
4016
  "data-slot": "field-separator",
4005
4017
  "data-content": !!e,
@@ -4012,7 +4024,7 @@ function No({ children: e, className: t, ...n }) {
4012
4024
  })]
4013
4025
  });
4014
4026
  }
4015
- function Po({ className: e, children: t, errors: n, ...r }) {
4027
+ function No({ className: e, children: t, errors: n, ...r }) {
4016
4028
  let i = Me(() => {
4017
4029
  if (t) return t;
4018
4030
  if (!n?.length) return null;
@@ -4032,7 +4044,7 @@ function Po({ className: e, children: t, errors: n, ...r }) {
4032
4044
  }
4033
4045
  //#endregion
4034
4046
  //#region src/components/pure/scroll-area.tsx
4035
- function Fo({ className: e, children: t, ...n }) {
4047
+ function Po({ className: e, children: t, ...n }) {
4036
4048
  return /* @__PURE__ */ o(Ye.Root, {
4037
4049
  "data-slot": "scroll-area",
4038
4050
  className: P("relative", e),
@@ -4043,12 +4055,12 @@ function Fo({ className: e, children: t, ...n }) {
4043
4055
  className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
4044
4056
  children: t
4045
4057
  }),
4046
- /* @__PURE__ */ a(Io, {}),
4058
+ /* @__PURE__ */ a(Fo, {}),
4047
4059
  /* @__PURE__ */ a(Ye.Corner, {})
4048
4060
  ]
4049
4061
  });
4050
4062
  }
4051
- function Io({ className: e, orientation: t = "vertical", ...n }) {
4063
+ function Fo({ className: e, orientation: t = "vertical", ...n }) {
4052
4064
  return /* @__PURE__ */ a(Ye.ScrollAreaScrollbar, {
4053
4065
  "data-slot": "scroll-area-scrollbar",
4054
4066
  "data-orientation": t,
@@ -4063,7 +4075,7 @@ function Io({ className: e, orientation: t = "vertical", ...n }) {
4063
4075
  }
4064
4076
  //#endregion
4065
4077
  //#region src/components/pure/sonner.tsx
4066
- var Lo = ({ ...e }) => {
4078
+ var Io = ({ ...e }) => {
4067
4079
  let { theme: t = "system" } = Xe();
4068
4080
  return /* @__PURE__ */ a(Ze, {
4069
4081
  theme: t,
@@ -4087,7 +4099,7 @@ var Lo = ({ ...e }) => {
4087
4099
  };
4088
4100
  //#endregion
4089
4101
  //#region src/components/pure/switch.tsx
4090
- function Ro({ className: e, size: t = "default", ...n }) {
4102
+ function Lo({ className: e, size: t = "default", ...n }) {
4091
4103
  return /* @__PURE__ */ a(Qe.Root, {
4092
4104
  "data-slot": "switch",
4093
4105
  "data-size": t,
@@ -4101,7 +4113,7 @@ function Ro({ className: e, size: t = "default", ...n }) {
4101
4113
  }
4102
4114
  //#endregion
4103
4115
  //#region src/components/pure/tabs.tsx
4104
- function zo({ className: e, orientation: t = "horizontal", ...n }) {
4116
+ function Ro({ className: e, orientation: t = "horizontal", ...n }) {
4105
4117
  return /* @__PURE__ */ a($e.Root, {
4106
4118
  "data-slot": "tabs",
4107
4119
  "data-orientation": t,
@@ -4109,29 +4121,29 @@ function zo({ className: e, orientation: t = "horizontal", ...n }) {
4109
4121
  ...n
4110
4122
  });
4111
4123
  }
4112
- var Bo = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4124
+ var zo = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4113
4125
  variants: { variant: {
4114
4126
  default: "bg-muted",
4115
4127
  line: "gap-1 bg-transparent"
4116
4128
  } },
4117
4129
  defaultVariants: { variant: "default" }
4118
4130
  });
4119
- function Vo({ className: e, variant: t = "default", ...n }) {
4131
+ function Bo({ className: e, variant: t = "default", ...n }) {
4120
4132
  return /* @__PURE__ */ a($e.List, {
4121
4133
  "data-slot": "tabs-list",
4122
4134
  "data-variant": t,
4123
- className: P(Bo({ variant: t }), e),
4135
+ className: P(zo({ variant: t }), e),
4124
4136
  ...n
4125
4137
  });
4126
4138
  }
4127
- function Ho({ className: e, ...t }) {
4139
+ function Vo({ className: e, ...t }) {
4128
4140
  return /* @__PURE__ */ a($e.Trigger, {
4129
4141
  "data-slot": "tabs-trigger",
4130
4142
  className: P("gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground", "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-end-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
4131
4143
  ...t
4132
4144
  });
4133
4145
  }
4134
- function Uo({ className: e, ...t }) {
4146
+ function Ho({ className: e, ...t }) {
4135
4147
  return /* @__PURE__ */ a($e.Content, {
4136
4148
  "data-slot": "tabs-content",
4137
4149
  className: P("text-sm flex-1 outline-none", e),
@@ -4140,7 +4152,7 @@ function Uo({ className: e, ...t }) {
4140
4152
  }
4141
4153
  //#endregion
4142
4154
  //#region src/components/pure/toggle.tsx
4143
- var Wo = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-lg text-sm font-medium transition-all [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4155
+ var Uo = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-lg text-sm font-medium transition-all [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4144
4156
  variants: {
4145
4157
  variant: {
4146
4158
  default: "bg-transparent",
@@ -4157,10 +4169,10 @@ var Wo = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-rin
4157
4169
  size: "default"
4158
4170
  }
4159
4171
  });
4160
- function Go({ className: e, variant: t = "default", size: n = "default", ...r }) {
4172
+ function Wo({ className: e, variant: t = "default", size: n = "default", ...r }) {
4161
4173
  return /* @__PURE__ */ a(tt.Root, {
4162
4174
  "data-slot": "toggle",
4163
- className: P(Wo({
4175
+ className: P(Uo({
4164
4176
  variant: t,
4165
4177
  size: n,
4166
4178
  className: e
@@ -4170,13 +4182,13 @@ function Go({ className: e, variant: t = "default", size: n = "default", ...r })
4170
4182
  }
4171
4183
  //#endregion
4172
4184
  //#region src/components/pure/toggle-group.tsx
4173
- var Ko = y.createContext({
4185
+ var Go = y.createContext({
4174
4186
  size: "default",
4175
4187
  variant: "default",
4176
4188
  spacing: 0,
4177
4189
  orientation: "horizontal"
4178
4190
  });
4179
- function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4191
+ function Ko({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4180
4192
  return /* @__PURE__ */ a(et.Root, {
4181
4193
  "data-slot": "toggle-group",
4182
4194
  "data-variant": t,
@@ -4186,7 +4198,7 @@ function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4186
4198
  style: { "--gap": r },
4187
4199
  className: P("rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-vertical:flex-col data-vertical:items-stretch", e),
4188
4200
  ...s,
4189
- children: /* @__PURE__ */ a(Ko.Provider, {
4201
+ children: /* @__PURE__ */ a(Go.Provider, {
4190
4202
  value: {
4191
4203
  variant: t,
4192
4204
  size: n,
@@ -4197,14 +4209,14 @@ function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4197
4209
  })
4198
4210
  });
4199
4211
  }
4200
- function Jo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4201
- let o = y.useContext(Ko);
4212
+ function qo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4213
+ let o = y.useContext(Go);
4202
4214
  return /* @__PURE__ */ a(et.Item, {
4203
4215
  "data-slot": "toggle-group-item",
4204
4216
  "data-variant": o.variant || n,
4205
4217
  "data-size": o.size || r,
4206
4218
  "data-spacing": o.spacing,
4207
- className: P("group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", Wo({
4219
+ className: P("group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", Uo({
4208
4220
  variant: o.variant || n,
4209
4221
  size: o.size || r
4210
4222
  }), e),
@@ -4214,7 +4226,7 @@ function Jo({ className: e, children: t, variant: n = "default", size: r = "defa
4214
4226
  }
4215
4227
  //#endregion
4216
4228
  //#region src/components/custom/permissions/permissionCard.tsx
4217
- var Yo = (e, t, n = ".") => {
4229
+ var Jo = (e, t, n = ".") => {
4218
4230
  let r = e.reduce((e, t) => {
4219
4231
  let [r, i] = t.split(n);
4220
4232
  return e[r] || (e[r] = {
@@ -4227,7 +4239,7 @@ var Yo = (e, t, n = ".") => {
4227
4239
  ...r[e]
4228
4240
  }));
4229
4241
  };
4230
- function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selectedPermissions: i, onToggle: s, isMasterRequired: c = !1 }) {
4242
+ function Yo({ resourceId: e, label: t, masterPermission: n, actions: r, selectedPermissions: i, onToggle: s, isMasterRequired: c = !1 }) {
4231
4243
  let l = c ? !0 : n ? i.includes(n) : !1, u = (e, t, n, r = ".") => e.includes(n) ? e.filter((e) => !e.startsWith(`${t}${r}`)) : [...e, n], d = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t];
4232
4244
  return /* @__PURE__ */ o(yn, {
4233
4245
  className: "shadow-none border-2",
@@ -4239,7 +4251,7 @@ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4239
4251
  className: "font-bold text-sm",
4240
4252
  children: t
4241
4253
  })]
4242
- }), n && !c && /* @__PURE__ */ a(Aa, {
4254
+ }), n && !c && /* @__PURE__ */ a(ka, {
4243
4255
  checked: l,
4244
4256
  onCheckedChange: () => s(u(i, e, n))
4245
4257
  })]
@@ -4253,7 +4265,7 @@ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4253
4265
  className: "text-xs cursor-pointer",
4254
4266
  children: e.label
4255
4267
  })]
4256
- }), /* @__PURE__ */ a(Aa, {
4268
+ }), /* @__PURE__ */ a(ka, {
4257
4269
  disabled: !l,
4258
4270
  checked: i.includes(e.id),
4259
4271
  onCheckedChange: () => s(d(i, e.id))
@@ -4264,7 +4276,7 @@ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4264
4276
  }
4265
4277
  //#endregion
4266
4278
  //#region src/components/custom/permissions/permissionSkeleton.tsx
4267
- var Zo = () => /* @__PURE__ */ a("div", {
4279
+ var Xo = () => /* @__PURE__ */ a("div", {
4268
4280
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
4269
4281
  children: [
4270
4282
  1,
@@ -4283,7 +4295,7 @@ var Zo = () => /* @__PURE__ */ a("div", {
4283
4295
  });
4284
4296
  //#endregion
4285
4297
  //#region src/components/custom/select/searchableSelect.tsx
4286
- function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
4298
+ function Zo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
4287
4299
  let [p, m] = y.useState(!1), g = e.find((e) => String(e[n]) === r), _ = g ? String(g[t]) : u;
4288
4300
  return /* @__PURE__ */ o(It, {
4289
4301
  open: p,
@@ -4309,16 +4321,16 @@ function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
4309
4321
  children: [/* @__PURE__ */ a(Vn, {
4310
4322
  columnsNames: d,
4311
4323
  onSearch: f
4312
- }), /* @__PURE__ */ a(no, {
4324
+ }), /* @__PURE__ */ a(to, {
4313
4325
  shouldFilter: !1,
4314
- children: /* @__PURE__ */ a(ao, {
4326
+ children: /* @__PURE__ */ a(io, {
4315
4327
  className: "max-h-50 overflow-y-auto overflow-x-hidden",
4316
- children: e.length === 0 ? /* @__PURE__ */ a(oo, {
4328
+ children: e.length === 0 ? /* @__PURE__ */ a(ao, {
4317
4329
  className: "py-6 text-center text-sm text-muted-foreground",
4318
4330
  children: "لا توجد بيانات"
4319
- }) : /* @__PURE__ */ a(so, { children: e.map((e) => {
4331
+ }) : /* @__PURE__ */ a(oo, { children: e.map((e) => {
4320
4332
  let c = String(e[n]), l = String(e[t]);
4321
- return /* @__PURE__ */ o(lo, {
4333
+ return /* @__PURE__ */ o(co, {
4322
4334
  value: c,
4323
4335
  onSelect: () => {
4324
4336
  i(c), m(!1);
@@ -4334,16 +4346,16 @@ function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
4334
4346
  }
4335
4347
  //#endregion
4336
4348
  //#region src/components/custom/sideBar/sideBarCompanyData.tsx
4337
- function $o({ company: e }) {
4338
- return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
4349
+ function Qo({ company: e }) {
4350
+ return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, { children: /* @__PURE__ */ o(G, {
4339
4351
  size: "lg",
4340
4352
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
4341
- children: [/* @__PURE__ */ o(aa, {
4353
+ children: [/* @__PURE__ */ o(ia, {
4342
4354
  className: "h-8 w-8 rounded-lg grayscale",
4343
- children: [/* @__PURE__ */ a(oa, {
4355
+ children: [/* @__PURE__ */ a(aa, {
4344
4356
  src: e.logo,
4345
4357
  alt: e.name
4346
- }), /* @__PURE__ */ a(sa, {
4358
+ }), /* @__PURE__ */ a(oa, {
4347
4359
  className: "rounded-lg",
4348
4360
  children: "YSR"
4349
4361
  })]
@@ -4358,8 +4370,8 @@ function $o({ company: e }) {
4358
4370
  }
4359
4371
  //#endregion
4360
4372
  //#region src/components/custom/sideBar/sidebarLogo.tsx
4361
- function es({ logos: e, alt: t = "Logo" }) {
4362
- let { state: n } = _i(), r = n === "collapsed";
4373
+ function $o({ logos: e, alt: t = "Logo" }) {
4374
+ let { state: n } = H(), r = n === "collapsed";
4363
4375
  return /* @__PURE__ */ o("div", {
4364
4376
  className: `
4365
4377
  animate-fadeSlide transition-all duration-300 pb-3
@@ -4378,19 +4390,19 @@ function es({ logos: e, alt: t = "Logo" }) {
4378
4390
  }
4379
4391
  //#endregion
4380
4392
  //#region src/components/pure/collapsible.tsx
4381
- function ts({ ...e }) {
4393
+ function es({ ...e }) {
4382
4394
  return /* @__PURE__ */ a(nt.Root, {
4383
4395
  "data-slot": "collapsible",
4384
4396
  ...e
4385
4397
  });
4386
4398
  }
4387
- function ns({ ...e }) {
4399
+ function ts({ ...e }) {
4388
4400
  return /* @__PURE__ */ a(nt.CollapsibleTrigger, {
4389
4401
  "data-slot": "collapsible-trigger",
4390
4402
  ...e
4391
4403
  });
4392
4404
  }
4393
- function rs({ ...e }) {
4405
+ function ns({ ...e }) {
4394
4406
  return /* @__PURE__ */ a(nt.CollapsibleContent, {
4395
4407
  "data-slot": "collapsible-content",
4396
4408
  ...e
@@ -4398,20 +4410,20 @@ function rs({ ...e }) {
4398
4410
  }
4399
4411
  //#endregion
4400
4412
  //#region src/components/custom/sideBar/sideBarMainMenu.tsx
4401
- function is({ items: t }) {
4402
- return /* @__PURE__ */ a(Oi, {
4413
+ function rs({ items: t }) {
4414
+ return /* @__PURE__ */ a(Di, {
4403
4415
  className: "mt-5",
4404
- children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(H, { children: t.map((t) => {
4416
+ children: /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ a(U, { children: t.map((t) => {
4405
4417
  if (!t.hasAuth) return null;
4406
4418
  if (t.subItems && t.subItems.length > 0) {
4407
4419
  let n = t.subItems.filter((e) => e.hasAuth);
4408
- return n.length === 0 ? null : /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(ts, {
4420
+ return n.length === 0 ? null : /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(es, {
4409
4421
  asChild: !0,
4410
4422
  defaultOpen: !1,
4411
4423
  className: "group/collapsible",
4412
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ns, {
4424
+ children: /* @__PURE__ */ o(W, { children: [/* @__PURE__ */ a(ts, {
4413
4425
  asChild: !0,
4414
- children: /* @__PURE__ */ o(W, {
4426
+ children: /* @__PURE__ */ o(G, {
4415
4427
  tooltip: t.title,
4416
4428
  className: "w-full justify-between",
4417
4429
  children: [/* @__PURE__ */ o("div", {
@@ -4425,7 +4437,7 @@ function is({ items: t }) {
4425
4437
  })]
4426
4438
  }), /* @__PURE__ */ a(u, { className: "mr-auto transition-transform duration-200 group-data-[state=open]/collapsible:-rotate-90" })]
4427
4439
  })
4428
- }), /* @__PURE__ */ a(rs, { children: /* @__PURE__ */ a(Ii, { children: n.map((t) => /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(Ri, {
4440
+ }), /* @__PURE__ */ a(ns, { children: /* @__PURE__ */ a(Fi, { children: n.map((t) => /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(Ii, { children: /* @__PURE__ */ a(Li, {
4429
4441
  asChild: !0,
4430
4442
  children: /* @__PURE__ */ a(e, {
4431
4443
  to: t.url,
@@ -4440,7 +4452,7 @@ function is({ items: t }) {
4440
4452
  "aria-hidden": "true"
4441
4453
  })] }, t.title);
4442
4454
  }
4443
- return /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4455
+ return /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4444
4456
  asChild: !0,
4445
4457
  tooltip: t.title,
4446
4458
  children: /* @__PURE__ */ o(e, {
@@ -4463,11 +4475,11 @@ function is({ items: t }) {
4463
4475
  }
4464
4476
  //#endregion
4465
4477
  //#region src/components/custom/theme/themeProvider.tsx
4466
- var as = ke({
4478
+ var is = ke({
4467
4479
  theme: "system",
4468
4480
  setTheme: () => null
4469
4481
  });
4470
- function os({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
4482
+ function as({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
4471
4483
  let [i, o] = x(t), [s, c] = x(!1);
4472
4484
  je(() => {
4473
4485
  c(!0);
@@ -4489,26 +4501,26 @@ function os({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-the
4489
4501
  localStorage.setItem(n, e), o(e);
4490
4502
  }
4491
4503
  };
4492
- return /* @__PURE__ */ a(as.Provider, {
4504
+ return /* @__PURE__ */ a(is.Provider, {
4493
4505
  ...r,
4494
4506
  value: l,
4495
4507
  children: e
4496
4508
  });
4497
4509
  }
4498
- var ss = () => {
4499
- let e = Ae(as);
4510
+ var os = () => {
4511
+ let e = Ae(is);
4500
4512
  if (e === void 0) throw Error("useTheme must be used within a ThemeProvider");
4501
4513
  return e;
4502
4514
  };
4503
4515
  //#endregion
4504
4516
  //#region src/components/custom/theme/themeToggle.tsx
4505
- function cs({ variant: e = "icon" }) {
4506
- let { setTheme: t } = ss();
4517
+ function ss({ variant: e = "icon" }) {
4518
+ let { setTheme: t } = os();
4507
4519
  return /* @__PURE__ */ o(Pr, {
4508
4520
  dir: "rtl",
4509
4521
  children: [/* @__PURE__ */ a(Ir, {
4510
4522
  asChild: !0,
4511
- children: e === "sidebar" ? /* @__PURE__ */ o(W, {
4523
+ children: e === "sidebar" ? /* @__PURE__ */ o(G, {
4512
4524
  className: "w-full justify-start gap-3 px-3",
4513
4525
  children: [/* @__PURE__ */ o("div", {
4514
4526
  className: "relative flex items-center justify-center shrink-0 size-4",
@@ -4551,11 +4563,11 @@ function cs({ variant: e = "icon" }) {
4551
4563
  }
4552
4564
  //#endregion
4553
4565
  //#region src/components/custom/sideBar/sideBarSecondaryMenu.tsx
4554
- function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4555
- return /* @__PURE__ */ a(Oi, {
4566
+ function cs({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4567
+ return /* @__PURE__ */ a(Di, {
4556
4568
  ...r,
4557
- children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ o(H, { children: [
4558
- e.map((e) => /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4569
+ children: /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ o(U, { children: [
4570
+ e.map((e) => /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4559
4571
  asChild: !0,
4560
4572
  children: /* @__PURE__ */ o(n, {
4561
4573
  href: e.url,
@@ -4569,8 +4581,8 @@ function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4569
4581
  })]
4570
4582
  })
4571
4583
  }) }, e.title)),
4572
- /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(cs, { variant: "sidebar" }) }),
4573
- /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4584
+ /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(ss, { variant: "sidebar" }) }),
4585
+ /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4574
4586
  asChild: !0,
4575
4587
  onClick: t,
4576
4588
  children: /* @__PURE__ */ o("div", {
@@ -4589,16 +4601,16 @@ function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4589
4601
  }
4590
4602
  //#endregion
4591
4603
  //#region src/components/custom/sideBar/sideBarUserData.tsx
4592
- function us({ user: e }) {
4593
- return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
4604
+ function ls({ user: e }) {
4605
+ return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, { children: /* @__PURE__ */ o(G, {
4594
4606
  size: "lg",
4595
4607
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
4596
- children: [/* @__PURE__ */ o(aa, {
4608
+ children: [/* @__PURE__ */ o(ia, {
4597
4609
  className: "h-8 w-8 rounded-lg grayscale",
4598
- children: [/* @__PURE__ */ a(oa, {
4610
+ children: [/* @__PURE__ */ a(aa, {
4599
4611
  src: "/avatars/shadcn.jpg",
4600
4612
  alt: e?.username
4601
- }), /* @__PURE__ */ a(sa, {
4613
+ }), /* @__PURE__ */ a(oa, {
4602
4614
  className: "rounded-lg",
4603
4615
  children: "YSR"
4604
4616
  })]
@@ -4613,27 +4625,27 @@ function us({ user: e }) {
4613
4625
  }
4614
4626
  //#endregion
4615
4627
  //#region src/hooks/useSidebarContext.tsx
4616
- var ds = ke(null), fs = () => {
4617
- let e = Ae(ds);
4628
+ var us = ke(null), ds = () => {
4629
+ let e = Ae(us);
4618
4630
  if (!e) throw Error("useSidebarContext must be used within a SidebarProvider");
4619
4631
  return e;
4620
4632
  };
4621
4633
  //#endregion
4622
4634
  //#region src/components/custom/sideBar/yusrSideBarMainMenu.tsx
4623
- function ps({ items: e, LinkComponent: t = "a" }) {
4624
- return /* @__PURE__ */ a(Oi, {
4635
+ function fs({ items: e, LinkComponent: t = "a" }) {
4636
+ return /* @__PURE__ */ a(Di, {
4625
4637
  className: "mt-5",
4626
- children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(H, { children: e.map((e) => {
4638
+ children: /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ a(U, { children: e.map((e) => {
4627
4639
  if (!e.hasAuth) return null;
4628
4640
  if (e.subItems && e.subItems.length > 0) {
4629
4641
  let n = e.subItems.filter((e) => e.hasAuth);
4630
- return n.length === 0 ? null : /* @__PURE__ */ a(ts, {
4642
+ return n.length === 0 ? null : /* @__PURE__ */ a(es, {
4631
4643
  asChild: !0,
4632
4644
  defaultOpen: !1,
4633
4645
  className: "group/collapsible",
4634
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ns, {
4646
+ children: /* @__PURE__ */ o(W, { children: [/* @__PURE__ */ a(ts, {
4635
4647
  asChild: !0,
4636
- children: /* @__PURE__ */ o(W, {
4648
+ children: /* @__PURE__ */ o(G, {
4637
4649
  tooltip: e.title,
4638
4650
  className: "w-full justify-between",
4639
4651
  children: [/* @__PURE__ */ o("div", {
@@ -4647,7 +4659,7 @@ function ps({ items: e, LinkComponent: t = "a" }) {
4647
4659
  })]
4648
4660
  }), /* @__PURE__ */ a(f, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })]
4649
4661
  })
4650
- }), /* @__PURE__ */ a(rs, { children: /* @__PURE__ */ a(Ii, { children: n.map((e) => /* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(Ri, {
4662
+ }), /* @__PURE__ */ a(ns, { children: /* @__PURE__ */ a(Fi, { children: n.map((e) => /* @__PURE__ */ a(Ii, { children: /* @__PURE__ */ a(Li, {
4651
4663
  asChild: !0,
4652
4664
  children: /* @__PURE__ */ a(t, {
4653
4665
  href: e.url,
@@ -4656,7 +4668,7 @@ function ps({ items: e, LinkComponent: t = "a" }) {
4656
4668
  }) }, e.title)) }) })] })
4657
4669
  }, e.title);
4658
4670
  }
4659
- return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4671
+ return /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4660
4672
  asChild: !0,
4661
4673
  tooltip: e.title,
4662
4674
  children: /* @__PURE__ */ o(t, {
@@ -4676,11 +4688,11 @@ function ps({ items: e, LinkComponent: t = "a" }) {
4676
4688
  }
4677
4689
  //#endregion
4678
4690
  //#region src/components/custom/sideBar/yusrSideBar.tsx
4679
- function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4691
+ function ps({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4680
4692
  name: "Yusr UI",
4681
4693
  logo: "/yusr-logo.png"
4682
4694
  }, navMain: r, navSecondary: i, children: o, ...s }) {
4683
- return /* @__PURE__ */ a(ds.Provider, {
4695
+ return /* @__PURE__ */ a(us.Provider, {
4684
4696
  value: {
4685
4697
  LinkComponent: e,
4686
4698
  logos: t,
@@ -4688,7 +4700,7 @@ function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4688
4700
  navMain: r,
4689
4701
  navSecondary: i
4690
4702
  },
4691
- children: /* @__PURE__ */ a(vi, { children: /* @__PURE__ */ a(yi, {
4703
+ children: /* @__PURE__ */ a(_i, { children: /* @__PURE__ */ a(vi, {
4692
4704
  collapsible: "icon",
4693
4705
  side: "right",
4694
4706
  ...s,
@@ -4696,9 +4708,9 @@ function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4696
4708
  }) })
4697
4709
  });
4698
4710
  }
4699
- ms.Header = function() {
4700
- let { displayCompany: e, logos: t } = fs();
4701
- return /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(H, { children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(es, { logos: {
4711
+ ps.Header = function() {
4712
+ let { displayCompany: e, logos: t } = ds();
4713
+ return /* @__PURE__ */ a(Ci, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, { children: [/* @__PURE__ */ a($o, { logos: {
4702
4714
  full: {
4703
4715
  light: t.logoFullLight,
4704
4716
  dark: t.logoFullDark
@@ -4707,24 +4719,24 @@ ms.Header = function() {
4707
4719
  light: t.logoOnlyLight,
4708
4720
  dark: t.logoOnlyDark
4709
4721
  }
4710
- } }), e && /* @__PURE__ */ a($o, { company: e })] }) }) });
4711
- }, ms.Content = function({ LogoutHandler: e }) {
4712
- let { navMain: t, navSecondary: n, LinkComponent: r } = fs();
4713
- return !t || !n ? /* @__PURE__ */ a(Di, {}) : /* @__PURE__ */ o(Di, { children: [/* @__PURE__ */ a(ps, {
4722
+ } }), e && /* @__PURE__ */ a(Qo, { company: e })] }) }) });
4723
+ }, ps.Content = function({ LogoutHandler: e }) {
4724
+ let { navMain: t, navSecondary: n, LinkComponent: r } = ds();
4725
+ return !t || !n ? /* @__PURE__ */ a(Ei, {}) : /* @__PURE__ */ o(Ei, { children: [/* @__PURE__ */ a(fs, {
4714
4726
  items: t,
4715
4727
  LinkComponent: r
4716
- }), e !== void 0 && /* @__PURE__ */ a(ls, {
4728
+ }), e !== void 0 && /* @__PURE__ */ a(cs, {
4717
4729
  items: n,
4718
4730
  className: "pt-10 mt-auto text-center",
4719
4731
  onLogout: e,
4720
4732
  LinkComponent: r
4721
4733
  })] });
4722
- }, ms.Footer = function({ loggedInUser: e = void 0 }) {
4723
- return /* @__PURE__ */ a(Ti, { children: /* @__PURE__ */ a(us, { user: e }) });
4734
+ }, ps.Footer = function({ loggedInUser: e = void 0 }) {
4735
+ return /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(ls, { user: e }) });
4724
4736
  };
4725
4737
  //#endregion
4726
4738
  //#region src/components/custom/status/loading.tsx
4727
- function hs({ entityName: e }) {
4739
+ function ms({ entityName: e }) {
4728
4740
  return /* @__PURE__ */ o("div", {
4729
4741
  className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
4730
4742
  children: [/* @__PURE__ */ a(re, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ o("p", {
@@ -4739,7 +4751,7 @@ function hs({ entityName: e }) {
4739
4751
  }
4740
4752
  //#endregion
4741
4753
  //#region src/hooks/useDialog.ts
4742
- function gs() {
4754
+ function hs() {
4743
4755
  let [e, t] = x(null), [n, r] = x(!1), [i, a] = x(!1);
4744
4756
  return {
4745
4757
  selectedRow: e,
@@ -4757,7 +4769,7 @@ function gs() {
4757
4769
  }
4758
4770
  //#endregion
4759
4771
  //#region src/hooks/useDynamicList.ts
4760
- function _s(e, t, n) {
4772
+ function gs(e, t, n) {
4761
4773
  return {
4762
4774
  addRow: b((r) => {
4763
4775
  t((t) => ({
@@ -4805,7 +4817,7 @@ function _s(e, t, n) {
4805
4817
  }
4806
4818
  //#endregion
4807
4819
  //#region src/hooks/useFormValidation.ts
4808
- function vs(e, t) {
4820
+ function _s(e, t) {
4809
4821
  let [n, r] = x({}), i = (e) => n[e], a = (e) => !!n[e];
4810
4822
  return {
4811
4823
  errors: n,
@@ -4835,10 +4847,10 @@ function vs(e, t) {
4835
4847
  }
4836
4848
  //#endregion
4837
4849
  //#region src/hooks/useEntityForm.ts
4838
- function ys(e, t) {
4850
+ function vs(e, t) {
4839
4851
  let [n, r] = x({ ...e }), [i, a] = x(e);
4840
4852
  e !== i && (r({ ...e }), a(e));
4841
- let o = vs(n, t);
4853
+ let o = _s(n, t);
4842
4854
  return {
4843
4855
  formData: n,
4844
4856
  handleChange: b((e) => {
@@ -4857,7 +4869,7 @@ function ys(e, t) {
4857
4869
  }
4858
4870
  //#endregion
4859
4871
  //#region src/hooks/useLightBox.ts
4860
- function bs() {
4872
+ function ys() {
4861
4873
  let [e, t] = x(null);
4862
4874
  return {
4863
4875
  lightbox: e,
@@ -4873,7 +4885,7 @@ function bs() {
4873
4885
  }
4874
4886
  //#endregion
4875
4887
  //#region src/hooks/useStorageFile.ts
4876
- function xs(e, t) {
4888
+ function bs(e, t) {
4877
4889
  let n = Ne(null), r = async (r) => {
4878
4890
  let i = Array.from(r.target.files || []);
4879
4891
  if (i.length === 0) return;
@@ -4959,7 +4971,7 @@ function xs(e, t) {
4959
4971
  }
4960
4972
  //#endregion
4961
4973
  //#region src/state/authListener.ts
4962
- var Ss = (e, t) => {
4974
+ var xs = (e, t) => {
4963
4975
  window.addEventListener("storage", (n) => {
4964
4976
  n.key === rt.AuthCheckStorageItemName && e(t.syncFromStorage());
4965
4977
  }), window.addEventListener(rt.UnauthorizedEventName, () => {
@@ -4968,7 +4980,7 @@ var Ss = (e, t) => {
4968
4980
  };
4969
4981
  //#endregion
4970
4982
  //#region src/state/generics/genericDialogSlice.ts
4971
- function Cs(e) {
4983
+ function Ss(e) {
4972
4984
  return ot({
4973
4985
  name: e,
4974
4986
  initialState: {
@@ -4994,7 +5006,7 @@ function Cs(e) {
4994
5006
  }
4995
5007
  //#endregion
4996
5008
  //#region ../../node_modules/immer/dist/immer.mjs
4997
- var ws = Symbol.for("immer-nothing"), Ts = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), Es = process.env.NODE_ENV === "production" ? [] : [
5009
+ var Cs = Symbol.for("immer-nothing"), ws = Symbol.for("immer-draftable"), K = Symbol.for("immer-state"), Ts = process.env.NODE_ENV === "production" ? [] : [
4998
5010
  function(e) {
4999
5011
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
5000
5012
  },
@@ -5022,38 +5034,38 @@ var ws = Symbol.for("immer-nothing"), Ts = Symbol.for("immer-draftable"), G = Sy
5022
5034
  return `'original' expects a draft, got: ${e}`;
5023
5035
  }
5024
5036
  ];
5025
- function K(e, ...t) {
5037
+ function q(e, ...t) {
5026
5038
  if (process.env.NODE_ENV !== "production") {
5027
- let n = Es[e], r = Z(n) ? n.apply(null, t) : n;
5039
+ let n = Ts[e], r = Z(n) ? n.apply(null, t) : n;
5028
5040
  throw Error(`[Immer] ${r}`);
5029
5041
  }
5030
5042
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
5031
5043
  }
5032
- var q = Object, J = q.getPrototypeOf, Ds = "constructor", Os = "prototype", ks = "configurable", As = "enumerable", js = "writable", Ms = "value", Y = (e) => !!e && !!e[G];
5044
+ var J = Object, Es = J.getPrototypeOf, Ds = "constructor", Os = "prototype", ks = "configurable", As = "enumerable", js = "writable", Ms = "value", Y = (e) => !!e && !!e[K];
5033
5045
  function X(e) {
5034
- return e ? Fs(e) || Hs(e) || !!e[Ts] || !!e[Ds]?.[Ts] || Us(e) || Ws(e) : !1;
5046
+ return e ? Fs(e) || Hs(e) || !!e[ws] || !!e[Ds]?.[ws] || Us(e) || Ws(e) : !1;
5035
5047
  }
5036
- var Ns = q[Os][Ds].toString(), Ps = /* @__PURE__ */ new WeakMap();
5048
+ var Ns = J[Os][Ds].toString(), Ps = /* @__PURE__ */ new WeakMap();
5037
5049
  function Fs(e) {
5038
5050
  if (!e || !Gs(e)) return !1;
5039
- let t = J(e);
5040
- if (t === null || t === q[Os]) return !0;
5041
- let n = q.hasOwnProperty.call(t, Ds) && t[Ds];
5051
+ let t = Es(e);
5052
+ if (t === null || t === J[Os]) return !0;
5053
+ let n = J.hasOwnProperty.call(t, Ds) && t[Ds];
5042
5054
  if (n === Object) return !0;
5043
5055
  if (!Z(n)) return !1;
5044
5056
  let r = Ps.get(n);
5045
5057
  return r === void 0 && (r = Function.toString.call(n), Ps.set(n, r)), r === Ns;
5046
5058
  }
5047
5059
  function Is(e, t, n = !0) {
5048
- Ls(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
5060
+ Ls(e) === 0 ? (n ? Reflect.ownKeys(e) : J.keys(e)).forEach((n) => {
5049
5061
  t(n, e[n], e);
5050
5062
  }) : e.forEach((n, r) => t(r, n, e));
5051
5063
  }
5052
5064
  function Ls(e) {
5053
- let t = e[G];
5065
+ let t = e[K];
5054
5066
  return t ? t.type_ : Hs(e) ? 1 : Us(e) ? 2 : Ws(e) ? 3 : 0;
5055
5067
  }
5056
- var Rs = (e, t, n = Ls(e)) => n === 2 ? e.has(t) : q[Os].hasOwnProperty.call(e, t), zs = (e, t, n = Ls(e)) => n === 2 ? e.get(t) : e[t], Bs = (e, t, n, r = Ls(e)) => {
5068
+ var Rs = (e, t, n = Ls(e)) => n === 2 ? e.has(t) : J[Os].hasOwnProperty.call(e, t), zs = (e, t, n = Ls(e)) => n === 2 ? e.get(t) : e[t], Bs = (e, t, n, r = Ls(e)) => {
5057
5069
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
5058
5070
  };
5059
5071
  function Vs(e, t) {
@@ -5071,8 +5083,8 @@ function Ys(e, t) {
5071
5083
  if (Hs(e)) return Array[Os].slice.call(e);
5072
5084
  let n = Fs(e);
5073
5085
  if (t === !0 || t === "class_only" && !n) {
5074
- let t = q.getOwnPropertyDescriptors(e);
5075
- delete t[G];
5086
+ let t = J.getOwnPropertyDescriptors(e);
5087
+ delete t[K];
5076
5088
  let n = Reflect.ownKeys(t);
5077
5089
  for (let r = 0; r < n.length; r++) {
5078
5090
  let i = n[r], a = t[i];
@@ -5083,35 +5095,35 @@ function Ys(e, t) {
5083
5095
  [Ms]: e[i]
5084
5096
  });
5085
5097
  }
5086
- return q.create(J(e), t);
5098
+ return J.create(Es(e), t);
5087
5099
  } else {
5088
- let t = J(e);
5100
+ let t = Es(e);
5089
5101
  if (t !== null && n) return { ...e };
5090
- let r = q.create(t);
5091
- return q.assign(r, e);
5102
+ let r = J.create(t);
5103
+ return J.assign(r, e);
5092
5104
  }
5093
5105
  }
5094
5106
  function Xs(e, t = !1) {
5095
- return $s(e) || Y(e) || !X(e) ? e : (Ls(e) > 1 && q.defineProperties(e, {
5107
+ return $s(e) || Y(e) || !X(e) ? e : (Ls(e) > 1 && J.defineProperties(e, {
5096
5108
  set: Qs,
5097
5109
  add: Qs,
5098
5110
  clear: Qs,
5099
5111
  delete: Qs
5100
- }), q.freeze(e), t && Is(e, (e, t) => {
5112
+ }), J.freeze(e), t && Is(e, (e, t) => {
5101
5113
  Xs(t, !0);
5102
5114
  }, !1), e);
5103
5115
  }
5104
5116
  function Zs() {
5105
- K(2);
5117
+ q(2);
5106
5118
  }
5107
5119
  var Qs = { [Ms]: Zs };
5108
5120
  function $s(e) {
5109
- return e === null || !Gs(e) ? !0 : q.isFrozen(e);
5121
+ return e === null || !Gs(e) ? !0 : J.isFrozen(e);
5110
5122
  }
5111
5123
  var ec = "MapSet", tc = "Patches", nc = "ArrayMethods", rc = {};
5112
5124
  function $(e) {
5113
5125
  let t = rc[e];
5114
- return t || K(0, e), t;
5126
+ return t || q(0, e), t;
5115
5127
  }
5116
5128
  var ic = (e) => !!rc[e], ac, oc = () => ac, sc = (e, t) => ({
5117
5129
  drafts_: [],
@@ -5135,22 +5147,22 @@ function uc(e) {
5135
5147
  }
5136
5148
  var dc = (e) => ac = sc(ac, e);
5137
5149
  function fc(e) {
5138
- let t = e[G];
5150
+ let t = e[K];
5139
5151
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
5140
5152
  }
5141
5153
  function pc(e, t) {
5142
5154
  t.unfinalizedDrafts_ = t.drafts_.length;
5143
5155
  let n = t.drafts_[0];
5144
5156
  if (e !== void 0 && e !== n) {
5145
- n[G].modified_ && (lc(t), K(4)), X(e) && (e = mc(t, e));
5157
+ n[K].modified_ && (lc(t), q(4)), X(e) && (e = mc(t, e));
5146
5158
  let { patchPlugin_: r } = t;
5147
- r && r.generateReplacementPatches_(n[G].base_, e, t);
5159
+ r && r.generateReplacementPatches_(n[K].base_, e, t);
5148
5160
  } else e = mc(t, n);
5149
- return hc(t, e, !0), lc(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === ws ? void 0 : e;
5161
+ return hc(t, e, !0), lc(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Cs ? void 0 : e;
5150
5162
  }
5151
5163
  function mc(e, t) {
5152
5164
  if ($s(t)) return t;
5153
- let n = t[G];
5165
+ let n = t[K];
5154
5166
  if (!n) return Cc(t, e.handledSet_, e);
5155
5167
  if (!_c(n, e)) return t;
5156
5168
  if (!n.modified_) return n.base_;
@@ -5208,7 +5220,7 @@ function xc(e, t) {
5208
5220
  function Sc(e, t, n) {
5209
5221
  let { scope_: r } = e;
5210
5222
  if (Y(n)) {
5211
- let i = n[G];
5223
+ let i = n[K];
5212
5224
  _c(i, r) && i.callbacks_.push(function() {
5213
5225
  jc(e), yc(e, n, Js(i), t);
5214
5226
  });
@@ -5220,7 +5232,7 @@ function Sc(e, t, n) {
5220
5232
  function Cc(e, t, n) {
5221
5233
  return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || $s(e) ? e : (t.add(e), Is(e, (r, i) => {
5222
5234
  if (Y(i)) {
5223
- let t = i[G];
5235
+ let t = i[K];
5224
5236
  _c(t, n) && (Bs(e, r, Js(t), e.type_), gc(t));
5225
5237
  } else X(i) && Cc(i, t, n);
5226
5238
  }), e);
@@ -5246,7 +5258,7 @@ function wc(e, t) {
5246
5258
  }
5247
5259
  var Tc = {
5248
5260
  get(e, t) {
5249
- if (t === G) return e;
5261
+ if (t === K) return e;
5250
5262
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
5251
5263
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
5252
5264
  let i = Q(e);
@@ -5270,7 +5282,7 @@ var Tc = {
5270
5282
  let r = kc(Q(e), t);
5271
5283
  if (r?.set) return r.set.call(e.draft_, n), !0;
5272
5284
  if (!e.modified_) {
5273
- let r = Dc(Q(e), t), i = r?.[G];
5285
+ let r = Dc(Q(e), t), i = r?.[K];
5274
5286
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
5275
5287
  if (Vs(n, r) && (n !== void 0 || Rs(e.base_, t, e.type_))) return !0;
5276
5288
  jc(e), Ac(e);
@@ -5290,13 +5302,13 @@ var Tc = {
5290
5302
  };
5291
5303
  },
5292
5304
  defineProperty() {
5293
- K(11);
5305
+ q(11);
5294
5306
  },
5295
5307
  getPrototypeOf(e) {
5296
- return J(e.base_);
5308
+ return Es(e.base_);
5297
5309
  },
5298
5310
  setPrototypeOf() {
5299
- K(12);
5311
+ q(12);
5300
5312
  }
5301
5313
  }, Ec = {};
5302
5314
  for (let e in Tc) {
@@ -5307,12 +5319,12 @@ for (let e in Tc) {
5307
5319
  };
5308
5320
  }
5309
5321
  Ec.deleteProperty = function(e, t) {
5310
- return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), Ec.set.call(this, e, t, void 0);
5322
+ return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && q(13), Ec.set.call(this, e, t, void 0);
5311
5323
  }, Ec.set = function(e, t, n) {
5312
- return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), Tc.set.call(this, e[0], t, n, e[0]);
5324
+ return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && q(14), Tc.set.call(this, e[0], t, n, e[0]);
5313
5325
  };
5314
5326
  function Dc(e, t) {
5315
- let n = e[G];
5327
+ let n = e[K];
5316
5328
  return (n ? Q(n) : e)[t];
5317
5329
  }
5318
5330
  function Oc(e, t, n) {
@@ -5321,11 +5333,11 @@ function Oc(e, t, n) {
5321
5333
  }
5322
5334
  function kc(e, t) {
5323
5335
  if (!(t in e)) return;
5324
- let n = J(e);
5336
+ let n = Es(e);
5325
5337
  for (; n;) {
5326
5338
  let e = Object.getOwnPropertyDescriptor(n, t);
5327
5339
  if (e) return e;
5328
- n = J(n);
5340
+ n = Es(n);
5329
5341
  }
5330
5342
  }
5331
5343
  function Ac(e) {
@@ -5345,7 +5357,7 @@ var Mc = class {
5345
5357
  return r.produce(e, (e) => t.call(this, e, ...i));
5346
5358
  };
5347
5359
  }
5348
- Z(t) || K(6), n !== void 0 && !Z(n) && K(7);
5360
+ Z(t) || q(6), n !== void 0 && !Z(n) && q(7);
5349
5361
  let r;
5350
5362
  if (X(e)) {
5351
5363
  let i = dc(this), a = Nc(i, e, void 0), o = !0;
@@ -5356,7 +5368,7 @@ var Mc = class {
5356
5368
  }
5357
5369
  return cc(i, n), pc(r, i);
5358
5370
  } else if (!e || !Gs(e)) {
5359
- if (r = t(e), r === void 0 && (r = e), r === ws && (r = void 0), this.autoFreeze_ && Xs(r, !0), n) {
5371
+ if (r = t(e), r === void 0 && (r = e), r === Cs && (r = void 0), this.autoFreeze_ && Xs(r, !0), n) {
5360
5372
  let t = [], i = [];
5361
5373
  $(tc).generateReplacementPatches_(e, r, {
5362
5374
  patches_: t,
@@ -5364,7 +5376,7 @@ var Mc = class {
5364
5376
  }), n(t, i);
5365
5377
  }
5366
5378
  return r;
5367
- } else K(1, e);
5379
+ } else q(1, e);
5368
5380
  }, this.produceWithPatches = (e, t) => {
5369
5381
  if (Z(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
5370
5382
  let n, r;
@@ -5378,13 +5390,13 @@ var Mc = class {
5378
5390
  }, Ks(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Ks(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Ks(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5379
5391
  }
5380
5392
  createDraft(e) {
5381
- X(e) || K(8), Y(e) && (e = Pc(e));
5393
+ X(e) || q(8), Y(e) && (e = Pc(e));
5382
5394
  let t = dc(this), n = Nc(t, e, void 0);
5383
- return n[G].isManual_ = !0, uc(t), n;
5395
+ return n[K].isManual_ = !0, uc(t), n;
5384
5396
  }
5385
5397
  finishDraft(e, t) {
5386
- let n = e && e[G];
5387
- (!n || !n.isManual_) && K(9);
5398
+ let n = e && e[K];
5399
+ (!n || !n.isManual_) && q(9);
5388
5400
  let { scope_: r } = n;
5389
5401
  return cc(r, t), pc(void 0, r);
5390
5402
  }
@@ -5423,11 +5435,11 @@ function Nc(e, t, n, r) {
5423
5435
  }), i;
5424
5436
  }
5425
5437
  function Pc(e) {
5426
- return Y(e) || K(10, e), Fc(e);
5438
+ return Y(e) || q(10, e), Fc(e);
5427
5439
  }
5428
5440
  function Fc(e) {
5429
5441
  if (!X(e) || $s(e)) return e;
5430
- let t = e[G], n, r = !0;
5442
+ let t = e[K], n, r = !0;
5431
5443
  if (t) {
5432
5444
  if (!t.modified_) return t.base_;
5433
5445
  t.finalized_ = !0, n = Ys(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
@@ -5492,4 +5504,4 @@ function Lc(e, t, n, r) {
5492
5504
  };
5493
5505
  }
5494
5506
  //#endregion
5495
- export { ta as Alert, ia as AlertAction, ra as AlertDescription, Hi as AlertDialog, Qi as AlertDialogAction, $i as AlertDialogCancel, Ki as AlertDialogContent, Zi as AlertDialogDescription, Ji as AlertDialogFooter, qi as AlertDialogHeader, Yi as AlertDialogMedia, Gi as AlertDialogOverlay, Wi as AlertDialogPortal, Xi as AlertDialogTitle, Ui as AlertDialogTrigger, na as AlertTitle, aa as Avatar, ca as AvatarBadge, sa as AvatarFallback, la as AvatarGroup, ua as AvatarGroupCount, oa as AvatarImage, fa as Badge, Kt as BaseInput, pa as Breadcrumb, ya as BreadcrumbEllipsis, ha as BreadcrumbItem, ga as BreadcrumbLink, ma as BreadcrumbList, _a as BreadcrumbPage, va as BreadcrumbSeparator, F as Button, Pt as Calendar, Ft as CalendarDayButton, yn as Card, Cn as CardAction, wn as CardContent, Sn as CardDescription, Tn as CardFooter, bn as CardHeader, xn as CardTitle, On as Carousel, kn as CarouselContent, An as CarouselItem, Mn as CarouselNext, jn as CarouselPrevious, xt as ChangeDialog, Ca as ChartContainer, Da as ChartLegend, Oa as ChartLegendContent, wa as ChartStyle, Ta as ChartTooltip, Ea as ChartTooltipContent, Aa as Checkbox, za as Combobox, $a as ComboboxChip, Qa as ComboboxChips, eo as ComboboxChipsInput, Ya as ComboboxCollection, Wa as ComboboxContent, Xa as ComboboxEmpty, qa as ComboboxGroup, Ua as ComboboxInput, Ka as ComboboxItem, Ja as ComboboxLabel, Ga as ComboboxList, Za as ComboboxSeparator, Va as ComboboxTrigger, Ba as ComboboxValue, no as Command, ro as CommandDialog, oo as CommandEmpty, so as CommandGroup, io as CommandInput, lo as CommandItem, ao as CommandList, co as CommandSeparator, uo as CommandShortcut, cr as ContextMenu, vr as ContextMenuCheckboxItem, mr as ContextMenuContent, ur as ContextMenuGroup, hr as ContextMenuItem, br as ContextMenuLabel, dr as ContextMenuPortal, pr as ContextMenuRadioGroup, yr as ContextMenuRadioItem, xr as ContextMenuSeparator, Sr as ContextMenuShortcut, fr as ContextMenuSub, _r as ContextMenuSubContent, gr as ContextMenuSubTrigger, lr as ContextMenuTrigger, rr as CrudEmptyTablePreview, Vi as CrudPage, sr as CrudTable, Cr as CrudTableBodyRow, wr as CrudTableCard, Tr as CrudTableHeader, Er as CrudTableHeaderRows, zi as CrudTablePagination, Bi as CrudTableRowActionsMenu, Gt as DateField, Ut as DateInput, Jt as DateTimeField, qt as DateTimeInput, St as DeleteDialog, I as Dialog, mt as DialogClose, gt as DialogContent, bt as DialogDescription, vt as DialogFooter, _t as DialogHeader, ht as DialogOverlay, pt as DialogPortal, yt as DialogTitle, ft as DialogTrigger, fo as DirectionProvider, mo as Drawer, _o as DrawerClose, yo as DrawerContent, Co as DrawerDescription, xo as DrawerFooter, bo as DrawerHeader, vo as DrawerOverlay, go as DrawerPortal, So as DrawerTitle, ho as DrawerTrigger, Pr as DropdownMenu, zr as DropdownMenuCheckboxItem, Lr as DropdownMenuContent, Rr as DropdownMenuGroup, B as DropdownMenuItem, Hr as DropdownMenuLabel, Fr as DropdownMenuPortal, Br as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Gr as DropdownMenuSub, qr as DropdownMenuSubContent, Kr as DropdownMenuSubTrigger, Ir as DropdownMenuTrigger, dt as DynamicListContainer, Xn as Empty, nr as EmptyContent, tr as EmptyDescription, Zn as EmptyHeader, $n as EmptyMedia, er as EmptyTitle, Oo as Field, ko as FieldContent, Mo as FieldDescription, Po as FieldError, Eo as FieldGroup, Ao as FieldLabel, To as FieldLegend, No as FieldSeparator, wo as FieldSet, jo as FieldTitle, en as FieldsSection, R as FormField, z as Input, tn as InputField, ja as InputGroup, Na as InputGroupAddon, Fa as InputGroupButton, La as InputGroupInput, Ia as InputGroupText, Ra as InputGroupTextarea, Wt as Label, zn as Lightbox, hs as Loading, rn as NumberField, nn as NumberInput, Dr as Pagination, Or as PaginationContent, Nr as PaginationEllipsis, kr as PaginationItem, Ar as PaginationLink, Mr as PaginationNext, jr as PaginationPrevious, an as PasswordField, Xo as PermissionCard, Zo as PermissionSkeleton, on as PhoneField, It as Popover, zt as PopoverAnchor, Rt as PopoverContent, Ht as PopoverDescription, Bt as PopoverHeader, Vt as PopoverTitle, Lt as PopoverTrigger, st as ProtectedRoute, ut as SaveButton, Fo as ScrollArea, Io as ScrollBar, Vn as SearchInput, Qo as SearchableSelect, sn as Select, dn as SelectContent, vn as SelectField, cn as SelectGroup, _n as SelectInput, pn as SelectItem, fn as SelectLabel, gn as SelectScrollDownButton, hn as SelectScrollUpButton, mn as SelectSeparator, un as SelectTrigger, ln as SelectValue, L as Separator, Xr as Sheet, Qr as SheetClose, ti as SheetContent, ai as SheetDescription, ri as SheetFooter, ni as SheetHeader, ii as SheetTitle, Zr as SheetTrigger, $o as SideBarCompanyData, is as SideBarMainMenu, ls as SideBarSecondaryMenu, us as SideBarUserData, yi as Sidebar, Di as SidebarContent, ds as SidebarContext, Ti as SidebarFooter, Oi as SidebarGroup, Ai as SidebarGroupAction, ji as SidebarGroupContent, ki as SidebarGroupLabel, wi as SidebarHeader, Ci as SidebarInput, Si as SidebarInset, es as SidebarLogo, H as SidebarMenu, Ni as SidebarMenuAction, Pi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Fi as SidebarMenuSkeleton, Ii as SidebarMenuSub, Ri as SidebarMenuSubButton, Li as SidebarMenuSubItem, vi as SidebarProvider, xi as SidebarRail, Ei as SidebarSeparator, bi as SidebarTrigger, V as Skeleton, Pn as StorageFileField, Ro as Switch, Hn as Table, Wn as TableBody, Yn as TableCaption, Jn as TableCell, Gn as TableFooter, qn as TableHead, Un as TableHeader, Kn as TableRow, zo as Tabs, Uo as TabsContent, Vo as TabsList, Ho as TabsTrigger, Ln as TextAreaField, In as TextAreaInput, Rn as TextField, Fn as Textarea, os as ThemeProvider, cs as ThemeToggle, Yt as TitleSeparator, Lo as Toaster, Go as Toggle, qo as ToggleGroup, Jo as ToggleGroupItem, si as Tooltip, li as TooltipContent, oi as TooltipProvider, ci as TooltipTrigger, ct as YusrBusBackground, ms as YusrSideBar, ps as YusrSideBarMainMenu, Bn as ZoomableImage, da as badgeVariants, lt as buttonVariants, Yo as categorizePermissions, P as cn, Cs as createGenericDialogSlice, Lc as createGenericEntitySlice, Nn as isPDF, Ss as setupAuthListeners, Bo as tabsListVariants, Wo as toggleVariants, Dn as useCarousel, to as useComboboxAnchor, gs as useDialog, po as useDirection, _s as useDynamicList, ys as useEntityForm, vs as useFormValidation, Yr as useIsMobile, bs as useLightBox, _i as useSidebar, fs as useSidebarContext, xs as useStorageFile, ss as useTheme };
5507
+ export { ea as Alert, ra as AlertAction, na as AlertDescription, Vi as AlertDialog, Zi as AlertDialogAction, Qi as AlertDialogCancel, Gi as AlertDialogContent, Xi as AlertDialogDescription, qi as AlertDialogFooter, Ki as AlertDialogHeader, Ji as AlertDialogMedia, Wi as AlertDialogOverlay, Ui as AlertDialogPortal, Yi as AlertDialogTitle, Hi as AlertDialogTrigger, ta as AlertTitle, ia as Avatar, sa as AvatarBadge, oa as AvatarFallback, ca as AvatarGroup, la as AvatarGroupCount, aa as AvatarImage, da as Badge, Kt as BaseInput, fa as Breadcrumb, va as BreadcrumbEllipsis, ma as BreadcrumbItem, ha as BreadcrumbLink, pa as BreadcrumbList, ga as BreadcrumbPage, _a as BreadcrumbSeparator, F as Button, Pt as Calendar, Ft as CalendarDayButton, yn as Card, Cn as CardAction, wn as CardContent, Sn as CardDescription, Tn as CardFooter, bn as CardHeader, xn as CardTitle, On as Carousel, kn as CarouselContent, An as CarouselItem, Mn as CarouselNext, jn as CarouselPrevious, xt as ChangeDialog, Sa as ChartContainer, Ea as ChartLegend, Da as ChartLegendContent, Ca as ChartStyle, wa as ChartTooltip, Ta as ChartTooltipContent, ka as Checkbox, Ra as Combobox, Qa as ComboboxChip, Za as ComboboxChips, $a as ComboboxChipsInput, Ja as ComboboxCollection, Ua as ComboboxContent, Ya as ComboboxEmpty, Ka as ComboboxGroup, Ha as ComboboxInput, Ga as ComboboxItem, qa as ComboboxLabel, Wa as ComboboxList, Xa as ComboboxSeparator, Ba as ComboboxTrigger, za as ComboboxValue, to as Command, no as CommandDialog, ao as CommandEmpty, oo as CommandGroup, ro as CommandInput, co as CommandItem, io as CommandList, so as CommandSeparator, lo as CommandShortcut, cr as ContextMenu, vr as ContextMenuCheckboxItem, mr as ContextMenuContent, ur as ContextMenuGroup, hr as ContextMenuItem, br as ContextMenuLabel, dr as ContextMenuPortal, pr as ContextMenuRadioGroup, yr as ContextMenuRadioItem, xr as ContextMenuSeparator, Sr as ContextMenuShortcut, fr as ContextMenuSub, _r as ContextMenuSubContent, gr as ContextMenuSubTrigger, lr as ContextMenuTrigger, rr as CrudEmptyTablePreview, Bi as CrudPage, sr as CrudTable, Cr as CrudTableBodyRow, wr as CrudTableCard, Tr as CrudTableHeader, Er as CrudTableHeaderRows, Ri as CrudTablePagination, zi as CrudTableRowActionsMenu, Gt as DateField, Ut as DateInput, Jt as DateTimeField, qt as DateTimeInput, St as DeleteDialog, I as Dialog, mt as DialogClose, gt as DialogContent, bt as DialogDescription, vt as DialogFooter, _t as DialogHeader, ht as DialogOverlay, pt as DialogPortal, yt as DialogTitle, ft as DialogTrigger, uo as DirectionProvider, po as Drawer, go as DrawerClose, vo as DrawerContent, So as DrawerDescription, bo as DrawerFooter, yo as DrawerHeader, _o as DrawerOverlay, ho as DrawerPortal, xo as DrawerTitle, mo as DrawerTrigger, Pr as DropdownMenu, zr as DropdownMenuCheckboxItem, Lr as DropdownMenuContent, Rr as DropdownMenuGroup, B as DropdownMenuItem, Hr as DropdownMenuLabel, Fr as DropdownMenuPortal, Br as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Gr as DropdownMenuSub, qr as DropdownMenuSubContent, Kr as DropdownMenuSubTrigger, Ir as DropdownMenuTrigger, dt as DynamicListContainer, Xn as Empty, nr as EmptyContent, tr as EmptyDescription, Zn as EmptyHeader, $n as EmptyMedia, er as EmptyTitle, Do as Field, Oo as FieldContent, jo as FieldDescription, No as FieldError, To as FieldGroup, ko as FieldLabel, wo as FieldLegend, Mo as FieldSeparator, Co as FieldSet, Ao as FieldTitle, en as FieldsSection, R as FormField, z as Input, tn as InputField, Aa as InputGroup, Ma as InputGroupAddon, Pa as InputGroupButton, Ia as InputGroupInput, Fa as InputGroupText, La as InputGroupTextarea, Wt as Label, zn as Lightbox, ms as Loading, rn as NumberField, nn as NumberInput, Dr as Pagination, Or as PaginationContent, Nr as PaginationEllipsis, kr as PaginationItem, Ar as PaginationLink, Mr as PaginationNext, jr as PaginationPrevious, an as PasswordField, Yo as PermissionCard, Xo as PermissionSkeleton, on as PhoneField, It as Popover, zt as PopoverAnchor, Rt as PopoverContent, Ht as PopoverDescription, Bt as PopoverHeader, Vt as PopoverTitle, Lt as PopoverTrigger, st as ProtectedRoute, ut as SaveButton, Po as ScrollArea, Fo as ScrollBar, Vn as SearchInput, Zo as SearchableSelect, sn as Select, dn as SelectContent, vn as SelectField, cn as SelectGroup, _n as SelectInput, pn as SelectItem, fn as SelectLabel, gn as SelectScrollDownButton, hn as SelectScrollUpButton, mn as SelectSeparator, un as SelectTrigger, ln as SelectValue, L as Separator, Xr as Sheet, Qr as SheetClose, ti as SheetContent, ai as SheetDescription, ri as SheetFooter, ni as SheetHeader, ii as SheetTitle, Zr as SheetTrigger, Qo as SideBarCompanyData, rs as SideBarMainMenu, cs as SideBarSecondaryMenu, ls as SideBarUserData, vi as Sidebar, Ei as SidebarContent, us as SidebarContext, wi as SidebarFooter, Di as SidebarGroup, ki as SidebarGroupAction, Ai as SidebarGroupContent, Oi as SidebarGroupLabel, Ci as SidebarHeader, Si as SidebarInput, xi as SidebarInset, $o as SidebarLogo, U as SidebarMenu, Mi as SidebarMenuAction, Ni as SidebarMenuBadge, G as SidebarMenuButton, W as SidebarMenuItem, Pi as SidebarMenuSkeleton, Fi as SidebarMenuSub, Li as SidebarMenuSubButton, Ii as SidebarMenuSubItem, _i as SidebarProvider, bi as SidebarRail, Ti as SidebarSeparator, yi as SidebarTrigger, V as Skeleton, Pn as StorageFileField, Lo as Switch, Hn as Table, Wn as TableBody, Yn as TableCaption, Jn as TableCell, Gn as TableFooter, qn as TableHead, Un as TableHeader, Kn as TableRow, Ro as Tabs, Ho as TabsContent, Bo as TabsList, Vo as TabsTrigger, Ln as TextAreaField, In as TextAreaInput, Rn as TextField, Fn as Textarea, as as ThemeProvider, ss as ThemeToggle, Yt as TitleSeparator, Io as Toaster, Wo as Toggle, Ko as ToggleGroup, qo as ToggleGroupItem, si as Tooltip, li as TooltipContent, oi as TooltipProvider, ci as TooltipTrigger, ct as YusrBusBackground, ps as YusrSideBar, fs as YusrSideBarMainMenu, Bn as ZoomableImage, ua as badgeVariants, lt as buttonVariants, Jo as categorizePermissions, P as cn, Ss as createGenericDialogSlice, Lc as createGenericEntitySlice, Nn as isPDF, xs as setupAuthListeners, zo as tabsListVariants, Uo as toggleVariants, Dn as useCarousel, eo as useComboboxAnchor, hs as useDialog, fo as useDirection, gs as useDynamicList, vs as useEntityForm, _s as useFormValidation, Yr as useIsMobile, ys as useLightBox, H as useSidebar, ds as useSidebarContext, bs as useStorageFile, os as useTheme };