@lets-events/react 12.9.3 → 12.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -143,7 +143,7 @@ var require_react_is_development = __commonJS({
143
143
  var ContextProvider = REACT_PROVIDER_TYPE;
144
144
  var Element = REACT_ELEMENT_TYPE;
145
145
  var ForwardRef = REACT_FORWARD_REF_TYPE;
146
- var Fragment6 = REACT_FRAGMENT_TYPE;
146
+ var Fragment7 = REACT_FRAGMENT_TYPE;
147
147
  var Lazy = REACT_LAZY_TYPE;
148
148
  var Memo = REACT_MEMO_TYPE;
149
149
  var Portal = REACT_PORTAL_TYPE;
@@ -202,7 +202,7 @@ var require_react_is_development = __commonJS({
202
202
  exports.ContextProvider = ContextProvider;
203
203
  exports.Element = Element;
204
204
  exports.ForwardRef = ForwardRef;
205
- exports.Fragment = Fragment6;
205
+ exports.Fragment = Fragment7;
206
206
  exports.Lazy = Lazy;
207
207
  exports.Memo = Memo;
208
208
  exports.Portal = Portal;
@@ -1443,6 +1443,7 @@ var ButtonStyled = styled(ButtonRadix, {
1443
1443
  $$buttonBgColor: "$colors$grey50",
1444
1444
  $$buttonBorderColor: "inherit",
1445
1445
  $$buttonOutlinedColor: "inherit",
1446
+ $$buttonToggleBgColor: "transparent",
1446
1447
  fontFamily: "$default",
1447
1448
  letterSpacing: 0,
1448
1449
  border: 0,
@@ -1465,6 +1466,7 @@ var ButtonStyled = styled(ButtonRadix, {
1465
1466
  $$buttonColor: "$colors$brand500",
1466
1467
  $$buttonBorderColor: "$colors$brand600",
1467
1468
  $$buttonOutlinedColor: "$$buttonColor",
1469
+ $$buttonToggleBgColor: "rgba(0, 78, 210, 0.2)",
1468
1470
  "&:hover": {
1469
1471
  $$buttonColor: "$colors$brand600",
1470
1472
  $$buttonBorderColor: "$colors$brand700"
@@ -1484,6 +1486,7 @@ var ButtonStyled = styled(ButtonRadix, {
1484
1486
  $$buttonColor: "$colors$purple500",
1485
1487
  $$buttonBorderColor: "$colors$purple300",
1486
1488
  $$buttonOutlinedColor: "$$buttonColor",
1489
+ $$buttonToggleBgColor: "rgba(137, 97, 216, 0.2)",
1487
1490
  "&:hover": {
1488
1491
  $$buttonColor: "$colors$purple600",
1489
1492
  $$buttonBorderColor: "$colors$purple700",
@@ -1507,6 +1510,7 @@ var ButtonStyled = styled(ButtonRadix, {
1507
1510
  $$buttonColor: "$colors$error600",
1508
1511
  $$buttonBorderColor: "$colors$error500",
1509
1512
  $$buttonOutlinedColor: " $colors$error500",
1513
+ $$buttonToggleBgColor: "rgba(219, 54, 68, 0.2)",
1510
1514
  "&:hover": {
1511
1515
  $$buttonColor: "$colors$error600",
1512
1516
  $$buttonBorderColor: "$colors$error700",
@@ -1527,6 +1531,7 @@ var ButtonStyled = styled(ButtonRadix, {
1527
1531
  $$buttonColor: "$colors$info500",
1528
1532
  $$buttonBorderColor: "$colors$info600",
1529
1533
  $$buttonOutlinedColor: "$$buttonColor",
1534
+ $$buttonToggleBgColor: "rgba(2, 120, 254, 0.2)",
1530
1535
  "&:hover": {
1531
1536
  $$buttonColor: "$colors$info600",
1532
1537
  $$buttonBorderColor: "$colors$info700",
@@ -1547,6 +1552,7 @@ var ButtonStyled = styled(ButtonRadix, {
1547
1552
  $$buttonColor: "$colors$success500",
1548
1553
  $$buttonBorderColor: "$colors$success600",
1549
1554
  $$buttonOutlinedColor: "$$buttonColor",
1555
+ $$buttonToggleBgColor: "rgba(38, 167, 67, 0.2)",
1550
1556
  "&:hover": {
1551
1557
  $$buttonColor: "$colors$success600",
1552
1558
  $$buttonBorderColor: "$colors$success700",
@@ -1567,6 +1573,7 @@ var ButtonStyled = styled(ButtonRadix, {
1567
1573
  $$buttonColor: "$colors$warning500",
1568
1574
  $$buttonBorderColor: "$colors$warning600",
1569
1575
  $$buttonOutlinedColor: "$$buttonColor",
1576
+ $$buttonToggleBgColor: "rgba(255, 193, 7, 0.2)",
1570
1577
  "&:hover": {
1571
1578
  $$buttonColor: "$colors$warning600",
1572
1579
  $$buttonBorderColor: "$colors$warning700",
@@ -1587,6 +1594,7 @@ var ButtonStyled = styled(ButtonRadix, {
1587
1594
  $$buttonColor: "$colors$neutral600",
1588
1595
  $$buttonBorderColor: "$colors$neutral300",
1589
1596
  $$buttonOutlinedColor: "$$buttonColor",
1597
+ $$buttonToggleBgColor: "rgba(76, 79, 84, 0.2)",
1590
1598
  "&:hover": {
1591
1599
  $$buttonColor: "$colors$neutral700",
1592
1600
  $$buttonBgColor: "$colors$neutral100",
@@ -1607,6 +1615,7 @@ var ButtonStyled = styled(ButtonRadix, {
1607
1615
  $$buttonColor: "$colors$neutral50",
1608
1616
  $$buttonBorderColor: "$colors$neutral300",
1609
1617
  $$buttonOutlinedColor: "$colors$neutral50",
1618
+ $$buttonToggleBgColor: "rgba(255, 255, 255, 0.2)",
1610
1619
  "&:hover": {
1611
1620
  $$buttonColor: "$colors$neutral100",
1612
1621
  $$buttonBorderColor: "$colors$neutral300",
@@ -1659,6 +1668,18 @@ var ButtonStyled = styled(ButtonRadix, {
1659
1668
  height: "unset",
1660
1669
  color: "$$buttonColor"
1661
1670
  },
1671
+ toggle: {
1672
+ backgroundColor: "transparent",
1673
+ boxShadow: "none",
1674
+ padding: "$6 $12",
1675
+ border: 0,
1676
+ height: "2rem",
1677
+ color: "$$buttonColor",
1678
+ borderRadius: ".5rem",
1679
+ "&:hover": {
1680
+ backgroundColor: "$$buttonToggleBgColor"
1681
+ }
1682
+ },
1662
1683
  contained: {
1663
1684
  color: "$grey50",
1664
1685
  backgroundColor: "$$buttonColor",
@@ -1684,7 +1705,7 @@ var ButtonStyled = styled(ButtonRadix, {
1684
1705
  menuDropdownItem: {
1685
1706
  backgroundColor: "transparent",
1686
1707
  boxShadow: "none",
1687
- padding: "0.25rem 0.5rem",
1708
+ padding: "0.5rem 1rem",
1688
1709
  border: 0,
1689
1710
  height: "unset",
1690
1711
  color: "$$buttonColor",
@@ -1694,6 +1715,20 @@ var ButtonStyled = styled(ButtonRadix, {
1694
1715
  "&:hover": {
1695
1716
  backgroundColor: "$dark100"
1696
1717
  }
1718
+ },
1719
+ menuDropdownItemDelete: {
1720
+ backgroundColor: "transparent",
1721
+ boxShadow: "none",
1722
+ padding: "0.5rem 1rem",
1723
+ border: 0,
1724
+ height: "unset",
1725
+ color: "$$buttonColor",
1726
+ width: "100%",
1727
+ borderRadius: 0,
1728
+ whiteSpace: "nowrap",
1729
+ "&:hover": {
1730
+ backgroundColor: "$red100"
1731
+ }
1697
1732
  }
1698
1733
  },
1699
1734
  fontWeight: {
@@ -1702,6 +1737,11 @@ var ButtonStyled = styled(ButtonRadix, {
1702
1737
  semibold: { fontWeight: "$semibold" },
1703
1738
  bold: { fontWeight: "$bold" }
1704
1739
  },
1740
+ textAlign: {
1741
+ center: { textAlign: "center", justifyContent: "center" },
1742
+ left: { textAlign: "left", justifyContent: "flex-start" },
1743
+ right: { textAlign: "right", justifyContent: "flex-end" }
1744
+ },
1705
1745
  outlinedBgColor: {
1706
1746
  neutral: {},
1707
1747
  transparent: {
@@ -1735,6 +1775,7 @@ var ButtonStyled = styled(ButtonRadix, {
1735
1775
  color: "brand",
1736
1776
  size: "medium",
1737
1777
  fontWeight: "medium",
1778
+ textAlign: "center",
1738
1779
  outlinedBgColor: "transparent"
1739
1780
  }
1740
1781
  });
@@ -1864,10 +1905,20 @@ function Flex(_a) {
1864
1905
 
1865
1906
  // src/components/Button/index.tsx
1866
1907
  import { jsx as jsx4, jsxs } from "react/jsx-runtime";
1908
+ var getJustifyByTextAlign = (textAlign) => {
1909
+ switch (textAlign) {
1910
+ case "left":
1911
+ return "start";
1912
+ case "right":
1913
+ return "end";
1914
+ default:
1915
+ return "center";
1916
+ }
1917
+ };
1867
1918
  function Button(_a) {
1868
1919
  var _b = _a, { asChild, children, loading } = _b, props = __objRest(_b, ["asChild", "children", "loading"]);
1869
1920
  const Component = asChild ? ButtonRadix2 : "button";
1870
- const { size, disabled } = props;
1921
+ const { size, disabled, textAlign = "center" } = props;
1871
1922
  const spinnerSize = useMemo(() => {
1872
1923
  switch (size) {
1873
1924
  case "small":
@@ -1886,7 +1937,7 @@ function Button(_a) {
1886
1937
  /* @__PURE__ */ jsx4(
1887
1938
  Flex,
1888
1939
  {
1889
- justify: "center",
1940
+ justify: getJustifyByTextAlign(textAlign),
1890
1941
  align: "center",
1891
1942
  css: { visibility: loading ? "hidden" : void 0 },
1892
1943
  children
@@ -3746,7 +3797,7 @@ var MenuItemsContainerStyled = styled("div", {
3746
3797
  top: "2.125rem",
3747
3798
  zIndex: "999",
3748
3799
  width: "fit-content",
3749
- minWidth: "5rem",
3800
+ minWidth: "6rem",
3750
3801
  background: "#fff",
3751
3802
  maxWidth: "18.75rem",
3752
3803
  margin: "auto",
@@ -8583,7 +8634,10 @@ function Drawer({
8583
8634
  css: {
8584
8635
  zIndex: zIndex + 1,
8585
8636
  width: width != null ? width : "34.25rem",
8586
- maxWidth: "100%"
8637
+ maxWidth: "100%",
8638
+ "@md": {
8639
+ width: "100%"
8640
+ }
8587
8641
  },
8588
8642
  open: isOpen,
8589
8643
  children: /* @__PURE__ */ jsxs9(
@@ -10287,9 +10341,52 @@ var Divider = styled("div", {
10287
10341
  height: "1px"
10288
10342
  });
10289
10343
 
10344
+ // src/components/ToggleElement/index.tsx
10345
+ import { useState as useState9 } from "react";
10346
+ import { Fragment as Fragment3, jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
10347
+ function ToggleElement({
10348
+ children,
10349
+ label,
10350
+ openedLabel,
10351
+ defaultOpen = false,
10352
+ open,
10353
+ hideButtonWhenOpen = true,
10354
+ buttonProps,
10355
+ onOpenChange
10356
+ }) {
10357
+ const [internalOpen, setInternalOpen] = useState9(defaultOpen);
10358
+ const isControlled = open !== void 0;
10359
+ const isOpen = isControlled ? open : internalOpen;
10360
+ const handleClick = () => {
10361
+ const nextOpen = !isOpen;
10362
+ if (!isControlled) {
10363
+ setInternalOpen(nextOpen);
10364
+ }
10365
+ onOpenChange == null ? void 0 : onOpenChange(nextOpen);
10366
+ };
10367
+ return /* @__PURE__ */ jsxs17(Fragment3, { children: [
10368
+ (!isOpen || !hideButtonWhenOpen) && /* @__PURE__ */ jsxs17(
10369
+ Button,
10370
+ __spreadProps(__spreadValues({
10371
+ type: "button",
10372
+ variant: "toggle",
10373
+ color: "brand",
10374
+ size: "small"
10375
+ }, buttonProps), {
10376
+ onClick: handleClick,
10377
+ children: [
10378
+ !isOpen && /* @__PURE__ */ jsx28(Icon, { name: "plus", size: "md" }),
10379
+ isOpen ? openedLabel != null ? openedLabel : label : label
10380
+ ]
10381
+ })
10382
+ ),
10383
+ isOpen && children
10384
+ ] });
10385
+ }
10386
+
10290
10387
  // src/components/Grid.tsx
10291
10388
  import { Grid as GridRadix } from "@radix-ui/themes";
10292
- import { jsx as jsx28 } from "react/jsx-runtime";
10389
+ import { jsx as jsx29 } from "react/jsx-runtime";
10293
10390
  var GridStyled = styled(GridRadix, {
10294
10391
  display: "grid",
10295
10392
  variants: {
@@ -10411,12 +10508,12 @@ var GridStyled = styled(GridRadix, {
10411
10508
  });
10412
10509
  function Grid(_a) {
10413
10510
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
10414
- return /* @__PURE__ */ jsx28(GridStyled, __spreadProps(__spreadValues({}, props), { children }));
10511
+ return /* @__PURE__ */ jsx29(GridStyled, __spreadProps(__spreadValues({}, props), { children }));
10415
10512
  }
10416
10513
 
10417
10514
  // src/components/Container.tsx
10418
10515
  import { Container as ContainerRadix } from "@radix-ui/themes";
10419
- import { jsx as jsx29 } from "react/jsx-runtime";
10516
+ import { jsx as jsx30 } from "react/jsx-runtime";
10420
10517
  var ContainerStyled = styled(ContainerRadix, {
10421
10518
  variants: {
10422
10519
  size: {
@@ -10446,12 +10543,12 @@ var ContainerStyled = styled(ContainerRadix, {
10446
10543
  });
10447
10544
  function Container(_a) {
10448
10545
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
10449
- return /* @__PURE__ */ jsx29(ContainerStyled, __spreadProps(__spreadValues({}, props), { children }));
10546
+ return /* @__PURE__ */ jsx30(ContainerStyled, __spreadProps(__spreadValues({}, props), { children }));
10450
10547
  }
10451
10548
 
10452
10549
  // src/components/Section.tsx
10453
10550
  import { Section as SectionRadix } from "@radix-ui/themes";
10454
- import { jsx as jsx30 } from "react/jsx-runtime";
10551
+ import { jsx as jsx31 } from "react/jsx-runtime";
10455
10552
  var SectionStyled = styled(SectionRadix, {
10456
10553
  variants: {
10457
10554
  size: {
@@ -10475,28 +10572,28 @@ var SectionStyled = styled(SectionRadix, {
10475
10572
  });
10476
10573
  function Section(_a) {
10477
10574
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
10478
- return /* @__PURE__ */ jsx30(SectionStyled, __spreadProps(__spreadValues({}, props), { children }));
10575
+ return /* @__PURE__ */ jsx31(SectionStyled, __spreadProps(__spreadValues({}, props), { children }));
10479
10576
  }
10480
10577
 
10481
10578
  // src/components/FormFields/subComponents/ErrorFormMessage.tsx
10482
10579
  import { faXmarkCircle } from "@fortawesome/free-solid-svg-icons";
10483
10580
  import { FontAwesomeIcon as FontAwesomeIcon4 } from "@fortawesome/react-fontawesome";
10484
- import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
10581
+ import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
10485
10582
  var ErrorFormMessage = ({ message: message2 }) => {
10486
10583
  if (!message2) return null;
10487
10584
  if (typeof message2 !== "string") {
10488
10585
  return null;
10489
10586
  }
10490
- return /* @__PURE__ */ jsxs17(Flex, { justify: "start", align: "center", gap: 6, children: [
10491
- /* @__PURE__ */ jsx31(FontAwesomeIcon4, { icon: faXmarkCircle, color: colors.error600, size: "1x" }),
10492
- /* @__PURE__ */ jsx31(Text, { typography: "bodyXS", fontWeight: "medium", color: "error600", children: message2 })
10587
+ return /* @__PURE__ */ jsxs18(Flex, { justify: "start", align: "center", gap: 6, children: [
10588
+ /* @__PURE__ */ jsx32(FontAwesomeIcon4, { icon: faXmarkCircle, color: colors.error600, size: "1x" }),
10589
+ /* @__PURE__ */ jsx32(Text, { typography: "bodyXS", fontWeight: "medium", color: "error600", children: message2 })
10493
10590
  ] });
10494
10591
  };
10495
10592
 
10496
10593
  // src/components/FormFields/subComponents/FormLabel.tsx
10497
10594
  import { FontAwesomeIcon as FontAwesomeIcon5 } from "@fortawesome/react-fontawesome";
10498
10595
  import { faAsterisk } from "@fortawesome/free-solid-svg-icons";
10499
- import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
10596
+ import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
10500
10597
  var FormLabel = ({
10501
10598
  name,
10502
10599
  label,
@@ -10504,8 +10601,8 @@ var FormLabel = ({
10504
10601
  required
10505
10602
  }) => {
10506
10603
  if (!label) return null;
10507
- return /* @__PURE__ */ jsxs18(Flex, { align: "start", gap: 6, children: [
10508
- /* @__PURE__ */ jsx32(
10604
+ return /* @__PURE__ */ jsxs19(Flex, { align: "start", gap: 6, children: [
10605
+ /* @__PURE__ */ jsx33(
10509
10606
  Text,
10510
10607
  {
10511
10608
  typography: "labelMedium",
@@ -10515,13 +10612,13 @@ var FormLabel = ({
10515
10612
  children: label
10516
10613
  }
10517
10614
  ),
10518
- required && /* @__PURE__ */ jsx32(FontAwesomeIcon5, { icon: faAsterisk, fontSize: "8px", color: "#AD1F2B" })
10615
+ required && /* @__PURE__ */ jsx33(FontAwesomeIcon5, { icon: faAsterisk, fontSize: "8px", color: "#AD1F2B" })
10519
10616
  ] });
10520
10617
  };
10521
10618
 
10522
10619
  // src/components/FormFields/TextAreaFormField.tsx
10523
10620
  import { useFormContext } from "react-hook-form";
10524
- import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
10621
+ import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
10525
10622
  var TextAreaFormField = (_a) => {
10526
10623
  var _b = _a, {
10527
10624
  name,
@@ -10553,8 +10650,8 @@ var TextAreaFormField = (_a) => {
10553
10650
  required: required ? validationErrorMessage : false,
10554
10651
  validate
10555
10652
  };
10556
- return /* @__PURE__ */ jsxs19(Flex, { direction: "column", children: [
10557
- /* @__PURE__ */ jsx33(
10653
+ return /* @__PURE__ */ jsxs20(Flex, { direction: "column", children: [
10654
+ /* @__PURE__ */ jsx34(
10558
10655
  FormLabel,
10559
10656
  {
10560
10657
  name,
@@ -10563,7 +10660,7 @@ var TextAreaFormField = (_a) => {
10563
10660
  haveError
10564
10661
  }
10565
10662
  ),
10566
- /* @__PURE__ */ jsx33(
10663
+ /* @__PURE__ */ jsx34(
10567
10664
  TextareaField,
10568
10665
  __spreadProps(__spreadValues(__spreadValues({}, props), register(name, validationRules)), {
10569
10666
  placeholder,
@@ -10573,7 +10670,7 @@ var TextAreaFormField = (_a) => {
10573
10670
  top
10574
10671
  })
10575
10672
  ),
10576
- /* @__PURE__ */ jsx33(ErrorFormMessage, { message: errorMsg })
10673
+ /* @__PURE__ */ jsx34(ErrorFormMessage, { message: errorMsg })
10577
10674
  ] });
10578
10675
  };
10579
10676
 
@@ -10583,7 +10680,7 @@ import {
10583
10680
  } from "react-hook-form";
10584
10681
  import { useCallback as useCallback3, useMemo as useMemo3 } from "react";
10585
10682
  import { format as format3, unformat as unformat2 } from "@react-input/mask";
10586
- import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
10683
+ import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
10587
10684
  var TextFormField = (_a) => {
10588
10685
  var _b = _a, {
10589
10686
  name,
@@ -10638,8 +10735,8 @@ var TextFormField = (_a) => {
10638
10735
  if (valueFormatter) value = valueFormatter.unformat(value);
10639
10736
  formChange(value);
10640
10737
  };
10641
- return /* @__PURE__ */ jsxs20(Flex, { direction: "column", children: [
10642
- label && /* @__PURE__ */ jsx34(
10738
+ return /* @__PURE__ */ jsxs21(Flex, { direction: "column", children: [
10739
+ label && /* @__PURE__ */ jsx35(
10643
10740
  FormLabel,
10644
10741
  {
10645
10742
  name,
@@ -10648,7 +10745,7 @@ var TextFormField = (_a) => {
10648
10745
  haveError
10649
10746
  }
10650
10747
  ),
10651
- /* @__PURE__ */ jsx34(
10748
+ /* @__PURE__ */ jsx35(
10652
10749
  TextField,
10653
10750
  __spreadProps(__spreadValues(__spreadValues({
10654
10751
  mask,
@@ -10659,7 +10756,7 @@ var TextFormField = (_a) => {
10659
10756
  value: formattedValue
10660
10757
  })
10661
10758
  ),
10662
- /* @__PURE__ */ jsx34(ErrorFormMessage, { message: errorMsg })
10759
+ /* @__PURE__ */ jsx35(ErrorFormMessage, { message: errorMsg })
10663
10760
  ] });
10664
10761
  };
10665
10762
 
@@ -10668,7 +10765,7 @@ import {
10668
10765
  FormProvider,
10669
10766
  useForm
10670
10767
  } from "react-hook-form";
10671
- import { jsx as jsx35 } from "react/jsx-runtime";
10768
+ import { jsx as jsx36 } from "react/jsx-runtime";
10672
10769
  var Form = (_a) => {
10673
10770
  var _b = _a, {
10674
10771
  onSubmit,
@@ -10680,7 +10777,7 @@ var Form = (_a) => {
10680
10777
  const formMethods = useForm(__spreadValues({
10681
10778
  mode: "onTouched"
10682
10779
  }, props));
10683
- return /* @__PURE__ */ jsx35(FormProvider, __spreadProps(__spreadValues({}, formMethods), { children: /* @__PURE__ */ jsx35("form", { onSubmit: formMethods.handleSubmit(onSubmit), children: (() => {
10780
+ return /* @__PURE__ */ jsx36(FormProvider, __spreadProps(__spreadValues({}, formMethods), { children: /* @__PURE__ */ jsx36("form", { onSubmit: formMethods.handleSubmit(onSubmit), children: (() => {
10684
10781
  if (typeof children === "function") {
10685
10782
  return children(formMethods);
10686
10783
  }
@@ -10690,7 +10787,7 @@ var Form = (_a) => {
10690
10787
 
10691
10788
  // src/components/FormFields/MultiSelectFormField.tsx
10692
10789
  import { useController as useController2 } from "react-hook-form";
10693
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
10790
+ import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
10694
10791
  var MultiSelectFormField = (_a) => {
10695
10792
  var _b = _a, {
10696
10793
  name,
@@ -10721,8 +10818,8 @@ var MultiSelectFormField = (_a) => {
10721
10818
  const handleChange = (v) => {
10722
10819
  onChange(v);
10723
10820
  };
10724
- return /* @__PURE__ */ jsxs21(Flex, { direction: "column", children: [
10725
- /* @__PURE__ */ jsx36(
10821
+ return /* @__PURE__ */ jsxs22(Flex, { direction: "column", children: [
10822
+ /* @__PURE__ */ jsx37(
10726
10823
  FormLabel,
10727
10824
  {
10728
10825
  name,
@@ -10731,7 +10828,7 @@ var MultiSelectFormField = (_a) => {
10731
10828
  haveError
10732
10829
  }
10733
10830
  ),
10734
- /* @__PURE__ */ jsx36(
10831
+ /* @__PURE__ */ jsx37(
10735
10832
  MultiSelect,
10736
10833
  __spreadValues({
10737
10834
  value,
@@ -10743,7 +10840,7 @@ var MultiSelectFormField = (_a) => {
10743
10840
  maxHeight
10744
10841
  }, rest)
10745
10842
  ),
10746
- /* @__PURE__ */ jsx36(ErrorFormMessage, { message: errorMsg })
10843
+ /* @__PURE__ */ jsx37(ErrorFormMessage, { message: errorMsg })
10747
10844
  ] });
10748
10845
  };
10749
10846
 
@@ -10761,13 +10858,13 @@ var minMaxLength = (min, max, errorMsg) => (value) => {
10761
10858
  };
10762
10859
 
10763
10860
  // src/components/FormFields/PhoneFormField.tsx
10764
- import { jsx as jsx37 } from "react/jsx-runtime";
10861
+ import { jsx as jsx38 } from "react/jsx-runtime";
10765
10862
  var PhoneFormField = ({
10766
10863
  name,
10767
10864
  label,
10768
10865
  required
10769
10866
  }) => {
10770
- return /* @__PURE__ */ jsx37(
10867
+ return /* @__PURE__ */ jsx38(
10771
10868
  TextFormField,
10772
10869
  {
10773
10870
  name,
@@ -10797,7 +10894,7 @@ var PhoneFormField = ({
10797
10894
 
10798
10895
  // src/components/FormFields/CPFFormField.tsx
10799
10896
  import { useFormContext as useFormContext3, useWatch } from "react-hook-form";
10800
- import { jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
10897
+ import { jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
10801
10898
  var isValidCPF = (cpf) => {
10802
10899
  cpf = cpf.replace(/[^\d]+/g, "");
10803
10900
  if (cpf.length !== 11 || /^(\d)\1{10}$/.test(cpf)) return false;
@@ -10823,8 +10920,8 @@ var CPFFormField = ({
10823
10920
  }) => {
10824
10921
  const { control, setValue } = useFormContext3();
10825
10922
  const foreigner = useWatch({ name: "foreigner", control });
10826
- return /* @__PURE__ */ jsxs22(Flex, { direction: "column", children: [
10827
- /* @__PURE__ */ jsx38(
10923
+ return /* @__PURE__ */ jsxs23(Flex, { direction: "column", children: [
10924
+ /* @__PURE__ */ jsx39(
10828
10925
  TextFormField,
10829
10926
  {
10830
10927
  name,
@@ -10842,7 +10939,7 @@ var CPFFormField = ({
10842
10939
  disabled: foreigner
10843
10940
  }
10844
10941
  ),
10845
- /* @__PURE__ */ jsx38(
10942
+ /* @__PURE__ */ jsx39(
10846
10943
  CheckboxGroup,
10847
10944
  {
10848
10945
  value: foreigner ? ["true"] : [],
@@ -10854,14 +10951,14 @@ var CPFFormField = ({
10854
10951
  setValue(name, "");
10855
10952
  }
10856
10953
  },
10857
- children: /* @__PURE__ */ jsx38(CheckboxItem, { value: "true", children: foreignerLabel })
10954
+ children: /* @__PURE__ */ jsx39(CheckboxItem, { value: "true", children: foreignerLabel })
10858
10955
  }
10859
10956
  )
10860
10957
  ] });
10861
10958
  };
10862
10959
 
10863
10960
  // src/components/FormFields/CNPJFormField.tsx
10864
- import { jsx as jsx39 } from "react/jsx-runtime";
10961
+ import { jsx as jsx40 } from "react/jsx-runtime";
10865
10962
  var matchesNonDigit = new RegExp(/\D+/g);
10866
10963
  var getWeights = (size, start, end) => {
10867
10964
  const weights = [];
@@ -10910,7 +11007,7 @@ var CNPJFormField = ({
10910
11007
  placeholder,
10911
11008
  validationErrorMessage
10912
11009
  }) => {
10913
- return /* @__PURE__ */ jsx39(
11010
+ return /* @__PURE__ */ jsx40(
10914
11011
  TextFormField,
10915
11012
  {
10916
11013
  name,
@@ -10931,7 +11028,7 @@ var CNPJFormField = ({
10931
11028
  };
10932
11029
 
10933
11030
  // src/components/FormFields/BirthDateFormField.tsx
10934
- import { jsx as jsx40 } from "react/jsx-runtime";
11031
+ import { jsx as jsx41 } from "react/jsx-runtime";
10935
11032
  var isValidDate = (day, month, year) => {
10936
11033
  const date = new Date(year, month - 1, day);
10937
11034
  return date.getFullYear() === year && date.getMonth() === month - 1 && date.getDate() === day;
@@ -10968,7 +11065,7 @@ var BirthDateFormField = ({
10968
11065
  language
10969
11066
  }) => {
10970
11067
  const inputPlaceholder = placeholder || (language === "pt-BR" ? "DD/MM/AAAA" : "MM/DD/YYYY");
10971
- return /* @__PURE__ */ jsx40(
11068
+ return /* @__PURE__ */ jsx41(
10972
11069
  TextFormField,
10973
11070
  {
10974
11071
  name,
@@ -10989,7 +11086,7 @@ var BirthDateFormField = ({
10989
11086
  };
10990
11087
 
10991
11088
  // src/components/FormFields/IdentityDocumentNumberFormField.tsx
10992
- import { jsx as jsx41 } from "react/jsx-runtime";
11089
+ import { jsx as jsx42 } from "react/jsx-runtime";
10993
11090
  var IdentityDocumentNumberFormField = ({
10994
11091
  name,
10995
11092
  label,
@@ -10997,7 +11094,7 @@ var IdentityDocumentNumberFormField = ({
10997
11094
  placeholder,
10998
11095
  validationErrorMessage
10999
11096
  }) => {
11000
- return /* @__PURE__ */ jsx41(
11097
+ return /* @__PURE__ */ jsx42(
11001
11098
  TextFormField,
11002
11099
  {
11003
11100
  name,
@@ -11026,7 +11123,7 @@ function getNestedValue(obj, path) {
11026
11123
  }
11027
11124
 
11028
11125
  // src/components/FormFields/SelectFormField.tsx
11029
- import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
11126
+ import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
11030
11127
  var SelectFormField = ({
11031
11128
  name,
11032
11129
  label,
@@ -11050,8 +11147,8 @@ var SelectFormField = ({
11050
11147
  const validationRules = __spreadValues({
11051
11148
  required: required ? validationErrorMessage : false
11052
11149
  }, validation);
11053
- return /* @__PURE__ */ jsxs23(Flex, { direction: "column", children: [
11054
- /* @__PURE__ */ jsx42(
11150
+ return /* @__PURE__ */ jsxs24(Flex, { direction: "column", children: [
11151
+ /* @__PURE__ */ jsx43(
11055
11152
  FormLabel,
11056
11153
  {
11057
11154
  name,
@@ -11060,7 +11157,7 @@ var SelectFormField = ({
11060
11157
  haveError
11061
11158
  }
11062
11159
  ),
11063
- /* @__PURE__ */ jsx42(
11160
+ /* @__PURE__ */ jsx43(
11064
11161
  Controller,
11065
11162
  {
11066
11163
  control,
@@ -11069,7 +11166,7 @@ var SelectFormField = ({
11069
11166
  defaultValue: defaultValue || "",
11070
11167
  render: ({ field: { value, onChange } }) => {
11071
11168
  const selectedOption = options.find((opt) => opt.value === value);
11072
- return /* @__PURE__ */ jsxs23(
11169
+ return /* @__PURE__ */ jsxs24(
11073
11170
  DropdownMenu2,
11074
11171
  {
11075
11172
  placeholder: (selectedOption == null ? void 0 : selectedOption.label) || placeholder,
@@ -11077,7 +11174,7 @@ var SelectFormField = ({
11077
11174
  typography: "labelLarge",
11078
11175
  color: haveError ? "error" : "default",
11079
11176
  children: [
11080
- options.map((option, index) => /* @__PURE__ */ jsx42(
11177
+ options.map((option, index) => /* @__PURE__ */ jsx43(
11081
11178
  DropdownMenuItem,
11082
11179
  {
11083
11180
  value: option.value,
@@ -11088,7 +11185,7 @@ var SelectFormField = ({
11088
11185
  },
11089
11186
  `${option.value}${index}`
11090
11187
  )),
11091
- showMoreButton && showMoreButtonOnClick && /* @__PURE__ */ jsx42(
11188
+ showMoreButton && showMoreButtonOnClick && /* @__PURE__ */ jsx43(
11092
11189
  Button,
11093
11190
  {
11094
11191
  variant: "menuDropdownItem",
@@ -11106,7 +11203,7 @@ var SelectFormField = ({
11106
11203
  }
11107
11204
  }
11108
11205
  ),
11109
- /* @__PURE__ */ jsx42(ErrorFormMessage, { message: errorMsg })
11206
+ /* @__PURE__ */ jsx43(ErrorFormMessage, { message: errorMsg })
11110
11207
  ] });
11111
11208
  };
11112
11209
 
@@ -11139,7 +11236,7 @@ function useCountries(language = "pt-BR") {
11139
11236
  }
11140
11237
 
11141
11238
  // src/components/FormFields/AddressFormFields/CountryFormField.tsx
11142
- import { jsx as jsx43 } from "react/jsx-runtime";
11239
+ import { jsx as jsx44 } from "react/jsx-runtime";
11143
11240
  function CountryFormField({
11144
11241
  name,
11145
11242
  label,
@@ -11147,7 +11244,7 @@ function CountryFormField({
11147
11244
  language = "pt-BR"
11148
11245
  }) {
11149
11246
  const countries2 = useCountries(language);
11150
- return /* @__PURE__ */ jsx43(Flex, { direction: "column", children: /* @__PURE__ */ jsx43(
11247
+ return /* @__PURE__ */ jsx44(Flex, { direction: "column", children: /* @__PURE__ */ jsx44(
11151
11248
  SelectFormField,
11152
11249
  {
11153
11250
  label,
@@ -11160,7 +11257,7 @@ function CountryFormField({
11160
11257
  }
11161
11258
 
11162
11259
  // src/components/FormFields/AddressFormFields/PostalCodeFormField.tsx
11163
- import { jsx as jsx44 } from "react/jsx-runtime";
11260
+ import { jsx as jsx45 } from "react/jsx-runtime";
11164
11261
  var PostalCodeFormField = ({
11165
11262
  name,
11166
11263
  label,
@@ -11169,7 +11266,7 @@ var PostalCodeFormField = ({
11169
11266
  validationErrorMessage,
11170
11267
  onChange
11171
11268
  }) => {
11172
- return /* @__PURE__ */ jsx44(
11269
+ return /* @__PURE__ */ jsx45(
11173
11270
  TextFormField,
11174
11271
  {
11175
11272
  name,
@@ -11222,14 +11319,14 @@ var brazilianStates = [
11222
11319
  ];
11223
11320
 
11224
11321
  // src/components/FormFields/AddressFormFields/StateFormField.tsx
11225
- import { Fragment as Fragment3, jsx as jsx45 } from "react/jsx-runtime";
11322
+ import { Fragment as Fragment4, jsx as jsx46 } from "react/jsx-runtime";
11226
11323
  function StateFormField({
11227
11324
  name,
11228
11325
  label,
11229
11326
  required,
11230
11327
  isBrazil
11231
11328
  }) {
11232
- return /* @__PURE__ */ jsx45(Fragment3, { children: isBrazil ? /* @__PURE__ */ jsx45(
11329
+ return /* @__PURE__ */ jsx46(Fragment4, { children: isBrazil ? /* @__PURE__ */ jsx46(
11233
11330
  SelectFormField,
11234
11331
  {
11235
11332
  name,
@@ -11237,13 +11334,13 @@ function StateFormField({
11237
11334
  required,
11238
11335
  label
11239
11336
  }
11240
- ) : /* @__PURE__ */ jsx45(TextFormField, { name, required, label }) });
11337
+ ) : /* @__PURE__ */ jsx46(TextFormField, { name, required, label }) });
11241
11338
  }
11242
11339
 
11243
11340
  // src/components/FormFields/AddressFormFields/CityFormField.tsx
11244
- import { useEffect as useEffect8, useState as useState9 } from "react";
11341
+ import { useEffect as useEffect8, useState as useState10 } from "react";
11245
11342
  import { useFormContext as useFormContext5, Controller as Controller2 } from "react-hook-form";
11246
- import { Fragment as Fragment4, jsx as jsx46 } from "react/jsx-runtime";
11343
+ import { Fragment as Fragment5, jsx as jsx47 } from "react/jsx-runtime";
11247
11344
  function CityFormField({
11248
11345
  name,
11249
11346
  label,
@@ -11254,8 +11351,8 @@ function CityFormField({
11254
11351
  }) {
11255
11352
  const { control, watch } = useFormContext5();
11256
11353
  const selectedState = watch(stateName);
11257
- const [cities, setCities] = useState9([]);
11258
- const [loading, setLoading] = useState9(false);
11354
+ const [cities, setCities] = useState10([]);
11355
+ const [loading, setLoading] = useState10(false);
11259
11356
  useEffect8(() => {
11260
11357
  if (!isBrazil) {
11261
11358
  setCities([]);
@@ -11295,13 +11392,13 @@ function CityFormField({
11295
11392
  }
11296
11393
  fetchCities();
11297
11394
  }, [selectedState, isBrazil]);
11298
- return /* @__PURE__ */ jsx46(Fragment4, { children: isBrazil && cities.length > 0 ? /* @__PURE__ */ jsx46(
11395
+ return /* @__PURE__ */ jsx47(Fragment5, { children: isBrazil && cities.length > 0 ? /* @__PURE__ */ jsx47(
11299
11396
  Controller2,
11300
11397
  {
11301
11398
  name,
11302
11399
  control,
11303
11400
  rules: { required },
11304
- render: ({ field }) => /* @__PURE__ */ jsx46(
11401
+ render: ({ field }) => /* @__PURE__ */ jsx47(
11305
11402
  SelectFormField,
11306
11403
  __spreadProps(__spreadValues({
11307
11404
  label,
@@ -11315,7 +11412,7 @@ function CityFormField({
11315
11412
  })
11316
11413
  )
11317
11414
  }
11318
- ) : /* @__PURE__ */ jsx46(
11415
+ ) : /* @__PURE__ */ jsx47(
11319
11416
  TextFormField,
11320
11417
  {
11321
11418
  name,
@@ -11327,7 +11424,7 @@ function CityFormField({
11327
11424
  }
11328
11425
 
11329
11426
  // src/components/FormFields/AddressFormFields/index.tsx
11330
- import { jsx as jsx47, jsxs as jsxs24 } from "react/jsx-runtime";
11427
+ import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
11331
11428
  function getNestedValue2(obj, path) {
11332
11429
  return path.split(".").reduce((acc, key) => acc == null ? void 0 : acc[key], obj);
11333
11430
  }
@@ -11377,8 +11474,8 @@ function AddressFormFields({
11377
11474
  console.error("Erro ao buscar CEP");
11378
11475
  });
11379
11476
  };
11380
- return /* @__PURE__ */ jsxs24(AddressContainerStyled, { layout, children: [
11381
- /* @__PURE__ */ jsx47(
11477
+ return /* @__PURE__ */ jsxs25(AddressContainerStyled, { layout, children: [
11478
+ /* @__PURE__ */ jsx48(
11382
11479
  FormLabel,
11383
11480
  {
11384
11481
  name,
@@ -11387,7 +11484,7 @@ function AddressFormFields({
11387
11484
  haveError
11388
11485
  }
11389
11486
  ),
11390
- /* @__PURE__ */ jsx47(
11487
+ /* @__PURE__ */ jsx48(
11391
11488
  CountryFormField,
11392
11489
  {
11393
11490
  name: `${name}.country`,
@@ -11396,7 +11493,7 @@ function AddressFormFields({
11396
11493
  language: "pt-BR"
11397
11494
  }
11398
11495
  ),
11399
- isBrazil ? /* @__PURE__ */ jsx47(
11496
+ isBrazil ? /* @__PURE__ */ jsx48(
11400
11497
  PostalCodeFormField,
11401
11498
  {
11402
11499
  name: `${name}.zip_code`,
@@ -11406,7 +11503,7 @@ function AddressFormFields({
11406
11503
  validationErrorMessage: "CEP inv\xE1lido",
11407
11504
  onChange: handleCEPChange
11408
11505
  }
11409
- ) : /* @__PURE__ */ jsx47(
11506
+ ) : /* @__PURE__ */ jsx48(
11410
11507
  TextFormField,
11411
11508
  {
11412
11509
  name: `${name}.zip_code`,
@@ -11414,7 +11511,7 @@ function AddressFormFields({
11414
11511
  required
11415
11512
  }
11416
11513
  ),
11417
- /* @__PURE__ */ jsx47(
11514
+ /* @__PURE__ */ jsx48(
11418
11515
  StateFormField,
11419
11516
  {
11420
11517
  name: `${name}.state`,
@@ -11423,7 +11520,7 @@ function AddressFormFields({
11423
11520
  isBrazil
11424
11521
  }
11425
11522
  ),
11426
- /* @__PURE__ */ jsx47(
11523
+ /* @__PURE__ */ jsx48(
11427
11524
  CityFormField,
11428
11525
  {
11429
11526
  name: `${name}.city`,
@@ -11433,8 +11530,8 @@ function AddressFormFields({
11433
11530
  isBrazil
11434
11531
  }
11435
11532
  ),
11436
- /* @__PURE__ */ jsx47(TextFormField, { name: `${name}.street`, label: "Rua", required }),
11437
- /* @__PURE__ */ jsx47(
11533
+ /* @__PURE__ */ jsx48(TextFormField, { name: `${name}.street`, label: "Rua", required }),
11534
+ /* @__PURE__ */ jsx48(
11438
11535
  TextFormField,
11439
11536
  {
11440
11537
  name: `${name}.number`,
@@ -11442,7 +11539,7 @@ function AddressFormFields({
11442
11539
  required
11443
11540
  }
11444
11541
  ),
11445
- /* @__PURE__ */ jsx47(
11542
+ /* @__PURE__ */ jsx48(
11446
11543
  TextFormField,
11447
11544
  {
11448
11545
  name: `${name}.neighborhood`,
@@ -11450,13 +11547,13 @@ function AddressFormFields({
11450
11547
  required
11451
11548
  }
11452
11549
  ),
11453
- /* @__PURE__ */ jsx47(TextFormField, { name: `${name}.complement`, label: "Complemento" })
11550
+ /* @__PURE__ */ jsx48(TextFormField, { name: `${name}.complement`, label: "Complemento" })
11454
11551
  ] });
11455
11552
  }
11456
11553
 
11457
11554
  // src/components/FormFields/RadioGroupFormField.tsx
11458
11555
  import { Controller as Controller3, useFormContext as useFormContext7 } from "react-hook-form";
11459
- import { jsx as jsx48, jsxs as jsxs25 } from "react/jsx-runtime";
11556
+ import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
11460
11557
  var RadioGroupFormField = ({
11461
11558
  name,
11462
11559
  label,
@@ -11478,8 +11575,8 @@ var RadioGroupFormField = ({
11478
11575
  const validationRules = {
11479
11576
  required: required ? validationErrorMessage : false
11480
11577
  };
11481
- return /* @__PURE__ */ jsxs25(Flex, { direction: "column", children: [
11482
- /* @__PURE__ */ jsx48(
11578
+ return /* @__PURE__ */ jsxs26(Flex, { direction: "column", children: [
11579
+ /* @__PURE__ */ jsx49(
11483
11580
  FormLabel,
11484
11581
  {
11485
11582
  name,
@@ -11488,14 +11585,14 @@ var RadioGroupFormField = ({
11488
11585
  haveError
11489
11586
  }
11490
11587
  ),
11491
- /* @__PURE__ */ jsx48(
11588
+ /* @__PURE__ */ jsx49(
11492
11589
  Controller3,
11493
11590
  {
11494
11591
  name,
11495
11592
  control,
11496
11593
  defaultValue: defaultValue || "",
11497
11594
  rules: validationRules,
11498
- render: ({ field: { value, onChange } }) => /* @__PURE__ */ jsx48(
11595
+ render: ({ field: { value, onChange } }) => /* @__PURE__ */ jsx49(
11499
11596
  RadioGroup,
11500
11597
  {
11501
11598
  value,
@@ -11503,18 +11600,18 @@ var RadioGroupFormField = ({
11503
11600
  color: haveError ? "error" : color,
11504
11601
  fontWeight,
11505
11602
  disabled,
11506
- children: /* @__PURE__ */ jsx48(Flex, { direction: "column", children: options.map((option) => /* @__PURE__ */ jsx48(RadioItem, { value: option.value, children: /* @__PURE__ */ jsx48(Text, { typography: "labelSmall", children: option.label }) }, option.value)) })
11603
+ children: /* @__PURE__ */ jsx49(Flex, { direction: "column", children: options.map((option) => /* @__PURE__ */ jsx49(RadioItem, { value: option.value, children: /* @__PURE__ */ jsx49(Text, { typography: "labelSmall", children: option.label }) }, option.value)) })
11507
11604
  }
11508
11605
  )
11509
11606
  }
11510
11607
  ),
11511
- /* @__PURE__ */ jsx48(ErrorFormMessage, { message: errorMsg })
11608
+ /* @__PURE__ */ jsx49(ErrorFormMessage, { message: errorMsg })
11512
11609
  ] });
11513
11610
  };
11514
11611
 
11515
11612
  // src/components/FormFields/CheckboxGroupFormField.tsx
11516
11613
  import { Controller as Controller4, useFormContext as useFormContext8 } from "react-hook-form";
11517
- import { jsx as jsx49, jsxs as jsxs26 } from "react/jsx-runtime";
11614
+ import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
11518
11615
  var CheckboxGroupFormField = ({
11519
11616
  name,
11520
11617
  label,
@@ -11537,8 +11634,8 @@ var CheckboxGroupFormField = ({
11537
11634
  required: required ? validationErrorMessage : false,
11538
11635
  validate: required ? (value) => (value == null ? void 0 : value.length) > 0 || validationErrorMessage : void 0
11539
11636
  };
11540
- return /* @__PURE__ */ jsxs26(Flex, { direction: "column", children: [
11541
- /* @__PURE__ */ jsx49(
11637
+ return /* @__PURE__ */ jsxs27(Flex, { direction: "column", children: [
11638
+ /* @__PURE__ */ jsx50(
11542
11639
  FormLabel,
11543
11640
  {
11544
11641
  name,
@@ -11547,14 +11644,14 @@ var CheckboxGroupFormField = ({
11547
11644
  haveError
11548
11645
  }
11549
11646
  ),
11550
- /* @__PURE__ */ jsx49(
11647
+ /* @__PURE__ */ jsx50(
11551
11648
  Controller4,
11552
11649
  {
11553
11650
  name,
11554
11651
  control,
11555
11652
  rules: validationRules,
11556
11653
  defaultValue,
11557
- render: ({ field }) => /* @__PURE__ */ jsx49(
11654
+ render: ({ field }) => /* @__PURE__ */ jsx50(
11558
11655
  CheckboxGroup,
11559
11656
  {
11560
11657
  name,
@@ -11563,7 +11660,7 @@ var CheckboxGroupFormField = ({
11563
11660
  color: haveError ? "error" : color,
11564
11661
  fontWeight,
11565
11662
  disabled,
11566
- children: options.map((option) => /* @__PURE__ */ jsx49(
11663
+ children: options.map((option) => /* @__PURE__ */ jsx50(
11567
11664
  CheckboxItem,
11568
11665
  {
11569
11666
  value: option.value,
@@ -11576,13 +11673,13 @@ var CheckboxGroupFormField = ({
11576
11673
  )
11577
11674
  }
11578
11675
  ),
11579
- /* @__PURE__ */ jsx49(ErrorFormMessage, { message: errorMsg })
11676
+ /* @__PURE__ */ jsx50(ErrorFormMessage, { message: errorMsg })
11580
11677
  ] });
11581
11678
  };
11582
11679
 
11583
11680
  // src/components/FormFields/SwitchFormField.tsx
11584
11681
  import { useFormContext as useFormContext9, Controller as Controller5 } from "react-hook-form";
11585
- import { jsx as jsx50, jsxs as jsxs27 } from "react/jsx-runtime";
11682
+ import { jsx as jsx51, jsxs as jsxs28 } from "react/jsx-runtime";
11586
11683
  var SwitchFormField = ({
11587
11684
  name,
11588
11685
  label,
@@ -11596,15 +11693,15 @@ var SwitchFormField = ({
11596
11693
  if (watch) {
11597
11694
  watchForm(name);
11598
11695
  }
11599
- return /* @__PURE__ */ jsxs27(Flex, { justify: "between", style: { margin: "1rem 0" }, children: [
11600
- /* @__PURE__ */ jsx50(Text, { typography: "labelMedium", fontWeight: "regular", children: label }),
11601
- /* @__PURE__ */ jsx50(
11696
+ return /* @__PURE__ */ jsxs28(Flex, { justify: "between", style: { margin: "1rem 0" }, children: [
11697
+ /* @__PURE__ */ jsx51(Text, { typography: "labelMedium", fontWeight: "regular", children: label }),
11698
+ /* @__PURE__ */ jsx51(
11602
11699
  Controller5,
11603
11700
  {
11604
11701
  control,
11605
11702
  name,
11606
11703
  defaultValue,
11607
- render: ({ field }) => /* @__PURE__ */ jsx50(
11704
+ render: ({ field }) => /* @__PURE__ */ jsx51(
11608
11705
  Switch,
11609
11706
  {
11610
11707
  checked: field.value,
@@ -11617,14 +11714,14 @@ var SwitchFormField = ({
11617
11714
  };
11618
11715
 
11619
11716
  // src/components/FormFields/EmailFormField.tsx
11620
- import { jsx as jsx51 } from "react/jsx-runtime";
11717
+ import { jsx as jsx52 } from "react/jsx-runtime";
11621
11718
  var EmailFormField = ({
11622
11719
  name,
11623
11720
  label,
11624
11721
  required,
11625
11722
  placeholder
11626
11723
  }) => {
11627
- return /* @__PURE__ */ jsx51(
11724
+ return /* @__PURE__ */ jsx52(
11628
11725
  TextFormField,
11629
11726
  {
11630
11727
  name,
@@ -11641,10 +11738,10 @@ var EmailFormField = ({
11641
11738
  import { useController as useController3 } from "react-hook-form";
11642
11739
 
11643
11740
  // src/components/RichEditor/RichEditor.tsx
11644
- import { useEffect as useEffect10, useState as useState11 } from "react";
11741
+ import { useEffect as useEffect10, useState as useState12 } from "react";
11645
11742
 
11646
11743
  // src/components/RichEditor/QuillComponent.tsx
11647
- import { useState as useState10, useRef as useRef9, useEffect as useEffect9, useCallback as useCallback4 } from "react";
11744
+ import { useState as useState11, useRef as useRef9, useEffect as useEffect9, useCallback as useCallback4 } from "react";
11648
11745
  import { useQuill } from "react-quilljs";
11649
11746
 
11650
11747
  // src/utils/uploadService.ts
@@ -12701,7 +12798,7 @@ var QuillEditor = styled("div", {
12701
12798
  });
12702
12799
 
12703
12800
  // src/components/RichEditor/QuillComponent.tsx
12704
- import { jsx as jsx52, jsxs as jsxs28 } from "react/jsx-runtime";
12801
+ import { jsx as jsx53, jsxs as jsxs29 } from "react/jsx-runtime";
12705
12802
  var QuillComponent = ({
12706
12803
  value = "",
12707
12804
  onChange,
@@ -12714,10 +12811,10 @@ var QuillComponent = ({
12714
12811
  onCharacterCountChange,
12715
12812
  maxLength
12716
12813
  }) => {
12717
- const [showVideoModal, setShowVideoModal] = useState10(false);
12718
- const [videoUrl, setVideoUrl] = useState10("");
12719
- const [showLinkModal, setShowLinkModal] = useState10(false);
12720
- const [linkUrl, setLinkUrl] = useState10("");
12814
+ const [showVideoModal, setShowVideoModal] = useState11(false);
12815
+ const [videoUrl, setVideoUrl] = useState11("");
12816
+ const [showLinkModal, setShowLinkModal] = useState11(false);
12817
+ const [linkUrl, setLinkUrl] = useState11("");
12721
12818
  const videoModalRef = useRef9(null);
12722
12819
  const linkModalRef = useRef9(null);
12723
12820
  const { addToast, removeToast } = useToast();
@@ -12972,9 +13069,9 @@ var QuillComponent = ({
12972
13069
  document.addEventListener("mousedown", handleClickOutside);
12973
13070
  return () => document.removeEventListener("mousedown", handleClickOutside);
12974
13071
  }, [showVideoModal, showLinkModal, handleVideoCancel, handleLinkCancel]);
12975
- return /* @__PURE__ */ jsx52(QuillContainer, { className, children: /* @__PURE__ */ jsxs28(QuillEditor, { children: [
12976
- /* @__PURE__ */ jsx52("div", { ref: quillRef }),
12977
- showVideoModal && /* @__PURE__ */ jsx52(
13072
+ return /* @__PURE__ */ jsx53(QuillContainer, { className, children: /* @__PURE__ */ jsxs29(QuillEditor, { children: [
13073
+ /* @__PURE__ */ jsx53("div", { ref: quillRef }),
13074
+ showVideoModal && /* @__PURE__ */ jsx53(
12978
13075
  "div",
12979
13076
  {
12980
13077
  ref: videoModalRef,
@@ -12991,15 +13088,15 @@ var QuillComponent = ({
12991
13088
  zIndex: 1e3,
12992
13089
  width: "fit-content"
12993
13090
  },
12994
- children: /* @__PURE__ */ jsxs28(Flex, { gap: 8, align: "center", children: [
12995
- /* @__PURE__ */ jsx52(
13091
+ children: /* @__PURE__ */ jsxs29(Flex, { gap: 8, align: "center", children: [
13092
+ /* @__PURE__ */ jsx53(
12996
13093
  Text,
12997
13094
  {
12998
13095
  style: { fontSize: "14px", fontWeight: "500", color: "#333" },
12999
13096
  children: "V\xEDdeo:"
13000
13097
  }
13001
13098
  ),
13002
- /* @__PURE__ */ jsx52(
13099
+ /* @__PURE__ */ jsx53(
13003
13100
  "input",
13004
13101
  {
13005
13102
  type: "text",
@@ -13023,7 +13120,7 @@ var QuillComponent = ({
13023
13120
  autoFocus: true
13024
13121
  }
13025
13122
  ),
13026
- /* @__PURE__ */ jsx52(
13123
+ /* @__PURE__ */ jsx53(
13027
13124
  "button",
13028
13125
  {
13029
13126
  onClick: handleVideoSubmit,
@@ -13044,7 +13141,7 @@ var QuillComponent = ({
13044
13141
  ] })
13045
13142
  }
13046
13143
  ),
13047
- showLinkModal && /* @__PURE__ */ jsx52(
13144
+ showLinkModal && /* @__PURE__ */ jsx53(
13048
13145
  "div",
13049
13146
  {
13050
13147
  ref: linkModalRef,
@@ -13061,15 +13158,15 @@ var QuillComponent = ({
13061
13158
  zIndex: 1e3,
13062
13159
  width: "fit-content"
13063
13160
  },
13064
- children: /* @__PURE__ */ jsxs28(Flex, { gap: 8, align: "center", children: [
13065
- /* @__PURE__ */ jsx52(
13161
+ children: /* @__PURE__ */ jsxs29(Flex, { gap: 8, align: "center", children: [
13162
+ /* @__PURE__ */ jsx53(
13066
13163
  Text,
13067
13164
  {
13068
13165
  style: { fontSize: "14px", fontWeight: "500", color: "#333" },
13069
13166
  children: "Link:"
13070
13167
  }
13071
13168
  ),
13072
- /* @__PURE__ */ jsx52(
13169
+ /* @__PURE__ */ jsx53(
13073
13170
  "input",
13074
13171
  {
13075
13172
  type: "text",
@@ -13094,7 +13191,7 @@ var QuillComponent = ({
13094
13191
  autoFocus: true
13095
13192
  }
13096
13193
  ),
13097
- /* @__PURE__ */ jsx52(
13194
+ /* @__PURE__ */ jsx53(
13098
13195
  "button",
13099
13196
  {
13100
13197
  onClick: handleLinkSubmit,
@@ -13120,21 +13217,21 @@ var QuillComponent = ({
13120
13217
  var QuillComponent_default = QuillComponent;
13121
13218
 
13122
13219
  // src/components/RichEditor/RichEditor.tsx
13123
- import { jsx as jsx53 } from "react/jsx-runtime";
13220
+ import { jsx as jsx54 } from "react/jsx-runtime";
13124
13221
  var RichEditor = (props) => {
13125
- const [isClient, setIsClient] = useState11(false);
13222
+ const [isClient, setIsClient] = useState12(false);
13126
13223
  useEffect10(() => {
13127
13224
  setIsClient(typeof window !== "undefined");
13128
13225
  }, []);
13129
13226
  if (!isClient) return null;
13130
- return /* @__PURE__ */ jsx53("div", { children: /* @__PURE__ */ jsx53(ToastProvider, { children: /* @__PURE__ */ jsx53(QuillComponent_default, __spreadValues({}, props)) }) });
13227
+ return /* @__PURE__ */ jsx54("div", { children: /* @__PURE__ */ jsx54(ToastProvider, { children: /* @__PURE__ */ jsx54(QuillComponent_default, __spreadValues({}, props)) }) });
13131
13228
  };
13132
13229
  var RichEditor_default = RichEditor;
13133
13230
 
13134
13231
  // src/components/RichEditor/RichTextPresenter.tsx
13135
- import { jsx as jsx54 } from "react/jsx-runtime";
13232
+ import { jsx as jsx55 } from "react/jsx-runtime";
13136
13233
  var RichTextPresenter = ({ richText }) => {
13137
- return /* @__PURE__ */ jsx54(QuillEditor, { children: /* @__PURE__ */ jsx54(
13234
+ return /* @__PURE__ */ jsx55(QuillEditor, { children: /* @__PURE__ */ jsx55(
13138
13235
  "div",
13139
13236
  {
13140
13237
  className: "ql-editor",
@@ -13145,8 +13242,8 @@ var RichTextPresenter = ({ richText }) => {
13145
13242
  var RichTextPresenter_default = RichTextPresenter;
13146
13243
 
13147
13244
  // src/components/FormFields/RichEditorFormField.tsx
13148
- import { useState as useState12 } from "react";
13149
- import { Fragment as Fragment5, jsx as jsx55, jsxs as jsxs29 } from "react/jsx-runtime";
13245
+ import { useState as useState13 } from "react";
13246
+ import { Fragment as Fragment6, jsx as jsx56, jsxs as jsxs30 } from "react/jsx-runtime";
13150
13247
  var RichEditorFormField = (_a) => {
13151
13248
  var _b = _a, {
13152
13249
  name,
@@ -13180,7 +13277,7 @@ var RichEditorFormField = (_a) => {
13180
13277
  },
13181
13278
  defaultValue: ""
13182
13279
  });
13183
- const [caracterQuantity, setCaracterQuantity] = useState12(maxLength);
13280
+ const [caracterQuantity, setCaracterQuantity] = useState13(maxLength);
13184
13281
  const handleCharacterCountChange = (count) => {
13185
13282
  if (maxLength !== void 0) {
13186
13283
  setCaracterQuantity(Math.max(0, maxLength - count));
@@ -13189,9 +13286,9 @@ var RichEditorFormField = (_a) => {
13189
13286
  const fieldError = fieldState.error;
13190
13287
  const haveError = !!fieldError;
13191
13288
  const errorMsg = fieldError == null ? void 0 : fieldError.message;
13192
- return /* @__PURE__ */ jsxs29(Flex, { direction: "column", children: [
13193
- maxLength ? /* @__PURE__ */ jsxs29(Flex, { direction: "row", justify: "between", children: [
13194
- label && /* @__PURE__ */ jsx55(
13289
+ return /* @__PURE__ */ jsxs30(Flex, { direction: "column", children: [
13290
+ maxLength ? /* @__PURE__ */ jsxs30(Flex, { direction: "row", justify: "between", children: [
13291
+ label && /* @__PURE__ */ jsx56(
13195
13292
  FormLabel,
13196
13293
  {
13197
13294
  name,
@@ -13200,8 +13297,8 @@ var RichEditorFormField = (_a) => {
13200
13297
  haveError
13201
13298
  }
13202
13299
  ),
13203
- /* @__PURE__ */ jsx55(Badge, { color: "grey", size: "xs", children: caracterQuantity })
13204
- ] }) : /* @__PURE__ */ jsx55(Fragment5, { children: label && /* @__PURE__ */ jsx55(
13300
+ /* @__PURE__ */ jsx56(Badge, { color: "grey", size: "xs", children: caracterQuantity })
13301
+ ] }) : /* @__PURE__ */ jsx56(Fragment6, { children: label && /* @__PURE__ */ jsx56(
13205
13302
  FormLabel,
13206
13303
  {
13207
13304
  name,
@@ -13210,7 +13307,7 @@ var RichEditorFormField = (_a) => {
13210
13307
  haveError
13211
13308
  }
13212
13309
  ) }),
13213
- /* @__PURE__ */ jsx55(
13310
+ /* @__PURE__ */ jsx56(
13214
13311
  RichEditor_default,
13215
13312
  __spreadProps(__spreadValues({}, props), {
13216
13313
  value: field.value,
@@ -13222,14 +13319,14 @@ var RichEditorFormField = (_a) => {
13222
13319
  simpleVersion
13223
13320
  })
13224
13321
  ),
13225
- /* @__PURE__ */ jsx55(ErrorFormMessage, { message: errorMsg })
13322
+ /* @__PURE__ */ jsx56(ErrorFormMessage, { message: errorMsg })
13226
13323
  ] });
13227
13324
  };
13228
13325
 
13229
13326
  // src/components/FormFields/CalendarFormField.tsx
13230
13327
  import { useController as useController4 } from "react-hook-form";
13231
13328
  import { useCallback as useCallback5 } from "react";
13232
- import { jsx as jsx56, jsxs as jsxs30 } from "react/jsx-runtime";
13329
+ import { jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
13233
13330
  var CalendarFormField = (_a) => {
13234
13331
  var _b = _a, {
13235
13332
  name,
@@ -13280,8 +13377,8 @@ var CalendarFormField = (_a) => {
13280
13377
  const handleCalendarChange = (date) => {
13281
13378
  setSelected(date);
13282
13379
  };
13283
- return /* @__PURE__ */ jsxs30(Flex, { direction: "column", style: { flex: "1" }, children: [
13284
- label && /* @__PURE__ */ jsx56(
13380
+ return /* @__PURE__ */ jsxs31(Flex, { direction: "column", style: { flex: "1" }, children: [
13381
+ label && /* @__PURE__ */ jsx57(
13285
13382
  FormLabel,
13286
13383
  {
13287
13384
  name,
@@ -13290,7 +13387,7 @@ var CalendarFormField = (_a) => {
13290
13387
  haveError
13291
13388
  }
13292
13389
  ),
13293
- /* @__PURE__ */ jsx56(
13390
+ /* @__PURE__ */ jsx57(
13294
13391
  Calendar,
13295
13392
  __spreadValues({
13296
13393
  selected,
@@ -13304,14 +13401,14 @@ var CalendarFormField = (_a) => {
13304
13401
  maxYearsFromNow
13305
13402
  }, calendarProps)
13306
13403
  ),
13307
- /* @__PURE__ */ jsx56(ErrorFormMessage, { message: errorMsg })
13404
+ /* @__PURE__ */ jsx57(ErrorFormMessage, { message: errorMsg })
13308
13405
  ] });
13309
13406
  };
13310
13407
 
13311
13408
  // src/components/FormFields/DoubleCalendarFormField.tsx
13312
13409
  import { useCallback as useCallback6 } from "react";
13313
13410
  import { useController as useController5 } from "react-hook-form";
13314
- import { jsx as jsx57, jsxs as jsxs31 } from "react/jsx-runtime";
13411
+ import { jsx as jsx58, jsxs as jsxs32 } from "react/jsx-runtime";
13315
13412
  var DoubleCalendarFormField = (_a) => {
13316
13413
  var _b = _a, {
13317
13414
  name,
@@ -13362,9 +13459,9 @@ var DoubleCalendarFormField = (_a) => {
13362
13459
  const handleCalendarChange = (range) => {
13363
13460
  setSelected(range);
13364
13461
  };
13365
- return /* @__PURE__ */ jsxs31(Flex, { direction: "column", style: { flex: "1" }, children: [
13366
- label && /* @__PURE__ */ jsx57(FormLabel, { name, label, required, haveError }),
13367
- /* @__PURE__ */ jsx57(
13462
+ return /* @__PURE__ */ jsxs32(Flex, { direction: "column", style: { flex: "1" }, children: [
13463
+ label && /* @__PURE__ */ jsx58(FormLabel, { name, label, required, haveError }),
13464
+ /* @__PURE__ */ jsx58(
13368
13465
  DoubleCalendar,
13369
13466
  __spreadValues({
13370
13467
  selected,
@@ -13379,14 +13476,14 @@ var DoubleCalendarFormField = (_a) => {
13379
13476
  maxDate
13380
13477
  }, calendarProps)
13381
13478
  ),
13382
- /* @__PURE__ */ jsx57(ErrorFormMessage, { message: errorMsg })
13479
+ /* @__PURE__ */ jsx58(ErrorFormMessage, { message: errorMsg })
13383
13480
  ] });
13384
13481
  };
13385
13482
 
13386
13483
  // src/components/FormFields/TimePickerFormField.tsx
13387
13484
  import { useController as useController6 } from "react-hook-form";
13388
13485
  import { useCallback as useCallback7 } from "react";
13389
- import { jsx as jsx58, jsxs as jsxs32 } from "react/jsx-runtime";
13486
+ import { jsx as jsx59, jsxs as jsxs33 } from "react/jsx-runtime";
13390
13487
  var TimePickerFormField = (_a) => {
13391
13488
  var _b = _a, {
13392
13489
  name,
@@ -13429,8 +13526,8 @@ var TimePickerFormField = (_a) => {
13429
13526
  const handleTimePickerChange = (time) => {
13430
13527
  setSelected(time);
13431
13528
  };
13432
- return /* @__PURE__ */ jsxs32(Flex, { direction: "column", style: { flex: "1" }, children: [
13433
- label && /* @__PURE__ */ jsx58(
13529
+ return /* @__PURE__ */ jsxs33(Flex, { direction: "column", style: { flex: "1" }, children: [
13530
+ label && /* @__PURE__ */ jsx59(
13434
13531
  FormLabel,
13435
13532
  {
13436
13533
  name,
@@ -13439,7 +13536,7 @@ var TimePickerFormField = (_a) => {
13439
13536
  haveError
13440
13537
  }
13441
13538
  ),
13442
- /* @__PURE__ */ jsx58(
13539
+ /* @__PURE__ */ jsx59(
13443
13540
  TimePicker,
13444
13541
  __spreadValues({
13445
13542
  selected,
@@ -13450,14 +13547,14 @@ var TimePickerFormField = (_a) => {
13450
13547
  hasError: haveError
13451
13548
  }, timePickerProps)
13452
13549
  ),
13453
- /* @__PURE__ */ jsx58(ErrorFormMessage, { message: errorMsg })
13550
+ /* @__PURE__ */ jsx59(ErrorFormMessage, { message: errorMsg })
13454
13551
  ] });
13455
13552
  };
13456
13553
 
13457
13554
  // src/components/FormFields/DateAndTimeFormField.tsx
13458
13555
  import { useController as useController7 } from "react-hook-form";
13459
- import { useCallback as useCallback8, useEffect as useEffect11, useMemo as useMemo4, useState as useState13 } from "react";
13460
- import { jsx as jsx59, jsxs as jsxs33 } from "react/jsx-runtime";
13556
+ import { useCallback as useCallback8, useEffect as useEffect11, useMemo as useMemo4, useState as useState14 } from "react";
13557
+ import { jsx as jsx60, jsxs as jsxs34 } from "react/jsx-runtime";
13461
13558
  var DateAndTimeFormField = (_a) => {
13462
13559
  var _b = _a, {
13463
13560
  name,
@@ -13544,8 +13641,8 @@ var DateAndTimeFormField = (_a) => {
13544
13641
  return { selectedDateFromIso: void 0, selectedTimeFromIso: void 0 };
13545
13642
  }
13546
13643
  }, [isoValue]);
13547
- const [draftDate, setDraftDate] = useState13(selectedDateFromIso);
13548
- const [draftTime, setDraftTime] = useState13(selectedTimeFromIso);
13644
+ const [draftDate, setDraftDate] = useState14(selectedDateFromIso);
13645
+ const [draftTime, setDraftTime] = useState14(selectedTimeFromIso);
13549
13646
  useEffect11(() => {
13550
13647
  setDraftDate(selectedDateFromIso);
13551
13648
  setDraftTime(selectedTimeFromIso);
@@ -13571,8 +13668,8 @@ var DateAndTimeFormField = (_a) => {
13571
13668
  setDraftTime(time);
13572
13669
  combineDateTime(draftDate, time);
13573
13670
  };
13574
- return /* @__PURE__ */ jsxs33(Flex, { direction: "column", children: [
13575
- label && /* @__PURE__ */ jsx59(
13671
+ return /* @__PURE__ */ jsxs34(Flex, { direction: "column", children: [
13672
+ label && /* @__PURE__ */ jsx60(
13576
13673
  FormLabel,
13577
13674
  {
13578
13675
  name,
@@ -13581,14 +13678,14 @@ var DateAndTimeFormField = (_a) => {
13581
13678
  haveError
13582
13679
  }
13583
13680
  ),
13584
- /* @__PURE__ */ jsxs33(
13681
+ /* @__PURE__ */ jsxs34(
13585
13682
  Flex,
13586
13683
  {
13587
13684
  gap: 12,
13588
13685
  align: "start",
13589
13686
  style: disabled ? { position: "relative" } : void 0,
13590
13687
  children: [
13591
- /* @__PURE__ */ jsx59(Flex, { direction: "column", children: /* @__PURE__ */ jsx59(
13688
+ /* @__PURE__ */ jsx60(Flex, { direction: "column", children: /* @__PURE__ */ jsx60(
13592
13689
  Calendar,
13593
13690
  __spreadValues({
13594
13691
  selected: draftDate,
@@ -13603,7 +13700,7 @@ var DateAndTimeFormField = (_a) => {
13603
13700
  disabled
13604
13701
  }, props)
13605
13702
  ) }),
13606
- /* @__PURE__ */ jsx59(Flex, { direction: "column", children: /* @__PURE__ */ jsx59(
13703
+ /* @__PURE__ */ jsx60(Flex, { direction: "column", children: /* @__PURE__ */ jsx60(
13607
13704
  TimePicker,
13608
13705
  __spreadValues({
13609
13706
  selected: draftTime,
@@ -13615,7 +13712,7 @@ var DateAndTimeFormField = (_a) => {
13615
13712
  hasError: haveError
13616
13713
  }, props)
13617
13714
  ) }),
13618
- disabled && /* @__PURE__ */ jsx59(
13715
+ disabled && /* @__PURE__ */ jsx60(
13619
13716
  "div",
13620
13717
  {
13621
13718
  "aria-hidden": true,
@@ -13632,16 +13729,16 @@ var DateAndTimeFormField = (_a) => {
13632
13729
  ]
13633
13730
  }
13634
13731
  ),
13635
- /* @__PURE__ */ jsx59(ErrorFormMessage, { message: errorMsg })
13732
+ /* @__PURE__ */ jsx60(ErrorFormMessage, { message: errorMsg })
13636
13733
  ] });
13637
13734
  };
13638
13735
 
13639
13736
  // src/hooks/useImageUpload.ts
13640
- import { useState as useState14, useCallback as useCallback9 } from "react";
13737
+ import { useState as useState15, useCallback as useCallback9 } from "react";
13641
13738
  var useImageUpload = (options) => {
13642
- const [isUploading, setIsUploading] = useState14(false);
13643
- const [progress, setProgress] = useState14(null);
13644
- const [error, setError] = useState14(null);
13739
+ const [isUploading, setIsUploading] = useState15(false);
13740
+ const [progress, setProgress] = useState15(null);
13741
+ const [error, setError] = useState15(null);
13645
13742
  const {
13646
13743
  onSuccess,
13647
13744
  onError,
@@ -13833,6 +13930,7 @@ export {
13833
13930
  TimerPickerContentStyled,
13834
13931
  ToastItem,
13835
13932
  ToastProvider,
13933
+ ToggleElement,
13836
13934
  Tooltip,
13837
13935
  TooltipContent,
13838
13936
  TooltipProvider,