@orchidui/core 1.6.1-10 → 1.6.1-11
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/TextArea/OcTextArea.js +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcAccountSetupProgress-Db6SQ313.js → OcAccountSetupProgress-D4wA4hdf.js} +1 -1
- package/dist/{OcComplexCalendar-BUsbklnk.js → OcComplexCalendar-CVFr9X5w.js} +1 -1
- package/dist/{OcComplexDatePicker-Bs895mJE.js → OcComplexDatePicker-DMt5okt4.js} +1 -1
- package/dist/{OcCropper-B9oDQ3Bt.js → OcCropper-DA1hyR4g.js} +1 -1
- package/dist/{OcDataTable-BEYmbV16.js → OcDataTable-Cmh4tRy4.js} +1 -1
- package/dist/{OcDraggableList-DNVemWJ3.js → OcDraggableList-DB_FOX4q.js} +1 -1
- package/dist/{OcEmojiPicker-Dw1PV5i6.js → OcEmojiPicker-FacYV1QS.js} +1 -1
- package/dist/{OcFilterForm-3lPmgt5L.js → OcFilterForm-B4-trZUg.js} +1 -1
- package/dist/{OcFilterSearch-CdXFv2WP.js → OcFilterSearch-DUCiks5c.js} +1 -1
- package/dist/{OcFilterSearchFor-BSZHLc3D.js → OcFilterSearchFor-Buz_tMZP.js} +1 -1
- package/dist/{OcModalCropper-BEB4LOei.js → OcModalCropper-BTWCNIhX.js} +2 -2
- package/dist/{OcTimePicker-BKSFEzOJ.js → OcTimePicker-DODArB9H.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-Bmt0x1YM.js → SubPlanCard-GQbtAHzH.js} +1 -1
- package/dist/{ThumbnailSection-OuXCMEm4.js → ThumbnailSection-Bz40um4b.js} +1 -1
- package/dist/{ThumbnailTheme-D3I9wiez.js → ThumbnailTheme-BNE0T_SW.js} +1 -1
- package/dist/{index-DE4tIY87.js → index-BEH4OtRf.js} +689 -689
- package/dist/index.js +1 -1
- package/package.json +1 -1
@@ -22,7 +22,7 @@ import "./OcTheme-CWgrJh5Q.js";
|
|
22
22
|
const Kt = {
|
23
23
|
key: 0,
|
24
24
|
class: "flex relative group/row md:p-0 py-3 w-full"
|
25
|
-
},
|
25
|
+
}, gm = {
|
26
26
|
__name: "OcTable",
|
27
27
|
props: {
|
28
28
|
options: {
|
@@ -706,7 +706,7 @@ const Kt = {
|
|
706
706
|
a[1] || (a[1] = n("div", { class: "w-9" }, null, -1))
|
707
707
|
]));
|
708
708
|
}
|
709
|
-
}), vl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" },
|
709
|
+
}), vl = { class: "flex flex-col border rounded w-full border-oc-gray-200 overflow-hidden" }, pm = /* @__PURE__ */ J({
|
710
710
|
__name: "OcExpadingTable",
|
711
711
|
props: {
|
712
712
|
total: {
|
@@ -786,7 +786,7 @@ const Kt = {
|
|
786
786
|
])
|
787
787
|
]));
|
788
788
|
}
|
789
|
-
}), 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]" },
|
789
|
+
}), 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]" }, ym = {
|
790
790
|
__name: "OcPagination",
|
791
791
|
props: {
|
792
792
|
maxPage: {
|
@@ -1287,7 +1287,7 @@ const Kt = {
|
|
1287
1287
|
], 2);
|
1288
1288
|
};
|
1289
1289
|
}
|
1290
|
-
}, Ct = /* @__PURE__ */ he(Hl, [["__scopeId", "data-v-e499a3c4"]]), Yl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Wl = { key: 0 },
|
1290
|
+
}, Ct = /* @__PURE__ */ he(Hl, [["__scopeId", "data-v-e499a3c4"]]), Yl = { class: "bg-oc-bg-dark flex flex-col gap-3 p-4 rounded" }, Wl = { key: 0 }, xm = {
|
1291
1291
|
__name: "OcTransferSummary",
|
1292
1292
|
props: {
|
1293
1293
|
transfer: {
|
@@ -1436,7 +1436,7 @@ const Kt = {
|
|
1436
1436
|
}, 8, ["modelValue"])
|
1437
1437
|
]),
|
1438
1438
|
(o = e.urls) != null && o.length ? (t(), i("div", aa, [
|
1439
|
-
(t(!0), i(L, null, R(e.urls, (d, c) => (t(), y(r(
|
1439
|
+
(t(!0), i(L, null, R(e.urls, (d, c) => (t(), y(r(pn), {
|
1440
1440
|
key: c,
|
1441
1441
|
title: d.title,
|
1442
1442
|
url: d.url
|
@@ -1844,19 +1844,22 @@ const Kt = {
|
|
1844
1844
|
])
|
1845
1845
|
], 32));
|
1846
1846
|
}
|
1847
|
-
}, _a = {
|
1847
|
+
}, _a = {
|
1848
|
+
key: 0,
|
1849
|
+
class: "flex items-center p-3 border-r bg-gray-50 cursor-pointer"
|
1850
|
+
}, en = { class: "flex items-center gap-x-4 w-full p-5 pl-0 overflow-hidden" }, tn = { class: "flex flex-col flex-1 gap-y-3 overflow-hidden" }, ln = { class: "flex items-center justify-between" }, an = { class: "flex text-sm text-oc-text-400 items-center gap-x-3 overflow-hidden" }, nn = {
|
1848
1851
|
key: 0,
|
1849
1852
|
class: "text-base text-oc-text font-medium truncate"
|
1850
|
-
},
|
1853
|
+
}, on = {
|
1851
1854
|
key: 1,
|
1852
1855
|
class: "flex gap-3 shrink-0"
|
1853
|
-
},
|
1856
|
+
}, sn = {
|
1854
1857
|
key: 0,
|
1855
1858
|
class: "flex flex-col gap-3"
|
1856
|
-
},
|
1859
|
+
}, rn = { class: "text-oc-text-400 flex gap-x-2 items-center text-sm" }, dn = {
|
1857
1860
|
key: 0,
|
1858
1861
|
class: "flex items-center gap-4 opacity-0 group-hover:opacity-100"
|
1859
|
-
},
|
1862
|
+
}, cn = { class: "border border-oc-accent-1-100 rounded-sm p-1 flex gap-x-1" }, un = { class: "py-5 px-7" }, mn = /* @__PURE__ */ J({
|
1860
1863
|
__name: "OcAccordion",
|
1861
1864
|
props: {
|
1862
1865
|
title: String,
|
@@ -1891,13 +1894,10 @@ const Kt = {
|
|
1891
1894
|
class: v(["flex gap-4 items-stretch", {
|
1892
1895
|
"border-b": o.value,
|
1893
1896
|
"pl-5": e.isNoToggleForced
|
1894
|
-
}])
|
1897
|
+
}]),
|
1898
|
+
onClick: d
|
1895
1899
|
}, [
|
1896
|
-
e.isNoToggleForced ? m("", !0) : (t(), i("div",
|
1897
|
-
key: 0,
|
1898
|
-
class: "flex items-center p-3 border-r bg-gray-50 cursor-pointer",
|
1899
|
-
onClick: d
|
1900
|
-
}, [
|
1900
|
+
e.isNoToggleForced ? m("", !0) : (t(), i("div", _a, [
|
1901
1901
|
x(r(V), {
|
1902
1902
|
name: o.value ? "chevron-up" : "chevron-down",
|
1903
1903
|
width: "20",
|
@@ -1905,13 +1905,13 @@ const Kt = {
|
|
1905
1905
|
class: "text-oc-text-400"
|
1906
1906
|
}, null, 8, ["name"])
|
1907
1907
|
])),
|
1908
|
-
n("div",
|
1908
|
+
n("div", en, [
|
1909
1909
|
k(c.$slots, "logo"),
|
1910
|
-
n("div",
|
1911
|
-
n("div",
|
1912
|
-
n("div",
|
1913
|
-
e.title ? (t(), i("span",
|
1914
|
-
e.chips.length ? (t(), i("div",
|
1910
|
+
n("div", tn, [
|
1911
|
+
n("div", ln, [
|
1912
|
+
n("div", an, [
|
1913
|
+
e.title ? (t(), i("span", nn, $(e.title), 1)) : m("", !0),
|
1914
|
+
e.chips.length ? (t(), i("div", on, [
|
1915
1915
|
(t(!0), i(L, null, R(e.chips, (f, h) => (t(), y(r(ae), {
|
1916
1916
|
key: h,
|
1917
1917
|
label: f.label,
|
@@ -1924,8 +1924,8 @@ const Kt = {
|
|
1924
1924
|
])
|
1925
1925
|
]),
|
1926
1926
|
k(c.$slots, "default", {}, () => [
|
1927
|
-
e.description ? (t(), i("div",
|
1928
|
-
n("div",
|
1927
|
+
e.description ? (t(), i("div", sn, [
|
1928
|
+
n("div", rn, $(e.description), 1)
|
1929
1929
|
])) : m("", !0)
|
1930
1930
|
])
|
1931
1931
|
]),
|
@@ -1933,8 +1933,8 @@ const Kt = {
|
|
1933
1933
|
isOpen: o.value,
|
1934
1934
|
toggleAccordion: d
|
1935
1935
|
}, () => [
|
1936
|
-
e.hasActions ? (t(), i("div",
|
1937
|
-
n("div",
|
1936
|
+
e.hasActions ? (t(), i("div", dn, [
|
1937
|
+
n("div", cn, [
|
1938
1938
|
x(r(V), {
|
1939
1939
|
name: "pencil",
|
1940
1940
|
class: "cursor-pointer text-oc-text-400 p-2",
|
@@ -1958,14 +1958,14 @@ const Kt = {
|
|
1958
1958
|
])
|
1959
1959
|
])
|
1960
1960
|
], 2),
|
1961
|
-
Ve(n("div",
|
1961
|
+
Ve(n("div", un, [
|
1962
1962
|
k(c.$slots, "content")
|
1963
1963
|
], 512), [
|
1964
1964
|
[Ee, o.value]
|
1965
1965
|
])
|
1966
1966
|
], 2));
|
1967
1967
|
}
|
1968
|
-
}),
|
1968
|
+
}), hm = {
|
1969
1969
|
__name: "OcListItem",
|
1970
1970
|
props: {
|
1971
1971
|
isActive: Boolean,
|
@@ -2019,7 +2019,7 @@ const Kt = {
|
|
2019
2019
|
case "page":
|
2020
2020
|
return Qa;
|
2021
2021
|
case "accordion":
|
2022
|
-
return
|
2022
|
+
return mn;
|
2023
2023
|
default:
|
2024
2024
|
return mt;
|
2025
2025
|
}
|
@@ -2039,7 +2039,7 @@ const Kt = {
|
|
2039
2039
|
}))
|
2040
2040
|
]), 1040, ["class"]));
|
2041
2041
|
}
|
2042
|
-
},
|
2042
|
+
}, fn = { class: "flex gap-x-3 text-sm items-center group/url" }, vn = { class: "text-oc-text-400 font-medium shrink-0" }, gn = { class: "break-all" }, pn = /* @__PURE__ */ J({
|
2043
2043
|
__name: "OcListUrl",
|
2044
2044
|
props: {
|
2045
2045
|
title: String,
|
@@ -2050,9 +2050,9 @@ const Kt = {
|
|
2050
2050
|
}
|
2051
2051
|
},
|
2052
2052
|
setup(e) {
|
2053
|
-
return (s, a) => (t(), i("div",
|
2054
|
-
n("span",
|
2055
|
-
n("span",
|
2053
|
+
return (s, a) => (t(), i("div", fn, [
|
2054
|
+
n("span", vn, $(e.title) + ":", 1),
|
2055
|
+
n("span", gn, $(e.url), 1),
|
2056
2056
|
e.isCopy ? (t(), y(r(Me), {
|
2057
2057
|
key: 0,
|
2058
2058
|
value: e.url
|
@@ -2128,10 +2128,10 @@ const Kt = {
|
|
2128
2128
|
], 2)
|
2129
2129
|
], 2));
|
2130
2130
|
}
|
2131
|
-
},
|
2131
|
+
}, yn = { class: "uppercase" }, xn = { class: "flex flex-col px-3 py-2 text-[12px] text-oc-text-400 font-medium text-sm" }, hn = { class: "mb-auto" }, bn = {
|
2132
2132
|
key: 1,
|
2133
2133
|
class: "absolute top-2 right-2 left-2 bottom-2 bg-white flex items-center justify-center"
|
2134
|
-
},
|
2134
|
+
}, bm = {
|
2135
2135
|
__name: "OcInfoCard",
|
2136
2136
|
props: {
|
2137
2137
|
isLoading: Boolean,
|
@@ -2158,14 +2158,14 @@ const Kt = {
|
|
2158
2158
|
key: 0,
|
2159
2159
|
class: v(["flex items-start text-oc-text-400 font-medium text-[10px]", e.titleClass])
|
2160
2160
|
}, [
|
2161
|
-
n("div",
|
2161
|
+
n("div", yn, $(e.title), 1),
|
2162
2162
|
e.titleIconTooltip ? (t(), y(r(le), {
|
2163
2163
|
key: 0,
|
2164
2164
|
"popper-class": "w-max bg-oc-bg",
|
2165
2165
|
position: "top-start"
|
2166
2166
|
}, {
|
2167
2167
|
popper: S(() => [
|
2168
|
-
n("div",
|
2168
|
+
n("div", xn, $(e.titleIconTooltip), 1)
|
2169
2169
|
]),
|
2170
2170
|
default: S(() => [
|
2171
2171
|
x(r(V), {
|
@@ -2179,11 +2179,11 @@ const Kt = {
|
|
2179
2179
|
})) : m("", !0)
|
2180
2180
|
], 2)) : m("", !0),
|
2181
2181
|
k(l.$slots, "header"),
|
2182
|
-
n("div",
|
2182
|
+
n("div", hn, [
|
2183
2183
|
k(l.$slots, "default")
|
2184
2184
|
]),
|
2185
2185
|
k(l.$slots, "footer"),
|
2186
|
-
e.isLoading ? (t(), i("div",
|
2186
|
+
e.isLoading ? (t(), i("div", bn, [
|
2187
2187
|
x(r(V), {
|
2188
2188
|
name: "loading-2",
|
2189
2189
|
width: "32",
|
@@ -2193,13 +2193,13 @@ const Kt = {
|
|
2193
2193
|
])) : m("", !0)
|
2194
2194
|
], 2));
|
2195
2195
|
}
|
2196
|
-
},
|
2196
|
+
}, wn = { key: 0 }, $n = { class: "flex border-oc-gray-200 gap-x-9 justify-between p-5 items-start border-b sticky bg-oc-bg-light top-0" }, kn = { class: "flex flex-col gap-y-1 max-w-[300px]" }, Sn = { class: "text-lg font-medium truncate" }, Cn = { class: "flex gap-3 items-center" }, Bn = {
|
2197
2197
|
key: 0,
|
2198
2198
|
class: "text-sm text-oc-text-300 truncate"
|
2199
|
-
},
|
2199
|
+
}, On = { class: "flex items-center gap-3" }, Vn = { class: "p-[6px] rounded cursor-pointer text-oc-gray-500 hover:bg-gray-100 hover:text-oc-text" }, In = { class: "p-2 border-b border-gray-200" }, Tn = {
|
2200
2200
|
key: 0,
|
2201
2201
|
class: "p-2"
|
2202
|
-
},
|
2202
|
+
}, wm = {
|
2203
2203
|
__name: "OcFloatContent",
|
2204
2204
|
props: {
|
2205
2205
|
modelValue: {
|
@@ -2236,18 +2236,18 @@ const Kt = {
|
|
2236
2236
|
"left-[-999px] w-0": !e.modelValue && e.position === "left"
|
2237
2237
|
}])
|
2238
2238
|
}, [
|
2239
|
-
e.modelValue ? (t(), i("div",
|
2240
|
-
n("div",
|
2239
|
+
e.modelValue ? (t(), i("div", wn, [
|
2240
|
+
n("div", $n, [
|
2241
2241
|
k(l.$slots, "header", {}, () => [
|
2242
|
-
n("div",
|
2243
|
-
n("span",
|
2242
|
+
n("div", kn, [
|
2243
|
+
n("span", Sn, [
|
2244
2244
|
k(l.$slots, "title", {}, () => [
|
2245
2245
|
Z($(e.title), 1)
|
2246
2246
|
])
|
2247
2247
|
]),
|
2248
2248
|
k(l.$slots, "description", {}, () => [
|
2249
|
-
n("div",
|
2250
|
-
e.description ? (t(), i("span",
|
2249
|
+
n("div", Cn, [
|
2250
|
+
e.description ? (t(), i("span", Bn, $(e.description), 1)) : m("", !0),
|
2251
2251
|
x(r(Me), {
|
2252
2252
|
value: e.description,
|
2253
2253
|
"tooltip-options": { strategy: "fixed" }
|
@@ -2265,7 +2265,7 @@ const Kt = {
|
|
2265
2265
|
])
|
2266
2266
|
])
|
2267
2267
|
]),
|
2268
|
-
n("div",
|
2268
|
+
n("div", On, [
|
2269
2269
|
e.dropdownOptions ? (t(), y(r(oe), F({
|
2270
2270
|
key: 0,
|
2271
2271
|
modelValue: a.value,
|
@@ -2275,13 +2275,13 @@ const Kt = {
|
|
2275
2275
|
class: "text-sm"
|
2276
2276
|
}, e.dropdownProps), {
|
2277
2277
|
menu: S(() => [
|
2278
|
-
n("div",
|
2278
|
+
n("div", In, [
|
2279
2279
|
(t(!0), i(L, null, R(e.dropdownOptions.top, (d, c) => (t(), y(r(ye), F({
|
2280
2280
|
key: c,
|
2281
2281
|
ref_for: !0
|
2282
2282
|
}, d), null, 16))), 128))
|
2283
2283
|
]),
|
2284
|
-
e.dropdownOptions.bottom ? (t(), i("div",
|
2284
|
+
e.dropdownOptions.bottom ? (t(), i("div", Tn, [
|
2285
2285
|
(t(!0), i(L, null, R(e.dropdownOptions.bottom, (d, c) => (t(), y(r(ye), F({
|
2286
2286
|
key: c,
|
2287
2287
|
ref_for: !0
|
@@ -2289,7 +2289,7 @@ const Kt = {
|
|
2289
2289
|
])) : m("", !0)
|
2290
2290
|
]),
|
2291
2291
|
default: S(() => [
|
2292
|
-
n("div",
|
2292
|
+
n("div", Vn, [
|
2293
2293
|
x(r(V), {
|
2294
2294
|
name: "dots-vertical",
|
2295
2295
|
width: "20",
|
@@ -2317,16 +2317,16 @@ const Kt = {
|
|
2317
2317
|
])) : m("", !0)
|
2318
2318
|
], 2));
|
2319
2319
|
}
|
2320
|
-
},
|
2320
|
+
}, Dn = { class: "bg-oc-bg-light py-5 px-7 gap-x-7 flex items-center" }, An = { class: "flex-1 flex gap-x-4 items-center" }, Mn = {
|
2321
2321
|
key: 0,
|
2322
2322
|
class: "w-[24px] h-[24px] min-w-[24px] flex items-center text-white justify-center rounded-full bg-oc-primary"
|
2323
|
-
},
|
2323
|
+
}, jn = {
|
2324
2324
|
key: 1,
|
2325
2325
|
class: "w-[24px] h-[24px] min-w-[24px] flex items-center justify-center border rounded-full text-oc-warning border-oc-warning"
|
2326
|
-
},
|
2326
|
+
}, Pn = {
|
2327
2327
|
key: 2,
|
2328
2328
|
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"
|
2329
|
-
},
|
2329
|
+
}, Ln = { class: "flex flex-col gap-y-1" }, En = { class: "font-medium" }, zn = { class: "text-oc-text-300 text-sm" }, $m = /* @__PURE__ */ J({
|
2330
2330
|
__name: "OcOnboardingListItem",
|
2331
2331
|
props: {
|
2332
2332
|
title: {
|
@@ -2355,25 +2355,25 @@ const Kt = {
|
|
2355
2355
|
}
|
2356
2356
|
},
|
2357
2357
|
setup(e) {
|
2358
|
-
return (s, a) => (t(), i("div",
|
2359
|
-
n("div",
|
2360
|
-
e.status === "completed" ? (t(), i("div",
|
2358
|
+
return (s, a) => (t(), i("div", Dn, [
|
2359
|
+
n("div", An, [
|
2360
|
+
e.status === "completed" ? (t(), i("div", Mn, [
|
2361
2361
|
x(r(V), {
|
2362
2362
|
name: "check-2",
|
2363
2363
|
width: "12",
|
2364
2364
|
height: "12"
|
2365
2365
|
})
|
2366
|
-
])) : e.status === "pending" ? (t(), i("div",
|
2366
|
+
])) : e.status === "pending" ? (t(), i("div", jn, [
|
2367
2367
|
x(r(V), {
|
2368
2368
|
name: "time-filled",
|
2369
2369
|
width: "18",
|
2370
2370
|
height: "18"
|
2371
2371
|
})
|
2372
|
-
])) : e.number ? (t(), i("div",
|
2373
|
-
n("div",
|
2372
|
+
])) : e.number ? (t(), i("div", Pn, $(e.number), 1)) : m("", !0),
|
2373
|
+
n("div", Ln, [
|
2374
2374
|
k(s.$slots, "default", {}, () => [
|
2375
|
-
n("span",
|
2376
|
-
n("span",
|
2375
|
+
n("span", En, $(e.title), 1),
|
2376
|
+
n("span", zn, $(e.description), 1)
|
2377
2377
|
])
|
2378
2378
|
])
|
2379
2379
|
]),
|
@@ -2382,7 +2382,7 @@ const Kt = {
|
|
2382
2382
|
])
|
2383
2383
|
]));
|
2384
2384
|
}
|
2385
|
-
}),
|
2385
|
+
}), km = {
|
2386
2386
|
__name: "OcAccordion",
|
2387
2387
|
props: {
|
2388
2388
|
header: {
|
@@ -2467,7 +2467,7 @@ const Kt = {
|
|
2467
2467
|
])
|
2468
2468
|
], 2));
|
2469
2469
|
}
|
2470
|
-
},
|
2470
|
+
}, Nn = /* @__PURE__ */ J({
|
2471
2471
|
__name: "OnboardingStatusIcon",
|
2472
2472
|
props: {
|
2473
2473
|
variant: {
|
@@ -2506,7 +2506,7 @@ const Kt = {
|
|
2506
2506
|
}, null, 8, ["width", "height", "name"]))
|
2507
2507
|
], 2));
|
2508
2508
|
}
|
2509
|
-
}),
|
2509
|
+
}), Rn = { class: "flex items-center flex-1 gap-x-4" }, Fn = { class: "flex flex-col gap-y-1" }, Un = { class: "font-medium" }, qn = { class: "text-oc-text-400 text-sm" }, Sm = /* @__PURE__ */ J({
|
2510
2510
|
__name: "OnboardingAccordion",
|
2511
2511
|
props: {
|
2512
2512
|
description: {
|
@@ -2542,11 +2542,11 @@ const Kt = {
|
|
2542
2542
|
class: "px-7 items-center py-5 flex gap-x-7",
|
2543
2543
|
onClick: o
|
2544
2544
|
}, [
|
2545
|
-
n("div",
|
2546
|
-
x(
|
2547
|
-
n("div",
|
2548
|
-
n("span",
|
2549
|
-
n("span",
|
2545
|
+
n("div", Rn, [
|
2546
|
+
x(Nn, { variant: e.variant }, null, 8, ["variant"]),
|
2547
|
+
n("div", Fn, [
|
2548
|
+
n("span", Un, $(e.title), 1),
|
2549
|
+
n("span", qn, $(e.description), 1)
|
2550
2550
|
])
|
2551
2551
|
]),
|
2552
2552
|
k(d.$slots, "button-group"),
|
@@ -2564,10 +2564,10 @@ const Kt = {
|
|
2564
2564
|
], 512)
|
2565
2565
|
], 2));
|
2566
2566
|
}
|
2567
|
-
}),
|
2567
|
+
}), Hn = ["onClick"], Yn = {
|
2568
2568
|
key: 0,
|
2569
2569
|
class: "bg-oc-error rounded-full h-6 w-6 flex items-center justify-center text-xs font-bold text-white px-4"
|
2570
|
-
}, ft = 100, vt = 35,
|
2570
|
+
}, ft = 100, vt = 35, Cm = {
|
2571
2571
|
__name: "OcTabs",
|
2572
2572
|
props: {
|
2573
2573
|
variant: {
|
@@ -2671,9 +2671,9 @@ const Kt = {
|
|
2671
2671
|
n("div", {
|
2672
2672
|
class: v({ truncate: e.isArrows })
|
2673
2673
|
}, $(w.label), 3),
|
2674
|
-
w.count ? (t(), i("div",
|
2674
|
+
w.count ? (t(), i("div", Yn, $(w.count > e.maxCount ? `${e.maxCount}+` : w.count), 1)) : m("", !0)
|
2675
2675
|
])
|
2676
|
-
], 10,
|
2676
|
+
], 10, Hn);
|
2677
2677
|
}), 128))
|
2678
2678
|
], 2),
|
2679
2679
|
o.value + l.value < e.tabs.length && e.isArrows ? (t(), i("div", {
|
@@ -2693,7 +2693,7 @@ const Kt = {
|
|
2693
2693
|
], 2)) : m("", !0)
|
2694
2694
|
], 2));
|
2695
2695
|
}
|
2696
|
-
},
|
2696
|
+
}, Wn = ["src"], Kn = { class: "shrink-0" }, Bm = {
|
2697
2697
|
__name: "OcPaymentTab",
|
2698
2698
|
props: {
|
2699
2699
|
tab: {
|
@@ -2716,12 +2716,12 @@ const Kt = {
|
|
2716
2716
|
key: 0,
|
2717
2717
|
src: e.tab.logo,
|
2718
2718
|
alt: "logo"
|
2719
|
-
}, null, 8,
|
2719
|
+
}, null, 8, Wn)) : m("", !0)
|
2720
2720
|
]),
|
2721
|
-
n("div",
|
2721
|
+
n("div", Kn, $(e.tab.label), 1)
|
2722
2722
|
], 2));
|
2723
2723
|
}
|
2724
|
-
},
|
2724
|
+
}, Gn = { key: 1 }, Xn = /* @__PURE__ */ J({
|
2725
2725
|
__name: "OcStep",
|
2726
2726
|
props: {
|
2727
2727
|
title: {
|
@@ -2756,14 +2756,14 @@ const Kt = {
|
|
2756
2756
|
name: "check-2",
|
2757
2757
|
width: "12",
|
2758
2758
|
height: "12"
|
2759
|
-
})) : (t(), i("span",
|
2759
|
+
})) : (t(), i("span", Gn, $(e.value), 1))
|
2760
2760
|
], 2),
|
2761
2761
|
n("span", {
|
2762
2762
|
class: v(e.isCurrent ? "font-medium" : "")
|
2763
2763
|
}, $(e.title), 3)
|
2764
2764
|
], 2));
|
2765
2765
|
}
|
2766
|
-
}),
|
2766
|
+
}), Zn = { class: "flex gap-x-7" }, Om = /* @__PURE__ */ J({
|
2767
2767
|
__name: "OcSteps",
|
2768
2768
|
props: {
|
2769
2769
|
steps: {
|
@@ -2777,9 +2777,9 @@ const Kt = {
|
|
2777
2777
|
},
|
2778
2778
|
emits: ["update:model-value"],
|
2779
2779
|
setup(e) {
|
2780
|
-
return (s, a) => (t(), i("div",
|
2780
|
+
return (s, a) => (t(), i("div", Zn, [
|
2781
2781
|
k(s.$slots, "default", {}, () => [
|
2782
|
-
(t(!0), i(L, null, R(e.steps, (l, o) => (t(), y(
|
2782
|
+
(t(!0), i(L, null, R(e.steps, (l, o) => (t(), y(Xn, {
|
2783
2783
|
key: o,
|
2784
2784
|
title: l.title,
|
2785
2785
|
value: o + 1,
|
@@ -2791,7 +2791,7 @@ const Kt = {
|
|
2791
2791
|
])
|
2792
2792
|
]));
|
2793
2793
|
}
|
2794
|
-
}),
|
2794
|
+
}), Jn = { class: "flex gap-3 items-start md:flex-row flex-col" }, Vm = /* @__PURE__ */ J({
|
2795
2795
|
__name: "OcVariants",
|
2796
2796
|
props: {
|
2797
2797
|
variants: {
|
@@ -2805,8 +2805,8 @@ const Kt = {
|
|
2805
2805
|
},
|
2806
2806
|
emits: ["update:modelValue"],
|
2807
2807
|
setup(e) {
|
2808
|
-
return (s, a) => (t(), i("div",
|
2809
|
-
(t(!0), i(L, null, R(e.variants, (l) => (t(), y(r(
|
2808
|
+
return (s, a) => (t(), i("div", Jn, [
|
2809
|
+
(t(!0), i(L, null, R(e.variants, (l) => (t(), y(r(_n), F({
|
2810
2810
|
key: l.value,
|
2811
2811
|
"is-active": l.value === e.modelValue,
|
2812
2812
|
ref_for: !0
|
@@ -2822,7 +2822,7 @@ const Kt = {
|
|
2822
2822
|
]), 1040, ["is-active", "onClick"]))), 128))
|
2823
2823
|
]));
|
2824
2824
|
}
|
2825
|
-
}),
|
2825
|
+
}), Qn = { class: "flex items-center gap-x-3" }, _n = /* @__PURE__ */ J({
|
2826
2826
|
__name: "OcVariant",
|
2827
2827
|
props: {
|
2828
2828
|
icon: {
|
@@ -2857,7 +2857,7 @@ const Kt = {
|
|
2857
2857
|
e.isDisabled ? "bg-oc-gray-50 border-oc-gray-200" : e.isActive ? "border-oc-primary bg-oc-bg-light cursor-pointer" : "border-oc-gray-200 bg-oc-bg-light cursor-pointer"
|
2858
2858
|
])
|
2859
2859
|
}, [
|
2860
|
-
n("div",
|
2860
|
+
n("div", Qn, [
|
2861
2861
|
e.icon ? (t(), y(r(V), F({
|
2862
2862
|
key: 0,
|
2863
2863
|
width: "18",
|
@@ -2873,35 +2873,35 @@ const Kt = {
|
|
2873
2873
|
k(s.$slots, `${e.value}-description`)
|
2874
2874
|
], 2));
|
2875
2875
|
}
|
2876
|
-
}),
|
2877
|
-
function
|
2878
|
-
return t(), i("div",
|
2876
|
+
}), eo = {}, to = { class: "bg-oc-bg px-3 md:px-[40px] border-b border-oc-gray-200 h-[68px] w-full flex items-center" };
|
2877
|
+
function lo(e, s) {
|
2878
|
+
return t(), i("div", to, [
|
2879
2879
|
k(e.$slots, "default")
|
2880
2880
|
]);
|
2881
2881
|
}
|
2882
|
-
const
|
2883
|
-
function
|
2884
|
-
return t(), i("div",
|
2882
|
+
const Im = /* @__PURE__ */ he(eo, [["render", lo]]), ao = {}, no = { 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" };
|
2883
|
+
function oo(e, s) {
|
2884
|
+
return t(), i("div", no, [
|
2885
2885
|
k(e.$slots, "default")
|
2886
2886
|
]);
|
2887
2887
|
}
|
2888
|
-
const
|
2889
|
-
function
|
2890
|
-
return t(), i("div",
|
2888
|
+
const Tm = /* @__PURE__ */ he(ao, [["render", oo]]), io = {}, so = { class: "flex items-center gap-x-3" };
|
2889
|
+
function ro(e, s) {
|
2890
|
+
return t(), i("div", so, [
|
2891
2891
|
k(e.$slots, "default")
|
2892
2892
|
]);
|
2893
2893
|
}
|
2894
|
-
const
|
2894
|
+
const Dm = /* @__PURE__ */ he(io, [["render", ro]]), co = { class: "flex items-center" }, uo = {
|
2895
2895
|
key: 1,
|
2896
2896
|
class: "text-oc-text-300 text-sm md:text-base"
|
2897
|
-
},
|
2897
|
+
}, Am = {
|
2898
2898
|
__name: "OcHeaderCenter",
|
2899
2899
|
props: {
|
2900
2900
|
isSaved: Boolean
|
2901
2901
|
},
|
2902
2902
|
emits: ["back"],
|
2903
2903
|
setup(e) {
|
2904
|
-
return (s, a) => (t(), i("div",
|
2904
|
+
return (s, a) => (t(), i("div", co, [
|
2905
2905
|
k(s.$slots, "default", {}, () => [
|
2906
2906
|
k(s.$slots, "before"),
|
2907
2907
|
e.isSaved ? (t(), i("span", {
|
@@ -2914,12 +2914,12 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
2914
2914
|
class: "rotate-90"
|
2915
2915
|
}),
|
2916
2916
|
a[1] || (a[1] = Z(" Back "))
|
2917
|
-
])) : (t(), i("span",
|
2917
|
+
])) : (t(), i("span", uo, " Unsaved changes ")),
|
2918
2918
|
k(s.$slots, "after")
|
2919
2919
|
])
|
2920
2920
|
]));
|
2921
2921
|
}
|
2922
|
-
},
|
2922
|
+
}, mo = { class: "flex items-center gap-x-7 ml-auto" }, fo = { class: "flex gap-x-3" }, Mm = {
|
2923
2923
|
__name: "OcHeaderRight",
|
2924
2924
|
props: {
|
2925
2925
|
primaryProps: {
|
@@ -2935,10 +2935,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
2935
2935
|
},
|
2936
2936
|
emits: ["save", "cancel", "addition-click", "dropdown-action"],
|
2937
2937
|
setup(e, { emit: s }) {
|
2938
|
-
return (a, l) => (t(), i("div",
|
2938
|
+
return (a, l) => (t(), i("div", mo, [
|
2939
2939
|
k(a.$slots, "default", {}, () => [
|
2940
2940
|
k(a.$slots, "before"),
|
2941
|
-
n("div",
|
2941
|
+
n("div", fo, [
|
2942
2942
|
e.isSecondaryButtonVisible ? (t(), y(r(K), F({
|
2943
2943
|
key: 0,
|
2944
2944
|
class: "min-w-[100px]",
|
@@ -2960,7 +2960,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
2960
2960
|
])
|
2961
2961
|
]));
|
2962
2962
|
}
|
2963
|
-
},
|
2963
|
+
}, vo = { class: "gap-x-7 hidden md:flex relative" }, go = ["onClick"], po = { class: "p-3 font-medium text-oc-accent-1-500 flex items-center gap-2" }, yo = { class: "p-4 min-w-[220px] flex flex-col gap-y-3 border-b border-gray-200" }, jm = {
|
2964
2964
|
__name: "OcTabToSelect",
|
2965
2965
|
props: {
|
2966
2966
|
menus: Array,
|
@@ -2980,7 +2980,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
2980
2980
|
() => s.modelValue,
|
2981
2981
|
() => c()
|
2982
2982
|
), Ce(() => c()), (u, f) => (t(), i(L, null, [
|
2983
|
-
n("div",
|
2983
|
+
n("div", vo, [
|
2984
2984
|
(t(!0), i(L, null, R(e.menus, (h) => (t(), i("div", {
|
2985
2985
|
key: h.value,
|
2986
2986
|
ref_for: !0,
|
@@ -2990,7 +2990,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
2990
2990
|
onClick: (p) => {
|
2991
2991
|
c(p), u.$emit("changePath", h.path), u.$emit("update:modelValue", h.value);
|
2992
2992
|
}
|
2993
|
-
}, $(h.label), 11,
|
2993
|
+
}, $(h.label), 11, go))), 128)),
|
2994
2994
|
n("div", {
|
2995
2995
|
ref_key: "currentRef",
|
2996
2996
|
ref: o,
|
@@ -3003,7 +3003,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3003
3003
|
class: "flex md:hidden"
|
3004
3004
|
}, {
|
3005
3005
|
menu: S(() => [
|
3006
|
-
n("div",
|
3006
|
+
n("div", yo, [
|
3007
3007
|
(t(!0), i(L, null, R(e.menus, (h) => (t(), y(r(ye), {
|
3008
3008
|
key: h.value,
|
3009
3009
|
class: v(["px-5 py-3", [
|
@@ -3020,7 +3020,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3020
3020
|
])
|
3021
3021
|
]),
|
3022
3022
|
default: S(() => [
|
3023
|
-
n("div",
|
3023
|
+
n("div", po, [
|
3024
3024
|
Z($(l.value.label) + " ", 1),
|
3025
3025
|
x(r(V), {
|
3026
3026
|
name: "chevron-down",
|
@@ -3033,10 +3033,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3033
3033
|
}, 8, ["modelValue"])
|
3034
3034
|
], 64));
|
3035
3035
|
}
|
3036
|
-
},
|
3036
|
+
}, xo = { class: "flex text-oc-text justify-center flex-col gap-y-3 max-w-full" }, ho = { class: "md:text-xl font-medium flex items-center gap-x-3" }, bo = { class: "whitespace-nowrap text-ellipsis overflow-hidden md:text-base lg:text-xl" }, wo = {
|
3037
3037
|
key: 0,
|
3038
3038
|
class: "text-oc-text-400 text-sm group flex items-center gap-x-4"
|
3039
|
-
},
|
3039
|
+
}, $o = { class: "overflow-hidden whitespace-nowrap text-ellipsis" }, Bt = {
|
3040
3040
|
__name: "OcTitle",
|
3041
3041
|
props: {
|
3042
3042
|
title: { type: String, required: !0 },
|
@@ -3047,16 +3047,16 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3047
3047
|
isCopy: Boolean
|
3048
3048
|
},
|
3049
3049
|
setup(e) {
|
3050
|
-
return (s, a) => (t(), i("div",
|
3051
|
-
n("div",
|
3050
|
+
return (s, a) => (t(), i("div", xo, [
|
3051
|
+
n("div", ho, [
|
3052
3052
|
k(s.$slots, "title", {}, () => [
|
3053
|
-
n("span",
|
3053
|
+
n("span", bo, $(e.title), 1)
|
3054
3054
|
]),
|
3055
3055
|
e.chipProps ? (t(), y(r(ae), fe(F({ key: 0 }, e.chipProps)), null, 16)) : m("", !0)
|
3056
3056
|
]),
|
3057
|
-
e.description || s.$slots.description ? (t(), i("div",
|
3057
|
+
e.description || s.$slots.description ? (t(), i("div", wo, [
|
3058
3058
|
k(s.$slots, "description", {}, () => [
|
3059
|
-
n("span",
|
3059
|
+
n("span", $o, $(e.description), 1)
|
3060
3060
|
]),
|
3061
3061
|
e.isCopy ? (t(), y(r(Me), {
|
3062
3062
|
key: 0,
|
@@ -3076,10 +3076,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3076
3076
|
])) : m("", !0)
|
3077
3077
|
]));
|
3078
3078
|
}
|
3079
|
-
},
|
3079
|
+
}, ko = { class: "flex flex-col gap-y-3" }, So = { class: "flex items-center justify-between gap-x-3" }, Co = { class: "text-xl leading-[24px] font-medium" }, Bo = {
|
3080
3080
|
key: 0,
|
3081
3081
|
class: "flex gap-x-6 text-sm text-oc-text-400 py-4 whitespace-nowrap items-center"
|
3082
|
-
},
|
3082
|
+
}, Oo = { class: "overflow-hidden text-ellipsis" }, Vo = /* @__PURE__ */ J({
|
3083
3083
|
__name: "OcMobilePageTitle",
|
3084
3084
|
props: {
|
3085
3085
|
title: { type: String },
|
@@ -3090,9 +3090,9 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3090
3090
|
},
|
3091
3091
|
setup(e) {
|
3092
3092
|
const s = M(!1);
|
3093
|
-
return (a, l) => (t(), i("div",
|
3094
|
-
n("div",
|
3095
|
-
n("span",
|
3093
|
+
return (a, l) => (t(), i("div", ko, [
|
3094
|
+
n("div", So, [
|
3095
|
+
n("span", Co, $(e.title), 1),
|
3096
3096
|
e.primaryButtonProps || e.secondaryButtonProps ? (t(), y(r(K), F({
|
3097
3097
|
key: 0,
|
3098
3098
|
size: "small"
|
@@ -3132,8 +3132,8 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3132
3132
|
_: 1
|
3133
3133
|
}, 16)) : m("", !0)
|
3134
3134
|
]),
|
3135
|
-
e.description ? (t(), i("div",
|
3136
|
-
n("span",
|
3135
|
+
e.description ? (t(), i("div", Bo, [
|
3136
|
+
n("span", Oo, $(e.description), 1),
|
3137
3137
|
x(r(Me), {
|
3138
3138
|
class: "shrink-0",
|
3139
3139
|
value: e.description
|
@@ -3153,7 +3153,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3153
3153
|
e.chipProps ? (t(), y(r(ae), F({ key: 1 }, e.chipProps, { class: "self-start" }), null, 16)) : m("", !0)
|
3154
3154
|
]));
|
3155
3155
|
}
|
3156
|
-
}),
|
3156
|
+
}), Io = { class: "md:pb-5 pb-4 flex flex-col" }, To = { class: "flex flex-col gap-y-3 pt-4 md:pt-5 px-5 md:px-10" }, Pm = {
|
3157
3157
|
__name: "OcPageTitle",
|
3158
3158
|
props: {
|
3159
3159
|
title: { type: String, required: !0 },
|
@@ -3173,8 +3173,8 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3173
3173
|
back: []
|
3174
3174
|
},
|
3175
3175
|
setup(e) {
|
3176
|
-
return (s, a) => (t(), i("div",
|
3177
|
-
n("div",
|
3176
|
+
return (s, a) => (t(), i("div", Io, [
|
3177
|
+
n("div", To, [
|
3178
3178
|
e.isBack ? (t(), y(r(K), {
|
3179
3179
|
key: 0,
|
3180
3180
|
size: "small",
|
@@ -3214,14 +3214,14 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3214
3214
|
} : void 0
|
3215
3215
|
]), 1032, ["title", "description", "chip-props", "copy-value", "tooltip-options", "is-copy"]),
|
3216
3216
|
k(s.$slots, "right", {}, () => [
|
3217
|
-
x(r(
|
3217
|
+
x(r(Ho), {
|
3218
3218
|
class: "shrink-0",
|
3219
3219
|
"primary-button-props": e.primaryButtonProps,
|
3220
3220
|
"secondary-button-props": e.secondaryButtonProps
|
3221
3221
|
}, null, 8, ["primary-button-props", "secondary-button-props"])
|
3222
3222
|
])
|
3223
3223
|
], 2),
|
3224
|
-
e.isMobileCombineButtons ? (t(), y(
|
3224
|
+
e.isMobileCombineButtons ? (t(), y(Vo, {
|
3225
3225
|
key: 1,
|
3226
3226
|
"secondary-button-props": e.secondaryButtonProps,
|
3227
3227
|
"primary-button-props": e.primaryButtonProps,
|
@@ -3238,13 +3238,13 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3238
3238
|
])
|
3239
3239
|
]));
|
3240
3240
|
}
|
3241
|
-
},
|
3241
|
+
}, Do = ["href"], Ao = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Mo = {
|
3242
3242
|
key: 0,
|
3243
3243
|
class: "border-l group-hover:border-oc-accent-1-100 border-transparent"
|
3244
|
-
},
|
3244
|
+
}, jo = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, Po = { class: "flex flex-col" }, Lo = { class: "p-2 border-b border-gray-200" }, Eo = {
|
3245
3245
|
key: 0,
|
3246
3246
|
class: "p-2"
|
3247
|
-
},
|
3247
|
+
}, zo = { class: "py-2 px-3 whitespace-nowrap text-sm font-medium text-oc-text-400" }, No = {
|
3248
3248
|
__name: "OcPrimaryActions",
|
3249
3249
|
props: {
|
3250
3250
|
primaryActions: Object
|
@@ -3285,7 +3285,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3285
3285
|
popper: S(() => {
|
3286
3286
|
var C, A;
|
3287
3287
|
return [
|
3288
|
-
n("div",
|
3288
|
+
n("div", Ao, $((A = (C = e.primaryActions) == null ? void 0 : C.mainLinkAction) == null ? void 0 : A.tooltipContent), 1)
|
3289
3289
|
];
|
3290
3290
|
}),
|
3291
3291
|
default: S(() => {
|
@@ -3299,7 +3299,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3299
3299
|
class: "p-2 cursor-pointer rounded-sm hover:border-oc-accent-1-50-tr active:text-oc-text-400 hover:text-oc-text hover:bg-oc-accent-1-50-tr",
|
3300
3300
|
name: "external-link"
|
3301
3301
|
})
|
3302
|
-
], 8,
|
3302
|
+
], 8, Do)
|
3303
3303
|
];
|
3304
3304
|
}),
|
3305
3305
|
_: 1
|
@@ -3307,14 +3307,14 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3307
3307
|
(t(!0), i(L, null, R(e.primaryActions.actions, (C, A) => {
|
3308
3308
|
var w;
|
3309
3309
|
return t(), i(L, { key: A }, [
|
3310
|
-
(w = e.primaryActions) != null && w.mainLinkAction || A > 0 ? (t(), i("div",
|
3310
|
+
(w = e.primaryActions) != null && w.mainLinkAction || A > 0 ? (t(), i("div", Mo)) : m("", !0),
|
3311
3311
|
x(r(le), {
|
3312
3312
|
position: "top",
|
3313
3313
|
"arrow-hidden": "",
|
3314
3314
|
distance: 7
|
3315
3315
|
}, {
|
3316
3316
|
popper: S(() => [
|
3317
|
-
n("div",
|
3317
|
+
n("div", jo, $(C != null && C.isCopyButton ? o.value ? h.value : f.value : C.tooltipContent), 1)
|
3318
3318
|
]),
|
3319
3319
|
default: S(() => [
|
3320
3320
|
C != null && C.isCopyButton ? (t(), y(r(V), {
|
@@ -3346,8 +3346,8 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3346
3346
|
menu: S(() => {
|
3347
3347
|
var C, A, w;
|
3348
3348
|
return [
|
3349
|
-
n("div",
|
3350
|
-
n("div",
|
3349
|
+
n("div", Po, [
|
3350
|
+
n("div", Lo, [
|
3351
3351
|
(t(!0), i(L, null, R((C = e.primaryActions.dropdownOptions) == null ? void 0 : C.top, (O, g) => (t(), i(L, { key: g }, [
|
3352
3352
|
O != null && O.isCopyButton ? (t(), y(r(ye), {
|
3353
3353
|
key: 0,
|
@@ -3363,7 +3363,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3363
3363
|
}), null, 16))
|
3364
3364
|
], 64))), 128))
|
3365
3365
|
]),
|
3366
|
-
(A = e.primaryActions.dropdownOptions) != null && A.bottom ? (t(), i("div",
|
3366
|
+
(A = e.primaryActions.dropdownOptions) != null && A.bottom ? (t(), i("div", Eo, [
|
3367
3367
|
(t(!0), i(L, null, R((w = e.primaryActions.dropdownOptions) == null ? void 0 : w.bottom, (O, g) => (t(), i("div", { key: g }, [
|
3368
3368
|
O != null && O.tooltipText ? (t(), y(r(le), {
|
3369
3369
|
key: 0,
|
@@ -3372,7 +3372,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3372
3372
|
class: "!w-full"
|
3373
3373
|
}, {
|
3374
3374
|
popper: S(() => [
|
3375
|
-
n("div",
|
3375
|
+
n("div", zo, $(O == null ? void 0 : O.tooltipText), 1)
|
3376
3376
|
]),
|
3377
3377
|
default: S(() => [
|
3378
3378
|
x(r(ye), F({ ref_for: !0 }, O, {
|
@@ -3414,10 +3414,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3414
3414
|
], 2);
|
3415
3415
|
};
|
3416
3416
|
}
|
3417
|
-
},
|
3417
|
+
}, Ro = { class: "flex gap-x-3 items-center" }, Fo = {
|
3418
3418
|
key: 0,
|
3419
3419
|
class: "p-2"
|
3420
|
-
},
|
3420
|
+
}, Uo = { class: "px-3 py-[5px] whitespace-nowrap font-medium text-sm text-oc-text-400 flex gap-x-3 items-center" }, qo = {
|
3421
3421
|
__name: "OcPageTitleRight",
|
3422
3422
|
props: {
|
3423
3423
|
primaryButtonProps: Object,
|
@@ -3426,7 +3426,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3426
3426
|
setup(e) {
|
3427
3427
|
var o;
|
3428
3428
|
const a = M(((o = e.secondaryButtonProps) == null ? void 0 : o.isDropdownOpened) ?? !1), { isMobile: l } = Ut();
|
3429
|
-
return (d, c) => (t(), i("div",
|
3429
|
+
return (d, c) => (t(), i("div", Ro, [
|
3430
3430
|
e.secondaryButtonProps ? (t(), y(r(oe), {
|
3431
3431
|
key: 0,
|
3432
3432
|
modelValue: a.value,
|
@@ -3436,7 +3436,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3436
3436
|
menu: S(() => {
|
3437
3437
|
var u;
|
3438
3438
|
return [
|
3439
|
-
(u = e.secondaryButtonProps) != null && u.dropdownOptions ? (t(), i("div",
|
3439
|
+
(u = e.secondaryButtonProps) != null && u.dropdownOptions ? (t(), i("div", Fo, [
|
3440
3440
|
(t(!0), i(L, null, R(e.secondaryButtonProps.dropdownOptions, (f, h) => (t(), y(r(ye), F({
|
3441
3441
|
key: h,
|
3442
3442
|
ref_for: !0
|
@@ -3458,7 +3458,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3458
3458
|
"arrow-hidden": ""
|
3459
3459
|
}, {
|
3460
3460
|
popper: S(() => [
|
3461
|
-
n("div",
|
3461
|
+
n("div", Uo, $(e.primaryButtonProps.tooltip), 1)
|
3462
3462
|
]),
|
3463
3463
|
default: S(() => [
|
3464
3464
|
x(r(K), F({
|
@@ -3472,10 +3472,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3472
3472
|
}, e.primaryButtonProps), null, 16, ["size"])) : m("", !0)
|
3473
3473
|
]));
|
3474
3474
|
}
|
3475
|
-
},
|
3475
|
+
}, Ho = /* @__PURE__ */ he(qo, [["__scopeId", "data-v-a7abfe33"]]), Yo = { class: "flex flex-col flex-1 py-4 gap-4 px-6" }, Wo = {
|
3476
3476
|
key: 0,
|
3477
3477
|
class: "border-t border-oc-gray-200 last:hidden first:hidden"
|
3478
|
-
},
|
3478
|
+
}, Lm = {
|
3479
3479
|
__name: "OcSidebar",
|
3480
3480
|
props: {
|
3481
3481
|
class: {
|
@@ -3521,17 +3521,17 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3521
3521
|
}), (f, h) => (t(), i("div", {
|
3522
3522
|
class: v(["cursor-pointer flex flex-col transition-all duration-300 ease-in-out relative bg-[var(--oc-sidebar-background)]", [u.value, { "overflow-auto": e.isExpanded }]])
|
3523
3523
|
}, [
|
3524
|
-
n("div",
|
3524
|
+
n("div", Yo, [
|
3525
3525
|
k(f.$slots, "before", { isExpanded: e.isExpanded }),
|
3526
3526
|
(t(!0), i(L, null, R(e.sidebarMenu, (p, b) => (t(), i(L, { key: b }, [
|
3527
|
-
e.isExpanded ? m("", !0) : (t(), i("div",
|
3528
|
-
p.label || p.items.length > 0 ? (t(), y(r(
|
3527
|
+
e.isExpanded ? m("", !0) : (t(), i("div", Wo)),
|
3528
|
+
p.label || p.items.length > 0 ? (t(), y(r(fi), {
|
3529
3529
|
key: 1,
|
3530
3530
|
label: p.label,
|
3531
3531
|
"is-sidebar-expanded": e.isExpanded
|
3532
3532
|
}, {
|
3533
3533
|
default: S(() => [
|
3534
|
-
(t(!0), i(L, null, R(p.items, (T, j) => (t(), y(r(
|
3534
|
+
(t(!0), i(L, null, R(p.items, (T, j) => (t(), y(r(hi), {
|
3535
3535
|
key: j,
|
3536
3536
|
icon: T.icon,
|
3537
3537
|
label: T.label,
|
@@ -3542,7 +3542,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3542
3542
|
onCloseMenu: (C) => d(T.name)
|
3543
3543
|
}, {
|
3544
3544
|
default: S(() => [
|
3545
|
-
(t(!0), i(L, null, R(T.children, (C, A) => (t(), y(r(
|
3545
|
+
(t(!0), i(L, null, R(T.children, (C, A) => (t(), y(r($i), {
|
3546
3546
|
key: A,
|
3547
3547
|
icon: C.icon,
|
3548
3548
|
label: C.label,
|
@@ -3559,7 +3559,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3559
3559
|
], 64))), 128)),
|
3560
3560
|
k(f.$slots, "after", { isExpanded: e.isExpanded })
|
3561
3561
|
]),
|
3562
|
-
x(r(
|
3562
|
+
x(r(Bi), {
|
3563
3563
|
"is-expanded": e.isExpanded,
|
3564
3564
|
"display-name": e.displayName,
|
3565
3565
|
onUserClick: h[0] || (h[0] = (p) => f.$emit("user-click")),
|
@@ -3575,7 +3575,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3575
3575
|
}, 8, ["is-expanded", "display-name"])
|
3576
3576
|
], 2));
|
3577
3577
|
}
|
3578
|
-
},
|
3578
|
+
}, Em = {
|
3579
3579
|
__name: "OcSidebarSubmenu",
|
3580
3580
|
props: {
|
3581
3581
|
isExpanded: {
|
@@ -3617,7 +3617,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3617
3617
|
], 2))), 128))
|
3618
3618
|
], 2));
|
3619
3619
|
}
|
3620
|
-
},
|
3620
|
+
}, Ko = { class: "flex gap-3 items-center" }, Go = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, ae = {
|
3621
3621
|
__name: "OcChip",
|
3622
3622
|
props: {
|
3623
3623
|
variant: {
|
@@ -3705,14 +3705,14 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3705
3705
|
class: v(["rounded-full flex items-center gap-x-3 py-1 px-3 text-sm leading-[20px]", a.value])
|
3706
3706
|
}, [
|
3707
3707
|
k(o.$slots, "default", {}, () => [
|
3708
|
-
n("div",
|
3708
|
+
n("div", Ko, [
|
3709
3709
|
e.iconTooltip && e.icon ? (t(), y(r(le), {
|
3710
3710
|
key: 0,
|
3711
3711
|
position: "top",
|
3712
3712
|
distance: 10
|
3713
3713
|
}, {
|
3714
3714
|
popper: S(() => [
|
3715
|
-
n("div",
|
3715
|
+
n("div", Go, $(e.iconTooltip), 1)
|
3716
3716
|
]),
|
3717
3717
|
default: S(() => [
|
3718
3718
|
x(r(V), F({
|
@@ -3745,25 +3745,25 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3745
3745
|
}, null, 8, ["class"])) : m("", !0)
|
3746
3746
|
], 2));
|
3747
3747
|
}
|
3748
|
-
},
|
3748
|
+
}, Xo = {
|
3749
3749
|
key: 0,
|
3750
3750
|
class: "p-3 bg-white rounded-[6px] w-full flex flex-col gap-y-5"
|
3751
|
-
},
|
3751
|
+
}, Zo = { class: "p-2 flex gap-3" }, Jo = { class: "p-3 rounded-full border border-oc-warning-500" }, Qo = { class: "mx-[-8px] mb-[-8px] rounded-b-[6px] border-t border-gray-200 bg-oc-gray-50" }, _o = { class: "py-4 px-5 text-oc-text-400 font-medium" }, ei = {
|
3752
3752
|
key: 0,
|
3753
3753
|
class: "flex items-center"
|
3754
|
-
},
|
3754
|
+
}, ti = {
|
3755
3755
|
key: 1,
|
3756
3756
|
class: "flex items-center mt-3"
|
3757
|
-
},
|
3757
|
+
}, li = { class: "flex flex-col gap-y-3" }, ai = { class: "flex items-center text-[var(--oc-sidebar-menu-active-text)] justify-between" }, ni = { class: "font-bold" }, oi = { class: "h-[12px] w-full rounded-full bg-oc-gray-100 shadow" }, ii = {
|
3758
3758
|
key: 1,
|
3759
3759
|
class: "bg-white rounded-full p-1"
|
3760
|
-
},
|
3760
|
+
}, si = {
|
3761
3761
|
key: 0,
|
3762
3762
|
class: "p-3 rounded-full"
|
3763
|
-
},
|
3763
|
+
}, ri = {
|
3764
3764
|
key: 1,
|
3765
3765
|
class: "pie-wrapper progress style-2"
|
3766
|
-
},
|
3766
|
+
}, di = { class: "label" }, ci = {
|
3767
3767
|
__name: "OcAccountSetup",
|
3768
3768
|
props: {
|
3769
3769
|
isExpanded: Boolean,
|
@@ -3782,10 +3782,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3782
3782
|
e.isPending ? "bg-oc-warning-500" : "account-setup-bg"
|
3783
3783
|
]])
|
3784
3784
|
}, [
|
3785
|
-
e.isExpanded ? (t(), i("div",
|
3785
|
+
e.isExpanded ? (t(), i("div", Xo, [
|
3786
3786
|
e.isPending ? (t(), i(L, { key: 0 }, [
|
3787
|
-
n("div",
|
3788
|
-
n("div",
|
3787
|
+
n("div", Zo, [
|
3788
|
+
n("div", Jo, [
|
3789
3789
|
x(V, {
|
3790
3790
|
name: "alert",
|
3791
3791
|
width: "20",
|
@@ -3795,25 +3795,25 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3795
3795
|
]),
|
3796
3796
|
a[0] || (a[0] = n("div", { class: "text-oc-text-500 text-sm" }, "We’re currently reviewing your account.", -1))
|
3797
3797
|
]),
|
3798
|
-
n("div",
|
3799
|
-
n("div",
|
3800
|
-
e.paymentStatus ? (t(), i("div",
|
3798
|
+
n("div", Qo, [
|
3799
|
+
n("div", _o, [
|
3800
|
+
e.paymentStatus ? (t(), i("div", ei, [
|
3801
3801
|
a[1] || (a[1] = n("span", { class: "flex-1" }, "Payment", -1)),
|
3802
3802
|
x(ae, fe(Ie(e.paymentStatus)), null, 16)
|
3803
3803
|
])) : m("", !0),
|
3804
|
-
e.paymentStatus ? (t(), i("div",
|
3804
|
+
e.paymentStatus ? (t(), i("div", ti, [
|
3805
3805
|
a[2] || (a[2] = n("span", { class: "flex-1" }, "Payout", -1)),
|
3806
3806
|
x(ae, fe(Ie(e.payoutStatus)), null, 16)
|
3807
3807
|
])) : m("", !0)
|
3808
3808
|
])
|
3809
3809
|
])
|
3810
3810
|
], 64)) : (t(), i(L, { key: 1 }, [
|
3811
|
-
n("div",
|
3812
|
-
n("div",
|
3811
|
+
n("div", li, [
|
3812
|
+
n("div", ai, [
|
3813
3813
|
a[3] || (a[3] = n("span", { class: "font-medium" }, "Account setup", -1)),
|
3814
|
-
n("span",
|
3814
|
+
n("span", ni, $(e.progress) + "%", 1)
|
3815
3815
|
]),
|
3816
|
-
n("div",
|
3816
|
+
n("div", oi, [
|
3817
3817
|
n("div", {
|
3818
3818
|
class: "h-[12px] rounded-full bg-[var(--oc-sidebar-menu-active-icon-active)]",
|
3819
3819
|
style: de({ width: `${e.progress}%` })
|
@@ -3822,16 +3822,16 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3822
3822
|
]),
|
3823
3823
|
a[4] || (a[4] = n("div", { class: "text-sm font-bold text-[var(--oc-sidebar-menu-active-text)] text-center" }, " COMPLETE NOW -> ", -1))
|
3824
3824
|
], 64))
|
3825
|
-
])) : (t(), i("div",
|
3826
|
-
e.isPending ? (t(), i("div",
|
3825
|
+
])) : (t(), i("div", ii, [
|
3826
|
+
e.isPending ? (t(), i("div", si, [
|
3827
3827
|
x(V, {
|
3828
3828
|
name: "alert",
|
3829
3829
|
width: "20",
|
3830
3830
|
height: "20",
|
3831
3831
|
class: "text-oc-warning-500"
|
3832
3832
|
})
|
3833
|
-
])) : (t(), i("div",
|
3834
|
-
n("span",
|
3833
|
+
])) : (t(), i("div", ri, [
|
3834
|
+
n("span", di, $(e.progress), 1),
|
3835
3835
|
n("div", {
|
3836
3836
|
class: "pie",
|
3837
3837
|
style: de({
|
@@ -3850,10 +3850,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3850
3850
|
]))
|
3851
3851
|
], 2));
|
3852
3852
|
}
|
3853
|
-
},
|
3853
|
+
}, zm = /* @__PURE__ */ he(ci, [["__scopeId", "data-v-fb4f007e"]]), ui = { class: "pb-2" }, mi = {
|
3854
3854
|
key: 0,
|
3855
3855
|
class: "pl-3 uppercase text-oc-accent-1-200 relative text-medium text-sm"
|
3856
|
-
},
|
3856
|
+
}, fi = {
|
3857
3857
|
__name: "OcSidebarHead",
|
3858
3858
|
props: {
|
3859
3859
|
label: String,
|
@@ -3861,8 +3861,8 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3861
3861
|
},
|
3862
3862
|
setup(e) {
|
3863
3863
|
return (s, a) => (t(), i("div", null, [
|
3864
|
-
n("div",
|
3865
|
-
e.isSidebarExpanded && e.label ? (t(), i("div",
|
3864
|
+
n("div", ui, [
|
3865
|
+
e.isSidebarExpanded && e.label ? (t(), i("div", mi, [
|
3866
3866
|
n("span", null, $(e.label), 1)
|
3867
3867
|
])) : m("", !0)
|
3868
3868
|
]),
|
@@ -3879,10 +3879,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3879
3879
|
], 2)
|
3880
3880
|
]));
|
3881
3881
|
}
|
3882
|
-
},
|
3882
|
+
}, vi = { class: "relative" }, gi = {
|
3883
3883
|
key: 0,
|
3884
3884
|
class: "leading-[21px]"
|
3885
|
-
},
|
3885
|
+
}, pi = { class: "py-2 whitespace-nowrap px-3 text-sm text-oc-text-400 font-medium" }, yi = { class: "ml-1" }, xi = { class: "flex flex-col gap-y-1 min-h-0" }, hi = {
|
3886
3886
|
__name: "OcSidebarMenu",
|
3887
3887
|
props: {
|
3888
3888
|
icon: String,
|
@@ -3901,7 +3901,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3901
3901
|
placement: "right-start",
|
3902
3902
|
strategy: "fixed"
|
3903
3903
|
});
|
3904
|
-
}), (u, f) => Ve((t(), i("div",
|
3904
|
+
}), (u, f) => Ve((t(), i("div", vi, [
|
3905
3905
|
x(r(le), {
|
3906
3906
|
position: "right",
|
3907
3907
|
"arrow-hidden": e.isExpanded,
|
@@ -3928,7 +3928,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3928
3928
|
"mx-auto": !e.isExpanded
|
3929
3929
|
})
|
3930
3930
|
}, null, 8, ["name", "class"]),
|
3931
|
-
e.isExpanded ? (t(), i("span",
|
3931
|
+
e.isExpanded ? (t(), i("span", gi, $(e.label), 1)) : m("", !0)
|
3932
3932
|
], 2)
|
3933
3933
|
]),
|
3934
3934
|
_: 2
|
@@ -3936,8 +3936,8 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3936
3936
|
e.isExpanded ? void 0 : {
|
3937
3937
|
name: "popper",
|
3938
3938
|
fn: S(() => [
|
3939
|
-
n("div",
|
3940
|
-
n("span",
|
3939
|
+
n("div", pi, [
|
3940
|
+
n("span", yi, $(e.label), 1)
|
3941
3941
|
])
|
3942
3942
|
]),
|
3943
3943
|
key: "0"
|
@@ -3952,7 +3952,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3952
3952
|
onClick: f[0] || (f[0] = ce(() => {
|
3953
3953
|
}, ["stop"]))
|
3954
3954
|
}, [
|
3955
|
-
n("div",
|
3955
|
+
n("div", xi, [
|
3956
3956
|
k(u.$slots, "default")
|
3957
3957
|
])
|
3958
3958
|
], 2)) : m("", !0),
|
@@ -3970,10 +3970,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3970
3970
|
[r(nt), c]
|
3971
3971
|
]);
|
3972
3972
|
}
|
3973
|
-
},
|
3973
|
+
}, bi = { class: "flex-1 whitespace-nowrap" }, wi = {
|
3974
3974
|
key: 0,
|
3975
3975
|
class: "bg-oc-warning text-white shrink-0 py-1 px-3 rounded-sm uppercase text-xs font-medium"
|
3976
|
-
},
|
3976
|
+
}, $i = {
|
3977
3977
|
__name: "OcSidebarSubMenuItem",
|
3978
3978
|
props: {
|
3979
3979
|
label: String,
|
@@ -3989,11 +3989,11 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
3989
3989
|
"rounded-sm p-3 h-[34px] text-sm": !e.isExpanded
|
3990
3990
|
}])
|
3991
3991
|
}, [
|
3992
|
-
n("div",
|
3993
|
-
e.isBeta ? (t(), i("div",
|
3992
|
+
n("div", bi, $(e.label), 1),
|
3993
|
+
e.isBeta ? (t(), i("div", wi, " BETA ")) : m("", !0)
|
3994
3994
|
], 2));
|
3995
3995
|
}
|
3996
|
-
},
|
3996
|
+
}, ki = { class: "py-4 sticky z-[1005] bottom-0 left-0 px-6 bg-oc-gray-50 border-t border-oc-gray-200" }, Si = { class: "flex flex-col gap-y-3" }, Ci = { key: 0 }, Bi = {
|
3997
3997
|
__name: "OcSidebarFooter",
|
3998
3998
|
props: {
|
3999
3999
|
displayName: String,
|
@@ -4001,8 +4001,8 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4001
4001
|
},
|
4002
4002
|
emits: ["user-click", "support-click"],
|
4003
4003
|
setup(e) {
|
4004
|
-
return (s, a) => (t(), i("div",
|
4005
|
-
n("div",
|
4004
|
+
return (s, a) => (t(), i("div", ki, [
|
4005
|
+
n("div", Si, [
|
4006
4006
|
e.isExpanded ? k(s.$slots, "default", { key: 0 }) : m("", !0),
|
4007
4007
|
n("div", {
|
4008
4008
|
class: v(["flex items-center gap-x-3", {
|
@@ -4018,14 +4018,14 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4018
4018
|
width: "18",
|
4019
4019
|
height: "18"
|
4020
4020
|
}),
|
4021
|
-
e.isExpanded ? (t(), i("span",
|
4021
|
+
e.isExpanded ? (t(), i("span", Ci, "Contact support")) : m("", !0)
|
4022
4022
|
]),
|
4023
4023
|
k(s.$slots, "user")
|
4024
4024
|
], 2)
|
4025
4025
|
])
|
4026
4026
|
]));
|
4027
4027
|
}
|
4028
|
-
},
|
4028
|
+
}, Oi = { class: "relative" }, Vi = { class: "border relative z-10 bg-white border-oc-gray-200 shadow-normal rounded p-2 flex flex-col gap-y-2" }, Ii = { class: "py-2 px-3 gap-x-3 flex items-center" }, Ti = { class: "text-oc-accent-2 flex-1 font-medium" }, Di = { class: "flex items-center gap-x-2" }, Ai = { class: "px-3 pb-3 text-oc-text-400 text-sm" }, Nm = {
|
4029
4029
|
__name: "OcSidebarFeatureBanners",
|
4030
4030
|
props: {
|
4031
4031
|
isStacked: {
|
@@ -4042,16 +4042,16 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4042
4042
|
}
|
4043
4043
|
},
|
4044
4044
|
setup(e) {
|
4045
|
-
return (s, a) => (t(), i("div",
|
4045
|
+
return (s, a) => (t(), i("div", Oi, [
|
4046
4046
|
a[2] || (a[2] = n("div", { class: "border absolute top-2 left-0 w-full h-[calc(100%-4px)] border-oc-gray-200 rounded pt-2" }, null, -1)),
|
4047
|
-
n("div",
|
4048
|
-
n("div",
|
4047
|
+
n("div", Vi, [
|
4048
|
+
n("div", Ii, [
|
4049
4049
|
x(r(V), {
|
4050
4050
|
name: "sparkle-2",
|
4051
4051
|
class: "text-oc-accent-2"
|
4052
4052
|
}),
|
4053
|
-
n("div",
|
4054
|
-
n("div",
|
4053
|
+
n("div", Ti, $(e.title), 1),
|
4054
|
+
n("div", Di, [
|
4055
4055
|
x(r(V), {
|
4056
4056
|
name: "x",
|
4057
4057
|
class: "text-oc-text-300 hover:text-oc-text",
|
@@ -4068,11 +4068,11 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4068
4068
|
})
|
4069
4069
|
])
|
4070
4070
|
]),
|
4071
|
-
n("div",
|
4071
|
+
n("div", Ai, $(e.description), 1)
|
4072
4072
|
])
|
4073
4073
|
]));
|
4074
4074
|
}
|
4075
|
-
},
|
4075
|
+
}, Mi = { class: "py-7 flex flex-col gap-y-3 px-4" }, ji = { class: "flex flex-col gap-y-2" }, Pi = ["onClick"], Rm = /* @__PURE__ */ J({
|
4076
4076
|
__name: "OcSubSidebar",
|
4077
4077
|
props: {
|
4078
4078
|
title: {
|
@@ -4090,7 +4090,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4090
4090
|
},
|
4091
4091
|
emits: ["titleClick", "update:modelValue"],
|
4092
4092
|
setup(e) {
|
4093
|
-
return (s, a) => (t(), i("div",
|
4093
|
+
return (s, a) => (t(), i("div", Mi, [
|
4094
4094
|
e.title ? (t(), i("div", {
|
4095
4095
|
key: 0,
|
4096
4096
|
class: "py-4 gap-x-3 whitespace-nowrap cursor-pointer flex font-medium items-center",
|
@@ -4104,7 +4104,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4104
4104
|
}),
|
4105
4105
|
Z(" " + $(e.title), 1)
|
4106
4106
|
])) : m("", !0),
|
4107
|
-
n("div",
|
4107
|
+
n("div", ji, [
|
4108
4108
|
(t(!0), i(L, null, R(e.menu, (l, o) => (t(), i("div", {
|
4109
4109
|
key: o,
|
4110
4110
|
class: v([
|
@@ -4112,11 +4112,11 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4112
4112
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
4113
4113
|
]),
|
4114
4114
|
onClick: (d) => s.$emit("update:modelValue", l.value)
|
4115
|
-
}, $(l.label), 11,
|
4115
|
+
}, $(l.label), 11, Pi))), 128))
|
4116
4116
|
])
|
4117
4117
|
]));
|
4118
4118
|
}
|
4119
|
-
}),
|
4119
|
+
}), Li = { class: "relative" }, Fm = {
|
4120
4120
|
__name: "OcEmptyPage",
|
4121
4121
|
props: {
|
4122
4122
|
isButton: {
|
@@ -4214,7 +4214,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4214
4214
|
return (a, l) => (t(), i("div", {
|
4215
4215
|
class: v(["flex flex-col items-center", s.value[e.size].box])
|
4216
4216
|
}, [
|
4217
|
-
n("div",
|
4217
|
+
n("div", Li, [
|
4218
4218
|
n("div", {
|
4219
4219
|
class: v(["flex justify-center border rounded-full items-center aspect-square", [
|
4220
4220
|
e.containerClass ? e.containerClass : e.isUpgrade ? "text-oc-warning-600 border-oc-warning-300 bg-oc-warning-50" : "text-oc-text-400 border-oc-gray-200 bg-oc-gray-50",
|
@@ -4255,16 +4255,16 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4255
4255
|
}, null, 8, ["label", "left-icon"])) : m("", !0)
|
4256
4256
|
], 2));
|
4257
4257
|
}
|
4258
|
-
},
|
4258
|
+
}, Ei = {
|
4259
4259
|
key: 0,
|
4260
4260
|
class: "min-w-[138px] flex flex-col gap-y-3"
|
4261
|
-
},
|
4261
|
+
}, zi = {
|
4262
4262
|
key: 1,
|
4263
4263
|
class: "flex gap-x-4 items-center"
|
4264
|
-
},
|
4264
|
+
}, Ni = { class: "flex flex-col gap-y-2" }, Ri = { class: "flex items-center gap-x-2" }, Fi = { class: "text-oc-text-400 text-sm" }, Ui = {
|
4265
4265
|
key: 0,
|
4266
4266
|
class: "flex justify-center items-center w-[38px] h-[38px] shrink-0 rounded-full bg-oc-gray-100"
|
4267
|
-
},
|
4267
|
+
}, qi = {
|
4268
4268
|
__name: "OcInfoCardButton",
|
4269
4269
|
props: {
|
4270
4270
|
isActive: Boolean,
|
@@ -4283,19 +4283,19 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4283
4283
|
e.isLoading ? "p-3" : "px-5 py-4 min-h-[62px] max-h-[76px]"
|
4284
4284
|
]])
|
4285
4285
|
}, [
|
4286
|
-
e.isLoading ? (t(), i("div",
|
4286
|
+
e.isLoading ? (t(), i("div", Ei, [
|
4287
4287
|
x(r(Se), { class: "h-[14px] w-[80%] rounded-sm" }),
|
4288
4288
|
x(r(Se), { class: "h-[20px] w-full rounded-sm" })
|
4289
|
-
])) : (t(), i("div",
|
4290
|
-
n("div",
|
4291
|
-
n("div",
|
4292
|
-
n("span",
|
4289
|
+
])) : (t(), i("div", zi, [
|
4290
|
+
n("div", Ni, [
|
4291
|
+
n("div", Ri, [
|
4292
|
+
n("span", Fi, $(e.title), 1),
|
4293
4293
|
e.chipOptions ? (t(), y(r(ae), fe(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
4294
4294
|
]),
|
4295
4295
|
n("span", {
|
4296
4296
|
class: v(["flex gap-x-4 items-center text-xl group-hover:text-oc-text", e.isActive ? "text-oc-text" : "text-oc-text-400"])
|
4297
4297
|
}, [
|
4298
|
-
e.countryIso ? (t(), i("div",
|
4298
|
+
e.countryIso ? (t(), i("div", Ui, [
|
4299
4299
|
x(r(V), {
|
4300
4300
|
class: "!rounded-[1px]",
|
4301
4301
|
name: `flags/${e.countryIso.toUpperCase()}`
|
@@ -4308,7 +4308,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4308
4308
|
]))
|
4309
4309
|
], 2));
|
4310
4310
|
}
|
4311
|
-
},
|
4311
|
+
}, Hi = { class: "flex items-center gap-x-4 overflow-hidden" }, Yi = { class: "flex gap-x-2 overflow-auto" }, Wi = ["alt", "src"], Ki = {
|
4312
4312
|
__name: "OcPaymentMethods",
|
4313
4313
|
props: {
|
4314
4314
|
methods: {
|
@@ -4317,23 +4317,23 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4317
4317
|
}
|
4318
4318
|
},
|
4319
4319
|
setup(e) {
|
4320
|
-
return (s, a) => (t(), i("div",
|
4320
|
+
return (s, a) => (t(), i("div", Hi, [
|
4321
4321
|
a[0] || (a[0] = n("span", { class: "text-xs shrink-0 font-medium text-oc-text-300 uppercase" }, " Payment methods ", -1)),
|
4322
|
-
n("div",
|
4322
|
+
n("div", Yi, [
|
4323
4323
|
(t(!0), i(L, null, R(e.methods, (l) => (t(), i("img", {
|
4324
4324
|
key: l,
|
4325
4325
|
width: "35",
|
4326
4326
|
alt: l,
|
4327
4327
|
height: "24",
|
4328
4328
|
src: l
|
4329
|
-
}, null, 8,
|
4329
|
+
}, null, 8, Wi))), 128))
|
4330
4330
|
])
|
4331
4331
|
]));
|
4332
4332
|
}
|
4333
|
-
},
|
4333
|
+
}, Gi = { class: "flex justify-between md:flex-row flex-col gap-y-3 gap-x-4 md:gap-y-0" }, Xi = { key: 2 }, Zi = {
|
4334
4334
|
key: 4,
|
4335
4335
|
class: "flex shrink-0 gap-x-3"
|
4336
|
-
},
|
4336
|
+
}, Ji = {
|
4337
4337
|
__name: "OcTopActions",
|
4338
4338
|
props: {
|
4339
4339
|
moreButtonProps: Object,
|
@@ -4356,19 +4356,19 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4356
4356
|
const s = M(!1);
|
4357
4357
|
return (a, l) => {
|
4358
4358
|
var o;
|
4359
|
-
return t(), i("div",
|
4359
|
+
return t(), i("div", Gi, [
|
4360
4360
|
e.isLoading ? (t(), y(r(Se), {
|
4361
4361
|
key: 0,
|
4362
4362
|
class: "h-[20px] w-[322px] rounded-sm"
|
4363
4363
|
})) : m("", !0),
|
4364
|
-
!e.isLoading && e.paymentMethods.length ? (t(), y(
|
4364
|
+
!e.isLoading && e.paymentMethods.length ? (t(), y(Ki, {
|
4365
4365
|
key: 1,
|
4366
4366
|
methods: e.paymentMethods
|
4367
|
-
}, null, 8, ["methods"])) : (t(), i("div",
|
4367
|
+
}, null, 8, ["methods"])) : (t(), i("div", Xi)),
|
4368
4368
|
e.isLoading ? (t(), y(r(Se), {
|
4369
4369
|
key: 3,
|
4370
4370
|
class: "h-[20px] w-[168px] rounded-sm"
|
4371
|
-
})) : (t(), i("div",
|
4371
|
+
})) : (t(), i("div", Zi, [
|
4372
4372
|
x(r(oe), F({
|
4373
4373
|
modelValue: s.value,
|
4374
4374
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => s.value = d),
|
@@ -4414,7 +4414,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4414
4414
|
]);
|
4415
4415
|
};
|
4416
4416
|
}
|
4417
|
-
},
|
4417
|
+
}, Qi = { class: "flex flex-col gap-y-5" }, _i = { class: "flex gap-x-5 overflow-x-auto" }, es = {
|
4418
4418
|
__name: "OcBalanceOverview",
|
4419
4419
|
props: {
|
4420
4420
|
overviewItems: {
|
@@ -4450,10 +4450,10 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4450
4450
|
changeTab: []
|
4451
4451
|
},
|
4452
4452
|
setup(e) {
|
4453
|
-
return (s, a) => (t(), i("div",
|
4454
|
-
n("div",
|
4453
|
+
return (s, a) => (t(), i("div", Qi, [
|
4454
|
+
n("div", _i, [
|
4455
4455
|
(t(!0), i(L, null, R(e.isLoading ? 2 : e.overviewTabs, (l) => k(s.$slots, l.value, { tab: l }, () => [
|
4456
|
-
(t(), y(
|
4456
|
+
(t(), y(qi, {
|
4457
4457
|
key: l.value,
|
4458
4458
|
title: l.title,
|
4459
4459
|
"is-loading": e.isLoading,
|
@@ -4468,7 +4468,7 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4468
4468
|
])), 256))
|
4469
4469
|
]),
|
4470
4470
|
a[0] || (a[0] = n("div", { class: "border-t border-oc-gray-200" }, null, -1)),
|
4471
|
-
x(
|
4471
|
+
x(Ji, {
|
4472
4472
|
"is-loading": e.isLoading,
|
4473
4473
|
"more-button-props": e.moreButtonProps,
|
4474
4474
|
"secondary-button-props": e.secondaryButtonProps,
|
@@ -4489,19 +4489,19 @@ const Tm = /* @__PURE__ */ he(oo, [["render", so]]), ro = { class: "flex items-c
|
|
4489
4489
|
}, 8, ["is-loading", "items", "container-class"])
|
4490
4490
|
]));
|
4491
4491
|
}
|
4492
|
-
},
|
4493
|
-
function
|
4494
|
-
return t(), i("div",
|
4492
|
+
}, ts = {}, ls = { class: "flex gap-x-5 md:flex-nowrap flex-wrap p-3 md:items-center bg-oc-gray-50 border border-oc-gray-200 rounded overflow-hidden" };
|
4493
|
+
function as(e, s) {
|
4494
|
+
return t(), i("div", ls, [
|
4495
4495
|
k(e.$slots, "default")
|
4496
4496
|
]);
|
4497
4497
|
}
|
4498
|
-
const tt = /* @__PURE__ */ he(
|
4498
|
+
const tt = /* @__PURE__ */ he(ts, [["render", as]]), ns = { class: "flex" }, os = {
|
4499
4499
|
key: 0,
|
4500
4500
|
class: "p-2"
|
4501
|
-
},
|
4501
|
+
}, is = { class: "py-2 px-3" }, ss = {
|
4502
4502
|
key: 0,
|
4503
4503
|
class: "max-w-[250px] fixed z-[1006] top-0 right-0 transition-all duration-500 flex flex-col gap-y-2 w-full bg-white h-screen overflow-y-auto"
|
4504
|
-
},
|
4504
|
+
}, rs = { class: "p-5 flex items-center justify-between" }, ds = { class: "px-5 flex-1 flex flex-col gap-y-5" }, cs = /* @__PURE__ */ J({
|
4505
4505
|
__name: "MobileDynamicType",
|
4506
4506
|
props: {
|
4507
4507
|
boxes: { type: Array, default: () => [] },
|
@@ -4517,7 +4517,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4517
4517
|
default: S(() => {
|
4518
4518
|
var o, d;
|
4519
4519
|
return [
|
4520
|
-
n("div",
|
4520
|
+
n("div", ns, [
|
4521
4521
|
(t(!0), i(L, null, R((o = e.boxes[0]) == null ? void 0 : o.items.slice(0, 2), (c, u) => (t(), y(r(Ue), F({
|
4522
4522
|
key: u,
|
4523
4523
|
"is-transparent": "",
|
@@ -4537,12 +4537,12 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4537
4537
|
key: "0"
|
4538
4538
|
} : void 0
|
4539
4539
|
]), 1040, ["title", "content", "class", "is-loading"]))), 128)),
|
4540
|
-
(d = e.boxes[0]) != null && d.showInfo ? (t(), i("div",
|
4540
|
+
(d = e.boxes[0]) != null && d.showInfo ? (t(), i("div", os, [
|
4541
4541
|
x(r(le), null, {
|
4542
4542
|
popper: S(() => {
|
4543
4543
|
var c;
|
4544
4544
|
return [
|
4545
|
-
n("div",
|
4545
|
+
n("div", is, $((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
4546
4546
|
];
|
4547
4547
|
}),
|
4548
4548
|
default: S(() => [
|
@@ -4580,8 +4580,8 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4580
4580
|
}),
|
4581
4581
|
x(Ae, { name: "slide-from-right" }, {
|
4582
4582
|
default: S(() => [
|
4583
|
-
s.value ? (t(), i("div",
|
4584
|
-
n("div",
|
4583
|
+
s.value ? (t(), i("div", ss, [
|
4584
|
+
n("div", rs, [
|
4585
4585
|
l[4] || (l[4] = n("span", { class: "font-medium" }, "Details", -1)),
|
4586
4586
|
x(r(K), {
|
4587
4587
|
size: "small",
|
@@ -4593,7 +4593,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4593
4593
|
onClick: l[2] || (l[2] = (o) => s.value = !1)
|
4594
4594
|
})
|
4595
4595
|
]),
|
4596
|
-
n("div",
|
4596
|
+
n("div", ds, [
|
4597
4597
|
(t(!0), i(L, null, R(e.boxes, (o, d) => (t(), y(tt, { key: d }, {
|
4598
4598
|
default: S(() => [
|
4599
4599
|
(t(!0), i(L, null, R(o.items, (c, u) => (t(), y(r(Ue), F({
|
@@ -4631,7 +4631,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4631
4631
|
})
|
4632
4632
|
]));
|
4633
4633
|
}
|
4634
|
-
}),
|
4634
|
+
}), us = { class: "hidden md:flex md:gap-5 gap-3 md:flex-row flex-col" }, ms = { class: "py-2 px-3" }, fs = {
|
4635
4635
|
__name: "OcDynamicType",
|
4636
4636
|
props: {
|
4637
4637
|
boxes: { type: Array, default: () => [] },
|
@@ -4644,7 +4644,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4644
4644
|
emits: ["addCustomer", "editCustomer"],
|
4645
4645
|
setup(e) {
|
4646
4646
|
return (s, a) => (t(), i(L, null, [
|
4647
|
-
n("div",
|
4647
|
+
n("div", us, [
|
4648
4648
|
(t(!0), i(L, null, R(e.boxes, (l, o) => (t(), y(tt, {
|
4649
4649
|
key: o,
|
4650
4650
|
class: v(
|
@@ -4681,7 +4681,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4681
4681
|
x(r(le), { "popper-options": { strategy: "fixed" } }, {
|
4682
4682
|
popper: S(() => [
|
4683
4683
|
k(s.$slots, l.infoTooltipSlot, {}, () => [
|
4684
|
-
n("div",
|
4684
|
+
n("div", ms, $(l.infoTooltip), 1)
|
4685
4685
|
])
|
4686
4686
|
]),
|
4687
4687
|
default: S(() => [
|
@@ -4724,7 +4724,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4724
4724
|
} : void 0
|
4725
4725
|
]), 1032, ["variant", "customer", "is-hover", "is-edit"])) : m("", !0)
|
4726
4726
|
]),
|
4727
|
-
x(
|
4727
|
+
x(cs, {
|
4728
4728
|
class: "flex md:hidden",
|
4729
4729
|
boxes: e.boxes,
|
4730
4730
|
"is-customer": e.isCustomer,
|
@@ -4741,7 +4741,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4741
4741
|
]), 1032, ["boxes", "is-customer", "customer-card-variant", "customer"])
|
4742
4742
|
], 64));
|
4743
4743
|
}
|
4744
|
-
},
|
4744
|
+
}, vs = { class: "md:pt-5 pt-0 md:px-10 px-5" }, gs = { class: "flex items-center gap-x-3" }, ps = { class: "font-medium" }, ys = { class: "flex items-center gap-x-2 max-w-full" }, xs = ["href"], hs = { class: "truncate" }, bs = { class: "text-oc-text whitespace-nowrap" }, Um = {
|
4745
4745
|
__name: "OcAdditionalContent",
|
4746
4746
|
props: {
|
4747
4747
|
mainLink: { type: String, default: "" },
|
@@ -4790,7 +4790,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4790
4790
|
console.error("Unable to copy text to clipboard. Error: ", l);
|
4791
4791
|
}
|
4792
4792
|
};
|
4793
|
-
return (l, o) => (t(), i("div",
|
4793
|
+
return (l, o) => (t(), i("div", vs, [
|
4794
4794
|
e.variant === "default" ? (t(), y(Bt, {
|
4795
4795
|
key: 0,
|
4796
4796
|
description: e.mainLink,
|
@@ -4798,8 +4798,8 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4798
4798
|
class: v(["border rounded md:py-4 py-3 md:px-5 px-4 border-oc-gray-200 bg-oc-gray-50 flex flex-col gap-y-2", e.additionalStyling])
|
4799
4799
|
}, {
|
4800
4800
|
title: S(() => [
|
4801
|
-
n("div",
|
4802
|
-
n("span",
|
4801
|
+
n("div", gs, [
|
4802
|
+
n("span", ps, $(e.additionalTitle), 1),
|
4803
4803
|
e.chipVariant ? (t(), y(r(ae), {
|
4804
4804
|
key: 0,
|
4805
4805
|
variant: e.chipVariant,
|
@@ -4808,23 +4808,23 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4808
4808
|
])
|
4809
4809
|
]),
|
4810
4810
|
description: S(() => [
|
4811
|
-
n("div",
|
4811
|
+
n("div", ys, [
|
4812
4812
|
n("a", {
|
4813
4813
|
href: e.href || `${e.mainLink}${e.userId}`,
|
4814
4814
|
target: "_blank",
|
4815
4815
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
4816
4816
|
}, [
|
4817
|
-
n("div",
|
4818
|
-
n("div",
|
4819
|
-
], 8,
|
4820
|
-
x(r(
|
4817
|
+
n("div", hs, $(e.mainLink), 1),
|
4818
|
+
n("div", bs, $(e.userId), 1)
|
4819
|
+
], 8, xs),
|
4820
|
+
x(r(No), {
|
4821
4821
|
"primary-actions": e.primaryActions,
|
4822
4822
|
onCopy: a
|
4823
4823
|
}, null, 8, ["primary-actions"])
|
4824
4824
|
])
|
4825
4825
|
]),
|
4826
4826
|
_: 1
|
4827
|
-
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), y(
|
4827
|
+
}, 8, ["description", "title", "class"])) : e.variant === "dynamic" ? (t(), y(fs, {
|
4828
4828
|
key: 1,
|
4829
4829
|
boxes: e.boxes,
|
4830
4830
|
"customer-card-variant": e.customerCardVariant,
|
@@ -4842,7 +4842,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4842
4842
|
k(l.$slots, c, fe(Ie(u)))
|
4843
4843
|
])
|
4844
4844
|
}))
|
4845
|
-
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), y(
|
4845
|
+
]), 1032, ["boxes", "customer-card-variant", "customer", "is-customer", "customer-is-hover", "customer-is-edit", "class"])) : e.variant === "balance" ? (t(), y(es, {
|
4846
4846
|
key: 2,
|
4847
4847
|
"overview-items": e.overviewItems,
|
4848
4848
|
"overview-tabs": e.overviewTabs,
|
@@ -4866,13 +4866,13 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4866
4866
|
]), 1032, ["overview-items", "overview-tabs", "secondary-button-props", "more-button-props", "overview-active-tab", "container-class", "payment-methods", "dropdown-items", "dropdown-props", "class", "is-loading"])) : m("", !0)
|
4867
4867
|
]));
|
4868
4868
|
}
|
4869
|
-
},
|
4869
|
+
}, ws = { class: "send-money-initial-state relative border rounded" }, $s = { class: "z-10 p-7 flex flex-col relative" }, ks = { class: "text-xl font-medium mb-4" }, Ss = {
|
4870
4870
|
key: 0,
|
4871
4871
|
class: "text-oc-text-400 mb-10"
|
4872
|
-
},
|
4872
|
+
}, Cs = {
|
4873
4873
|
key: 1,
|
4874
4874
|
class: "flex gap-4 flex-wrap"
|
4875
|
-
},
|
4875
|
+
}, Bs = { class: "text-sm font-medium" }, Os = {
|
4876
4876
|
__name: "OcFeatureOverviewCard",
|
4877
4877
|
props: {
|
4878
4878
|
title: {
|
@@ -4892,11 +4892,11 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4892
4892
|
setup(e) {
|
4893
4893
|
return (s, a) => {
|
4894
4894
|
var l;
|
4895
|
-
return t(), i("div",
|
4896
|
-
n("div",
|
4897
|
-
n("h2",
|
4898
|
-
e.description ? (t(), i("p",
|
4899
|
-
(l = e.features) != null && l.length ? (t(), i("div",
|
4895
|
+
return t(), i("div", ws, [
|
4896
|
+
n("div", $s, [
|
4897
|
+
n("h2", ks, $(e.title), 1),
|
4898
|
+
e.description ? (t(), i("p", Ss, $(e.description), 1)) : m("", !0),
|
4899
|
+
(l = e.features) != null && l.length ? (t(), i("div", Cs, [
|
4900
4900
|
(t(!0), i(L, null, R(e.features, (o) => (t(), i("div", {
|
4901
4901
|
key: o.title,
|
4902
4902
|
class: "rounded bg-white flex flex-col gap-2 p-6 items-center justify-center relative"
|
@@ -4912,14 +4912,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4912
4912
|
height: "56",
|
4913
4913
|
width: "56"
|
4914
4914
|
}, null, 8, ["name"]),
|
4915
|
-
n("span",
|
4915
|
+
n("span", Bs, $(o.title), 1)
|
4916
4916
|
]))), 128))
|
4917
4917
|
])) : m("", !0)
|
4918
4918
|
])
|
4919
4919
|
]);
|
4920
4920
|
};
|
4921
4921
|
}
|
4922
|
-
},
|
4922
|
+
}, qm = /* @__PURE__ */ he(Os, [["__scopeId", "data-v-d658d1d3"]]), Vs = { class: "w-screen relative h-[40px] bg-oc-accent-3 flex items-center justify-center text-white" }, Is = { class: "text-sm" }, Hm = /* @__PURE__ */ J({
|
4923
4923
|
__name: "OcSandboxBanner",
|
4924
4924
|
props: {
|
4925
4925
|
title: {
|
@@ -4932,15 +4932,15 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4932
4932
|
}
|
4933
4933
|
},
|
4934
4934
|
setup(e) {
|
4935
|
-
return (s, a) => (t(), i("div",
|
4936
|
-
n("span",
|
4935
|
+
return (s, a) => (t(), i("div", Vs, [
|
4936
|
+
n("span", Is, $(e.title), 1),
|
4937
4937
|
e.chipProps ? (t(), y(r(ae), F({
|
4938
4938
|
key: 0,
|
4939
4939
|
class: "absolute left-[40px]"
|
4940
4940
|
}, e.chipProps), null, 16)) : m("", !0)
|
4941
4941
|
]));
|
4942
4942
|
}
|
4943
|
-
}),
|
4943
|
+
}), Ts = { class: "flex flex-col text-center gap-y-3" }, Ds = { class: "text-lg font-medium" }, As = { class: "text-sm text-oc-text-400" }, Ym = /* @__PURE__ */ J({
|
4944
4944
|
__name: "OcBox",
|
4945
4945
|
props: {
|
4946
4946
|
icon: String,
|
@@ -4961,13 +4961,13 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4961
4961
|
height: e.height,
|
4962
4962
|
variant: e.variant
|
4963
4963
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
4964
|
-
n("div",
|
4965
|
-
n("span",
|
4966
|
-
n("span",
|
4964
|
+
n("div", Ts, [
|
4965
|
+
n("span", Ds, $(e.title), 1),
|
4966
|
+
n("span", As, $(e.description), 1)
|
4967
4967
|
])
|
4968
4968
|
], 2));
|
4969
4969
|
}
|
4970
|
-
}),
|
4970
|
+
}), Wm = /* @__PURE__ */ J({
|
4971
4971
|
__name: "OcAuthenticationOption",
|
4972
4972
|
props: {
|
4973
4973
|
icon: String,
|
@@ -4993,7 +4993,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
4993
4993
|
e.chipProps ? (t(), y(r(ae), F({ key: 1 }, e.chipProps, { class: "absolute top-0 -translate-y-1/2 sm:right-9" }), null, 16)) : m("", !0)
|
4994
4994
|
], 2));
|
4995
4995
|
}
|
4996
|
-
}),
|
4996
|
+
}), Ms = { class: "flex items-center" }, js = { class: "flex flex-1 items-center gap-x-3" }, Ps = { class: "font-medium text-lg" }, Km = /* @__PURE__ */ J({
|
4997
4997
|
__name: "OcVerificationOption",
|
4998
4998
|
props: {
|
4999
4999
|
title: {
|
@@ -5017,10 +5017,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5017
5017
|
return (s, a) => (t(), i("div", {
|
5018
5018
|
class: v(["rounded hover:bg-oc-gray-50 p-5 flex flex-col gap-y-3", e.isActive ? "border-2 border-oc-primary" : "border border-oc-gray-200"])
|
5019
5019
|
}, [
|
5020
|
-
n("div",
|
5021
|
-
n("div",
|
5020
|
+
n("div", Ms, [
|
5021
|
+
n("div", js, [
|
5022
5022
|
k(s.$slots, "title", {}, () => [
|
5023
|
-
n("span",
|
5023
|
+
n("span", Ps, $(e.title), 1)
|
5024
5024
|
]),
|
5025
5025
|
e.chipOptions ? (t(), y(r(ae), fe(F({ key: 0 }, e.chipOptions)), null, 16)) : m("", !0)
|
5026
5026
|
]),
|
@@ -5035,13 +5035,13 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5035
5035
|
k(s.$slots, "content")
|
5036
5036
|
], 2));
|
5037
5037
|
}
|
5038
|
-
}),
|
5038
|
+
}), Ls = {
|
5039
5039
|
key: 0,
|
5040
5040
|
class: "flex flex-col gap-y-4 w-full"
|
5041
|
-
},
|
5041
|
+
}, Es = { class: "flex flex-col gap-y-3" }, zs = { class: "font-medium text-oc-text" }, Ns = { class: "text-oc-text-400" }, Rs = { class: "flex gap-x-3" }, Fs = {
|
5042
5042
|
key: 0,
|
5043
5043
|
class: "text-oc-text"
|
5044
|
-
},
|
5044
|
+
}, Us = ["innerHTML"], Gm = {
|
5045
5045
|
__name: "OcSnackbar",
|
5046
5046
|
props: {
|
5047
5047
|
modelValue: {
|
@@ -5170,12 +5170,12 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5170
5170
|
}, null, 8, ["name", "width", "height"]))
|
5171
5171
|
], 64)) : m("", !0),
|
5172
5172
|
k(h.$slots, "default", {}, () => [
|
5173
|
-
f.value ? (t(), i("div",
|
5174
|
-
n("div",
|
5175
|
-
n("span",
|
5176
|
-
n("span",
|
5173
|
+
f.value ? (t(), i("div", Ls, [
|
5174
|
+
n("div", Es, [
|
5175
|
+
n("span", zs, $(e.title), 1),
|
5176
|
+
n("span", Ns, $(e.description), 1)
|
5177
5177
|
]),
|
5178
|
-
n("div",
|
5178
|
+
n("div", Rs, [
|
5179
5179
|
e.secondaryButton ? (t(), y(r(K), F({
|
5180
5180
|
key: 0,
|
5181
5181
|
variant: "secondary",
|
@@ -5194,7 +5194,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5194
5194
|
key: 1,
|
5195
5195
|
class: "text-oc-text",
|
5196
5196
|
innerHTML: e.content
|
5197
|
-
}, null, 8,
|
5197
|
+
}, null, 8, Us)) : (t(), i("span", Fs, $(e.content), 1))
|
5198
5198
|
], 2))
|
5199
5199
|
]),
|
5200
5200
|
e.dismissible ? (t(), i("div", {
|
@@ -5215,7 +5215,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5215
5215
|
_: 3
|
5216
5216
|
}, 8, ["name"]));
|
5217
5217
|
}
|
5218
|
-
},
|
5218
|
+
}, qs = { class: "flex items-center gap-3" }, Hs = { class: "text-oc-text-500" }, Ys = { class: "p-4 text-sm" }, Ws = {
|
5219
5219
|
__name: "OcBanner",
|
5220
5220
|
props: {
|
5221
5221
|
modelValue: {
|
@@ -5274,7 +5274,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5274
5274
|
n("div", {
|
5275
5275
|
class: v(["flex flex-1 items-center justify-between gap-3 min-h-[34px] px-4 text-sm", r(s)[e.color]])
|
5276
5276
|
}, [
|
5277
|
-
n("div",
|
5277
|
+
n("div", qs, [
|
5278
5278
|
e.showIcon ? (t(), y(r(V), {
|
5279
5279
|
key: 0,
|
5280
5280
|
name: e.icon,
|
@@ -5283,7 +5283,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5283
5283
|
height: "16"
|
5284
5284
|
}, null, 8, ["name"])) : m("", !0),
|
5285
5285
|
k(l.$slots, "title", {}, () => [
|
5286
|
-
n("div",
|
5286
|
+
n("div", Hs, $(e.title), 1)
|
5287
5287
|
], !0)
|
5288
5288
|
]),
|
5289
5289
|
e.dismissible ? (t(), y(r(K), {
|
@@ -5294,7 +5294,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5294
5294
|
onClick: o[0] || (o[0] = (d) => l.$emit("update:modelValue", !1))
|
5295
5295
|
})) : m("", !0)
|
5296
5296
|
], 2),
|
5297
|
-
n("div",
|
5297
|
+
n("div", Ys, [
|
5298
5298
|
k(l.$slots, "default", {}, () => [
|
5299
5299
|
Z($(e.content), 1)
|
5300
5300
|
], !0)
|
@@ -5306,10 +5306,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5306
5306
|
_: 3
|
5307
5307
|
}, 8, ["name"]));
|
5308
5308
|
}
|
5309
|
-
},
|
5309
|
+
}, Xm = /* @__PURE__ */ he(Ws, [["__scopeId", "data-v-d8517c87"]]), Ks = { class: "rounded-full share-icon w-fit cursor-pointer text-oc-text-400 p-3 border border-gray-200" }, Gs = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Xs = {
|
5310
5310
|
key: 1,
|
5311
5311
|
class: "px-3 share-icon border border-oc-gray-200 rounded-full w-fit py-[6px] flex items-center gap-x-2"
|
5312
|
-
},
|
5312
|
+
}, Zs = { class: "text-sm" }, Zm = {
|
5313
5313
|
__name: "OcShareIcon",
|
5314
5314
|
props: {
|
5315
5315
|
text: String,
|
@@ -5322,10 +5322,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5322
5322
|
setup(e) {
|
5323
5323
|
return (s, a) => e.isOnlyIcon ? (t(), y(r(le), fe(F({ key: 0 }, e.tooltipOptions)), {
|
5324
5324
|
popper: S(() => [
|
5325
|
-
n("div",
|
5325
|
+
n("div", Gs, $(e.text), 1)
|
5326
5326
|
]),
|
5327
5327
|
default: S(() => [
|
5328
|
-
n("div",
|
5328
|
+
n("div", Ks, [
|
5329
5329
|
x(r(V), {
|
5330
5330
|
name: e.icon,
|
5331
5331
|
width: "20",
|
@@ -5334,25 +5334,25 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5334
5334
|
])
|
5335
5335
|
]),
|
5336
5336
|
_: 1
|
5337
|
-
}, 16)) : (t(), i("div",
|
5337
|
+
}, 16)) : (t(), i("div", Xs, [
|
5338
5338
|
x(r(V), {
|
5339
5339
|
name: e.icon,
|
5340
5340
|
width: "20",
|
5341
5341
|
height: "20"
|
5342
5342
|
}, null, 8, ["name"]),
|
5343
|
-
n("span",
|
5343
|
+
n("span", Zs, $(e.text), 1)
|
5344
5344
|
]));
|
5345
5345
|
}
|
5346
|
-
},
|
5346
|
+
}, Js = { class: "flex flex-col gap-y-2 w-full" }, Qs = { class: "flex gap-x-1 items-center" }, _s = {
|
5347
5347
|
key: 0,
|
5348
5348
|
class: "text-oc-error"
|
5349
|
-
},
|
5349
|
+
}, er = {
|
5350
5350
|
key: 0,
|
5351
5351
|
class: "px-3 py-2"
|
5352
|
-
},
|
5352
|
+
}, tr = {
|
5353
5353
|
key: 1,
|
5354
5354
|
class: "text-sm flex items-center text-oc-text-400"
|
5355
|
-
},
|
5355
|
+
}, lr = {
|
5356
5356
|
key: 2,
|
5357
5357
|
class: "text-sm text-oc-error flex items-center"
|
5358
5358
|
}, pe = {
|
@@ -5368,19 +5368,19 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5368
5368
|
labelClass: String
|
5369
5369
|
},
|
5370
5370
|
setup(e) {
|
5371
|
-
return (s, a) => (t(), i("div",
|
5371
|
+
return (s, a) => (t(), i("div", Js, [
|
5372
5372
|
e.label ? (t(), i("label", {
|
5373
5373
|
key: 0,
|
5374
5374
|
class: v(["text-sm flex items-center gap-x-3 font-medium text-oc-text-400", e.labelClass])
|
5375
5375
|
}, [
|
5376
|
-
n("span",
|
5376
|
+
n("span", Qs, [
|
5377
5377
|
Z($(e.label) + " ", 1),
|
5378
|
-
e.isRequired ? (t(), i("span",
|
5378
|
+
e.isRequired ? (t(), i("span", _s, "*")) : m("", !0)
|
5379
5379
|
]),
|
5380
5380
|
e.labelIcon ? (t(), y(r(le), fe(F({ key: 0 }, e.tooltipOptions)), {
|
5381
5381
|
popper: S(() => [
|
5382
5382
|
k(s.$slots, "tooltipText", {}, () => [
|
5383
|
-
e.tooltipText ? (t(), i("div",
|
5383
|
+
e.tooltipText ? (t(), i("div", er, $(e.tooltipText), 1)) : m("", !0)
|
5384
5384
|
])
|
5385
5385
|
]),
|
5386
5386
|
default: S(() => [
|
@@ -5394,18 +5394,18 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5394
5394
|
}, 16)) : m("", !0)
|
5395
5395
|
], 2)) : m("", !0),
|
5396
5396
|
k(s.$slots, "default"),
|
5397
|
-
(e.hint || s.$slots.hint) && !e.errorMessage ? (t(), i("div",
|
5397
|
+
(e.hint || s.$slots.hint) && !e.errorMessage ? (t(), i("div", tr, [
|
5398
5398
|
k(s.$slots, "hint", {}, () => [
|
5399
5399
|
Z($(e.hint), 1)
|
5400
5400
|
])
|
5401
5401
|
])) : m("", !0),
|
5402
|
-
e.errorMessage ? (t(), i("div",
|
5402
|
+
e.errorMessage ? (t(), i("div", lr, $(e.errorMessage), 1)) : m("", !0)
|
5403
5403
|
]));
|
5404
5404
|
}
|
5405
|
-
},
|
5405
|
+
}, ar = ["disabled"], nr = {
|
5406
5406
|
key: 2,
|
5407
5407
|
class: "overflow-hidden text-ellipsis"
|
5408
|
-
},
|
5408
|
+
}, or = {
|
5409
5409
|
__name: "OcButton",
|
5410
5410
|
props: {
|
5411
5411
|
label: String,
|
@@ -5486,7 +5486,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5486
5486
|
height: b.value[e.size],
|
5487
5487
|
name: e.leftIcon
|
5488
5488
|
}, null, 8, ["width", "class", "height", "name"])) : m("", !0),
|
5489
|
-
e.label ? (t(), i("span",
|
5489
|
+
e.label ? (t(), i("span", nr, $(e.label), 1)) : k(T.$slots, "default", { key: 3 }, void 0, !0),
|
5490
5490
|
e.rightIcon ? (t(), y(r(V), {
|
5491
5491
|
key: 4,
|
5492
5492
|
width: b.value[e.size],
|
@@ -5494,7 +5494,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5494
5494
|
name: e.rightIcon,
|
5495
5495
|
class: v(e.iconClass)
|
5496
5496
|
}, null, 8, ["width", "height", "name", "class"])) : m("", !0)
|
5497
|
-
], 42,
|
5497
|
+
], 42, ar),
|
5498
5498
|
e.isAdditionalArea && !e.isTransparent ? (t(), i("div", {
|
5499
5499
|
key: 0,
|
5500
5500
|
class: v(["border-y border-r flex cursor-pointer items-center justify-center oc-btn-add-area px-[6px] py-3 rounded-r-[inherit]", [o.value[e.size], e.variant]]),
|
@@ -5509,7 +5509,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5509
5509
|
], 2)) : m("", !0)
|
5510
5510
|
], 2));
|
5511
5511
|
}
|
5512
|
-
}, K = /* @__PURE__ */ he(
|
5512
|
+
}, K = /* @__PURE__ */ he(or, [["__scopeId", "data-v-af49bb32"]]), ir = { class: "w-[30px] h-[20px] flex items-center justify-center" }, sr = {
|
5513
5513
|
__name: "OcCardInput",
|
5514
5514
|
props: {
|
5515
5515
|
placeholder: String,
|
@@ -5556,7 +5556,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5556
5556
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => s.$emit("update:modelValue", l))
|
5557
5557
|
}, {
|
5558
5558
|
icon: S(() => [
|
5559
|
-
n("div",
|
5559
|
+
n("div", ir, [
|
5560
5560
|
x(r(V), {
|
5561
5561
|
name: `payment-methods/${e.cardType}`,
|
5562
5562
|
width: "20",
|
@@ -5567,7 +5567,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5567
5567
|
_: 1
|
5568
5568
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5569
5569
|
}
|
5570
|
-
},
|
5570
|
+
}, rr = ["value", "checked", "disabled"], Te = {
|
5571
5571
|
__name: "OcCheckbox",
|
5572
5572
|
props: {
|
5573
5573
|
modelValue: Boolean,
|
@@ -5626,14 +5626,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5626
5626
|
class: "h-0 w-0 hidden",
|
5627
5627
|
disabled: e.isDisabled,
|
5628
5628
|
onChange: d
|
5629
|
-
}, null, 40,
|
5629
|
+
}, null, 40, rr),
|
5630
5630
|
k(c.$slots, "after")
|
5631
5631
|
], 2)
|
5632
5632
|
]),
|
5633
5633
|
_: 3
|
5634
5634
|
}, 8, ["label", "hint", "error-message"]));
|
5635
5635
|
}
|
5636
|
-
},
|
5636
|
+
}, dr = {
|
5637
5637
|
__name: "OcCheckboxesGroup",
|
5638
5638
|
props: {
|
5639
5639
|
alignment: {
|
@@ -5712,14 +5712,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5712
5712
|
_: 1
|
5713
5713
|
}, 8, ["label", "error-message", "hint"]));
|
5714
5714
|
}
|
5715
|
-
},
|
5715
|
+
}, cr = { class: "flex gap-x-2 relative items-center text-oc-text-500 cursor-pointer transition-all duration-300" }, Jm = {
|
5716
5716
|
__name: "OcCriteria",
|
5717
5717
|
props: {
|
5718
5718
|
modelValue: Boolean,
|
5719
5719
|
label: String
|
5720
5720
|
},
|
5721
5721
|
setup(e) {
|
5722
|
-
return (s, a) => (t(), i("div",
|
5722
|
+
return (s, a) => (t(), i("div", cr, [
|
5723
5723
|
n("div", {
|
5724
5724
|
class: v([
|
5725
5725
|
"w-5 h-5 flex items-center justify-center rounded-full border transition-all duration-300",
|
@@ -5738,16 +5738,16 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5738
5738
|
}, $(e.label), 3)) : m("", !0)
|
5739
5739
|
]));
|
5740
5740
|
}
|
5741
|
-
},
|
5741
|
+
}, ur = {
|
5742
5742
|
key: 0,
|
5743
5743
|
class: "border-r border-gray-200 pr-3 py-3"
|
5744
|
-
},
|
5744
|
+
}, mr = { class: "flex flex-1 items-baseline gap-x-2" }, fr = {
|
5745
5745
|
key: 0,
|
5746
5746
|
class: "text-oc-text-300"
|
5747
|
-
},
|
5747
|
+
}, vr = { class: "flex items-center gap-x-1 w-full" }, gr = {
|
5748
5748
|
key: 0,
|
5749
5749
|
class: "text-oc-text-300"
|
5750
|
-
},
|
5750
|
+
}, pr = ["value", "readonly", "placeholder", "disabled", "autocomplete", "inputmode", "type"], xe = {
|
5751
5751
|
__name: "OcInput",
|
5752
5752
|
props: {
|
5753
5753
|
disabled: {
|
@@ -5879,7 +5879,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5879
5879
|
return (j = p.$refs.inputRef) == null ? void 0 : j.focus();
|
5880
5880
|
})
|
5881
5881
|
}, [
|
5882
|
-
p.$slots.trailing ? (t(), i("div",
|
5882
|
+
p.$slots.trailing ? (t(), i("div", ur, [
|
5883
5883
|
k(p.$slots, "trailing")
|
5884
5884
|
])) : m("", !0),
|
5885
5885
|
k(p.$slots, "icon", {}, () => [
|
@@ -5889,10 +5889,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5889
5889
|
name: e.icon
|
5890
5890
|
}, e.iconProps), null, 16, ["name"])) : m("", !0)
|
5891
5891
|
]),
|
5892
|
-
n("div",
|
5893
|
-
e.isInlineLabel && e.label ? (t(), i("label",
|
5894
|
-
n("div",
|
5895
|
-
e.preFill ? (t(), i("span",
|
5892
|
+
n("div", mr, [
|
5893
|
+
e.isInlineLabel && e.label ? (t(), i("label", fr, $(e.label) + ": ", 1)) : m("", !0),
|
5894
|
+
n("div", vr, [
|
5895
|
+
e.preFill ? (t(), i("span", gr, $(e.preFill), 1)) : m("", !0),
|
5896
5896
|
n("input", F({
|
5897
5897
|
ref_key: "inputRef",
|
5898
5898
|
ref: o,
|
@@ -5913,7 +5913,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5913
5913
|
}),
|
5914
5914
|
onInput: b[2] || (b[2] = (T) => p.$emit("update:modelValue", T.target.value)),
|
5915
5915
|
onPaste: b[3] || (b[3] = (T) => p.$emit("paste"))
|
5916
|
-
}), null, 16,
|
5916
|
+
}), null, 16, pr)
|
5917
5917
|
])
|
5918
5918
|
]),
|
5919
5919
|
p.$slots.leading || h.value ? (t(), i("div", {
|
@@ -5949,10 +5949,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
5949
5949
|
} : void 0
|
5950
5950
|
]), 1032, ["label", "label-class", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
5951
5951
|
}
|
5952
|
-
},
|
5952
|
+
}, yr = { class: "flex flex-1 items-baseline gap-x-2" }, xr = {
|
5953
5953
|
key: 0,
|
5954
5954
|
class: "text-oc-text-300"
|
5955
|
-
},
|
5955
|
+
}, hr = { class: "w-full flex flex-wrap gap-2" }, br = { key: 1 }, wr = ["value", "readonly", "placeholder", "disabled"], Qm = {
|
5956
5956
|
__name: "OcInputOption",
|
5957
5957
|
props: {
|
5958
5958
|
label: String,
|
@@ -6029,8 +6029,8 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6029
6029
|
default: S(() => {
|
6030
6030
|
var A, w;
|
6031
6031
|
return [
|
6032
|
-
n("div",
|
6033
|
-
e.isInlineLabel && e.label ? (t(), i("label",
|
6032
|
+
n("div", yr, [
|
6033
|
+
e.isInlineLabel && e.label ? (t(), i("label", xr, $(e.label) + ": ", 1)) : m("", !0),
|
6034
6034
|
n("div", {
|
6035
6035
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
6036
6036
|
onClick: C[4] || (C[4] = (O) => c.value.focus())
|
@@ -6041,7 +6041,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6041
6041
|
"pointer-events-none bg-oc-bg-dark": e.isDisabled
|
6042
6042
|
}])
|
6043
6043
|
}, [
|
6044
|
-
n("div",
|
6044
|
+
n("div", hr, [
|
6045
6045
|
k(j.$slots, "default", {
|
6046
6046
|
options: p.value,
|
6047
6047
|
areAllOptionsVisible: f.value
|
@@ -6063,7 +6063,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6063
6063
|
name: "minus",
|
6064
6064
|
width: "12",
|
6065
6065
|
height: "12"
|
6066
|
-
})) : (t(), i("span",
|
6066
|
+
})) : (t(), i("span", br, $(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
6067
6067
|
]),
|
6068
6068
|
_: 1
|
6069
6069
|
})) : m("", !0)
|
@@ -6082,7 +6082,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6082
6082
|
console.log("$event: ", O), h.value = !1, j.$emit("blur", O);
|
6083
6083
|
}),
|
6084
6084
|
onKeyup: C[3] || (C[3] = Fe((O) => T(O.target.value), ["enter"]))
|
6085
|
-
}, null, 42,
|
6085
|
+
}, null, 42, wr)
|
6086
6086
|
])
|
6087
6087
|
], 2)
|
6088
6088
|
])
|
@@ -6092,7 +6092,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6092
6092
|
_: 3
|
6093
6093
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6094
6094
|
}
|
6095
|
-
},
|
6095
|
+
}, $r = { class: "flex gap-x-2 items-center" }, kr = { class: "text-oc-text-400 font-medium text-sm" }, Sr = { class: "px-3 py-1 sticky top-0 bg-oc-bg-light z-[1000]" }, Cr = ["onClick"], Br = { class: "text-oc-text-300" }, Or = { class: "text-oc-text-400" }, Vr = {
|
6096
6096
|
__name: "OcPhoneInput",
|
6097
6097
|
props: {
|
6098
6098
|
countryCodes: { type: Array, default: () => [] },
|
@@ -6205,7 +6205,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6205
6205
|
ref: j,
|
6206
6206
|
class: "flex flex-col max-h-[300px] py-2 overflow-y-scroll hidden-scrollbar"
|
6207
6207
|
}, [
|
6208
|
-
n("div",
|
6208
|
+
n("div", Sr, [
|
6209
6209
|
x(r(xe), {
|
6210
6210
|
modelValue: u.value,
|
6211
6211
|
"onUpdate:modelValue": g[0] || (g[0] = (B) => u.value = B),
|
@@ -6239,17 +6239,17 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6239
6239
|
n("div", {
|
6240
6240
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${B.iso.toLowerCase()}`])
|
6241
6241
|
}, null, 2),
|
6242
|
-
n("span",
|
6243
|
-
n("span",
|
6244
|
-
], 10,
|
6242
|
+
n("span", Br, "+" + $(B.code), 1),
|
6243
|
+
n("span", Or, $(B.country), 1)
|
6244
|
+
], 10, Cr))), 128))
|
6245
6245
|
], 512)
|
6246
6246
|
]),
|
6247
6247
|
default: S(() => [
|
6248
|
-
n("div",
|
6248
|
+
n("div", $r, [
|
6249
6249
|
n("div", {
|
6250
6250
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
6251
6251
|
}, null, 2),
|
6252
|
-
n("span",
|
6252
|
+
n("span", kr, " +" + $(p(d.value)), 1),
|
6253
6253
|
x(r(V), {
|
6254
6254
|
width: "16",
|
6255
6255
|
height: "16",
|
@@ -6265,10 +6265,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6265
6265
|
}, 8, ["error-message", "model-value", "placeholder", "label", "is-inline-label", "disabled", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options", "onKeydown"]);
|
6266
6266
|
};
|
6267
6267
|
}
|
6268
|
-
},
|
6268
|
+
}, Ir = ["id", "value", "checked", "name", "disabled"], Tr = ["for"], Dr = {
|
6269
6269
|
key: 0,
|
6270
6270
|
class: "px-3 py-2 whitespace-nowrap"
|
6271
|
-
},
|
6271
|
+
}, Ar = {
|
6272
6272
|
__name: "OcRadio",
|
6273
6273
|
props: {
|
6274
6274
|
modelValue: [String, Boolean],
|
@@ -6306,7 +6306,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6306
6306
|
class: "radio-button__input absolute opacity-0 w-0 h-0",
|
6307
6307
|
type: "radio",
|
6308
6308
|
onInput: a[0] || (a[0] = (l) => s.$emit("update:modelValue", l.target.value))
|
6309
|
-
}, null, 40,
|
6309
|
+
}, null, 40, Ir),
|
6310
6310
|
n("label", {
|
6311
6311
|
for: e.groupName + e.id,
|
6312
6312
|
class: v(["radio-button__label flex gap-x-3 relative items-center cursor-pointer transition-all duration-300 text-oc-text-500", {
|
@@ -6338,7 +6338,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6338
6338
|
e.labelIcon ? (t(), y(r(le), fe(F({ key: 2 }, e.tooltipOptions)), {
|
6339
6339
|
popper: S(() => [
|
6340
6340
|
k(s.$slots, "tooltipText", {}, () => [
|
6341
|
-
e.tooltipText ? (t(), i("div",
|
6341
|
+
e.tooltipText ? (t(), i("div", Dr, $(e.tooltipText), 1)) : m("", !0)
|
6342
6342
|
])
|
6343
6343
|
]),
|
6344
6344
|
default: S(() => [
|
@@ -6351,12 +6351,12 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6351
6351
|
]),
|
6352
6352
|
_: 3
|
6353
6353
|
}, 16)) : m("", !0)
|
6354
|
-
], 10,
|
6354
|
+
], 10, Tr)
|
6355
6355
|
]),
|
6356
6356
|
_: 3
|
6357
6357
|
}, 8, ["class", "error-message", "hint"]));
|
6358
6358
|
}
|
6359
|
-
},
|
6359
|
+
}, Mr = {
|
6360
6360
|
__name: "OcRadioGroup",
|
6361
6361
|
props: {
|
6362
6362
|
alignment: {
|
@@ -6393,7 +6393,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6393
6393
|
n("div", {
|
6394
6394
|
class: v(["flex", [l.value[e.alignment], e.wrapperClass]])
|
6395
6395
|
}, [
|
6396
|
-
(t(!0), i(L, null, R(e.radio, (u, f) => (t(), y(r(
|
6396
|
+
(t(!0), i(L, null, R(e.radio, (u, f) => (t(), y(r(Ar), {
|
6397
6397
|
id: u.value,
|
6398
6398
|
key: f,
|
6399
6399
|
class: v({ "!w-fit": !e.isBlock }),
|
@@ -6416,10 +6416,10 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6416
6416
|
_: 1
|
6417
6417
|
}, 8, ["label", "error-message", "hint"]));
|
6418
6418
|
}
|
6419
|
-
},
|
6419
|
+
}, jr = { class: "flex flex-col gap-y-2 oc-range-input" }, Pr = { class: "flex gap-x-3" }, Lr = {
|
6420
6420
|
key: 0,
|
6421
6421
|
class: "flex pt-4"
|
6422
|
-
},
|
6422
|
+
}, Er = {
|
6423
6423
|
__name: "OcRangeInput",
|
6424
6424
|
props: {
|
6425
6425
|
maxLimit: {
|
@@ -6463,14 +6463,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6463
6463
|
};
|
6464
6464
|
return Ce(() => {
|
6465
6465
|
a.onlyInput || c.value.updateSlider();
|
6466
|
-
}), (b, T) => (t(), i("div",
|
6466
|
+
}), (b, T) => (t(), i("div", jr, [
|
6467
6467
|
x(r(pe), {
|
6468
6468
|
label: e.label,
|
6469
6469
|
hint: e.hint,
|
6470
6470
|
"error-message": e.errorMessage
|
6471
6471
|
}, {
|
6472
6472
|
default: S(() => [
|
6473
|
-
n("div",
|
6473
|
+
n("div", Pr, [
|
6474
6474
|
x(r(xe), {
|
6475
6475
|
"model-value": o.value,
|
6476
6476
|
label: "From",
|
@@ -6486,7 +6486,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6486
6486
|
"onUpdate:modelValue": T[1] || (T[1] = (j) => u(j, 1))
|
6487
6487
|
}, null, 8, ["model-value"])
|
6488
6488
|
]),
|
6489
|
-
e.onlyInput ? m("", !0) : (t(), i("div",
|
6489
|
+
e.onlyInput ? m("", !0) : (t(), i("div", Lr, [
|
6490
6490
|
x(r(wt), {
|
6491
6491
|
ref_key: "slider",
|
6492
6492
|
ref: c,
|
@@ -6503,25 +6503,25 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6503
6503
|
}, 8, ["label", "hint", "error-message"])
|
6504
6504
|
]));
|
6505
6505
|
}
|
6506
|
-
},
|
6506
|
+
}, zr = {
|
6507
6507
|
key: 0,
|
6508
6508
|
class: "flex flex-wrap gap-2 overflow-hidden"
|
6509
|
-
},
|
6509
|
+
}, Nr = {
|
6510
6510
|
key: 0,
|
6511
6511
|
class: "text-oc-text-300 md:text-base text-lg"
|
6512
|
-
},
|
6512
|
+
}, Rr = {
|
6513
6513
|
key: 2,
|
6514
6514
|
class: "whitespace-nowrap flex gap-x-3 text-lg md:text-base items-center overflow-hidden"
|
6515
|
-
},
|
6515
|
+
}, Fr = {
|
6516
6516
|
key: 1,
|
6517
6517
|
class: "text-oc-text-300"
|
6518
|
-
},
|
6518
|
+
}, Ur = {
|
6519
6519
|
key: 2,
|
6520
6520
|
class: "truncate"
|
6521
|
-
},
|
6521
|
+
}, qr = {
|
6522
6522
|
key: 0,
|
6523
6523
|
class: "sticky px-3 pt-3 top-0 z-10 bg-white"
|
6524
|
-
},
|
6524
|
+
}, Hr = { key: 0 }, Yr = {
|
6525
6525
|
__name: "OcSelect",
|
6526
6526
|
props: {
|
6527
6527
|
label: String,
|
@@ -6711,7 +6711,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6711
6711
|
"tooltip-options": e.tooltipOptions
|
6712
6712
|
}, ee({
|
6713
6713
|
tooltipText: S(() => [
|
6714
|
-
P.$slots.selectTooltipText ? (t(), i("div",
|
6714
|
+
P.$slots.selectTooltipText ? (t(), i("div", Hr, [
|
6715
6715
|
k(P.$slots, "selectTooltipText")
|
6716
6716
|
])) : m("", !0)
|
6717
6717
|
]),
|
@@ -6746,7 +6746,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6746
6746
|
ref: p,
|
6747
6747
|
class: "flex flex-col gap-y-2"
|
6748
6748
|
}, [
|
6749
|
-
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), i("div",
|
6749
|
+
e.isFilterable && !e.isInlineSearch || e.isFilterable && e.isInlineSearch && C.value ? (t(), i("div", qr, [
|
6750
6750
|
x(r(xe), {
|
6751
6751
|
ref_key: "searchInputRef",
|
6752
6752
|
ref: u,
|
@@ -6836,7 +6836,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6836
6836
|
}
|
6837
6837
|
]])
|
6838
6838
|
}, [
|
6839
|
-
e.multiple ? (t(), i("div",
|
6839
|
+
e.multiple ? (t(), i("div", zr, [
|
6840
6840
|
k(P.$slots, "selection", {}, () => [
|
6841
6841
|
(t(!0), i(L, null, R(e.maxVisibleOptions ? C.value.slice(0, e.maxVisibleOptions) : C.value, (U) => (t(), y(r(ae), F({
|
6842
6842
|
key: U.value,
|
@@ -6853,7 +6853,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6853
6853
|
label: `+${C.value.length - e.maxVisibleOptions}`
|
6854
6854
|
}, null, 8, ["label"])) : m("", !0)
|
6855
6855
|
]),
|
6856
|
-
C.value.length === 0 ? (t(), i("span",
|
6856
|
+
C.value.length === 0 ? (t(), i("span", Nr, $(e.placeholder), 1)) : m("", !0)
|
6857
6857
|
])) : m("", !0),
|
6858
6858
|
e.isInlineSearch && e.isFilterable && !C.value ? (t(), y(r(xe), {
|
6859
6859
|
key: 1,
|
@@ -6877,15 +6877,15 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6877
6877
|
]),
|
6878
6878
|
key: "0"
|
6879
6879
|
} : void 0
|
6880
|
-
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), i("span",
|
6880
|
+
]), 1032, ["modelValue", "placeholder", "is-readonly"])) : (t(), i("span", Rr, [
|
6881
6881
|
e.icon ? (t(), y(r(V), {
|
6882
6882
|
key: 0,
|
6883
6883
|
name: e.icon,
|
6884
6884
|
width: "16",
|
6885
6885
|
height: "16"
|
6886
6886
|
}, null, 8, ["name"])) : m("", !0),
|
6887
|
-
e.isInlineLabel && e.label ? (t(), i("span",
|
6888
|
-
C.value ? (t(), i("span",
|
6887
|
+
e.isInlineLabel && e.label ? (t(), i("span", Fr, $(e.label) + ": ", 1)) : m("", !0),
|
6888
|
+
C.value ? (t(), i("span", Ur, $(C.value.label), 1)) : (t(), i("span", {
|
6889
6889
|
key: 3,
|
6890
6890
|
class: v(e.dropdownClasses ? "" : "text-oc-text-300")
|
6891
6891
|
}, $(e.placeholder), 3))
|
@@ -6922,7 +6922,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6922
6922
|
} : void 0
|
6923
6923
|
]), 1032, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
6924
6924
|
}
|
6925
|
-
},
|
6925
|
+
}, Wr = { class: "w-full flex items-center gap-x-3" }, Kr = { class: "truncate" }, Gr = {
|
6926
6926
|
key: 0,
|
6927
6927
|
class: "text-sm text-oc-text-300"
|
6928
6928
|
}, gt = {
|
@@ -6960,14 +6960,14 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6960
6960
|
"is-partial": e.isPartial,
|
6961
6961
|
class: "!w-fit pointer-events-none"
|
6962
6962
|
}, null, 8, ["model-value", "is-partial"])) : m("", !0),
|
6963
|
-
n("div",
|
6963
|
+
n("div", Wr, [
|
6964
6964
|
k(l.$slots, "trailing"),
|
6965
6965
|
n("div", {
|
6966
6966
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
6967
6967
|
}, [
|
6968
|
-
n("span",
|
6968
|
+
n("span", Kr, $(e.label), 1),
|
6969
6969
|
k(l.$slots, "sub-label", {}, () => [
|
6970
|
-
e.subLabel ? (t(), i("span",
|
6970
|
+
e.subLabel ? (t(), i("span", Gr, $(e.subLabel), 1)) : m("", !0)
|
6971
6971
|
])
|
6972
6972
|
], 2),
|
6973
6973
|
k(l.$slots, "leading")
|
@@ -6987,21 +6987,21 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
6987
6987
|
k(l.$slots, "after")
|
6988
6988
|
], 512));
|
6989
6989
|
}
|
6990
|
-
},
|
6990
|
+
}, Xr = { class: "flex flex-col" }, Zr = { class: "px-3 pt-3 pb-2 border-y border-white text-oc-text uppercase text-xs font-medium" }, _m = {
|
6991
6991
|
__name: "OcGroupOptions",
|
6992
6992
|
props: {
|
6993
6993
|
label: String
|
6994
6994
|
},
|
6995
6995
|
setup(e) {
|
6996
|
-
return (s, a) => (t(), i("div",
|
6997
|
-
n("div",
|
6996
|
+
return (s, a) => (t(), i("div", Xr, [
|
6997
|
+
n("div", Zr, $(e.label), 1),
|
6998
6998
|
k(s.$slots, "default")
|
6999
6999
|
]));
|
7000
7000
|
}
|
7001
|
-
},
|
7001
|
+
}, Jr = { class: "flex text-oc-text-400 items-center gap-x-2" }, Qr = {
|
7002
7002
|
key: 0,
|
7003
7003
|
class: "flex flex-col p-2 py-3 gap-2"
|
7004
|
-
},
|
7004
|
+
}, _r = ["onClick"], ed = {
|
7005
7005
|
__name: "OcLinkInput",
|
7006
7006
|
props: {
|
7007
7007
|
placeholder: String,
|
@@ -7086,7 +7086,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
7086
7086
|
distance: 10
|
7087
7087
|
}, {
|
7088
7088
|
menu: S(() => [
|
7089
|
-
e.isEdit ? m("", !0) : (t(), i("div",
|
7089
|
+
e.isEdit ? m("", !0) : (t(), i("div", Qr, [
|
7090
7090
|
(t(!0), i(L, null, R(e.links, (g) => (t(), i("div", {
|
7091
7091
|
key: g.value,
|
7092
7092
|
class: "flex rounded-sm items-center px-3 py-2 gap-x-3 cursor-pointer text-oc-text-400 hover:bg-gray-50",
|
@@ -7098,11 +7098,11 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
7098
7098
|
name: g.icon
|
7099
7099
|
}, null, 8, ["name"]),
|
7100
7100
|
Z(" " + $(g.label), 1)
|
7101
|
-
], 8,
|
7101
|
+
], 8, _r))), 128))
|
7102
7102
|
]))
|
7103
7103
|
]),
|
7104
7104
|
default: S(() => [
|
7105
|
-
n("div",
|
7105
|
+
n("div", Jr, [
|
7106
7106
|
u.value.icon ? (t(), y(r(V), {
|
7107
7107
|
key: 0,
|
7108
7108
|
width: "20",
|
@@ -7124,7 +7124,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
7124
7124
|
}, 8, ["placeholder", "label", "error-message", "is-inline-label", "disabled", "hint", "pre-fill", "model-value", "is-required", "label-icon", "tooltip-text", "tooltip-options"])
|
7125
7125
|
]));
|
7126
7126
|
}
|
7127
|
-
},
|
7127
|
+
}, td = ["disabled", "value", "rows", "placeholder"], ld = "18px", ad = {
|
7128
7128
|
__name: "OcTextArea",
|
7129
7129
|
props: {
|
7130
7130
|
placeholder: String,
|
@@ -7158,7 +7158,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
7158
7158
|
setup(e, { emit: s }) {
|
7159
7159
|
const a = s, l = M(!1), o = (d) => {
|
7160
7160
|
const c = d.target;
|
7161
|
-
c && (c.style.height =
|
7161
|
+
c && (c.style.height = ld, c.style.height = c.scrollHeight + "px", a("update:modelValue", c.value));
|
7162
7162
|
};
|
7163
7163
|
return (d, c) => (t(), y(r(pe), {
|
7164
7164
|
label: e.label,
|
@@ -7182,7 +7182,7 @@ const tt = /* @__PURE__ */ he(es, [["render", ls]]), as = { class: "flex" }, ns
|
|
7182
7182
|
onInput: o,
|
7183
7183
|
onFocus: c[0] || (c[0] = (u) => l.value = !0),
|
7184
7184
|
onBlur: c[1] || (c[1] = (u) => l.value = !1)
|
7185
|
-
}, null, 42,
|
7185
|
+
}, null, 42, td)
|
7186
7186
|
]),
|
7187
7187
|
_: 1
|
7188
7188
|
}, 8, ["label", "error-message", "hint", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
@@ -7205,8 +7205,8 @@ var Ot = { exports: {} };
|
|
7205
7205
|
};
|
7206
7206
|
});
|
7207
7207
|
})(Ot);
|
7208
|
-
var
|
7209
|
-
const Vt = /* @__PURE__ */ We(
|
7208
|
+
var nd = Ot.exports;
|
7209
|
+
const Vt = /* @__PURE__ */ We(nd);
|
7210
7210
|
var It = { exports: {} };
|
7211
7211
|
(function(e, s) {
|
7212
7212
|
(function(a, l) {
|
@@ -7219,8 +7219,8 @@ var It = { exports: {} };
|
|
7219
7219
|
};
|
7220
7220
|
});
|
7221
7221
|
})(It);
|
7222
|
-
var
|
7223
|
-
const Tt = /* @__PURE__ */ We(
|
7222
|
+
var od = It.exports;
|
7223
|
+
const Tt = /* @__PURE__ */ We(od);
|
7224
7224
|
var Dt = { exports: {} };
|
7225
7225
|
(function(e, s) {
|
7226
7226
|
(function(a, l) {
|
@@ -7233,8 +7233,8 @@ var Dt = { exports: {} };
|
|
7233
7233
|
};
|
7234
7234
|
});
|
7235
7235
|
})(Dt);
|
7236
|
-
var
|
7237
|
-
const At = /* @__PURE__ */ We(
|
7236
|
+
var id = Dt.exports;
|
7237
|
+
const At = /* @__PURE__ */ We(id);
|
7238
7238
|
var Mt = { exports: {} };
|
7239
7239
|
(function(e, s) {
|
7240
7240
|
(function(a, l) {
|
@@ -7356,53 +7356,53 @@ var Mt = { exports: {} };
|
|
7356
7356
|
};
|
7357
7357
|
});
|
7358
7358
|
})(Mt);
|
7359
|
-
var
|
7360
|
-
const ot = /* @__PURE__ */ We(
|
7361
|
-
var
|
7362
|
-
function
|
7363
|
-
var s =
|
7359
|
+
var sd = Mt.exports;
|
7360
|
+
const ot = /* @__PURE__ */ We(sd);
|
7361
|
+
var rd = typeof global == "object" && global && global.Object === Object && global, dd = typeof self == "object" && self && self.Object === Object && self, jt = rd || dd || Function("return this")(), qe = jt.Symbol, Pt = Object.prototype, cd = Pt.hasOwnProperty, ud = Pt.toString, Pe = qe ? qe.toStringTag : void 0;
|
7362
|
+
function md(e) {
|
7363
|
+
var s = cd.call(e, Pe), a = e[Pe];
|
7364
7364
|
try {
|
7365
7365
|
e[Pe] = void 0;
|
7366
7366
|
var l = !0;
|
7367
7367
|
} catch {
|
7368
7368
|
}
|
7369
|
-
var o =
|
7369
|
+
var o = ud.call(e);
|
7370
7370
|
return l && (s ? e[Pe] = a : delete e[Pe]), o;
|
7371
7371
|
}
|
7372
|
-
var
|
7373
|
-
function
|
7374
|
-
return
|
7375
|
-
}
|
7376
|
-
var gd = "[object Null]", pd = "[object Undefined]", pt = qe ? qe.toStringTag : void 0;
|
7377
|
-
function yd(e) {
|
7378
|
-
return e == null ? e === void 0 ? pd : gd : pt && pt in Object(e) ? ud(e) : vd(e);
|
7372
|
+
var fd = Object.prototype, vd = fd.toString;
|
7373
|
+
function gd(e) {
|
7374
|
+
return vd.call(e);
|
7379
7375
|
}
|
7376
|
+
var pd = "[object Null]", yd = "[object Undefined]", pt = qe ? qe.toStringTag : void 0;
|
7380
7377
|
function xd(e) {
|
7378
|
+
return e == null ? e === void 0 ? yd : pd : pt && pt in Object(e) ? md(e) : gd(e);
|
7379
|
+
}
|
7380
|
+
function hd(e) {
|
7381
7381
|
return e != null && typeof e == "object";
|
7382
7382
|
}
|
7383
|
-
var
|
7384
|
-
function
|
7385
|
-
return typeof e == "symbol" ||
|
7383
|
+
var bd = "[object Symbol]";
|
7384
|
+
function wd(e) {
|
7385
|
+
return typeof e == "symbol" || hd(e) && xd(e) == bd;
|
7386
7386
|
}
|
7387
|
-
var
|
7388
|
-
function
|
7389
|
-
for (var s = e.length; s-- &&
|
7387
|
+
var $d = /\s/;
|
7388
|
+
function kd(e) {
|
7389
|
+
for (var s = e.length; s-- && $d.test(e.charAt(s)); )
|
7390
7390
|
;
|
7391
7391
|
return s;
|
7392
7392
|
}
|
7393
|
-
var
|
7394
|
-
function
|
7395
|
-
return e && e.slice(0,
|
7393
|
+
var Sd = /^\s+/;
|
7394
|
+
function Cd(e) {
|
7395
|
+
return e && e.slice(0, kd(e) + 1).replace(Sd, "");
|
7396
7396
|
}
|
7397
7397
|
function lt(e) {
|
7398
7398
|
var s = typeof e;
|
7399
7399
|
return e != null && (s == "object" || s == "function");
|
7400
7400
|
}
|
7401
|
-
var yt = NaN,
|
7401
|
+
var yt = NaN, Bd = /^[-+]0x[0-9a-f]+$/i, Od = /^0b[01]+$/i, Vd = /^0o[0-7]+$/i, Id = parseInt;
|
7402
7402
|
function xt(e) {
|
7403
7403
|
if (typeof e == "number")
|
7404
7404
|
return e;
|
7405
|
-
if (
|
7405
|
+
if (wd(e))
|
7406
7406
|
return yt;
|
7407
7407
|
if (lt(e)) {
|
7408
7408
|
var s = typeof e.valueOf == "function" ? e.valueOf() : e;
|
@@ -7410,18 +7410,18 @@ function xt(e) {
|
|
7410
7410
|
}
|
7411
7411
|
if (typeof e != "string")
|
7412
7412
|
return e === 0 ? e : +e;
|
7413
|
-
e =
|
7414
|
-
var a =
|
7415
|
-
return a ||
|
7413
|
+
e = Cd(e);
|
7414
|
+
var a = Od.test(e);
|
7415
|
+
return a || Vd.test(e) ? Id(e.slice(2), a ? 2 : 8) : Bd.test(e) ? yt : +e;
|
7416
7416
|
}
|
7417
7417
|
var et = function() {
|
7418
7418
|
return jt.Date.now();
|
7419
|
-
},
|
7420
|
-
function
|
7419
|
+
}, Td = "Expected a function", Dd = Math.max, Ad = Math.min;
|
7420
|
+
function Md(e, s, a) {
|
7421
7421
|
var l, o, d, c, u, f, h = 0, p = !1, b = !1, T = !0;
|
7422
7422
|
if (typeof e != "function")
|
7423
|
-
throw new TypeError(
|
7424
|
-
s = xt(s) || 0, lt(a) && (p = !!a.leading, b = "maxWait" in a, d = b ?
|
7423
|
+
throw new TypeError(Td);
|
7424
|
+
s = xt(s) || 0, lt(a) && (p = !!a.leading, b = "maxWait" in a, d = b ? Dd(xt(a.maxWait) || 0, s) : d, T = "trailing" in a ? !!a.trailing : T);
|
7425
7425
|
function j(E) {
|
7426
7426
|
var P = l, D = o;
|
7427
7427
|
return l = o = void 0, h = E, c = e.apply(D, P), c;
|
@@ -7431,7 +7431,7 @@ function Ad(e, s, a) {
|
|
7431
7431
|
}
|
7432
7432
|
function A(E) {
|
7433
7433
|
var P = E - f, D = E - h, U = s - P;
|
7434
|
-
return b ?
|
7434
|
+
return b ? Ad(U, d - D) : U;
|
7435
7435
|
}
|
7436
7436
|
function w(E) {
|
7437
7437
|
var P = E - f, D = E - h;
|
@@ -7464,13 +7464,13 @@ function Ad(e, s, a) {
|
|
7464
7464
|
}
|
7465
7465
|
return N.cancel = I, N.flush = B, N;
|
7466
7466
|
}
|
7467
|
-
const
|
7467
|
+
const jd = { class: "flex items-center justify-between" }, Pd = { class: "flex flex-col gap-2 p-3" }, Ld = { class: "flex justify-between items-center" }, Ed = { key: 0 }, zd = { key: 1 }, Nd = {
|
7468
7468
|
key: 0,
|
7469
7469
|
class: "grid grid-cols-3 gap-3"
|
7470
|
-
},
|
7470
|
+
}, Rd = ["onClick"], Fd = {
|
7471
7471
|
key: 1,
|
7472
7472
|
class: "grid grid-cols-3 gap-3"
|
7473
|
-
},
|
7473
|
+
}, Ud = ["onClick"], qd = ["onClick", "onMouseover"], Hd = { key: 0 }, Yd = { class: "flex gap-x-3 justify-end" }, Wd = {
|
7474
7474
|
__name: "OcCalendar",
|
7475
7475
|
props: {
|
7476
7476
|
type: {
|
@@ -7577,7 +7577,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7577
7577
|
return;
|
7578
7578
|
}
|
7579
7579
|
c.value = Y, f.value = q, X && $e();
|
7580
|
-
}, ke =
|
7580
|
+
}, ke = Md((q) => {
|
7581
7581
|
T.value && Be(q, !1);
|
7582
7582
|
}, 50), Q = () => {
|
7583
7583
|
var X, Y, ue;
|
@@ -7592,7 +7592,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7592
7592
|
return Q(), (q, X) => (t(), i("div", {
|
7593
7593
|
class: v(["p-6 w-fit rounded flex flex-col gap-y-7", e.position === "floating" ? "shadow-normal bg-white" : ""])
|
7594
7594
|
}, [
|
7595
|
-
n("div",
|
7595
|
+
n("div", jd, [
|
7596
7596
|
x(r(oe), {
|
7597
7597
|
modelValue: C.value,
|
7598
7598
|
"onUpdate:modelValue": X[1] || (X[1] = (Y) => C.value = Y),
|
@@ -7603,8 +7603,8 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7603
7603
|
"popper-options": { strategy: "fixed" }
|
7604
7604
|
}, {
|
7605
7605
|
menu: S(() => [
|
7606
|
-
n("div",
|
7607
|
-
n("div",
|
7606
|
+
n("div", Pd, [
|
7607
|
+
n("div", Ld, [
|
7608
7608
|
x(r(K), {
|
7609
7609
|
"left-icon": "chevron-left",
|
7610
7610
|
"is-transparent": "",
|
@@ -7614,7 +7614,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7614
7614
|
class: "cursor-pointer hover:opacity-50 transition",
|
7615
7615
|
onClick: X[0] || (X[0] = (Y) => j.value = !j.value)
|
7616
7616
|
}, [
|
7617
|
-
j.value ? (t(), i("div",
|
7617
|
+
j.value ? (t(), i("div", Ed, $(I.value - 11) + " - " + $(I.value), 1)) : (t(), i("div", zd, $(I.value), 1))
|
7618
7618
|
]),
|
7619
7619
|
x(r(K), {
|
7620
7620
|
"left-icon": "chevron-right",
|
@@ -7622,22 +7622,22 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7622
7622
|
onClick: re
|
7623
7623
|
})
|
7624
7624
|
]),
|
7625
|
-
j.value ? (t(), i("div",
|
7625
|
+
j.value ? (t(), i("div", Nd, [
|
7626
7626
|
(t(!0), i(L, null, R(Oe(I.value - 11), (Y) => (t(), i("div", {
|
7627
7627
|
key: Y,
|
7628
7628
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7629
7629
|
"!border-oc-primary bg-oc-primary text-white": o.value.year() === Y
|
7630
7630
|
}]),
|
7631
7631
|
onClick: (ue) => _(Y)
|
7632
|
-
}, $(Y), 11,
|
7633
|
-
])) : (t(), i("div",
|
7632
|
+
}, $(Y), 11, Rd))), 128))
|
7633
|
+
])) : (t(), i("div", Fd, [
|
7634
7634
|
(t(), i(L, null, R(O, (Y, ue) => n("div", {
|
7635
7635
|
key: Y,
|
7636
7636
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7637
7637
|
"!border-oc-primary bg-oc-primary text-white": B.value === Y
|
7638
7638
|
}]),
|
7639
7639
|
onClick: (je) => te(ue)
|
7640
|
-
}, $(Y), 11,
|
7640
|
+
}, $(Y), 11, Ud)), 64))
|
7641
7641
|
]))
|
7642
7642
|
])
|
7643
7643
|
]),
|
@@ -7686,11 +7686,11 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7686
7686
|
]]),
|
7687
7687
|
onClick: (je) => Be(Y),
|
7688
7688
|
onMouseover: (je) => r(ke)(Y)
|
7689
|
-
}, $(Y), 43,
|
7689
|
+
}, $(Y), 43, qd);
|
7690
7690
|
}), 128))
|
7691
7691
|
], 32),
|
7692
7692
|
k(q.$slots, "bottom", {}, () => [
|
7693
|
-
e.isIndefinite ? (t(), i("span",
|
7693
|
+
e.isIndefinite ? (t(), i("span", Hd, [
|
7694
7694
|
x(r(Te), {
|
7695
7695
|
modelValue: b.value,
|
7696
7696
|
"onUpdate:modelValue": [
|
@@ -7701,7 +7701,7 @@ const Md = { class: "flex items-center justify-between" }, jd = { class: "flex f
|
|
7701
7701
|
}, null, 8, ["modelValue", "label"])
|
7702
7702
|
])) : m("", !0)
|
7703
7703
|
]),
|
7704
|
-
n("div",
|
7704
|
+
n("div", Yd, [
|
7705
7705
|
x(r(K), {
|
7706
7706
|
label: "Reset",
|
7707
7707
|
class: "w-[72px]",
|
@@ -7716,13 +7716,13 @@ W.extend(Vt);
|
|
7716
7716
|
W.extend(Tt);
|
7717
7717
|
W.extend(At);
|
7718
7718
|
W.extend(ot);
|
7719
|
-
const
|
7719
|
+
const Kd = { class: "flex flex-col gap-y-2 w-full" }, Gd = { class: "flex w-full" }, Xd = {
|
7720
7720
|
key: 0,
|
7721
7721
|
class: "text-sm text-oc-error flex items-center"
|
7722
|
-
},
|
7722
|
+
}, Zd = {
|
7723
7723
|
key: 1,
|
7724
7724
|
class: "flex flex-wrap cursor-pointer"
|
7725
|
-
},
|
7725
|
+
}, Jd = { class: "flex items-center gap-x-3" }, Qd = ["value"], _d = { class: "flex items-center gap-x-3" }, ec = ["value"], tc = {
|
7726
7726
|
__name: "DatePicker",
|
7727
7727
|
props: {
|
7728
7728
|
modelValue: {
|
@@ -7857,7 +7857,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7857
7857
|
}, () => {
|
7858
7858
|
var I, B;
|
7859
7859
|
return [
|
7860
|
-
f.value ? (t(), y(r(
|
7860
|
+
f.value ? (t(), y(r(Hu), {
|
7861
7861
|
key: 0,
|
7862
7862
|
"model-value": {
|
7863
7863
|
start: (I = e.modelValue) == null ? void 0 : I[0],
|
@@ -7871,7 +7871,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7871
7871
|
"max-date": e.maxDate,
|
7872
7872
|
masks: { modelValue: e.dateFormat },
|
7873
7873
|
"onUpdate:modelValue": p
|
7874
|
-
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), y(r(
|
7874
|
+
}, null, 8, ["model-value", "shortcuts", "count-calendars", "min-date", "max-date", "masks"])) : !e.disabled && g ? (t(), y(r(Wd), {
|
7875
7875
|
key: 1,
|
7876
7876
|
"model-value": h.value ? h.value.toDate() : /* @__PURE__ */ new Date(),
|
7877
7877
|
"disabled-date": d.value ? T : e.disabledDate,
|
@@ -7888,9 +7888,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7888
7888
|
})
|
7889
7889
|
]),
|
7890
7890
|
default: S(() => [
|
7891
|
-
n("div",
|
7891
|
+
n("div", Kd, [
|
7892
7892
|
!e.isSplitInput || !f.value ? (t(), i(L, { key: 0 }, [
|
7893
|
-
n("div",
|
7893
|
+
n("div", Gd, [
|
7894
7894
|
x(r(xe), {
|
7895
7895
|
"model-value": f.value ? e.modelValue && e.modelValue[0] ? `${h.value[0].format(e.dateFormat)} - ${h.value[1].format(e.dateFormat)}` : "" : e.modelValue === "Indefinite" ? "Indefinite" : e.modelValue ? h.value.format(e.dateFormat) : "",
|
7896
7896
|
icon: "calendar",
|
@@ -7901,8 +7901,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7901
7901
|
placeholder: e.placeholder
|
7902
7902
|
}, null, 8, ["model-value", "label", "hint", "is-required", "disabled", "placeholder"])
|
7903
7903
|
]),
|
7904
|
-
e.errorMessage ? (t(), i("div",
|
7905
|
-
], 64)) : (t(), i("div",
|
7904
|
+
e.errorMessage ? (t(), i("div", Xd, $(e.errorMessage), 1)) : m("", !0)
|
7905
|
+
], 64)) : (t(), i("div", Zd, [
|
7906
7906
|
x(r(pe), {
|
7907
7907
|
"error-message": c.value ? `Invalid Date. Try this format (${e.dateFormat})` : e.errorMessage,
|
7908
7908
|
hint: e.hint,
|
@@ -7920,7 +7920,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7920
7920
|
]]),
|
7921
7921
|
onClick: O[2] || (O[2] = (g) => o.value ? g.stopPropagation : null)
|
7922
7922
|
}, [
|
7923
|
-
n("div",
|
7923
|
+
n("div", Jd, [
|
7924
7924
|
x(r(V), {
|
7925
7925
|
name: "calendar",
|
7926
7926
|
class: "text-oc-text-400"
|
@@ -7932,10 +7932,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7932
7932
|
onInput: O[0] || (O[0] = (g) => C(g.target.value, 0)),
|
7933
7933
|
onKeydown: Fe(A, ["enter"]),
|
7934
7934
|
onBlur: A
|
7935
|
-
}, null, 40,
|
7935
|
+
}, null, 40, Qd)
|
7936
7936
|
]),
|
7937
7937
|
O[4] || (O[4] = n("span", { class: "text-oc-text-400" }, "To", -1)),
|
7938
|
-
n("div",
|
7938
|
+
n("div", _d, [
|
7939
7939
|
n("input", {
|
7940
7940
|
placeholder: "End date",
|
7941
7941
|
value: h.value[1] ? h.value[1].format(e.dateFormat) : "",
|
@@ -7943,7 +7943,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7943
7943
|
onInput: O[1] || (O[1] = (g) => C(g.target.value, 1)),
|
7944
7944
|
onKeydown: Fe(A, ["enter"]),
|
7945
7945
|
onBlur: A
|
7946
|
-
}, null, 40,
|
7946
|
+
}, null, 40, ec),
|
7947
7947
|
x(r(V), {
|
7948
7948
|
class: v([h.value.every(Boolean) ? "opacity-100" : "opacity-0", "text-oc-text-400"]),
|
7949
7949
|
width: "16",
|
@@ -7962,10 +7962,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7962
7962
|
_: 3
|
7963
7963
|
}, 8, ["modelValue", "is-disabled"]));
|
7964
7964
|
}
|
7965
|
-
},
|
7965
|
+
}, lc = { class: "flex" }, ac = { class: "flex flex-col gap-y-1 flex-1" }, nc = { class: "font-medium gap-x-3 flex items-center" }, oc = { class: "px-2 py-1 text-sm text-oc-text-400" }, ic = {
|
7966
7966
|
key: 1,
|
7967
7967
|
class: "text-sm text-oc-error flex items-center"
|
7968
|
-
},
|
7968
|
+
}, sc = {
|
7969
7969
|
__name: "OcSectionItem",
|
7970
7970
|
props: {
|
7971
7971
|
title: String,
|
@@ -7991,16 +7991,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
7991
7991
|
emits: ["update:modelValue"],
|
7992
7992
|
setup(e, { emit: s }) {
|
7993
7993
|
const a = e, l = s;
|
7994
|
-
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), i("div",
|
7995
|
-
n("div",
|
7996
|
-
n("div",
|
7994
|
+
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (o, d) => (t(), i("div", lc, [
|
7995
|
+
n("div", ac, [
|
7996
|
+
n("div", nc, [
|
7997
7997
|
Z($(e.title) + " ", 1),
|
7998
7998
|
x(r(le), {
|
7999
7999
|
position: "top",
|
8000
8000
|
distance: 4
|
8001
8001
|
}, {
|
8002
8002
|
popper: S(() => [
|
8003
|
-
n("div",
|
8003
|
+
n("div", oc, $(e.popperMessage), 1)
|
8004
8004
|
]),
|
8005
8005
|
default: S(() => [
|
8006
8006
|
e.icon ? (t(), y(r(V), {
|
@@ -8018,7 +8018,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8018
8018
|
key: 0,
|
8019
8019
|
class: v(["text-oc-text-400 text-sm", e.descriptionClass])
|
8020
8020
|
}, $(e.description), 3)) : m("", !0),
|
8021
|
-
e.errorMessage ? (t(), i("div",
|
8021
|
+
e.errorMessage ? (t(), i("div", ic, $(e.errorMessage), 1)) : m("", !0)
|
8022
8022
|
]),
|
8023
8023
|
k(o.$slots, "actions", {}, () => [
|
8024
8024
|
e.isToggle ? (t(), y(r($t), F({
|
@@ -8030,13 +8030,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8030
8030
|
])
|
8031
8031
|
]));
|
8032
8032
|
}
|
8033
|
-
},
|
8033
|
+
}, rc = {
|
8034
8034
|
key: 0,
|
8035
8035
|
class: "flex gap-3 border border-oc-gray-200 p-3 rounded cursor-pointer"
|
8036
|
-
},
|
8036
|
+
}, dc = ["onClick"], cc = ["src"], uc = {
|
8037
8037
|
key: 0,
|
8038
8038
|
class: "flex text-sm text-oc-text-400 mt-2"
|
8039
|
-
},
|
8039
|
+
}, mc = {
|
8040
8040
|
__name: "OcSelectOptions",
|
8041
8041
|
props: {
|
8042
8042
|
variant: {
|
@@ -8101,7 +8101,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8101
8101
|
}
|
8102
8102
|
]])
|
8103
8103
|
}, [
|
8104
|
-
e.optionType === "icon" ? (t(), i("div",
|
8104
|
+
e.optionType === "icon" ? (t(), i("div", rc, [
|
8105
8105
|
(t(!0), i(L, null, R(e.options, (f) => (t(), i("div", {
|
8106
8106
|
key: f.value,
|
8107
8107
|
class: v(["p-1", {
|
@@ -8135,7 +8135,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8135
8135
|
"w-[50px]": !d.value
|
8136
8136
|
}]),
|
8137
8137
|
src: f.preview
|
8138
|
-
}, null, 10,
|
8138
|
+
}, null, 10, cc)) : m("", !0),
|
8139
8139
|
n("div", {
|
8140
8140
|
class: v(["mt-2", [d.value ? "text-center" : "px-3", e.borderless ? "flex-1" : ""]])
|
8141
8141
|
}, [
|
@@ -8146,7 +8146,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8146
8146
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
8147
8147
|
}])
|
8148
8148
|
}, $(f.label), 3),
|
8149
|
-
f.description ? (t(), i("div",
|
8149
|
+
f.description ? (t(), i("div", uc, $(f.description), 1)) : m("", !0)
|
8150
8150
|
], 2),
|
8151
8151
|
e.borderless ? (t(), y(r(V), {
|
8152
8152
|
key: 1,
|
@@ -8156,16 +8156,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8156
8156
|
class: v(["text-oc-primary", f.value.toString() === e.modelValue.toString() ? "opacity-100" : "opacity-0"])
|
8157
8157
|
}, null, 8, ["class"])) : m("", !0)
|
8158
8158
|
])
|
8159
|
-
], 10,
|
8159
|
+
], 10, dc))), 128))
|
8160
8160
|
], 2)
|
8161
8161
|
]),
|
8162
8162
|
_: 3
|
8163
8163
|
}, 8, ["label", "hint", "error-message", "is-required", "label-icon", "tooltip-text", "tooltip-options"]));
|
8164
8164
|
}
|
8165
|
-
},
|
8165
|
+
}, fc = { class: "flex gap-x-3" }, vc = {
|
8166
8166
|
key: 0,
|
8167
8167
|
class: "border rounded p-3 min-h-[140px] h-full"
|
8168
|
-
},
|
8168
|
+
}, gc = ["accept"], pc = { class: "py-2 flex flex-col" }, yc = ["src"], xc = /* @__PURE__ */ J({
|
8169
8169
|
__name: "OcSingleOnlyImageUpload",
|
8170
8170
|
props: {
|
8171
8171
|
accept: {
|
@@ -8190,12 +8190,12 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8190
8190
|
};
|
8191
8191
|
return (h, p) => {
|
8192
8192
|
var b, T;
|
8193
|
-
return t(), i("div",
|
8193
|
+
return t(), i("div", fc, [
|
8194
8194
|
(b = e.uploadedImage) != null && b.fileUrl ? m("", !0) : (t(), i("label", {
|
8195
8195
|
key: 0,
|
8196
8196
|
class: v([{ "flex-1": e.showUploadImageArea }, "relative group overflow-hidden"])
|
8197
8197
|
}, [
|
8198
|
-
e.showUploadImageArea ? (t(), i("div",
|
8198
|
+
e.showUploadImageArea ? (t(), i("div", vc, [
|
8199
8199
|
n("div", {
|
8200
8200
|
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 }])
|
8201
8201
|
}, [
|
@@ -8219,7 +8219,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8219
8219
|
onDragover: p[1] || (p[1] = (j) => u.value = !0),
|
8220
8220
|
onDragleave: p[2] || (p[2] = (j) => u.value = !1),
|
8221
8221
|
onDrop: p[3] || (p[3] = (j) => u.value = !1)
|
8222
|
-
}, null, 40,
|
8222
|
+
}, null, 40, gc)
|
8223
8223
|
], 2)),
|
8224
8224
|
(T = e.uploadedImage) != null && T.fileUrl ? (t(), i("div", {
|
8225
8225
|
key: 1,
|
@@ -8232,7 +8232,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8232
8232
|
class: "absolute top-2 right-2 z-[1010]"
|
8233
8233
|
}, {
|
8234
8234
|
menu: S(() => [
|
8235
|
-
n("div",
|
8235
|
+
n("div", pc, [
|
8236
8236
|
n("div", {
|
8237
8237
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8238
8238
|
onClick: p[4] || (p[4] = () => {
|
@@ -8273,7 +8273,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8273
8273
|
src: e.uploadedImage.fileUrl,
|
8274
8274
|
alt: "uploaded-image",
|
8275
8275
|
class: "object-contain h-full w-full"
|
8276
|
-
}, null, 8,
|
8276
|
+
}, null, 8, yc)
|
8277
8277
|
], 2)) : m("", !0),
|
8278
8278
|
(t(), y(Rt, { to: "body" }, [
|
8279
8279
|
d.value ? (t(), y(r(it), {
|
@@ -8290,13 +8290,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8290
8290
|
]);
|
8291
8291
|
};
|
8292
8292
|
}
|
8293
|
-
}),
|
8293
|
+
}), hc = ["accept"], bc = {
|
8294
8294
|
key: 0,
|
8295
8295
|
class: "py-2 flex flex-col items-center gap-y-4"
|
8296
|
-
},
|
8296
|
+
}, wc = { class: "flex items-baseline gap-x-3 w-full" }, $c = { class: "text-sm flex-1 text-oc-text-400 pointer-events-none" }, kc = ["accept"], Sc = {
|
8297
8297
|
key: 0,
|
8298
8298
|
class: "relative group w-fit rounded overflow-hidden"
|
8299
|
-
},
|
8299
|
+
}, Cc = ["src"], Bc = ["src"], Oc = { class: "py-2 flex flex-col" }, Vc = { class: "flex flex-1 items-center gap-x-3 text-sm text-oc-text-400" }, Ic = { class: "flex flex-col w-7 h-7 items-center justify-center text-oc-text-300" }, Tc = { class: "uppercase text-[8px] font-bold leading-none block" }, Dc = { class: "flex" }, Ac = { class: "text-sm text-oc-primary" }, Mc = { class: "rounded-full bg-oc-gray-100 w-[48px] h-2 overflow-hidden" }, ef = {
|
8300
8300
|
__name: "OcSingleFileUpload",
|
8301
8301
|
props: {
|
8302
8302
|
format: {
|
@@ -8411,7 +8411,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8411
8411
|
default: S(() => {
|
8412
8412
|
var U, H, G, te, _, ne, re, ve, be, we, ge, $e, ie, Be, ke;
|
8413
8413
|
return [
|
8414
|
-
e.isImageOnly ? (t(), y(
|
8414
|
+
e.isImageOnly ? (t(), y(xc, {
|
8415
8415
|
key: 0,
|
8416
8416
|
accept: e.accept,
|
8417
8417
|
"uploaded-image": w.value,
|
@@ -8434,7 +8434,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8434
8434
|
type: "file",
|
8435
8435
|
accept: e.accept,
|
8436
8436
|
onChange: D[3] || (D[3] = (Q) => r(j)(Q, a.format === "object"))
|
8437
|
-
}, null, 40,
|
8437
|
+
}, null, 40, hc)
|
8438
8438
|
], 64)) : (t(), i(L, { key: 2 }, [
|
8439
8439
|
r(T).length ? (t(), i("div", {
|
8440
8440
|
key: 1,
|
@@ -8443,16 +8443,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8443
8443
|
"!bg-oc-bg-dark": e.isDisabled
|
8444
8444
|
}])
|
8445
8445
|
}, [
|
8446
|
-
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), i("div",
|
8446
|
+
e.isPreview && ((te = w.value) == null ? void 0 : te.progress) === 100 ? (t(), i("div", Sc, [
|
8447
8447
|
(ne = (_ = w.value) == null ? void 0 : _.file) != null && ne.type.includes("video") ? (t(), i("video", {
|
8448
8448
|
key: 0,
|
8449
8449
|
autoplay: "",
|
8450
8450
|
loop: "",
|
8451
8451
|
src: A.value
|
8452
|
-
}, null, 8,
|
8452
|
+
}, null, 8, Cc)) : (t(), i("img", {
|
8453
8453
|
key: 1,
|
8454
8454
|
src: (re = w.value) == null ? void 0 : re.fileUrl
|
8455
|
-
}, null, 8,
|
8455
|
+
}, null, 8, Bc)),
|
8456
8456
|
x(r(oe), {
|
8457
8457
|
modelValue: h.value,
|
8458
8458
|
"onUpdate:modelValue": D[13] || (D[13] = (Q) => h.value = Q),
|
@@ -8461,7 +8461,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8461
8461
|
menu: S(() => {
|
8462
8462
|
var Q, Oe;
|
8463
8463
|
return [
|
8464
|
-
n("div",
|
8464
|
+
n("div", Oc, [
|
8465
8465
|
!((Oe = (Q = w.value) == null ? void 0 : Q.file) != null && Oe.type.includes("video")) && e.allowToEdit ? (t(), i("div", {
|
8466
8466
|
key: 0,
|
8467
8467
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
@@ -8509,25 +8509,25 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8509
8509
|
onChangeImage: I
|
8510
8510
|
}, null, 8, ["modelValue", "img"])) : m("", !0)
|
8511
8511
|
])) : (t(), i(L, { key: 1 }, [
|
8512
|
-
n("div",
|
8513
|
-
n("div",
|
8512
|
+
n("div", Vc, [
|
8513
|
+
n("div", Ic, [
|
8514
8514
|
x(r(V), {
|
8515
8515
|
name: "file-extension",
|
8516
8516
|
width: "14",
|
8517
8517
|
height: "10"
|
8518
8518
|
}),
|
8519
|
-
n("span",
|
8519
|
+
n("span", Tc, $((we = w.value) == null ? void 0 : we.extension), 1)
|
8520
8520
|
]),
|
8521
8521
|
n("div", {
|
8522
8522
|
class: v([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8523
8523
|
}, $((ge = w.value) == null ? void 0 : ge.fileName), 3)
|
8524
8524
|
]),
|
8525
|
-
n("div",
|
8525
|
+
n("div", Dc, [
|
8526
8526
|
n("div", {
|
8527
8527
|
class: v([(($e = w.value) == null ? void 0 : $e.progress) === 100 ? "opacity-0" : "", "transition-all duration-500 flex flex-col gap-y-1 items-center"])
|
8528
8528
|
}, [
|
8529
|
-
n("span",
|
8530
|
-
n("div",
|
8529
|
+
n("span", Ac, $(((ie = w.value) == null ? void 0 : ie.progress) || 0) + "% ", 1),
|
8530
|
+
n("div", Mc, [
|
8531
8531
|
n("div", {
|
8532
8532
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
8533
8533
|
style: de({ width: `${((Be = w.value) == null ? void 0 : Be.progress) || 0}%` })
|
@@ -8547,8 +8547,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8547
8547
|
]))
|
8548
8548
|
])
|
8549
8549
|
], 64))
|
8550
|
-
], 2)) : (t(), i("div",
|
8551
|
-
n("div",
|
8550
|
+
], 2)) : (t(), i("div", bc, [
|
8551
|
+
n("div", wc, [
|
8552
8552
|
e.variant === "url" ? (t(), i(L, { key: 0 }, [
|
8553
8553
|
x(r(xe), {
|
8554
8554
|
modelValue: d.value,
|
@@ -8582,7 +8582,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8582
8582
|
onDragover: D[10] || (D[10] = ce(() => {
|
8583
8583
|
}, ["prevent"]))
|
8584
8584
|
}, [
|
8585
|
-
n("span",
|
8585
|
+
n("span", $c, $(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8586
8586
|
x(r(K), {
|
8587
8587
|
size: "small",
|
8588
8588
|
"is-disabled": e.isDisabled,
|
@@ -8599,7 +8599,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8599
8599
|
type: "file",
|
8600
8600
|
accept: e.accept,
|
8601
8601
|
onChange: D[11] || (D[11] = (Q) => r(j)(Q, a.format === "object"))
|
8602
|
-
}, null, 40,
|
8602
|
+
}, null, 40, kc)
|
8603
8603
|
])
|
8604
8604
|
]))
|
8605
8605
|
], 64))
|
@@ -8608,13 +8608,13 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8608
8608
|
_: 3
|
8609
8609
|
}, 8, ["label", "label-class", "hint", "error-message"]));
|
8610
8610
|
}
|
8611
|
-
},
|
8611
|
+
}, jc = { class: "relative min-h-[100px]" }, Pc = {
|
8612
8612
|
key: 0,
|
8613
8613
|
class: "absolute"
|
8614
|
-
},
|
8614
|
+
}, Lc = { class: "w-[100px] hover:bg-oc-primary-50 cursor-pointer bg-oc-accent-1-50 text-oc-accent-1 rounded aspect-square flex items-center justify-center" }, Ec = ["accept", "multiple"], zc = ["onClick"], Nc = { class: "py-2 flex flex-col" }, Rc = ["onClick"], Fc = ["onClick"], Uc = { class: "z-[1009] hidden group-hover:flex absolute bg-black/30 w-full h-full top-0 left-0 rounded" }, qc = {
|
8615
8615
|
key: 0,
|
8616
8616
|
class: "cursor-pointer m-auto drag-el"
|
8617
|
-
},
|
8617
|
+
}, Hc = {
|
8618
8618
|
__name: "OcSimpleMultipleUpload",
|
8619
8619
|
props: {
|
8620
8620
|
accept: {
|
@@ -8681,9 +8681,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8681
8681
|
u.value[E] = B[E];
|
8682
8682
|
}), o[I] = !1, d.value = !0;
|
8683
8683
|
};
|
8684
|
-
return (I, B) => (t(), i("div",
|
8685
|
-
O.value ? (t(), i("label",
|
8686
|
-
n("div",
|
8684
|
+
return (I, B) => (t(), i("div", jc, [
|
8685
|
+
O.value ? (t(), i("label", Pc, [
|
8686
|
+
n("div", Lc, [
|
8687
8687
|
x(r(V), { name: "plus" })
|
8688
8688
|
]),
|
8689
8689
|
T.value ? m("", !0) : (t(), i("input", {
|
@@ -8693,9 +8693,9 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8693
8693
|
accept: e.accept || "image/png, image/jpeg",
|
8694
8694
|
multiple: a.maxImages !== 1,
|
8695
8695
|
onChange: w
|
8696
|
-
}, null, 40,
|
8696
|
+
}, null, 40, Ec))
|
8697
8697
|
])) : m("", !0),
|
8698
|
-
(t(), y(r(
|
8698
|
+
(t(), y(r(Yu), {
|
8699
8699
|
key: e.uploadedImages.length,
|
8700
8700
|
"model-value": e.uploadedImages,
|
8701
8701
|
filter: "filtered-el",
|
@@ -8725,7 +8725,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8725
8725
|
removeItem: b,
|
8726
8726
|
fileIndex: P
|
8727
8727
|
}, () => [
|
8728
|
-
n("div",
|
8728
|
+
n("div", Nc, [
|
8729
8729
|
n("div", {
|
8730
8730
|
class: "flex p-3 cursor-pointer items-center gap-x-3",
|
8731
8731
|
onClick: (D) => g(P, E)
|
@@ -8736,7 +8736,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8736
8736
|
name: "pencil"
|
8737
8737
|
}),
|
8738
8738
|
B[4] || (B[4] = n("span", null, "Edit Image", -1))
|
8739
|
-
], 8,
|
8739
|
+
], 8, Rc),
|
8740
8740
|
n("div", {
|
8741
8741
|
class: "flex p-3 cursor-pointer items-center text-oc-error gap-x-3",
|
8742
8742
|
onClick: () => {
|
@@ -8749,7 +8749,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8749
8749
|
name: "bin"
|
8750
8750
|
}),
|
8751
8751
|
B[5] || (B[5] = n("span", null, "Delete", -1))
|
8752
|
-
], 8,
|
8752
|
+
], 8, Fc)
|
8753
8753
|
])
|
8754
8754
|
])
|
8755
8755
|
]),
|
@@ -8773,15 +8773,15 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8773
8773
|
}, null, 4)
|
8774
8774
|
], 2)
|
8775
8775
|
], 2),
|
8776
|
-
n("div",
|
8777
|
-
a.maxImages !== 1 ? (t(), i("span",
|
8776
|
+
n("div", Uc, [
|
8777
|
+
a.maxImages !== 1 ? (t(), i("span", qc, [
|
8778
8778
|
x(r(V), {
|
8779
8779
|
name: "arrows",
|
8780
8780
|
class: "text-oc-accent-1-50"
|
8781
8781
|
})
|
8782
8782
|
])) : m("", !0)
|
8783
8783
|
])
|
8784
|
-
], 14,
|
8784
|
+
], 14, zc))), 128))
|
8785
8785
|
]),
|
8786
8786
|
_: 3
|
8787
8787
|
}, 8, ["model-value", "style"])),
|
@@ -8798,7 +8798,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8798
8798
|
onChangeImage: C,
|
8799
8799
|
"onUpdate:inputOptions": A
|
8800
8800
|
}, null, 8, ["modelValue", "img", "input-options", "input-option-values"])) : m("", !0),
|
8801
|
-
x(r(
|
8801
|
+
x(r(Bu), {
|
8802
8802
|
modelValue: h.value,
|
8803
8803
|
"onUpdate:modelValue": B[3] || (B[3] = (N) => h.value = N),
|
8804
8804
|
description: "Do you want to delete this image ?",
|
@@ -8806,16 +8806,16 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8806
8806
|
}, null, 8, ["modelValue"])
|
8807
8807
|
]));
|
8808
8808
|
}
|
8809
|
-
},
|
8809
|
+
}, Yc = { class: "flex flex-col gap-y-2" }, Wc = ["accept"], Kc = { class: "input-file-uploaded flex flex-col gap-y-3" }, Gc = { class: "flex items-center gap-x-3" }, Xc = { class: "flex flex-col items-center justify-center text-oc-text-300" }, Zc = { class: "uppercase text-[8px] font-bold leading-none block" }, Jc = { class: "text-oc-text-400 text-sm" }, Qc = { class: "w-[100px] h-[6px] bg-oc-accent-1-50 rounded-full overflow-hidden transition-all duration-1000" }, _c = ["accept"], eu = {
|
8810
8810
|
key: 1,
|
8811
8811
|
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"
|
8812
|
-
},
|
8812
|
+
}, tu = { key: 0 }, lu = { key: 1 }, au = {
|
8813
8813
|
key: 2,
|
8814
8814
|
class: "text-center"
|
8815
|
-
},
|
8815
|
+
}, nu = {
|
8816
8816
|
key: 2,
|
8817
8817
|
class: "mt-3 flex items-center justify-center"
|
8818
|
-
},
|
8818
|
+
}, tf = {
|
8819
8819
|
__name: "OcMultipleUploadFile",
|
8820
8820
|
props: {
|
8821
8821
|
modelValue: {
|
@@ -8895,7 +8895,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8895
8895
|
var C;
|
8896
8896
|
(C = o.value) == null || C.click();
|
8897
8897
|
};
|
8898
|
-
return (C, A) => (t(), i("div",
|
8898
|
+
return (C, A) => (t(), i("div", Yc, [
|
8899
8899
|
x(r(pe), {
|
8900
8900
|
label: e.label,
|
8901
8901
|
hint: e.hint,
|
@@ -8905,7 +8905,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8905
8905
|
k(C.$slots, "hint")
|
8906
8906
|
]),
|
8907
8907
|
default: S(() => [
|
8908
|
-
e.isImageOnly ? (t(), y(
|
8908
|
+
e.isImageOnly ? (t(), y(Hc, {
|
8909
8909
|
key: 0,
|
8910
8910
|
"uploaded-images": r(f),
|
8911
8911
|
"selected-image": e.selectedImage,
|
@@ -8944,7 +8944,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8944
8944
|
multiple: "",
|
8945
8945
|
accept: e.accept,
|
8946
8946
|
onChange: b
|
8947
|
-
}, null, 40,
|
8947
|
+
}, null, 40, Wc)
|
8948
8948
|
], 64)) : (t(), i("div", {
|
8949
8949
|
key: 2,
|
8950
8950
|
class: v(["relative border rounded p-3 min-w-[30rem] flex flex-col", [
|
@@ -8954,27 +8954,27 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
8954
8954
|
}
|
8955
8955
|
]])
|
8956
8956
|
}, [
|
8957
|
-
n("div",
|
8957
|
+
n("div", Kc, [
|
8958
8958
|
(t(!0), i(L, null, R(r(f), (w, O) => (t(), i("div", {
|
8959
8959
|
key: `${O}-${w.fileName}`,
|
8960
8960
|
class: "flex justify-between relative items-center w-full last:mb-2"
|
8961
8961
|
}, [
|
8962
|
-
n("div",
|
8963
|
-
n("div",
|
8962
|
+
n("div", Gc, [
|
8963
|
+
n("div", Xc, [
|
8964
8964
|
x(r(V), {
|
8965
8965
|
name: "file-extension",
|
8966
8966
|
width: "14",
|
8967
8967
|
height: "10"
|
8968
8968
|
}),
|
8969
|
-
n("span",
|
8969
|
+
n("span", Zc, $(w.extension), 1)
|
8970
8970
|
]),
|
8971
|
-
n("span",
|
8971
|
+
n("span", Jc, $(w == null ? void 0 : w.fileName), 1)
|
8972
8972
|
]),
|
8973
8973
|
c.value ? (t(), i("div", {
|
8974
8974
|
key: 0,
|
8975
8975
|
class: v(["w-[100px] h-[16px] absolute right-0 flex items-center z-40", { "on-end-loading": w.progress === 100 }])
|
8976
8976
|
}, [
|
8977
|
-
n("div",
|
8977
|
+
n("div", Qc, [
|
8978
8978
|
n("div", {
|
8979
8979
|
style: de({ width: `${w.progress}%` }),
|
8980
8980
|
class: "block transition-all duration-1000 h-[6px] rounded-full bg-oc-primary"
|
@@ -9016,15 +9016,15 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9016
9016
|
onDragleave: A[6] || (A[6] = (w) => d.value = !1),
|
9017
9017
|
onDrop: A[7] || (A[7] = (w) => d.value = !1),
|
9018
9018
|
onChange: b
|
9019
|
-
}, null, 40,
|
9020
|
-
r(f).length ? e.isDisabled ? m("", !0) : (t(), i("div",
|
9019
|
+
}, null, 40, _c)),
|
9020
|
+
r(f).length ? e.isDisabled ? m("", !0) : (t(), i("div", nu, A[9] || (A[9] = [
|
9021
9021
|
n("span", { class: "text-oc-accent-1 text-sm" }, "+ Add more", -1)
|
9022
|
-
]))) : (t(), i("div",
|
9022
|
+
]))) : (t(), i("div", eu, [
|
9023
9023
|
x(r(V), {
|
9024
9024
|
name: "upload",
|
9025
9025
|
class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
9026
9026
|
}, null, 8, ["class"]),
|
9027
|
-
e.labelUploadArea ? (t(), i("div",
|
9027
|
+
e.labelUploadArea ? (t(), i("div", tu, $(e.labelUploadArea), 1)) : e.isDisabled ? (t(), i("div", lu, "Upload disabled")) : (t(), i("div", au, [
|
9028
9028
|
A[8] || (A[8] = n("div", null, "Select documents or drag here", -1)),
|
9029
9029
|
n("div", null, "File max " + $(e.maxSize) + "MB", 1)
|
9030
9030
|
]))
|
@@ -9036,7 +9036,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9036
9036
|
}, 8, ["label", "hint", "error-message"])
|
9037
9037
|
]));
|
9038
9038
|
}
|
9039
|
-
},
|
9039
|
+
}, ou = ["value"], iu = /* @__PURE__ */ J({
|
9040
9040
|
__name: "OcNumberInput",
|
9041
9041
|
props: {
|
9042
9042
|
modelValue: {
|
@@ -9096,7 +9096,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9096
9096
|
placeholder: "1",
|
9097
9097
|
onKeydown: c,
|
9098
9098
|
onInput: f[0] || (f[0] = (h) => u.$emit("update:modelValue", h.target.value))
|
9099
|
-
}, null, 42,
|
9099
|
+
}, null, 42, ou),
|
9100
9100
|
x(r(K), {
|
9101
9101
|
variant: "secondary",
|
9102
9102
|
class: "w-[28px] shrink-0 aspect-square",
|
@@ -9111,7 +9111,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9111
9111
|
_: 1
|
9112
9112
|
}, 8, ["label", "tooltip-options", "error-message", "hint", "label-icon", "is-required", "tooltip-text"]));
|
9113
9113
|
}
|
9114
|
-
}),
|
9114
|
+
}), su = {
|
9115
9115
|
__name: "OcDropdown",
|
9116
9116
|
props: {
|
9117
9117
|
distance: {
|
@@ -9211,7 +9211,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9211
9211
|
[r(nt), f]
|
9212
9212
|
]);
|
9213
9213
|
}
|
9214
|
-
}, oe = /* @__PURE__ */ he(
|
9214
|
+
}, oe = /* @__PURE__ */ he(su, [["__scopeId", "data-v-28a0af68"]]), ru = { class: "flex items-center gap-x-3 p-3" }, du = { class: "md:text-base text-sm" }, cu = {
|
9215
9215
|
key: 0,
|
9216
9216
|
class: "p-3 text-sm text-oc-text-300"
|
9217
9217
|
}, ye = {
|
@@ -9235,25 +9235,25 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9235
9235
|
return (a, l) => (t(), i("div", {
|
9236
9236
|
class: v(["flex flex-col cursor-pointer rounded-sm hover:bg-oc-accent-1-50", s.value[e.variant]])
|
9237
9237
|
}, [
|
9238
|
-
n("div",
|
9238
|
+
n("div", ru, [
|
9239
9239
|
e.icon ? (t(), y(r(V), F({
|
9240
9240
|
key: 0,
|
9241
9241
|
class: "w-5 h-5",
|
9242
9242
|
name: e.icon
|
9243
9243
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : m("", !0),
|
9244
|
-
n("span",
|
9244
|
+
n("span", du, $(e.text), 1),
|
9245
9245
|
k(a.$slots, "badge")
|
9246
9246
|
]),
|
9247
|
-
e.subText ? (t(), i("div",
|
9247
|
+
e.subText ? (t(), i("div", cu, [
|
9248
9248
|
n("span", null, $(e.subText), 1)
|
9249
9249
|
])) : m("", !0)
|
9250
9250
|
], 2));
|
9251
9251
|
}
|
9252
|
-
},
|
9252
|
+
}, uu = { class: "oc-tooltip-wrapper" }, mu = {
|
9253
9253
|
key: 0,
|
9254
9254
|
class: "oc-arrow",
|
9255
9255
|
"data-popper-arrow": ""
|
9256
|
-
},
|
9256
|
+
}, fu = {
|
9257
9257
|
__name: "OcTooltip",
|
9258
9258
|
props: {
|
9259
9259
|
popperClass: {
|
@@ -9328,7 +9328,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9328
9328
|
const f = () => {
|
9329
9329
|
a.value && u();
|
9330
9330
|
};
|
9331
|
-
return (h, p) => Ve((t(), i("span",
|
9331
|
+
return (h, p) => Ve((t(), i("span", uu, [
|
9332
9332
|
x(r(bt), {
|
9333
9333
|
ref_key: "popper",
|
9334
9334
|
ref: d,
|
@@ -9347,7 +9347,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9347
9347
|
class: v(["oc-tooltip", e.popperClass])
|
9348
9348
|
}, [
|
9349
9349
|
k(h.$slots, "popper", {}, void 0, !0),
|
9350
|
-
e.arrowHidden ? m("", !0) : (t(), i("div",
|
9350
|
+
e.arrowHidden ? m("", !0) : (t(), i("div", mu))
|
9351
9351
|
], 2), [
|
9352
9352
|
[Ee, a.value]
|
9353
9353
|
])
|
@@ -9370,14 +9370,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9370
9370
|
[r(nt), f]
|
9371
9371
|
]);
|
9372
9372
|
}
|
9373
|
-
}, le = /* @__PURE__ */ he(
|
9373
|
+
}, le = /* @__PURE__ */ he(fu, [["__scopeId", "data-v-a902efc5"]]), vu = {
|
9374
9374
|
key: 0,
|
9375
9375
|
id: "modal-overlay-wrapper",
|
9376
9376
|
class: "fixed w-screen z-[1007] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9377
|
-
},
|
9377
|
+
}, gu = { class: "flex flex-col gap-y-1 overflow-hidden" }, pu = { class: "text-lg font-medium text-ellipsis overflow-hidden whitespace-nowrap" }, yu = {
|
9378
9378
|
key: 0,
|
9379
9379
|
class: "text-sm text-oc-text-300 text-ellipsis overflow-hidden whitespace-nowrap"
|
9380
|
-
},
|
9380
|
+
}, xu = ["id"], hu = {
|
9381
9381
|
__name: "OcModal",
|
9382
9382
|
props: {
|
9383
9383
|
isBorderless: Boolean,
|
@@ -9474,7 +9474,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9474
9474
|
), Ft(() => {
|
9475
9475
|
var p;
|
9476
9476
|
(p = f.value) == null || p.removeEventListener("scroll", h);
|
9477
|
-
}), (p, b) => e.modelValue ? (t(), i("div",
|
9477
|
+
}), (p, b) => e.modelValue ? (t(), i("div", vu, [
|
9478
9478
|
n("div", {
|
9479
9479
|
class: "w-full h-full absolute top-0 left-0 z-[1007]",
|
9480
9480
|
onClick: d
|
@@ -9487,10 +9487,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9487
9487
|
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"])
|
9488
9488
|
}, [
|
9489
9489
|
k(p.$slots, "header", {}, () => [
|
9490
|
-
n("div",
|
9491
|
-
n("span",
|
9490
|
+
n("div", gu, [
|
9491
|
+
n("span", pu, $(e.title), 1),
|
9492
9492
|
k(p.$slots, "description", {}, () => [
|
9493
|
-
e.description ? (t(), i("span",
|
9493
|
+
e.description ? (t(), i("span", yu, $(e.description), 1)) : m("", !0)
|
9494
9494
|
])
|
9495
9495
|
]),
|
9496
9496
|
e.isCloseIcon ? (t(), i("div", {
|
@@ -9514,7 +9514,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9514
9514
|
onScroll: b[1] || (b[1] = (T) => l("content-scroll", T))
|
9515
9515
|
}, [
|
9516
9516
|
k(p.$slots, "default")
|
9517
|
-
], 42,
|
9517
|
+
], 42, xu),
|
9518
9518
|
e.isFooterVisible ? (t(), i("div", {
|
9519
9519
|
key: 1,
|
9520
9520
|
class: v(["px-5 py-6 border-oc-gray-200 flex gap-x-4", [
|
@@ -9541,10 +9541,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9541
9541
|
], 2)
|
9542
9542
|
])) : m("", !0);
|
9543
9543
|
}
|
9544
|
-
},
|
9544
|
+
}, bu = {
|
9545
9545
|
key: 0,
|
9546
9546
|
class: "fixed w-screen z-[1007] bg-white top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
9547
|
-
},
|
9547
|
+
}, wu = { class: "w-[calc(100%-40px)] h-[calc(100%-40px)]" }, $u = { class: "modal-body p-9" }, lf = {
|
9548
9548
|
__name: "OcModalPage",
|
9549
9549
|
props: {
|
9550
9550
|
modelValue: {
|
@@ -9575,8 +9575,8 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9575
9575
|
emits: ["update:modelValue", "back", "click:outside"],
|
9576
9576
|
setup(e, { emit: s }) {
|
9577
9577
|
const a = s;
|
9578
|
-
return (l, o) => e.modelValue ? (t(), i("div",
|
9579
|
-
n("div",
|
9578
|
+
return (l, o) => e.modelValue ? (t(), i("div", bu, [
|
9579
|
+
n("div", wu, [
|
9580
9580
|
k(l.$slots, "top"),
|
9581
9581
|
n("div", {
|
9582
9582
|
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])
|
@@ -9604,14 +9604,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9604
9604
|
}),
|
9605
9605
|
o[2] || (o[2] = n("span", null, "Close", -1))
|
9606
9606
|
]),
|
9607
|
-
n("div",
|
9607
|
+
n("div", $u, [
|
9608
9608
|
k(l.$slots, "default")
|
9609
9609
|
])
|
9610
9610
|
], 2)
|
9611
9611
|
])
|
9612
9612
|
])) : m("", !0);
|
9613
9613
|
}
|
9614
|
-
},
|
9614
|
+
}, ku = { class: "text-center" }, Su = ["innerHTML"], Cu = {
|
9615
9615
|
__name: "OcConfirmation",
|
9616
9616
|
props: {
|
9617
9617
|
description: String,
|
@@ -9650,14 +9650,14 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9650
9650
|
name: e.icon ?? s[e.variant]
|
9651
9651
|
}, null, 8, ["name"])
|
9652
9652
|
], 2)),
|
9653
|
-
n("div",
|
9653
|
+
n("div", ku, [
|
9654
9654
|
k(l.$slots, "description", {}, () => [
|
9655
|
-
n("span", { innerHTML: e.description }, null, 8,
|
9655
|
+
n("span", { innerHTML: e.description }, null, 8, Su)
|
9656
9656
|
])
|
9657
9657
|
])
|
9658
9658
|
], 2));
|
9659
9659
|
}
|
9660
|
-
},
|
9660
|
+
}, Bu = {
|
9661
9661
|
__name: "OcConfirmationModal",
|
9662
9662
|
props: {
|
9663
9663
|
modelValue: {
|
@@ -9730,7 +9730,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9730
9730
|
})), c = (u) => {
|
9731
9731
|
l("update:model-value", u), l("cancel");
|
9732
9732
|
};
|
9733
|
-
return (u, f) => (t(), y(r(
|
9733
|
+
return (u, f) => (t(), y(r(hu), {
|
9734
9734
|
size: "small",
|
9735
9735
|
"model-value": e.modelValue,
|
9736
9736
|
title: e.title,
|
@@ -9753,7 +9753,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9753
9753
|
onCancel: f[1] || (f[1] = (h) => u.$emit("cancel"))
|
9754
9754
|
}, {
|
9755
9755
|
default: S(() => [
|
9756
|
-
x(
|
9756
|
+
x(Cu, {
|
9757
9757
|
"icon-class": e.iconClass,
|
9758
9758
|
variant: e.variant,
|
9759
9759
|
description: e.description,
|
@@ -9773,10 +9773,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9773
9773
|
_: 3
|
9774
9774
|
}, 8, ["model-value", "title", "persistent", "cancel-button-props", "confirm-button-props"]));
|
9775
9775
|
}
|
9776
|
-
},
|
9776
|
+
}, Ou = { class: "fixed bottom-[30px] right-[32px]" }, Vu = { class: "relative" }, Iu = {
|
9777
9777
|
key: 0,
|
9778
9778
|
class: "flex items-center justify-end"
|
9779
|
-
},
|
9779
|
+
}, Tu = { class: "w-[40px] flex text-white items-center bg-oc-text active:bg-oc-gray-800 justify-center aspect-square rounded-full cursor-pointer" }, Du = { class: "min-w-[180px]" }, Au = { class: "p-3" }, Mu = { class: "uppercase text-oc-text-400 text-xs font-medium" }, af = /* @__PURE__ */ J({
|
9780
9780
|
__name: "OcSupportMenu",
|
9781
9781
|
props: {
|
9782
9782
|
modelValue: {
|
@@ -9814,7 +9814,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9814
9814
|
const s = {
|
9815
9815
|
arrowHidden: !0
|
9816
9816
|
};
|
9817
|
-
return (a, l) => (t(), i("div",
|
9817
|
+
return (a, l) => (t(), i("div", Ou, [
|
9818
9818
|
x(r(oe), {
|
9819
9819
|
"model-value": e.modelValue,
|
9820
9820
|
"popper-options": s,
|
@@ -9823,10 +9823,10 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9823
9823
|
"onUpdate:modelValue": l[0] || (l[0] = (o) => a.$emit("update:modelValue", o))
|
9824
9824
|
}, {
|
9825
9825
|
menu: S(() => [
|
9826
|
-
n("div",
|
9826
|
+
n("div", Du, [
|
9827
9827
|
(t(!0), i(L, null, R(e.topMenu, (o, d) => (t(), i(L, { key: d }, [
|
9828
|
-
n("div",
|
9829
|
-
n("span",
|
9828
|
+
n("div", Au, [
|
9829
|
+
n("span", Mu, $(o.title), 1)
|
9830
9830
|
]),
|
9831
9831
|
(t(!0), i(L, null, R(o.items, (c, u) => (t(), y(r(ye), F({
|
9832
9832
|
key: u,
|
@@ -9867,11 +9867,11 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9867
9867
|
])
|
9868
9868
|
]),
|
9869
9869
|
default: S(() => [
|
9870
|
-
n("div",
|
9871
|
-
e.isPointed ? (t(), i("div",
|
9870
|
+
n("div", Vu, [
|
9871
|
+
e.isPointed ? (t(), i("div", Iu, l[1] || (l[1] = [
|
9872
9872
|
n("div", { class: "w-[6px] aspect-square rounded-full bg-oc-error" }, null, -1)
|
9873
9873
|
]))) : m("", !0),
|
9874
|
-
n("div",
|
9874
|
+
n("div", Tu, [
|
9875
9875
|
x(r(V), {
|
9876
9876
|
name: "question",
|
9877
9877
|
width: "33",
|
@@ -9884,7 +9884,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9884
9884
|
}, 8, ["model-value"])
|
9885
9885
|
]));
|
9886
9886
|
}
|
9887
|
-
}),
|
9887
|
+
}), ju = { class: "px-3 py-2 text-oc-text-400 text-sm font-medium" }, Me = /* @__PURE__ */ J({
|
9888
9888
|
__name: "OcCopyTooltip",
|
9889
9889
|
props: {
|
9890
9890
|
value: [String, Blob],
|
@@ -9914,7 +9914,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9914
9914
|
distance: 20
|
9915
9915
|
}, e.tooltipOptions), {
|
9916
9916
|
popper: S(() => [
|
9917
|
-
n("div",
|
9917
|
+
n("div", ju, $(e.tooltipText), 1)
|
9918
9918
|
]),
|
9919
9919
|
default: S(({ isShow: o }) => [
|
9920
9920
|
n("div", {
|
@@ -9933,7 +9933,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9933
9933
|
_: 3
|
9934
9934
|
}, 16));
|
9935
9935
|
}
|
9936
|
-
}),
|
9936
|
+
}), Pu = { class: "flex justify-center pt-[75px] items-start backdrop-blur-sm" }, Lu = { class: "bg-white relative z-10 rounded pb-3 max-w-[320px] w-[96vw] shadow" }, Eu = { class: "flex flex-col gap-y-7 p-5" }, zu = { class: "min-w-[142px] pt-7 flex justify-center items-center" }, Nu = ["src"], Ru = { class: "flex text-center flex-col gap-y-3" }, Fu = { class: "text-lg flex justify-center gap-x-3 items-center font-medium" }, Uu = { class: "text-oc-text-400" }, qu = { class: "py-6 px-5 flex items-center justify-center" }, nf = /* @__PURE__ */ J({
|
9937
9937
|
__name: "OcWhiteList",
|
9938
9938
|
props: {
|
9939
9939
|
buttonProps: {
|
@@ -9949,28 +9949,28 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9949
9949
|
description: String
|
9950
9950
|
},
|
9951
9951
|
setup(e) {
|
9952
|
-
return (s, a) => (t(), i("div",
|
9952
|
+
return (s, a) => (t(), i("div", Pu, [
|
9953
9953
|
a[0] || (a[0] = n("div", { class: "absolute w-full h-full top-0 left-0 bg-oc-gray-50 opacity-80" }, null, -1)),
|
9954
|
-
n("div",
|
9955
|
-
n("div",
|
9954
|
+
n("div", Lu, [
|
9955
|
+
n("div", Eu, [
|
9956
9956
|
k(s.$slots, "logo", {}, () => [
|
9957
|
-
n("div",
|
9957
|
+
n("div", zu, [
|
9958
9958
|
n("img", {
|
9959
9959
|
src: e.imagePath,
|
9960
9960
|
alt: "logo"
|
9961
|
-
}, null, 8,
|
9961
|
+
}, null, 8, Nu)
|
9962
9962
|
])
|
9963
9963
|
]),
|
9964
|
-
n("div",
|
9965
|
-
n("div",
|
9964
|
+
n("div", Ru, [
|
9965
|
+
n("div", Fu, [
|
9966
9966
|
Z($(e.title) + " ", 1),
|
9967
9967
|
e.tagOptions ? (t(), y(r(Ht), fe(F({ key: 0 }, e.tagOptions)), null, 16)) : m("", !0)
|
9968
9968
|
]),
|
9969
|
-
n("span",
|
9969
|
+
n("span", Uu, $(e.description), 1)
|
9970
9970
|
]),
|
9971
9971
|
k(s.$slots, "bottom")
|
9972
9972
|
]),
|
9973
|
-
n("div",
|
9973
|
+
n("div", qu, [
|
9974
9974
|
k(s.$slots, "footer", {}, () => [
|
9975
9975
|
x(r(K), F({
|
9976
9976
|
label: "Request Access",
|
@@ -9981,7 +9981,7 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
9981
9981
|
])
|
9982
9982
|
]));
|
9983
9983
|
}
|
9984
|
-
}),
|
9984
|
+
}), of = {
|
9985
9985
|
__name: "OcFormBuilder",
|
9986
9986
|
props: {
|
9987
9987
|
id: {
|
@@ -10021,23 +10021,23 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10021
10021
|
const a = e, l = s, o = (g, I) => {
|
10022
10022
|
l("onUpdate", g, I);
|
10023
10023
|
}, d = {
|
10024
|
-
CardInput:
|
10025
|
-
CheckboxesGroup:
|
10024
|
+
CardInput: sr,
|
10025
|
+
CheckboxesGroup: dr,
|
10026
10026
|
Input: xe,
|
10027
|
-
NumberInput:
|
10028
|
-
LinkInput:
|
10029
|
-
Select:
|
10030
|
-
TextArea:
|
10027
|
+
NumberInput: iu,
|
10028
|
+
LinkInput: ed,
|
10029
|
+
Select: Yr,
|
10030
|
+
TextArea: ad,
|
10031
10031
|
Toggle: $t,
|
10032
|
-
RadioGroup:
|
10033
|
-
TimePicker:
|
10034
|
-
DatePicker:
|
10032
|
+
RadioGroup: Mr,
|
10033
|
+
TimePicker: Wu,
|
10034
|
+
DatePicker: tc,
|
10035
10035
|
Checkbox: Te,
|
10036
10036
|
Slider: wt,
|
10037
|
-
RangeInput:
|
10038
|
-
PhoneInput:
|
10039
|
-
SectionItem:
|
10040
|
-
SelectOptions:
|
10037
|
+
RangeInput: Er,
|
10038
|
+
PhoneInput: Vr,
|
10039
|
+
SectionItem: sc,
|
10040
|
+
SelectOptions: mc
|
10041
10041
|
}, c = (g) => d[g] ? d[g] : null, u = z(() => {
|
10042
10042
|
const g = (B) => B.split(`
|
10043
10043
|
`).map((N) => N.trim()).filter(Boolean).map((N) => `"${N}"`).join(" "), I = {};
|
@@ -10131,128 +10131,128 @@ const Wd = { class: "flex flex-col gap-y-2 w-full" }, Kd = { class: "flex w-full
|
|
10131
10131
|
}), 128))
|
10132
10132
|
], 6)) : m("", !0);
|
10133
10133
|
}
|
10134
|
-
},
|
10135
|
-
() => import("./OcComplexCalendar-
|
10136
|
-
),
|
10137
|
-
() => import("./OcComplexDatePicker-
|
10138
|
-
), it = se(() => import("./OcModalCropper-
|
10139
|
-
() => import("./ThumbnailTheme-
|
10140
|
-
),
|
10141
|
-
() => import("./ThumbnailSection-
|
10142
|
-
),
|
10143
|
-
() => import("./OcAccountSetupProgress-
|
10134
|
+
}, sf = se(() => import("./OcDataTable-Cmh4tRy4.js")), rf = se(() => import("./OcFilterSearch-DUCiks5c.js")), df = se(() => import("./OcFilterSearchFor-Buz_tMZP.js")), cf = se(() => import("./OcFilterForm-B4-trZUg.js")), Hu = se(
|
10135
|
+
() => import("./OcComplexCalendar-CVFr9X5w.js")
|
10136
|
+
), uf = se(
|
10137
|
+
() => import("./OcComplexDatePicker-DMt5okt4.js")
|
10138
|
+
), it = se(() => import("./OcModalCropper-BTWCNIhX.js")), mf = se(() => import("./OcCropper-DA1hyR4g.js")), Yu = se(() => import("./OcDraggable-CA_BCbpl.js")), ff = se(() => import("./OcDraggableList-DB_FOX4q.js")), vf = se(() => import("./OcEmojiPicker-FacYV1QS.js")), gf = se(
|
10139
|
+
() => import("./ThumbnailTheme-BNE0T_SW.js")
|
10140
|
+
), pf = se(
|
10141
|
+
() => import("./ThumbnailSection-Bz40um4b.js")
|
10142
|
+
), yf = se(() => import("./SubPlanCard-GQbtAHzH.js")), xf = se(() => import("./OcTimePopup-CXGhaOev.js")), Wu = se(() => import("./OcTimePicker-DODArB9H.js")), hf = se(
|
10143
|
+
() => import("./OcAccountSetupProgress-D4wA4hdf.js")
|
10144
10144
|
);
|
10145
10145
|
export {
|
10146
|
-
|
10147
|
-
|
10146
|
+
Vm as $,
|
10147
|
+
hm as A,
|
10148
10148
|
K as B,
|
10149
10149
|
Ct as C,
|
10150
|
-
|
10151
|
-
|
10150
|
+
pn as D,
|
10151
|
+
$m as E,
|
10152
10152
|
wl as F,
|
10153
10153
|
St as G,
|
10154
10154
|
Ue as H,
|
10155
|
-
|
10155
|
+
ym as I,
|
10156
10156
|
ct as J,
|
10157
10157
|
ut as K,
|
10158
|
-
|
10159
|
-
|
10158
|
+
gm as L,
|
10159
|
+
pm as M,
|
10160
10160
|
rt as N,
|
10161
10161
|
Re as O,
|
10162
10162
|
dt as P,
|
10163
10163
|
rl as Q,
|
10164
10164
|
Le as R,
|
10165
10165
|
fl as S,
|
10166
|
-
|
10167
|
-
|
10168
|
-
|
10169
|
-
|
10170
|
-
|
10171
|
-
|
10172
|
-
|
10166
|
+
xm as T,
|
10167
|
+
km as U,
|
10168
|
+
Sm as V,
|
10169
|
+
Om as W,
|
10170
|
+
Xn as X,
|
10171
|
+
Cm as Y,
|
10172
|
+
Bm as Z,
|
10173
10173
|
pe as _,
|
10174
|
-
|
10175
|
-
|
10176
|
-
|
10177
|
-
|
10178
|
-
|
10179
|
-
|
10180
|
-
|
10181
|
-
|
10182
|
-
|
10183
|
-
|
10184
|
-
|
10185
|
-
|
10186
|
-
|
10174
|
+
sr as a,
|
10175
|
+
_n as a0,
|
10176
|
+
Um as a1,
|
10177
|
+
qi as a2,
|
10178
|
+
Wm as a3,
|
10179
|
+
Ym as a4,
|
10180
|
+
Fm as a5,
|
10181
|
+
qm as a6,
|
10182
|
+
Im as a7,
|
10183
|
+
Tm as a8,
|
10184
|
+
Dm as a9,
|
10185
|
+
lf as aA,
|
10186
|
+
af as aB,
|
10187
10187
|
le as aC,
|
10188
|
-
|
10188
|
+
nf as aD,
|
10189
10189
|
ot as aE,
|
10190
|
-
|
10191
|
-
|
10192
|
-
|
10193
|
-
|
10194
|
-
|
10195
|
-
|
10196
|
-
|
10197
|
-
|
10190
|
+
Hu as aF,
|
10191
|
+
Yu as aG,
|
10192
|
+
xf as aH,
|
10193
|
+
rf as aI,
|
10194
|
+
cf as aJ,
|
10195
|
+
df as aK,
|
10196
|
+
sf as aL,
|
10197
|
+
uf as aM,
|
10198
10198
|
it as aN,
|
10199
|
-
|
10200
|
-
|
10201
|
-
|
10202
|
-
|
10203
|
-
|
10204
|
-
|
10205
|
-
|
10206
|
-
|
10207
|
-
|
10208
|
-
|
10209
|
-
|
10210
|
-
|
10211
|
-
|
10212
|
-
|
10213
|
-
|
10214
|
-
|
10215
|
-
|
10216
|
-
|
10217
|
-
|
10218
|
-
|
10219
|
-
|
10220
|
-
|
10221
|
-
|
10222
|
-
|
10223
|
-
|
10224
|
-
|
10199
|
+
mf as aO,
|
10200
|
+
ff as aP,
|
10201
|
+
vf as aQ,
|
10202
|
+
gf as aR,
|
10203
|
+
pf as aS,
|
10204
|
+
yf as aT,
|
10205
|
+
Wu as aU,
|
10206
|
+
hf as aV,
|
10207
|
+
Am as aa,
|
10208
|
+
Mm as ab,
|
10209
|
+
jm as ac,
|
10210
|
+
Pm as ad,
|
10211
|
+
Ho as ae,
|
10212
|
+
No as af,
|
10213
|
+
Hm as ag,
|
10214
|
+
Lm as ah,
|
10215
|
+
Em as ai,
|
10216
|
+
zm as aj,
|
10217
|
+
fi as ak,
|
10218
|
+
hi as al,
|
10219
|
+
$i as am,
|
10220
|
+
Bi as an,
|
10221
|
+
Nm as ao,
|
10222
|
+
Rm as ap,
|
10223
|
+
Km as aq,
|
10224
|
+
Xm as ar,
|
10225
10225
|
ae as as,
|
10226
|
-
|
10227
|
-
|
10228
|
-
|
10226
|
+
Zm as at,
|
10227
|
+
Gm as au,
|
10228
|
+
Bu as av,
|
10229
10229
|
Me as aw,
|
10230
10230
|
oe as ax,
|
10231
10231
|
ye as ay,
|
10232
|
-
|
10232
|
+
hu as az,
|
10233
10233
|
Te as b,
|
10234
|
-
|
10235
|
-
|
10234
|
+
dr as c,
|
10235
|
+
Jm as d,
|
10236
10236
|
xe as e,
|
10237
|
-
|
10238
|
-
|
10239
|
-
|
10240
|
-
|
10241
|
-
|
10242
|
-
|
10237
|
+
Qm as f,
|
10238
|
+
Vr as g,
|
10239
|
+
Ar as h,
|
10240
|
+
Mr as i,
|
10241
|
+
Er as j,
|
10242
|
+
Yr as k,
|
10243
10243
|
gt as l,
|
10244
|
-
|
10245
|
-
|
10246
|
-
|
10247
|
-
|
10248
|
-
|
10249
|
-
|
10250
|
-
|
10251
|
-
|
10252
|
-
|
10253
|
-
|
10254
|
-
|
10255
|
-
|
10256
|
-
|
10244
|
+
_m as m,
|
10245
|
+
ed as n,
|
10246
|
+
ad as o,
|
10247
|
+
Wd as p,
|
10248
|
+
tc as q,
|
10249
|
+
sc as r,
|
10250
|
+
mc as s,
|
10251
|
+
ef as t,
|
10252
|
+
tf as u,
|
10253
|
+
iu as v,
|
10254
|
+
of as w,
|
10255
|
+
wm as x,
|
10256
|
+
bm as y,
|
10257
10257
|
De as z
|
10258
10258
|
};
|