@ianicdev/datatables2 0.12.4 → 0.12.5
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/{Comparison-CkfJ5icH.js → Comparison-BlfHiw2Y.js} +1 -1
- package/dist/{Comparison-BENb-uJ3.cjs → Comparison-RcGzCD7r.cjs} +1 -1
- package/dist/{Datepicker-BBDpZ2Ug.cjs → Datepicker-0BJE3OX_.cjs} +1 -1
- package/dist/{Datepicker-CTyeodki.js → Datepicker-CAquATKE.js} +52 -52
- package/dist/{Options-D8zfAuOx.cjs → Options-BhUy--q_.cjs} +1 -1
- package/dist/{Options-B-D0T3Gk.js → Options-DE0dhSAr.js} +30 -30
- package/dist/{RefreshTable-BVL9SwnI.js → RefreshTable-Bo1hhsMZ.js} +1 -1
- package/dist/{RefreshTable-DRsnuM9T.cjs → RefreshTable-XmffqJPB.cjs} +1 -1
- package/dist/{Search-BJxva4d6.js → Search-J0WJ85wF.js} +3 -3
- package/dist/{Search-fBi-Au7U.cjs → Search-XFnSdwn-.cjs} +1 -1
- package/dist/{Table-2wX7Tfqq.cjs → Table-BS3clvEY.cjs} +1 -1
- package/dist/{Table-Ojm6jON0.js → Table-DFtQtFcJ.js} +7 -7
- package/dist/TableServer-D0ZJ6VUE.cjs +20 -0
- package/dist/TableServer-IjLcUL_g.js +3944 -0
- package/dist/{cellRender-BuZe95It.cjs → cellRender-6nihEq3L.cjs} +1 -1
- package/dist/{cellRender-4CCd97WJ.js → cellRender-uMptaar0.js} +51 -51
- package/dist/{dataTables-DyvnKrlV.js → dataTables-C7H3Cult.js} +52 -51
- package/dist/{dataTables-Bw5aMiJa.cjs → dataTables-C8NYn9Ot.cjs} +3 -3
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.js +1 -1
- package/dist/{index-CHGKfvm9.cjs → index-BDwrihkv.cjs} +1 -1
- package/dist/{index-IPPX7zoe.js → index-BKTw5JWB.js} +10 -10
- package/dist/index-BKb3NFNY.cjs +1 -0
- package/dist/{index-DIDGYVDN.cjs → index-C2K8yzqR.cjs} +1 -1
- package/dist/{index-C3h89vBB.cjs → index-C48GHooD.cjs} +1 -1
- package/dist/{index-CbxPol6H.js → index-C_kbqeia.js} +181 -181
- package/dist/{index-AVaBHSnQ.js → index-DSFlXL5k.js} +5 -5
- package/dist/{index-CkVynD5f.js → index-qYB25tH8.js} +2 -2
- package/dist/{index.es-CK9mjb_K.cjs → index.es-2MQhREvK.cjs} +1 -1
- package/dist/{index.es-BISbMM3V.js → index.es-BFlnZJ5-.js} +1 -1
- package/dist/{jspdf-CEG2zMqe.js → jspdf--k_BCiS7.js} +2 -2
- package/dist/{jspdf-DZiw2wns.cjs → jspdf-Hm0oHFrh.cjs} +2 -2
- package/dist/purify.es-B_jmwKeU.cjs +2 -0
- package/dist/{purify.es-DIxY135m.js → purify.es-CMwH3CPX.js} +114 -114
- package/dist/{useColumns-DQbX0PuE.cjs → useColumns-BiB-zJy_.cjs} +1 -1
- package/dist/{useColumns-BLSMvLMG.js → useColumns-tiuZofah.js} +2 -2
- package/dist/{useDownload-DpS1G0qa.js → useDownload-BbiPuiZP.js} +77 -76
- package/dist/useDownload-mYZxXe0l.cjs +1 -0
- package/package.json +11 -11
- package/dist/TableServer-Blacuprb.js +0 -3946
- package/dist/TableServer-D2MEpid4.cjs +0 -20
- package/dist/index-Cp5mbqY9.cjs +0 -1
- package/dist/purify.es-DSa7RKfV.cjs +0 -2
- package/dist/useDownload-tCiK460H.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as j, inject as Pe, computed as I, toRef as R, shallowRef as ee, watch as se, createVNode as g, normalizeStyle as xe, normalizeClass as re, createElementVNode as b, mergeProps as N, withDirectives as Ue, vShow as _t, Fragment as ce, toDisplayString as Vt, useModel as Pt, openBlock as oe, createBlock as pe, withCtx as Ce, createElementBlock as Ke, renderList as Wt, unref as L, mergeModels as qt, useId as Xe, provide as We, onScopeDispose as rt, nextTick as ke, onBeforeMount as xn, onBeforeUnmount as In, onMounted as at, cloneVNode as wn, watchEffect as zt, toValue as Ut, createTextVNode as kl, defineAsyncComponent as Ee, resolveDynamicComponent as $e, isRef as xt, createCommentVNode as Me, defineComponent as At, useTemplateRef as Sl } from "vue";
|
|
2
2
|
import { defineStore as Cl } from "pinia";
|
|
3
|
-
import { u as Ft, m as Kt, P as Vl, c as Ne, a as _n, e as Pn, r as An, g as ie, b as xl, d as Il, f as It, I as ct, h as de, V as rl, i as Se, j as wl, p as X, k as ye, l as _l, n as Oe, o as Fn, q as he, s as ot, t as Jt, v as qe, w as Xt, x as He, R as lt, y as it, z as Yt, A as Dt, B as Qt, C as gt, D as Dn, E as Ve, F as cl, G as Pl, H as Al, J as Fl, K as Dl, L as Fe, M as nt, N as Tn, O as Tl, Q as yt, S as Bn, T as Zt, U as ht, W as el, X as Le, Y as Tt, Z as bt, _ as tl, $ as Bl, a0 as Rl, a1 as ll, a2 as pt, a3 as El, a4 as Te, a5 as kt, a6 as dt, a7 as Ye, a8 as Ol, a9 as nl, aa as Bt, ab as $l, ac as Ml, ad as Nl, ae as jt, af as Rn, ag as Ll, ah as En, ai as On, aj as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { createSharedComposable as
|
|
3
|
+
import { u as Ft, m as Kt, P as Vl, c as Ne, a as _n, e as Pn, r as An, g as ie, b as xl, d as Il, f as It, I as ct, h as de, V as rl, i as Se, j as wl, p as X, k as ye, l as _l, n as Oe, o as Fn, q as he, s as ot, t as Jt, v as qe, w as Xt, x as He, R as lt, y as it, z as Yt, A as Dt, B as Qt, C as gt, D as Dn, E as Ve, F as cl, G as Pl, H as Al, J as Fl, K as Dl, L as Fe, M as nt, N as Tn, O as Tl, Q as yt, S as Bn, T as Zt, U as ht, W as el, X as Le, Y as Tt, Z as bt, _ as tl, $ as Bl, a0 as Rl, a1 as ll, a2 as pt, a3 as El, a4 as Te, a5 as kt, a6 as dt, a7 as Ye, a8 as Ol, a9 as nl, aa as Bt, ab as $l, ac as Ml, ad as Nl, ae as jt, af as Rn, ag as Ll, ah as En, ai as On, aj as $n, ak as Hl, al as et, am as zl, an as Mn, ao as dl, ap as St, aq as Ul, ar as Nn, as as Ln, at as Kl, au as jl, av as al, aw as vt, ax as Hn, ay as ze, az as Gl, aA as Wl, aB as wt, aC as ql, aD as zn, aE as Un, aF as Kn, aG as jn, aH as Gn, aI as Wn, aJ as vl, aK as qn, aL as Jn, aM as tt, aN as Xn, aO as Yn, aP as Qn, aQ as Zn } from "./dataTables-C7H3Cult.js";
|
|
4
|
+
import { useI18n as ea } from "vue-i18n";
|
|
5
|
+
import { createSharedComposable as ta, useResizeObserver as la } from "@vueuse/core";
|
|
6
6
|
const Rt = Cl("datatables", () => {
|
|
7
7
|
const e = j([]), a = ({ table_id: o }) => {
|
|
8
8
|
const u = e.value.findIndex((r) => r.id === o), d = {
|
|
@@ -80,8 +80,8 @@ function Et() {
|
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
const
|
|
84
|
-
function
|
|
83
|
+
const na = /* @__PURE__ */ Symbol.for("vuetify:goto");
|
|
84
|
+
function aa() {
|
|
85
85
|
return {
|
|
86
86
|
container: void 0,
|
|
87
87
|
duration: 300,
|
|
@@ -91,7 +91,7 @@ function na() {
|
|
|
91
91
|
patterns: Pn
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function oa(e) {
|
|
95
95
|
return ol(e) ?? (document.scrollingElement || document.body);
|
|
96
96
|
}
|
|
97
97
|
function ol(e) {
|
|
@@ -105,7 +105,7 @@ function Nt(e, a, t) {
|
|
|
105
105
|
return l;
|
|
106
106
|
}
|
|
107
107
|
async function fl(e, a, t, n) {
|
|
108
|
-
const l = t ? "scrollLeft" : "scrollTop", i = Kt(n?.options ??
|
|
108
|
+
const l = t ? "scrollLeft" : "scrollTop", i = Kt(n?.options ?? aa(), a), c = n?.rtl.value, o = (typeof e == "number" ? e : ol(e)) ?? 0, u = i.container === "parent" && o instanceof HTMLElement ? o.parentElement : oa(i.container), d = Vl() ? i.patterns.instant : typeof i.easing == "function" ? i.easing : i.patterns[i.easing];
|
|
109
109
|
if (!d) throw new TypeError(`Easing function "${i.easing}" not found.`);
|
|
110
110
|
let r;
|
|
111
111
|
if (typeof o == "number")
|
|
@@ -114,7 +114,7 @@ async function fl(e, a, t, n) {
|
|
|
114
114
|
const h = window.getComputedStyle(o).getPropertyValue("--v-layout-top");
|
|
115
115
|
h && (r -= parseInt(h, 10));
|
|
116
116
|
}
|
|
117
|
-
r += i.offset, r =
|
|
117
|
+
r += i.offset, r = ua(u, r, !!c, !!t);
|
|
118
118
|
const s = u[l] ?? 0;
|
|
119
119
|
if (r === s) return Promise.resolve(r);
|
|
120
120
|
const m = performance.now();
|
|
@@ -127,9 +127,9 @@ async function fl(e, a, t, n) {
|
|
|
127
127
|
requestAnimationFrame(h);
|
|
128
128
|
}));
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function ia() {
|
|
131
131
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
132
|
-
const a = Pe(
|
|
132
|
+
const a = Pe(na), {
|
|
133
133
|
isRtl: t
|
|
134
134
|
} = Ft();
|
|
135
135
|
if (!a) throw new Error("[Vuetify] Could not find injected goto instance");
|
|
@@ -143,7 +143,7 @@ function oa() {
|
|
|
143
143
|
}
|
|
144
144
|
return l.horizontal = async (i, c) => fl(i, Kt(e, c), !0, n), l;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function ua(e, a, t, n) {
|
|
147
147
|
const {
|
|
148
148
|
scrollWidth: l,
|
|
149
149
|
scrollHeight: i
|
|
@@ -151,7 +151,7 @@ function ia(e, a, t, n) {
|
|
|
151
151
|
let u, d;
|
|
152
152
|
return n ? t ? (u = -(l - c), d = 0) : (u = 0, d = l - c) : (u = 0, d = i + -o), Ne(a, u, d);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function sa(e) {
|
|
155
155
|
let {
|
|
156
156
|
selectedElement: a,
|
|
157
157
|
containerElement: t,
|
|
@@ -161,7 +161,7 @@ function ua(e) {
|
|
|
161
161
|
const i = ft(l, t), c = Jl(l, n, t), o = ft(l, a), u = Xl(l, a), d = o * 0.4;
|
|
162
162
|
return c > u ? u - d : c + i < u + o ? u - i + o + d : c;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function ra(e) {
|
|
165
165
|
let {
|
|
166
166
|
selectedElement: a,
|
|
167
167
|
containerElement: t,
|
|
@@ -173,7 +173,7 @@ function sa(e) {
|
|
|
173
173
|
function ml(e, a) {
|
|
174
174
|
return a?.[e ? "scrollWidth" : "scrollHeight"] || 0;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ca(e, a) {
|
|
177
177
|
return a?.[e ? "clientWidth" : "clientHeight"] || 0;
|
|
178
178
|
}
|
|
179
179
|
function Jl(e, a, t) {
|
|
@@ -248,7 +248,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
248
248
|
} = It(), {
|
|
249
249
|
resizeRef: h,
|
|
250
250
|
contentRect: y
|
|
251
|
-
} = It(), V =
|
|
251
|
+
} = It(), V = ia(), _ = I(() => ({
|
|
252
252
|
container: m.el,
|
|
253
253
|
duration: 200,
|
|
254
254
|
easing: "easeOutQuart"
|
|
@@ -271,11 +271,11 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
271
271
|
const F = ee(!1);
|
|
272
272
|
function E(p, f) {
|
|
273
273
|
let A = 0;
|
|
274
|
-
f ? A =
|
|
274
|
+
f ? A = ra({
|
|
275
275
|
containerElement: m.el,
|
|
276
276
|
isHorizontal: s.value,
|
|
277
277
|
selectedElement: p
|
|
278
|
-
}) : A =
|
|
278
|
+
}) : A = sa({
|
|
279
279
|
containerElement: m.el,
|
|
280
280
|
isHorizontal: s.value,
|
|
281
281
|
isRtl: n.value,
|
|
@@ -395,7 +395,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
395
395
|
}
|
|
396
396
|
}), B = I(() => Math.abs(u.value) > 1), O = I(() => {
|
|
397
397
|
if (!m.value || !z.value) return !1;
|
|
398
|
-
const p = ml(s.value, m.el), f =
|
|
398
|
+
const p = ml(s.value, m.el), f = ca(s.value, m.el);
|
|
399
399
|
return p - f - Math.abs(u.value) > 1;
|
|
400
400
|
});
|
|
401
401
|
return de(() => g(e.tag, {
|
|
@@ -451,7 +451,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
451
451
|
hasNext: O
|
|
452
452
|
};
|
|
453
453
|
}
|
|
454
|
-
}), Zl = /* @__PURE__ */ Symbol.for("vuetify:v-chip-group"),
|
|
454
|
+
}), Zl = /* @__PURE__ */ Symbol.for("vuetify:v-chip-group"), da = X({
|
|
455
455
|
baseColor: String,
|
|
456
456
|
column: Boolean,
|
|
457
457
|
filter: Boolean,
|
|
@@ -471,9 +471,9 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
471
471
|
...Xt({
|
|
472
472
|
variant: "tonal"
|
|
473
473
|
})
|
|
474
|
-
}, "VChipGroup"),
|
|
474
|
+
}, "VChipGroup"), va = ie()({
|
|
475
475
|
name: "VChipGroup",
|
|
476
|
-
props:
|
|
476
|
+
props: da(),
|
|
477
477
|
emits: {
|
|
478
478
|
"update:modelValue": (e) => !0
|
|
479
479
|
},
|
|
@@ -516,7 +516,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
516
516
|
});
|
|
517
517
|
}), {};
|
|
518
518
|
}
|
|
519
|
-
}),
|
|
519
|
+
}), fa = X({
|
|
520
520
|
activeClass: String,
|
|
521
521
|
appendAvatar: String,
|
|
522
522
|
appendIcon: ye,
|
|
@@ -578,7 +578,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
578
578
|
directives: {
|
|
579
579
|
vRipple: lt
|
|
580
580
|
},
|
|
581
|
-
props:
|
|
581
|
+
props: fa(),
|
|
582
582
|
emits: {
|
|
583
583
|
"click:close": (e) => !0,
|
|
584
584
|
"update:modelValue": (e) => !0,
|
|
@@ -743,7 +743,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
743
743
|
}), [[lt, _.value && e.ripple, null]]);
|
|
744
744
|
};
|
|
745
745
|
}
|
|
746
|
-
}),
|
|
746
|
+
}), ma = X({
|
|
747
747
|
color: String,
|
|
748
748
|
...el(),
|
|
749
749
|
...he(),
|
|
@@ -756,7 +756,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
756
756
|
...He()
|
|
757
757
|
}, "VSheet"), il = ie()({
|
|
758
758
|
name: "VSheet",
|
|
759
|
-
props:
|
|
759
|
+
props: ma(),
|
|
760
760
|
setup(e, a) {
|
|
761
761
|
let {
|
|
762
762
|
slots: t
|
|
@@ -784,7 +784,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
784
784
|
style: xe([i.value, o.value, d.value, e.style])
|
|
785
785
|
}, t)), {};
|
|
786
786
|
}
|
|
787
|
-
}),
|
|
787
|
+
}), ga = {
|
|
788
788
|
__name: "Selected",
|
|
789
789
|
props: {
|
|
790
790
|
modelValue: {},
|
|
@@ -807,7 +807,7 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
807
807
|
}, o = a;
|
|
808
808
|
return (u, d) => (oe(), pe(il, null, {
|
|
809
809
|
default: Ce(() => [
|
|
810
|
-
g(
|
|
810
|
+
g(va, null, {
|
|
811
811
|
default: Ce(() => [
|
|
812
812
|
(oe(!0), Ke(ce, null, Wt(L(t), (r, s) => (oe(), pe(mt, {
|
|
813
813
|
key: s,
|
|
@@ -825,14 +825,14 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
825
825
|
_: 1
|
|
826
826
|
}));
|
|
827
827
|
}
|
|
828
|
-
},
|
|
828
|
+
}, ya = X({
|
|
829
829
|
text: String,
|
|
830
830
|
onClick: Le(),
|
|
831
831
|
...he(),
|
|
832
832
|
...He()
|
|
833
833
|
}, "VLabel"), en = ie()({
|
|
834
834
|
name: "VLabel",
|
|
835
|
-
props:
|
|
835
|
+
props: ya(),
|
|
836
836
|
setup(e, a) {
|
|
837
837
|
let {
|
|
838
838
|
slots: t
|
|
@@ -879,14 +879,14 @@ const Yl = /* @__PURE__ */ Symbol.for("vuetify:v-slide-group"), Ql = X({
|
|
|
879
879
|
...he(),
|
|
880
880
|
...ht(),
|
|
881
881
|
...He()
|
|
882
|
-
}, "SelectionControlGroup"),
|
|
882
|
+
}, "SelectionControlGroup"), ha = X({
|
|
883
883
|
...ln({
|
|
884
884
|
defaultsTarget: "VSelectionControl"
|
|
885
885
|
})
|
|
886
886
|
}, "VSelectionControlGroup");
|
|
887
887
|
ie()({
|
|
888
888
|
name: "VSelectionControlGroup",
|
|
889
|
-
props:
|
|
889
|
+
props: ha(),
|
|
890
890
|
emits: {
|
|
891
891
|
"update:modelValue": (e) => !0
|
|
892
892
|
},
|
|
@@ -940,7 +940,7 @@ const nn = X({
|
|
|
940
940
|
...he(),
|
|
941
941
|
...ln()
|
|
942
942
|
}, "VSelectionControl");
|
|
943
|
-
function
|
|
943
|
+
function ba(e) {
|
|
944
944
|
const a = Pe(tn, void 0), {
|
|
945
945
|
densityClasses: t
|
|
946
946
|
} = Dt(e), n = Ve(e, "modelValue"), l = I(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), i = I(() => e.falseValue !== void 0 ? e.falseValue : !1), c = I(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), o = I({
|
|
@@ -1002,7 +1002,7 @@ const yl = ie()({
|
|
|
1002
1002
|
backgroundColorClasses: r,
|
|
1003
1003
|
backgroundColorStyles: s,
|
|
1004
1004
|
trueValue: m
|
|
1005
|
-
} =
|
|
1005
|
+
} = ba(e), v = Xe(), h = ee(!1), y = ee(!1), V = j(), _ = R(() => e.id || `input-${v}`), P = R(() => !e.disabled && !e.readonly);
|
|
1006
1006
|
l?.onForceUpdate(() => {
|
|
1007
1007
|
V.value && (V.value.checked = o.value);
|
|
1008
1008
|
});
|
|
@@ -1092,7 +1092,7 @@ const yl = ie()({
|
|
|
1092
1092
|
input: V
|
|
1093
1093
|
};
|
|
1094
1094
|
}
|
|
1095
|
-
}),
|
|
1095
|
+
}), pa = X({
|
|
1096
1096
|
indeterminate: Boolean,
|
|
1097
1097
|
indeterminateIcon: {
|
|
1098
1098
|
type: ye,
|
|
@@ -1104,7 +1104,7 @@ const yl = ie()({
|
|
|
1104
1104
|
})
|
|
1105
1105
|
}, "VCheckboxBtn"), an = ie()({
|
|
1106
1106
|
name: "VCheckboxBtn",
|
|
1107
|
-
props:
|
|
1107
|
+
props: pa(),
|
|
1108
1108
|
emits: {
|
|
1109
1109
|
"update:modelValue": (e) => !0,
|
|
1110
1110
|
"update:indeterminate": (e) => !0
|
|
@@ -1166,7 +1166,7 @@ function Ot(e) {
|
|
|
1166
1166
|
InputIcon: t
|
|
1167
1167
|
};
|
|
1168
1168
|
}
|
|
1169
|
-
const
|
|
1169
|
+
const ka = X({
|
|
1170
1170
|
active: Boolean,
|
|
1171
1171
|
color: String,
|
|
1172
1172
|
messages: {
|
|
@@ -1181,9 +1181,9 @@ const pa = X({
|
|
|
1181
1181
|
group: !0
|
|
1182
1182
|
}
|
|
1183
1183
|
})
|
|
1184
|
-
}, "VMessages"),
|
|
1184
|
+
}, "VMessages"), Sa = ie()({
|
|
1185
1185
|
name: "VMessages",
|
|
1186
|
-
props:
|
|
1186
|
+
props: ka(),
|
|
1187
1187
|
setup(e, a) {
|
|
1188
1188
|
let {
|
|
1189
1189
|
slots: t
|
|
@@ -1228,18 +1228,18 @@ function un(e) {
|
|
|
1228
1228
|
blur: i
|
|
1229
1229
|
};
|
|
1230
1230
|
}
|
|
1231
|
-
const
|
|
1231
|
+
const Ca = /* @__PURE__ */ Symbol.for("vuetify:form");
|
|
1232
1232
|
function $t(e) {
|
|
1233
|
-
const a = Pe(
|
|
1233
|
+
const a = Pe(Ca, null);
|
|
1234
1234
|
return {
|
|
1235
1235
|
...a,
|
|
1236
1236
|
isReadonly: I(() => !!(e?.readonly ?? a?.isReadonly.value)),
|
|
1237
1237
|
isDisabled: I(() => !!(e?.disabled ?? a?.isDisabled.value))
|
|
1238
1238
|
};
|
|
1239
1239
|
}
|
|
1240
|
-
const
|
|
1241
|
-
function
|
|
1242
|
-
const a = Pe(
|
|
1240
|
+
const Va = /* @__PURE__ */ Symbol.for("vuetify:rules");
|
|
1241
|
+
function xa(e) {
|
|
1242
|
+
const a = Pe(Va, null);
|
|
1243
1243
|
if (!e) {
|
|
1244
1244
|
if (!a)
|
|
1245
1245
|
throw new Error("Could not find Vuetify rules injection");
|
|
@@ -1247,7 +1247,7 @@ function Va(e) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
return a?.resolve(e) ?? R(e);
|
|
1249
1249
|
}
|
|
1250
|
-
const
|
|
1250
|
+
const Ia = X({
|
|
1251
1251
|
disabled: {
|
|
1252
1252
|
type: Boolean,
|
|
1253
1253
|
default: null
|
|
@@ -1276,9 +1276,9 @@ const xa = X({
|
|
|
1276
1276
|
validationValue: null,
|
|
1277
1277
|
...on()
|
|
1278
1278
|
}, "validation");
|
|
1279
|
-
function
|
|
1279
|
+
function wa(e) {
|
|
1280
1280
|
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ml(), t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Xe();
|
|
1281
|
-
const n = Ve(e, "modelValue"), l = I(() => e.validationValue === void 0 ? n.value : e.validationValue), i = $t(e), c =
|
|
1281
|
+
const n = Ve(e, "modelValue"), l = I(() => e.validationValue === void 0 ? n.value : e.validationValue), i = $t(e), c = xa(() => e.rules), o = j([]), u = ee(!0), d = I(() => !!(Te(n.value === "" ? null : n.value).length || Te(l.value === "" ? null : l.value).length)), r = I(() => e.errorMessages?.length ? Te(e.errorMessages).concat(o.value).slice(0, Math.max(0, Number(e.maxErrors))) : o.value), s = I(() => {
|
|
1282
1282
|
let F = (e.validateOn ?? i.validateOn?.value) || "input";
|
|
1283
1283
|
F === "lazy" && (F = "input lazy"), F === "eager" && (F = "input eager");
|
|
1284
1284
|
const E = new Set(F?.split(" ") ?? []);
|
|
@@ -1393,7 +1393,7 @@ const sn = X({
|
|
|
1393
1393
|
...ht(),
|
|
1394
1394
|
...Rn(pt(), ["maxWidth", "minWidth", "width"]),
|
|
1395
1395
|
...He(),
|
|
1396
|
-
...
|
|
1396
|
+
...Ia()
|
|
1397
1397
|
}, "VInput"), hl = ie()({
|
|
1398
1398
|
name: "VInput",
|
|
1399
1399
|
props: {
|
|
@@ -1430,7 +1430,7 @@ const sn = X({
|
|
|
1430
1430
|
resetValidation: F,
|
|
1431
1431
|
validate: E,
|
|
1432
1432
|
validationClasses: U
|
|
1433
|
-
} =
|
|
1433
|
+
} = wa(e, "v-input", s), w = I(() => e.errorMessages?.length || !V.value && m.value.length ? m.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages), C = R(() => w.value.length > 0), $ = R(() => !e.hideDetails || e.hideDetails === "auto" && (C.value || !!n.details)), D = I(() => $.value ? `${s.value}-messages` : void 0), G = I(() => ({
|
|
1434
1434
|
id: s,
|
|
1435
1435
|
messagesId: D,
|
|
1436
1436
|
isDirty: v,
|
|
@@ -1478,7 +1478,7 @@ const sn = X({
|
|
|
1478
1478
|
class: "v-input__details",
|
|
1479
1479
|
role: "alert",
|
|
1480
1480
|
"aria-live": "polite"
|
|
1481
|
-
}, [g(
|
|
1481
|
+
}, [g(Sa, {
|
|
1482
1482
|
active: C.value,
|
|
1483
1483
|
messages: w.value
|
|
1484
1484
|
}, {
|
|
@@ -1492,7 +1492,7 @@ const sn = X({
|
|
|
1492
1492
|
errorMessages: m
|
|
1493
1493
|
};
|
|
1494
1494
|
}
|
|
1495
|
-
}),
|
|
1495
|
+
}), _a = X({
|
|
1496
1496
|
active: Boolean,
|
|
1497
1497
|
disabled: Boolean,
|
|
1498
1498
|
max: [Number, String],
|
|
@@ -1506,10 +1506,10 @@ const sn = X({
|
|
|
1506
1506
|
component: $l
|
|
1507
1507
|
}
|
|
1508
1508
|
})
|
|
1509
|
-
}, "VCounter"),
|
|
1509
|
+
}, "VCounter"), Pa = ie()({
|
|
1510
1510
|
name: "VCounter",
|
|
1511
1511
|
functional: !0,
|
|
1512
|
-
props:
|
|
1512
|
+
props: _a(),
|
|
1513
1513
|
setup(e, a) {
|
|
1514
1514
|
let {
|
|
1515
1515
|
slots: t
|
|
@@ -1530,12 +1530,12 @@ const sn = X({
|
|
|
1530
1530
|
}) : n.value]), [[_t, e.active]])]
|
|
1531
1531
|
})), {};
|
|
1532
1532
|
}
|
|
1533
|
-
}),
|
|
1533
|
+
}), Aa = X({
|
|
1534
1534
|
floating: Boolean,
|
|
1535
1535
|
...he()
|
|
1536
1536
|
}, "VFieldLabel"), Ct = ie()({
|
|
1537
1537
|
name: "VFieldLabel",
|
|
1538
|
-
props:
|
|
1538
|
+
props: Aa(),
|
|
1539
1539
|
setup(e, a) {
|
|
1540
1540
|
let {
|
|
1541
1541
|
slots: t
|
|
@@ -1547,7 +1547,7 @@ const sn = X({
|
|
|
1547
1547
|
style: xe(e.style)
|
|
1548
1548
|
}, t)), {};
|
|
1549
1549
|
}
|
|
1550
|
-
}),
|
|
1550
|
+
}), Fa = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], rn = X({
|
|
1551
1551
|
appendInnerIcon: ye,
|
|
1552
1552
|
bgColor: String,
|
|
1553
1553
|
clearable: Boolean,
|
|
@@ -1579,7 +1579,7 @@ const sn = X({
|
|
|
1579
1579
|
variant: {
|
|
1580
1580
|
type: String,
|
|
1581
1581
|
default: "filled",
|
|
1582
|
-
validator: (e) =>
|
|
1582
|
+
validator: (e) => Fa.includes(e)
|
|
1583
1583
|
},
|
|
1584
1584
|
"onClick:clear": Le(),
|
|
1585
1585
|
"onClick:appendInner": Le(),
|
|
@@ -1637,16 +1637,16 @@ const sn = X({
|
|
|
1637
1637
|
if (V.value && !Vl()) {
|
|
1638
1638
|
const fe = F.value.$el, B = E.value.$el;
|
|
1639
1639
|
requestAnimationFrame(() => {
|
|
1640
|
-
const O = En(fe), p = B
|
|
1640
|
+
const O = En(fe), p = new On(B), f = p.x - O.x, A = p.y - O.y - (O.height / 2 - p.height / 2), J = p.width / 0.75, ve = Math.abs(J - O.width) > 1 ? {
|
|
1641
1641
|
maxWidth: et(J)
|
|
1642
1642
|
} : void 0, ge = getComputedStyle(fe), be = getComputedStyle(B), Ie = parseFloat(ge.transitionDuration) * 1e3 || 150, De = parseFloat(be.getPropertyValue("--v-field-label-scale")), je = be.getPropertyValue("color");
|
|
1643
|
-
fe.style.visibility = "visible", B.style.visibility = "hidden",
|
|
1643
|
+
fe.style.visibility = "visible", B.style.visibility = "hidden", $n(fe, {
|
|
1644
1644
|
transform: `translate(${f}px, ${A}px) scale(${De})`,
|
|
1645
1645
|
color: je,
|
|
1646
1646
|
...ve
|
|
1647
1647
|
}, {
|
|
1648
1648
|
duration: Ie,
|
|
1649
|
-
easing:
|
|
1649
|
+
easing: Mn,
|
|
1650
1650
|
direction: z ? "normal" : "reverse"
|
|
1651
1651
|
}).finished.then(() => {
|
|
1652
1652
|
fe.style.removeProperty("visibility"), B.style.removeProperty("visibility");
|
|
@@ -1815,7 +1815,7 @@ const sn = X({
|
|
|
1815
1815
|
fieldIconColor: $
|
|
1816
1816
|
};
|
|
1817
1817
|
}
|
|
1818
|
-
}),
|
|
1818
|
+
}), Da = X({
|
|
1819
1819
|
autocomplete: String
|
|
1820
1820
|
}, "autocomplete");
|
|
1821
1821
|
function cn(e) {
|
|
@@ -1830,7 +1830,7 @@ function cn(e) {
|
|
|
1830
1830
|
update: () => t.value = (/* @__PURE__ */ new Date()).getTime()
|
|
1831
1831
|
};
|
|
1832
1832
|
}
|
|
1833
|
-
function
|
|
1833
|
+
function Ta(e) {
|
|
1834
1834
|
function a(t, n) {
|
|
1835
1835
|
if (!e.autofocus || !t) return;
|
|
1836
1836
|
const l = n[0].target;
|
|
@@ -1840,7 +1840,7 @@ function Da(e) {
|
|
|
1840
1840
|
onIntersect: a
|
|
1841
1841
|
};
|
|
1842
1842
|
}
|
|
1843
|
-
const
|
|
1843
|
+
const Ba = ["color", "file", "time", "date", "datetime-local", "week", "month"], Mt = X({
|
|
1844
1844
|
autofocus: Boolean,
|
|
1845
1845
|
counter: [Boolean, Number, String],
|
|
1846
1846
|
counterValue: [Number, Function],
|
|
@@ -1855,7 +1855,7 @@ const Ta = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
1855
1855
|
default: "text"
|
|
1856
1856
|
},
|
|
1857
1857
|
modelModifiers: Object,
|
|
1858
|
-
...
|
|
1858
|
+
...Da(),
|
|
1859
1859
|
...Ye(sn(), ["direction"]),
|
|
1860
1860
|
...rn()
|
|
1861
1861
|
}, "VTextField"), Je = ie()({
|
|
@@ -1883,11 +1883,11 @@ const Ta = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
1883
1883
|
blur: u
|
|
1884
1884
|
} = un(e), {
|
|
1885
1885
|
onIntersect: d
|
|
1886
|
-
} =
|
|
1886
|
+
} = Ta(e), r = I(() => typeof e.counterValue == "function" ? e.counterValue(i.value) : typeof e.counterValue == "number" ? e.counterValue : (i.value ?? "").toString().length), s = I(() => {
|
|
1887
1887
|
if (t.maxlength) return t.maxlength;
|
|
1888
1888
|
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
|
1889
1889
|
return e.counter;
|
|
1890
|
-
}), m = I(() => ["plain", "underlined"].includes(e.variant)), v = j(), h = j(), y = j(), V = cn(e), _ = I(() =>
|
|
1890
|
+
}), m = I(() => ["plain", "underlined"].includes(e.variant)), v = j(), h = j(), y = j(), V = cn(e), _ = I(() => Ba.includes(e.type) || e.persistentPlaceholder || c.value || e.active);
|
|
1891
1891
|
function P() {
|
|
1892
1892
|
V.isSuppressing.value && V.update(), c.value || o(), ke(() => {
|
|
1893
1893
|
y.value !== document.activeElement && y.value?.focus();
|
|
@@ -2009,7 +2009,7 @@ const Ta = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
2009
2009
|
}
|
|
2010
2010
|
});
|
|
2011
2011
|
},
|
|
2012
|
-
details: C ? (W) => b(ce, null, [l.details?.(W), w && b(ce, null, [b("span", null, null), g(
|
|
2012
|
+
details: C ? (W) => b(ce, null, [l.details?.(W), w && b(ce, null, [b("span", null, null), g(Pa, {
|
|
2013
2013
|
active: e.persistentCounter || c.value,
|
|
2014
2014
|
value: r.value,
|
|
2015
2015
|
max: s.value,
|
|
@@ -2018,13 +2018,13 @@ const Ta = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
2018
2018
|
});
|
|
2019
2019
|
}), St({}, v, h, y);
|
|
2020
2020
|
}
|
|
2021
|
-
}),
|
|
2021
|
+
}), Ra = X({
|
|
2022
2022
|
renderless: Boolean,
|
|
2023
2023
|
...he()
|
|
2024
|
-
}, "VVirtualScrollItem"),
|
|
2024
|
+
}, "VVirtualScrollItem"), Ea = ie()({
|
|
2025
2025
|
name: "VVirtualScrollItem",
|
|
2026
2026
|
inheritAttrs: !1,
|
|
2027
|
-
props:
|
|
2027
|
+
props: Ra(),
|
|
2028
2028
|
emits: {
|
|
2029
2029
|
"update:height": (e) => !0
|
|
2030
2030
|
},
|
|
@@ -2048,7 +2048,7 @@ const Ta = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
2048
2048
|
style: e.style
|
|
2049
2049
|
}, t), [l.default?.()]));
|
|
2050
2050
|
}
|
|
2051
|
-
}),
|
|
2051
|
+
}), Oa = -1, $a = 1, Lt = 100, Ma = X({
|
|
2052
2052
|
itemHeight: {
|
|
2053
2053
|
type: [Number, String],
|
|
2054
2054
|
default: null
|
|
@@ -2059,7 +2059,7 @@ const Ta = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
2059
2059
|
},
|
|
2060
2060
|
height: [Number, String]
|
|
2061
2061
|
}, "virtual");
|
|
2062
|
-
function
|
|
2062
|
+
function Na(e, a) {
|
|
2063
2063
|
const t = xl(), n = ee(0);
|
|
2064
2064
|
zt(() => {
|
|
2065
2065
|
n.value = parseFloat(e.itemHeight || 0);
|
|
@@ -2090,7 +2090,7 @@ function Ma(e, a) {
|
|
|
2090
2090
|
function S(B) {
|
|
2091
2091
|
return y[B] || n.value;
|
|
2092
2092
|
}
|
|
2093
|
-
const F =
|
|
2093
|
+
const F = Nn(() => {
|
|
2094
2094
|
const B = performance.now();
|
|
2095
2095
|
V[0] = 0;
|
|
2096
2096
|
const O = a.value.length;
|
|
@@ -2117,7 +2117,7 @@ function Ma(e, a) {
|
|
|
2117
2117
|
return A + (J - A) * p;
|
|
2118
2118
|
}
|
|
2119
2119
|
function C(B) {
|
|
2120
|
-
return
|
|
2120
|
+
return La(V, B);
|
|
2121
2121
|
}
|
|
2122
2122
|
let $ = 0, D = 0, G = 0;
|
|
2123
2123
|
se(v, (B, O) => {
|
|
@@ -2144,7 +2144,7 @@ function Ma(e, a) {
|
|
|
2144
2144
|
if (
|
|
2145
2145
|
// Only update the side we're scrolling towards,
|
|
2146
2146
|
// the other side will be updated incidentally
|
|
2147
|
-
(O !==
|
|
2147
|
+
(O !== Oa || f < l.value) && (O !== $a || J > i.value)
|
|
2148
2148
|
) {
|
|
2149
2149
|
const ve = w(l.value) - w(f), ge = w(J) - w(i.value);
|
|
2150
2150
|
Math.max(ve, ge) > Lt ? (l.value = f, i.value = J) : (f <= 0 && (l.value = f), J >= a.value.length && (i.value = J));
|
|
@@ -2184,7 +2184,7 @@ function Ma(e, a) {
|
|
|
2184
2184
|
handleItemResize: U
|
|
2185
2185
|
};
|
|
2186
2186
|
}
|
|
2187
|
-
function
|
|
2187
|
+
function La(e, a) {
|
|
2188
2188
|
let t = e.length - 1, n = 0, l = 0, i = null, c = -1;
|
|
2189
2189
|
if (e[t] < a)
|
|
2190
2190
|
return t;
|
|
@@ -2196,18 +2196,18 @@ function Na(e, a) {
|
|
|
2196
2196
|
else return i === a ? l : n;
|
|
2197
2197
|
return c;
|
|
2198
2198
|
}
|
|
2199
|
-
const
|
|
2199
|
+
const Ha = X({
|
|
2200
2200
|
items: {
|
|
2201
2201
|
type: Array,
|
|
2202
2202
|
default: () => []
|
|
2203
2203
|
},
|
|
2204
2204
|
renderless: Boolean,
|
|
2205
|
-
|
|
2205
|
+
...Ma(),
|
|
2206
2206
|
...he(),
|
|
2207
2207
|
...pt()
|
|
2208
2208
|
}, "VVirtualScroll"), dn = ie()({
|
|
2209
2209
|
name: "VVirtualScroll",
|
|
2210
|
-
props:
|
|
2210
|
+
props: Ha(),
|
|
2211
2211
|
setup(e, a) {
|
|
2212
2212
|
let {
|
|
2213
2213
|
slots: t
|
|
@@ -2225,7 +2225,7 @@ const La = X({
|
|
|
2225
2225
|
paddingTop: m,
|
|
2226
2226
|
paddingBottom: v,
|
|
2227
2227
|
computedItems: h
|
|
2228
|
-
} =
|
|
2228
|
+
} = Na(e, R(() => e.items));
|
|
2229
2229
|
return jt(() => e.renderless, () => {
|
|
2230
2230
|
function y() {
|
|
2231
2231
|
const _ = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1) ? "addEventListener" : "removeEventListener";
|
|
@@ -2236,10 +2236,10 @@ const La = X({
|
|
|
2236
2236
|
}), c.value?.[_]("scrollend", d));
|
|
2237
2237
|
}
|
|
2238
2238
|
at(() => {
|
|
2239
|
-
c.value =
|
|
2239
|
+
c.value = Ln(n.vnode.el, !0), y(!0);
|
|
2240
2240
|
}), rt(y);
|
|
2241
2241
|
}), de(() => {
|
|
2242
|
-
const y = h.value.map((V) => g(
|
|
2242
|
+
const y = h.value.map((V) => g(Ea, {
|
|
2243
2243
|
key: V.key,
|
|
2244
2244
|
renderless: e.renderless,
|
|
2245
2245
|
"onUpdate:height": (_) => r(V.index, _)
|
|
@@ -2374,7 +2374,7 @@ function fn(e) {
|
|
|
2374
2374
|
onTabKeydown: i
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
2377
|
-
const
|
|
2377
|
+
const za = (e, a, t) => {
|
|
2378
2378
|
if (e == null || a == null) return -1;
|
|
2379
2379
|
if (!a.length) return 0;
|
|
2380
2380
|
e = e.toString().toLocaleLowerCase(), a = a.toString().toLocaleLowerCase();
|
|
@@ -2398,8 +2398,8 @@ const mn = X({
|
|
|
2398
2398
|
},
|
|
2399
2399
|
noFilter: Boolean
|
|
2400
2400
|
}, "filter");
|
|
2401
|
-
function
|
|
2402
|
-
const n = [], l = t?.default ??
|
|
2401
|
+
function Ua(e, a, t) {
|
|
2402
|
+
const n = [], l = t?.default ?? za, i = t?.filterKeys ? Te(t.filterKeys) : !1, c = Object.keys(t?.customKeyFilter ?? {}).length;
|
|
2403
2403
|
if (!e?.length) return n;
|
|
2404
2404
|
let o = [];
|
|
2405
2405
|
e: for (let u = 0; u < e.length; u++) {
|
|
@@ -2443,7 +2443,7 @@ function za(e, a, t) {
|
|
|
2443
2443
|
function gn(e, a, t, n) {
|
|
2444
2444
|
const l = ee([]), i = ee(/* @__PURE__ */ new Map()), c = I(() => n?.transform ? L(a).map((u) => [u, n.transform(u)]) : L(a));
|
|
2445
2445
|
zt(() => {
|
|
2446
|
-
const u = typeof t == "function" ? t() : L(t), d = typeof u != "string" && typeof u != "number" ? "" : String(u), r =
|
|
2446
|
+
const u = typeof t == "function" ? t() : L(t), d = typeof u != "string" && typeof u != "number" ? "" : String(u), r = Ua(c.value, d, {
|
|
2447
2447
|
customKeyFilter: {
|
|
2448
2448
|
...e.customKeyFilter,
|
|
2449
2449
|
...L(n?.customKeyFilter)
|
|
@@ -2483,7 +2483,7 @@ function yn(e, a, t) {
|
|
|
2483
2483
|
}, [a.slice(n[1])])), b(ce, null, [c]);
|
|
2484
2484
|
});
|
|
2485
2485
|
}
|
|
2486
|
-
const
|
|
2486
|
+
const Ka = X({
|
|
2487
2487
|
closeText: {
|
|
2488
2488
|
type: String,
|
|
2489
2489
|
default: "$vuetify.close"
|
|
@@ -2526,11 +2526,11 @@ const bn = X({
|
|
|
2526
2526
|
openOnClear: Boolean,
|
|
2527
2527
|
itemColor: String,
|
|
2528
2528
|
noAutoScroll: Boolean,
|
|
2529
|
-
...
|
|
2530
|
-
...
|
|
2529
|
+
...Ka(),
|
|
2530
|
+
...zn({
|
|
2531
2531
|
itemChildren: !1
|
|
2532
2532
|
})
|
|
2533
|
-
}, "Select"),
|
|
2533
|
+
}, "Select"), ja = X({
|
|
2534
2534
|
search: String,
|
|
2535
2535
|
...mn({
|
|
2536
2536
|
filterKeys: ["title"]
|
|
@@ -2545,9 +2545,9 @@ const bn = X({
|
|
|
2545
2545
|
component: ql
|
|
2546
2546
|
}
|
|
2547
2547
|
})
|
|
2548
|
-
}, "VSelect"),
|
|
2548
|
+
}, "VSelect"), Do = ie()({
|
|
2549
2549
|
name: "VSelect",
|
|
2550
|
-
props:
|
|
2550
|
+
props: ja(),
|
|
2551
2551
|
emits: {
|
|
2552
2552
|
"update:focused": (e) => !0,
|
|
2553
2553
|
"update:modelValue": (e) => !0,
|
|
@@ -2808,7 +2808,7 @@ const bn = X({
|
|
|
2808
2808
|
index: le,
|
|
2809
2809
|
itemRef: Re
|
|
2810
2810
|
} = M;
|
|
2811
|
-
const ae =
|
|
2811
|
+
const ae = Hn(T.props), Z = N(T.props, {
|
|
2812
2812
|
ref: Re,
|
|
2813
2813
|
key: T.value,
|
|
2814
2814
|
onClick: () => J(T, null),
|
|
@@ -2930,7 +2930,7 @@ const bn = X({
|
|
|
2930
2930
|
select: J
|
|
2931
2931
|
}, l);
|
|
2932
2932
|
}
|
|
2933
|
-
}),
|
|
2933
|
+
}), Ga = X({
|
|
2934
2934
|
autoSelectFirst: {
|
|
2935
2935
|
type: [Boolean, String]
|
|
2936
2936
|
},
|
|
@@ -2944,9 +2944,9 @@ const bn = X({
|
|
|
2944
2944
|
modelValue: null,
|
|
2945
2945
|
role: "combobox"
|
|
2946
2946
|
}), ["validationValue", "dirty"])
|
|
2947
|
-
}, "VAutocomplete"),
|
|
2947
|
+
}, "VAutocomplete"), Wa = ie()({
|
|
2948
2948
|
name: "VAutocomplete",
|
|
2949
|
-
props:
|
|
2949
|
+
props: Ga(),
|
|
2950
2950
|
emits: {
|
|
2951
2951
|
"update:focused": (e) => !0,
|
|
2952
2952
|
"update:search": (e) => !0,
|
|
@@ -3301,7 +3301,7 @@ const bn = X({
|
|
|
3301
3301
|
color: l.value?.fieldIconColor,
|
|
3302
3302
|
icon: e.menuIcon,
|
|
3303
3303
|
onMousedown: be,
|
|
3304
|
-
onClick:
|
|
3304
|
+
onClick: Un,
|
|
3305
3305
|
"aria-hidden": !0,
|
|
3306
3306
|
tabindex: "-1"
|
|
3307
3307
|
}, null) : void 0, e.appendInnerIcon && g(_, {
|
|
@@ -3320,7 +3320,7 @@ const bn = X({
|
|
|
3320
3320
|
select: we
|
|
3321
3321
|
}, l);
|
|
3322
3322
|
}
|
|
3323
|
-
}),
|
|
3323
|
+
}), qa = X({
|
|
3324
3324
|
bordered: Boolean,
|
|
3325
3325
|
color: String,
|
|
3326
3326
|
content: [Number, String],
|
|
@@ -3351,10 +3351,10 @@ const bn = X({
|
|
|
3351
3351
|
transition: "scale-rotate-transition"
|
|
3352
3352
|
}),
|
|
3353
3353
|
...pt()
|
|
3354
|
-
}, "VBadge"),
|
|
3354
|
+
}, "VBadge"), Ja = ie()({
|
|
3355
3355
|
name: "VBadge",
|
|
3356
3356
|
inheritAttrs: !1,
|
|
3357
|
-
props:
|
|
3357
|
+
props: qa(),
|
|
3358
3358
|
setup(e, a) {
|
|
3359
3359
|
const {
|
|
3360
3360
|
backgroundColorClasses: t,
|
|
@@ -3368,13 +3368,13 @@ const bn = X({
|
|
|
3368
3368
|
textColorStyles: o
|
|
3369
3369
|
} = kt(() => e.textColor), {
|
|
3370
3370
|
themeClasses: u
|
|
3371
|
-
} =
|
|
3371
|
+
} = Kn(), {
|
|
3372
3372
|
locationStyles: d
|
|
3373
3373
|
} = tl(e, !0, (s) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(s) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(s) ? Number(e.offsetX ?? 0) : 0)), {
|
|
3374
3374
|
dimensionStyles: r
|
|
3375
3375
|
} = bt(e);
|
|
3376
3376
|
return de(() => {
|
|
3377
|
-
const s = Number(e.content), m = !e.max || isNaN(s) ? e.content : s <= Number(e.max) ? s : `${e.max}+`, [v, h] =
|
|
3377
|
+
const s = Number(e.content), m = !e.max || isNaN(s) ? e.content : s <= Number(e.max) ? s : `${e.max}+`, [v, h] = jn(a.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
|
|
3378
3378
|
return g(e.tag, N({
|
|
3379
3379
|
class: ["v-badge", {
|
|
3380
3380
|
"v-badge--bordered": e.bordered,
|
|
@@ -3404,10 +3404,10 @@ const bn = X({
|
|
|
3404
3404
|
});
|
|
3405
3405
|
}), {};
|
|
3406
3406
|
}
|
|
3407
|
-
}),
|
|
3407
|
+
}), Xa = X({
|
|
3408
3408
|
fullscreen: Boolean,
|
|
3409
3409
|
scrollable: Boolean,
|
|
3410
|
-
...Ye(
|
|
3410
|
+
...Ye(Wn({
|
|
3411
3411
|
captureFocus: !0,
|
|
3412
3412
|
origin: "center center",
|
|
3413
3413
|
scrollStrategy: "block",
|
|
@@ -3419,7 +3419,7 @@ const bn = X({
|
|
|
3419
3419
|
}), ["disableInitialFocus"])
|
|
3420
3420
|
}, "VDialog"), pn = ie()({
|
|
3421
3421
|
name: "VDialog",
|
|
3422
|
-
props:
|
|
3422
|
+
props: Xa(),
|
|
3423
3423
|
emits: {
|
|
3424
3424
|
"update:modelValue": (e) => !0,
|
|
3425
3425
|
afterEnter: () => !0,
|
|
@@ -3432,7 +3432,7 @@ const bn = X({
|
|
|
3432
3432
|
} = a;
|
|
3433
3433
|
const l = Ve(e, "modelValue"), {
|
|
3434
3434
|
scopeId: i
|
|
3435
|
-
} =
|
|
3435
|
+
} = Gn(), c = j();
|
|
3436
3436
|
function o() {
|
|
3437
3437
|
t("afterEnter"), (e.scrim || e.retainFocus) && c.value?.contentEl && !c.value.contentEl.contains(document.activeElement) && c.value.contentEl.focus({
|
|
3438
3438
|
preventScroll: !0
|
|
@@ -3485,12 +3485,12 @@ const bn = X({
|
|
|
3485
3485
|
});
|
|
3486
3486
|
}), St({}, c);
|
|
3487
3487
|
}
|
|
3488
|
-
}),
|
|
3488
|
+
}), Ya = X({
|
|
3489
3489
|
...he(),
|
|
3490
3490
|
...Oe()
|
|
3491
3491
|
}, "VCardActions"), kn = ie()({
|
|
3492
3492
|
name: "VCardActions",
|
|
3493
|
-
props:
|
|
3493
|
+
props: Ya(),
|
|
3494
3494
|
setup(e, a) {
|
|
3495
3495
|
let {
|
|
3496
3496
|
slots: t
|
|
@@ -3505,13 +3505,13 @@ const bn = X({
|
|
|
3505
3505
|
style: xe(e.style)
|
|
3506
3506
|
}, t)), {};
|
|
3507
3507
|
}
|
|
3508
|
-
}),
|
|
3508
|
+
}), Qa = X({
|
|
3509
3509
|
opacity: [Number, String],
|
|
3510
3510
|
...he(),
|
|
3511
3511
|
...Oe()
|
|
3512
|
-
}, "VCardSubtitle"),
|
|
3512
|
+
}, "VCardSubtitle"), Za = ie()({
|
|
3513
3513
|
name: "VCardSubtitle",
|
|
3514
|
-
props:
|
|
3514
|
+
props: Qa(),
|
|
3515
3515
|
setup(e, a) {
|
|
3516
3516
|
let {
|
|
3517
3517
|
slots: t
|
|
@@ -3523,7 +3523,7 @@ const bn = X({
|
|
|
3523
3523
|
}, e.style])
|
|
3524
3524
|
}, t)), {};
|
|
3525
3525
|
}
|
|
3526
|
-
}), ul =
|
|
3526
|
+
}), ul = qn("v-card-title"), eo = X({
|
|
3527
3527
|
appendAvatar: String,
|
|
3528
3528
|
appendIcon: ye,
|
|
3529
3529
|
prependAvatar: String,
|
|
@@ -3539,9 +3539,9 @@ const bn = X({
|
|
|
3539
3539
|
...he(),
|
|
3540
3540
|
...ht(),
|
|
3541
3541
|
...Oe()
|
|
3542
|
-
}, "VCardItem"),
|
|
3542
|
+
}, "VCardItem"), to = ie()({
|
|
3543
3543
|
name: "VCardItem",
|
|
3544
|
-
props:
|
|
3544
|
+
props: eo(),
|
|
3545
3545
|
setup(e, a) {
|
|
3546
3546
|
let {
|
|
3547
3547
|
slots: t
|
|
@@ -3582,7 +3582,7 @@ const bn = X({
|
|
|
3582
3582
|
key: "title"
|
|
3583
3583
|
}, {
|
|
3584
3584
|
default: () => [t.title?.() ?? Vt(e.title)]
|
|
3585
|
-
}), u && g(
|
|
3585
|
+
}), u && g(Za, {
|
|
3586
3586
|
key: "subtitle"
|
|
3587
3587
|
}, {
|
|
3588
3588
|
default: () => [t.subtitle?.() ?? Vt(e.subtitle)]
|
|
@@ -3614,13 +3614,13 @@ const bn = X({
|
|
|
3614
3614
|
});
|
|
3615
3615
|
}), {};
|
|
3616
3616
|
}
|
|
3617
|
-
}),
|
|
3617
|
+
}), lo = X({
|
|
3618
3618
|
opacity: [Number, String],
|
|
3619
3619
|
...he(),
|
|
3620
3620
|
...Oe()
|
|
3621
3621
|
}, "VCardText"), sl = ie()({
|
|
3622
3622
|
name: "VCardText",
|
|
3623
|
-
props:
|
|
3623
|
+
props: lo(),
|
|
3624
3624
|
setup(e, a) {
|
|
3625
3625
|
let {
|
|
3626
3626
|
slots: t
|
|
@@ -3632,7 +3632,7 @@ const bn = X({
|
|
|
3632
3632
|
}, e.style])
|
|
3633
3633
|
}, t)), {};
|
|
3634
3634
|
}
|
|
3635
|
-
}),
|
|
3635
|
+
}), no = X({
|
|
3636
3636
|
appendAvatar: String,
|
|
3637
3637
|
appendIcon: ye,
|
|
3638
3638
|
disabled: Boolean,
|
|
@@ -3681,7 +3681,7 @@ const bn = X({
|
|
|
3681
3681
|
directives: {
|
|
3682
3682
|
vRipple: lt
|
|
3683
3683
|
},
|
|
3684
|
-
props:
|
|
3684
|
+
props: no(),
|
|
3685
3685
|
setup(e, a) {
|
|
3686
3686
|
let {
|
|
3687
3687
|
attrs: t,
|
|
@@ -3741,7 +3741,7 @@ const bn = X({
|
|
|
3741
3741
|
src: e.image
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
|
-
}, n.image) : g(
|
|
3744
|
+
}, n.image) : g(Jn, {
|
|
3745
3745
|
key: "image-img",
|
|
3746
3746
|
cover: !0,
|
|
3747
3747
|
src: e.image
|
|
@@ -3751,7 +3751,7 @@ const bn = X({
|
|
|
3751
3751
|
color: _.value
|
|
3752
3752
|
}, {
|
|
3753
3753
|
default: n.loader
|
|
3754
|
-
}), G && g(
|
|
3754
|
+
}), G && g(to, {
|
|
3755
3755
|
key: "item",
|
|
3756
3756
|
prependAvatar: e.prependAvatar,
|
|
3757
3757
|
prependIcon: e.prependIcon,
|
|
@@ -3775,16 +3775,16 @@ const bn = X({
|
|
|
3775
3775
|
}), [[lt, S && e.ripple]]);
|
|
3776
3776
|
}), {};
|
|
3777
3777
|
}
|
|
3778
|
-
}),
|
|
3779
|
-
function
|
|
3778
|
+
}), ao = 50, oo = 500;
|
|
3779
|
+
function io(e) {
|
|
3780
3780
|
let {
|
|
3781
3781
|
toggleUpDown: a
|
|
3782
3782
|
} = e, t = -1, n = -1;
|
|
3783
3783
|
rt(i);
|
|
3784
3784
|
function l(o) {
|
|
3785
3785
|
i(), c(o), window.addEventListener("pointerup", i), document.addEventListener("blur", i), t = window.setTimeout(() => {
|
|
3786
|
-
n = window.setInterval(() => c(o),
|
|
3787
|
-
},
|
|
3786
|
+
n = window.setInterval(() => c(o), ao);
|
|
3787
|
+
}, oo);
|
|
3788
3788
|
}
|
|
3789
3789
|
function i() {
|
|
3790
3790
|
window.clearTimeout(t), window.clearInterval(n), window.removeEventListener("pointerup", i), document.removeEventListener("blur", i);
|
|
@@ -3798,7 +3798,7 @@ function oo(e) {
|
|
|
3798
3798
|
holdStop: i
|
|
3799
3799
|
};
|
|
3800
3800
|
}
|
|
3801
|
-
const
|
|
3801
|
+
const uo = X({
|
|
3802
3802
|
controlVariant: {
|
|
3803
3803
|
type: String,
|
|
3804
3804
|
default: "default"
|
|
@@ -3834,10 +3834,10 @@ const io = X({
|
|
|
3834
3834
|
validator: (e) => !e || e.length === 1
|
|
3835
3835
|
},
|
|
3836
3836
|
...Ye(Mt(), ["modelValue", "validationValue"])
|
|
3837
|
-
}, "VNumberInput"),
|
|
3837
|
+
}, "VNumberInput"), so = ie()({
|
|
3838
3838
|
name: "VNumberInput",
|
|
3839
3839
|
props: {
|
|
3840
|
-
...
|
|
3840
|
+
...uo()
|
|
3841
3841
|
},
|
|
3842
3842
|
emits: {
|
|
3843
3843
|
"update:focused": (e) => !0,
|
|
@@ -3850,7 +3850,7 @@ const io = X({
|
|
|
3850
3850
|
const n = j(), {
|
|
3851
3851
|
holdStart: l,
|
|
3852
3852
|
holdStop: i
|
|
3853
|
-
} =
|
|
3853
|
+
} = io({
|
|
3854
3854
|
toggleUpDown: G
|
|
3855
3855
|
}), c = $t(e), o = I(() => c.isDisabled.value || c.isReadonly.value), u = ee(e.focused), {
|
|
3856
3856
|
decimalSeparator: d
|
|
@@ -3924,8 +3924,8 @@ const io = X({
|
|
|
3924
3924
|
value: J,
|
|
3925
3925
|
selectionStart: ve,
|
|
3926
3926
|
selectionEnd: ge
|
|
3927
|
-
} = A ?? {}, be = J ? J.slice(0, ve) + f.data + J.slice(ge) : f.data, Ie =
|
|
3928
|
-
if (new RegExp(`^-?\\d*${
|
|
3927
|
+
} = A ?? {}, be = J ? J.slice(0, ve) + f.data + J.slice(ge) : f.data, Ie = Xn(be, e.precision, r.value);
|
|
3928
|
+
if (new RegExp(`^-?\\d*${Yn(r.value)}?\\d*$`).test(be) || (f.preventDefault(), A.value = Ie, ke(() => y.value = Ie)), e.precision != null) {
|
|
3929
3929
|
if (be.split(r.value)[1]?.length > e.precision) {
|
|
3930
3930
|
f.preventDefault(), A.value = Ie, ke(() => y.value = Ie);
|
|
3931
3931
|
const De = (ve ?? 0) + f.data.length;
|
|
@@ -4097,7 +4097,7 @@ const io = X({
|
|
|
4097
4097
|
});
|
|
4098
4098
|
}), St({}, n);
|
|
4099
4099
|
}
|
|
4100
|
-
}),
|
|
4100
|
+
}), ro = { class: "text-medium-emphasis ps-2" }, co = ["id"], vo = {
|
|
4101
4101
|
__name: "index",
|
|
4102
4102
|
props: {
|
|
4103
4103
|
modelValue: {},
|
|
@@ -4107,13 +4107,13 @@ const io = X({
|
|
|
4107
4107
|
setup(e, { emit: a }) {
|
|
4108
4108
|
const t = Pe("table_props"), n = Pe("datatablesPluginOptions"), l = Pt(e, "modelValue"), i = a, c = {
|
|
4109
4109
|
textfield: Je,
|
|
4110
|
-
select:
|
|
4111
|
-
number:
|
|
4110
|
+
select: Wa,
|
|
4111
|
+
number: so,
|
|
4112
4112
|
datepicker: Ee(
|
|
4113
|
-
() => import("./Datepicker-
|
|
4113
|
+
() => import("./Datepicker-CAquATKE.js")
|
|
4114
4114
|
),
|
|
4115
4115
|
comparison: Ee(
|
|
4116
|
-
() => import("./Comparison-
|
|
4116
|
+
() => import("./Comparison-BlfHiw2Y.js")
|
|
4117
4117
|
)
|
|
4118
4118
|
}, o = I(() => t.headers.filter((d) => d.advancedFilter !== !1 && !d.hidden)), u = (d) => d ? typeof d == "string" ? c[d] : d : c.textfield;
|
|
4119
4119
|
return se(
|
|
@@ -4134,7 +4134,7 @@ const io = X({
|
|
|
4134
4134
|
default: Ce(() => [
|
|
4135
4135
|
g(ul, { class: "d-flex justify-space-between align-center" }, {
|
|
4136
4136
|
default: Ce(() => [
|
|
4137
|
-
b("div",
|
|
4137
|
+
b("div", ro, Vt(d.$t("$datatables.advancedFilters")), 1),
|
|
4138
4138
|
g(tt, {
|
|
4139
4139
|
icon: L(n).header.icons.close,
|
|
4140
4140
|
variant: "text",
|
|
@@ -4161,7 +4161,7 @@ const io = X({
|
|
|
4161
4161
|
variant: "underlined",
|
|
4162
4162
|
clearable: ""
|
|
4163
4163
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "comparison", "onUpdate:comparison", "label"]))
|
|
4164
|
-
], 10,
|
|
4164
|
+
], 10, co))), 128))
|
|
4165
4165
|
]),
|
|
4166
4166
|
_: 1
|
|
4167
4167
|
}),
|
|
@@ -4216,7 +4216,7 @@ function Gt(e, a) {
|
|
|
4216
4216
|
}
|
|
4217
4217
|
return !1;
|
|
4218
4218
|
}
|
|
4219
|
-
const
|
|
4219
|
+
const fo = {
|
|
4220
4220
|
__name: "Dialog",
|
|
4221
4221
|
props: {
|
|
4222
4222
|
modelValue: { required: !0 },
|
|
@@ -4238,7 +4238,7 @@ const vo = {
|
|
|
4238
4238
|
return at(() => {
|
|
4239
4239
|
i.value = pl(t.value);
|
|
4240
4240
|
}), (d, r) => {
|
|
4241
|
-
const s =
|
|
4241
|
+
const s = vo, m = ga;
|
|
4242
4242
|
return oe(), Ke("div", null, [
|
|
4243
4243
|
g(pn, {
|
|
4244
4244
|
modelValue: l.value,
|
|
@@ -4266,8 +4266,8 @@ const vo = {
|
|
|
4266
4266
|
};
|
|
4267
4267
|
}
|
|
4268
4268
|
};
|
|
4269
|
-
function
|
|
4270
|
-
const e = Pe("datatablesPluginOptions"), { t: a } =
|
|
4269
|
+
function mo() {
|
|
4270
|
+
const e = Pe("datatablesPluginOptions"), { t: a } = ea(), { advancedFiltersState: t } = Et(), n = j(!1), l = I(() => Object.keys(t.value).length);
|
|
4271
4271
|
return { advancedFiltersItems: I(() => [
|
|
4272
4272
|
{
|
|
4273
4273
|
title: `${a("$datatables.advancedFilters")}`,
|
|
@@ -4276,16 +4276,16 @@ function fo() {
|
|
|
4276
4276
|
}
|
|
4277
4277
|
]), advancedFiltersDialog: n, activeAdvancedFilters: l };
|
|
4278
4278
|
}
|
|
4279
|
-
const
|
|
4279
|
+
const go = {
|
|
4280
4280
|
class: "d-flex align-center",
|
|
4281
4281
|
style: { gap: "0.5rem" }
|
|
4282
|
-
},
|
|
4282
|
+
}, yo = /* @__PURE__ */ At({
|
|
4283
4283
|
__name: "index",
|
|
4284
4284
|
setup(e) {
|
|
4285
|
-
const { advancedFiltersItems: a, advancedFiltersDialog: t, activeAdvancedFilters: n } =
|
|
4285
|
+
const { advancedFiltersItems: a, advancedFiltersDialog: t, activeAdvancedFilters: n } = mo();
|
|
4286
4286
|
return (l, i) => {
|
|
4287
|
-
const c =
|
|
4288
|
-
return oe(), Ke("div",
|
|
4287
|
+
const c = fo;
|
|
4288
|
+
return oe(), Ke("div", go, [
|
|
4289
4289
|
(oe(!0), Ke(ce, null, Wt(L(a), (o, u) => (oe(), pe(tt, N({
|
|
4290
4290
|
key: u,
|
|
4291
4291
|
icon: "",
|
|
@@ -4294,7 +4294,7 @@ const mo = {
|
|
|
4294
4294
|
density: "comfortable"
|
|
4295
4295
|
}, { ref_for: !0 }, o), {
|
|
4296
4296
|
default: Ce(() => [
|
|
4297
|
-
L(n) ? (oe(), pe(
|
|
4297
|
+
L(n) ? (oe(), pe(Ja, {
|
|
4298
4298
|
key: 0,
|
|
4299
4299
|
color: "primary",
|
|
4300
4300
|
content: L(n)
|
|
@@ -4319,26 +4319,26 @@ const mo = {
|
|
|
4319
4319
|
]);
|
|
4320
4320
|
};
|
|
4321
4321
|
}
|
|
4322
|
-
}),
|
|
4322
|
+
}), ho = {
|
|
4323
4323
|
class: "d-flex align-center",
|
|
4324
4324
|
style: { gap: "0.75rem" }
|
|
4325
|
-
},
|
|
4325
|
+
}, bo = { class: "ms-auto" }, po = /* @__PURE__ */ At({
|
|
4326
4326
|
__name: "index",
|
|
4327
4327
|
props: {
|
|
4328
4328
|
responsiveHeader: { type: Boolean }
|
|
4329
4329
|
},
|
|
4330
4330
|
setup(e) {
|
|
4331
|
-
const a = Ee(() => import("./Search-
|
|
4331
|
+
const a = Ee(() => import("./Search-J0WJ85wF.js")), t = Ee(() => import("./RefreshTable-Bo1hhsMZ.js")), n = Ee(() => import("./Options-DE0dhSAr.js")), l = Ee(() => import("./index-DSFlXL5k.js")), i = Ee(() => import("./index-qYB25tH8.js")), c = Ee(() => import("./index-BKTw5JWB.js")), o = Pe("table_props"), u = j(null), d = o.options?.header?.components ?? {};
|
|
4332
4332
|
return (r, s) => {
|
|
4333
|
-
const m =
|
|
4334
|
-
return oe(), Ke("div",
|
|
4333
|
+
const m = yo;
|
|
4334
|
+
return oe(), Ke("div", ho, [
|
|
4335
4335
|
e.responsiveHeader ? Me("", !0) : (oe(), pe(m, { key: 0 })),
|
|
4336
4336
|
L(o).hardFilters.length ? (oe(), pe($e(L(d).hardFilters ?? L(l)), {
|
|
4337
4337
|
key: 1,
|
|
4338
4338
|
id: "header-hardFilters"
|
|
4339
4339
|
})) : Me("", !0),
|
|
4340
4340
|
(oe(), pe($e(L(d).toolbar), { id: "header-toolbar" })),
|
|
4341
|
-
b("div",
|
|
4341
|
+
b("div", bo, [
|
|
4342
4342
|
(oe(), pe($e(L(d).search ?? L(a)), { id: "header-search" })),
|
|
4343
4343
|
e.responsiveHeader ? Me("", !0) : (oe(), pe($e(L(d).columns ?? L(i)), {
|
|
4344
4344
|
key: 0,
|
|
@@ -4352,7 +4352,7 @@ const mo = {
|
|
|
4352
4352
|
};
|
|
4353
4353
|
}
|
|
4354
4354
|
});
|
|
4355
|
-
function
|
|
4355
|
+
function ko(e) {
|
|
4356
4356
|
const a = Rt(), { getCurrentTable: t, setTableHash: n, hashString: l } = a, i = j(!1), c = 5, o = I(() => t(e.id));
|
|
4357
4357
|
se(
|
|
4358
4358
|
o,
|
|
@@ -4391,7 +4391,7 @@ function po(e) {
|
|
|
4391
4391
|
}
|
|
4392
4392
|
};
|
|
4393
4393
|
}
|
|
4394
|
-
const Cn =
|
|
4394
|
+
const Cn = ta(() => {
|
|
4395
4395
|
const e = ee({}), a = ee({});
|
|
4396
4396
|
return {
|
|
4397
4397
|
storeOptions: {
|
|
@@ -4405,10 +4405,10 @@ const Cn = ea(() => {
|
|
|
4405
4405
|
l && (e.value = l), i && (a.value = i);
|
|
4406
4406
|
}
|
|
4407
4407
|
};
|
|
4408
|
-
}),
|
|
4408
|
+
}), So = {
|
|
4409
4409
|
key: 0,
|
|
4410
4410
|
class: "datatables-v2"
|
|
4411
|
-
},
|
|
4411
|
+
}, Co = { class: "pe-4" }, Vo = /* @__PURE__ */ At({
|
|
4412
4412
|
__name: "Blueprint",
|
|
4413
4413
|
props: {
|
|
4414
4414
|
modelValue: {},
|
|
@@ -4416,8 +4416,8 @@ const Cn = ea(() => {
|
|
|
4416
4416
|
},
|
|
4417
4417
|
emits: /* @__PURE__ */ qt(["refreshTable", "refetchData", "advancedFilters:update", "hardFilters:update"], ["update:modelValue"]),
|
|
4418
4418
|
setup(e, { expose: a, emit: t }) {
|
|
4419
|
-
const n = Ee(() => import("./Table-
|
|
4420
|
-
|
|
4419
|
+
const n = Ee(() => import("./Table-DFtQtFcJ.js")), l = Ee(() => import("./TableServer-IjLcUL_g.js")), { storeOptions: i } = Cn(), { saveTableOptions: c } = Et(), o = Pt(e, "modelValue"), u = Pe("table_props"), d = Pe("datatablesPluginOptions"), r = Sl("tableRef"), s = j(!1), m = j(!1), v = j(!1), h = t, y = Rt(), { dataStateGet: V, tableDataState: _, checkTableState: P } = ko(u), { addTable: S, restoreData: F } = y, E = j(!1);
|
|
4420
|
+
la(r, (w) => {
|
|
4421
4421
|
const C = w[0], { width: $ } = C.contentRect;
|
|
4422
4422
|
E.value = $ < 950;
|
|
4423
4423
|
});
|
|
@@ -4430,10 +4430,10 @@ const Cn = ea(() => {
|
|
|
4430
4430
|
const w = V();
|
|
4431
4431
|
w && F({ table_id: u.id, data: w });
|
|
4432
4432
|
const $ = _.value.options.columns;
|
|
4433
|
-
$.sorted?.length || ($.selected?.length || ($.selected = u.headers.filter((D) => !D.hidden).map((D) => D.key)), $.sorted = u.headers.map((D) => D.key)), c(
|
|
4433
|
+
$.sorted?.length || ($.selected?.length || ($.selected = u.headers.filter((D) => !D.hidden).map((D) => D.key)), $.sorted = u.headers.map((D) => D.key)), c(Qn(i.state.value, _.value.options.state)), m.value = !0, await ke(), v.value = !0;
|
|
4434
4434
|
}), We("busEmits", h), We("tableRef", r), We("tableState", _), We("downloadModal", s), a({ tableRef: r }), (w, C) => {
|
|
4435
|
-
const $ =
|
|
4436
|
-
return L(m) ? (oe(), Ke("div",
|
|
4435
|
+
const $ = po;
|
|
4436
|
+
return L(m) ? (oe(), Ke("div", So, [
|
|
4437
4437
|
g(Sn, null, {
|
|
4438
4438
|
default: Ce(() => [
|
|
4439
4439
|
L(U) ? (oe(), pe(ul, { key: 0 }, {
|
|
@@ -4476,7 +4476,7 @@ const Cn = ea(() => {
|
|
|
4476
4476
|
title: w.$t("$datatables.preparing_download_file")
|
|
4477
4477
|
}, {
|
|
4478
4478
|
prepend: Ce(() => [
|
|
4479
|
-
b("div",
|
|
4479
|
+
b("div", Co, [
|
|
4480
4480
|
g(Se, {
|
|
4481
4481
|
color: "primary",
|
|
4482
4482
|
size: "x-large"
|
|
@@ -4484,7 +4484,7 @@ const Cn = ea(() => {
|
|
|
4484
4484
|
])
|
|
4485
4485
|
]),
|
|
4486
4486
|
append: Ce(() => [
|
|
4487
|
-
g(
|
|
4487
|
+
g(Zn, {
|
|
4488
4488
|
color: "primary",
|
|
4489
4489
|
indeterminate: "disable-shrink",
|
|
4490
4490
|
size: "16",
|
|
@@ -4502,7 +4502,7 @@ const Cn = ea(() => {
|
|
|
4502
4502
|
])) : Me("", !0);
|
|
4503
4503
|
};
|
|
4504
4504
|
}
|
|
4505
|
-
}),
|
|
4505
|
+
}), xo = Cl("datatablesHooks", () => {
|
|
4506
4506
|
const e = j({});
|
|
4507
4507
|
return {
|
|
4508
4508
|
hooks: e,
|
|
@@ -4513,7 +4513,7 @@ const Cn = ea(() => {
|
|
|
4513
4513
|
e.value.hasOwnProperty(n) && e.value[n](l);
|
|
4514
4514
|
}
|
|
4515
4515
|
};
|
|
4516
|
-
}),
|
|
4516
|
+
}), Io = /* @__PURE__ */ At({
|
|
4517
4517
|
__name: "index",
|
|
4518
4518
|
props: {
|
|
4519
4519
|
id: {
|
|
@@ -4560,13 +4560,13 @@ const Cn = ea(() => {
|
|
|
4560
4560
|
},
|
|
4561
4561
|
emits: ["refreshTable", "refetchData"],
|
|
4562
4562
|
setup(e, { expose: a, emit: t }) {
|
|
4563
|
-
const n = e, { triggerHook: l } =
|
|
4563
|
+
const n = e, { triggerHook: l } = xo(), { storeOptions: i, setUserOptions: c } = Cn(), o = Sl("table"), u = j(0), d = async (m = {}) => {
|
|
4564
4564
|
c(m), u.value < 99 && (s("refreshTable"), await ke(), u.value++);
|
|
4565
4565
|
}, r = async (m = {}) => {
|
|
4566
4566
|
await ke(), !(!o.value || !o.value?.tableRef) && (c(m), "reloadItems" in o.value.tableRef && (o.value.tableRef.reloadItems(i.state.value), s("refetchData")));
|
|
4567
4567
|
}, s = t;
|
|
4568
4568
|
return a({ refreshTable: d, refetchData: r, triggerHook: l }), We("table_props", n), We("triggerHook", l), (m, v) => {
|
|
4569
|
-
const h =
|
|
4569
|
+
const h = Vo;
|
|
4570
4570
|
return oe(), pe(h, {
|
|
4571
4571
|
id: e.id,
|
|
4572
4572
|
ref_key: "table",
|
|
@@ -4577,17 +4577,17 @@ const Cn = ea(() => {
|
|
|
4577
4577
|
}, null, 8, ["id"]);
|
|
4578
4578
|
};
|
|
4579
4579
|
}
|
|
4580
|
-
}),
|
|
4580
|
+
}), To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4581
4581
|
__proto__: null,
|
|
4582
|
-
default:
|
|
4582
|
+
default: Io
|
|
4583
4583
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4584
4584
|
export {
|
|
4585
4585
|
Mt as A,
|
|
4586
4586
|
on as B,
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4587
|
+
so as C,
|
|
4588
|
+
To as D,
|
|
4589
|
+
Do as V,
|
|
4590
|
+
fo as _,
|
|
4591
4591
|
Gt as a,
|
|
4592
4592
|
mt as b,
|
|
4593
4593
|
an as c,
|
|
@@ -4601,17 +4601,17 @@ export {
|
|
|
4601
4601
|
ul as k,
|
|
4602
4602
|
kn as l,
|
|
4603
4603
|
mn as m,
|
|
4604
|
-
|
|
4605
|
-
|
|
4604
|
+
mo as n,
|
|
4605
|
+
xo as o,
|
|
4606
4606
|
il as p,
|
|
4607
|
-
|
|
4607
|
+
va as q,
|
|
4608
4608
|
un as r,
|
|
4609
|
-
|
|
4609
|
+
pa as s,
|
|
4610
4610
|
sn as t,
|
|
4611
4611
|
Et as u,
|
|
4612
4612
|
hl as v,
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4613
|
+
ko as w,
|
|
4614
|
+
ma as x,
|
|
4615
|
+
Ja as y,
|
|
4616
4616
|
Ot as z
|
|
4617
4617
|
};
|