@orchidui/core 1.8.1-63 → 1.8.1-65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
- package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
- package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
- package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +1 -1
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/Table/OcTable.js +1 -1
- package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
- package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
- package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
- package/dist/Disclosure/Steps/OcSteps.js +1 -1
- package/dist/Disclosure/Tabs/Tabs.js +1 -1
- package/dist/Disclosure/Variants/OcVariants.js +1 -1
- package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
- package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
- package/dist/Elements/Box/OcBox.js +1 -1
- package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
- package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
- package/dist/Elements/Header/OcHeader.js +1 -1
- package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
- package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
- package/dist/Elements/Sidebar/OcSidebar.js +2 -2
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
- package/dist/Feedback/Banner/OcBanner.js +1 -1
- package/dist/Feedback/Chip/OcChip.js +1 -1
- package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
- package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
- package/dist/Form/BaseInput/OcBaseInput.js +1 -1
- package/dist/Form/Button/OcButton.js +1 -1
- package/dist/Form/Calendar/OcCalendar.js +1 -1
- package/dist/Form/CardInput/OcCardInput.js +1 -1
- package/dist/Form/Checkbox/OcCheckbox.js +1 -1
- package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
- package/dist/Form/Criteria/OcCriteria.js +1 -1
- package/dist/Form/Cropper/OcCropper.js +1 -1
- package/dist/Form/DatePicker/OcDatePicker.js +1 -1
- package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
- package/dist/Form/Input/OcInput.js +1 -1
- package/dist/Form/LinkInput/OcLinkInput.js +1 -1
- package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
- package/dist/Form/NumberInput/OcNumberInput.js +1 -1
- package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
- package/dist/Form/Radio/OcRadio.js +1 -1
- package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
- package/dist/Form/RangeInput/OcRangeInput.js +1 -1
- package/dist/Form/SectionItem/OcSectionItem.js +1 -1
- package/dist/Form/Select/OcSelect.js +1 -1
- package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
- package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
- package/dist/Form/Slider/OcSlider.js +1 -1
- package/dist/Form/TextArea/OcTextArea.js +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcAccountSetupProgress-CrOTWekE.js → OcAccountSetupProgress-BGdsvttp.js} +1 -1
- package/dist/{OcComplexCalendar-B2N8J9eT.js → OcComplexCalendar-BJv5l9hH.js} +1 -1
- package/dist/{OcComplexDatePicker-DSanYv8N.js → OcComplexDatePicker-CmqwWvGj.js} +1 -1
- package/dist/{OcCropper-C3COgFQz.js → OcCropper-BlfB-4nk.js} +1 -1
- package/dist/{OcDataTable-vjk7P0wl.js → OcDataTable-BbFL4zjh.js} +1 -1
- package/dist/{OcDraggableList-DIXGzHoZ.js → OcDraggableList-CllXW5qI.js} +1 -1
- package/dist/{OcEmojiPicker-BpH5t3Dy.js → OcEmojiPicker-BpPAP7-9.js} +1 -1
- package/dist/{OcFilterForm-GIcQDRhL.js → OcFilterForm-DM3TcUdT.js} +1 -1
- package/dist/{OcFilterSearch-OLspJOhF.js → OcFilterSearch-DbMiRFHG.js} +1 -1
- package/dist/{OcFilterSearchFor-BHK3WwqB.js → OcFilterSearchFor-DJhyhd-F.js} +1 -1
- package/dist/{OcModalCropper-CDYvS8oW.js → OcModalCropper-C-EDNG-h.js} +2 -2
- package/dist/{OcTimePicker-CDwMw0b-.js → OcTimePicker-CP_PkhLG.js} +1 -1
- package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
- package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
- package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
- package/dist/Overlay/Modal/OcModal.js +1 -1
- package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
- package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
- package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
- package/dist/{SubPlanCard-CJg1dSaW.js → SubPlanCard-WWjQAFND.js} +1 -1
- package/dist/{ThumbnailSection-I1MhjlEN.js → ThumbnailSection-DqglX61w.js} +1 -1
- package/dist/{ThumbnailTheme-BbUMffHR.js → ThumbnailTheme-D64vYCXL.js} +1 -1
- package/dist/{index-BiTjqt1P.js → index-CwIWHU--.js} +458 -457
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as z, ref as M, onMounted as we, openBlock as t, createElementBlock as i, normalizeClass as v, renderSlot as
|
1
|
+
import { computed as z, ref as M, onMounted as we, openBlock as t, createElementBlock as i, normalizeClass as v, renderSlot as k, createCommentVNode as u, createElementVNode as n, createBlock as p, unref as o, Fragment as N, renderList as R, withCtx as S, createTextVNode as W, toDisplayString as w, createVNode as g, resolveDynamicComponent as at, normalizeProps as me, mergeProps as F, guardReactiveProps as Ie, withModifiers as fe, defineComponent as Z, normalizeStyle as oe, createSlots as te, useSlots as ht, onBeforeUnmount as Et, withDirectives as Oe, vShow as Pe, watch as ue, onUpdated as Pt, nextTick as He, reactive as Nt, Transition as Ae, useAttrs as zt, withKeys as Fe, Teleport as Rt, onUnmounted as Ft, defineAsyncComponent as de } from "vue";
|
2
2
|
import { S as le } from "./OcSkeleton-CvdpGSQR.js";
|
3
3
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
4
4
|
import { _ as T } from "./OcIcon-CSpRxnwd.js";
|
@@ -21,7 +21,7 @@ import "./OcTheme-CWgrJh5Q.js";
|
|
21
21
|
const Kt = {
|
22
22
|
key: 0,
|
23
23
|
class: "flex relative group/row md:p-0 py-3 w-full"
|
24
|
-
},
|
24
|
+
}, Pm = {
|
25
25
|
__name: "OcTable",
|
26
26
|
props: {
|
27
27
|
options: {
|
@@ -75,15 +75,15 @@ const Kt = {
|
|
75
75
|
}, b = () => {
|
76
76
|
const O = x.value.length === c.value.length;
|
77
77
|
x.value = O ? [] : [...c.value];
|
78
|
-
}, A = z(() => typeof a.rowClass == "function" ? (O,
|
79
|
-
|
78
|
+
}, A = z(() => typeof a.rowClass == "function" ? (O, $) => a.rowClass(O, $) : () => a.rowClass), j = (O, $) => {
|
79
|
+
!$.disableClickRow && $.key !== "actions" && l("click:row", {
|
80
80
|
field: O,
|
81
|
-
header:
|
81
|
+
header: $
|
82
82
|
});
|
83
83
|
}, B = M(!0), C = M(!0), y = M(), V = () => {
|
84
84
|
a.isSticky && (B.value = y.value.scrollLeft === 0, C.value = y.value.scrollLeft + y.value.clientWidth === y.value.scrollWidth);
|
85
85
|
};
|
86
|
-
return we(() => V()), (O,
|
86
|
+
return we(() => V()), (O, $) => (t(), i("div", {
|
87
87
|
ref_key: "scrollTable",
|
88
88
|
ref: y,
|
89
89
|
class: v(["flex text-oc-text flex-col border-oc-gray-200 isolate z-10", [
|
@@ -99,9 +99,9 @@ const Kt = {
|
|
99
99
|
"sticky left-0": e.isSticky
|
100
100
|
}])
|
101
101
|
}, [
|
102
|
-
|
102
|
+
k(O.$slots, "before")
|
103
103
|
], 2)) : u("", !0),
|
104
|
-
|
104
|
+
k(O.$slots, "table-header", {
|
105
105
|
fields: c.value,
|
106
106
|
headers: m.value,
|
107
107
|
isSelectable: s.value,
|
@@ -137,7 +137,7 @@ const Kt = {
|
|
137
137
|
], "md:border-b border-oc-gray-200"])
|
138
138
|
}, {
|
139
139
|
default: S(() => [
|
140
|
-
|
140
|
+
k(O.$slots, `header-${I.key}`)
|
141
141
|
]),
|
142
142
|
_: 2
|
143
143
|
}, 1032, ["text", "is-loading", "variant", "is-sticky", "class"]))), 128))
|
@@ -154,14 +154,14 @@ const Kt = {
|
|
154
154
|
key: 0,
|
155
155
|
class: "opacity-0 flex justify-center absolute left-0 md:relative w-[5%]"
|
156
156
|
})) : u("", !0),
|
157
|
-
(t(!0), i(N, null, R(m.value, (L,
|
158
|
-
key: `${
|
157
|
+
(t(!0), i(N, null, R(m.value, (L, P) => (t(), p(o(Re), {
|
158
|
+
key: `${P}-${I}`,
|
159
159
|
class: v(L.class),
|
160
160
|
"is-loading": "",
|
161
161
|
"is-last": I === e.loadingRows
|
162
162
|
}, null, 8, ["class", "is-last"]))), 128))
|
163
163
|
], 2))), 128)) : (t(), i(N, { key: 2 }, [
|
164
|
-
|
164
|
+
k(O.$slots, "table-body", {
|
165
165
|
fields: c.value,
|
166
166
|
headers: m.value,
|
167
167
|
isScrollOnEnd: C.value,
|
@@ -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 === L + 1,
|
199
|
-
"is-selected": x.value.some((
|
199
|
+
"is-selected": x.value.some((P) => f.value(P) === f.value(I)),
|
200
200
|
variant: "checkbox",
|
201
|
-
onSelected: (
|
202
|
-
"onHover:field":
|
201
|
+
onSelected: (P) => h(I),
|
202
|
+
"onHover:field": $[0] || ($[0] = (P) => O.$emit("hover:cell", P))
|
203
203
|
}, null, 8, ["is-last", "is-selected", "class", "onSelected"])) : u("", !0),
|
204
|
-
(t(!0), i(N, null, R(m.value, (
|
205
|
-
key: `${
|
204
|
+
(t(!0), i(N, null, R(m.value, (P, E) => (t(), p(o(Re), {
|
205
|
+
key: `${E}-${L}`,
|
206
206
|
class: v(["flex border-oc-gray-200", [
|
207
|
-
typeof
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
207
|
+
typeof P.class == "function" ? P.class(I) : P.class,
|
208
|
+
P.stickyLeft && s.value ? "left-[40px] md:left-[32px]" : "left-0",
|
209
|
+
P.stickyRight ? "right-0" : "",
|
210
|
+
P.stickyLeft || P.stickyRight ? "shrink-0 sticky z-10" : "",
|
211
|
+
P.stickyLeft && !B.value ? "shadow-right-sticky" : "",
|
212
|
+
P.stickyRight && !C.value ? "shadow-left-sticky" : ""
|
213
213
|
]]),
|
214
214
|
"is-last": c.value.length === L + 1,
|
215
|
-
variant:
|
216
|
-
"is-copy":
|
217
|
-
"add-description-to-copy-clipboard":
|
218
|
-
data: I[`${
|
215
|
+
variant: P.variant,
|
216
|
+
"is-copy": P.isCopy,
|
217
|
+
"add-description-to-copy-clipboard": P.addDescriptionToCopyClipboard ?? !0,
|
218
|
+
data: I[`${P.key}`] ?? "",
|
219
219
|
content: {
|
220
|
-
important:
|
221
|
-
title: I[`${
|
222
|
-
description: I[`${
|
223
|
-
href: I[`${
|
220
|
+
important: P.important ?? !1,
|
221
|
+
title: I[`${P.title}`],
|
222
|
+
description: I[`${P.description}`],
|
223
|
+
href: I[`${P.href}`]
|
224
224
|
},
|
225
|
-
"chip-options":
|
226
|
-
"image-class":
|
227
|
-
link: e.rowLink && I[e.rowLink] &&
|
228
|
-
onClick: (D) => j(I,
|
229
|
-
"onHover:field":
|
225
|
+
"chip-options": P.chipOptions,
|
226
|
+
"image-class": P.imageClass,
|
227
|
+
link: e.rowLink && I[e.rowLink] && P.key !== "actions" ? I[e.rowLink] : "",
|
228
|
+
onClick: (D) => j(I, P),
|
229
|
+
"onHover:field": $[1] || ($[1] = (D) => O.$emit("hover:cell", D))
|
230
230
|
}, {
|
231
231
|
default: S(() => [
|
232
|
-
O.$slots[
|
232
|
+
O.$slots[P.key] ? k(O.$slots, P.key, {
|
233
233
|
key: 0,
|
234
234
|
item: I,
|
235
|
-
data: I[
|
235
|
+
data: I[P.key],
|
236
236
|
index: L
|
237
237
|
}) : u("", !0)
|
238
238
|
]),
|
@@ -240,16 +240,16 @@ const Kt = {
|
|
240
240
|
}, 1032, ["is-last", "variant", "is-copy", "add-description-to-copy-clipboard", "data", "content", "chip-options", "class", "image-class", "link", "onClick"]))), 128))
|
241
241
|
], 2),
|
242
242
|
O.$slots.extra ? (t(), i("div", Kt, [
|
243
|
-
|
243
|
+
k(O.$slots, "extra", {
|
244
244
|
item: I,
|
245
245
|
index: L
|
246
246
|
})
|
247
247
|
])) : u("", !0)
|
248
248
|
], 2))), 128))
|
249
249
|
]),
|
250
|
-
c.value.length ? u("", !0) :
|
250
|
+
c.value.length ? u("", !0) : k(O.$slots, "empty", { key: 0 })
|
251
251
|
], 64)),
|
252
|
-
|
252
|
+
k(O.$slots, "after")
|
253
253
|
], 34));
|
254
254
|
}
|
255
255
|
}, Gt = { class: "mx-auto" }, rt = {
|
@@ -284,9 +284,9 @@ const Kt = {
|
|
284
284
|
key: 0,
|
285
285
|
class: "rounded-full w-full overflow-hidden h-6"
|
286
286
|
})) : (t(), i(N, { key: 1 }, [
|
287
|
-
e.variant === r.TEXT ?
|
287
|
+
e.variant === r.TEXT ? k(l.$slots, "default", { key: 0 }, () => [
|
288
288
|
W(w(e.text), 1)
|
289
|
-
]) :
|
289
|
+
]) : k(l.$slots, "default", { key: 1 }, () => [
|
290
290
|
n("div", Gt, [
|
291
291
|
g(o(Te), {
|
292
292
|
"model-value": e.isChecked,
|
@@ -400,7 +400,7 @@ const Kt = {
|
|
400
400
|
class: v(["w-full flex", e.isCopy ? "justify-between" : "justify-start"]),
|
401
401
|
onMouseover: m[2] || (m[2] = (x) => c.$emit("hover:field", a))
|
402
402
|
}, [
|
403
|
-
|
403
|
+
k(c.$slots, "default", {}, () => [
|
404
404
|
e.variant === r.CHECKBOX ? (t(), p(o(Te), {
|
405
405
|
key: 0,
|
406
406
|
"model-value": e.isSelected,
|
@@ -491,7 +491,7 @@ const Kt = {
|
|
491
491
|
e.title ? u("", !0) : (t(), i("span", al, "-"))
|
492
492
|
], 2),
|
493
493
|
n("span", nl, [
|
494
|
-
|
494
|
+
k(r.$slots, "description", { description: e.description }, () => [
|
495
495
|
W(w(e.description), 1)
|
496
496
|
]),
|
497
497
|
e.description ? u("", !0) : (t(), i("span", il, "-"))
|
@@ -513,12 +513,12 @@ const Kt = {
|
|
513
513
|
onClick: a[0] || (a[0] = fe(() => {
|
514
514
|
}, ["prevent"]))
|
515
515
|
}, [
|
516
|
-
|
516
|
+
k(r.$slots, "default")
|
517
517
|
], 8, sl)) : (t(), i("div", ol, [
|
518
|
-
|
518
|
+
k(r.$slots, "default")
|
519
519
|
]));
|
520
520
|
}
|
521
|
-
}, dl = { class: "rounded-xs text-sm font-medium text-oc-text-400 p-2" }, cl = { class: "truncate" }, ul = { class: "py-1 px-2" },
|
521
|
+
}, dl = { class: "rounded-xs text-sm font-medium text-oc-text-400 p-2" }, cl = { class: "truncate" }, ul = { class: "py-1 px-2" }, Ee = /* @__PURE__ */ Z({
|
522
522
|
__name: "OcExpadingTableRow",
|
523
523
|
props: {
|
524
524
|
row: Object,
|
@@ -595,7 +595,7 @@ const Kt = {
|
|
595
595
|
e.isLoading ? (t(), p(o(le), {
|
596
596
|
key: 0,
|
597
597
|
class: "w-full h-5 rounded"
|
598
|
-
})) :
|
598
|
+
})) : k(m.$slots, b.key, {
|
599
599
|
key: 1,
|
600
600
|
data: (j = e.row) == null ? void 0 : j[b == null ? void 0 : b.key],
|
601
601
|
item: e.row
|
@@ -651,7 +651,7 @@ const Kt = {
|
|
651
651
|
n("div", {
|
652
652
|
class: v(["flex-1 truncate", e.row.itemClasses])
|
653
653
|
}, [
|
654
|
-
|
654
|
+
k(m.$slots, e.row.key, { value: e.value }, () => [
|
655
655
|
W(w(e.value), 1)
|
656
656
|
])
|
657
657
|
], 2)
|
@@ -665,7 +665,7 @@ const Kt = {
|
|
665
665
|
class: "transition-all overflow-hidden duration-500",
|
666
666
|
style: oe({ maxHeight: a.value })
|
667
667
|
}, [
|
668
|
-
(t(!0), i(N, null, R(e.row.children, (b, A) => (t(), p(o(
|
668
|
+
(t(!0), i(N, null, R(e.row.children, (b, A) => (t(), p(o(Ee), {
|
669
669
|
key: A,
|
670
670
|
row: b,
|
671
671
|
important: b.important,
|
@@ -678,7 +678,7 @@ const Kt = {
|
|
678
678
|
R(m.$slots, (j, B) => ({
|
679
679
|
name: B,
|
680
680
|
fn: S((C) => [
|
681
|
-
|
681
|
+
k(m.$slots, B, F({ ref_for: !0 }, C))
|
682
682
|
])
|
683
683
|
}))
|
684
684
|
]), 1032, ["row", "important", "is-alternative", "is-loading", "headers", "value", "depth"]))), 128))
|
@@ -737,13 +737,13 @@ const Kt = {
|
|
737
737
|
return (l, s) => (t(), i("div", vl, [
|
738
738
|
e.isAlternative ? (t(), i(N, { key: 0 }, [
|
739
739
|
g(fl, { headers: e.headers }, null, 8, ["headers"]),
|
740
|
-
e.isLoading && !e.fields.length ? (t(!0), i(N, { key: 0 }, R(e.loadingRows, (d) => (t(), p(
|
740
|
+
e.isLoading && !e.fields.length ? (t(!0), i(N, { key: 0 }, R(e.loadingRows, (d) => (t(), p(Ee, {
|
741
741
|
key: d,
|
742
742
|
"is-loading": "",
|
743
743
|
"is-alternative": e.isAlternative,
|
744
744
|
row: a.value,
|
745
745
|
headers: e.headers
|
746
|
-
}, null, 8, ["is-alternative", "row", "headers"]))), 128)) : (t(!0), i(N, { key: 1 }, R(e.fields, (d, c) => (t(), p(
|
746
|
+
}, null, 8, ["is-alternative", "row", "headers"]))), 128)) : (t(!0), i(N, { key: 1 }, R(e.fields, (d, c) => (t(), p(Ee, {
|
747
747
|
key: c,
|
748
748
|
row: d,
|
749
749
|
headers: e.headers,
|
@@ -754,11 +754,11 @@ const Kt = {
|
|
754
754
|
R(l.$slots, (m, f) => ({
|
755
755
|
name: f,
|
756
756
|
fn: S((x) => [
|
757
|
-
|
757
|
+
k(l.$slots, f, F({ ref_for: !0 }, x))
|
758
758
|
])
|
759
759
|
}))
|
760
760
|
]), 1032, ["row", "headers", "is-loading", "is-alternative", "important"]))), 128))
|
761
|
-
], 64)) : (t(!0), i(N, { key: 1 }, R(e.headers, (d, c) => (t(), p(
|
761
|
+
], 64)) : (t(!0), i(N, { key: 1 }, R(e.headers, (d, c) => (t(), p(Ee, {
|
762
762
|
key: c,
|
763
763
|
row: d,
|
764
764
|
headers: e.headers,
|
@@ -770,12 +770,12 @@ const Kt = {
|
|
770
770
|
R(l.$slots, (m, f) => ({
|
771
771
|
name: f,
|
772
772
|
fn: S((x) => [
|
773
|
-
|
773
|
+
k(l.$slots, f, F({ ref_for: !0 }, x))
|
774
774
|
])
|
775
775
|
}))
|
776
776
|
]), 1032, ["row", "headers", "is-loading", "is-alternative", "value", "important"]))), 128)),
|
777
|
-
|
778
|
-
g(
|
777
|
+
k(l.$slots, "total", {}, () => [
|
778
|
+
g(Ee, {
|
779
779
|
"is-total": "",
|
780
780
|
headers: e.headers,
|
781
781
|
row: { label: "Total" },
|
@@ -935,7 +935,7 @@ const Kt = {
|
|
935
935
|
e.isRounded ? "rounded-full" : "rounded-sm"
|
936
936
|
]])
|
937
937
|
}, [
|
938
|
-
|
938
|
+
k(a.$slots, "default")
|
939
939
|
], 2));
|
940
940
|
}
|
941
941
|
}, hl = { class: "flex gap-y-3 flex-col text-lg font-medium" }, bl = { key: 0 }, wl = {
|
@@ -968,7 +968,7 @@ const Kt = {
|
|
968
968
|
l.isWarning ? {
|
969
969
|
name: "warning",
|
970
970
|
fn: S(() => [
|
971
|
-
|
971
|
+
k(r.$slots, "warning")
|
972
972
|
]),
|
973
973
|
key: "0"
|
974
974
|
} : void 0
|
@@ -1066,7 +1066,7 @@ const Kt = {
|
|
1066
1066
|
}, null, 8, ["icon", "variant", "height", "width"])) : u("", !0),
|
1067
1067
|
n("div", kl, [
|
1068
1068
|
n("div", Sl, [
|
1069
|
-
|
1069
|
+
k(r.$slots, "title", {}, () => [
|
1070
1070
|
n("span", Cl, w(e.title), 1)
|
1071
1071
|
]),
|
1072
1072
|
g(o(ae), F({
|
@@ -1103,7 +1103,7 @@ const Kt = {
|
|
1103
1103
|
n("span", {
|
1104
1104
|
class: v([e.isBig ? "text-xl" : "", "truncate"])
|
1105
1105
|
}, [
|
1106
|
-
|
1106
|
+
k(r.$slots, "content", {}, () => [
|
1107
1107
|
isNaN(e.percentValue) ? (t(), i(N, { key: 1 }, [
|
1108
1108
|
W(w(e.content), 1)
|
1109
1109
|
], 64)) : (t(), i("div", Ol, [
|
@@ -1138,14 +1138,14 @@ const Kt = {
|
|
1138
1138
|
])
|
1139
1139
|
], 2)
|
1140
1140
|
]),
|
1141
|
-
r.$slots.transfer ?
|
1141
|
+
r.$slots.transfer ? k(r.$slots, "transfer", { key: 0 }) : u("", !0)
|
1142
1142
|
])
|
1143
1143
|
], 2),
|
1144
|
-
r.$slots.warning ?
|
1144
|
+
r.$slots.warning ? k(r.$slots, "warning", { key: 0 }) : u("", !0)
|
1145
1145
|
], 64))
|
1146
1146
|
], 2));
|
1147
1147
|
}
|
1148
|
-
}, Ml = { class: "flex flex-col items-center justify-center gap-y-3 overflow-hidden" }, jl = { class: "w-full flex gap-x-3 items-center" }, Ll = { class: "flex flex-col font-medium overflow-hidden" },
|
1148
|
+
}, Ml = { class: "flex flex-col items-center justify-center gap-y-3 overflow-hidden" }, jl = { class: "w-full flex gap-x-3 items-center" }, Ll = { class: "flex flex-col font-medium overflow-hidden" }, El = { class: "flex items-center gap-2" }, Pl = { class: "truncate" }, Nl = {
|
1149
1149
|
key: 0,
|
1150
1150
|
class: "rounded-md py-1 px-3 text-sm text-oc-accent-1-500 bg-oc-accent-1-50"
|
1151
1151
|
}, zl = {
|
@@ -1181,7 +1181,7 @@ const Kt = {
|
|
1181
1181
|
setup(e, { emit: r }) {
|
1182
1182
|
const a = r;
|
1183
1183
|
return (l, s) => {
|
1184
|
-
var d, c, m, f, x, h, b, A, j, B, C, y, V, O,
|
1184
|
+
var d, c, m, f, x, h, b, A, j, B, C, y, V, O, $, I, L, P, E;
|
1185
1185
|
return t(), i("div", {
|
1186
1186
|
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 }])
|
1187
1187
|
}, [
|
@@ -1219,8 +1219,8 @@ const Kt = {
|
|
1219
1219
|
_: 1
|
1220
1220
|
}),
|
1221
1221
|
n("div", Ll, [
|
1222
|
-
n("div",
|
1223
|
-
n("span",
|
1222
|
+
n("div", El, [
|
1223
|
+
n("span", Pl, w(((d = e.customer) == null ? void 0 : d.name) || "-"), 1),
|
1224
1224
|
e.isBeneficiary ? (t(), i("span", Nl, w((c = e.customer.currency) == null ? void 0 : c.toUpperCase()), 1)) : u("", !0)
|
1225
1225
|
]),
|
1226
1226
|
e.isBeneficiary ? (t(), i("span", zl, [
|
@@ -1245,9 +1245,9 @@ const Kt = {
|
|
1245
1245
|
content: [
|
1246
1246
|
((C = (B = e.customer) == null ? void 0 : B.address) == null ? void 0 : C.street) || "",
|
1247
1247
|
((V = (y = e.customer) == null ? void 0 : y.address) == null ? void 0 : V.city) || "",
|
1248
|
-
((
|
1248
|
+
(($ = (O = e.customer) == null ? void 0 : O.address) == null ? void 0 : $.state) || "",
|
1249
1249
|
((L = (I = e.customer) == null ? void 0 : I.address) == null ? void 0 : L.postal_code) || "",
|
1250
|
-
((
|
1250
|
+
((E = (P = e.customer) == null ? void 0 : P.address) == null ? void 0 : E.country) || ""
|
1251
1251
|
].join(" ").trim() || "-"
|
1252
1252
|
}, null, 8, ["content"]))
|
1253
1253
|
])) : u("", !0)
|
@@ -1280,11 +1280,11 @@ const Kt = {
|
|
1280
1280
|
key: 4,
|
1281
1281
|
class: v({ "opacity-0 group-hover:opacity-100": e.isHover })
|
1282
1282
|
}, [
|
1283
|
-
|
1283
|
+
k(l.$slots, "bottom", {}, void 0, !0)
|
1284
1284
|
], 2)) : u("", !0)
|
1285
1285
|
]),
|
1286
1286
|
l.$slots.leading ? (t(), i("div", Hl, [
|
1287
|
-
|
1287
|
+
k(l.$slots, "leading", {}, void 0, !0)
|
1288
1288
|
])) : u("", !0)
|
1289
1289
|
], 2);
|
1290
1290
|
};
|
@@ -1366,7 +1366,7 @@ const Kt = {
|
|
1366
1366
|
n("div", Jl, [
|
1367
1367
|
n("span", null, w(e.title), 1),
|
1368
1368
|
n("span", Zl, [
|
1369
|
-
|
1369
|
+
k(r.$slots, "description", {}, () => [
|
1370
1370
|
W(w(e.description), 1)
|
1371
1371
|
])
|
1372
1372
|
])
|
@@ -1380,7 +1380,7 @@ const Kt = {
|
|
1380
1380
|
n("span", {
|
1381
1381
|
class: v(["text-lg font-medium", e.iconTextClass])
|
1382
1382
|
}, [
|
1383
|
-
|
1383
|
+
k(r.$slots, "iconText", {}, () => [
|
1384
1384
|
W(w(e.iconText), 1)
|
1385
1385
|
])
|
1386
1386
|
], 2)
|
@@ -1424,7 +1424,7 @@ const Kt = {
|
|
1424
1424
|
n("div", {
|
1425
1425
|
onMouseleave: l[1] || (l[1] = (d) => r.value = !1)
|
1426
1426
|
}, [
|
1427
|
-
|
1427
|
+
k(a.$slots, "menu")
|
1428
1428
|
], 32)
|
1429
1429
|
]),
|
1430
1430
|
default: S(() => [
|
@@ -1462,7 +1462,7 @@ const Kt = {
|
|
1462
1462
|
alt: e.title
|
1463
1463
|
}, null, 10, sa),
|
1464
1464
|
n("div", ra, w(e.title), 1),
|
1465
|
-
|
1465
|
+
k(r.$slots, "default")
|
1466
1466
|
]));
|
1467
1467
|
}
|
1468
1468
|
}), ca = { class: "flex items-center gap-x-5" }, ua = { class: "flex-1 flex items-center gap-x-3 font-medium capitalize" }, ma = { class: "flex flex-col gap-2" }, fa = { class: "flex items-center gap-x-3 overflow-hidden" }, va = { class: "truncate" }, ga = {
|
@@ -1509,7 +1509,7 @@ const Kt = {
|
|
1509
1509
|
};
|
1510
1510
|
return we(() => {
|
1511
1511
|
c(), window.addEventListener("resize", c);
|
1512
|
-
}),
|
1512
|
+
}), Et(() => {
|
1513
1513
|
window.removeEventListener("resize", c);
|
1514
1514
|
}), (f, x) => {
|
1515
1515
|
var h;
|
@@ -1520,7 +1520,7 @@ const Kt = {
|
|
1520
1520
|
}, [
|
1521
1521
|
n("div", ca, [
|
1522
1522
|
n("div", ua, [
|
1523
|
-
|
1523
|
+
k(f.$slots, "logo"),
|
1524
1524
|
n("div", ma, [
|
1525
1525
|
n("div", fa, [
|
1526
1526
|
n("span", va, w(e.title), 1),
|
@@ -1535,7 +1535,7 @@ const Kt = {
|
|
1535
1535
|
e.description ? (t(), i("div", pa, w(e.description), 1)) : u("", !0)
|
1536
1536
|
])
|
1537
1537
|
]),
|
1538
|
-
|
1538
|
+
k(f.$slots, "right", {}, () => [
|
1539
1539
|
n("div", ya, [
|
1540
1540
|
g(o(T), {
|
1541
1541
|
name: "pencil",
|
@@ -1633,11 +1633,11 @@ const Kt = {
|
|
1633
1633
|
onMouseleave: c[1] || (c[1] = (m) => l.value = !1)
|
1634
1634
|
}, [
|
1635
1635
|
n("div", ka, [
|
1636
|
-
|
1636
|
+
k(d.$slots, "logo"),
|
1637
1637
|
n("div", Sa, [
|
1638
1638
|
n("div", Ca, [
|
1639
1639
|
n("div", Ba, [
|
1640
|
-
|
1640
|
+
k(d.$slots, "title", {}, () => [
|
1641
1641
|
e.title ? (t(), i("span", Va, w(e.title), 1)) : u("", !0)
|
1642
1642
|
]),
|
1643
1643
|
e.chips.length ? (t(), i("div", Oa, [
|
@@ -1652,7 +1652,7 @@ const Kt = {
|
|
1652
1652
|
}, null, 8, ["label", "variant", "icon", "icon-size", "icon-tooltip", "class"]))), 128))
|
1653
1653
|
])) : u("", !0)
|
1654
1654
|
]),
|
1655
|
-
|
1655
|
+
k(d.$slots, "actions", {}, () => [
|
1656
1656
|
e.isDropdownActionsVisible && !e.isDisabled ? (t(), p(o(se), {
|
1657
1657
|
key: 0,
|
1658
1658
|
modelValue: l.value,
|
@@ -1660,7 +1660,7 @@ const Kt = {
|
|
1660
1660
|
placement: "bottom-end"
|
1661
1661
|
}, {
|
1662
1662
|
menu: S(() => [
|
1663
|
-
|
1663
|
+
k(d.$slots, "menu")
|
1664
1664
|
]),
|
1665
1665
|
default: S(() => [
|
1666
1666
|
g(o(T), {
|
@@ -1673,7 +1673,7 @@ const Kt = {
|
|
1673
1673
|
}, 8, ["modelValue"])) : u("", !0)
|
1674
1674
|
])
|
1675
1675
|
]),
|
1676
|
-
|
1676
|
+
k(d.$slots, "default", {}, () => [
|
1677
1677
|
e.descriptionIcon || e.description || e.details.length ? (t(), i("div", Ia, [
|
1678
1678
|
n("div", Ta, [
|
1679
1679
|
e.descriptionIcon ? (t(), p(o(T), {
|
@@ -1706,11 +1706,11 @@ const Kt = {
|
|
1706
1706
|
])) : u("", !0)
|
1707
1707
|
])
|
1708
1708
|
]),
|
1709
|
-
|
1709
|
+
k(d.$slots, "append")
|
1710
1710
|
])
|
1711
1711
|
], 34));
|
1712
1712
|
}
|
1713
|
-
}), ja = ["src"], La = { class: "flex flex-col gap-y-1 overflow-hidden" },
|
1713
|
+
}), ja = ["src"], La = { class: "flex flex-col gap-y-1 overflow-hidden" }, Ea = { class: "flex items-center justify-between" }, Pa = { class: "flex text-sm text-oc-text-400 items-center gap-x-3" }, Na = {
|
1714
1714
|
key: 0,
|
1715
1715
|
class: "text-base text-oc-text font-medium"
|
1716
1716
|
}, za = {
|
@@ -1756,8 +1756,8 @@ const Kt = {
|
|
1756
1756
|
}, null, 10, ja)
|
1757
1757
|
], 2),
|
1758
1758
|
n("div", La, [
|
1759
|
-
n("div",
|
1760
|
-
n("div",
|
1759
|
+
n("div", Ea, [
|
1760
|
+
n("div", Pa, [
|
1761
1761
|
e.title ? (t(), i("span", Na, w(e.title), 1)) : u("", !0),
|
1762
1762
|
e.chips.length ? (t(), i("div", za, [
|
1763
1763
|
(t(!0), i(N, null, R(e.chips, (s, d) => (t(), p(o(ne), {
|
@@ -1813,7 +1813,7 @@ const Kt = {
|
|
1813
1813
|
placement: "bottom-end"
|
1814
1814
|
}, {
|
1815
1815
|
menu: S(() => [
|
1816
|
-
|
1816
|
+
k(s.$slots, "menu")
|
1817
1817
|
]),
|
1818
1818
|
default: S(() => [
|
1819
1819
|
n("div", Ga, [
|
@@ -1908,7 +1908,7 @@ const Kt = {
|
|
1908
1908
|
}, null, 8, ["name"])
|
1909
1909
|
])),
|
1910
1910
|
n("div", tn, [
|
1911
|
-
|
1911
|
+
k(c.$slots, "logo"),
|
1912
1912
|
n("div", ln, [
|
1913
1913
|
n("div", an, [
|
1914
1914
|
n("div", nn, [
|
@@ -1925,13 +1925,13 @@ const Kt = {
|
|
1925
1925
|
])) : u("", !0)
|
1926
1926
|
])
|
1927
1927
|
]),
|
1928
|
-
|
1928
|
+
k(c.$slots, "default", {}, () => [
|
1929
1929
|
e.description ? (t(), i("div", rn, [
|
1930
1930
|
n("div", dn, w(e.description), 1)
|
1931
1931
|
])) : u("", !0)
|
1932
1932
|
])
|
1933
1933
|
]),
|
1934
|
-
|
1934
|
+
k(c.$slots, "right", {
|
1935
1935
|
isOpen: s.value,
|
1936
1936
|
toggleAccordion: d
|
1937
1937
|
}, () => [
|
@@ -1961,9 +1961,9 @@ const Kt = {
|
|
1961
1961
|
])
|
1962
1962
|
], 2),
|
1963
1963
|
Oe(n("div", mn, [
|
1964
|
-
|
1964
|
+
k(c.$slots, "content")
|
1965
1965
|
], 512), [
|
1966
|
-
[
|
1966
|
+
[Pe, s.value]
|
1967
1967
|
])
|
1968
1968
|
], 2));
|
1969
1969
|
}
|
@@ -2036,7 +2036,7 @@ const Kt = {
|
|
2036
2036
|
R(l.$slots, (d, c) => ({
|
2037
2037
|
name: c,
|
2038
2038
|
fn: S((m) => [
|
2039
|
-
|
2039
|
+
k(l.$slots, c, me(Ie(m)))
|
2040
2040
|
])
|
2041
2041
|
}))
|
2042
2042
|
]), 1040, ["class"]));
|
@@ -2124,7 +2124,7 @@ const Kt = {
|
|
2124
2124
|
n("div", {
|
2125
2125
|
class: v({ "text-base font-medium": a.value })
|
2126
2126
|
}, [
|
2127
|
-
|
2127
|
+
k(l.$slots, "content", {}, () => [
|
2128
2128
|
n("span", null, w(e.content), 1)
|
2129
2129
|
])
|
2130
2130
|
], 2)
|
@@ -2180,11 +2180,11 @@ const Kt = {
|
|
2180
2180
|
_: 1
|
2181
2181
|
})) : u("", !0)
|
2182
2182
|
], 2)) : u("", !0),
|
2183
|
-
|
2183
|
+
k(l.$slots, "header"),
|
2184
2184
|
n("div", bn, [
|
2185
|
-
|
2185
|
+
k(l.$slots, "default")
|
2186
2186
|
]),
|
2187
|
-
|
2187
|
+
k(l.$slots, "footer"),
|
2188
2188
|
e.isLoading ? (t(), i("div", wn, [
|
2189
2189
|
g(o(T), {
|
2190
2190
|
name: "loading-2",
|
@@ -2240,14 +2240,14 @@ const Kt = {
|
|
2240
2240
|
}, [
|
2241
2241
|
e.modelValue ? (t(), i("div", $n, [
|
2242
2242
|
n("div", kn, [
|
2243
|
-
|
2243
|
+
k(l.$slots, "header", {}, () => [
|
2244
2244
|
n("div", Sn, [
|
2245
2245
|
n("span", Cn, [
|
2246
|
-
|
2246
|
+
k(l.$slots, "title", {}, () => [
|
2247
2247
|
W(w(e.title), 1)
|
2248
2248
|
])
|
2249
2249
|
]),
|
2250
|
-
|
2250
|
+
k(l.$slots, "description", {}, () => [
|
2251
2251
|
n("div", Bn, [
|
2252
2252
|
e.description ? (t(), i("span", Vn, w(e.description), 1)) : u("", !0),
|
2253
2253
|
g(o(Me), {
|
@@ -2315,7 +2315,7 @@ const Kt = {
|
|
2315
2315
|
])
|
2316
2316
|
])
|
2317
2317
|
]),
|
2318
|
-
|
2318
|
+
k(l.$slots, "bottom")
|
2319
2319
|
])) : u("", !0)
|
2320
2320
|
], 2));
|
2321
2321
|
}
|
@@ -2325,10 +2325,10 @@ const Kt = {
|
|
2325
2325
|
}, Ln = {
|
2326
2326
|
key: 1,
|
2327
2327
|
class: "w-[24px] h-[24px] min-w-[24px] flex items-center justify-center border rounded-full text-oc-warning border-oc-warning"
|
2328
|
-
},
|
2328
|
+
}, En = {
|
2329
2329
|
key: 2,
|
2330
2330
|
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"
|
2331
|
-
},
|
2331
|
+
}, Pn = { class: "flex flex-col gap-y-1" }, Nn = { class: "font-medium" }, zn = { class: "text-oc-text-300 text-sm" }, Hm = /* @__PURE__ */ Z({
|
2332
2332
|
__name: "OcOnboardingListItem",
|
2333
2333
|
props: {
|
2334
2334
|
title: {
|
@@ -2371,15 +2371,15 @@ const Kt = {
|
|
2371
2371
|
width: "18",
|
2372
2372
|
height: "18"
|
2373
2373
|
})
|
2374
|
-
])) : e.number ? (t(), i("div",
|
2375
|
-
n("div",
|
2376
|
-
|
2374
|
+
])) : e.number ? (t(), i("div", En, w(e.number), 1)) : u("", !0),
|
2375
|
+
n("div", Pn, [
|
2376
|
+
k(r.$slots, "default", {}, () => [
|
2377
2377
|
n("span", Nn, w(e.title), 1),
|
2378
2378
|
n("span", zn, w(e.description), 1)
|
2379
2379
|
])
|
2380
2380
|
])
|
2381
2381
|
]),
|
2382
|
-
|
2382
|
+
k(r.$slots, "action", {}, () => [
|
2383
2383
|
e.isButtonVisible ? (t(), p(o(X), F({ key: 0 }, e.buttonOptions, { class: "shrink-0" }), null, 16)) : u("", !0)
|
2384
2384
|
])
|
2385
2385
|
]));
|
@@ -2431,7 +2431,7 @@ const Kt = {
|
|
2431
2431
|
const r = M(), a = e, l = async (s) => {
|
2432
2432
|
await He(), r.value && (r.value.style.maxHeight = s ? "max-content" : "0");
|
2433
2433
|
};
|
2434
|
-
return ue(() => a.isExpandable, l),
|
2434
|
+
return ue(() => a.isExpandable, l), Pt(() => {
|
2435
2435
|
l(a.isExpandable);
|
2436
2436
|
}), (s, d) => (t(), i("div", {
|
2437
2437
|
class: v(e.isDisabled && "opacity-60")
|
@@ -2444,7 +2444,7 @@ const Kt = {
|
|
2444
2444
|
]]),
|
2445
2445
|
onClick: d[0] || (d[0] = (c) => a.isDisabled ? null : s.$emit("update:isExpandable", !a.isExpandable))
|
2446
2446
|
}, [
|
2447
|
-
|
2447
|
+
k(s.$slots, "header", {}, () => [
|
2448
2448
|
W(w(e.header), 1)
|
2449
2449
|
]),
|
2450
2450
|
e.showIcon ? (t(), p(o(T), {
|
@@ -2461,7 +2461,7 @@ const Kt = {
|
|
2461
2461
|
n("div", {
|
2462
2462
|
class: v(["text-oc-text text-sm p-4 rounded-b z-0 border-x border-b", [e.isExpandable ? "border-oc-gray-200" : " border-transparent", e.bodyStyle]])
|
2463
2463
|
}, [
|
2464
|
-
|
2464
|
+
k(s.$slots, "body", {}, () => [
|
2465
2465
|
W(w(e.body), 1)
|
2466
2466
|
])
|
2467
2467
|
], 2)
|
@@ -2500,7 +2500,7 @@ const Kt = {
|
|
2500
2500
|
return (c, m) => (t(), i("div", {
|
2501
2501
|
class: v(["rounded-full w-7 h-7 flex items-center justify-center", s[e.variant]])
|
2502
2502
|
}, [
|
2503
|
-
a.value ?
|
2503
|
+
a.value ? k(c.$slots, "default", { key: 0 }) : (t(), p(o(T), {
|
2504
2504
|
key: 1,
|
2505
2505
|
width: d[e.variant],
|
2506
2506
|
height: d[e.variant],
|
@@ -2551,7 +2551,7 @@ const Kt = {
|
|
2551
2551
|
n("span", Hn, w(e.description), 1)
|
2552
2552
|
])
|
2553
2553
|
]),
|
2554
|
-
|
2554
|
+
k(d.$slots, "button-group"),
|
2555
2555
|
g(o(T), {
|
2556
2556
|
name: "chevron-down",
|
2557
2557
|
class: v(["text-oc-text-400 transition duration-300", a.value ? "rotate-180" : ""])
|
@@ -2562,7 +2562,7 @@ const Kt = {
|
|
2562
2562
|
ref: r,
|
2563
2563
|
class: "transition-all duration-300"
|
2564
2564
|
}, [
|
2565
|
-
|
2565
|
+
k(d.$slots, "default")
|
2566
2566
|
], 512)
|
2567
2567
|
], 2));
|
2568
2568
|
}
|
@@ -2672,9 +2672,9 @@ const Kt = {
|
|
2672
2672
|
e.isFullWidth ? "w-full" : "",
|
2673
2673
|
e.isBig ? "text-base" : "text-sm"
|
2674
2674
|
]]),
|
2675
|
-
onClick: (
|
2675
|
+
onClick: ($) => j(y.value)
|
2676
2676
|
}, [
|
2677
|
-
|
2677
|
+
k(B.$slots, y.value, {}, () => [
|
2678
2678
|
y.icon ? (t(), p(o(T), {
|
2679
2679
|
key: 0,
|
2680
2680
|
name: y.icon,
|
@@ -2724,7 +2724,7 @@ const Kt = {
|
|
2724
2724
|
class: v(["flex items-center rounded-sm cursor-pointer text-sm p-3 gap-x-3 border h-[40px] border-oc-gray-200", { "border-oc-primary border-2 font-medium": e.modelValue === e.tab.value }]),
|
2725
2725
|
onClick: a[0] || (a[0] = (l) => r.$emit("update:modelValue", e.tab.value))
|
2726
2726
|
}, [
|
2727
|
-
|
2727
|
+
k(r.$slots, "logo", {}, () => [
|
2728
2728
|
e.tab.logo ? (t(), i("img", {
|
2729
2729
|
key: 0,
|
2730
2730
|
src: e.tab.logo,
|
@@ -2791,7 +2791,7 @@ const Kt = {
|
|
2791
2791
|
emits: ["update:model-value"],
|
2792
2792
|
setup(e) {
|
2793
2793
|
return (r, a) => (t(), i("div", Zn, [
|
2794
|
-
|
2794
|
+
k(r.$slots, "default", {}, () => [
|
2795
2795
|
(t(!0), i(N, null, R(e.steps, (l, s) => (t(), p(Jn, {
|
2796
2796
|
key: s,
|
2797
2797
|
title: l.title,
|
@@ -2829,7 +2829,7 @@ const Kt = {
|
|
2829
2829
|
R(r.$slots, (s, d) => ({
|
2830
2830
|
name: d,
|
2831
2831
|
fn: S((c) => [
|
2832
|
-
|
2832
|
+
k(r.$slots, d, F({ ref_for: !0 }, c))
|
2833
2833
|
])
|
2834
2834
|
}))
|
2835
2835
|
]), 1040, ["is-active", "onClick"]))), 128))
|
@@ -2883,25 +2883,25 @@ const Kt = {
|
|
2883
2883
|
class: v(e.isDisabled ? "text-oc-text-300" : e.isActive ? "font-medium" : "")
|
2884
2884
|
}, w(e.label), 3)) : u("", !0)
|
2885
2885
|
]),
|
2886
|
-
|
2886
|
+
k(r.$slots, `${e.value}-description`)
|
2887
2887
|
], 2));
|
2888
2888
|
}
|
2889
2889
|
}), ti = {}, li = { class: "md:pr-9 md:pl-7 pr-5 pl-5 md:h-[55px] h-[72px] w-full flex" };
|
2890
2890
|
function ai(e, r) {
|
2891
2891
|
return t(), i("div", li, [
|
2892
|
-
|
2892
|
+
k(e.$slots, "default")
|
2893
2893
|
]);
|
2894
2894
|
}
|
2895
2895
|
const Zm = /* @__PURE__ */ ge(ti, [["render", ai]]), ni = {}, ii = { class: "px-3 md:px-[40px] border-b border-oc-gray-200 h-[68px] w-full flex items-center relative bg-oc-accent-1-600" };
|
2896
2896
|
function oi(e, r) {
|
2897
2897
|
return t(), i("div", ii, [
|
2898
|
-
|
2898
|
+
k(e.$slots, "default")
|
2899
2899
|
]);
|
2900
2900
|
}
|
2901
2901
|
const Qm = /* @__PURE__ */ ge(ni, [["render", oi]]), si = {}, ri = { class: "flex items-center gap-x-3" };
|
2902
2902
|
function di(e, r) {
|
2903
2903
|
return t(), i("div", ri, [
|
2904
|
-
|
2904
|
+
k(e.$slots, "default")
|
2905
2905
|
]);
|
2906
2906
|
}
|
2907
2907
|
const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-center" }, ui = {
|
@@ -2915,8 +2915,8 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
2915
2915
|
emits: ["back"],
|
2916
2916
|
setup(e) {
|
2917
2917
|
return (r, a) => (t(), i("div", ci, [
|
2918
|
-
|
2919
|
-
|
2918
|
+
k(r.$slots, "default", {}, () => [
|
2919
|
+
k(r.$slots, "before"),
|
2920
2920
|
e.isSaved ? (t(), i("span", {
|
2921
2921
|
key: 0,
|
2922
2922
|
class: "text-oc-text-100 flex items-center cursor-pointer",
|
@@ -2928,7 +2928,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
2928
2928
|
}),
|
2929
2929
|
a[1] || (a[1] = W(" Back "))
|
2930
2930
|
])) : (t(), i("span", ui, " Unsaved changes ")),
|
2931
|
-
|
2931
|
+
k(r.$slots, "after")
|
2932
2932
|
])
|
2933
2933
|
]));
|
2934
2934
|
}
|
@@ -2949,8 +2949,8 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
2949
2949
|
emits: ["save", "cancel", "addition-click", "dropdown-action"],
|
2950
2950
|
setup(e, { emit: r }) {
|
2951
2951
|
return (a, l) => (t(), i("div", mi, [
|
2952
|
-
|
2953
|
-
|
2952
|
+
k(a.$slots, "default", {}, () => [
|
2953
|
+
k(a.$slots, "before"),
|
2954
2954
|
n("div", fi, [
|
2955
2955
|
e.isSecondaryButtonVisible ? (t(), p(o(X), F({
|
2956
2956
|
key: 0,
|
@@ -2960,7 +2960,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
2960
2960
|
}, e.secondaryProps, {
|
2961
2961
|
onClick: l[0] || (l[0] = (s) => a.$emit("cancel"))
|
2962
2962
|
}), null, 16)) : u("", !0),
|
2963
|
-
|
2963
|
+
k(a.$slots, "primary-button", {}, () => [
|
2964
2964
|
g(o(X), F({
|
2965
2965
|
class: "min-w-[100px]",
|
2966
2966
|
label: "Save"
|
@@ -2969,7 +2969,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
2969
2969
|
}), null, 16)
|
2970
2970
|
])
|
2971
2971
|
]),
|
2972
|
-
|
2972
|
+
k(a.$slots, "after")
|
2973
2973
|
])
|
2974
2974
|
]));
|
2975
2975
|
}
|
@@ -3083,7 +3083,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3083
3083
|
setup(e) {
|
3084
3084
|
return (r, a) => (t(), i("div", xi, [
|
3085
3085
|
n("div", hi, [
|
3086
|
-
|
3086
|
+
k(r.$slots, "title", {}, () => [
|
3087
3087
|
e.isLoading ? (t(), p(o(le), {
|
3088
3088
|
key: 1,
|
3089
3089
|
class: "w-1/2 h-[20px] rounded"
|
@@ -3092,7 +3092,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3092
3092
|
e.chipProps ? (t(), p(o(ne), me(F({ key: 0 }, e.chipProps)), null, 16)) : u("", !0)
|
3093
3093
|
]),
|
3094
3094
|
e.description || r.$slots.description ? (t(), i("div", wi, [
|
3095
|
-
|
3095
|
+
k(r.$slots, "description", {}, () => [
|
3096
3096
|
e.isLoading ? (t(), p(o(le), {
|
3097
3097
|
key: 1,
|
3098
3098
|
class: "w-1/3 h-[18px] rounded"
|
@@ -3190,7 +3190,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3190
3190
|
_: 1
|
3191
3191
|
}, 8, ["value"])
|
3192
3192
|
])) : u("", !0),
|
3193
|
-
|
3193
|
+
k(a.$slots, "mobile-amount"),
|
3194
3194
|
e.chipProps ? (t(), p(o(ne), F({ key: 1 }, e.chipProps, { class: "self-start" }), null, 16)) : u("", !0)
|
3195
3195
|
]));
|
3196
3196
|
}
|
@@ -3244,19 +3244,19 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3244
3244
|
r.$slots.title ? {
|
3245
3245
|
name: "title",
|
3246
3246
|
fn: S(() => [
|
3247
|
-
|
3247
|
+
k(r.$slots, "title")
|
3248
3248
|
]),
|
3249
3249
|
key: "0"
|
3250
3250
|
} : void 0,
|
3251
3251
|
r.$slots.description ? {
|
3252
3252
|
name: "description",
|
3253
3253
|
fn: S(() => [
|
3254
|
-
|
3254
|
+
k(r.$slots, "description")
|
3255
3255
|
]),
|
3256
3256
|
key: "1"
|
3257
3257
|
} : void 0
|
3258
3258
|
]), 1032, ["title", "description", "chip-props", "copy-value", "tooltip-options", "is-copy", "is-loading"]),
|
3259
|
-
|
3259
|
+
k(r.$slots, "right", {}, () => [
|
3260
3260
|
g(o(Yi), {
|
3261
3261
|
class: "shrink-0",
|
3262
3262
|
"primary-button-props": e.primaryButtonProps,
|
@@ -3275,7 +3275,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3275
3275
|
class: "md:hidden"
|
3276
3276
|
}, {
|
3277
3277
|
"mobile-amount": S(() => [
|
3278
|
-
|
3278
|
+
k(r.$slots, "mobile-amount")
|
3279
3279
|
]),
|
3280
3280
|
_: 3
|
3281
3281
|
}, 8, ["secondary-button-props", "primary-button-props", "description", "chip-props", "title"])) : u("", !0)
|
@@ -3285,7 +3285,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3285
3285
|
}, Di = ["href"], Ai = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Mi = {
|
3286
3286
|
key: 0,
|
3287
3287
|
class: "border-l group-hover:border-oc-accent-1-100 border-transparent"
|
3288
|
-
}, ji = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Li = { class: "flex flex-col" },
|
3288
|
+
}, ji = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Li = { class: "flex flex-col" }, Ei = { class: "p-2 border-b border-gray-200" }, Pi = {
|
3289
3289
|
key: 0,
|
3290
3290
|
class: "p-2"
|
3291
3291
|
}, Ni = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, zi = {
|
@@ -3391,7 +3391,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3391
3391
|
var B, C, y;
|
3392
3392
|
return [
|
3393
3393
|
n("div", Li, [
|
3394
|
-
n("div",
|
3394
|
+
n("div", Ei, [
|
3395
3395
|
(t(!0), i(N, null, R((B = e.primaryActions.dropdownOptions) == null ? void 0 : B.top, (V, O) => (t(), i(N, { key: O }, [
|
3396
3396
|
V != null && V.isCopyButton ? (t(), p(o(be), {
|
3397
3397
|
key: 0,
|
@@ -3403,11 +3403,11 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3403
3403
|
key: 1,
|
3404
3404
|
ref_for: !0
|
3405
3405
|
}, V, {
|
3406
|
-
onClick: A[0] || (A[0] = (
|
3406
|
+
onClick: A[0] || (A[0] = ($) => c.value = !1)
|
3407
3407
|
}), null, 16))
|
3408
3408
|
], 64))), 128))
|
3409
3409
|
]),
|
3410
|
-
(C = e.primaryActions.dropdownOptions) != null && C.bottom ? (t(), i("div",
|
3410
|
+
(C = e.primaryActions.dropdownOptions) != null && C.bottom ? (t(), i("div", Pi, [
|
3411
3411
|
(t(!0), i(N, null, R((y = e.primaryActions.dropdownOptions) == null ? void 0 : y.bottom, (V, O) => (t(), i("div", { key: O }, [
|
3412
3412
|
V != null && V.tooltipText ? (t(), p(o(ae), {
|
3413
3413
|
key: 0,
|
@@ -3420,7 +3420,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3420
3420
|
]),
|
3421
3421
|
default: S(() => [
|
3422
3422
|
g(o(be), F({ ref_for: !0 }, V, {
|
3423
|
-
onClick: A[1] || (A[1] = (
|
3423
|
+
onClick: A[1] || (A[1] = ($) => c.value = !1)
|
3424
3424
|
}), null, 16)
|
3425
3425
|
]),
|
3426
3426
|
_: 2
|
@@ -3428,7 +3428,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3428
3428
|
key: 1,
|
3429
3429
|
ref_for: !0
|
3430
3430
|
}, V, {
|
3431
|
-
onClick: A[2] || (A[2] = (
|
3431
|
+
onClick: A[2] || (A[2] = ($) => c.value = !1)
|
3432
3432
|
}), null, 16))
|
3433
3433
|
]))), 128))
|
3434
3434
|
])) : u("", !0)
|
@@ -3576,7 +3576,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3576
3576
|
class: v(["cursor-pointer flex flex-col transition-all duration-300 ease-in-out relative bg-[var(--oc-sidebar-background)]", [m.value, { "overflow-auto": e.isExpanded }]])
|
3577
3577
|
}, [
|
3578
3578
|
n("div", Wi, [
|
3579
|
-
|
3579
|
+
k(f.$slots, "before", { isExpanded: e.isExpanded }),
|
3580
3580
|
(t(!0), i(N, null, R(e.sidebarMenu, (h, b) => (t(), i(N, { key: b }, [
|
3581
3581
|
e.isExpanded ? u("", !0) : (t(), i("div", Ki)),
|
3582
3582
|
h.label || h.items.length > 0 ? (t(), p(o(go), {
|
@@ -3621,7 +3621,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3621
3621
|
_: 2
|
3622
3622
|
}, 1032, ["label", "is-sidebar-expanded"])) : u("", !0)
|
3623
3623
|
], 64))), 128)),
|
3624
|
-
|
3624
|
+
k(f.$slots, "after", { isExpanded: e.isExpanded })
|
3625
3625
|
]),
|
3626
3626
|
g(o(Ao), {
|
3627
3627
|
"is-expanded": e.isExpanded,
|
@@ -3630,10 +3630,10 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3630
3630
|
onSupportClick: x[1] || (x[1] = (h) => f.$emit("support-click"))
|
3631
3631
|
}, {
|
3632
3632
|
user: S(() => [
|
3633
|
-
|
3633
|
+
k(f.$slots, "user")
|
3634
3634
|
]),
|
3635
3635
|
default: S(() => [
|
3636
|
-
|
3636
|
+
k(f.$slots, "banner")
|
3637
3637
|
]),
|
3638
3638
|
_: 3
|
3639
3639
|
}, 8, ["is-expanded", "display-name"])
|
@@ -3674,7 +3674,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3674
3674
|
}]),
|
3675
3675
|
name: "sidebar-submenu-icon"
|
3676
3676
|
}, null, 8, ["class"])) : u("", !0),
|
3677
|
-
|
3677
|
+
k(r.$slots, "label", {
|
3678
3678
|
menu: e.menu,
|
3679
3679
|
submenu: l
|
3680
3680
|
})
|
@@ -3768,7 +3768,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3768
3768
|
return (s, d) => (t(), i("span", {
|
3769
3769
|
class: v(["rounded-full flex items-center gap-x-3 py-1 px-3 text-sm leading-[20px]", a.value])
|
3770
3770
|
}, [
|
3771
|
-
|
3771
|
+
k(s.$slots, "default", {}, () => [
|
3772
3772
|
n("div", Gi, [
|
3773
3773
|
e.iconTooltip && e.icon ? (t(), p(o(ae), {
|
3774
3774
|
key: 0,
|
@@ -3938,7 +3938,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
3938
3938
|
n("div", {
|
3939
3939
|
class: v(["min-h-0 flex flex-col", e.isSidebarExpanded ? "gap-y-3" : "gap-y-4"])
|
3940
3940
|
}, [
|
3941
|
-
|
3941
|
+
k(r.$slots, "default")
|
3942
3942
|
], 2)
|
3943
3943
|
], 2)
|
3944
3944
|
]));
|
@@ -4041,7 +4041,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4041
4041
|
}, ["stop"]))
|
4042
4042
|
}, [
|
4043
4043
|
n("div", $o, [
|
4044
|
-
|
4044
|
+
k(m.$slots, "default")
|
4045
4045
|
])
|
4046
4046
|
], 2)) : u("", !0),
|
4047
4047
|
!e.isExpanded && e.isMenuExpanded ? (t(), i("div", {
|
@@ -4052,7 +4052,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4052
4052
|
onClick: f[1] || (f[1] = fe(() => {
|
4053
4053
|
}, ["stop"]))
|
4054
4054
|
}, [
|
4055
|
-
|
4055
|
+
k(m.$slots, "default")
|
4056
4056
|
], 512)) : u("", !0)
|
4057
4057
|
])), [
|
4058
4058
|
[o(nt), c]
|
@@ -4105,7 +4105,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4105
4105
|
setup(e) {
|
4106
4106
|
return (r, a) => (t(), i("div", Io, [
|
4107
4107
|
n("div", To, [
|
4108
|
-
e.isExpanded ?
|
4108
|
+
e.isExpanded ? k(r.$slots, "default", { key: 0 }) : u("", !0),
|
4109
4109
|
n("div", {
|
4110
4110
|
class: v(["flex items-center gap-x-3 min-h-[36px]", {
|
4111
4111
|
"flex-col gap-y-4": !e.isExpanded
|
@@ -4122,12 +4122,12 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4122
4122
|
}),
|
4123
4123
|
e.isExpanded ? (t(), i("span", Do, "Contact support")) : u("", !0)
|
4124
4124
|
]),
|
4125
|
-
|
4125
|
+
k(r.$slots, "user")
|
4126
4126
|
], 2)
|
4127
4127
|
])
|
4128
4128
|
]));
|
4129
4129
|
}
|
4130
|
-
}, Mo = { class: "relative" }, jo = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, Lo = { class: "py-2 px-3 gap-x-3 flex items-center" },
|
4130
|
+
}, Mo = { class: "relative" }, jo = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, Lo = { class: "py-2 px-3 gap-x-3 flex items-center" }, Eo = { class: "text-oc-accent-2 flex-1 font-medium" }, Po = { class: "flex items-center gap-x-2" }, No = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, rf = {
|
4131
4131
|
__name: "OcSidebarFeatureBanners",
|
4132
4132
|
props: {
|
4133
4133
|
isStacked: {
|
@@ -4152,8 +4152,8 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4152
4152
|
name: "sparkle-2",
|
4153
4153
|
class: "text-oc-accent-2"
|
4154
4154
|
}),
|
4155
|
-
n("div",
|
4156
|
-
n("div",
|
4155
|
+
n("div", Eo, w(e.title), 1),
|
4156
|
+
n("div", Po, [
|
4157
4157
|
g(o(T), {
|
4158
4158
|
name: "x",
|
4159
4159
|
class: "text-oc-text-300 hover:text-oc-text",
|
@@ -4343,7 +4343,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4343
4343
|
n("span", {
|
4344
4344
|
class: v([r.value[e.size].title, "font-medium"])
|
4345
4345
|
}, w(e.title), 3),
|
4346
|
-
|
4346
|
+
k(a.$slots, "description", {}, () => [
|
4347
4347
|
n("span", {
|
4348
4348
|
class: v([r.value[e.size].description, "text-oc-text-400 text-center"])
|
4349
4349
|
}, w(e.description), 3)
|
@@ -4554,7 +4554,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4554
4554
|
setup(e) {
|
4555
4555
|
return (r, a) => (t(), i("div", ns, [
|
4556
4556
|
n("div", is, [
|
4557
|
-
(t(!0), i(N, null, R(e.isLoading ? 2 : e.overviewTabs, (l) =>
|
4557
|
+
(t(!0), i(N, null, R(e.isLoading ? 2 : e.overviewTabs, (l) => k(r.$slots, l.value, { tab: l }, () => [
|
4558
4558
|
(t(), p(Xo, {
|
4559
4559
|
key: l.value,
|
4560
4560
|
title: l.title,
|
@@ -4585,7 +4585,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4585
4585
|
"container-class": e.containerClass
|
4586
4586
|
}, {
|
4587
4587
|
warning: S(() => [
|
4588
|
-
|
4588
|
+
k(r.$slots, "warning")
|
4589
4589
|
]),
|
4590
4590
|
_: 3
|
4591
4591
|
}, 8, ["is-loading", "items", "container-class"])
|
@@ -4594,7 +4594,7 @@ const _m = /* @__PURE__ */ ge(si, [["render", di]]), ci = { class: "flex items-c
|
|
4594
4594
|
}, ss = {}, rs = { class: "flex gap-x-5 md:flex-nowrap flex-wrap p-3 md:items-center bg-oc-gray-50 border border-oc-gray-200 rounded overflow-hidden" };
|
4595
4595
|
function ds(e, r) {
|
4596
4596
|
return t(), i("div", rs, [
|
4597
|
-
|
4597
|
+
k(e.$slots, "default")
|
4598
4598
|
]);
|
4599
4599
|
}
|
4600
4600
|
const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us = {
|
@@ -4632,7 +4632,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4632
4632
|
c.slot && a.$slots[c.slot] ? {
|
4633
4633
|
name: "content",
|
4634
4634
|
fn: S(() => [
|
4635
|
-
|
4635
|
+
k(a.$slots, c.slot, {
|
4636
4636
|
data: c.content
|
4637
4637
|
})
|
4638
4638
|
]),
|
@@ -4710,7 +4710,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4710
4710
|
c.slot && a.$slots[c.slot] ? {
|
4711
4711
|
name: "content",
|
4712
4712
|
fn: S(() => [
|
4713
|
-
|
4713
|
+
k(a.$slots, c.slot, {
|
4714
4714
|
data: c.content
|
4715
4715
|
})
|
4716
4716
|
]),
|
@@ -4754,7 +4754,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4754
4754
|
)
|
4755
4755
|
}, {
|
4756
4756
|
default: S(() => [
|
4757
|
-
l.slot && r.$slots[l.slot] ?
|
4757
|
+
l.slot && r.$slots[l.slot] ? k(r.$slots, l.slot, {
|
4758
4758
|
key: 0,
|
4759
4759
|
data: { ...l, key: s }
|
4760
4760
|
}) : (t(!0), i(N, { key: 1 }, R(l.items, (d, c) => (t(), p(o(Ue), F({
|
@@ -4769,7 +4769,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4769
4769
|
d.slot && r.$slots[d.slot] ? {
|
4770
4770
|
name: "content",
|
4771
4771
|
fn: S(() => [
|
4772
|
-
|
4772
|
+
k(r.$slots, d.slot, {
|
4773
4773
|
data: d.content
|
4774
4774
|
})
|
4775
4775
|
]),
|
@@ -4782,7 +4782,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4782
4782
|
}, [
|
4783
4783
|
g(o(ae), { "popper-options": { strategy: "fixed" } }, {
|
4784
4784
|
popper: S(() => [
|
4785
|
-
|
4785
|
+
k(r.$slots, l.infoTooltipSlot, {}, () => [
|
4786
4786
|
n("div", xs, w(l.infoTooltip), 1)
|
4787
4787
|
])
|
4788
4788
|
]),
|
@@ -4813,14 +4813,14 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4813
4813
|
r.$slots["customer-leading"] ? {
|
4814
4814
|
name: "leading",
|
4815
4815
|
fn: S(() => [
|
4816
|
-
|
4816
|
+
k(r.$slots, "customer-leading")
|
4817
4817
|
]),
|
4818
4818
|
key: "0"
|
4819
4819
|
} : void 0,
|
4820
4820
|
r.$slots["customer-bottom"] ? {
|
4821
4821
|
name: "bottom",
|
4822
4822
|
fn: S(() => [
|
4823
|
-
|
4823
|
+
k(r.$slots, "customer-bottom")
|
4824
4824
|
]),
|
4825
4825
|
key: "1"
|
4826
4826
|
} : void 0
|
@@ -4837,7 +4837,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4837
4837
|
R(r.$slots, (l, s) => ({
|
4838
4838
|
name: s,
|
4839
4839
|
fn: S((d) => [
|
4840
|
-
|
4840
|
+
k(r.$slots, s, me(Ie(d)))
|
4841
4841
|
])
|
4842
4842
|
}))
|
4843
4843
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
@@ -4965,7 +4965,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4965
4965
|
R(l.$slots, (d, c) => ({
|
4966
4966
|
name: c,
|
4967
4967
|
fn: S((m) => [
|
4968
|
-
|
4968
|
+
k(l.$slots, c, me(Ie(m)))
|
4969
4969
|
])
|
4970
4970
|
}))
|
4971
4971
|
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(os, {
|
@@ -4986,7 +4986,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
4986
4986
|
R(l.$slots, (d, c) => ({
|
4987
4987
|
name: c,
|
4988
4988
|
fn: S((m) => [
|
4989
|
-
|
4989
|
+
k(l.$slots, c, me(Ie(m)))
|
4990
4990
|
])
|
4991
4991
|
}))
|
4992
4992
|
]), 1032, ["overview-items", "overview-tabs", "secondary-button-props", "more-button-props", "overview-active-tab", "container-class", "payment-methods", "dropdown-items", "dropdown-props", "class", "is-loading"])) : u("", !0)
|
@@ -5045,7 +5045,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5045
5045
|
]);
|
5046
5046
|
};
|
5047
5047
|
}
|
5048
|
-
}, mf = /* @__PURE__ */ ge(Ls, [["__scopeId", "data-v-d658d1d3"]]),
|
5048
|
+
}, mf = /* @__PURE__ */ ge(Ls, [["__scopeId", "data-v-d658d1d3"]]), Es = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, Ps = { class: "text-sm" }, ff = /* @__PURE__ */ Z({
|
5049
5049
|
__name: "OcSandboxBanner",
|
5050
5050
|
props: {
|
5051
5051
|
title: {
|
@@ -5058,8 +5058,8 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5058
5058
|
}
|
5059
5059
|
},
|
5060
5060
|
setup(e) {
|
5061
|
-
return (r, a) => (t(), i("div",
|
5062
|
-
n("span",
|
5061
|
+
return (r, a) => (t(), i("div", Es, [
|
5062
|
+
n("span", Ps, w(e.title), 1),
|
5063
5063
|
e.chipProps ? (t(), p(o(ne), F({
|
5064
5064
|
key: 0,
|
5065
5065
|
class: "absolute left-[40px]"
|
@@ -5145,7 +5145,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5145
5145
|
}, [
|
5146
5146
|
n("div", Fs, [
|
5147
5147
|
n("div", Us, [
|
5148
|
-
|
5148
|
+
k(r.$slots, "title", {}, () => [
|
5149
5149
|
n("span", qs, w(e.title), 1)
|
5150
5150
|
]),
|
5151
5151
|
e.chipOptions ? (t(), p(o(ne), me(F({ key: 0 }, e.chipOptions)), null, 16)) : u("", !0)
|
@@ -5158,7 +5158,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5158
5158
|
height: "18"
|
5159
5159
|
}, null, 8, ["name"])) : u("", !0)
|
5160
5160
|
]),
|
5161
|
-
|
5161
|
+
k(r.$slots, "content")
|
5162
5162
|
], 2));
|
5163
5163
|
}
|
5164
5164
|
}), Hs = {
|
@@ -5295,7 +5295,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5295
5295
|
height: m.value ? "16" : "24"
|
5296
5296
|
}, null, 8, ["name", "width", "height"]))
|
5297
5297
|
], 64)) : u("", !0),
|
5298
|
-
|
5298
|
+
k(x.$slots, "default", {}, () => [
|
5299
5299
|
f.value ? (t(), i("div", Hs, [
|
5300
5300
|
n("div", Ys, [
|
5301
5301
|
n("span", Ws, w(e.title), 1),
|
@@ -5335,7 +5335,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5335
5335
|
})
|
5336
5336
|
])) : u("", !0)
|
5337
5337
|
], 6), [
|
5338
|
-
[
|
5338
|
+
[Pe, e.modelValue]
|
5339
5339
|
])
|
5340
5340
|
]),
|
5341
5341
|
_: 3
|
@@ -5408,7 +5408,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5408
5408
|
width: "16",
|
5409
5409
|
height: "16"
|
5410
5410
|
}, null, 8, ["name"])) : u("", !0),
|
5411
|
-
|
5411
|
+
k(l.$slots, "title", {}, () => [
|
5412
5412
|
n("div", Qs, w(e.title), 1)
|
5413
5413
|
], !0)
|
5414
5414
|
]),
|
@@ -5421,12 +5421,12 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5421
5421
|
})) : u("", !0)
|
5422
5422
|
], 2),
|
5423
5423
|
n("div", _s, [
|
5424
|
-
|
5424
|
+
k(l.$slots, "default", {}, () => [
|
5425
5425
|
W(w(e.content), 1)
|
5426
5426
|
], !0)
|
5427
5427
|
])
|
5428
5428
|
], 2), [
|
5429
|
-
[
|
5429
|
+
[Pe, e.modelValue]
|
5430
5430
|
])
|
5431
5431
|
]),
|
5432
5432
|
_: 3
|
@@ -5505,7 +5505,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5505
5505
|
]),
|
5506
5506
|
e.labelIcon ? (t(), p(o(ae), me(F({ key: 0 }, e.tooltipOptions)), {
|
5507
5507
|
popper: S(() => [
|
5508
|
-
|
5508
|
+
k(r.$slots, "tooltipText", {}, () => [
|
5509
5509
|
e.tooltipText ? (t(), i("div", rr, w(e.tooltipText), 1)) : u("", !0)
|
5510
5510
|
])
|
5511
5511
|
]),
|
@@ -5519,9 +5519,9 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5519
5519
|
_: 3
|
5520
5520
|
}, 16)) : u("", !0)
|
5521
5521
|
], 2)) : u("", !0),
|
5522
|
-
|
5522
|
+
k(r.$slots, "default"),
|
5523
5523
|
(e.hint || r.$slots.hint) && !e.errorMessage ? (t(), i("div", dr, [
|
5524
|
-
|
5524
|
+
k(r.$slots, "hint", {}, () => [
|
5525
5525
|
W(w(e.hint), 1)
|
5526
5526
|
])
|
5527
5527
|
])) : u("", !0),
|
@@ -5612,7 +5612,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5612
5612
|
height: b.value[e.size],
|
5613
5613
|
name: e.leftIcon
|
5614
5614
|
}, null, 8, ["width", "class", "height", "name"])) : u("", !0),
|
5615
|
-
e.label ? (t(), i("span", mr, w(e.label), 1)) :
|
5615
|
+
e.label ? (t(), i("span", mr, w(e.label), 1)) : k(A.$slots, "default", { key: 3 }, void 0, !0),
|
5616
5616
|
e.rightIcon ? (t(), p(o(T), {
|
5617
5617
|
key: 4,
|
5618
5618
|
width: b.value[e.size],
|
@@ -5626,7 +5626,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5626
5626
|
class: v(["border-y border-r flex cursor-pointer items-center justify-center oc-btn-add-area px-[6px] py-3 rounded-r-[inherit]", [s.value[e.size], e.variant]]),
|
5627
5627
|
onClick: j[3] || (j[3] = fe((B) => A.$emit("addition-click"), ["stop"]))
|
5628
5628
|
}, [
|
5629
|
-
|
5629
|
+
k(A.$slots, "additional-content", {}, () => [
|
5630
5630
|
g(o(T), {
|
5631
5631
|
name: e.additionalAreaIcon,
|
5632
5632
|
class: v(c.value[e.size])
|
@@ -5753,7 +5753,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
5753
5753
|
disabled: e.isDisabled,
|
5754
5754
|
onChange: d
|
5755
5755
|
}, null, 40, pr),
|
5756
|
-
|
5756
|
+
k(c.$slots, "after", {}, void 0, !0)
|
5757
5757
|
], 2)
|
5758
5758
|
]),
|
5759
5759
|
_: 3
|
@@ -6016,9 +6016,9 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6016
6016
|
key: 0,
|
6017
6017
|
class: v(["border-r border-gray-200 pr-3 py-3", e.trailingClass])
|
6018
6018
|
}, [
|
6019
|
-
|
6019
|
+
k(h.$slots, "trailing")
|
6020
6020
|
], 2)) : u("", !0),
|
6021
|
-
|
6021
|
+
k(h.$slots, "icon", {}, () => [
|
6022
6022
|
e.icon ? (t(), p(o(T), F({
|
6023
6023
|
key: 0,
|
6024
6024
|
class: "w-5 h-5 text-oc-text-400",
|
@@ -6066,7 +6066,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6066
6066
|
height: "16"
|
6067
6067
|
}, null, 8, ["name"]))
|
6068
6068
|
])),
|
6069
|
-
|
6069
|
+
k(h.$slots, "leading")
|
6070
6070
|
])) : u("", !0)
|
6071
6071
|
], 2)
|
6072
6072
|
]),
|
@@ -6075,7 +6075,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6075
6075
|
h.$slots.hint ? {
|
6076
6076
|
name: "hint",
|
6077
6077
|
fn: S(() => [
|
6078
|
-
|
6078
|
+
k(h.$slots, "hint")
|
6079
6079
|
]),
|
6080
6080
|
key: "0"
|
6081
6081
|
} : void 0
|
@@ -6174,7 +6174,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6174
6174
|
}])
|
6175
6175
|
}, [
|
6176
6176
|
n("div", Ir, [
|
6177
|
-
|
6177
|
+
k(j.$slots, "default", {
|
6178
6178
|
options: h.value,
|
6179
6179
|
areAllOptionsVisible: f.value
|
6180
6180
|
}, () => [
|
@@ -6182,7 +6182,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6182
6182
|
key: `${V}-${O}`,
|
6183
6183
|
closable: "",
|
6184
6184
|
label: V,
|
6185
|
-
onRemove: (
|
6185
|
+
onRemove: ($) => b(V)
|
6186
6186
|
}, null, 8, ["label", "onRemove"]))), 128)),
|
6187
6187
|
d.value.length > e.maxVisibleOptions ? (t(), p(o(ne), {
|
6188
6188
|
key: 0,
|
@@ -6224,7 +6224,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6224
6224
|
_: 3
|
6225
6225
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6226
6226
|
}
|
6227
|
-
}, Ar = { class: "flex gap-x-2 items-center" }, Mr = { class: "text-oc-text-400 font-medium text-sm" }, jr = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, Lr = ["onClick"],
|
6227
|
+
}, Ar = { class: "flex gap-x-2 items-center" }, Mr = { class: "text-oc-text-400 font-medium text-sm" }, jr = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, Lr = ["onClick"], Er = { class: "text-oc-text-300" }, Pr = { class: "text-oc-text-400" }, Nr = {
|
6228
6228
|
__name: "OcPhoneInput",
|
6229
6229
|
props: {
|
6230
6230
|
countryCodes: { type: Array, default: () => [] },
|
@@ -6277,25 +6277,25 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6277
6277
|
return ((O = x(V)) == null ? void 0 : O.code) || "";
|
6278
6278
|
}, b = (V) => {
|
6279
6279
|
l("update:modelValue", [h(d.value), V]);
|
6280
|
-
}, A = (V, O,
|
6280
|
+
}, A = (V, O, $ = null) => {
|
6281
6281
|
var I;
|
6282
|
-
d.value = V.toLowerCase(), l("update:modelValue", [O,
|
6282
|
+
d.value = V.toLowerCase(), l("update:modelValue", [O, $ || ((I = a.modelValue) == null ? void 0 : I[1]) || ""]), c.value = !1;
|
6283
6283
|
}, j = M(null), B = M([]), C = () => {
|
6284
6284
|
setTimeout(() => {
|
6285
6285
|
const V = f.value.indexOf(
|
6286
6286
|
x(d.value)
|
6287
|
-
),
|
6288
|
-
j.value.scrollTo(0,
|
6287
|
+
), $ = B.value[V].offsetTop;
|
6288
|
+
j.value.scrollTo(0, $ - 60, { behavior: "smooth" });
|
6289
6289
|
}, 10);
|
6290
6290
|
}, y = (V) => {
|
6291
6291
|
let O = V.clipboardData.getData("Text");
|
6292
6292
|
try {
|
6293
6293
|
if (O.search(/[^0-9]/g) < 0)
|
6294
6294
|
if (O = O.slice(0, 19), O.length > 5 && a.shouldParseCountryCode) {
|
6295
|
-
const { nationalNumber:
|
6295
|
+
const { nationalNumber: $, countryCallingCode: I, country: L } = Wt(
|
6296
6296
|
"+" + O.replace("+", "")
|
6297
6297
|
);
|
6298
|
-
I && L ? A(L, I,
|
6298
|
+
I && L ? A(L, I, $) : l("update:modelValue", [h(d.value), $]);
|
6299
6299
|
} else
|
6300
6300
|
l("update:modelValue", [h(d.value), O]);
|
6301
6301
|
} catch {
|
@@ -6304,10 +6304,10 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6304
6304
|
V.preventDefault();
|
6305
6305
|
};
|
6306
6306
|
return (V, O) => {
|
6307
|
-
var
|
6307
|
+
var $;
|
6308
6308
|
return t(), p(o(xe), {
|
6309
6309
|
"error-message": e.errorMessage,
|
6310
|
-
"model-value": ((
|
6310
|
+
"model-value": (($ = e.modelValue) == null ? void 0 : $[1]) || "",
|
6311
6311
|
placeholder: e.placeholder,
|
6312
6312
|
label: e.label,
|
6313
6313
|
"is-inline-label": e.isInlineLabel,
|
@@ -6366,13 +6366,13 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6366
6366
|
"py-3 px-4 flex gap-x-4 items-center hover:bg-oc-gray-50 cursor-pointer",
|
6367
6367
|
d.value === I.iso.toLowerCase() ? "bg-oc-gray-50 font-medium" : ""
|
6368
6368
|
]),
|
6369
|
-
onClick: (
|
6369
|
+
onClick: (P) => A(I.iso, I.code)
|
6370
6370
|
}, [
|
6371
6371
|
n("div", {
|
6372
6372
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${I.iso.toLowerCase()}`])
|
6373
6373
|
}, null, 2),
|
6374
|
-
n("span",
|
6375
|
-
n("span",
|
6374
|
+
n("span", Er, "+" + w(I.code), 1),
|
6375
|
+
n("span", Pr, w(I.country), 1)
|
6376
6376
|
], 10, Lr))), 128))
|
6377
6377
|
], 512)
|
6378
6378
|
]),
|
@@ -6463,7 +6463,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6463
6463
|
class: v(["w-5 h-5 text-oc-text-500", { "!text-oc-text-300": e.isDisabled }]),
|
6464
6464
|
name: e.icon
|
6465
6465
|
}, null, 8, ["class", "name"])) : u("", !0),
|
6466
|
-
|
6466
|
+
k(r.$slots, "default", {}, () => [
|
6467
6467
|
e.label ? (t(), i("span", {
|
6468
6468
|
key: 0,
|
6469
6469
|
class: v({ "text-sm": !e.isButtonVariantWithRadio })
|
@@ -6471,7 +6471,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6471
6471
|
]),
|
6472
6472
|
e.labelIcon ? (t(), p(o(ae), me(F({ key: 2 }, e.tooltipOptions)), {
|
6473
6473
|
popper: S(() => [
|
6474
|
-
|
6474
|
+
k(r.$slots, "tooltipText", {}, () => [
|
6475
6475
|
e.tooltipText ? (t(), i("div", Fr, w(e.tooltipText), 1)) : u("", !0)
|
6476
6476
|
])
|
6477
6477
|
]),
|
@@ -6739,11 +6739,11 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6739
6739
|
},
|
6740
6740
|
setup(e, { expose: r, emit: a }) {
|
6741
6741
|
const l = e, s = a, d = M(l.searchKeywords ?? ""), c = M(!1), m = M(), f = M(), x = M([]), h = M(), b = M((/* @__PURE__ */ new Date()).toISOString()), A = z(() => {
|
6742
|
-
var
|
6743
|
-
return l.multiple ? ((
|
6742
|
+
var E, D;
|
6743
|
+
return l.multiple ? ((E = l.modelValue) == null ? void 0 : E.length) && ((D = l.modelValue) == null ? void 0 : D.length) === j.value.length : !1;
|
6744
6744
|
}), j = z(() => {
|
6745
6745
|
var D, U;
|
6746
|
-
const
|
6746
|
+
const E = [];
|
6747
6747
|
for (const H of l.options)
|
6748
6748
|
if (H.values) {
|
6749
6749
|
const K = H.values.filter(
|
@@ -6752,58 +6752,58 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6752
6752
|
return ((ee = _.label) == null ? void 0 : ee.toLowerCase().includes(d.value.toLowerCase())) || ((ie = _.subLabel) == null ? void 0 : ie.toLowerCase().includes(d.value.toLowerCase()));
|
6753
6753
|
}
|
6754
6754
|
);
|
6755
|
-
K.length > 0 &&
|
6755
|
+
K.length > 0 && E.push({
|
6756
6756
|
label: H.label,
|
6757
6757
|
values: K
|
6758
6758
|
});
|
6759
6759
|
} else
|
6760
|
-
((D = H.label) != null && D.toLowerCase().includes(d.value.toLowerCase()) || (U = H.subLabel) != null && U.toLowerCase().includes(d.value.toLowerCase())) &&
|
6761
|
-
return
|
6760
|
+
((D = H.label) != null && D.toLowerCase().includes(d.value.toLowerCase()) || (U = H.subLabel) != null && U.toLowerCase().includes(d.value.toLowerCase())) && E.push(H);
|
6761
|
+
return E;
|
6762
6762
|
}), B = z(() => {
|
6763
6763
|
if (l.multiple) {
|
6764
|
-
let
|
6764
|
+
let E = [];
|
6765
6765
|
if (l.modelValue)
|
6766
6766
|
for (const D of l.modelValue)
|
6767
6767
|
for (const U of l.options)
|
6768
6768
|
U.values ? U.values.forEach((H) => {
|
6769
|
-
H.value === D &&
|
6770
|
-
}) : U.value === D &&
|
6771
|
-
return
|
6769
|
+
H.value === D && E.push(H);
|
6770
|
+
}) : U.value === D && E.push(U);
|
6771
|
+
return E;
|
6772
6772
|
} else
|
6773
|
-
return l.options.find((
|
6773
|
+
return l.options.find((E) => {
|
6774
6774
|
var D;
|
6775
|
-
return
|
6775
|
+
return E.value.toString() === ((D = l.modelValue) == null ? void 0 : D.toString());
|
6776
6776
|
});
|
6777
|
-
}), C = (
|
6777
|
+
}), C = (E) => {
|
6778
6778
|
var U;
|
6779
|
-
if (
|
6779
|
+
if (E.isDisabled)
|
6780
6780
|
return;
|
6781
6781
|
let D;
|
6782
6782
|
if (l.multiple) {
|
6783
|
-
const H = (l.modelValue || []).find((K) => K ===
|
6783
|
+
const H = (l.modelValue || []).find((K) => K === E.value);
|
6784
6784
|
if (!H && l.maxOptionAllowed && ((U = B.value) == null ? void 0 : U.length) >= Number(l.maxOptionAllowed)) {
|
6785
6785
|
s("max-option-allowed-set");
|
6786
6786
|
return;
|
6787
6787
|
}
|
6788
|
-
D = H ? (l.modelValue || []).filter((K) => K !==
|
6788
|
+
D = H ? (l.modelValue || []).filter((K) => K !== E.value) : [...l.modelValue || [], E.value];
|
6789
6789
|
} else
|
6790
|
-
D =
|
6790
|
+
D = E.value, c.value = !1;
|
6791
6791
|
s("update:modelValue", D);
|
6792
|
-
}, y = (
|
6792
|
+
}, y = (E) => {
|
6793
6793
|
s(
|
6794
6794
|
"update:modelValue",
|
6795
|
-
(l.modelValue || []).filter((D) => D !==
|
6795
|
+
(l.modelValue || []).filter((D) => D !== E)
|
6796
6796
|
);
|
6797
6797
|
}, V = () => {
|
6798
6798
|
l.isAsynchronousSearch || (A.value ? s("update:modelValue", null) : s(
|
6799
6799
|
"update:modelValue",
|
6800
|
-
j.value.map((
|
6800
|
+
j.value.map((E) => E.value)
|
6801
6801
|
));
|
6802
6802
|
}, O = M();
|
6803
6803
|
ue(j, () => {
|
6804
6804
|
b.value = (/* @__PURE__ */ new Date()).toISOString();
|
6805
|
-
}), ue(c, (
|
6806
|
-
if (!
|
6805
|
+
}), ue(c, (E) => {
|
6806
|
+
if (!E) {
|
6807
6807
|
s("close");
|
6808
6808
|
return;
|
6809
6809
|
}
|
@@ -6812,9 +6812,9 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6812
6812
|
(D = m.value) == null || D.focus();
|
6813
6813
|
});
|
6814
6814
|
});
|
6815
|
-
const
|
6816
|
-
var
|
6817
|
-
s("toggle"),
|
6815
|
+
const $ = M("100%"), I = z(() => ({ maxWidth: $.value })), L = () => {
|
6816
|
+
var E, D, U, H;
|
6817
|
+
s("toggle"), $.value = (D = (E = O.value) == null ? void 0 : E.$el) != null && D.offsetWidth ? `${(H = (U = O.value) == null ? void 0 : U.$el) == null ? void 0 : H.offsetWidth}px` : "100%", setTimeout(() => {
|
6818
6818
|
var ce;
|
6819
6819
|
let K, _;
|
6820
6820
|
if (Array.isArray(l.modelValue) ? K = l.modelValue[0] ?? null : K = l.modelValue, !K) return;
|
@@ -6825,15 +6825,15 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6825
6825
|
const ee = x.value[_], ie = (ce = ee == null ? void 0 : ee.optionItemRef) == null ? void 0 : ce.offsetTop;
|
6826
6826
|
h.value.parentNode.scrollTo(0, ie - 60, { behavior: "smooth" });
|
6827
6827
|
}, 10);
|
6828
|
-
},
|
6828
|
+
}, P = (E) => {
|
6829
6829
|
var U, H, K;
|
6830
6830
|
if (l.isLoading)
|
6831
6831
|
return;
|
6832
|
-
((U =
|
6832
|
+
((U = E.target) == null ? void 0 : U.scrollHeight) - Math.round((H = E.target) == null ? void 0 : H.scrollTop) <= ((K = E.target) == null ? void 0 : K.clientHeight) && s("loadMore");
|
6833
6833
|
};
|
6834
6834
|
return r({
|
6835
6835
|
dropdownRef: f
|
6836
|
-
}), (
|
6836
|
+
}), (E, D) => (t(), p(o(he), {
|
6837
6837
|
ref_key: "baseInput",
|
6838
6838
|
ref: O,
|
6839
6839
|
class: "relative rounded",
|
@@ -6846,8 +6846,8 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6846
6846
|
"tooltip-options": e.tooltipOptions
|
6847
6847
|
}, te({
|
6848
6848
|
tooltipText: S(() => [
|
6849
|
-
|
6850
|
-
|
6849
|
+
E.$slots.selectTooltipText ? (t(), i("div", td, [
|
6850
|
+
k(E.$slots, "selectTooltipText")
|
6851
6851
|
])) : u("", !0)
|
6852
6852
|
]),
|
6853
6853
|
default: S(() => [
|
@@ -6871,7 +6871,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6871
6871
|
"popper-options": e.popperOptions,
|
6872
6872
|
"is-disabled": e.isDisabled || e.isReadonly,
|
6873
6873
|
"menu-classes": e.menuClasses,
|
6874
|
-
onScroll:
|
6874
|
+
onScroll: P
|
6875
6875
|
}, {
|
6876
6876
|
menu: S(() => {
|
6877
6877
|
var U;
|
@@ -6888,7 +6888,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6888
6888
|
modelValue: d.value,
|
6889
6889
|
"onUpdate:modelValue": [
|
6890
6890
|
D[4] || (D[4] = (H) => d.value = H),
|
6891
|
-
D[5] || (D[5] = (H) =>
|
6891
|
+
D[5] || (D[5] = (H) => E.$emit("onSearchKeywords", d.value))
|
6892
6892
|
],
|
6893
6893
|
icon: "search",
|
6894
6894
|
placeholder: e.inlineSearchPlaceholder
|
@@ -6914,7 +6914,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6914
6914
|
label: "Select All",
|
6915
6915
|
onClick: V
|
6916
6916
|
}, null, 8, ["is-selected", "is-partial"])) : u("", !0),
|
6917
|
-
|
6917
|
+
k(E.$slots, "default", {
|
6918
6918
|
key: b.value,
|
6919
6919
|
fOptions: j.value,
|
6920
6920
|
selectOption: C
|
@@ -6931,11 +6931,11 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6931
6931
|
"is-selected": e.multiple ? e.modelValue ? e.modelValue.find((K) => K === H.value) !== void 0 : !1 : e.modelValue === H.value,
|
6932
6932
|
onClick: (K) => C(H)
|
6933
6933
|
}, null, 8, ["label", "sub-label", "is-disabled", "is-checkboxes", "is-selected", "onClick"]))), 128)),
|
6934
|
-
|
6934
|
+
k(E.$slots, "empty", {}, () => [
|
6935
6935
|
j.value.length ? u("", !0) : (t(), i("div", ed, " No data to display "))
|
6936
6936
|
])
|
6937
6937
|
]),
|
6938
|
-
|
6938
|
+
k(E.$slots, "infinite-scrolling"),
|
6939
6939
|
e.isLoading ? (t(), p(o(le), {
|
6940
6940
|
key: 1,
|
6941
6941
|
class: v(["h-[20px] rounded-sm", { "mt-2": !e.options.length && e.isFilterable }])
|
@@ -6947,7 +6947,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6947
6947
|
class: "flex items-center py-2 justify-center gap-x-[6px] sticky bottom-0 bg-white z-10",
|
6948
6948
|
size: "small",
|
6949
6949
|
"is-transparent": "",
|
6950
|
-
onClick: D[6] || (D[6] = (H) =>
|
6950
|
+
onClick: D[6] || (D[6] = (H) => E.$emit("addNew"))
|
6951
6951
|
}, {
|
6952
6952
|
default: S(() => [
|
6953
6953
|
g(o(T), {
|
@@ -6976,7 +6976,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6976
6976
|
]])
|
6977
6977
|
}, [
|
6978
6978
|
e.multiple ? (t(), i("div", Gr, [
|
6979
|
-
|
6979
|
+
k(E.$slots, "selection", {}, () => [
|
6980
6980
|
(t(!0), i(N, null, R(e.maxVisibleOptions ? B.value.slice(0, e.maxVisibleOptions) : B.value, (U) => (t(), p(o(ne), F({
|
6981
6981
|
key: U.value,
|
6982
6982
|
closable: "",
|
@@ -6999,7 +6999,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
6999
6999
|
modelValue: d.value,
|
7000
7000
|
"onUpdate:modelValue": [
|
7001
7001
|
D[0] || (D[0] = (U) => d.value = U),
|
7002
|
-
D[1] || (D[1] = (U) =>
|
7002
|
+
D[1] || (D[1] = (U) => E.$emit("onSearchKeywords", d.value))
|
7003
7003
|
],
|
7004
7004
|
placeholder: e.defaultSearchPlaceholder,
|
7005
7005
|
"input-class": "border-none !shadow-none",
|
@@ -7052,10 +7052,10 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
7052
7052
|
]),
|
7053
7053
|
_: 2
|
7054
7054
|
}, [
|
7055
|
-
|
7055
|
+
E.$slots.hint ? {
|
7056
7056
|
name: "hint",
|
7057
7057
|
fn: S(() => [
|
7058
|
-
|
7058
|
+
k(E.$slots, "hint")
|
7059
7059
|
]),
|
7060
7060
|
key: "0"
|
7061
7061
|
} : void 0
|
@@ -7100,16 +7100,16 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
7100
7100
|
class: "!w-fit pointer-events-none"
|
7101
7101
|
}, null, 8, ["model-value", "is-partial"])) : u("", !0),
|
7102
7102
|
n("div", ad, [
|
7103
|
-
|
7103
|
+
k(l.$slots, "trailing"),
|
7104
7104
|
n("div", {
|
7105
7105
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
7106
7106
|
}, [
|
7107
7107
|
n("span", nd, w(e.label), 1),
|
7108
|
-
|
7108
|
+
k(l.$slots, "sub-label", {}, () => [
|
7109
7109
|
e.subLabel ? (t(), i("span", id, w(e.subLabel), 1)) : u("", !0)
|
7110
7110
|
])
|
7111
7111
|
], 2),
|
7112
|
-
|
7112
|
+
k(l.$slots, "leading")
|
7113
7113
|
]),
|
7114
7114
|
e.isSelected && !e.isCheckboxes ? (t(), p(o(T), {
|
7115
7115
|
key: 1,
|
@@ -7123,7 +7123,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
7123
7123
|
name: "chevron-down",
|
7124
7124
|
onClick: s[1] || (s[1] = (d) => e.showChildren ? l.$emit("hide:children") : l.$emit("show:children"))
|
7125
7125
|
}, null, 8, ["class"])) : u("", !0),
|
7126
|
-
|
7126
|
+
k(l.$slots, "after")
|
7127
7127
|
], 512));
|
7128
7128
|
}
|
7129
7129
|
}, od = { class: "flex flex-col" }, sd = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, $f = {
|
@@ -7134,7 +7134,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
7134
7134
|
setup(e) {
|
7135
7135
|
return (r, a) => (t(), i("div", od, [
|
7136
7136
|
n("div", sd, w(e.label), 1),
|
7137
|
-
|
7137
|
+
k(r.$slots, "default")
|
7138
7138
|
]));
|
7139
7139
|
}
|
7140
7140
|
}, rd = { class: "flex items-center text-oc-text-400 gap-x-2" }, dd = {
|
@@ -7191,7 +7191,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
7191
7191
|
() => a.links.find((y) => y.value === d.value) ?? {}
|
7192
7192
|
), f = z(() => m.value.preFill ?? ""), x = M(a.modelValue ? a.modelValue.replace(f.value, "") : ""), h = (y) => {
|
7193
7193
|
var O;
|
7194
|
-
const V = (O = a.links.find((
|
7194
|
+
const V = (O = a.links.find(($) => $.value === y)) == null ? void 0 : O.preFill;
|
7195
7195
|
l("update:modelValue", a.modelValue.replace(f.value, V)), d.value = y, l("update:type", y), s.value = !1;
|
7196
7196
|
}, b = (y) => {
|
7197
7197
|
x.value = y, l("update:modelValue", f.value + y), !a.isEdit && d.value !== "link" && l("update:title", y);
|
@@ -7235,7 +7235,7 @@ const tt = /* @__PURE__ */ ge(ss, [["render", ds]]), cs = { class: "flex" }, us
|
|
7235
7235
|
(t(!0), i(N, null, R(e.links, (O) => (t(), i("div", {
|
7236
7236
|
key: O.value,
|
7237
7237
|
class: "flex items-center px-3 py-2 rounded-sm cursor-pointer gap-x-3 text-oc-text-400 hover:bg-gray-50",
|
7238
|
-
onClick: (
|
7238
|
+
onClick: ($) => h(O.value)
|
7239
7239
|
}, [
|
7240
7240
|
g(o(T), {
|
7241
7241
|
width: "20",
|
@@ -7394,16 +7394,16 @@ var At = { exports: {} };
|
|
7394
7394
|
}, b = [/[+-]\d\d:?(\d\d)?|Z/, function(y) {
|
7395
7395
|
(this.zone || (this.zone = {})).offset = function(V) {
|
7396
7396
|
if (!V || V === "Z") return 0;
|
7397
|
-
var O = V.match(/([+-]|\d\d)/g),
|
7398
|
-
return
|
7397
|
+
var O = V.match(/([+-]|\d\d)/g), $ = 60 * O[1] + (+O[2] || 0);
|
7398
|
+
return $ === 0 ? 0 : O[0] === "+" ? -$ : $;
|
7399
7399
|
}(y);
|
7400
7400
|
}], A = function(y) {
|
7401
7401
|
var V = f[y];
|
7402
7402
|
return V && (V.indexOf ? V : V.s.concat(V.f));
|
7403
7403
|
}, j = function(y, V) {
|
7404
|
-
var O,
|
7405
|
-
if (
|
7406
|
-
for (var I = 1; I <= 24; I += 1) if (y.indexOf(
|
7404
|
+
var O, $ = f.meridiem;
|
7405
|
+
if ($) {
|
7406
|
+
for (var I = 1; I <= 24; I += 1) if (y.indexOf($(I, 0, V)) > -1) {
|
7407
7407
|
O = I > 12;
|
7408
7408
|
break;
|
7409
7409
|
}
|
@@ -7423,10 +7423,10 @@ var At = { exports: {} };
|
|
7423
7423
|
this.milliseconds = +y;
|
7424
7424
|
}], s: [c, h("seconds")], ss: [c, h("seconds")], m: [c, h("minutes")], mm: [c, h("minutes")], H: [c, h("hours")], h: [c, h("hours")], HH: [c, h("hours")], hh: [c, h("hours")], D: [c, h("day")], DD: [d, h("day")], Do: [m, function(y) {
|
7425
7425
|
var V = f.ordinal, O = y.match(/\d+/);
|
7426
|
-
if (this.day = O[0], V) for (var
|
7426
|
+
if (this.day = O[0], V) for (var $ = 1; $ <= 31; $ += 1) V($).replace(/\[|\]/g, "") === y && (this.day = $);
|
7427
7427
|
}], w: [c, h("week")], ww: [d, h("week")], M: [c, h("month")], MM: [d, h("month")], MMM: [m, function(y) {
|
7428
|
-
var V = A("months"), O = (A("monthsShort") || V.map(function(
|
7429
|
-
return
|
7428
|
+
var V = A("months"), O = (A("monthsShort") || V.map(function($) {
|
7429
|
+
return $.slice(0, 3);
|
7430
7430
|
})).indexOf(y) + 1;
|
7431
7431
|
if (O < 1) throw new Error();
|
7432
7432
|
this.month = O % 12 || O;
|
@@ -7440,18 +7440,18 @@ var At = { exports: {} };
|
|
7440
7440
|
function C(y) {
|
7441
7441
|
var V, O;
|
7442
7442
|
V = y, O = f && f.formats;
|
7443
|
-
for (var
|
7443
|
+
for (var $ = (y = V.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, K, _) {
|
7444
7444
|
var ee = _ && _.toUpperCase();
|
7445
7445
|
return K || O[_] || a[_] || O[ee].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ie, ce, pe) {
|
7446
7446
|
return ce || pe.slice(1);
|
7447
7447
|
});
|
7448
|
-
})).match(l), I =
|
7449
|
-
var
|
7450
|
-
|
7448
|
+
})).match(l), I = $.length, L = 0; L < I; L += 1) {
|
7449
|
+
var P = $[L], E = B[P], D = E && E[0], U = E && E[1];
|
7450
|
+
$[L] = U ? { regex: D, parser: U } : P.replace(/^\[|\]$/g, "");
|
7451
7451
|
}
|
7452
7452
|
return function(H) {
|
7453
7453
|
for (var K = {}, _ = 0, ee = 0; _ < I; _ += 1) {
|
7454
|
-
var ie =
|
7454
|
+
var ie = $[_];
|
7455
7455
|
if (typeof ie == "string") ee += ie.length;
|
7456
7456
|
else {
|
7457
7457
|
var ce = ie.regex, pe = ie.parser, $e = H.slice(ee), ke = ce.exec($e)[0];
|
@@ -7469,10 +7469,10 @@ var At = { exports: {} };
|
|
7469
7469
|
}
|
7470
7470
|
return function(y, V, O) {
|
7471
7471
|
O.p.customParseFormat = !0, y && y.parseTwoDigitYear && (x = y.parseTwoDigitYear);
|
7472
|
-
var
|
7473
|
-
|
7474
|
-
var
|
7475
|
-
this.$u =
|
7472
|
+
var $ = V.prototype, I = $.parse;
|
7473
|
+
$.parse = function(L) {
|
7474
|
+
var P = L.date, E = L.utc, D = L.args;
|
7475
|
+
this.$u = E;
|
7476
7476
|
var U = D[1];
|
7477
7477
|
if (typeof U == "string") {
|
7478
7478
|
var H = D[2] === !0, K = D[3] === !0, _ = H || K, ee = D[2];
|
@@ -7486,7 +7486,7 @@ var At = { exports: {} };
|
|
7486
7486
|
} catch {
|
7487
7487
|
return /* @__PURE__ */ new Date("");
|
7488
7488
|
}
|
7489
|
-
}(
|
7489
|
+
}(P, U, E, O), this.init(), ee && ee !== !0 && (this.$L = this.locale(ee).$L), _ && P != this.format(U) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
|
7490
7490
|
} else if (U instanceof Array) for (var ie = U.length, ce = 1; ce <= ie; ce += 1) {
|
7491
7491
|
D[1] = U[ce - 1];
|
7492
7492
|
var pe = O.apply(this, D);
|
@@ -7536,14 +7536,14 @@ function jd(e) {
|
|
7536
7536
|
return r;
|
7537
7537
|
}
|
7538
7538
|
var Ld = /^\s+/;
|
7539
|
-
function
|
7539
|
+
function Ed(e) {
|
7540
7540
|
return e && e.slice(0, jd(e) + 1).replace(Ld, "");
|
7541
7541
|
}
|
7542
7542
|
function lt(e) {
|
7543
7543
|
var r = typeof e;
|
7544
7544
|
return e != null && (r == "object" || r == "function");
|
7545
7545
|
}
|
7546
|
-
var yt = NaN,
|
7546
|
+
var yt = NaN, Pd = /^[-+]0x[0-9a-f]+$/i, Nd = /^0b[01]+$/i, zd = /^0o[0-7]+$/i, Rd = parseInt;
|
7547
7547
|
function xt(e) {
|
7548
7548
|
if (typeof e == "number")
|
7549
7549
|
return e;
|
@@ -7555,9 +7555,9 @@ function xt(e) {
|
|
7555
7555
|
}
|
7556
7556
|
if (typeof e != "string")
|
7557
7557
|
return e === 0 ? e : +e;
|
7558
|
-
e =
|
7558
|
+
e = Ed(e);
|
7559
7559
|
var a = Nd.test(e);
|
7560
|
-
return a || zd.test(e) ? Rd(e.slice(2), a ? 2 : 8) :
|
7560
|
+
return a || zd.test(e) ? Rd(e.slice(2), a ? 2 : 8) : Pd.test(e) ? yt : +e;
|
7561
7561
|
}
|
7562
7562
|
var et = function() {
|
7563
7563
|
return Mt.Date.now();
|
@@ -7567,39 +7567,39 @@ function Hd(e, r, a) {
|
|
7567
7567
|
if (typeof e != "function")
|
7568
7568
|
throw new TypeError(Fd);
|
7569
7569
|
r = xt(r) || 0, lt(a) && (h = !!a.leading, b = "maxWait" in a, d = b ? Ud(xt(a.maxWait) || 0, r) : d, A = "trailing" in a ? !!a.trailing : A);
|
7570
|
-
function j(
|
7571
|
-
var
|
7572
|
-
return l = s = void 0, x =
|
7570
|
+
function j(P) {
|
7571
|
+
var E = l, D = s;
|
7572
|
+
return l = s = void 0, x = P, c = e.apply(D, E), c;
|
7573
7573
|
}
|
7574
|
-
function B(
|
7575
|
-
return x =
|
7574
|
+
function B(P) {
|
7575
|
+
return x = P, m = setTimeout(V, r), h ? j(P) : c;
|
7576
7576
|
}
|
7577
|
-
function C(
|
7578
|
-
var
|
7577
|
+
function C(P) {
|
7578
|
+
var E = P - f, D = P - x, U = r - E;
|
7579
7579
|
return b ? qd(U, d - D) : U;
|
7580
7580
|
}
|
7581
|
-
function y(
|
7582
|
-
var
|
7583
|
-
return f === void 0 ||
|
7581
|
+
function y(P) {
|
7582
|
+
var E = P - f, D = P - x;
|
7583
|
+
return f === void 0 || E >= r || E < 0 || b && D >= d;
|
7584
7584
|
}
|
7585
7585
|
function V() {
|
7586
|
-
var
|
7587
|
-
if (y(
|
7588
|
-
return O(
|
7589
|
-
m = setTimeout(V, C(
|
7586
|
+
var P = et();
|
7587
|
+
if (y(P))
|
7588
|
+
return O(P);
|
7589
|
+
m = setTimeout(V, C(P));
|
7590
7590
|
}
|
7591
|
-
function O(
|
7592
|
-
return m = void 0, A && l ? j(
|
7591
|
+
function O(P) {
|
7592
|
+
return m = void 0, A && l ? j(P) : (l = s = void 0, c);
|
7593
7593
|
}
|
7594
|
-
function
|
7594
|
+
function $() {
|
7595
7595
|
m !== void 0 && clearTimeout(m), x = 0, l = f = s = m = void 0;
|
7596
7596
|
}
|
7597
7597
|
function I() {
|
7598
7598
|
return m === void 0 ? c : O(et());
|
7599
7599
|
}
|
7600
7600
|
function L() {
|
7601
|
-
var
|
7602
|
-
if (l = arguments, s = this, f =
|
7601
|
+
var P = et(), E = y(P);
|
7602
|
+
if (l = arguments, s = this, f = P, E) {
|
7603
7603
|
if (m === void 0)
|
7604
7604
|
return B(f);
|
7605
7605
|
if (b)
|
@@ -7607,7 +7607,7 @@ function Hd(e, r, a) {
|
|
7607
7607
|
}
|
7608
7608
|
return m === void 0 && (m = setTimeout(V, r)), c;
|
7609
7609
|
}
|
7610
|
-
return L.cancel =
|
7610
|
+
return L.cancel = $, L.flush = I, L;
|
7611
7611
|
}
|
7612
7612
|
const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex flex-col gap-2 p-3" }, Kd = { class: "flex justify-between items-center" }, Gd = { key: 0 }, Xd = { key: 1 }, Jd = {
|
7613
7613
|
key: 0,
|
@@ -7658,7 +7658,7 @@ const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex f
|
|
7658
7658
|
const a = e, l = r, s = M(), d = M(), c = M(), m = M(), f = M(), x = M(), h = M(), b = M(!1), A = M(!1), j = M(!1), B = M(!1), C = z(() => a.type === "range"), y = z(() => {
|
7659
7659
|
const J = s.value.endOf("month").date();
|
7660
7660
|
return Array.from({ length: J }, (Y, ve) => ve + 1);
|
7661
|
-
}), V = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], O = z(() => s.value.format("MMMM YYYY")),
|
7661
|
+
}), V = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], O = z(() => s.value.format("MMMM YYYY")), $ = z(
|
7662
7662
|
() => j.value ? x.value.format("YYYY") : s.value.format("YYYY")
|
7663
7663
|
), I = z(() => s.value.format("MMM")), L = z(() => {
|
7664
7664
|
const q = d.value, J = c.value ?? h.value, Y = [q, J];
|
@@ -7666,17 +7666,17 @@ const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex f
|
|
7666
7666
|
from: Y[0],
|
7667
7667
|
to: Y[1]
|
7668
7668
|
};
|
7669
|
-
}),
|
7669
|
+
}), P = z(
|
7670
7670
|
() => Object.values(L.value).filter(Boolean).length > 1
|
7671
|
-
),
|
7671
|
+
), E = z(() => s.value.month()), D = z(
|
7672
7672
|
() => {
|
7673
7673
|
var q;
|
7674
|
-
return
|
7674
|
+
return E.value === ((q = d.value) == null ? void 0 : q.month());
|
7675
7675
|
}
|
7676
7676
|
), U = z(
|
7677
7677
|
() => {
|
7678
7678
|
var q;
|
7679
|
-
return
|
7679
|
+
return E.value === ((q = c.value) == null ? void 0 : q.month());
|
7680
7680
|
}
|
7681
7681
|
), H = () => {
|
7682
7682
|
h.value = null, s.value = s.value.subtract(1, "month"), d.value && (m.value = D.value ? d.value.date() : null, f.value = U.value ? c.value.date() : null);
|
@@ -7695,7 +7695,7 @@ const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex f
|
|
7695
7695
|
}, $e = (q) => {
|
7696
7696
|
const J = s.value.date(q);
|
7697
7697
|
return Object.values(L.value).filter(Boolean).find((Y) => Y.isSame(J));
|
7698
|
-
}, ke = (q) => C.value ?
|
7698
|
+
}, ke = (q) => C.value ? P.value ? s.value.date(q).isBetween(
|
7699
7699
|
L.value.from,
|
7700
7700
|
L.value.to,
|
7701
7701
|
null,
|
@@ -7759,7 +7759,7 @@ const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex f
|
|
7759
7759
|
class: "cursor-pointer hover:opacity-50 transition",
|
7760
7760
|
onClick: J[0] || (J[0] = (Y) => j.value = !j.value)
|
7761
7761
|
}, [
|
7762
|
-
j.value ? (t(), i("div", Gd, w(
|
7762
|
+
j.value ? (t(), i("div", Gd, w($.value - 11) + " - " + w($.value), 1)) : (t(), i("div", Xd, w($.value), 1))
|
7763
7763
|
]),
|
7764
7764
|
g(o(X), {
|
7765
7765
|
"left-icon": "chevron-right",
|
@@ -7768,7 +7768,7 @@ const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex f
|
|
7768
7768
|
})
|
7769
7769
|
]),
|
7770
7770
|
j.value ? (t(), i("div", Jd, [
|
7771
|
-
(t(!0), i(N, null, R(Ve(
|
7771
|
+
(t(!0), i(N, null, R(Ve($.value - 11), (Y) => (t(), i("div", {
|
7772
7772
|
key: Y,
|
7773
7773
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7774
7774
|
"!border-oc-primary bg-oc-primary text-white": s.value.year() === Y
|
@@ -7834,7 +7834,7 @@ const Yd = { class: "flex items-center justify-between" }, Wd = { class: "flex f
|
|
7834
7834
|
}, w(Y), 43, ec);
|
7835
7835
|
}), 128))
|
7836
7836
|
], 32),
|
7837
|
-
|
7837
|
+
k(q.$slots, "bottom", {}, () => [
|
7838
7838
|
e.isIndefinite ? (t(), i("span", tc, [
|
7839
7839
|
g(o(Te), {
|
7840
7840
|
modelValue: b.value,
|
@@ -7972,13 +7972,13 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
7972
7972
|
a("resetCalendar"), a("update:modelValue", f.value ? [] : null), s.value = !1;
|
7973
7973
|
}, A = (y) => {
|
7974
7974
|
const V = G(y);
|
7975
|
-
return ((
|
7975
|
+
return (($) => $.get("month") === G().get("month"))(V);
|
7976
7976
|
}, j = (y) => {
|
7977
7977
|
d.value = y, a("update:modelValue", y ? "Indefinite" : null);
|
7978
7978
|
}, B = (y, V) => {
|
7979
|
-
var
|
7979
|
+
var $;
|
7980
7980
|
const O = G(y, l.dateFormat, !0);
|
7981
|
-
m.value[V] = O.format(l.dateFormat), m.value[V ? 0 : 1] = ((
|
7981
|
+
m.value[V] = O.format(l.dateFormat), m.value[V ? 0 : 1] = (($ = l.modelValue) == null ? void 0 : $[V ? 0 : 1]) || G().format(l.dateFormat);
|
7982
7982
|
}, C = () => {
|
7983
7983
|
if (m.value.length) {
|
7984
7984
|
if (c.value = !1, m.value.some((y) => !G(y, l.dateFormat).isValid())) {
|
@@ -7999,17 +7999,17 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
7999
7999
|
class: "w-full"
|
8000
8000
|
}, {
|
8001
8001
|
menu: S(({ isPopoverOpen: O }) => [
|
8002
|
-
|
8002
|
+
k(y.$slots, "menu", {
|
8003
8003
|
isPopoverOpen: O,
|
8004
8004
|
updateCalendar: h,
|
8005
8005
|
resetCalendar: b
|
8006
8006
|
}, () => {
|
8007
|
-
var
|
8007
|
+
var $, I;
|
8008
8008
|
return [
|
8009
8009
|
f.value ? (t(), p(o(fm), {
|
8010
8010
|
key: 0,
|
8011
8011
|
"model-value": {
|
8012
|
-
start: (
|
8012
|
+
start: ($ = e.modelValue) == null ? void 0 : $[0],
|
8013
8013
|
end: (I = e.modelValue) == null ? void 0 : I[1]
|
8014
8014
|
},
|
8015
8015
|
shortcuts: e.shortcuts,
|
@@ -8152,10 +8152,10 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8152
8152
|
var C, y, V;
|
8153
8153
|
parseInt((C = c.value) == null ? void 0 : C.value) - parseInt((y = d.value) == null ? void 0 : y.value) <= l.minGap && (c.value.value = parseInt((V = d.value) == null ? void 0 : V.value) + l.minGap), A();
|
8154
8154
|
}, A = (C = !1) => {
|
8155
|
-
var y, V, O,
|
8155
|
+
var y, V, O, $;
|
8156
8156
|
f.value = (((y = d.value) == null ? void 0 : y.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100, x.value = l.type === "range" ? (((V = c.value) == null ? void 0 : V.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100 : 0, m.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) ${x.value}%, var(--oc-gray-100) ${x.value}%)` : `linear-gradient(to right, var(--oc-primary-500) ${f.value}%, var(--oc-gray-100) ${f.value}%)`, C || s(
|
8157
8157
|
"update:modelValue",
|
8158
|
-
l.type === "range" ? [(O = d.value) == null ? void 0 : O.value, (
|
8158
|
+
l.type === "range" ? [(O = d.value) == null ? void 0 : O.value, ($ = c.value) == null ? void 0 : $.value] : d.value.value
|
8159
8159
|
);
|
8160
8160
|
}, j = (C) => {
|
8161
8161
|
C.key >= "0" && C.key <= "9" || C.key === "Backspace" || C.preventDefault();
|
@@ -8165,7 +8165,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8165
8165
|
return r({
|
8166
8166
|
updateSlider: B
|
8167
8167
|
}), we(() => B()), (C, y) => {
|
8168
|
-
var V, O,
|
8168
|
+
var V, O, $, I;
|
8169
8169
|
return t(), i("div", mc, [
|
8170
8170
|
e.label ? (t(), i("label", fc, [
|
8171
8171
|
n("span", vc, w(e.label), 1)
|
@@ -8204,19 +8204,19 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8204
8204
|
key: 1,
|
8205
8205
|
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]",
|
8206
8206
|
style: oe(`left: ${f.value}%`)
|
8207
|
-
}, w(e.type === "range" ? (
|
8207
|
+
}, w(e.type === "range" ? ($ = e.modelValue) == null ? void 0 : $[0] : e.modelValue), 5)) : u("", !0),
|
8208
8208
|
e.type === "range" ? (t(), i("div", {
|
8209
8209
|
key: 2,
|
8210
8210
|
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]",
|
8211
8211
|
style: oe(`right: ${100 - x.value}%`)
|
8212
8212
|
}, w((I = e.modelValue) == null ? void 0 : I[1]), 5)) : u("", !0),
|
8213
8213
|
n("span", yc, [
|
8214
|
-
|
8214
|
+
k(C.$slots, "min-limit-label", {}, () => [
|
8215
8215
|
W(w(e.minLimit), 1)
|
8216
8216
|
], !0)
|
8217
8217
|
]),
|
8218
8218
|
n("span", xc, [
|
8219
|
-
|
8219
|
+
k(C.$slots, "max-limit-label", {}, () => [
|
8220
8220
|
W(w(e.maxLimit), 1)
|
8221
8221
|
], !0)
|
8222
8222
|
])
|
@@ -8291,7 +8291,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8291
8291
|
}, w(e.description), 3)) : u("", !0),
|
8292
8292
|
e.errorMessage ? (t(), i("div", Cc, w(e.errorMessage), 1)) : u("", !0)
|
8293
8293
|
]),
|
8294
|
-
|
8294
|
+
k(s.$slots, "actions", {}, () => [
|
8295
8295
|
e.isToggle ? (t(), p(o(wt), F({
|
8296
8296
|
key: 0,
|
8297
8297
|
"model-value": e.modelValue
|
@@ -8395,7 +8395,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8395
8395
|
}]),
|
8396
8396
|
onClick: (x) => s(f.value)
|
8397
8397
|
}, [
|
8398
|
-
|
8398
|
+
k(c.$slots, "option", {
|
8399
8399
|
option: f,
|
8400
8400
|
selected: f.value.toString() === e.modelValue.toString()
|
8401
8401
|
}, () => [
|
@@ -8439,7 +8439,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8439
8439
|
}, Ac = { class: "flex gap-x-3" }, Mc = {
|
8440
8440
|
key: 0,
|
8441
8441
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8442
|
-
}, jc = ["accept"], Lc = { class: "py-2 flex flex-col" },
|
8442
|
+
}, jc = ["accept"], Lc = { class: "py-2 flex flex-col" }, Ec = ["src"], Pc = /* @__PURE__ */ Z({
|
8443
8443
|
__name: "OcSingleOnlyImageUpload",
|
8444
8444
|
props: {
|
8445
8445
|
accept: {
|
@@ -8547,7 +8547,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8547
8547
|
src: e.uploadedImage.fileUrl,
|
8548
8548
|
alt: "uploaded-image",
|
8549
8549
|
class: "object-contain h-full w-full"
|
8550
|
-
}, null, 8,
|
8550
|
+
}, null, 8, Ec)
|
8551
8551
|
], 2)) : u("", !0),
|
8552
8552
|
(t(), p(Rt, { to: "body" }, [
|
8553
8553
|
d.value ? (t(), p(o(ot), {
|
@@ -8629,15 +8629,15 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8629
8629
|
a.accept,
|
8630
8630
|
a.validateAcceptFileType
|
8631
8631
|
), C = z(() => {
|
8632
|
-
var
|
8633
|
-
return URL.createObjectURL((
|
8632
|
+
var E;
|
8633
|
+
return URL.createObjectURL((E = A.value) == null ? void 0 : E[0].file);
|
8634
8634
|
}), y = z(() => {
|
8635
|
-
var
|
8636
|
-
return (
|
8635
|
+
var E;
|
8636
|
+
return (E = A.value) == null ? void 0 : E[0];
|
8637
8637
|
});
|
8638
8638
|
we(() => {
|
8639
8639
|
if (a.modelValue && a.modelValue.current) {
|
8640
|
-
const
|
8640
|
+
const E = [
|
8641
8641
|
{
|
8642
8642
|
current: a.modelValue.current,
|
8643
8643
|
file: null,
|
@@ -8649,49 +8649,49 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8649
8649
|
extension: a.modelValue.current.extension ?? "png"
|
8650
8650
|
}
|
8651
8651
|
];
|
8652
|
-
A.value =
|
8652
|
+
A.value = E;
|
8653
8653
|
}
|
8654
8654
|
});
|
8655
|
-
const V = (
|
8656
|
-
|
8657
|
-
const D =
|
8655
|
+
const V = (E) => {
|
8656
|
+
E.preventDefault();
|
8657
|
+
const D = E.dataTransfer.files;
|
8658
8658
|
j({ target: { files: D } }, a.format === "object");
|
8659
8659
|
}, O = () => {
|
8660
8660
|
!d.value || !c.value || l("update:modelValue", { fileName: c, fileLink: d });
|
8661
|
-
},
|
8662
|
-
y.value.fileUrl =
|
8663
|
-
}, I = async (
|
8664
|
-
if (
|
8661
|
+
}, $ = (E) => {
|
8662
|
+
y.value.fileUrl = E, y.value.fileName = Date.now(), h.value = !1, b.value = "", l("update:modelValue", a.format === "object" ? y.value : [y.value]);
|
8663
|
+
}, I = async (E) => {
|
8664
|
+
if (E)
|
8665
8665
|
try {
|
8666
|
-
const D = await fetch(
|
8666
|
+
const D = await fetch(E, { method: "HEAD" });
|
8667
8667
|
m.value = D.ok;
|
8668
8668
|
} catch (D) {
|
8669
8669
|
console.log("Error checking file link:", D);
|
8670
8670
|
}
|
8671
8671
|
}, L = () => {
|
8672
8672
|
b.value = y.value.fileUrl, x.value = !1, h.value = !0;
|
8673
|
-
},
|
8674
|
-
l("update:modelValue",
|
8673
|
+
}, P = (E) => {
|
8674
|
+
l("update:modelValue", E);
|
8675
8675
|
};
|
8676
|
-
return (
|
8676
|
+
return (E, D) => (t(), p(o(he), {
|
8677
8677
|
label: e.label,
|
8678
8678
|
"label-class": e.labelClass,
|
8679
8679
|
hint: e.hint,
|
8680
8680
|
"error-message": e.errorMessage
|
8681
8681
|
}, {
|
8682
8682
|
hint: S(() => [
|
8683
|
-
|
8683
|
+
k(E.$slots, "hint")
|
8684
8684
|
]),
|
8685
8685
|
default: S(() => {
|
8686
8686
|
var U, H, K, _, ee, ie, ce, pe, $e, ke, ye, Se, re, Be, Ce;
|
8687
8687
|
return [
|
8688
|
-
e.isImageOnly ? (t(), p(
|
8688
|
+
e.isImageOnly ? (t(), p(Pc, {
|
8689
8689
|
key: 0,
|
8690
8690
|
accept: e.accept,
|
8691
8691
|
"uploaded-image": y.value,
|
8692
8692
|
"image-classes": e.imageClasses,
|
8693
8693
|
"show-upload-image-area": e.showUploadImageArea,
|
8694
|
-
"onUpdate:uploadedImage":
|
8694
|
+
"onUpdate:uploadedImage": P,
|
8695
8695
|
onChange: D[0] || (D[0] = (Q) => o(j)(Q, a.format === "object")),
|
8696
8696
|
onDelete: D[1] || (D[1] = (Q) => o(B)(0))
|
8697
8697
|
}, null, 8, ["accept", "uploaded-image", "image-classes", "show-upload-image-area"])) : e.isButtonOnly ? (t(), i(N, { key: 1 }, [
|
@@ -8780,7 +8780,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8780
8780
|
onClose: D[15] || (D[15] = () => {
|
8781
8781
|
h.value = !1, b.value = "";
|
8782
8782
|
}),
|
8783
|
-
onChangeImage:
|
8783
|
+
onChangeImage: $
|
8784
8784
|
}, null, 8, ["modelValue", "img"])) : u("", !0)
|
8785
8785
|
])) : (t(), i(N, { key: 1 }, [
|
8786
8786
|
n("div", Kc, [
|
@@ -8926,40 +8926,40 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8926
8926
|
"invalidFileType"
|
8927
8927
|
],
|
8928
8928
|
setup(e, { emit: r }) {
|
8929
|
-
const a = e, l = r, s = M([]), d = M(!1), c = M(""), m = M({}), f = z(() => a.uploadedImages[c.value].fileUrl), x = M(!1), h = M(""), b = (
|
8930
|
-
x.value = !0, h.value =
|
8929
|
+
const a = e, l = r, s = M([]), d = M(!1), c = M(""), m = M({}), f = z(() => a.uploadedImages[c.value].fileUrl), x = M(!1), h = M(""), b = ($) => {
|
8930
|
+
x.value = !0, h.value = $;
|
8931
8931
|
}, A = M(!1), j = () => {
|
8932
|
-
const
|
8933
|
-
|
8932
|
+
const $ = a.uploadedImages.find((I, L) => L === h.value);
|
8933
|
+
$.current ? l("onRemoveImage", $) : (l("delete", h.value), A.value = !0, setTimeout(() => {
|
8934
8934
|
A.value = !1;
|
8935
8935
|
}, 1e3)), l(
|
8936
8936
|
"update:uploadedImages",
|
8937
8937
|
a.uploadedImages.filter((I, L) => L !== h.value)
|
8938
8938
|
), x.value = !1;
|
8939
|
-
}, B = ({ url:
|
8939
|
+
}, B = ({ url: $, cropper: I }) => {
|
8940
8940
|
const L = a.uploadedImages[c.value];
|
8941
|
-
L.fileUrl =
|
8942
|
-
}, C = (
|
8941
|
+
L.fileUrl = $, L.fileName = Date.now(), l("onEditImage", { ...L, index: c.value, cropper: I }), d.value = !1, c.value = "", m.value = {};
|
8942
|
+
}, C = ($) => {
|
8943
8943
|
let I = a.uploadedImages[c.value];
|
8944
|
-
Object.keys(
|
8945
|
-
I[L] =
|
8944
|
+
Object.keys($).forEach((L) => {
|
8945
|
+
I[L] = $[L];
|
8946
8946
|
}), l("update:uploadedImages", a.uploadedImages);
|
8947
|
-
}, y = (
|
8948
|
-
let I = a.uploadedImages.length +
|
8947
|
+
}, y = ($) => {
|
8948
|
+
let I = a.uploadedImages.length + $.target.files.length > a.maxImages;
|
8949
8949
|
if (a.maxImages && I) {
|
8950
8950
|
l("onMaxFileExceed", I);
|
8951
8951
|
return;
|
8952
8952
|
}
|
8953
|
-
l("change",
|
8953
|
+
l("change", $);
|
8954
8954
|
}, V = z(
|
8955
8955
|
() => a.maxImages == null || a.maxImages && a.uploadedImages.length < a.maxImages
|
8956
|
-
), O = (
|
8956
|
+
), O = ($, I) => {
|
8957
8957
|
var L;
|
8958
|
-
c.value =
|
8959
|
-
m.value[
|
8960
|
-
}), s[
|
8958
|
+
c.value = $, (L = a.inputOptions) == null || L.forEach((P) => {
|
8959
|
+
m.value[P] = I[P], P === "caption" && (m.value.caption_variant = I.caption_variant);
|
8960
|
+
}), s[$] = !1, d.value = !0;
|
8961
8961
|
};
|
8962
|
-
return (
|
8962
|
+
return ($, I) => (t(), i("div", _c, [
|
8963
8963
|
V.value ? (t(), i("label", eu, [
|
8964
8964
|
n("div", tu, [
|
8965
8965
|
g(o(T), { name: "plus" })
|
@@ -8980,35 +8980,35 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
8980
8980
|
filter: "filtered-el",
|
8981
8981
|
class: "grid w-fit grid-cols-3 gap-3",
|
8982
8982
|
style: oe(`grid-template-columns: repeat(${e.columnsCount}, 1fr)`),
|
8983
|
-
"onUpdate:modelValue": I[0] || (I[0] = (L) => e.isDisabled ? null :
|
8983
|
+
"onUpdate:modelValue": I[0] || (I[0] = (L) => e.isDisabled ? null : $.$emit("update:uploadedImages", L))
|
8984
8984
|
}, {
|
8985
8985
|
default: S(({ list: L }) => [
|
8986
|
-
(t(!0), i(N, null, R(L, (
|
8987
|
-
key:
|
8986
|
+
(t(!0), i(N, null, R(L, (P, E) => (t(), i("div", {
|
8987
|
+
key: P.fileName,
|
8988
8988
|
class: v(["w-[100px] group relative cursor-pointer aspect-square border rounded border-oc-accent-1-100 bg-cover bg-center", {
|
8989
|
-
"border-oc-primary": e.selectedImage.fileName ===
|
8990
|
-
"col-start-2":
|
8989
|
+
"border-oc-primary": e.selectedImage.fileName === P.fileName,
|
8990
|
+
"col-start-2": E === 0 && V.value
|
8991
8991
|
}]),
|
8992
|
-
style: oe(`background-image: url(${
|
8993
|
-
onClick: (D) =>
|
8992
|
+
style: oe(`background-image: url(${P.fileUrl})`),
|
8993
|
+
onClick: (D) => $.$emit("update:selectedImage", P)
|
8994
8994
|
}, [
|
8995
8995
|
e.isDisabled ? u("", !0) : (t(), p(o(se), {
|
8996
8996
|
key: 0,
|
8997
|
-
modelValue: s.value[
|
8998
|
-
"onUpdate:modelValue": (D) => s.value[
|
8997
|
+
modelValue: s.value[E],
|
8998
|
+
"onUpdate:modelValue": (D) => s.value[E] = D,
|
8999
8999
|
placement: "bottom-end",
|
9000
9000
|
class: "absolute top-2 right-2 z-[1010] hidden group-hover:flex"
|
9001
9001
|
}, {
|
9002
9002
|
menu: S(() => [
|
9003
|
-
|
9004
|
-
item:
|
9003
|
+
k($.$slots, "action", {
|
9004
|
+
item: P,
|
9005
9005
|
removeItem: b,
|
9006
|
-
fileIndex:
|
9006
|
+
fileIndex: E
|
9007
9007
|
}, () => [
|
9008
9008
|
n("div", nu, [
|
9009
9009
|
n("div", {
|
9010
9010
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
9011
|
-
onClick: (D) => O(
|
9011
|
+
onClick: (D) => O(E, P)
|
9012
9012
|
}, [
|
9013
9013
|
g(o(T), {
|
9014
9014
|
width: "16",
|
@@ -9020,7 +9020,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9020
9020
|
n("div", {
|
9021
9021
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
9022
9022
|
onClick: () => {
|
9023
|
-
b(
|
9023
|
+
b(E), s.value[E] = !1;
|
9024
9024
|
}
|
9025
9025
|
}, [
|
9026
9026
|
g(o(T), {
|
@@ -9042,14 +9042,14 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9042
9042
|
_: 2
|
9043
9043
|
}, 1032, ["modelValue", "onUpdate:modelValue"])),
|
9044
9044
|
n("div", {
|
9045
|
-
class: v(["absolute transition-all duration-500 top-0 left-0 flex items-center justify-center w-full h-full",
|
9045
|
+
class: v(["absolute transition-all duration-500 top-0 left-0 flex items-center justify-center w-full h-full", P.progress !== 100 ? "bg-black/[.35]" : "bg-black/0"])
|
9046
9046
|
}, [
|
9047
9047
|
n("div", {
|
9048
|
-
class: v(["h-[6px] w-[72px] bg-white transition-all rounded-full", { "on-end-loading opacity-0":
|
9048
|
+
class: v(["h-[6px] w-[72px] bg-white transition-all rounded-full", { "on-end-loading opacity-0": P.progress === 100 }])
|
9049
9049
|
}, [
|
9050
9050
|
n("div", {
|
9051
9051
|
class: "h-full bg-oc-primary rounded-full w-0 transition-all duration-500",
|
9052
|
-
style: oe({ width: `${
|
9052
|
+
style: oe({ width: `${P.progress || 0}%` })
|
9053
9053
|
}, null, 4)
|
9054
9054
|
], 2)
|
9055
9055
|
], 2),
|
@@ -9183,7 +9183,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9183
9183
|
"error-message": o(m) ? `File(s) is more than ${e.maxSize}MB` : e.errorMessage
|
9184
9184
|
}, {
|
9185
9185
|
hint: S(() => [
|
9186
|
-
|
9186
|
+
k(B.$slots, "hint")
|
9187
9187
|
]),
|
9188
9188
|
default: S(() => [
|
9189
9189
|
e.isImageOnly ? (t(), p(du, {
|
@@ -9206,7 +9206,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9206
9206
|
onOnMaxFileExceed: C[4] || (C[4] = (y) => B.$emit("onMaxFileExceed", y))
|
9207
9207
|
}, {
|
9208
9208
|
action: S((y) => [
|
9209
|
-
|
9209
|
+
k(B.$slots, "action", {
|
9210
9210
|
item: y.item,
|
9211
9211
|
removeItem: y.removeItem,
|
9212
9212
|
fileIndex: y.i
|
@@ -9214,7 +9214,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9214
9214
|
]),
|
9215
9215
|
_: 3
|
9216
9216
|
}, 8, ["uploaded-images", "selected-image", "columns-count", "accept", "input-options", "max-images", "is-disabled", "onChange", "onDelete"])) : e.isButtonOnly ? (t(), i(N, { key: 1 }, [
|
9217
|
-
|
9217
|
+
k(B.$slots, "button", { triggerInput: j }, () => [
|
9218
9218
|
g(o(X), F(e.buttonUploadProps, { onClick: j }), null, 16)
|
9219
9219
|
]),
|
9220
9220
|
n("input", {
|
@@ -9477,9 +9477,9 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9477
9477
|
}),
|
9478
9478
|
onScroll: B[0] || (B[0] = (C) => j.$emit("scroll", C))
|
9479
9479
|
}, [
|
9480
|
-
|
9480
|
+
k(j.$slots, "menu", { isPopoverOpen: e.modelValue }, void 0, !0)
|
9481
9481
|
], 38), [
|
9482
|
-
[
|
9482
|
+
[Pe, e.modelValue]
|
9483
9483
|
])
|
9484
9484
|
]),
|
9485
9485
|
_: 3
|
@@ -9490,7 +9490,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9490
9490
|
class: "w-[inherit] flex",
|
9491
9491
|
onClick: m
|
9492
9492
|
}, [
|
9493
|
-
|
9493
|
+
k(j.$slots, "default", {}, void 0, !0)
|
9494
9494
|
])
|
9495
9495
|
]),
|
9496
9496
|
_: 3
|
@@ -9543,7 +9543,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9543
9543
|
name: e.icon
|
9544
9544
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : u("", !0),
|
9545
9545
|
n("span", null, w(e.text), 1),
|
9546
|
-
|
9546
|
+
k(a.$slots, "badge")
|
9547
9547
|
]),
|
9548
9548
|
e.isBeta ? (t(), i("div", Tu, " BETA ")) : e.isNew ? (t(), i("div", Du, " NEW ")) : e.isTryIt ? (t(), i("div", Au, " TRY IT ")) : u("", !0)
|
9549
9549
|
]),
|
@@ -9556,7 +9556,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9556
9556
|
key: 0,
|
9557
9557
|
class: "oc-arrow",
|
9558
9558
|
"data-popper-arrow": ""
|
9559
|
-
},
|
9559
|
+
}, Eu = {
|
9560
9560
|
__name: "OcTooltip",
|
9561
9561
|
props: {
|
9562
9562
|
popperClass: {
|
@@ -9649,10 +9649,10 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9649
9649
|
ref: s,
|
9650
9650
|
class: v(["oc-tooltip", e.popperClass])
|
9651
9651
|
}, [
|
9652
|
-
|
9652
|
+
k(x.$slots, "popper", {}, void 0, !0),
|
9653
9653
|
e.arrowHidden ? u("", !0) : (t(), i("div", Lu))
|
9654
9654
|
], 2), [
|
9655
|
-
[
|
9655
|
+
[Pe, a.value]
|
9656
9656
|
])
|
9657
9657
|
]),
|
9658
9658
|
_: 3
|
@@ -9664,7 +9664,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9664
9664
|
ref: l,
|
9665
9665
|
class: "w-[inherit] relative"
|
9666
9666
|
}, [
|
9667
|
-
|
9667
|
+
k(x.$slots, "default", {}, void 0, !0)
|
9668
9668
|
], 512)
|
9669
9669
|
]),
|
9670
9670
|
_: 3
|
@@ -9673,7 +9673,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9673
9673
|
[o(nt), f]
|
9674
9674
|
]);
|
9675
9675
|
}
|
9676
|
-
}, ae = /* @__PURE__ */ ge(
|
9676
|
+
}, ae = /* @__PURE__ */ ge(Eu, [["__scopeId", "data-v-a902efc5"]]), Pu = {
|
9677
9677
|
key: 0,
|
9678
9678
|
id: "modal-overlay-wrapper",
|
9679
9679
|
class: "fixed w-screen z-[1008] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
@@ -9777,7 +9777,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9777
9777
|
), Ft(() => {
|
9778
9778
|
var h;
|
9779
9779
|
(h = f.value) == null || h.removeEventListener("scroll", x);
|
9780
|
-
}), (h, b) => e.modelValue ? (t(), i("div",
|
9780
|
+
}), (h, b) => e.modelValue ? (t(), i("div", Pu, [
|
9781
9781
|
n("div", {
|
9782
9782
|
class: "w-full h-full absolute top-0 left-0 z-[1008]",
|
9783
9783
|
onClick: d
|
@@ -9789,10 +9789,10 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9789
9789
|
key: 0,
|
9790
9790
|
class: v(["flex bg-inherit border-oc-gray-200 gap-x-9 justify-between p-5 items-start rounded-t-xl", e.isBorderless ? "" : "border-b"])
|
9791
9791
|
}, [
|
9792
|
-
|
9792
|
+
k(h.$slots, "header", {}, () => [
|
9793
9793
|
n("div", Nu, [
|
9794
9794
|
n("span", zu, w(e.title), 1),
|
9795
|
-
|
9795
|
+
k(h.$slots, "description", {}, () => [
|
9796
9796
|
e.description ? (t(), i("span", Ru, w(e.description), 1)) : u("", !0)
|
9797
9797
|
])
|
9798
9798
|
]),
|
@@ -9816,7 +9816,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9816
9816
|
class: v(["overflow-y-auto", [e.size === "small" ? "p-5" : "p-7", e.isBorderless ? "py-0" : ""]]),
|
9817
9817
|
onScroll: b[1] || (b[1] = (A) => l("content-scroll", A))
|
9818
9818
|
}, [
|
9819
|
-
|
9819
|
+
k(h.$slots, "default")
|
9820
9820
|
], 42, Fu),
|
9821
9821
|
e.isFooterVisible ? (t(), i("div", {
|
9822
9822
|
key: 1,
|
@@ -9827,7 +9827,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9827
9827
|
}
|
9828
9828
|
]])
|
9829
9829
|
}, [
|
9830
|
-
|
9830
|
+
k(h.$slots, "footer", {}, () => [
|
9831
9831
|
g(o(X), F({
|
9832
9832
|
label: "Cancel",
|
9833
9833
|
variant: "secondary",
|
@@ -9880,7 +9880,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9880
9880
|
const a = r;
|
9881
9881
|
return (l, s) => e.modelValue ? (t(), i("div", qu, [
|
9882
9882
|
n("div", Hu, [
|
9883
|
-
|
9883
|
+
k(l.$slots, "top"),
|
9884
9884
|
n("div", {
|
9885
9885
|
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])
|
9886
9886
|
}, [
|
@@ -9908,7 +9908,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9908
9908
|
s[2] || (s[2] = n("span", null, "Close", -1))
|
9909
9909
|
]),
|
9910
9910
|
n("div", Yu, [
|
9911
|
-
|
9911
|
+
k(l.$slots, "default")
|
9912
9912
|
])
|
9913
9913
|
], 2)
|
9914
9914
|
])
|
@@ -9954,7 +9954,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
9954
9954
|
}, null, 8, ["name"])
|
9955
9955
|
], 2)),
|
9956
9956
|
n("div", Wu, [
|
9957
|
-
|
9957
|
+
k(l.$slots, "description", {}, () => [
|
9958
9958
|
n("span", { innerHTML: e.description }, null, 8, Ku)
|
9959
9959
|
])
|
9960
9960
|
])
|
@@ -10067,7 +10067,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10067
10067
|
m.$slots.description ? {
|
10068
10068
|
name: "description",
|
10069
10069
|
fn: S(() => [
|
10070
|
-
|
10070
|
+
k(m.$slots, "description")
|
10071
10071
|
]),
|
10072
10072
|
key: "0"
|
10073
10073
|
} : void 0
|
@@ -10137,7 +10137,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10137
10137
|
ref_for: !0
|
10138
10138
|
}, c), {
|
10139
10139
|
badge: S(() => [
|
10140
|
-
|
10140
|
+
k(a.$slots, "badge", { item: c }),
|
10141
10141
|
c.isLoading ? (t(), p(o(T), {
|
10142
10142
|
key: 0,
|
10143
10143
|
width: "16",
|
@@ -10156,7 +10156,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10156
10156
|
ref_for: !0
|
10157
10157
|
}, s), {
|
10158
10158
|
badge: S(() => [
|
10159
|
-
|
10159
|
+
k(a.$slots, "badge", { item: s }),
|
10160
10160
|
s.isLoading ? (t(), p(o(T), {
|
10161
10161
|
key: 0,
|
10162
10162
|
width: "16",
|
@@ -10223,7 +10223,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10223
10223
|
n("div", {
|
10224
10224
|
onClick: l[0] || (l[0] = (d) => r(e.value))
|
10225
10225
|
}, [
|
10226
|
-
|
10226
|
+
k(a.$slots, "default", { isShow: s }, () => [
|
10227
10227
|
g(o(T), {
|
10228
10228
|
width: "14",
|
10229
10229
|
height: "14",
|
@@ -10256,7 +10256,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10256
10256
|
a[0] || (a[0] = n("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
|
10257
10257
|
n("div", im, [
|
10258
10258
|
n("div", om, [
|
10259
|
-
|
10259
|
+
k(r.$slots, "logo", {}, () => [
|
10260
10260
|
n("div", sm, [
|
10261
10261
|
n("img", {
|
10262
10262
|
src: e.imagePath,
|
@@ -10271,10 +10271,10 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10271
10271
|
]),
|
10272
10272
|
n("span", um, w(e.description), 1)
|
10273
10273
|
]),
|
10274
|
-
|
10274
|
+
k(r.$slots, "bottom")
|
10275
10275
|
]),
|
10276
10276
|
n("div", mm, [
|
10277
|
-
|
10277
|
+
k(r.$slots, "footer", {}, () => [
|
10278
10278
|
g(o(X), F({
|
10279
10279
|
label: "Request Access",
|
10280
10280
|
class: "w-fit"
|
@@ -10324,8 +10324,8 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10324
10324
|
},
|
10325
10325
|
emits: ["onUpdate"],
|
10326
10326
|
setup(e, { emit: r }) {
|
10327
|
-
const a = e, l = r, s = (
|
10328
|
-
l("onUpdate",
|
10327
|
+
const a = e, l = r, s = ($, I) => {
|
10328
|
+
l("onUpdate", $, I);
|
10329
10329
|
}, d = {
|
10330
10330
|
CardInput: gr,
|
10331
10331
|
CheckboxesGroup: xr,
|
@@ -10344,59 +10344,60 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10344
10344
|
PhoneInput: Nr,
|
10345
10345
|
SectionItem: Bc,
|
10346
10346
|
SelectOptions: Dc
|
10347
|
-
}, c = (
|
10348
|
-
const
|
10349
|
-
`).map((
|
10350
|
-
return Object.entries(a.grid).forEach(([L,
|
10351
|
-
Object.entries(
|
10352
|
-
I[`--grid-${L}-${
|
10347
|
+
}, c = ($) => d[$] ? d[$] : null, m = z(() => {
|
10348
|
+
const $ = (L) => L.split(`
|
10349
|
+
`).map((P) => P.trim()).filter(Boolean).map((P) => `"${P}"`).join(" "), I = {};
|
10350
|
+
return Object.entries(a.grid).forEach(([L, P]) => {
|
10351
|
+
Object.entries(P).forEach(([E, D]) => {
|
10352
|
+
I[`--grid-${L}-${E}`] = E === "area" ? $(D) : D;
|
10353
10353
|
});
|
10354
10354
|
}), I;
|
10355
|
-
}), f = (
|
10355
|
+
}), f = ($) => typeof $ == "object" ? $[0].key : $, x = ($) => `grid-area: ${f($)}`, h = z(() => a.class), b = M({}), A = M({}), j = M({}), B = ($) => typeof $ == "object" ? $[0].key : $, C = ($) => {
|
10356
10356
|
a.jsonForm.forEach((I) => {
|
10357
10357
|
var L;
|
10358
10358
|
if (typeof I.name == "object") {
|
10359
|
-
let
|
10360
|
-
I.name.forEach((
|
10361
|
-
|
10362
|
-
}), b.value[B(I.name)] =
|
10359
|
+
let P = null;
|
10360
|
+
I.name.forEach((E) => {
|
10361
|
+
$[E.key] && (P ? P.push($[E.key]) : P = [$[E.key]]);
|
10362
|
+
}), b.value[B(I.name)] = P, O(I);
|
10363
10363
|
} else
|
10364
|
-
(L = I.props) != null && L.parentKey ? (b.value[I.props.parentKey] =
|
10364
|
+
(L = I.props) != null && L.parentKey ? (b.value[I.props.parentKey] = $[I.props.parentKey] ?? {}, b.value[I.props.parentKey][I.name] = $[I.props.parentKey][I.name] ?? "") : b.value[I.name] = $[I.name] ?? "", O(I);
|
10365
10365
|
});
|
10366
10366
|
}, y = () => {
|
10367
|
-
a.jsonForm.forEach((
|
10368
|
-
if (typeof
|
10367
|
+
a.jsonForm.forEach(($) => {
|
10368
|
+
if (typeof $.name == "object") {
|
10369
10369
|
let I = [];
|
10370
|
-
|
10370
|
+
$.name.forEach((L) => {
|
10371
10371
|
a.errors[L.key] && I.push(a.errors[L.key]);
|
10372
|
-
}), A.value[B(
|
10372
|
+
}), A.value[B($.name)] = I.join(",");
|
10373
10373
|
} else
|
10374
|
-
A.value[
|
10374
|
+
A.value[$.name] = a.errors[$.name] ?? "";
|
10375
10375
|
});
|
10376
10376
|
}, V = z(() => ({
|
10377
10377
|
...a.logicValues,
|
10378
10378
|
...b.value
|
10379
|
-
})), O = (
|
10380
|
-
if (
|
10381
|
-
let I =
|
10382
|
-
if (
|
10383
|
-
if (
|
10384
|
-
if (Array.isArray(
|
10379
|
+
})), O = ($) => {
|
10380
|
+
if ($.show_if || $.show_if_preview) {
|
10381
|
+
let I = $.class ? $.class : "";
|
10382
|
+
if ($.show_if)
|
10383
|
+
if ($.show_if_value !== void 0)
|
10384
|
+
if (Array.isArray($.show_if_value)) {
|
10385
10385
|
let L = 0;
|
10386
|
-
|
10387
|
-
|
10388
|
-
|
10389
|
-
|
10390
|
-
|
10391
|
-
|
10392
|
-
|
10386
|
+
$.show_if.forEach((P, E) => {
|
10387
|
+
var D, U;
|
10388
|
+
$.show_if_value[E] === "arrayExist" ? (D = V.value[$.show_if[E]]) != null && D.length && (L = L + 1, console.log("arrayExist :", $.name, (U = V.value[$.show_if[E]]) == null ? void 0 : U.length)) : $.show_if_value[E] === V.value[$.show_if[E]] && (L = L + 1);
|
10389
|
+
}), L < $.show_if.length && (I = I + " hidden");
|
10390
|
+
} else $.show_if_value !== V.value[$.show_if] && (I = I + " hidden");
|
10391
|
+
else $.show_if_not !== void 0 ? $.show_if_not === V.value[$.show_if] && (I = I + " hidden") : $.show_if_min !== void 0 && (isNaN(parseInt(V.value[$.show_if])) ? 1 : parseInt(V.value[$.show_if])) < parseInt($.show_if_min) && (I = I + " hidden");
|
10392
|
+
else $.show_if_preview && ($.show_if_preview_only !== void 0 ? $.show_if_preview_only !== a.previewMode && (I = I + " hidden") : $.show_if_preview_not !== void 0 && $.show_if_preview_not === a.previewMode && (I = I + " hidden"));
|
10393
|
+
typeof $.name == "object" ? j.value[B($.name)] = I : j.value[$.name] = I;
|
10393
10394
|
} else
|
10394
|
-
j.value[
|
10395
|
+
j.value[$.name] = $.class ? $.class : "";
|
10395
10396
|
};
|
10396
10397
|
return ue(
|
10397
10398
|
() => a.values,
|
10398
|
-
(
|
10399
|
-
C(
|
10399
|
+
($) => {
|
10400
|
+
C($);
|
10400
10401
|
},
|
10401
10402
|
{
|
10402
10403
|
deep: !0
|
@@ -10411,7 +10412,7 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10411
10412
|
}
|
10412
10413
|
), ue(
|
10413
10414
|
() => a.errors,
|
10414
|
-
(
|
10415
|
+
($) => {
|
10415
10416
|
y();
|
10416
10417
|
},
|
10417
10418
|
{
|
@@ -10424,13 +10425,13 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10424
10425
|
}
|
10425
10426
|
), we(() => {
|
10426
10427
|
C(a.values), y(a.errors);
|
10427
|
-
}), (
|
10428
|
+
}), ($, I) => Object.values(b.value).length > 0 ? (t(), i("div", {
|
10428
10429
|
key: 0,
|
10429
10430
|
class: v(e.grid ? `responsive-smart-form-grid ${h.value}` : h.value),
|
10430
10431
|
style: oe(e.grid ? m.value : "")
|
10431
10432
|
}, [
|
10432
10433
|
(t(!0), i(N, null, R(e.jsonForm, (L) => {
|
10433
|
-
var
|
10434
|
+
var P, E, D, U, H, K;
|
10434
10435
|
return t(), i("div", {
|
10435
10436
|
key: f(L.name),
|
10436
10437
|
style: oe(e.grid ? x(L.name) : ""),
|
@@ -10443,10 +10444,10 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10443
10444
|
key: 0,
|
10444
10445
|
ref_for: !0
|
10445
10446
|
}, L.props, {
|
10446
|
-
"model-value": (
|
10447
|
+
"model-value": (P = L.props) != null && P.parentKey ? (D = (E = b.value) == null ? void 0 : E[L.props.parentKey]) == null ? void 0 : D[L.name] : b.value[typeof L.name == "object" ? B(L.name) : L.name],
|
10447
10448
|
"error-message": A.value[typeof L.name == "object" ? B(L.name) : L.name],
|
10448
10449
|
"onUpdate:modelValue": (_) => s(L, _)
|
10449
|
-
}), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) :
|
10450
|
+
}), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) : k($.$slots, L.type, {
|
10450
10451
|
key: 1,
|
10451
10452
|
formId: e.id,
|
10452
10453
|
form: L,
|
@@ -10458,16 +10459,16 @@ const nc = { class: "flex flex-col gap-y-2 w-full" }, ic = {
|
|
10458
10459
|
}), 128))
|
10459
10460
|
], 6)) : u("", !0);
|
10460
10461
|
}
|
10461
|
-
}, If = de(() => import("./OcDataTable-
|
10462
|
-
() => import("./OcComplexCalendar-
|
10462
|
+
}, If = de(() => import("./OcDataTable-BbFL4zjh.js")), Tf = de(() => import("./OcFilterSearch-DbMiRFHG.js")), Df = de(() => import("./OcFilterSearchFor-DJhyhd-F.js")), Af = de(() => import("./OcFilterForm-DM3TcUdT.js")), fm = de(
|
10463
|
+
() => import("./OcComplexCalendar-BJv5l9hH.js")
|
10463
10464
|
), Mf = de(
|
10464
|
-
() => import("./OcComplexDatePicker-
|
10465
|
-
), ot = de(() => import("./OcModalCropper-
|
10466
|
-
() => import("./ThumbnailTheme-
|
10465
|
+
() => import("./OcComplexDatePicker-CmqwWvGj.js")
|
10466
|
+
), ot = de(() => import("./OcModalCropper-C-EDNG-h.js")), jf = de(() => import("./OcCropper-BlfB-4nk.js")), vm = de(() => import("./OcDraggable-CZT2mJvO.js")), Lf = de(() => import("./OcDraggableList-CllXW5qI.js")), Ef = de(() => import("./OcEmojiPicker-BpPAP7-9.js")), Pf = de(
|
10467
|
+
() => import("./ThumbnailTheme-D64vYCXL.js")
|
10467
10468
|
), Nf = de(
|
10468
|
-
() => import("./ThumbnailSection-
|
10469
|
-
), zf = de(() => import("./SubPlanCard-
|
10470
|
-
() => import("./OcAccountSetupProgress-
|
10469
|
+
() => import("./ThumbnailSection-DqglX61w.js")
|
10470
|
+
), zf = de(() => import("./SubPlanCard-WWjQAFND.js")), Rf = de(() => import("./OcTimePopup-CXGhaOev.js")), gm = de(() => import("./OcTimePicker-CP_PkhLG.js")), Ff = de(
|
10471
|
+
() => import("./OcAccountSetupProgress-BGdsvttp.js")
|
10471
10472
|
);
|
10472
10473
|
export {
|
10473
10474
|
Gm as $,
|
@@ -10481,14 +10482,14 @@ export {
|
|
10481
10482
|
zm as H,
|
10482
10483
|
ct as I,
|
10483
10484
|
ut as J,
|
10484
|
-
|
10485
|
+
Pm as K,
|
10485
10486
|
Nm as L,
|
10486
10487
|
rt as M,
|
10487
10488
|
Bu as N,
|
10488
10489
|
Re as O,
|
10489
10490
|
dt as P,
|
10490
10491
|
rl as Q,
|
10491
|
-
|
10492
|
+
Ee as R,
|
10492
10493
|
Lt as S,
|
10493
10494
|
fl as T,
|
10494
10495
|
Rm as U,
|
@@ -10526,8 +10527,8 @@ export {
|
|
10526
10527
|
ot as aO,
|
10527
10528
|
jf as aP,
|
10528
10529
|
Lf as aQ,
|
10529
|
-
|
10530
|
-
|
10530
|
+
Ef as aR,
|
10531
|
+
Pf as aS,
|
10531
10532
|
Nf as aT,
|
10532
10533
|
zf as aU,
|
10533
10534
|
gm as aV,
|