@algorithm-shift/design-system 1.2.59 → 1.2.60

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
@@ -6,15 +6,30 @@ import {
6
6
  } from "./chunk-27YZ2WSP.mjs";
7
7
 
8
8
  // src/components/Layout/Modal.tsx
9
+ import { useEffect } from "react";
9
10
  import { jsx, jsxs } from "react/jsx-runtime";
10
11
  var Modal = ({
11
12
  children,
12
- onClose,
13
- label,
14
13
  className,
15
- style
14
+ style,
15
+ showModal,
16
+ onModalClose,
17
+ label
16
18
  }) => {
17
- return /* @__PURE__ */ jsx("div", { className, style, children: /* @__PURE__ */ jsxs("div", { className: "min-h-80", children: [
19
+ useEffect(() => {
20
+ if (showModal) {
21
+ const wrapper = document.getElementById("canvas-wrapper") || document.getElementById("canvas-preview");
22
+ if (!wrapper) return;
23
+ const overlay = document.createElement("div");
24
+ overlay.className = "absolute flex inset-0 bg-black opacity-50 z-10 w-full h-full";
25
+ wrapper.appendChild(overlay);
26
+ return () => {
27
+ if (wrapper.contains(overlay)) wrapper.removeChild(overlay);
28
+ };
29
+ }
30
+ }, [showModal]);
31
+ if (!showModal) return null;
32
+ return /* @__PURE__ */ jsx("div", { className: `${className} top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 shadow-lg rounded-md z-90 bg-[#fff] `, style: { position: "fixed", ...style }, children: /* @__PURE__ */ jsxs("div", { className: "min-h-80", children: [
18
33
  /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center p-4 border-b border-gray-300 bg-gray-100", children: [
19
34
  /* @__PURE__ */ jsx("h4", { className: "text-[#000]", children: label || "Modal Title" }),
20
35
  /* @__PURE__ */ jsx(
@@ -22,7 +37,7 @@ var Modal = ({
22
37
  {
23
38
  className: "cursor-pointer text-[#000]",
24
39
  role: "presentation",
25
- onClick: onClose,
40
+ onClick: () => onModalClose && onModalClose(false),
26
41
  children: "X"
27
42
  }
28
43
  )
@@ -122,10 +137,59 @@ var AccordionGroup = ({ children, style, className }) => {
122
137
  };
123
138
  var AccordionGroup_default = AccordionGroup;
124
139
 
140
+ // src/components/Layout/TabList.tsx
141
+ import { jsx as jsx8 } from "react/jsx-runtime";
142
+ function TabList({
143
+ children,
144
+ style,
145
+ className,
146
+ activeTab,
147
+ tabId
148
+ }) {
149
+ return /* @__PURE__ */ jsx8(
150
+ "div",
151
+ {
152
+ className: `min-h-30 ${className} ${activeTab === tabId ? "visible" : "hidden"}`,
153
+ style,
154
+ children
155
+ }
156
+ );
157
+ }
158
+
159
+ // src/components/Layout/TabGroup.tsx
160
+ import { useMemo } from "react";
161
+ import { jsx as jsx9, jsxs as jsxs3 } from "react/jsx-runtime";
162
+ function TabGroupComponent({
163
+ children,
164
+ style,
165
+ className,
166
+ list,
167
+ activeTab,
168
+ onTabChange
169
+ }) {
170
+ const formatedList = useMemo(
171
+ () => Array.isArray(list) ? [...list].sort((a, b) => (a.orderNumber ?? 0) - (b.orderNumber ?? 0)) : [],
172
+ [list]
173
+ );
174
+ return /* @__PURE__ */ jsxs3("div", { className, style, children: [
175
+ /* @__PURE__ */ jsx9("div", { className: "flex border-b border-gray-200 gap-1", children: formatedList.map((tab) => /* @__PURE__ */ jsx9(
176
+ "button",
177
+ {
178
+ "data-id": tab.tabId,
179
+ className: `px-4 py-2 text-sm border-b-2 font-medium transition-colors cursor-pointer ${activeTab === tab.tabId ? " bg-blue-500 text-white" : "bg-gray-100 "}`,
180
+ onClick: () => onTabChange && onTabChange(tab.tabId),
181
+ children: tab.name || "Tab List"
182
+ },
183
+ tab.tabId
184
+ )) }),
185
+ children
186
+ ] });
187
+ }
188
+
125
189
  // src/components/ui/button.tsx
126
190
  import { Slot as Slot2 } from "@radix-ui/react-slot";
127
191
  import { cva } from "class-variance-authority";
128
- import { jsx as jsx8 } from "react/jsx-runtime";
192
+ import { jsx as jsx10 } from "react/jsx-runtime";
129
193
  var buttonVariants = cva(
130
194
  "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",
131
195
  {
@@ -159,7 +223,7 @@ function Button({
159
223
  ...props
160
224
  }) {
161
225
  const Comp = asChild ? Slot2 : "button";
162
- return /* @__PURE__ */ jsx8(
226
+ return /* @__PURE__ */ jsx10(
163
227
  Comp,
164
228
  {
165
229
  "data-slot": "button",
@@ -170,14 +234,14 @@ function Button({
170
234
  }
171
235
 
172
236
  // src/components/Basic/Button/Button.tsx
173
- import { jsx as jsx9 } from "react/jsx-runtime";
237
+ import { jsx as jsx11 } from "react/jsx-runtime";
174
238
  var ButtonWrapper = ({
175
239
  className,
176
240
  style,
177
241
  textContent = "Button",
178
242
  ...props
179
243
  }) => {
180
- return /* @__PURE__ */ jsx9(
244
+ return /* @__PURE__ */ jsx11(
181
245
  Button,
182
246
  {
183
247
  ...props,
@@ -193,7 +257,7 @@ var Button_default = ButtonWrapper;
193
257
  var image_placeholder_default = "data:image/png;base64,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";
194
258
 
195
259
  // src/components/Basic/Image/Image.tsx
196
- import { jsx as jsx10 } from "react/jsx-runtime";
260
+ import { jsx as jsx12 } from "react/jsx-runtime";
197
261
  var ImageControl = ({
198
262
  className,
199
263
  style,
@@ -210,21 +274,21 @@ var ImageControl = ({
210
274
  className
211
275
  );
212
276
  if (!imageUrl && !imageUrlExternal) {
213
- return /* @__PURE__ */ jsx10("div", { className: imageClass, children: /* @__PURE__ */ jsx10("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
277
+ return /* @__PURE__ */ jsx12("div", { className: imageClass, children: /* @__PURE__ */ jsx12("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
214
278
  }
215
279
  const url = imageUrlExternal || imageUrl;
216
- return /* @__PURE__ */ jsx10("img", { src: url, alt: altText, className: defaultImgClass, style });
280
+ return /* @__PURE__ */ jsx12("img", { src: url, alt: altText, className: defaultImgClass, style });
217
281
  };
218
282
  var Image_default = ImageControl;
219
283
 
220
284
  // src/components/Basic/Shape/Shape.tsx
221
- import { jsx as jsx11 } from "react/jsx-runtime";
285
+ import { jsx as jsx13 } from "react/jsx-runtime";
222
286
  var Shape = ({
223
287
  children,
224
288
  className,
225
289
  style
226
290
  }) => {
227
- return /* @__PURE__ */ jsx11("div", { className, style, children });
291
+ return /* @__PURE__ */ jsx13("div", { className, style, children });
228
292
  };
229
293
  var Shape_default = Shape;
230
294
 
@@ -26562,9 +26626,9 @@ var ZoomOut = createLucideIcon("zoom-out", __iconNode1634);
26562
26626
 
26563
26627
  // src/components/Basic/Breadcrumb/Breadcrumb.tsx
26564
26628
  import Link3 from "next/link";
26565
- import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
26629
+ import { jsx as jsx14, jsxs as jsxs4 } from "react/jsx-runtime";
26566
26630
  var Breadcrumb = ({ list = [], className, style }) => {
26567
- return /* @__PURE__ */ jsx12(
26631
+ return /* @__PURE__ */ jsx14(
26568
26632
  "nav",
26569
26633
  {
26570
26634
  "aria-label": "breadcrumb",
@@ -26572,16 +26636,16 @@ var Breadcrumb = ({ list = [], className, style }) => {
26572
26636
  style,
26573
26637
  children: list.map((item, index) => {
26574
26638
  const isLast = index === list.length - 1;
26575
- return /* @__PURE__ */ jsxs3("div", { className: "flex items-center", children: [
26576
- item.url && !isLast ? /* @__PURE__ */ jsx12(
26639
+ return /* @__PURE__ */ jsxs4("div", { className: "flex items-center", children: [
26640
+ item.url && !isLast ? /* @__PURE__ */ jsx14(
26577
26641
  Link3,
26578
26642
  {
26579
26643
  href: item.url,
26580
26644
  className: "hover:text-foreground transition-colors",
26581
26645
  children: item.header
26582
26646
  }
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" })
26647
+ ) : /* @__PURE__ */ jsx14("span", { className: "text-foreground font-medium", children: item.header }),
26648
+ !isLast && /* @__PURE__ */ jsx14(ChevronRight, { className: "mx-2 h-4 w-4 text-muted-foreground" })
26585
26649
  ] }, item.id);
26586
26650
  })
26587
26651
  }
@@ -26591,16 +26655,16 @@ var Breadcrumb_default = Breadcrumb;
26591
26655
 
26592
26656
  // src/components/ui/dropdown-menu.tsx
26593
26657
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
26594
- import { jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
26658
+ import { jsx as jsx15, jsxs as jsxs5 } from "react/jsx-runtime";
26595
26659
  function DropdownMenu({
26596
26660
  ...props
26597
26661
  }) {
26598
- return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
26662
+ return /* @__PURE__ */ jsx15(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
26599
26663
  }
26600
26664
  function DropdownMenuTrigger({
26601
26665
  ...props
26602
26666
  }) {
26603
- return /* @__PURE__ */ jsx13(
26667
+ return /* @__PURE__ */ jsx15(
26604
26668
  DropdownMenuPrimitive.Trigger,
26605
26669
  {
26606
26670
  "data-slot": "dropdown-menu-trigger",
@@ -26613,7 +26677,7 @@ function DropdownMenuContent({
26613
26677
  sideOffset = 4,
26614
26678
  ...props
26615
26679
  }) {
26616
- return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx13(
26680
+ return /* @__PURE__ */ jsx15(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx15(
26617
26681
  DropdownMenuPrimitive.Content,
26618
26682
  {
26619
26683
  "data-slot": "dropdown-menu-content",
@@ -26632,7 +26696,7 @@ function DropdownMenuItem({
26632
26696
  variant = "default",
26633
26697
  ...props
26634
26698
  }) {
26635
- return /* @__PURE__ */ jsx13(
26699
+ return /* @__PURE__ */ jsx15(
26636
26700
  DropdownMenuPrimitive.Item,
26637
26701
  {
26638
26702
  "data-slot": "dropdown-menu-item",
@@ -26649,7 +26713,7 @@ function DropdownMenuItem({
26649
26713
  function DropdownMenuSub({
26650
26714
  ...props
26651
26715
  }) {
26652
- return /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
26716
+ return /* @__PURE__ */ jsx15(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
26653
26717
  }
26654
26718
  function DropdownMenuSubTrigger({
26655
26719
  className,
@@ -26657,7 +26721,7 @@ function DropdownMenuSubTrigger({
26657
26721
  children,
26658
26722
  ...props
26659
26723
  }) {
26660
- return /* @__PURE__ */ jsxs4(
26724
+ return /* @__PURE__ */ jsxs5(
26661
26725
  DropdownMenuPrimitive.SubTrigger,
26662
26726
  {
26663
26727
  "data-slot": "dropdown-menu-sub-trigger",
@@ -26669,7 +26733,7 @@ function DropdownMenuSubTrigger({
26669
26733
  ...props,
26670
26734
  children: [
26671
26735
  children,
26672
- /* @__PURE__ */ jsx13(ChevronRight, { className: "ml-auto size-4" })
26736
+ /* @__PURE__ */ jsx15(ChevronRight, { className: "ml-auto size-4" })
26673
26737
  ]
26674
26738
  }
26675
26739
  );
@@ -26678,7 +26742,7 @@ function DropdownMenuSubContent({
26678
26742
  className,
26679
26743
  ...props
26680
26744
  }) {
26681
- return /* @__PURE__ */ jsx13(
26745
+ return /* @__PURE__ */ jsx15(
26682
26746
  DropdownMenuPrimitive.SubContent,
26683
26747
  {
26684
26748
  "data-slot": "dropdown-menu-sub-content",
@@ -26693,11 +26757,11 @@ function DropdownMenuSubContent({
26693
26757
 
26694
26758
  // src/components/Basic/ButtonGroup/ButtonGroup.tsx
26695
26759
  import Link4 from "next/link";
26696
- import { jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
26760
+ import { jsx as jsx16, jsxs as jsxs6 } from "react/jsx-runtime";
26697
26761
  function SplitButton({ style, textContent, className, list = [] }) {
26698
26762
  const bgColor = style?.backgroundColor || "";
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: [
26700
- /* @__PURE__ */ jsx14(
26763
+ return /* @__PURE__ */ jsxs6("div", { className: "inline-flex rounded-md overflow-hidden border border-teal-200 bg-teal-700 items-center focus:ring-0", style: { backgroundColor: bgColor }, children: [
26764
+ /* @__PURE__ */ jsx16(
26701
26765
  Button,
26702
26766
  {
26703
26767
  className: `rounded-none border-r px-4 py-2 text-whit focus:ring-0 ${className || ""}`,
@@ -26705,17 +26769,17 @@ function SplitButton({ style, textContent, className, list = [] }) {
26705
26769
  children: textContent || "Button"
26706
26770
  }
26707
26771
  ),
26708
- /* @__PURE__ */ jsxs5(DropdownMenu, { children: [
26709
- /* @__PURE__ */ jsx14(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx14(
26772
+ /* @__PURE__ */ jsxs6(DropdownMenu, { children: [
26773
+ /* @__PURE__ */ jsx16(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx16(
26710
26774
  Button,
26711
26775
  {
26712
26776
  className: "rounded-none bg-teal-700 px-4 py-2 text-white ring-0 shadow-none hover:bg-teal-600 focus:ring-0",
26713
26777
  "aria-label": "Open Dropdown",
26714
26778
  style: { backgroundColor: bgColor },
26715
- children: /* @__PURE__ */ jsx14(ChevronDown, { className: "w-4 h-4" })
26779
+ children: /* @__PURE__ */ jsx16(ChevronDown, { className: "w-4 h-4" })
26716
26780
  }
26717
26781
  ) }),
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)) })
26782
+ /* @__PURE__ */ jsx16(DropdownMenuContent, { align: "end", className: "bg-white min-w-[120px]", children: list.map((item) => /* @__PURE__ */ jsx16(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx16(Link4, { href: item.url || "#", children: item.header }) }, item.id)) })
26719
26783
  ] })
26720
26784
  ] });
26721
26785
  }
@@ -26723,7 +26787,7 @@ function SplitButton({ style, textContent, className, list = [] }) {
26723
26787
  // src/components/Basic/Icon/Icon.tsx
26724
26788
  import * as faSolid from "@fortawesome/free-solid-svg-icons";
26725
26789
  import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
26726
- import { jsx as jsx15 } from "react/jsx-runtime";
26790
+ import { jsx as jsx17 } from "react/jsx-runtime";
26727
26791
  var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize = 10, style }) => {
26728
26792
  let content = null;
26729
26793
  if (iconType === "fontawesome") {
@@ -26732,7 +26796,7 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
26732
26796
  if (!faIcon) {
26733
26797
  return null;
26734
26798
  }
26735
- content = /* @__PURE__ */ jsx15(
26799
+ content = /* @__PURE__ */ jsx17(
26736
26800
  FontAwesomeIcon,
26737
26801
  {
26738
26802
  icon: faIcon,
@@ -26746,16 +26810,16 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
26746
26810
  if (!Lucide) {
26747
26811
  return null;
26748
26812
  }
26749
- content = /* @__PURE__ */ jsx15(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
26813
+ content = /* @__PURE__ */ jsx17(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
26750
26814
  }
26751
- return /* @__PURE__ */ jsx15("div", { style, className, children: content });
26815
+ return /* @__PURE__ */ jsx17("div", { style, className, children: content });
26752
26816
  };
26753
26817
  var Icon_default = Icon2;
26754
26818
 
26755
26819
  // src/components/ui/input.tsx
26756
- import { jsx as jsx16 } from "react/jsx-runtime";
26820
+ import { jsx as jsx18 } from "react/jsx-runtime";
26757
26821
  function Input({ className, type, ...props }) {
26758
- return /* @__PURE__ */ jsx16(
26822
+ return /* @__PURE__ */ jsx18(
26759
26823
  "input",
26760
26824
  {
26761
26825
  type,
@@ -26772,7 +26836,7 @@ function Input({ className, type, ...props }) {
26772
26836
  }
26773
26837
 
26774
26838
  // src/components/Inputs/TextInput/TextInput.tsx
26775
- import { Fragment as Fragment2, jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
26839
+ import { Fragment as Fragment2, jsx as jsx19, jsxs as jsxs7 } from "react/jsx-runtime";
26776
26840
  var TextInput = ({ className, style, ...props }) => {
26777
26841
  const placeholder = props.placeholder || "Placeholder text";
26778
26842
  const isEditable = props.isEditable ?? true;
@@ -26782,8 +26846,8 @@ var TextInput = ({ className, style, ...props }) => {
26782
26846
  const handleChange = (e) => {
26783
26847
  props.onChange?.(e);
26784
26848
  };
26785
- return /* @__PURE__ */ jsxs6(Fragment2, { children: [
26786
- /* @__PURE__ */ jsx17(
26849
+ return /* @__PURE__ */ jsxs7(Fragment2, { children: [
26850
+ /* @__PURE__ */ jsx19(
26787
26851
  Input,
26788
26852
  {
26789
26853
  type: "text",
@@ -26801,13 +26865,13 @@ var TextInput = ({ className, style, ...props }) => {
26801
26865
  readOnly: isReadonly
26802
26866
  }
26803
26867
  ),
26804
- props.errorMessage && /* @__PURE__ */ jsx17("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26868
+ props.errorMessage && /* @__PURE__ */ jsx19("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26805
26869
  ] });
26806
26870
  };
26807
26871
  var TextInput_default = TextInput;
26808
26872
 
26809
26873
  // src/components/Inputs/NumberInput/NumberInput.tsx
26810
- import { Fragment as Fragment3, jsx as jsx18, jsxs as jsxs7 } from "react/jsx-runtime";
26874
+ import { Fragment as Fragment3, jsx as jsx20, jsxs as jsxs8 } from "react/jsx-runtime";
26811
26875
  var NumberInput = ({ className, style, ...props }) => {
26812
26876
  const placeholder = props.placeholder ?? "Placeholder text";
26813
26877
  const isEditable = props.isEditable ?? true;
@@ -26817,10 +26881,10 @@ var NumberInput = ({ className, style, ...props }) => {
26817
26881
  const handleChange = (e) => {
26818
26882
  props.onChange?.(e);
26819
26883
  };
26820
- return /* @__PURE__ */ jsxs7(Fragment3, { children: [
26821
- /* @__PURE__ */ jsxs7("div", { className: "flex justify-start items-center relative", children: [
26822
- /* @__PURE__ */ jsx18(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26823
- /* @__PURE__ */ jsx18(
26884
+ return /* @__PURE__ */ jsxs8(Fragment3, { children: [
26885
+ /* @__PURE__ */ jsxs8("div", { className: "flex justify-start items-center relative", children: [
26886
+ /* @__PURE__ */ jsx20(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26887
+ /* @__PURE__ */ jsx20(
26824
26888
  Input,
26825
26889
  {
26826
26890
  type: "number",
@@ -26840,13 +26904,13 @@ var NumberInput = ({ className, style, ...props }) => {
26840
26904
  }
26841
26905
  )
26842
26906
  ] }),
26843
- props.errorMessage && /* @__PURE__ */ jsx18("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26907
+ props.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26844
26908
  ] });
26845
26909
  };
26846
26910
  var NumberInput_default = NumberInput;
26847
26911
 
26848
26912
  // src/components/Inputs/EmailInput/EmailInput.tsx
26849
- import { Fragment as Fragment4, jsx as jsx19, jsxs as jsxs8 } from "react/jsx-runtime";
26913
+ import { Fragment as Fragment4, jsx as jsx21, jsxs as jsxs9 } from "react/jsx-runtime";
26850
26914
  var EmailInput = ({ className, style, ...props }) => {
26851
26915
  const placeholder = props.placeholder ?? "Placeholder text";
26852
26916
  const isEditable = props.isEditable ?? true;
@@ -26856,10 +26920,10 @@ var EmailInput = ({ className, style, ...props }) => {
26856
26920
  const handleChange = (e) => {
26857
26921
  props.onChange?.(e);
26858
26922
  };
26859
- return /* @__PURE__ */ jsxs8(Fragment4, { children: [
26860
- /* @__PURE__ */ jsxs8("div", { className: "flex justify-start items-center relative", children: [
26861
- /* @__PURE__ */ jsx19(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26862
- /* @__PURE__ */ jsx19(
26923
+ return /* @__PURE__ */ jsxs9(Fragment4, { children: [
26924
+ /* @__PURE__ */ jsxs9("div", { className: "flex justify-start items-center relative", children: [
26925
+ /* @__PURE__ */ jsx21(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26926
+ /* @__PURE__ */ jsx21(
26863
26927
  Input,
26864
26928
  {
26865
26929
  type: "email",
@@ -26878,13 +26942,13 @@ var EmailInput = ({ className, style, ...props }) => {
26878
26942
  }
26879
26943
  )
26880
26944
  ] }),
26881
- props.errorMessage && /* @__PURE__ */ jsx19("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26945
+ props.errorMessage && /* @__PURE__ */ jsx21("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26882
26946
  ] });
26883
26947
  };
26884
26948
  var EmailInput_default = EmailInput;
26885
26949
 
26886
26950
  // src/components/Inputs/PasswordInput/PasswordInput.tsx
26887
- import { Fragment as Fragment5, jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
26951
+ import { Fragment as Fragment5, jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
26888
26952
  var PasswordInput = ({ className, style, ...props }) => {
26889
26953
  const placeholder = props.placeholder ?? "Placeholder text";
26890
26954
  const isEditable = props.isEditable ?? true;
@@ -26894,10 +26958,10 @@ var PasswordInput = ({ className, style, ...props }) => {
26894
26958
  const handleChange = (e) => {
26895
26959
  props.onChange?.(e);
26896
26960
  };
26897
- return /* @__PURE__ */ jsxs9(Fragment5, { children: [
26898
- /* @__PURE__ */ jsxs9("div", { className: "flex justify-start items-center relative", children: [
26899
- /* @__PURE__ */ jsx20(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26900
- /* @__PURE__ */ jsx20(
26961
+ return /* @__PURE__ */ jsxs10(Fragment5, { children: [
26962
+ /* @__PURE__ */ jsxs10("div", { className: "flex justify-start items-center relative", children: [
26963
+ /* @__PURE__ */ jsx22(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26964
+ /* @__PURE__ */ jsx22(
26901
26965
  Input,
26902
26966
  {
26903
26967
  type: "password",
@@ -26917,15 +26981,15 @@ var PasswordInput = ({ className, style, ...props }) => {
26917
26981
  }
26918
26982
  )
26919
26983
  ] }),
26920
- props.errorMessage && /* @__PURE__ */ jsx20("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26984
+ props.errorMessage && /* @__PURE__ */ jsx22("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26921
26985
  ] });
26922
26986
  };
26923
26987
  var PasswordInput_default = PasswordInput;
26924
26988
 
26925
26989
  // src/components/ui/textarea.tsx
26926
- import { jsx as jsx21 } from "react/jsx-runtime";
26990
+ import { jsx as jsx23 } from "react/jsx-runtime";
26927
26991
  function Textarea({ className, ...props }) {
26928
- return /* @__PURE__ */ jsx21(
26992
+ return /* @__PURE__ */ jsx23(
26929
26993
  "textarea",
26930
26994
  {
26931
26995
  "data-slot": "textarea",
@@ -26939,7 +27003,7 @@ function Textarea({ className, ...props }) {
26939
27003
  }
26940
27004
 
26941
27005
  // src/components/Inputs/Textarea/Textarea.tsx
26942
- import { Fragment as Fragment6, jsx as jsx22, jsxs as jsxs10 } from "react/jsx-runtime";
27006
+ import { Fragment as Fragment6, jsx as jsx24, jsxs as jsxs11 } from "react/jsx-runtime";
26943
27007
  var Textarea2 = ({ className, style, ...props }) => {
26944
27008
  const placeholder = props.placeholder ?? "Placeholder text";
26945
27009
  const isEditable = props.isEditable ?? true;
@@ -26949,8 +27013,8 @@ var Textarea2 = ({ className, style, ...props }) => {
26949
27013
  const handleChange = (e) => {
26950
27014
  props.onChange?.(e);
26951
27015
  };
26952
- return /* @__PURE__ */ jsxs10(Fragment6, { children: [
26953
- /* @__PURE__ */ jsx22(
27016
+ return /* @__PURE__ */ jsxs11(Fragment6, { children: [
27017
+ /* @__PURE__ */ jsx24(
26954
27018
  Textarea,
26955
27019
  {
26956
27020
  id: "textarea-field",
@@ -26968,13 +27032,13 @@ var Textarea2 = ({ className, style, ...props }) => {
26968
27032
  readOnly: isReadonly
26969
27033
  }
26970
27034
  ),
26971
- props.errorMessage && /* @__PURE__ */ jsx22("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27035
+ props.errorMessage && /* @__PURE__ */ jsx24("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26972
27036
  ] });
26973
27037
  };
26974
27038
  var Textarea_default = Textarea2;
26975
27039
 
26976
27040
  // src/components/Inputs/UrlInput/UrlInput.tsx
26977
- import { Fragment as Fragment7, jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
27041
+ import { Fragment as Fragment7, jsx as jsx25, jsxs as jsxs12 } from "react/jsx-runtime";
26978
27042
  var UrlInput = ({ className, style, ...props }) => {
26979
27043
  const placeholder = props.placeholder ?? "Placeholder text";
26980
27044
  const isEditable = props.isEditable ?? true;
@@ -26984,10 +27048,10 @@ var UrlInput = ({ className, style, ...props }) => {
26984
27048
  const handleChange = (e) => {
26985
27049
  props.onChange?.(e);
26986
27050
  };
26987
- return /* @__PURE__ */ jsxs11(Fragment7, { children: [
26988
- /* @__PURE__ */ jsxs11("div", { className: "flex justify-start items-center relative", children: [
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(
27051
+ return /* @__PURE__ */ jsxs12(Fragment7, { children: [
27052
+ /* @__PURE__ */ jsxs12("div", { className: "flex justify-start items-center relative", children: [
27053
+ /* @__PURE__ */ jsx25("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://" }),
27054
+ /* @__PURE__ */ jsx25(
26991
27055
  Input,
26992
27056
  {
26993
27057
  id: "url-field",
@@ -27007,19 +27071,19 @@ var UrlInput = ({ className, style, ...props }) => {
27007
27071
  }
27008
27072
  )
27009
27073
  ] }),
27010
- props.errorMessage && /* @__PURE__ */ jsx23("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27074
+ props.errorMessage && /* @__PURE__ */ jsx25("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27011
27075
  ] });
27012
27076
  };
27013
27077
  var UrlInput_default = UrlInput;
27014
27078
 
27015
27079
  // src/components/ui/checkbox.tsx
27016
27080
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
27017
- import { jsx as jsx24 } from "react/jsx-runtime";
27081
+ import { jsx as jsx26 } from "react/jsx-runtime";
27018
27082
  function Checkbox({
27019
27083
  className,
27020
27084
  ...props
27021
27085
  }) {
27022
- return /* @__PURE__ */ jsx24(
27086
+ return /* @__PURE__ */ jsx26(
27023
27087
  CheckboxPrimitive.Root,
27024
27088
  {
27025
27089
  "data-slot": "checkbox",
@@ -27028,12 +27092,12 @@ function Checkbox({
27028
27092
  className
27029
27093
  ),
27030
27094
  ...props,
27031
- children: /* @__PURE__ */ jsx24(
27095
+ children: /* @__PURE__ */ jsx26(
27032
27096
  CheckboxPrimitive.Indicator,
27033
27097
  {
27034
27098
  "data-slot": "checkbox-indicator",
27035
27099
  className: "flex items-center justify-center text-current transition-none",
27036
- children: /* @__PURE__ */ jsx24(Check, { className: "size-3.5" })
27100
+ children: /* @__PURE__ */ jsx26(Check, { className: "size-3.5" })
27037
27101
  }
27038
27102
  )
27039
27103
  }
@@ -27042,12 +27106,12 @@ function Checkbox({
27042
27106
 
27043
27107
  // src/components/ui/label.tsx
27044
27108
  import * as LabelPrimitive from "@radix-ui/react-label";
27045
- import { jsx as jsx25 } from "react/jsx-runtime";
27109
+ import { jsx as jsx27 } from "react/jsx-runtime";
27046
27110
  function Label2({
27047
27111
  className,
27048
27112
  ...props
27049
27113
  }) {
27050
- return /* @__PURE__ */ jsx25(
27114
+ return /* @__PURE__ */ jsx27(
27051
27115
  LabelPrimitive.Root,
27052
27116
  {
27053
27117
  "data-slot": "label",
@@ -27061,7 +27125,7 @@ function Label2({
27061
27125
  }
27062
27126
 
27063
27127
  // src/components/Inputs/Checkbox/Checkbox.tsx
27064
- import { Fragment as Fragment8, jsx as jsx26, jsxs as jsxs12 } from "react/jsx-runtime";
27128
+ import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
27065
27129
  var CheckboxInput = ({ className, style, ...props }) => {
27066
27130
  const isEditable = props.isEditable ?? true;
27067
27131
  const isDisabled = props.isDisabled ?? false;
@@ -27069,9 +27133,9 @@ var CheckboxInput = ({ className, style, ...props }) => {
27069
27133
  const handleChange = (value) => {
27070
27134
  props.onChange?.(value);
27071
27135
  };
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(
27136
+ return /* @__PURE__ */ jsxs13(Fragment8, { children: [
27137
+ /* @__PURE__ */ jsx28("div", { className, style, children: /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-2", children: [
27138
+ /* @__PURE__ */ jsx28(
27075
27139
  Checkbox,
27076
27140
  {
27077
27141
  id: props.name || "checkbox",
@@ -27080,21 +27144,21 @@ var CheckboxInput = ({ className, style, ...props }) => {
27080
27144
  disabled: !isEditable || isDisabled
27081
27145
  }
27082
27146
  ),
27083
- /* @__PURE__ */ jsx26(Label2, { htmlFor: props.name || "checkbox", children: text })
27147
+ /* @__PURE__ */ jsx28(Label2, { htmlFor: props.name || "checkbox", children: text })
27084
27148
  ] }) }),
27085
- props.errorMessage && /* @__PURE__ */ jsx26("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27149
+ props.errorMessage && /* @__PURE__ */ jsx28("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27086
27150
  ] });
27087
27151
  };
27088
27152
  var Checkbox_default = CheckboxInput;
27089
27153
 
27090
27154
  // src/components/ui/radio-group.tsx
27091
27155
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
27092
- import { jsx as jsx27 } from "react/jsx-runtime";
27156
+ import { jsx as jsx29 } from "react/jsx-runtime";
27093
27157
  function RadioGroup2({
27094
27158
  className,
27095
27159
  ...props
27096
27160
  }) {
27097
- return /* @__PURE__ */ jsx27(
27161
+ return /* @__PURE__ */ jsx29(
27098
27162
  RadioGroupPrimitive.Root,
27099
27163
  {
27100
27164
  "data-slot": "radio-group",
@@ -27107,7 +27171,7 @@ function RadioGroupItem({
27107
27171
  className,
27108
27172
  ...props
27109
27173
  }) {
27110
- return /* @__PURE__ */ jsx27(
27174
+ return /* @__PURE__ */ jsx29(
27111
27175
  RadioGroupPrimitive.Item,
27112
27176
  {
27113
27177
  "data-slot": "radio-group-item",
@@ -27116,12 +27180,12 @@ function RadioGroupItem({
27116
27180
  className
27117
27181
  ),
27118
27182
  ...props,
27119
- children: /* @__PURE__ */ jsx27(
27183
+ children: /* @__PURE__ */ jsx29(
27120
27184
  RadioGroupPrimitive.Indicator,
27121
27185
  {
27122
27186
  "data-slot": "radio-group-indicator",
27123
27187
  className: "relative flex items-center justify-center",
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" })
27188
+ children: /* @__PURE__ */ jsx29(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
27125
27189
  }
27126
27190
  )
27127
27191
  }
@@ -27129,7 +27193,7 @@ function RadioGroupItem({
27129
27193
  }
27130
27194
 
27131
27195
  // src/components/Inputs/RadioInput/RadioInput.tsx
27132
- import { Fragment as Fragment9, jsx as jsx28, jsxs as jsxs13 } from "react/jsx-runtime";
27196
+ import { Fragment as Fragment9, jsx as jsx30, jsxs as jsxs14 } from "react/jsx-runtime";
27133
27197
  var RadioInput = ({
27134
27198
  className,
27135
27199
  style,
@@ -27149,29 +27213,29 @@ var RadioInput = ({
27149
27213
  onChange?.(value);
27150
27214
  };
27151
27215
  const resolvedDefaultValue = (typeof defaultValue === "string" ? defaultValue : void 0) ?? options[0]?.value;
27152
- return /* @__PURE__ */ jsxs13(Fragment9, { children: [
27153
- /* @__PURE__ */ jsx28("div", { className, style, children: /* @__PURE__ */ jsxs13(
27216
+ return /* @__PURE__ */ jsxs14(Fragment9, { children: [
27217
+ /* @__PURE__ */ jsx30("div", { className, style, children: /* @__PURE__ */ jsxs14(
27154
27218
  RadioGroup2,
27155
27219
  {
27156
27220
  defaultValue: resolvedDefaultValue,
27157
27221
  onValueChange: handleChange,
27158
27222
  children: [
27159
- options.length === 0 && /* @__PURE__ */ jsx28("div", { className: "text-sm text-gray-500", children: "No options available" }),
27160
- options.map((item) => /* @__PURE__ */ jsxs13("div", { className: "flex items-center space-x-2", children: [
27161
- /* @__PURE__ */ jsx28(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
27162
- /* @__PURE__ */ jsx28(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
27223
+ options.length === 0 && /* @__PURE__ */ jsx30("div", { className: "text-sm text-gray-500", children: "No options available" }),
27224
+ options.map((item) => /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-2", children: [
27225
+ /* @__PURE__ */ jsx30(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
27226
+ /* @__PURE__ */ jsx30(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
27163
27227
  ] }, item.value))
27164
27228
  ]
27165
27229
  }
27166
27230
  ) }),
27167
- props.errorMessage && /* @__PURE__ */ jsx28("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27231
+ props.errorMessage && /* @__PURE__ */ jsx30("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27168
27232
  ] });
27169
27233
  };
27170
27234
  var RadioInput_default = RadioInput;
27171
27235
 
27172
27236
  // src/components/Inputs/MultiCheckbox/MultiCheckbox.tsx
27173
27237
  import { useCallback, useState as useState2 } from "react";
27174
- import { jsx as jsx29, jsxs as jsxs14 } from "react/jsx-runtime";
27238
+ import { jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
27175
27239
  var MultiCheckbox = ({
27176
27240
  className,
27177
27241
  style,
@@ -27199,15 +27263,15 @@ var MultiCheckbox = ({
27199
27263
  },
27200
27264
  [onChange]
27201
27265
  );
27202
- return /* @__PURE__ */ jsxs14(
27266
+ return /* @__PURE__ */ jsxs15(
27203
27267
  "div",
27204
27268
  {
27205
27269
  className: cn("flex flex-col gap-3", className),
27206
27270
  style,
27207
27271
  children: [
27208
- options.length === 0 && /* @__PURE__ */ jsx29("p", { className: "text-sm text-gray-500", children: "No options available." }),
27209
- options.map((opt) => /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-2", children: [
27210
- /* @__PURE__ */ jsx29(
27272
+ options.length === 0 && /* @__PURE__ */ jsx31("p", { className: "text-sm text-gray-500", children: "No options available." }),
27273
+ options.map((opt) => /* @__PURE__ */ jsxs15("div", { className: "flex items-center space-x-2", children: [
27274
+ /* @__PURE__ */ jsx31(
27211
27275
  Checkbox,
27212
27276
  {
27213
27277
  id: opt.value,
@@ -27216,7 +27280,7 @@ var MultiCheckbox = ({
27216
27280
  disabled: !isEditable || isDisabled
27217
27281
  }
27218
27282
  ),
27219
- /* @__PURE__ */ jsx29(Label2, { htmlFor: opt.value, children: opt.label })
27283
+ /* @__PURE__ */ jsx31(Label2, { htmlFor: opt.value, children: opt.label })
27220
27284
  ] }, opt.value))
27221
27285
  ]
27222
27286
  }
@@ -27225,9 +27289,9 @@ var MultiCheckbox = ({
27225
27289
  var MultiCheckbox_default = MultiCheckbox;
27226
27290
 
27227
27291
  // src/components/Global/TinyMceEditor.tsx
27228
- import { useMemo, useRef } from "react";
27292
+ import { useMemo as useMemo2, useRef } from "react";
27229
27293
  import { Editor } from "@tinymce/tinymce-react";
27230
- import { jsx as jsx30 } from "react/jsx-runtime";
27294
+ import { jsx as jsx32 } from "react/jsx-runtime";
27231
27295
  function MyEditor({
27232
27296
  value,
27233
27297
  onChange,
@@ -27245,14 +27309,14 @@ function MyEditor({
27245
27309
  }
27246
27310
  return trimmedHtml;
27247
27311
  }
27248
- const isDefaultToolbar = useMemo(() => {
27312
+ const isDefaultToolbar = useMemo2(() => {
27249
27313
  let toolbar = "undo redo | formatselect | bold italic forecolor";
27250
27314
  if (isDefault) {
27251
27315
  toolbar = "undo redo | blocks | bold italic forecolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help";
27252
27316
  }
27253
27317
  return toolbar;
27254
27318
  }, [isDefault]);
27255
- return /* @__PURE__ */ jsx30(
27319
+ return /* @__PURE__ */ jsx32(
27256
27320
  Editor,
27257
27321
  {
27258
27322
  apiKey: process.env.NEXT_PUBLIC_TINYMCE_API_KEY,
@@ -27296,9 +27360,9 @@ function MyEditor({
27296
27360
  }
27297
27361
 
27298
27362
  // src/components/Inputs/RichText/RichText.tsx
27299
- import { jsx as jsx31, jsxs as jsxs15 } from "react/jsx-runtime";
27363
+ import { jsx as jsx33, jsxs as jsxs16 } from "react/jsx-runtime";
27300
27364
  function RichText({ className, style, ...props }) {
27301
- return /* @__PURE__ */ jsxs15(
27365
+ return /* @__PURE__ */ jsxs16(
27302
27366
  "div",
27303
27367
  {
27304
27368
  className: cn(className, props.errorMessage ? "border-red-500" : ""),
@@ -27307,8 +27371,8 @@ function RichText({ className, style, ...props }) {
27307
27371
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27308
27372
  },
27309
27373
  children: [
27310
- /* @__PURE__ */ jsx31(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value || "", isDefault: true }),
27311
- props.errorMessage && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27374
+ /* @__PURE__ */ jsx33(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value || "", isDefault: true }),
27375
+ props.errorMessage && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27312
27376
  ]
27313
27377
  }
27314
27378
  );
@@ -27316,16 +27380,16 @@ function RichText({ className, style, ...props }) {
27316
27380
 
27317
27381
  // src/components/ui/select.tsx
27318
27382
  import * as SelectPrimitive from "@radix-ui/react-select";
27319
- import { jsx as jsx32, jsxs as jsxs16 } from "react/jsx-runtime";
27383
+ import { jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
27320
27384
  function Select({
27321
27385
  ...props
27322
27386
  }) {
27323
- return /* @__PURE__ */ jsx32(SelectPrimitive.Root, { "data-slot": "select", ...props });
27387
+ return /* @__PURE__ */ jsx34(SelectPrimitive.Root, { "data-slot": "select", ...props });
27324
27388
  }
27325
27389
  function SelectValue({
27326
27390
  ...props
27327
27391
  }) {
27328
- return /* @__PURE__ */ jsx32(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
27392
+ return /* @__PURE__ */ jsx34(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
27329
27393
  }
27330
27394
  function SelectTrigger({
27331
27395
  className,
@@ -27333,7 +27397,7 @@ function SelectTrigger({
27333
27397
  children,
27334
27398
  ...props
27335
27399
  }) {
27336
- return /* @__PURE__ */ jsxs16(
27400
+ return /* @__PURE__ */ jsxs17(
27337
27401
  SelectPrimitive.Trigger,
27338
27402
  {
27339
27403
  "data-slot": "select-trigger",
@@ -27345,7 +27409,7 @@ function SelectTrigger({
27345
27409
  ...props,
27346
27410
  children: [
27347
27411
  children,
27348
- /* @__PURE__ */ jsx32(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx32(ChevronDown, { className: "size-4 opacity-50" }) })
27412
+ /* @__PURE__ */ jsx34(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx34(ChevronDown, { className: "size-4 opacity-50" }) })
27349
27413
  ]
27350
27414
  }
27351
27415
  );
@@ -27356,7 +27420,7 @@ function SelectContent({
27356
27420
  position = "popper",
27357
27421
  ...props
27358
27422
  }) {
27359
- return /* @__PURE__ */ jsx32(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs16(
27423
+ return /* @__PURE__ */ jsx34(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs17(
27360
27424
  SelectPrimitive.Content,
27361
27425
  {
27362
27426
  "data-slot": "select-content",
@@ -27368,8 +27432,8 @@ function SelectContent({
27368
27432
  position,
27369
27433
  ...props,
27370
27434
  children: [
27371
- /* @__PURE__ */ jsx32(SelectScrollUpButton, {}),
27372
- /* @__PURE__ */ jsx32(
27435
+ /* @__PURE__ */ jsx34(SelectScrollUpButton, {}),
27436
+ /* @__PURE__ */ jsx34(
27373
27437
  SelectPrimitive.Viewport,
27374
27438
  {
27375
27439
  className: cn(
@@ -27379,7 +27443,7 @@ function SelectContent({
27379
27443
  children
27380
27444
  }
27381
27445
  ),
27382
- /* @__PURE__ */ jsx32(SelectScrollDownButton, {})
27446
+ /* @__PURE__ */ jsx34(SelectScrollDownButton, {})
27383
27447
  ]
27384
27448
  }
27385
27449
  ) });
@@ -27389,7 +27453,7 @@ function SelectItem({
27389
27453
  children,
27390
27454
  ...props
27391
27455
  }) {
27392
- return /* @__PURE__ */ jsxs16(
27456
+ return /* @__PURE__ */ jsxs17(
27393
27457
  SelectPrimitive.Item,
27394
27458
  {
27395
27459
  "data-slot": "select-item",
@@ -27399,8 +27463,8 @@ function SelectItem({
27399
27463
  ),
27400
27464
  ...props,
27401
27465
  children: [
27402
- /* @__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" }) }) }),
27403
- /* @__PURE__ */ jsx32(SelectPrimitive.ItemText, { children })
27466
+ /* @__PURE__ */ jsx34("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx34(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx34(Check, { className: "size-4" }) }) }),
27467
+ /* @__PURE__ */ jsx34(SelectPrimitive.ItemText, { children })
27404
27468
  ]
27405
27469
  }
27406
27470
  );
@@ -27409,7 +27473,7 @@ function SelectScrollUpButton({
27409
27473
  className,
27410
27474
  ...props
27411
27475
  }) {
27412
- return /* @__PURE__ */ jsx32(
27476
+ return /* @__PURE__ */ jsx34(
27413
27477
  SelectPrimitive.ScrollUpButton,
27414
27478
  {
27415
27479
  "data-slot": "select-scroll-up-button",
@@ -27418,7 +27482,7 @@ function SelectScrollUpButton({
27418
27482
  className
27419
27483
  ),
27420
27484
  ...props,
27421
- children: /* @__PURE__ */ jsx32(ChevronUp, { className: "size-4" })
27485
+ children: /* @__PURE__ */ jsx34(ChevronUp, { className: "size-4" })
27422
27486
  }
27423
27487
  );
27424
27488
  }
@@ -27426,7 +27490,7 @@ function SelectScrollDownButton({
27426
27490
  className,
27427
27491
  ...props
27428
27492
  }) {
27429
- return /* @__PURE__ */ jsx32(
27493
+ return /* @__PURE__ */ jsx34(
27430
27494
  SelectPrimitive.ScrollDownButton,
27431
27495
  {
27432
27496
  "data-slot": "select-scroll-down-button",
@@ -27435,13 +27499,13 @@ function SelectScrollDownButton({
27435
27499
  className
27436
27500
  ),
27437
27501
  ...props,
27438
- children: /* @__PURE__ */ jsx32(ChevronDown, { className: "size-4" })
27502
+ children: /* @__PURE__ */ jsx34(ChevronDown, { className: "size-4" })
27439
27503
  }
27440
27504
  );
27441
27505
  }
27442
27506
 
27443
27507
  // src/components/Inputs/Dropdown/Dropdown.tsx
27444
- import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs17 } from "react/jsx-runtime";
27508
+ import { Fragment as Fragment10, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
27445
27509
  var Dropdown = ({ className, style, ...props }) => {
27446
27510
  const list = Array.isArray(props?.data) ? props.data : [];
27447
27511
  const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
@@ -27457,9 +27521,9 @@ var Dropdown = ({ className, style, ...props }) => {
27457
27521
  value: item[dataKey],
27458
27522
  label: item[dataLabel]
27459
27523
  }));
27460
- return /* @__PURE__ */ jsxs17(Fragment10, { children: [
27461
- /* @__PURE__ */ jsxs17(Select, { name: props.name, value: props.value || "", onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
27462
- /* @__PURE__ */ jsx33(
27524
+ return /* @__PURE__ */ jsxs18(Fragment10, { children: [
27525
+ /* @__PURE__ */ jsxs18(Select, { name: props.name, value: props.value || "", onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
27526
+ /* @__PURE__ */ jsx35(
27463
27527
  SelectTrigger,
27464
27528
  {
27465
27529
  id: props.name || "select-field",
@@ -27469,24 +27533,28 @@ var Dropdown = ({ className, style, ...props }) => {
27469
27533
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27470
27534
  },
27471
27535
  "aria-readonly": isReadonly,
27472
- children: /* @__PURE__ */ jsx33(SelectValue, { placeholder })
27536
+ children: /* @__PURE__ */ jsx35(SelectValue, { placeholder })
27473
27537
  }
27474
27538
  ),
27475
- /* @__PURE__ */ jsx33(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx33(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
27539
+ /* @__PURE__ */ jsxs18(SelectContent, { children: [
27540
+ props.dataLoading && /* @__PURE__ */ jsx35(SelectItem, { value: "none", disabled: true, children: "Loading..." }),
27541
+ !props.dataLoading && options.length === 0 && /* @__PURE__ */ jsx35(SelectItem, { value: "none", disabled: true, children: "No options" }),
27542
+ options.map((opt) => /* @__PURE__ */ jsx35(SelectItem, { value: opt.value, children: opt.label }, opt.value))
27543
+ ] })
27476
27544
  ] }),
27477
- props.errorMessage && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27545
+ props.errorMessage && /* @__PURE__ */ jsx35("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27478
27546
  ] });
27479
27547
  };
27480
27548
  var Dropdown_default = Dropdown;
27481
27549
 
27482
27550
  // src/components/ui/switch.tsx
27483
27551
  import * as SwitchPrimitive from "@radix-ui/react-switch";
27484
- import { jsx as jsx34 } from "react/jsx-runtime";
27552
+ import { jsx as jsx36 } from "react/jsx-runtime";
27485
27553
  function Switch({
27486
27554
  className,
27487
27555
  ...props
27488
27556
  }) {
27489
- return /* @__PURE__ */ jsx34(
27557
+ return /* @__PURE__ */ jsx36(
27490
27558
  SwitchPrimitive.Root,
27491
27559
  {
27492
27560
  "data-slot": "switch",
@@ -27495,7 +27563,7 @@ function Switch({
27495
27563
  className
27496
27564
  ),
27497
27565
  ...props,
27498
- children: /* @__PURE__ */ jsx34(
27566
+ children: /* @__PURE__ */ jsx36(
27499
27567
  SwitchPrimitive.Thumb,
27500
27568
  {
27501
27569
  "data-slot": "switch-thumb",
@@ -27509,16 +27577,16 @@ function Switch({
27509
27577
  }
27510
27578
 
27511
27579
  // src/components/Inputs/SwitchToggle/SwitchToggle.tsx
27512
- import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
27580
+ import { Fragment as Fragment11, jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
27513
27581
  var SwitchToggle = ({ className, style, ...props }) => {
27514
27582
  const isEditable = props.isEditable ?? true;
27515
27583
  const isDisabled = props.isDisabled ?? false;
27516
27584
  const handleChange = (value) => {
27517
27585
  props.onChange?.(value);
27518
27586
  };
27519
- return /* @__PURE__ */ jsxs18(Fragment11, { children: [
27520
- /* @__PURE__ */ jsx35("div", { className, style, children: /* @__PURE__ */ jsxs18("div", { className: "flex items-center space-x-2 mb-2", children: [
27521
- /* @__PURE__ */ jsx35(
27587
+ return /* @__PURE__ */ jsxs19(Fragment11, { children: [
27588
+ /* @__PURE__ */ jsx37("div", { className, style, children: /* @__PURE__ */ jsxs19("div", { className: "flex items-center space-x-2 mb-2", children: [
27589
+ /* @__PURE__ */ jsx37(
27522
27590
  Switch,
27523
27591
  {
27524
27592
  id: props.name || "switch",
@@ -27527,9 +27595,9 @@ var SwitchToggle = ({ className, style, ...props }) => {
27527
27595
  disabled: isDisabled || !isEditable
27528
27596
  }
27529
27597
  ),
27530
- /* @__PURE__ */ jsx35(Label2, { htmlFor: props.name || "switch", children: props.text })
27598
+ /* @__PURE__ */ jsx37(Label2, { htmlFor: props.name || "switch", children: props.text })
27531
27599
  ] }) }),
27532
- props.errorMessage && /* @__PURE__ */ jsx35("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27600
+ props.errorMessage && /* @__PURE__ */ jsx37("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27533
27601
  ] });
27534
27602
  };
27535
27603
  var SwitchToggle_default = SwitchToggle;
@@ -27537,7 +27605,7 @@ var SwitchToggle_default = SwitchToggle;
27537
27605
  // src/components/Inputs/PhoneInput/PhoneInput.tsx
27538
27606
  import { PhoneInput as PhoneInputField } from "react-international-phone";
27539
27607
  import "react-international-phone/style.css";
27540
- import { Fragment as Fragment12, jsx as jsx36, jsxs as jsxs19 } from "react/jsx-runtime";
27608
+ import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
27541
27609
  var PhoneInput = ({ className, style, ...props }) => {
27542
27610
  const placeholder = props.placeholder ?? "Enter phone number";
27543
27611
  const isEditable = props.isEditable ?? true;
@@ -27545,8 +27613,8 @@ var PhoneInput = ({ className, style, ...props }) => {
27545
27613
  const handleChange = (val) => {
27546
27614
  props.onChange?.(val);
27547
27615
  };
27548
- return /* @__PURE__ */ jsxs19(Fragment12, { children: [
27549
- /* @__PURE__ */ jsx36(
27616
+ return /* @__PURE__ */ jsxs20(Fragment12, { children: [
27617
+ /* @__PURE__ */ jsx38(
27550
27618
  PhoneInputField,
27551
27619
  {
27552
27620
  defaultCountry: "in",
@@ -27570,13 +27638,13 @@ var PhoneInput = ({ className, style, ...props }) => {
27570
27638
  disabled: isDisabled || !isEditable
27571
27639
  }
27572
27640
  ),
27573
- props.errorMessage && /* @__PURE__ */ jsx36("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27641
+ props.errorMessage && /* @__PURE__ */ jsx38("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27574
27642
  ] });
27575
27643
  };
27576
27644
  var PhoneInput_default = PhoneInput;
27577
27645
 
27578
27646
  // src/components/Inputs/SearchInput/SearchInput.tsx
27579
- import { Fragment as Fragment13, jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
27647
+ import { Fragment as Fragment13, jsx as jsx39, jsxs as jsxs21 } from "react/jsx-runtime";
27580
27648
  var SearchInput = ({ className, style, ...props }) => {
27581
27649
  const placeholder = props.placeholder ?? "Placeholder text";
27582
27650
  const isEditable = props.isEditable ?? true;
@@ -27586,10 +27654,10 @@ var SearchInput = ({ className, style, ...props }) => {
27586
27654
  const handleChange = (e) => {
27587
27655
  props.onChange?.(e);
27588
27656
  };
27589
- return /* @__PURE__ */ jsxs20(Fragment13, { children: [
27590
- /* @__PURE__ */ jsxs20("div", { className: "flex justify-start items-center relative", children: [
27591
- /* @__PURE__ */ jsx37(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27592
- /* @__PURE__ */ jsx37(
27657
+ return /* @__PURE__ */ jsxs21(Fragment13, { children: [
27658
+ /* @__PURE__ */ jsxs21("div", { className: "flex justify-start items-center relative", children: [
27659
+ /* @__PURE__ */ jsx39(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27660
+ /* @__PURE__ */ jsx39(
27593
27661
  Input,
27594
27662
  {
27595
27663
  type: "text",
@@ -27609,17 +27677,17 @@ var SearchInput = ({ className, style, ...props }) => {
27609
27677
  }
27610
27678
  )
27611
27679
  ] }),
27612
- props.errorMessage && /* @__PURE__ */ jsx37("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27680
+ props.errorMessage && /* @__PURE__ */ jsx39("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27613
27681
  ] });
27614
27682
  };
27615
27683
  var SearchInput_default = SearchInput;
27616
27684
 
27617
27685
  // src/components/Inputs/FileInput/FileInput.tsx
27618
- import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
27686
+ import { jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
27619
27687
  var FileInput2 = ({ className, style, ...props }) => {
27620
27688
  const placeholder = props.placeholder ?? "Placeholder text";
27621
- return /* @__PURE__ */ jsxs21("div", { className: "d-flex items-center relative align-middle", children: [
27622
- /* @__PURE__ */ jsx38(
27689
+ return /* @__PURE__ */ jsxs22("div", { className: "d-flex items-center relative align-middle", children: [
27690
+ /* @__PURE__ */ jsx40(
27623
27691
  Input,
27624
27692
  {
27625
27693
  type: "file",
@@ -27638,13 +27706,13 @@ var FileInput2 = ({ className, style, ...props }) => {
27638
27706
  }
27639
27707
  }
27640
27708
  ),
27641
- props.errorMessage && /* @__PURE__ */ jsx38("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27709
+ props.errorMessage && /* @__PURE__ */ jsx40("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27642
27710
  ] });
27643
27711
  };
27644
27712
  var FileInput_default = FileInput2;
27645
27713
 
27646
27714
  // src/components/Inputs/DatePicker/DatePicker.tsx
27647
- import { Fragment as Fragment14, jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
27715
+ import { Fragment as Fragment14, jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
27648
27716
  function DatePicker({ className, style, ...props }) {
27649
27717
  const placeholder = props.placeholder ?? "Placeholder text";
27650
27718
  const minimumDate = props.minimumDate ?? "none";
@@ -27672,10 +27740,10 @@ function DatePicker({ className, style, ...props }) {
27672
27740
  const handleChange = (e) => {
27673
27741
  props.onChange?.(e);
27674
27742
  };
27675
- return /* @__PURE__ */ jsxs22(Fragment14, { children: [
27676
- /* @__PURE__ */ jsxs22("div", { className: "flex justify-start items-center relative", children: [
27677
- /* @__PURE__ */ jsx39(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27678
- /* @__PURE__ */ jsx39(
27743
+ return /* @__PURE__ */ jsxs23(Fragment14, { children: [
27744
+ /* @__PURE__ */ jsxs23("div", { className: "flex justify-start items-center relative", children: [
27745
+ /* @__PURE__ */ jsx41(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27746
+ /* @__PURE__ */ jsx41(
27679
27747
  Input,
27680
27748
  {
27681
27749
  type: "date",
@@ -27701,7 +27769,7 @@ function DatePicker({ className, style, ...props }) {
27701
27769
  }
27702
27770
  )
27703
27771
  ] }),
27704
- props.errorMessage && /* @__PURE__ */ jsx39("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27772
+ props.errorMessage && /* @__PURE__ */ jsx41("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27705
27773
  ] });
27706
27774
  }
27707
27775
 
@@ -27712,7 +27780,7 @@ import { addDays, format } from "date-fns";
27712
27780
  // src/components/ui/calendar.tsx
27713
27781
  import * as React3 from "react";
27714
27782
  import { DayPicker, getDefaultClassNames } from "react-day-picker";
27715
- import { jsx as jsx40 } from "react/jsx-runtime";
27783
+ import { jsx as jsx42 } from "react/jsx-runtime";
27716
27784
  function Calendar2({
27717
27785
  className,
27718
27786
  classNames,
@@ -27724,7 +27792,7 @@ function Calendar2({
27724
27792
  ...props
27725
27793
  }) {
27726
27794
  const defaultClassNames = getDefaultClassNames();
27727
- return /* @__PURE__ */ jsx40(
27795
+ return /* @__PURE__ */ jsx42(
27728
27796
  DayPicker,
27729
27797
  {
27730
27798
  showOutsideDays,
@@ -27823,7 +27891,7 @@ function Calendar2({
27823
27891
  },
27824
27892
  components: {
27825
27893
  Root: ({ className: className2, rootRef, ...props2 }) => {
27826
- return /* @__PURE__ */ jsx40(
27894
+ return /* @__PURE__ */ jsx42(
27827
27895
  "div",
27828
27896
  {
27829
27897
  "data-slot": "calendar",
@@ -27835,10 +27903,10 @@ function Calendar2({
27835
27903
  },
27836
27904
  Chevron: ({ className: className2, orientation, ...props2 }) => {
27837
27905
  if (orientation === "left") {
27838
- return /* @__PURE__ */ jsx40(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27906
+ return /* @__PURE__ */ jsx42(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27839
27907
  }
27840
27908
  if (orientation === "right") {
27841
- return /* @__PURE__ */ jsx40(
27909
+ return /* @__PURE__ */ jsx42(
27842
27910
  ChevronRight,
27843
27911
  {
27844
27912
  className: cn("size-4", className2),
@@ -27846,11 +27914,11 @@ function Calendar2({
27846
27914
  }
27847
27915
  );
27848
27916
  }
27849
- return /* @__PURE__ */ jsx40(ChevronDown, { className: cn("size-4", className2), ...props2 });
27917
+ return /* @__PURE__ */ jsx42(ChevronDown, { className: cn("size-4", className2), ...props2 });
27850
27918
  },
27851
27919
  DayButton: CalendarDayButton,
27852
27920
  WeekNumber: ({ children, ...props2 }) => {
27853
- return /* @__PURE__ */ jsx40("td", { ...props2, children: /* @__PURE__ */ jsx40("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
27921
+ return /* @__PURE__ */ jsx42("td", { ...props2, children: /* @__PURE__ */ jsx42("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
27854
27922
  },
27855
27923
  ...components
27856
27924
  },
@@ -27869,7 +27937,7 @@ function CalendarDayButton({
27869
27937
  React3.useEffect(() => {
27870
27938
  if (modifiers.focused) ref.current?.focus();
27871
27939
  }, [modifiers.focused]);
27872
- return /* @__PURE__ */ jsx40(
27940
+ return /* @__PURE__ */ jsx42(
27873
27941
  Button,
27874
27942
  {
27875
27943
  ref,
@@ -27892,16 +27960,16 @@ function CalendarDayButton({
27892
27960
 
27893
27961
  // src/components/ui/popover.tsx
27894
27962
  import * as PopoverPrimitive from "@radix-ui/react-popover";
27895
- import { jsx as jsx41 } from "react/jsx-runtime";
27963
+ import { jsx as jsx43 } from "react/jsx-runtime";
27896
27964
  function Popover({
27897
27965
  ...props
27898
27966
  }) {
27899
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27967
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27900
27968
  }
27901
27969
  function PopoverTrigger({
27902
27970
  ...props
27903
27971
  }) {
27904
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27972
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27905
27973
  }
27906
27974
  function PopoverContent({
27907
27975
  className,
@@ -27909,7 +27977,7 @@ function PopoverContent({
27909
27977
  sideOffset = 4,
27910
27978
  ...props
27911
27979
  }) {
27912
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
27980
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx43(
27913
27981
  PopoverPrimitive.Content,
27914
27982
  {
27915
27983
  "data-slot": "popover-content",
@@ -27925,7 +27993,7 @@ function PopoverContent({
27925
27993
  }
27926
27994
 
27927
27995
  // src/components/Inputs/DateRange/DateRange.tsx
27928
- import { Fragment as Fragment15, jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
27996
+ import { Fragment as Fragment15, jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
27929
27997
  var DateRange = ({ className, style, ...props }) => {
27930
27998
  const isDateRange = (val) => !!val && val.from instanceof Date;
27931
27999
  const [date, setDate] = React4.useState(
@@ -27940,9 +28008,9 @@ var DateRange = ({ className, style, ...props }) => {
27940
28008
  props.onChange?.(value);
27941
28009
  }
27942
28010
  };
27943
- return /* @__PURE__ */ jsxs23(Fragment15, { children: [
27944
- /* @__PURE__ */ jsx42("div", { className, style, children: /* @__PURE__ */ jsxs23(Popover, { children: [
27945
- /* @__PURE__ */ jsx42(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx42(
28011
+ return /* @__PURE__ */ jsxs24(Fragment15, { children: [
28012
+ /* @__PURE__ */ jsx44("div", { className, style, children: /* @__PURE__ */ jsxs24(Popover, { children: [
28013
+ /* @__PURE__ */ jsx44(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx44(
27946
28014
  Button,
27947
28015
  {
27948
28016
  id: "date",
@@ -27951,15 +28019,15 @@ var DateRange = ({ className, style, ...props }) => {
27951
28019
  "w-full justify-start text-left font-normal text-[11px] border-[#BDBDBD]",
27952
28020
  !date && "text-muted-foreground"
27953
28021
  ),
27954
- children: date?.from ? date.to ? /* @__PURE__ */ jsxs23(Fragment15, { children: [
28022
+ children: date?.from ? date.to ? /* @__PURE__ */ jsxs24(Fragment15, { children: [
27955
28023
  format(date.from, "LLL dd, y"),
27956
28024
  " -",
27957
28025
  " ",
27958
28026
  format(date.to, "LLL dd, y")
27959
- ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx42("span", { children: "Pick a date range" })
28027
+ ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx44("span", { children: "Pick a date range" })
27960
28028
  }
27961
28029
  ) }),
27962
- /* @__PURE__ */ jsx42(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx42(
28030
+ /* @__PURE__ */ jsx44(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx44(
27963
28031
  Calendar2,
27964
28032
  {
27965
28033
  mode: "range",
@@ -27970,13 +28038,13 @@ var DateRange = ({ className, style, ...props }) => {
27970
28038
  }
27971
28039
  ) })
27972
28040
  ] }) }),
27973
- props.errorMessage && /* @__PURE__ */ jsx42("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28041
+ props.errorMessage && /* @__PURE__ */ jsx44("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27974
28042
  ] });
27975
28043
  };
27976
28044
  var DateRange_default = DateRange;
27977
28045
 
27978
28046
  // src/components/Inputs/TextInputGroup/TextInputGroup.tsx
27979
- import { Fragment as Fragment16, jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
28047
+ import { Fragment as Fragment16, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
27980
28048
  var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27981
28049
  const placeholder = props.placeholder ?? "Placeholder text";
27982
28050
  const isEditable = props.isEditable ?? true;
@@ -27986,8 +28054,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27986
28054
  const handleChange = (e) => {
27987
28055
  props.onChange?.(e);
27988
28056
  };
27989
- return /* @__PURE__ */ jsxs24(Fragment16, { children: [
27990
- /* @__PURE__ */ jsxs24(
28057
+ return /* @__PURE__ */ jsxs25(Fragment16, { children: [
28058
+ /* @__PURE__ */ jsxs25(
27991
28059
  "div",
27992
28060
  {
27993
28061
  className: cn(
@@ -27997,8 +28065,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27997
28065
  props.errorMessage ? "border-red-500" : ""
27998
28066
  ),
27999
28067
  children: [
28000
- prepend && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
28001
- /* @__PURE__ */ jsx43(
28068
+ prepend && /* @__PURE__ */ jsx45("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
28069
+ /* @__PURE__ */ jsx45(
28002
28070
  Input,
28003
28071
  {
28004
28072
  id: props.name || "prepend-input",
@@ -28020,17 +28088,17 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
28020
28088
  readOnly: isReadonly
28021
28089
  }
28022
28090
  ),
28023
- append && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
28091
+ append && /* @__PURE__ */ jsx45("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
28024
28092
  ]
28025
28093
  }
28026
28094
  ),
28027
- props.errorMessage && /* @__PURE__ */ jsx43("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28095
+ props.errorMessage && /* @__PURE__ */ jsx45("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28028
28096
  ] });
28029
28097
  };
28030
28098
  var TextInputGroup_default = TextInputGroup;
28031
28099
 
28032
28100
  // src/components/DataDisplay/Table/Table.tsx
28033
- import { useState as useState4, useEffect as useEffect2 } from "react";
28101
+ import { useState as useState4, useEffect as useEffect3 } from "react";
28034
28102
 
28035
28103
  // src/components/ui/data-table.tsx
28036
28104
  import {
@@ -28040,14 +28108,14 @@ import {
28040
28108
  } from "@tanstack/react-table";
28041
28109
 
28042
28110
  // src/components/ui/table.tsx
28043
- import { jsx as jsx44 } from "react/jsx-runtime";
28111
+ import { jsx as jsx46 } from "react/jsx-runtime";
28044
28112
  function Table3({ className, ...props }) {
28045
- return /* @__PURE__ */ jsx44(
28113
+ return /* @__PURE__ */ jsx46(
28046
28114
  "div",
28047
28115
  {
28048
28116
  "data-slot": "table-container",
28049
28117
  className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
28050
- children: /* @__PURE__ */ jsx44(
28118
+ children: /* @__PURE__ */ jsx46(
28051
28119
  "table",
28052
28120
  {
28053
28121
  "data-slot": "table",
@@ -28059,7 +28127,7 @@ function Table3({ className, ...props }) {
28059
28127
  );
28060
28128
  }
28061
28129
  function TableHeader({ className, ...props }) {
28062
- return /* @__PURE__ */ jsx44(
28130
+ return /* @__PURE__ */ jsx46(
28063
28131
  "thead",
28064
28132
  {
28065
28133
  "data-slot": "table-header",
@@ -28072,7 +28140,7 @@ function TableHeader({ className, ...props }) {
28072
28140
  );
28073
28141
  }
28074
28142
  function TableBody({ className, ...props }) {
28075
- return /* @__PURE__ */ jsx44(
28143
+ return /* @__PURE__ */ jsx46(
28076
28144
  "tbody",
28077
28145
  {
28078
28146
  "data-slot": "table-body",
@@ -28085,7 +28153,7 @@ function TableBody({ className, ...props }) {
28085
28153
  );
28086
28154
  }
28087
28155
  function TableRow({ className, ...props }) {
28088
- return /* @__PURE__ */ jsx44(
28156
+ return /* @__PURE__ */ jsx46(
28089
28157
  "tr",
28090
28158
  {
28091
28159
  "data-slot": "table-row",
@@ -28098,7 +28166,7 @@ function TableRow({ className, ...props }) {
28098
28166
  );
28099
28167
  }
28100
28168
  function TableHead({ className, ...props }) {
28101
- return /* @__PURE__ */ jsx44(
28169
+ return /* @__PURE__ */ jsx46(
28102
28170
  "th",
28103
28171
  {
28104
28172
  "data-slot": "table-head",
@@ -28111,7 +28179,7 @@ function TableHead({ className, ...props }) {
28111
28179
  );
28112
28180
  }
28113
28181
  function TableCell({ className, ...props }) {
28114
- return /* @__PURE__ */ jsx44(
28182
+ return /* @__PURE__ */ jsx46(
28115
28183
  "td",
28116
28184
  {
28117
28185
  "data-slot": "table-cell",
@@ -28125,7 +28193,7 @@ function TableCell({ className, ...props }) {
28125
28193
  }
28126
28194
 
28127
28195
  // src/components/ui/data-table.tsx
28128
- import { Fragment as Fragment17, jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
28196
+ import { Fragment as Fragment17, jsx as jsx47, jsxs as jsxs26 } from "react/jsx-runtime";
28129
28197
  function DataTable({
28130
28198
  columns,
28131
28199
  rowActions,
@@ -28150,14 +28218,14 @@ function DataTable({
28150
28218
  onCellClick(rowData, columnId);
28151
28219
  }
28152
28220
  };
28153
- return /* @__PURE__ */ jsx45("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs25(Table3, { children: [
28154
- /* @__PURE__ */ jsx45(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx45(TableRow, { children: headerGroup.headers.map((header) => {
28155
- return /* @__PURE__ */ jsx45(TableHead, { children: header.isPlaceholder ? null : flexRender(
28221
+ return /* @__PURE__ */ jsx47("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs26(Table3, { children: [
28222
+ /* @__PURE__ */ jsx47(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx47(TableRow, { children: headerGroup.headers.map((header) => {
28223
+ return /* @__PURE__ */ jsx47(TableHead, { children: header.isPlaceholder ? null : flexRender(
28156
28224
  header.column.columnDef.header,
28157
28225
  header.getContext()
28158
28226
  ) }, header.id);
28159
28227
  }) }, headerGroup.id)) }),
28160
- /* @__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(
28228
+ /* @__PURE__ */ jsx47(TableBody, { children: loading ? /* @__PURE__ */ jsx47(TableRow, { children: /* @__PURE__ */ jsx47(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx47(Fragment17, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs26(
28161
28229
  TableRow,
28162
28230
  {
28163
28231
  "data-state": row.getIsSelected() && "selected",
@@ -28167,7 +28235,7 @@ function DataTable({
28167
28235
  const isCellClickable = cellClickEnabled(row.original, cell.column.id);
28168
28236
  const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
28169
28237
  const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
28170
- return /* @__PURE__ */ jsx45(
28238
+ return /* @__PURE__ */ jsx47(
28171
28239
  TableCell,
28172
28240
  {
28173
28241
  className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
@@ -28182,18 +28250,18 @@ function DataTable({
28182
28250
  cell.id
28183
28251
  );
28184
28252
  }),
28185
- 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)) })
28253
+ rowActions.length > 0 && /* @__PURE__ */ jsx47("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__ */ jsx47("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
28186
28254
  ]
28187
28255
  },
28188
28256
  row.id
28189
- )) : /* @__PURE__ */ jsx45(TableRow, { children: /* @__PURE__ */ jsx45(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
28257
+ )) : /* @__PURE__ */ jsx47(TableRow, { children: /* @__PURE__ */ jsx47(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
28190
28258
  ] }) });
28191
28259
  }
28192
28260
 
28193
28261
  // src/components/ui/pagination.tsx
28194
- import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
28262
+ import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
28195
28263
  function Pagination({ className, ...props }) {
28196
- return /* @__PURE__ */ jsx46(
28264
+ return /* @__PURE__ */ jsx48(
28197
28265
  "nav",
28198
28266
  {
28199
28267
  role: "navigation",
@@ -28208,7 +28276,7 @@ function PaginationContent({
28208
28276
  className,
28209
28277
  ...props
28210
28278
  }) {
28211
- return /* @__PURE__ */ jsx46(
28279
+ return /* @__PURE__ */ jsx48(
28212
28280
  "ul",
28213
28281
  {
28214
28282
  "data-slot": "pagination-content",
@@ -28218,7 +28286,7 @@ function PaginationContent({
28218
28286
  );
28219
28287
  }
28220
28288
  function PaginationItem({ ...props }) {
28221
- return /* @__PURE__ */ jsx46("li", { "data-slot": "pagination-item", ...props });
28289
+ return /* @__PURE__ */ jsx48("li", { "data-slot": "pagination-item", ...props });
28222
28290
  }
28223
28291
  function PaginationLink({
28224
28292
  className,
@@ -28226,7 +28294,7 @@ function PaginationLink({
28226
28294
  size = "icon",
28227
28295
  ...props
28228
28296
  }) {
28229
- return /* @__PURE__ */ jsx46(
28297
+ return /* @__PURE__ */ jsx48(
28230
28298
  "a",
28231
28299
  {
28232
28300
  "aria-current": isActive ? "page" : void 0,
@@ -28247,7 +28315,7 @@ function PaginationPrevious({
28247
28315
  className,
28248
28316
  ...props
28249
28317
  }) {
28250
- return /* @__PURE__ */ jsxs26(
28318
+ return /* @__PURE__ */ jsxs27(
28251
28319
  PaginationLink,
28252
28320
  {
28253
28321
  "aria-label": "Go to previous page",
@@ -28255,8 +28323,8 @@ function PaginationPrevious({
28255
28323
  className: cn("gap-1 px-2.5 sm:pl-2.5", className),
28256
28324
  ...props,
28257
28325
  children: [
28258
- /* @__PURE__ */ jsx46(ChevronLeft, {}),
28259
- /* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Previous" })
28326
+ /* @__PURE__ */ jsx48(ChevronLeft, {}),
28327
+ /* @__PURE__ */ jsx48("span", { className: "hidden sm:block", children: "Previous" })
28260
28328
  ]
28261
28329
  }
28262
28330
  );
@@ -28265,7 +28333,7 @@ function PaginationNext({
28265
28333
  className,
28266
28334
  ...props
28267
28335
  }) {
28268
- return /* @__PURE__ */ jsxs26(
28336
+ return /* @__PURE__ */ jsxs27(
28269
28337
  PaginationLink,
28270
28338
  {
28271
28339
  "aria-label": "Go to next page",
@@ -28273,8 +28341,8 @@ function PaginationNext({
28273
28341
  className: cn("gap-1 px-2.5 sm:pr-2.5", className),
28274
28342
  ...props,
28275
28343
  children: [
28276
- /* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Next" }),
28277
- /* @__PURE__ */ jsx46(ChevronRight, {})
28344
+ /* @__PURE__ */ jsx48("span", { className: "hidden sm:block", children: "Next" }),
28345
+ /* @__PURE__ */ jsx48(ChevronRight, {})
28278
28346
  ]
28279
28347
  }
28280
28348
  );
@@ -28283,7 +28351,7 @@ function PaginationEllipsis({
28283
28351
  className,
28284
28352
  ...props
28285
28353
  }) {
28286
- return /* @__PURE__ */ jsxs26(
28354
+ return /* @__PURE__ */ jsxs27(
28287
28355
  "span",
28288
28356
  {
28289
28357
  "aria-hidden": true,
@@ -28291,15 +28359,15 @@ function PaginationEllipsis({
28291
28359
  className: cn("flex size-9 items-center justify-center", className),
28292
28360
  ...props,
28293
28361
  children: [
28294
- /* @__PURE__ */ jsx46(Ellipsis, { className: "size-4" }),
28295
- /* @__PURE__ */ jsx46("span", { className: "sr-only", children: "More pages" })
28362
+ /* @__PURE__ */ jsx48(Ellipsis, { className: "size-4" }),
28363
+ /* @__PURE__ */ jsx48("span", { className: "sr-only", children: "More pages" })
28296
28364
  ]
28297
28365
  }
28298
28366
  );
28299
28367
  }
28300
28368
 
28301
28369
  // src/components/DataDisplay/Pagination/Pagination.tsx
28302
- import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
28370
+ import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
28303
28371
  var CustomPagination = ({
28304
28372
  totalPages,
28305
28373
  currentPage,
@@ -28345,10 +28413,10 @@ var CustomPagination = ({
28345
28413
  }
28346
28414
  };
28347
28415
  const pageNumbers = getPageNumbers();
28348
- return /* @__PURE__ */ jsxs27("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
28349
- /* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-2", children: [
28350
- /* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28351
- /* @__PURE__ */ jsxs27(
28416
+ return /* @__PURE__ */ jsxs28("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
28417
+ /* @__PURE__ */ jsxs28("div", { className: "flex items-center gap-2", children: [
28418
+ /* @__PURE__ */ jsx49("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28419
+ /* @__PURE__ */ jsxs28(
28352
28420
  Select,
28353
28421
  {
28354
28422
  defaultValue: String(perPage),
@@ -28356,26 +28424,26 @@ var CustomPagination = ({
28356
28424
  onPageChange({ page: 1, itemsPerPage: Number(value) });
28357
28425
  },
28358
28426
  children: [
28359
- /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select" }) }),
28360
- /* @__PURE__ */ jsxs27(SelectContent, { children: [
28361
- /* @__PURE__ */ jsx47(SelectItem, { value: "5", children: "5" }),
28362
- /* @__PURE__ */ jsx47(SelectItem, { value: "10", children: "10" }),
28363
- /* @__PURE__ */ jsx47(SelectItem, { value: "20", children: "20" }),
28364
- /* @__PURE__ */ jsx47(SelectItem, { value: "50", children: "50" })
28427
+ /* @__PURE__ */ jsx49(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ jsx49(SelectValue, { placeholder: "Select" }) }),
28428
+ /* @__PURE__ */ jsxs28(SelectContent, { children: [
28429
+ /* @__PURE__ */ jsx49(SelectItem, { value: "5", children: "5" }),
28430
+ /* @__PURE__ */ jsx49(SelectItem, { value: "10", children: "10" }),
28431
+ /* @__PURE__ */ jsx49(SelectItem, { value: "20", children: "20" }),
28432
+ /* @__PURE__ */ jsx49(SelectItem, { value: "50", children: "50" })
28365
28433
  ] })
28366
28434
  ]
28367
28435
  }
28368
28436
  )
28369
28437
  ] }),
28370
- /* @__PURE__ */ jsx47(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs27(PaginationContent, { children: [
28371
- /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
28438
+ /* @__PURE__ */ jsx49(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs28(PaginationContent, { children: [
28439
+ /* @__PURE__ */ jsx49(PaginationItem, { children: /* @__PURE__ */ jsx49(
28372
28440
  PaginationPrevious,
28373
28441
  {
28374
28442
  onClick: () => handlePageChange(currentPage - 1),
28375
28443
  className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
28376
28444
  }
28377
28445
  ) }),
28378
- pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx47(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx47(PaginationEllipsis, {}) : /* @__PURE__ */ jsx47(
28446
+ pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx49(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx49(PaginationEllipsis, {}) : /* @__PURE__ */ jsx49(
28379
28447
  PaginationLink,
28380
28448
  {
28381
28449
  onClick: () => handlePageChange(pageNumber),
@@ -28384,7 +28452,7 @@ var CustomPagination = ({
28384
28452
  children: pageNumber
28385
28453
  }
28386
28454
  ) }, index)),
28387
- /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
28455
+ /* @__PURE__ */ jsx49(PaginationItem, { children: /* @__PURE__ */ jsx49(
28388
28456
  PaginationNext,
28389
28457
  {
28390
28458
  onClick: () => handlePageChange(currentPage + 1),
@@ -28397,7 +28465,7 @@ var CustomPagination = ({
28397
28465
  var Pagination_default = CustomPagination;
28398
28466
 
28399
28467
  // src/components/DataDisplay/Table/Table.tsx
28400
- import { jsx as jsx48, jsxs as jsxs28 } from "react/jsx-runtime";
28468
+ import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
28401
28469
  var Table4 = ({
28402
28470
  columns,
28403
28471
  data,
@@ -28419,7 +28487,7 @@ var Table4 = ({
28419
28487
  const isControlled = typeof page === "number";
28420
28488
  const [internalPage, setInternalPage] = useState4(1);
28421
28489
  const currentPage = isControlled ? page : internalPage;
28422
- useEffect2(() => {
28490
+ useEffect3(() => {
28423
28491
  if (isControlled) return;
28424
28492
  if (currentPage > 1 && !pagination) setInternalPage(1);
28425
28493
  }, [pagination, isControlled]);
@@ -28443,8 +28511,8 @@ var Table4 = ({
28443
28511
  if (!selectedColumn) return false;
28444
28512
  return selectedColumn.isClickable ?? false;
28445
28513
  };
28446
- return /* @__PURE__ */ jsxs28("div", { className: `${className || ""} space-y-3`, style, children: [
28447
- /* @__PURE__ */ jsx48(
28514
+ return /* @__PURE__ */ jsxs29("div", { className: `${className || ""} space-y-3`, style, children: [
28515
+ /* @__PURE__ */ jsx50(
28448
28516
  DataTable,
28449
28517
  {
28450
28518
  ...props,
@@ -28455,7 +28523,7 @@ var Table4 = ({
28455
28523
  cellClickEnabled: isCellClickEnabled
28456
28524
  }
28457
28525
  ),
28458
- enablePagination && /* @__PURE__ */ jsx48(
28526
+ enablePagination && /* @__PURE__ */ jsx50(
28459
28527
  Pagination_default,
28460
28528
  {
28461
28529
  perPage: itemsPerPage,
@@ -28470,7 +28538,7 @@ var Table_default = Table4;
28470
28538
 
28471
28539
  // src/components/Navigation/Tabs/Tabs.tsx
28472
28540
  import Link5 from "next/link";
28473
- import { jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
28541
+ import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
28474
28542
  var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28475
28543
  const rawTabs = Array.isArray(tabs) ? tabs : [];
28476
28544
  const baseClasses = "text-[12px] text-foreground p-2 text-center rounded-md transition-colors";
@@ -28483,23 +28551,23 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28483
28551
  const renderDesktopTab = (tab, index) => {
28484
28552
  const finalClasses = [baseClasses, isActive(tab.url) ? activeClasses : hoverClasses, tab.className || ""].join(" ");
28485
28553
  if (Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown) {
28486
- return /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
28487
- /* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: `${finalClasses} inline-flex items-center gap-1`, children: [
28554
+ return /* @__PURE__ */ jsxs30(DropdownMenu, { children: [
28555
+ /* @__PURE__ */ jsxs30(DropdownMenuTrigger, { className: `${finalClasses} inline-flex items-center gap-1`, children: [
28488
28556
  tab.header,
28489
- /* @__PURE__ */ jsx49(ChevronDown, { className: "h-4 w-4 opacity-80" })
28557
+ /* @__PURE__ */ jsx51(ChevronDown, { className: "h-4 w-4 opacity-80" })
28490
28558
  ] }),
28491
- /* @__PURE__ */ jsx49(
28559
+ /* @__PURE__ */ jsx51(
28492
28560
  DropdownMenuContent,
28493
28561
  {
28494
28562
  align: "start",
28495
28563
  sideOffset: 6,
28496
28564
  className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
28497
- children: tab.children.map((item) => /* @__PURE__ */ jsx49(
28565
+ children: tab.children.map((item) => /* @__PURE__ */ jsx51(
28498
28566
  DropdownMenuItem,
28499
28567
  {
28500
28568
  asChild: true,
28501
28569
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
28502
- children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
28570
+ children: /* @__PURE__ */ jsx51(Link5, { href: item.url || "#", children: item.header })
28503
28571
  },
28504
28572
  item.id
28505
28573
  ))
@@ -28507,14 +28575,14 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28507
28575
  )
28508
28576
  ] }, index);
28509
28577
  }
28510
- 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);
28578
+ return tab.url ? /* @__PURE__ */ jsx51(Link5, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx51("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
28511
28579
  };
28512
- const renderMobileMenu = () => /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
28513
- /* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
28514
- /* @__PURE__ */ jsx49(Menu, { className: "h-4 w-4" }),
28580
+ const renderMobileMenu = () => /* @__PURE__ */ jsxs30(DropdownMenu, { children: [
28581
+ /* @__PURE__ */ jsxs30(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
28582
+ /* @__PURE__ */ jsx51(Menu, { className: "h-4 w-4" }),
28515
28583
  "Menu"
28516
28584
  ] }),
28517
- /* @__PURE__ */ jsx49(
28585
+ /* @__PURE__ */ jsx51(
28518
28586
  DropdownMenuContent,
28519
28587
  {
28520
28588
  align: "start",
@@ -28523,25 +28591,25 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28523
28591
  children: rawTabs.map((tab, i) => {
28524
28592
  const hasChildren = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
28525
28593
  if (hasChildren) {
28526
- return /* @__PURE__ */ jsxs29(DropdownMenuSub, { children: [
28527
- /* @__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 }),
28528
- /* @__PURE__ */ jsx49(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ jsx49(
28594
+ return /* @__PURE__ */ jsxs30(DropdownMenuSub, { children: [
28595
+ /* @__PURE__ */ jsx51(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 }),
28596
+ /* @__PURE__ */ jsx51(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ jsx51(
28529
28597
  DropdownMenuItem,
28530
28598
  {
28531
28599
  asChild: true,
28532
28600
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100",
28533
- children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
28601
+ children: /* @__PURE__ */ jsx51(Link5, { href: item.url || "#", children: item.header })
28534
28602
  },
28535
28603
  item.id
28536
28604
  )) })
28537
28605
  ] }, i);
28538
28606
  }
28539
- return /* @__PURE__ */ jsx49(
28607
+ return /* @__PURE__ */ jsx51(
28540
28608
  DropdownMenuItem,
28541
28609
  {
28542
28610
  asChild: true,
28543
28611
  className: "cursor-pointer rounded-sm px-3 py-2 text-[13px] text-gray-800 hover:bg-gray-100",
28544
- children: /* @__PURE__ */ jsx49(Link5, { href: tab.url || "#", children: tab.header })
28612
+ children: /* @__PURE__ */ jsx51(Link5, { href: tab.url || "#", children: tab.header })
28545
28613
  },
28546
28614
  i
28547
28615
  );
@@ -28551,56 +28619,56 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28551
28619
  ] });
28552
28620
  const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
28553
28621
  const forceDesktop = canvasMode === "desktop";
28554
- return /* @__PURE__ */ jsxs29("div", { className, style, children: [
28555
- 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) }) }),
28556
- forceMobile && /* @__PURE__ */ jsx49("div", { children: renderMobileMenu() }),
28557
- /* @__PURE__ */ jsx49("div", { className: "md:hidden", children: renderMobileMenu() })
28622
+ return /* @__PURE__ */ jsxs30("div", { className, style, children: [
28623
+ forceDesktop && /* @__PURE__ */ jsx51("div", { className: "hidden md:flex", children: /* @__PURE__ */ jsx51("div", { className: `flex gap-2 ${verticalMenu ? "flex-col items-start" : "flex-row"}`, children: rawTabs.map(renderDesktopTab) }) }),
28624
+ forceMobile && /* @__PURE__ */ jsx51("div", { children: renderMobileMenu() }),
28625
+ /* @__PURE__ */ jsx51("div", { className: "md:hidden", children: renderMobileMenu() })
28558
28626
  ] });
28559
28627
  };
28560
28628
  var Tabs_default = Tabs;
28561
28629
 
28562
28630
  // src/components/Navigation/Stages/Stages.tsx
28563
28631
  import React5 from "react";
28564
- import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
28632
+ import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
28565
28633
  var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
28566
- 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: [
28567
- /* @__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" }) }) }) }),
28568
- /* @__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: [
28569
- /* @__PURE__ */ jsx50(
28634
+ return /* @__PURE__ */ jsx52("div", { className, style, children: /* @__PURE__ */ jsxs31("div", { className: "flex items-center justify-between bg-red p-2 rounded-lg border border-gray-200 w-full", children: [
28635
+ /* @__PURE__ */ jsx52("div", { className: "flex items-center", children: /* @__PURE__ */ jsx52("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx52("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx52("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
28636
+ /* @__PURE__ */ jsx52("div", { className: "flex items-center flex-1 px-2 flex-wrap gap-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs31(React5.Fragment, { children: [
28637
+ /* @__PURE__ */ jsx52(
28570
28638
  "button",
28571
28639
  {
28572
28640
  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"}`,
28573
28641
  children: stage.header
28574
28642
  }
28575
28643
  ),
28576
- index < stages.length - 1 && /* @__PURE__ */ jsx50("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
28644
+ index < stages.length - 1 && /* @__PURE__ */ jsx52("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
28577
28645
  ] }, stage.id)) }),
28578
- 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 }) })
28646
+ isShowBtn && /* @__PURE__ */ jsx52("div", { className: "flex items-center", children: /* @__PURE__ */ jsx52("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
28579
28647
  ] }) });
28580
28648
  };
28581
28649
  var Stages_default = StagesComponent;
28582
28650
 
28583
28651
  // src/components/Navigation/Spacer/Spacer.tsx
28584
- import { jsx as jsx51 } from "react/jsx-runtime";
28652
+ import { jsx as jsx53 } from "react/jsx-runtime";
28585
28653
  var Spacer = ({ className, style }) => {
28586
- return /* @__PURE__ */ jsx51("div", { className: `${className}`, style });
28654
+ return /* @__PURE__ */ jsx53("div", { className: `${className}`, style });
28587
28655
  };
28588
28656
  var Spacer_default = Spacer;
28589
28657
 
28590
28658
  // src/components/Navigation/Profile/Profile.tsx
28591
- import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
28659
+ import { jsx as jsx54, jsxs as jsxs32 } from "react/jsx-runtime";
28592
28660
 
28593
28661
  // src/components/Navigation/Notification/Notification.tsx
28594
- import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
28662
+ import { jsx as jsx55, jsxs as jsxs33 } from "react/jsx-runtime";
28595
28663
 
28596
28664
  // src/components/Navigation/Logo/Logo.tsx
28597
- import { jsx as jsx54 } from "react/jsx-runtime";
28665
+ import { jsx as jsx56 } from "react/jsx-runtime";
28598
28666
 
28599
28667
  // src/components/ui/avatar.tsx
28600
28668
  import * as React6 from "react";
28601
28669
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
28602
- import { jsx as jsx55 } from "react/jsx-runtime";
28603
- var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28670
+ import { jsx as jsx57 } from "react/jsx-runtime";
28671
+ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
28604
28672
  AvatarPrimitive.Root,
28605
28673
  {
28606
28674
  ref,
@@ -28612,7 +28680,7 @@ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
28612
28680
  }
28613
28681
  ));
28614
28682
  Avatar.displayName = AvatarPrimitive.Root.displayName;
28615
- var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28683
+ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
28616
28684
  AvatarPrimitive.Image,
28617
28685
  {
28618
28686
  ref,
@@ -28621,7 +28689,7 @@ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
28621
28689
  }
28622
28690
  ));
28623
28691
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
28624
- var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28692
+ var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
28625
28693
  AvatarPrimitive.Fallback,
28626
28694
  {
28627
28695
  ref,
@@ -28637,7 +28705,8 @@ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
28637
28705
  // src/components/Navigation/Navbar/Navbar.tsx
28638
28706
  import Link6 from "next/link";
28639
28707
  import Image3 from "next/image";
28640
- import { Fragment as Fragment18, jsx as jsx56, jsxs as jsxs33 } from "react/jsx-runtime";
28708
+ import { DropdownMenuSeparator } from "@radix-ui/react-dropdown-menu";
28709
+ import { Fragment as Fragment18, jsx as jsx58, jsxs as jsxs34 } from "react/jsx-runtime";
28641
28710
  function Navbar({
28642
28711
  style,
28643
28712
  badgeType,
@@ -28649,12 +28718,13 @@ function Navbar({
28649
28718
  altText = "Logo",
28650
28719
  canvasMode = "desktop",
28651
28720
  list = [],
28721
+ profileMenu = [],
28652
28722
  userName = "Guest User"
28653
28723
  }) {
28654
28724
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
28655
- 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-4", children: [
28656
- /* @__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" }) }),
28657
- !isMobileView && /* @__PURE__ */ jsx56("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ jsx56(
28725
+ return /* @__PURE__ */ jsx58("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs34("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-4", children: [
28726
+ /* @__PURE__ */ jsx58(Link6, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx58(Image3, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx58("span", { className: "font-semibold text-blue-700", children: "Logo" }) }),
28727
+ !isMobileView && /* @__PURE__ */ jsx58("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ jsx58(
28658
28728
  Link6,
28659
28729
  {
28660
28730
  href: item.url || "#",
@@ -28663,54 +28733,60 @@ function Navbar({
28663
28733
  },
28664
28734
  item.id
28665
28735
  )) }),
28666
- /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-3", children: [
28667
- !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: [
28668
- /* @__PURE__ */ jsx56(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28669
- /* @__PURE__ */ jsx56(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28670
- ] }) }) : /* @__PURE__ */ jsx56(
28736
+ /* @__PURE__ */ jsxs34("div", { className: "flex items-center space-x-3", children: [
28737
+ !isMobileView ? /* @__PURE__ */ jsx58("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs34("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
28738
+ /* @__PURE__ */ jsx58(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28739
+ /* @__PURE__ */ jsx58(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28740
+ ] }) }) : /* @__PURE__ */ jsx58(
28671
28741
  Button,
28672
28742
  {
28673
28743
  variant: "ghost",
28674
28744
  size: "icon",
28675
28745
  className: "border border-gray-400",
28676
- children: /* @__PURE__ */ jsx56(Search, { className: "h-5 w-5 text-gray-400" })
28746
+ children: /* @__PURE__ */ jsx58(Search, { className: "h-5 w-5 text-gray-400" })
28677
28747
  }
28678
28748
  ),
28679
- /* @__PURE__ */ jsxs33("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
28680
- /* @__PURE__ */ jsx56(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx56(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28681
- 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" })
28749
+ /* @__PURE__ */ jsxs34("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
28750
+ /* @__PURE__ */ jsx58(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx58(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28751
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && Number(badgeCount) > 0 ? /* @__PURE__ */ jsx58("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__ */ jsx58("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
28682
28752
  ] }),
28683
- /* @__PURE__ */ jsxs33(DropdownMenu, { children: [
28684
- /* @__PURE__ */ jsx56(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
28685
- !isMobileView && showName && /* @__PURE__ */ jsx56("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28686
- !isMobileView ? /* @__PURE__ */ jsxs33(Fragment18, { children: [
28687
- /* @__PURE__ */ jsx56(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx56(
28753
+ /* @__PURE__ */ jsxs34(DropdownMenu, { children: [
28754
+ /* @__PURE__ */ jsx58(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs34("div", { className: "flex items-center space-x-2", children: [
28755
+ !isMobileView && showName && /* @__PURE__ */ jsx58("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28756
+ !isMobileView ? /* @__PURE__ */ jsxs34(Fragment18, { children: [
28757
+ /* @__PURE__ */ jsx58(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx58(
28688
28758
  AvatarImage,
28689
28759
  {
28690
28760
  src: "/images/appbuilder/toolset/profile.svg",
28691
28761
  alt: "Profile"
28692
28762
  }
28693
- ) : /* @__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) }) }),
28694
- /* @__PURE__ */ jsx56(
28763
+ ) : /* @__PURE__ */ jsx58("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) }) }),
28764
+ /* @__PURE__ */ jsx58(
28695
28765
  Button,
28696
28766
  {
28697
28767
  variant: "ghost",
28698
28768
  size: "icon",
28699
28769
  className: "text-gray-900 md:hidden",
28700
- children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
28770
+ children: /* @__PURE__ */ jsx58(Menu, { className: "h-6 w-6" })
28701
28771
  }
28702
28772
  )
28703
- ] }) : /* @__PURE__ */ jsx56(
28773
+ ] }) : /* @__PURE__ */ jsx58(
28704
28774
  Button,
28705
28775
  {
28706
28776
  variant: "ghost",
28707
28777
  size: "icon",
28708
28778
  className: "text-gray-900",
28709
- children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
28779
+ children: /* @__PURE__ */ jsx58(Menu, { className: "h-6 w-6" })
28710
28780
  }
28711
28781
  )
28712
28782
  ] }) }),
28713
- /* @__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)) }) })
28783
+ /* @__PURE__ */ jsxs34(DropdownMenuContent, { align: "end", className: "bg-white", children: [
28784
+ profileMenu && profileMenu.length > 0 && /* @__PURE__ */ jsx58(Fragment18, { children: profileMenu.map((item) => /* @__PURE__ */ jsx58(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx58(Link6, { href: item.url || "#", children: item.header }) }, item.id)) }),
28785
+ /* @__PURE__ */ jsxs34("div", { className: "md:hidden", children: [
28786
+ /* @__PURE__ */ jsx58(DropdownMenuSeparator, {}),
28787
+ list && list.length > 0 && /* @__PURE__ */ jsx58(Fragment18, { children: list.map((item) => /* @__PURE__ */ jsx58(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ jsx58(Link6, { href: item.url || "#", children: item.header }) }, item.id)) })
28788
+ ] })
28789
+ ] })
28714
28790
  ] })
28715
28791
  ] })
28716
28792
  ] }) });
@@ -28718,28 +28794,28 @@ function Navbar({
28718
28794
 
28719
28795
  // src/components/Chart/BarChart.tsx
28720
28796
  import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
28721
- import { jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
28797
+ import { jsx as jsx59, jsxs as jsxs35 } from "react/jsx-runtime";
28722
28798
  var ChartComponent = ({ className, style, ...props }) => {
28723
28799
  const data = Array.isArray(props?.data) ? props.data : [];
28724
28800
  const chartType = props.chartType || "bar";
28725
28801
  const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
28726
- 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: [
28727
- /* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
28728
- /* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
28729
- /* @__PURE__ */ jsx57(YAxis, {}),
28730
- /* @__PURE__ */ jsx57(Tooltip, {}),
28731
- /* @__PURE__ */ jsx57(Legend, { verticalAlign: legendsPosition, align: "center" }),
28732
- /* @__PURE__ */ jsx57(Bar, { dataKey: "value", fill: "#00695C" })
28733
- ] }) : /* @__PURE__ */ jsxs34(AreaChart, { data, children: [
28734
- /* @__PURE__ */ jsx57("defs", { children: /* @__PURE__ */ jsxs34("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28735
- /* @__PURE__ */ jsx57("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28736
- /* @__PURE__ */ jsx57("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
28802
+ return /* @__PURE__ */ jsx59("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx59(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs35(BarChart, { data, children: [
28803
+ /* @__PURE__ */ jsx59(CartesianGrid, { strokeDasharray: "3 3" }),
28804
+ /* @__PURE__ */ jsx59(XAxis, { dataKey: "name" }),
28805
+ /* @__PURE__ */ jsx59(YAxis, {}),
28806
+ /* @__PURE__ */ jsx59(Tooltip, {}),
28807
+ /* @__PURE__ */ jsx59(Legend, { verticalAlign: legendsPosition, align: "center" }),
28808
+ /* @__PURE__ */ jsx59(Bar, { dataKey: "value", fill: "#00695C" })
28809
+ ] }) : /* @__PURE__ */ jsxs35(AreaChart, { data, children: [
28810
+ /* @__PURE__ */ jsx59("defs", { children: /* @__PURE__ */ jsxs35("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28811
+ /* @__PURE__ */ jsx59("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28812
+ /* @__PURE__ */ jsx59("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
28737
28813
  ] }) }),
28738
- /* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
28739
- /* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
28740
- /* @__PURE__ */ jsx57(YAxis, {}),
28741
- /* @__PURE__ */ jsx57(Tooltip, {}),
28742
- /* @__PURE__ */ jsx57(
28814
+ /* @__PURE__ */ jsx59(CartesianGrid, { strokeDasharray: "3 3" }),
28815
+ /* @__PURE__ */ jsx59(XAxis, { dataKey: "name" }),
28816
+ /* @__PURE__ */ jsx59(YAxis, {}),
28817
+ /* @__PURE__ */ jsx59(Tooltip, {}),
28818
+ /* @__PURE__ */ jsx59(
28743
28819
  Area,
28744
28820
  {
28745
28821
  type: "monotone",
@@ -28755,7 +28831,7 @@ var BarChart_default = ChartComponent;
28755
28831
 
28756
28832
  // src/components/Chart/PieChart.tsx
28757
28833
  import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
28758
- import { Fragment as Fragment19, jsx as jsx58, jsxs as jsxs35 } from "react/jsx-runtime";
28834
+ import { Fragment as Fragment19, jsx as jsx60, jsxs as jsxs36 } from "react/jsx-runtime";
28759
28835
  var DonutChart = ({ className, style, ...props }) => {
28760
28836
  const data = Array.isArray(props?.data) ? props.data : [];
28761
28837
  const total = data.reduce((sum, d) => sum + d.value, 0);
@@ -28766,7 +28842,7 @@ var DonutChart = ({ className, style, ...props }) => {
28766
28842
  const renderLabel = ({ value, x, y }) => {
28767
28843
  if (value == null) return null;
28768
28844
  const percentage = (Number(value) / total * 100).toFixed(0);
28769
- return /* @__PURE__ */ jsxs35(
28845
+ return /* @__PURE__ */ jsxs36(
28770
28846
  "text",
28771
28847
  {
28772
28848
  x,
@@ -28788,33 +28864,33 @@ var DonutChart = ({ className, style, ...props }) => {
28788
28864
  const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
28789
28865
  const renderLegends = () => {
28790
28866
  if (!showLegends) return null;
28791
- return /* @__PURE__ */ jsx58(Fragment19, { children: data.map((d) => /* @__PURE__ */ jsxs35(
28867
+ return /* @__PURE__ */ jsx60(Fragment19, { children: data.map((d) => /* @__PURE__ */ jsxs36(
28792
28868
  "div",
28793
28869
  {
28794
28870
  className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
28795
28871
  children: [
28796
- /* @__PURE__ */ jsx58(
28872
+ /* @__PURE__ */ jsx60(
28797
28873
  "span",
28798
28874
  {
28799
28875
  className: "inline-block w-[16px] h-[16px] rounded",
28800
28876
  style: { backgroundColor: d.color }
28801
28877
  }
28802
28878
  ),
28803
- /* @__PURE__ */ jsx58("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
28879
+ /* @__PURE__ */ jsx60("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
28804
28880
  ]
28805
28881
  },
28806
28882
  d.name
28807
28883
  )) });
28808
28884
  };
28809
- return /* @__PURE__ */ jsxs35(
28885
+ return /* @__PURE__ */ jsxs36(
28810
28886
  "div",
28811
28887
  {
28812
28888
  className: `relative flex items-center ${wrapperClass} ${className}`,
28813
28889
  style,
28814
28890
  children: [
28815
- /* @__PURE__ */ jsxs35("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
28816
- data.length > 0 && /* @__PURE__ */ jsx58(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs35(PieChart, { children: [
28817
- /* @__PURE__ */ jsxs35(
28891
+ /* @__PURE__ */ jsxs36("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
28892
+ data.length > 0 && /* @__PURE__ */ jsx60(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs36(PieChart, { children: [
28893
+ /* @__PURE__ */ jsxs36(
28818
28894
  Pie,
28819
28895
  {
28820
28896
  data,
@@ -28826,8 +28902,8 @@ var DonutChart = ({ className, style, ...props }) => {
28826
28902
  labelLine: false,
28827
28903
  isAnimationActive: false,
28828
28904
  children: [
28829
- data.map((entry, index) => /* @__PURE__ */ jsx58(Cell, { fill: entry.color }, `cell-${index}`)),
28830
- /* @__PURE__ */ jsx58(
28905
+ data.map((entry, index) => /* @__PURE__ */ jsx60(Cell, { fill: entry.color }, `cell-${index}`)),
28906
+ /* @__PURE__ */ jsx60(
28831
28907
  LabelList,
28832
28908
  {
28833
28909
  dataKey: "value",
@@ -28838,14 +28914,14 @@ var DonutChart = ({ className, style, ...props }) => {
28838
28914
  ]
28839
28915
  }
28840
28916
  ),
28841
- /* @__PURE__ */ jsx58(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
28917
+ /* @__PURE__ */ jsx60(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
28842
28918
  ] }) }),
28843
- /* @__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: [
28919
+ /* @__PURE__ */ jsxs36("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: [
28844
28920
  total,
28845
28921
  "k"
28846
28922
  ] })
28847
28923
  ] }),
28848
- /* @__PURE__ */ jsx58("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
28924
+ /* @__PURE__ */ jsx60("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
28849
28925
  w-full md:w-auto`, children: renderLegends() })
28850
28926
  ]
28851
28927
  }
@@ -28854,10 +28930,10 @@ var DonutChart = ({ className, style, ...props }) => {
28854
28930
  var PieChart_default = DonutChart;
28855
28931
 
28856
28932
  // src/components/Blocks/EmailComposer.tsx
28857
- import { jsx as jsx59, jsxs as jsxs36 } from "react/jsx-runtime";
28933
+ import { jsx as jsx61, jsxs as jsxs37 } from "react/jsx-runtime";
28858
28934
  function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
28859
- 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: [
28860
- /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28935
+ return /* @__PURE__ */ jsx61("div", { className, style, children: /* @__PURE__ */ jsxs37("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
28936
+ /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28861
28937
  "input",
28862
28938
  {
28863
28939
  type: "email",
@@ -28866,8 +28942,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28866
28942
  required: true
28867
28943
  }
28868
28944
  ) }),
28869
- /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-2", children: [
28870
- /* @__PURE__ */ jsx59(
28945
+ /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsxs37("div", { className: "flex items-center gap-2", children: [
28946
+ /* @__PURE__ */ jsx61(
28871
28947
  "input",
28872
28948
  {
28873
28949
  type: "email",
@@ -28878,7 +28954,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28878
28954
  required: true
28879
28955
  }
28880
28956
  ),
28881
- !showCc && /* @__PURE__ */ jsx59(
28957
+ !showCc && /* @__PURE__ */ jsx61(
28882
28958
  "button",
28883
28959
  {
28884
28960
  onClick: () => setShowCc?.(true),
@@ -28886,7 +28962,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28886
28962
  children: "Cc"
28887
28963
  }
28888
28964
  ),
28889
- !showBcc && /* @__PURE__ */ jsx59(
28965
+ !showBcc && /* @__PURE__ */ jsx61(
28890
28966
  "button",
28891
28967
  {
28892
28968
  onClick: () => setShowBcc?.(true),
@@ -28895,7 +28971,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28895
28971
  }
28896
28972
  )
28897
28973
  ] }) }),
28898
- showCc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28974
+ showCc && /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28899
28975
  "input",
28900
28976
  {
28901
28977
  type: "text",
@@ -28905,7 +28981,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28905
28981
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28906
28982
  }
28907
28983
  ) }),
28908
- showBcc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28984
+ showBcc && /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28909
28985
  "input",
28910
28986
  {
28911
28987
  type: "text",
@@ -28915,7 +28991,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28915
28991
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28916
28992
  }
28917
28993
  ) }),
28918
- /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28994
+ /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28919
28995
  "input",
28920
28996
  {
28921
28997
  type: "text",
@@ -28925,11 +29001,11 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28925
29001
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28926
29002
  }
28927
29003
  ) }),
28928
- /* @__PURE__ */ jsx59("div", { className: "mb-4", children: /* @__PURE__ */ jsx59(MyEditor, { value: body, onChange: setBody }) }),
28929
- /* @__PURE__ */ jsxs36("div", { className: "flex justify-end gap-2", children: [
28930
- /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
28931
- /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
28932
- /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
29004
+ /* @__PURE__ */ jsx61("div", { className: "mb-4", children: /* @__PURE__ */ jsx61(MyEditor, { value: body, onChange: setBody }) }),
29005
+ /* @__PURE__ */ jsxs37("div", { className: "flex justify-end gap-2", children: [
29006
+ /* @__PURE__ */ jsx61("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
29007
+ /* @__PURE__ */ jsx61("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
29008
+ /* @__PURE__ */ jsx61("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
28933
29009
  ] })
28934
29010
  ] }) });
28935
29011
  }
@@ -29005,6 +29081,8 @@ export {
29005
29081
  Spacer_default as Spacer,
29006
29082
  Stages_default as Stages,
29007
29083
  SwitchToggle_default as SwitchToggle,
29084
+ TabGroupComponent as TabGroup,
29085
+ TabList,
29008
29086
  Table_default as Table,
29009
29087
  Tabs_default as Tabs,
29010
29088
  TextInput_default as Text,