@orchidui/core 1.8.1-7 → 1.8.1-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
- package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
- package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
- package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +1 -1
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/Table/OcTable.js +1 -1
- package/dist/DataDisplay/TransferSummary/OcTransferSummary.js +1 -1
- package/dist/Disclosure/Accordion/OcAccordion.js +1 -1
- package/dist/Disclosure/OnboardingAccordion/OnboardingAccordion.js +1 -1
- package/dist/Disclosure/Steps/OcSteps.js +1 -1
- package/dist/Disclosure/Tabs/Tabs.js +1 -1
- package/dist/Disclosure/Variants/OcVariants.js +1 -1
- package/dist/Elements/AdditionalContent/OcAdditionalContent.js +1 -1
- package/dist/Elements/AuthenticationOption/AuthenticationOption.js +1 -1
- package/dist/Elements/Box/OcBox.js +1 -1
- package/dist/Elements/EmptyPage/OcEmptyPage.js +1 -1
- package/dist/Elements/FeatureOverviewCard/OcFeatureOverviewCard.js +1 -1
- package/dist/Elements/Header/OcHeader.js +1 -1
- package/dist/Elements/PageTitle/OcPageTitle.js +1 -1
- package/dist/Elements/SandboxBanner/OcSandboxBanner.js +1 -1
- package/dist/Elements/Sidebar/OcSidebar.js +2 -2
- package/dist/Elements/SubSidebar/OcSubSidebar.js +1 -1
- package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
- package/dist/Feedback/Banner/OcBanner.js +1 -1
- package/dist/Feedback/Chip/OcChip.js +1 -1
- package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
- package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
- package/dist/Form/BaseInput/OcBaseInput.js +1 -1
- package/dist/Form/Button/OcButton.js +1 -1
- package/dist/Form/Calendar/OcCalendar.js +1 -1
- package/dist/Form/CardInput/OcCardInput.js +1 -1
- package/dist/Form/Checkbox/OcCheckbox.js +1 -1
- package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
- package/dist/Form/Criteria/OcCriteria.js +1 -1
- package/dist/Form/Cropper/OcCropper.js +1 -1
- package/dist/Form/DatePicker/OcDatePicker.js +1 -1
- package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
- package/dist/Form/Input/OcInput.js +1 -1
- package/dist/Form/LinkInput/OcLinkInput.js +1 -1
- package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
- package/dist/Form/NumberInput/OcNumberInput.js +1 -1
- package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
- package/dist/Form/Radio/OcRadio.js +1 -1
- package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
- package/dist/Form/RangeInput/OcRangeInput.js +1 -1
- package/dist/Form/SectionItem/OcSectionItem.js +1 -1
- package/dist/Form/Select/OcSelect.js +1 -1
- package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
- package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
- package/dist/Form/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-BBXQD43f.js → OcAccountSetupProgress-Dr_0hJll.js} +1 -1
- package/dist/{OcComplexCalendar-BD8k9vXa.js → OcComplexCalendar-Dtm84iob.js} +1 -1
- package/dist/{OcComplexDatePicker-BvC4TicH.js → OcComplexDatePicker-UwBiINWF.js} +1 -1
- package/dist/{OcCropper-CnC0I6jq.js → OcCropper-CpbwLT0e.js} +1 -1
- package/dist/{OcDataTable-q2BjAPgw.js → OcDataTable-CLTLwpzB.js} +1 -1
- package/dist/{OcDraggableList-lSt_M8s3.js → OcDraggableList-AzYIrDsM.js} +1 -1
- package/dist/{OcEmojiPicker-_AJ9ifgk.js → OcEmojiPicker-BfXAsZzh.js} +1 -1
- package/dist/{OcFilterForm-DamvYFQ7.js → OcFilterForm-Dcze7x6x.js} +1 -1
- package/dist/{OcFilterSearch-BX6NOsFy.js → OcFilterSearch-us34Xf3F.js} +1 -1
- package/dist/{OcFilterSearchFor-Br4XqQB7.js → OcFilterSearchFor-RccrGSpG.js} +1 -1
- package/dist/{OcModalCropper-BJQBW_e0.js → OcModalCropper-DogaW3Pf.js} +2 -2
- package/dist/{OcTimePicker-7tQQEDjc.js → OcTimePicker-SSNb2Nxh.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-ClAydyli.js → SubPlanCard-P1SsLvzl.js} +1 -1
- package/dist/{ThumbnailSection-DuWLH_0G.js → ThumbnailSection-CKnTibRp.js} +1 -1
- package/dist/{ThumbnailTheme-Di3srmQK.js → ThumbnailTheme-3AhZ-r_a.js} +1 -1
- package/dist/{index-BjrHsZ8-.js → index-Dq1RknPv.js} +396 -394
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -21,7 +21,7 @@ import "./OcTheme-CWgrJh5Q.js";
|
|
21
21
|
const Kt = {
|
22
22
|
key: 0,
|
23
23
|
class: "flex relative group/row md:p-0 py-3 w-full"
|
24
|
-
},
|
24
|
+
}, Cm = {
|
25
25
|
__name: "OcTable",
|
26
26
|
props: {
|
27
27
|
options: {
|
@@ -705,7 +705,7 @@ const Kt = {
|
|
705
705
|
a[1] || (a[1] = n("div", { class: "w-9" }, null, -1))
|
706
706
|
]));
|
707
707
|
}
|
708
|
-
}), vl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" },
|
708
|
+
}), vl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" }, Vm = /* @__PURE__ */ Z({
|
709
709
|
__name: "OcExpadingTable",
|
710
710
|
props: {
|
711
711
|
total: {
|
@@ -785,7 +785,7 @@ const Kt = {
|
|
785
785
|
])
|
786
786
|
]));
|
787
787
|
}
|
788
|
-
}), gl = { class: "w-full items-center flex relative" }, pl = { class: "flex items-center gap-x-6" }, yl = { class: "hidden md:flex items-center gap-x-3" }, xl = { class: "md:hidden mx-[30px]" },
|
788
|
+
}), gl = { class: "w-full items-center flex relative" }, pl = { class: "flex items-center gap-x-6" }, yl = { class: "hidden md:flex items-center gap-x-3" }, xl = { class: "md:hidden mx-[30px]" }, Bm = {
|
789
789
|
__name: "OcPagination",
|
790
790
|
props: {
|
791
791
|
maxPage: {
|
@@ -1290,7 +1290,7 @@ const Kt = {
|
|
1290
1290
|
], 2);
|
1291
1291
|
};
|
1292
1292
|
}
|
1293
|
-
}, St = /* @__PURE__ */ be(Yl, [["__scopeId", "data-v-88d0c278"]]), Wl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Kl = { key: 0 },
|
1293
|
+
}, St = /* @__PURE__ */ be(Yl, [["__scopeId", "data-v-88d0c278"]]), Wl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Kl = { key: 0 }, Om = {
|
1294
1294
|
__name: "OcTransferSummary",
|
1295
1295
|
props: {
|
1296
1296
|
transfer: {
|
@@ -1968,7 +1968,7 @@ const Kt = {
|
|
1968
1968
|
])
|
1969
1969
|
], 2));
|
1970
1970
|
}
|
1971
|
-
}),
|
1971
|
+
}), Im = {
|
1972
1972
|
__name: "OcListItem",
|
1973
1973
|
props: {
|
1974
1974
|
isActive: Boolean,
|
@@ -2134,7 +2134,7 @@ const Kt = {
|
|
2134
2134
|
}, xn = { class: "uppercase" }, hn = { class: "flex flex-col px-3 py-2 text-[12px] text-oc-text-400 font-medium text-sm" }, bn = { class: "mb-auto" }, wn = {
|
2135
2135
|
key: 1,
|
2136
2136
|
class: "absolute top-2 right-2 left-2 bottom-2 bg-white flex items-center justify-center"
|
2137
|
-
},
|
2137
|
+
}, Tm = {
|
2138
2138
|
__name: "OcInfoCard",
|
2139
2139
|
props: {
|
2140
2140
|
isLoading: Boolean,
|
@@ -2202,7 +2202,7 @@ const Kt = {
|
|
2202
2202
|
}, On = { class: "flex items-center gap-3" }, In = { class: "p-[6px] rounded cursor-pointer text-oc-gray-500 hover:bg-gray-100 hover:text-oc-text" }, Tn = { class: "p-2 border-b border-gray-200" }, Dn = {
|
2203
2203
|
key: 0,
|
2204
2204
|
class: "p-2"
|
2205
|
-
},
|
2205
|
+
}, Dm = {
|
2206
2206
|
__name: "OcFloatContent",
|
2207
2207
|
props: {
|
2208
2208
|
modelValue: {
|
@@ -2329,7 +2329,7 @@ const Kt = {
|
|
2329
2329
|
}, Pn = {
|
2330
2330
|
key: 2,
|
2331
2331
|
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"
|
2332
|
-
}, En = { class: "flex flex-col gap-y-1" }, Nn = { class: "font-medium" }, zn = { class: "text-oc-text-300 text-sm" },
|
2332
|
+
}, En = { class: "flex flex-col gap-y-1" }, Nn = { class: "font-medium" }, zn = { class: "text-oc-text-300 text-sm" }, Am = /* @__PURE__ */ Z({
|
2333
2333
|
__name: "OcOnboardingListItem",
|
2334
2334
|
props: {
|
2335
2335
|
title: {
|
@@ -2385,7 +2385,7 @@ const Kt = {
|
|
2385
2385
|
])
|
2386
2386
|
]));
|
2387
2387
|
}
|
2388
|
-
}),
|
2388
|
+
}), jm = {
|
2389
2389
|
__name: "OcAccordion",
|
2390
2390
|
props: {
|
2391
2391
|
header: {
|
@@ -2509,7 +2509,7 @@ const Kt = {
|
|
2509
2509
|
}, null, 8, ["width", "height", "name"]))
|
2510
2510
|
], 2));
|
2511
2511
|
}
|
2512
|
-
}), Fn = { class: "flex items-center flex-1 gap-x-4" }, Un = { class: "flex flex-col gap-y-1" }, qn = { class: "font-medium" }, Hn = { class: "text-oc-text-400 text-sm" },
|
2512
|
+
}), Fn = { class: "flex items-center flex-1 gap-x-4" }, Un = { class: "flex flex-col gap-y-1" }, qn = { class: "font-medium" }, Hn = { class: "text-oc-text-400 text-sm" }, Mm = /* @__PURE__ */ Z({
|
2513
2513
|
__name: "OnboardingAccordion",
|
2514
2514
|
props: {
|
2515
2515
|
description: {
|
@@ -2570,7 +2570,7 @@ const Kt = {
|
|
2570
2570
|
}), Yn = ["onClick"], Wn = {
|
2571
2571
|
key: 0,
|
2572
2572
|
class: "bg-oc-error rounded-full h-6 w-6 flex items-center justify-center text-xs font-bold text-white px-4"
|
2573
|
-
}, ft = 100, vt = 35,
|
2573
|
+
}, ft = 100, vt = 35, Lm = {
|
2574
2574
|
__name: "OcTabs",
|
2575
2575
|
props: {
|
2576
2576
|
variant: {
|
@@ -2696,7 +2696,7 @@ const Kt = {
|
|
2696
2696
|
], 2)) : m("", !0)
|
2697
2697
|
], 2));
|
2698
2698
|
}
|
2699
|
-
}, Kn = ["src"], Gn = { class: "shrink-0" },
|
2699
|
+
}, Kn = ["src"], Gn = { class: "shrink-0" }, Pm = {
|
2700
2700
|
__name: "OcPaymentTab",
|
2701
2701
|
props: {
|
2702
2702
|
tab: {
|
@@ -2766,7 +2766,7 @@ const Kt = {
|
|
2766
2766
|
}, w(e.title), 3)
|
2767
2767
|
], 2));
|
2768
2768
|
}
|
2769
|
-
}), Zn = { class: "flex gap-x-7" },
|
2769
|
+
}), Zn = { class: "flex gap-x-7" }, Em = /* @__PURE__ */ Z({
|
2770
2770
|
__name: "OcSteps",
|
2771
2771
|
props: {
|
2772
2772
|
steps: {
|
@@ -2794,7 +2794,7 @@ const Kt = {
|
|
2794
2794
|
])
|
2795
2795
|
]));
|
2796
2796
|
}
|
2797
|
-
}), Qn = { class: "flex gap-3 items-start md:flex-row flex-col" },
|
2797
|
+
}), Qn = { class: "flex gap-3 items-start md:flex-row flex-col" }, Nm = /* @__PURE__ */ Z({
|
2798
2798
|
__name: "OcVariants",
|
2799
2799
|
props: {
|
2800
2800
|
variants: {
|
@@ -2882,22 +2882,22 @@ function ai(e, r) {
|
|
2882
2882
|
k(e.$slots, "default")
|
2883
2883
|
]);
|
2884
2884
|
}
|
2885
|
-
const
|
2885
|
+
const zm = /* @__PURE__ */ be(ti, [["render", ai]]), ni = {}, 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" };
|
2886
2886
|
function oi(e, r) {
|
2887
2887
|
return t(), i("div", ii, [
|
2888
2888
|
k(e.$slots, "default")
|
2889
2889
|
]);
|
2890
2890
|
}
|
2891
|
-
const
|
2891
|
+
const Rm = /* @__PURE__ */ be(ni, [["render", oi]]), si = {}, ri = { class: "flex items-center gap-x-3" };
|
2892
2892
|
function di(e, r) {
|
2893
2893
|
return t(), i("div", ri, [
|
2894
2894
|
k(e.$slots, "default")
|
2895
2895
|
]);
|
2896
2896
|
}
|
2897
|
-
const
|
2897
|
+
const Fm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-center" }, ui = {
|
2898
2898
|
key: 1,
|
2899
2899
|
class: "text-oc-text-300 text-sm md:text-base"
|
2900
|
-
},
|
2900
|
+
}, Um = {
|
2901
2901
|
__name: "OcHeaderCenter",
|
2902
2902
|
props: {
|
2903
2903
|
isSaved: Boolean
|
@@ -2922,7 +2922,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
2922
2922
|
])
|
2923
2923
|
]));
|
2924
2924
|
}
|
2925
|
-
}, mi = { class: "flex items-center gap-x-7 ml-auto" }, fi = { class: "flex gap-x-3" },
|
2925
|
+
}, mi = { class: "flex items-center gap-x-7 ml-auto" }, fi = { class: "flex gap-x-3" }, qm = {
|
2926
2926
|
__name: "OcHeaderRight",
|
2927
2927
|
props: {
|
2928
2928
|
primaryProps: {
|
@@ -2963,7 +2963,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
2963
2963
|
])
|
2964
2964
|
]));
|
2965
2965
|
}
|
2966
|
-
}, vi = { class: "gap-x-9 hidden md:flex relative" }, gi = ["onClick"], pi = { class: "p-3 font-medium whitespace-normal text-oc-accent-1-500 flex items-center gap-2" }, yi = { class: "p-4 min-w-[220px] flex flex-col gap-y-3 border-b border-gray-200" },
|
2966
|
+
}, vi = { class: "gap-x-9 hidden md:flex relative" }, gi = ["onClick"], pi = { class: "p-3 font-medium whitespace-normal text-oc-accent-1-500 flex items-center gap-2" }, yi = { class: "p-4 min-w-[220px] flex flex-col gap-y-3 border-b border-gray-200" }, Hm = {
|
2967
2967
|
__name: "OcTabToSelect",
|
2968
2968
|
props: {
|
2969
2969
|
menus: Array,
|
@@ -3184,7 +3184,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
3184
3184
|
e.chipProps ? (t(), p(o(ne), F({ key: 1 }, e.chipProps, { class: "self-start" }), null, 16)) : m("", !0)
|
3185
3185
|
]));
|
3186
3186
|
}
|
3187
|
-
}), Ii = { class: "pb-4 flex flex-col" }, Ti = { class: "flex flex-col gap-y-3 pt-4 px-5 md:px-7" },
|
3187
|
+
}), Ii = { class: "pb-4 flex flex-col" }, Ti = { class: "flex flex-col gap-y-3 pt-4 px-5 md:px-7" }, Ym = {
|
3188
3188
|
__name: "OcPageTitle",
|
3189
3189
|
props: {
|
3190
3190
|
title: { type: String, required: !0 },
|
@@ -3519,7 +3519,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
3519
3519
|
}, Yi = /* @__PURE__ */ be(Hi, [["__scopeId", "data-v-84aa7cb6"]]), Wi = { class: "flex flex-col flex-1 py-4 gap-5 px-6 animated-section" }, Ki = {
|
3520
3520
|
key: 0,
|
3521
3521
|
class: "border-t border-oc-gray-200 last:hidden first:hidden"
|
3522
|
-
},
|
3522
|
+
}, Wm = {
|
3523
3523
|
__name: "OcSidebar",
|
3524
3524
|
props: {
|
3525
3525
|
class: {
|
@@ -3623,7 +3623,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
3623
3623
|
}, 8, ["is-expanded", "display-name"])
|
3624
3624
|
], 2));
|
3625
3625
|
}
|
3626
|
-
},
|
3626
|
+
}, Km = {
|
3627
3627
|
__name: "OcSidebarSubmenu",
|
3628
3628
|
props: {
|
3629
3629
|
isExpanded: {
|
@@ -3898,7 +3898,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
3898
3898
|
]))
|
3899
3899
|
], 2));
|
3900
3900
|
}
|
3901
|
-
},
|
3901
|
+
}, Gm = /* @__PURE__ */ be(mo, [["__scopeId", "data-v-fb4f007e"]]), fo = { class: "pb-2" }, vo = {
|
3902
3902
|
key: 0,
|
3903
3903
|
class: "pl-3 uppercase text-oc-accent-1-200 relative text-medium text-sm"
|
3904
3904
|
}, go = {
|
@@ -4085,7 +4085,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
4085
4085
|
])
|
4086
4086
|
]));
|
4087
4087
|
}
|
4088
|
-
}, Oo = { class: "relative" }, Io = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, To = { class: "py-2 px-3 gap-x-3 flex items-center" }, Do = { class: "text-oc-accent-2 flex-1 font-medium" }, Ao = { class: "flex items-center gap-x-2" }, jo = { class: "px-3 pb-3 text-oc-text-400 text-sm" },
|
4088
|
+
}, Oo = { class: "relative" }, Io = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, To = { class: "py-2 px-3 gap-x-3 flex items-center" }, Do = { class: "text-oc-accent-2 flex-1 font-medium" }, Ao = { class: "flex items-center gap-x-2" }, jo = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Xm = {
|
4089
4089
|
__name: "OcSidebarFeatureBanners",
|
4090
4090
|
props: {
|
4091
4091
|
isStacked: {
|
@@ -4132,7 +4132,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
4132
4132
|
])
|
4133
4133
|
]));
|
4134
4134
|
}
|
4135
|
-
}, Mo = { class: "py-7 flex flex-col gap-y-3 px-4" }, Lo = { class: "flex flex-col gap-y-2" }, Po = ["onClick"],
|
4135
|
+
}, Mo = { class: "py-7 flex flex-col gap-y-3 px-4" }, Lo = { class: "flex flex-col gap-y-2" }, Po = ["onClick"], Jm = /* @__PURE__ */ Z({
|
4136
4136
|
__name: "OcSubSidebar",
|
4137
4137
|
props: {
|
4138
4138
|
title: {
|
@@ -4176,7 +4176,7 @@ const zm = /* @__PURE__ */ be(si, [["render", di]]), ci = { class: "flex items-c
|
|
4176
4176
|
])
|
4177
4177
|
]));
|
4178
4178
|
}
|
4179
|
-
}), Eo = { class: "relative" },
|
4179
|
+
}), Eo = { class: "relative" }, Zm = {
|
4180
4180
|
__name: "OcEmptyPage",
|
4181
4181
|
props: {
|
4182
4182
|
isButton: {
|
@@ -4813,7 +4813,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
4813
4813
|
}, bs = ["href"], ws = { class: "truncate" }, $s = { class: "text-oc-text whitespace-nowrap" }, ks = {
|
4814
4814
|
key: 1,
|
4815
4815
|
class: "flex items-center h-[30px] gap-x-2 w-full"
|
4816
|
-
},
|
4816
|
+
}, Qm = {
|
4817
4817
|
__name: "OcAdditionalContent",
|
4818
4818
|
props: {
|
4819
4819
|
mainLink: { type: String, default: "" },
|
@@ -5003,7 +5003,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5003
5003
|
]);
|
5004
5004
|
};
|
5005
5005
|
}
|
5006
|
-
},
|
5006
|
+
}, _m = /* @__PURE__ */ be(Ts, [["__scopeId", "data-v-d658d1d3"]]), Ds = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, As = { class: "text-sm" }, ef = /* @__PURE__ */ Z({
|
5007
5007
|
__name: "OcSandboxBanner",
|
5008
5008
|
props: {
|
5009
5009
|
title: {
|
@@ -5024,7 +5024,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5024
5024
|
}, e.chipProps), null, 16)) : m("", !0)
|
5025
5025
|
]));
|
5026
5026
|
}
|
5027
|
-
}), js = { class: "flex flex-col text-center gap-y-3" }, Ms = { class: "text-lg font-medium" }, Ls = { class: "text-sm text-oc-text-400" },
|
5027
|
+
}), js = { class: "flex flex-col text-center gap-y-3" }, Ms = { class: "text-lg font-medium" }, Ls = { class: "text-sm text-oc-text-400" }, tf = /* @__PURE__ */ Z({
|
5028
5028
|
__name: "OcBox",
|
5029
5029
|
props: {
|
5030
5030
|
icon: String,
|
@@ -5051,7 +5051,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5051
5051
|
])
|
5052
5052
|
], 2));
|
5053
5053
|
}
|
5054
|
-
}),
|
5054
|
+
}), lf = /* @__PURE__ */ Z({
|
5055
5055
|
__name: "OcAuthenticationOption",
|
5056
5056
|
props: {
|
5057
5057
|
icon: String,
|
@@ -5077,7 +5077,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5077
5077
|
e.chipProps ? (t(), p(o(ne), F({ key: 1 }, e.chipProps, { class: "absolute top-0 -translate-y-1/2 sm:right-9" }), null, 16)) : m("", !0)
|
5078
5078
|
], 2));
|
5079
5079
|
}
|
5080
|
-
}), Ps = { class: "flex items-center" }, Es = { class: "flex flex-1 items-center gap-x-3" }, Ns = { class: "font-medium text-lg" },
|
5080
|
+
}), Ps = { class: "flex items-center" }, Es = { class: "flex flex-1 items-center gap-x-3" }, Ns = { class: "font-medium text-lg" }, af = /* @__PURE__ */ Z({
|
5081
5081
|
__name: "OcVerificationOption",
|
5082
5082
|
props: {
|
5083
5083
|
title: {
|
@@ -5125,7 +5125,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5125
5125
|
}, Rs = { class: "flex flex-col gap-y-3" }, Fs = { class: "font-medium text-oc-text" }, Us = { class: "text-oc-text-400" }, qs = { class: "flex gap-x-3" }, Hs = {
|
5126
5126
|
key: 0,
|
5127
5127
|
class: "text-oc-text"
|
5128
|
-
}, Ys = ["innerHTML"],
|
5128
|
+
}, Ys = ["innerHTML"], nf = {
|
5129
5129
|
__name: "OcSnackbar",
|
5130
5130
|
props: {
|
5131
5131
|
modelValue: {
|
@@ -5390,10 +5390,10 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5390
5390
|
_: 3
|
5391
5391
|
}, 8, ["name"]));
|
5392
5392
|
}
|
5393
|
-
},
|
5393
|
+
}, of = /* @__PURE__ */ be(Xs, [["__scopeId", "data-v-d8517c87"]]), Js = { class: "rounded-full share-icon w-fit cursor-pointer text-oc-text-400 p-3 border border-gray-200" }, Zs = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Qs = {
|
5394
5394
|
key: 1,
|
5395
5395
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
5396
|
-
}, _s = { class: "text-sm" },
|
5396
|
+
}, _s = { class: "text-sm" }, sf = {
|
5397
5397
|
__name: "OcShareIcon",
|
5398
5398
|
props: {
|
5399
5399
|
text: String,
|
@@ -5796,7 +5796,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5796
5796
|
_: 1
|
5797
5797
|
}, 8, ["label", "error-message", "hint"]));
|
5798
5798
|
}
|
5799
|
-
}, fr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" },
|
5799
|
+
}, fr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, rf = {
|
5800
5800
|
__name: "OcCriteria",
|
5801
5801
|
props: {
|
5802
5802
|
modelValue: Boolean,
|
@@ -5828,7 +5828,13 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
5828
5828
|
}, pr = { class: "flex items-center gap-x-1 w-full" }, yr = {
|
5829
5829
|
key: 0,
|
5830
5830
|
class: "text-oc-text-300"
|
5831
|
-
}, xr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"],
|
5831
|
+
}, xr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], hr = {
|
5832
|
+
key: 1,
|
5833
|
+
class: "flex items-center h-full"
|
5834
|
+
}, br = {
|
5835
|
+
key: 0,
|
5836
|
+
class: "border-l border-gray-200 pl-3 py-3 h-full"
|
5837
|
+
}, ye = {
|
5832
5838
|
__name: "OcInput",
|
5833
5839
|
props: {
|
5834
5840
|
disabled: {
|
@@ -6004,14 +6010,10 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6004
6010
|
}), null, 16, xr)
|
6005
6011
|
])
|
6006
6012
|
]),
|
6007
|
-
y.$slots.leading || x.value ? (t(), i("div",
|
6008
|
-
|
6009
|
-
class: v({
|
6010
|
-
"border-l border-gray-200 pl-3 py-3": e.hasLeadingSeparator
|
6011
|
-
})
|
6012
|
-
}, [
|
6013
|
+
y.$slots.leading || x.value ? (t(), i("div", hr, [
|
6014
|
+
e.hasLeadingSeparator ? (t(), i("span", br)) : m("", !0),
|
6013
6015
|
y.$slots.leading ? m("", !0) : (t(), i("span", {
|
6014
|
-
key:
|
6016
|
+
key: 1,
|
6015
6017
|
class: "text-oc-text-200",
|
6016
6018
|
onClick: b[4] || (b[4] = me((D) => d.value = !d.value, ["prevent"]))
|
6017
6019
|
}, [
|
@@ -6023,7 +6025,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6023
6025
|
}, null, 8, ["name"]))
|
6024
6026
|
])),
|
6025
6027
|
k(y.$slots, "leading")
|
6026
|
-
]
|
6028
|
+
])) : m("", !0)
|
6027
6029
|
], 2)
|
6028
6030
|
]),
|
6029
6031
|
_: 2
|
@@ -6037,10 +6039,10 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6037
6039
|
} : void 0
|
6038
6040
|
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6039
6041
|
}
|
6040
|
-
},
|
6042
|
+
}, wr = { class: "flex flex-1 items-baseline gap-x-2" }, $r = {
|
6041
6043
|
key: 0,
|
6042
6044
|
class: "text-oc-text-300"
|
6043
|
-
},
|
6045
|
+
}, kr = { class: "w-full flex flex-wrap gap-2" }, Sr = { key: 1 }, Cr = ["value", "readonly", "placeholder", "disabled"], df = {
|
6044
6046
|
__name: "OcInputOption",
|
6045
6047
|
props: {
|
6046
6048
|
label: String,
|
@@ -6117,8 +6119,8 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6117
6119
|
default: S(() => {
|
6118
6120
|
var C, h;
|
6119
6121
|
return [
|
6120
|
-
n("div",
|
6121
|
-
e.isInlineLabel && e.label ? (t(), i("label",
|
6122
|
+
n("div", wr, [
|
6123
|
+
e.isInlineLabel && e.label ? (t(), i("label", $r, w(e.label) + ": ", 1)) : m("", !0),
|
6122
6124
|
n("div", {
|
6123
6125
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
6124
6126
|
onClick: B[4] || (B[4] = (V) => c.value.focus())
|
@@ -6129,7 +6131,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6129
6131
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
6130
6132
|
}])
|
6131
6133
|
}, [
|
6132
|
-
n("div",
|
6134
|
+
n("div", kr, [
|
6133
6135
|
k(M.$slots, "default", {
|
6134
6136
|
options: y.value,
|
6135
6137
|
areAllOptionsVisible: f.value
|
@@ -6151,7 +6153,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6151
6153
|
name: "minus",
|
6152
6154
|
width: "12",
|
6153
6155
|
height: "12"
|
6154
|
-
})) : (t(), i("span",
|
6156
|
+
})) : (t(), i("span", Sr, w(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
6155
6157
|
]),
|
6156
6158
|
_: 1
|
6157
6159
|
})) : m("", !0)
|
@@ -6170,7 +6172,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6170
6172
|
console.log("$event: ", V), x.value = !1, M.$emit("blur", V);
|
6171
6173
|
}),
|
6172
6174
|
onKeyup: B[3] || (B[3] = Fe((V) => D(V.target.value), ["enter"]))
|
6173
|
-
}, null, 42,
|
6175
|
+
}, null, 42, Cr)
|
6174
6176
|
])
|
6175
6177
|
], 2)
|
6176
6178
|
])
|
@@ -6180,7 +6182,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6180
6182
|
_: 3
|
6181
6183
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6182
6184
|
}
|
6183
|
-
},
|
6185
|
+
}, Vr = { class: "flex gap-x-2 items-center" }, Br = { class: "text-oc-text-400 font-medium text-sm" }, Or = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, Ir = ["onClick"], Tr = { class: "text-oc-text-300" }, Dr = { class: "text-oc-text-400" }, Ar = {
|
6184
6186
|
__name: "OcPhoneInput",
|
6185
6187
|
props: {
|
6186
6188
|
countryCodes: { type: Array, default: () => [] },
|
@@ -6293,7 +6295,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6293
6295
|
ref: M,
|
6294
6296
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
6295
6297
|
}, [
|
6296
|
-
n("div",
|
6298
|
+
n("div", Or, [
|
6297
6299
|
g(o(ye), {
|
6298
6300
|
modelValue: u.value,
|
6299
6301
|
"onUpdate:modelValue": I[0] || (I[0] = (O) => u.value = O),
|
@@ -6327,17 +6329,17 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6327
6329
|
n("div", {
|
6328
6330
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${O.iso.toLowerCase()}`])
|
6329
6331
|
}, null, 2),
|
6330
|
-
n("span",
|
6331
|
-
n("span",
|
6332
|
-
], 10,
|
6332
|
+
n("span", Tr, "+" + w(O.code), 1),
|
6333
|
+
n("span", Dr, w(O.country), 1)
|
6334
|
+
], 10, Ir))), 128))
|
6333
6335
|
], 512)
|
6334
6336
|
]),
|
6335
6337
|
default: S(() => [
|
6336
|
-
n("div",
|
6338
|
+
n("div", Vr, [
|
6337
6339
|
n("div", {
|
6338
6340
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
6339
6341
|
}, null, 2),
|
6340
|
-
n("span",
|
6342
|
+
n("span", Br, " +" + w(y(d.value)), 1),
|
6341
6343
|
g(o(T), {
|
6342
6344
|
width: "16",
|
6343
6345
|
height: "16",
|
@@ -6353,10 +6355,10 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6353
6355
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
6354
6356
|
};
|
6355
6357
|
}
|
6356
|
-
},
|
6358
|
+
}, jr = ["id", "value", "checked", "name", "disabled"], Mr = ["for"], Lr = {
|
6357
6359
|
key: 0,
|
6358
6360
|
class: "px-3 py-2 whitespace-nowrap"
|
6359
|
-
},
|
6361
|
+
}, Pr = {
|
6360
6362
|
__name: "OcRadio",
|
6361
6363
|
props: {
|
6362
6364
|
modelValue: [String, Boolean],
|
@@ -6394,7 +6396,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6394
6396
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
6395
6397
|
type: "radio",
|
6396
6398
|
onInput: a[0] || (a[0] = (l) => r.$emit("update:modelValue", l.target.value))
|
6397
|
-
}, null, 40,
|
6399
|
+
}, null, 40, jr),
|
6398
6400
|
n("label", {
|
6399
6401
|
for: e.groupName + e.id,
|
6400
6402
|
class: v(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
@@ -6426,7 +6428,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6426
6428
|
e.labelIcon ? (t(), p(o(ae), ve(F({ key: 2 }, e.tooltipOptions)), {
|
6427
6429
|
popper: S(() => [
|
6428
6430
|
k(r.$slots, "tooltipText", {}, () => [
|
6429
|
-
e.tooltipText ? (t(), i("div",
|
6431
|
+
e.tooltipText ? (t(), i("div", Lr, w(e.tooltipText), 1)) : m("", !0)
|
6430
6432
|
])
|
6431
6433
|
]),
|
6432
6434
|
default: S(() => [
|
@@ -6439,12 +6441,12 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6439
6441
|
]),
|
6440
6442
|
_: 3
|
6441
6443
|
}, 16)) : m("", !0)
|
6442
|
-
], 10,
|
6444
|
+
], 10, Mr)
|
6443
6445
|
]),
|
6444
6446
|
_: 3
|
6445
6447
|
}, 8, ["class", "error-message", "hint"]));
|
6446
6448
|
}
|
6447
|
-
},
|
6449
|
+
}, Er = {
|
6448
6450
|
__name: "OcRadioGroup",
|
6449
6451
|
props: {
|
6450
6452
|
alignment: {
|
@@ -6481,7 +6483,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6481
6483
|
n("div", {
|
6482
6484
|
class: v(["flex", [l.value[e.alignment], e.wrapperClass]])
|
6483
6485
|
}, [
|
6484
|
-
(t(!0), i(N, null, R(e.radio, (u, f) => (t(), p(o(
|
6486
|
+
(t(!0), i(N, null, R(e.radio, (u, f) => (t(), p(o(Pr), {
|
6485
6487
|
id: u.value,
|
6486
6488
|
key: f,
|
6487
6489
|
class: v({ "!w-fit": !e.isBlock }),
|
@@ -6504,10 +6506,10 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6504
6506
|
_: 1
|
6505
6507
|
}, 8, ["label", "error-message", "hint"]));
|
6506
6508
|
}
|
6507
|
-
},
|
6509
|
+
}, Nr = { class: "flex flex-col gap-y-2 oc-range-input" }, zr = { class: "flex gap-x-3" }, Rr = {
|
6508
6510
|
key: 0,
|
6509
6511
|
class: "flex pt-4"
|
6510
|
-
},
|
6512
|
+
}, Fr = {
|
6511
6513
|
__name: "OcRangeInput",
|
6512
6514
|
props: {
|
6513
6515
|
maxLimit: {
|
@@ -6551,14 +6553,14 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6551
6553
|
};
|
6552
6554
|
return ke(() => {
|
6553
6555
|
a.onlyInput || c.value.updateSlider();
|
6554
|
-
}), (b, D) => (t(), i("div",
|
6556
|
+
}), (b, D) => (t(), i("div", Nr, [
|
6555
6557
|
g(o(xe), {
|
6556
6558
|
label: e.label,
|
6557
6559
|
hint: e.hint,
|
6558
6560
|
"error-message": e.errorMessage
|
6559
6561
|
}, {
|
6560
6562
|
default: S(() => [
|
6561
|
-
n("div",
|
6563
|
+
n("div", zr, [
|
6562
6564
|
g(o(ye), {
|
6563
6565
|
"model-value": s.value,
|
6564
6566
|
label: "From",
|
@@ -6574,7 +6576,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6574
6576
|
"onUpdate:modelValue": D[1] || (D[1] = (M) => u(M, 1))
|
6575
6577
|
}, null, 8, ["model-value"])
|
6576
6578
|
]),
|
6577
|
-
e.onlyInput ? m("", !0) : (t(), i("div",
|
6579
|
+
e.onlyInput ? m("", !0) : (t(), i("div", Rr, [
|
6578
6580
|
g(o(Lt), {
|
6579
6581
|
ref_key: "slider",
|
6580
6582
|
ref: c,
|
@@ -6591,25 +6593,25 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6591
6593
|
}, 8, ["label", "hint", "error-message"])
|
6592
6594
|
]));
|
6593
6595
|
}
|
6594
|
-
},
|
6596
|
+
}, Ur = {
|
6595
6597
|
key: 0,
|
6596
6598
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
6597
|
-
},
|
6599
|
+
}, qr = {
|
6598
6600
|
key: 0,
|
6599
6601
|
class: "text-oc-text-300 md:text-base text-lg"
|
6600
|
-
},
|
6602
|
+
}, Hr = {
|
6601
6603
|
key: 2,
|
6602
6604
|
class: "whitespace-nowrap flex gap-x-3 text-lg md:text-base items-center overflow-hidden"
|
6603
|
-
},
|
6605
|
+
}, Yr = {
|
6604
6606
|
key: 1,
|
6605
6607
|
class: "text-oc-text-300"
|
6606
|
-
},
|
6608
|
+
}, Wr = {
|
6607
6609
|
key: 2,
|
6608
6610
|
class: "truncate"
|
6609
|
-
},
|
6611
|
+
}, Kr = {
|
6610
6612
|
key: 0,
|
6611
6613
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
6612
|
-
},
|
6614
|
+
}, Gr = { key: 0 }, Xr = {
|
6613
6615
|
__name: "OcSelect",
|
6614
6616
|
props: {
|
6615
6617
|
label: String,
|
@@ -6799,7 +6801,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6799
6801
|
"tooltip-options": e.tooltipOptions
|
6800
6802
|
}, te({
|
6801
6803
|
tooltipText: S(() => [
|
6802
|
-
P.$slots.selectTooltipText ? (t(), i("div",
|
6804
|
+
P.$slots.selectTooltipText ? (t(), i("div", Gr, [
|
6803
6805
|
k(P.$slots, "selectTooltipText")
|
6804
6806
|
])) : m("", !0)
|
6805
6807
|
]),
|
@@ -6834,7 +6836,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6834
6836
|
ref: y,
|
6835
6837
|
class: "flex flex-col gap-y-2"
|
6836
6838
|
}, [
|
6837
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && B.value ? (t(), i("div",
|
6839
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && B.value ? (t(), i("div", Kr, [
|
6838
6840
|
g(o(ye), {
|
6839
6841
|
ref_key: "searchInputRef",
|
6840
6842
|
ref: u,
|
@@ -6925,7 +6927,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6925
6927
|
}
|
6926
6928
|
]])
|
6927
6929
|
}, [
|
6928
|
-
e.multiple ? (t(), i("div",
|
6930
|
+
e.multiple ? (t(), i("div", Ur, [
|
6929
6931
|
k(P.$slots, "selection", {}, () => [
|
6930
6932
|
(t(!0), i(N, null, R(e.maxVisibleOptions ? B.value.slice(0, e.maxVisibleOptions) : B.value, (U) => (t(), p(o(ne), F({
|
6931
6933
|
key: U.value,
|
@@ -6942,7 +6944,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6942
6944
|
label: `+${B.value.length - e.maxVisibleOptions}`
|
6943
6945
|
}, null, 8, ["label"])) : m("", !0)
|
6944
6946
|
]),
|
6945
|
-
B.value.length === 0 ? (t(), i("span",
|
6947
|
+
B.value.length === 0 ? (t(), i("span", qr, w(e.placeholder), 1)) : m("", !0)
|
6946
6948
|
])) : m("", !0),
|
6947
6949
|
e.isInlineSearch && e.isFilterable && !B.value ? (t(), p(o(ye), {
|
6948
6950
|
key: 1,
|
@@ -6966,15 +6968,15 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
6966
6968
|
]),
|
6967
6969
|
key: "0"
|
6968
6970
|
} : void 0
|
6969
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), i("span",
|
6971
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), i("span", Hr, [
|
6970
6972
|
e.icon ? (t(), p(o(T), {
|
6971
6973
|
key: 0,
|
6972
6974
|
name: e.icon,
|
6973
6975
|
width: "16",
|
6974
6976
|
height: "16"
|
6975
6977
|
}, null, 8, ["name"])) : m("", !0),
|
6976
|
-
e.isInlineLabel && e.label ? (t(), i("span",
|
6977
|
-
B.value ? (t(), i("span",
|
6978
|
+
e.isInlineLabel && e.label ? (t(), i("span", Yr, w(e.label) + ": ", 1)) : m("", !0),
|
6979
|
+
B.value ? (t(), i("span", Wr, w(B.value.label), 1)) : (t(), i("span", {
|
6978
6980
|
key: 3,
|
6979
6981
|
class: v(e.dropdownClasses ? "" : "text-oc-text-300")
|
6980
6982
|
}, w(e.placeholder), 3))
|
@@ -7011,7 +7013,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7011
7013
|
} : void 0
|
7012
7014
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
7013
7015
|
}
|
7014
|
-
},
|
7016
|
+
}, Jr = { class: "w-full flex items-center gap-x-3" }, Zr = { class: "truncate" }, Qr = {
|
7015
7017
|
key: 0,
|
7016
7018
|
class: "text-sm text-oc-text-300"
|
7017
7019
|
}, gt = {
|
@@ -7049,14 +7051,14 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7049
7051
|
"is-partial": e.isPartial,
|
7050
7052
|
class: "!w-fit pointer-events-none"
|
7051
7053
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
7052
|
-
n("div",
|
7054
|
+
n("div", Jr, [
|
7053
7055
|
k(l.$slots, "trailing"),
|
7054
7056
|
n("div", {
|
7055
7057
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
7056
7058
|
}, [
|
7057
|
-
n("span",
|
7059
|
+
n("span", Zr, w(e.label), 1),
|
7058
7060
|
k(l.$slots, "sub-label", {}, () => [
|
7059
|
-
e.subLabel ? (t(), i("span",
|
7061
|
+
e.subLabel ? (t(), i("span", Qr, w(e.subLabel), 1)) : m("", !0)
|
7060
7062
|
])
|
7061
7063
|
], 2),
|
7062
7064
|
k(l.$slots, "leading")
|
@@ -7076,21 +7078,21 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7076
7078
|
k(l.$slots, "after")
|
7077
7079
|
], 512));
|
7078
7080
|
}
|
7079
|
-
},
|
7081
|
+
}, _r = { class: "flex flex-col" }, ed = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, cf = {
|
7080
7082
|
__name: "OcGroupOptions",
|
7081
7083
|
props: {
|
7082
7084
|
label: String
|
7083
7085
|
},
|
7084
7086
|
setup(e) {
|
7085
|
-
return (r, a) => (t(), i("div",
|
7086
|
-
n("div",
|
7087
|
+
return (r, a) => (t(), i("div", _r, [
|
7088
|
+
n("div", ed, w(e.label), 1),
|
7087
7089
|
k(r.$slots, "default")
|
7088
7090
|
]));
|
7089
7091
|
}
|
7090
|
-
},
|
7092
|
+
}, td = { class: "flex items-center text-oc-text-400 gap-x-2" }, ld = {
|
7091
7093
|
key: 0,
|
7092
7094
|
class: "flex flex-col gap-2 p-2 py-3"
|
7093
|
-
},
|
7095
|
+
}, ad = ["onClick"], nd = {
|
7094
7096
|
__name: "OcLinkInput",
|
7095
7097
|
props: {
|
7096
7098
|
placeholder: String,
|
@@ -7181,7 +7183,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7181
7183
|
distance: 10
|
7182
7184
|
}, {
|
7183
7185
|
menu: S(() => [
|
7184
|
-
e.isEdit ? m("", !0) : (t(), i("div",
|
7186
|
+
e.isEdit ? m("", !0) : (t(), i("div", ld, [
|
7185
7187
|
(t(!0), i(N, null, R(e.links, (I) => (t(), i("div", {
|
7186
7188
|
key: I.value,
|
7187
7189
|
class: "flex items-center px-3 py-2 rounded-sm cursor-pointer gap-x-3 text-oc-text-400 hover:bg-gray-50",
|
@@ -7193,11 +7195,11 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7193
7195
|
name: I.icon
|
7194
7196
|
}, null, 8, ["name"]),
|
7195
7197
|
W(" " + w(I.label), 1)
|
7196
|
-
], 8,
|
7198
|
+
], 8, ad))), 128))
|
7197
7199
|
]))
|
7198
7200
|
]),
|
7199
7201
|
default: S(() => [
|
7200
|
-
n("div",
|
7202
|
+
n("div", td, [
|
7201
7203
|
u.value.icon ? (t(), p(o(T), {
|
7202
7204
|
key: 0,
|
7203
7205
|
width: "20",
|
@@ -7219,7 +7221,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7219
7221
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
7220
7222
|
]));
|
7221
7223
|
}
|
7222
|
-
},
|
7224
|
+
}, id = ["disabled", "value", "rows", "placeholder"], od = "18px", sd = {
|
7223
7225
|
__name: "OcTextArea",
|
7224
7226
|
props: {
|
7225
7227
|
placeholder: String,
|
@@ -7253,7 +7255,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7253
7255
|
setup(e, { emit: r }) {
|
7254
7256
|
const a = r, l = j(!1), s = (d) => {
|
7255
7257
|
const c = d.target;
|
7256
|
-
c && (c.style.height =
|
7258
|
+
c && (c.style.height = od, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
7257
7259
|
};
|
7258
7260
|
return (d, c) => (t(), p(o(xe), {
|
7259
7261
|
label: e.label,
|
@@ -7277,7 +7279,7 @@ const tt = /* @__PURE__ */ be(ls, [["render", ns]]), is = { class: "flex" }, os
|
|
7277
7279
|
onInput: s,
|
7278
7280
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
7279
7281
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
7280
|
-
}, null, 42,
|
7282
|
+
}, null, 42, id)
|
7281
7283
|
]),
|
7282
7284
|
_: 1
|
7283
7285
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
@@ -7300,8 +7302,8 @@ var Vt = { exports: {} };
|
|
7300
7302
|
};
|
7301
7303
|
});
|
7302
7304
|
})(Vt);
|
7303
|
-
var
|
7304
|
-
const Bt = /* @__PURE__ */ We(
|
7305
|
+
var rd = Vt.exports;
|
7306
|
+
const Bt = /* @__PURE__ */ We(rd);
|
7305
7307
|
var Ot = { exports: {} };
|
7306
7308
|
(function(e, r) {
|
7307
7309
|
(function(a, l) {
|
@@ -7314,8 +7316,8 @@ var Ot = { exports: {} };
|
|
7314
7316
|
};
|
7315
7317
|
});
|
7316
7318
|
})(Ot);
|
7317
|
-
var
|
7318
|
-
const It = /* @__PURE__ */ We(
|
7319
|
+
var dd = Ot.exports;
|
7320
|
+
const It = /* @__PURE__ */ We(dd);
|
7319
7321
|
var Tt = { exports: {} };
|
7320
7322
|
(function(e, r) {
|
7321
7323
|
(function(a, l) {
|
@@ -7328,8 +7330,8 @@ var Tt = { exports: {} };
|
|
7328
7330
|
};
|
7329
7331
|
});
|
7330
7332
|
})(Tt);
|
7331
|
-
var
|
7332
|
-
const Dt = /* @__PURE__ */ We(
|
7333
|
+
var cd = Tt.exports;
|
7334
|
+
const Dt = /* @__PURE__ */ We(cd);
|
7333
7335
|
var At = { exports: {} };
|
7334
7336
|
(function(e, r) {
|
7335
7337
|
(function(a, l) {
|
@@ -7451,53 +7453,53 @@ var At = { exports: {} };
|
|
7451
7453
|
};
|
7452
7454
|
});
|
7453
7455
|
})(At);
|
7454
|
-
var
|
7455
|
-
const it = /* @__PURE__ */ We(
|
7456
|
-
var
|
7457
|
-
function
|
7458
|
-
var r =
|
7456
|
+
var ud = At.exports;
|
7457
|
+
const it = /* @__PURE__ */ We(ud);
|
7458
|
+
var md = typeof global == "object" && global && global.Object === Object && global, fd = typeof self == "object" && self && self.Object === Object && self, jt = md || fd || Function("return this")(), qe = jt.Symbol, Mt = Object.prototype, vd = Mt.hasOwnProperty, gd = Mt.toString, Le = qe ? qe.toStringTag : void 0;
|
7459
|
+
function pd(e) {
|
7460
|
+
var r = vd.call(e, Le), a = e[Le];
|
7459
7461
|
try {
|
7460
7462
|
e[Le] = void 0;
|
7461
7463
|
var l = !0;
|
7462
7464
|
} catch {
|
7463
7465
|
}
|
7464
|
-
var s =
|
7466
|
+
var s = gd.call(e);
|
7465
7467
|
return l && (r ? e[Le] = a : delete e[Le]), s;
|
7466
7468
|
}
|
7467
|
-
var
|
7468
|
-
function
|
7469
|
-
return
|
7470
|
-
}
|
7471
|
-
var xd = "[object Null]", hd = "[object Undefined]", pt = qe ? qe.toStringTag : void 0;
|
7472
|
-
function bd(e) {
|
7473
|
-
return e == null ? e === void 0 ? hd : xd : pt && pt in Object(e) ? vd(e) : yd(e);
|
7469
|
+
var yd = Object.prototype, xd = yd.toString;
|
7470
|
+
function hd(e) {
|
7471
|
+
return xd.call(e);
|
7474
7472
|
}
|
7475
|
-
|
7476
|
-
|
7473
|
+
var bd = "[object Null]", wd = "[object Undefined]", pt = qe ? qe.toStringTag : void 0;
|
7474
|
+
function $d(e) {
|
7475
|
+
return e == null ? e === void 0 ? wd : bd : pt && pt in Object(e) ? pd(e) : hd(e);
|
7477
7476
|
}
|
7478
|
-
var $d = "[object Symbol]";
|
7479
7477
|
function kd(e) {
|
7480
|
-
return
|
7478
|
+
return e != null && typeof e == "object";
|
7481
7479
|
}
|
7482
|
-
var Sd =
|
7480
|
+
var Sd = "[object Symbol]";
|
7483
7481
|
function Cd(e) {
|
7484
|
-
|
7482
|
+
return typeof e == "symbol" || kd(e) && $d(e) == Sd;
|
7483
|
+
}
|
7484
|
+
var Vd = /\s/;
|
7485
|
+
function Bd(e) {
|
7486
|
+
for (var r = e.length; r-- && Vd.test(e.charAt(r)); )
|
7485
7487
|
;
|
7486
7488
|
return r;
|
7487
7489
|
}
|
7488
|
-
var
|
7489
|
-
function
|
7490
|
-
return e && e.slice(0,
|
7490
|
+
var Od = /^\s+/;
|
7491
|
+
function Id(e) {
|
7492
|
+
return e && e.slice(0, Bd(e) + 1).replace(Od, "");
|
7491
7493
|
}
|
7492
7494
|
function lt(e) {
|
7493
7495
|
var r = typeof e;
|
7494
7496
|
return e != null && (r == "object" || r == "function");
|
7495
7497
|
}
|
7496
|
-
var yt = NaN,
|
7498
|
+
var yt = NaN, Td = /^[-+]0x[0-9a-f]+$/i, Dd = /^0b[01]+$/i, Ad = /^0o[0-7]+$/i, jd = parseInt;
|
7497
7499
|
function xt(e) {
|
7498
7500
|
if (typeof e == "number")
|
7499
7501
|
return e;
|
7500
|
-
if (
|
7502
|
+
if (Cd(e))
|
7501
7503
|
return yt;
|
7502
7504
|
if (lt(e)) {
|
7503
7505
|
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
@@ -7505,18 +7507,18 @@ function xt(e) {
|
|
7505
7507
|
}
|
7506
7508
|
if (typeof e != "string")
|
7507
7509
|
return e === 0 ? e : +e;
|
7508
|
-
e =
|
7509
|
-
var a =
|
7510
|
-
return a ||
|
7510
|
+
e = Id(e);
|
7511
|
+
var a = Dd.test(e);
|
7512
|
+
return a || Ad.test(e) ? jd(e.slice(2), a ? 2 : 8) : Td.test(e) ? yt : +e;
|
7511
7513
|
}
|
7512
7514
|
var et = function() {
|
7513
7515
|
return jt.Date.now();
|
7514
|
-
},
|
7515
|
-
function
|
7516
|
+
}, Md = "Expected a function", Ld = Math.max, Pd = Math.min;
|
7517
|
+
function Ed(e, r, a) {
|
7516
7518
|
var l, s, d, c, u, f, x = 0, y = !1, b = !1, D = !0;
|
7517
7519
|
if (typeof e != "function")
|
7518
|
-
throw new TypeError(
|
7519
|
-
r = xt(r) || 0, lt(a) && (y = !!a.leading, b = "maxWait" in a, d = b ?
|
7520
|
+
throw new TypeError(Md);
|
7521
|
+
r = xt(r) || 0, lt(a) && (y = !!a.leading, b = "maxWait" in a, d = b ? Ld(xt(a.maxWait) || 0, r) : d, D = "trailing" in a ? !!a.trailing : D);
|
7520
7522
|
function M(E) {
|
7521
7523
|
var P = l, A = s;
|
7522
7524
|
return l = s = void 0, x = E, c = e.apply(A, P), c;
|
@@ -7526,7 +7528,7 @@ function Ld(e, r, a) {
|
|
7526
7528
|
}
|
7527
7529
|
function C(E) {
|
7528
7530
|
var P = E - f, A = E - x, U = r - P;
|
7529
|
-
return b ?
|
7531
|
+
return b ? Pd(U, d - A) : U;
|
7530
7532
|
}
|
7531
7533
|
function h(E) {
|
7532
7534
|
var P = E - f, A = E - x;
|
@@ -7559,13 +7561,13 @@ function Ld(e, r, a) {
|
|
7559
7561
|
}
|
7560
7562
|
return L.cancel = $, L.flush = O, L;
|
7561
7563
|
}
|
7562
|
-
const
|
7564
|
+
const Nd = { class: "flex items-center justify-between" }, zd = { class: "flex flex-col gap-2 p-3" }, Rd = { class: "flex justify-between items-center" }, Fd = { key: 0 }, Ud = { key: 1 }, qd = {
|
7563
7565
|
key: 0,
|
7564
7566
|
class: "grid grid-cols-3 gap-3"
|
7565
|
-
},
|
7567
|
+
}, Hd = ["onClick"], Yd = {
|
7566
7568
|
key: 1,
|
7567
7569
|
class: "grid grid-cols-3 gap-3"
|
7568
|
-
},
|
7570
|
+
}, Wd = ["onClick"], Kd = ["onClick", "onMouseover"], Gd = { key: 0 }, Xd = { class: "flex gap-x-3 justify-end" }, Jd = {
|
7569
7571
|
__name: "OcCalendar",
|
7570
7572
|
props: {
|
7571
7573
|
type: {
|
@@ -7672,7 +7674,7 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7672
7674
|
return;
|
7673
7675
|
}
|
7674
7676
|
c.value = Y, f.value = q, J && Se();
|
7675
|
-
}, Ce =
|
7677
|
+
}, Ce = Ed((q) => {
|
7676
7678
|
D.value && Ve(q, !1);
|
7677
7679
|
}, 50), Q = () => {
|
7678
7680
|
var J, Y, fe;
|
@@ -7687,7 +7689,7 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7687
7689
|
return Q(), (q, J) => (t(), i("div", {
|
7688
7690
|
class: v(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
7689
7691
|
}, [
|
7690
|
-
n("div",
|
7692
|
+
n("div", Nd, [
|
7691
7693
|
g(o(se), {
|
7692
7694
|
modelValue: B.value,
|
7693
7695
|
"onUpdate:modelValue": J[1] || (J[1] = (Y) => B.value = Y),
|
@@ -7698,8 +7700,8 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7698
7700
|
"popper-options": { strategy: "fixed" }
|
7699
7701
|
}, {
|
7700
7702
|
menu: S(() => [
|
7701
|
-
n("div",
|
7702
|
-
n("div",
|
7703
|
+
n("div", zd, [
|
7704
|
+
n("div", Rd, [
|
7703
7705
|
g(o(X), {
|
7704
7706
|
"left-icon": "chevron-left",
|
7705
7707
|
"is-transparent": "",
|
@@ -7709,7 +7711,7 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7709
7711
|
class: "cursor-pointer hover:opacity-50 transition",
|
7710
7712
|
onClick: J[0] || (J[0] = (Y) => M.value = !M.value)
|
7711
7713
|
}, [
|
7712
|
-
M.value ? (t(), i("div",
|
7714
|
+
M.value ? (t(), i("div", Fd, w($.value - 11) + " - " + w($.value), 1)) : (t(), i("div", Ud, w($.value), 1))
|
7713
7715
|
]),
|
7714
7716
|
g(o(X), {
|
7715
7717
|
"left-icon": "chevron-right",
|
@@ -7717,22 +7719,22 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7717
7719
|
onClick: ce
|
7718
7720
|
})
|
7719
7721
|
]),
|
7720
|
-
M.value ? (t(), i("div",
|
7722
|
+
M.value ? (t(), i("div", qd, [
|
7721
7723
|
(t(!0), i(N, null, R(Be($.value - 11), (Y) => (t(), i("div", {
|
7722
7724
|
key: Y,
|
7723
7725
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7724
7726
|
"!border-oc-primary bg-oc-primary text-white": s.value.year() === Y
|
7725
7727
|
}]),
|
7726
7728
|
onClick: (fe) => ee(Y)
|
7727
|
-
}, w(Y), 11,
|
7728
|
-
])) : (t(), i("div",
|
7729
|
+
}, w(Y), 11, Hd))), 128))
|
7730
|
+
])) : (t(), i("div", Yd, [
|
7729
7731
|
(t(), i(N, null, R(V, (Y, fe) => n("div", {
|
7730
7732
|
key: Y,
|
7731
7733
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7732
7734
|
"!border-oc-primary bg-oc-primary text-white": O.value === Y
|
7733
7735
|
}]),
|
7734
7736
|
onClick: (Me) => _(fe)
|
7735
|
-
}, w(Y), 11,
|
7737
|
+
}, w(Y), 11, Wd)), 64))
|
7736
7738
|
]))
|
7737
7739
|
])
|
7738
7740
|
]),
|
@@ -7781,11 +7783,11 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7781
7783
|
]]),
|
7782
7784
|
onClick: (Me) => Ve(Y),
|
7783
7785
|
onMouseover: (Me) => o(Ce)(Y)
|
7784
|
-
}, w(Y), 43,
|
7786
|
+
}, w(Y), 43, Kd);
|
7785
7787
|
}), 128))
|
7786
7788
|
], 32),
|
7787
7789
|
k(q.$slots, "bottom", {}, () => [
|
7788
|
-
e.isIndefinite ? (t(), i("span",
|
7790
|
+
e.isIndefinite ? (t(), i("span", Gd, [
|
7789
7791
|
g(o(Te), {
|
7790
7792
|
modelValue: b.value,
|
7791
7793
|
"onUpdate:modelValue": [
|
@@ -7796,7 +7798,7 @@ const Pd = { class: "flex items-center justify-between" }, Ed = { class: "flex f
|
|
7796
7798
|
}, null, 8, ["modelValue", "label"])
|
7797
7799
|
])) : m("", !0)
|
7798
7800
|
]),
|
7799
|
-
n("div",
|
7801
|
+
n("div", Xd, [
|
7800
7802
|
g(o(X), {
|
7801
7803
|
label: "Reset",
|
7802
7804
|
class: "w-[72px]",
|
@@ -7811,13 +7813,13 @@ G.extend(Bt);
|
|
7811
7813
|
G.extend(It);
|
7812
7814
|
G.extend(Dt);
|
7813
7815
|
G.extend(it);
|
7814
|
-
const
|
7816
|
+
const Zd = { class: "flex flex-col gap-y-2 w-full" }, Qd = {
|
7815
7817
|
key: 0,
|
7816
7818
|
class: "flex w-full"
|
7817
|
-
},
|
7819
|
+
}, _d = {
|
7818
7820
|
key: 1,
|
7819
7821
|
class: "flex flex-wrap cursor-pointer"
|
7820
|
-
},
|
7822
|
+
}, ec = { class: "flex items-center gap-x-3" }, tc = ["value"], lc = { class: "flex items-center gap-x-3" }, ac = ["value"], nc = {
|
7821
7823
|
__name: "DatePicker",
|
7822
7824
|
props: {
|
7823
7825
|
modelValue: {
|
@@ -7952,7 +7954,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
7952
7954
|
}, () => {
|
7953
7955
|
var $, O;
|
7954
7956
|
return [
|
7955
|
-
f.value ? (t(), p(o(
|
7957
|
+
f.value ? (t(), p(o(tm), {
|
7956
7958
|
key: 0,
|
7957
7959
|
"model-value": {
|
7958
7960
|
start: ($ = e.modelValue) == null ? void 0 : $[0],
|
@@ -7966,7 +7968,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
7966
7968
|
"max-date": e.maxDate,
|
7967
7969
|
masks: { modelValue: e.dateFormat },
|
7968
7970
|
"onUpdate:modelValue": y
|
7969
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && I ? (t(), p(o(
|
7971
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && I ? (t(), p(o(Jd), {
|
7970
7972
|
key: 1,
|
7971
7973
|
"model-value": x.value ? x.value.toDate() : /* @__PURE__ */ new Date(),
|
7972
7974
|
"disabled-date": d.value ? D : e.disabledDate,
|
@@ -7983,8 +7985,8 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
7983
7985
|
})
|
7984
7986
|
]),
|
7985
7987
|
default: S(() => [
|
7986
|
-
n("div",
|
7987
|
-
!e.isSplitInput || !f.value ? (t(), i("div",
|
7988
|
+
n("div", Zd, [
|
7989
|
+
!e.isSplitInput || !f.value ? (t(), i("div", Qd, [
|
7988
7990
|
g(o(ye), {
|
7989
7991
|
"model-value": f.value ? e.modelValue && e.modelValue[0] ? `${x.value[0].format(e.dateFormat)} - ${x.value[1].format(e.dateFormat)}` : "" : e.modelValue === "Indefinite" ? "Indefinite" : e.modelValue ? x.value.format(e.dateFormat) : "",
|
7990
7992
|
icon: "calendar",
|
@@ -7995,7 +7997,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
7995
7997
|
disabled: e.disabled,
|
7996
7998
|
placeholder: e.placeholder
|
7997
7999
|
}, null, 8, ["model-value", "label", "hint", "error-message", "is-required", "disabled", "placeholder"])
|
7998
|
-
])) : (t(), i("div",
|
8000
|
+
])) : (t(), i("div", _d, [
|
7999
8001
|
g(o(xe), {
|
8000
8002
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
8001
8003
|
hint: e.hint,
|
@@ -8013,7 +8015,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8013
8015
|
]]),
|
8014
8016
|
onClick: V[2] || (V[2] = (I) => s.value ? I.stopPropagation : null)
|
8015
8017
|
}, [
|
8016
|
-
n("div",
|
8018
|
+
n("div", ec, [
|
8017
8019
|
g(o(T), {
|
8018
8020
|
name: "calendar",
|
8019
8021
|
class: "text-oc-text-400"
|
@@ -8025,10 +8027,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8025
8027
|
onInput: V[0] || (V[0] = (I) => B(I.target.value, 0)),
|
8026
8028
|
onKeydown: Fe(C, ["enter"]),
|
8027
8029
|
onBlur: C
|
8028
|
-
}, null, 40,
|
8030
|
+
}, null, 40, tc)
|
8029
8031
|
]),
|
8030
8032
|
V[4] || (V[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
8031
|
-
n("div",
|
8033
|
+
n("div", lc, [
|
8032
8034
|
n("input", {
|
8033
8035
|
placeholder: "End date",
|
8034
8036
|
value: x.value[1] ? x.value[1].format(e.dateFormat) : "",
|
@@ -8036,7 +8038,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8036
8038
|
onInput: V[1] || (V[1] = (I) => B(I.target.value, 1)),
|
8037
8039
|
onKeydown: Fe(C, ["enter"]),
|
8038
8040
|
onBlur: C
|
8039
|
-
}, null, 40,
|
8041
|
+
}, null, 40, ac),
|
8040
8042
|
g(o(T), {
|
8041
8043
|
class: v([x.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
8042
8044
|
width: "16",
|
@@ -8055,10 +8057,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8055
8057
|
_: 3
|
8056
8058
|
}, 8, ["modelValue", "is-disabled"]));
|
8057
8059
|
}
|
8058
|
-
},
|
8060
|
+
}, ic = { class: "flex flex-wrap w-full" }, oc = {
|
8059
8061
|
key: 0,
|
8060
8062
|
class: "flex items-center w-full mb-2 text-sm font-medium gap-x-3 text-oc-text-400"
|
8061
|
-
},
|
8063
|
+
}, sc = { class: "flex items-center gap-x-1" }, rc = ["min", "max", "value"], dc = ["min", "max", "value"], cc = { class: "absolute bottom-0 left-0" }, uc = { class: "absolute bottom-0 right-0" }, mc = { class: "w-[15%] -mt-4 px-2" }, fc = {
|
8062
8064
|
__name: "OcSlider",
|
8063
8065
|
props: {
|
8064
8066
|
maxLimit: {
|
@@ -8112,9 +8114,9 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8112
8114
|
updateSlider: B
|
8113
8115
|
}), ke(() => B()), (C, h) => {
|
8114
8116
|
var V, I, $, O;
|
8115
|
-
return t(), i("div",
|
8116
|
-
e.label ? (t(), i("label",
|
8117
|
-
n("span",
|
8117
|
+
return t(), i("div", ic, [
|
8118
|
+
e.label ? (t(), i("label", oc, [
|
8119
|
+
n("span", sc, w(e.label), 1)
|
8118
8120
|
])) : m("", !0),
|
8119
8121
|
n("div", {
|
8120
8122
|
class: v(["relative h-[33px] flex items-center", {
|
@@ -8135,7 +8137,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8135
8137
|
max: e.maxLimit,
|
8136
8138
|
value: e.type === "range" ? (V = e.modelValue) == null ? void 0 : V[0] : e.modelValue,
|
8137
8139
|
onInput: y
|
8138
|
-
}, null, 40,
|
8140
|
+
}, null, 40, rc),
|
8139
8141
|
e.type === "range" ? (t(), i("input", {
|
8140
8142
|
key: 0,
|
8141
8143
|
ref_key: "sliderTwo",
|
@@ -8145,7 +8147,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8145
8147
|
max: e.maxLimit,
|
8146
8148
|
value: (I = e.modelValue) == null ? void 0 : I[1],
|
8147
8149
|
onInput: b
|
8148
|
-
}, null, 40,
|
8150
|
+
}, null, 40, dc)) : m("", !0),
|
8149
8151
|
e.variant === "default" ? (t(), i("div", {
|
8150
8152
|
key: 1,
|
8151
8153
|
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]",
|
@@ -8156,18 +8158,18 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8156
8158
|
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]",
|
8157
8159
|
style: oe(`right: ${100 - x.value}%`)
|
8158
8160
|
}, w((O = e.modelValue) == null ? void 0 : O[1]), 5)) : m("", !0),
|
8159
|
-
n("span",
|
8161
|
+
n("span", cc, [
|
8160
8162
|
k(C.$slots, "min-limit-label", {}, () => [
|
8161
8163
|
W(w(e.minLimit), 1)
|
8162
8164
|
], !0)
|
8163
8165
|
]),
|
8164
|
-
n("span",
|
8166
|
+
n("span", uc, [
|
8165
8167
|
k(C.$slots, "max-limit-label", {}, () => [
|
8166
8168
|
W(w(e.maxLimit), 1)
|
8167
8169
|
], !0)
|
8168
8170
|
])
|
8169
8171
|
], 2),
|
8170
|
-
n("div",
|
8172
|
+
n("div", mc, [
|
8171
8173
|
e.variant === "right" && e.type === "default" ? (t(), p(o(ye), {
|
8172
8174
|
key: 0,
|
8173
8175
|
"model-value": e.modelValue,
|
@@ -8179,10 +8181,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8179
8181
|
]);
|
8180
8182
|
};
|
8181
8183
|
}
|
8182
|
-
}, Lt = /* @__PURE__ */ be(
|
8184
|
+
}, Lt = /* @__PURE__ */ be(fc, [["__scopeId", "data-v-90983831"]]), vc = { class: "flex" }, gc = { class: "flex flex-col gap-y-1 flex-1" }, pc = { class: "font-medium gap-x-3 flex items-center" }, yc = { class: "px-2 py-1 text-sm text-oc-text-400" }, xc = {
|
8183
8185
|
key: 1,
|
8184
8186
|
class: "text-sm text-oc-error flex items-center"
|
8185
|
-
},
|
8187
|
+
}, hc = {
|
8186
8188
|
__name: "OcSectionItem",
|
8187
8189
|
props: {
|
8188
8190
|
title: String,
|
@@ -8208,16 +8210,16 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8208
8210
|
emits: ["update:modelValue"],
|
8209
8211
|
setup(e, { emit: r }) {
|
8210
8212
|
const a = e, l = r;
|
8211
|
-
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (s, d) => (t(), i("div",
|
8212
|
-
n("div",
|
8213
|
-
n("div",
|
8213
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (s, d) => (t(), i("div", vc, [
|
8214
|
+
n("div", gc, [
|
8215
|
+
n("div", pc, [
|
8214
8216
|
W(w(e.title) + " ", 1),
|
8215
8217
|
g(o(ae), {
|
8216
8218
|
position: "top",
|
8217
8219
|
distance: 4
|
8218
8220
|
}, {
|
8219
8221
|
popper: S(() => [
|
8220
|
-
n("div",
|
8222
|
+
n("div", yc, w(e.popperMessage), 1)
|
8221
8223
|
]),
|
8222
8224
|
default: S(() => [
|
8223
8225
|
e.icon ? (t(), p(o(T), {
|
@@ -8235,7 +8237,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8235
8237
|
key: 0,
|
8236
8238
|
class: v(["text-oc-text-400 text-sm", e.descriptionClass])
|
8237
8239
|
}, w(e.description), 3)) : m("", !0),
|
8238
|
-
e.errorMessage ? (t(), i("div",
|
8240
|
+
e.errorMessage ? (t(), i("div", xc, w(e.errorMessage), 1)) : m("", !0)
|
8239
8241
|
]),
|
8240
8242
|
k(s.$slots, "actions", {}, () => [
|
8241
8243
|
e.isToggle ? (t(), p(o(wt), F({
|
@@ -8247,13 +8249,13 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8247
8249
|
])
|
8248
8250
|
]));
|
8249
8251
|
}
|
8250
|
-
},
|
8252
|
+
}, bc = {
|
8251
8253
|
key: 0,
|
8252
8254
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
8253
|
-
},
|
8255
|
+
}, wc = ["onClick"], $c = ["src"], kc = {
|
8254
8256
|
key: 0,
|
8255
8257
|
class: "flex text-sm text-oc-text-400 mt-2"
|
8256
|
-
},
|
8258
|
+
}, Sc = {
|
8257
8259
|
__name: "OcSelectOptions",
|
8258
8260
|
props: {
|
8259
8261
|
variant: {
|
@@ -8318,7 +8320,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8318
8320
|
}
|
8319
8321
|
]])
|
8320
8322
|
}, [
|
8321
|
-
e.optionType === "icon" ? (t(), i("div",
|
8323
|
+
e.optionType === "icon" ? (t(), i("div", bc, [
|
8322
8324
|
(t(!0), i(N, null, R(e.options, (f) => (t(), i("div", {
|
8323
8325
|
key: f.value,
|
8324
8326
|
class: v(["p-1", {
|
@@ -8352,7 +8354,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8352
8354
|
"w-[50px]": !d.value
|
8353
8355
|
}]),
|
8354
8356
|
src: f.preview
|
8355
|
-
}, null, 10,
|
8357
|
+
}, null, 10, $c)) : m("", !0),
|
8356
8358
|
n("div", {
|
8357
8359
|
class: v(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
8358
8360
|
}, [
|
@@ -8363,7 +8365,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8363
8365
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
8364
8366
|
}])
|
8365
8367
|
}, w(f.label), 3),
|
8366
|
-
f.description ? (t(), i("div",
|
8368
|
+
f.description ? (t(), i("div", kc, w(f.description), 1)) : m("", !0)
|
8367
8369
|
], 2),
|
8368
8370
|
e.borderless ? (t(), p(o(T), {
|
8369
8371
|
key: 1,
|
@@ -8373,16 +8375,16 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8373
8375
|
class: v(["text-oc-primary", f.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
8374
8376
|
}, null, 8, ["class"])) : m("", !0)
|
8375
8377
|
])
|
8376
|
-
], 10,
|
8378
|
+
], 10, wc))), 128))
|
8377
8379
|
], 2)
|
8378
8380
|
]),
|
8379
8381
|
_: 3
|
8380
8382
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
8381
8383
|
}
|
8382
|
-
},
|
8384
|
+
}, Cc = { class: "flex gap-x-3" }, Vc = {
|
8383
8385
|
key: 0,
|
8384
8386
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8385
|
-
},
|
8387
|
+
}, Bc = ["accept"], Oc = { class: "py-2 flex flex-col" }, Ic = ["src"], Tc = /* @__PURE__ */ Z({
|
8386
8388
|
__name: "OcSingleOnlyImageUpload",
|
8387
8389
|
props: {
|
8388
8390
|
accept: {
|
@@ -8407,12 +8409,12 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8407
8409
|
};
|
8408
8410
|
return (x, y) => {
|
8409
8411
|
var b, D;
|
8410
|
-
return t(), i("div",
|
8412
|
+
return t(), i("div", Cc, [
|
8411
8413
|
(b = e.uploadedImage) != null && b.fileUrl ? m("", !0) : (t(), i("label", {
|
8412
8414
|
key: 0,
|
8413
8415
|
class: v([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
8414
8416
|
}, [
|
8415
|
-
e.showUploadImageArea ? (t(), i("div",
|
8417
|
+
e.showUploadImageArea ? (t(), i("div", Vc, [
|
8416
8418
|
n("div", {
|
8417
8419
|
class: v(["w-full text-oc-text-300 text-sm h-full flex flex-col justify-center items-center transition-all border border-transparent border-dashed group-hover:border-oc-primary rounded-sm cursor-pointer", { "!border-oc-primary": u.value }])
|
8418
8420
|
}, [
|
@@ -8436,7 +8438,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8436
8438
|
onDragover: y[1] || (y[1] = (M) => u.value = !0),
|
8437
8439
|
onDragleave: y[2] || (y[2] = (M) => u.value = !1),
|
8438
8440
|
onDrop: y[3] || (y[3] = (M) => u.value = !1)
|
8439
|
-
}, null, 40,
|
8441
|
+
}, null, 40, Bc)
|
8440
8442
|
], 2)),
|
8441
8443
|
(D = e.uploadedImage) != null && D.fileUrl ? (t(), i("div", {
|
8442
8444
|
key: 1,
|
@@ -8449,7 +8451,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8449
8451
|
class: "absolute top-2 right-2 z-[1010]"
|
8450
8452
|
}, {
|
8451
8453
|
menu: S(() => [
|
8452
|
-
n("div",
|
8454
|
+
n("div", Oc, [
|
8453
8455
|
n("div", {
|
8454
8456
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8455
8457
|
onClick: y[4] || (y[4] = () => {
|
@@ -8490,7 +8492,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8490
8492
|
src: e.uploadedImage.fileUrl,
|
8491
8493
|
alt: "uploaded-image",
|
8492
8494
|
class: "object-contain h-full w-full"
|
8493
|
-
}, null, 8,
|
8495
|
+
}, null, 8, Ic)
|
8494
8496
|
], 2)) : m("", !0),
|
8495
8497
|
(t(), p(Rt, { to: "body" }, [
|
8496
8498
|
d.value ? (t(), p(o(ot), {
|
@@ -8507,13 +8509,13 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8507
8509
|
]);
|
8508
8510
|
};
|
8509
8511
|
}
|
8510
|
-
}),
|
8512
|
+
}), Dc = ["accept"], Ac = {
|
8511
8513
|
key: 0,
|
8512
8514
|
class: "py-2 flex flex-col items-center gap-y-4"
|
8513
|
-
},
|
8515
|
+
}, jc = { class: "flex items-baseline gap-x-3 w-full" }, Mc = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, Lc = ["accept"], Pc = {
|
8514
8516
|
key: 0,
|
8515
8517
|
class: "relative group w-fit rounded overflow-hidden"
|
8516
|
-
},
|
8518
|
+
}, Ec = ["src"], Nc = ["src"], zc = { class: "py-2 flex flex-col" }, Rc = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400" }, Fc = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, Uc = { class: "uppercase text-[8px] font-bold leading-none block" }, qc = { class: "flex" }, Hc = { class: "text-sm text-oc-primary" }, Yc = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, uf = {
|
8517
8519
|
__name: "OcSingleFileUpload",
|
8518
8520
|
props: {
|
8519
8521
|
format: {
|
@@ -8628,7 +8630,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8628
8630
|
default: S(() => {
|
8629
8631
|
var U, H, K, _, ee, ie, ce, ge, we, $e, pe, Se, re, Ve, Ce;
|
8630
8632
|
return [
|
8631
|
-
e.isImageOnly ? (t(), p(
|
8633
|
+
e.isImageOnly ? (t(), p(Tc, {
|
8632
8634
|
key: 0,
|
8633
8635
|
accept: e.accept,
|
8634
8636
|
"uploaded-image": h.value,
|
@@ -8651,7 +8653,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8651
8653
|
type: "file",
|
8652
8654
|
accept: e.accept,
|
8653
8655
|
onChange: A[3] || (A[3] = (Q) => o(M)(Q, a.format === "object"))
|
8654
|
-
}, null, 40,
|
8656
|
+
}, null, 40, Dc)
|
8655
8657
|
], 64)) : (t(), i(N, { key: 2 }, [
|
8656
8658
|
o(D).length ? (t(), i("div", {
|
8657
8659
|
key: 1,
|
@@ -8660,16 +8662,16 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8660
8662
|
"!bg-oc-bg-dark": e.isDisabled
|
8661
8663
|
}])
|
8662
8664
|
}, [
|
8663
|
-
e.isPreview && ((_ = h.value) == null ? void 0 : _.progress) === 100 ? (t(), i("div",
|
8665
|
+
e.isPreview && ((_ = h.value) == null ? void 0 : _.progress) === 100 ? (t(), i("div", Pc, [
|
8664
8666
|
(ie = (ee = h.value) == null ? void 0 : ee.file) != null && ie.type.includes("video") ? (t(), i("video", {
|
8665
8667
|
key: 0,
|
8666
8668
|
autoplay: "",
|
8667
8669
|
loop: "",
|
8668
8670
|
src: C.value
|
8669
|
-
}, null, 8,
|
8671
|
+
}, null, 8, Ec)) : (t(), i("img", {
|
8670
8672
|
key: 1,
|
8671
8673
|
src: (ce = h.value) == null ? void 0 : ce.fileUrl
|
8672
|
-
}, null, 8,
|
8674
|
+
}, null, 8, Nc)),
|
8673
8675
|
g(o(se), {
|
8674
8676
|
modelValue: x.value,
|
8675
8677
|
"onUpdate:modelValue": A[13] || (A[13] = (Q) => x.value = Q),
|
@@ -8678,7 +8680,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8678
8680
|
menu: S(() => {
|
8679
8681
|
var Q, Be;
|
8680
8682
|
return [
|
8681
|
-
n("div",
|
8683
|
+
n("div", zc, [
|
8682
8684
|
!((Be = (Q = h.value) == null ? void 0 : Q.file) != null && Be.type.includes("video")) && e.allowToEdit ? (t(), i("div", {
|
8683
8685
|
key: 0,
|
8684
8686
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
@@ -8726,25 +8728,25 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8726
8728
|
onChangeImage: $
|
8727
8729
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
8728
8730
|
])) : (t(), i(N, { key: 1 }, [
|
8729
|
-
n("div",
|
8730
|
-
n("div",
|
8731
|
+
n("div", Rc, [
|
8732
|
+
n("div", Fc, [
|
8731
8733
|
g(o(T), {
|
8732
8734
|
name: "file-extension",
|
8733
8735
|
width: "14",
|
8734
8736
|
height: "10"
|
8735
8737
|
}),
|
8736
|
-
n("span",
|
8738
|
+
n("span", Uc, w(($e = h.value) == null ? void 0 : $e.extension), 1)
|
8737
8739
|
]),
|
8738
8740
|
n("div", {
|
8739
8741
|
class: v([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8740
8742
|
}, w((pe = h.value) == null ? void 0 : pe.fileName), 3)
|
8741
8743
|
]),
|
8742
|
-
n("div",
|
8744
|
+
n("div", qc, [
|
8743
8745
|
n("div", {
|
8744
8746
|
class: v([((Se = h.value) == null ? void 0 : Se.progress) === 100 ? "opacity-0" : "", "transition-all duration-500 flex flex-col gap-y-1 items-center"])
|
8745
8747
|
}, [
|
8746
|
-
n("span",
|
8747
|
-
n("div",
|
8748
|
+
n("span", Hc, w(((re = h.value) == null ? void 0 : re.progress) || 0) + "% ", 1),
|
8749
|
+
n("div", Yc, [
|
8748
8750
|
n("div", {
|
8749
8751
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
8750
8752
|
style: oe({ width: `${((Ve = h.value) == null ? void 0 : Ve.progress) || 0}%` })
|
@@ -8764,8 +8766,8 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8764
8766
|
]))
|
8765
8767
|
])
|
8766
8768
|
], 64))
|
8767
|
-
], 2)) : (t(), i("div",
|
8768
|
-
n("div",
|
8769
|
+
], 2)) : (t(), i("div", Ac, [
|
8770
|
+
n("div", jc, [
|
8769
8771
|
e.variant === "url" ? (t(), i(N, { key: 0 }, [
|
8770
8772
|
g(o(ye), {
|
8771
8773
|
modelValue: d.value,
|
@@ -8799,7 +8801,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8799
8801
|
onDragover: A[10] || (A[10] = me(() => {
|
8800
8802
|
}, ["prevent"]))
|
8801
8803
|
}, [
|
8802
|
-
n("span",
|
8804
|
+
n("span", Mc, w(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8803
8805
|
g(o(X), {
|
8804
8806
|
size: "small",
|
8805
8807
|
"is-disabled": e.isDisabled,
|
@@ -8816,7 +8818,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8816
8818
|
type: "file",
|
8817
8819
|
accept: e.accept,
|
8818
8820
|
onChange: A[11] || (A[11] = (Q) => o(M)(Q, a.format === "object"))
|
8819
|
-
}, null, 40,
|
8821
|
+
}, null, 40, Lc)
|
8820
8822
|
])
|
8821
8823
|
]))
|
8822
8824
|
], 64))
|
@@ -8825,13 +8827,13 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8825
8827
|
_: 3
|
8826
8828
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
8827
8829
|
}
|
8828
|
-
},
|
8830
|
+
}, Wc = { class: "relative min-h-[100px]" }, Kc = {
|
8829
8831
|
key: 0,
|
8830
8832
|
class: "absolute"
|
8831
|
-
},
|
8833
|
+
}, Gc = { 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" }, Xc = ["accept", "multiple"], Jc = ["onClick"], Zc = { class: "py-2 flex flex-col" }, Qc = ["onClick"], _c = ["onClick"], eu = { class: "z-[1009] hidden group-hover:flex absolute bg-black/30 w-full h-full top-0 left-0 rounded" }, tu = {
|
8832
8834
|
key: 0,
|
8833
8835
|
class: "cursor-pointer m-auto drag-el"
|
8834
|
-
},
|
8836
|
+
}, lu = {
|
8835
8837
|
__name: "OcSimpleMultipleUpload",
|
8836
8838
|
props: {
|
8837
8839
|
accept: {
|
@@ -8898,9 +8900,9 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8898
8900
|
u.value[E] = O[E];
|
8899
8901
|
}), s[$] = !1, d.value = !0;
|
8900
8902
|
};
|
8901
|
-
return ($, O) => (t(), i("div",
|
8902
|
-
V.value ? (t(), i("label",
|
8903
|
-
n("div",
|
8903
|
+
return ($, O) => (t(), i("div", Wc, [
|
8904
|
+
V.value ? (t(), i("label", Kc, [
|
8905
|
+
n("div", Gc, [
|
8904
8906
|
g(o(T), { name: "plus" })
|
8905
8907
|
]),
|
8906
8908
|
D.value ? m("", !0) : (t(), i("input", {
|
@@ -8910,9 +8912,9 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8910
8912
|
accept: e.accept || "image/png, image/jpeg",
|
8911
8913
|
multiple: a.maxImages !== 1,
|
8912
8914
|
onChange: h
|
8913
|
-
}, null, 40,
|
8915
|
+
}, null, 40, Xc))
|
8914
8916
|
])) : m("", !0),
|
8915
|
-
(t(), p(o(
|
8917
|
+
(t(), p(o(lm), {
|
8916
8918
|
key: e.uploadedImages.length,
|
8917
8919
|
"model-value": e.uploadedImages,
|
8918
8920
|
filter: "filtered-el",
|
@@ -8942,7 +8944,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8942
8944
|
removeItem: b,
|
8943
8945
|
fileIndex: P
|
8944
8946
|
}, () => [
|
8945
|
-
n("div",
|
8947
|
+
n("div", Zc, [
|
8946
8948
|
n("div", {
|
8947
8949
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8948
8950
|
onClick: (A) => I(P, E)
|
@@ -8953,7 +8955,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8953
8955
|
name: "pencil"
|
8954
8956
|
}),
|
8955
8957
|
O[4] || (O[4] = n("span", null, "Edit Image", -1))
|
8956
|
-
], 8,
|
8958
|
+
], 8, Qc),
|
8957
8959
|
n("div", {
|
8958
8960
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
8959
8961
|
onClick: () => {
|
@@ -8966,7 +8968,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8966
8968
|
name: "bin"
|
8967
8969
|
}),
|
8968
8970
|
O[5] || (O[5] = n("span", null, "Delete", -1))
|
8969
|
-
], 8,
|
8971
|
+
], 8, _c)
|
8970
8972
|
])
|
8971
8973
|
])
|
8972
8974
|
]),
|
@@ -8990,15 +8992,15 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
8990
8992
|
}, null, 4)
|
8991
8993
|
], 2)
|
8992
8994
|
], 2),
|
8993
|
-
n("div",
|
8994
|
-
a.maxImages !== 1 ? (t(), i("span",
|
8995
|
+
n("div", eu, [
|
8996
|
+
a.maxImages !== 1 ? (t(), i("span", tu, [
|
8995
8997
|
g(o(T), {
|
8996
8998
|
name: "arrows",
|
8997
8999
|
class: "text-oc-accent-1-50"
|
8998
9000
|
})
|
8999
9001
|
])) : m("", !0)
|
9000
9002
|
])
|
9001
|
-
], 14,
|
9003
|
+
], 14, Jc))), 128))
|
9002
9004
|
]),
|
9003
9005
|
_: 3
|
9004
9006
|
}, 8, ["model-value", "style"])),
|
@@ -9015,7 +9017,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9015
9017
|
onChangeImage: B,
|
9016
9018
|
"onUpdate:inputOptions": C
|
9017
9019
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
9018
|
-
g(o(
|
9020
|
+
g(o(Eu), {
|
9019
9021
|
modelValue: x.value,
|
9020
9022
|
"onUpdate:modelValue": O[3] || (O[3] = (L) => x.value = L),
|
9021
9023
|
description: "Do you want to delete this image ?",
|
@@ -9023,16 +9025,16 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9023
9025
|
}, null, 8, ["modelValue"])
|
9024
9026
|
]));
|
9025
9027
|
}
|
9026
|
-
},
|
9028
|
+
}, au = { class: "flex flex-col gap-y-2" }, nu = ["accept"], iu = { class: "input-file-uploaded flex flex-col gap-y-3" }, ou = { class: "flex items-center gap-x-3" }, su = { class: "flex flex-col items-center justify-center text-oc-text-300" }, ru = { class: "uppercase text-[8px] font-bold leading-none block" }, du = { class: "text-oc-text-400 text-sm" }, cu = { class: "w-[100px] h-[6px] bg-oc-accent-1-50 rounded-full overflow-hidden transition-all duration-1000" }, uu = ["accept"], mu = {
|
9027
9029
|
key: 1,
|
9028
9030
|
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"
|
9029
|
-
},
|
9031
|
+
}, fu = { key: 0 }, vu = { key: 1 }, gu = {
|
9030
9032
|
key: 2,
|
9031
9033
|
class: "text-center"
|
9032
|
-
},
|
9034
|
+
}, pu = {
|
9033
9035
|
key: 2,
|
9034
9036
|
class: "mt-3 flex items-center justify-center"
|
9035
|
-
},
|
9037
|
+
}, mf = {
|
9036
9038
|
__name: "OcMultipleUploadFile",
|
9037
9039
|
props: {
|
9038
9040
|
modelValue: {
|
@@ -9112,7 +9114,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9112
9114
|
var B;
|
9113
9115
|
(B = s.value) == null || B.click();
|
9114
9116
|
};
|
9115
|
-
return (B, C) => (t(), i("div",
|
9117
|
+
return (B, C) => (t(), i("div", au, [
|
9116
9118
|
g(o(xe), {
|
9117
9119
|
label: e.label,
|
9118
9120
|
hint: e.hint,
|
@@ -9122,7 +9124,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9122
9124
|
k(B.$slots, "hint")
|
9123
9125
|
]),
|
9124
9126
|
default: S(() => [
|
9125
|
-
e.isImageOnly ? (t(), p(
|
9127
|
+
e.isImageOnly ? (t(), p(lu, {
|
9126
9128
|
key: 0,
|
9127
9129
|
"uploaded-images": o(f),
|
9128
9130
|
"selected-image": e.selectedImage,
|
@@ -9161,7 +9163,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9161
9163
|
multiple: "",
|
9162
9164
|
accept: e.accept,
|
9163
9165
|
onChange: b
|
9164
|
-
}, null, 40,
|
9166
|
+
}, null, 40, nu)
|
9165
9167
|
], 64)) : (t(), i("div", {
|
9166
9168
|
key: 2,
|
9167
9169
|
class: v(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
@@ -9171,27 +9173,27 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9171
9173
|
}
|
9172
9174
|
]])
|
9173
9175
|
}, [
|
9174
|
-
n("div",
|
9176
|
+
n("div", iu, [
|
9175
9177
|
(t(!0), i(N, null, R(o(f), (h, V) => (t(), i("div", {
|
9176
9178
|
key: `${V}-${h.fileName}`,
|
9177
9179
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
9178
9180
|
}, [
|
9179
|
-
n("div",
|
9180
|
-
n("div",
|
9181
|
+
n("div", ou, [
|
9182
|
+
n("div", su, [
|
9181
9183
|
g(o(T), {
|
9182
9184
|
name: "file-extension",
|
9183
9185
|
width: "14",
|
9184
9186
|
height: "10"
|
9185
9187
|
}),
|
9186
|
-
n("span",
|
9188
|
+
n("span", ru, w(h.extension), 1)
|
9187
9189
|
]),
|
9188
|
-
n("span",
|
9190
|
+
n("span", du, w(h == null ? void 0 : h.fileName), 1)
|
9189
9191
|
]),
|
9190
9192
|
c.value ? (t(), i("div", {
|
9191
9193
|
key: 0,
|
9192
9194
|
class: v(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": h.progress === 100 }])
|
9193
9195
|
}, [
|
9194
|
-
n("div",
|
9196
|
+
n("div", cu, [
|
9195
9197
|
n("div", {
|
9196
9198
|
style: oe({ width: `${h.progress}%` }),
|
9197
9199
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
@@ -9233,15 +9235,15 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9233
9235
|
onDragleave: C[6] || (C[6] = (h) => d.value = !1),
|
9234
9236
|
onDrop: C[7] || (C[7] = (h) => d.value = !1),
|
9235
9237
|
onChange: b
|
9236
|
-
}, null, 40,
|
9237
|
-
o(f).length ? e.isDisabled ? m("", !0) : (t(), i("div",
|
9238
|
+
}, null, 40, uu)),
|
9239
|
+
o(f).length ? e.isDisabled ? m("", !0) : (t(), i("div", pu, C[9] || (C[9] = [
|
9238
9240
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
9239
|
-
]))) : (t(), i("div",
|
9241
|
+
]))) : (t(), i("div", mu, [
|
9240
9242
|
g(o(T), {
|
9241
9243
|
name: "upload",
|
9242
9244
|
class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
9243
9245
|
}, null, 8, ["class"]),
|
9244
|
-
e.labelUploadArea ? (t(), i("div",
|
9246
|
+
e.labelUploadArea ? (t(), i("div", fu, w(e.labelUploadArea), 1)) : e.isDisabled ? (t(), i("div", vu, "Upload disabled")) : (t(), i("div", gu, [
|
9245
9247
|
C[8] || (C[8] = n("div", null, "Select documents or drag here", -1)),
|
9246
9248
|
n("div", null, "File max " + w(e.maxSize) + "MB", 1)
|
9247
9249
|
]))
|
@@ -9253,7 +9255,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9253
9255
|
}, 8, ["label", "hint", "error-message"])
|
9254
9256
|
]));
|
9255
9257
|
}
|
9256
|
-
},
|
9258
|
+
}, yu = ["value"], xu = /* @__PURE__ */ Z({
|
9257
9259
|
__name: "OcNumberInput",
|
9258
9260
|
props: {
|
9259
9261
|
modelValue: {
|
@@ -9313,7 +9315,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9313
9315
|
placeholder: "1",
|
9314
9316
|
onKeydown: c,
|
9315
9317
|
onInput: f[0] || (f[0] = (x) => u.$emit("update:modelValue", x.target.value))
|
9316
|
-
}, null, 42,
|
9318
|
+
}, null, 42, yu),
|
9317
9319
|
g(o(X), {
|
9318
9320
|
variant: "secondary",
|
9319
9321
|
class: "w-[28px] shrink-0 aspect-square",
|
@@ -9328,7 +9330,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9328
9330
|
_: 1
|
9329
9331
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
9330
9332
|
}
|
9331
|
-
}),
|
9333
|
+
}), hu = {
|
9332
9334
|
__name: "OcDropdown",
|
9333
9335
|
props: {
|
9334
9336
|
distance: {
|
@@ -9428,7 +9430,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9428
9430
|
[o(nt), f]
|
9429
9431
|
]);
|
9430
9432
|
}
|
9431
|
-
}, se = /* @__PURE__ */ be(
|
9433
|
+
}, se = /* @__PURE__ */ be(hu, [["__scopeId", "data-v-a614b271"]]), bu = { class: "flex items-center gap-x-3 p-3" }, wu = {
|
9432
9434
|
key: 0,
|
9433
9435
|
class: "p-3 text-sm text-oc-text-300"
|
9434
9436
|
}, he = {
|
@@ -9452,7 +9454,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9452
9454
|
return (a, l) => (t(), i("div", {
|
9453
9455
|
class: v(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", r.value[e.variant]])
|
9454
9456
|
}, [
|
9455
|
-
n("div",
|
9457
|
+
n("div", bu, [
|
9456
9458
|
e.icon ? (t(), p(o(T), F({
|
9457
9459
|
key: 0,
|
9458
9460
|
class: "w-5 h-5",
|
@@ -9461,16 +9463,16 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9461
9463
|
n("span", null, w(e.text), 1),
|
9462
9464
|
k(a.$slots, "badge")
|
9463
9465
|
]),
|
9464
|
-
e.subText ? (t(), i("div",
|
9466
|
+
e.subText ? (t(), i("div", wu, [
|
9465
9467
|
n("span", null, w(e.subText), 1)
|
9466
9468
|
])) : m("", !0)
|
9467
9469
|
], 2));
|
9468
9470
|
}
|
9469
|
-
},
|
9471
|
+
}, $u = { class: "oc-tooltip-wrapper" }, ku = {
|
9470
9472
|
key: 0,
|
9471
9473
|
class: "oc-arrow",
|
9472
9474
|
"data-popper-arrow": ""
|
9473
|
-
},
|
9475
|
+
}, Su = {
|
9474
9476
|
__name: "OcTooltip",
|
9475
9477
|
props: {
|
9476
9478
|
popperClass: {
|
@@ -9545,7 +9547,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9545
9547
|
const f = () => {
|
9546
9548
|
a.value && u();
|
9547
9549
|
};
|
9548
|
-
return (x, y) => Oe((t(), i("span",
|
9550
|
+
return (x, y) => Oe((t(), i("span", $u, [
|
9549
9551
|
g(o(bt), {
|
9550
9552
|
ref_key: "popper",
|
9551
9553
|
ref: d,
|
@@ -9564,7 +9566,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9564
9566
|
class: v(["oc-tooltip", e.popperClass])
|
9565
9567
|
}, [
|
9566
9568
|
k(x.$slots, "popper", {}, void 0, !0),
|
9567
|
-
e.arrowHidden ? m("", !0) : (t(), i("div",
|
9569
|
+
e.arrowHidden ? m("", !0) : (t(), i("div", ku))
|
9568
9570
|
], 2), [
|
9569
9571
|
[Ee, a.value]
|
9570
9572
|
])
|
@@ -9587,14 +9589,14 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9587
9589
|
[o(nt), f]
|
9588
9590
|
]);
|
9589
9591
|
}
|
9590
|
-
}, ae = /* @__PURE__ */ be(
|
9592
|
+
}, ae = /* @__PURE__ */ be(Su, [["__scopeId", "data-v-a902efc5"]]), Cu = {
|
9591
9593
|
key: 0,
|
9592
9594
|
id: "modal-overlay-wrapper",
|
9593
9595
|
class: "fixed w-screen z-[1008] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9594
|
-
},
|
9596
|
+
}, Vu = { class: "flex flex-col gap-y-1 overflow-hidden" }, Bu = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, Ou = {
|
9595
9597
|
key: 0,
|
9596
9598
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
9597
|
-
},
|
9599
|
+
}, Iu = ["id"], Tu = {
|
9598
9600
|
__name: "OcModal",
|
9599
9601
|
props: {
|
9600
9602
|
isBorderless: Boolean,
|
@@ -9691,7 +9693,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9691
9693
|
), Ft(() => {
|
9692
9694
|
var y;
|
9693
9695
|
(y = f.value) == null || y.removeEventListener("scroll", x);
|
9694
|
-
}), (y, b) => e.modelValue ? (t(), i("div",
|
9696
|
+
}), (y, b) => e.modelValue ? (t(), i("div", Cu, [
|
9695
9697
|
n("div", {
|
9696
9698
|
class: "w-full h-full absolute top-0 left-0 z-[1008]",
|
9697
9699
|
onClick: d
|
@@ -9704,10 +9706,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9704
9706
|
class: v(["flex bg-inherit border-oc-gray-200 gap-x-9 justify-between p-5 items-start rounded-t-xl", e.isBorderless ? "" : "border-b"])
|
9705
9707
|
}, [
|
9706
9708
|
k(y.$slots, "header", {}, () => [
|
9707
|
-
n("div",
|
9708
|
-
n("span",
|
9709
|
+
n("div", Vu, [
|
9710
|
+
n("span", Bu, w(e.title), 1),
|
9709
9711
|
k(y.$slots, "description", {}, () => [
|
9710
|
-
e.description ? (t(), i("span",
|
9712
|
+
e.description ? (t(), i("span", Ou, w(e.description), 1)) : m("", !0)
|
9711
9713
|
])
|
9712
9714
|
]),
|
9713
9715
|
e.isCloseIcon ? (t(), i("div", {
|
@@ -9731,7 +9733,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9731
9733
|
onScroll: b[1] || (b[1] = (D) => l("content-scroll", D))
|
9732
9734
|
}, [
|
9733
9735
|
k(y.$slots, "default")
|
9734
|
-
], 42,
|
9736
|
+
], 42, Iu),
|
9735
9737
|
e.isFooterVisible ? (t(), i("div", {
|
9736
9738
|
key: 1,
|
9737
9739
|
class: v(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
@@ -9758,10 +9760,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9758
9760
|
], 2)
|
9759
9761
|
])) : m("", !0);
|
9760
9762
|
}
|
9761
|
-
},
|
9763
|
+
}, Du = {
|
9762
9764
|
key: 0,
|
9763
9765
|
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"
|
9764
|
-
},
|
9766
|
+
}, Au = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, ju = { class: "modal-body p-9" }, ff = {
|
9765
9767
|
__name: "OcModalPage",
|
9766
9768
|
props: {
|
9767
9769
|
modelValue: {
|
@@ -9792,8 +9794,8 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9792
9794
|
emits: ["update:modelValue", "back", "click:outside"],
|
9793
9795
|
setup(e, { emit: r }) {
|
9794
9796
|
const a = r;
|
9795
|
-
return (l, s) => e.modelValue ? (t(), i("div",
|
9796
|
-
n("div",
|
9797
|
+
return (l, s) => e.modelValue ? (t(), i("div", Du, [
|
9798
|
+
n("div", Au, [
|
9797
9799
|
k(l.$slots, "top"),
|
9798
9800
|
n("div", {
|
9799
9801
|
class: v(["relative z-[1008] shadow-normal max-w-[1440px] bg-[linear-gradient(180deg,_rgba(229,_238,_255,_0.5)_0%,_rgba(229,_238,_255,_0)_77.75%)] rounded-xl flex flex-col overflow-y-auto mx-auto", e.contentClass])
|
@@ -9821,14 +9823,14 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9821
9823
|
}),
|
9822
9824
|
s[2] || (s[2] = n("span", null, "Close", -1))
|
9823
9825
|
]),
|
9824
|
-
n("div",
|
9826
|
+
n("div", ju, [
|
9825
9827
|
k(l.$slots, "default")
|
9826
9828
|
])
|
9827
9829
|
], 2)
|
9828
9830
|
])
|
9829
9831
|
])) : m("", !0);
|
9830
9832
|
}
|
9831
|
-
},
|
9833
|
+
}, Mu = { class: "text-center" }, Lu = ["innerHTML"], Pu = {
|
9832
9834
|
__name: "OcConfirmation",
|
9833
9835
|
props: {
|
9834
9836
|
description: String,
|
@@ -9867,14 +9869,14 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9867
9869
|
name: e.icon ?? r[e.variant]
|
9868
9870
|
}, null, 8, ["name"])
|
9869
9871
|
], 2)),
|
9870
|
-
n("div",
|
9872
|
+
n("div", Mu, [
|
9871
9873
|
k(l.$slots, "description", {}, () => [
|
9872
|
-
n("span", { innerHTML: e.description }, null, 8,
|
9874
|
+
n("span", { innerHTML: e.description }, null, 8, Lu)
|
9873
9875
|
])
|
9874
9876
|
])
|
9875
9877
|
], 2));
|
9876
9878
|
}
|
9877
|
-
},
|
9879
|
+
}, Eu = {
|
9878
9880
|
__name: "OcConfirmationModal",
|
9879
9881
|
props: {
|
9880
9882
|
modelValue: {
|
@@ -9947,7 +9949,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9947
9949
|
})), c = (u) => {
|
9948
9950
|
l("update:model-value", u), l("cancel");
|
9949
9951
|
};
|
9950
|
-
return (u, f) => (t(), p(o(
|
9952
|
+
return (u, f) => (t(), p(o(Tu), {
|
9951
9953
|
size: "small",
|
9952
9954
|
"model-value": e.modelValue,
|
9953
9955
|
title: e.title,
|
@@ -9970,7 +9972,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9970
9972
|
onCancel: f[1] || (f[1] = (x) => u.$emit("cancel"))
|
9971
9973
|
}, {
|
9972
9974
|
default: S(() => [
|
9973
|
-
g(
|
9975
|
+
g(Pu, {
|
9974
9976
|
"icon-class": e.iconClass,
|
9975
9977
|
variant: e.variant,
|
9976
9978
|
description: e.description,
|
@@ -9990,10 +9992,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
9990
9992
|
_: 3
|
9991
9993
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
9992
9994
|
}
|
9993
|
-
},
|
9995
|
+
}, Nu = { class: "fixed bottom-[30px] right-[32px]" }, zu = { class: "relative" }, Ru = {
|
9994
9996
|
key: 0,
|
9995
9997
|
class: "flex items-center justify-end"
|
9996
|
-
},
|
9998
|
+
}, Fu = { class: "w-[40px] flex text-white items-center bg-oc-text active:bg-oc-gray-800 justify-center aspect-square rounded-full cursor-pointer" }, Uu = { class: "min-w-[180px]" }, qu = { class: "p-3" }, Hu = { class: "uppercase text-oc-text-400 text-xs font-medium" }, vf = /* @__PURE__ */ Z({
|
9997
9999
|
__name: "OcSupportMenu",
|
9998
10000
|
props: {
|
9999
10001
|
modelValue: {
|
@@ -10031,7 +10033,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10031
10033
|
const r = {
|
10032
10034
|
arrowHidden: !0
|
10033
10035
|
};
|
10034
|
-
return (a, l) => (t(), i("div",
|
10036
|
+
return (a, l) => (t(), i("div", Nu, [
|
10035
10037
|
g(o(se), {
|
10036
10038
|
"model-value": e.modelValue,
|
10037
10039
|
"popper-options": r,
|
@@ -10040,10 +10042,10 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10040
10042
|
"onUpdate:modelValue": l[0] || (l[0] = (s) => a.$emit("update:modelValue", s))
|
10041
10043
|
}, {
|
10042
10044
|
menu: S(() => [
|
10043
|
-
n("div",
|
10045
|
+
n("div", Uu, [
|
10044
10046
|
(t(!0), i(N, null, R(e.topMenu, (s, d) => (t(), i(N, { key: d }, [
|
10045
|
-
n("div",
|
10046
|
-
n("span",
|
10047
|
+
n("div", qu, [
|
10048
|
+
n("span", Hu, w(s.title), 1)
|
10047
10049
|
]),
|
10048
10050
|
(t(!0), i(N, null, R(s.items, (c, u) => (t(), p(o(he), F({
|
10049
10051
|
key: u,
|
@@ -10084,11 +10086,11 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10084
10086
|
])
|
10085
10087
|
]),
|
10086
10088
|
default: S(() => [
|
10087
|
-
n("div",
|
10088
|
-
e.isPointed ? (t(), i("div",
|
10089
|
+
n("div", zu, [
|
10090
|
+
e.isPointed ? (t(), i("div", Ru, l[1] || (l[1] = [
|
10089
10091
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
10090
10092
|
]))) : m("", !0),
|
10091
|
-
n("div",
|
10093
|
+
n("div", Fu, [
|
10092
10094
|
g(o(T), {
|
10093
10095
|
name: "question",
|
10094
10096
|
width: "33",
|
@@ -10101,7 +10103,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10101
10103
|
}, 8, ["model-value"])
|
10102
10104
|
]));
|
10103
10105
|
}
|
10104
|
-
}),
|
10106
|
+
}), Yu = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, je = /* @__PURE__ */ Z({
|
10105
10107
|
__name: "OcCopyTooltip",
|
10106
10108
|
props: {
|
10107
10109
|
value: [String, Blob],
|
@@ -10131,7 +10133,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10131
10133
|
distance: 20
|
10132
10134
|
}, e.tooltipOptions), {
|
10133
10135
|
popper: S(() => [
|
10134
|
-
n("div",
|
10136
|
+
n("div", Yu, w(e.tooltipText), 1)
|
10135
10137
|
]),
|
10136
10138
|
default: S(({ isShow: s }) => [
|
10137
10139
|
n("div", {
|
@@ -10150,7 +10152,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10150
10152
|
_: 3
|
10151
10153
|
}, 16));
|
10152
10154
|
}
|
10153
|
-
}),
|
10155
|
+
}), Wu = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, Ku = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, Gu = { class: "flex flex-col gap-y-7 p-5" }, Xu = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, Ju = ["src"], Zu = { class: "flex text-center flex-col gap-y-3" }, Qu = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, _u = { class: "text-oc-text-400" }, em = { class: "py-6 px-5 flex items-center justify-center" }, gf = /* @__PURE__ */ Z({
|
10154
10156
|
__name: "OcWhiteList",
|
10155
10157
|
props: {
|
10156
10158
|
buttonProps: {
|
@@ -10166,28 +10168,28 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10166
10168
|
description: String
|
10167
10169
|
},
|
10168
10170
|
setup(e) {
|
10169
|
-
return (r, a) => (t(), i("div",
|
10171
|
+
return (r, a) => (t(), i("div", Wu, [
|
10170
10172
|
a[0] || (a[0] = n("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
|
10171
|
-
n("div",
|
10172
|
-
n("div",
|
10173
|
+
n("div", Ku, [
|
10174
|
+
n("div", Gu, [
|
10173
10175
|
k(r.$slots, "logo", {}, () => [
|
10174
|
-
n("div",
|
10176
|
+
n("div", Xu, [
|
10175
10177
|
n("img", {
|
10176
10178
|
src: e.imagePath,
|
10177
10179
|
alt: "logo"
|
10178
|
-
}, null, 8,
|
10180
|
+
}, null, 8, Ju)
|
10179
10181
|
])
|
10180
10182
|
]),
|
10181
|
-
n("div",
|
10182
|
-
n("div",
|
10183
|
+
n("div", Zu, [
|
10184
|
+
n("div", Qu, [
|
10183
10185
|
W(w(e.title) + " ", 1),
|
10184
10186
|
e.tagOptions ? (t(), p(o(Ht), ve(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
10185
10187
|
]),
|
10186
|
-
n("span",
|
10188
|
+
n("span", _u, w(e.description), 1)
|
10187
10189
|
]),
|
10188
10190
|
k(r.$slots, "bottom")
|
10189
10191
|
]),
|
10190
|
-
n("div",
|
10192
|
+
n("div", em, [
|
10191
10193
|
k(r.$slots, "footer", {}, () => [
|
10192
10194
|
g(o(X), F({
|
10193
10195
|
label: "Request Access",
|
@@ -10198,7 +10200,7 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10198
10200
|
])
|
10199
10201
|
]));
|
10200
10202
|
}
|
10201
|
-
}),
|
10203
|
+
}), pf = {
|
10202
10204
|
__name: "OcFormBuilder",
|
10203
10205
|
props: {
|
10204
10206
|
id: {
|
@@ -10244,20 +10246,20 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10244
10246
|
CardInput: cr,
|
10245
10247
|
CheckboxesGroup: mr,
|
10246
10248
|
Input: ye,
|
10247
|
-
NumberInput:
|
10248
|
-
LinkInput:
|
10249
|
-
Select:
|
10250
|
-
TextArea:
|
10249
|
+
NumberInput: xu,
|
10250
|
+
LinkInput: nd,
|
10251
|
+
Select: Xr,
|
10252
|
+
TextArea: sd,
|
10251
10253
|
Toggle: wt,
|
10252
|
-
RadioGroup:
|
10253
|
-
TimePicker:
|
10254
|
-
DatePicker:
|
10254
|
+
RadioGroup: Er,
|
10255
|
+
TimePicker: am,
|
10256
|
+
DatePicker: nc,
|
10255
10257
|
Checkbox: Te,
|
10256
10258
|
Slider: Lt,
|
10257
|
-
RangeInput:
|
10258
|
-
PhoneInput:
|
10259
|
-
SectionItem:
|
10260
|
-
SelectOptions:
|
10259
|
+
RangeInput: Fr,
|
10260
|
+
PhoneInput: Ar,
|
10261
|
+
SectionItem: hc,
|
10262
|
+
SelectOptions: Sc
|
10261
10263
|
}, c = ($) => d[$] ? d[$] : null, u = z(() => {
|
10262
10264
|
const $ = (L) => L.split(`
|
10263
10265
|
`).map((E) => E.trim()).filter(Boolean).map((E) => `"${E}"`).join(" "), O = {};
|
@@ -10372,32 +10374,32 @@ const Xd = { class: "flex flex-col gap-y-2 w-full" }, Jd = {
|
|
10372
10374
|
}), 128))
|
10373
10375
|
], 6)) : m("", !0);
|
10374
10376
|
}
|
10375
|
-
},
|
10376
|
-
() => import("./OcComplexCalendar-
|
10377
|
-
),
|
10378
|
-
() => import("./OcComplexDatePicker-
|
10379
|
-
), ot = de(() => import("./OcModalCropper-
|
10380
|
-
() => import("./ThumbnailTheme-
|
10381
|
-
),
|
10382
|
-
() => import("./ThumbnailSection-
|
10383
|
-
),
|
10384
|
-
() => import("./OcAccountSetupProgress-
|
10377
|
+
}, yf = de(() => import("./OcDataTable-CLTLwpzB.js")), xf = de(() => import("./OcFilterSearch-us34Xf3F.js")), hf = de(() => import("./OcFilterSearchFor-RccrGSpG.js")), bf = de(() => import("./OcFilterForm-Dcze7x6x.js")), tm = de(
|
10378
|
+
() => import("./OcComplexCalendar-Dtm84iob.js")
|
10379
|
+
), wf = de(
|
10380
|
+
() => import("./OcComplexDatePicker-UwBiINWF.js")
|
10381
|
+
), ot = de(() => import("./OcModalCropper-DogaW3Pf.js")), $f = de(() => import("./OcCropper-CpbwLT0e.js")), lm = de(() => import("./OcDraggable-CA_BCbpl.js")), kf = de(() => import("./OcDraggableList-AzYIrDsM.js")), Sf = de(() => import("./OcEmojiPicker-BfXAsZzh.js")), Cf = de(
|
10382
|
+
() => import("./ThumbnailTheme-3AhZ-r_a.js")
|
10383
|
+
), Vf = de(
|
10384
|
+
() => import("./ThumbnailSection-CKnTibRp.js")
|
10385
|
+
), Bf = de(() => import("./SubPlanCard-P1SsLvzl.js")), Of = de(() => import("./OcTimePopup-CXGhaOev.js")), am = de(() => import("./OcTimePicker-SSNb2Nxh.js")), If = de(
|
10386
|
+
() => import("./OcAccountSetupProgress-Dr_0hJll.js")
|
10385
10387
|
);
|
10386
10388
|
export {
|
10387
|
-
|
10388
|
-
|
10389
|
+
Pm as $,
|
10390
|
+
Im as A,
|
10389
10391
|
X as B,
|
10390
10392
|
St as C,
|
10391
10393
|
yn as D,
|
10392
|
-
|
10394
|
+
Am as E,
|
10393
10395
|
wl as F,
|
10394
10396
|
kt as G,
|
10395
10397
|
Ue as H,
|
10396
|
-
|
10398
|
+
Bm as I,
|
10397
10399
|
ct as J,
|
10398
10400
|
ut as K,
|
10399
|
-
|
10400
|
-
|
10401
|
+
Cm as L,
|
10402
|
+
Vm as M,
|
10401
10403
|
rt as N,
|
10402
10404
|
Re as O,
|
10403
10405
|
dt as P,
|
@@ -10405,96 +10407,96 @@ export {
|
|
10405
10407
|
Pe as R,
|
10406
10408
|
Lt as S,
|
10407
10409
|
fl as T,
|
10408
|
-
|
10409
|
-
|
10410
|
-
|
10411
|
-
|
10410
|
+
Om as U,
|
10411
|
+
jm as V,
|
10412
|
+
Mm as W,
|
10413
|
+
Em as X,
|
10412
10414
|
Jn as Y,
|
10413
|
-
|
10415
|
+
Lm as Z,
|
10414
10416
|
xe as _,
|
10415
10417
|
cr as a,
|
10416
|
-
|
10418
|
+
Nm as a0,
|
10417
10419
|
ei as a1,
|
10418
|
-
|
10420
|
+
Qm as a2,
|
10419
10421
|
Ho as a3,
|
10420
|
-
|
10421
|
-
|
10422
|
-
|
10423
|
-
|
10424
|
-
|
10425
|
-
|
10426
|
-
|
10427
|
-
|
10428
|
-
|
10422
|
+
lf as a4,
|
10423
|
+
tf as a5,
|
10424
|
+
Zm as a6,
|
10425
|
+
_m as a7,
|
10426
|
+
zm as a8,
|
10427
|
+
Rm as a9,
|
10428
|
+
Tu as aA,
|
10429
|
+
ff as aB,
|
10430
|
+
vf as aC,
|
10429
10431
|
ae as aD,
|
10430
|
-
|
10432
|
+
gf as aE,
|
10431
10433
|
it as aF,
|
10432
|
-
|
10433
|
-
|
10434
|
-
|
10435
|
-
|
10436
|
-
|
10437
|
-
|
10438
|
-
|
10439
|
-
|
10434
|
+
tm as aG,
|
10435
|
+
lm as aH,
|
10436
|
+
Of as aI,
|
10437
|
+
xf as aJ,
|
10438
|
+
bf as aK,
|
10439
|
+
hf as aL,
|
10440
|
+
yf as aM,
|
10441
|
+
wf as aN,
|
10440
10442
|
ot as aO,
|
10441
|
-
|
10442
|
-
|
10443
|
-
|
10444
|
-
|
10445
|
-
|
10446
|
-
|
10447
|
-
|
10448
|
-
|
10449
|
-
|
10450
|
-
|
10451
|
-
|
10452
|
-
|
10453
|
-
|
10443
|
+
$f as aP,
|
10444
|
+
kf as aQ,
|
10445
|
+
Sf as aR,
|
10446
|
+
Cf as aS,
|
10447
|
+
Vf as aT,
|
10448
|
+
Bf as aU,
|
10449
|
+
am as aV,
|
10450
|
+
If as aW,
|
10451
|
+
Fm as aa,
|
10452
|
+
Um as ab,
|
10453
|
+
qm as ac,
|
10454
|
+
Hm as ad,
|
10455
|
+
Ym as ae,
|
10454
10456
|
Yi as af,
|
10455
10457
|
zi as ag,
|
10456
|
-
|
10457
|
-
|
10458
|
-
|
10459
|
-
|
10458
|
+
ef as ah,
|
10459
|
+
Wm as ai,
|
10460
|
+
Km as aj,
|
10461
|
+
Gm as ak,
|
10460
10462
|
go as al,
|
10461
10463
|
bo as am,
|
10462
10464
|
ko as an,
|
10463
10465
|
Bo as ao,
|
10464
|
-
|
10465
|
-
|
10466
|
-
|
10467
|
-
|
10466
|
+
Xm as ap,
|
10467
|
+
Jm as aq,
|
10468
|
+
af as ar,
|
10469
|
+
of as as,
|
10468
10470
|
ne as at,
|
10469
|
-
|
10470
|
-
|
10471
|
-
|
10471
|
+
sf as au,
|
10472
|
+
nf as av,
|
10473
|
+
Eu as aw,
|
10472
10474
|
je as ax,
|
10473
10475
|
se as ay,
|
10474
10476
|
he as az,
|
10475
10477
|
Te as b,
|
10476
10478
|
mr as c,
|
10477
|
-
|
10479
|
+
rf as d,
|
10478
10480
|
ye as e,
|
10479
|
-
|
10480
|
-
|
10481
|
-
|
10482
|
-
|
10483
|
-
|
10484
|
-
|
10481
|
+
df as f,
|
10482
|
+
Ar as g,
|
10483
|
+
Pr as h,
|
10484
|
+
Er as i,
|
10485
|
+
Fr as j,
|
10486
|
+
Xr as k,
|
10485
10487
|
gt as l,
|
10486
|
-
|
10487
|
-
|
10488
|
-
|
10489
|
-
|
10490
|
-
|
10491
|
-
|
10492
|
-
|
10493
|
-
|
10494
|
-
|
10495
|
-
|
10496
|
-
|
10497
|
-
|
10498
|
-
|
10488
|
+
cf as m,
|
10489
|
+
nd as n,
|
10490
|
+
sd as o,
|
10491
|
+
Jd as p,
|
10492
|
+
nc as q,
|
10493
|
+
hc as r,
|
10494
|
+
Sc as s,
|
10495
|
+
uf as t,
|
10496
|
+
mf as u,
|
10497
|
+
xu as v,
|
10498
|
+
pf as w,
|
10499
|
+
Dm as x,
|
10500
|
+
Tm as y,
|
10499
10501
|
De as z
|
10500
10502
|
};
|