@orchidui/core 1.6.1-27 → 1.6.1-29

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-mbOD8RXs.js → OcAccountSetupProgress-CjN-GEao.js} +1 -1
  58. package/dist/{OcComplexCalendar-bqJLQ_f1.js → OcComplexCalendar-BaKuUCk-.js} +1 -1
  59. package/dist/{OcComplexDatePicker-7xsHnif7.js → OcComplexDatePicker-CzTXyd8f.js} +1 -1
  60. package/dist/{OcCropper-BIQBBDMg.js → OcCropper-Dogk7ZVH.js} +1 -1
  61. package/dist/{OcDataTable-BJ53ze6V.js → OcDataTable-DSv6mb3F.js} +1 -1
  62. package/dist/{OcDraggableList-CIRr2L7q.js → OcDraggableList-LXK8JQqC.js} +1 -1
  63. package/dist/{OcEmojiPicker-CAzh4Nr7.js → OcEmojiPicker-DIqNIKuz.js} +1 -1
  64. package/dist/{OcFilterForm-otcALXty.js → OcFilterForm-DLcXQID6.js} +1 -1
  65. package/dist/{OcFilterSearch-4UTFikfn.js → OcFilterSearch-CHHFsVn-.js} +1 -1
  66. package/dist/{OcFilterSearchFor-CdgbO1mM.js → OcFilterSearchFor-bDLcVf6h.js} +1 -1
  67. package/dist/{OcModalCropper-B3f3Xbz_.js → OcModalCropper-Cd3F552b.js} +2 -2
  68. package/dist/{OcTimePicker-B-mv-DaH.js → OcTimePicker-DcI4XQG2.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-CqxfYrT7.js → SubPlanCard-B0si_YTq.js} +1 -1
  77. package/dist/{ThumbnailSection-jZKVmIw3.js → ThumbnailSection-DI_O8pPj.js} +1 -1
  78. package/dist/{ThumbnailTheme-NyJTZwPz.js → ThumbnailTheme-hSB0WG8D.js} +1 -1
  79. package/dist/{index-CsbHjN84.js → index-BQ8oZLDi.js} +459 -452
  80. package/dist/index.js +1 -1
  81. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { computed as N, ref as M, onMounted as $e, openBlock as t, createElementBlock as i, normalizeClass as v, renderSlot as k, createCommentVNode as m, createElementVNode as n, createBlock as x, unref as r, Fragment as P, renderList as R, withCtx as S, createTextVNode as W, toDisplayString as $, createVNode as h, resolveDynamicComponent as at, mergeProps as F, normalizeProps as fe, guardReactiveProps as Ie, withModifiers as ce, defineComponent as Z, normalizeStyle as oe, createSlots as ee, useSlots as ht, onBeforeUnmount as Pt, withDirectives as Oe, vShow as Ee, watch as me, onUpdated as Et, nextTick as He, reactive as Nt, Transition as Ae, useAttrs as zt, withKeys as Fe, Teleport as Rt, onUnmounted as Ft, defineAsyncComponent as re } from "vue";
1
+ import { computed as N, ref as M, onMounted as $e, openBlock as t, createElementBlock as i, normalizeClass as v, renderSlot as k, createCommentVNode as m, createElementVNode as n, createBlock as x, unref as r, Fragment as P, renderList as R, withCtx as S, createTextVNode as W, toDisplayString as $, createVNode as h, resolveDynamicComponent as at, mergeProps as F, normalizeProps as fe, guardReactiveProps as Ie, withModifiers as ce, defineComponent as Z, normalizeStyle as oe, createSlots as ee, useSlots as ht, onBeforeUnmount as Pt, withDirectives as Be, vShow as Ee, watch as me, onUpdated as Et, nextTick as He, reactive as Nt, Transition as Ae, useAttrs as zt, withKeys as Fe, Teleport as Rt, onUnmounted as Ft, defineAsyncComponent as re } from "vue";
2
2
  import { S as Ce } from "./OcSkeleton-CvdpGSQR.js";
3
3
  import { _ as T } from "./OcIcon-CJgBICxh.js";
4
4
  import { clickOutside as nt } from "./directives/clickOutside.js";
@@ -69,8 +69,8 @@ const Kt = {
69
69
  l("update:selected", g);
70
70
  }
71
71
  }), p = (g) => {
72
- y.value.find((V) => f.value(V) === f.value(g)) ? y.value = y.value.filter(
73
- (V) => f.value(V) !== f.value(g)
72
+ y.value.find((C) => f.value(C) === f.value(g)) ? y.value = y.value.filter(
73
+ (C) => f.value(C) !== f.value(g)
74
74
  ) : y.value = [...y.value, g];
75
75
  }, w = () => {
76
76
  const g = y.value.length === c.value.length;
@@ -80,8 +80,8 @@ 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
+ }, O = M(!0), V = M(!0), b = M(), B = () => {
84
+ a.isSticky && (O.value = b.value.scrollLeft === 0, V.value = b.value.scrollLeft + b.value.clientWidth === b.value.scrollWidth);
85
85
  };
86
86
  return $e(() => B()), (g, I) => (t(), i("div", {
87
87
  ref_key: "scrollTable",
@@ -120,31 +120,31 @@ const Kt = {
120
120
  "is-checked": y.value.length === c.value.length && y.value.length > 0,
121
121
  onSelectAll: w
122
122
  }, null, 8, ["is-sticky", "class", "is-partial", "is-checked"])) : m("", !0),
123
- (t(!0), i(P, null, R(u.value, (V) => (t(), x(r(rt), {
124
- key: V.key,
125
- text: V.label,
123
+ (t(!0), i(P, null, R(u.value, (C) => (t(), x(r(rt), {
124
+ key: C.key,
125
+ text: C.label,
126
126
  "is-loading": e.isLoading,
127
- variant: V.headerVariant,
127
+ variant: C.headerVariant,
128
128
  "is-sticky": e.isSticky,
129
129
  class: v([[
130
130
  e.isSticky || e.isResponsive ? "flex md:min-h-auto" : "hidden md:flex",
131
- V.stickyLeft && o.value ? "left-[40px] md:left-[32px]" : "left-0",
132
- V.stickyRight ? "right-0" : "",
133
- typeof V.class == "function" ? V.class() : V.class,
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" : ""
131
+ C.stickyLeft && o.value ? "left-[40px] md:left-[32px]" : "left-0",
132
+ C.stickyRight ? "right-0" : "",
133
+ typeof C.class == "function" ? C.class() : C.class,
134
+ C.stickyLeft || C.stickyRight ? "sticky shrink-0 z-10" : "",
135
+ C.stickyLeft && !O.value ? "shadow-right-sticky" : "",
136
+ C.stickyRight && !V.value ? "shadow-left-sticky" : ""
137
137
  ], "md:border-b border-oc-gray-200"])
138
138
  }, {
139
139
  default: S(() => [
140
- k(g.$slots, `header-${V.key}`)
140
+ k(g.$slots, `header-${C.key}`)
141
141
  ]),
142
142
  _: 2
143
143
  }, 1032, ["text", "is-loading", "variant", "is-sticky", "class"]))), 128))
144
144
  ], 2)
145
145
  ]),
146
- e.isLoading ? (t(!0), i(P, { key: 1 }, R(e.loadingRows, (V) => (t(), i("div", {
147
- key: V,
146
+ e.isLoading ? (t(!0), i(P, { key: 1 }, R(e.loadingRows, (C) => (t(), i("div", {
147
+ key: C,
148
148
  class: v(["flex flex-wrap md:flex-nowrap group/row border-oc-gray-200 md:p-0 py-3", {
149
149
  "pl-[40px]": o.value,
150
150
  "border-b": e.isBorderless
@@ -155,16 +155,16 @@ const Kt = {
155
155
  class: "opacity-0 flex justify-center absolute left-0 md:relative w-[5%]"
156
156
  })) : m("", !0),
157
157
  (t(!0), i(P, null, R(u.value, (z, E) => (t(), x(r(Re), {
158
- key: `${E}-${V}`,
158
+ key: `${E}-${C}`,
159
159
  class: v(z.class),
160
160
  "is-loading": "",
161
- "is-last": V === e.loadingRows
161
+ "is-last": C === e.loadingRows
162
162
  }, null, 8, ["class", "is-last"]))), 128))
163
163
  ], 2))), 128)) : (t(), i(P, { key: 2 }, [
164
164
  k(g.$slots, "table-body", {
165
165
  fields: c.value,
166
166
  headers: u.value,
167
- isScrollOnEnd: O.value,
167
+ isScrollOnEnd: V.value,
168
168
  onClickRow: j,
169
169
  isSelectable: o.value,
170
170
  isCursorPointer: d.value,
@@ -173,8 +173,8 @@ const Kt = {
173
173
  rowLink: e.rowLink,
174
174
  calculateRowClass: D.value
175
175
  }, () => [
176
- (t(!0), i(P, null, R(c.value, (V, z) => (t(), i("div", {
177
- key: `${f.value(V)}-${z}`,
176
+ (t(!0), i(P, null, R(c.value, (C, z) => (t(), i("div", {
177
+ key: `${f.value(C)}-${z}`,
178
178
  class: v({
179
179
  "border-b": c.value.length !== z + 1,
180
180
  "w-max": e.isSticky
@@ -187,7 +187,7 @@ const Kt = {
187
187
  "cursor-pointer": d.value
188
188
  },
189
189
  e.isResponsive ? "w-full" : e.isSticky ? "w-max !p-0" : "flex-wrap md:flex-nowrap",
190
- D.value(V, z)
190
+ D.value(C, z)
191
191
  ]])
192
192
  }, [
193
193
  o.value ? (t(), x(r(Re), {
@@ -196,43 +196,43 @@ const Kt = {
196
196
  e.isSticky ? "shrink-0 z-10 left-0 sticky" : "md:relative absolute w-[40px] md:w-[5%]"
197
197
  ]]),
198
198
  "is-last": c.value.length === z + 1,
199
- "is-selected": y.value.some((E) => f.value(E) === f.value(V)),
199
+ "is-selected": y.value.some((E) => f.value(E) === f.value(C)),
200
200
  variant: "checkbox",
201
- onSelected: (E) => p(V),
201
+ onSelected: (E) => p(C),
202
202
  "onHover:field": I[0] || (I[0] = (E) => g.$emit("hover:cell", E))
203
203
  }, null, 8, ["is-last", "is-selected", "class", "onSelected"])) : m("", !0),
204
204
  (t(!0), i(P, null, R(u.value, (E, L) => (t(), x(r(Re), {
205
205
  key: `${L}-${z}`,
206
206
  class: v(["flex border-oc-gray-200", [
207
- typeof E.class == "function" ? E.class(V) : E.class,
207
+ typeof E.class == "function" ? E.class(C) : E.class,
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 && !O.value ? "shadow-right-sticky" : "",
212
+ E.stickyRight && !V.value ? "shadow-left-sticky" : ""
213
213
  ]]),
214
214
  "is-last": c.value.length === z + 1,
215
215
  variant: E.variant,
216
216
  "is-copy": E.isCopy,
217
217
  "add-description-to-copy-clipboard": E.addDescriptionToCopyClipboard ?? !0,
218
- data: V[`${E.key}`] ?? "",
218
+ data: C[`${E.key}`] ?? "",
219
219
  content: {
220
220
  important: E.important ?? !1,
221
- title: V[`${E.title}`],
222
- description: V[`${E.description}`],
223
- href: V[`${E.href}`]
221
+ title: C[`${E.title}`],
222
+ description: C[`${E.description}`],
223
+ href: C[`${E.href}`]
224
224
  },
225
225
  "chip-options": E.chipOptions,
226
226
  "image-class": E.imageClass,
227
- link: e.rowLink && V[e.rowLink] && E.key !== "actions" ? V[e.rowLink] : "",
228
- onClick: (A) => j(V, E),
227
+ link: e.rowLink && C[e.rowLink] && E.key !== "actions" ? C[e.rowLink] : "",
228
+ onClick: (A) => j(C, E),
229
229
  "onHover:field": I[1] || (I[1] = (A) => g.$emit("hover:cell", A))
230
230
  }, {
231
231
  default: S(() => [
232
232
  g.$slots[E.key] ? k(g.$slots, E.key, {
233
233
  key: 0,
234
- item: V,
235
- data: V[E.key],
234
+ item: C,
235
+ data: C[E.key],
236
236
  index: z
237
237
  }) : m("", !0)
238
238
  ]),
@@ -241,7 +241,7 @@ const Kt = {
241
241
  ], 2),
242
242
  g.$slots.extra ? (t(), i("div", Kt, [
243
243
  k(g.$slots, "extra", {
244
- item: V,
244
+ item: C,
245
245
  index: z
246
246
  })
247
247
  ])) : m("", !0)
@@ -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 O, V;
605
605
  return [
606
- (C = d.value) != null && C[D] ? (t(), x(r(le), {
606
+ (O = d.value) != null && O[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($((V = e.row) == null ? void 0 : V[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, O) => ({
680
+ name: O,
681
+ fn: S((V) => [
682
+ k(u.$slots, O, F({ ref_for: !0 }, V))
683
683
  ])
684
684
  }))
685
685
  ]), 1032, ["row", "important", "is-alternative", "is-loading", "headers", "value", "depth"]))), 128))
@@ -1019,7 +1019,7 @@ const Kt = {
1019
1019
  }, $l = {
1020
1020
  key: 0,
1021
1021
  class: "flex flex-col gap-y-3 min-w-[132px]"
1022
- }, kl = { class: "flex flex-col gap-y-px font-medium overflow-hidden" }, Sl = { class: "flex whitespace-nowrap items-start gap-x-3 text-xs text-oc-text-300" }, Cl = { class: "uppercase" }, Vl = { class: "px-3 bg-white text-center w-[175px] rounded py-2 text-oc-text-400 whitespace-break-spaces font-medium" }, Bl = { class: "flex items-center gap-x-2 overflow-hidden" }, Ol = {
1022
+ }, kl = { class: "flex flex-col gap-y-px font-medium overflow-hidden" }, Sl = { class: "flex whitespace-nowrap items-start gap-x-3 text-xs text-oc-text-300" }, Cl = { class: "uppercase" }, Vl = { class: "px-3 bg-white text-center w-[175px] rounded py-2 text-oc-text-400 whitespace-break-spaces font-medium" }, Ol = { class: "flex items-center gap-x-2 overflow-hidden" }, Bl = {
1023
1023
  key: 0,
1024
1024
  class: "flex items-center gap-x-3 overflow-hidden"
1025
1025
  }, Il = { class: "truncate" }, Tl = { class: "flex items-center gap-x-1" }, Dl = { class: "text-oc-text-400 text-sm font-medium cursor-default" }, Al = { class: "px-3 bg-white text-center w-[175px] rounded py-2 text-oc-text-400 whitespace-break-spaces font-medium text-sm" }, Ue = {
@@ -1095,7 +1095,7 @@ const Kt = {
1095
1095
  } : void 0
1096
1096
  ]), 1040)
1097
1097
  ]),
1098
- n("div", Bl, [
1098
+ n("div", Ol, [
1099
1099
  e.isCard ? (t(), x(r(T), {
1100
1100
  key: 0,
1101
1101
  width: "35",
@@ -1107,7 +1107,7 @@ const Kt = {
1107
1107
  k(s.$slots, "content", {}, () => [
1108
1108
  isNaN(e.percentValue) ? (t(), i(P, { key: 1 }, [
1109
1109
  W($(e.content), 1)
1110
- ], 64)) : (t(), i("div", Ol, [
1110
+ ], 64)) : (t(), i("div", Bl, [
1111
1111
  n("div", Il, $(e.content), 1),
1112
1112
  h(r(le), {
1113
1113
  position: "top",
@@ -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, O, V, b, B, g, I, C, 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,10 +1241,10 @@ 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) || "",
1244
+ ((V = (O = e.customer) == null ? void 0 : O.address) == null ? void 0 : V.street) || "",
1245
1245
  ((B = (b = e.customer) == null ? void 0 : b.address) == null ? void 0 : B.city) || "",
1246
1246
  ((I = (g = e.customer) == null ? void 0 : g.address) == null ? void 0 : I.state) || "",
1247
- ((z = (V = e.customer) == null ? void 0 : V.address) == null ? void 0 : z.postal_code) || "",
1247
+ ((z = (C = e.customer) == null ? void 0 : C.address) == null ? void 0 : z.postal_code) || "",
1248
1248
  ((L = (E = e.customer) == null ? void 0 : E.address) == null ? void 0 : L.country) || ""
1249
1249
  ].join(" ").trim() || "-"
1250
1250
  }, null, 8, ["content"]))
@@ -1588,10 +1588,10 @@ const Kt = {
1588
1588
  }, $a = { class: "flex items-center gap-x-4 w-full" }, ka = { class: "flex flex-col flex-1 gap-y-3 overflow-hidden" }, Sa = { class: "flex items-center justify-between" }, Ca = { class: "flex text-sm text-oc-text-400 items-center gap-x-3 overflow-hidden" }, Va = {
1589
1589
  key: 0,
1590
1590
  class: "text-base text-oc-text font-medium truncate"
1591
- }, Ba = {
1591
+ }, Oa = {
1592
1592
  key: 0,
1593
1593
  class: "flex gap-3 shrink-0"
1594
- }, Oa = {
1594
+ }, Ba = {
1595
1595
  key: 0,
1596
1596
  class: "flex flex-col gap-3"
1597
1597
  }, Ia = { class: "text-oc-text-400 flex gap-x-2 items-center text-sm" }, Ta = {
@@ -1638,7 +1638,7 @@ const Kt = {
1638
1638
  k(d.$slots, "title", {}, () => [
1639
1639
  e.title ? (t(), i("span", Va, $(e.title), 1)) : m("", !0)
1640
1640
  ]),
1641
- e.chips.length ? (t(), i("div", Ba, [
1641
+ e.chips.length ? (t(), i("div", Oa, [
1642
1642
  (t(!0), i(P, null, R(e.chips, (u, f) => (t(), x(r(ae), {
1643
1643
  key: f,
1644
1644
  label: u.label,
@@ -1672,7 +1672,7 @@ const Kt = {
1672
1672
  ])
1673
1673
  ]),
1674
1674
  k(d.$slots, "default", {}, () => [
1675
- e.descriptionIcon || e.description || e.details.length ? (t(), i("div", Oa, [
1675
+ e.descriptionIcon || e.description || e.details.length ? (t(), i("div", Ba, [
1676
1676
  n("div", Ia, [
1677
1677
  e.descriptionIcon ? (t(), x(r(T), {
1678
1678
  key: 0,
@@ -1958,7 +1958,7 @@ const Kt = {
1958
1958
  ])
1959
1959
  ])
1960
1960
  ], 2),
1961
- Oe(n("div", un, [
1961
+ Be(n("div", un, [
1962
1962
  k(c.$slots, "content")
1963
1963
  ], 512), [
1964
1964
  [Ee, o.value]
@@ -2196,7 +2196,7 @@ const Kt = {
2196
2196
  }, wn = { key: 0 }, $n = { class: "flex border-oc-gray-200 gap-x-9 justify-between p-5 items-start border-b sticky bg-oc-bg-light top-0" }, kn = { class: "flex flex-col gap-y-1 max-w-[300px]" }, Sn = { class: "text-lg font-medium truncate" }, Cn = { class: "flex gap-3 items-center" }, Vn = {
2197
2197
  key: 0,
2198
2198
  class: "text-sm text-oc-text-300 truncate"
2199
- }, Bn = { class: "flex items-center gap-3" }, On = { class: "p-[6px] rounded cursor-pointer text-oc-gray-500 hover:bg-gray-100 hover:text-oc-text" }, In = { class: "p-2 border-b border-gray-200" }, Tn = {
2199
+ }, On = { class: "flex items-center gap-3" }, Bn = { class: "p-[6px] rounded cursor-pointer text-oc-gray-500 hover:bg-gray-100 hover:text-oc-text" }, In = { class: "p-2 border-b border-gray-200" }, Tn = {
2200
2200
  key: 0,
2201
2201
  class: "p-2"
2202
2202
  }, Vm = {
@@ -2265,7 +2265,7 @@ const Kt = {
2265
2265
  ])
2266
2266
  ])
2267
2267
  ]),
2268
- n("div", Bn, [
2268
+ n("div", On, [
2269
2269
  e.dropdownOptions ? (t(), x(r(ie), F({
2270
2270
  key: 0,
2271
2271
  modelValue: a.value,
@@ -2289,7 +2289,7 @@ const Kt = {
2289
2289
  ])) : m("", !0)
2290
2290
  ]),
2291
2291
  default: S(() => [
2292
- n("div", On, [
2292
+ n("div", Bn, [
2293
2293
  h(r(T), {
2294
2294
  name: "dots-vertical",
2295
2295
  width: "20",
@@ -2326,7 +2326,7 @@ const Kt = {
2326
2326
  }, Ln = {
2327
2327
  key: 2,
2328
2328
  class: "w-[24px] h-[24px] min-w-[24px] text-oc-text-300 text-sm font-medium flex items-center justify-center border rounded-full border-oc-gray-200"
2329
- }, Pn = { class: "flex flex-col gap-y-1" }, En = { class: "font-medium" }, Nn = { class: "text-oc-text-300 text-sm" }, Bm = /* @__PURE__ */ Z({
2329
+ }, Pn = { class: "flex flex-col gap-y-1" }, En = { class: "font-medium" }, Nn = { class: "text-oc-text-300 text-sm" }, Om = /* @__PURE__ */ Z({
2330
2330
  __name: "OcOnboardingListItem",
2331
2331
  props: {
2332
2332
  title: {
@@ -2382,7 +2382,7 @@ const Kt = {
2382
2382
  ])
2383
2383
  ]));
2384
2384
  }
2385
- }), Om = {
2385
+ }), Bm = {
2386
2386
  __name: "OcAccordion",
2387
2387
  props: {
2388
2388
  header: {
@@ -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((O) => O.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) => {
2595
+ }, w = (O) => {
2596
2596
  var B;
2597
- const O = C === "left" ? --u.value : ++u.value, b = (B = a.tabs[O]) == null ? void 0 : B.value;
2597
+ const V = O === "left" ? --u.value : ++u.value, b = (B = a.tabs[V]) == null ? void 0 : B.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 O = a.tabs.findIndex((V) => V.value === a.modelValue);
2601
+ O > -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 = O;
2604
+ const V = {};
2605
+ y.value ? V.top = O * vt : V.left = O * ft, (b = d.value) == null || b.scroll({
2606
+ ...V,
2607
2607
  behavior: "smooth"
2608
2608
  });
2609
2609
  });
2610
- }, j = (C) => {
2611
- a.isDisabled || c("update:modelValue", C);
2610
+ }, j = (O) => {
2611
+ a.isDisabled || c("update:modelValue", O);
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
+ ), (O, V) => (t(), i("div", {
2629
2629
  id: "test",
2630
2630
  ref_key: "tabsContainer",
2631
2631
  ref: d,
@@ -2646,7 +2646,7 @@ 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: V[0] || (V[0] = ce((b) => w("left"), ["prevent"]))
2650
2650
  }, null, 8, ["name"])
2651
2651
  ], 2)) : m("", !0),
2652
2652
  n("div", {
@@ -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(O.$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: V[1] || (V[1] = (b) => w("right"))
2692
2692
  }, null, 8, ["name"])
2693
2693
  ], 2)) : m("", !0)
2694
2694
  ], 2));
@@ -3093,7 +3093,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3093
3093
  }, ko = { class: "flex flex-col gap-y-3" }, So = { class: "flex items-center justify-between gap-x-3" }, Co = { class: "text-xl leading-[24px] font-medium" }, Vo = {
3094
3094
  key: 0,
3095
3095
  class: "flex gap-x-6 text-sm text-oc-text-400 py-4 whitespace-nowrap items-center"
3096
- }, Bo = { class: "overflow-hidden text-ellipsis" }, Oo = /* @__PURE__ */ Z({
3096
+ }, Oo = { class: "overflow-hidden text-ellipsis" }, Bo = /* @__PURE__ */ Z({
3097
3097
  __name: "OcMobilePageTitle",
3098
3098
  props: {
3099
3099
  title: { type: String },
@@ -3148,7 +3148,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3148
3148
  }, 16)) : m("", !0)
3149
3149
  ]),
3150
3150
  e.description ? (t(), i("div", Vo, [
3151
- n("span", Bo, $(e.description), 1),
3151
+ n("span", Oo, $(e.description), 1),
3152
3152
  h(r(Me), {
3153
3153
  class: "shrink-0",
3154
3154
  value: e.description
@@ -3236,7 +3236,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3236
3236
  }, null, 8, ["primary-button-props", "secondary-button-props"])
3237
3237
  ])
3238
3238
  ], 2),
3239
- e.isMobileCombineButtons ? (t(), x(Oo, {
3239
+ e.isMobileCombineButtons ? (t(), x(Bo, {
3240
3240
  key: 1,
3241
3241
  "secondary-button-props": e.secondaryButtonProps,
3242
3242
  "primary-button-props": e.primaryButtonProps,
@@ -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 O, V;
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, $((V = (O = e.primaryActions) == null ? void 0 : O.mainLinkAction) == null ? void 0 : V.tooltipContent), 1)
3304
3304
  ];
3305
3305
  }),
3306
3306
  default: S(() => {
3307
- var C, O;
3307
+ var O, V;
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: (V = (O = e.primaryActions) == null ? void 0 : O.mainLinkAction) == null ? void 0 : V.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, (O, V) => {
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: V }, [
3325
+ (b = e.primaryActions) != null && b.mainLinkAction || V > 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, $(O != null && O.isCopyButton ? o.value ? y.value : f.value : O.tooltipContent), 1)
3333
3333
  ]),
3334
3334
  default: S(() => [
3335
- C != null && C.isCopyButton ? (t(), x(r(T), {
3335
+ O != null && O.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", O.class ?? ""]),
3343
+ name: O.icon,
3344
+ onClick: O.onClick
3345
3345
  }, null, 8, ["name", "class", "onClick"]))
3346
3346
  ]),
3347
3347
  _: 2
@@ -3355,15 +3355,15 @@ 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] = (O) => c.value = O),
3359
3359
  distance: 6
3360
3360
  }, {
3361
3361
  menu: S(() => {
3362
- var C, O, b;
3362
+ var O, V, 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 }, [
3366
+ (t(!0), i(P, null, R((O = e.primaryActions.dropdownOptions) == null ? void 0 : O.top, (B, g) => (t(), i(P, { key: g }, [
3367
3367
  B != null && B.isCopyButton ? (t(), x(r(xe), {
3368
3368
  key: 0,
3369
3369
  icon: o.value ? "check" : "copy",
@@ -3378,7 +3378,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3378
3378
  }), null, 16))
3379
3379
  ], 64))), 128))
3380
3380
  ]),
3381
- (O = e.primaryActions.dropdownOptions) != null && O.bottom ? (t(), i("div", Eo, [
3381
+ (V = e.primaryActions.dropdownOptions) != null && V.bottom ? (t(), i("div", Eo, [
3382
3382
  (t(!0), i(P, null, R((b = e.primaryActions.dropdownOptions) == null ? void 0 : b.bottom, (B, g) => (t(), i("div", { key: g }, [
3383
3383
  B != null && B.tooltipText ? (t(), x(r(le), {
3384
3384
  key: 0,
@@ -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 O;
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 && ((O = D.children) == null ? void 0 : O.some((V) => V.active)),
3557
+ "is-expanded": e.isExpanded,
3558
+ "is-menu-expanded": o.expanded.includes(D.name),
3559
+ onClick: (V) => c(D),
3560
+ onCloseMenu: (V) => d(D.name)
3561
+ }, {
3562
+ default: S(() => [
3563
+ (t(!0), i(P, null, R(D.children, (V, b) => (t(), x(r(wi), {
3564
+ key: b,
3565
+ icon: V.icon,
3566
+ label: V.label,
3567
+ "is-active": V.active,
3568
+ "is-expanded": e.isExpanded,
3569
+ onClick: (B) => f.$emit("redirect", V)
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)
@@ -3915,7 +3918,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
3915
3918
  placement: "right-start",
3916
3919
  strategy: "fixed"
3917
3920
  });
3918
- }), (u, f) => Oe((t(), i("div", vi, [
3921
+ }), (u, f) => Be((t(), i("div", vi, [
3919
3922
  h(r(le), {
3920
3923
  position: "right",
3921
3924
  "arrow-hidden": "",
@@ -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)
@@ -4053,7 +4056,7 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
4053
4056
  ])
4054
4057
  ]));
4055
4058
  }
4056
- }, Vi = { class: "relative" }, Bi = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, Oi = { class: "py-2 px-3 gap-x-3 flex items-center" }, Ii = { class: "text-oc-accent-2 flex-1 font-medium" }, Ti = { class: "flex items-center gap-x-2" }, Di = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Hm = {
4059
+ }, Vi = { class: "relative" }, Oi = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, Bi = { class: "py-2 px-3 gap-x-3 flex items-center" }, Ii = { class: "text-oc-accent-2 flex-1 font-medium" }, Ti = { class: "flex items-center gap-x-2" }, Di = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Hm = {
4057
4060
  __name: "OcSidebarFeatureBanners",
4058
4061
  props: {
4059
4062
  isStacked: {
@@ -4072,8 +4075,8 @@ const Pm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-c
4072
4075
  setup(e) {
4073
4076
  return (s, a) => (t(), i("div", Vi, [
4074
4077
  a[2] || (a[2] = n("div", { class: "border absolute top-2 left-0 w-full h-[calc(100%-4px)] border-oc-gray-200 rounded pt-2" }, null, -1)),
4075
- n("div", Bi, [
4076
- n("div", Oi, [
4078
+ n("div", Oi, [
4079
+ n("div", Bi, [
4077
4080
  h(r(T), {
4078
4081
  name: "sparkle-2",
4079
4082
  class: "text-oc-accent-2"
@@ -4947,7 +4950,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
4947
4950
  ]);
4948
4951
  };
4949
4952
  }
4950
- }, Gm = /* @__PURE__ */ he(Vs, [["__scopeId", "data-v-d658d1d3"]]), Bs = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, Os = { class: "text-sm" }, Xm = /* @__PURE__ */ Z({
4953
+ }, Gm = /* @__PURE__ */ he(Vs, [["__scopeId", "data-v-d658d1d3"]]), Os = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, Bs = { class: "text-sm" }, Xm = /* @__PURE__ */ Z({
4951
4954
  __name: "OcSandboxBanner",
4952
4955
  props: {
4953
4956
  title: {
@@ -4960,8 +4963,8 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
4960
4963
  }
4961
4964
  },
4962
4965
  setup(e) {
4963
- return (s, a) => (t(), i("div", Bs, [
4964
- n("span", Os, $(e.title), 1),
4966
+ return (s, a) => (t(), i("div", Os, [
4967
+ n("span", Bs, $(e.title), 1),
4965
4968
  e.chipProps ? (t(), x(r(ae), F({
4966
4969
  key: 0,
4967
4970
  class: "absolute left-[40px]"
@@ -5163,7 +5166,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5163
5166
  }
5164
5167
  ), (y, p) => (t(), x(Ae, { name: e.transitionName }, {
5165
5168
  default: S(() => [
5166
- Oe(n("div", {
5169
+ Be(n("div", {
5167
5170
  ref_key: "snackBar",
5168
5171
  ref: d,
5169
5172
  class: v([[
@@ -5296,7 +5299,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5296
5299
  });
5297
5300
  return (l, o) => (t(), x(Ae, { name: e.transitionName }, {
5298
5301
  default: S(() => [
5299
- Oe(n("div", {
5302
+ Be(n("div", {
5300
5303
  class: v([r(a)[e.color], "border rounded-lg banner relative overflow-hidden"])
5301
5304
  }, [
5302
5305
  n("div", {
@@ -5399,12 +5402,7 @@ 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(["flex items-center text-sm font-medium gap-x-3 text-oc-text-400", [
5403
- e.labelClass,
5404
- {
5405
- "!text-oc-error": e.errorMessage
5406
- }
5407
- ]])
5405
+ class: v(["flex items-center text-sm font-medium gap-x-3 text-oc-text-400", e.labelClass])
5408
5406
  }, [
5409
5407
  n("span", Zs, [
5410
5408
  W($(e.label) + " ", 1),
@@ -5501,9 +5499,9 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5501
5499
  e.isAdditionalArea ? "rounded-l-[inherit]" : "rounded-[inherit]"
5502
5500
  ]]),
5503
5501
  disabled: e.isDisabled || e.isLoading,
5504
- onMousedown: j[0] || (j[0] = (C) => a.value = !0),
5505
- onMouseup: j[1] || (j[1] = (C) => a.value = !1),
5506
- onMouseleave: j[2] || (j[2] = (C) => a.value = !1)
5502
+ onMousedown: j[0] || (j[0] = (O) => a.value = !0),
5503
+ onMouseup: j[1] || (j[1] = (O) => a.value = !1),
5504
+ onMouseleave: j[2] || (j[2] = (O) => a.value = !1)
5507
5505
  }, [
5508
5506
  e.isLoading ? (t(), x(r(T), {
5509
5507
  key: 0,
@@ -5531,7 +5529,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5531
5529
  e.isAdditionalArea && !e.isTransparent ? (t(), i("div", {
5532
5530
  key: 0,
5533
5531
  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]]),
5534
- onClick: j[3] || (j[3] = ce((C) => D.$emit("addition-click"), ["stop"]))
5532
+ onClick: j[3] || (j[3] = ce((O) => D.$emit("addition-click"), ["stop"]))
5535
5533
  }, [
5536
5534
  k(D.$slots, "additional-content", {}, () => [
5537
5535
  h(r(T), {
@@ -5738,7 +5736,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
5738
5736
  class: v({ "!w-fit": !e.isBlock }),
5739
5737
  "model-value": d(D.value),
5740
5738
  "is-button-variant": e.isButtonVariant,
5741
- "onUpdate:modelValue": (C) => c(D.value)
5739
+ "onUpdate:modelValue": (O) => c(D.value)
5742
5740
  }, null, 8, ["label", "value", "is-error", "is-disabled", "class", "model-value", "is-button-variant", "onUpdate:modelValue"]))), 128))
5743
5741
  ], 2)
5744
5742
  ]),
@@ -6033,15 +6031,15 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6033
6031
  },
6034
6032
  setup(e, { expose: s, emit: a }) {
6035
6033
  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) => {
6036
- d.value = d.value.filter((C) => C !== j), o("option-removed", j), o("update:modelValue", d.value);
6034
+ d.value = d.value.filter((O) => O !== j), o("option-removed", j), o("update:modelValue", d.value);
6037
6035
  }, D = (j) => {
6038
6036
  if (!(j != null && j.trim()))
6039
6037
  return;
6040
- const C = (j == null ? void 0 : j.split(",")) || [];
6041
- C.forEach((O) => {
6038
+ const O = (j == null ? void 0 : j.split(",")) || [];
6039
+ O.forEach((V) => {
6042
6040
  var b;
6043
- O != null && O.trim() && (!l.allowDuplicated && ((b = d.value) != null && b.includes(O)) || (d.value.push(O), o("option-added", O)));
6044
- }), C.length && (u.value = "", o("update:modelValue", d.value));
6041
+ V != null && V.trim() && (!l.allowDuplicated && ((b = d.value) != null && b.includes(V)) || (d.value.push(V), o("option-added", V)));
6042
+ }), O.length && (u.value = "", o("update:modelValue", d.value));
6045
6043
  };
6046
6044
  return me(
6047
6045
  () => l.modelValue,
@@ -6054,7 +6052,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6054
6052
  }
6055
6053
  ), s({
6056
6054
  focus: () => c.value.focus()
6057
- }), (j, C) => (t(), x(r(ye), {
6055
+ }), (j, O) => (t(), x(r(ye), {
6058
6056
  label: e.isInlineLabel ? "" : e.label,
6059
6057
  hint: e.hint,
6060
6058
  "error-message": e.errorMessage,
@@ -6064,13 +6062,13 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6064
6062
  "tooltip-options": e.tooltipOptions
6065
6063
  }, {
6066
6064
  default: S(() => {
6067
- var O, b;
6065
+ var V, b;
6068
6066
  return [
6069
6067
  n("div", gr, [
6070
6068
  e.isInlineLabel && e.label ? (t(), i("label", pr, $(e.label) + ": ", 1)) : m("", !0),
6071
6069
  n("div", {
6072
6070
  class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
6073
- onClick: C[4] || (C[4] = (B) => c.value.focus())
6071
+ onClick: O[4] || (O[4] = (B) => c.value.focus())
6074
6072
  }, [
6075
6073
  n("div", {
6076
6074
  class: v(["border min-h-[36px] py-3 w-full px-3 flex justify-between items-center cursor-pointer gap-x-3 rounded", {
@@ -6092,7 +6090,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6092
6090
  d.value.length > e.maxVisibleOptions ? (t(), x(r(ae), {
6093
6091
  key: 0,
6094
6092
  variant: "gray",
6095
- onClick: C[0] || (C[0] = (B) => f.value = !f.value)
6093
+ onClick: O[0] || (O[0] = (B) => f.value = !f.value)
6096
6094
  }, {
6097
6095
  default: S(() => [
6098
6096
  f.value ? (t(), x(r(T), {
@@ -6111,14 +6109,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6111
6109
  type: "text",
6112
6110
  value: u.value,
6113
6111
  readonly: e.isReadonly,
6114
- placeholder: ((O = p.value) == null ? void 0 : O.length) === 0 ? e.placeholder : "",
6112
+ placeholder: ((V = p.value) == null ? void 0 : V.length) === 0 ? e.placeholder : "",
6115
6113
  disabled: e.isDisabled,
6116
6114
  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]"]),
6117
- onFocus: C[1] || (C[1] = (B) => y.value = !0),
6118
- onBlur: C[2] || (C[2] = (B) => {
6115
+ onFocus: O[1] || (O[1] = (B) => y.value = !0),
6116
+ onBlur: O[2] || (O[2] = (B) => {
6119
6117
  console.log("$event: ", B), y.value = !1, j.$emit("blur", B);
6120
6118
  }),
6121
- onKeyup: C[3] || (C[3] = Fe((B) => D(B.target.value), ["enter"]))
6119
+ onKeyup: O[3] || (O[3] = Fe((B) => D(B.target.value), ["enter"]))
6122
6120
  }, null, 42, hr)
6123
6121
  ])
6124
6122
  ], 2)
@@ -6183,13 +6181,13 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6183
6181
  }, w = (B) => {
6184
6182
  l("update:modelValue", [p(d.value), B]);
6185
6183
  }, D = (B, g, I = null) => {
6186
- var V;
6187
- d.value = B.toLowerCase(), l("update:modelValue", [g, I || ((V = a.modelValue) == null ? void 0 : V[1]) || ""]), c.value = !1;
6188
- }, j = M(null), C = M([]), O = () => {
6184
+ var C;
6185
+ d.value = B.toLowerCase(), l("update:modelValue", [g, I || ((C = a.modelValue) == null ? void 0 : C[1]) || ""]), c.value = !1;
6186
+ }, j = M(null), O = M([]), V = () => {
6189
6187
  setTimeout(() => {
6190
6188
  const B = f.value.indexOf(
6191
6189
  y(d.value)
6192
- ), I = C.value[B].offsetTop;
6190
+ ), I = O.value[B].offsetTop;
6193
6191
  j.value.scrollTo(0, I - 60, { behavior: "smooth" });
6194
6192
  }, 10);
6195
6193
  }, b = (B) => {
@@ -6197,10 +6195,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6197
6195
  try {
6198
6196
  if (g.search(/[^0-9]/g) < 0)
6199
6197
  if (g = g.slice(0, 19), g.length > 5 && a.shouldParseCountryCode) {
6200
- const { nationalNumber: I, countryCallingCode: V, country: z } = Wt(
6198
+ const { nationalNumber: I, countryCallingCode: C, country: z } = Wt(
6201
6199
  "+" + g.replace("+", "")
6202
6200
  );
6203
- V && z ? D(z, V, I) : l("update:modelValue", [p(d.value), I]);
6201
+ C && z ? D(z, C, I) : l("update:modelValue", [p(d.value), I]);
6204
6202
  } else
6205
6203
  l("update:modelValue", [p(d.value), g]);
6206
6204
  } catch {
@@ -6230,8 +6228,8 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6230
6228
  h(r(ie), {
6231
6229
  modelValue: c.value,
6232
6230
  "onUpdate:modelValue": [
6233
- g[3] || (g[3] = (V) => c.value = V),
6234
- O
6231
+ g[3] || (g[3] = (C) => c.value = C),
6232
+ V
6235
6233
  ],
6236
6234
  distance: 10,
6237
6235
  placement: "bottom-start"
@@ -6245,7 +6243,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6245
6243
  n("div", $r, [
6246
6244
  h(r(pe), {
6247
6245
  modelValue: u.value,
6248
- "onUpdate:modelValue": g[0] || (g[0] = (V) => u.value = V),
6246
+ "onUpdate:modelValue": g[0] || (g[0] = (C) => u.value = C),
6249
6247
  icon: "search",
6250
6248
  placeholder: "Search",
6251
6249
  onKeydown: g[1] || (g[1] = ce(() => {
@@ -6262,22 +6260,22 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6262
6260
  _: 1
6263
6261
  }, 8, ["modelValue"])
6264
6262
  ]),
6265
- (t(!0), i(P, null, R(f.value, (V, z) => (t(), i("div", {
6263
+ (t(!0), i(P, null, R(f.value, (C, z) => (t(), i("div", {
6266
6264
  ref_for: !0,
6267
6265
  ref_key: "countryListItemRef",
6268
- ref: C,
6266
+ ref: O,
6269
6267
  key: z,
6270
6268
  class: v([
6271
6269
  "py-3 px-4 flex gap-x-4 items-center hover:bg-oc-gray-50 cursor-pointer",
6272
- d.value === V.iso.toLowerCase() ? "bg-oc-gray-50 font-medium" : ""
6270
+ d.value === C.iso.toLowerCase() ? "bg-oc-gray-50 font-medium" : ""
6273
6271
  ]),
6274
- onClick: (E) => D(V.iso, V.code)
6272
+ onClick: (E) => D(C.iso, C.code)
6275
6273
  }, [
6276
6274
  n("div", {
6277
- class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${V.iso.toLowerCase()}`])
6275
+ class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${C.iso.toLowerCase()}`])
6278
6276
  }, null, 2),
6279
- n("span", Sr, "+" + $(V.code), 1),
6280
- n("span", Cr, $(V.country), 1)
6277
+ n("span", Sr, "+" + $(C.code), 1),
6278
+ n("span", Cr, $(C.country), 1)
6281
6279
  ], 10, kr))), 128))
6282
6280
  ], 512)
6283
6281
  ]),
@@ -6302,7 +6300,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6302
6300
  }, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
6303
6301
  };
6304
6302
  }
6305
- }, Br = ["id", "value", "checked", "name", "disabled"], Or = ["for"], Ir = {
6303
+ }, Or = ["id", "value", "checked", "name", "disabled"], Br = ["for"], Ir = {
6306
6304
  key: 0,
6307
6305
  class: "px-3 py-2 whitespace-nowrap"
6308
6306
  }, Tr = {
@@ -6343,7 +6341,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6343
6341
  class: "radio-button__input absolute opacity-0 w-0 h-0",
6344
6342
  type: "radio",
6345
6343
  onInput: a[0] || (a[0] = (l) => s.$emit("update:modelValue", l.target.value))
6346
- }, null, 40, Br),
6344
+ }, null, 40, Or),
6347
6345
  n("label", {
6348
6346
  for: e.groupName + e.id,
6349
6347
  class: v(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
@@ -6388,7 +6386,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6388
6386
  ]),
6389
6387
  _: 3
6390
6388
  }, 16)) : m("", !0)
6391
- ], 10, Or)
6389
+ ], 10, Br)
6392
6390
  ]),
6393
6391
  _: 3
6394
6392
  }, 8, ["class", "error-message", "hint"]));
@@ -6661,7 +6659,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6661
6659
  } else
6662
6660
  ((A = H.label) != null && A.toLowerCase().includes(d.value.toLowerCase()) || (U = H.subLabel) != null && U.toLowerCase().includes(d.value.toLowerCase())) && L.push(H);
6663
6661
  return L;
6664
- }), C = N(() => {
6662
+ }), O = N(() => {
6665
6663
  if (l.multiple) {
6666
6664
  let L = [];
6667
6665
  if (l.modelValue)
@@ -6676,14 +6674,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6676
6674
  var A;
6677
6675
  return L.value.toString() === ((A = l.modelValue) == null ? void 0 : A.toString());
6678
6676
  });
6679
- }), O = (L) => {
6677
+ }), V = (L) => {
6680
6678
  var U;
6681
6679
  if (L.isDisabled)
6682
6680
  return;
6683
6681
  let A;
6684
6682
  if (l.multiple) {
6685
6683
  const H = (l.modelValue || []).find((X) => X === L.value);
6686
- if (!H && l.maxOptionAllowed && ((U = C.value) == null ? void 0 : U.length) >= Number(l.maxOptionAllowed)) {
6684
+ if (!H && l.maxOptionAllowed && ((U = O.value) == null ? void 0 : U.length) >= Number(l.maxOptionAllowed)) {
6687
6685
  o("max-option-allowed-set");
6688
6686
  return;
6689
6687
  }
@@ -6714,7 +6712,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6714
6712
  (A = u.value) == null || A.focus();
6715
6713
  });
6716
6714
  });
6717
- const I = M("100%"), V = N(() => ({ maxWidth: I.value })), z = () => {
6715
+ const I = M("100%"), C = N(() => ({ maxWidth: I.value })), z = () => {
6718
6716
  var L, A, U, H;
6719
6717
  o("toggle"), I.value = (A = (L = g.value) == null ? void 0 : L.$el) != null && A.offsetWidth ? `${(H = (U = g.value) == null ? void 0 : U.$el) == null ? void 0 : H.offsetWidth}px` : "100%", setTimeout(() => {
6720
6718
  var de;
@@ -6769,7 +6767,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6769
6767
  distance: 4,
6770
6768
  "popper-class": "w-full",
6771
6769
  placement: "bottom-end",
6772
- "popper-style": V.value,
6770
+ "popper-style": C.value,
6773
6771
  "popper-options": e.popperOptions,
6774
6772
  "is-disabled": e.isDisabled || e.isReadonly,
6775
6773
  "menu-classes": e.menuClasses,
@@ -6783,7 +6781,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6783
6781
  ref: p,
6784
6782
  class: "flex flex-col gap-y-2"
6785
6783
  }, [
6786
- e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), i("div", Fr, [
6784
+ e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && O.value ? (t(), i("div", Fr, [
6787
6785
  h(r(pe), {
6788
6786
  ref_key: "searchInputRef",
6789
6787
  ref: u,
@@ -6805,7 +6803,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6805
6803
  }, 8, ["modelValue", "placeholder"])
6806
6804
  ])) : m("", !0),
6807
6805
  n("div", {
6808
- class: v(["flex px-3 pb-3 flex-col gap-y-2", { "pt-3": !e.isFilterable || e.isInlineSearch && !C.value }])
6806
+ class: v(["flex px-3 pb-3 flex-col gap-y-2", { "pt-3": !e.isFilterable || e.isInlineSearch && !O.value }])
6809
6807
  }, [
6810
6808
  e.isCheckboxes && e.isSelectAll && j.value.length && e.multiple ? (t(), x(r(gt), {
6811
6809
  key: 0,
@@ -6819,7 +6817,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6819
6817
  k(L.$slots, "default", {
6820
6818
  key: w.value,
6821
6819
  fOptions: j.value,
6822
- selectOption: O
6820
+ selectOption: V
6823
6821
  }, () => [
6824
6822
  (t(!0), i(P, null, R(j.value, (H) => (t(), x(r(gt), {
6825
6823
  ref_for: !0,
@@ -6831,7 +6829,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6831
6829
  "is-disabled": H.isDisabled,
6832
6830
  "is-checkboxes": e.isCheckboxes,
6833
6831
  "is-selected": e.multiple ? e.modelValue ? e.modelValue.find((X) => X === H.value) !== void 0 : !1 : e.modelValue === H.value,
6834
- onClick: (X) => O(H)
6832
+ onClick: (X) => V(H)
6835
6833
  }, null, 8, ["label", "sub-label", "is-disabled", "is-checkboxes", "is-selected", "onClick"]))), 128))
6836
6834
  ]),
6837
6835
  k(L.$slots, "infinite-scrolling"),
@@ -6875,7 +6873,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6875
6873
  }, [
6876
6874
  e.multiple ? (t(), i("div", Pr, [
6877
6875
  k(L.$slots, "selection", {}, () => [
6878
- (t(!0), i(P, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), x(r(ae), F({
6876
+ (t(!0), i(P, null, R(e.maxVisibleOptions ? O.value.slice(0, e.maxVisibleOptions) : O.value, (U) => (t(), x(r(ae), F({
6879
6877
  key: U.value,
6880
6878
  closable: "",
6881
6879
  variant: U.variant,
@@ -6885,14 +6883,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6885
6883
  "should-truncate-chip": "",
6886
6884
  onRemove: (H) => b(U.value)
6887
6885
  }), null, 16, ["variant", "label", "onRemove"]))), 128)),
6888
- e.maxVisibleOptions && C.value.length > e.maxVisibleOptions ? (t(), x(r(ae), {
6886
+ e.maxVisibleOptions && O.value.length > e.maxVisibleOptions ? (t(), x(r(ae), {
6889
6887
  key: 0,
6890
- label: `+${C.value.length - e.maxVisibleOptions}`
6888
+ label: `+${O.value.length - e.maxVisibleOptions}`
6891
6889
  }, null, 8, ["label"])) : m("", !0)
6892
6890
  ]),
6893
- C.value.length === 0 ? (t(), i("span", Er, $(e.placeholder), 1)) : m("", !0)
6891
+ O.value.length === 0 ? (t(), i("span", Er, $(e.placeholder), 1)) : m("", !0)
6894
6892
  ])) : m("", !0),
6895
- e.isInlineSearch && e.isFilterable && !C.value ? (t(), x(r(pe), {
6893
+ e.isInlineSearch && e.isFilterable && !O.value ? (t(), x(r(pe), {
6896
6894
  key: 1,
6897
6895
  modelValue: d.value,
6898
6896
  "onUpdate:modelValue": [
@@ -6922,7 +6920,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
6922
6920
  height: "16"
6923
6921
  }, null, 8, ["name"])) : m("", !0),
6924
6922
  e.isInlineLabel && e.label ? (t(), i("span", zr, $(e.label) + ": ", 1)) : m("", !0),
6925
- C.value ? (t(), i("span", Rr, $(C.value.label), 1)) : (t(), i("span", {
6923
+ O.value ? (t(), i("span", Rr, $(O.value.label), 1)) : (t(), i("span", {
6926
6924
  key: 3,
6927
6925
  class: v(e.dropdownClasses ? "" : "text-oc-text-300")
6928
6926
  }, $(e.placeholder), 3))
@@ -7035,16 +7033,22 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
7035
7033
  k(s.$slots, "default")
7036
7034
  ]));
7037
7035
  }
7038
- }, Xr = { class: "flex text-oc-text-400 items-center gap-x-2" }, Jr = {
7036
+ }, Xr = { class: "flex items-center text-oc-text-400 gap-x-2" }, Jr = {
7039
7037
  key: 0,
7040
- class: "flex flex-col p-2 py-3 gap-2"
7038
+ class: "flex flex-col gap-2 p-2 py-3"
7041
7039
  }, Zr = ["onClick"], Qr = {
7042
7040
  __name: "OcLinkInput",
7043
7041
  props: {
7044
7042
  placeholder: String,
7045
7043
  hint: String,
7046
7044
  label: String,
7047
- errorMessage: String,
7045
+ errorMessages: {
7046
+ type: Object,
7047
+ default: () => ({
7048
+ link: "",
7049
+ title: ""
7050
+ })
7051
+ },
7048
7052
  isInlineLabel: Boolean,
7049
7053
  isDisabled: Boolean,
7050
7054
  modelValue: String,
@@ -7078,8 +7082,8 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
7078
7082
  "update:title": []
7079
7083
  },
7080
7084
  setup(e, { emit: s }) {
7081
- var C, O;
7082
- 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(
7085
+ var O, V;
7086
+ const a = e, l = s, o = M(!1), d = M(a.type ?? ((V = (O = a.links) == null ? void 0 : O[0]) == null ? void 0 : V.value)), c = M(a.title ?? ""), u = N(
7083
7087
  () => a.links.find((b) => b.value === d.value) ?? {}
7084
7088
  ), f = N(() => u.value.preFill ?? ""), y = M(a.modelValue ? a.modelValue.replace(f.value, "") : ""), p = (b) => {
7085
7089
  var g;
@@ -7088,78 +7092,81 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
7088
7092
  }, w = (b) => {
7089
7093
  y.value = b, l("update:modelValue", f.value + b), !a.isEdit && d.value !== "link" && l("update:title", b);
7090
7094
  }, D = N(() => u.value.placeholder ?? ""), j = N(() => d.value === "link");
7091
- return (b, B) => (t(), i("div", null, [
7092
- j.value || e.isEdit ? (t(), x(r(pe), {
7093
- key: 0,
7094
- modelValue: c.value,
7095
- "onUpdate:modelValue": [
7096
- B[0] || (B[0] = (g) => c.value = g),
7097
- B[1] || (B[1] = (g) => b.$emit("update:title", g))
7098
- ],
7099
- class: "mb-3",
7100
- label: "Title",
7101
- placeholder: "Title",
7102
- "error-message": e.errorMessage ? " " : ""
7103
- }, null, 8, ["modelValue", "error-message"])) : m("", !0),
7104
- h(r(pe), {
7105
- placeholder: D.value,
7106
- label: d.value === "link" ? "Link" : e.label,
7107
- "error-message": e.errorMessage,
7108
- "is-inline-label": e.isInlineLabel,
7109
- disabled: e.isDisabled,
7110
- hint: e.hint,
7111
- "pre-fill": f.value,
7112
- "model-value": y.value,
7113
- "is-required": e.isRequired,
7114
- "label-icon": e.labelIcon,
7115
- "tooltip-text": e.tooltipText,
7116
- "tooltip-options": e.tooltipOptions,
7117
- "onUpdate:modelValue": w
7118
- }, {
7119
- trailing: S(() => [
7120
- h(r(ie), {
7121
- modelValue: o.value,
7122
- "onUpdate:modelValue": B[2] || (B[2] = (g) => o.value = g),
7123
- distance: 10
7124
- }, {
7125
- menu: S(() => [
7126
- e.isEdit ? m("", !0) : (t(), i("div", Jr, [
7127
- (t(!0), i(P, null, R(e.links, (g) => (t(), i("div", {
7128
- key: g.value,
7129
- class: "flex rounded-sm items-center px-3 py-2 gap-x-3 cursor-pointer text-oc-text-400 hover:bg-gray-50",
7130
- onClick: (I) => p(g.value)
7131
- }, [
7132
- h(r(T), {
7095
+ return (b, B) => {
7096
+ var g, I;
7097
+ return t(), i("div", null, [
7098
+ j.value || e.isEdit ? (t(), x(r(pe), {
7099
+ key: 0,
7100
+ modelValue: c.value,
7101
+ "onUpdate:modelValue": [
7102
+ B[0] || (B[0] = (C) => c.value = C),
7103
+ B[1] || (B[1] = (C) => b.$emit("update:title", C))
7104
+ ],
7105
+ class: "mb-3",
7106
+ label: "Title",
7107
+ placeholder: "Title",
7108
+ "error-message": (g = e.errorMessages) != null && g.title ? " " : ""
7109
+ }, null, 8, ["modelValue", "error-message"])) : m("", !0),
7110
+ h(r(pe), {
7111
+ placeholder: D.value,
7112
+ label: d.value === "link" ? "Link" : e.label,
7113
+ "error-message": (I = e.errorMessages) != null && I.link ? " " : "",
7114
+ "is-inline-label": e.isInlineLabel,
7115
+ disabled: e.isDisabled,
7116
+ hint: e.hint,
7117
+ "pre-fill": f.value,
7118
+ "model-value": y.value,
7119
+ "is-required": e.isRequired,
7120
+ "label-icon": e.labelIcon,
7121
+ "tooltip-text": e.tooltipText,
7122
+ "tooltip-options": e.tooltipOptions,
7123
+ "onUpdate:modelValue": w
7124
+ }, {
7125
+ trailing: S(() => [
7126
+ h(r(ie), {
7127
+ modelValue: o.value,
7128
+ "onUpdate:modelValue": B[2] || (B[2] = (C) => o.value = C),
7129
+ distance: 10
7130
+ }, {
7131
+ menu: S(() => [
7132
+ e.isEdit ? m("", !0) : (t(), i("div", Jr, [
7133
+ (t(!0), i(P, null, R(e.links, (C) => (t(), i("div", {
7134
+ key: C.value,
7135
+ class: "flex items-center px-3 py-2 rounded-sm cursor-pointer gap-x-3 text-oc-text-400 hover:bg-gray-50",
7136
+ onClick: (z) => p(C.value)
7137
+ }, [
7138
+ h(r(T), {
7139
+ width: "20",
7140
+ height: "20",
7141
+ name: C.icon
7142
+ }, null, 8, ["name"]),
7143
+ W(" " + $(C.label), 1)
7144
+ ], 8, Zr))), 128))
7145
+ ]))
7146
+ ]),
7147
+ default: S(() => [
7148
+ n("div", Xr, [
7149
+ u.value.icon ? (t(), x(r(T), {
7150
+ key: 0,
7133
7151
  width: "20",
7134
7152
  height: "20",
7135
- name: g.icon
7136
- }, null, 8, ["name"]),
7137
- W(" " + $(g.label), 1)
7138
- ], 8, Zr))), 128))
7139
- ]))
7140
- ]),
7141
- default: S(() => [
7142
- n("div", Xr, [
7143
- u.value.icon ? (t(), x(r(T), {
7144
- key: 0,
7145
- width: "20",
7146
- height: "20",
7147
- name: u.value.icon
7148
- }, null, 8, ["name"])) : m("", !0),
7149
- h(r(T), {
7150
- width: "16",
7151
- height: "16",
7152
- class: v(["transition duration-300", o.value ? "-rotate-180" : ""]),
7153
- name: "chevron-down"
7154
- }, null, 8, ["class"])
7155
- ])
7156
- ]),
7157
- _: 1
7158
- }, 8, ["modelValue"])
7159
- ]),
7160
- _: 1
7161
- }, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
7162
- ]));
7153
+ name: u.value.icon
7154
+ }, null, 8, ["name"])) : m("", !0),
7155
+ h(r(T), {
7156
+ width: "16",
7157
+ height: "16",
7158
+ class: v(["transition duration-300", o.value ? "-rotate-180" : ""]),
7159
+ name: "chevron-down"
7160
+ }, null, 8, ["class"])
7161
+ ])
7162
+ ]),
7163
+ _: 1
7164
+ }, 8, ["modelValue"])
7165
+ ]),
7166
+ _: 1
7167
+ }, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
7168
+ ]);
7169
+ };
7163
7170
  }
7164
7171
  }, _r = ["disabled", "value", "rows", "placeholder"], ed = "18px", td = {
7165
7172
  __name: "OcTextArea",
@@ -7243,8 +7250,8 @@ var Vt = { exports: {} };
7243
7250
  });
7244
7251
  })(Vt);
7245
7252
  var ld = Vt.exports;
7246
- const Bt = /* @__PURE__ */ We(ld);
7247
- var Ot = { exports: {} };
7253
+ const Ot = /* @__PURE__ */ We(ld);
7254
+ var Bt = { exports: {} };
7248
7255
  (function(e, s) {
7249
7256
  (function(a, l) {
7250
7257
  e.exports = l();
@@ -7255,8 +7262,8 @@ var Ot = { exports: {} };
7255
7262
  };
7256
7263
  };
7257
7264
  });
7258
- })(Ot);
7259
- var ad = Ot.exports;
7265
+ })(Bt);
7266
+ var ad = Bt.exports;
7260
7267
  const It = /* @__PURE__ */ We(ad);
7261
7268
  var Tt = { exports: {} };
7262
7269
  (function(e, s) {
@@ -7295,13 +7302,13 @@ var At = { exports: {} };
7295
7302
  }, j = function(b, B) {
7296
7303
  var g, I = f.meridiem;
7297
7304
  if (I) {
7298
- for (var V = 1; V <= 24; V += 1) if (b.indexOf(I(V, 0, B)) > -1) {
7299
- g = V > 12;
7305
+ for (var C = 1; C <= 24; C += 1) if (b.indexOf(I(C, 0, B)) > -1) {
7306
+ g = C > 12;
7300
7307
  break;
7301
7308
  }
7302
7309
  } else g = b === (B ? "pm" : "PM");
7303
7310
  return g;
7304
- }, C = { A: [u, function(b) {
7311
+ }, O = { A: [u, function(b) {
7305
7312
  this.afternoon = j(b, !1);
7306
7313
  }], a: [u, function(b) {
7307
7314
  this.afternoon = j(b, !0);
@@ -7329,7 +7336,7 @@ var At = { exports: {} };
7329
7336
  }], Y: [/[+-]?\d+/, p("year")], YY: [d, function(b) {
7330
7337
  this.year = y(b);
7331
7338
  }], YYYY: [/\d{4}/, p("year")], Z: w, ZZ: w };
7332
- function O(b) {
7339
+ function V(b) {
7333
7340
  var B, g;
7334
7341
  B = b, g = f && f.formats;
7335
7342
  for (var I = (b = B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, X, te) {
@@ -7337,12 +7344,12 @@ var At = { exports: {} };
7337
7344
  return X || g[te] || a[te] || g[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ne, de, ve) {
7338
7345
  return de || ve.slice(1);
7339
7346
  });
7340
- })).match(l), V = I.length, z = 0; z < V; z += 1) {
7341
- var E = I[z], L = C[E], A = L && L[0], U = L && L[1];
7347
+ })).match(l), C = I.length, z = 0; z < C; z += 1) {
7348
+ var E = I[z], L = O[E], A = L && L[0], U = L && L[1];
7342
7349
  I[z] = U ? { regex: A, parser: U } : E.replace(/^\[|\]$/g, "");
7343
7350
  }
7344
7351
  return function(H) {
7345
- for (var X = {}, te = 0, _ = 0; te < V; te += 1) {
7352
+ for (var X = {}, te = 0, _ = 0; te < C; te += 1) {
7346
7353
  var ne = I[te];
7347
7354
  if (typeof ne == "string") _ += ne.length;
7348
7355
  else {
@@ -7361,7 +7368,7 @@ var At = { exports: {} };
7361
7368
  }
7362
7369
  return function(b, B, g) {
7363
7370
  g.p.customParseFormat = !0, b && b.parseTwoDigitYear && (y = b.parseTwoDigitYear);
7364
- var I = B.prototype, V = I.parse;
7371
+ var I = B.prototype, C = I.parse;
7365
7372
  I.parse = function(z) {
7366
7373
  var E = z.date, L = z.utc, A = z.args;
7367
7374
  this.$u = L;
@@ -7371,9 +7378,9 @@ var At = { exports: {} };
7371
7378
  X && (_ = A[2]), f = this.$locale(), !H && _ && (f = g.Ls[_]), this.$d = function(be, we, ge, ke) {
7372
7379
  try {
7373
7380
  if (["x", "X"].indexOf(we) > -1) return new Date((we === "X" ? 1e3 : 1) * be);
7374
- 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;
7381
+ var se = V(we)(be), Ve = se.year, Se = se.month, Q = se.day, Oe = 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;
7375
7382
  Ve && !Se || (Ne = Se > 0 ? Se - 1 : Ke.getMonth());
7376
- var ze, Je = Be || 0, Ze = q || 0, Qe = J || 0, _e = Y || 0;
7383
+ var ze, Je = Oe || 0, Ze = q || 0, Qe = J || 0, _e = Y || 0;
7377
7384
  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);
7378
7385
  } catch {
7379
7386
  return /* @__PURE__ */ new Date("");
@@ -7388,7 +7395,7 @@ var At = { exports: {} };
7388
7395
  }
7389
7396
  de === ne && (this.$d = /* @__PURE__ */ new Date(""));
7390
7397
  }
7391
- else V.call(this, z);
7398
+ else C.call(this, z);
7392
7399
  };
7393
7400
  };
7394
7401
  });
@@ -7435,7 +7442,7 @@ function lt(e) {
7435
7442
  var s = typeof e;
7436
7443
  return e != null && (s == "object" || s == "function");
7437
7444
  }
7438
- var yt = NaN, Sd = /^[-+]0x[0-9a-f]+$/i, Cd = /^0b[01]+$/i, Vd = /^0o[0-7]+$/i, Bd = parseInt;
7445
+ var yt = NaN, Sd = /^[-+]0x[0-9a-f]+$/i, Cd = /^0b[01]+$/i, Vd = /^0o[0-7]+$/i, Od = parseInt;
7439
7446
  function xt(e) {
7440
7447
  if (typeof e == "number")
7441
7448
  return e;
@@ -7449,24 +7456,24 @@ function xt(e) {
7449
7456
  return e === 0 ? e : +e;
7450
7457
  e = kd(e);
7451
7458
  var a = Cd.test(e);
7452
- return a || Vd.test(e) ? Bd(e.slice(2), a ? 2 : 8) : Sd.test(e) ? yt : +e;
7459
+ return a || Vd.test(e) ? Od(e.slice(2), a ? 2 : 8) : Sd.test(e) ? yt : +e;
7453
7460
  }
7454
7461
  var et = function() {
7455
7462
  return Mt.Date.now();
7456
- }, Od = "Expected a function", Id = Math.max, Td = Math.min;
7463
+ }, Bd = "Expected a function", Id = Math.max, Td = Math.min;
7457
7464
  function Dd(e, s, a) {
7458
7465
  var l, o, d, c, u, f, y = 0, p = !1, w = !1, D = !0;
7459
7466
  if (typeof e != "function")
7460
- throw new TypeError(Od);
7467
+ throw new TypeError(Bd);
7461
7468
  s = xt(s) || 0, lt(a) && (p = !!a.leading, w = "maxWait" in a, d = w ? Id(xt(a.maxWait) || 0, s) : d, D = "trailing" in a ? !!a.trailing : D);
7462
7469
  function j(E) {
7463
7470
  var L = l, A = o;
7464
7471
  return l = o = void 0, y = E, c = e.apply(A, L), c;
7465
7472
  }
7466
- function C(E) {
7473
+ function O(E) {
7467
7474
  return y = E, u = setTimeout(B, s), p ? j(E) : c;
7468
7475
  }
7469
- function O(E) {
7476
+ function V(E) {
7470
7477
  var L = E - f, A = E - y, U = s - L;
7471
7478
  return w ? Td(U, d - A) : U;
7472
7479
  }
@@ -7478,7 +7485,7 @@ function Dd(e, s, a) {
7478
7485
  var E = et();
7479
7486
  if (b(E))
7480
7487
  return g(E);
7481
- u = setTimeout(B, O(E));
7488
+ u = setTimeout(B, V(E));
7482
7489
  }
7483
7490
  function g(E) {
7484
7491
  return u = void 0, D && l ? j(E) : (l = o = void 0, c);
@@ -7486,20 +7493,20 @@ function Dd(e, s, a) {
7486
7493
  function I() {
7487
7494
  u !== void 0 && clearTimeout(u), y = 0, l = f = o = u = void 0;
7488
7495
  }
7489
- function V() {
7496
+ function C() {
7490
7497
  return u === void 0 ? c : g(et());
7491
7498
  }
7492
7499
  function z() {
7493
7500
  var E = et(), L = b(E);
7494
7501
  if (l = arguments, o = this, f = E, L) {
7495
7502
  if (u === void 0)
7496
- return C(f);
7503
+ return O(f);
7497
7504
  if (w)
7498
7505
  return clearTimeout(u), u = setTimeout(B, s), j(f);
7499
7506
  }
7500
7507
  return u === void 0 && (u = setTimeout(B, s)), c;
7501
7508
  }
7502
- return z.cancel = I, z.flush = V, z;
7509
+ return z.cancel = I, z.flush = C, z;
7503
7510
  }
7504
7511
  const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex flex-col gap-2 p-3" }, jd = { class: "flex justify-between items-center" }, Ld = { key: 0 }, Pd = { key: 1 }, Ed = {
7505
7512
  key: 0,
@@ -7546,13 +7553,13 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7546
7553
  },
7547
7554
  emits: ["update:modelValue", "reset-calendar", "update:isIndefinite"],
7548
7555
  setup(e, { emit: s }) {
7549
- K.extend(Bt), K.extend(It), K.extend(Dt), K.extend(ot);
7550
- 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(() => {
7556
+ K.extend(Ot), K.extend(It), K.extend(Dt), K.extend(ot);
7557
+ 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), O = M(!1), V = N(() => a.type === "range"), b = N(() => {
7551
7558
  const J = o.value.endOf("month").date();
7552
7559
  return Array.from({ length: J }, (Y, ue) => ue + 1);
7553
7560
  }), B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], g = N(() => o.value.format("MMMM YYYY")), I = N(
7554
7561
  () => j.value ? y.value.format("YYYY") : o.value.format("YYYY")
7555
- ), V = N(() => o.value.format("MMM")), z = N(() => {
7562
+ ), C = N(() => o.value.format("MMM")), z = N(() => {
7556
7563
  const q = d.value, J = c.value ?? p.value, Y = [q, J];
7557
7564
  return J && (q != null && q.isAfter(J)) && Y.reverse(), {
7558
7565
  from: Y[0],
@@ -7575,7 +7582,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7575
7582
  }, X = () => {
7576
7583
  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;
7577
7584
  }, te = (q) => {
7578
- p.value = null, o.value = o.value.set("month", q), C.value = !1;
7585
+ p.value = null, o.value = o.value.set("month", q), O.value = !1;
7579
7586
  }, _ = (q) => {
7580
7587
  p.value = null, o.value = o.value.set("year", q), j.value = !1;
7581
7588
  }, ne = () => {
@@ -7583,11 +7590,11 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7583
7590
  }, de = () => {
7584
7591
  p.value = null, j.value ? y.value = y.value.add(11, "year") : o.value = o.value.add(1, "year");
7585
7592
  }, ve = () => {
7586
- j.value = !1, C.value = !C.value;
7593
+ j.value = !1, O.value = !O.value;
7587
7594
  }, be = (q) => {
7588
7595
  const J = o.value.date(q);
7589
7596
  return Object.values(z.value).filter(Boolean).find((Y) => Y.isSame(J));
7590
- }, we = (q) => O.value ? E.value ? o.value.date(q).isBetween(
7597
+ }, we = (q) => V.value ? E.value ? o.value.date(q).isBetween(
7591
7598
  z.value.from,
7592
7599
  z.value.to,
7593
7600
  null,
@@ -7596,14 +7603,14 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7596
7603
  const J = o.value.date(q);
7597
7604
  return a.disabledDate(J.toDate()) || a.minDate && J.isBefore(K(a.minDate), "day") || a.maxDate && J.isAfter(K(a.maxDate), "day");
7598
7605
  }, ke = () => {
7599
- O.value && (ge(d.value.toDate()) || ge(c.value.toDate())) || (D.value = !1, l(
7606
+ V.value && (ge(d.value.toDate()) || ge(c.value.toDate())) || (D.value = !1, l(
7600
7607
  "update:modelValue",
7601
- O.value ? [z.value.from, z.value.to].map((q) => q.toDate()) : d.value.toDate()
7608
+ V.value ? [z.value.from, z.value.to].map((q) => q.toDate()) : d.value.toDate()
7602
7609
  ));
7603
7610
  }, se = (q) => {
7604
7611
  l("update:isIndefinite", q);
7605
7612
  }, Ve = (q, J = !0) => {
7606
- if (!O.value) {
7613
+ if (!V.value) {
7607
7614
  let ue = K(g.value, "MMMM YYYY").date(q);
7608
7615
  u.value = q, d.value = ue, f.value = null, c.value = null, ke();
7609
7616
  return;
@@ -7618,9 +7625,9 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7618
7625
  D.value && Ve(q, !1);
7619
7626
  }, 50), Q = () => {
7620
7627
  var J, Y, ue;
7621
- const q = O.value ? (J = a.modelValue) == null ? void 0 : J[0] : a.modelValue;
7622
- 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);
7623
- }, Be = (q) => {
7628
+ const q = V.value ? (J = a.modelValue) == null ? void 0 : J[0] : a.modelValue;
7629
+ o.value = K(q), y.value = K(q), d.value = q && o.value, u.value = q && d.value.date(), !(!V.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);
7630
+ }, Oe = (q) => {
7624
7631
  const J = q + 11, Y = [];
7625
7632
  for (; q <= J; )
7626
7633
  Y.push(q++);
@@ -7631,8 +7638,8 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7631
7638
  }, [
7632
7639
  n("div", Ad, [
7633
7640
  h(r(ie), {
7634
- modelValue: C.value,
7635
- "onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
7641
+ modelValue: O.value,
7642
+ "onUpdate:modelValue": J[1] || (J[1] = (Y) => O.value = Y),
7636
7643
  distance: 10,
7637
7644
  position: "bottom",
7638
7645
  "is-popover": "",
@@ -7660,7 +7667,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7660
7667
  })
7661
7668
  ]),
7662
7669
  j.value ? (t(), i("div", Ed, [
7663
- (t(!0), i(P, null, R(Be(I.value - 11), (Y) => (t(), i("div", {
7670
+ (t(!0), i(P, null, R(Oe(I.value - 11), (Y) => (t(), i("div", {
7664
7671
  key: Y,
7665
7672
  class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
7666
7673
  "!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
@@ -7671,7 +7678,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7671
7678
  (t(), i(P, null, R(B, (Y, ue) => n("div", {
7672
7679
  key: Y,
7673
7680
  class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
7674
- "!border-oc-primary bg-oc-primary text-white": V.value === Y
7681
+ "!border-oc-primary bg-oc-primary text-white": C.value === Y
7675
7682
  }]),
7676
7683
  onClick: (je) => te(ue)
7677
7684
  }, $(Y), 11, Rd)), 64))
@@ -7712,7 +7719,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7712
7719
  class: v(["w-9 rounded-full flex cursor-pointer items-center relative justify-center h-9", [
7713
7720
  be(Y) ? "bg-oc-primary text-white" : "hover:bg-oc-primary-50-tr",
7714
7721
  ge(Y) ? "pointer-events-none opacity-[.35]" : "",
7715
- O.value ? {
7722
+ V.value ? {
7716
7723
  ...we(Y) && {
7717
7724
  "before:bg-oc-primary-50-tr before:px-3 before:w-[calc(100%+0.5rem)] before:h-full before:absolute": !0,
7718
7725
  "before:rounded-l-full before:left-0 before:!w-[calc(100%+0.25rem)]": z.value.from.isSame(o.value.date(Y)),
@@ -7749,7 +7756,7 @@ const Ad = { class: "flex items-center justify-between" }, Md = { class: "flex f
7749
7756
  ], 2));
7750
7757
  }
7751
7758
  };
7752
- K.extend(Bt);
7759
+ K.extend(Ot);
7753
7760
  K.extend(It);
7754
7761
  K.extend(Dt);
7755
7762
  K.extend(ot);
@@ -7863,11 +7870,11 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7863
7870
  return ((I) => I.get("month") === K().get("month"))(B);
7864
7871
  }, j = (b) => {
7865
7872
  d.value = b, a("update:modelValue", b ? "Indefinite" : null);
7866
- }, C = (b, B) => {
7873
+ }, O = (b, B) => {
7867
7874
  var I;
7868
7875
  const g = K(b, l.dateFormat, !0);
7869
7876
  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);
7870
- }, O = () => {
7877
+ }, V = () => {
7871
7878
  if (u.value.length) {
7872
7879
  if (c.value = !1, u.value.some((b) => !K(b, l.dateFormat).isValid())) {
7873
7880
  c.value = !0, u.value = [];
@@ -7892,13 +7899,13 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7892
7899
  updateCalendar: p,
7893
7900
  resetCalendar: w
7894
7901
  }, () => {
7895
- var I, V;
7902
+ var I, C;
7896
7903
  return [
7897
7904
  f.value ? (t(), x(r(Ju), {
7898
7905
  key: 0,
7899
7906
  "model-value": {
7900
7907
  start: (I = e.modelValue) == null ? void 0 : I[0],
7901
- end: (V = e.modelValue) == null ? void 0 : V[1]
7908
+ end: (C = e.modelValue) == null ? void 0 : C[1]
7902
7909
  },
7903
7910
  shortcuts: e.shortcuts,
7904
7911
  "count-calendars": e.countCalendars,
@@ -7966,9 +7973,9 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7966
7973
  placeholder: "Start date",
7967
7974
  value: y.value[0] ? y.value[0].format(e.dateFormat) : "",
7968
7975
  class: "text-center bg-transparent outline-0 w-full placeholder:text-oc-text-300",
7969
- onInput: B[0] || (B[0] = (g) => C(g.target.value, 0)),
7970
- onKeydown: Fe(O, ["enter"]),
7971
- onBlur: O
7976
+ onInput: B[0] || (B[0] = (g) => O(g.target.value, 0)),
7977
+ onKeydown: Fe(V, ["enter"]),
7978
+ onBlur: V
7972
7979
  }, null, 40, Jd)
7973
7980
  ]),
7974
7981
  B[4] || (B[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
@@ -7977,9 +7984,9 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
7977
7984
  placeholder: "End date",
7978
7985
  value: y.value[1] ? y.value[1].format(e.dateFormat) : "",
7979
7986
  class: "text-center bg-transparent outline-0 w-full placeholder:text-oc-text-300",
7980
- onInput: B[1] || (B[1] = (g) => C(g.target.value, 1)),
7981
- onKeydown: Fe(O, ["enter"]),
7982
- onBlur: O
7987
+ onInput: B[1] || (B[1] = (g) => O(g.target.value, 1)),
7988
+ onKeydown: Fe(V, ["enter"]),
7989
+ onBlur: V
7983
7990
  }, null, 40, Qd),
7984
7991
  h(r(T), {
7985
7992
  class: v([y.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
@@ -8036,26 +8043,26 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8036
8043
  },
8037
8044
  setup(e, { expose: s, emit: a }) {
8038
8045
  const l = e, o = a, d = M(), c = M(), u = M(), f = M(0), y = M(0), p = () => {
8039
- var O, b;
8040
- 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();
8046
+ var V, b;
8047
+ l.type === "range" && parseInt((V = c.value) == null ? void 0 : V.value) - parseInt((b = d.value) == null ? void 0 : b.value) <= l.minGap && (d.value.value = parseInt(c.value.value) - l.minGap), D();
8041
8048
  }, w = () => {
8042
- var O, b, B;
8043
- 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();
8044
- }, D = (O = !1) => {
8049
+ var V, b, B;
8050
+ parseInt((V = c.value) == null ? void 0 : V.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();
8051
+ }, D = (V = !1) => {
8045
8052
  var b, B, g, I;
8046
- 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(
8053
+ 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}%)`, V || o(
8047
8054
  "update:modelValue",
8048
8055
  l.type === "range" ? [(g = d.value) == null ? void 0 : g.value, (I = c.value) == null ? void 0 : I.value] : d.value.value
8049
8056
  );
8050
- }, j = (O) => {
8051
- O.key >= "0" && O.key <= "9" || O.key === "Backspace" || O.preventDefault();
8052
- }, C = (O) => {
8053
- 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);
8057
+ }, j = (V) => {
8058
+ V.key >= "0" && V.key <= "9" || V.key === "Backspace" || V.preventDefault();
8059
+ }, O = (V) => {
8060
+ V && V[0] && V[1] && l.type === "range" ? (d.value.value = Number(V[0]), c.value.value = Number(V[1]), p(), l.type === "range" && w()) : V && l.type === "default" ? V <= l.maxLimit && V >= l.minLimit && (d.value.value = Number(V), p()) : D(!0);
8054
8061
  };
8055
8062
  return s({
8056
- updateSlider: C
8057
- }), $e(() => C()), (O, b) => {
8058
- var B, g, I, V;
8063
+ updateSlider: O
8064
+ }), $e(() => O()), (V, b) => {
8065
+ var B, g, I, C;
8059
8066
  return t(), i("div", ec, [
8060
8067
  e.label ? (t(), i("label", tc, [
8061
8068
  n("span", lc, $(e.label), 1)
@@ -8099,14 +8106,14 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8099
8106
  key: 2,
8100
8107
  class: "group-hover:block absolute top-[1rem] z-[1] translate-x-1/2 rounded-sm py-[3px] px-[6px] min-w-[28px] bg-oc-text-500 text-center text-white text-sm font-medium leading-[20px]",
8101
8108
  style: oe(`right: ${100 - y.value}%`)
8102
- }, $((V = e.modelValue) == null ? void 0 : V[1]), 5)) : m("", !0),
8109
+ }, $((C = e.modelValue) == null ? void 0 : C[1]), 5)) : m("", !0),
8103
8110
  n("span", oc, [
8104
- k(O.$slots, "min-limit-label", {}, () => [
8111
+ k(V.$slots, "min-limit-label", {}, () => [
8105
8112
  W($(e.minLimit), 1)
8106
8113
  ], !0)
8107
8114
  ]),
8108
8115
  n("span", ic, [
8109
- k(O.$slots, "max-limit-label", {}, () => [
8116
+ k(V.$slots, "max-limit-label", {}, () => [
8110
8117
  W($(e.maxLimit), 1)
8111
8118
  ], !0)
8112
8119
  ])
@@ -8117,7 +8124,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8117
8124
  "model-value": e.modelValue,
8118
8125
  placeholder: "10",
8119
8126
  onKeydown: j,
8120
- "onUpdate:modelValue": C
8127
+ "onUpdate:modelValue": O
8121
8128
  }, null, 8, ["model-value"])) : m("", !0)
8122
8129
  ])
8123
8130
  ]);
@@ -8451,10 +8458,10 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8451
8458
  ]);
8452
8459
  };
8453
8460
  }
8454
- }), Vc = ["accept"], Bc = {
8461
+ }), Vc = ["accept"], Oc = {
8455
8462
  key: 0,
8456
8463
  class: "py-2 flex flex-col items-center gap-y-4"
8457
- }, Oc = { class: "flex items-baseline gap-x-3 w-full" }, Ic = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, Tc = ["accept"], Dc = {
8464
+ }, Bc = { class: "flex items-baseline gap-x-3 w-full" }, Ic = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, Tc = ["accept"], Dc = {
8458
8465
  key: 0,
8459
8466
  class: "relative group w-fit rounded overflow-hidden"
8460
8467
  }, Ac = ["src"], Mc = ["src"], jc = { class: "py-2 flex flex-col" }, Lc = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400" }, Pc = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, Ec = { class: "uppercase text-[8px] font-bold leading-none block" }, Nc = { class: "flex" }, zc = { class: "text-sm text-oc-primary" }, Rc = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, of = {
@@ -8510,12 +8517,12 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8510
8517
  "invalidFileType"
8511
8518
  ],
8512
8519
  setup(e, { emit: s }) {
8513
- 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(
8520
+ 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: O } = $t(
8514
8521
  a.maxSize,
8515
8522
  l,
8516
8523
  a.accept,
8517
8524
  a.validateAcceptFileType
8518
- ), O = N(() => {
8525
+ ), V = N(() => {
8519
8526
  var L;
8520
8527
  return URL.createObjectURL((L = D.value) == null ? void 0 : L[0].file);
8521
8528
  }), b = N(() => {
@@ -8547,7 +8554,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8547
8554
  !d.value || !c.value || l("update:modelValue", { fileName: c, fileLink: d });
8548
8555
  }, I = (L) => {
8549
8556
  b.value.fileUrl = L, b.value.fileName = Date.now(), p.value = !1, w.value = "", l("update:modelValue", a.format === "object" ? b.value : [b.value]);
8550
- }, V = async (L) => {
8557
+ }, C = async (L) => {
8551
8558
  if (L)
8552
8559
  try {
8553
8560
  const A = await fetch(L, { method: "HEAD" });
@@ -8580,12 +8587,12 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8580
8587
  "show-upload-image-area": e.showUploadImageArea,
8581
8588
  "onUpdate:uploadedImage": E,
8582
8589
  onChange: A[0] || (A[0] = (Q) => r(j)(Q, a.format === "object")),
8583
- onDelete: A[1] || (A[1] = (Q) => r(C)(0))
8590
+ onDelete: A[1] || (A[1] = (Q) => r(O)(0))
8584
8591
  }, null, 8, ["accept", "uploaded-image", "image-classes", "show-upload-image-area"])) : e.isButtonOnly ? (t(), i(P, { key: 1 }, [
8585
8592
  h(r(G), F(e.buttonUploadProps, {
8586
8593
  onClick: A[2] || (A[2] = (Q) => {
8587
- var Be;
8588
- return (Be = o.value) == null ? void 0 : Be.click();
8594
+ var Oe;
8595
+ return (Oe = o.value) == null ? void 0 : Oe.click();
8589
8596
  })
8590
8597
  }), null, 16),
8591
8598
  n("input", {
@@ -8609,7 +8616,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8609
8616
  key: 0,
8610
8617
  autoplay: "",
8611
8618
  loop: "",
8612
- src: O.value
8619
+ src: V.value
8613
8620
  }, null, 8, Ac)) : (t(), i("img", {
8614
8621
  key: 1,
8615
8622
  src: (de = b.value) == null ? void 0 : de.fileUrl
@@ -8620,10 +8627,10 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8620
8627
  class: "absolute top-3 right-3"
8621
8628
  }, {
8622
8629
  menu: S(() => {
8623
- var Q, Be;
8630
+ var Q, Oe;
8624
8631
  return [
8625
8632
  n("div", jc, [
8626
- !((Be = (Q = b.value) == null ? void 0 : Q.file) != null && Be.type.includes("video")) && e.allowToEdit ? (t(), i("div", {
8633
+ !((Oe = (Q = b.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), i("div", {
8627
8634
  key: 0,
8628
8635
  class: "flex p-3 cursor-pointer items-center gap-x-3",
8629
8636
  onClick: z
@@ -8638,7 +8645,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8638
8645
  n("div", {
8639
8646
  class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
8640
8647
  onClick: A[12] || (A[12] = () => {
8641
- r(C)(0), y.value = !1;
8648
+ r(O)(0), y.value = !1;
8642
8649
  })
8643
8650
  }, [
8644
8651
  h(r(T), {
@@ -8698,7 +8705,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8698
8705
  e.isDisabled ? m("", !0) : (t(), i("div", {
8699
8706
  key: 0,
8700
8707
  class: "w-[36px] cursor-pointer flex text-oc-error items-center justify-center",
8701
- onClick: A[16] || (A[16] = (Q) => r(C)(0))
8708
+ onClick: A[16] || (A[16] = (Q) => r(O)(0))
8702
8709
  }, [
8703
8710
  h(r(T), {
8704
8711
  width: "16",
@@ -8708,15 +8715,15 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8708
8715
  ]))
8709
8716
  ])
8710
8717
  ], 64))
8711
- ], 2)) : (t(), i("div", Bc, [
8712
- n("div", Oc, [
8718
+ ], 2)) : (t(), i("div", Oc, [
8719
+ n("div", Bc, [
8713
8720
  e.variant === "url" ? (t(), i(P, { key: 0 }, [
8714
8721
  h(r(pe), {
8715
8722
  modelValue: d.value,
8716
8723
  "onUpdate:modelValue": A[4] || (A[4] = (Q) => d.value = Q),
8717
8724
  "error-message": d.value && !u.value ? "Invalid link" : "",
8718
8725
  placeholder: "https://website.com",
8719
- onBlur: A[5] || (A[5] = (Q) => V(d.value))
8726
+ onBlur: A[5] || (A[5] = (Q) => C(d.value))
8720
8727
  }, null, 8, ["modelValue", "error-message"]),
8721
8728
  h(r(pe), {
8722
8729
  modelValue: c.value,
@@ -8812,37 +8819,37 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8812
8819
  const a = e, l = s, o = M([]), d = M(!1), c = M(""), u = M({}), f = N(() => a.uploadedImages[c.value].fileUrl), y = M(!1), p = M(""), w = (I) => {
8813
8820
  y.value = !0, p.value = I;
8814
8821
  }, D = M(!1), j = () => {
8815
- const I = a.uploadedImages.find((V, z) => z === p.value);
8822
+ const I = a.uploadedImages.find((C, z) => z === p.value);
8816
8823
  I.current ? l("onRemoveImage", I) : (l("delete", p.value), D.value = !0, setTimeout(() => {
8817
8824
  D.value = !1;
8818
8825
  }, 1e3)), l(
8819
8826
  "update:uploadedImages",
8820
- a.uploadedImages.filter((V, z) => z !== p.value)
8827
+ a.uploadedImages.filter((C, z) => z !== p.value)
8821
8828
  ), y.value = !1;
8822
- }, C = (I) => {
8823
- const V = a.uploadedImages[c.value];
8824
- V.fileUrl = I, V.fileName = Date.now(), l("onEditImage", { ...V, index: c.value }), d.value = !1, c.value = "", u.value = {};
8825
8829
  }, O = (I) => {
8826
- let V = a.uploadedImages[c.value];
8830
+ const C = a.uploadedImages[c.value];
8831
+ C.fileUrl = I, C.fileName = Date.now(), l("onEditImage", { ...C, index: c.value }), d.value = !1, c.value = "", u.value = {};
8832
+ }, V = (I) => {
8833
+ let C = a.uploadedImages[c.value];
8827
8834
  Object.keys(I).forEach((z) => {
8828
- V[z] = I[z];
8835
+ C[z] = I[z];
8829
8836
  }), l("update:uploadedImages", a.uploadedImages);
8830
8837
  }, b = (I) => {
8831
- let V = a.uploadedImages.length + I.target.files.length > a.maxImages;
8832
- if (a.maxImages && V) {
8833
- l("onMaxFileExceed", V);
8838
+ let C = a.uploadedImages.length + I.target.files.length > a.maxImages;
8839
+ if (a.maxImages && C) {
8840
+ l("onMaxFileExceed", C);
8834
8841
  return;
8835
8842
  }
8836
8843
  l("change", I);
8837
8844
  }, B = N(
8838
8845
  () => a.maxImages == null || a.maxImages && a.uploadedImages.length < a.maxImages
8839
- ), g = (I, V) => {
8846
+ ), g = (I, C) => {
8840
8847
  var z;
8841
8848
  c.value = I, (z = a.inputOptions) == null || z.forEach((E) => {
8842
- u.value[E] = V[E];
8849
+ u.value[E] = C[E];
8843
8850
  }), o[I] = !1, d.value = !0;
8844
8851
  };
8845
- return (I, V) => (t(), i("div", Fc, [
8852
+ return (I, C) => (t(), i("div", Fc, [
8846
8853
  B.value ? (t(), i("label", Uc, [
8847
8854
  n("div", qc, [
8848
8855
  h(r(T), { name: "plus" })
@@ -8862,7 +8869,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8862
8869
  filter: "filtered-el",
8863
8870
  class: "grid w-fit grid-cols-3 gap-3",
8864
8871
  style: oe(`grid-template-columns: repeat(${e.columnsCount}, 1fr)`),
8865
- "onUpdate:modelValue": V[0] || (V[0] = (z) => I.$emit("update:uploadedImages", z))
8872
+ "onUpdate:modelValue": C[0] || (C[0] = (z) => I.$emit("update:uploadedImages", z))
8866
8873
  }, {
8867
8874
  default: S(({ list: z }) => [
8868
8875
  (t(!0), i(P, null, R(z, (E, L) => (t(), i("div", {
@@ -8896,7 +8903,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8896
8903
  height: "16",
8897
8904
  name: "pencil"
8898
8905
  }),
8899
- V[4] || (V[4] = n("span", null, "Edit Image", -1))
8906
+ C[4] || (C[4] = n("span", null, "Edit Image", -1))
8900
8907
  ], 8, Kc),
8901
8908
  n("div", {
8902
8909
  class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
@@ -8909,7 +8916,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8909
8916
  height: "16",
8910
8917
  name: "bin"
8911
8918
  }),
8912
- V[5] || (V[5] = n("span", null, "Delete", -1))
8919
+ C[5] || (C[5] = n("span", null, "Delete", -1))
8913
8920
  ], 8, Gc)
8914
8921
  ])
8915
8922
  ])
@@ -8949,19 +8956,19 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
8949
8956
  d.value ? (t(), x(r(it), {
8950
8957
  key: 1,
8951
8958
  modelValue: d.value,
8952
- "onUpdate:modelValue": V[1] || (V[1] = (z) => d.value = z),
8959
+ "onUpdate:modelValue": C[1] || (C[1] = (z) => d.value = z),
8953
8960
  img: f.value,
8954
8961
  "input-options": e.inputOptions,
8955
8962
  "input-option-values": u.value,
8956
- onClose: V[2] || (V[2] = () => {
8963
+ onClose: C[2] || (C[2] = () => {
8957
8964
  d.value = !1, c.value = "";
8958
8965
  }),
8959
- onChangeImage: C,
8960
- "onUpdate:inputOptions": O
8966
+ onChangeImage: O,
8967
+ "onUpdate:inputOptions": V
8961
8968
  }, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
8962
8969
  h(r(Au), {
8963
8970
  modelValue: y.value,
8964
- "onUpdate:modelValue": V[3] || (V[3] = (z) => y.value = z),
8971
+ "onUpdate:modelValue": C[3] || (C[3] = (z) => y.value = z),
8965
8972
  description: "Do you want to delete this image ?",
8966
8973
  onConfirm: j
8967
8974
  }, null, 8, ["modelValue"])
@@ -9029,41 +9036,41 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9029
9036
  l.validateAcceptFileType
9030
9037
  );
9031
9038
  $e(() => {
9032
- const C = [];
9033
- l.modelValue.length > 0 && (l.modelValue.forEach((O) => {
9034
- O.current && C.push({
9035
- current: O.current,
9039
+ const O = [];
9040
+ l.modelValue.length > 0 && (l.modelValue.forEach((V) => {
9041
+ V.current && O.push({
9042
+ current: V.current,
9036
9043
  file: null,
9037
- fileName: O.current.caption ?? "",
9044
+ fileName: V.current.caption ?? "",
9038
9045
  progress: 100,
9039
- fileUrl: O.current.path,
9040
- totalSize: O.current.file_size ?? 0,
9046
+ fileUrl: V.current.path,
9047
+ totalSize: V.current.file_size ?? 0,
9041
9048
  isLoaded: !0,
9042
- extension: O.current.extension ?? "png",
9043
- description: O.current.description,
9044
- link: O.current.link,
9045
- caption: O.current.caption,
9046
- caption_variant: O.current.caption_variant,
9047
- lightbox: O.current.lightbox
9049
+ extension: V.current.extension ?? "png",
9050
+ description: V.current.description,
9051
+ link: V.current.link,
9052
+ caption: V.current.caption,
9053
+ caption_variant: V.current.caption_variant,
9054
+ lightbox: V.current.lightbox
9048
9055
  });
9049
- }), f.value = C);
9056
+ }), f.value = O);
9050
9057
  });
9051
- const w = (C) => {
9052
- c.value = !0, y(C);
9053
- }, D = (C) => {
9054
- c.value = !1, p(C);
9058
+ const w = (O) => {
9059
+ c.value = !0, y(O);
9060
+ }, D = (O) => {
9061
+ c.value = !1, p(O);
9055
9062
  }, j = () => {
9056
- var C;
9057
- (C = o.value) == null || C.click();
9063
+ var O;
9064
+ (O = o.value) == null || O.click();
9058
9065
  };
9059
- return (C, O) => (t(), i("div", Qc, [
9066
+ return (O, V) => (t(), i("div", Qc, [
9060
9067
  h(r(ye), {
9061
9068
  label: e.label,
9062
9069
  hint: e.hint,
9063
9070
  "error-message": r(u) ? `File(s) is more than ${e.maxSize}MB` : e.errorMessage
9064
9071
  }, {
9065
9072
  hint: S(() => [
9066
- k(C.$slots, "hint")
9073
+ k(O.$slots, "hint")
9067
9074
  ]),
9068
9075
  default: S(() => [
9069
9076
  e.isImageOnly ? (t(), x(Zc, {
@@ -9075,17 +9082,17 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9075
9082
  "input-options": e.inputOptions,
9076
9083
  "max-images": e.maxImages,
9077
9084
  onChange: r(y),
9078
- "onUpdate:selectedImage": O[0] || (O[0] = (b) => C.$emit("update:selectedImage", b)),
9079
- "onUpdate:uploadedImages": O[1] || (O[1] = (b) => {
9080
- f.value = b, C.$emit("update:modelValue", b);
9085
+ "onUpdate:selectedImage": V[0] || (V[0] = (b) => O.$emit("update:selectedImage", b)),
9086
+ "onUpdate:uploadedImages": V[1] || (V[1] = (b) => {
9087
+ f.value = b, O.$emit("update:modelValue", b);
9081
9088
  }),
9082
- onOnEditImage: O[2] || (O[2] = (b) => C.$emit("onEditFile", b)),
9083
- onOnRemoveImage: O[3] || (O[3] = (b) => C.$emit("onRemoveFile", b)),
9089
+ onOnEditImage: V[2] || (V[2] = (b) => O.$emit("onEditFile", b)),
9090
+ onOnRemoveImage: V[3] || (V[3] = (b) => O.$emit("onRemoveFile", b)),
9084
9091
  onDelete: r(p),
9085
- onOnMaxFileExceed: O[4] || (O[4] = (b) => C.$emit("onMaxFileExceed", b))
9092
+ onOnMaxFileExceed: V[4] || (V[4] = (b) => O.$emit("onMaxFileExceed", b))
9086
9093
  }, {
9087
9094
  action: S((b) => [
9088
- k(C.$slots, "action", {
9095
+ k(O.$slots, "action", {
9089
9096
  item: b.item,
9090
9097
  removeItem: b.removeItem,
9091
9098
  fileIndex: b.i
@@ -9093,7 +9100,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9093
9100
  ]),
9094
9101
  _: 3
9095
9102
  }, 8, ["uploaded-images", "selected-image", "columns-count", "accept", "input-options", "max-images", "onChange", "onDelete"])) : e.isButtonOnly ? (t(), i(P, { key: 1 }, [
9096
- k(C.$slots, "button", { triggerInput: j }, () => [
9103
+ k(O.$slots, "button", { triggerInput: j }, () => [
9097
9104
  h(r(G), F(e.buttonUploadProps, { onClick: j }), null, 16)
9098
9105
  ]),
9099
9106
  n("input", {
@@ -9173,12 +9180,12 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9173
9180
  type: "file",
9174
9181
  multiple: "",
9175
9182
  accept: e.accept,
9176
- onDragover: O[5] || (O[5] = (b) => d.value = !0),
9177
- onDragleave: O[6] || (O[6] = (b) => d.value = !1),
9178
- onDrop: O[7] || (O[7] = (b) => d.value = !1),
9183
+ onDragover: V[5] || (V[5] = (b) => d.value = !0),
9184
+ onDragleave: V[6] || (V[6] = (b) => d.value = !1),
9185
+ onDrop: V[7] || (V[7] = (b) => d.value = !1),
9179
9186
  onChange: w
9180
9187
  }, null, 40, iu)),
9181
- r(f).length ? e.isDisabled ? m("", !0) : (t(), i("div", uu, O[9] || (O[9] = [
9188
+ r(f).length ? e.isDisabled ? m("", !0) : (t(), i("div", uu, V[9] || (V[9] = [
9182
9189
  n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
9183
9190
  ]))) : (t(), i("div", su, [
9184
9191
  h(r(T), {
@@ -9186,7 +9193,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9186
9193
  class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
9187
9194
  }, null, 8, ["class"]),
9188
9195
  e.labelUploadArea ? (t(), i("div", ru, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), i("div", du, "Upload disabled")) : (t(), i("div", cu, [
9189
- O[8] || (O[8] = n("div", null, "Select documents or drag here", -1)),
9196
+ V[8] || (V[8] = n("div", null, "Select documents or drag here", -1)),
9190
9197
  n("div", null, "File max " + $(e.maxSize) + "MB", 1)
9191
9198
  ]))
9192
9199
  ]))
@@ -9309,20 +9316,20 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9309
9316
  setup(e, { expose: s, emit: a }) {
9310
9317
  const l = a, o = e, d = M(), c = M(), u = async (D) => {
9311
9318
  D != null && D.target && (o.isDisabled || (setTimeout(() => {
9312
- var j, C;
9313
- return (C = (j = d.value) == null ? void 0 : j.popperInstance) == null ? void 0 : C.update();
9319
+ var j, O;
9320
+ return (O = (j = d.value) == null ? void 0 : j.popperInstance) == null ? void 0 : O.update();
9314
9321
  }, 10), l("update:modelValue", !o.modelValue)));
9315
9322
  }, f = (D) => {
9316
9323
  o.isAttachToBody && !o.preventClickOutside && d.value.checkElementIsInsidePopper(D.target) || o.modelValue && !o.preventClickOutside && l("update:modelValue", !1);
9317
9324
  }, y = M(), p = M(0);
9318
9325
  return me(() => o.modelValue, async () => {
9319
- 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;
9326
+ const D = window.innerHeight || document.documentElement.clientHeight, j = y.value.getBoundingClientRect().top, O = D - y.value.getBoundingClientRect().bottom, V = Math.max(j, O), B = V - (2 + (V === j ? 2.5 : 0)) * 16;
9320
9327
  p.value = B > 0 ? B : 0, d.value.popperInstance.update();
9321
9328
  }), s({
9322
9329
  dropdownScroll: c,
9323
9330
  toggleDropdown: u,
9324
9331
  popper: d
9325
- }), (D, j) => Oe((t(), i("span", {
9332
+ }), (D, j) => Be((t(), i("span", {
9326
9333
  ref_key: "parentElement",
9327
9334
  ref: y,
9328
9335
  class: "flex w-[inherit]"
@@ -9341,14 +9348,14 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9341
9348
  popper: S(() => [
9342
9349
  h(Ae, { name: "fade" }, {
9343
9350
  default: S(() => [
9344
- Oe(n("div", {
9351
+ Be(n("div", {
9345
9352
  ref_key: "dropdownScroll",
9346
9353
  ref: c,
9347
9354
  class: v([e.menuClasses, "rounded bg-oc-bg-light shadow min-w-[162px] overflow-y-auto"]),
9348
9355
  style: oe({
9349
9356
  maxHeight: (e.maxMenuHeight || p.value) - 68 + "px"
9350
9357
  }),
9351
- onScroll: j[0] || (j[0] = (C) => D.$emit("scroll", C))
9358
+ onScroll: j[0] || (j[0] = (O) => D.$emit("scroll", O))
9352
9359
  }, [
9353
9360
  k(D.$slots, "menu", { isPopoverOpen: e.modelValue }, void 0, !0)
9354
9361
  ], 38), [
@@ -9489,7 +9496,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9489
9496
  const f = () => {
9490
9497
  a.value && u();
9491
9498
  };
9492
- return (y, p) => Oe((t(), i("span", yu, [
9499
+ return (y, p) => Be((t(), i("span", yu, [
9493
9500
  h(r(bt), {
9494
9501
  ref_key: "popper",
9495
9502
  ref: d,
@@ -9502,7 +9509,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9502
9509
  popper: S(() => [
9503
9510
  h(Ae, { name: e.transitionName }, {
9504
9511
  default: S(() => [
9505
- Oe(n("div", {
9512
+ Be(n("div", {
9506
9513
  ref_key: "popperBodyEl",
9507
9514
  ref: o,
9508
9515
  class: v(["oc-tooltip", e.popperClass])
@@ -9705,7 +9712,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9705
9712
  }, Vu = {
9706
9713
  key: 0,
9707
9714
  class: "fixed w-screen z-[1008] bg-white top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
9708
- }, Bu = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, Ou = { class: "modal-body p-9" }, rf = {
9715
+ }, Ou = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, Bu = { class: "modal-body p-9" }, rf = {
9709
9716
  __name: "OcModalPage",
9710
9717
  props: {
9711
9718
  modelValue: {
@@ -9737,7 +9744,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9737
9744
  setup(e, { emit: s }) {
9738
9745
  const a = s;
9739
9746
  return (l, o) => e.modelValue ? (t(), i("div", Vu, [
9740
- n("div", Bu, [
9747
+ n("div", Ou, [
9741
9748
  k(l.$slots, "top"),
9742
9749
  n("div", {
9743
9750
  class: v(["relative z-[1008] shadow-normal max-w-[1440px] bg-[linear-gradient(180deg,_rgba(229,_238,_255,_0.5)_0%,_rgba(229,_238,_255,_0)_77.75%)] rounded-xl flex flex-col overflow-y-auto mx-auto", e.contentClass])
@@ -9765,7 +9772,7 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
9765
9772
  }),
9766
9773
  o[2] || (o[2] = n("span", null, "Close", -1))
9767
9774
  ]),
9768
- n("div", Ou, [
9775
+ n("div", Bu, [
9769
9776
  k(l.$slots, "default")
9770
9777
  ])
9771
9778
  ], 2)
@@ -10200,45 +10207,45 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10200
10207
  SectionItem: vc,
10201
10208
  SelectOptions: hc
10202
10209
  }, c = (g) => d[g] ? d[g] : null, u = N(() => {
10203
- const g = (V) => V.split(`
10210
+ const g = (C) => C.split(`
10204
10211
  `).map((z) => z.trim()).filter(Boolean).map((z) => `"${z}"`).join(" "), I = {};
10205
- return Object.entries(a.grid).forEach(([V, z]) => {
10212
+ return Object.entries(a.grid).forEach(([C, z]) => {
10206
10213
  Object.entries(z).forEach(([E, L]) => {
10207
- I[`--grid-${V}-${E}`] = E === "area" ? g(L) : L;
10214
+ I[`--grid-${C}-${E}`] = E === "area" ? g(L) : L;
10208
10215
  });
10209
10216
  }), I;
10210
- }), 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) => {
10217
+ }), 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({}), O = (g) => typeof g == "object" ? g[0].key : g, V = (g) => {
10211
10218
  a.jsonForm.forEach((I) => {
10212
- var V;
10219
+ var C;
10213
10220
  if (typeof I.name == "object") {
10214
10221
  let z = null;
10215
10222
  I.name.forEach((E) => {
10216
10223
  g[E.key] && (z ? z.push(g[E.key]) : z = [g[E.key]]);
10217
- }), w.value[C(I.name)] = z, B(I);
10224
+ }), w.value[O(I.name)] = z, B(I);
10218
10225
  } else
10219
- (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);
10226
+ (C = I.props) != null && C.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);
10220
10227
  });
10221
10228
  }, b = () => {
10222
10229
  a.jsonForm.forEach((g) => {
10223
10230
  if (typeof g.name == "object") {
10224
10231
  let I = [];
10225
- g.name.forEach((V) => {
10226
- a.errors[V.key] && I.push(a.errors[V.key]);
10227
- }), D.value[C(g.name)] = I.join(",");
10232
+ g.name.forEach((C) => {
10233
+ a.errors[C.key] && I.push(a.errors[C.key]);
10234
+ }), D.value[O(g.name)] = I.join(",");
10228
10235
  } else
10229
10236
  D.value[g.name] = a.errors[g.name] ?? "";
10230
10237
  });
10231
10238
  }, B = (g) => {
10232
10239
  if (g.show_if || g.show_if_preview) {
10233
10240
  let I = g.class ? g.class : "";
10234
- 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;
10241
+ 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[O(g.name)] = I : j.value[g.name] = I;
10235
10242
  } else
10236
10243
  j.value[g.name] = g.class ? g.class : "";
10237
10244
  };
10238
10245
  return me(
10239
10246
  () => a.values,
10240
10247
  (g) => {
10241
- O(g);
10248
+ V(g);
10242
10249
  },
10243
10250
  {
10244
10251
  deep: !0
@@ -10254,54 +10261,54 @@ const Yd = { class: "flex flex-col gap-y-2 w-full" }, Wd = { class: "flex w-full
10254
10261
  ), me(
10255
10262
  () => a.previewMode,
10256
10263
  () => {
10257
- O(a.values);
10264
+ V(a.values);
10258
10265
  }
10259
10266
  ), $e(() => {
10260
- O(a.values), b(a.errors);
10267
+ V(a.values), b(a.errors);
10261
10268
  }), (g, I) => Object.values(w.value).length > 0 ? (t(), i("div", {
10262
10269
  key: 0,
10263
10270
  class: v(e.grid ? `responsive-smart-form-grid ${p.value}` : p.value),
10264
10271
  style: oe(e.grid ? u.value : "")
10265
10272
  }, [
10266
- (t(!0), i(P, null, R(e.jsonForm, (V) => {
10273
+ (t(!0), i(P, null, R(e.jsonForm, (C) => {
10267
10274
  var z, E, L, A, U, H;
10268
10275
  return t(), i("div", {
10269
- key: f(V.name),
10270
- style: oe(e.grid ? y(V.name) : ""),
10276
+ key: f(C.name),
10277
+ style: oe(e.grid ? y(C.name) : ""),
10271
10278
  class: v([
10272
- V.type !== "Children" ? j.value[typeof V.name == "object" ? C(V.name) : V.name] : "",
10273
- V.class
10279
+ C.type !== "Children" ? j.value[typeof C.name == "object" ? O(C.name) : C.name] : "",
10280
+ C.class
10274
10281
  ])
10275
10282
  }, [
10276
- c(V.type) ? (t(), x(at(c(V.type)), F({
10283
+ c(C.type) ? (t(), x(at(c(C.type)), F({
10277
10284
  key: 0,
10278
10285
  ref_for: !0
10279
- }, V.props, {
10280
- "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],
10281
- "error-message": D.value[typeof V.name == "object" ? C(V.name) : V.name],
10282
- "onUpdate:modelValue": (X) => o(V, X)
10283
- }), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) : k(g.$slots, V.type, {
10286
+ }, C.props, {
10287
+ "model-value": (z = C.props) != null && z.parentKey ? (L = (E = w.value) == null ? void 0 : E[C.props.parentKey]) == null ? void 0 : L[C.name] : w.value[typeof C.name == "object" ? O(C.name) : C.name],
10288
+ "error-message": D.value[typeof C.name == "object" ? O(C.name) : C.name],
10289
+ "onUpdate:modelValue": (X) => o(C, X)
10290
+ }), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) : k(g.$slots, C.type, {
10284
10291
  key: 1,
10285
10292
  formId: e.id,
10286
- form: V,
10287
- 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],
10288
- error: D.value[typeof V.name == "object" ? C(V.name) : V.name],
10293
+ form: C,
10294
+ value: (A = C.props) != null && A.parentKey ? (H = (U = w.value) == null ? void 0 : U[C.props.parentKey]) == null ? void 0 : H[C.name] : w.value[typeof C.name == "object" ? O(C.name) : C.name],
10295
+ error: D.value[typeof C.name == "object" ? O(C.name) : C.name],
10289
10296
  onUpdate: o
10290
10297
  })
10291
10298
  ], 6);
10292
10299
  }), 128))
10293
10300
  ], 6)) : m("", !0);
10294
10301
  }
10295
- }, mf = re(() => import("./OcDataTable-BJ53ze6V.js")), ff = re(() => import("./OcFilterSearch-4UTFikfn.js")), vf = re(() => import("./OcFilterSearchFor-CdgbO1mM.js")), gf = re(() => import("./OcFilterForm-otcALXty.js")), Ju = re(
10296
- () => import("./OcComplexCalendar-bqJLQ_f1.js")
10302
+ }, mf = re(() => import("./OcDataTable-DSv6mb3F.js")), ff = re(() => import("./OcFilterSearch-CHHFsVn-.js")), vf = re(() => import("./OcFilterSearchFor-bDLcVf6h.js")), gf = re(() => import("./OcFilterForm-DLcXQID6.js")), Ju = re(
10303
+ () => import("./OcComplexCalendar-BaKuUCk-.js")
10297
10304
  ), pf = re(
10298
- () => import("./OcComplexDatePicker-7xsHnif7.js")
10299
- ), it = re(() => import("./OcModalCropper-B3f3Xbz_.js")), yf = re(() => import("./OcCropper-BIQBBDMg.js")), Zu = re(() => import("./OcDraggable-CA_BCbpl.js")), xf = re(() => import("./OcDraggableList-CIRr2L7q.js")), hf = re(() => import("./OcEmojiPicker-CAzh4Nr7.js")), bf = re(
10300
- () => import("./ThumbnailTheme-NyJTZwPz.js")
10305
+ () => import("./OcComplexDatePicker-CzTXyd8f.js")
10306
+ ), it = re(() => import("./OcModalCropper-Cd3F552b.js")), yf = re(() => import("./OcCropper-Dogk7ZVH.js")), Zu = re(() => import("./OcDraggable-CA_BCbpl.js")), xf = re(() => import("./OcDraggableList-LXK8JQqC.js")), hf = re(() => import("./OcEmojiPicker-DIqNIKuz.js")), bf = re(
10307
+ () => import("./ThumbnailTheme-hSB0WG8D.js")
10301
10308
  ), wf = re(
10302
- () => import("./ThumbnailSection-jZKVmIw3.js")
10303
- ), $f = re(() => import("./SubPlanCard-CqxfYrT7.js")), kf = re(() => import("./OcTimePopup-CXGhaOev.js")), Qu = re(() => import("./OcTimePicker-B-mv-DaH.js")), Sf = re(
10304
- () => import("./OcAccountSetupProgress-mbOD8RXs.js")
10309
+ () => import("./ThumbnailSection-DI_O8pPj.js")
10310
+ ), $f = re(() => import("./SubPlanCard-B0si_YTq.js")), kf = re(() => import("./OcTimePopup-CXGhaOev.js")), Qu = re(() => import("./OcTimePicker-DcI4XQG2.js")), Sf = re(
10311
+ () => import("./OcAccountSetupProgress-CjN-GEao.js")
10305
10312
  );
10306
10313
  export {
10307
10314
  Dm as $,
@@ -10309,7 +10316,7 @@ export {
10309
10316
  G as B,
10310
10317
  St as C,
10311
10318
  pn as D,
10312
- Bm as E,
10319
+ Om as E,
10313
10320
  wl as F,
10314
10321
  kt as G,
10315
10322
  Ue as H,
@@ -10326,7 +10333,7 @@ export {
10326
10333
  Lt as S,
10327
10334
  fl as T,
10328
10335
  km as U,
10329
- Om as V,
10336
+ Bm as V,
10330
10337
  Im as W,
10331
10338
  Am as X,
10332
10339
  Xn as Y,