@orchidui/core 1.25.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
- package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
- package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
- package/dist/DataDisplay/NewTable/OcNewTable.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 +2 -2
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/TopBanner/OcTopBanner.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/Slider/OcSlider.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/{OcAccountSetupProgress-CDdkjAOw.js → OcAccountSetupProgress-BJTQY3hT.js} +1 -1
- package/dist/{OcComplexCalendar-DNwfI-jm.js → OcComplexCalendar-CCXpbTyX.js} +1 -1
- package/dist/{OcComplexDatePicker-Dt1NF0XR.js → OcComplexDatePicker-DaA7QBAI.js} +1 -1
- package/dist/{OcCropper-Btla267q.js → OcCropper-DdCpfpty.js} +1 -1
- package/dist/OcDataTable-CSukVxvR.js +533 -0
- package/dist/{OcDraggableList-ClN8IstH.js → OcDraggableList-C3C29-gc.js} +1 -1
- package/dist/{OcEmojiPicker-BlpJv-cH.js → OcEmojiPicker-DR9p0QON.js} +1 -1
- package/dist/{OcFilterForm-BuNWl857.js → OcFilterForm-DnZdGZz6.js} +1 -1
- package/dist/{OcFilterSearch-BZJYs7uv.js → OcFilterSearch-D7K_ZtsN.js} +1 -1
- package/dist/{OcFilterSearchFor-DW61TSPx.js → OcFilterSearchFor-Bay90Ca_.js} +20 -18
- package/dist/{OcModalCropper-DxzKMBr1.js → OcModalCropper-CssTmZce.js} +2 -2
- package/dist/{OcTimePicker-DrO-_c0k.js → OcTimePicker-BlqyxwPb.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-CxeRWoQm.js → SubPlanCard-DkGI01xm.js} +1 -1
- package/dist/{ThumbnailSection-CEm7Y4bc.js → ThumbnailSection-CgNI9vGW.js} +1 -1
- package/dist/{ThumbnailTheme-CSSKTBpp.js → ThumbnailTheme-DubaZSib.js} +1 -1
- package/dist/composables/helpers.js +10 -10
- package/dist/{index-BYqlIwhP.js → index-D4qNyUVc.js} +618 -611
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/DataTable/useDataTable.js +0 -132
- package/dist/OcDataTable-BajBpRCY.js +0 -565
|
@@ -22,7 +22,7 @@ import "./OcTheme-B6NTNYtz.js";
|
|
|
22
22
|
const $t = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "flex relative group/row md:p-0 py-3 w-full"
|
|
25
|
-
},
|
|
25
|
+
}, pf = {
|
|
26
26
|
__name: "OcTable",
|
|
27
27
|
props: {
|
|
28
28
|
options: {
|
|
@@ -747,7 +747,7 @@ const $t = {
|
|
|
747
747
|
a[0] || (a[0] = n("div", { class: "w-9 border-b border-oc-text-200" }, null, -1))
|
|
748
748
|
], 4));
|
|
749
749
|
}
|
|
750
|
-
}, Aa = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-auto" },
|
|
750
|
+
}, Aa = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-auto" }, vf = {
|
|
751
751
|
__name: "OcExpandingTable",
|
|
752
752
|
props: {
|
|
753
753
|
total: {
|
|
@@ -847,7 +847,7 @@ const $t = {
|
|
|
847
847
|
])
|
|
848
848
|
]));
|
|
849
849
|
}
|
|
850
|
-
}, ha = { class: "w-full items-center flex relative" }, ya = { class: "flex items-center gap-x-6" }, ba = { class: "hidden md:flex items-center gap-x-3" }, xa = { class: "md:hidden mx-[30px]" },
|
|
850
|
+
}, ha = { class: "w-full items-center flex relative" }, ya = { class: "flex items-center gap-x-6" }, ba = { class: "hidden md:flex items-center gap-x-3" }, xa = { class: "md:hidden mx-[30px]" }, gf = {
|
|
851
851
|
__name: "OcPagination",
|
|
852
852
|
props: {
|
|
853
853
|
maxPage: {
|
|
@@ -1356,7 +1356,7 @@ const $t = {
|
|
|
1356
1356
|
], 2);
|
|
1357
1357
|
};
|
|
1358
1358
|
}
|
|
1359
|
-
}, jt = /* @__PURE__ */ we(Qa, [["__scopeId", "data-v-78669018"]]), Xa = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Fa = { key: 0 },
|
|
1359
|
+
}, jt = /* @__PURE__ */ we(Qa, [["__scopeId", "data-v-78669018"]]), Xa = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Fa = { key: 0 }, Af = {
|
|
1360
1360
|
__name: "OcTransferSummary",
|
|
1361
1361
|
props: {
|
|
1362
1362
|
transfer: {
|
|
@@ -2035,7 +2035,7 @@ const $t = {
|
|
|
2035
2035
|
]);
|
|
2036
2036
|
};
|
|
2037
2037
|
}
|
|
2038
|
-
},
|
|
2038
|
+
}, hf = {
|
|
2039
2039
|
__name: "OcListItem",
|
|
2040
2040
|
props: {
|
|
2041
2041
|
isActive: Boolean,
|
|
@@ -2209,7 +2209,7 @@ const $t = {
|
|
|
2209
2209
|
}, xn = { class: "uppercase" }, kn = { class: "flex flex-col px-3 py-2 text-[12px] text-oc-text-400 font-medium text-sm" }, wn = { class: "mb-auto" }, Cn = {
|
|
2210
2210
|
key: 1,
|
|
2211
2211
|
class: "absolute top-2 right-2 left-2 bottom-2 bg-white flex items-center justify-center"
|
|
2212
|
-
},
|
|
2212
|
+
}, yf = {
|
|
2213
2213
|
__name: "OcInfoCard",
|
|
2214
2214
|
props: {
|
|
2215
2215
|
isLoading: Boolean,
|
|
@@ -2277,7 +2277,7 @@ const $t = {
|
|
|
2277
2277
|
}, Ln = { class: "flex items-center gap-3" }, jn = { class: "p-[6px] rounded cursor-pointer text-oc-gray-500 hover:bg-gray-100 hover:text-oc-text" }, Bn = { class: "p-2 border-b border-gray-200" }, Jn = {
|
|
2278
2278
|
key: 0,
|
|
2279
2279
|
class: "p-2"
|
|
2280
|
-
},
|
|
2280
|
+
}, bf = {
|
|
2281
2281
|
__name: "OcFloatContent",
|
|
2282
2282
|
props: {
|
|
2283
2283
|
modelValue: {
|
|
@@ -2398,7 +2398,7 @@ const $t = {
|
|
|
2398
2398
|
}, Mn = {
|
|
2399
2399
|
key: 2,
|
|
2400
2400
|
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"
|
|
2401
|
-
}, Yn = { class: "flex flex-col gap-y-1" }, En = { class: "font-medium" }, Tn = { class: "text-oc-text-300 text-sm" },
|
|
2401
|
+
}, Yn = { class: "flex flex-col gap-y-1" }, En = { class: "font-medium" }, Tn = { class: "text-oc-text-300 text-sm" }, xf = {
|
|
2402
2402
|
__name: "OcOnboardingListItem",
|
|
2403
2403
|
props: {
|
|
2404
2404
|
title: {
|
|
@@ -2672,7 +2672,7 @@ const $t = {
|
|
|
2672
2672
|
}, ai = { class: "flex p-3 items-center min-h-[35px] border-b border-oc-text-200" }, li = ["onClick"], ni = { key: 0 }, ii = { key: 1 }, oi = {
|
|
2673
2673
|
key: 0,
|
|
2674
2674
|
class: "flex flex-col text-center gap-y-2"
|
|
2675
|
-
},
|
|
2675
|
+
}, kf = {
|
|
2676
2676
|
__name: "OcNewTable",
|
|
2677
2677
|
props: {
|
|
2678
2678
|
options: {
|
|
@@ -2964,7 +2964,7 @@ const $t = {
|
|
|
2964
2964
|
]);
|
|
2965
2965
|
};
|
|
2966
2966
|
}
|
|
2967
|
-
},
|
|
2967
|
+
}, wf = {
|
|
2968
2968
|
__name: "OcAccordion",
|
|
2969
2969
|
props: {
|
|
2970
2970
|
header: {
|
|
@@ -3088,7 +3088,7 @@ const $t = {
|
|
|
3088
3088
|
}, null, 8, ["width", "height", "name"]))
|
|
3089
3089
|
], 2));
|
|
3090
3090
|
}
|
|
3091
|
-
}, ri = { class: "flex items-center flex-1 gap-x-4" }, di = { class: "flex flex-col gap-y-1" }, ci = { class: "font-medium" }, ui = { class: "text-oc-text-400 text-sm" },
|
|
3091
|
+
}, ri = { class: "flex items-center flex-1 gap-x-4" }, di = { class: "flex flex-col gap-y-1" }, ci = { class: "font-medium" }, ui = { class: "text-oc-text-400 text-sm" }, Cf = {
|
|
3092
3092
|
__name: "OnboardingAccordion",
|
|
3093
3093
|
props: {
|
|
3094
3094
|
description: {
|
|
@@ -3149,7 +3149,7 @@ const $t = {
|
|
|
3149
3149
|
}, mi = ["onClick"], fi = {
|
|
3150
3150
|
key: 1,
|
|
3151
3151
|
class: "bg-oc-error rounded-full h-6 w-6 flex items-center justify-center text-xs font-bold text-white px-4"
|
|
3152
|
-
}, At = 100, ht = 35,
|
|
3152
|
+
}, At = 100, ht = 35, Sf = {
|
|
3153
3153
|
__name: "OcTabs",
|
|
3154
3154
|
props: {
|
|
3155
3155
|
variant: {
|
|
@@ -3286,7 +3286,7 @@ const $t = {
|
|
|
3286
3286
|
], 2)) : u("", !0)
|
|
3287
3287
|
], 2));
|
|
3288
3288
|
}
|
|
3289
|
-
}, pi = ["src"], vi = { class: "shrink-0" },
|
|
3289
|
+
}, pi = ["src"], vi = { class: "shrink-0" }, If = {
|
|
3290
3290
|
__name: "OcPaymentTab",
|
|
3291
3291
|
props: {
|
|
3292
3292
|
tab: {
|
|
@@ -3356,7 +3356,7 @@ const $t = {
|
|
|
3356
3356
|
}, x(e.title), 3)
|
|
3357
3357
|
], 2));
|
|
3358
3358
|
}
|
|
3359
|
-
}, hi = { class: "flex gap-x-7" },
|
|
3359
|
+
}, hi = { class: "flex gap-x-7" }, Zf = {
|
|
3360
3360
|
__name: "OcSteps",
|
|
3361
3361
|
props: {
|
|
3362
3362
|
steps: {
|
|
@@ -3384,7 +3384,7 @@ const $t = {
|
|
|
3384
3384
|
])
|
|
3385
3385
|
]));
|
|
3386
3386
|
}
|
|
3387
|
-
}, yi = { class: "flex gap-3 items-start md:flex-row flex-col" },
|
|
3387
|
+
}, yi = { class: "flex gap-3 items-start md:flex-row flex-col" }, Of = {
|
|
3388
3388
|
__name: "OcVariants",
|
|
3389
3389
|
props: {
|
|
3390
3390
|
variants: {
|
|
@@ -3471,22 +3471,22 @@ function Ci(e, r) {
|
|
|
3471
3471
|
k(e.$slots, "default")
|
|
3472
3472
|
]);
|
|
3473
3473
|
}
|
|
3474
|
-
const
|
|
3474
|
+
const Kf = /* @__PURE__ */ we(ki, [["render", Ci]]), Si = {}, Ii = { 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" };
|
|
3475
3475
|
function Zi(e, r) {
|
|
3476
3476
|
return t(), i("div", Ii, [
|
|
3477
3477
|
k(e.$slots, "default")
|
|
3478
3478
|
]);
|
|
3479
3479
|
}
|
|
3480
|
-
const
|
|
3480
|
+
const zf = /* @__PURE__ */ we(Si, [["render", Zi]]), Oi = {}, Ki = { class: "flex items-center gap-x-3" };
|
|
3481
3481
|
function zi(e, r) {
|
|
3482
3482
|
return t(), i("div", Ki, [
|
|
3483
3483
|
k(e.$slots, "default")
|
|
3484
3484
|
]);
|
|
3485
3485
|
}
|
|
3486
|
-
const
|
|
3486
|
+
const Lf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-center" }, ji = {
|
|
3487
3487
|
key: 1,
|
|
3488
3488
|
class: "text-oc-text-300 text-sm md:text-base"
|
|
3489
|
-
},
|
|
3489
|
+
}, jf = {
|
|
3490
3490
|
__name: "OcHeaderCenter",
|
|
3491
3491
|
props: {
|
|
3492
3492
|
isSaved: Boolean
|
|
@@ -3511,7 +3511,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
3511
3511
|
])
|
|
3512
3512
|
]));
|
|
3513
3513
|
}
|
|
3514
|
-
}, Bi = { class: "flex items-center gap-x-7 ml-auto" }, Ji = { class: "flex gap-x-3" },
|
|
3514
|
+
}, Bi = { class: "flex items-center gap-x-7 ml-auto" }, Ji = { class: "flex gap-x-3" }, Bf = {
|
|
3515
3515
|
__name: "OcHeaderRight",
|
|
3516
3516
|
props: {
|
|
3517
3517
|
primaryProps: {
|
|
@@ -3552,7 +3552,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
3552
3552
|
])
|
|
3553
3553
|
]));
|
|
3554
3554
|
}
|
|
3555
|
-
}, Ni = { class: "gap-x-9 hidden md:flex relative" }, Wi = ["onClick"], qi = { class: "p-3 font-medium whitespace-normal text-oc-accent-1-500 flex items-center gap-2" }, Vi = { class: "p-4 min-w-[220px] flex flex-col gap-y-3 border-b border-gray-200" },
|
|
3555
|
+
}, Ni = { class: "gap-x-9 hidden md:flex relative" }, Wi = ["onClick"], qi = { class: "p-3 font-medium whitespace-normal text-oc-accent-1-500 flex items-center gap-2" }, Vi = { class: "p-4 min-w-[220px] flex flex-col gap-y-3 border-b border-gray-200" }, Jf = {
|
|
3556
3556
|
__name: "OcTabToSelect",
|
|
3557
3557
|
props: {
|
|
3558
3558
|
menus: Array,
|
|
@@ -3772,7 +3772,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
3772
3772
|
e.chipProps ? (t(), g(o(de), G({ key: 1 }, e.chipProps, { class: "self-start" }), null, 16)) : u("", !0)
|
|
3773
3773
|
]));
|
|
3774
3774
|
}
|
|
3775
|
-
}, Fi = { class: "pb-4 flex flex-col" }, Ui = { class: "flex flex-col gap-y-3 pt-4 px-5 md:px-7" },
|
|
3775
|
+
}, Fi = { class: "pb-4 flex flex-col" }, Ui = { class: "flex flex-col gap-y-3 pt-4 px-5 md:px-7" }, Nf = {
|
|
3776
3776
|
__name: "OcPageTitle",
|
|
3777
3777
|
props: {
|
|
3778
3778
|
title: { type: String, required: !0 },
|
|
@@ -4104,7 +4104,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4104
4104
|
}, fo = /* @__PURE__ */ we(mo, [["__scopeId", "data-v-84aa7cb6"]]), po = { class: "flex flex-col flex-1 py-4 gap-5 px-6 animated-section" }, vo = {
|
|
4105
4105
|
key: 0,
|
|
4106
4106
|
class: "border-t border-oc-gray-200 last:hidden first:hidden"
|
|
4107
|
-
},
|
|
4107
|
+
}, Wf = {
|
|
4108
4108
|
__name: "OcSidebar",
|
|
4109
4109
|
props: {
|
|
4110
4110
|
class: {
|
|
@@ -4154,7 +4154,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4154
4154
|
k(f.$slots, "before", { isExpanded: e.isExpanded }),
|
|
4155
4155
|
(t(!0), i(Y, null, T(e.sidebarMenu, (y, b) => (t(), i(Y, { key: b }, [
|
|
4156
4156
|
e.isExpanded ? u("", !0) : (t(), i("div", vo)),
|
|
4157
|
-
y.label || y.items.length > 0 ? (t(), g(o(
|
|
4157
|
+
y.label || y.items.length > 0 ? (t(), g(o(No), {
|
|
4158
4158
|
key: 1,
|
|
4159
4159
|
label: y.label,
|
|
4160
4160
|
"is-sidebar-expanded": e.isExpanded
|
|
@@ -4162,7 +4162,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4162
4162
|
default: I(() => [
|
|
4163
4163
|
(t(!0), i(Y, null, T(y.items, (j, z) => {
|
|
4164
4164
|
var Z;
|
|
4165
|
-
return t(), g(o(
|
|
4165
|
+
return t(), g(o(Ho), {
|
|
4166
4166
|
key: z,
|
|
4167
4167
|
icon: j.icon,
|
|
4168
4168
|
label: j.label,
|
|
@@ -4177,7 +4177,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4177
4177
|
onCloseMenu: (C) => d(j.name)
|
|
4178
4178
|
}, {
|
|
4179
4179
|
default: I(() => [
|
|
4180
|
-
(t(!0), i(Y, null, T(j.children, (C, h) => (t(), g(o(
|
|
4180
|
+
(t(!0), i(Y, null, T(j.children, (C, h) => (t(), g(o(Qo), {
|
|
4181
4181
|
key: h,
|
|
4182
4182
|
icon: C.icon,
|
|
4183
4183
|
label: C.label,
|
|
@@ -4198,7 +4198,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4198
4198
|
], 64))), 128)),
|
|
4199
4199
|
k(f.$slots, "after", { isExpanded: e.isExpanded })
|
|
4200
4200
|
]),
|
|
4201
|
-
A(o(
|
|
4201
|
+
A(o(Uo), {
|
|
4202
4202
|
"is-expanded": e.isExpanded,
|
|
4203
4203
|
"display-name": e.displayName,
|
|
4204
4204
|
onUserClick: v[0] || (v[0] = (y) => f.$emit("user-click")),
|
|
@@ -4211,7 +4211,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4211
4211
|
}, 8, ["is-expanded", "display-name"])
|
|
4212
4212
|
], 2));
|
|
4213
4213
|
}
|
|
4214
|
-
},
|
|
4214
|
+
}, qf = {
|
|
4215
4215
|
__name: "OcSidebarSubmenu",
|
|
4216
4216
|
props: {
|
|
4217
4217
|
isExpanded: {
|
|
@@ -4253,7 +4253,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4253
4253
|
], 2))), 128))
|
|
4254
4254
|
], 2));
|
|
4255
4255
|
}
|
|
4256
|
-
}, go = { class: "
|
|
4256
|
+
}, go = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, de = {
|
|
4257
4257
|
__name: "OcChip",
|
|
4258
4258
|
props: {
|
|
4259
4259
|
variant: {
|
|
@@ -4265,7 +4265,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4265
4265
|
iconSize: String,
|
|
4266
4266
|
iconTooltip: String,
|
|
4267
4267
|
closable: Boolean,
|
|
4268
|
-
|
|
4268
|
+
truncate: Boolean,
|
|
4269
4269
|
iconProps: Object
|
|
4270
4270
|
},
|
|
4271
4271
|
emits: {
|
|
@@ -4347,14 +4347,18 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4347
4347
|
class: p(["rounded-full flex items-center gap-x-3 py-1 px-3 text-sm leading-[18px]", a.value])
|
|
4348
4348
|
}, [
|
|
4349
4349
|
k(s.$slots, "default", {}, () => [
|
|
4350
|
-
n("div",
|
|
4350
|
+
n("div", {
|
|
4351
|
+
class: p(["flex gap-3 items-center", {
|
|
4352
|
+
"overflow-hidden": e.truncate
|
|
4353
|
+
}])
|
|
4354
|
+
}, [
|
|
4351
4355
|
e.iconTooltip && e.icon ? (t(), g(o(se), {
|
|
4352
4356
|
key: 0,
|
|
4353
4357
|
position: "top",
|
|
4354
4358
|
distance: 10
|
|
4355
4359
|
}, {
|
|
4356
4360
|
popper: I(() => [
|
|
4357
|
-
n("div",
|
|
4361
|
+
n("div", go, x(e.iconTooltip), 1)
|
|
4358
4362
|
]),
|
|
4359
4363
|
default: I(() => [
|
|
4360
4364
|
A(o(L), G({
|
|
@@ -4372,40 +4376,40 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4372
4376
|
}, null, 8, ["width", "height", "name"])) : u("", !0),
|
|
4373
4377
|
n("div", {
|
|
4374
4378
|
class: p({
|
|
4375
|
-
"truncate max-w-[180px]": e.
|
|
4379
|
+
"truncate max-w-[180px]": e.truncate
|
|
4376
4380
|
})
|
|
4377
4381
|
}, x(e.label), 3)
|
|
4378
|
-
])
|
|
4382
|
+
], 2)
|
|
4379
4383
|
]),
|
|
4380
4384
|
e.closable ? (t(), g(o(L), {
|
|
4381
4385
|
key: 0,
|
|
4382
4386
|
width: "18",
|
|
4383
4387
|
height: "18",
|
|
4384
|
-
class: p([l.value, "cursor-pointer"]),
|
|
4388
|
+
class: p([l.value, "cursor-pointer min-w-[18px]"]),
|
|
4385
4389
|
name: "filled-x-circle",
|
|
4386
4390
|
onClick: d[0] || (d[0] = pe((c) => s.$emit("remove"), ["stop"]))
|
|
4387
4391
|
}, null, 8, ["class"])) : u("", !0)
|
|
4388
4392
|
], 2));
|
|
4389
4393
|
}
|
|
4390
|
-
},
|
|
4394
|
+
}, Ao = {
|
|
4391
4395
|
key: 0,
|
|
4392
4396
|
class: "p-3 bg-white rounded-[6px] w-full flex flex-col gap-y-5"
|
|
4393
|
-
},
|
|
4397
|
+
}, ho = { class: "p-2 flex gap-3" }, yo = { class: "p-3 rounded-full border border-oc-warning-500" }, bo = { class: "mx-[-8px] mb-[-8px] rounded-b-[6px] border-t border-gray-200 bg-oc-gray-50" }, xo = { class: "py-4 px-5 text-oc-text-400 font-medium" }, ko = {
|
|
4394
4398
|
key: 0,
|
|
4395
4399
|
class: "flex items-center"
|
|
4396
|
-
},
|
|
4400
|
+
}, wo = {
|
|
4397
4401
|
key: 1,
|
|
4398
4402
|
class: "flex items-center mt-3"
|
|
4399
|
-
},
|
|
4403
|
+
}, Co = { class: "flex flex-col gap-y-3" }, So = { class: "flex items-center text-[var(--oc-sidebar-menu-active-text)] justify-between" }, Io = { class: "font-bold" }, Zo = { class: "h-[12px] w-full rounded-full bg-oc-gray-100 shadow" }, Oo = {
|
|
4400
4404
|
key: 1,
|
|
4401
4405
|
class: "bg-white rounded-full p-1"
|
|
4402
|
-
},
|
|
4406
|
+
}, Ko = {
|
|
4403
4407
|
key: 0,
|
|
4404
4408
|
class: "p-3 rounded-full"
|
|
4405
|
-
},
|
|
4409
|
+
}, zo = {
|
|
4406
4410
|
key: 1,
|
|
4407
4411
|
class: "pie-wrapper progress style-2"
|
|
4408
|
-
},
|
|
4412
|
+
}, Lo = { class: "label" }, jo = {
|
|
4409
4413
|
__name: "OcAccountSetup",
|
|
4410
4414
|
props: {
|
|
4411
4415
|
isExpanded: Boolean,
|
|
@@ -4424,10 +4428,10 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4424
4428
|
e.isPending ? "bg-oc-warning-500" : "account-setup-bg"
|
|
4425
4429
|
]])
|
|
4426
4430
|
}, [
|
|
4427
|
-
e.isExpanded ? (t(), i("div",
|
|
4431
|
+
e.isExpanded ? (t(), i("div", Ao, [
|
|
4428
4432
|
e.isPending ? (t(), i(Y, { key: 0 }, [
|
|
4429
|
-
n("div",
|
|
4430
|
-
n("div",
|
|
4433
|
+
n("div", ho, [
|
|
4434
|
+
n("div", yo, [
|
|
4431
4435
|
A(L, {
|
|
4432
4436
|
name: "alert",
|
|
4433
4437
|
width: "20",
|
|
@@ -4437,25 +4441,25 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4437
4441
|
]),
|
|
4438
4442
|
a[0] || (a[0] = n("div", { class: "text-oc-text-500 text-sm" }, "We’re currently reviewing your account.", -1))
|
|
4439
4443
|
]),
|
|
4440
|
-
n("div",
|
|
4441
|
-
n("div",
|
|
4442
|
-
e.paymentStatus ? (t(), i("div",
|
|
4444
|
+
n("div", bo, [
|
|
4445
|
+
n("div", xo, [
|
|
4446
|
+
e.paymentStatus ? (t(), i("div", ko, [
|
|
4443
4447
|
a[1] || (a[1] = n("span", { class: "flex-1" }, "Payment", -1)),
|
|
4444
4448
|
A(de, ye(Ve(e.paymentStatus)), null, 16)
|
|
4445
4449
|
])) : u("", !0),
|
|
4446
|
-
e.paymentStatus ? (t(), i("div",
|
|
4450
|
+
e.paymentStatus ? (t(), i("div", wo, [
|
|
4447
4451
|
a[2] || (a[2] = n("span", { class: "flex-1" }, "Payout", -1)),
|
|
4448
4452
|
A(de, ye(Ve(e.payoutStatus)), null, 16)
|
|
4449
4453
|
])) : u("", !0)
|
|
4450
4454
|
])
|
|
4451
4455
|
])
|
|
4452
4456
|
], 64)) : (t(), i(Y, { key: 1 }, [
|
|
4453
|
-
n("div",
|
|
4454
|
-
n("div",
|
|
4457
|
+
n("div", Co, [
|
|
4458
|
+
n("div", So, [
|
|
4455
4459
|
a[3] || (a[3] = n("span", { class: "font-medium" }, "Account setup", -1)),
|
|
4456
|
-
n("span",
|
|
4460
|
+
n("span", Io, x(e.progress) + "%", 1)
|
|
4457
4461
|
]),
|
|
4458
|
-
n("div",
|
|
4462
|
+
n("div", Zo, [
|
|
4459
4463
|
n("div", {
|
|
4460
4464
|
class: "h-[12px] rounded-full bg-[var(--oc-sidebar-menu-active-icon-active)]",
|
|
4461
4465
|
style: me({ width: `${e.progress}%` })
|
|
@@ -4464,16 +4468,16 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4464
4468
|
]),
|
|
4465
4469
|
a[4] || (a[4] = n("div", { class: "text-sm font-bold text-[var(--oc-sidebar-menu-active-text)] text-center" }, " COMPLETE NOW -> ", -1))
|
|
4466
4470
|
], 64))
|
|
4467
|
-
])) : (t(), i("div",
|
|
4468
|
-
e.isPending ? (t(), i("div",
|
|
4471
|
+
])) : (t(), i("div", Oo, [
|
|
4472
|
+
e.isPending ? (t(), i("div", Ko, [
|
|
4469
4473
|
A(L, {
|
|
4470
4474
|
name: "alert",
|
|
4471
4475
|
width: "20",
|
|
4472
4476
|
height: "20",
|
|
4473
4477
|
class: "text-oc-warning-500"
|
|
4474
4478
|
})
|
|
4475
|
-
])) : (t(), i("div",
|
|
4476
|
-
n("span",
|
|
4479
|
+
])) : (t(), i("div", zo, [
|
|
4480
|
+
n("span", Lo, x(e.progress), 1),
|
|
4477
4481
|
n("div", {
|
|
4478
4482
|
class: "pie",
|
|
4479
4483
|
style: me({
|
|
@@ -4492,10 +4496,10 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4492
4496
|
]))
|
|
4493
4497
|
], 2));
|
|
4494
4498
|
}
|
|
4495
|
-
},
|
|
4499
|
+
}, Vf = /* @__PURE__ */ we(jo, [["__scopeId", "data-v-fb4f007e"]]), Bo = { class: "pb-2" }, Jo = {
|
|
4496
4500
|
key: 0,
|
|
4497
4501
|
class: "pl-3 uppercase text-oc-accent-1-200 relative text-medium text-sm"
|
|
4498
|
-
},
|
|
4502
|
+
}, No = {
|
|
4499
4503
|
__name: "OcSidebarHead",
|
|
4500
4504
|
props: {
|
|
4501
4505
|
label: String,
|
|
@@ -4503,8 +4507,8 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4503
4507
|
},
|
|
4504
4508
|
setup(e) {
|
|
4505
4509
|
return (r, a) => (t(), i("div", null, [
|
|
4506
|
-
n("div",
|
|
4507
|
-
e.isSidebarExpanded && e.label ? (t(), i("div",
|
|
4510
|
+
n("div", Bo, [
|
|
4511
|
+
e.isSidebarExpanded && e.label ? (t(), i("div", Jo, [
|
|
4508
4512
|
n("span", null, x(e.label), 1)
|
|
4509
4513
|
])) : u("", !0)
|
|
4510
4514
|
]),
|
|
@@ -4521,16 +4525,16 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4521
4525
|
], 2)
|
|
4522
4526
|
]));
|
|
4523
4527
|
}
|
|
4524
|
-
},
|
|
4528
|
+
}, Wo = { class: "relative" }, qo = {
|
|
4525
4529
|
key: 0,
|
|
4526
4530
|
class: "bg-oc-warning text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
|
4527
|
-
},
|
|
4531
|
+
}, Vo = {
|
|
4528
4532
|
key: 1,
|
|
4529
4533
|
class: "bg-oc-accent-2 text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
|
4530
|
-
},
|
|
4534
|
+
}, Mo = {
|
|
4531
4535
|
key: 2,
|
|
4532
4536
|
class: "bg-oc-accent-2 text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
|
4533
|
-
},
|
|
4537
|
+
}, Yo = { class: "py-2 whitespace-nowrap px-3 text-sm text-oc-text-400 font-medium" }, Eo = { class: "ml-1" }, To = { class: "flex flex-col gap-y-1 min-h-0" }, Ho = {
|
|
4534
4538
|
__name: "OcSidebarMenu",
|
|
4535
4539
|
props: {
|
|
4536
4540
|
icon: String,
|
|
@@ -4553,7 +4557,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4553
4557
|
placement: "right-start",
|
|
4554
4558
|
strategy: "fixed"
|
|
4555
4559
|
});
|
|
4556
|
-
}), (m, f) => We((t(), i("div",
|
|
4560
|
+
}), (m, f) => We((t(), i("div", Wo, [
|
|
4557
4561
|
A(o(se), {
|
|
4558
4562
|
position: "right",
|
|
4559
4563
|
"arrow-hidden": "",
|
|
@@ -4584,9 +4588,9 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4584
4588
|
n("span", {
|
|
4585
4589
|
class: p(["leading-[21px] flex-1", { "font-medium": e.isActive }])
|
|
4586
4590
|
}, x(e.label), 3),
|
|
4587
|
-
e.isBeta ? (t(), i("div",
|
|
4588
|
-
e.isNew ? (t(), i("div",
|
|
4589
|
-
e.isTryIt ? (t(), i("div",
|
|
4591
|
+
e.isBeta ? (t(), i("div", qo, " BETA ")) : u("", !0),
|
|
4592
|
+
e.isNew ? (t(), i("div", Vo, " NEW ")) : u("", !0),
|
|
4593
|
+
e.isTryIt ? (t(), i("div", Mo, " TRY IT ")) : u("", !0)
|
|
4590
4594
|
], 64)) : u("", !0),
|
|
4591
4595
|
e.isExpanded && e.isChildren ? (t(), g(o(L), {
|
|
4592
4596
|
key: 1,
|
|
@@ -4602,8 +4606,8 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4602
4606
|
e.isExpanded ? void 0 : {
|
|
4603
4607
|
name: "popper",
|
|
4604
4608
|
fn: I(() => [
|
|
4605
|
-
n("div",
|
|
4606
|
-
n("span",
|
|
4609
|
+
n("div", Yo, [
|
|
4610
|
+
n("span", Eo, x(e.label), 1)
|
|
4607
4611
|
])
|
|
4608
4612
|
]),
|
|
4609
4613
|
key: "0"
|
|
@@ -4618,7 +4622,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4618
4622
|
onClick: f[0] || (f[0] = pe(() => {
|
|
4619
4623
|
}, ["stop"]))
|
|
4620
4624
|
}, [
|
|
4621
|
-
n("div",
|
|
4625
|
+
n("div", To, [
|
|
4622
4626
|
k(m.$slots, "default")
|
|
4623
4627
|
])
|
|
4624
4628
|
], 2)) : u("", !0),
|
|
@@ -4636,16 +4640,16 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4636
4640
|
[o(rt), c]
|
|
4637
4641
|
]);
|
|
4638
4642
|
}
|
|
4639
|
-
},
|
|
4643
|
+
}, Go = { class: "flex-1 whitespace-nowrap" }, Do = {
|
|
4640
4644
|
key: 0,
|
|
4641
4645
|
class: "bg-oc-warning text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
|
4642
|
-
},
|
|
4646
|
+
}, Po = {
|
|
4643
4647
|
key: 1,
|
|
4644
4648
|
class: "bg-oc-accent-2 text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
|
4645
|
-
},
|
|
4649
|
+
}, Ro = {
|
|
4646
4650
|
key: 2,
|
|
4647
4651
|
class: "bg-oc-accent-2 text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
|
4648
|
-
},
|
|
4652
|
+
}, Qo = {
|
|
4649
4653
|
__name: "OcSidebarSubMenuItem",
|
|
4650
4654
|
props: {
|
|
4651
4655
|
label: String,
|
|
@@ -4667,25 +4671,25 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4667
4671
|
}, [...a[0] || (a[0] = [
|
|
4668
4672
|
n("div", { class: "w-[6px] h-[6px] rounded-full bg-[var(--oc-sidebar-menu-active-icon-active)]" }, null, -1)
|
|
4669
4673
|
])], 2),
|
|
4670
|
-
n("div",
|
|
4671
|
-
e.isBeta ? (t(), i("div",
|
|
4672
|
-
e.isNew ? (t(), i("div",
|
|
4673
|
-
e.isTryIt ? (t(), i("div",
|
|
4674
|
+
n("div", Go, x(e.label), 1),
|
|
4675
|
+
e.isBeta ? (t(), i("div", Do, " BETA ")) : u("", !0),
|
|
4676
|
+
e.isNew ? (t(), i("div", Po, " NEW ")) : u("", !0),
|
|
4677
|
+
e.isTryIt ? (t(), i("div", Ro, " TRY IT ")) : u("", !0)
|
|
4674
4678
|
], 2));
|
|
4675
4679
|
}
|
|
4676
|
-
},
|
|
4680
|
+
}, Xo = { class: "pt-4 pb-5 sticky z-[1006] bottom-0 bg-[var(--oc-sidebar-background)] left-0 px-6 shadow-[0_-12px_44px_0_var(--oc-accent-1-50-tr)]" }, Fo = { class: "flex flex-col gap-y-3" }, Uo = {
|
|
4677
4681
|
__name: "OcSidebarFooter",
|
|
4678
4682
|
props: {
|
|
4679
4683
|
isExpanded: Boolean
|
|
4680
4684
|
},
|
|
4681
4685
|
setup(e) {
|
|
4682
|
-
return (r, a) => (t(), i("div",
|
|
4683
|
-
n("div",
|
|
4686
|
+
return (r, a) => (t(), i("div", Xo, [
|
|
4687
|
+
n("div", Fo, [
|
|
4684
4688
|
e.isExpanded ? k(r.$slots, "default", { key: 0 }) : u("", !0)
|
|
4685
4689
|
])
|
|
4686
4690
|
]));
|
|
4687
4691
|
}
|
|
4688
|
-
},
|
|
4692
|
+
}, $o = { class: "relative" }, _o = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, es = { class: "py-2 px-3 gap-x-3 flex items-center" }, ts = { class: "text-oc-accent-2 flex-1 font-medium" }, as = { class: "flex items-center gap-x-2" }, ls = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Mf = {
|
|
4689
4693
|
__name: "OcSidebarFeatureBanners",
|
|
4690
4694
|
props: {
|
|
4691
4695
|
isStacked: {
|
|
@@ -4702,16 +4706,16 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4702
4706
|
}
|
|
4703
4707
|
},
|
|
4704
4708
|
setup(e) {
|
|
4705
|
-
return (r, a) => (t(), i("div",
|
|
4709
|
+
return (r, a) => (t(), i("div", $o, [
|
|
4706
4710
|
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)),
|
|
4707
|
-
n("div",
|
|
4708
|
-
n("div",
|
|
4711
|
+
n("div", _o, [
|
|
4712
|
+
n("div", es, [
|
|
4709
4713
|
A(o(L), {
|
|
4710
4714
|
name: "sparkle-2",
|
|
4711
4715
|
class: "text-oc-accent-2"
|
|
4712
4716
|
}),
|
|
4713
|
-
n("div",
|
|
4714
|
-
n("div",
|
|
4717
|
+
n("div", ts, x(e.title), 1),
|
|
4718
|
+
n("div", as, [
|
|
4715
4719
|
A(o(L), {
|
|
4716
4720
|
name: "x",
|
|
4717
4721
|
class: "text-oc-text-300 hover:text-oc-text",
|
|
@@ -4728,11 +4732,11 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4728
4732
|
})
|
|
4729
4733
|
])
|
|
4730
4734
|
]),
|
|
4731
|
-
n("div",
|
|
4735
|
+
n("div", ls, x(e.description), 1)
|
|
4732
4736
|
])
|
|
4733
4737
|
]));
|
|
4734
4738
|
}
|
|
4735
|
-
},
|
|
4739
|
+
}, ns = { class: "py-7 flex flex-col gap-y-3 px-4" }, is = { class: "flex flex-col gap-y-2" }, os = ["onClick"], Yf = {
|
|
4736
4740
|
__name: "OcSubSidebar",
|
|
4737
4741
|
props: {
|
|
4738
4742
|
title: {
|
|
@@ -4750,7 +4754,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4750
4754
|
},
|
|
4751
4755
|
emits: ["titleClick", "update:modelValue"],
|
|
4752
4756
|
setup(e) {
|
|
4753
|
-
return (r, a) => (t(), i("div",
|
|
4757
|
+
return (r, a) => (t(), i("div", ns, [
|
|
4754
4758
|
e.title ? (t(), i("div", {
|
|
4755
4759
|
key: 0,
|
|
4756
4760
|
class: "py-4 gap-x-3 whitespace-nowrap cursor-pointer flex font-medium items-center",
|
|
@@ -4764,7 +4768,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4764
4768
|
}),
|
|
4765
4769
|
F(" " + x(e.title), 1)
|
|
4766
4770
|
])) : u("", !0),
|
|
4767
|
-
n("div",
|
|
4771
|
+
n("div", is, [
|
|
4768
4772
|
(t(!0), i(Y, null, T(e.menu, (l, s) => (t(), i("div", {
|
|
4769
4773
|
key: s,
|
|
4770
4774
|
class: p([
|
|
@@ -4772,14 +4776,14 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4772
4776
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
|
4773
4777
|
]),
|
|
4774
4778
|
onClick: (d) => r.$emit("update:modelValue", l.value)
|
|
4775
|
-
}, x(l.label), 11,
|
|
4779
|
+
}, x(l.label), 11, os))), 128))
|
|
4776
4780
|
])
|
|
4777
4781
|
]));
|
|
4778
4782
|
}
|
|
4779
|
-
},
|
|
4783
|
+
}, ss = { class: "relative" }, rs = {
|
|
4780
4784
|
key: 0,
|
|
4781
4785
|
class: "flex items-center gap-x-2"
|
|
4782
|
-
},
|
|
4786
|
+
}, Ef = {
|
|
4783
4787
|
__name: "OcEmptyPage",
|
|
4784
4788
|
props: {
|
|
4785
4789
|
isButton: {
|
|
@@ -4882,7 +4886,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4882
4886
|
class: p(["flex flex-col items-center", r.value[e.size].box])
|
|
4883
4887
|
}, [
|
|
4884
4888
|
k(a.$slots, "icon", {}, () => [
|
|
4885
|
-
n("div",
|
|
4889
|
+
n("div", ss, [
|
|
4886
4890
|
n("div", {
|
|
4887
4891
|
class: p(["flex justify-center border rounded-full items-center aspect-square", [
|
|
4888
4892
|
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",
|
|
@@ -4916,7 +4920,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4916
4920
|
}, x(e.description), 3)
|
|
4917
4921
|
])
|
|
4918
4922
|
], 2),
|
|
4919
|
-
e.isButton ? (t(), i("div",
|
|
4923
|
+
e.isButton ? (t(), i("div", rs, [
|
|
4920
4924
|
e.secondaryButton ? (t(), g(o(U), G({
|
|
4921
4925
|
key: 0,
|
|
4922
4926
|
label: "Docs Button",
|
|
@@ -4932,16 +4936,16 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4932
4936
|
])) : u("", !0)
|
|
4933
4937
|
], 2));
|
|
4934
4938
|
}
|
|
4935
|
-
},
|
|
4939
|
+
}, ds = {
|
|
4936
4940
|
key: 0,
|
|
4937
4941
|
class: "min-w-[138px] flex flex-col gap-y-3"
|
|
4938
|
-
},
|
|
4942
|
+
}, cs = {
|
|
4939
4943
|
key: 1,
|
|
4940
4944
|
class: "flex gap-x-4 items-center"
|
|
4941
|
-
},
|
|
4945
|
+
}, us = { class: "flex flex-col gap-y-2" }, ms = { class: "flex items-center gap-x-2" }, fs = { class: "text-oc-text-400 text-sm" }, ps = {
|
|
4942
4946
|
key: 0,
|
|
4943
4947
|
class: "flex justify-center items-center w-[38px] h-[38px] shrink-0 rounded-full bg-oc-gray-100"
|
|
4944
|
-
},
|
|
4948
|
+
}, vs = {
|
|
4945
4949
|
__name: "OcInfoCardButton",
|
|
4946
4950
|
props: {
|
|
4947
4951
|
isActive: Boolean,
|
|
@@ -4960,19 +4964,19 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4960
4964
|
e.isLoading ? "p-3" : "px-5 py-4 min-h-[62px] max-h-[76px]"
|
|
4961
4965
|
]])
|
|
4962
4966
|
}, [
|
|
4963
|
-
e.isLoading ? (t(), i("div",
|
|
4967
|
+
e.isLoading ? (t(), i("div", ds, [
|
|
4964
4968
|
A(o(oe), { class: "h-[14px] w-[80%] rounded-sm" }),
|
|
4965
4969
|
A(o(oe), { class: "h-[20px] w-full rounded-sm" })
|
|
4966
|
-
])) : (t(), i("div",
|
|
4967
|
-
n("div",
|
|
4968
|
-
n("div",
|
|
4969
|
-
n("span",
|
|
4970
|
+
])) : (t(), i("div", cs, [
|
|
4971
|
+
n("div", us, [
|
|
4972
|
+
n("div", ms, [
|
|
4973
|
+
n("span", fs, x(e.title), 1),
|
|
4970
4974
|
e.chipOptions ? (t(), g(o(de), ye(G({ key: 0 }, e.chipOptions)), null, 16)) : u("", !0)
|
|
4971
4975
|
]),
|
|
4972
4976
|
n("span", {
|
|
4973
4977
|
class: p(["flex gap-x-4 items-center text-xl group-hover:text-oc-text", e.isActive ? "text-oc-text" : "text-oc-text-400"])
|
|
4974
4978
|
}, [
|
|
4975
|
-
e.countryIso ? (t(), i("div",
|
|
4979
|
+
e.countryIso ? (t(), i("div", ps, [
|
|
4976
4980
|
A(o(L), {
|
|
4977
4981
|
class: "!rounded-[1px]",
|
|
4978
4982
|
name: `flags/${e.countryIso.toUpperCase()}`
|
|
@@ -4985,7 +4989,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4985
4989
|
]))
|
|
4986
4990
|
], 2));
|
|
4987
4991
|
}
|
|
4988
|
-
},
|
|
4992
|
+
}, gs = { class: "flex items-center gap-x-4 overflow-hidden" }, As = { class: "flex gap-x-2 overflow-auto" }, hs = ["alt", "src"], ys = {
|
|
4989
4993
|
__name: "OcPaymentMethods",
|
|
4990
4994
|
props: {
|
|
4991
4995
|
methods: {
|
|
@@ -4994,23 +4998,23 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
4994
4998
|
}
|
|
4995
4999
|
},
|
|
4996
5000
|
setup(e) {
|
|
4997
|
-
return (r, a) => (t(), i("div",
|
|
5001
|
+
return (r, a) => (t(), i("div", gs, [
|
|
4998
5002
|
a[0] || (a[0] = n("span", { class: "text-xs shrink-0 font-medium text-oc-text-300 uppercase" }, " Payment methods ", -1)),
|
|
4999
|
-
n("div",
|
|
5003
|
+
n("div", As, [
|
|
5000
5004
|
(t(!0), i(Y, null, T(e.methods, (l) => (t(), i("img", {
|
|
5001
5005
|
key: l,
|
|
5002
5006
|
width: "35",
|
|
5003
5007
|
alt: l,
|
|
5004
5008
|
height: "24",
|
|
5005
5009
|
src: l
|
|
5006
|
-
}, null, 8,
|
|
5010
|
+
}, null, 8, hs))), 128))
|
|
5007
5011
|
])
|
|
5008
5012
|
]));
|
|
5009
5013
|
}
|
|
5010
|
-
},
|
|
5014
|
+
}, bs = { class: "flex justify-between md:flex-row flex-col gap-y-3 gap-x-4 md:gap-y-0" }, xs = { key: 2 }, ks = {
|
|
5011
5015
|
key: 4,
|
|
5012
5016
|
class: "flex shrink-0 gap-x-3"
|
|
5013
|
-
},
|
|
5017
|
+
}, ws = {
|
|
5014
5018
|
__name: "OcTopActions",
|
|
5015
5019
|
props: {
|
|
5016
5020
|
moreButtonProps: Object,
|
|
@@ -5033,19 +5037,19 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
5033
5037
|
const r = J(!1);
|
|
5034
5038
|
return (a, l) => {
|
|
5035
5039
|
var s;
|
|
5036
|
-
return t(), i("div",
|
|
5040
|
+
return t(), i("div", bs, [
|
|
5037
5041
|
e.isLoading ? (t(), g(o(oe), {
|
|
5038
5042
|
key: 0,
|
|
5039
5043
|
class: "h-[20px] w-[322px] rounded-sm"
|
|
5040
5044
|
})) : u("", !0),
|
|
5041
|
-
!e.isLoading && e.paymentMethods.length ? (t(), g(
|
|
5045
|
+
!e.isLoading && e.paymentMethods.length ? (t(), g(ys, {
|
|
5042
5046
|
key: 1,
|
|
5043
5047
|
methods: e.paymentMethods
|
|
5044
|
-
}, null, 8, ["methods"])) : (t(), i("div",
|
|
5048
|
+
}, null, 8, ["methods"])) : (t(), i("div", xs)),
|
|
5045
5049
|
e.isLoading ? (t(), g(o(oe), {
|
|
5046
5050
|
key: 3,
|
|
5047
5051
|
class: "h-[20px] w-[168px] rounded-sm"
|
|
5048
|
-
})) : (t(), i("div",
|
|
5052
|
+
})) : (t(), i("div", ks, [
|
|
5049
5053
|
A(o(ve), G({
|
|
5050
5054
|
modelValue: r.value,
|
|
5051
5055
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => r.value = d),
|
|
@@ -5088,7 +5092,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
5088
5092
|
]);
|
|
5089
5093
|
};
|
|
5090
5094
|
}
|
|
5091
|
-
},
|
|
5095
|
+
}, Cs = { class: "flex flex-col gap-y-5" }, Ss = { class: "flex gap-x-5 overflow-x-auto" }, Is = {
|
|
5092
5096
|
__name: "OcBalanceOverview",
|
|
5093
5097
|
props: {
|
|
5094
5098
|
overviewItems: {
|
|
@@ -5124,10 +5128,10 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
5124
5128
|
changeTab: []
|
|
5125
5129
|
},
|
|
5126
5130
|
setup(e) {
|
|
5127
|
-
return (r, a) => (t(), i("div",
|
|
5128
|
-
n("div",
|
|
5131
|
+
return (r, a) => (t(), i("div", Cs, [
|
|
5132
|
+
n("div", Ss, [
|
|
5129
5133
|
(t(!0), i(Y, null, T(e.isLoading ? 2 : e.overviewTabs, (l) => k(r.$slots, l.value, { tab: l }, () => [
|
|
5130
|
-
(t(), g(
|
|
5134
|
+
(t(), g(vs, {
|
|
5131
5135
|
key: l.value,
|
|
5132
5136
|
title: l.title,
|
|
5133
5137
|
"is-loading": e.isLoading,
|
|
@@ -5142,7 +5146,7 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
5142
5146
|
])), 256))
|
|
5143
5147
|
]),
|
|
5144
5148
|
a[0] || (a[0] = n("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
|
5145
|
-
A(
|
|
5149
|
+
A(ws, {
|
|
5146
5150
|
"is-loading": e.isLoading,
|
|
5147
5151
|
"more-button-props": e.moreButtonProps,
|
|
5148
5152
|
"secondary-button-props": e.secondaryButtonProps,
|
|
@@ -5163,19 +5167,19 @@ const jf = /* @__PURE__ */ we(Oi, [["render", zi]]), Li = { class: "flex items-c
|
|
|
5163
5167
|
}, 8, ["is-loading", "items", "container-class"])
|
|
5164
5168
|
]));
|
|
5165
5169
|
}
|
|
5166
|
-
},
|
|
5167
|
-
function
|
|
5168
|
-
return t(), i("div",
|
|
5170
|
+
}, Zs = {}, Os = { 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" };
|
|
5171
|
+
function Ks(e, r) {
|
|
5172
|
+
return t(), i("div", Os, [
|
|
5169
5173
|
k(e.$slots, "default")
|
|
5170
5174
|
]);
|
|
5171
5175
|
}
|
|
5172
|
-
const nt = /* @__PURE__ */ we(
|
|
5176
|
+
const nt = /* @__PURE__ */ we(Zs, [["render", Ks]]), zs = { class: "flex" }, Ls = {
|
|
5173
5177
|
key: 0,
|
|
5174
5178
|
class: "p-2"
|
|
5175
|
-
},
|
|
5179
|
+
}, js = { class: "py-2 px-3" }, Bs = {
|
|
5176
5180
|
key: 0,
|
|
5177
5181
|
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"
|
|
5178
|
-
},
|
|
5182
|
+
}, Js = { class: "p-5 flex items-center justify-between" }, Ns = { class: "px-5 flex-1 flex flex-col gap-y-5" }, Ws = {
|
|
5179
5183
|
__name: "MobileDynamicType",
|
|
5180
5184
|
props: {
|
|
5181
5185
|
boxes: { type: Array, default: () => [] },
|
|
@@ -5191,7 +5195,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5191
5195
|
default: I(() => {
|
|
5192
5196
|
var s, d;
|
|
5193
5197
|
return [
|
|
5194
|
-
n("div",
|
|
5198
|
+
n("div", zs, [
|
|
5195
5199
|
(t(!0), i(Y, null, T((s = e.boxes[0]) == null ? void 0 : s.items.slice(0, 2), (c, m) => (t(), g(o(_e), G({
|
|
5196
5200
|
key: m,
|
|
5197
5201
|
"is-transparent": "",
|
|
@@ -5210,12 +5214,12 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5210
5214
|
key: "0"
|
|
5211
5215
|
} : void 0
|
|
5212
5216
|
]), 1040, ["title", "content", "class", "is-loading"]))), 128)),
|
|
5213
|
-
(d = e.boxes[0]) != null && d.showInfo ? (t(), i("div",
|
|
5217
|
+
(d = e.boxes[0]) != null && d.showInfo ? (t(), i("div", Ls, [
|
|
5214
5218
|
A(o(se), null, {
|
|
5215
5219
|
popper: I(() => {
|
|
5216
5220
|
var c;
|
|
5217
5221
|
return [
|
|
5218
|
-
n("div",
|
|
5222
|
+
n("div", js, x((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
|
5219
5223
|
];
|
|
5220
5224
|
}),
|
|
5221
5225
|
default: I(() => [
|
|
@@ -5253,8 +5257,8 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5253
5257
|
}),
|
|
5254
5258
|
A(Ee, { name: "slide-from-right" }, {
|
|
5255
5259
|
default: I(() => [
|
|
5256
|
-
r.value ? (t(), i("div",
|
|
5257
|
-
n("div",
|
|
5260
|
+
r.value ? (t(), i("div", Bs, [
|
|
5261
|
+
n("div", Js, [
|
|
5258
5262
|
l[4] || (l[4] = n("span", { class: "font-medium" }, "Details", -1)),
|
|
5259
5263
|
A(o(U), {
|
|
5260
5264
|
size: "small",
|
|
@@ -5266,7 +5270,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5266
5270
|
onClick: l[2] || (l[2] = (s) => r.value = !1)
|
|
5267
5271
|
})
|
|
5268
5272
|
]),
|
|
5269
|
-
n("div",
|
|
5273
|
+
n("div", Ns, [
|
|
5270
5274
|
(t(!0), i(Y, null, T(e.boxes, (s, d) => (t(), g(nt, { key: d }, {
|
|
5271
5275
|
default: I(() => [
|
|
5272
5276
|
(t(!0), i(Y, null, T(s.items, (c, m) => (t(), g(o(_e), G({
|
|
@@ -5303,7 +5307,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5303
5307
|
})
|
|
5304
5308
|
]));
|
|
5305
5309
|
}
|
|
5306
|
-
},
|
|
5310
|
+
}, qs = { class: "hidden md:flex md:gap-5 gap-3 md:flex-row flex-col" }, Vs = { class: "py-2 px-3" }, Ms = {
|
|
5307
5311
|
__name: "OcDynamicType",
|
|
5308
5312
|
props: {
|
|
5309
5313
|
boxes: { type: Array, default: () => [] },
|
|
@@ -5316,7 +5320,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5316
5320
|
emits: ["addCustomer", "editCustomer"],
|
|
5317
5321
|
setup(e) {
|
|
5318
5322
|
return (r, a) => (t(), i(Y, null, [
|
|
5319
|
-
n("div",
|
|
5323
|
+
n("div", qs, [
|
|
5320
5324
|
(t(!0), i(Y, null, T(e.boxes, (l, s) => (t(), g(nt, {
|
|
5321
5325
|
key: s,
|
|
5322
5326
|
class: p(
|
|
@@ -5352,7 +5356,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5352
5356
|
A(o(se), { "popper-options": { strategy: "fixed" } }, {
|
|
5353
5357
|
popper: I(() => [
|
|
5354
5358
|
k(r.$slots, l.infoTooltipSlot, {}, () => [
|
|
5355
|
-
n("div",
|
|
5359
|
+
n("div", Vs, x(l.infoTooltip), 1)
|
|
5356
5360
|
])
|
|
5357
5361
|
]),
|
|
5358
5362
|
default: I(() => [
|
|
@@ -5395,7 +5399,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5395
5399
|
} : void 0
|
|
5396
5400
|
]), 1032, ["variant", "customer", "is-hover", "is-edit"])) : u("", !0)
|
|
5397
5401
|
]),
|
|
5398
|
-
A(
|
|
5402
|
+
A(Ws, {
|
|
5399
5403
|
class: "flex md:hidden",
|
|
5400
5404
|
boxes: e.boxes,
|
|
5401
5405
|
"is-customer": e.isCustomer,
|
|
@@ -5412,19 +5416,19 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5412
5416
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
|
5413
5417
|
], 64));
|
|
5414
5418
|
}
|
|
5415
|
-
},
|
|
5419
|
+
}, Ys = { class: "md:pb-4 md:px-7 px-5" }, Es = {
|
|
5416
5420
|
key: 0,
|
|
5417
5421
|
class: "flex items-center gap-x-3"
|
|
5418
|
-
},
|
|
5422
|
+
}, Ts = { class: "font-medium" }, Hs = {
|
|
5419
5423
|
key: 1,
|
|
5420
5424
|
class: "flex h-[24px] items-center gap-x-3"
|
|
5421
|
-
},
|
|
5425
|
+
}, Gs = {
|
|
5422
5426
|
key: 0,
|
|
5423
5427
|
class: "flex items-center gap-x-2 max-w-full"
|
|
5424
|
-
},
|
|
5428
|
+
}, Ds = ["href"], Ps = { class: "truncate" }, Rs = { class: "text-oc-text whitespace-nowrap" }, Qs = {
|
|
5425
5429
|
key: 1,
|
|
5426
5430
|
class: "flex items-center h-[30px] gap-x-2 w-full"
|
|
5427
|
-
},
|
|
5431
|
+
}, Tf = {
|
|
5428
5432
|
__name: "OcAdditionalContent",
|
|
5429
5433
|
props: {
|
|
5430
5434
|
mainLink: { type: String, default: "" },
|
|
@@ -5473,7 +5477,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5473
5477
|
console.error("Unable to copy text to clipboard. Error: ", l);
|
|
5474
5478
|
}
|
|
5475
5479
|
};
|
|
5476
|
-
return (l, s) => (t(), i("div",
|
|
5480
|
+
return (l, s) => (t(), i("div", Ys, [
|
|
5477
5481
|
e.variant === "default" ? (t(), g(Bt, {
|
|
5478
5482
|
key: 0,
|
|
5479
5483
|
description: e.mainLink,
|
|
@@ -5481,14 +5485,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5481
5485
|
class: p(["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])
|
|
5482
5486
|
}, {
|
|
5483
5487
|
title: I(() => [
|
|
5484
|
-
e.isLoading ? (t(), i("div",
|
|
5488
|
+
e.isLoading ? (t(), i("div", Hs, [
|
|
5485
5489
|
A(o(oe), { class: "w-[200px] h-[18px] rounded" }),
|
|
5486
5490
|
e.chipVariant ? (t(), g(o(oe), {
|
|
5487
5491
|
key: 0,
|
|
5488
5492
|
class: "w-[100px] h-[24px] rounded"
|
|
5489
5493
|
})) : u("", !0)
|
|
5490
|
-
])) : (t(), i("div",
|
|
5491
|
-
n("span",
|
|
5494
|
+
])) : (t(), i("div", Es, [
|
|
5495
|
+
n("span", Ts, x(e.additionalTitle), 1),
|
|
5492
5496
|
e.chipVariant ? (t(), g(o(de), {
|
|
5493
5497
|
key: 0,
|
|
5494
5498
|
variant: e.chipVariant,
|
|
@@ -5497,21 +5501,21 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5497
5501
|
]))
|
|
5498
5502
|
]),
|
|
5499
5503
|
description: I(() => [
|
|
5500
|
-
e.isLoading ? (t(), i("div",
|
|
5504
|
+
e.isLoading ? (t(), i("div", Qs, [
|
|
5501
5505
|
A(o(oe), { class: "w-1/2 h-[20px] rounded" }),
|
|
5502
5506
|
A(o(oe), { class: "w-[30px] h-[24px] rounded" }),
|
|
5503
5507
|
A(o(oe), { class: "w-[30px] h-[24px] rounded" }),
|
|
5504
5508
|
A(o(oe), { class: "w-[30px] h-[24px] rounded" }),
|
|
5505
5509
|
A(o(oe), { class: "w-[30px] h-[24px] rounded" })
|
|
5506
|
-
])) : (t(), i("div",
|
|
5510
|
+
])) : (t(), i("div", Gs, [
|
|
5507
5511
|
n("a", {
|
|
5508
5512
|
href: e.href || `${e.mainLink}${e.userId}`,
|
|
5509
5513
|
target: "_blank",
|
|
5510
5514
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
|
5511
5515
|
}, [
|
|
5512
|
-
n("div",
|
|
5513
|
-
n("div",
|
|
5514
|
-
], 8,
|
|
5516
|
+
n("div", Ps, x(e.mainLink), 1),
|
|
5517
|
+
n("div", Rs, x(e.userId), 1)
|
|
5518
|
+
], 8, Ds),
|
|
5515
5519
|
A(o(oo), {
|
|
5516
5520
|
"primary-actions": e.primaryActions,
|
|
5517
5521
|
onCopy: a
|
|
@@ -5519,7 +5523,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5519
5523
|
]))
|
|
5520
5524
|
]),
|
|
5521
5525
|
_: 1
|
|
5522
|
-
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), g(
|
|
5526
|
+
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), g(Ms, {
|
|
5523
5527
|
key: 1,
|
|
5524
5528
|
boxes: e.boxes,
|
|
5525
5529
|
"customer-card-variant": e.customerCardVariant,
|
|
@@ -5537,7 +5541,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5537
5541
|
k(l.$slots, c, ye(Ve(m)))
|
|
5538
5542
|
])
|
|
5539
5543
|
}))
|
|
5540
|
-
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), g(
|
|
5544
|
+
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), g(Is, {
|
|
5541
5545
|
key: 2,
|
|
5542
5546
|
"overview-items": e.overviewItems,
|
|
5543
5547
|
"overview-tabs": e.overviewTabs,
|
|
@@ -5561,13 +5565,13 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5561
5565
|
]), 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"])) : u("", !0)
|
|
5562
5566
|
]));
|
|
5563
5567
|
}
|
|
5564
|
-
},
|
|
5568
|
+
}, Xs = { class: "send-money-initial-state relative border rounded" }, Fs = { class: "z-10 p-7 flex flex-col relative" }, Us = { class: "text-xl font-medium mb-4" }, $s = {
|
|
5565
5569
|
key: 0,
|
|
5566
5570
|
class: "text-oc-text-400 mb-10"
|
|
5567
|
-
},
|
|
5571
|
+
}, _s = {
|
|
5568
5572
|
key: 1,
|
|
5569
5573
|
class: "flex gap-4 flex-wrap"
|
|
5570
|
-
},
|
|
5574
|
+
}, er = { class: "text-sm font-medium" }, tr = {
|
|
5571
5575
|
__name: "OcFeatureOverviewCard",
|
|
5572
5576
|
props: {
|
|
5573
5577
|
title: {
|
|
@@ -5587,11 +5591,11 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5587
5591
|
setup(e) {
|
|
5588
5592
|
return (r, a) => {
|
|
5589
5593
|
var l;
|
|
5590
|
-
return t(), i("div",
|
|
5591
|
-
n("div",
|
|
5592
|
-
n("h2",
|
|
5593
|
-
e.description ? (t(), i("p",
|
|
5594
|
-
(l = e.features) != null && l.length ? (t(), i("div",
|
|
5594
|
+
return t(), i("div", Xs, [
|
|
5595
|
+
n("div", Fs, [
|
|
5596
|
+
n("h2", Us, x(e.title), 1),
|
|
5597
|
+
e.description ? (t(), i("p", $s, x(e.description), 1)) : u("", !0),
|
|
5598
|
+
(l = e.features) != null && l.length ? (t(), i("div", _s, [
|
|
5595
5599
|
(t(!0), i(Y, null, T(e.features, (s) => (t(), i("div", {
|
|
5596
5600
|
key: s.title,
|
|
5597
5601
|
class: "rounded bg-white flex flex-col gap-2 p-6 items-center justify-center relative"
|
|
@@ -5607,14 +5611,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5607
5611
|
height: "56",
|
|
5608
5612
|
width: "56"
|
|
5609
5613
|
}, null, 8, ["name"]),
|
|
5610
|
-
n("span",
|
|
5614
|
+
n("span", er, x(s.title), 1)
|
|
5611
5615
|
]))), 128))
|
|
5612
5616
|
])) : u("", !0)
|
|
5613
5617
|
])
|
|
5614
5618
|
]);
|
|
5615
5619
|
};
|
|
5616
5620
|
}
|
|
5617
|
-
},
|
|
5621
|
+
}, Hf = /* @__PURE__ */ we(tr, [["__scopeId", "data-v-d658d1d3"]]), ar = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, lr = { class: "text-sm" }, Gf = {
|
|
5618
5622
|
__name: "OcSandboxBanner",
|
|
5619
5623
|
props: {
|
|
5620
5624
|
title: {
|
|
@@ -5631,8 +5635,8 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5631
5635
|
}
|
|
5632
5636
|
},
|
|
5633
5637
|
setup(e) {
|
|
5634
|
-
return (r, a) => (t(), i("div",
|
|
5635
|
-
n("span",
|
|
5638
|
+
return (r, a) => (t(), i("div", ar, [
|
|
5639
|
+
n("span", lr, x(e.title), 1),
|
|
5636
5640
|
e.chipProps ? (t(), g(o(de), G({
|
|
5637
5641
|
key: 0,
|
|
5638
5642
|
class: "absolute left-[40px]"
|
|
@@ -5643,7 +5647,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5643
5647
|
}, e.buttonProps), null, 16)) : u("", !0)
|
|
5644
5648
|
]));
|
|
5645
5649
|
}
|
|
5646
|
-
},
|
|
5650
|
+
}, nr = { class: "w-screen relative h-[40px] bg-oc-warning-300 flex items-center justify-center" }, ir = { class: "text-sm font-medium" }, or = { class: "flex items-center gap-2 underline" }, Df = {
|
|
5647
5651
|
__name: "OcTopBanner",
|
|
5648
5652
|
props: {
|
|
5649
5653
|
title: {
|
|
@@ -5654,8 +5658,8 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5654
5658
|
},
|
|
5655
5659
|
emits: ["click:button"],
|
|
5656
5660
|
setup(e) {
|
|
5657
|
-
return (r, a) => (t(), i("div",
|
|
5658
|
-
n("span",
|
|
5661
|
+
return (r, a) => (t(), i("div", nr, [
|
|
5662
|
+
n("span", ir, x(e.title), 1),
|
|
5659
5663
|
e.buttonLabel ? (t(), g(o(U), {
|
|
5660
5664
|
key: 0,
|
|
5661
5665
|
class: "absolute right-9",
|
|
@@ -5664,7 +5668,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5664
5668
|
onClick: a[0] || (a[0] = (l) => r.$emit("click:button"))
|
|
5665
5669
|
}, {
|
|
5666
5670
|
default: I(() => [
|
|
5667
|
-
n("span",
|
|
5671
|
+
n("span", or, [
|
|
5668
5672
|
F(x(e.buttonLabel) + " ", 1),
|
|
5669
5673
|
A(o(L), {
|
|
5670
5674
|
name: "arrow-right",
|
|
@@ -5677,7 +5681,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5677
5681
|
})) : u("", !0)
|
|
5678
5682
|
]));
|
|
5679
5683
|
}
|
|
5680
|
-
},
|
|
5684
|
+
}, sr = { class: "flex flex-col text-center gap-y-3" }, rr = { class: "text-lg font-medium" }, dr = { class: "text-sm text-oc-text-400" }, Pf = {
|
|
5681
5685
|
__name: "OcBox",
|
|
5682
5686
|
props: {
|
|
5683
5687
|
icon: String,
|
|
@@ -5698,13 +5702,13 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5698
5702
|
height: e.height,
|
|
5699
5703
|
variant: e.variant
|
|
5700
5704
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
|
5701
|
-
n("div",
|
|
5702
|
-
n("span",
|
|
5703
|
-
n("span",
|
|
5705
|
+
n("div", sr, [
|
|
5706
|
+
n("span", rr, x(e.title), 1),
|
|
5707
|
+
n("span", dr, x(e.description), 1)
|
|
5704
5708
|
])
|
|
5705
5709
|
], 2));
|
|
5706
5710
|
}
|
|
5707
|
-
},
|
|
5711
|
+
}, Rf = {
|
|
5708
5712
|
__name: "OcAuthenticationOption",
|
|
5709
5713
|
props: {
|
|
5710
5714
|
icon: String,
|
|
@@ -5730,7 +5734,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5730
5734
|
e.chipProps ? (t(), g(o(de), G({ key: 1 }, e.chipProps, { class: "absolute top-0 -translate-y-1/2 sm:right-9" }), null, 16)) : u("", !0)
|
|
5731
5735
|
], 2));
|
|
5732
5736
|
}
|
|
5733
|
-
},
|
|
5737
|
+
}, cr = { class: "flex items-center" }, ur = { class: "flex flex-1 items-center gap-x-3" }, mr = { class: "font-medium text-lg" }, Qf = {
|
|
5734
5738
|
__name: "OcVerificationOption",
|
|
5735
5739
|
props: {
|
|
5736
5740
|
title: {
|
|
@@ -5754,10 +5758,10 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5754
5758
|
return (r, a) => (t(), i("div", {
|
|
5755
5759
|
class: p(["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"])
|
|
5756
5760
|
}, [
|
|
5757
|
-
n("div",
|
|
5758
|
-
n("div",
|
|
5761
|
+
n("div", cr, [
|
|
5762
|
+
n("div", ur, [
|
|
5759
5763
|
k(r.$slots, "title", {}, () => [
|
|
5760
|
-
n("span",
|
|
5764
|
+
n("span", mr, x(e.title), 1)
|
|
5761
5765
|
]),
|
|
5762
5766
|
e.chipOptions ? (t(), g(o(de), ye(G({ key: 0 }, e.chipOptions)), null, 16)) : u("", !0)
|
|
5763
5767
|
]),
|
|
@@ -5772,13 +5776,13 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5772
5776
|
k(r.$slots, "content")
|
|
5773
5777
|
], 2));
|
|
5774
5778
|
}
|
|
5775
|
-
},
|
|
5779
|
+
}, fr = {
|
|
5776
5780
|
key: 0,
|
|
5777
5781
|
class: "flex flex-col gap-y-4 w-full"
|
|
5778
|
-
},
|
|
5782
|
+
}, pr = { class: "flex flex-col gap-y-3" }, vr = { class: "font-medium text-oc-text" }, gr = { class: "text-oc-text-400" }, Ar = { class: "flex gap-x-3" }, hr = {
|
|
5779
5783
|
key: 0,
|
|
5780
5784
|
class: "text-oc-text"
|
|
5781
|
-
},
|
|
5785
|
+
}, yr = ["innerHTML"], Xf = {
|
|
5782
5786
|
__name: "OcSnackbar",
|
|
5783
5787
|
props: {
|
|
5784
5788
|
modelValue: {
|
|
@@ -5914,12 +5918,12 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5914
5918
|
}, null, 8, ["name", "width", "height"]))
|
|
5915
5919
|
], 64)) : u("", !0),
|
|
5916
5920
|
k(y.$slots, "default", {}, () => [
|
|
5917
|
-
f.value ? (t(), i("div",
|
|
5918
|
-
n("div",
|
|
5919
|
-
n("span",
|
|
5920
|
-
n("span",
|
|
5921
|
+
f.value ? (t(), i("div", fr, [
|
|
5922
|
+
n("div", pr, [
|
|
5923
|
+
n("span", vr, x(e.title), 1),
|
|
5924
|
+
n("span", gr, x(e.description), 1)
|
|
5921
5925
|
]),
|
|
5922
|
-
n("div",
|
|
5926
|
+
n("div", Ar, [
|
|
5923
5927
|
e.secondaryButton ? (t(), g(o(U), G({
|
|
5924
5928
|
key: 0,
|
|
5925
5929
|
variant: "secondary",
|
|
@@ -5938,7 +5942,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5938
5942
|
key: 1,
|
|
5939
5943
|
class: "text-oc-text",
|
|
5940
5944
|
innerHTML: e.content
|
|
5941
|
-
}, null, 8,
|
|
5945
|
+
}, null, 8, yr)) : (t(), i("span", hr, x(e.content), 1))
|
|
5942
5946
|
], 2))
|
|
5943
5947
|
]),
|
|
5944
5948
|
e.dismissible ? (t(), i("div", {
|
|
@@ -5959,7 +5963,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
5959
5963
|
_: 3
|
|
5960
5964
|
}, 8, ["name"]));
|
|
5961
5965
|
}
|
|
5962
|
-
},
|
|
5966
|
+
}, br = { class: "flex items-center gap-3" }, xr = { class: "text-oc-text-500" }, kr = { class: "p-4 text-sm" }, wr = {
|
|
5963
5967
|
__name: "OcBanner",
|
|
5964
5968
|
props: {
|
|
5965
5969
|
modelValue: {
|
|
@@ -6018,7 +6022,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6018
6022
|
n("div", {
|
|
6019
6023
|
class: p(["flex flex-1 items-center justify-between gap-3 min-h-[34px] px-4 text-sm", o(r)[e.color]])
|
|
6020
6024
|
}, [
|
|
6021
|
-
n("div",
|
|
6025
|
+
n("div", br, [
|
|
6022
6026
|
e.showIcon ? (t(), g(o(L), {
|
|
6023
6027
|
key: 0,
|
|
6024
6028
|
name: e.icon,
|
|
@@ -6027,7 +6031,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6027
6031
|
height: "16"
|
|
6028
6032
|
}, null, 8, ["name"])) : u("", !0),
|
|
6029
6033
|
k(l.$slots, "title", {}, () => [
|
|
6030
|
-
n("div",
|
|
6034
|
+
n("div", xr, x(e.title), 1)
|
|
6031
6035
|
], !0)
|
|
6032
6036
|
]),
|
|
6033
6037
|
e.dismissible ? (t(), g(o(U), {
|
|
@@ -6038,7 +6042,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6038
6042
|
onClick: s[0] || (s[0] = (d) => l.$emit("update:modelValue", !1))
|
|
6039
6043
|
})) : u("", !0)
|
|
6040
6044
|
], 2),
|
|
6041
|
-
n("div",
|
|
6045
|
+
n("div", kr, [
|
|
6042
6046
|
k(l.$slots, "default", {}, () => [
|
|
6043
6047
|
F(x(e.content), 1)
|
|
6044
6048
|
], !0)
|
|
@@ -6050,10 +6054,10 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6050
6054
|
_: 3
|
|
6051
6055
|
}, 8, ["name"]));
|
|
6052
6056
|
}
|
|
6053
|
-
},
|
|
6057
|
+
}, Ff = /* @__PURE__ */ we(wr, [["__scopeId", "data-v-d8517c87"]]), Cr = { class: "rounded-full share-icon w-fit cursor-pointer text-oc-text-400 p-3 border border-gray-200" }, Sr = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Ir = {
|
|
6054
6058
|
key: 1,
|
|
6055
6059
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
|
6056
|
-
},
|
|
6060
|
+
}, Zr = { class: "text-sm" }, Uf = {
|
|
6057
6061
|
__name: "OcShareIcon",
|
|
6058
6062
|
props: {
|
|
6059
6063
|
text: String,
|
|
@@ -6066,10 +6070,10 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6066
6070
|
setup(e) {
|
|
6067
6071
|
return (r, a) => e.isOnlyIcon ? (t(), g(o(se), ye(G({ key: 0 }, e.tooltipOptions)), {
|
|
6068
6072
|
popper: I(() => [
|
|
6069
|
-
n("div",
|
|
6073
|
+
n("div", Sr, x(e.text), 1)
|
|
6070
6074
|
]),
|
|
6071
6075
|
default: I(() => [
|
|
6072
|
-
n("div",
|
|
6076
|
+
n("div", Cr, [
|
|
6073
6077
|
A(o(L), {
|
|
6074
6078
|
name: e.icon,
|
|
6075
6079
|
width: "20",
|
|
@@ -6078,25 +6082,25 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6078
6082
|
])
|
|
6079
6083
|
]),
|
|
6080
6084
|
_: 1
|
|
6081
|
-
}, 16)) : (t(), i("div",
|
|
6085
|
+
}, 16)) : (t(), i("div", Ir, [
|
|
6082
6086
|
A(o(L), {
|
|
6083
6087
|
name: e.icon,
|
|
6084
6088
|
width: "20",
|
|
6085
6089
|
height: "20"
|
|
6086
6090
|
}, null, 8, ["name"]),
|
|
6087
|
-
n("span",
|
|
6091
|
+
n("span", Zr, x(e.text), 1)
|
|
6088
6092
|
]));
|
|
6089
6093
|
}
|
|
6090
|
-
},
|
|
6094
|
+
}, Or = { class: "flex flex-col w-full gap-y-2" }, Kr = { class: "flex items-center gap-x-1" }, zr = {
|
|
6091
6095
|
key: 0,
|
|
6092
6096
|
class: "text-oc-error"
|
|
6093
|
-
},
|
|
6097
|
+
}, Lr = {
|
|
6094
6098
|
key: 0,
|
|
6095
6099
|
class: "px-3 py-2"
|
|
6096
|
-
},
|
|
6100
|
+
}, jr = {
|
|
6097
6101
|
key: 1,
|
|
6098
6102
|
class: "flex items-center text-sm text-oc-text-400"
|
|
6099
|
-
},
|
|
6103
|
+
}, Br = {
|
|
6100
6104
|
key: 2,
|
|
6101
6105
|
class: "flex items-center text-sm text-oc-error"
|
|
6102
6106
|
}, Ie = {
|
|
@@ -6112,19 +6116,19 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6112
6116
|
labelClass: String
|
|
6113
6117
|
},
|
|
6114
6118
|
setup(e) {
|
|
6115
|
-
return (r, a) => (t(), i("div",
|
|
6119
|
+
return (r, a) => (t(), i("div", Or, [
|
|
6116
6120
|
e.label ? (t(), i("label", {
|
|
6117
6121
|
key: 0,
|
|
6118
6122
|
class: p(["flex items-center text-sm font-medium gap-x-3 text-oc-text-400", e.labelClass])
|
|
6119
6123
|
}, [
|
|
6120
|
-
n("span",
|
|
6124
|
+
n("span", Kr, [
|
|
6121
6125
|
F(x(e.label) + " ", 1),
|
|
6122
|
-
e.isRequired ? (t(), i("span",
|
|
6126
|
+
e.isRequired ? (t(), i("span", zr, "*")) : u("", !0)
|
|
6123
6127
|
]),
|
|
6124
6128
|
e.labelIcon ? (t(), g(o(se), ye(G({ key: 0 }, e.tooltipOptions)), {
|
|
6125
6129
|
popper: I(() => [
|
|
6126
6130
|
k(r.$slots, "tooltipText", {}, () => [
|
|
6127
|
-
e.tooltipText ? (t(), i("div",
|
|
6131
|
+
e.tooltipText ? (t(), i("div", Lr, x(e.tooltipText), 1)) : u("", !0)
|
|
6128
6132
|
])
|
|
6129
6133
|
]),
|
|
6130
6134
|
default: I(() => [
|
|
@@ -6138,18 +6142,18 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6138
6142
|
}, 16)) : u("", !0)
|
|
6139
6143
|
], 2)) : u("", !0),
|
|
6140
6144
|
k(r.$slots, "default"),
|
|
6141
|
-
(e.hint || r.$slots.hint) && !e.errorMessage ? (t(), i("div",
|
|
6145
|
+
(e.hint || r.$slots.hint) && !e.errorMessage ? (t(), i("div", jr, [
|
|
6142
6146
|
k(r.$slots, "hint", {}, () => [
|
|
6143
6147
|
F(x(e.hint), 1)
|
|
6144
6148
|
])
|
|
6145
6149
|
])) : u("", !0),
|
|
6146
|
-
e.errorMessage ? (t(), i("div",
|
|
6150
|
+
e.errorMessage ? (t(), i("div", Br, x(e.errorMessage), 1)) : u("", !0)
|
|
6147
6151
|
]));
|
|
6148
6152
|
}
|
|
6149
|
-
},
|
|
6153
|
+
}, Jr = ["disabled"], Nr = {
|
|
6150
6154
|
key: 2,
|
|
6151
6155
|
class: "overflow-hidden text-ellipsis"
|
|
6152
|
-
},
|
|
6156
|
+
}, Wr = {
|
|
6153
6157
|
__name: "OcButton",
|
|
6154
6158
|
props: {
|
|
6155
6159
|
label: String,
|
|
@@ -6230,7 +6234,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6230
6234
|
height: b.value[e.size],
|
|
6231
6235
|
name: e.leftIcon
|
|
6232
6236
|
}, null, 8, ["width", "class", "height", "name"])) : u("", !0),
|
|
6233
|
-
e.label ? (t(), i("span",
|
|
6237
|
+
e.label ? (t(), i("span", Nr, x(e.label), 1)) : k(j.$slots, "default", { key: 3 }, void 0, !0),
|
|
6234
6238
|
e.rightIcon ? (t(), g(o(L), {
|
|
6235
6239
|
key: 4,
|
|
6236
6240
|
width: b.value[e.size],
|
|
@@ -6238,7 +6242,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6238
6242
|
name: e.rightIcon,
|
|
6239
6243
|
class: p(e.iconClass)
|
|
6240
6244
|
}, null, 8, ["width", "height", "name", "class"])) : u("", !0)
|
|
6241
|
-
], 42,
|
|
6245
|
+
], 42, Jr),
|
|
6242
6246
|
e.isAdditionalArea && !e.isTransparent ? (t(), i("div", {
|
|
6243
6247
|
key: 0,
|
|
6244
6248
|
class: p(["border-y border-r flex cursor-pointer items-center justify-center oc-btn-add-area px-[6px] py-3 rounded-r-[inherit]", [s.value[e.size], e.variant]]),
|
|
@@ -6253,7 +6257,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6253
6257
|
], 2)) : u("", !0)
|
|
6254
6258
|
], 2));
|
|
6255
6259
|
}
|
|
6256
|
-
}, U = /* @__PURE__ */ we(
|
|
6260
|
+
}, U = /* @__PURE__ */ we(Wr, [["__scopeId", "data-v-af49bb32"]]), qr = { class: "w-[30px] h-[20px] flex items-center justify-center" }, Vr = {
|
|
6257
6261
|
__name: "OcCardInput",
|
|
6258
6262
|
props: {
|
|
6259
6263
|
placeholder: String,
|
|
@@ -6300,7 +6304,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6300
6304
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => r.$emit("update:modelValue", l))
|
|
6301
6305
|
}, {
|
|
6302
6306
|
icon: I(() => [
|
|
6303
|
-
n("div",
|
|
6307
|
+
n("div", qr, [
|
|
6304
6308
|
A(o(L), {
|
|
6305
6309
|
name: `payment-methods/${e.cardType}`,
|
|
6306
6310
|
width: "20",
|
|
@@ -6311,7 +6315,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6311
6315
|
_: 1
|
|
6312
6316
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
6313
6317
|
}
|
|
6314
|
-
},
|
|
6318
|
+
}, Mr = ["value", "checked", "disabled"], Yr = {
|
|
6315
6319
|
__name: "OcCheckbox",
|
|
6316
6320
|
props: {
|
|
6317
6321
|
modelValue: Boolean,
|
|
@@ -6370,14 +6374,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6370
6374
|
class: "h-0 w-0 hidden",
|
|
6371
6375
|
disabled: e.isDisabled,
|
|
6372
6376
|
onChange: d
|
|
6373
|
-
}, null, 40,
|
|
6377
|
+
}, null, 40, Mr),
|
|
6374
6378
|
k(c.$slots, "after", {}, void 0, !0)
|
|
6375
6379
|
], 2)
|
|
6376
6380
|
]),
|
|
6377
6381
|
_: 3
|
|
6378
6382
|
}, 8, ["label", "hint", "error-message"]));
|
|
6379
6383
|
}
|
|
6380
|
-
}, Ne = /* @__PURE__ */ we(
|
|
6384
|
+
}, Ne = /* @__PURE__ */ we(Yr, [["__scopeId", "data-v-bdfcee55"]]), Er = {
|
|
6381
6385
|
__name: "OcCheckboxesGroup",
|
|
6382
6386
|
props: {
|
|
6383
6387
|
alignment: {
|
|
@@ -6456,14 +6460,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6456
6460
|
_: 1
|
|
6457
6461
|
}, 8, ["label", "error-message", "hint"]));
|
|
6458
6462
|
}
|
|
6459
|
-
},
|
|
6463
|
+
}, Tr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, $f = {
|
|
6460
6464
|
__name: "OcCriteria",
|
|
6461
6465
|
props: {
|
|
6462
6466
|
modelValue: Boolean,
|
|
6463
6467
|
label: String
|
|
6464
6468
|
},
|
|
6465
6469
|
setup(e) {
|
|
6466
|
-
return (r, a) => (t(), i("div",
|
|
6470
|
+
return (r, a) => (t(), i("div", Tr, [
|
|
6467
6471
|
n("div", {
|
|
6468
6472
|
class: p([
|
|
6469
6473
|
"w-5 h-5 flex items-center justify-center rounded-full border transition-all duration-300",
|
|
@@ -6482,16 +6486,18 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6482
6486
|
}, x(e.label), 3)) : u("", !0)
|
|
6483
6487
|
]));
|
|
6484
6488
|
}
|
|
6485
|
-
},
|
|
6489
|
+
}, Hr = { class: "flex flex-1 items-baseline gap-x-2" }, Gr = {
|
|
6486
6490
|
key: 0,
|
|
6487
6491
|
class: "text-oc-text-300"
|
|
6488
|
-
},
|
|
6492
|
+
}, Dr = { class: "flex items-center gap-x-1 w-full" }, Pr = {
|
|
6489
6493
|
key: 0,
|
|
6490
6494
|
class: "text-oc-text-300"
|
|
6491
|
-
},
|
|
6495
|
+
}, Rr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], Qr = {
|
|
6492
6496
|
key: 0,
|
|
6493
6497
|
class: "border-l border-gray-200 pl-3 py-3 h-full"
|
|
6494
|
-
}, Se = {
|
|
6498
|
+
}, Se = /* @__PURE__ */ Object.assign({
|
|
6499
|
+
inheritAttrs: !1
|
|
6500
|
+
}, {
|
|
6495
6501
|
__name: "OcInput",
|
|
6496
6502
|
props: {
|
|
6497
6503
|
disabled: {
|
|
@@ -6621,7 +6627,8 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6621
6627
|
"is-required": e.isRequired,
|
|
6622
6628
|
"label-icon": e.labelIcon,
|
|
6623
6629
|
"tooltip-text": e.tooltipText,
|
|
6624
|
-
"tooltip-options": e.tooltipOptions
|
|
6630
|
+
"tooltip-options": e.tooltipOptions,
|
|
6631
|
+
class: p(o(l).class)
|
|
6625
6632
|
}, ne({
|
|
6626
6633
|
default: I(() => [
|
|
6627
6634
|
n("div", {
|
|
@@ -6644,10 +6651,10 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6644
6651
|
name: e.icon
|
|
6645
6652
|
}, e.iconProps), null, 16, ["name"])) : u("", !0)
|
|
6646
6653
|
]),
|
|
6647
|
-
n("div",
|
|
6648
|
-
e.isInlineLabel && e.label ? (t(), i("label",
|
|
6649
|
-
n("div",
|
|
6650
|
-
e.preFill ? (t(), i("span",
|
|
6654
|
+
n("div", Hr, [
|
|
6655
|
+
e.isInlineLabel && e.label ? (t(), i("label", Gr, x(e.label) + ": ", 1)) : u("", !0),
|
|
6656
|
+
n("div", Dr, [
|
|
6657
|
+
e.preFill ? (t(), i("span", Pr, x(e.preFill), 1)) : u("", !0),
|
|
6651
6658
|
n("input", G({
|
|
6652
6659
|
ref_key: "inputRef",
|
|
6653
6660
|
ref: s,
|
|
@@ -6668,14 +6675,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6668
6675
|
}),
|
|
6669
6676
|
onInput: b[2] || (b[2] = (j) => y.$emit("update:modelValue", j.target.value)),
|
|
6670
6677
|
onPaste: b[3] || (b[3] = (j) => y.$emit("paste", j))
|
|
6671
|
-
}), null, 16,
|
|
6678
|
+
}), null, 16, Rr)
|
|
6672
6679
|
])
|
|
6673
6680
|
]),
|
|
6674
6681
|
y.$slots.leading || v.value ? (t(), i("div", {
|
|
6675
6682
|
key: 1,
|
|
6676
6683
|
class: p(["flex items-center h-full", e.leadingClass])
|
|
6677
6684
|
}, [
|
|
6678
|
-
e.hasLeadingSeparator ? (t(), i("span",
|
|
6685
|
+
e.hasLeadingSeparator ? (t(), i("span", Qr)) : u("", !0),
|
|
6679
6686
|
y.$slots.leading ? u("", !0) : (t(), i("span", {
|
|
6680
6687
|
key: 1,
|
|
6681
6688
|
class: "text-oc-text-200",
|
|
@@ -6701,12 +6708,12 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6701
6708
|
]),
|
|
6702
6709
|
key: "0"
|
|
6703
6710
|
} : void 0
|
|
6704
|
-
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
6711
|
+
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options", "class"]));
|
|
6705
6712
|
}
|
|
6706
|
-
},
|
|
6713
|
+
}), Xr = { class: "flex flex-1 items-baseline gap-x-2" }, Fr = {
|
|
6707
6714
|
key: 0,
|
|
6708
6715
|
class: "text-oc-text-300"
|
|
6709
|
-
},
|
|
6716
|
+
}, Ur = { class: "w-full flex flex-wrap gap-2" }, $r = { key: 1 }, _r = ["value", "readonly", "placeholder", "disabled"], _f = {
|
|
6710
6717
|
__name: "OcInputOption",
|
|
6711
6718
|
props: {
|
|
6712
6719
|
label: String,
|
|
@@ -6783,8 +6790,8 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6783
6790
|
default: I(() => {
|
|
6784
6791
|
var C, h;
|
|
6785
6792
|
return [
|
|
6786
|
-
n("div",
|
|
6787
|
-
e.isInlineLabel && e.label ? (t(), i("label",
|
|
6793
|
+
n("div", Xr, [
|
|
6794
|
+
e.isInlineLabel && e.label ? (t(), i("label", Fr, x(e.label) + ": ", 1)) : u("", !0),
|
|
6788
6795
|
n("div", {
|
|
6789
6796
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
|
6790
6797
|
onClick: Z[4] || (Z[4] = (S) => c.value.focus())
|
|
@@ -6795,7 +6802,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6795
6802
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
|
6796
6803
|
}])
|
|
6797
6804
|
}, [
|
|
6798
|
-
n("div",
|
|
6805
|
+
n("div", Ur, [
|
|
6799
6806
|
k(z.$slots, "default", {
|
|
6800
6807
|
options: y.value,
|
|
6801
6808
|
areAllOptionsVisible: f.value
|
|
@@ -6817,7 +6824,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6817
6824
|
name: "minus",
|
|
6818
6825
|
width: "12",
|
|
6819
6826
|
height: "12"
|
|
6820
|
-
})) : (t(), i("span",
|
|
6827
|
+
})) : (t(), i("span", $r, x(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
|
6821
6828
|
]),
|
|
6822
6829
|
_: 1
|
|
6823
6830
|
})) : u("", !0)
|
|
@@ -6836,7 +6843,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6836
6843
|
console.log("$event: ", S), v.value = !1, z.$emit("blur", S);
|
|
6837
6844
|
}),
|
|
6838
6845
|
onKeyup: Z[3] || (Z[3] = $e((S) => j(S.target.value), ["enter"]))
|
|
6839
|
-
}, null, 42,
|
|
6846
|
+
}, null, 42, _r)
|
|
6840
6847
|
])
|
|
6841
6848
|
], 2)
|
|
6842
6849
|
])
|
|
@@ -6846,7 +6853,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6846
6853
|
_: 3
|
|
6847
6854
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
6848
6855
|
}
|
|
6849
|
-
},
|
|
6856
|
+
}, ed = { class: "flex gap-x-2 items-center" }, td = { class: "text-oc-text-400 font-medium text-sm" }, ad = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, ld = ["onClick"], nd = { class: "text-oc-text-300" }, id = { class: "text-oc-text-400" }, od = {
|
|
6850
6857
|
__name: "OcPhoneInput",
|
|
6851
6858
|
props: {
|
|
6852
6859
|
countryCodes: { type: Array, default: () => [] },
|
|
@@ -6963,7 +6970,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6963
6970
|
ref: z,
|
|
6964
6971
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
|
6965
6972
|
}, [
|
|
6966
|
-
n("div",
|
|
6973
|
+
n("div", ad, [
|
|
6967
6974
|
A(o(Se), {
|
|
6968
6975
|
modelValue: m.value,
|
|
6969
6976
|
"onUpdate:modelValue": K[0] || (K[0] = (O) => m.value = O),
|
|
@@ -6997,17 +7004,17 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
6997
7004
|
n("div", {
|
|
6998
7005
|
class: p(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${O.iso.toLowerCase()}`])
|
|
6999
7006
|
}, null, 2),
|
|
7000
|
-
n("span",
|
|
7001
|
-
n("span",
|
|
7002
|
-
], 10,
|
|
7007
|
+
n("span", nd, "+" + x(O.code), 1),
|
|
7008
|
+
n("span", id, x(O.country), 1)
|
|
7009
|
+
], 10, ld))), 128))
|
|
7003
7010
|
], 512)
|
|
7004
7011
|
]),
|
|
7005
7012
|
default: I(() => [
|
|
7006
|
-
n("div",
|
|
7013
|
+
n("div", ed, [
|
|
7007
7014
|
n("div", {
|
|
7008
7015
|
class: p(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
|
7009
7016
|
}, null, 2),
|
|
7010
|
-
n("span",
|
|
7017
|
+
n("span", td, " +" + x(y(d.value)), 1),
|
|
7011
7018
|
A(o(L), {
|
|
7012
7019
|
width: "16",
|
|
7013
7020
|
height: "16",
|
|
@@ -7023,10 +7030,10 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7023
7030
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
|
7024
7031
|
};
|
|
7025
7032
|
}
|
|
7026
|
-
},
|
|
7033
|
+
}, sd = ["id", "value", "checked", "name", "disabled"], rd = ["for"], dd = {
|
|
7027
7034
|
key: 0,
|
|
7028
7035
|
class: "px-3 py-2 whitespace-nowrap"
|
|
7029
|
-
},
|
|
7036
|
+
}, cd = {
|
|
7030
7037
|
__name: "OcRadio",
|
|
7031
7038
|
props: {
|
|
7032
7039
|
modelValue: [String, Boolean],
|
|
@@ -7064,7 +7071,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7064
7071
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
|
7065
7072
|
type: "radio",
|
|
7066
7073
|
onInput: a[0] || (a[0] = (l) => r.$emit("update:modelValue", l.target.value))
|
|
7067
|
-
}, null, 40,
|
|
7074
|
+
}, null, 40, sd),
|
|
7068
7075
|
n("label", {
|
|
7069
7076
|
for: e.groupName + e.id,
|
|
7070
7077
|
class: p(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
|
@@ -7098,7 +7105,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7098
7105
|
e.labelIcon ? (t(), g(o(se), ye(G({ key: 2 }, e.tooltipOptions)), {
|
|
7099
7106
|
popper: I(() => [
|
|
7100
7107
|
k(r.$slots, "tooltipText", {}, () => [
|
|
7101
|
-
e.tooltipText ? (t(), i("div",
|
|
7108
|
+
e.tooltipText ? (t(), i("div", dd, x(e.tooltipText), 1)) : u("", !0)
|
|
7102
7109
|
])
|
|
7103
7110
|
]),
|
|
7104
7111
|
default: I(() => [
|
|
@@ -7111,12 +7118,12 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7111
7118
|
]),
|
|
7112
7119
|
_: 3
|
|
7113
7120
|
}, 16)) : u("", !0)
|
|
7114
|
-
], 10,
|
|
7121
|
+
], 10, rd)
|
|
7115
7122
|
]),
|
|
7116
7123
|
_: 3
|
|
7117
7124
|
}, 8, ["class", "error-message", "hint"]));
|
|
7118
7125
|
}
|
|
7119
|
-
},
|
|
7126
|
+
}, ud = {
|
|
7120
7127
|
__name: "OcRadioGroup",
|
|
7121
7128
|
props: {
|
|
7122
7129
|
alignment: {
|
|
@@ -7153,7 +7160,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7153
7160
|
n("div", {
|
|
7154
7161
|
class: p(["flex", [l.value[e.alignment], e.wrapperClass]])
|
|
7155
7162
|
}, [
|
|
7156
|
-
(t(!0), i(Y, null, T(e.radio, (m, f) => (t(), g(o(
|
|
7163
|
+
(t(!0), i(Y, null, T(e.radio, (m, f) => (t(), g(o(cd), {
|
|
7157
7164
|
id: m.value,
|
|
7158
7165
|
key: f,
|
|
7159
7166
|
class: p({ "!w-fit": !e.isBlock }),
|
|
@@ -7176,10 +7183,10 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7176
7183
|
_: 1
|
|
7177
7184
|
}, 8, ["label", "error-message", "hint"]));
|
|
7178
7185
|
}
|
|
7179
|
-
},
|
|
7186
|
+
}, md = { class: "flex flex-col gap-y-2 oc-range-input" }, fd = { class: "flex gap-x-3" }, pd = {
|
|
7180
7187
|
key: 0,
|
|
7181
7188
|
class: "flex pt-4"
|
|
7182
|
-
},
|
|
7189
|
+
}, vd = {
|
|
7183
7190
|
__name: "OcRangeInput",
|
|
7184
7191
|
props: {
|
|
7185
7192
|
maxLimit: {
|
|
@@ -7223,14 +7230,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7223
7230
|
};
|
|
7224
7231
|
return ke(() => {
|
|
7225
7232
|
a.onlyInput || c.value.updateSlider();
|
|
7226
|
-
}), (b, j) => (t(), i("div",
|
|
7233
|
+
}), (b, j) => (t(), i("div", md, [
|
|
7227
7234
|
A(o(Ie), {
|
|
7228
7235
|
label: e.label,
|
|
7229
7236
|
hint: e.hint,
|
|
7230
7237
|
"error-message": e.errorMessage
|
|
7231
7238
|
}, {
|
|
7232
7239
|
default: I(() => [
|
|
7233
|
-
n("div",
|
|
7240
|
+
n("div", fd, [
|
|
7234
7241
|
A(o(Se), {
|
|
7235
7242
|
"model-value": s.value,
|
|
7236
7243
|
label: "From",
|
|
@@ -7246,7 +7253,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7246
7253
|
"onUpdate:modelValue": j[1] || (j[1] = (z) => m(z, 1))
|
|
7247
7254
|
}, null, 8, ["model-value"])
|
|
7248
7255
|
]),
|
|
7249
|
-
e.onlyInput ? u("", !0) : (t(), i("div",
|
|
7256
|
+
e.onlyInput ? u("", !0) : (t(), i("div", pd, [
|
|
7250
7257
|
A(o(Mt), {
|
|
7251
7258
|
ref_key: "slider",
|
|
7252
7259
|
ref: c,
|
|
@@ -7263,25 +7270,25 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7263
7270
|
}, 8, ["label", "hint", "error-message"])
|
|
7264
7271
|
]));
|
|
7265
7272
|
}
|
|
7266
|
-
},
|
|
7273
|
+
}, gd = {
|
|
7267
7274
|
key: 0,
|
|
7268
7275
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
|
7269
|
-
},
|
|
7276
|
+
}, Ad = {
|
|
7270
7277
|
key: 0,
|
|
7271
7278
|
class: "text-oc-text-300"
|
|
7272
|
-
},
|
|
7279
|
+
}, hd = {
|
|
7273
7280
|
key: 1,
|
|
7274
7281
|
class: "text-oc-text-300"
|
|
7275
|
-
},
|
|
7282
|
+
}, yd = {
|
|
7276
7283
|
key: 2,
|
|
7277
7284
|
class: "truncate"
|
|
7278
|
-
},
|
|
7285
|
+
}, bd = {
|
|
7279
7286
|
key: 0,
|
|
7280
7287
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
|
7281
|
-
},
|
|
7288
|
+
}, xd = {
|
|
7282
7289
|
key: 0,
|
|
7283
7290
|
class: "text-sm text-oc-text-300 text-center"
|
|
7284
|
-
},
|
|
7291
|
+
}, kd = { key: 0 }, wd = {
|
|
7285
7292
|
__name: "OcSelect",
|
|
7286
7293
|
props: {
|
|
7287
7294
|
label: String,
|
|
@@ -7467,7 +7474,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7467
7474
|
"tooltip-options": e.tooltipOptions
|
|
7468
7475
|
}, ne({
|
|
7469
7476
|
tooltipText: I(() => [
|
|
7470
|
-
W.$slots.selectTooltipText ? (t(), i("div",
|
|
7477
|
+
W.$slots.selectTooltipText ? (t(), i("div", kd, [
|
|
7471
7478
|
k(W.$slots, "selectTooltipText")
|
|
7472
7479
|
])) : u("", !0)
|
|
7473
7480
|
]),
|
|
@@ -7502,7 +7509,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7502
7509
|
ref: y,
|
|
7503
7510
|
class: "flex flex-col gap-y-2"
|
|
7504
7511
|
}, [
|
|
7505
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && Z.value ? (t(), i("div",
|
|
7512
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && Z.value ? (t(), i("div", bd, [
|
|
7506
7513
|
A(o(Se), {
|
|
7507
7514
|
ref_key: "searchInputRef",
|
|
7508
7515
|
ref: m,
|
|
@@ -7553,7 +7560,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7553
7560
|
onClick: ($) => C(R)
|
|
7554
7561
|
}, null, 8, ["label", "sub-label", "is-disabled", "is-checkboxes", "is-selected", "onClick"]))), 128)),
|
|
7555
7562
|
k(W.$slots, "empty", {}, () => [
|
|
7556
|
-
z.value.length ? u("", !0) : (t(), i("div",
|
|
7563
|
+
z.value.length ? u("", !0) : (t(), i("div", xd, " No data to display "))
|
|
7557
7564
|
])
|
|
7558
7565
|
]),
|
|
7559
7566
|
k(W.$slots, "infinite-scrolling"),
|
|
@@ -7596,7 +7603,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7596
7603
|
}
|
|
7597
7604
|
]])
|
|
7598
7605
|
}, [
|
|
7599
|
-
e.multiple ? (t(), i("div",
|
|
7606
|
+
e.multiple ? (t(), i("div", gd, [
|
|
7600
7607
|
k(W.$slots, "selection", {}, () => [
|
|
7601
7608
|
(t(!0), i(Y, null, T(e.maxVisibleOptions ? Z.value.slice(0, e.maxVisibleOptions) : Z.value, (H) => (t(), g(o(de), G({
|
|
7602
7609
|
key: H.value,
|
|
@@ -7604,7 +7611,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7604
7611
|
variant: H.variant,
|
|
7605
7612
|
label: H.label
|
|
7606
7613
|
}, { ref_for: !0 }, e.chipProps, {
|
|
7607
|
-
|
|
7614
|
+
truncate: "",
|
|
7608
7615
|
onRemove: (R) => h(H.value)
|
|
7609
7616
|
}), null, 16, ["variant", "label", "onRemove"]))), 128)),
|
|
7610
7617
|
e.maxVisibleOptions && Z.value.length > e.maxVisibleOptions ? (t(), g(o(de), {
|
|
@@ -7612,7 +7619,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7612
7619
|
label: `+${Z.value.length - e.maxVisibleOptions}`
|
|
7613
7620
|
}, null, 8, ["label"])) : u("", !0)
|
|
7614
7621
|
]),
|
|
7615
|
-
Z.value.length === 0 ? (t(), i("span",
|
|
7622
|
+
Z.value.length === 0 ? (t(), i("span", Ad, x(e.placeholder), 1)) : u("", !0)
|
|
7616
7623
|
])) : u("", !0),
|
|
7617
7624
|
e.isInlineSearch && e.isFilterable && !Z.value ? (t(), g(o(Se), {
|
|
7618
7625
|
key: 1,
|
|
@@ -7646,8 +7653,8 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7646
7653
|
width: "16",
|
|
7647
7654
|
height: "16"
|
|
7648
7655
|
}, null, 8, ["name"])) : u("", !0),
|
|
7649
|
-
e.isInlineLabel && e.label ? (t(), i("span",
|
|
7650
|
-
Z.value ? (t(), i("span",
|
|
7656
|
+
e.isInlineLabel && e.label ? (t(), i("span", hd, x(e.label) + ": ", 1)) : u("", !0),
|
|
7657
|
+
Z.value ? (t(), i("span", yd, x(Z.value.label), 1)) : (t(), i("span", {
|
|
7651
7658
|
key: 3,
|
|
7652
7659
|
class: p(e.dropdownClasses ? "" : "text-oc-text-300")
|
|
7653
7660
|
}, x(e.placeholder), 3))
|
|
@@ -7684,7 +7691,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7684
7691
|
} : void 0
|
|
7685
7692
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
7686
7693
|
}
|
|
7687
|
-
},
|
|
7694
|
+
}, Cd = { class: "w-full flex items-center gap-x-3" }, Sd = { class: "truncate" }, Id = {
|
|
7688
7695
|
key: 0,
|
|
7689
7696
|
class: "text-sm text-oc-text-300"
|
|
7690
7697
|
}, yt = {
|
|
@@ -7722,14 +7729,14 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7722
7729
|
"is-partial": e.isPartial,
|
|
7723
7730
|
class: "!w-fit pointer-events-none"
|
|
7724
7731
|
}, null, 8, ["model-value", "is-partial"])) : u("", !0),
|
|
7725
|
-
n("div",
|
|
7732
|
+
n("div", Cd, [
|
|
7726
7733
|
k(l.$slots, "trailing"),
|
|
7727
7734
|
n("div", {
|
|
7728
7735
|
class: p(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
|
7729
7736
|
}, [
|
|
7730
|
-
n("span",
|
|
7737
|
+
n("span", Sd, x(e.label), 1),
|
|
7731
7738
|
k(l.$slots, "sub-label", {}, () => [
|
|
7732
|
-
e.subLabel ? (t(), i("span",
|
|
7739
|
+
e.subLabel ? (t(), i("span", Id, x(e.subLabel), 1)) : u("", !0)
|
|
7733
7740
|
])
|
|
7734
7741
|
], 2),
|
|
7735
7742
|
k(l.$slots, "leading")
|
|
@@ -7749,21 +7756,21 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7749
7756
|
k(l.$slots, "after")
|
|
7750
7757
|
], 512));
|
|
7751
7758
|
}
|
|
7752
|
-
},
|
|
7759
|
+
}, Zd = { class: "flex flex-col" }, Od = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, ep = {
|
|
7753
7760
|
__name: "OcGroupOptions",
|
|
7754
7761
|
props: {
|
|
7755
7762
|
label: String
|
|
7756
7763
|
},
|
|
7757
7764
|
setup(e) {
|
|
7758
|
-
return (r, a) => (t(), i("div",
|
|
7759
|
-
n("div",
|
|
7765
|
+
return (r, a) => (t(), i("div", Zd, [
|
|
7766
|
+
n("div", Od, x(e.label), 1),
|
|
7760
7767
|
k(r.$slots, "default")
|
|
7761
7768
|
]));
|
|
7762
7769
|
}
|
|
7763
|
-
},
|
|
7770
|
+
}, Kd = { class: "flex items-center text-oc-text-400 gap-x-2" }, zd = {
|
|
7764
7771
|
key: 0,
|
|
7765
7772
|
class: "flex flex-col gap-2 p-2 py-3"
|
|
7766
|
-
},
|
|
7773
|
+
}, Ld = ["onClick"], jd = {
|
|
7767
7774
|
__name: "OcLinkInput",
|
|
7768
7775
|
props: {
|
|
7769
7776
|
placeholder: String,
|
|
@@ -7854,7 +7861,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7854
7861
|
distance: 10
|
|
7855
7862
|
}, {
|
|
7856
7863
|
menu: I(() => [
|
|
7857
|
-
e.isEdit ? u("", !0) : (t(), i("div",
|
|
7864
|
+
e.isEdit ? u("", !0) : (t(), i("div", zd, [
|
|
7858
7865
|
(t(!0), i(Y, null, T(e.links, (K) => (t(), i("div", {
|
|
7859
7866
|
key: K.value,
|
|
7860
7867
|
class: "flex items-center px-3 py-2 rounded-sm cursor-pointer gap-x-3 text-oc-text-400 hover:bg-gray-50",
|
|
@@ -7866,11 +7873,11 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7866
7873
|
name: K.icon
|
|
7867
7874
|
}, null, 8, ["name"]),
|
|
7868
7875
|
F(" " + x(K.label), 1)
|
|
7869
|
-
], 8,
|
|
7876
|
+
], 8, Ld))), 128))
|
|
7870
7877
|
]))
|
|
7871
7878
|
]),
|
|
7872
7879
|
default: I(() => [
|
|
7873
|
-
n("div",
|
|
7880
|
+
n("div", Kd, [
|
|
7874
7881
|
m.value.icon ? (t(), g(o(L), {
|
|
7875
7882
|
key: 0,
|
|
7876
7883
|
width: "20",
|
|
@@ -7892,7 +7899,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7892
7899
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
|
7893
7900
|
]));
|
|
7894
7901
|
}
|
|
7895
|
-
},
|
|
7902
|
+
}, Bd = ["disabled", "value", "rows", "placeholder"], Jd = "18px", Nd = {
|
|
7896
7903
|
__name: "OcTextArea",
|
|
7897
7904
|
props: {
|
|
7898
7905
|
placeholder: String,
|
|
@@ -7929,7 +7936,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7929
7936
|
setup(e, { emit: r }) {
|
|
7930
7937
|
const a = r, l = J(!1), s = (d) => {
|
|
7931
7938
|
const c = d.target;
|
|
7932
|
-
c && (c.style.height =
|
|
7939
|
+
c && (c.style.height = Jd, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
|
7933
7940
|
};
|
|
7934
7941
|
return (d, c) => (t(), g(o(Ie), {
|
|
7935
7942
|
label: e.label,
|
|
@@ -7954,7 +7961,7 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7954
7961
|
onInput: s,
|
|
7955
7962
|
onFocus: c[0] || (c[0] = (m) => l.value = !0),
|
|
7956
7963
|
onBlur: c[1] || (c[1] = (m) => l.value = !1)
|
|
7957
|
-
}, null, 42,
|
|
7964
|
+
}, null, 42, Bd)
|
|
7958
7965
|
]),
|
|
7959
7966
|
_: 1
|
|
7960
7967
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
@@ -7963,12 +7970,12 @@ const nt = /* @__PURE__ */ we(Os, [["render", zs]]), Ls = { class: "flex" }, js
|
|
|
7963
7970
|
function tt(e) {
|
|
7964
7971
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7965
7972
|
}
|
|
7966
|
-
var Qe = { exports: {} },
|
|
7967
|
-
function
|
|
7973
|
+
var Qe = { exports: {} }, Wd = Qe.exports, bt;
|
|
7974
|
+
function qd() {
|
|
7968
7975
|
return bt || (bt = 1, (function(e, r) {
|
|
7969
7976
|
(function(a, l) {
|
|
7970
7977
|
e.exports = l();
|
|
7971
|
-
})(
|
|
7978
|
+
})(Wd, (function() {
|
|
7972
7979
|
return function(a, l, s) {
|
|
7973
7980
|
l.prototype.isBetween = function(d, c, m, f) {
|
|
7974
7981
|
var v = s(d), y = s(c), b = (f = f || "()")[0] === "(", j = f[1] === ")";
|
|
@@ -7978,14 +7985,14 @@ function Vd() {
|
|
|
7978
7985
|
}));
|
|
7979
7986
|
})(Qe)), Qe.exports;
|
|
7980
7987
|
}
|
|
7981
|
-
var
|
|
7982
|
-
const Jt = /* @__PURE__ */ tt(
|
|
7983
|
-
var Xe = { exports: {} },
|
|
7984
|
-
function
|
|
7988
|
+
var Vd = qd();
|
|
7989
|
+
const Jt = /* @__PURE__ */ tt(Vd);
|
|
7990
|
+
var Xe = { exports: {} }, Md = Xe.exports, xt;
|
|
7991
|
+
function Yd() {
|
|
7985
7992
|
return xt || (xt = 1, (function(e, r) {
|
|
7986
7993
|
(function(a, l) {
|
|
7987
7994
|
e.exports = l();
|
|
7988
|
-
})(
|
|
7995
|
+
})(Md, (function() {
|
|
7989
7996
|
return function(a, l) {
|
|
7990
7997
|
l.prototype.isSameOrBefore = function(s, d) {
|
|
7991
7998
|
return this.isSame(s, d) || this.isBefore(s, d);
|
|
@@ -7994,14 +8001,14 @@ function Ed() {
|
|
|
7994
8001
|
}));
|
|
7995
8002
|
})(Xe)), Xe.exports;
|
|
7996
8003
|
}
|
|
7997
|
-
var
|
|
7998
|
-
const Nt = /* @__PURE__ */ tt(
|
|
7999
|
-
var Fe = { exports: {} },
|
|
8000
|
-
function
|
|
8004
|
+
var Ed = Yd();
|
|
8005
|
+
const Nt = /* @__PURE__ */ tt(Ed);
|
|
8006
|
+
var Fe = { exports: {} }, Td = Fe.exports, kt;
|
|
8007
|
+
function Hd() {
|
|
8001
8008
|
return kt || (kt = 1, (function(e, r) {
|
|
8002
8009
|
(function(a, l) {
|
|
8003
8010
|
e.exports = l();
|
|
8004
|
-
})(
|
|
8011
|
+
})(Td, (function() {
|
|
8005
8012
|
return function(a, l) {
|
|
8006
8013
|
l.prototype.isSameOrAfter = function(s, d) {
|
|
8007
8014
|
return this.isSame(s, d) || this.isAfter(s, d);
|
|
@@ -8010,14 +8017,14 @@ function Gd() {
|
|
|
8010
8017
|
}));
|
|
8011
8018
|
})(Fe)), Fe.exports;
|
|
8012
8019
|
}
|
|
8013
|
-
var
|
|
8014
|
-
const Wt = /* @__PURE__ */ tt(
|
|
8015
|
-
var Ue = { exports: {} },
|
|
8016
|
-
function
|
|
8020
|
+
var Gd = Hd();
|
|
8021
|
+
const Wt = /* @__PURE__ */ tt(Gd);
|
|
8022
|
+
var Ue = { exports: {} }, Dd = Ue.exports, wt;
|
|
8023
|
+
function Pd() {
|
|
8017
8024
|
return wt || (wt = 1, (function(e, r) {
|
|
8018
8025
|
(function(a, l) {
|
|
8019
8026
|
e.exports = l();
|
|
8020
|
-
})(
|
|
8027
|
+
})(Dd, (function() {
|
|
8021
8028
|
var a = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, l = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d/, d = /\d\d/, c = /\d\d?/, m = /\d*[^-_:/,()\s\d]+/, f = {}, v = function(h) {
|
|
8022
8029
|
return (h = +h) + (h > 68 ? 1900 : 2e3);
|
|
8023
8030
|
}, y = function(h) {
|
|
@@ -8135,53 +8142,53 @@ function Rd() {
|
|
|
8135
8142
|
}));
|
|
8136
8143
|
})(Ue)), Ue.exports;
|
|
8137
8144
|
}
|
|
8138
|
-
var
|
|
8139
|
-
const dt = /* @__PURE__ */ tt(
|
|
8140
|
-
var
|
|
8141
|
-
function
|
|
8142
|
-
var r =
|
|
8145
|
+
var Rd = Pd();
|
|
8146
|
+
const dt = /* @__PURE__ */ tt(Rd);
|
|
8147
|
+
var Qd = typeof global == "object" && global && global.Object === Object && global, Xd = typeof self == "object" && self && self.Object === Object && self, qt = Qd || Xd || Function("return this")(), et = qt.Symbol, Vt = Object.prototype, Fd = Vt.hasOwnProperty, Ud = Vt.toString, He = et ? et.toStringTag : void 0;
|
|
8148
|
+
function $d(e) {
|
|
8149
|
+
var r = Fd.call(e, He), a = e[He];
|
|
8143
8150
|
try {
|
|
8144
8151
|
e[He] = void 0;
|
|
8145
8152
|
var l = !0;
|
|
8146
8153
|
} catch {
|
|
8147
8154
|
}
|
|
8148
|
-
var s =
|
|
8155
|
+
var s = Ud.call(e);
|
|
8149
8156
|
return l && (r ? e[He] = a : delete e[He]), s;
|
|
8150
8157
|
}
|
|
8151
|
-
var
|
|
8152
|
-
function
|
|
8153
|
-
return
|
|
8158
|
+
var _d = Object.prototype, ec = _d.toString;
|
|
8159
|
+
function tc(e) {
|
|
8160
|
+
return ec.call(e);
|
|
8154
8161
|
}
|
|
8155
|
-
var
|
|
8156
|
-
function
|
|
8157
|
-
return e == null ? e === void 0 ?
|
|
8162
|
+
var ac = "[object Null]", lc = "[object Undefined]", Ct = et ? et.toStringTag : void 0;
|
|
8163
|
+
function nc(e) {
|
|
8164
|
+
return e == null ? e === void 0 ? lc : ac : Ct && Ct in Object(e) ? $d(e) : tc(e);
|
|
8158
8165
|
}
|
|
8159
|
-
function
|
|
8166
|
+
function ic(e) {
|
|
8160
8167
|
return e != null && typeof e == "object";
|
|
8161
8168
|
}
|
|
8162
|
-
var
|
|
8163
|
-
function
|
|
8164
|
-
return typeof e == "symbol" ||
|
|
8169
|
+
var oc = "[object Symbol]";
|
|
8170
|
+
function sc(e) {
|
|
8171
|
+
return typeof e == "symbol" || ic(e) && nc(e) == oc;
|
|
8165
8172
|
}
|
|
8166
|
-
var
|
|
8167
|
-
function
|
|
8168
|
-
for (var r = e.length; r-- &&
|
|
8173
|
+
var rc = /\s/;
|
|
8174
|
+
function dc(e) {
|
|
8175
|
+
for (var r = e.length; r-- && rc.test(e.charAt(r)); )
|
|
8169
8176
|
;
|
|
8170
8177
|
return r;
|
|
8171
8178
|
}
|
|
8172
|
-
var
|
|
8173
|
-
function
|
|
8174
|
-
return e && e.slice(0,
|
|
8179
|
+
var cc = /^\s+/;
|
|
8180
|
+
function uc(e) {
|
|
8181
|
+
return e && e.slice(0, dc(e) + 1).replace(cc, "");
|
|
8175
8182
|
}
|
|
8176
8183
|
function it(e) {
|
|
8177
8184
|
var r = typeof e;
|
|
8178
8185
|
return e != null && (r == "object" || r == "function");
|
|
8179
8186
|
}
|
|
8180
|
-
var St = NaN,
|
|
8187
|
+
var St = NaN, mc = /^[-+]0x[0-9a-f]+$/i, fc = /^0b[01]+$/i, pc = /^0o[0-7]+$/i, vc = parseInt;
|
|
8181
8188
|
function It(e) {
|
|
8182
8189
|
if (typeof e == "number")
|
|
8183
8190
|
return e;
|
|
8184
|
-
if (
|
|
8191
|
+
if (sc(e))
|
|
8185
8192
|
return St;
|
|
8186
8193
|
if (it(e)) {
|
|
8187
8194
|
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -8189,18 +8196,18 @@ function It(e) {
|
|
|
8189
8196
|
}
|
|
8190
8197
|
if (typeof e != "string")
|
|
8191
8198
|
return e === 0 ? e : +e;
|
|
8192
|
-
e =
|
|
8193
|
-
var a =
|
|
8194
|
-
return a ||
|
|
8199
|
+
e = uc(e);
|
|
8200
|
+
var a = fc.test(e);
|
|
8201
|
+
return a || pc.test(e) ? vc(e.slice(2), a ? 2 : 8) : mc.test(e) ? St : +e;
|
|
8195
8202
|
}
|
|
8196
8203
|
var lt = function() {
|
|
8197
8204
|
return qt.Date.now();
|
|
8198
|
-
},
|
|
8199
|
-
function
|
|
8205
|
+
}, gc = "Expected a function", Ac = Math.max, hc = Math.min;
|
|
8206
|
+
function yc(e, r, a) {
|
|
8200
8207
|
var l, s, d, c, m, f, v = 0, y = !1, b = !1, j = !0;
|
|
8201
8208
|
if (typeof e != "function")
|
|
8202
|
-
throw new TypeError(
|
|
8203
|
-
r = It(r) || 0, it(a) && (y = !!a.leading, b = "maxWait" in a, d = b ?
|
|
8209
|
+
throw new TypeError(gc);
|
|
8210
|
+
r = It(r) || 0, it(a) && (y = !!a.leading, b = "maxWait" in a, d = b ? Ac(It(a.maxWait) || 0, r) : d, j = "trailing" in a ? !!a.trailing : j);
|
|
8204
8211
|
function z(q) {
|
|
8205
8212
|
var W = l, B = s;
|
|
8206
8213
|
return l = s = void 0, v = q, c = e.apply(B, W), c;
|
|
@@ -8210,7 +8217,7 @@ function bc(e, r, a) {
|
|
|
8210
8217
|
}
|
|
8211
8218
|
function C(q) {
|
|
8212
8219
|
var W = q - f, B = q - v, H = r - W;
|
|
8213
|
-
return b ?
|
|
8220
|
+
return b ? hc(H, d - B) : H;
|
|
8214
8221
|
}
|
|
8215
8222
|
function h(q) {
|
|
8216
8223
|
var W = q - f, B = q - v;
|
|
@@ -8243,13 +8250,13 @@ function bc(e, r, a) {
|
|
|
8243
8250
|
}
|
|
8244
8251
|
return N.cancel = w, N.flush = O, N;
|
|
8245
8252
|
}
|
|
8246
|
-
const
|
|
8253
|
+
const bc = { class: "flex items-center justify-between" }, xc = { class: "flex flex-col gap-2 p-3" }, kc = { class: "flex justify-between items-center" }, wc = { key: 0 }, Cc = { key: 1 }, Sc = {
|
|
8247
8254
|
key: 0,
|
|
8248
8255
|
class: "grid grid-cols-3 gap-3"
|
|
8249
|
-
},
|
|
8256
|
+
}, Ic = ["onClick"], Zc = {
|
|
8250
8257
|
key: 1,
|
|
8251
8258
|
class: "grid grid-cols-3 gap-3"
|
|
8252
|
-
},
|
|
8259
|
+
}, Oc = ["onClick"], Kc = ["onClick", "onMouseover"], zc = { key: 0 }, Lc = { class: "flex gap-x-3 justify-end" }, jc = {
|
|
8253
8260
|
__name: "OcCalendar",
|
|
8254
8261
|
props: {
|
|
8255
8262
|
type: {
|
|
@@ -8356,7 +8363,7 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8356
8363
|
return;
|
|
8357
8364
|
}
|
|
8358
8365
|
c.value = E, f.value = P, M && ze();
|
|
8359
|
-
}, Ze =
|
|
8366
|
+
}, Ze = yc((P) => {
|
|
8360
8367
|
j.value && Le(P, !1);
|
|
8361
8368
|
}, 50), ee = () => {
|
|
8362
8369
|
var M, E, D;
|
|
@@ -8371,7 +8378,7 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8371
8378
|
return ee(), (P, M) => (t(), i("div", {
|
|
8372
8379
|
class: p(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
|
8373
8380
|
}, [
|
|
8374
|
-
n("div",
|
|
8381
|
+
n("div", bc, [
|
|
8375
8382
|
A(o(ve), {
|
|
8376
8383
|
modelValue: Z.value,
|
|
8377
8384
|
"onUpdate:modelValue": M[1] || (M[1] = (E) => Z.value = E),
|
|
@@ -8382,8 +8389,8 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8382
8389
|
"popper-options": { strategy: "fixed" }
|
|
8383
8390
|
}, {
|
|
8384
8391
|
menu: I(() => [
|
|
8385
|
-
n("div",
|
|
8386
|
-
n("div",
|
|
8392
|
+
n("div", xc, [
|
|
8393
|
+
n("div", kc, [
|
|
8387
8394
|
A(o(U), {
|
|
8388
8395
|
"left-icon": "chevron-left",
|
|
8389
8396
|
"is-transparent": "",
|
|
@@ -8393,7 +8400,7 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8393
8400
|
class: "cursor-pointer hover:opacity-50 transition",
|
|
8394
8401
|
onClick: M[0] || (M[0] = (E) => z.value = !z.value)
|
|
8395
8402
|
}, [
|
|
8396
|
-
z.value ? (t(), i("div",
|
|
8403
|
+
z.value ? (t(), i("div", wc, x(w.value - 11) + " - " + x(w.value), 1)) : (t(), i("div", Cc, x(w.value), 1))
|
|
8397
8404
|
]),
|
|
8398
8405
|
A(o(U), {
|
|
8399
8406
|
"left-icon": "chevron-right",
|
|
@@ -8401,22 +8408,22 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8401
8408
|
onClick: ce
|
|
8402
8409
|
})
|
|
8403
8410
|
]),
|
|
8404
|
-
z.value ? (t(), i("div",
|
|
8411
|
+
z.value ? (t(), i("div", Sc, [
|
|
8405
8412
|
(t(!0), i(Y, null, T(je(w.value - 11), (E) => (t(), i("div", {
|
|
8406
8413
|
key: E,
|
|
8407
8414
|
class: p(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
|
8408
8415
|
"!border-oc-primary bg-oc-primary text-white": s.value.year() === E
|
|
8409
8416
|
}]),
|
|
8410
8417
|
onClick: (D) => le(E)
|
|
8411
|
-
}, x(E), 11,
|
|
8412
|
-
])) : (t(), i("div",
|
|
8418
|
+
}, x(E), 11, Ic))), 128))
|
|
8419
|
+
])) : (t(), i("div", Zc, [
|
|
8413
8420
|
(t(), i(Y, null, T(S, (E, D) => n("div", {
|
|
8414
8421
|
key: E,
|
|
8415
8422
|
class: p(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
|
8416
8423
|
"!border-oc-primary bg-oc-primary text-white": O.value === E
|
|
8417
8424
|
}]),
|
|
8418
8425
|
onClick: (Q) => te(D)
|
|
8419
|
-
}, x(E), 11,
|
|
8426
|
+
}, x(E), 11, Oc)), 64))
|
|
8420
8427
|
]))
|
|
8421
8428
|
])
|
|
8422
8429
|
]),
|
|
@@ -8465,11 +8472,11 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8465
8472
|
]]),
|
|
8466
8473
|
onClick: (Q) => Le(E),
|
|
8467
8474
|
onMouseover: (Q) => o(Ze)(E)
|
|
8468
|
-
}, x(E), 43,
|
|
8475
|
+
}, x(E), 43, Kc);
|
|
8469
8476
|
}), 128))
|
|
8470
8477
|
], 32),
|
|
8471
8478
|
k(P.$slots, "bottom", {}, () => [
|
|
8472
|
-
e.isIndefinite ? (t(), i("span",
|
|
8479
|
+
e.isIndefinite ? (t(), i("span", zc, [
|
|
8473
8480
|
A(o(Ne), {
|
|
8474
8481
|
modelValue: b.value,
|
|
8475
8482
|
"onUpdate:modelValue": [
|
|
@@ -8480,7 +8487,7 @@ const xc = { class: "flex items-center justify-between" }, kc = { class: "flex f
|
|
|
8480
8487
|
}, null, 8, ["modelValue", "label"])
|
|
8481
8488
|
])) : u("", !0)
|
|
8482
8489
|
]),
|
|
8483
|
-
n("div",
|
|
8490
|
+
n("div", Lc, [
|
|
8484
8491
|
A(o(U), {
|
|
8485
8492
|
label: "Reset",
|
|
8486
8493
|
class: "w-[72px]",
|
|
@@ -8495,13 +8502,13 @@ _.extend(Jt);
|
|
|
8495
8502
|
_.extend(Nt);
|
|
8496
8503
|
_.extend(Wt);
|
|
8497
8504
|
_.extend(dt);
|
|
8498
|
-
const
|
|
8505
|
+
const Bc = { class: "flex flex-col gap-y-2 w-full" }, Jc = {
|
|
8499
8506
|
key: 0,
|
|
8500
8507
|
class: "flex w-full"
|
|
8501
|
-
},
|
|
8508
|
+
}, Nc = {
|
|
8502
8509
|
key: 1,
|
|
8503
8510
|
class: "flex flex-wrap cursor-pointer"
|
|
8504
|
-
},
|
|
8511
|
+
}, Wc = { class: "flex items-center gap-x-3" }, qc = ["value"], Vc = { class: "flex items-center gap-x-3" }, Mc = ["value"], Yc = {
|
|
8505
8512
|
__name: "DatePicker",
|
|
8506
8513
|
props: {
|
|
8507
8514
|
modelValue: {
|
|
@@ -8640,7 +8647,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8640
8647
|
}, () => {
|
|
8641
8648
|
var w, O;
|
|
8642
8649
|
return [
|
|
8643
|
-
f.value ? (t(), g(o(
|
|
8650
|
+
f.value ? (t(), g(o(Tm), {
|
|
8644
8651
|
key: 0,
|
|
8645
8652
|
"model-value": {
|
|
8646
8653
|
start: (w = e.modelValue) == null ? void 0 : w[0],
|
|
@@ -8654,7 +8661,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8654
8661
|
"max-date": e.maxDate,
|
|
8655
8662
|
masks: { modelValue: e.dateFormat },
|
|
8656
8663
|
"onUpdate:modelValue": y
|
|
8657
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && K ? (t(), g(o(
|
|
8664
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && K ? (t(), g(o(jc), {
|
|
8658
8665
|
key: 1,
|
|
8659
8666
|
"model-value": v.value ? v.value.toDate() : /* @__PURE__ */ new Date(),
|
|
8660
8667
|
"disabled-date": d.value ? j : e.disabledDate,
|
|
@@ -8671,8 +8678,8 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8671
8678
|
})
|
|
8672
8679
|
]),
|
|
8673
8680
|
default: I(() => [
|
|
8674
|
-
n("div",
|
|
8675
|
-
!e.isSplitInput || !f.value ? (t(), i("div",
|
|
8681
|
+
n("div", Bc, [
|
|
8682
|
+
!e.isSplitInput || !f.value ? (t(), i("div", Jc, [
|
|
8676
8683
|
A(o(Se), {
|
|
8677
8684
|
"model-value": f.value ? e.modelValue && e.modelValue[0] ? `${v.value[0].format(e.dateFormat)} - ${v.value[1].format(e.dateFormat)}` : "" : e.modelValue === "Indefinite" ? "Indefinite" : e.modelValue ? v.value.format(e.dateFormat) : "",
|
|
8678
8685
|
icon: "calendar",
|
|
@@ -8683,7 +8690,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8683
8690
|
disabled: e.disabled,
|
|
8684
8691
|
placeholder: e.placeholder
|
|
8685
8692
|
}, null, 8, ["model-value", "label", "hint", "error-message", "is-required", "disabled", "placeholder"])
|
|
8686
|
-
])) : (t(), i("div",
|
|
8693
|
+
])) : (t(), i("div", Nc, [
|
|
8687
8694
|
A(o(Ie), {
|
|
8688
8695
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
|
8689
8696
|
hint: e.hint,
|
|
@@ -8701,7 +8708,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8701
8708
|
]]),
|
|
8702
8709
|
onClick: S[2] || (S[2] = (K) => s.value ? K.stopPropagation : null)
|
|
8703
8710
|
}, [
|
|
8704
|
-
n("div",
|
|
8711
|
+
n("div", Wc, [
|
|
8705
8712
|
A(o(L), {
|
|
8706
8713
|
name: "calendar",
|
|
8707
8714
|
class: "text-oc-text-400"
|
|
@@ -8713,10 +8720,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8713
8720
|
onInput: S[0] || (S[0] = (K) => Z(K.target.value, 0)),
|
|
8714
8721
|
onKeydown: $e(C, ["enter"]),
|
|
8715
8722
|
onBlur: C
|
|
8716
|
-
}, null, 40,
|
|
8723
|
+
}, null, 40, qc)
|
|
8717
8724
|
]),
|
|
8718
8725
|
S[4] || (S[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
|
8719
|
-
n("div",
|
|
8726
|
+
n("div", Vc, [
|
|
8720
8727
|
n("input", {
|
|
8721
8728
|
placeholder: "End date",
|
|
8722
8729
|
value: v.value[1] ? v.value[1].format(e.dateFormat) : "",
|
|
@@ -8724,7 +8731,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8724
8731
|
onInput: S[1] || (S[1] = (K) => Z(K.target.value, 1)),
|
|
8725
8732
|
onKeydown: $e(C, ["enter"]),
|
|
8726
8733
|
onBlur: C
|
|
8727
|
-
}, null, 40,
|
|
8734
|
+
}, null, 40, Mc),
|
|
8728
8735
|
A(o(L), {
|
|
8729
8736
|
class: p([v.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
|
8730
8737
|
width: "16",
|
|
@@ -8743,10 +8750,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8743
8750
|
_: 3
|
|
8744
8751
|
}, 8, ["modelValue", "is-disabled", "placement"]));
|
|
8745
8752
|
}
|
|
8746
|
-
},
|
|
8753
|
+
}, Ec = { class: "flex flex-wrap w-full" }, Tc = {
|
|
8747
8754
|
key: 0,
|
|
8748
8755
|
class: "flex items-center w-full mb-2 text-sm font-medium gap-x-3 text-oc-text-400"
|
|
8749
|
-
},
|
|
8756
|
+
}, Hc = { class: "flex items-center gap-x-1" }, Gc = ["min", "max", "value"], Dc = ["min", "max", "value"], Pc = { class: "absolute bottom-0 left-0" }, Rc = { class: "absolute bottom-0 right-0" }, Qc = { class: "w-[15%] -mt-4 px-2" }, Xc = {
|
|
8750
8757
|
__name: "OcSlider",
|
|
8751
8758
|
props: {
|
|
8752
8759
|
maxLimit: {
|
|
@@ -8800,9 +8807,9 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8800
8807
|
updateSlider: Z
|
|
8801
8808
|
}), ke(() => Z()), (C, h) => {
|
|
8802
8809
|
var S, K, w, O;
|
|
8803
|
-
return t(), i("div",
|
|
8804
|
-
e.label ? (t(), i("label",
|
|
8805
|
-
n("span",
|
|
8810
|
+
return t(), i("div", Ec, [
|
|
8811
|
+
e.label ? (t(), i("label", Tc, [
|
|
8812
|
+
n("span", Hc, x(e.label), 1)
|
|
8806
8813
|
])) : u("", !0),
|
|
8807
8814
|
n("div", {
|
|
8808
8815
|
class: p(["relative h-[33px] flex items-center", {
|
|
@@ -8823,7 +8830,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8823
8830
|
max: e.maxLimit,
|
|
8824
8831
|
value: e.type === "range" ? (S = e.modelValue) == null ? void 0 : S[0] : e.modelValue,
|
|
8825
8832
|
onInput: y
|
|
8826
|
-
}, null, 40,
|
|
8833
|
+
}, null, 40, Gc),
|
|
8827
8834
|
e.type === "range" ? (t(), i("input", {
|
|
8828
8835
|
key: 0,
|
|
8829
8836
|
ref_key: "sliderTwo",
|
|
@@ -8833,7 +8840,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8833
8840
|
max: e.maxLimit,
|
|
8834
8841
|
value: (K = e.modelValue) == null ? void 0 : K[1],
|
|
8835
8842
|
onInput: b
|
|
8836
|
-
}, null, 40,
|
|
8843
|
+
}, null, 40, Dc)) : u("", !0),
|
|
8837
8844
|
e.variant === "default" ? (t(), i("div", {
|
|
8838
8845
|
key: 1,
|
|
8839
8846
|
class: "group-hover:block absolute top-[1rem] z-[1] -translate-x-1/2 rounded-sm py-[3px] px-[6px] min-w-[28px] bg-oc-text-500 text-center text-white text-sm font-medium leading-[20px]",
|
|
@@ -8844,18 +8851,18 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8844
8851
|
class: "group-hover:block absolute top-[1rem] z-[1] translate-x-1/2 rounded-sm py-[3px] px-[6px] min-w-[28px] bg-oc-text-500 text-center text-white text-sm font-medium leading-[20px]",
|
|
8845
8852
|
style: me(`right: ${100 - v.value}%`)
|
|
8846
8853
|
}, x((O = e.modelValue) == null ? void 0 : O[1]), 5)) : u("", !0),
|
|
8847
|
-
n("span",
|
|
8854
|
+
n("span", Pc, [
|
|
8848
8855
|
k(C.$slots, "min-limit-label", {}, () => [
|
|
8849
8856
|
F(x(e.minLimit), 1)
|
|
8850
8857
|
], !0)
|
|
8851
8858
|
]),
|
|
8852
|
-
n("span",
|
|
8859
|
+
n("span", Rc, [
|
|
8853
8860
|
k(C.$slots, "max-limit-label", {}, () => [
|
|
8854
8861
|
F(x(e.maxLimit), 1)
|
|
8855
8862
|
], !0)
|
|
8856
8863
|
])
|
|
8857
8864
|
], 2),
|
|
8858
|
-
n("div",
|
|
8865
|
+
n("div", Qc, [
|
|
8859
8866
|
e.variant === "right" && e.type === "default" ? (t(), g(o(Se), {
|
|
8860
8867
|
key: 0,
|
|
8861
8868
|
"model-value": e.modelValue,
|
|
@@ -8867,10 +8874,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8867
8874
|
]);
|
|
8868
8875
|
};
|
|
8869
8876
|
}
|
|
8870
|
-
}, Mt = /* @__PURE__ */ we(
|
|
8877
|
+
}, Mt = /* @__PURE__ */ we(Xc, [["__scopeId", "data-v-90983831"]]), Fc = { class: "flex" }, Uc = { class: "flex flex-col gap-y-1 flex-1" }, $c = { class: "font-medium gap-x-3 flex items-center" }, _c = { class: "px-2 py-1 text-sm text-oc-text-400" }, eu = {
|
|
8871
8878
|
key: 1,
|
|
8872
8879
|
class: "text-sm text-oc-error flex items-center"
|
|
8873
|
-
},
|
|
8880
|
+
}, tu = {
|
|
8874
8881
|
__name: "OcSectionItem",
|
|
8875
8882
|
props: {
|
|
8876
8883
|
title: String,
|
|
@@ -8896,16 +8903,16 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8896
8903
|
emits: ["update:modelValue"],
|
|
8897
8904
|
setup(e, { emit: r }) {
|
|
8898
8905
|
const a = e, l = r;
|
|
8899
|
-
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (s, d) => (t(), i("div",
|
|
8900
|
-
n("div",
|
|
8901
|
-
n("div",
|
|
8906
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (s, d) => (t(), i("div", Fc, [
|
|
8907
|
+
n("div", Uc, [
|
|
8908
|
+
n("div", $c, [
|
|
8902
8909
|
F(x(e.title) + " ", 1),
|
|
8903
8910
|
A(o(se), {
|
|
8904
8911
|
position: "top",
|
|
8905
8912
|
distance: 4
|
|
8906
8913
|
}, {
|
|
8907
8914
|
popper: I(() => [
|
|
8908
|
-
n("div",
|
|
8915
|
+
n("div", _c, x(e.popperMessage), 1)
|
|
8909
8916
|
]),
|
|
8910
8917
|
default: I(() => [
|
|
8911
8918
|
e.icon ? (t(), g(o(L), {
|
|
@@ -8923,7 +8930,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8923
8930
|
key: 0,
|
|
8924
8931
|
class: p(["text-oc-text-400 text-sm", e.descriptionClass])
|
|
8925
8932
|
}, x(e.description), 3)) : u("", !0),
|
|
8926
|
-
e.errorMessage ? (t(), i("div",
|
|
8933
|
+
e.errorMessage ? (t(), i("div", eu, x(e.errorMessage), 1)) : u("", !0)
|
|
8927
8934
|
]),
|
|
8928
8935
|
k(s.$slots, "actions", {}, () => [
|
|
8929
8936
|
e.isToggle ? (t(), g(o(Kt), G({
|
|
@@ -8935,13 +8942,13 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
8935
8942
|
])
|
|
8936
8943
|
]));
|
|
8937
8944
|
}
|
|
8938
|
-
},
|
|
8945
|
+
}, au = {
|
|
8939
8946
|
key: 0,
|
|
8940
8947
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
|
8941
|
-
},
|
|
8948
|
+
}, lu = ["onClick"], nu = ["src"], iu = {
|
|
8942
8949
|
key: 0,
|
|
8943
8950
|
class: "flex text-sm text-oc-text-400 mt-2"
|
|
8944
|
-
},
|
|
8951
|
+
}, ou = {
|
|
8945
8952
|
__name: "OcSelectOptions",
|
|
8946
8953
|
props: {
|
|
8947
8954
|
isSmallImage: Boolean,
|
|
@@ -9007,7 +9014,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9007
9014
|
}
|
|
9008
9015
|
]])
|
|
9009
9016
|
}, [
|
|
9010
|
-
e.optionType === "icon" ? (t(), i("div",
|
|
9017
|
+
e.optionType === "icon" ? (t(), i("div", au, [
|
|
9011
9018
|
(t(!0), i(Y, null, T(e.options, (f) => (t(), i("div", {
|
|
9012
9019
|
key: f.value,
|
|
9013
9020
|
class: p(["p-1", {
|
|
@@ -9043,7 +9050,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9043
9050
|
"w-[50%] mx-auto": e.isSmallImage
|
|
9044
9051
|
}]),
|
|
9045
9052
|
src: f.preview
|
|
9046
|
-
}, null, 10,
|
|
9053
|
+
}, null, 10, nu)) : u("", !0),
|
|
9047
9054
|
n("div", {
|
|
9048
9055
|
class: p(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
|
9049
9056
|
}, [
|
|
@@ -9054,7 +9061,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9054
9061
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
|
9055
9062
|
}])
|
|
9056
9063
|
}, x(f.label), 3),
|
|
9057
|
-
f.description ? (t(), i("div",
|
|
9064
|
+
f.description ? (t(), i("div", iu, x(f.description), 1)) : u("", !0)
|
|
9058
9065
|
], 2),
|
|
9059
9066
|
e.borderless ? (t(), g(o(L), {
|
|
9060
9067
|
key: 1,
|
|
@@ -9064,16 +9071,16 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9064
9071
|
class: p(["text-oc-primary", f.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
|
9065
9072
|
}, null, 8, ["class"])) : u("", !0)
|
|
9066
9073
|
])
|
|
9067
|
-
], 10,
|
|
9074
|
+
], 10, lu))), 128))
|
|
9068
9075
|
], 2)
|
|
9069
9076
|
]),
|
|
9070
9077
|
_: 3
|
|
9071
9078
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
|
9072
9079
|
}
|
|
9073
|
-
},
|
|
9080
|
+
}, su = { class: "flex gap-x-3" }, ru = {
|
|
9074
9081
|
key: 0,
|
|
9075
9082
|
class: "border rounded p-3 min-h-[140px] h-full"
|
|
9076
|
-
},
|
|
9083
|
+
}, du = ["accept"], cu = { class: "py-2 flex flex-col" }, uu = ["src"], mu = {
|
|
9077
9084
|
__name: "OcSingleOnlyImageUpload",
|
|
9078
9085
|
props: {
|
|
9079
9086
|
accept: {
|
|
@@ -9100,12 +9107,12 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9100
9107
|
};
|
|
9101
9108
|
return (y, b) => {
|
|
9102
9109
|
var j, z;
|
|
9103
|
-
return t(), i("div",
|
|
9110
|
+
return t(), i("div", su, [
|
|
9104
9111
|
(j = e.uploadedImage) != null && j.fileUrl ? u("", !0) : (t(), i("label", {
|
|
9105
9112
|
key: 0,
|
|
9106
9113
|
class: p([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
|
9107
9114
|
}, [
|
|
9108
|
-
e.showUploadImageArea ? (t(), i("div",
|
|
9115
|
+
e.showUploadImageArea ? (t(), i("div", ru, [
|
|
9109
9116
|
n("div", {
|
|
9110
9117
|
class: p(["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": m.value }])
|
|
9111
9118
|
}, [
|
|
@@ -9129,7 +9136,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9129
9136
|
onDragover: b[1] || (b[1] = (Z) => m.value = !0),
|
|
9130
9137
|
onDragleave: b[2] || (b[2] = (Z) => m.value = !1),
|
|
9131
9138
|
onDrop: b[3] || (b[3] = (Z) => m.value = !1)
|
|
9132
|
-
}, null, 40,
|
|
9139
|
+
}, null, 40, du)
|
|
9133
9140
|
], 2)),
|
|
9134
9141
|
(z = e.uploadedImage) != null && z.fileUrl ? (t(), i("div", {
|
|
9135
9142
|
key: 1,
|
|
@@ -9142,7 +9149,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9142
9149
|
class: "absolute top-2 right-2 z-[1010]"
|
|
9143
9150
|
}, {
|
|
9144
9151
|
menu: I(() => [
|
|
9145
|
-
n("div",
|
|
9152
|
+
n("div", cu, [
|
|
9146
9153
|
n("div", {
|
|
9147
9154
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
|
9148
9155
|
onClick: v
|
|
@@ -9181,7 +9188,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9181
9188
|
src: e.uploadedImage.fileUrl,
|
|
9182
9189
|
alt: "uploaded-image",
|
|
9183
9190
|
class: "object-contain h-full w-full"
|
|
9184
|
-
}, null, 8,
|
|
9191
|
+
}, null, 8, uu)
|
|
9185
9192
|
], 2)) : u("", !0),
|
|
9186
9193
|
(t(), g(Pt, { to: "body" }, [
|
|
9187
9194
|
d.value ? (t(), g(o(ct), {
|
|
@@ -9198,16 +9205,16 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9198
9205
|
]);
|
|
9199
9206
|
};
|
|
9200
9207
|
}
|
|
9201
|
-
},
|
|
9208
|
+
}, fu = { class: "relative min-h-[100px]" }, pu = {
|
|
9202
9209
|
key: 0,
|
|
9203
9210
|
class: "absolute"
|
|
9204
|
-
},
|
|
9211
|
+
}, vu = { 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" }, gu = ["accept", "multiple", "disabled"], Au = ["onClick"], hu = ["src", "onError"], yu = { class: "py-2 flex flex-col" }, bu = ["onClick"], xu = ["onClick"], ku = {
|
|
9205
9212
|
key: 1,
|
|
9206
9213
|
class: "z-[1009] hidden group-hover:flex absolute bg-black/30 w-full h-full top-0 left-0 rounded"
|
|
9207
|
-
},
|
|
9214
|
+
}, wu = {
|
|
9208
9215
|
key: 0,
|
|
9209
9216
|
class: "cursor-pointer m-auto drag-el"
|
|
9210
|
-
},
|
|
9217
|
+
}, Cu = {
|
|
9211
9218
|
__name: "OcSimpleMultipleUpload",
|
|
9212
9219
|
props: {
|
|
9213
9220
|
accept: {
|
|
@@ -9279,9 +9286,9 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9279
9286
|
}, w = (O) => {
|
|
9280
9287
|
l("onImageError", O.fileUrl);
|
|
9281
9288
|
};
|
|
9282
|
-
return (O, N) => (t(), i("div",
|
|
9283
|
-
S.value ? (t(), i("label",
|
|
9284
|
-
n("div",
|
|
9289
|
+
return (O, N) => (t(), i("div", fu, [
|
|
9290
|
+
S.value ? (t(), i("label", pu, [
|
|
9291
|
+
n("div", vu, [
|
|
9285
9292
|
A(o(L), { name: "plus" })
|
|
9286
9293
|
]),
|
|
9287
9294
|
n("input", {
|
|
@@ -9291,9 +9298,9 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9291
9298
|
multiple: a.maxImages !== 1,
|
|
9292
9299
|
disabled: e.isDisabled || j.value,
|
|
9293
9300
|
onChange: h
|
|
9294
|
-
}, null, 40,
|
|
9301
|
+
}, null, 40, gu)
|
|
9295
9302
|
])) : u("", !0),
|
|
9296
|
-
(t(), g(o(
|
|
9303
|
+
(t(), g(o(Hm), {
|
|
9297
9304
|
key: e.uploadedImages.length,
|
|
9298
9305
|
"model-value": e.uploadedImages,
|
|
9299
9306
|
disabled: e.isDisabled,
|
|
@@ -9316,7 +9323,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9316
9323
|
alt: "uploaded-image",
|
|
9317
9324
|
class: "object-cover object-center w-full h-full",
|
|
9318
9325
|
onError: (H) => w(W)
|
|
9319
|
-
}, null, 40,
|
|
9326
|
+
}, null, 40, hu),
|
|
9320
9327
|
e.isDisabled ? u("", !0) : (t(), g(o(ve), {
|
|
9321
9328
|
key: 0,
|
|
9322
9329
|
modelValue: s.value[B],
|
|
@@ -9332,7 +9339,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9332
9339
|
}, () => {
|
|
9333
9340
|
var H;
|
|
9334
9341
|
return [
|
|
9335
|
-
n("div",
|
|
9342
|
+
n("div", yu, [
|
|
9336
9343
|
((H = W == null ? void 0 : W.current) == null ? void 0 : H.id) !== "sample" ? (t(), i("div", {
|
|
9337
9344
|
key: 0,
|
|
9338
9345
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
|
@@ -9344,7 +9351,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9344
9351
|
name: "pencil"
|
|
9345
9352
|
}),
|
|
9346
9353
|
N[4] || (N[4] = n("span", null, "Edit Image", -1))
|
|
9347
|
-
], 8,
|
|
9354
|
+
], 8, bu)) : u("", !0),
|
|
9348
9355
|
n("div", {
|
|
9349
9356
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
|
9350
9357
|
onClick: () => {
|
|
@@ -9357,7 +9364,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9357
9364
|
name: "bin"
|
|
9358
9365
|
}),
|
|
9359
9366
|
N[5] || (N[5] = n("span", null, "Delete", -1))
|
|
9360
|
-
], 8,
|
|
9367
|
+
], 8, xu)
|
|
9361
9368
|
])
|
|
9362
9369
|
];
|
|
9363
9370
|
})
|
|
@@ -9382,15 +9389,15 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9382
9389
|
}, null, 4)
|
|
9383
9390
|
], 2)
|
|
9384
9391
|
], 2),
|
|
9385
|
-
e.isDisabled ? u("", !0) : (t(), i("div",
|
|
9386
|
-
a.maxImages !== 1 ? (t(), i("span",
|
|
9392
|
+
e.isDisabled ? u("", !0) : (t(), i("div", ku, [
|
|
9393
|
+
a.maxImages !== 1 ? (t(), i("span", wu, [
|
|
9387
9394
|
A(o(L), {
|
|
9388
9395
|
name: "arrows",
|
|
9389
9396
|
class: "text-oc-accent-1-50"
|
|
9390
9397
|
})
|
|
9391
9398
|
])) : u("", !0)
|
|
9392
9399
|
]))
|
|
9393
|
-
], 10,
|
|
9400
|
+
], 10, Au))), 128))
|
|
9394
9401
|
]),
|
|
9395
9402
|
_: 3
|
|
9396
9403
|
}, 8, ["model-value", "disabled", "style"])),
|
|
@@ -9407,7 +9414,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9407
9414
|
onChangeImage: Z,
|
|
9408
9415
|
"onUpdate:inputOptions": C
|
|
9409
9416
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : u("", !0),
|
|
9410
|
-
A(o(
|
|
9417
|
+
A(o(Cm), {
|
|
9411
9418
|
modelValue: v.value,
|
|
9412
9419
|
"onUpdate:modelValue": N[3] || (N[3] = (q) => v.value = q),
|
|
9413
9420
|
description: "Do you want to delete this image ?",
|
|
@@ -9415,13 +9422,13 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9415
9422
|
}, null, 8, ["modelValue"])
|
|
9416
9423
|
]));
|
|
9417
9424
|
}
|
|
9418
|
-
},
|
|
9425
|
+
}, Su = ["accept"], Iu = {
|
|
9419
9426
|
key: 0,
|
|
9420
9427
|
class: "py-2 flex flex-col items-center gap-y-4"
|
|
9421
|
-
},
|
|
9428
|
+
}, Zu = { class: "flex items-baseline gap-x-3 w-full" }, Ou = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, Ku = ["accept"], zu = {
|
|
9422
9429
|
key: 0,
|
|
9423
9430
|
class: "relative group w-fit rounded overflow-hidden"
|
|
9424
|
-
},
|
|
9431
|
+
}, Lu = ["src"], ju = ["src"], Bu = { class: "py-2 flex flex-col" }, Ju = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400 overflow-hidden" }, Nu = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, Wu = { class: "uppercase text-[8px] font-bold leading-none block" }, qu = { class: "flex" }, Vu = { class: "text-sm text-oc-primary" }, Mu = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, tp = {
|
|
9425
9432
|
__name: "OcSingleFileUpload",
|
|
9426
9433
|
props: {
|
|
9427
9434
|
format: {
|
|
@@ -9537,7 +9544,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9537
9544
|
default: I(() => {
|
|
9538
9545
|
var H, R, $, te, le, ie, ce, ge, be, he, ae, ze, re, Le, Ze;
|
|
9539
9546
|
return [
|
|
9540
|
-
e.isImageOnly ? (t(), g(
|
|
9547
|
+
e.isImageOnly ? (t(), g(mu, {
|
|
9541
9548
|
key: 0,
|
|
9542
9549
|
accept: e.accept,
|
|
9543
9550
|
"uploaded-image": h.value,
|
|
@@ -9561,7 +9568,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9561
9568
|
type: "file",
|
|
9562
9569
|
accept: e.accept,
|
|
9563
9570
|
onChange: B[4] || (B[4] = (ee) => o(z)(ee, a.format === "object"))
|
|
9564
|
-
}, null, 40,
|
|
9571
|
+
}, null, 40, Su)
|
|
9565
9572
|
], 64)) : (t(), i(Y, { key: 2 }, [
|
|
9566
9573
|
o(j).length ? (t(), i("div", {
|
|
9567
9574
|
key: 1,
|
|
@@ -9570,16 +9577,16 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9570
9577
|
"!bg-oc-bg-dark": e.isDisabled
|
|
9571
9578
|
}])
|
|
9572
9579
|
}, [
|
|
9573
|
-
e.isPreview && ((te = h.value) == null ? void 0 : te.progress) === 100 ? (t(), i("div",
|
|
9580
|
+
e.isPreview && ((te = h.value) == null ? void 0 : te.progress) === 100 ? (t(), i("div", zu, [
|
|
9574
9581
|
(ie = (le = h.value) == null ? void 0 : le.file) != null && ie.type.includes("video") ? (t(), i("video", {
|
|
9575
9582
|
key: 0,
|
|
9576
9583
|
autoplay: "",
|
|
9577
9584
|
loop: "",
|
|
9578
9585
|
src: C.value
|
|
9579
|
-
}, null, 8,
|
|
9586
|
+
}, null, 8, Lu)) : (t(), i("img", {
|
|
9580
9587
|
key: 1,
|
|
9581
9588
|
src: (ce = h.value) == null ? void 0 : ce.fileUrl
|
|
9582
|
-
}, null, 8,
|
|
9589
|
+
}, null, 8, ju)),
|
|
9583
9590
|
A(o(ve), {
|
|
9584
9591
|
modelValue: v.value,
|
|
9585
9592
|
"onUpdate:modelValue": B[14] || (B[14] = (ee) => v.value = ee),
|
|
@@ -9588,7 +9595,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9588
9595
|
menu: I(() => {
|
|
9589
9596
|
var ee, je;
|
|
9590
9597
|
return [
|
|
9591
|
-
n("div",
|
|
9598
|
+
n("div", Bu, [
|
|
9592
9599
|
!((je = (ee = h.value) == null ? void 0 : ee.file) != null && je.type.includes("video")) && e.allowToEdit ? (t(), i("div", {
|
|
9593
9600
|
key: 0,
|
|
9594
9601
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
|
@@ -9636,25 +9643,25 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9636
9643
|
onChangeImage: w
|
|
9637
9644
|
}, null, 8, ["modelValue", "img"])) : u("", !0)
|
|
9638
9645
|
])) : (t(), i(Y, { key: 1 }, [
|
|
9639
|
-
n("div",
|
|
9640
|
-
n("div",
|
|
9646
|
+
n("div", Ju, [
|
|
9647
|
+
n("div", Nu, [
|
|
9641
9648
|
A(o(L), {
|
|
9642
9649
|
name: "file-extension",
|
|
9643
9650
|
width: "14",
|
|
9644
9651
|
height: "10"
|
|
9645
9652
|
}),
|
|
9646
|
-
n("span",
|
|
9653
|
+
n("span", Wu, x((he = h.value) == null ? void 0 : he.extension), 1)
|
|
9647
9654
|
]),
|
|
9648
9655
|
n("div", {
|
|
9649
|
-
class: p([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
|
9656
|
+
class: p([e.shouldTruncateFileName ? "truncate max-w-[250px]" : "overflow-hidden text-ellipsis"])
|
|
9650
9657
|
}, x((ae = h.value) == null ? void 0 : ae.fileName), 3)
|
|
9651
9658
|
]),
|
|
9652
|
-
n("div",
|
|
9659
|
+
n("div", qu, [
|
|
9653
9660
|
n("div", {
|
|
9654
9661
|
class: p([((ze = h.value) == null ? void 0 : ze.progress) === 100 ? "opacity-0" : "", "transition-all duration-500 flex flex-col gap-y-1 items-center"])
|
|
9655
9662
|
}, [
|
|
9656
|
-
n("span",
|
|
9657
|
-
n("div",
|
|
9663
|
+
n("span", Vu, x(((re = h.value) == null ? void 0 : re.progress) || 0) + "% ", 1),
|
|
9664
|
+
n("div", Mu, [
|
|
9658
9665
|
n("div", {
|
|
9659
9666
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
|
9660
9667
|
style: me({ width: `${((Le = h.value) == null ? void 0 : Le.progress) || 0}%` })
|
|
@@ -9674,8 +9681,8 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9674
9681
|
]))
|
|
9675
9682
|
])
|
|
9676
9683
|
], 64))
|
|
9677
|
-
], 2)) : (t(), i("div",
|
|
9678
|
-
n("div",
|
|
9684
|
+
], 2)) : (t(), i("div", Iu, [
|
|
9685
|
+
n("div", Zu, [
|
|
9679
9686
|
e.variant === "url" ? (t(), i(Y, { key: 0 }, [
|
|
9680
9687
|
A(o(Se), {
|
|
9681
9688
|
modelValue: d.value,
|
|
@@ -9709,7 +9716,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9709
9716
|
onDragover: B[11] || (B[11] = pe(() => {
|
|
9710
9717
|
}, ["prevent"]))
|
|
9711
9718
|
}, [
|
|
9712
|
-
n("span",
|
|
9719
|
+
n("span", Ou, x(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
|
9713
9720
|
A(o(U), {
|
|
9714
9721
|
size: "small",
|
|
9715
9722
|
"is-disabled": e.isDisabled,
|
|
@@ -9726,7 +9733,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9726
9733
|
type: "file",
|
|
9727
9734
|
accept: e.accept,
|
|
9728
9735
|
onChange: B[12] || (B[12] = (ee) => o(z)(ee, a.format === "object"))
|
|
9729
|
-
}, null, 40,
|
|
9736
|
+
}, null, 40, Ku)
|
|
9730
9737
|
])
|
|
9731
9738
|
]))
|
|
9732
9739
|
], 64))
|
|
@@ -9735,16 +9742,16 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9735
9742
|
_: 3
|
|
9736
9743
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
|
9737
9744
|
}
|
|
9738
|
-
},
|
|
9745
|
+
}, Yu = { class: "flex flex-col gap-y-2" }, Eu = ["accept"], Tu = { class: "input-file-uploaded flex flex-col gap-y-3" }, Hu = { class: "flex items-center gap-x-3" }, Gu = { class: "flex flex-col items-center justify-center text-oc-text-300" }, Du = { class: "uppercase text-[8px] font-bold leading-none block" }, Pu = { class: "text-oc-text-400 text-sm" }, Ru = { class: "w-[100px] h-[6px] bg-oc-accent-1-50 rounded-full overflow-hidden transition-all duration-1000" }, Qu = ["accept"], Xu = {
|
|
9739
9746
|
key: 1,
|
|
9740
9747
|
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"
|
|
9741
|
-
},
|
|
9748
|
+
}, Fu = { key: 0 }, Uu = { key: 1 }, $u = {
|
|
9742
9749
|
key: 2,
|
|
9743
9750
|
class: "text-center"
|
|
9744
|
-
},
|
|
9751
|
+
}, _u = {
|
|
9745
9752
|
key: 2,
|
|
9746
9753
|
class: "mt-3 flex items-center justify-center"
|
|
9747
|
-
},
|
|
9754
|
+
}, ap = {
|
|
9748
9755
|
__name: "OcMultipleUploadFile",
|
|
9749
9756
|
props: {
|
|
9750
9757
|
modelValue: {
|
|
@@ -9827,7 +9834,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9827
9834
|
var Z;
|
|
9828
9835
|
(Z = s.value) == null || Z.click();
|
|
9829
9836
|
};
|
|
9830
|
-
return (Z, C) => (t(), i("div",
|
|
9837
|
+
return (Z, C) => (t(), i("div", Yu, [
|
|
9831
9838
|
A(o(Ie), {
|
|
9832
9839
|
label: e.label,
|
|
9833
9840
|
hint: e.hint,
|
|
@@ -9837,7 +9844,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9837
9844
|
k(Z.$slots, "hint")
|
|
9838
9845
|
]),
|
|
9839
9846
|
default: I(() => [
|
|
9840
|
-
e.isImageOnly ? (t(), g(
|
|
9847
|
+
e.isImageOnly ? (t(), g(Cu, {
|
|
9841
9848
|
key: 0,
|
|
9842
9849
|
"uploaded-images": o(f),
|
|
9843
9850
|
"selected-image": e.selectedImage,
|
|
@@ -9879,7 +9886,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9879
9886
|
multiple: "",
|
|
9880
9887
|
accept: e.accept,
|
|
9881
9888
|
onChange: b
|
|
9882
|
-
}, null, 40,
|
|
9889
|
+
}, null, 40, Eu)
|
|
9883
9890
|
], 64)) : (t(), i("div", {
|
|
9884
9891
|
key: 2,
|
|
9885
9892
|
class: p(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
|
@@ -9889,27 +9896,27 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9889
9896
|
}
|
|
9890
9897
|
]])
|
|
9891
9898
|
}, [
|
|
9892
|
-
n("div",
|
|
9899
|
+
n("div", Tu, [
|
|
9893
9900
|
(t(!0), i(Y, null, T(o(f), (h, S) => (t(), i("div", {
|
|
9894
9901
|
key: `${S}-${h.fileName}`,
|
|
9895
9902
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
|
9896
9903
|
}, [
|
|
9897
|
-
n("div",
|
|
9898
|
-
n("div",
|
|
9904
|
+
n("div", Hu, [
|
|
9905
|
+
n("div", Gu, [
|
|
9899
9906
|
A(o(L), {
|
|
9900
9907
|
name: "file-extension",
|
|
9901
9908
|
width: "14",
|
|
9902
9909
|
height: "10"
|
|
9903
9910
|
}),
|
|
9904
|
-
n("span",
|
|
9911
|
+
n("span", Du, x(h.extension), 1)
|
|
9905
9912
|
]),
|
|
9906
|
-
n("span",
|
|
9913
|
+
n("span", Pu, x(h == null ? void 0 : h.fileName), 1)
|
|
9907
9914
|
]),
|
|
9908
9915
|
c.value ? (t(), i("div", {
|
|
9909
9916
|
key: 0,
|
|
9910
9917
|
class: p(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": h.progress === 100 }])
|
|
9911
9918
|
}, [
|
|
9912
|
-
n("div",
|
|
9919
|
+
n("div", Ru, [
|
|
9913
9920
|
n("div", {
|
|
9914
9921
|
style: me({ width: `${h.progress}%` }),
|
|
9915
9922
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
|
@@ -9951,15 +9958,15 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9951
9958
|
onDragleave: C[8] || (C[8] = (h) => d.value = !1),
|
|
9952
9959
|
onDrop: C[9] || (C[9] = (h) => d.value = !1),
|
|
9953
9960
|
onChange: b
|
|
9954
|
-
}, null, 40,
|
|
9955
|
-
o(f).length ? e.isDisabled ? u("", !0) : (t(), i("div",
|
|
9961
|
+
}, null, 40, Qu)),
|
|
9962
|
+
o(f).length ? e.isDisabled ? u("", !0) : (t(), i("div", _u, [...C[11] || (C[11] = [
|
|
9956
9963
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
|
9957
|
-
])])) : (t(), i("div",
|
|
9964
|
+
])])) : (t(), i("div", Xu, [
|
|
9958
9965
|
A(o(L), {
|
|
9959
9966
|
name: "upload",
|
|
9960
9967
|
class: p(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
|
9961
9968
|
}, null, 8, ["class"]),
|
|
9962
|
-
e.labelUploadArea ? (t(), i("div",
|
|
9969
|
+
e.labelUploadArea ? (t(), i("div", Fu, x(e.labelUploadArea), 1)) : e.isDisabled ? (t(), i("div", Uu, "Upload disabled")) : (t(), i("div", $u, [
|
|
9963
9970
|
C[10] || (C[10] = n("div", null, "Select documents or drag here", -1)),
|
|
9964
9971
|
n("div", null, "File max " + x(e.maxSize) + "MB", 1)
|
|
9965
9972
|
]))
|
|
@@ -9971,7 +9978,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
9971
9978
|
}, 8, ["label", "hint", "error-message"])
|
|
9972
9979
|
]));
|
|
9973
9980
|
}
|
|
9974
|
-
},
|
|
9981
|
+
}, em = ["value"], tm = {
|
|
9975
9982
|
__name: "OcNumberInput",
|
|
9976
9983
|
props: {
|
|
9977
9984
|
modelValue: {
|
|
@@ -10032,7 +10039,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10032
10039
|
placeholder: "1",
|
|
10033
10040
|
onKeydown: c,
|
|
10034
10041
|
onInput: f[0] || (f[0] = (v) => m.$emit("update:modelValue", v.target.value))
|
|
10035
|
-
}, null, 42,
|
|
10042
|
+
}, null, 42, em),
|
|
10036
10043
|
A(o(U), {
|
|
10037
10044
|
variant: "secondary",
|
|
10038
10045
|
class: "w-[28px] shrink-0 aspect-square",
|
|
@@ -10047,7 +10054,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10047
10054
|
_: 1
|
|
10048
10055
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
|
10049
10056
|
}
|
|
10050
|
-
},
|
|
10057
|
+
}, am = /* @__PURE__ */ we(tm, [["__scopeId", "data-v-794b43c4"]]), lm = {
|
|
10051
10058
|
__name: "OcDropdown",
|
|
10052
10059
|
props: {
|
|
10053
10060
|
distance: {
|
|
@@ -10153,16 +10160,16 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10153
10160
|
[o(rt), f]
|
|
10154
10161
|
]);
|
|
10155
10162
|
}
|
|
10156
|
-
}, ve = /* @__PURE__ */ we(
|
|
10163
|
+
}, ve = /* @__PURE__ */ we(lm, [["__scopeId", "data-v-1f87fc2b"]]), nm = { class: "flex items-center justify-between gap-x-3 p-3" }, im = { class: "flex items-center gap-x-3" }, om = {
|
|
10157
10164
|
key: 0,
|
|
10158
10165
|
class: "bg-oc-warning-50 text-oc-warning shrink-0 px-2 rounded-sm uppercase text-xs font-medium"
|
|
10159
|
-
},
|
|
10166
|
+
}, sm = {
|
|
10160
10167
|
key: 1,
|
|
10161
10168
|
class: "bg-oc-accent-2-50 text-oc-accent-2 shrink-0 px-2 rounded-sm uppercase text-xs font-medium"
|
|
10162
|
-
},
|
|
10169
|
+
}, rm = {
|
|
10163
10170
|
key: 2,
|
|
10164
10171
|
class: "bg-oc-accent-2-50 text-oc-accent-2 shrink-0 px-2 rounded-sm uppercase text-xs font-medium"
|
|
10165
|
-
},
|
|
10172
|
+
}, dm = {
|
|
10166
10173
|
key: 0,
|
|
10167
10174
|
class: "p-3 text-sm text-oc-text-300"
|
|
10168
10175
|
}, Ke = {
|
|
@@ -10189,8 +10196,8 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10189
10196
|
return (a, l) => (t(), i("div", {
|
|
10190
10197
|
class: p(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", r.value[e.variant]])
|
|
10191
10198
|
}, [
|
|
10192
|
-
n("div",
|
|
10193
|
-
n("div",
|
|
10199
|
+
n("div", nm, [
|
|
10200
|
+
n("div", im, [
|
|
10194
10201
|
e.icon ? (t(), g(o(L), G({
|
|
10195
10202
|
key: 0,
|
|
10196
10203
|
class: "w-5 h-5",
|
|
@@ -10199,14 +10206,14 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10199
10206
|
n("span", null, x(e.text), 1),
|
|
10200
10207
|
k(a.$slots, "badge")
|
|
10201
10208
|
]),
|
|
10202
|
-
e.isBeta ? (t(), i("div",
|
|
10209
|
+
e.isBeta ? (t(), i("div", om, " BETA ")) : e.isNew ? (t(), i("div", sm, " NEW ")) : e.isTryIt ? (t(), i("div", rm, " TRY IT ")) : u("", !0)
|
|
10203
10210
|
]),
|
|
10204
|
-
e.subText ? (t(), i("div",
|
|
10211
|
+
e.subText ? (t(), i("div", dm, [
|
|
10205
10212
|
n("span", null, x(e.subText), 1)
|
|
10206
10213
|
])) : u("", !0)
|
|
10207
10214
|
], 2));
|
|
10208
10215
|
}
|
|
10209
|
-
},
|
|
10216
|
+
}, cm = { class: "oc-tooltip-wrapper" }, um = {
|
|
10210
10217
|
__name: "OcTooltip",
|
|
10211
10218
|
props: {
|
|
10212
10219
|
popperClass: {
|
|
@@ -10286,7 +10293,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10286
10293
|
const f = () => {
|
|
10287
10294
|
a.value && m();
|
|
10288
10295
|
};
|
|
10289
|
-
return (v, y) => We((t(), i("span",
|
|
10296
|
+
return (v, y) => We((t(), i("span", cm, [
|
|
10290
10297
|
A(o(Ot), {
|
|
10291
10298
|
ref_key: "popper",
|
|
10292
10299
|
ref: d,
|
|
@@ -10335,14 +10342,14 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10335
10342
|
[o(rt), f]
|
|
10336
10343
|
]);
|
|
10337
10344
|
}
|
|
10338
|
-
}, se = /* @__PURE__ */ we(
|
|
10345
|
+
}, se = /* @__PURE__ */ we(um, [["__scopeId", "data-v-80e32f1d"]]), mm = {
|
|
10339
10346
|
key: 0,
|
|
10340
10347
|
id: "modal-overlay-wrapper",
|
|
10341
10348
|
class: "fixed w-screen z-[1008] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
|
10342
|
-
},
|
|
10349
|
+
}, fm = { class: "flex flex-col gap-y-1 overflow-hidden" }, pm = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, vm = {
|
|
10343
10350
|
key: 0,
|
|
10344
10351
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
|
10345
|
-
},
|
|
10352
|
+
}, gm = ["id"], Am = {
|
|
10346
10353
|
__name: "OcModal",
|
|
10347
10354
|
props: {
|
|
10348
10355
|
isBorderless: Boolean,
|
|
@@ -10439,7 +10446,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10439
10446
|
), st(() => {
|
|
10440
10447
|
var y;
|
|
10441
10448
|
(y = f.value) == null || y.removeEventListener("scroll", v);
|
|
10442
|
-
}), (y, b) => e.modelValue ? (t(), i("div",
|
|
10449
|
+
}), (y, b) => e.modelValue ? (t(), i("div", mm, [
|
|
10443
10450
|
n("div", {
|
|
10444
10451
|
class: "w-full h-full absolute top-0 left-0 z-[1008]",
|
|
10445
10452
|
onClick: d
|
|
@@ -10452,10 +10459,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10452
10459
|
class: p(["flex bg-inherit border-oc-gray-200 gap-x-9 justify-between p-5 items-start rounded-t-xl", e.isBorderless ? "" : "border-b"])
|
|
10453
10460
|
}, [
|
|
10454
10461
|
k(y.$slots, "header", {}, () => [
|
|
10455
|
-
n("div",
|
|
10456
|
-
n("span",
|
|
10462
|
+
n("div", fm, [
|
|
10463
|
+
n("span", pm, x(e.title), 1),
|
|
10457
10464
|
k(y.$slots, "description", {}, () => [
|
|
10458
|
-
e.description ? (t(), i("span",
|
|
10465
|
+
e.description ? (t(), i("span", vm, x(e.description), 1)) : u("", !0)
|
|
10459
10466
|
])
|
|
10460
10467
|
]),
|
|
10461
10468
|
e.isCloseIcon ? (t(), i("div", {
|
|
@@ -10479,7 +10486,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10479
10486
|
onScroll: b[1] || (b[1] = (j) => l("content-scroll", j))
|
|
10480
10487
|
}, [
|
|
10481
10488
|
k(y.$slots, "default")
|
|
10482
|
-
], 42,
|
|
10489
|
+
], 42, gm),
|
|
10483
10490
|
e.isFooterVisible ? (t(), i("div", {
|
|
10484
10491
|
key: 1,
|
|
10485
10492
|
class: p(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
|
@@ -10506,10 +10513,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10506
10513
|
], 2)
|
|
10507
10514
|
])) : u("", !0);
|
|
10508
10515
|
}
|
|
10509
|
-
},
|
|
10516
|
+
}, hm = {
|
|
10510
10517
|
key: 0,
|
|
10511
10518
|
class: "fixed w-screen z-[1008] bg-white top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
|
10512
|
-
},
|
|
10519
|
+
}, ym = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, bm = { class: "modal-body p-9" }, lp = {
|
|
10513
10520
|
__name: "OcModalPage",
|
|
10514
10521
|
props: {
|
|
10515
10522
|
modelValue: {
|
|
@@ -10540,8 +10547,8 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10540
10547
|
emits: ["update:modelValue", "back", "click:outside"],
|
|
10541
10548
|
setup(e, { emit: r }) {
|
|
10542
10549
|
const a = r;
|
|
10543
|
-
return (l, s) => e.modelValue ? (t(), i("div",
|
|
10544
|
-
n("div",
|
|
10550
|
+
return (l, s) => e.modelValue ? (t(), i("div", hm, [
|
|
10551
|
+
n("div", ym, [
|
|
10545
10552
|
k(l.$slots, "top"),
|
|
10546
10553
|
n("div", {
|
|
10547
10554
|
class: p(["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])
|
|
@@ -10569,14 +10576,14 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10569
10576
|
}),
|
|
10570
10577
|
s[2] || (s[2] = n("span", null, "Close", -1))
|
|
10571
10578
|
]),
|
|
10572
|
-
n("div",
|
|
10579
|
+
n("div", bm, [
|
|
10573
10580
|
k(l.$slots, "default")
|
|
10574
10581
|
])
|
|
10575
10582
|
], 2)
|
|
10576
10583
|
])
|
|
10577
10584
|
])) : u("", !0);
|
|
10578
10585
|
}
|
|
10579
|
-
},
|
|
10586
|
+
}, xm = { class: "text-center" }, km = ["innerHTML"], wm = {
|
|
10580
10587
|
__name: "OcConfirmation",
|
|
10581
10588
|
props: {
|
|
10582
10589
|
description: String,
|
|
@@ -10615,14 +10622,14 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10615
10622
|
name: e.icon ?? r[e.variant]
|
|
10616
10623
|
}, null, 8, ["name"])
|
|
10617
10624
|
], 2)),
|
|
10618
|
-
n("div",
|
|
10625
|
+
n("div", xm, [
|
|
10619
10626
|
k(l.$slots, "description", {}, () => [
|
|
10620
|
-
n("span", { innerHTML: e.description }, null, 8,
|
|
10627
|
+
n("span", { innerHTML: e.description }, null, 8, km)
|
|
10621
10628
|
])
|
|
10622
10629
|
])
|
|
10623
10630
|
], 2));
|
|
10624
10631
|
}
|
|
10625
|
-
},
|
|
10632
|
+
}, Cm = {
|
|
10626
10633
|
__name: "OcConfirmationModal",
|
|
10627
10634
|
props: {
|
|
10628
10635
|
modelValue: {
|
|
@@ -10695,7 +10702,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10695
10702
|
})), c = (m) => {
|
|
10696
10703
|
l("update:model-value", m), l("cancel");
|
|
10697
10704
|
};
|
|
10698
|
-
return (m, f) => (t(), g(o(
|
|
10705
|
+
return (m, f) => (t(), g(o(Am), {
|
|
10699
10706
|
size: "small",
|
|
10700
10707
|
"model-value": e.modelValue,
|
|
10701
10708
|
title: e.title,
|
|
@@ -10718,7 +10725,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10718
10725
|
onCancel: f[1] || (f[1] = (v) => m.$emit("cancel"))
|
|
10719
10726
|
}, {
|
|
10720
10727
|
default: I(() => [
|
|
10721
|
-
A(
|
|
10728
|
+
A(wm, {
|
|
10722
10729
|
"icon-class": e.iconClass,
|
|
10723
10730
|
variant: e.variant,
|
|
10724
10731
|
description: e.description,
|
|
@@ -10738,10 +10745,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10738
10745
|
_: 3
|
|
10739
10746
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
|
10740
10747
|
}
|
|
10741
|
-
},
|
|
10748
|
+
}, Sm = { class: "fixed bottom-[30px] right-[32px]" }, Im = { class: "relative" }, Zm = {
|
|
10742
10749
|
key: 0,
|
|
10743
10750
|
class: "flex items-center justify-end"
|
|
10744
|
-
},
|
|
10751
|
+
}, Om = { class: "w-[40px] flex text-white items-center bg-oc-text active:bg-oc-gray-800 justify-center aspect-square rounded-full cursor-pointer" }, Km = { class: "min-w-[180px]" }, zm = { class: "p-3" }, Lm = { class: "uppercase text-oc-text-400 text-xs font-medium" }, np = {
|
|
10745
10752
|
__name: "OcSupportMenu",
|
|
10746
10753
|
props: {
|
|
10747
10754
|
modelValue: {
|
|
@@ -10779,7 +10786,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10779
10786
|
const r = {
|
|
10780
10787
|
arrowHidden: !0
|
|
10781
10788
|
};
|
|
10782
|
-
return (a, l) => (t(), i("div",
|
|
10789
|
+
return (a, l) => (t(), i("div", Sm, [
|
|
10783
10790
|
A(o(ve), {
|
|
10784
10791
|
"model-value": e.modelValue,
|
|
10785
10792
|
"popper-options": r,
|
|
@@ -10788,10 +10795,10 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10788
10795
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => a.$emit("update:modelValue", s))
|
|
10789
10796
|
}, {
|
|
10790
10797
|
menu: I(() => [
|
|
10791
|
-
n("div",
|
|
10798
|
+
n("div", Km, [
|
|
10792
10799
|
(t(!0), i(Y, null, T(e.topMenu, (s, d) => (t(), i(Y, { key: d }, [
|
|
10793
|
-
n("div",
|
|
10794
|
-
n("span",
|
|
10800
|
+
n("div", zm, [
|
|
10801
|
+
n("span", Lm, x(s.title), 1)
|
|
10795
10802
|
]),
|
|
10796
10803
|
(t(!0), i(Y, null, T(s.items, (c, m) => (t(), g(o(Ke), G({
|
|
10797
10804
|
key: m,
|
|
@@ -10830,11 +10837,11 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10830
10837
|
])
|
|
10831
10838
|
]),
|
|
10832
10839
|
default: I(() => [
|
|
10833
|
-
n("div",
|
|
10834
|
-
e.isPointed ? (t(), i("div",
|
|
10840
|
+
n("div", Im, [
|
|
10841
|
+
e.isPointed ? (t(), i("div", Zm, [...l[1] || (l[1] = [
|
|
10835
10842
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
|
10836
10843
|
])])) : u("", !0),
|
|
10837
|
-
n("div",
|
|
10844
|
+
n("div", Om, [
|
|
10838
10845
|
A(o(L), {
|
|
10839
10846
|
name: "question",
|
|
10840
10847
|
width: "33",
|
|
@@ -10847,7 +10854,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10847
10854
|
}, 8, ["model-value"])
|
|
10848
10855
|
]));
|
|
10849
10856
|
}
|
|
10850
|
-
},
|
|
10857
|
+
}, jm = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Me = {
|
|
10851
10858
|
__name: "OcCopyTooltip",
|
|
10852
10859
|
props: {
|
|
10853
10860
|
value: [String, Blob],
|
|
@@ -10877,7 +10884,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10877
10884
|
distance: 20
|
|
10878
10885
|
}, e.tooltipOptions), {
|
|
10879
10886
|
popper: I(() => [
|
|
10880
|
-
n("div",
|
|
10887
|
+
n("div", jm, x(e.tooltipText), 1)
|
|
10881
10888
|
]),
|
|
10882
10889
|
default: I(({ isShow: s }) => [
|
|
10883
10890
|
n("div", {
|
|
@@ -10896,7 +10903,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10896
10903
|
_: 3
|
|
10897
10904
|
}, 16));
|
|
10898
10905
|
}
|
|
10899
|
-
},
|
|
10906
|
+
}, Bm = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, Jm = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, Nm = { class: "flex flex-col gap-y-7 p-5" }, Wm = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, qm = ["src"], Vm = { class: "flex text-center flex-col gap-y-3" }, Mm = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, Ym = { class: "text-oc-text-400" }, Em = { class: "py-6 px-5 flex items-center justify-center" }, ip = {
|
|
10900
10907
|
__name: "OcWhiteList",
|
|
10901
10908
|
props: {
|
|
10902
10909
|
buttonProps: {
|
|
@@ -10912,28 +10919,28 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10912
10919
|
description: String
|
|
10913
10920
|
},
|
|
10914
10921
|
setup(e) {
|
|
10915
|
-
return (r, a) => (t(), i("div",
|
|
10922
|
+
return (r, a) => (t(), i("div", Bm, [
|
|
10916
10923
|
a[0] || (a[0] = n("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
|
|
10917
|
-
n("div",
|
|
10918
|
-
n("div",
|
|
10924
|
+
n("div", Jm, [
|
|
10925
|
+
n("div", Nm, [
|
|
10919
10926
|
k(r.$slots, "logo", {}, () => [
|
|
10920
|
-
n("div",
|
|
10927
|
+
n("div", Wm, [
|
|
10921
10928
|
n("img", {
|
|
10922
10929
|
src: e.imagePath,
|
|
10923
10930
|
alt: "logo"
|
|
10924
|
-
}, null, 8,
|
|
10931
|
+
}, null, 8, qm)
|
|
10925
10932
|
])
|
|
10926
10933
|
]),
|
|
10927
|
-
n("div",
|
|
10928
|
-
n("div",
|
|
10934
|
+
n("div", Vm, [
|
|
10935
|
+
n("div", Mm, [
|
|
10929
10936
|
F(x(e.title) + " ", 1),
|
|
10930
10937
|
e.tagOptions ? (t(), g(o(Xt), ye(G({ key: 0 }, e.tagOptions)), null, 16)) : u("", !0)
|
|
10931
10938
|
]),
|
|
10932
|
-
n("span",
|
|
10939
|
+
n("span", Ym, x(e.description), 1)
|
|
10933
10940
|
]),
|
|
10934
10941
|
k(r.$slots, "bottom")
|
|
10935
10942
|
]),
|
|
10936
|
-
n("div",
|
|
10943
|
+
n("div", Em, [
|
|
10937
10944
|
k(r.$slots, "footer", {}, () => [
|
|
10938
10945
|
A(o(U), G({
|
|
10939
10946
|
label: "Request Access",
|
|
@@ -10944,7 +10951,7 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10944
10951
|
])
|
|
10945
10952
|
]));
|
|
10946
10953
|
}
|
|
10947
|
-
},
|
|
10954
|
+
}, op = {
|
|
10948
10955
|
__name: "OcFormBuilder",
|
|
10949
10956
|
props: {
|
|
10950
10957
|
id: {
|
|
@@ -10987,23 +10994,23 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
10987
10994
|
const a = e, l = r, s = (w, O) => {
|
|
10988
10995
|
l("onUpdate", w, O);
|
|
10989
10996
|
}, d = {
|
|
10990
|
-
CardInput:
|
|
10991
|
-
CheckboxesGroup:
|
|
10997
|
+
CardInput: Vr,
|
|
10998
|
+
CheckboxesGroup: Er,
|
|
10992
10999
|
Input: Se,
|
|
10993
|
-
NumberInput:
|
|
10994
|
-
LinkInput:
|
|
10995
|
-
Select:
|
|
10996
|
-
TextArea:
|
|
11000
|
+
NumberInput: am,
|
|
11001
|
+
LinkInput: jd,
|
|
11002
|
+
Select: wd,
|
|
11003
|
+
TextArea: Nd,
|
|
10997
11004
|
Toggle: Kt,
|
|
10998
|
-
RadioGroup:
|
|
10999
|
-
TimePicker:
|
|
11000
|
-
DatePicker:
|
|
11005
|
+
RadioGroup: ud,
|
|
11006
|
+
TimePicker: Gm,
|
|
11007
|
+
DatePicker: Yc,
|
|
11001
11008
|
Checkbox: Ne,
|
|
11002
11009
|
Slider: Mt,
|
|
11003
|
-
RangeInput:
|
|
11004
|
-
PhoneInput:
|
|
11005
|
-
SectionItem:
|
|
11006
|
-
SelectOptions:
|
|
11010
|
+
RangeInput: vd,
|
|
11011
|
+
PhoneInput: od,
|
|
11012
|
+
SectionItem: tu,
|
|
11013
|
+
SelectOptions: ou
|
|
11007
11014
|
}, c = (w) => d[w] ? d[w] : null, m = V(() => {
|
|
11008
11015
|
const w = (N) => N.split(`
|
|
11009
11016
|
`).map((q) => q.trim()).filter(Boolean).map((q) => `"${q}"`).join(" "), O = {};
|
|
@@ -11119,33 +11126,33 @@ const Jc = { class: "flex flex-col gap-y-2 w-full" }, Nc = {
|
|
|
11119
11126
|
}), 128))
|
|
11120
11127
|
], 6)) : u("", !0);
|
|
11121
11128
|
}
|
|
11122
|
-
},
|
|
11123
|
-
() => import("./OcComplexCalendar-
|
|
11124
|
-
),
|
|
11125
|
-
() => import("./OcComplexDatePicker-
|
|
11126
|
-
), ct = Ae(() => import("./OcModalCropper-
|
|
11127
|
-
() => import("./ThumbnailTheme-
|
|
11128
|
-
),
|
|
11129
|
-
() => import("./ThumbnailSection-
|
|
11130
|
-
),
|
|
11131
|
-
() => import("./OcAccountSetupProgress-
|
|
11129
|
+
}, sp = Ae(() => import("./OcDataTable-CSukVxvR.js")), rp = Ae(() => import("./OcFilterSearch-D7K_ZtsN.js")), dp = Ae(() => import("./OcFilterSearchFor-Bay90Ca_.js")), cp = Ae(() => import("./OcFilterForm-DnZdGZz6.js")), Tm = Ae(
|
|
11130
|
+
() => import("./OcComplexCalendar-CCXpbTyX.js")
|
|
11131
|
+
), up = Ae(
|
|
11132
|
+
() => import("./OcComplexDatePicker-DaA7QBAI.js")
|
|
11133
|
+
), ct = Ae(() => import("./OcModalCropper-CssTmZce.js")), mp = Ae(() => import("./OcCropper-DdCpfpty.js")), Hm = Ae(() => import("./OcDraggable-DRsp4j4e.js")), fp = Ae(() => import("./OcDraggableList-C3C29-gc.js")), pp = Ae(() => import("./OcEmojiPicker-DR9p0QON.js")), vp = Ae(
|
|
11134
|
+
() => import("./ThumbnailTheme-DubaZSib.js")
|
|
11135
|
+
), gp = Ae(
|
|
11136
|
+
() => import("./ThumbnailSection-CgNI9vGW.js")
|
|
11137
|
+
), Ap = Ae(() => import("./SubPlanCard-DkGI01xm.js")), hp = Ae(() => import("./OcTimePopup-CrwbZ_Nx.js")), Gm = Ae(() => import("./OcTimePicker-BlqyxwPb.js")), yp = Ae(
|
|
11138
|
+
() => import("./OcAccountSetupProgress-BJTQY3hT.js")
|
|
11132
11139
|
);
|
|
11133
11140
|
export {
|
|
11134
|
-
|
|
11141
|
+
Sf as $,
|
|
11135
11142
|
bn as A,
|
|
11136
11143
|
U as B,
|
|
11137
11144
|
Ne as C,
|
|
11138
|
-
|
|
11139
|
-
|
|
11145
|
+
kf as D,
|
|
11146
|
+
xf as E,
|
|
11140
11147
|
Ca as F,
|
|
11141
11148
|
Lt as G,
|
|
11142
11149
|
_e as H,
|
|
11143
|
-
|
|
11150
|
+
gf as I,
|
|
11144
11151
|
pt as J,
|
|
11145
11152
|
vt as K,
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11153
|
+
pf as L,
|
|
11154
|
+
vf as M,
|
|
11155
|
+
am as N,
|
|
11149
11156
|
mt as O,
|
|
11150
11157
|
Re as P,
|
|
11151
11158
|
ft as Q,
|
|
@@ -11153,97 +11160,97 @@ export {
|
|
|
11153
11160
|
Mt as S,
|
|
11154
11161
|
Ge as T,
|
|
11155
11162
|
ga as U,
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11163
|
+
Af as V,
|
|
11164
|
+
wf as W,
|
|
11165
|
+
Cf as X,
|
|
11166
|
+
Zf as Y,
|
|
11160
11167
|
Ai as Z,
|
|
11161
11168
|
Ie as _,
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
|
|
11169
|
+
Vr as a,
|
|
11170
|
+
If as a0,
|
|
11171
|
+
Of as a1,
|
|
11165
11172
|
xi as a2,
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
+
Tf as a3,
|
|
11174
|
+
vs as a4,
|
|
11175
|
+
Rf as a5,
|
|
11176
|
+
Pf as a6,
|
|
11177
|
+
Ef as a7,
|
|
11178
|
+
Hf as a8,
|
|
11179
|
+
Kf as a9,
|
|
11173
11180
|
ve as aA,
|
|
11174
11181
|
Ke as aB,
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11182
|
+
Am as aC,
|
|
11183
|
+
lp as aD,
|
|
11184
|
+
np as aE,
|
|
11178
11185
|
se as aF,
|
|
11179
|
-
|
|
11186
|
+
ip as aG,
|
|
11180
11187
|
dt as aH,
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11188
|
+
Tm as aI,
|
|
11189
|
+
Hm as aJ,
|
|
11190
|
+
hp as aK,
|
|
11191
|
+
rp as aL,
|
|
11192
|
+
cp as aM,
|
|
11193
|
+
dp as aN,
|
|
11194
|
+
sp as aO,
|
|
11195
|
+
up as aP,
|
|
11189
11196
|
ct as aQ,
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
|
|
11197
|
+
mp as aR,
|
|
11198
|
+
fp as aS,
|
|
11199
|
+
pp as aT,
|
|
11200
|
+
vp as aU,
|
|
11201
|
+
gp as aV,
|
|
11202
|
+
Ap as aW,
|
|
11203
|
+
Gm as aX,
|
|
11204
|
+
yp as aY,
|
|
11205
|
+
zf as aa,
|
|
11206
|
+
Lf as ab,
|
|
11207
|
+
jf as ac,
|
|
11208
|
+
Bf as ad,
|
|
11209
|
+
Jf as ae,
|
|
11210
|
+
Nf as af,
|
|
11204
11211
|
fo as ag,
|
|
11205
11212
|
oo as ah,
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11213
|
+
Gf as ai,
|
|
11214
|
+
Wf as aj,
|
|
11215
|
+
qf as ak,
|
|
11216
|
+
Vf as al,
|
|
11217
|
+
No as am,
|
|
11218
|
+
Ho as an,
|
|
11219
|
+
Qo as ao,
|
|
11220
|
+
Uo as ap,
|
|
11221
|
+
Mf as aq,
|
|
11222
|
+
Yf as ar,
|
|
11223
|
+
Df as as,
|
|
11224
|
+
Qf as at,
|
|
11225
|
+
Ff as au,
|
|
11219
11226
|
de as av,
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11227
|
+
Uf as aw,
|
|
11228
|
+
Xf as ax,
|
|
11229
|
+
Cm as ay,
|
|
11223
11230
|
Me as az,
|
|
11224
|
-
|
|
11225
|
-
|
|
11231
|
+
Er as b,
|
|
11232
|
+
$f as c,
|
|
11226
11233
|
Se as d,
|
|
11227
|
-
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
|
|
11231
|
-
|
|
11232
|
-
|
|
11234
|
+
_f as e,
|
|
11235
|
+
od as f,
|
|
11236
|
+
cd as g,
|
|
11237
|
+
ud as h,
|
|
11238
|
+
vd as i,
|
|
11239
|
+
wd as j,
|
|
11233
11240
|
yt as k,
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
|
|
11240
|
-
|
|
11241
|
-
|
|
11242
|
-
|
|
11243
|
-
|
|
11241
|
+
ep as l,
|
|
11242
|
+
jd as m,
|
|
11243
|
+
Nd as n,
|
|
11244
|
+
jc as o,
|
|
11245
|
+
Yc as p,
|
|
11246
|
+
tu as q,
|
|
11247
|
+
ou as r,
|
|
11248
|
+
tp as s,
|
|
11249
|
+
ap as t,
|
|
11250
|
+
op as u,
|
|
11244
11251
|
jt as v,
|
|
11245
|
-
|
|
11246
|
-
|
|
11252
|
+
bf as w,
|
|
11253
|
+
yf as x,
|
|
11247
11254
|
Ye as y,
|
|
11248
|
-
|
|
11255
|
+
hf as z
|
|
11249
11256
|
};
|