@algorithm-shift/design-system 1.2.54 → 1.2.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -32,6 +32,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
32
32
  var src_exports = {};
33
33
  __export(src_exports, {
34
34
  Accordion: () => Accordion_default,
35
+ AccordionGroup: () => AccordionGroup_default,
35
36
  BarChart: () => BarChart_default,
36
37
  Breadcrumb: () => Breadcrumb_default,
37
38
  Button: () => Button_default,
@@ -60,6 +61,7 @@ __export(src_exports, {
60
61
  RichText: () => RichText,
61
62
  Search: () => SearchInput_default,
62
63
  Shape: () => Shape_default,
64
+ Slot: () => Slot_default,
63
65
  Spacer: () => Spacer_default,
64
66
  Stages: () => Stages_default,
65
67
  SwitchToggle: () => SwitchToggle_default,
@@ -177,6 +179,22 @@ var Accordion = ({
177
179
  };
178
180
  var Accordion_default = Accordion;
179
181
 
182
+ // src/components/Layout/Slot.tsx
183
+ var import_jsx_runtime6 = require("react/jsx-runtime");
184
+ var Slot = ({
185
+ children
186
+ }) => {
187
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children });
188
+ };
189
+ var Slot_default = Slot;
190
+
191
+ // src/components/Layout/AccordionGroup.tsx
192
+ var import_jsx_runtime7 = require("react/jsx-runtime");
193
+ var AccordionGroup = ({ children, style, className }) => {
194
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className, style, children });
195
+ };
196
+ var AccordionGroup_default = AccordionGroup;
197
+
180
198
  // src/components/ui/button.tsx
181
199
  var import_react_slot = require("@radix-ui/react-slot");
182
200
  var import_class_variance_authority = require("class-variance-authority");
@@ -199,7 +217,7 @@ function getInitials(name) {
199
217
  }
200
218
 
201
219
  // src/components/ui/button.tsx
202
- var import_jsx_runtime6 = require("react/jsx-runtime");
220
+ var import_jsx_runtime8 = require("react/jsx-runtime");
203
221
  var buttonVariants = (0, import_class_variance_authority.cva)(
204
222
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
205
223
  {
@@ -233,7 +251,7 @@ function Button({
233
251
  ...props
234
252
  }) {
235
253
  const Comp = asChild ? import_react_slot.Slot : "button";
236
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
254
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
237
255
  Comp,
238
256
  {
239
257
  "data-slot": "button",
@@ -244,14 +262,14 @@ function Button({
244
262
  }
245
263
 
246
264
  // src/components/Basic/Button/Button.tsx
247
- var import_jsx_runtime7 = require("react/jsx-runtime");
265
+ var import_jsx_runtime9 = require("react/jsx-runtime");
248
266
  var ButtonWrapper = ({
249
267
  className,
250
268
  style,
251
269
  textContent = "Button",
252
270
  ...props
253
271
  }) => {
254
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
272
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
255
273
  Button,
256
274
  {
257
275
  ...props,
@@ -267,7 +285,7 @@ var Button_default = ButtonWrapper;
267
285
  var image_placeholder_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAD25JREFUeJzt3XfwHGUdx/H3LyEJoQihJVITIEEQBUQHIQEBQaRMwApIyS8UQQREBQUZRaUXUQwwYoShSlWqQ5ci1ZE2YkIgEBIggNQEQgKk+Mf3t/7utt2ze7u35T6vmZ1M7vae57m7/fxu99nd5wERERERERERERERERERERERERERERERERERERERERERERERERERERERERGR7tJTdANiDAIOBDag3O2sm/eBS4Dnim6IxLsAWKKlkOVtYETrr6j+BhTdgBhfL7oBXWwYsH3RjSiDMgdkUNEN6HKDi25AGSxVdAMSeA14q+hG1FQPsFHRjZBk3qV5v/joYptTa0sTPA7pLbJBZVHmXSyRwikgIjEUEJEYCohIDAVEJIYCIhJDARGJoYCIxFBARGIoICIxqnQtVtYGAbsCewCfB9bELtB7G/gPcBdwBTC7qAaKxMnrWqweYC/gRVrfF/ERcB52+Xed6VqsCN22i7U0cBlwJbCOw/qDgMOAp4DP5dguKaluCshg4AZgnxSvXQu4F9sVky7STccgZwE7hTw+D7gFeBKYD4wEdgHG+NZbHrgR2AR4M7dWijjK8hhkLOHHGH8g/PiiB/g2FgT/ay5uox1lpWOQCsoyIHcS3AB+6vC6McB/fa9bDKzfRlvKSAGJkGQXa1ngCGwXJMp04FxggWOZawDfB1YKeW5ogrbFGQns4HvsZuAMh9c+C0zEdsE8PX2PHZ9F40psAvBF32PvAX/EfUigTwBHYl3oacwHLgSedlx/GWwbHRWzzgxgEvBByjZFuh63IWMudyxvCPCCY5nt/IJ8N6SszRK8vgd41Pf6f6VsS1mF/YJELW/g3u0d9suddJkLrO5Y37WOZV7nWF4iixwrn+tY3uaO5bUbkEm+cmalKON4XxkfUq8ewCQBWQLs7FDm0IRlxi3fcXwfCxzLW+hYXqIv2XXdxxzXm457mNqxaki9Sfl3KQYDK6RrTmLjgduws/ojO1RnnI9w2+VZAEzNoL7FWA+ji8cd1xvoWnk73byzsJ/bRtOAnzi+fg72l+gXwCohz29KgjeSQJr3HPaaRe02xMEE4CL6/zhtA2xHupAn9SLBYZbmAGcCLzm8fgmwO3Aabidlw8wDzgGmOK6/F3Zs6e9EWQ07l5Ur/8/UQTnXl1Uv1tm+ct4k+e7Rqb4y3if/8YInEL5b+xLZ96LVvRfrUILvz0md9qOj+H92VybYqxVnIPCtkDKdP+QU/L8cjdYE7qF+Xc2l1A0BuZ3gQdlpuA+teRiwnu+xm9ttVIxeosPhUUg6pBsC8gbW/ddoM2wjbHU8sjN2iUqjBcCl2TQtoBfr9/d/L09hu3WNFJKS+YDmfbi9c64vyzPpY7CuWf9+6MPAFgSPJ1YGTif8GOCkNtoRpzeivkewHrNx2Ik6//Mv035I6n4MMoHm9zYvj0pOb6hgOnaWNE9Z3w9yFMGNwFueBa7BJo65H+vKDFvvcWxjylov8eHw5BWSugdkGM33/5ySRyU92JwRe5N/OCD7gPRgXYZpT1Y9T/pLJuJMxC0cnjxCUveAAKyInXDclprMWJbHHYU9wDHAxyQLx73A8Azq90saDk/WIemGgNROntMffAa7ALFVMGZi53vy6MxIGw5PliFRQCqoE/ODrAv8ALvA8j7gIeAm7MTgl8nnTD60Hw5PViFRQCqorhPoHEA24fCMJTokox3LUEAqqI4BOQC7+C6rcHjaDYkCUkF1C0he4fC0ExIFpILqFJC8w+FJGxIFpILqEpBOhcOTJiQKSAXVISCdDodnLHYzmr/eVwgPiQKSgR7sJv7x2M3xeat6QIoKhydJSLohIMth4zBvkVcFv6b/w5vaV2GeqhyQAyk2HB7XkNQ9ICtgt0177+2EPCqZR/MHuFcelTTIKyDLYVd37o37PSFJlCUcHpeQ1D0g+9P83vy3DmTC/wFW5ZbbRsOxAQe8Mu8n21/CsoXD0yokdQ+Ibrl1MBz4O/Dphse2Bm4lm5AcCEwmeKXoo9iYwHMyqCOtB7Gbv97zPb46diGm6xn3rtMtAfHCsVHIc+NoPyQHUd5weB4Evkp4SO7qfHOqoRsCEhcOzzhs7Kk0ITkIG46zzOHwPER4SFYroC2VUPeADMfu2/aHYyHB/dCxJA9JlcLhiQqJhKhzQLxwbOh7/GNsGJ9DiA7J8g7lVzEcHoUkB1XqxRqOjcbnb/NH2Mkiz8GE9zo9QHxIol5XdG9VUlsR3rulXqwUqhIQ13B4ojb2BwkPSV3C4YkKSW+BbcqaAtInaTg8riGpWzg841BA2lb2gIwgXTg8rUJS13CAThRGqsskniOwrtyoA/IbHcqY3PfvBTQfeG+FTemwPuU4IF+nb/kn7jN5SUp16MXKIhyeyYT3bo2mHOGYiI3PdR82d+Kl2Iy8gzrYBolQxl2suN2q3duoO2p3qsjdqoFE9zi9iXU5b0e6P3raxcpA2QIyArvsPutweMp2zLEUwfGRw5bZ2AiSWyYoWwHJgH9jOSCPShrEBSTvcHj8ISn6gPw6WgekcZmBTfWwaYty6x4Qb7fZWxbnUcndNG+IeV8BGhWQuHCMz6EduwJ/Bk7G7Qx7nr5JsoA0LlOwG4XGhJRb94BsRP/lRUuAO/KoZBVsOrMrsLny8hYWkE6Ho2yGEjwOeR6bJCjJeMNPYHNJrt1Xbt0DAjar2DXA77DpLSrPH5Cz6O5weC6n+f2/j40RsCrwPayHy3XK7sXYdVk/Dnmut0PvR1LyByTsgLnbwgGwG8HPYU/fOmsAP8S6otPukvXm+zakXf6A+JcP6b5wgJ3zeJvmz+L6mPVHAcdh07glCchDwH4Uf9wlEeIC0q3h8PyJ5s9jAW6TGm0I/Ap4BvegzAf+gp10HZrlm5D2RAWk28MBsCPBz2VCwjI2w6bVezGkrKjlPayTZjd09r5wYQFROMxA4HWaP5tb2yhvS+zk4mzcw/I29ku2A/nNoyIx/AFROJqdR/Pn8zHtd18OwC5XuQC7fMU1LK8B52KXzddi/r8q8AfkV8U2p3S2JrihHpJh+UthQwVdgl2Q6RqWWcCZwOYZtkVCVHno0U7oAV6i+TO6J6e6hgBfA64mOMJm3PIscCLBK61rawD5DNcZRgFp7Tc0f0aLsHGu8rQsNmzrjdhur0tQFgNH5NwuF0PI8RaPnbB7EBZi+5t572sqIK19geDGeFQH618Ru0fF5VKXVzvYLr8B2O0Ai7DOjR3zqMT/c55LJQ0UEDfTaf6cHimgDSsCk4gPyLQC2uXxX30w0/WFSX5u1vT9f50Er5X8XO37/xbAyA7VvQp2lfNM4PCY9d6h2F0s/7a7duhaIap0T/qewMZFN6KE1gh5bC/sPpC8jMB+0Q/FjkmivAH8FuuSnptje0rB/5PZ6TsKtbgvT6b4vF2shR1/zm9R/yvYxZKdmInMRS1HNcnlrq8usQnWtTo1o/K8Cx4nEN+LORM4A7gQ6+GqvDKPavJQ0Q2ouKxmANsXO59xMNHhmI7NjzIaOJ+ahAPK/QvSC5yC/SXU5QutbYAdNHv2JJu5+H5J9HYyBfuOrsK6ULtap49BJJmjCX5Hm2VQbuOUdY3LEVTnD5emYBOuJvjF751BuUdjd276HY71Zkkf/YKU3wM0f0cvks1f+fGEX1YyDfhkBuXnTb8gAtixQKN1SDaAXJSbsDsK/b8kY7BJQKsQklQUkHq5luDBsmtv1vLE7zJ1bUhcaRerGu6i+Xt6ldZ/CPen/+TflcSf64ja3XqG8oaklmPzSjoHEfyuto9Zf2XsXvPG9W8k/p7zqoVEAZH/G4btBjV+V5Nj1j+R4Hdbt5AoINLkFpq/q7cI39hXIP6at7qEpCMBmeGrYNs8KpFM7Etwg9g1ZL2fhayXZUjKcp5kJ5rbNj2PSrYBXsDuST6F6pxF7UbLE5xL5DLfOstgl6M3rrOA8JDcQLVD0oMNJPEBFo6xxTZHysA/l8hcbBR3z48IbtBHASeFPF6HkIg0CZtL5Bt9zw0hOEjc6/Tfv6GQSO2FzSVyXd9zhxHciI/1vT7rkExFIZGS8c8l8gGwEsHxeN8ifBT3kwkPyfUoJFIDYXOJ3BHy2AkxZSgkUlthc4n4lznYycU4WYdkCpp3RErCP5eIfznVsZx2QhI2qNyBCd+HSC52IDoc87C5DV2dElHOX4kOSVh38hKC08aJFGIgNj1B2EZ6dorykoQkbHLQJdhcJppTRErjXIIb6QLSXy/lEpKwe+SXALfRfMKyNlbHxju6Gdil4LZIMuMIbqjnt1lmXEiOjXiuyHCMxy7inExOvWiN9zsvpIvmfKiBHqznqPF8iPP4tDFOJTwIZQvHJjRPI35fHpWoF6LaRgGXYrfOfinDcl1CcjvF7lYdEtKmzPkr0P0g4okLSdHhAI1qIgU7jvDR5O8Edsc6BCpJAZGsHEf/BY5gB8TjqXA4oNxj80r1/Byb6mw5shtZvlAKiGTtpaIbkCXtYonEUEBEYiggIjEUEJEYCohIDAVEJIYCIhJDARGJoYCIxEgSkHm+/8/JsiEiOXrf9/+5eVTSOBL4E/QPUylSdsvRPJ31MXlV9FlgR2xsV5EqWRr4CrBx0Q0RERERERERERERERERkZJLMgT9AGAPbNjKWdj4riJVMRzYD1gDeI4chh89j/5rWV7GJoMUqYJVgVfp337PyaMS/1xz++RRiUgOJtK87c53fWGSy90H+/4/NMFrRYrkv7jWeTBt3TAlEkMBEYmhgIjE6Emwrr9b7HXgXd9j04EjgRdalLUWMAn4VIL6Pc/11TGjxXpr99WxQYo6ngWOAGa2WG9kXx2jU9Qxra+OWS3WGwX8PmUdz2CfVas61u2rY/0UdUzF3sfLDnVMAtZLUccU4HBgdov1RmPvY5Tv8WHAar7Hkmz7TlznonvQoay7EpSXto572qzDZR67f7RZx90OdTTODZlXHQ+3WcftDnU80mYdf3Oo47EE5WVuoWPFLjfEN/ZJp1lcBox4o8063nKo450263i9JHW812Ydr3Sgjla/5mCT9biU9bFDWUCyY5BrHde7OsOyolyT0TpVqKMun1Un3odrHVe5VppkP2wINrPtujHrTAMupnVClwL2BzZKUH+aOiaQbrrqqcAl2K9mnEF9daQ5lpqCzTrrUkcv6Y6lktQxERiToo6ngcuARS3WG4y9jzR1/Bu43LGOA4g/lpoOXAR8lKIdIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIrX3Py2wAaYahY2rAAAAAElFTkSuQmCC";
268
286
 
269
287
  // src/components/Basic/Image/Image.tsx
270
- var import_jsx_runtime8 = require("react/jsx-runtime");
288
+ var import_jsx_runtime10 = require("react/jsx-runtime");
271
289
  var ImageControl = ({
272
290
  className,
273
291
  style,
@@ -284,21 +302,21 @@ var ImageControl = ({
284
302
  className
285
303
  );
286
304
  if (!imageUrl && !imageUrlExternal) {
287
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: imageClass, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
305
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: imageClass, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
288
306
  }
289
307
  const url = imageUrlExternal || imageUrl;
290
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("img", { src: url, alt: altText, className: defaultImgClass, style });
308
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("img", { src: url, alt: altText, className: defaultImgClass, style });
291
309
  };
292
310
  var Image_default = ImageControl;
293
311
 
294
312
  // src/components/Basic/Shape/Shape.tsx
295
- var import_jsx_runtime9 = require("react/jsx-runtime");
313
+ var import_jsx_runtime11 = require("react/jsx-runtime");
296
314
  var Shape = ({
297
315
  children,
298
316
  className,
299
317
  style
300
318
  }) => {
301
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className, style, children });
319
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className, style, children });
302
320
  };
303
321
  var Shape_default = Shape;
304
322
 
@@ -26635,9 +26653,10 @@ var __iconNode1634 = [
26635
26653
  var ZoomOut = createLucideIcon("zoom-out", __iconNode1634);
26636
26654
 
26637
26655
  // src/components/Basic/Breadcrumb/Breadcrumb.tsx
26638
- var import_jsx_runtime10 = require("react/jsx-runtime");
26639
- var Breadcrumb = ({ list = [], className, style, LinkComponent }) => {
26640
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
26656
+ var import_link3 = __toESM(require("next/link"));
26657
+ var import_jsx_runtime12 = require("react/jsx-runtime");
26658
+ var Breadcrumb = ({ list = [], className, style }) => {
26659
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
26641
26660
  "nav",
26642
26661
  {
26643
26662
  "aria-label": "breadcrumb",
@@ -26645,16 +26664,16 @@ var Breadcrumb = ({ list = [], className, style, LinkComponent }) => {
26645
26664
  style,
26646
26665
  children: list.map((item, index) => {
26647
26666
  const isLast = index === list.length - 1;
26648
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "flex items-center", children: [
26649
- item.url && !isLast && LinkComponent ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
26650
- LinkComponent,
26667
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex items-center", children: [
26668
+ item.url && !isLast ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
26669
+ import_link3.default,
26651
26670
  {
26652
26671
  href: item.url,
26653
26672
  className: "hover:text-foreground transition-colors",
26654
26673
  children: item.header
26655
26674
  }
26656
- ) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "text-foreground font-medium", children: item.header }),
26657
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(ChevronRight, { className: "mx-2 h-4 w-4 text-muted-foreground" })
26675
+ ) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-foreground font-medium", children: item.header }),
26676
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ChevronRight, { className: "mx-2 h-4 w-4 text-muted-foreground" })
26658
26677
  ] }, item.id);
26659
26678
  })
26660
26679
  }
@@ -26664,16 +26683,16 @@ var Breadcrumb_default = Breadcrumb;
26664
26683
 
26665
26684
  // src/components/ui/dropdown-menu.tsx
26666
26685
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
26667
- var import_jsx_runtime11 = require("react/jsx-runtime");
26686
+ var import_jsx_runtime13 = require("react/jsx-runtime");
26668
26687
  function DropdownMenu({
26669
26688
  ...props
26670
26689
  }) {
26671
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
26690
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
26672
26691
  }
26673
26692
  function DropdownMenuTrigger({
26674
26693
  ...props
26675
26694
  }) {
26676
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
26695
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
26677
26696
  DropdownMenuPrimitive.Trigger,
26678
26697
  {
26679
26698
  "data-slot": "dropdown-menu-trigger",
@@ -26686,7 +26705,7 @@ function DropdownMenuContent({
26686
26705
  sideOffset = 4,
26687
26706
  ...props
26688
26707
  }) {
26689
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
26708
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
26690
26709
  DropdownMenuPrimitive.Content,
26691
26710
  {
26692
26711
  "data-slot": "dropdown-menu-content",
@@ -26705,7 +26724,7 @@ function DropdownMenuItem({
26705
26724
  variant = "default",
26706
26725
  ...props
26707
26726
  }) {
26708
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
26727
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
26709
26728
  DropdownMenuPrimitive.Item,
26710
26729
  {
26711
26730
  "data-slot": "dropdown-menu-item",
@@ -26722,7 +26741,7 @@ function DropdownMenuItem({
26722
26741
  function DropdownMenuSub({
26723
26742
  ...props
26724
26743
  }) {
26725
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
26744
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
26726
26745
  }
26727
26746
  function DropdownMenuSubTrigger({
26728
26747
  className,
@@ -26730,7 +26749,7 @@ function DropdownMenuSubTrigger({
26730
26749
  children,
26731
26750
  ...props
26732
26751
  }) {
26733
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
26752
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
26734
26753
  DropdownMenuPrimitive.SubTrigger,
26735
26754
  {
26736
26755
  "data-slot": "dropdown-menu-sub-trigger",
@@ -26742,7 +26761,7 @@ function DropdownMenuSubTrigger({
26742
26761
  ...props,
26743
26762
  children: [
26744
26763
  children,
26745
- /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(ChevronRight, { className: "ml-auto size-4" })
26764
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ChevronRight, { className: "ml-auto size-4" })
26746
26765
  ]
26747
26766
  }
26748
26767
  );
@@ -26751,7 +26770,7 @@ function DropdownMenuSubContent({
26751
26770
  className,
26752
26771
  ...props
26753
26772
  }) {
26754
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
26773
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
26755
26774
  DropdownMenuPrimitive.SubContent,
26756
26775
  {
26757
26776
  "data-slot": "dropdown-menu-sub-content",
@@ -26765,11 +26784,12 @@ function DropdownMenuSubContent({
26765
26784
  }
26766
26785
 
26767
26786
  // src/components/Basic/ButtonGroup/ButtonGroup.tsx
26768
- var import_jsx_runtime12 = require("react/jsx-runtime");
26769
- function SplitButton({ style, textContent, className, list = [], LinkComponent }) {
26787
+ var import_link4 = __toESM(require("next/link"));
26788
+ var import_jsx_runtime14 = require("react/jsx-runtime");
26789
+ function SplitButton({ style, textContent, className, list = [] }) {
26770
26790
  const bgColor = style?.backgroundColor || "";
26771
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "inline-flex rounded-md overflow-hidden border border-teal-200 bg-teal-700 items-center focus:ring-0", style: { backgroundColor: bgColor }, children: [
26772
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
26791
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "inline-flex rounded-md overflow-hidden border border-teal-200 bg-teal-700 items-center focus:ring-0", style: { backgroundColor: bgColor }, children: [
26792
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
26773
26793
  Button,
26774
26794
  {
26775
26795
  className: `rounded-none border-r px-4 py-2 text-whit focus:ring-0 ${className || ""}`,
@@ -26777,17 +26797,17 @@ function SplitButton({ style, textContent, className, list = [], LinkComponent }
26777
26797
  children: textContent || "Button"
26778
26798
  }
26779
26799
  ),
26780
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(DropdownMenu, { children: [
26781
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
26800
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(DropdownMenu, { children: [
26801
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
26782
26802
  Button,
26783
26803
  {
26784
26804
  className: "rounded-none bg-teal-700 px-4 py-2 text-white ring-0 shadow-none hover:bg-teal-600 focus:ring-0",
26785
26805
  "aria-label": "Open Dropdown",
26786
26806
  style: { backgroundColor: bgColor },
26787
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ChevronDown, { className: "w-4 h-4" })
26807
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ChevronDown, { className: "w-4 h-4" })
26788
26808
  }
26789
26809
  ) }),
26790
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DropdownMenuContent, { align: "end", className: "bg-white min-w-[120px]", children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(DropdownMenuItem, { className: "text-black", children: LinkComponent ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(LinkComponent, { href: item.url || "#", children: item.header }) : item.header }, item.id)) })
26810
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuContent, { align: "end", className: "bg-white min-w-[120px]", children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_link4.default, { href: item.url || "#", children: item.header }) }, item.id)) })
26791
26811
  ] })
26792
26812
  ] });
26793
26813
  }
@@ -26795,7 +26815,7 @@ function SplitButton({ style, textContent, className, list = [], LinkComponent }
26795
26815
  // src/components/Basic/Icon/Icon.tsx
26796
26816
  var faSolid = __toESM(require("@fortawesome/free-solid-svg-icons"));
26797
26817
  var import_react_fontawesome = require("@fortawesome/react-fontawesome");
26798
- var import_jsx_runtime13 = require("react/jsx-runtime");
26818
+ var import_jsx_runtime15 = require("react/jsx-runtime");
26799
26819
  var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize = 10, style }) => {
26800
26820
  let content = null;
26801
26821
  if (iconType === "fontawesome") {
@@ -26804,7 +26824,7 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
26804
26824
  if (!faIcon) {
26805
26825
  return null;
26806
26826
  }
26807
- content = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
26827
+ content = /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
26808
26828
  import_react_fontawesome.FontAwesomeIcon,
26809
26829
  {
26810
26830
  icon: faIcon,
@@ -26818,16 +26838,16 @@ var Icon2 = ({ iconType = "fontawesome", name = "Envelope", className, fontSize
26818
26838
  if (!Lucide) {
26819
26839
  return null;
26820
26840
  }
26821
- content = /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
26841
+ content = /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Lucide, { className: cn("w-5 h-5"), size: fontSize, style: { color: style?.color } });
26822
26842
  }
26823
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { style, className, children: content });
26843
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style, className, children: content });
26824
26844
  };
26825
26845
  var Icon_default = Icon2;
26826
26846
 
26827
26847
  // src/components/ui/input.tsx
26828
- var import_jsx_runtime14 = require("react/jsx-runtime");
26848
+ var import_jsx_runtime16 = require("react/jsx-runtime");
26829
26849
  function Input({ className, type, ...props }) {
26830
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
26850
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
26831
26851
  "input",
26832
26852
  {
26833
26853
  type,
@@ -26844,7 +26864,7 @@ function Input({ className, type, ...props }) {
26844
26864
  }
26845
26865
 
26846
26866
  // src/components/Inputs/TextInput/TextInput.tsx
26847
- var import_jsx_runtime15 = require("react/jsx-runtime");
26867
+ var import_jsx_runtime17 = require("react/jsx-runtime");
26848
26868
  var TextInput = ({ className, style, ...props }) => {
26849
26869
  const placeholder = props.placeholder || "Placeholder text";
26850
26870
  const isEditable = props.isEditable ?? true;
@@ -26854,8 +26874,8 @@ var TextInput = ({ className, style, ...props }) => {
26854
26874
  const handleChange = (e) => {
26855
26875
  props.onChange?.(e);
26856
26876
  };
26857
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
26858
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
26877
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
26878
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
26859
26879
  Input,
26860
26880
  {
26861
26881
  type: "text",
@@ -26873,13 +26893,13 @@ var TextInput = ({ className, style, ...props }) => {
26873
26893
  readOnly: isReadonly
26874
26894
  }
26875
26895
  ),
26876
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26896
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26877
26897
  ] });
26878
26898
  };
26879
26899
  var TextInput_default = TextInput;
26880
26900
 
26881
26901
  // src/components/Inputs/NumberInput/NumberInput.tsx
26882
- var import_jsx_runtime16 = require("react/jsx-runtime");
26902
+ var import_jsx_runtime18 = require("react/jsx-runtime");
26883
26903
  var NumberInput = ({ className, style, ...props }) => {
26884
26904
  const placeholder = props.placeholder ?? "Placeholder text";
26885
26905
  const isEditable = props.isEditable ?? true;
@@ -26889,10 +26909,10 @@ var NumberInput = ({ className, style, ...props }) => {
26889
26909
  const handleChange = (e) => {
26890
26910
  props.onChange?.(e);
26891
26911
  };
26892
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_jsx_runtime16.Fragment, { children: [
26893
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "flex justify-start items-center relative", children: [
26894
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26895
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
26912
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
26913
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex justify-start items-center relative", children: [
26914
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Calculator, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26915
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
26896
26916
  Input,
26897
26917
  {
26898
26918
  type: "number",
@@ -26912,13 +26932,13 @@ var NumberInput = ({ className, style, ...props }) => {
26912
26932
  }
26913
26933
  )
26914
26934
  ] }),
26915
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26935
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26916
26936
  ] });
26917
26937
  };
26918
26938
  var NumberInput_default = NumberInput;
26919
26939
 
26920
26940
  // src/components/Inputs/EmailInput/EmailInput.tsx
26921
- var import_jsx_runtime17 = require("react/jsx-runtime");
26941
+ var import_jsx_runtime19 = require("react/jsx-runtime");
26922
26942
  var EmailInput = ({ className, style, ...props }) => {
26923
26943
  const placeholder = props.placeholder ?? "Placeholder text";
26924
26944
  const isEditable = props.isEditable ?? true;
@@ -26928,10 +26948,10 @@ var EmailInput = ({ className, style, ...props }) => {
26928
26948
  const handleChange = (e) => {
26929
26949
  props.onChange?.(e);
26930
26950
  };
26931
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
26932
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex justify-start items-center relative", children: [
26933
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26934
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
26951
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_jsx_runtime19.Fragment, { children: [
26952
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex justify-start items-center relative", children: [
26953
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Mail, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26954
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
26935
26955
  Input,
26936
26956
  {
26937
26957
  type: "email",
@@ -26950,13 +26970,13 @@ var EmailInput = ({ className, style, ...props }) => {
26950
26970
  }
26951
26971
  )
26952
26972
  ] }),
26953
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26973
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26954
26974
  ] });
26955
26975
  };
26956
26976
  var EmailInput_default = EmailInput;
26957
26977
 
26958
26978
  // src/components/Inputs/PasswordInput/PasswordInput.tsx
26959
- var import_jsx_runtime18 = require("react/jsx-runtime");
26979
+ var import_jsx_runtime20 = require("react/jsx-runtime");
26960
26980
  var PasswordInput = ({ className, style, ...props }) => {
26961
26981
  const placeholder = props.placeholder ?? "Placeholder text";
26962
26982
  const isEditable = props.isEditable ?? true;
@@ -26966,10 +26986,10 @@ var PasswordInput = ({ className, style, ...props }) => {
26966
26986
  const handleChange = (e) => {
26967
26987
  props.onChange?.(e);
26968
26988
  };
26969
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
26970
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex justify-start items-center relative", children: [
26971
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26972
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
26989
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
26990
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex justify-start items-center relative", children: [
26991
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ScanEye, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
26992
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
26973
26993
  Input,
26974
26994
  {
26975
26995
  type: "password",
@@ -26989,15 +27009,15 @@ var PasswordInput = ({ className, style, ...props }) => {
26989
27009
  }
26990
27010
  )
26991
27011
  ] }),
26992
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27012
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
26993
27013
  ] });
26994
27014
  };
26995
27015
  var PasswordInput_default = PasswordInput;
26996
27016
 
26997
27017
  // src/components/ui/textarea.tsx
26998
- var import_jsx_runtime19 = require("react/jsx-runtime");
27018
+ var import_jsx_runtime21 = require("react/jsx-runtime");
26999
27019
  function Textarea({ className, ...props }) {
27000
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
27020
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
27001
27021
  "textarea",
27002
27022
  {
27003
27023
  "data-slot": "textarea",
@@ -27011,7 +27031,7 @@ function Textarea({ className, ...props }) {
27011
27031
  }
27012
27032
 
27013
27033
  // src/components/Inputs/Textarea/Textarea.tsx
27014
- var import_jsx_runtime20 = require("react/jsx-runtime");
27034
+ var import_jsx_runtime22 = require("react/jsx-runtime");
27015
27035
  var Textarea2 = ({ className, style, ...props }) => {
27016
27036
  const placeholder = props.placeholder ?? "Placeholder text";
27017
27037
  const isEditable = props.isEditable ?? true;
@@ -27021,8 +27041,8 @@ var Textarea2 = ({ className, style, ...props }) => {
27021
27041
  const handleChange = (e) => {
27022
27042
  props.onChange?.(e);
27023
27043
  };
27024
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_jsx_runtime20.Fragment, { children: [
27025
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
27044
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
27045
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
27026
27046
  Textarea,
27027
27047
  {
27028
27048
  id: "textarea-field",
@@ -27040,13 +27060,13 @@ var Textarea2 = ({ className, style, ...props }) => {
27040
27060
  readOnly: isReadonly
27041
27061
  }
27042
27062
  ),
27043
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27063
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27044
27064
  ] });
27045
27065
  };
27046
27066
  var Textarea_default = Textarea2;
27047
27067
 
27048
27068
  // src/components/Inputs/UrlInput/UrlInput.tsx
27049
- var import_jsx_runtime21 = require("react/jsx-runtime");
27069
+ var import_jsx_runtime23 = require("react/jsx-runtime");
27050
27070
  var UrlInput = ({ className, style, ...props }) => {
27051
27071
  const placeholder = props.placeholder ?? "Placeholder text";
27052
27072
  const isEditable = props.isEditable ?? true;
@@ -27056,10 +27076,10 @@ var UrlInput = ({ className, style, ...props }) => {
27056
27076
  const handleChange = (e) => {
27057
27077
  props.onChange?.(e);
27058
27078
  };
27059
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
27060
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex justify-start items-center relative", children: [
27061
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "bg-[#E9E9E9] absolute px-10 text-center top-1/2 h-full justify-center items-center flex w-10 -translate-y-1/2 text-[#383838] font-[500] text-[12px]", children: "https://" }),
27062
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
27079
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_jsx_runtime23.Fragment, { children: [
27080
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex justify-start items-center relative", children: [
27081
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "bg-[#E9E9E9] absolute px-10 text-center top-1/2 h-full justify-center items-center flex w-10 -translate-y-1/2 text-[#383838] font-[500] text-[12px]", children: "https://" }),
27082
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
27063
27083
  Input,
27064
27084
  {
27065
27085
  id: "url-field",
@@ -27079,19 +27099,19 @@ var UrlInput = ({ className, style, ...props }) => {
27079
27099
  }
27080
27100
  )
27081
27101
  ] }),
27082
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27102
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27083
27103
  ] });
27084
27104
  };
27085
27105
  var UrlInput_default = UrlInput;
27086
27106
 
27087
27107
  // src/components/ui/checkbox.tsx
27088
27108
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
27089
- var import_jsx_runtime22 = require("react/jsx-runtime");
27109
+ var import_jsx_runtime24 = require("react/jsx-runtime");
27090
27110
  function Checkbox({
27091
27111
  className,
27092
27112
  ...props
27093
27113
  }) {
27094
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
27114
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
27095
27115
  CheckboxPrimitive.Root,
27096
27116
  {
27097
27117
  "data-slot": "checkbox",
@@ -27100,12 +27120,12 @@ function Checkbox({
27100
27120
  className
27101
27121
  ),
27102
27122
  ...props,
27103
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
27123
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
27104
27124
  CheckboxPrimitive.Indicator,
27105
27125
  {
27106
27126
  "data-slot": "checkbox-indicator",
27107
27127
  className: "flex items-center justify-center text-current transition-none",
27108
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Check, { className: "size-3.5" })
27128
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Check, { className: "size-3.5" })
27109
27129
  }
27110
27130
  )
27111
27131
  }
@@ -27114,12 +27134,12 @@ function Checkbox({
27114
27134
 
27115
27135
  // src/components/ui/label.tsx
27116
27136
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
27117
- var import_jsx_runtime23 = require("react/jsx-runtime");
27137
+ var import_jsx_runtime25 = require("react/jsx-runtime");
27118
27138
  function Label2({
27119
27139
  className,
27120
27140
  ...props
27121
27141
  }) {
27122
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
27142
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
27123
27143
  LabelPrimitive.Root,
27124
27144
  {
27125
27145
  "data-slot": "label",
@@ -27133,7 +27153,7 @@ function Label2({
27133
27153
  }
27134
27154
 
27135
27155
  // src/components/Inputs/Checkbox/Checkbox.tsx
27136
- var import_jsx_runtime24 = require("react/jsx-runtime");
27156
+ var import_jsx_runtime26 = require("react/jsx-runtime");
27137
27157
  var CheckboxInput = ({ className, style, ...props }) => {
27138
27158
  const isEditable = props.isEditable ?? true;
27139
27159
  const isDisabled = props.isDisabled ?? false;
@@ -27141,9 +27161,9 @@ var CheckboxInput = ({ className, style, ...props }) => {
27141
27161
  const handleChange = (value) => {
27142
27162
  props.onChange?.(value);
27143
27163
  };
27144
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_jsx_runtime24.Fragment, { children: [
27145
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "flex items-center space-x-2", children: [
27146
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
27164
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
27165
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex items-center space-x-2", children: [
27166
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
27147
27167
  Checkbox,
27148
27168
  {
27149
27169
  id: props.name || "checkbox",
@@ -27152,21 +27172,21 @@ var CheckboxInput = ({ className, style, ...props }) => {
27152
27172
  disabled: !isEditable || isDisabled
27153
27173
  }
27154
27174
  ),
27155
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Label2, { htmlFor: props.name || "checkbox", children: text })
27175
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Label2, { htmlFor: props.name || "checkbox", children: text })
27156
27176
  ] }) }),
27157
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27177
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27158
27178
  ] });
27159
27179
  };
27160
27180
  var Checkbox_default = CheckboxInput;
27161
27181
 
27162
27182
  // src/components/ui/radio-group.tsx
27163
27183
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
27164
- var import_jsx_runtime25 = require("react/jsx-runtime");
27184
+ var import_jsx_runtime27 = require("react/jsx-runtime");
27165
27185
  function RadioGroup2({
27166
27186
  className,
27167
27187
  ...props
27168
27188
  }) {
27169
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
27189
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
27170
27190
  RadioGroupPrimitive.Root,
27171
27191
  {
27172
27192
  "data-slot": "radio-group",
@@ -27179,7 +27199,7 @@ function RadioGroupItem({
27179
27199
  className,
27180
27200
  ...props
27181
27201
  }) {
27182
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
27202
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
27183
27203
  RadioGroupPrimitive.Item,
27184
27204
  {
27185
27205
  "data-slot": "radio-group-item",
@@ -27188,12 +27208,12 @@ function RadioGroupItem({
27188
27208
  className
27189
27209
  ),
27190
27210
  ...props,
27191
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
27211
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
27192
27212
  RadioGroupPrimitive.Indicator,
27193
27213
  {
27194
27214
  "data-slot": "radio-group-indicator",
27195
27215
  className: "relative flex items-center justify-center",
27196
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
27216
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Circle, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
27197
27217
  }
27198
27218
  )
27199
27219
  }
@@ -27201,7 +27221,7 @@ function RadioGroupItem({
27201
27221
  }
27202
27222
 
27203
27223
  // src/components/Inputs/RadioInput/RadioInput.tsx
27204
- var import_jsx_runtime26 = require("react/jsx-runtime");
27224
+ var import_jsx_runtime28 = require("react/jsx-runtime");
27205
27225
  var RadioInput = ({
27206
27226
  className,
27207
27227
  style,
@@ -27220,29 +27240,29 @@ var RadioInput = ({
27220
27240
  onChange?.(value);
27221
27241
  };
27222
27242
  const resolvedDefaultValue = (typeof defaultValue === "string" ? defaultValue : void 0) ?? options[0]?.value;
27223
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx_runtime26.Fragment, { children: [
27224
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
27243
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx_runtime28.Fragment, { children: [
27244
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
27225
27245
  RadioGroup2,
27226
27246
  {
27227
27247
  defaultValue: resolvedDefaultValue,
27228
27248
  onValueChange: handleChange,
27229
27249
  children: [
27230
- options.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "text-sm text-gray-500", children: "No options available" }),
27231
- options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex items-center space-x-2", children: [
27232
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
27233
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
27250
+ options.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "text-sm text-gray-500", children: "No options available" }),
27251
+ options.map((item) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "flex items-center space-x-2", children: [
27252
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(RadioGroupItem, { value: item.value, id: `radio-${item.value}` }),
27253
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Label2, { htmlFor: `radio-${item.value}`, children: item.label })
27234
27254
  ] }, item.value))
27235
27255
  ]
27236
27256
  }
27237
27257
  ) }),
27238
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27258
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27239
27259
  ] });
27240
27260
  };
27241
27261
  var RadioInput_default = RadioInput;
27242
27262
 
27243
27263
  // src/components/Inputs/MultiCheckbox/MultiCheckbox.tsx
27244
27264
  var import_react5 = require("react");
27245
- var import_jsx_runtime27 = require("react/jsx-runtime");
27265
+ var import_jsx_runtime29 = require("react/jsx-runtime");
27246
27266
  var MultiCheckbox = ({
27247
27267
  className,
27248
27268
  style,
@@ -27269,15 +27289,15 @@ var MultiCheckbox = ({
27269
27289
  },
27270
27290
  [onChange]
27271
27291
  );
27272
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
27292
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
27273
27293
  "div",
27274
27294
  {
27275
27295
  className: cn("flex flex-col gap-3", className),
27276
27296
  style,
27277
27297
  children: [
27278
- options.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("p", { className: "text-sm text-gray-500", children: "No options available." }),
27279
- options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)("div", { className: "flex items-center space-x-2", children: [
27280
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
27298
+ options.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "text-sm text-gray-500", children: "No options available." }),
27299
+ options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-center space-x-2", children: [
27300
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
27281
27301
  Checkbox,
27282
27302
  {
27283
27303
  id: opt.value,
@@ -27286,7 +27306,7 @@ var MultiCheckbox = ({
27286
27306
  disabled: !isEditable || isDisabled
27287
27307
  }
27288
27308
  ),
27289
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Label2, { htmlFor: opt.value, children: opt.label })
27309
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Label2, { htmlFor: opt.value, children: opt.label })
27290
27310
  ] }, opt.value))
27291
27311
  ]
27292
27312
  }
@@ -27297,7 +27317,7 @@ var MultiCheckbox_default = MultiCheckbox;
27297
27317
  // src/components/Global/TinyMceEditor.tsx
27298
27318
  var import_react6 = require("react");
27299
27319
  var import_tinymce_react = require("@tinymce/tinymce-react");
27300
- var import_jsx_runtime28 = require("react/jsx-runtime");
27320
+ var import_jsx_runtime30 = require("react/jsx-runtime");
27301
27321
  function MyEditor({
27302
27322
  value,
27303
27323
  onChange,
@@ -27322,7 +27342,7 @@ function MyEditor({
27322
27342
  }
27323
27343
  return toolbar;
27324
27344
  }, [isDefault]);
27325
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
27345
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
27326
27346
  import_tinymce_react.Editor,
27327
27347
  {
27328
27348
  apiKey: process.env.NEXT_PUBLIC_TINYMCE_API_KEY,
@@ -27366,9 +27386,9 @@ function MyEditor({
27366
27386
  }
27367
27387
 
27368
27388
  // src/components/Inputs/RichText/RichText.tsx
27369
- var import_jsx_runtime29 = require("react/jsx-runtime");
27389
+ var import_jsx_runtime31 = require("react/jsx-runtime");
27370
27390
  function RichText({ className, style, ...props }) {
27371
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
27391
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
27372
27392
  "div",
27373
27393
  {
27374
27394
  className: cn(className, props.errorMessage ? "border-red-500" : ""),
@@ -27377,8 +27397,8 @@ function RichText({ className, style, ...props }) {
27377
27397
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27378
27398
  },
27379
27399
  children: [
27380
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value, isDefault: true }),
27381
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27400
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(MyEditor, { onChange: (content) => props.onChange?.(content), value: props.value, isDefault: true }),
27401
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27382
27402
  ]
27383
27403
  }
27384
27404
  );
@@ -27386,16 +27406,16 @@ function RichText({ className, style, ...props }) {
27386
27406
 
27387
27407
  // src/components/ui/select.tsx
27388
27408
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
27389
- var import_jsx_runtime30 = require("react/jsx-runtime");
27409
+ var import_jsx_runtime32 = require("react/jsx-runtime");
27390
27410
  function Select({
27391
27411
  ...props
27392
27412
  }) {
27393
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive.Root, { "data-slot": "select", ...props });
27413
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Root, { "data-slot": "select", ...props });
27394
27414
  }
27395
27415
  function SelectValue({
27396
27416
  ...props
27397
27417
  }) {
27398
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
27418
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
27399
27419
  }
27400
27420
  function SelectTrigger({
27401
27421
  className,
@@ -27403,7 +27423,7 @@ function SelectTrigger({
27403
27423
  children,
27404
27424
  ...props
27405
27425
  }) {
27406
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
27426
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
27407
27427
  SelectPrimitive.Trigger,
27408
27428
  {
27409
27429
  "data-slot": "select-trigger",
@@ -27415,7 +27435,7 @@ function SelectTrigger({
27415
27435
  ...props,
27416
27436
  children: [
27417
27437
  children,
27418
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronDown, { className: "size-4 opacity-50" }) })
27438
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronDown, { className: "size-4 opacity-50" }) })
27419
27439
  ]
27420
27440
  }
27421
27441
  );
@@ -27426,7 +27446,7 @@ function SelectContent({
27426
27446
  position = "popper",
27427
27447
  ...props
27428
27448
  }) {
27429
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
27449
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
27430
27450
  SelectPrimitive.Content,
27431
27451
  {
27432
27452
  "data-slot": "select-content",
@@ -27438,8 +27458,8 @@ function SelectContent({
27438
27458
  position,
27439
27459
  ...props,
27440
27460
  children: [
27441
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectScrollUpButton, {}),
27442
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
27461
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollUpButton, {}),
27462
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
27443
27463
  SelectPrimitive.Viewport,
27444
27464
  {
27445
27465
  className: cn(
@@ -27449,7 +27469,7 @@ function SelectContent({
27449
27469
  children
27450
27470
  }
27451
27471
  ),
27452
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectScrollDownButton, {})
27472
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollDownButton, {})
27453
27473
  ]
27454
27474
  }
27455
27475
  ) });
@@ -27459,7 +27479,7 @@ function SelectItem({
27459
27479
  children,
27460
27480
  ...props
27461
27481
  }) {
27462
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
27482
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
27463
27483
  SelectPrimitive.Item,
27464
27484
  {
27465
27485
  "data-slot": "select-item",
@@ -27469,8 +27489,8 @@ function SelectItem({
27469
27489
  ),
27470
27490
  ...props,
27471
27491
  children: [
27472
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Check, { className: "size-4" }) }) }),
27473
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SelectPrimitive.ItemText, { children })
27492
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Check, { className: "size-4" }) }) }),
27493
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.ItemText, { children })
27474
27494
  ]
27475
27495
  }
27476
27496
  );
@@ -27479,7 +27499,7 @@ function SelectScrollUpButton({
27479
27499
  className,
27480
27500
  ...props
27481
27501
  }) {
27482
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
27502
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
27483
27503
  SelectPrimitive.ScrollUpButton,
27484
27504
  {
27485
27505
  "data-slot": "select-scroll-up-button",
@@ -27488,7 +27508,7 @@ function SelectScrollUpButton({
27488
27508
  className
27489
27509
  ),
27490
27510
  ...props,
27491
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronUp, { className: "size-4" })
27511
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronUp, { className: "size-4" })
27492
27512
  }
27493
27513
  );
27494
27514
  }
@@ -27496,7 +27516,7 @@ function SelectScrollDownButton({
27496
27516
  className,
27497
27517
  ...props
27498
27518
  }) {
27499
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
27519
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
27500
27520
  SelectPrimitive.ScrollDownButton,
27501
27521
  {
27502
27522
  "data-slot": "select-scroll-down-button",
@@ -27505,13 +27525,13 @@ function SelectScrollDownButton({
27505
27525
  className
27506
27526
  ),
27507
27527
  ...props,
27508
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ChevronDown, { className: "size-4" })
27528
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ChevronDown, { className: "size-4" })
27509
27529
  }
27510
27530
  );
27511
27531
  }
27512
27532
 
27513
27533
  // src/components/Inputs/Dropdown/Dropdown.tsx
27514
- var import_jsx_runtime31 = require("react/jsx-runtime");
27534
+ var import_jsx_runtime33 = require("react/jsx-runtime");
27515
27535
  var Dropdown = ({ className, style, ...props }) => {
27516
27536
  const list = props.data || [];
27517
27537
  const placeholder = props.placeholder ? props.placeholder : "Placeholder text";
@@ -27527,9 +27547,9 @@ var Dropdown = ({ className, style, ...props }) => {
27527
27547
  value: item[dataKey],
27528
27548
  label: item[dataLabel]
27529
27549
  }));
27530
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(import_jsx_runtime31.Fragment, { children: [
27531
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Select, { name: props.name, value: props.value, onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
27532
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
27550
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
27551
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(Select, { name: props.name, value: props.value, onValueChange: handleChange, disabled: isDisabled || !isEditable, children: [
27552
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
27533
27553
  SelectTrigger,
27534
27554
  {
27535
27555
  id: props.name || "select-field",
@@ -27539,24 +27559,24 @@ var Dropdown = ({ className, style, ...props }) => {
27539
27559
  borderColor: props.errorMessage ? "#f87171" : style?.borderColor
27540
27560
  },
27541
27561
  "aria-readonly": isReadonly,
27542
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectValue, { placeholder })
27562
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectValue, { placeholder })
27543
27563
  }
27544
27564
  ),
27545
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectContent, { children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
27565
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectContent, { children: options.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectItem, { value: opt.value, children: opt.label }, opt.value)) })
27546
27566
  ] }),
27547
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27567
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27548
27568
  ] });
27549
27569
  };
27550
27570
  var Dropdown_default = Dropdown;
27551
27571
 
27552
27572
  // src/components/ui/switch.tsx
27553
27573
  var SwitchPrimitive = __toESM(require("@radix-ui/react-switch"));
27554
- var import_jsx_runtime32 = require("react/jsx-runtime");
27574
+ var import_jsx_runtime34 = require("react/jsx-runtime");
27555
27575
  function Switch({
27556
27576
  className,
27557
27577
  ...props
27558
27578
  }) {
27559
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
27579
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
27560
27580
  SwitchPrimitive.Root,
27561
27581
  {
27562
27582
  "data-slot": "switch",
@@ -27565,7 +27585,7 @@ function Switch({
27565
27585
  className
27566
27586
  ),
27567
27587
  ...props,
27568
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
27588
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
27569
27589
  SwitchPrimitive.Thumb,
27570
27590
  {
27571
27591
  "data-slot": "switch-thumb",
@@ -27579,16 +27599,16 @@ function Switch({
27579
27599
  }
27580
27600
 
27581
27601
  // src/components/Inputs/SwitchToggle/SwitchToggle.tsx
27582
- var import_jsx_runtime33 = require("react/jsx-runtime");
27602
+ var import_jsx_runtime35 = require("react/jsx-runtime");
27583
27603
  var SwitchToggle = ({ className, style, ...props }) => {
27584
27604
  const isEditable = props.isEditable ?? true;
27585
27605
  const isDisabled = props.isDisabled ?? false;
27586
27606
  const handleChange = (value) => {
27587
27607
  props.onChange?.(value);
27588
27608
  };
27589
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
27590
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: "flex items-center space-x-2 mb-2", children: [
27591
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
27609
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
27610
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center space-x-2 mb-2", children: [
27611
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
27592
27612
  Switch,
27593
27613
  {
27594
27614
  id: props.name || "switch",
@@ -27597,9 +27617,9 @@ var SwitchToggle = ({ className, style, ...props }) => {
27597
27617
  disabled: isDisabled || !isEditable
27598
27618
  }
27599
27619
  ),
27600
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Label2, { htmlFor: props.name || "switch", children: props.text })
27620
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Label2, { htmlFor: props.name || "switch", children: props.text })
27601
27621
  ] }) }),
27602
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27622
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27603
27623
  ] });
27604
27624
  };
27605
27625
  var SwitchToggle_default = SwitchToggle;
@@ -27607,7 +27627,7 @@ var SwitchToggle_default = SwitchToggle;
27607
27627
  // src/components/Inputs/PhoneInput/PhoneInput.tsx
27608
27628
  var import_react_international_phone = require("react-international-phone");
27609
27629
  var import_style = require("react-international-phone/style.css");
27610
- var import_jsx_runtime34 = require("react/jsx-runtime");
27630
+ var import_jsx_runtime36 = require("react/jsx-runtime");
27611
27631
  var PhoneInput = ({ className, style, ...props }) => {
27612
27632
  const placeholder = props.placeholder ?? "Enter phone number";
27613
27633
  const isEditable = props.isEditable ?? true;
@@ -27615,8 +27635,8 @@ var PhoneInput = ({ className, style, ...props }) => {
27615
27635
  const handleChange = (val) => {
27616
27636
  props.onChange?.(val);
27617
27637
  };
27618
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
27619
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
27638
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(import_jsx_runtime36.Fragment, { children: [
27639
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
27620
27640
  import_react_international_phone.PhoneInput,
27621
27641
  {
27622
27642
  defaultCountry: "in",
@@ -27635,13 +27655,13 @@ var PhoneInput = ({ className, style, ...props }) => {
27635
27655
  disabled: isDisabled || !isEditable
27636
27656
  }
27637
27657
  ),
27638
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27658
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27639
27659
  ] });
27640
27660
  };
27641
27661
  var PhoneInput_default = PhoneInput;
27642
27662
 
27643
27663
  // src/components/Inputs/SearchInput/SearchInput.tsx
27644
- var import_jsx_runtime35 = require("react/jsx-runtime");
27664
+ var import_jsx_runtime37 = require("react/jsx-runtime");
27645
27665
  var SearchInput = ({ className, style, ...props }) => {
27646
27666
  const placeholder = props.placeholder ?? "Placeholder text";
27647
27667
  const isEditable = props.isEditable ?? true;
@@ -27651,10 +27671,10 @@ var SearchInput = ({ className, style, ...props }) => {
27651
27671
  const handleChange = (e) => {
27652
27672
  props.onChange?.(e);
27653
27673
  };
27654
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
27655
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex justify-start items-center relative", children: [
27656
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27657
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
27674
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
27675
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex justify-start items-center relative", children: [
27676
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27677
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
27658
27678
  Input,
27659
27679
  {
27660
27680
  type: "text",
@@ -27674,17 +27694,17 @@ var SearchInput = ({ className, style, ...props }) => {
27674
27694
  }
27675
27695
  )
27676
27696
  ] }),
27677
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27697
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27678
27698
  ] });
27679
27699
  };
27680
27700
  var SearchInput_default = SearchInput;
27681
27701
 
27682
27702
  // src/components/Inputs/FileInput/FileInput.tsx
27683
- var import_jsx_runtime36 = require("react/jsx-runtime");
27703
+ var import_jsx_runtime38 = require("react/jsx-runtime");
27684
27704
  var FileInput2 = ({ className, style, ...props }) => {
27685
27705
  const placeholder = props.placeholder ?? "Placeholder text";
27686
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "d-flex items-center relative align-middle", children: [
27687
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
27706
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "d-flex items-center relative align-middle", children: [
27707
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
27688
27708
  Input,
27689
27709
  {
27690
27710
  type: "file",
@@ -27703,13 +27723,13 @@ var FileInput2 = ({ className, style, ...props }) => {
27703
27723
  }
27704
27724
  }
27705
27725
  ),
27706
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27726
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27707
27727
  ] });
27708
27728
  };
27709
27729
  var FileInput_default = FileInput2;
27710
27730
 
27711
27731
  // src/components/Inputs/DatePicker/DatePicker.tsx
27712
- var import_jsx_runtime37 = require("react/jsx-runtime");
27732
+ var import_jsx_runtime39 = require("react/jsx-runtime");
27713
27733
  function DatePicker({ className, style, ...props }) {
27714
27734
  const placeholder = props.placeholder ?? "Placeholder text";
27715
27735
  const minimumDate = props.minimumDate ?? "none";
@@ -27737,10 +27757,10 @@ function DatePicker({ className, style, ...props }) {
27737
27757
  const handleChange = (e) => {
27738
27758
  props.onChange?.(e);
27739
27759
  };
27740
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(import_jsx_runtime37.Fragment, { children: [
27741
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex justify-start items-center relative", children: [
27742
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27743
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
27760
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
27761
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex justify-start items-center relative", children: [
27762
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Calendar, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[#BDBDBD]" }),
27763
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
27744
27764
  Input,
27745
27765
  {
27746
27766
  type: "date",
@@ -27766,7 +27786,7 @@ function DatePicker({ className, style, ...props }) {
27766
27786
  }
27767
27787
  )
27768
27788
  ] }),
27769
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27789
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
27770
27790
  ] });
27771
27791
  }
27772
27792
 
@@ -27777,7 +27797,7 @@ var import_date_fns = require("date-fns");
27777
27797
  // src/components/ui/calendar.tsx
27778
27798
  var React3 = __toESM(require("react"));
27779
27799
  var import_react_day_picker = require("react-day-picker");
27780
- var import_jsx_runtime38 = require("react/jsx-runtime");
27800
+ var import_jsx_runtime40 = require("react/jsx-runtime");
27781
27801
  function Calendar2({
27782
27802
  className,
27783
27803
  classNames,
@@ -27789,7 +27809,7 @@ function Calendar2({
27789
27809
  ...props
27790
27810
  }) {
27791
27811
  const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
27792
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
27812
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
27793
27813
  import_react_day_picker.DayPicker,
27794
27814
  {
27795
27815
  showOutsideDays,
@@ -27888,7 +27908,7 @@ function Calendar2({
27888
27908
  },
27889
27909
  components: {
27890
27910
  Root: ({ className: className2, rootRef, ...props2 }) => {
27891
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
27911
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
27892
27912
  "div",
27893
27913
  {
27894
27914
  "data-slot": "calendar",
@@ -27900,10 +27920,10 @@ function Calendar2({
27900
27920
  },
27901
27921
  Chevron: ({ className: className2, orientation, ...props2 }) => {
27902
27922
  if (orientation === "left") {
27903
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27923
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ChevronLeft, { className: cn("size-4", className2), ...props2 });
27904
27924
  }
27905
27925
  if (orientation === "right") {
27906
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
27926
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
27907
27927
  ChevronRight,
27908
27928
  {
27909
27929
  className: cn("size-4", className2),
@@ -27911,11 +27931,11 @@ function Calendar2({
27911
27931
  }
27912
27932
  );
27913
27933
  }
27914
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ChevronDown, { className: cn("size-4", className2), ...props2 });
27934
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ChevronDown, { className: cn("size-4", className2), ...props2 });
27915
27935
  },
27916
27936
  DayButton: CalendarDayButton,
27917
27937
  WeekNumber: ({ children, ...props2 }) => {
27918
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
27938
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) });
27919
27939
  },
27920
27940
  ...components
27921
27941
  },
@@ -27934,7 +27954,7 @@ function CalendarDayButton({
27934
27954
  React3.useEffect(() => {
27935
27955
  if (modifiers.focused) ref.current?.focus();
27936
27956
  }, [modifiers.focused]);
27937
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
27957
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
27938
27958
  Button,
27939
27959
  {
27940
27960
  ref,
@@ -27957,16 +27977,16 @@ function CalendarDayButton({
27957
27977
 
27958
27978
  // src/components/ui/popover.tsx
27959
27979
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
27960
- var import_jsx_runtime39 = require("react/jsx-runtime");
27980
+ var import_jsx_runtime41 = require("react/jsx-runtime");
27961
27981
  function Popover({
27962
27982
  ...props
27963
27983
  }) {
27964
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27984
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
27965
27985
  }
27966
27986
  function PopoverTrigger({
27967
27987
  ...props
27968
27988
  }) {
27969
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27989
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
27970
27990
  }
27971
27991
  function PopoverContent({
27972
27992
  className,
@@ -27974,7 +27994,7 @@ function PopoverContent({
27974
27994
  sideOffset = 4,
27975
27995
  ...props
27976
27996
  }) {
27977
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
27997
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
27978
27998
  PopoverPrimitive.Content,
27979
27999
  {
27980
28000
  "data-slot": "popover-content",
@@ -27990,7 +28010,7 @@ function PopoverContent({
27990
28010
  }
27991
28011
 
27992
28012
  // src/components/Inputs/DateRange/DateRange.tsx
27993
- var import_jsx_runtime40 = require("react/jsx-runtime");
28013
+ var import_jsx_runtime42 = require("react/jsx-runtime");
27994
28014
  var DateRange = ({ className, style, ...props }) => {
27995
28015
  const isDateRange = (val) => !!val && val.from instanceof Date;
27996
28016
  const [date, setDate] = React4.useState(
@@ -28005,26 +28025,26 @@ var DateRange = ({ className, style, ...props }) => {
28005
28025
  props.onChange?.(value);
28006
28026
  }
28007
28027
  };
28008
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
28009
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Popover, { children: [
28010
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
28028
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
28029
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Popover, { children: [
28030
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28011
28031
  Button,
28012
28032
  {
28013
28033
  id: "date",
28014
28034
  variant: "outline",
28015
28035
  className: cn(
28016
- "w-[300px] justify-start text-left font-normal text-[11px]",
28036
+ "w-full justify-start text-left font-normal text-[11px] border-[#BDBDBD]",
28017
28037
  !date && "text-muted-foreground"
28018
28038
  ),
28019
- children: date?.from ? date.to ? /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
28039
+ children: date?.from ? date.to ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
28020
28040
  (0, import_date_fns.format)(date.from, "LLL dd, y"),
28021
28041
  " -",
28022
28042
  " ",
28023
28043
  (0, import_date_fns.format)(date.to, "LLL dd, y")
28024
- ] }) : (0, import_date_fns.format)(date.from, "LLL dd, y") : /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { children: "Pick a date range" })
28044
+ ] }) : (0, import_date_fns.format)(date.from, "LLL dd, y") : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { children: "Pick a date range" })
28025
28045
  }
28026
28046
  ) }),
28027
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
28047
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(PopoverContent, { className: "w-auto p-0", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28028
28048
  Calendar2,
28029
28049
  {
28030
28050
  mode: "range",
@@ -28035,13 +28055,13 @@ var DateRange = ({ className, style, ...props }) => {
28035
28055
  }
28036
28056
  ) })
28037
28057
  ] }) }),
28038
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28058
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28039
28059
  ] });
28040
28060
  };
28041
28061
  var DateRange_default = DateRange;
28042
28062
 
28043
28063
  // src/components/Inputs/TextInputGroup/TextInputGroup.tsx
28044
- var import_jsx_runtime41 = require("react/jsx-runtime");
28064
+ var import_jsx_runtime43 = require("react/jsx-runtime");
28045
28065
  var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
28046
28066
  const placeholder = props.placeholder ?? "Placeholder text";
28047
28067
  const isEditable = props.isEditable ?? true;
@@ -28051,8 +28071,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
28051
28071
  const handleChange = (e) => {
28052
28072
  props.onChange?.(e);
28053
28073
  };
28054
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
28055
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
28074
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
28075
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
28056
28076
  "div",
28057
28077
  {
28058
28078
  className: cn(
@@ -28062,8 +28082,8 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
28062
28082
  props.errorMessage ? "border-red-500" : ""
28063
28083
  ),
28064
28084
  children: [
28065
- prepend && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
28066
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
28085
+ prepend && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-l-md", children: prepend }),
28086
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
28067
28087
  Input,
28068
28088
  {
28069
28089
  id: props.name || "prepend-input",
@@ -28085,11 +28105,11 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
28085
28105
  readOnly: isReadonly
28086
28106
  }
28087
28107
  ),
28088
- append && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
28108
+ append && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "px-3 flex items-center bg-gray-500 text-white h-10 rounded-r-md", children: append })
28089
28109
  ]
28090
28110
  }
28091
28111
  ),
28092
- props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28112
+ props.errorMessage && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { className: "mt-1 text-xs text-red-500", children: props.errorMessage })
28093
28113
  ] });
28094
28114
  };
28095
28115
  var TextInputGroup_default = TextInputGroup;
@@ -28101,14 +28121,14 @@ var import_react7 = require("react");
28101
28121
  var import_react_table = require("@tanstack/react-table");
28102
28122
 
28103
28123
  // src/components/ui/table.tsx
28104
- var import_jsx_runtime42 = require("react/jsx-runtime");
28124
+ var import_jsx_runtime44 = require("react/jsx-runtime");
28105
28125
  function Table3({ className, ...props }) {
28106
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28126
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28107
28127
  "div",
28108
28128
  {
28109
28129
  "data-slot": "table-container",
28110
28130
  className: "relative w-full overflow-x-auto rounded-md border border-gray-200 bg-white",
28111
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28131
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28112
28132
  "table",
28113
28133
  {
28114
28134
  "data-slot": "table",
@@ -28120,7 +28140,7 @@ function Table3({ className, ...props }) {
28120
28140
  );
28121
28141
  }
28122
28142
  function TableHeader({ className, ...props }) {
28123
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28143
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28124
28144
  "thead",
28125
28145
  {
28126
28146
  "data-slot": "table-header",
@@ -28133,7 +28153,7 @@ function TableHeader({ className, ...props }) {
28133
28153
  );
28134
28154
  }
28135
28155
  function TableBody({ className, ...props }) {
28136
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28156
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28137
28157
  "tbody",
28138
28158
  {
28139
28159
  "data-slot": "table-body",
@@ -28146,7 +28166,7 @@ function TableBody({ className, ...props }) {
28146
28166
  );
28147
28167
  }
28148
28168
  function TableRow({ className, ...props }) {
28149
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28169
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28150
28170
  "tr",
28151
28171
  {
28152
28172
  "data-slot": "table-row",
@@ -28159,7 +28179,7 @@ function TableRow({ className, ...props }) {
28159
28179
  );
28160
28180
  }
28161
28181
  function TableHead({ className, ...props }) {
28162
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28182
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28163
28183
  "th",
28164
28184
  {
28165
28185
  "data-slot": "table-head",
@@ -28172,7 +28192,7 @@ function TableHead({ className, ...props }) {
28172
28192
  );
28173
28193
  }
28174
28194
  function TableCell({ className, ...props }) {
28175
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
28195
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28176
28196
  "td",
28177
28197
  {
28178
28198
  "data-slot": "table-cell",
@@ -28186,7 +28206,7 @@ function TableCell({ className, ...props }) {
28186
28206
  }
28187
28207
 
28188
28208
  // src/components/ui/data-table.tsx
28189
- var import_jsx_runtime43 = require("react/jsx-runtime");
28209
+ var import_jsx_runtime45 = require("react/jsx-runtime");
28190
28210
  function DataTable({
28191
28211
  columns,
28192
28212
  rowActions,
@@ -28211,14 +28231,14 @@ function DataTable({
28211
28231
  onCellClick(rowData, columnId);
28212
28232
  }
28213
28233
  };
28214
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Table3, { children: [
28215
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableRow, { children: headerGroup.headers.map((header) => {
28216
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableHead, { children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
28234
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "overflow-hidden rounded-md border w-full", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Table3, { children: [
28235
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableRow, { children: headerGroup.headers.map((header) => {
28236
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableHead, { children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
28217
28237
  header.column.columnDef.header,
28218
28238
  header.getContext()
28219
28239
  ) }, header.id);
28220
28240
  }) }, headerGroup.id)) }),
28221
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableBody, { children: loading ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_jsx_runtime43.Fragment, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
28241
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableBody, { children: loading ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "Loading..." }) }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx_runtime45.Fragment, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
28222
28242
  TableRow,
28223
28243
  {
28224
28244
  "data-state": row.getIsSelected() && "selected",
@@ -28228,7 +28248,7 @@ function DataTable({
28228
28248
  const isCellClickable = cellClickEnabled(row.original, cell.column.id);
28229
28249
  const dynamicClass = cell.column.columnDef.meta?.cellClass || "";
28230
28250
  const dynamicStyle = cell.column.columnDef.meta?.cellStyle || {};
28231
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
28251
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
28232
28252
  TableCell,
28233
28253
  {
28234
28254
  className: `${dynamicClass} ${isCellClickable ? "underline cursor-pointer" : ""}`,
@@ -28243,18 +28263,18 @@ function DataTable({
28243
28263
  cell.id
28244
28264
  );
28245
28265
  }),
28246
- rowActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("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__ */ (0, import_jsx_runtime43.jsx)("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
28266
+ rowActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("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__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-[#383838] text-[12px] cursor-pointer font-[400]", children: action.header }, index)) })
28247
28267
  ]
28248
28268
  },
28249
28269
  row.id
28250
- )) : /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
28270
+ )) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: "No results." }) }) }) })
28251
28271
  ] }) });
28252
28272
  }
28253
28273
 
28254
28274
  // src/components/ui/pagination.tsx
28255
- var import_jsx_runtime44 = require("react/jsx-runtime");
28275
+ var import_jsx_runtime46 = require("react/jsx-runtime");
28256
28276
  function Pagination({ className, ...props }) {
28257
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28277
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
28258
28278
  "nav",
28259
28279
  {
28260
28280
  role: "navigation",
@@ -28269,7 +28289,7 @@ function PaginationContent({
28269
28289
  className,
28270
28290
  ...props
28271
28291
  }) {
28272
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28292
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
28273
28293
  "ul",
28274
28294
  {
28275
28295
  "data-slot": "pagination-content",
@@ -28279,7 +28299,7 @@ function PaginationContent({
28279
28299
  );
28280
28300
  }
28281
28301
  function PaginationItem({ ...props }) {
28282
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("li", { "data-slot": "pagination-item", ...props });
28302
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("li", { "data-slot": "pagination-item", ...props });
28283
28303
  }
28284
28304
  function PaginationLink({
28285
28305
  className,
@@ -28287,7 +28307,7 @@ function PaginationLink({
28287
28307
  size = "icon",
28288
28308
  ...props
28289
28309
  }) {
28290
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
28310
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
28291
28311
  "a",
28292
28312
  {
28293
28313
  "aria-current": isActive ? "page" : void 0,
@@ -28308,7 +28328,7 @@ function PaginationPrevious({
28308
28328
  className,
28309
28329
  ...props
28310
28330
  }) {
28311
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
28331
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
28312
28332
  PaginationLink,
28313
28333
  {
28314
28334
  "aria-label": "Go to previous page",
@@ -28316,8 +28336,8 @@ function PaginationPrevious({
28316
28336
  className: cn("gap-1 px-2.5 sm:pl-2.5", className),
28317
28337
  ...props,
28318
28338
  children: [
28319
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ChevronLeft, {}),
28320
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "hidden sm:block", children: "Previous" })
28339
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ChevronLeft, {}),
28340
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "hidden sm:block", children: "Previous" })
28321
28341
  ]
28322
28342
  }
28323
28343
  );
@@ -28326,7 +28346,7 @@ function PaginationNext({
28326
28346
  className,
28327
28347
  ...props
28328
28348
  }) {
28329
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
28349
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
28330
28350
  PaginationLink,
28331
28351
  {
28332
28352
  "aria-label": "Go to next page",
@@ -28334,8 +28354,8 @@ function PaginationNext({
28334
28354
  className: cn("gap-1 px-2.5 sm:pr-2.5", className),
28335
28355
  ...props,
28336
28356
  children: [
28337
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "hidden sm:block", children: "Next" }),
28338
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(ChevronRight, {})
28357
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "hidden sm:block", children: "Next" }),
28358
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ChevronRight, {})
28339
28359
  ]
28340
28360
  }
28341
28361
  );
@@ -28344,7 +28364,7 @@ function PaginationEllipsis({
28344
28364
  className,
28345
28365
  ...props
28346
28366
  }) {
28347
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
28367
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
28348
28368
  "span",
28349
28369
  {
28350
28370
  "aria-hidden": true,
@@ -28352,15 +28372,15 @@ function PaginationEllipsis({
28352
28372
  className: cn("flex size-9 items-center justify-center", className),
28353
28373
  ...props,
28354
28374
  children: [
28355
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(Ellipsis, { className: "size-4" }),
28356
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "sr-only", children: "More pages" })
28375
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Ellipsis, { className: "size-4" }),
28376
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "sr-only", children: "More pages" })
28357
28377
  ]
28358
28378
  }
28359
28379
  );
28360
28380
  }
28361
28381
 
28362
28382
  // src/components/DataDisplay/Pagination/Pagination.tsx
28363
- var import_jsx_runtime45 = require("react/jsx-runtime");
28383
+ var import_jsx_runtime47 = require("react/jsx-runtime");
28364
28384
  var CustomPagination = ({
28365
28385
  totalPages,
28366
28386
  currentPage,
@@ -28406,10 +28426,10 @@ var CustomPagination = ({
28406
28426
  }
28407
28427
  };
28408
28428
  const pageNumbers = getPageNumbers();
28409
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
28410
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2", children: [
28411
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28412
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
28429
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex flex-row gap-1 w-full items-center justify-between", children: [
28430
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center gap-2", children: [
28431
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("p", { className: "text-sm text-muted-foreground whitespace-nowrap", children: "Items per page:" }),
28432
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
28413
28433
  Select,
28414
28434
  {
28415
28435
  defaultValue: String(perPage),
@@ -28417,26 +28437,26 @@ var CustomPagination = ({
28417
28437
  onPageChange({ page: 1, itemsPerPage: Number(value) });
28418
28438
  },
28419
28439
  children: [
28420
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectValue, { placeholder: "Select" }) }),
28421
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(SelectContent, { children: [
28422
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectItem, { value: "5", children: "5" }),
28423
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectItem, { value: "10", children: "10" }),
28424
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectItem, { value: "20", children: "20" }),
28425
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SelectItem, { value: "50", children: "50" })
28440
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectTrigger, { className: "w-[100px]", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectValue, { placeholder: "Select" }) }),
28441
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SelectContent, { children: [
28442
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "5", children: "5" }),
28443
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "10", children: "10" }),
28444
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "20", children: "20" }),
28445
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SelectItem, { value: "50", children: "50" })
28426
28446
  ] })
28427
28447
  ]
28428
28448
  }
28429
28449
  )
28430
28450
  ] }),
28431
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Pagination, { className: "justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(PaginationContent, { children: [
28432
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
28451
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Pagination, { className: "justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(PaginationContent, { children: [
28452
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28433
28453
  PaginationPrevious,
28434
28454
  {
28435
28455
  onClick: () => handlePageChange(currentPage - 1),
28436
28456
  className: currentPage === 1 ? "pointer-events-none opacity-50" : "cursor-pointer"
28437
28457
  }
28438
28458
  ) }),
28439
- pageNumbers.map((pageNumber, index) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PaginationEllipsis, {}) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
28459
+ pageNumbers.map((pageNumber, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PaginationItem, { children: pageNumber === "..." ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PaginationEllipsis, {}) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28440
28460
  PaginationLink,
28441
28461
  {
28442
28462
  onClick: () => handlePageChange(pageNumber),
@@ -28445,7 +28465,7 @@ var CustomPagination = ({
28445
28465
  children: pageNumber
28446
28466
  }
28447
28467
  ) }, index)),
28448
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
28468
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28449
28469
  PaginationNext,
28450
28470
  {
28451
28471
  onClick: () => handlePageChange(currentPage + 1),
@@ -28458,7 +28478,7 @@ var CustomPagination = ({
28458
28478
  var Pagination_default = CustomPagination;
28459
28479
 
28460
28480
  // src/components/DataDisplay/Table/Table.tsx
28461
- var import_jsx_runtime46 = require("react/jsx-runtime");
28481
+ var import_jsx_runtime48 = require("react/jsx-runtime");
28462
28482
  var Table4 = ({
28463
28483
  columns,
28464
28484
  data,
@@ -28504,8 +28524,8 @@ var Table4 = ({
28504
28524
  if (!selectedColumn) return false;
28505
28525
  return selectedColumn.isClickable ?? false;
28506
28526
  };
28507
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: `${className || ""} space-y-3`, style, children: [
28508
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
28527
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: `${className || ""} space-y-3`, style, children: [
28528
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
28509
28529
  DataTable,
28510
28530
  {
28511
28531
  ...props,
@@ -28516,7 +28536,7 @@ var Table4 = ({
28516
28536
  cellClickEnabled: isCellClickEnabled
28517
28537
  }
28518
28538
  ),
28519
- enablePagination && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
28539
+ enablePagination && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
28520
28540
  Pagination_default,
28521
28541
  {
28522
28542
  perPage: itemsPerPage,
@@ -28530,8 +28550,9 @@ var Table4 = ({
28530
28550
  var Table_default = Table4;
28531
28551
 
28532
28552
  // src/components/Navigation/Tabs/Tabs.tsx
28533
- var import_jsx_runtime47 = require("react/jsx-runtime");
28534
- var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, canvasMode }) => {
28553
+ var import_link5 = __toESM(require("next/link"));
28554
+ var import_jsx_runtime49 = require("react/jsx-runtime");
28555
+ var Tabs = ({ className, style, tabs, verticalMenu, pathname, canvasMode }) => {
28535
28556
  const rawTabs = Array.isArray(tabs) ? tabs : [];
28536
28557
  const baseClasses = "text-[12px] text-foreground p-2 text-center rounded-md transition-colors";
28537
28558
  const activeClasses = "bg-white/10 text-white";
@@ -28543,23 +28564,23 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28543
28564
  const renderDesktopTab = (tab, index) => {
28544
28565
  const finalClasses = [baseClasses, isActive(tab.url) ? activeClasses : hoverClasses, tab.className || ""].join(" ");
28545
28566
  if (Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown) {
28546
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenu, { children: [
28547
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenuTrigger, { className: `${finalClasses} inline-flex items-center gap-1`, children: [
28567
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenu, { children: [
28568
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuTrigger, { className: `${finalClasses} inline-flex items-center gap-1`, children: [
28548
28569
  tab.header,
28549
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ChevronDown, { className: "h-4 w-4 opacity-80" })
28570
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(ChevronDown, { className: "h-4 w-4 opacity-80" })
28550
28571
  ] }),
28551
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28572
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
28552
28573
  DropdownMenuContent,
28553
28574
  {
28554
28575
  align: "start",
28555
28576
  sideOffset: 6,
28556
28577
  className: "z-50 min-w-[160px] rounded-md border border-gray-200 bg-white p-1 shadow-lg",
28557
- children: tab.children.map((item) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28578
+ children: tab.children.map((item) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
28558
28579
  DropdownMenuItem,
28559
28580
  {
28560
28581
  asChild: true,
28561
28582
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100 focus:bg-gray-100",
28562
- children: LinkComponent ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LinkComponent, { href: item.url || "#", children: item.header }) : item.header
28583
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link5.default, { href: item.url || "#", children: item.header })
28563
28584
  },
28564
28585
  item.id
28565
28586
  ))
@@ -28567,14 +28588,14 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28567
28588
  )
28568
28589
  ] }, index);
28569
28590
  }
28570
- return tab.url && LinkComponent ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LinkComponent, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
28591
+ return tab.url ? /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link5.default, { href: tab.url, className: finalClasses, style: tab.style, children: tab.header }, index) : /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: finalClasses, style: tab.style, role: "button", tabIndex: 0, children: tab.header }, index);
28571
28592
  };
28572
- const renderMobileMenu = () => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenu, { children: [
28573
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
28574
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Menu, { className: "h-4 w-4" }),
28593
+ const renderMobileMenu = () => /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenu, { children: [
28594
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuTrigger, { className: "flex items-center gap-2 px-3 py-2 rounded-md bg-white/10 text-white text-sm", children: [
28595
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Menu, { className: "h-4 w-4" }),
28575
28596
  "Menu"
28576
28597
  ] }),
28577
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28598
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
28578
28599
  DropdownMenuContent,
28579
28600
  {
28580
28601
  align: "start",
@@ -28583,25 +28604,25 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28583
28604
  children: rawTabs.map((tab, i) => {
28584
28605
  const hasChildren = Array.isArray(tab.children) && tab.children.length > 0 && tab.isDropDown;
28585
28606
  if (hasChildren) {
28586
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DropdownMenuSub, { children: [
28587
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DropdownMenuSubTrigger, { className: "flex items-center justify-between cursor-pointer rounded-sm px-3 py-2 text-[13px] text-foreground hover:text-foreground", children: tab.header }),
28588
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28607
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuSub, { children: [
28608
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuSubTrigger, { className: "flex items-center justify-between cursor-pointer rounded-sm px-3 py-2 text-[13px] text-foreground hover:text-foreground", children: tab.header }),
28609
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuSubContent, { className: "bg-white border shadow-lg rounded-md p-1", children: tab.children.map((item) => /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
28589
28610
  DropdownMenuItem,
28590
28611
  {
28591
28612
  asChild: true,
28592
28613
  className: "cursor-pointer rounded-sm px-3 py-2 text-[12px] text-gray-800 hover:bg-gray-100",
28593
- children: LinkComponent ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LinkComponent, { href: item.url || "#", children: item.header }) : item.header
28614
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link5.default, { href: item.url || "#", children: item.header })
28594
28615
  },
28595
28616
  item.id
28596
28617
  )) })
28597
28618
  ] }, i);
28598
28619
  }
28599
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
28620
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
28600
28621
  DropdownMenuItem,
28601
28622
  {
28602
28623
  asChild: true,
28603
28624
  className: "cursor-pointer rounded-sm px-3 py-2 text-[13px] text-gray-800 hover:bg-gray-100",
28604
- children: LinkComponent ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(LinkComponent, { href: tab.url || "#", children: tab.header }) : tab.header
28625
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_link5.default, { href: tab.url || "#", children: tab.header })
28605
28626
  },
28606
28627
  i
28607
28628
  );
@@ -28611,57 +28632,56 @@ var Tabs = ({ className, style, tabs, verticalMenu, LinkComponent, pathname, can
28611
28632
  ] });
28612
28633
  const forceMobile = canvasMode === "mobile" || canvasMode === "tablet";
28613
28634
  const forceDesktop = canvasMode === "desktop";
28614
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className, style, children: [
28615
- forceDesktop && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "hidden md:flex", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: `flex gap-2 ${verticalMenu ? "flex-col items-start" : "flex-row"}`, children: rawTabs.map(renderDesktopTab) }) }),
28616
- forceMobile && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { children: renderMobileMenu() }),
28617
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "md:hidden", children: renderMobileMenu() })
28635
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className, style, children: [
28636
+ forceDesktop && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "hidden md:flex", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: `flex gap-2 ${verticalMenu ? "flex-col items-start" : "flex-row"}`, children: rawTabs.map(renderDesktopTab) }) }),
28637
+ forceMobile && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { children: renderMobileMenu() }),
28638
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "md:hidden", children: renderMobileMenu() })
28618
28639
  ] });
28619
28640
  };
28620
28641
  var Tabs_default = Tabs;
28621
28642
 
28622
28643
  // src/components/Navigation/Stages/Stages.tsx
28623
28644
  var import_react8 = __toESM(require("react"));
28624
- var import_jsx_runtime48 = require("react/jsx-runtime");
28645
+ var import_jsx_runtime50 = require("react/jsx-runtime");
28625
28646
  var StagesComponent = ({ stages, isShowBtn, buttonText, className, style }) => {
28626
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center justify-between bg-gray-50 p-2 rounded-lg border border-gray-200 w-full", children: [
28627
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
28628
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center flex-1 px-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_react8.default.Fragment, { children: [
28629
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
28647
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center justify-between bg-red p-2 rounded-lg border border-gray-200 w-full", children: [
28648
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("button", { className: "p-2 hover:bg-gray-100 rounded", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("svg", { className: "w-4 h-4 text-gray-600", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M19 9l-7 7-7-7" }) }) }) }),
28649
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex items-center flex-1 px-2 flex-wrap gap-2", children: stages?.length > 0 && stages?.map((stage, index) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_react8.default.Fragment, { children: [
28650
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
28630
28651
  "button",
28631
28652
  {
28632
- className: `
28633
- min-w-[120px] px-4 py-2 rounded-full text-sm font-medium transition-colors duration-200 whitespace-nowrap ${stage.isActive ? "bg-[#034486] text-white shadow-md" : "bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,
28653
+ className: `min-w-[120px] px-4 py-2 rounded-full text-sm font-medium transition-colors duration-200 whitespace-nowrap ${stage.isActive ? "bg-[#034486] text-white shadow-md" : "bg-white text-gray-700 hover:bg-gray-100 border border-gray-200"}`,
28634
28654
  children: stage.header
28635
28655
  }
28636
28656
  ),
28637
- index < stages.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
28657
+ index < stages.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex-shrink-0 w-3 h-px bg-gray-300" })
28638
28658
  ] }, stage.id)) }),
28639
- isShowBtn && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
28659
+ isShowBtn && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("button", { className: "bg-[#034486] text-white px-6 py-2 rounded-lg text-sm font-medium transition-colors duration-200 shadow-sm", children: buttonText }) })
28640
28660
  ] }) });
28641
28661
  };
28642
28662
  var Stages_default = StagesComponent;
28643
28663
 
28644
28664
  // src/components/Navigation/Spacer/Spacer.tsx
28645
- var import_jsx_runtime49 = require("react/jsx-runtime");
28665
+ var import_jsx_runtime51 = require("react/jsx-runtime");
28646
28666
  var Spacer = ({ className, style }) => {
28647
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: `${className}`, style });
28667
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: `${className}`, style });
28648
28668
  };
28649
28669
  var Spacer_default = Spacer;
28650
28670
 
28651
28671
  // src/components/Navigation/Profile/Profile.tsx
28652
- var import_jsx_runtime50 = require("react/jsx-runtime");
28672
+ var import_jsx_runtime52 = require("react/jsx-runtime");
28653
28673
 
28654
28674
  // src/components/Navigation/Notification/Notification.tsx
28655
- var import_jsx_runtime51 = require("react/jsx-runtime");
28675
+ var import_jsx_runtime53 = require("react/jsx-runtime");
28656
28676
 
28657
28677
  // src/components/Navigation/Logo/Logo.tsx
28658
- var import_jsx_runtime52 = require("react/jsx-runtime");
28678
+ var import_jsx_runtime54 = require("react/jsx-runtime");
28659
28679
 
28660
28680
  // src/components/ui/avatar.tsx
28661
28681
  var React6 = __toESM(require("react"));
28662
28682
  var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"));
28663
- var import_jsx_runtime53 = require("react/jsx-runtime");
28664
- var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
28683
+ var import_jsx_runtime55 = require("react/jsx-runtime");
28684
+ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
28665
28685
  AvatarPrimitive.Root,
28666
28686
  {
28667
28687
  ref,
@@ -28673,7 +28693,7 @@ var Avatar = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
28673
28693
  }
28674
28694
  ));
28675
28695
  Avatar.displayName = AvatarPrimitive.Root.displayName;
28676
- var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
28696
+ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
28677
28697
  AvatarPrimitive.Image,
28678
28698
  {
28679
28699
  ref,
@@ -28682,7 +28702,7 @@ var AvatarImage = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
28682
28702
  }
28683
28703
  ));
28684
28704
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
28685
- var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
28705
+ var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
28686
28706
  AvatarPrimitive.Fallback,
28687
28707
  {
28688
28708
  ref,
@@ -28696,7 +28716,9 @@ var AvatarFallback = React6.forwardRef(({ className, ...props }, ref) => /* @__P
28696
28716
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
28697
28717
 
28698
28718
  // src/components/Navigation/Navbar/Navbar.tsx
28699
- var import_jsx_runtime54 = require("react/jsx-runtime");
28719
+ var import_link6 = __toESM(require("next/link"));
28720
+ var import_image3 = __toESM(require("next/image"));
28721
+ var import_jsx_runtime56 = require("react/jsx-runtime");
28700
28722
  function Navbar({
28701
28723
  style,
28702
28724
  badgeType,
@@ -28707,16 +28729,14 @@ function Navbar({
28707
28729
  imageUrl,
28708
28730
  altText = "Logo",
28709
28731
  canvasMode = "desktop",
28710
- LinkComponent,
28711
- ImageComponent,
28712
28732
  list = [],
28713
28733
  userName = "Guest User"
28714
28734
  }) {
28715
28735
  const isMobileView = canvasMode === "mobile" || canvasMode === "tablet";
28716
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
28717
- LinkComponent && ImageComponent ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkComponent, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ImageComponent, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "font-semibold text-blue-700", children: "Logo" }) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "font-semibold text-blue-700", children: "Logo" }),
28718
- !isMobileView && LinkComponent && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
28719
- LinkComponent,
28736
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("nav", { className: "w-full border-b bg-white shadow-sm", style, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "mx-auto flex max-w-7xl items-center justify-between px-4 py-2", children: [
28737
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_link6.default, { href: "/", className: "flex items-center space-x-2", children: imageUrl ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_image3.default, { src: imageUrl, alt: altText, width: 200, height: 200 }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "font-semibold text-blue-700", children: "Logo" }) }),
28738
+ !isMobileView && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex items-center space-x-6 sm:hidden md:flex", children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28739
+ import_link6.default,
28720
28740
  {
28721
28741
  href: item.url || "#",
28722
28742
  className: "text-sm font-medium text-gray-600 hover:text-gray-900 transition-colors",
@@ -28724,54 +28744,54 @@ function Navbar({
28724
28744
  },
28725
28745
  item.id
28726
28746
  )) }),
28727
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center space-x-3", children: [
28728
- !isMobileView ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-1 px-6", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
28729
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28730
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28731
- ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
28747
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center space-x-3", children: [
28748
+ !isMobileView ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex-1 px-6", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "relative w-full max-w-md border border-gray-300 rounded-md", children: [
28749
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-gray-400" }),
28750
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Input, { placeholder: "Search", className: "pl-9 text-gray-400" })
28751
+ ] }) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28732
28752
  Button,
28733
28753
  {
28734
28754
  variant: "ghost",
28735
28755
  size: "icon",
28736
28756
  className: "border border-gray-400",
28737
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Search, { className: "h-5 w-5 text-gray-400" })
28757
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Search, { className: "h-5 w-5 text-gray-400" })
28738
28758
  }
28739
28759
  ),
28740
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
28741
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28742
- badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && badgeCount > 0 ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("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__ */ (0, import_jsx_runtime54.jsx)("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
28760
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "relative bg-[#E9E9E9] rounded-md", children: [
28761
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Button, { variant: "ghost", size: "icon", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Bell, { className: "h-5 w-5 text-[#1C1B1F]" }) }),
28762
+ badgeType === "number" && !(hideBadgeWhenZero && badgeCount === 0) && Number(badgeCount) > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("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__ */ (0, import_jsx_runtime56.jsx)("span", { className: "absolute -top-1 -right-1 flex h-2 w-2 items-center justify-center rounded-full bg-red-500" })
28743
28763
  ] }),
28744
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(DropdownMenu, { children: [
28745
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center space-x-2", children: [
28746
- !isMobileView && showName && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28747
- !isMobileView ? /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
28748
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
28764
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(DropdownMenu, { children: [
28765
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center space-x-2", children: [
28766
+ !isMobileView && showName && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("h4", { className: "text-[#000000] text-[13px] font-[500] mb-0", children: userName }),
28767
+ !isMobileView ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
28768
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Avatar, { className: "cursor-pointer h-8 w-8 text-gray-900", children: profileType === "avatar" ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28749
28769
  AvatarImage,
28750
28770
  {
28751
28771
  src: "/images/appbuilder/toolset/profile.svg",
28752
28772
  alt: "Profile"
28753
28773
  }
28754
- ) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: userName && getInitials(userName) }) }),
28755
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
28774
+ ) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-8 h-8 bg-[#12715b] rounded-full text-[#fff] text-center text-[11px] flex items-center justify-center", children: userName && getInitials(userName) }) }),
28775
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28756
28776
  Button,
28757
28777
  {
28758
28778
  variant: "ghost",
28759
28779
  size: "icon",
28760
28780
  className: "text-gray-900 md:hidden",
28761
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Menu, { className: "h-6 w-6" })
28781
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Menu, { className: "h-6 w-6" })
28762
28782
  }
28763
28783
  )
28764
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
28784
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28765
28785
  Button,
28766
28786
  {
28767
28787
  variant: "ghost",
28768
28788
  size: "icon",
28769
28789
  className: "text-gray-900",
28770
- children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Menu, { className: "h-6 w-6" })
28790
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Menu, { className: "h-6 w-6" })
28771
28791
  }
28772
28792
  )
28773
28793
  ] }) }),
28774
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DropdownMenuContent, { align: "end", className: "bg-white", children: LinkComponent && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: list && list.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_jsx_runtime54.Fragment, { children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(LinkComponent, { href: item.url || "#", children: item.header }) }, item.id)) }) }) })
28794
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DropdownMenuContent, { align: "end", className: "bg-white", children: list && list.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, { children: list.map((item) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DropdownMenuItem, { className: "text-black", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_link6.default, { href: item.url || "#", children: item.header }) }, item.id)) }) })
28775
28795
  ] })
28776
28796
  ] })
28777
28797
  ] }) });
@@ -28779,28 +28799,28 @@ function Navbar({
28779
28799
 
28780
28800
  // src/components/Chart/BarChart.tsx
28781
28801
  var import_recharts = require("recharts");
28782
- var import_jsx_runtime55 = require("react/jsx-runtime");
28802
+ var import_jsx_runtime57 = require("react/jsx-runtime");
28783
28803
  var ChartComponent = ({ className, style, ...props }) => {
28784
28804
  const data = Array.isArray(props?.data) ? props.data : [];
28785
28805
  const chartType = props.chartType || "bar";
28786
28806
  const legendsPosition = props.legendsPosition === "middle" || props.legendsPosition === "bottom" ? props.legendsPosition : "top";
28787
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_recharts.BarChart, { data, children: [
28788
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.CartesianGrid, { strokeDasharray: "3 3" }),
28789
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.XAxis, { dataKey: "name" }),
28790
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.YAxis, {}),
28791
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.Tooltip, {}),
28792
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.Legend, { verticalAlign: legendsPosition, align: "center" }),
28793
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.Bar, { dataKey: "value", fill: "#00695C" })
28794
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_recharts.AreaChart, { data, children: [
28795
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28796
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28797
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
28807
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: `${className} h-[400px]`, style, children: data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.ResponsiveContainer, { width: "100%", height: "100%", children: chartType === "bar" ? /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_recharts.BarChart, { data, children: [
28808
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.CartesianGrid, { strokeDasharray: "3 3" }),
28809
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.XAxis, { dataKey: "name" }),
28810
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.YAxis, {}),
28811
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.Tooltip, {}),
28812
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.Legend, { verticalAlign: legendsPosition, align: "center" }),
28813
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.Bar, { dataKey: "value", fill: "#00695C" })
28814
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_recharts.AreaChart, { data, children: [
28815
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("linearGradient", { id: "colorCount", x1: "0", y1: "0", x2: "0", y2: "1", children: [
28816
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("stop", { offset: "5%", stopColor: "#00695C", stopOpacity: 0.8 }),
28817
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("stop", { offset: "95%", stopColor: "#00695C", stopOpacity: 0 })
28798
28818
  ] }) }),
28799
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.CartesianGrid, { strokeDasharray: "3 3" }),
28800
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.XAxis, { dataKey: "name" }),
28801
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.YAxis, {}),
28802
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_recharts.Tooltip, {}),
28803
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
28819
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.CartesianGrid, { strokeDasharray: "3 3" }),
28820
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.XAxis, { dataKey: "name" }),
28821
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.YAxis, {}),
28822
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_recharts.Tooltip, {}),
28823
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28804
28824
  import_recharts.Area,
28805
28825
  {
28806
28826
  type: "monotone",
@@ -28816,7 +28836,7 @@ var BarChart_default = ChartComponent;
28816
28836
 
28817
28837
  // src/components/Chart/PieChart.tsx
28818
28838
  var import_recharts2 = require("recharts");
28819
- var import_jsx_runtime56 = require("react/jsx-runtime");
28839
+ var import_jsx_runtime58 = require("react/jsx-runtime");
28820
28840
  var DonutChart = ({ className, style, ...props }) => {
28821
28841
  const data = Array.isArray(props?.data) ? props.data : [];
28822
28842
  const total = data.reduce((sum, d) => sum + d.value, 0);
@@ -28827,7 +28847,7 @@ var DonutChart = ({ className, style, ...props }) => {
28827
28847
  const renderLabel = ({ value, x, y }) => {
28828
28848
  if (value == null) return null;
28829
28849
  const percentage = (Number(value) / total * 100).toFixed(0);
28830
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
28850
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
28831
28851
  "text",
28832
28852
  {
28833
28853
  x,
@@ -28849,33 +28869,33 @@ var DonutChart = ({ className, style, ...props }) => {
28849
28869
  const wrapperClass = canvasMode ? forceDesktop ? "flex-row" : "flex-col" : "flex-col md:flex-row";
28850
28870
  const renderLegends = () => {
28851
28871
  if (!showLegends) return null;
28852
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_jsx_runtime56.Fragment, { children: data.map((d) => /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
28872
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_jsx_runtime58.Fragment, { children: data.map((d) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
28853
28873
  "div",
28854
28874
  {
28855
28875
  className: "flex items-center space-x-2 rounded-md border border-gray-200 px-3 py-2 w-[48%] md:w-auto",
28856
28876
  children: [
28857
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28877
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
28858
28878
  "span",
28859
28879
  {
28860
28880
  className: "inline-block w-[16px] h-[16px] rounded",
28861
28881
  style: { backgroundColor: d.color }
28862
28882
  }
28863
28883
  ),
28864
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
28884
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-[#000000] text-[12px] md:text-[13px] font-[500]", children: d.name })
28865
28885
  ]
28866
28886
  },
28867
28887
  d.name
28868
28888
  )) });
28869
28889
  };
28870
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
28890
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
28871
28891
  "div",
28872
28892
  {
28873
28893
  className: `relative flex items-center ${wrapperClass} ${className}`,
28874
28894
  style,
28875
28895
  children: [
28876
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
28877
- data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_recharts2.PieChart, { children: [
28878
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
28896
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "relative w-full md:w-[70%] h-[300px] md:h-[400px] flex items-center justify-center", children: [
28897
+ data.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_recharts2.ResponsiveContainer, { width: "100%", height: "100%", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_recharts2.PieChart, { children: [
28898
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
28879
28899
  import_recharts2.Pie,
28880
28900
  {
28881
28901
  data,
@@ -28887,8 +28907,8 @@ var DonutChart = ({ className, style, ...props }) => {
28887
28907
  labelLine: false,
28888
28908
  isAnimationActive: false,
28889
28909
  children: [
28890
- data.map((entry, index) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_recharts2.Cell, { fill: entry.color }, `cell-${index}`)),
28891
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
28910
+ data.map((entry, index) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_recharts2.Cell, { fill: entry.color }, `cell-${index}`)),
28911
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
28892
28912
  import_recharts2.LabelList,
28893
28913
  {
28894
28914
  dataKey: "value",
@@ -28899,14 +28919,14 @@ var DonutChart = ({ className, style, ...props }) => {
28899
28919
  ]
28900
28920
  }
28901
28921
  ),
28902
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_recharts2.Tooltip, { formatter: (value, name) => [`${value}k`, name] })
28922
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_recharts2.Tooltip, { formatter: (value, name) => [`${value}k`, name] })
28903
28923
  ] }) }),
28904
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("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: [
28924
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("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: [
28905
28925
  total,
28906
28926
  "k"
28907
28927
  ] })
28908
28928
  ] }),
28909
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
28929
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: `flex ${forceDesktop ? "flex-col ml-auto space-y-3" : "flex-wrap justify-center gap-2 mt-4"}
28910
28930
  w-full md:w-auto`, children: renderLegends() })
28911
28931
  ]
28912
28932
  }
@@ -28915,10 +28935,10 @@ var DonutChart = ({ className, style, ...props }) => {
28915
28935
  var PieChart_default = DonutChart;
28916
28936
 
28917
28937
  // src/components/Blocks/EmailComposer.tsx
28918
- var import_jsx_runtime57 = require("react/jsx-runtime");
28938
+ var import_jsx_runtime59 = require("react/jsx-runtime");
28919
28939
  function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc, setShowBcc, cc, setCc, bcc, setBcc, subject, setSubject, body, setBody }) {
28920
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
28921
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28940
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className, style, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "border rounded-md shadow bg-[#fff] p-4 mx-auto z-[50] relative", children: [
28941
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28922
28942
  "input",
28923
28943
  {
28924
28944
  type: "email",
@@ -28927,8 +28947,8 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28927
28947
  required: true
28928
28948
  }
28929
28949
  ) }),
28930
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex items-center gap-2", children: [
28931
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28950
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex items-center gap-2", children: [
28951
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28932
28952
  "input",
28933
28953
  {
28934
28954
  type: "email",
@@ -28939,7 +28959,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28939
28959
  required: true
28940
28960
  }
28941
28961
  ),
28942
- !showCc && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28962
+ !showCc && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28943
28963
  "button",
28944
28964
  {
28945
28965
  onClick: () => setShowCc?.(true),
@@ -28947,7 +28967,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28947
28967
  children: "Cc"
28948
28968
  }
28949
28969
  ),
28950
- !showBcc && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28970
+ !showBcc && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28951
28971
  "button",
28952
28972
  {
28953
28973
  onClick: () => setShowBcc?.(true),
@@ -28956,7 +28976,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28956
28976
  }
28957
28977
  )
28958
28978
  ] }) }),
28959
- showCc && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28979
+ showCc && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28960
28980
  "input",
28961
28981
  {
28962
28982
  type: "text",
@@ -28966,7 +28986,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28966
28986
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28967
28987
  }
28968
28988
  ) }),
28969
- showBcc && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28989
+ showBcc && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28970
28990
  "input",
28971
28991
  {
28972
28992
  type: "text",
@@ -28976,7 +28996,7 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28976
28996
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28977
28997
  }
28978
28998
  ) }),
28979
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
28999
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
28980
29000
  "input",
28981
29001
  {
28982
29002
  type: "text",
@@ -28986,11 +29006,11 @@ function EmailComposer({ className, style, to, setTo, showCc, setShowCc, showBcc
28986
29006
  className: "w-full flex-1 border-2 rounded-md h-[40px] px-3 focus:outline-none border-[#E9E9E9] text-[#383838]"
28987
29007
  }
28988
29008
  ) }),
28989
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: "mb-4", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(MyEditor, { value: body, onChange: setBody }) }),
28990
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("div", { className: "flex justify-end gap-2", children: [
28991
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
28992
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
28993
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
29009
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "mb-4", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MyEditor, { value: body, onChange: setBody }) }),
29010
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: "flex justify-end gap-2", children: [
29011
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("button", { className: "px-4 py-2 rounded-md text-gray-600 hover:bg-gray-100", children: "Discard" }),
29012
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("button", { className: "px-4 py-2 rounded-md border text-[#12715B] border-[#12715B]", children: "Reset" }),
29013
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("button", { className: "px-4 py-2 rounded-md bg-[#12715B] text-white", children: "Send" })
28994
29014
  ] })
28995
29015
  ] }) });
28996
29016
  }
@@ -29034,6 +29054,7 @@ function showSonnerToast({
29034
29054
  // Annotate the CommonJS export names for ESM import in node:
29035
29055
  0 && (module.exports = {
29036
29056
  Accordion,
29057
+ AccordionGroup,
29037
29058
  BarChart,
29038
29059
  Breadcrumb,
29039
29060
  Button,
@@ -29062,6 +29083,7 @@ function showSonnerToast({
29062
29083
  RichText,
29063
29084
  Search,
29064
29085
  Shape,
29086
+ Slot,
29065
29087
  Spacer,
29066
29088
  Stages,
29067
29089
  SwitchToggle,