@orchidui/core 1.1.1 → 1.1.31-1
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-DbKdYQQg.js → OcComplexCalendar-CRxZRgXL.js} +1 -1
- package/dist/{OcComplexDatePicker-DWeOr0ky.js → OcComplexDatePicker-ygWCP_HO.js} +1 -1
- package/dist/{OcCropper-BrNZQH9W.js → OcCropper-C7I3eum0.js} +1 -1
- package/dist/{OcDataTable-Sr63ioCV.js → OcDataTable-f95yna1x.js} +1 -1
- package/dist/{OcDraggableList-CN0ddu7n.js → OcDraggableList-DJYSUMpk.js} +1 -1
- package/dist/{OcEmojiPicker-CZBsk3Hn.js → OcEmojiPicker-BTyUDcdI.js} +1 -1
- package/dist/{OcFilterForm-Bg2O8w1v.js → OcFilterForm-elPkLKgv.js} +1 -1
- package/dist/{OcFilterSearch-C4nAeI_n.js → OcFilterSearch-CuMVMktV.js} +1 -1
- package/dist/{OcFilterSearchFor-B0qBc9zp.js → OcFilterSearchFor-DZG90Ocr.js} +1 -1
- package/dist/{OcModalCropper-skDqFpgW.js → OcModalCropper-CKawRd2-.js} +2 -2
- package/dist/{OcTimePicker-k0T3bisR.js → OcTimePicker-ChYX2WuT.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-aGSNhJBT.js → SubPlanCard-55Xf4T-i.js} +1 -1
- package/dist/{ThumbnailSection-BJAp31ac.js → ThumbnailSection-BsyAk_SY.js} +1 -1
- package/dist/{ThumbnailTheme-BHxnKBaR.js → ThumbnailTheme-D7ExOrMp.js} +1 -1
- package/dist/{index-OvPpK5KS.js → index-CKnlrI6g.js} +829 -830
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as z, ref as M, onMounted as 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
19
|
import "./OcTheme-CWgrJh5Q.js";
|
20
|
-
const
|
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,
|
@@ -6442,7 +6439,8 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6442
6439
|
isInlineSearch: Boolean,
|
6443
6440
|
isClearable: Boolean,
|
6444
6441
|
searchKeywords: String,
|
6445
|
-
isLoading: Boolean
|
6442
|
+
isLoading: Boolean,
|
6443
|
+
menuClasses: String
|
6446
6444
|
},
|
6447
6445
|
emits: {
|
6448
6446
|
addNew: [],
|
@@ -6563,7 +6561,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6563
6561
|
"tooltip-options": e.tooltipOptions
|
6564
6562
|
}, te({
|
6565
6563
|
tooltipText: w(() => [
|
6566
|
-
P.$slots.selectTooltipText ? (t(), s("div",
|
6564
|
+
P.$slots.selectTooltipText ? (t(), s("div", hr, [
|
6567
6565
|
S(P.$slots, "selectTooltipText")
|
6568
6566
|
])) : m("", !0)
|
6569
6567
|
]),
|
@@ -6585,6 +6583,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6585
6583
|
"popper-style": V.value,
|
6586
6584
|
"popper-options": e.popperOptions,
|
6587
6585
|
"is-disabled": e.isDisabled || e.isReadonly,
|
6586
|
+
"menu-classes": e.menuClasses,
|
6588
6587
|
onScroll: E
|
6589
6588
|
}, {
|
6590
6589
|
menu: w(() => {
|
@@ -6595,7 +6594,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6595
6594
|
ref: y,
|
6596
6595
|
class: "flex flex-col gap-y-2"
|
6597
6596
|
}, [
|
6598
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), s("div",
|
6597
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), s("div", xr, [
|
6599
6598
|
x(i(xe), {
|
6600
6599
|
ref_key: "searchInputRef",
|
6601
6600
|
ref: u,
|
@@ -6682,7 +6681,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6682
6681
|
"border-none !min-h-[18px] !px-0": e.isSlim
|
6683
6682
|
}])
|
6684
6683
|
}, [
|
6685
|
-
e.multiple ? (t(), s("div",
|
6684
|
+
e.multiple ? (t(), s("div", mr, [
|
6686
6685
|
S(P.$slots, "selection", {}, () => [
|
6687
6686
|
(t(!0), s(L, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), p(i(ae), F({
|
6688
6687
|
key: U.value,
|
@@ -6699,7 +6698,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6699
6698
|
label: `+${C.value.length - e.maxVisibleOptions}`
|
6700
6699
|
}, null, 8, ["label"])) : m("", !0)
|
6701
6700
|
]),
|
6702
|
-
C.value.length === 0 ? (t(), s("span",
|
6701
|
+
C.value.length === 0 ? (t(), s("span", fr, $(e.placeholder), 1)) : m("", !0)
|
6703
6702
|
])) : m("", !0),
|
6704
6703
|
e.isInlineSearch && e.isFilterable && !C.value ? (t(), p(i(xe), {
|
6705
6704
|
key: 1,
|
@@ -6723,15 +6722,15 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6723
6722
|
]),
|
6724
6723
|
key: "0"
|
6725
6724
|
} : void 0
|
6726
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), s("span",
|
6725
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), s("span", vr, [
|
6727
6726
|
e.icon ? (t(), p(i(T), {
|
6728
6727
|
key: 0,
|
6729
6728
|
name: e.icon,
|
6730
6729
|
width: "16",
|
6731
6730
|
height: "16"
|
6732
6731
|
}, null, 8, ["name"])) : m("", !0),
|
6733
|
-
e.isInlineLabel && e.label ? (t(), s("span",
|
6734
|
-
C.value ? (t(), s("span",
|
6732
|
+
e.isInlineLabel && e.label ? (t(), s("span", gr, $(e.label) + ": ", 1)) : m("", !0),
|
6733
|
+
C.value ? (t(), s("span", pr, $(C.value.label), 1)) : (t(), s("span", yr, $(e.placeholder), 1))
|
6735
6734
|
])),
|
6736
6735
|
e.modelValue && e.isClearable ? (t(), p(i(T), {
|
6737
6736
|
key: 3,
|
@@ -6749,7 +6748,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6749
6748
|
], 2)
|
6750
6749
|
]),
|
6751
6750
|
_: 3
|
6752
|
-
}, 8, ["modelValue", "class", "popper-style", "popper-options", "is-disabled"])
|
6751
|
+
}, 8, ["modelValue", "class", "popper-style", "popper-options", "is-disabled", "menu-classes"])
|
6753
6752
|
]),
|
6754
6753
|
_: 2
|
6755
6754
|
}, [
|
@@ -6762,7 +6761,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6762
6761
|
} : void 0
|
6763
6762
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6764
6763
|
}
|
6765
|
-
},
|
6764
|
+
}, wr = { class: "w-full flex items-center gap-x-3" }, $r = { class: "truncate" }, kr = {
|
6766
6765
|
key: 0,
|
6767
6766
|
class: "text-sm text-oc-text-300"
|
6768
6767
|
}, gt = {
|
@@ -6800,14 +6799,14 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6800
6799
|
"is-partial": e.isPartial,
|
6801
6800
|
class: "!w-fit pointer-events-none"
|
6802
6801
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
6803
|
-
n("div",
|
6802
|
+
n("div", wr, [
|
6804
6803
|
S(l.$slots, "trailing"),
|
6805
6804
|
n("div", {
|
6806
6805
|
class: f(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
6807
6806
|
}, [
|
6808
|
-
n("span",
|
6807
|
+
n("span", $r, $(e.label), 1),
|
6809
6808
|
S(l.$slots, "sub-label", {}, () => [
|
6810
|
-
e.subLabel ? (t(), s("span",
|
6809
|
+
e.subLabel ? (t(), s("span", kr, $(e.subLabel), 1)) : m("", !0)
|
6811
6810
|
])
|
6812
6811
|
], 2),
|
6813
6812
|
S(l.$slots, "leading")
|
@@ -6827,21 +6826,21 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6827
6826
|
S(l.$slots, "after")
|
6828
6827
|
], 512));
|
6829
6828
|
}
|
6830
|
-
},
|
6829
|
+
}, 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
6830
|
__name: "OcGroupOptions",
|
6832
6831
|
props: {
|
6833
6832
|
label: String
|
6834
6833
|
},
|
6835
6834
|
setup(e) {
|
6836
|
-
return (r, a) => (t(), s("div",
|
6837
|
-
n("div",
|
6835
|
+
return (r, a) => (t(), s("div", Sr, [
|
6836
|
+
n("div", Cr, $(e.label), 1),
|
6838
6837
|
S(r.$slots, "default")
|
6839
6838
|
]));
|
6840
6839
|
}
|
6841
|
-
},
|
6840
|
+
}, Vr = { class: "flex text-oc-text-400 items-center gap-x-2" }, Or = {
|
6842
6841
|
key: 0,
|
6843
6842
|
class: "flex flex-col p-2 py-3 gap-2"
|
6844
|
-
},
|
6843
|
+
}, Br = ["onClick"], Ir = {
|
6845
6844
|
__name: "OcLinkInput",
|
6846
6845
|
props: {
|
6847
6846
|
placeholder: String,
|
@@ -6926,7 +6925,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6926
6925
|
distance: 10
|
6927
6926
|
}, {
|
6928
6927
|
menu: w(() => [
|
6929
|
-
e.isEdit ? m("", !0) : (t(), s("div",
|
6928
|
+
e.isEdit ? m("", !0) : (t(), s("div", Or, [
|
6930
6929
|
(t(!0), s(L, null, R(e.links, (g) => (t(), s("div", {
|
6931
6930
|
key: g.value,
|
6932
6931
|
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 +6937,11 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6938
6937
|
name: g.icon
|
6939
6938
|
}, null, 8, ["name"]),
|
6940
6939
|
W(" " + $(g.label), 1)
|
6941
|
-
], 8,
|
6940
|
+
], 8, Br))), 128))
|
6942
6941
|
]))
|
6943
6942
|
]),
|
6944
6943
|
default: w(() => [
|
6945
|
-
n("div",
|
6944
|
+
n("div", Vr, [
|
6946
6945
|
u.value.icon ? (t(), p(i(T), {
|
6947
6946
|
key: 0,
|
6948
6947
|
width: "20",
|
@@ -6964,7 +6963,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6964
6963
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
6965
6964
|
]));
|
6966
6965
|
}
|
6967
|
-
},
|
6966
|
+
}, Tr = ["disabled", "value", "rows", "placeholder"], Dr = "18px", Ar = {
|
6968
6967
|
__name: "OcTextArea",
|
6969
6968
|
props: {
|
6970
6969
|
placeholder: String,
|
@@ -6998,7 +6997,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
6998
6997
|
setup(e, { emit: r }) {
|
6999
6998
|
const a = r, l = M(!1), o = (d) => {
|
7000
6999
|
const c = d.target;
|
7001
|
-
c && (c.style.height =
|
7000
|
+
c && (c.style.height = Dr, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
7002
7001
|
};
|
7003
7002
|
return (d, c) => (t(), p(i(ge), {
|
7004
7003
|
label: e.label,
|
@@ -7022,7 +7021,7 @@ const lt = /* @__PURE__ */ he(Ti, [["render", Ai]]), ji = { class: "flex" }, Mi
|
|
7022
7021
|
onInput: o,
|
7023
7022
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
7024
7023
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
7025
|
-
}, null, 42,
|
7024
|
+
}, null, 42, Tr)
|
7026
7025
|
]),
|
7027
7026
|
_: 1
|
7028
7027
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
@@ -7045,8 +7044,8 @@ var It = { exports: {} };
|
|
7045
7044
|
};
|
7046
7045
|
});
|
7047
7046
|
})(It);
|
7048
|
-
var
|
7049
|
-
const Tt = /* @__PURE__ */ Ke(
|
7047
|
+
var jr = It.exports;
|
7048
|
+
const Tt = /* @__PURE__ */ Ke(jr);
|
7050
7049
|
var Dt = { exports: {} };
|
7051
7050
|
(function(e, r) {
|
7052
7051
|
(function(a, l) {
|
@@ -7059,8 +7058,8 @@ var Dt = { exports: {} };
|
|
7059
7058
|
};
|
7060
7059
|
});
|
7061
7060
|
})(Dt);
|
7062
|
-
var
|
7063
|
-
const At = /* @__PURE__ */ Ke(
|
7061
|
+
var Mr = Dt.exports;
|
7062
|
+
const At = /* @__PURE__ */ Ke(Mr);
|
7064
7063
|
var jt = { exports: {} };
|
7065
7064
|
(function(e, r) {
|
7066
7065
|
(function(a, l) {
|
@@ -7073,8 +7072,8 @@ var jt = { exports: {} };
|
|
7073
7072
|
};
|
7074
7073
|
});
|
7075
7074
|
})(jt);
|
7076
|
-
var
|
7077
|
-
const Mt = /* @__PURE__ */ Ke(
|
7075
|
+
var Pr = jt.exports;
|
7076
|
+
const Mt = /* @__PURE__ */ Ke(Pr);
|
7078
7077
|
var Pt = { exports: {} };
|
7079
7078
|
(function(e, r) {
|
7080
7079
|
(function(a, l) {
|
@@ -7196,53 +7195,53 @@ var Pt = { exports: {} };
|
|
7196
7195
|
};
|
7197
7196
|
});
|
7198
7197
|
})(Pt);
|
7199
|
-
var
|
7200
|
-
const nt = /* @__PURE__ */ Ke(
|
7201
|
-
var
|
7202
|
-
function
|
7203
|
-
var r =
|
7198
|
+
var Lr = Pt.exports;
|
7199
|
+
const nt = /* @__PURE__ */ Ke(Lr);
|
7200
|
+
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;
|
7201
|
+
function Fr(e) {
|
7202
|
+
var r = Nr.call(e, Le), a = e[Le];
|
7204
7203
|
try {
|
7205
7204
|
e[Le] = void 0;
|
7206
7205
|
var l = !0;
|
7207
7206
|
} catch {
|
7208
7207
|
}
|
7209
|
-
var o =
|
7208
|
+
var o = Rr.call(e);
|
7210
7209
|
return l && (r ? e[Le] = a : delete e[Le]), o;
|
7211
7210
|
}
|
7212
|
-
var
|
7213
|
-
function
|
7214
|
-
return
|
7211
|
+
var Ur = Object.prototype, qr = Ur.toString;
|
7212
|
+
function Hr(e) {
|
7213
|
+
return qr.call(e);
|
7215
7214
|
}
|
7216
|
-
var
|
7217
|
-
function
|
7218
|
-
return e == null ? e === void 0 ?
|
7215
|
+
var Yr = "[object Null]", Wr = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
7216
|
+
function Kr(e) {
|
7217
|
+
return e == null ? e === void 0 ? Wr : Yr : pt && pt in Object(e) ? Fr(e) : Hr(e);
|
7219
7218
|
}
|
7220
|
-
function
|
7219
|
+
function Gr(e) {
|
7221
7220
|
return e != null && typeof e == "object";
|
7222
7221
|
}
|
7223
|
-
var
|
7224
|
-
function
|
7225
|
-
return typeof e == "symbol" ||
|
7222
|
+
var Xr = "[object Symbol]";
|
7223
|
+
function Jr(e) {
|
7224
|
+
return typeof e == "symbol" || Gr(e) && Kr(e) == Xr;
|
7226
7225
|
}
|
7227
|
-
var
|
7228
|
-
function
|
7229
|
-
for (var r = e.length; r-- &&
|
7226
|
+
var Zr = /\s/;
|
7227
|
+
function Qr(e) {
|
7228
|
+
for (var r = e.length; r-- && Zr.test(e.charAt(r)); )
|
7230
7229
|
;
|
7231
7230
|
return r;
|
7232
7231
|
}
|
7233
|
-
var
|
7234
|
-
function
|
7235
|
-
return e && e.slice(0,
|
7232
|
+
var _r = /^\s+/;
|
7233
|
+
function ed(e) {
|
7234
|
+
return e && e.slice(0, Qr(e) + 1).replace(_r, "");
|
7236
7235
|
}
|
7237
7236
|
function at(e) {
|
7238
7237
|
var r = typeof e;
|
7239
7238
|
return e != null && (r == "object" || r == "function");
|
7240
7239
|
}
|
7241
|
-
var yt = NaN,
|
7240
|
+
var yt = NaN, td = /^[-+]0x[0-9a-f]+$/i, ld = /^0b[01]+$/i, ad = /^0o[0-7]+$/i, nd = parseInt;
|
7242
7241
|
function xt(e) {
|
7243
7242
|
if (typeof e == "number")
|
7244
7243
|
return e;
|
7245
|
-
if (
|
7244
|
+
if (Jr(e))
|
7246
7245
|
return yt;
|
7247
7246
|
if (at(e)) {
|
7248
7247
|
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
@@ -7250,18 +7249,18 @@ function xt(e) {
|
|
7250
7249
|
}
|
7251
7250
|
if (typeof e != "string")
|
7252
7251
|
return e === 0 ? e : +e;
|
7253
|
-
e =
|
7254
|
-
var a =
|
7255
|
-
return a ||
|
7252
|
+
e = ed(e);
|
7253
|
+
var a = ld.test(e);
|
7254
|
+
return a || ad.test(e) ? nd(e.slice(2), a ? 2 : 8) : td.test(e) ? yt : +e;
|
7256
7255
|
}
|
7257
7256
|
var tt = function() {
|
7258
7257
|
return Lt.Date.now();
|
7259
|
-
},
|
7260
|
-
function
|
7258
|
+
}, od = "Expected a function", id = Math.max, sd = Math.min;
|
7259
|
+
function rd(e, r, a) {
|
7261
7260
|
var l, o, d, c, u, v, b = 0, y = !1, h = !1, O = !0;
|
7262
7261
|
if (typeof e != "function")
|
7263
|
-
throw new TypeError(
|
7264
|
-
r = xt(r) || 0, at(a) && (y = !!a.leading, h = "maxWait" in a, d = h ?
|
7262
|
+
throw new TypeError(od);
|
7263
|
+
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
7264
|
function D(E) {
|
7266
7265
|
var P = l, A = o;
|
7267
7266
|
return l = o = void 0, b = E, c = e.apply(A, P), c;
|
@@ -7271,7 +7270,7 @@ function dd(e, r, a) {
|
|
7271
7270
|
}
|
7272
7271
|
function j(E) {
|
7273
7272
|
var P = E - v, A = E - b, U = r - P;
|
7274
|
-
return h ?
|
7273
|
+
return h ? sd(U, d - A) : U;
|
7275
7274
|
}
|
7276
7275
|
function k(E) {
|
7277
7276
|
var P = E - v, A = E - b;
|
@@ -7304,13 +7303,13 @@ function dd(e, r, a) {
|
|
7304
7303
|
}
|
7305
7304
|
return N.cancel = I, N.flush = V, N;
|
7306
7305
|
}
|
7307
|
-
const
|
7306
|
+
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
7307
|
key: 0,
|
7309
7308
|
class: "grid grid-cols-3 gap-3"
|
7310
|
-
},
|
7309
|
+
}, gd = ["onClick"], pd = {
|
7311
7310
|
key: 1,
|
7312
7311
|
class: "grid grid-cols-3 gap-3"
|
7313
|
-
},
|
7312
|
+
}, yd = ["onClick"], xd = ["onClick", "onMouseover"], hd = { key: 0 }, bd = { class: "flex gap-x-3 justify-end" }, wd = {
|
7314
7313
|
__name: "OcCalendar",
|
7315
7314
|
props: {
|
7316
7315
|
type: {
|
@@ -7417,7 +7416,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7417
7416
|
return;
|
7418
7417
|
}
|
7419
7418
|
c.value = Y, v.value = q, J && $e();
|
7420
|
-
}, ke =
|
7419
|
+
}, ke = rd((q) => {
|
7421
7420
|
O.value && Ve(q, !1);
|
7422
7421
|
}, 50), Q = () => {
|
7423
7422
|
var J, Y, ce;
|
@@ -7432,7 +7431,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7432
7431
|
return Q(), (q, J) => (t(), s("div", {
|
7433
7432
|
class: f(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
7434
7433
|
}, [
|
7435
|
-
n("div",
|
7434
|
+
n("div", dd, [
|
7436
7435
|
x(i(ne), {
|
7437
7436
|
modelValue: C.value,
|
7438
7437
|
"onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
|
@@ -7443,8 +7442,8 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7443
7442
|
"popper-options": { strategy: "fixed" }
|
7444
7443
|
}, {
|
7445
7444
|
menu: w(() => [
|
7446
|
-
n("div",
|
7447
|
-
n("div",
|
7445
|
+
n("div", cd, [
|
7446
|
+
n("div", ud, [
|
7448
7447
|
x(i(G), {
|
7449
7448
|
"left-icon": "chevron-left",
|
7450
7449
|
"is-transparent": "",
|
@@ -7454,7 +7453,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7454
7453
|
class: "cursor-pointer hover:opacity-50 transition",
|
7455
7454
|
onClick: J[0] || (J[0] = (Y) => D.value = !D.value)
|
7456
7455
|
}, [
|
7457
|
-
D.value ? (t(), s("div",
|
7456
|
+
D.value ? (t(), s("div", md, $(I.value - 11) + " - " + $(I.value), 1)) : (t(), s("div", fd, $(I.value), 1))
|
7458
7457
|
]),
|
7459
7458
|
x(i(G), {
|
7460
7459
|
"left-icon": "chevron-right",
|
@@ -7462,22 +7461,22 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7462
7461
|
onClick: se
|
7463
7462
|
})
|
7464
7463
|
]),
|
7465
|
-
D.value ? (t(), s("div",
|
7464
|
+
D.value ? (t(), s("div", vd, [
|
7466
7465
|
(t(!0), s(L, null, R(Oe(I.value - 11), (Y) => (t(), s("div", {
|
7467
7466
|
key: Y,
|
7468
7467
|
class: f(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7469
7468
|
"!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
|
7470
7469
|
}]),
|
7471
7470
|
onClick: (ce) => _(Y)
|
7472
|
-
}, $(Y), 11,
|
7473
|
-
])) : (t(), s("div",
|
7471
|
+
}, $(Y), 11, gd))), 128))
|
7472
|
+
])) : (t(), s("div", pd, [
|
7474
7473
|
(t(), s(L, null, R(B, (Y, ce) => n("div", {
|
7475
7474
|
key: Y,
|
7476
7475
|
class: f(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7477
7476
|
"!border-oc-primary bg-oc-primary text-white": V.value === Y
|
7478
7477
|
}]),
|
7479
7478
|
onClick: (Pe) => ee(ce)
|
7480
|
-
}, $(Y), 11,
|
7479
|
+
}, $(Y), 11, yd)), 64))
|
7481
7480
|
]))
|
7482
7481
|
])
|
7483
7482
|
]),
|
@@ -7526,11 +7525,11 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7526
7525
|
]]),
|
7527
7526
|
onClick: (Pe) => Ve(Y),
|
7528
7527
|
onMouseover: (Pe) => i(ke)(Y)
|
7529
|
-
}, $(Y), 43,
|
7528
|
+
}, $(Y), 43, xd);
|
7530
7529
|
}), 128))
|
7531
7530
|
], 32),
|
7532
7531
|
S(q.$slots, "bottom", {}, () => [
|
7533
|
-
e.isIndefinite ? (t(), s("span",
|
7532
|
+
e.isIndefinite ? (t(), s("span", hd, [
|
7534
7533
|
x(i(De), {
|
7535
7534
|
modelValue: h.value,
|
7536
7535
|
"onUpdate:modelValue": [
|
@@ -7541,7 +7540,7 @@ const cd = { class: "flex items-center justify-between" }, ud = { class: "flex f
|
|
7541
7540
|
}, null, 8, ["modelValue", "label"])
|
7542
7541
|
])) : m("", !0)
|
7543
7542
|
]),
|
7544
|
-
n("div",
|
7543
|
+
n("div", bd, [
|
7545
7544
|
x(i(G), {
|
7546
7545
|
label: "Reset",
|
7547
7546
|
class: "w-[72px]",
|
@@ -7556,13 +7555,13 @@ K.extend(Tt);
|
|
7556
7555
|
K.extend(At);
|
7557
7556
|
K.extend(Mt);
|
7558
7557
|
K.extend(nt);
|
7559
|
-
const
|
7558
|
+
const $d = { class: "flex flex-col gap-y-2 w-full" }, kd = { class: "flex w-full" }, Sd = {
|
7560
7559
|
key: 0,
|
7561
7560
|
class: "text-sm text-oc-error flex items-center"
|
7562
|
-
},
|
7561
|
+
}, Cd = {
|
7563
7562
|
key: 1,
|
7564
7563
|
class: "flex flex-wrap cursor-pointer"
|
7565
|
-
},
|
7564
|
+
}, Vd = { class: "flex items-center gap-x-3" }, Od = ["value"], Bd = { class: "flex items-center gap-x-3" }, Id = ["value"], Td = {
|
7566
7565
|
__name: "DatePicker",
|
7567
7566
|
props: {
|
7568
7567
|
modelValue: {
|
@@ -7697,7 +7696,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7697
7696
|
}, () => {
|
7698
7697
|
var I, V;
|
7699
7698
|
return [
|
7700
|
-
v.value ? (t(), p(i(
|
7699
|
+
v.value ? (t(), p(i(hu), {
|
7701
7700
|
key: 0,
|
7702
7701
|
"model-value": {
|
7703
7702
|
start: (I = e.modelValue) == null ? void 0 : I[0],
|
@@ -7711,7 +7710,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7711
7710
|
"max-date": e.maxDate,
|
7712
7711
|
masks: { modelValue: e.dateFormat },
|
7713
7712
|
"onUpdate:modelValue": y
|
7714
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(i(
|
7713
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(i(wd), {
|
7715
7714
|
key: 1,
|
7716
7715
|
"model-value": b.value ? b.value.toDate() : /* @__PURE__ */ new Date(),
|
7717
7716
|
"disabled-date": d.value ? O : e.disabledDate,
|
@@ -7728,9 +7727,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7728
7727
|
})
|
7729
7728
|
]),
|
7730
7729
|
default: w(() => [
|
7731
|
-
n("div",
|
7730
|
+
n("div", $d, [
|
7732
7731
|
!e.isSplitInput || !v.value ? (t(), s(L, { key: 0 }, [
|
7733
|
-
n("div",
|
7732
|
+
n("div", kd, [
|
7734
7733
|
x(i(xe), {
|
7735
7734
|
"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
7735
|
icon: "calendar",
|
@@ -7741,8 +7740,8 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7741
7740
|
placeholder: e.placeholder
|
7742
7741
|
}, null, 8, ["model-value", "label", "hint", "is-required", "disabled", "placeholder"])
|
7743
7742
|
]),
|
7744
|
-
e.errorMessage ? (t(), s("div",
|
7745
|
-
], 64)) : (t(), s("div",
|
7743
|
+
e.errorMessage ? (t(), s("div", Sd, $(e.errorMessage), 1)) : m("", !0)
|
7744
|
+
], 64)) : (t(), s("div", Cd, [
|
7746
7745
|
x(i(ge), {
|
7747
7746
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
7748
7747
|
hint: e.hint,
|
@@ -7760,7 +7759,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7760
7759
|
]]),
|
7761
7760
|
onClick: B[2] || (B[2] = (g) => o.value ? g.stopPropagation : null)
|
7762
7761
|
}, [
|
7763
|
-
n("div",
|
7762
|
+
n("div", Vd, [
|
7764
7763
|
x(i(T), {
|
7765
7764
|
name: "calendar",
|
7766
7765
|
class: "text-oc-text-400"
|
@@ -7772,10 +7771,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7772
7771
|
onInput: B[0] || (B[0] = (g) => C(g.target.value, 0)),
|
7773
7772
|
onKeydown: Ue(j, ["enter"]),
|
7774
7773
|
onBlur: j
|
7775
|
-
}, null, 40,
|
7774
|
+
}, null, 40, Od)
|
7776
7775
|
]),
|
7777
7776
|
B[4] || (B[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
7778
|
-
n("div",
|
7777
|
+
n("div", Bd, [
|
7779
7778
|
n("input", {
|
7780
7779
|
placeholder: "End date",
|
7781
7780
|
value: b.value[1] ? b.value[1].format(e.dateFormat) : "",
|
@@ -7783,7 +7782,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7783
7782
|
onInput: B[1] || (B[1] = (g) => C(g.target.value, 1)),
|
7784
7783
|
onKeydown: Ue(j, ["enter"]),
|
7785
7784
|
onBlur: j
|
7786
|
-
}, null, 40,
|
7785
|
+
}, null, 40, Id),
|
7787
7786
|
x(i(T), {
|
7788
7787
|
class: f([b.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
7789
7788
|
width: "16",
|
@@ -7802,10 +7801,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7802
7801
|
_: 3
|
7803
7802
|
}, 8, ["modelValue", "is-disabled"]));
|
7804
7803
|
}
|
7805
|
-
},
|
7804
|
+
}, 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
7805
|
key: 1,
|
7807
7806
|
class: "text-sm text-oc-error flex items-center"
|
7808
|
-
},
|
7807
|
+
}, Ld = {
|
7809
7808
|
__name: "OcSectionItem",
|
7810
7809
|
props: {
|
7811
7810
|
title: String,
|
@@ -7831,16 +7830,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7831
7830
|
emits: ["update:modelValue"],
|
7832
7831
|
setup(e, { emit: r }) {
|
7833
7832
|
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",
|
7833
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), s("div", Dd, [
|
7834
|
+
n("div", Ad, [
|
7835
|
+
n("div", jd, [
|
7837
7836
|
W($(e.title) + " ", 1),
|
7838
7837
|
x(i(le), {
|
7839
7838
|
position: "top",
|
7840
7839
|
distance: 4
|
7841
7840
|
}, {
|
7842
7841
|
popper: w(() => [
|
7843
|
-
n("div",
|
7842
|
+
n("div", Md, $(e.popperMessage), 1)
|
7844
7843
|
]),
|
7845
7844
|
default: w(() => [
|
7846
7845
|
e.icon ? (t(), p(i(T), {
|
@@ -7858,7 +7857,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7858
7857
|
key: 0,
|
7859
7858
|
class: f(["text-oc-text-400 text-sm", e.descriptionClass])
|
7860
7859
|
}, $(e.description), 3)) : m("", !0),
|
7861
|
-
e.errorMessage ? (t(), s("div",
|
7860
|
+
e.errorMessage ? (t(), s("div", Pd, $(e.errorMessage), 1)) : m("", !0)
|
7862
7861
|
]),
|
7863
7862
|
S(o.$slots, "actions", {}, () => [
|
7864
7863
|
e.isToggle ? (t(), p(i(St), F({
|
@@ -7870,13 +7869,13 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7870
7869
|
])
|
7871
7870
|
]));
|
7872
7871
|
}
|
7873
|
-
},
|
7872
|
+
}, Ed = {
|
7874
7873
|
key: 0,
|
7875
7874
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
7876
|
-
},
|
7875
|
+
}, zd = ["onClick"], Nd = ["src"], Rd = {
|
7877
7876
|
key: 0,
|
7878
7877
|
class: "flex text-sm text-oc-text-400 mt-2"
|
7879
|
-
},
|
7878
|
+
}, Fd = {
|
7880
7879
|
__name: "OcSelectOptions",
|
7881
7880
|
props: {
|
7882
7881
|
variant: {
|
@@ -7941,7 +7940,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7941
7940
|
}
|
7942
7941
|
]])
|
7943
7942
|
}, [
|
7944
|
-
e.optionType === "icon" ? (t(), s("div",
|
7943
|
+
e.optionType === "icon" ? (t(), s("div", Ed, [
|
7945
7944
|
(t(!0), s(L, null, R(e.options, (v) => (t(), s("div", {
|
7946
7945
|
key: v.value,
|
7947
7946
|
class: f(["p-1", {
|
@@ -7975,7 +7974,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7975
7974
|
"w-[50px]": !d.value
|
7976
7975
|
}]),
|
7977
7976
|
src: v.preview
|
7978
|
-
}, null, 10,
|
7977
|
+
}, null, 10, Nd)) : m("", !0),
|
7979
7978
|
n("div", {
|
7980
7979
|
class: f(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
7981
7980
|
}, [
|
@@ -7986,7 +7985,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7986
7985
|
"text-oc-text-500": d.value && v.value.toString() === e.modelValue.toString()
|
7987
7986
|
}])
|
7988
7987
|
}, $(v.label), 3),
|
7989
|
-
v.description ? (t(), s("div",
|
7988
|
+
v.description ? (t(), s("div", Rd, $(v.description), 1)) : m("", !0)
|
7990
7989
|
], 2),
|
7991
7990
|
e.borderless ? (t(), p(i(T), {
|
7992
7991
|
key: 1,
|
@@ -7996,16 +7995,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
7996
7995
|
class: f(["text-oc-primary", v.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
7997
7996
|
}, null, 8, ["class"])) : m("", !0)
|
7998
7997
|
])
|
7999
|
-
], 10,
|
7998
|
+
], 10, zd))), 128))
|
8000
7999
|
], 2)
|
8001
8000
|
]),
|
8002
8001
|
_: 3
|
8003
8002
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
8004
8003
|
}
|
8005
|
-
},
|
8004
|
+
}, Ud = { class: "flex gap-x-3" }, qd = {
|
8006
8005
|
key: 0,
|
8007
8006
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8008
|
-
},
|
8007
|
+
}, Hd = ["accept"], Yd = { class: "py-2 flex flex-col" }, Wd = ["src"], Kd = /* @__PURE__ */ Z({
|
8009
8008
|
__name: "OcSingleOnlyImageUpload",
|
8010
8009
|
props: {
|
8011
8010
|
accept: {
|
@@ -8030,12 +8029,12 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8030
8029
|
};
|
8031
8030
|
return (b, y) => {
|
8032
8031
|
var h, O;
|
8033
|
-
return t(), s("div",
|
8032
|
+
return t(), s("div", Ud, [
|
8034
8033
|
(h = e.uploadedImage) != null && h.fileUrl ? m("", !0) : (t(), s("label", {
|
8035
8034
|
key: 0,
|
8036
8035
|
class: f([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
8037
8036
|
}, [
|
8038
|
-
e.showUploadImageArea ? (t(), s("div",
|
8037
|
+
e.showUploadImageArea ? (t(), s("div", qd, [
|
8039
8038
|
n("div", {
|
8040
8039
|
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
8040
|
}, [
|
@@ -8059,7 +8058,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8059
8058
|
onDragover: y[1] || (y[1] = (D) => u.value = !0),
|
8060
8059
|
onDragleave: y[2] || (y[2] = (D) => u.value = !1),
|
8061
8060
|
onDrop: y[3] || (y[3] = (D) => u.value = !1)
|
8062
|
-
}, null, 40,
|
8061
|
+
}, null, 40, Hd)
|
8063
8062
|
], 2)),
|
8064
8063
|
(O = e.uploadedImage) != null && O.fileUrl ? (t(), s("div", {
|
8065
8064
|
key: 1,
|
@@ -8072,7 +8071,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8072
8071
|
class: "absolute top-2 right-2 z-[1010]"
|
8073
8072
|
}, {
|
8074
8073
|
menu: w(() => [
|
8075
|
-
n("div",
|
8074
|
+
n("div", Yd, [
|
8076
8075
|
n("div", {
|
8077
8076
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8078
8077
|
onClick: y[4] || (y[4] = () => {
|
@@ -8113,9 +8112,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8113
8112
|
src: e.uploadedImage.fileUrl,
|
8114
8113
|
alt: "uploaded-image",
|
8115
8114
|
class: "object-contain h-full w-full"
|
8116
|
-
}, null, 8,
|
8115
|
+
}, null, 8, Wd)
|
8117
8116
|
], 2)) : m("", !0),
|
8118
|
-
(t(), p(
|
8117
|
+
(t(), p(Ut, { to: "body" }, [
|
8119
8118
|
d.value ? (t(), p(i(ot), {
|
8120
8119
|
key: 0,
|
8121
8120
|
modelValue: d.value,
|
@@ -8130,13 +8129,13 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8130
8129
|
]);
|
8131
8130
|
};
|
8132
8131
|
}
|
8133
|
-
}),
|
8132
|
+
}), Gd = ["accept"], Xd = {
|
8134
8133
|
key: 0,
|
8135
8134
|
class: "py-2 flex flex-col items-center gap-y-4"
|
8136
|
-
},
|
8135
|
+
}, 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
8136
|
key: 0,
|
8138
8137
|
class: "relative group w-fit rounded overflow-hidden"
|
8139
|
-
},
|
8138
|
+
}, 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
8139
|
__name: "OcSingleFileUpload",
|
8141
8140
|
props: {
|
8142
8141
|
format: {
|
@@ -8251,7 +8250,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8251
8250
|
default: w(() => {
|
8252
8251
|
var U, H, X, ee, _, oe, se, me, be, we, fe, $e, ie, Ve, ke;
|
8253
8252
|
return [
|
8254
|
-
e.isImageOnly ? (t(), p(
|
8253
|
+
e.isImageOnly ? (t(), p(Kd, {
|
8255
8254
|
key: 0,
|
8256
8255
|
accept: e.accept,
|
8257
8256
|
"uploaded-image": k.value,
|
@@ -8274,7 +8273,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8274
8273
|
type: "file",
|
8275
8274
|
accept: e.accept,
|
8276
8275
|
onChange: A[3] || (A[3] = (Q) => i(D)(Q, a.format === "object"))
|
8277
|
-
}, null, 40,
|
8276
|
+
}, null, 40, Gd)
|
8278
8277
|
], 64)) : (t(), s(L, { key: 2 }, [
|
8279
8278
|
i(O).length ? (t(), s("div", {
|
8280
8279
|
key: 1,
|
@@ -8283,16 +8282,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8283
8282
|
"!bg-oc-bg-dark": e.isDisabled
|
8284
8283
|
}])
|
8285
8284
|
}, [
|
8286
|
-
e.isPreview && ((ee = k.value) == null ? void 0 : ee.progress) === 100 ? (t(), s("div",
|
8285
|
+
e.isPreview && ((ee = k.value) == null ? void 0 : ee.progress) === 100 ? (t(), s("div", _d, [
|
8287
8286
|
(oe = (_ = k.value) == null ? void 0 : _.file) != null && oe.type.includes("video") ? (t(), s("video", {
|
8288
8287
|
key: 0,
|
8289
8288
|
autoplay: "",
|
8290
8289
|
loop: "",
|
8291
8290
|
src: j.value
|
8292
|
-
}, null, 8,
|
8291
|
+
}, null, 8, ec)) : (t(), s("img", {
|
8293
8292
|
key: 1,
|
8294
8293
|
src: (se = k.value) == null ? void 0 : se.fileUrl
|
8295
|
-
}, null, 8,
|
8294
|
+
}, null, 8, tc)),
|
8296
8295
|
x(i(ne), {
|
8297
8296
|
modelValue: b.value,
|
8298
8297
|
"onUpdate:modelValue": A[13] || (A[13] = (Q) => b.value = Q),
|
@@ -8301,7 +8300,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8301
8300
|
menu: w(() => {
|
8302
8301
|
var Q, Oe;
|
8303
8302
|
return [
|
8304
|
-
n("div",
|
8303
|
+
n("div", lc, [
|
8305
8304
|
!((Oe = (Q = k.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), s("div", {
|
8306
8305
|
key: 0,
|
8307
8306
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
@@ -8349,25 +8348,25 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8349
8348
|
onChangeImage: I
|
8350
8349
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
8351
8350
|
])) : (t(), s(L, { key: 1 }, [
|
8352
|
-
n("div",
|
8353
|
-
n("div",
|
8351
|
+
n("div", ac, [
|
8352
|
+
n("div", nc, [
|
8354
8353
|
x(i(T), {
|
8355
8354
|
name: "file-extension",
|
8356
8355
|
width: "14",
|
8357
8356
|
height: "10"
|
8358
8357
|
}),
|
8359
|
-
n("span",
|
8358
|
+
n("span", oc, $((we = k.value) == null ? void 0 : we.extension), 1)
|
8360
8359
|
]),
|
8361
8360
|
n("div", {
|
8362
8361
|
class: f([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8363
8362
|
}, $((fe = k.value) == null ? void 0 : fe.fileName), 3)
|
8364
8363
|
]),
|
8365
|
-
n("div",
|
8364
|
+
n("div", ic, [
|
8366
8365
|
n("div", {
|
8367
8366
|
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
8367
|
}, [
|
8369
|
-
n("span",
|
8370
|
-
n("div",
|
8368
|
+
n("span", sc, $(((ie = k.value) == null ? void 0 : ie.progress) || 0) + "% ", 1),
|
8369
|
+
n("div", rc, [
|
8371
8370
|
n("div", {
|
8372
8371
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
8373
8372
|
style: re({ width: `${((Ve = k.value) == null ? void 0 : Ve.progress) || 0}%` })
|
@@ -8387,8 +8386,8 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8387
8386
|
]))
|
8388
8387
|
])
|
8389
8388
|
], 64))
|
8390
|
-
], 2)) : (t(), s("div",
|
8391
|
-
n("div",
|
8389
|
+
], 2)) : (t(), s("div", Xd, [
|
8390
|
+
n("div", Jd, [
|
8392
8391
|
e.variant === "url" ? (t(), s(L, { key: 0 }, [
|
8393
8392
|
x(i(xe), {
|
8394
8393
|
modelValue: d.value,
|
@@ -8422,7 +8421,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8422
8421
|
onDragover: A[10] || (A[10] = ye(() => {
|
8423
8422
|
}, ["prevent"]))
|
8424
8423
|
}, [
|
8425
|
-
n("span",
|
8424
|
+
n("span", Zd, $(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8426
8425
|
x(i(G), {
|
8427
8426
|
size: "small",
|
8428
8427
|
"is-disabled": e.isDisabled,
|
@@ -8439,7 +8438,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8439
8438
|
type: "file",
|
8440
8439
|
accept: e.accept,
|
8441
8440
|
onChange: A[11] || (A[11] = (Q) => i(D)(Q, a.format === "object"))
|
8442
|
-
}, null, 40,
|
8441
|
+
}, null, 40, Qd)
|
8443
8442
|
])
|
8444
8443
|
]))
|
8445
8444
|
], 64))
|
@@ -8448,13 +8447,13 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8448
8447
|
_: 3
|
8449
8448
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
8450
8449
|
}
|
8451
|
-
},
|
8450
|
+
}, dc = { class: "relative min-h-[100px]" }, cc = {
|
8452
8451
|
key: 0,
|
8453
8452
|
class: "absolute"
|
8454
|
-
},
|
8453
|
+
}, 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
8454
|
key: 0,
|
8456
8455
|
class: "cursor-pointer m-auto drag-el"
|
8457
|
-
},
|
8456
|
+
}, hc = {
|
8458
8457
|
__name: "OcSimpleMultipleUpload",
|
8459
8458
|
props: {
|
8460
8459
|
accept: {
|
@@ -8521,9 +8520,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8521
8520
|
u.value[E] = V[E];
|
8522
8521
|
}), o[I] = !1, d.value = !0;
|
8523
8522
|
};
|
8524
|
-
return (I, V) => (t(), s("div",
|
8525
|
-
B.value ? (t(), s("label",
|
8526
|
-
n("div",
|
8523
|
+
return (I, V) => (t(), s("div", dc, [
|
8524
|
+
B.value ? (t(), s("label", cc, [
|
8525
|
+
n("div", uc, [
|
8527
8526
|
x(i(T), { name: "plus" })
|
8528
8527
|
]),
|
8529
8528
|
O.value ? m("", !0) : (t(), s("input", {
|
@@ -8533,9 +8532,9 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8533
8532
|
accept: e.accept || "image/png, image/jpeg",
|
8534
8533
|
multiple: a.maxImages !== 1,
|
8535
8534
|
onChange: k
|
8536
|
-
}, null, 40,
|
8535
|
+
}, null, 40, mc))
|
8537
8536
|
])) : m("", !0),
|
8538
|
-
(t(), p(i(
|
8537
|
+
(t(), p(i(bu), {
|
8539
8538
|
key: e.uploadedImages.length,
|
8540
8539
|
"model-value": e.uploadedImages,
|
8541
8540
|
filter: "filtered-el",
|
@@ -8565,7 +8564,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8565
8564
|
removeItem: h,
|
8566
8565
|
fileIndex: P
|
8567
8566
|
}, () => [
|
8568
|
-
n("div",
|
8567
|
+
n("div", vc, [
|
8569
8568
|
n("div", {
|
8570
8569
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8571
8570
|
onClick: (A) => g(P, E)
|
@@ -8576,7 +8575,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8576
8575
|
name: "pencil"
|
8577
8576
|
}),
|
8578
8577
|
V[4] || (V[4] = n("span", null, "Edit Image", -1))
|
8579
|
-
], 8,
|
8578
|
+
], 8, gc),
|
8580
8579
|
n("div", {
|
8581
8580
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
8582
8581
|
onClick: () => {
|
@@ -8589,7 +8588,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8589
8588
|
name: "bin"
|
8590
8589
|
}),
|
8591
8590
|
V[5] || (V[5] = n("span", null, "Delete", -1))
|
8592
|
-
], 8,
|
8591
|
+
], 8, pc)
|
8593
8592
|
])
|
8594
8593
|
])
|
8595
8594
|
]),
|
@@ -8613,15 +8612,15 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8613
8612
|
}, null, 4)
|
8614
8613
|
], 2)
|
8615
8614
|
], 2),
|
8616
|
-
n("div",
|
8617
|
-
a.maxImages !== 1 ? (t(), s("span",
|
8615
|
+
n("div", yc, [
|
8616
|
+
a.maxImages !== 1 ? (t(), s("span", xc, [
|
8618
8617
|
x(i(T), {
|
8619
8618
|
name: "arrows",
|
8620
8619
|
class: "text-oc-accent-1-50"
|
8621
8620
|
})
|
8622
8621
|
])) : m("", !0)
|
8623
8622
|
])
|
8624
|
-
], 14,
|
8623
|
+
], 14, fc))), 128))
|
8625
8624
|
]),
|
8626
8625
|
_: 3
|
8627
8626
|
}, 8, ["model-value", "style"])),
|
@@ -8638,7 +8637,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8638
8637
|
onChangeImage: C,
|
8639
8638
|
"onUpdate:inputOptions": j
|
8640
8639
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
8641
|
-
x(i(
|
8640
|
+
x(i(tu), {
|
8642
8641
|
modelValue: b.value,
|
8643
8642
|
"onUpdate:modelValue": V[3] || (V[3] = (N) => b.value = N),
|
8644
8643
|
description: "Do you want to delete this image ?",
|
@@ -8646,16 +8645,16 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8646
8645
|
}, null, 8, ["modelValue"])
|
8647
8646
|
]));
|
8648
8647
|
}
|
8649
|
-
},
|
8648
|
+
}, 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
8649
|
key: 1,
|
8651
8650
|
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
|
-
},
|
8651
|
+
}, Tc = { key: 0 }, Dc = { key: 1 }, Ac = {
|
8653
8652
|
key: 2,
|
8654
8653
|
class: "text-center"
|
8655
|
-
},
|
8654
|
+
}, jc = {
|
8656
8655
|
key: 2,
|
8657
8656
|
class: "mt-3 flex items-center justify-center"
|
8658
|
-
},
|
8657
|
+
}, Vm = {
|
8659
8658
|
__name: "OcMultipleUploadFile",
|
8660
8659
|
props: {
|
8661
8660
|
modelValue: {
|
@@ -8735,7 +8734,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8735
8734
|
var C;
|
8736
8735
|
(C = o.value) == null || C.click();
|
8737
8736
|
};
|
8738
|
-
return (C, j) => (t(), s("div",
|
8737
|
+
return (C, j) => (t(), s("div", bc, [
|
8739
8738
|
x(i(ge), {
|
8740
8739
|
label: e.label,
|
8741
8740
|
hint: e.hint,
|
@@ -8745,7 +8744,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8745
8744
|
S(C.$slots, "hint")
|
8746
8745
|
]),
|
8747
8746
|
default: w(() => [
|
8748
|
-
e.isImageOnly ? (t(), p(
|
8747
|
+
e.isImageOnly ? (t(), p(hc, {
|
8749
8748
|
key: 0,
|
8750
8749
|
"uploaded-images": i(v),
|
8751
8750
|
"selected-image": e.selectedImage,
|
@@ -8784,7 +8783,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8784
8783
|
multiple: "",
|
8785
8784
|
accept: e.accept,
|
8786
8785
|
onChange: h
|
8787
|
-
}, null, 40,
|
8786
|
+
}, null, 40, wc)
|
8788
8787
|
], 64)) : (t(), s("div", {
|
8789
8788
|
key: 2,
|
8790
8789
|
class: f(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
@@ -8794,27 +8793,27 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8794
8793
|
}
|
8795
8794
|
]])
|
8796
8795
|
}, [
|
8797
|
-
n("div",
|
8796
|
+
n("div", $c, [
|
8798
8797
|
(t(!0), s(L, null, R(i(v), (k, B) => (t(), s("div", {
|
8799
8798
|
key: `${B}-${k.fileName}`,
|
8800
8799
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
8801
8800
|
}, [
|
8802
|
-
n("div",
|
8803
|
-
n("div",
|
8801
|
+
n("div", kc, [
|
8802
|
+
n("div", Sc, [
|
8804
8803
|
x(i(T), {
|
8805
8804
|
name: "file-extension",
|
8806
8805
|
width: "14",
|
8807
8806
|
height: "10"
|
8808
8807
|
}),
|
8809
|
-
n("span",
|
8808
|
+
n("span", Cc, $(k.extension), 1)
|
8810
8809
|
]),
|
8811
|
-
n("span",
|
8810
|
+
n("span", Vc, $(k == null ? void 0 : k.fileName), 1)
|
8812
8811
|
]),
|
8813
8812
|
c.value ? (t(), s("div", {
|
8814
8813
|
key: 0,
|
8815
8814
|
class: f(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": k.progress === 100 }])
|
8816
8815
|
}, [
|
8817
|
-
n("div",
|
8816
|
+
n("div", Oc, [
|
8818
8817
|
n("div", {
|
8819
8818
|
style: re({ width: `${k.progress}%` }),
|
8820
8819
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
@@ -8856,15 +8855,15 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8856
8855
|
onDragleave: j[6] || (j[6] = (k) => d.value = !1),
|
8857
8856
|
onDrop: j[7] || (j[7] = (k) => d.value = !1),
|
8858
8857
|
onChange: h
|
8859
|
-
}, null, 40,
|
8860
|
-
i(v).length ? e.isDisabled ? m("", !0) : (t(), s("div",
|
8858
|
+
}, null, 40, Bc)),
|
8859
|
+
i(v).length ? e.isDisabled ? m("", !0) : (t(), s("div", jc, j[9] || (j[9] = [
|
8861
8860
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
8862
|
-
]))) : (t(), s("div",
|
8861
|
+
]))) : (t(), s("div", Ic, [
|
8863
8862
|
x(i(T), {
|
8864
8863
|
name: "upload",
|
8865
8864
|
class: f(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
8866
8865
|
}, null, 8, ["class"]),
|
8867
|
-
e.labelUploadArea ? (t(), s("div",
|
8866
|
+
e.labelUploadArea ? (t(), s("div", Tc, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), s("div", Dc, "Upload disabled")) : (t(), s("div", Ac, [
|
8868
8867
|
j[8] || (j[8] = n("div", null, "Select documents or drag here", -1)),
|
8869
8868
|
n("div", null, "File max " + $(e.maxSize) + "MB", 1)
|
8870
8869
|
]))
|
@@ -8876,7 +8875,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8876
8875
|
}, 8, ["label", "hint", "error-message"])
|
8877
8876
|
]));
|
8878
8877
|
}
|
8879
|
-
},
|
8878
|
+
}, Mc = ["value"], Pc = /* @__PURE__ */ Z({
|
8880
8879
|
__name: "OcNumberInput",
|
8881
8880
|
props: {
|
8882
8881
|
modelValue: {
|
@@ -8936,7 +8935,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8936
8935
|
placeholder: "1",
|
8937
8936
|
onKeydown: c,
|
8938
8937
|
onInput: v[0] || (v[0] = (b) => u.$emit("update:modelValue", b.target.value))
|
8939
|
-
}, null, 42,
|
8938
|
+
}, null, 42, Mc),
|
8940
8939
|
x(i(G), {
|
8941
8940
|
variant: "secondary",
|
8942
8941
|
class: "w-[28px] shrink-0 aspect-square",
|
@@ -8951,7 +8950,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
8951
8950
|
_: 1
|
8952
8951
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
8953
8952
|
}
|
8954
|
-
}),
|
8953
|
+
}), Lc = {
|
8955
8954
|
__name: "OcDropdown",
|
8956
8955
|
props: {
|
8957
8956
|
distance: {
|
@@ -9051,7 +9050,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9051
9050
|
[i(wt), v]
|
9052
9051
|
]);
|
9053
9052
|
}
|
9054
|
-
}, ne = /* @__PURE__ */ he(
|
9053
|
+
}, 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
9054
|
key: 0,
|
9056
9055
|
class: "p-3 text-sm text-oc-text-300"
|
9057
9056
|
}, pe = {
|
@@ -9076,27 +9075,27 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9076
9075
|
return (a, l) => (t(), s("div", {
|
9077
9076
|
class: f(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", r.value[e.variant]])
|
9078
9077
|
}, [
|
9079
|
-
n("div",
|
9078
|
+
n("div", Ec, [
|
9080
9079
|
e.icon ? (t(), p(i(T), F({
|
9081
9080
|
key: 0,
|
9082
9081
|
class: "w-5 h-5",
|
9083
9082
|
name: e.icon
|
9084
9083
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : m("", !0),
|
9085
|
-
n("span",
|
9084
|
+
n("span", zc, $(e.text), 1),
|
9086
9085
|
e.pointed ? S(a.$slots, "badge", { key: 1 }, () => [
|
9087
9086
|
l[0] || (l[0] = n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1))
|
9088
9087
|
]) : m("", !0)
|
9089
9088
|
]),
|
9090
|
-
e.subText ? (t(), s("div",
|
9089
|
+
e.subText ? (t(), s("div", Nc, [
|
9091
9090
|
n("span", null, $(e.subText), 1)
|
9092
9091
|
])) : m("", !0)
|
9093
9092
|
], 2));
|
9094
9093
|
}
|
9095
|
-
},
|
9094
|
+
}, Rc = { class: "oc-tooltip-wrapper" }, Fc = {
|
9096
9095
|
key: 0,
|
9097
9096
|
class: "oc-arrow",
|
9098
9097
|
"data-popper-arrow": ""
|
9099
|
-
},
|
9098
|
+
}, Uc = {
|
9100
9099
|
__name: "OcTooltip",
|
9101
9100
|
props: {
|
9102
9101
|
popperClass: {
|
@@ -9171,7 +9170,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9171
9170
|
const v = () => {
|
9172
9171
|
a.value && u();
|
9173
9172
|
};
|
9174
|
-
return (b, y) => Te((t(), s("span",
|
9173
|
+
return (b, y) => Te((t(), s("span", Rc, [
|
9175
9174
|
x(i($t), {
|
9176
9175
|
ref_key: "popper",
|
9177
9176
|
ref: d,
|
@@ -9190,7 +9189,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9190
9189
|
class: f(["oc-tooltip", e.popperClass])
|
9191
9190
|
}, [
|
9192
9191
|
S(b.$slots, "popper", {}, void 0, !0),
|
9193
|
-
e.arrowHidden ? m("", !0) : (t(), s("div",
|
9192
|
+
e.arrowHidden ? m("", !0) : (t(), s("div", Fc))
|
9194
9193
|
], 2), [
|
9195
9194
|
[ze, a.value]
|
9196
9195
|
])
|
@@ -9213,14 +9212,14 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9213
9212
|
[i(wt), v]
|
9214
9213
|
]);
|
9215
9214
|
}
|
9216
|
-
}, le = /* @__PURE__ */ he(
|
9215
|
+
}, le = /* @__PURE__ */ he(Uc, [["__scopeId", "data-v-a902efc5"]]), qc = {
|
9217
9216
|
key: 0,
|
9218
9217
|
id: "modal-overlay-wrapper",
|
9219
9218
|
class: "fixed w-screen z-[1007] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9220
|
-
},
|
9219
|
+
}, Hc = { class: "flex flex-col gap-y-1 overflow-hidden" }, Yc = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, Wc = {
|
9221
9220
|
key: 0,
|
9222
9221
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
9223
|
-
},
|
9222
|
+
}, Kc = ["id"], Gc = {
|
9224
9223
|
__name: "OcModal",
|
9225
9224
|
props: {
|
9226
9225
|
isBorderless: Boolean,
|
@@ -9314,10 +9313,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9314
9313
|
(y = v.value) == null || y.addEventListener("scroll", b);
|
9315
9314
|
}, 100);
|
9316
9315
|
}
|
9317
|
-
),
|
9316
|
+
), qt(() => {
|
9318
9317
|
var y;
|
9319
9318
|
(y = v.value) == null || y.removeEventListener("scroll", b);
|
9320
|
-
}), (y, h) => e.modelValue ? (t(), s("div",
|
9319
|
+
}), (y, h) => e.modelValue ? (t(), s("div", qc, [
|
9321
9320
|
n("div", {
|
9322
9321
|
class: "w-full h-full absolute top-0 left-0 z-[1007]",
|
9323
9322
|
onClick: d
|
@@ -9330,10 +9329,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9330
9329
|
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
9330
|
}, [
|
9332
9331
|
S(y.$slots, "header", {}, () => [
|
9333
|
-
n("div",
|
9334
|
-
n("span",
|
9332
|
+
n("div", Hc, [
|
9333
|
+
n("span", Yc, $(e.title), 1),
|
9335
9334
|
S(y.$slots, "description", {}, () => [
|
9336
|
-
e.description ? (t(), s("span",
|
9335
|
+
e.description ? (t(), s("span", Wc, $(e.description), 1)) : m("", !0)
|
9337
9336
|
])
|
9338
9337
|
]),
|
9339
9338
|
e.isCloseIcon ? (t(), s("div", {
|
@@ -9357,7 +9356,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9357
9356
|
onScroll: h[1] || (h[1] = (O) => l("content-scroll", O))
|
9358
9357
|
}, [
|
9359
9358
|
S(y.$slots, "default")
|
9360
|
-
], 42,
|
9359
|
+
], 42, Kc),
|
9361
9360
|
e.isFooterVisible ? (t(), s("div", {
|
9362
9361
|
key: 1,
|
9363
9362
|
class: f(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
@@ -9384,10 +9383,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9384
9383
|
], 2)
|
9385
9384
|
])) : m("", !0);
|
9386
9385
|
}
|
9387
|
-
},
|
9386
|
+
}, Xc = {
|
9388
9387
|
key: 0,
|
9389
9388
|
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
|
-
},
|
9389
|
+
}, Jc = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, Zc = { class: "modal-body p-9" }, Om = {
|
9391
9390
|
__name: "OcModalPage",
|
9392
9391
|
props: {
|
9393
9392
|
modelValue: {
|
@@ -9418,8 +9417,8 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9418
9417
|
emits: ["update:modelValue", "back", "click:outside"],
|
9419
9418
|
setup(e, { emit: r }) {
|
9420
9419
|
const a = r;
|
9421
|
-
return (l, o) => e.modelValue ? (t(), s("div",
|
9422
|
-
n("div",
|
9420
|
+
return (l, o) => e.modelValue ? (t(), s("div", Xc, [
|
9421
|
+
n("div", Jc, [
|
9423
9422
|
S(l.$slots, "top"),
|
9424
9423
|
n("div", {
|
9425
9424
|
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 +9446,14 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9447
9446
|
}),
|
9448
9447
|
o[2] || (o[2] = n("span", null, "Close", -1))
|
9449
9448
|
]),
|
9450
|
-
n("div",
|
9449
|
+
n("div", Zc, [
|
9451
9450
|
S(l.$slots, "default")
|
9452
9451
|
])
|
9453
9452
|
], 2)
|
9454
9453
|
])
|
9455
9454
|
])) : m("", !0);
|
9456
9455
|
}
|
9457
|
-
},
|
9456
|
+
}, Qc = { class: "text-center" }, _c = ["innerHTML"], eu = {
|
9458
9457
|
__name: "OcConfirmation",
|
9459
9458
|
props: {
|
9460
9459
|
description: String,
|
@@ -9493,14 +9492,14 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9493
9492
|
name: e.icon ?? r[e.variant]
|
9494
9493
|
}, null, 8, ["name"])
|
9495
9494
|
], 2)),
|
9496
|
-
n("div",
|
9495
|
+
n("div", Qc, [
|
9497
9496
|
S(l.$slots, "description", {}, () => [
|
9498
|
-
n("span", { innerHTML: e.description }, null, 8,
|
9497
|
+
n("span", { innerHTML: e.description }, null, 8, _c)
|
9499
9498
|
])
|
9500
9499
|
])
|
9501
9500
|
], 2));
|
9502
9501
|
}
|
9503
|
-
},
|
9502
|
+
}, tu = {
|
9504
9503
|
__name: "OcConfirmationModal",
|
9505
9504
|
props: {
|
9506
9505
|
modelValue: {
|
@@ -9573,7 +9572,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9573
9572
|
})), c = (u) => {
|
9574
9573
|
l("update:model-value", u), l("cancel");
|
9575
9574
|
};
|
9576
|
-
return (u, v) => (t(), p(i(
|
9575
|
+
return (u, v) => (t(), p(i(Gc), {
|
9577
9576
|
size: "small",
|
9578
9577
|
"model-value": e.modelValue,
|
9579
9578
|
title: e.title,
|
@@ -9596,7 +9595,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9596
9595
|
onCancel: v[1] || (v[1] = (b) => u.$emit("cancel"))
|
9597
9596
|
}, {
|
9598
9597
|
default: w(() => [
|
9599
|
-
x(
|
9598
|
+
x(eu, {
|
9600
9599
|
"icon-class": e.iconClass,
|
9601
9600
|
variant: e.variant,
|
9602
9601
|
description: e.description,
|
@@ -9616,10 +9615,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9616
9615
|
_: 3
|
9617
9616
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
9618
9617
|
}
|
9619
|
-
},
|
9618
|
+
}, lu = { class: "fixed bottom-[30px] right-[32px]" }, au = { class: "relative" }, nu = {
|
9620
9619
|
key: 0,
|
9621
9620
|
class: "flex items-center justify-end"
|
9622
|
-
},
|
9621
|
+
}, 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
9622
|
__name: "OcSupportMenu",
|
9624
9623
|
props: {
|
9625
9624
|
modelValue: {
|
@@ -9657,7 +9656,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9657
9656
|
const r = {
|
9658
9657
|
arrowHidden: !0
|
9659
9658
|
};
|
9660
|
-
return (a, l) => (t(), s("div",
|
9659
|
+
return (a, l) => (t(), s("div", lu, [
|
9661
9660
|
x(i(ne), {
|
9662
9661
|
"model-value": e.modelValue,
|
9663
9662
|
"popper-options": r,
|
@@ -9666,10 +9665,10 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9666
9665
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.$emit("update:modelValue", o))
|
9667
9666
|
}, {
|
9668
9667
|
menu: w(() => [
|
9669
|
-
n("div",
|
9668
|
+
n("div", iu, [
|
9670
9669
|
(t(!0), s(L, null, R(e.topMenu, (o, d) => (t(), s(L, { key: d }, [
|
9671
|
-
n("div",
|
9672
|
-
n("span",
|
9670
|
+
n("div", su, [
|
9671
|
+
n("span", ru, $(o.title), 1)
|
9673
9672
|
]),
|
9674
9673
|
(t(!0), s(L, null, R(o.items, (c, u) => (t(), p(i(pe), F({
|
9675
9674
|
key: u,
|
@@ -9696,11 +9695,11 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9696
9695
|
])
|
9697
9696
|
]),
|
9698
9697
|
default: w(() => [
|
9699
|
-
n("div",
|
9700
|
-
e.isPointed ? (t(), s("div",
|
9698
|
+
n("div", au, [
|
9699
|
+
e.isPointed ? (t(), s("div", nu, l[1] || (l[1] = [
|
9701
9700
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
9702
9701
|
]))) : m("", !0),
|
9703
|
-
n("div",
|
9702
|
+
n("div", ou, [
|
9704
9703
|
x(i(T), {
|
9705
9704
|
name: "question",
|
9706
9705
|
width: "33",
|
@@ -9713,7 +9712,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9713
9712
|
}, 8, ["model-value"])
|
9714
9713
|
]));
|
9715
9714
|
}
|
9716
|
-
}),
|
9715
|
+
}), du = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Me = /* @__PURE__ */ Z({
|
9717
9716
|
__name: "OcCopyTooltip",
|
9718
9717
|
props: {
|
9719
9718
|
value: [String, Blob],
|
@@ -9743,7 +9742,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9743
9742
|
distance: 20
|
9744
9743
|
}, e.tooltipOptions), {
|
9745
9744
|
popper: w(() => [
|
9746
|
-
n("div",
|
9745
|
+
n("div", du, $(e.tooltipText), 1)
|
9747
9746
|
]),
|
9748
9747
|
default: w(({ isShow: o }) => [
|
9749
9748
|
n("div", {
|
@@ -9762,7 +9761,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9762
9761
|
_: 3
|
9763
9762
|
}, 16));
|
9764
9763
|
}
|
9765
|
-
}),
|
9764
|
+
}), 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
9765
|
__name: "OcWhiteList",
|
9767
9766
|
props: {
|
9768
9767
|
buttonProps: {
|
@@ -9778,28 +9777,28 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9778
9777
|
description: String
|
9779
9778
|
},
|
9780
9779
|
setup(e) {
|
9781
|
-
return (r, a) => (t(), s("div",
|
9780
|
+
return (r, a) => (t(), s("div", cu, [
|
9782
9781
|
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",
|
9782
|
+
n("div", uu, [
|
9783
|
+
n("div", mu, [
|
9785
9784
|
S(r.$slots, "logo", {}, () => [
|
9786
|
-
n("div",
|
9785
|
+
n("div", fu, [
|
9787
9786
|
n("img", {
|
9788
9787
|
src: e.imagePath,
|
9789
9788
|
alt: "logo"
|
9790
|
-
}, null, 8,
|
9789
|
+
}, null, 8, vu)
|
9791
9790
|
])
|
9792
9791
|
]),
|
9793
|
-
n("div",
|
9794
|
-
n("div",
|
9792
|
+
n("div", gu, [
|
9793
|
+
n("div", pu, [
|
9795
9794
|
W($(e.title) + " ", 1),
|
9796
|
-
e.tagOptions ? (t(), p(i(
|
9795
|
+
e.tagOptions ? (t(), p(i(Yt), ue(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
9797
9796
|
]),
|
9798
|
-
n("span",
|
9797
|
+
n("span", yu, $(e.description), 1)
|
9799
9798
|
]),
|
9800
9799
|
S(r.$slots, "bottom")
|
9801
9800
|
]),
|
9802
|
-
n("div",
|
9801
|
+
n("div", xu, [
|
9803
9802
|
S(r.$slots, "footer", {}, () => [
|
9804
9803
|
x(i(G), F({
|
9805
9804
|
label: "Request Access",
|
@@ -9810,7 +9809,7 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9810
9809
|
])
|
9811
9810
|
]));
|
9812
9811
|
}
|
9813
|
-
}),
|
9812
|
+
}), Tm = {
|
9814
9813
|
__name: "OcFormBuilder",
|
9815
9814
|
props: {
|
9816
9815
|
id: {
|
@@ -9850,23 +9849,23 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9850
9849
|
const a = e, l = r, o = (g, I) => {
|
9851
9850
|
l("onUpdate", g, I);
|
9852
9851
|
}, d = {
|
9853
|
-
CardInput:
|
9854
|
-
CheckboxesGroup:
|
9852
|
+
CardInput: Ps,
|
9853
|
+
CheckboxesGroup: Es,
|
9855
9854
|
Input: xe,
|
9856
|
-
NumberInput:
|
9857
|
-
LinkInput:
|
9858
|
-
Select:
|
9859
|
-
TextArea:
|
9855
|
+
NumberInput: Pc,
|
9856
|
+
LinkInput: Ir,
|
9857
|
+
Select: br,
|
9858
|
+
TextArea: Ar,
|
9860
9859
|
Toggle: St,
|
9861
|
-
RadioGroup:
|
9862
|
-
TimePicker:
|
9863
|
-
DatePicker:
|
9860
|
+
RadioGroup: sr,
|
9861
|
+
TimePicker: wu,
|
9862
|
+
DatePicker: Td,
|
9864
9863
|
Checkbox: De,
|
9865
9864
|
Slider: kt,
|
9866
|
-
RangeInput:
|
9867
|
-
PhoneInput:
|
9868
|
-
SectionItem:
|
9869
|
-
SelectOptions:
|
9865
|
+
RangeInput: ur,
|
9866
|
+
PhoneInput: lr,
|
9867
|
+
SectionItem: Ld,
|
9868
|
+
SelectOptions: Fd
|
9870
9869
|
}, c = (g) => d[g] ? d[g] : null, u = z(() => {
|
9871
9870
|
const g = (V) => V.split(`
|
9872
9871
|
`).map((N) => N.trim()).filter(Boolean).map((N) => `"${N}"`).join(" "), I = {};
|
@@ -9960,120 +9959,120 @@ const kd = { class: "flex flex-col gap-y-2 w-full" }, Sd = { class: "flex w-full
|
|
9960
9959
|
}), 128))
|
9961
9960
|
], 6)) : m("", !0);
|
9962
9961
|
}
|
9963
|
-
},
|
9964
|
-
() => import("./OcComplexCalendar-
|
9965
|
-
),
|
9966
|
-
() => import("./OcComplexDatePicker-
|
9967
|
-
), ot = de(() => import("./OcModalCropper-
|
9968
|
-
() => import("./ThumbnailTheme-
|
9969
|
-
),
|
9970
|
-
() => import("./ThumbnailSection-
|
9971
|
-
),
|
9962
|
+
}, Dm = de(() => import("./OcDataTable-f95yna1x.js")), Am = de(() => import("./OcFilterSearch-CuMVMktV.js")), jm = de(() => import("./OcFilterSearchFor-DZG90Ocr.js")), Mm = de(() => import("./OcFilterForm-elPkLKgv.js")), hu = de(
|
9963
|
+
() => import("./OcComplexCalendar-CRxZRgXL.js")
|
9964
|
+
), Pm = de(
|
9965
|
+
() => import("./OcComplexDatePicker-ygWCP_HO.js")
|
9966
|
+
), ot = de(() => import("./OcModalCropper-CKawRd2-.js")), Lm = de(() => import("./OcCropper-C7I3eum0.js")), bu = de(() => import("./OcDraggable-CA_BCbpl.js")), Em = de(() => import("./OcDraggableList-DJYSUMpk.js")), zm = de(() => import("./OcEmojiPicker-BTyUDcdI.js")), Nm = de(
|
9967
|
+
() => import("./ThumbnailTheme-D7ExOrMp.js")
|
9968
|
+
), Rm = de(
|
9969
|
+
() => import("./ThumbnailSection-BsyAk_SY.js")
|
9970
|
+
), Fm = de(() => import("./SubPlanCard-55Xf4T-i.js")), Um = de(() => import("./OcTimePopup-CXGhaOev.js")), wu = de(() => import("./OcTimePicker-ChYX2WuT.js"));
|
9972
9971
|
export {
|
9973
|
-
|
9974
|
-
|
9972
|
+
tm as $,
|
9973
|
+
Wu as A,
|
9975
9974
|
G as B,
|
9976
9975
|
Ot as C,
|
9977
|
-
|
9978
|
-
|
9979
|
-
|
9976
|
+
dn as D,
|
9977
|
+
Xu as E,
|
9978
|
+
gl as F,
|
9980
9979
|
Vt as G,
|
9981
9980
|
qe as H,
|
9982
|
-
|
9981
|
+
Hu as I,
|
9983
9982
|
dt as J,
|
9984
9983
|
ct as K,
|
9985
|
-
|
9986
|
-
|
9984
|
+
Uu as L,
|
9985
|
+
qu as M,
|
9987
9986
|
st as N,
|
9988
9987
|
Fe as O,
|
9989
9988
|
rt as P,
|
9990
9989
|
Be as Q,
|
9991
9990
|
Ee as R,
|
9992
|
-
|
9993
|
-
|
9994
|
-
|
9995
|
-
|
9996
|
-
|
9997
|
-
|
9998
|
-
|
9999
|
-
|
9991
|
+
sl as S,
|
9992
|
+
Yu as T,
|
9993
|
+
Ju as U,
|
9994
|
+
Zu as V,
|
9995
|
+
em as W,
|
9996
|
+
Un as X,
|
9997
|
+
Qu as Y,
|
9998
|
+
_u as Z,
|
10000
9999
|
ge as _,
|
10001
|
-
|
10002
|
-
|
10003
|
-
|
10004
|
-
|
10005
|
-
|
10006
|
-
|
10007
|
-
|
10008
|
-
|
10009
|
-
|
10010
|
-
|
10011
|
-
|
10012
|
-
|
10013
|
-
|
10014
|
-
|
10015
|
-
|
10016
|
-
|
10017
|
-
|
10018
|
-
|
10019
|
-
|
10000
|
+
Ps as a,
|
10001
|
+
Wn as a0,
|
10002
|
+
fm as a1,
|
10003
|
+
yi as a2,
|
10004
|
+
ym as a3,
|
10005
|
+
pm as a4,
|
10006
|
+
mm as a5,
|
10007
|
+
vm as a6,
|
10008
|
+
lm as a7,
|
10009
|
+
am as a8,
|
10010
|
+
nm as a9,
|
10011
|
+
hu as aA,
|
10012
|
+
bu as aB,
|
10013
|
+
Um as aC,
|
10014
|
+
Am as aD,
|
10015
|
+
Mm as aE,
|
10016
|
+
jm as aF,
|
10017
|
+
Dm as aG,
|
10018
|
+
Pm as aH,
|
10020
10019
|
ot as aI,
|
10021
|
-
|
10022
|
-
|
10023
|
-
|
10024
|
-
|
10025
|
-
|
10026
|
-
|
10027
|
-
|
10028
|
-
|
10029
|
-
|
10030
|
-
|
10031
|
-
|
10032
|
-
|
10033
|
-
|
10034
|
-
|
10035
|
-
|
10020
|
+
Lm as aJ,
|
10021
|
+
Em as aK,
|
10022
|
+
zm as aL,
|
10023
|
+
Nm as aM,
|
10024
|
+
Rm as aN,
|
10025
|
+
Fm as aO,
|
10026
|
+
wu as aP,
|
10027
|
+
om as aa,
|
10028
|
+
im as ab,
|
10029
|
+
sm as ac,
|
10030
|
+
rm as ad,
|
10031
|
+
Eo as ae,
|
10032
|
+
Ao as af,
|
10033
|
+
gm as ag,
|
10034
|
+
dm as ah,
|
10036
10035
|
vt as ai,
|
10037
|
-
|
10038
|
-
|
10039
|
-
|
10040
|
-
|
10036
|
+
cm as aj,
|
10037
|
+
um as ak,
|
10038
|
+
xm as al,
|
10039
|
+
bm as am,
|
10041
10040
|
ae as an,
|
10042
|
-
|
10043
|
-
|
10044
|
-
|
10041
|
+
wm as ao,
|
10042
|
+
hm as ap,
|
10043
|
+
tu as aq,
|
10045
10044
|
Me as ar,
|
10046
10045
|
ne as as,
|
10047
10046
|
pe as at,
|
10048
|
-
|
10049
|
-
|
10050
|
-
|
10047
|
+
Gc as au,
|
10048
|
+
Om as av,
|
10049
|
+
Bm as aw,
|
10051
10050
|
le as ax,
|
10052
|
-
|
10051
|
+
Im as ay,
|
10053
10052
|
nt as az,
|
10054
10053
|
De as b,
|
10055
|
-
|
10056
|
-
|
10054
|
+
Es as c,
|
10055
|
+
$m as d,
|
10057
10056
|
xe as e,
|
10058
|
-
|
10059
|
-
|
10060
|
-
|
10061
|
-
|
10062
|
-
|
10063
|
-
|
10057
|
+
km as f,
|
10058
|
+
lr as g,
|
10059
|
+
ir as h,
|
10060
|
+
sr as i,
|
10061
|
+
ur as j,
|
10062
|
+
br as k,
|
10064
10063
|
gt as l,
|
10065
|
-
|
10066
|
-
|
10067
|
-
|
10068
|
-
|
10069
|
-
|
10070
|
-
|
10071
|
-
|
10072
|
-
|
10073
|
-
|
10074
|
-
|
10075
|
-
|
10076
|
-
|
10077
|
-
|
10064
|
+
Sm as m,
|
10065
|
+
Ir as n,
|
10066
|
+
Ar as o,
|
10067
|
+
wd as p,
|
10068
|
+
Td as q,
|
10069
|
+
Ld as r,
|
10070
|
+
Fd as s,
|
10071
|
+
Cm as t,
|
10072
|
+
Vm as u,
|
10073
|
+
Pc as v,
|
10074
|
+
Tm as w,
|
10075
|
+
Gu as x,
|
10076
|
+
Ku as y,
|
10078
10077
|
Ae as z
|
10079
10078
|
};
|