@orchidui/core 1.92.0 → 1.94.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 +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-CKcOQBp1.js → OcAccountSetupProgress-DdXuFRDy.js} +1 -1
- package/dist/{OcComplexCalendar-C_LvVl-a.js → OcComplexCalendar-CdQgLhJh.js} +1 -1
- package/dist/{OcComplexDatePicker-BuADqUYo.js → OcComplexDatePicker-DPbG6Nh2.js} +1 -1
- package/dist/{OcCropper-CmIJ0Juf.js → OcCropper-Ch6Siwys.js} +1 -1
- package/dist/{OcDataTable-DwKK4tAk.js → OcDataTable-qEhaCxwd.js} +223 -220
- package/dist/{OcDraggableList-B32CbaCb.js → OcDraggableList-CtKoTNYr.js} +1 -1
- package/dist/{OcEmojiPicker-B7MmCq52.js → OcEmojiPicker-DycF1zsD.js} +1 -1
- package/dist/{OcFilterForm-DDd3OWFn.js → OcFilterForm-CtvFRBtx.js} +1 -1
- package/dist/{OcFilterSearch-G95I3Y2D.js → OcFilterSearch-EKVPc4Bb.js} +1 -1
- package/dist/{OcFilterSearchFor-CLVHX6Go.js → OcFilterSearchFor-BWiXeK_9.js} +1 -1
- package/dist/{OcModalCropper-DhAUrDfm.js → OcModalCropper-RfBJ-mfr.js} +2 -2
- package/dist/{OcTimePicker-DMi3MDMf.js → OcTimePicker-BFxWVvTQ.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-DV0r6ueq.js → SubPlanCard-DE-myUj8.js} +1 -1
- package/dist/{ThumbnailSection-BrT5MCH_.js → ThumbnailSection-DThOEqQg.js} +1 -1
- package/dist/{ThumbnailTheme-BSMn9hVZ.js → ThumbnailTheme-BVY8WPBF.js} +1 -1
- package/dist/core.css +1 -1
- package/dist/{index-CfAyElUe.js → index-BvVTmVd1.js} +33 -13
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { aG as
|
|
3
|
-
import { V as
|
|
4
|
-
import { getFromLocalStorage as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { formatFilterDisplay as
|
|
7
|
-
import { formatCustomItemsPerPageOptions as
|
|
1
|
+
import { ref as P, onMounted as Ce, createBlock as L, 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 D, watch as $e, toRaw as We, nextTick as Xe, renderSlot as C, resolveDynamicComponent as Ye, createSlots as Ze, normalizeProps as Se, guardReactiveProps as Oe } from "vue";
|
|
2
|
+
import { aG as Pe, B as je, C as He, E as _e, Q as el, a4 as ll, aR as al, aS as tl, aT as sl, K as ol, L as Ve, j as ul } from "./index-BvVTmVd1.js";
|
|
3
|
+
import { V as Fe } from "./vue-draggable-next.esm-bundler-QQ8zx__3.js";
|
|
4
|
+
import { getFromLocalStorage as Ae, formatHeadersFromLocalStorage as Ke, formatHeadersToLocalStorage as il, setInLocalStorage as rl } from "./DataTable/utils/editColumnsUtils.js";
|
|
5
|
+
import { _ as Ee } from "./OcIcon-DuLjS3TV.js";
|
|
6
|
+
import { formatFilterDisplay as nl, clearAllFilters as dl } from "./DataTable/utils/filterUtils.js";
|
|
7
|
+
import { formatCustomItemsPerPageOptions as vl, getItemsPerPageOptions as cl } from "./DataTable/utils/paginationUtils.js";
|
|
8
8
|
import "./dayjs.min-7xVZzECu.js";
|
|
9
|
-
const
|
|
9
|
+
const ml = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, pl = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "gap-y-2 flex flex-col border-b pb-3 border-oc-gray-200"
|
|
12
|
-
},
|
|
12
|
+
}, fl = { class: "gap-y-2 flex flex-col" }, yl = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "flex items-center bg-white justify-between h-[26px]"
|
|
15
|
-
},
|
|
15
|
+
}, gl = { class: "flex items-center w-full gap-x-3" }, bl = { class: "truncate w-full max-w-[160px]" }, kl = {
|
|
16
16
|
__name: "ColumnEdit",
|
|
17
17
|
props: {
|
|
18
18
|
/** Initial active/visible state overrides for columns. Keyed by column key. */
|
|
@@ -39,55 +39,55 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
39
39
|
/** Column order or visibility changed. Payload: `{ fixedHeaders, activeHeaders, isOnMount }`. */
|
|
40
40
|
"update-order": []
|
|
41
41
|
},
|
|
42
|
-
setup($, { emit:
|
|
43
|
-
const
|
|
42
|
+
setup($, { emit: oe }) {
|
|
43
|
+
const A = oe, k = $, m = P([]), S = P([]), O = P(!1), y = {
|
|
44
44
|
handle: ".drag-el",
|
|
45
45
|
filter: ".is-disabled",
|
|
46
46
|
group: "headers",
|
|
47
47
|
animation: 500,
|
|
48
48
|
forceFallback: !1,
|
|
49
49
|
move: (l) => l.to.dataset.activeHeaders ? !0 : !!l.draggedContext.futureIndex,
|
|
50
|
-
"onUpdate:modelValue": () =>
|
|
51
|
-
},
|
|
52
|
-
S.value = S.value.map((
|
|
53
|
-
...
|
|
50
|
+
"onUpdate:modelValue": () => z()
|
|
51
|
+
}, z = (l = !1) => {
|
|
52
|
+
S.value = S.value.map((d) => ({
|
|
53
|
+
...d,
|
|
54
54
|
isActive: !0
|
|
55
|
-
})),
|
|
55
|
+
})), A("update-order", {
|
|
56
56
|
fixedHeaders: S.value,
|
|
57
|
-
activeHeaders:
|
|
57
|
+
activeHeaders: m.value,
|
|
58
58
|
isOnMount: l
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
|
-
return
|
|
62
|
-
const l =
|
|
63
|
-
S.value =
|
|
64
|
-
var t, U,
|
|
61
|
+
return Ce(() => {
|
|
62
|
+
const l = Ae(k.localKey), { fixed: d, active: v } = Ke(l, k.headers, k.localKey);
|
|
63
|
+
S.value = d || k.headers.slice(0, 1), m.value = v || k.headers.slice(1).map((g) => {
|
|
64
|
+
var t, U, j;
|
|
65
65
|
return {
|
|
66
|
-
...
|
|
67
|
-
isActive: ((
|
|
66
|
+
...g,
|
|
67
|
+
isActive: ((j = (U = (t = k.options) == null ? void 0 : t.active) == null ? void 0 : U.find((Q) => Q.key === g.key)) == null ? void 0 : j.isActive) ?? !0
|
|
68
68
|
};
|
|
69
|
-
}),
|
|
70
|
-
}), (l,
|
|
69
|
+
}), z(!0);
|
|
70
|
+
}), (l, d) => (o(), L(n(Pe), {
|
|
71
71
|
modelValue: O.value,
|
|
72
|
-
"onUpdate:modelValue":
|
|
72
|
+
"onUpdate:modelValue": d[3] || (d[3] = (v) => O.value = v),
|
|
73
73
|
"is-attach-to-body": ""
|
|
74
74
|
}, {
|
|
75
75
|
menu: p(() => [
|
|
76
|
-
|
|
77
|
-
S.value.length ? (o(), x("div",
|
|
78
|
-
|
|
79
|
-
I(
|
|
76
|
+
R("div", ml, [
|
|
77
|
+
S.value.length ? (o(), x("div", pl, [
|
|
78
|
+
d[4] || (d[4] = R("span", { class: "text-oc-text-400 font-medium" }, "Fixed columns", -1)),
|
|
79
|
+
I(n(Fe), we({
|
|
80
80
|
key: "key",
|
|
81
81
|
modelValue: S.value,
|
|
82
|
-
"onUpdate:modelValue":
|
|
82
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => S.value = v)
|
|
83
83
|
}, y), {
|
|
84
84
|
default: p(() => [
|
|
85
|
-
(o(!0), x(
|
|
86
|
-
key:
|
|
87
|
-
class:
|
|
85
|
+
(o(!0), x(ue, null, ae(S.value, (v, g) => (o(), x("div", {
|
|
86
|
+
key: v.key,
|
|
87
|
+
class: ie(["flex items-center justify-between h-[26px]", g ? "" : "is-disabled"])
|
|
88
88
|
}, [
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
R("span", null, xe(v.label), 1),
|
|
90
|
+
g ? (o(), L(n(Ee), {
|
|
91
91
|
key: 0,
|
|
92
92
|
width: "18",
|
|
93
93
|
height: "18",
|
|
@@ -99,30 +99,30 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
99
99
|
_: 1
|
|
100
100
|
}, 16, ["modelValue"])
|
|
101
101
|
])) : f("", !0),
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
I(
|
|
102
|
+
R("div", fl, [
|
|
103
|
+
d[5] || (d[5] = R("span", { class: "text-oc-text-400 font-medium" }, "Active columns", -1)),
|
|
104
|
+
I(n(Fe), we({
|
|
105
105
|
key: "key",
|
|
106
|
-
modelValue:
|
|
107
|
-
"onUpdate:modelValue":
|
|
106
|
+
modelValue: m.value,
|
|
107
|
+
"onUpdate:modelValue": d[2] || (d[2] = (v) => m.value = v)
|
|
108
108
|
}, y, { "data-active-headers": "true" }), {
|
|
109
109
|
default: p(() => [
|
|
110
|
-
(o(!0), x(
|
|
111
|
-
key:
|
|
110
|
+
(o(!0), x(ue, null, ae(m.value, (v) => (o(), x(ue, {
|
|
111
|
+
key: v.key
|
|
112
112
|
}, [
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
I(
|
|
116
|
-
modelValue:
|
|
113
|
+
v.key !== "actions" ? (o(), x("div", yl, [
|
|
114
|
+
R("div", gl, [
|
|
115
|
+
I(n(He), {
|
|
116
|
+
modelValue: v.isActive,
|
|
117
117
|
"onUpdate:modelValue": [
|
|
118
|
-
(
|
|
119
|
-
|
|
118
|
+
(g) => v.isActive = g,
|
|
119
|
+
d[1] || (d[1] = (g) => z())
|
|
120
120
|
],
|
|
121
121
|
class: "!w-fit"
|
|
122
122
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
123
|
-
|
|
123
|
+
R("div", bl, xe(v.label), 1)
|
|
124
124
|
]),
|
|
125
|
-
|
|
125
|
+
m.value.length > 1 ? (o(), L(n(Ee), {
|
|
126
126
|
key: 0,
|
|
127
127
|
width: "18",
|
|
128
128
|
height: "18",
|
|
@@ -138,7 +138,7 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
138
138
|
])
|
|
139
139
|
]),
|
|
140
140
|
default: p(() => [
|
|
141
|
-
I(
|
|
141
|
+
I(n(je), {
|
|
142
142
|
label: "Edit Column",
|
|
143
143
|
"left-icon": "setting",
|
|
144
144
|
size: "small",
|
|
@@ -149,22 +149,22 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
149
149
|
_: 1
|
|
150
150
|
}, 8, ["modelValue"]));
|
|
151
151
|
}
|
|
152
|
-
},
|
|
152
|
+
}, hl = { class: "relative flex flex-col gap-9" }, wl = {
|
|
153
153
|
key: 0,
|
|
154
154
|
class: "flex items-center px-4 min-h-[44px]"
|
|
155
|
-
},
|
|
155
|
+
}, xl = {
|
|
156
156
|
key: 0,
|
|
157
157
|
class: "absolute flex items-center gap-5 left-5"
|
|
158
|
-
},
|
|
158
|
+
}, $l = {
|
|
159
159
|
key: 1,
|
|
160
160
|
class: "absolute flex gap-3 left-5"
|
|
161
|
-
},
|
|
161
|
+
}, Sl = {
|
|
162
162
|
key: 1,
|
|
163
163
|
class: "flex justify-center w-full gap-5 md:justify-start"
|
|
164
|
-
},
|
|
164
|
+
}, Ol = {
|
|
165
165
|
key: 2,
|
|
166
166
|
class: "items-center hidden md:flex"
|
|
167
|
-
},
|
|
167
|
+
}, Tl = {
|
|
168
168
|
__name: "OcDataTable",
|
|
169
169
|
props: {
|
|
170
170
|
/** Show skeleton loading rows while data is being fetched. */
|
|
@@ -263,144 +263,147 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
263
263
|
/** Table has mounted and column order is initialized. */
|
|
264
264
|
"on-table-ready": []
|
|
265
265
|
},
|
|
266
|
-
setup($, { emit:
|
|
267
|
-
var
|
|
268
|
-
const
|
|
266
|
+
setup($, { emit: oe }) {
|
|
267
|
+
var ve, ce, me, pe, fe, ye, ge, be, ke;
|
|
268
|
+
const A = $, k = oe, m = D(() => {
|
|
269
269
|
var e;
|
|
270
|
-
return (e =
|
|
271
|
-
}), S =
|
|
270
|
+
return (e = A.options) == null ? void 0 : e.cursor;
|
|
271
|
+
}), S = P(), O = D(() => {
|
|
272
272
|
var e;
|
|
273
|
-
return (e =
|
|
274
|
-
}), y =
|
|
273
|
+
return (e = A.options) == null ? void 0 : e.tableOptions;
|
|
274
|
+
}), y = P({
|
|
275
275
|
total: 0,
|
|
276
276
|
last_page: 1
|
|
277
277
|
});
|
|
278
|
-
|
|
278
|
+
$e(
|
|
279
279
|
() => {
|
|
280
280
|
var e;
|
|
281
|
-
return (e =
|
|
281
|
+
return (e = A.options) == null ? void 0 : e.pagination;
|
|
282
282
|
},
|
|
283
283
|
(e) => {
|
|
284
284
|
y.value = e;
|
|
285
285
|
},
|
|
286
286
|
{ deep: !0, immediate: !0 }
|
|
287
287
|
);
|
|
288
|
-
const
|
|
288
|
+
const z = D(() => {
|
|
289
289
|
var a;
|
|
290
290
|
return {
|
|
291
291
|
...O.value,
|
|
292
292
|
headers: S.value ? S.value.map((u) => {
|
|
293
|
-
var
|
|
294
|
-
return u.class = ((
|
|
295
|
-
}).filter((u) => u.isActive) : (a = O.value) == null ? void 0 : a.headers.filter((u) =>
|
|
293
|
+
var r, i;
|
|
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
|
+
}).filter((u) => u.isActive) : (a = O.value) == null ? void 0 : a.headers.filter((u) => Be(u.key))
|
|
296
296
|
};
|
|
297
|
-
}), l =
|
|
297
|
+
}), l = D(() => {
|
|
298
298
|
var e;
|
|
299
|
-
return (e =
|
|
300
|
-
}),
|
|
299
|
+
return (e = A.options) == null ? void 0 : e.filterOptions;
|
|
300
|
+
}), d = D(() => {
|
|
301
301
|
var e;
|
|
302
|
-
return (e =
|
|
303
|
-
}),
|
|
302
|
+
return (e = A.options) == null ? void 0 : e.hidePerPageDropdown;
|
|
303
|
+
}), v = D(() => {
|
|
304
304
|
var e;
|
|
305
305
|
return ((e = y.value) == null ? void 0 : e.last_page) === 1;
|
|
306
|
-
}),
|
|
307
|
-
!
|
|
308
|
-
const t =
|
|
309
|
-
|
|
310
|
-
() =>
|
|
306
|
+
}), g = JSON.parse(JSON.stringify(We(A.filter)));
|
|
307
|
+
!g && y.value ? g.page = 1 : !g && m && (g.cursor = "");
|
|
308
|
+
const t = P(g);
|
|
309
|
+
$e(
|
|
310
|
+
() => A.filter,
|
|
311
311
|
(e) => {
|
|
312
312
|
t.value = { ...e };
|
|
313
313
|
},
|
|
314
314
|
{ deep: !0 }
|
|
315
315
|
);
|
|
316
|
-
const U =
|
|
317
|
-
(
|
|
318
|
-
),
|
|
316
|
+
const U = 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
|
+
(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 = D(
|
|
319
319
|
() => {
|
|
320
320
|
var e;
|
|
321
|
-
return
|
|
321
|
+
return vl((e = A.options) == null ? void 0 : e.perPageOptions);
|
|
322
322
|
}
|
|
323
|
-
),
|
|
323
|
+
), De = D(() => cl(Te.value, y.value)), Le = D(() => {
|
|
324
324
|
var e;
|
|
325
|
-
return ((e =
|
|
326
|
-
}),
|
|
327
|
-
!e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], K(),
|
|
328
|
-
},
|
|
325
|
+
return ((e = A.selected) == null ? void 0 : e.length) > 0;
|
|
326
|
+
}), Ue = (e) => {
|
|
327
|
+
!e.trim() || !t.value.selectedSearchOption && N.value.includes(e) || (N.value = [e], K(), k("search-query-changed", e));
|
|
328
|
+
}, Ie = (e) => {
|
|
329
329
|
N.value = N.value.filter((a) => a !== e), K();
|
|
330
|
-
},
|
|
331
|
-
var a, u,
|
|
332
|
-
return ((
|
|
333
|
-
},
|
|
334
|
-
var
|
|
335
|
-
if (t.value[(
|
|
336
|
-
const F =
|
|
337
|
-
|
|
330
|
+
}, Ne = D(() => nl(t.value, l.value)), Be = (e) => {
|
|
331
|
+
var a, u, r, i, c, h;
|
|
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
|
+
}, Qe = ({ fixedHeaders: e, activeHeaders: a, isOnMount: u }) => {
|
|
334
|
+
var r, i, c, h, V, s, T, w;
|
|
335
|
+
if (t.value[(i = (r = l.value) == null ? void 0 : r.columnEdit) == null ? void 0 : i.key] || (t.value[(h = (c = l.value) == null ? void 0 : c.columnEdit) == null ? void 0 : h.key] = {}), t.value[(s = (V = l.value) == null ? void 0 : V.columnEdit) == null ? void 0 : s.key].fixed = e, t.value[(w = (T = l.value) == null ? void 0 : T.columnEdit) == null ? void 0 : w.key].active = a, S.value = [...e, ...a], !u) {
|
|
336
|
+
const F = il(e, a);
|
|
337
|
+
rl(l.value.columnEdit.localStorageKey, F);
|
|
338
338
|
}
|
|
339
|
-
|
|
340
|
-
},
|
|
341
|
-
var e, a, u,
|
|
339
|
+
k("columns-changed", a);
|
|
340
|
+
}, Re = () => {
|
|
341
|
+
var e, a, u, r, i, c;
|
|
342
342
|
if ((a = (e = l.value) == null ? void 0 : e.columnEdit) != null && a.localStorageKey) {
|
|
343
|
-
const
|
|
344
|
-
if (
|
|
345
|
-
const { fixed: V, active: s } =
|
|
346
|
-
|
|
343
|
+
const h = Ae(l.value.columnEdit.localStorageKey);
|
|
344
|
+
if (h) {
|
|
345
|
+
const { fixed: V, active: s } = Ke(
|
|
346
|
+
h,
|
|
347
347
|
O.value.headers,
|
|
348
348
|
l.value.columnEdit.localStorageKey
|
|
349
349
|
);
|
|
350
|
-
t.value[(
|
|
350
|
+
t.value[(r = (u = l.value) == null ? void 0 : u.columnEdit) == null ? void 0 : r.key].fixed = V, t.value[(c = (i = l.value) == null ? void 0 : i.columnEdit) == null ? void 0 : c.key].active = s, S.value = [...V, ...s];
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
},
|
|
353
|
+
}, ze = (e) => {
|
|
354
354
|
t.value.selectedSearchOption = e;
|
|
355
|
-
},
|
|
356
|
-
|
|
355
|
+
}, qe = () => {
|
|
356
|
+
var a, u, r, i;
|
|
357
|
+
N.value = [], j.value = "";
|
|
358
|
+
const e = (u = (a = l.value) == null ? void 0 : a.tabs) != null && u.filter_name ? g[(i = (r = l.value) == null ? void 0 : r.tabs) == null ? void 0 : i.key] : j.value;
|
|
359
|
+
t.value = dl(
|
|
357
360
|
t.value,
|
|
358
361
|
l.value,
|
|
359
|
-
|
|
360
|
-
|
|
362
|
+
q.value,
|
|
363
|
+
e
|
|
361
364
|
), K();
|
|
362
|
-
},
|
|
365
|
+
}, Je = () => {
|
|
363
366
|
K(null, Q.value);
|
|
364
|
-
}, K = (e = null, a = !1, u = "",
|
|
365
|
-
var
|
|
366
|
-
y.value && !a && (Q.value = 1), y.value ? t.value.page = Q.value : t.value.cursor = u, (
|
|
367
|
-
var
|
|
368
|
-
(
|
|
369
|
-
}), t.value[((
|
|
370
|
-
Array.isArray(t.value[
|
|
367
|
+
}, K = (e = null, a = !1, u = "", r = !1, i = !1) => {
|
|
368
|
+
var h, V, s, T, w, F, B, G, M, W, X, Y, Z, H, _, 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 && ((M = (G = l.value.search) == null ? void 0 : G.options) != null && M.length ? (Object.keys(t.value).forEach((E) => {
|
|
370
|
+
var J;
|
|
371
|
+
(J = l.value.search.options) != null && J.map((se) => se.value).includes(E) && delete t.value[E];
|
|
372
|
+
}), t.value[((W = t.value) == null ? void 0 : W.selectedSearchOption) || ((Z = (Y = (X = l.value.search) == null ? void 0 : X.options) == null ? void 0 : Y[0]) == null ? void 0 : Z.value) || l.value.search.key] = N.value.join()) : t.value[l.value.search.key] = N.value.join()), e && (U.value = !1, t.value = { ...t.value, ...e }, Object.keys(t.value).forEach((E) => {
|
|
373
|
+
Array.isArray(t.value[E]) && t.value[E].length === 0 && delete t.value[E];
|
|
371
374
|
}));
|
|
372
|
-
let
|
|
373
|
-
if (
|
|
374
|
-
const
|
|
375
|
-
(
|
|
376
|
-
var
|
|
377
|
-
return ((
|
|
375
|
+
let c = (_ = (H = l.value) == null ? void 0 : H.tabs) == null ? void 0 : _.key;
|
|
376
|
+
if (c && j.value !== t.value[c] && !((le = (ee = l.value) == null ? void 0 : ee.tabs) != null && le.filter_name)) {
|
|
377
|
+
const E = (te = (b = l.value.tabs) == null ? void 0 : b.options) == null ? void 0 : te.find(
|
|
378
|
+
(J) => {
|
|
379
|
+
var se, he;
|
|
380
|
+
return ((se = J.value) == null ? void 0 : se.toString()) === ((he = t.value[c]) == null ? void 0 : he.toString());
|
|
378
381
|
}
|
|
379
382
|
);
|
|
380
|
-
|
|
383
|
+
E != null && E.value && (j.value = E.value, i || K(null, !1, "", !1, !0));
|
|
381
384
|
}
|
|
382
|
-
|
|
383
|
-
},
|
|
384
|
-
clearTimeout(
|
|
385
|
-
|
|
385
|
+
Ge(r);
|
|
386
|
+
}, de = P(null), Ge = (e = !1) => {
|
|
387
|
+
clearTimeout(de.value), de.value = setTimeout(() => {
|
|
388
|
+
k("update:filter", { ...t.value }, e), k("apply-filter", { ...t.value }, e);
|
|
386
389
|
}, 50);
|
|
387
|
-
},
|
|
388
|
-
(a === l.value.tabs.key || a === "tabs") && (
|
|
390
|
+
}, Me = (e, a) => {
|
|
391
|
+
(a === l.value.tabs.key || a === "tabs") && (j.value = ""), K(e), k("filter-removed", a);
|
|
389
392
|
};
|
|
390
|
-
return
|
|
391
|
-
|
|
392
|
-
|
|
393
|
+
return Ce(() => {
|
|
394
|
+
Re(), Xe(() => {
|
|
395
|
+
k("on-table-ready");
|
|
393
396
|
});
|
|
394
397
|
}), (e, a) => {
|
|
395
|
-
var u,
|
|
396
|
-
return o(), x("div",
|
|
397
|
-
|
|
398
|
+
var u, r, i, c, h, V;
|
|
399
|
+
return o(), x("div", hl, [
|
|
400
|
+
z.value ? (o(), L(Ye($.isNewTable ? n(_e) : n(el)), {
|
|
398
401
|
key: 0,
|
|
399
402
|
selected: $.selected,
|
|
400
403
|
"row-key": $.rowKey,
|
|
401
|
-
options:
|
|
404
|
+
options: z.value,
|
|
402
405
|
"is-loading": $.isLoading,
|
|
403
|
-
"loading-rows":
|
|
406
|
+
"loading-rows": q.value,
|
|
404
407
|
"row-class": $.rowClass,
|
|
405
408
|
"row-link": $.rowLink,
|
|
406
409
|
"selected-index": $.selectedIndex,
|
|
@@ -409,39 +412,39 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
409
412
|
"onUpdate:selected": a[8] || (a[8] = (s) => e.$emit("update:selected", s)),
|
|
410
413
|
"onClick:row": a[9] || (a[9] = (s) => e.$emit("click:row", s)),
|
|
411
414
|
"onHover:cell": a[10] || (a[10] = (s) => e.$emit("hover:cell", s))
|
|
412
|
-
},
|
|
415
|
+
}, Ze({
|
|
413
416
|
after: p(() => [
|
|
414
|
-
|
|
417
|
+
C(e.$slots, "after")
|
|
415
418
|
]),
|
|
416
419
|
empty: p(() => [
|
|
417
|
-
|
|
420
|
+
C(e.$slots, "empty")
|
|
418
421
|
]),
|
|
419
422
|
"table-header": p((s) => [
|
|
420
|
-
|
|
423
|
+
C(e.$slots, "table-header", Se(Oe(s)))
|
|
421
424
|
]),
|
|
422
425
|
"table-body": p((s) => [
|
|
423
|
-
|
|
426
|
+
C(e.$slots, "table-body", Se(Oe(s)))
|
|
424
427
|
]),
|
|
425
428
|
"after-rows": p(() => [
|
|
426
|
-
|
|
429
|
+
C(e.$slots, "after-rows")
|
|
427
430
|
]),
|
|
428
431
|
_: 2
|
|
429
432
|
}, [
|
|
430
|
-
e.$slots.before || (u = l.value) != null && u.search || (
|
|
433
|
+
e.$slots.before || (u = l.value) != null && u.search || (r = l.value) != null && r.form || (i = l.value) != null && i.tabs ? {
|
|
431
434
|
name: "before",
|
|
432
435
|
fn: p(() => {
|
|
433
|
-
var s,
|
|
436
|
+
var s, T, w, F;
|
|
434
437
|
return [
|
|
435
|
-
|
|
436
|
-
(s = l.value) != null && s.search || (
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
])) : (o(), x("div",
|
|
440
|
-
(F = l.value) != null && F.tabs ? (o(), L(
|
|
438
|
+
C(e.$slots, "before"),
|
|
439
|
+
(s = l.value) != null && s.search || (T = l.value) != null && T.form || (w = l.value) != null && w.tabs ? (o(), x("div", wl, [
|
|
440
|
+
Le.value ? (o(), x("div", xl, [
|
|
441
|
+
C(e.$slots, "bulk-actions", { selectedRows: $.selected })
|
|
442
|
+
])) : (o(), x("div", $l, [
|
|
443
|
+
(F = l.value) != null && F.tabs ? (o(), L(n(ll), {
|
|
441
444
|
key: 0,
|
|
442
|
-
modelValue:
|
|
445
|
+
modelValue: j.value,
|
|
443
446
|
"onUpdate:modelValue": [
|
|
444
|
-
a[0] || (a[0] = (B) =>
|
|
447
|
+
a[0] || (a[0] = (B) => j.value = B),
|
|
445
448
|
a[1] || (a[1] = (B) => K(null, !1, "", !1, !0))
|
|
446
449
|
],
|
|
447
450
|
"is-disabled": $.isLoading,
|
|
@@ -449,61 +452,61 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
449
452
|
variant: "pills"
|
|
450
453
|
}, null, 8, ["modelValue", "is-disabled", "tabs"])) : f("", !0)
|
|
451
454
|
])),
|
|
452
|
-
|
|
453
|
-
var B, M, W, X, Y, Z, H,
|
|
455
|
+
C(e.$slots, "filter-options", {}, () => {
|
|
456
|
+
var B, G, M, W, X, Y, Z, H, _, ee, le;
|
|
454
457
|
return [
|
|
455
|
-
(B = l.value) != null && B.search || (
|
|
458
|
+
(B = l.value) != null && B.search || (G = l.value) != null && G.form || (M = l.value) != null && M.columnEdit ? (o(), x("div", {
|
|
456
459
|
key: 0,
|
|
457
|
-
class:
|
|
460
|
+
class: ie([
|
|
458
461
|
"flex gap-3 absolute ml-auto items-center bg-oc-bg-light right-4 max-w-[calc(100%-24px)]",
|
|
459
|
-
l.value ?
|
|
462
|
+
l.value ? ne.value ? "md:w-fit w-full" : "" : "w-full justify-end"
|
|
460
463
|
])
|
|
461
464
|
}, [
|
|
462
|
-
(
|
|
465
|
+
(W = l.value) != null && W.search ? (o(), L(n(al), {
|
|
463
466
|
key: 0,
|
|
464
467
|
"is-search-only": !l.value.tabs || l.value.isSearchOnly,
|
|
465
|
-
"search-options": ((
|
|
466
|
-
"selected-option": (((
|
|
467
|
-
onAddQuery:
|
|
468
|
-
onToggle: a[2] || (a[2] = (
|
|
469
|
-
onChangeSearchKey:
|
|
468
|
+
"search-options": ((X = l.value.search) == null ? void 0 : X.options) ?? [],
|
|
469
|
+
"selected-option": (((Y = t.value) == null ? void 0 : Y.selectedSearchOption) || ((_ = (H = (Z = l.value.search) == null ? void 0 : Z.options) == null ? void 0 : H[0]) == null ? void 0 : _.value)) ?? "keywords",
|
|
470
|
+
onAddQuery: Ue,
|
|
471
|
+
onToggle: a[2] || (a[2] = (b) => ne.value = b),
|
|
472
|
+
onChangeSearchKey: ze
|
|
470
473
|
}, null, 8, ["is-search-only", "search-options", "selected-option"])) : f("", !0),
|
|
471
|
-
(
|
|
474
|
+
(ee = l.value) != null && ee.form ? (o(), L(n(Pe), {
|
|
472
475
|
key: 1,
|
|
473
476
|
modelValue: U.value,
|
|
474
477
|
"onUpdate:modelValue": [
|
|
475
|
-
a[6] || (a[6] = (
|
|
476
|
-
a[7] || (a[7] = (
|
|
478
|
+
a[6] || (a[6] = (b) => U.value = b),
|
|
479
|
+
a[7] || (a[7] = (b) => e.$emit("filter-open", b))
|
|
477
480
|
],
|
|
478
481
|
distance: 9,
|
|
479
482
|
placement: "bottom-end",
|
|
480
483
|
"is-attach-to-body": ""
|
|
481
484
|
}, {
|
|
482
485
|
menu: p(() => [
|
|
483
|
-
U.value ? (o(), L(
|
|
486
|
+
U.value ? (o(), L(n(tl), {
|
|
484
487
|
key: 0,
|
|
485
488
|
id: $.id,
|
|
486
489
|
"json-form": l.value.form ?? [],
|
|
487
490
|
grid: l.value.grid ?? null,
|
|
488
491
|
values: t.value,
|
|
489
492
|
actions: l.value.actions,
|
|
490
|
-
onApplyFilter: a[3] || (a[3] = (
|
|
491
|
-
onFilterFieldsChanged: a[4] || (a[4] = (
|
|
492
|
-
onCancel: a[5] || (a[5] = (
|
|
493
|
+
onApplyFilter: a[3] || (a[3] = (b) => K(b)),
|
|
494
|
+
onFilterFieldsChanged: a[4] || (a[4] = (b) => k("filter-fields-changed", b)),
|
|
495
|
+
onCancel: a[5] || (a[5] = (b) => U.value = !1)
|
|
493
496
|
}, {
|
|
494
|
-
default: p(({ errors:
|
|
495
|
-
|
|
496
|
-
errors:
|
|
497
|
-
values:
|
|
498
|
-
jsonForm:
|
|
499
|
-
updateFilter:
|
|
497
|
+
default: p(({ errors: b, values: te, jsonForm: E, updateForm: J }) => [
|
|
498
|
+
C(e.$slots, "custom-filter-form", {
|
|
499
|
+
errors: b,
|
|
500
|
+
values: te,
|
|
501
|
+
jsonForm: E,
|
|
502
|
+
updateFilter: J
|
|
500
503
|
})
|
|
501
504
|
]),
|
|
502
505
|
_: 3
|
|
503
506
|
}, 8, ["id", "json-form", "grid", "values", "actions"])) : f("", !0)
|
|
504
507
|
]),
|
|
505
508
|
default: p(() => [
|
|
506
|
-
I(
|
|
509
|
+
I(n(je), {
|
|
507
510
|
"is-active": U.value,
|
|
508
511
|
variant: "secondary",
|
|
509
512
|
"left-icon": "filter",
|
|
@@ -514,96 +517,96 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
514
517
|
]),
|
|
515
518
|
_: 3
|
|
516
519
|
}, 8, ["modelValue"])) : f("", !0),
|
|
517
|
-
l.value.columnEdit ? (o(), L(
|
|
520
|
+
l.value.columnEdit ? (o(), L(kl, {
|
|
518
521
|
key: 2,
|
|
519
522
|
options: t.value.columnEdit,
|
|
520
|
-
headers: ((
|
|
523
|
+
headers: ((le = O.value) == null ? void 0 : le.headers) || [],
|
|
521
524
|
"local-key": l.value.columnEdit.localStorageKey,
|
|
522
|
-
onUpdateOrder:
|
|
525
|
+
onUpdateOrder: Qe
|
|
523
526
|
}, null, 8, ["options", "headers", "local-key"])) : f("", !0)
|
|
524
527
|
], 2)) : f("", !0)
|
|
525
528
|
];
|
|
526
529
|
})
|
|
527
530
|
])) : f("", !0),
|
|
528
|
-
I(
|
|
529
|
-
filters:
|
|
531
|
+
I(n(sl), {
|
|
532
|
+
filters: Ne.value,
|
|
530
533
|
queries: N.value,
|
|
531
534
|
class: "border-t border-oc-gray-200",
|
|
532
|
-
onRemoveQuery:
|
|
533
|
-
onRemoveAll:
|
|
534
|
-
onRemoveFilter:
|
|
535
|
+
onRemoveQuery: Ie,
|
|
536
|
+
onRemoveAll: qe,
|
|
537
|
+
onRemoveFilter: Me
|
|
535
538
|
}, null, 8, ["filters", "queries"])
|
|
536
539
|
];
|
|
537
540
|
}),
|
|
538
541
|
key: "0"
|
|
539
542
|
} : void 0,
|
|
540
|
-
|
|
543
|
+
ae((c = O.value) == null ? void 0 : c.headers, (s, T) => ({
|
|
541
544
|
name: s.key,
|
|
542
|
-
fn: p(({ data:
|
|
543
|
-
|
|
544
|
-
data:
|
|
545
|
+
fn: p(({ data: w, item: F }) => [
|
|
546
|
+
C(e.$slots, s.key, {
|
|
547
|
+
data: w,
|
|
545
548
|
item: F
|
|
546
549
|
})
|
|
547
550
|
])
|
|
548
551
|
})),
|
|
549
|
-
|
|
552
|
+
ae((h = O.value) == null ? void 0 : h.headers, (s, T) => ({
|
|
550
553
|
name: `header-${s.key}-tooltip`,
|
|
551
|
-
fn: p(({ data:
|
|
552
|
-
|
|
553
|
-
data:
|
|
554
|
+
fn: p(({ data: w, item: F }) => [
|
|
555
|
+
C(e.$slots, `header-${s.key}-tooltip`, {
|
|
556
|
+
data: w,
|
|
554
557
|
item: F
|
|
555
558
|
})
|
|
556
559
|
])
|
|
557
560
|
})),
|
|
558
|
-
|
|
561
|
+
ae((V = O.value) == null ? void 0 : V.headers, (s, T) => ({
|
|
559
562
|
name: `header-${s.key}-left-tooltip`,
|
|
560
|
-
fn: p(({ data:
|
|
561
|
-
|
|
562
|
-
data:
|
|
563
|
+
fn: p(({ data: w, item: F }) => [
|
|
564
|
+
C(e.$slots, `header-${s.key}-left-tooltip`, {
|
|
565
|
+
data: w,
|
|
563
566
|
item: F
|
|
564
567
|
})
|
|
565
568
|
])
|
|
566
569
|
}))
|
|
567
570
|
]), 1064, ["selected", "row-key", "options", "is-loading", "loading-rows", "row-class", "row-link", "selected-index", "is-sticky", "is-borderless"])) : f("", !0),
|
|
568
|
-
|
|
569
|
-
y.value ||
|
|
571
|
+
C(e.$slots, "before-pagination"),
|
|
572
|
+
y.value || m.value ? (o(), x("div", {
|
|
570
573
|
key: 1,
|
|
571
|
-
class:
|
|
574
|
+
class: ie(["flex items-center gap-3", y.value && y.value.last_page === 1 ? "justify-end" : ""])
|
|
572
575
|
}, [
|
|
573
|
-
y.value && !
|
|
576
|
+
y.value && !v.value ? (o(), L(n(ol), {
|
|
574
577
|
key: 0,
|
|
575
578
|
modelValue: Q.value,
|
|
576
579
|
"onUpdate:modelValue": [
|
|
577
580
|
a[11] || (a[11] = (s) => Q.value = s),
|
|
578
|
-
|
|
581
|
+
Je
|
|
579
582
|
],
|
|
580
583
|
class: "justify-center text-[13px]",
|
|
581
584
|
"max-page": y.value.last_page,
|
|
582
585
|
strategy: y.value.strategy,
|
|
583
586
|
"total-visible": "5"
|
|
584
587
|
}, null, 8, ["modelValue", "max-page", "strategy"])) : f("", !0),
|
|
585
|
-
|
|
586
|
-
I(
|
|
587
|
-
disabled: !
|
|
588
|
-
onClick: a[12] || (a[12] = (s) =>
|
|
588
|
+
m.value ? (o(), x("div", Sl, [
|
|
589
|
+
I(n(Ve), {
|
|
590
|
+
disabled: !m.value.prev,
|
|
591
|
+
onClick: a[12] || (a[12] = (s) => m.value.prev ? K(null, !1, m.value.prev) : null)
|
|
589
592
|
}, null, 8, ["disabled"]),
|
|
590
|
-
I(
|
|
591
|
-
disabled: !
|
|
593
|
+
I(n(Ve), {
|
|
594
|
+
disabled: !m.value.next,
|
|
592
595
|
"is-next": "",
|
|
593
|
-
onClick: a[13] || (a[13] = (s) =>
|
|
596
|
+
onClick: a[13] || (a[13] = (s) => m.value.next ? K(null, !1, m.value.next) : null)
|
|
594
597
|
}, null, 8, ["disabled"])
|
|
595
598
|
])) : f("", !0),
|
|
596
|
-
|
|
597
|
-
I(
|
|
598
|
-
modelValue:
|
|
599
|
+
d.value ? f("", !0) : (o(), x("div", Ol, [
|
|
600
|
+
I(n(ul), {
|
|
601
|
+
modelValue: q.value,
|
|
599
602
|
"onUpdate:modelValue": [
|
|
600
|
-
a[14] || (a[14] = (s) =>
|
|
603
|
+
a[14] || (a[14] = (s) => q.value = s),
|
|
601
604
|
a[15] || (a[15] = (s) => K(null))
|
|
602
605
|
],
|
|
603
606
|
label: "Item per page",
|
|
604
607
|
"is-inline-label": "",
|
|
605
608
|
"popper-options": { placement: "auto" },
|
|
606
|
-
options:
|
|
609
|
+
options: De.value,
|
|
607
610
|
"select-text-class": "!text-[13px]"
|
|
608
611
|
}, null, 8, ["modelValue", "options"])
|
|
609
612
|
]))
|
|
@@ -613,5 +616,5 @@ const vl = { class: "p-5 gap-y-4 text-sm flex w-[250px] flex-col" }, cl = {
|
|
|
613
616
|
}
|
|
614
617
|
};
|
|
615
618
|
export {
|
|
616
|
-
|
|
619
|
+
Tl as default
|
|
617
620
|
};
|