@orchidui/core 1.6.1-26 → 1.6.1-28

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.
Files changed (81) hide show
  1. package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
  2. package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
  3. package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
  4. package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
  5. package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
  6. package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
  7. package/dist/DataDisplay/Overview/OcOverview.js +1 -1
  8. package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
  9. package/dist/DataDisplay/Table/OcTable.js +1 -1
  10. package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
  11. package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
  12. package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
  13. package/dist/Disclosure/Steps/OcSteps.js +1 -1
  14. package/dist/Disclosure/Tabs/Tabs.js +1 -1
  15. package/dist/Disclosure/Variants/OcVariants.js +1 -1
  16. package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
  17. package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
  18. package/dist/Elements/Box/OcBox.js +1 -1
  19. package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
  20. package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
  21. package/dist/Elements/Header/OcHeader.js +1 -1
  22. package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
  23. package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
  24. package/dist/Elements/Sidebar/OcSidebar.js +2 -2
  25. package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
  26. package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
  27. package/dist/Feedback/Banner/OcBanner.js +1 -1
  28. package/dist/Feedback/Chip/OcChip.js +1 -1
  29. package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
  30. package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
  31. package/dist/Form/BaseInput/OcBaseInput.js +1 -1
  32. package/dist/Form/Button/OcButton.js +1 -1
  33. package/dist/Form/Calendar/OcCalendar.js +1 -1
  34. package/dist/Form/CardInput/OcCardInput.js +1 -1
  35. package/dist/Form/Checkbox/OcCheckbox.js +1 -1
  36. package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
  37. package/dist/Form/Criteria/OcCriteria.js +1 -1
  38. package/dist/Form/Cropper/OcCropper.js +1 -1
  39. package/dist/Form/DatePicker/OcDatePicker.js +1 -1
  40. package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
  41. package/dist/Form/Input/OcInput.js +1 -1
  42. package/dist/Form/LinkInput/OcLinkInput.js +1 -1
  43. package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
  44. package/dist/Form/NumberInput/OcNumberInput.js +1 -1
  45. package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
  46. package/dist/Form/Radio/OcRadio.js +1 -1
  47. package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
  48. package/dist/Form/RangeInput/OcRangeInput.js +1 -1
  49. package/dist/Form/SectionItem/OcSectionItem.js +1 -1
  50. package/dist/Form/Select/OcSelect.js +1 -1
  51. package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
  52. package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
  53. package/dist/Form/Slider/OcSlider.js +1 -1
  54. package/dist/Form/TextArea/OcTextArea.js +1 -1
  55. package/dist/Form/index.js +1 -1
  56. package/dist/FormBuilder/OcFormBuilder.js +1 -1
  57. package/dist/{OcAccountSetupProgress-DzfqmlV9.js → OcAccountSetupProgress-D5I7E6ID.js} +1 -1
  58. package/dist/{OcComplexCalendar-CpKL1i2z.js → OcComplexCalendar--wMxk0Ve.js} +1 -1
  59. package/dist/{OcComplexDatePicker-DEMAllM7.js → OcComplexDatePicker-CY85RtqE.js} +1 -1
  60. package/dist/{OcCropper-CrisQAyp.js → OcCropper-Dw5ATyZV.js} +1 -1
  61. package/dist/{OcDataTable-Cphz_kXC.js → OcDataTable-wMV3v19G.js} +1 -1
  62. package/dist/{OcDraggableList-CENqkOJl.js → OcDraggableList-B-D0GC5V.js} +1 -1
  63. package/dist/{OcEmojiPicker-DCqDkr4_.js → OcEmojiPicker-CQn6hsXE.js} +1 -1
  64. package/dist/{OcFilterForm-xHq6bNwj.js → OcFilterForm-CPb10cSx.js} +1 -1
  65. package/dist/{OcFilterSearch-CAtqLMUQ.js → OcFilterSearch-DDKNu88V.js} +1 -1
  66. package/dist/{OcFilterSearchFor-aHh1RW5g.js → OcFilterSearchFor-DkDyVxGt.js} +1 -1
  67. package/dist/{OcModalCropper-dpVhWUYH.js → OcModalCropper-DLdsv4-U.js} +2 -2
  68. package/dist/{OcTimePicker-J9_JnE7L.js → OcTimePicker-ju8r0Pwk.js} +1 -1
  69. package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
  70. package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
  71. package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
  72. package/dist/Overlay/Modal/OcModal.js +1 -1
  73. package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
  74. package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
  75. package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
  76. package/dist/{SubPlanCard-D7teN8lo.js → SubPlanCard-CLpOv0cw.js} +1 -1
  77. package/dist/{ThumbnailSection-Conjl92o.js → ThumbnailSection-1yysvbfR.js} +1 -1
  78. package/dist/{ThumbnailTheme-DlZNzDvR.js → ThumbnailTheme-B2HFX7j8.js} +1 -1
  79. package/dist/{index-C2D95RKw.js → index-5pJR2_-O.js} +320 -312
  80. package/dist/index.js +1 -1
  81. package/package.json +1 -1
@@ -80,10 +80,10 @@ const Kt = {
80
80
  field: g,
81
81
  header: I
82
82
  });
83
- }, C = M(!0), O = M(!0), b = M(), B = () => {
84
- a.isSticky && (C.value = b.value.scrollLeft === 0, O.value = b.value.scrollLeft + b.value.clientWidth === b.value.scrollWidth);
83
+ }, B = M(!0), C = M(!0), b = M(), O = () => {
84
+ a.isSticky && (B.value = b.value.scrollLeft === 0, C.value = b.value.scrollLeft + b.value.clientWidth === b.value.scrollWidth);
85
85
  };
86
- return $e(() => B()), (g, I) => (t(), i("div", {
86
+ return $e(() => O()), (g, I) => (t(), i("div", {
87
87
  ref_key: "scrollTable",
88
88
  ref: b,
89
89
  class: v(["flex text-oc-text flex-col border-oc-gray-200 isolate z-10", [
@@ -91,7 +91,7 @@ const Kt = {
91
91
  e.isResponsive ? "rounded" : "md:rounded",
92
92
  e.isBorderless ? "" : "border"
93
93
  ]]),
94
- onScroll: B
94
+ onScroll: O
95
95
  }, [
96
96
  g.$slots.before ? (t(), i("div", {
97
97
  key: 0,
@@ -132,8 +132,8 @@ const Kt = {
132
132
  V.stickyRight ? "right-0" : "",
133
133
  typeof V.class == "function" ? V.class() : V.class,
134
134
  V.stickyLeft || V.stickyRight ? "sticky shrink-0 z-10" : "",
135
- V.stickyLeft && !C.value ? "shadow-right-sticky" : "",
136
- V.stickyRight && !O.value ? "shadow-left-sticky" : ""
135
+ V.stickyLeft && !B.value ? "shadow-right-sticky" : "",
136
+ V.stickyRight && !C.value ? "shadow-left-sticky" : ""
137
137
  ], "md:border-b border-oc-gray-200"])
138
138
  }, {
139
139
  default: S(() => [
@@ -164,7 +164,7 @@ const Kt = {
164
164
  k(g.$slots, "table-body", {
165
165
  fields: c.value,
166
166
  headers: u.value,
167
- isScrollOnEnd: O.value,
167
+ isScrollOnEnd: C.value,
168
168
  onClickRow: j,
169
169
  isSelectable: o.value,
170
170
  isCursorPointer: d.value,
@@ -208,8 +208,8 @@ const Kt = {
208
208
  E.stickyLeft && o.value ? "left-[40px] md:left-[32px]" : "left-0",
209
209
  E.stickyRight ? "right-0" : "",
210
210
  E.stickyLeft || E.stickyRight ? "shrink-0 sticky z-10" : "",
211
- E.stickyLeft && !C.value ? "shadow-right-sticky" : "",
212
- E.stickyRight && !O.value ? "shadow-left-sticky" : ""
211
+ E.stickyLeft && !B.value ? "shadow-right-sticky" : "",
212
+ E.stickyRight && !C.value ? "shadow-left-sticky" : ""
213
213
  ]]),
214
214
  "is-last": c.value.length === z + 1,
215
215
  variant: E.variant,
@@ -601,9 +601,9 @@ const Kt = {
601
601
  data: (j = e.row) == null ? void 0 : j[w == null ? void 0 : w.key],
602
602
  item: e.row
603
603
  }, () => {
604
- var C, O;
604
+ var B, C;
605
605
  return [
606
- (C = d.value) != null && C[D] ? (t(), x(r(le), {
606
+ (B = d.value) != null && B[D] ? (t(), x(r(le), {
607
607
  key: 0,
608
608
  class: "overflow-hidden w-[-webkit-fill-available]",
609
609
  "arrow-hidden": "",
@@ -623,7 +623,7 @@ const Kt = {
623
623
  }),
624
624
  _: 2
625
625
  }, 1024)) : (t(), i(P, { key: 1 }, [
626
- W($((O = e.row) == null ? void 0 : O[w == null ? void 0 : w.key]), 1)
626
+ W($((C = e.row) == null ? void 0 : C[w == null ? void 0 : w.key]), 1)
627
627
  ], 64))
628
628
  ];
629
629
  })
@@ -676,10 +676,10 @@ const Kt = {
676
676
  value: e.value[w.key],
677
677
  depth: e.depth + 1
678
678
  }, ee({ _: 2 }, [
679
- R(u.$slots, (j, C) => ({
680
- name: C,
681
- fn: S((O) => [
682
- k(u.$slots, C, F({ ref_for: !0 }, O))
679
+ R(u.$slots, (j, B) => ({
680
+ name: B,
681
+ fn: S((C) => [
682
+ k(u.$slots, B, F({ ref_for: !0 }, C))
683
683
  ])
684
684
  }))
685
685
  ]), 1032, ["row", "important", "is-alternative", "is-loading", "headers", "value", "depth"]))), 128))
@@ -1182,7 +1182,7 @@ const Kt = {
1182
1182
  setup(e, { emit: s }) {
1183
1183
  const a = s;
1184
1184
  return (l, o) => {
1185
- var d, c, u, f, y, p, w, D, j, C, O, b, B, g, I, V, z, E, L;
1185
+ var d, c, u, f, y, p, w, D, j, B, C, b, O, g, I, V, z, E, L;
1186
1186
  return t(), i("div", {
1187
1187
  class: v(["rounded shrink-0 border border-oc-gray-200 bg-oc-bg-light flex items-center justify-between gap-4 px-4 py-5 customer-card relative group", { [e.variant]: !0, "hover:shadow-normal transition": e.isHover }])
1188
1188
  }, [
@@ -1241,8 +1241,8 @@ const Kt = {
1241
1241
  key: 2,
1242
1242
  label: "Address",
1243
1243
  content: [
1244
- ((O = (C = e.customer) == null ? void 0 : C.address) == null ? void 0 : O.street) || "",
1245
- ((B = (b = e.customer) == null ? void 0 : b.address) == null ? void 0 : B.city) || "",
1244
+ ((C = (B = e.customer) == null ? void 0 : B.address) == null ? void 0 : C.street) || "",
1245
+ ((O = (b = e.customer) == null ? void 0 : b.address) == null ? void 0 : O.city) || "",
1246
1246
  ((I = (g = e.customer) == null ? void 0 : g.address) == null ? void 0 : I.state) || "",
1247
1247
  ((z = (V = e.customer) == null ? void 0 : V.address) == null ? void 0 : z.postal_code) || "",
1248
1248
  ((L = (E = e.customer) == null ? void 0 : E.address) == null ? void 0 : L.country) || ""
@@ -2590,25 +2590,25 @@ const Kt = {
2590
2590
  "update:modelValue": []
2591
2591
  },
2592
2592
  setup(e, { emit: s }) {
2593
- const a = e, l = M(0), o = M(0), d = M(), c = s, u = N(() => a.tabs.findIndex((C) => C.value === a.modelValue)), f = N(() => a.variant === "pills"), y = N(() => a.direction === "vertical"), p = () => {
2593
+ const a = e, l = M(0), o = M(0), d = M(), c = s, u = N(() => a.tabs.findIndex((B) => B.value === a.modelValue)), f = N(() => a.variant === "pills"), y = N(() => a.direction === "vertical"), p = () => {
2594
2594
  y.value ? o.value = Math.round(d.value.clientHeight / vt) : o.value = Math.round(d.value.clientWidth / ft);
2595
- }, w = (C) => {
2596
- var B;
2597
- const O = C === "left" ? --u.value : ++u.value, b = (B = a.tabs[O]) == null ? void 0 : B.value;
2595
+ }, w = (B) => {
2596
+ var O;
2597
+ const C = B === "left" ? --u.value : ++u.value, b = (O = a.tabs[C]) == null ? void 0 : O.value;
2598
2598
  b !== void 0 && c("update:modelValue", b);
2599
2599
  }, D = () => {
2600
- const C = a.tabs.findIndex((O) => O.value === a.modelValue);
2601
- C > -1 && He(() => {
2600
+ const B = a.tabs.findIndex((C) => C.value === a.modelValue);
2601
+ B > -1 && He(() => {
2602
2602
  var b;
2603
- p(), l.value = C;
2604
- const O = {};
2605
- y.value ? O.top = C * vt : O.left = C * ft, (b = d.value) == null || b.scroll({
2606
- ...O,
2603
+ p(), l.value = B;
2604
+ const C = {};
2605
+ y.value ? C.top = B * vt : C.left = B * ft, (b = d.value) == null || b.scroll({
2606
+ ...C,
2607
2607
  behavior: "smooth"
2608
2608
  });
2609
2609
  });
2610
- }, j = (C) => {
2611
- a.isDisabled || c("update:modelValue", C);
2610
+ }, j = (B) => {
2611
+ a.isDisabled || c("update:modelValue", B);
2612
2612
  };
2613
2613
  return $e(() => {
2614
2614
  p(), a.isArrows && D();
@@ -2625,7 +2625,7 @@ const Kt = {
2625
2625
  () => {
2626
2626
  D();
2627
2627
  }
2628
- ), (C, O) => (t(), i("div", {
2628
+ ), (B, C) => (t(), i("div", {
2629
2629
  id: "test",
2630
2630
  ref_key: "tabsContainer",
2631
2631
  ref: d,
@@ -2646,20 +2646,20 @@ const Kt = {
2646
2646
  width: "16",
2647
2647
  height: "16",
2648
2648
  class: "text-oc-text-400 cursor-pointer hover:text-oc-text-500",
2649
- onClick: O[0] || (O[0] = ce((b) => w("left"), ["prevent"]))
2649
+ onClick: C[0] || (C[0] = ce((b) => w("left"), ["prevent"]))
2650
2650
  }, null, 8, ["name"])
2651
2651
  ], 2)) : m("", !0),
2652
2652
  n("div", {
2653
2653
  class: v(["flex items-center", { "flex-col": y.value }])
2654
2654
  }, [
2655
2655
  (t(!0), i(P, null, R(e.tabs, (b) => {
2656
- var B, g;
2656
+ var O, g;
2657
2657
  return t(), i("div", {
2658
2658
  key: b.value,
2659
2659
  class: v(["relative cursor-pointer min-w-[48px] gap-x-3 items-center flex justify-center text-sm", [
2660
2660
  b.class,
2661
2661
  f.value ? "py-2 px-3 rounded" : "px-4 pb-3 border-b-2 -mb-[1px]",
2662
- ((B = e.modelValue) == null ? void 0 : B.toString()) === ((g = b.value) == null ? void 0 : g.toString()) ? f.value ? "bg-oc-gray-200 text-oc-text-500" : "border-oc-primary-500 font-medium text-oc-text-500" : f.value ? "text-oc-text-400" : "border-transparent text-oc-text-400",
2662
+ ((O = e.modelValue) == null ? void 0 : O.toString()) === ((g = b.value) == null ? void 0 : g.toString()) ? f.value ? "bg-oc-gray-200 text-oc-text-500" : "border-oc-primary-500 font-medium text-oc-text-500" : f.value ? "text-oc-text-400" : "border-transparent text-oc-text-400",
2663
2663
  e.isArrows ? "!justify-normal !min-w-[100px]" : "",
2664
2664
  y.value ? "!justify-start w-full py-3 px-5" : "",
2665
2665
  y.value && e.isArrows ? "!min-h-[35px]" : "",
@@ -2667,7 +2667,7 @@ const Kt = {
2667
2667
  ]]),
2668
2668
  onClick: (I) => j(b.value)
2669
2669
  }, [
2670
- k(C.$slots, b.value, {}, () => [
2670
+ k(B.$slots, b.value, {}, () => [
2671
2671
  n("div", {
2672
2672
  class: v({ truncate: e.isArrows })
2673
2673
  }, $(b.label), 3),
@@ -2688,7 +2688,7 @@ const Kt = {
2688
2688
  width: "16",
2689
2689
  height: "16",
2690
2690
  class: "text-oc-text-400 cursor-pointer hover:text-oc-text-500",
2691
- onClick: O[1] || (O[1] = (b) => w("right"))
2691
+ onClick: C[1] || (C[1] = (b) => w("right"))
2692
2692
  }, null, 8, ["name"])
2693
2693
  ], 2)) : m("", !0)
2694
2694
  ], 2));
@@ -3298,16 +3298,16 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3298
3298
  distance: 7
3299
3299
  }, {
3300
3300
  popper: S(() => {
3301
- var C, O;
3301
+ var B, C;
3302
3302
  return [
3303
- n("div", Ao, $((O = (C = e.primaryActions) == null ? void 0 : C.mainLinkAction) == null ? void 0 : O.tooltipContent), 1)
3303
+ n("div", Ao, $((C = (B = e.primaryActions) == null ? void 0 : B.mainLinkAction) == null ? void 0 : C.tooltipContent), 1)
3304
3304
  ];
3305
3305
  }),
3306
3306
  default: S(() => {
3307
- var C, O;
3307
+ var B, C;
3308
3308
  return [
3309
3309
  n("a", {
3310
- href: (O = (C = e.primaryActions) == null ? void 0 : C.mainLinkAction) == null ? void 0 : O.url,
3310
+ href: (C = (B = e.primaryActions) == null ? void 0 : B.mainLinkAction) == null ? void 0 : C.url,
3311
3311
  target: "_blank"
3312
3312
  }, [
3313
3313
  h(r(T), {
@@ -3319,29 +3319,29 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3319
3319
  }),
3320
3320
  _: 1
3321
3321
  })) : m("", !0),
3322
- (t(!0), i(P, null, R(e.primaryActions.actions, (C, O) => {
3322
+ (t(!0), i(P, null, R(e.primaryActions.actions, (B, C) => {
3323
3323
  var b;
3324
- return t(), i(P, { key: O }, [
3325
- (b = e.primaryActions) != null && b.mainLinkAction || O > 0 ? (t(), i("div", Mo)) : m("", !0),
3324
+ return t(), i(P, { key: C }, [
3325
+ (b = e.primaryActions) != null && b.mainLinkAction || C > 0 ? (t(), i("div", Mo)) : m("", !0),
3326
3326
  h(r(le), {
3327
3327
  position: "top",
3328
3328
  "arrow-hidden": "",
3329
3329
  distance: 7
3330
3330
  }, {
3331
3331
  popper: S(() => [
3332
- n("div", jo, $(C != null && C.isCopyButton ? o.value ? y.value : f.value : C.tooltipContent), 1)
3332
+ n("div", jo, $(B != null && B.isCopyButton ? o.value ? y.value : f.value : B.tooltipContent), 1)
3333
3333
  ]),
3334
3334
  default: S(() => [
3335
- C != null && C.isCopyButton ? (t(), x(r(T), {
3335
+ B != null && B.isCopyButton ? (t(), x(r(T), {
3336
3336
  key: 0,
3337
3337
  class: v(["p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr", o.value ? "!text-oc-success" : ""]),
3338
3338
  name: o.value ? "check" : "copy",
3339
3339
  onClick: u
3340
3340
  }, null, 8, ["name", "class"])) : (t(), x(r(T), {
3341
3341
  key: 1,
3342
- class: v(["p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr", C.class ?? ""]),
3343
- name: C.icon,
3344
- onClick: C.onClick
3342
+ class: v(["p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr", B.class ?? ""]),
3343
+ name: B.icon,
3344
+ onClick: B.onClick
3345
3345
  }, null, 8, ["name", "class", "onClick"]))
3346
3346
  ]),
3347
3347
  _: 2
@@ -3355,16 +3355,16 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3355
3355
  d.value ? (t(), x(r(ie), {
3356
3356
  key: 2,
3357
3357
  modelValue: c.value,
3358
- "onUpdate:modelValue": D[3] || (D[3] = (C) => c.value = C),
3358
+ "onUpdate:modelValue": D[3] || (D[3] = (B) => c.value = B),
3359
3359
  distance: 6
3360
3360
  }, {
3361
3361
  menu: S(() => {
3362
- var C, O, b;
3362
+ var B, C, b;
3363
3363
  return [
3364
3364
  n("div", Lo, [
3365
3365
  n("div", Po, [
3366
- (t(!0), i(P, null, R((C = e.primaryActions.dropdownOptions) == null ? void 0 : C.top, (B, g) => (t(), i(P, { key: g }, [
3367
- B != null && B.isCopyButton ? (t(), x(r(xe), {
3366
+ (t(!0), i(P, null, R((B = e.primaryActions.dropdownOptions) == null ? void 0 : B.top, (O, g) => (t(), i(P, { key: g }, [
3367
+ O != null && O.isCopyButton ? (t(), x(r(xe), {
3368
3368
  key: 0,
3369
3369
  icon: o.value ? "check" : "copy",
3370
3370
  text: o.value ? y.value : f.value,
@@ -3373,24 +3373,24 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3373
3373
  }, null, 8, ["icon", "text", "icon-classes"])) : (t(), x(r(xe), F({
3374
3374
  key: 1,
3375
3375
  ref_for: !0
3376
- }, B, {
3376
+ }, O, {
3377
3377
  onClick: D[0] || (D[0] = (I) => c.value = !1)
3378
3378
  }), null, 16))
3379
3379
  ], 64))), 128))
3380
3380
  ]),
3381
- (O = e.primaryActions.dropdownOptions) != null && O.bottom ? (t(), i("div", Eo, [
3382
- (t(!0), i(P, null, R((b = e.primaryActions.dropdownOptions) == null ? void 0 : b.bottom, (B, g) => (t(), i("div", { key: g }, [
3383
- B != null && B.tooltipText ? (t(), x(r(le), {
3381
+ (C = e.primaryActions.dropdownOptions) != null && C.bottom ? (t(), i("div", Eo, [
3382
+ (t(!0), i(P, null, R((b = e.primaryActions.dropdownOptions) == null ? void 0 : b.bottom, (O, g) => (t(), i("div", { key: g }, [
3383
+ O != null && O.tooltipText ? (t(), x(r(le), {
3384
3384
  key: 0,
3385
3385
  position: "bottom",
3386
3386
  distance: 14,
3387
3387
  class: "!w-full"
3388
3388
  }, {
3389
3389
  popper: S(() => [
3390
- n("div", No, $(B == null ? void 0 : B.tooltipText), 1)
3390
+ n("div", No, $(O == null ? void 0 : O.tooltipText), 1)
3391
3391
  ]),
3392
3392
  default: S(() => [
3393
- h(r(xe), F({ ref_for: !0 }, B, {
3393
+ h(r(xe), F({ ref_for: !0 }, O, {
3394
3394
  onClick: D[1] || (D[1] = (I) => c.value = !1)
3395
3395
  }), null, 16)
3396
3396
  ]),
@@ -3398,7 +3398,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3398
3398
  }, 1024)) : (t(), x(r(xe), F({
3399
3399
  key: 1,
3400
3400
  ref_for: !0
3401
- }, B, {
3401
+ }, O, {
3402
3402
  onClick: D[2] || (D[2] = (I) => c.value = !1)
3403
3403
  }), null, 16))
3404
3404
  ]))), 128))
@@ -3546,29 +3546,32 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3546
3546
  "is-sidebar-expanded": e.isExpanded
3547
3547
  }, {
3548
3548
  default: S(() => [
3549
- (t(!0), i(P, null, R(p.items, (D, j) => (t(), x(r(xi), {
3550
- key: j,
3551
- icon: D.icon,
3552
- label: D.label,
3553
- "is-children": !!D.children,
3554
- "is-active": D.active,
3555
- "is-expanded": e.isExpanded,
3556
- "is-menu-expanded": o.expanded.includes(D.name),
3557
- onClick: (C) => c(D),
3558
- onCloseMenu: (C) => d(D.name)
3559
- }, {
3560
- default: S(() => [
3561
- (t(!0), i(P, null, R(D.children, (C, O) => (t(), x(r(wi), {
3562
- key: O,
3563
- icon: C.icon,
3564
- label: C.label,
3565
- "is-active": C.active,
3566
- "is-expanded": e.isExpanded,
3567
- onClick: (b) => f.$emit("redirect", C)
3568
- }, null, 8, ["icon", "label", "is-active", "is-expanded", "onClick"]))), 128))
3569
- ]),
3570
- _: 2
3571
- }, 1032, ["icon", "label", "is-children", "is-active", "is-expanded", "is-menu-expanded", "onClick", "onCloseMenu"]))), 128))
3549
+ (t(!0), i(P, null, R(p.items, (D, j) => {
3550
+ var B;
3551
+ return t(), x(r(xi), {
3552
+ key: j,
3553
+ icon: D.icon,
3554
+ label: D.label,
3555
+ "is-children": !!D.children,
3556
+ "is-active": D.active || D.children && ((B = D.children) == null ? void 0 : B.some((C) => C.active)),
3557
+ "is-expanded": e.isExpanded,
3558
+ "is-menu-expanded": o.expanded.includes(D.name),
3559
+ onClick: (C) => c(D),
3560
+ onCloseMenu: (C) => d(D.name)
3561
+ }, {
3562
+ default: S(() => [
3563
+ (t(!0), i(P, null, R(D.children, (C, b) => (t(), x(r(wi), {
3564
+ key: b,
3565
+ icon: C.icon,
3566
+ label: C.label,
3567
+ "is-active": C.active,
3568
+ "is-expanded": e.isExpanded,
3569
+ onClick: (O) => f.$emit("redirect", C)
3570
+ }, null, 8, ["icon", "label", "is-active", "is-expanded", "onClick"]))), 128))
3571
+ ]),
3572
+ _: 2
3573
+ }, 1032, ["icon", "label", "is-children", "is-active", "is-expanded", "is-menu-expanded", "onClick", "onCloseMenu"]);
3574
+ }), 128))
3572
3575
  ]),
3573
3576
  _: 2
3574
3577
  }, 1032, ["label", "is-sidebar-expanded"])) : m("", !0)
@@ -4015,7 +4018,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
4015
4018
  n("div", {
4016
4019
  class: v(["w-[18px] h-[18px] flex items-center justify-center", { "opacity-0": !e.isActive }])
4017
4020
  }, a[0] || (a[0] = [
4018
- n("div", { class: "w-[6px] h-[6px] rounded-full bg-oc-primary" }, null, -1)
4021
+ n("div", { class: "w-[6px] h-[6px] rounded-full bg-[var(--oc-sidebar-menu-active-icon-active)]" }, null, -1)
4019
4022
  ]), 2),
4020
4023
  n("div", hi, $(e.label), 1),
4021
4024
  e.isBeta ? (t(), i("div", bi, " BETA ")) : m("", !0)
@@ -5371,7 +5374,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5371
5374
  n("span", Xs, $(e.text), 1)
5372
5375
  ]));
5373
5376
  }
5374
- }, Js = { class: "flex flex-col gap-y-2 w-full" }, Zs = { class: "flex gap-x-1 items-center" }, Qs = {
5377
+ }, Js = { class: "flex flex-col w-full gap-y-2" }, Zs = { class: "flex items-center gap-x-1" }, Qs = {
5375
5378
  key: 0,
5376
5379
  class: "text-oc-error"
5377
5380
  }, _s = {
@@ -5379,10 +5382,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5379
5382
  class: "px-3 py-2"
5380
5383
  }, er = {
5381
5384
  key: 1,
5382
- class: "text-sm flex items-center text-oc-text-400"
5385
+ class: "flex items-center text-sm text-oc-text-400"
5383
5386
  }, tr = {
5384
5387
  key: 2,
5385
- class: "text-sm text-oc-error flex items-center"
5388
+ class: "flex items-center text-sm text-oc-error"
5386
5389
  }, ye = {
5387
5390
  __name: "OcBaseInput",
5388
5391
  props: {
@@ -5399,7 +5402,12 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5399
5402
  return (s, a) => (t(), i("div", Js, [
5400
5403
  e.label ? (t(), i("label", {
5401
5404
  key: 0,
5402
- class: v(["text-sm flex items-center gap-x-3 font-medium text-oc-text-400", e.labelClass])
5405
+ class: v(["flex items-center text-sm font-medium gap-x-3 text-oc-text-400", [
5406
+ e.labelClass,
5407
+ {
5408
+ "!text-oc-error": e.errorMessage
5409
+ }
5410
+ ]])
5403
5411
  }, [
5404
5412
  n("span", Zs, [
5405
5413
  W($(e.label) + " ", 1),
@@ -5496,9 +5504,9 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5496
5504
  e.isAdditionalArea ? "rounded-l-[inherit]" : "rounded-[inherit]"
5497
5505
  ]]),
5498
5506
  disabled: e.isDisabled || e.isLoading,
5499
- onMousedown: j[0] || (j[0] = (C) => a.value = !0),
5500
- onMouseup: j[1] || (j[1] = (C) => a.value = !1),
5501
- onMouseleave: j[2] || (j[2] = (C) => a.value = !1)
5507
+ onMousedown: j[0] || (j[0] = (B) => a.value = !0),
5508
+ onMouseup: j[1] || (j[1] = (B) => a.value = !1),
5509
+ onMouseleave: j[2] || (j[2] = (B) => a.value = !1)
5502
5510
  }, [
5503
5511
  e.isLoading ? (t(), x(r(T), {
5504
5512
  key: 0,
@@ -5526,7 +5534,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5526
5534
  e.isAdditionalArea && !e.isTransparent ? (t(), i("div", {
5527
5535
  key: 0,
5528
5536
  class: v(["border-y border-r flex cursor-pointer items-center justify-center oc-btn-add-area px-[6px] py-3 rounded-r-[inherit]", [o.value[e.size], e.variant]]),
5529
- onClick: j[3] || (j[3] = ce((C) => D.$emit("addition-click"), ["stop"]))
5537
+ onClick: j[3] || (j[3] = ce((B) => D.$emit("addition-click"), ["stop"]))
5530
5538
  }, [
5531
5539
  k(D.$slots, "additional-content", {}, () => [
5532
5540
  h(r(T), {
@@ -5733,7 +5741,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5733
5741
  class: v({ "!w-fit": !e.isBlock }),
5734
5742
  "model-value": d(D.value),
5735
5743
  "is-button-variant": e.isButtonVariant,
5736
- "onUpdate:modelValue": (C) => c(D.value)
5744
+ "onUpdate:modelValue": (B) => c(D.value)
5737
5745
  }, null, 8, ["label", "value", "is-error", "is-disabled", "class", "model-value", "is-button-variant", "onUpdate:modelValue"]))), 128))
5738
5746
  ], 2)
5739
5747
  ]),
@@ -6028,15 +6036,15 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6028
6036
  },
6029
6037
  setup(e, { expose: s, emit: a }) {
6030
6038
  const l = e, o = a, d = M([]), c = M(), u = M(""), f = M(!1), y = M(!1), p = N(() => f.value ? d.value : d.value.slice(0, l.maxVisibleOptions)), w = (j) => {
6031
- d.value = d.value.filter((C) => C !== j), o("option-removed", j), o("update:modelValue", d.value);
6039
+ d.value = d.value.filter((B) => B !== j), o("option-removed", j), o("update:modelValue", d.value);
6032
6040
  }, D = (j) => {
6033
6041
  if (!(j != null && j.trim()))
6034
6042
  return;
6035
- const C = (j == null ? void 0 : j.split(",")) || [];
6036
- C.forEach((O) => {
6043
+ const B = (j == null ? void 0 : j.split(",")) || [];
6044
+ B.forEach((C) => {
6037
6045
  var b;
6038
- O != null && O.trim() && (!l.allowDuplicated && ((b = d.value) != null && b.includes(O)) || (d.value.push(O), o("option-added", O)));
6039
- }), C.length && (u.value = "", o("update:modelValue", d.value));
6046
+ C != null && C.trim() && (!l.allowDuplicated && ((b = d.value) != null && b.includes(C)) || (d.value.push(C), o("option-added", C)));
6047
+ }), B.length && (u.value = "", o("update:modelValue", d.value));
6040
6048
  };
6041
6049
  return me(
6042
6050
  () => l.modelValue,
@@ -6049,7 +6057,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6049
6057
  }
6050
6058
  ), s({
6051
6059
  focus: () => c.value.focus()
6052
- }), (j, C) => (t(), x(r(ye), {
6060
+ }), (j, B) => (t(), x(r(ye), {
6053
6061
  label: e.isInlineLabel ? "" : e.label,
6054
6062
  hint: e.hint,
6055
6063
  "error-message": e.errorMessage,
@@ -6059,13 +6067,13 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6059
6067
  "tooltip-options": e.tooltipOptions
6060
6068
  }, {
6061
6069
  default: S(() => {
6062
- var O, b;
6070
+ var C, b;
6063
6071
  return [
6064
6072
  n("div", gr, [
6065
6073
  e.isInlineLabel && e.label ? (t(), i("label", pr, $(e.label) + ": ", 1)) : m("", !0),
6066
6074
  n("div", {
6067
6075
  class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
6068
- onClick: C[4] || (C[4] = (B) => c.value.focus())
6076
+ onClick: B[4] || (B[4] = (O) => c.value.focus())
6069
6077
  }, [
6070
6078
  n("div", {
6071
6079
  class: v(["border min-h-[36px] py-3 w-full px-3 flex justify-between items-center cursor-pointer gap-x-3 rounded", {
@@ -6078,16 +6086,16 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6078
6086
  options: p.value,
6079
6087
  areAllOptionsVisible: f.value
6080
6088
  }, () => [
6081
- (t(!0), i(P, null, R(p.value, (B, g) => (t(), x(r(ae), {
6082
- key: `${B}-${g}`,
6089
+ (t(!0), i(P, null, R(p.value, (O, g) => (t(), x(r(ae), {
6090
+ key: `${O}-${g}`,
6083
6091
  closable: "",
6084
- label: B,
6085
- onRemove: (I) => w(B)
6092
+ label: O,
6093
+ onRemove: (I) => w(O)
6086
6094
  }, null, 8, ["label", "onRemove"]))), 128)),
6087
6095
  d.value.length > e.maxVisibleOptions ? (t(), x(r(ae), {
6088
6096
  key: 0,
6089
6097
  variant: "gray",
6090
- onClick: C[0] || (C[0] = (B) => f.value = !f.value)
6098
+ onClick: B[0] || (B[0] = (O) => f.value = !f.value)
6091
6099
  }, {
6092
6100
  default: S(() => [
6093
6101
  f.value ? (t(), x(r(T), {
@@ -6106,14 +6114,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6106
6114
  type: "text",
6107
6115
  value: u.value,
6108
6116
  readonly: e.isReadonly,
6109
- placeholder: ((O = p.value) == null ? void 0 : O.length) === 0 ? e.placeholder : "",
6117
+ placeholder: ((C = p.value) == null ? void 0 : C.length) === 0 ? e.placeholder : "",
6110
6118
  disabled: e.isDisabled,
6111
6119
  class: v(["h-7 flex-1 outline-none text-oc-text disabled:bg-transparent placeholder:font-normal placeholder:text-oc-text-300 bg-oc-bg-light", ((b = p.value) == null ? void 0 : b.length) === 0 ? "min-w-full" : "min-w-[80px]"]),
6112
- onFocus: C[1] || (C[1] = (B) => y.value = !0),
6113
- onBlur: C[2] || (C[2] = (B) => {
6114
- console.log("$event: ", B), y.value = !1, j.$emit("blur", B);
6120
+ onFocus: B[1] || (B[1] = (O) => y.value = !0),
6121
+ onBlur: B[2] || (B[2] = (O) => {
6122
+ console.log("$event: ", O), y.value = !1, j.$emit("blur", O);
6115
6123
  }),
6116
- onKeyup: C[3] || (C[3] = Fe((B) => D(B.target.value), ["enter"]))
6124
+ onKeyup: B[3] || (B[3] = Fe((O) => D(O.target.value), ["enter"]))
6117
6125
  }, null, 42, hr)
6118
6126
  ])
6119
6127
  ], 2)
@@ -6167,28 +6175,28 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6167
6175
  const a = e, l = s;
6168
6176
  let o = a.initialCountryCode;
6169
6177
  if (a.modelValue && a.modelValue[0]) {
6170
- const B = a.countryCodes.find((g) => g.code === a.modelValue[0].toString());
6171
- B && (o = B.iso.toLowerCase());
6178
+ const O = a.countryCodes.find((g) => g.code === a.modelValue[0].toString());
6179
+ O && (o = O.iso.toLowerCase());
6172
6180
  }
6173
6181
  const d = M(o), c = M(!1), u = M(""), f = N(
6174
- () => a.countryCodes.filter((B) => B.country.toLowerCase().includes(u.value.toLowerCase())).sort((B, g) => B.country.localeCompare(g.country))
6175
- ), y = (B) => a.countryCodes.find((g) => g.iso.toLowerCase() === B.toLowerCase()) || null, p = (B) => {
6182
+ () => a.countryCodes.filter((O) => O.country.toLowerCase().includes(u.value.toLowerCase())).sort((O, g) => O.country.localeCompare(g.country))
6183
+ ), y = (O) => a.countryCodes.find((g) => g.iso.toLowerCase() === O.toLowerCase()) || null, p = (O) => {
6176
6184
  var g;
6177
- return ((g = y(B)) == null ? void 0 : g.code) || "";
6178
- }, w = (B) => {
6179
- l("update:modelValue", [p(d.value), B]);
6180
- }, D = (B, g, I = null) => {
6185
+ return ((g = y(O)) == null ? void 0 : g.code) || "";
6186
+ }, w = (O) => {
6187
+ l("update:modelValue", [p(d.value), O]);
6188
+ }, D = (O, g, I = null) => {
6181
6189
  var V;
6182
- d.value = B.toLowerCase(), l("update:modelValue", [g, I || ((V = a.modelValue) == null ? void 0 : V[1]) || ""]), c.value = !1;
6183
- }, j = M(null), C = M([]), O = () => {
6190
+ d.value = O.toLowerCase(), l("update:modelValue", [g, I || ((V = a.modelValue) == null ? void 0 : V[1]) || ""]), c.value = !1;
6191
+ }, j = M(null), B = M([]), C = () => {
6184
6192
  setTimeout(() => {
6185
- const B = f.value.indexOf(
6193
+ const O = f.value.indexOf(
6186
6194
  y(d.value)
6187
- ), I = C.value[B].offsetTop;
6195
+ ), I = B.value[O].offsetTop;
6188
6196
  j.value.scrollTo(0, I - 60, { behavior: "smooth" });
6189
6197
  }, 10);
6190
- }, b = (B) => {
6191
- let g = B.clipboardData.getData("Text");
6198
+ }, b = (O) => {
6199
+ let g = O.clipboardData.getData("Text");
6192
6200
  try {
6193
6201
  if (g.search(/[^0-9]/g) < 0)
6194
6202
  if (g = g.slice(0, 19), g.length > 5 && a.shouldParseCountryCode) {
@@ -6201,9 +6209,9 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6201
6209
  } catch {
6202
6210
  l("update:modelValue", [p(d.value), g]);
6203
6211
  }
6204
- B.preventDefault();
6212
+ O.preventDefault();
6205
6213
  };
6206
- return (B, g) => {
6214
+ return (O, g) => {
6207
6215
  var I;
6208
6216
  return t(), x(r(pe), {
6209
6217
  "error-message": e.errorMessage,
@@ -6226,7 +6234,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6226
6234
  modelValue: c.value,
6227
6235
  "onUpdate:modelValue": [
6228
6236
  g[3] || (g[3] = (V) => c.value = V),
6229
- O
6237
+ C
6230
6238
  ],
6231
6239
  distance: 10,
6232
6240
  placement: "bottom-start"
@@ -6260,7 +6268,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6260
6268
  (t(!0), i(P, null, R(f.value, (V, z) => (t(), i("div", {
6261
6269
  ref_for: !0,
6262
6270
  ref_key: "countryListItemRef",
6263
- ref: C,
6271
+ ref: B,
6264
6272
  key: z,
6265
6273
  class: v([
6266
6274
  "py-3 px-4 flex gap-x-4 items-center hover:bg-oc-gray-50 cursor-pointer",
@@ -6656,7 +6664,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6656
6664
  } else
6657
6665
  ((A = H.label) != null && A.toLowerCase().includes(d.value.toLowerCase()) || (U = H.subLabel) != null && U.toLowerCase().includes(d.value.toLowerCase())) && L.push(H);
6658
6666
  return L;
6659
- }), C = N(() => {
6667
+ }), B = N(() => {
6660
6668
  if (l.multiple) {
6661
6669
  let L = [];
6662
6670
  if (l.modelValue)
@@ -6671,14 +6679,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6671
6679
  var A;
6672
6680
  return L.value.toString() === ((A = l.modelValue) == null ? void 0 : A.toString());
6673
6681
  });
6674
- }), O = (L) => {
6682
+ }), C = (L) => {
6675
6683
  var U;
6676
6684
  if (L.isDisabled)
6677
6685
  return;
6678
6686
  let A;
6679
6687
  if (l.multiple) {
6680
6688
  const H = (l.modelValue || []).find((X) => X === L.value);
6681
- if (!H && l.maxOptionAllowed && ((U = C.value) == null ? void 0 : U.length) >= Number(l.maxOptionAllowed)) {
6689
+ if (!H && l.maxOptionAllowed && ((U = B.value) == null ? void 0 : U.length) >= Number(l.maxOptionAllowed)) {
6682
6690
  o("max-option-allowed-set");
6683
6691
  return;
6684
6692
  }
@@ -6691,7 +6699,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6691
6699
  "update:modelValue",
6692
6700
  (l.modelValue || []).filter((A) => A !== L)
6693
6701
  );
6694
- }, B = () => {
6702
+ }, O = () => {
6695
6703
  l.isAsynchronousSearch || (D.value ? o("update:modelValue", null) : o(
6696
6704
  "update:modelValue",
6697
6705
  j.value.map((L) => L.value)
@@ -6778,7 +6786,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6778
6786
  ref: p,
6779
6787
  class: "flex flex-col gap-y-2"
6780
6788
  }, [
6781
- e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), i("div", Fr, [
6789
+ e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && B.value ? (t(), i("div", Fr, [
6782
6790
  h(r(pe), {
6783
6791
  ref_key: "searchInputRef",
6784
6792
  ref: u,
@@ -6800,7 +6808,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6800
6808
  }, 8, ["modelValue", "placeholder"])
6801
6809
  ])) : m("", !0),
6802
6810
  n("div", {
6803
- class: v(["flex px-3 pb-3 flex-col gap-y-2", { "pt-3": !e.isFilterable || e.isInlineSearch && !C.value }])
6811
+ class: v(["flex px-3 pb-3 flex-col gap-y-2", { "pt-3": !e.isFilterable || e.isInlineSearch && !B.value }])
6804
6812
  }, [
6805
6813
  e.isCheckboxes && e.isSelectAll && j.value.length && e.multiple ? (t(), x(r(gt), {
6806
6814
  key: 0,
@@ -6809,12 +6817,12 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6809
6817
  "is-partial": !D.value && !!((U = e.modelValue) != null && U.length),
6810
6818
  class: "border-b border-oc-gray-200",
6811
6819
  label: "Select All",
6812
- onClick: B
6820
+ onClick: O
6813
6821
  }, null, 8, ["is-selected", "is-partial"])) : m("", !0),
6814
6822
  k(L.$slots, "default", {
6815
6823
  key: w.value,
6816
6824
  fOptions: j.value,
6817
- selectOption: O
6825
+ selectOption: C
6818
6826
  }, () => [
6819
6827
  (t(!0), i(P, null, R(j.value, (H) => (t(), x(r(gt), {
6820
6828
  ref_for: !0,
@@ -6826,7 +6834,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6826
6834
  "is-disabled": H.isDisabled,
6827
6835
  "is-checkboxes": e.isCheckboxes,
6828
6836
  "is-selected": e.multiple ? e.modelValue ? e.modelValue.find((X) => X === H.value) !== void 0 : !1 : e.modelValue === H.value,
6829
- onClick: (X) => O(H)
6837
+ onClick: (X) => C(H)
6830
6838
  }, null, 8, ["label", "sub-label", "is-disabled", "is-checkboxes", "is-selected", "onClick"]))), 128))
6831
6839
  ]),
6832
6840
  k(L.$slots, "infinite-scrolling"),
@@ -6870,7 +6878,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6870
6878
  }, [
6871
6879
  e.multiple ? (t(), i("div", Pr, [
6872
6880
  k(L.$slots, "selection", {}, () => [
6873
- (t(!0), i(P, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), x(r(ae), F({
6881
+ (t(!0), i(P, null, R(e.maxVisibleOptions ? B.value.slice(0, e.maxVisibleOptions) : B.value, (U) => (t(), x(r(ae), F({
6874
6882
  key: U.value,
6875
6883
  closable: "",
6876
6884
  variant: U.variant,
@@ -6880,14 +6888,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6880
6888
  "should-truncate-chip": "",
6881
6889
  onRemove: (H) => b(U.value)
6882
6890
  }), null, 16, ["variant", "label", "onRemove"]))), 128)),
6883
- e.maxVisibleOptions && C.value.length > e.maxVisibleOptions ? (t(), x(r(ae), {
6891
+ e.maxVisibleOptions && B.value.length > e.maxVisibleOptions ? (t(), x(r(ae), {
6884
6892
  key: 0,
6885
- label: `+${C.value.length - e.maxVisibleOptions}`
6893
+ label: `+${B.value.length - e.maxVisibleOptions}`
6886
6894
  }, null, 8, ["label"])) : m("", !0)
6887
6895
  ]),
6888
- C.value.length === 0 ? (t(), i("span", Er, $(e.placeholder), 1)) : m("", !0)
6896
+ B.value.length === 0 ? (t(), i("span", Er, $(e.placeholder), 1)) : m("", !0)
6889
6897
  ])) : m("", !0),
6890
- e.isInlineSearch && e.isFilterable && !C.value ? (t(), x(r(pe), {
6898
+ e.isInlineSearch && e.isFilterable && !B.value ? (t(), x(r(pe), {
6891
6899
  key: 1,
6892
6900
  modelValue: d.value,
6893
6901
  "onUpdate:modelValue": [
@@ -6917,7 +6925,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6917
6925
  height: "16"
6918
6926
  }, null, 8, ["name"])) : m("", !0),
6919
6927
  e.isInlineLabel && e.label ? (t(), i("span", zr, $(e.label) + ": ", 1)) : m("", !0),
6920
- C.value ? (t(), i("span", Rr, $(C.value.label), 1)) : (t(), i("span", {
6928
+ B.value ? (t(), i("span", Rr, $(B.value.label), 1)) : (t(), i("span", {
6921
6929
  key: 3,
6922
6930
  class: v(e.dropdownClasses ? "" : "text-oc-text-300")
6923
6931
  }, $(e.placeholder), 3))
@@ -7073,23 +7081,23 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
7073
7081
  "update:title": []
7074
7082
  },
7075
7083
  setup(e, { emit: s }) {
7076
- var C, O;
7077
- const a = e, l = s, o = M(!1), d = M(a.type ?? ((O = (C = a.links) == null ? void 0 : C[0]) == null ? void 0 : O.value)), c = M(a.title ?? ""), u = N(
7084
+ var B, C;
7085
+ const a = e, l = s, o = M(!1), d = M(a.type ?? ((C = (B = a.links) == null ? void 0 : B[0]) == null ? void 0 : C.value)), c = M(a.title ?? ""), u = N(
7078
7086
  () => a.links.find((b) => b.value === d.value) ?? {}
7079
7087
  ), f = N(() => u.value.preFill ?? ""), y = M(a.modelValue ? a.modelValue.replace(f.value, "") : ""), p = (b) => {
7080
7088
  var g;
7081
- const B = (g = a.links.find((I) => I.value === b)) == null ? void 0 : g.preFill;
7082
- l("update:modelValue", a.modelValue.replace(f.value, B)), d.value = b, l("update:type", b), o.value = !1;
7089
+ const O = (g = a.links.find((I) => I.value === b)) == null ? void 0 : g.preFill;
7090
+ l("update:modelValue", a.modelValue.replace(f.value, O)), d.value = b, l("update:type", b), o.value = !1;
7083
7091
  }, w = (b) => {
7084
7092
  y.value = b, l("update:modelValue", f.value + b), !a.isEdit && d.value !== "link" && l("update:title", b);
7085
7093
  }, D = N(() => u.value.placeholder ?? ""), j = N(() => d.value === "link");
7086
- return (b, B) => (t(), i("div", null, [
7094
+ return (b, O) => (t(), i("div", null, [
7087
7095
  j.value || e.isEdit ? (t(), x(r(pe), {
7088
7096
  key: 0,
7089
7097
  modelValue: c.value,
7090
7098
  "onUpdate:modelValue": [
7091
- B[0] || (B[0] = (g) => c.value = g),
7092
- B[1] || (B[1] = (g) => b.$emit("update:title", g))
7099
+ O[0] || (O[0] = (g) => c.value = g),
7100
+ O[1] || (O[1] = (g) => b.$emit("update:title", g))
7093
7101
  ],
7094
7102
  class: "mb-3",
7095
7103
  label: "Title",
@@ -7114,7 +7122,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
7114
7122
  trailing: S(() => [
7115
7123
  h(r(ie), {
7116
7124
  modelValue: o.value,
7117
- "onUpdate:modelValue": B[2] || (B[2] = (g) => o.value = g),
7125
+ "onUpdate:modelValue": O[2] || (O[2] = (g) => o.value = g),
7118
7126
  distance: 10
7119
7127
  }, {
7120
7128
  menu: S(() => [
@@ -7275,28 +7283,28 @@ var At = { exports: {} };
7275
7283
  var a = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, l = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, o = /\d/, d = /\d\d/, c = /\d\d?/, u = /\d*[^-_:/,()\s\d]+/, f = {}, y = function(b) {
7276
7284
  return (b = +b) + (b > 68 ? 1900 : 2e3);
7277
7285
  }, p = function(b) {
7278
- return function(B) {
7279
- this[b] = +B;
7286
+ return function(O) {
7287
+ this[b] = +O;
7280
7288
  };
7281
7289
  }, w = [/[+-]\d\d:?(\d\d)?|Z/, function(b) {
7282
- (this.zone || (this.zone = {})).offset = function(B) {
7283
- if (!B || B === "Z") return 0;
7284
- var g = B.match(/([+-]|\d\d)/g), I = 60 * g[1] + (+g[2] || 0);
7290
+ (this.zone || (this.zone = {})).offset = function(O) {
7291
+ if (!O || O === "Z") return 0;
7292
+ var g = O.match(/([+-]|\d\d)/g), I = 60 * g[1] + (+g[2] || 0);
7285
7293
  return I === 0 ? 0 : g[0] === "+" ? -I : I;
7286
7294
  }(b);
7287
7295
  }], D = function(b) {
7288
- var B = f[b];
7289
- return B && (B.indexOf ? B : B.s.concat(B.f));
7290
- }, j = function(b, B) {
7296
+ var O = f[b];
7297
+ return O && (O.indexOf ? O : O.s.concat(O.f));
7298
+ }, j = function(b, O) {
7291
7299
  var g, I = f.meridiem;
7292
7300
  if (I) {
7293
- for (var V = 1; V <= 24; V += 1) if (b.indexOf(I(V, 0, B)) > -1) {
7301
+ for (var V = 1; V <= 24; V += 1) if (b.indexOf(I(V, 0, O)) > -1) {
7294
7302
  g = V > 12;
7295
7303
  break;
7296
7304
  }
7297
- } else g = b === (B ? "pm" : "PM");
7305
+ } else g = b === (O ? "pm" : "PM");
7298
7306
  return g;
7299
- }, C = { A: [u, function(b) {
7307
+ }, B = { A: [u, function(b) {
7300
7308
  this.afternoon = j(b, !1);
7301
7309
  }], a: [u, function(b) {
7302
7310
  this.afternoon = j(b, !0);
@@ -7309,31 +7317,31 @@ var At = { exports: {} };
7309
7317
  }], SSS: [/\d{3}/, function(b) {
7310
7318
  this.milliseconds = +b;
7311
7319
  }], s: [c, p("seconds")], ss: [c, p("seconds")], m: [c, p("minutes")], mm: [c, p("minutes")], H: [c, p("hours")], h: [c, p("hours")], HH: [c, p("hours")], hh: [c, p("hours")], D: [c, p("day")], DD: [d, p("day")], Do: [u, function(b) {
7312
- var B = f.ordinal, g = b.match(/\d+/);
7313
- if (this.day = g[0], B) for (var I = 1; I <= 31; I += 1) B(I).replace(/\[|\]/g, "") === b && (this.day = I);
7320
+ var O = f.ordinal, g = b.match(/\d+/);
7321
+ if (this.day = g[0], O) for (var I = 1; I <= 31; I += 1) O(I).replace(/\[|\]/g, "") === b && (this.day = I);
7314
7322
  }], w: [c, p("week")], ww: [d, p("week")], M: [c, p("month")], MM: [d, p("month")], MMM: [u, function(b) {
7315
- var B = D("months"), g = (D("monthsShort") || B.map(function(I) {
7323
+ var O = D("months"), g = (D("monthsShort") || O.map(function(I) {
7316
7324
  return I.slice(0, 3);
7317
7325
  })).indexOf(b) + 1;
7318
7326
  if (g < 1) throw new Error();
7319
7327
  this.month = g % 12 || g;
7320
7328
  }], MMMM: [u, function(b) {
7321
- var B = D("months").indexOf(b) + 1;
7322
- if (B < 1) throw new Error();
7323
- this.month = B % 12 || B;
7329
+ var O = D("months").indexOf(b) + 1;
7330
+ if (O < 1) throw new Error();
7331
+ this.month = O % 12 || O;
7324
7332
  }], Y: [/[+-]?\d+/, p("year")], YY: [d, function(b) {
7325
7333
  this.year = y(b);
7326
7334
  }], YYYY: [/\d{4}/, p("year")], Z: w, ZZ: w };
7327
- function O(b) {
7328
- var B, g;
7329
- B = b, g = f && f.formats;
7330
- for (var I = (b = B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, X, te) {
7335
+ function C(b) {
7336
+ var O, g;
7337
+ O = b, g = f && f.formats;
7338
+ for (var I = (b = O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, X, te) {
7331
7339
  var _ = te && te.toUpperCase();
7332
7340
  return X || g[te] || a[te] || g[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ne, de, ve) {
7333
7341
  return de || ve.slice(1);
7334
7342
  });
7335
7343
  })).match(l), V = I.length, z = 0; z < V; z += 1) {
7336
- var E = I[z], L = C[E], A = L && L[0], U = L && L[1];
7344
+ var E = I[z], L = B[E], A = L && L[0], U = L && L[1];
7337
7345
  I[z] = U ? { regex: A, parser: U } : E.replace(/^\[|\]$/g, "");
7338
7346
  }
7339
7347
  return function(H) {
@@ -7354,9 +7362,9 @@ var At = { exports: {} };
7354
7362
  }(X), X;
7355
7363
  };
7356
7364
  }
7357
- return function(b, B, g) {
7365
+ return function(b, O, g) {
7358
7366
  g.p.customParseFormat = !0, b && b.parseTwoDigitYear && (y = b.parseTwoDigitYear);
7359
- var I = B.prototype, V = I.parse;
7367
+ var I = O.prototype, V = I.parse;
7360
7368
  I.parse = function(z) {
7361
7369
  var E = z.date, L = z.utc, A = z.args;
7362
7370
  this.$u = L;
@@ -7366,7 +7374,7 @@ var At = { exports: {} };
7366
7374
  X && (_ = A[2]), f = this.$locale(), !H && _ && (f = g.Ls[_]), this.$d = function(be, we, ge, ke) {
7367
7375
  try {
7368
7376
  if (["x", "X"].indexOf(we) > -1) return new Date((we === "X" ? 1e3 : 1) * be);
7369
- var se = O(we)(be), Ve = se.year, Se = se.month, Q = se.day, Be = se.hours, q = se.minutes, J = se.seconds, Y = se.milliseconds, ue = se.zone, je = se.week, Ke = /* @__PURE__ */ new Date(), Ge = Q || (Ve || Se ? 1 : Ke.getDate()), Xe = Ve || Ke.getFullYear(), Ne = 0;
7377
+ var se = C(we)(be), Ve = se.year, Se = se.month, Q = se.day, Be = se.hours, q = se.minutes, J = se.seconds, Y = se.milliseconds, ue = se.zone, je = se.week, Ke = /* @__PURE__ */ new Date(), Ge = Q || (Ve || Se ? 1 : Ke.getDate()), Xe = Ve || Ke.getFullYear(), Ne = 0;
7370
7378
  Ve && !Se || (Ne = Se > 0 ? Se - 1 : Ke.getMonth());
7371
7379
  var ze, Je = Be || 0, Ze = q || 0, Qe = J || 0, _e = Y || 0;
7372
7380
  return ue ? new Date(Date.UTC(Xe, Ne, Ge, Je, Ze, Qe, _e + 60 * ue.offset * 1e3)) : ge ? new Date(Date.UTC(Xe, Ne, Ge, Je, Ze, Qe, _e)) : (ze = new Date(Xe, Ne, Ge, Je, Ze, Qe, _e), je && (ze = ke(ze).week(je).toDate()), ze);
@@ -7458,10 +7466,10 @@ function Dd(e, s, a) {
7458
7466
  var L = l, A = o;
7459
7467
  return l = o = void 0, y = E, c = e.apply(A, L), c;
7460
7468
  }
7461
- function C(E) {
7462
- return y = E, u = setTimeout(B, s), p ? j(E) : c;
7469
+ function B(E) {
7470
+ return y = E, u = setTimeout(O, s), p ? j(E) : c;
7463
7471
  }
7464
- function O(E) {
7472
+ function C(E) {
7465
7473
  var L = E - f, A = E - y, U = s - L;
7466
7474
  return w ? Td(U, d - A) : U;
7467
7475
  }
@@ -7469,11 +7477,11 @@ function Dd(e, s, a) {
7469
7477
  var L = E - f, A = E - y;
7470
7478
  return f === void 0 || L >= s || L < 0 || w && A >= d;
7471
7479
  }
7472
- function B() {
7480
+ function O() {
7473
7481
  var E = et();
7474
7482
  if (b(E))
7475
7483
  return g(E);
7476
- u = setTimeout(B, O(E));
7484
+ u = setTimeout(O, C(E));
7477
7485
  }
7478
7486
  function g(E) {
7479
7487
  return u = void 0, D && l ? j(E) : (l = o = void 0, c);
@@ -7488,11 +7496,11 @@ function Dd(e, s, a) {
7488
7496
  var E = et(), L = b(E);
7489
7497
  if (l = arguments, o = this, f = E, L) {
7490
7498
  if (u === void 0)
7491
- return C(f);
7499
+ return B(f);
7492
7500
  if (w)
7493
- return clearTimeout(u), u = setTimeout(B, s), j(f);
7501
+ return clearTimeout(u), u = setTimeout(O, s), j(f);
7494
7502
  }
7495
- return u === void 0 && (u = setTimeout(B, s)), c;
7503
+ return u === void 0 && (u = setTimeout(O, s)), c;
7496
7504
  }
7497
7505
  return z.cancel = I, z.flush = V, z;
7498
7506
  }
@@ -7542,10 +7550,10 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7542
7550
  emits: ["update:modelValue", "reset-calendar", "update:isIndefinite"],
7543
7551
  setup(e, { emit: s }) {
7544
7552
  K.extend(Bt), K.extend(It), K.extend(Dt), K.extend(ot);
7545
- const a = e, l = s, o = M(), d = M(), c = M(), u = M(), f = M(), y = M(), p = M(), w = M(!1), D = M(!1), j = M(!1), C = M(!1), O = N(() => a.type === "range"), b = N(() => {
7553
+ const a = e, l = s, o = M(), d = M(), c = M(), u = M(), f = M(), y = M(), p = M(), w = M(!1), D = M(!1), j = M(!1), B = M(!1), C = N(() => a.type === "range"), b = N(() => {
7546
7554
  const J = o.value.endOf("month").date();
7547
7555
  return Array.from({ length: J }, (Y, ue) => ue + 1);
7548
- }), B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], g = N(() => o.value.format("MMMM YYYY")), I = N(
7556
+ }), O = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], g = N(() => o.value.format("MMMM YYYY")), I = N(
7549
7557
  () => j.value ? y.value.format("YYYY") : o.value.format("YYYY")
7550
7558
  ), V = N(() => o.value.format("MMM")), z = N(() => {
7551
7559
  const q = d.value, J = c.value ?? p.value, Y = [q, J];
@@ -7570,7 +7578,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7570
7578
  }, X = () => {
7571
7579
  p.value = null, o.value = o.value.add(1, "month"), u.value = A.value ? d.value.date() : null, f.value = U.value ? c.value.date() : null;
7572
7580
  }, te = (q) => {
7573
- p.value = null, o.value = o.value.set("month", q), C.value = !1;
7581
+ p.value = null, o.value = o.value.set("month", q), B.value = !1;
7574
7582
  }, _ = (q) => {
7575
7583
  p.value = null, o.value = o.value.set("year", q), j.value = !1;
7576
7584
  }, ne = () => {
@@ -7578,11 +7586,11 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7578
7586
  }, de = () => {
7579
7587
  p.value = null, j.value ? y.value = y.value.add(11, "year") : o.value = o.value.add(1, "year");
7580
7588
  }, ve = () => {
7581
- j.value = !1, C.value = !C.value;
7589
+ j.value = !1, B.value = !B.value;
7582
7590
  }, be = (q) => {
7583
7591
  const J = o.value.date(q);
7584
7592
  return Object.values(z.value).filter(Boolean).find((Y) => Y.isSame(J));
7585
- }, we = (q) => O.value ? E.value ? o.value.date(q).isBetween(
7593
+ }, we = (q) => C.value ? E.value ? o.value.date(q).isBetween(
7586
7594
  z.value.from,
7587
7595
  z.value.to,
7588
7596
  null,
@@ -7591,14 +7599,14 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7591
7599
  const J = o.value.date(q);
7592
7600
  return a.disabledDate(J.toDate()) || a.minDate && J.isBefore(K(a.minDate), "day") || a.maxDate && J.isAfter(K(a.maxDate), "day");
7593
7601
  }, ke = () => {
7594
- O.value && (ge(d.value.toDate()) || ge(c.value.toDate())) || (D.value = !1, l(
7602
+ C.value && (ge(d.value.toDate()) || ge(c.value.toDate())) || (D.value = !1, l(
7595
7603
  "update:modelValue",
7596
- O.value ? [z.value.from, z.value.to].map((q) => q.toDate()) : d.value.toDate()
7604
+ C.value ? [z.value.from, z.value.to].map((q) => q.toDate()) : d.value.toDate()
7597
7605
  ));
7598
7606
  }, se = (q) => {
7599
7607
  l("update:isIndefinite", q);
7600
7608
  }, Ve = (q, J = !0) => {
7601
- if (!O.value) {
7609
+ if (!C.value) {
7602
7610
  let ue = K(g.value, "MMMM YYYY").date(q);
7603
7611
  u.value = q, d.value = ue, f.value = null, c.value = null, ke();
7604
7612
  return;
@@ -7613,8 +7621,8 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7613
7621
  D.value && Ve(q, !1);
7614
7622
  }, 50), Q = () => {
7615
7623
  var J, Y, ue;
7616
- const q = O.value ? (J = a.modelValue) == null ? void 0 : J[0] : a.modelValue;
7617
- o.value = K(q), y.value = K(q), d.value = q && o.value, u.value = q && d.value.date(), !(!O.value || !q) && (c.value = K((Y = a.modelValue) == null ? void 0 : Y[1]), f.value = ((ue = c.value) == null ? void 0 : ue.month()) === o.value.month() ? c.value.date() : void 0);
7624
+ const q = C.value ? (J = a.modelValue) == null ? void 0 : J[0] : a.modelValue;
7625
+ o.value = K(q), y.value = K(q), d.value = q && o.value, u.value = q && d.value.date(), !(!C.value || !q) && (c.value = K((Y = a.modelValue) == null ? void 0 : Y[1]), f.value = ((ue = c.value) == null ? void 0 : ue.month()) === o.value.month() ? c.value.date() : void 0);
7618
7626
  }, Be = (q) => {
7619
7627
  const J = q + 11, Y = [];
7620
7628
  for (; q <= J; )
@@ -7626,8 +7634,8 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7626
7634
  }, [
7627
7635
  n("div", Ad, [
7628
7636
  h(r(ie), {
7629
- modelValue: C.value,
7630
- "onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
7637
+ modelValue: B.value,
7638
+ "onUpdate:modelValue": J[1] || (J[1] = (Y) => B.value = Y),
7631
7639
  distance: 10,
7632
7640
  position: "bottom",
7633
7641
  "is-popover": "",
@@ -7663,7 +7671,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7663
7671
  onClick: (ue) => _(Y)
7664
7672
  }, $(Y), 11, Nd))), 128))
7665
7673
  ])) : (t(), i("div", zd, [
7666
- (t(), i(P, null, R(B, (Y, ue) => n("div", {
7674
+ (t(), i(P, null, R(O, (Y, ue) => n("div", {
7667
7675
  key: Y,
7668
7676
  class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
7669
7677
  "!border-oc-primary bg-oc-primary text-white": V.value === Y
@@ -7707,7 +7715,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7707
7715
  class: v(["w-9 rounded-full flex cursor-pointer items-center relative justify-center h-9", [
7708
7716
  be(Y) ? "bg-oc-primary text-white" : "hover:bg-oc-primary-50-tr",
7709
7717
  ge(Y) ? "pointer-events-none opacity-[.35]" : "",
7710
- O.value ? {
7718
+ C.value ? {
7711
7719
  ...we(Y) && {
7712
7720
  "before:bg-oc-primary-50-tr before:px-3 before:w-[calc(100%+0.5rem)] before:h-full before:absolute": !0,
7713
7721
  "before:rounded-l-full before:left-0 before:!w-[calc(100%+0.25rem)]": z.value.from.isSame(o.value.date(Y)),
@@ -7854,15 +7862,15 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7854
7862
  }, w = () => {
7855
7863
  a("resetCalendar"), a("update:modelValue", f.value ? [] : null), o.value = !1;
7856
7864
  }, D = (b) => {
7857
- const B = K(b);
7858
- return ((I) => I.get("month") === K().get("month"))(B);
7865
+ const O = K(b);
7866
+ return ((I) => I.get("month") === K().get("month"))(O);
7859
7867
  }, j = (b) => {
7860
7868
  d.value = b, a("update:modelValue", b ? "Indefinite" : null);
7861
- }, C = (b, B) => {
7869
+ }, B = (b, O) => {
7862
7870
  var I;
7863
7871
  const g = K(b, l.dateFormat, !0);
7864
- u.value[B] = g.format(l.dateFormat), u.value[B ? 0 : 1] = ((I = l.modelValue) == null ? void 0 : I[B ? 0 : 1]) || K().format(l.dateFormat);
7865
- }, O = () => {
7872
+ u.value[O] = g.format(l.dateFormat), u.value[O ? 0 : 1] = ((I = l.modelValue) == null ? void 0 : I[O ? 0 : 1]) || K().format(l.dateFormat);
7873
+ }, C = () => {
7866
7874
  if (u.value.length) {
7867
7875
  if (c.value = !1, u.value.some((b) => !K(b, l.dateFormat).isValid())) {
7868
7876
  c.value = !0, u.value = [];
@@ -7873,9 +7881,9 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7873
7881
  )), a("update:modelValue", u.value), u.value = [];
7874
7882
  }
7875
7883
  };
7876
- return (b, B) => (t(), x(r(ie), {
7884
+ return (b, O) => (t(), x(r(ie), {
7877
7885
  modelValue: o.value,
7878
- "onUpdate:modelValue": B[3] || (B[3] = (g) => o.value = g),
7886
+ "onUpdate:modelValue": O[3] || (O[3] = (g) => o.value = g),
7879
7887
  "is-disabled": e.disabled,
7880
7888
  placement: "bottom-start",
7881
7889
  distance: 10,
@@ -7950,7 +7958,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7950
7958
  "shadow-[0_0_0_2px]": o.value && !e.disabled
7951
7959
  }
7952
7960
  ]]),
7953
- onClick: B[2] || (B[2] = (g) => o.value ? g.stopPropagation : null)
7961
+ onClick: O[2] || (O[2] = (g) => o.value ? g.stopPropagation : null)
7954
7962
  }, [
7955
7963
  n("div", Xd, [
7956
7964
  h(r(T), {
@@ -7961,20 +7969,20 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7961
7969
  placeholder: "Start date",
7962
7970
  value: y.value[0] ? y.value[0].format(e.dateFormat) : "",
7963
7971
  class: "text-center bg-transparent outline-0 w-full placeholder:text-oc-text-300",
7964
- onInput: B[0] || (B[0] = (g) => C(g.target.value, 0)),
7965
- onKeydown: Fe(O, ["enter"]),
7966
- onBlur: O
7972
+ onInput: O[0] || (O[0] = (g) => B(g.target.value, 0)),
7973
+ onKeydown: Fe(C, ["enter"]),
7974
+ onBlur: C
7967
7975
  }, null, 40, Jd)
7968
7976
  ]),
7969
- B[4] || (B[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
7977
+ O[4] || (O[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
7970
7978
  n("div", Zd, [
7971
7979
  n("input", {
7972
7980
  placeholder: "End date",
7973
7981
  value: y.value[1] ? y.value[1].format(e.dateFormat) : "",
7974
7982
  class: "text-center bg-transparent outline-0 w-full placeholder:text-oc-text-300",
7975
- onInput: B[1] || (B[1] = (g) => C(g.target.value, 1)),
7976
- onKeydown: Fe(O, ["enter"]),
7977
- onBlur: O
7983
+ onInput: O[1] || (O[1] = (g) => B(g.target.value, 1)),
7984
+ onKeydown: Fe(C, ["enter"]),
7985
+ onBlur: C
7978
7986
  }, null, 40, Qd),
7979
7987
  h(r(T), {
7980
7988
  class: v([y.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
@@ -8031,26 +8039,26 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8031
8039
  },
8032
8040
  setup(e, { expose: s, emit: a }) {
8033
8041
  const l = e, o = a, d = M(), c = M(), u = M(), f = M(0), y = M(0), p = () => {
8034
- var O, b;
8035
- l.type === "range" && parseInt((O = c.value) == null ? void 0 : O.value) - parseInt((b = d.value) == null ? void 0 : b.value) <= l.minGap && (d.value.value = parseInt(c.value.value) - l.minGap), D();
8042
+ var C, b;
8043
+ l.type === "range" && parseInt((C = c.value) == null ? void 0 : C.value) - parseInt((b = d.value) == null ? void 0 : b.value) <= l.minGap && (d.value.value = parseInt(c.value.value) - l.minGap), D();
8036
8044
  }, w = () => {
8037
- var O, b, B;
8038
- parseInt((O = c.value) == null ? void 0 : O.value) - parseInt((b = d.value) == null ? void 0 : b.value) <= l.minGap && (c.value.value = parseInt((B = d.value) == null ? void 0 : B.value) + l.minGap), D();
8039
- }, D = (O = !1) => {
8040
- var b, B, g, I;
8041
- f.value = (((b = d.value) == null ? void 0 : b.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100, y.value = l.type === "range" ? (((B = c.value) == null ? void 0 : B.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100 : 0, u.value.style.background = l.type === "range" ? `linear-gradient(to right, var(--oc-gray-100) ${f.value}% , var(--oc-primary-500) ${f.value}% , var(--oc-primary-500) ${y.value}%, var(--oc-gray-100) ${y.value}%)` : `linear-gradient(to right, var(--oc-primary-500) ${f.value}%, var(--oc-gray-100) ${f.value}%)`, O || o(
8045
+ var C, b, O;
8046
+ parseInt((C = c.value) == null ? void 0 : C.value) - parseInt((b = d.value) == null ? void 0 : b.value) <= l.minGap && (c.value.value = parseInt((O = d.value) == null ? void 0 : O.value) + l.minGap), D();
8047
+ }, D = (C = !1) => {
8048
+ var b, O, g, I;
8049
+ f.value = (((b = d.value) == null ? void 0 : b.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100, y.value = l.type === "range" ? (((O = c.value) == null ? void 0 : O.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100 : 0, u.value.style.background = l.type === "range" ? `linear-gradient(to right, var(--oc-gray-100) ${f.value}% , var(--oc-primary-500) ${f.value}% , var(--oc-primary-500) ${y.value}%, var(--oc-gray-100) ${y.value}%)` : `linear-gradient(to right, var(--oc-primary-500) ${f.value}%, var(--oc-gray-100) ${f.value}%)`, C || o(
8042
8050
  "update:modelValue",
8043
8051
  l.type === "range" ? [(g = d.value) == null ? void 0 : g.value, (I = c.value) == null ? void 0 : I.value] : d.value.value
8044
8052
  );
8045
- }, j = (O) => {
8046
- O.key >= "0" && O.key <= "9" || O.key === "Backspace" || O.preventDefault();
8047
- }, C = (O) => {
8048
- O && O[0] && O[1] && l.type === "range" ? (d.value.value = Number(O[0]), c.value.value = Number(O[1]), p(), l.type === "range" && w()) : O && l.type === "default" ? O <= l.maxLimit && O >= l.minLimit && (d.value.value = Number(O), p()) : D(!0);
8053
+ }, j = (C) => {
8054
+ C.key >= "0" && C.key <= "9" || C.key === "Backspace" || C.preventDefault();
8055
+ }, B = (C) => {
8056
+ C && C[0] && C[1] && l.type === "range" ? (d.value.value = Number(C[0]), c.value.value = Number(C[1]), p(), l.type === "range" && w()) : C && l.type === "default" ? C <= l.maxLimit && C >= l.minLimit && (d.value.value = Number(C), p()) : D(!0);
8049
8057
  };
8050
8058
  return s({
8051
- updateSlider: C
8052
- }), $e(() => C()), (O, b) => {
8053
- var B, g, I, V;
8059
+ updateSlider: B
8060
+ }), $e(() => B()), (C, b) => {
8061
+ var O, g, I, V;
8054
8062
  return t(), i("div", ec, [
8055
8063
  e.label ? (t(), i("label", tc, [
8056
8064
  n("span", lc, $(e.label), 1)
@@ -8072,7 +8080,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8072
8080
  type: "range",
8073
8081
  min: e.minLimit,
8074
8082
  max: e.maxLimit,
8075
- value: e.type === "range" ? (B = e.modelValue) == null ? void 0 : B[0] : e.modelValue,
8083
+ value: e.type === "range" ? (O = e.modelValue) == null ? void 0 : O[0] : e.modelValue,
8076
8084
  onInput: p
8077
8085
  }, null, 40, ac),
8078
8086
  e.type === "range" ? (t(), i("input", {
@@ -8096,12 +8104,12 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8096
8104
  style: oe(`right: ${100 - y.value}%`)
8097
8105
  }, $((V = e.modelValue) == null ? void 0 : V[1]), 5)) : m("", !0),
8098
8106
  n("span", oc, [
8099
- k(O.$slots, "min-limit-label", {}, () => [
8107
+ k(C.$slots, "min-limit-label", {}, () => [
8100
8108
  W($(e.minLimit), 1)
8101
8109
  ], !0)
8102
8110
  ]),
8103
8111
  n("span", ic, [
8104
- k(O.$slots, "max-limit-label", {}, () => [
8112
+ k(C.$slots, "max-limit-label", {}, () => [
8105
8113
  W($(e.maxLimit), 1)
8106
8114
  ], !0)
8107
8115
  ])
@@ -8112,7 +8120,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8112
8120
  "model-value": e.modelValue,
8113
8121
  placeholder: "10",
8114
8122
  onKeydown: j,
8115
- "onUpdate:modelValue": C
8123
+ "onUpdate:modelValue": B
8116
8124
  }, null, 8, ["model-value"])) : m("", !0)
8117
8125
  ])
8118
8126
  ]);
@@ -8505,12 +8513,12 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8505
8513
  "invalidFileType"
8506
8514
  ],
8507
8515
  setup(e, { emit: s }) {
8508
- const a = e, l = s, o = M(), d = M(""), c = M(""), u = M(!0), f = M(!1), y = M(!1), p = M(!1), w = M(""), { currentFiles: D, onChangeFile: j, onDeleteFile: C } = $t(
8516
+ const a = e, l = s, o = M(), d = M(""), c = M(""), u = M(!0), f = M(!1), y = M(!1), p = M(!1), w = M(""), { currentFiles: D, onChangeFile: j, onDeleteFile: B } = $t(
8509
8517
  a.maxSize,
8510
8518
  l,
8511
8519
  a.accept,
8512
8520
  a.validateAcceptFileType
8513
- ), O = N(() => {
8521
+ ), C = N(() => {
8514
8522
  var L;
8515
8523
  return URL.createObjectURL((L = D.value) == null ? void 0 : L[0].file);
8516
8524
  }), b = N(() => {
@@ -8534,7 +8542,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8534
8542
  D.value = L;
8535
8543
  }
8536
8544
  });
8537
- const B = (L) => {
8545
+ const O = (L) => {
8538
8546
  L.preventDefault();
8539
8547
  const A = L.dataTransfer.files;
8540
8548
  j({ target: { files: A } }, a.format === "object");
@@ -8575,7 +8583,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8575
8583
  "show-upload-image-area": e.showUploadImageArea,
8576
8584
  "onUpdate:uploadedImage": E,
8577
8585
  onChange: A[0] || (A[0] = (Q) => r(j)(Q, a.format === "object")),
8578
- onDelete: A[1] || (A[1] = (Q) => r(C)(0))
8586
+ onDelete: A[1] || (A[1] = (Q) => r(B)(0))
8579
8587
  }, null, 8, ["accept", "uploaded-image", "image-classes", "show-upload-image-area"])) : e.isButtonOnly ? (t(), i(P, { key: 1 }, [
8580
8588
  h(r(G), F(e.buttonUploadProps, {
8581
8589
  onClick: A[2] || (A[2] = (Q) => {
@@ -8604,7 +8612,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8604
8612
  key: 0,
8605
8613
  autoplay: "",
8606
8614
  loop: "",
8607
- src: O.value
8615
+ src: C.value
8608
8616
  }, null, 8, Ac)) : (t(), i("img", {
8609
8617
  key: 1,
8610
8618
  src: (de = b.value) == null ? void 0 : de.fileUrl
@@ -8633,7 +8641,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8633
8641
  n("div", {
8634
8642
  class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
8635
8643
  onClick: A[12] || (A[12] = () => {
8636
- r(C)(0), y.value = !1;
8644
+ r(B)(0), y.value = !1;
8637
8645
  })
8638
8646
  }, [
8639
8647
  h(r(T), {
@@ -8693,7 +8701,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8693
8701
  e.isDisabled ? m("", !0) : (t(), i("div", {
8694
8702
  key: 0,
8695
8703
  class: "w-[36px] cursor-pointer flex text-oc-error items-center justify-center",
8696
- onClick: A[16] || (A[16] = (Q) => r(C)(0))
8704
+ onClick: A[16] || (A[16] = (Q) => r(B)(0))
8697
8705
  }, [
8698
8706
  h(r(T), {
8699
8707
  width: "16",
@@ -8734,7 +8742,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8734
8742
  ]]),
8735
8743
  onDragenter: A[8] || (A[8] = (Q) => f.value = !0),
8736
8744
  onDragleave: A[9] || (A[9] = (Q) => f.value = !1),
8737
- onDrop: B,
8745
+ onDrop: O,
8738
8746
  onDragover: A[10] || (A[10] = ce(() => {
8739
8747
  }, ["prevent"]))
8740
8748
  }, [
@@ -8814,10 +8822,10 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8814
8822
  "update:uploadedImages",
8815
8823
  a.uploadedImages.filter((V, z) => z !== p.value)
8816
8824
  ), y.value = !1;
8817
- }, C = (I) => {
8825
+ }, B = (I) => {
8818
8826
  const V = a.uploadedImages[c.value];
8819
8827
  V.fileUrl = I, V.fileName = Date.now(), l("onEditImage", { ...V, index: c.value }), d.value = !1, c.value = "", u.value = {};
8820
- }, O = (I) => {
8828
+ }, C = (I) => {
8821
8829
  let V = a.uploadedImages[c.value];
8822
8830
  Object.keys(I).forEach((z) => {
8823
8831
  V[z] = I[z];
@@ -8829,7 +8837,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8829
8837
  return;
8830
8838
  }
8831
8839
  l("change", I);
8832
- }, B = N(
8840
+ }, O = N(
8833
8841
  () => a.maxImages == null || a.maxImages && a.uploadedImages.length < a.maxImages
8834
8842
  ), g = (I, V) => {
8835
8843
  var z;
@@ -8838,7 +8846,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8838
8846
  }), o[I] = !1, d.value = !0;
8839
8847
  };
8840
8848
  return (I, V) => (t(), i("div", Fc, [
8841
- B.value ? (t(), i("label", Uc, [
8849
+ O.value ? (t(), i("label", Uc, [
8842
8850
  n("div", qc, [
8843
8851
  h(r(T), { name: "plus" })
8844
8852
  ]),
@@ -8864,7 +8872,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8864
8872
  key: E.fileName,
8865
8873
  class: v(["w-[100px] group relative cursor-pointer aspect-square border rounded border-oc-accent-1-100 bg-cover bg-center", {
8866
8874
  "border-oc-primary": e.selectedImage.fileName === E.fileName,
8867
- "col-start-2": L === 0 && B.value
8875
+ "col-start-2": L === 0 && O.value
8868
8876
  }]),
8869
8877
  style: oe(`background-image: url(${E.fileUrl})`),
8870
8878
  onClick: (A) => I.$emit("update:selectedImage", E)
@@ -8951,8 +8959,8 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8951
8959
  onClose: V[2] || (V[2] = () => {
8952
8960
  d.value = !1, c.value = "";
8953
8961
  }),
8954
- onChangeImage: C,
8955
- "onUpdate:inputOptions": O
8962
+ onChangeImage: B,
8963
+ "onUpdate:inputOptions": C
8956
8964
  }, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
8957
8965
  h(r(Au), {
8958
8966
  modelValue: y.value,
@@ -9024,41 +9032,41 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9024
9032
  l.validateAcceptFileType
9025
9033
  );
9026
9034
  $e(() => {
9027
- const C = [];
9028
- l.modelValue.length > 0 && (l.modelValue.forEach((O) => {
9029
- O.current && C.push({
9030
- current: O.current,
9035
+ const B = [];
9036
+ l.modelValue.length > 0 && (l.modelValue.forEach((C) => {
9037
+ C.current && B.push({
9038
+ current: C.current,
9031
9039
  file: null,
9032
- fileName: O.current.caption ?? "",
9040
+ fileName: C.current.caption ?? "",
9033
9041
  progress: 100,
9034
- fileUrl: O.current.path,
9035
- totalSize: O.current.file_size ?? 0,
9042
+ fileUrl: C.current.path,
9043
+ totalSize: C.current.file_size ?? 0,
9036
9044
  isLoaded: !0,
9037
- extension: O.current.extension ?? "png",
9038
- description: O.current.description,
9039
- link: O.current.link,
9040
- caption: O.current.caption,
9041
- caption_variant: O.current.caption_variant,
9042
- lightbox: O.current.lightbox
9045
+ extension: C.current.extension ?? "png",
9046
+ description: C.current.description,
9047
+ link: C.current.link,
9048
+ caption: C.current.caption,
9049
+ caption_variant: C.current.caption_variant,
9050
+ lightbox: C.current.lightbox
9043
9051
  });
9044
- }), f.value = C);
9052
+ }), f.value = B);
9045
9053
  });
9046
- const w = (C) => {
9047
- c.value = !0, y(C);
9048
- }, D = (C) => {
9049
- c.value = !1, p(C);
9054
+ const w = (B) => {
9055
+ c.value = !0, y(B);
9056
+ }, D = (B) => {
9057
+ c.value = !1, p(B);
9050
9058
  }, j = () => {
9051
- var C;
9052
- (C = o.value) == null || C.click();
9059
+ var B;
9060
+ (B = o.value) == null || B.click();
9053
9061
  };
9054
- return (C, O) => (t(), i("div", Qc, [
9062
+ return (B, C) => (t(), i("div", Qc, [
9055
9063
  h(r(ye), {
9056
9064
  label: e.label,
9057
9065
  hint: e.hint,
9058
9066
  "error-message": r(u) ? `File(s) is more than ${e.maxSize}MB` : e.errorMessage
9059
9067
  }, {
9060
9068
  hint: S(() => [
9061
- k(C.$slots, "hint")
9069
+ k(B.$slots, "hint")
9062
9070
  ]),
9063
9071
  default: S(() => [
9064
9072
  e.isImageOnly ? (t(), x(Zc, {
@@ -9070,17 +9078,17 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9070
9078
  "input-options": e.inputOptions,
9071
9079
  "max-images": e.maxImages,
9072
9080
  onChange: r(y),
9073
- "onUpdate:selectedImage": O[0] || (O[0] = (b) => C.$emit("update:selectedImage", b)),
9074
- "onUpdate:uploadedImages": O[1] || (O[1] = (b) => {
9075
- f.value = b, C.$emit("update:modelValue", b);
9081
+ "onUpdate:selectedImage": C[0] || (C[0] = (b) => B.$emit("update:selectedImage", b)),
9082
+ "onUpdate:uploadedImages": C[1] || (C[1] = (b) => {
9083
+ f.value = b, B.$emit("update:modelValue", b);
9076
9084
  }),
9077
- onOnEditImage: O[2] || (O[2] = (b) => C.$emit("onEditFile", b)),
9078
- onOnRemoveImage: O[3] || (O[3] = (b) => C.$emit("onRemoveFile", b)),
9085
+ onOnEditImage: C[2] || (C[2] = (b) => B.$emit("onEditFile", b)),
9086
+ onOnRemoveImage: C[3] || (C[3] = (b) => B.$emit("onRemoveFile", b)),
9079
9087
  onDelete: r(p),
9080
- onOnMaxFileExceed: O[4] || (O[4] = (b) => C.$emit("onMaxFileExceed", b))
9088
+ onOnMaxFileExceed: C[4] || (C[4] = (b) => B.$emit("onMaxFileExceed", b))
9081
9089
  }, {
9082
9090
  action: S((b) => [
9083
- k(C.$slots, "action", {
9091
+ k(B.$slots, "action", {
9084
9092
  item: b.item,
9085
9093
  removeItem: b.removeItem,
9086
9094
  fileIndex: b.i
@@ -9088,7 +9096,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9088
9096
  ]),
9089
9097
  _: 3
9090
9098
  }, 8, ["uploaded-images", "selected-image", "columns-count", "accept", "input-options", "max-images", "onChange", "onDelete"])) : e.isButtonOnly ? (t(), i(P, { key: 1 }, [
9091
- k(C.$slots, "button", { triggerInput: j }, () => [
9099
+ k(B.$slots, "button", { triggerInput: j }, () => [
9092
9100
  h(r(G), F(e.buttonUploadProps, { onClick: j }), null, 16)
9093
9101
  ]),
9094
9102
  n("input", {
@@ -9111,8 +9119,8 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9111
9119
  ]])
9112
9120
  }, [
9113
9121
  n("div", eu, [
9114
- (t(!0), i(P, null, R(r(f), (b, B) => (t(), i("div", {
9115
- key: `${B}-${b.fileName}`,
9122
+ (t(!0), i(P, null, R(r(f), (b, O) => (t(), i("div", {
9123
+ key: `${O}-${b.fileName}`,
9116
9124
  class: "flex justify-between relative items-center w-full last:mb-2"
9117
9125
  }, [
9118
9126
  n("div", tu, [
@@ -9146,7 +9154,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9146
9154
  "on-enable-delete": b.progress === 100 && c.value,
9147
9155
  "opacity-100": !c.value
9148
9156
  }]),
9149
- onClick: (g) => D(B)
9157
+ onClick: (g) => D(O)
9150
9158
  }, null, 8, ["class", "onClick"]))
9151
9159
  ]))), 128))
9152
9160
  ]),
@@ -9168,12 +9176,12 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9168
9176
  type: "file",
9169
9177
  multiple: "",
9170
9178
  accept: e.accept,
9171
- onDragover: O[5] || (O[5] = (b) => d.value = !0),
9172
- onDragleave: O[6] || (O[6] = (b) => d.value = !1),
9173
- onDrop: O[7] || (O[7] = (b) => d.value = !1),
9179
+ onDragover: C[5] || (C[5] = (b) => d.value = !0),
9180
+ onDragleave: C[6] || (C[6] = (b) => d.value = !1),
9181
+ onDrop: C[7] || (C[7] = (b) => d.value = !1),
9174
9182
  onChange: w
9175
9183
  }, null, 40, iu)),
9176
- r(f).length ? e.isDisabled ? m("", !0) : (t(), i("div", uu, O[9] || (O[9] = [
9184
+ r(f).length ? e.isDisabled ? m("", !0) : (t(), i("div", uu, C[9] || (C[9] = [
9177
9185
  n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
9178
9186
  ]))) : (t(), i("div", su, [
9179
9187
  h(r(T), {
@@ -9181,7 +9189,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9181
9189
  class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
9182
9190
  }, null, 8, ["class"]),
9183
9191
  e.labelUploadArea ? (t(), i("div", ru, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), i("div", du, "Upload disabled")) : (t(), i("div", cu, [
9184
- O[8] || (O[8] = n("div", null, "Select documents or drag here", -1)),
9192
+ C[8] || (C[8] = n("div", null, "Select documents or drag here", -1)),
9185
9193
  n("div", null, "File max " + $(e.maxSize) + "MB", 1)
9186
9194
  ]))
9187
9195
  ]))
@@ -9304,15 +9312,15 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9304
9312
  setup(e, { expose: s, emit: a }) {
9305
9313
  const l = a, o = e, d = M(), c = M(), u = async (D) => {
9306
9314
  D != null && D.target && (o.isDisabled || (setTimeout(() => {
9307
- var j, C;
9308
- return (C = (j = d.value) == null ? void 0 : j.popperInstance) == null ? void 0 : C.update();
9315
+ var j, B;
9316
+ return (B = (j = d.value) == null ? void 0 : j.popperInstance) == null ? void 0 : B.update();
9309
9317
  }, 10), l("update:modelValue", !o.modelValue)));
9310
9318
  }, f = (D) => {
9311
9319
  o.isAttachToBody && !o.preventClickOutside && d.value.checkElementIsInsidePopper(D.target) || o.modelValue && !o.preventClickOutside && l("update:modelValue", !1);
9312
9320
  }, y = M(), p = M(0);
9313
9321
  return me(() => o.modelValue, async () => {
9314
- const D = window.innerHeight || document.documentElement.clientHeight, j = y.value.getBoundingClientRect().top, C = D - y.value.getBoundingClientRect().bottom, O = Math.max(j, C), B = O - (2 + (O === j ? 2.5 : 0)) * 16;
9315
- p.value = B > 0 ? B : 0, d.value.popperInstance.update();
9322
+ const D = window.innerHeight || document.documentElement.clientHeight, j = y.value.getBoundingClientRect().top, B = D - y.value.getBoundingClientRect().bottom, C = Math.max(j, B), O = C - (2 + (C === j ? 2.5 : 0)) * 16;
9323
+ p.value = O > 0 ? O : 0, d.value.popperInstance.update();
9316
9324
  }), s({
9317
9325
  dropdownScroll: c,
9318
9326
  toggleDropdown: u,
@@ -9343,7 +9351,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9343
9351
  style: oe({
9344
9352
  maxHeight: (e.maxMenuHeight || p.value) - 68 + "px"
9345
9353
  }),
9346
- onScroll: j[0] || (j[0] = (C) => D.$emit("scroll", C))
9354
+ onScroll: j[0] || (j[0] = (B) => D.$emit("scroll", B))
9347
9355
  }, [
9348
9356
  k(D.$slots, "menu", { isPopoverOpen: e.modelValue }, void 0, !0)
9349
9357
  ], 38), [
@@ -10202,16 +10210,16 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10202
10210
  I[`--grid-${V}-${E}`] = E === "area" ? g(L) : L;
10203
10211
  });
10204
10212
  }), I;
10205
- }), f = (g) => typeof g == "object" ? g[0].key : g, y = (g) => `grid-area: ${f(g)}`, p = N(() => a.class), w = M({}), D = M({}), j = M({}), C = (g) => typeof g == "object" ? g[0].key : g, O = (g) => {
10213
+ }), f = (g) => typeof g == "object" ? g[0].key : g, y = (g) => `grid-area: ${f(g)}`, p = N(() => a.class), w = M({}), D = M({}), j = M({}), B = (g) => typeof g == "object" ? g[0].key : g, C = (g) => {
10206
10214
  a.jsonForm.forEach((I) => {
10207
10215
  var V;
10208
10216
  if (typeof I.name == "object") {
10209
10217
  let z = null;
10210
10218
  I.name.forEach((E) => {
10211
10219
  g[E.key] && (z ? z.push(g[E.key]) : z = [g[E.key]]);
10212
- }), w.value[C(I.name)] = z, B(I);
10220
+ }), w.value[B(I.name)] = z, O(I);
10213
10221
  } else
10214
- (V = I.props) != null && V.parentKey ? (w.value[I.props.parentKey] = g[I.props.parentKey] ?? {}, w.value[I.props.parentKey][I.name] = g[I.props.parentKey][I.name] ?? "") : w.value[I.name] = g[I.name] ?? "", B(I);
10222
+ (V = I.props) != null && V.parentKey ? (w.value[I.props.parentKey] = g[I.props.parentKey] ?? {}, w.value[I.props.parentKey][I.name] = g[I.props.parentKey][I.name] ?? "") : w.value[I.name] = g[I.name] ?? "", O(I);
10215
10223
  });
10216
10224
  }, b = () => {
10217
10225
  a.jsonForm.forEach((g) => {
@@ -10219,21 +10227,21 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10219
10227
  let I = [];
10220
10228
  g.name.forEach((V) => {
10221
10229
  a.errors[V.key] && I.push(a.errors[V.key]);
10222
- }), D.value[C(g.name)] = I.join(",");
10230
+ }), D.value[B(g.name)] = I.join(",");
10223
10231
  } else
10224
10232
  D.value[g.name] = a.errors[g.name] ?? "";
10225
10233
  });
10226
- }, B = (g) => {
10234
+ }, O = (g) => {
10227
10235
  if (g.show_if || g.show_if_preview) {
10228
10236
  let I = g.class ? g.class : "";
10229
- g.show_if ? g.show_if_value !== void 0 ? g.show_if_value !== w.value[g.show_if] && (I = I + " hidden") : g.show_if_not !== void 0 ? g.show_if_not === w.value[g.show_if] && (I = I + " hidden") : g.show_if_min !== void 0 && (isNaN(parseInt(w.value[g.show_if])) ? 1 : parseInt(w.value[g.show_if])) < parseInt(g.show_if_min) && (I = I + " hidden") : g.show_if_preview && (g.show_if_preview_only !== void 0 ? g.show_if_preview_only !== a.previewMode && (I = I + " hidden") : g.show_if_preview_not !== void 0 && g.show_if_preview_not === a.previewMode && (I = I + " hidden")), typeof g.name == "object" ? j.value[C(g.name)] = I : j.value[g.name] = I;
10237
+ g.show_if ? g.show_if_value !== void 0 ? g.show_if_value !== w.value[g.show_if] && (I = I + " hidden") : g.show_if_not !== void 0 ? g.show_if_not === w.value[g.show_if] && (I = I + " hidden") : g.show_if_min !== void 0 && (isNaN(parseInt(w.value[g.show_if])) ? 1 : parseInt(w.value[g.show_if])) < parseInt(g.show_if_min) && (I = I + " hidden") : g.show_if_preview && (g.show_if_preview_only !== void 0 ? g.show_if_preview_only !== a.previewMode && (I = I + " hidden") : g.show_if_preview_not !== void 0 && g.show_if_preview_not === a.previewMode && (I = I + " hidden")), typeof g.name == "object" ? j.value[B(g.name)] = I : j.value[g.name] = I;
10230
10238
  } else
10231
10239
  j.value[g.name] = g.class ? g.class : "";
10232
10240
  };
10233
10241
  return me(
10234
10242
  () => a.values,
10235
10243
  (g) => {
10236
- O(g);
10244
+ C(g);
10237
10245
  },
10238
10246
  {
10239
10247
  deep: !0
@@ -10249,10 +10257,10 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10249
10257
  ), me(
10250
10258
  () => a.previewMode,
10251
10259
  () => {
10252
- O(a.values);
10260
+ C(a.values);
10253
10261
  }
10254
10262
  ), $e(() => {
10255
- O(a.values), b(a.errors);
10263
+ C(a.values), b(a.errors);
10256
10264
  }), (g, I) => Object.values(w.value).length > 0 ? (t(), i("div", {
10257
10265
  key: 0,
10258
10266
  class: v(e.grid ? `responsive-smart-form-grid ${p.value}` : p.value),
@@ -10264,7 +10272,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10264
10272
  key: f(V.name),
10265
10273
  style: oe(e.grid ? y(V.name) : ""),
10266
10274
  class: v([
10267
- V.type !== "Children" ? j.value[typeof V.name == "object" ? C(V.name) : V.name] : "",
10275
+ V.type !== "Children" ? j.value[typeof V.name == "object" ? B(V.name) : V.name] : "",
10268
10276
  V.class
10269
10277
  ])
10270
10278
  }, [
@@ -10272,31 +10280,31 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10272
10280
  key: 0,
10273
10281
  ref_for: !0
10274
10282
  }, V.props, {
10275
- "model-value": (z = V.props) != null && z.parentKey ? (L = (E = w.value) == null ? void 0 : E[V.props.parentKey]) == null ? void 0 : L[V.name] : w.value[typeof V.name == "object" ? C(V.name) : V.name],
10276
- "error-message": D.value[typeof V.name == "object" ? C(V.name) : V.name],
10283
+ "model-value": (z = V.props) != null && z.parentKey ? (L = (E = w.value) == null ? void 0 : E[V.props.parentKey]) == null ? void 0 : L[V.name] : w.value[typeof V.name == "object" ? B(V.name) : V.name],
10284
+ "error-message": D.value[typeof V.name == "object" ? B(V.name) : V.name],
10277
10285
  "onUpdate:modelValue": (X) => o(V, X)
10278
10286
  }), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) : k(g.$slots, V.type, {
10279
10287
  key: 1,
10280
10288
  formId: e.id,
10281
10289
  form: V,
10282
- value: (A = V.props) != null && A.parentKey ? (H = (U = w.value) == null ? void 0 : U[V.props.parentKey]) == null ? void 0 : H[V.name] : w.value[typeof V.name == "object" ? C(V.name) : V.name],
10283
- error: D.value[typeof V.name == "object" ? C(V.name) : V.name],
10290
+ value: (A = V.props) != null && A.parentKey ? (H = (U = w.value) == null ? void 0 : U[V.props.parentKey]) == null ? void 0 : H[V.name] : w.value[typeof V.name == "object" ? B(V.name) : V.name],
10291
+ error: D.value[typeof V.name == "object" ? B(V.name) : V.name],
10284
10292
  onUpdate: o
10285
10293
  })
10286
10294
  ], 6);
10287
10295
  }), 128))
10288
10296
  ], 6)) : m("", !0);
10289
10297
  }
10290
- }, mf = re(() => import("./OcDataTable-Cphz_kXC.js")), ff = re(() => import("./OcFilterSearch-CAtqLMUQ.js")), vf = re(() => import("./OcFilterSearchFor-aHh1RW5g.js")), gf = re(() => import("./OcFilterForm-xHq6bNwj.js")), Ju = re(
10291
- () => import("./OcComplexCalendar-CpKL1i2z.js")
10298
+ }, mf = re(() => import("./OcDataTable-wMV3v19G.js")), ff = re(() => import("./OcFilterSearch-DDKNu88V.js")), vf = re(() => import("./OcFilterSearchFor-DkDyVxGt.js")), gf = re(() => import("./OcFilterForm-CPb10cSx.js")), Ju = re(
10299
+ () => import("./OcComplexCalendar--wMxk0Ve.js")
10292
10300
  ), pf = re(
10293
- () => import("./OcComplexDatePicker-DEMAllM7.js")
10294
- ), it = re(() => import("./OcModalCropper-dpVhWUYH.js")), yf = re(() => import("./OcCropper-CrisQAyp.js")), Zu = re(() => import("./OcDraggable-CA_BCbpl.js")), xf = re(() => import("./OcDraggableList-CENqkOJl.js")), hf = re(() => import("./OcEmojiPicker-DCqDkr4_.js")), bf = re(
10295
- () => import("./ThumbnailTheme-DlZNzDvR.js")
10301
+ () => import("./OcComplexDatePicker-CY85RtqE.js")
10302
+ ), it = re(() => import("./OcModalCropper-DLdsv4-U.js")), yf = re(() => import("./OcCropper-Dw5ATyZV.js")), Zu = re(() => import("./OcDraggable-CA_BCbpl.js")), xf = re(() => import("./OcDraggableList-B-D0GC5V.js")), hf = re(() => import("./OcEmojiPicker-CQn6hsXE.js")), bf = re(
10303
+ () => import("./ThumbnailTheme-B2HFX7j8.js")
10296
10304
  ), wf = re(
10297
- () => import("./ThumbnailSection-Conjl92o.js")
10298
- ), $f = re(() => import("./SubPlanCard-D7teN8lo.js")), kf = re(() => import("./OcTimePopup-CXGhaOev.js")), Qu = re(() => import("./OcTimePicker-J9_JnE7L.js")), Sf = re(
10299
- () => import("./OcAccountSetupProgress-DzfqmlV9.js")
10305
+ () => import("./ThumbnailSection-1yysvbfR.js")
10306
+ ), $f = re(() => import("./SubPlanCard-CLpOv0cw.js")), kf = re(() => import("./OcTimePopup-CXGhaOev.js")), Qu = re(() => import("./OcTimePicker-ju8r0Pwk.js")), Sf = re(
10307
+ () => import("./OcAccountSetupProgress-D5I7E6ID.js")
10300
10308
  );
10301
10309
  export {
10302
10310
  Dm as $,