@orchidui/core 1.1.1-0 → 1.1.31-0
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 +1 -1
- 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/TextArea/OcTextArea.js +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcComplexCalendar-FK96RqSO.js → OcComplexCalendar-C9gKGce4.js} +1 -1
- package/dist/{OcComplexDatePicker-D_WJaaU3.js → OcComplexDatePicker-BE9B6y7E.js} +1 -1
- package/dist/{OcCropper-BjEg5Cig.js → OcCropper-BEBYeBqq.js} +1 -1
- package/dist/{OcDataTable-CLK08njm.js → OcDataTable-CndminaH.js} +1 -1
- package/dist/{OcDraggableList-Bp0S63h1.js → OcDraggableList-v3cHOSFs.js} +1 -1
- package/dist/{OcEmojiPicker-DYGR0afJ.js → OcEmojiPicker-DcE2cOO-.js} +1 -1
- package/dist/{OcFilterForm-ruglqCZX.js → OcFilterForm-BCxnrGNo.js} +1 -1
- package/dist/{OcFilterSearch-B3yc4z1j.js → OcFilterSearch-BvprApAY.js} +1 -1
- package/dist/{OcFilterSearchFor-Dor5L0GX.js → OcFilterSearchFor-BYAMQSrI.js} +1 -1
- package/dist/{OcModalCropper-4ezCPFQT.js → OcModalCropper-C9Ir3F4h.js} +2 -2
- package/dist/{OcTheme-Bi0rVdcF.js → OcTheme-CWgrJh5Q.js} +5 -7
- package/dist/{OcTimePicker-KVGzwQNp.js → OcTimePicker-Dg-1BEeD.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-owVF6dhE.js → SubPlanCard-CQdj7Hom.js} +1 -1
- package/dist/Theme/OcTheme.js +1 -1
- package/dist/{ThumbnailSection-VYcWsapx.js → ThumbnailSection-XJi8M-3x.js} +1 -1
- package/dist/{ThumbnailTheme-DePBiojY.js → ThumbnailTheme-DUpqvXl3.js} +1 -1
- package/dist/{index-DEzH9gPU.js → index-BfIYQ7JH.js} +826 -829
- package/dist/index.js +2 -2
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as z, ref as M, onMounted as Ce, openBlock as t, createElementBlock as s, normalizeClass as f, renderSlot as S, createCommentVNode as m, createElementVNode as n, createBlock as p, unref as i, Fragment as L, renderList as R, withCtx as w, createTextVNode as W, toDisplayString as $, createVNode as x, mergeProps as F, normalizeProps as ue, guardReactiveProps as Ie, withModifiers as ye, defineComponent as Z, normalizeStyle as re, createSlots as te, useSlots as ht, onBeforeUnmount as zt, withDirectives as Te, vShow as ze, resolveDynamicComponent as bt, watch as ve, onUpdated as Nt, nextTick as Ye, reactive as Rt,
|
1
|
+
import { computed as z, ref as M, onMounted as Ce, openBlock as t, createElementBlock as s, normalizeClass as f, renderSlot as S, createCommentVNode as m, createElementVNode as n, createBlock as p, unref as i, Fragment as L, renderList as R, withCtx as w, createTextVNode as W, toDisplayString as $, createVNode as x, mergeProps as F, normalizeProps as ue, guardReactiveProps as Ie, withModifiers as ye, defineComponent as Z, normalizeStyle as re, createSlots as te, useSlots as ht, onBeforeUnmount as zt, withDirectives as Te, vShow as ze, resolveDynamicComponent as bt, watch as ve, onUpdated as Nt, nextTick as Ye, reactive as Rt, Transition as je, useAttrs as Ft, withKeys as Ue, Teleport as Ut, onUnmounted as qt, defineAsyncComponent as de } from "vue";
|
2
2
|
import { S as Se } from "./OcSkeleton-CvdpGSQR.js";
|
3
3
|
import { _ as T } from "./OcIcon-CJgBICxh.js";
|
4
4
|
import { clickOutside as wt } from "./directives/clickOutside.js";
|
@@ -9,18 +9,18 @@ import { _ as it } from "./OcAvatar-NDXQiZvz.js";
|
|
9
9
|
import "./OcProgressBar-hiyC5XSc.js";
|
10
10
|
import "./OcHorizontalProgressbar.vue_vue_type_script_setup_true_lang-4eVgPDi5.js";
|
11
11
|
import "./OcSwitchTabs-CYp676bj.js";
|
12
|
-
import { useWindowWidth as
|
13
|
-
import { _ as
|
14
|
-
import { preventEventIfNotNumberInput as
|
15
|
-
import { parsePhoneNumber as
|
12
|
+
import { useWindowWidth as Ht } from "./composables/useWindowWidth.js";
|
13
|
+
import { _ as Yt } from "./OcTag.vue_vue_type_script_setup_true_lang-D19lw-8Y.js";
|
14
|
+
import { preventEventIfNotNumberInput as Wt } from "./composables/helpers.js";
|
15
|
+
import { parsePhoneNumber as Kt } from "libphonenumber-js";
|
16
16
|
import { S as kt } from "./OcSlider-DW9x8eas.js";
|
17
17
|
import { T as St } from "./OcToggle-bIJaLDMZ.js";
|
18
18
|
import { useUploadFileProgress as Ct } from "./composables/uploadFileProgress.js";
|
19
|
-
import "./OcTheme-
|
20
|
-
const
|
19
|
+
import "./OcTheme-CWgrJh5Q.js";
|
20
|
+
const Gt = {
|
21
21
|
key: 0,
|
22
22
|
class: "flex relative group/row md:p-0 py-3 w-full"
|
23
|
-
},
|
23
|
+
}, Uu = {
|
24
24
|
__name: "OcTable",
|
25
25
|
props: {
|
26
26
|
options: {
|
@@ -238,7 +238,7 @@ const Xt = {
|
|
238
238
|
_: 2
|
239
239
|
}, 1032, ["is-last", "variant", "is-copy", "add-description-to-copy-clipboard", "data", "content", "chip-options", "class", "image-class", "link", "onClick"]))), 128))
|
240
240
|
], 2),
|
241
|
-
g.$slots.extra ? (t(), s("div",
|
241
|
+
g.$slots.extra ? (t(), s("div", Gt, [
|
242
242
|
S(g.$slots, "extra", {
|
243
243
|
item: V,
|
244
244
|
index: N
|
@@ -251,7 +251,7 @@ const Xt = {
|
|
251
251
|
S(g.$slots, "after")
|
252
252
|
], 34));
|
253
253
|
}
|
254
|
-
},
|
254
|
+
}, Xt = { class: "mx-auto" }, st = {
|
255
255
|
__name: "OcTableHeader",
|
256
256
|
props: {
|
257
257
|
variant: {
|
@@ -286,7 +286,7 @@ const Xt = {
|
|
286
286
|
e.variant === r.TEXT ? S(l.$slots, "default", { key: 0 }, () => [
|
287
287
|
W($(e.text), 1)
|
288
288
|
]) : S(l.$slots, "default", { key: 1 }, () => [
|
289
|
-
n("div",
|
289
|
+
n("div", Xt, [
|
290
290
|
x(i(De), {
|
291
291
|
"model-value": e.isChecked,
|
292
292
|
"is-partial": e.isPartial,
|
@@ -300,7 +300,7 @@ const Xt = {
|
|
300
300
|
], 64))
|
301
301
|
], 2));
|
302
302
|
}
|
303
|
-
},
|
303
|
+
}, Jt = ["src"], Fe = {
|
304
304
|
__name: "OcTableCell",
|
305
305
|
props: {
|
306
306
|
isSimple: Boolean,
|
@@ -406,7 +406,7 @@ const Xt = {
|
|
406
406
|
class: f([e.imageClass, "h-full"]),
|
407
407
|
alt: "table-img",
|
408
408
|
src: e.data
|
409
|
-
}, null, 10,
|
409
|
+
}, null, 10, Jt)
|
410
410
|
]),
|
411
411
|
_: 1
|
412
412
|
}, 8, ["link"])) : (t(), p(i(Be), {
|
@@ -484,7 +484,7 @@ const Xt = {
|
|
484
484
|
], 2);
|
485
485
|
};
|
486
486
|
}
|
487
|
-
},
|
487
|
+
}, Zt = ["href"], Qt = { key: 2 }, _t = { class: "overflow-hidden text-ellipsis text-oc-text-400 text-sm truncate" }, el = { key: 0 }, rt = {
|
488
488
|
__name: "OcTableCellContent",
|
489
489
|
props: {
|
490
490
|
important: Boolean,
|
@@ -507,22 +507,22 @@ const Xt = {
|
|
507
507
|
href: e.href,
|
508
508
|
target: "_blank",
|
509
509
|
rel: "noopener noreferrer"
|
510
|
-
}, $(e.title), 9,
|
510
|
+
}, $(e.title), 9, Zt)) : (t(), s(L, { key: 1 }, [
|
511
511
|
W($(e.title), 1)
|
512
512
|
], 64)),
|
513
|
-
e.title ? m("", !0) : (t(), s("span",
|
513
|
+
e.title ? m("", !0) : (t(), s("span", Qt, "-"))
|
514
514
|
], 2),
|
515
|
-
n("span",
|
515
|
+
n("span", _t, [
|
516
516
|
S(r.$slots, "description", { description: e.description }, () => [
|
517
517
|
W($(e.description), 1)
|
518
518
|
]),
|
519
|
-
e.description ? m("", !0) : (t(), s("span",
|
519
|
+
e.description ? m("", !0) : (t(), s("span", el, "-"))
|
520
520
|
])
|
521
521
|
]),
|
522
522
|
_: 3
|
523
523
|
}, 8, ["link"]));
|
524
524
|
}
|
525
|
-
},
|
525
|
+
}, tl = { key: 0 }, ll = ["href"], Be = {
|
526
526
|
__name: "OcTableLink",
|
527
527
|
props: {
|
528
528
|
link: String
|
@@ -536,11 +536,11 @@ const Xt = {
|
|
536
536
|
}, ["prevent"]))
|
537
537
|
}, [
|
538
538
|
S(r.$slots, "default")
|
539
|
-
], 8,
|
539
|
+
], 8, ll)) : (t(), s("div", tl, [
|
540
540
|
S(r.$slots, "default")
|
541
541
|
]));
|
542
542
|
}
|
543
|
-
},
|
543
|
+
}, al = { class: "rounded-xs text-sm font-medium text-oc-text-400 p-2" }, nl = { class: "truncate" }, ol = { class: "py-1 px-2" }, Ee = /* @__PURE__ */ Z({
|
544
544
|
__name: "OcExpadingTableRow",
|
545
545
|
props: {
|
546
546
|
row: Object,
|
@@ -633,13 +633,13 @@ const Xt = {
|
|
633
633
|
popper: w(() => {
|
634
634
|
var k;
|
635
635
|
return [
|
636
|
-
n("div",
|
636
|
+
n("div", ol, $((k = e.row) == null ? void 0 : k[h == null ? void 0 : h.key]), 1)
|
637
637
|
];
|
638
638
|
}),
|
639
639
|
default: w(() => {
|
640
640
|
var k;
|
641
641
|
return [
|
642
|
-
n("div",
|
642
|
+
n("div", nl, $((k = e.row) == null ? void 0 : k[h == null ? void 0 : h.key]), 1)
|
643
643
|
];
|
644
644
|
}),
|
645
645
|
_: 2
|
@@ -657,7 +657,7 @@ const Xt = {
|
|
657
657
|
W($(e.row.label) + " ", 1),
|
658
658
|
x(i(le), null, {
|
659
659
|
popper: w(() => [
|
660
|
-
n("div",
|
660
|
+
n("div", al, $(e.row.infoText), 1)
|
661
661
|
]),
|
662
662
|
default: w(() => [
|
663
663
|
e.row.infoText ? (t(), p(i(T), {
|
@@ -708,7 +708,7 @@ const Xt = {
|
|
708
708
|
], 64);
|
709
709
|
};
|
710
710
|
}
|
711
|
-
}),
|
711
|
+
}), il = { class: "flex bg-oc-gray-50 border-b border-oc-text-200 h-[34px]" }, sl = /* @__PURE__ */ Z({
|
712
712
|
__name: "OcExpandingHeaderRow",
|
713
713
|
props: {
|
714
714
|
headers: {
|
@@ -717,7 +717,7 @@ const Xt = {
|
|
717
717
|
}
|
718
718
|
},
|
719
719
|
setup(e) {
|
720
|
-
return (r, a) => (t(), s("div",
|
720
|
+
return (r, a) => (t(), s("div", il, [
|
721
721
|
a[0] || (a[0] = n("div", { class: "w-9" }, null, -1)),
|
722
722
|
(t(!0), s(L, null, R(e.headers, (l) => (t(), s("div", {
|
723
723
|
key: l.key,
|
@@ -726,7 +726,7 @@ const Xt = {
|
|
726
726
|
a[1] || (a[1] = n("div", { class: "w-9" }, null, -1))
|
727
727
|
]));
|
728
728
|
}
|
729
|
-
}),
|
729
|
+
}), rl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" }, qu = /* @__PURE__ */ Z({
|
730
730
|
__name: "OcExpadingTable",
|
731
731
|
props: {
|
732
732
|
total: {
|
@@ -756,9 +756,9 @@ const Xt = {
|
|
756
756
|
},
|
757
757
|
setup(e) {
|
758
758
|
const r = e, a = z(() => Object.fromEntries(r.headers.map((l) => [l.key, ""])));
|
759
|
-
return (l, o) => (t(), s("div",
|
759
|
+
return (l, o) => (t(), s("div", rl, [
|
760
760
|
e.isAlternative ? (t(), s(L, { key: 0 }, [
|
761
|
-
x(
|
761
|
+
x(sl, { headers: e.headers }, null, 8, ["headers"]),
|
762
762
|
e.isLoading && !e.fields.length ? (t(!0), s(L, { key: 0 }, R(e.loadingRows, (d) => (t(), p(Ee, {
|
763
763
|
key: d,
|
764
764
|
"is-loading": "",
|
@@ -806,7 +806,7 @@ const Xt = {
|
|
806
806
|
])
|
807
807
|
]));
|
808
808
|
}
|
809
|
-
}),
|
809
|
+
}), dl = { class: "w-full items-center flex relative" }, cl = { class: "flex items-center gap-x-6" }, ul = { class: "hidden md:flex items-center gap-x-3" }, ml = { class: "md:hidden mx-[30px]" }, Hu = {
|
810
810
|
__name: "OcPagination",
|
811
811
|
props: {
|
812
812
|
maxPage: {
|
@@ -857,14 +857,14 @@ const Xt = {
|
|
857
857
|
r.maxPage
|
858
858
|
];
|
859
859
|
});
|
860
|
-
return (l, o) => (t(), s("div",
|
861
|
-
n("div",
|
860
|
+
return (l, o) => (t(), s("div", dl, [
|
861
|
+
n("div", cl, [
|
862
862
|
x(i(dt), {
|
863
863
|
disabled: e.modelValue <= 1,
|
864
864
|
size: e.size,
|
865
865
|
onClick: o[0] || (o[0] = (d) => e.modelValue > 1 ? l.$emit("update:modelValue", e.modelValue > 1 ? e.modelValue - 1 : e.modelValue) : "")
|
866
866
|
}, null, 8, ["disabled", "size"]),
|
867
|
-
n("div",
|
867
|
+
n("div", ul, [
|
868
868
|
(t(!0), s(L, null, R(a.value, (d) => (t(), p(i(ct), {
|
869
869
|
key: d,
|
870
870
|
size: e.size,
|
@@ -878,7 +878,7 @@ const Xt = {
|
|
878
878
|
_: 2
|
879
879
|
}, 1032, ["size", "is-rounded", "active", "onClick"]))), 128))
|
880
880
|
]),
|
881
|
-
n("div",
|
881
|
+
n("div", ml, [
|
882
882
|
x(i(ct), {
|
883
883
|
size: e.size,
|
884
884
|
"is-rounded": e.isRounded,
|
@@ -960,7 +960,7 @@ const Xt = {
|
|
960
960
|
S(a.$slots, "default")
|
961
961
|
], 2));
|
962
962
|
}
|
963
|
-
},
|
963
|
+
}, fl = { class: "flex gap-y-3 flex-col text-lg font-medium" }, vl = { key: 0 }, gl = {
|
964
964
|
__name: "OcOverview",
|
965
965
|
props: {
|
966
966
|
title: String,
|
@@ -969,8 +969,8 @@ const Xt = {
|
|
969
969
|
isLoading: Boolean
|
970
970
|
},
|
971
971
|
setup(e) {
|
972
|
-
return (r, a) => (t(), s("div",
|
973
|
-
e.title ? (t(), s("span",
|
972
|
+
return (r, a) => (t(), s("div", fl, [
|
973
|
+
e.title ? (t(), s("span", vl, $(e.title), 1)) : m("", !0),
|
974
974
|
n("div", {
|
975
975
|
class: f(["flex gap-x-5 items-start md:flex-row flex-col gap-y-3 md:gap-y-0", e.containerClass])
|
976
976
|
}, [
|
@@ -1037,13 +1037,13 @@ const Xt = {
|
|
1037
1037
|
}, null, 8, ["name", "width", "height"])
|
1038
1038
|
], 2));
|
1039
1039
|
}
|
1040
|
-
},
|
1040
|
+
}, pl = {
|
1041
1041
|
key: 0,
|
1042
1042
|
class: "flex flex-col gap-y-3 min-w-[132px]"
|
1043
|
-
},
|
1043
|
+
}, yl = { class: "flex flex-col gap-y-px font-medium overflow-hidden" }, xl = { class: "flex whitespace-nowrap items-start gap-x-3 text-xs text-oc-text-300" }, hl = { class: "uppercase" }, bl = { class: "px-3 bg-white text-center w-[175px] rounded py-2 text-oc-text-400 whitespace-break-spaces font-medium" }, wl = { class: "flex items-center gap-x-2 overflow-hidden" }, $l = {
|
1044
1044
|
key: 0,
|
1045
1045
|
class: "flex items-center gap-x-3 overflow-hidden"
|
1046
|
-
},
|
1046
|
+
}, kl = { class: "truncate" }, Sl = { class: "flex items-center gap-x-1" }, Cl = { class: "text-oc-text-400 text-sm font-medium cursor-default" }, Vl = { class: "px-3 bg-white text-center w-[175px] rounded py-2 text-oc-text-400 whitespace-break-spaces font-medium text-sm" }, qe = {
|
1047
1047
|
__name: "OcOverviewItem",
|
1048
1048
|
props: {
|
1049
1049
|
icon: String,
|
@@ -1071,7 +1071,7 @@ const Xt = {
|
|
1071
1071
|
return (r, a) => (t(), s("div", {
|
1072
1072
|
class: f([e.isTransparent ? "p-3" : "border p-4 bg-oc-bg-light border-oc-gray-200 ", "flex flex-col gap-y-4 md:overflow-hidden w-full md:w-auto rounded"])
|
1073
1073
|
}, [
|
1074
|
-
e.isLoading ? (t(), s("div",
|
1074
|
+
e.isLoading ? (t(), s("div", pl, [
|
1075
1075
|
x(i(Se), { class: "w-[80%] h-[14px] rounded-sm" }),
|
1076
1076
|
x(i(Se), { class: "w-full h-[20px] rounded-sm" })
|
1077
1077
|
])) : (t(), s(L, { key: 1 }, [
|
@@ -1085,10 +1085,10 @@ const Xt = {
|
|
1085
1085
|
height: e.iconHeight,
|
1086
1086
|
width: e.iconWidth
|
1087
1087
|
}, null, 8, ["icon", "variant", "height", "width"])) : m("", !0),
|
1088
|
-
n("div",
|
1089
|
-
n("div",
|
1088
|
+
n("div", yl, [
|
1089
|
+
n("div", xl, [
|
1090
1090
|
S(r.$slots, "title", {}, () => [
|
1091
|
-
n("span",
|
1091
|
+
n("span", hl, $(e.title), 1)
|
1092
1092
|
]),
|
1093
1093
|
x(i(le), {
|
1094
1094
|
position: "top",
|
@@ -1109,13 +1109,13 @@ const Xt = {
|
|
1109
1109
|
e.tooltip ? {
|
1110
1110
|
name: "popper",
|
1111
1111
|
fn: w(() => [
|
1112
|
-
n("div",
|
1112
|
+
n("div", bl, $(e.tooltip), 1)
|
1113
1113
|
]),
|
1114
1114
|
key: "0"
|
1115
1115
|
} : void 0
|
1116
1116
|
]), 1024)
|
1117
1117
|
]),
|
1118
|
-
n("div",
|
1118
|
+
n("div", wl, [
|
1119
1119
|
e.isCard ? (t(), p(i(T), {
|
1120
1120
|
key: 0,
|
1121
1121
|
width: "35",
|
@@ -1127,22 +1127,22 @@ const Xt = {
|
|
1127
1127
|
S(r.$slots, "content", {}, () => [
|
1128
1128
|
isNaN(e.percentValue) ? (t(), s(L, { key: 1 }, [
|
1129
1129
|
W($(e.content), 1)
|
1130
|
-
], 64)) : (t(), s("div",
|
1131
|
-
n("div",
|
1130
|
+
], 64)) : (t(), s("div", $l, [
|
1131
|
+
n("div", kl, $(e.content), 1),
|
1132
1132
|
x(i(le), {
|
1133
1133
|
position: "top",
|
1134
1134
|
"popper-class": "rounded-sm",
|
1135
1135
|
"popper-options": { strategy: "fixed" }
|
1136
1136
|
}, te({
|
1137
1137
|
default: w(() => [
|
1138
|
-
n("div",
|
1138
|
+
n("div", Sl, [
|
1139
1139
|
x(i(T), {
|
1140
1140
|
name: e.percentValue >= 0 ? "triangle-up" : "triangle-down",
|
1141
1141
|
class: f(e.percentValue >= 0 ? "text-oc-success-500" : "text-oc-error-500"),
|
1142
1142
|
width: "10",
|
1143
1143
|
height: "9"
|
1144
1144
|
}, null, 8, ["name", "class"]),
|
1145
|
-
n("span",
|
1145
|
+
n("span", Cl, $(e.percentValue === 0 ? "-" : `${Math.abs(e.percentValue)}%`), 1)
|
1146
1146
|
])
|
1147
1147
|
]),
|
1148
1148
|
_: 2
|
@@ -1150,7 +1150,7 @@ const Xt = {
|
|
1150
1150
|
e.percentTooltip ? {
|
1151
1151
|
name: "popper",
|
1152
1152
|
fn: w(() => [
|
1153
|
-
n("div",
|
1153
|
+
n("div", Vl, $(e.percentTooltip), 1)
|
1154
1154
|
]),
|
1155
1155
|
key: "0"
|
1156
1156
|
} : void 0
|
@@ -1166,19 +1166,19 @@ const Xt = {
|
|
1166
1166
|
], 64))
|
1167
1167
|
], 2));
|
1168
1168
|
}
|
1169
|
-
},
|
1169
|
+
}, Ol = { class: "flex flex-col items-center justify-center gap-y-3 overflow-hidden" }, Bl = { class: "w-full flex gap-x-3 items-center" }, Il = { class: "flex flex-col font-medium overflow-hidden" }, Tl = { class: "flex items-center gap-2" }, Dl = { class: "truncate" }, Al = {
|
1170
1170
|
key: 0,
|
1171
1171
|
class: "rounded-md py-1 px-3 text-sm text-oc-accent-1-500 bg-oc-accent-1-50"
|
1172
|
-
},
|
1172
|
+
}, jl = {
|
1173
1173
|
key: 0,
|
1174
1174
|
class: "text-sm text-oc-text-400"
|
1175
|
-
},
|
1175
|
+
}, Ml = {
|
1176
1176
|
key: 1,
|
1177
1177
|
class: "text-sm text-oc-text-400 truncate"
|
1178
|
-
},
|
1178
|
+
}, Pl = {
|
1179
1179
|
key: 0,
|
1180
1180
|
class: "flex flex-col gap-y-4 pt-4 w-full"
|
1181
|
-
},
|
1181
|
+
}, Ll = { class: "flex flex-col gap-y-2 w-full items-center" }, El = { key: 0 }, zl = {
|
1182
1182
|
__name: "OcCustomerCard",
|
1183
1183
|
props: {
|
1184
1184
|
variant: {
|
@@ -1206,7 +1206,7 @@ const Xt = {
|
|
1206
1206
|
return t(), s("div", {
|
1207
1207
|
class: f(["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 }])
|
1208
1208
|
}, [
|
1209
|
-
n("div",
|
1209
|
+
n("div", Ol, [
|
1210
1210
|
e.isEdit ? (t(), s("div", {
|
1211
1211
|
key: 0,
|
1212
1212
|
class: f(["absolute right-3 top-3 transition", { "opacity-0 group-hover:opacity-100": e.isHover }])
|
@@ -1226,7 +1226,7 @@ const Xt = {
|
|
1226
1226
|
onClick: o[1] || (o[1] = (A) => a("closeCustomer"))
|
1227
1227
|
})) : m("", !0),
|
1228
1228
|
e.customer ? (t(), s(L, { key: 2 }, [
|
1229
|
-
n("div",
|
1229
|
+
n("div", Bl, [
|
1230
1230
|
x(i(it), {
|
1231
1231
|
class: "shrink-0 uppercase",
|
1232
1232
|
size: 32
|
@@ -1239,15 +1239,15 @@ const Xt = {
|
|
1239
1239
|
}),
|
1240
1240
|
_: 1
|
1241
1241
|
}),
|
1242
|
-
n("div",
|
1243
|
-
n("div",
|
1244
|
-
n("span",
|
1245
|
-
e.isBeneficiary ? (t(), s("span",
|
1242
|
+
n("div", Il, [
|
1243
|
+
n("div", Tl, [
|
1244
|
+
n("span", Dl, $(((d = e.customer) == null ? void 0 : d.name) || "-"), 1),
|
1245
|
+
e.isBeneficiary ? (t(), s("span", Al, $((c = e.customer.currency) == null ? void 0 : c.toUpperCase()), 1)) : m("", !0)
|
1246
1246
|
]),
|
1247
|
-
e.isBeneficiary ? (t(), s("span",
|
1247
|
+
e.isBeneficiary ? (t(), s("span", jl, $(e.customer.bank_name) + " / " + $(e.customer.bank_account_number), 1)) : (t(), s("span", Ml, $(((u = e.customer) == null ? void 0 : u.email) || ((v = e.customer) != null && v.phone_number_country_code && ((b = e.customer) != null && b.phone_number) ? `+${e.customer.phone_number_country_code} ${e.customer.phone_number}` : (y = e.customer) != null && y.phone_number ? e.customer.phone_number : "-")), 1))
|
1248
1248
|
])
|
1249
1249
|
]),
|
1250
|
-
e.variant !== "small" ? (t(), s("div",
|
1250
|
+
e.variant !== "small" ? (t(), s("div", Pl, [
|
1251
1251
|
e.isBeneficiary ? m("", !0) : (t(), p(i(Ae), {
|
1252
1252
|
key: 0,
|
1253
1253
|
label: "Phone",
|
@@ -1270,7 +1270,7 @@ const Xt = {
|
|
1270
1270
|
}, null, 8, ["content"]))
|
1271
1271
|
])) : m("", !0)
|
1272
1272
|
], 64)) : e.isBeneficiary ? m("", !0) : (t(), s(L, { key: 3 }, [
|
1273
|
-
n("div",
|
1273
|
+
n("div", Ll, [
|
1274
1274
|
x(i(it), { size: 32 }, {
|
1275
1275
|
default: w(() => [
|
1276
1276
|
x(i(T), {
|
@@ -1301,13 +1301,13 @@ const Xt = {
|
|
1301
1301
|
S(l.$slots, "bottom", {}, void 0, !0)
|
1302
1302
|
], 2)) : m("", !0)
|
1303
1303
|
]),
|
1304
|
-
l.$slots.leading ? (t(), s("div",
|
1304
|
+
l.$slots.leading ? (t(), s("div", El, [
|
1305
1305
|
S(l.$slots, "leading", {}, void 0, !0)
|
1306
1306
|
])) : m("", !0)
|
1307
1307
|
], 2);
|
1308
1308
|
};
|
1309
1309
|
}
|
1310
|
-
}, Ot = /* @__PURE__ */ he(
|
1310
|
+
}, Ot = /* @__PURE__ */ he(zl, [["__scopeId", "data-v-e499a3c4"]]), Nl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Rl = { key: 0 }, Yu = {
|
1311
1311
|
__name: "OcTransferSummary",
|
1312
1312
|
props: {
|
1313
1313
|
transfer: {
|
@@ -1330,8 +1330,8 @@ const Xt = {
|
|
1330
1330
|
var c;
|
1331
1331
|
return (c = r.transfer.transfer_method) == null ? void 0 : c.toUpperCase();
|
1332
1332
|
});
|
1333
|
-
return (c, u) => (t(), s("div",
|
1334
|
-
e.hasFxData ? (t(), s("div",
|
1333
|
+
return (c, u) => (t(), s("div", Nl, [
|
1334
|
+
e.hasFxData ? (t(), s("div", Rl, [
|
1335
1335
|
x(i(Ae), {
|
1336
1336
|
class: "justify-between font-medium [&>span]:text-base",
|
1337
1337
|
label: "FX Rate",
|
@@ -1358,7 +1358,7 @@ const Xt = {
|
|
1358
1358
|
])
|
1359
1359
|
]));
|
1360
1360
|
}
|
1361
|
-
},
|
1361
|
+
}, Fl = { class: "flex w-full relative gap-x-5 py-4 before:top-[20px] last:before:top-0 before:h-full before:left-[10px] before:absolute before:border-l" }, Ul = { class: "flex gap-x-7 w-full items-center" }, ql = { class: "flex flex-1 flex-col gap-y-2" }, Hl = { class: "text-sm text-oc-text-400" }, Yl = { class: "flex items-end gap-x-2" }, ut = /* @__PURE__ */ Z({
|
1362
1362
|
__name: "OcTimeLine",
|
1363
1363
|
props: {
|
1364
1364
|
isActive: Boolean,
|
@@ -1370,7 +1370,7 @@ const Xt = {
|
|
1370
1370
|
iconTextClass: String
|
1371
1371
|
},
|
1372
1372
|
setup(e) {
|
1373
|
-
return ht(), (r, a) => (t(), s("div",
|
1373
|
+
return ht(), (r, a) => (t(), s("div", Fl, [
|
1374
1374
|
n("div", null, [
|
1375
1375
|
n("div", {
|
1376
1376
|
class: f(["w-6 h-6 flex z-[1] relative items-center rounded-full justify-center", e.isActive ? "bg-oc-accent-1-50 shadow" : " bg-transparent"])
|
@@ -1380,16 +1380,16 @@ const Xt = {
|
|
1380
1380
|
}, null, 2)
|
1381
1381
|
], 2)
|
1382
1382
|
]),
|
1383
|
-
n("div",
|
1384
|
-
n("div",
|
1383
|
+
n("div", Ul, [
|
1384
|
+
n("div", ql, [
|
1385
1385
|
n("span", null, $(e.title), 1),
|
1386
|
-
n("span",
|
1386
|
+
n("span", Hl, [
|
1387
1387
|
S(r.$slots, "description", {}, () => [
|
1388
1388
|
W($(e.description), 1)
|
1389
1389
|
])
|
1390
1390
|
])
|
1391
1391
|
]),
|
1392
|
-
n("div",
|
1392
|
+
n("div", Yl, [
|
1393
1393
|
e.icon ? (t(), p(i(T), {
|
1394
1394
|
key: 0,
|
1395
1395
|
name: e.icon,
|
@@ -1406,13 +1406,13 @@ const Xt = {
|
|
1406
1406
|
])
|
1407
1407
|
]));
|
1408
1408
|
}
|
1409
|
-
}),
|
1409
|
+
}), Wl = { class: "px-5 py-4 flex flex-col gap-y-5 rounded border border-gray-200 group hover:shadow-normal" }, Kl = { class: "flex items-center justify-between" }, Gl = { class: "flex text-sm text-oc-text-400 items-center gap-x-2" }, Xl = {
|
1410
1410
|
key: 0,
|
1411
1411
|
class: "text-base text-oc-text font-medium"
|
1412
|
-
},
|
1412
|
+
}, Jl = { key: 1 }, Zl = {
|
1413
1413
|
key: 0,
|
1414
1414
|
class: "flex flex-col gap-y-3"
|
1415
|
-
},
|
1415
|
+
}, Ql = /* @__PURE__ */ Z({
|
1416
1416
|
__name: "OcWebhook",
|
1417
1417
|
props: {
|
1418
1418
|
urls: {
|
@@ -1427,12 +1427,12 @@ const Xt = {
|
|
1427
1427
|
const r = M(!1);
|
1428
1428
|
return (a, l) => {
|
1429
1429
|
var o;
|
1430
|
-
return t(), s("div",
|
1431
|
-
n("div",
|
1432
|
-
n("div",
|
1433
|
-
e.title ? (t(), s("span",
|
1430
|
+
return t(), s("div", Wl, [
|
1431
|
+
n("div", Kl, [
|
1432
|
+
n("div", Gl, [
|
1433
|
+
e.title ? (t(), s("span", Xl, $(e.title), 1)) : m("", !0),
|
1434
1434
|
l[3] || (l[3] = W(" - ")),
|
1435
|
-
e.date ? (t(), s("span",
|
1435
|
+
e.date ? (t(), s("span", Jl, $(e.date), 1)) : m("", !0)
|
1436
1436
|
]),
|
1437
1437
|
x(i(ne), {
|
1438
1438
|
modelValue: r.value,
|
@@ -1455,8 +1455,8 @@ const Xt = {
|
|
1455
1455
|
_: 3
|
1456
1456
|
}, 8, ["modelValue"])
|
1457
1457
|
]),
|
1458
|
-
(o = e.urls) != null && o.length ? (t(), s("div",
|
1459
|
-
(t(!0), s(L, null, R(e.urls, (d, c) => (t(), p(i(
|
1458
|
+
(o = e.urls) != null && o.length ? (t(), s("div", Zl, [
|
1459
|
+
(t(!0), s(L, null, R(e.urls, (d, c) => (t(), p(i(dn), {
|
1460
1460
|
key: c,
|
1461
1461
|
title: d.title,
|
1462
1462
|
url: d.url
|
@@ -1465,7 +1465,7 @@ const Xt = {
|
|
1465
1465
|
]);
|
1466
1466
|
};
|
1467
1467
|
}
|
1468
|
-
}),
|
1468
|
+
}), _l = { class: "p-5 rounded border border-gray-200 max-w-[156px]" }, ea = ["src", "alt"], ta = { class: "text-oc-text-400 mt-4" }, la = /* @__PURE__ */ Z({
|
1469
1469
|
__name: "OcLogo",
|
1470
1470
|
props: {
|
1471
1471
|
title: String,
|
@@ -1473,26 +1473,26 @@ const Xt = {
|
|
1473
1473
|
imageClass: String
|
1474
1474
|
},
|
1475
1475
|
setup(e) {
|
1476
|
-
return (r, a) => (t(), s("div",
|
1476
|
+
return (r, a) => (t(), s("div", _l, [
|
1477
1477
|
n("img", {
|
1478
1478
|
src: e.image,
|
1479
1479
|
class: f([e.imageClass, "object-contain"]),
|
1480
1480
|
alt: e.title
|
1481
|
-
}, null, 10,
|
1482
|
-
n("div",
|
1481
|
+
}, null, 10, ea),
|
1482
|
+
n("div", ta, $(e.title), 1),
|
1483
1483
|
S(r.$slots, "default")
|
1484
1484
|
]));
|
1485
1485
|
}
|
1486
|
-
}),
|
1486
|
+
}), aa = { class: "flex items-center gap-x-5" }, na = { class: "flex-1 flex items-center gap-x-3 font-medium capitalize" }, oa = { class: "flex flex-col gap-2" }, ia = { class: "flex items-center gap-x-3 overflow-hidden" }, sa = { class: "truncate" }, ra = {
|
1487
1487
|
key: 0,
|
1488
1488
|
class: "flex gap-3"
|
1489
|
-
},
|
1489
|
+
}, da = {
|
1490
1490
|
key: 0,
|
1491
1491
|
class: "text-oc-text-400 flex gap-x-2 items-center text-sm font-normal normal-case"
|
1492
|
-
},
|
1492
|
+
}, ca = { class: "border opacity-0 group-hover:opacity-100 border-oc-accent-1-100 rounded-sm p-1 flex gap-x-1" }, ua = {
|
1493
1493
|
key: 0,
|
1494
1494
|
class: "flex items-center gap-x-2"
|
1495
|
-
},
|
1495
|
+
}, ma = ["alt", "src"], fa = { class: "py-2 px-3 flex gap-x-2 w-full z-10 relative" }, va = ["alt", "src"], ga = {
|
1496
1496
|
__name: "OcPayment",
|
1497
1497
|
props: {
|
1498
1498
|
title: {
|
@@ -1536,13 +1536,13 @@ const Xt = {
|
|
1536
1536
|
ref: o,
|
1537
1537
|
class: "md:px-5 px-3 md:py-4 py-3 flex flex-col gap-y-4 rounded border border-gray-200 group hover:shadow-normal"
|
1538
1538
|
}, [
|
1539
|
-
n("div",
|
1540
|
-
n("div",
|
1539
|
+
n("div", aa, [
|
1540
|
+
n("div", na, [
|
1541
1541
|
S(v.$slots, "logo"),
|
1542
|
-
n("div",
|
1543
|
-
n("div",
|
1544
|
-
n("span",
|
1545
|
-
e.chips.length ? (t(), s("div",
|
1542
|
+
n("div", oa, [
|
1543
|
+
n("div", ia, [
|
1544
|
+
n("span", sa, $(e.title), 1),
|
1545
|
+
e.chips.length ? (t(), s("div", ra, [
|
1546
1546
|
(t(!0), s(L, null, R(e.chips, (h, O) => (t(), p(i(ae), F({
|
1547
1547
|
key: O,
|
1548
1548
|
class: "font-medium",
|
@@ -1550,11 +1550,11 @@ const Xt = {
|
|
1550
1550
|
}, h), null, 16))), 128))
|
1551
1551
|
])) : m("", !0)
|
1552
1552
|
]),
|
1553
|
-
e.description ? (t(), s("div",
|
1553
|
+
e.description ? (t(), s("div", da, $(e.description), 1)) : m("", !0)
|
1554
1554
|
])
|
1555
1555
|
]),
|
1556
1556
|
S(v.$slots, "right", {}, () => [
|
1557
|
-
n("div",
|
1557
|
+
n("div", ca, [
|
1558
1558
|
x(i(T), {
|
1559
1559
|
name: "pencil",
|
1560
1560
|
class: "cursor-pointer text-oc-text-400 p-2",
|
@@ -1569,7 +1569,7 @@ const Xt = {
|
|
1569
1569
|
])
|
1570
1570
|
])
|
1571
1571
|
]),
|
1572
|
-
(y = e.paymentMethods) != null && y.length ? (t(), s("div",
|
1572
|
+
(y = e.paymentMethods) != null && y.length ? (t(), s("div", ua, [
|
1573
1573
|
b[3] || (b[3] = n("span", { class: "text-sm font-medium text-oc-text-300 whitespace-nowrap" }, "Payment methods", -1)),
|
1574
1574
|
(t(!0), s(L, null, R(e.paymentMethods.slice(0, d.value), (h) => (t(), s("img", {
|
1575
1575
|
key: h.method,
|
@@ -1577,7 +1577,7 @@ const Xt = {
|
|
1577
1577
|
height: "24",
|
1578
1578
|
alt: h.method,
|
1579
1579
|
src: h.svg
|
1580
|
-
}, null, 8,
|
1580
|
+
}, null, 8, ma))), 128)),
|
1581
1581
|
a.value ? (t(), p(i(le), {
|
1582
1582
|
key: 0,
|
1583
1583
|
position: "top-end",
|
@@ -1589,14 +1589,14 @@ const Xt = {
|
|
1589
1589
|
}, " + " + $(e.paymentMethods.length - d.value), 3)
|
1590
1590
|
]),
|
1591
1591
|
popper: w(() => [
|
1592
|
-
n("div",
|
1592
|
+
n("div", fa, [
|
1593
1593
|
(t(!0), s(L, null, R(l.value, (h) => (t(), s("img", {
|
1594
1594
|
key: h.method,
|
1595
1595
|
width: "35",
|
1596
1596
|
height: "24",
|
1597
1597
|
alt: h.method,
|
1598
1598
|
src: h.svg
|
1599
|
-
}, null, 8,
|
1599
|
+
}, null, 8, va))), 128))
|
1600
1600
|
])
|
1601
1601
|
]),
|
1602
1602
|
_: 1
|
@@ -1605,19 +1605,19 @@ const Xt = {
|
|
1605
1605
|
], 512);
|
1606
1606
|
};
|
1607
1607
|
}
|
1608
|
-
},
|
1608
|
+
}, pa = { class: "flex items-center gap-x-4 w-full" }, ya = { class: "flex flex-col flex-1 gap-y-3 overflow-hidden" }, xa = { class: "flex items-center justify-between" }, ha = { class: "flex text-sm text-oc-text-400 items-center gap-x-3 overflow-hidden" }, ba = {
|
1609
1609
|
key: 0,
|
1610
1610
|
class: "text-base text-oc-text font-medium truncate"
|
1611
|
-
},
|
1611
|
+
}, wa = {
|
1612
1612
|
key: 0,
|
1613
1613
|
class: "flex gap-3 shrink-0"
|
1614
|
-
},
|
1614
|
+
}, $a = {
|
1615
1615
|
key: 0,
|
1616
1616
|
class: "flex flex-col gap-3"
|
1617
|
-
},
|
1617
|
+
}, ka = { class: "text-oc-text-400 flex gap-x-2 items-center text-sm" }, Sa = {
|
1618
1618
|
key: 0,
|
1619
1619
|
class: "flex gap-5"
|
1620
|
-
},
|
1620
|
+
}, Ca = { class: "font-medium whitespace-nowrap text-oc-text-500 text-sm" }, Va = /* @__PURE__ */ Z({
|
1621
1621
|
__name: "OcGeneral",
|
1622
1622
|
props: {
|
1623
1623
|
title: String,
|
@@ -1650,15 +1650,15 @@ const Xt = {
|
|
1650
1650
|
}]),
|
1651
1651
|
onMouseleave: c[1] || (c[1] = (u) => l.value = !1)
|
1652
1652
|
}, [
|
1653
|
-
n("div",
|
1653
|
+
n("div", pa, [
|
1654
1654
|
S(d.$slots, "logo"),
|
1655
|
-
n("div",
|
1656
|
-
n("div",
|
1657
|
-
n("div",
|
1655
|
+
n("div", ya, [
|
1656
|
+
n("div", xa, [
|
1657
|
+
n("div", ha, [
|
1658
1658
|
S(d.$slots, "title", {}, () => [
|
1659
|
-
e.title ? (t(), s("span",
|
1659
|
+
e.title ? (t(), s("span", ba, $(e.title), 1)) : m("", !0)
|
1660
1660
|
]),
|
1661
|
-
e.chips.length ? (t(), s("div",
|
1661
|
+
e.chips.length ? (t(), s("div", wa, [
|
1662
1662
|
(t(!0), s(L, null, R(e.chips, (u, v) => (t(), p(i(ae), {
|
1663
1663
|
key: v,
|
1664
1664
|
label: u.label,
|
@@ -1692,8 +1692,8 @@ const Xt = {
|
|
1692
1692
|
])
|
1693
1693
|
]),
|
1694
1694
|
S(d.$slots, "default", {}, () => [
|
1695
|
-
e.descriptionIcon || e.description || e.details.length ? (t(), s("div",
|
1696
|
-
n("div",
|
1695
|
+
e.descriptionIcon || e.description || e.details.length ? (t(), s("div", $a, [
|
1696
|
+
n("div", ka, [
|
1697
1697
|
e.descriptionIcon ? (t(), p(i(T), {
|
1698
1698
|
key: 0,
|
1699
1699
|
name: e.descriptionIcon,
|
@@ -1703,7 +1703,7 @@ const Xt = {
|
|
1703
1703
|
}, null, 8, ["name"])) : m("", !0),
|
1704
1704
|
W(" " + $(e.description), 1)
|
1705
1705
|
]),
|
1706
|
-
e.details.length ? (t(), s("div",
|
1706
|
+
e.details.length ? (t(), s("div", Sa, [
|
1707
1707
|
(t(!0), s(L, null, R(e.details, (u, v) => (t(), s("div", {
|
1708
1708
|
key: v,
|
1709
1709
|
class: "flex items-center gap-2"
|
@@ -1718,7 +1718,7 @@ const Xt = {
|
|
1718
1718
|
height: "16",
|
1719
1719
|
class: "text-oc-text-400 shrink-0"
|
1720
1720
|
}, null, 8, ["name"])),
|
1721
|
-
n("div",
|
1721
|
+
n("div", Ca, $(u.label), 1)
|
1722
1722
|
]))), 128))
|
1723
1723
|
])) : m("", !0)
|
1724
1724
|
])) : m("", !0)
|
@@ -1728,13 +1728,13 @@ const Xt = {
|
|
1728
1728
|
])
|
1729
1729
|
], 34));
|
1730
1730
|
}
|
1731
|
-
}),
|
1731
|
+
}), Oa = ["src"], Ba = { class: "flex flex-col gap-y-1 overflow-hidden" }, Ia = { class: "flex items-center justify-between" }, Ta = { class: "flex text-sm text-oc-text-400 items-center gap-x-3" }, Da = {
|
1732
1732
|
key: 0,
|
1733
1733
|
class: "text-base text-oc-text font-medium"
|
1734
|
-
},
|
1734
|
+
}, Aa = {
|
1735
1735
|
key: 1,
|
1736
1736
|
class: "flex gap-3"
|
1737
|
-
},
|
1737
|
+
}, ja = { class: "flex flex-col gap-4" }, Ma = { class: "text-xs whitespace-nowrap uppercase text-oc-text-300 overflow-hidden text-ellipsis" }, Pa = /* @__PURE__ */ Z({
|
1738
1738
|
__name: "OcTerminal",
|
1739
1739
|
props: {
|
1740
1740
|
title: String,
|
@@ -1771,13 +1771,13 @@ const Xt = {
|
|
1771
1771
|
src: e.image,
|
1772
1772
|
class: f([e.imageClass, "object-contain h-full w-full"]),
|
1773
1773
|
alt: "terminal"
|
1774
|
-
}, null, 10,
|
1774
|
+
}, null, 10, Oa)
|
1775
1775
|
], 2),
|
1776
|
-
n("div",
|
1777
|
-
n("div",
|
1778
|
-
n("div",
|
1779
|
-
e.title ? (t(), s("span",
|
1780
|
-
e.chips.length ? (t(), s("div",
|
1776
|
+
n("div", Ba, [
|
1777
|
+
n("div", Ia, [
|
1778
|
+
n("div", Ta, [
|
1779
|
+
e.title ? (t(), s("span", Da, $(e.title), 1)) : m("", !0),
|
1780
|
+
e.chips.length ? (t(), s("div", Aa, [
|
1781
1781
|
(t(!0), s(L, null, R(e.chips, (o, d) => (t(), p(i(ae), {
|
1782
1782
|
key: d,
|
1783
1783
|
label: o.label,
|
@@ -1787,8 +1787,8 @@ const Xt = {
|
|
1787
1787
|
])) : m("", !0)
|
1788
1788
|
])
|
1789
1789
|
]),
|
1790
|
-
n("div",
|
1791
|
-
n("div",
|
1790
|
+
n("div", ja, [
|
1791
|
+
n("div", Ma, $(e.description), 1)
|
1792
1792
|
])
|
1793
1793
|
]),
|
1794
1794
|
e.buttonProps ? (t(), p(i(G), F({
|
@@ -1798,10 +1798,10 @@ const Xt = {
|
|
1798
1798
|
}, e.buttonProps), null, 16)) : m("", !0)
|
1799
1799
|
], 2));
|
1800
1800
|
}
|
1801
|
-
}),
|
1801
|
+
}), La = {
|
1802
1802
|
key: 0,
|
1803
1803
|
class: "min-w-[100px]"
|
1804
|
-
},
|
1804
|
+
}, Ea = { class: "grow pl-3" }, za = { class: "flex w-full" }, Na = { class: "text-lg font-medium" }, Ra = { class: "ml-auto" }, Fa = { class: "cursor-pointer flex hover:bg-oc-gray-200 items-center rounded p-2" }, Ua = { class: "line-clamp-2 mb-3 max-w-[80%] text-oc-text-400" }, qa = { class: "w-full text-sm lg:mt-4 flex flex-wrap items-center" }, Ha = { class: "mr-3" }, Ya = { class: "text-oc-text-400 font-medium" }, Wa = {
|
1805
1805
|
__name: "OcPage",
|
1806
1806
|
props: {
|
1807
1807
|
page: Object
|
@@ -1815,16 +1815,16 @@ const Xt = {
|
|
1815
1815
|
class: "w-full p-5 flex",
|
1816
1816
|
onMouseleave: d[1] || (d[1] = (c) => r.value = !1)
|
1817
1817
|
}, [
|
1818
|
-
e.page.page_cover_url ? (t(), s("div",
|
1818
|
+
e.page.page_cover_url ? (t(), s("div", La, [
|
1819
1819
|
n("div", {
|
1820
1820
|
class: "w-[100px] h-[100px] rounded !bg-cover",
|
1821
1821
|
style: re(`background:url(${l(e.page.page_cover_url)})`)
|
1822
1822
|
}, null, 4)
|
1823
1823
|
])) : m("", !0),
|
1824
|
-
n("div",
|
1825
|
-
n("div",
|
1826
|
-
n("div",
|
1827
|
-
n("div",
|
1824
|
+
n("div", Ea, [
|
1825
|
+
n("div", za, [
|
1826
|
+
n("div", Na, $(e.page.title), 1),
|
1827
|
+
n("div", Ra, [
|
1828
1828
|
x(i(ne), {
|
1829
1829
|
modelValue: r.value,
|
1830
1830
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => r.value = c),
|
@@ -1834,7 +1834,7 @@ const Xt = {
|
|
1834
1834
|
S(o.$slots, "menu")
|
1835
1835
|
]),
|
1836
1836
|
default: w(() => [
|
1837
|
-
n("div",
|
1837
|
+
n("div", Fa, [
|
1838
1838
|
x(i(T), {
|
1839
1839
|
class: "text-oc-text-400",
|
1840
1840
|
name: "dots-vertical"
|
@@ -1845,11 +1845,11 @@ const Xt = {
|
|
1845
1845
|
}, 8, ["modelValue"])
|
1846
1846
|
])
|
1847
1847
|
]),
|
1848
|
-
n("div",
|
1849
|
-
n("div",
|
1850
|
-
n("span",
|
1848
|
+
n("div", Ua, $(a(e.page.description)), 1),
|
1849
|
+
n("div", qa, [
|
1850
|
+
n("span", Ha, [
|
1851
1851
|
d[2] || (d[2] = n("span", { class: "text-oc-text-300" }, "Last updated : ", -1)),
|
1852
|
-
n("span",
|
1852
|
+
n("span", Ya, $(i(K)(e.page.updated_at).format("DD MMM YYYY")), 1)
|
1853
1853
|
]),
|
1854
1854
|
x(i(ae), {
|
1855
1855
|
class: "ml-auto md:ml-0",
|
@@ -1864,19 +1864,19 @@ const Xt = {
|
|
1864
1864
|
])
|
1865
1865
|
], 32));
|
1866
1866
|
}
|
1867
|
-
},
|
1867
|
+
}, Ka = { class: "flex items-center gap-x-4 w-full p-5 pl-0 overflow-hidden" }, Ga = { class: "flex flex-col flex-1 gap-y-3 overflow-hidden" }, Xa = { class: "flex items-center justify-between" }, Ja = { class: "flex text-sm text-oc-text-400 items-center gap-x-3 overflow-hidden" }, Za = {
|
1868
1868
|
key: 0,
|
1869
1869
|
class: "text-base text-oc-text font-medium truncate"
|
1870
|
-
},
|
1870
|
+
}, Qa = {
|
1871
1871
|
key: 1,
|
1872
1872
|
class: "flex gap-3 shrink-0"
|
1873
|
-
},
|
1873
|
+
}, _a = {
|
1874
1874
|
key: 0,
|
1875
1875
|
class: "flex flex-col gap-3"
|
1876
|
-
},
|
1876
|
+
}, en = { class: "text-oc-text-400 flex gap-x-2 items-center text-sm" }, tn = {
|
1877
1877
|
key: 0,
|
1878
1878
|
class: "flex items-center gap-4 opacity-0 group-hover:opacity-100"
|
1879
|
-
},
|
1879
|
+
}, ln = { class: "border border-oc-accent-1-100 rounded-sm p-1 flex gap-x-1" }, an = { class: "py-5 px-7" }, nn = /* @__PURE__ */ Z({
|
1880
1880
|
__name: "OcAccordion",
|
1881
1881
|
props: {
|
1882
1882
|
title: String,
|
@@ -1925,13 +1925,13 @@ const Xt = {
|
|
1925
1925
|
class: "text-oc-text-400"
|
1926
1926
|
}, null, 8, ["name"])
|
1927
1927
|
])),
|
1928
|
-
n("div",
|
1928
|
+
n("div", Ka, [
|
1929
1929
|
S(c.$slots, "logo"),
|
1930
|
-
n("div",
|
1931
|
-
n("div",
|
1932
|
-
n("div",
|
1933
|
-
e.title ? (t(), s("span",
|
1934
|
-
e.chips.length ? (t(), s("div",
|
1930
|
+
n("div", Ga, [
|
1931
|
+
n("div", Xa, [
|
1932
|
+
n("div", Ja, [
|
1933
|
+
e.title ? (t(), s("span", Za, $(e.title), 1)) : m("", !0),
|
1934
|
+
e.chips.length ? (t(), s("div", Qa, [
|
1935
1935
|
(t(!0), s(L, null, R(e.chips, (v, b) => (t(), p(i(ae), {
|
1936
1936
|
key: b,
|
1937
1937
|
label: v.label,
|
@@ -1944,8 +1944,8 @@ const Xt = {
|
|
1944
1944
|
])
|
1945
1945
|
]),
|
1946
1946
|
S(c.$slots, "default", {}, () => [
|
1947
|
-
e.description ? (t(), s("div",
|
1948
|
-
n("div",
|
1947
|
+
e.description ? (t(), s("div", _a, [
|
1948
|
+
n("div", en, $(e.description), 1)
|
1949
1949
|
])) : m("", !0)
|
1950
1950
|
])
|
1951
1951
|
]),
|
@@ -1953,8 +1953,8 @@ const Xt = {
|
|
1953
1953
|
isOpen: o.value,
|
1954
1954
|
toggleAccordion: d
|
1955
1955
|
}, () => [
|
1956
|
-
e.hasActions ? (t(), s("div",
|
1957
|
-
n("div",
|
1956
|
+
e.hasActions ? (t(), s("div", tn, [
|
1957
|
+
n("div", ln, [
|
1958
1958
|
x(i(T), {
|
1959
1959
|
name: "pencil",
|
1960
1960
|
class: "cursor-pointer text-oc-text-400 p-2",
|
@@ -1978,14 +1978,14 @@ const Xt = {
|
|
1978
1978
|
])
|
1979
1979
|
])
|
1980
1980
|
], 2),
|
1981
|
-
Te(n("div",
|
1981
|
+
Te(n("div", an, [
|
1982
1982
|
S(c.$slots, "content")
|
1983
1983
|
], 512), [
|
1984
1984
|
[ze, o.value]
|
1985
1985
|
])
|
1986
1986
|
], 2));
|
1987
1987
|
}
|
1988
|
-
}),
|
1988
|
+
}), Wu = {
|
1989
1989
|
__name: "OcListItem",
|
1990
1990
|
props: {
|
1991
1991
|
isActive: Boolean,
|
@@ -2027,19 +2027,19 @@ const Xt = {
|
|
2027
2027
|
case "timeLine":
|
2028
2028
|
return ut;
|
2029
2029
|
case "webhook":
|
2030
|
-
return
|
2030
|
+
return Ql;
|
2031
2031
|
case "payment":
|
2032
|
-
return
|
2032
|
+
return ga;
|
2033
2033
|
case "general":
|
2034
|
-
return
|
2034
|
+
return Va;
|
2035
2035
|
case "terminal":
|
2036
|
-
return
|
2036
|
+
return Pa;
|
2037
2037
|
case "logo":
|
2038
|
-
return
|
2038
|
+
return la;
|
2039
2039
|
case "page":
|
2040
|
-
return
|
2040
|
+
return Wa;
|
2041
2041
|
case "accordion":
|
2042
|
-
return
|
2042
|
+
return nn;
|
2043
2043
|
default:
|
2044
2044
|
return ut;
|
2045
2045
|
}
|
@@ -2059,7 +2059,7 @@ const Xt = {
|
|
2059
2059
|
}))
|
2060
2060
|
]), 1040, ["class"]));
|
2061
2061
|
}
|
2062
|
-
},
|
2062
|
+
}, on = { class: "flex gap-x-3 text-sm items-center group/url" }, sn = { class: "text-oc-text-400 font-medium shrink-0" }, rn = { class: "break-all" }, dn = /* @__PURE__ */ Z({
|
2063
2063
|
__name: "OcListUrl",
|
2064
2064
|
props: {
|
2065
2065
|
title: String,
|
@@ -2070,9 +2070,9 @@ const Xt = {
|
|
2070
2070
|
}
|
2071
2071
|
},
|
2072
2072
|
setup(e) {
|
2073
|
-
return (r, a) => (t(), s("div",
|
2074
|
-
n("span",
|
2075
|
-
n("span",
|
2073
|
+
return (r, a) => (t(), s("div", on, [
|
2074
|
+
n("span", sn, $(e.title) + ":", 1),
|
2075
|
+
n("span", rn, $(e.url), 1),
|
2076
2076
|
e.isCopy ? (t(), p(i(Me), {
|
2077
2077
|
key: 0,
|
2078
2078
|
value: e.url
|
@@ -2148,10 +2148,10 @@ const Xt = {
|
|
2148
2148
|
], 2)
|
2149
2149
|
], 2));
|
2150
2150
|
}
|
2151
|
-
},
|
2151
|
+
}, cn = { class: "uppercase" }, un = { class: "flex flex-col px-3 py-2 text-[12px] text-oc-text-400 font-medium text-sm" }, mn = { class: "mb-auto" }, fn = {
|
2152
2152
|
key: 1,
|
2153
2153
|
class: "absolute top-2 right-2 left-2 bottom-2 bg-white flex items-center justify-center"
|
2154
|
-
},
|
2154
|
+
}, Ku = {
|
2155
2155
|
__name: "OcInfoCard",
|
2156
2156
|
props: {
|
2157
2157
|
isLoading: Boolean,
|
@@ -2178,14 +2178,14 @@ const Xt = {
|
|
2178
2178
|
key: 0,
|
2179
2179
|
class: f(["flex items-start text-oc-text-400 font-medium text-[10px]", e.titleClass])
|
2180
2180
|
}, [
|
2181
|
-
n("div",
|
2181
|
+
n("div", cn, $(e.title), 1),
|
2182
2182
|
e.titleIconTooltip ? (t(), p(i(le), {
|
2183
2183
|
key: 0,
|
2184
2184
|
"popper-class": "w-max bg-oc-bg",
|
2185
2185
|
position: "top-start"
|
2186
2186
|
}, {
|
2187
2187
|
popper: w(() => [
|
2188
|
-
n("div",
|
2188
|
+
n("div", un, $(e.titleIconTooltip), 1)
|
2189
2189
|
]),
|
2190
2190
|
default: w(() => [
|
2191
2191
|
x(i(T), {
|
@@ -2199,11 +2199,11 @@ const Xt = {
|
|
2199
2199
|
})) : m("", !0)
|
2200
2200
|
], 2)) : m("", !0),
|
2201
2201
|
S(l.$slots, "header"),
|
2202
|
-
n("div",
|
2202
|
+
n("div", mn, [
|
2203
2203
|
S(l.$slots, "default")
|
2204
2204
|
]),
|
2205
2205
|
S(l.$slots, "footer"),
|
2206
|
-
e.isLoading ? (t(), s("div",
|
2206
|
+
e.isLoading ? (t(), s("div", fn, [
|
2207
2207
|
x(i(T), {
|
2208
2208
|
name: "loading-2",
|
2209
2209
|
width: "32",
|
@@ -2213,13 +2213,13 @@ const Xt = {
|
|
2213
2213
|
])) : m("", !0)
|
2214
2214
|
], 2));
|
2215
2215
|
}
|
2216
|
-
},
|
2216
|
+
}, vn = { key: 0 }, gn = { class: "flex border-oc-gray-200 gap-x-9 justify-between p-5 items-start border-b sticky bg-oc-bg-light top-0" }, pn = { class: "flex flex-col gap-y-1 max-w-[300px]" }, yn = { class: "text-lg font-medium truncate" }, xn = { class: "flex gap-3 items-center" }, hn = {
|
2217
2217
|
key: 0,
|
2218
2218
|
class: "text-sm text-oc-text-300 truncate"
|
2219
|
-
},
|
2219
|
+
}, bn = { class: "flex items-center gap-3" }, wn = { class: "p-[6px] rounded cursor-pointer text-oc-gray-500 hover:bg-gray-100 hover:text-oc-text" }, $n = { class: "p-2 border-b border-gray-200" }, kn = {
|
2220
2220
|
key: 0,
|
2221
2221
|
class: "p-2"
|
2222
|
-
},
|
2222
|
+
}, Gu = {
|
2223
2223
|
__name: "OcFloatContent",
|
2224
2224
|
props: {
|
2225
2225
|
modelValue: {
|
@@ -2256,18 +2256,18 @@ const Xt = {
|
|
2256
2256
|
"left-[-999px] w-0": !e.modelValue && e.position === "left"
|
2257
2257
|
}])
|
2258
2258
|
}, [
|
2259
|
-
e.modelValue ? (t(), s("div",
|
2260
|
-
n("div",
|
2259
|
+
e.modelValue ? (t(), s("div", vn, [
|
2260
|
+
n("div", gn, [
|
2261
2261
|
S(l.$slots, "header", {}, () => [
|
2262
|
-
n("div",
|
2263
|
-
n("span",
|
2262
|
+
n("div", pn, [
|
2263
|
+
n("span", yn, [
|
2264
2264
|
S(l.$slots, "title", {}, () => [
|
2265
2265
|
W($(e.title), 1)
|
2266
2266
|
])
|
2267
2267
|
]),
|
2268
2268
|
S(l.$slots, "description", {}, () => [
|
2269
|
-
n("div",
|
2270
|
-
e.description ? (t(), s("span",
|
2269
|
+
n("div", xn, [
|
2270
|
+
e.description ? (t(), s("span", hn, $(e.description), 1)) : m("", !0),
|
2271
2271
|
x(i(Me), {
|
2272
2272
|
value: e.description,
|
2273
2273
|
"tooltip-options": { strategy: "fixed" }
|
@@ -2285,7 +2285,7 @@ const Xt = {
|
|
2285
2285
|
])
|
2286
2286
|
])
|
2287
2287
|
]),
|
2288
|
-
n("div",
|
2288
|
+
n("div", bn, [
|
2289
2289
|
e.dropdownOptions ? (t(), p(i(ne), F({
|
2290
2290
|
key: 0,
|
2291
2291
|
modelValue: a.value,
|
@@ -2295,13 +2295,13 @@ const Xt = {
|
|
2295
2295
|
class: "text-sm"
|
2296
2296
|
}, e.dropdownProps), {
|
2297
2297
|
menu: w(() => [
|
2298
|
-
n("div",
|
2298
|
+
n("div", $n, [
|
2299
2299
|
(t(!0), s(L, null, R(e.dropdownOptions.top, (d, c) => (t(), p(i(pe), F({
|
2300
2300
|
key: c,
|
2301
2301
|
ref_for: !0
|
2302
2302
|
}, d), null, 16))), 128))
|
2303
2303
|
]),
|
2304
|
-
e.dropdownOptions.bottom ? (t(), s("div",
|
2304
|
+
e.dropdownOptions.bottom ? (t(), s("div", kn, [
|
2305
2305
|
(t(!0), s(L, null, R(e.dropdownOptions.bottom, (d, c) => (t(), p(i(pe), F({
|
2306
2306
|
key: c,
|
2307
2307
|
ref_for: !0
|
@@ -2309,7 +2309,7 @@ const Xt = {
|
|
2309
2309
|
])) : m("", !0)
|
2310
2310
|
]),
|
2311
2311
|
default: w(() => [
|
2312
|
-
n("div",
|
2312
|
+
n("div", wn, [
|
2313
2313
|
x(i(T), {
|
2314
2314
|
name: "dots-vertical",
|
2315
2315
|
width: "20",
|
@@ -2337,16 +2337,16 @@ const Xt = {
|
|
2337
2337
|
])) : m("", !0)
|
2338
2338
|
], 2));
|
2339
2339
|
}
|
2340
|
-
},
|
2340
|
+
}, Sn = { class: "bg-oc-bg-light py-5 px-7 gap-x-7 flex items-center" }, Cn = { class: "flex-1 flex gap-x-4 items-center" }, Vn = {
|
2341
2341
|
key: 0,
|
2342
2342
|
class: "w-[24px] h-[24px] min-w-[24px] flex items-center text-white justify-center rounded-full bg-oc-primary"
|
2343
|
-
},
|
2343
|
+
}, On = {
|
2344
2344
|
key: 1,
|
2345
2345
|
class: "w-[24px] h-[24px] min-w-[24px] flex items-center justify-center border rounded-full text-oc-warning border-oc-warning"
|
2346
|
-
},
|
2346
|
+
}, Bn = {
|
2347
2347
|
key: 2,
|
2348
2348
|
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"
|
2349
|
-
},
|
2349
|
+
}, In = { class: "flex flex-col gap-y-1" }, Tn = { class: "font-medium" }, Dn = { class: "text-oc-text-300 text-sm" }, Xu = /* @__PURE__ */ Z({
|
2350
2350
|
__name: "OcOnboardingListItem",
|
2351
2351
|
props: {
|
2352
2352
|
title: {
|
@@ -2375,25 +2375,25 @@ const Xt = {
|
|
2375
2375
|
}
|
2376
2376
|
},
|
2377
2377
|
setup(e) {
|
2378
|
-
return (r, a) => (t(), s("div",
|
2379
|
-
n("div",
|
2380
|
-
e.status === "completed" ? (t(), s("div",
|
2378
|
+
return (r, a) => (t(), s("div", Sn, [
|
2379
|
+
n("div", Cn, [
|
2380
|
+
e.status === "completed" ? (t(), s("div", Vn, [
|
2381
2381
|
x(i(T), {
|
2382
2382
|
name: "check-2",
|
2383
2383
|
width: "12",
|
2384
2384
|
height: "12"
|
2385
2385
|
})
|
2386
|
-
])) : e.status === "pending" ? (t(), s("div",
|
2386
|
+
])) : e.status === "pending" ? (t(), s("div", On, [
|
2387
2387
|
x(i(T), {
|
2388
2388
|
name: "time-filled",
|
2389
2389
|
width: "18",
|
2390
2390
|
height: "18"
|
2391
2391
|
})
|
2392
|
-
])) : (t(), s("div",
|
2393
|
-
n("div",
|
2392
|
+
])) : (t(), s("div", Bn, $(e.number), 1)),
|
2393
|
+
n("div", In, [
|
2394
2394
|
S(r.$slots, "default", {}, () => [
|
2395
|
-
n("span",
|
2396
|
-
n("span",
|
2395
|
+
n("span", Tn, $(e.title), 1),
|
2396
|
+
n("span", Dn, $(e.description), 1)
|
2397
2397
|
])
|
2398
2398
|
])
|
2399
2399
|
]),
|
@@ -2402,7 +2402,7 @@ const Xt = {
|
|
2402
2402
|
])
|
2403
2403
|
]));
|
2404
2404
|
}
|
2405
|
-
}),
|
2405
|
+
}), Ju = {
|
2406
2406
|
__name: "OcAccordion",
|
2407
2407
|
props: {
|
2408
2408
|
header: {
|
@@ -2487,7 +2487,7 @@ const Xt = {
|
|
2487
2487
|
])
|
2488
2488
|
], 2));
|
2489
2489
|
}
|
2490
|
-
},
|
2490
|
+
}, An = /* @__PURE__ */ Z({
|
2491
2491
|
__name: "OnboardingStatusIcon",
|
2492
2492
|
props: {
|
2493
2493
|
variant: {
|
@@ -2526,7 +2526,7 @@ const Xt = {
|
|
2526
2526
|
}, null, 8, ["width", "height", "name"]))
|
2527
2527
|
], 2));
|
2528
2528
|
}
|
2529
|
-
}),
|
2529
|
+
}), jn = { class: "flex items-center flex-1 gap-x-4" }, Mn = { class: "flex flex-col gap-y-1" }, Pn = { class: "font-medium" }, Ln = { class: "text-oc-text-400 text-sm" }, Zu = /* @__PURE__ */ Z({
|
2530
2530
|
__name: "OnboardingAccordion",
|
2531
2531
|
props: {
|
2532
2532
|
description: {
|
@@ -2562,11 +2562,11 @@ const Xt = {
|
|
2562
2562
|
class: "px-7 items-center py-5 flex gap-x-7",
|
2563
2563
|
onClick: o
|
2564
2564
|
}, [
|
2565
|
-
n("div",
|
2566
|
-
x(
|
2567
|
-
n("div",
|
2568
|
-
n("span",
|
2569
|
-
n("span",
|
2565
|
+
n("div", jn, [
|
2566
|
+
x(An, { variant: e.variant }, null, 8, ["variant"]),
|
2567
|
+
n("div", Mn, [
|
2568
|
+
n("span", Pn, $(e.title), 1),
|
2569
|
+
n("span", Ln, $(e.description), 1)
|
2570
2570
|
])
|
2571
2571
|
]),
|
2572
2572
|
S(d.$slots, "button-group"),
|
@@ -2584,10 +2584,10 @@ const Xt = {
|
|
2584
2584
|
], 512)
|
2585
2585
|
], 2));
|
2586
2586
|
}
|
2587
|
-
}),
|
2587
|
+
}), En = ["onClick"], zn = {
|
2588
2588
|
key: 0,
|
2589
2589
|
class: "bg-oc-error rounded-full h-6 w-6 flex items-center justify-center text-xs font-bold text-white px-4"
|
2590
|
-
}, mt = 100, ft = 35,
|
2590
|
+
}, mt = 100, ft = 35, Qu = {
|
2591
2591
|
__name: "OcTabs",
|
2592
2592
|
props: {
|
2593
2593
|
variant: {
|
@@ -2687,9 +2687,9 @@ const Xt = {
|
|
2687
2687
|
n("div", {
|
2688
2688
|
class: f({ truncate: e.isArrows })
|
2689
2689
|
}, $(j.label), 3),
|
2690
|
-
j.count ? (t(), s("div",
|
2690
|
+
j.count ? (t(), s("div", zn, $(j.count > e.maxCount ? `${e.maxCount}+` : j.count), 1)) : m("", !0)
|
2691
2691
|
])
|
2692
|
-
], 10,
|
2692
|
+
], 10, En);
|
2693
2693
|
}), 128))
|
2694
2694
|
], 2),
|
2695
2695
|
o.value + l.value < e.tabs.length && e.isArrows ? (t(), s("div", {
|
@@ -2709,7 +2709,7 @@ const Xt = {
|
|
2709
2709
|
], 2)) : m("", !0)
|
2710
2710
|
], 2));
|
2711
2711
|
}
|
2712
|
-
},
|
2712
|
+
}, Nn = ["src"], Rn = { class: "shrink-0" }, _u = {
|
2713
2713
|
__name: "OcPaymentTab",
|
2714
2714
|
props: {
|
2715
2715
|
tab: {
|
@@ -2732,12 +2732,12 @@ const Xt = {
|
|
2732
2732
|
key: 0,
|
2733
2733
|
src: e.tab.logo,
|
2734
2734
|
alt: "logo"
|
2735
|
-
}, null, 8,
|
2735
|
+
}, null, 8, Nn)) : m("", !0)
|
2736
2736
|
]),
|
2737
|
-
n("div",
|
2737
|
+
n("div", Rn, $(e.tab.label), 1)
|
2738
2738
|
], 2));
|
2739
2739
|
}
|
2740
|
-
},
|
2740
|
+
}, Fn = { key: 1 }, Un = /* @__PURE__ */ Z({
|
2741
2741
|
__name: "OcStep",
|
2742
2742
|
props: {
|
2743
2743
|
title: {
|
@@ -2772,14 +2772,14 @@ const Xt = {
|
|
2772
2772
|
name: "check-2",
|
2773
2773
|
width: "12",
|
2774
2774
|
height: "12"
|
2775
|
-
})) : (t(), s("span",
|
2775
|
+
})) : (t(), s("span", Fn, $(e.value), 1))
|
2776
2776
|
], 2),
|
2777
2777
|
n("span", {
|
2778
2778
|
class: f(e.isCurrent ? "font-medium" : "")
|
2779
2779
|
}, $(e.title), 3)
|
2780
2780
|
], 2));
|
2781
2781
|
}
|
2782
|
-
}),
|
2782
|
+
}), qn = { class: "flex gap-x-7" }, em = /* @__PURE__ */ Z({
|
2783
2783
|
__name: "OcSteps",
|
2784
2784
|
props: {
|
2785
2785
|
steps: {
|
@@ -2793,9 +2793,9 @@ const Xt = {
|
|
2793
2793
|
},
|
2794
2794
|
emits: ["update:model-value"],
|
2795
2795
|
setup(e) {
|
2796
|
-
return (r, a) => (t(), s("div",
|
2796
|
+
return (r, a) => (t(), s("div", qn, [
|
2797
2797
|
S(r.$slots, "default", {}, () => [
|
2798
|
-
(t(!0), s(L, null, R(e.steps, (l, o) => (t(), p(
|
2798
|
+
(t(!0), s(L, null, R(e.steps, (l, o) => (t(), p(Un, {
|
2799
2799
|
key: o,
|
2800
2800
|
title: l.title,
|
2801
2801
|
value: o + 1,
|
@@ -2807,7 +2807,7 @@ const Xt = {
|
|
2807
2807
|
])
|
2808
2808
|
]));
|
2809
2809
|
}
|
2810
|
-
}),
|
2810
|
+
}), Hn = { class: "flex gap-3 items-start md:flex-row flex-col" }, tm = /* @__PURE__ */ Z({
|
2811
2811
|
__name: "OcVariants",
|
2812
2812
|
props: {
|
2813
2813
|
variants: {
|
@@ -2821,8 +2821,8 @@ const Xt = {
|
|
2821
2821
|
},
|
2822
2822
|
emits: ["update:modelValue"],
|
2823
2823
|
setup(e) {
|
2824
|
-
return (r, a) => (t(), s("div",
|
2825
|
-
(t(!0), s(L, null, R(e.variants, (l) => (t(), p(i(
|
2824
|
+
return (r, a) => (t(), s("div", Hn, [
|
2825
|
+
(t(!0), s(L, null, R(e.variants, (l) => (t(), p(i(Wn), F({
|
2826
2826
|
key: l.value,
|
2827
2827
|
"is-active": l.value === e.modelValue,
|
2828
2828
|
ref_for: !0
|
@@ -2838,7 +2838,7 @@ const Xt = {
|
|
2838
2838
|
]), 1040, ["is-active", "onClick"]))), 128))
|
2839
2839
|
]));
|
2840
2840
|
}
|
2841
|
-
}),
|
2841
|
+
}), Yn = { class: "flex items-center gap-x-3" }, Wn = /* @__PURE__ */ Z({
|
2842
2842
|
__name: "OcVariant",
|
2843
2843
|
props: {
|
2844
2844
|
icon: {
|
@@ -2873,7 +2873,7 @@ const Xt = {
|
|
2873
2873
|
e.isDisabled ? "bg-oc-gray-50 border-oc-gray-200" : e.isActive ? "border-oc-primary bg-oc-bg-light cursor-pointer" : "border-oc-gray-200 bg-oc-bg-light cursor-pointer"
|
2874
2874
|
])
|
2875
2875
|
}, [
|
2876
|
-
n("div",
|
2876
|
+
n("div", Yn, [
|
2877
2877
|
e.icon ? (t(), p(i(T), F({
|
2878
2878
|
key: 0,
|
2879
2879
|
width: "18",
|
@@ -2889,35 +2889,35 @@ const Xt = {
|
|
2889
2889
|
S(r.$slots, `${e.value}-description`)
|
2890
2890
|
], 2));
|
2891
2891
|
}
|
2892
|
-
}),
|
2893
|
-
function
|
2894
|
-
return t(), s("div",
|
2892
|
+
}), Kn = {}, Gn = { class: "bg-oc-bg px-3 md:px-[40px] border-b border-oc-gray-200 h-[68px] w-full flex items-center" };
|
2893
|
+
function Xn(e, r) {
|
2894
|
+
return t(), s("div", Gn, [
|
2895
2895
|
S(e.$slots, "default")
|
2896
2896
|
]);
|
2897
2897
|
}
|
2898
|
-
const
|
2899
|
-
function
|
2900
|
-
return t(), s("div",
|
2898
|
+
const lm = /* @__PURE__ */ he(Kn, [["render", Xn]]), Jn = {}, Zn = { 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" };
|
2899
|
+
function Qn(e, r) {
|
2900
|
+
return t(), s("div", Zn, [
|
2901
2901
|
S(e.$slots, "default")
|
2902
2902
|
]);
|
2903
2903
|
}
|
2904
|
-
const
|
2905
|
-
function
|
2906
|
-
return t(), s("div",
|
2904
|
+
const am = /* @__PURE__ */ he(Jn, [["render", Qn]]), _n = {}, eo = { class: "flex items-center gap-x-3 mr-auto" };
|
2905
|
+
function to(e, r) {
|
2906
|
+
return t(), s("div", eo, [
|
2907
2907
|
S(e.$slots, "default")
|
2908
2908
|
]);
|
2909
2909
|
}
|
2910
|
-
const
|
2910
|
+
const nm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-center" }, ao = {
|
2911
2911
|
key: 1,
|
2912
2912
|
class: "text-oc-text-300 text-sm md:text-base"
|
2913
|
-
},
|
2913
|
+
}, om = {
|
2914
2914
|
__name: "OcHeaderCenter",
|
2915
2915
|
props: {
|
2916
2916
|
isSaved: Boolean
|
2917
2917
|
},
|
2918
2918
|
emits: ["back"],
|
2919
2919
|
setup(e) {
|
2920
|
-
return (r, a) => (t(), s("div",
|
2920
|
+
return (r, a) => (t(), s("div", lo, [
|
2921
2921
|
S(r.$slots, "default", {}, () => [
|
2922
2922
|
S(r.$slots, "before"),
|
2923
2923
|
e.isSaved ? (t(), s("span", {
|
@@ -2930,12 +2930,12 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
2930
2930
|
class: "rotate-90"
|
2931
2931
|
}),
|
2932
2932
|
a[1] || (a[1] = W(" Back "))
|
2933
|
-
])) : (t(), s("span",
|
2933
|
+
])) : (t(), s("span", ao, " Unsaved changes ")),
|
2934
2934
|
S(r.$slots, "after")
|
2935
2935
|
])
|
2936
2936
|
]));
|
2937
2937
|
}
|
2938
|
-
},
|
2938
|
+
}, no = { class: "flex items-center gap-x-7 ml-auto" }, oo = { class: "flex gap-x-3" }, im = {
|
2939
2939
|
__name: "OcHeaderRight",
|
2940
2940
|
props: {
|
2941
2941
|
primaryProps: {
|
@@ -2951,10 +2951,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
2951
2951
|
},
|
2952
2952
|
emits: ["save", "cancel", "addition-click", "dropdown-action"],
|
2953
2953
|
setup(e, { emit: r }) {
|
2954
|
-
return (a, l) => (t(), s("div",
|
2954
|
+
return (a, l) => (t(), s("div", no, [
|
2955
2955
|
S(a.$slots, "default", {}, () => [
|
2956
2956
|
S(a.$slots, "before"),
|
2957
|
-
n("div",
|
2957
|
+
n("div", oo, [
|
2958
2958
|
e.isSecondaryButtonVisible ? (t(), p(i(G), F({
|
2959
2959
|
key: 0,
|
2960
2960
|
class: "min-w-[100px]",
|
@@ -2976,7 +2976,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
2976
2976
|
])
|
2977
2977
|
]));
|
2978
2978
|
}
|
2979
|
-
},
|
2979
|
+
}, io = { class: "gap-x-7 hidden md:flex relative" }, so = ["onClick"], ro = { class: "p-3 font-medium text-oc-accent-1-500 flex items-center gap-2" }, co = { class: "p-4 min-w-[220px] flex flex-col gap-y-3 border-b border-gray-200" }, sm = {
|
2980
2980
|
__name: "OcTabToSelect",
|
2981
2981
|
props: {
|
2982
2982
|
menus: Array,
|
@@ -2996,7 +2996,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
2996
2996
|
() => r.modelValue,
|
2997
2997
|
() => c()
|
2998
2998
|
), Ce(() => c()), (u, v) => (t(), s(L, null, [
|
2999
|
-
n("div",
|
2999
|
+
n("div", io, [
|
3000
3000
|
(t(!0), s(L, null, R(e.menus, (b) => (t(), s("div", {
|
3001
3001
|
key: b.value,
|
3002
3002
|
ref_for: !0,
|
@@ -3006,7 +3006,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3006
3006
|
onClick: (y) => {
|
3007
3007
|
c(y), u.$emit("changePath", b.path), u.$emit("update:modelValue", b.value);
|
3008
3008
|
}
|
3009
|
-
}, $(b.label), 11,
|
3009
|
+
}, $(b.label), 11, so))), 128)),
|
3010
3010
|
n("div", {
|
3011
3011
|
ref_key: "currentRef",
|
3012
3012
|
ref: o,
|
@@ -3019,7 +3019,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3019
3019
|
class: "flex md:hidden"
|
3020
3020
|
}, {
|
3021
3021
|
menu: w(() => [
|
3022
|
-
n("div",
|
3022
|
+
n("div", co, [
|
3023
3023
|
(t(!0), s(L, null, R(e.menus, (b) => (t(), p(i(pe), {
|
3024
3024
|
key: b.value,
|
3025
3025
|
class: f(["px-5 py-3", [
|
@@ -3036,7 +3036,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3036
3036
|
])
|
3037
3037
|
]),
|
3038
3038
|
default: w(() => [
|
3039
|
-
n("div",
|
3039
|
+
n("div", ro, [
|
3040
3040
|
W($(l.value.label) + " ", 1),
|
3041
3041
|
x(i(T), {
|
3042
3042
|
name: "chevron-down",
|
@@ -3049,10 +3049,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3049
3049
|
}, 8, ["modelValue"])
|
3050
3050
|
], 64));
|
3051
3051
|
}
|
3052
|
-
},
|
3052
|
+
}, uo = { class: "flex text-oc-text justify-center flex-col gap-y-3 max-w-full" }, mo = { class: "md:text-xl font-medium flex items-center gap-x-3" }, fo = { class: "whitespace-nowrap text-ellipsis overflow-hidden md:text-base lg:text-xl" }, vo = {
|
3053
3053
|
key: 0,
|
3054
3054
|
class: "text-oc-text-400 text-sm group flex items-center gap-x-4"
|
3055
|
-
},
|
3055
|
+
}, go = { class: "overflow-hidden whitespace-nowrap text-ellipsis" }, Bt = {
|
3056
3056
|
__name: "OcTitle",
|
3057
3057
|
props: {
|
3058
3058
|
title: { type: String, required: !0 },
|
@@ -3063,16 +3063,16 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3063
3063
|
isCopy: Boolean
|
3064
3064
|
},
|
3065
3065
|
setup(e) {
|
3066
|
-
return (r, a) => (t(), s("div",
|
3067
|
-
n("div",
|
3066
|
+
return (r, a) => (t(), s("div", uo, [
|
3067
|
+
n("div", mo, [
|
3068
3068
|
S(r.$slots, "title", {}, () => [
|
3069
|
-
n("span",
|
3069
|
+
n("span", fo, $(e.title), 1)
|
3070
3070
|
]),
|
3071
3071
|
e.chipProps ? (t(), p(i(ae), ue(F({ key: 0 }, e.chipProps)), null, 16)) : m("", !0)
|
3072
3072
|
]),
|
3073
|
-
e.description || r.$slots.description ? (t(), s("div",
|
3073
|
+
e.description || r.$slots.description ? (t(), s("div", vo, [
|
3074
3074
|
S(r.$slots, "description", {}, () => [
|
3075
|
-
n("span",
|
3075
|
+
n("span", go, $(e.description), 1)
|
3076
3076
|
]),
|
3077
3077
|
e.isCopy ? (t(), p(i(Me), {
|
3078
3078
|
key: 0,
|
@@ -3092,10 +3092,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3092
3092
|
])) : m("", !0)
|
3093
3093
|
]));
|
3094
3094
|
}
|
3095
|
-
},
|
3095
|
+
}, po = { class: "flex flex-col gap-y-3" }, yo = { class: "flex items-center justify-between gap-x-3" }, xo = { class: "text-xl leading-[24px] font-medium" }, ho = {
|
3096
3096
|
key: 0,
|
3097
3097
|
class: "flex gap-x-6 text-sm text-oc-text-400 py-4 whitespace-nowrap items-center"
|
3098
|
-
},
|
3098
|
+
}, bo = { class: "overflow-hidden text-ellipsis" }, wo = /* @__PURE__ */ Z({
|
3099
3099
|
__name: "OcMobilePageTitle",
|
3100
3100
|
props: {
|
3101
3101
|
title: { type: String },
|
@@ -3106,9 +3106,9 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3106
3106
|
},
|
3107
3107
|
setup(e) {
|
3108
3108
|
const r = M(!1);
|
3109
|
-
return (a, l) => (t(), s("div",
|
3110
|
-
n("div",
|
3111
|
-
n("span",
|
3109
|
+
return (a, l) => (t(), s("div", po, [
|
3110
|
+
n("div", yo, [
|
3111
|
+
n("span", xo, $(e.title), 1),
|
3112
3112
|
e.primaryButtonProps || e.secondaryButtonProps ? (t(), p(i(G), F({
|
3113
3113
|
key: 0,
|
3114
3114
|
size: "small"
|
@@ -3148,8 +3148,8 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3148
3148
|
_: 1
|
3149
3149
|
}, 16)) : m("", !0)
|
3150
3150
|
]),
|
3151
|
-
e.description ? (t(), s("div",
|
3152
|
-
n("span",
|
3151
|
+
e.description ? (t(), s("div", ho, [
|
3152
|
+
n("span", bo, $(e.description), 1),
|
3153
3153
|
x(i(Me), {
|
3154
3154
|
class: "shrink-0",
|
3155
3155
|
value: e.description
|
@@ -3169,7 +3169,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3169
3169
|
e.chipProps ? (t(), p(i(ae), F({ key: 1 }, e.chipProps, { class: "self-start" }), null, 16)) : m("", !0)
|
3170
3170
|
]));
|
3171
3171
|
}
|
3172
|
-
}),
|
3172
|
+
}), $o = { class: "md:pb-5 pb-4 flex flex-col" }, ko = { class: "flex flex-col gap-y-3 pt-4 md:pt-5 px-5 md:px-10" }, rm = {
|
3173
3173
|
__name: "OcPageTitle",
|
3174
3174
|
props: {
|
3175
3175
|
title: { type: String, required: !0 },
|
@@ -3189,8 +3189,8 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3189
3189
|
back: []
|
3190
3190
|
},
|
3191
3191
|
setup(e) {
|
3192
|
-
return (r, a) => (t(), s("div",
|
3193
|
-
n("div",
|
3192
|
+
return (r, a) => (t(), s("div", $o, [
|
3193
|
+
n("div", ko, [
|
3194
3194
|
e.isBack ? (t(), p(i(G), {
|
3195
3195
|
key: 0,
|
3196
3196
|
size: "small",
|
@@ -3230,14 +3230,14 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3230
3230
|
} : void 0
|
3231
3231
|
]), 1032, ["title", "description", "chip-props", "copy-value", "tooltip-options", "is-copy"]),
|
3232
3232
|
S(r.$slots, "right", {}, () => [
|
3233
|
-
x(i(
|
3233
|
+
x(i(Eo), {
|
3234
3234
|
class: "shrink-0",
|
3235
3235
|
"primary-button-props": e.primaryButtonProps,
|
3236
3236
|
"secondary-button-props": e.secondaryButtonProps
|
3237
3237
|
}, null, 8, ["primary-button-props", "secondary-button-props"])
|
3238
3238
|
])
|
3239
3239
|
], 2),
|
3240
|
-
e.isMobileCombineButtons ? (t(), p(
|
3240
|
+
e.isMobileCombineButtons ? (t(), p(wo, {
|
3241
3241
|
key: 1,
|
3242
3242
|
"secondary-button-props": e.secondaryButtonProps,
|
3243
3243
|
"primary-button-props": e.primaryButtonProps,
|
@@ -3254,13 +3254,13 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3254
3254
|
])
|
3255
3255
|
]));
|
3256
3256
|
}
|
3257
|
-
},
|
3257
|
+
}, So = ["href"], Co = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Vo = {
|
3258
3258
|
key: 0,
|
3259
3259
|
class: "border-l group-hover:border-oc-accent-1-100 border-transparent"
|
3260
|
-
},
|
3260
|
+
}, Oo = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Bo = { class: "flex flex-col" }, Io = { class: "p-2 border-b border-gray-200" }, To = {
|
3261
3261
|
key: 0,
|
3262
3262
|
class: "p-2"
|
3263
|
-
},
|
3263
|
+
}, Do = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Ao = {
|
3264
3264
|
__name: "OcPrimaryActions",
|
3265
3265
|
props: {
|
3266
3266
|
primaryActions: Object
|
@@ -3301,7 +3301,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3301
3301
|
popper: w(() => {
|
3302
3302
|
var C, j;
|
3303
3303
|
return [
|
3304
|
-
n("div",
|
3304
|
+
n("div", Co, $((j = (C = e.primaryActions) == null ? void 0 : C.mainLinkAction) == null ? void 0 : j.tooltipContent), 1)
|
3305
3305
|
];
|
3306
3306
|
}),
|
3307
3307
|
default: w(() => {
|
@@ -3315,7 +3315,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3315
3315
|
class: "p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr",
|
3316
3316
|
name: "external-link"
|
3317
3317
|
})
|
3318
|
-
], 8,
|
3318
|
+
], 8, So)
|
3319
3319
|
];
|
3320
3320
|
}),
|
3321
3321
|
_: 1
|
@@ -3323,14 +3323,14 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3323
3323
|
(t(!0), s(L, null, R(e.primaryActions.actions, (C, j) => {
|
3324
3324
|
var k;
|
3325
3325
|
return t(), s(L, { key: j }, [
|
3326
|
-
(k = e.primaryActions) != null && k.mainLinkAction || j > 0 ? (t(), s("div",
|
3326
|
+
(k = e.primaryActions) != null && k.mainLinkAction || j > 0 ? (t(), s("div", Vo)) : m("", !0),
|
3327
3327
|
x(i(le), {
|
3328
3328
|
position: "top",
|
3329
3329
|
"arrow-hidden": "",
|
3330
3330
|
distance: 7
|
3331
3331
|
}, {
|
3332
3332
|
popper: w(() => [
|
3333
|
-
n("div",
|
3333
|
+
n("div", Oo, $(C != null && C.isCopyButton ? o.value ? b.value : v.value : C.tooltipContent), 1)
|
3334
3334
|
]),
|
3335
3335
|
default: w(() => [
|
3336
3336
|
C != null && C.isCopyButton ? (t(), p(i(T), {
|
@@ -3362,8 +3362,8 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3362
3362
|
menu: w(() => {
|
3363
3363
|
var C, j, k;
|
3364
3364
|
return [
|
3365
|
-
n("div",
|
3366
|
-
n("div",
|
3365
|
+
n("div", Bo, [
|
3366
|
+
n("div", Io, [
|
3367
3367
|
(t(!0), s(L, null, R((C = e.primaryActions.dropdownOptions) == null ? void 0 : C.top, (B, g) => (t(), s(L, { key: g }, [
|
3368
3368
|
B != null && B.isCopyButton ? (t(), p(i(pe), {
|
3369
3369
|
key: 0,
|
@@ -3379,7 +3379,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3379
3379
|
}), null, 16))
|
3380
3380
|
], 64))), 128))
|
3381
3381
|
]),
|
3382
|
-
(j = e.primaryActions.dropdownOptions) != null && j.bottom ? (t(), s("div",
|
3382
|
+
(j = e.primaryActions.dropdownOptions) != null && j.bottom ? (t(), s("div", To, [
|
3383
3383
|
(t(!0), s(L, null, R((k = e.primaryActions.dropdownOptions) == null ? void 0 : k.bottom, (B, g) => (t(), s("div", { key: g }, [
|
3384
3384
|
B != null && B.tooltipText ? (t(), p(i(le), {
|
3385
3385
|
key: 0,
|
@@ -3388,7 +3388,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3388
3388
|
class: "!w-full"
|
3389
3389
|
}, {
|
3390
3390
|
popper: w(() => [
|
3391
|
-
n("div",
|
3391
|
+
n("div", Do, $(B == null ? void 0 : B.tooltipText), 1)
|
3392
3392
|
]),
|
3393
3393
|
default: w(() => [
|
3394
3394
|
x(i(pe), F({ ref_for: !0 }, B, {
|
@@ -3430,10 +3430,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3430
3430
|
], 2);
|
3431
3431
|
};
|
3432
3432
|
}
|
3433
|
-
},
|
3433
|
+
}, jo = { class: "flex gap-x-3 items-center" }, Mo = {
|
3434
3434
|
key: 0,
|
3435
3435
|
class: "p-2"
|
3436
|
-
},
|
3436
|
+
}, Po = { class: "px-3 py-[5px] whitespace-nowrap font-medium text-sm text-oc-text-400 flex gap-x-3 items-center" }, Lo = {
|
3437
3437
|
__name: "OcPageTitleRight",
|
3438
3438
|
props: {
|
3439
3439
|
primaryButtonProps: Object,
|
@@ -3441,8 +3441,8 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3441
3441
|
},
|
3442
3442
|
setup(e) {
|
3443
3443
|
var o;
|
3444
|
-
const a = M(((o = e.secondaryButtonProps) == null ? void 0 : o.isDropdownOpened) ?? !1), { isMobile: l } =
|
3445
|
-
return (d, c) => (t(), s("div",
|
3444
|
+
const a = M(((o = e.secondaryButtonProps) == null ? void 0 : o.isDropdownOpened) ?? !1), { isMobile: l } = Ht();
|
3445
|
+
return (d, c) => (t(), s("div", jo, [
|
3446
3446
|
e.secondaryButtonProps ? (t(), p(i(ne), {
|
3447
3447
|
key: 0,
|
3448
3448
|
modelValue: a.value,
|
@@ -3452,7 +3452,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3452
3452
|
menu: w(() => {
|
3453
3453
|
var u;
|
3454
3454
|
return [
|
3455
|
-
(u = e.secondaryButtonProps) != null && u.dropdownOptions ? (t(), s("div",
|
3455
|
+
(u = e.secondaryButtonProps) != null && u.dropdownOptions ? (t(), s("div", Mo, [
|
3456
3456
|
(t(!0), s(L, null, R(e.secondaryButtonProps.dropdownOptions, (v, b) => (t(), p(i(pe), F({
|
3457
3457
|
key: b,
|
3458
3458
|
ref_for: !0
|
@@ -3474,7 +3474,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3474
3474
|
"arrow-hidden": ""
|
3475
3475
|
}, {
|
3476
3476
|
popper: w(() => [
|
3477
|
-
n("div",
|
3477
|
+
n("div", Po, $(e.primaryButtonProps.tooltip), 1)
|
3478
3478
|
]),
|
3479
3479
|
default: w(() => [
|
3480
3480
|
x(i(G), F({
|
@@ -3488,16 +3488,16 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3488
3488
|
}, e.primaryButtonProps), null, 16, ["size"])) : m("", !0)
|
3489
3489
|
]));
|
3490
3490
|
}
|
3491
|
-
},
|
3491
|
+
}, Eo = /* @__PURE__ */ he(Lo, [["__scopeId", "data-v-a7abfe33"]]), zo = { class: "grid py-7 w-full max-h-[inherit] overflow-y-auto overflow-x-hidden gap-3 px-8" }, No = {
|
3492
3492
|
key: 0,
|
3493
3493
|
class: "text-sm uppercase text-[var(--oc-sidebar-menu-title)] my-3"
|
3494
|
-
},
|
3494
|
+
}, Ro = ["onClick"], Fo = {
|
3495
3495
|
key: 0,
|
3496
3496
|
class: "p-3 gap-4 bg-oc-bg shadow-sm rounded w-[200px]"
|
3497
|
-
},
|
3497
|
+
}, Uo = {
|
3498
3498
|
key: 0,
|
3499
3499
|
class: "relative flex flex-col"
|
3500
|
-
},
|
3500
|
+
}, dm = {
|
3501
3501
|
__name: "OcSidebar",
|
3502
3502
|
props: {
|
3503
3503
|
class: {
|
@@ -3530,10 +3530,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3530
3530
|
}), (v, b) => (t(), s("div", {
|
3531
3531
|
class: f(["cursor-pointer max-h-[inherit] transition-all duration-300 ease-in-out relative bg-[var(--oc-sidebar-background)]", u.value])
|
3532
3532
|
}, [
|
3533
|
-
n("div",
|
3533
|
+
n("div", zo, [
|
3534
3534
|
S(v.$slots, "before", { isExpanded: e.isExpanded }),
|
3535
3535
|
(t(!0), s(L, null, R(e.sidebarMenu, (y, h) => (t(), s(L, { key: h }, [
|
3536
|
-
e.isExpanded && y.label ? (t(), s("h2",
|
3536
|
+
e.isExpanded && y.label ? (t(), s("h2", No, $(y.label), 1)) : m("", !0),
|
3537
3537
|
(!y.label || !e.isExpanded) && h !== 0 ? (t(), s("div", {
|
3538
3538
|
key: 1,
|
3539
3539
|
class: f(["my-3", e.isExpanded ? "px-0" : "px-3"])
|
@@ -3567,7 +3567,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3567
3567
|
placement: "right-start"
|
3568
3568
|
}, {
|
3569
3569
|
menu: w(() => [
|
3570
|
-
o.value[O.name + "-" + D] ? (t(), s("div",
|
3570
|
+
o.value[O.name + "-" + D] ? (t(), s("div", Fo, [
|
3571
3571
|
O.children ? m("", !0) : (t(), s("div", {
|
3572
3572
|
key: 0,
|
3573
3573
|
class: f(["flex items-center rounded hover:bg-[var(--oc-sidebar-menu-hover)]", {
|
@@ -3619,8 +3619,8 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3619
3619
|
key: 2,
|
3620
3620
|
menu: O
|
3621
3621
|
}) : m("", !0)
|
3622
|
-
], 10,
|
3623
|
-
e.isExpanded ? (t(), s("div",
|
3622
|
+
], 10, Ro),
|
3623
|
+
e.isExpanded ? (t(), s("div", Uo, [
|
3624
3624
|
b[1] || (b[1] = n("div", { class: "absolute border-l left-[27px] bottom-[17px] h-full" }, null, -1)),
|
3625
3625
|
O.children ? (t(), p(i(vt), {
|
3626
3626
|
key: 0,
|
@@ -3687,7 +3687,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3687
3687
|
], 2))), 128))
|
3688
3688
|
], 2));
|
3689
3689
|
}
|
3690
|
-
},
|
3690
|
+
}, qo = { class: "flex gap-3 items-center" }, Ho = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, ae = {
|
3691
3691
|
__name: "OcChip",
|
3692
3692
|
props: {
|
3693
3693
|
variant: {
|
@@ -3775,14 +3775,14 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3775
3775
|
class: f(["rounded-full flex items-center gap-x-3 py-1 px-3 text-sm leading-[20px]", a.value])
|
3776
3776
|
}, [
|
3777
3777
|
S(o.$slots, "default", {}, () => [
|
3778
|
-
n("div",
|
3778
|
+
n("div", qo, [
|
3779
3779
|
e.iconTooltip && e.icon ? (t(), p(i(le), {
|
3780
3780
|
key: 0,
|
3781
3781
|
position: "top",
|
3782
3782
|
distance: 10
|
3783
3783
|
}, {
|
3784
3784
|
popper: w(() => [
|
3785
|
-
n("div",
|
3785
|
+
n("div", Ho, $(e.iconTooltip), 1)
|
3786
3786
|
]),
|
3787
3787
|
default: w(() => [
|
3788
3788
|
x(i(T), F({
|
@@ -3815,25 +3815,25 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3815
3815
|
}, null, 8, ["class"])) : m("", !0)
|
3816
3816
|
], 2));
|
3817
3817
|
}
|
3818
|
-
},
|
3818
|
+
}, Yo = {
|
3819
3819
|
key: 0,
|
3820
3820
|
class: "p-3 bg-white rounded-[6px] w-full flex flex-col gap-y-5"
|
3821
|
-
},
|
3821
|
+
}, Wo = { class: "p-2 flex gap-3" }, Ko = { class: "p-3 rounded-full border border-oc-warning-500" }, Go = { class: "mx-[-8px] mb-[-8px] rounded-b-[6px] border-t border-gray-200 bg-oc-gray-50" }, Xo = { class: "py-4 px-5 text-oc-text-400 font-medium" }, Jo = {
|
3822
3822
|
key: 0,
|
3823
3823
|
class: "flex items-center"
|
3824
|
-
},
|
3824
|
+
}, Zo = {
|
3825
3825
|
key: 1,
|
3826
3826
|
class: "flex items-center mt-3"
|
3827
|
-
},
|
3827
|
+
}, Qo = { class: "flex flex-col gap-y-3" }, _o = { class: "flex items-center text-[var(--oc-sidebar-menu-active-text)] justify-between" }, ei = { class: "font-bold" }, ti = { class: "h-[12px] w-full rounded-full bg-oc-gray-100 shadow" }, li = {
|
3828
3828
|
key: 1,
|
3829
3829
|
class: "bg-white rounded-full p-1"
|
3830
|
-
},
|
3830
|
+
}, ai = {
|
3831
3831
|
key: 0,
|
3832
3832
|
class: "p-3 rounded-full"
|
3833
|
-
},
|
3833
|
+
}, ni = {
|
3834
3834
|
key: 1,
|
3835
3835
|
class: "pie-wrapper progress style-2"
|
3836
|
-
},
|
3836
|
+
}, oi = { class: "label" }, ii = {
|
3837
3837
|
__name: "OcAccountSetup",
|
3838
3838
|
props: {
|
3839
3839
|
isExpanded: Boolean,
|
@@ -3852,10 +3852,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3852
3852
|
e.isPending ? "bg-oc-warning-500" : "account-setup-bg"
|
3853
3853
|
]])
|
3854
3854
|
}, [
|
3855
|
-
e.isExpanded ? (t(), s("div",
|
3855
|
+
e.isExpanded ? (t(), s("div", Yo, [
|
3856
3856
|
e.isPending ? (t(), s(L, { key: 0 }, [
|
3857
|
-
n("div",
|
3858
|
-
n("div",
|
3857
|
+
n("div", Wo, [
|
3858
|
+
n("div", Ko, [
|
3859
3859
|
x(T, {
|
3860
3860
|
name: "alert",
|
3861
3861
|
width: "20",
|
@@ -3865,25 +3865,25 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3865
3865
|
]),
|
3866
3866
|
a[0] || (a[0] = n("div", { class: "text-oc-text-500 text-sm" }, "We’re currently reviewing your account.", -1))
|
3867
3867
|
]),
|
3868
|
-
n("div",
|
3869
|
-
n("div",
|
3870
|
-
e.paymentStatus ? (t(), s("div",
|
3868
|
+
n("div", Go, [
|
3869
|
+
n("div", Xo, [
|
3870
|
+
e.paymentStatus ? (t(), s("div", Jo, [
|
3871
3871
|
a[1] || (a[1] = n("span", { class: "flex-1" }, "Payment", -1)),
|
3872
3872
|
x(ae, ue(Ie(e.paymentStatus)), null, 16)
|
3873
3873
|
])) : m("", !0),
|
3874
|
-
e.paymentStatus ? (t(), s("div",
|
3874
|
+
e.paymentStatus ? (t(), s("div", Zo, [
|
3875
3875
|
a[2] || (a[2] = n("span", { class: "flex-1" }, "Payout", -1)),
|
3876
3876
|
x(ae, ue(Ie(e.payoutStatus)), null, 16)
|
3877
3877
|
])) : m("", !0)
|
3878
3878
|
])
|
3879
3879
|
])
|
3880
3880
|
], 64)) : (t(), s(L, { key: 1 }, [
|
3881
|
-
n("div",
|
3882
|
-
n("div",
|
3881
|
+
n("div", Qo, [
|
3882
|
+
n("div", _o, [
|
3883
3883
|
a[3] || (a[3] = n("span", { class: "font-medium" }, "Account setup", -1)),
|
3884
|
-
n("span",
|
3884
|
+
n("span", ei, $(e.progress) + "%", 1)
|
3885
3885
|
]),
|
3886
|
-
n("div",
|
3886
|
+
n("div", ti, [
|
3887
3887
|
n("div", {
|
3888
3888
|
class: "h-[12px] rounded-full bg-[var(--oc-sidebar-menu-active-icon-active)]",
|
3889
3889
|
style: re({ width: `${e.progress}%` })
|
@@ -3892,16 +3892,16 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3892
3892
|
]),
|
3893
3893
|
a[4] || (a[4] = n("div", { class: "text-sm font-bold text-[var(--oc-sidebar-menu-active-text)] text-center" }, " COMPLETE NOW -> ", -1))
|
3894
3894
|
], 64))
|
3895
|
-
])) : (t(), s("div",
|
3896
|
-
e.isPending ? (t(), s("div",
|
3895
|
+
])) : (t(), s("div", li, [
|
3896
|
+
e.isPending ? (t(), s("div", ai, [
|
3897
3897
|
x(T, {
|
3898
3898
|
name: "alert",
|
3899
3899
|
width: "20",
|
3900
3900
|
height: "20",
|
3901
3901
|
class: "text-oc-warning-500"
|
3902
3902
|
})
|
3903
|
-
])) : (t(), s("div",
|
3904
|
-
n("span",
|
3903
|
+
])) : (t(), s("div", ni, [
|
3904
|
+
n("span", oi, $(e.progress), 1),
|
3905
3905
|
n("div", {
|
3906
3906
|
class: "pie",
|
3907
3907
|
style: re({
|
@@ -3920,7 +3920,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3920
3920
|
]))
|
3921
3921
|
], 2));
|
3922
3922
|
}
|
3923
|
-
},
|
3923
|
+
}, cm = /* @__PURE__ */ he(ii, [["__scopeId", "data-v-98a72f05"]]), si = { class: "py-7 flex flex-col gap-y-3 px-4" }, ri = { class: "flex flex-col gap-y-2" }, di = ["onClick"], um = /* @__PURE__ */ Z({
|
3924
3924
|
__name: "OcSubSidebar",
|
3925
3925
|
props: {
|
3926
3926
|
title: {
|
@@ -3938,7 +3938,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3938
3938
|
},
|
3939
3939
|
emits: ["titleClick", "update:modelValue"],
|
3940
3940
|
setup(e) {
|
3941
|
-
return (r, a) => (t(), s("div",
|
3941
|
+
return (r, a) => (t(), s("div", si, [
|
3942
3942
|
e.title ? (t(), s("div", {
|
3943
3943
|
key: 0,
|
3944
3944
|
class: "py-4 gap-x-3 whitespace-nowrap cursor-pointer flex font-medium items-center",
|
@@ -3952,7 +3952,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3952
3952
|
}),
|
3953
3953
|
W(" " + $(e.title), 1)
|
3954
3954
|
])) : m("", !0),
|
3955
|
-
n("div",
|
3955
|
+
n("div", ri, [
|
3956
3956
|
(t(!0), s(L, null, R(e.menu, (l, o) => (t(), s("div", {
|
3957
3957
|
key: o,
|
3958
3958
|
class: f([
|
@@ -3960,11 +3960,11 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
3960
3960
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
3961
3961
|
]),
|
3962
3962
|
onClick: (d) => r.$emit("update:modelValue", l.value)
|
3963
|
-
}, $(l.label), 11,
|
3963
|
+
}, $(l.label), 11, di))), 128))
|
3964
3964
|
])
|
3965
3965
|
]));
|
3966
3966
|
}
|
3967
|
-
}),
|
3967
|
+
}), ci = { class: "relative" }, mm = {
|
3968
3968
|
__name: "OcEmptyPage",
|
3969
3969
|
props: {
|
3970
3970
|
isButton: {
|
@@ -4062,7 +4062,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4062
4062
|
return (a, l) => (t(), s("div", {
|
4063
4063
|
class: f(["flex flex-col items-center", r.value[e.size].box])
|
4064
4064
|
}, [
|
4065
|
-
n("div",
|
4065
|
+
n("div", ci, [
|
4066
4066
|
n("div", {
|
4067
4067
|
class: f(["flex justify-center border rounded-full items-center aspect-square", [
|
4068
4068
|
e.containerClass ? e.containerClass : e.isUpgrade ? "text-oc-warning-600 border-oc-warning-300 bg-oc-warning-50" : "text-oc-text-400 border-oc-gray-200 bg-oc-gray-50",
|
@@ -4103,16 +4103,16 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4103
4103
|
}, null, 8, ["label", "left-icon"])) : m("", !0)
|
4104
4104
|
], 2));
|
4105
4105
|
}
|
4106
|
-
},
|
4106
|
+
}, ui = {
|
4107
4107
|
key: 0,
|
4108
4108
|
class: "min-w-[138px] flex flex-col gap-y-3"
|
4109
|
-
},
|
4109
|
+
}, mi = {
|
4110
4110
|
key: 1,
|
4111
4111
|
class: "flex gap-x-4 items-center"
|
4112
|
-
},
|
4112
|
+
}, fi = { class: "flex flex-col gap-y-2" }, vi = { class: "flex items-center gap-x-2" }, gi = { class: "text-oc-text-400 text-sm" }, pi = {
|
4113
4113
|
key: 0,
|
4114
4114
|
class: "flex justify-center items-center w-[38px] h-[38px] shrink-0 rounded-full bg-oc-gray-100"
|
4115
|
-
},
|
4115
|
+
}, yi = {
|
4116
4116
|
__name: "OcInfoCardButton",
|
4117
4117
|
props: {
|
4118
4118
|
isActive: Boolean,
|
@@ -4125,41 +4125,38 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4125
4125
|
countryIso: String
|
4126
4126
|
},
|
4127
4127
|
setup(e) {
|
4128
|
-
return (r, a) => {
|
4129
|
-
|
4130
|
-
|
4131
|
-
|
4132
|
-
|
4133
|
-
|
4134
|
-
|
4135
|
-
|
4136
|
-
|
4137
|
-
|
4138
|
-
|
4139
|
-
])) : (t(), s("div", fi, [
|
4128
|
+
return (r, a) => (t(), s("div", {
|
4129
|
+
class: f(["cursor-pointer rounded group font-medium justify-center border gap-y-2 md:w-fit w-full flex flex-col hover:shadow-normal", [
|
4130
|
+
e.isActive && !e.isLoading ? "border-b-[3px] border-oc-primary" : "border-oc-accent-1-100",
|
4131
|
+
e.isLoading ? "p-3" : "px-5 py-4 min-h-[62px] max-h-[76px]"
|
4132
|
+
]])
|
4133
|
+
}, [
|
4134
|
+
e.isLoading ? (t(), s("div", ui, [
|
4135
|
+
x(i(Se), { class: "h-[14px] w-[80%] rounded-sm" }),
|
4136
|
+
x(i(Se), { class: "h-[20px] w-full rounded-sm" })
|
4137
|
+
])) : (t(), s("div", mi, [
|
4138
|
+
n("div", fi, [
|
4140
4139
|
n("div", vi, [
|
4141
|
-
n("
|
4142
|
-
|
4143
|
-
e.chipOptions ? (t(), p(i(ae), ue(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
4144
|
-
]),
|
4145
|
-
n("span", {
|
4146
|
-
class: f(["flex gap-x-4 items-center text-xl group-hover:text-oc-text", e.isActive ? "text-oc-text" : "text-oc-text-400"])
|
4147
|
-
}, [
|
4148
|
-
e.countryIso ? (t(), s("div", yi, [
|
4149
|
-
x(l, {
|
4150
|
-
class: "!rounded-[1px]",
|
4151
|
-
name: `flags/${e.countryIso.toUpperCase()}`
|
4152
|
-
}, null, 8, ["name"])
|
4153
|
-
])) : m("", !0),
|
4154
|
-
W(" " + $(e.content), 1)
|
4155
|
-
], 2)
|
4140
|
+
n("span", gi, $(e.title), 1),
|
4141
|
+
e.chipOptions ? (t(), p(i(ae), ue(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
4156
4142
|
]),
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
|
4143
|
+
n("span", {
|
4144
|
+
class: f(["flex gap-x-4 items-center text-xl group-hover:text-oc-text", e.isActive ? "text-oc-text" : "text-oc-text-400"])
|
4145
|
+
}, [
|
4146
|
+
e.countryIso ? (t(), s("div", pi, [
|
4147
|
+
x(i(T), {
|
4148
|
+
class: "!rounded-[1px]",
|
4149
|
+
name: `flags/${e.countryIso.toUpperCase()}`
|
4150
|
+
}, null, 8, ["name"])
|
4151
|
+
])) : m("", !0),
|
4152
|
+
W(" " + $(e.content), 1)
|
4153
|
+
], 2)
|
4154
|
+
]),
|
4155
|
+
e.isDropdown ? (t(), p(i(G), ue(F({ key: 0 }, e.dropdownOptions)), null, 16)) : m("", !0)
|
4156
|
+
]))
|
4157
|
+
], 2));
|
4161
4158
|
}
|
4162
|
-
},
|
4159
|
+
}, xi = { class: "flex items-center gap-x-4 overflow-hidden" }, hi = { class: "flex gap-x-2 overflow-auto" }, bi = ["alt", "src"], wi = {
|
4163
4160
|
__name: "OcPaymentMethods",
|
4164
4161
|
props: {
|
4165
4162
|
methods: {
|
@@ -4168,23 +4165,23 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4168
4165
|
}
|
4169
4166
|
},
|
4170
4167
|
setup(e) {
|
4171
|
-
return (r, a) => (t(), s("div",
|
4168
|
+
return (r, a) => (t(), s("div", xi, [
|
4172
4169
|
a[0] || (a[0] = n("span", { class: "text-xs shrink-0 font-medium text-oc-text-300 uppercase" }, " Payment methods ", -1)),
|
4173
|
-
n("div",
|
4170
|
+
n("div", hi, [
|
4174
4171
|
(t(!0), s(L, null, R(e.methods, (l) => (t(), s("img", {
|
4175
4172
|
key: l,
|
4176
4173
|
width: "35",
|
4177
4174
|
alt: l,
|
4178
4175
|
height: "24",
|
4179
4176
|
src: l
|
4180
|
-
}, null, 8,
|
4177
|
+
}, null, 8, bi))), 128))
|
4181
4178
|
])
|
4182
4179
|
]));
|
4183
4180
|
}
|
4184
|
-
},
|
4181
|
+
}, $i = { class: "flex justify-between md:flex-row flex-col gap-y-3 gap-x-4 md:gap-y-0" }, ki = { key: 2 }, Si = {
|
4185
4182
|
key: 4,
|
4186
4183
|
class: "flex shrink-0 gap-x-3"
|
4187
|
-
},
|
4184
|
+
}, Ci = {
|
4188
4185
|
__name: "OcTopActions",
|
4189
4186
|
props: {
|
4190
4187
|
moreButtonProps: Object,
|
@@ -4207,19 +4204,19 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4207
4204
|
const r = M(!1);
|
4208
4205
|
return (a, l) => {
|
4209
4206
|
var o;
|
4210
|
-
return t(), s("div",
|
4207
|
+
return t(), s("div", $i, [
|
4211
4208
|
e.isLoading ? (t(), p(i(Se), {
|
4212
4209
|
key: 0,
|
4213
4210
|
class: "h-[20px] w-[322px] rounded-sm"
|
4214
4211
|
})) : m("", !0),
|
4215
|
-
!e.isLoading && e.paymentMethods.length ? (t(), p(
|
4212
|
+
!e.isLoading && e.paymentMethods.length ? (t(), p(wi, {
|
4216
4213
|
key: 1,
|
4217
4214
|
methods: e.paymentMethods
|
4218
|
-
}, null, 8, ["methods"])) : (t(), s("div",
|
4215
|
+
}, null, 8, ["methods"])) : (t(), s("div", ki)),
|
4219
4216
|
e.isLoading ? (t(), p(i(Se), {
|
4220
4217
|
key: 3,
|
4221
4218
|
class: "h-[20px] w-[168px] rounded-sm"
|
4222
|
-
})) : (t(), s("div",
|
4219
|
+
})) : (t(), s("div", Si, [
|
4223
4220
|
x(i(ne), F({
|
4224
4221
|
modelValue: r.value,
|
4225
4222
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => r.value = d),
|
@@ -4265,7 +4262,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4265
4262
|
]);
|
4266
4263
|
};
|
4267
4264
|
}
|
4268
|
-
},
|
4265
|
+
}, Vi = { class: "flex flex-col gap-y-5" }, Oi = { class: "flex gap-x-5 overflow-x-auto" }, Bi = {
|
4269
4266
|
__name: "OcBalanceOverview",
|
4270
4267
|
props: {
|
4271
4268
|
overviewItems: {
|
@@ -4301,10 +4298,10 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4301
4298
|
changeTab: []
|
4302
4299
|
},
|
4303
4300
|
setup(e) {
|
4304
|
-
return (r, a) => (t(), s("div",
|
4305
|
-
n("div",
|
4301
|
+
return (r, a) => (t(), s("div", Vi, [
|
4302
|
+
n("div", Oi, [
|
4306
4303
|
(t(!0), s(L, null, R(e.isLoading ? 2 : e.overviewTabs, (l) => S(r.$slots, l.value, { tab: l }, () => [
|
4307
|
-
(t(), p(
|
4304
|
+
(t(), p(yi, {
|
4308
4305
|
key: l.value,
|
4309
4306
|
title: l.title,
|
4310
4307
|
"is-loading": e.isLoading,
|
@@ -4319,7 +4316,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4319
4316
|
])), 256))
|
4320
4317
|
]),
|
4321
4318
|
a[0] || (a[0] = n("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
4322
|
-
x(
|
4319
|
+
x(Ci, {
|
4323
4320
|
"is-loading": e.isLoading,
|
4324
4321
|
"more-button-props": e.moreButtonProps,
|
4325
4322
|
"secondary-button-props": e.secondaryButtonProps,
|
@@ -4327,7 +4324,7 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4327
4324
|
"dropdown-items": e.dropdownItems,
|
4328
4325
|
"dropdown-props": e.dropdownProps
|
4329
4326
|
}, null, 8, ["is-loading", "more-button-props", "secondary-button-props", "payment-methods", "dropdown-items", "dropdown-props"]),
|
4330
|
-
x(i(
|
4327
|
+
x(i(gl), {
|
4331
4328
|
"is-loading": e.isLoading,
|
4332
4329
|
title: "",
|
4333
4330
|
items: e.overviewItems,
|
@@ -4340,19 +4337,19 @@ const om = /* @__PURE__ */ he(eo, [["render", lo]]), ao = { class: "flex items-c
|
|
4340
4337
|
}, 8, ["is-loading", "items", "container-class"])
|
4341
4338
|
]));
|
4342
4339
|
}
|
4343
|
-
},
|
4344
|
-
function
|
4345
|
-
return t(), s("div",
|
4340
|
+
}, Ii = {}, Ti = { 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" };
|
4341
|
+
function Di(e, r) {
|
4342
|
+
return t(), s("div", Ti, [
|
4346
4343
|
S(e.$slots, "default")
|
4347
4344
|
]);
|
4348
4345
|
}
|
4349
|
-
const lt = /* @__PURE__ */ he(
|
4346
|
+
const lt = /* @__PURE__ */ he(Ii, [["render", Di]]), Ai = { class: "flex" }, ji = {
|
4350
4347
|
key: 0,
|
4351
4348
|
class: "p-2"
|
4352
|
-
},
|
4349
|
+
}, Mi = { class: "py-2 px-3" }, Pi = {
|
4353
4350
|
key: 0,
|
4354
4351
|
class: "max-w-[250px] fixed z-[1006] top-0 right-0 transition-all duration-500 flex flex-col gap-y-2 w-full bg-white h-screen overflow-y-auto"
|
4355
|
-
},
|
4352
|
+
}, Li = { class: "p-5 flex items-center justify-between" }, Ei = { class: "px-5 flex-1 flex flex-col gap-y-5" }, zi = /* @__PURE__ */ Z({
|
4356
4353
|
__name: "MobileDynamicType",
|
4357
4354
|
props: {
|
4358
4355
|
boxes: { type: Array, default: () => [] },
|
@@ -4368,7 +4365,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4368
4365
|
default: w(() => {
|
4369
4366
|
var o, d;
|
4370
4367
|
return [
|
4371
|
-
n("div",
|
4368
|
+
n("div", Ai, [
|
4372
4369
|
(t(!0), s(L, null, R((o = e.boxes[0]) == null ? void 0 : o.items.slice(0, 2), (c, u) => (t(), p(i(qe), F({
|
4373
4370
|
key: u,
|
4374
4371
|
"is-transparent": "",
|
@@ -4388,12 +4385,12 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4388
4385
|
key: "0"
|
4389
4386
|
} : void 0
|
4390
4387
|
]), 1040, ["title", "content", "class", "is-loading"]))), 128)),
|
4391
|
-
(d = e.boxes[0]) != null && d.showInfo ? (t(), s("div",
|
4388
|
+
(d = e.boxes[0]) != null && d.showInfo ? (t(), s("div", ji, [
|
4392
4389
|
x(i(le), null, {
|
4393
4390
|
popper: w(() => {
|
4394
4391
|
var c;
|
4395
4392
|
return [
|
4396
|
-
n("div",
|
4393
|
+
n("div", Mi, $((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
4397
4394
|
];
|
4398
4395
|
}),
|
4399
4396
|
default: w(() => [
|
@@ -4431,8 +4428,8 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4431
4428
|
}),
|
4432
4429
|
x(je, { name: "slide-from-right" }, {
|
4433
4430
|
default: w(() => [
|
4434
|
-
r.value ? (t(), s("div",
|
4435
|
-
n("div",
|
4431
|
+
r.value ? (t(), s("div", Pi, [
|
4432
|
+
n("div", Li, [
|
4436
4433
|
l[4] || (l[4] = n("span", { class: "font-medium" }, "Details", -1)),
|
4437
4434
|
x(i(G), {
|
4438
4435
|
size: "small",
|
@@ -4444,7 +4441,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4444
4441
|
onClick: l[2] || (l[2] = (o) => r.value = !1)
|
4445
4442
|
})
|
4446
4443
|
]),
|
4447
|
-
n("div",
|
4444
|
+
n("div", Ei, [
|
4448
4445
|
(t(!0), s(L, null, R(e.boxes, (o, d) => (t(), p(lt, { key: d }, {
|
4449
4446
|
default: w(() => [
|
4450
4447
|
(t(!0), s(L, null, R(o.items, (c, u) => (t(), p(i(qe), F({
|
@@ -4482,7 +4479,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4482
4479
|
})
|
4483
4480
|
]));
|
4484
4481
|
}
|
4485
|
-
}),
|
4482
|
+
}), Ni = { class: "hidden md:flex md:gap-5 gap-3 md:flex-row flex-col" }, Ri = { class: "py-2 px-3" }, Fi = {
|
4486
4483
|
__name: "OcDynamicType",
|
4487
4484
|
props: {
|
4488
4485
|
boxes: { type: Array, default: () => [] },
|
@@ -4495,7 +4492,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4495
4492
|
emits: ["addCustomer", "editCustomer"],
|
4496
4493
|
setup(e) {
|
4497
4494
|
return (r, a) => (t(), s(L, null, [
|
4498
|
-
n("div",
|
4495
|
+
n("div", Ni, [
|
4499
4496
|
(t(!0), s(L, null, R(e.boxes, (l, o) => (t(), p(lt, {
|
4500
4497
|
key: o,
|
4501
4498
|
class: f(
|
@@ -4532,7 +4529,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4532
4529
|
x(i(le), { "popper-options": { strategy: "fixed" } }, {
|
4533
4530
|
popper: w(() => [
|
4534
4531
|
S(r.$slots, l.infoTooltipSlot, {}, () => [
|
4535
|
-
n("div",
|
4532
|
+
n("div", Ri, $(l.infoTooltip), 1)
|
4536
4533
|
])
|
4537
4534
|
]),
|
4538
4535
|
default: w(() => [
|
@@ -4575,7 +4572,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4575
4572
|
} : void 0
|
4576
4573
|
]), 1032, ["variant", "customer", "is-hover", "is-edit"])) : m("", !0)
|
4577
4574
|
]),
|
4578
|
-
x(
|
4575
|
+
x(zi, {
|
4579
4576
|
class: "flex md:hidden",
|
4580
4577
|
boxes: e.boxes,
|
4581
4578
|
"is-customer": e.isCustomer,
|
@@ -4592,7 +4589,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4592
4589
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
4593
4590
|
], 64));
|
4594
4591
|
}
|
4595
|
-
},
|
4592
|
+
}, Ui = { class: "md:pt-5 pt-0 md:px-10 px-5" }, qi = { class: "flex items-center gap-x-3" }, Hi = { class: "font-medium" }, Yi = { class: "flex items-center gap-x-2 max-w-full" }, Wi = ["href"], Ki = { class: "truncate" }, Gi = { class: "text-oc-text whitespace-nowrap" }, fm = {
|
4596
4593
|
__name: "OcAdditionalContent",
|
4597
4594
|
props: {
|
4598
4595
|
mainLink: { type: String, default: "" },
|
@@ -4641,7 +4638,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4641
4638
|
console.error("Unable to copy text to clipboard. Error: ", l);
|
4642
4639
|
}
|
4643
4640
|
};
|
4644
|
-
return (l, o) => (t(), s("div",
|
4641
|
+
return (l, o) => (t(), s("div", Ui, [
|
4645
4642
|
e.variant === "default" ? (t(), p(Bt, {
|
4646
4643
|
key: 0,
|
4647
4644
|
description: e.mainLink,
|
@@ -4649,8 +4646,8 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4649
4646
|
class: f(["border rounded md:py-4 py-3 md:px-5 px-4 border-oc-gray-200 bg-oc-gray-50 flex flex-col gap-y-2", e.additionalStyling])
|
4650
4647
|
}, {
|
4651
4648
|
title: w(() => [
|
4652
|
-
n("div",
|
4653
|
-
n("span",
|
4649
|
+
n("div", qi, [
|
4650
|
+
n("span", Hi, $(e.additionalTitle), 1),
|
4654
4651
|
e.chipVariant ? (t(), p(i(ae), {
|
4655
4652
|
key: 0,
|
4656
4653
|
variant: e.chipVariant,
|
@@ -4659,23 +4656,23 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4659
4656
|
])
|
4660
4657
|
]),
|
4661
4658
|
description: w(() => [
|
4662
|
-
n("div",
|
4659
|
+
n("div", Yi, [
|
4663
4660
|
n("a", {
|
4664
4661
|
href: e.href || `${e.mainLink}${e.userId}`,
|
4665
4662
|
target: "_blank",
|
4666
4663
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
4667
4664
|
}, [
|
4668
|
-
n("div",
|
4669
|
-
n("div",
|
4670
|
-
], 8,
|
4671
|
-
x(i(
|
4665
|
+
n("div", Ki, $(e.mainLink), 1),
|
4666
|
+
n("div", Gi, $(e.userId), 1)
|
4667
|
+
], 8, Wi),
|
4668
|
+
x(i(Ao), {
|
4672
4669
|
"primary-actions": e.primaryActions,
|
4673
4670
|
onCopy: a
|
4674
4671
|
}, null, 8, ["primary-actions"])
|
4675
4672
|
])
|
4676
4673
|
]),
|
4677
4674
|
_: 1
|
4678
|
-
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(
|
4675
|
+
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(Fi, {
|
4679
4676
|
key: 1,
|
4680
4677
|
boxes: e.boxes,
|
4681
4678
|
"customer-card-variant": e.customerCardVariant,
|
@@ -4693,7 +4690,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4693
4690
|
S(l.$slots, c, ue(Ie(u)))
|
4694
4691
|
])
|
4695
4692
|
}))
|
4696
|
-
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(
|
4693
|
+
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(Bi, {
|
4697
4694
|
key: 2,
|
4698
4695
|
"overview-items": e.overviewItems,
|
4699
4696
|
"overview-tabs": e.overviewTabs,
|
@@ -4717,13 +4714,13 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4717
4714
|
]), 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"])) : m("", !0)
|
4718
4715
|
]));
|
4719
4716
|
}
|
4720
|
-
},
|
4717
|
+
}, Xi = { class: "send-money-initial-state relative border rounded" }, Ji = { class: "z-10 p-7 flex flex-col relative" }, Zi = { class: "text-xl font-medium mb-4" }, Qi = {
|
4721
4718
|
key: 0,
|
4722
4719
|
class: "text-oc-text-400 mb-10"
|
4723
|
-
},
|
4720
|
+
}, _i = {
|
4724
4721
|
key: 1,
|
4725
4722
|
class: "flex gap-4 flex-wrap"
|
4726
|
-
},
|
4723
|
+
}, es = { class: "text-sm font-medium" }, ts = {
|
4727
4724
|
__name: "OcFeatureOverviewCard",
|
4728
4725
|
props: {
|
4729
4726
|
title: {
|
@@ -4743,11 +4740,11 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4743
4740
|
setup(e) {
|
4744
4741
|
return (r, a) => {
|
4745
4742
|
var l;
|
4746
|
-
return t(), s("div",
|
4747
|
-
n("div",
|
4748
|
-
n("h2",
|
4749
|
-
e.description ? (t(), s("p",
|
4750
|
-
(l = e.features) != null && l.length ? (t(), s("div",
|
4743
|
+
return t(), s("div", Xi, [
|
4744
|
+
n("div", Ji, [
|
4745
|
+
n("h2", Zi, $(e.title), 1),
|
4746
|
+
e.description ? (t(), s("p", Qi, $(e.description), 1)) : m("", !0),
|
4747
|
+
(l = e.features) != null && l.length ? (t(), s("div", _i, [
|
4751
4748
|
(t(!0), s(L, null, R(e.features, (o) => (t(), s("div", {
|
4752
4749
|
key: o.title,
|
4753
4750
|
class: "rounded bg-white flex flex-col gap-2 p-6 items-center justify-center relative"
|
@@ -4763,14 +4760,14 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4763
4760
|
height: "56",
|
4764
4761
|
width: "56"
|
4765
4762
|
}, null, 8, ["name"]),
|
4766
|
-
n("span",
|
4763
|
+
n("span", es, $(o.title), 1)
|
4767
4764
|
]))), 128))
|
4768
4765
|
])) : m("", !0)
|
4769
4766
|
])
|
4770
4767
|
]);
|
4771
4768
|
};
|
4772
4769
|
}
|
4773
|
-
},
|
4770
|
+
}, vm = /* @__PURE__ */ he(ts, [["__scopeId", "data-v-d658d1d3"]]), ls = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, as = { class: "text-sm" }, gm = /* @__PURE__ */ Z({
|
4774
4771
|
__name: "OcSandboxBanner",
|
4775
4772
|
props: {
|
4776
4773
|
title: {
|
@@ -4783,15 +4780,15 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4783
4780
|
}
|
4784
4781
|
},
|
4785
4782
|
setup(e) {
|
4786
|
-
return (r, a) => (t(), s("div",
|
4787
|
-
n("span",
|
4783
|
+
return (r, a) => (t(), s("div", ls, [
|
4784
|
+
n("span", as, $(e.title), 1),
|
4788
4785
|
e.chipProps ? (t(), p(i(ae), F({
|
4789
4786
|
key: 0,
|
4790
4787
|
class: "absolute left-[40px]"
|
4791
4788
|
}, e.chipProps), null, 16)) : m("", !0)
|
4792
4789
|
]));
|
4793
4790
|
}
|
4794
|
-
}),
|
4791
|
+
}), ns = { class: "flex flex-col text-center gap-y-3" }, os = { class: "text-lg font-medium" }, is = { class: "text-sm text-oc-text-400" }, pm = /* @__PURE__ */ Z({
|
4795
4792
|
__name: "OcBox",
|
4796
4793
|
props: {
|
4797
4794
|
icon: String,
|
@@ -4812,13 +4809,13 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4812
4809
|
height: e.height,
|
4813
4810
|
variant: e.variant
|
4814
4811
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
4815
|
-
n("div",
|
4816
|
-
n("span",
|
4817
|
-
n("span",
|
4812
|
+
n("div", ns, [
|
4813
|
+
n("span", os, $(e.title), 1),
|
4814
|
+
n("span", is, $(e.description), 1)
|
4818
4815
|
])
|
4819
4816
|
], 2));
|
4820
4817
|
}
|
4821
|
-
}),
|
4818
|
+
}), ym = /* @__PURE__ */ Z({
|
4822
4819
|
__name: "OcAuthenticationOption",
|
4823
4820
|
props: {
|
4824
4821
|
icon: String,
|
@@ -4844,7 +4841,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4844
4841
|
e.chipProps ? (t(), p(i(ae), F({ key: 1 }, e.chipProps, { class: "absolute top-0 -translate-y-1/2 sm:right-9" }), null, 16)) : m("", !0)
|
4845
4842
|
], 2));
|
4846
4843
|
}
|
4847
|
-
}),
|
4844
|
+
}), ss = { class: "flex items-center" }, rs = { class: "flex flex-1 items-center gap-x-3" }, ds = { class: "font-medium text-lg" }, xm = /* @__PURE__ */ Z({
|
4848
4845
|
__name: "OcVerificationOption",
|
4849
4846
|
props: {
|
4850
4847
|
title: {
|
@@ -4868,10 +4865,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4868
4865
|
return (r, a) => (t(), s("div", {
|
4869
4866
|
class: f(["rounded hover:bg-oc-gray-50 p-5 flex flex-col gap-y-3", e.isActive ? "border-2 border-oc-primary" : "border border-oc-gray-200"])
|
4870
4867
|
}, [
|
4871
|
-
n("div",
|
4872
|
-
n("div",
|
4868
|
+
n("div", ss, [
|
4869
|
+
n("div", rs, [
|
4873
4870
|
S(r.$slots, "title", {}, () => [
|
4874
|
-
n("span",
|
4871
|
+
n("span", ds, $(e.title), 1)
|
4875
4872
|
]),
|
4876
4873
|
e.chipOptions ? (t(), p(i(ae), ue(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
4877
4874
|
]),
|
@@ -4886,13 +4883,13 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
4886
4883
|
S(r.$slots, "content")
|
4887
4884
|
], 2));
|
4888
4885
|
}
|
4889
|
-
}),
|
4886
|
+
}), cs = {
|
4890
4887
|
key: 0,
|
4891
4888
|
class: "flex flex-col gap-y-4 w-full"
|
4892
|
-
},
|
4889
|
+
}, us = { class: "flex flex-col gap-y-3" }, ms = { class: "font-medium text-oc-text" }, fs = { class: "text-oc-text-400" }, vs = { class: "flex gap-x-3" }, gs = {
|
4893
4890
|
key: 0,
|
4894
4891
|
class: "text-oc-text"
|
4895
|
-
},
|
4892
|
+
}, ps = ["innerHTML"], hm = {
|
4896
4893
|
__name: "OcSnackbar",
|
4897
4894
|
props: {
|
4898
4895
|
modelValue: {
|
@@ -5021,12 +5018,12 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5021
5018
|
}, null, 8, ["name", "width", "height"]))
|
5022
5019
|
], 64)) : m("", !0),
|
5023
5020
|
S(b.$slots, "default", {}, () => [
|
5024
|
-
v.value ? (t(), s("div",
|
5025
|
-
n("div",
|
5026
|
-
n("span",
|
5027
|
-
n("span",
|
5021
|
+
v.value ? (t(), s("div", cs, [
|
5022
|
+
n("div", us, [
|
5023
|
+
n("span", ms, $(e.title), 1),
|
5024
|
+
n("span", fs, $(e.description), 1)
|
5028
5025
|
]),
|
5029
|
-
n("div",
|
5026
|
+
n("div", vs, [
|
5030
5027
|
e.secondaryButton ? (t(), p(i(G), F({
|
5031
5028
|
key: 0,
|
5032
5029
|
variant: "secondary",
|
@@ -5045,7 +5042,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5045
5042
|
key: 1,
|
5046
5043
|
class: "text-oc-text",
|
5047
5044
|
innerHTML: e.content
|
5048
|
-
}, null, 8,
|
5045
|
+
}, null, 8, ps)) : (t(), s("span", gs, $(e.content), 1))
|
5049
5046
|
], 2))
|
5050
5047
|
]),
|
5051
5048
|
e.dismissible ? (t(), s("div", {
|
@@ -5066,7 +5063,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5066
5063
|
_: 3
|
5067
5064
|
}, 8, ["name"]));
|
5068
5065
|
}
|
5069
|
-
},
|
5066
|
+
}, ys = { class: "flex items-center gap-3" }, xs = { class: "text-oc-text-500" }, hs = { class: "p-4 text-sm" }, bs = {
|
5070
5067
|
__name: "OcBanner",
|
5071
5068
|
props: {
|
5072
5069
|
modelValue: {
|
@@ -5125,7 +5122,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5125
5122
|
n("div", {
|
5126
5123
|
class: f(["flex flex-1 items-center justify-between gap-3 min-h-[34px] px-4 text-sm", i(r)[e.color]])
|
5127
5124
|
}, [
|
5128
|
-
n("div",
|
5125
|
+
n("div", ys, [
|
5129
5126
|
e.showIcon ? (t(), p(i(T), {
|
5130
5127
|
key: 0,
|
5131
5128
|
name: e.icon,
|
@@ -5134,7 +5131,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5134
5131
|
height: "16"
|
5135
5132
|
}, null, 8, ["name"])) : m("", !0),
|
5136
5133
|
S(l.$slots, "title", {}, () => [
|
5137
|
-
n("div",
|
5134
|
+
n("div", xs, $(e.title), 1)
|
5138
5135
|
], !0)
|
5139
5136
|
]),
|
5140
5137
|
e.dismissible ? (t(), p(i(G), {
|
@@ -5145,7 +5142,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5145
5142
|
onClick: o[0] || (o[0] = (d) => l.$emit("update:modelValue", !1))
|
5146
5143
|
})) : m("", !0)
|
5147
5144
|
], 2),
|
5148
|
-
n("div",
|
5145
|
+
n("div", hs, [
|
5149
5146
|
S(l.$slots, "default", {}, () => [
|
5150
5147
|
W($(e.content), 1)
|
5151
5148
|
], !0)
|
@@ -5157,10 +5154,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5157
5154
|
_: 3
|
5158
5155
|
}, 8, ["name"]));
|
5159
5156
|
}
|
5160
|
-
},
|
5157
|
+
}, bm = /* @__PURE__ */ he(bs, [["__scopeId", "data-v-d8517c87"]]), ws = { class: "rounded-full share-icon w-fit cursor-pointer text-oc-text-400 p-3 border border-gray-200" }, $s = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, ks = {
|
5161
5158
|
key: 1,
|
5162
5159
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
5163
|
-
},
|
5160
|
+
}, Ss = { class: "text-sm" }, wm = {
|
5164
5161
|
__name: "OcShareIcon",
|
5165
5162
|
props: {
|
5166
5163
|
text: String,
|
@@ -5173,10 +5170,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5173
5170
|
setup(e) {
|
5174
5171
|
return (r, a) => e.isOnlyIcon ? (t(), p(i(le), ue(F({ key: 0 }, e.tooltipOptions)), {
|
5175
5172
|
popper: w(() => [
|
5176
|
-
n("div",
|
5173
|
+
n("div", $s, $(e.text), 1)
|
5177
5174
|
]),
|
5178
5175
|
default: w(() => [
|
5179
|
-
n("div",
|
5176
|
+
n("div", ws, [
|
5180
5177
|
x(i(T), {
|
5181
5178
|
name: e.icon,
|
5182
5179
|
width: "20",
|
@@ -5185,25 +5182,25 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5185
5182
|
])
|
5186
5183
|
]),
|
5187
5184
|
_: 1
|
5188
|
-
}, 16)) : (t(), s("div",
|
5185
|
+
}, 16)) : (t(), s("div", ks, [
|
5189
5186
|
x(i(T), {
|
5190
5187
|
name: e.icon,
|
5191
5188
|
width: "20",
|
5192
5189
|
height: "20"
|
5193
5190
|
}, null, 8, ["name"]),
|
5194
|
-
n("span",
|
5191
|
+
n("span", Ss, $(e.text), 1)
|
5195
5192
|
]));
|
5196
5193
|
}
|
5197
|
-
},
|
5194
|
+
}, Cs = { class: "flex flex-col gap-y-2 w-full" }, Vs = { class: "flex gap-x-1 items-center" }, Os = {
|
5198
5195
|
key: 0,
|
5199
5196
|
class: "text-oc-error"
|
5200
|
-
},
|
5197
|
+
}, Bs = {
|
5201
5198
|
key: 0,
|
5202
5199
|
class: "px-3 py-2"
|
5203
|
-
},
|
5200
|
+
}, Is = {
|
5204
5201
|
key: 1,
|
5205
5202
|
class: "text-sm flex items-center text-oc-text-400"
|
5206
|
-
},
|
5203
|
+
}, Ts = {
|
5207
5204
|
key: 2,
|
5208
5205
|
class: "text-sm text-oc-error flex items-center"
|
5209
5206
|
}, ge = {
|
@@ -5219,19 +5216,19 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5219
5216
|
labelClass: String
|
5220
5217
|
},
|
5221
5218
|
setup(e) {
|
5222
|
-
return (r, a) => (t(), s("div",
|
5219
|
+
return (r, a) => (t(), s("div", Cs, [
|
5223
5220
|
e.label ? (t(), s("label", {
|
5224
5221
|
key: 0,
|
5225
5222
|
class: f(["text-sm flex items-center gap-x-3 font-medium text-oc-text-400", e.labelClass])
|
5226
5223
|
}, [
|
5227
|
-
n("span",
|
5224
|
+
n("span", Vs, [
|
5228
5225
|
W($(e.label) + " ", 1),
|
5229
|
-
e.isRequired ? (t(), s("span",
|
5226
|
+
e.isRequired ? (t(), s("span", Os, "*")) : m("", !0)
|
5230
5227
|
]),
|
5231
5228
|
e.labelIcon ? (t(), p(i(le), ue(F({ key: 0 }, e.tooltipOptions)), {
|
5232
5229
|
popper: w(() => [
|
5233
5230
|
S(r.$slots, "tooltipText", {}, () => [
|
5234
|
-
e.tooltipText ? (t(), s("div",
|
5231
|
+
e.tooltipText ? (t(), s("div", Bs, $(e.tooltipText), 1)) : m("", !0)
|
5235
5232
|
])
|
5236
5233
|
]),
|
5237
5234
|
default: w(() => [
|
@@ -5245,18 +5242,18 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5245
5242
|
}, 16)) : m("", !0)
|
5246
5243
|
], 2)) : m("", !0),
|
5247
5244
|
S(r.$slots, "default"),
|
5248
|
-
(e.hint || r.$slots.hint) && !e.errorMessage ? (t(), s("div",
|
5245
|
+
(e.hint || r.$slots.hint) && !e.errorMessage ? (t(), s("div", Is, [
|
5249
5246
|
S(r.$slots, "hint", {}, () => [
|
5250
5247
|
W($(e.hint), 1)
|
5251
5248
|
])
|
5252
5249
|
])) : m("", !0),
|
5253
|
-
e.errorMessage ? (t(), s("div",
|
5250
|
+
e.errorMessage ? (t(), s("div", Ts, $(e.errorMessage), 1)) : m("", !0)
|
5254
5251
|
]));
|
5255
5252
|
}
|
5256
|
-
},
|
5253
|
+
}, Ds = ["disabled"], As = {
|
5257
5254
|
key: 2,
|
5258
5255
|
class: "overflow-hidden text-ellipsis"
|
5259
|
-
},
|
5256
|
+
}, js = {
|
5260
5257
|
__name: "OcButton",
|
5261
5258
|
props: {
|
5262
5259
|
label: String,
|
@@ -5337,7 +5334,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5337
5334
|
height: h.value[e.size],
|
5338
5335
|
name: e.leftIcon
|
5339
5336
|
}, null, 8, ["width", "class", "height", "name"])) : m("", !0),
|
5340
|
-
e.label ? (t(), s("span",
|
5337
|
+
e.label ? (t(), s("span", As, $(e.label), 1)) : S(O.$slots, "default", { key: 3 }, void 0, !0),
|
5341
5338
|
e.rightIcon ? (t(), p(i(T), {
|
5342
5339
|
key: 4,
|
5343
5340
|
width: h.value[e.size],
|
@@ -5345,7 +5342,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5345
5342
|
name: e.rightIcon,
|
5346
5343
|
class: f(e.iconClass)
|
5347
5344
|
}, null, 8, ["width", "height", "name", "class"])) : m("", !0)
|
5348
|
-
], 42,
|
5345
|
+
], 42, Ds),
|
5349
5346
|
e.isAdditionalArea && !e.isTransparent ? (t(), s("div", {
|
5350
5347
|
key: 0,
|
5351
5348
|
class: f(["border-y border-r flex cursor-pointer items-center justify-center oc-btn-add-area px-[6px] py-3 rounded-r-[inherit]", [o.value[e.size], e.variant]]),
|
@@ -5360,7 +5357,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5360
5357
|
], 2)) : m("", !0)
|
5361
5358
|
], 2));
|
5362
5359
|
}
|
5363
|
-
}, G = /* @__PURE__ */ he(
|
5360
|
+
}, G = /* @__PURE__ */ he(js, [["__scopeId", "data-v-af49bb32"]]), Ms = { class: "w-[30px] h-[20px] flex items-center justify-center" }, Ps = {
|
5364
5361
|
__name: "OcCardInput",
|
5365
5362
|
props: {
|
5366
5363
|
placeholder: String,
|
@@ -5407,7 +5404,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5407
5404
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => r.$emit("update:modelValue", l))
|
5408
5405
|
}, {
|
5409
5406
|
icon: w(() => [
|
5410
|
-
n("div",
|
5407
|
+
n("div", Ms, [
|
5411
5408
|
x(i(T), {
|
5412
5409
|
name: `payment-methods/${e.cardType}`,
|
5413
5410
|
width: "20",
|
@@ -5418,7 +5415,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5418
5415
|
_: 1
|
5419
5416
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5420
5417
|
}
|
5421
|
-
},
|
5418
|
+
}, Ls = ["value", "checked", "disabled"], De = {
|
5422
5419
|
__name: "OcCheckbox",
|
5423
5420
|
props: {
|
5424
5421
|
modelValue: Boolean,
|
@@ -5477,14 +5474,14 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5477
5474
|
class: "h-0 w-0 hidden",
|
5478
5475
|
disabled: e.isDisabled,
|
5479
5476
|
onChange: d
|
5480
|
-
}, null, 40,
|
5477
|
+
}, null, 40, Ls),
|
5481
5478
|
S(c.$slots, "after")
|
5482
5479
|
], 2)
|
5483
5480
|
]),
|
5484
5481
|
_: 3
|
5485
5482
|
}, 8, ["label", "hint", "error-message"]));
|
5486
5483
|
}
|
5487
|
-
},
|
5484
|
+
}, Es = {
|
5488
5485
|
__name: "OcCheckboxesGroup",
|
5489
5486
|
props: {
|
5490
5487
|
alignment: {
|
@@ -5563,14 +5560,14 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5563
5560
|
_: 1
|
5564
5561
|
}, 8, ["label", "error-message", "hint"]));
|
5565
5562
|
}
|
5566
|
-
},
|
5563
|
+
}, zs = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, $m = {
|
5567
5564
|
__name: "OcCriteria",
|
5568
5565
|
props: {
|
5569
5566
|
modelValue: Boolean,
|
5570
5567
|
label: String
|
5571
5568
|
},
|
5572
5569
|
setup(e) {
|
5573
|
-
return (r, a) => (t(), s("div",
|
5570
|
+
return (r, a) => (t(), s("div", zs, [
|
5574
5571
|
n("div", {
|
5575
5572
|
class: f([
|
5576
5573
|
"w-5 h-5 flex items-center justify-center rounded-full border transition-all duration-300",
|
@@ -5589,16 +5586,16 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5589
5586
|
}, $(e.label), 3)) : m("", !0)
|
5590
5587
|
]));
|
5591
5588
|
}
|
5592
|
-
},
|
5589
|
+
}, Ns = {
|
5593
5590
|
key: 0,
|
5594
5591
|
class: "border-r border-gray-200 pr-3 py-3"
|
5595
|
-
},
|
5592
|
+
}, Rs = { class: "flex flex-1 items-baseline gap-x-2" }, Fs = {
|
5596
5593
|
key: 0,
|
5597
5594
|
class: "text-oc-text-300"
|
5598
|
-
},
|
5595
|
+
}, Us = { class: "flex items-center gap-x-1 w-full" }, qs = {
|
5599
5596
|
key: 0,
|
5600
5597
|
class: "text-oc-text-300"
|
5601
|
-
},
|
5598
|
+
}, Hs = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], xe = {
|
5602
5599
|
__name: "OcInput",
|
5603
5600
|
props: {
|
5604
5601
|
disabled: {
|
@@ -5697,7 +5694,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5697
5694
|
},
|
5698
5695
|
emits: ["update:modelValue", "blur", "focus", "paste"],
|
5699
5696
|
setup(e, { expose: r }) {
|
5700
|
-
const a = e, l =
|
5697
|
+
const a = e, l = Ft(), o = M(), d = M(!1);
|
5701
5698
|
r({
|
5702
5699
|
focus: () => o.value.focus()
|
5703
5700
|
});
|
@@ -5730,7 +5727,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5730
5727
|
return (D = y.$refs.inputRef) == null ? void 0 : D.focus();
|
5731
5728
|
})
|
5732
5729
|
}, [
|
5733
|
-
y.$slots.trailing ? (t(), s("div",
|
5730
|
+
y.$slots.trailing ? (t(), s("div", Ns, [
|
5734
5731
|
S(y.$slots, "trailing")
|
5735
5732
|
])) : m("", !0),
|
5736
5733
|
S(y.$slots, "icon", {}, () => [
|
@@ -5740,10 +5737,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5740
5737
|
name: e.icon
|
5741
5738
|
}, e.iconProps), null, 16, ["name"])) : m("", !0)
|
5742
5739
|
]),
|
5743
|
-
n("div",
|
5744
|
-
e.isInlineLabel && e.label ? (t(), s("label",
|
5745
|
-
n("div",
|
5746
|
-
e.preFill ? (t(), s("span",
|
5740
|
+
n("div", Rs, [
|
5741
|
+
e.isInlineLabel && e.label ? (t(), s("label", Fs, $(e.label) + ": ", 1)) : m("", !0),
|
5742
|
+
n("div", Us, [
|
5743
|
+
e.preFill ? (t(), s("span", qs, $(e.preFill), 1)) : m("", !0),
|
5747
5744
|
n("input", F({
|
5748
5745
|
ref_key: "inputRef",
|
5749
5746
|
ref: o,
|
@@ -5764,7 +5761,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5764
5761
|
}),
|
5765
5762
|
onInput: h[2] || (h[2] = (O) => y.$emit("update:modelValue", O.target.value)),
|
5766
5763
|
onPaste: h[3] || (h[3] = (O) => y.$emit("paste"))
|
5767
|
-
}), null, 16,
|
5764
|
+
}), null, 16, Hs)
|
5768
5765
|
])
|
5769
5766
|
]),
|
5770
5767
|
y.$slots.leading || b.value ? (t(), s("div", {
|
@@ -5800,10 +5797,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5800
5797
|
} : void 0
|
5801
5798
|
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5802
5799
|
}
|
5803
|
-
},
|
5800
|
+
}, Ys = { class: "flex flex-1 items-baseline gap-x-2" }, Ws = {
|
5804
5801
|
key: 0,
|
5805
5802
|
class: "text-oc-text-300"
|
5806
|
-
},
|
5803
|
+
}, Ks = { class: "w-full flex flex-wrap gap-2" }, Gs = { key: 1 }, Xs = ["value", "readonly", "placeholder", "disabled"], km = {
|
5807
5804
|
__name: "OcInputOption",
|
5808
5805
|
props: {
|
5809
5806
|
label: String,
|
@@ -5880,8 +5877,8 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5880
5877
|
default: w(() => {
|
5881
5878
|
var j, k;
|
5882
5879
|
return [
|
5883
|
-
n("div",
|
5884
|
-
e.isInlineLabel && e.label ? (t(), s("label",
|
5880
|
+
n("div", Ys, [
|
5881
|
+
e.isInlineLabel && e.label ? (t(), s("label", Ws, $(e.label) + ": ", 1)) : m("", !0),
|
5885
5882
|
n("div", {
|
5886
5883
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
5887
5884
|
onClick: C[4] || (C[4] = (B) => c.value.focus())
|
@@ -5892,7 +5889,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5892
5889
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
5893
5890
|
}])
|
5894
5891
|
}, [
|
5895
|
-
n("div",
|
5892
|
+
n("div", Ks, [
|
5896
5893
|
S(D.$slots, "default", {
|
5897
5894
|
options: y.value,
|
5898
5895
|
areAllOptionsVisible: v.value
|
@@ -5914,7 +5911,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5914
5911
|
name: "minus",
|
5915
5912
|
width: "12",
|
5916
5913
|
height: "12"
|
5917
|
-
})) : (t(), s("span",
|
5914
|
+
})) : (t(), s("span", Gs, $(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
5918
5915
|
]),
|
5919
5916
|
_: 1
|
5920
5917
|
})) : m("", !0)
|
@@ -5933,7 +5930,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5933
5930
|
console.log("$event: ", B), b.value = !1, D.$emit("blur", B);
|
5934
5931
|
}),
|
5935
5932
|
onKeyup: C[3] || (C[3] = Ue((B) => O(B.target.value), ["enter"]))
|
5936
|
-
}, null, 42,
|
5933
|
+
}, null, 42, Xs)
|
5937
5934
|
])
|
5938
5935
|
], 2)
|
5939
5936
|
])
|
@@ -5943,7 +5940,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
5943
5940
|
_: 3
|
5944
5941
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5945
5942
|
}
|
5946
|
-
},
|
5943
|
+
}, Js = { class: "flex gap-x-2 items-center" }, Zs = { class: "text-oc-text-400 font-medium text-sm" }, Qs = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, _s = ["onClick"], er = { class: "text-oc-text-300" }, tr = { class: "text-oc-text-400" }, lr = {
|
5947
5944
|
__name: "OcPhoneInput",
|
5948
5945
|
props: {
|
5949
5946
|
countryCodes: { type: Array, default: () => [] },
|
@@ -6011,7 +6008,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6011
6008
|
try {
|
6012
6009
|
if (g.search(/[^0-9]/g) < 0)
|
6013
6010
|
if (g = g.slice(0, 19), g.length > 5 && a.shouldParseCountryCode) {
|
6014
|
-
const { nationalNumber: I, countryCallingCode: V, country: N } =
|
6011
|
+
const { nationalNumber: I, countryCallingCode: V, country: N } = Kt(
|
6015
6012
|
"+" + g.replace("+", "")
|
6016
6013
|
);
|
6017
6014
|
V && N ? O(N, V, I) : l("update:modelValue", [y(d.value), I]);
|
@@ -6037,7 +6034,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6037
6034
|
"tooltip-text": e.tooltipText,
|
6038
6035
|
"tooltip-options": e.tooltipOptions,
|
6039
6036
|
onPaste: k,
|
6040
|
-
onKeydown: i(
|
6037
|
+
onKeydown: i(Wt),
|
6041
6038
|
"onUpdate:modelValue": h
|
6042
6039
|
}, {
|
6043
6040
|
trailing: w(() => [
|
@@ -6056,7 +6053,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6056
6053
|
ref: D,
|
6057
6054
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
6058
6055
|
}, [
|
6059
|
-
n("div",
|
6056
|
+
n("div", Qs, [
|
6060
6057
|
x(i(xe), {
|
6061
6058
|
modelValue: u.value,
|
6062
6059
|
"onUpdate:modelValue": g[0] || (g[0] = (V) => u.value = V),
|
@@ -6090,17 +6087,17 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6090
6087
|
n("div", {
|
6091
6088
|
class: f(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${V.iso.toLowerCase()}`])
|
6092
6089
|
}, null, 2),
|
6093
|
-
n("span",
|
6094
|
-
n("span",
|
6095
|
-
], 10,
|
6090
|
+
n("span", er, "+" + $(V.code), 1),
|
6091
|
+
n("span", tr, $(V.country), 1)
|
6092
|
+
], 10, _s))), 128))
|
6096
6093
|
], 512)
|
6097
6094
|
]),
|
6098
6095
|
default: w(() => [
|
6099
|
-
n("div",
|
6096
|
+
n("div", Js, [
|
6100
6097
|
n("div", {
|
6101
6098
|
class: f(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
6102
6099
|
}, null, 2),
|
6103
|
-
n("span",
|
6100
|
+
n("span", Zs, " +" + $(y(d.value)), 1),
|
6104
6101
|
x(i(T), {
|
6105
6102
|
width: "16",
|
6106
6103
|
height: "16",
|
@@ -6116,10 +6113,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6116
6113
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
6117
6114
|
};
|
6118
6115
|
}
|
6119
|
-
},
|
6116
|
+
}, ar = ["id", "value", "checked", "name", "disabled"], nr = ["for"], or = {
|
6120
6117
|
key: 0,
|
6121
6118
|
class: "px-3 py-2 whitespace-nowrap"
|
6122
|
-
},
|
6119
|
+
}, ir = {
|
6123
6120
|
__name: "OcRadio",
|
6124
6121
|
props: {
|
6125
6122
|
modelValue: [String, Boolean],
|
@@ -6157,7 +6154,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6157
6154
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
6158
6155
|
type: "radio",
|
6159
6156
|
onInput: a[0] || (a[0] = (l) => r.$emit("update:modelValue", l.target.value))
|
6160
|
-
}, null, 40,
|
6157
|
+
}, null, 40, ar),
|
6161
6158
|
n("label", {
|
6162
6159
|
for: e.groupName + e.id,
|
6163
6160
|
class: f(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
@@ -6189,7 +6186,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6189
6186
|
e.labelIcon ? (t(), p(i(le), ue(F({ key: 2 }, e.tooltipOptions)), {
|
6190
6187
|
popper: w(() => [
|
6191
6188
|
S(r.$slots, "tooltipText", {}, () => [
|
6192
|
-
e.tooltipText ? (t(), s("div",
|
6189
|
+
e.tooltipText ? (t(), s("div", or, $(e.tooltipText), 1)) : m("", !0)
|
6193
6190
|
])
|
6194
6191
|
]),
|
6195
6192
|
default: w(() => [
|
@@ -6202,12 +6199,12 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6202
6199
|
]),
|
6203
6200
|
_: 3
|
6204
6201
|
}, 16)) : m("", !0)
|
6205
|
-
], 10,
|
6202
|
+
], 10, nr)
|
6206
6203
|
]),
|
6207
6204
|
_: 3
|
6208
6205
|
}, 8, ["class", "error-message", "hint"]));
|
6209
6206
|
}
|
6210
|
-
},
|
6207
|
+
}, sr = {
|
6211
6208
|
__name: "OcRadioGroup",
|
6212
6209
|
props: {
|
6213
6210
|
alignment: {
|
@@ -6244,7 +6241,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6244
6241
|
n("div", {
|
6245
6242
|
class: f(["flex", [l.value[e.alignment], e.wrapperClass]])
|
6246
6243
|
}, [
|
6247
|
-
(t(!0), s(L, null, R(e.radio, (u, v) => (t(), p(i(
|
6244
|
+
(t(!0), s(L, null, R(e.radio, (u, v) => (t(), p(i(ir), {
|
6248
6245
|
id: u.value,
|
6249
6246
|
key: v,
|
6250
6247
|
class: f({ "!w-fit": !e.isBlock }),
|
@@ -6267,10 +6264,10 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6267
6264
|
_: 1
|
6268
6265
|
}, 8, ["label", "error-message", "hint"]));
|
6269
6266
|
}
|
6270
|
-
},
|
6267
|
+
}, rr = { class: "flex flex-col gap-y-2 oc-range-input" }, dr = { class: "flex gap-x-3" }, cr = {
|
6271
6268
|
key: 0,
|
6272
6269
|
class: "flex pt-4"
|
6273
|
-
},
|
6270
|
+
}, ur = {
|
6274
6271
|
__name: "OcRangeInput",
|
6275
6272
|
props: {
|
6276
6273
|
maxLimit: {
|
@@ -6314,14 +6311,14 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6314
6311
|
};
|
6315
6312
|
return Ce(() => {
|
6316
6313
|
a.onlyInput || c.value.updateSlider();
|
6317
|
-
}), (h, O) => (t(), s("div",
|
6314
|
+
}), (h, O) => (t(), s("div", rr, [
|
6318
6315
|
x(i(ge), {
|
6319
6316
|
label: e.label,
|
6320
6317
|
hint: e.hint,
|
6321
6318
|
"error-message": e.errorMessage
|
6322
6319
|
}, {
|
6323
6320
|
default: w(() => [
|
6324
|
-
n("div",
|
6321
|
+
n("div", dr, [
|
6325
6322
|
x(i(xe), {
|
6326
6323
|
"model-value": o.value,
|
6327
6324
|
label: "From",
|
@@ -6337,7 +6334,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6337
6334
|
"onUpdate:modelValue": O[1] || (O[1] = (D) => u(D, 1))
|
6338
6335
|
}, null, 8, ["model-value"])
|
6339
6336
|
]),
|
6340
|
-
e.onlyInput ? m("", !0) : (t(), s("div",
|
6337
|
+
e.onlyInput ? m("", !0) : (t(), s("div", cr, [
|
6341
6338
|
x(i(kt), {
|
6342
6339
|
ref_key: "slider",
|
6343
6340
|
ref: c,
|
@@ -6354,28 +6351,28 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6354
6351
|
}, 8, ["label", "hint", "error-message"])
|
6355
6352
|
]));
|
6356
6353
|
}
|
6357
|
-
},
|
6354
|
+
}, mr = {
|
6358
6355
|
key: 0,
|
6359
6356
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
6360
|
-
},
|
6357
|
+
}, fr = {
|
6361
6358
|
key: 0,
|
6362
6359
|
class: "text-oc-text-300 md:text-base text-lg"
|
6363
|
-
},
|
6360
|
+
}, vr = {
|
6364
6361
|
key: 2,
|
6365
6362
|
class: "whitespace-nowrap flex gap-x-3 text-lg md:text-base items-center overflow-hidden"
|
6366
|
-
},
|
6363
|
+
}, gr = {
|
6367
6364
|
key: 1,
|
6368
6365
|
class: "text-oc-text-300"
|
6369
|
-
},
|
6366
|
+
}, pr = {
|
6370
6367
|
key: 2,
|
6371
6368
|
class: "truncate"
|
6372
|
-
},
|
6369
|
+
}, yr = {
|
6373
6370
|
key: 3,
|
6374
6371
|
class: "text-oc-text-300"
|
6375
|
-
},
|
6372
|
+
}, xr = {
|
6376
6373
|
key: 0,
|
6377
6374
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
6378
|
-
},
|
6375
|
+
}, hr = { key: 0 }, br = {
|
6379
6376
|
__name: "OcSelect",
|
6380
6377
|
props: {
|
6381
6378
|
label: String,
|
@@ -6563,7 +6560,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6563
6560
|
"tooltip-options": e.tooltipOptions
|
6564
6561
|
}, te({
|
6565
6562
|
tooltipText: w(() => [
|
6566
|
-
P.$slots.selectTooltipText ? (t(), s("div",
|
6563
|
+
P.$slots.selectTooltipText ? (t(), s("div", hr, [
|
6567
6564
|
S(P.$slots, "selectTooltipText")
|
6568
6565
|
])) : m("", !0)
|
6569
6566
|
]),
|
@@ -6595,7 +6592,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6595
6592
|
ref: y,
|
6596
6593
|
class: "flex flex-col gap-y-2"
|
6597
6594
|
}, [
|
6598
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), s("div",
|
6595
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), s("div", xr, [
|
6599
6596
|
x(i(xe), {
|
6600
6597
|
ref_key: "searchInputRef",
|
6601
6598
|
ref: u,
|
@@ -6682,7 +6679,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6682
6679
|
"border-none !min-h-[18px] !px-0": e.isSlim
|
6683
6680
|
}])
|
6684
6681
|
}, [
|
6685
|
-
e.multiple ? (t(), s("div",
|
6682
|
+
e.multiple ? (t(), s("div", mr, [
|
6686
6683
|
S(P.$slots, "selection", {}, () => [
|
6687
6684
|
(t(!0), s(L, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), p(i(ae), F({
|
6688
6685
|
key: U.value,
|
@@ -6699,7 +6696,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6699
6696
|
label: `+${C.value.length - e.maxVisibleOptions}`
|
6700
6697
|
}, null, 8, ["label"])) : m("", !0)
|
6701
6698
|
]),
|
6702
|
-
C.value.length === 0 ? (t(), s("span",
|
6699
|
+
C.value.length === 0 ? (t(), s("span", fr, $(e.placeholder), 1)) : m("", !0)
|
6703
6700
|
])) : m("", !0),
|
6704
6701
|
e.isInlineSearch && e.isFilterable && !C.value ? (t(), p(i(xe), {
|
6705
6702
|
key: 1,
|
@@ -6723,15 +6720,15 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6723
6720
|
]),
|
6724
6721
|
key: "0"
|
6725
6722
|
} : void 0
|
6726
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), s("span",
|
6723
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), s("span", vr, [
|
6727
6724
|
e.icon ? (t(), p(i(T), {
|
6728
6725
|
key: 0,
|
6729
6726
|
name: e.icon,
|
6730
6727
|
width: "16",
|
6731
6728
|
height: "16"
|
6732
6729
|
}, null, 8, ["name"])) : m("", !0),
|
6733
|
-
e.isInlineLabel && e.label ? (t(), s("span",
|
6734
|
-
C.value ? (t(), s("span",
|
6730
|
+
e.isInlineLabel && e.label ? (t(), s("span", gr, $(e.label) + ": ", 1)) : m("", !0),
|
6731
|
+
C.value ? (t(), s("span", pr, $(C.value.label), 1)) : (t(), s("span", yr, $(e.placeholder), 1))
|
6735
6732
|
])),
|
6736
6733
|
e.modelValue && e.isClearable ? (t(), p(i(T), {
|
6737
6734
|
key: 3,
|
@@ -6762,7 +6759,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6762
6759
|
} : void 0
|
6763
6760
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6764
6761
|
}
|
6765
|
-
},
|
6762
|
+
}, wr = { class: "w-full flex items-center gap-x-3" }, $r = { class: "truncate" }, kr = {
|
6766
6763
|
key: 0,
|
6767
6764
|
class: "text-sm text-oc-text-300"
|
6768
6765
|
}, gt = {
|
@@ -6800,14 +6797,14 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6800
6797
|
"is-partial": e.isPartial,
|
6801
6798
|
class: "!w-fit pointer-events-none"
|
6802
6799
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
6803
|
-
n("div",
|
6800
|
+
n("div", wr, [
|
6804
6801
|
S(l.$slots, "trailing"),
|
6805
6802
|
n("div", {
|
6806
6803
|
class: f(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
6807
6804
|
}, [
|
6808
|
-
n("span",
|
6805
|
+
n("span", $r, $(e.label), 1),
|
6809
6806
|
S(l.$slots, "sub-label", {}, () => [
|
6810
|
-
e.subLabel ? (t(), s("span",
|
6807
|
+
e.subLabel ? (t(), s("span", kr, $(e.subLabel), 1)) : m("", !0)
|
6811
6808
|
])
|
6812
6809
|
], 2),
|
6813
6810
|
S(l.$slots, "leading")
|
@@ -6827,21 +6824,21 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6827
6824
|
S(l.$slots, "after")
|
6828
6825
|
], 512));
|
6829
6826
|
}
|
6830
|
-
},
|
6827
|
+
}, Sr = { class: "flex flex-col" }, Cr = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, Sm = {
|
6831
6828
|
__name: "OcGroupOptions",
|
6832
6829
|
props: {
|
6833
6830
|
label: String
|
6834
6831
|
},
|
6835
6832
|
setup(e) {
|
6836
|
-
return (r, a) => (t(), s("div",
|
6837
|
-
n("div",
|
6833
|
+
return (r, a) => (t(), s("div", Sr, [
|
6834
|
+
n("div", Cr, $(e.label), 1),
|
6838
6835
|
S(r.$slots, "default")
|
6839
6836
|
]));
|
6840
6837
|
}
|
6841
|
-
},
|
6838
|
+
}, Vr = { class: "flex text-oc-text-400 items-center gap-x-2" }, Or = {
|
6842
6839
|
key: 0,
|
6843
6840
|
class: "flex flex-col p-2 py-3 gap-2"
|
6844
|
-
},
|
6841
|
+
}, Br = ["onClick"], Ir = {
|
6845
6842
|
__name: "OcLinkInput",
|
6846
6843
|
props: {
|
6847
6844
|
placeholder: String,
|
@@ -6926,7 +6923,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6926
6923
|
distance: 10
|
6927
6924
|
}, {
|
6928
6925
|
menu: w(() => [
|
6929
|
-
e.isEdit ? m("", !0) : (t(), s("div",
|
6926
|
+
e.isEdit ? m("", !0) : (t(), s("div", Or, [
|
6930
6927
|
(t(!0), s(L, null, R(e.links, (g) => (t(), s("div", {
|
6931
6928
|
key: g.value,
|
6932
6929
|
class: "flex rounded-sm items-center px-3 py-2 gap-x-3 cursor-pointer text-oc-text-400 hover:bg-gray-50",
|
@@ -6938,11 +6935,11 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6938
6935
|
name: g.icon
|
6939
6936
|
}, null, 8, ["name"]),
|
6940
6937
|
W(" " + $(g.label), 1)
|
6941
|
-
], 8,
|
6938
|
+
], 8, Br))), 128))
|
6942
6939
|
]))
|
6943
6940
|
]),
|
6944
6941
|
default: w(() => [
|
6945
|
-
n("div",
|
6942
|
+
n("div", Vr, [
|
6946
6943
|
u.value.icon ? (t(), p(i(T), {
|
6947
6944
|
key: 0,
|
6948
6945
|
width: "20",
|
@@ -6964,7 +6961,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6964
6961
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
6965
6962
|
]));
|
6966
6963
|
}
|
6967
|
-
},
|
6964
|
+
}, Tr = ["disabled", "value", "rows", "placeholder"], Dr = "18px", Ar = {
|
6968
6965
|
__name: "OcTextArea",
|
6969
6966
|
props: {
|
6970
6967
|
placeholder: String,
|
@@ -6998,7 +6995,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6998
6995
|
setup(e, { emit: r }) {
|
6999
6996
|
const a = r, l = M(!1), o = (d) => {
|
7000
6997
|
const c = d.target;
|
7001
|
-
c && (c.style.height =
|
6998
|
+
c && (c.style.height = Dr, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
7002
6999
|
};
|
7003
7000
|
return (d, c) => (t(), p(i(ge), {
|
7004
7001
|
label: e.label,
|
@@ -7022,7 +7019,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
7022
7019
|
onInput: o,
|
7023
7020
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
7024
7021
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
7025
|
-
}, null, 42,
|
7022
|
+
}, null, 42, Tr)
|
7026
7023
|
]),
|
7027
7024
|
_: 1
|
7028
7025
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
@@ -7045,8 +7042,8 @@ var It = { exports: {} };
|
|
7045
7042
|
};
|
7046
7043
|
});
|
7047
7044
|
})(It);
|
7048
|
-
var
|
7049
|
-
const Tt = /* @__PURE__ */ Ke(
|
7045
|
+
var jr = It.exports;
|
7046
|
+
const Tt = /* @__PURE__ */ Ke(jr);
|
7050
7047
|
var Dt = { exports: {} };
|
7051
7048
|
(function(e, r) {
|
7052
7049
|
(function(a, l) {
|
@@ -7059,8 +7056,8 @@ var Dt = { exports: {} };
|
|
7059
7056
|
};
|
7060
7057
|
});
|
7061
7058
|
})(Dt);
|
7062
|
-
var
|
7063
|
-
const At = /* @__PURE__ */ Ke(
|
7059
|
+
var Mr = Dt.exports;
|
7060
|
+
const At = /* @__PURE__ */ Ke(Mr);
|
7064
7061
|
var jt = { exports: {} };
|
7065
7062
|
(function(e, r) {
|
7066
7063
|
(function(a, l) {
|
@@ -7073,8 +7070,8 @@ var jt = { exports: {} };
|
|
7073
7070
|
};
|
7074
7071
|
});
|
7075
7072
|
})(jt);
|
7076
|
-
var
|
7077
|
-
const Mt = /* @__PURE__ */ Ke(
|
7073
|
+
var Pr = jt.exports;
|
7074
|
+
const Mt = /* @__PURE__ */ Ke(Pr);
|
7078
7075
|
var Pt = { exports: {} };
|
7079
7076
|
(function(e, r) {
|
7080
7077
|
(function(a, l) {
|
@@ -7196,53 +7193,53 @@ var Pt = { exports: {} };
|
|
7196
7193
|
};
|
7197
7194
|
});
|
7198
7195
|
})(Pt);
|
7199
|
-
var
|
7200
|
-
const nt = /* @__PURE__ */ Ke(
|
7201
|
-
var
|
7202
|
-
function
|
7203
|
-
var r =
|
7196
|
+
var Lr = Pt.exports;
|
7197
|
+
const nt = /* @__PURE__ */ Ke(Lr);
|
7198
|
+
var Er = typeof global == "object" && global && global.Object === Object && global, zr = typeof self == "object" && self && self.Object === Object && self, Lt = Er || zr || Function("return this")(), He = Lt.Symbol, Et = Object.prototype, Nr = Et.hasOwnProperty, Rr = Et.toString, Le = He ? He.toStringTag : void 0;
|
7199
|
+
function Fr(e) {
|
7200
|
+
var r = Nr.call(e, Le), a = e[Le];
|
7204
7201
|
try {
|
7205
7202
|
e[Le] = void 0;
|
7206
7203
|
var l = !0;
|
7207
7204
|
} catch {
|
7208
7205
|
}
|
7209
|
-
var o =
|
7206
|
+
var o = Rr.call(e);
|
7210
7207
|
return l && (r ? e[Le] = a : delete e[Le]), o;
|
7211
7208
|
}
|
7212
|
-
var
|
7213
|
-
function
|
7214
|
-
return
|
7209
|
+
var Ur = Object.prototype, qr = Ur.toString;
|
7210
|
+
function Hr(e) {
|
7211
|
+
return qr.call(e);
|
7215
7212
|
}
|
7216
|
-
var
|
7217
|
-
function
|
7218
|
-
return e == null ? e === void 0 ?
|
7213
|
+
var Yr = "[object Null]", Wr = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
7214
|
+
function Kr(e) {
|
7215
|
+
return e == null ? e === void 0 ? Wr : Yr : pt && pt in Object(e) ? Fr(e) : Hr(e);
|
7219
7216
|
}
|
7220
|
-
function
|
7217
|
+
function Gr(e) {
|
7221
7218
|
return e != null && typeof e == "object";
|
7222
7219
|
}
|
7223
|
-
var
|
7224
|
-
function
|
7225
|
-
return typeof e == "symbol" ||
|
7220
|
+
var Xr = "[object Symbol]";
|
7221
|
+
function Jr(e) {
|
7222
|
+
return typeof e == "symbol" || Gr(e) && Kr(e) == Xr;
|
7226
7223
|
}
|
7227
|
-
var
|
7228
|
-
function
|
7229
|
-
for (var r = e.length; r-- &&
|
7224
|
+
var Zr = /\s/;
|
7225
|
+
function Qr(e) {
|
7226
|
+
for (var r = e.length; r-- && Zr.test(e.charAt(r)); )
|
7230
7227
|
;
|
7231
7228
|
return r;
|
7232
7229
|
}
|
7233
|
-
var
|
7234
|
-
function
|
7235
|
-
return e && e.slice(0,
|
7230
|
+
var _r = /^\s+/;
|
7231
|
+
function ed(e) {
|
7232
|
+
return e && e.slice(0, Qr(e) + 1).replace(_r, "");
|
7236
7233
|
}
|
7237
7234
|
function at(e) {
|
7238
7235
|
var r = typeof e;
|
7239
7236
|
return e != null && (r == "object" || r == "function");
|
7240
7237
|
}
|
7241
|
-
var yt = NaN,
|
7238
|
+
var yt = NaN, td = /^[-+]0x[0-9a-f]+$/i, ld = /^0b[01]+$/i, ad = /^0o[0-7]+$/i, nd = parseInt;
|
7242
7239
|
function xt(e) {
|
7243
7240
|
if (typeof e == "number")
|
7244
7241
|
return e;
|
7245
|
-
if (
|
7242
|
+
if (Jr(e))
|
7246
7243
|
return yt;
|
7247
7244
|
if (at(e)) {
|
7248
7245
|
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
@@ -7250,18 +7247,18 @@ function xt(e) {
|
|
7250
7247
|
}
|
7251
7248
|
if (typeof e != "string")
|
7252
7249
|
return e === 0 ? e : +e;
|
7253
|
-
e =
|
7254
|
-
var a =
|
7255
|
-
return a ||
|
7250
|
+
e = ed(e);
|
7251
|
+
var a = ld.test(e);
|
7252
|
+
return a || ad.test(e) ? nd(e.slice(2), a ? 2 : 8) : td.test(e) ? yt : +e;
|
7256
7253
|
}
|
7257
7254
|
var tt = function() {
|
7258
7255
|
return Lt.Date.now();
|
7259
|
-
},
|
7260
|
-
function
|
7256
|
+
}, od = "Expected a function", id = Math.max, sd = Math.min;
|
7257
|
+
function rd(e, r, a) {
|
7261
7258
|
var l, o, d, c, u, v, b = 0, y = !1, h = !1, O = !0;
|
7262
7259
|
if (typeof e != "function")
|
7263
|
-
throw new TypeError(
|
7264
|
-
r = xt(r) || 0, at(a) && (y = !!a.leading, h = "maxWait" in a, d = h ?
|
7260
|
+
throw new TypeError(od);
|
7261
|
+
r = xt(r) || 0, at(a) && (y = !!a.leading, h = "maxWait" in a, d = h ? id(xt(a.maxWait) || 0, r) : d, O = "trailing" in a ? !!a.trailing : O);
|
7265
7262
|
function D(E) {
|
7266
7263
|
var P = l, A = o;
|
7267
7264
|
return l = o = void 0, b = E, c = e.apply(A, P), c;
|
@@ -7271,7 +7268,7 @@ function dd(e, r, a) {
|
|
7271
7268
|
}
|
7272
7269
|
function j(E) {
|
7273
7270
|
var P = E - v, A = E - b, U = r - P;
|
7274
|
-
return h ?
|
7271
|
+
return h ? sd(U, d - A) : U;
|
7275
7272
|
}
|
7276
7273
|
function k(E) {
|
7277
7274
|
var P = E - v, A = E - b;
|
@@ -7304,13 +7301,13 @@ function dd(e, r, a) {
|
|
7304
7301
|
}
|
7305
7302
|
return N.cancel = I, N.flush = V, N;
|
7306
7303
|
}
|
7307
|
-
const
|
7304
|
+
const dd = { class: "flex items-center justify-between" }, cd = { class: "flex flex-col gap-2 p-3" }, ud = { class: "flex justify-between items-center" }, md = { key: 0 }, fd = { key: 1 }, vd = {
|
7308
7305
|
key: 0,
|
7309
7306
|
class: "grid grid-cols-3 gap-3"
|
7310
|
-
},
|
7307
|
+
}, gd = ["onClick"], pd = {
|
7311
7308
|
key: 1,
|
7312
7309
|
class: "grid grid-cols-3 gap-3"
|
7313
|
-
},
|
7310
|
+
}, yd = ["onClick"], xd = ["onClick", "onMouseover"], hd = { key: 0 }, bd = { class: "flex gap-x-3 justify-end" }, wd = {
|
7314
7311
|
__name: "OcCalendar",
|
7315
7312
|
props: {
|
7316
7313
|
type: {
|
@@ -7417,7 +7414,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7417
7414
|
return;
|
7418
7415
|
}
|
7419
7416
|
c.value = Y, v.value = q, J && $e();
|
7420
|
-
}, ke =
|
7417
|
+
}, ke = rd((q) => {
|
7421
7418
|
O.value && Ve(q, !1);
|
7422
7419
|
}, 50), Q = () => {
|
7423
7420
|
var J, Y, ce;
|
@@ -7432,7 +7429,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7432
7429
|
return Q(), (q, J) => (t(), s("div", {
|
7433
7430
|
class: f(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
7434
7431
|
}, [
|
7435
|
-
n("div",
|
7432
|
+
n("div", dd, [
|
7436
7433
|
x(i(ne), {
|
7437
7434
|
modelValue: C.value,
|
7438
7435
|
"onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
|
@@ -7443,8 +7440,8 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7443
7440
|
"popper-options": { strategy: "fixed" }
|
7444
7441
|
}, {
|
7445
7442
|
menu: w(() => [
|
7446
|
-
n("div",
|
7447
|
-
n("div",
|
7443
|
+
n("div", cd, [
|
7444
|
+
n("div", ud, [
|
7448
7445
|
x(i(G), {
|
7449
7446
|
"left-icon": "chevron-left",
|
7450
7447
|
"is-transparent": "",
|
@@ -7454,7 +7451,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7454
7451
|
class: "cursor-pointer hover:opacity-50 transition",
|
7455
7452
|
onClick: J[0] || (J[0] = (Y) => D.value = !D.value)
|
7456
7453
|
}, [
|
7457
|
-
D.value ? (t(), s("div",
|
7454
|
+
D.value ? (t(), s("div", md, $(I.value - 11) + " - " + $(I.value), 1)) : (t(), s("div", fd, $(I.value), 1))
|
7458
7455
|
]),
|
7459
7456
|
x(i(G), {
|
7460
7457
|
"left-icon": "chevron-right",
|
@@ -7462,22 +7459,22 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7462
7459
|
onClick: se
|
7463
7460
|
})
|
7464
7461
|
]),
|
7465
|
-
D.value ? (t(), s("div",
|
7462
|
+
D.value ? (t(), s("div", vd, [
|
7466
7463
|
(t(!0), s(L, null, R(Oe(I.value - 11), (Y) => (t(), s("div", {
|
7467
7464
|
key: Y,
|
7468
7465
|
class: f(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7469
7466
|
"!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
|
7470
7467
|
}]),
|
7471
7468
|
onClick: (ce) => _(Y)
|
7472
|
-
}, $(Y), 11,
|
7473
|
-
])) : (t(), s("div",
|
7469
|
+
}, $(Y), 11, gd))), 128))
|
7470
|
+
])) : (t(), s("div", pd, [
|
7474
7471
|
(t(), s(L, null, R(B, (Y, ce) => n("div", {
|
7475
7472
|
key: Y,
|
7476
7473
|
class: f(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7477
7474
|
"!border-oc-primary bg-oc-primary text-white": V.value === Y
|
7478
7475
|
}]),
|
7479
7476
|
onClick: (Pe) => ee(ce)
|
7480
|
-
}, $(Y), 11,
|
7477
|
+
}, $(Y), 11, yd)), 64))
|
7481
7478
|
]))
|
7482
7479
|
])
|
7483
7480
|
]),
|
@@ -7526,11 +7523,11 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7526
7523
|
]]),
|
7527
7524
|
onClick: (Pe) => Ve(Y),
|
7528
7525
|
onMouseover: (Pe) => i(ke)(Y)
|
7529
|
-
}, $(Y), 43,
|
7526
|
+
}, $(Y), 43, xd);
|
7530
7527
|
}), 128))
|
7531
7528
|
], 32),
|
7532
7529
|
S(q.$slots, "bottom", {}, () => [
|
7533
|
-
e.isIndefinite ? (t(), s("span",
|
7530
|
+
e.isIndefinite ? (t(), s("span", hd, [
|
7534
7531
|
x(i(De), {
|
7535
7532
|
modelValue: h.value,
|
7536
7533
|
"onUpdate:modelValue": [
|
@@ -7541,7 +7538,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7541
7538
|
}, null, 8, ["modelValue", "label"])
|
7542
7539
|
])) : m("", !0)
|
7543
7540
|
]),
|
7544
|
-
n("div",
|
7541
|
+
n("div", bd, [
|
7545
7542
|
x(i(G), {
|
7546
7543
|
label: "Reset",
|
7547
7544
|
class: "w-[72px]",
|
@@ -7556,13 +7553,13 @@ K.extend(Tt);
|
|
7556
7553
|
K.extend(At);
|
7557
7554
|
K.extend(Mt);
|
7558
7555
|
K.extend(nt);
|
7559
|
-
const
|
7556
|
+
const $d = { class: "flex flex-col gap-y-2 w-full" }, kd = { class: "flex w-full" }, Sd = {
|
7560
7557
|
key: 0,
|
7561
7558
|
class: "text-sm text-oc-error flex items-center"
|
7562
|
-
},
|
7559
|
+
}, Cd = {
|
7563
7560
|
key: 1,
|
7564
7561
|
class: "flex flex-wrap cursor-pointer"
|
7565
|
-
},
|
7562
|
+
}, Vd = { class: "flex items-center gap-x-3" }, Od = ["value"], Bd = { class: "flex items-center gap-x-3" }, Id = ["value"], Td = {
|
7566
7563
|
__name: "DatePicker",
|
7567
7564
|
props: {
|
7568
7565
|
modelValue: {
|
@@ -7697,7 +7694,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7697
7694
|
}, () => {
|
7698
7695
|
var I, V;
|
7699
7696
|
return [
|
7700
|
-
v.value ? (t(), p(i(
|
7697
|
+
v.value ? (t(), p(i(hu), {
|
7701
7698
|
key: 0,
|
7702
7699
|
"model-value": {
|
7703
7700
|
start: (I = e.modelValue) == null ? void 0 : I[0],
|
@@ -7711,7 +7708,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7711
7708
|
"max-date": e.maxDate,
|
7712
7709
|
masks: { modelValue: e.dateFormat },
|
7713
7710
|
"onUpdate:modelValue": y
|
7714
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(i(
|
7711
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(i(wd), {
|
7715
7712
|
key: 1,
|
7716
7713
|
"model-value": b.value ? b.value.toDate() : /* @__PURE__ */ new Date(),
|
7717
7714
|
"disabled-date": d.value ? O : e.disabledDate,
|
@@ -7728,9 +7725,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7728
7725
|
})
|
7729
7726
|
]),
|
7730
7727
|
default: w(() => [
|
7731
|
-
n("div",
|
7728
|
+
n("div", $d, [
|
7732
7729
|
!e.isSplitInput || !v.value ? (t(), s(L, { key: 0 }, [
|
7733
|
-
n("div",
|
7730
|
+
n("div", kd, [
|
7734
7731
|
x(i(xe), {
|
7735
7732
|
"model-value": v.value ? e.modelValue && e.modelValue[0] ? `${b.value[0].format(e.dateFormat)} - ${b.value[1].format(e.dateFormat)}` : "" : e.modelValue === "Indefinite" ? "Indefinite" : e.modelValue ? b.value.format(e.dateFormat) : "",
|
7736
7733
|
icon: "calendar",
|
@@ -7741,8 +7738,8 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7741
7738
|
placeholder: e.placeholder
|
7742
7739
|
}, null, 8, ["model-value", "label", "hint", "is-required", "disabled", "placeholder"])
|
7743
7740
|
]),
|
7744
|
-
e.errorMessage ? (t(), s("div",
|
7745
|
-
], 64)) : (t(), s("div",
|
7741
|
+
e.errorMessage ? (t(), s("div", Sd, $(e.errorMessage), 1)) : m("", !0)
|
7742
|
+
], 64)) : (t(), s("div", Cd, [
|
7746
7743
|
x(i(ge), {
|
7747
7744
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
7748
7745
|
hint: e.hint,
|
@@ -7760,7 +7757,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7760
7757
|
]]),
|
7761
7758
|
onClick: B[2] || (B[2] = (g) => o.value ? g.stopPropagation : null)
|
7762
7759
|
}, [
|
7763
|
-
n("div",
|
7760
|
+
n("div", Vd, [
|
7764
7761
|
x(i(T), {
|
7765
7762
|
name: "calendar",
|
7766
7763
|
class: "text-oc-text-400"
|
@@ -7772,10 +7769,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7772
7769
|
onInput: B[0] || (B[0] = (g) => C(g.target.value, 0)),
|
7773
7770
|
onKeydown: Ue(j, ["enter"]),
|
7774
7771
|
onBlur: j
|
7775
|
-
}, null, 40,
|
7772
|
+
}, null, 40, Od)
|
7776
7773
|
]),
|
7777
7774
|
B[4] || (B[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
7778
|
-
n("div",
|
7775
|
+
n("div", Bd, [
|
7779
7776
|
n("input", {
|
7780
7777
|
placeholder: "End date",
|
7781
7778
|
value: b.value[1] ? b.value[1].format(e.dateFormat) : "",
|
@@ -7783,7 +7780,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7783
7780
|
onInput: B[1] || (B[1] = (g) => C(g.target.value, 1)),
|
7784
7781
|
onKeydown: Ue(j, ["enter"]),
|
7785
7782
|
onBlur: j
|
7786
|
-
}, null, 40,
|
7783
|
+
}, null, 40, Id),
|
7787
7784
|
x(i(T), {
|
7788
7785
|
class: f([b.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
7789
7786
|
width: "16",
|
@@ -7802,10 +7799,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7802
7799
|
_: 3
|
7803
7800
|
}, 8, ["modelValue", "is-disabled"]));
|
7804
7801
|
}
|
7805
|
-
},
|
7802
|
+
}, Dd = { class: "flex" }, Ad = { class: "flex flex-col gap-y-1 flex-1" }, jd = { class: "font-medium gap-x-3 flex items-center" }, Md = { class: "px-2 py-1 text-sm text-oc-text-400" }, Pd = {
|
7806
7803
|
key: 1,
|
7807
7804
|
class: "text-sm text-oc-error flex items-center"
|
7808
|
-
},
|
7805
|
+
}, Ld = {
|
7809
7806
|
__name: "OcSectionItem",
|
7810
7807
|
props: {
|
7811
7808
|
title: String,
|
@@ -7831,16 +7828,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7831
7828
|
emits: ["update:modelValue"],
|
7832
7829
|
setup(e, { emit: r }) {
|
7833
7830
|
const a = e, l = r;
|
7834
|
-
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), s("div",
|
7835
|
-
n("div",
|
7836
|
-
n("div",
|
7831
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), s("div", Dd, [
|
7832
|
+
n("div", Ad, [
|
7833
|
+
n("div", jd, [
|
7837
7834
|
W($(e.title) + " ", 1),
|
7838
7835
|
x(i(le), {
|
7839
7836
|
position: "top",
|
7840
7837
|
distance: 4
|
7841
7838
|
}, {
|
7842
7839
|
popper: w(() => [
|
7843
|
-
n("div",
|
7840
|
+
n("div", Md, $(e.popperMessage), 1)
|
7844
7841
|
]),
|
7845
7842
|
default: w(() => [
|
7846
7843
|
e.icon ? (t(), p(i(T), {
|
@@ -7858,7 +7855,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7858
7855
|
key: 0,
|
7859
7856
|
class: f(["text-oc-text-400 text-sm", e.descriptionClass])
|
7860
7857
|
}, $(e.description), 3)) : m("", !0),
|
7861
|
-
e.errorMessage ? (t(), s("div",
|
7858
|
+
e.errorMessage ? (t(), s("div", Pd, $(e.errorMessage), 1)) : m("", !0)
|
7862
7859
|
]),
|
7863
7860
|
S(o.$slots, "actions", {}, () => [
|
7864
7861
|
e.isToggle ? (t(), p(i(St), F({
|
@@ -7870,13 +7867,13 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7870
7867
|
])
|
7871
7868
|
]));
|
7872
7869
|
}
|
7873
|
-
},
|
7870
|
+
}, Ed = {
|
7874
7871
|
key: 0,
|
7875
7872
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
7876
|
-
},
|
7873
|
+
}, zd = ["onClick"], Nd = ["src"], Rd = {
|
7877
7874
|
key: 0,
|
7878
7875
|
class: "flex text-sm text-oc-text-400 mt-2"
|
7879
|
-
},
|
7876
|
+
}, Fd = {
|
7880
7877
|
__name: "OcSelectOptions",
|
7881
7878
|
props: {
|
7882
7879
|
variant: {
|
@@ -7941,7 +7938,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7941
7938
|
}
|
7942
7939
|
]])
|
7943
7940
|
}, [
|
7944
|
-
e.optionType === "icon" ? (t(), s("div",
|
7941
|
+
e.optionType === "icon" ? (t(), s("div", Ed, [
|
7945
7942
|
(t(!0), s(L, null, R(e.options, (v) => (t(), s("div", {
|
7946
7943
|
key: v.value,
|
7947
7944
|
class: f(["p-1", {
|
@@ -7975,7 +7972,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7975
7972
|
"w-[50px]": !d.value
|
7976
7973
|
}]),
|
7977
7974
|
src: v.preview
|
7978
|
-
}, null, 10,
|
7975
|
+
}, null, 10, Nd)) : m("", !0),
|
7979
7976
|
n("div", {
|
7980
7977
|
class: f(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
7981
7978
|
}, [
|
@@ -7986,7 +7983,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7986
7983
|
"text-oc-text-500": d.value && v.value.toString() === e.modelValue.toString()
|
7987
7984
|
}])
|
7988
7985
|
}, $(v.label), 3),
|
7989
|
-
v.description ? (t(), s("div",
|
7986
|
+
v.description ? (t(), s("div", Rd, $(v.description), 1)) : m("", !0)
|
7990
7987
|
], 2),
|
7991
7988
|
e.borderless ? (t(), p(i(T), {
|
7992
7989
|
key: 1,
|
@@ -7996,16 +7993,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7996
7993
|
class: f(["text-oc-primary", v.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
7997
7994
|
}, null, 8, ["class"])) : m("", !0)
|
7998
7995
|
])
|
7999
|
-
], 10,
|
7996
|
+
], 10, zd))), 128))
|
8000
7997
|
], 2)
|
8001
7998
|
]),
|
8002
7999
|
_: 3
|
8003
8000
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
8004
8001
|
}
|
8005
|
-
},
|
8002
|
+
}, Ud = { class: "flex gap-x-3" }, qd = {
|
8006
8003
|
key: 0,
|
8007
8004
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8008
|
-
},
|
8005
|
+
}, Hd = ["accept"], Yd = { class: "py-2 flex flex-col" }, Wd = ["src"], Kd = /* @__PURE__ */ Z({
|
8009
8006
|
__name: "OcSingleOnlyImageUpload",
|
8010
8007
|
props: {
|
8011
8008
|
accept: {
|
@@ -8030,12 +8027,12 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8030
8027
|
};
|
8031
8028
|
return (b, y) => {
|
8032
8029
|
var h, O;
|
8033
|
-
return t(), s("div",
|
8030
|
+
return t(), s("div", Ud, [
|
8034
8031
|
(h = e.uploadedImage) != null && h.fileUrl ? m("", !0) : (t(), s("label", {
|
8035
8032
|
key: 0,
|
8036
8033
|
class: f([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
8037
8034
|
}, [
|
8038
|
-
e.showUploadImageArea ? (t(), s("div",
|
8035
|
+
e.showUploadImageArea ? (t(), s("div", qd, [
|
8039
8036
|
n("div", {
|
8040
8037
|
class: f(["w-full text-oc-text-300 text-sm h-full flex flex-col justify-center items-center transition-all border border-transparent border-dashed group-hover:border-oc-primary rounded-sm cursor-pointer", { "!border-oc-primary": u.value }])
|
8041
8038
|
}, [
|
@@ -8059,7 +8056,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8059
8056
|
onDragover: y[1] || (y[1] = (D) => u.value = !0),
|
8060
8057
|
onDragleave: y[2] || (y[2] = (D) => u.value = !1),
|
8061
8058
|
onDrop: y[3] || (y[3] = (D) => u.value = !1)
|
8062
|
-
}, null, 40,
|
8059
|
+
}, null, 40, Hd)
|
8063
8060
|
], 2)),
|
8064
8061
|
(O = e.uploadedImage) != null && O.fileUrl ? (t(), s("div", {
|
8065
8062
|
key: 1,
|
@@ -8072,7 +8069,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8072
8069
|
class: "absolute top-2 right-2 z-[1010]"
|
8073
8070
|
}, {
|
8074
8071
|
menu: w(() => [
|
8075
|
-
n("div",
|
8072
|
+
n("div", Yd, [
|
8076
8073
|
n("div", {
|
8077
8074
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8078
8075
|
onClick: y[4] || (y[4] = () => {
|
@@ -8113,9 +8110,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8113
8110
|
src: e.uploadedImage.fileUrl,
|
8114
8111
|
alt: "uploaded-image",
|
8115
8112
|
class: "object-contain h-full w-full"
|
8116
|
-
}, null, 8,
|
8113
|
+
}, null, 8, Wd)
|
8117
8114
|
], 2)) : m("", !0),
|
8118
|
-
(t(), p(
|
8115
|
+
(t(), p(Ut, { to: "body" }, [
|
8119
8116
|
d.value ? (t(), p(i(ot), {
|
8120
8117
|
key: 0,
|
8121
8118
|
modelValue: d.value,
|
@@ -8130,13 +8127,13 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8130
8127
|
]);
|
8131
8128
|
};
|
8132
8129
|
}
|
8133
|
-
}),
|
8130
|
+
}), Gd = ["accept"], Xd = {
|
8134
8131
|
key: 0,
|
8135
8132
|
class: "py-2 flex flex-col items-center gap-y-4"
|
8136
|
-
},
|
8133
|
+
}, Jd = { class: "flex items-baseline gap-x-3 w-full" }, Zd = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, Qd = ["accept"], _d = {
|
8137
8134
|
key: 0,
|
8138
8135
|
class: "relative group w-fit rounded overflow-hidden"
|
8139
|
-
},
|
8136
|
+
}, ec = ["src"], tc = ["src"], lc = { class: "py-2 flex flex-col" }, ac = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400" }, nc = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, oc = { class: "uppercase text-[8px] font-bold leading-none block" }, ic = { class: "flex" }, sc = { class: "text-sm text-oc-primary" }, rc = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, Cm = {
|
8140
8137
|
__name: "OcSingleFileUpload",
|
8141
8138
|
props: {
|
8142
8139
|
format: {
|
@@ -8251,7 +8248,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8251
8248
|
default: w(() => {
|
8252
8249
|
var U, H, X, ee, _, oe, se, me, be, we, fe, $e, ie, Ve, ke;
|
8253
8250
|
return [
|
8254
|
-
e.isImageOnly ? (t(), p(
|
8251
|
+
e.isImageOnly ? (t(), p(Kd, {
|
8255
8252
|
key: 0,
|
8256
8253
|
accept: e.accept,
|
8257
8254
|
"uploaded-image": k.value,
|
@@ -8274,7 +8271,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8274
8271
|
type: "file",
|
8275
8272
|
accept: e.accept,
|
8276
8273
|
onChange: A[3] || (A[3] = (Q) => i(D)(Q, a.format === "object"))
|
8277
|
-
}, null, 40,
|
8274
|
+
}, null, 40, Gd)
|
8278
8275
|
], 64)) : (t(), s(L, { key: 2 }, [
|
8279
8276
|
i(O).length ? (t(), s("div", {
|
8280
8277
|
key: 1,
|
@@ -8283,16 +8280,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8283
8280
|
"!bg-oc-bg-dark": e.isDisabled
|
8284
8281
|
}])
|
8285
8282
|
}, [
|
8286
|
-
e.isPreview && ((ee = k.value) == null ? void 0 : ee.progress) === 100 ? (t(), s("div",
|
8283
|
+
e.isPreview && ((ee = k.value) == null ? void 0 : ee.progress) === 100 ? (t(), s("div", _d, [
|
8287
8284
|
(oe = (_ = k.value) == null ? void 0 : _.file) != null && oe.type.includes("video") ? (t(), s("video", {
|
8288
8285
|
key: 0,
|
8289
8286
|
autoplay: "",
|
8290
8287
|
loop: "",
|
8291
8288
|
src: j.value
|
8292
|
-
}, null, 8,
|
8289
|
+
}, null, 8, ec)) : (t(), s("img", {
|
8293
8290
|
key: 1,
|
8294
8291
|
src: (se = k.value) == null ? void 0 : se.fileUrl
|
8295
|
-
}, null, 8,
|
8292
|
+
}, null, 8, tc)),
|
8296
8293
|
x(i(ne), {
|
8297
8294
|
modelValue: b.value,
|
8298
8295
|
"onUpdate:modelValue": A[13] || (A[13] = (Q) => b.value = Q),
|
@@ -8301,7 +8298,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8301
8298
|
menu: w(() => {
|
8302
8299
|
var Q, Oe;
|
8303
8300
|
return [
|
8304
|
-
n("div",
|
8301
|
+
n("div", lc, [
|
8305
8302
|
!((Oe = (Q = k.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), s("div", {
|
8306
8303
|
key: 0,
|
8307
8304
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
@@ -8349,25 +8346,25 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8349
8346
|
onChangeImage: I
|
8350
8347
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
8351
8348
|
])) : (t(), s(L, { key: 1 }, [
|
8352
|
-
n("div",
|
8353
|
-
n("div",
|
8349
|
+
n("div", ac, [
|
8350
|
+
n("div", nc, [
|
8354
8351
|
x(i(T), {
|
8355
8352
|
name: "file-extension",
|
8356
8353
|
width: "14",
|
8357
8354
|
height: "10"
|
8358
8355
|
}),
|
8359
|
-
n("span",
|
8356
|
+
n("span", oc, $((we = k.value) == null ? void 0 : we.extension), 1)
|
8360
8357
|
]),
|
8361
8358
|
n("div", {
|
8362
8359
|
class: f([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8363
8360
|
}, $((fe = k.value) == null ? void 0 : fe.fileName), 3)
|
8364
8361
|
]),
|
8365
|
-
n("div",
|
8362
|
+
n("div", ic, [
|
8366
8363
|
n("div", {
|
8367
8364
|
class: f([(($e = k.value) == null ? void 0 : $e.progress) === 100 ? "opacity-0" : "", "transition-all duration-500 flex flex-col gap-y-1 items-center"])
|
8368
8365
|
}, [
|
8369
|
-
n("span",
|
8370
|
-
n("div",
|
8366
|
+
n("span", sc, $(((ie = k.value) == null ? void 0 : ie.progress) || 0) + "% ", 1),
|
8367
|
+
n("div", rc, [
|
8371
8368
|
n("div", {
|
8372
8369
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
8373
8370
|
style: re({ width: `${((Ve = k.value) == null ? void 0 : Ve.progress) || 0}%` })
|
@@ -8387,8 +8384,8 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8387
8384
|
]))
|
8388
8385
|
])
|
8389
8386
|
], 64))
|
8390
|
-
], 2)) : (t(), s("div",
|
8391
|
-
n("div",
|
8387
|
+
], 2)) : (t(), s("div", Xd, [
|
8388
|
+
n("div", Jd, [
|
8392
8389
|
e.variant === "url" ? (t(), s(L, { key: 0 }, [
|
8393
8390
|
x(i(xe), {
|
8394
8391
|
modelValue: d.value,
|
@@ -8422,7 +8419,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8422
8419
|
onDragover: A[10] || (A[10] = ye(() => {
|
8423
8420
|
}, ["prevent"]))
|
8424
8421
|
}, [
|
8425
|
-
n("span",
|
8422
|
+
n("span", Zd, $(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8426
8423
|
x(i(G), {
|
8427
8424
|
size: "small",
|
8428
8425
|
"is-disabled": e.isDisabled,
|
@@ -8439,7 +8436,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8439
8436
|
type: "file",
|
8440
8437
|
accept: e.accept,
|
8441
8438
|
onChange: A[11] || (A[11] = (Q) => i(D)(Q, a.format === "object"))
|
8442
|
-
}, null, 40,
|
8439
|
+
}, null, 40, Qd)
|
8443
8440
|
])
|
8444
8441
|
]))
|
8445
8442
|
], 64))
|
@@ -8448,13 +8445,13 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8448
8445
|
_: 3
|
8449
8446
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
8450
8447
|
}
|
8451
|
-
},
|
8448
|
+
}, dc = { class: "relative min-h-[100px]" }, cc = {
|
8452
8449
|
key: 0,
|
8453
8450
|
class: "absolute"
|
8454
|
-
},
|
8451
|
+
}, uc = { class: "w-[100px] hover:bg-oc-primary-50 cursor-pointer bg-oc-accent-1-50 text-oc-accent-1 rounded aspect-square flex items-center justify-center" }, mc = ["accept", "multiple"], fc = ["onClick"], vc = { class: "py-2 flex flex-col" }, gc = ["onClick"], pc = ["onClick"], yc = { class: "z-[1009] hidden group-hover:flex absolute bg-black/30 w-full h-full top-0 left-0 rounded" }, xc = {
|
8455
8452
|
key: 0,
|
8456
8453
|
class: "cursor-pointer m-auto drag-el"
|
8457
|
-
},
|
8454
|
+
}, hc = {
|
8458
8455
|
__name: "OcSimpleMultipleUpload",
|
8459
8456
|
props: {
|
8460
8457
|
accept: {
|
@@ -8521,9 +8518,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8521
8518
|
u.value[E] = V[E];
|
8522
8519
|
}), o[I] = !1, d.value = !0;
|
8523
8520
|
};
|
8524
|
-
return (I, V) => (t(), s("div",
|
8525
|
-
B.value ? (t(), s("label",
|
8526
|
-
n("div",
|
8521
|
+
return (I, V) => (t(), s("div", dc, [
|
8522
|
+
B.value ? (t(), s("label", cc, [
|
8523
|
+
n("div", uc, [
|
8527
8524
|
x(i(T), { name: "plus" })
|
8528
8525
|
]),
|
8529
8526
|
O.value ? m("", !0) : (t(), s("input", {
|
@@ -8533,9 +8530,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8533
8530
|
accept: e.accept || "image/png, image/jpeg",
|
8534
8531
|
multiple: a.maxImages !== 1,
|
8535
8532
|
onChange: k
|
8536
|
-
}, null, 40,
|
8533
|
+
}, null, 40, mc))
|
8537
8534
|
])) : m("", !0),
|
8538
|
-
(t(), p(i(
|
8535
|
+
(t(), p(i(bu), {
|
8539
8536
|
key: e.uploadedImages.length,
|
8540
8537
|
"model-value": e.uploadedImages,
|
8541
8538
|
filter: "filtered-el",
|
@@ -8565,7 +8562,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8565
8562
|
removeItem: h,
|
8566
8563
|
fileIndex: P
|
8567
8564
|
}, () => [
|
8568
|
-
n("div",
|
8565
|
+
n("div", vc, [
|
8569
8566
|
n("div", {
|
8570
8567
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8571
8568
|
onClick: (A) => g(P, E)
|
@@ -8576,7 +8573,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8576
8573
|
name: "pencil"
|
8577
8574
|
}),
|
8578
8575
|
V[4] || (V[4] = n("span", null, "Edit Image", -1))
|
8579
|
-
], 8,
|
8576
|
+
], 8, gc),
|
8580
8577
|
n("div", {
|
8581
8578
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
8582
8579
|
onClick: () => {
|
@@ -8589,7 +8586,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8589
8586
|
name: "bin"
|
8590
8587
|
}),
|
8591
8588
|
V[5] || (V[5] = n("span", null, "Delete", -1))
|
8592
|
-
], 8,
|
8589
|
+
], 8, pc)
|
8593
8590
|
])
|
8594
8591
|
])
|
8595
8592
|
]),
|
@@ -8613,15 +8610,15 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8613
8610
|
}, null, 4)
|
8614
8611
|
], 2)
|
8615
8612
|
], 2),
|
8616
|
-
n("div",
|
8617
|
-
a.maxImages !== 1 ? (t(), s("span",
|
8613
|
+
n("div", yc, [
|
8614
|
+
a.maxImages !== 1 ? (t(), s("span", xc, [
|
8618
8615
|
x(i(T), {
|
8619
8616
|
name: "arrows",
|
8620
8617
|
class: "text-oc-accent-1-50"
|
8621
8618
|
})
|
8622
8619
|
])) : m("", !0)
|
8623
8620
|
])
|
8624
|
-
], 14,
|
8621
|
+
], 14, fc))), 128))
|
8625
8622
|
]),
|
8626
8623
|
_: 3
|
8627
8624
|
}, 8, ["model-value", "style"])),
|
@@ -8638,7 +8635,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8638
8635
|
onChangeImage: C,
|
8639
8636
|
"onUpdate:inputOptions": j
|
8640
8637
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
8641
|
-
x(i(
|
8638
|
+
x(i(tu), {
|
8642
8639
|
modelValue: b.value,
|
8643
8640
|
"onUpdate:modelValue": V[3] || (V[3] = (N) => b.value = N),
|
8644
8641
|
description: "Do you want to delete this image ?",
|
@@ -8646,16 +8643,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8646
8643
|
}, null, 8, ["modelValue"])
|
8647
8644
|
]));
|
8648
8645
|
}
|
8649
|
-
},
|
8646
|
+
}, bc = { class: "flex flex-col gap-y-2" }, wc = ["accept"], $c = { class: "input-file-uploaded flex flex-col gap-y-3" }, kc = { class: "flex items-center gap-x-3" }, Sc = { class: "flex flex-col items-center justify-center text-oc-text-300" }, Cc = { class: "uppercase text-[8px] font-bold leading-none block" }, Vc = { class: "text-oc-text-400 text-sm" }, Oc = { class: "w-[100px] h-[6px] bg-oc-accent-1-50 rounded-full overflow-hidden transition-all duration-1000" }, Bc = ["accept"], Ic = {
|
8650
8647
|
key: 1,
|
8651
8648
|
class: "w-full text-oc-text-300 text-sm h-full flex-1 flex flex-col justify-center items-center my-auto min-h-[120px] transition-all duration-300 gap-2"
|
8652
|
-
},
|
8649
|
+
}, Tc = { key: 0 }, Dc = { key: 1 }, Ac = {
|
8653
8650
|
key: 2,
|
8654
8651
|
class: "text-center"
|
8655
|
-
},
|
8652
|
+
}, jc = {
|
8656
8653
|
key: 2,
|
8657
8654
|
class: "mt-3 flex items-center justify-center"
|
8658
|
-
},
|
8655
|
+
}, Vm = {
|
8659
8656
|
__name: "OcMultipleUploadFile",
|
8660
8657
|
props: {
|
8661
8658
|
modelValue: {
|
@@ -8735,7 +8732,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8735
8732
|
var C;
|
8736
8733
|
(C = o.value) == null || C.click();
|
8737
8734
|
};
|
8738
|
-
return (C, j) => (t(), s("div",
|
8735
|
+
return (C, j) => (t(), s("div", bc, [
|
8739
8736
|
x(i(ge), {
|
8740
8737
|
label: e.label,
|
8741
8738
|
hint: e.hint,
|
@@ -8745,7 +8742,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8745
8742
|
S(C.$slots, "hint")
|
8746
8743
|
]),
|
8747
8744
|
default: w(() => [
|
8748
|
-
e.isImageOnly ? (t(), p(
|
8745
|
+
e.isImageOnly ? (t(), p(hc, {
|
8749
8746
|
key: 0,
|
8750
8747
|
"uploaded-images": i(v),
|
8751
8748
|
"selected-image": e.selectedImage,
|
@@ -8784,7 +8781,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8784
8781
|
multiple: "",
|
8785
8782
|
accept: e.accept,
|
8786
8783
|
onChange: h
|
8787
|
-
}, null, 40,
|
8784
|
+
}, null, 40, wc)
|
8788
8785
|
], 64)) : (t(), s("div", {
|
8789
8786
|
key: 2,
|
8790
8787
|
class: f(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
@@ -8794,27 +8791,27 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8794
8791
|
}
|
8795
8792
|
]])
|
8796
8793
|
}, [
|
8797
|
-
n("div",
|
8794
|
+
n("div", $c, [
|
8798
8795
|
(t(!0), s(L, null, R(i(v), (k, B) => (t(), s("div", {
|
8799
8796
|
key: `${B}-${k.fileName}`,
|
8800
8797
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
8801
8798
|
}, [
|
8802
|
-
n("div",
|
8803
|
-
n("div",
|
8799
|
+
n("div", kc, [
|
8800
|
+
n("div", Sc, [
|
8804
8801
|
x(i(T), {
|
8805
8802
|
name: "file-extension",
|
8806
8803
|
width: "14",
|
8807
8804
|
height: "10"
|
8808
8805
|
}),
|
8809
|
-
n("span",
|
8806
|
+
n("span", Cc, $(k.extension), 1)
|
8810
8807
|
]),
|
8811
|
-
n("span",
|
8808
|
+
n("span", Vc, $(k == null ? void 0 : k.fileName), 1)
|
8812
8809
|
]),
|
8813
8810
|
c.value ? (t(), s("div", {
|
8814
8811
|
key: 0,
|
8815
8812
|
class: f(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": k.progress === 100 }])
|
8816
8813
|
}, [
|
8817
|
-
n("div",
|
8814
|
+
n("div", Oc, [
|
8818
8815
|
n("div", {
|
8819
8816
|
style: re({ width: `${k.progress}%` }),
|
8820
8817
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
@@ -8856,15 +8853,15 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8856
8853
|
onDragleave: j[6] || (j[6] = (k) => d.value = !1),
|
8857
8854
|
onDrop: j[7] || (j[7] = (k) => d.value = !1),
|
8858
8855
|
onChange: h
|
8859
|
-
}, null, 40,
|
8860
|
-
i(v).length ? e.isDisabled ? m("", !0) : (t(), s("div",
|
8856
|
+
}, null, 40, Bc)),
|
8857
|
+
i(v).length ? e.isDisabled ? m("", !0) : (t(), s("div", jc, j[9] || (j[9] = [
|
8861
8858
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
8862
|
-
]))) : (t(), s("div",
|
8859
|
+
]))) : (t(), s("div", Ic, [
|
8863
8860
|
x(i(T), {
|
8864
8861
|
name: "upload",
|
8865
8862
|
class: f(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
8866
8863
|
}, null, 8, ["class"]),
|
8867
|
-
e.labelUploadArea ? (t(), s("div",
|
8864
|
+
e.labelUploadArea ? (t(), s("div", Tc, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), s("div", Dc, "Upload disabled")) : (t(), s("div", Ac, [
|
8868
8865
|
j[8] || (j[8] = n("div", null, "Select documents or drag here", -1)),
|
8869
8866
|
n("div", null, "File max " + $(e.maxSize) + "MB", 1)
|
8870
8867
|
]))
|
@@ -8876,7 +8873,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8876
8873
|
}, 8, ["label", "hint", "error-message"])
|
8877
8874
|
]));
|
8878
8875
|
}
|
8879
|
-
},
|
8876
|
+
}, Mc = ["value"], Pc = /* @__PURE__ */ Z({
|
8880
8877
|
__name: "OcNumberInput",
|
8881
8878
|
props: {
|
8882
8879
|
modelValue: {
|
@@ -8936,7 +8933,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8936
8933
|
placeholder: "1",
|
8937
8934
|
onKeydown: c,
|
8938
8935
|
onInput: v[0] || (v[0] = (b) => u.$emit("update:modelValue", b.target.value))
|
8939
|
-
}, null, 42,
|
8936
|
+
}, null, 42, Mc),
|
8940
8937
|
x(i(G), {
|
8941
8938
|
variant: "secondary",
|
8942
8939
|
class: "w-[28px] shrink-0 aspect-square",
|
@@ -8951,7 +8948,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8951
8948
|
_: 1
|
8952
8949
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
8953
8950
|
}
|
8954
|
-
}),
|
8951
|
+
}), Lc = {
|
8955
8952
|
__name: "OcDropdown",
|
8956
8953
|
props: {
|
8957
8954
|
distance: {
|
@@ -9051,7 +9048,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9051
9048
|
[i(wt), v]
|
9052
9049
|
]);
|
9053
9050
|
}
|
9054
|
-
}, ne = /* @__PURE__ */ he(
|
9051
|
+
}, ne = /* @__PURE__ */ he(Lc, [["__scopeId", "data-v-28a0af68"]]), Ec = { class: "flex items-center gap-x-3 p-3" }, zc = { class: "md:text-base text-sm" }, Nc = {
|
9055
9052
|
key: 0,
|
9056
9053
|
class: "p-3 text-sm text-oc-text-300"
|
9057
9054
|
}, pe = {
|
@@ -9076,27 +9073,27 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9076
9073
|
return (a, l) => (t(), s("div", {
|
9077
9074
|
class: f(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", r.value[e.variant]])
|
9078
9075
|
}, [
|
9079
|
-
n("div",
|
9076
|
+
n("div", Ec, [
|
9080
9077
|
e.icon ? (t(), p(i(T), F({
|
9081
9078
|
key: 0,
|
9082
9079
|
class: "w-5 h-5",
|
9083
9080
|
name: e.icon
|
9084
9081
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : m("", !0),
|
9085
|
-
n("span",
|
9082
|
+
n("span", zc, $(e.text), 1),
|
9086
9083
|
e.pointed ? S(a.$slots, "badge", { key: 1 }, () => [
|
9087
9084
|
l[0] || (l[0] = n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1))
|
9088
9085
|
]) : m("", !0)
|
9089
9086
|
]),
|
9090
|
-
e.subText ? (t(), s("div",
|
9087
|
+
e.subText ? (t(), s("div", Nc, [
|
9091
9088
|
n("span", null, $(e.subText), 1)
|
9092
9089
|
])) : m("", !0)
|
9093
9090
|
], 2));
|
9094
9091
|
}
|
9095
|
-
},
|
9092
|
+
}, Rc = { class: "oc-tooltip-wrapper" }, Fc = {
|
9096
9093
|
key: 0,
|
9097
9094
|
class: "oc-arrow",
|
9098
9095
|
"data-popper-arrow": ""
|
9099
|
-
},
|
9096
|
+
}, Uc = {
|
9100
9097
|
__name: "OcTooltip",
|
9101
9098
|
props: {
|
9102
9099
|
popperClass: {
|
@@ -9171,7 +9168,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9171
9168
|
const v = () => {
|
9172
9169
|
a.value && u();
|
9173
9170
|
};
|
9174
|
-
return (b, y) => Te((t(), s("span",
|
9171
|
+
return (b, y) => Te((t(), s("span", Rc, [
|
9175
9172
|
x(i($t), {
|
9176
9173
|
ref_key: "popper",
|
9177
9174
|
ref: d,
|
@@ -9190,7 +9187,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9190
9187
|
class: f(["oc-tooltip", e.popperClass])
|
9191
9188
|
}, [
|
9192
9189
|
S(b.$slots, "popper", {}, void 0, !0),
|
9193
|
-
e.arrowHidden ? m("", !0) : (t(), s("div",
|
9190
|
+
e.arrowHidden ? m("", !0) : (t(), s("div", Fc))
|
9194
9191
|
], 2), [
|
9195
9192
|
[ze, a.value]
|
9196
9193
|
])
|
@@ -9213,14 +9210,14 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9213
9210
|
[i(wt), v]
|
9214
9211
|
]);
|
9215
9212
|
}
|
9216
|
-
}, le = /* @__PURE__ */ he(
|
9213
|
+
}, le = /* @__PURE__ */ he(Uc, [["__scopeId", "data-v-a902efc5"]]), qc = {
|
9217
9214
|
key: 0,
|
9218
9215
|
id: "modal-overlay-wrapper",
|
9219
9216
|
class: "fixed w-screen z-[1007] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9220
|
-
},
|
9217
|
+
}, Hc = { class: "flex flex-col gap-y-1 overflow-hidden" }, Yc = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, Wc = {
|
9221
9218
|
key: 0,
|
9222
9219
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
9223
|
-
},
|
9220
|
+
}, Kc = ["id"], Gc = {
|
9224
9221
|
__name: "OcModal",
|
9225
9222
|
props: {
|
9226
9223
|
isBorderless: Boolean,
|
@@ -9314,10 +9311,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9314
9311
|
(y = v.value) == null || y.addEventListener("scroll", b);
|
9315
9312
|
}, 100);
|
9316
9313
|
}
|
9317
|
-
),
|
9314
|
+
), qt(() => {
|
9318
9315
|
var y;
|
9319
9316
|
(y = v.value) == null || y.removeEventListener("scroll", b);
|
9320
|
-
}), (y, h) => e.modelValue ? (t(), s("div",
|
9317
|
+
}), (y, h) => e.modelValue ? (t(), s("div", qc, [
|
9321
9318
|
n("div", {
|
9322
9319
|
class: "w-full h-full absolute top-0 left-0 z-[1007]",
|
9323
9320
|
onClick: d
|
@@ -9330,10 +9327,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9330
9327
|
class: f(["flex bg-inherit border-oc-gray-200 gap-x-9 justify-between p-5 items-start rounded-t-xl", e.isBorderless ? "" : "border-b"])
|
9331
9328
|
}, [
|
9332
9329
|
S(y.$slots, "header", {}, () => [
|
9333
|
-
n("div",
|
9334
|
-
n("span",
|
9330
|
+
n("div", Hc, [
|
9331
|
+
n("span", Yc, $(e.title), 1),
|
9335
9332
|
S(y.$slots, "description", {}, () => [
|
9336
|
-
e.description ? (t(), s("span",
|
9333
|
+
e.description ? (t(), s("span", Wc, $(e.description), 1)) : m("", !0)
|
9337
9334
|
])
|
9338
9335
|
]),
|
9339
9336
|
e.isCloseIcon ? (t(), s("div", {
|
@@ -9357,7 +9354,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9357
9354
|
onScroll: h[1] || (h[1] = (O) => l("content-scroll", O))
|
9358
9355
|
}, [
|
9359
9356
|
S(y.$slots, "default")
|
9360
|
-
], 42,
|
9357
|
+
], 42, Kc),
|
9361
9358
|
e.isFooterVisible ? (t(), s("div", {
|
9362
9359
|
key: 1,
|
9363
9360
|
class: f(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
@@ -9384,10 +9381,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9384
9381
|
], 2)
|
9385
9382
|
])) : m("", !0);
|
9386
9383
|
}
|
9387
|
-
},
|
9384
|
+
}, Xc = {
|
9388
9385
|
key: 0,
|
9389
9386
|
class: "fixed w-screen z-[1007] bg-white top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9390
|
-
},
|
9387
|
+
}, Jc = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, Zc = { class: "modal-body p-9" }, Om = {
|
9391
9388
|
__name: "OcModalPage",
|
9392
9389
|
props: {
|
9393
9390
|
modelValue: {
|
@@ -9418,8 +9415,8 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9418
9415
|
emits: ["update:modelValue", "back", "click:outside"],
|
9419
9416
|
setup(e, { emit: r }) {
|
9420
9417
|
const a = r;
|
9421
|
-
return (l, o) => e.modelValue ? (t(), s("div",
|
9422
|
-
n("div",
|
9418
|
+
return (l, o) => e.modelValue ? (t(), s("div", Xc, [
|
9419
|
+
n("div", Jc, [
|
9423
9420
|
S(l.$slots, "top"),
|
9424
9421
|
n("div", {
|
9425
9422
|
class: f(["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])
|
@@ -9447,14 +9444,14 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9447
9444
|
}),
|
9448
9445
|
o[2] || (o[2] = n("span", null, "Close", -1))
|
9449
9446
|
]),
|
9450
|
-
n("div",
|
9447
|
+
n("div", Zc, [
|
9451
9448
|
S(l.$slots, "default")
|
9452
9449
|
])
|
9453
9450
|
], 2)
|
9454
9451
|
])
|
9455
9452
|
])) : m("", !0);
|
9456
9453
|
}
|
9457
|
-
},
|
9454
|
+
}, Qc = { class: "text-center" }, _c = ["innerHTML"], eu = {
|
9458
9455
|
__name: "OcConfirmation",
|
9459
9456
|
props: {
|
9460
9457
|
description: String,
|
@@ -9493,14 +9490,14 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9493
9490
|
name: e.icon ?? r[e.variant]
|
9494
9491
|
}, null, 8, ["name"])
|
9495
9492
|
], 2)),
|
9496
|
-
n("div",
|
9493
|
+
n("div", Qc, [
|
9497
9494
|
S(l.$slots, "description", {}, () => [
|
9498
|
-
n("span", { innerHTML: e.description }, null, 8,
|
9495
|
+
n("span", { innerHTML: e.description }, null, 8, _c)
|
9499
9496
|
])
|
9500
9497
|
])
|
9501
9498
|
], 2));
|
9502
9499
|
}
|
9503
|
-
},
|
9500
|
+
}, tu = {
|
9504
9501
|
__name: "OcConfirmationModal",
|
9505
9502
|
props: {
|
9506
9503
|
modelValue: {
|
@@ -9573,7 +9570,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9573
9570
|
})), c = (u) => {
|
9574
9571
|
l("update:model-value", u), l("cancel");
|
9575
9572
|
};
|
9576
|
-
return (u, v) => (t(), p(i(
|
9573
|
+
return (u, v) => (t(), p(i(Gc), {
|
9577
9574
|
size: "small",
|
9578
9575
|
"model-value": e.modelValue,
|
9579
9576
|
title: e.title,
|
@@ -9596,7 +9593,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9596
9593
|
onCancel: v[1] || (v[1] = (b) => u.$emit("cancel"))
|
9597
9594
|
}, {
|
9598
9595
|
default: w(() => [
|
9599
|
-
x(
|
9596
|
+
x(eu, {
|
9600
9597
|
"icon-class": e.iconClass,
|
9601
9598
|
variant: e.variant,
|
9602
9599
|
description: e.description,
|
@@ -9616,10 +9613,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9616
9613
|
_: 3
|
9617
9614
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
9618
9615
|
}
|
9619
|
-
},
|
9616
|
+
}, lu = { class: "fixed bottom-[30px] right-[32px]" }, au = { class: "relative" }, nu = {
|
9620
9617
|
key: 0,
|
9621
9618
|
class: "flex items-center justify-end"
|
9622
|
-
},
|
9619
|
+
}, ou = { class: "w-[40px] flex text-white items-center bg-oc-text active:bg-oc-gray-800 justify-center aspect-square rounded-full cursor-pointer" }, iu = { class: "min-w-[180px]" }, su = { class: "p-3" }, ru = { class: "uppercase text-oc-text-400 text-xs font-medium" }, Bm = /* @__PURE__ */ Z({
|
9623
9620
|
__name: "OcSupportMenu",
|
9624
9621
|
props: {
|
9625
9622
|
modelValue: {
|
@@ -9657,7 +9654,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9657
9654
|
const r = {
|
9658
9655
|
arrowHidden: !0
|
9659
9656
|
};
|
9660
|
-
return (a, l) => (t(), s("div",
|
9657
|
+
return (a, l) => (t(), s("div", lu, [
|
9661
9658
|
x(i(ne), {
|
9662
9659
|
"model-value": e.modelValue,
|
9663
9660
|
"popper-options": r,
|
@@ -9666,10 +9663,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9666
9663
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.$emit("update:modelValue", o))
|
9667
9664
|
}, {
|
9668
9665
|
menu: w(() => [
|
9669
|
-
n("div",
|
9666
|
+
n("div", iu, [
|
9670
9667
|
(t(!0), s(L, null, R(e.topMenu, (o, d) => (t(), s(L, { key: d }, [
|
9671
|
-
n("div",
|
9672
|
-
n("span",
|
9668
|
+
n("div", su, [
|
9669
|
+
n("span", ru, $(o.title), 1)
|
9673
9670
|
]),
|
9674
9671
|
(t(!0), s(L, null, R(o.items, (c, u) => (t(), p(i(pe), F({
|
9675
9672
|
key: u,
|
@@ -9696,11 +9693,11 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9696
9693
|
])
|
9697
9694
|
]),
|
9698
9695
|
default: w(() => [
|
9699
|
-
n("div",
|
9700
|
-
e.isPointed ? (t(), s("div",
|
9696
|
+
n("div", au, [
|
9697
|
+
e.isPointed ? (t(), s("div", nu, l[1] || (l[1] = [
|
9701
9698
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
9702
9699
|
]))) : m("", !0),
|
9703
|
-
n("div",
|
9700
|
+
n("div", ou, [
|
9704
9701
|
x(i(T), {
|
9705
9702
|
name: "question",
|
9706
9703
|
width: "33",
|
@@ -9713,7 +9710,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9713
9710
|
}, 8, ["model-value"])
|
9714
9711
|
]));
|
9715
9712
|
}
|
9716
|
-
}),
|
9713
|
+
}), du = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Me = /* @__PURE__ */ Z({
|
9717
9714
|
__name: "OcCopyTooltip",
|
9718
9715
|
props: {
|
9719
9716
|
value: [String, Blob],
|
@@ -9743,7 +9740,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9743
9740
|
distance: 20
|
9744
9741
|
}, e.tooltipOptions), {
|
9745
9742
|
popper: w(() => [
|
9746
|
-
n("div",
|
9743
|
+
n("div", du, $(e.tooltipText), 1)
|
9747
9744
|
]),
|
9748
9745
|
default: w(({ isShow: o }) => [
|
9749
9746
|
n("div", {
|
@@ -9762,7 +9759,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9762
9759
|
_: 3
|
9763
9760
|
}, 16));
|
9764
9761
|
}
|
9765
|
-
}),
|
9762
|
+
}), cu = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, uu = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, mu = { class: "flex flex-col gap-y-7 p-5" }, fu = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, vu = ["src"], gu = { class: "flex text-center flex-col gap-y-3" }, pu = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, yu = { class: "text-oc-text-400" }, xu = { class: "py-6 px-5 flex items-center justify-center" }, Im = /* @__PURE__ */ Z({
|
9766
9763
|
__name: "OcWhiteList",
|
9767
9764
|
props: {
|
9768
9765
|
buttonProps: {
|
@@ -9778,28 +9775,28 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9778
9775
|
description: String
|
9779
9776
|
},
|
9780
9777
|
setup(e) {
|
9781
|
-
return (r, a) => (t(), s("div",
|
9778
|
+
return (r, a) => (t(), s("div", cu, [
|
9782
9779
|
a[0] || (a[0] = n("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
|
9783
|
-
n("div",
|
9784
|
-
n("div",
|
9780
|
+
n("div", uu, [
|
9781
|
+
n("div", mu, [
|
9785
9782
|
S(r.$slots, "logo", {}, () => [
|
9786
|
-
n("div",
|
9783
|
+
n("div", fu, [
|
9787
9784
|
n("img", {
|
9788
9785
|
src: e.imagePath,
|
9789
9786
|
alt: "logo"
|
9790
|
-
}, null, 8,
|
9787
|
+
}, null, 8, vu)
|
9791
9788
|
])
|
9792
9789
|
]),
|
9793
|
-
n("div",
|
9794
|
-
n("div",
|
9790
|
+
n("div", gu, [
|
9791
|
+
n("div", pu, [
|
9795
9792
|
W($(e.title) + " ", 1),
|
9796
|
-
e.tagOptions ? (t(), p(i(
|
9793
|
+
e.tagOptions ? (t(), p(i(Yt), ue(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
9797
9794
|
]),
|
9798
|
-
n("span",
|
9795
|
+
n("span", yu, $(e.description), 1)
|
9799
9796
|
]),
|
9800
9797
|
S(r.$slots, "bottom")
|
9801
9798
|
]),
|
9802
|
-
n("div",
|
9799
|
+
n("div", xu, [
|
9803
9800
|
S(r.$slots, "footer", {}, () => [
|
9804
9801
|
x(i(G), F({
|
9805
9802
|
label: "Request Access",
|
@@ -9810,7 +9807,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9810
9807
|
])
|
9811
9808
|
]));
|
9812
9809
|
}
|
9813
|
-
}),
|
9810
|
+
}), Tm = {
|
9814
9811
|
__name: "OcFormBuilder",
|
9815
9812
|
props: {
|
9816
9813
|
id: {
|
@@ -9850,23 +9847,23 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9850
9847
|
const a = e, l = r, o = (g, I) => {
|
9851
9848
|
l("onUpdate", g, I);
|
9852
9849
|
}, d = {
|
9853
|
-
CardInput:
|
9854
|
-
CheckboxesGroup:
|
9850
|
+
CardInput: Ps,
|
9851
|
+
CheckboxesGroup: Es,
|
9855
9852
|
Input: xe,
|
9856
|
-
NumberInput:
|
9857
|
-
LinkInput:
|
9858
|
-
Select:
|
9859
|
-
TextArea:
|
9853
|
+
NumberInput: Pc,
|
9854
|
+
LinkInput: Ir,
|
9855
|
+
Select: br,
|
9856
|
+
TextArea: Ar,
|
9860
9857
|
Toggle: St,
|
9861
|
-
RadioGroup:
|
9862
|
-
TimePicker:
|
9863
|
-
DatePicker:
|
9858
|
+
RadioGroup: sr,
|
9859
|
+
TimePicker: wu,
|
9860
|
+
DatePicker: Td,
|
9864
9861
|
Checkbox: De,
|
9865
9862
|
Slider: kt,
|
9866
|
-
RangeInput:
|
9867
|
-
PhoneInput:
|
9868
|
-
SectionItem:
|
9869
|
-
SelectOptions:
|
9863
|
+
RangeInput: ur,
|
9864
|
+
PhoneInput: lr,
|
9865
|
+
SectionItem: Ld,
|
9866
|
+
SelectOptions: Fd
|
9870
9867
|
}, c = (g) => d[g] ? d[g] : null, u = z(() => {
|
9871
9868
|
const g = (V) => V.split(`
|
9872
9869
|
`).map((N) => N.trim()).filter(Boolean).map((N) => `"${N}"`).join(" "), I = {};
|
@@ -9960,120 +9957,120 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9960
9957
|
}), 128))
|
9961
9958
|
], 6)) : m("", !0);
|
9962
9959
|
}
|
9963
|
-
},
|
9964
|
-
() => import("./OcComplexCalendar-
|
9965
|
-
),
|
9966
|
-
() => import("./OcComplexDatePicker-
|
9967
|
-
), ot = de(() => import("./OcModalCropper-
|
9968
|
-
() => import("./ThumbnailTheme-
|
9969
|
-
),
|
9970
|
-
() => import("./ThumbnailSection-
|
9971
|
-
),
|
9960
|
+
}, Dm = de(() => import("./OcDataTable-CndminaH.js")), Am = de(() => import("./OcFilterSearch-BvprApAY.js")), jm = de(() => import("./OcFilterSearchFor-BYAMQSrI.js")), Mm = de(() => import("./OcFilterForm-BCxnrGNo.js")), hu = de(
|
9961
|
+
() => import("./OcComplexCalendar-C9gKGce4.js")
|
9962
|
+
), Pm = de(
|
9963
|
+
() => import("./OcComplexDatePicker-BE9B6y7E.js")
|
9964
|
+
), ot = de(() => import("./OcModalCropper-C9Ir3F4h.js")), Lm = de(() => import("./OcCropper-BEBYeBqq.js")), bu = de(() => import("./OcDraggable-CA_BCbpl.js")), Em = de(() => import("./OcDraggableList-v3cHOSFs.js")), zm = de(() => import("./OcEmojiPicker-DcE2cOO-.js")), Nm = de(
|
9965
|
+
() => import("./ThumbnailTheme-DUpqvXl3.js")
|
9966
|
+
), Rm = de(
|
9967
|
+
() => import("./ThumbnailSection-XJi8M-3x.js")
|
9968
|
+
), Fm = de(() => import("./SubPlanCard-CQdj7Hom.js")), Um = de(() => import("./OcTimePopup-CXGhaOev.js")), wu = de(() => import("./OcTimePicker-Dg-1BEeD.js"));
|
9972
9969
|
export {
|
9973
|
-
|
9974
|
-
|
9970
|
+
tm as $,
|
9971
|
+
Wu as A,
|
9975
9972
|
G as B,
|
9976
9973
|
Ot as C,
|
9977
|
-
|
9978
|
-
|
9979
|
-
|
9974
|
+
dn as D,
|
9975
|
+
Xu as E,
|
9976
|
+
gl as F,
|
9980
9977
|
Vt as G,
|
9981
9978
|
qe as H,
|
9982
|
-
|
9979
|
+
Hu as I,
|
9983
9980
|
dt as J,
|
9984
9981
|
ct as K,
|
9985
|
-
|
9986
|
-
|
9982
|
+
Uu as L,
|
9983
|
+
qu as M,
|
9987
9984
|
st as N,
|
9988
9985
|
Fe as O,
|
9989
9986
|
rt as P,
|
9990
9987
|
Be as Q,
|
9991
9988
|
Ee as R,
|
9992
|
-
|
9993
|
-
|
9994
|
-
|
9995
|
-
|
9996
|
-
|
9997
|
-
|
9998
|
-
|
9999
|
-
|
9989
|
+
sl as S,
|
9990
|
+
Yu as T,
|
9991
|
+
Ju as U,
|
9992
|
+
Zu as V,
|
9993
|
+
em as W,
|
9994
|
+
Un as X,
|
9995
|
+
Qu as Y,
|
9996
|
+
_u as Z,
|
10000
9997
|
ge as _,
|
10001
|
-
|
10002
|
-
|
10003
|
-
|
10004
|
-
|
10005
|
-
|
10006
|
-
|
10007
|
-
|
10008
|
-
|
10009
|
-
|
10010
|
-
|
10011
|
-
|
10012
|
-
|
10013
|
-
|
10014
|
-
|
10015
|
-
|
10016
|
-
|
10017
|
-
|
10018
|
-
|
10019
|
-
|
9998
|
+
Ps as a,
|
9999
|
+
Wn as a0,
|
10000
|
+
fm as a1,
|
10001
|
+
yi as a2,
|
10002
|
+
ym as a3,
|
10003
|
+
pm as a4,
|
10004
|
+
mm as a5,
|
10005
|
+
vm as a6,
|
10006
|
+
lm as a7,
|
10007
|
+
am as a8,
|
10008
|
+
nm as a9,
|
10009
|
+
hu as aA,
|
10010
|
+
bu as aB,
|
10011
|
+
Um as aC,
|
10012
|
+
Am as aD,
|
10013
|
+
Mm as aE,
|
10014
|
+
jm as aF,
|
10015
|
+
Dm as aG,
|
10016
|
+
Pm as aH,
|
10020
10017
|
ot as aI,
|
10021
|
-
|
10022
|
-
|
10023
|
-
|
10024
|
-
|
10025
|
-
|
10026
|
-
|
10027
|
-
|
10028
|
-
|
10029
|
-
|
10030
|
-
|
10031
|
-
|
10032
|
-
|
10033
|
-
|
10034
|
-
|
10035
|
-
|
10018
|
+
Lm as aJ,
|
10019
|
+
Em as aK,
|
10020
|
+
zm as aL,
|
10021
|
+
Nm as aM,
|
10022
|
+
Rm as aN,
|
10023
|
+
Fm as aO,
|
10024
|
+
wu as aP,
|
10025
|
+
om as aa,
|
10026
|
+
im as ab,
|
10027
|
+
sm as ac,
|
10028
|
+
rm as ad,
|
10029
|
+
Eo as ae,
|
10030
|
+
Ao as af,
|
10031
|
+
gm as ag,
|
10032
|
+
dm as ah,
|
10036
10033
|
vt as ai,
|
10037
|
-
|
10038
|
-
|
10039
|
-
|
10040
|
-
|
10034
|
+
cm as aj,
|
10035
|
+
um as ak,
|
10036
|
+
xm as al,
|
10037
|
+
bm as am,
|
10041
10038
|
ae as an,
|
10042
|
-
|
10043
|
-
|
10044
|
-
|
10039
|
+
wm as ao,
|
10040
|
+
hm as ap,
|
10041
|
+
tu as aq,
|
10045
10042
|
Me as ar,
|
10046
10043
|
ne as as,
|
10047
10044
|
pe as at,
|
10048
|
-
|
10049
|
-
|
10050
|
-
|
10045
|
+
Gc as au,
|
10046
|
+
Om as av,
|
10047
|
+
Bm as aw,
|
10051
10048
|
le as ax,
|
10052
|
-
|
10049
|
+
Im as ay,
|
10053
10050
|
nt as az,
|
10054
10051
|
De as b,
|
10055
|
-
|
10056
|
-
|
10052
|
+
Es as c,
|
10053
|
+
$m as d,
|
10057
10054
|
xe as e,
|
10058
|
-
|
10059
|
-
|
10060
|
-
|
10061
|
-
|
10062
|
-
|
10063
|
-
|
10055
|
+
km as f,
|
10056
|
+
lr as g,
|
10057
|
+
ir as h,
|
10058
|
+
sr as i,
|
10059
|
+
ur as j,
|
10060
|
+
br as k,
|
10064
10061
|
gt as l,
|
10065
|
-
|
10066
|
-
|
10067
|
-
|
10068
|
-
|
10069
|
-
|
10070
|
-
|
10071
|
-
|
10072
|
-
|
10073
|
-
|
10074
|
-
|
10075
|
-
|
10076
|
-
|
10077
|
-
|
10062
|
+
Sm as m,
|
10063
|
+
Ir as n,
|
10064
|
+
Ar as o,
|
10065
|
+
wd as p,
|
10066
|
+
Td as q,
|
10067
|
+
Ld as r,
|
10068
|
+
Fd as s,
|
10069
|
+
Cm as t,
|
10070
|
+
Vm as u,
|
10071
|
+
Pc as v,
|
10072
|
+
Tm as w,
|
10073
|
+
Gu as x,
|
10074
|
+
Ku as y,
|
10078
10075
|
Ae as z
|
10079
10076
|
};
|