@algorithm-shift/design-system 1.2.54 → 1.2.56

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.mjs CHANGED
@@ -106,10 +106,26 @@ var Accordion = ({
106
106
  };
107
107
  var Accordion_default = Accordion;
108
108
 
109
+ // src/components/Layout/Slot.tsx
110
+ import { Fragment, jsx as jsx6 } from "react/jsx-runtime";
111
+ var Slot = ({
112
+ children
113
+ }) => {
114
+ return /* @__PURE__ */ jsx6(Fragment, { children });
115
+ };
116
+ var Slot_default = Slot;
117
+
118
+ // src/components/Layout/AccordionGroup.tsx
119
+ import { jsx as jsx7 } from "react/jsx-runtime";
120
+ var AccordionGroup = ({ children, style, className }) => {
121
+ return /* @__PURE__ */ jsx7("div", { className, style, children });
122
+ };
123
+ var AccordionGroup_default = AccordionGroup;
124
+
109
125
  // src/components/ui/button.tsx
110
- import { Slot } from "@radix-ui/react-slot";
126
+ import { Slot as Slot2 } from "@radix-ui/react-slot";
111
127
  import { cva } from "class-variance-authority";
112
- import { jsx as jsx6 } from "react/jsx-runtime";
128
+ import { jsx as jsx8 } from "react/jsx-runtime";
113
129
  var buttonVariants = cva(
114
130
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-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",
115
131
  {
@@ -142,8 +158,8 @@ function Button({
142
158
  asChild = false,
143
159
  ...props
144
160
  }) {
145
- const Comp = asChild ? Slot : "button";
146
- return /* @__PURE__ */ jsx6(
161
+ const Comp = asChild ? Slot2 : "button";
162
+ return /* @__PURE__ */ jsx8(
147
163
  Comp,
148
164
  {
149
165
  "data-slot": "button",
@@ -154,14 +170,14 @@ function Button({
154
170
  }
155
171
 
156
172
  // src/components/Basic/Button/Button.tsx
157
- import { jsx as jsx7 } from "react/jsx-runtime";
173
+ import { jsx as jsx9 } from "react/jsx-runtime";
158
174
  var ButtonWrapper = ({
159
175
  className,
160
176
  style,
161
177
  textContent = "Button",
162
178
  ...props
163
179
  }) => {
164
- return /* @__PURE__ */ jsx7(
180
+ return /* @__PURE__ */ jsx9(
165
181
  Button,
166
182
  {
167
183
  ...props,
@@ -177,7 +193,7 @@ var Button_default = ButtonWrapper;
177
193
  var image_placeholder_default = "data:image/png;base64,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";
178
194
 
179
195
  // src/components/Basic/Image/Image.tsx
180
- import { jsx as jsx8 } from "react/jsx-runtime";
196
+ import { jsx as jsx10 } from "react/jsx-runtime";
181
197
  var ImageControl = ({
182
198
  className,
183
199
  style,
@@ -194,21 +210,21 @@ var ImageControl = ({
194
210
  className
195
211
  );
196
212
  if (!imageUrl && !imageUrlExternal) {
197
- return /* @__PURE__ */ jsx8("div", { className: imageClass, children: /* @__PURE__ */ jsx8("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
213
+ return /* @__PURE__ */ jsx10("div", { className: imageClass, children: /* @__PURE__ */ jsx10("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
198
214
  }
199
215
  const url = imageUrlExternal || imageUrl;
200
- return /* @__PURE__ */ jsx8("img", { src: url, alt: altText, className: defaultImgClass, style });
216
+ return /* @__PURE__ */ jsx10("img", { src: url, alt: altText, className: defaultImgClass, style });
201
217
  };
202
218
  var Image_default = ImageControl;
203
219
 
204
220
  // src/components/Basic/Shape/Shape.tsx
205
- import { jsx as jsx9 } from "react/jsx-runtime";
221
+ import { jsx as jsx11 } from "react/jsx-runtime";
206
222
  var Shape = ({
207
223
  children,
208
224
  className,
209
225
  style
210
226
  }) => {
211
- return /* @__PURE__ */ jsx9("div", { className, style, children });
227
+ return /* @__PURE__ */ jsx11("div", { className, style, children });
212
228
  };
213
229
  var Shape_default = Shape;
214
230
 
@@ -26545,9 +26561,10 @@ var __iconNode1634 = [
26545
26561
  var ZoomOut = createLucideIcon("zoom-out", __iconNode1634);
26546
26562
 
26547
26563
  // src/components/Basic/Breadcrumb/Breadcrumb.tsx
26548
- import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
26549
- var Breadcrumb = ({ list = [], className, style, LinkComponent }) => {
26550
- return /* @__PURE__ */ jsx10(
26564
+ import Link3 from "next/link";
26565
+ import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
26566
+ var Breadcrumb = ({ list = [], className, style }) => {
26567
+ return /* @__PURE__ */ jsx12(
26551
26568
  "nav",
26552
26569
  {
26553
26570
  "aria-label": "breadcrumb",
@@ -26556,15 +26573,15 @@ var Breadcrumb = ({ list = [], className, style, LinkComponent }) => {
26556
26573
  children: list.map((item, index) => {
26557
26574
  const isLast = index === list.length - 1;
26558
26575
  return /* @__PURE__ */ jsxs3("div", { className: "flex items-center", children: [
26559
- item.url && !isLast && LinkComponent ? /* @__PURE__ */ jsx10(
26560
- LinkComponent,
26576
+ item.url && !isLast ? /* @__PURE__ */ jsx12(
26577
+ Link3,
26561
26578
  {
26562
26579
  href: item.url,
26563
26580
  className: "hover:text-foreground transition-colors",
26564
26581
  children: item.header
26565
26582
  }
26566
- ) : /* @__PURE__ */ jsx10("span", { className: "text-foreground font-medium", children: item.header }),
26567
- !isLast && /* @__PURE__ */ jsx10(ChevronRight, { className: "mx-2 h-4 w-4 text-muted-foreground" })
26583
+ ) : /* @__PURE__ */ jsx12("span", { className: "text-foreground font-medium", children: item.header }),
26584
+ !isLast && /* @__PURE__ */ jsx12(ChevronRight, { className: "mx-2 h-4 w-4 text-muted-foreground" })
26568
26585
  ] }, item.id);
26569
26586
  })
26570
26587
  }
@@ -26574,16 +26591,16 @@ var Breadcrumb_default = Breadcrumb;
26574
26591
 
26575
26592
  // src/components/ui/dropdown-menu.tsx
26576
26593
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
26577
- import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
26594
+ import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
26578
26595
  function DropdownMenu({
26579
26596
  ...props
26580
26597
  }) {
26581
- return /* @__PURE__ */ jsx11(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
26598
+ return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
26582
26599
  }
26583
26600
  function DropdownMenuTrigger({
26584
26601
  ...props
26585
26602
  }) {
26586
- return /* @__PURE__ */ jsx11(
26603
+ return /* @__PURE__ */ jsx13(
26587
26604
  DropdownMenuPrimitive.Trigger,
26588
26605
  {
26589
26606
  "data-slot": "dropdown-menu-trigger",
@@ -26596,7 +26613,7 @@ function DropdownMenuContent({
26596
26613
  sideOffset = 4,
26597
26614
  ...props
26598
26615
  }) {
26599
- return /* @__PURE__ */ jsx11(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx11(
26616
+ return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx13(
26600
26617
  DropdownMenuPrimitive.Content,
26601
26618
  {
26602
26619
  "data-slot": "dropdown-menu-content",
@@ -26615,7 +26632,7 @@ function DropdownMenuItem({
26615
26632
  variant = "default",
26616
26633
  ...props
26617
26634
  }) {
26618
- return /* @__PURE__ */ jsx11(
26635
+ return /* @__PURE__ */ jsx13(
26619
26636
  DropdownMenuPrimitive.Item,
26620
26637
  {
26621
26638
  "data-slot": "dropdown-menu-item",
@@ -26632,7 +26649,7 @@ function DropdownMenuItem({
26632
26649
  function DropdownMenuSub({
26633
26650
  ...props
26634
26651
  }) {
26635
- return /* @__PURE__ */ jsx11(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
26652
+ return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
26636
26653
  }
26637
26654
  function DropdownMenuSubTrigger({
26638
26655
  className,
@@ -26652,7 +26669,7 @@ function DropdownMenuSubTrigger({
26652
26669
  ...props,
26653
26670
  children: [
26654
26671
  children,
26655
- /* @__PURE__ */ jsx11(ChevronRight, { className: "ml-auto size-4" })
26672
+ /* @__PURE__ */ jsx13(ChevronRight, { className: "ml-auto size-4" })
26656
26673
  ]
26657
26674
  }
26658
26675
  );
@@ -26661,7 +26678,7 @@ function DropdownMenuSubContent({
26661
26678
  className,
26662
26679
  ...props
26663
26680
  }) {
26664
- return /* @__PURE__ */ jsx11(
26681
+ return /* @__PURE__ */ jsx13(
26665
26682
  DropdownMenuPrimitive.SubContent,
26666
26683
  {
26667
26684
  "data-slot": "dropdown-menu-sub-content",
@@ -26675,11 +26692,12 @@ function DropdownMenuSubContent({
26675
26692
  }
26676
26693
 
26677
26694
  // src/components/Basic/ButtonGroup/ButtonGroup.tsx
26678
- import { jsx as jsx12, jsxs as jsxs5 } from "react/jsx-runtime";
26679
- function SplitButton({ style, textContent, className, list = [], LinkComponent }) {
26695
+ import Link4 from "next/link";
26696
+ import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
26697
+ function SplitButton({ style, textContent, className, list = [] }) {
26680
26698
  const bgColor = style?.backgroundColor || "";
26681
26699
  return /* @__PURE__ */ jsxs5("div", { className: "inline-flex rounded-md overflow-hidden border border-teal-200 bg-teal-700 items-center focus:ring-0", style: { backgroundColor: bgColor }, children: [
26682
- /* @__PURE__ */ jsx12(
26700
+ /* @__PURE__ */ jsx14(
26683
26701
  Button,
26684
26702
  {
26685
26703
  className: `rounded-none border-r px-4 py-2 text-whit focus:ring-0 ${className || ""}`,
@@ -26688,16 +26706,16 @@ function SplitButton({ style, textContent, className, list = [], LinkComponent }
26688
26706
  }
26689
26707
  ),
26690
26708
  /* @__PURE__ */ jsxs5(DropdownMenu, { children: [
26691
- /* @__PURE__ */ jsx12(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx12(
26709
+ /* @__PURE__ */ jsx14(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx14(
26692
26710
  Button,
26693
26711
  {
26694
26712
  className: "rounded-none bg-teal-700 px-4 py-2 text-white ring-0 shadow-none hover:bg-teal-600 focus:ring-0",
26695
26713
  "aria-label": "Open Dropdown",
26696
26714
  style: { backgroundColor: bgColor },
26697
- children: /* @__PURE__ */ jsx12(ChevronDown, { className: "w-4 h-4" })
26715
+ children: /* @__PURE__ */ jsx14(ChevronDown, { className: "w-4 h-4" })
26698
26716
  }
26699
26717
  ) }),
26700
- /* @__PURE__ */ jsx12(DropdownMenuContent, { align: "end", className: "bg-white min-w-[120px]", children: list.map((item) => /* @__PURE__ */ jsx12(DropdownMenuItem, { className: "text-black", children: LinkComponent ? /* @__PURE__ */ jsx12(LinkComponent, { href: item.url || "#", children: item.header }) : item.header }, item.id)) })
26718
+ /* @__PURE__ */ jsx14(DropdownMenuContent, { align: "end", className: "bg-white min-w-[120px]", children: list.map((item) => /* @__PURE__ */ jsx14(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx14(Link4, { href: item.url || "#", children: item.header }) }, item.id)) })
26701
26719
  ] })
26702
26720
  ] });
26703
26721
  }
@@ -26705,7 +26723,7 @@ function SplitButton({ style, textContent, className, list = [], LinkComponent }
26705
26723
  // src/components/Basic/Icon/Icon.tsx
26706
26724
  import * as faSolid from "@fortawesome/free-solid-svg-icons";
26707
26725
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
26708
- import { jsx as jsx13 } from "react/jsx-runtime";
26726
+ import { jsx as jsx15 } from "react/jsx-runtime";
26709
26727
  var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize = 10, style }) => {
26710
26728
  let content = null;
26711
26729
  if (iconType === "fontawesome") {
@@ -26714,7 +26732,7 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
26714
26732
  if (!faIcon) {
26715
26733
  return null;
26716
26734
  }
26717
- content = /* @__PURE__ */ jsx13(
26735
+ content = /* @__PURE__ */ jsx15(
26718
26736
  FontAwesomeIcon,
26719
26737
  {
26720
26738
  icon: faIcon,
@@ -26728,16 +26746,16 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
26728
26746
  if (!Lucide) {
26729
26747
  return null;
26730
26748
  }
26731
- content = /* @__PURE__ */ jsx13(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
26749
+ content = /* @__PURE__ */ jsx15(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
26732
26750
  }
26733
- return /* @__PURE__ */ jsx13("div", { style, className, children: content });
26751
+ return /* @__PURE__ */ jsx15("div", { style, className, children: content });
26734
26752
  };
26735
26753
  var Icon_default = Icon2;
26736
26754
 
26737
26755
  // src/components/ui/input.tsx
26738
- import { jsx as jsx14 } from "react/jsx-runtime";
26756
+ import { jsx as jsx16 } from "react/jsx-runtime";
26739
26757
  function Input({ className, type, ...props }) {
26740
- return /* @__PURE__ */ jsx14(
26758
+ return /* @__PURE__ */ jsx16(
26741
26759
  "input",
26742
26760
  {
26743
26761
  type,
@@ -26754,7 +26772,7 @@ function Input({ className, type, ...props }) {
26754
26772
  }
26755
26773
 
26756
26774
  // src/components/Inputs/TextInput/TextInput.tsx
26757
- import { Fragment, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
26775
+ import { Fragment as Fragment2, jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
26758
26776
  var TextInput = ({ className, style, ...props }) => {
26759
26777
  const placeholder = props.placeholder || "Placeholder text";
26760
26778
  const isEditable = props.isEditable ?? true;
@@ -26764,8 +26782,8 @@ var TextInput = ({ className, style, ...props }) => {
26764
26782
  const handleChange = (e) => {
26765
26783
  props.onChange?.(e);
26766
26784
  };
26767
- return /* @__PURE__ */ jsxs6(Fragment, { children: [
26768
- /* @__PURE__ */ jsx15(
26785
+ return /* @__PURE__ */ jsxs6(Fragment2, { children: [
26786
+ /* @__PURE__ */ jsx17(
26769
26787
  Input,
26770
26788
  {
26771
26789
  type: "text",
@@ -26783,13 +26801,13 @@ var TextInput = ({ className, style, ...props }) => {
26783
26801
  readOnly: isReadonly
26784
26802
  }
26785
26803
  ),
26786
- props.errorMessage && /* @__PURE__ */ jsx15("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26804
+ props.errorMessage && /* @__PURE__ */ jsx17("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26787
26805
  ] });
26788
26806
  };
26789
26807
  var TextInput_default = TextInput;
26790
26808
 
26791
26809
  // src/components/Inputs/NumberInput/NumberInput.tsx
26792
- import { Fragment as Fragment2, jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
26810
+ import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
26793
26811
  var NumberInput = ({ className, style, ...props }) => {
26794
26812
  const placeholder = props.placeholder ?? "Placeholder text";
26795
26813
  const isEditable = props.isEditable ?? true;
@@ -26799,10 +26817,10 @@ var NumberInput = ({ className, style, ...props }) => {
26799
26817
  const handleChange = (e) => {
26800
26818
  props.onChange?.(e);
26801
26819
  };
26802
- return /* @__PURE__ */ jsxs7(Fragment2, { children: [
26820
+ return /* @__PURE__ */ jsxs7(Fragment3, { children: [
26803
26821
  /* @__PURE__ */ jsxs7("div", { className: "flex justify-start items-center relative", children: [
26804
- /* @__PURE__ */ jsx16(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26805
- /* @__PURE__ */ jsx16(
26822
+ /* @__PURE__ */ jsx18(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26823
+ /* @__PURE__ */ jsx18(
26806
26824
  Input,
26807
26825
  {
26808
26826
  type: "number",
@@ -26822,13 +26840,13 @@ var NumberInput = ({ className, style, ...props }) => {
26822
26840
  }
26823
26841
  )
26824
26842
  ] }),
26825
- props.errorMessage && /* @__PURE__ */ jsx16("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26843
+ props.errorMessage && /* @__PURE__ */ jsx18("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26826
26844
  ] });
26827
26845
  };
26828
26846
  var NumberInput_default = NumberInput;
26829
26847
 
26830
26848
  // src/components/Inputs/EmailInput/EmailInput.tsx
26831
- import { Fragment as Fragment3, jsx as jsx17, jsxs as jsxs8 } from "react/jsx-runtime";
26849
+ import { Fragment as Fragment4, jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
26832
26850
  var EmailInput = ({ className, style, ...props }) => {
26833
26851
  const placeholder = props.placeholder ?? "Placeholder text";
26834
26852
  const isEditable = props.isEditable ?? true;
@@ -26838,10 +26856,10 @@ var EmailInput = ({ className, style, ...props }) => {
26838
26856
  const handleChange = (e) => {
26839
26857
  props.onChange?.(e);
26840
26858
  };
26841
- return /* @__PURE__ */ jsxs8(Fragment3, { children: [
26859
+ return /* @__PURE__ */ jsxs8(Fragment4, { children: [
26842
26860
  /* @__PURE__ */ jsxs8("div", { className: "flex justify-start items-center relative", children: [
26843
- /* @__PURE__ */ jsx17(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26844
- /* @__PURE__ */ jsx17(
26861
+ /* @__PURE__ */ jsx19(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26862
+ /* @__PURE__ */ jsx19(
26845
26863
  Input,
26846
26864
  {
26847
26865
  type: "email",
@@ -26860,13 +26878,13 @@ var EmailInput = ({ className, style, ...props }) => {
26860
26878
  }
26861
26879
  )
26862
26880
  ] }),
26863
- props.errorMessage && /* @__PURE__ */ jsx17("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26881
+ props.errorMessage && /* @__PURE__ */ jsx19("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26864
26882
  ] });
26865
26883
  };
26866
26884
  var EmailInput_default = EmailInput;
26867
26885
 
26868
26886
  // src/components/Inputs/PasswordInput/PasswordInput.tsx
26869
- import { Fragment as Fragment4, jsx as jsx18, jsxs as jsxs9 } from "react/jsx-runtime";
26887
+ import { Fragment as Fragment5, jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
26870
26888
  var PasswordInput = ({ className, style, ...props }) => {
26871
26889
  const placeholder = props.placeholder ?? "Placeholder text";
26872
26890
  const isEditable = props.isEditable ?? true;
@@ -26876,10 +26894,10 @@ var PasswordInput = ({ className, style, ...props }) => {
26876
26894
  const handleChange = (e) => {
26877
26895
  props.onChange?.(e);
26878
26896
  };
26879
- return /* @__PURE__ */ jsxs9(Fragment4, { children: [
26897
+ return /* @__PURE__ */ jsxs9(Fragment5, { children: [
26880
26898
  /* @__PURE__ */ jsxs9("div", { className: "flex justify-start items-center relative", children: [
26881
- /* @__PURE__ */ jsx18(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26882
- /* @__PURE__ */ jsx18(
26899
+ /* @__PURE__ */ jsx20(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26900
+ /* @__PURE__ */ jsx20(
26883
26901
  Input,
26884
26902
  {
26885
26903
  type: "password",
@@ -26899,15 +26917,15 @@ var PasswordInput = ({ className, style, ...props }) => {
26899
26917
  }
26900
26918
  )
26901
26919
  ] }),
26902
- props.errorMessage && /* @__PURE__ */ jsx18("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26920
+ props.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26903
26921
  ] });
26904
26922
  };
26905
26923
  var PasswordInput_default = PasswordInput;
26906
26924
 
26907
26925
  // src/components/ui/textarea.tsx
26908
- import { jsx as jsx19 } from "react/jsx-runtime";
26926
+ import { jsx as jsx21 } from "react/jsx-runtime";
26909
26927
  function Textarea({ className, ...props }) {
26910
- return /* @__PURE__ */ jsx19(
26928
+ return /* @__PURE__ */ jsx21(
26911
26929
  "textarea",
26912
26930
  {
26913
26931
  "data-slot": "textarea",
@@ -26921,7 +26939,7 @@ function Textarea({ className, ...props }) {
26921
26939
  }
26922
26940
 
26923
26941
  // src/components/Inputs/Textarea/Textarea.tsx
26924
- import { Fragment as Fragment5, jsx as jsx20, jsxs as jsxs10 } from "react/jsx-runtime";
26942
+ import { Fragment as Fragment6, jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
26925
26943
  var Textarea2 = ({ className, style, ...props }) => {
26926
26944
  const placeholder = props.placeholder ?? "Placeholder text";
26927
26945
  const isEditable = props.isEditable ?? true;
@@ -26931,8 +26949,8 @@ var Textarea2 = ({ className, style, ...props }) => {
26931
26949
  const handleChange = (e) => {
26932
26950
  props.onChange?.(e);
26933
26951
  };
26934
- return /* @__PURE__ */ jsxs10(Fragment5, { children: [
26935
- /* @__PURE__ */ jsx20(
26952
+ return /* @__PURE__ */ jsxs10(Fragment6, { children: [
26953
+ /* @__PURE__ */ jsx22(
26936
26954
  Textarea,
26937
26955
  {
26938
26956
  id: "textarea-field",
@@ -26950,13 +26968,13 @@ var Textarea2 = ({ className, style, ...props }) => {
26950
26968
  readOnly: isReadonly
26951
26969
  }
26952
26970
  ),
26953
- props.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26971
+ props.errorMessage && /* @__PURE__ */ jsx22("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26954
26972
  ] });
26955
26973
  };
26956
26974
  var Textarea_default = Textarea2;
26957
26975
 
26958
26976
  // src/components/Inputs/UrlInput/UrlInput.tsx
26959
- import { Fragment as Fragment6, jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
26977
+ import { Fragment as Fragment7, jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
26960
26978
  var UrlInput = ({ className, style, ...props }) => {
26961
26979
  const placeholder = props.placeholder ?? "Placeholder text";
26962
26980
  const isEditable = props.isEditable ?? true;
@@ -26966,10 +26984,10 @@ var UrlInput = ({ className, style, ...props }) => {
26966
26984
  const handleChange = (e) => {
26967
26985
  props.onChange?.(e);
26968
26986
  };
26969
- return /* @__PURE__ */ jsxs11(Fragment6, { children: [
26987
+ return /* @__PURE__ */ jsxs11(Fragment7, { children: [
26970
26988
  /* @__PURE__ */ jsxs11("div", { className: "flex justify-start items-center relative", children: [
26971
- /* @__PURE__ */ jsx21("div", { className: "bg-[#E9E9E9] absolute px-10 text-center top-1/2 h-full justify-center items-center flex w-10 -translate-y-1/2 text-[#383838] font-[500] text-[12px]", children: "https://" }),
26972
- /* @__PURE__ */ jsx21(
26989
+ /* @__PURE__ */ jsx23("div", { className: "bg-[#E9E9E9] absolute px-10 text-center top-1/2 h-full justify-center items-center flex w-10 -translate-y-1/2 text-[#383838] font-[500] text-[12px]", children: "https://" }),
26990
+ /* @__PURE__ */ jsx23(
26973
26991
  Input,
26974
26992
  {
26975
26993
  id: "url-field",
@@ -26989,19 +27007,19 @@ var UrlInput = ({ className, style, ...props }) => {
26989
27007
  }
26990
27008
  )
26991
27009
  ] }),
26992
- props.errorMessage && /* @__PURE__ */ jsx21("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27010
+ props.errorMessage && /* @__PURE__ */ jsx23("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26993
27011
  ] });
26994
27012
  };
26995
27013
  var UrlInput_default = UrlInput;
26996
27014
 
26997
27015
  // src/components/ui/checkbox.tsx
26998
27016
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
26999
- import { jsx as jsx22 } from "react/jsx-runtime";
27017
+ import { jsx as jsx24 } from "react/jsx-runtime";
27000
27018
  function Checkbox({
27001
27019
  className,
27002
27020
  ...props
27003
27021
  }) {
27004
- return /* @__PURE__ */ jsx22(
27022
+ return /* @__PURE__ */ jsx24(
27005
27023
  CheckboxPrimitive.Root,
27006
27024
  {
27007
27025
  "data-slot": "checkbox",
@@ -27010,12 +27028,12 @@ function Checkbox({
27010
27028
  className
27011
27029
  ),
27012
27030
  ...props,
27013
- children: /* @__PURE__ */ jsx22(
27031
+ children: /* @__PURE__ */ jsx24(
27014
27032
  CheckboxPrimitive.Indicator,
27015
27033
  {
27016
27034
  "data-slot": "checkbox-indicator",
27017
27035
  className: "flex items-center justify-center text-current transition-none",
27018
- children: /* @__PURE__ */ jsx22(Check, { className: "size-3.5" })
27036
+ children: /* @__PURE__ */ jsx24(Check, { className: "size-3.5" })
27019
27037
  }
27020
27038
  )
27021
27039
  }
@@ -27024,12 +27042,12 @@ function Checkbox({
27024
27042
 
27025
27043
  // src/components/ui/label.tsx
27026
27044
  import * as LabelPrimitive from "@radix-ui/react-label";
27027
- import { jsx as jsx23 } from "react/jsx-runtime";
27045
+ import { jsx as jsx25 } from "react/jsx-runtime";
27028
27046
  function Label2({
27029
27047
  className,
27030
27048
  ...props
27031
27049
  }) {
27032
- return /* @__PURE__ */ jsx23(
27050
+ return /* @__PURE__ */ jsx25(
27033
27051
  LabelPrimitive.Root,
27034
27052
  {
27035
27053
  "data-slot": "label",
@@ -27043,7 +27061,7 @@ function Label2({
27043
27061
  }
27044
27062
 
27045
27063
  // src/components/Inputs/Checkbox/Checkbox.tsx
27046
- import { Fragment as Fragment7, jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
27064
+ import { Fragment as Fragment8, jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
27047
27065
  var CheckboxInput = ({ className, style, ...props }) => {
27048
27066
  const isEditable = props.isEditable ?? true;
27049
27067
  const isDisabled = props.isDisabled ?? false;
@@ -27051,9 +27069,9 @@ var CheckboxInput = ({ className, style, ...props }) => {
27051
27069
  const handleChange = (value) => {
27052
27070
  props.onChange?.(value);
27053
27071
  };
27054
- return /* @__PURE__ */ jsxs12(Fragment7, { children: [
27055
- /* @__PURE__ */ jsx24("div", { className, style, children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-2", children: [
27056
- /* @__PURE__ */ jsx24(
27072
+ return /* @__PURE__ */ jsxs12(Fragment8, { children: [
27073
+ /* @__PURE__ */ jsx26("div", { className, style, children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center space-x-2", children: [
27074
+ /* @__PURE__ */ jsx26(
27057
27075
  Checkbox,
27058
27076
  {
27059
27077
  id: props.name || "checkbox",
@@ -27062,21 +27080,21 @@ var CheckboxInput = ({ className, style, ...props }) => {
27062
27080
  disabled: !isEditable || isDisabled
27063
27081
  }
27064
27082
  ),
27065
- /* @__PURE__ */ jsx24(Label2, { htmlFor: props.name || "checkbox", children: text })
27083
+ /* @__PURE__ */ jsx26(Label2, { htmlFor: props.name || "checkbox", children: text })
27066
27084
  ] }) }),
27067
- props.errorMessage && /* @__PURE__ */ jsx24("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27085
+ props.errorMessage && /* @__PURE__ */ jsx26("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27068
27086
  ] });
27069
27087
  };
27070
27088
  var Checkbox_default = CheckboxInput;
27071
27089
 
27072
27090
  // src/components/ui/radio-group.tsx
27073
27091
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
27074
- import { jsx as jsx25 } from "react/jsx-runtime";
27092
+ import { jsx as jsx27 } from "react/jsx-runtime";
27075
27093
  function RadioGroup2({
27076
27094
  className,
27077
27095
  ...props
27078
27096
  }) {
27079
- return /* @__PURE__ */ jsx25(
27097
+ return /* @__PURE__ */ jsx27(
27080
27098
  RadioGroupPrimitive.Root,
27081
27099
  {
27082
27100
  "data-slot": "radio-group",
@@ -27089,7 +27107,7 @@ function RadioGroupItem({
27089
27107
  className,
27090
27108
  ...props
27091
27109
  }) {
27092
- return /* @__PURE__ */ jsx25(
27110
+ return /* @__PURE__ */ jsx27(
27093
27111
  RadioGroupPrimitive.Item,
27094
27112
  {
27095
27113
  "data-slot": "radio-group-item",
@@ -27098,12 +27116,12 @@ function RadioGroupItem({
27098
27116
  className
27099
27117
  ),
27100
27118
  ...props,
27101
- children: /* @__PURE__ */ jsx25(
27119
+ children: /* @__PURE__ */ jsx27(
27102
27120
  RadioGroupPrimitive.Indicator,
27103
27121
  {
27104
27122
  "data-slot": "radio-group-indicator",
27105
27123
  className: "relative flex items-center justify-center",
27106
- children: /* @__PURE__ */ jsx25(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
27124
+ children: /* @__PURE__ */ jsx27(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
27107
27125
  }
27108
27126
  )
27109
27127
  }
@@ -27111,7 +27129,7 @@ function RadioGroupItem({
27111
27129
  }
27112
27130
 
27113
27131
  // src/components/Inputs/RadioInput/RadioInput.tsx
27114
- import { Fragment as Fragment8, jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
27132
+ import { Fragment as Fragment9, jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
27115
27133
  var RadioInput = ({
27116
27134
  className,
27117
27135
  style,
@@ -27130,29 +27148,29 @@ var RadioInput = ({
27130
27148
  onChange?.(value);
27131
27149
  };
27132
27150
  const resolvedDefaultValue = (typeof defaultValue === "string" ? defaultValue : void 0) ?? options[0]?.value;
27133
- return /* @__PURE__ */ jsxs13(Fragment8, { children: [
27134
- /* @__PURE__ */ jsx26("div", { className, style, children: /* @__PURE__ */ jsxs13(
27151
+ return /* @__PURE__ */ jsxs13(Fragment9, { children: [
27152
+ /* @__PURE__ */ jsx28("div", { className, style, children: /* @__PURE__ */ jsxs13(
27135
27153
  RadioGroup2,
27136
27154
  {
27137
27155
  defaultValue: resolvedDefaultValue,
27138
27156
  onValueChange: handleChange,
27139
27157
  children: [
27140
- options.length === 0 && /* @__PURE__ */ jsx26("div", { className: "text-sm text-gray-500", children: "No options available" }),
27158
+ options.length === 0 && /* @__PURE__ */ jsx28("div", { className: "text-sm text-gray-500", children: "No options available" }),
27141
27159
  options.map((item) => /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-2", children: [
27142
- /* @__PURE__ */ jsx26(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
27143
- /* @__PURE__ */ jsx26(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
27160
+ /* @__PURE__ */ jsx28(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
27161
+ /* @__PURE__ */ jsx28(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
27144
27162
  ] }, item.value))
27145
27163
  ]
27146
27164
  }
27147
27165
  ) }),
27148
- props.errorMessage && /* @__PURE__ */ jsx26("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27166
+ props.errorMessage && /* @__PURE__ */ jsx28("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27149
27167
  ] });
27150
27168
  };
27151
27169
  var RadioInput_default = RadioInput;
27152
27170
 
27153
27171
  // src/components/Inputs/MultiCheckbox/MultiCheckbox.tsx
27154
27172
  import { useCallback, useState as useState2 } from "react";
27155
- import { jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
27173
+ import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
27156
27174
  var MultiCheckbox = ({
27157
27175
  className,
27158
27176
  style,
@@ -27185,9 +27203,9 @@ var MultiCheckbox = ({
27185
27203
  className: cn("flex flex-col gap-3", className),
27186
27204
  style,
27187
27205
  children: [
27188
- options.length === 0 && /* @__PURE__ */ jsx27("p", { className: "text-sm text-gray-500", children: "No options available." }),
27206
+ options.length === 0 && /* @__PURE__ */ jsx29("p", { className: "text-sm text-gray-500", children: "No options available." }),
27189
27207
  options.map((opt) => /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-2", children: [
27190
- /* @__PURE__ */ jsx27(
27208
+ /* @__PURE__ */ jsx29(
27191
27209
  Checkbox,
27192
27210
  {
27193
27211
  id: opt.value,
@@ -27196,7 +27214,7 @@ var MultiCheckbox = ({
27196
27214
  disabled: !isEditable || isDisabled
27197
27215
  }
27198
27216
  ),
27199
- /* @__PURE__ */ jsx27(Label2, { htmlFor: opt.value, children: opt.label })
27217
+ /* @__PURE__ */ jsx29(Label2, { htmlFor: opt.value, children: opt.label })
27200
27218
  ] }, opt.value))
27201
27219
  ]
27202
27220
  }
@@ -27207,7 +27225,7 @@ var MultiCheckbox_default = MultiCheckbox;
27207
27225
  // src/components/Global/TinyMceEditor.tsx
27208
27226
  import { useMemo, useRef } from "react";
27209
27227
  import { Editor } from "@tinymce/tinymce-react";
27210
- import { jsx as jsx28 } from "react/jsx-runtime";
27228
+ import { jsx as jsx30 } from "react/jsx-runtime";
27211
27229
  function MyEditor({
27212
27230
  value,
27213
27231
  onChange,
@@ -27232,7 +27250,7 @@ function MyEditor({
27232
27250
  }
27233
27251
  return toolbar;
27234
27252
  }, [isDefault]);
27235
- return /* @__PURE__ */ jsx28(
27253
+ return /* @__PURE__ */ jsx30(
27236
27254
  Editor,
27237
27255
  {
27238
27256
  apiKey: process.env.NEXT_PUBLIC_TINYMCE_API_KEY,
@@ -27276,7 +27294,7 @@ function MyEditor({
27276
27294
  }
27277
27295
 
27278
27296
  // src/components/Inputs/RichText/RichText.tsx
27279
- import { jsx as jsx29, jsxs as jsxs15 } from "react/jsx-runtime";
27297
+ import { jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
27280
27298
  function RichText({ className, style, ...props }) {
27281
27299
  return /* @__PURE__ */ jsxs15(
27282
27300
  "div",
@@ -27287,8 +27305,8 @@ function RichText({ className, style, ...props }) {
27287
27305
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27288
27306
  },
27289
27307
  children: [
27290
- /* @__PURE__ */ jsx29(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value, isDefault: true }),
27291
- props.errorMessage && /* @__PURE__ */ jsx29("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27308
+ /* @__PURE__ */ jsx31(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value, isDefault: true }),
27309
+ props.errorMessage && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27292
27310
  ]
27293
27311
  }
27294
27312
  );
@@ -27296,16 +27314,16 @@ function RichText({ className, style, ...props }) {
27296
27314
 
27297
27315
  // src/components/ui/select.tsx
27298
27316
  import * as SelectPrimitive from "@radix-ui/react-select";
27299
- import { jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
27317
+ import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
27300
27318
  function Select({
27301
27319
  ...props
27302
27320
  }) {
27303
- return /* @__PURE__ */ jsx30(SelectPrimitive.Root, { "data-slot": "select", ...props });
27321
+ return /* @__PURE__ */ jsx32(SelectPrimitive.Root, { "data-slot": "select", ...props });
27304
27322
  }
27305
27323
  function SelectValue({
27306
27324
  ...props
27307
27325
  }) {
27308
- return /* @__PURE__ */ jsx30(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
27326
+ return /* @__PURE__ */ jsx32(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
27309
27327
  }
27310
27328
  function SelectTrigger({
27311
27329
  className,
@@ -27325,7 +27343,7 @@ function SelectTrigger({
27325
27343
  ...props,
27326
27344
  children: [
27327
27345
  children,
27328
- /* @__PURE__ */ jsx30(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx30(ChevronDown, { className: "size-4 opacity-50" }) })
27346
+ /* @__PURE__ */ jsx32(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx32(ChevronDown, { className: "size-4 opacity-50" }) })
27329
27347
  ]
27330
27348
  }
27331
27349
  );
@@ -27336,7 +27354,7 @@ function SelectContent({
27336
27354
  position = "popper",
27337
27355
  ...props
27338
27356
  }) {
27339
- return /* @__PURE__ */ jsx30(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs16(
27357
+ return /* @__PURE__ */ jsx32(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs16(
27340
27358
  SelectPrimitive.Content,
27341
27359
  {
27342
27360
  "data-slot": "select-content",
@@ -27348,8 +27366,8 @@ function SelectContent({
27348
27366
  position,
27349
27367
  ...props,
27350
27368
  children: [
27351
- /* @__PURE__ */ jsx30(SelectScrollUpButton, {}),
27352
- /* @__PURE__ */ jsx30(
27369
+ /* @__PURE__ */ jsx32(SelectScrollUpButton, {}),
27370
+ /* @__PURE__ */ jsx32(
27353
27371
  SelectPrimitive.Viewport,
27354
27372
  {
27355
27373
  className: cn(
@@ -27359,7 +27377,7 @@ function SelectContent({
27359
27377
  children
27360
27378
  }
27361
27379
  ),
27362
- /* @__PURE__ */ jsx30(SelectScrollDownButton, {})
27380
+ /* @__PURE__ */ jsx32(SelectScrollDownButton, {})
27363
27381
  ]
27364
27382
  }
27365
27383
  ) });
@@ -27379,8 +27397,8 @@ function SelectItem({
27379
27397
  ),
27380
27398
  ...props,
27381
27399
  children: [
27382
- /* @__PURE__ */ jsx30("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx30(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx30(Check, { className: "size-4" }) }) }),
27383
- /* @__PURE__ */ jsx30(SelectPrimitive.ItemText, { children })
27400
+ /* @__PURE__ */ jsx32("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx32(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx32(Check, { className: "size-4" }) }) }),
27401
+ /* @__PURE__ */ jsx32(SelectPrimitive.ItemText, { children })
27384
27402
  ]
27385
27403
  }
27386
27404
  );
@@ -27389,7 +27407,7 @@ function SelectScrollUpButton({
27389
27407
  className,
27390
27408
  ...props
27391
27409
  }) {
27392
- return /* @__PURE__ */ jsx30(
27410
+ return /* @__PURE__ */ jsx32(
27393
27411
  SelectPrimitive.ScrollUpButton,
27394
27412
  {
27395
27413
  "data-slot": "select-scroll-up-button",
@@ -27398,7 +27416,7 @@ function SelectScrollUpButton({
27398
27416
  className
27399
27417
  ),
27400
27418
  ...props,
27401
- children: /* @__PURE__ */ jsx30(ChevronUp, { className: "size-4" })
27419
+ children: /* @__PURE__ */ jsx32(ChevronUp, { className: "size-4" })
27402
27420
  }
27403
27421
  );
27404
27422
  }
@@ -27406,7 +27424,7 @@ function SelectScrollDownButton({
27406
27424
  className,
27407
27425
  ...props
27408
27426
  }) {
27409
- return /* @__PURE__ */ jsx30(
27427
+ return /* @__PURE__ */ jsx32(
27410
27428
  SelectPrimitive.ScrollDownButton,
27411
27429
  {
27412
27430
  "data-slot": "select-scroll-down-button",
@@ -27415,13 +27433,13 @@ function SelectScrollDownButton({
27415
27433
  className
27416
27434
  ),
27417
27435
  ...props,
27418
- children: /* @__PURE__ */ jsx30(ChevronDown, { className: "size-4" })
27436
+ children: /* @__PURE__ */ jsx32(ChevronDown, { className: "size-4" })
27419
27437
  }
27420
27438
  );
27421
27439
  }
27422
27440
 
27423
27441
  // src/components/Inputs/Dropdown/Dropdown.tsx
27424
- import { Fragment as Fragment9, jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
27442
+ import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
27425
27443
  var Dropdown = ({ className, style, ...props }) => {
27426
27444
  const list = props.data || [];
27427
27445
  const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
@@ -27437,9 +27455,9 @@ var Dropdown = ({ className, style, ...props }) => {
27437
27455
  value: item[dataKey],
27438
27456
  label: item[dataLabel]
27439
27457
  }));
27440
- return /* @__PURE__ */ jsxs17(Fragment9, { children: [
27458
+ return /* @__PURE__ */ jsxs17(Fragment10, { children: [
27441
27459
  /* @__PURE__ */ jsxs17(Select, { name: props.name, value: props.value, onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
27442
- /* @__PURE__ */ jsx31(
27460
+ /* @__PURE__ */ jsx33(
27443
27461
  SelectTrigger,
27444
27462
  {
27445
27463
  id: props.name || "select-field",
@@ -27449,24 +27467,24 @@ var Dropdown = ({ className, style, ...props }) => {
27449
27467
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27450
27468
  },
27451
27469
  "aria-readonly": isReadonly,
27452
- children: /* @__PURE__ */ jsx31(SelectValue, { placeholder })
27470
+ children: /* @__PURE__ */ jsx33(SelectValue, { placeholder })
27453
27471
  }
27454
27472
  ),
27455
- /* @__PURE__ */ jsx31(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx31(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
27473
+ /* @__PURE__ */ jsx33(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx33(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
27456
27474
  ] }),
27457
- props.errorMessage && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27475
+ props.errorMessage && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27458
27476
  ] });
27459
27477
  };
27460
27478
  var Dropdown_default = Dropdown;
27461
27479
 
27462
27480
  // src/components/ui/switch.tsx
27463
27481
  import * as SwitchPrimitive from "@radix-ui/react-switch";
27464
- import { jsx as jsx32 } from "react/jsx-runtime";
27482
+ import { jsx as jsx34 } from "react/jsx-runtime";
27465
27483
  function Switch({
27466
27484
  className,
27467
27485
  ...props
27468
27486
  }) {
27469
- return /* @__PURE__ */ jsx32(
27487
+ return /* @__PURE__ */ jsx34(
27470
27488
  SwitchPrimitive.Root,
27471
27489
  {
27472
27490
  "data-slot": "switch",
@@ -27475,7 +27493,7 @@ function Switch({
27475
27493
  className
27476
27494
  ),
27477
27495
  ...props,
27478
- children: /* @__PURE__ */ jsx32(
27496
+ children: /* @__PURE__ */ jsx34(
27479
27497
  SwitchPrimitive.Thumb,
27480
27498
  {
27481
27499
  "data-slot": "switch-thumb",
@@ -27489,16 +27507,16 @@ function Switch({
27489
27507
  }
27490
27508
 
27491
27509
  // src/components/Inputs/SwitchToggle/SwitchToggle.tsx
27492
- import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
27510
+ import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
27493
27511
  var SwitchToggle = ({ className, style, ...props }) => {
27494
27512
  const isEditable = props.isEditable ?? true;
27495
27513
  const isDisabled = props.isDisabled ?? false;
27496
27514
  const handleChange = (value) => {
27497
27515
  props.onChange?.(value);
27498
27516
  };
27499
- return /* @__PURE__ */ jsxs18(Fragment10, { children: [
27500
- /* @__PURE__ */ jsx33("div", { className, style, children: /* @__PURE__ */ jsxs18("div", { className: "flex items-center space-x-2 mb-2", children: [
27501
- /* @__PURE__ */ jsx33(
27517
+ return /* @__PURE__ */ jsxs18(Fragment11, { children: [
27518
+ /* @__PURE__ */ jsx35("div", { className, style, children: /* @__PURE__ */ jsxs18("div", { className: "flex items-center space-x-2 mb-2", children: [
27519
+ /* @__PURE__ */ jsx35(
27502
27520
  Switch,
27503
27521
  {
27504
27522
  id: props.name || "switch",
@@ -27507,9 +27525,9 @@ var SwitchToggle = ({ className, style, ...props }) => {
27507
27525
  disabled: isDisabled || !isEditable
27508
27526
  }
27509
27527
  ),
27510
- /* @__PURE__ */ jsx33(Label2, { htmlFor: props.name || "switch", children: props.text })
27528
+ /* @__PURE__ */ jsx35(Label2, { htmlFor: props.name || "switch", children: props.text })
27511
27529
  ] }) }),
27512
- props.errorMessage && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27530
+ props.errorMessage && /* @__PURE__ */ jsx35("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27513
27531
  ] });
27514
27532
  };
27515
27533
  var SwitchToggle_default = SwitchToggle;
@@ -27517,7 +27535,7 @@ var SwitchToggle_default = SwitchToggle;
27517
27535
  // src/components/Inputs/PhoneInput/PhoneInput.tsx
27518
27536
  import { PhoneInput as PhoneInputField } from "react-international-phone";
27519
27537
  import "react-international-phone/style.css";
27520
- import { Fragment as Fragment11, jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
27538
+ import { Fragment as Fragment12, jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
27521
27539
  var PhoneInput = ({ className, style, ...props }) => {
27522
27540
  const placeholder = props.placeholder ?? "Enter phone number";
27523
27541
  const isEditable = props.isEditable ?? true;
@@ -27525,8 +27543,8 @@ var PhoneInput = ({ className, style, ...props }) => {
27525
27543
  const handleChange = (val) => {
27526
27544
  props.onChange?.(val);
27527
27545
  };
27528
- return /* @__PURE__ */ jsxs19(Fragment11, { children: [
27529
- /* @__PURE__ */ jsx34(
27546
+ return /* @__PURE__ */ jsxs19(Fragment12, { children: [
27547
+ /* @__PURE__ */ jsx36(
27530
27548
  PhoneInputField,
27531
27549
  {
27532
27550
  defaultCountry: "in",
@@ -27545,13 +27563,13 @@ var PhoneInput = ({ className, style, ...props }) => {
27545
27563
  disabled: isDisabled || !isEditable
27546
27564
  }
27547
27565
  ),
27548
- props.errorMessage && /* @__PURE__ */ jsx34("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27566
+ props.errorMessage && /* @__PURE__ */ jsx36("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27549
27567
  ] });
27550
27568
  };
27551
27569
  var PhoneInput_default = PhoneInput;
27552
27570
 
27553
27571
  // src/components/Inputs/SearchInput/SearchInput.tsx
27554
- import { Fragment as Fragment12, jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
27572
+ import { Fragment as Fragment13, jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
27555
27573
  var SearchInput = ({ className, style, ...props }) => {
27556
27574
  const placeholder = props.placeholder ?? "Placeholder text";
27557
27575
  const isEditable = props.isEditable ?? true;
@@ -27561,10 +27579,10 @@ var SearchInput = ({ className, style, ...props }) => {
27561
27579
  const handleChange = (e) => {
27562
27580
  props.onChange?.(e);
27563
27581
  };
27564
- return /* @__PURE__ */ jsxs20(Fragment12, { children: [
27582
+ return /* @__PURE__ */ jsxs20(Fragment13, { children: [
27565
27583
  /* @__PURE__ */ jsxs20("div", { className: "flex justify-start items-center relative", children: [
27566
- /* @__PURE__ */ jsx35(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27567
- /* @__PURE__ */ jsx35(
27584
+ /* @__PURE__ */ jsx37(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27585
+ /* @__PURE__ */ jsx37(
27568
27586
  Input,
27569
27587
  {
27570
27588
  type: "text",
@@ -27584,17 +27602,17 @@ var SearchInput = ({ className, style, ...props }) => {
27584
27602
  }
27585
27603
  )
27586
27604
  ] }),
27587
- props.errorMessage && /* @__PURE__ */ jsx35("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27605
+ props.errorMessage && /* @__PURE__ */ jsx37("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27588
27606
  ] });
27589
27607
  };
27590
27608
  var SearchInput_default = SearchInput;
27591
27609
 
27592
27610
  // src/components/Inputs/FileInput/FileInput.tsx
27593
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
27611
+ import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
27594
27612
  var FileInput2 = ({ className, style, ...props }) => {
27595
27613
  const placeholder = props.placeholder ?? "Placeholder text";
27596
27614
  return /* @__PURE__ */ jsxs21("div", { className: "d-flex items-center relative align-middle", children: [
27597
- /* @__PURE__ */ jsx36(
27615
+ /* @__PURE__ */ jsx38(
27598
27616
  Input,
27599
27617
  {
27600
27618
  type: "file",
@@ -27613,13 +27631,13 @@ var FileInput2 = ({ className, style, ...props }) => {
27613
27631
  }
27614
27632
  }
27615
27633
  ),
27616
- props.errorMessage && /* @__PURE__ */ jsx36("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27634
+ props.errorMessage && /* @__PURE__ */ jsx38("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27617
27635
  ] });
27618
27636
  };
27619
27637
  var FileInput_default = FileInput2;
27620
27638
 
27621
27639
  // src/components/Inputs/DatePicker/DatePicker.tsx
27622
- import { Fragment as Fragment13, jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
27640
+ import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
27623
27641
  function DatePicker({ className, style, ...props }) {
27624
27642
  const placeholder = props.placeholder ?? "Placeholder text";
27625
27643
  const minimumDate = props.minimumDate ?? "none";
@@ -27647,10 +27665,10 @@ function DatePicker({ className, style, ...props }) {
27647
27665
  const handleChange = (e) => {
27648
27666
  props.onChange?.(e);
27649
27667
  };
27650
- return /* @__PURE__ */ jsxs22(Fragment13, { children: [
27668
+ return /* @__PURE__ */ jsxs22(Fragment14, { children: [
27651
27669
  /* @__PURE__ */ jsxs22("div", { className: "flex justify-start items-center relative", children: [
27652
- /* @__PURE__ */ jsx37(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27653
- /* @__PURE__ */ jsx37(
27670
+ /* @__PURE__ */ jsx39(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27671
+ /* @__PURE__ */ jsx39(
27654
27672
  Input,
27655
27673
  {
27656
27674
  type: "date",
@@ -27676,7 +27694,7 @@ function DatePicker({ className, style, ...props }) {
27676
27694
  }
27677
27695
  )
27678
27696
  ] }),
27679
- props.errorMessage && /* @__PURE__ */ jsx37("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27697
+ props.errorMessage && /* @__PURE__ */ jsx39("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27680
27698
  ] });
27681
27699
  }
27682
27700
 
@@ -27687,7 +27705,7 @@ import { addDays, format } from "date-fns";
27687
27705
  // src/components/ui/calendar.tsx
27688
27706
  import * as React3 from "react";
27689
27707
  import { DayPicker, getDefaultClassNames } from "react-day-picker";
27690
- import { jsx as jsx38 } from "react/jsx-runtime";
27708
+ import { jsx as jsx40 } from "react/jsx-runtime";
27691
27709
  function Calendar2({
27692
27710
  className,
27693
27711
  classNames,
@@ -27699,7 +27717,7 @@ function Calendar2({
27699
27717
  ...props
27700
27718
  }) {
27701
27719
  const defaultClassNames = getDefaultClassNames();
27702
- return /* @__PURE__ */ jsx38(
27720
+ return /* @__PURE__ */ jsx40(
27703
27721
  DayPicker,
27704
27722
  {
27705
27723
  showOutsideDays,
@@ -27798,7 +27816,7 @@ function Calendar2({
27798
27816
  },
27799
27817
  components: {
27800
27818
  Root: ({ className: className2, rootRef, ...props2 }) => {
27801
- return /* @__PURE__ */ jsx38(
27819
+ return /* @__PURE__ */ jsx40(
27802
27820
  "div",
27803
27821
  {
27804
27822
  "data-slot": "calendar",
@@ -27810,10 +27828,10 @@ function Calendar2({
27810
27828
  },
27811
27829
  Chevron: ({ className: className2, orientation, ...props2 }) => {
27812
27830
  if (orientation === "left") {
27813
- return /* @__PURE__ */ jsx38(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27831
+ return /* @__PURE__ */ jsx40(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27814
27832
  }
27815
27833
  if (orientation === "right") {
27816
- return /* @__PURE__ */ jsx38(
27834
+ return /* @__PURE__ */ jsx40(
27817
27835
  ChevronRight,
27818
27836
  {
27819
27837
  className: cn("size-4", className2),
@@ -27821,11 +27839,11 @@ function Calendar2({
27821
27839
  }
27822
27840
  );
27823
27841
  }
27824
- return /* @__PURE__ */ jsx38(ChevronDown, { className: cn("size-4", className2), ...props2 });
27842
+ return /* @__PURE__ */ jsx40(ChevronDown, { className: cn("size-4", className2), ...props2 });
27825
27843
  },
27826
27844
  DayButton: CalendarDayButton,
27827
27845
  WeekNumber: ({ children, ...props2 }) => {
27828
- return /* @__PURE__ */ jsx38("td", { ...props2, children: /* @__PURE__ */ jsx38("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
27846
+ return /* @__PURE__ */ jsx40("td", { ...props2, children: /* @__PURE__ */ jsx40("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
27829
27847
  },
27830
27848
  ...components
27831
27849
  },
@@ -27844,7 +27862,7 @@ function CalendarDayButton({
27844
27862
  React3.useEffect(() => {
27845
27863
  if (modifiers.focused) ref.current?.focus();
27846
27864
  }, [modifiers.focused]);
27847
- return /* @__PURE__ */ jsx38(
27865
+ return /* @__PURE__ */ jsx40(
27848
27866
  Button,
27849
27867
  {
27850
27868
  ref,
@@ -27867,16 +27885,16 @@ function CalendarDayButton({
27867
27885
 
27868
27886
  // src/components/ui/popover.tsx
27869
27887
  import * as PopoverPrimitive from "@radix-ui/react-popover";
27870
- import { jsx as jsx39 } from "react/jsx-runtime";
27888
+ import { jsx as jsx41 } from "react/jsx-runtime";
27871
27889
  function Popover({
27872
27890
  ...props
27873
27891
  }) {
27874
- return /* @__PURE__ */ jsx39(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27892
+ return /* @__PURE__ */ jsx41(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27875
27893
  }
27876
27894
  function PopoverTrigger({
27877
27895
  ...props
27878
27896
  }) {
27879
- return /* @__PURE__ */ jsx39(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27897
+ return /* @__PURE__ */ jsx41(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27880
27898
  }
27881
27899
  function PopoverContent({
27882
27900
  className,
@@ -27884,7 +27902,7 @@ function PopoverContent({
27884
27902
  sideOffset = 4,
27885
27903
  ...props
27886
27904
  }) {
27887
- return /* @__PURE__ */ jsx39(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx39(
27905
+ return /* @__PURE__ */ jsx41(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
27888
27906
  PopoverPrimitive.Content,
27889
27907
  {
27890
27908
  "data-slot": "popover-content",
@@ -27900,7 +27918,7 @@ function PopoverContent({
27900
27918
  }
27901
27919
 
27902
27920
  // src/components/Inputs/DateRange/DateRange.tsx
27903
- import { Fragment as Fragment14, jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
27921
+ import { Fragment as Fragment15, jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
27904
27922
  var DateRange = ({ className, style, ...props }) => {
27905
27923
  const isDateRange = (val) => !!val && val.from instanceof Date;
27906
27924
  const [date, setDate] = React4.useState(
@@ -27915,26 +27933,26 @@ var DateRange = ({ className, style, ...props }) => {
27915
27933
  props.onChange?.(value);
27916
27934
  }
27917
27935
  };
27918
- return /* @__PURE__ */ jsxs23(Fragment14, { children: [
27919
- /* @__PURE__ */ jsx40("div", { className, style, children: /* @__PURE__ */ jsxs23(Popover, { children: [
27920
- /* @__PURE__ */ jsx40(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx40(
27936
+ return /* @__PURE__ */ jsxs23(Fragment15, { children: [
27937
+ /* @__PURE__ */ jsx42("div", { className, style, children: /* @__PURE__ */ jsxs23(Popover, { children: [
27938
+ /* @__PURE__ */ jsx42(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx42(
27921
27939
  Button,
27922
27940
  {
27923
27941
  id: "date",
27924
27942
  variant: "outline",
27925
27943
  className: cn(
27926
- "w-[300px] justify-start text-left font-normal text-[11px]",
27944
+ "w-full justify-start text-left font-normal text-[11px] border-[#BDBDBD]",
27927
27945
  !date && "text-muted-foreground"
27928
27946
  ),
27929
- children: date?.from ? date.to ? /* @__PURE__ */ jsxs23(Fragment14, { children: [
27947
+ children: date?.from ? date.to ? /* @__PURE__ */ jsxs23(Fragment15, { children: [
27930
27948
  format(date.from, "LLL dd, y"),
27931
27949
  " -",
27932
27950
  " ",
27933
27951
  format(date.to, "LLL dd, y")
27934
- ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx40("span", { children: "Pick a date range" })
27952
+ ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx42("span", { children: "Pick a date range" })
27935
27953
  }
27936
27954
  ) }),
27937
- /* @__PURE__ */ jsx40(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx40(
27955
+ /* @__PURE__ */ jsx42(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx42(
27938
27956
  Calendar2,
27939
27957
  {
27940
27958
  mode: "range",
@@ -27945,13 +27963,13 @@ var DateRange = ({ className, style, ...props }) => {
27945
27963
  }
27946
27964
  ) })
27947
27965
  ] }) }),
27948
- props.errorMessage && /* @__PURE__ */ jsx40("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27966
+ props.errorMessage && /* @__PURE__ */ jsx42("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27949
27967
  ] });
27950
27968
  };
27951
27969
  var DateRange_default = DateRange;
27952
27970
 
27953
27971
  // src/components/Inputs/TextInputGroup/TextInputGroup.tsx
27954
- import { Fragment as Fragment15, jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
27972
+ import { Fragment as Fragment16, jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
27955
27973
  var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27956
27974
  const placeholder = props.placeholder ?? "Placeholder text";
27957
27975
  const isEditable = props.isEditable ?? true;
@@ -27961,7 +27979,7 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27961
27979
  const handleChange = (e) => {
27962
27980
  props.onChange?.(e);
27963
27981
  };
27964
- return /* @__PURE__ */ jsxs24(Fragment15, { children: [
27982
+ return /* @__PURE__ */ jsxs24(Fragment16, { children: [
27965
27983
  /* @__PURE__ */ jsxs24(
27966
27984
  "div",
27967
27985
  {
@@ -27972,8 +27990,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27972
27990
  props.errorMessage ? "border-red-500" : ""
27973
27991
  ),
27974
27992
  children: [
27975
- prepend && /* @__PURE__ */ jsx41("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
27976
- /* @__PURE__ */ jsx41(
27993
+ prepend && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
27994
+ /* @__PURE__ */ jsx43(
27977
27995
  Input,
27978
27996
  {
27979
27997
  id: props.name || "prepend-input",
@@ -27995,11 +28013,11 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27995
28013
  readOnly: isReadonly
27996
28014
  }
27997
28015
  ),
27998
- append && /* @__PURE__ */ jsx41("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
28016
+ append && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
27999
28017
  ]
28000
28018
  }
28001
28019
  ),
28002
- props.errorMessage && /* @__PURE__ */ jsx41("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28020
+ props.errorMessage && /* @__PURE__ */ jsx43("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28003
28021
  ] });
28004
28022
  };
28005
28023
  var TextInputGroup_default = TextInputGroup;
@@ -28015,14 +28033,14 @@ import {
28015
28033
  } from "@tanstack/react-table";
28016
28034
 
28017
28035
  // src/components/ui/table.tsx
28018
- import { jsx as jsx42 } from "react/jsx-runtime";
28036
+ import { jsx as jsx44 } from "react/jsx-runtime";
28019
28037
  function Table3({ className, ...props }) {
28020
- return /* @__PURE__ */ jsx42(
28038
+ return /* @__PURE__ */ jsx44(
28021
28039
  "div",
28022
28040
  {
28023
28041
  "data-slot": "table-container",
28024
28042
  className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
28025
- children: /* @__PURE__ */ jsx42(
28043
+ children: /* @__PURE__ */ jsx44(
28026
28044
  "table",
28027
28045
  {
28028
28046
  "data-slot": "table",
@@ -28034,7 +28052,7 @@ function Table3({ className, ...props }) {
28034
28052
  );
28035
28053
  }
28036
28054
  function TableHeader({ className, ...props }) {
28037
- return /* @__PURE__ */ jsx42(
28055
+ return /* @__PURE__ */ jsx44(
28038
28056
  "thead",
28039
28057
  {
28040
28058
  "data-slot": "table-header",
@@ -28047,7 +28065,7 @@ function TableHeader({ className, ...props }) {
28047
28065
  );
28048
28066
  }
28049
28067
  function TableBody({ className, ...props }) {
28050
- return /* @__PURE__ */ jsx42(
28068
+ return /* @__PURE__ */ jsx44(
28051
28069
  "tbody",
28052
28070
  {
28053
28071
  "data-slot": "table-body",
@@ -28060,7 +28078,7 @@ function TableBody({ className, ...props }) {
28060
28078
  );
28061
28079
  }
28062
28080
  function TableRow({ className, ...props }) {
28063
- return /* @__PURE__ */ jsx42(
28081
+ return /* @__PURE__ */ jsx44(
28064
28082
  "tr",
28065
28083
  {
28066
28084
  "data-slot": "table-row",
@@ -28073,7 +28091,7 @@ function TableRow({ className, ...props }) {
28073
28091
  );
28074
28092
  }
28075
28093
  function TableHead({ className, ...props }) {
28076
- return /* @__PURE__ */ jsx42(
28094
+ return /* @__PURE__ */ jsx44(
28077
28095
  "th",
28078
28096
  {
28079
28097
  "data-slot": "table-head",
@@ -28086,7 +28104,7 @@ function TableHead({ className, ...props }) {
28086
28104
  );
28087
28105
  }
28088
28106
  function TableCell({ className, ...props }) {
28089
- return /* @__PURE__ */ jsx42(
28107
+ return /* @__PURE__ */ jsx44(
28090
28108
  "td",
28091
28109
  {
28092
28110
  "data-slot": "table-cell",
@@ -28100,7 +28118,7 @@ function TableCell({ className, ...props }) {
28100
28118
  }
28101
28119
 
28102
28120
  // src/components/ui/data-table.tsx
28103
- import { Fragment as Fragment16, jsx as jsx43, jsxs as jsxs25 } from "react/jsx-runtime";
28121
+ import { Fragment as Fragment17, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
28104
28122
  function DataTable({
28105
28123
  columns,
28106
28124
  rowActions,
@@ -28125,14 +28143,14 @@ function DataTable({
28125
28143
  onCellClick(rowData, columnId);
28126
28144
  }
28127
28145
  };
28128
- return /* @__PURE__ */ jsx43("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs25(Table3, { children: [
28129
- /* @__PURE__ */ jsx43(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx43(TableRow, { children: headerGroup.headers.map((header) => {
28130
- return /* @__PURE__ */ jsx43(TableHead, { children: header.isPlaceholder ? null : flexRender(
28146
+ return /* @__PURE__ */ jsx45("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs25(Table3, { children: [
28147
+ /* @__PURE__ */ jsx45(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx45(TableRow, { children: headerGroup.headers.map((header) => {
28148
+ return /* @__PURE__ */ jsx45(TableHead, { children: header.isPlaceholder ? null : flexRender(
28131
28149
  header.column.columnDef.header,
28132
28150
  header.getContext()
28133
28151
  ) }, header.id);
28134
28152
  }) }, headerGroup.id)) }),
28135
- /* @__PURE__ */ jsx43(TableBody, { children: loading ? /* @__PURE__ */ jsx43(TableRow, { children: /* @__PURE__ */ jsx43(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx43(Fragment16, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs25(
28153
+ /* @__PURE__ */ jsx45(TableBody, { children: loading ? /* @__PURE__ */ jsx45(TableRow, { children: /* @__PURE__ */ jsx45(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx45(Fragment17, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs25(
28136
28154
  TableRow,
28137
28155
  {
28138
28156
  "data-state": row.getIsSelected() && "selected",
@@ -28142,7 +28160,7 @@ function DataTable({
28142
28160
  const isCellClickable = cellClickEnabled(row.original, cell.column.id);
28143
28161
  const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
28144
28162
  const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
28145
- return /* @__PURE__ */ jsx43(
28163
+ return /* @__PURE__ */ jsx45(
28146
28164
  TableCell,
28147
28165
  {
28148
28166
  className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
@@ -28157,18 +28175,18 @@ function DataTable({
28157
28175
  cell.id
28158
28176
  );
28159
28177
  }),
28160
- rowActions.length > 0 && /* @__PURE__ */ jsx43("div", { className: "absolute top-0 right-0 bg-white py-3 min-w-[100px] z-50 shadow-md flex items-center justify-center gap-3 p-2 opacity-0 group-hover:opacity-100 duration-300 h-full", children: rowActions.map((action, index) => /* @__PURE__ */ jsx43("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
28178
+ rowActions.length > 0 && /* @__PURE__ */ jsx45("div", { className: "absolute top-0 right-0 bg-white py-3 min-w-[100px] z-50 shadow-md flex items-center justify-center gap-3 p-2 opacity-0 group-hover:opacity-100 duration-300 h-full", children: rowActions.map((action, index) => /* @__PURE__ */ jsx45("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
28161
28179
  ]
28162
28180
  },
28163
28181
  row.id
28164
- )) : /* @__PURE__ */ jsx43(TableRow, { children: /* @__PURE__ */ jsx43(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
28182
+ )) : /* @__PURE__ */ jsx45(TableRow, { children: /* @__PURE__ */ jsx45(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
28165
28183
  ] }) });
28166
28184
  }
28167
28185
 
28168
28186
  // src/components/ui/pagination.tsx
28169
- import { jsx as jsx44, jsxs as jsxs26 } from "react/jsx-runtime";
28187
+ import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
28170
28188
  function Pagination({ className, ...props }) {
28171
- return /* @__PURE__ */ jsx44(
28189
+ return /* @__PURE__ */ jsx46(
28172
28190
  "nav",
28173
28191
  {
28174
28192
  role: "navigation",
@@ -28183,7 +28201,7 @@ function PaginationContent({
28183
28201
  className,
28184
28202
  ...props
28185
28203
  }) {
28186
- return /* @__PURE__ */ jsx44(
28204
+ return /* @__PURE__ */ jsx46(
28187
28205
  "ul",
28188
28206
  {
28189
28207
  "data-slot": "pagination-content",
@@ -28193,7 +28211,7 @@ function PaginationContent({
28193
28211
  );
28194
28212
  }
28195
28213
  function PaginationItem({ ...props }) {
28196
- return /* @__PURE__ */ jsx44("li", { "data-slot": "pagination-item", ...props });
28214
+ return /* @__PURE__ */ jsx46("li", { "data-slot": "pagination-item", ...props });
28197
28215
  }
28198
28216
  function PaginationLink({
28199
28217
  className,
@@ -28201,7 +28219,7 @@ function PaginationLink({
28201
28219
  size = "icon",
28202
28220
  ...props
28203
28221
  }) {
28204
- return /* @__PURE__ */ jsx44(
28222
+ return /* @__PURE__ */ jsx46(
28205
28223
  "a",
28206
28224
  {
28207
28225
  "aria-current": isActive ? "page" : void 0,
@@ -28230,8 +28248,8 @@ function PaginationPrevious({
28230
28248
  className: cn("gap-1 px-2.5 sm:pl-2.5", className),
28231
28249
  ...props,
28232
28250
  children: [
28233
- /* @__PURE__ */ jsx44(ChevronLeft, {}),
28234
- /* @__PURE__ */ jsx44("span", { className: "hidden sm:block", children: "Previous" })
28251
+ /* @__PURE__ */ jsx46(ChevronLeft, {}),
28252
+ /* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Previous" })
28235
28253
  ]
28236
28254
  }
28237
28255
  );
@@ -28248,8 +28266,8 @@ function PaginationNext({
28248
28266
  className: cn("gap-1 px-2.5 sm:pr-2.5", className),
28249
28267
  ...props,
28250
28268
  children: [
28251
- /* @__PURE__ */ jsx44("span", { className: "hidden sm:block", children: "Next" }),
28252
- /* @__PURE__ */ jsx44(ChevronRight, {})
28269
+ /* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Next" }),
28270
+ /* @__PURE__ */ jsx46(ChevronRight, {})
28253
28271
  ]
28254
28272
  }
28255
28273
  );
@@ -28266,15 +28284,15 @@ function PaginationEllipsis({
28266
28284
  className: cn("flex size-9 items-center justify-center", className),
28267
28285
  ...props,
28268
28286
  children: [
28269
- /* @__PURE__ */ jsx44(Ellipsis, { className: "size-4" }),
28270
- /* @__PURE__ */ jsx44("span", { className: "sr-only", children: "More pages" })
28287
+ /* @__PURE__ */ jsx46(Ellipsis, { className: "size-4" }),
28288
+ /* @__PURE__ */ jsx46("span", { className: "sr-only", children: "More pages" })
28271
28289
  ]
28272
28290
  }
28273
28291
  );
28274
28292
  }
28275
28293
 
28276
28294
  // src/components/DataDisplay/Pagination/Pagination.tsx
28277
- import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
28295
+ import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
28278
28296
  var CustomPagination = ({
28279
28297
  totalPages,
28280
28298
  currentPage,
@@ -28322,7 +28340,7 @@ var CustomPagination = ({
28322
28340
  const pageNumbers = getPageNumbers();
28323
28341
  return /* @__PURE__ */ jsxs27("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
28324
28342
  /* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-2", children: [
28325
- /* @__PURE__ */ jsx45("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28343
+ /* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28326
28344
  /* @__PURE__ */ jsxs27(
28327
28345
  Select,
28328
28346
  {
@@ -28331,26 +28349,26 @@ var CustomPagination = ({
28331
28349
  onPageChange({ page: 1, itemsPerPage: Number(value) });
28332
28350
  },
28333
28351
  children: [
28334
- /* @__PURE__ */ jsx45(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ jsx45(SelectValue, { placeholder: "Select" }) }),
28352
+ /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select" }) }),
28335
28353
  /* @__PURE__ */ jsxs27(SelectContent, { children: [
28336
- /* @__PURE__ */ jsx45(SelectItem, { value: "5", children: "5" }),
28337
- /* @__PURE__ */ jsx45(SelectItem, { value: "10", children: "10" }),
28338
- /* @__PURE__ */ jsx45(SelectItem, { value: "20", children: "20" }),
28339
- /* @__PURE__ */ jsx45(SelectItem, { value: "50", children: "50" })
28354
+ /* @__PURE__ */ jsx47(SelectItem, { value: "5", children: "5" }),
28355
+ /* @__PURE__ */ jsx47(SelectItem, { value: "10", children: "10" }),
28356
+ /* @__PURE__ */ jsx47(SelectItem, { value: "20", children: "20" }),
28357
+ /* @__PURE__ */ jsx47(SelectItem, { value: "50", children: "50" })
28340
28358
  ] })
28341
28359
  ]
28342
28360
  }
28343
28361
  )
28344
28362
  ] }),
28345
- /* @__PURE__ */ jsx45(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs27(PaginationContent, { children: [
28346
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(
28363
+ /* @__PURE__ */ jsx47(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs27(PaginationContent, { children: [
28364
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
28347
28365
  PaginationPrevious,
28348
28366
  {
28349
28367
  onClick: () => handlePageChange(currentPage - 1),
28350
28368
  className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
28351
28369
  }
28352
28370
  ) }),
28353
- pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx45(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx45(PaginationEllipsis, {}) : /* @__PURE__ */ jsx45(
28371
+ pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx47(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx47(PaginationEllipsis, {}) : /* @__PURE__ */ jsx47(
28354
28372
  PaginationLink,
28355
28373
  {
28356
28374
  onClick: () => handlePageChange(pageNumber),
@@ -28359,7 +28377,7 @@ var CustomPagination = ({
28359
28377
  children: pageNumber
28360
28378
  }
28361
28379
  ) }, index)),
28362
- /* @__PURE__ */ jsx45(PaginationItem, { children: /* @__PURE__ */ jsx45(
28380
+ /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
28363
28381
  PaginationNext,
28364
28382
  {
28365
28383
  onClick: () => handlePageChange(currentPage + 1),
@@ -28372,7 +28390,7 @@ var CustomPagination = ({
28372
28390
  var Pagination_default = CustomPagination;
28373
28391
 
28374
28392
  // src/components/DataDisplay/Table/Table.tsx
28375
- import { jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
28393
+ import { jsx as jsx48, jsxs as jsxs28 } from "react/jsx-runtime";
28376
28394
  var Table4 = ({
28377
28395
  columns,
28378
28396
  data,
@@ -28419,7 +28437,7 @@ var Table4 = ({
28419
28437
  return selectedColumn.isClickable ?? false;
28420
28438
  };
28421
28439
  return /* @__PURE__ */ jsxs28("div", { className: `${className || ""} space-y-3`, style, children: [
28422
- /* @__PURE__ */ jsx46(
28440
+ /* @__PURE__ */ jsx48(
28423
28441
  DataTable,
28424
28442
  {
28425
28443
  ...props,
@@ -28430,7 +28448,7 @@ var Table4 = ({
28430
28448
  cellClickEnabled: isCellClickEnabled
28431
28449
  }
28432
28450
  ),
28433
- enablePagination && /* @__PURE__ */ jsx46(
28451
+ enablePagination && /* @__PURE__ */ jsx48(
28434
28452
  Pagination_default,
28435
28453
  {
28436
28454
  perPage: itemsPerPage,
@@ -28444,8 +28462,9 @@ var Table4 = ({
28444
28462
  var Table_default = Table4;
28445
28463
 
28446
28464
  // src/components/Navigation/Tabs/Tabs.tsx
28447
- import { jsx as jsx47, jsxs as jsxs29 } from "react/jsx-runtime";
28448
- var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, canvasMode }) => {
28465
+ import Link5 from "next/link";
28466
+ import { jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
28467
+ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28449
28468
  const rawTabs = Array.isArray(tabs) ? tabs : [];
28450
28469
  const baseClasses = "text-[12px] text-foreground p-2 text-center rounded-md transition-colors";
28451
28470
  const activeClasses = "bg-white/10 text-white";
@@ -28460,20 +28479,20 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28460
28479
  return /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
28461
28480
  /* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: `${finalClasses} inline-flex items-center gap-1`, children: [
28462
28481
  tab.header,
28463
- /* @__PURE__ */ jsx47(ChevronDown, { className: "h-4 w-4 opacity-80" })
28482
+ /* @__PURE__ */ jsx49(ChevronDown, { className: "h-4 w-4 opacity-80" })
28464
28483
  ] }),
28465
- /* @__PURE__ */ jsx47(
28484
+ /* @__PURE__ */ jsx49(
28466
28485
  DropdownMenuContent,
28467
28486
  {
28468
28487
  align: "start",
28469
28488
  sideOffset: 6,
28470
28489
  className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
28471
- children: tab.children.map((item) => /* @__PURE__ */ jsx47(
28490
+ children: tab.children.map((item) => /* @__PURE__ */ jsx49(
28472
28491
  DropdownMenuItem,
28473
28492
  {
28474
28493
  asChild: true,
28475
28494
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
28476
- children: LinkComponent ? /* @__PURE__ */ jsx47(LinkComponent, { href: item.url || "#", children: item.header }) : item.header
28495
+ children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
28477
28496
  },
28478
28497
  item.id
28479
28498
  ))
@@ -28481,14 +28500,14 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28481
28500
  )
28482
28501
  ] }, index);
28483
28502
  }
28484
- return tab.url && LinkComponent ? /* @__PURE__ */ jsx47(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx47("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
28503
+ return tab.url ? /* @__PURE__ */ jsx49(Link5, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx49("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
28485
28504
  };
28486
28505
  const renderMobileMenu = () => /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
28487
28506
  /* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
28488
- /* @__PURE__ */ jsx47(Menu, { className: "h-4 w-4" }),
28507
+ /* @__PURE__ */ jsx49(Menu, { className: "h-4 w-4" }),
28489
28508
  "Menu"
28490
28509
  ] }),
28491
- /* @__PURE__ */ jsx47(
28510
+ /* @__PURE__ */ jsx49(
28492
28511
  DropdownMenuContent,
28493
28512
  {
28494
28513
  align: "start",
@@ -28498,24 +28517,24 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28498
28517
  const hasChildren = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
28499
28518
  if (hasChildren) {
28500
28519
  return /* @__PURE__ */ jsxs29(DropdownMenuSub, { children: [
28501
- /* @__PURE__ */ jsx47(DropdownMenuSubTrigger, { className: "flex items-center justify-between cursor-pointer rounded-sm px-3 py-2 text-[13px] text-foreground hover:text-foreground", children: tab.header }),
28502
- /* @__PURE__ */ jsx47(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ jsx47(
28520
+ /* @__PURE__ */ jsx49(DropdownMenuSubTrigger, { className: "flex items-center justify-between cursor-pointer rounded-sm px-3 py-2 text-[13px] text-foreground hover:text-foreground", children: tab.header }),
28521
+ /* @__PURE__ */ jsx49(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ jsx49(
28503
28522
  DropdownMenuItem,
28504
28523
  {
28505
28524
  asChild: true,
28506
28525
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100",
28507
- children: LinkComponent ? /* @__PURE__ */ jsx47(LinkComponent, { href: item.url || "#", children: item.header }) : item.header
28526
+ children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
28508
28527
  },
28509
28528
  item.id
28510
28529
  )) })
28511
28530
  ] }, i);
28512
28531
  }
28513
- return /* @__PURE__ */ jsx47(
28532
+ return /* @__PURE__ */ jsx49(
28514
28533
  DropdownMenuItem,
28515
28534
  {
28516
28535
  asChild: true,
28517
28536
  className: "cursor-pointer rounded-sm px-3 py-2 text-[13px] text-gray-800 hover:bg-gray-100",
28518
- children: LinkComponent ? /* @__PURE__ */ jsx47(LinkComponent, { href: tab.url || "#", children: tab.header }) : tab.header
28537
+ children: /* @__PURE__ */ jsx49(Link5, { href: tab.url || "#", children: tab.header })
28519
28538
  },
28520
28539
  i
28521
28540
  );
@@ -28526,56 +28545,55 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28526
28545
  const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
28527
28546
  const forceDesktop = canvasMode === "desktop";
28528
28547
  return /* @__PURE__ */ jsxs29("div", { className, style, children: [
28529
- forceDesktop && /* @__PURE__ */ jsx47("div", { className: "hidden md:flex", children: /* @__PURE__ */ jsx47("div", { className: `flex gap-2 ${verticalMenu ? "flex-col items-start" : "flex-row"}`, children: rawTabs.map(renderDesktopTab) }) }),
28530
- forceMobile && /* @__PURE__ */ jsx47("div", { children: renderMobileMenu() }),
28531
- /* @__PURE__ */ jsx47("div", { className: "md:hidden", children: renderMobileMenu() })
28548
+ forceDesktop && /* @__PURE__ */ jsx49("div", { className: "hidden md:flex", children: /* @__PURE__ */ jsx49("div", { className: `flex gap-2 ${verticalMenu ? "flex-col items-start" : "flex-row"}`, children: rawTabs.map(renderDesktopTab) }) }),
28549
+ forceMobile && /* @__PURE__ */ jsx49("div", { children: renderMobileMenu() }),
28550
+ /* @__PURE__ */ jsx49("div", { className: "md:hidden", children: renderMobileMenu() })
28532
28551
  ] });
28533
28552
  };
28534
28553
  var Tabs_default = Tabs;
28535
28554
 
28536
28555
  // src/components/Navigation/Stages/Stages.tsx
28537
28556
  import React5 from "react";
28538
- import { jsx as jsx48, jsxs as jsxs30 } from "react/jsx-runtime";
28557
+ import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
28539
28558
  var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
28540
- return /* @__PURE__ */ jsx48("div", { className, style, children: /* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
28541
- /* @__PURE__ */ jsx48("div", { className: "flex items-center", children: /* @__PURE__ */ jsx48("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx48("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx48("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
28542
- /* @__PURE__ */ jsx48("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs30(React5.Fragment, { children: [
28543
- /* @__PURE__ */ jsx48(
28559
+ return /* @__PURE__ */ jsx50("div", { className, style, children: /* @__PURE__ */ jsxs30("div", { className: "flex items-center justify-between bg-red p-2 rounded-lg border border-gray-200 w-full", children: [
28560
+ /* @__PURE__ */ jsx50("div", { className: "flex items-center", children: /* @__PURE__ */ jsx50("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx50("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx50("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
28561
+ /* @__PURE__ */ jsx50("div", { className: "flex items-center flex-1 px-2 flex-wrap gap-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs30(React5.Fragment, { children: [
28562
+ /* @__PURE__ */ jsx50(
28544
28563
  "button",
28545
28564
  {
28546
- className: `
28547
- min-w-[120px] px-4 py-2 rounded-full text-sm font-medium transition-colors duration-200 whitespace-nowrap ${stage.isActive ? "bg-[#034486] text-white shadow-md" : "bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,
28565
+ className: `min-w-[120px] px-4 py-2 rounded-full text-sm font-medium transition-colors duration-200 whitespace-nowrap ${stage.isActive ? "bg-[#034486] text-white shadow-md" : "bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,
28548
28566
  children: stage.header
28549
28567
  }
28550
28568
  ),
28551
- index < stages.length - 1 && /* @__PURE__ */ jsx48("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
28569
+ index < stages.length - 1 && /* @__PURE__ */ jsx50("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
28552
28570
  ] }, stage.id)) }),
28553
- isShowBtn && /* @__PURE__ */ jsx48("div", { className: "flex items-center", children: /* @__PURE__ */ jsx48("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
28571
+ isShowBtn && /* @__PURE__ */ jsx50("div", { className: "flex items-center", children: /* @__PURE__ */ jsx50("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
28554
28572
  ] }) });
28555
28573
  };
28556
28574
  var Stages_default = StagesComponent;
28557
28575
 
28558
28576
  // src/components/Navigation/Spacer/Spacer.tsx
28559
- import { jsx as jsx49 } from "react/jsx-runtime";
28577
+ import { jsx as jsx51 } from "react/jsx-runtime";
28560
28578
  var Spacer = ({ className, style }) => {
28561
- return /* @__PURE__ */ jsx49("div", { className: `${className}`, style });
28579
+ return /* @__PURE__ */ jsx51("div", { className: `${className}`, style });
28562
28580
  };
28563
28581
  var Spacer_default = Spacer;
28564
28582
 
28565
28583
  // src/components/Navigation/Profile/Profile.tsx
28566
- import { jsx as jsx50, jsxs as jsxs31 } from "react/jsx-runtime";
28584
+ import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
28567
28585
 
28568
28586
  // src/components/Navigation/Notification/Notification.tsx
28569
- import { jsx as jsx51, jsxs as jsxs32 } from "react/jsx-runtime";
28587
+ import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
28570
28588
 
28571
28589
  // src/components/Navigation/Logo/Logo.tsx
28572
- import { jsx as jsx52 } from "react/jsx-runtime";
28590
+ import { jsx as jsx54 } from "react/jsx-runtime";
28573
28591
 
28574
28592
  // src/components/ui/avatar.tsx
28575
28593
  import * as React6 from "react";
28576
28594
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
28577
- import { jsx as jsx53 } from "react/jsx-runtime";
28578
- var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
28595
+ import { jsx as jsx55 } from "react/jsx-runtime";
28596
+ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28579
28597
  AvatarPrimitive.Root,
28580
28598
  {
28581
28599
  ref,
@@ -28587,7 +28605,7 @@ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
28587
28605
  }
28588
28606
  ));
28589
28607
  Avatar.displayName = AvatarPrimitive.Root.displayName;
28590
- var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
28608
+ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28591
28609
  AvatarPrimitive.Image,
28592
28610
  {
28593
28611
  ref,
@@ -28596,7 +28614,7 @@ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
28596
28614
  }
28597
28615
  ));
28598
28616
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
28599
- var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx53(
28617
+ var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28600
28618
  AvatarPrimitive.Fallback,
28601
28619
  {
28602
28620
  ref,
@@ -28610,7 +28628,9 @@ var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__P
28610
28628
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
28611
28629
 
28612
28630
  // src/components/Navigation/Navbar/Navbar.tsx
28613
- import { Fragment as Fragment17, jsx as jsx54, jsxs as jsxs33 } from "react/jsx-runtime";
28631
+ import Link6 from "next/link";
28632
+ import Image3 from "next/image";
28633
+ import { Fragment as Fragment18, jsx as jsx56, jsxs as jsxs33 } from "react/jsx-runtime";
28614
28634
  function Navbar({
28615
28635
  style,
28616
28636
  badgeType,
@@ -28621,16 +28641,14 @@ function Navbar({
28621
28641
  imageUrl,
28622
28642
  altText = "Logo",
28623
28643
  canvasMode = "desktop",
28624
- LinkComponent,
28625
- ImageComponent,
28626
28644
  list = [],
28627
28645
  userName = "Guest User"
28628
28646
  }) {
28629
28647
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
28630
- return /* @__PURE__ */ jsx54("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs33("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
28631
- LinkComponent && ImageComponent ? /* @__PURE__ */ jsx54(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx54(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx54("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ jsx54("span", { className: "font-semibold text-blue-700", children: "Logo" }),
28632
- !isMobileView && LinkComponent && /* @__PURE__ */ jsx54("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ jsx54(
28633
- LinkComponent,
28648
+ return /* @__PURE__ */ jsx56("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs33("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
28649
+ /* @__PURE__ */ jsx56(Link6, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx56(Image3, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx56("span", { className: "font-semibold text-blue-700", children: "Logo" }) }),
28650
+ !isMobileView && /* @__PURE__ */ jsx56("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ jsx56(
28651
+ Link6,
28634
28652
  {
28635
28653
  href: item.url || "#",
28636
28654
  className: "text-sm font-medium text-gray-600 hover:text-gray-900 transition-colors",
@@ -28639,53 +28657,53 @@ function Navbar({
28639
28657
  item.id
28640
28658
  )) }),
28641
28659
  /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-3", children: [
28642
- !isMobileView ? /* @__PURE__ */ jsx54("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs33("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
28643
- /* @__PURE__ */ jsx54(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28644
- /* @__PURE__ */ jsx54(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28645
- ] }) }) : /* @__PURE__ */ jsx54(
28660
+ !isMobileView ? /* @__PURE__ */ jsx56("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs33("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
28661
+ /* @__PURE__ */ jsx56(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28662
+ /* @__PURE__ */ jsx56(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28663
+ ] }) }) : /* @__PURE__ */ jsx56(
28646
28664
  Button,
28647
28665
  {
28648
28666
  variant: "ghost",
28649
28667
  size: "icon",
28650
28668
  className: "border border-gray-400",
28651
- children: /* @__PURE__ */ jsx54(Search, { className: "h-5 w-5 text-gray-400" })
28669
+ children: /* @__PURE__ */ jsx56(Search, { className: "h-5 w-5 text-gray-400" })
28652
28670
  }
28653
28671
  ),
28654
28672
  /* @__PURE__ */ jsxs33("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
28655
- /* @__PURE__ */ jsx54(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx54(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28656
- badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx54("span", { className: "absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-red-500 text-[10px] text-white leading-8", children: badgeCount }) : /* @__PURE__ */ jsx54("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
28673
+ /* @__PURE__ */ jsx56(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx56(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28674
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && Number(badgeCount) > 0 ? /* @__PURE__ */ jsx56("span", { className: "absolute -top-1 -right-1 flex h-4 w-4 items-center justify-center rounded-full bg-red-500 text-[10px] text-white leading-8", children: badgeCount }) : /* @__PURE__ */ jsx56("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
28657
28675
  ] }),
28658
28676
  /* @__PURE__ */ jsxs33(DropdownMenu, { children: [
28659
- /* @__PURE__ */ jsx54(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
28660
- !isMobileView && showName && /* @__PURE__ */ jsx54("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28661
- !isMobileView ? /* @__PURE__ */ jsxs33(Fragment17, { children: [
28662
- /* @__PURE__ */ jsx54(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx54(
28677
+ /* @__PURE__ */ jsx56(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
28678
+ !isMobileView && showName && /* @__PURE__ */ jsx56("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28679
+ !isMobileView ? /* @__PURE__ */ jsxs33(Fragment18, { children: [
28680
+ /* @__PURE__ */ jsx56(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx56(
28663
28681
  AvatarImage,
28664
28682
  {
28665
28683
  src: "/images/appbuilder/toolset/profile.svg",
28666
28684
  alt: "Profile"
28667
28685
  }
28668
- ) : /* @__PURE__ */ jsx54("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: userName && getInitials(userName) }) }),
28669
- /* @__PURE__ */ jsx54(
28686
+ ) : /* @__PURE__ */ jsx56("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: userName && getInitials(userName) }) }),
28687
+ /* @__PURE__ */ jsx56(
28670
28688
  Button,
28671
28689
  {
28672
28690
  variant: "ghost",
28673
28691
  size: "icon",
28674
28692
  className: "text-gray-900 md:hidden",
28675
- children: /* @__PURE__ */ jsx54(Menu, { className: "h-6 w-6" })
28693
+ children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
28676
28694
  }
28677
28695
  )
28678
- ] }) : /* @__PURE__ */ jsx54(
28696
+ ] }) : /* @__PURE__ */ jsx56(
28679
28697
  Button,
28680
28698
  {
28681
28699
  variant: "ghost",
28682
28700
  size: "icon",
28683
28701
  className: "text-gray-900",
28684
- children: /* @__PURE__ */ jsx54(Menu, { className: "h-6 w-6" })
28702
+ children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
28685
28703
  }
28686
28704
  )
28687
28705
  ] }) }),
28688
- /* @__PURE__ */ jsx54(DropdownMenuContent, { align: "end", className: "bg-white", children: LinkComponent && /* @__PURE__ */ jsx54(Fragment17, { children: list && list.length > 0 && /* @__PURE__ */ jsx54(Fragment17, { children: list.map((item) => /* @__PURE__ */ jsx54(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx54(LinkComponent, { href: item.url || "#", children: item.header }) }, item.id)) }) }) })
28706
+ /* @__PURE__ */ jsx56(DropdownMenuContent, { align: "end", className: "bg-white", children: list && list.length > 0 && /* @__PURE__ */ jsx56(Fragment18, { children: list.map((item) => /* @__PURE__ */ jsx56(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx56(Link6, { href: item.url || "#", children: item.header }) }, item.id)) }) })
28689
28707
  ] })
28690
28708
  ] })
28691
28709
  ] }) });
@@ -28693,28 +28711,28 @@ function Navbar({
28693
28711
 
28694
28712
  // src/components/Chart/BarChart.tsx
28695
28713
  import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
28696
- import { jsx as jsx55, jsxs as jsxs34 } from "react/jsx-runtime";
28714
+ import { jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
28697
28715
  var ChartComponent = ({ className, style, ...props }) => {
28698
28716
  const data = Array.isArray(props?.data) ? props.data : [];
28699
28717
  const chartType = props.chartType || "bar";
28700
28718
  const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
28701
- return /* @__PURE__ */ jsx55("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx55(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs34(BarChart, { data, children: [
28702
- /* @__PURE__ */ jsx55(CartesianGrid, { strokeDasharray: "3 3" }),
28703
- /* @__PURE__ */ jsx55(XAxis, { dataKey: "name" }),
28704
- /* @__PURE__ */ jsx55(YAxis, {}),
28705
- /* @__PURE__ */ jsx55(Tooltip, {}),
28706
- /* @__PURE__ */ jsx55(Legend, { verticalAlign: legendsPosition, align: "center" }),
28707
- /* @__PURE__ */ jsx55(Bar, { dataKey: "value", fill: "#00695C" })
28719
+ return /* @__PURE__ */ jsx57("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx57(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs34(BarChart, { data, children: [
28720
+ /* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
28721
+ /* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
28722
+ /* @__PURE__ */ jsx57(YAxis, {}),
28723
+ /* @__PURE__ */ jsx57(Tooltip, {}),
28724
+ /* @__PURE__ */ jsx57(Legend, { verticalAlign: legendsPosition, align: "center" }),
28725
+ /* @__PURE__ */ jsx57(Bar, { dataKey: "value", fill: "#00695C" })
28708
28726
  ] }) : /* @__PURE__ */ jsxs34(AreaChart, { data, children: [
28709
- /* @__PURE__ */ jsx55("defs", { children: /* @__PURE__ */ jsxs34("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28710
- /* @__PURE__ */ jsx55("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28711
- /* @__PURE__ */ jsx55("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
28727
+ /* @__PURE__ */ jsx57("defs", { children: /* @__PURE__ */ jsxs34("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28728
+ /* @__PURE__ */ jsx57("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28729
+ /* @__PURE__ */ jsx57("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
28712
28730
  ] }) }),
28713
- /* @__PURE__ */ jsx55(CartesianGrid, { strokeDasharray: "3 3" }),
28714
- /* @__PURE__ */ jsx55(XAxis, { dataKey: "name" }),
28715
- /* @__PURE__ */ jsx55(YAxis, {}),
28716
- /* @__PURE__ */ jsx55(Tooltip, {}),
28717
- /* @__PURE__ */ jsx55(
28731
+ /* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
28732
+ /* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
28733
+ /* @__PURE__ */ jsx57(YAxis, {}),
28734
+ /* @__PURE__ */ jsx57(Tooltip, {}),
28735
+ /* @__PURE__ */ jsx57(
28718
28736
  Area,
28719
28737
  {
28720
28738
  type: "monotone",
@@ -28730,7 +28748,7 @@ var BarChart_default = ChartComponent;
28730
28748
 
28731
28749
  // src/components/Chart/PieChart.tsx
28732
28750
  import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
28733
- import { Fragment as Fragment18, jsx as jsx56, jsxs as jsxs35 } from "react/jsx-runtime";
28751
+ import { Fragment as Fragment19, jsx as jsx58, jsxs as jsxs35 } from "react/jsx-runtime";
28734
28752
  var DonutChart = ({ className, style, ...props }) => {
28735
28753
  const data = Array.isArray(props?.data) ? props.data : [];
28736
28754
  const total = data.reduce((sum, d) => sum + d.value, 0);
@@ -28763,19 +28781,19 @@ var DonutChart = ({ className, style, ...props }) => {
28763
28781
  const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
28764
28782
  const renderLegends = () => {
28765
28783
  if (!showLegends) return null;
28766
- return /* @__PURE__ */ jsx56(Fragment18, { children: data.map((d) => /* @__PURE__ */ jsxs35(
28784
+ return /* @__PURE__ */ jsx58(Fragment19, { children: data.map((d) => /* @__PURE__ */ jsxs35(
28767
28785
  "div",
28768
28786
  {
28769
28787
  className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
28770
28788
  children: [
28771
- /* @__PURE__ */ jsx56(
28789
+ /* @__PURE__ */ jsx58(
28772
28790
  "span",
28773
28791
  {
28774
28792
  className: "inline-block w-[16px] h-[16px] rounded",
28775
28793
  style: { backgroundColor: d.color }
28776
28794
  }
28777
28795
  ),
28778
- /* @__PURE__ */ jsx56("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
28796
+ /* @__PURE__ */ jsx58("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
28779
28797
  ]
28780
28798
  },
28781
28799
  d.name
@@ -28788,7 +28806,7 @@ var DonutChart = ({ className, style, ...props }) => {
28788
28806
  style,
28789
28807
  children: [
28790
28808
  /* @__PURE__ */ jsxs35("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
28791
- data.length > 0 && /* @__PURE__ */ jsx56(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs35(PieChart, { children: [
28809
+ data.length > 0 && /* @__PURE__ */ jsx58(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs35(PieChart, { children: [
28792
28810
  /* @__PURE__ */ jsxs35(
28793
28811
  Pie,
28794
28812
  {
@@ -28801,8 +28819,8 @@ var DonutChart = ({ className, style, ...props }) => {
28801
28819
  labelLine: false,
28802
28820
  isAnimationActive: false,
28803
28821
  children: [
28804
- data.map((entry, index) => /* @__PURE__ */ jsx56(Cell, { fill: entry.color }, `cell-${index}`)),
28805
- /* @__PURE__ */ jsx56(
28822
+ data.map((entry, index) => /* @__PURE__ */ jsx58(Cell, { fill: entry.color }, `cell-${index}`)),
28823
+ /* @__PURE__ */ jsx58(
28806
28824
  LabelList,
28807
28825
  {
28808
28826
  dataKey: "value",
@@ -28813,14 +28831,14 @@ var DonutChart = ({ className, style, ...props }) => {
28813
28831
  ]
28814
28832
  }
28815
28833
  ),
28816
- /* @__PURE__ */ jsx56(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
28834
+ /* @__PURE__ */ jsx58(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
28817
28835
  ] }) }),
28818
28836
  /* @__PURE__ */ jsxs35("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-2xl md:text-4xl font-bold text-[#000]", children: [
28819
28837
  total,
28820
28838
  "k"
28821
28839
  ] })
28822
28840
  ] }),
28823
- /* @__PURE__ */ jsx56("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
28841
+ /* @__PURE__ */ jsx58("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
28824
28842
  w-full md:w-auto`, children: renderLegends() })
28825
28843
  ]
28826
28844
  }
@@ -28829,10 +28847,10 @@ var DonutChart = ({ className, style, ...props }) => {
28829
28847
  var PieChart_default = DonutChart;
28830
28848
 
28831
28849
  // src/components/Blocks/EmailComposer.tsx
28832
- import { jsx as jsx57, jsxs as jsxs36 } from "react/jsx-runtime";
28850
+ import { jsx as jsx59, jsxs as jsxs36 } from "react/jsx-runtime";
28833
28851
  function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
28834
- return /* @__PURE__ */ jsx57("div", { className, style, children: /* @__PURE__ */ jsxs36("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
28835
- /* @__PURE__ */ jsx57("div", { className: "mb-3", children: /* @__PURE__ */ jsx57(
28852
+ return /* @__PURE__ */ jsx59("div", { className, style, children: /* @__PURE__ */ jsxs36("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
28853
+ /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28836
28854
  "input",
28837
28855
  {
28838
28856
  type: "email",
@@ -28841,8 +28859,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28841
28859
  required: true
28842
28860
  }
28843
28861
  ) }),
28844
- /* @__PURE__ */ jsx57("div", { className: "mb-3", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-2", children: [
28845
- /* @__PURE__ */ jsx57(
28862
+ /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-2", children: [
28863
+ /* @__PURE__ */ jsx59(
28846
28864
  "input",
28847
28865
  {
28848
28866
  type: "email",
@@ -28853,7 +28871,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28853
28871
  required: true
28854
28872
  }
28855
28873
  ),
28856
- !showCc && /* @__PURE__ */ jsx57(
28874
+ !showCc && /* @__PURE__ */ jsx59(
28857
28875
  "button",
28858
28876
  {
28859
28877
  onClick: () => setShowCc?.(true),
@@ -28861,7 +28879,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28861
28879
  children: "Cc"
28862
28880
  }
28863
28881
  ),
28864
- !showBcc && /* @__PURE__ */ jsx57(
28882
+ !showBcc && /* @__PURE__ */ jsx59(
28865
28883
  "button",
28866
28884
  {
28867
28885
  onClick: () => setShowBcc?.(true),
@@ -28870,7 +28888,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28870
28888
  }
28871
28889
  )
28872
28890
  ] }) }),
28873
- showCc && /* @__PURE__ */ jsx57("div", { className: "mb-3", children: /* @__PURE__ */ jsx57(
28891
+ showCc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28874
28892
  "input",
28875
28893
  {
28876
28894
  type: "text",
@@ -28880,7 +28898,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28880
28898
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28881
28899
  }
28882
28900
  ) }),
28883
- showBcc && /* @__PURE__ */ jsx57("div", { className: "mb-3", children: /* @__PURE__ */ jsx57(
28901
+ showBcc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28884
28902
  "input",
28885
28903
  {
28886
28904
  type: "text",
@@ -28890,7 +28908,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28890
28908
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28891
28909
  }
28892
28910
  ) }),
28893
- /* @__PURE__ */ jsx57("div", { className: "mb-3", children: /* @__PURE__ */ jsx57(
28911
+ /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28894
28912
  "input",
28895
28913
  {
28896
28914
  type: "text",
@@ -28900,11 +28918,11 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28900
28918
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28901
28919
  }
28902
28920
  ) }),
28903
- /* @__PURE__ */ jsx57("div", { className: "mb-4", children: /* @__PURE__ */ jsx57(MyEditor, { value: body, onChange: setBody }) }),
28921
+ /* @__PURE__ */ jsx59("div", { className: "mb-4", children: /* @__PURE__ */ jsx59(MyEditor, { value: body, onChange: setBody }) }),
28904
28922
  /* @__PURE__ */ jsxs36("div", { className: "flex justify-end gap-2", children: [
28905
- /* @__PURE__ */ jsx57("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
28906
- /* @__PURE__ */ jsx57("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
28907
- /* @__PURE__ */ jsx57("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
28923
+ /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
28924
+ /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
28925
+ /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
28908
28926
  ] })
28909
28927
  ] }) });
28910
28928
  }
@@ -28947,6 +28965,7 @@ function showSonnerToast({
28947
28965
  }
28948
28966
  export {
28949
28967
  Accordion_default as Accordion,
28968
+ AccordionGroup_default as AccordionGroup,
28950
28969
  BarChart_default as BarChart,
28951
28970
  Breadcrumb_default as Breadcrumb,
28952
28971
  Button_default as Button,
@@ -28975,6 +28994,7 @@ export {
28975
28994
  RichText,
28976
28995
  SearchInput_default as Search,
28977
28996
  Shape_default as Shape,
28997
+ Slot_default as Slot,
28978
28998
  Spacer_default as Spacer,
28979
28999
  Stages_default as Stages,
28980
29000
  SwitchToggle_default as SwitchToggle,