@yusr_systems/ui 3.1.5 → 3.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1368,6 +1368,8 @@ export declare type YusrSidBarProps = {
1368
1368
  * @param {YusrSidBarMainMenuProps["items"]} [navMain] The main navigation items for the sidebar.
1369
1369
  * @param {YusrSidBarMainMenuProps["items"]} [navSecondary] The secondary navigation items for the sidebar.
1370
1370
  * @param {React.ReactNode} [children] The children of the sidebar component.
1371
+ *
1372
+ * for more details about, read the documentation [here](https://yusrsystems.github.io/yusr-ui-docs/docs/Templates/yusr-sidebar/)
1371
1373
  */
1372
1374
  export declare function YusrSideBar({ LinkComponent, logos, displayCompany, navMain, navSecondary, children, ...props }: React.ComponentProps<typeof Sidebar> & YusrSidBarProps & PropsWithChildren): JSX.Element;
1373
1375
 
package/dist/yusr-ui.js CHANGED
@@ -3541,139 +3541,76 @@ var la = n(null), ua = () => {
3541
3541
  return e;
3542
3542
  };
3543
3543
  //#endregion
3544
- //#region src/components/custom/sideBar/yusrSideBar.tsx
3545
- function da({ LinkComponent: e = "a", logos: t, displayCompany: n = {
3546
- name: "Yusr UI",
3547
- logo: "/yusr-logo.png"
3548
- }, navMain: r, navSecondary: i, children: a, ...o }) {
3549
- return /* @__PURE__ */ u(la.Provider, {
3550
- value: {
3551
- LinkComponent: e,
3552
- logos: t,
3553
- displayCompany: n,
3554
- navMain: r,
3555
- navSecondary: i
3556
- },
3557
- children: /* @__PURE__ */ u(ai, { children: /* @__PURE__ */ u(oi, {
3558
- collapsible: "icon",
3559
- side: "right",
3560
- ...o,
3561
- children: a
3562
- }) })
3563
- });
3564
- }
3565
- da.Header = function() {
3566
- let { displayCompany: e, logos: t } = ua();
3567
- return /* @__PURE__ */ u(di, { children: /* @__PURE__ */ u(H, { children: /* @__PURE__ */ d(U, { children: [/* @__PURE__ */ u(ea, { logos: {
3568
- full: {
3569
- light: t.logoFullLight,
3570
- dark: t.logoFullDark
3571
- },
3572
- collapsed: {
3573
- light: t.logoOnlyLight,
3574
- dark: t.logoOnlyDark
3575
- }
3576
- } }), e && /* @__PURE__ */ u($i, { company: e })] }) }) });
3577
- }, da.Content = function({ LogoutHandler: e }) {
3578
- let { navMain: t, navSecondary: n, LinkComponent: r } = ua();
3579
- return !t || !n ? /* @__PURE__ */ u(mi, {}) : /* @__PURE__ */ d(mi, { children: [/* @__PURE__ */ u(ca, {
3580
- items: t,
3581
- LinkComponent: r
3582
- }), e !== void 0 && /* @__PURE__ */ u(oa, {
3583
- items: n,
3584
- className: "pt-10 mt-auto text-center",
3585
- onLogout: e,
3586
- LinkComponent: r
3587
- })] });
3588
- }, da.Footer = function({ loggedInUser: e = void 0 }) {
3589
- return /* @__PURE__ */ u(fi, { children: /* @__PURE__ */ u(sa, { user: e }) });
3590
- };
3591
- //#endregion
3592
- //#region src/components/custom/status/loading.tsx
3593
- function fa({ entityName: e }) {
3594
- return /* @__PURE__ */ d("div", {
3595
- className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
3596
- children: [/* @__PURE__ */ u(ae, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ d("p", {
3597
- className: "mt-4 text-sm text-muted-foreground",
3598
- children: [
3599
- "جاري تحميل بيانات ",
3600
- e,
3601
- "..."
3602
- ]
3603
- })]
3604
- });
3605
- }
3606
- //#endregion
3607
3544
  //#region src/components/pure/alert-dialog.tsx
3608
- function pa({ ...e }) {
3545
+ function da({ ...e }) {
3609
3546
  return /* @__PURE__ */ u(k.Root, {
3610
3547
  "data-slot": "alert-dialog",
3611
3548
  ...e
3612
3549
  });
3613
3550
  }
3614
- function ma({ ...e }) {
3551
+ function fa({ ...e }) {
3615
3552
  return /* @__PURE__ */ u(k.Trigger, {
3616
3553
  "data-slot": "alert-dialog-trigger",
3617
3554
  ...e
3618
3555
  });
3619
3556
  }
3620
- function ha({ ...e }) {
3557
+ function pa({ ...e }) {
3621
3558
  return /* @__PURE__ */ u(k.Portal, {
3622
3559
  "data-slot": "alert-dialog-portal",
3623
3560
  ...e
3624
3561
  });
3625
3562
  }
3626
- function ga({ className: e, ...t }) {
3563
+ function ma({ className: e, ...t }) {
3627
3564
  return /* @__PURE__ */ u(k.Overlay, {
3628
3565
  "data-slot": "alert-dialog-overlay",
3629
3566
  className: N("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),
3630
3567
  ...t
3631
3568
  });
3632
3569
  }
3633
- function _a({ className: e, size: t = "default", ...n }) {
3634
- return /* @__PURE__ */ d(ha, { children: [/* @__PURE__ */ u(ga, {}), /* @__PURE__ */ u(k.Content, {
3570
+ function ha({ className: e, size: t = "default", ...n }) {
3571
+ return /* @__PURE__ */ d(pa, { children: [/* @__PURE__ */ u(ma, {}), /* @__PURE__ */ u(k.Content, {
3635
3572
  "data-slot": "alert-dialog-content",
3636
3573
  "data-size": t,
3637
3574
  className: N("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),
3638
3575
  ...n
3639
3576
  })] });
3640
3577
  }
3641
- function va({ className: e, ...t }) {
3578
+ function ga({ className: e, ...t }) {
3642
3579
  return /* @__PURE__ */ u("div", {
3643
3580
  "data-slot": "alert-dialog-header",
3644
3581
  className: N("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),
3645
3582
  ...t
3646
3583
  });
3647
3584
  }
3648
- function ya({ className: e, ...t }) {
3585
+ function _a({ className: e, ...t }) {
3649
3586
  return /* @__PURE__ */ u("div", {
3650
3587
  "data-slot": "alert-dialog-footer",
3651
3588
  className: N("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),
3652
3589
  ...t
3653
3590
  });
3654
3591
  }
3655
- function ba({ className: e, ...t }) {
3592
+ function va({ className: e, ...t }) {
3656
3593
  return /* @__PURE__ */ u("div", {
3657
3594
  "data-slot": "alert-dialog-media",
3658
3595
  className: N("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),
3659
3596
  ...t
3660
3597
  });
3661
3598
  }
3662
- function xa({ className: e, ...t }) {
3599
+ function ya({ className: e, ...t }) {
3663
3600
  return /* @__PURE__ */ u(k.Title, {
3664
3601
  "data-slot": "alert-dialog-title",
3665
3602
  className: N("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),
3666
3603
  ...t
3667
3604
  });
3668
3605
  }
3669
- function Sa({ className: e, ...t }) {
3606
+ function ba({ className: e, ...t }) {
3670
3607
  return /* @__PURE__ */ u(k.Description, {
3671
3608
  "data-slot": "alert-dialog-description",
3672
3609
  className: N("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", e),
3673
3610
  ...t
3674
3611
  });
3675
3612
  }
3676
- function Ca({ className: e, variant: t = "default", size: n = "default", ...r }) {
3613
+ function xa({ className: e, variant: t = "default", size: n = "default", ...r }) {
3677
3614
  return /* @__PURE__ */ u(P, {
3678
3615
  variant: t,
3679
3616
  size: n,
@@ -3685,7 +3622,7 @@ function Ca({ className: e, variant: t = "default", size: n = "default", ...r })
3685
3622
  })
3686
3623
  });
3687
3624
  }
3688
- function wa({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3625
+ function Sa({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3689
3626
  return /* @__PURE__ */ u(P, {
3690
3627
  variant: t,
3691
3628
  size: n,
@@ -3699,36 +3636,36 @@ function wa({ className: e, variant: t = "outline", size: n = "default", ...r })
3699
3636
  }
3700
3637
  //#endregion
3701
3638
  //#region src/components/pure/alert.tsx
3702
- var Ta = b("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", {
3639
+ var Ca = b("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", {
3703
3640
  variants: { variant: {
3704
3641
  default: "bg-card text-card-foreground",
3705
3642
  destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
3706
3643
  } },
3707
3644
  defaultVariants: { variant: "default" }
3708
3645
  });
3709
- function Ea({ className: e, variant: t, ...n }) {
3646
+ function wa({ className: e, variant: t, ...n }) {
3710
3647
  return /* @__PURE__ */ u("div", {
3711
3648
  "data-slot": "alert",
3712
3649
  role: "alert",
3713
- className: N(Ta({ variant: t }), e),
3650
+ className: N(Ca({ variant: t }), e),
3714
3651
  ...n
3715
3652
  });
3716
3653
  }
3717
- function Da({ className: e, ...t }) {
3654
+ function Ta({ className: e, ...t }) {
3718
3655
  return /* @__PURE__ */ u("div", {
3719
3656
  "data-slot": "alert-title",
3720
3657
  className: N("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
3721
3658
  ...t
3722
3659
  });
3723
3660
  }
3724
- function Oa({ className: e, ...t }) {
3661
+ function Ea({ className: e, ...t }) {
3725
3662
  return /* @__PURE__ */ u("div", {
3726
3663
  "data-slot": "alert-description",
3727
3664
  className: N("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),
3728
3665
  ...t
3729
3666
  });
3730
3667
  }
3731
- function ka({ className: e, ...t }) {
3668
+ function Da({ className: e, ...t }) {
3732
3669
  return /* @__PURE__ */ u("div", {
3733
3670
  "data-slot": "alert-action",
3734
3671
  className: N("absolute top-2 end-2", e),
@@ -3737,7 +3674,7 @@ function ka({ className: e, ...t }) {
3737
3674
  }
3738
3675
  //#endregion
3739
3676
  //#region src/components/pure/badge.tsx
3740
- var Aa = b("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", {
3677
+ var Oa = b("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", {
3741
3678
  variants: { variant: {
3742
3679
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
3743
3680
  secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
@@ -3748,17 +3685,17 @@ var Aa = b("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs
3748
3685
  } },
3749
3686
  defaultVariants: { variant: "default" }
3750
3687
  });
3751
- function ja({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3688
+ function ka({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3752
3689
  return /* @__PURE__ */ u(n ? x : "span", {
3753
3690
  "data-slot": "badge",
3754
3691
  "data-variant": t,
3755
- className: N(Aa({ variant: t }), e),
3692
+ className: N(Oa({ variant: t }), e),
3756
3693
  ...r
3757
3694
  });
3758
3695
  }
3759
3696
  //#endregion
3760
3697
  //#region src/components/pure/breadcrumb.tsx
3761
- function Ma({ className: e, ...t }) {
3698
+ function Aa({ className: e, ...t }) {
3762
3699
  return /* @__PURE__ */ u("nav", {
3763
3700
  "aria-label": "breadcrumb",
3764
3701
  "data-slot": "breadcrumb",
@@ -3766,28 +3703,28 @@ function Ma({ className: e, ...t }) {
3766
3703
  ...t
3767
3704
  });
3768
3705
  }
3769
- function Na({ className: e, ...t }) {
3706
+ function ja({ className: e, ...t }) {
3770
3707
  return /* @__PURE__ */ u("ol", {
3771
3708
  "data-slot": "breadcrumb-list",
3772
3709
  className: N("text-muted-foreground gap-1.5 text-sm flex flex-wrap items-center wrap-break-word", e),
3773
3710
  ...t
3774
3711
  });
3775
3712
  }
3776
- function Pa({ className: e, ...t }) {
3713
+ function Ma({ className: e, ...t }) {
3777
3714
  return /* @__PURE__ */ u("li", {
3778
3715
  "data-slot": "breadcrumb-item",
3779
3716
  className: N("gap-1 inline-flex items-center", e),
3780
3717
  ...t
3781
3718
  });
3782
3719
  }
3783
- function Fa({ asChild: e, className: t, ...n }) {
3720
+ function Na({ asChild: e, className: t, ...n }) {
3784
3721
  return /* @__PURE__ */ u(e ? x : "a", {
3785
3722
  "data-slot": "breadcrumb-link",
3786
3723
  className: N("hover:text-foreground transition-colors", t),
3787
3724
  ...n
3788
3725
  });
3789
3726
  }
3790
- function Ia({ className: e, ...t }) {
3727
+ function Pa({ className: e, ...t }) {
3791
3728
  return /* @__PURE__ */ u("span", {
3792
3729
  "data-slot": "breadcrumb-page",
3793
3730
  role: "link",
@@ -3797,7 +3734,7 @@ function Ia({ className: e, ...t }) {
3797
3734
  ...t
3798
3735
  });
3799
3736
  }
3800
- function La({ children: e, className: t, ...n }) {
3737
+ function Fa({ children: e, className: t, ...n }) {
3801
3738
  return /* @__PURE__ */ u("li", {
3802
3739
  "data-slot": "breadcrumb-separator",
3803
3740
  role: "presentation",
@@ -3807,7 +3744,7 @@ function La({ children: e, className: t, ...n }) {
3807
3744
  children: e ?? /* @__PURE__ */ u(g, { className: "rtl:rotate-180" })
3808
3745
  });
3809
3746
  }
3810
- function Ra({ className: e, ...t }) {
3747
+ function Ia({ className: e, ...t }) {
3811
3748
  return /* @__PURE__ */ d("span", {
3812
3749
  "data-slot": "breadcrumb-ellipsis",
3813
3750
  role: "presentation",
@@ -3822,34 +3759,34 @@ function Ra({ className: e, ...t }) {
3822
3759
  }
3823
3760
  //#endregion
3824
3761
  //#region src/components/pure/chart.tsx
3825
- var za = {
3762
+ var La = {
3826
3763
  light: "",
3827
3764
  dark: ".dark"
3828
- }, Ba = e.createContext(null);
3829
- function Va() {
3830
- let t = e.useContext(Ba);
3765
+ }, Ra = e.createContext(null);
3766
+ function za() {
3767
+ let t = e.useContext(Ra);
3831
3768
  if (!t) throw Error("useChart must be used within a <ChartContainer />");
3832
3769
  return t;
3833
3770
  }
3834
- function Ha({ id: t, className: n, children: r, config: i, ...a }) {
3771
+ function Ba({ id: t, className: n, children: r, config: i, ...a }) {
3835
3772
  let o = e.useId(), s = `chart-${t || o.replace(/:/g, "")}`;
3836
- return /* @__PURE__ */ u(Ba.Provider, {
3773
+ return /* @__PURE__ */ u(Ra.Provider, {
3837
3774
  value: { config: i },
3838
3775
  children: /* @__PURE__ */ d("div", {
3839
3776
  "data-slot": "chart",
3840
3777
  "data-chart": s,
3841
3778
  className: N("[&_.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", n),
3842
3779
  ...a,
3843
- children: [/* @__PURE__ */ u(Ua, {
3780
+ children: [/* @__PURE__ */ u(Va, {
3844
3781
  id: s,
3845
3782
  config: i
3846
3783
  }), /* @__PURE__ */ u(ze.ResponsiveContainer, { children: r })]
3847
3784
  })
3848
3785
  });
3849
3786
  }
3850
- var Ua = ({ id: e, config: t }) => {
3787
+ var Va = ({ id: e, config: t }) => {
3851
3788
  let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
3852
- return n.length ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: Object.entries(za).map(([t, r]) => `
3789
+ return n.length ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: Object.entries(La).map(([t, r]) => `
3853
3790
  ${r} [data-chart=${e}] {
3854
3791
  ${n.map(([e, n]) => {
3855
3792
  let r = n.theme?.[t] || n.color;
@@ -3857,11 +3794,11 @@ ${n.map(([e, n]) => {
3857
3794
  }).join("\n")}
3858
3795
  }
3859
3796
  `).join("\n") } }) : null;
3860
- }, Wa = ze.Tooltip;
3861
- function Ga({ active: t, payload: n, className: r, indicator: i = "dot", hideLabel: a = !1, hideIndicator: o = !1, label: s, labelFormatter: c, labelClassName: f, formatter: p, color: m, nameKey: h, labelKey: g }) {
3862
- let { config: _ } = Va(), v = e.useMemo(() => {
3797
+ }, Ha = ze.Tooltip;
3798
+ function Ua({ active: t, payload: n, className: r, indicator: i = "dot", hideLabel: a = !1, hideIndicator: o = !1, label: s, labelFormatter: c, labelClassName: f, formatter: p, color: m, nameKey: h, labelKey: g }) {
3799
+ let { config: _ } = za(), v = e.useMemo(() => {
3863
3800
  if (a || !n?.length) return null;
3864
- let [e] = n, t = Ja(_, e, `${g || e?.dataKey || e?.name || "value"}`), r = !g && typeof s == "string" ? _[s]?.label || s : t?.label;
3801
+ let [e] = n, t = Ka(_, e, `${g || e?.dataKey || e?.name || "value"}`), r = !g && typeof s == "string" ? _[s]?.label || s : t?.label;
3865
3802
  return c ? /* @__PURE__ */ u("div", {
3866
3803
  className: N("font-medium", f),
3867
3804
  children: c(r, n)
@@ -3885,7 +3822,7 @@ function Ga({ active: t, payload: n, className: r, indicator: i = "dot", hideLab
3885
3822
  children: [y ? null : v, /* @__PURE__ */ u("div", {
3886
3823
  className: "grid gap-1.5",
3887
3824
  children: n.filter((e) => e.type !== "none").map((e, t) => {
3888
- let n = Ja(_, e, `${h || e.name || e.dataKey || "value"}`), r = m || e.payload.fill || e.color;
3825
+ let n = Ka(_, e, `${h || e.name || e.dataKey || "value"}`), r = m || e.payload.fill || e.color;
3889
3826
  return /* @__PURE__ */ u("div", {
3890
3827
  className: N("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", i === "dot" && "items-center"),
3891
3828
  children: p && e?.value !== void 0 && e.name ? p(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ d(l, { children: [n?.icon ? /* @__PURE__ */ u(n.icon, {}) : !o && /* @__PURE__ */ u("div", {
@@ -3917,13 +3854,13 @@ function Ga({ active: t, payload: n, className: r, indicator: i = "dot", hideLab
3917
3854
  })]
3918
3855
  });
3919
3856
  }
3920
- var Ka = ze.Legend;
3921
- function qa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3922
- let { config: a } = Va();
3857
+ var Wa = ze.Legend;
3858
+ function Ga({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3859
+ let { config: a } = za();
3923
3860
  return n?.length ? /* @__PURE__ */ u("div", {
3924
3861
  className: N("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
3925
3862
  children: n.filter((e) => e.type !== "none").map((e) => {
3926
- let n = Ja(a, e, `${i || e.dataKey || "value"}`);
3863
+ let n = Ka(a, e, `${i || e.dataKey || "value"}`);
3927
3864
  return /* @__PURE__ */ d("div", {
3928
3865
  className: N("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
3929
3866
  children: [n?.icon && !t ? /* @__PURE__ */ u(n.icon, {}) : /* @__PURE__ */ u("div", {
@@ -3934,14 +3871,14 @@ function qa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
3934
3871
  })
3935
3872
  }) : null;
3936
3873
  }
3937
- function Ja(e, t, n) {
3874
+ function Ka(e, t, n) {
3938
3875
  if (typeof t != "object" || !t) return;
3939
3876
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
3940
3877
  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];
3941
3878
  }
3942
3879
  //#endregion
3943
3880
  //#region src/components/pure/checkbox.tsx
3944
- function Ya({ className: e, ...t }) {
3881
+ function qa({ className: e, ...t }) {
3945
3882
  return /* @__PURE__ */ u(Be.Root, {
3946
3883
  "data-slot": "checkbox",
3947
3884
  className: N("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),
@@ -3955,14 +3892,14 @@ function Ya({ className: e, ...t }) {
3955
3892
  }
3956
3893
  //#endregion
3957
3894
  //#region src/components/pure/combobox.tsx
3958
- var Xa = A.Root;
3959
- function Za({ ...e }) {
3895
+ var Ja = A.Root;
3896
+ function Ya({ ...e }) {
3960
3897
  return /* @__PURE__ */ u(A.Value, {
3961
3898
  "data-slot": "combobox-value",
3962
3899
  ...e
3963
3900
  });
3964
3901
  }
3965
- function Qa({ className: e, children: t, ...n }) {
3902
+ function Xa({ className: e, children: t, ...n }) {
3966
3903
  return /* @__PURE__ */ d(A.Trigger, {
3967
3904
  "data-slot": "combobox-trigger",
3968
3905
  className: N("[&_svg:not([class*='size-'])]:size-4", e),
@@ -3970,7 +3907,7 @@ function Qa({ className: e, children: t, ...n }) {
3970
3907
  children: [t, /* @__PURE__ */ u(m, { className: "text-muted-foreground size-4 pointer-events-none" })]
3971
3908
  });
3972
3909
  }
3973
- function $a({ className: e, ...t }) {
3910
+ function Za({ className: e, ...t }) {
3974
3911
  return /* @__PURE__ */ u(A.Clear, {
3975
3912
  "data-slot": "combobox-clear",
3976
3913
  render: /* @__PURE__ */ u(Ni, {
@@ -3982,7 +3919,7 @@ function $a({ className: e, ...t }) {
3982
3919
  children: /* @__PURE__ */ u(Ee, { className: "pointer-events-none" })
3983
3920
  });
3984
3921
  }
3985
- function eo({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...a }) {
3922
+ function Qa({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...a }) {
3986
3923
  return /* @__PURE__ */ d(ki, {
3987
3924
  className: N("w-auto", e),
3988
3925
  children: [
@@ -3999,14 +3936,14 @@ function eo({ className: e, children: t, disabled: n = !1, showTrigger: r = !0,
3999
3936
  "data-slot": "input-group-button",
4000
3937
  className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
4001
3938
  disabled: n,
4002
- children: /* @__PURE__ */ u(Qa, {})
4003
- }), i && /* @__PURE__ */ u($a, { disabled: n })]
3939
+ children: /* @__PURE__ */ u(Xa, {})
3940
+ }), i && /* @__PURE__ */ u(Za, { disabled: n })]
4004
3941
  }),
4005
3942
  t
4006
3943
  ]
4007
3944
  });
4008
3945
  }
4009
- function to({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: a, ...o }) {
3946
+ function $a({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: a, ...o }) {
4010
3947
  return /* @__PURE__ */ u(A.Portal, { children: /* @__PURE__ */ u(A.Positioner, {
4011
3948
  side: t,
4012
3949
  sideOffset: n,
@@ -4022,14 +3959,14 @@ function to({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "s
4022
3959
  })
4023
3960
  }) });
4024
3961
  }
4025
- function no({ className: e, ...t }) {
3962
+ function eo({ className: e, ...t }) {
4026
3963
  return /* @__PURE__ */ u(A.List, {
4027
3964
  "data-slot": "combobox-list",
4028
3965
  className: N("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),
4029
3966
  ...t
4030
3967
  });
4031
3968
  }
4032
- function ro({ className: e, children: t, ...n }) {
3969
+ function to({ className: e, children: t, ...n }) {
4033
3970
  return /* @__PURE__ */ d(A.Item, {
4034
3971
  "data-slot": "combobox-item",
4035
3972
  className: N("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),
@@ -4040,48 +3977,48 @@ function ro({ className: e, children: t, ...n }) {
4040
3977
  })]
4041
3978
  });
4042
3979
  }
4043
- function io({ className: e, ...t }) {
3980
+ function no({ className: e, ...t }) {
4044
3981
  return /* @__PURE__ */ u(A.Group, {
4045
3982
  "data-slot": "combobox-group",
4046
3983
  className: N(e),
4047
3984
  ...t
4048
3985
  });
4049
3986
  }
4050
- function ao({ className: e, ...t }) {
3987
+ function ro({ className: e, ...t }) {
4051
3988
  return /* @__PURE__ */ u(A.GroupLabel, {
4052
3989
  "data-slot": "combobox-label",
4053
3990
  className: N("text-muted-foreground px-2 py-1.5 text-xs", e),
4054
3991
  ...t
4055
3992
  });
4056
3993
  }
4057
- function oo({ ...e }) {
3994
+ function io({ ...e }) {
4058
3995
  return /* @__PURE__ */ u(A.Collection, {
4059
3996
  "data-slot": "combobox-collection",
4060
3997
  ...e
4061
3998
  });
4062
3999
  }
4063
- function so({ className: e, ...t }) {
4000
+ function ao({ className: e, ...t }) {
4064
4001
  return /* @__PURE__ */ u(A.Empty, {
4065
4002
  "data-slot": "combobox-empty",
4066
4003
  className: N("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex", e),
4067
4004
  ...t
4068
4005
  });
4069
4006
  }
4070
- function co({ className: e, ...t }) {
4007
+ function oo({ className: e, ...t }) {
4071
4008
  return /* @__PURE__ */ u(A.Separator, {
4072
4009
  "data-slot": "combobox-separator",
4073
4010
  className: N("bg-border -mx-1 my-1 h-px", e),
4074
4011
  ...t
4075
4012
  });
4076
4013
  }
4077
- function lo({ className: e, ...t }) {
4014
+ function so({ className: e, ...t }) {
4078
4015
  return /* @__PURE__ */ u(A.Chips, {
4079
4016
  "data-slot": "combobox-chips",
4080
4017
  className: N("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),
4081
4018
  ...t
4082
4019
  });
4083
4020
  }
4084
- function uo({ className: e, children: t, showRemove: n = !0, ...r }) {
4021
+ function co({ className: e, children: t, showRemove: n = !0, ...r }) {
4085
4022
  return /* @__PURE__ */ d(A.Chip, {
4086
4023
  "data-slot": "combobox-chip",
4087
4024
  className: N("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),
@@ -4097,62 +4034,62 @@ function uo({ className: e, children: t, showRemove: n = !0, ...r }) {
4097
4034
  })]
4098
4035
  });
4099
4036
  }
4100
- function fo({ className: e, ...t }) {
4037
+ function lo({ className: e, ...t }) {
4101
4038
  return /* @__PURE__ */ u(A.Input, {
4102
4039
  "data-slot": "combobox-chip-input",
4103
4040
  className: N("min-w-16 flex-1 outline-none", e),
4104
4041
  ...t
4105
4042
  });
4106
4043
  }
4107
- function po() {
4044
+ function uo() {
4108
4045
  return e.useRef(null);
4109
4046
  }
4110
4047
  //#endregion
4111
4048
  //#region src/components/pure/direction.tsx
4112
- function mo({ dir: e, direction: t, children: n }) {
4049
+ function fo({ dir: e, direction: t, children: n }) {
4113
4050
  return /* @__PURE__ */ u(Ve.DirectionProvider, {
4114
4051
  dir: t ?? e,
4115
4052
  children: n
4116
4053
  });
4117
4054
  }
4118
- var ho = Ve.useDirection;
4055
+ var po = Ve.useDirection;
4119
4056
  //#endregion
4120
4057
  //#region src/components/pure/drawer.tsx
4121
- function go({ ...e }) {
4058
+ function mo({ ...e }) {
4122
4059
  return /* @__PURE__ */ u(j.Root, {
4123
4060
  "data-slot": "drawer",
4124
4061
  ...e
4125
4062
  });
4126
4063
  }
4127
- function _o({ ...e }) {
4064
+ function ho({ ...e }) {
4128
4065
  return /* @__PURE__ */ u(j.Trigger, {
4129
4066
  "data-slot": "drawer-trigger",
4130
4067
  ...e
4131
4068
  });
4132
4069
  }
4133
- function vo({ ...e }) {
4070
+ function go({ ...e }) {
4134
4071
  return /* @__PURE__ */ u(j.Portal, {
4135
4072
  "data-slot": "drawer-portal",
4136
4073
  ...e
4137
4074
  });
4138
4075
  }
4139
- function yo({ ...e }) {
4076
+ function _o({ ...e }) {
4140
4077
  return /* @__PURE__ */ u(j.Close, {
4141
4078
  "data-slot": "drawer-close",
4142
4079
  ...e
4143
4080
  });
4144
4081
  }
4145
- function bo({ className: e, ...t }) {
4082
+ function vo({ className: e, ...t }) {
4146
4083
  return /* @__PURE__ */ u(j.Overlay, {
4147
4084
  "data-slot": "drawer-overlay",
4148
4085
  className: N("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),
4149
4086
  ...t
4150
4087
  });
4151
4088
  }
4152
- function xo({ className: e, children: t, ...n }) {
4153
- return /* @__PURE__ */ d(vo, {
4089
+ function yo({ className: e, children: t, ...n }) {
4090
+ return /* @__PURE__ */ d(go, {
4154
4091
  "data-slot": "drawer-portal",
4155
- children: [/* @__PURE__ */ u(bo, {}), /* @__PURE__ */ d(j.Content, {
4092
+ children: [/* @__PURE__ */ u(vo, {}), /* @__PURE__ */ d(j.Content, {
4156
4093
  "data-slot": "drawer-content",
4157
4094
  className: N("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),
4158
4095
  ...n,
@@ -4160,28 +4097,28 @@ function xo({ className: e, children: t, ...n }) {
4160
4097
  })]
4161
4098
  });
4162
4099
  }
4163
- function So({ className: e, ...t }) {
4100
+ function bo({ className: e, ...t }) {
4164
4101
  return /* @__PURE__ */ u("div", {
4165
4102
  "data-slot": "drawer-header",
4166
4103
  className: N("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),
4167
4104
  ...t
4168
4105
  });
4169
4106
  }
4170
- function Co({ className: e, ...t }) {
4107
+ function xo({ className: e, ...t }) {
4171
4108
  return /* @__PURE__ */ u("div", {
4172
4109
  "data-slot": "drawer-footer",
4173
4110
  className: N("gap-2 p-4 mt-auto flex flex-col", e),
4174
4111
  ...t
4175
4112
  });
4176
4113
  }
4177
- function wo({ className: e, ...t }) {
4114
+ function So({ className: e, ...t }) {
4178
4115
  return /* @__PURE__ */ u(j.Title, {
4179
4116
  "data-slot": "drawer-title",
4180
4117
  className: N("text-foreground text-base font-medium", e),
4181
4118
  ...t
4182
4119
  });
4183
4120
  }
4184
- function To({ className: e, ...t }) {
4121
+ function Co({ className: e, ...t }) {
4185
4122
  return /* @__PURE__ */ u(j.Description, {
4186
4123
  "data-slot": "drawer-description",
4187
4124
  className: N("text-muted-foreground text-sm", e),
@@ -4190,14 +4127,14 @@ function To({ className: e, ...t }) {
4190
4127
  }
4191
4128
  //#endregion
4192
4129
  //#region src/components/pure/field.tsx
4193
- function Eo({ className: e, ...t }) {
4130
+ function wo({ className: e, ...t }) {
4194
4131
  return /* @__PURE__ */ u("fieldset", {
4195
4132
  "data-slot": "field-set",
4196
4133
  className: N("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", e),
4197
4134
  ...t
4198
4135
  });
4199
4136
  }
4200
- function Do({ className: e, variant: t = "legend", ...n }) {
4137
+ function To({ className: e, variant: t = "legend", ...n }) {
4201
4138
  return /* @__PURE__ */ u("legend", {
4202
4139
  "data-slot": "field-legend",
4203
4140
  "data-variant": t,
@@ -4205,14 +4142,14 @@ function Do({ className: e, variant: t = "legend", ...n }) {
4205
4142
  ...n
4206
4143
  });
4207
4144
  }
4208
- function Oo({ className: e, ...t }) {
4145
+ function Eo({ className: e, ...t }) {
4209
4146
  return /* @__PURE__ */ u("div", {
4210
4147
  "data-slot": "field-group",
4211
4148
  className: N("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),
4212
4149
  ...t
4213
4150
  });
4214
4151
  }
4215
- var ko = b("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
4152
+ var Do = b("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
4216
4153
  variants: { orientation: {
4217
4154
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
4218
4155
  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",
@@ -4220,44 +4157,44 @@ var ko = b("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",
4220
4157
  } },
4221
4158
  defaultVariants: { orientation: "vertical" }
4222
4159
  });
4223
- function Ao({ className: e, orientation: t = "vertical", ...n }) {
4160
+ function Oo({ className: e, orientation: t = "vertical", ...n }) {
4224
4161
  return /* @__PURE__ */ u("div", {
4225
4162
  role: "group",
4226
4163
  "data-slot": "field",
4227
4164
  "data-orientation": t,
4228
- className: N(ko({ orientation: t }), e),
4165
+ className: N(Do({ orientation: t }), e),
4229
4166
  ...n
4230
4167
  });
4231
4168
  }
4232
- function jo({ className: e, ...t }) {
4169
+ function ko({ className: e, ...t }) {
4233
4170
  return /* @__PURE__ */ u("div", {
4234
4171
  "data-slot": "field-content",
4235
4172
  className: N("gap-0.5 group/field-content flex flex-1 flex-col leading-snug", e),
4236
4173
  ...t
4237
4174
  });
4238
4175
  }
4239
- function Mo({ className: e, ...t }) {
4176
+ function Ao({ className: e, ...t }) {
4240
4177
  return /* @__PURE__ */ u(It, {
4241
4178
  "data-slot": "field-label",
4242
4179
  className: N("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),
4243
4180
  ...t
4244
4181
  });
4245
4182
  }
4246
- function No({ className: e, ...t }) {
4183
+ function jo({ className: e, ...t }) {
4247
4184
  return /* @__PURE__ */ u("div", {
4248
4185
  "data-slot": "field-label",
4249
4186
  className: N("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug", e),
4250
4187
  ...t
4251
4188
  });
4252
4189
  }
4253
- function Po({ className: e, ...t }) {
4190
+ function Mo({ className: e, ...t }) {
4254
4191
  return /* @__PURE__ */ u("p", {
4255
4192
  "data-slot": "field-description",
4256
4193
  className: N("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),
4257
4194
  ...t
4258
4195
  });
4259
4196
  }
4260
- function Fo({ children: e, className: t, ...n }) {
4197
+ function No({ children: e, className: t, ...n }) {
4261
4198
  return /* @__PURE__ */ d("div", {
4262
4199
  "data-slot": "field-separator",
4263
4200
  "data-content": !!e,
@@ -4270,7 +4207,7 @@ function Fo({ children: e, className: t, ...n }) {
4270
4207
  })]
4271
4208
  });
4272
4209
  }
4273
- function Io({ className: e, children: t, errors: n, ...r }) {
4210
+ function Po({ className: e, children: t, errors: n, ...r }) {
4274
4211
  let i = o(() => {
4275
4212
  if (t) return t;
4276
4213
  if (!n?.length) return null;
@@ -4290,7 +4227,7 @@ function Io({ className: e, children: t, errors: n, ...r }) {
4290
4227
  }
4291
4228
  //#endregion
4292
4229
  //#region src/components/pure/scroll-area.tsx
4293
- function Lo({ className: e, children: t, ...n }) {
4230
+ function Fo({ className: e, children: t, ...n }) {
4294
4231
  return /* @__PURE__ */ d(He.Root, {
4295
4232
  "data-slot": "scroll-area",
4296
4233
  className: N("relative", e),
@@ -4301,12 +4238,12 @@ function Lo({ className: e, children: t, ...n }) {
4301
4238
  className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
4302
4239
  children: t
4303
4240
  }),
4304
- /* @__PURE__ */ u(Ro, {}),
4241
+ /* @__PURE__ */ u(Io, {}),
4305
4242
  /* @__PURE__ */ u(He.Corner, {})
4306
4243
  ]
4307
4244
  });
4308
4245
  }
4309
- function Ro({ className: e, orientation: t = "vertical", ...n }) {
4246
+ function Io({ className: e, orientation: t = "vertical", ...n }) {
4310
4247
  return /* @__PURE__ */ u(He.ScrollAreaScrollbar, {
4311
4248
  "data-slot": "scroll-area-scrollbar",
4312
4249
  "data-orientation": t,
@@ -4321,7 +4258,7 @@ function Ro({ className: e, orientation: t = "vertical", ...n }) {
4321
4258
  }
4322
4259
  //#endregion
4323
4260
  //#region src/components/pure/sonner.tsx
4324
- var zo = ({ ...e }) => {
4261
+ var Lo = ({ ...e }) => {
4325
4262
  let { theme: t = "system" } = Ue();
4326
4263
  return /* @__PURE__ */ u(We, {
4327
4264
  theme: t,
@@ -4345,7 +4282,7 @@ var zo = ({ ...e }) => {
4345
4282
  };
4346
4283
  //#endregion
4347
4284
  //#region src/components/pure/switch.tsx
4348
- function Bo({ className: e, size: t = "default", ...n }) {
4285
+ function Ro({ className: e, size: t = "default", ...n }) {
4349
4286
  return /* @__PURE__ */ u(Ge.Root, {
4350
4287
  "data-slot": "switch",
4351
4288
  "data-size": t,
@@ -4359,7 +4296,7 @@ function Bo({ className: e, size: t = "default", ...n }) {
4359
4296
  }
4360
4297
  //#endregion
4361
4298
  //#region src/components/pure/tabs.tsx
4362
- function Vo({ className: e, orientation: t = "horizontal", ...n }) {
4299
+ function zo({ className: e, orientation: t = "horizontal", ...n }) {
4363
4300
  return /* @__PURE__ */ u(Ke.Root, {
4364
4301
  "data-slot": "tabs",
4365
4302
  "data-orientation": t,
@@ -4367,29 +4304,29 @@ function Vo({ className: e, orientation: t = "horizontal", ...n }) {
4367
4304
  ...n
4368
4305
  });
4369
4306
  }
4370
- var Ho = b("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", {
4307
+ var Bo = b("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", {
4371
4308
  variants: { variant: {
4372
4309
  default: "bg-muted",
4373
4310
  line: "gap-1 bg-transparent"
4374
4311
  } },
4375
4312
  defaultVariants: { variant: "default" }
4376
4313
  });
4377
- function Uo({ className: e, variant: t = "default", ...n }) {
4314
+ function Vo({ className: e, variant: t = "default", ...n }) {
4378
4315
  return /* @__PURE__ */ u(Ke.List, {
4379
4316
  "data-slot": "tabs-list",
4380
4317
  "data-variant": t,
4381
- className: N(Ho({ variant: t }), e),
4318
+ className: N(Bo({ variant: t }), e),
4382
4319
  ...n
4383
4320
  });
4384
4321
  }
4385
- function Wo({ className: e, ...t }) {
4322
+ function Ho({ className: e, ...t }) {
4386
4323
  return /* @__PURE__ */ u(Ke.Trigger, {
4387
4324
  "data-slot": "tabs-trigger",
4388
4325
  className: N("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),
4389
4326
  ...t
4390
4327
  });
4391
4328
  }
4392
- function Go({ className: e, ...t }) {
4329
+ function Uo({ className: e, ...t }) {
4393
4330
  return /* @__PURE__ */ u(Ke.Content, {
4394
4331
  "data-slot": "tabs-content",
4395
4332
  className: N("text-sm flex-1 outline-none", e),
@@ -4398,7 +4335,7 @@ function Go({ className: e, ...t }) {
4398
4335
  }
4399
4336
  //#endregion
4400
4337
  //#region src/components/pure/toggle.tsx
4401
- var Ko = b("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", {
4338
+ var Wo = b("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", {
4402
4339
  variants: {
4403
4340
  variant: {
4404
4341
  default: "bg-transparent",
@@ -4415,10 +4352,10 @@ var Ko = b("hover:text-foreground aria-pressed:bg-muted focus-visible:border-rin
4415
4352
  size: "default"
4416
4353
  }
4417
4354
  });
4418
- function qo({ className: e, variant: t = "default", size: n = "default", ...r }) {
4355
+ function Go({ className: e, variant: t = "default", size: n = "default", ...r }) {
4419
4356
  return /* @__PURE__ */ u(Je.Root, {
4420
4357
  "data-slot": "toggle",
4421
- className: N(Ko({
4358
+ className: N(Wo({
4422
4359
  variant: t,
4423
4360
  size: n,
4424
4361
  className: e
@@ -4428,13 +4365,13 @@ function qo({ className: e, variant: t = "default", size: n = "default", ...r })
4428
4365
  }
4429
4366
  //#endregion
4430
4367
  //#region src/components/pure/toggle-group.tsx
4431
- var Jo = e.createContext({
4368
+ var Ko = e.createContext({
4432
4369
  size: "default",
4433
4370
  variant: "default",
4434
4371
  spacing: 0,
4435
4372
  orientation: "horizontal"
4436
4373
  });
4437
- function Yo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: a, ...o }) {
4374
+ function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: a, ...o }) {
4438
4375
  return /* @__PURE__ */ u(qe.Root, {
4439
4376
  "data-slot": "toggle-group",
4440
4377
  "data-variant": t,
@@ -4444,7 +4381,7 @@ function Yo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4444
4381
  style: { "--gap": r },
4445
4382
  className: N("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),
4446
4383
  ...o,
4447
- children: /* @__PURE__ */ u(Jo.Provider, {
4384
+ children: /* @__PURE__ */ u(Ko.Provider, {
4448
4385
  value: {
4449
4386
  variant: t,
4450
4387
  size: n,
@@ -4455,14 +4392,14 @@ function Yo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4455
4392
  })
4456
4393
  });
4457
4394
  }
4458
- function Xo({ className: t, children: n, variant: r = "default", size: i = "default", ...a }) {
4459
- let o = e.useContext(Jo);
4395
+ function Jo({ className: t, children: n, variant: r = "default", size: i = "default", ...a }) {
4396
+ let o = e.useContext(Ko);
4460
4397
  return /* @__PURE__ */ u(qe.Item, {
4461
4398
  "data-slot": "toggle-group-item",
4462
4399
  "data-variant": o.variant || r,
4463
4400
  "data-size": o.size || i,
4464
4401
  "data-spacing": o.spacing,
4465
- className: N("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", Ko({
4402
+ className: N("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({
4466
4403
  variant: o.variant || r,
4467
4404
  size: o.size || i
4468
4405
  }), t),
@@ -4471,6 +4408,69 @@ function Xo({ className: t, children: n, variant: r = "default", size: i = "defa
4471
4408
  });
4472
4409
  }
4473
4410
  //#endregion
4411
+ //#region src/components/custom/sideBar/yusrSideBar.tsx
4412
+ function Yo({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4413
+ name: "Yusr UI",
4414
+ logo: "/yusr-logo.png"
4415
+ }, navMain: r, navSecondary: i, children: a, ...o }) {
4416
+ return /* @__PURE__ */ u(Jr, { children: /* @__PURE__ */ u(la.Provider, {
4417
+ value: {
4418
+ LinkComponent: e,
4419
+ logos: t,
4420
+ displayCompany: n,
4421
+ navMain: r,
4422
+ navSecondary: i
4423
+ },
4424
+ children: /* @__PURE__ */ u(ai, { children: /* @__PURE__ */ u(oi, {
4425
+ collapsible: "icon",
4426
+ side: "right",
4427
+ ...o,
4428
+ children: a
4429
+ }) })
4430
+ }) });
4431
+ }
4432
+ Yo.Header = function() {
4433
+ let { displayCompany: e, logos: t } = ua();
4434
+ return /* @__PURE__ */ u(di, { children: /* @__PURE__ */ u(H, { children: /* @__PURE__ */ d(U, { children: [/* @__PURE__ */ u(ea, { logos: {
4435
+ full: {
4436
+ light: t.logoFullLight,
4437
+ dark: t.logoFullDark
4438
+ },
4439
+ collapsed: {
4440
+ light: t.logoOnlyLight,
4441
+ dark: t.logoOnlyDark
4442
+ }
4443
+ } }), e && /* @__PURE__ */ u($i, { company: e })] }) }) });
4444
+ }, Yo.Content = function({ LogoutHandler: e }) {
4445
+ let { navMain: t, navSecondary: n, LinkComponent: r } = ua();
4446
+ return !t || !n ? /* @__PURE__ */ u(mi, {}) : /* @__PURE__ */ d(mi, { children: [/* @__PURE__ */ u(ca, {
4447
+ items: t,
4448
+ LinkComponent: r
4449
+ }), e !== void 0 && /* @__PURE__ */ u(oa, {
4450
+ items: n,
4451
+ className: "pt-10 mt-auto text-center",
4452
+ onLogout: e,
4453
+ LinkComponent: r
4454
+ })] });
4455
+ }, Yo.Footer = function({ loggedInUser: e = void 0 }) {
4456
+ return /* @__PURE__ */ u(fi, { children: /* @__PURE__ */ u(sa, { user: e }) });
4457
+ };
4458
+ //#endregion
4459
+ //#region src/components/custom/status/loading.tsx
4460
+ function Xo({ entityName: e }) {
4461
+ return /* @__PURE__ */ d("div", {
4462
+ className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
4463
+ children: [/* @__PURE__ */ u(ae, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ d("p", {
4464
+ className: "mt-4 text-sm text-muted-foreground",
4465
+ children: [
4466
+ "جاري تحميل بيانات ",
4467
+ e,
4468
+ "..."
4469
+ ]
4470
+ })]
4471
+ });
4472
+ }
4473
+ //#endregion
4474
4474
  //#region src/hooks/useDialog.ts
4475
4475
  function Zo() {
4476
4476
  let [e, t] = c(null), [n, r] = c(!1), [i, a] = c(!1);
@@ -5222,4 +5222,4 @@ function vc(e, t, n, r) {
5222
5222
  };
5223
5223
  }
5224
5224
  //#endregion
5225
- export { Ea as Alert, ka as AlertAction, Oa as AlertDescription, pa as AlertDialog, Ca as AlertDialogAction, wa as AlertDialogCancel, _a as AlertDialogContent, Sa as AlertDialogDescription, ya as AlertDialogFooter, va as AlertDialogHeader, ba as AlertDialogMedia, ga as AlertDialogOverlay, ha as AlertDialogPortal, xa as AlertDialogTitle, ma as AlertDialogTrigger, Da as AlertTitle, qi as Avatar, Xi as AvatarBadge, Yi as AvatarFallback, Zi as AvatarGroup, Qi as AvatarGroupCount, Ji as AvatarImage, ja as Badge, Rt as BaseInput, Ma as Breadcrumb, Ra as BreadcrumbEllipsis, Pa as BreadcrumbItem, Fa as BreadcrumbLink, Na as BreadcrumbList, Ia as BreadcrumbPage, La as BreadcrumbSeparator, P as Button, Et as Calendar, Dt as CalendarDayButton, sn as Card, dn as CardAction, fn as CardContent, un as CardDescription, pn as CardFooter, cn as CardHeader, ln as CardTitle, hn as Carousel, gn as CarouselContent, _n as CarouselItem, yn as CarouselNext, vn as CarouselPrevious, pt as ChangeDialog, Ha as ChartContainer, Ka as ChartLegend, qa as ChartLegendContent, Ua as ChartStyle, Wa as ChartTooltip, Ga as ChartTooltipContent, Ya as Checkbox, Xa as Combobox, uo as ComboboxChip, lo as ComboboxChips, fo as ComboboxChipsInput, oo as ComboboxCollection, to as ComboboxContent, so as ComboboxEmpty, io as ComboboxGroup, eo as ComboboxInput, ro as ComboboxItem, ao as ComboboxLabel, no as ComboboxList, co as ComboboxSeparator, Qa as ComboboxTrigger, Za as ComboboxValue, Li as Command, Ri as CommandDialog, Vi as CommandEmpty, Hi as CommandGroup, zi as CommandInput, Wi as CommandItem, Bi as CommandList, Ui as CommandSeparator, Gi as CommandShortcut, Yn as ContextMenu, ar as ContextMenuCheckboxItem, tr as ContextMenuContent, Zn as ContextMenuGroup, nr as ContextMenuItem, sr as ContextMenuLabel, Qn as ContextMenuPortal, er as ContextMenuRadioGroup, or as ContextMenuRadioItem, cr as ContextMenuSeparator, lr as ContextMenuShortcut, $n as ContextMenuSub, ir as ContextMenuSubContent, rr as ContextMenuSubTrigger, Xn as ContextMenuTrigger, Wn as CrudEmptyTablePreview, Oi as CrudPage, Jn as CrudTable, ur as CrudTableBodyRow, dr as CrudTableCard, fr as CrudTableHeader, pr as CrudTableHeaderRows, Ei as CrudTablePagination, Di as CrudTableRowActionsMenu, Lt as DateField, Ft as DateInput, Bt as DateTimeField, zt as DateTimeInput, mt as DeleteDialog, F as Dialog, ot as DialogClose, ct as DialogContent, ft as DialogDescription, ut as DialogFooter, lt as DialogHeader, st as DialogOverlay, at as DialogPortal, dt as DialogTitle, it as DialogTrigger, mo as DirectionProvider, go as Drawer, yo as DrawerClose, xo as DrawerContent, To as DrawerDescription, Co as DrawerFooter, So as DrawerHeader, bo as DrawerOverlay, vo as DrawerPortal, wo as DrawerTitle, _o as DrawerTrigger, xr as DropdownMenu, Er as DropdownMenuCheckboxItem, wr as DropdownMenuContent, Tr as DropdownMenuGroup, B as DropdownMenuItem, kr as DropdownMenuLabel, Sr as DropdownMenuPortal, Dr as DropdownMenuRadioGroup, Or as DropdownMenuRadioItem, Ar as DropdownMenuSeparator, jr as DropdownMenuShortcut, Mr as DropdownMenuSub, Pr as DropdownMenuSubContent, Nr as DropdownMenuSubTrigger, Cr as DropdownMenuTrigger, rt as DynamicListContainer, Ln as Empty, Un as EmptyContent, Hn as EmptyDescription, Rn as EmptyHeader, Bn as EmptyMedia, Vn as EmptyTitle, Ao as Field, jo as FieldContent, Po as FieldDescription, Io as FieldError, Oo as FieldGroup, Mo as FieldLabel, Do as FieldLegend, Fo as FieldSeparator, Eo as FieldSet, No as FieldTitle, Ht as FieldsSection, L as FormField, R as Input, Ut as InputField, ki as InputGroup, ji as InputGroupAddon, Ni as InputGroupButton, Fi as InputGroupInput, Pi as InputGroupText, Ii as InputGroupTextarea, It as Label, En as Lightbox, fa as Loading, Gt as NumberField, Wt as NumberInput, mr as Pagination, hr as PaginationContent, br as PaginationEllipsis, gr as PaginationItem, _r as PaginationLink, yr as PaginationNext, vr as PaginationPrevious, Kt as PasswordField, qt as PhoneField, Ot as Popover, jt as PopoverAnchor, At as PopoverContent, Pt as PopoverDescription, Mt as PopoverHeader, Nt as PopoverTitle, kt as PopoverTrigger, $e as ProtectedRoute, nt as SaveButton, Lo as ScrollArea, Ro as ScrollBar, On as SearchInput, Ki as SearchableSelect, Jt as Select, Qt as SelectContent, on as SelectField, Yt as SelectGroup, an as SelectInput, en as SelectItem, $t as SelectLabel, rn as SelectScrollDownButton, nn as SelectScrollUpButton, tn as SelectSeparator, Zt as SelectTrigger, Xt as SelectValue, I as Separator, Lr as Sheet, zr as SheetClose, Hr as SheetContent, Kr as SheetDescription, Wr as SheetFooter, Ur as SheetHeader, Gr as SheetTitle, Rr as SheetTrigger, $i as SideBarCompanyData, ta as SideBarMainMenu, oa as SideBarSecondaryMenu, sa as SideBarUserData, oi as Sidebar, mi as SidebarContent, la as SidebarContext, fi as SidebarFooter, hi as SidebarGroup, _i as SidebarGroupAction, vi as SidebarGroupContent, gi as SidebarGroupLabel, di as SidebarHeader, ui as SidebarInput, li as SidebarInset, ea as SidebarLogo, H as SidebarMenu, bi as SidebarMenuAction, xi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Si as SidebarMenuSkeleton, Ci as SidebarMenuSub, Ti as SidebarMenuSubButton, wi as SidebarMenuSubItem, ai as SidebarProvider, ci as SidebarRail, pi as SidebarSeparator, si as SidebarTrigger, qr as Skeleton, xn as StorageFileField, Bo as Switch, kn as Table, jn as TableBody, In as TableCaption, Fn as TableCell, Mn as TableFooter, Pn as TableHead, An as TableHeader, Nn as TableRow, Vo as Tabs, Go as TabsContent, Uo as TabsList, Wo as TabsTrigger, wn as TextAreaField, Cn as TextAreaInput, Tn as TextField, Sn as Textarea, ra as ThemeProvider, aa as ThemeToggle, Vt as TitleSeparator, zo as Toaster, qo as Toggle, Yo as ToggleGroup, Xo as ToggleGroupItem, Yr as Tooltip, Zr as TooltipContent, Jr as TooltipProvider, Xr as TooltipTrigger, et as YusrBusBackground, da as YusrSideBar, ca as YusrSideBarMainMenu, Dn as ZoomableImage, Aa as badgeVariants, tt as buttonVariants, N as cn, is as createGenericDialogSlice, vc as createGenericEntitySlice, bn as isPDF, rs as setupAuthListeners, Ho as tabsListVariants, Ko as toggleVariants, z as useCarousel, po as useComboboxAnchor, Zo as useDialog, ho as useDirection, Qo as useDynamicList, es as useEntityForm, $o as useFormValidation, Ir as useIsMobile, ts as useLightBox, V as useSidebar, ua as useSidebarContext, ns as useStorageFile, ia as useTheme };
5225
+ export { wa as Alert, Da as AlertAction, Ea as AlertDescription, da as AlertDialog, xa as AlertDialogAction, Sa as AlertDialogCancel, ha as AlertDialogContent, ba as AlertDialogDescription, _a as AlertDialogFooter, ga as AlertDialogHeader, va as AlertDialogMedia, ma as AlertDialogOverlay, pa as AlertDialogPortal, ya as AlertDialogTitle, fa as AlertDialogTrigger, Ta as AlertTitle, qi as Avatar, Xi as AvatarBadge, Yi as AvatarFallback, Zi as AvatarGroup, Qi as AvatarGroupCount, Ji as AvatarImage, ka as Badge, Rt as BaseInput, Aa as Breadcrumb, Ia as BreadcrumbEllipsis, Ma as BreadcrumbItem, Na as BreadcrumbLink, ja as BreadcrumbList, Pa as BreadcrumbPage, Fa as BreadcrumbSeparator, P as Button, Et as Calendar, Dt as CalendarDayButton, sn as Card, dn as CardAction, fn as CardContent, un as CardDescription, pn as CardFooter, cn as CardHeader, ln as CardTitle, hn as Carousel, gn as CarouselContent, _n as CarouselItem, yn as CarouselNext, vn as CarouselPrevious, pt as ChangeDialog, Ba as ChartContainer, Wa as ChartLegend, Ga as ChartLegendContent, Va as ChartStyle, Ha as ChartTooltip, Ua as ChartTooltipContent, qa as Checkbox, Ja as Combobox, co as ComboboxChip, so as ComboboxChips, lo as ComboboxChipsInput, io as ComboboxCollection, $a as ComboboxContent, ao as ComboboxEmpty, no as ComboboxGroup, Qa as ComboboxInput, to as ComboboxItem, ro as ComboboxLabel, eo as ComboboxList, oo as ComboboxSeparator, Xa as ComboboxTrigger, Ya as ComboboxValue, Li as Command, Ri as CommandDialog, Vi as CommandEmpty, Hi as CommandGroup, zi as CommandInput, Wi as CommandItem, Bi as CommandList, Ui as CommandSeparator, Gi as CommandShortcut, Yn as ContextMenu, ar as ContextMenuCheckboxItem, tr as ContextMenuContent, Zn as ContextMenuGroup, nr as ContextMenuItem, sr as ContextMenuLabel, Qn as ContextMenuPortal, er as ContextMenuRadioGroup, or as ContextMenuRadioItem, cr as ContextMenuSeparator, lr as ContextMenuShortcut, $n as ContextMenuSub, ir as ContextMenuSubContent, rr as ContextMenuSubTrigger, Xn as ContextMenuTrigger, Wn as CrudEmptyTablePreview, Oi as CrudPage, Jn as CrudTable, ur as CrudTableBodyRow, dr as CrudTableCard, fr as CrudTableHeader, pr as CrudTableHeaderRows, Ei as CrudTablePagination, Di as CrudTableRowActionsMenu, Lt as DateField, Ft as DateInput, Bt as DateTimeField, zt as DateTimeInput, mt as DeleteDialog, F as Dialog, ot as DialogClose, ct as DialogContent, ft as DialogDescription, ut as DialogFooter, lt as DialogHeader, st as DialogOverlay, at as DialogPortal, dt as DialogTitle, it 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, xr as DropdownMenu, Er as DropdownMenuCheckboxItem, wr as DropdownMenuContent, Tr as DropdownMenuGroup, B as DropdownMenuItem, kr as DropdownMenuLabel, Sr as DropdownMenuPortal, Dr as DropdownMenuRadioGroup, Or as DropdownMenuRadioItem, Ar as DropdownMenuSeparator, jr as DropdownMenuShortcut, Mr as DropdownMenuSub, Pr as DropdownMenuSubContent, Nr as DropdownMenuSubTrigger, Cr as DropdownMenuTrigger, rt as DynamicListContainer, Ln as Empty, Un as EmptyContent, Hn as EmptyDescription, Rn as EmptyHeader, Bn as EmptyMedia, Vn 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, Ht as FieldsSection, L as FormField, R as Input, Ut as InputField, ki as InputGroup, ji as InputGroupAddon, Ni as InputGroupButton, Fi as InputGroupInput, Pi as InputGroupText, Ii as InputGroupTextarea, It as Label, En as Lightbox, Xo as Loading, Gt as NumberField, Wt as NumberInput, mr as Pagination, hr as PaginationContent, br as PaginationEllipsis, gr as PaginationItem, _r as PaginationLink, yr as PaginationNext, vr as PaginationPrevious, Kt as PasswordField, qt as PhoneField, Ot as Popover, jt as PopoverAnchor, At as PopoverContent, Pt as PopoverDescription, Mt as PopoverHeader, Nt as PopoverTitle, kt as PopoverTrigger, $e as ProtectedRoute, nt as SaveButton, Fo as ScrollArea, Io as ScrollBar, On as SearchInput, Ki as SearchableSelect, Jt as Select, Qt as SelectContent, on as SelectField, Yt as SelectGroup, an as SelectInput, en as SelectItem, $t as SelectLabel, rn as SelectScrollDownButton, nn as SelectScrollUpButton, tn as SelectSeparator, Zt as SelectTrigger, Xt as SelectValue, I as Separator, Lr as Sheet, zr as SheetClose, Hr as SheetContent, Kr as SheetDescription, Wr as SheetFooter, Ur as SheetHeader, Gr as SheetTitle, Rr as SheetTrigger, $i as SideBarCompanyData, ta as SideBarMainMenu, oa as SideBarSecondaryMenu, sa as SideBarUserData, oi as Sidebar, mi as SidebarContent, la as SidebarContext, fi as SidebarFooter, hi as SidebarGroup, _i as SidebarGroupAction, vi as SidebarGroupContent, gi as SidebarGroupLabel, di as SidebarHeader, ui as SidebarInput, li as SidebarInset, ea as SidebarLogo, H as SidebarMenu, bi as SidebarMenuAction, xi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Si as SidebarMenuSkeleton, Ci as SidebarMenuSub, Ti as SidebarMenuSubButton, wi as SidebarMenuSubItem, ai as SidebarProvider, ci as SidebarRail, pi as SidebarSeparator, si as SidebarTrigger, qr as Skeleton, xn as StorageFileField, Ro as Switch, kn as Table, jn as TableBody, In as TableCaption, Fn as TableCell, Mn as TableFooter, Pn as TableHead, An as TableHeader, Nn as TableRow, zo as Tabs, Uo as TabsContent, Vo as TabsList, Ho as TabsTrigger, wn as TextAreaField, Cn as TextAreaInput, Tn as TextField, Sn as Textarea, ra as ThemeProvider, aa as ThemeToggle, Vt as TitleSeparator, Lo as Toaster, Go as Toggle, qo as ToggleGroup, Jo as ToggleGroupItem, Yr as Tooltip, Zr as TooltipContent, Jr as TooltipProvider, Xr as TooltipTrigger, et as YusrBusBackground, Yo as YusrSideBar, ca as YusrSideBarMainMenu, Dn as ZoomableImage, Oa as badgeVariants, tt as buttonVariants, N as cn, is as createGenericDialogSlice, vc as createGenericEntitySlice, bn as isPDF, rs as setupAuthListeners, Bo as tabsListVariants, Wo as toggleVariants, z as useCarousel, uo as useComboboxAnchor, Zo as useDialog, po as useDirection, Qo as useDynamicList, es as useEntityForm, $o as useFormValidation, Ir as useIsMobile, ts as useLightBox, V as useSidebar, ua as useSidebarContext, ns as useStorageFile, ia as useTheme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yusr_systems/ui",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org/"