@orchidui/core 1.1.31-14 → 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-Cu85vhc2.js → OcComplexCalendar-B3hvCH8b.js} +1 -1
- package/dist/{OcComplexDatePicker-h6znZkPZ.js → OcComplexDatePicker-BJzE59Ud.js} +1 -1
- package/dist/{OcCropper-CE9ndaKL.js → OcCropper-BReUmmUe.js} +1 -1
- package/dist/{OcDataTable-DJ3qAu4Z.js → OcDataTable-D5vz1-lX.js} +1 -1
- package/dist/{OcDraggableList-C48trF30.js → OcDraggableList-B2QGYqy9.js} +1 -1
- package/dist/{OcEmojiPicker-BdjvFMNA.js → OcEmojiPicker-BtTOnwrl.js} +1 -1
- package/dist/{OcFilterForm-DsDk_9oO.js → OcFilterForm-ClfErTph.js} +1 -1
- package/dist/{OcFilterSearch-SVjRxtUQ.js → OcFilterSearch-CJt2-0oT.js} +1 -1
- package/dist/{OcFilterSearchFor-5s0ZudWU.js → OcFilterSearchFor-BV41Zm92.js} +1 -1
- package/dist/{OcModalCropper-m9u0mr2W.js → OcModalCropper-DwGopxc-.js} +2 -2
- package/dist/{OcTimePicker-Df8BqLEN.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-Bpx41om8.js → SubPlanCard-D1fbeTmt.js} +1 -1
- package/dist/{ThumbnailSection-BaXYBlGq.js → ThumbnailSection-CT_d6jGM.js} +1 -1
- package/dist/{ThumbnailTheme-C62Azwna.js → ThumbnailTheme-Bsypo6ft.js} +1 -1
- package/dist/{index-BBcnPgzE.js → index-DXeKhK9o.js} +592 -573
- 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 Tm = /* @__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 Tm = /* @__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 Tm = /* @__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 Tm = /* @__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 Tm = /* @__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 Tm = /* @__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 Tm = /* @__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 Tm = /* @__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: {
|
@@ -3553,7 +3553,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3553
3553
|
"is-sidebar-expanded": e.isExpanded
|
3554
3554
|
}, {
|
3555
3555
|
default: k(() => [
|
3556
|
-
(t(!0), r(L, null, R(x.items, (T, j) => (t(), p(s(
|
3556
|
+
(t(!0), r(L, null, R(x.items, (T, j) => (t(), p(s(ui), {
|
3557
3557
|
key: j,
|
3558
3558
|
icon: T.icon,
|
3559
3559
|
label: T.label,
|
@@ -3564,7 +3564,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3564
3564
|
onCloseMenu: (C) => d(T.name)
|
3565
3565
|
}, {
|
3566
3566
|
default: k(() => [
|
3567
|
-
(t(!0), r(L, null, R(T.children, (C, A) => (t(), p(s(
|
3567
|
+
(t(!0), r(L, null, R(T.children, (C, A) => (t(), p(s(vi), {
|
3568
3568
|
key: A,
|
3569
3569
|
icon: C.icon,
|
3570
3570
|
label: C.label,
|
@@ -3581,7 +3581,7 @@ const Tm = /* @__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 Tm = /* @__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 Tm = /* @__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,
|
@@ -3910,7 +3910,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3910
3910
|
}, ii = { class: "relative" }, si = {
|
3911
3911
|
key: 0,
|
3912
3912
|
class: "leading-[21px]"
|
3913
|
-
}, ri = { class: "py-2 whitespace-nowrap px-3 text-sm text-oc-text-400 font-medium" }, di = { class: "flex flex-col gap-y-1 min-h-0" },
|
3913
|
+
}, ri = { class: "py-2 whitespace-nowrap px-3 text-sm text-oc-text-400 font-medium" }, di = { class: "ml-1" }, ci = { class: "flex flex-col gap-y-1 min-h-0" }, ui = {
|
3914
3914
|
__name: "OcSidebarMenu",
|
3915
3915
|
props: {
|
3916
3916
|
icon: String,
|
@@ -3933,7 +3933,8 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3933
3933
|
y(s(le), {
|
3934
3934
|
position: "right",
|
3935
3935
|
distance: 10,
|
3936
|
-
"popper-options": { strategy: "fixed" }
|
3936
|
+
"popper-options": { strategy: "fixed" },
|
3937
|
+
class: "w-full"
|
3937
3938
|
}, ee({
|
3938
3939
|
default: k(() => [
|
3939
3940
|
n("div", {
|
@@ -3962,7 +3963,9 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3962
3963
|
e.isExpanded ? void 0 : {
|
3963
3964
|
name: "popper",
|
3964
3965
|
fn: k(() => [
|
3965
|
-
n("div", ri,
|
3966
|
+
n("div", ri, [
|
3967
|
+
n("span", di, $(e.label), 1)
|
3968
|
+
])
|
3966
3969
|
]),
|
3967
3970
|
key: "0"
|
3968
3971
|
}
|
@@ -3976,7 +3979,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3976
3979
|
onClick: f[0] || (f[0] = fe(() => {
|
3977
3980
|
}, ["stop"]))
|
3978
3981
|
}, [
|
3979
|
-
n("div",
|
3982
|
+
n("div", ci, [
|
3980
3983
|
S(u.$slots, "default")
|
3981
3984
|
])
|
3982
3985
|
], 2)) : m("", !0),
|
@@ -3994,10 +3997,10 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
3994
3997
|
[s(ot), c]
|
3995
3998
|
]);
|
3996
3999
|
}
|
3997
|
-
},
|
4000
|
+
}, mi = { class: "flex-1 whitespace-nowrap" }, fi = {
|
3998
4001
|
key: 0,
|
3999
4002
|
class: "bg-oc-warning text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
4000
|
-
},
|
4003
|
+
}, vi = {
|
4001
4004
|
__name: "OcSidebarSubMenuItem",
|
4002
4005
|
props: {
|
4003
4006
|
label: String,
|
@@ -4013,11 +4016,11 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4013
4016
|
"rounded-sm p-3 h-[34px] text-sm": !e.isExpanded
|
4014
4017
|
}])
|
4015
4018
|
}, [
|
4016
|
-
n("div",
|
4017
|
-
e.isBeta ? (t(), r("div",
|
4019
|
+
n("div", mi, $(e.label), 1),
|
4020
|
+
e.isBeta ? (t(), r("div", fi, " BETA ")) : m("", !0)
|
4018
4021
|
], 2));
|
4019
4022
|
}
|
4020
|
-
},
|
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 = {
|
4021
4024
|
__name: "OcSidebarFooter",
|
4022
4025
|
props: {
|
4023
4026
|
displayName: String,
|
@@ -4025,9 +4028,12 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4025
4028
|
},
|
4026
4029
|
emits: ["user-click", "support-click"],
|
4027
4030
|
setup(e) {
|
4028
|
-
|
4029
|
-
|
4030
|
-
|
4031
|
+
const i = M(!1), a = () => {
|
4032
|
+
i.value = !i.value;
|
4033
|
+
};
|
4034
|
+
return (l, o) => (t(), r("div", gi, [
|
4035
|
+
n("div", pi, [
|
4036
|
+
e.isExpanded ? S(l.$slots, "default", { key: 0 }) : m("", !0),
|
4031
4037
|
n("div", {
|
4032
4038
|
class: v(["flex items-center gap-x-3", {
|
4033
4039
|
"flex-col gap-y-4": !e.isExpanded
|
@@ -4035,30 +4041,43 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4035
4041
|
}, [
|
4036
4042
|
n("div", {
|
4037
4043
|
class: "px-3 flex flex-1 items-center gap-x-3 text-oc-primary",
|
4038
|
-
onClick:
|
4044
|
+
onClick: o[0] || (o[0] = (d) => l.$emit("support-click"))
|
4039
4045
|
}, [
|
4040
4046
|
y(s(V), {
|
4041
4047
|
name: "chat-2",
|
4042
4048
|
width: "18",
|
4043
4049
|
height: "18"
|
4044
4050
|
}),
|
4045
|
-
e.isExpanded ? (t(), r("span",
|
4051
|
+
e.isExpanded ? (t(), r("span", yi, "Contact support")) : m("", !0)
|
4046
4052
|
]),
|
4047
|
-
y(s(
|
4048
|
-
|
4049
|
-
|
4050
|
-
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)
|
4051
4056
|
}, {
|
4057
|
+
menu: k(() => [
|
4058
|
+
n("div", xi, [
|
4059
|
+
S(l.$slots, "user-menu", { toggle: a })
|
4060
|
+
])
|
4061
|
+
]),
|
4052
4062
|
default: k(() => [
|
4053
|
-
|
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
|
+
})
|
4054
4073
|
]),
|
4055
|
-
_:
|
4056
|
-
})
|
4074
|
+
_: 3
|
4075
|
+
}, 8, ["modelValue"])
|
4057
4076
|
], 2)
|
4058
4077
|
])
|
4059
4078
|
]));
|
4060
4079
|
}
|
4061
|
-
},
|
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 = {
|
4062
4081
|
__name: "OcSidebarFeatureBanners",
|
4063
4082
|
props: {
|
4064
4083
|
isStacked: {
|
@@ -4075,16 +4094,16 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4075
4094
|
}
|
4076
4095
|
},
|
4077
4096
|
setup(e) {
|
4078
|
-
return (i, a) => (t(), r("div",
|
4097
|
+
return (i, a) => (t(), r("div", bi, [
|
4079
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)),
|
4080
|
-
n("div",
|
4081
|
-
n("div",
|
4099
|
+
n("div", wi, [
|
4100
|
+
n("div", $i, [
|
4082
4101
|
y(s(V), {
|
4083
4102
|
name: "sparkle-2",
|
4084
4103
|
class: "text-oc-accent-2"
|
4085
4104
|
}),
|
4086
|
-
n("div",
|
4087
|
-
n("div",
|
4105
|
+
n("div", ki, $(e.title), 1),
|
4106
|
+
n("div", Si, [
|
4088
4107
|
y(s(V), {
|
4089
4108
|
name: "x",
|
4090
4109
|
class: "text-oc-text-300 hover:text-oc-text",
|
@@ -4101,11 +4120,11 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4101
4120
|
})
|
4102
4121
|
])
|
4103
4122
|
]),
|
4104
|
-
n("div",
|
4123
|
+
n("div", Ci, $(e.description), 1)
|
4105
4124
|
])
|
4106
4125
|
]));
|
4107
4126
|
}
|
4108
|
-
},
|
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 = {
|
4109
4128
|
__name: "OcAccountSetupProgress",
|
4110
4129
|
props: {
|
4111
4130
|
value: {
|
@@ -4119,9 +4138,9 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4119
4138
|
},
|
4120
4139
|
emits: ["redirect"],
|
4121
4140
|
setup(e) {
|
4122
|
-
return (i, a) => (t(), r("div",
|
4123
|
-
n("div",
|
4124
|
-
n("div",
|
4141
|
+
return (i, a) => (t(), r("div", Bi, [
|
4142
|
+
n("div", Oi, [
|
4143
|
+
n("div", Vi, "Finish your account (" + $(e.value) + "%)", 1),
|
4125
4144
|
y(s(V), {
|
4126
4145
|
name: "arrow-top-right",
|
4127
4146
|
class: "text-oc-text-300 hover:text-oc-text",
|
@@ -4130,21 +4149,21 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4130
4149
|
onClick: a[0] || (a[0] = (l) => i.$emit("redirect"))
|
4131
4150
|
})
|
4132
4151
|
]),
|
4133
|
-
n("div",
|
4134
|
-
n("div",
|
4152
|
+
n("div", Ii, [
|
4153
|
+
n("div", Ti, [
|
4135
4154
|
n("div", {
|
4136
4155
|
class: "absolute top-0 left-0 bg-oc-primary rounded-full h-2",
|
4137
4156
|
style: se({ width: `${e.value}%` })
|
4138
4157
|
}, null, 4)
|
4139
4158
|
]),
|
4140
|
-
n("div",
|
4159
|
+
n("div", Di, [
|
4141
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)),
|
4142
|
-
n("span",
|
4161
|
+
n("span", Ai, $(e.infoLabel), 1)
|
4143
4162
|
])
|
4144
4163
|
])
|
4145
4164
|
]));
|
4146
4165
|
}
|
4147
|
-
},
|
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({
|
4148
4167
|
__name: "OcSubSidebar",
|
4149
4168
|
props: {
|
4150
4169
|
title: {
|
@@ -4162,7 +4181,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4162
4181
|
},
|
4163
4182
|
emits: ["titleClick", "update:modelValue"],
|
4164
4183
|
setup(e) {
|
4165
|
-
return (i, a) => (t(), r("div",
|
4184
|
+
return (i, a) => (t(), r("div", Mi, [
|
4166
4185
|
e.title ? (t(), r("div", {
|
4167
4186
|
key: 0,
|
4168
4187
|
class: "py-4 gap-x-3 whitespace-nowrap cursor-pointer flex font-medium items-center",
|
@@ -4176,7 +4195,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4176
4195
|
}),
|
4177
4196
|
W(" " + $(e.title), 1)
|
4178
4197
|
])) : m("", !0),
|
4179
|
-
n("div",
|
4198
|
+
n("div", ji, [
|
4180
4199
|
(t(!0), r(L, null, R(e.menu, (l, o) => (t(), r("div", {
|
4181
4200
|
key: o,
|
4182
4201
|
class: v([
|
@@ -4184,11 +4203,11 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4184
4203
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
4185
4204
|
]),
|
4186
4205
|
onClick: (d) => i.$emit("update:modelValue", l.value)
|
4187
|
-
}, $(l.label), 11,
|
4206
|
+
}, $(l.label), 11, Pi))), 128))
|
4188
4207
|
])
|
4189
4208
|
]));
|
4190
4209
|
}
|
4191
|
-
}),
|
4210
|
+
}), Li = { class: "relative" }, qm = {
|
4192
4211
|
__name: "OcEmptyPage",
|
4193
4212
|
props: {
|
4194
4213
|
isButton: {
|
@@ -4286,7 +4305,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4286
4305
|
return (a, l) => (t(), r("div", {
|
4287
4306
|
class: v(["flex flex-col items-center", i.value[e.size].box])
|
4288
4307
|
}, [
|
4289
|
-
n("div",
|
4308
|
+
n("div", Li, [
|
4290
4309
|
n("div", {
|
4291
4310
|
class: v(["flex justify-center border rounded-full items-center aspect-square", [
|
4292
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",
|
@@ -4327,16 +4346,16 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4327
4346
|
}, null, 8, ["label", "left-icon"])) : m("", !0)
|
4328
4347
|
], 2));
|
4329
4348
|
}
|
4330
|
-
},
|
4349
|
+
}, Ei = {
|
4331
4350
|
key: 0,
|
4332
4351
|
class: "min-w-[138px] flex flex-col gap-y-3"
|
4333
|
-
},
|
4352
|
+
}, zi = {
|
4334
4353
|
key: 1,
|
4335
4354
|
class: "flex gap-x-4 items-center"
|
4336
|
-
},
|
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 = {
|
4337
4356
|
key: 0,
|
4338
4357
|
class: "flex justify-center items-center w-[38px] h-[38px] shrink-0 rounded-full bg-oc-gray-100"
|
4339
|
-
},
|
4358
|
+
}, qi = {
|
4340
4359
|
__name: "OcInfoCardButton",
|
4341
4360
|
props: {
|
4342
4361
|
isActive: Boolean,
|
@@ -4355,19 +4374,19 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4355
4374
|
e.isLoading ? "p-3" : "px-5 py-4 min-h-[62px] max-h-[76px]"
|
4356
4375
|
]])
|
4357
4376
|
}, [
|
4358
|
-
e.isLoading ? (t(), r("div",
|
4377
|
+
e.isLoading ? (t(), r("div", Ei, [
|
4359
4378
|
y(s(Se), { class: "h-[14px] w-[80%] rounded-sm" }),
|
4360
4379
|
y(s(Se), { class: "h-[20px] w-full rounded-sm" })
|
4361
|
-
])) : (t(), r("div",
|
4362
|
-
n("div",
|
4363
|
-
n("div",
|
4364
|
-
n("span",
|
4380
|
+
])) : (t(), r("div", zi, [
|
4381
|
+
n("div", Ni, [
|
4382
|
+
n("div", Ri, [
|
4383
|
+
n("span", Fi, $(e.title), 1),
|
4365
4384
|
e.chipOptions ? (t(), p(s(ae), me(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
4366
4385
|
]),
|
4367
4386
|
n("span", {
|
4368
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"])
|
4369
4388
|
}, [
|
4370
|
-
e.countryIso ? (t(), r("div",
|
4389
|
+
e.countryIso ? (t(), r("div", Ui, [
|
4371
4390
|
y(s(V), {
|
4372
4391
|
class: "!rounded-[1px]",
|
4373
4392
|
name: `flags/${e.countryIso.toUpperCase()}`
|
@@ -4380,7 +4399,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4380
4399
|
]))
|
4381
4400
|
], 2));
|
4382
4401
|
}
|
4383
|
-
},
|
4402
|
+
}, Hi = { class: "flex items-center gap-x-4 overflow-hidden" }, Yi = { class: "flex gap-x-2 overflow-auto" }, Wi = ["alt", "src"], Ki = {
|
4384
4403
|
__name: "OcPaymentMethods",
|
4385
4404
|
props: {
|
4386
4405
|
methods: {
|
@@ -4389,23 +4408,23 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4389
4408
|
}
|
4390
4409
|
},
|
4391
4410
|
setup(e) {
|
4392
|
-
return (i, a) => (t(), r("div",
|
4411
|
+
return (i, a) => (t(), r("div", Hi, [
|
4393
4412
|
a[0] || (a[0] = n("span", { class: "text-xs shrink-0 font-medium text-oc-text-300 uppercase" }, " Payment methods ", -1)),
|
4394
|
-
n("div",
|
4413
|
+
n("div", Yi, [
|
4395
4414
|
(t(!0), r(L, null, R(e.methods, (l) => (t(), r("img", {
|
4396
4415
|
key: l,
|
4397
4416
|
width: "35",
|
4398
4417
|
alt: l,
|
4399
4418
|
height: "24",
|
4400
4419
|
src: l
|
4401
|
-
}, null, 8,
|
4420
|
+
}, null, 8, Wi))), 128))
|
4402
4421
|
])
|
4403
4422
|
]));
|
4404
4423
|
}
|
4405
|
-
},
|
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 = {
|
4406
4425
|
key: 4,
|
4407
4426
|
class: "flex shrink-0 gap-x-3"
|
4408
|
-
},
|
4427
|
+
}, Zi = {
|
4409
4428
|
__name: "OcTopActions",
|
4410
4429
|
props: {
|
4411
4430
|
moreButtonProps: Object,
|
@@ -4428,20 +4447,20 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4428
4447
|
const i = M(!1);
|
4429
4448
|
return (a, l) => {
|
4430
4449
|
var o;
|
4431
|
-
return t(), r("div",
|
4450
|
+
return t(), r("div", Gi, [
|
4432
4451
|
e.isLoading ? (t(), p(s(Se), {
|
4433
4452
|
key: 0,
|
4434
4453
|
class: "h-[20px] w-[322px] rounded-sm"
|
4435
4454
|
})) : m("", !0),
|
4436
|
-
!e.isLoading && e.paymentMethods.length ? (t(), p(
|
4455
|
+
!e.isLoading && e.paymentMethods.length ? (t(), p(Ki, {
|
4437
4456
|
key: 1,
|
4438
4457
|
methods: e.paymentMethods
|
4439
|
-
}, null, 8, ["methods"])) : (t(), r("div",
|
4458
|
+
}, null, 8, ["methods"])) : (t(), r("div", Xi)),
|
4440
4459
|
e.isLoading ? (t(), p(s(Se), {
|
4441
4460
|
key: 3,
|
4442
4461
|
class: "h-[20px] w-[168px] rounded-sm"
|
4443
|
-
})) : (t(), r("div",
|
4444
|
-
y(s(
|
4462
|
+
})) : (t(), r("div", Ji, [
|
4463
|
+
y(s(ne), F({
|
4445
4464
|
modelValue: i.value,
|
4446
4465
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => i.value = d),
|
4447
4466
|
"popper-options": { strategy: "fixed" },
|
@@ -4486,7 +4505,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4486
4505
|
]);
|
4487
4506
|
};
|
4488
4507
|
}
|
4489
|
-
},
|
4508
|
+
}, Qi = { class: "flex flex-col gap-y-5" }, _i = { class: "flex gap-x-5 overflow-x-auto" }, es = {
|
4490
4509
|
__name: "OcBalanceOverview",
|
4491
4510
|
props: {
|
4492
4511
|
overviewItems: {
|
@@ -4522,10 +4541,10 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4522
4541
|
changeTab: []
|
4523
4542
|
},
|
4524
4543
|
setup(e) {
|
4525
|
-
return (i, a) => (t(), r("div",
|
4526
|
-
n("div",
|
4544
|
+
return (i, a) => (t(), r("div", Qi, [
|
4545
|
+
n("div", _i, [
|
4527
4546
|
(t(!0), r(L, null, R(e.isLoading ? 2 : e.overviewTabs, (l) => S(i.$slots, l.value, { tab: l }, () => [
|
4528
|
-
(t(), p(
|
4547
|
+
(t(), p(qi, {
|
4529
4548
|
key: l.value,
|
4530
4549
|
title: l.title,
|
4531
4550
|
"is-loading": e.isLoading,
|
@@ -4540,7 +4559,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4540
4559
|
])), 256))
|
4541
4560
|
]),
|
4542
4561
|
a[0] || (a[0] = n("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
4543
|
-
y(
|
4562
|
+
y(Zi, {
|
4544
4563
|
"is-loading": e.isLoading,
|
4545
4564
|
"more-button-props": e.moreButtonProps,
|
4546
4565
|
"secondary-button-props": e.secondaryButtonProps,
|
@@ -4561,19 +4580,19 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4561
4580
|
}, 8, ["is-loading", "items", "container-class"])
|
4562
4581
|
]));
|
4563
4582
|
}
|
4564
|
-
},
|
4565
|
-
function
|
4566
|
-
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, [
|
4567
4586
|
S(e.$slots, "default")
|
4568
4587
|
]);
|
4569
4588
|
}
|
4570
|
-
const at = /* @__PURE__ */ he(
|
4589
|
+
const at = /* @__PURE__ */ he(ts, [["render", as]]), ns = { class: "flex" }, os = {
|
4571
4590
|
key: 0,
|
4572
4591
|
class: "p-2"
|
4573
|
-
},
|
4592
|
+
}, is = { class: "py-2 px-3" }, ss = {
|
4574
4593
|
key: 0,
|
4575
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"
|
4576
|
-
},
|
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({
|
4577
4596
|
__name: "MobileDynamicType",
|
4578
4597
|
props: {
|
4579
4598
|
boxes: { type: Array, default: () => [] },
|
@@ -4589,7 +4608,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4589
4608
|
default: k(() => {
|
4590
4609
|
var o, d;
|
4591
4610
|
return [
|
4592
|
-
n("div",
|
4611
|
+
n("div", ns, [
|
4593
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({
|
4594
4613
|
key: u,
|
4595
4614
|
"is-transparent": "",
|
@@ -4609,12 +4628,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4609
4628
|
key: "0"
|
4610
4629
|
} : void 0
|
4611
4630
|
]), 1040, ["title", "content", "class", "is-loading"]))), 128)),
|
4612
|
-
(d = e.boxes[0]) != null && d.showInfo ? (t(), r("div",
|
4631
|
+
(d = e.boxes[0]) != null && d.showInfo ? (t(), r("div", os, [
|
4613
4632
|
y(s(le), null, {
|
4614
4633
|
popper: k(() => {
|
4615
4634
|
var c;
|
4616
4635
|
return [
|
4617
|
-
n("div",
|
4636
|
+
n("div", is, $((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
4618
4637
|
];
|
4619
4638
|
}),
|
4620
4639
|
default: k(() => [
|
@@ -4652,8 +4671,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4652
4671
|
}),
|
4653
4672
|
y(Me, { name: "slide-from-right" }, {
|
4654
4673
|
default: k(() => [
|
4655
|
-
i.value ? (t(), r("div",
|
4656
|
-
n("div",
|
4674
|
+
i.value ? (t(), r("div", ss, [
|
4675
|
+
n("div", rs, [
|
4657
4676
|
l[4] || (l[4] = n("span", { class: "font-medium" }, "Details", -1)),
|
4658
4677
|
y(s(G), {
|
4659
4678
|
size: "small",
|
@@ -4665,7 +4684,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4665
4684
|
onClick: l[2] || (l[2] = (o) => i.value = !1)
|
4666
4685
|
})
|
4667
4686
|
]),
|
4668
|
-
n("div",
|
4687
|
+
n("div", ds, [
|
4669
4688
|
(t(!0), r(L, null, R(e.boxes, (o, d) => (t(), p(at, { key: d }, {
|
4670
4689
|
default: k(() => [
|
4671
4690
|
(t(!0), r(L, null, R(o.items, (c, u) => (t(), p(s(qe), F({
|
@@ -4703,7 +4722,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4703
4722
|
})
|
4704
4723
|
]));
|
4705
4724
|
}
|
4706
|
-
}),
|
4725
|
+
}), us = { class: "hidden md:flex md:gap-5 gap-3 md:flex-row flex-col" }, ms = { class: "py-2 px-3" }, fs = {
|
4707
4726
|
__name: "OcDynamicType",
|
4708
4727
|
props: {
|
4709
4728
|
boxes: { type: Array, default: () => [] },
|
@@ -4716,7 +4735,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4716
4735
|
emits: ["addCustomer", "editCustomer"],
|
4717
4736
|
setup(e) {
|
4718
4737
|
return (i, a) => (t(), r(L, null, [
|
4719
|
-
n("div",
|
4738
|
+
n("div", us, [
|
4720
4739
|
(t(!0), r(L, null, R(e.boxes, (l, o) => (t(), p(at, {
|
4721
4740
|
key: o,
|
4722
4741
|
class: v(
|
@@ -4753,7 +4772,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4753
4772
|
y(s(le), { "popper-options": { strategy: "fixed" } }, {
|
4754
4773
|
popper: k(() => [
|
4755
4774
|
S(i.$slots, l.infoTooltipSlot, {}, () => [
|
4756
|
-
n("div",
|
4775
|
+
n("div", ms, $(l.infoTooltip), 1)
|
4757
4776
|
])
|
4758
4777
|
]),
|
4759
4778
|
default: k(() => [
|
@@ -4796,7 +4815,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4796
4815
|
} : void 0
|
4797
4816
|
]), 1032, ["variant", "customer", "is-hover", "is-edit"])) : m("", !0)
|
4798
4817
|
]),
|
4799
|
-
y(
|
4818
|
+
y(cs, {
|
4800
4819
|
class: "flex md:hidden",
|
4801
4820
|
boxes: e.boxes,
|
4802
4821
|
"is-customer": e.isCustomer,
|
@@ -4813,7 +4832,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4813
4832
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
4814
4833
|
], 64));
|
4815
4834
|
}
|
4816
|
-
},
|
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 = {
|
4817
4836
|
__name: "OcAdditionalContent",
|
4818
4837
|
props: {
|
4819
4838
|
mainLink: { type: String, default: "" },
|
@@ -4862,7 +4881,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4862
4881
|
console.error("Unable to copy text to clipboard. Error: ", l);
|
4863
4882
|
}
|
4864
4883
|
};
|
4865
|
-
return (l, o) => (t(), r("div",
|
4884
|
+
return (l, o) => (t(), r("div", vs, [
|
4866
4885
|
e.variant === "default" ? (t(), p(Ot, {
|
4867
4886
|
key: 0,
|
4868
4887
|
description: e.mainLink,
|
@@ -4870,8 +4889,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4870
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])
|
4871
4890
|
}, {
|
4872
4891
|
title: k(() => [
|
4873
|
-
n("div",
|
4874
|
-
n("span",
|
4892
|
+
n("div", gs, [
|
4893
|
+
n("span", ps, $(e.additionalTitle), 1),
|
4875
4894
|
e.chipVariant ? (t(), p(s(ae), {
|
4876
4895
|
key: 0,
|
4877
4896
|
variant: e.chipVariant,
|
@@ -4880,15 +4899,15 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4880
4899
|
])
|
4881
4900
|
]),
|
4882
4901
|
description: k(() => [
|
4883
|
-
n("div",
|
4902
|
+
n("div", ys, [
|
4884
4903
|
n("a", {
|
4885
4904
|
href: e.href || `${e.mainLink}${e.userId}`,
|
4886
4905
|
target: "_blank",
|
4887
4906
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
4888
4907
|
}, [
|
4889
|
-
n("div",
|
4890
|
-
n("div",
|
4891
|
-
], 8,
|
4908
|
+
n("div", hs, $(e.mainLink), 1),
|
4909
|
+
n("div", bs, $(e.userId), 1)
|
4910
|
+
], 8, xs),
|
4892
4911
|
y(s(Ao), {
|
4893
4912
|
"primary-actions": e.primaryActions,
|
4894
4913
|
onCopy: a
|
@@ -4896,7 +4915,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4896
4915
|
])
|
4897
4916
|
]),
|
4898
4917
|
_: 1
|
4899
|
-
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(
|
4918
|
+
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(fs, {
|
4900
4919
|
key: 1,
|
4901
4920
|
boxes: e.boxes,
|
4902
4921
|
"customer-card-variant": e.customerCardVariant,
|
@@ -4914,7 +4933,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4914
4933
|
S(l.$slots, c, me(Te(u)))
|
4915
4934
|
])
|
4916
4935
|
}))
|
4917
|
-
]), 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, {
|
4918
4937
|
key: 2,
|
4919
4938
|
"overview-items": e.overviewItems,
|
4920
4939
|
"overview-tabs": e.overviewTabs,
|
@@ -4938,13 +4957,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4938
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)
|
4939
4958
|
]));
|
4940
4959
|
}
|
4941
|
-
},
|
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 = {
|
4942
4961
|
key: 0,
|
4943
4962
|
class: "text-oc-text-400 mb-10"
|
4944
|
-
},
|
4963
|
+
}, Cs = {
|
4945
4964
|
key: 1,
|
4946
4965
|
class: "flex gap-4 flex-wrap"
|
4947
|
-
},
|
4966
|
+
}, Bs = { class: "text-sm font-medium" }, Os = {
|
4948
4967
|
__name: "OcFeatureOverviewCard",
|
4949
4968
|
props: {
|
4950
4969
|
title: {
|
@@ -4964,11 +4983,11 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4964
4983
|
setup(e) {
|
4965
4984
|
return (i, a) => {
|
4966
4985
|
var l;
|
4967
|
-
return t(), r("div",
|
4968
|
-
n("div",
|
4969
|
-
n("h2",
|
4970
|
-
e.description ? (t(), r("p",
|
4971
|
-
(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, [
|
4972
4991
|
(t(!0), r(L, null, R(e.features, (o) => (t(), r("div", {
|
4973
4992
|
key: o.title,
|
4974
4993
|
class: "rounded bg-white flex flex-col gap-2 p-6 items-center justify-center relative"
|
@@ -4984,14 +5003,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4984
5003
|
height: "56",
|
4985
5004
|
width: "56"
|
4986
5005
|
}, null, 8, ["name"]),
|
4987
|
-
n("span",
|
5006
|
+
n("span", Bs, $(o.title), 1)
|
4988
5007
|
]))), 128))
|
4989
5008
|
])) : m("", !0)
|
4990
5009
|
])
|
4991
5010
|
]);
|
4992
5011
|
};
|
4993
5012
|
}
|
4994
|
-
},
|
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({
|
4995
5014
|
__name: "OcSandboxBanner",
|
4996
5015
|
props: {
|
4997
5016
|
title: {
|
@@ -5004,15 +5023,15 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5004
5023
|
}
|
5005
5024
|
},
|
5006
5025
|
setup(e) {
|
5007
|
-
return (i, a) => (t(), r("div",
|
5008
|
-
n("span",
|
5026
|
+
return (i, a) => (t(), r("div", Vs, [
|
5027
|
+
n("span", Is, $(e.title), 1),
|
5009
5028
|
e.chipProps ? (t(), p(s(ae), F({
|
5010
5029
|
key: 0,
|
5011
5030
|
class: "absolute left-[40px]"
|
5012
5031
|
}, e.chipProps), null, 16)) : m("", !0)
|
5013
5032
|
]));
|
5014
5033
|
}
|
5015
|
-
}),
|
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({
|
5016
5035
|
__name: "OcBox",
|
5017
5036
|
props: {
|
5018
5037
|
icon: String,
|
@@ -5033,13 +5052,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5033
5052
|
height: e.height,
|
5034
5053
|
variant: e.variant
|
5035
5054
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
5036
|
-
n("div",
|
5037
|
-
n("span",
|
5038
|
-
n("span",
|
5055
|
+
n("div", Ts, [
|
5056
|
+
n("span", Ds, $(e.title), 1),
|
5057
|
+
n("span", As, $(e.description), 1)
|
5039
5058
|
])
|
5040
5059
|
], 2));
|
5041
5060
|
}
|
5042
|
-
}),
|
5061
|
+
}), Gm = /* @__PURE__ */ Z({
|
5043
5062
|
__name: "OcAuthenticationOption",
|
5044
5063
|
props: {
|
5045
5064
|
icon: String,
|
@@ -5065,7 +5084,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5065
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)
|
5066
5085
|
], 2));
|
5067
5086
|
}
|
5068
|
-
}),
|
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({
|
5069
5088
|
__name: "OcVerificationOption",
|
5070
5089
|
props: {
|
5071
5090
|
title: {
|
@@ -5089,10 +5108,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5089
5108
|
return (i, a) => (t(), r("div", {
|
5090
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"])
|
5091
5110
|
}, [
|
5092
|
-
n("div",
|
5093
|
-
n("div",
|
5111
|
+
n("div", Ms, [
|
5112
|
+
n("div", js, [
|
5094
5113
|
S(i.$slots, "title", {}, () => [
|
5095
|
-
n("span",
|
5114
|
+
n("span", Ps, $(e.title), 1)
|
5096
5115
|
]),
|
5097
5116
|
e.chipOptions ? (t(), p(s(ae), me(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
5098
5117
|
]),
|
@@ -5107,13 +5126,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5107
5126
|
S(i.$slots, "content")
|
5108
5127
|
], 2));
|
5109
5128
|
}
|
5110
|
-
}),
|
5129
|
+
}), Ls = {
|
5111
5130
|
key: 0,
|
5112
5131
|
class: "flex flex-col gap-y-4 w-full"
|
5113
|
-
},
|
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 = {
|
5114
5133
|
key: 0,
|
5115
5134
|
class: "text-oc-text"
|
5116
|
-
},
|
5135
|
+
}, Us = ["innerHTML"], Jm = {
|
5117
5136
|
__name: "OcSnackbar",
|
5118
5137
|
props: {
|
5119
5138
|
modelValue: {
|
@@ -5242,12 +5261,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5242
5261
|
}, null, 8, ["name", "width", "height"]))
|
5243
5262
|
], 64)) : m("", !0),
|
5244
5263
|
S(h.$slots, "default", {}, () => [
|
5245
|
-
f.value ? (t(), r("div",
|
5246
|
-
n("div",
|
5247
|
-
n("span",
|
5248
|
-
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)
|
5249
5268
|
]),
|
5250
|
-
n("div",
|
5269
|
+
n("div", Rs, [
|
5251
5270
|
e.secondaryButton ? (t(), p(s(G), F({
|
5252
5271
|
key: 0,
|
5253
5272
|
variant: "secondary",
|
@@ -5266,7 +5285,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5266
5285
|
key: 1,
|
5267
5286
|
class: "text-oc-text",
|
5268
5287
|
innerHTML: e.content
|
5269
|
-
}, null, 8,
|
5288
|
+
}, null, 8, Us)) : (t(), r("span", Fs, $(e.content), 1))
|
5270
5289
|
], 2))
|
5271
5290
|
]),
|
5272
5291
|
e.dismissible ? (t(), r("div", {
|
@@ -5287,7 +5306,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5287
5306
|
_: 3
|
5288
5307
|
}, 8, ["name"]));
|
5289
5308
|
}
|
5290
|
-
},
|
5309
|
+
}, qs = { class: "flex items-center gap-3" }, Hs = { class: "text-oc-text-500" }, Ys = { class: "p-4 text-sm" }, Ws = {
|
5291
5310
|
__name: "OcBanner",
|
5292
5311
|
props: {
|
5293
5312
|
modelValue: {
|
@@ -5346,7 +5365,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5346
5365
|
n("div", {
|
5347
5366
|
class: v(["flex flex-1 items-center justify-between gap-3 min-h-[34px] px-4 text-sm", s(i)[e.color]])
|
5348
5367
|
}, [
|
5349
|
-
n("div",
|
5368
|
+
n("div", qs, [
|
5350
5369
|
e.showIcon ? (t(), p(s(V), {
|
5351
5370
|
key: 0,
|
5352
5371
|
name: e.icon,
|
@@ -5355,7 +5374,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5355
5374
|
height: "16"
|
5356
5375
|
}, null, 8, ["name"])) : m("", !0),
|
5357
5376
|
S(l.$slots, "title", {}, () => [
|
5358
|
-
n("div",
|
5377
|
+
n("div", Hs, $(e.title), 1)
|
5359
5378
|
], !0)
|
5360
5379
|
]),
|
5361
5380
|
e.dismissible ? (t(), p(s(G), {
|
@@ -5366,7 +5385,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5366
5385
|
onClick: o[0] || (o[0] = (d) => l.$emit("update:modelValue", !1))
|
5367
5386
|
})) : m("", !0)
|
5368
5387
|
], 2),
|
5369
|
-
n("div",
|
5388
|
+
n("div", Ys, [
|
5370
5389
|
S(l.$slots, "default", {}, () => [
|
5371
5390
|
W($(e.content), 1)
|
5372
5391
|
], !0)
|
@@ -5378,10 +5397,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5378
5397
|
_: 3
|
5379
5398
|
}, 8, ["name"]));
|
5380
5399
|
}
|
5381
|
-
},
|
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 = {
|
5382
5401
|
key: 1,
|
5383
5402
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
5384
|
-
},
|
5403
|
+
}, Js = { class: "text-sm" }, Qm = {
|
5385
5404
|
__name: "OcShareIcon",
|
5386
5405
|
props: {
|
5387
5406
|
text: String,
|
@@ -5394,10 +5413,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5394
5413
|
setup(e) {
|
5395
5414
|
return (i, a) => e.isOnlyIcon ? (t(), p(s(le), me(F({ key: 0 }, e.tooltipOptions)), {
|
5396
5415
|
popper: k(() => [
|
5397
|
-
n("div",
|
5416
|
+
n("div", Gs, $(e.text), 1)
|
5398
5417
|
]),
|
5399
5418
|
default: k(() => [
|
5400
|
-
n("div",
|
5419
|
+
n("div", Ks, [
|
5401
5420
|
y(s(V), {
|
5402
5421
|
name: e.icon,
|
5403
5422
|
width: "20",
|
@@ -5406,25 +5425,25 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5406
5425
|
])
|
5407
5426
|
]),
|
5408
5427
|
_: 1
|
5409
|
-
}, 16)) : (t(), r("div",
|
5428
|
+
}, 16)) : (t(), r("div", Xs, [
|
5410
5429
|
y(s(V), {
|
5411
5430
|
name: e.icon,
|
5412
5431
|
width: "20",
|
5413
5432
|
height: "20"
|
5414
5433
|
}, null, 8, ["name"]),
|
5415
|
-
n("span",
|
5434
|
+
n("span", Js, $(e.text), 1)
|
5416
5435
|
]));
|
5417
5436
|
}
|
5418
|
-
},
|
5437
|
+
}, Zs = { class: "flex flex-col gap-y-2 w-full" }, Qs = { class: "flex gap-x-1 items-center" }, _s = {
|
5419
5438
|
key: 0,
|
5420
5439
|
class: "text-oc-error"
|
5421
|
-
},
|
5440
|
+
}, er = {
|
5422
5441
|
key: 0,
|
5423
5442
|
class: "px-3 py-2"
|
5424
|
-
},
|
5443
|
+
}, tr = {
|
5425
5444
|
key: 1,
|
5426
5445
|
class: "text-sm flex items-center text-oc-text-400"
|
5427
|
-
},
|
5446
|
+
}, lr = {
|
5428
5447
|
key: 2,
|
5429
5448
|
class: "text-sm text-oc-error flex items-center"
|
5430
5449
|
}, pe = {
|
@@ -5440,19 +5459,19 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5440
5459
|
labelClass: String
|
5441
5460
|
},
|
5442
5461
|
setup(e) {
|
5443
|
-
return (i, a) => (t(), r("div",
|
5462
|
+
return (i, a) => (t(), r("div", Zs, [
|
5444
5463
|
e.label ? (t(), r("label", {
|
5445
5464
|
key: 0,
|
5446
5465
|
class: v(["text-sm flex items-center gap-x-3 font-medium text-oc-text-400", e.labelClass])
|
5447
5466
|
}, [
|
5448
|
-
n("span",
|
5467
|
+
n("span", Qs, [
|
5449
5468
|
W($(e.label) + " ", 1),
|
5450
|
-
e.isRequired ? (t(), r("span",
|
5469
|
+
e.isRequired ? (t(), r("span", _s, "*")) : m("", !0)
|
5451
5470
|
]),
|
5452
5471
|
e.labelIcon ? (t(), p(s(le), me(F({ key: 0 }, e.tooltipOptions)), {
|
5453
5472
|
popper: k(() => [
|
5454
5473
|
S(i.$slots, "tooltipText", {}, () => [
|
5455
|
-
e.tooltipText ? (t(), r("div",
|
5474
|
+
e.tooltipText ? (t(), r("div", er, $(e.tooltipText), 1)) : m("", !0)
|
5456
5475
|
])
|
5457
5476
|
]),
|
5458
5477
|
default: k(() => [
|
@@ -5466,18 +5485,18 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5466
5485
|
}, 16)) : m("", !0)
|
5467
5486
|
], 2)) : m("", !0),
|
5468
5487
|
S(i.$slots, "default"),
|
5469
|
-
(e.hint || i.$slots.hint) && !e.errorMessage ? (t(), r("div",
|
5488
|
+
(e.hint || i.$slots.hint) && !e.errorMessage ? (t(), r("div", tr, [
|
5470
5489
|
S(i.$slots, "hint", {}, () => [
|
5471
5490
|
W($(e.hint), 1)
|
5472
5491
|
])
|
5473
5492
|
])) : m("", !0),
|
5474
|
-
e.errorMessage ? (t(), r("div",
|
5493
|
+
e.errorMessage ? (t(), r("div", lr, $(e.errorMessage), 1)) : m("", !0)
|
5475
5494
|
]));
|
5476
5495
|
}
|
5477
|
-
},
|
5496
|
+
}, ar = ["disabled"], nr = {
|
5478
5497
|
key: 2,
|
5479
5498
|
class: "overflow-hidden text-ellipsis"
|
5480
|
-
},
|
5499
|
+
}, or = {
|
5481
5500
|
__name: "OcButton",
|
5482
5501
|
props: {
|
5483
5502
|
label: String,
|
@@ -5558,7 +5577,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5558
5577
|
height: b.value[e.size],
|
5559
5578
|
name: e.leftIcon
|
5560
5579
|
}, null, 8, ["width", "class", "height", "name"])) : m("", !0),
|
5561
|
-
e.label ? (t(), r("span",
|
5580
|
+
e.label ? (t(), r("span", nr, $(e.label), 1)) : S(T.$slots, "default", { key: 3 }, void 0, !0),
|
5562
5581
|
e.rightIcon ? (t(), p(s(V), {
|
5563
5582
|
key: 4,
|
5564
5583
|
width: b.value[e.size],
|
@@ -5566,7 +5585,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5566
5585
|
name: e.rightIcon,
|
5567
5586
|
class: v(e.iconClass)
|
5568
5587
|
}, null, 8, ["width", "height", "name", "class"])) : m("", !0)
|
5569
|
-
], 42,
|
5588
|
+
], 42, ar),
|
5570
5589
|
e.isAdditionalArea && !e.isTransparent ? (t(), r("div", {
|
5571
5590
|
key: 0,
|
5572
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]]),
|
@@ -5581,7 +5600,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5581
5600
|
], 2)) : m("", !0)
|
5582
5601
|
], 2));
|
5583
5602
|
}
|
5584
|
-
}, G = /* @__PURE__ */ he(
|
5603
|
+
}, G = /* @__PURE__ */ he(or, [["__scopeId", "data-v-af49bb32"]]), ir = { class: "w-[30px] h-[20px] flex items-center justify-center" }, sr = {
|
5585
5604
|
__name: "OcCardInput",
|
5586
5605
|
props: {
|
5587
5606
|
placeholder: String,
|
@@ -5628,7 +5647,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5628
5647
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => i.$emit("update:modelValue", l))
|
5629
5648
|
}, {
|
5630
5649
|
icon: k(() => [
|
5631
|
-
n("div",
|
5650
|
+
n("div", ir, [
|
5632
5651
|
y(s(V), {
|
5633
5652
|
name: `payment-methods/${e.cardType}`,
|
5634
5653
|
width: "20",
|
@@ -5639,7 +5658,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5639
5658
|
_: 1
|
5640
5659
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5641
5660
|
}
|
5642
|
-
},
|
5661
|
+
}, rr = ["value", "checked", "disabled"], De = {
|
5643
5662
|
__name: "OcCheckbox",
|
5644
5663
|
props: {
|
5645
5664
|
modelValue: Boolean,
|
@@ -5698,14 +5717,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5698
5717
|
class: "h-0 w-0 hidden",
|
5699
5718
|
disabled: e.isDisabled,
|
5700
5719
|
onChange: d
|
5701
|
-
}, null, 40,
|
5720
|
+
}, null, 40, rr),
|
5702
5721
|
S(c.$slots, "after")
|
5703
5722
|
], 2)
|
5704
5723
|
]),
|
5705
5724
|
_: 3
|
5706
5725
|
}, 8, ["label", "hint", "error-message"]));
|
5707
5726
|
}
|
5708
|
-
},
|
5727
|
+
}, dr = {
|
5709
5728
|
__name: "OcCheckboxesGroup",
|
5710
5729
|
props: {
|
5711
5730
|
alignment: {
|
@@ -5784,14 +5803,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5784
5803
|
_: 1
|
5785
5804
|
}, 8, ["label", "error-message", "hint"]));
|
5786
5805
|
}
|
5787
|
-
},
|
5806
|
+
}, cr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, _m = {
|
5788
5807
|
__name: "OcCriteria",
|
5789
5808
|
props: {
|
5790
5809
|
modelValue: Boolean,
|
5791
5810
|
label: String
|
5792
5811
|
},
|
5793
5812
|
setup(e) {
|
5794
|
-
return (i, a) => (t(), r("div",
|
5813
|
+
return (i, a) => (t(), r("div", cr, [
|
5795
5814
|
n("div", {
|
5796
5815
|
class: v([
|
5797
5816
|
"w-5 h-5 flex items-center justify-center rounded-full border transition-all duration-300",
|
@@ -5810,16 +5829,16 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5810
5829
|
}, $(e.label), 3)) : m("", !0)
|
5811
5830
|
]));
|
5812
5831
|
}
|
5813
|
-
},
|
5832
|
+
}, ur = {
|
5814
5833
|
key: 0,
|
5815
5834
|
class: "border-r border-gray-200 pr-3 py-3"
|
5816
|
-
},
|
5835
|
+
}, mr = { class: "flex flex-1 items-baseline gap-x-2" }, fr = {
|
5817
5836
|
key: 0,
|
5818
5837
|
class: "text-oc-text-300"
|
5819
|
-
},
|
5838
|
+
}, vr = { class: "flex items-center gap-x-1 w-full" }, gr = {
|
5820
5839
|
key: 0,
|
5821
5840
|
class: "text-oc-text-300"
|
5822
|
-
},
|
5841
|
+
}, pr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], xe = {
|
5823
5842
|
__name: "OcInput",
|
5824
5843
|
props: {
|
5825
5844
|
disabled: {
|
@@ -5951,7 +5970,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5951
5970
|
return (j = x.$refs.inputRef) == null ? void 0 : j.focus();
|
5952
5971
|
})
|
5953
5972
|
}, [
|
5954
|
-
x.$slots.trailing ? (t(), r("div",
|
5973
|
+
x.$slots.trailing ? (t(), r("div", ur, [
|
5955
5974
|
S(x.$slots, "trailing")
|
5956
5975
|
])) : m("", !0),
|
5957
5976
|
S(x.$slots, "icon", {}, () => [
|
@@ -5961,10 +5980,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5961
5980
|
name: e.icon
|
5962
5981
|
}, e.iconProps), null, 16, ["name"])) : m("", !0)
|
5963
5982
|
]),
|
5964
|
-
n("div",
|
5965
|
-
e.isInlineLabel && e.label ? (t(), r("label",
|
5966
|
-
n("div",
|
5967
|
-
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),
|
5968
5987
|
n("input", F({
|
5969
5988
|
ref_key: "inputRef",
|
5970
5989
|
ref: o,
|
@@ -5985,7 +6004,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5985
6004
|
}),
|
5986
6005
|
onInput: b[2] || (b[2] = (T) => x.$emit("update:modelValue", T.target.value)),
|
5987
6006
|
onPaste: b[3] || (b[3] = (T) => x.$emit("paste"))
|
5988
|
-
}), null, 16,
|
6007
|
+
}), null, 16, pr)
|
5989
6008
|
])
|
5990
6009
|
]),
|
5991
6010
|
x.$slots.leading || h.value ? (t(), r("div", {
|
@@ -6021,10 +6040,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6021
6040
|
} : void 0
|
6022
6041
|
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6023
6042
|
}
|
6024
|
-
},
|
6043
|
+
}, yr = { class: "flex flex-1 items-baseline gap-x-2" }, xr = {
|
6025
6044
|
key: 0,
|
6026
6045
|
class: "text-oc-text-300"
|
6027
|
-
},
|
6046
|
+
}, hr = { class: "w-full flex flex-wrap gap-2" }, br = { key: 1 }, wr = ["value", "readonly", "placeholder", "disabled"], ef = {
|
6028
6047
|
__name: "OcInputOption",
|
6029
6048
|
props: {
|
6030
6049
|
label: String,
|
@@ -6101,8 +6120,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6101
6120
|
default: k(() => {
|
6102
6121
|
var A, w;
|
6103
6122
|
return [
|
6104
|
-
n("div",
|
6105
|
-
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),
|
6106
6125
|
n("div", {
|
6107
6126
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
6108
6127
|
onClick: C[4] || (C[4] = (O) => c.value.focus())
|
@@ -6113,7 +6132,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6113
6132
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
6114
6133
|
}])
|
6115
6134
|
}, [
|
6116
|
-
n("div",
|
6135
|
+
n("div", hr, [
|
6117
6136
|
S(j.$slots, "default", {
|
6118
6137
|
options: x.value,
|
6119
6138
|
areAllOptionsVisible: f.value
|
@@ -6135,7 +6154,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6135
6154
|
name: "minus",
|
6136
6155
|
width: "12",
|
6137
6156
|
height: "12"
|
6138
|
-
})) : (t(), r("span",
|
6157
|
+
})) : (t(), r("span", br, $(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
6139
6158
|
]),
|
6140
6159
|
_: 1
|
6141
6160
|
})) : m("", !0)
|
@@ -6154,7 +6173,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6154
6173
|
console.log("$event: ", O), h.value = !1, j.$emit("blur", O);
|
6155
6174
|
}),
|
6156
6175
|
onKeyup: C[3] || (C[3] = Ue((O) => T(O.target.value), ["enter"]))
|
6157
|
-
}, null, 42,
|
6176
|
+
}, null, 42, wr)
|
6158
6177
|
])
|
6159
6178
|
], 2)
|
6160
6179
|
])
|
@@ -6164,7 +6183,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6164
6183
|
_: 3
|
6165
6184
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6166
6185
|
}
|
6167
|
-
},
|
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 = {
|
6168
6187
|
__name: "OcPhoneInput",
|
6169
6188
|
props: {
|
6170
6189
|
countryCodes: { type: Array, default: () => [] },
|
@@ -6262,7 +6281,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6262
6281
|
"onUpdate:modelValue": b
|
6263
6282
|
}, {
|
6264
6283
|
trailing: k(() => [
|
6265
|
-
y(s(
|
6284
|
+
y(s(ne), {
|
6266
6285
|
modelValue: c.value,
|
6267
6286
|
"onUpdate:modelValue": [
|
6268
6287
|
g[3] || (g[3] = (B) => c.value = B),
|
@@ -6277,7 +6296,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6277
6296
|
ref: j,
|
6278
6297
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
6279
6298
|
}, [
|
6280
|
-
n("div",
|
6299
|
+
n("div", Sr, [
|
6281
6300
|
y(s(xe), {
|
6282
6301
|
modelValue: u.value,
|
6283
6302
|
"onUpdate:modelValue": g[0] || (g[0] = (B) => u.value = B),
|
@@ -6311,17 +6330,17 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6311
6330
|
n("div", {
|
6312
6331
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${B.iso.toLowerCase()}`])
|
6313
6332
|
}, null, 2),
|
6314
|
-
n("span",
|
6315
|
-
n("span",
|
6316
|
-
], 10,
|
6333
|
+
n("span", Br, "+" + $(B.code), 1),
|
6334
|
+
n("span", Or, $(B.country), 1)
|
6335
|
+
], 10, Cr))), 128))
|
6317
6336
|
], 512)
|
6318
6337
|
]),
|
6319
6338
|
default: k(() => [
|
6320
|
-
n("div",
|
6339
|
+
n("div", $r, [
|
6321
6340
|
n("div", {
|
6322
6341
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
6323
6342
|
}, null, 2),
|
6324
|
-
n("span",
|
6343
|
+
n("span", kr, " +" + $(x(d.value)), 1),
|
6325
6344
|
y(s(V), {
|
6326
6345
|
width: "16",
|
6327
6346
|
height: "16",
|
@@ -6337,10 +6356,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6337
6356
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
6338
6357
|
};
|
6339
6358
|
}
|
6340
|
-
},
|
6359
|
+
}, Ir = ["id", "value", "checked", "name", "disabled"], Tr = ["for"], Dr = {
|
6341
6360
|
key: 0,
|
6342
6361
|
class: "px-3 py-2 whitespace-nowrap"
|
6343
|
-
},
|
6362
|
+
}, Ar = {
|
6344
6363
|
__name: "OcRadio",
|
6345
6364
|
props: {
|
6346
6365
|
modelValue: [String, Boolean],
|
@@ -6378,7 +6397,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6378
6397
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
6379
6398
|
type: "radio",
|
6380
6399
|
onInput: a[0] || (a[0] = (l) => i.$emit("update:modelValue", l.target.value))
|
6381
|
-
}, null, 40,
|
6400
|
+
}, null, 40, Ir),
|
6382
6401
|
n("label", {
|
6383
6402
|
for: e.groupName + e.id,
|
6384
6403
|
class: v(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
@@ -6410,7 +6429,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6410
6429
|
e.labelIcon ? (t(), p(s(le), me(F({ key: 2 }, e.tooltipOptions)), {
|
6411
6430
|
popper: k(() => [
|
6412
6431
|
S(i.$slots, "tooltipText", {}, () => [
|
6413
|
-
e.tooltipText ? (t(), r("div",
|
6432
|
+
e.tooltipText ? (t(), r("div", Dr, $(e.tooltipText), 1)) : m("", !0)
|
6414
6433
|
])
|
6415
6434
|
]),
|
6416
6435
|
default: k(() => [
|
@@ -6423,12 +6442,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6423
6442
|
]),
|
6424
6443
|
_: 3
|
6425
6444
|
}, 16)) : m("", !0)
|
6426
|
-
], 10,
|
6445
|
+
], 10, Tr)
|
6427
6446
|
]),
|
6428
6447
|
_: 3
|
6429
6448
|
}, 8, ["class", "error-message", "hint"]));
|
6430
6449
|
}
|
6431
|
-
},
|
6450
|
+
}, Mr = {
|
6432
6451
|
__name: "OcRadioGroup",
|
6433
6452
|
props: {
|
6434
6453
|
alignment: {
|
@@ -6465,7 +6484,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6465
6484
|
n("div", {
|
6466
6485
|
class: v(["flex", [l.value[e.alignment], e.wrapperClass]])
|
6467
6486
|
}, [
|
6468
|
-
(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), {
|
6469
6488
|
id: u.value,
|
6470
6489
|
key: f,
|
6471
6490
|
class: v({ "!w-fit": !e.isBlock }),
|
@@ -6488,10 +6507,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6488
6507
|
_: 1
|
6489
6508
|
}, 8, ["label", "error-message", "hint"]));
|
6490
6509
|
}
|
6491
|
-
},
|
6510
|
+
}, jr = { class: "flex flex-col gap-y-2 oc-range-input" }, Pr = { class: "flex gap-x-3" }, Lr = {
|
6492
6511
|
key: 0,
|
6493
6512
|
class: "flex pt-4"
|
6494
|
-
},
|
6513
|
+
}, Er = {
|
6495
6514
|
__name: "OcRangeInput",
|
6496
6515
|
props: {
|
6497
6516
|
maxLimit: {
|
@@ -6535,14 +6554,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6535
6554
|
};
|
6536
6555
|
return Ce(() => {
|
6537
6556
|
a.onlyInput || c.value.updateSlider();
|
6538
|
-
}), (b, T) => (t(), r("div",
|
6557
|
+
}), (b, T) => (t(), r("div", jr, [
|
6539
6558
|
y(s(pe), {
|
6540
6559
|
label: e.label,
|
6541
6560
|
hint: e.hint,
|
6542
6561
|
"error-message": e.errorMessage
|
6543
6562
|
}, {
|
6544
6563
|
default: k(() => [
|
6545
|
-
n("div",
|
6564
|
+
n("div", Pr, [
|
6546
6565
|
y(s(xe), {
|
6547
6566
|
"model-value": o.value,
|
6548
6567
|
label: "From",
|
@@ -6558,7 +6577,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6558
6577
|
"onUpdate:modelValue": T[1] || (T[1] = (j) => u(j, 1))
|
6559
6578
|
}, null, 8, ["model-value"])
|
6560
6579
|
]),
|
6561
|
-
e.onlyInput ? m("", !0) : (t(), r("div",
|
6580
|
+
e.onlyInput ? m("", !0) : (t(), r("div", Lr, [
|
6562
6581
|
y(s($t), {
|
6563
6582
|
ref_key: "slider",
|
6564
6583
|
ref: c,
|
@@ -6575,28 +6594,28 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6575
6594
|
}, 8, ["label", "hint", "error-message"])
|
6576
6595
|
]));
|
6577
6596
|
}
|
6578
|
-
},
|
6597
|
+
}, zr = {
|
6579
6598
|
key: 0,
|
6580
6599
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
6581
|
-
},
|
6600
|
+
}, Nr = {
|
6582
6601
|
key: 0,
|
6583
6602
|
class: "text-oc-text-300 md:text-base text-lg"
|
6584
|
-
},
|
6603
|
+
}, Rr = {
|
6585
6604
|
key: 2,
|
6586
6605
|
class: "whitespace-nowrap flex gap-x-3 text-lg md:text-base items-center overflow-hidden"
|
6587
|
-
},
|
6606
|
+
}, Fr = {
|
6588
6607
|
key: 1,
|
6589
6608
|
class: "text-oc-text-300"
|
6590
|
-
},
|
6609
|
+
}, Ur = {
|
6591
6610
|
key: 2,
|
6592
6611
|
class: "truncate"
|
6593
|
-
},
|
6612
|
+
}, qr = {
|
6594
6613
|
key: 3,
|
6595
6614
|
class: "text-oc-text-300"
|
6596
|
-
},
|
6615
|
+
}, Hr = {
|
6597
6616
|
key: 0,
|
6598
6617
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
6599
|
-
},
|
6618
|
+
}, Yr = { key: 0 }, Wr = {
|
6600
6619
|
__name: "OcSelect",
|
6601
6620
|
props: {
|
6602
6621
|
label: String,
|
@@ -6687,8 +6706,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6687
6706
|
if (H.values) {
|
6688
6707
|
const X = H.values.filter(
|
6689
6708
|
(te) => {
|
6690
|
-
var _,
|
6691
|
-
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()));
|
6692
6711
|
}
|
6693
6712
|
);
|
6694
6713
|
X.length > 0 && P.push({
|
@@ -6761,8 +6780,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6761
6780
|
if (ve.value === X)
|
6762
6781
|
return te = be, !0;
|
6763
6782
|
});
|
6764
|
-
const _ = h.value[te],
|
6765
|
-
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" });
|
6766
6785
|
}, 10);
|
6767
6786
|
}, E = (P) => {
|
6768
6787
|
var U, H, X;
|
@@ -6785,12 +6804,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6785
6804
|
"tooltip-options": e.tooltipOptions
|
6786
6805
|
}, ee({
|
6787
6806
|
tooltipText: k(() => [
|
6788
|
-
P.$slots.selectTooltipText ? (t(), r("div",
|
6807
|
+
P.$slots.selectTooltipText ? (t(), r("div", Yr, [
|
6789
6808
|
S(P.$slots, "selectTooltipText")
|
6790
6809
|
])) : m("", !0)
|
6791
6810
|
]),
|
6792
6811
|
default: k(() => [
|
6793
|
-
y(s(
|
6812
|
+
y(s(ne), {
|
6794
6813
|
ref_key: "dropdownRef",
|
6795
6814
|
ref: f,
|
6796
6815
|
modelValue: c.value,
|
@@ -6818,7 +6837,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6818
6837
|
ref: x,
|
6819
6838
|
class: "flex flex-col gap-y-2"
|
6820
6839
|
}, [
|
6821
|
-
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, [
|
6822
6841
|
y(s(xe), {
|
6823
6842
|
ref_key: "searchInputRef",
|
6824
6843
|
ref: u,
|
@@ -6905,7 +6924,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6905
6924
|
"border-none !min-h-[18px] !px-0": e.isSlim
|
6906
6925
|
}])
|
6907
6926
|
}, [
|
6908
|
-
e.multiple ? (t(), r("div",
|
6927
|
+
e.multiple ? (t(), r("div", zr, [
|
6909
6928
|
S(P.$slots, "selection", {}, () => [
|
6910
6929
|
(t(!0), r(L, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), p(s(ae), F({
|
6911
6930
|
key: U.value,
|
@@ -6922,7 +6941,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6922
6941
|
label: `+${C.value.length - e.maxVisibleOptions}`
|
6923
6942
|
}, null, 8, ["label"])) : m("", !0)
|
6924
6943
|
]),
|
6925
|
-
C.value.length === 0 ? (t(), r("span",
|
6944
|
+
C.value.length === 0 ? (t(), r("span", Nr, $(e.placeholder), 1)) : m("", !0)
|
6926
6945
|
])) : m("", !0),
|
6927
6946
|
e.isInlineSearch && e.isFilterable && !C.value ? (t(), p(s(xe), {
|
6928
6947
|
key: 1,
|
@@ -6946,15 +6965,15 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6946
6965
|
]),
|
6947
6966
|
key: "0"
|
6948
6967
|
} : void 0
|
6949
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), r("span",
|
6968
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), r("span", Rr, [
|
6950
6969
|
e.icon ? (t(), p(s(V), {
|
6951
6970
|
key: 0,
|
6952
6971
|
name: e.icon,
|
6953
6972
|
width: "16",
|
6954
6973
|
height: "16"
|
6955
6974
|
}, null, 8, ["name"])) : m("", !0),
|
6956
|
-
e.isInlineLabel && e.label ? (t(), r("span",
|
6957
|
-
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))
|
6958
6977
|
])),
|
6959
6978
|
e.modelValue && e.isClearable ? (t(), p(s(V), {
|
6960
6979
|
key: 3,
|
@@ -6985,7 +7004,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6985
7004
|
} : void 0
|
6986
7005
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6987
7006
|
}
|
6988
|
-
},
|
7007
|
+
}, Kr = { class: "w-full flex items-center gap-x-3" }, Gr = { class: "truncate" }, Xr = {
|
6989
7008
|
key: 0,
|
6990
7009
|
class: "text-sm text-oc-text-300"
|
6991
7010
|
}, gt = {
|
@@ -7023,14 +7042,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7023
7042
|
"is-partial": e.isPartial,
|
7024
7043
|
class: "!w-fit pointer-events-none"
|
7025
7044
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
7026
|
-
n("div",
|
7045
|
+
n("div", Kr, [
|
7027
7046
|
S(l.$slots, "trailing"),
|
7028
7047
|
n("div", {
|
7029
7048
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
7030
7049
|
}, [
|
7031
|
-
n("span",
|
7050
|
+
n("span", Gr, $(e.label), 1),
|
7032
7051
|
S(l.$slots, "sub-label", {}, () => [
|
7033
|
-
e.subLabel ? (t(), r("span",
|
7052
|
+
e.subLabel ? (t(), r("span", Xr, $(e.subLabel), 1)) : m("", !0)
|
7034
7053
|
])
|
7035
7054
|
], 2),
|
7036
7055
|
S(l.$slots, "leading")
|
@@ -7050,21 +7069,21 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7050
7069
|
S(l.$slots, "after")
|
7051
7070
|
], 512));
|
7052
7071
|
}
|
7053
|
-
},
|
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 = {
|
7054
7073
|
__name: "OcGroupOptions",
|
7055
7074
|
props: {
|
7056
7075
|
label: String
|
7057
7076
|
},
|
7058
7077
|
setup(e) {
|
7059
|
-
return (i, a) => (t(), r("div",
|
7060
|
-
n("div",
|
7078
|
+
return (i, a) => (t(), r("div", Jr, [
|
7079
|
+
n("div", Zr, $(e.label), 1),
|
7061
7080
|
S(i.$slots, "default")
|
7062
7081
|
]));
|
7063
7082
|
}
|
7064
|
-
},
|
7083
|
+
}, Qr = { class: "flex text-oc-text-400 items-center gap-x-2" }, _r = {
|
7065
7084
|
key: 0,
|
7066
7085
|
class: "flex flex-col p-2 py-3 gap-2"
|
7067
|
-
},
|
7086
|
+
}, ed = ["onClick"], td = {
|
7068
7087
|
__name: "OcLinkInput",
|
7069
7088
|
props: {
|
7070
7089
|
placeholder: String,
|
@@ -7143,13 +7162,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7143
7162
|
"onUpdate:modelValue": b
|
7144
7163
|
}, {
|
7145
7164
|
trailing: k(() => [
|
7146
|
-
y(s(
|
7165
|
+
y(s(ne), {
|
7147
7166
|
modelValue: o.value,
|
7148
7167
|
"onUpdate:modelValue": O[2] || (O[2] = (g) => o.value = g),
|
7149
7168
|
distance: 10
|
7150
7169
|
}, {
|
7151
7170
|
menu: k(() => [
|
7152
|
-
e.isEdit ? m("", !0) : (t(), r("div",
|
7171
|
+
e.isEdit ? m("", !0) : (t(), r("div", _r, [
|
7153
7172
|
(t(!0), r(L, null, R(e.links, (g) => (t(), r("div", {
|
7154
7173
|
key: g.value,
|
7155
7174
|
class: "flex rounded-sm items-center px-3 py-2 gap-x-3 cursor-pointer text-oc-text-400 hover:bg-gray-50",
|
@@ -7161,11 +7180,11 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7161
7180
|
name: g.icon
|
7162
7181
|
}, null, 8, ["name"]),
|
7163
7182
|
W(" " + $(g.label), 1)
|
7164
|
-
], 8,
|
7183
|
+
], 8, ed))), 128))
|
7165
7184
|
]))
|
7166
7185
|
]),
|
7167
7186
|
default: k(() => [
|
7168
|
-
n("div",
|
7187
|
+
n("div", Qr, [
|
7169
7188
|
u.value.icon ? (t(), p(s(V), {
|
7170
7189
|
key: 0,
|
7171
7190
|
width: "20",
|
@@ -7187,7 +7206,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7187
7206
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
7188
7207
|
]));
|
7189
7208
|
}
|
7190
|
-
},
|
7209
|
+
}, ld = ["disabled", "value", "rows", "placeholder"], ad = "18px", nd = {
|
7191
7210
|
__name: "OcTextArea",
|
7192
7211
|
props: {
|
7193
7212
|
placeholder: String,
|
@@ -7221,7 +7240,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7221
7240
|
setup(e, { emit: i }) {
|
7222
7241
|
const a = i, l = M(!1), o = (d) => {
|
7223
7242
|
const c = d.target;
|
7224
|
-
c && (c.style.height =
|
7243
|
+
c && (c.style.height = ad, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
7225
7244
|
};
|
7226
7245
|
return (d, c) => (t(), p(s(pe), {
|
7227
7246
|
label: e.label,
|
@@ -7245,7 +7264,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7245
7264
|
onInput: o,
|
7246
7265
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
7247
7266
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
7248
|
-
}, null, 42,
|
7267
|
+
}, null, 42, ld)
|
7249
7268
|
]),
|
7250
7269
|
_: 1
|
7251
7270
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
@@ -7268,8 +7287,8 @@ var Vt = { exports: {} };
|
|
7268
7287
|
};
|
7269
7288
|
});
|
7270
7289
|
})(Vt);
|
7271
|
-
var
|
7272
|
-
const It = /* @__PURE__ */ Ke(
|
7290
|
+
var od = Vt.exports;
|
7291
|
+
const It = /* @__PURE__ */ Ke(od);
|
7273
7292
|
var Tt = { exports: {} };
|
7274
7293
|
(function(e, i) {
|
7275
7294
|
(function(a, l) {
|
@@ -7282,8 +7301,8 @@ var Tt = { exports: {} };
|
|
7282
7301
|
};
|
7283
7302
|
});
|
7284
7303
|
})(Tt);
|
7285
|
-
var
|
7286
|
-
const Dt = /* @__PURE__ */ Ke(
|
7304
|
+
var id = Tt.exports;
|
7305
|
+
const Dt = /* @__PURE__ */ Ke(id);
|
7287
7306
|
var At = { exports: {} };
|
7288
7307
|
(function(e, i) {
|
7289
7308
|
(function(a, l) {
|
@@ -7296,8 +7315,8 @@ var At = { exports: {} };
|
|
7296
7315
|
};
|
7297
7316
|
});
|
7298
7317
|
})(At);
|
7299
|
-
var
|
7300
|
-
const Mt = /* @__PURE__ */ Ke(
|
7318
|
+
var sd = At.exports;
|
7319
|
+
const Mt = /* @__PURE__ */ Ke(sd);
|
7301
7320
|
var jt = { exports: {} };
|
7302
7321
|
(function(e, i) {
|
7303
7322
|
(function(a, l) {
|
@@ -7360,7 +7379,7 @@ var jt = { exports: {} };
|
|
7360
7379
|
O = w, g = f && f.formats;
|
7361
7380
|
for (var I = (w = O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, X, te) {
|
7362
7381
|
var _ = te && te.toUpperCase();
|
7363
|
-
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) {
|
7364
7383
|
return re || ve.slice(1);
|
7365
7384
|
});
|
7366
7385
|
})).match(l), B = I.length, N = 0; N < B; N += 1) {
|
@@ -7369,10 +7388,10 @@ var jt = { exports: {} };
|
|
7369
7388
|
}
|
7370
7389
|
return function(H) {
|
7371
7390
|
for (var X = {}, te = 0, _ = 0; te < B; te += 1) {
|
7372
|
-
var
|
7373
|
-
if (typeof
|
7391
|
+
var oe = I[te];
|
7392
|
+
if (typeof oe == "string") _ += oe.length;
|
7374
7393
|
else {
|
7375
|
-
var re =
|
7394
|
+
var re = oe.regex, ve = oe.parser, be = H.slice(_), we = re.exec(be)[0];
|
7376
7395
|
ve.call(X, we), H = H.replace(we, "");
|
7377
7396
|
}
|
7378
7397
|
}
|
@@ -7405,67 +7424,67 @@ var jt = { exports: {} };
|
|
7405
7424
|
return /* @__PURE__ */ new Date("");
|
7406
7425
|
}
|
7407
7426
|
}(E, U, P, g), this.init(), _ && _ !== !0 && (this.$L = this.locale(_).$L), te && E != this.format(U) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
|
7408
|
-
} else if (U instanceof Array) for (var
|
7427
|
+
} else if (U instanceof Array) for (var oe = U.length, re = 1; re <= oe; re += 1) {
|
7409
7428
|
D[1] = U[re - 1];
|
7410
7429
|
var ve = g.apply(this, D);
|
7411
7430
|
if (ve.isValid()) {
|
7412
7431
|
this.$d = ve.$d, this.$L = ve.$L, this.init();
|
7413
7432
|
break;
|
7414
7433
|
}
|
7415
|
-
re ===
|
7434
|
+
re === oe && (this.$d = /* @__PURE__ */ new Date(""));
|
7416
7435
|
}
|
7417
7436
|
else B.call(this, N);
|
7418
7437
|
};
|
7419
7438
|
};
|
7420
7439
|
});
|
7421
7440
|
})(jt);
|
7422
|
-
var
|
7423
|
-
const it = /* @__PURE__ */ Ke(
|
7424
|
-
var
|
7425
|
-
function
|
7426
|
-
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];
|
7427
7446
|
try {
|
7428
7447
|
e[Le] = void 0;
|
7429
7448
|
var l = !0;
|
7430
7449
|
} catch {
|
7431
7450
|
}
|
7432
|
-
var o =
|
7451
|
+
var o = md.call(e);
|
7433
7452
|
return l && (i ? e[Le] = a : delete e[Le]), o;
|
7434
7453
|
}
|
7435
|
-
var
|
7436
|
-
function
|
7437
|
-
return
|
7438
|
-
}
|
7439
|
-
var gd = "[object Null]", pd = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
7440
|
-
function yd(e) {
|
7441
|
-
return e == null ? e === void 0 ? pd : gd : pt && pt in Object(e) ? ud(e) : vd(e);
|
7454
|
+
var vd = Object.prototype, gd = vd.toString;
|
7455
|
+
function pd(e) {
|
7456
|
+
return gd.call(e);
|
7442
7457
|
}
|
7443
|
-
|
7444
|
-
|
7458
|
+
var yd = "[object Null]", xd = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
7459
|
+
function hd(e) {
|
7460
|
+
return e == null ? e === void 0 ? xd : yd : pt && pt in Object(e) ? fd(e) : pd(e);
|
7445
7461
|
}
|
7446
|
-
var hd = "[object Symbol]";
|
7447
7462
|
function bd(e) {
|
7448
|
-
return
|
7463
|
+
return e != null && typeof e == "object";
|
7449
7464
|
}
|
7450
|
-
var wd =
|
7465
|
+
var wd = "[object Symbol]";
|
7451
7466
|
function $d(e) {
|
7452
|
-
|
7467
|
+
return typeof e == "symbol" || bd(e) && hd(e) == wd;
|
7468
|
+
}
|
7469
|
+
var kd = /\s/;
|
7470
|
+
function Sd(e) {
|
7471
|
+
for (var i = e.length; i-- && kd.test(e.charAt(i)); )
|
7453
7472
|
;
|
7454
7473
|
return i;
|
7455
7474
|
}
|
7456
|
-
var
|
7457
|
-
function
|
7458
|
-
return e && e.slice(0,
|
7475
|
+
var Cd = /^\s+/;
|
7476
|
+
function Bd(e) {
|
7477
|
+
return e && e.slice(0, Sd(e) + 1).replace(Cd, "");
|
7459
7478
|
}
|
7460
7479
|
function nt(e) {
|
7461
7480
|
var i = typeof e;
|
7462
7481
|
return e != null && (i == "object" || i == "function");
|
7463
7482
|
}
|
7464
|
-
var yt = NaN,
|
7483
|
+
var yt = NaN, Od = /^[-+]0x[0-9a-f]+$/i, Vd = /^0b[01]+$/i, Id = /^0o[0-7]+$/i, Td = parseInt;
|
7465
7484
|
function xt(e) {
|
7466
7485
|
if (typeof e == "number")
|
7467
7486
|
return e;
|
7468
|
-
if (
|
7487
|
+
if ($d(e))
|
7469
7488
|
return yt;
|
7470
7489
|
if (nt(e)) {
|
7471
7490
|
var i = typeof e.valueOf == "function" ? e.valueOf() : e;
|
@@ -7473,18 +7492,18 @@ function xt(e) {
|
|
7473
7492
|
}
|
7474
7493
|
if (typeof e != "string")
|
7475
7494
|
return e === 0 ? e : +e;
|
7476
|
-
e =
|
7477
|
-
var a =
|
7478
|
-
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;
|
7479
7498
|
}
|
7480
7499
|
var tt = function() {
|
7481
7500
|
return Pt.Date.now();
|
7482
|
-
},
|
7483
|
-
function
|
7501
|
+
}, Dd = "Expected a function", Ad = Math.max, Md = Math.min;
|
7502
|
+
function jd(e, i, a) {
|
7484
7503
|
var l, o, d, c, u, f, h = 0, x = !1, b = !1, T = !0;
|
7485
7504
|
if (typeof e != "function")
|
7486
|
-
throw new TypeError(
|
7487
|
-
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);
|
7488
7507
|
function j(E) {
|
7489
7508
|
var P = l, D = o;
|
7490
7509
|
return l = o = void 0, h = E, c = e.apply(D, P), c;
|
@@ -7494,7 +7513,7 @@ function Ad(e, i, a) {
|
|
7494
7513
|
}
|
7495
7514
|
function A(E) {
|
7496
7515
|
var P = E - f, D = E - h, U = i - P;
|
7497
|
-
return b ?
|
7516
|
+
return b ? Md(U, d - D) : U;
|
7498
7517
|
}
|
7499
7518
|
function w(E) {
|
7500
7519
|
var P = E - f, D = E - h;
|
@@ -7527,13 +7546,13 @@ function Ad(e, i, a) {
|
|
7527
7546
|
}
|
7528
7547
|
return N.cancel = I, N.flush = B, N;
|
7529
7548
|
}
|
7530
|
-
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 = {
|
7531
7550
|
key: 0,
|
7532
7551
|
class: "grid grid-cols-3 gap-3"
|
7533
|
-
},
|
7552
|
+
}, Fd = ["onClick"], Ud = {
|
7534
7553
|
key: 1,
|
7535
7554
|
class: "grid grid-cols-3 gap-3"
|
7536
|
-
},
|
7555
|
+
}, qd = ["onClick"], Hd = ["onClick", "onMouseover"], Yd = { key: 0 }, Wd = { class: "flex gap-x-3 justify-end" }, Kd = {
|
7537
7556
|
__name: "OcCalendar",
|
7538
7557
|
props: {
|
7539
7558
|
type: {
|
@@ -7604,7 +7623,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7604
7623
|
x.value = null, o.value = o.value.set("month", q), C.value = !1;
|
7605
7624
|
}, _ = (q) => {
|
7606
7625
|
x.value = null, o.value = o.value.set("year", q), j.value = !1;
|
7607
|
-
},
|
7626
|
+
}, oe = () => {
|
7608
7627
|
x.value = null, j.value ? h.value = h.value.subtract(11, "year") : o.value = o.value.subtract(1, "year");
|
7609
7628
|
}, re = () => {
|
7610
7629
|
x.value = null, j.value ? h.value = h.value.add(11, "year") : o.value = o.value.add(1, "year");
|
@@ -7640,7 +7659,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7640
7659
|
return;
|
7641
7660
|
}
|
7642
7661
|
c.value = Y, f.value = q, J && $e();
|
7643
|
-
}, ke =
|
7662
|
+
}, ke = jd((q) => {
|
7644
7663
|
T.value && Be(q, !1);
|
7645
7664
|
}, 50), Q = () => {
|
7646
7665
|
var J, Y, ce;
|
@@ -7655,8 +7674,8 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7655
7674
|
return Q(), (q, J) => (t(), r("div", {
|
7656
7675
|
class: v(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
7657
7676
|
}, [
|
7658
|
-
n("div",
|
7659
|
-
y(s(
|
7677
|
+
n("div", Pd, [
|
7678
|
+
y(s(ne), {
|
7660
7679
|
modelValue: C.value,
|
7661
7680
|
"onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
|
7662
7681
|
distance: 10,
|
@@ -7666,18 +7685,18 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7666
7685
|
"popper-options": { strategy: "fixed" }
|
7667
7686
|
}, {
|
7668
7687
|
menu: k(() => [
|
7669
|
-
n("div",
|
7670
|
-
n("div",
|
7688
|
+
n("div", Ld, [
|
7689
|
+
n("div", Ed, [
|
7671
7690
|
y(s(G), {
|
7672
7691
|
"left-icon": "chevron-left",
|
7673
7692
|
"is-transparent": "",
|
7674
|
-
onClick:
|
7693
|
+
onClick: oe
|
7675
7694
|
}),
|
7676
7695
|
n("div", {
|
7677
7696
|
class: "cursor-pointer hover:opacity-50 transition",
|
7678
7697
|
onClick: J[0] || (J[0] = (Y) => j.value = !j.value)
|
7679
7698
|
}, [
|
7680
|
-
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))
|
7681
7700
|
]),
|
7682
7701
|
y(s(G), {
|
7683
7702
|
"left-icon": "chevron-right",
|
@@ -7685,22 +7704,22 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7685
7704
|
onClick: re
|
7686
7705
|
})
|
7687
7706
|
]),
|
7688
|
-
j.value ? (t(), r("div",
|
7707
|
+
j.value ? (t(), r("div", Rd, [
|
7689
7708
|
(t(!0), r(L, null, R(Oe(I.value - 11), (Y) => (t(), r("div", {
|
7690
7709
|
key: Y,
|
7691
7710
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7692
7711
|
"!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
|
7693
7712
|
}]),
|
7694
7713
|
onClick: (ce) => _(Y)
|
7695
|
-
}, $(Y), 11,
|
7696
|
-
])) : (t(), r("div",
|
7714
|
+
}, $(Y), 11, Fd))), 128))
|
7715
|
+
])) : (t(), r("div", Ud, [
|
7697
7716
|
(t(), r(L, null, R(O, (Y, ce) => n("div", {
|
7698
7717
|
key: Y,
|
7699
7718
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7700
7719
|
"!border-oc-primary bg-oc-primary text-white": B.value === Y
|
7701
7720
|
}]),
|
7702
7721
|
onClick: (Pe) => te(ce)
|
7703
|
-
}, $(Y), 11,
|
7722
|
+
}, $(Y), 11, qd)), 64))
|
7704
7723
|
]))
|
7705
7724
|
])
|
7706
7725
|
]),
|
@@ -7749,11 +7768,11 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7749
7768
|
]]),
|
7750
7769
|
onClick: (Pe) => Be(Y),
|
7751
7770
|
onMouseover: (Pe) => s(ke)(Y)
|
7752
|
-
}, $(Y), 43,
|
7771
|
+
}, $(Y), 43, Hd);
|
7753
7772
|
}), 128))
|
7754
7773
|
], 32),
|
7755
7774
|
S(q.$slots, "bottom", {}, () => [
|
7756
|
-
e.isIndefinite ? (t(), r("span",
|
7775
|
+
e.isIndefinite ? (t(), r("span", Yd, [
|
7757
7776
|
y(s(De), {
|
7758
7777
|
modelValue: b.value,
|
7759
7778
|
"onUpdate:modelValue": [
|
@@ -7764,7 +7783,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7764
7783
|
}, null, 8, ["modelValue", "label"])
|
7765
7784
|
])) : m("", !0)
|
7766
7785
|
]),
|
7767
|
-
n("div",
|
7786
|
+
n("div", Wd, [
|
7768
7787
|
y(s(G), {
|
7769
7788
|
label: "Reset",
|
7770
7789
|
class: "w-[72px]",
|
@@ -7779,13 +7798,13 @@ K.extend(It);
|
|
7779
7798
|
K.extend(Dt);
|
7780
7799
|
K.extend(Mt);
|
7781
7800
|
K.extend(it);
|
7782
|
-
const
|
7801
|
+
const Gd = { class: "flex flex-col gap-y-2 w-full" }, Xd = { class: "flex w-full" }, Jd = {
|
7783
7802
|
key: 0,
|
7784
7803
|
class: "text-sm text-oc-error flex items-center"
|
7785
|
-
},
|
7804
|
+
}, Zd = {
|
7786
7805
|
key: 1,
|
7787
7806
|
class: "flex flex-wrap cursor-pointer"
|
7788
|
-
},
|
7807
|
+
}, Qd = { class: "flex items-center gap-x-3" }, _d = ["value"], ec = { class: "flex items-center gap-x-3" }, tc = ["value"], lc = {
|
7789
7808
|
__name: "DatePicker",
|
7790
7809
|
props: {
|
7791
7810
|
modelValue: {
|
@@ -7904,7 +7923,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7904
7923
|
)), a("update:modelValue", u.value), u.value = [];
|
7905
7924
|
}
|
7906
7925
|
};
|
7907
|
-
return (w, O) => (t(), p(s(
|
7926
|
+
return (w, O) => (t(), p(s(ne), {
|
7908
7927
|
modelValue: o.value,
|
7909
7928
|
"onUpdate:modelValue": O[3] || (O[3] = (g) => o.value = g),
|
7910
7929
|
"is-disabled": e.disabled,
|
@@ -7920,7 +7939,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7920
7939
|
}, () => {
|
7921
7940
|
var I, B;
|
7922
7941
|
return [
|
7923
|
-
f.value ? (t(), p(s(
|
7942
|
+
f.value ? (t(), p(s(Yu), {
|
7924
7943
|
key: 0,
|
7925
7944
|
"model-value": {
|
7926
7945
|
start: (I = e.modelValue) == null ? void 0 : I[0],
|
@@ -7934,7 +7953,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7934
7953
|
"max-date": e.maxDate,
|
7935
7954
|
masks: { modelValue: e.dateFormat },
|
7936
7955
|
"onUpdate:modelValue": x
|
7937
|
-
}, 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), {
|
7938
7957
|
key: 1,
|
7939
7958
|
"model-value": h.value ? h.value.toDate() : /* @__PURE__ */ new Date(),
|
7940
7959
|
"disabled-date": d.value ? T : e.disabledDate,
|
@@ -7951,9 +7970,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7951
7970
|
})
|
7952
7971
|
]),
|
7953
7972
|
default: k(() => [
|
7954
|
-
n("div",
|
7973
|
+
n("div", Gd, [
|
7955
7974
|
!e.isSplitInput || !f.value ? (t(), r(L, { key: 0 }, [
|
7956
|
-
n("div",
|
7975
|
+
n("div", Xd, [
|
7957
7976
|
y(s(xe), {
|
7958
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) : "",
|
7959
7978
|
icon: "calendar",
|
@@ -7964,8 +7983,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7964
7983
|
placeholder: e.placeholder
|
7965
7984
|
}, null, 8, ["model-value", "label", "hint", "is-required", "disabled", "placeholder"])
|
7966
7985
|
]),
|
7967
|
-
e.errorMessage ? (t(), r("div",
|
7968
|
-
], 64)) : (t(), r("div",
|
7986
|
+
e.errorMessage ? (t(), r("div", Jd, $(e.errorMessage), 1)) : m("", !0)
|
7987
|
+
], 64)) : (t(), r("div", Zd, [
|
7969
7988
|
y(s(pe), {
|
7970
7989
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
7971
7990
|
hint: e.hint,
|
@@ -7983,7 +8002,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7983
8002
|
]]),
|
7984
8003
|
onClick: O[2] || (O[2] = (g) => o.value ? g.stopPropagation : null)
|
7985
8004
|
}, [
|
7986
|
-
n("div",
|
8005
|
+
n("div", Qd, [
|
7987
8006
|
y(s(V), {
|
7988
8007
|
name: "calendar",
|
7989
8008
|
class: "text-oc-text-400"
|
@@ -7995,10 +8014,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7995
8014
|
onInput: O[0] || (O[0] = (g) => C(g.target.value, 0)),
|
7996
8015
|
onKeydown: Ue(A, ["enter"]),
|
7997
8016
|
onBlur: A
|
7998
|
-
}, null, 40,
|
8017
|
+
}, null, 40, _d)
|
7999
8018
|
]),
|
8000
8019
|
O[4] || (O[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
8001
|
-
n("div",
|
8020
|
+
n("div", ec, [
|
8002
8021
|
n("input", {
|
8003
8022
|
placeholder: "End date",
|
8004
8023
|
value: h.value[1] ? h.value[1].format(e.dateFormat) : "",
|
@@ -8006,7 +8025,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8006
8025
|
onInput: O[1] || (O[1] = (g) => C(g.target.value, 1)),
|
8007
8026
|
onKeydown: Ue(A, ["enter"]),
|
8008
8027
|
onBlur: A
|
8009
|
-
}, null, 40,
|
8028
|
+
}, null, 40, tc),
|
8010
8029
|
y(s(V), {
|
8011
8030
|
class: v([h.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
8012
8031
|
width: "16",
|
@@ -8025,10 +8044,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8025
8044
|
_: 3
|
8026
8045
|
}, 8, ["modelValue", "is-disabled"]));
|
8027
8046
|
}
|
8028
|
-
},
|
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 = {
|
8029
8048
|
key: 1,
|
8030
8049
|
class: "text-sm text-oc-error flex items-center"
|
8031
|
-
},
|
8050
|
+
}, rc = {
|
8032
8051
|
__name: "OcSectionItem",
|
8033
8052
|
props: {
|
8034
8053
|
title: String,
|
@@ -8054,16 +8073,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8054
8073
|
emits: ["update:modelValue"],
|
8055
8074
|
setup(e, { emit: i }) {
|
8056
8075
|
const a = e, l = i;
|
8057
|
-
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), r("div",
|
8058
|
-
n("div",
|
8059
|
-
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, [
|
8060
8079
|
W($(e.title) + " ", 1),
|
8061
8080
|
y(s(le), {
|
8062
8081
|
position: "top",
|
8063
8082
|
distance: 4
|
8064
8083
|
}, {
|
8065
8084
|
popper: k(() => [
|
8066
|
-
n("div",
|
8085
|
+
n("div", ic, $(e.popperMessage), 1)
|
8067
8086
|
]),
|
8068
8087
|
default: k(() => [
|
8069
8088
|
e.icon ? (t(), p(s(V), {
|
@@ -8081,7 +8100,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8081
8100
|
key: 0,
|
8082
8101
|
class: v(["text-oc-text-400 text-sm", e.descriptionClass])
|
8083
8102
|
}, $(e.description), 3)) : m("", !0),
|
8084
|
-
e.errorMessage ? (t(), r("div",
|
8103
|
+
e.errorMessage ? (t(), r("div", sc, $(e.errorMessage), 1)) : m("", !0)
|
8085
8104
|
]),
|
8086
8105
|
S(o.$slots, "actions", {}, () => [
|
8087
8106
|
e.isToggle ? (t(), p(s(kt), F({
|
@@ -8093,13 +8112,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8093
8112
|
])
|
8094
8113
|
]));
|
8095
8114
|
}
|
8096
|
-
},
|
8115
|
+
}, dc = {
|
8097
8116
|
key: 0,
|
8098
8117
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
8099
|
-
},
|
8118
|
+
}, cc = ["onClick"], uc = ["src"], mc = {
|
8100
8119
|
key: 0,
|
8101
8120
|
class: "flex text-sm text-oc-text-400 mt-2"
|
8102
|
-
},
|
8121
|
+
}, fc = {
|
8103
8122
|
__name: "OcSelectOptions",
|
8104
8123
|
props: {
|
8105
8124
|
variant: {
|
@@ -8164,7 +8183,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8164
8183
|
}
|
8165
8184
|
]])
|
8166
8185
|
}, [
|
8167
|
-
e.optionType === "icon" ? (t(), r("div",
|
8186
|
+
e.optionType === "icon" ? (t(), r("div", dc, [
|
8168
8187
|
(t(!0), r(L, null, R(e.options, (f) => (t(), r("div", {
|
8169
8188
|
key: f.value,
|
8170
8189
|
class: v(["p-1", {
|
@@ -8198,7 +8217,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8198
8217
|
"w-[50px]": !d.value
|
8199
8218
|
}]),
|
8200
8219
|
src: f.preview
|
8201
|
-
}, null, 10,
|
8220
|
+
}, null, 10, uc)) : m("", !0),
|
8202
8221
|
n("div", {
|
8203
8222
|
class: v(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
8204
8223
|
}, [
|
@@ -8209,7 +8228,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8209
8228
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
8210
8229
|
}])
|
8211
8230
|
}, $(f.label), 3),
|
8212
|
-
f.description ? (t(), r("div",
|
8231
|
+
f.description ? (t(), r("div", mc, $(f.description), 1)) : m("", !0)
|
8213
8232
|
], 2),
|
8214
8233
|
e.borderless ? (t(), p(s(V), {
|
8215
8234
|
key: 1,
|
@@ -8219,16 +8238,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8219
8238
|
class: v(["text-oc-primary", f.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
8220
8239
|
}, null, 8, ["class"])) : m("", !0)
|
8221
8240
|
])
|
8222
|
-
], 10,
|
8241
|
+
], 10, cc))), 128))
|
8223
8242
|
], 2)
|
8224
8243
|
]),
|
8225
8244
|
_: 3
|
8226
8245
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
8227
8246
|
}
|
8228
|
-
},
|
8247
|
+
}, vc = { class: "flex gap-x-3" }, gc = {
|
8229
8248
|
key: 0,
|
8230
8249
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8231
|
-
},
|
8250
|
+
}, pc = ["accept"], yc = { class: "py-2 flex flex-col" }, xc = ["src"], hc = /* @__PURE__ */ Z({
|
8232
8251
|
__name: "OcSingleOnlyImageUpload",
|
8233
8252
|
props: {
|
8234
8253
|
accept: {
|
@@ -8253,12 +8272,12 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8253
8272
|
};
|
8254
8273
|
return (h, x) => {
|
8255
8274
|
var b, T;
|
8256
|
-
return t(), r("div",
|
8275
|
+
return t(), r("div", vc, [
|
8257
8276
|
(b = e.uploadedImage) != null && b.fileUrl ? m("", !0) : (t(), r("label", {
|
8258
8277
|
key: 0,
|
8259
8278
|
class: v([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
8260
8279
|
}, [
|
8261
|
-
e.showUploadImageArea ? (t(), r("div",
|
8280
|
+
e.showUploadImageArea ? (t(), r("div", gc, [
|
8262
8281
|
n("div", {
|
8263
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 }])
|
8264
8283
|
}, [
|
@@ -8282,20 +8301,20 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8282
8301
|
onDragover: x[1] || (x[1] = (j) => u.value = !0),
|
8283
8302
|
onDragleave: x[2] || (x[2] = (j) => u.value = !1),
|
8284
8303
|
onDrop: x[3] || (x[3] = (j) => u.value = !1)
|
8285
|
-
}, null, 40,
|
8304
|
+
}, null, 40, pc)
|
8286
8305
|
], 2)),
|
8287
8306
|
(T = e.uploadedImage) != null && T.fileUrl ? (t(), r("div", {
|
8288
8307
|
key: 1,
|
8289
8308
|
class: v(["w-[100px] group relative cursor-pointer aspect-square border rounded border-oc-accent-1-100", e.imageClasses])
|
8290
8309
|
}, [
|
8291
|
-
y(s(
|
8310
|
+
y(s(ne), {
|
8292
8311
|
modelValue: o.value,
|
8293
8312
|
"onUpdate:modelValue": x[6] || (x[6] = (j) => o.value = j),
|
8294
8313
|
placement: "bottom-end",
|
8295
8314
|
class: "absolute top-2 right-2 z-[1010]"
|
8296
8315
|
}, {
|
8297
8316
|
menu: k(() => [
|
8298
|
-
n("div",
|
8317
|
+
n("div", yc, [
|
8299
8318
|
n("div", {
|
8300
8319
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8301
8320
|
onClick: x[4] || (x[4] = () => {
|
@@ -8336,7 +8355,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8336
8355
|
src: e.uploadedImage.fileUrl,
|
8337
8356
|
alt: "uploaded-image",
|
8338
8357
|
class: "object-contain h-full w-full"
|
8339
|
-
}, null, 8,
|
8358
|
+
}, null, 8, xc)
|
8340
8359
|
], 2)) : m("", !0),
|
8341
8360
|
(t(), p(Ft, { to: "body" }, [
|
8342
8361
|
d.value ? (t(), p(s(st), {
|
@@ -8353,13 +8372,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8353
8372
|
]);
|
8354
8373
|
};
|
8355
8374
|
}
|
8356
|
-
}),
|
8375
|
+
}), bc = ["accept"], wc = {
|
8357
8376
|
key: 0,
|
8358
8377
|
class: "py-2 flex flex-col items-center gap-y-4"
|
8359
|
-
},
|
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 = {
|
8360
8379
|
key: 0,
|
8361
8380
|
class: "relative group w-fit rounded overflow-hidden"
|
8362
|
-
},
|
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 = {
|
8363
8382
|
__name: "OcSingleFileUpload",
|
8364
8383
|
props: {
|
8365
8384
|
format: {
|
@@ -8472,9 +8491,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8472
8491
|
S(P.$slots, "hint")
|
8473
8492
|
]),
|
8474
8493
|
default: k(() => {
|
8475
|
-
var U, H, X, te, _,
|
8494
|
+
var U, H, X, te, _, oe, re, ve, be, we, ge, $e, ie, Be, ke;
|
8476
8495
|
return [
|
8477
|
-
e.isImageOnly ? (t(), p(
|
8496
|
+
e.isImageOnly ? (t(), p(hc, {
|
8478
8497
|
key: 0,
|
8479
8498
|
accept: e.accept,
|
8480
8499
|
"uploaded-image": w.value,
|
@@ -8497,7 +8516,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8497
8516
|
type: "file",
|
8498
8517
|
accept: e.accept,
|
8499
8518
|
onChange: D[3] || (D[3] = (Q) => s(j)(Q, a.format === "object"))
|
8500
|
-
}, null, 40,
|
8519
|
+
}, null, 40, bc)
|
8501
8520
|
], 64)) : (t(), r(L, { key: 2 }, [
|
8502
8521
|
s(T).length ? (t(), r("div", {
|
8503
8522
|
key: 1,
|
@@ -8506,17 +8525,17 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8506
8525
|
"!bg-oc-bg-dark": e.isDisabled
|
8507
8526
|
}])
|
8508
8527
|
}, [
|
8509
|
-
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), r("div",
|
8510
|
-
(
|
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", {
|
8511
8530
|
key: 0,
|
8512
8531
|
autoplay: "",
|
8513
8532
|
loop: "",
|
8514
8533
|
src: A.value
|
8515
|
-
}, null, 8,
|
8534
|
+
}, null, 8, Bc)) : (t(), r("img", {
|
8516
8535
|
key: 1,
|
8517
8536
|
src: (re = w.value) == null ? void 0 : re.fileUrl
|
8518
|
-
}, null, 8,
|
8519
|
-
y(s(
|
8537
|
+
}, null, 8, Oc)),
|
8538
|
+
y(s(ne), {
|
8520
8539
|
modelValue: h.value,
|
8521
8540
|
"onUpdate:modelValue": D[13] || (D[13] = (Q) => h.value = Q),
|
8522
8541
|
class: "absolute top-3 right-3"
|
@@ -8524,7 +8543,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8524
8543
|
menu: k(() => {
|
8525
8544
|
var Q, Oe;
|
8526
8545
|
return [
|
8527
|
-
n("div",
|
8546
|
+
n("div", Vc, [
|
8528
8547
|
!((Oe = (Q = w.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), r("div", {
|
8529
8548
|
key: 0,
|
8530
8549
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
@@ -8572,25 +8591,25 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8572
8591
|
onChangeImage: I
|
8573
8592
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
8574
8593
|
])) : (t(), r(L, { key: 1 }, [
|
8575
|
-
n("div",
|
8576
|
-
n("div",
|
8594
|
+
n("div", Ic, [
|
8595
|
+
n("div", Tc, [
|
8577
8596
|
y(s(V), {
|
8578
8597
|
name: "file-extension",
|
8579
8598
|
width: "14",
|
8580
8599
|
height: "10"
|
8581
8600
|
}),
|
8582
|
-
n("span",
|
8601
|
+
n("span", Dc, $((we = w.value) == null ? void 0 : we.extension), 1)
|
8583
8602
|
]),
|
8584
8603
|
n("div", {
|
8585
8604
|
class: v([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8586
8605
|
}, $((ge = w.value) == null ? void 0 : ge.fileName), 3)
|
8587
8606
|
]),
|
8588
|
-
n("div",
|
8607
|
+
n("div", Ac, [
|
8589
8608
|
n("div", {
|
8590
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"])
|
8591
8610
|
}, [
|
8592
|
-
n("span",
|
8593
|
-
n("div",
|
8611
|
+
n("span", Mc, $(((ie = w.value) == null ? void 0 : ie.progress) || 0) + "% ", 1),
|
8612
|
+
n("div", jc, [
|
8594
8613
|
n("div", {
|
8595
8614
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
8596
8615
|
style: se({ width: `${((Be = w.value) == null ? void 0 : Be.progress) || 0}%` })
|
@@ -8610,8 +8629,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8610
8629
|
]))
|
8611
8630
|
])
|
8612
8631
|
], 64))
|
8613
|
-
], 2)) : (t(), r("div",
|
8614
|
-
n("div",
|
8632
|
+
], 2)) : (t(), r("div", wc, [
|
8633
|
+
n("div", $c, [
|
8615
8634
|
e.variant === "url" ? (t(), r(L, { key: 0 }, [
|
8616
8635
|
y(s(xe), {
|
8617
8636
|
modelValue: d.value,
|
@@ -8645,7 +8664,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8645
8664
|
onDragover: D[10] || (D[10] = fe(() => {
|
8646
8665
|
}, ["prevent"]))
|
8647
8666
|
}, [
|
8648
|
-
n("span",
|
8667
|
+
n("span", kc, $(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8649
8668
|
y(s(G), {
|
8650
8669
|
size: "small",
|
8651
8670
|
"is-disabled": e.isDisabled,
|
@@ -8662,7 +8681,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8662
8681
|
type: "file",
|
8663
8682
|
accept: e.accept,
|
8664
8683
|
onChange: D[11] || (D[11] = (Q) => s(j)(Q, a.format === "object"))
|
8665
|
-
}, null, 40,
|
8684
|
+
}, null, 40, Sc)
|
8666
8685
|
])
|
8667
8686
|
]))
|
8668
8687
|
], 64))
|
@@ -8671,13 +8690,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8671
8690
|
_: 3
|
8672
8691
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
8673
8692
|
}
|
8674
|
-
},
|
8693
|
+
}, Pc = { class: "relative min-h-[100px]" }, Lc = {
|
8675
8694
|
key: 0,
|
8676
8695
|
class: "absolute"
|
8677
|
-
},
|
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 = {
|
8678
8697
|
key: 0,
|
8679
8698
|
class: "cursor-pointer m-auto drag-el"
|
8680
|
-
},
|
8699
|
+
}, Yc = {
|
8681
8700
|
__name: "OcSimpleMultipleUpload",
|
8682
8701
|
props: {
|
8683
8702
|
accept: {
|
@@ -8744,9 +8763,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8744
8763
|
u.value[E] = B[E];
|
8745
8764
|
}), o[I] = !1, d.value = !0;
|
8746
8765
|
};
|
8747
|
-
return (I, B) => (t(), r("div",
|
8748
|
-
O.value ? (t(), r("label",
|
8749
|
-
n("div",
|
8766
|
+
return (I, B) => (t(), r("div", Pc, [
|
8767
|
+
O.value ? (t(), r("label", Lc, [
|
8768
|
+
n("div", Ec, [
|
8750
8769
|
y(s(V), { name: "plus" })
|
8751
8770
|
]),
|
8752
8771
|
T.value ? m("", !0) : (t(), r("input", {
|
@@ -8756,9 +8775,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8756
8775
|
accept: e.accept || "image/png, image/jpeg",
|
8757
8776
|
multiple: a.maxImages !== 1,
|
8758
8777
|
onChange: w
|
8759
|
-
}, null, 40,
|
8778
|
+
}, null, 40, zc))
|
8760
8779
|
])) : m("", !0),
|
8761
|
-
(t(), p(s(
|
8780
|
+
(t(), p(s(Wu), {
|
8762
8781
|
key: e.uploadedImages.length,
|
8763
8782
|
"model-value": e.uploadedImages,
|
8764
8783
|
filter: "filtered-el",
|
@@ -8776,7 +8795,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8776
8795
|
style: se(`background-image: url(${E.fileUrl})`),
|
8777
8796
|
onClick: (D) => I.$emit("update:selectedImage", E)
|
8778
8797
|
}, [
|
8779
|
-
y(s(
|
8798
|
+
y(s(ne), {
|
8780
8799
|
modelValue: o.value[P],
|
8781
8800
|
"onUpdate:modelValue": (D) => o.value[P] = D,
|
8782
8801
|
placement: "bottom-end",
|
@@ -8788,7 +8807,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8788
8807
|
removeItem: b,
|
8789
8808
|
fileIndex: P
|
8790
8809
|
}, () => [
|
8791
|
-
n("div",
|
8810
|
+
n("div", Rc, [
|
8792
8811
|
n("div", {
|
8793
8812
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8794
8813
|
onClick: (D) => g(P, E)
|
@@ -8799,7 +8818,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8799
8818
|
name: "pencil"
|
8800
8819
|
}),
|
8801
8820
|
B[4] || (B[4] = n("span", null, "Edit Image", -1))
|
8802
|
-
], 8,
|
8821
|
+
], 8, Fc),
|
8803
8822
|
n("div", {
|
8804
8823
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
8805
8824
|
onClick: () => {
|
@@ -8812,7 +8831,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8812
8831
|
name: "bin"
|
8813
8832
|
}),
|
8814
8833
|
B[5] || (B[5] = n("span", null, "Delete", -1))
|
8815
|
-
], 8,
|
8834
|
+
], 8, Uc)
|
8816
8835
|
])
|
8817
8836
|
])
|
8818
8837
|
]),
|
@@ -8836,15 +8855,15 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8836
8855
|
}, null, 4)
|
8837
8856
|
], 2)
|
8838
8857
|
], 2),
|
8839
|
-
n("div",
|
8840
|
-
a.maxImages !== 1 ? (t(), r("span",
|
8858
|
+
n("div", qc, [
|
8859
|
+
a.maxImages !== 1 ? (t(), r("span", Hc, [
|
8841
8860
|
y(s(V), {
|
8842
8861
|
name: "arrows",
|
8843
8862
|
class: "text-oc-accent-1-50"
|
8844
8863
|
})
|
8845
8864
|
])) : m("", !0)
|
8846
8865
|
])
|
8847
|
-
], 14,
|
8866
|
+
], 14, Nc))), 128))
|
8848
8867
|
]),
|
8849
8868
|
_: 3
|
8850
8869
|
}, 8, ["model-value", "style"])),
|
@@ -8861,7 +8880,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8861
8880
|
onChangeImage: C,
|
8862
8881
|
"onUpdate:inputOptions": A
|
8863
8882
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
8864
|
-
y(s(
|
8883
|
+
y(s(Ou), {
|
8865
8884
|
modelValue: h.value,
|
8866
8885
|
"onUpdate:modelValue": B[3] || (B[3] = (N) => h.value = N),
|
8867
8886
|
description: "Do you want to delete this image ?",
|
@@ -8869,16 +8888,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8869
8888
|
}, null, 8, ["modelValue"])
|
8870
8889
|
]));
|
8871
8890
|
}
|
8872
|
-
},
|
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 = {
|
8873
8892
|
key: 1,
|
8874
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"
|
8875
|
-
},
|
8894
|
+
}, lu = { key: 0 }, au = { key: 1 }, nu = {
|
8876
8895
|
key: 2,
|
8877
8896
|
class: "text-center"
|
8878
|
-
},
|
8897
|
+
}, ou = {
|
8879
8898
|
key: 2,
|
8880
8899
|
class: "mt-3 flex items-center justify-center"
|
8881
|
-
},
|
8900
|
+
}, af = {
|
8882
8901
|
__name: "OcMultipleUploadFile",
|
8883
8902
|
props: {
|
8884
8903
|
modelValue: {
|
@@ -8958,7 +8977,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8958
8977
|
var C;
|
8959
8978
|
(C = o.value) == null || C.click();
|
8960
8979
|
};
|
8961
|
-
return (C, A) => (t(), r("div",
|
8980
|
+
return (C, A) => (t(), r("div", Wc, [
|
8962
8981
|
y(s(pe), {
|
8963
8982
|
label: e.label,
|
8964
8983
|
hint: e.hint,
|
@@ -8968,7 +8987,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8968
8987
|
S(C.$slots, "hint")
|
8969
8988
|
]),
|
8970
8989
|
default: k(() => [
|
8971
|
-
e.isImageOnly ? (t(), p(
|
8990
|
+
e.isImageOnly ? (t(), p(Yc, {
|
8972
8991
|
key: 0,
|
8973
8992
|
"uploaded-images": s(f),
|
8974
8993
|
"selected-image": e.selectedImage,
|
@@ -9007,7 +9026,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9007
9026
|
multiple: "",
|
9008
9027
|
accept: e.accept,
|
9009
9028
|
onChange: b
|
9010
|
-
}, null, 40,
|
9029
|
+
}, null, 40, Kc)
|
9011
9030
|
], 64)) : (t(), r("div", {
|
9012
9031
|
key: 2,
|
9013
9032
|
class: v(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
@@ -9017,27 +9036,27 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9017
9036
|
}
|
9018
9037
|
]])
|
9019
9038
|
}, [
|
9020
|
-
n("div",
|
9039
|
+
n("div", Gc, [
|
9021
9040
|
(t(!0), r(L, null, R(s(f), (w, O) => (t(), r("div", {
|
9022
9041
|
key: `${O}-${w.fileName}`,
|
9023
9042
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
9024
9043
|
}, [
|
9025
|
-
n("div",
|
9026
|
-
n("div",
|
9044
|
+
n("div", Xc, [
|
9045
|
+
n("div", Jc, [
|
9027
9046
|
y(s(V), {
|
9028
9047
|
name: "file-extension",
|
9029
9048
|
width: "14",
|
9030
9049
|
height: "10"
|
9031
9050
|
}),
|
9032
|
-
n("span",
|
9051
|
+
n("span", Zc, $(w.extension), 1)
|
9033
9052
|
]),
|
9034
|
-
n("span",
|
9053
|
+
n("span", Qc, $(w == null ? void 0 : w.fileName), 1)
|
9035
9054
|
]),
|
9036
9055
|
c.value ? (t(), r("div", {
|
9037
9056
|
key: 0,
|
9038
9057
|
class: v(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": w.progress === 100 }])
|
9039
9058
|
}, [
|
9040
|
-
n("div",
|
9059
|
+
n("div", _c, [
|
9041
9060
|
n("div", {
|
9042
9061
|
style: se({ width: `${w.progress}%` }),
|
9043
9062
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
@@ -9079,15 +9098,15 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9079
9098
|
onDragleave: A[6] || (A[6] = (w) => d.value = !1),
|
9080
9099
|
onDrop: A[7] || (A[7] = (w) => d.value = !1),
|
9081
9100
|
onChange: b
|
9082
|
-
}, null, 40,
|
9083
|
-
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] = [
|
9084
9103
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
9085
|
-
]))) : (t(), r("div",
|
9104
|
+
]))) : (t(), r("div", tu, [
|
9086
9105
|
y(s(V), {
|
9087
9106
|
name: "upload",
|
9088
9107
|
class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
9089
9108
|
}, null, 8, ["class"]),
|
9090
|
-
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, [
|
9091
9110
|
A[8] || (A[8] = n("div", null, "Select documents or drag here", -1)),
|
9092
9111
|
n("div", null, "File max " + $(e.maxSize) + "MB", 1)
|
9093
9112
|
]))
|
@@ -9099,7 +9118,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9099
9118
|
}, 8, ["label", "hint", "error-message"])
|
9100
9119
|
]));
|
9101
9120
|
}
|
9102
|
-
},
|
9121
|
+
}, iu = ["value"], su = /* @__PURE__ */ Z({
|
9103
9122
|
__name: "OcNumberInput",
|
9104
9123
|
props: {
|
9105
9124
|
modelValue: {
|
@@ -9159,7 +9178,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9159
9178
|
placeholder: "1",
|
9160
9179
|
onKeydown: c,
|
9161
9180
|
onInput: f[0] || (f[0] = (h) => u.$emit("update:modelValue", h.target.value))
|
9162
|
-
}, null, 42,
|
9181
|
+
}, null, 42, iu),
|
9163
9182
|
y(s(G), {
|
9164
9183
|
variant: "secondary",
|
9165
9184
|
class: "w-[28px] shrink-0 aspect-square",
|
@@ -9174,7 +9193,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9174
9193
|
_: 1
|
9175
9194
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
9176
9195
|
}
|
9177
|
-
}),
|
9196
|
+
}), ru = {
|
9178
9197
|
__name: "OcDropdown",
|
9179
9198
|
props: {
|
9180
9199
|
distance: {
|
@@ -9274,7 +9293,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9274
9293
|
[s(ot), f]
|
9275
9294
|
]);
|
9276
9295
|
}
|
9277
|
-
},
|
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 = {
|
9278
9297
|
key: 0,
|
9279
9298
|
class: "p-3 text-sm text-oc-text-300"
|
9280
9299
|
}, ye = {
|
@@ -9299,27 +9318,27 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9299
9318
|
return (a, l) => (t(), r("div", {
|
9300
9319
|
class: v(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", i.value[e.variant]])
|
9301
9320
|
}, [
|
9302
|
-
n("div",
|
9321
|
+
n("div", du, [
|
9303
9322
|
e.icon ? (t(), p(s(V), F({
|
9304
9323
|
key: 0,
|
9305
9324
|
class: "w-5 h-5",
|
9306
9325
|
name: e.icon
|
9307
9326
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : m("", !0),
|
9308
|
-
n("span",
|
9327
|
+
n("span", cu, $(e.text), 1),
|
9309
9328
|
e.pointed ? S(a.$slots, "badge", { key: 1 }, () => [
|
9310
9329
|
l[0] || (l[0] = n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1))
|
9311
9330
|
]) : m("", !0)
|
9312
9331
|
]),
|
9313
|
-
e.subText ? (t(), r("div",
|
9332
|
+
e.subText ? (t(), r("div", uu, [
|
9314
9333
|
n("span", null, $(e.subText), 1)
|
9315
9334
|
])) : m("", !0)
|
9316
9335
|
], 2));
|
9317
9336
|
}
|
9318
|
-
},
|
9337
|
+
}, mu = { class: "oc-tooltip-wrapper" }, fu = {
|
9319
9338
|
key: 0,
|
9320
9339
|
class: "oc-arrow",
|
9321
9340
|
"data-popper-arrow": ""
|
9322
|
-
},
|
9341
|
+
}, vu = {
|
9323
9342
|
__name: "OcTooltip",
|
9324
9343
|
props: {
|
9325
9344
|
popperClass: {
|
@@ -9394,7 +9413,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9394
9413
|
const f = () => {
|
9395
9414
|
a.value && u();
|
9396
9415
|
};
|
9397
|
-
return (h, x) => Ve((t(), r("span",
|
9416
|
+
return (h, x) => Ve((t(), r("span", mu, [
|
9398
9417
|
y(s(wt), {
|
9399
9418
|
ref_key: "popper",
|
9400
9419
|
ref: d,
|
@@ -9413,7 +9432,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9413
9432
|
class: v(["oc-tooltip", e.popperClass])
|
9414
9433
|
}, [
|
9415
9434
|
S(h.$slots, "popper", {}, void 0, !0),
|
9416
|
-
e.arrowHidden ? m("", !0) : (t(), r("div",
|
9435
|
+
e.arrowHidden ? m("", !0) : (t(), r("div", fu))
|
9417
9436
|
], 2), [
|
9418
9437
|
[ze, a.value]
|
9419
9438
|
])
|
@@ -9436,14 +9455,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9436
9455
|
[s(ot), f]
|
9437
9456
|
]);
|
9438
9457
|
}
|
9439
|
-
}, le = /* @__PURE__ */ he(
|
9458
|
+
}, le = /* @__PURE__ */ he(vu, [["__scopeId", "data-v-a902efc5"]]), gu = {
|
9440
9459
|
key: 0,
|
9441
9460
|
id: "modal-overlay-wrapper",
|
9442
9461
|
class: "fixed w-screen z-[1007] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9443
|
-
},
|
9462
|
+
}, pu = { class: "flex flex-col gap-y-1 overflow-hidden" }, yu = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, xu = {
|
9444
9463
|
key: 0,
|
9445
9464
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
9446
|
-
},
|
9465
|
+
}, hu = ["id"], bu = {
|
9447
9466
|
__name: "OcModal",
|
9448
9467
|
props: {
|
9449
9468
|
isBorderless: Boolean,
|
@@ -9540,7 +9559,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9540
9559
|
), Ut(() => {
|
9541
9560
|
var x;
|
9542
9561
|
(x = f.value) == null || x.removeEventListener("scroll", h);
|
9543
|
-
}), (x, b) => e.modelValue ? (t(), r("div",
|
9562
|
+
}), (x, b) => e.modelValue ? (t(), r("div", gu, [
|
9544
9563
|
n("div", {
|
9545
9564
|
class: "w-full h-full absolute top-0 left-0 z-[1007]",
|
9546
9565
|
onClick: d
|
@@ -9553,10 +9572,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9553
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"])
|
9554
9573
|
}, [
|
9555
9574
|
S(x.$slots, "header", {}, () => [
|
9556
|
-
n("div",
|
9557
|
-
n("span",
|
9575
|
+
n("div", pu, [
|
9576
|
+
n("span", yu, $(e.title), 1),
|
9558
9577
|
S(x.$slots, "description", {}, () => [
|
9559
|
-
e.description ? (t(), r("span",
|
9578
|
+
e.description ? (t(), r("span", xu, $(e.description), 1)) : m("", !0)
|
9560
9579
|
])
|
9561
9580
|
]),
|
9562
9581
|
e.isCloseIcon ? (t(), r("div", {
|
@@ -9580,7 +9599,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9580
9599
|
onScroll: b[1] || (b[1] = (T) => l("content-scroll", T))
|
9581
9600
|
}, [
|
9582
9601
|
S(x.$slots, "default")
|
9583
|
-
], 42,
|
9602
|
+
], 42, hu),
|
9584
9603
|
e.isFooterVisible ? (t(), r("div", {
|
9585
9604
|
key: 1,
|
9586
9605
|
class: v(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
@@ -9607,10 +9626,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9607
9626
|
], 2)
|
9608
9627
|
])) : m("", !0);
|
9609
9628
|
}
|
9610
|
-
},
|
9629
|
+
}, wu = {
|
9611
9630
|
key: 0,
|
9612
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"
|
9613
|
-
},
|
9632
|
+
}, $u = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, ku = { class: "modal-body p-9" }, nf = {
|
9614
9633
|
__name: "OcModalPage",
|
9615
9634
|
props: {
|
9616
9635
|
modelValue: {
|
@@ -9641,8 +9660,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9641
9660
|
emits: ["update:modelValue", "back", "click:outside"],
|
9642
9661
|
setup(e, { emit: i }) {
|
9643
9662
|
const a = i;
|
9644
|
-
return (l, o) => e.modelValue ? (t(), r("div",
|
9645
|
-
n("div",
|
9663
|
+
return (l, o) => e.modelValue ? (t(), r("div", wu, [
|
9664
|
+
n("div", $u, [
|
9646
9665
|
S(l.$slots, "top"),
|
9647
9666
|
n("div", {
|
9648
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])
|
@@ -9670,14 +9689,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9670
9689
|
}),
|
9671
9690
|
o[2] || (o[2] = n("span", null, "Close", -1))
|
9672
9691
|
]),
|
9673
|
-
n("div",
|
9692
|
+
n("div", ku, [
|
9674
9693
|
S(l.$slots, "default")
|
9675
9694
|
])
|
9676
9695
|
], 2)
|
9677
9696
|
])
|
9678
9697
|
])) : m("", !0);
|
9679
9698
|
}
|
9680
|
-
},
|
9699
|
+
}, Su = { class: "text-center" }, Cu = ["innerHTML"], Bu = {
|
9681
9700
|
__name: "OcConfirmation",
|
9682
9701
|
props: {
|
9683
9702
|
description: String,
|
@@ -9716,14 +9735,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9716
9735
|
name: e.icon ?? i[e.variant]
|
9717
9736
|
}, null, 8, ["name"])
|
9718
9737
|
], 2)),
|
9719
|
-
n("div",
|
9738
|
+
n("div", Su, [
|
9720
9739
|
S(l.$slots, "description", {}, () => [
|
9721
|
-
n("span", { innerHTML: e.description }, null, 8,
|
9740
|
+
n("span", { innerHTML: e.description }, null, 8, Cu)
|
9722
9741
|
])
|
9723
9742
|
])
|
9724
9743
|
], 2));
|
9725
9744
|
}
|
9726
|
-
},
|
9745
|
+
}, Ou = {
|
9727
9746
|
__name: "OcConfirmationModal",
|
9728
9747
|
props: {
|
9729
9748
|
modelValue: {
|
@@ -9796,7 +9815,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9796
9815
|
})), c = (u) => {
|
9797
9816
|
l("update:model-value", u), l("cancel");
|
9798
9817
|
};
|
9799
|
-
return (u, f) => (t(), p(s(
|
9818
|
+
return (u, f) => (t(), p(s(bu), {
|
9800
9819
|
size: "small",
|
9801
9820
|
"model-value": e.modelValue,
|
9802
9821
|
title: e.title,
|
@@ -9819,7 +9838,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9819
9838
|
onCancel: f[1] || (f[1] = (h) => u.$emit("cancel"))
|
9820
9839
|
}, {
|
9821
9840
|
default: k(() => [
|
9822
|
-
y(
|
9841
|
+
y(Bu, {
|
9823
9842
|
"icon-class": e.iconClass,
|
9824
9843
|
variant: e.variant,
|
9825
9844
|
description: e.description,
|
@@ -9839,10 +9858,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9839
9858
|
_: 3
|
9840
9859
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
9841
9860
|
}
|
9842
|
-
},
|
9861
|
+
}, Vu = { class: "fixed bottom-[30px] right-[32px]" }, Iu = { class: "relative" }, Tu = {
|
9843
9862
|
key: 0,
|
9844
9863
|
class: "flex items-center justify-end"
|
9845
|
-
},
|
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({
|
9846
9865
|
__name: "OcSupportMenu",
|
9847
9866
|
props: {
|
9848
9867
|
modelValue: {
|
@@ -9880,8 +9899,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9880
9899
|
const i = {
|
9881
9900
|
arrowHidden: !0
|
9882
9901
|
};
|
9883
|
-
return (a, l) => (t(), r("div",
|
9884
|
-
y(s(
|
9902
|
+
return (a, l) => (t(), r("div", Vu, [
|
9903
|
+
y(s(ne), {
|
9885
9904
|
"model-value": e.modelValue,
|
9886
9905
|
"popper-options": i,
|
9887
9906
|
placement: "top-end",
|
@@ -9889,10 +9908,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9889
9908
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.$emit("update:modelValue", o))
|
9890
9909
|
}, {
|
9891
9910
|
menu: k(() => [
|
9892
|
-
n("div",
|
9911
|
+
n("div", Au, [
|
9893
9912
|
(t(!0), r(L, null, R(e.topMenu, (o, d) => (t(), r(L, { key: d }, [
|
9894
|
-
n("div",
|
9895
|
-
n("span",
|
9913
|
+
n("div", Mu, [
|
9914
|
+
n("span", ju, $(o.title), 1)
|
9896
9915
|
]),
|
9897
9916
|
(t(!0), r(L, null, R(o.items, (c, u) => (t(), p(s(ye), F({
|
9898
9917
|
key: u,
|
@@ -9933,11 +9952,11 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9933
9952
|
])
|
9934
9953
|
]),
|
9935
9954
|
default: k(() => [
|
9936
|
-
n("div",
|
9937
|
-
e.isPointed ? (t(), r("div",
|
9955
|
+
n("div", Iu, [
|
9956
|
+
e.isPointed ? (t(), r("div", Tu, l[1] || (l[1] = [
|
9938
9957
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
9939
9958
|
]))) : m("", !0),
|
9940
|
-
n("div",
|
9959
|
+
n("div", Du, [
|
9941
9960
|
y(s(V), {
|
9942
9961
|
name: "question",
|
9943
9962
|
width: "33",
|
@@ -9950,7 +9969,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9950
9969
|
}, 8, ["model-value"])
|
9951
9970
|
]));
|
9952
9971
|
}
|
9953
|
-
}),
|
9972
|
+
}), Pu = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, je = /* @__PURE__ */ Z({
|
9954
9973
|
__name: "OcCopyTooltip",
|
9955
9974
|
props: {
|
9956
9975
|
value: [String, Blob],
|
@@ -9980,7 +9999,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9980
9999
|
distance: 20
|
9981
10000
|
}, e.tooltipOptions), {
|
9982
10001
|
popper: k(() => [
|
9983
|
-
n("div",
|
10002
|
+
n("div", Pu, $(e.tooltipText), 1)
|
9984
10003
|
]),
|
9985
10004
|
default: k(({ isShow: o }) => [
|
9986
10005
|
n("div", {
|
@@ -9999,7 +10018,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9999
10018
|
_: 3
|
10000
10019
|
}, 16));
|
10001
10020
|
}
|
10002
|
-
}),
|
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({
|
10003
10022
|
__name: "OcWhiteList",
|
10004
10023
|
props: {
|
10005
10024
|
buttonProps: {
|
@@ -10015,28 +10034,28 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10015
10034
|
description: String
|
10016
10035
|
},
|
10017
10036
|
setup(e) {
|
10018
|
-
return (i, a) => (t(), r("div",
|
10037
|
+
return (i, a) => (t(), r("div", Lu, [
|
10019
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)),
|
10020
|
-
n("div",
|
10021
|
-
n("div",
|
10039
|
+
n("div", Eu, [
|
10040
|
+
n("div", zu, [
|
10022
10041
|
S(i.$slots, "logo", {}, () => [
|
10023
|
-
n("div",
|
10042
|
+
n("div", Nu, [
|
10024
10043
|
n("img", {
|
10025
10044
|
src: e.imagePath,
|
10026
10045
|
alt: "logo"
|
10027
|
-
}, null, 8,
|
10046
|
+
}, null, 8, Ru)
|
10028
10047
|
])
|
10029
10048
|
]),
|
10030
|
-
n("div",
|
10031
|
-
n("div",
|
10049
|
+
n("div", Fu, [
|
10050
|
+
n("div", Uu, [
|
10032
10051
|
W($(e.title) + " ", 1),
|
10033
10052
|
e.tagOptions ? (t(), p(s(Yt), me(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
10034
10053
|
]),
|
10035
|
-
n("span",
|
10054
|
+
n("span", qu, $(e.description), 1)
|
10036
10055
|
]),
|
10037
10056
|
S(i.$slots, "bottom")
|
10038
10057
|
]),
|
10039
|
-
n("div",
|
10058
|
+
n("div", Hu, [
|
10040
10059
|
S(i.$slots, "footer", {}, () => [
|
10041
10060
|
y(s(G), F({
|
10042
10061
|
label: "Request Access",
|
@@ -10047,7 +10066,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10047
10066
|
])
|
10048
10067
|
]));
|
10049
10068
|
}
|
10050
|
-
}),
|
10069
|
+
}), rf = {
|
10051
10070
|
__name: "OcFormBuilder",
|
10052
10071
|
props: {
|
10053
10072
|
id: {
|
@@ -10087,23 +10106,23 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10087
10106
|
const a = e, l = i, o = (g, I) => {
|
10088
10107
|
l("onUpdate", g, I);
|
10089
10108
|
}, d = {
|
10090
|
-
CardInput:
|
10091
|
-
CheckboxesGroup:
|
10109
|
+
CardInput: sr,
|
10110
|
+
CheckboxesGroup: dr,
|
10092
10111
|
Input: xe,
|
10093
|
-
NumberInput:
|
10094
|
-
LinkInput:
|
10095
|
-
Select:
|
10096
|
-
TextArea:
|
10112
|
+
NumberInput: su,
|
10113
|
+
LinkInput: td,
|
10114
|
+
Select: Wr,
|
10115
|
+
TextArea: nd,
|
10097
10116
|
Toggle: kt,
|
10098
|
-
RadioGroup:
|
10099
|
-
TimePicker:
|
10100
|
-
DatePicker:
|
10117
|
+
RadioGroup: Mr,
|
10118
|
+
TimePicker: Ku,
|
10119
|
+
DatePicker: lc,
|
10101
10120
|
Checkbox: De,
|
10102
10121
|
Slider: $t,
|
10103
|
-
RangeInput:
|
10104
|
-
PhoneInput:
|
10105
|
-
SectionItem:
|
10106
|
-
SelectOptions:
|
10122
|
+
RangeInput: Er,
|
10123
|
+
PhoneInput: Vr,
|
10124
|
+
SectionItem: rc,
|
10125
|
+
SelectOptions: fc
|
10107
10126
|
}, c = (g) => d[g] ? d[g] : null, u = z(() => {
|
10108
10127
|
const g = (B) => B.split(`
|
10109
10128
|
`).map((N) => N.trim()).filter(Boolean).map((N) => `"${N}"`).join(" "), I = {};
|
@@ -10197,126 +10216,126 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10197
10216
|
}), 128))
|
10198
10217
|
], 6)) : m("", !0);
|
10199
10218
|
}
|
10200
|
-
},
|
10201
|
-
() => import("./OcComplexCalendar-
|
10202
|
-
),
|
10203
|
-
() => import("./OcComplexDatePicker-
|
10204
|
-
), st = de(() => import("./OcModalCropper-
|
10205
|
-
() => import("./ThumbnailTheme-
|
10206
|
-
),
|
10207
|
-
() => import("./ThumbnailSection-
|
10208
|
-
),
|
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"));
|
10209
10228
|
export {
|
10210
|
-
|
10211
|
-
|
10229
|
+
Im as $,
|
10230
|
+
bm as A,
|
10212
10231
|
G as B,
|
10213
10232
|
Bt as C,
|
10214
10233
|
dn as D,
|
10215
|
-
|
10234
|
+
km as E,
|
10216
10235
|
gl as F,
|
10217
10236
|
Ct as G,
|
10218
10237
|
qe as H,
|
10219
|
-
|
10238
|
+
xm as I,
|
10220
10239
|
ct as J,
|
10221
10240
|
ut as K,
|
10222
|
-
|
10223
|
-
|
10241
|
+
pm as L,
|
10242
|
+
ym as M,
|
10224
10243
|
rt as N,
|
10225
10244
|
Fe as O,
|
10226
10245
|
dt as P,
|
10227
10246
|
Ie as Q,
|
10228
10247
|
Ee as R,
|
10229
10248
|
sl as S,
|
10230
|
-
|
10231
|
-
|
10232
|
-
|
10233
|
-
|
10249
|
+
hm as T,
|
10250
|
+
Sm as U,
|
10251
|
+
Cm as V,
|
10252
|
+
Vm as W,
|
10234
10253
|
Un as X,
|
10235
|
-
|
10236
|
-
|
10254
|
+
Bm as Y,
|
10255
|
+
Om as Z,
|
10237
10256
|
pe as _,
|
10238
|
-
|
10257
|
+
sr as a,
|
10239
10258
|
Wn as a0,
|
10240
|
-
|
10241
|
-
|
10242
|
-
|
10243
|
-
|
10244
|
-
|
10245
|
-
|
10246
|
-
|
10247
|
-
|
10248
|
-
|
10249
|
-
|
10250
|
-
|
10251
|
-
|
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,
|
10252
10271
|
le as aD,
|
10253
|
-
|
10272
|
+
sf as aE,
|
10254
10273
|
it as aF,
|
10255
|
-
|
10256
|
-
|
10257
|
-
|
10258
|
-
|
10259
|
-
|
10260
|
-
|
10261
|
-
|
10262
|
-
|
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,
|
10263
10282
|
st as aO,
|
10264
|
-
|
10265
|
-
|
10266
|
-
|
10267
|
-
|
10268
|
-
|
10269
|
-
|
10270
|
-
|
10271
|
-
|
10272
|
-
|
10273
|
-
|
10274
|
-
|
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,
|
10275
10294
|
Eo as ae,
|
10276
10295
|
Ao as af,
|
10277
|
-
|
10278
|
-
|
10279
|
-
|
10280
|
-
|
10296
|
+
Wm as ag,
|
10297
|
+
Em as ah,
|
10298
|
+
zm as ai,
|
10299
|
+
Nm as aj,
|
10281
10300
|
oi as ak,
|
10282
|
-
|
10283
|
-
|
10284
|
-
|
10285
|
-
|
10286
|
-
|
10287
|
-
|
10288
|
-
|
10289
|
-
|
10301
|
+
ui as al,
|
10302
|
+
vi as am,
|
10303
|
+
hi as an,
|
10304
|
+
Rm as ao,
|
10305
|
+
Fm as ap,
|
10306
|
+
Um as aq,
|
10307
|
+
Xm as ar,
|
10308
|
+
Zm as as,
|
10290
10309
|
ae as at,
|
10291
|
-
|
10292
|
-
|
10293
|
-
|
10310
|
+
Qm as au,
|
10311
|
+
Jm as av,
|
10312
|
+
Ou as aw,
|
10294
10313
|
je as ax,
|
10295
|
-
|
10314
|
+
ne as ay,
|
10296
10315
|
ye as az,
|
10297
10316
|
De as b,
|
10298
|
-
|
10299
|
-
|
10317
|
+
dr as c,
|
10318
|
+
_m as d,
|
10300
10319
|
xe as e,
|
10301
|
-
|
10302
|
-
|
10303
|
-
|
10304
|
-
|
10305
|
-
|
10306
|
-
|
10320
|
+
ef as f,
|
10321
|
+
Vr as g,
|
10322
|
+
Ar as h,
|
10323
|
+
Mr as i,
|
10324
|
+
Er as j,
|
10325
|
+
Wr as k,
|
10307
10326
|
gt as l,
|
10308
|
-
|
10309
|
-
|
10310
|
-
|
10311
|
-
|
10312
|
-
|
10313
|
-
|
10314
|
-
|
10315
|
-
|
10316
|
-
|
10317
|
-
|
10318
|
-
|
10319
|
-
|
10320
|
-
|
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,
|
10321
10340
|
Ae as z
|
10322
10341
|
};
|