@orchidui/core 1.8.1-75 → 1.8.1-77
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/TopBanner/OcTopBanner.js +1 -1
- package/dist/Elements/VerificationOption/OcVerificationOption.js +1 -1
- package/dist/Feedback/Banner/OcBanner.js +1 -1
- package/dist/Feedback/Chip/OcChip.js +1 -1
- package/dist/Feedback/ShareIcon/OcShareIcon.js +1 -1
- package/dist/Feedback/Snackbar/OcSnackbar.js +1 -1
- package/dist/Form/BaseInput/OcBaseInput.js +1 -1
- package/dist/Form/Button/OcButton.js +1 -1
- package/dist/Form/Calendar/OcCalendar.js +1 -1
- package/dist/Form/CardInput/OcCardInput.js +1 -1
- package/dist/Form/Checkbox/OcCheckbox.js +1 -1
- package/dist/Form/CheckboxesGroup/OcCheckboxesGroup.js +1 -1
- package/dist/Form/Criteria/OcCriteria.js +1 -1
- package/dist/Form/Cropper/OcCropper.js +1 -1
- package/dist/Form/DatePicker/OcDatePicker.js +1 -1
- package/dist/Form/EmojiPicker/OcEmojiPicker.js +1 -1
- package/dist/Form/Input/OcInput.js +1 -1
- package/dist/Form/LinkInput/OcLinkInput.js +1 -1
- package/dist/Form/MultipleUploadFile/OcMultipleUploadFile.js +1 -1
- package/dist/Form/NumberInput/OcNumberInput.js +1 -1
- package/dist/Form/PhoneInput/OcPhoneInput.js +1 -1
- package/dist/Form/Radio/OcRadio.js +1 -1
- package/dist/Form/RadioGroup/OcRadioGroup.js +1 -1
- package/dist/Form/RangeInput/OcRangeInput.js +1 -1
- package/dist/Form/SectionItem/OcSectionItem.js +1 -1
- package/dist/Form/Select/OcSelect.js +1 -1
- package/dist/Form/SelectOptions/OcSelectOptions.js +1 -1
- package/dist/Form/SingleFileUpload/OcSingleFileUpload.js +1 -1
- package/dist/Form/Slider/OcSlider.js +1 -1
- package/dist/Form/TextArea/OcTextArea.js +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/FormBuilder/OcFormBuilder.js +1 -1
- package/dist/{OcAccountSetupProgress-Df55ZULu.js → OcAccountSetupProgress-CCBBvkdA.js} +1 -1
- package/dist/{OcComplexCalendar-Y0NGoiA_.js → OcComplexCalendar-DwY1XQ7S.js} +1 -1
- package/dist/{OcComplexDatePicker-BOyBM1u8.js → OcComplexDatePicker-g5nEJkYr.js} +1 -1
- package/dist/{OcCropper-Dz28o8o4.js → OcCropper-N_SZKyY8.js} +1 -1
- package/dist/{OcDataTable-sILTcb5C.js → OcDataTable-Cek8R5zL.js} +87 -87
- package/dist/{OcDraggableList-q_1tpX5L.js → OcDraggableList-Dz8xQI7L.js} +1 -1
- package/dist/{OcEmojiPicker-BupQNF4s.js → OcEmojiPicker-DFl3VlRo.js} +1 -1
- package/dist/{OcFilterForm-BtX2Y4JO.js → OcFilterForm-DF-1h7hX.js} +1 -1
- package/dist/{OcFilterSearch-Pd1in6LC.js → OcFilterSearch-CmthkE_K.js} +1 -1
- package/dist/{OcFilterSearchFor-CNgMlBbp.js → OcFilterSearchFor-Cb34FvvK.js} +1 -1
- package/dist/{OcModalCropper-B-WFSWDH.js → OcModalCropper-DjT8eKpW.js} +2 -2
- package/dist/{OcPopper-Bc96YXbS.js → OcPopper-CYcXF-OR.js} +17 -14
- package/dist/{OcTimePicker-VNRy7enH.js → OcTimePicker-Z_nGJM3Z.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/Popper/OcPopper.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-BwIj2f5u.js → SubPlanCard-BH3PPh3B.js} +1 -1
- package/dist/{ThumbnailSection-Bv0jLhR-.js → ThumbnailSection-Bt-gRsat.js} +1 -1
- package/dist/{ThumbnailTheme-BLbP4G74.js → ThumbnailTheme-DLjh6RvG.js} +1 -1
- package/dist/{index-BmuZAPYC.js → index-BUK5bFvx.js} +293 -291
- package/dist/index.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
@@ -1,9 +1,9 @@
|
|
1
|
-
import { computed as z, ref as M, onMounted as we, openBlock as t, createElementBlock as i, normalizeClass as v, renderSlot as $, createCommentVNode as u, createElementVNode as n, createBlock as y, unref as o, Fragment as N, renderList as R, withCtx as S, createTextVNode as W, toDisplayString as
|
1
|
+
import { computed as z, ref as M, onMounted as we, openBlock as t, createElementBlock as i, normalizeClass as v, renderSlot as $, createCommentVNode as u, createElementVNode as n, createBlock as y, unref as o, Fragment as N, renderList as R, withCtx as S, createTextVNode as W, toDisplayString as w, createVNode as p, resolveDynamicComponent as at, normalizeProps as me, mergeProps as F, guardReactiveProps as Ie, withModifiers as fe, defineComponent as Z, normalizeStyle as ie, createSlots as te, useSlots as ht, onBeforeUnmount as Pt, withDirectives as Oe, vShow as Ee, watch as ue, onUpdated as Et, nextTick as He, reactive as Nt, Transition as Ae, useAttrs as zt, withKeys as Fe, Teleport as Rt, onUnmounted as Ft, defineAsyncComponent as de } from "vue";
|
2
2
|
import { S as le } from "./OcSkeleton-CvdpGSQR.js";
|
3
3
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
4
4
|
import { _ as T } from "./OcIcon-CSpRxnwd.js";
|
5
5
|
import { clickOutside as nt } from "./directives/clickOutside.js";
|
6
|
-
import { _ as bt } from "./OcPopper-
|
6
|
+
import { _ as bt } from "./OcPopper-CYcXF-OR.js";
|
7
7
|
import X from "dayjs";
|
8
8
|
import { _ as st } from "./OcAvatar-DeVm4Ck5.js";
|
9
9
|
import "./OcProgressBar-hiyC5XSc.js";
|
@@ -75,15 +75,15 @@ const Kt = {
|
|
75
75
|
}, k = () => {
|
76
76
|
const O = x.value.length === c.value.length;
|
77
77
|
x.value = O ? [] : [...c.value];
|
78
|
-
}, A = z(() => typeof a.rowClass == "function" ? (O,
|
79
|
-
!
|
78
|
+
}, A = z(() => typeof a.rowClass == "function" ? (O, b) => a.rowClass(O, b) : () => a.rowClass), j = (O, b) => {
|
79
|
+
!b.disableClickRow && b.key !== "actions" && l("click:row", {
|
80
80
|
field: O,
|
81
|
-
header:
|
81
|
+
header: b
|
82
82
|
});
|
83
83
|
}, I = M(!0), C = M(!0), h = M(), B = () => {
|
84
84
|
a.isSticky && (I.value = h.value.scrollLeft === 0, C.value = h.value.scrollLeft + h.value.clientWidth === h.value.scrollWidth);
|
85
85
|
};
|
86
|
-
return we(() => B()), (O,
|
86
|
+
return we(() => B()), (O, b) => (t(), i("div", {
|
87
87
|
ref_key: "scrollTable",
|
88
88
|
ref: h,
|
89
89
|
class: v(["flex text-oc-text flex-col border-oc-gray-200 isolate z-10", [
|
@@ -199,7 +199,7 @@ const Kt = {
|
|
199
199
|
"is-selected": x.value.some((E) => f.value(E) === f.value(V)),
|
200
200
|
variant: "checkbox",
|
201
201
|
onSelected: (E) => g(V),
|
202
|
-
"onHover:field":
|
202
|
+
"onHover:field": b[0] || (b[0] = (E) => O.$emit("hover:cell", E))
|
203
203
|
}, null, 8, ["is-last", "is-selected", "class", "onSelected"])) : u("", !0),
|
204
204
|
(t(!0), i(N, null, R(m.value, (E, P) => (t(), y(o(Re), {
|
205
205
|
key: `${P}-${L}`,
|
@@ -226,7 +226,7 @@ const Kt = {
|
|
226
226
|
"image-class": E.imageClass,
|
227
227
|
link: e.rowLink && V[e.rowLink] && E.key !== "actions" ? V[e.rowLink] : "",
|
228
228
|
onClick: (D) => j(V, E),
|
229
|
-
"onHover:field":
|
229
|
+
"onHover:field": b[1] || (b[1] = (D) => O.$emit("hover:cell", D))
|
230
230
|
}, {
|
231
231
|
default: S(() => [
|
232
232
|
O.$slots[E.key] ? $(O.$slots, E.key, {
|
@@ -285,7 +285,7 @@ const Kt = {
|
|
285
285
|
class: "rounded-full w-full overflow-hidden h-6"
|
286
286
|
})) : (t(), i(N, { key: 1 }, [
|
287
287
|
e.variant === r.TEXT ? $(l.$slots, "default", { key: 0 }, () => [
|
288
|
-
W(
|
288
|
+
W(w(e.text), 1)
|
289
289
|
]) : $(l.$slots, "default", { key: 1 }, () => [
|
290
290
|
n("div", Gt, [
|
291
291
|
p(o(Te), {
|
@@ -433,7 +433,7 @@ const Kt = {
|
|
433
433
|
link: e.link
|
434
434
|
}, [
|
435
435
|
p(o(ne), me(Ie(s.value)), null, 16)
|
436
|
-
], 8, _t)) : e.variant === r.DEFAULT ? (t(), i("div", el,
|
436
|
+
], 8, _t)) : e.variant === r.DEFAULT ? (t(), i("div", el, w(e.data), 1)) : (t(), i("div", {
|
437
437
|
key: 8,
|
438
438
|
link: e.link,
|
439
439
|
class: "w-full h-full"
|
@@ -485,14 +485,14 @@ const Kt = {
|
|
485
485
|
href: e.href,
|
486
486
|
target: "_blank",
|
487
487
|
rel: "noopener noreferrer"
|
488
|
-
},
|
489
|
-
W(
|
488
|
+
}, w(e.title), 9, ll)) : (t(), i(N, { key: 1 }, [
|
489
|
+
W(w(e.title), 1)
|
490
490
|
], 64)),
|
491
491
|
e.title ? u("", !0) : (t(), i("span", al, "-"))
|
492
492
|
], 2),
|
493
493
|
n("span", nl, [
|
494
494
|
$(r.$slots, "description", { description: e.description }, () => [
|
495
|
-
W(
|
495
|
+
W(w(e.description), 1)
|
496
496
|
]),
|
497
497
|
e.description ? u("", !0) : (t(), i("span", il, "-"))
|
498
498
|
])
|
@@ -614,7 +614,7 @@ const Kt = {
|
|
614
614
|
}, () => {
|
615
615
|
var j;
|
616
616
|
return [
|
617
|
-
W(
|
617
|
+
W(w((j = e.row) == null ? void 0 : j[g == null ? void 0 : g.key]), 1)
|
618
618
|
];
|
619
619
|
})
|
620
620
|
], 2);
|
@@ -622,10 +622,10 @@ const Kt = {
|
|
622
622
|
n("div", {
|
623
623
|
class: v(["px-4 py-3 whitespace-nowrap flex items-center gap-2", e.isSticky ? "sticky left-9 z-10 bg-white border-oc-gray-200" : ""])
|
624
624
|
}, [
|
625
|
-
W(
|
625
|
+
W(w(e.row.label) + " ", 1),
|
626
626
|
p(o(ae), null, {
|
627
627
|
popper: S(() => [
|
628
|
-
n("div", dl,
|
628
|
+
n("div", dl, w(e.row.infoText), 1)
|
629
629
|
]),
|
630
630
|
default: S(() => [
|
631
631
|
e.row.infoText ? (t(), y(o(T), {
|
@@ -640,7 +640,7 @@ const Kt = {
|
|
640
640
|
], 2),
|
641
641
|
n("div", cl, [
|
642
642
|
$(c.$slots, e.row.key, { value: e.value }, () => [
|
643
|
-
W(
|
643
|
+
W(w(e.value), 1)
|
644
644
|
])
|
645
645
|
])
|
646
646
|
], 64)),
|
@@ -707,7 +707,7 @@ const Kt = {
|
|
707
707
|
l.class,
|
708
708
|
e.isSticky && s === 0 ? "sticky left-9 z-10 bg-oc-gray-50 border-oc-gray-200" : ""
|
709
709
|
]])
|
710
|
-
},
|
710
|
+
}, w(l.label), 3))), 128)),
|
711
711
|
a[0] || (a[0] = n("div", { class: "w-9 border-b border-oc-text-200" }, null, -1))
|
712
712
|
], 4));
|
713
713
|
}
|
@@ -878,7 +878,7 @@ const Kt = {
|
|
878
878
|
onClick: (c) => l.$emit("update:modelValue", d === "..." ? e.modelValue : d)
|
879
879
|
}, {
|
880
880
|
default: S(() => [
|
881
|
-
W(
|
881
|
+
W(w(d), 1)
|
882
882
|
]),
|
883
883
|
_: 2
|
884
884
|
}, 1032, ["size", "is-rounded", "active", "onClick"]))), 128))
|
@@ -890,7 +890,7 @@ const Kt = {
|
|
890
890
|
active: !0
|
891
891
|
}, {
|
892
892
|
default: S(() => [
|
893
|
-
W(
|
893
|
+
W(w(e.modelValue), 1)
|
894
894
|
]),
|
895
895
|
_: 1
|
896
896
|
}, 8, ["size", "is-rounded"])
|
@@ -936,7 +936,7 @@ const Kt = {
|
|
936
936
|
class: v(e.isNext ? "-rotate-90" : "rotate-90"),
|
937
937
|
name: "chevron-down"
|
938
938
|
}, null, 8, ["class"]),
|
939
|
-
W(" " +
|
939
|
+
W(" " + w(e.isNext ? "Next" : "Prev"), 1)
|
940
940
|
], 2));
|
941
941
|
}
|
942
942
|
}, ut = {
|
@@ -975,7 +975,7 @@ const Kt = {
|
|
975
975
|
},
|
976
976
|
setup(e) {
|
977
977
|
return (r, a) => (t(), i("div", yl, [
|
978
|
-
e.title ? (t(), i("span", xl,
|
978
|
+
e.title ? (t(), i("span", xl, w(e.title), 1)) : u("", !0),
|
979
979
|
n("div", {
|
980
980
|
class: v(["flex gap-x-5 items-start md:flex-row flex-col gap-y-3 md:gap-y-0", e.containerClass])
|
981
981
|
}, [
|
@@ -1094,7 +1094,7 @@ const Kt = {
|
|
1094
1094
|
n("div", wl, [
|
1095
1095
|
n("div", kl, [
|
1096
1096
|
$(r.$slots, "title", {}, () => [
|
1097
|
-
n("span", $l,
|
1097
|
+
n("span", $l, w(e.title), 1)
|
1098
1098
|
]),
|
1099
1099
|
p(o(ae), F({
|
1100
1100
|
position: "top",
|
@@ -1115,7 +1115,7 @@ const Kt = {
|
|
1115
1115
|
e.tooltip ? {
|
1116
1116
|
name: "popper",
|
1117
1117
|
fn: S(() => [
|
1118
|
-
n("div", Sl,
|
1118
|
+
n("div", Sl, w(e.tooltip), 1)
|
1119
1119
|
]),
|
1120
1120
|
key: "0"
|
1121
1121
|
} : void 0
|
@@ -1132,9 +1132,9 @@ const Kt = {
|
|
1132
1132
|
}, [
|
1133
1133
|
$(r.$slots, "content", {}, () => [
|
1134
1134
|
isNaN(e.percentValue) ? (t(), i(N, { key: 1 }, [
|
1135
|
-
W(
|
1135
|
+
W(w(e.content), 1)
|
1136
1136
|
], 64)) : (t(), i("div", Bl, [
|
1137
|
-
n("div", Vl,
|
1137
|
+
n("div", Vl, w(e.content), 1),
|
1138
1138
|
p(o(ae), {
|
1139
1139
|
position: "top",
|
1140
1140
|
"popper-class": "rounded-sm",
|
@@ -1148,7 +1148,7 @@ const Kt = {
|
|
1148
1148
|
width: "10",
|
1149
1149
|
height: "9"
|
1150
1150
|
}, null, 8, ["name", "class"]),
|
1151
|
-
n("span", Il,
|
1151
|
+
n("span", Il, w(e.percentValue === 0 ? "-" : `${Math.abs(e.percentValue)}%`), 1)
|
1152
1152
|
])
|
1153
1153
|
]),
|
1154
1154
|
_: 2
|
@@ -1156,7 +1156,7 @@ const Kt = {
|
|
1156
1156
|
e.percentTooltip ? {
|
1157
1157
|
name: "popper",
|
1158
1158
|
fn: S(() => [
|
1159
|
-
n("div", Tl,
|
1159
|
+
n("div", Tl, w(e.percentTooltip), 1)
|
1160
1160
|
]),
|
1161
1161
|
key: "0"
|
1162
1162
|
} : void 0
|
@@ -1208,7 +1208,7 @@ const Kt = {
|
|
1208
1208
|
setup(e, { emit: r }) {
|
1209
1209
|
const a = r;
|
1210
1210
|
return (l, s) => {
|
1211
|
-
var d, c, m, f, x, g, k, A, j, I, C, h, B, O,
|
1211
|
+
var d, c, m, f, x, g, k, A, j, I, C, h, B, O, b, V, L, E, P;
|
1212
1212
|
return t(), i("div", {
|
1213
1213
|
class: v(["rounded shrink-0 border border-oc-gray-200 bg-oc-bg-light flex items-center justify-between gap-4 px-4 py-5 customer-card relative group", { [e.variant]: !0, "hover:shadow-normal transition": e.isHover }])
|
1214
1214
|
}, [
|
@@ -1240,20 +1240,20 @@ const Kt = {
|
|
1240
1240
|
default: S(() => {
|
1241
1241
|
var D, U;
|
1242
1242
|
return [
|
1243
|
-
W(
|
1243
|
+
W(w(((U = (D = e.customer) == null ? void 0 : D.name) == null ? void 0 : U[0]) || "J"), 1)
|
1244
1244
|
];
|
1245
1245
|
}),
|
1246
1246
|
_: 1
|
1247
1247
|
}),
|
1248
1248
|
n("div", jl, [
|
1249
1249
|
n("div", Ml, [
|
1250
|
-
n("span", Ll,
|
1251
|
-
e.isBeneficiary ? (t(), i("span", Pl,
|
1250
|
+
n("span", Ll, w(((d = e.customer) == null ? void 0 : d.name) || "-"), 1),
|
1251
|
+
e.isBeneficiary ? (t(), i("span", Pl, w((c = e.customer.currency) == null ? void 0 : c.toUpperCase()), 1)) : u("", !0)
|
1252
1252
|
]),
|
1253
1253
|
e.isBeneficiary ? (t(), i("span", El, [
|
1254
|
-
W(
|
1255
|
-
e.customer.bank_account_number ? (t(), i("span", Nl, " / " +
|
1256
|
-
])) : (t(), i("span", zl,
|
1254
|
+
W(w(e.customer.bank_name) + " ", 1),
|
1255
|
+
e.customer.bank_account_number ? (t(), i("span", Nl, " / " + w(e.customer.bank_account_number), 1)) : u("", !0)
|
1256
|
+
])) : (t(), i("span", zl, w(((m = e.customer) == null ? void 0 : m.email) || ((f = e.customer) != null && f.phone_number_country_code && ((x = e.customer) != null && x.phone_number) ? `+${e.customer.phone_number_country_code} ${e.customer.phone_number}` : (g = e.customer) != null && g.phone_number ? e.customer.phone_number : "-")), 1))
|
1257
1257
|
])
|
1258
1258
|
]),
|
1259
1259
|
e.variant !== "small" ? (t(), i("div", Rl, [
|
@@ -1272,7 +1272,7 @@ const Kt = {
|
|
1272
1272
|
content: [
|
1273
1273
|
((C = (I = e.customer) == null ? void 0 : I.address) == null ? void 0 : C.street) || "",
|
1274
1274
|
((B = (h = e.customer) == null ? void 0 : h.address) == null ? void 0 : B.city) || "",
|
1275
|
-
((
|
1275
|
+
((b = (O = e.customer) == null ? void 0 : O.address) == null ? void 0 : b.state) || "",
|
1276
1276
|
((L = (V = e.customer) == null ? void 0 : V.address) == null ? void 0 : L.postal_code) || "",
|
1277
1277
|
((P = (E = e.customer) == null ? void 0 : E.address) == null ? void 0 : P.country) || ""
|
1278
1278
|
].join(" ").trim() || "-"
|
@@ -1391,10 +1391,10 @@ const Kt = {
|
|
1391
1391
|
]),
|
1392
1392
|
n("div", Kl, [
|
1393
1393
|
n("div", Gl, [
|
1394
|
-
n("span", null,
|
1394
|
+
n("span", null, w(e.title), 1),
|
1395
1395
|
n("span", Xl, [
|
1396
1396
|
$(r.$slots, "description", {}, () => [
|
1397
|
-
W(
|
1397
|
+
W(w(e.description), 1)
|
1398
1398
|
])
|
1399
1399
|
])
|
1400
1400
|
]),
|
@@ -1408,7 +1408,7 @@ const Kt = {
|
|
1408
1408
|
class: v(["text-lg font-medium", e.iconTextClass])
|
1409
1409
|
}, [
|
1410
1410
|
$(r.$slots, "iconText", {}, () => [
|
1411
|
-
W(
|
1411
|
+
W(w(e.iconText), 1)
|
1412
1412
|
])
|
1413
1413
|
], 2)
|
1414
1414
|
])
|
@@ -1439,9 +1439,9 @@ const Kt = {
|
|
1439
1439
|
return t(), i("div", Zl, [
|
1440
1440
|
n("div", Ql, [
|
1441
1441
|
n("div", _l, [
|
1442
|
-
e.title ? (t(), i("span", ea,
|
1442
|
+
e.title ? (t(), i("span", ea, w(e.title), 1)) : u("", !0),
|
1443
1443
|
l[3] || (l[3] = W(" - ")),
|
1444
|
-
e.date ? (t(), i("span", ta,
|
1444
|
+
e.date ? (t(), i("span", ta, w(e.date), 1)) : u("", !0)
|
1445
1445
|
]),
|
1446
1446
|
p(o(se), {
|
1447
1447
|
modelValue: r.value,
|
@@ -1488,7 +1488,7 @@ const Kt = {
|
|
1488
1488
|
class: v([e.imageClass, "object-contain"]),
|
1489
1489
|
alt: e.title
|
1490
1490
|
}, null, 10, ia),
|
1491
|
-
n("div", oa,
|
1491
|
+
n("div", oa, w(e.title), 1),
|
1492
1492
|
$(r.$slots, "default")
|
1493
1493
|
]));
|
1494
1494
|
}
|
@@ -1550,7 +1550,7 @@ const Kt = {
|
|
1550
1550
|
$(f.$slots, "logo"),
|
1551
1551
|
n("div", ca, [
|
1552
1552
|
n("div", ua, [
|
1553
|
-
n("span", ma,
|
1553
|
+
n("span", ma, w(e.title), 1),
|
1554
1554
|
e.chips.length ? (t(), i("div", fa, [
|
1555
1555
|
(t(!0), i(N, null, R(e.chips, (k, A) => (t(), y(o(ne), F({
|
1556
1556
|
key: A,
|
@@ -1559,7 +1559,7 @@ const Kt = {
|
|
1559
1559
|
}, k), null, 16))), 128))
|
1560
1560
|
])) : u("", !0)
|
1561
1561
|
]),
|
1562
|
-
e.description ? (t(), i("div", va,
|
1562
|
+
e.description ? (t(), i("div", va, w(e.description), 1)) : u("", !0)
|
1563
1563
|
])
|
1564
1564
|
]),
|
1565
1565
|
$(f.$slots, "right", {}, () => [
|
@@ -1595,7 +1595,7 @@ const Kt = {
|
|
1595
1595
|
default: S(({ isShow: k }) => [
|
1596
1596
|
n("div", {
|
1597
1597
|
class: v(["text-sm w-[35px] h-[24px] flex items-center justify-center border rounded-sm font-medium whitespace-nowrap", k ? " bg-white" : "bg-oc-bg-dark"])
|
1598
|
-
}, " + " +
|
1598
|
+
}, " + " + w(e.paymentMethods.length - d.value), 3)
|
1599
1599
|
]),
|
1600
1600
|
popper: S(() => [
|
1601
1601
|
n("div", xa, [
|
@@ -1665,7 +1665,7 @@ const Kt = {
|
|
1665
1665
|
n("div", $a, [
|
1666
1666
|
n("div", Sa, [
|
1667
1667
|
$(d.$slots, "title", {}, () => [
|
1668
|
-
e.title ? (t(), i("span", Ca,
|
1668
|
+
e.title ? (t(), i("span", Ca, w(e.title), 1)) : u("", !0)
|
1669
1669
|
]),
|
1670
1670
|
e.chips.length ? (t(), i("div", Ba, [
|
1671
1671
|
(t(!0), i(N, null, R(e.chips, (m, f) => (t(), y(o(ne), {
|
@@ -1710,7 +1710,7 @@ const Kt = {
|
|
1710
1710
|
height: "16",
|
1711
1711
|
class: "text-oc-text-400"
|
1712
1712
|
}, null, 8, ["name"])) : u("", !0),
|
1713
|
-
W(" " +
|
1713
|
+
W(" " + w(e.description), 1)
|
1714
1714
|
]),
|
1715
1715
|
e.details.length ? (t(), i("div", Ia, [
|
1716
1716
|
(t(!0), i(N, null, R(e.details, (m, f) => (t(), i("div", {
|
@@ -1727,7 +1727,7 @@ const Kt = {
|
|
1727
1727
|
height: "16",
|
1728
1728
|
class: "text-oc-text-400 shrink-0"
|
1729
1729
|
}, null, 8, ["name"])),
|
1730
|
-
n("div", Ta,
|
1730
|
+
n("div", Ta, w(m.label), 1)
|
1731
1731
|
]))), 128))
|
1732
1732
|
])) : u("", !0)
|
1733
1733
|
])) : u("", !0)
|
@@ -1785,7 +1785,7 @@ const Kt = {
|
|
1785
1785
|
n("div", ja, [
|
1786
1786
|
n("div", Ma, [
|
1787
1787
|
n("div", La, [
|
1788
|
-
e.title ? (t(), i("span", Pa,
|
1788
|
+
e.title ? (t(), i("span", Pa, w(e.title), 1)) : u("", !0),
|
1789
1789
|
e.chips.length ? (t(), i("div", Ea, [
|
1790
1790
|
(t(!0), i(N, null, R(e.chips, (s, d) => (t(), y(o(ne), {
|
1791
1791
|
key: d,
|
@@ -1797,7 +1797,7 @@ const Kt = {
|
|
1797
1797
|
])
|
1798
1798
|
]),
|
1799
1799
|
n("div", Na, [
|
1800
|
-
n("div", za,
|
1800
|
+
n("div", za, w(e.description), 1)
|
1801
1801
|
])
|
1802
1802
|
]),
|
1803
1803
|
e.buttonProps ? (t(), y(o(K), F({
|
@@ -1832,7 +1832,7 @@ const Kt = {
|
|
1832
1832
|
])) : u("", !0),
|
1833
1833
|
n("div", Ua, [
|
1834
1834
|
n("div", qa, [
|
1835
|
-
n("div", Ha,
|
1835
|
+
n("div", Ha, w(e.page.title), 1),
|
1836
1836
|
n("div", Ya, [
|
1837
1837
|
p(o(se), {
|
1838
1838
|
modelValue: r.value,
|
@@ -1854,18 +1854,18 @@ const Kt = {
|
|
1854
1854
|
}, 8, ["modelValue"])
|
1855
1855
|
])
|
1856
1856
|
]),
|
1857
|
-
n("div", Ka,
|
1857
|
+
n("div", Ka, w(a(e.page.description)), 1),
|
1858
1858
|
n("div", Ga, [
|
1859
1859
|
n("span", Xa, [
|
1860
1860
|
d[2] || (d[2] = n("span", { class: "text-oc-text-300" }, "Last updated : ", -1)),
|
1861
|
-
n("span", Ja,
|
1861
|
+
n("span", Ja, w(o(X)(e.page.updated_at).format("DD MMM YYYY")), 1)
|
1862
1862
|
]),
|
1863
1863
|
p(o(ne), {
|
1864
1864
|
class: "ml-auto md:ml-0",
|
1865
1865
|
variant: e.page.enabled ? "primary" : "gray"
|
1866
1866
|
}, {
|
1867
1867
|
default: S(() => [
|
1868
|
-
W(
|
1868
|
+
W(w(e.page.enabled ? "Published" : "Draft"), 1)
|
1869
1869
|
]),
|
1870
1870
|
_: 1
|
1871
1871
|
}, 8, ["variant"])
|
@@ -1939,7 +1939,7 @@ const Kt = {
|
|
1939
1939
|
n("div", en, [
|
1940
1940
|
n("div", tn, [
|
1941
1941
|
n("div", ln, [
|
1942
|
-
e.title ? (t(), i("span", an,
|
1942
|
+
e.title ? (t(), i("span", an, w(e.title), 1)) : u("", !0),
|
1943
1943
|
e.chips.length ? (t(), i("div", nn, [
|
1944
1944
|
(t(!0), i(N, null, R(e.chips, (f, x) => (t(), y(o(ne), {
|
1945
1945
|
key: x,
|
@@ -1954,7 +1954,7 @@ const Kt = {
|
|
1954
1954
|
]),
|
1955
1955
|
$(c.$slots, "default", {}, () => [
|
1956
1956
|
e.description ? (t(), i("div", on, [
|
1957
|
-
n("div", sn,
|
1957
|
+
n("div", sn, w(e.description), 1)
|
1958
1958
|
])) : u("", !0)
|
1959
1959
|
])
|
1960
1960
|
]),
|
@@ -2080,8 +2080,8 @@ const Kt = {
|
|
2080
2080
|
},
|
2081
2081
|
setup(e) {
|
2082
2082
|
return (r, a) => (t(), i("div", mn, [
|
2083
|
-
n("span", fn,
|
2084
|
-
n("span", vn,
|
2083
|
+
n("span", fn, w(e.title) + ":", 1),
|
2084
|
+
n("span", vn, w(e.url), 1),
|
2085
2085
|
e.isCopy ? (t(), y(o(je), {
|
2086
2086
|
key: 0,
|
2087
2087
|
value: e.url
|
@@ -2132,7 +2132,7 @@ const Kt = {
|
|
2132
2132
|
n("div", {
|
2133
2133
|
class: v(["flex gap-x-2 items-center shrink-0 text-oc-text-400", { "w-[80px]": e.variant === "small" && !a.value }])
|
2134
2134
|
}, [
|
2135
|
-
W(
|
2135
|
+
W(w(e.label) + " ", 1),
|
2136
2136
|
e.showCopyTooltip ? (t(), y(o(je), {
|
2137
2137
|
key: 0,
|
2138
2138
|
value: e.content
|
@@ -2152,7 +2152,7 @@ const Kt = {
|
|
2152
2152
|
class: v({ "text-base font-medium": a.value })
|
2153
2153
|
}, [
|
2154
2154
|
$(l.$slots, "content", {}, () => [
|
2155
|
-
n("span", null,
|
2155
|
+
n("span", null, w(e.content), 1)
|
2156
2156
|
])
|
2157
2157
|
], 2)
|
2158
2158
|
], 2));
|
@@ -2187,14 +2187,14 @@ const Kt = {
|
|
2187
2187
|
key: 0,
|
2188
2188
|
class: v(["flex items-start text-oc-text-400 font-medium text-[10px]", e.titleClass])
|
2189
2189
|
}, [
|
2190
|
-
n("div", pn,
|
2190
|
+
n("div", pn, w(e.title), 1),
|
2191
2191
|
e.titleIconTooltip ? (t(), y(o(ae), {
|
2192
2192
|
key: 0,
|
2193
2193
|
"popper-class": "w-max bg-oc-bg",
|
2194
2194
|
position: "top-start"
|
2195
2195
|
}, {
|
2196
2196
|
popper: S(() => [
|
2197
|
-
n("div", yn,
|
2197
|
+
n("div", yn, w(e.titleIconTooltip), 1)
|
2198
2198
|
]),
|
2199
2199
|
default: S(() => [
|
2200
2200
|
p(o(T), {
|
@@ -2271,12 +2271,12 @@ const Kt = {
|
|
2271
2271
|
n("div", kn, [
|
2272
2272
|
n("span", $n, [
|
2273
2273
|
$(l.$slots, "title", {}, () => [
|
2274
|
-
W(
|
2274
|
+
W(w(e.title), 1)
|
2275
2275
|
])
|
2276
2276
|
]),
|
2277
2277
|
$(l.$slots, "description", {}, () => [
|
2278
2278
|
n("div", Sn, [
|
2279
|
-
e.description ? (t(), i("span", Cn,
|
2279
|
+
e.description ? (t(), i("span", Cn, w(e.description), 1)) : u("", !0),
|
2280
2280
|
p(o(je), {
|
2281
2281
|
value: e.description,
|
2282
2282
|
"tooltip-options": { strategy: "fixed" }
|
@@ -2398,11 +2398,11 @@ const Kt = {
|
|
2398
2398
|
width: "18",
|
2399
2399
|
height: "18"
|
2400
2400
|
})
|
2401
|
-
])) : e.number ? (t(), i("div", Mn,
|
2401
|
+
])) : e.number ? (t(), i("div", Mn, w(e.number), 1)) : u("", !0),
|
2402
2402
|
n("div", Ln, [
|
2403
2403
|
$(r.$slots, "default", {}, () => [
|
2404
|
-
n("span", Pn,
|
2405
|
-
n("span", En,
|
2404
|
+
n("span", Pn, w(e.title), 1),
|
2405
|
+
n("span", En, w(e.description), 1)
|
2406
2406
|
])
|
2407
2407
|
])
|
2408
2408
|
]),
|
@@ -2472,7 +2472,7 @@ const Kt = {
|
|
2472
2472
|
onClick: d[0] || (d[0] = (c) => a.isDisabled ? null : s.$emit("update:isExpandable", !a.isExpandable))
|
2473
2473
|
}, [
|
2474
2474
|
$(s.$slots, "header", {}, () => [
|
2475
|
-
W(
|
2475
|
+
W(w(e.header), 1)
|
2476
2476
|
]),
|
2477
2477
|
e.showIcon ? (t(), y(o(T), {
|
2478
2478
|
key: 0,
|
@@ -2489,7 +2489,7 @@ const Kt = {
|
|
2489
2489
|
class: v(["text-oc-text text-sm p-4 rounded-b z-0 border-x border-b", [e.isExpandable ? "border-oc-gray-200" : " border-transparent", e.bodyStyle]])
|
2490
2490
|
}, [
|
2491
2491
|
$(s.$slots, "body", {}, () => [
|
2492
|
-
W(
|
2492
|
+
W(w(e.body), 1)
|
2493
2493
|
])
|
2494
2494
|
], 2)
|
2495
2495
|
], 2)
|
@@ -2574,8 +2574,8 @@ const Kt = {
|
|
2574
2574
|
n("div", zn, [
|
2575
2575
|
p(Nn, { variant: e.variant }, null, 8, ["variant"]),
|
2576
2576
|
n("div", Rn, [
|
2577
|
-
n("span", Fn,
|
2578
|
-
n("span", Un,
|
2577
|
+
n("span", Fn, w(e.title), 1),
|
2578
|
+
n("span", Un, w(e.description), 1)
|
2579
2579
|
])
|
2580
2580
|
]),
|
2581
2581
|
$(d.$slots, "button-group"),
|
@@ -2699,7 +2699,7 @@ const Kt = {
|
|
2699
2699
|
e.isFullWidth ? "w-full" : "",
|
2700
2700
|
e.isBig ? "text-base" : "text-sm"
|
2701
2701
|
]]),
|
2702
|
-
onClick: (
|
2702
|
+
onClick: (b) => j(h.value)
|
2703
2703
|
}, [
|
2704
2704
|
$(I.$slots, h.value, {}, () => [
|
2705
2705
|
h.icon ? (t(), y(o(T), {
|
@@ -2710,8 +2710,8 @@ const Kt = {
|
|
2710
2710
|
}, null, 8, ["name"])) : u("", !0),
|
2711
2711
|
n("div", {
|
2712
2712
|
class: v({ truncate: e.isArrows })
|
2713
|
-
},
|
2714
|
-
h.count ? (t(), i("div", Hn,
|
2713
|
+
}, w(h.label), 3),
|
2714
|
+
h.count ? (t(), i("div", Hn, w(h.count > e.maxCount ? `${e.maxCount}+` : h.count), 1)) : u("", !0)
|
2715
2715
|
])
|
2716
2716
|
], 10, qn);
|
2717
2717
|
}), 128))
|
@@ -2758,7 +2758,7 @@ const Kt = {
|
|
2758
2758
|
alt: "logo"
|
2759
2759
|
}, null, 8, Yn)) : u("", !0)
|
2760
2760
|
]),
|
2761
|
-
n("div", Wn,
|
2761
|
+
n("div", Wn, w(e.tab.label), 1)
|
2762
2762
|
], 2));
|
2763
2763
|
}
|
2764
2764
|
}, Kn = { key: 1 }, Gn = /* @__PURE__ */ Z({
|
@@ -2796,11 +2796,11 @@ const Kt = {
|
|
2796
2796
|
name: "check-2",
|
2797
2797
|
width: "12",
|
2798
2798
|
height: "12"
|
2799
|
-
})) : (t(), i("span", Kn,
|
2799
|
+
})) : (t(), i("span", Kn, w(e.value), 1))
|
2800
2800
|
], 2),
|
2801
2801
|
n("span", {
|
2802
2802
|
class: v(e.isCurrent ? "font-medium" : "")
|
2803
|
-
},
|
2803
|
+
}, w(e.title), 3)
|
2804
2804
|
], 2));
|
2805
2805
|
}
|
2806
2806
|
}), Xn = { class: "flex gap-x-7" }, Jm = /* @__PURE__ */ Z({
|
@@ -2908,7 +2908,7 @@ const Kt = {
|
|
2908
2908
|
e.label ? (t(), i("span", {
|
2909
2909
|
key: 1,
|
2910
2910
|
class: v(e.isDisabled ? "text-oc-text-300" : e.isActive ? "font-medium" : "")
|
2911
|
-
},
|
2911
|
+
}, w(e.label), 3)) : u("", !0)
|
2912
2912
|
]),
|
2913
2913
|
$(r.$slots, `${e.value}-description`)
|
2914
2914
|
], 2));
|
@@ -3043,7 +3043,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3043
3043
|
height: "24",
|
3044
3044
|
class: v(["group-hover:hidden", x.value === e.modelValue ? "hidden" : "block"])
|
3045
3045
|
}, null, 8, ["name", "class"]),
|
3046
|
-
W(" " +
|
3046
|
+
W(" " + w(x.label), 1)
|
3047
3047
|
], 10, fi))), 128)),
|
3048
3048
|
n("div", {
|
3049
3049
|
ref_key: "currentRef",
|
@@ -3075,7 +3075,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3075
3075
|
]),
|
3076
3076
|
default: S(() => [
|
3077
3077
|
n("div", vi, [
|
3078
|
-
W(
|
3078
|
+
W(w(l.value.label) + " ", 1),
|
3079
3079
|
p(o(T), {
|
3080
3080
|
name: "chevron-down",
|
3081
3081
|
width: "20",
|
@@ -3114,7 +3114,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3114
3114
|
e.isLoading ? (t(), y(o(le), {
|
3115
3115
|
key: 1,
|
3116
3116
|
class: "w-1/2 h-[20px] rounded"
|
3117
|
-
})) : (t(), i("span", xi,
|
3117
|
+
})) : (t(), i("span", xi, w(e.title), 1))
|
3118
3118
|
]),
|
3119
3119
|
e.chipProps ? (t(), y(o(ne), me(F({ key: 0 }, e.chipProps)), null, 16)) : u("", !0)
|
3120
3120
|
]),
|
@@ -3123,7 +3123,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3123
3123
|
e.isLoading ? (t(), y(o(le), {
|
3124
3124
|
key: 1,
|
3125
3125
|
class: "w-1/3 h-[18px] rounded"
|
3126
|
-
})) : (t(), i("span", bi,
|
3126
|
+
})) : (t(), i("span", bi, w(e.description), 1))
|
3127
3127
|
]),
|
3128
3128
|
e.isCopy ? (t(), y(o(je), {
|
3129
3129
|
key: 0,
|
@@ -3159,7 +3159,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3159
3159
|
const r = M(!1);
|
3160
3160
|
return (a, l) => (t(), i("div", wi, [
|
3161
3161
|
n("div", ki, [
|
3162
|
-
n("span", $i,
|
3162
|
+
n("span", $i, w(e.title), 1),
|
3163
3163
|
e.primaryButtonProps || e.secondaryButtonProps ? (t(), y(o(K), F({
|
3164
3164
|
key: 0,
|
3165
3165
|
size: "small"
|
@@ -3201,7 +3201,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3201
3201
|
}, 16)) : u("", !0)
|
3202
3202
|
]),
|
3203
3203
|
e.description ? (t(), i("div", Si, [
|
3204
|
-
n("span", Ci,
|
3204
|
+
n("span", Ci, w(e.description), 1),
|
3205
3205
|
p(o(je), {
|
3206
3206
|
class: "shrink-0",
|
3207
3207
|
value: e.description
|
@@ -3356,7 +3356,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3356
3356
|
popper: S(() => {
|
3357
3357
|
var I, C;
|
3358
3358
|
return [
|
3359
|
-
n("div", Ti,
|
3359
|
+
n("div", Ti, w((C = (I = e.primaryActions) == null ? void 0 : I.mainLinkAction) == null ? void 0 : C.tooltipContent), 1)
|
3360
3360
|
];
|
3361
3361
|
}),
|
3362
3362
|
default: S(() => {
|
@@ -3385,7 +3385,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3385
3385
|
distance: 7
|
3386
3386
|
}, {
|
3387
3387
|
popper: S(() => [
|
3388
|
-
n("div", Ai,
|
3388
|
+
n("div", Ai, w(I != null && I.isCopyButton ? s.value ? x.value : f.value : I.tooltipContent), 1)
|
3389
3389
|
]),
|
3390
3390
|
default: S(() => [
|
3391
3391
|
I != null && I.isCopyButton ? (t(), y(o(T), {
|
@@ -3430,7 +3430,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3430
3430
|
key: 1,
|
3431
3431
|
ref_for: !0
|
3432
3432
|
}, B, {
|
3433
|
-
onClick: A[0] || (A[0] = (
|
3433
|
+
onClick: A[0] || (A[0] = (b) => c.value = !1)
|
3434
3434
|
}), null, 16))
|
3435
3435
|
], 64))), 128))
|
3436
3436
|
]),
|
@@ -3443,11 +3443,11 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3443
3443
|
class: "!w-full"
|
3444
3444
|
}, {
|
3445
3445
|
popper: S(() => [
|
3446
|
-
n("div", Pi,
|
3446
|
+
n("div", Pi, w(B == null ? void 0 : B.tooltipText), 1)
|
3447
3447
|
]),
|
3448
3448
|
default: S(() => [
|
3449
3449
|
p(o(be), F({ ref_for: !0 }, B, {
|
3450
|
-
onClick: A[1] || (A[1] = (
|
3450
|
+
onClick: A[1] || (A[1] = (b) => c.value = !1)
|
3451
3451
|
}), null, 16)
|
3452
3452
|
]),
|
3453
3453
|
_: 2
|
@@ -3455,7 +3455,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3455
3455
|
key: 1,
|
3456
3456
|
ref_for: !0
|
3457
3457
|
}, B, {
|
3458
|
-
onClick: A[2] || (A[2] = (
|
3458
|
+
onClick: A[2] || (A[2] = (b) => c.value = !1)
|
3459
3459
|
}), null, 16))
|
3460
3460
|
]))), 128))
|
3461
3461
|
])) : u("", !0)
|
@@ -3539,7 +3539,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3539
3539
|
"arrow-hidden": ""
|
3540
3540
|
}, {
|
3541
3541
|
popper: S(() => [
|
3542
|
-
n("div", Ri,
|
3542
|
+
n("div", Ri, w(e.primaryButtonProps.tooltip), 1)
|
3543
3543
|
]),
|
3544
3544
|
default: S(() => [
|
3545
3545
|
p(o(K), F({
|
@@ -3803,7 +3803,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3803
3803
|
distance: 10
|
3804
3804
|
}, {
|
3805
3805
|
popper: S(() => [
|
3806
|
-
n("div", Ki,
|
3806
|
+
n("div", Ki, w(e.iconTooltip), 1)
|
3807
3807
|
]),
|
3808
3808
|
default: S(() => [
|
3809
3809
|
p(o(T), F({
|
@@ -3823,7 +3823,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3823
3823
|
class: v({
|
3824
3824
|
"truncate max-w-[180px]": e.shouldTruncateChip
|
3825
3825
|
})
|
3826
|
-
},
|
3826
|
+
}, w(e.label), 3)
|
3827
3827
|
])
|
3828
3828
|
]),
|
3829
3829
|
e.closable ? (t(), y(o(T), {
|
@@ -3902,7 +3902,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3902
3902
|
n("div", to, [
|
3903
3903
|
n("div", lo, [
|
3904
3904
|
a[3] || (a[3] = n("span", { class: "font-medium" }, "Account setup", -1)),
|
3905
|
-
n("span", ao,
|
3905
|
+
n("span", ao, w(e.progress) + "%", 1)
|
3906
3906
|
]),
|
3907
3907
|
n("div", no, [
|
3908
3908
|
n("div", {
|
@@ -3922,7 +3922,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3922
3922
|
class: "text-oc-warning-500"
|
3923
3923
|
})
|
3924
3924
|
])) : (t(), i("div", so, [
|
3925
|
-
n("span", ro,
|
3925
|
+
n("span", ro, w(e.progress), 1),
|
3926
3926
|
n("div", {
|
3927
3927
|
class: "pie",
|
3928
3928
|
style: ie({
|
@@ -3954,7 +3954,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
3954
3954
|
return (r, a) => (t(), i("div", null, [
|
3955
3955
|
n("div", uo, [
|
3956
3956
|
e.isSidebarExpanded && e.label ? (t(), i("div", mo, [
|
3957
|
-
n("span", null,
|
3957
|
+
n("span", null, w(e.label), 1)
|
3958
3958
|
])) : u("", !0)
|
3959
3959
|
]),
|
3960
3960
|
n("div", {
|
@@ -4032,7 +4032,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4032
4032
|
e.isExpanded ? (t(), i(N, { key: 0 }, [
|
4033
4033
|
n("span", {
|
4034
4034
|
class: v(["leading-[21px] flex-1", { "font-medium": e.isActive }])
|
4035
|
-
},
|
4035
|
+
}, w(e.label), 3),
|
4036
4036
|
e.isBeta ? (t(), i("div", go, " BETA ")) : u("", !0),
|
4037
4037
|
e.isNew ? (t(), i("div", po, " NEW ")) : u("", !0),
|
4038
4038
|
e.isTryIt ? (t(), i("div", yo, " TRY IT ")) : u("", !0)
|
@@ -4052,7 +4052,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4052
4052
|
name: "popper",
|
4053
4053
|
fn: S(() => [
|
4054
4054
|
n("div", xo, [
|
4055
|
-
n("span", ho,
|
4055
|
+
n("span", ho, w(e.label), 1)
|
4056
4056
|
])
|
4057
4057
|
]),
|
4058
4058
|
key: "0"
|
@@ -4116,7 +4116,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4116
4116
|
}, a[0] || (a[0] = [
|
4117
4117
|
n("div", { class: "w-[6px] h-[6px] rounded-full bg-[var(--oc-sidebar-menu-active-icon-active)]" }, null, -1)
|
4118
4118
|
]), 2),
|
4119
|
-
n("div", ko,
|
4119
|
+
n("div", ko, w(e.label), 1),
|
4120
4120
|
e.isBeta ? (t(), i("div", $o, " BETA ")) : u("", !0),
|
4121
4121
|
e.isNew ? (t(), i("div", So, " NEW ")) : u("", !0),
|
4122
4122
|
e.isTryIt ? (t(), i("div", Co, " TRY IT ")) : u("", !0)
|
@@ -4179,7 +4179,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4179
4179
|
name: "sparkle-2",
|
4180
4180
|
class: "text-oc-accent-2"
|
4181
4181
|
}),
|
4182
|
-
n("div", Mo,
|
4182
|
+
n("div", Mo, w(e.title), 1),
|
4183
4183
|
n("div", Lo, [
|
4184
4184
|
p(o(T), {
|
4185
4185
|
name: "x",
|
@@ -4197,7 +4197,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4197
4197
|
})
|
4198
4198
|
])
|
4199
4199
|
]),
|
4200
|
-
n("div", Po,
|
4200
|
+
n("div", Po, w(e.description), 1)
|
4201
4201
|
])
|
4202
4202
|
]));
|
4203
4203
|
}
|
@@ -4231,7 +4231,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4231
4231
|
width: "20",
|
4232
4232
|
height: "20"
|
4233
4233
|
}),
|
4234
|
-
W(" " +
|
4234
|
+
W(" " + w(e.title), 1)
|
4235
4235
|
])) : u("", !0),
|
4236
4236
|
n("div", No, [
|
4237
4237
|
(t(!0), i(N, null, R(e.menu, (l, s) => (t(), i("div", {
|
@@ -4241,7 +4241,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4241
4241
|
e.modelValue === l.value ? "bg-oc-accent-2-50-tr text-oc-accent-1" : "text-oc-text-400"
|
4242
4242
|
]),
|
4243
4243
|
onClick: (d) => r.$emit("update:modelValue", l.value)
|
4244
|
-
},
|
4244
|
+
}, w(l.label), 11, zo))), 128))
|
4245
4245
|
])
|
4246
4246
|
]));
|
4247
4247
|
}
|
@@ -4371,11 +4371,11 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4371
4371
|
}, [
|
4372
4372
|
n("span", {
|
4373
4373
|
class: v([r.value[e.size].title, "font-medium"])
|
4374
|
-
},
|
4374
|
+
}, w(e.title), 3),
|
4375
4375
|
$(a.$slots, "description", {}, () => [
|
4376
4376
|
n("span", {
|
4377
4377
|
class: v([r.value[e.size].description, "text-oc-text-400 text-center"])
|
4378
|
-
},
|
4378
|
+
}, w(e.description), 3)
|
4379
4379
|
])
|
4380
4380
|
], 2),
|
4381
4381
|
e.isButton ? (t(), y(o(K), {
|
@@ -4420,7 +4420,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4420
4420
|
])) : (t(), i("div", Uo, [
|
4421
4421
|
n("div", qo, [
|
4422
4422
|
n("div", Ho, [
|
4423
|
-
n("span", Yo,
|
4423
|
+
n("span", Yo, w(e.title), 1),
|
4424
4424
|
e.chipOptions ? (t(), y(o(ne), me(F({ key: 0 }, e.chipOptions)), null, 16)) : u("", !0)
|
4425
4425
|
]),
|
4426
4426
|
n("span", {
|
@@ -4432,7 +4432,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4432
4432
|
name: `flags/${e.countryIso.toUpperCase()}`
|
4433
4433
|
}, null, 8, ["name"])
|
4434
4434
|
])) : u("", !0),
|
4435
|
-
W(" " +
|
4435
|
+
W(" " + w(e.content), 1)
|
4436
4436
|
], 2)
|
4437
4437
|
]),
|
4438
4438
|
e.isDropdown ? (t(), y(o(K), me(F({ key: 0 }, e.dropdownOptions)), null, 16)) : u("", !0)
|
@@ -4536,7 +4536,7 @@ const ef = /* @__PURE__ */ ge(ii, [["render", si]]), ri = { class: "flex items-c
|
|
4536
4536
|
(s = e.secondaryButtonProps) != null && s.tooltip ? {
|
4537
4537
|
name: "popper",
|
4538
4538
|
fn: S(() => [
|
4539
|
-
W(
|
4539
|
+
W(w(e.secondaryButtonProps.tooltip), 1)
|
4540
4540
|
]),
|
4541
4541
|
key: "0"
|
4542
4542
|
} : void 0
|
@@ -4673,7 +4673,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
4673
4673
|
popper: S(() => {
|
4674
4674
|
var c;
|
4675
4675
|
return [
|
4676
|
-
n("div", cs,
|
4676
|
+
n("div", cs, w((c = e.boxes[0]) == null ? void 0 : c.infoTooltip), 1)
|
4677
4677
|
];
|
4678
4678
|
}),
|
4679
4679
|
default: S(() => [
|
@@ -4812,7 +4812,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
4812
4812
|
p(o(ae), { "popper-options": { strategy: "fixed" } }, {
|
4813
4813
|
popper: S(() => [
|
4814
4814
|
$(r.$slots, l.infoTooltipSlot, {}, () => [
|
4815
|
-
n("div", ps,
|
4815
|
+
n("div", ps, w(l.infoTooltip), 1)
|
4816
4816
|
])
|
4817
4817
|
]),
|
4818
4818
|
default: S(() => [
|
@@ -4948,7 +4948,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
4948
4948
|
class: "w-[100px] h-[24px] rounded"
|
4949
4949
|
})) : u("", !0)
|
4950
4950
|
])) : (t(), i("div", hs, [
|
4951
|
-
n("span", bs,
|
4951
|
+
n("span", bs, w(e.additionalTitle), 1),
|
4952
4952
|
e.chipVariant ? (t(), y(o(ne), {
|
4953
4953
|
key: 0,
|
4954
4954
|
variant: e.chipVariant,
|
@@ -4969,8 +4969,8 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
4969
4969
|
target: "_blank",
|
4970
4970
|
class: "text-oc-text-400 flex items-center overflow-hidden cursor-pointer"
|
4971
4971
|
}, [
|
4972
|
-
n("div", Ss,
|
4973
|
-
n("div", Cs,
|
4972
|
+
n("div", Ss, w(e.mainLink), 1),
|
4973
|
+
n("div", Cs, w(e.userId), 1)
|
4974
4974
|
], 8, $s),
|
4975
4975
|
p(o(Ei), {
|
4976
4976
|
"primary-actions": e.primaryActions,
|
@@ -5049,8 +5049,8 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5049
5049
|
var l;
|
5050
5050
|
return t(), i("div", Vs, [
|
5051
5051
|
n("div", Os, [
|
5052
|
-
n("h2", Is,
|
5053
|
-
e.description ? (t(), i("p", Ts,
|
5052
|
+
n("h2", Is, w(e.title), 1),
|
5053
|
+
e.description ? (t(), i("p", Ts, w(e.description), 1)) : u("", !0),
|
5054
5054
|
(l = e.features) != null && l.length ? (t(), i("div", Ds, [
|
5055
5055
|
(t(!0), i(N, null, R(e.features, (s) => (t(), i("div", {
|
5056
5056
|
key: s.title,
|
@@ -5067,7 +5067,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5067
5067
|
height: "56",
|
5068
5068
|
width: "56"
|
5069
5069
|
}, null, 8, ["name"]),
|
5070
|
-
n("span", As,
|
5070
|
+
n("span", As, w(s.title), 1)
|
5071
5071
|
]))), 128))
|
5072
5072
|
])) : u("", !0)
|
5073
5073
|
])
|
@@ -5088,7 +5088,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5088
5088
|
},
|
5089
5089
|
setup(e) {
|
5090
5090
|
return (r, a) => (t(), i("div", Ms, [
|
5091
|
-
n("span", Ls,
|
5091
|
+
n("span", Ls, w(e.title), 1),
|
5092
5092
|
e.chipProps ? (t(), y(o(ne), F({
|
5093
5093
|
key: 0,
|
5094
5094
|
class: "absolute left-[40px]"
|
@@ -5107,7 +5107,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5107
5107
|
emits: ["click:button"],
|
5108
5108
|
setup(e) {
|
5109
5109
|
return (r, a) => (t(), i("div", Ps, [
|
5110
|
-
n("span", Es,
|
5110
|
+
n("span", Es, w(e.title), 1),
|
5111
5111
|
e.buttonLabel ? (t(), y(o(K), {
|
5112
5112
|
key: 0,
|
5113
5113
|
class: "absolute right-9",
|
@@ -5117,7 +5117,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5117
5117
|
}, {
|
5118
5118
|
default: S(() => [
|
5119
5119
|
n("span", Ns, [
|
5120
|
-
W(
|
5120
|
+
W(w(e.buttonLabel) + " ", 1),
|
5121
5121
|
p(o(T), {
|
5122
5122
|
name: "arrow-right",
|
5123
5123
|
width: "9",
|
@@ -5151,8 +5151,8 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5151
5151
|
variant: e.variant
|
5152
5152
|
}, null, 8, ["icon", "width", "height", "variant"]),
|
5153
5153
|
n("div", zs, [
|
5154
|
-
n("span", Rs,
|
5155
|
-
n("span", Fs,
|
5154
|
+
n("span", Rs, w(e.title), 1),
|
5155
|
+
n("span", Fs, w(e.description), 1)
|
5156
5156
|
])
|
5157
5157
|
], 2));
|
5158
5158
|
}
|
@@ -5178,7 +5178,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5178
5178
|
height: e.height,
|
5179
5179
|
class: v(e.iconClass)
|
5180
5180
|
}, null, 8, ["name", "width", "height", "class"])) : u("", !0),
|
5181
|
-
n("span", null,
|
5181
|
+
n("span", null, w(e.title), 1),
|
5182
5182
|
e.chipProps ? (t(), y(o(ne), F({ key: 1 }, e.chipProps, { class: "absolute top-0 -translate-y-1/2 sm:right-9" }), null, 16)) : u("", !0)
|
5183
5183
|
], 2));
|
5184
5184
|
}
|
@@ -5209,7 +5209,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5209
5209
|
n("div", Us, [
|
5210
5210
|
n("div", qs, [
|
5211
5211
|
$(r.$slots, "title", {}, () => [
|
5212
|
-
n("span", Hs,
|
5212
|
+
n("span", Hs, w(e.title), 1)
|
5213
5213
|
]),
|
5214
5214
|
e.chipOptions ? (t(), y(o(ne), me(F({ key: 0 }, e.chipOptions)), null, 16)) : u("", !0)
|
5215
5215
|
]),
|
@@ -5361,8 +5361,8 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5361
5361
|
$(x.$slots, "default", {}, () => [
|
5362
5362
|
f.value ? (t(), i("div", Ys, [
|
5363
5363
|
n("div", Ws, [
|
5364
|
-
n("span", Ks,
|
5365
|
-
n("span", Gs,
|
5364
|
+
n("span", Ks, w(e.title), 1),
|
5365
|
+
n("span", Gs, w(e.description), 1)
|
5366
5366
|
]),
|
5367
5367
|
n("div", Xs, [
|
5368
5368
|
e.secondaryButton ? (t(), y(o(K), F({
|
@@ -5383,7 +5383,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5383
5383
|
key: 1,
|
5384
5384
|
class: "text-oc-text",
|
5385
5385
|
innerHTML: e.content
|
5386
|
-
}, null, 8, Zs)) : (t(), i("span", Js,
|
5386
|
+
}, null, 8, Zs)) : (t(), i("span", Js, w(e.content), 1))
|
5387
5387
|
], 2))
|
5388
5388
|
]),
|
5389
5389
|
e.dismissible ? (t(), i("div", {
|
@@ -5472,7 +5472,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5472
5472
|
height: "16"
|
5473
5473
|
}, null, 8, ["name"])) : u("", !0),
|
5474
5474
|
$(l.$slots, "title", {}, () => [
|
5475
|
-
n("div", _s,
|
5475
|
+
n("div", _s, w(e.title), 1)
|
5476
5476
|
], !0)
|
5477
5477
|
]),
|
5478
5478
|
e.dismissible ? (t(), y(o(K), {
|
@@ -5485,7 +5485,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5485
5485
|
], 2),
|
5486
5486
|
n("div", er, [
|
5487
5487
|
$(l.$slots, "default", {}, () => [
|
5488
|
-
W(
|
5488
|
+
W(w(e.content), 1)
|
5489
5489
|
], !0)
|
5490
5490
|
])
|
5491
5491
|
], 2), [
|
@@ -5511,7 +5511,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5511
5511
|
setup(e) {
|
5512
5512
|
return (r, a) => e.isOnlyIcon ? (t(), y(o(ae), me(F({ key: 0 }, e.tooltipOptions)), {
|
5513
5513
|
popper: S(() => [
|
5514
|
-
n("div", ar,
|
5514
|
+
n("div", ar, w(e.text), 1)
|
5515
5515
|
]),
|
5516
5516
|
default: S(() => [
|
5517
5517
|
n("div", lr, [
|
@@ -5529,7 +5529,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5529
5529
|
width: "20",
|
5530
5530
|
height: "20"
|
5531
5531
|
}, null, 8, ["name"]),
|
5532
|
-
n("span", ir,
|
5532
|
+
n("span", ir, w(e.text), 1)
|
5533
5533
|
]));
|
5534
5534
|
}
|
5535
5535
|
}, or = { class: "flex flex-col w-full gap-y-2" }, sr = { class: "flex items-center gap-x-1" }, rr = {
|
@@ -5563,13 +5563,13 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5563
5563
|
class: v(["flex items-center text-sm font-medium gap-x-3 text-oc-text-400", e.labelClass])
|
5564
5564
|
}, [
|
5565
5565
|
n("span", sr, [
|
5566
|
-
W(
|
5566
|
+
W(w(e.label) + " ", 1),
|
5567
5567
|
e.isRequired ? (t(), i("span", rr, "*")) : u("", !0)
|
5568
5568
|
]),
|
5569
5569
|
e.labelIcon ? (t(), y(o(ae), me(F({ key: 0 }, e.tooltipOptions)), {
|
5570
5570
|
popper: S(() => [
|
5571
5571
|
$(r.$slots, "tooltipText", {}, () => [
|
5572
|
-
e.tooltipText ? (t(), i("div", dr,
|
5572
|
+
e.tooltipText ? (t(), i("div", dr, w(e.tooltipText), 1)) : u("", !0)
|
5573
5573
|
])
|
5574
5574
|
]),
|
5575
5575
|
default: S(() => [
|
@@ -5585,10 +5585,10 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5585
5585
|
$(r.$slots, "default"),
|
5586
5586
|
(e.hint || r.$slots.hint) && !e.errorMessage ? (t(), i("div", cr, [
|
5587
5587
|
$(r.$slots, "hint", {}, () => [
|
5588
|
-
W(
|
5588
|
+
W(w(e.hint), 1)
|
5589
5589
|
])
|
5590
5590
|
])) : u("", !0),
|
5591
|
-
e.errorMessage ? (t(), i("div", ur,
|
5591
|
+
e.errorMessage ? (t(), i("div", ur, w(e.errorMessage), 1)) : u("", !0)
|
5592
5592
|
]));
|
5593
5593
|
}
|
5594
5594
|
}, mr = ["disabled"], fr = {
|
@@ -5675,7 +5675,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5675
5675
|
height: k.value[e.size],
|
5676
5676
|
name: e.leftIcon
|
5677
5677
|
}, null, 8, ["width", "class", "height", "name"])) : u("", !0),
|
5678
|
-
e.label ? (t(), i("span", fr,
|
5678
|
+
e.label ? (t(), i("span", fr, w(e.label), 1)) : $(A.$slots, "default", { key: 3 }, void 0, !0),
|
5679
5679
|
e.rightIcon ? (t(), y(o(T), {
|
5680
5680
|
key: 4,
|
5681
5681
|
width: k.value[e.size],
|
@@ -5807,7 +5807,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5807
5807
|
e.label ? (t(), i("span", {
|
5808
5808
|
key: 0,
|
5809
5809
|
class: v({ "text-sm": !e.isButtonVariant })
|
5810
|
-
},
|
5810
|
+
}, w(e.label), 3)) : u("", !0),
|
5811
5811
|
n("input", {
|
5812
5812
|
value: e.modelValue,
|
5813
5813
|
type: "checkbox",
|
@@ -5924,7 +5924,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
5924
5924
|
e.label ? (t(), i("span", {
|
5925
5925
|
key: 0,
|
5926
5926
|
class: v(e.modelValue ? "text-oc-success" : "text-oc-primary-300")
|
5927
|
-
},
|
5927
|
+
}, w(e.label), 3)) : u("", !0)
|
5928
5928
|
]));
|
5929
5929
|
}
|
5930
5930
|
}, wr = { class: "flex flex-1 items-baseline gap-x-2" }, kr = {
|
@@ -6089,9 +6089,9 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6089
6089
|
}, e.iconProps), null, 16, ["name"])) : u("", !0)
|
6090
6090
|
]),
|
6091
6091
|
n("div", wr, [
|
6092
|
-
e.isInlineLabel && e.label ? (t(), i("label", kr,
|
6092
|
+
e.isInlineLabel && e.label ? (t(), i("label", kr, w(e.label) + ": ", 1)) : u("", !0),
|
6093
6093
|
n("div", $r, [
|
6094
|
-
e.preFill ? (t(), i("span", Sr,
|
6094
|
+
e.preFill ? (t(), i("span", Sr, w(e.preFill), 1)) : u("", !0),
|
6095
6095
|
n("input", F({
|
6096
6096
|
ref_key: "inputRef",
|
6097
6097
|
ref: s,
|
@@ -6225,7 +6225,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6225
6225
|
var C, h;
|
6226
6226
|
return [
|
6227
6227
|
n("div", Or, [
|
6228
|
-
e.isInlineLabel && e.label ? (t(), i("label", Ir,
|
6228
|
+
e.isInlineLabel && e.label ? (t(), i("label", Ir, w(e.label) + ": ", 1)) : u("", !0),
|
6229
6229
|
n("div", {
|
6230
6230
|
class: "bg-oc-bg-light flex items-center gap-x-1 w-full",
|
6231
6231
|
onClick: I[4] || (I[4] = (B) => c.value.focus())
|
@@ -6245,7 +6245,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6245
6245
|
key: `${B}-${O}`,
|
6246
6246
|
closable: "",
|
6247
6247
|
label: B,
|
6248
|
-
onRemove: (
|
6248
|
+
onRemove: (b) => k(B)
|
6249
6249
|
}, null, 8, ["label", "onRemove"]))), 128)),
|
6250
6250
|
d.value.length > e.maxVisibleOptions ? (t(), y(o(ne), {
|
6251
6251
|
key: 0,
|
@@ -6258,7 +6258,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6258
6258
|
name: "minus",
|
6259
6259
|
width: "12",
|
6260
6260
|
height: "12"
|
6261
|
-
})) : (t(), i("span", Dr,
|
6261
|
+
})) : (t(), i("span", Dr, w(`+${d.value.length - e.maxVisibleOptions}`), 1))
|
6262
6262
|
]),
|
6263
6263
|
_: 1
|
6264
6264
|
})) : u("", !0)
|
@@ -6340,25 +6340,25 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6340
6340
|
return ((O = x(B)) == null ? void 0 : O.code) || "";
|
6341
6341
|
}, k = (B) => {
|
6342
6342
|
l("update:modelValue", [g(d.value), B]);
|
6343
|
-
}, A = (B, O,
|
6343
|
+
}, A = (B, O, b = null) => {
|
6344
6344
|
var V;
|
6345
|
-
d.value = B.toLowerCase(), l("update:modelValue", [O,
|
6345
|
+
d.value = B.toLowerCase(), l("update:modelValue", [O, b || ((V = a.modelValue) == null ? void 0 : V[1]) || ""]), c.value = !1;
|
6346
6346
|
}, j = M(null), I = M([]), C = () => {
|
6347
6347
|
setTimeout(() => {
|
6348
6348
|
const B = f.value.indexOf(
|
6349
6349
|
x(d.value)
|
6350
|
-
),
|
6351
|
-
j.value.scrollTo(0,
|
6350
|
+
), b = I.value[B].offsetTop;
|
6351
|
+
j.value.scrollTo(0, b - 60, { behavior: "smooth" });
|
6352
6352
|
}, 10);
|
6353
6353
|
}, h = (B) => {
|
6354
6354
|
let O = B.clipboardData.getData("Text");
|
6355
6355
|
try {
|
6356
6356
|
if (O.search(/[^0-9]/g) < 0)
|
6357
6357
|
if (O = O.slice(0, 19), O.length > 5 && a.shouldParseCountryCode) {
|
6358
|
-
const { nationalNumber:
|
6358
|
+
const { nationalNumber: b, countryCallingCode: V, country: L } = Wt(
|
6359
6359
|
"+" + O.replace("+", "")
|
6360
6360
|
);
|
6361
|
-
V && L ? A(L, V,
|
6361
|
+
V && L ? A(L, V, b) : l("update:modelValue", [g(d.value), b]);
|
6362
6362
|
} else
|
6363
6363
|
l("update:modelValue", [g(d.value), O]);
|
6364
6364
|
} catch {
|
@@ -6367,10 +6367,10 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6367
6367
|
B.preventDefault();
|
6368
6368
|
};
|
6369
6369
|
return (B, O) => {
|
6370
|
-
var
|
6370
|
+
var b;
|
6371
6371
|
return t(), y(o(xe), {
|
6372
6372
|
"error-message": e.errorMessage,
|
6373
|
-
"model-value": ((
|
6373
|
+
"model-value": ((b = e.modelValue) == null ? void 0 : b[1]) || "",
|
6374
6374
|
placeholder: e.placeholder,
|
6375
6375
|
label: e.label,
|
6376
6376
|
"is-inline-label": e.isInlineLabel,
|
@@ -6434,8 +6434,8 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6434
6434
|
n("div", {
|
6435
6435
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${V.iso.toLowerCase()}`])
|
6436
6436
|
}, null, 2),
|
6437
|
-
n("span", Er, "+" +
|
6438
|
-
n("span", Nr,
|
6437
|
+
n("span", Er, "+" + w(V.code), 1),
|
6438
|
+
n("span", Nr, w(V.country), 1)
|
6439
6439
|
], 10, Pr))), 128))
|
6440
6440
|
], 512)
|
6441
6441
|
]),
|
@@ -6444,7 +6444,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6444
6444
|
n("div", {
|
6445
6445
|
class: v(["fi !w-[20px] !h-[15px] !rounded-[2px] shadow-md", `fi-${d.value}`])
|
6446
6446
|
}, null, 2),
|
6447
|
-
n("span", Mr, " +" +
|
6447
|
+
n("span", Mr, " +" + w(g(d.value)), 1),
|
6448
6448
|
p(o(T), {
|
6449
6449
|
width: "16",
|
6450
6450
|
height: "16",
|
@@ -6530,12 +6530,12 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6530
6530
|
e.label ? (t(), i("span", {
|
6531
6531
|
key: 0,
|
6532
6532
|
class: v({ "text-sm": !e.isButtonVariantWithRadio })
|
6533
|
-
},
|
6533
|
+
}, w(e.label), 3)) : u("", !0)
|
6534
6534
|
]),
|
6535
6535
|
e.labelIcon ? (t(), y(o(ae), me(F({ key: 2 }, e.tooltipOptions)), {
|
6536
6536
|
popper: S(() => [
|
6537
6537
|
$(r.$slots, "tooltipText", {}, () => [
|
6538
|
-
e.tooltipText ? (t(), i("div", Ur,
|
6538
|
+
e.tooltipText ? (t(), i("div", Ur, w(e.tooltipText), 1)) : u("", !0)
|
6539
6539
|
])
|
6540
6540
|
]),
|
6541
6541
|
default: S(() => [
|
@@ -6875,9 +6875,9 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
6875
6875
|
(D = m.value) == null || D.focus();
|
6876
6876
|
});
|
6877
6877
|
});
|
6878
|
-
const
|
6878
|
+
const b = M("100%"), V = z(() => ({ maxWidth: b.value })), L = () => {
|
6879
6879
|
var P, D, U, H;
|
6880
|
-
s("toggle"),
|
6880
|
+
s("toggle"), b.value = (D = (P = O.value) == null ? void 0 : P.$el) != null && D.offsetWidth ? `${(H = (U = O.value) == null ? void 0 : U.$el) == null ? void 0 : H.offsetWidth}px` : "100%", setTimeout(() => {
|
6881
6881
|
var ce;
|
6882
6882
|
let G, _;
|
6883
6883
|
if (Array.isArray(l.modelValue) ? G = l.modelValue[0] ?? null : G = l.modelValue, !G) return;
|
@@ -7055,7 +7055,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
7055
7055
|
label: `+${I.value.length - e.maxVisibleOptions}`
|
7056
7056
|
}, null, 8, ["label"])) : u("", !0)
|
7057
7057
|
]),
|
7058
|
-
I.value.length === 0 ? (t(), i("span", Jr,
|
7058
|
+
I.value.length === 0 ? (t(), i("span", Jr, w(e.placeholder), 1)) : u("", !0)
|
7059
7059
|
])) : u("", !0),
|
7060
7060
|
e.isInlineSearch && e.isFilterable && !I.value ? (t(), y(o(xe), {
|
7061
7061
|
key: 1,
|
@@ -7086,11 +7086,11 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
7086
7086
|
width: "16",
|
7087
7087
|
height: "16"
|
7088
7088
|
}, null, 8, ["name"])) : u("", !0),
|
7089
|
-
e.isInlineLabel && e.label ? (t(), i("span", Qr,
|
7090
|
-
I.value ? (t(), i("span", _r,
|
7089
|
+
e.isInlineLabel && e.label ? (t(), i("span", Qr, w(e.label) + ": ", 1)) : u("", !0),
|
7090
|
+
I.value ? (t(), i("span", _r, w(I.value.label), 1)) : (t(), i("span", {
|
7091
7091
|
key: 3,
|
7092
7092
|
class: v(e.dropdownClasses ? "" : "text-oc-text-300")
|
7093
|
-
},
|
7093
|
+
}, w(e.placeholder), 3))
|
7094
7094
|
])),
|
7095
7095
|
e.modelValue && e.isClearable ? (t(), y(o(T), {
|
7096
7096
|
key: 3,
|
@@ -7167,9 +7167,9 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
7167
7167
|
n("div", {
|
7168
7168
|
class: v(["flex flex-col gap-3 overflow-hidden", { "flex-1": e.isCheckboxes }])
|
7169
7169
|
}, [
|
7170
|
-
n("span", id,
|
7170
|
+
n("span", id, w(e.label), 1),
|
7171
7171
|
$(l.$slots, "sub-label", {}, () => [
|
7172
|
-
e.subLabel ? (t(), i("span", od,
|
7172
|
+
e.subLabel ? (t(), i("span", od, w(e.subLabel), 1)) : u("", !0)
|
7173
7173
|
])
|
7174
7174
|
], 2),
|
7175
7175
|
$(l.$slots, "leading")
|
@@ -7196,7 +7196,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
7196
7196
|
},
|
7197
7197
|
setup(e) {
|
7198
7198
|
return (r, a) => (t(), i("div", sd, [
|
7199
|
-
n("div", rd,
|
7199
|
+
n("div", rd, w(e.label), 1),
|
7200
7200
|
$(r.$slots, "default")
|
7201
7201
|
]));
|
7202
7202
|
}
|
@@ -7254,7 +7254,7 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
7254
7254
|
() => a.links.find((h) => h.value === d.value) ?? {}
|
7255
7255
|
), f = z(() => m.value.preFill ?? ""), x = M(a.modelValue ? a.modelValue.replace(f.value, "") : ""), g = (h) => {
|
7256
7256
|
var O;
|
7257
|
-
const B = (O = a.links.find((
|
7257
|
+
const B = (O = a.links.find((b) => b.value === h)) == null ? void 0 : O.preFill;
|
7258
7258
|
l("update:modelValue", a.modelValue.replace(f.value, B)), d.value = h, l("update:type", h), s.value = !1;
|
7259
7259
|
}, k = (h) => {
|
7260
7260
|
x.value = h, l("update:modelValue", f.value + h), !a.isEdit && d.value !== "link" && l("update:title", h);
|
@@ -7298,14 +7298,14 @@ const tt = /* @__PURE__ */ ge(is, [["render", ss]]), rs = { class: "flex" }, ds
|
|
7298
7298
|
(t(!0), i(N, null, R(e.links, (O) => (t(), i("div", {
|
7299
7299
|
key: O.value,
|
7300
7300
|
class: "flex items-center px-3 py-2 rounded-sm cursor-pointer gap-x-3 text-oc-text-400 hover:bg-gray-50",
|
7301
|
-
onClick: (
|
7301
|
+
onClick: (b) => g(O.value)
|
7302
7302
|
}, [
|
7303
7303
|
p(o(T), {
|
7304
7304
|
width: "20",
|
7305
7305
|
height: "20",
|
7306
7306
|
name: O.icon
|
7307
7307
|
}, null, 8, ["name"]),
|
7308
|
-
W(" " +
|
7308
|
+
W(" " + w(O.label), 1)
|
7309
7309
|
], 8, ud))), 128))
|
7310
7310
|
]))
|
7311
7311
|
]),
|
@@ -7457,16 +7457,16 @@ var At = { exports: {} };
|
|
7457
7457
|
}, k = [/[+-]\d\d:?(\d\d)?|Z/, function(h) {
|
7458
7458
|
(this.zone || (this.zone = {})).offset = function(B) {
|
7459
7459
|
if (!B || B === "Z") return 0;
|
7460
|
-
var O = B.match(/([+-]|\d\d)/g),
|
7461
|
-
return
|
7460
|
+
var O = B.match(/([+-]|\d\d)/g), b = 60 * O[1] + (+O[2] || 0);
|
7461
|
+
return b === 0 ? 0 : O[0] === "+" ? -b : b;
|
7462
7462
|
}(h);
|
7463
7463
|
}], A = function(h) {
|
7464
7464
|
var B = f[h];
|
7465
7465
|
return B && (B.indexOf ? B : B.s.concat(B.f));
|
7466
7466
|
}, j = function(h, B) {
|
7467
|
-
var O,
|
7468
|
-
if (
|
7469
|
-
for (var V = 1; V <= 24; V += 1) if (h.indexOf(
|
7467
|
+
var O, b = f.meridiem;
|
7468
|
+
if (b) {
|
7469
|
+
for (var V = 1; V <= 24; V += 1) if (h.indexOf(b(V, 0, B)) > -1) {
|
7470
7470
|
O = V > 12;
|
7471
7471
|
break;
|
7472
7472
|
}
|
@@ -7486,10 +7486,10 @@ var At = { exports: {} };
|
|
7486
7486
|
this.milliseconds = +h;
|
7487
7487
|
}], s: [c, g("seconds")], ss: [c, g("seconds")], m: [c, g("minutes")], mm: [c, g("minutes")], H: [c, g("hours")], h: [c, g("hours")], HH: [c, g("hours")], hh: [c, g("hours")], D: [c, g("day")], DD: [d, g("day")], Do: [m, function(h) {
|
7488
7488
|
var B = f.ordinal, O = h.match(/\d+/);
|
7489
|
-
if (this.day = O[0], B) for (var
|
7489
|
+
if (this.day = O[0], B) for (var b = 1; b <= 31; b += 1) B(b).replace(/\[|\]/g, "") === h && (this.day = b);
|
7490
7490
|
}], w: [c, g("week")], ww: [d, g("week")], M: [c, g("month")], MM: [d, g("month")], MMM: [m, function(h) {
|
7491
|
-
var B = A("months"), O = (A("monthsShort") || B.map(function(
|
7492
|
-
return
|
7491
|
+
var B = A("months"), O = (A("monthsShort") || B.map(function(b) {
|
7492
|
+
return b.slice(0, 3);
|
7493
7493
|
})).indexOf(h) + 1;
|
7494
7494
|
if (O < 1) throw new Error();
|
7495
7495
|
this.month = O % 12 || O;
|
@@ -7503,18 +7503,18 @@ var At = { exports: {} };
|
|
7503
7503
|
function C(h) {
|
7504
7504
|
var B, O;
|
7505
7505
|
B = h, O = f && f.formats;
|
7506
|
-
for (var
|
7506
|
+
for (var b = (h = B.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(H, G, _) {
|
7507
7507
|
var ee = _ && _.toUpperCase();
|
7508
7508
|
return G || O[_] || a[_] || O[ee].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(oe, ce, pe) {
|
7509
7509
|
return ce || pe.slice(1);
|
7510
7510
|
});
|
7511
|
-
})).match(l), V =
|
7512
|
-
var E =
|
7513
|
-
|
7511
|
+
})).match(l), V = b.length, L = 0; L < V; L += 1) {
|
7512
|
+
var E = b[L], P = I[E], D = P && P[0], U = P && P[1];
|
7513
|
+
b[L] = U ? { regex: D, parser: U } : E.replace(/^\[|\]$/g, "");
|
7514
7514
|
}
|
7515
7515
|
return function(H) {
|
7516
7516
|
for (var G = {}, _ = 0, ee = 0; _ < V; _ += 1) {
|
7517
|
-
var oe =
|
7517
|
+
var oe = b[_];
|
7518
7518
|
if (typeof oe == "string") ee += oe.length;
|
7519
7519
|
else {
|
7520
7520
|
var ce = oe.regex, pe = oe.parser, ke = H.slice(ee), $e = ce.exec(ke)[0];
|
@@ -7532,8 +7532,8 @@ var At = { exports: {} };
|
|
7532
7532
|
}
|
7533
7533
|
return function(h, B, O) {
|
7534
7534
|
O.p.customParseFormat = !0, h && h.parseTwoDigitYear && (x = h.parseTwoDigitYear);
|
7535
|
-
var
|
7536
|
-
|
7535
|
+
var b = B.prototype, V = b.parse;
|
7536
|
+
b.parse = function(L) {
|
7537
7537
|
var E = L.date, P = L.utc, D = L.args;
|
7538
7538
|
this.$u = P;
|
7539
7539
|
var U = D[1];
|
@@ -7654,7 +7654,7 @@ function Yd(e, r, a) {
|
|
7654
7654
|
function O(E) {
|
7655
7655
|
return m = void 0, A && l ? j(E) : (l = s = void 0, c);
|
7656
7656
|
}
|
7657
|
-
function
|
7657
|
+
function b() {
|
7658
7658
|
m !== void 0 && clearTimeout(m), x = 0, l = f = s = m = void 0;
|
7659
7659
|
}
|
7660
7660
|
function V() {
|
@@ -7670,7 +7670,7 @@ function Yd(e, r, a) {
|
|
7670
7670
|
}
|
7671
7671
|
return m === void 0 && (m = setTimeout(B, r)), c;
|
7672
7672
|
}
|
7673
|
-
return L.cancel =
|
7673
|
+
return L.cancel = b, L.flush = V, L;
|
7674
7674
|
}
|
7675
7675
|
const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex flex-col gap-2 p-3" }, Gd = { class: "flex justify-between items-center" }, Xd = { key: 0 }, Jd = { key: 1 }, Zd = {
|
7676
7676
|
key: 0,
|
@@ -7721,7 +7721,7 @@ const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex f
|
|
7721
7721
|
const a = e, l = r, s = M(), d = M(), c = M(), m = M(), f = M(), x = M(), g = M(), k = M(!1), A = M(!1), j = M(!1), I = M(!1), C = z(() => a.type === "range"), h = z(() => {
|
7722
7722
|
const J = s.value.endOf("month").date();
|
7723
7723
|
return Array.from({ length: J }, (Y, ve) => ve + 1);
|
7724
|
-
}), B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], O = z(() => s.value.format("MMMM YYYY")),
|
7724
|
+
}), B = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], O = z(() => s.value.format("MMMM YYYY")), b = z(
|
7725
7725
|
() => j.value ? x.value.format("YYYY") : s.value.format("YYYY")
|
7726
7726
|
), V = z(() => s.value.format("MMM")), L = z(() => {
|
7727
7727
|
const q = d.value, J = c.value ?? g.value, Y = [q, J];
|
@@ -7822,7 +7822,7 @@ const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex f
|
|
7822
7822
|
class: "cursor-pointer hover:opacity-50 transition",
|
7823
7823
|
onClick: J[0] || (J[0] = (Y) => j.value = !j.value)
|
7824
7824
|
}, [
|
7825
|
-
j.value ? (t(), i("div", Xd, b
|
7825
|
+
j.value ? (t(), i("div", Xd, w(b.value - 11) + " - " + w(b.value), 1)) : (t(), i("div", Jd, w(b.value), 1))
|
7826
7826
|
]),
|
7827
7827
|
p(o(K), {
|
7828
7828
|
"left-icon": "chevron-right",
|
@@ -7831,13 +7831,13 @@ const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex f
|
|
7831
7831
|
})
|
7832
7832
|
]),
|
7833
7833
|
j.value ? (t(), i("div", Zd, [
|
7834
|
-
(t(!0), i(N, null, R(Ve(
|
7834
|
+
(t(!0), i(N, null, R(Ve(b.value - 11), (Y) => (t(), i("div", {
|
7835
7835
|
key: Y,
|
7836
7836
|
class: v(["px-4 py-2 hover:border-oc-gray-200 border-2 border-transparent transition text-center rounded cursor-pointer", {
|
7837
7837
|
"!border-oc-primary bg-oc-primary text-white": s.value.year() === Y
|
7838
7838
|
}]),
|
7839
7839
|
onClick: (ve) => ee(Y)
|
7840
|
-
},
|
7840
|
+
}, w(Y), 11, Qd))), 128))
|
7841
7841
|
])) : (t(), i("div", _d, [
|
7842
7842
|
(t(), i(N, null, R(B, (Y, ve) => n("div", {
|
7843
7843
|
key: Y,
|
@@ -7845,7 +7845,7 @@ const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex f
|
|
7845
7845
|
"!border-oc-primary bg-oc-primary text-white": V.value === Y
|
7846
7846
|
}]),
|
7847
7847
|
onClick: (Me) => _(ve)
|
7848
|
-
},
|
7848
|
+
}, w(Y), 11, ec)), 64))
|
7849
7849
|
]))
|
7850
7850
|
])
|
7851
7851
|
]),
|
@@ -7853,7 +7853,7 @@ const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex f
|
|
7853
7853
|
n("span", {
|
7854
7854
|
class: v([[k.value ? "pointer-events-none opacity-[.35]" : ""], "cursor-pointer hover:opacity-50 transition"]),
|
7855
7855
|
onClick: fe(pe, ["stop"])
|
7856
|
-
},
|
7856
|
+
}, w(O.value), 3)
|
7857
7857
|
]),
|
7858
7858
|
_: 1
|
7859
7859
|
}, 8, ["modelValue"]),
|
@@ -7894,7 +7894,7 @@ const Wd = { class: "flex items-center justify-between" }, Kd = { class: "flex f
|
|
7894
7894
|
]]),
|
7895
7895
|
onClick: (Me) => Be(Y),
|
7896
7896
|
onMouseover: (Me) => o(Ce)(Y)
|
7897
|
-
},
|
7897
|
+
}, w(Y), 43, tc);
|
7898
7898
|
}), 128))
|
7899
7899
|
], 32),
|
7900
7900
|
$(q.$slots, "bottom", {}, () => [
|
@@ -8035,13 +8035,13 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8035
8035
|
a("resetCalendar"), a("update:modelValue", f.value ? [] : null), s.value = !1;
|
8036
8036
|
}, A = (h) => {
|
8037
8037
|
const B = X(h);
|
8038
|
-
return ((
|
8038
|
+
return ((b) => b.get("month") === X().get("month"))(B);
|
8039
8039
|
}, j = (h) => {
|
8040
8040
|
d.value = h, a("update:modelValue", h ? "Indefinite" : null);
|
8041
8041
|
}, I = (h, B) => {
|
8042
|
-
var
|
8042
|
+
var b;
|
8043
8043
|
const O = X(h, l.dateFormat, !0);
|
8044
|
-
m.value[B] = O.format(l.dateFormat), m.value[B ? 0 : 1] = ((
|
8044
|
+
m.value[B] = O.format(l.dateFormat), m.value[B ? 0 : 1] = ((b = l.modelValue) == null ? void 0 : b[B ? 0 : 1]) || X().format(l.dateFormat);
|
8045
8045
|
}, C = () => {
|
8046
8046
|
if (m.value.length) {
|
8047
8047
|
if (c.value = !1, m.value.some((h) => !X(h, l.dateFormat).isValid())) {
|
@@ -8067,12 +8067,12 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8067
8067
|
updateCalendar: g,
|
8068
8068
|
resetCalendar: k
|
8069
8069
|
}, () => {
|
8070
|
-
var
|
8070
|
+
var b, V;
|
8071
8071
|
return [
|
8072
8072
|
f.value ? (t(), y(o(vm), {
|
8073
8073
|
key: 0,
|
8074
8074
|
"model-value": {
|
8075
|
-
start: (
|
8075
|
+
start: (b = e.modelValue) == null ? void 0 : b[0],
|
8076
8076
|
end: (V = e.modelValue) == null ? void 0 : V[1]
|
8077
8077
|
},
|
8078
8078
|
shortcuts: e.shortcuts,
|
@@ -8215,10 +8215,10 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8215
8215
|
var C, h, B;
|
8216
8216
|
parseInt((C = c.value) == null ? void 0 : C.value) - parseInt((h = d.value) == null ? void 0 : h.value) <= l.minGap && (c.value.value = parseInt((B = d.value) == null ? void 0 : B.value) + l.minGap), A();
|
8217
8217
|
}, A = (C = !1) => {
|
8218
|
-
var h, B, O,
|
8218
|
+
var h, B, O, b;
|
8219
8219
|
f.value = (((h = d.value) == null ? void 0 : h.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100, x.value = l.type === "range" ? (((B = c.value) == null ? void 0 : B.value) - l.minLimit) / (l.maxLimit - l.minLimit) * 100 : 0, m.value.style.background = l.type === "range" ? `linear-gradient(to right, var(--oc-gray-100) ${f.value}% , var(--oc-primary-500) ${f.value}% , var(--oc-primary-500) ${x.value}%, var(--oc-gray-100) ${x.value}%)` : `linear-gradient(to right, var(--oc-primary-500) ${f.value}%, var(--oc-gray-100) ${f.value}%)`, C || s(
|
8220
8220
|
"update:modelValue",
|
8221
|
-
l.type === "range" ? [(O = d.value) == null ? void 0 : O.value, (
|
8221
|
+
l.type === "range" ? [(O = d.value) == null ? void 0 : O.value, (b = c.value) == null ? void 0 : b.value] : d.value.value
|
8222
8222
|
);
|
8223
8223
|
}, j = (C) => {
|
8224
8224
|
C.key >= "0" && C.key <= "9" || C.key === "Backspace" || C.preventDefault();
|
@@ -8228,10 +8228,10 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8228
8228
|
return r({
|
8229
8229
|
updateSlider: I
|
8230
8230
|
}), we(() => I()), (C, h) => {
|
8231
|
-
var B, O,
|
8231
|
+
var B, O, b, V;
|
8232
8232
|
return t(), i("div", fc, [
|
8233
8233
|
e.label ? (t(), i("label", vc, [
|
8234
|
-
n("span", gc,
|
8234
|
+
n("span", gc, w(e.label), 1)
|
8235
8235
|
])) : u("", !0),
|
8236
8236
|
n("div", {
|
8237
8237
|
class: v(["relative h-[33px] flex items-center", {
|
@@ -8267,20 +8267,20 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8267
8267
|
key: 1,
|
8268
8268
|
class: "group-hover:block absolute top-[1rem] z-[1] -translate-x-1/2 rounded-sm py-[3px] px-[6px] min-w-[28px] bg-oc-text-500 text-center text-white text-sm font-medium leading-[20px]",
|
8269
8269
|
style: ie(`left: ${f.value}%`)
|
8270
|
-
},
|
8270
|
+
}, w(e.type === "range" ? (b = e.modelValue) == null ? void 0 : b[0] : e.modelValue), 5)) : u("", !0),
|
8271
8271
|
e.type === "range" ? (t(), i("div", {
|
8272
8272
|
key: 2,
|
8273
8273
|
class: "group-hover:block absolute top-[1rem] z-[1] translate-x-1/2 rounded-sm py-[3px] px-[6px] min-w-[28px] bg-oc-text-500 text-center text-white text-sm font-medium leading-[20px]",
|
8274
8274
|
style: ie(`right: ${100 - x.value}%`)
|
8275
|
-
},
|
8275
|
+
}, w((V = e.modelValue) == null ? void 0 : V[1]), 5)) : u("", !0),
|
8276
8276
|
n("span", xc, [
|
8277
8277
|
$(C.$slots, "min-limit-label", {}, () => [
|
8278
|
-
W(
|
8278
|
+
W(w(e.minLimit), 1)
|
8279
8279
|
], !0)
|
8280
8280
|
]),
|
8281
8281
|
n("span", hc, [
|
8282
8282
|
$(C.$slots, "max-limit-label", {}, () => [
|
8283
|
-
W(
|
8283
|
+
W(w(e.maxLimit), 1)
|
8284
8284
|
], !0)
|
8285
8285
|
])
|
8286
8286
|
], 2),
|
@@ -8328,13 +8328,13 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8328
8328
|
return a.defaultValue === !0 && (a.modelValue === null || a.modelValue === void 0) && l("update:modelValue", !0), (s, d) => (t(), i("div", kc, [
|
8329
8329
|
n("div", $c, [
|
8330
8330
|
n("div", Sc, [
|
8331
|
-
W(
|
8331
|
+
W(w(e.title) + " ", 1),
|
8332
8332
|
p(o(ae), {
|
8333
8333
|
position: "top",
|
8334
8334
|
distance: 4
|
8335
8335
|
}, {
|
8336
8336
|
popper: S(() => [
|
8337
|
-
n("div", Cc,
|
8337
|
+
n("div", Cc, w(e.popperMessage), 1)
|
8338
8338
|
]),
|
8339
8339
|
default: S(() => [
|
8340
8340
|
e.icon ? (t(), y(o(T), {
|
@@ -8351,8 +8351,8 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8351
8351
|
e.description ? (t(), i("span", {
|
8352
8352
|
key: 0,
|
8353
8353
|
class: v(["text-oc-text-400 text-sm", e.descriptionClass])
|
8354
|
-
},
|
8355
|
-
e.errorMessage ? (t(), i("div", Bc,
|
8354
|
+
}, w(e.description), 3)) : u("", !0),
|
8355
|
+
e.errorMessage ? (t(), i("div", Bc, w(e.errorMessage), 1)) : u("", !0)
|
8356
8356
|
]),
|
8357
8357
|
$(s.$slots, "actions", {}, () => [
|
8358
8358
|
e.isToggle ? (t(), y(o(wt), F({
|
@@ -8482,8 +8482,8 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8482
8482
|
"text-oc-text-400 group-hover:text-oc-text-500": d.value && f.value.toString() !== e.modelValue.toString(),
|
8483
8483
|
"text-oc-text-500": d.value && f.value.toString() === e.modelValue.toString()
|
8484
8484
|
}])
|
8485
|
-
},
|
8486
|
-
f.description ? (t(), i("div", Dc,
|
8485
|
+
}, w(f.label), 3),
|
8486
|
+
f.description ? (t(), i("div", Dc, w(f.description), 1)) : u("", !0)
|
8487
8487
|
], 2),
|
8488
8488
|
e.borderless ? (t(), y(o(T), {
|
8489
8489
|
key: 1,
|
@@ -8721,7 +8721,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8721
8721
|
j({ target: { files: D } }, a.format === "object");
|
8722
8722
|
}, O = () => {
|
8723
8723
|
!d.value || !c.value || l("update:modelValue", { fileName: c, fileLink: d });
|
8724
|
-
},
|
8724
|
+
}, b = (P) => {
|
8725
8725
|
h.value.fileUrl = P, h.value.fileName = Date.now(), g.value = !1, k.value = "", l("update:modelValue", a.format === "object" ? h.value : [h.value]);
|
8726
8726
|
}, V = async (P) => {
|
8727
8727
|
if (P)
|
@@ -8843,7 +8843,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8843
8843
|
onClose: D[15] || (D[15] = () => {
|
8844
8844
|
g.value = !1, k.value = "";
|
8845
8845
|
}),
|
8846
|
-
onChangeImage:
|
8846
|
+
onChangeImage: b
|
8847
8847
|
}, null, 8, ["modelValue", "img"])) : u("", !0)
|
8848
8848
|
])) : (t(), i(N, { key: 1 }, [
|
8849
8849
|
n("div", Gc, [
|
@@ -8853,17 +8853,17 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8853
8853
|
width: "14",
|
8854
8854
|
height: "10"
|
8855
8855
|
}),
|
8856
|
-
n("span", Jc,
|
8856
|
+
n("span", Jc, w(($e = h.value) == null ? void 0 : $e.extension), 1)
|
8857
8857
|
]),
|
8858
8858
|
n("div", {
|
8859
8859
|
class: v([e.shouldTruncateFileName ? "truncate max-w-[250px]" : ""])
|
8860
|
-
},
|
8860
|
+
}, w((ye = h.value) == null ? void 0 : ye.fileName), 3)
|
8861
8861
|
]),
|
8862
8862
|
n("div", Zc, [
|
8863
8863
|
n("div", {
|
8864
8864
|
class: v([((Se = h.value) == null ? void 0 : Se.progress) === 100 ? "opacity-0" : "", "transition-all duration-500 flex flex-col gap-y-1 items-center"])
|
8865
8865
|
}, [
|
8866
|
-
n("span", Qc,
|
8866
|
+
n("span", Qc, w(((re = h.value) == null ? void 0 : re.progress) || 0) + "% ", 1),
|
8867
8867
|
n("div", _c, [
|
8868
8868
|
n("div", {
|
8869
8869
|
class: "h-2 bg-oc-primary transition-all duration-100",
|
@@ -8919,7 +8919,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8919
8919
|
onDragover: D[10] || (D[10] = fe(() => {
|
8920
8920
|
}, ["prevent"]))
|
8921
8921
|
}, [
|
8922
|
-
n("span", Uc,
|
8922
|
+
n("span", Uc, w(e.isDisabled ? "Upload disabled" : "Choose file from your computer or drag here"), 1),
|
8923
8923
|
p(o(K), {
|
8924
8924
|
size: "small",
|
8925
8925
|
"is-disabled": e.isDisabled,
|
@@ -8989,40 +8989,40 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
8989
8989
|
"invalidFileType"
|
8990
8990
|
],
|
8991
8991
|
setup(e, { emit: r }) {
|
8992
|
-
const a = e, l = r, s = M([]), d = M(!1), c = M(""), m = M({}), f = z(() => a.uploadedImages[c.value].fileUrl), x = M(!1), g = M(""), k = (
|
8993
|
-
x.value = !0, g.value =
|
8992
|
+
const a = e, l = r, s = M([]), d = M(!1), c = M(""), m = M({}), f = z(() => a.uploadedImages[c.value].fileUrl), x = M(!1), g = M(""), k = (b) => {
|
8993
|
+
x.value = !0, g.value = b;
|
8994
8994
|
}, A = M(!1), j = () => {
|
8995
|
-
const
|
8996
|
-
|
8995
|
+
const b = a.uploadedImages.find((V, L) => L === g.value);
|
8996
|
+
b.current ? l("onRemoveImage", b) : (l("delete", g.value), A.value = !0, setTimeout(() => {
|
8997
8997
|
A.value = !1;
|
8998
8998
|
}, 1e3)), l(
|
8999
8999
|
"update:uploadedImages",
|
9000
9000
|
a.uploadedImages.filter((V, L) => L !== g.value)
|
9001
9001
|
), x.value = !1;
|
9002
|
-
}, I = ({ url:
|
9002
|
+
}, I = ({ url: b, cropper: V }) => {
|
9003
9003
|
const L = a.uploadedImages[c.value];
|
9004
|
-
L.fileUrl =
|
9005
|
-
}, C = (
|
9004
|
+
L.fileUrl = b, L.fileName = Date.now(), l("onEditImage", { ...L, index: c.value, cropper: V }), d.value = !1, c.value = "", m.value = {};
|
9005
|
+
}, C = (b) => {
|
9006
9006
|
let V = a.uploadedImages[c.value];
|
9007
|
-
Object.keys(
|
9008
|
-
V[L] =
|
9007
|
+
Object.keys(b).forEach((L) => {
|
9008
|
+
V[L] = b[L];
|
9009
9009
|
}), l("update:uploadedImages", a.uploadedImages);
|
9010
|
-
}, h = (
|
9011
|
-
let V = a.uploadedImages.length +
|
9010
|
+
}, h = (b) => {
|
9011
|
+
let V = a.uploadedImages.length + b.target.files.length > a.maxImages;
|
9012
9012
|
if (a.maxImages && V) {
|
9013
9013
|
l("onMaxFileExceed", V);
|
9014
9014
|
return;
|
9015
9015
|
}
|
9016
|
-
l("change",
|
9016
|
+
l("change", b);
|
9017
9017
|
}, B = z(
|
9018
9018
|
() => a.maxImages == null || a.maxImages && a.uploadedImages.length < a.maxImages
|
9019
|
-
), O = (
|
9019
|
+
), O = (b, V) => {
|
9020
9020
|
var L;
|
9021
|
-
c.value =
|
9021
|
+
c.value = b, (L = a.inputOptions) == null || L.forEach((E) => {
|
9022
9022
|
m.value[E] = V[E], E === "caption" && (m.value.caption_variant = V.caption_variant);
|
9023
|
-
}), s[
|
9023
|
+
}), s[b] = !1, d.value = !0;
|
9024
9024
|
};
|
9025
|
-
return (
|
9025
|
+
return (b, V) => (t(), i("div", eu, [
|
9026
9026
|
B.value ? (t(), i("label", tu, [
|
9027
9027
|
n("div", lu, [
|
9028
9028
|
p(o(T), { name: "plus" })
|
@@ -9043,7 +9043,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9043
9043
|
filter: "filtered-el",
|
9044
9044
|
class: "grid w-fit grid-cols-3 gap-3",
|
9045
9045
|
style: ie(`grid-template-columns: repeat(${e.columnsCount}, 1fr)`),
|
9046
|
-
"onUpdate:modelValue": V[0] || (V[0] = (L) => e.isDisabled ? null :
|
9046
|
+
"onUpdate:modelValue": V[0] || (V[0] = (L) => e.isDisabled ? null : b.$emit("update:uploadedImages", L))
|
9047
9047
|
}, {
|
9048
9048
|
default: S(({ list: L }) => [
|
9049
9049
|
(t(!0), i(N, null, R(L, (E, P) => (t(), i("div", {
|
@@ -9053,7 +9053,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9053
9053
|
"col-start-2": P === 0 && B.value
|
9054
9054
|
}]),
|
9055
9055
|
style: ie(`background-image: url(${E.fileUrl})`),
|
9056
|
-
onClick: (D) =>
|
9056
|
+
onClick: (D) => b.$emit("update:selectedImage", E)
|
9057
9057
|
}, [
|
9058
9058
|
e.isDisabled ? u("", !0) : (t(), y(o(se), {
|
9059
9059
|
key: 0,
|
@@ -9063,7 +9063,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9063
9063
|
class: "absolute top-2 right-2 z-[1010] hidden group-hover:flex"
|
9064
9064
|
}, {
|
9065
9065
|
menu: S(() => [
|
9066
|
-
$(
|
9066
|
+
$(b.$slots, "action", {
|
9067
9067
|
item: E,
|
9068
9068
|
removeItem: k,
|
9069
9069
|
fileIndex: P
|
@@ -9311,9 +9311,9 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9311
9311
|
width: "14",
|
9312
9312
|
height: "10"
|
9313
9313
|
}),
|
9314
|
-
n("span", pu,
|
9314
|
+
n("span", pu, w(h.extension), 1)
|
9315
9315
|
]),
|
9316
|
-
n("span", yu,
|
9316
|
+
n("span", yu, w(h == null ? void 0 : h.fileName), 1)
|
9317
9317
|
]),
|
9318
9318
|
c.value ? (t(), i("div", {
|
9319
9319
|
key: 0,
|
@@ -9369,9 +9369,9 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9369
9369
|
name: "upload",
|
9370
9370
|
class: v(e.isDisabled ? "text-oc-accent-1-200" : "text-oc-accent-1")
|
9371
9371
|
}, null, 8, ["class"]),
|
9372
|
-
e.labelUploadArea ? (t(), i("div", wu,
|
9372
|
+
e.labelUploadArea ? (t(), i("div", wu, w(e.labelUploadArea), 1)) : e.isDisabled ? (t(), i("div", ku, "Upload disabled")) : (t(), i("div", $u, [
|
9373
9373
|
C[8] || (C[8] = n("div", null, "Select documents or drag here", -1)),
|
9374
|
-
n("div", null, "File max " +
|
9374
|
+
n("div", null, "File max " + w(e.maxSize) + "MB", 1)
|
9375
9375
|
]))
|
9376
9376
|
]))
|
9377
9377
|
], 2)
|
@@ -9499,8 +9499,9 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9499
9499
|
s.isAttachToBody && !s.preventClickOutside && d.value.checkElementIsInsidePopper(j.target) || s.modelValue && !s.preventClickOutside && l("update:modelValue", !1);
|
9500
9500
|
}, x = M(), g = M(0);
|
9501
9501
|
ue(() => s.modelValue, async () => {
|
9502
|
+
var b;
|
9502
9503
|
const j = window.innerHeight || document.documentElement.clientHeight, I = x.value.getBoundingClientRect().top, C = j - x.value.getBoundingClientRect().bottom, h = Math.max(I, C), O = h - (2 + (h === I ? 2.5 : 0)) * 16;
|
9503
|
-
g.value = O > 0 ? O : 0, d.value.popperInstance.update();
|
9504
|
+
g.value = O > 0 ? O : 0, (b = d.value.popperInstance) == null || b.update();
|
9504
9505
|
}), r({
|
9505
9506
|
dropdownScroll: c,
|
9506
9507
|
toggleDropdown: m,
|
@@ -9562,7 +9563,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9562
9563
|
[o(nt), f]
|
9563
9564
|
]);
|
9564
9565
|
}
|
9565
|
-
}, se = /* @__PURE__ */ ge(Ou, [["__scopeId", "data-v-
|
9566
|
+
}, se = /* @__PURE__ */ ge(Ou, [["__scopeId", "data-v-43e27395"]]), Iu = { class: "flex items-center justify-between gap-x-3 p-3" }, Tu = { class: "flex items-center gap-x-3" }, Du = {
|
9566
9567
|
key: 0,
|
9567
9568
|
class: "bg-oc-warning-50 text-oc-warning shrink-0 px-2 rounded-sm uppercase text-xs font-medium"
|
9568
9569
|
}, Au = {
|
@@ -9605,13 +9606,13 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9605
9606
|
class: "w-5 h-5",
|
9606
9607
|
name: e.icon
|
9607
9608
|
}, e.iconProps, { class: e.iconClasses }), null, 16, ["name", "class"])) : u("", !0),
|
9608
|
-
n("span", null,
|
9609
|
+
n("span", null, w(e.text), 1),
|
9609
9610
|
$(a.$slots, "badge")
|
9610
9611
|
]),
|
9611
9612
|
e.isBeta ? (t(), i("div", Du, " BETA ")) : e.isNew ? (t(), i("div", Au, " NEW ")) : e.isTryIt ? (t(), i("div", ju, " TRY IT ")) : u("", !0)
|
9612
9613
|
]),
|
9613
9614
|
e.subText ? (t(), i("div", Mu, [
|
9614
|
-
n("span", null,
|
9615
|
+
n("span", null, w(e.subText), 1)
|
9615
9616
|
])) : u("", !0)
|
9616
9617
|
], 2));
|
9617
9618
|
}
|
@@ -9674,7 +9675,8 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9674
9675
|
},
|
9675
9676
|
setup(e) {
|
9676
9677
|
const r = e, a = M(!1), l = M(), s = M(), d = M(), c = () => {
|
9677
|
-
|
9678
|
+
var x;
|
9679
|
+
a.value = !0, (x = d.value.popperInstance) == null || x.update(), r.hideAfter && setTimeout(() => m(), r.hideAfter);
|
9678
9680
|
}, m = () => a.value = !1;
|
9679
9681
|
we(() => {
|
9680
9682
|
if (r.trigger === "hover") {
|
@@ -9736,7 +9738,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9736
9738
|
[o(nt), f]
|
9737
9739
|
]);
|
9738
9740
|
}
|
9739
|
-
}, ae = /* @__PURE__ */ ge(Eu, [["__scopeId", "data-v-
|
9741
|
+
}, ae = /* @__PURE__ */ ge(Eu, [["__scopeId", "data-v-7680cf01"]]), Nu = {
|
9740
9742
|
key: 0,
|
9741
9743
|
id: "modal-overlay-wrapper",
|
9742
9744
|
class: "fixed w-screen z-[1008] top-0 left-0 h-full min-h-screen bg-black/[.45] flex items-center justify-center"
|
@@ -9854,9 +9856,9 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
9854
9856
|
}, [
|
9855
9857
|
$(g.$slots, "header", {}, () => [
|
9856
9858
|
n("div", zu, [
|
9857
|
-
n("span", Ru,
|
9859
|
+
n("span", Ru, w(e.title), 1),
|
9858
9860
|
$(g.$slots, "description", {}, () => [
|
9859
|
-
e.description ? (t(), i("span", Fu,
|
9861
|
+
e.description ? (t(), i("span", Fu, w(e.description), 1)) : u("", !0)
|
9860
9862
|
])
|
9861
9863
|
]),
|
9862
9864
|
e.isCloseIcon ? (t(), i("div", {
|
@@ -10192,7 +10194,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10192
10194
|
n("div", tm, [
|
10193
10195
|
(t(!0), i(N, null, R(e.topMenu, (s, d) => (t(), i(N, { key: d }, [
|
10194
10196
|
n("div", lm, [
|
10195
|
-
n("span", am,
|
10197
|
+
n("span", am, w(s.title), 1)
|
10196
10198
|
]),
|
10197
10199
|
(t(!0), i(N, null, R(s.items, (c, m) => (t(), y(o(be), F({
|
10198
10200
|
key: m,
|
@@ -10280,7 +10282,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10280
10282
|
distance: 20
|
10281
10283
|
}, e.tooltipOptions), {
|
10282
10284
|
popper: S(() => [
|
10283
|
-
n("div", nm,
|
10285
|
+
n("div", nm, w(e.tooltipText), 1)
|
10284
10286
|
]),
|
10285
10287
|
default: S(({ isShow: s }) => [
|
10286
10288
|
n("div", {
|
@@ -10329,10 +10331,10 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10329
10331
|
]),
|
10330
10332
|
n("div", cm, [
|
10331
10333
|
n("div", um, [
|
10332
|
-
W(
|
10334
|
+
W(w(e.title) + " ", 1),
|
10333
10335
|
e.tagOptions ? (t(), y(o(Ht), me(F({ key: 0 }, e.tagOptions)), null, 16)) : u("", !0)
|
10334
10336
|
]),
|
10335
|
-
n("span", mm,
|
10337
|
+
n("span", mm, w(e.description), 1)
|
10336
10338
|
]),
|
10337
10339
|
$(r.$slots, "bottom")
|
10338
10340
|
]),
|
@@ -10387,8 +10389,8 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10387
10389
|
},
|
10388
10390
|
emits: ["onUpdate"],
|
10389
10391
|
setup(e, { emit: r }) {
|
10390
|
-
const a = e, l = r, s = (
|
10391
|
-
l("onUpdate",
|
10392
|
+
const a = e, l = r, s = (b, V) => {
|
10393
|
+
l("onUpdate", b, V);
|
10392
10394
|
}, d = {
|
10393
10395
|
CardInput: pr,
|
10394
10396
|
CheckboxesGroup: hr,
|
@@ -10407,60 +10409,60 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10407
10409
|
PhoneInput: zr,
|
10408
10410
|
SectionItem: Vc,
|
10409
10411
|
SelectOptions: Ac
|
10410
|
-
}, c = (
|
10411
|
-
const
|
10412
|
+
}, c = (b) => d[b] ? d[b] : null, m = z(() => {
|
10413
|
+
const b = (L) => L.split(`
|
10412
10414
|
`).map((E) => E.trim()).filter(Boolean).map((E) => `"${E}"`).join(" "), V = {};
|
10413
10415
|
return Object.entries(a.grid).forEach(([L, E]) => {
|
10414
10416
|
Object.entries(E).forEach(([P, D]) => {
|
10415
|
-
V[`--grid-${L}-${P}`] = P === "area" ?
|
10417
|
+
V[`--grid-${L}-${P}`] = P === "area" ? b(D) : D;
|
10416
10418
|
});
|
10417
10419
|
}), V;
|
10418
|
-
}), f = (
|
10420
|
+
}), f = (b) => typeof b == "object" ? b[0].key : b, x = (b) => `grid-area: ${f(b)}`, g = z(() => a.class), k = M({}), A = M({}), j = M({}), I = (b) => typeof b == "object" ? b[0].key : b, C = (b) => {
|
10419
10421
|
a.jsonForm.forEach((V) => {
|
10420
10422
|
var L;
|
10421
10423
|
if (typeof V.name == "object") {
|
10422
10424
|
let E = null;
|
10423
10425
|
V.name.forEach((P) => {
|
10424
|
-
|
10426
|
+
b[P.key] && (E ? E.push(b[P.key]) : E = [b[P.key]]);
|
10425
10427
|
}), k.value[I(V.name)] = E, O(V);
|
10426
10428
|
} else
|
10427
|
-
(L = V.props) != null && L.parentKey ? (k.value[V.props.parentKey] =
|
10429
|
+
(L = V.props) != null && L.parentKey ? (k.value[V.props.parentKey] = b[V.props.parentKey] ?? {}, k.value[V.props.parentKey][V.name] = b[V.props.parentKey][V.name] ?? "") : k.value[V.name] = b[V.name] ?? "", O(V);
|
10428
10430
|
});
|
10429
10431
|
}, h = () => {
|
10430
|
-
a.jsonForm.forEach((
|
10431
|
-
if (typeof
|
10432
|
+
a.jsonForm.forEach((b) => {
|
10433
|
+
if (typeof b.name == "object") {
|
10432
10434
|
let V = [];
|
10433
|
-
|
10435
|
+
b.name.forEach((L) => {
|
10434
10436
|
a.errors[L.key] && V.push(a.errors[L.key]);
|
10435
|
-
}), A.value[I(
|
10437
|
+
}), A.value[I(b.name)] = V.join(",");
|
10436
10438
|
} else
|
10437
|
-
A.value[
|
10439
|
+
A.value[b.name] = a.errors[b.name] ?? "";
|
10438
10440
|
});
|
10439
10441
|
}, B = z(() => ({
|
10440
10442
|
...a.logicValues,
|
10441
10443
|
...k.value
|
10442
|
-
})), O = (
|
10443
|
-
if (
|
10444
|
-
let V =
|
10445
|
-
if (
|
10446
|
-
if (
|
10447
|
-
if (Array.isArray(
|
10444
|
+
})), O = (b) => {
|
10445
|
+
if (b.show_if || b.show_if_preview) {
|
10446
|
+
let V = b.class ? b.class : "";
|
10447
|
+
if (b.show_if)
|
10448
|
+
if (b.show_if_value !== void 0)
|
10449
|
+
if (Array.isArray(b.show_if_value)) {
|
10448
10450
|
let L = 0;
|
10449
|
-
|
10451
|
+
b.show_if.forEach((E, P) => {
|
10450
10452
|
var D;
|
10451
|
-
|
10452
|
-
}), (
|
10453
|
-
} else
|
10454
|
-
else
|
10455
|
-
else
|
10456
|
-
typeof
|
10453
|
+
b.show_if_value[P] === "arrayExist" ? (D = B.value[b.show_if[P]]) != null && D.length && (L = L + 1) : b.show_if_value[P] === B.value[b.show_if[P]] && (L = L + 1);
|
10454
|
+
}), (b.show_if_one && L < 1 || !b.show_if_one && L < b.show_if.length) && (V = V + " hidden");
|
10455
|
+
} else b.show_if_value !== B.value[b.show_if] && (V = V + " hidden");
|
10456
|
+
else b.show_if_not !== void 0 ? b.show_if_not === B.value[b.show_if] && (V = V + " hidden") : b.show_if_min !== void 0 && (isNaN(parseInt(B.value[b.show_if])) ? 1 : parseInt(B.value[b.show_if])) < parseInt(b.show_if_min) && (V = V + " hidden");
|
10457
|
+
else b.show_if_preview && (b.show_if_preview_only !== void 0 ? b.show_if_preview_only !== a.previewMode && (V = V + " hidden") : b.show_if_preview_not !== void 0 && b.show_if_preview_not === a.previewMode && (V = V + " hidden"));
|
10458
|
+
typeof b.name == "object" ? j.value[I(b.name)] = V : j.value[b.name] = V;
|
10457
10459
|
} else
|
10458
|
-
j.value[
|
10460
|
+
j.value[b.name] = b.class ? b.class : "";
|
10459
10461
|
};
|
10460
10462
|
return ue(
|
10461
10463
|
() => a.values,
|
10462
|
-
(
|
10463
|
-
C(
|
10464
|
+
(b) => {
|
10465
|
+
C(b);
|
10464
10466
|
},
|
10465
10467
|
{
|
10466
10468
|
deep: !0
|
@@ -10475,7 +10477,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10475
10477
|
}
|
10476
10478
|
), ue(
|
10477
10479
|
() => a.errors,
|
10478
|
-
(
|
10480
|
+
(b) => {
|
10479
10481
|
h();
|
10480
10482
|
},
|
10481
10483
|
{
|
@@ -10488,7 +10490,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10488
10490
|
}
|
10489
10491
|
), we(() => {
|
10490
10492
|
C(a.values), h(a.errors);
|
10491
|
-
}), (
|
10493
|
+
}), (b, V) => Object.values(k.value).length > 0 ? (t(), i("div", {
|
10492
10494
|
key: 0,
|
10493
10495
|
class: v(e.grid ? `responsive-smart-form-grid ${g.value}` : g.value),
|
10494
10496
|
style: ie(e.grid ? m.value : "")
|
@@ -10510,7 +10512,7 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10510
10512
|
"model-value": (E = L.props) != null && E.parentKey ? (D = (P = k.value) == null ? void 0 : P[L.props.parentKey]) == null ? void 0 : D[L.name] : k.value[typeof L.name == "object" ? I(L.name) : L.name],
|
10511
10513
|
"error-message": A.value[typeof L.name == "object" ? I(L.name) : L.name],
|
10512
10514
|
"onUpdate:modelValue": (_) => s(L, _)
|
10513
|
-
}), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) : $(
|
10515
|
+
}), null, 16, ["model-value", "error-message", "onUpdate:modelValue"])) : $(b.$slots, L.type, {
|
10514
10516
|
key: 1,
|
10515
10517
|
formId: e.id,
|
10516
10518
|
form: L,
|
@@ -10522,16 +10524,16 @@ const ic = { class: "flex flex-col gap-y-2 w-full" }, oc = {
|
|
10522
10524
|
}), 128))
|
10523
10525
|
], 6)) : u("", !0);
|
10524
10526
|
}
|
10525
|
-
}, Df = de(() => import("./OcDataTable-
|
10526
|
-
() => import("./OcComplexCalendar-
|
10527
|
+
}, Df = de(() => import("./OcDataTable-Cek8R5zL.js")), Af = de(() => import("./OcFilterSearch-CmthkE_K.js")), jf = de(() => import("./OcFilterSearchFor-Cb34FvvK.js")), Mf = de(() => import("./OcFilterForm-DF-1h7hX.js")), vm = de(
|
10528
|
+
() => import("./OcComplexCalendar-DwY1XQ7S.js")
|
10527
10529
|
), Lf = de(
|
10528
|
-
() => import("./OcComplexDatePicker-
|
10529
|
-
), ot = de(() => import("./OcModalCropper-
|
10530
|
-
() => import("./ThumbnailTheme-
|
10530
|
+
() => import("./OcComplexDatePicker-g5nEJkYr.js")
|
10531
|
+
), ot = de(() => import("./OcModalCropper-DjT8eKpW.js")), Pf = de(() => import("./OcCropper-N_SZKyY8.js")), gm = de(() => import("./OcDraggable-CZT2mJvO.js")), Ef = de(() => import("./OcDraggableList-Dz8xQI7L.js")), Nf = de(() => import("./OcEmojiPicker-DFl3VlRo.js")), zf = de(
|
10532
|
+
() => import("./ThumbnailTheme-DLjh6RvG.js")
|
10531
10533
|
), Rf = de(
|
10532
|
-
() => import("./ThumbnailSection-
|
10533
|
-
), Ff = de(() => import("./SubPlanCard-
|
10534
|
-
() => import("./OcAccountSetupProgress-
|
10534
|
+
() => import("./ThumbnailSection-Bt-gRsat.js")
|
10535
|
+
), Ff = de(() => import("./SubPlanCard-BH3PPh3B.js")), Uf = de(() => import("./OcTimePopup-CXGhaOev.js")), pm = de(() => import("./OcTimePicker-Z_nGJM3Z.js")), qf = de(
|
10536
|
+
() => import("./OcAccountSetupProgress-CCBBvkdA.js")
|
10535
10537
|
);
|
10536
10538
|
export {
|
10537
10539
|
Xm as $,
|