@orchidui/core 1.1.31-14 → 1.1.31-15
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-B2D5XlJC.js} +1 -1
- package/dist/{OcComplexDatePicker-h6znZkPZ.js → OcComplexDatePicker-C6NpPJXl.js} +1 -1
- package/dist/{OcCropper-CE9ndaKL.js → OcCropper-ZS-kAgEL.js} +1 -1
- package/dist/{OcDataTable-DJ3qAu4Z.js → OcDataTable-DVEYnL6u.js} +1 -1
- package/dist/{OcDraggableList-C48trF30.js → OcDraggableList-z1gZLaGS.js} +1 -1
- package/dist/{OcEmojiPicker-BdjvFMNA.js → OcEmojiPicker-5n4qFSjQ.js} +1 -1
- package/dist/{OcFilterForm-DsDk_9oO.js → OcFilterForm-2fhih-5I.js} +1 -1
- package/dist/{OcFilterSearch-SVjRxtUQ.js → OcFilterSearch-vaCERZxk.js} +1 -1
- package/dist/{OcFilterSearchFor-5s0ZudWU.js → OcFilterSearchFor-C4YT66qF.js} +1 -1
- package/dist/{OcModalCropper-m9u0mr2W.js → OcModalCropper-DUb0nbvZ.js} +2 -2
- package/dist/{OcTimePicker-Df8BqLEN.js → OcTimePicker-CZkQqCbq.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-DARiOb7b.js} +1 -1
- package/dist/{ThumbnailSection-BaXYBlGq.js → ThumbnailSection-BQJBK32Q.js} +1 -1
- package/dist/{ThumbnailTheme-C62Azwna.js → ThumbnailTheme-d2chH8WX.js} +1 -1
- package/dist/{index-BBcnPgzE.js → index-ChqDvW-w.js} +534 -531
- 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
|
+
}, gm = {
|
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" }, pm = /* @__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]" }, ym = {
|
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 }, xm = {
|
1313
1313
|
__name: "OcTransferSummary",
|
1314
1314
|
props: {
|
1315
1315
|
transfer: {
|
@@ -1987,7 +1987,7 @@ const Gt = {
|
|
1987
1987
|
])
|
1988
1988
|
], 2));
|
1989
1989
|
}
|
1990
|
-
}),
|
1990
|
+
}), hm = {
|
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
|
+
}, bm = {
|
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
|
+
}, wm = {
|
2225
2225
|
__name: "OcFloatContent",
|
2226
2226
|
props: {
|
2227
2227
|
modelValue: {
|
@@ -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" }, $m = /* @__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
|
+
}), km = {
|
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" }, Sm = /* @__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, Cm = {
|
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" }, Bm = {
|
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" }, Om = /* @__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" }, Vm = /* @__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 Im = /* @__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 Tm = /* @__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 Dm = /* @__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
|
+
}, Am = {
|
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" }, Mm = {
|
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" }, jm = {
|
2986
2986
|
__name: "OcTabToSelect",
|
2987
2987
|
props: {
|
2988
2988
|
menus: Array,
|
@@ -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" }, Pm = {
|
3179
3179
|
__name: "OcPageTitle",
|
3180
3180
|
props: {
|
3181
3181
|
title: { type: String, required: !0 },
|
@@ -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
|
+
}, Lm = {
|
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(xi), {
|
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
|
+
}, Em = {
|
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
|
+
}, zm = /* @__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 = {
|
4021
4024
|
__name: "OcSidebarFooter",
|
4022
4025
|
props: {
|
4023
4026
|
displayName: String,
|
@@ -4025,8 +4028,8 @@ 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
|
-
return (i, a) => (t(), r("div",
|
4029
|
-
n("div",
|
4031
|
+
return (i, a) => (t(), r("div", gi, [
|
4032
|
+
n("div", pi, [
|
4030
4033
|
e.isExpanded ? S(i.$slots, "default", { key: 0 }) : m("", !0),
|
4031
4034
|
n("div", {
|
4032
4035
|
class: v(["flex items-center gap-x-3", {
|
@@ -4042,7 +4045,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4042
4045
|
width: "18",
|
4043
4046
|
height: "18"
|
4044
4047
|
}),
|
4045
|
-
e.isExpanded ? (t(), r("span",
|
4048
|
+
e.isExpanded ? (t(), r("span", yi, "Contact support")) : m("", !0)
|
4046
4049
|
]),
|
4047
4050
|
y(s(lt), {
|
4048
4051
|
size: 32,
|
@@ -4058,7 +4061,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4058
4061
|
])
|
4059
4062
|
]));
|
4060
4063
|
}
|
4061
|
-
},
|
4064
|
+
}, hi = { class: "relative" }, bi = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, wi = { class: "py-2 px-3 gap-x-3 flex items-center" }, $i = { class: "text-oc-accent-2 flex-1 font-medium" }, ki = { class: "flex items-center gap-x-2" }, Si = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Nm = {
|
4062
4065
|
__name: "OcSidebarFeatureBanners",
|
4063
4066
|
props: {
|
4064
4067
|
isStacked: {
|
@@ -4075,16 +4078,16 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4075
4078
|
}
|
4076
4079
|
},
|
4077
4080
|
setup(e) {
|
4078
|
-
return (i, a) => (t(), r("div",
|
4081
|
+
return (i, a) => (t(), r("div", hi, [
|
4079
4082
|
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",
|
4083
|
+
n("div", bi, [
|
4084
|
+
n("div", wi, [
|
4082
4085
|
y(s(V), {
|
4083
4086
|
name: "sparkle-2",
|
4084
4087
|
class: "text-oc-accent-2"
|
4085
4088
|
}),
|
4086
|
-
n("div",
|
4087
|
-
n("div",
|
4089
|
+
n("div", $i, $(e.title), 1),
|
4090
|
+
n("div", ki, [
|
4088
4091
|
y(s(V), {
|
4089
4092
|
name: "x",
|
4090
4093
|
class: "text-oc-text-300 hover:text-oc-text",
|
@@ -4101,11 +4104,11 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4101
4104
|
})
|
4102
4105
|
])
|
4103
4106
|
]),
|
4104
|
-
n("div",
|
4107
|
+
n("div", Si, $(e.description), 1)
|
4105
4108
|
])
|
4106
4109
|
]));
|
4107
4110
|
}
|
4108
|
-
},
|
4111
|
+
}, Ci = { class: "border relative z-10 border-oc-gray-200 shadow-normal bg-white rounded p-2 flex flex-col gap-y-2" }, Bi = { class: "py-2 px-3 gap-x-3 flex items-center" }, Oi = { class: "text-oc-warning flex-1" }, Vi = { class: "px-3 pb-3 flex flex-col gap-y-3" }, Ii = { class: "relative bg-oc-accent-1-50 rounded-full h-2" }, Ti = { class: "flex items-center gap-x-3" }, Di = { class: "text-sm text-oc-text-400" }, Rm = {
|
4109
4112
|
__name: "OcAccountSetupProgress",
|
4110
4113
|
props: {
|
4111
4114
|
value: {
|
@@ -4119,9 +4122,9 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4119
4122
|
},
|
4120
4123
|
emits: ["redirect"],
|
4121
4124
|
setup(e) {
|
4122
|
-
return (i, a) => (t(), r("div",
|
4123
|
-
n("div",
|
4124
|
-
n("div",
|
4125
|
+
return (i, a) => (t(), r("div", Ci, [
|
4126
|
+
n("div", Bi, [
|
4127
|
+
n("div", Oi, "Finish your account (" + $(e.value) + "%)", 1),
|
4125
4128
|
y(s(V), {
|
4126
4129
|
name: "arrow-top-right",
|
4127
4130
|
class: "text-oc-text-300 hover:text-oc-text",
|
@@ -4130,21 +4133,21 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4130
4133
|
onClick: a[0] || (a[0] = (l) => i.$emit("redirect"))
|
4131
4134
|
})
|
4132
4135
|
]),
|
4133
|
-
n("div",
|
4134
|
-
n("div",
|
4136
|
+
n("div", Vi, [
|
4137
|
+
n("div", Ii, [
|
4135
4138
|
n("div", {
|
4136
4139
|
class: "absolute top-0 left-0 bg-oc-primary rounded-full h-2",
|
4137
4140
|
style: se({ width: `${e.value}%` })
|
4138
4141
|
}, null, 4)
|
4139
4142
|
]),
|
4140
|
-
n("div",
|
4143
|
+
n("div", Ti, [
|
4141
4144
|
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",
|
4145
|
+
n("span", Di, $(e.infoLabel), 1)
|
4143
4146
|
])
|
4144
4147
|
])
|
4145
4148
|
]));
|
4146
4149
|
}
|
4147
|
-
},
|
4150
|
+
}, Ai = { class: "py-7 flex flex-col gap-y-3 px-4" }, Mi = { class: "flex flex-col gap-y-2" }, ji = ["onClick"], Fm = /* @__PURE__ */ Z({
|
4148
4151
|
__name: "OcSubSidebar",
|
4149
4152
|
props: {
|
4150
4153
|
title: {
|
@@ -4162,7 +4165,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4162
4165
|
},
|
4163
4166
|
emits: ["titleClick", "update:modelValue"],
|
4164
4167
|
setup(e) {
|
4165
|
-
return (i, a) => (t(), r("div",
|
4168
|
+
return (i, a) => (t(), r("div", Ai, [
|
4166
4169
|
e.title ? (t(), r("div", {
|
4167
4170
|
key: 0,
|
4168
4171
|
class: "py-4 gap-x-3 whitespace-nowrap cursor-pointer flex font-medium items-center",
|
@@ -4176,7 +4179,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4176
4179
|
}),
|
4177
4180
|
W(" " + $(e.title), 1)
|
4178
4181
|
])) : m("", !0),
|
4179
|
-
n("div",
|
4182
|
+
n("div", Mi, [
|
4180
4183
|
(t(!0), r(L, null, R(e.menu, (l, o) => (t(), r("div", {
|
4181
4184
|
key: o,
|
4182
4185
|
class: v([
|
@@ -4184,11 +4187,11 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4184
4187
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
4185
4188
|
]),
|
4186
4189
|
onClick: (d) => i.$emit("update:modelValue", l.value)
|
4187
|
-
}, $(l.label), 11,
|
4190
|
+
}, $(l.label), 11, ji))), 128))
|
4188
4191
|
])
|
4189
4192
|
]));
|
4190
4193
|
}
|
4191
|
-
}),
|
4194
|
+
}), Pi = { class: "relative" }, Um = {
|
4192
4195
|
__name: "OcEmptyPage",
|
4193
4196
|
props: {
|
4194
4197
|
isButton: {
|
@@ -4286,7 +4289,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4286
4289
|
return (a, l) => (t(), r("div", {
|
4287
4290
|
class: v(["flex flex-col items-center", i.value[e.size].box])
|
4288
4291
|
}, [
|
4289
|
-
n("div",
|
4292
|
+
n("div", Pi, [
|
4290
4293
|
n("div", {
|
4291
4294
|
class: v(["flex justify-center border rounded-full items-center aspect-square", [
|
4292
4295
|
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 +4330,16 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4327
4330
|
}, null, 8, ["label", "left-icon"])) : m("", !0)
|
4328
4331
|
], 2));
|
4329
4332
|
}
|
4330
|
-
},
|
4333
|
+
}, Li = {
|
4331
4334
|
key: 0,
|
4332
4335
|
class: "min-w-[138px] flex flex-col gap-y-3"
|
4333
|
-
},
|
4336
|
+
}, Ei = {
|
4334
4337
|
key: 1,
|
4335
4338
|
class: "flex gap-x-4 items-center"
|
4336
|
-
},
|
4339
|
+
}, zi = { class: "flex flex-col gap-y-2" }, Ni = { class: "flex items-center gap-x-2" }, Ri = { class: "text-oc-text-400 text-sm" }, Fi = {
|
4337
4340
|
key: 0,
|
4338
4341
|
class: "flex justify-center items-center w-[38px] h-[38px] shrink-0 rounded-full bg-oc-gray-100"
|
4339
|
-
},
|
4342
|
+
}, Ui = {
|
4340
4343
|
__name: "OcInfoCardButton",
|
4341
4344
|
props: {
|
4342
4345
|
isActive: Boolean,
|
@@ -4355,19 +4358,19 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4355
4358
|
e.isLoading ? "p-3" : "px-5 py-4 min-h-[62px] max-h-[76px]"
|
4356
4359
|
]])
|
4357
4360
|
}, [
|
4358
|
-
e.isLoading ? (t(), r("div",
|
4361
|
+
e.isLoading ? (t(), r("div", Li, [
|
4359
4362
|
y(s(Se), { class: "h-[14px] w-[80%] rounded-sm" }),
|
4360
4363
|
y(s(Se), { class: "h-[20px] w-full rounded-sm" })
|
4361
|
-
])) : (t(), r("div",
|
4362
|
-
n("div",
|
4363
|
-
n("div",
|
4364
|
-
n("span",
|
4364
|
+
])) : (t(), r("div", Ei, [
|
4365
|
+
n("div", zi, [
|
4366
|
+
n("div", Ni, [
|
4367
|
+
n("span", Ri, $(e.title), 1),
|
4365
4368
|
e.chipOptions ? (t(), p(s(ae), me(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
4366
4369
|
]),
|
4367
4370
|
n("span", {
|
4368
4371
|
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
4372
|
}, [
|
4370
|
-
e.countryIso ? (t(), r("div",
|
4373
|
+
e.countryIso ? (t(), r("div", Fi, [
|
4371
4374
|
y(s(V), {
|
4372
4375
|
class: "!rounded-[1px]",
|
4373
4376
|
name: `flags/${e.countryIso.toUpperCase()}`
|
@@ -4380,7 +4383,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4380
4383
|
]))
|
4381
4384
|
], 2));
|
4382
4385
|
}
|
4383
|
-
},
|
4386
|
+
}, qi = { class: "flex items-center gap-x-4 overflow-hidden" }, Hi = { class: "flex gap-x-2 overflow-auto" }, Yi = ["alt", "src"], Wi = {
|
4384
4387
|
__name: "OcPaymentMethods",
|
4385
4388
|
props: {
|
4386
4389
|
methods: {
|
@@ -4389,23 +4392,23 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4389
4392
|
}
|
4390
4393
|
},
|
4391
4394
|
setup(e) {
|
4392
|
-
return (i, a) => (t(), r("div",
|
4395
|
+
return (i, a) => (t(), r("div", qi, [
|
4393
4396
|
a[0] || (a[0] = n("span", { class: "text-xs shrink-0 font-medium text-oc-text-300 uppercase" }, " Payment methods ", -1)),
|
4394
|
-
n("div",
|
4397
|
+
n("div", Hi, [
|
4395
4398
|
(t(!0), r(L, null, R(e.methods, (l) => (t(), r("img", {
|
4396
4399
|
key: l,
|
4397
4400
|
width: "35",
|
4398
4401
|
alt: l,
|
4399
4402
|
height: "24",
|
4400
4403
|
src: l
|
4401
|
-
}, null, 8,
|
4404
|
+
}, null, 8, Yi))), 128))
|
4402
4405
|
])
|
4403
4406
|
]));
|
4404
4407
|
}
|
4405
|
-
},
|
4408
|
+
}, Ki = { class: "flex justify-between md:flex-row flex-col gap-y-3 gap-x-4 md:gap-y-0" }, Gi = { key: 2 }, Xi = {
|
4406
4409
|
key: 4,
|
4407
4410
|
class: "flex shrink-0 gap-x-3"
|
4408
|
-
},
|
4411
|
+
}, Ji = {
|
4409
4412
|
__name: "OcTopActions",
|
4410
4413
|
props: {
|
4411
4414
|
moreButtonProps: Object,
|
@@ -4428,19 +4431,19 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4428
4431
|
const i = M(!1);
|
4429
4432
|
return (a, l) => {
|
4430
4433
|
var o;
|
4431
|
-
return t(), r("div",
|
4434
|
+
return t(), r("div", Ki, [
|
4432
4435
|
e.isLoading ? (t(), p(s(Se), {
|
4433
4436
|
key: 0,
|
4434
4437
|
class: "h-[20px] w-[322px] rounded-sm"
|
4435
4438
|
})) : m("", !0),
|
4436
|
-
!e.isLoading && e.paymentMethods.length ? (t(), p(
|
4439
|
+
!e.isLoading && e.paymentMethods.length ? (t(), p(Wi, {
|
4437
4440
|
key: 1,
|
4438
4441
|
methods: e.paymentMethods
|
4439
|
-
}, null, 8, ["methods"])) : (t(), r("div",
|
4442
|
+
}, null, 8, ["methods"])) : (t(), r("div", Gi)),
|
4440
4443
|
e.isLoading ? (t(), p(s(Se), {
|
4441
4444
|
key: 3,
|
4442
4445
|
class: "h-[20px] w-[168px] rounded-sm"
|
4443
|
-
})) : (t(), r("div",
|
4446
|
+
})) : (t(), r("div", Xi, [
|
4444
4447
|
y(s(oe), F({
|
4445
4448
|
modelValue: i.value,
|
4446
4449
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => i.value = d),
|
@@ -4486,7 +4489,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4486
4489
|
]);
|
4487
4490
|
};
|
4488
4491
|
}
|
4489
|
-
},
|
4492
|
+
}, Zi = { class: "flex flex-col gap-y-5" }, Qi = { class: "flex gap-x-5 overflow-x-auto" }, _i = {
|
4490
4493
|
__name: "OcBalanceOverview",
|
4491
4494
|
props: {
|
4492
4495
|
overviewItems: {
|
@@ -4522,10 +4525,10 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4522
4525
|
changeTab: []
|
4523
4526
|
},
|
4524
4527
|
setup(e) {
|
4525
|
-
return (i, a) => (t(), r("div",
|
4526
|
-
n("div",
|
4528
|
+
return (i, a) => (t(), r("div", Zi, [
|
4529
|
+
n("div", Qi, [
|
4527
4530
|
(t(!0), r(L, null, R(e.isLoading ? 2 : e.overviewTabs, (l) => S(i.$slots, l.value, { tab: l }, () => [
|
4528
|
-
(t(), p(
|
4531
|
+
(t(), p(Ui, {
|
4529
4532
|
key: l.value,
|
4530
4533
|
title: l.title,
|
4531
4534
|
"is-loading": e.isLoading,
|
@@ -4540,7 +4543,7 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4540
4543
|
])), 256))
|
4541
4544
|
]),
|
4542
4545
|
a[0] || (a[0] = n("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
4543
|
-
y(
|
4546
|
+
y(Ji, {
|
4544
4547
|
"is-loading": e.isLoading,
|
4545
4548
|
"more-button-props": e.moreButtonProps,
|
4546
4549
|
"secondary-button-props": e.secondaryButtonProps,
|
@@ -4561,19 +4564,19 @@ const Tm = /* @__PURE__ */ he(_n, [["render", to]]), lo = { class: "flex items-c
|
|
4561
4564
|
}, 8, ["is-loading", "items", "container-class"])
|
4562
4565
|
]));
|
4563
4566
|
}
|
4564
|
-
},
|
4565
|
-
function
|
4566
|
-
return t(), r("div",
|
4567
|
+
}, es = {}, ts = { 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" };
|
4568
|
+
function ls(e, i) {
|
4569
|
+
return t(), r("div", ts, [
|
4567
4570
|
S(e.$slots, "default")
|
4568
4571
|
]);
|
4569
4572
|
}
|
4570
|
-
const at = /* @__PURE__ */ he(
|
4573
|
+
const at = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns = {
|
4571
4574
|
key: 0,
|
4572
4575
|
class: "p-2"
|
4573
|
-
},
|
4576
|
+
}, os = { class: "py-2 px-3" }, is = {
|
4574
4577
|
key: 0,
|
4575
4578
|
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
|
-
},
|
4579
|
+
}, ss = { class: "p-5 flex items-center justify-between" }, rs = { class: "px-5 flex-1 flex flex-col gap-y-5" }, ds = /* @__PURE__ */ Z({
|
4577
4580
|
__name: "MobileDynamicType",
|
4578
4581
|
props: {
|
4579
4582
|
boxes: { type: Array, default: () => [] },
|
@@ -4589,7 +4592,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4589
4592
|
default: k(() => {
|
4590
4593
|
var o, d;
|
4591
4594
|
return [
|
4592
|
-
n("div",
|
4595
|
+
n("div", as, [
|
4593
4596
|
(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
4597
|
key: u,
|
4595
4598
|
"is-transparent": "",
|
@@ -4609,12 +4612,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4609
4612
|
key: "0"
|
4610
4613
|
} : void 0
|
4611
4614
|
]), 1040, ["title", "content", "class", "is-loading"]))), 128)),
|
4612
|
-
(d = e.boxes[0]) != null && d.showInfo ? (t(), r("div",
|
4615
|
+
(d = e.boxes[0]) != null && d.showInfo ? (t(), r("div", ns, [
|
4613
4616
|
y(s(le), null, {
|
4614
4617
|
popper: k(() => {
|
4615
4618
|
var c;
|
4616
4619
|
return [
|
4617
|
-
n("div",
|
4620
|
+
n("div", os, $((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
4618
4621
|
];
|
4619
4622
|
}),
|
4620
4623
|
default: k(() => [
|
@@ -4652,8 +4655,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4652
4655
|
}),
|
4653
4656
|
y(Me, { name: "slide-from-right" }, {
|
4654
4657
|
default: k(() => [
|
4655
|
-
i.value ? (t(), r("div",
|
4656
|
-
n("div",
|
4658
|
+
i.value ? (t(), r("div", is, [
|
4659
|
+
n("div", ss, [
|
4657
4660
|
l[4] || (l[4] = n("span", { class: "font-medium" }, "Details", -1)),
|
4658
4661
|
y(s(G), {
|
4659
4662
|
size: "small",
|
@@ -4665,7 +4668,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4665
4668
|
onClick: l[2] || (l[2] = (o) => i.value = !1)
|
4666
4669
|
})
|
4667
4670
|
]),
|
4668
|
-
n("div",
|
4671
|
+
n("div", rs, [
|
4669
4672
|
(t(!0), r(L, null, R(e.boxes, (o, d) => (t(), p(at, { key: d }, {
|
4670
4673
|
default: k(() => [
|
4671
4674
|
(t(!0), r(L, null, R(o.items, (c, u) => (t(), p(s(qe), F({
|
@@ -4703,7 +4706,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4703
4706
|
})
|
4704
4707
|
]));
|
4705
4708
|
}
|
4706
|
-
}),
|
4709
|
+
}), cs = { class: "hidden md:flex md:gap-5 gap-3 md:flex-row flex-col" }, us = { class: "py-2 px-3" }, ms = {
|
4707
4710
|
__name: "OcDynamicType",
|
4708
4711
|
props: {
|
4709
4712
|
boxes: { type: Array, default: () => [] },
|
@@ -4716,7 +4719,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4716
4719
|
emits: ["addCustomer", "editCustomer"],
|
4717
4720
|
setup(e) {
|
4718
4721
|
return (i, a) => (t(), r(L, null, [
|
4719
|
-
n("div",
|
4722
|
+
n("div", cs, [
|
4720
4723
|
(t(!0), r(L, null, R(e.boxes, (l, o) => (t(), p(at, {
|
4721
4724
|
key: o,
|
4722
4725
|
class: v(
|
@@ -4753,7 +4756,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4753
4756
|
y(s(le), { "popper-options": { strategy: "fixed" } }, {
|
4754
4757
|
popper: k(() => [
|
4755
4758
|
S(i.$slots, l.infoTooltipSlot, {}, () => [
|
4756
|
-
n("div",
|
4759
|
+
n("div", us, $(l.infoTooltip), 1)
|
4757
4760
|
])
|
4758
4761
|
]),
|
4759
4762
|
default: k(() => [
|
@@ -4796,7 +4799,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4796
4799
|
} : void 0
|
4797
4800
|
]), 1032, ["variant", "customer", "is-hover", "is-edit"])) : m("", !0)
|
4798
4801
|
]),
|
4799
|
-
y(
|
4802
|
+
y(ds, {
|
4800
4803
|
class: "flex md:hidden",
|
4801
4804
|
boxes: e.boxes,
|
4802
4805
|
"is-customer": e.isCustomer,
|
@@ -4813,7 +4816,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4813
4816
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
4814
4817
|
], 64));
|
4815
4818
|
}
|
4816
|
-
},
|
4819
|
+
}, fs = { class: "md:pt-5 pt-0 md:px-10 px-5" }, vs = { class: "flex items-center gap-x-3" }, gs = { class: "font-medium" }, ps = { class: "flex items-center gap-x-2 max-w-full" }, ys = ["href"], xs = { class: "truncate" }, hs = { class: "text-oc-text whitespace-nowrap" }, qm = {
|
4817
4820
|
__name: "OcAdditionalContent",
|
4818
4821
|
props: {
|
4819
4822
|
mainLink: { type: String, default: "" },
|
@@ -4862,7 +4865,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4862
4865
|
console.error("Unable to copy text to clipboard. Error: ", l);
|
4863
4866
|
}
|
4864
4867
|
};
|
4865
|
-
return (l, o) => (t(), r("div",
|
4868
|
+
return (l, o) => (t(), r("div", fs, [
|
4866
4869
|
e.variant === "default" ? (t(), p(Ot, {
|
4867
4870
|
key: 0,
|
4868
4871
|
description: e.mainLink,
|
@@ -4870,8 +4873,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4870
4873
|
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
4874
|
}, {
|
4872
4875
|
title: k(() => [
|
4873
|
-
n("div",
|
4874
|
-
n("span",
|
4876
|
+
n("div", vs, [
|
4877
|
+
n("span", gs, $(e.additionalTitle), 1),
|
4875
4878
|
e.chipVariant ? (t(), p(s(ae), {
|
4876
4879
|
key: 0,
|
4877
4880
|
variant: e.chipVariant,
|
@@ -4880,15 +4883,15 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4880
4883
|
])
|
4881
4884
|
]),
|
4882
4885
|
description: k(() => [
|
4883
|
-
n("div",
|
4886
|
+
n("div", ps, [
|
4884
4887
|
n("a", {
|
4885
4888
|
href: e.href || `${e.mainLink}${e.userId}`,
|
4886
4889
|
target: "_blank",
|
4887
4890
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
4888
4891
|
}, [
|
4889
|
-
n("div",
|
4890
|
-
n("div",
|
4891
|
-
], 8,
|
4892
|
+
n("div", xs, $(e.mainLink), 1),
|
4893
|
+
n("div", hs, $(e.userId), 1)
|
4894
|
+
], 8, ys),
|
4892
4895
|
y(s(Ao), {
|
4893
4896
|
"primary-actions": e.primaryActions,
|
4894
4897
|
onCopy: a
|
@@ -4896,7 +4899,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4896
4899
|
])
|
4897
4900
|
]),
|
4898
4901
|
_: 1
|
4899
|
-
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(
|
4902
|
+
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), p(ms, {
|
4900
4903
|
key: 1,
|
4901
4904
|
boxes: e.boxes,
|
4902
4905
|
"customer-card-variant": e.customerCardVariant,
|
@@ -4914,7 +4917,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4914
4917
|
S(l.$slots, c, me(Te(u)))
|
4915
4918
|
])
|
4916
4919
|
}))
|
4917
|
-
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(
|
4920
|
+
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), p(_i, {
|
4918
4921
|
key: 2,
|
4919
4922
|
"overview-items": e.overviewItems,
|
4920
4923
|
"overview-tabs": e.overviewTabs,
|
@@ -4938,13 +4941,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4938
4941
|
]), 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
4942
|
]));
|
4940
4943
|
}
|
4941
|
-
},
|
4944
|
+
}, bs = { class: "send-money-initial-state relative border rounded" }, ws = { class: "z-10 p-7 flex flex-col relative" }, $s = { class: "text-xl font-medium mb-4" }, ks = {
|
4942
4945
|
key: 0,
|
4943
4946
|
class: "text-oc-text-400 mb-10"
|
4944
|
-
},
|
4947
|
+
}, Ss = {
|
4945
4948
|
key: 1,
|
4946
4949
|
class: "flex gap-4 flex-wrap"
|
4947
|
-
},
|
4950
|
+
}, Cs = { class: "text-sm font-medium" }, Bs = {
|
4948
4951
|
__name: "OcFeatureOverviewCard",
|
4949
4952
|
props: {
|
4950
4953
|
title: {
|
@@ -4964,11 +4967,11 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4964
4967
|
setup(e) {
|
4965
4968
|
return (i, a) => {
|
4966
4969
|
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",
|
4970
|
+
return t(), r("div", bs, [
|
4971
|
+
n("div", ws, [
|
4972
|
+
n("h2", $s, $(e.title), 1),
|
4973
|
+
e.description ? (t(), r("p", ks, $(e.description), 1)) : m("", !0),
|
4974
|
+
(l = e.features) != null && l.length ? (t(), r("div", Ss, [
|
4972
4975
|
(t(!0), r(L, null, R(e.features, (o) => (t(), r("div", {
|
4973
4976
|
key: o.title,
|
4974
4977
|
class: "rounded bg-white flex flex-col gap-2 p-6 items-center justify-center relative"
|
@@ -4984,14 +4987,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
4984
4987
|
height: "56",
|
4985
4988
|
width: "56"
|
4986
4989
|
}, null, 8, ["name"]),
|
4987
|
-
n("span",
|
4990
|
+
n("span", Cs, $(o.title), 1)
|
4988
4991
|
]))), 128))
|
4989
4992
|
])) : m("", !0)
|
4990
4993
|
])
|
4991
4994
|
]);
|
4992
4995
|
};
|
4993
4996
|
}
|
4994
|
-
},
|
4997
|
+
}, Hm = /* @__PURE__ */ he(Bs, [["__scopeId", "data-v-d658d1d3"]]), Os = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, Vs = { class: "text-sm" }, Ym = /* @__PURE__ */ Z({
|
4995
4998
|
__name: "OcSandboxBanner",
|
4996
4999
|
props: {
|
4997
5000
|
title: {
|
@@ -5004,15 +5007,15 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5004
5007
|
}
|
5005
5008
|
},
|
5006
5009
|
setup(e) {
|
5007
|
-
return (i, a) => (t(), r("div",
|
5008
|
-
n("span",
|
5010
|
+
return (i, a) => (t(), r("div", Os, [
|
5011
|
+
n("span", Vs, $(e.title), 1),
|
5009
5012
|
e.chipProps ? (t(), p(s(ae), F({
|
5010
5013
|
key: 0,
|
5011
5014
|
class: "absolute left-[40px]"
|
5012
5015
|
}, e.chipProps), null, 16)) : m("", !0)
|
5013
5016
|
]));
|
5014
5017
|
}
|
5015
|
-
}),
|
5018
|
+
}), Is = { class: "flex flex-col text-center gap-y-3" }, Ts = { class: "text-lg font-medium" }, Ds = { class: "text-sm text-oc-text-400" }, Wm = /* @__PURE__ */ Z({
|
5016
5019
|
__name: "OcBox",
|
5017
5020
|
props: {
|
5018
5021
|
icon: String,
|
@@ -5033,13 +5036,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5033
5036
|
height: e.height,
|
5034
5037
|
variant: e.variant
|
5035
5038
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
5036
|
-
n("div",
|
5037
|
-
n("span",
|
5038
|
-
n("span",
|
5039
|
+
n("div", Is, [
|
5040
|
+
n("span", Ts, $(e.title), 1),
|
5041
|
+
n("span", Ds, $(e.description), 1)
|
5039
5042
|
])
|
5040
5043
|
], 2));
|
5041
5044
|
}
|
5042
|
-
}),
|
5045
|
+
}), Km = /* @__PURE__ */ Z({
|
5043
5046
|
__name: "OcAuthenticationOption",
|
5044
5047
|
props: {
|
5045
5048
|
icon: String,
|
@@ -5065,7 +5068,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5065
5068
|
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
5069
|
], 2));
|
5067
5070
|
}
|
5068
|
-
}),
|
5071
|
+
}), As = { class: "flex items-center" }, Ms = { class: "flex flex-1 items-center gap-x-3" }, js = { class: "font-medium text-lg" }, Gm = /* @__PURE__ */ Z({
|
5069
5072
|
__name: "OcVerificationOption",
|
5070
5073
|
props: {
|
5071
5074
|
title: {
|
@@ -5089,10 +5092,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5089
5092
|
return (i, a) => (t(), r("div", {
|
5090
5093
|
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
5094
|
}, [
|
5092
|
-
n("div",
|
5093
|
-
n("div",
|
5095
|
+
n("div", As, [
|
5096
|
+
n("div", Ms, [
|
5094
5097
|
S(i.$slots, "title", {}, () => [
|
5095
|
-
n("span",
|
5098
|
+
n("span", js, $(e.title), 1)
|
5096
5099
|
]),
|
5097
5100
|
e.chipOptions ? (t(), p(s(ae), me(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
5098
5101
|
]),
|
@@ -5107,13 +5110,13 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5107
5110
|
S(i.$slots, "content")
|
5108
5111
|
], 2));
|
5109
5112
|
}
|
5110
|
-
}),
|
5113
|
+
}), Ps = {
|
5111
5114
|
key: 0,
|
5112
5115
|
class: "flex flex-col gap-y-4 w-full"
|
5113
|
-
},
|
5116
|
+
}, Ls = { class: "flex flex-col gap-y-3" }, Es = { class: "font-medium text-oc-text" }, zs = { class: "text-oc-text-400" }, Ns = { class: "flex gap-x-3" }, Rs = {
|
5114
5117
|
key: 0,
|
5115
5118
|
class: "text-oc-text"
|
5116
|
-
},
|
5119
|
+
}, Fs = ["innerHTML"], Xm = {
|
5117
5120
|
__name: "OcSnackbar",
|
5118
5121
|
props: {
|
5119
5122
|
modelValue: {
|
@@ -5242,12 +5245,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5242
5245
|
}, null, 8, ["name", "width", "height"]))
|
5243
5246
|
], 64)) : m("", !0),
|
5244
5247
|
S(h.$slots, "default", {}, () => [
|
5245
|
-
f.value ? (t(), r("div",
|
5246
|
-
n("div",
|
5247
|
-
n("span",
|
5248
|
-
n("span",
|
5248
|
+
f.value ? (t(), r("div", Ps, [
|
5249
|
+
n("div", Ls, [
|
5250
|
+
n("span", Es, $(e.title), 1),
|
5251
|
+
n("span", zs, $(e.description), 1)
|
5249
5252
|
]),
|
5250
|
-
n("div",
|
5253
|
+
n("div", Ns, [
|
5251
5254
|
e.secondaryButton ? (t(), p(s(G), F({
|
5252
5255
|
key: 0,
|
5253
5256
|
variant: "secondary",
|
@@ -5266,7 +5269,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5266
5269
|
key: 1,
|
5267
5270
|
class: "text-oc-text",
|
5268
5271
|
innerHTML: e.content
|
5269
|
-
}, null, 8,
|
5272
|
+
}, null, 8, Fs)) : (t(), r("span", Rs, $(e.content), 1))
|
5270
5273
|
], 2))
|
5271
5274
|
]),
|
5272
5275
|
e.dismissible ? (t(), r("div", {
|
@@ -5287,7 +5290,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5287
5290
|
_: 3
|
5288
5291
|
}, 8, ["name"]));
|
5289
5292
|
}
|
5290
|
-
},
|
5293
|
+
}, Us = { class: "flex items-center gap-3" }, qs = { class: "text-oc-text-500" }, Hs = { class: "p-4 text-sm" }, Ys = {
|
5291
5294
|
__name: "OcBanner",
|
5292
5295
|
props: {
|
5293
5296
|
modelValue: {
|
@@ -5346,7 +5349,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5346
5349
|
n("div", {
|
5347
5350
|
class: v(["flex flex-1 items-center justify-between gap-3 min-h-[34px] px-4 text-sm", s(i)[e.color]])
|
5348
5351
|
}, [
|
5349
|
-
n("div",
|
5352
|
+
n("div", Us, [
|
5350
5353
|
e.showIcon ? (t(), p(s(V), {
|
5351
5354
|
key: 0,
|
5352
5355
|
name: e.icon,
|
@@ -5355,7 +5358,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5355
5358
|
height: "16"
|
5356
5359
|
}, null, 8, ["name"])) : m("", !0),
|
5357
5360
|
S(l.$slots, "title", {}, () => [
|
5358
|
-
n("div",
|
5361
|
+
n("div", qs, $(e.title), 1)
|
5359
5362
|
], !0)
|
5360
5363
|
]),
|
5361
5364
|
e.dismissible ? (t(), p(s(G), {
|
@@ -5366,7 +5369,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5366
5369
|
onClick: o[0] || (o[0] = (d) => l.$emit("update:modelValue", !1))
|
5367
5370
|
})) : m("", !0)
|
5368
5371
|
], 2),
|
5369
|
-
n("div",
|
5372
|
+
n("div", Hs, [
|
5370
5373
|
S(l.$slots, "default", {}, () => [
|
5371
5374
|
W($(e.content), 1)
|
5372
5375
|
], !0)
|
@@ -5378,10 +5381,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5378
5381
|
_: 3
|
5379
5382
|
}, 8, ["name"]));
|
5380
5383
|
}
|
5381
|
-
},
|
5384
|
+
}, Jm = /* @__PURE__ */ he(Ys, [["__scopeId", "data-v-d8517c87"]]), Ws = { class: "rounded-full share-icon w-fit cursor-pointer text-oc-text-400 p-3 border border-gray-200" }, Ks = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Gs = {
|
5382
5385
|
key: 1,
|
5383
5386
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
5384
|
-
},
|
5387
|
+
}, Xs = { class: "text-sm" }, Zm = {
|
5385
5388
|
__name: "OcShareIcon",
|
5386
5389
|
props: {
|
5387
5390
|
text: String,
|
@@ -5394,10 +5397,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5394
5397
|
setup(e) {
|
5395
5398
|
return (i, a) => e.isOnlyIcon ? (t(), p(s(le), me(F({ key: 0 }, e.tooltipOptions)), {
|
5396
5399
|
popper: k(() => [
|
5397
|
-
n("div",
|
5400
|
+
n("div", Ks, $(e.text), 1)
|
5398
5401
|
]),
|
5399
5402
|
default: k(() => [
|
5400
|
-
n("div",
|
5403
|
+
n("div", Ws, [
|
5401
5404
|
y(s(V), {
|
5402
5405
|
name: e.icon,
|
5403
5406
|
width: "20",
|
@@ -5406,25 +5409,25 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5406
5409
|
])
|
5407
5410
|
]),
|
5408
5411
|
_: 1
|
5409
|
-
}, 16)) : (t(), r("div",
|
5412
|
+
}, 16)) : (t(), r("div", Gs, [
|
5410
5413
|
y(s(V), {
|
5411
5414
|
name: e.icon,
|
5412
5415
|
width: "20",
|
5413
5416
|
height: "20"
|
5414
5417
|
}, null, 8, ["name"]),
|
5415
|
-
n("span",
|
5418
|
+
n("span", Xs, $(e.text), 1)
|
5416
5419
|
]));
|
5417
5420
|
}
|
5418
|
-
},
|
5421
|
+
}, Js = { class: "flex flex-col gap-y-2 w-full" }, Zs = { class: "flex gap-x-1 items-center" }, Qs = {
|
5419
5422
|
key: 0,
|
5420
5423
|
class: "text-oc-error"
|
5421
|
-
},
|
5424
|
+
}, _s = {
|
5422
5425
|
key: 0,
|
5423
5426
|
class: "px-3 py-2"
|
5424
|
-
},
|
5427
|
+
}, er = {
|
5425
5428
|
key: 1,
|
5426
5429
|
class: "text-sm flex items-center text-oc-text-400"
|
5427
|
-
},
|
5430
|
+
}, tr = {
|
5428
5431
|
key: 2,
|
5429
5432
|
class: "text-sm text-oc-error flex items-center"
|
5430
5433
|
}, pe = {
|
@@ -5440,19 +5443,19 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5440
5443
|
labelClass: String
|
5441
5444
|
},
|
5442
5445
|
setup(e) {
|
5443
|
-
return (i, a) => (t(), r("div",
|
5446
|
+
return (i, a) => (t(), r("div", Js, [
|
5444
5447
|
e.label ? (t(), r("label", {
|
5445
5448
|
key: 0,
|
5446
5449
|
class: v(["text-sm flex items-center gap-x-3 font-medium text-oc-text-400", e.labelClass])
|
5447
5450
|
}, [
|
5448
|
-
n("span",
|
5451
|
+
n("span", Zs, [
|
5449
5452
|
W($(e.label) + " ", 1),
|
5450
|
-
e.isRequired ? (t(), r("span",
|
5453
|
+
e.isRequired ? (t(), r("span", Qs, "*")) : m("", !0)
|
5451
5454
|
]),
|
5452
5455
|
e.labelIcon ? (t(), p(s(le), me(F({ key: 0 }, e.tooltipOptions)), {
|
5453
5456
|
popper: k(() => [
|
5454
5457
|
S(i.$slots, "tooltipText", {}, () => [
|
5455
|
-
e.tooltipText ? (t(), r("div",
|
5458
|
+
e.tooltipText ? (t(), r("div", _s, $(e.tooltipText), 1)) : m("", !0)
|
5456
5459
|
])
|
5457
5460
|
]),
|
5458
5461
|
default: k(() => [
|
@@ -5466,18 +5469,18 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5466
5469
|
}, 16)) : m("", !0)
|
5467
5470
|
], 2)) : m("", !0),
|
5468
5471
|
S(i.$slots, "default"),
|
5469
|
-
(e.hint || i.$slots.hint) && !e.errorMessage ? (t(), r("div",
|
5472
|
+
(e.hint || i.$slots.hint) && !e.errorMessage ? (t(), r("div", er, [
|
5470
5473
|
S(i.$slots, "hint", {}, () => [
|
5471
5474
|
W($(e.hint), 1)
|
5472
5475
|
])
|
5473
5476
|
])) : m("", !0),
|
5474
|
-
e.errorMessage ? (t(), r("div",
|
5477
|
+
e.errorMessage ? (t(), r("div", tr, $(e.errorMessage), 1)) : m("", !0)
|
5475
5478
|
]));
|
5476
5479
|
}
|
5477
|
-
},
|
5480
|
+
}, lr = ["disabled"], ar = {
|
5478
5481
|
key: 2,
|
5479
5482
|
class: "overflow-hidden text-ellipsis"
|
5480
|
-
},
|
5483
|
+
}, nr = {
|
5481
5484
|
__name: "OcButton",
|
5482
5485
|
props: {
|
5483
5486
|
label: String,
|
@@ -5558,7 +5561,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5558
5561
|
height: b.value[e.size],
|
5559
5562
|
name: e.leftIcon
|
5560
5563
|
}, null, 8, ["width", "class", "height", "name"])) : m("", !0),
|
5561
|
-
e.label ? (t(), r("span",
|
5564
|
+
e.label ? (t(), r("span", ar, $(e.label), 1)) : S(T.$slots, "default", { key: 3 }, void 0, !0),
|
5562
5565
|
e.rightIcon ? (t(), p(s(V), {
|
5563
5566
|
key: 4,
|
5564
5567
|
width: b.value[e.size],
|
@@ -5566,7 +5569,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5566
5569
|
name: e.rightIcon,
|
5567
5570
|
class: v(e.iconClass)
|
5568
5571
|
}, null, 8, ["width", "height", "name", "class"])) : m("", !0)
|
5569
|
-
], 42,
|
5572
|
+
], 42, lr),
|
5570
5573
|
e.isAdditionalArea && !e.isTransparent ? (t(), r("div", {
|
5571
5574
|
key: 0,
|
5572
5575
|
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 +5584,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5581
5584
|
], 2)) : m("", !0)
|
5582
5585
|
], 2));
|
5583
5586
|
}
|
5584
|
-
}, G = /* @__PURE__ */ he(
|
5587
|
+
}, G = /* @__PURE__ */ he(nr, [["__scopeId", "data-v-af49bb32"]]), or = { class: "w-[30px] h-[20px] flex items-center justify-center" }, ir = {
|
5585
5588
|
__name: "OcCardInput",
|
5586
5589
|
props: {
|
5587
5590
|
placeholder: String,
|
@@ -5628,7 +5631,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5628
5631
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => i.$emit("update:modelValue", l))
|
5629
5632
|
}, {
|
5630
5633
|
icon: k(() => [
|
5631
|
-
n("div",
|
5634
|
+
n("div", or, [
|
5632
5635
|
y(s(V), {
|
5633
5636
|
name: `payment-methods/${e.cardType}`,
|
5634
5637
|
width: "20",
|
@@ -5639,7 +5642,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5639
5642
|
_: 1
|
5640
5643
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5641
5644
|
}
|
5642
|
-
},
|
5645
|
+
}, sr = ["value", "checked", "disabled"], De = {
|
5643
5646
|
__name: "OcCheckbox",
|
5644
5647
|
props: {
|
5645
5648
|
modelValue: Boolean,
|
@@ -5698,14 +5701,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5698
5701
|
class: "h-0 w-0 hidden",
|
5699
5702
|
disabled: e.isDisabled,
|
5700
5703
|
onChange: d
|
5701
|
-
}, null, 40,
|
5704
|
+
}, null, 40, sr),
|
5702
5705
|
S(c.$slots, "after")
|
5703
5706
|
], 2)
|
5704
5707
|
]),
|
5705
5708
|
_: 3
|
5706
5709
|
}, 8, ["label", "hint", "error-message"]));
|
5707
5710
|
}
|
5708
|
-
},
|
5711
|
+
}, rr = {
|
5709
5712
|
__name: "OcCheckboxesGroup",
|
5710
5713
|
props: {
|
5711
5714
|
alignment: {
|
@@ -5784,14 +5787,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5784
5787
|
_: 1
|
5785
5788
|
}, 8, ["label", "error-message", "hint"]));
|
5786
5789
|
}
|
5787
|
-
},
|
5790
|
+
}, dr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, Qm = {
|
5788
5791
|
__name: "OcCriteria",
|
5789
5792
|
props: {
|
5790
5793
|
modelValue: Boolean,
|
5791
5794
|
label: String
|
5792
5795
|
},
|
5793
5796
|
setup(e) {
|
5794
|
-
return (i, a) => (t(), r("div",
|
5797
|
+
return (i, a) => (t(), r("div", dr, [
|
5795
5798
|
n("div", {
|
5796
5799
|
class: v([
|
5797
5800
|
"w-5 h-5 flex items-center justify-center rounded-full border transition-all duration-300",
|
@@ -5810,16 +5813,16 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5810
5813
|
}, $(e.label), 3)) : m("", !0)
|
5811
5814
|
]));
|
5812
5815
|
}
|
5813
|
-
},
|
5816
|
+
}, cr = {
|
5814
5817
|
key: 0,
|
5815
5818
|
class: "border-r border-gray-200 pr-3 py-3"
|
5816
|
-
},
|
5819
|
+
}, ur = { class: "flex flex-1 items-baseline gap-x-2" }, mr = {
|
5817
5820
|
key: 0,
|
5818
5821
|
class: "text-oc-text-300"
|
5819
|
-
},
|
5822
|
+
}, fr = { class: "flex items-center gap-x-1 w-full" }, vr = {
|
5820
5823
|
key: 0,
|
5821
5824
|
class: "text-oc-text-300"
|
5822
|
-
},
|
5825
|
+
}, gr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], xe = {
|
5823
5826
|
__name: "OcInput",
|
5824
5827
|
props: {
|
5825
5828
|
disabled: {
|
@@ -5951,7 +5954,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5951
5954
|
return (j = x.$refs.inputRef) == null ? void 0 : j.focus();
|
5952
5955
|
})
|
5953
5956
|
}, [
|
5954
|
-
x.$slots.trailing ? (t(), r("div",
|
5957
|
+
x.$slots.trailing ? (t(), r("div", cr, [
|
5955
5958
|
S(x.$slots, "trailing")
|
5956
5959
|
])) : m("", !0),
|
5957
5960
|
S(x.$slots, "icon", {}, () => [
|
@@ -5961,10 +5964,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5961
5964
|
name: e.icon
|
5962
5965
|
}, e.iconProps), null, 16, ["name"])) : m("", !0)
|
5963
5966
|
]),
|
5964
|
-
n("div",
|
5965
|
-
e.isInlineLabel && e.label ? (t(), r("label",
|
5966
|
-
n("div",
|
5967
|
-
e.preFill ? (t(), r("span",
|
5967
|
+
n("div", ur, [
|
5968
|
+
e.isInlineLabel && e.label ? (t(), r("label", mr, $(e.label) + ": ", 1)) : m("", !0),
|
5969
|
+
n("div", fr, [
|
5970
|
+
e.preFill ? (t(), r("span", vr, $(e.preFill), 1)) : m("", !0),
|
5968
5971
|
n("input", F({
|
5969
5972
|
ref_key: "inputRef",
|
5970
5973
|
ref: o,
|
@@ -5985,7 +5988,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
5985
5988
|
}),
|
5986
5989
|
onInput: b[2] || (b[2] = (T) => x.$emit("update:modelValue", T.target.value)),
|
5987
5990
|
onPaste: b[3] || (b[3] = (T) => x.$emit("paste"))
|
5988
|
-
}), null, 16,
|
5991
|
+
}), null, 16, gr)
|
5989
5992
|
])
|
5990
5993
|
]),
|
5991
5994
|
x.$slots.leading || h.value ? (t(), r("div", {
|
@@ -6021,10 +6024,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6021
6024
|
} : void 0
|
6022
6025
|
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6023
6026
|
}
|
6024
|
-
},
|
6027
|
+
}, pr = { class: "flex flex-1 items-baseline gap-x-2" }, yr = {
|
6025
6028
|
key: 0,
|
6026
6029
|
class: "text-oc-text-300"
|
6027
|
-
},
|
6030
|
+
}, xr = { class: "w-full flex flex-wrap gap-2" }, hr = { key: 1 }, br = ["value", "readonly", "placeholder", "disabled"], _m = {
|
6028
6031
|
__name: "OcInputOption",
|
6029
6032
|
props: {
|
6030
6033
|
label: String,
|
@@ -6101,8 +6104,8 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6101
6104
|
default: k(() => {
|
6102
6105
|
var A, w;
|
6103
6106
|
return [
|
6104
|
-
n("div",
|
6105
|
-
e.isInlineLabel && e.label ? (t(), r("label",
|
6107
|
+
n("div", pr, [
|
6108
|
+
e.isInlineLabel && e.label ? (t(), r("label", yr, $(e.label) + ": ", 1)) : m("", !0),
|
6106
6109
|
n("div", {
|
6107
6110
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
6108
6111
|
onClick: C[4] || (C[4] = (O) => c.value.focus())
|
@@ -6113,7 +6116,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6113
6116
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
6114
6117
|
}])
|
6115
6118
|
}, [
|
6116
|
-
n("div",
|
6119
|
+
n("div", xr, [
|
6117
6120
|
S(j.$slots, "default", {
|
6118
6121
|
options: x.value,
|
6119
6122
|
areAllOptionsVisible: f.value
|
@@ -6135,7 +6138,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6135
6138
|
name: "minus",
|
6136
6139
|
width: "12",
|
6137
6140
|
height: "12"
|
6138
|
-
})) : (t(), r("span",
|
6141
|
+
})) : (t(), r("span", hr, $(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
6139
6142
|
]),
|
6140
6143
|
_: 1
|
6141
6144
|
})) : m("", !0)
|
@@ -6154,7 +6157,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6154
6157
|
console.log("$event: ", O), h.value = !1, j.$emit("blur", O);
|
6155
6158
|
}),
|
6156
6159
|
onKeyup: C[3] || (C[3] = Ue((O) => T(O.target.value), ["enter"]))
|
6157
|
-
}, null, 42,
|
6160
|
+
}, null, 42, br)
|
6158
6161
|
])
|
6159
6162
|
], 2)
|
6160
6163
|
])
|
@@ -6164,7 +6167,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6164
6167
|
_: 3
|
6165
6168
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6166
6169
|
}
|
6167
|
-
},
|
6170
|
+
}, wr = { class: "flex gap-x-2 items-center" }, $r = { class: "text-oc-text-400 font-medium text-sm" }, kr = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, Sr = ["onClick"], Cr = { class: "text-oc-text-300" }, Br = { class: "text-oc-text-400" }, Or = {
|
6168
6171
|
__name: "OcPhoneInput",
|
6169
6172
|
props: {
|
6170
6173
|
countryCodes: { type: Array, default: () => [] },
|
@@ -6277,7 +6280,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6277
6280
|
ref: j,
|
6278
6281
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
6279
6282
|
}, [
|
6280
|
-
n("div",
|
6283
|
+
n("div", kr, [
|
6281
6284
|
y(s(xe), {
|
6282
6285
|
modelValue: u.value,
|
6283
6286
|
"onUpdate:modelValue": g[0] || (g[0] = (B) => u.value = B),
|
@@ -6311,17 +6314,17 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6311
6314
|
n("div", {
|
6312
6315
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${B.iso.toLowerCase()}`])
|
6313
6316
|
}, null, 2),
|
6314
|
-
n("span",
|
6315
|
-
n("span",
|
6316
|
-
], 10,
|
6317
|
+
n("span", Cr, "+" + $(B.code), 1),
|
6318
|
+
n("span", Br, $(B.country), 1)
|
6319
|
+
], 10, Sr))), 128))
|
6317
6320
|
], 512)
|
6318
6321
|
]),
|
6319
6322
|
default: k(() => [
|
6320
|
-
n("div",
|
6323
|
+
n("div", wr, [
|
6321
6324
|
n("div", {
|
6322
6325
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
6323
6326
|
}, null, 2),
|
6324
|
-
n("span",
|
6327
|
+
n("span", $r, " +" + $(x(d.value)), 1),
|
6325
6328
|
y(s(V), {
|
6326
6329
|
width: "16",
|
6327
6330
|
height: "16",
|
@@ -6337,10 +6340,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6337
6340
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
6338
6341
|
};
|
6339
6342
|
}
|
6340
|
-
},
|
6343
|
+
}, Vr = ["id", "value", "checked", "name", "disabled"], Ir = ["for"], Tr = {
|
6341
6344
|
key: 0,
|
6342
6345
|
class: "px-3 py-2 whitespace-nowrap"
|
6343
|
-
},
|
6346
|
+
}, Dr = {
|
6344
6347
|
__name: "OcRadio",
|
6345
6348
|
props: {
|
6346
6349
|
modelValue: [String, Boolean],
|
@@ -6378,7 +6381,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6378
6381
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
6379
6382
|
type: "radio",
|
6380
6383
|
onInput: a[0] || (a[0] = (l) => i.$emit("update:modelValue", l.target.value))
|
6381
|
-
}, null, 40,
|
6384
|
+
}, null, 40, Vr),
|
6382
6385
|
n("label", {
|
6383
6386
|
for: e.groupName + e.id,
|
6384
6387
|
class: v(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
@@ -6410,7 +6413,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6410
6413
|
e.labelIcon ? (t(), p(s(le), me(F({ key: 2 }, e.tooltipOptions)), {
|
6411
6414
|
popper: k(() => [
|
6412
6415
|
S(i.$slots, "tooltipText", {}, () => [
|
6413
|
-
e.tooltipText ? (t(), r("div",
|
6416
|
+
e.tooltipText ? (t(), r("div", Tr, $(e.tooltipText), 1)) : m("", !0)
|
6414
6417
|
])
|
6415
6418
|
]),
|
6416
6419
|
default: k(() => [
|
@@ -6423,12 +6426,12 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6423
6426
|
]),
|
6424
6427
|
_: 3
|
6425
6428
|
}, 16)) : m("", !0)
|
6426
|
-
], 10,
|
6429
|
+
], 10, Ir)
|
6427
6430
|
]),
|
6428
6431
|
_: 3
|
6429
6432
|
}, 8, ["class", "error-message", "hint"]));
|
6430
6433
|
}
|
6431
|
-
},
|
6434
|
+
}, Ar = {
|
6432
6435
|
__name: "OcRadioGroup",
|
6433
6436
|
props: {
|
6434
6437
|
alignment: {
|
@@ -6465,7 +6468,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6465
6468
|
n("div", {
|
6466
6469
|
class: v(["flex", [l.value[e.alignment], e.wrapperClass]])
|
6467
6470
|
}, [
|
6468
|
-
(t(!0), r(L, null, R(e.radio, (u, f) => (t(), p(s(
|
6471
|
+
(t(!0), r(L, null, R(e.radio, (u, f) => (t(), p(s(Dr), {
|
6469
6472
|
id: u.value,
|
6470
6473
|
key: f,
|
6471
6474
|
class: v({ "!w-fit": !e.isBlock }),
|
@@ -6488,10 +6491,10 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6488
6491
|
_: 1
|
6489
6492
|
}, 8, ["label", "error-message", "hint"]));
|
6490
6493
|
}
|
6491
|
-
},
|
6494
|
+
}, Mr = { class: "flex flex-col gap-y-2 oc-range-input" }, jr = { class: "flex gap-x-3" }, Pr = {
|
6492
6495
|
key: 0,
|
6493
6496
|
class: "flex pt-4"
|
6494
|
-
},
|
6497
|
+
}, Lr = {
|
6495
6498
|
__name: "OcRangeInput",
|
6496
6499
|
props: {
|
6497
6500
|
maxLimit: {
|
@@ -6535,14 +6538,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6535
6538
|
};
|
6536
6539
|
return Ce(() => {
|
6537
6540
|
a.onlyInput || c.value.updateSlider();
|
6538
|
-
}), (b, T) => (t(), r("div",
|
6541
|
+
}), (b, T) => (t(), r("div", Mr, [
|
6539
6542
|
y(s(pe), {
|
6540
6543
|
label: e.label,
|
6541
6544
|
hint: e.hint,
|
6542
6545
|
"error-message": e.errorMessage
|
6543
6546
|
}, {
|
6544
6547
|
default: k(() => [
|
6545
|
-
n("div",
|
6548
|
+
n("div", jr, [
|
6546
6549
|
y(s(xe), {
|
6547
6550
|
"model-value": o.value,
|
6548
6551
|
label: "From",
|
@@ -6558,7 +6561,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6558
6561
|
"onUpdate:modelValue": T[1] || (T[1] = (j) => u(j, 1))
|
6559
6562
|
}, null, 8, ["model-value"])
|
6560
6563
|
]),
|
6561
|
-
e.onlyInput ? m("", !0) : (t(), r("div",
|
6564
|
+
e.onlyInput ? m("", !0) : (t(), r("div", Pr, [
|
6562
6565
|
y(s($t), {
|
6563
6566
|
ref_key: "slider",
|
6564
6567
|
ref: c,
|
@@ -6575,28 +6578,28 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6575
6578
|
}, 8, ["label", "hint", "error-message"])
|
6576
6579
|
]));
|
6577
6580
|
}
|
6578
|
-
},
|
6581
|
+
}, Er = {
|
6579
6582
|
key: 0,
|
6580
6583
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
6581
|
-
},
|
6584
|
+
}, zr = {
|
6582
6585
|
key: 0,
|
6583
6586
|
class: "text-oc-text-300 md:text-base text-lg"
|
6584
|
-
},
|
6587
|
+
}, Nr = {
|
6585
6588
|
key: 2,
|
6586
6589
|
class: "whitespace-nowrap flex gap-x-3 text-lg md:text-base items-center overflow-hidden"
|
6587
|
-
},
|
6590
|
+
}, Rr = {
|
6588
6591
|
key: 1,
|
6589
6592
|
class: "text-oc-text-300"
|
6590
|
-
},
|
6593
|
+
}, Fr = {
|
6591
6594
|
key: 2,
|
6592
6595
|
class: "truncate"
|
6593
|
-
},
|
6596
|
+
}, Ur = {
|
6594
6597
|
key: 3,
|
6595
6598
|
class: "text-oc-text-300"
|
6596
|
-
},
|
6599
|
+
}, qr = {
|
6597
6600
|
key: 0,
|
6598
6601
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
6599
|
-
},
|
6602
|
+
}, Hr = { key: 0 }, Yr = {
|
6600
6603
|
__name: "OcSelect",
|
6601
6604
|
props: {
|
6602
6605
|
label: String,
|
@@ -6785,7 +6788,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6785
6788
|
"tooltip-options": e.tooltipOptions
|
6786
6789
|
}, ee({
|
6787
6790
|
tooltipText: k(() => [
|
6788
|
-
P.$slots.selectTooltipText ? (t(), r("div",
|
6791
|
+
P.$slots.selectTooltipText ? (t(), r("div", Hr, [
|
6789
6792
|
S(P.$slots, "selectTooltipText")
|
6790
6793
|
])) : m("", !0)
|
6791
6794
|
]),
|
@@ -6818,7 +6821,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6818
6821
|
ref: x,
|
6819
6822
|
class: "flex flex-col gap-y-2"
|
6820
6823
|
}, [
|
6821
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), r("div",
|
6824
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), r("div", qr, [
|
6822
6825
|
y(s(xe), {
|
6823
6826
|
ref_key: "searchInputRef",
|
6824
6827
|
ref: u,
|
@@ -6905,7 +6908,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6905
6908
|
"border-none !min-h-[18px] !px-0": e.isSlim
|
6906
6909
|
}])
|
6907
6910
|
}, [
|
6908
|
-
e.multiple ? (t(), r("div",
|
6911
|
+
e.multiple ? (t(), r("div", Er, [
|
6909
6912
|
S(P.$slots, "selection", {}, () => [
|
6910
6913
|
(t(!0), r(L, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), p(s(ae), F({
|
6911
6914
|
key: U.value,
|
@@ -6922,7 +6925,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6922
6925
|
label: `+${C.value.length - e.maxVisibleOptions}`
|
6923
6926
|
}, null, 8, ["label"])) : m("", !0)
|
6924
6927
|
]),
|
6925
|
-
C.value.length === 0 ? (t(), r("span",
|
6928
|
+
C.value.length === 0 ? (t(), r("span", zr, $(e.placeholder), 1)) : m("", !0)
|
6926
6929
|
])) : m("", !0),
|
6927
6930
|
e.isInlineSearch && e.isFilterable && !C.value ? (t(), p(s(xe), {
|
6928
6931
|
key: 1,
|
@@ -6946,15 +6949,15 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6946
6949
|
]),
|
6947
6950
|
key: "0"
|
6948
6951
|
} : void 0
|
6949
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), r("span",
|
6952
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), r("span", Nr, [
|
6950
6953
|
e.icon ? (t(), p(s(V), {
|
6951
6954
|
key: 0,
|
6952
6955
|
name: e.icon,
|
6953
6956
|
width: "16",
|
6954
6957
|
height: "16"
|
6955
6958
|
}, null, 8, ["name"])) : m("", !0),
|
6956
|
-
e.isInlineLabel && e.label ? (t(), r("span",
|
6957
|
-
C.value ? (t(), r("span",
|
6959
|
+
e.isInlineLabel && e.label ? (t(), r("span", Rr, $(e.label) + ": ", 1)) : m("", !0),
|
6960
|
+
C.value ? (t(), r("span", Fr, $(C.value.label), 1)) : (t(), r("span", Ur, $(e.placeholder), 1))
|
6958
6961
|
])),
|
6959
6962
|
e.modelValue && e.isClearable ? (t(), p(s(V), {
|
6960
6963
|
key: 3,
|
@@ -6985,7 +6988,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
6985
6988
|
} : void 0
|
6986
6989
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6987
6990
|
}
|
6988
|
-
},
|
6991
|
+
}, Wr = { class: "w-full flex items-center gap-x-3" }, Kr = { class: "truncate" }, Gr = {
|
6989
6992
|
key: 0,
|
6990
6993
|
class: "text-sm text-oc-text-300"
|
6991
6994
|
}, gt = {
|
@@ -7023,14 +7026,14 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7023
7026
|
"is-partial": e.isPartial,
|
7024
7027
|
class: "!w-fit pointer-events-none"
|
7025
7028
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
7026
|
-
n("div",
|
7029
|
+
n("div", Wr, [
|
7027
7030
|
S(l.$slots, "trailing"),
|
7028
7031
|
n("div", {
|
7029
7032
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
7030
7033
|
}, [
|
7031
|
-
n("span",
|
7034
|
+
n("span", Kr, $(e.label), 1),
|
7032
7035
|
S(l.$slots, "sub-label", {}, () => [
|
7033
|
-
e.subLabel ? (t(), r("span",
|
7036
|
+
e.subLabel ? (t(), r("span", Gr, $(e.subLabel), 1)) : m("", !0)
|
7034
7037
|
])
|
7035
7038
|
], 2),
|
7036
7039
|
S(l.$slots, "leading")
|
@@ -7050,21 +7053,21 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7050
7053
|
S(l.$slots, "after")
|
7051
7054
|
], 512));
|
7052
7055
|
}
|
7053
|
-
},
|
7056
|
+
}, Xr = { class: "flex flex-col" }, Jr = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, ef = {
|
7054
7057
|
__name: "OcGroupOptions",
|
7055
7058
|
props: {
|
7056
7059
|
label: String
|
7057
7060
|
},
|
7058
7061
|
setup(e) {
|
7059
|
-
return (i, a) => (t(), r("div",
|
7060
|
-
n("div",
|
7062
|
+
return (i, a) => (t(), r("div", Xr, [
|
7063
|
+
n("div", Jr, $(e.label), 1),
|
7061
7064
|
S(i.$slots, "default")
|
7062
7065
|
]));
|
7063
7066
|
}
|
7064
|
-
},
|
7067
|
+
}, Zr = { class: "flex text-oc-text-400 items-center gap-x-2" }, Qr = {
|
7065
7068
|
key: 0,
|
7066
7069
|
class: "flex flex-col p-2 py-3 gap-2"
|
7067
|
-
},
|
7070
|
+
}, _r = ["onClick"], ed = {
|
7068
7071
|
__name: "OcLinkInput",
|
7069
7072
|
props: {
|
7070
7073
|
placeholder: String,
|
@@ -7149,7 +7152,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7149
7152
|
distance: 10
|
7150
7153
|
}, {
|
7151
7154
|
menu: k(() => [
|
7152
|
-
e.isEdit ? m("", !0) : (t(), r("div",
|
7155
|
+
e.isEdit ? m("", !0) : (t(), r("div", Qr, [
|
7153
7156
|
(t(!0), r(L, null, R(e.links, (g) => (t(), r("div", {
|
7154
7157
|
key: g.value,
|
7155
7158
|
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 +7164,11 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7161
7164
|
name: g.icon
|
7162
7165
|
}, null, 8, ["name"]),
|
7163
7166
|
W(" " + $(g.label), 1)
|
7164
|
-
], 8,
|
7167
|
+
], 8, _r))), 128))
|
7165
7168
|
]))
|
7166
7169
|
]),
|
7167
7170
|
default: k(() => [
|
7168
|
-
n("div",
|
7171
|
+
n("div", Zr, [
|
7169
7172
|
u.value.icon ? (t(), p(s(V), {
|
7170
7173
|
key: 0,
|
7171
7174
|
width: "20",
|
@@ -7187,7 +7190,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7187
7190
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
7188
7191
|
]));
|
7189
7192
|
}
|
7190
|
-
},
|
7193
|
+
}, td = ["disabled", "value", "rows", "placeholder"], ld = "18px", ad = {
|
7191
7194
|
__name: "OcTextArea",
|
7192
7195
|
props: {
|
7193
7196
|
placeholder: String,
|
@@ -7221,7 +7224,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7221
7224
|
setup(e, { emit: i }) {
|
7222
7225
|
const a = i, l = M(!1), o = (d) => {
|
7223
7226
|
const c = d.target;
|
7224
|
-
c && (c.style.height =
|
7227
|
+
c && (c.style.height = ld, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
7225
7228
|
};
|
7226
7229
|
return (d, c) => (t(), p(s(pe), {
|
7227
7230
|
label: e.label,
|
@@ -7245,7 +7248,7 @@ const at = /* @__PURE__ */ he(_i, [["render", ts]]), ls = { class: "flex" }, as
|
|
7245
7248
|
onInput: o,
|
7246
7249
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
7247
7250
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
7248
|
-
}, null, 42,
|
7251
|
+
}, null, 42, td)
|
7249
7252
|
]),
|
7250
7253
|
_: 1
|
7251
7254
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
@@ -7268,8 +7271,8 @@ var Vt = { exports: {} };
|
|
7268
7271
|
};
|
7269
7272
|
});
|
7270
7273
|
})(Vt);
|
7271
|
-
var
|
7272
|
-
const It = /* @__PURE__ */ Ke(
|
7274
|
+
var nd = Vt.exports;
|
7275
|
+
const It = /* @__PURE__ */ Ke(nd);
|
7273
7276
|
var Tt = { exports: {} };
|
7274
7277
|
(function(e, i) {
|
7275
7278
|
(function(a, l) {
|
@@ -7282,8 +7285,8 @@ var Tt = { exports: {} };
|
|
7282
7285
|
};
|
7283
7286
|
});
|
7284
7287
|
})(Tt);
|
7285
|
-
var
|
7286
|
-
const Dt = /* @__PURE__ */ Ke(
|
7288
|
+
var od = Tt.exports;
|
7289
|
+
const Dt = /* @__PURE__ */ Ke(od);
|
7287
7290
|
var At = { exports: {} };
|
7288
7291
|
(function(e, i) {
|
7289
7292
|
(function(a, l) {
|
@@ -7296,8 +7299,8 @@ var At = { exports: {} };
|
|
7296
7299
|
};
|
7297
7300
|
});
|
7298
7301
|
})(At);
|
7299
|
-
var
|
7300
|
-
const Mt = /* @__PURE__ */ Ke(
|
7302
|
+
var id = At.exports;
|
7303
|
+
const Mt = /* @__PURE__ */ Ke(id);
|
7301
7304
|
var jt = { exports: {} };
|
7302
7305
|
(function(e, i) {
|
7303
7306
|
(function(a, l) {
|
@@ -7419,53 +7422,53 @@ var jt = { exports: {} };
|
|
7419
7422
|
};
|
7420
7423
|
});
|
7421
7424
|
})(jt);
|
7422
|
-
var
|
7423
|
-
const it = /* @__PURE__ */ Ke(
|
7424
|
-
var
|
7425
|
-
function
|
7426
|
-
var i =
|
7425
|
+
var sd = jt.exports;
|
7426
|
+
const it = /* @__PURE__ */ Ke(sd);
|
7427
|
+
var rd = typeof global == "object" && global && global.Object === Object && global, dd = typeof self == "object" && self && self.Object === Object && self, Pt = rd || dd || Function("return this")(), He = Pt.Symbol, Lt = Object.prototype, cd = Lt.hasOwnProperty, ud = Lt.toString, Le = He ? He.toStringTag : void 0;
|
7428
|
+
function md(e) {
|
7429
|
+
var i = cd.call(e, Le), a = e[Le];
|
7427
7430
|
try {
|
7428
7431
|
e[Le] = void 0;
|
7429
7432
|
var l = !0;
|
7430
7433
|
} catch {
|
7431
7434
|
}
|
7432
|
-
var o =
|
7435
|
+
var o = ud.call(e);
|
7433
7436
|
return l && (i ? e[Le] = a : delete e[Le]), o;
|
7434
7437
|
}
|
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);
|
7438
|
+
var fd = Object.prototype, vd = fd.toString;
|
7439
|
+
function gd(e) {
|
7440
|
+
return vd.call(e);
|
7442
7441
|
}
|
7442
|
+
var pd = "[object Null]", yd = "[object Undefined]", pt = He ? He.toStringTag : void 0;
|
7443
7443
|
function xd(e) {
|
7444
|
+
return e == null ? e === void 0 ? yd : pd : pt && pt in Object(e) ? md(e) : gd(e);
|
7445
|
+
}
|
7446
|
+
function hd(e) {
|
7444
7447
|
return e != null && typeof e == "object";
|
7445
7448
|
}
|
7446
|
-
var
|
7447
|
-
function
|
7448
|
-
return typeof e == "symbol" ||
|
7449
|
+
var bd = "[object Symbol]";
|
7450
|
+
function wd(e) {
|
7451
|
+
return typeof e == "symbol" || hd(e) && xd(e) == bd;
|
7449
7452
|
}
|
7450
|
-
var
|
7451
|
-
function
|
7452
|
-
for (var i = e.length; i-- &&
|
7453
|
+
var $d = /\s/;
|
7454
|
+
function kd(e) {
|
7455
|
+
for (var i = e.length; i-- && $d.test(e.charAt(i)); )
|
7453
7456
|
;
|
7454
7457
|
return i;
|
7455
7458
|
}
|
7456
|
-
var
|
7457
|
-
function
|
7458
|
-
return e && e.slice(0,
|
7459
|
+
var Sd = /^\s+/;
|
7460
|
+
function Cd(e) {
|
7461
|
+
return e && e.slice(0, kd(e) + 1).replace(Sd, "");
|
7459
7462
|
}
|
7460
7463
|
function nt(e) {
|
7461
7464
|
var i = typeof e;
|
7462
7465
|
return e != null && (i == "object" || i == "function");
|
7463
7466
|
}
|
7464
|
-
var yt = NaN,
|
7467
|
+
var yt = NaN, Bd = /^[-+]0x[0-9a-f]+$/i, Od = /^0b[01]+$/i, Vd = /^0o[0-7]+$/i, Id = parseInt;
|
7465
7468
|
function xt(e) {
|
7466
7469
|
if (typeof e == "number")
|
7467
7470
|
return e;
|
7468
|
-
if (
|
7471
|
+
if (wd(e))
|
7469
7472
|
return yt;
|
7470
7473
|
if (nt(e)) {
|
7471
7474
|
var i = typeof e.valueOf == "function" ? e.valueOf() : e;
|
@@ -7473,18 +7476,18 @@ function xt(e) {
|
|
7473
7476
|
}
|
7474
7477
|
if (typeof e != "string")
|
7475
7478
|
return e === 0 ? e : +e;
|
7476
|
-
e =
|
7477
|
-
var a =
|
7478
|
-
return a ||
|
7479
|
+
e = Cd(e);
|
7480
|
+
var a = Od.test(e);
|
7481
|
+
return a || Vd.test(e) ? Id(e.slice(2), a ? 2 : 8) : Bd.test(e) ? yt : +e;
|
7479
7482
|
}
|
7480
7483
|
var tt = function() {
|
7481
7484
|
return Pt.Date.now();
|
7482
|
-
},
|
7483
|
-
function
|
7485
|
+
}, Td = "Expected a function", Dd = Math.max, Ad = Math.min;
|
7486
|
+
function Md(e, i, a) {
|
7484
7487
|
var l, o, d, c, u, f, h = 0, x = !1, b = !1, T = !0;
|
7485
7488
|
if (typeof e != "function")
|
7486
|
-
throw new TypeError(
|
7487
|
-
i = xt(i) || 0, nt(a) && (x = !!a.leading, b = "maxWait" in a, d = b ?
|
7489
|
+
throw new TypeError(Td);
|
7490
|
+
i = xt(i) || 0, nt(a) && (x = !!a.leading, b = "maxWait" in a, d = b ? Dd(xt(a.maxWait) || 0, i) : d, T = "trailing" in a ? !!a.trailing : T);
|
7488
7491
|
function j(E) {
|
7489
7492
|
var P = l, D = o;
|
7490
7493
|
return l = o = void 0, h = E, c = e.apply(D, P), c;
|
@@ -7494,7 +7497,7 @@ function Ad(e, i, a) {
|
|
7494
7497
|
}
|
7495
7498
|
function A(E) {
|
7496
7499
|
var P = E - f, D = E - h, U = i - P;
|
7497
|
-
return b ?
|
7500
|
+
return b ? Ad(U, d - D) : U;
|
7498
7501
|
}
|
7499
7502
|
function w(E) {
|
7500
7503
|
var P = E - f, D = E - h;
|
@@ -7527,13 +7530,13 @@ function Ad(e, i, a) {
|
|
7527
7530
|
}
|
7528
7531
|
return N.cancel = I, N.flush = B, N;
|
7529
7532
|
}
|
7530
|
-
const
|
7533
|
+
const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex flex-col gap-2 p-3" }, Ld = { class: "flex justify-between items-center" }, Ed = { key: 0 }, zd = { key: 1 }, Nd = {
|
7531
7534
|
key: 0,
|
7532
7535
|
class: "grid grid-cols-3 gap-3"
|
7533
|
-
},
|
7536
|
+
}, Rd = ["onClick"], Fd = {
|
7534
7537
|
key: 1,
|
7535
7538
|
class: "grid grid-cols-3 gap-3"
|
7536
|
-
},
|
7539
|
+
}, Ud = ["onClick"], qd = ["onClick", "onMouseover"], Hd = { key: 0 }, Yd = { class: "flex gap-x-3 justify-end" }, Wd = {
|
7537
7540
|
__name: "OcCalendar",
|
7538
7541
|
props: {
|
7539
7542
|
type: {
|
@@ -7640,7 +7643,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7640
7643
|
return;
|
7641
7644
|
}
|
7642
7645
|
c.value = Y, f.value = q, J && $e();
|
7643
|
-
}, ke =
|
7646
|
+
}, ke = Md((q) => {
|
7644
7647
|
T.value && Be(q, !1);
|
7645
7648
|
}, 50), Q = () => {
|
7646
7649
|
var J, Y, ce;
|
@@ -7655,7 +7658,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7655
7658
|
return Q(), (q, J) => (t(), r("div", {
|
7656
7659
|
class: v(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
7657
7660
|
}, [
|
7658
|
-
n("div",
|
7661
|
+
n("div", jd, [
|
7659
7662
|
y(s(oe), {
|
7660
7663
|
modelValue: C.value,
|
7661
7664
|
"onUpdate:modelValue": J[1] || (J[1] = (Y) => C.value = Y),
|
@@ -7666,8 +7669,8 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7666
7669
|
"popper-options": { strategy: "fixed" }
|
7667
7670
|
}, {
|
7668
7671
|
menu: k(() => [
|
7669
|
-
n("div",
|
7670
|
-
n("div",
|
7672
|
+
n("div", Pd, [
|
7673
|
+
n("div", Ld, [
|
7671
7674
|
y(s(G), {
|
7672
7675
|
"left-icon": "chevron-left",
|
7673
7676
|
"is-transparent": "",
|
@@ -7677,7 +7680,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7677
7680
|
class: "cursor-pointer hover:opacity-50 transition",
|
7678
7681
|
onClick: J[0] || (J[0] = (Y) => j.value = !j.value)
|
7679
7682
|
}, [
|
7680
|
-
j.value ? (t(), r("div",
|
7683
|
+
j.value ? (t(), r("div", Ed, $(I.value - 11) + " - " + $(I.value), 1)) : (t(), r("div", zd, $(I.value), 1))
|
7681
7684
|
]),
|
7682
7685
|
y(s(G), {
|
7683
7686
|
"left-icon": "chevron-right",
|
@@ -7685,22 +7688,22 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7685
7688
|
onClick: re
|
7686
7689
|
})
|
7687
7690
|
]),
|
7688
|
-
j.value ? (t(), r("div",
|
7691
|
+
j.value ? (t(), r("div", Nd, [
|
7689
7692
|
(t(!0), r(L, null, R(Oe(I.value - 11), (Y) => (t(), r("div", {
|
7690
7693
|
key: Y,
|
7691
7694
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7692
7695
|
"!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
|
7693
7696
|
}]),
|
7694
7697
|
onClick: (ce) => _(Y)
|
7695
|
-
}, $(Y), 11,
|
7696
|
-
])) : (t(), r("div",
|
7698
|
+
}, $(Y), 11, Rd))), 128))
|
7699
|
+
])) : (t(), r("div", Fd, [
|
7697
7700
|
(t(), r(L, null, R(O, (Y, ce) => n("div", {
|
7698
7701
|
key: Y,
|
7699
7702
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7700
7703
|
"!border-oc-primary bg-oc-primary text-white": B.value === Y
|
7701
7704
|
}]),
|
7702
7705
|
onClick: (Pe) => te(ce)
|
7703
|
-
}, $(Y), 11,
|
7706
|
+
}, $(Y), 11, Ud)), 64))
|
7704
7707
|
]))
|
7705
7708
|
])
|
7706
7709
|
]),
|
@@ -7749,11 +7752,11 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7749
7752
|
]]),
|
7750
7753
|
onClick: (Pe) => Be(Y),
|
7751
7754
|
onMouseover: (Pe) => s(ke)(Y)
|
7752
|
-
}, $(Y), 43,
|
7755
|
+
}, $(Y), 43, qd);
|
7753
7756
|
}), 128))
|
7754
7757
|
], 32),
|
7755
7758
|
S(q.$slots, "bottom", {}, () => [
|
7756
|
-
e.isIndefinite ? (t(), r("span",
|
7759
|
+
e.isIndefinite ? (t(), r("span", Hd, [
|
7757
7760
|
y(s(De), {
|
7758
7761
|
modelValue: b.value,
|
7759
7762
|
"onUpdate:modelValue": [
|
@@ -7764,7 +7767,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7764
7767
|
}, null, 8, ["modelValue", "label"])
|
7765
7768
|
])) : m("", !0)
|
7766
7769
|
]),
|
7767
|
-
n("div",
|
7770
|
+
n("div", Yd, [
|
7768
7771
|
y(s(G), {
|
7769
7772
|
label: "Reset",
|
7770
7773
|
class: "w-[72px]",
|
@@ -7779,13 +7782,13 @@ K.extend(It);
|
|
7779
7782
|
K.extend(Dt);
|
7780
7783
|
K.extend(Mt);
|
7781
7784
|
K.extend(it);
|
7782
|
-
const
|
7785
|
+
const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full" }, Xd = {
|
7783
7786
|
key: 0,
|
7784
7787
|
class: "text-sm text-oc-error flex items-center"
|
7785
|
-
},
|
7788
|
+
}, Jd = {
|
7786
7789
|
key: 1,
|
7787
7790
|
class: "flex flex-wrap cursor-pointer"
|
7788
|
-
},
|
7791
|
+
}, Zd = { class: "flex items-center gap-x-3" }, Qd = ["value"], _d = { class: "flex items-center gap-x-3" }, ec = ["value"], tc = {
|
7789
7792
|
__name: "DatePicker",
|
7790
7793
|
props: {
|
7791
7794
|
modelValue: {
|
@@ -7920,7 +7923,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7920
7923
|
}, () => {
|
7921
7924
|
var I, B;
|
7922
7925
|
return [
|
7923
|
-
f.value ? (t(), p(s(
|
7926
|
+
f.value ? (t(), p(s(Hu), {
|
7924
7927
|
key: 0,
|
7925
7928
|
"model-value": {
|
7926
7929
|
start: (I = e.modelValue) == null ? void 0 : I[0],
|
@@ -7934,7 +7937,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7934
7937
|
"max-date": e.maxDate,
|
7935
7938
|
masks: { modelValue: e.dateFormat },
|
7936
7939
|
"onUpdate:modelValue": x
|
7937
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(s(
|
7940
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), p(s(Wd), {
|
7938
7941
|
key: 1,
|
7939
7942
|
"model-value": h.value ? h.value.toDate() : /* @__PURE__ */ new Date(),
|
7940
7943
|
"disabled-date": d.value ? T : e.disabledDate,
|
@@ -7951,9 +7954,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7951
7954
|
})
|
7952
7955
|
]),
|
7953
7956
|
default: k(() => [
|
7954
|
-
n("div",
|
7957
|
+
n("div", Kd, [
|
7955
7958
|
!e.isSplitInput || !f.value ? (t(), r(L, { key: 0 }, [
|
7956
|
-
n("div",
|
7959
|
+
n("div", Gd, [
|
7957
7960
|
y(s(xe), {
|
7958
7961
|
"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
7962
|
icon: "calendar",
|
@@ -7964,8 +7967,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7964
7967
|
placeholder: e.placeholder
|
7965
7968
|
}, null, 8, ["model-value", "label", "hint", "is-required", "disabled", "placeholder"])
|
7966
7969
|
]),
|
7967
|
-
e.errorMessage ? (t(), r("div",
|
7968
|
-
], 64)) : (t(), r("div",
|
7970
|
+
e.errorMessage ? (t(), r("div", Xd, $(e.errorMessage), 1)) : m("", !0)
|
7971
|
+
], 64)) : (t(), r("div", Jd, [
|
7969
7972
|
y(s(pe), {
|
7970
7973
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
7971
7974
|
hint: e.hint,
|
@@ -7983,7 +7986,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7983
7986
|
]]),
|
7984
7987
|
onClick: O[2] || (O[2] = (g) => o.value ? g.stopPropagation : null)
|
7985
7988
|
}, [
|
7986
|
-
n("div",
|
7989
|
+
n("div", Zd, [
|
7987
7990
|
y(s(V), {
|
7988
7991
|
name: "calendar",
|
7989
7992
|
class: "text-oc-text-400"
|
@@ -7995,10 +7998,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7995
7998
|
onInput: O[0] || (O[0] = (g) => C(g.target.value, 0)),
|
7996
7999
|
onKeydown: Ue(A, ["enter"]),
|
7997
8000
|
onBlur: A
|
7998
|
-
}, null, 40,
|
8001
|
+
}, null, 40, Qd)
|
7999
8002
|
]),
|
8000
8003
|
O[4] || (O[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
8001
|
-
n("div",
|
8004
|
+
n("div", _d, [
|
8002
8005
|
n("input", {
|
8003
8006
|
placeholder: "End date",
|
8004
8007
|
value: h.value[1] ? h.value[1].format(e.dateFormat) : "",
|
@@ -8006,7 +8009,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8006
8009
|
onInput: O[1] || (O[1] = (g) => C(g.target.value, 1)),
|
8007
8010
|
onKeydown: Ue(A, ["enter"]),
|
8008
8011
|
onBlur: A
|
8009
|
-
}, null, 40,
|
8012
|
+
}, null, 40, ec),
|
8010
8013
|
y(s(V), {
|
8011
8014
|
class: v([h.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
8012
8015
|
width: "16",
|
@@ -8025,10 +8028,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8025
8028
|
_: 3
|
8026
8029
|
}, 8, ["modelValue", "is-disabled"]));
|
8027
8030
|
}
|
8028
|
-
},
|
8031
|
+
}, lc = { class: "flex" }, ac = { class: "flex flex-col gap-y-1 flex-1" }, nc = { class: "font-medium gap-x-3 flex items-center" }, oc = { class: "px-2 py-1 text-sm text-oc-text-400" }, ic = {
|
8029
8032
|
key: 1,
|
8030
8033
|
class: "text-sm text-oc-error flex items-center"
|
8031
|
-
},
|
8034
|
+
}, sc = {
|
8032
8035
|
__name: "OcSectionItem",
|
8033
8036
|
props: {
|
8034
8037
|
title: String,
|
@@ -8054,16 +8057,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8054
8057
|
emits: ["update:modelValue"],
|
8055
8058
|
setup(e, { emit: i }) {
|
8056
8059
|
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",
|
8060
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), r("div", lc, [
|
8061
|
+
n("div", ac, [
|
8062
|
+
n("div", nc, [
|
8060
8063
|
W($(e.title) + " ", 1),
|
8061
8064
|
y(s(le), {
|
8062
8065
|
position: "top",
|
8063
8066
|
distance: 4
|
8064
8067
|
}, {
|
8065
8068
|
popper: k(() => [
|
8066
|
-
n("div",
|
8069
|
+
n("div", oc, $(e.popperMessage), 1)
|
8067
8070
|
]),
|
8068
8071
|
default: k(() => [
|
8069
8072
|
e.icon ? (t(), p(s(V), {
|
@@ -8081,7 +8084,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8081
8084
|
key: 0,
|
8082
8085
|
class: v(["text-oc-text-400 text-sm", e.descriptionClass])
|
8083
8086
|
}, $(e.description), 3)) : m("", !0),
|
8084
|
-
e.errorMessage ? (t(), r("div",
|
8087
|
+
e.errorMessage ? (t(), r("div", ic, $(e.errorMessage), 1)) : m("", !0)
|
8085
8088
|
]),
|
8086
8089
|
S(o.$slots, "actions", {}, () => [
|
8087
8090
|
e.isToggle ? (t(), p(s(kt), F({
|
@@ -8093,13 +8096,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8093
8096
|
])
|
8094
8097
|
]));
|
8095
8098
|
}
|
8096
|
-
},
|
8099
|
+
}, rc = {
|
8097
8100
|
key: 0,
|
8098
8101
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
8099
|
-
},
|
8102
|
+
}, dc = ["onClick"], cc = ["src"], uc = {
|
8100
8103
|
key: 0,
|
8101
8104
|
class: "flex text-sm text-oc-text-400 mt-2"
|
8102
|
-
},
|
8105
|
+
}, mc = {
|
8103
8106
|
__name: "OcSelectOptions",
|
8104
8107
|
props: {
|
8105
8108
|
variant: {
|
@@ -8164,7 +8167,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8164
8167
|
}
|
8165
8168
|
]])
|
8166
8169
|
}, [
|
8167
|
-
e.optionType === "icon" ? (t(), r("div",
|
8170
|
+
e.optionType === "icon" ? (t(), r("div", rc, [
|
8168
8171
|
(t(!0), r(L, null, R(e.options, (f) => (t(), r("div", {
|
8169
8172
|
key: f.value,
|
8170
8173
|
class: v(["p-1", {
|
@@ -8198,7 +8201,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8198
8201
|
"w-[50px]": !d.value
|
8199
8202
|
}]),
|
8200
8203
|
src: f.preview
|
8201
|
-
}, null, 10,
|
8204
|
+
}, null, 10, cc)) : m("", !0),
|
8202
8205
|
n("div", {
|
8203
8206
|
class: v(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
8204
8207
|
}, [
|
@@ -8209,7 +8212,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8209
8212
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
8210
8213
|
}])
|
8211
8214
|
}, $(f.label), 3),
|
8212
|
-
f.description ? (t(), r("div",
|
8215
|
+
f.description ? (t(), r("div", uc, $(f.description), 1)) : m("", !0)
|
8213
8216
|
], 2),
|
8214
8217
|
e.borderless ? (t(), p(s(V), {
|
8215
8218
|
key: 1,
|
@@ -8219,16 +8222,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8219
8222
|
class: v(["text-oc-primary", f.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
8220
8223
|
}, null, 8, ["class"])) : m("", !0)
|
8221
8224
|
])
|
8222
|
-
], 10,
|
8225
|
+
], 10, dc))), 128))
|
8223
8226
|
], 2)
|
8224
8227
|
]),
|
8225
8228
|
_: 3
|
8226
8229
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
8227
8230
|
}
|
8228
|
-
},
|
8231
|
+
}, fc = { class: "flex gap-x-3" }, vc = {
|
8229
8232
|
key: 0,
|
8230
8233
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8231
|
-
},
|
8234
|
+
}, gc = ["accept"], pc = { class: "py-2 flex flex-col" }, yc = ["src"], xc = /* @__PURE__ */ Z({
|
8232
8235
|
__name: "OcSingleOnlyImageUpload",
|
8233
8236
|
props: {
|
8234
8237
|
accept: {
|
@@ -8253,12 +8256,12 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8253
8256
|
};
|
8254
8257
|
return (h, x) => {
|
8255
8258
|
var b, T;
|
8256
|
-
return t(), r("div",
|
8259
|
+
return t(), r("div", fc, [
|
8257
8260
|
(b = e.uploadedImage) != null && b.fileUrl ? m("", !0) : (t(), r("label", {
|
8258
8261
|
key: 0,
|
8259
8262
|
class: v([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
8260
8263
|
}, [
|
8261
|
-
e.showUploadImageArea ? (t(), r("div",
|
8264
|
+
e.showUploadImageArea ? (t(), r("div", vc, [
|
8262
8265
|
n("div", {
|
8263
8266
|
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
8267
|
}, [
|
@@ -8282,7 +8285,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8282
8285
|
onDragover: x[1] || (x[1] = (j) => u.value = !0),
|
8283
8286
|
onDragleave: x[2] || (x[2] = (j) => u.value = !1),
|
8284
8287
|
onDrop: x[3] || (x[3] = (j) => u.value = !1)
|
8285
|
-
}, null, 40,
|
8288
|
+
}, null, 40, gc)
|
8286
8289
|
], 2)),
|
8287
8290
|
(T = e.uploadedImage) != null && T.fileUrl ? (t(), r("div", {
|
8288
8291
|
key: 1,
|
@@ -8295,7 +8298,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8295
8298
|
class: "absolute top-2 right-2 z-[1010]"
|
8296
8299
|
}, {
|
8297
8300
|
menu: k(() => [
|
8298
|
-
n("div",
|
8301
|
+
n("div", pc, [
|
8299
8302
|
n("div", {
|
8300
8303
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8301
8304
|
onClick: x[4] || (x[4] = () => {
|
@@ -8336,7 +8339,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8336
8339
|
src: e.uploadedImage.fileUrl,
|
8337
8340
|
alt: "uploaded-image",
|
8338
8341
|
class: "object-contain h-full w-full"
|
8339
|
-
}, null, 8,
|
8342
|
+
}, null, 8, yc)
|
8340
8343
|
], 2)) : m("", !0),
|
8341
8344
|
(t(), p(Ft, { to: "body" }, [
|
8342
8345
|
d.value ? (t(), p(s(st), {
|
@@ -8353,13 +8356,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8353
8356
|
]);
|
8354
8357
|
};
|
8355
8358
|
}
|
8356
|
-
}),
|
8359
|
+
}), hc = ["accept"], bc = {
|
8357
8360
|
key: 0,
|
8358
8361
|
class: "py-2 flex flex-col items-center gap-y-4"
|
8359
|
-
},
|
8362
|
+
}, wc = { class: "flex items-baseline gap-x-3 w-full" }, $c = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, kc = ["accept"], Sc = {
|
8360
8363
|
key: 0,
|
8361
8364
|
class: "relative group w-fit rounded overflow-hidden"
|
8362
|
-
},
|
8365
|
+
}, Cc = ["src"], Bc = ["src"], Oc = { class: "py-2 flex flex-col" }, Vc = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400" }, Ic = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, Tc = { class: "uppercase text-[8px] font-bold leading-none block" }, Dc = { class: "flex" }, Ac = { class: "text-sm text-oc-primary" }, Mc = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, tf = {
|
8363
8366
|
__name: "OcSingleFileUpload",
|
8364
8367
|
props: {
|
8365
8368
|
format: {
|
@@ -8474,7 +8477,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8474
8477
|
default: k(() => {
|
8475
8478
|
var U, H, X, te, _, ne, re, ve, be, we, ge, $e, ie, Be, ke;
|
8476
8479
|
return [
|
8477
|
-
e.isImageOnly ? (t(), p(
|
8480
|
+
e.isImageOnly ? (t(), p(xc, {
|
8478
8481
|
key: 0,
|
8479
8482
|
accept: e.accept,
|
8480
8483
|
"uploaded-image": w.value,
|
@@ -8497,7 +8500,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8497
8500
|
type: "file",
|
8498
8501
|
accept: e.accept,
|
8499
8502
|
onChange: D[3] || (D[3] = (Q) => s(j)(Q, a.format === "object"))
|
8500
|
-
}, null, 40,
|
8503
|
+
}, null, 40, hc)
|
8501
8504
|
], 64)) : (t(), r(L, { key: 2 }, [
|
8502
8505
|
s(T).length ? (t(), r("div", {
|
8503
8506
|
key: 1,
|
@@ -8506,16 +8509,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8506
8509
|
"!bg-oc-bg-dark": e.isDisabled
|
8507
8510
|
}])
|
8508
8511
|
}, [
|
8509
|
-
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), r("div",
|
8512
|
+
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), r("div", Sc, [
|
8510
8513
|
(ne = (_ = w.value) == null ? void 0 : _.file) != null && ne.type.includes("video") ? (t(), r("video", {
|
8511
8514
|
key: 0,
|
8512
8515
|
autoplay: "",
|
8513
8516
|
loop: "",
|
8514
8517
|
src: A.value
|
8515
|
-
}, null, 8,
|
8518
|
+
}, null, 8, Cc)) : (t(), r("img", {
|
8516
8519
|
key: 1,
|
8517
8520
|
src: (re = w.value) == null ? void 0 : re.fileUrl
|
8518
|
-
}, null, 8,
|
8521
|
+
}, null, 8, Bc)),
|
8519
8522
|
y(s(oe), {
|
8520
8523
|
modelValue: h.value,
|
8521
8524
|
"onUpdate:modelValue": D[13] || (D[13] = (Q) => h.value = Q),
|
@@ -8524,7 +8527,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8524
8527
|
menu: k(() => {
|
8525
8528
|
var Q, Oe;
|
8526
8529
|
return [
|
8527
|
-
n("div",
|
8530
|
+
n("div", Oc, [
|
8528
8531
|
!((Oe = (Q = w.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), r("div", {
|
8529
8532
|
key: 0,
|
8530
8533
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
@@ -8572,25 +8575,25 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8572
8575
|
onChangeImage: I
|
8573
8576
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
8574
8577
|
])) : (t(), r(L, { key: 1 }, [
|
8575
|
-
n("div",
|
8576
|
-
n("div",
|
8578
|
+
n("div", Vc, [
|
8579
|
+
n("div", Ic, [
|
8577
8580
|
y(s(V), {
|
8578
8581
|
name: "file-extension",
|
8579
8582
|
width: "14",
|
8580
8583
|
height: "10"
|
8581
8584
|
}),
|
8582
|
-
n("span",
|
8585
|
+
n("span", Tc, $((we = w.value) == null ? void 0 : we.extension), 1)
|
8583
8586
|
]),
|
8584
8587
|
n("div", {
|
8585
8588
|
class: v([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8586
8589
|
}, $((ge = w.value) == null ? void 0 : ge.fileName), 3)
|
8587
8590
|
]),
|
8588
|
-
n("div",
|
8591
|
+
n("div", Dc, [
|
8589
8592
|
n("div", {
|
8590
8593
|
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
8594
|
}, [
|
8592
|
-
n("span",
|
8593
|
-
n("div",
|
8595
|
+
n("span", Ac, $(((ie = w.value) == null ? void 0 : ie.progress) || 0) + "% ", 1),
|
8596
|
+
n("div", Mc, [
|
8594
8597
|
n("div", {
|
8595
8598
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
8596
8599
|
style: se({ width: `${((Be = w.value) == null ? void 0 : Be.progress) || 0}%` })
|
@@ -8610,8 +8613,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8610
8613
|
]))
|
8611
8614
|
])
|
8612
8615
|
], 64))
|
8613
|
-
], 2)) : (t(), r("div",
|
8614
|
-
n("div",
|
8616
|
+
], 2)) : (t(), r("div", bc, [
|
8617
|
+
n("div", wc, [
|
8615
8618
|
e.variant === "url" ? (t(), r(L, { key: 0 }, [
|
8616
8619
|
y(s(xe), {
|
8617
8620
|
modelValue: d.value,
|
@@ -8645,7 +8648,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8645
8648
|
onDragover: D[10] || (D[10] = fe(() => {
|
8646
8649
|
}, ["prevent"]))
|
8647
8650
|
}, [
|
8648
|
-
n("span",
|
8651
|
+
n("span", $c, $(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8649
8652
|
y(s(G), {
|
8650
8653
|
size: "small",
|
8651
8654
|
"is-disabled": e.isDisabled,
|
@@ -8662,7 +8665,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8662
8665
|
type: "file",
|
8663
8666
|
accept: e.accept,
|
8664
8667
|
onChange: D[11] || (D[11] = (Q) => s(j)(Q, a.format === "object"))
|
8665
|
-
}, null, 40,
|
8668
|
+
}, null, 40, kc)
|
8666
8669
|
])
|
8667
8670
|
]))
|
8668
8671
|
], 64))
|
@@ -8671,13 +8674,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8671
8674
|
_: 3
|
8672
8675
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
8673
8676
|
}
|
8674
|
-
},
|
8677
|
+
}, jc = { class: "relative min-h-[100px]" }, Pc = {
|
8675
8678
|
key: 0,
|
8676
8679
|
class: "absolute"
|
8677
|
-
},
|
8680
|
+
}, Lc = { 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" }, Ec = ["accept", "multiple"], zc = ["onClick"], Nc = { class: "py-2 flex flex-col" }, Rc = ["onClick"], Fc = ["onClick"], Uc = { class: "z-[1009] hidden group-hover:flex absolute bg-black/30 w-full h-full top-0 left-0 rounded" }, qc = {
|
8678
8681
|
key: 0,
|
8679
8682
|
class: "cursor-pointer m-auto drag-el"
|
8680
|
-
},
|
8683
|
+
}, Hc = {
|
8681
8684
|
__name: "OcSimpleMultipleUpload",
|
8682
8685
|
props: {
|
8683
8686
|
accept: {
|
@@ -8744,9 +8747,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8744
8747
|
u.value[E] = B[E];
|
8745
8748
|
}), o[I] = !1, d.value = !0;
|
8746
8749
|
};
|
8747
|
-
return (I, B) => (t(), r("div",
|
8748
|
-
O.value ? (t(), r("label",
|
8749
|
-
n("div",
|
8750
|
+
return (I, B) => (t(), r("div", jc, [
|
8751
|
+
O.value ? (t(), r("label", Pc, [
|
8752
|
+
n("div", Lc, [
|
8750
8753
|
y(s(V), { name: "plus" })
|
8751
8754
|
]),
|
8752
8755
|
T.value ? m("", !0) : (t(), r("input", {
|
@@ -8756,9 +8759,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8756
8759
|
accept: e.accept || "image/png, image/jpeg",
|
8757
8760
|
multiple: a.maxImages !== 1,
|
8758
8761
|
onChange: w
|
8759
|
-
}, null, 40,
|
8762
|
+
}, null, 40, Ec))
|
8760
8763
|
])) : m("", !0),
|
8761
|
-
(t(), p(s(
|
8764
|
+
(t(), p(s(Yu), {
|
8762
8765
|
key: e.uploadedImages.length,
|
8763
8766
|
"model-value": e.uploadedImages,
|
8764
8767
|
filter: "filtered-el",
|
@@ -8788,7 +8791,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8788
8791
|
removeItem: b,
|
8789
8792
|
fileIndex: P
|
8790
8793
|
}, () => [
|
8791
|
-
n("div",
|
8794
|
+
n("div", Nc, [
|
8792
8795
|
n("div", {
|
8793
8796
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8794
8797
|
onClick: (D) => g(P, E)
|
@@ -8799,7 +8802,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8799
8802
|
name: "pencil"
|
8800
8803
|
}),
|
8801
8804
|
B[4] || (B[4] = n("span", null, "Edit Image", -1))
|
8802
|
-
], 8,
|
8805
|
+
], 8, Rc),
|
8803
8806
|
n("div", {
|
8804
8807
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
8805
8808
|
onClick: () => {
|
@@ -8812,7 +8815,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8812
8815
|
name: "bin"
|
8813
8816
|
}),
|
8814
8817
|
B[5] || (B[5] = n("span", null, "Delete", -1))
|
8815
|
-
], 8,
|
8818
|
+
], 8, Fc)
|
8816
8819
|
])
|
8817
8820
|
])
|
8818
8821
|
]),
|
@@ -8836,15 +8839,15 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8836
8839
|
}, null, 4)
|
8837
8840
|
], 2)
|
8838
8841
|
], 2),
|
8839
|
-
n("div",
|
8840
|
-
a.maxImages !== 1 ? (t(), r("span",
|
8842
|
+
n("div", Uc, [
|
8843
|
+
a.maxImages !== 1 ? (t(), r("span", qc, [
|
8841
8844
|
y(s(V), {
|
8842
8845
|
name: "arrows",
|
8843
8846
|
class: "text-oc-accent-1-50"
|
8844
8847
|
})
|
8845
8848
|
])) : m("", !0)
|
8846
8849
|
])
|
8847
|
-
], 14,
|
8850
|
+
], 14, zc))), 128))
|
8848
8851
|
]),
|
8849
8852
|
_: 3
|
8850
8853
|
}, 8, ["model-value", "style"])),
|
@@ -8861,7 +8864,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8861
8864
|
onChangeImage: C,
|
8862
8865
|
"onUpdate:inputOptions": A
|
8863
8866
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
8864
|
-
y(s(
|
8867
|
+
y(s(Bu), {
|
8865
8868
|
modelValue: h.value,
|
8866
8869
|
"onUpdate:modelValue": B[3] || (B[3] = (N) => h.value = N),
|
8867
8870
|
description: "Do you want to delete this image ?",
|
@@ -8869,16 +8872,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8869
8872
|
}, null, 8, ["modelValue"])
|
8870
8873
|
]));
|
8871
8874
|
}
|
8872
|
-
},
|
8875
|
+
}, Yc = { class: "flex flex-col gap-y-2" }, Wc = ["accept"], Kc = { class: "input-file-uploaded flex flex-col gap-y-3" }, Gc = { class: "flex items-center gap-x-3" }, Xc = { class: "flex flex-col items-center justify-center text-oc-text-300" }, Jc = { class: "uppercase text-[8px] font-bold leading-none block" }, Zc = { class: "text-oc-text-400 text-sm" }, Qc = { class: "w-[100px] h-[6px] bg-oc-accent-1-50 rounded-full overflow-hidden transition-all duration-1000" }, _c = ["accept"], eu = {
|
8873
8876
|
key: 1,
|
8874
8877
|
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
|
-
},
|
8878
|
+
}, tu = { key: 0 }, lu = { key: 1 }, au = {
|
8876
8879
|
key: 2,
|
8877
8880
|
class: "text-center"
|
8878
|
-
},
|
8881
|
+
}, nu = {
|
8879
8882
|
key: 2,
|
8880
8883
|
class: "mt-3 flex items-center justify-center"
|
8881
|
-
},
|
8884
|
+
}, lf = {
|
8882
8885
|
__name: "OcMultipleUploadFile",
|
8883
8886
|
props: {
|
8884
8887
|
modelValue: {
|
@@ -8958,7 +8961,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8958
8961
|
var C;
|
8959
8962
|
(C = o.value) == null || C.click();
|
8960
8963
|
};
|
8961
|
-
return (C, A) => (t(), r("div",
|
8964
|
+
return (C, A) => (t(), r("div", Yc, [
|
8962
8965
|
y(s(pe), {
|
8963
8966
|
label: e.label,
|
8964
8967
|
hint: e.hint,
|
@@ -8968,7 +8971,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8968
8971
|
S(C.$slots, "hint")
|
8969
8972
|
]),
|
8970
8973
|
default: k(() => [
|
8971
|
-
e.isImageOnly ? (t(), p(
|
8974
|
+
e.isImageOnly ? (t(), p(Hc, {
|
8972
8975
|
key: 0,
|
8973
8976
|
"uploaded-images": s(f),
|
8974
8977
|
"selected-image": e.selectedImage,
|
@@ -9007,7 +9010,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9007
9010
|
multiple: "",
|
9008
9011
|
accept: e.accept,
|
9009
9012
|
onChange: b
|
9010
|
-
}, null, 40,
|
9013
|
+
}, null, 40, Wc)
|
9011
9014
|
], 64)) : (t(), r("div", {
|
9012
9015
|
key: 2,
|
9013
9016
|
class: v(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
@@ -9017,27 +9020,27 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9017
9020
|
}
|
9018
9021
|
]])
|
9019
9022
|
}, [
|
9020
|
-
n("div",
|
9023
|
+
n("div", Kc, [
|
9021
9024
|
(t(!0), r(L, null, R(s(f), (w, O) => (t(), r("div", {
|
9022
9025
|
key: `${O}-${w.fileName}`,
|
9023
9026
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
9024
9027
|
}, [
|
9025
|
-
n("div",
|
9026
|
-
n("div",
|
9028
|
+
n("div", Gc, [
|
9029
|
+
n("div", Xc, [
|
9027
9030
|
y(s(V), {
|
9028
9031
|
name: "file-extension",
|
9029
9032
|
width: "14",
|
9030
9033
|
height: "10"
|
9031
9034
|
}),
|
9032
|
-
n("span",
|
9035
|
+
n("span", Jc, $(w.extension), 1)
|
9033
9036
|
]),
|
9034
|
-
n("span",
|
9037
|
+
n("span", Zc, $(w == null ? void 0 : w.fileName), 1)
|
9035
9038
|
]),
|
9036
9039
|
c.value ? (t(), r("div", {
|
9037
9040
|
key: 0,
|
9038
9041
|
class: v(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": w.progress === 100 }])
|
9039
9042
|
}, [
|
9040
|
-
n("div",
|
9043
|
+
n("div", Qc, [
|
9041
9044
|
n("div", {
|
9042
9045
|
style: se({ width: `${w.progress}%` }),
|
9043
9046
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
@@ -9079,15 +9082,15 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9079
9082
|
onDragleave: A[6] || (A[6] = (w) => d.value = !1),
|
9080
9083
|
onDrop: A[7] || (A[7] = (w) => d.value = !1),
|
9081
9084
|
onChange: b
|
9082
|
-
}, null, 40,
|
9083
|
-
s(f).length ? e.isDisabled ? m("", !0) : (t(), r("div",
|
9085
|
+
}, null, 40, _c)),
|
9086
|
+
s(f).length ? e.isDisabled ? m("", !0) : (t(), r("div", nu, A[9] || (A[9] = [
|
9084
9087
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
9085
|
-
]))) : (t(), r("div",
|
9088
|
+
]))) : (t(), r("div", eu, [
|
9086
9089
|
y(s(V), {
|
9087
9090
|
name: "upload",
|
9088
9091
|
class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
9089
9092
|
}, null, 8, ["class"]),
|
9090
|
-
e.labelUploadArea ? (t(), r("div",
|
9093
|
+
e.labelUploadArea ? (t(), r("div", tu, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), r("div", lu, "Upload disabled")) : (t(), r("div", au, [
|
9091
9094
|
A[8] || (A[8] = n("div", null, "Select documents or drag here", -1)),
|
9092
9095
|
n("div", null, "File max " + $(e.maxSize) + "MB", 1)
|
9093
9096
|
]))
|
@@ -9099,7 +9102,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9099
9102
|
}, 8, ["label", "hint", "error-message"])
|
9100
9103
|
]));
|
9101
9104
|
}
|
9102
|
-
},
|
9105
|
+
}, ou = ["value"], iu = /* @__PURE__ */ Z({
|
9103
9106
|
__name: "OcNumberInput",
|
9104
9107
|
props: {
|
9105
9108
|
modelValue: {
|
@@ -9159,7 +9162,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9159
9162
|
placeholder: "1",
|
9160
9163
|
onKeydown: c,
|
9161
9164
|
onInput: f[0] || (f[0] = (h) => u.$emit("update:modelValue", h.target.value))
|
9162
|
-
}, null, 42,
|
9165
|
+
}, null, 42, ou),
|
9163
9166
|
y(s(G), {
|
9164
9167
|
variant: "secondary",
|
9165
9168
|
class: "w-[28px] shrink-0 aspect-square",
|
@@ -9174,7 +9177,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9174
9177
|
_: 1
|
9175
9178
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
9176
9179
|
}
|
9177
|
-
}),
|
9180
|
+
}), su = {
|
9178
9181
|
__name: "OcDropdown",
|
9179
9182
|
props: {
|
9180
9183
|
distance: {
|
@@ -9274,7 +9277,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9274
9277
|
[s(ot), f]
|
9275
9278
|
]);
|
9276
9279
|
}
|
9277
|
-
}, oe = /* @__PURE__ */ he(
|
9280
|
+
}, oe = /* @__PURE__ */ he(su, [["__scopeId", "data-v-28a0af68"]]), ru = { class: "flex items-center gap-x-3 p-3" }, du = { class: "md:text-base text-sm" }, cu = {
|
9278
9281
|
key: 0,
|
9279
9282
|
class: "p-3 text-sm text-oc-text-300"
|
9280
9283
|
}, ye = {
|
@@ -9299,27 +9302,27 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9299
9302
|
return (a, l) => (t(), r("div", {
|
9300
9303
|
class: v(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", i.value[e.variant]])
|
9301
9304
|
}, [
|
9302
|
-
n("div",
|
9305
|
+
n("div", ru, [
|
9303
9306
|
e.icon ? (t(), p(s(V), F({
|
9304
9307
|
key: 0,
|
9305
9308
|
class: "w-5 h-5",
|
9306
9309
|
name: e.icon
|
9307
9310
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : m("", !0),
|
9308
|
-
n("span",
|
9311
|
+
n("span", du, $(e.text), 1),
|
9309
9312
|
e.pointed ? S(a.$slots, "badge", { key: 1 }, () => [
|
9310
9313
|
l[0] || (l[0] = n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1))
|
9311
9314
|
]) : m("", !0)
|
9312
9315
|
]),
|
9313
|
-
e.subText ? (t(), r("div",
|
9316
|
+
e.subText ? (t(), r("div", cu, [
|
9314
9317
|
n("span", null, $(e.subText), 1)
|
9315
9318
|
])) : m("", !0)
|
9316
9319
|
], 2));
|
9317
9320
|
}
|
9318
|
-
},
|
9321
|
+
}, uu = { class: "oc-tooltip-wrapper" }, mu = {
|
9319
9322
|
key: 0,
|
9320
9323
|
class: "oc-arrow",
|
9321
9324
|
"data-popper-arrow": ""
|
9322
|
-
},
|
9325
|
+
}, fu = {
|
9323
9326
|
__name: "OcTooltip",
|
9324
9327
|
props: {
|
9325
9328
|
popperClass: {
|
@@ -9394,7 +9397,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9394
9397
|
const f = () => {
|
9395
9398
|
a.value && u();
|
9396
9399
|
};
|
9397
|
-
return (h, x) => Ve((t(), r("span",
|
9400
|
+
return (h, x) => Ve((t(), r("span", uu, [
|
9398
9401
|
y(s(wt), {
|
9399
9402
|
ref_key: "popper",
|
9400
9403
|
ref: d,
|
@@ -9413,7 +9416,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9413
9416
|
class: v(["oc-tooltip", e.popperClass])
|
9414
9417
|
}, [
|
9415
9418
|
S(h.$slots, "popper", {}, void 0, !0),
|
9416
|
-
e.arrowHidden ? m("", !0) : (t(), r("div",
|
9419
|
+
e.arrowHidden ? m("", !0) : (t(), r("div", mu))
|
9417
9420
|
], 2), [
|
9418
9421
|
[ze, a.value]
|
9419
9422
|
])
|
@@ -9436,14 +9439,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9436
9439
|
[s(ot), f]
|
9437
9440
|
]);
|
9438
9441
|
}
|
9439
|
-
}, le = /* @__PURE__ */ he(
|
9442
|
+
}, le = /* @__PURE__ */ he(fu, [["__scopeId", "data-v-a902efc5"]]), vu = {
|
9440
9443
|
key: 0,
|
9441
9444
|
id: "modal-overlay-wrapper",
|
9442
9445
|
class: "fixed w-screen z-[1007] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9443
|
-
},
|
9446
|
+
}, gu = { class: "flex flex-col gap-y-1 overflow-hidden" }, pu = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, yu = {
|
9444
9447
|
key: 0,
|
9445
9448
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
9446
|
-
},
|
9449
|
+
}, xu = ["id"], hu = {
|
9447
9450
|
__name: "OcModal",
|
9448
9451
|
props: {
|
9449
9452
|
isBorderless: Boolean,
|
@@ -9540,7 +9543,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9540
9543
|
), Ut(() => {
|
9541
9544
|
var x;
|
9542
9545
|
(x = f.value) == null || x.removeEventListener("scroll", h);
|
9543
|
-
}), (x, b) => e.modelValue ? (t(), r("div",
|
9546
|
+
}), (x, b) => e.modelValue ? (t(), r("div", vu, [
|
9544
9547
|
n("div", {
|
9545
9548
|
class: "w-full h-full absolute top-0 left-0 z-[1007]",
|
9546
9549
|
onClick: d
|
@@ -9553,10 +9556,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9553
9556
|
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
9557
|
}, [
|
9555
9558
|
S(x.$slots, "header", {}, () => [
|
9556
|
-
n("div",
|
9557
|
-
n("span",
|
9559
|
+
n("div", gu, [
|
9560
|
+
n("span", pu, $(e.title), 1),
|
9558
9561
|
S(x.$slots, "description", {}, () => [
|
9559
|
-
e.description ? (t(), r("span",
|
9562
|
+
e.description ? (t(), r("span", yu, $(e.description), 1)) : m("", !0)
|
9560
9563
|
])
|
9561
9564
|
]),
|
9562
9565
|
e.isCloseIcon ? (t(), r("div", {
|
@@ -9580,7 +9583,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9580
9583
|
onScroll: b[1] || (b[1] = (T) => l("content-scroll", T))
|
9581
9584
|
}, [
|
9582
9585
|
S(x.$slots, "default")
|
9583
|
-
], 42,
|
9586
|
+
], 42, xu),
|
9584
9587
|
e.isFooterVisible ? (t(), r("div", {
|
9585
9588
|
key: 1,
|
9586
9589
|
class: v(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
@@ -9607,10 +9610,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9607
9610
|
], 2)
|
9608
9611
|
])) : m("", !0);
|
9609
9612
|
}
|
9610
|
-
},
|
9613
|
+
}, bu = {
|
9611
9614
|
key: 0,
|
9612
9615
|
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
|
-
},
|
9616
|
+
}, wu = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, $u = { class: "modal-body p-9" }, af = {
|
9614
9617
|
__name: "OcModalPage",
|
9615
9618
|
props: {
|
9616
9619
|
modelValue: {
|
@@ -9641,8 +9644,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9641
9644
|
emits: ["update:modelValue", "back", "click:outside"],
|
9642
9645
|
setup(e, { emit: i }) {
|
9643
9646
|
const a = i;
|
9644
|
-
return (l, o) => e.modelValue ? (t(), r("div",
|
9645
|
-
n("div",
|
9647
|
+
return (l, o) => e.modelValue ? (t(), r("div", bu, [
|
9648
|
+
n("div", wu, [
|
9646
9649
|
S(l.$slots, "top"),
|
9647
9650
|
n("div", {
|
9648
9651
|
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 +9673,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9670
9673
|
}),
|
9671
9674
|
o[2] || (o[2] = n("span", null, "Close", -1))
|
9672
9675
|
]),
|
9673
|
-
n("div",
|
9676
|
+
n("div", $u, [
|
9674
9677
|
S(l.$slots, "default")
|
9675
9678
|
])
|
9676
9679
|
], 2)
|
9677
9680
|
])
|
9678
9681
|
])) : m("", !0);
|
9679
9682
|
}
|
9680
|
-
},
|
9683
|
+
}, ku = { class: "text-center" }, Su = ["innerHTML"], Cu = {
|
9681
9684
|
__name: "OcConfirmation",
|
9682
9685
|
props: {
|
9683
9686
|
description: String,
|
@@ -9716,14 +9719,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9716
9719
|
name: e.icon ?? i[e.variant]
|
9717
9720
|
}, null, 8, ["name"])
|
9718
9721
|
], 2)),
|
9719
|
-
n("div",
|
9722
|
+
n("div", ku, [
|
9720
9723
|
S(l.$slots, "description", {}, () => [
|
9721
|
-
n("span", { innerHTML: e.description }, null, 8,
|
9724
|
+
n("span", { innerHTML: e.description }, null, 8, Su)
|
9722
9725
|
])
|
9723
9726
|
])
|
9724
9727
|
], 2));
|
9725
9728
|
}
|
9726
|
-
},
|
9729
|
+
}, Bu = {
|
9727
9730
|
__name: "OcConfirmationModal",
|
9728
9731
|
props: {
|
9729
9732
|
modelValue: {
|
@@ -9796,7 +9799,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9796
9799
|
})), c = (u) => {
|
9797
9800
|
l("update:model-value", u), l("cancel");
|
9798
9801
|
};
|
9799
|
-
return (u, f) => (t(), p(s(
|
9802
|
+
return (u, f) => (t(), p(s(hu), {
|
9800
9803
|
size: "small",
|
9801
9804
|
"model-value": e.modelValue,
|
9802
9805
|
title: e.title,
|
@@ -9819,7 +9822,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9819
9822
|
onCancel: f[1] || (f[1] = (h) => u.$emit("cancel"))
|
9820
9823
|
}, {
|
9821
9824
|
default: k(() => [
|
9822
|
-
y(
|
9825
|
+
y(Cu, {
|
9823
9826
|
"icon-class": e.iconClass,
|
9824
9827
|
variant: e.variant,
|
9825
9828
|
description: e.description,
|
@@ -9839,10 +9842,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9839
9842
|
_: 3
|
9840
9843
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
9841
9844
|
}
|
9842
|
-
},
|
9845
|
+
}, Ou = { class: "fixed bottom-[30px] right-[32px]" }, Vu = { class: "relative" }, Iu = {
|
9843
9846
|
key: 0,
|
9844
9847
|
class: "flex items-center justify-end"
|
9845
|
-
},
|
9848
|
+
}, Tu = { class: "w-[40px] flex text-white items-center bg-oc-text active:bg-oc-gray-800 justify-center aspect-square rounded-full cursor-pointer" }, Du = { class: "min-w-[180px]" }, Au = { class: "p-3" }, Mu = { class: "uppercase text-oc-text-400 text-xs font-medium" }, nf = /* @__PURE__ */ Z({
|
9846
9849
|
__name: "OcSupportMenu",
|
9847
9850
|
props: {
|
9848
9851
|
modelValue: {
|
@@ -9880,7 +9883,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9880
9883
|
const i = {
|
9881
9884
|
arrowHidden: !0
|
9882
9885
|
};
|
9883
|
-
return (a, l) => (t(), r("div",
|
9886
|
+
return (a, l) => (t(), r("div", Ou, [
|
9884
9887
|
y(s(oe), {
|
9885
9888
|
"model-value": e.modelValue,
|
9886
9889
|
"popper-options": i,
|
@@ -9889,10 +9892,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9889
9892
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.$emit("update:modelValue", o))
|
9890
9893
|
}, {
|
9891
9894
|
menu: k(() => [
|
9892
|
-
n("div",
|
9895
|
+
n("div", Du, [
|
9893
9896
|
(t(!0), r(L, null, R(e.topMenu, (o, d) => (t(), r(L, { key: d }, [
|
9894
|
-
n("div",
|
9895
|
-
n("span",
|
9897
|
+
n("div", Au, [
|
9898
|
+
n("span", Mu, $(o.title), 1)
|
9896
9899
|
]),
|
9897
9900
|
(t(!0), r(L, null, R(o.items, (c, u) => (t(), p(s(ye), F({
|
9898
9901
|
key: u,
|
@@ -9933,11 +9936,11 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9933
9936
|
])
|
9934
9937
|
]),
|
9935
9938
|
default: k(() => [
|
9936
|
-
n("div",
|
9937
|
-
e.isPointed ? (t(), r("div",
|
9939
|
+
n("div", Vu, [
|
9940
|
+
e.isPointed ? (t(), r("div", Iu, l[1] || (l[1] = [
|
9938
9941
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
9939
9942
|
]))) : m("", !0),
|
9940
|
-
n("div",
|
9943
|
+
n("div", Tu, [
|
9941
9944
|
y(s(V), {
|
9942
9945
|
name: "question",
|
9943
9946
|
width: "33",
|
@@ -9950,7 +9953,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9950
9953
|
}, 8, ["model-value"])
|
9951
9954
|
]));
|
9952
9955
|
}
|
9953
|
-
}),
|
9956
|
+
}), ju = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, je = /* @__PURE__ */ Z({
|
9954
9957
|
__name: "OcCopyTooltip",
|
9955
9958
|
props: {
|
9956
9959
|
value: [String, Blob],
|
@@ -9980,7 +9983,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9980
9983
|
distance: 20
|
9981
9984
|
}, e.tooltipOptions), {
|
9982
9985
|
popper: k(() => [
|
9983
|
-
n("div",
|
9986
|
+
n("div", ju, $(e.tooltipText), 1)
|
9984
9987
|
]),
|
9985
9988
|
default: k(({ isShow: o }) => [
|
9986
9989
|
n("div", {
|
@@ -9999,7 +10002,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9999
10002
|
_: 3
|
10000
10003
|
}, 16));
|
10001
10004
|
}
|
10002
|
-
}),
|
10005
|
+
}), Pu = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, Lu = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, Eu = { class: "flex flex-col gap-y-7 p-5" }, zu = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, Nu = ["src"], Ru = { class: "flex text-center flex-col gap-y-3" }, Fu = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, Uu = { class: "text-oc-text-400" }, qu = { class: "py-6 px-5 flex items-center justify-center" }, of = /* @__PURE__ */ Z({
|
10003
10006
|
__name: "OcWhiteList",
|
10004
10007
|
props: {
|
10005
10008
|
buttonProps: {
|
@@ -10015,28 +10018,28 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10015
10018
|
description: String
|
10016
10019
|
},
|
10017
10020
|
setup(e) {
|
10018
|
-
return (i, a) => (t(), r("div",
|
10021
|
+
return (i, a) => (t(), r("div", Pu, [
|
10019
10022
|
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",
|
10023
|
+
n("div", Lu, [
|
10024
|
+
n("div", Eu, [
|
10022
10025
|
S(i.$slots, "logo", {}, () => [
|
10023
|
-
n("div",
|
10026
|
+
n("div", zu, [
|
10024
10027
|
n("img", {
|
10025
10028
|
src: e.imagePath,
|
10026
10029
|
alt: "logo"
|
10027
|
-
}, null, 8,
|
10030
|
+
}, null, 8, Nu)
|
10028
10031
|
])
|
10029
10032
|
]),
|
10030
|
-
n("div",
|
10031
|
-
n("div",
|
10033
|
+
n("div", Ru, [
|
10034
|
+
n("div", Fu, [
|
10032
10035
|
W($(e.title) + " ", 1),
|
10033
10036
|
e.tagOptions ? (t(), p(s(Yt), me(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
10034
10037
|
]),
|
10035
|
-
n("span",
|
10038
|
+
n("span", Uu, $(e.description), 1)
|
10036
10039
|
]),
|
10037
10040
|
S(i.$slots, "bottom")
|
10038
10041
|
]),
|
10039
|
-
n("div",
|
10042
|
+
n("div", qu, [
|
10040
10043
|
S(i.$slots, "footer", {}, () => [
|
10041
10044
|
y(s(G), F({
|
10042
10045
|
label: "Request Access",
|
@@ -10047,7 +10050,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10047
10050
|
])
|
10048
10051
|
]));
|
10049
10052
|
}
|
10050
|
-
}),
|
10053
|
+
}), sf = {
|
10051
10054
|
__name: "OcFormBuilder",
|
10052
10055
|
props: {
|
10053
10056
|
id: {
|
@@ -10087,23 +10090,23 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10087
10090
|
const a = e, l = i, o = (g, I) => {
|
10088
10091
|
l("onUpdate", g, I);
|
10089
10092
|
}, d = {
|
10090
|
-
CardInput:
|
10091
|
-
CheckboxesGroup:
|
10093
|
+
CardInput: ir,
|
10094
|
+
CheckboxesGroup: rr,
|
10092
10095
|
Input: xe,
|
10093
|
-
NumberInput:
|
10094
|
-
LinkInput:
|
10095
|
-
Select:
|
10096
|
-
TextArea:
|
10096
|
+
NumberInput: iu,
|
10097
|
+
LinkInput: ed,
|
10098
|
+
Select: Yr,
|
10099
|
+
TextArea: ad,
|
10097
10100
|
Toggle: kt,
|
10098
|
-
RadioGroup:
|
10099
|
-
TimePicker:
|
10100
|
-
DatePicker:
|
10101
|
+
RadioGroup: Ar,
|
10102
|
+
TimePicker: Wu,
|
10103
|
+
DatePicker: tc,
|
10101
10104
|
Checkbox: De,
|
10102
10105
|
Slider: $t,
|
10103
|
-
RangeInput:
|
10104
|
-
PhoneInput:
|
10105
|
-
SectionItem:
|
10106
|
-
SelectOptions:
|
10106
|
+
RangeInput: Lr,
|
10107
|
+
PhoneInput: Or,
|
10108
|
+
SectionItem: sc,
|
10109
|
+
SelectOptions: mc
|
10107
10110
|
}, c = (g) => d[g] ? d[g] : null, u = z(() => {
|
10108
10111
|
const g = (B) => B.split(`
|
10109
10112
|
`).map((N) => N.trim()).filter(Boolean).map((N) => `"${N}"`).join(" "), I = {};
|
@@ -10197,126 +10200,126 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10197
10200
|
}), 128))
|
10198
10201
|
], 6)) : m("", !0);
|
10199
10202
|
}
|
10200
|
-
},
|
10201
|
-
() => import("./OcComplexCalendar-
|
10202
|
-
),
|
10203
|
-
() => import("./OcComplexDatePicker-
|
10204
|
-
), st = de(() => import("./OcModalCropper-
|
10205
|
-
() => import("./ThumbnailTheme-
|
10206
|
-
),
|
10207
|
-
() => import("./ThumbnailSection-
|
10208
|
-
),
|
10203
|
+
}, rf = de(() => import("./OcDataTable-DVEYnL6u.js")), df = de(() => import("./OcFilterSearch-vaCERZxk.js")), cf = de(() => import("./OcFilterSearchFor-C4YT66qF.js")), uf = de(() => import("./OcFilterForm-2fhih-5I.js")), Hu = de(
|
10204
|
+
() => import("./OcComplexCalendar-B2D5XlJC.js")
|
10205
|
+
), mf = de(
|
10206
|
+
() => import("./OcComplexDatePicker-C6NpPJXl.js")
|
10207
|
+
), st = de(() => import("./OcModalCropper-DUb0nbvZ.js")), ff = de(() => import("./OcCropper-ZS-kAgEL.js")), Yu = de(() => import("./OcDraggable-CA_BCbpl.js")), vf = de(() => import("./OcDraggableList-z1gZLaGS.js")), gf = de(() => import("./OcEmojiPicker-5n4qFSjQ.js")), pf = de(
|
10208
|
+
() => import("./ThumbnailTheme-d2chH8WX.js")
|
10209
|
+
), yf = de(
|
10210
|
+
() => import("./ThumbnailSection-BQJBK32Q.js")
|
10211
|
+
), xf = de(() => import("./SubPlanCard-DARiOb7b.js")), hf = de(() => import("./OcTimePopup-CXGhaOev.js")), Wu = de(() => import("./OcTimePicker-CZkQqCbq.js"));
|
10209
10212
|
export {
|
10210
|
-
|
10211
|
-
|
10213
|
+
Vm as $,
|
10214
|
+
hm as A,
|
10212
10215
|
G as B,
|
10213
10216
|
Bt as C,
|
10214
10217
|
dn as D,
|
10215
|
-
|
10218
|
+
$m as E,
|
10216
10219
|
gl as F,
|
10217
10220
|
Ct as G,
|
10218
10221
|
qe as H,
|
10219
|
-
|
10222
|
+
ym as I,
|
10220
10223
|
ct as J,
|
10221
10224
|
ut as K,
|
10222
|
-
|
10223
|
-
|
10225
|
+
gm as L,
|
10226
|
+
pm as M,
|
10224
10227
|
rt as N,
|
10225
10228
|
Fe as O,
|
10226
10229
|
dt as P,
|
10227
10230
|
Ie as Q,
|
10228
10231
|
Ee as R,
|
10229
10232
|
sl as S,
|
10230
|
-
|
10231
|
-
|
10232
|
-
|
10233
|
-
|
10233
|
+
xm as T,
|
10234
|
+
km as U,
|
10235
|
+
Sm as V,
|
10236
|
+
Om as W,
|
10234
10237
|
Un as X,
|
10235
|
-
|
10236
|
-
|
10238
|
+
Cm as Y,
|
10239
|
+
Bm as Z,
|
10237
10240
|
pe as _,
|
10238
|
-
|
10241
|
+
ir as a,
|
10239
10242
|
Wn as a0,
|
10240
|
-
|
10241
|
-
|
10242
|
-
|
10243
|
-
|
10244
|
-
|
10245
|
-
|
10246
|
-
|
10247
|
-
|
10248
|
-
|
10249
|
-
|
10250
|
-
|
10251
|
-
|
10243
|
+
qm as a1,
|
10244
|
+
Ui as a2,
|
10245
|
+
Km as a3,
|
10246
|
+
Wm as a4,
|
10247
|
+
Um as a5,
|
10248
|
+
Hm as a6,
|
10249
|
+
Im as a7,
|
10250
|
+
Tm as a8,
|
10251
|
+
Dm as a9,
|
10252
|
+
hu as aA,
|
10253
|
+
af as aB,
|
10254
|
+
nf as aC,
|
10252
10255
|
le as aD,
|
10253
|
-
|
10256
|
+
of as aE,
|
10254
10257
|
it as aF,
|
10255
|
-
|
10256
|
-
|
10257
|
-
|
10258
|
-
|
10259
|
-
|
10260
|
-
|
10261
|
-
|
10262
|
-
|
10258
|
+
Hu as aG,
|
10259
|
+
Yu as aH,
|
10260
|
+
hf as aI,
|
10261
|
+
df as aJ,
|
10262
|
+
uf as aK,
|
10263
|
+
cf as aL,
|
10264
|
+
rf as aM,
|
10265
|
+
mf as aN,
|
10263
10266
|
st as aO,
|
10264
|
-
|
10265
|
-
|
10266
|
-
|
10267
|
-
|
10268
|
-
|
10269
|
-
|
10270
|
-
|
10271
|
-
|
10272
|
-
|
10273
|
-
|
10274
|
-
|
10267
|
+
ff as aP,
|
10268
|
+
vf as aQ,
|
10269
|
+
gf as aR,
|
10270
|
+
pf as aS,
|
10271
|
+
yf as aT,
|
10272
|
+
xf as aU,
|
10273
|
+
Wu as aV,
|
10274
|
+
Am as aa,
|
10275
|
+
Mm as ab,
|
10276
|
+
jm as ac,
|
10277
|
+
Pm as ad,
|
10275
10278
|
Eo as ae,
|
10276
10279
|
Ao as af,
|
10277
|
-
|
10278
|
-
|
10279
|
-
|
10280
|
-
|
10280
|
+
Ym as ag,
|
10281
|
+
Lm as ah,
|
10282
|
+
Em as ai,
|
10283
|
+
zm as aj,
|
10281
10284
|
oi as ak,
|
10282
|
-
|
10283
|
-
|
10284
|
-
|
10285
|
-
|
10286
|
-
|
10287
|
-
|
10288
|
-
|
10289
|
-
|
10285
|
+
ui as al,
|
10286
|
+
vi as am,
|
10287
|
+
xi as an,
|
10288
|
+
Nm as ao,
|
10289
|
+
Rm as ap,
|
10290
|
+
Fm as aq,
|
10291
|
+
Gm as ar,
|
10292
|
+
Jm as as,
|
10290
10293
|
ae as at,
|
10291
|
-
|
10292
|
-
|
10293
|
-
|
10294
|
+
Zm as au,
|
10295
|
+
Xm as av,
|
10296
|
+
Bu as aw,
|
10294
10297
|
je as ax,
|
10295
10298
|
oe as ay,
|
10296
10299
|
ye as az,
|
10297
10300
|
De as b,
|
10298
|
-
|
10299
|
-
|
10301
|
+
rr as c,
|
10302
|
+
Qm as d,
|
10300
10303
|
xe as e,
|
10301
|
-
|
10302
|
-
|
10303
|
-
|
10304
|
-
|
10305
|
-
|
10306
|
-
|
10304
|
+
_m as f,
|
10305
|
+
Or as g,
|
10306
|
+
Dr as h,
|
10307
|
+
Ar as i,
|
10308
|
+
Lr as j,
|
10309
|
+
Yr as k,
|
10307
10310
|
gt as l,
|
10308
|
-
|
10309
|
-
|
10310
|
-
|
10311
|
-
|
10312
|
-
|
10313
|
-
|
10314
|
-
|
10315
|
-
|
10316
|
-
|
10317
|
-
|
10318
|
-
|
10319
|
-
|
10320
|
-
|
10311
|
+
ef as m,
|
10312
|
+
ed as n,
|
10313
|
+
ad as o,
|
10314
|
+
Wd as p,
|
10315
|
+
tc as q,
|
10316
|
+
sc as r,
|
10317
|
+
mc as s,
|
10318
|
+
tf as t,
|
10319
|
+
lf as u,
|
10320
|
+
iu as v,
|
10321
|
+
sf as w,
|
10322
|
+
wm as x,
|
10323
|
+
bm as y,
|
10321
10324
|
Ae as z
|
10322
10325
|
};
|