@orchidui/core 1.1.31-15 → 1.1.31-16
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-B2D5XlJC.js → OcComplexCalendar-B3hvCH8b.js} +1 -1
- package/dist/{OcComplexDatePicker-C6NpPJXl.js → OcComplexDatePicker-BJzE59Ud.js} +1 -1
- package/dist/{OcCropper-ZS-kAgEL.js → OcCropper-BReUmmUe.js} +1 -1
- package/dist/{OcDataTable-DVEYnL6u.js → OcDataTable-D5vz1-lX.js} +1 -1
- package/dist/{OcDraggableList-z1gZLaGS.js → OcDraggableList-B2QGYqy9.js} +1 -1
- package/dist/{OcEmojiPicker-5n4qFSjQ.js → OcEmojiPicker-BtTOnwrl.js} +1 -1
- package/dist/{OcFilterForm-2fhih-5I.js → OcFilterForm-ClfErTph.js} +1 -1
- package/dist/{OcFilterSearch-vaCERZxk.js → OcFilterSearch-CJt2-0oT.js} +1 -1
- package/dist/{OcFilterSearchFor-C4YT66qF.js → OcFilterSearchFor-BV41Zm92.js} +1 -1
- package/dist/{OcModalCropper-DUb0nbvZ.js → OcModalCropper-DwGopxc-.js} +2 -2
- package/dist/{OcTimePicker-CZkQqCbq.js → OcTimePicker-BuXpSM_v.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-DARiOb7b.js → SubPlanCard-D1fbeTmt.js} +1 -1
- package/dist/{ThumbnailSection-BQJBK32Q.js → ThumbnailSection-CT_d6jGM.js} +1 -1
- package/dist/{ThumbnailTheme-d2chH8WX.js → ThumbnailTheme-Bsypo6ft.js} +1 -1
- package/dist/{index-ChqDvW-w.js → index-DXeKhK9o.js} +575 -559
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import "./OcTheme-CWgrJh5Q.js";
|
|
|
22
22
|
const Gt = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "flex relative group/row md:p-0 py-3 w-full"
|
|
25
|
-
},
|
|
25
|
+
}, pm = {
|
|
26
26
|
__name: "OcTable",
|
|
27
27
|
props: {
|
|
28
28
|
options: {
|
|
@@ -728,7 +728,7 @@ const Gt = {
|
|
|
728
728
|
a[1] || (a[1] = n("div", { class: "w-9" }, null, -1))
|
|
729
729
|
]));
|
|
730
730
|
}
|
|
731
|
-
}), rl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" },
|
|
731
|
+
}), rl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" }, ym = /* @__PURE__ */ Z({
|
|
732
732
|
__name: "OcExpadingTable",
|
|
733
733
|
props: {
|
|
734
734
|
total: {
|
|
@@ -808,7 +808,7 @@ const Gt = {
|
|
|
808
808
|
])
|
|
809
809
|
]));
|
|
810
810
|
}
|
|
811
|
-
}), 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]" },
|
|
811
|
+
}), 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]" }, xm = {
|
|
812
812
|
__name: "OcPagination",
|
|
813
813
|
props: {
|
|
814
814
|
maxPage: {
|
|
@@ -1309,7 +1309,7 @@ const Gt = {
|
|
|
1309
1309
|
], 2);
|
|
1310
1310
|
};
|
|
1311
1311
|
}
|
|
1312
|
-
}, Bt = /* @__PURE__ */ he(zl, [["__scopeId", "data-v-e499a3c4"]]), Nl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Rl = { key: 0 },
|
|
1312
|
+
}, Bt = /* @__PURE__ */ he(zl, [["__scopeId", "data-v-e499a3c4"]]), Nl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Rl = { key: 0 }, hm = {
|
|
1313
1313
|
__name: "OcTransferSummary",
|
|
1314
1314
|
props: {
|
|
1315
1315
|
transfer: {
|
|
@@ -1436,7 +1436,7 @@ const Gt = {
|
|
|
1436
1436
|
l[3] || (l[3] = W(" - ")),
|
|
1437
1437
|
e.date ? (t(), r("span", Jl, $(e.date), 1)) : m("", !0)
|
|
1438
1438
|
]),
|
|
1439
|
-
y(s(
|
|
1439
|
+
y(s(ne), {
|
|
1440
1440
|
modelValue: i.value,
|
|
1441
1441
|
"onUpdate:modelValue": l[2] || (l[2] = (d) => i.value = d)
|
|
1442
1442
|
}, {
|
|
@@ -1673,7 +1673,7 @@ const Gt = {
|
|
|
1673
1673
|
])) : m("", !0)
|
|
1674
1674
|
]),
|
|
1675
1675
|
S(d.$slots, "actions", {}, () => [
|
|
1676
|
-
e.isDropdownActionsVisible && !e.isDisabled ? (t(), p(s(
|
|
1676
|
+
e.isDropdownActionsVisible && !e.isDisabled ? (t(), p(s(ne), {
|
|
1677
1677
|
key: 0,
|
|
1678
1678
|
modelValue: l.value,
|
|
1679
1679
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => l.value = u),
|
|
@@ -1827,7 +1827,7 @@ const Gt = {
|
|
|
1827
1827
|
n("div", za, [
|
|
1828
1828
|
n("div", Na, $(e.page.title), 1),
|
|
1829
1829
|
n("div", Ra, [
|
|
1830
|
-
y(s(
|
|
1830
|
+
y(s(ne), {
|
|
1831
1831
|
modelValue: i.value,
|
|
1832
1832
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => i.value = c),
|
|
1833
1833
|
placement: "bottom-end"
|
|
@@ -1987,7 +1987,7 @@ const Gt = {
|
|
|
1987
1987
|
])
|
|
1988
1988
|
], 2));
|
|
1989
1989
|
}
|
|
1990
|
-
}),
|
|
1990
|
+
}), bm = {
|
|
1991
1991
|
__name: "OcListItem",
|
|
1992
1992
|
props: {
|
|
1993
1993
|
isActive: Boolean,
|
|
@@ -2153,7 +2153,7 @@ const Gt = {
|
|
|
2153
2153
|
}, 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 = {
|
|
2154
2154
|
key: 1,
|
|
2155
2155
|
class: "absolute top-2 right-2 left-2 bottom-2 bg-white flex items-center justify-center"
|
|
2156
|
-
},
|
|
2156
|
+
}, wm = {
|
|
2157
2157
|
__name: "OcInfoCard",
|
|
2158
2158
|
props: {
|
|
2159
2159
|
isLoading: Boolean,
|
|
@@ -2221,7 +2221,7 @@ const Gt = {
|
|
|
2221
2221
|
}, 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 = {
|
|
2222
2222
|
key: 0,
|
|
2223
2223
|
class: "p-2"
|
|
2224
|
-
},
|
|
2224
|
+
}, $m = {
|
|
2225
2225
|
__name: "OcFloatContent",
|
|
2226
2226
|
props: {
|
|
2227
2227
|
modelValue: {
|
|
@@ -2288,7 +2288,7 @@ const Gt = {
|
|
|
2288
2288
|
])
|
|
2289
2289
|
]),
|
|
2290
2290
|
n("div", bn, [
|
|
2291
|
-
e.dropdownOptions ? (t(), p(s(
|
|
2291
|
+
e.dropdownOptions ? (t(), p(s(ne), F({
|
|
2292
2292
|
key: 0,
|
|
2293
2293
|
modelValue: a.value,
|
|
2294
2294
|
"onUpdate:modelValue": o[0] || (o[0] = (d) => a.value = d),
|
|
@@ -2348,7 +2348,7 @@ const Gt = {
|
|
|
2348
2348
|
}, Vn = {
|
|
2349
2349
|
key: 2,
|
|
2350
2350
|
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"
|
|
2351
|
-
}, In = { class: "flex flex-col gap-y-1" }, Tn = { class: "font-medium" }, Dn = { class: "text-oc-text-300 text-sm" },
|
|
2351
|
+
}, In = { class: "flex flex-col gap-y-1" }, Tn = { class: "font-medium" }, Dn = { class: "text-oc-text-300 text-sm" }, km = /* @__PURE__ */ Z({
|
|
2352
2352
|
__name: "OcOnboardingListItem",
|
|
2353
2353
|
props: {
|
|
2354
2354
|
title: {
|
|
@@ -2404,7 +2404,7 @@ const Gt = {
|
|
|
2404
2404
|
])
|
|
2405
2405
|
]));
|
|
2406
2406
|
}
|
|
2407
|
-
}),
|
|
2407
|
+
}), Sm = {
|
|
2408
2408
|
__name: "OcAccordion",
|
|
2409
2409
|
props: {
|
|
2410
2410
|
header: {
|
|
@@ -2528,7 +2528,7 @@ const Gt = {
|
|
|
2528
2528
|
}, null, 8, ["width", "height", "name"]))
|
|
2529
2529
|
], 2));
|
|
2530
2530
|
}
|
|
2531
|
-
}), Mn = { class: "flex items-center flex-1 gap-x-4" }, jn = { class: "flex flex-col gap-y-1" }, Pn = { class: "font-medium" }, Ln = { class: "text-oc-text-400 text-sm" },
|
|
2531
|
+
}), Mn = { class: "flex items-center flex-1 gap-x-4" }, jn = { class: "flex flex-col gap-y-1" }, Pn = { class: "font-medium" }, Ln = { class: "text-oc-text-400 text-sm" }, Cm = /* @__PURE__ */ Z({
|
|
2532
2532
|
__name: "OnboardingAccordion",
|
|
2533
2533
|
props: {
|
|
2534
2534
|
description: {
|
|
@@ -2589,7 +2589,7 @@ const Gt = {
|
|
|
2589
2589
|
}), En = ["onClick"], zn = {
|
|
2590
2590
|
key: 0,
|
|
2591
2591
|
class: "bg-oc-error rounded-full h-6 w-6 flex items-center justify-center text-xs font-bold text-white px-4"
|
|
2592
|
-
}, ft = 100, vt = 35,
|
|
2592
|
+
}, ft = 100, vt = 35, Bm = {
|
|
2593
2593
|
__name: "OcTabs",
|
|
2594
2594
|
props: {
|
|
2595
2595
|
variant: {
|
|
@@ -2715,7 +2715,7 @@ const Gt = {
|
|
|
2715
2715
|
], 2)) : m("", !0)
|
|
2716
2716
|
], 2));
|
|
2717
2717
|
}
|
|
2718
|
-
}, Nn = ["src"], Rn = { class: "shrink-0" },
|
|
2718
|
+
}, Nn = ["src"], Rn = { class: "shrink-0" }, Om = {
|
|
2719
2719
|
__name: "OcPaymentTab",
|
|
2720
2720
|
props: {
|
|
2721
2721
|
tab: {
|
|
@@ -2785,7 +2785,7 @@ const Gt = {
|
|
|
2785
2785
|
}, $(e.title), 3)
|
|
2786
2786
|
], 2));
|
|
2787
2787
|
}
|
|
2788
|
-
}), qn = { class: "flex gap-x-7" },
|
|
2788
|
+
}), qn = { class: "flex gap-x-7" }, Vm = /* @__PURE__ */ Z({
|
|
2789
2789
|
__name: "OcSteps",
|
|
2790
2790
|
props: {
|
|
2791
2791
|
steps: {
|
|
@@ -2813,7 +2813,7 @@ const Gt = {
|
|
|
2813
2813
|
])
|
|
2814
2814
|
]));
|
|
2815
2815
|
}
|
|
2816
|
-
}), Hn = { class: "flex gap-3 items-start md:flex-row flex-col" },
|
|
2816
|
+
}), Hn = { class: "flex gap-3 items-start md:flex-row flex-col" }, Im = /* @__PURE__ */ Z({
|
|
2817
2817
|
__name: "OcVariants",
|
|
2818
2818
|
props: {
|
|
2819
2819
|
variants: {
|
|
@@ -2901,22 +2901,22 @@ function Xn(e, i) {
|
|
|
2901
2901
|
S(e.$slots, "default")
|
|
2902
2902
|
]);
|
|
2903
2903
|
}
|
|
2904
|
-
const
|
|
2904
|
+
const Tm = /* @__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" };
|
|
2905
2905
|
function Qn(e, i) {
|
|
2906
2906
|
return t(), r("div", Zn, [
|
|
2907
2907
|
S(e.$slots, "default")
|
|
2908
2908
|
]);
|
|
2909
2909
|
}
|
|
2910
|
-
const
|
|
2910
|
+
const Dm = /* @__PURE__ */ he(Jn, [["render", Qn]]), _n = {}, eo = { class: "flex items-center gap-x-3 mr-auto" };
|
|
2911
2911
|
function to(e, i) {
|
|
2912
2912
|
return t(), r("div", eo, [
|
|
2913
2913
|
S(e.$slots, "default")
|
|
2914
2914
|
]);
|
|
2915
2915
|
}
|
|
2916
|
-
const
|
|
2916
|
+
const Am = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-center" }, ao = {
|
|
2917
2917
|
key: 1,
|
|
2918
2918
|
class: "text-oc-text-300 text-sm md:text-base"
|
|
2919
|
-
},
|
|
2919
|
+
}, Mm = {
|
|
2920
2920
|
__name: "OcHeaderCenter",
|
|
2921
2921
|
props: {
|
|
2922
2922
|
isSaved: Boolean
|
|
@@ -2941,7 +2941,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
2941
2941
|
])
|
|
2942
2942
|
]));
|
|
2943
2943
|
}
|
|
2944
|
-
}, no = { class: "flex items-center gap-x-7 ml-auto" }, oo = { class: "flex gap-x-3" },
|
|
2944
|
+
}, no = { class: "flex items-center gap-x-7 ml-auto" }, oo = { class: "flex gap-x-3" }, jm = {
|
|
2945
2945
|
__name: "OcHeaderRight",
|
|
2946
2946
|
props: {
|
|
2947
2947
|
primaryProps: {
|
|
@@ -2982,7 +2982,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
2982
2982
|
])
|
|
2983
2983
|
]));
|
|
2984
2984
|
}
|
|
2985
|
-
}, 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" },
|
|
2985
|
+
}, 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" }, Pm = {
|
|
2986
2986
|
__name: "OcTabToSelect",
|
|
2987
2987
|
props: {
|
|
2988
2988
|
menus: Array,
|
|
@@ -3019,7 +3019,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3019
3019
|
class: v([l.value.sidebarClass, "absolute transition-all duration-300 h-[36px] rounded-full min-w-[100px] bg-[var(--oc-sidebar-menu-active-icon-active)]"])
|
|
3020
3020
|
}, null, 2)
|
|
3021
3021
|
]),
|
|
3022
|
-
y(s(
|
|
3022
|
+
y(s(ne), {
|
|
3023
3023
|
modelValue: a.value,
|
|
3024
3024
|
"onUpdate:modelValue": f[0] || (f[0] = (h) => a.value = h),
|
|
3025
3025
|
class: "flex md:hidden"
|
|
@@ -3120,7 +3120,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3120
3120
|
size: "small"
|
|
3121
3121
|
}, e.primaryButtonProps, { "is-additional-area": "" }), {
|
|
3122
3122
|
"additional-content": k(() => [
|
|
3123
|
-
y(s(
|
|
3123
|
+
y(s(ne), {
|
|
3124
3124
|
modelValue: i.value,
|
|
3125
3125
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => i.value = o),
|
|
3126
3126
|
onClick: l[1] || (l[1] = fe(() => {
|
|
@@ -3175,7 +3175,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3175
3175
|
e.chipProps ? (t(), p(s(ae), F({ key: 1 }, e.chipProps, { class: "self-start" }), null, 16)) : m("", !0)
|
|
3176
3176
|
]));
|
|
3177
3177
|
}
|
|
3178
|
-
}), $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" },
|
|
3178
|
+
}), $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" }, Lm = {
|
|
3179
3179
|
__name: "OcPageTitle",
|
|
3180
3180
|
props: {
|
|
3181
3181
|
title: { type: String, required: !0 },
|
|
@@ -3359,7 +3359,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3359
3359
|
key: 1,
|
|
3360
3360
|
class: v(["border-l group-hover:border-oc-accent-1-100", c.value ? "border-oc-gray-200" : "border-transparent"])
|
|
3361
3361
|
}, null, 2)) : m("", !0),
|
|
3362
|
-
d.value ? (t(), p(s(
|
|
3362
|
+
d.value ? (t(), p(s(ne), {
|
|
3363
3363
|
key: 2,
|
|
3364
3364
|
modelValue: c.value,
|
|
3365
3365
|
"onUpdate:modelValue": T[3] || (T[3] = (C) => c.value = C),
|
|
@@ -3449,7 +3449,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3449
3449
|
var o;
|
|
3450
3450
|
const a = M(((o = e.secondaryButtonProps) == null ? void 0 : o.isDropdownOpened) ?? !1), { isMobile: l } = qt();
|
|
3451
3451
|
return (d, c) => (t(), r("div", Mo, [
|
|
3452
|
-
e.secondaryButtonProps ? (t(), p(s(
|
|
3452
|
+
e.secondaryButtonProps ? (t(), p(s(ne), {
|
|
3453
3453
|
key: 0,
|
|
3454
3454
|
modelValue: a.value,
|
|
3455
3455
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => a.value = u),
|
|
@@ -3497,7 +3497,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3497
3497
|
}, Eo = /* @__PURE__ */ he(Lo, [["__scopeId", "data-v-a7abfe33"]]), zo = { class: "flex flex-col flex-1 py-4 gap-3 px-6" }, No = {
|
|
3498
3498
|
key: 0,
|
|
3499
3499
|
class: "border-t border-oc-gray-200 last:hidden first:hidden"
|
|
3500
|
-
},
|
|
3500
|
+
}, Em = {
|
|
3501
3501
|
__name: "OcSidebar",
|
|
3502
3502
|
props: {
|
|
3503
3503
|
class: {
|
|
@@ -3581,7 +3581,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3581
3581
|
], 64))), 128)),
|
|
3582
3582
|
S(f.$slots, "after", { isExpanded: e.isExpanded })
|
|
3583
3583
|
]),
|
|
3584
|
-
y(s(
|
|
3584
|
+
y(s(hi), {
|
|
3585
3585
|
"is-expanded": e.isExpanded,
|
|
3586
3586
|
"display-name": e.displayName,
|
|
3587
3587
|
onUserClick: h[0] || (h[0] = (x) => f.$emit("user-click")),
|
|
@@ -3594,7 +3594,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3594
3594
|
}, 8, ["is-expanded", "display-name"])
|
|
3595
3595
|
], 2));
|
|
3596
3596
|
}
|
|
3597
|
-
},
|
|
3597
|
+
}, zm = {
|
|
3598
3598
|
__name: "OcSidebarSubmenu",
|
|
3599
3599
|
props: {
|
|
3600
3600
|
isExpanded: {
|
|
@@ -3869,7 +3869,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
3869
3869
|
]))
|
|
3870
3870
|
], 2));
|
|
3871
3871
|
}
|
|
3872
|
-
},
|
|
3872
|
+
}, Nm = /* @__PURE__ */ he(ai, [["__scopeId", "data-v-fb4f007e"]]), ni = { class: "min-h-0 flex flex-col gap-y-2" }, oi = {
|
|
3873
3873
|
__name: "OcSidebarHead",
|
|
3874
3874
|
props: {
|
|
3875
3875
|
label: String,
|
|
@@ -4020,7 +4020,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4020
4020
|
e.isBeta ? (t(), r("div", fi, " BETA ")) : m("", !0)
|
|
4021
4021
|
], 2));
|
|
4022
4022
|
}
|
|
4023
|
-
}, gi = { class: "py-4 sticky bottom-0 left-0 px-6 bg-oc-gray-50 border-t border-oc-gray-200" }, pi = { class: "flex flex-col gap-y-3" }, yi = { key: 0 }, xi = {
|
|
4023
|
+
}, gi = { class: "py-4 sticky bottom-0 left-0 px-6 bg-oc-gray-50 border-t border-oc-gray-200" }, pi = { class: "flex flex-col gap-y-3" }, yi = { key: 0 }, xi = { class: "flex flex-col" }, hi = {
|
|
4024
4024
|
__name: "OcSidebarFooter",
|
|
4025
4025
|
props: {
|
|
4026
4026
|
displayName: String,
|
|
@@ -4028,9 +4028,12 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4028
4028
|
},
|
|
4029
4029
|
emits: ["user-click", "support-click"],
|
|
4030
4030
|
setup(e) {
|
|
4031
|
-
|
|
4031
|
+
const i = M(!1), a = () => {
|
|
4032
|
+
i.value = !i.value;
|
|
4033
|
+
};
|
|
4034
|
+
return (l, o) => (t(), r("div", gi, [
|
|
4032
4035
|
n("div", pi, [
|
|
4033
|
-
e.isExpanded ? S(
|
|
4036
|
+
e.isExpanded ? S(l.$slots, "default", { key: 0 }) : m("", !0),
|
|
4034
4037
|
n("div", {
|
|
4035
4038
|
class: v(["flex items-center gap-x-3", {
|
|
4036
4039
|
"flex-col gap-y-4": !e.isExpanded
|
|
@@ -4038,7 +4041,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4038
4041
|
}, [
|
|
4039
4042
|
n("div", {
|
|
4040
4043
|
class: "px-3 flex flex-1 items-center gap-x-3 text-oc-primary",
|
|
4041
|
-
onClick:
|
|
4044
|
+
onClick: o[0] || (o[0] = (d) => l.$emit("support-click"))
|
|
4042
4045
|
}, [
|
|
4043
4046
|
y(s(V), {
|
|
4044
4047
|
name: "chat-2",
|
|
@@ -4047,21 +4050,34 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4047
4050
|
}),
|
|
4048
4051
|
e.isExpanded ? (t(), r("span", yi, "Contact support")) : m("", !0)
|
|
4049
4052
|
]),
|
|
4050
|
-
y(s(
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
onClick: a[1] || (a[1] = (l) => i.$emit("user-click"))
|
|
4053
|
+
y(s(ne), {
|
|
4054
|
+
modelValue: i.value,
|
|
4055
|
+
"onUpdate:modelValue": o[2] || (o[2] = (d) => i.value = d)
|
|
4054
4056
|
}, {
|
|
4057
|
+
menu: k(() => [
|
|
4058
|
+
n("div", xi, [
|
|
4059
|
+
S(l.$slots, "user-menu", { toggle: a })
|
|
4060
|
+
])
|
|
4061
|
+
]),
|
|
4055
4062
|
default: k(() => [
|
|
4056
|
-
|
|
4063
|
+
y(s(lt), {
|
|
4064
|
+
size: 32,
|
|
4065
|
+
class: "shrink-0 uppercase",
|
|
4066
|
+
onClick: o[1] || (o[1] = (d) => l.$emit("user-click"))
|
|
4067
|
+
}, {
|
|
4068
|
+
default: k(() => [
|
|
4069
|
+
W($(e.displayName || "J"), 1)
|
|
4070
|
+
]),
|
|
4071
|
+
_: 1
|
|
4072
|
+
})
|
|
4057
4073
|
]),
|
|
4058
|
-
_:
|
|
4059
|
-
})
|
|
4074
|
+
_: 3
|
|
4075
|
+
}, 8, ["modelValue"])
|
|
4060
4076
|
], 2)
|
|
4061
4077
|
])
|
|
4062
4078
|
]));
|
|
4063
4079
|
}
|
|
4064
|
-
},
|
|
4080
|
+
}, bi = { class: "relative" }, wi = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, $i = { class: "py-2 px-3 gap-x-3 flex items-center" }, ki = { class: "text-oc-accent-2 flex-1 font-medium" }, Si = { class: "flex items-center gap-x-2" }, Ci = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Rm = {
|
|
4065
4081
|
__name: "OcSidebarFeatureBanners",
|
|
4066
4082
|
props: {
|
|
4067
4083
|
isStacked: {
|
|
@@ -4078,16 +4094,16 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4078
4094
|
}
|
|
4079
4095
|
},
|
|
4080
4096
|
setup(e) {
|
|
4081
|
-
return (i, a) => (t(), r("div",
|
|
4097
|
+
return (i, a) => (t(), r("div", bi, [
|
|
4082
4098
|
a[2] || (a[2] = n("div", { class: "border absolute top-2 left-0 w-full h-[calc(100%-4px)] border-oc-gray-200 rounded pt-2" }, null, -1)),
|
|
4083
|
-
n("div",
|
|
4084
|
-
n("div",
|
|
4099
|
+
n("div", wi, [
|
|
4100
|
+
n("div", $i, [
|
|
4085
4101
|
y(s(V), {
|
|
4086
4102
|
name: "sparkle-2",
|
|
4087
4103
|
class: "text-oc-accent-2"
|
|
4088
4104
|
}),
|
|
4089
|
-
n("div",
|
|
4090
|
-
n("div",
|
|
4105
|
+
n("div", ki, $(e.title), 1),
|
|
4106
|
+
n("div", Si, [
|
|
4091
4107
|
y(s(V), {
|
|
4092
4108
|
name: "x",
|
|
4093
4109
|
class: "text-oc-text-300 hover:text-oc-text",
|
|
@@ -4104,11 +4120,11 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4104
4120
|
})
|
|
4105
4121
|
])
|
|
4106
4122
|
]),
|
|
4107
|
-
n("div",
|
|
4123
|
+
n("div", Ci, $(e.description), 1)
|
|
4108
4124
|
])
|
|
4109
4125
|
]));
|
|
4110
4126
|
}
|
|
4111
|
-
},
|
|
4127
|
+
}, Bi = { class: "border relative z-10 border-oc-gray-200 shadow-normal bg-white rounded p-2 flex flex-col gap-y-2" }, Oi = { class: "py-2 px-3 gap-x-3 flex items-center" }, Vi = { class: "text-oc-warning flex-1" }, Ii = { class: "px-3 pb-3 flex flex-col gap-y-3" }, Ti = { class: "relative bg-oc-accent-1-50 rounded-full h-2" }, Di = { class: "flex items-center gap-x-3" }, Ai = { class: "text-sm text-oc-text-400" }, Fm = {
|
|
4112
4128
|
__name: "OcAccountSetupProgress",
|
|
4113
4129
|
props: {
|
|
4114
4130
|
value: {
|
|
@@ -4122,9 +4138,9 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4122
4138
|
},
|
|
4123
4139
|
emits: ["redirect"],
|
|
4124
4140
|
setup(e) {
|
|
4125
|
-
return (i, a) => (t(), r("div",
|
|
4126
|
-
n("div",
|
|
4127
|
-
n("div",
|
|
4141
|
+
return (i, a) => (t(), r("div", Bi, [
|
|
4142
|
+
n("div", Oi, [
|
|
4143
|
+
n("div", Vi, "Finish your account (" + $(e.value) + "%)", 1),
|
|
4128
4144
|
y(s(V), {
|
|
4129
4145
|
name: "arrow-top-right",
|
|
4130
4146
|
class: "text-oc-text-300 hover:text-oc-text",
|
|
@@ -4133,21 +4149,21 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4133
4149
|
onClick: a[0] || (a[0] = (l) => i.$emit("redirect"))
|
|
4134
4150
|
})
|
|
4135
4151
|
]),
|
|
4136
|
-
n("div",
|
|
4137
|
-
n("div",
|
|
4152
|
+
n("div", Ii, [
|
|
4153
|
+
n("div", Ti, [
|
|
4138
4154
|
n("div", {
|
|
4139
4155
|
class: "absolute top-0 left-0 bg-oc-primary rounded-full h-2",
|
|
4140
4156
|
style: se({ width: `${e.value}%` })
|
|
4141
4157
|
}, null, 4)
|
|
4142
4158
|
]),
|
|
4143
|
-
n("div",
|
|
4159
|
+
n("div", Di, [
|
|
4144
4160
|
a[1] || (a[1] = n("div", { class: "w-[6px] h-[6px] bg-oc-success shadow-[0_0_0_4px_var(--oc-success-50)] rounded-full" }, null, -1)),
|
|
4145
|
-
n("span",
|
|
4161
|
+
n("span", Ai, $(e.infoLabel), 1)
|
|
4146
4162
|
])
|
|
4147
4163
|
])
|
|
4148
4164
|
]));
|
|
4149
4165
|
}
|
|
4150
|
-
},
|
|
4166
|
+
}, Mi = { class: "py-7 flex flex-col gap-y-3 px-4" }, ji = { class: "flex flex-col gap-y-2" }, Pi = ["onClick"], Um = /* @__PURE__ */ Z({
|
|
4151
4167
|
__name: "OcSubSidebar",
|
|
4152
4168
|
props: {
|
|
4153
4169
|
title: {
|
|
@@ -4165,7 +4181,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4165
4181
|
},
|
|
4166
4182
|
emits: ["titleClick", "update:modelValue"],
|
|
4167
4183
|
setup(e) {
|
|
4168
|
-
return (i, a) => (t(), r("div",
|
|
4184
|
+
return (i, a) => (t(), r("div", Mi, [
|
|
4169
4185
|
e.title ? (t(), r("div", {
|
|
4170
4186
|
key: 0,
|
|
4171
4187
|
class: "py-4 gap-x-3 whitespace-nowrap cursor-pointer flex font-medium items-center",
|
|
@@ -4179,7 +4195,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4179
4195
|
}),
|
|
4180
4196
|
W(" " + $(e.title), 1)
|
|
4181
4197
|
])) : m("", !0),
|
|
4182
|
-
n("div",
|
|
4198
|
+
n("div", ji, [
|
|
4183
4199
|
(t(!0), r(L, null, R(e.menu, (l, o) => (t(), r("div", {
|
|
4184
4200
|
key: o,
|
|
4185
4201
|
class: v([
|
|
@@ -4187,11 +4203,11 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4187
4203
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
|
4188
4204
|
]),
|
|
4189
4205
|
onClick: (d) => i.$emit("update:modelValue", l.value)
|
|
4190
|
-
}, $(l.label), 11,
|
|
4206
|
+
}, $(l.label), 11, Pi))), 128))
|
|
4191
4207
|
])
|
|
4192
4208
|
]));
|
|
4193
4209
|
}
|
|
4194
|
-
}),
|
|
4210
|
+
}), Li = { class: "relative" }, qm = {
|
|
4195
4211
|
__name: "OcEmptyPage",
|
|
4196
4212
|
props: {
|
|
4197
4213
|
isButton: {
|
|
@@ -4289,7 +4305,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4289
4305
|
return (a, l) => (t(), r("div", {
|
|
4290
4306
|
class: v(["flex flex-col items-center", i.value[e.size].box])
|
|
4291
4307
|
}, [
|
|
4292
|
-
n("div",
|
|
4308
|
+
n("div", Li, [
|
|
4293
4309
|
n("div", {
|
|
4294
4310
|
class: v(["flex justify-center border rounded-full items-center aspect-square", [
|
|
4295
4311
|
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",
|
|
@@ -4330,16 +4346,16 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4330
4346
|
}, null, 8, ["label", "left-icon"])) : m("", !0)
|
|
4331
4347
|
], 2));
|
|
4332
4348
|
}
|
|
4333
|
-
},
|
|
4349
|
+
}, Ei = {
|
|
4334
4350
|
key: 0,
|
|
4335
4351
|
class: "min-w-[138px] flex flex-col gap-y-3"
|
|
4336
|
-
},
|
|
4352
|
+
}, zi = {
|
|
4337
4353
|
key: 1,
|
|
4338
4354
|
class: "flex gap-x-4 items-center"
|
|
4339
|
-
},
|
|
4355
|
+
}, Ni = { class: "flex flex-col gap-y-2" }, Ri = { class: "flex items-center gap-x-2" }, Fi = { class: "text-oc-text-400 text-sm" }, Ui = {
|
|
4340
4356
|
key: 0,
|
|
4341
4357
|
class: "flex justify-center items-center w-[38px] h-[38px] shrink-0 rounded-full bg-oc-gray-100"
|
|
4342
|
-
},
|
|
4358
|
+
}, qi = {
|
|
4343
4359
|
__name: "OcInfoCardButton",
|
|
4344
4360
|
props: {
|
|
4345
4361
|
isActive: Boolean,
|
|
@@ -4358,19 +4374,19 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4358
4374
|
e.isLoading ? "p-3" : "px-5 py-4 min-h-[62px] max-h-[76px]"
|
|
4359
4375
|
]])
|
|
4360
4376
|
}, [
|
|
4361
|
-
e.isLoading ? (t(), r("div",
|
|
4377
|
+
e.isLoading ? (t(), r("div", Ei, [
|
|
4362
4378
|
y(s(Se), { class: "h-[14px] w-[80%] rounded-sm" }),
|
|
4363
4379
|
y(s(Se), { class: "h-[20px] w-full rounded-sm" })
|
|
4364
|
-
])) : (t(), r("div",
|
|
4365
|
-
n("div",
|
|
4366
|
-
n("div",
|
|
4367
|
-
n("span",
|
|
4380
|
+
])) : (t(), r("div", zi, [
|
|
4381
|
+
n("div", Ni, [
|
|
4382
|
+
n("div", Ri, [
|
|
4383
|
+
n("span", Fi, $(e.title), 1),
|
|
4368
4384
|
e.chipOptions ? (t(), p(s(ae), me(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
|
4369
4385
|
]),
|
|
4370
4386
|
n("span", {
|
|
4371
4387
|
class: v(["flex gap-x-4 items-center text-xl group-hover:text-oc-text", e.isActive ? "text-oc-text" : "text-oc-text-400"])
|
|
4372
4388
|
}, [
|
|
4373
|
-
e.countryIso ? (t(), r("div",
|
|
4389
|
+
e.countryIso ? (t(), r("div", Ui, [
|
|
4374
4390
|
y(s(V), {
|
|
4375
4391
|
class: "!rounded-[1px]",
|
|
4376
4392
|
name: `flags/${e.countryIso.toUpperCase()}`
|
|
@@ -4383,7 +4399,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4383
4399
|
]))
|
|
4384
4400
|
], 2));
|
|
4385
4401
|
}
|
|
4386
|
-
},
|
|
4402
|
+
}, Hi = { class: "flex items-center gap-x-4 overflow-hidden" }, Yi = { class: "flex gap-x-2 overflow-auto" }, Wi = ["alt", "src"], Ki = {
|
|
4387
4403
|
__name: "OcPaymentMethods",
|
|
4388
4404
|
props: {
|
|
4389
4405
|
methods: {
|
|
@@ -4392,23 +4408,23 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4392
4408
|
}
|
|
4393
4409
|
},
|
|
4394
4410
|
setup(e) {
|
|
4395
|
-
return (i, a) => (t(), r("div",
|
|
4411
|
+
return (i, a) => (t(), r("div", Hi, [
|
|
4396
4412
|
a[0] || (a[0] = n("span", { class: "text-xs shrink-0 font-medium text-oc-text-300 uppercase" }, " Payment methods ", -1)),
|
|
4397
|
-
n("div",
|
|
4413
|
+
n("div", Yi, [
|
|
4398
4414
|
(t(!0), r(L, null, R(e.methods, (l) => (t(), r("img", {
|
|
4399
4415
|
key: l,
|
|
4400
4416
|
width: "35",
|
|
4401
4417
|
alt: l,
|
|
4402
4418
|
height: "24",
|
|
4403
4419
|
src: l
|
|
4404
|
-
}, null, 8,
|
|
4420
|
+
}, null, 8, Wi))), 128))
|
|
4405
4421
|
])
|
|
4406
4422
|
]));
|
|
4407
4423
|
}
|
|
4408
|
-
},
|
|
4424
|
+
}, Gi = { class: "flex justify-between md:flex-row flex-col gap-y-3 gap-x-4 md:gap-y-0" }, Xi = { key: 2 }, Ji = {
|
|
4409
4425
|
key: 4,
|
|
4410
4426
|
class: "flex shrink-0 gap-x-3"
|
|
4411
|
-
},
|
|
4427
|
+
}, Zi = {
|
|
4412
4428
|
__name: "OcTopActions",
|
|
4413
4429
|
props: {
|
|
4414
4430
|
moreButtonProps: Object,
|
|
@@ -4431,20 +4447,20 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4431
4447
|
const i = M(!1);
|
|
4432
4448
|
return (a, l) => {
|
|
4433
4449
|
var o;
|
|
4434
|
-
return t(), r("div",
|
|
4450
|
+
return t(), r("div", Gi, [
|
|
4435
4451
|
e.isLoading ? (t(), p(s(Se), {
|
|
4436
4452
|
key: 0,
|
|
4437
4453
|
class: "h-[20px] w-[322px] rounded-sm"
|
|
4438
4454
|
})) : m("", !0),
|
|
4439
|
-
!e.isLoading && e.paymentMethods.length ? (t(), p(
|
|
4455
|
+
!e.isLoading && e.paymentMethods.length ? (t(), p(Ki, {
|
|
4440
4456
|
key: 1,
|
|
4441
4457
|
methods: e.paymentMethods
|
|
4442
|
-
}, null, 8, ["methods"])) : (t(), r("div",
|
|
4458
|
+
}, null, 8, ["methods"])) : (t(), r("div", Xi)),
|
|
4443
4459
|
e.isLoading ? (t(), p(s(Se), {
|
|
4444
4460
|
key: 3,
|
|
4445
4461
|
class: "h-[20px] w-[168px] rounded-sm"
|
|
4446
|
-
})) : (t(), r("div",
|
|
4447
|
-
y(s(
|
|
4462
|
+
})) : (t(), r("div", Ji, [
|
|
4463
|
+
y(s(ne), F({
|
|
4448
4464
|
modelValue: i.value,
|
|
4449
4465
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => i.value = d),
|
|
4450
4466
|
"popper-options": { strategy: "fixed" },
|
|
@@ -4489,7 +4505,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4489
4505
|
]);
|
|
4490
4506
|
};
|
|
4491
4507
|
}
|
|
4492
|
-
},
|
|
4508
|
+
}, Qi = { class: "flex flex-col gap-y-5" }, _i = { class: "flex gap-x-5 overflow-x-auto" }, es = {
|
|
4493
4509
|
__name: "OcBalanceOverview",
|
|
4494
4510
|
props: {
|
|
4495
4511
|
overviewItems: {
|
|
@@ -4525,10 +4541,10 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4525
4541
|
changeTab: []
|
|
4526
4542
|
},
|
|
4527
4543
|
setup(e) {
|
|
4528
|
-
return (i, a) => (t(), r("div",
|
|
4529
|
-
n("div",
|
|
4544
|
+
return (i, a) => (t(), r("div", Qi, [
|
|
4545
|
+
n("div", _i, [
|
|
4530
4546
|
(t(!0), r(L, null, R(e.isLoading ? 2 : e.overviewTabs, (l) => S(i.$slots, l.value, { tab: l }, () => [
|
|
4531
|
-
(t(), p(
|
|
4547
|
+
(t(), p(qi, {
|
|
4532
4548
|
key: l.value,
|
|
4533
4549
|
title: l.title,
|
|
4534
4550
|
"is-loading": e.isLoading,
|
|
@@ -4543,7 +4559,7 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4543
4559
|
])), 256))
|
|
4544
4560
|
]),
|
|
4545
4561
|
a[0] || (a[0] = n("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
|
4546
|
-
y(
|
|
4562
|
+
y(Zi, {
|
|
4547
4563
|
"is-loading": e.isLoading,
|
|
4548
4564
|
"more-button-props": e.moreButtonProps,
|
|
4549
4565
|
"secondary-button-props": e.secondaryButtonProps,
|
|
@@ -4564,19 +4580,19 @@ const Dm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
|
4564
4580
|
}, 8, ["is-loading", "items", "container-class"])
|
|
4565
4581
|
]));
|
|
4566
4582
|
}
|
|
4567
|
-
},
|
|
4568
|
-
function
|
|
4569
|
-
return t(), r("div",
|
|
4583
|
+
}, ts = {}, ls = { 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" };
|
|
4584
|
+
function as(e, i) {
|
|
4585
|
+
return t(), r("div", ls, [
|
|
4570
4586
|
S(e.$slots, "default")
|
|
4571
4587
|
]);
|
|
4572
4588
|
}
|
|
4573
|
-
const at = /* @__PURE__ */ he(
|
|
4589
|
+
const at = /* @__PURE__ */ he(ts, [["render", as]]), ns = { class: "flex" }, os = {
|
|
4574
4590
|
key: 0,
|
|
4575
4591
|
class: "p-2"
|
|
4576
|
-
},
|
|
4592
|
+
}, is = { class: "py-2 px-3" }, ss = {
|
|
4577
4593
|
key: 0,
|
|
4578
4594
|
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"
|
|
4579
|
-
},
|
|
4595
|
+
}, rs = { class: "p-5 flex items-center justify-between" }, ds = { class: "px-5 flex-1 flex flex-col gap-y-5" }, cs = /* @__PURE__ */ Z({
|
|
4580
4596
|
__name: "MobileDynamicType",
|
|
4581
4597
|
props: {
|
|
4582
4598
|
boxes: { type: Array, default: () => [] },
|
|
@@ -4592,7 +4608,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4592
4608
|
default: k(() => {
|
|
4593
4609
|
var o, d;
|
|
4594
4610
|
return [
|
|
4595
|
-
n("div",
|
|
4611
|
+
n("div", ns, [
|
|
4596
4612
|
(t(!0), r(L, null, R((o = e.boxes[0]) == null ? void 0 : o.items.slice(0, 2), (c, u) => (t(), p(s(qe), F({
|
|
4597
4613
|
key: u,
|
|
4598
4614
|
"is-transparent": "",
|
|
@@ -4612,12 +4628,12 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4612
4628
|
key: "0"
|
|
4613
4629
|
} : void 0
|
|
4614
4630
|
]), 1040, ["title", "content", "class", "is-loading"]))), 128)),
|
|
4615
|
-
(d = e.boxes[0]) != null && d.showInfo ? (t(), r("div",
|
|
4631
|
+
(d = e.boxes[0]) != null && d.showInfo ? (t(), r("div", os, [
|
|
4616
4632
|
y(s(le), null, {
|
|
4617
4633
|
popper: k(() => {
|
|
4618
4634
|
var c;
|
|
4619
4635
|
return [
|
|
4620
|
-
n("div",
|
|
4636
|
+
n("div", is, $((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
|
4621
4637
|
];
|
|
4622
4638
|
}),
|
|
4623
4639
|
default: k(() => [
|
|
@@ -4655,8 +4671,8 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4655
4671
|
}),
|
|
4656
4672
|
y(Me, { name: "slide-from-right" }, {
|
|
4657
4673
|
default: k(() => [
|
|
4658
|
-
i.value ? (t(), r("div",
|
|
4659
|
-
n("div",
|
|
4674
|
+
i.value ? (t(), r("div", ss, [
|
|
4675
|
+
n("div", rs, [
|
|
4660
4676
|
l[4] || (l[4] = n("span", { class: "font-medium" }, "Details", -1)),
|
|
4661
4677
|
y(s(G), {
|
|
4662
4678
|
size: "small",
|
|
@@ -4668,7 +4684,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4668
4684
|
onClick: l[2] || (l[2] = (o) => i.value = !1)
|
|
4669
4685
|
})
|
|
4670
4686
|
]),
|
|
4671
|
-
n("div",
|
|
4687
|
+
n("div", ds, [
|
|
4672
4688
|
(t(!0), r(L, null, R(e.boxes, (o, d) => (t(), p(at, { key: d }, {
|
|
4673
4689
|
default: k(() => [
|
|
4674
4690
|
(t(!0), r(L, null, R(o.items, (c, u) => (t(), p(s(qe), F({
|
|
@@ -4706,7 +4722,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4706
4722
|
})
|
|
4707
4723
|
]));
|
|
4708
4724
|
}
|
|
4709
|
-
}),
|
|
4725
|
+
}), us = { class: "hidden md:flex md:gap-5 gap-3 md:flex-row flex-col" }, ms = { class: "py-2 px-3" }, fs = {
|
|
4710
4726
|
__name: "OcDynamicType",
|
|
4711
4727
|
props: {
|
|
4712
4728
|
boxes: { type: Array, default: () => [] },
|
|
@@ -4719,7 +4735,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4719
4735
|
emits: ["addCustomer", "editCustomer"],
|
|
4720
4736
|
setup(e) {
|
|
4721
4737
|
return (i, a) => (t(), r(L, null, [
|
|
4722
|
-
n("div",
|
|
4738
|
+
n("div", us, [
|
|
4723
4739
|
(t(!0), r(L, null, R(e.boxes, (l, o) => (t(), p(at, {
|
|
4724
4740
|
key: o,
|
|
4725
4741
|
class: v(
|
|
@@ -4756,7 +4772,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4756
4772
|
y(s(le), { "popper-options": { strategy: "fixed" } }, {
|
|
4757
4773
|
popper: k(() => [
|
|
4758
4774
|
S(i.$slots, l.infoTooltipSlot, {}, () => [
|
|
4759
|
-
n("div",
|
|
4775
|
+
n("div", ms, $(l.infoTooltip), 1)
|
|
4760
4776
|
])
|
|
4761
4777
|
]),
|
|
4762
4778
|
default: k(() => [
|
|
@@ -4799,7 +4815,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4799
4815
|
} : void 0
|
|
4800
4816
|
]), 1032, ["variant", "customer", "is-hover", "is-edit"])) : m("", !0)
|
|
4801
4817
|
]),
|
|
4802
|
-
y(
|
|
4818
|
+
y(cs, {
|
|
4803
4819
|
class: "flex md:hidden",
|
|
4804
4820
|
boxes: e.boxes,
|
|
4805
4821
|
"is-customer": e.isCustomer,
|
|
@@ -4816,7 +4832,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4816
4832
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
|
4817
4833
|
], 64));
|
|
4818
4834
|
}
|
|
4819
|
-
},
|
|
4835
|
+
}, vs = { class: "md:pt-5 pt-0 md:px-10 px-5" }, gs = { class: "flex items-center gap-x-3" }, ps = { class: "font-medium" }, ys = { class: "flex items-center gap-x-2 max-w-full" }, xs = ["href"], hs = { class: "truncate" }, bs = { class: "text-oc-text whitespace-nowrap" }, Hm = {
|
|
4820
4836
|
__name: "OcAdditionalContent",
|
|
4821
4837
|
props: {
|
|
4822
4838
|
mainLink: { type: String, default: "" },
|
|
@@ -4865,7 +4881,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4865
4881
|
console.error("Unable to copy text to clipboard. Error: ", l);
|
|
4866
4882
|
}
|
|
4867
4883
|
};
|
|
4868
|
-
return (l, o) => (t(), r("div",
|
|
4884
|
+
return (l, o) => (t(), r("div", vs, [
|
|
4869
4885
|
e.variant === "default" ? (t(), p(Ot, {
|
|
4870
4886
|
key: 0,
|
|
4871
4887
|
description: e.mainLink,
|
|
@@ -4873,8 +4889,8 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4873
4889
|
class: v(["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])
|
|
4874
4890
|
}, {
|
|
4875
4891
|
title: k(() => [
|
|
4876
|
-
n("div",
|
|
4877
|
-
n("span",
|
|
4892
|
+
n("div", gs, [
|
|
4893
|
+
n("span", ps, $(e.additionalTitle), 1),
|
|
4878
4894
|
e.chipVariant ? (t(), p(s(ae), {
|
|
4879
4895
|
key: 0,
|
|
4880
4896
|
variant: e.chipVariant,
|
|
@@ -4883,15 +4899,15 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4883
4899
|
])
|
|
4884
4900
|
]),
|
|
4885
4901
|
description: k(() => [
|
|
4886
|
-
n("div",
|
|
4902
|
+
n("div", ys, [
|
|
4887
4903
|
n("a", {
|
|
4888
4904
|
href: e.href || `${e.mainLink}${e.userId}`,
|
|
4889
4905
|
target: "_blank",
|
|
4890
4906
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
|
4891
4907
|
}, [
|
|
4892
|
-
n("div",
|
|
4893
|
-
n("div",
|
|
4894
|
-
], 8,
|
|
4908
|
+
n("div", hs, $(e.mainLink), 1),
|
|
4909
|
+
n("div", bs, $(e.userId), 1)
|
|
4910
|
+
], 8, xs),
|
|
4895
4911
|
y(s(Ao), {
|
|
4896
4912
|
"primary-actions": e.primaryActions,
|
|
4897
4913
|
onCopy: a
|
|
@@ -4899,7 +4915,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4899
4915
|
])
|
|
4900
4916
|
]),
|
|
4901
4917
|
_: 1
|
|
4902
|
-
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(
|
|
4918
|
+
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(fs, {
|
|
4903
4919
|
key: 1,
|
|
4904
4920
|
boxes: e.boxes,
|
|
4905
4921
|
"customer-card-variant": e.customerCardVariant,
|
|
@@ -4917,7 +4933,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4917
4933
|
S(l.$slots, c, me(Te(u)))
|
|
4918
4934
|
])
|
|
4919
4935
|
}))
|
|
4920
|
-
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(
|
|
4936
|
+
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(es, {
|
|
4921
4937
|
key: 2,
|
|
4922
4938
|
"overview-items": e.overviewItems,
|
|
4923
4939
|
"overview-tabs": e.overviewTabs,
|
|
@@ -4941,13 +4957,13 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4941
4957
|
]), 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)
|
|
4942
4958
|
]));
|
|
4943
4959
|
}
|
|
4944
|
-
},
|
|
4960
|
+
}, ws = { class: "send-money-initial-state relative border rounded" }, $s = { class: "z-10 p-7 flex flex-col relative" }, ks = { class: "text-xl font-medium mb-4" }, Ss = {
|
|
4945
4961
|
key: 0,
|
|
4946
4962
|
class: "text-oc-text-400 mb-10"
|
|
4947
|
-
},
|
|
4963
|
+
}, Cs = {
|
|
4948
4964
|
key: 1,
|
|
4949
4965
|
class: "flex gap-4 flex-wrap"
|
|
4950
|
-
},
|
|
4966
|
+
}, Bs = { class: "text-sm font-medium" }, Os = {
|
|
4951
4967
|
__name: "OcFeatureOverviewCard",
|
|
4952
4968
|
props: {
|
|
4953
4969
|
title: {
|
|
@@ -4967,11 +4983,11 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4967
4983
|
setup(e) {
|
|
4968
4984
|
return (i, a) => {
|
|
4969
4985
|
var l;
|
|
4970
|
-
return t(), r("div",
|
|
4971
|
-
n("div",
|
|
4972
|
-
n("h2",
|
|
4973
|
-
e.description ? (t(), r("p",
|
|
4974
|
-
(l = e.features) != null && l.length ? (t(), r("div",
|
|
4986
|
+
return t(), r("div", ws, [
|
|
4987
|
+
n("div", $s, [
|
|
4988
|
+
n("h2", ks, $(e.title), 1),
|
|
4989
|
+
e.description ? (t(), r("p", Ss, $(e.description), 1)) : m("", !0),
|
|
4990
|
+
(l = e.features) != null && l.length ? (t(), r("div", Cs, [
|
|
4975
4991
|
(t(!0), r(L, null, R(e.features, (o) => (t(), r("div", {
|
|
4976
4992
|
key: o.title,
|
|
4977
4993
|
class: "rounded bg-white flex flex-col gap-2 p-6 items-center justify-center relative"
|
|
@@ -4987,14 +5003,14 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
4987
5003
|
height: "56",
|
|
4988
5004
|
width: "56"
|
|
4989
5005
|
}, null, 8, ["name"]),
|
|
4990
|
-
n("span",
|
|
5006
|
+
n("span", Bs, $(o.title), 1)
|
|
4991
5007
|
]))), 128))
|
|
4992
5008
|
])) : m("", !0)
|
|
4993
5009
|
])
|
|
4994
5010
|
]);
|
|
4995
5011
|
};
|
|
4996
5012
|
}
|
|
4997
|
-
},
|
|
5013
|
+
}, Ym = /* @__PURE__ */ he(Os, [["__scopeId", "data-v-d658d1d3"]]), Vs = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, Is = { class: "text-sm" }, Wm = /* @__PURE__ */ Z({
|
|
4998
5014
|
__name: "OcSandboxBanner",
|
|
4999
5015
|
props: {
|
|
5000
5016
|
title: {
|
|
@@ -5007,15 +5023,15 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5007
5023
|
}
|
|
5008
5024
|
},
|
|
5009
5025
|
setup(e) {
|
|
5010
|
-
return (i, a) => (t(), r("div",
|
|
5011
|
-
n("span",
|
|
5026
|
+
return (i, a) => (t(), r("div", Vs, [
|
|
5027
|
+
n("span", Is, $(e.title), 1),
|
|
5012
5028
|
e.chipProps ? (t(), p(s(ae), F({
|
|
5013
5029
|
key: 0,
|
|
5014
5030
|
class: "absolute left-[40px]"
|
|
5015
5031
|
}, e.chipProps), null, 16)) : m("", !0)
|
|
5016
5032
|
]));
|
|
5017
5033
|
}
|
|
5018
|
-
}),
|
|
5034
|
+
}), Ts = { class: "flex flex-col text-center gap-y-3" }, Ds = { class: "text-lg font-medium" }, As = { class: "text-sm text-oc-text-400" }, Km = /* @__PURE__ */ Z({
|
|
5019
5035
|
__name: "OcBox",
|
|
5020
5036
|
props: {
|
|
5021
5037
|
icon: String,
|
|
@@ -5036,13 +5052,13 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5036
5052
|
height: e.height,
|
|
5037
5053
|
variant: e.variant
|
|
5038
5054
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
|
5039
|
-
n("div",
|
|
5040
|
-
n("span",
|
|
5041
|
-
n("span",
|
|
5055
|
+
n("div", Ts, [
|
|
5056
|
+
n("span", Ds, $(e.title), 1),
|
|
5057
|
+
n("span", As, $(e.description), 1)
|
|
5042
5058
|
])
|
|
5043
5059
|
], 2));
|
|
5044
5060
|
}
|
|
5045
|
-
}),
|
|
5061
|
+
}), Gm = /* @__PURE__ */ Z({
|
|
5046
5062
|
__name: "OcAuthenticationOption",
|
|
5047
5063
|
props: {
|
|
5048
5064
|
icon: String,
|
|
@@ -5068,7 +5084,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5068
5084
|
e.chipProps ? (t(), p(s(ae), F({ key: 1 }, e.chipProps, { class: "absolute top-0 -translate-y-1/2 sm:right-9" }), null, 16)) : m("", !0)
|
|
5069
5085
|
], 2));
|
|
5070
5086
|
}
|
|
5071
|
-
}),
|
|
5087
|
+
}), Ms = { class: "flex items-center" }, js = { class: "flex flex-1 items-center gap-x-3" }, Ps = { class: "font-medium text-lg" }, Xm = /* @__PURE__ */ Z({
|
|
5072
5088
|
__name: "OcVerificationOption",
|
|
5073
5089
|
props: {
|
|
5074
5090
|
title: {
|
|
@@ -5092,10 +5108,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5092
5108
|
return (i, a) => (t(), r("div", {
|
|
5093
5109
|
class: v(["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"])
|
|
5094
5110
|
}, [
|
|
5095
|
-
n("div",
|
|
5096
|
-
n("div",
|
|
5111
|
+
n("div", Ms, [
|
|
5112
|
+
n("div", js, [
|
|
5097
5113
|
S(i.$slots, "title", {}, () => [
|
|
5098
|
-
n("span",
|
|
5114
|
+
n("span", Ps, $(e.title), 1)
|
|
5099
5115
|
]),
|
|
5100
5116
|
e.chipOptions ? (t(), p(s(ae), me(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
|
5101
5117
|
]),
|
|
@@ -5110,13 +5126,13 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5110
5126
|
S(i.$slots, "content")
|
|
5111
5127
|
], 2));
|
|
5112
5128
|
}
|
|
5113
|
-
}),
|
|
5129
|
+
}), Ls = {
|
|
5114
5130
|
key: 0,
|
|
5115
5131
|
class: "flex flex-col gap-y-4 w-full"
|
|
5116
|
-
},
|
|
5132
|
+
}, Es = { class: "flex flex-col gap-y-3" }, zs = { class: "font-medium text-oc-text" }, Ns = { class: "text-oc-text-400" }, Rs = { class: "flex gap-x-3" }, Fs = {
|
|
5117
5133
|
key: 0,
|
|
5118
5134
|
class: "text-oc-text"
|
|
5119
|
-
},
|
|
5135
|
+
}, Us = ["innerHTML"], Jm = {
|
|
5120
5136
|
__name: "OcSnackbar",
|
|
5121
5137
|
props: {
|
|
5122
5138
|
modelValue: {
|
|
@@ -5245,12 +5261,12 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5245
5261
|
}, null, 8, ["name", "width", "height"]))
|
|
5246
5262
|
], 64)) : m("", !0),
|
|
5247
5263
|
S(h.$slots, "default", {}, () => [
|
|
5248
|
-
f.value ? (t(), r("div",
|
|
5249
|
-
n("div",
|
|
5250
|
-
n("span",
|
|
5251
|
-
n("span",
|
|
5264
|
+
f.value ? (t(), r("div", Ls, [
|
|
5265
|
+
n("div", Es, [
|
|
5266
|
+
n("span", zs, $(e.title), 1),
|
|
5267
|
+
n("span", Ns, $(e.description), 1)
|
|
5252
5268
|
]),
|
|
5253
|
-
n("div",
|
|
5269
|
+
n("div", Rs, [
|
|
5254
5270
|
e.secondaryButton ? (t(), p(s(G), F({
|
|
5255
5271
|
key: 0,
|
|
5256
5272
|
variant: "secondary",
|
|
@@ -5269,7 +5285,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5269
5285
|
key: 1,
|
|
5270
5286
|
class: "text-oc-text",
|
|
5271
5287
|
innerHTML: e.content
|
|
5272
|
-
}, null, 8,
|
|
5288
|
+
}, null, 8, Us)) : (t(), r("span", Fs, $(e.content), 1))
|
|
5273
5289
|
], 2))
|
|
5274
5290
|
]),
|
|
5275
5291
|
e.dismissible ? (t(), r("div", {
|
|
@@ -5290,7 +5306,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5290
5306
|
_: 3
|
|
5291
5307
|
}, 8, ["name"]));
|
|
5292
5308
|
}
|
|
5293
|
-
},
|
|
5309
|
+
}, qs = { class: "flex items-center gap-3" }, Hs = { class: "text-oc-text-500" }, Ys = { class: "p-4 text-sm" }, Ws = {
|
|
5294
5310
|
__name: "OcBanner",
|
|
5295
5311
|
props: {
|
|
5296
5312
|
modelValue: {
|
|
@@ -5349,7 +5365,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5349
5365
|
n("div", {
|
|
5350
5366
|
class: v(["flex flex-1 items-center justify-between gap-3 min-h-[34px] px-4 text-sm", s(i)[e.color]])
|
|
5351
5367
|
}, [
|
|
5352
|
-
n("div",
|
|
5368
|
+
n("div", qs, [
|
|
5353
5369
|
e.showIcon ? (t(), p(s(V), {
|
|
5354
5370
|
key: 0,
|
|
5355
5371
|
name: e.icon,
|
|
@@ -5358,7 +5374,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5358
5374
|
height: "16"
|
|
5359
5375
|
}, null, 8, ["name"])) : m("", !0),
|
|
5360
5376
|
S(l.$slots, "title", {}, () => [
|
|
5361
|
-
n("div",
|
|
5377
|
+
n("div", Hs, $(e.title), 1)
|
|
5362
5378
|
], !0)
|
|
5363
5379
|
]),
|
|
5364
5380
|
e.dismissible ? (t(), p(s(G), {
|
|
@@ -5369,7 +5385,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5369
5385
|
onClick: o[0] || (o[0] = (d) => l.$emit("update:modelValue", !1))
|
|
5370
5386
|
})) : m("", !0)
|
|
5371
5387
|
], 2),
|
|
5372
|
-
n("div",
|
|
5388
|
+
n("div", Ys, [
|
|
5373
5389
|
S(l.$slots, "default", {}, () => [
|
|
5374
5390
|
W($(e.content), 1)
|
|
5375
5391
|
], !0)
|
|
@@ -5381,10 +5397,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5381
5397
|
_: 3
|
|
5382
5398
|
}, 8, ["name"]));
|
|
5383
5399
|
}
|
|
5384
|
-
},
|
|
5400
|
+
}, Zm = /* @__PURE__ */ he(Ws, [["__scopeId", "data-v-d8517c87"]]), Ks = { class: "rounded-full share-icon w-fit cursor-pointer text-oc-text-400 p-3 border border-gray-200" }, Gs = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Xs = {
|
|
5385
5401
|
key: 1,
|
|
5386
5402
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
|
5387
|
-
},
|
|
5403
|
+
}, Js = { class: "text-sm" }, Qm = {
|
|
5388
5404
|
__name: "OcShareIcon",
|
|
5389
5405
|
props: {
|
|
5390
5406
|
text: String,
|
|
@@ -5397,10 +5413,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5397
5413
|
setup(e) {
|
|
5398
5414
|
return (i, a) => e.isOnlyIcon ? (t(), p(s(le), me(F({ key: 0 }, e.tooltipOptions)), {
|
|
5399
5415
|
popper: k(() => [
|
|
5400
|
-
n("div",
|
|
5416
|
+
n("div", Gs, $(e.text), 1)
|
|
5401
5417
|
]),
|
|
5402
5418
|
default: k(() => [
|
|
5403
|
-
n("div",
|
|
5419
|
+
n("div", Ks, [
|
|
5404
5420
|
y(s(V), {
|
|
5405
5421
|
name: e.icon,
|
|
5406
5422
|
width: "20",
|
|
@@ -5409,25 +5425,25 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5409
5425
|
])
|
|
5410
5426
|
]),
|
|
5411
5427
|
_: 1
|
|
5412
|
-
}, 16)) : (t(), r("div",
|
|
5428
|
+
}, 16)) : (t(), r("div", Xs, [
|
|
5413
5429
|
y(s(V), {
|
|
5414
5430
|
name: e.icon,
|
|
5415
5431
|
width: "20",
|
|
5416
5432
|
height: "20"
|
|
5417
5433
|
}, null, 8, ["name"]),
|
|
5418
|
-
n("span",
|
|
5434
|
+
n("span", Js, $(e.text), 1)
|
|
5419
5435
|
]));
|
|
5420
5436
|
}
|
|
5421
|
-
},
|
|
5437
|
+
}, Zs = { class: "flex flex-col gap-y-2 w-full" }, Qs = { class: "flex gap-x-1 items-center" }, _s = {
|
|
5422
5438
|
key: 0,
|
|
5423
5439
|
class: "text-oc-error"
|
|
5424
|
-
},
|
|
5440
|
+
}, er = {
|
|
5425
5441
|
key: 0,
|
|
5426
5442
|
class: "px-3 py-2"
|
|
5427
|
-
},
|
|
5443
|
+
}, tr = {
|
|
5428
5444
|
key: 1,
|
|
5429
5445
|
class: "text-sm flex items-center text-oc-text-400"
|
|
5430
|
-
},
|
|
5446
|
+
}, lr = {
|
|
5431
5447
|
key: 2,
|
|
5432
5448
|
class: "text-sm text-oc-error flex items-center"
|
|
5433
5449
|
}, pe = {
|
|
@@ -5443,19 +5459,19 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5443
5459
|
labelClass: String
|
|
5444
5460
|
},
|
|
5445
5461
|
setup(e) {
|
|
5446
|
-
return (i, a) => (t(), r("div",
|
|
5462
|
+
return (i, a) => (t(), r("div", Zs, [
|
|
5447
5463
|
e.label ? (t(), r("label", {
|
|
5448
5464
|
key: 0,
|
|
5449
5465
|
class: v(["text-sm flex items-center gap-x-3 font-medium text-oc-text-400", e.labelClass])
|
|
5450
5466
|
}, [
|
|
5451
|
-
n("span",
|
|
5467
|
+
n("span", Qs, [
|
|
5452
5468
|
W($(e.label) + " ", 1),
|
|
5453
|
-
e.isRequired ? (t(), r("span",
|
|
5469
|
+
e.isRequired ? (t(), r("span", _s, "*")) : m("", !0)
|
|
5454
5470
|
]),
|
|
5455
5471
|
e.labelIcon ? (t(), p(s(le), me(F({ key: 0 }, e.tooltipOptions)), {
|
|
5456
5472
|
popper: k(() => [
|
|
5457
5473
|
S(i.$slots, "tooltipText", {}, () => [
|
|
5458
|
-
e.tooltipText ? (t(), r("div",
|
|
5474
|
+
e.tooltipText ? (t(), r("div", er, $(e.tooltipText), 1)) : m("", !0)
|
|
5459
5475
|
])
|
|
5460
5476
|
]),
|
|
5461
5477
|
default: k(() => [
|
|
@@ -5469,18 +5485,18 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5469
5485
|
}, 16)) : m("", !0)
|
|
5470
5486
|
], 2)) : m("", !0),
|
|
5471
5487
|
S(i.$slots, "default"),
|
|
5472
|
-
(e.hint || i.$slots.hint) && !e.errorMessage ? (t(), r("div",
|
|
5488
|
+
(e.hint || i.$slots.hint) && !e.errorMessage ? (t(), r("div", tr, [
|
|
5473
5489
|
S(i.$slots, "hint", {}, () => [
|
|
5474
5490
|
W($(e.hint), 1)
|
|
5475
5491
|
])
|
|
5476
5492
|
])) : m("", !0),
|
|
5477
|
-
e.errorMessage ? (t(), r("div",
|
|
5493
|
+
e.errorMessage ? (t(), r("div", lr, $(e.errorMessage), 1)) : m("", !0)
|
|
5478
5494
|
]));
|
|
5479
5495
|
}
|
|
5480
|
-
},
|
|
5496
|
+
}, ar = ["disabled"], nr = {
|
|
5481
5497
|
key: 2,
|
|
5482
5498
|
class: "overflow-hidden text-ellipsis"
|
|
5483
|
-
},
|
|
5499
|
+
}, or = {
|
|
5484
5500
|
__name: "OcButton",
|
|
5485
5501
|
props: {
|
|
5486
5502
|
label: String,
|
|
@@ -5561,7 +5577,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5561
5577
|
height: b.value[e.size],
|
|
5562
5578
|
name: e.leftIcon
|
|
5563
5579
|
}, null, 8, ["width", "class", "height", "name"])) : m("", !0),
|
|
5564
|
-
e.label ? (t(), r("span",
|
|
5580
|
+
e.label ? (t(), r("span", nr, $(e.label), 1)) : S(T.$slots, "default", { key: 3 }, void 0, !0),
|
|
5565
5581
|
e.rightIcon ? (t(), p(s(V), {
|
|
5566
5582
|
key: 4,
|
|
5567
5583
|
width: b.value[e.size],
|
|
@@ -5569,7 +5585,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5569
5585
|
name: e.rightIcon,
|
|
5570
5586
|
class: v(e.iconClass)
|
|
5571
5587
|
}, null, 8, ["width", "height", "name", "class"])) : m("", !0)
|
|
5572
|
-
], 42,
|
|
5588
|
+
], 42, ar),
|
|
5573
5589
|
e.isAdditionalArea && !e.isTransparent ? (t(), r("div", {
|
|
5574
5590
|
key: 0,
|
|
5575
5591
|
class: v(["border-y border-r flex cursor-pointer items-center justify-center oc-btn-add-area px-[6px] py-3 rounded-r-[inherit]", [o.value[e.size], e.variant]]),
|
|
@@ -5584,7 +5600,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5584
5600
|
], 2)) : m("", !0)
|
|
5585
5601
|
], 2));
|
|
5586
5602
|
}
|
|
5587
|
-
}, G = /* @__PURE__ */ he(
|
|
5603
|
+
}, G = /* @__PURE__ */ he(or, [["__scopeId", "data-v-af49bb32"]]), ir = { class: "w-[30px] h-[20px] flex items-center justify-center" }, sr = {
|
|
5588
5604
|
__name: "OcCardInput",
|
|
5589
5605
|
props: {
|
|
5590
5606
|
placeholder: String,
|
|
@@ -5631,7 +5647,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5631
5647
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => i.$emit("update:modelValue", l))
|
|
5632
5648
|
}, {
|
|
5633
5649
|
icon: k(() => [
|
|
5634
|
-
n("div",
|
|
5650
|
+
n("div", ir, [
|
|
5635
5651
|
y(s(V), {
|
|
5636
5652
|
name: `payment-methods/${e.cardType}`,
|
|
5637
5653
|
width: "20",
|
|
@@ -5642,7 +5658,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5642
5658
|
_: 1
|
|
5643
5659
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
5644
5660
|
}
|
|
5645
|
-
},
|
|
5661
|
+
}, rr = ["value", "checked", "disabled"], De = {
|
|
5646
5662
|
__name: "OcCheckbox",
|
|
5647
5663
|
props: {
|
|
5648
5664
|
modelValue: Boolean,
|
|
@@ -5701,14 +5717,14 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5701
5717
|
class: "h-0 w-0 hidden",
|
|
5702
5718
|
disabled: e.isDisabled,
|
|
5703
5719
|
onChange: d
|
|
5704
|
-
}, null, 40,
|
|
5720
|
+
}, null, 40, rr),
|
|
5705
5721
|
S(c.$slots, "after")
|
|
5706
5722
|
], 2)
|
|
5707
5723
|
]),
|
|
5708
5724
|
_: 3
|
|
5709
5725
|
}, 8, ["label", "hint", "error-message"]));
|
|
5710
5726
|
}
|
|
5711
|
-
},
|
|
5727
|
+
}, dr = {
|
|
5712
5728
|
__name: "OcCheckboxesGroup",
|
|
5713
5729
|
props: {
|
|
5714
5730
|
alignment: {
|
|
@@ -5787,14 +5803,14 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5787
5803
|
_: 1
|
|
5788
5804
|
}, 8, ["label", "error-message", "hint"]));
|
|
5789
5805
|
}
|
|
5790
|
-
},
|
|
5806
|
+
}, cr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, _m = {
|
|
5791
5807
|
__name: "OcCriteria",
|
|
5792
5808
|
props: {
|
|
5793
5809
|
modelValue: Boolean,
|
|
5794
5810
|
label: String
|
|
5795
5811
|
},
|
|
5796
5812
|
setup(e) {
|
|
5797
|
-
return (i, a) => (t(), r("div",
|
|
5813
|
+
return (i, a) => (t(), r("div", cr, [
|
|
5798
5814
|
n("div", {
|
|
5799
5815
|
class: v([
|
|
5800
5816
|
"w-5 h-5 flex items-center justify-center rounded-full border transition-all duration-300",
|
|
@@ -5813,16 +5829,16 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5813
5829
|
}, $(e.label), 3)) : m("", !0)
|
|
5814
5830
|
]));
|
|
5815
5831
|
}
|
|
5816
|
-
},
|
|
5832
|
+
}, ur = {
|
|
5817
5833
|
key: 0,
|
|
5818
5834
|
class: "border-r border-gray-200 pr-3 py-3"
|
|
5819
|
-
},
|
|
5835
|
+
}, mr = { class: "flex flex-1 items-baseline gap-x-2" }, fr = {
|
|
5820
5836
|
key: 0,
|
|
5821
5837
|
class: "text-oc-text-300"
|
|
5822
|
-
},
|
|
5838
|
+
}, vr = { class: "flex items-center gap-x-1 w-full" }, gr = {
|
|
5823
5839
|
key: 0,
|
|
5824
5840
|
class: "text-oc-text-300"
|
|
5825
|
-
},
|
|
5841
|
+
}, pr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], xe = {
|
|
5826
5842
|
__name: "OcInput",
|
|
5827
5843
|
props: {
|
|
5828
5844
|
disabled: {
|
|
@@ -5954,7 +5970,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5954
5970
|
return (j = x.$refs.inputRef) == null ? void 0 : j.focus();
|
|
5955
5971
|
})
|
|
5956
5972
|
}, [
|
|
5957
|
-
x.$slots.trailing ? (t(), r("div",
|
|
5973
|
+
x.$slots.trailing ? (t(), r("div", ur, [
|
|
5958
5974
|
S(x.$slots, "trailing")
|
|
5959
5975
|
])) : m("", !0),
|
|
5960
5976
|
S(x.$slots, "icon", {}, () => [
|
|
@@ -5964,10 +5980,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5964
5980
|
name: e.icon
|
|
5965
5981
|
}, e.iconProps), null, 16, ["name"])) : m("", !0)
|
|
5966
5982
|
]),
|
|
5967
|
-
n("div",
|
|
5968
|
-
e.isInlineLabel && e.label ? (t(), r("label",
|
|
5969
|
-
n("div",
|
|
5970
|
-
e.preFill ? (t(), r("span",
|
|
5983
|
+
n("div", mr, [
|
|
5984
|
+
e.isInlineLabel && e.label ? (t(), r("label", fr, $(e.label) + ": ", 1)) : m("", !0),
|
|
5985
|
+
n("div", vr, [
|
|
5986
|
+
e.preFill ? (t(), r("span", gr, $(e.preFill), 1)) : m("", !0),
|
|
5971
5987
|
n("input", F({
|
|
5972
5988
|
ref_key: "inputRef",
|
|
5973
5989
|
ref: o,
|
|
@@ -5988,7 +6004,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
5988
6004
|
}),
|
|
5989
6005
|
onInput: b[2] || (b[2] = (T) => x.$emit("update:modelValue", T.target.value)),
|
|
5990
6006
|
onPaste: b[3] || (b[3] = (T) => x.$emit("paste"))
|
|
5991
|
-
}), null, 16,
|
|
6007
|
+
}), null, 16, pr)
|
|
5992
6008
|
])
|
|
5993
6009
|
]),
|
|
5994
6010
|
x.$slots.leading || h.value ? (t(), r("div", {
|
|
@@ -6024,10 +6040,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6024
6040
|
} : void 0
|
|
6025
6041
|
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
6026
6042
|
}
|
|
6027
|
-
},
|
|
6043
|
+
}, yr = { class: "flex flex-1 items-baseline gap-x-2" }, xr = {
|
|
6028
6044
|
key: 0,
|
|
6029
6045
|
class: "text-oc-text-300"
|
|
6030
|
-
},
|
|
6046
|
+
}, hr = { class: "w-full flex flex-wrap gap-2" }, br = { key: 1 }, wr = ["value", "readonly", "placeholder", "disabled"], ef = {
|
|
6031
6047
|
__name: "OcInputOption",
|
|
6032
6048
|
props: {
|
|
6033
6049
|
label: String,
|
|
@@ -6104,8 +6120,8 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6104
6120
|
default: k(() => {
|
|
6105
6121
|
var A, w;
|
|
6106
6122
|
return [
|
|
6107
|
-
n("div",
|
|
6108
|
-
e.isInlineLabel && e.label ? (t(), r("label",
|
|
6123
|
+
n("div", yr, [
|
|
6124
|
+
e.isInlineLabel && e.label ? (t(), r("label", xr, $(e.label) + ": ", 1)) : m("", !0),
|
|
6109
6125
|
n("div", {
|
|
6110
6126
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
|
6111
6127
|
onClick: C[4] || (C[4] = (O) => c.value.focus())
|
|
@@ -6116,7 +6132,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6116
6132
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
|
6117
6133
|
}])
|
|
6118
6134
|
}, [
|
|
6119
|
-
n("div",
|
|
6135
|
+
n("div", hr, [
|
|
6120
6136
|
S(j.$slots, "default", {
|
|
6121
6137
|
options: x.value,
|
|
6122
6138
|
areAllOptionsVisible: f.value
|
|
@@ -6138,7 +6154,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6138
6154
|
name: "minus",
|
|
6139
6155
|
width: "12",
|
|
6140
6156
|
height: "12"
|
|
6141
|
-
})) : (t(), r("span",
|
|
6157
|
+
})) : (t(), r("span", br, $(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
|
6142
6158
|
]),
|
|
6143
6159
|
_: 1
|
|
6144
6160
|
})) : m("", !0)
|
|
@@ -6157,7 +6173,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6157
6173
|
console.log("$event: ", O), h.value = !1, j.$emit("blur", O);
|
|
6158
6174
|
}),
|
|
6159
6175
|
onKeyup: C[3] || (C[3] = Ue((O) => T(O.target.value), ["enter"]))
|
|
6160
|
-
}, null, 42,
|
|
6176
|
+
}, null, 42, wr)
|
|
6161
6177
|
])
|
|
6162
6178
|
], 2)
|
|
6163
6179
|
])
|
|
@@ -6167,7 +6183,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6167
6183
|
_: 3
|
|
6168
6184
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
6169
6185
|
}
|
|
6170
|
-
},
|
|
6186
|
+
}, $r = { class: "flex gap-x-2 items-center" }, kr = { class: "text-oc-text-400 font-medium text-sm" }, Sr = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, Cr = ["onClick"], Br = { class: "text-oc-text-300" }, Or = { class: "text-oc-text-400" }, Vr = {
|
|
6171
6187
|
__name: "OcPhoneInput",
|
|
6172
6188
|
props: {
|
|
6173
6189
|
countryCodes: { type: Array, default: () => [] },
|
|
@@ -6265,7 +6281,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6265
6281
|
"onUpdate:modelValue": b
|
|
6266
6282
|
}, {
|
|
6267
6283
|
trailing: k(() => [
|
|
6268
|
-
y(s(
|
|
6284
|
+
y(s(ne), {
|
|
6269
6285
|
modelValue: c.value,
|
|
6270
6286
|
"onUpdate:modelValue": [
|
|
6271
6287
|
g[3] || (g[3] = (B) => c.value = B),
|
|
@@ -6280,7 +6296,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6280
6296
|
ref: j,
|
|
6281
6297
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
|
6282
6298
|
}, [
|
|
6283
|
-
n("div",
|
|
6299
|
+
n("div", Sr, [
|
|
6284
6300
|
y(s(xe), {
|
|
6285
6301
|
modelValue: u.value,
|
|
6286
6302
|
"onUpdate:modelValue": g[0] || (g[0] = (B) => u.value = B),
|
|
@@ -6314,17 +6330,17 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6314
6330
|
n("div", {
|
|
6315
6331
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${B.iso.toLowerCase()}`])
|
|
6316
6332
|
}, null, 2),
|
|
6317
|
-
n("span",
|
|
6318
|
-
n("span",
|
|
6319
|
-
], 10,
|
|
6333
|
+
n("span", Br, "+" + $(B.code), 1),
|
|
6334
|
+
n("span", Or, $(B.country), 1)
|
|
6335
|
+
], 10, Cr))), 128))
|
|
6320
6336
|
], 512)
|
|
6321
6337
|
]),
|
|
6322
6338
|
default: k(() => [
|
|
6323
|
-
n("div",
|
|
6339
|
+
n("div", $r, [
|
|
6324
6340
|
n("div", {
|
|
6325
6341
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
|
6326
6342
|
}, null, 2),
|
|
6327
|
-
n("span",
|
|
6343
|
+
n("span", kr, " +" + $(x(d.value)), 1),
|
|
6328
6344
|
y(s(V), {
|
|
6329
6345
|
width: "16",
|
|
6330
6346
|
height: "16",
|
|
@@ -6340,10 +6356,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6340
6356
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
|
6341
6357
|
};
|
|
6342
6358
|
}
|
|
6343
|
-
},
|
|
6359
|
+
}, Ir = ["id", "value", "checked", "name", "disabled"], Tr = ["for"], Dr = {
|
|
6344
6360
|
key: 0,
|
|
6345
6361
|
class: "px-3 py-2 whitespace-nowrap"
|
|
6346
|
-
},
|
|
6362
|
+
}, Ar = {
|
|
6347
6363
|
__name: "OcRadio",
|
|
6348
6364
|
props: {
|
|
6349
6365
|
modelValue: [String, Boolean],
|
|
@@ -6381,7 +6397,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6381
6397
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
|
6382
6398
|
type: "radio",
|
|
6383
6399
|
onInput: a[0] || (a[0] = (l) => i.$emit("update:modelValue", l.target.value))
|
|
6384
|
-
}, null, 40,
|
|
6400
|
+
}, null, 40, Ir),
|
|
6385
6401
|
n("label", {
|
|
6386
6402
|
for: e.groupName + e.id,
|
|
6387
6403
|
class: v(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
|
@@ -6413,7 +6429,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6413
6429
|
e.labelIcon ? (t(), p(s(le), me(F({ key: 2 }, e.tooltipOptions)), {
|
|
6414
6430
|
popper: k(() => [
|
|
6415
6431
|
S(i.$slots, "tooltipText", {}, () => [
|
|
6416
|
-
e.tooltipText ? (t(), r("div",
|
|
6432
|
+
e.tooltipText ? (t(), r("div", Dr, $(e.tooltipText), 1)) : m("", !0)
|
|
6417
6433
|
])
|
|
6418
6434
|
]),
|
|
6419
6435
|
default: k(() => [
|
|
@@ -6426,12 +6442,12 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6426
6442
|
]),
|
|
6427
6443
|
_: 3
|
|
6428
6444
|
}, 16)) : m("", !0)
|
|
6429
|
-
], 10,
|
|
6445
|
+
], 10, Tr)
|
|
6430
6446
|
]),
|
|
6431
6447
|
_: 3
|
|
6432
6448
|
}, 8, ["class", "error-message", "hint"]));
|
|
6433
6449
|
}
|
|
6434
|
-
},
|
|
6450
|
+
}, Mr = {
|
|
6435
6451
|
__name: "OcRadioGroup",
|
|
6436
6452
|
props: {
|
|
6437
6453
|
alignment: {
|
|
@@ -6468,7 +6484,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6468
6484
|
n("div", {
|
|
6469
6485
|
class: v(["flex", [l.value[e.alignment], e.wrapperClass]])
|
|
6470
6486
|
}, [
|
|
6471
|
-
(t(!0), r(L, null, R(e.radio, (u, f) => (t(), p(s(
|
|
6487
|
+
(t(!0), r(L, null, R(e.radio, (u, f) => (t(), p(s(Ar), {
|
|
6472
6488
|
id: u.value,
|
|
6473
6489
|
key: f,
|
|
6474
6490
|
class: v({ "!w-fit": !e.isBlock }),
|
|
@@ -6491,10 +6507,10 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6491
6507
|
_: 1
|
|
6492
6508
|
}, 8, ["label", "error-message", "hint"]));
|
|
6493
6509
|
}
|
|
6494
|
-
},
|
|
6510
|
+
}, jr = { class: "flex flex-col gap-y-2 oc-range-input" }, Pr = { class: "flex gap-x-3" }, Lr = {
|
|
6495
6511
|
key: 0,
|
|
6496
6512
|
class: "flex pt-4"
|
|
6497
|
-
},
|
|
6513
|
+
}, Er = {
|
|
6498
6514
|
__name: "OcRangeInput",
|
|
6499
6515
|
props: {
|
|
6500
6516
|
maxLimit: {
|
|
@@ -6538,14 +6554,14 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6538
6554
|
};
|
|
6539
6555
|
return Ce(() => {
|
|
6540
6556
|
a.onlyInput || c.value.updateSlider();
|
|
6541
|
-
}), (b, T) => (t(), r("div",
|
|
6557
|
+
}), (b, T) => (t(), r("div", jr, [
|
|
6542
6558
|
y(s(pe), {
|
|
6543
6559
|
label: e.label,
|
|
6544
6560
|
hint: e.hint,
|
|
6545
6561
|
"error-message": e.errorMessage
|
|
6546
6562
|
}, {
|
|
6547
6563
|
default: k(() => [
|
|
6548
|
-
n("div",
|
|
6564
|
+
n("div", Pr, [
|
|
6549
6565
|
y(s(xe), {
|
|
6550
6566
|
"model-value": o.value,
|
|
6551
6567
|
label: "From",
|
|
@@ -6561,7 +6577,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6561
6577
|
"onUpdate:modelValue": T[1] || (T[1] = (j) => u(j, 1))
|
|
6562
6578
|
}, null, 8, ["model-value"])
|
|
6563
6579
|
]),
|
|
6564
|
-
e.onlyInput ? m("", !0) : (t(), r("div",
|
|
6580
|
+
e.onlyInput ? m("", !0) : (t(), r("div", Lr, [
|
|
6565
6581
|
y(s($t), {
|
|
6566
6582
|
ref_key: "slider",
|
|
6567
6583
|
ref: c,
|
|
@@ -6578,28 +6594,28 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6578
6594
|
}, 8, ["label", "hint", "error-message"])
|
|
6579
6595
|
]));
|
|
6580
6596
|
}
|
|
6581
|
-
},
|
|
6597
|
+
}, zr = {
|
|
6582
6598
|
key: 0,
|
|
6583
6599
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
|
6584
|
-
},
|
|
6600
|
+
}, Nr = {
|
|
6585
6601
|
key: 0,
|
|
6586
6602
|
class: "text-oc-text-300 md:text-base text-lg"
|
|
6587
|
-
},
|
|
6603
|
+
}, Rr = {
|
|
6588
6604
|
key: 2,
|
|
6589
6605
|
class: "whitespace-nowrap flex gap-x-3 text-lg md:text-base items-center overflow-hidden"
|
|
6590
|
-
},
|
|
6606
|
+
}, Fr = {
|
|
6591
6607
|
key: 1,
|
|
6592
6608
|
class: "text-oc-text-300"
|
|
6593
|
-
},
|
|
6609
|
+
}, Ur = {
|
|
6594
6610
|
key: 2,
|
|
6595
6611
|
class: "truncate"
|
|
6596
|
-
},
|
|
6612
|
+
}, qr = {
|
|
6597
6613
|
key: 3,
|
|
6598
6614
|
class: "text-oc-text-300"
|
|
6599
|
-
},
|
|
6615
|
+
}, Hr = {
|
|
6600
6616
|
key: 0,
|
|
6601
6617
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
|
6602
|
-
},
|
|
6618
|
+
}, Yr = { key: 0 }, Wr = {
|
|
6603
6619
|
__name: "OcSelect",
|
|
6604
6620
|
props: {
|
|
6605
6621
|
label: String,
|
|
@@ -6690,8 +6706,8 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6690
6706
|
if (H.values) {
|
|
6691
6707
|
const X = H.values.filter(
|
|
6692
6708
|
(te) => {
|
|
6693
|
-
var _,
|
|
6694
|
-
return ((_ = te.label) == null ? void 0 : _.toLowerCase().includes(d.value.toLowerCase())) || ((
|
|
6709
|
+
var _, oe;
|
|
6710
|
+
return ((_ = te.label) == null ? void 0 : _.toLowerCase().includes(d.value.toLowerCase())) || ((oe = te.subLabel) == null ? void 0 : oe.toLowerCase().includes(d.value.toLowerCase()));
|
|
6695
6711
|
}
|
|
6696
6712
|
);
|
|
6697
6713
|
X.length > 0 && P.push({
|
|
@@ -6764,8 +6780,8 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6764
6780
|
if (ve.value === X)
|
|
6765
6781
|
return te = be, !0;
|
|
6766
6782
|
});
|
|
6767
|
-
const _ = h.value[te],
|
|
6768
|
-
x.value.parentNode.scrollTo(0,
|
|
6783
|
+
const _ = h.value[te], oe = (re = _ == null ? void 0 : _.optionItemRef) == null ? void 0 : re.offsetTop;
|
|
6784
|
+
x.value.parentNode.scrollTo(0, oe - 60, { behavior: "smooth" });
|
|
6769
6785
|
}, 10);
|
|
6770
6786
|
}, E = (P) => {
|
|
6771
6787
|
var U, H, X;
|
|
@@ -6788,12 +6804,12 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6788
6804
|
"tooltip-options": e.tooltipOptions
|
|
6789
6805
|
}, ee({
|
|
6790
6806
|
tooltipText: k(() => [
|
|
6791
|
-
P.$slots.selectTooltipText ? (t(), r("div",
|
|
6807
|
+
P.$slots.selectTooltipText ? (t(), r("div", Yr, [
|
|
6792
6808
|
S(P.$slots, "selectTooltipText")
|
|
6793
6809
|
])) : m("", !0)
|
|
6794
6810
|
]),
|
|
6795
6811
|
default: k(() => [
|
|
6796
|
-
y(s(
|
|
6812
|
+
y(s(ne), {
|
|
6797
6813
|
ref_key: "dropdownRef",
|
|
6798
6814
|
ref: f,
|
|
6799
6815
|
modelValue: c.value,
|
|
@@ -6821,7 +6837,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6821
6837
|
ref: x,
|
|
6822
6838
|
class: "flex flex-col gap-y-2"
|
|
6823
6839
|
}, [
|
|
6824
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), r("div",
|
|
6840
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), r("div", Hr, [
|
|
6825
6841
|
y(s(xe), {
|
|
6826
6842
|
ref_key: "searchInputRef",
|
|
6827
6843
|
ref: u,
|
|
@@ -6908,7 +6924,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6908
6924
|
"border-none !min-h-[18px] !px-0": e.isSlim
|
|
6909
6925
|
}])
|
|
6910
6926
|
}, [
|
|
6911
|
-
e.multiple ? (t(), r("div",
|
|
6927
|
+
e.multiple ? (t(), r("div", zr, [
|
|
6912
6928
|
S(P.$slots, "selection", {}, () => [
|
|
6913
6929
|
(t(!0), r(L, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), p(s(ae), F({
|
|
6914
6930
|
key: U.value,
|
|
@@ -6925,7 +6941,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6925
6941
|
label: `+${C.value.length - e.maxVisibleOptions}`
|
|
6926
6942
|
}, null, 8, ["label"])) : m("", !0)
|
|
6927
6943
|
]),
|
|
6928
|
-
C.value.length === 0 ? (t(), r("span",
|
|
6944
|
+
C.value.length === 0 ? (t(), r("span", Nr, $(e.placeholder), 1)) : m("", !0)
|
|
6929
6945
|
])) : m("", !0),
|
|
6930
6946
|
e.isInlineSearch && e.isFilterable && !C.value ? (t(), p(s(xe), {
|
|
6931
6947
|
key: 1,
|
|
@@ -6949,15 +6965,15 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6949
6965
|
]),
|
|
6950
6966
|
key: "0"
|
|
6951
6967
|
} : void 0
|
|
6952
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), r("span",
|
|
6968
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), r("span", Rr, [
|
|
6953
6969
|
e.icon ? (t(), p(s(V), {
|
|
6954
6970
|
key: 0,
|
|
6955
6971
|
name: e.icon,
|
|
6956
6972
|
width: "16",
|
|
6957
6973
|
height: "16"
|
|
6958
6974
|
}, null, 8, ["name"])) : m("", !0),
|
|
6959
|
-
e.isInlineLabel && e.label ? (t(), r("span",
|
|
6960
|
-
C.value ? (t(), r("span",
|
|
6975
|
+
e.isInlineLabel && e.label ? (t(), r("span", Fr, $(e.label) + ": ", 1)) : m("", !0),
|
|
6976
|
+
C.value ? (t(), r("span", Ur, $(C.value.label), 1)) : (t(), r("span", qr, $(e.placeholder), 1))
|
|
6961
6977
|
])),
|
|
6962
6978
|
e.modelValue && e.isClearable ? (t(), p(s(V), {
|
|
6963
6979
|
key: 3,
|
|
@@ -6988,7 +7004,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
6988
7004
|
} : void 0
|
|
6989
7005
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
6990
7006
|
}
|
|
6991
|
-
},
|
|
7007
|
+
}, Kr = { class: "w-full flex items-center gap-x-3" }, Gr = { class: "truncate" }, Xr = {
|
|
6992
7008
|
key: 0,
|
|
6993
7009
|
class: "text-sm text-oc-text-300"
|
|
6994
7010
|
}, gt = {
|
|
@@ -7026,14 +7042,14 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7026
7042
|
"is-partial": e.isPartial,
|
|
7027
7043
|
class: "!w-fit pointer-events-none"
|
|
7028
7044
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
|
7029
|
-
n("div",
|
|
7045
|
+
n("div", Kr, [
|
|
7030
7046
|
S(l.$slots, "trailing"),
|
|
7031
7047
|
n("div", {
|
|
7032
7048
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
|
7033
7049
|
}, [
|
|
7034
|
-
n("span",
|
|
7050
|
+
n("span", Gr, $(e.label), 1),
|
|
7035
7051
|
S(l.$slots, "sub-label", {}, () => [
|
|
7036
|
-
e.subLabel ? (t(), r("span",
|
|
7052
|
+
e.subLabel ? (t(), r("span", Xr, $(e.subLabel), 1)) : m("", !0)
|
|
7037
7053
|
])
|
|
7038
7054
|
], 2),
|
|
7039
7055
|
S(l.$slots, "leading")
|
|
@@ -7053,21 +7069,21 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7053
7069
|
S(l.$slots, "after")
|
|
7054
7070
|
], 512));
|
|
7055
7071
|
}
|
|
7056
|
-
},
|
|
7072
|
+
}, Jr = { class: "flex flex-col" }, Zr = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, tf = {
|
|
7057
7073
|
__name: "OcGroupOptions",
|
|
7058
7074
|
props: {
|
|
7059
7075
|
label: String
|
|
7060
7076
|
},
|
|
7061
7077
|
setup(e) {
|
|
7062
|
-
return (i, a) => (t(), r("div",
|
|
7063
|
-
n("div",
|
|
7078
|
+
return (i, a) => (t(), r("div", Jr, [
|
|
7079
|
+
n("div", Zr, $(e.label), 1),
|
|
7064
7080
|
S(i.$slots, "default")
|
|
7065
7081
|
]));
|
|
7066
7082
|
}
|
|
7067
|
-
},
|
|
7083
|
+
}, Qr = { class: "flex text-oc-text-400 items-center gap-x-2" }, _r = {
|
|
7068
7084
|
key: 0,
|
|
7069
7085
|
class: "flex flex-col p-2 py-3 gap-2"
|
|
7070
|
-
},
|
|
7086
|
+
}, ed = ["onClick"], td = {
|
|
7071
7087
|
__name: "OcLinkInput",
|
|
7072
7088
|
props: {
|
|
7073
7089
|
placeholder: String,
|
|
@@ -7146,13 +7162,13 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7146
7162
|
"onUpdate:modelValue": b
|
|
7147
7163
|
}, {
|
|
7148
7164
|
trailing: k(() => [
|
|
7149
|
-
y(s(
|
|
7165
|
+
y(s(ne), {
|
|
7150
7166
|
modelValue: o.value,
|
|
7151
7167
|
"onUpdate:modelValue": O[2] || (O[2] = (g) => o.value = g),
|
|
7152
7168
|
distance: 10
|
|
7153
7169
|
}, {
|
|
7154
7170
|
menu: k(() => [
|
|
7155
|
-
e.isEdit ? m("", !0) : (t(), r("div",
|
|
7171
|
+
e.isEdit ? m("", !0) : (t(), r("div", _r, [
|
|
7156
7172
|
(t(!0), r(L, null, R(e.links, (g) => (t(), r("div", {
|
|
7157
7173
|
key: g.value,
|
|
7158
7174
|
class: "flex rounded-sm items-center px-3 py-2 gap-x-3 cursor-pointer text-oc-text-400 hover:bg-gray-50",
|
|
@@ -7164,11 +7180,11 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7164
7180
|
name: g.icon
|
|
7165
7181
|
}, null, 8, ["name"]),
|
|
7166
7182
|
W(" " + $(g.label), 1)
|
|
7167
|
-
], 8,
|
|
7183
|
+
], 8, ed))), 128))
|
|
7168
7184
|
]))
|
|
7169
7185
|
]),
|
|
7170
7186
|
default: k(() => [
|
|
7171
|
-
n("div",
|
|
7187
|
+
n("div", Qr, [
|
|
7172
7188
|
u.value.icon ? (t(), p(s(V), {
|
|
7173
7189
|
key: 0,
|
|
7174
7190
|
width: "20",
|
|
@@ -7190,7 +7206,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7190
7206
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
|
7191
7207
|
]));
|
|
7192
7208
|
}
|
|
7193
|
-
},
|
|
7209
|
+
}, ld = ["disabled", "value", "rows", "placeholder"], ad = "18px", nd = {
|
|
7194
7210
|
__name: "OcTextArea",
|
|
7195
7211
|
props: {
|
|
7196
7212
|
placeholder: String,
|
|
@@ -7224,7 +7240,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7224
7240
|
setup(e, { emit: i }) {
|
|
7225
7241
|
const a = i, l = M(!1), o = (d) => {
|
|
7226
7242
|
const c = d.target;
|
|
7227
|
-
c && (c.style.height =
|
|
7243
|
+
c && (c.style.height = ad, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
|
7228
7244
|
};
|
|
7229
7245
|
return (d, c) => (t(), p(s(pe), {
|
|
7230
7246
|
label: e.label,
|
|
@@ -7248,7 +7264,7 @@ const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
|
7248
7264
|
onInput: o,
|
|
7249
7265
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
|
7250
7266
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
|
7251
|
-
}, null, 42,
|
|
7267
|
+
}, null, 42, ld)
|
|
7252
7268
|
]),
|
|
7253
7269
|
_: 1
|
|
7254
7270
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
@@ -7271,8 +7287,8 @@ var Vt = { exports: {} };
|
|
|
7271
7287
|
};
|
|
7272
7288
|
});
|
|
7273
7289
|
})(Vt);
|
|
7274
|
-
var
|
|
7275
|
-
const It = /* @__PURE__ */ Ke(
|
|
7290
|
+
var od = Vt.exports;
|
|
7291
|
+
const It = /* @__PURE__ */ Ke(od);
|
|
7276
7292
|
var Tt = { exports: {} };
|
|
7277
7293
|
(function(e, i) {
|
|
7278
7294
|
(function(a, l) {
|
|
@@ -7285,8 +7301,8 @@ var Tt = { exports: {} };
|
|
|
7285
7301
|
};
|
|
7286
7302
|
});
|
|
7287
7303
|
})(Tt);
|
|
7288
|
-
var
|
|
7289
|
-
const Dt = /* @__PURE__ */ Ke(
|
|
7304
|
+
var id = Tt.exports;
|
|
7305
|
+
const Dt = /* @__PURE__ */ Ke(id);
|
|
7290
7306
|
var At = { exports: {} };
|
|
7291
7307
|
(function(e, i) {
|
|
7292
7308
|
(function(a, l) {
|
|
@@ -7299,8 +7315,8 @@ var At = { exports: {} };
|
|
|
7299
7315
|
};
|
|
7300
7316
|
});
|
|
7301
7317
|
})(At);
|
|
7302
|
-
var
|
|
7303
|
-
const Mt = /* @__PURE__ */ Ke(
|
|
7318
|
+
var sd = At.exports;
|
|
7319
|
+
const Mt = /* @__PURE__ */ Ke(sd);
|
|
7304
7320
|
var jt = { exports: {} };
|
|
7305
7321
|
(function(e, i) {
|
|
7306
7322
|
(function(a, l) {
|
|
@@ -7363,7 +7379,7 @@ var jt = { exports: {} };
|
|
|
7363
7379
|
O = w, g = f && f.formats;
|
|
7364
7380
|
for (var I = (w = O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, X, te) {
|
|
7365
7381
|
var _ = te && te.toUpperCase();
|
|
7366
|
-
return X || g[te] || a[te] || g[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(
|
|
7382
|
+
return X || g[te] || a[te] || g[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(oe, re, ve) {
|
|
7367
7383
|
return re || ve.slice(1);
|
|
7368
7384
|
});
|
|
7369
7385
|
})).match(l), B = I.length, N = 0; N < B; N += 1) {
|
|
@@ -7372,10 +7388,10 @@ var jt = { exports: {} };
|
|
|
7372
7388
|
}
|
|
7373
7389
|
return function(H) {
|
|
7374
7390
|
for (var X = {}, te = 0, _ = 0; te < B; te += 1) {
|
|
7375
|
-
var
|
|
7376
|
-
if (typeof
|
|
7391
|
+
var oe = I[te];
|
|
7392
|
+
if (typeof oe == "string") _ += oe.length;
|
|
7377
7393
|
else {
|
|
7378
|
-
var re =
|
|
7394
|
+
var re = oe.regex, ve = oe.parser, be = H.slice(_), we = re.exec(be)[0];
|
|
7379
7395
|
ve.call(X, we), H = H.replace(we, "");
|
|
7380
7396
|
}
|
|
7381
7397
|
}
|
|
@@ -7408,67 +7424,67 @@ var jt = { exports: {} };
|
|
|
7408
7424
|
return /* @__PURE__ */ new Date("");
|
|
7409
7425
|
}
|
|
7410
7426
|
}(E, U, P, g), this.init(), _ && _ !== !0 && (this.$L = this.locale(_).$L), te && E != this.format(U) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
|
|
7411
|
-
} else if (U instanceof Array) for (var
|
|
7427
|
+
} else if (U instanceof Array) for (var oe = U.length, re = 1; re <= oe; re += 1) {
|
|
7412
7428
|
D[1] = U[re - 1];
|
|
7413
7429
|
var ve = g.apply(this, D);
|
|
7414
7430
|
if (ve.isValid()) {
|
|
7415
7431
|
this.$d = ve.$d, this.$L = ve.$L, this.init();
|
|
7416
7432
|
break;
|
|
7417
7433
|
}
|
|
7418
|
-
re ===
|
|
7434
|
+
re === oe && (this.$d = /* @__PURE__ */ new Date(""));
|
|
7419
7435
|
}
|
|
7420
7436
|
else B.call(this, N);
|
|
7421
7437
|
};
|
|
7422
7438
|
};
|
|
7423
7439
|
});
|
|
7424
7440
|
})(jt);
|
|
7425
|
-
var
|
|
7426
|
-
const it = /* @__PURE__ */ Ke(
|
|
7427
|
-
var
|
|
7428
|
-
function
|
|
7429
|
-
var i =
|
|
7441
|
+
var rd = jt.exports;
|
|
7442
|
+
const it = /* @__PURE__ */ Ke(rd);
|
|
7443
|
+
var dd = typeof global == "object" && global && global.Object === Object && global, cd = typeof self == "object" && self && self.Object === Object && self, Pt = dd || cd || Function("return this")(), He = Pt.Symbol, Lt = Object.prototype, ud = Lt.hasOwnProperty, md = Lt.toString, Le = He ? He.toStringTag : void 0;
|
|
7444
|
+
function fd(e) {
|
|
7445
|
+
var i = ud.call(e, Le), a = e[Le];
|
|
7430
7446
|
try {
|
|
7431
7447
|
e[Le] = void 0;
|
|
7432
7448
|
var l = !0;
|
|
7433
7449
|
} catch {
|
|
7434
7450
|
}
|
|
7435
|
-
var o =
|
|
7451
|
+
var o = md.call(e);
|
|
7436
7452
|
return l && (i ? e[Le] = a : delete e[Le]), o;
|
|
7437
7453
|
}
|
|
7438
|
-
var
|
|
7439
|
-
function
|
|
7440
|
-
return
|
|
7441
|
-
}
|
|
7442
|
-
var pd = "[object Null]", yd = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
|
7443
|
-
function xd(e) {
|
|
7444
|
-
return e == null ? e === void 0 ? yd : pd : pt && pt in Object(e) ? md(e) : gd(e);
|
|
7454
|
+
var vd = Object.prototype, gd = vd.toString;
|
|
7455
|
+
function pd(e) {
|
|
7456
|
+
return gd.call(e);
|
|
7445
7457
|
}
|
|
7458
|
+
var yd = "[object Null]", xd = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
|
7446
7459
|
function hd(e) {
|
|
7460
|
+
return e == null ? e === void 0 ? xd : yd : pt && pt in Object(e) ? fd(e) : pd(e);
|
|
7461
|
+
}
|
|
7462
|
+
function bd(e) {
|
|
7447
7463
|
return e != null && typeof e == "object";
|
|
7448
7464
|
}
|
|
7449
|
-
var
|
|
7450
|
-
function
|
|
7451
|
-
return typeof e == "symbol" ||
|
|
7465
|
+
var wd = "[object Symbol]";
|
|
7466
|
+
function $d(e) {
|
|
7467
|
+
return typeof e == "symbol" || bd(e) && hd(e) == wd;
|
|
7452
7468
|
}
|
|
7453
|
-
var
|
|
7454
|
-
function
|
|
7455
|
-
for (var i = e.length; i-- &&
|
|
7469
|
+
var kd = /\s/;
|
|
7470
|
+
function Sd(e) {
|
|
7471
|
+
for (var i = e.length; i-- && kd.test(e.charAt(i)); )
|
|
7456
7472
|
;
|
|
7457
7473
|
return i;
|
|
7458
7474
|
}
|
|
7459
|
-
var
|
|
7460
|
-
function
|
|
7461
|
-
return e && e.slice(0,
|
|
7475
|
+
var Cd = /^\s+/;
|
|
7476
|
+
function Bd(e) {
|
|
7477
|
+
return e && e.slice(0, Sd(e) + 1).replace(Cd, "");
|
|
7462
7478
|
}
|
|
7463
7479
|
function nt(e) {
|
|
7464
7480
|
var i = typeof e;
|
|
7465
7481
|
return e != null && (i == "object" || i == "function");
|
|
7466
7482
|
}
|
|
7467
|
-
var yt = NaN,
|
|
7483
|
+
var yt = NaN, Od = /^[-+]0x[0-9a-f]+$/i, Vd = /^0b[01]+$/i, Id = /^0o[0-7]+$/i, Td = parseInt;
|
|
7468
7484
|
function xt(e) {
|
|
7469
7485
|
if (typeof e == "number")
|
|
7470
7486
|
return e;
|
|
7471
|
-
if (
|
|
7487
|
+
if ($d(e))
|
|
7472
7488
|
return yt;
|
|
7473
7489
|
if (nt(e)) {
|
|
7474
7490
|
var i = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -7476,18 +7492,18 @@ function xt(e) {
|
|
|
7476
7492
|
}
|
|
7477
7493
|
if (typeof e != "string")
|
|
7478
7494
|
return e === 0 ? e : +e;
|
|
7479
|
-
e =
|
|
7480
|
-
var a =
|
|
7481
|
-
return a ||
|
|
7495
|
+
e = Bd(e);
|
|
7496
|
+
var a = Vd.test(e);
|
|
7497
|
+
return a || Id.test(e) ? Td(e.slice(2), a ? 2 : 8) : Od.test(e) ? yt : +e;
|
|
7482
7498
|
}
|
|
7483
7499
|
var tt = function() {
|
|
7484
7500
|
return Pt.Date.now();
|
|
7485
|
-
},
|
|
7486
|
-
function
|
|
7501
|
+
}, Dd = "Expected a function", Ad = Math.max, Md = Math.min;
|
|
7502
|
+
function jd(e, i, a) {
|
|
7487
7503
|
var l, o, d, c, u, f, h = 0, x = !1, b = !1, T = !0;
|
|
7488
7504
|
if (typeof e != "function")
|
|
7489
|
-
throw new TypeError(
|
|
7490
|
-
i = xt(i) || 0, nt(a) && (x = !!a.leading, b = "maxWait" in a, d = b ?
|
|
7505
|
+
throw new TypeError(Dd);
|
|
7506
|
+
i = xt(i) || 0, nt(a) && (x = !!a.leading, b = "maxWait" in a, d = b ? Ad(xt(a.maxWait) || 0, i) : d, T = "trailing" in a ? !!a.trailing : T);
|
|
7491
7507
|
function j(E) {
|
|
7492
7508
|
var P = l, D = o;
|
|
7493
7509
|
return l = o = void 0, h = E, c = e.apply(D, P), c;
|
|
@@ -7497,7 +7513,7 @@ function Md(e, i, a) {
|
|
|
7497
7513
|
}
|
|
7498
7514
|
function A(E) {
|
|
7499
7515
|
var P = E - f, D = E - h, U = i - P;
|
|
7500
|
-
return b ?
|
|
7516
|
+
return b ? Md(U, d - D) : U;
|
|
7501
7517
|
}
|
|
7502
7518
|
function w(E) {
|
|
7503
7519
|
var P = E - f, D = E - h;
|
|
@@ -7530,13 +7546,13 @@ function Md(e, i, a) {
|
|
|
7530
7546
|
}
|
|
7531
7547
|
return N.cancel = I, N.flush = B, N;
|
|
7532
7548
|
}
|
|
7533
|
-
const
|
|
7549
|
+
const Pd = { class: "flex items-center justify-between" }, Ld = { class: "flex flex-col gap-2 p-3" }, Ed = { class: "flex justify-between items-center" }, zd = { key: 0 }, Nd = { key: 1 }, Rd = {
|
|
7534
7550
|
key: 0,
|
|
7535
7551
|
class: "grid grid-cols-3 gap-3"
|
|
7536
|
-
},
|
|
7552
|
+
}, Fd = ["onClick"], Ud = {
|
|
7537
7553
|
key: 1,
|
|
7538
7554
|
class: "grid grid-cols-3 gap-3"
|
|
7539
|
-
},
|
|
7555
|
+
}, qd = ["onClick"], Hd = ["onClick", "onMouseover"], Yd = { key: 0 }, Wd = { class: "flex gap-x-3 justify-end" }, Kd = {
|
|
7540
7556
|
__name: "OcCalendar",
|
|
7541
7557
|
props: {
|
|
7542
7558
|
type: {
|
|
@@ -7607,7 +7623,7 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7607
7623
|
x.value = null, o.value = o.value.set("month", q), C.value = !1;
|
|
7608
7624
|
}, _ = (q) => {
|
|
7609
7625
|
x.value = null, o.value = o.value.set("year", q), j.value = !1;
|
|
7610
|
-
},
|
|
7626
|
+
}, oe = () => {
|
|
7611
7627
|
x.value = null, j.value ? h.value = h.value.subtract(11, "year") : o.value = o.value.subtract(1, "year");
|
|
7612
7628
|
}, re = () => {
|
|
7613
7629
|
x.value = null, j.value ? h.value = h.value.add(11, "year") : o.value = o.value.add(1, "year");
|
|
@@ -7643,7 +7659,7 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7643
7659
|
return;
|
|
7644
7660
|
}
|
|
7645
7661
|
c.value = Y, f.value = q, J && $e();
|
|
7646
|
-
}, ke =
|
|
7662
|
+
}, ke = jd((q) => {
|
|
7647
7663
|
T.value && Be(q, !1);
|
|
7648
7664
|
}, 50), Q = () => {
|
|
7649
7665
|
var J, Y, ce;
|
|
@@ -7658,8 +7674,8 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7658
7674
|
return Q(), (q, J) => (t(), r("div", {
|
|
7659
7675
|
class: v(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
|
7660
7676
|
}, [
|
|
7661
|
-
n("div",
|
|
7662
|
-
y(s(
|
|
7677
|
+
n("div", Pd, [
|
|
7678
|
+
y(s(ne), {
|
|
7663
7679
|
modelValue: C.value,
|
|
7664
7680
|
"onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
|
|
7665
7681
|
distance: 10,
|
|
@@ -7669,18 +7685,18 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7669
7685
|
"popper-options": { strategy: "fixed" }
|
|
7670
7686
|
}, {
|
|
7671
7687
|
menu: k(() => [
|
|
7672
|
-
n("div",
|
|
7673
|
-
n("div",
|
|
7688
|
+
n("div", Ld, [
|
|
7689
|
+
n("div", Ed, [
|
|
7674
7690
|
y(s(G), {
|
|
7675
7691
|
"left-icon": "chevron-left",
|
|
7676
7692
|
"is-transparent": "",
|
|
7677
|
-
onClick:
|
|
7693
|
+
onClick: oe
|
|
7678
7694
|
}),
|
|
7679
7695
|
n("div", {
|
|
7680
7696
|
class: "cursor-pointer hover:opacity-50 transition",
|
|
7681
7697
|
onClick: J[0] || (J[0] = (Y) => j.value = !j.value)
|
|
7682
7698
|
}, [
|
|
7683
|
-
j.value ? (t(), r("div",
|
|
7699
|
+
j.value ? (t(), r("div", zd, $(I.value - 11) + " - " + $(I.value), 1)) : (t(), r("div", Nd, $(I.value), 1))
|
|
7684
7700
|
]),
|
|
7685
7701
|
y(s(G), {
|
|
7686
7702
|
"left-icon": "chevron-right",
|
|
@@ -7688,22 +7704,22 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7688
7704
|
onClick: re
|
|
7689
7705
|
})
|
|
7690
7706
|
]),
|
|
7691
|
-
j.value ? (t(), r("div",
|
|
7707
|
+
j.value ? (t(), r("div", Rd, [
|
|
7692
7708
|
(t(!0), r(L, null, R(Oe(I.value - 11), (Y) => (t(), r("div", {
|
|
7693
7709
|
key: Y,
|
|
7694
7710
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
|
7695
7711
|
"!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
|
|
7696
7712
|
}]),
|
|
7697
7713
|
onClick: (ce) => _(Y)
|
|
7698
|
-
}, $(Y), 11,
|
|
7699
|
-
])) : (t(), r("div",
|
|
7714
|
+
}, $(Y), 11, Fd))), 128))
|
|
7715
|
+
])) : (t(), r("div", Ud, [
|
|
7700
7716
|
(t(), r(L, null, R(O, (Y, ce) => n("div", {
|
|
7701
7717
|
key: Y,
|
|
7702
7718
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
|
7703
7719
|
"!border-oc-primary bg-oc-primary text-white": B.value === Y
|
|
7704
7720
|
}]),
|
|
7705
7721
|
onClick: (Pe) => te(ce)
|
|
7706
|
-
}, $(Y), 11,
|
|
7722
|
+
}, $(Y), 11, qd)), 64))
|
|
7707
7723
|
]))
|
|
7708
7724
|
])
|
|
7709
7725
|
]),
|
|
@@ -7752,11 +7768,11 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7752
7768
|
]]),
|
|
7753
7769
|
onClick: (Pe) => Be(Y),
|
|
7754
7770
|
onMouseover: (Pe) => s(ke)(Y)
|
|
7755
|
-
}, $(Y), 43,
|
|
7771
|
+
}, $(Y), 43, Hd);
|
|
7756
7772
|
}), 128))
|
|
7757
7773
|
], 32),
|
|
7758
7774
|
S(q.$slots, "bottom", {}, () => [
|
|
7759
|
-
e.isIndefinite ? (t(), r("span",
|
|
7775
|
+
e.isIndefinite ? (t(), r("span", Yd, [
|
|
7760
7776
|
y(s(De), {
|
|
7761
7777
|
modelValue: b.value,
|
|
7762
7778
|
"onUpdate:modelValue": [
|
|
@@ -7767,7 +7783,7 @@ const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex f
|
|
|
7767
7783
|
}, null, 8, ["modelValue", "label"])
|
|
7768
7784
|
])) : m("", !0)
|
|
7769
7785
|
]),
|
|
7770
|
-
n("div",
|
|
7786
|
+
n("div", Wd, [
|
|
7771
7787
|
y(s(G), {
|
|
7772
7788
|
label: "Reset",
|
|
7773
7789
|
class: "w-[72px]",
|
|
@@ -7782,13 +7798,13 @@ K.extend(It);
|
|
|
7782
7798
|
K.extend(Dt);
|
|
7783
7799
|
K.extend(Mt);
|
|
7784
7800
|
K.extend(it);
|
|
7785
|
-
const
|
|
7801
|
+
const Gd = { class: "flex flex-col gap-y-2 w-full" }, Xd = { class: "flex w-full" }, Jd = {
|
|
7786
7802
|
key: 0,
|
|
7787
7803
|
class: "text-sm text-oc-error flex items-center"
|
|
7788
|
-
},
|
|
7804
|
+
}, Zd = {
|
|
7789
7805
|
key: 1,
|
|
7790
7806
|
class: "flex flex-wrap cursor-pointer"
|
|
7791
|
-
},
|
|
7807
|
+
}, Qd = { class: "flex items-center gap-x-3" }, _d = ["value"], ec = { class: "flex items-center gap-x-3" }, tc = ["value"], lc = {
|
|
7792
7808
|
__name: "DatePicker",
|
|
7793
7809
|
props: {
|
|
7794
7810
|
modelValue: {
|
|
@@ -7907,7 +7923,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7907
7923
|
)), a("update:modelValue", u.value), u.value = [];
|
|
7908
7924
|
}
|
|
7909
7925
|
};
|
|
7910
|
-
return (w, O) => (t(), p(s(
|
|
7926
|
+
return (w, O) => (t(), p(s(ne), {
|
|
7911
7927
|
modelValue: o.value,
|
|
7912
7928
|
"onUpdate:modelValue": O[3] || (O[3] = (g) => o.value = g),
|
|
7913
7929
|
"is-disabled": e.disabled,
|
|
@@ -7923,7 +7939,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7923
7939
|
}, () => {
|
|
7924
7940
|
var I, B;
|
|
7925
7941
|
return [
|
|
7926
|
-
f.value ? (t(), p(s(
|
|
7942
|
+
f.value ? (t(), p(s(Yu), {
|
|
7927
7943
|
key: 0,
|
|
7928
7944
|
"model-value": {
|
|
7929
7945
|
start: (I = e.modelValue) == null ? void 0 : I[0],
|
|
@@ -7937,7 +7953,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7937
7953
|
"max-date": e.maxDate,
|
|
7938
7954
|
masks: { modelValue: e.dateFormat },
|
|
7939
7955
|
"onUpdate:modelValue": x
|
|
7940
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(s(
|
|
7956
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(s(Kd), {
|
|
7941
7957
|
key: 1,
|
|
7942
7958
|
"model-value": h.value ? h.value.toDate() : /* @__PURE__ */ new Date(),
|
|
7943
7959
|
"disabled-date": d.value ? T : e.disabledDate,
|
|
@@ -7954,9 +7970,9 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7954
7970
|
})
|
|
7955
7971
|
]),
|
|
7956
7972
|
default: k(() => [
|
|
7957
|
-
n("div",
|
|
7973
|
+
n("div", Gd, [
|
|
7958
7974
|
!e.isSplitInput || !f.value ? (t(), r(L, { key: 0 }, [
|
|
7959
|
-
n("div",
|
|
7975
|
+
n("div", Xd, [
|
|
7960
7976
|
y(s(xe), {
|
|
7961
7977
|
"model-value": f.value ? e.modelValue && e.modelValue[0] ? `${h.value[0].format(e.dateFormat)} - ${h.value[1].format(e.dateFormat)}` : "" : e.modelValue === "Indefinite" ? "Indefinite" : e.modelValue ? h.value.format(e.dateFormat) : "",
|
|
7962
7978
|
icon: "calendar",
|
|
@@ -7967,8 +7983,8 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7967
7983
|
placeholder: e.placeholder
|
|
7968
7984
|
}, null, 8, ["model-value", "label", "hint", "is-required", "disabled", "placeholder"])
|
|
7969
7985
|
]),
|
|
7970
|
-
e.errorMessage ? (t(), r("div",
|
|
7971
|
-
], 64)) : (t(), r("div",
|
|
7986
|
+
e.errorMessage ? (t(), r("div", Jd, $(e.errorMessage), 1)) : m("", !0)
|
|
7987
|
+
], 64)) : (t(), r("div", Zd, [
|
|
7972
7988
|
y(s(pe), {
|
|
7973
7989
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
|
7974
7990
|
hint: e.hint,
|
|
@@ -7986,7 +8002,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7986
8002
|
]]),
|
|
7987
8003
|
onClick: O[2] || (O[2] = (g) => o.value ? g.stopPropagation : null)
|
|
7988
8004
|
}, [
|
|
7989
|
-
n("div",
|
|
8005
|
+
n("div", Qd, [
|
|
7990
8006
|
y(s(V), {
|
|
7991
8007
|
name: "calendar",
|
|
7992
8008
|
class: "text-oc-text-400"
|
|
@@ -7998,10 +8014,10 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
7998
8014
|
onInput: O[0] || (O[0] = (g) => C(g.target.value, 0)),
|
|
7999
8015
|
onKeydown: Ue(A, ["enter"]),
|
|
8000
8016
|
onBlur: A
|
|
8001
|
-
}, null, 40,
|
|
8017
|
+
}, null, 40, _d)
|
|
8002
8018
|
]),
|
|
8003
8019
|
O[4] || (O[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
|
8004
|
-
n("div",
|
|
8020
|
+
n("div", ec, [
|
|
8005
8021
|
n("input", {
|
|
8006
8022
|
placeholder: "End date",
|
|
8007
8023
|
value: h.value[1] ? h.value[1].format(e.dateFormat) : "",
|
|
@@ -8009,7 +8025,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8009
8025
|
onInput: O[1] || (O[1] = (g) => C(g.target.value, 1)),
|
|
8010
8026
|
onKeydown: Ue(A, ["enter"]),
|
|
8011
8027
|
onBlur: A
|
|
8012
|
-
}, null, 40,
|
|
8028
|
+
}, null, 40, tc),
|
|
8013
8029
|
y(s(V), {
|
|
8014
8030
|
class: v([h.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
|
8015
8031
|
width: "16",
|
|
@@ -8028,10 +8044,10 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8028
8044
|
_: 3
|
|
8029
8045
|
}, 8, ["modelValue", "is-disabled"]));
|
|
8030
8046
|
}
|
|
8031
|
-
},
|
|
8047
|
+
}, ac = { class: "flex" }, nc = { class: "flex flex-col gap-y-1 flex-1" }, oc = { class: "font-medium gap-x-3 flex items-center" }, ic = { class: "px-2 py-1 text-sm text-oc-text-400" }, sc = {
|
|
8032
8048
|
key: 1,
|
|
8033
8049
|
class: "text-sm text-oc-error flex items-center"
|
|
8034
|
-
},
|
|
8050
|
+
}, rc = {
|
|
8035
8051
|
__name: "OcSectionItem",
|
|
8036
8052
|
props: {
|
|
8037
8053
|
title: String,
|
|
@@ -8057,16 +8073,16 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8057
8073
|
emits: ["update:modelValue"],
|
|
8058
8074
|
setup(e, { emit: i }) {
|
|
8059
8075
|
const a = e, l = i;
|
|
8060
|
-
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), r("div",
|
|
8061
|
-
n("div",
|
|
8062
|
-
n("div",
|
|
8076
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), r("div", ac, [
|
|
8077
|
+
n("div", nc, [
|
|
8078
|
+
n("div", oc, [
|
|
8063
8079
|
W($(e.title) + " ", 1),
|
|
8064
8080
|
y(s(le), {
|
|
8065
8081
|
position: "top",
|
|
8066
8082
|
distance: 4
|
|
8067
8083
|
}, {
|
|
8068
8084
|
popper: k(() => [
|
|
8069
|
-
n("div",
|
|
8085
|
+
n("div", ic, $(e.popperMessage), 1)
|
|
8070
8086
|
]),
|
|
8071
8087
|
default: k(() => [
|
|
8072
8088
|
e.icon ? (t(), p(s(V), {
|
|
@@ -8084,7 +8100,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8084
8100
|
key: 0,
|
|
8085
8101
|
class: v(["text-oc-text-400 text-sm", e.descriptionClass])
|
|
8086
8102
|
}, $(e.description), 3)) : m("", !0),
|
|
8087
|
-
e.errorMessage ? (t(), r("div",
|
|
8103
|
+
e.errorMessage ? (t(), r("div", sc, $(e.errorMessage), 1)) : m("", !0)
|
|
8088
8104
|
]),
|
|
8089
8105
|
S(o.$slots, "actions", {}, () => [
|
|
8090
8106
|
e.isToggle ? (t(), p(s(kt), F({
|
|
@@ -8096,13 +8112,13 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8096
8112
|
])
|
|
8097
8113
|
]));
|
|
8098
8114
|
}
|
|
8099
|
-
},
|
|
8115
|
+
}, dc = {
|
|
8100
8116
|
key: 0,
|
|
8101
8117
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
|
8102
|
-
},
|
|
8118
|
+
}, cc = ["onClick"], uc = ["src"], mc = {
|
|
8103
8119
|
key: 0,
|
|
8104
8120
|
class: "flex text-sm text-oc-text-400 mt-2"
|
|
8105
|
-
},
|
|
8121
|
+
}, fc = {
|
|
8106
8122
|
__name: "OcSelectOptions",
|
|
8107
8123
|
props: {
|
|
8108
8124
|
variant: {
|
|
@@ -8167,7 +8183,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8167
8183
|
}
|
|
8168
8184
|
]])
|
|
8169
8185
|
}, [
|
|
8170
|
-
e.optionType === "icon" ? (t(), r("div",
|
|
8186
|
+
e.optionType === "icon" ? (t(), r("div", dc, [
|
|
8171
8187
|
(t(!0), r(L, null, R(e.options, (f) => (t(), r("div", {
|
|
8172
8188
|
key: f.value,
|
|
8173
8189
|
class: v(["p-1", {
|
|
@@ -8201,7 +8217,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8201
8217
|
"w-[50px]": !d.value
|
|
8202
8218
|
}]),
|
|
8203
8219
|
src: f.preview
|
|
8204
|
-
}, null, 10,
|
|
8220
|
+
}, null, 10, uc)) : m("", !0),
|
|
8205
8221
|
n("div", {
|
|
8206
8222
|
class: v(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
|
8207
8223
|
}, [
|
|
@@ -8212,7 +8228,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8212
8228
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
|
8213
8229
|
}])
|
|
8214
8230
|
}, $(f.label), 3),
|
|
8215
|
-
f.description ? (t(), r("div",
|
|
8231
|
+
f.description ? (t(), r("div", mc, $(f.description), 1)) : m("", !0)
|
|
8216
8232
|
], 2),
|
|
8217
8233
|
e.borderless ? (t(), p(s(V), {
|
|
8218
8234
|
key: 1,
|
|
@@ -8222,16 +8238,16 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8222
8238
|
class: v(["text-oc-primary", f.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
|
8223
8239
|
}, null, 8, ["class"])) : m("", !0)
|
|
8224
8240
|
])
|
|
8225
|
-
], 10,
|
|
8241
|
+
], 10, cc))), 128))
|
|
8226
8242
|
], 2)
|
|
8227
8243
|
]),
|
|
8228
8244
|
_: 3
|
|
8229
8245
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
8230
8246
|
}
|
|
8231
|
-
},
|
|
8247
|
+
}, vc = { class: "flex gap-x-3" }, gc = {
|
|
8232
8248
|
key: 0,
|
|
8233
8249
|
class: "border rounded p-3 min-h-[140px] h-full"
|
|
8234
|
-
},
|
|
8250
|
+
}, pc = ["accept"], yc = { class: "py-2 flex flex-col" }, xc = ["src"], hc = /* @__PURE__ */ Z({
|
|
8235
8251
|
__name: "OcSingleOnlyImageUpload",
|
|
8236
8252
|
props: {
|
|
8237
8253
|
accept: {
|
|
@@ -8256,12 +8272,12 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8256
8272
|
};
|
|
8257
8273
|
return (h, x) => {
|
|
8258
8274
|
var b, T;
|
|
8259
|
-
return t(), r("div",
|
|
8275
|
+
return t(), r("div", vc, [
|
|
8260
8276
|
(b = e.uploadedImage) != null && b.fileUrl ? m("", !0) : (t(), r("label", {
|
|
8261
8277
|
key: 0,
|
|
8262
8278
|
class: v([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
|
8263
8279
|
}, [
|
|
8264
|
-
e.showUploadImageArea ? (t(), r("div",
|
|
8280
|
+
e.showUploadImageArea ? (t(), r("div", gc, [
|
|
8265
8281
|
n("div", {
|
|
8266
8282
|
class: v(["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 }])
|
|
8267
8283
|
}, [
|
|
@@ -8285,20 +8301,20 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8285
8301
|
onDragover: x[1] || (x[1] = (j) => u.value = !0),
|
|
8286
8302
|
onDragleave: x[2] || (x[2] = (j) => u.value = !1),
|
|
8287
8303
|
onDrop: x[3] || (x[3] = (j) => u.value = !1)
|
|
8288
|
-
}, null, 40,
|
|
8304
|
+
}, null, 40, pc)
|
|
8289
8305
|
], 2)),
|
|
8290
8306
|
(T = e.uploadedImage) != null && T.fileUrl ? (t(), r("div", {
|
|
8291
8307
|
key: 1,
|
|
8292
8308
|
class: v(["w-[100px] group relative cursor-pointer aspect-square border rounded border-oc-accent-1-100", e.imageClasses])
|
|
8293
8309
|
}, [
|
|
8294
|
-
y(s(
|
|
8310
|
+
y(s(ne), {
|
|
8295
8311
|
modelValue: o.value,
|
|
8296
8312
|
"onUpdate:modelValue": x[6] || (x[6] = (j) => o.value = j),
|
|
8297
8313
|
placement: "bottom-end",
|
|
8298
8314
|
class: "absolute top-2 right-2 z-[1010]"
|
|
8299
8315
|
}, {
|
|
8300
8316
|
menu: k(() => [
|
|
8301
|
-
n("div",
|
|
8317
|
+
n("div", yc, [
|
|
8302
8318
|
n("div", {
|
|
8303
8319
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
|
8304
8320
|
onClick: x[4] || (x[4] = () => {
|
|
@@ -8339,7 +8355,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8339
8355
|
src: e.uploadedImage.fileUrl,
|
|
8340
8356
|
alt: "uploaded-image",
|
|
8341
8357
|
class: "object-contain h-full w-full"
|
|
8342
|
-
}, null, 8,
|
|
8358
|
+
}, null, 8, xc)
|
|
8343
8359
|
], 2)) : m("", !0),
|
|
8344
8360
|
(t(), p(Ft, { to: "body" }, [
|
|
8345
8361
|
d.value ? (t(), p(s(st), {
|
|
@@ -8356,13 +8372,13 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8356
8372
|
]);
|
|
8357
8373
|
};
|
|
8358
8374
|
}
|
|
8359
|
-
}),
|
|
8375
|
+
}), bc = ["accept"], wc = {
|
|
8360
8376
|
key: 0,
|
|
8361
8377
|
class: "py-2 flex flex-col items-center gap-y-4"
|
|
8362
|
-
},
|
|
8378
|
+
}, $c = { class: "flex items-baseline gap-x-3 w-full" }, kc = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, Sc = ["accept"], Cc = {
|
|
8363
8379
|
key: 0,
|
|
8364
8380
|
class: "relative group w-fit rounded overflow-hidden"
|
|
8365
|
-
},
|
|
8381
|
+
}, Bc = ["src"], Oc = ["src"], Vc = { class: "py-2 flex flex-col" }, Ic = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400" }, Tc = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, Dc = { class: "uppercase text-[8px] font-bold leading-none block" }, Ac = { class: "flex" }, Mc = { class: "text-sm text-oc-primary" }, jc = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, lf = {
|
|
8366
8382
|
__name: "OcSingleFileUpload",
|
|
8367
8383
|
props: {
|
|
8368
8384
|
format: {
|
|
@@ -8475,9 +8491,9 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8475
8491
|
S(P.$slots, "hint")
|
|
8476
8492
|
]),
|
|
8477
8493
|
default: k(() => {
|
|
8478
|
-
var U, H, X, te, _,
|
|
8494
|
+
var U, H, X, te, _, oe, re, ve, be, we, ge, $e, ie, Be, ke;
|
|
8479
8495
|
return [
|
|
8480
|
-
e.isImageOnly ? (t(), p(
|
|
8496
|
+
e.isImageOnly ? (t(), p(hc, {
|
|
8481
8497
|
key: 0,
|
|
8482
8498
|
accept: e.accept,
|
|
8483
8499
|
"uploaded-image": w.value,
|
|
@@ -8500,7 +8516,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8500
8516
|
type: "file",
|
|
8501
8517
|
accept: e.accept,
|
|
8502
8518
|
onChange: D[3] || (D[3] = (Q) => s(j)(Q, a.format === "object"))
|
|
8503
|
-
}, null, 40,
|
|
8519
|
+
}, null, 40, bc)
|
|
8504
8520
|
], 64)) : (t(), r(L, { key: 2 }, [
|
|
8505
8521
|
s(T).length ? (t(), r("div", {
|
|
8506
8522
|
key: 1,
|
|
@@ -8509,17 +8525,17 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8509
8525
|
"!bg-oc-bg-dark": e.isDisabled
|
|
8510
8526
|
}])
|
|
8511
8527
|
}, [
|
|
8512
|
-
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), r("div",
|
|
8513
|
-
(
|
|
8528
|
+
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), r("div", Cc, [
|
|
8529
|
+
(oe = (_ = w.value) == null ? void 0 : _.file) != null && oe.type.includes("video") ? (t(), r("video", {
|
|
8514
8530
|
key: 0,
|
|
8515
8531
|
autoplay: "",
|
|
8516
8532
|
loop: "",
|
|
8517
8533
|
src: A.value
|
|
8518
|
-
}, null, 8,
|
|
8534
|
+
}, null, 8, Bc)) : (t(), r("img", {
|
|
8519
8535
|
key: 1,
|
|
8520
8536
|
src: (re = w.value) == null ? void 0 : re.fileUrl
|
|
8521
|
-
}, null, 8,
|
|
8522
|
-
y(s(
|
|
8537
|
+
}, null, 8, Oc)),
|
|
8538
|
+
y(s(ne), {
|
|
8523
8539
|
modelValue: h.value,
|
|
8524
8540
|
"onUpdate:modelValue": D[13] || (D[13] = (Q) => h.value = Q),
|
|
8525
8541
|
class: "absolute top-3 right-3"
|
|
@@ -8527,7 +8543,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8527
8543
|
menu: k(() => {
|
|
8528
8544
|
var Q, Oe;
|
|
8529
8545
|
return [
|
|
8530
|
-
n("div",
|
|
8546
|
+
n("div", Vc, [
|
|
8531
8547
|
!((Oe = (Q = w.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), r("div", {
|
|
8532
8548
|
key: 0,
|
|
8533
8549
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
|
@@ -8575,25 +8591,25 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8575
8591
|
onChangeImage: I
|
|
8576
8592
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
|
8577
8593
|
])) : (t(), r(L, { key: 1 }, [
|
|
8578
|
-
n("div",
|
|
8579
|
-
n("div",
|
|
8594
|
+
n("div", Ic, [
|
|
8595
|
+
n("div", Tc, [
|
|
8580
8596
|
y(s(V), {
|
|
8581
8597
|
name: "file-extension",
|
|
8582
8598
|
width: "14",
|
|
8583
8599
|
height: "10"
|
|
8584
8600
|
}),
|
|
8585
|
-
n("span",
|
|
8601
|
+
n("span", Dc, $((we = w.value) == null ? void 0 : we.extension), 1)
|
|
8586
8602
|
]),
|
|
8587
8603
|
n("div", {
|
|
8588
8604
|
class: v([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
|
8589
8605
|
}, $((ge = w.value) == null ? void 0 : ge.fileName), 3)
|
|
8590
8606
|
]),
|
|
8591
|
-
n("div",
|
|
8607
|
+
n("div", Ac, [
|
|
8592
8608
|
n("div", {
|
|
8593
8609
|
class: v([(($e = w.value) == null ? void 0 : $e.progress) === 100 ? "opacity-0" : "", "transition-all duration-500 flex flex-col gap-y-1 items-center"])
|
|
8594
8610
|
}, [
|
|
8595
|
-
n("span",
|
|
8596
|
-
n("div",
|
|
8611
|
+
n("span", Mc, $(((ie = w.value) == null ? void 0 : ie.progress) || 0) + "% ", 1),
|
|
8612
|
+
n("div", jc, [
|
|
8597
8613
|
n("div", {
|
|
8598
8614
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
|
8599
8615
|
style: se({ width: `${((Be = w.value) == null ? void 0 : Be.progress) || 0}%` })
|
|
@@ -8613,8 +8629,8 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8613
8629
|
]))
|
|
8614
8630
|
])
|
|
8615
8631
|
], 64))
|
|
8616
|
-
], 2)) : (t(), r("div",
|
|
8617
|
-
n("div",
|
|
8632
|
+
], 2)) : (t(), r("div", wc, [
|
|
8633
|
+
n("div", $c, [
|
|
8618
8634
|
e.variant === "url" ? (t(), r(L, { key: 0 }, [
|
|
8619
8635
|
y(s(xe), {
|
|
8620
8636
|
modelValue: d.value,
|
|
@@ -8648,7 +8664,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8648
8664
|
onDragover: D[10] || (D[10] = fe(() => {
|
|
8649
8665
|
}, ["prevent"]))
|
|
8650
8666
|
}, [
|
|
8651
|
-
n("span",
|
|
8667
|
+
n("span", kc, $(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
|
8652
8668
|
y(s(G), {
|
|
8653
8669
|
size: "small",
|
|
8654
8670
|
"is-disabled": e.isDisabled,
|
|
@@ -8665,7 +8681,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8665
8681
|
type: "file",
|
|
8666
8682
|
accept: e.accept,
|
|
8667
8683
|
onChange: D[11] || (D[11] = (Q) => s(j)(Q, a.format === "object"))
|
|
8668
|
-
}, null, 40,
|
|
8684
|
+
}, null, 40, Sc)
|
|
8669
8685
|
])
|
|
8670
8686
|
]))
|
|
8671
8687
|
], 64))
|
|
@@ -8674,13 +8690,13 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8674
8690
|
_: 3
|
|
8675
8691
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
|
8676
8692
|
}
|
|
8677
|
-
},
|
|
8693
|
+
}, Pc = { class: "relative min-h-[100px]" }, Lc = {
|
|
8678
8694
|
key: 0,
|
|
8679
8695
|
class: "absolute"
|
|
8680
|
-
},
|
|
8696
|
+
}, Ec = { 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" }, zc = ["accept", "multiple"], Nc = ["onClick"], Rc = { class: "py-2 flex flex-col" }, Fc = ["onClick"], Uc = ["onClick"], qc = { class: "z-[1009] hidden group-hover:flex absolute bg-black/30 w-full h-full top-0 left-0 rounded" }, Hc = {
|
|
8681
8697
|
key: 0,
|
|
8682
8698
|
class: "cursor-pointer m-auto drag-el"
|
|
8683
|
-
},
|
|
8699
|
+
}, Yc = {
|
|
8684
8700
|
__name: "OcSimpleMultipleUpload",
|
|
8685
8701
|
props: {
|
|
8686
8702
|
accept: {
|
|
@@ -8747,9 +8763,9 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8747
8763
|
u.value[E] = B[E];
|
|
8748
8764
|
}), o[I] = !1, d.value = !0;
|
|
8749
8765
|
};
|
|
8750
|
-
return (I, B) => (t(), r("div",
|
|
8751
|
-
O.value ? (t(), r("label",
|
|
8752
|
-
n("div",
|
|
8766
|
+
return (I, B) => (t(), r("div", Pc, [
|
|
8767
|
+
O.value ? (t(), r("label", Lc, [
|
|
8768
|
+
n("div", Ec, [
|
|
8753
8769
|
y(s(V), { name: "plus" })
|
|
8754
8770
|
]),
|
|
8755
8771
|
T.value ? m("", !0) : (t(), r("input", {
|
|
@@ -8759,9 +8775,9 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8759
8775
|
accept: e.accept || "image/png, image/jpeg",
|
|
8760
8776
|
multiple: a.maxImages !== 1,
|
|
8761
8777
|
onChange: w
|
|
8762
|
-
}, null, 40,
|
|
8778
|
+
}, null, 40, zc))
|
|
8763
8779
|
])) : m("", !0),
|
|
8764
|
-
(t(), p(s(
|
|
8780
|
+
(t(), p(s(Wu), {
|
|
8765
8781
|
key: e.uploadedImages.length,
|
|
8766
8782
|
"model-value": e.uploadedImages,
|
|
8767
8783
|
filter: "filtered-el",
|
|
@@ -8779,7 +8795,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8779
8795
|
style: se(`background-image: url(${E.fileUrl})`),
|
|
8780
8796
|
onClick: (D) => I.$emit("update:selectedImage", E)
|
|
8781
8797
|
}, [
|
|
8782
|
-
y(s(
|
|
8798
|
+
y(s(ne), {
|
|
8783
8799
|
modelValue: o.value[P],
|
|
8784
8800
|
"onUpdate:modelValue": (D) => o.value[P] = D,
|
|
8785
8801
|
placement: "bottom-end",
|
|
@@ -8791,7 +8807,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8791
8807
|
removeItem: b,
|
|
8792
8808
|
fileIndex: P
|
|
8793
8809
|
}, () => [
|
|
8794
|
-
n("div",
|
|
8810
|
+
n("div", Rc, [
|
|
8795
8811
|
n("div", {
|
|
8796
8812
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
|
8797
8813
|
onClick: (D) => g(P, E)
|
|
@@ -8802,7 +8818,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8802
8818
|
name: "pencil"
|
|
8803
8819
|
}),
|
|
8804
8820
|
B[4] || (B[4] = n("span", null, "Edit Image", -1))
|
|
8805
|
-
], 8,
|
|
8821
|
+
], 8, Fc),
|
|
8806
8822
|
n("div", {
|
|
8807
8823
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
|
8808
8824
|
onClick: () => {
|
|
@@ -8815,7 +8831,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8815
8831
|
name: "bin"
|
|
8816
8832
|
}),
|
|
8817
8833
|
B[5] || (B[5] = n("span", null, "Delete", -1))
|
|
8818
|
-
], 8,
|
|
8834
|
+
], 8, Uc)
|
|
8819
8835
|
])
|
|
8820
8836
|
])
|
|
8821
8837
|
]),
|
|
@@ -8839,15 +8855,15 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8839
8855
|
}, null, 4)
|
|
8840
8856
|
], 2)
|
|
8841
8857
|
], 2),
|
|
8842
|
-
n("div",
|
|
8843
|
-
a.maxImages !== 1 ? (t(), r("span",
|
|
8858
|
+
n("div", qc, [
|
|
8859
|
+
a.maxImages !== 1 ? (t(), r("span", Hc, [
|
|
8844
8860
|
y(s(V), {
|
|
8845
8861
|
name: "arrows",
|
|
8846
8862
|
class: "text-oc-accent-1-50"
|
|
8847
8863
|
})
|
|
8848
8864
|
])) : m("", !0)
|
|
8849
8865
|
])
|
|
8850
|
-
], 14,
|
|
8866
|
+
], 14, Nc))), 128))
|
|
8851
8867
|
]),
|
|
8852
8868
|
_: 3
|
|
8853
8869
|
}, 8, ["model-value", "style"])),
|
|
@@ -8864,7 +8880,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8864
8880
|
onChangeImage: C,
|
|
8865
8881
|
"onUpdate:inputOptions": A
|
|
8866
8882
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
|
8867
|
-
y(s(
|
|
8883
|
+
y(s(Ou), {
|
|
8868
8884
|
modelValue: h.value,
|
|
8869
8885
|
"onUpdate:modelValue": B[3] || (B[3] = (N) => h.value = N),
|
|
8870
8886
|
description: "Do you want to delete this image ?",
|
|
@@ -8872,16 +8888,16 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8872
8888
|
}, null, 8, ["modelValue"])
|
|
8873
8889
|
]));
|
|
8874
8890
|
}
|
|
8875
|
-
},
|
|
8891
|
+
}, Wc = { class: "flex flex-col gap-y-2" }, Kc = ["accept"], Gc = { class: "input-file-uploaded flex flex-col gap-y-3" }, Xc = { class: "flex items-center gap-x-3" }, Jc = { class: "flex flex-col items-center justify-center text-oc-text-300" }, Zc = { class: "uppercase text-[8px] font-bold leading-none block" }, Qc = { class: "text-oc-text-400 text-sm" }, _c = { class: "w-[100px] h-[6px] bg-oc-accent-1-50 rounded-full overflow-hidden transition-all duration-1000" }, eu = ["accept"], tu = {
|
|
8876
8892
|
key: 1,
|
|
8877
8893
|
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"
|
|
8878
|
-
},
|
|
8894
|
+
}, lu = { key: 0 }, au = { key: 1 }, nu = {
|
|
8879
8895
|
key: 2,
|
|
8880
8896
|
class: "text-center"
|
|
8881
|
-
},
|
|
8897
|
+
}, ou = {
|
|
8882
8898
|
key: 2,
|
|
8883
8899
|
class: "mt-3 flex items-center justify-center"
|
|
8884
|
-
},
|
|
8900
|
+
}, af = {
|
|
8885
8901
|
__name: "OcMultipleUploadFile",
|
|
8886
8902
|
props: {
|
|
8887
8903
|
modelValue: {
|
|
@@ -8961,7 +8977,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8961
8977
|
var C;
|
|
8962
8978
|
(C = o.value) == null || C.click();
|
|
8963
8979
|
};
|
|
8964
|
-
return (C, A) => (t(), r("div",
|
|
8980
|
+
return (C, A) => (t(), r("div", Wc, [
|
|
8965
8981
|
y(s(pe), {
|
|
8966
8982
|
label: e.label,
|
|
8967
8983
|
hint: e.hint,
|
|
@@ -8971,7 +8987,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
8971
8987
|
S(C.$slots, "hint")
|
|
8972
8988
|
]),
|
|
8973
8989
|
default: k(() => [
|
|
8974
|
-
e.isImageOnly ? (t(), p(
|
|
8990
|
+
e.isImageOnly ? (t(), p(Yc, {
|
|
8975
8991
|
key: 0,
|
|
8976
8992
|
"uploaded-images": s(f),
|
|
8977
8993
|
"selected-image": e.selectedImage,
|
|
@@ -9010,7 +9026,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9010
9026
|
multiple: "",
|
|
9011
9027
|
accept: e.accept,
|
|
9012
9028
|
onChange: b
|
|
9013
|
-
}, null, 40,
|
|
9029
|
+
}, null, 40, Kc)
|
|
9014
9030
|
], 64)) : (t(), r("div", {
|
|
9015
9031
|
key: 2,
|
|
9016
9032
|
class: v(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
|
@@ -9020,27 +9036,27 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9020
9036
|
}
|
|
9021
9037
|
]])
|
|
9022
9038
|
}, [
|
|
9023
|
-
n("div",
|
|
9039
|
+
n("div", Gc, [
|
|
9024
9040
|
(t(!0), r(L, null, R(s(f), (w, O) => (t(), r("div", {
|
|
9025
9041
|
key: `${O}-${w.fileName}`,
|
|
9026
9042
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
|
9027
9043
|
}, [
|
|
9028
|
-
n("div",
|
|
9029
|
-
n("div",
|
|
9044
|
+
n("div", Xc, [
|
|
9045
|
+
n("div", Jc, [
|
|
9030
9046
|
y(s(V), {
|
|
9031
9047
|
name: "file-extension",
|
|
9032
9048
|
width: "14",
|
|
9033
9049
|
height: "10"
|
|
9034
9050
|
}),
|
|
9035
|
-
n("span",
|
|
9051
|
+
n("span", Zc, $(w.extension), 1)
|
|
9036
9052
|
]),
|
|
9037
|
-
n("span",
|
|
9053
|
+
n("span", Qc, $(w == null ? void 0 : w.fileName), 1)
|
|
9038
9054
|
]),
|
|
9039
9055
|
c.value ? (t(), r("div", {
|
|
9040
9056
|
key: 0,
|
|
9041
9057
|
class: v(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": w.progress === 100 }])
|
|
9042
9058
|
}, [
|
|
9043
|
-
n("div",
|
|
9059
|
+
n("div", _c, [
|
|
9044
9060
|
n("div", {
|
|
9045
9061
|
style: se({ width: `${w.progress}%` }),
|
|
9046
9062
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
|
@@ -9082,15 +9098,15 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9082
9098
|
onDragleave: A[6] || (A[6] = (w) => d.value = !1),
|
|
9083
9099
|
onDrop: A[7] || (A[7] = (w) => d.value = !1),
|
|
9084
9100
|
onChange: b
|
|
9085
|
-
}, null, 40,
|
|
9086
|
-
s(f).length ? e.isDisabled ? m("", !0) : (t(), r("div",
|
|
9101
|
+
}, null, 40, eu)),
|
|
9102
|
+
s(f).length ? e.isDisabled ? m("", !0) : (t(), r("div", ou, A[9] || (A[9] = [
|
|
9087
9103
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
|
9088
|
-
]))) : (t(), r("div",
|
|
9104
|
+
]))) : (t(), r("div", tu, [
|
|
9089
9105
|
y(s(V), {
|
|
9090
9106
|
name: "upload",
|
|
9091
9107
|
class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
|
9092
9108
|
}, null, 8, ["class"]),
|
|
9093
|
-
e.labelUploadArea ? (t(), r("div",
|
|
9109
|
+
e.labelUploadArea ? (t(), r("div", lu, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), r("div", au, "Upload disabled")) : (t(), r("div", nu, [
|
|
9094
9110
|
A[8] || (A[8] = n("div", null, "Select documents or drag here", -1)),
|
|
9095
9111
|
n("div", null, "File max " + $(e.maxSize) + "MB", 1)
|
|
9096
9112
|
]))
|
|
@@ -9102,7 +9118,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9102
9118
|
}, 8, ["label", "hint", "error-message"])
|
|
9103
9119
|
]));
|
|
9104
9120
|
}
|
|
9105
|
-
},
|
|
9121
|
+
}, iu = ["value"], su = /* @__PURE__ */ Z({
|
|
9106
9122
|
__name: "OcNumberInput",
|
|
9107
9123
|
props: {
|
|
9108
9124
|
modelValue: {
|
|
@@ -9162,7 +9178,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9162
9178
|
placeholder: "1",
|
|
9163
9179
|
onKeydown: c,
|
|
9164
9180
|
onInput: f[0] || (f[0] = (h) => u.$emit("update:modelValue", h.target.value))
|
|
9165
|
-
}, null, 42,
|
|
9181
|
+
}, null, 42, iu),
|
|
9166
9182
|
y(s(G), {
|
|
9167
9183
|
variant: "secondary",
|
|
9168
9184
|
class: "w-[28px] shrink-0 aspect-square",
|
|
@@ -9177,7 +9193,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9177
9193
|
_: 1
|
|
9178
9194
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
|
9179
9195
|
}
|
|
9180
|
-
}),
|
|
9196
|
+
}), ru = {
|
|
9181
9197
|
__name: "OcDropdown",
|
|
9182
9198
|
props: {
|
|
9183
9199
|
distance: {
|
|
@@ -9277,7 +9293,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9277
9293
|
[s(ot), f]
|
|
9278
9294
|
]);
|
|
9279
9295
|
}
|
|
9280
|
-
},
|
|
9296
|
+
}, ne = /* @__PURE__ */ he(ru, [["__scopeId", "data-v-28a0af68"]]), du = { class: "flex items-center gap-x-3 p-3" }, cu = { class: "md:text-base text-sm" }, uu = {
|
|
9281
9297
|
key: 0,
|
|
9282
9298
|
class: "p-3 text-sm text-oc-text-300"
|
|
9283
9299
|
}, ye = {
|
|
@@ -9302,27 +9318,27 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9302
9318
|
return (a, l) => (t(), r("div", {
|
|
9303
9319
|
class: v(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", i.value[e.variant]])
|
|
9304
9320
|
}, [
|
|
9305
|
-
n("div",
|
|
9321
|
+
n("div", du, [
|
|
9306
9322
|
e.icon ? (t(), p(s(V), F({
|
|
9307
9323
|
key: 0,
|
|
9308
9324
|
class: "w-5 h-5",
|
|
9309
9325
|
name: e.icon
|
|
9310
9326
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : m("", !0),
|
|
9311
|
-
n("span",
|
|
9327
|
+
n("span", cu, $(e.text), 1),
|
|
9312
9328
|
e.pointed ? S(a.$slots, "badge", { key: 1 }, () => [
|
|
9313
9329
|
l[0] || (l[0] = n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1))
|
|
9314
9330
|
]) : m("", !0)
|
|
9315
9331
|
]),
|
|
9316
|
-
e.subText ? (t(), r("div",
|
|
9332
|
+
e.subText ? (t(), r("div", uu, [
|
|
9317
9333
|
n("span", null, $(e.subText), 1)
|
|
9318
9334
|
])) : m("", !0)
|
|
9319
9335
|
], 2));
|
|
9320
9336
|
}
|
|
9321
|
-
},
|
|
9337
|
+
}, mu = { class: "oc-tooltip-wrapper" }, fu = {
|
|
9322
9338
|
key: 0,
|
|
9323
9339
|
class: "oc-arrow",
|
|
9324
9340
|
"data-popper-arrow": ""
|
|
9325
|
-
},
|
|
9341
|
+
}, vu = {
|
|
9326
9342
|
__name: "OcTooltip",
|
|
9327
9343
|
props: {
|
|
9328
9344
|
popperClass: {
|
|
@@ -9397,7 +9413,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9397
9413
|
const f = () => {
|
|
9398
9414
|
a.value && u();
|
|
9399
9415
|
};
|
|
9400
|
-
return (h, x) => Ve((t(), r("span",
|
|
9416
|
+
return (h, x) => Ve((t(), r("span", mu, [
|
|
9401
9417
|
y(s(wt), {
|
|
9402
9418
|
ref_key: "popper",
|
|
9403
9419
|
ref: d,
|
|
@@ -9416,7 +9432,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9416
9432
|
class: v(["oc-tooltip", e.popperClass])
|
|
9417
9433
|
}, [
|
|
9418
9434
|
S(h.$slots, "popper", {}, void 0, !0),
|
|
9419
|
-
e.arrowHidden ? m("", !0) : (t(), r("div",
|
|
9435
|
+
e.arrowHidden ? m("", !0) : (t(), r("div", fu))
|
|
9420
9436
|
], 2), [
|
|
9421
9437
|
[ze, a.value]
|
|
9422
9438
|
])
|
|
@@ -9439,14 +9455,14 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9439
9455
|
[s(ot), f]
|
|
9440
9456
|
]);
|
|
9441
9457
|
}
|
|
9442
|
-
}, le = /* @__PURE__ */ he(
|
|
9458
|
+
}, le = /* @__PURE__ */ he(vu, [["__scopeId", "data-v-a902efc5"]]), gu = {
|
|
9443
9459
|
key: 0,
|
|
9444
9460
|
id: "modal-overlay-wrapper",
|
|
9445
9461
|
class: "fixed w-screen z-[1007] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
|
9446
|
-
},
|
|
9462
|
+
}, pu = { class: "flex flex-col gap-y-1 overflow-hidden" }, yu = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, xu = {
|
|
9447
9463
|
key: 0,
|
|
9448
9464
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
|
9449
|
-
},
|
|
9465
|
+
}, hu = ["id"], bu = {
|
|
9450
9466
|
__name: "OcModal",
|
|
9451
9467
|
props: {
|
|
9452
9468
|
isBorderless: Boolean,
|
|
@@ -9543,7 +9559,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9543
9559
|
), Ut(() => {
|
|
9544
9560
|
var x;
|
|
9545
9561
|
(x = f.value) == null || x.removeEventListener("scroll", h);
|
|
9546
|
-
}), (x, b) => e.modelValue ? (t(), r("div",
|
|
9562
|
+
}), (x, b) => e.modelValue ? (t(), r("div", gu, [
|
|
9547
9563
|
n("div", {
|
|
9548
9564
|
class: "w-full h-full absolute top-0 left-0 z-[1007]",
|
|
9549
9565
|
onClick: d
|
|
@@ -9556,10 +9572,10 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9556
9572
|
class: v(["flex bg-inherit border-oc-gray-200 gap-x-9 justify-between p-5 items-start rounded-t-xl", e.isBorderless ? "" : "border-b"])
|
|
9557
9573
|
}, [
|
|
9558
9574
|
S(x.$slots, "header", {}, () => [
|
|
9559
|
-
n("div",
|
|
9560
|
-
n("span",
|
|
9575
|
+
n("div", pu, [
|
|
9576
|
+
n("span", yu, $(e.title), 1),
|
|
9561
9577
|
S(x.$slots, "description", {}, () => [
|
|
9562
|
-
e.description ? (t(), r("span",
|
|
9578
|
+
e.description ? (t(), r("span", xu, $(e.description), 1)) : m("", !0)
|
|
9563
9579
|
])
|
|
9564
9580
|
]),
|
|
9565
9581
|
e.isCloseIcon ? (t(), r("div", {
|
|
@@ -9583,7 +9599,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9583
9599
|
onScroll: b[1] || (b[1] = (T) => l("content-scroll", T))
|
|
9584
9600
|
}, [
|
|
9585
9601
|
S(x.$slots, "default")
|
|
9586
|
-
], 42,
|
|
9602
|
+
], 42, hu),
|
|
9587
9603
|
e.isFooterVisible ? (t(), r("div", {
|
|
9588
9604
|
key: 1,
|
|
9589
9605
|
class: v(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
|
@@ -9610,10 +9626,10 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9610
9626
|
], 2)
|
|
9611
9627
|
])) : m("", !0);
|
|
9612
9628
|
}
|
|
9613
|
-
},
|
|
9629
|
+
}, wu = {
|
|
9614
9630
|
key: 0,
|
|
9615
9631
|
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"
|
|
9616
|
-
},
|
|
9632
|
+
}, $u = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, ku = { class: "modal-body p-9" }, nf = {
|
|
9617
9633
|
__name: "OcModalPage",
|
|
9618
9634
|
props: {
|
|
9619
9635
|
modelValue: {
|
|
@@ -9644,8 +9660,8 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9644
9660
|
emits: ["update:modelValue", "back", "click:outside"],
|
|
9645
9661
|
setup(e, { emit: i }) {
|
|
9646
9662
|
const a = i;
|
|
9647
|
-
return (l, o) => e.modelValue ? (t(), r("div",
|
|
9648
|
-
n("div",
|
|
9663
|
+
return (l, o) => e.modelValue ? (t(), r("div", wu, [
|
|
9664
|
+
n("div", $u, [
|
|
9649
9665
|
S(l.$slots, "top"),
|
|
9650
9666
|
n("div", {
|
|
9651
9667
|
class: v(["relative z-[1008] shadow-normal max-w-[1440px] bg-[linear-gradient(180deg,_rgba(229,_238,_255,_0.5)_0%,_rgba(229,_238,_255,_0)_77.75%)] rounded-xl flex flex-col overflow-y-auto mx-auto", e.contentClass])
|
|
@@ -9673,14 +9689,14 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9673
9689
|
}),
|
|
9674
9690
|
o[2] || (o[2] = n("span", null, "Close", -1))
|
|
9675
9691
|
]),
|
|
9676
|
-
n("div",
|
|
9692
|
+
n("div", ku, [
|
|
9677
9693
|
S(l.$slots, "default")
|
|
9678
9694
|
])
|
|
9679
9695
|
], 2)
|
|
9680
9696
|
])
|
|
9681
9697
|
])) : m("", !0);
|
|
9682
9698
|
}
|
|
9683
|
-
},
|
|
9699
|
+
}, Su = { class: "text-center" }, Cu = ["innerHTML"], Bu = {
|
|
9684
9700
|
__name: "OcConfirmation",
|
|
9685
9701
|
props: {
|
|
9686
9702
|
description: String,
|
|
@@ -9719,14 +9735,14 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9719
9735
|
name: e.icon ?? i[e.variant]
|
|
9720
9736
|
}, null, 8, ["name"])
|
|
9721
9737
|
], 2)),
|
|
9722
|
-
n("div",
|
|
9738
|
+
n("div", Su, [
|
|
9723
9739
|
S(l.$slots, "description", {}, () => [
|
|
9724
|
-
n("span", { innerHTML: e.description }, null, 8,
|
|
9740
|
+
n("span", { innerHTML: e.description }, null, 8, Cu)
|
|
9725
9741
|
])
|
|
9726
9742
|
])
|
|
9727
9743
|
], 2));
|
|
9728
9744
|
}
|
|
9729
|
-
},
|
|
9745
|
+
}, Ou = {
|
|
9730
9746
|
__name: "OcConfirmationModal",
|
|
9731
9747
|
props: {
|
|
9732
9748
|
modelValue: {
|
|
@@ -9799,7 +9815,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9799
9815
|
})), c = (u) => {
|
|
9800
9816
|
l("update:model-value", u), l("cancel");
|
|
9801
9817
|
};
|
|
9802
|
-
return (u, f) => (t(), p(s(
|
|
9818
|
+
return (u, f) => (t(), p(s(bu), {
|
|
9803
9819
|
size: "small",
|
|
9804
9820
|
"model-value": e.modelValue,
|
|
9805
9821
|
title: e.title,
|
|
@@ -9822,7 +9838,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9822
9838
|
onCancel: f[1] || (f[1] = (h) => u.$emit("cancel"))
|
|
9823
9839
|
}, {
|
|
9824
9840
|
default: k(() => [
|
|
9825
|
-
y(
|
|
9841
|
+
y(Bu, {
|
|
9826
9842
|
"icon-class": e.iconClass,
|
|
9827
9843
|
variant: e.variant,
|
|
9828
9844
|
description: e.description,
|
|
@@ -9842,10 +9858,10 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9842
9858
|
_: 3
|
|
9843
9859
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
|
9844
9860
|
}
|
|
9845
|
-
},
|
|
9861
|
+
}, Vu = { class: "fixed bottom-[30px] right-[32px]" }, Iu = { class: "relative" }, Tu = {
|
|
9846
9862
|
key: 0,
|
|
9847
9863
|
class: "flex items-center justify-end"
|
|
9848
|
-
},
|
|
9864
|
+
}, Du = { class: "w-[40px] flex text-white items-center bg-oc-text active:bg-oc-gray-800 justify-center aspect-square rounded-full cursor-pointer" }, Au = { class: "min-w-[180px]" }, Mu = { class: "p-3" }, ju = { class: "uppercase text-oc-text-400 text-xs font-medium" }, of = /* @__PURE__ */ Z({
|
|
9849
9865
|
__name: "OcSupportMenu",
|
|
9850
9866
|
props: {
|
|
9851
9867
|
modelValue: {
|
|
@@ -9883,8 +9899,8 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9883
9899
|
const i = {
|
|
9884
9900
|
arrowHidden: !0
|
|
9885
9901
|
};
|
|
9886
|
-
return (a, l) => (t(), r("div",
|
|
9887
|
-
y(s(
|
|
9902
|
+
return (a, l) => (t(), r("div", Vu, [
|
|
9903
|
+
y(s(ne), {
|
|
9888
9904
|
"model-value": e.modelValue,
|
|
9889
9905
|
"popper-options": i,
|
|
9890
9906
|
placement: "top-end",
|
|
@@ -9892,10 +9908,10 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9892
9908
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.$emit("update:modelValue", o))
|
|
9893
9909
|
}, {
|
|
9894
9910
|
menu: k(() => [
|
|
9895
|
-
n("div",
|
|
9911
|
+
n("div", Au, [
|
|
9896
9912
|
(t(!0), r(L, null, R(e.topMenu, (o, d) => (t(), r(L, { key: d }, [
|
|
9897
|
-
n("div",
|
|
9898
|
-
n("span",
|
|
9913
|
+
n("div", Mu, [
|
|
9914
|
+
n("span", ju, $(o.title), 1)
|
|
9899
9915
|
]),
|
|
9900
9916
|
(t(!0), r(L, null, R(o.items, (c, u) => (t(), p(s(ye), F({
|
|
9901
9917
|
key: u,
|
|
@@ -9936,11 +9952,11 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9936
9952
|
])
|
|
9937
9953
|
]),
|
|
9938
9954
|
default: k(() => [
|
|
9939
|
-
n("div",
|
|
9940
|
-
e.isPointed ? (t(), r("div",
|
|
9955
|
+
n("div", Iu, [
|
|
9956
|
+
e.isPointed ? (t(), r("div", Tu, l[1] || (l[1] = [
|
|
9941
9957
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
|
9942
9958
|
]))) : m("", !0),
|
|
9943
|
-
n("div",
|
|
9959
|
+
n("div", Du, [
|
|
9944
9960
|
y(s(V), {
|
|
9945
9961
|
name: "question",
|
|
9946
9962
|
width: "33",
|
|
@@ -9953,7 +9969,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9953
9969
|
}, 8, ["model-value"])
|
|
9954
9970
|
]));
|
|
9955
9971
|
}
|
|
9956
|
-
}),
|
|
9972
|
+
}), Pu = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, je = /* @__PURE__ */ Z({
|
|
9957
9973
|
__name: "OcCopyTooltip",
|
|
9958
9974
|
props: {
|
|
9959
9975
|
value: [String, Blob],
|
|
@@ -9983,7 +9999,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
9983
9999
|
distance: 20
|
|
9984
10000
|
}, e.tooltipOptions), {
|
|
9985
10001
|
popper: k(() => [
|
|
9986
|
-
n("div",
|
|
10002
|
+
n("div", Pu, $(e.tooltipText), 1)
|
|
9987
10003
|
]),
|
|
9988
10004
|
default: k(({ isShow: o }) => [
|
|
9989
10005
|
n("div", {
|
|
@@ -10002,7 +10018,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
10002
10018
|
_: 3
|
|
10003
10019
|
}, 16));
|
|
10004
10020
|
}
|
|
10005
|
-
}),
|
|
10021
|
+
}), Lu = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, Eu = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, zu = { class: "flex flex-col gap-y-7 p-5" }, Nu = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, Ru = ["src"], Fu = { class: "flex text-center flex-col gap-y-3" }, Uu = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, qu = { class: "text-oc-text-400" }, Hu = { class: "py-6 px-5 flex items-center justify-center" }, sf = /* @__PURE__ */ Z({
|
|
10006
10022
|
__name: "OcWhiteList",
|
|
10007
10023
|
props: {
|
|
10008
10024
|
buttonProps: {
|
|
@@ -10018,28 +10034,28 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
10018
10034
|
description: String
|
|
10019
10035
|
},
|
|
10020
10036
|
setup(e) {
|
|
10021
|
-
return (i, a) => (t(), r("div",
|
|
10037
|
+
return (i, a) => (t(), r("div", Lu, [
|
|
10022
10038
|
a[0] || (a[0] = n("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
|
|
10023
|
-
n("div",
|
|
10024
|
-
n("div",
|
|
10039
|
+
n("div", Eu, [
|
|
10040
|
+
n("div", zu, [
|
|
10025
10041
|
S(i.$slots, "logo", {}, () => [
|
|
10026
|
-
n("div",
|
|
10042
|
+
n("div", Nu, [
|
|
10027
10043
|
n("img", {
|
|
10028
10044
|
src: e.imagePath,
|
|
10029
10045
|
alt: "logo"
|
|
10030
|
-
}, null, 8,
|
|
10046
|
+
}, null, 8, Ru)
|
|
10031
10047
|
])
|
|
10032
10048
|
]),
|
|
10033
|
-
n("div",
|
|
10034
|
-
n("div",
|
|
10049
|
+
n("div", Fu, [
|
|
10050
|
+
n("div", Uu, [
|
|
10035
10051
|
W($(e.title) + " ", 1),
|
|
10036
10052
|
e.tagOptions ? (t(), p(s(Yt), me(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
|
10037
10053
|
]),
|
|
10038
|
-
n("span",
|
|
10054
|
+
n("span", qu, $(e.description), 1)
|
|
10039
10055
|
]),
|
|
10040
10056
|
S(i.$slots, "bottom")
|
|
10041
10057
|
]),
|
|
10042
|
-
n("div",
|
|
10058
|
+
n("div", Hu, [
|
|
10043
10059
|
S(i.$slots, "footer", {}, () => [
|
|
10044
10060
|
y(s(G), F({
|
|
10045
10061
|
label: "Request Access",
|
|
@@ -10050,7 +10066,7 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
10050
10066
|
])
|
|
10051
10067
|
]));
|
|
10052
10068
|
}
|
|
10053
|
-
}),
|
|
10069
|
+
}), rf = {
|
|
10054
10070
|
__name: "OcFormBuilder",
|
|
10055
10071
|
props: {
|
|
10056
10072
|
id: {
|
|
@@ -10090,23 +10106,23 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
10090
10106
|
const a = e, l = i, o = (g, I) => {
|
|
10091
10107
|
l("onUpdate", g, I);
|
|
10092
10108
|
}, d = {
|
|
10093
|
-
CardInput:
|
|
10094
|
-
CheckboxesGroup:
|
|
10109
|
+
CardInput: sr,
|
|
10110
|
+
CheckboxesGroup: dr,
|
|
10095
10111
|
Input: xe,
|
|
10096
|
-
NumberInput:
|
|
10097
|
-
LinkInput:
|
|
10098
|
-
Select:
|
|
10099
|
-
TextArea:
|
|
10112
|
+
NumberInput: su,
|
|
10113
|
+
LinkInput: td,
|
|
10114
|
+
Select: Wr,
|
|
10115
|
+
TextArea: nd,
|
|
10100
10116
|
Toggle: kt,
|
|
10101
|
-
RadioGroup:
|
|
10102
|
-
TimePicker:
|
|
10103
|
-
DatePicker:
|
|
10117
|
+
RadioGroup: Mr,
|
|
10118
|
+
TimePicker: Ku,
|
|
10119
|
+
DatePicker: lc,
|
|
10104
10120
|
Checkbox: De,
|
|
10105
10121
|
Slider: $t,
|
|
10106
|
-
RangeInput:
|
|
10107
|
-
PhoneInput:
|
|
10108
|
-
SectionItem:
|
|
10109
|
-
SelectOptions:
|
|
10122
|
+
RangeInput: Er,
|
|
10123
|
+
PhoneInput: Vr,
|
|
10124
|
+
SectionItem: rc,
|
|
10125
|
+
SelectOptions: fc
|
|
10110
10126
|
}, c = (g) => d[g] ? d[g] : null, u = z(() => {
|
|
10111
10127
|
const g = (B) => B.split(`
|
|
10112
10128
|
`).map((N) => N.trim()).filter(Boolean).map((N) => `"${N}"`).join(" "), I = {};
|
|
@@ -10200,126 +10216,126 @@ const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full
|
|
|
10200
10216
|
}), 128))
|
|
10201
10217
|
], 6)) : m("", !0);
|
|
10202
10218
|
}
|
|
10203
|
-
},
|
|
10204
|
-
() => import("./OcComplexCalendar-
|
|
10205
|
-
),
|
|
10206
|
-
() => import("./OcComplexDatePicker-
|
|
10207
|
-
), st = de(() => import("./OcModalCropper-
|
|
10208
|
-
() => import("./ThumbnailTheme-
|
|
10209
|
-
),
|
|
10210
|
-
() => import("./ThumbnailSection-
|
|
10211
|
-
),
|
|
10219
|
+
}, df = de(() => import("./OcDataTable-D5vz1-lX.js")), cf = de(() => import("./OcFilterSearch-CJt2-0oT.js")), uf = de(() => import("./OcFilterSearchFor-BV41Zm92.js")), mf = de(() => import("./OcFilterForm-ClfErTph.js")), Yu = de(
|
|
10220
|
+
() => import("./OcComplexCalendar-B3hvCH8b.js")
|
|
10221
|
+
), ff = de(
|
|
10222
|
+
() => import("./OcComplexDatePicker-BJzE59Ud.js")
|
|
10223
|
+
), st = de(() => import("./OcModalCropper-DwGopxc-.js")), vf = de(() => import("./OcCropper-BReUmmUe.js")), Wu = de(() => import("./OcDraggable-CA_BCbpl.js")), gf = de(() => import("./OcDraggableList-B2QGYqy9.js")), pf = de(() => import("./OcEmojiPicker-BtTOnwrl.js")), yf = de(
|
|
10224
|
+
() => import("./ThumbnailTheme-Bsypo6ft.js")
|
|
10225
|
+
), xf = de(
|
|
10226
|
+
() => import("./ThumbnailSection-CT_d6jGM.js")
|
|
10227
|
+
), hf = de(() => import("./SubPlanCard-D1fbeTmt.js")), bf = de(() => import("./OcTimePopup-CXGhaOev.js")), Ku = de(() => import("./OcTimePicker-BuXpSM_v.js"));
|
|
10212
10228
|
export {
|
|
10213
|
-
|
|
10214
|
-
|
|
10229
|
+
Im as $,
|
|
10230
|
+
bm as A,
|
|
10215
10231
|
G as B,
|
|
10216
10232
|
Bt as C,
|
|
10217
10233
|
dn as D,
|
|
10218
|
-
|
|
10234
|
+
km as E,
|
|
10219
10235
|
gl as F,
|
|
10220
10236
|
Ct as G,
|
|
10221
10237
|
qe as H,
|
|
10222
|
-
|
|
10238
|
+
xm as I,
|
|
10223
10239
|
ct as J,
|
|
10224
10240
|
ut as K,
|
|
10225
|
-
|
|
10226
|
-
|
|
10241
|
+
pm as L,
|
|
10242
|
+
ym as M,
|
|
10227
10243
|
rt as N,
|
|
10228
10244
|
Fe as O,
|
|
10229
10245
|
dt as P,
|
|
10230
10246
|
Ie as Q,
|
|
10231
10247
|
Ee as R,
|
|
10232
10248
|
sl as S,
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10249
|
+
hm as T,
|
|
10250
|
+
Sm as U,
|
|
10251
|
+
Cm as V,
|
|
10252
|
+
Vm as W,
|
|
10237
10253
|
Un as X,
|
|
10238
|
-
|
|
10239
|
-
|
|
10254
|
+
Bm as Y,
|
|
10255
|
+
Om as Z,
|
|
10240
10256
|
pe as _,
|
|
10241
|
-
|
|
10257
|
+
sr as a,
|
|
10242
10258
|
Wn as a0,
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10259
|
+
Hm as a1,
|
|
10260
|
+
qi as a2,
|
|
10261
|
+
Gm as a3,
|
|
10262
|
+
Km as a4,
|
|
10263
|
+
qm as a5,
|
|
10264
|
+
Ym as a6,
|
|
10265
|
+
Tm as a7,
|
|
10266
|
+
Dm as a8,
|
|
10267
|
+
Am as a9,
|
|
10268
|
+
bu as aA,
|
|
10269
|
+
nf as aB,
|
|
10270
|
+
of as aC,
|
|
10255
10271
|
le as aD,
|
|
10256
|
-
|
|
10272
|
+
sf as aE,
|
|
10257
10273
|
it as aF,
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10274
|
+
Yu as aG,
|
|
10275
|
+
Wu as aH,
|
|
10276
|
+
bf as aI,
|
|
10277
|
+
cf as aJ,
|
|
10278
|
+
mf as aK,
|
|
10279
|
+
uf as aL,
|
|
10280
|
+
df as aM,
|
|
10281
|
+
ff as aN,
|
|
10266
10282
|
st as aO,
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10283
|
+
vf as aP,
|
|
10284
|
+
gf as aQ,
|
|
10285
|
+
pf as aR,
|
|
10286
|
+
yf as aS,
|
|
10287
|
+
xf as aT,
|
|
10288
|
+
hf as aU,
|
|
10289
|
+
Ku as aV,
|
|
10290
|
+
Mm as aa,
|
|
10291
|
+
jm as ab,
|
|
10292
|
+
Pm as ac,
|
|
10293
|
+
Lm as ad,
|
|
10278
10294
|
Eo as ae,
|
|
10279
10295
|
Ao as af,
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10296
|
+
Wm as ag,
|
|
10297
|
+
Em as ah,
|
|
10298
|
+
zm as ai,
|
|
10299
|
+
Nm as aj,
|
|
10284
10300
|
oi as ak,
|
|
10285
10301
|
ui as al,
|
|
10286
10302
|
vi as am,
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10303
|
+
hi as an,
|
|
10304
|
+
Rm as ao,
|
|
10305
|
+
Fm as ap,
|
|
10306
|
+
Um as aq,
|
|
10307
|
+
Xm as ar,
|
|
10308
|
+
Zm as as,
|
|
10293
10309
|
ae as at,
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10310
|
+
Qm as au,
|
|
10311
|
+
Jm as av,
|
|
10312
|
+
Ou as aw,
|
|
10297
10313
|
je as ax,
|
|
10298
|
-
|
|
10314
|
+
ne as ay,
|
|
10299
10315
|
ye as az,
|
|
10300
10316
|
De as b,
|
|
10301
|
-
|
|
10302
|
-
|
|
10317
|
+
dr as c,
|
|
10318
|
+
_m as d,
|
|
10303
10319
|
xe as e,
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10320
|
+
ef as f,
|
|
10321
|
+
Vr as g,
|
|
10322
|
+
Ar as h,
|
|
10323
|
+
Mr as i,
|
|
10324
|
+
Er as j,
|
|
10325
|
+
Wr as k,
|
|
10310
10326
|
gt as l,
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10327
|
+
tf as m,
|
|
10328
|
+
td as n,
|
|
10329
|
+
nd as o,
|
|
10330
|
+
Kd as p,
|
|
10331
|
+
lc as q,
|
|
10332
|
+
rc as r,
|
|
10333
|
+
fc as s,
|
|
10334
|
+
lf as t,
|
|
10335
|
+
af as u,
|
|
10336
|
+
su as v,
|
|
10337
|
+
rf as w,
|
|
10338
|
+
$m as x,
|
|
10339
|
+
wm as y,
|
|
10324
10340
|
Ae as z
|
|
10325
10341
|
};
|