@orchidui/core 1.95.0 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataDisplay/AccountVerificationContent/OcAccountVerificationContent.js +1 -1
- package/dist/DataDisplay/CustomerCard/OcCustomerCard.js +1 -1
- package/dist/DataDisplay/FloatContent/OcFloatContent.js +1 -1
- package/dist/DataDisplay/InfoCard/OcInfoCard.js +1 -1
- package/dist/DataDisplay/ListDetail/OcListDetail.js +1 -1
- package/dist/DataDisplay/ListItem/OcListItem.js +1 -1
- package/dist/DataDisplay/NewTable/OcNewTable.js +1 -1
- package/dist/DataDisplay/OnboardingListItem/OcOnboardingListItem.js +1 -1
- package/dist/DataDisplay/OnboardingRecap/OcOnboardingRecap.js +1 -1
- package/dist/DataDisplay/Overview/OcOverview.js +1 -1
- package/dist/DataDisplay/Pagination/OcPagination.js +1 -1
- package/dist/DataDisplay/RowItemData/OcRowItemData.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/OnboardingProduct/OnboardingProductOption.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/Checklist/OcChecklist.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 +10 -9
- 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-DdXuFRDy.js → OcAccountSetupProgress-BhlQmNP6.js} +1 -1
- package/dist/{OcComplexCalendar-CdQgLhJh.js → OcComplexCalendar-DWtfgyTm.js} +1 -1
- package/dist/{OcComplexDatePicker-DPbG6Nh2.js → OcComplexDatePicker-CL42o8eT.js} +1 -1
- package/dist/{OcCropper-Ch6Siwys.js → OcCropper-CLC1w_np.js} +1 -1
- package/dist/{OcDataTable-qEhaCxwd.js → OcDataTable-DrUmqWhQ.js} +50 -49
- package/dist/{OcDraggableList-CtKoTNYr.js → OcDraggableList-BXEoN9kd.js} +10 -10
- package/dist/{OcEmojiPicker-DycF1zsD.js → OcEmojiPicker-CFEFdnO5.js} +13 -13
- package/dist/{OcFilterForm-CtvFRBtx.js → OcFilterForm-BMEwZQ3Q.js} +28 -28
- package/dist/{OcFilterSearch-EKVPc4Bb.js → OcFilterSearch-NnFSYwj9.js} +13 -13
- package/dist/{OcFilterSearchFor-BWiXeK_9.js → OcFilterSearchFor-Db4MQyBv.js} +3 -3
- package/dist/{OcModalCropper-RfBJ-mfr.js → OcModalCropper-9JmjpxIo.js} +2 -2
- package/dist/{OcTimePicker-BFxWVvTQ.js → OcTimePicker-CEvUnEe0.js} +1 -1
- package/dist/Overlay/ConfirmationModal/OcConfirmationModal.js +1 -1
- package/dist/Overlay/CopyTooltip/OcCopyTooltip.js +1 -1
- package/dist/Overlay/Dropdown/OcDropdown.js +1 -1
- package/dist/Overlay/Modal/OcModal.js +1 -1
- package/dist/Overlay/SupportMenu/OcSupportMenu.js +1 -1
- package/dist/Overlay/Tooltip/OcTooltip.js +1 -1
- package/dist/Overlay/Whitelist/OcWhiteList.js +1 -1
- package/dist/{SubPlanCard-DE-myUj8.js → SubPlanCard-tS38P14V.js} +1 -1
- package/dist/{ThumbnailSection-DThOEqQg.js → ThumbnailSection-PbsT2ZFh.js} +1 -1
- package/dist/{ThumbnailTheme-BVY8WPBF.js → ThumbnailTheme-BDLUnh6F.js} +1 -1
- package/dist/core.css +1 -1
- package/dist/{index-BvVTmVd1.js → index-BWAOVIQ_.js} +4239 -4115
- package/dist/index.js +62 -61
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as P, onMounted as Ce, createBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { ref as P, onMounted as Ce, createBlock as D, openBlock as o, unref as n, withCtx as p, createVNode as I, createElementVNode as R, createElementBlock as x, createCommentVNode as f, mergeProps as we, Fragment as ue, renderList as ae, normalizeClass as ie, toDisplayString as xe, computed as U, watch as $e, toRaw as He, nextTick as We, renderSlot as C, resolveDynamicComponent as Xe, createSlots as Ye, normalizeProps as Se, guardReactiveProps as Oe } from "vue";
|
|
2
|
+
import { aH as Pe, B as je, C as Ze, E as _e, Q as el, a4 as ll, aS as al, aT as tl, aU as sl, K as ol, L as Ve, j as ul } from "./index-BWAOVIQ_.js";
|
|
3
3
|
import { V as Fe } from "./vue-draggable-next.esm-bundler-QQ8zx__3.js";
|
|
4
4
|
import { getFromLocalStorage as Ae, formatHeadersFromLocalStorage as Ke, formatHeadersToLocalStorage as il, setInLocalStorage as rl } from "./DataTable/utils/editColumnsUtils.js";
|
|
5
5
|
import { _ as Ee } from "./OcIcon-DuLjS3TV.js";
|
|
@@ -61,13 +61,13 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
61
61
|
return Ce(() => {
|
|
62
62
|
const l = Ae(k.localKey), { fixed: d, active: v } = Ke(l, k.headers, k.localKey);
|
|
63
63
|
S.value = d || k.headers.slice(0, 1), m.value = v || k.headers.slice(1).map((g) => {
|
|
64
|
-
var t,
|
|
64
|
+
var t, L, j;
|
|
65
65
|
return {
|
|
66
66
|
...g,
|
|
67
|
-
isActive: ((j = (
|
|
67
|
+
isActive: ((j = (L = (t = k.options) == null ? void 0 : t.active) == null ? void 0 : L.find((Q) => Q.key === g.key)) == null ? void 0 : j.isActive) ?? !0
|
|
68
68
|
};
|
|
69
69
|
}), z(!0);
|
|
70
|
-
}), (l, d) => (o(),
|
|
70
|
+
}), (l, d) => (o(), D(n(Pe), {
|
|
71
71
|
modelValue: O.value,
|
|
72
72
|
"onUpdate:modelValue": d[3] || (d[3] = (v) => O.value = v),
|
|
73
73
|
"is-attach-to-body": ""
|
|
@@ -87,7 +87,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
87
87
|
class: ie(["flex items-center justify-between h-[26px]", g ? "" : "is-disabled"])
|
|
88
88
|
}, [
|
|
89
89
|
R("span", null, xe(v.label), 1),
|
|
90
|
-
g ? (o(),
|
|
90
|
+
g ? (o(), D(n(Ee), {
|
|
91
91
|
key: 0,
|
|
92
92
|
width: "18",
|
|
93
93
|
height: "18",
|
|
@@ -112,7 +112,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
112
112
|
}, [
|
|
113
113
|
v.key !== "actions" ? (o(), x("div", yl, [
|
|
114
114
|
R("div", gl, [
|
|
115
|
-
I(n(
|
|
115
|
+
I(n(Ze), {
|
|
116
116
|
modelValue: v.isActive,
|
|
117
117
|
"onUpdate:modelValue": [
|
|
118
118
|
(g) => v.isActive = g,
|
|
@@ -122,7 +122,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
122
122
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
123
123
|
R("div", bl, xe(v.label), 1)
|
|
124
124
|
]),
|
|
125
|
-
m.value.length > 1 ? (o(),
|
|
125
|
+
m.value.length > 1 ? (o(), D(n(Ee), {
|
|
126
126
|
key: 0,
|
|
127
127
|
width: "18",
|
|
128
128
|
height: "18",
|
|
@@ -265,10 +265,10 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
265
265
|
},
|
|
266
266
|
setup($, { emit: oe }) {
|
|
267
267
|
var ve, ce, me, pe, fe, ye, ge, be, ke;
|
|
268
|
-
const A = $, k = oe, m =
|
|
268
|
+
const A = $, k = oe, m = U(() => {
|
|
269
269
|
var e;
|
|
270
270
|
return (e = A.options) == null ? void 0 : e.cursor;
|
|
271
|
-
}), S = P(), O =
|
|
271
|
+
}), S = P(), O = U(() => {
|
|
272
272
|
var e;
|
|
273
273
|
return (e = A.options) == null ? void 0 : e.tableOptions;
|
|
274
274
|
}), y = P({
|
|
@@ -285,7 +285,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
285
285
|
},
|
|
286
286
|
{ deep: !0, immediate: !0 }
|
|
287
287
|
);
|
|
288
|
-
const z =
|
|
288
|
+
const z = U(() => {
|
|
289
289
|
var a;
|
|
290
290
|
return {
|
|
291
291
|
...O.value,
|
|
@@ -294,16 +294,16 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
294
294
|
return u.class = ((i = (r = O.value) == null ? void 0 : r.headers.find((c) => c.key === u.key)) == null ? void 0 : i.class) ?? "", u;
|
|
295
295
|
}).filter((u) => u.isActive) : (a = O.value) == null ? void 0 : a.headers.filter((u) => Be(u.key))
|
|
296
296
|
};
|
|
297
|
-
}), l =
|
|
297
|
+
}), l = U(() => {
|
|
298
298
|
var e;
|
|
299
299
|
return (e = A.options) == null ? void 0 : e.filterOptions;
|
|
300
|
-
}), d =
|
|
300
|
+
}), d = U(() => {
|
|
301
301
|
var e;
|
|
302
302
|
return (e = A.options) == null ? void 0 : e.hidePerPageDropdown;
|
|
303
|
-
}), v =
|
|
303
|
+
}), v = U(() => {
|
|
304
304
|
var e;
|
|
305
305
|
return ((e = y.value) == null ? void 0 : e.last_page) === 1;
|
|
306
|
-
}), g = JSON.parse(JSON.stringify(
|
|
306
|
+
}), g = JSON.parse(JSON.stringify(He(A.filter)));
|
|
307
307
|
!g && y.value ? g.page = 1 : !g && m && (g.cursor = "");
|
|
308
308
|
const t = P(g);
|
|
309
309
|
$e(
|
|
@@ -313,21 +313,21 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
313
313
|
},
|
|
314
314
|
{ deep: !0 }
|
|
315
315
|
);
|
|
316
|
-
const
|
|
316
|
+
const L = P(!1), j = P(t.value[(ce = (ve = l.value) == null ? void 0 : ve.tabs) == null ? void 0 : ce.key]), Q = P(t.value.page), q = P(
|
|
317
317
|
(pe = (me = l.value) == null ? void 0 : me.per_page) != null && pe.key ? t.value[(ye = (fe = l.value) == null ? void 0 : fe.per_page) == null ? void 0 : ye.key] : t.value.per_page
|
|
318
|
-
), re = ((ke = t.value[t.value.selectedSearchOption || ((be = (ge = l.value) == null ? void 0 : ge.search) == null ? void 0 : be.key)]) == null ? void 0 : ke.trim()) ?? "", N = P(re ? re.split(",") : []), ne = P(!1), Te =
|
|
318
|
+
), re = ((ke = t.value[t.value.selectedSearchOption || ((be = (ge = l.value) == null ? void 0 : ge.search) == null ? void 0 : be.key)]) == null ? void 0 : ke.trim()) ?? "", N = P(re ? re.split(",") : []), ne = P(!1), Te = U(
|
|
319
319
|
() => {
|
|
320
320
|
var e;
|
|
321
321
|
return vl((e = A.options) == null ? void 0 : e.perPageOptions);
|
|
322
322
|
}
|
|
323
|
-
),
|
|
323
|
+
), Ue = U(() => cl(Te.value, y.value)), De = U(() => {
|
|
324
324
|
var e;
|
|
325
325
|
return ((e = A.selected) == null ? void 0 : e.length) > 0;
|
|
326
|
-
}),
|
|
326
|
+
}), Le = (e) => {
|
|
327
327
|
!e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], K(), k("search-query-changed", e));
|
|
328
328
|
}, Ie = (e) => {
|
|
329
329
|
N.value = N.value.filter((a) => a !== e), K();
|
|
330
|
-
}, Ne =
|
|
330
|
+
}, Ne = U(() => nl(t.value, l.value)), Be = (e) => {
|
|
331
331
|
var a, u, r, i, c, h;
|
|
332
332
|
return ((h = (c = (i = (r = t.value) == null ? void 0 : r[(u = (a = l.value) == null ? void 0 : a.columnEdit) == null ? void 0 : u.key]) == null ? void 0 : i.active) == null ? void 0 : c.find((V) => V.key === e)) == null ? void 0 : h.isActive) ?? !0;
|
|
333
333
|
}, Qe = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
|
|
@@ -365,14 +365,14 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
365
365
|
}, Je = () => {
|
|
366
366
|
K(null, Q.value);
|
|
367
367
|
}, K = (e = null, a = !1, u = "", r = !1, i = !1) => {
|
|
368
|
-
var h, V, s, T, w, F, B, G,
|
|
369
|
-
y.value && !a && (Q.value = 1), y.value ? t.value.page = Q.value : t.value.cursor = u, (h = l.value) != null && h.per_page ? t.value[l.value.per_page.key] = q.value : t.value.per_page = q.value, (V = l.value) != null && V.tabs && i && (t.value[l.value.tabs.key] = j.value), (T = (s = l.value) == null ? void 0 : s.tabs) != null && T.filter_name && (i ? t.value[(F = (w = l.value) == null ? void 0 : w.tabs) == null ? void 0 : F.filter_name] = null : e && (j.value = null)), (B = l.value) != null && B.search && ((
|
|
368
|
+
var h, V, s, T, w, F, B, M, G, H, W, X, Y, Z, _, ee, le, b, te;
|
|
369
|
+
y.value && !a && (Q.value = 1), y.value ? t.value.page = Q.value : t.value.cursor = u, (h = l.value) != null && h.per_page ? t.value[l.value.per_page.key] = q.value : t.value.per_page = q.value, (V = l.value) != null && V.tabs && i && (t.value[l.value.tabs.key] = j.value), (T = (s = l.value) == null ? void 0 : s.tabs) != null && T.filter_name && (i ? t.value[(F = (w = l.value) == null ? void 0 : w.tabs) == null ? void 0 : F.filter_name] = null : e && (j.value = null)), (B = l.value) != null && B.search && ((G = (M = l.value.search) == null ? void 0 : M.options) != null && G.length ? (Object.keys(t.value).forEach((E) => {
|
|
370
370
|
var J;
|
|
371
371
|
(J = l.value.search.options) != null && J.map((se) => se.value).includes(E) && delete t.value[E];
|
|
372
|
-
}), t.value[((
|
|
372
|
+
}), t.value[((H = t.value) == null ? void 0 : H.selectedSearchOption) || ((Y = (X = (W = l.value.search) == null ? void 0 : W.options) == null ? void 0 : X[0]) == null ? void 0 : Y.value) || l.value.search.key] = N.value.join()) : t.value[l.value.search.key] = N.value.join()), e && (L.value = !1, t.value = { ...t.value, ...e }, Object.keys(t.value).forEach((E) => {
|
|
373
373
|
Array.isArray(t.value[E]) && t.value[E].length === 0 && delete t.value[E];
|
|
374
374
|
}));
|
|
375
|
-
let c = (_ = (
|
|
375
|
+
let c = (_ = (Z = l.value) == null ? void 0 : Z.tabs) == null ? void 0 : _.key;
|
|
376
376
|
if (c && j.value !== t.value[c] && !((le = (ee = l.value) == null ? void 0 : ee.tabs) != null && le.filter_name)) {
|
|
377
377
|
const E = (te = (b = l.value.tabs) == null ? void 0 : b.options) == null ? void 0 : te.find(
|
|
378
378
|
(J) => {
|
|
@@ -382,22 +382,22 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
382
382
|
);
|
|
383
383
|
E != null && E.value && (j.value = E.value, i || K(null, !1, "", !1, !0));
|
|
384
384
|
}
|
|
385
|
-
|
|
386
|
-
}, de = P(null),
|
|
385
|
+
Me(r);
|
|
386
|
+
}, de = P(null), Me = (e = !1) => {
|
|
387
387
|
clearTimeout(de.value), de.value = setTimeout(() => {
|
|
388
388
|
k("update:filter", { ...t.value }, e), k("apply-filter", { ...t.value }, e);
|
|
389
389
|
}, 50);
|
|
390
|
-
},
|
|
390
|
+
}, Ge = (e, a) => {
|
|
391
391
|
(a === l.value.tabs.key || a === "tabs") && (j.value = ""), K(e), k("filter-removed", a);
|
|
392
392
|
};
|
|
393
393
|
return Ce(() => {
|
|
394
|
-
Re(),
|
|
394
|
+
Re(), We(() => {
|
|
395
395
|
k("on-table-ready");
|
|
396
396
|
});
|
|
397
397
|
}), (e, a) => {
|
|
398
398
|
var u, r, i, c, h, V;
|
|
399
399
|
return o(), x("div", hl, [
|
|
400
|
-
z.value ? (o(),
|
|
400
|
+
z.value ? (o(), D(Xe($.isNewTable ? n(_e) : n(el)), {
|
|
401
401
|
key: 0,
|
|
402
402
|
selected: $.selected,
|
|
403
403
|
"row-key": $.rowKey,
|
|
@@ -412,7 +412,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
412
412
|
"onUpdate:selected": a[8] || (a[8] = (s) => e.$emit("update:selected", s)),
|
|
413
413
|
"onClick:row": a[9] || (a[9] = (s) => e.$emit("click:row", s)),
|
|
414
414
|
"onHover:cell": a[10] || (a[10] = (s) => e.$emit("hover:cell", s))
|
|
415
|
-
},
|
|
415
|
+
}, Ye({
|
|
416
416
|
after: p(() => [
|
|
417
417
|
C(e.$slots, "after")
|
|
418
418
|
]),
|
|
@@ -437,10 +437,10 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
437
437
|
return [
|
|
438
438
|
C(e.$slots, "before"),
|
|
439
439
|
(s = l.value) != null && s.search || (T = l.value) != null && T.form || (w = l.value) != null && w.tabs ? (o(), x("div", wl, [
|
|
440
|
-
|
|
440
|
+
De.value ? (o(), x("div", xl, [
|
|
441
441
|
C(e.$slots, "bulk-actions", { selectedRows: $.selected })
|
|
442
442
|
])) : (o(), x("div", $l, [
|
|
443
|
-
(F = l.value) != null && F.tabs ? (o(),
|
|
443
|
+
(F = l.value) != null && F.tabs ? (o(), D(n(ll), {
|
|
444
444
|
key: 0,
|
|
445
445
|
modelValue: j.value,
|
|
446
446
|
"onUpdate:modelValue": [
|
|
@@ -453,37 +453,38 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
453
453
|
}, null, 8, ["modelValue", "is-disabled", "tabs"])) : f("", !0)
|
|
454
454
|
])),
|
|
455
455
|
C(e.$slots, "filter-options", {}, () => {
|
|
456
|
-
var B, G,
|
|
456
|
+
var B, M, G, H, W, X, Y, Z, _, ee, le;
|
|
457
457
|
return [
|
|
458
|
-
(B = l.value) != null && B.search || (
|
|
458
|
+
(B = l.value) != null && B.search || (M = l.value) != null && M.form || (G = l.value) != null && G.columnEdit ? (o(), x("div", {
|
|
459
459
|
key: 0,
|
|
460
460
|
class: ie([
|
|
461
461
|
"flex gap-3 absolute ml-auto items-center bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
|
|
462
462
|
l.value ? ne.value ? "md:w-fit w-full" : "" : "w-full justify-end"
|
|
463
463
|
])
|
|
464
464
|
}, [
|
|
465
|
-
(
|
|
465
|
+
(H = l.value) != null && H.search ? (o(), D(n(al), {
|
|
466
466
|
key: 0,
|
|
467
467
|
"is-search-only": !l.value.tabs || l.value.isSearchOnly,
|
|
468
|
-
"search-options": ((
|
|
469
|
-
"selected-option": (((
|
|
470
|
-
onAddQuery:
|
|
468
|
+
"search-options": ((W = l.value.search) == null ? void 0 : W.options) ?? [],
|
|
469
|
+
"selected-option": (((X = t.value) == null ? void 0 : X.selectedSearchOption) || ((_ = (Z = (Y = l.value.search) == null ? void 0 : Y.options) == null ? void 0 : Z[0]) == null ? void 0 : _.value)) ?? "keywords",
|
|
470
|
+
onAddQuery: Le,
|
|
471
471
|
onToggle: a[2] || (a[2] = (b) => ne.value = b),
|
|
472
472
|
onChangeSearchKey: ze
|
|
473
473
|
}, null, 8, ["is-search-only", "search-options", "selected-option"])) : f("", !0),
|
|
474
|
-
(ee = l.value) != null && ee.form ? (o(),
|
|
474
|
+
(ee = l.value) != null && ee.form ? (o(), D(n(Pe), {
|
|
475
475
|
key: 1,
|
|
476
|
-
modelValue:
|
|
476
|
+
modelValue: L.value,
|
|
477
477
|
"onUpdate:modelValue": [
|
|
478
|
-
a[6] || (a[6] = (b) =>
|
|
478
|
+
a[6] || (a[6] = (b) => L.value = b),
|
|
479
479
|
a[7] || (a[7] = (b) => e.$emit("filter-open", b))
|
|
480
480
|
],
|
|
481
481
|
distance: 9,
|
|
482
482
|
placement: "bottom-end",
|
|
483
|
-
"is-attach-to-body": ""
|
|
483
|
+
"is-attach-to-body": "",
|
|
484
|
+
"max-menu-height": 500
|
|
484
485
|
}, {
|
|
485
486
|
menu: p(() => [
|
|
486
|
-
|
|
487
|
+
L.value ? (o(), D(n(tl), {
|
|
487
488
|
key: 0,
|
|
488
489
|
id: $.id,
|
|
489
490
|
"json-form": l.value.form ?? [],
|
|
@@ -492,7 +493,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
492
493
|
actions: l.value.actions,
|
|
493
494
|
onApplyFilter: a[3] || (a[3] = (b) => K(b)),
|
|
494
495
|
onFilterFieldsChanged: a[4] || (a[4] = (b) => k("filter-fields-changed", b)),
|
|
495
|
-
onCancel: a[5] || (a[5] = (b) =>
|
|
496
|
+
onCancel: a[5] || (a[5] = (b) => L.value = !1)
|
|
496
497
|
}, {
|
|
497
498
|
default: p(({ errors: b, values: te, jsonForm: E, updateForm: J }) => [
|
|
498
499
|
C(e.$slots, "custom-filter-form", {
|
|
@@ -507,7 +508,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
507
508
|
]),
|
|
508
509
|
default: p(() => [
|
|
509
510
|
I(n(je), {
|
|
510
|
-
"is-active":
|
|
511
|
+
"is-active": L.value,
|
|
511
512
|
variant: "secondary",
|
|
512
513
|
"left-icon": "filter",
|
|
513
514
|
size: "small",
|
|
@@ -517,7 +518,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
517
518
|
]),
|
|
518
519
|
_: 3
|
|
519
520
|
}, 8, ["modelValue"])) : f("", !0),
|
|
520
|
-
l.value.columnEdit ? (o(),
|
|
521
|
+
l.value.columnEdit ? (o(), D(kl, {
|
|
521
522
|
key: 2,
|
|
522
523
|
options: t.value.columnEdit,
|
|
523
524
|
headers: ((le = O.value) == null ? void 0 : le.headers) || [],
|
|
@@ -534,7 +535,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
534
535
|
class: "border-t border-oc-gray-200",
|
|
535
536
|
onRemoveQuery: Ie,
|
|
536
537
|
onRemoveAll: qe,
|
|
537
|
-
onRemoveFilter:
|
|
538
|
+
onRemoveFilter: Ge
|
|
538
539
|
}, null, 8, ["filters", "queries"])
|
|
539
540
|
];
|
|
540
541
|
}),
|
|
@@ -573,7 +574,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
573
574
|
key: 1,
|
|
574
575
|
class: ie(["flex items-center gap-3", y.value && y.value.last_page === 1 ? "justify-end" : ""])
|
|
575
576
|
}, [
|
|
576
|
-
y.value && !v.value ? (o(),
|
|
577
|
+
y.value && !v.value ? (o(), D(n(ol), {
|
|
577
578
|
key: 0,
|
|
578
579
|
modelValue: Q.value,
|
|
579
580
|
"onUpdate:modelValue": [
|
|
@@ -606,7 +607,7 @@ const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
|
606
607
|
label: "Item per page",
|
|
607
608
|
"is-inline-label": "",
|
|
608
609
|
"popper-options": { placement: "auto" },
|
|
609
|
-
options:
|
|
610
|
+
options: Ue.value,
|
|
610
611
|
"select-text-class": "!text-[13px]"
|
|
611
612
|
}, null, 8, ["modelValue", "options"])
|
|
612
613
|
]))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as w, createBlock as y, openBlock as c, unref as l, withCtx as r, createElementBlock as b, Fragment as C, renderList as $, normalizeClass as s, createElementVNode as o, createCommentVNode as m, renderSlot as u, toDisplayString as x, createVNode as f } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aQ as D, aM as S, aH as M } from "./index-BWAOVIQ_.js";
|
|
3
3
|
import { _ as g } from "./OcIcon-DuLjS3TV.js";
|
|
4
|
-
const
|
|
4
|
+
const B = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify-evenly w-full" }, N = { class: "flex w-full" }, U = { class: "ml-4 flex w-full" }, E = { class: "flex items-center flex-wrap w-full" }, H = ["href"], O = { class: "min-w-[120px]" }, W = { class: "truncate w-[200px]" }, j = { class: "flex items-center ml-4" }, z = { class: "flex w-full" }, T = {
|
|
5
5
|
__name: "OcDraggableList",
|
|
6
6
|
props: {
|
|
7
7
|
/** v-model — array of list item objects. Reordering updates this array. */
|
|
@@ -113,7 +113,7 @@ const M = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
|
113
113
|
"popper-class": "bg-oc-bg-light text-oc-text-500 p-4 rounded"
|
|
114
114
|
}, {
|
|
115
115
|
popper: r(() => [
|
|
116
|
-
o("div",
|
|
116
|
+
o("div", O, x(e[t.linkKey]), 1)
|
|
117
117
|
]),
|
|
118
118
|
default: r(() => [
|
|
119
119
|
f(l(g), {
|
|
@@ -125,15 +125,15 @@ const M = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
|
125
125
|
]),
|
|
126
126
|
_: 2
|
|
127
127
|
}, 1024),
|
|
128
|
-
o("span",
|
|
129
|
-
], 8,
|
|
128
|
+
o("span", W, x(e[t.linkKey]), 1)
|
|
129
|
+
], 8, H)) : m("", !0)
|
|
130
130
|
])
|
|
131
131
|
])
|
|
132
132
|
]),
|
|
133
|
-
o("div",
|
|
133
|
+
o("div", j, [
|
|
134
134
|
u(a.$slots, "before-action", { item: e }),
|
|
135
135
|
u(a.$slots, "action", { item: e }, () => [
|
|
136
|
-
f(l(
|
|
136
|
+
f(l(M), {
|
|
137
137
|
modelValue: v.value[e.id],
|
|
138
138
|
"onUpdate:modelValue": (h) => v.value[e.id] = h,
|
|
139
139
|
placement: "bottom-end",
|
|
@@ -163,18 +163,18 @@ const M = ["onMouseleave", "onMouseover", "onClick"], L = { class: "flex justify
|
|
|
163
163
|
])
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
o("div",
|
|
166
|
+
o("div", z, [
|
|
167
167
|
u(a.$slots, "content", {
|
|
168
168
|
item: e,
|
|
169
169
|
index: k
|
|
170
170
|
})
|
|
171
171
|
])
|
|
172
|
-
], 42,
|
|
172
|
+
], 42, B))), 128))
|
|
173
173
|
]),
|
|
174
174
|
_: 3
|
|
175
175
|
}, 8, ["model-value"]));
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
export {
|
|
179
|
-
|
|
179
|
+
T as default
|
|
180
180
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as m, computed as p, createElementBlock as l, openBlock as s, createVNode as f, createBlock as N, createCommentVNode as z, unref as c, withCtx as v, createElementVNode as n, normalizeClass as T, Fragment as V, renderList as k, createTextVNode as C } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { EMOJI_LIST as a, EMOJI_CATEGORIES as
|
|
4
|
-
import { _ as
|
|
5
|
-
const
|
|
2
|
+
import { aH as U, d as J, B as b } from "./index-BWAOVIQ_.js";
|
|
3
|
+
import { EMOJI_LIST as a, EMOJI_CATEGORIES as P } from "./Form/EmojiPicker/conts/emoji.js";
|
|
4
|
+
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const F = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[140px] relative w-full z-50" }, G = ["innerHTML"], R = { class: "p-4 w-[340px]" }, q = { class: "bg-oc-bg-dark p-4 rounded flex items-center justify-center" }, K = ["innerHTML"], Q = { class: "pt-3 pb-4" }, W = ["id", "innerHTML", "onClick"], X = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "text-oc-text-400 text-center p-3"
|
|
8
8
|
}, Y = { class: "border-t border-b py-3 grid grid-cols-9 gap-3" }, Z = ["innerHTML", "onClick"], ee = { class: "grid grid-cols-2 gap-5 mt-6" }, te = {
|
|
@@ -23,16 +23,16 @@ const A = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[14
|
|
|
23
23
|
() => i.value ? a[i.value] : a.sunglasses
|
|
24
24
|
), y = p(
|
|
25
25
|
() => Object.entries(a).filter(([t]) => t.includes(u.value))
|
|
26
|
-
), _ = p(() => Object.entries(
|
|
26
|
+
), _ = p(() => Object.entries(P)), O = (t) => {
|
|
27
27
|
i.value = t;
|
|
28
28
|
}, j = () => {
|
|
29
29
|
d.value = !1, L("update:modelValue", a[i.value]);
|
|
30
30
|
}, B = () => {
|
|
31
31
|
d.value = !1, i.value = g.modelValue;
|
|
32
|
-
},
|
|
32
|
+
}, H = () => {
|
|
33
33
|
const t = Object.keys(a), e = Math.round(Math.random() * t.length);
|
|
34
34
|
i.value = t[e], j();
|
|
35
|
-
},
|
|
35
|
+
}, I = (t) => {
|
|
36
36
|
t && (u.value = "");
|
|
37
37
|
}, S = (t) => {
|
|
38
38
|
const e = document.getElementById(`emoji-${t}`).offsetTop;
|
|
@@ -43,12 +43,12 @@ const A = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[14
|
|
|
43
43
|
t.target.scrollTop >= o - 20 && (h.value = e);
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
return (t, e) => (s(), l("div",
|
|
46
|
+
return (t, e) => (s(), l("div", F, [
|
|
47
47
|
f(c(U), {
|
|
48
48
|
modelValue: d.value,
|
|
49
49
|
"onUpdate:modelValue": [
|
|
50
50
|
e[1] || (e[1] = (o) => d.value = o),
|
|
51
|
-
|
|
51
|
+
I
|
|
52
52
|
],
|
|
53
53
|
"max-menu-height": 600,
|
|
54
54
|
class: "!w-auto z-50",
|
|
@@ -72,7 +72,7 @@ const A = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[14
|
|
|
72
72
|
}, null, 8, K)
|
|
73
73
|
]),
|
|
74
74
|
n("div", Q, [
|
|
75
|
-
f(c(
|
|
75
|
+
f(c(J), {
|
|
76
76
|
modelValue: u.value,
|
|
77
77
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => u.value = o),
|
|
78
78
|
placeholder: "Search",
|
|
@@ -128,7 +128,7 @@ const A = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[14
|
|
|
128
128
|
class: T(["flex items-center justify-center w-12 h-12 text-[40px] transition rounded", {
|
|
129
129
|
"cursor-pointer hover:bg-oc-gray-200": !r.isDisabled
|
|
130
130
|
}])
|
|
131
|
-
}, null, 10,
|
|
131
|
+
}, null, 10, G)
|
|
132
132
|
]),
|
|
133
133
|
_: 1
|
|
134
134
|
}, 8, ["modelValue", "popper-options", "is-disabled"]),
|
|
@@ -137,11 +137,11 @@ const A = { class: "flex items-center justify-center rounded bg-oc-bg-dark h-[14
|
|
|
137
137
|
"left-icon": "shuffle",
|
|
138
138
|
variant: "secondary",
|
|
139
139
|
class: "absolute top-5 right-5",
|
|
140
|
-
onClick:
|
|
140
|
+
onClick: H
|
|
141
141
|
}))
|
|
142
142
|
]));
|
|
143
143
|
}
|
|
144
|
-
}, ie = /* @__PURE__ */
|
|
144
|
+
}, ie = /* @__PURE__ */ A(te, [["__scopeId", "data-v-6a3c86cb"]]);
|
|
145
145
|
export {
|
|
146
146
|
ie as default
|
|
147
147
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as r, computed as
|
|
2
|
-
import { t as
|
|
3
|
-
const
|
|
1
|
+
import { ref as r, computed as c, onMounted as B, createElementBlock as k, openBlock as O, renderSlot as $, createElementVNode as f, createVNode as u, unref as i } from "vue";
|
|
2
|
+
import { t as C, B as m } from "./index-BWAOVIQ_.js";
|
|
3
|
+
const w = { class: "flex w-[326px] flex-col" }, A = { class: "p-5" }, E = { class: "sticky bottom-0 flex gap-x-5 bg-oc-bg-light px-5 pb-5 pt-3" }, N = {
|
|
4
4
|
__name: "OcFilterForm",
|
|
5
5
|
props: {
|
|
6
6
|
/** Unique ID passed to the inner FormBuilder instance. */
|
|
@@ -37,55 +37,55 @@ const C = { class: "flex w-[326px] flex-col gap-y-5" }, A = { class: "max-h-[500
|
|
|
37
37
|
/** Tracks which fields were changed before Apply. Payload: array of changed field names. */
|
|
38
38
|
"filter-fields-changed": []
|
|
39
39
|
},
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
40
|
+
setup(a, { emit: b }) {
|
|
41
|
+
const o = a, d = b, t = r({}), p = r({}), n = r([]), y = c(() => Object.values(t.value).length > 0), g = c(() => {
|
|
42
42
|
var e, l;
|
|
43
|
-
return ((l = (e =
|
|
44
|
-
}), F =
|
|
43
|
+
return ((l = (e = o.actions) == null ? void 0 : e.applyButton) == null ? void 0 : l.label) || "Apply";
|
|
44
|
+
}), F = c(() => {
|
|
45
45
|
var e, l;
|
|
46
|
-
return ((l = (e =
|
|
46
|
+
return ((l = (e = o.actions) == null ? void 0 : e.cancelButton) == null ? void 0 : l.label) || "Cancel";
|
|
47
47
|
}), j = (e) => {
|
|
48
|
-
n.value.findIndex((
|
|
48
|
+
n.value.findIndex((s) => s === e) >= 0 || n.value.push(e);
|
|
49
49
|
}, v = (e, l = null) => {
|
|
50
|
-
typeof e.name == "object" ? e.name.forEach((
|
|
51
|
-
|
|
52
|
-
}) :
|
|
53
|
-
},
|
|
54
|
-
|
|
50
|
+
typeof e.name == "object" ? e.name.forEach((s, x) => {
|
|
51
|
+
t.value[s.key] = l[x];
|
|
52
|
+
}) : t.value[e.name] = l, j(e.name);
|
|
53
|
+
}, h = () => {
|
|
54
|
+
t.value.cursor && (t.value.cursor = ""), d("applyFilter", t.value), d("filter-fields-changed", n.value), n.value = [];
|
|
55
55
|
};
|
|
56
56
|
return B(() => {
|
|
57
|
-
|
|
58
|
-
}), (e, l) => (
|
|
57
|
+
t.value = { ...o.values };
|
|
58
|
+
}), (e, l) => (O(), k("div", w, [
|
|
59
59
|
$(e.$slots, "default", {
|
|
60
60
|
errors: p.value,
|
|
61
|
-
values:
|
|
62
|
-
jsonForm:
|
|
61
|
+
values: t.value,
|
|
62
|
+
jsonForm: a.jsonForm,
|
|
63
63
|
updateForm: v
|
|
64
64
|
}, () => [
|
|
65
65
|
f("div", A, [
|
|
66
|
-
|
|
67
|
-
id: `filter-form-${
|
|
66
|
+
u(i(C), {
|
|
67
|
+
id: `filter-form-${a.id}`,
|
|
68
68
|
class: "grid gap-5",
|
|
69
69
|
errors: p.value,
|
|
70
|
-
values:
|
|
71
|
-
"json-form":
|
|
72
|
-
grid:
|
|
70
|
+
values: t.value,
|
|
71
|
+
"json-form": a.jsonForm,
|
|
72
|
+
grid: a.grid ?? null,
|
|
73
73
|
onOnUpdate: v
|
|
74
74
|
}, null, 8, ["id", "errors", "values", "json-form", "grid"])
|
|
75
75
|
])
|
|
76
76
|
]),
|
|
77
77
|
f("div", E, [
|
|
78
|
-
|
|
78
|
+
u(i(m), {
|
|
79
79
|
class: "w-full",
|
|
80
80
|
variant: "secondary",
|
|
81
81
|
label: F.value,
|
|
82
|
-
onClick: l[0] || (l[0] = (
|
|
82
|
+
onClick: l[0] || (l[0] = (s) => e.$emit("cancel"))
|
|
83
83
|
}, null, 8, ["label"]),
|
|
84
|
-
|
|
84
|
+
u(i(m), {
|
|
85
85
|
class: "w-full",
|
|
86
|
-
"is-disabled": !
|
|
86
|
+
"is-disabled": !y.value,
|
|
87
87
|
label: g.value,
|
|
88
|
-
onClick:
|
|
88
|
+
onClick: h
|
|
89
89
|
}, null, 8, ["is-disabled", "label"])
|
|
90
90
|
])
|
|
91
91
|
]));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as u, computed as
|
|
2
|
-
import { d as
|
|
1
|
+
import { ref as u, computed as I, createElementBlock as d, openBlock as s, Fragment as p, createElementVNode as r, createCommentVNode as f, normalizeClass as O, createVNode as m, unref as c, withKeys as K, createSlots as N, withCtx as h, toDisplayString as Q, renderList as D, createBlock as S, nextTick as E } from "vue";
|
|
2
|
+
import { d as F, aH as U, aI as j, B as w } from "./index-BWAOVIQ_.js";
|
|
3
3
|
import { _ as q } from "./OcIcon-DuLjS3TV.js";
|
|
4
|
-
const A = { class: "flex gap-x-4" },
|
|
4
|
+
const A = { class: "flex gap-x-4" }, H = { class: "flex gap-x-2 items-center pl-2 text-oc-text-400 font-medium text-sm" }, L = { class: "p-2 flex flex-col" }, P = {
|
|
5
5
|
__name: "OcFilterSearch",
|
|
6
6
|
props: {
|
|
7
7
|
/** Show the search bar permanently (no expand/collapse toggle). */
|
|
@@ -20,8 +20,8 @@ const A = { class: "flex gap-x-4" }, G = { class: "flex gap-x-2 items-center pl-
|
|
|
20
20
|
"change-search-key": []
|
|
21
21
|
},
|
|
22
22
|
setup(a, { emit: C }) {
|
|
23
|
-
const o = C, y = a, l = u(!1), t = u(""), v = u(!1), g = u(), V =
|
|
24
|
-
l.value = !0, o("toggle", l.value), await
|
|
23
|
+
const o = C, y = a, l = u(!1), t = u(""), v = u(!1), g = u(), V = I(() => y.searchOptions.find((i) => i.value === y.selectedOption)), B = async () => {
|
|
24
|
+
l.value = !0, o("toggle", l.value), await E(), g.value.focus();
|
|
25
25
|
}, $ = (i) => {
|
|
26
26
|
o("change-search-key", i), v.value = !1;
|
|
27
27
|
}, b = () => {
|
|
@@ -36,7 +36,7 @@ const A = { class: "flex gap-x-4" }, G = { class: "flex gap-x-2 items-center pl-
|
|
|
36
36
|
class: O(["w-full", l.value || a.isSearchOnly ? "" : "absolute max-w-0 overflow-hidden"])
|
|
37
37
|
}, [
|
|
38
38
|
r("div", A, [
|
|
39
|
-
m(c(
|
|
39
|
+
m(c(F), {
|
|
40
40
|
ref_key: "searchInput",
|
|
41
41
|
ref: g,
|
|
42
42
|
modelValue: t.value,
|
|
@@ -46,8 +46,8 @@ const A = { class: "flex gap-x-4" }, G = { class: "flex gap-x-2 items-center pl-
|
|
|
46
46
|
"has-leading-separator": !a.isSearchOnly,
|
|
47
47
|
"input-class": a.isSearchOnly ? "!pr-2" : "!h-[28px]",
|
|
48
48
|
icon: (k = a.searchOptions) != null && k.length ? "" : "search",
|
|
49
|
-
onKeyup: n[2] || (n[2] =
|
|
50
|
-
},
|
|
49
|
+
onKeyup: n[2] || (n[2] = K((e) => i.$emit("addQuery", t.value), ["enter"]))
|
|
50
|
+
}, N({ _: 2 }, [
|
|
51
51
|
(x = a.searchOptions) != null && x.length ? {
|
|
52
52
|
name: "trailing",
|
|
53
53
|
fn: h(() => [
|
|
@@ -58,21 +58,21 @@ const A = { class: "flex gap-x-4" }, G = { class: "flex gap-x-2 items-center pl-
|
|
|
58
58
|
skidding: -8
|
|
59
59
|
}, {
|
|
60
60
|
menu: h(() => [
|
|
61
|
-
r("div",
|
|
62
|
-
(s(!0), d(p, null,
|
|
61
|
+
r("div", L, [
|
|
62
|
+
(s(!0), d(p, null, D(a.searchOptions, (e) => (s(), S(c(j), {
|
|
63
63
|
key: e.value,
|
|
64
64
|
class: "text-sm",
|
|
65
65
|
text: e.label,
|
|
66
66
|
active: e.value === a.selectedOption,
|
|
67
|
-
onClick: (
|
|
67
|
+
onClick: (T) => $(e.value)
|
|
68
68
|
}, null, 8, ["text", "active", "onClick"]))), 128))
|
|
69
69
|
])
|
|
70
70
|
]),
|
|
71
71
|
default: h(() => {
|
|
72
72
|
var e;
|
|
73
73
|
return [
|
|
74
|
-
r("div",
|
|
75
|
-
r("span", null,
|
|
74
|
+
r("div", H, [
|
|
75
|
+
r("span", null, Q((e = V.value) == null ? void 0 : e.label), 1),
|
|
76
76
|
m(c(q), {
|
|
77
77
|
name: "chevron-down",
|
|
78
78
|
width: "14",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as h, createBlock as c, createCommentVNode as k, openBlock as a, unref as o, withCtx as y, createElementVNode as f, createElementBlock as v, createVNode as F, Fragment as p, renderList as b } from "vue";
|
|
2
|
-
import { T as $,
|
|
3
|
-
const w = { class: "flex gap-1 items-center normal-case flex-wrap" },
|
|
2
|
+
import { T as $, aC as m } from "./index-BWAOVIQ_.js";
|
|
3
|
+
const w = { class: "flex gap-1 items-center normal-case flex-wrap" }, N = {
|
|
4
4
|
__name: "OcFilterSearchFor",
|
|
5
5
|
props: {
|
|
6
6
|
/** Applied filter chips. Array of `{ name, label, multiNames? }` objects from `formatFilterDisplay`. */
|
|
@@ -76,5 +76,5 @@ const w = { class: "flex gap-1 items-center normal-case flex-wrap" }, E = {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
N as default
|
|
80
80
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as o, createBlock as v, openBlock as d, unref as r, withCtx as x, createVNode as O } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import k from "./OcCropper-
|
|
2
|
+
import { aJ as b } from "./index-BWAOVIQ_.js";
|
|
3
|
+
import k from "./OcCropper-CLC1w_np.js";
|
|
4
4
|
const h = {
|
|
5
5
|
__name: "OcModalCropper",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as n, watch as g, createBlock as m, openBlock as s, unref as o, withCtx as p, createVNode as v, createCommentVNode as y } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aH as S, d as h, aR as D } from "./index-BWAOVIQ_.js";
|
|
3
3
|
import { d as c } from "./dayjs.min-7xVZzECu.js";
|
|
4
4
|
const w = {
|
|
5
5
|
__name: "OcTimePicker",
|