@algorithm-shift/design-system 1.2.58 → 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,33 +27613,38 @@ 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",
27553
27621
  name: props.name,
27554
27622
  value: props.value || "",
27555
- className: cn(className, props.errorMessage ? "border-red-500" : ""),
27623
+ className: cn(
27624
+ "rounded-md",
27625
+ className,
27626
+ props.errorMessage ? "border-red-500" : ""
27627
+ ),
27556
27628
  style: {
27557
27629
  ...style,
27558
27630
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27559
27631
  },
27560
27632
  onChange: (phone) => handleChange(phone),
27561
27633
  inputProps: {
27562
- id: "phone-field"
27634
+ id: "phone-field",
27635
+ style: { width: "100%", border: "none", outline: "none" }
27563
27636
  },
27564
27637
  placeholder,
27565
27638
  disabled: isDisabled || !isEditable
27566
27639
  }
27567
27640
  ),
27568
- 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 })
27569
27642
  ] });
27570
27643
  };
27571
27644
  var PhoneInput_default = PhoneInput;
27572
27645
 
27573
27646
  // src/components/Inputs/SearchInput/SearchInput.tsx
27574
- 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";
27575
27648
  var SearchInput = ({ className, style, ...props }) => {
27576
27649
  const placeholder = props.placeholder ?? "Placeholder text";
27577
27650
  const isEditable = props.isEditable ?? true;
@@ -27581,10 +27654,10 @@ var SearchInput = ({ className, style, ...props }) => {
27581
27654
  const handleChange = (e) => {
27582
27655
  props.onChange?.(e);
27583
27656
  };
27584
- return /* @__PURE__ */ jsxs20(Fragment13, { children: [
27585
- /* @__PURE__ */ jsxs20("div", { className: "flex justify-start items-center relative", children: [
27586
- /* @__PURE__ */ jsx37(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27587
- /* @__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(
27588
27661
  Input,
27589
27662
  {
27590
27663
  type: "text",
@@ -27604,17 +27677,17 @@ var SearchInput = ({ className, style, ...props }) => {
27604
27677
  }
27605
27678
  )
27606
27679
  ] }),
27607
- 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 })
27608
27681
  ] });
27609
27682
  };
27610
27683
  var SearchInput_default = SearchInput;
27611
27684
 
27612
27685
  // src/components/Inputs/FileInput/FileInput.tsx
27613
- import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
27686
+ import { jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
27614
27687
  var FileInput2 = ({ className, style, ...props }) => {
27615
27688
  const placeholder = props.placeholder ?? "Placeholder text";
27616
- return /* @__PURE__ */ jsxs21("div", { className: "d-flex items-center relative align-middle", children: [
27617
- /* @__PURE__ */ jsx38(
27689
+ return /* @__PURE__ */ jsxs22("div", { className: "d-flex items-center relative align-middle", children: [
27690
+ /* @__PURE__ */ jsx40(
27618
27691
  Input,
27619
27692
  {
27620
27693
  type: "file",
@@ -27633,13 +27706,13 @@ var FileInput2 = ({ className, style, ...props }) => {
27633
27706
  }
27634
27707
  }
27635
27708
  ),
27636
- 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 })
27637
27710
  ] });
27638
27711
  };
27639
27712
  var FileInput_default = FileInput2;
27640
27713
 
27641
27714
  // src/components/Inputs/DatePicker/DatePicker.tsx
27642
- 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";
27643
27716
  function DatePicker({ className, style, ...props }) {
27644
27717
  const placeholder = props.placeholder ?? "Placeholder text";
27645
27718
  const minimumDate = props.minimumDate ?? "none";
@@ -27667,10 +27740,10 @@ function DatePicker({ className, style, ...props }) {
27667
27740
  const handleChange = (e) => {
27668
27741
  props.onChange?.(e);
27669
27742
  };
27670
- return /* @__PURE__ */ jsxs22(Fragment14, { children: [
27671
- /* @__PURE__ */ jsxs22("div", { className: "flex justify-start items-center relative", children: [
27672
- /* @__PURE__ */ jsx39(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27673
- /* @__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(
27674
27747
  Input,
27675
27748
  {
27676
27749
  type: "date",
@@ -27696,7 +27769,7 @@ function DatePicker({ className, style, ...props }) {
27696
27769
  }
27697
27770
  )
27698
27771
  ] }),
27699
- 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 })
27700
27773
  ] });
27701
27774
  }
27702
27775
 
@@ -27707,7 +27780,7 @@ import { addDays, format } from "date-fns";
27707
27780
  // src/components/ui/calendar.tsx
27708
27781
  import * as React3 from "react";
27709
27782
  import { DayPicker, getDefaultClassNames } from "react-day-picker";
27710
- import { jsx as jsx40 } from "react/jsx-runtime";
27783
+ import { jsx as jsx42 } from "react/jsx-runtime";
27711
27784
  function Calendar2({
27712
27785
  className,
27713
27786
  classNames,
@@ -27719,7 +27792,7 @@ function Calendar2({
27719
27792
  ...props
27720
27793
  }) {
27721
27794
  const defaultClassNames = getDefaultClassNames();
27722
- return /* @__PURE__ */ jsx40(
27795
+ return /* @__PURE__ */ jsx42(
27723
27796
  DayPicker,
27724
27797
  {
27725
27798
  showOutsideDays,
@@ -27818,7 +27891,7 @@ function Calendar2({
27818
27891
  },
27819
27892
  components: {
27820
27893
  Root: ({ className: className2, rootRef, ...props2 }) => {
27821
- return /* @__PURE__ */ jsx40(
27894
+ return /* @__PURE__ */ jsx42(
27822
27895
  "div",
27823
27896
  {
27824
27897
  "data-slot": "calendar",
@@ -27830,10 +27903,10 @@ function Calendar2({
27830
27903
  },
27831
27904
  Chevron: ({ className: className2, orientation, ...props2 }) => {
27832
27905
  if (orientation === "left") {
27833
- return /* @__PURE__ */ jsx40(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27906
+ return /* @__PURE__ */ jsx42(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27834
27907
  }
27835
27908
  if (orientation === "right") {
27836
- return /* @__PURE__ */ jsx40(
27909
+ return /* @__PURE__ */ jsx42(
27837
27910
  ChevronRight,
27838
27911
  {
27839
27912
  className: cn("size-4", className2),
@@ -27841,11 +27914,11 @@ function Calendar2({
27841
27914
  }
27842
27915
  );
27843
27916
  }
27844
- return /* @__PURE__ */ jsx40(ChevronDown, { className: cn("size-4", className2), ...props2 });
27917
+ return /* @__PURE__ */ jsx42(ChevronDown, { className: cn("size-4", className2), ...props2 });
27845
27918
  },
27846
27919
  DayButton: CalendarDayButton,
27847
27920
  WeekNumber: ({ children, ...props2 }) => {
27848
- 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 }) });
27849
27922
  },
27850
27923
  ...components
27851
27924
  },
@@ -27864,7 +27937,7 @@ function CalendarDayButton({
27864
27937
  React3.useEffect(() => {
27865
27938
  if (modifiers.focused) ref.current?.focus();
27866
27939
  }, [modifiers.focused]);
27867
- return /* @__PURE__ */ jsx40(
27940
+ return /* @__PURE__ */ jsx42(
27868
27941
  Button,
27869
27942
  {
27870
27943
  ref,
@@ -27887,16 +27960,16 @@ function CalendarDayButton({
27887
27960
 
27888
27961
  // src/components/ui/popover.tsx
27889
27962
  import * as PopoverPrimitive from "@radix-ui/react-popover";
27890
- import { jsx as jsx41 } from "react/jsx-runtime";
27963
+ import { jsx as jsx43 } from "react/jsx-runtime";
27891
27964
  function Popover({
27892
27965
  ...props
27893
27966
  }) {
27894
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27967
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27895
27968
  }
27896
27969
  function PopoverTrigger({
27897
27970
  ...props
27898
27971
  }) {
27899
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27972
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27900
27973
  }
27901
27974
  function PopoverContent({
27902
27975
  className,
@@ -27904,7 +27977,7 @@ function PopoverContent({
27904
27977
  sideOffset = 4,
27905
27978
  ...props
27906
27979
  }) {
27907
- return /* @__PURE__ */ jsx41(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
27980
+ return /* @__PURE__ */ jsx43(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx43(
27908
27981
  PopoverPrimitive.Content,
27909
27982
  {
27910
27983
  "data-slot": "popover-content",
@@ -27920,7 +27993,7 @@ function PopoverContent({
27920
27993
  }
27921
27994
 
27922
27995
  // src/components/Inputs/DateRange/DateRange.tsx
27923
- 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";
27924
27997
  var DateRange = ({ className, style, ...props }) => {
27925
27998
  const isDateRange = (val) => !!val && val.from instanceof Date;
27926
27999
  const [date, setDate] = React4.useState(
@@ -27935,9 +28008,9 @@ var DateRange = ({ className, style, ...props }) => {
27935
28008
  props.onChange?.(value);
27936
28009
  }
27937
28010
  };
27938
- return /* @__PURE__ */ jsxs23(Fragment15, { children: [
27939
- /* @__PURE__ */ jsx42("div", { className, style, children: /* @__PURE__ */ jsxs23(Popover, { children: [
27940
- /* @__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(
27941
28014
  Button,
27942
28015
  {
27943
28016
  id: "date",
@@ -27946,15 +28019,15 @@ var DateRange = ({ className, style, ...props }) => {
27946
28019
  "w-full justify-start text-left font-normal text-[11px] border-[#BDBDBD]",
27947
28020
  !date && "text-muted-foreground"
27948
28021
  ),
27949
- children: date?.from ? date.to ? /* @__PURE__ */ jsxs23(Fragment15, { children: [
28022
+ children: date?.from ? date.to ? /* @__PURE__ */ jsxs24(Fragment15, { children: [
27950
28023
  format(date.from, "LLL dd, y"),
27951
28024
  " -",
27952
28025
  " ",
27953
28026
  format(date.to, "LLL dd, y")
27954
- ] }) : 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" })
27955
28028
  }
27956
28029
  ) }),
27957
- /* @__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(
27958
28031
  Calendar2,
27959
28032
  {
27960
28033
  mode: "range",
@@ -27965,13 +28038,13 @@ var DateRange = ({ className, style, ...props }) => {
27965
28038
  }
27966
28039
  ) })
27967
28040
  ] }) }),
27968
- 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 })
27969
28042
  ] });
27970
28043
  };
27971
28044
  var DateRange_default = DateRange;
27972
28045
 
27973
28046
  // src/components/Inputs/TextInputGroup/TextInputGroup.tsx
27974
- 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";
27975
28048
  var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27976
28049
  const placeholder = props.placeholder ?? "Placeholder text";
27977
28050
  const isEditable = props.isEditable ?? true;
@@ -27981,8 +28054,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27981
28054
  const handleChange = (e) => {
27982
28055
  props.onChange?.(e);
27983
28056
  };
27984
- return /* @__PURE__ */ jsxs24(Fragment16, { children: [
27985
- /* @__PURE__ */ jsxs24(
28057
+ return /* @__PURE__ */ jsxs25(Fragment16, { children: [
28058
+ /* @__PURE__ */ jsxs25(
27986
28059
  "div",
27987
28060
  {
27988
28061
  className: cn(
@@ -27992,8 +28065,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
27992
28065
  props.errorMessage ? "border-red-500" : ""
27993
28066
  ),
27994
28067
  children: [
27995
- prepend && /* @__PURE__ */ jsx43("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
27996
- /* @__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(
27997
28070
  Input,
27998
28071
  {
27999
28072
  id: props.name || "prepend-input",
@@ -28015,17 +28088,17 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
28015
28088
  readOnly: isReadonly
28016
28089
  }
28017
28090
  ),
28018
- 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 })
28019
28092
  ]
28020
28093
  }
28021
28094
  ),
28022
- 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 })
28023
28096
  ] });
28024
28097
  };
28025
28098
  var TextInputGroup_default = TextInputGroup;
28026
28099
 
28027
28100
  // src/components/DataDisplay/Table/Table.tsx
28028
- import { useState as useState4, useEffect as useEffect2 } from "react";
28101
+ import { useState as useState4, useEffect as useEffect3 } from "react";
28029
28102
 
28030
28103
  // src/components/ui/data-table.tsx
28031
28104
  import {
@@ -28035,14 +28108,14 @@ import {
28035
28108
  } from "@tanstack/react-table";
28036
28109
 
28037
28110
  // src/components/ui/table.tsx
28038
- import { jsx as jsx44 } from "react/jsx-runtime";
28111
+ import { jsx as jsx46 } from "react/jsx-runtime";
28039
28112
  function Table3({ className, ...props }) {
28040
- return /* @__PURE__ */ jsx44(
28113
+ return /* @__PURE__ */ jsx46(
28041
28114
  "div",
28042
28115
  {
28043
28116
  "data-slot": "table-container",
28044
28117
  className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
28045
- children: /* @__PURE__ */ jsx44(
28118
+ children: /* @__PURE__ */ jsx46(
28046
28119
  "table",
28047
28120
  {
28048
28121
  "data-slot": "table",
@@ -28054,7 +28127,7 @@ function Table3({ className, ...props }) {
28054
28127
  );
28055
28128
  }
28056
28129
  function TableHeader({ className, ...props }) {
28057
- return /* @__PURE__ */ jsx44(
28130
+ return /* @__PURE__ */ jsx46(
28058
28131
  "thead",
28059
28132
  {
28060
28133
  "data-slot": "table-header",
@@ -28067,7 +28140,7 @@ function TableHeader({ className, ...props }) {
28067
28140
  );
28068
28141
  }
28069
28142
  function TableBody({ className, ...props }) {
28070
- return /* @__PURE__ */ jsx44(
28143
+ return /* @__PURE__ */ jsx46(
28071
28144
  "tbody",
28072
28145
  {
28073
28146
  "data-slot": "table-body",
@@ -28080,7 +28153,7 @@ function TableBody({ className, ...props }) {
28080
28153
  );
28081
28154
  }
28082
28155
  function TableRow({ className, ...props }) {
28083
- return /* @__PURE__ */ jsx44(
28156
+ return /* @__PURE__ */ jsx46(
28084
28157
  "tr",
28085
28158
  {
28086
28159
  "data-slot": "table-row",
@@ -28093,7 +28166,7 @@ function TableRow({ className, ...props }) {
28093
28166
  );
28094
28167
  }
28095
28168
  function TableHead({ className, ...props }) {
28096
- return /* @__PURE__ */ jsx44(
28169
+ return /* @__PURE__ */ jsx46(
28097
28170
  "th",
28098
28171
  {
28099
28172
  "data-slot": "table-head",
@@ -28106,7 +28179,7 @@ function TableHead({ className, ...props }) {
28106
28179
  );
28107
28180
  }
28108
28181
  function TableCell({ className, ...props }) {
28109
- return /* @__PURE__ */ jsx44(
28182
+ return /* @__PURE__ */ jsx46(
28110
28183
  "td",
28111
28184
  {
28112
28185
  "data-slot": "table-cell",
@@ -28120,7 +28193,7 @@ function TableCell({ className, ...props }) {
28120
28193
  }
28121
28194
 
28122
28195
  // src/components/ui/data-table.tsx
28123
- 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";
28124
28197
  function DataTable({
28125
28198
  columns,
28126
28199
  rowActions,
@@ -28145,14 +28218,14 @@ function DataTable({
28145
28218
  onCellClick(rowData, columnId);
28146
28219
  }
28147
28220
  };
28148
- return /* @__PURE__ */ jsx45("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs25(Table3, { children: [
28149
- /* @__PURE__ */ jsx45(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx45(TableRow, { children: headerGroup.headers.map((header) => {
28150
- 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(
28151
28224
  header.column.columnDef.header,
28152
28225
  header.getContext()
28153
28226
  ) }, header.id);
28154
28227
  }) }, headerGroup.id)) }),
28155
- /* @__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(
28156
28229
  TableRow,
28157
28230
  {
28158
28231
  "data-state": row.getIsSelected() && "selected",
@@ -28162,7 +28235,7 @@ function DataTable({
28162
28235
  const isCellClickable = cellClickEnabled(row.original, cell.column.id);
28163
28236
  const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
28164
28237
  const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
28165
- return /* @__PURE__ */ jsx45(
28238
+ return /* @__PURE__ */ jsx47(
28166
28239
  TableCell,
28167
28240
  {
28168
28241
  className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
@@ -28177,18 +28250,18 @@ function DataTable({
28177
28250
  cell.id
28178
28251
  );
28179
28252
  }),
28180
- 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)) })
28181
28254
  ]
28182
28255
  },
28183
28256
  row.id
28184
- )) : /* @__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." }) }) }) })
28185
28258
  ] }) });
28186
28259
  }
28187
28260
 
28188
28261
  // src/components/ui/pagination.tsx
28189
- import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
28262
+ import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
28190
28263
  function Pagination({ className, ...props }) {
28191
- return /* @__PURE__ */ jsx46(
28264
+ return /* @__PURE__ */ jsx48(
28192
28265
  "nav",
28193
28266
  {
28194
28267
  role: "navigation",
@@ -28203,7 +28276,7 @@ function PaginationContent({
28203
28276
  className,
28204
28277
  ...props
28205
28278
  }) {
28206
- return /* @__PURE__ */ jsx46(
28279
+ return /* @__PURE__ */ jsx48(
28207
28280
  "ul",
28208
28281
  {
28209
28282
  "data-slot": "pagination-content",
@@ -28213,7 +28286,7 @@ function PaginationContent({
28213
28286
  );
28214
28287
  }
28215
28288
  function PaginationItem({ ...props }) {
28216
- return /* @__PURE__ */ jsx46("li", { "data-slot": "pagination-item", ...props });
28289
+ return /* @__PURE__ */ jsx48("li", { "data-slot": "pagination-item", ...props });
28217
28290
  }
28218
28291
  function PaginationLink({
28219
28292
  className,
@@ -28221,7 +28294,7 @@ function PaginationLink({
28221
28294
  size = "icon",
28222
28295
  ...props
28223
28296
  }) {
28224
- return /* @__PURE__ */ jsx46(
28297
+ return /* @__PURE__ */ jsx48(
28225
28298
  "a",
28226
28299
  {
28227
28300
  "aria-current": isActive ? "page" : void 0,
@@ -28242,7 +28315,7 @@ function PaginationPrevious({
28242
28315
  className,
28243
28316
  ...props
28244
28317
  }) {
28245
- return /* @__PURE__ */ jsxs26(
28318
+ return /* @__PURE__ */ jsxs27(
28246
28319
  PaginationLink,
28247
28320
  {
28248
28321
  "aria-label": "Go to previous page",
@@ -28250,8 +28323,8 @@ function PaginationPrevious({
28250
28323
  className: cn("gap-1 px-2.5 sm:pl-2.5", className),
28251
28324
  ...props,
28252
28325
  children: [
28253
- /* @__PURE__ */ jsx46(ChevronLeft, {}),
28254
- /* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Previous" })
28326
+ /* @__PURE__ */ jsx48(ChevronLeft, {}),
28327
+ /* @__PURE__ */ jsx48("span", { className: "hidden sm:block", children: "Previous" })
28255
28328
  ]
28256
28329
  }
28257
28330
  );
@@ -28260,7 +28333,7 @@ function PaginationNext({
28260
28333
  className,
28261
28334
  ...props
28262
28335
  }) {
28263
- return /* @__PURE__ */ jsxs26(
28336
+ return /* @__PURE__ */ jsxs27(
28264
28337
  PaginationLink,
28265
28338
  {
28266
28339
  "aria-label": "Go to next page",
@@ -28268,8 +28341,8 @@ function PaginationNext({
28268
28341
  className: cn("gap-1 px-2.5 sm:pr-2.5", className),
28269
28342
  ...props,
28270
28343
  children: [
28271
- /* @__PURE__ */ jsx46("span", { className: "hidden sm:block", children: "Next" }),
28272
- /* @__PURE__ */ jsx46(ChevronRight, {})
28344
+ /* @__PURE__ */ jsx48("span", { className: "hidden sm:block", children: "Next" }),
28345
+ /* @__PURE__ */ jsx48(ChevronRight, {})
28273
28346
  ]
28274
28347
  }
28275
28348
  );
@@ -28278,7 +28351,7 @@ function PaginationEllipsis({
28278
28351
  className,
28279
28352
  ...props
28280
28353
  }) {
28281
- return /* @__PURE__ */ jsxs26(
28354
+ return /* @__PURE__ */ jsxs27(
28282
28355
  "span",
28283
28356
  {
28284
28357
  "aria-hidden": true,
@@ -28286,15 +28359,15 @@ function PaginationEllipsis({
28286
28359
  className: cn("flex size-9 items-center justify-center", className),
28287
28360
  ...props,
28288
28361
  children: [
28289
- /* @__PURE__ */ jsx46(Ellipsis, { className: "size-4" }),
28290
- /* @__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" })
28291
28364
  ]
28292
28365
  }
28293
28366
  );
28294
28367
  }
28295
28368
 
28296
28369
  // src/components/DataDisplay/Pagination/Pagination.tsx
28297
- import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
28370
+ import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
28298
28371
  var CustomPagination = ({
28299
28372
  totalPages,
28300
28373
  currentPage,
@@ -28340,10 +28413,10 @@ var CustomPagination = ({
28340
28413
  }
28341
28414
  };
28342
28415
  const pageNumbers = getPageNumbers();
28343
- return /* @__PURE__ */ jsxs27("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
28344
- /* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-2", children: [
28345
- /* @__PURE__ */ jsx47("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28346
- /* @__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(
28347
28420
  Select,
28348
28421
  {
28349
28422
  defaultValue: String(perPage),
@@ -28351,26 +28424,26 @@ var CustomPagination = ({
28351
28424
  onPageChange({ page: 1, itemsPerPage: Number(value) });
28352
28425
  },
28353
28426
  children: [
28354
- /* @__PURE__ */ jsx47(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ jsx47(SelectValue, { placeholder: "Select" }) }),
28355
- /* @__PURE__ */ jsxs27(SelectContent, { children: [
28356
- /* @__PURE__ */ jsx47(SelectItem, { value: "5", children: "5" }),
28357
- /* @__PURE__ */ jsx47(SelectItem, { value: "10", children: "10" }),
28358
- /* @__PURE__ */ jsx47(SelectItem, { value: "20", children: "20" }),
28359
- /* @__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" })
28360
28433
  ] })
28361
28434
  ]
28362
28435
  }
28363
28436
  )
28364
28437
  ] }),
28365
- /* @__PURE__ */ jsx47(Pagination, { className: "justify-end", children: /* @__PURE__ */ jsxs27(PaginationContent, { children: [
28366
- /* @__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(
28367
28440
  PaginationPrevious,
28368
28441
  {
28369
28442
  onClick: () => handlePageChange(currentPage - 1),
28370
28443
  className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
28371
28444
  }
28372
28445
  ) }),
28373
- 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(
28374
28447
  PaginationLink,
28375
28448
  {
28376
28449
  onClick: () => handlePageChange(pageNumber),
@@ -28379,7 +28452,7 @@ var CustomPagination = ({
28379
28452
  children: pageNumber
28380
28453
  }
28381
28454
  ) }, index)),
28382
- /* @__PURE__ */ jsx47(PaginationItem, { children: /* @__PURE__ */ jsx47(
28455
+ /* @__PURE__ */ jsx49(PaginationItem, { children: /* @__PURE__ */ jsx49(
28383
28456
  PaginationNext,
28384
28457
  {
28385
28458
  onClick: () => handlePageChange(currentPage + 1),
@@ -28392,7 +28465,7 @@ var CustomPagination = ({
28392
28465
  var Pagination_default = CustomPagination;
28393
28466
 
28394
28467
  // src/components/DataDisplay/Table/Table.tsx
28395
- import { jsx as jsx48, jsxs as jsxs28 } from "react/jsx-runtime";
28468
+ import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
28396
28469
  var Table4 = ({
28397
28470
  columns,
28398
28471
  data,
@@ -28414,7 +28487,7 @@ var Table4 = ({
28414
28487
  const isControlled = typeof page === "number";
28415
28488
  const [internalPage, setInternalPage] = useState4(1);
28416
28489
  const currentPage = isControlled ? page : internalPage;
28417
- useEffect2(() => {
28490
+ useEffect3(() => {
28418
28491
  if (isControlled) return;
28419
28492
  if (currentPage > 1 && !pagination) setInternalPage(1);
28420
28493
  }, [pagination, isControlled]);
@@ -28438,8 +28511,8 @@ var Table4 = ({
28438
28511
  if (!selectedColumn) return false;
28439
28512
  return selectedColumn.isClickable ?? false;
28440
28513
  };
28441
- return /* @__PURE__ */ jsxs28("div", { className: `${className || ""} space-y-3`, style, children: [
28442
- /* @__PURE__ */ jsx48(
28514
+ return /* @__PURE__ */ jsxs29("div", { className: `${className || ""} space-y-3`, style, children: [
28515
+ /* @__PURE__ */ jsx50(
28443
28516
  DataTable,
28444
28517
  {
28445
28518
  ...props,
@@ -28450,7 +28523,7 @@ var Table4 = ({
28450
28523
  cellClickEnabled: isCellClickEnabled
28451
28524
  }
28452
28525
  ),
28453
- enablePagination && /* @__PURE__ */ jsx48(
28526
+ enablePagination && /* @__PURE__ */ jsx50(
28454
28527
  Pagination_default,
28455
28528
  {
28456
28529
  perPage: itemsPerPage,
@@ -28465,7 +28538,7 @@ var Table_default = Table4;
28465
28538
 
28466
28539
  // src/components/Navigation/Tabs/Tabs.tsx
28467
28540
  import Link5 from "next/link";
28468
- import { jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
28541
+ import { jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
28469
28542
  var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28470
28543
  const rawTabs = Array.isArray(tabs) ? tabs : [];
28471
28544
  const baseClasses = "text-[12px] text-foreground p-2 text-center rounded-md transition-colors";
@@ -28478,23 +28551,23 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28478
28551
  const renderDesktopTab = (tab, index) => {
28479
28552
  const finalClasses = [baseClasses, isActive(tab.url) ? activeClasses : hoverClasses, tab.className || ""].join(" ");
28480
28553
  if (Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown) {
28481
- return /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
28482
- /* @__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: [
28483
28556
  tab.header,
28484
- /* @__PURE__ */ jsx49(ChevronDown, { className: "h-4 w-4 opacity-80" })
28557
+ /* @__PURE__ */ jsx51(ChevronDown, { className: "h-4 w-4 opacity-80" })
28485
28558
  ] }),
28486
- /* @__PURE__ */ jsx49(
28559
+ /* @__PURE__ */ jsx51(
28487
28560
  DropdownMenuContent,
28488
28561
  {
28489
28562
  align: "start",
28490
28563
  sideOffset: 6,
28491
28564
  className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
28492
- children: tab.children.map((item) => /* @__PURE__ */ jsx49(
28565
+ children: tab.children.map((item) => /* @__PURE__ */ jsx51(
28493
28566
  DropdownMenuItem,
28494
28567
  {
28495
28568
  asChild: true,
28496
28569
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
28497
- children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
28570
+ children: /* @__PURE__ */ jsx51(Link5, { href: item.url || "#", children: item.header })
28498
28571
  },
28499
28572
  item.id
28500
28573
  ))
@@ -28502,14 +28575,14 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28502
28575
  )
28503
28576
  ] }, index);
28504
28577
  }
28505
- 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);
28506
28579
  };
28507
- const renderMobileMenu = () => /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
28508
- /* @__PURE__ */ jsxs29(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
28509
- /* @__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" }),
28510
28583
  "Menu"
28511
28584
  ] }),
28512
- /* @__PURE__ */ jsx49(
28585
+ /* @__PURE__ */ jsx51(
28513
28586
  DropdownMenuContent,
28514
28587
  {
28515
28588
  align: "start",
@@ -28518,25 +28591,25 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28518
28591
  children: rawTabs.map((tab, i) => {
28519
28592
  const hasChildren = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
28520
28593
  if (hasChildren) {
28521
- return /* @__PURE__ */ jsxs29(DropdownMenuSub, { children: [
28522
- /* @__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 }),
28523
- /* @__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(
28524
28597
  DropdownMenuItem,
28525
28598
  {
28526
28599
  asChild: true,
28527
28600
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100",
28528
- children: /* @__PURE__ */ jsx49(Link5, { href: item.url || "#", children: item.header })
28601
+ children: /* @__PURE__ */ jsx51(Link5, { href: item.url || "#", children: item.header })
28529
28602
  },
28530
28603
  item.id
28531
28604
  )) })
28532
28605
  ] }, i);
28533
28606
  }
28534
- return /* @__PURE__ */ jsx49(
28607
+ return /* @__PURE__ */ jsx51(
28535
28608
  DropdownMenuItem,
28536
28609
  {
28537
28610
  asChild: true,
28538
28611
  className: "cursor-pointer rounded-sm px-3 py-2 text-[13px] text-gray-800 hover:bg-gray-100",
28539
- children: /* @__PURE__ */ jsx49(Link5, { href: tab.url || "#", children: tab.header })
28612
+ children: /* @__PURE__ */ jsx51(Link5, { href: tab.url || "#", children: tab.header })
28540
28613
  },
28541
28614
  i
28542
28615
  );
@@ -28546,56 +28619,56 @@ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28546
28619
  ] });
28547
28620
  const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
28548
28621
  const forceDesktop = canvasMode === "desktop";
28549
- return /* @__PURE__ */ jsxs29("div", { className, style, children: [
28550
- 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) }) }),
28551
- forceMobile && /* @__PURE__ */ jsx49("div", { children: renderMobileMenu() }),
28552
- /* @__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() })
28553
28626
  ] });
28554
28627
  };
28555
28628
  var Tabs_default = Tabs;
28556
28629
 
28557
28630
  // src/components/Navigation/Stages/Stages.tsx
28558
28631
  import React5 from "react";
28559
- import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
28632
+ import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
28560
28633
  var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
28561
- 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: [
28562
- /* @__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" }) }) }) }),
28563
- /* @__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: [
28564
- /* @__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(
28565
28638
  "button",
28566
28639
  {
28567
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"}`,
28568
28641
  children: stage.header
28569
28642
  }
28570
28643
  ),
28571
- 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" })
28572
28645
  ] }, stage.id)) }),
28573
- 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 }) })
28574
28647
  ] }) });
28575
28648
  };
28576
28649
  var Stages_default = StagesComponent;
28577
28650
 
28578
28651
  // src/components/Navigation/Spacer/Spacer.tsx
28579
- import { jsx as jsx51 } from "react/jsx-runtime";
28652
+ import { jsx as jsx53 } from "react/jsx-runtime";
28580
28653
  var Spacer = ({ className, style }) => {
28581
- return /* @__PURE__ */ jsx51("div", { className: `${className}`, style });
28654
+ return /* @__PURE__ */ jsx53("div", { className: `${className}`, style });
28582
28655
  };
28583
28656
  var Spacer_default = Spacer;
28584
28657
 
28585
28658
  // src/components/Navigation/Profile/Profile.tsx
28586
- import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
28659
+ import { jsx as jsx54, jsxs as jsxs32 } from "react/jsx-runtime";
28587
28660
 
28588
28661
  // src/components/Navigation/Notification/Notification.tsx
28589
- import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
28662
+ import { jsx as jsx55, jsxs as jsxs33 } from "react/jsx-runtime";
28590
28663
 
28591
28664
  // src/components/Navigation/Logo/Logo.tsx
28592
- import { jsx as jsx54 } from "react/jsx-runtime";
28665
+ import { jsx as jsx56 } from "react/jsx-runtime";
28593
28666
 
28594
28667
  // src/components/ui/avatar.tsx
28595
28668
  import * as React6 from "react";
28596
28669
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
28597
- import { jsx as jsx55 } from "react/jsx-runtime";
28598
- 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(
28599
28672
  AvatarPrimitive.Root,
28600
28673
  {
28601
28674
  ref,
@@ -28607,7 +28680,7 @@ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
28607
28680
  }
28608
28681
  ));
28609
28682
  Avatar.displayName = AvatarPrimitive.Root.displayName;
28610
- var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28683
+ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
28611
28684
  AvatarPrimitive.Image,
28612
28685
  {
28613
28686
  ref,
@@ -28616,7 +28689,7 @@ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
28616
28689
  }
28617
28690
  ));
28618
28691
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
28619
- var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx55(
28692
+ var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx57(
28620
28693
  AvatarPrimitive.Fallback,
28621
28694
  {
28622
28695
  ref,
@@ -28632,7 +28705,8 @@ AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
28632
28705
  // src/components/Navigation/Navbar/Navbar.tsx
28633
28706
  import Link6 from "next/link";
28634
28707
  import Image3 from "next/image";
28635
- 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";
28636
28710
  function Navbar({
28637
28711
  style,
28638
28712
  badgeType,
@@ -28644,12 +28718,13 @@ function Navbar({
28644
28718
  altText = "Logo",
28645
28719
  canvasMode = "desktop",
28646
28720
  list = [],
28721
+ profileMenu = [],
28647
28722
  userName = "Guest User"
28648
28723
  }) {
28649
28724
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
28650
- return /* @__PURE__ */ jsx56("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs33("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
28651
- /* @__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" }) }),
28652
- !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(
28653
28728
  Link6,
28654
28729
  {
28655
28730
  href: item.url || "#",
@@ -28658,54 +28733,60 @@ function Navbar({
28658
28733
  },
28659
28734
  item.id
28660
28735
  )) }),
28661
- /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-3", children: [
28662
- !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: [
28663
- /* @__PURE__ */ jsx56(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28664
- /* @__PURE__ */ jsx56(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28665
- ] }) }) : /* @__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(
28666
28741
  Button,
28667
28742
  {
28668
28743
  variant: "ghost",
28669
28744
  size: "icon",
28670
28745
  className: "border border-gray-400",
28671
- 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" })
28672
28747
  }
28673
28748
  ),
28674
- /* @__PURE__ */ jsxs33("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
28675
- /* @__PURE__ */ jsx56(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx56(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28676
- 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" })
28677
28752
  ] }),
28678
- /* @__PURE__ */ jsxs33(DropdownMenu, { children: [
28679
- /* @__PURE__ */ jsx56(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center space-x-2", children: [
28680
- !isMobileView && showName && /* @__PURE__ */ jsx56("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28681
- !isMobileView ? /* @__PURE__ */ jsxs33(Fragment18, { children: [
28682
- /* @__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(
28683
28758
  AvatarImage,
28684
28759
  {
28685
28760
  src: "/images/appbuilder/toolset/profile.svg",
28686
28761
  alt: "Profile"
28687
28762
  }
28688
- ) : /* @__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) }) }),
28689
- /* @__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(
28690
28765
  Button,
28691
28766
  {
28692
28767
  variant: "ghost",
28693
28768
  size: "icon",
28694
28769
  className: "text-gray-900 md:hidden",
28695
- children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
28770
+ children: /* @__PURE__ */ jsx58(Menu, { className: "h-6 w-6" })
28696
28771
  }
28697
28772
  )
28698
- ] }) : /* @__PURE__ */ jsx56(
28773
+ ] }) : /* @__PURE__ */ jsx58(
28699
28774
  Button,
28700
28775
  {
28701
28776
  variant: "ghost",
28702
28777
  size: "icon",
28703
28778
  className: "text-gray-900",
28704
- children: /* @__PURE__ */ jsx56(Menu, { className: "h-6 w-6" })
28779
+ children: /* @__PURE__ */ jsx58(Menu, { className: "h-6 w-6" })
28705
28780
  }
28706
28781
  )
28707
28782
  ] }) }),
28708
- /* @__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
+ ] })
28709
28790
  ] })
28710
28791
  ] })
28711
28792
  ] }) });
@@ -28713,28 +28794,28 @@ function Navbar({
28713
28794
 
28714
28795
  // src/components/Chart/BarChart.tsx
28715
28796
  import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
28716
- import { jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
28797
+ import { jsx as jsx59, jsxs as jsxs35 } from "react/jsx-runtime";
28717
28798
  var ChartComponent = ({ className, style, ...props }) => {
28718
28799
  const data = Array.isArray(props?.data) ? props.data : [];
28719
28800
  const chartType = props.chartType || "bar";
28720
28801
  const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
28721
- 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: [
28722
- /* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
28723
- /* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
28724
- /* @__PURE__ */ jsx57(YAxis, {}),
28725
- /* @__PURE__ */ jsx57(Tooltip, {}),
28726
- /* @__PURE__ */ jsx57(Legend, { verticalAlign: legendsPosition, align: "center" }),
28727
- /* @__PURE__ */ jsx57(Bar, { dataKey: "value", fill: "#00695C" })
28728
- ] }) : /* @__PURE__ */ jsxs34(AreaChart, { data, children: [
28729
- /* @__PURE__ */ jsx57("defs", { children: /* @__PURE__ */ jsxs34("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28730
- /* @__PURE__ */ jsx57("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28731
- /* @__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 })
28732
28813
  ] }) }),
28733
- /* @__PURE__ */ jsx57(CartesianGrid, { strokeDasharray: "3 3" }),
28734
- /* @__PURE__ */ jsx57(XAxis, { dataKey: "name" }),
28735
- /* @__PURE__ */ jsx57(YAxis, {}),
28736
- /* @__PURE__ */ jsx57(Tooltip, {}),
28737
- /* @__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(
28738
28819
  Area,
28739
28820
  {
28740
28821
  type: "monotone",
@@ -28750,7 +28831,7 @@ var BarChart_default = ChartComponent;
28750
28831
 
28751
28832
  // src/components/Chart/PieChart.tsx
28752
28833
  import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
28753
- 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";
28754
28835
  var DonutChart = ({ className, style, ...props }) => {
28755
28836
  const data = Array.isArray(props?.data) ? props.data : [];
28756
28837
  const total = data.reduce((sum, d) => sum + d.value, 0);
@@ -28761,7 +28842,7 @@ var DonutChart = ({ className, style, ...props }) => {
28761
28842
  const renderLabel = ({ value, x, y }) => {
28762
28843
  if (value == null) return null;
28763
28844
  const percentage = (Number(value) / total * 100).toFixed(0);
28764
- return /* @__PURE__ */ jsxs35(
28845
+ return /* @__PURE__ */ jsxs36(
28765
28846
  "text",
28766
28847
  {
28767
28848
  x,
@@ -28783,33 +28864,33 @@ var DonutChart = ({ className, style, ...props }) => {
28783
28864
  const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
28784
28865
  const renderLegends = () => {
28785
28866
  if (!showLegends) return null;
28786
- return /* @__PURE__ */ jsx58(Fragment19, { children: data.map((d) => /* @__PURE__ */ jsxs35(
28867
+ return /* @__PURE__ */ jsx60(Fragment19, { children: data.map((d) => /* @__PURE__ */ jsxs36(
28787
28868
  "div",
28788
28869
  {
28789
28870
  className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
28790
28871
  children: [
28791
- /* @__PURE__ */ jsx58(
28872
+ /* @__PURE__ */ jsx60(
28792
28873
  "span",
28793
28874
  {
28794
28875
  className: "inline-block w-[16px] h-[16px] rounded",
28795
28876
  style: { backgroundColor: d.color }
28796
28877
  }
28797
28878
  ),
28798
- /* @__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 })
28799
28880
  ]
28800
28881
  },
28801
28882
  d.name
28802
28883
  )) });
28803
28884
  };
28804
- return /* @__PURE__ */ jsxs35(
28885
+ return /* @__PURE__ */ jsxs36(
28805
28886
  "div",
28806
28887
  {
28807
28888
  className: `relative flex items-center ${wrapperClass} ${className}`,
28808
28889
  style,
28809
28890
  children: [
28810
- /* @__PURE__ */ jsxs35("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
28811
- data.length > 0 && /* @__PURE__ */ jsx58(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs35(PieChart, { children: [
28812
- /* @__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(
28813
28894
  Pie,
28814
28895
  {
28815
28896
  data,
@@ -28821,8 +28902,8 @@ var DonutChart = ({ className, style, ...props }) => {
28821
28902
  labelLine: false,
28822
28903
  isAnimationActive: false,
28823
28904
  children: [
28824
- data.map((entry, index) => /* @__PURE__ */ jsx58(Cell, { fill: entry.color }, `cell-${index}`)),
28825
- /* @__PURE__ */ jsx58(
28905
+ data.map((entry, index) => /* @__PURE__ */ jsx60(Cell, { fill: entry.color }, `cell-${index}`)),
28906
+ /* @__PURE__ */ jsx60(
28826
28907
  LabelList,
28827
28908
  {
28828
28909
  dataKey: "value",
@@ -28833,14 +28914,14 @@ var DonutChart = ({ className, style, ...props }) => {
28833
28914
  ]
28834
28915
  }
28835
28916
  ),
28836
- /* @__PURE__ */ jsx58(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
28917
+ /* @__PURE__ */ jsx60(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
28837
28918
  ] }) }),
28838
- /* @__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: [
28839
28920
  total,
28840
28921
  "k"
28841
28922
  ] })
28842
28923
  ] }),
28843
- /* @__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"}
28844
28925
  w-full md:w-auto`, children: renderLegends() })
28845
28926
  ]
28846
28927
  }
@@ -28849,10 +28930,10 @@ var DonutChart = ({ className, style, ...props }) => {
28849
28930
  var PieChart_default = DonutChart;
28850
28931
 
28851
28932
  // src/components/Blocks/EmailComposer.tsx
28852
- import { jsx as jsx59, jsxs as jsxs36 } from "react/jsx-runtime";
28933
+ import { jsx as jsx61, jsxs as jsxs37 } from "react/jsx-runtime";
28853
28934
  function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
28854
- 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: [
28855
- /* @__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(
28856
28937
  "input",
28857
28938
  {
28858
28939
  type: "email",
@@ -28861,8 +28942,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28861
28942
  required: true
28862
28943
  }
28863
28944
  ) }),
28864
- /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-2", children: [
28865
- /* @__PURE__ */ jsx59(
28945
+ /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsxs37("div", { className: "flex items-center gap-2", children: [
28946
+ /* @__PURE__ */ jsx61(
28866
28947
  "input",
28867
28948
  {
28868
28949
  type: "email",
@@ -28873,7 +28954,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28873
28954
  required: true
28874
28955
  }
28875
28956
  ),
28876
- !showCc && /* @__PURE__ */ jsx59(
28957
+ !showCc && /* @__PURE__ */ jsx61(
28877
28958
  "button",
28878
28959
  {
28879
28960
  onClick: () => setShowCc?.(true),
@@ -28881,7 +28962,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28881
28962
  children: "Cc"
28882
28963
  }
28883
28964
  ),
28884
- !showBcc && /* @__PURE__ */ jsx59(
28965
+ !showBcc && /* @__PURE__ */ jsx61(
28885
28966
  "button",
28886
28967
  {
28887
28968
  onClick: () => setShowBcc?.(true),
@@ -28890,7 +28971,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28890
28971
  }
28891
28972
  )
28892
28973
  ] }) }),
28893
- showCc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28974
+ showCc && /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28894
28975
  "input",
28895
28976
  {
28896
28977
  type: "text",
@@ -28900,7 +28981,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28900
28981
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28901
28982
  }
28902
28983
  ) }),
28903
- showBcc && /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28984
+ showBcc && /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28904
28985
  "input",
28905
28986
  {
28906
28987
  type: "text",
@@ -28910,7 +28991,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28910
28991
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28911
28992
  }
28912
28993
  ) }),
28913
- /* @__PURE__ */ jsx59("div", { className: "mb-3", children: /* @__PURE__ */ jsx59(
28994
+ /* @__PURE__ */ jsx61("div", { className: "mb-3", children: /* @__PURE__ */ jsx61(
28914
28995
  "input",
28915
28996
  {
28916
28997
  type: "text",
@@ -28920,11 +29001,11 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28920
29001
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28921
29002
  }
28922
29003
  ) }),
28923
- /* @__PURE__ */ jsx59("div", { className: "mb-4", children: /* @__PURE__ */ jsx59(MyEditor, { value: body, onChange: setBody }) }),
28924
- /* @__PURE__ */ jsxs36("div", { className: "flex justify-end gap-2", children: [
28925
- /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
28926
- /* @__PURE__ */ jsx59("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
28927
- /* @__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" })
28928
29009
  ] })
28929
29010
  ] }) });
28930
29011
  }
@@ -29000,6 +29081,8 @@ export {
29000
29081
  Spacer_default as Spacer,
29001
29082
  Stages_default as Stages,
29002
29083
  SwitchToggle_default as SwitchToggle,
29084
+ TabGroupComponent as TabGroup,
29085
+ TabList,
29003
29086
  Table_default as Table,
29004
29087
  Tabs_default as Tabs,
29005
29088
  TextInput_default as Text,