@algorithm-shift/design-system 1.2.31 → 1.2.32

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
@@ -225,35 +225,17 @@ function Input({ className, type, ...props }) {
225
225
  import { Fragment, jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
226
226
  var TextInput = ({ className, style, ...props }) => {
227
227
  const placeholder = props.placeholder || "Placeholder text";
228
- const regexPattern = props.regexPattern ?? "";
229
- const errorMessage = props.errorMessage ?? "Required";
230
- const noOfCharacters = props.noOfCharacters ?? 100;
231
- const isRequired = props.isRequired ?? false;
232
228
  const isEditable = props.isEditable ?? true;
233
229
  const isDisabled = props.isDisabled ?? false;
234
230
  const isReadonly = props.isReadonly ?? false;
235
231
  const isAutocomplete = props.isAutocomplete ?? false;
236
- const [value, setValue] = React2.useState("");
237
232
  const [error, setError] = React2.useState(null);
238
233
  React2.useEffect(() => {
239
234
  if (!props.validateOnMount) return;
240
235
  setError(props.errorMessage || null);
241
236
  }, [props.errorMessage, props.validateOnMount]);
242
237
  const handleChange = (e) => {
243
- if (props.hasFormContainer) {
244
- props.onChange?.(e);
245
- return;
246
- }
247
- const val = e.target.value;
248
- if (val.length > noOfCharacters) return;
249
- setValue(val);
250
- if (isRequired && val.trim() === "") {
251
- setError(errorMessage);
252
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
253
- setError(errorMessage);
254
- } else {
255
- setError(null);
256
- }
238
+ props.onChange?.(e);
257
239
  };
258
240
  return /* @__PURE__ */ jsxs2(Fragment, { children: [
259
241
  /* @__PURE__ */ jsx10(
@@ -266,15 +248,12 @@ var TextInput = ({ className, style, ...props }) => {
266
248
  ...style,
267
249
  borderColor: error ? "#f87171" : style?.borderColor
268
250
  },
269
- value: props.value || value,
251
+ value: props.value,
270
252
  autoComplete: isAutocomplete ? "on" : "off",
271
253
  placeholder,
272
254
  onChange: handleChange,
273
255
  disabled: isDisabled || !isEditable,
274
- readOnly: isReadonly,
275
- required: isRequired,
276
- maxLength: noOfCharacters,
277
- pattern: regexPattern || void 0
256
+ readOnly: isReadonly
278
257
  }
279
258
  ),
280
259
  error && /* @__PURE__ */ jsx10("p", { className: "mt-1 text-xs text-red-500", children: error })
@@ -487,35 +466,17 @@ import { useEffect as useEffect2 } from "react";
487
466
  import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
488
467
  var NumberInput = ({ className, style, ...props }) => {
489
468
  const placeholder = props.placeholder ?? "Placeholder text";
490
- const regexPattern = props.regexPattern ?? "";
491
- const errorMessage = props.errorMessage ?? "Required";
492
- const noOfCharacters = props.noOfCharacters ?? 100;
493
- const isRequired = props.isRequired ?? false;
494
469
  const isEditable = props.isEditable ?? true;
495
470
  const isDisabled = props.isDisabled ?? false;
496
471
  const isReadonly = props.isReadonly ?? false;
497
472
  const isAutocomplete = props.isAutocomplete ?? false;
498
- const [value, setValue] = React3.useState("");
499
473
  const [error, setError] = React3.useState(null);
500
474
  useEffect2(() => {
501
475
  if (!props.validateOnMount) return;
502
476
  setError(props.errorMessage || null);
503
477
  }, [props.errorMessage, props.validateOnMount]);
504
478
  const handleChange = (e) => {
505
- if (props.hasFormContainer) {
506
- props.onChange?.(e);
507
- return;
508
- }
509
- const val = e.target.value;
510
- if (val.length > noOfCharacters) return;
511
- setValue(val);
512
- if (isRequired && val.trim() === "") {
513
- setError(errorMessage);
514
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
515
- setError(errorMessage);
516
- } else {
517
- setError(null);
518
- }
479
+ props.onChange?.(e);
519
480
  };
520
481
  return /* @__PURE__ */ jsxs3(Fragment2, { children: [
521
482
  /* @__PURE__ */ jsxs3("div", { className: "flex justify-start items-center relative", children: [
@@ -524,9 +485,9 @@ var NumberInput = ({ className, style, ...props }) => {
524
485
  Input,
525
486
  {
526
487
  type: "number",
527
- id: "number-field",
488
+ id: props.name || "number-field",
528
489
  name: props.name,
529
- value: props.value || value,
490
+ value: props.value,
530
491
  className: cn(className, error ? "border-red-500" : ""),
531
492
  style: {
532
493
  ...style,
@@ -536,10 +497,7 @@ var NumberInput = ({ className, style, ...props }) => {
536
497
  placeholder,
537
498
  onChange: handleChange,
538
499
  disabled: isDisabled || !isEditable,
539
- readOnly: isReadonly,
540
- required: isRequired,
541
- maxLength: noOfCharacters,
542
- pattern: regexPattern || void 0
500
+ readOnly: isReadonly
543
501
  }
544
502
  )
545
503
  ] }),
@@ -553,35 +511,17 @@ import * as React4 from "react";
553
511
  import { Fragment as Fragment3, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
554
512
  var EmailInput = ({ className, style, ...props }) => {
555
513
  const placeholder = props.placeholder ?? "Placeholder text";
556
- const regexPattern = props.regexPattern ?? "";
557
- const errorMessage = props.errorMessage ?? "Required";
558
- const noOfCharacters = props.noOfCharacters ?? 100;
559
- const isRequired = props.isRequired ?? false;
560
514
  const isEditable = props.isEditable ?? true;
561
515
  const isDisabled = props.isDisabled ?? false;
562
516
  const isReadonly = props.isReadonly ?? false;
563
517
  const isAutocomplete = props.isAutocomplete ?? false;
564
- const [value, setValue] = React4.useState("");
565
518
  const [error, setError] = React4.useState(null);
566
519
  React4.useEffect(() => {
567
520
  if (!props.validateOnMount) return;
568
521
  setError(props.errorMessage || null);
569
522
  }, [props.errorMessage, props.validateOnMount]);
570
523
  const handleChange = (e) => {
571
- if (props.hasFormContainer) {
572
- props.onChange?.(e);
573
- return;
574
- }
575
- const val = e.target.value;
576
- if (val.length > noOfCharacters) return;
577
- setValue(val);
578
- if (isRequired && val.trim() === "") {
579
- setError(errorMessage);
580
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
581
- setError(errorMessage);
582
- } else {
583
- setError(null);
584
- }
524
+ props.onChange?.(e);
585
525
  };
586
526
  return /* @__PURE__ */ jsxs4(Fragment3, { children: [
587
527
  /* @__PURE__ */ jsxs4("div", { className: "flex justify-start items-center relative", children: [
@@ -591,7 +531,7 @@ var EmailInput = ({ className, style, ...props }) => {
591
531
  {
592
532
  type: "email",
593
533
  name: props.name,
594
- value: props.value || value,
534
+ value: props.value,
595
535
  className: cn(className, error ? "border-red-500" : ""),
596
536
  style: {
597
537
  ...style,
@@ -601,10 +541,7 @@ var EmailInput = ({ className, style, ...props }) => {
601
541
  placeholder,
602
542
  onChange: handleChange,
603
543
  disabled: isDisabled || !isEditable,
604
- readOnly: isReadonly,
605
- required: isRequired,
606
- maxLength: noOfCharacters,
607
- pattern: regexPattern || void 0
544
+ readOnly: isReadonly
608
545
  }
609
546
  )
610
547
  ] }),
@@ -618,35 +555,17 @@ import * as React5 from "react";
618
555
  import { Fragment as Fragment4, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
619
556
  var PasswordInput = ({ className, style, ...props }) => {
620
557
  const placeholder = props.placeholder ?? "Placeholder text";
621
- const regexPattern = props.regexPattern ?? "";
622
- const errorMessage = props.errorMessage ?? "Required";
623
- const noOfCharacters = props.noOfCharacters ?? 100;
624
- const isRequired = props.isRequired ?? false;
625
558
  const isEditable = props.isEditable ?? true;
626
559
  const isDisabled = props.isDisabled ?? false;
627
560
  const isReadonly = props.isReadonly ?? false;
628
561
  const isAutocomplete = props.isAutocomplete ?? false;
629
- const [value, setValue] = React5.useState("");
630
562
  const [error, setError] = React5.useState(null);
631
563
  React5.useEffect(() => {
632
564
  if (!props.validateOnMount) return;
633
565
  setError(props.errorMessage || null);
634
566
  }, [props.errorMessage, props.validateOnMount]);
635
567
  const handleChange = (e) => {
636
- if (props.hasFormContainer) {
637
- props.onChange?.(e);
638
- return;
639
- }
640
- const val = e.target.value;
641
- if (val.length > noOfCharacters) return;
642
- setValue(val);
643
- if (isRequired && val.trim() === "") {
644
- setError(errorMessage);
645
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
646
- setError(errorMessage);
647
- } else {
648
- setError(null);
649
- }
568
+ props.onChange?.(e);
650
569
  };
651
570
  return /* @__PURE__ */ jsxs5(Fragment4, { children: [
652
571
  /* @__PURE__ */ jsxs5("div", { className: "flex justify-start items-center relative", children: [
@@ -655,9 +574,9 @@ var PasswordInput = ({ className, style, ...props }) => {
655
574
  Input,
656
575
  {
657
576
  type: "password",
658
- id: "password-field",
577
+ id: props.name || "password-field",
659
578
  name: props.name,
660
- value: props.value || value,
579
+ value: props.value,
661
580
  className: cn(className, error ? "border-red-500" : ""),
662
581
  style: {
663
582
  ...style,
@@ -667,10 +586,7 @@ var PasswordInput = ({ className, style, ...props }) => {
667
586
  placeholder,
668
587
  onChange: handleChange,
669
588
  disabled: isDisabled || !isEditable,
670
- readOnly: isReadonly,
671
- required: isRequired,
672
- maxLength: noOfCharacters,
673
- pattern: regexPattern || void 0
589
+ readOnly: isReadonly
674
590
  }
675
591
  )
676
592
  ] }),
@@ -702,35 +618,18 @@ function Textarea({ className, ...props }) {
702
618
  import { Fragment as Fragment5, jsx as jsx15, jsxs as jsxs6 } from "react/jsx-runtime";
703
619
  var Textarea2 = ({ className, style, ...props }) => {
704
620
  const placeholder = props.placeholder ?? "Placeholder text";
705
- const regexPattern = props.regexPattern ?? "";
706
- const errorMessage = props.errorMessage ?? "Required";
707
- const noOfCharacters = props.noOfCharacters ?? 100;
708
621
  const isRequired = props.isRequired ?? false;
709
622
  const isEditable = props.isEditable ?? true;
710
623
  const isDisabled = props.isDisabled ?? false;
711
624
  const isReadonly = props.isReadonly ?? false;
712
625
  const isAutocomplete = props.isAutocomplete ?? false;
713
- const [value, setValue] = React6.useState("");
714
626
  const [error, setError] = React6.useState(null);
715
627
  React6.useEffect(() => {
716
628
  if (!props.validateOnMount) return;
717
629
  setError(props.errorMessage || null);
718
630
  }, [props.errorMessage, props.validateOnMount]);
719
631
  const handleChange = (e) => {
720
- if (props.hasFormContainer) {
721
- props.onChange?.(e);
722
- return;
723
- }
724
- const val = e.target.value;
725
- if (val.length > noOfCharacters) return;
726
- setValue(val);
727
- if (isRequired && val.trim() === "") {
728
- setError(errorMessage);
729
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
730
- setError(errorMessage);
731
- } else {
732
- setError(null);
733
- }
632
+ props.onChange?.(e);
734
633
  };
735
634
  return /* @__PURE__ */ jsxs6(Fragment5, { children: [
736
635
  /* @__PURE__ */ jsx15(
@@ -738,7 +637,7 @@ var Textarea2 = ({ className, style, ...props }) => {
738
637
  {
739
638
  id: "textarea-field",
740
639
  name: props.name,
741
- value: props.value || value,
640
+ value: props.value,
742
641
  className: cn(className, error ? "border-red-500" : ""),
743
642
  style: {
744
643
  ...style,
@@ -749,8 +648,7 @@ var Textarea2 = ({ className, style, ...props }) => {
749
648
  onChange: handleChange,
750
649
  disabled: isDisabled || !isEditable,
751
650
  readOnly: isReadonly,
752
- required: isRequired,
753
- maxLength: noOfCharacters
651
+ required: isRequired
754
652
  }
755
653
  ),
756
654
  error && /* @__PURE__ */ jsx15("p", { className: "mt-1 text-xs text-red-500", children: error })
@@ -763,35 +661,17 @@ import * as React7 from "react";
763
661
  import { Fragment as Fragment6, jsx as jsx16, jsxs as jsxs7 } from "react/jsx-runtime";
764
662
  var UrlInput = ({ className, style, ...props }) => {
765
663
  const placeholder = props.placeholder ?? "Placeholder text";
766
- const regexPattern = props.regexPattern ?? "";
767
- const errorMessage = props.errorMessage ?? "Required";
768
- const noOfCharacters = props.noOfCharacters ?? 100;
769
- const isRequired = props.isRequired ?? false;
770
664
  const isEditable = props.isEditable ?? true;
771
665
  const isDisabled = props.isDisabled ?? false;
772
666
  const isReadonly = props.isReadonly ?? false;
773
667
  const isAutocomplete = props.isAutocomplete ?? false;
774
- const [value, setValue] = React7.useState("");
775
668
  const [error, setError] = React7.useState(null);
776
669
  React7.useEffect(() => {
777
670
  if (!props.validateOnMount) return;
778
671
  setError(props.errorMessage || null);
779
672
  }, [props.errorMessage, props.validateOnMount]);
780
673
  const handleChange = (e) => {
781
- if (props.hasFormContainer) {
782
- props.onChange?.(e);
783
- return;
784
- }
785
- const val = e.target.value;
786
- if (val.length > noOfCharacters) return;
787
- setValue(val);
788
- if (isRequired && val.trim() === "") {
789
- setError(errorMessage);
790
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
791
- setError(errorMessage);
792
- } else {
793
- setError(null);
794
- }
674
+ props.onChange?.(e);
795
675
  };
796
676
  return /* @__PURE__ */ jsxs7(Fragment6, { children: [
797
677
  /* @__PURE__ */ jsxs7("div", { className: "flex justify-start items-center relative", children: [
@@ -802,7 +682,7 @@ var UrlInput = ({ className, style, ...props }) => {
802
682
  id: "url-field",
803
683
  type: "url",
804
684
  name: props.name,
805
- value: props.value || value,
685
+ value: props.value,
806
686
  className: cn(className, error ? "border-red-500" : ""),
807
687
  style: {
808
688
  ...style,
@@ -812,10 +692,7 @@ var UrlInput = ({ className, style, ...props }) => {
812
692
  placeholder,
813
693
  onChange: handleChange,
814
694
  disabled: isDisabled || !isEditable,
815
- readOnly: isReadonly,
816
- required: isRequired,
817
- maxLength: noOfCharacters,
818
- pattern: regexPattern || void 0
695
+ readOnly: isReadonly
819
696
  }
820
697
  )
821
698
  ] }),
@@ -1181,106 +1058,58 @@ function SelectScrollDownButton({
1181
1058
  );
1182
1059
  }
1183
1060
 
1184
- // src/components/Global/SelectDropdown.tsx
1185
- import { jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
1186
- function SelectDropdown({
1187
- options,
1188
- placeholder = "Select an option",
1189
- value,
1190
- onChange,
1191
- className,
1192
- id,
1193
- disabled,
1194
- readOnly,
1195
- style,
1196
- name
1197
- }) {
1198
- return /* @__PURE__ */ jsxs13(Select, { name, value, onValueChange: onChange, disabled, children: [
1199
- /* @__PURE__ */ jsx26(
1200
- SelectTrigger,
1201
- {
1202
- id,
1203
- className,
1204
- style: style ?? {},
1205
- "aria-readonly": readOnly,
1206
- children: /* @__PURE__ */ jsx26(SelectValue, { placeholder })
1207
- }
1208
- ),
1209
- /* @__PURE__ */ jsx26(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx26(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
1210
- ] });
1211
- }
1212
-
1213
1061
  // src/components/Inputs/Dropdown/Dropdown.tsx
1214
- import { Fragment as Fragment7, jsx as jsx27, jsxs as jsxs14 } from "react/jsx-runtime";
1062
+ import { Fragment as Fragment7, jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
1215
1063
  var Dropdown = ({ className, style, ...props }) => {
1216
- const text = Array.isArray(props.text) ? props.text : [props.text ?? "Default"];
1064
+ const list = props.data || [];
1217
1065
  const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
1218
- const formatList = text.filter((i) => i.value && i.label).map((item) => ({
1219
- label: item.label,
1220
- value: item.value
1221
- }));
1222
- const regexPattern = props.regexPattern ?? "";
1223
- const errorMessage = props.errorMessage ?? "Required";
1224
- const isRequired = props.isRequired ?? false;
1225
1066
  const isEditable = props.isEditable ?? true;
1226
1067
  const isDisabled = props.isDisabled ?? false;
1227
1068
  const isReadonly = props.isReadonly ?? false;
1228
- const isAutocomplete = props.isAutocomplete ?? false;
1229
- const [value, setValue] = React8.useState("");
1230
1069
  const [error, setError] = React8.useState(null);
1231
1070
  React8.useEffect(() => {
1232
1071
  if (!props.validateOnMount) return;
1233
1072
  setError(props.errorMessage || null);
1234
1073
  }, [props.errorMessage, props.validateOnMount]);
1235
- const handleChange = (val) => {
1236
- if (props.hasFormContainer) {
1237
- props.onChange?.(val);
1238
- return;
1239
- }
1240
- setValue(val);
1241
- if (isRequired && val.trim() === "") {
1242
- setError(errorMessage);
1243
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
1244
- setError(errorMessage);
1245
- } else {
1246
- setError(null);
1247
- }
1074
+ const handleChange = (value) => {
1075
+ props.onChange?.(value);
1248
1076
  };
1249
- return /* @__PURE__ */ jsxs14(Fragment7, { children: [
1250
- /* @__PURE__ */ jsx27("div", { className: "flex gap-3 flex-col", children: /* @__PURE__ */ jsx27(
1251
- SelectDropdown,
1252
- {
1253
- options: formatList,
1254
- placeholder,
1255
- id: "select-field",
1256
- name: props.name,
1257
- value: props.value || value,
1258
- className: cn(className, error ? "border-red-500" : ""),
1259
- style: {
1260
- ...style,
1261
- borderColor: error ? "#f87171" : style?.borderColor
1262
- },
1263
- autoComplete: isAutocomplete ? "on" : "off",
1264
- onChange: handleChange,
1265
- disabled: isDisabled || !isEditable,
1266
- readOnly: isReadonly,
1267
- required: isRequired,
1268
- pattern: regexPattern || void 0
1269
- }
1270
- ) }),
1271
- error && /* @__PURE__ */ jsx27("p", { className: "mt-1 text-xs text-red-500", children: error })
1077
+ const dataKey = props.dataKey || "key";
1078
+ const dataLabel = props.dataLabel || "label";
1079
+ const options = list.map((item) => ({
1080
+ key: item[dataKey],
1081
+ label: item[dataLabel]
1082
+ }));
1083
+ return /* @__PURE__ */ jsxs13(Fragment7, { children: [
1084
+ /* @__PURE__ */ jsxs13(Select, { name: props.name, value: props.value, onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
1085
+ /* @__PURE__ */ jsx26(
1086
+ SelectTrigger,
1087
+ {
1088
+ id: props.name || "select-field",
1089
+ className: cn(className, error ? "border-red-500" : ""),
1090
+ style: {
1091
+ ...style,
1092
+ borderColor: error ? "#f87171" : style?.borderColor
1093
+ },
1094
+ "aria-readonly": isReadonly,
1095
+ children: /* @__PURE__ */ jsx26(SelectValue, { placeholder })
1096
+ }
1097
+ ),
1098
+ /* @__PURE__ */ jsx26(SelectContent, { children: options.map((opt) => /* @__PURE__ */ jsx26(SelectItem, { value: opt.key, children: opt.label }, opt.key)) })
1099
+ ] }),
1100
+ error && /* @__PURE__ */ jsx26("p", { className: "mt-1 text-xs text-red-500", children: error })
1272
1101
  ] });
1273
1102
  };
1274
1103
  var Dropdown_default = Dropdown;
1275
1104
 
1276
1105
  // src/components/ui/switch.tsx
1277
1106
  import * as SwitchPrimitive from "@radix-ui/react-switch";
1278
- import { jsx as jsx28 } from "react/jsx-runtime";
1107
+ import { jsx as jsx27 } from "react/jsx-runtime";
1279
1108
  function Switch({
1280
1109
  className,
1281
1110
  ...props
1282
1111
  }) {
1283
- return /* @__PURE__ */ jsx28(
1112
+ return /* @__PURE__ */ jsx27(
1284
1113
  SwitchPrimitive.Root,
1285
1114
  {
1286
1115
  "data-slot": "switch",
@@ -1289,7 +1118,7 @@ function Switch({
1289
1118
  className
1290
1119
  ),
1291
1120
  ...props,
1292
- children: /* @__PURE__ */ jsx28(
1121
+ children: /* @__PURE__ */ jsx27(
1293
1122
  SwitchPrimitive.Thumb,
1294
1123
  {
1295
1124
  "data-slot": "switch-thumb",
@@ -1303,12 +1132,12 @@ function Switch({
1303
1132
  }
1304
1133
 
1305
1134
  // src/components/Inputs/SwitchToggle/SwitchToggle.tsx
1306
- import { jsx as jsx29, jsxs as jsxs15 } from "react/jsx-runtime";
1135
+ import { jsx as jsx28, jsxs as jsxs14 } from "react/jsx-runtime";
1307
1136
  var SwitchToggle = ({ className, style, ...props }) => {
1308
1137
  const text = Array.isArray(props.text) ? props.text : [props.text ?? "Subscribe"];
1309
- return /* @__PURE__ */ jsx29("div", { className, style, children: text?.map((item, index) => /* @__PURE__ */ jsxs15("div", { className: "flex items-center space-x-2 mb-2", children: [
1310
- /* @__PURE__ */ jsx29(Switch, { id: `switch-${index}` }),
1311
- /* @__PURE__ */ jsx29(Label, { htmlFor: `switch-${index}`, children: item })
1138
+ return /* @__PURE__ */ jsx28("div", { className, style, children: text?.map((item, index) => /* @__PURE__ */ jsxs14("div", { className: "flex items-center space-x-2 mb-2", children: [
1139
+ /* @__PURE__ */ jsx28(Switch, { id: `switch-${index}` }),
1140
+ /* @__PURE__ */ jsx28(Label, { htmlFor: `switch-${index}`, children: item })
1312
1141
  ] }, index)) });
1313
1142
  };
1314
1143
  var SwitchToggle_default = SwitchToggle;
@@ -1317,14 +1146,9 @@ var SwitchToggle_default = SwitchToggle;
1317
1146
  import * as React9 from "react";
1318
1147
  import { PhoneInput as PhoneInputField } from "react-international-phone";
1319
1148
  import "react-international-phone/style.css";
1320
- import { Fragment as Fragment8, jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
1149
+ import { Fragment as Fragment8, jsx as jsx29, jsxs as jsxs15 } from "react/jsx-runtime";
1321
1150
  var PhoneInput = ({ className, style, ...props }) => {
1322
1151
  const placeholder = props.placeholder ?? "Enter phone number";
1323
- const [value, setValue] = React9.useState("");
1324
- const regexPattern = props.regexPattern ?? "";
1325
- const errorMessage = props.errorMessage ?? "Required";
1326
- const noOfCharacters = props.noOfCharacters ?? 100;
1327
- const isRequired = props.isRequired ?? false;
1328
1152
  const isEditable = props.isEditable ?? true;
1329
1153
  const isDisabled = props.isDisabled ?? false;
1330
1154
  const [error, setError] = React9.useState(null);
@@ -1333,27 +1157,15 @@ var PhoneInput = ({ className, style, ...props }) => {
1333
1157
  setError(props.errorMessage || null);
1334
1158
  }, [props.errorMessage, props.validateOnMount]);
1335
1159
  const handleChange = (val) => {
1336
- if (props.hasFormContainer) {
1337
- props.onChange?.(val);
1338
- return;
1339
- }
1340
- if (val.length > noOfCharacters) return;
1341
- setValue(val);
1342
- if (isRequired && val.trim() === "") {
1343
- setError(errorMessage);
1344
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
1345
- setError(errorMessage);
1346
- } else {
1347
- setError(null);
1348
- }
1160
+ props.onChange?.(val);
1349
1161
  };
1350
- return /* @__PURE__ */ jsxs16(Fragment8, { children: [
1351
- /* @__PURE__ */ jsx30(
1162
+ return /* @__PURE__ */ jsxs15(Fragment8, { children: [
1163
+ /* @__PURE__ */ jsx29(
1352
1164
  PhoneInputField,
1353
1165
  {
1354
1166
  defaultCountry: "in",
1355
1167
  name: props.name,
1356
- value: props.value || value,
1168
+ value: props.value,
1357
1169
  className: cn(className, error ? "border-red-500" : ""),
1358
1170
  style: {
1359
1171
  ...style,
@@ -1361,64 +1173,44 @@ var PhoneInput = ({ className, style, ...props }) => {
1361
1173
  },
1362
1174
  onChange: (phone) => handleChange(phone),
1363
1175
  inputProps: {
1364
- id: "phone-field",
1365
- required: isRequired
1176
+ id: "phone-field"
1366
1177
  },
1367
1178
  placeholder,
1368
- disabled: isDisabled || !isEditable,
1369
- required: isRequired
1179
+ disabled: isDisabled || !isEditable
1370
1180
  }
1371
1181
  ),
1372
- error && /* @__PURE__ */ jsx30("p", { className: "mt-1 text-xs text-red-500", children: error })
1182
+ error && /* @__PURE__ */ jsx29("p", { className: "mt-1 text-xs text-red-500", children: error })
1373
1183
  ] });
1374
1184
  };
1375
1185
  var PhoneInput_default = PhoneInput;
1376
1186
 
1377
1187
  // src/components/Inputs/SearchInput/SearchInput.tsx
1378
1188
  import * as React10 from "react";
1379
- import { Fragment as Fragment9, jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
1189
+ import { Fragment as Fragment9, jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
1380
1190
  var SearchInput = ({ className, style, ...props }) => {
1381
1191
  const placeholder = props.placeholder ?? "Placeholder text";
1382
- const regexPattern = props.regexPattern ?? "";
1383
- const errorMessage = props.errorMessage ?? "Required";
1384
- const noOfCharacters = props.noOfCharacters ?? 100;
1385
- const isRequired = props.isRequired ?? false;
1386
1192
  const isEditable = props.isEditable ?? true;
1387
1193
  const isDisabled = props.isDisabled ?? false;
1388
1194
  const isReadonly = props.isReadonly ?? false;
1389
1195
  const isAutocomplete = props.isAutocomplete ?? false;
1390
- const [value, setValue] = React10.useState("");
1391
1196
  const [error, setError] = React10.useState(null);
1392
1197
  React10.useEffect(() => {
1393
1198
  if (!props.validateOnMount) return;
1394
1199
  setError(props.errorMessage || null);
1395
1200
  }, [props.errorMessage, props.validateOnMount]);
1396
1201
  const handleChange = (e) => {
1397
- if (props.hasFormContainer) {
1398
- props.onChange?.(e);
1399
- return;
1400
- }
1401
- const val = e.target.value;
1402
- if (val.length > noOfCharacters) return;
1403
- setValue(val);
1404
- if (isRequired && val.trim() === "") {
1405
- setError(errorMessage);
1406
- } else if (regexPattern && !new RegExp(regexPattern).test(val)) {
1407
- setError(errorMessage);
1408
- } else {
1409
- setError(null);
1410
- }
1202
+ props.onChange?.(e);
1411
1203
  };
1412
- return /* @__PURE__ */ jsxs17(Fragment9, { children: [
1413
- /* @__PURE__ */ jsxs17("div", { className: "flex justify-start items-center relative", children: [
1414
- /* @__PURE__ */ jsx31(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
1415
- /* @__PURE__ */ jsx31(
1204
+ return /* @__PURE__ */ jsxs16(Fragment9, { children: [
1205
+ /* @__PURE__ */ jsxs16("div", { className: "flex justify-start items-center relative", children: [
1206
+ /* @__PURE__ */ jsx30(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
1207
+ /* @__PURE__ */ jsx30(
1416
1208
  Input,
1417
1209
  {
1418
1210
  type: "text",
1419
- id: "text-field",
1211
+ id: props.name || "text-field",
1420
1212
  name: props.name,
1421
- value: props.value || value,
1213
+ value: props.value,
1422
1214
  className: cn(className, error ? "border-red-500" : ""),
1423
1215
  style: {
1424
1216
  ...style,
@@ -1428,21 +1220,18 @@ var SearchInput = ({ className, style, ...props }) => {
1428
1220
  placeholder,
1429
1221
  onChange: handleChange,
1430
1222
  disabled: isDisabled || !isEditable,
1431
- readOnly: isReadonly,
1432
- required: isRequired,
1433
- maxLength: noOfCharacters,
1434
- pattern: regexPattern || void 0
1223
+ readOnly: isReadonly
1435
1224
  }
1436
1225
  )
1437
1226
  ] }),
1438
- error && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: error })
1227
+ error && /* @__PURE__ */ jsx30("p", { className: "mt-1 text-xs text-red-500", children: error })
1439
1228
  ] });
1440
1229
  };
1441
1230
  var SearchInput_default = SearchInput;
1442
1231
 
1443
1232
  // src/components/Inputs/FileInput/FileInput.tsx
1444
1233
  import { useEffect as useEffect11, useState as useState11 } from "react";
1445
- import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
1234
+ import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
1446
1235
  var FileInput = ({ className, style, ...props }) => {
1447
1236
  const placeholder = props.placeholder ?? "Placeholder text";
1448
1237
  const [error, setError] = useState11(null);
@@ -1450,8 +1239,8 @@ var FileInput = ({ className, style, ...props }) => {
1450
1239
  if (!props.validateOnMount) return;
1451
1240
  setError(props.errorMessage || null);
1452
1241
  }, [props.errorMessage, props.validateOnMount]);
1453
- return /* @__PURE__ */ jsxs18("div", { className: "d-flex items-center relative align-middle", children: [
1454
- /* @__PURE__ */ jsx32(
1242
+ return /* @__PURE__ */ jsxs17("div", { className: "d-flex items-center relative align-middle", children: [
1243
+ /* @__PURE__ */ jsx31(
1455
1244
  Input,
1456
1245
  {
1457
1246
  type: "file",
@@ -1466,34 +1255,28 @@ var FileInput = ({ className, style, ...props }) => {
1466
1255
  autoComplete: "off",
1467
1256
  placeholder,
1468
1257
  onChange: (e) => {
1469
- if (props.hasFormContainer) {
1470
- props.onChange?.(e);
1471
- return;
1472
- }
1258
+ props.onChange?.(e);
1473
1259
  }
1474
1260
  }
1475
1261
  ),
1476
- error && /* @__PURE__ */ jsx32("p", { className: "mt-1 text-xs text-red-500", children: error })
1262
+ error && /* @__PURE__ */ jsx31("p", { className: "mt-1 text-xs text-red-500", children: error })
1477
1263
  ] });
1478
1264
  };
1479
1265
  var FileInput_default = FileInput;
1480
1266
 
1481
1267
  // src/components/Inputs/DatePicker/DatePicker.tsx
1482
1268
  import React11, { useEffect as useEffect12 } from "react";
1483
- import { Fragment as Fragment10, jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
1269
+ import { Fragment as Fragment10, jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
1484
1270
  function DatePicker({ className, style, ...props }) {
1485
1271
  const placeholder = props.placeholder ?? "Placeholder text";
1486
1272
  const minimumDate = props.minimumDate ?? "none";
1487
1273
  const customMinimumDate = props.customMinimumDate ?? "";
1488
1274
  const maximumDate = props.maximumDate ?? "none";
1489
1275
  const customMaximumDate = props.customMaximumDate ?? "";
1490
- const errorMessage = props.errorMessage ?? "Required";
1491
- const isRequired = props.isRequired ?? false;
1492
1276
  const isEditable = props.isEditable ?? true;
1493
1277
  const isDisabled = props.isDisabled ?? false;
1494
1278
  const isReadonly = props.isReadonly ?? false;
1495
1279
  const isAutocomplete = props.isAutocomplete ?? false;
1496
- const [value, setValue] = React11.useState("");
1497
1280
  const [error, setError] = React11.useState(null);
1498
1281
  const resolveDate = (option, customOption) => {
1499
1282
  if (!option) return void 0;
@@ -1514,22 +1297,12 @@ function DatePicker({ className, style, ...props }) {
1514
1297
  setError(props.errorMessage || null);
1515
1298
  }, [props.errorMessage, props.validateOnMount]);
1516
1299
  const handleChange = (e) => {
1517
- if (props.hasFormContainer) {
1518
- props.onChange?.(e);
1519
- return;
1520
- }
1521
- const val = e.target.value;
1522
- setValue(val);
1523
- if (isRequired && val.trim() === "") {
1524
- setError(errorMessage);
1525
- } else {
1526
- setError(null);
1527
- }
1300
+ props.onChange?.(e);
1528
1301
  };
1529
- return /* @__PURE__ */ jsxs19(Fragment10, { children: [
1530
- /* @__PURE__ */ jsxs19("div", { className: "flex justify-start items-center relative", children: [
1531
- /* @__PURE__ */ jsx33(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
1532
- /* @__PURE__ */ jsx33(
1302
+ return /* @__PURE__ */ jsxs18(Fragment10, { children: [
1303
+ /* @__PURE__ */ jsxs18("div", { className: "flex justify-start items-center relative", children: [
1304
+ /* @__PURE__ */ jsx32(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
1305
+ /* @__PURE__ */ jsx32(
1533
1306
  Input,
1534
1307
  {
1535
1308
  type: "date",
@@ -1538,21 +1311,20 @@ function DatePicker({ className, style, ...props }) {
1538
1311
  onChange: handleChange,
1539
1312
  disabled: isDisabled || !isEditable,
1540
1313
  name: props.name,
1541
- value: props.value || value,
1314
+ value: props.value,
1542
1315
  className: cn(className, error ? "border-red-500" : ""),
1543
1316
  style: {
1544
1317
  ...style,
1545
1318
  borderColor: error ? "#f87171" : style?.borderColor
1546
1319
  },
1547
1320
  readOnly: isReadonly,
1548
- required: isRequired,
1549
1321
  placeholder,
1550
1322
  min: minDate,
1551
1323
  max: maxDate
1552
1324
  }
1553
1325
  )
1554
1326
  ] }),
1555
- error && /* @__PURE__ */ jsx33("p", { className: "mt-1 text-xs text-red-500", children: error })
1327
+ error && /* @__PURE__ */ jsx32("p", { className: "mt-1 text-xs text-red-500", children: error })
1556
1328
  ] });
1557
1329
  }
1558
1330
 
@@ -1563,7 +1335,7 @@ import { addDays, format } from "date-fns";
1563
1335
  // src/components/ui/calendar.tsx
1564
1336
  import * as React12 from "react";
1565
1337
  import { DayPicker, getDefaultClassNames } from "react-day-picker";
1566
- import { jsx as jsx34 } from "react/jsx-runtime";
1338
+ import { jsx as jsx33 } from "react/jsx-runtime";
1567
1339
  function Calendar2({
1568
1340
  className,
1569
1341
  classNames,
@@ -1575,7 +1347,7 @@ function Calendar2({
1575
1347
  ...props
1576
1348
  }) {
1577
1349
  const defaultClassNames = getDefaultClassNames();
1578
- return /* @__PURE__ */ jsx34(
1350
+ return /* @__PURE__ */ jsx33(
1579
1351
  DayPicker,
1580
1352
  {
1581
1353
  showOutsideDays,
@@ -1674,7 +1446,7 @@ function Calendar2({
1674
1446
  },
1675
1447
  components: {
1676
1448
  Root: ({ className: className2, rootRef, ...props2 }) => {
1677
- return /* @__PURE__ */ jsx34(
1449
+ return /* @__PURE__ */ jsx33(
1678
1450
  "div",
1679
1451
  {
1680
1452
  "data-slot": "calendar",
@@ -1686,10 +1458,10 @@ function Calendar2({
1686
1458
  },
1687
1459
  Chevron: ({ className: className2, orientation, ...props2 }) => {
1688
1460
  if (orientation === "left") {
1689
- return /* @__PURE__ */ jsx34(ChevronLeft, { className: cn("size-4", className2), ...props2 });
1461
+ return /* @__PURE__ */ jsx33(ChevronLeft, { className: cn("size-4", className2), ...props2 });
1690
1462
  }
1691
1463
  if (orientation === "right") {
1692
- return /* @__PURE__ */ jsx34(
1464
+ return /* @__PURE__ */ jsx33(
1693
1465
  ChevronRight,
1694
1466
  {
1695
1467
  className: cn("size-4", className2),
@@ -1697,11 +1469,11 @@ function Calendar2({
1697
1469
  }
1698
1470
  );
1699
1471
  }
1700
- return /* @__PURE__ */ jsx34(ChevronDown, { className: cn("size-4", className2), ...props2 });
1472
+ return /* @__PURE__ */ jsx33(ChevronDown, { className: cn("size-4", className2), ...props2 });
1701
1473
  },
1702
1474
  DayButton: CalendarDayButton,
1703
1475
  WeekNumber: ({ children, ...props2 }) => {
1704
- return /* @__PURE__ */ jsx34("td", { ...props2, children: /* @__PURE__ */ jsx34("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
1476
+ return /* @__PURE__ */ jsx33("td", { ...props2, children: /* @__PURE__ */ jsx33("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
1705
1477
  },
1706
1478
  ...components
1707
1479
  },
@@ -1720,7 +1492,7 @@ function CalendarDayButton({
1720
1492
  React12.useEffect(() => {
1721
1493
  if (modifiers.focused) ref.current?.focus();
1722
1494
  }, [modifiers.focused]);
1723
- return /* @__PURE__ */ jsx34(
1495
+ return /* @__PURE__ */ jsx33(
1724
1496
  Button,
1725
1497
  {
1726
1498
  ref,
@@ -1743,16 +1515,16 @@ function CalendarDayButton({
1743
1515
 
1744
1516
  // src/components/ui/popover.tsx
1745
1517
  import * as PopoverPrimitive from "@radix-ui/react-popover";
1746
- import { jsx as jsx35 } from "react/jsx-runtime";
1518
+ import { jsx as jsx34 } from "react/jsx-runtime";
1747
1519
  function Popover({
1748
1520
  ...props
1749
1521
  }) {
1750
- return /* @__PURE__ */ jsx35(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
1522
+ return /* @__PURE__ */ jsx34(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
1751
1523
  }
1752
1524
  function PopoverTrigger({
1753
1525
  ...props
1754
1526
  }) {
1755
- return /* @__PURE__ */ jsx35(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
1527
+ return /* @__PURE__ */ jsx34(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
1756
1528
  }
1757
1529
  function PopoverContent({
1758
1530
  className,
@@ -1760,7 +1532,7 @@ function PopoverContent({
1760
1532
  sideOffset = 4,
1761
1533
  ...props
1762
1534
  }) {
1763
- return /* @__PURE__ */ jsx35(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx35(
1535
+ return /* @__PURE__ */ jsx34(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx34(
1764
1536
  PopoverPrimitive.Content,
1765
1537
  {
1766
1538
  "data-slot": "popover-content",
@@ -1776,14 +1548,14 @@ function PopoverContent({
1776
1548
  }
1777
1549
 
1778
1550
  // src/components/Inputs/DateRange/DateRange.tsx
1779
- import { Fragment as Fragment11, jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
1551
+ import { Fragment as Fragment11, jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
1780
1552
  var DateRange = ({ className, style }) => {
1781
1553
  const [date, setDate] = React13.useState({
1782
1554
  from: /* @__PURE__ */ new Date(),
1783
1555
  to: addDays(/* @__PURE__ */ new Date(), 7)
1784
1556
  });
1785
- return /* @__PURE__ */ jsx36("div", { className, style, children: /* @__PURE__ */ jsxs20(Popover, { children: [
1786
- /* @__PURE__ */ jsx36(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx36(
1557
+ return /* @__PURE__ */ jsx35("div", { className, style, children: /* @__PURE__ */ jsxs19(Popover, { children: [
1558
+ /* @__PURE__ */ jsx35(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx35(
1787
1559
  Button,
1788
1560
  {
1789
1561
  id: "date",
@@ -1792,15 +1564,15 @@ var DateRange = ({ className, style }) => {
1792
1564
  "w-[300px] justify-start text-left font-normal text-[11px]",
1793
1565
  !date && "text-muted-foreground"
1794
1566
  ),
1795
- children: date?.from ? date.to ? /* @__PURE__ */ jsxs20(Fragment11, { children: [
1567
+ children: date?.from ? date.to ? /* @__PURE__ */ jsxs19(Fragment11, { children: [
1796
1568
  format(date.from, "LLL dd, y"),
1797
1569
  " -",
1798
1570
  " ",
1799
1571
  format(date.to, "LLL dd, y")
1800
- ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx36("span", { children: "Pick a date range" })
1572
+ ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx35("span", { children: "Pick a date range" })
1801
1573
  }
1802
1574
  ) }),
1803
- /* @__PURE__ */ jsx36(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx36(
1575
+ /* @__PURE__ */ jsx35(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ jsx35(
1804
1576
  Calendar2,
1805
1577
  {
1806
1578
  mode: "range",
@@ -1822,14 +1594,14 @@ import {
1822
1594
  } from "@tanstack/react-table";
1823
1595
 
1824
1596
  // src/components/ui/table.tsx
1825
- import { jsx as jsx37 } from "react/jsx-runtime";
1597
+ import { jsx as jsx36 } from "react/jsx-runtime";
1826
1598
  function Table({ className, ...props }) {
1827
- return /* @__PURE__ */ jsx37(
1599
+ return /* @__PURE__ */ jsx36(
1828
1600
  "div",
1829
1601
  {
1830
1602
  "data-slot": "table-container",
1831
1603
  className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
1832
- children: /* @__PURE__ */ jsx37(
1604
+ children: /* @__PURE__ */ jsx36(
1833
1605
  "table",
1834
1606
  {
1835
1607
  "data-slot": "table",
@@ -1841,7 +1613,7 @@ function Table({ className, ...props }) {
1841
1613
  );
1842
1614
  }
1843
1615
  function TableHeader({ className, ...props }) {
1844
- return /* @__PURE__ */ jsx37(
1616
+ return /* @__PURE__ */ jsx36(
1845
1617
  "thead",
1846
1618
  {
1847
1619
  "data-slot": "table-header",
@@ -1854,7 +1626,7 @@ function TableHeader({ className, ...props }) {
1854
1626
  );
1855
1627
  }
1856
1628
  function TableBody({ className, ...props }) {
1857
- return /* @__PURE__ */ jsx37(
1629
+ return /* @__PURE__ */ jsx36(
1858
1630
  "tbody",
1859
1631
  {
1860
1632
  "data-slot": "table-body",
@@ -1867,7 +1639,7 @@ function TableBody({ className, ...props }) {
1867
1639
  );
1868
1640
  }
1869
1641
  function TableRow({ className, ...props }) {
1870
- return /* @__PURE__ */ jsx37(
1642
+ return /* @__PURE__ */ jsx36(
1871
1643
  "tr",
1872
1644
  {
1873
1645
  "data-slot": "table-row",
@@ -1880,7 +1652,7 @@ function TableRow({ className, ...props }) {
1880
1652
  );
1881
1653
  }
1882
1654
  function TableHead({ className, ...props }) {
1883
- return /* @__PURE__ */ jsx37(
1655
+ return /* @__PURE__ */ jsx36(
1884
1656
  "th",
1885
1657
  {
1886
1658
  "data-slot": "table-head",
@@ -1893,7 +1665,7 @@ function TableHead({ className, ...props }) {
1893
1665
  );
1894
1666
  }
1895
1667
  function TableCell({ className, ...props }) {
1896
- return /* @__PURE__ */ jsx37(
1668
+ return /* @__PURE__ */ jsx36(
1897
1669
  "td",
1898
1670
  {
1899
1671
  "data-slot": "table-cell",
@@ -1907,7 +1679,7 @@ function TableCell({ className, ...props }) {
1907
1679
  }
1908
1680
 
1909
1681
  // src/components/ui/data-table.tsx
1910
- import { Fragment as Fragment12, jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
1682
+ import { Fragment as Fragment12, jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
1911
1683
  function DataTable({
1912
1684
  columns,
1913
1685
  rowActions,
@@ -1932,14 +1704,14 @@ function DataTable({
1932
1704
  onCellClick(rowData, columnId);
1933
1705
  }
1934
1706
  };
1935
- return /* @__PURE__ */ jsx38("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs21(Table, { children: [
1936
- /* @__PURE__ */ jsx38(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx38(TableRow, { children: headerGroup.headers.map((header) => {
1937
- return /* @__PURE__ */ jsx38(TableHead, { children: header.isPlaceholder ? null : flexRender(
1707
+ return /* @__PURE__ */ jsx37("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ jsxs20(Table, { children: [
1708
+ /* @__PURE__ */ jsx37(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx37(TableRow, { children: headerGroup.headers.map((header) => {
1709
+ return /* @__PURE__ */ jsx37(TableHead, { children: header.isPlaceholder ? null : flexRender(
1938
1710
  header.column.columnDef.header,
1939
1711
  header.getContext()
1940
1712
  ) }, header.id);
1941
1713
  }) }, headerGroup.id)) }),
1942
- /* @__PURE__ */ jsx38(TableBody, { children: loading ? /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx38(Fragment12, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs21(
1714
+ /* @__PURE__ */ jsx37(TableBody, { children: loading ? /* @__PURE__ */ jsx37(TableRow, { children: /* @__PURE__ */ jsx37(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ jsx37(Fragment12, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsxs20(
1943
1715
  TableRow,
1944
1716
  {
1945
1717
  "data-state": row.getIsSelected() && "selected",
@@ -1949,7 +1721,7 @@ function DataTable({
1949
1721
  const isCellClickable = cellClickEnabled(row.original, cell.column.id);
1950
1722
  const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
1951
1723
  const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
1952
- return /* @__PURE__ */ jsx38(
1724
+ return /* @__PURE__ */ jsx37(
1953
1725
  TableCell,
1954
1726
  {
1955
1727
  className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
@@ -1964,18 +1736,18 @@ function DataTable({
1964
1736
  cell.id
1965
1737
  );
1966
1738
  }),
1967
- rowActions.length > 0 && /* @__PURE__ */ jsx38("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__ */ jsx38("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
1739
+ rowActions.length > 0 && /* @__PURE__ */ jsx37("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__ */ jsx37("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
1968
1740
  ]
1969
1741
  },
1970
1742
  row.id
1971
- )) : /* @__PURE__ */ jsx38(TableRow, { children: /* @__PURE__ */ jsx38(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
1743
+ )) : /* @__PURE__ */ jsx37(TableRow, { children: /* @__PURE__ */ jsx37(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
1972
1744
  ] }) });
1973
1745
  }
1974
1746
 
1975
1747
  // src/components/ui/pagination.tsx
1976
- import { jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
1748
+ import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
1977
1749
  function Pagination({ className, ...props }) {
1978
- return /* @__PURE__ */ jsx39(
1750
+ return /* @__PURE__ */ jsx38(
1979
1751
  "nav",
1980
1752
  {
1981
1753
  role: "navigation",
@@ -1990,7 +1762,7 @@ function PaginationContent({
1990
1762
  className,
1991
1763
  ...props
1992
1764
  }) {
1993
- return /* @__PURE__ */ jsx39(
1765
+ return /* @__PURE__ */ jsx38(
1994
1766
  "ul",
1995
1767
  {
1996
1768
  "data-slot": "pagination-content",
@@ -2000,7 +1772,7 @@ function PaginationContent({
2000
1772
  );
2001
1773
  }
2002
1774
  function PaginationItem({ ...props }) {
2003
- return /* @__PURE__ */ jsx39("li", { "data-slot": "pagination-item", ...props });
1775
+ return /* @__PURE__ */ jsx38("li", { "data-slot": "pagination-item", ...props });
2004
1776
  }
2005
1777
  function PaginationLink({
2006
1778
  className,
@@ -2008,7 +1780,7 @@ function PaginationLink({
2008
1780
  size = "icon",
2009
1781
  ...props
2010
1782
  }) {
2011
- return /* @__PURE__ */ jsx39(
1783
+ return /* @__PURE__ */ jsx38(
2012
1784
  "a",
2013
1785
  {
2014
1786
  "aria-current": isActive ? "page" : void 0,
@@ -2029,7 +1801,7 @@ function PaginationPrevious({
2029
1801
  className,
2030
1802
  ...props
2031
1803
  }) {
2032
- return /* @__PURE__ */ jsxs22(
1804
+ return /* @__PURE__ */ jsxs21(
2033
1805
  PaginationLink,
2034
1806
  {
2035
1807
  "aria-label": "Go to previous page",
@@ -2037,8 +1809,8 @@ function PaginationPrevious({
2037
1809
  className: cn("gap-1 px-2.5 sm:pl-2.5", className),
2038
1810
  ...props,
2039
1811
  children: [
2040
- /* @__PURE__ */ jsx39(ChevronLeft, {}),
2041
- /* @__PURE__ */ jsx39("span", { className: "hidden sm:block", children: "Previous" })
1812
+ /* @__PURE__ */ jsx38(ChevronLeft, {}),
1813
+ /* @__PURE__ */ jsx38("span", { className: "hidden sm:block", children: "Previous" })
2042
1814
  ]
2043
1815
  }
2044
1816
  );
@@ -2047,7 +1819,7 @@ function PaginationNext({
2047
1819
  className,
2048
1820
  ...props
2049
1821
  }) {
2050
- return /* @__PURE__ */ jsxs22(
1822
+ return /* @__PURE__ */ jsxs21(
2051
1823
  PaginationLink,
2052
1824
  {
2053
1825
  "aria-label": "Go to next page",
@@ -2055,8 +1827,8 @@ function PaginationNext({
2055
1827
  className: cn("gap-1 px-2.5 sm:pr-2.5", className),
2056
1828
  ...props,
2057
1829
  children: [
2058
- /* @__PURE__ */ jsx39("span", { className: "hidden sm:block", children: "Next" }),
2059
- /* @__PURE__ */ jsx39(ChevronRight, {})
1830
+ /* @__PURE__ */ jsx38("span", { className: "hidden sm:block", children: "Next" }),
1831
+ /* @__PURE__ */ jsx38(ChevronRight, {})
2060
1832
  ]
2061
1833
  }
2062
1834
  );
@@ -2065,7 +1837,7 @@ function PaginationEllipsis({
2065
1837
  className,
2066
1838
  ...props
2067
1839
  }) {
2068
- return /* @__PURE__ */ jsxs22(
1840
+ return /* @__PURE__ */ jsxs21(
2069
1841
  "span",
2070
1842
  {
2071
1843
  "aria-hidden": true,
@@ -2073,15 +1845,15 @@ function PaginationEllipsis({
2073
1845
  className: cn("flex size-9 items-center justify-center", className),
2074
1846
  ...props,
2075
1847
  children: [
2076
- /* @__PURE__ */ jsx39(Ellipsis, { className: "size-4" }),
2077
- /* @__PURE__ */ jsx39("span", { className: "sr-only", children: "More pages" })
1848
+ /* @__PURE__ */ jsx38(Ellipsis, { className: "size-4" }),
1849
+ /* @__PURE__ */ jsx38("span", { className: "sr-only", children: "More pages" })
2078
1850
  ]
2079
1851
  }
2080
1852
  );
2081
1853
  }
2082
1854
 
2083
1855
  // src/components/DataDisplay/Pagination/Pagination.tsx
2084
- import { jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
1856
+ import { jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
2085
1857
  var CustomPagination = ({
2086
1858
  totalPages,
2087
1859
  currentPage,
@@ -2123,15 +1895,15 @@ var CustomPagination = ({
2123
1895
  }
2124
1896
  };
2125
1897
  const pageNumbers = getPageNumbers();
2126
- return /* @__PURE__ */ jsx40(Pagination, { children: /* @__PURE__ */ jsxs23(PaginationContent, { children: [
2127
- /* @__PURE__ */ jsx40(PaginationItem, { children: /* @__PURE__ */ jsx40(
1898
+ return /* @__PURE__ */ jsx39(Pagination, { children: /* @__PURE__ */ jsxs22(PaginationContent, { children: [
1899
+ /* @__PURE__ */ jsx39(PaginationItem, { children: /* @__PURE__ */ jsx39(
2128
1900
  PaginationPrevious,
2129
1901
  {
2130
1902
  onClick: () => handlePageChange(currentPage - 1),
2131
1903
  className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
2132
1904
  }
2133
1905
  ) }),
2134
- pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx40(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx40(PaginationEllipsis, {}) : /* @__PURE__ */ jsx40(
1906
+ pageNumbers.map((pageNumber, index) => /* @__PURE__ */ jsx39(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ jsx39(PaginationEllipsis, {}) : /* @__PURE__ */ jsx39(
2135
1907
  PaginationLink,
2136
1908
  {
2137
1909
  onClick: () => handlePageChange(pageNumber),
@@ -2140,7 +1912,7 @@ var CustomPagination = ({
2140
1912
  children: pageNumber
2141
1913
  }
2142
1914
  ) }, index)),
2143
- /* @__PURE__ */ jsx40(PaginationItem, { children: /* @__PURE__ */ jsx40(
1915
+ /* @__PURE__ */ jsx39(PaginationItem, { children: /* @__PURE__ */ jsx39(
2144
1916
  PaginationNext,
2145
1917
  {
2146
1918
  onClick: () => handlePageChange(currentPage + 1),
@@ -2153,7 +1925,7 @@ var Pagination_default = CustomPagination;
2153
1925
 
2154
1926
  // src/components/DataDisplay/Table/Table.tsx
2155
1927
  import { useState as useState13 } from "react";
2156
- import { jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
1928
+ import { jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
2157
1929
  var Table2 = ({ columns, data, rowActions, className, style, pagination = false, itemsPerPage = 10, onPageChange, loading = false }) => {
2158
1930
  const rawColumns = Array.isArray(columns) ? columns : [];
2159
1931
  const rawData = Array.isArray(data) ? data : [];
@@ -2165,9 +1937,9 @@ var Table2 = ({ columns, data, rowActions, className, style, pagination = false,
2165
1937
  onPageChange?.(page);
2166
1938
  };
2167
1939
  const paginatedData = enablePagination ? rawData.slice((currentPage - 1) * itemsPerPage, currentPage * itemsPerPage) : rawData;
2168
- return /* @__PURE__ */ jsxs24("div", { className: `${className} space-y-3`, style, children: [
2169
- /* @__PURE__ */ jsx41(DataTable, { columns: rawColumns, data: paginatedData, rowActions: rawRowActions, loading }),
2170
- enablePagination && /* @__PURE__ */ jsx41(
1940
+ return /* @__PURE__ */ jsxs23("div", { className: `${className} space-y-3`, style, children: [
1941
+ /* @__PURE__ */ jsx40(DataTable, { columns: rawColumns, data: paginatedData, rowActions: rawRowActions, loading }),
1942
+ enablePagination && /* @__PURE__ */ jsx40(
2171
1943
  Pagination_default,
2172
1944
  {
2173
1945
  totalPages: Math.ceil(rawData.length / itemsPerPage),
@@ -2181,16 +1953,16 @@ var Table_default = Table2;
2181
1953
 
2182
1954
  // src/components/ui/dropdown-menu.tsx
2183
1955
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
2184
- import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
1956
+ import { jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
2185
1957
  function DropdownMenu({
2186
1958
  ...props
2187
1959
  }) {
2188
- return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
1960
+ return /* @__PURE__ */ jsx41(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
2189
1961
  }
2190
1962
  function DropdownMenuTrigger({
2191
1963
  ...props
2192
1964
  }) {
2193
- return /* @__PURE__ */ jsx42(
1965
+ return /* @__PURE__ */ jsx41(
2194
1966
  DropdownMenuPrimitive.Trigger,
2195
1967
  {
2196
1968
  "data-slot": "dropdown-menu-trigger",
@@ -2203,7 +1975,7 @@ function DropdownMenuContent({
2203
1975
  sideOffset = 4,
2204
1976
  ...props
2205
1977
  }) {
2206
- return /* @__PURE__ */ jsx42(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx42(
1978
+ return /* @__PURE__ */ jsx41(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
2207
1979
  DropdownMenuPrimitive.Content,
2208
1980
  {
2209
1981
  "data-slot": "dropdown-menu-content",
@@ -2222,7 +1994,7 @@ function DropdownMenuItem({
2222
1994
  variant = "default",
2223
1995
  ...props
2224
1996
  }) {
2225
- return /* @__PURE__ */ jsx42(
1997
+ return /* @__PURE__ */ jsx41(
2226
1998
  DropdownMenuPrimitive.Item,
2227
1999
  {
2228
2000
  "data-slot": "dropdown-menu-item",
@@ -2241,7 +2013,7 @@ function DropdownMenuLabel({
2241
2013
  inset,
2242
2014
  ...props
2243
2015
  }) {
2244
- return /* @__PURE__ */ jsx42(
2016
+ return /* @__PURE__ */ jsx41(
2245
2017
  DropdownMenuPrimitive.Label,
2246
2018
  {
2247
2019
  "data-slot": "dropdown-menu-label",
@@ -2258,7 +2030,7 @@ function DropdownMenuSeparator({
2258
2030
  className,
2259
2031
  ...props
2260
2032
  }) {
2261
- return /* @__PURE__ */ jsx42(
2033
+ return /* @__PURE__ */ jsx41(
2262
2034
  DropdownMenuPrimitive.Separator,
2263
2035
  {
2264
2036
  "data-slot": "dropdown-menu-separator",
@@ -2269,7 +2041,7 @@ function DropdownMenuSeparator({
2269
2041
  }
2270
2042
 
2271
2043
  // src/components/Navigation/Tabs/Tabs.tsx
2272
- import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
2044
+ import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
2273
2045
  var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2274
2046
  const rawTabs = Array.isArray(tabs) ? tabs : [];
2275
2047
  const baseClasses = "text-[12px] text-[#E9E9E9] p-2 text-center rounded-md transition-colors border-none outline-none focus:outline-none focus:ring-0 focus:ring-offset-0 cursor-pointer select-none ";
@@ -2279,7 +2051,7 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2279
2051
  if (!path) return false;
2280
2052
  return pathname === path || path !== "/" && pathname?.startsWith(path);
2281
2053
  };
2282
- return /* @__PURE__ */ jsx43("div", { className, style, children: rawTabs.map((tab, index) => {
2054
+ return /* @__PURE__ */ jsx42("div", { className, style, children: rawTabs.map((tab, index) => {
2283
2055
  const finalClasses = [
2284
2056
  baseClasses,
2285
2057
  isActive(tab.href) ? activeClasses : hoverClasses,
@@ -2287,29 +2059,29 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2287
2059
  ].join(" ");
2288
2060
  const hasDropdown = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
2289
2061
  if (hasDropdown) {
2290
- return /* @__PURE__ */ jsxs26(DropdownMenu, { children: [
2291
- /* @__PURE__ */ jsxs26(
2062
+ return /* @__PURE__ */ jsxs25(DropdownMenu, { children: [
2063
+ /* @__PURE__ */ jsxs25(
2292
2064
  DropdownMenuTrigger,
2293
2065
  {
2294
2066
  className: `${finalClasses} inline-flex items-center gap-1`,
2295
2067
  children: [
2296
2068
  tab.header,
2297
- /* @__PURE__ */ jsx43(ChevronDown, { className: "h-4 w-4 opacity-80" })
2069
+ /* @__PURE__ */ jsx42(ChevronDown, { className: "h-4 w-4 opacity-80" })
2298
2070
  ]
2299
2071
  }
2300
2072
  ),
2301
- /* @__PURE__ */ jsx43(
2073
+ /* @__PURE__ */ jsx42(
2302
2074
  DropdownMenuContent,
2303
2075
  {
2304
2076
  align: "start",
2305
2077
  sideOffset: 6,
2306
2078
  className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
2307
- children: tab.children.map((item) => /* @__PURE__ */ jsx43(
2079
+ children: tab.children.map((item) => /* @__PURE__ */ jsx42(
2308
2080
  DropdownMenuItem,
2309
2081
  {
2310
2082
  asChild: true,
2311
2083
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
2312
- children: LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: item.href || "#", children: item.header }) : item.header
2084
+ children: LinkComponent ? /* @__PURE__ */ jsx42(LinkComponent, { href: item.href || "#", children: item.header }) : item.header
2313
2085
  },
2314
2086
  item.id
2315
2087
  ))
@@ -2317,19 +2089,19 @@ var Tabs = ({ tabs, className, style, pathname, LinkComponent }) => {
2317
2089
  )
2318
2090
  ] }, index);
2319
2091
  }
2320
- return tab.url && LinkComponent ? /* @__PURE__ */ jsx43(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx43("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
2092
+ return tab.url && LinkComponent ? /* @__PURE__ */ jsx42(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ jsx42("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
2321
2093
  }) });
2322
2094
  };
2323
2095
  var Tabs_default = Tabs;
2324
2096
 
2325
2097
  // src/components/Navigation/Stages/Stages.tsx
2326
2098
  import React14 from "react";
2327
- import { jsx as jsx44, jsxs as jsxs27 } from "react/jsx-runtime";
2099
+ import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
2328
2100
  var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
2329
- return /* @__PURE__ */ jsx44("div", { className, style, children: /* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
2330
- /* @__PURE__ */ jsx44("div", { className: "flex items-center", children: /* @__PURE__ */ jsx44("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx44("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx44("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
2331
- /* @__PURE__ */ jsx44("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs27(React14.Fragment, { children: [
2332
- /* @__PURE__ */ jsx44(
2101
+ return /* @__PURE__ */ jsx43("div", { className, style, children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
2102
+ /* @__PURE__ */ jsx43("div", { className: "flex items-center", children: /* @__PURE__ */ jsx43("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ jsx43("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx43("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
2103
+ /* @__PURE__ */ jsx43("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ jsxs26(React14.Fragment, { children: [
2104
+ /* @__PURE__ */ jsx43(
2333
2105
  "button",
2334
2106
  {
2335
2107
  className: `
@@ -2337,26 +2109,26 @@ var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
2337
2109
  children: stage.header
2338
2110
  }
2339
2111
  ),
2340
- index < stages.length - 1 && /* @__PURE__ */ jsx44("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
2112
+ index < stages.length - 1 && /* @__PURE__ */ jsx43("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
2341
2113
  ] }, stage.id)) }),
2342
- isShowBtn && /* @__PURE__ */ jsx44("div", { className: "flex items-center", children: /* @__PURE__ */ jsx44("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
2114
+ isShowBtn && /* @__PURE__ */ jsx43("div", { className: "flex items-center", children: /* @__PURE__ */ jsx43("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
2343
2115
  ] }) });
2344
2116
  };
2345
2117
  var Stages_default = StagesComponent;
2346
2118
 
2347
2119
  // src/components/Navigation/Spacer/Spacer.tsx
2348
- import { jsx as jsx45 } from "react/jsx-runtime";
2120
+ import { jsx as jsx44 } from "react/jsx-runtime";
2349
2121
  var Spacer = ({ className, style }) => {
2350
- return /* @__PURE__ */ jsx45("div", { className: `${className}`, style });
2122
+ return /* @__PURE__ */ jsx44("div", { className: `${className}`, style });
2351
2123
  };
2352
2124
  var Spacer_default = Spacer;
2353
2125
 
2354
2126
  // src/components/Navigation/Profile/Profile.tsx
2355
- import { jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
2127
+ import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
2356
2128
  var Profile = ({ profileType, showName, userName, className, style }) => {
2357
- return /* @__PURE__ */ jsx46("div", { className, style, children: /* @__PURE__ */ jsxs28("div", { className: "flex gap-2 items-center justify-between w-30 cursor-pointer", children: [
2358
- showName && /* @__PURE__ */ jsx46("h4", { className: "text-[#000000] dark:text-[#fff] text-[13px] font-[500] mb-0", children: userName }),
2359
- profileType === "avatar" ? /* @__PURE__ */ jsx46(
2129
+ return /* @__PURE__ */ jsx45("div", { className, style, children: /* @__PURE__ */ jsxs27("div", { className: "flex gap-2 items-center justify-between w-30 cursor-pointer", children: [
2130
+ showName && /* @__PURE__ */ jsx45("h4", { className: "text-[#000000] dark:text-[#fff] text-[13px] font-[500] mb-0", children: userName }),
2131
+ profileType === "avatar" ? /* @__PURE__ */ jsx45(
2360
2132
  "img",
2361
2133
  {
2362
2134
  src: "https://builder.development.algorithmshift.ai/images/toolset/profile.svg",
@@ -2364,16 +2136,16 @@ var Profile = ({ profileType, showName, userName, className, style }) => {
2364
2136
  width: 24,
2365
2137
  height: 24
2366
2138
  }
2367
- ) : /* @__PURE__ */ jsx46("div", { className: "w-6 h-6 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "A" })
2139
+ ) : /* @__PURE__ */ jsx45("div", { className: "w-6 h-6 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "A" })
2368
2140
  ] }) });
2369
2141
  };
2370
2142
  var Profile_default = Profile;
2371
2143
 
2372
2144
  // src/components/Navigation/Notification/Notification.tsx
2373
- import { jsx as jsx47, jsxs as jsxs29 } from "react/jsx-runtime";
2145
+ import { jsx as jsx46, jsxs as jsxs28 } from "react/jsx-runtime";
2374
2146
  var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhenZero }) => {
2375
- return /* @__PURE__ */ jsx47("div", { className, style, children: /* @__PURE__ */ jsxs29("div", { className: "w-[34px] h-[34px] bg-[#E9E9E9] rounded-md text-center flex items-center justify-center relative", children: [
2376
- /* @__PURE__ */ jsx47(
2147
+ return /* @__PURE__ */ jsx46("div", { className, style, children: /* @__PURE__ */ jsxs28("div", { className: "w-[34px] h-[34px] bg-[#E9E9E9] rounded-md text-center flex items-center justify-center relative", children: [
2148
+ /* @__PURE__ */ jsx46(
2377
2149
  "img",
2378
2150
  {
2379
2151
  src: "https://builder.development.algorithmshift.ai/images/toolset/notification.svg",
@@ -2382,7 +2154,7 @@ var Notification = ({ className, style, badgeType, badgeCount = 0, hideBadgeWhen
2382
2154
  height: 18
2383
2155
  }
2384
2156
  ),
2385
- badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx47("span", { className: "text-[10px] text-[#fff] bg-[#FF4A4A] w-[20px] h-[20px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]", children: badgeCount }) : /* @__PURE__ */ jsx47("span", { className: "bg-[#FF4A4A] w-[10px] h-[10px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]" })
2157
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx46("span", { className: "text-[10px] text-[#fff] bg-[#FF4A4A] w-[20px] h-[20px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]", children: badgeCount }) : /* @__PURE__ */ jsx46("span", { className: "bg-[#FF4A4A] w-[10px] h-[10px] rounded-full absolute top-0 right-0 transform translate-x-1/2 -translate-y-1/2 leading-[20px]" })
2386
2158
  ] }) });
2387
2159
  };
2388
2160
  var Notification_default = Notification;
@@ -2391,7 +2163,7 @@ var Notification_default = Notification;
2391
2163
  var logo_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDgAAAGPCAYAAAC552DlAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3d6X+V5Z0/8G8WEhIgSBKWkLCECFIJAoILdRRU3NsBtXVrq+PymmkfzuN5MP0L5pmvdtpqX3aqti5V61jrVm2p24AKggqKRHYQCEsgQNbfA176U8tyQu6Tkwve74fknO/1PbmuHM79Ofd93UU//elPewMAAAAgYcWFbgAAAACgvwQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQcAAAAQPIEHAAAAEDyBBwAAABA8gQ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OAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5Ag4AAAAgeQIOAAAAIHkCDgAAACB5/w8RG1j/1Z36RAAAAABJRU5ErkJggg==";
2392
2164
 
2393
2165
  // src/components/Navigation/Logo/Logo.tsx
2394
- import { jsx as jsx48 } from "react/jsx-runtime";
2166
+ import { jsx as jsx47 } from "react/jsx-runtime";
2395
2167
  var Logo = ({
2396
2168
  className,
2397
2169
  style,
@@ -2399,7 +2171,7 @@ var Logo = ({
2399
2171
  altText = "Preview"
2400
2172
  }) => {
2401
2173
  if (!imageUrl) {
2402
- return /* @__PURE__ */ jsx48(
2174
+ return /* @__PURE__ */ jsx47(
2403
2175
  "div",
2404
2176
  {
2405
2177
  className: cn(
@@ -2407,19 +2179,19 @@ var Logo = ({
2407
2179
  "p-0"
2408
2180
  ),
2409
2181
  style,
2410
- children: /* @__PURE__ */ jsx48("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
2182
+ children: /* @__PURE__ */ jsx47("img", { src: logo_placeholder_default, alt: altText, className: "opacity-50", width: 150, height: 80 })
2411
2183
  }
2412
2184
  );
2413
2185
  }
2414
- return /* @__PURE__ */ jsx48("img", { src: imageUrl, alt: altText, className, style });
2186
+ return /* @__PURE__ */ jsx47("img", { src: imageUrl, alt: altText, className, style });
2415
2187
  };
2416
2188
  var Logo_default = Logo;
2417
2189
 
2418
2190
  // src/components/ui/avatar.tsx
2419
2191
  import * as React15 from "react";
2420
2192
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
2421
- import { jsx as jsx49 } from "react/jsx-runtime";
2422
- var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
2193
+ import { jsx as jsx48 } from "react/jsx-runtime";
2194
+ var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
2423
2195
  AvatarPrimitive.Root,
2424
2196
  {
2425
2197
  ref,
@@ -2431,7 +2203,7 @@ var Avatar = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
2431
2203
  }
2432
2204
  ));
2433
2205
  Avatar.displayName = AvatarPrimitive.Root.displayName;
2434
- var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
2206
+ var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
2435
2207
  AvatarPrimitive.Image,
2436
2208
  {
2437
2209
  ref,
@@ -2440,7 +2212,7 @@ var AvatarImage = React15.forwardRef(({ className, ...props }, ref) => /* @__PUR
2440
2212
  }
2441
2213
  ));
2442
2214
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
2443
- var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx49(
2215
+ var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx48(
2444
2216
  AvatarPrimitive.Fallback,
2445
2217
  {
2446
2218
  ref,
@@ -2454,7 +2226,7 @@ var AvatarFallback = React15.forwardRef(({ className, ...props }, ref) => /* @__
2454
2226
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
2455
2227
 
2456
2228
  // src/components/Navigation/Navbar/Navbar.tsx
2457
- import { Fragment as Fragment13, jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
2229
+ import { Fragment as Fragment13, jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
2458
2230
  function Navbar({
2459
2231
  style,
2460
2232
  badgeType,
@@ -2469,61 +2241,61 @@ function Navbar({
2469
2241
  ImageComponent
2470
2242
  }) {
2471
2243
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
2472
- return /* @__PURE__ */ jsx50("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs30("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
2473
- LinkComponent && ImageComponent ? /* @__PURE__ */ jsx50(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx50(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx50("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ jsx50("span", { className: "font-semibold text-blue-700", children: "Logo" }),
2474
- /* @__PURE__ */ jsxs30("div", { className: "flex items-center space-x-3", children: [
2475
- !isMobileView ? /* @__PURE__ */ jsx50("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs30("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
2476
- /* @__PURE__ */ jsx50(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
2477
- /* @__PURE__ */ jsx50(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
2478
- ] }) }) : /* @__PURE__ */ jsx50(
2244
+ return /* @__PURE__ */ jsx49("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ jsxs29("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
2245
+ LinkComponent && ImageComponent ? /* @__PURE__ */ jsx49(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ jsx49(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ jsx49("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ jsx49("span", { className: "font-semibold text-blue-700", children: "Logo" }),
2246
+ /* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-3", children: [
2247
+ !isMobileView ? /* @__PURE__ */ jsx49("div", { className: "flex-1 px-6", children: /* @__PURE__ */ jsxs29("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
2248
+ /* @__PURE__ */ jsx49(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
2249
+ /* @__PURE__ */ jsx49(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
2250
+ ] }) }) : /* @__PURE__ */ jsx49(
2479
2251
  Button,
2480
2252
  {
2481
2253
  variant: "ghost",
2482
2254
  size: "icon",
2483
2255
  className: "border border-gray-400",
2484
- children: /* @__PURE__ */ jsx50(Search, { className: "h-5 w-5 text-gray-400" })
2256
+ children: /* @__PURE__ */ jsx49(Search, { className: "h-5 w-5 text-gray-400" })
2485
2257
  }
2486
2258
  ),
2487
- /* @__PURE__ */ jsxs30("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
2488
- /* @__PURE__ */ jsx50(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx50(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
2489
- badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx50("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__ */ jsx50("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
2259
+ /* @__PURE__ */ jsxs29("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
2260
+ /* @__PURE__ */ jsx49(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ jsx49(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
2261
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ jsx49("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__ */ jsx49("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
2490
2262
  ] }),
2491
- /* @__PURE__ */ jsxs30(DropdownMenu, { children: [
2492
- /* @__PURE__ */ jsx50(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs30("div", { className: "flex items-center space-x-2", children: [
2493
- !isMobileView && showName && /* @__PURE__ */ jsx50("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: "Akbar Sheriff" }),
2494
- !isMobileView ? /* @__PURE__ */ jsxs30(Fragment13, { children: [
2495
- /* @__PURE__ */ jsx50(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx50(
2263
+ /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
2264
+ /* @__PURE__ */ jsx49(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs29("div", { className: "flex items-center space-x-2", children: [
2265
+ !isMobileView && showName && /* @__PURE__ */ jsx49("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: "Akbar Sheriff" }),
2266
+ !isMobileView ? /* @__PURE__ */ jsxs29(Fragment13, { children: [
2267
+ /* @__PURE__ */ jsx49(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ jsx49(
2496
2268
  AvatarImage,
2497
2269
  {
2498
2270
  src: "/images/appbuilder/toolset/profile.svg",
2499
2271
  alt: "Akbar Sheriff"
2500
2272
  }
2501
- ) : /* @__PURE__ */ jsx50("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "AS" }) }),
2502
- /* @__PURE__ */ jsx50(
2273
+ ) : /* @__PURE__ */ jsx49("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: "AS" }) }),
2274
+ /* @__PURE__ */ jsx49(
2503
2275
  Button,
2504
2276
  {
2505
2277
  variant: "ghost",
2506
2278
  size: "icon",
2507
2279
  className: "text-gray-900 md:hidden",
2508
- children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
2280
+ children: /* @__PURE__ */ jsx49(Menu, { className: "h-6 w-6" })
2509
2281
  }
2510
2282
  )
2511
- ] }) : /* @__PURE__ */ jsx50(
2283
+ ] }) : /* @__PURE__ */ jsx49(
2512
2284
  Button,
2513
2285
  {
2514
2286
  variant: "ghost",
2515
2287
  size: "icon",
2516
2288
  className: "text-gray-900",
2517
- children: /* @__PURE__ */ jsx50(Menu, { className: "h-6 w-6" })
2289
+ children: /* @__PURE__ */ jsx49(Menu, { className: "h-6 w-6" })
2518
2290
  }
2519
2291
  )
2520
2292
  ] }) }),
2521
- /* @__PURE__ */ jsxs30(DropdownMenuContent, { align: "end", className: "bg-white", children: [
2522
- /* @__PURE__ */ jsx50(DropdownMenuLabel, { className: "text-black", children: "My Account" }),
2523
- /* @__PURE__ */ jsx50(DropdownMenuSeparator, {}),
2524
- /* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Profile" }),
2525
- /* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Settings" }),
2526
- /* @__PURE__ */ jsx50(DropdownMenuItem, { className: "text-black", children: "Logout" })
2293
+ /* @__PURE__ */ jsxs29(DropdownMenuContent, { align: "end", className: "bg-white", children: [
2294
+ /* @__PURE__ */ jsx49(DropdownMenuLabel, { className: "text-black", children: "My Account" }),
2295
+ /* @__PURE__ */ jsx49(DropdownMenuSeparator, {}),
2296
+ /* @__PURE__ */ jsx49(DropdownMenuItem, { className: "text-black", children: "Profile" }),
2297
+ /* @__PURE__ */ jsx49(DropdownMenuItem, { className: "text-black", children: "Settings" }),
2298
+ /* @__PURE__ */ jsx49(DropdownMenuItem, { className: "text-black", children: "Logout" })
2527
2299
  ] })
2528
2300
  ] })
2529
2301
  ] })
@@ -2532,28 +2304,28 @@ function Navbar({
2532
2304
 
2533
2305
  // src/components/Chart/BarChart.tsx
2534
2306
  import { BarChart, Bar, Area, AreaChart, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, Legend } from "recharts";
2535
- import { jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
2307
+ import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
2536
2308
  var ChartComponent = ({ className, style, ...props }) => {
2537
2309
  const data = Array.isArray(props?.data) ? props.data : [];
2538
2310
  const chartType = props.chartType || "bar";
2539
2311
  const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
2540
- return /* @__PURE__ */ jsx51("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx51(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs31(BarChart, { data, children: [
2541
- /* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
2542
- /* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
2543
- /* @__PURE__ */ jsx51(YAxis, {}),
2544
- /* @__PURE__ */ jsx51(Tooltip, {}),
2545
- /* @__PURE__ */ jsx51(Legend, { verticalAlign: legendsPosition, align: "center" }),
2546
- /* @__PURE__ */ jsx51(Bar, { dataKey: "value", fill: "#00695C" })
2547
- ] }) : /* @__PURE__ */ jsxs31(AreaChart, { data, children: [
2548
- /* @__PURE__ */ jsx51("defs", { children: /* @__PURE__ */ jsxs31("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
2549
- /* @__PURE__ */ jsx51("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
2550
- /* @__PURE__ */ jsx51("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
2312
+ return /* @__PURE__ */ jsx50("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ jsx50(ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ jsxs30(BarChart, { data, children: [
2313
+ /* @__PURE__ */ jsx50(CartesianGrid, { strokeDasharray: "3 3" }),
2314
+ /* @__PURE__ */ jsx50(XAxis, { dataKey: "name" }),
2315
+ /* @__PURE__ */ jsx50(YAxis, {}),
2316
+ /* @__PURE__ */ jsx50(Tooltip, {}),
2317
+ /* @__PURE__ */ jsx50(Legend, { verticalAlign: legendsPosition, align: "center" }),
2318
+ /* @__PURE__ */ jsx50(Bar, { dataKey: "value", fill: "#00695C" })
2319
+ ] }) : /* @__PURE__ */ jsxs30(AreaChart, { data, children: [
2320
+ /* @__PURE__ */ jsx50("defs", { children: /* @__PURE__ */ jsxs30("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
2321
+ /* @__PURE__ */ jsx50("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
2322
+ /* @__PURE__ */ jsx50("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
2551
2323
  ] }) }),
2552
- /* @__PURE__ */ jsx51(CartesianGrid, { strokeDasharray: "3 3" }),
2553
- /* @__PURE__ */ jsx51(XAxis, { dataKey: "name" }),
2554
- /* @__PURE__ */ jsx51(YAxis, {}),
2555
- /* @__PURE__ */ jsx51(Tooltip, {}),
2556
- /* @__PURE__ */ jsx51(
2324
+ /* @__PURE__ */ jsx50(CartesianGrid, { strokeDasharray: "3 3" }),
2325
+ /* @__PURE__ */ jsx50(XAxis, { dataKey: "name" }),
2326
+ /* @__PURE__ */ jsx50(YAxis, {}),
2327
+ /* @__PURE__ */ jsx50(Tooltip, {}),
2328
+ /* @__PURE__ */ jsx50(
2557
2329
  Area,
2558
2330
  {
2559
2331
  type: "monotone",
@@ -2569,7 +2341,7 @@ var BarChart_default = ChartComponent;
2569
2341
 
2570
2342
  // src/components/Chart/PieChart.tsx
2571
2343
  import { PieChart, Pie, Cell, ResponsiveContainer as ResponsiveContainer2, Tooltip as Tooltip2, LabelList } from "recharts";
2572
- import { Fragment as Fragment14, jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
2344
+ import { Fragment as Fragment14, jsx as jsx51, jsxs as jsxs31 } from "react/jsx-runtime";
2573
2345
  var DonutChart = ({ className, style, ...props }) => {
2574
2346
  const data = Array.isArray(props?.data) ? props.data : [];
2575
2347
  const total = data.reduce((sum, d) => sum + d.value, 0);
@@ -2580,7 +2352,7 @@ var DonutChart = ({ className, style, ...props }) => {
2580
2352
  const renderLabel = ({ value, x, y }) => {
2581
2353
  if (value == null) return null;
2582
2354
  const percentage = (Number(value) / total * 100).toFixed(0);
2583
- return /* @__PURE__ */ jsxs32(
2355
+ return /* @__PURE__ */ jsxs31(
2584
2356
  "text",
2585
2357
  {
2586
2358
  x,
@@ -2602,33 +2374,33 @@ var DonutChart = ({ className, style, ...props }) => {
2602
2374
  const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
2603
2375
  const renderLegends = () => {
2604
2376
  if (!showLegends) return null;
2605
- return /* @__PURE__ */ jsx52(Fragment14, { children: data.map((d) => /* @__PURE__ */ jsxs32(
2377
+ return /* @__PURE__ */ jsx51(Fragment14, { children: data.map((d) => /* @__PURE__ */ jsxs31(
2606
2378
  "div",
2607
2379
  {
2608
2380
  className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
2609
2381
  children: [
2610
- /* @__PURE__ */ jsx52(
2382
+ /* @__PURE__ */ jsx51(
2611
2383
  "span",
2612
2384
  {
2613
2385
  className: "inline-block w-[16px] h-[16px] rounded",
2614
2386
  style: { backgroundColor: d.color }
2615
2387
  }
2616
2388
  ),
2617
- /* @__PURE__ */ jsx52("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
2389
+ /* @__PURE__ */ jsx51("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
2618
2390
  ]
2619
2391
  },
2620
2392
  d.name
2621
2393
  )) });
2622
2394
  };
2623
- return /* @__PURE__ */ jsxs32(
2395
+ return /* @__PURE__ */ jsxs31(
2624
2396
  "div",
2625
2397
  {
2626
2398
  className: `relative flex items-center ${wrapperClass} ${className}`,
2627
2399
  style,
2628
2400
  children: [
2629
- /* @__PURE__ */ jsxs32("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
2630
- data.length > 0 && /* @__PURE__ */ jsx52(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs32(PieChart, { children: [
2631
- /* @__PURE__ */ jsxs32(
2401
+ /* @__PURE__ */ jsxs31("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
2402
+ data.length > 0 && /* @__PURE__ */ jsx51(ResponsiveContainer2, { width: "100%", height: "100%", children: /* @__PURE__ */ jsxs31(PieChart, { children: [
2403
+ /* @__PURE__ */ jsxs31(
2632
2404
  Pie,
2633
2405
  {
2634
2406
  data,
@@ -2640,8 +2412,8 @@ var DonutChart = ({ className, style, ...props }) => {
2640
2412
  labelLine: false,
2641
2413
  isAnimationActive: false,
2642
2414
  children: [
2643
- data.map((entry, index) => /* @__PURE__ */ jsx52(Cell, { fill: entry.color }, `cell-${index}`)),
2644
- /* @__PURE__ */ jsx52(
2415
+ data.map((entry, index) => /* @__PURE__ */ jsx51(Cell, { fill: entry.color }, `cell-${index}`)),
2416
+ /* @__PURE__ */ jsx51(
2645
2417
  LabelList,
2646
2418
  {
2647
2419
  dataKey: "value",
@@ -2652,14 +2424,14 @@ var DonutChart = ({ className, style, ...props }) => {
2652
2424
  ]
2653
2425
  }
2654
2426
  ),
2655
- /* @__PURE__ */ jsx52(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
2427
+ /* @__PURE__ */ jsx51(Tooltip2, { formatter: (value, name) => [`${value}k`, name] })
2656
2428
  ] }) }),
2657
- /* @__PURE__ */ jsxs32("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: [
2429
+ /* @__PURE__ */ jsxs31("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: [
2658
2430
  total,
2659
2431
  "k"
2660
2432
  ] })
2661
2433
  ] }),
2662
- /* @__PURE__ */ jsx52("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
2434
+ /* @__PURE__ */ jsx51("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
2663
2435
  w-full md:w-auto`, children: renderLegends() })
2664
2436
  ]
2665
2437
  }
@@ -2668,10 +2440,10 @@ var DonutChart = ({ className, style, ...props }) => {
2668
2440
  var PieChart_default = DonutChart;
2669
2441
 
2670
2442
  // src/components/Blocks/EmailComposer.tsx
2671
- import { jsx as jsx53, jsxs as jsxs33 } from "react/jsx-runtime";
2443
+ import { jsx as jsx52, jsxs as jsxs32 } from "react/jsx-runtime";
2672
2444
  function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
2673
- return /* @__PURE__ */ jsx53("div", { className, style, children: /* @__PURE__ */ jsxs33("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
2674
- /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2445
+ return /* @__PURE__ */ jsx52("div", { className, style, children: /* @__PURE__ */ jsxs32("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
2446
+ /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2675
2447
  "input",
2676
2448
  {
2677
2449
  type: "email",
@@ -2680,8 +2452,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2680
2452
  required: true
2681
2453
  }
2682
2454
  ) }),
2683
- /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsxs33("div", { className: "flex items-center gap-2", children: [
2684
- /* @__PURE__ */ jsx53(
2455
+ /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsxs32("div", { className: "flex items-center gap-2", children: [
2456
+ /* @__PURE__ */ jsx52(
2685
2457
  "input",
2686
2458
  {
2687
2459
  type: "email",
@@ -2692,7 +2464,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2692
2464
  required: true
2693
2465
  }
2694
2466
  ),
2695
- !showCc && /* @__PURE__ */ jsx53(
2467
+ !showCc && /* @__PURE__ */ jsx52(
2696
2468
  "button",
2697
2469
  {
2698
2470
  onClick: () => setShowCc?.(true),
@@ -2700,7 +2472,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2700
2472
  children: "Cc"
2701
2473
  }
2702
2474
  ),
2703
- !showBcc && /* @__PURE__ */ jsx53(
2475
+ !showBcc && /* @__PURE__ */ jsx52(
2704
2476
  "button",
2705
2477
  {
2706
2478
  onClick: () => setShowBcc?.(true),
@@ -2709,7 +2481,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2709
2481
  }
2710
2482
  )
2711
2483
  ] }) }),
2712
- showCc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2484
+ showCc && /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2713
2485
  "input",
2714
2486
  {
2715
2487
  type: "text",
@@ -2719,7 +2491,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2719
2491
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
2720
2492
  }
2721
2493
  ) }),
2722
- showBcc && /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2494
+ showBcc && /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2723
2495
  "input",
2724
2496
  {
2725
2497
  type: "text",
@@ -2729,7 +2501,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2729
2501
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
2730
2502
  }
2731
2503
  ) }),
2732
- /* @__PURE__ */ jsx53("div", { className: "mb-3", children: /* @__PURE__ */ jsx53(
2504
+ /* @__PURE__ */ jsx52("div", { className: "mb-3", children: /* @__PURE__ */ jsx52(
2733
2505
  "input",
2734
2506
  {
2735
2507
  type: "text",
@@ -2739,11 +2511,11 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
2739
2511
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
2740
2512
  }
2741
2513
  ) }),
2742
- /* @__PURE__ */ jsx53("div", { className: "mb-4", children: /* @__PURE__ */ jsx53(MyEditor, { value: body, onChange: setBody }) }),
2743
- /* @__PURE__ */ jsxs33("div", { className: "flex justify-end gap-2", children: [
2744
- /* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
2745
- /* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
2746
- /* @__PURE__ */ jsx53("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
2514
+ /* @__PURE__ */ jsx52("div", { className: "mb-4", children: /* @__PURE__ */ jsx52(MyEditor, { value: body, onChange: setBody }) }),
2515
+ /* @__PURE__ */ jsxs32("div", { className: "flex justify-end gap-2", children: [
2516
+ /* @__PURE__ */ jsx52("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
2517
+ /* @__PURE__ */ jsx52("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
2518
+ /* @__PURE__ */ jsx52("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
2747
2519
  ] })
2748
2520
  ] }) });
2749
2521
  }