rtcpts 0.0.77 → 0.0.79
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/components/j-c-more-menu/types.d.ts +9 -6
- package/dist/components/j-c-platform/index.d.ts +3 -0
- package/dist/components/j-c-platform/types.d.ts +5 -0
- package/dist/components/j-c-table/types.d.ts +22 -4
- package/dist/components/j-c-tabs/types.d.ts +19 -14
- package/dist/components/j-q-dialog/prompt-content.d.ts +51 -72
- package/dist/components/j-q-new-value/types.d.ts +3 -6
- package/dist/components/j-q-select/index.d.ts +13 -20
- package/dist/components/j-q-select/types.d.ts +5 -5
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +326 -316
- package/package.json +99 -99
package/dist/rtcpt.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as F, ref as $, computed as N, resolveComponent as D, createBlock as Y, openBlock as
|
|
1
|
+
import { defineComponent as F, ref as $, computed as N, resolveComponent as D, createBlock as Y, openBlock as y, createElementBlock as z, createCommentVNode as q, Fragment as K, renderList as ie, normalizeClass as U, createElementVNode as j, renderSlot as R, createVNode as S, inject as at, toDisplayString as V, normalizeStyle as X, createTextVNode as ee, useSlots as dl, useAttrs as fl, getCurrentInstance as co, watch as H, nextTick as ye, onBeforeUnmount as Cn, Text as pl, cloneVNode as ml, h as Yt, Teleport as gl, Transition as Wt, Comment as yl, withCtx as A, mergeProps as Ae, createSlots as Ge, resolveDirective as Ct, withDirectives as ge, vShow as Ie, Suspense as Ml, resolveDynamicComponent as fn, toHandlers as hl, onMounted as st, normalizeProps as qe, guardReactiveProps as Fe, withModifiers as re, withKeys as fo, createApp as Il, onUnmounted as vl, vModelText as bl, reactive as ot, toRef as _n, isRef as xn } from "vue";
|
|
2
2
|
import { QIcon as se, copyToClipboard as Dl, QBtn as Se, QCardActions as Al, QCardSection as _e, QCard as xe, QPopupProxy as ke, ClosePopup as Ht, QInnerLoading as Nn, QDialog as po, QInput as wn, QItemSection as Jt, QItem as Nt, QSpinner as Cl, QSelect as wt, QList as jt, QMenu as jn, QTooltip as Nl, QTree as mo, QField as Le, QItemLabel as wl, QBtnDropdown as jl, QCheckbox as go, QDate as yo, date as te, QOptionGroup as Sl, QPagination as Tl, QTd as zl, QTh as kl, QTable as Ll, useDialogPluginComponent as $l, setCssVar as yt } from "quasar";
|
|
3
3
|
import { _ as W } from "./charts-DKkEg_xR.js";
|
|
4
4
|
import { i as Wg, a as Hg, b as Jg, c as Gg, d as _g, e as xg } from "./charts-DKkEg_xR.js";
|
|
@@ -40,7 +40,7 @@ const Ol = F({
|
|
|
40
40
|
});
|
|
41
41
|
function El(e, t, n, o, l, i) {
|
|
42
42
|
const a = D("q-icon");
|
|
43
|
-
return
|
|
43
|
+
return y(), Y(a, {
|
|
44
44
|
name: e.iconName,
|
|
45
45
|
size: "16px",
|
|
46
46
|
color: e.iconColor,
|
|
@@ -167,8 +167,8 @@ const Ul = F({
|
|
|
167
167
|
};
|
|
168
168
|
function Wl(e, t, n, o, l, i) {
|
|
169
169
|
const a = D("q-btn"), r = D("j-q-button");
|
|
170
|
-
return
|
|
171
|
-
(
|
|
170
|
+
return y(), z("div", null, [
|
|
171
|
+
(y(!0), z(K, null, ie(e.innerValue, (s, c) => (y(), z("div", {
|
|
172
172
|
key: e.getKey(s, c),
|
|
173
173
|
class: U(["q-mb-md list-item-row relative-position", { "compact-item": e.actionMode === "compact" }])
|
|
174
174
|
}, [
|
|
@@ -185,7 +185,7 @@ function Wl(e, t, n, o, l, i) {
|
|
|
185
185
|
mode: e.actionMode
|
|
186
186
|
})
|
|
187
187
|
]),
|
|
188
|
-
e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (
|
|
188
|
+
e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (y(), z("div", Zl, [
|
|
189
189
|
S(a, {
|
|
190
190
|
icon: "close",
|
|
191
191
|
flat: "",
|
|
@@ -197,13 +197,13 @@ function Wl(e, t, n, o, l, i) {
|
|
|
197
197
|
}, null, 8, ["onClick"])
|
|
198
198
|
])) : q("", !0)
|
|
199
199
|
], 2))), 128)),
|
|
200
|
-
e.actionMode === "compact" ? (
|
|
200
|
+
e.actionMode === "compact" ? (y(), z("div", Fl, [
|
|
201
201
|
R(e.$slots, "list-footer-actions", {
|
|
202
202
|
addItem: e.addItem,
|
|
203
203
|
canAdd: e.innerValue.length < e.maxItems && e.showAddButton,
|
|
204
204
|
nextIndex: e.innerValue.length
|
|
205
205
|
}, () => [
|
|
206
|
-
e.innerValue.length < e.maxItems && e.showAddButton ? (
|
|
206
|
+
e.innerValue.length < e.maxItems && e.showAddButton ? (y(), Y(r, {
|
|
207
207
|
key: 0,
|
|
208
208
|
label: e.t("action.addNewItem"),
|
|
209
209
|
type: "primary",
|
|
@@ -266,8 +266,8 @@ const cg = /* @__PURE__ */ W(Ul, [["render", Wl]]), St = Symbol("pageActionPermi
|
|
|
266
266
|
}
|
|
267
267
|
}), Jl = { key: 0 };
|
|
268
268
|
function Gl(e, t, n, o, l, i) {
|
|
269
|
-
return e.hasPermission ? R(e.$slots, "default", { key: 0 }) : (
|
|
270
|
-
e.rmDom ? q("", !0) : (
|
|
269
|
+
return e.hasPermission ? R(e.$slots, "default", { key: 0 }) : (y(), z(K, { key: 1 }, [
|
|
270
|
+
e.rmDom ? q("", !0) : (y(), z("span", Jl, V(e.defaultContent), 1))
|
|
271
271
|
], 64));
|
|
272
272
|
}
|
|
273
273
|
const Io = /* @__PURE__ */ W(Hl, [["render", Gl]]), it = Math.min, We = Math.max, Rt = Math.round, Vt = Math.floor, we = (e) => ({
|
|
@@ -486,8 +486,8 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
486
486
|
y: d
|
|
487
487
|
} = eo(c, o, s), f = o, p = 0;
|
|
488
488
|
const m = {};
|
|
489
|
-
for (let
|
|
490
|
-
const g = i[
|
|
489
|
+
for (let M = 0; M < i.length; M++) {
|
|
490
|
+
const g = i[M];
|
|
491
491
|
if (!g)
|
|
492
492
|
continue;
|
|
493
493
|
const {
|
|
@@ -522,7 +522,7 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
522
522
|
}) : h.rects), {
|
|
523
523
|
x: u,
|
|
524
524
|
y: d
|
|
525
|
-
} = eo(c, f, s)),
|
|
525
|
+
} = eo(c, f, s)), M = -1);
|
|
526
526
|
}
|
|
527
527
|
return {
|
|
528
528
|
x: u,
|
|
@@ -552,10 +552,10 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
552
552
|
const d = bo(u), f = {
|
|
553
553
|
x: n,
|
|
554
554
|
y: o
|
|
555
|
-
}, p = kn(l), m = zn(p),
|
|
555
|
+
}, p = kn(l), m = zn(p), M = await a.getDimensions(c), g = p === "y", C = g ? "top" : "left", T = g ? "bottom" : "right", k = g ? "clientHeight" : "clientWidth", w = i.reference[m] + i.reference[p] - f[p] - i.floating[m], v = f[p] - i.reference[p], h = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
|
|
556
556
|
let I = h ? h[k] : 0;
|
|
557
557
|
(!I || !await (a.isElement == null ? void 0 : a.isElement(h))) && (I = r.floating[k] || i.floating[m]);
|
|
558
|
-
const b = w / 2 - v / 2, O = I / 2 -
|
|
558
|
+
const b = w / 2 - v / 2, O = I / 2 - M[m] / 2 - 1, B = it(d[C], O), J = it(d[T], O), oe = B, de = I - M[m] - J, ne = I / 2 - M[m] / 2 + b, ue = yn(oe, ne, de), fe = !s.arrow && kt(l) != null && ne !== ue && i.reference[m] / 2 - (ne < oe ? B : J) - M[m] / 2 < 0, pe = fe ? ne < oe ? ne - oe : ne - de : 0;
|
|
559
559
|
return {
|
|
560
560
|
[p]: f[p] + pe,
|
|
561
561
|
data: {
|
|
@@ -587,13 +587,13 @@ const aa = 50, ia = async (e, t, n) => {
|
|
|
587
587
|
fallbackPlacements: f,
|
|
588
588
|
fallbackStrategy: p = "bestFit",
|
|
589
589
|
fallbackAxisSideDirection: m = "none",
|
|
590
|
-
flipAlignment:
|
|
590
|
+
flipAlignment: M = !0,
|
|
591
591
|
...g
|
|
592
592
|
} = zt(e, t);
|
|
593
593
|
if ((n = i.arrow) != null && n.alignmentOffset)
|
|
594
594
|
return {};
|
|
595
|
-
const C = He(l), T = Ye(r), k = He(r) === r, w = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), v = f || (k || !
|
|
596
|
-
!f && h && v.push(...na(r,
|
|
595
|
+
const C = He(l), T = Ye(r), k = He(r) === r, w = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), v = f || (k || !M ? [Qt(r)] : Kl(r)), h = m !== "none";
|
|
596
|
+
!f && h && v.push(...na(r, M, m, w));
|
|
597
597
|
const I = [r, ...v], b = await s.detectOverflow(t, g), O = [];
|
|
598
598
|
let B = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
599
599
|
if (u && O.push(b[C]), d) {
|
|
@@ -729,19 +729,19 @@ const da = function(e) {
|
|
|
729
729
|
x: n,
|
|
730
730
|
y: o
|
|
731
731
|
}, d = await i.detectOverflow(t, c), f = Ye(He(l)), p = vo(f);
|
|
732
|
-
let m = u[p],
|
|
732
|
+
let m = u[p], M = u[f];
|
|
733
733
|
if (a) {
|
|
734
734
|
const C = p === "y" ? "top" : "left", T = p === "y" ? "bottom" : "right", k = m + d[C], w = m - d[T];
|
|
735
735
|
m = yn(k, m, w);
|
|
736
736
|
}
|
|
737
737
|
if (r) {
|
|
738
|
-
const C = f === "y" ? "top" : "left", T = f === "y" ? "bottom" : "right", k =
|
|
739
|
-
|
|
738
|
+
const C = f === "y" ? "top" : "left", T = f === "y" ? "bottom" : "right", k = M + d[C], w = M - d[T];
|
|
739
|
+
M = yn(k, M, w);
|
|
740
740
|
}
|
|
741
741
|
const g = s.fn({
|
|
742
742
|
...t,
|
|
743
743
|
[p]: m,
|
|
744
|
-
[f]:
|
|
744
|
+
[f]: M
|
|
745
745
|
});
|
|
746
746
|
return {
|
|
747
747
|
...g,
|
|
@@ -919,10 +919,10 @@ function Je(e, t, n, o) {
|
|
|
919
919
|
let s = (l.left + r.x) / a.x, c = (l.top + r.y) / a.y, u = l.width / a.x, d = l.height / a.y;
|
|
920
920
|
if (i) {
|
|
921
921
|
const f = he(i), p = o && Ce(o) ? he(o) : o;
|
|
922
|
-
let m = f,
|
|
923
|
-
for (;
|
|
924
|
-
const g = lt(
|
|
925
|
-
s *= g.x, c *= g.y, u *= g.x, d *= g.y, s += k, c += w, m = he(
|
|
922
|
+
let m = f, M = hn(m);
|
|
923
|
+
for (; M && o && p !== m; ) {
|
|
924
|
+
const g = lt(M), C = M.getBoundingClientRect(), T = Ne(M), k = C.left + (M.clientLeft + parseFloat(T.paddingLeft)) * g.x, w = C.top + (M.clientTop + parseFloat(T.paddingTop)) * g.y;
|
|
925
|
+
s *= g.x, c *= g.y, u *= g.x, d *= g.y, s += k, c += w, m = he(M), M = hn(m);
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
928
|
return Ut({
|
|
@@ -1180,8 +1180,8 @@ function ka(e, t) {
|
|
|
1180
1180
|
} = c;
|
|
1181
1181
|
if (r || t(), !f || !p)
|
|
1182
1182
|
return;
|
|
1183
|
-
const m = Vt(d),
|
|
1184
|
-
rootMargin: -m + "px " + -
|
|
1183
|
+
const m = Vt(d), M = Vt(l.clientWidth - (u + f)), g = Vt(l.clientHeight - (d + p)), C = Vt(u), k = {
|
|
1184
|
+
rootMargin: -m + "px " + -M + "px " + -g + "px " + -C + "px",
|
|
1185
1185
|
threshold: We(0, it(1, s)) || 1
|
|
1186
1186
|
};
|
|
1187
1187
|
let w = !0;
|
|
@@ -1232,11 +1232,11 @@ function La(e, t, n, o) {
|
|
|
1232
1232
|
(k = p) == null || k.observe(t);
|
|
1233
1233
|
})), n();
|
|
1234
1234
|
}), c && !s && p.observe(c), t && p.observe(t));
|
|
1235
|
-
let m,
|
|
1235
|
+
let m, M = s ? Je(e) : null;
|
|
1236
1236
|
s && g();
|
|
1237
1237
|
function g() {
|
|
1238
1238
|
const C = Je(e);
|
|
1239
|
-
|
|
1239
|
+
M && !To(M, C) && n(), M = C, m = requestAnimationFrame(g);
|
|
1240
1240
|
}
|
|
1241
1241
|
return n(), () => {
|
|
1242
1242
|
var C;
|
|
@@ -1276,7 +1276,7 @@ const $a = da, Oa = fa, Ea = sa, Va = ra, Pa = (e, t, n) => {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
}), Ya = ["id"], Ra = { class: "j-c-tooltip__content" };
|
|
1278
1278
|
function Qa(e, t, n, o, l, i) {
|
|
1279
|
-
return
|
|
1279
|
+
return y(), z("div", {
|
|
1280
1280
|
id: e.tooltipId,
|
|
1281
1281
|
ref: "popperRef",
|
|
1282
1282
|
role: "tooltip",
|
|
@@ -1294,7 +1294,7 @@ function Qa(e, t, n, o, l, i) {
|
|
|
1294
1294
|
ee(V(e.content), 1)
|
|
1295
1295
|
])
|
|
1296
1296
|
]),
|
|
1297
|
-
e.showArrow ? (
|
|
1297
|
+
e.showArrow ? (y(), z("div", {
|
|
1298
1298
|
key: 0,
|
|
1299
1299
|
ref: "arrowRef",
|
|
1300
1300
|
class: "j-c-tooltip__arrow",
|
|
@@ -1371,7 +1371,7 @@ const Oe = F({
|
|
|
1371
1371
|
var P;
|
|
1372
1372
|
return (P = s.value) == null ? void 0 : P.arrowRef;
|
|
1373
1373
|
}, d = $(!1), f = $(e.placement), p = $({ top: "0px", left: "0px" }), m = $({});
|
|
1374
|
-
let
|
|
1374
|
+
let M = null, g = null, C = null, T = null;
|
|
1375
1375
|
const k = (P) => {
|
|
1376
1376
|
if (P == null) {
|
|
1377
1377
|
r.value = void 0;
|
|
@@ -1384,7 +1384,7 @@ const Oe = F({
|
|
|
1384
1384
|
const _ = P.$el;
|
|
1385
1385
|
r.value = typeof Element < "u" && _ instanceof Element ? _ : void 0;
|
|
1386
1386
|
}, w = N(() => e.modelValue !== void 0), v = N(() => !e.disabled && (w.value ? e.modelValue === !0 : d.value)), h = () => {
|
|
1387
|
-
|
|
1387
|
+
M && (clearTimeout(M), M = null);
|
|
1388
1388
|
}, I = () => {
|
|
1389
1389
|
g && (clearTimeout(g), g = null);
|
|
1390
1390
|
}, b = () => {
|
|
@@ -1443,8 +1443,8 @@ const Oe = F({
|
|
|
1443
1443
|
const L = P;
|
|
1444
1444
|
return L.dirs = [...L.dirs ?? [], ..._], Z.dirs = null, L;
|
|
1445
1445
|
}, ce = () => {
|
|
1446
|
-
e.disabled || (I(), h(), e.openDelay > 0 ?
|
|
1447
|
-
|
|
1446
|
+
e.disabled || (I(), h(), e.openDelay > 0 ? M = setTimeout(() => {
|
|
1447
|
+
M = null, O(!0);
|
|
1448
1448
|
}, e.openDelay) : O(!0));
|
|
1449
1449
|
}, me = () => {
|
|
1450
1450
|
h(), I(), e.closeDelay > 0 ? g = setTimeout(() => {
|
|
@@ -1695,7 +1695,7 @@ const Oe = F({
|
|
|
1695
1695
|
};
|
|
1696
1696
|
function Fa(e, t, n, o, l, i) {
|
|
1697
1697
|
const a = D("q-btn"), r = D("j-c-tooltip");
|
|
1698
|
-
return
|
|
1698
|
+
return y(), Y(r, {
|
|
1699
1699
|
content: e.tooltipContent,
|
|
1700
1700
|
disabled: !e.tips,
|
|
1701
1701
|
placement: e.mergedTooltipConfig.placement,
|
|
@@ -1721,7 +1721,7 @@ function Fa(e, t, n, o, l, i) {
|
|
|
1721
1721
|
ref: "qBtnRef"
|
|
1722
1722
|
}), Ge({
|
|
1723
1723
|
default: A(() => [
|
|
1724
|
-
!e.icon && e.$slots.icon ? (
|
|
1724
|
+
!e.icon && e.$slots.icon ? (y(), z("span", Za, [
|
|
1725
1725
|
R(e.$slots, "icon", {}, void 0, !0)
|
|
1726
1726
|
])) : q("", !0),
|
|
1727
1727
|
j("span", {
|
|
@@ -1746,7 +1746,7 @@ function Fa(e, t, n, o, l, i) {
|
|
|
1746
1746
|
_: 3
|
|
1747
1747
|
}, 8, ["content", "disabled", "placement", "effect", "trigger", "show-arrow", "open-delay", "close-delay", "max-width", "offset", "model-value"]);
|
|
1748
1748
|
}
|
|
1749
|
-
const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-
|
|
1749
|
+
const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-c23e93b7"]]), Wa = F({
|
|
1750
1750
|
name: "JCEditableProxy",
|
|
1751
1751
|
components: {
|
|
1752
1752
|
JCPermission: Io,
|
|
@@ -1813,7 +1813,7 @@ const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-673a38dd
|
|
|
1813
1813
|
if (i.value && typeof i.value.validate == "function" && (p = i.value.validate()), !!p) {
|
|
1814
1814
|
if (l.value !== e.modelValue) {
|
|
1815
1815
|
a.value = !0;
|
|
1816
|
-
const
|
|
1816
|
+
const M = (g = {}) => {
|
|
1817
1817
|
var w, v, h;
|
|
1818
1818
|
const { success: C = !0, close: T = C, resetValue: k = !C } = g;
|
|
1819
1819
|
if (a.value = !1, C) {
|
|
@@ -1822,7 +1822,7 @@ const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-673a38dd
|
|
|
1822
1822
|
}
|
|
1823
1823
|
k && (l.value = e.modelValue ?? "", (v = (w = i.value) == null ? void 0 : w.resetValidation) == null || v.call(w)), T && ((h = o.value) == null || h.hide());
|
|
1824
1824
|
};
|
|
1825
|
-
t("confirm", l.value,
|
|
1825
|
+
t("confirm", l.value, M);
|
|
1826
1826
|
return;
|
|
1827
1827
|
}
|
|
1828
1828
|
(m = o.value) == null || m.hide();
|
|
@@ -1831,7 +1831,7 @@ const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-673a38dd
|
|
|
1831
1831
|
const m = i.value === null;
|
|
1832
1832
|
i.value = p, m && e.autoDetect && p && ye(() => {
|
|
1833
1833
|
var C, T;
|
|
1834
|
-
const
|
|
1834
|
+
const M = p, g = ((C = M.$props) == null ? void 0 : C.rules) || ((T = M.$attrs) == null ? void 0 : T.rules) || M.rules;
|
|
1835
1835
|
u.value = Array.isArray(g) && g.length > 0;
|
|
1836
1836
|
});
|
|
1837
1837
|
}, f = () => {
|
|
@@ -1854,7 +1854,7 @@ const ct = /* @__PURE__ */ W(Ba, [["render", Fa], ["__scopeId", "data-v-673a38dd
|
|
|
1854
1854
|
}), Ha = { class: "row items-end no-wrap jc-editable-proxy" }, Ja = { class: "q-pr-sm display-value" };
|
|
1855
1855
|
function Ga(e, t, n, o, l, i) {
|
|
1856
1856
|
const a = D("q-card-section"), r = D("j-q-button"), s = D("q-card-actions"), c = D("q-card"), u = D("q-popup-proxy"), d = D("q-icon"), f = D("j-c-permission");
|
|
1857
|
-
return
|
|
1857
|
+
return y(), z("div", Ha, [
|
|
1858
1858
|
j("div", Ja, [
|
|
1859
1859
|
R(e.$slots, "display", {}, () => [
|
|
1860
1860
|
j("span", null, V(e.modelValue), 1)
|
|
@@ -1881,6 +1881,8 @@ function Ga(e, t, n, o, l, i) {
|
|
|
1881
1881
|
}, {
|
|
1882
1882
|
default: A(() => [
|
|
1883
1883
|
S(c, {
|
|
1884
|
+
class: "j-c-editable-proxy__popup",
|
|
1885
|
+
flat: "",
|
|
1884
1886
|
style: X({ width: e.popupWidth })
|
|
1885
1887
|
}, {
|
|
1886
1888
|
default: A(() => [
|
|
@@ -1921,7 +1923,7 @@ function Ga(e, t, n, o, l, i) {
|
|
|
1921
1923
|
}, 8, ["code"])
|
|
1922
1924
|
]);
|
|
1923
1925
|
}
|
|
1924
|
-
const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-
|
|
1926
|
+
const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-a9ddfa80"]]), _a = F({
|
|
1925
1927
|
name: "JCFallback",
|
|
1926
1928
|
props: {
|
|
1927
1929
|
/**
|
|
@@ -1971,8 +1973,8 @@ const dg = /* @__PURE__ */ W(Wa, [["render", Ga], ["__scopeId", "data-v-76fb4824
|
|
|
1971
1973
|
}
|
|
1972
1974
|
}), xa = { key: 0 };
|
|
1973
1975
|
function Ka(e, t, n, o, l, i) {
|
|
1974
|
-
return e.hasValue ? R(e.$slots, "default", { key: 0 }) : (
|
|
1975
|
-
e.rmDom ? q("", !0) : (
|
|
1976
|
+
return e.hasValue ? R(e.$slots, "default", { key: 0 }) : (y(), z(K, { key: 1 }, [
|
|
1977
|
+
e.rmDom ? q("", !0) : (y(), z("span", xa, V(e.defaultContent), 1))
|
|
1976
1978
|
], 64));
|
|
1977
1979
|
}
|
|
1978
1980
|
const fg = /* @__PURE__ */ W(_a, [["render", Ka]]);
|
|
@@ -2521,7 +2523,7 @@ const yi = F({
|
|
|
2521
2523
|
"max-width": typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`,
|
|
2522
2524
|
width: typeof e.maxWidth == "string" ? e.maxWidth : `${e.maxWidth}px`
|
|
2523
2525
|
} : O;
|
|
2524
|
-
}),
|
|
2526
|
+
}), M = N(() => l.value), g = (O) => {
|
|
2525
2527
|
c.value = O;
|
|
2526
2528
|
}, C = (O) => {
|
|
2527
2529
|
u.value = O;
|
|
@@ -2543,7 +2545,7 @@ const yi = F({
|
|
|
2543
2545
|
e.dialogId && Un.destroy(e.dialogId);
|
|
2544
2546
|
};
|
|
2545
2547
|
return n({ open: w, close: v, setLoading: h, setConfirmVisible: I, changeCancelText: g, changeConfirmText: C, rules: d }), {
|
|
2546
|
-
persistent:
|
|
2548
|
+
persistent: M,
|
|
2547
2549
|
dynamicCompRef: i,
|
|
2548
2550
|
cancelText: c,
|
|
2549
2551
|
confirmText: u,
|
|
@@ -2565,7 +2567,7 @@ const yi = F({
|
|
|
2565
2567
|
}), Mi = { class: "loading-mask" }, hi = { class: "dialog-title" }, Ii = { class: "dialog-close-wrapper" }, vi = { class: "async-component-loading-mask" };
|
|
2566
2568
|
function bi(e, t, n, o, l, i) {
|
|
2567
2569
|
const a = D("q-inner-loading"), r = D("q-icon"), s = D("q-card-section"), c = D("j-q-button"), u = D("q-card"), d = D("q-dialog"), f = Ct("close-popup");
|
|
2568
|
-
return
|
|
2570
|
+
return y(), Y(d, {
|
|
2569
2571
|
class: U(["j-q-dialog", { "right-panel": e.position === "right" }, e.dialogClass]),
|
|
2570
2572
|
modelValue: e.visible,
|
|
2571
2573
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => e.visible = p),
|
|
@@ -2596,7 +2598,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2596
2598
|
], 512), [
|
|
2597
2599
|
[Ie, e.getDataLoading]
|
|
2598
2600
|
]),
|
|
2599
|
-
e.showHeader ? (
|
|
2601
|
+
e.showHeader ? (y(), Y(s, {
|
|
2600
2602
|
key: 0,
|
|
2601
2603
|
class: "dialog-header q-pa-none"
|
|
2602
2604
|
}, {
|
|
@@ -2618,7 +2620,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2618
2620
|
]),
|
|
2619
2621
|
_: 3
|
|
2620
2622
|
})) : q("", !0),
|
|
2621
|
-
(
|
|
2623
|
+
(y(), Y(Ml, null, {
|
|
2622
2624
|
default: A(() => [
|
|
2623
2625
|
j("div", null, [
|
|
2624
2626
|
S(s, {
|
|
@@ -2626,12 +2628,12 @@ function bi(e, t, n, o, l, i) {
|
|
|
2626
2628
|
style: X({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
|
|
2627
2629
|
}, {
|
|
2628
2630
|
default: A(() => [
|
|
2629
|
-
e.component ? (
|
|
2631
|
+
e.component ? (y(), Y(fn(e.component), Ae({ key: 0 }, e.computedComponentBind, hl(e.componentOn || {}), { ref: "dynamicCompRef" }), null, 16)) : e.content ? (y(), Y(fn(e.content), { key: 1 })) : q("", !0),
|
|
2630
2632
|
R(e.$slots, "default", {}, void 0, !0)
|
|
2631
2633
|
]),
|
|
2632
2634
|
_: 3
|
|
2633
2635
|
}, 8, ["style"]),
|
|
2634
|
-
e.showFooter ? (
|
|
2636
|
+
e.showFooter ? (y(), Y(s, {
|
|
2635
2637
|
key: 0,
|
|
2636
2638
|
class: "q-pa-none dialog-footer"
|
|
2637
2639
|
}, {
|
|
@@ -2642,7 +2644,7 @@ function bi(e, t, n, o, l, i) {
|
|
|
2642
2644
|
onClick: e.handleClickCancel,
|
|
2643
2645
|
style: { "min-width": "80px" }
|
|
2644
2646
|
}, null, 8, ["label", "onClick"]),
|
|
2645
|
-
e.confirmBtnVisible ? (
|
|
2647
|
+
e.confirmBtnVisible ? (y(), Y(c, {
|
|
2646
2648
|
key: 0,
|
|
2647
2649
|
label: e.confirmText,
|
|
2648
2650
|
type: "primary",
|
|
@@ -2717,8 +2719,8 @@ const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-2dacab32
|
|
|
2717
2719
|
return "";
|
|
2718
2720
|
if (m.length <= 6)
|
|
2719
2721
|
return "***";
|
|
2720
|
-
const
|
|
2721
|
-
return `${
|
|
2722
|
+
const M = m.substring(0, 3), g = m.substring(m.length - 3);
|
|
2723
|
+
return `${M}***${g}`;
|
|
2722
2724
|
}
|
|
2723
2725
|
return m;
|
|
2724
2726
|
}), c = N(() => e.customType === "secret" ? s.value : i.value), u = N(() => ({
|
|
@@ -2739,12 +2741,12 @@ const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-2dacab32
|
|
|
2739
2741
|
const m = e.maxlength;
|
|
2740
2742
|
if (m == null || m === "")
|
|
2741
2743
|
return NaN;
|
|
2742
|
-
const
|
|
2743
|
-
return Number.isFinite(
|
|
2744
|
+
const M = Number(m);
|
|
2745
|
+
return Number.isFinite(M) && M >= 0 ? M : NaN;
|
|
2744
2746
|
});
|
|
2745
2747
|
H(
|
|
2746
2748
|
() => i.value,
|
|
2747
|
-
(m,
|
|
2749
|
+
(m, M) => {
|
|
2748
2750
|
const g = d.value;
|
|
2749
2751
|
let C = m;
|
|
2750
2752
|
if (!Number.isNaN(g)) {
|
|
@@ -2753,14 +2755,14 @@ const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-2dacab32
|
|
|
2753
2755
|
}
|
|
2754
2756
|
if (C !== m) {
|
|
2755
2757
|
if (e.inputLimitFn && !e.inputLimitFn(C)) {
|
|
2756
|
-
i.value =
|
|
2758
|
+
i.value = M;
|
|
2757
2759
|
return;
|
|
2758
2760
|
}
|
|
2759
2761
|
i.value = C;
|
|
2760
2762
|
return;
|
|
2761
2763
|
}
|
|
2762
|
-
if (m !==
|
|
2763
|
-
i.value =
|
|
2764
|
+
if (m !== M && e.inputLimitFn && !e.inputLimitFn(C)) {
|
|
2765
|
+
i.value = M;
|
|
2764
2766
|
return;
|
|
2765
2767
|
}
|
|
2766
2768
|
t("update:modelValue", C);
|
|
@@ -2796,7 +2798,7 @@ const Di = /* @__PURE__ */ W(yi, [["render", bi], ["__scopeId", "data-v-2dacab32
|
|
|
2796
2798
|
});
|
|
2797
2799
|
function Ci(e, t, n, o, l, i) {
|
|
2798
2800
|
const a = D("q-input");
|
|
2799
|
-
return
|
|
2801
|
+
return y(), Y(a, {
|
|
2800
2802
|
class: U(["j-q-input", e.computedClass]),
|
|
2801
2803
|
"model-value": e.computedInputValue,
|
|
2802
2804
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => e.innerModel = r),
|
|
@@ -2922,7 +2924,7 @@ const Xt = /* @__PURE__ */ W(Ai, [["render", Ci]]), Ni = F({
|
|
|
2922
2924
|
return !b && h === 0 ? "" : (b == null ? void 0 : b[e.optionLabel]) ?? I;
|
|
2923
2925
|
}
|
|
2924
2926
|
return (I == null ? void 0 : I[e.optionLabel]) ?? I;
|
|
2925
|
-
}),
|
|
2927
|
+
}), M = (v) => {
|
|
2926
2928
|
const h = r.value;
|
|
2927
2929
|
if (!Array.isArray(h)) return "";
|
|
2928
2930
|
const I = h[v], b = e.options.find((O) => (O == null ? void 0 : O[e.optionValue]) === I);
|
|
@@ -2992,7 +2994,7 @@ const Xt = /* @__PURE__ */ W(Ai, [["render", Ci]]), Ni = F({
|
|
|
2992
2994
|
computedEmitValue: f,
|
|
2993
2995
|
computedDisplayValue: m,
|
|
2994
2996
|
computedUseInput: w,
|
|
2995
|
-
getSelectedItemLabelByIndex:
|
|
2997
|
+
getSelectedItemLabelByIndex: M,
|
|
2996
2998
|
getSelectedItemOptionByIndex: g,
|
|
2997
2999
|
filter: C,
|
|
2998
3000
|
computedPopupContentClass: T,
|
|
@@ -3004,7 +3006,7 @@ const Xt = /* @__PURE__ */ W(Ai, [["render", Ci]]), Ni = F({
|
|
|
3004
3006
|
}), wi = { class: "select-selected-item" }, ji = { class: "select-selected-item__content" };
|
|
3005
3007
|
function Si(e, t, n, o, l, i) {
|
|
3006
3008
|
const a = D("q-spinner"), r = D("q-icon"), s = D("q-item-section"), c = D("q-item"), u = D("q-select");
|
|
3007
|
-
return
|
|
3009
|
+
return y(), Y(u, {
|
|
3008
3010
|
ref: "qSelectRef",
|
|
3009
3011
|
class: U([{
|
|
3010
3012
|
"j-q-select--table": e.label,
|
|
@@ -3079,7 +3081,7 @@ function Si(e, t, n, o, l, i) {
|
|
|
3079
3081
|
ee(V(e.getSelectedItemLabelByIndex(d.index)), 1)
|
|
3080
3082
|
])
|
|
3081
3083
|
]),
|
|
3082
|
-
(f = e.getSelectedItemOptionByIndex(d.index)) != null && f.hideRemove ? q("", !0) : (
|
|
3084
|
+
(f = e.getSelectedItemOptionByIndex(d.index)) != null && f.hideRemove ? q("", !0) : (y(), Y(r, {
|
|
3083
3085
|
key: 0,
|
|
3084
3086
|
name: "close",
|
|
3085
3087
|
class: "cursor-pointer q-ml-xs",
|
|
@@ -3254,8 +3256,8 @@ const Ti = /* @__PURE__ */ W(Ni, [["render", Si]]), zi = F({
|
|
|
3254
3256
|
}), ki = { class: "j-q-dialog-prompt-content" };
|
|
3255
3257
|
function Li(e, t, n, o, l, i) {
|
|
3256
3258
|
const a = D("j-q-input"), r = D("j-q-select");
|
|
3257
|
-
return
|
|
3258
|
-
e.type === "text" || e.type === "textarea" ? (
|
|
3259
|
+
return y(), z("div", ki, [
|
|
3260
|
+
e.type === "text" || e.type === "textarea" ? (y(), Y(a, Ae({
|
|
3259
3261
|
key: 0,
|
|
3260
3262
|
ref: "inputRef",
|
|
3261
3263
|
modelValue: e.inputValue,
|
|
@@ -3266,7 +3268,7 @@ function Li(e, t, n, o, l, i) {
|
|
|
3266
3268
|
maxlength: e.maxlength
|
|
3267
3269
|
}, e.inputProps, {
|
|
3268
3270
|
onKeyup: fo(e.onEnterKey, ["enter"])
|
|
3269
|
-
}), null, 16, ["modelValue", "placeholder", "type", "rules", "maxlength", "onKeyup"])) : e.type === "select" ? (
|
|
3271
|
+
}), null, 16, ["modelValue", "placeholder", "type", "rules", "maxlength", "onKeyup"])) : e.type === "select" ? (y(), Y(r, Ae({
|
|
3270
3272
|
key: 1,
|
|
3271
3273
|
ref: "selectRef",
|
|
3272
3274
|
modelValue: e.inputValue,
|
|
@@ -3396,10 +3398,10 @@ const Un = {
|
|
|
3396
3398
|
});
|
|
3397
3399
|
const p = (T = s == null ? void 0 : s._context) == null ? void 0 : T.directives;
|
|
3398
3400
|
p != null && p["close-popup"] || s.directive("close-popup", Ht);
|
|
3399
|
-
const m = Tn(),
|
|
3400
|
-
if (
|
|
3401
|
+
const m = Tn(), M = Ei[m];
|
|
3402
|
+
if (M)
|
|
3401
3403
|
try {
|
|
3402
|
-
const k = await
|
|
3404
|
+
const k = await M();
|
|
3403
3405
|
s.config.globalProperties.$q.lang.set(k.default);
|
|
3404
3406
|
} catch (k) {
|
|
3405
3407
|
console.error(`[rtcpt] Failed to load Quasar locale for ${m}:`, k);
|
|
@@ -3459,8 +3461,8 @@ const Un = {
|
|
|
3459
3461
|
const r = 5, { t: s } = ae(), c = () => {
|
|
3460
3462
|
if (n.value) {
|
|
3461
3463
|
i && i.disconnect();
|
|
3462
|
-
const
|
|
3463
|
-
|
|
3464
|
+
const M = n.value.scrollHeight;
|
|
3465
|
+
M > 0 ? (o.value = M, a = 0) : n.value.children.length > 0 && a < r && (a++, setTimeout(() => {
|
|
3464
3466
|
c();
|
|
3465
3467
|
}, 100)), i && n.value && i.observe(n.value, {
|
|
3466
3468
|
childList: !0,
|
|
@@ -3472,14 +3474,14 @@ const Un = {
|
|
|
3472
3474
|
overflow: "hidden"
|
|
3473
3475
|
} : {}), f = () => {
|
|
3474
3476
|
var g;
|
|
3475
|
-
const
|
|
3476
|
-
|
|
3477
|
+
const M = (g = t.default) == null ? void 0 : g.call(t);
|
|
3478
|
+
M && Un.register({
|
|
3477
3479
|
title: e.dialogTitle || s("action.viewAll"),
|
|
3478
3480
|
maxWidth: e.dialogMaxWidth,
|
|
3479
3481
|
minHeight: "auto",
|
|
3480
3482
|
showHeader: !0,
|
|
3481
3483
|
showFooter: !1,
|
|
3482
|
-
content: () => Yt("div", { class: "jc-foldable-list-dialog-content" },
|
|
3484
|
+
content: () => Yt("div", { class: "jc-foldable-list-dialog-content" }, M)
|
|
3483
3485
|
});
|
|
3484
3486
|
}, p = () => {
|
|
3485
3487
|
e.viewInDialog ? f() : l.value = !l.value;
|
|
@@ -3512,7 +3514,7 @@ const Un = {
|
|
|
3512
3514
|
class: "jc-toggle-overlay"
|
|
3513
3515
|
};
|
|
3514
3516
|
function Qi(e, t, n, o, l, i) {
|
|
3515
|
-
return
|
|
3517
|
+
return y(), z("div", qi, [
|
|
3516
3518
|
j("div", Yi, [
|
|
3517
3519
|
j("div", {
|
|
3518
3520
|
ref: "contentWrapperRef",
|
|
@@ -3521,14 +3523,14 @@ function Qi(e, t, n, o, l, i) {
|
|
|
3521
3523
|
}, [
|
|
3522
3524
|
R(e.$slots, "default", {}, void 0, !0)
|
|
3523
3525
|
], 6),
|
|
3524
|
-
e.needsToggle ? (
|
|
3526
|
+
e.needsToggle ? (y(), z("div", Ri, [
|
|
3525
3527
|
j("span", {
|
|
3526
3528
|
class: "link-type",
|
|
3527
3529
|
onClick: t[0] || (t[0] = (...a) => e.toggleList && e.toggleList(...a))
|
|
3528
3530
|
}, [
|
|
3529
|
-
e.viewInDialog ? (
|
|
3531
|
+
e.viewInDialog ? (y(), z(K, { key: 0 }, [
|
|
3530
3532
|
ee(V(e.t("action.viewAll")), 1)
|
|
3531
|
-
], 64)) : (
|
|
3533
|
+
], 64)) : (y(), z(K, { key: 1 }, [
|
|
3532
3534
|
ee(V(e.isCollapsed ? e.t("action.expandAll") : e.t("action.collapseAll")), 1)
|
|
3533
3535
|
], 64))
|
|
3534
3536
|
])
|
|
@@ -3596,8 +3598,8 @@ function Zi(e, t, n, o, l, i) {
|
|
|
3596
3598
|
label: e.displayLabel
|
|
3597
3599
|
}, () => [
|
|
3598
3600
|
j("span", null, V(e.displayLabel), 1)
|
|
3599
|
-
]) : (
|
|
3600
|
-
e.rmDom ? q("", !0) : (
|
|
3601
|
+
]) : (y(), z(K, { key: 1 }, [
|
|
3602
|
+
e.rmDom ? q("", !0) : (y(), z("span", Bi, V(e.defaultContent), 1))
|
|
3601
3603
|
], 64));
|
|
3602
3604
|
}
|
|
3603
3605
|
const mg = /* @__PURE__ */ W(Ui, [["render", Zi]]), Fi = F({
|
|
@@ -3630,16 +3632,16 @@ const mg = /* @__PURE__ */ W(Ui, [["render", Zi]]), Fi = F({
|
|
|
3630
3632
|
}), Wi = { class: "row items-center" }, Hi = { class: "form-content" }, Ji = { class: "form-value__inner" }, Gi = { class: "form-item-detail-wrapper" };
|
|
3631
3633
|
function _i(e, t, n, o, l, i) {
|
|
3632
3634
|
const a = D("q-icon"), r = D("j-c-tooltip");
|
|
3633
|
-
return
|
|
3635
|
+
return y(), z("div", {
|
|
3634
3636
|
class: U(["j-q-form-label", [e.directionClass, { required: e.required }]])
|
|
3635
3637
|
}, [
|
|
3636
|
-
e.showLabel ? (
|
|
3638
|
+
e.showLabel ? (y(), z("div", {
|
|
3637
3639
|
key: 0,
|
|
3638
3640
|
class: U(["form-label", [e.labelClass, { required: e.required }]])
|
|
3639
3641
|
}, [
|
|
3640
3642
|
j("div", Wi, [
|
|
3641
3643
|
ee(V(e.label) + " ", 1),
|
|
3642
|
-
e.tip ? (
|
|
3644
|
+
e.tip ? (y(), Y(r, {
|
|
3643
3645
|
key: 0,
|
|
3644
3646
|
content: e.tip,
|
|
3645
3647
|
placement: "top"
|
|
@@ -3723,13 +3725,13 @@ const xi = /* @__PURE__ */ W(Fi, [["render", _i]]), Ki = F({
|
|
|
3723
3725
|
}), Xi = { class: "col-6" }, er = { style: { "margin-top": "4px" } };
|
|
3724
3726
|
function tr(e, t, n, o, l, i) {
|
|
3725
3727
|
const a = D("j-q-input"), r = D("q-btn"), s = D("j-q-form-label");
|
|
3726
|
-
return
|
|
3728
|
+
return y(), z("div", null, [
|
|
3727
3729
|
S(s, {
|
|
3728
3730
|
label: e.label,
|
|
3729
3731
|
required: e.required
|
|
3730
3732
|
}, {
|
|
3731
3733
|
default: A(() => [
|
|
3732
|
-
(
|
|
3734
|
+
(y(!0), z(K, null, ie(e.innerValue, (c, u) => (y(), z("div", {
|
|
3733
3735
|
key: u,
|
|
3734
3736
|
class: "row q-col-gutter-sm"
|
|
3735
3737
|
}, [
|
|
@@ -3748,7 +3750,7 @@ function tr(e, t, n, o, l, i) {
|
|
|
3748
3750
|
}, 8, ["model-value", "onUpdate:modelValue", "rules", "readonly", "placeholder"])
|
|
3749
3751
|
]),
|
|
3750
3752
|
j("div", er, [
|
|
3751
|
-
e.innerValue.length > 1 ? (
|
|
3753
|
+
e.innerValue.length > 1 ? (y(), Y(r, {
|
|
3752
3754
|
key: 0,
|
|
3753
3755
|
icon: "remove_circle_outline",
|
|
3754
3756
|
flat: "",
|
|
@@ -3757,7 +3759,7 @@ function tr(e, t, n, o, l, i) {
|
|
|
3757
3759
|
color: "grey",
|
|
3758
3760
|
onClick: (d) => e.removeItem(u)
|
|
3759
3761
|
}, null, 8, ["onClick"])) : q("", !0),
|
|
3760
|
-
e.innerValue.length - 1 === u && e.innerValue.length < e.maxItems ? (
|
|
3762
|
+
e.innerValue.length - 1 === u && e.innerValue.length < e.maxItems ? (y(), Y(r, {
|
|
3761
3763
|
key: 1,
|
|
3762
3764
|
icon: "add_circle_outline",
|
|
3763
3765
|
flat: "",
|
|
@@ -3854,7 +3856,7 @@ const gg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
|
|
|
3854
3856
|
if (e.btnSize === void 0) return;
|
|
3855
3857
|
const b = String(e.btnSize) + "px";
|
|
3856
3858
|
return { width: b, height: b, minWidth: b, minHeight: b };
|
|
3857
|
-
}), m = N(() => typeof e.fit == "boolean" ? e.fit : e.size === "md"),
|
|
3859
|
+
}), m = N(() => typeof e.fit == "boolean" ? e.fit : e.size === "md"), M = N(() => {
|
|
3858
3860
|
if (e.size === "lg")
|
|
3859
3861
|
return e.offset ?? [5, 10];
|
|
3860
3862
|
}), g = N(() => {
|
|
@@ -3875,7 +3877,7 @@ const gg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
|
|
|
3875
3877
|
showEmptyPlaceholder: N(() => e.showEmptyPlaceholder),
|
|
3876
3878
|
computedBtnSizeStyle: p,
|
|
3877
3879
|
computedFit: m,
|
|
3878
|
-
computedOffset:
|
|
3880
|
+
computedOffset: M,
|
|
3879
3881
|
computedAnchor: g,
|
|
3880
3882
|
computedSelf: C,
|
|
3881
3883
|
computedListStyle: T,
|
|
@@ -3892,8 +3894,8 @@ const gg = /* @__PURE__ */ W(Ki, [["render", tr]]), nr = F({
|
|
|
3892
3894
|
}, lr = { key: 1 };
|
|
3893
3895
|
function ar(e, t, n, o, l, i) {
|
|
3894
3896
|
const a = D("q-icon"), r = D("q-btn"), s = D("q-item-section"), c = D("q-item"), u = D("j-c-permission"), d = D("q-list"), f = D("q-menu"), p = Ct("close-popup");
|
|
3895
|
-
return e.hasVisibleActions || e.showEmptyPlaceholder ? (
|
|
3896
|
-
e.hasVisibleActions ? (
|
|
3897
|
+
return e.hasVisibleActions || e.showEmptyPlaceholder ? (y(), z("div", or, [
|
|
3898
|
+
e.hasVisibleActions ? (y(), z(K, { key: 0 }, [
|
|
3897
3899
|
R(e.$slots, "trigger", {}, () => [
|
|
3898
3900
|
S(r, {
|
|
3899
3901
|
class: "jc-more-menu__icon",
|
|
@@ -3922,21 +3924,21 @@ function ar(e, t, n, o, l, i) {
|
|
|
3922
3924
|
style: X(e.computedListStyle)
|
|
3923
3925
|
}, {
|
|
3924
3926
|
default: A(() => [
|
|
3925
|
-
(
|
|
3926
|
-
key: m.key ??
|
|
3927
|
+
(y(!0), z(K, null, ie(e.actions, (m, M) => (y(), Y(u, {
|
|
3928
|
+
key: m.key ?? M,
|
|
3927
3929
|
"rm-dom": m.rmDom ?? !0,
|
|
3928
3930
|
code: m.permissionCode ?? null,
|
|
3929
3931
|
"default-content": m.defaultContent ?? "-"
|
|
3930
3932
|
}, {
|
|
3931
3933
|
default: A(() => [
|
|
3932
|
-
e.shouldShowAction(m) ? ge((
|
|
3934
|
+
e.shouldShowAction(m) ? ge((y(), Y(c, {
|
|
3933
3935
|
key: 0,
|
|
3934
3936
|
clickable: m.clickable ?? !0,
|
|
3935
3937
|
disable: e.isActionDisabled(m),
|
|
3936
3938
|
onClick: (g) => e.handleActionClick(m)
|
|
3937
3939
|
}, {
|
|
3938
3940
|
default: A(() => [
|
|
3939
|
-
e.hasMenuIconSlot(m) ? (
|
|
3941
|
+
e.hasMenuIconSlot(m) ? (y(), Y(s, {
|
|
3940
3942
|
key: 0,
|
|
3941
3943
|
side: ""
|
|
3942
3944
|
}, {
|
|
@@ -3971,7 +3973,7 @@ function ar(e, t, n, o, l, i) {
|
|
|
3971
3973
|
]),
|
|
3972
3974
|
_: 3
|
|
3973
3975
|
}, 16, ["fit", "class", "offset", "anchor", "self"])
|
|
3974
|
-
], 64)) : (
|
|
3976
|
+
], 64)) : (y(), z("span", lr, "-"))
|
|
3975
3977
|
])) : q("", !0);
|
|
3976
3978
|
}
|
|
3977
3979
|
const yg = /* @__PURE__ */ W(nr, [["render", ar], ["__scopeId", "data-v-35fc7e48"]]), ir = F({
|
|
@@ -4023,7 +4025,7 @@ const yg = /* @__PURE__ */ W(nr, [["render", ar], ["__scopeId", "data-v-35fc7e48
|
|
|
4023
4025
|
});
|
|
4024
4026
|
function rr(e, t, n, o, l, i) {
|
|
4025
4027
|
const a = D("q-item-section"), r = D("q-icon"), s = D("nested-menu-item", !0), c = D("q-list"), u = D("q-menu"), d = D("q-item"), f = Ct("close-popup");
|
|
4026
|
-
return ge((
|
|
4028
|
+
return ge((y(), Y(d, {
|
|
4027
4029
|
clickable: "",
|
|
4028
4030
|
onClick: e.handleClick,
|
|
4029
4031
|
"have-children-arrow": !!(e.option.children && e.option.children.length > 0)
|
|
@@ -4035,7 +4037,7 @@ function rr(e, t, n, o, l, i) {
|
|
|
4035
4037
|
]),
|
|
4036
4038
|
_: 1
|
|
4037
4039
|
}),
|
|
4038
|
-
e.hasChildren ? (
|
|
4040
|
+
e.hasChildren ? (y(), Y(a, {
|
|
4039
4041
|
key: 0,
|
|
4040
4042
|
side: ""
|
|
4041
4043
|
}, {
|
|
@@ -4047,7 +4049,7 @@ function rr(e, t, n, o, l, i) {
|
|
|
4047
4049
|
]),
|
|
4048
4050
|
_: 1
|
|
4049
4051
|
})) : q("", !0),
|
|
4050
|
-
e.hasChildren ? (
|
|
4052
|
+
e.hasChildren ? (y(), Y(u, {
|
|
4051
4053
|
key: 1,
|
|
4052
4054
|
anchor: "top end",
|
|
4053
4055
|
self: "top start",
|
|
@@ -4059,7 +4061,7 @@ function rr(e, t, n, o, l, i) {
|
|
|
4059
4061
|
default: A(() => [
|
|
4060
4062
|
S(c, { dense: "" }, {
|
|
4061
4063
|
default: A(() => [
|
|
4062
|
-
(
|
|
4064
|
+
(y(!0), z(K, null, ie(e.option.children, (p) => (y(), Y(s, {
|
|
4063
4065
|
key: p.value,
|
|
4064
4066
|
option: p,
|
|
4065
4067
|
"selected-value": e.selectedValue,
|
|
@@ -4206,7 +4208,7 @@ const sr = /* @__PURE__ */ W(ir, [["render", rr]]), ur = F({
|
|
|
4206
4208
|
}, dr = { key: 1 };
|
|
4207
4209
|
function fr(e, t, n, o, l, i) {
|
|
4208
4210
|
const a = D("nested-menu-item"), r = D("q-list"), s = D("q-menu"), c = D("q-select");
|
|
4209
|
-
return
|
|
4211
|
+
return y(), Y(c, {
|
|
4210
4212
|
ref: "qSelectRef",
|
|
4211
4213
|
class: U([
|
|
4212
4214
|
"j-c-nested-select",
|
|
@@ -4241,7 +4243,7 @@ function fr(e, t, n, o, l, i) {
|
|
|
4241
4243
|
title: e.ellipsis ? e.displayValue : void 0
|
|
4242
4244
|
}, {
|
|
4243
4245
|
selected: A(() => [
|
|
4244
|
-
e.ellipsis ? (
|
|
4246
|
+
e.ellipsis ? (y(), z("span", cr, V(e.displayValue), 1)) : (y(), z("span", dr, V(e.displayValue), 1))
|
|
4245
4247
|
]),
|
|
4246
4248
|
option: A(() => [...t[1] || (t[1] = [])]),
|
|
4247
4249
|
default: A(() => [
|
|
@@ -4254,7 +4256,7 @@ function fr(e, t, n, o, l, i) {
|
|
|
4254
4256
|
default: A(() => [
|
|
4255
4257
|
S(r, { dense: "" }, {
|
|
4256
4258
|
default: A(() => [
|
|
4257
|
-
(
|
|
4259
|
+
(y(!0), z(K, null, ie(e.options, (u) => (y(), Y(a, {
|
|
4258
4260
|
key: u.value,
|
|
4259
4261
|
option: u,
|
|
4260
4262
|
"selected-value": e.innerValue,
|
|
@@ -4370,7 +4372,7 @@ const Mg = /* @__PURE__ */ W(ur, [["render", fr]]), pr = F({
|
|
|
4370
4372
|
b.right = O;
|
|
4371
4373
|
}
|
|
4372
4374
|
return b;
|
|
4373
|
-
}, p = (h) => "0px", m = (h) => "0px",
|
|
4375
|
+
}, p = (h) => "0px", m = (h) => "0px", M = (h) => {
|
|
4374
4376
|
const I = [];
|
|
4375
4377
|
return h.wrapCount && (Math.min(Math.max(1, h.wrapCount), 3) === 1 ? I.push("j-c-table__cell-content--ellipsis-1") : I.push("j-c-table__cell-content--ellipsis-multi")), h.class && I.push(h.class), I;
|
|
4376
4378
|
}, g = (h) => {
|
|
@@ -4437,7 +4439,7 @@ const Mg = /* @__PURE__ */ W(ur, [["render", fr]]), pr = F({
|
|
|
4437
4439
|
handleCellClick: c,
|
|
4438
4440
|
getHeaderCellStyle: d,
|
|
4439
4441
|
getBodyCellStyle: f,
|
|
4440
|
-
getCellContentClass:
|
|
4442
|
+
getCellContentClass: M,
|
|
4441
4443
|
getCellContentStyle: g,
|
|
4442
4444
|
setCellRef: C,
|
|
4443
4445
|
shouldShowTooltip: k,
|
|
@@ -4453,7 +4455,7 @@ const Mg = /* @__PURE__ */ W(ur, [["render", fr]]), pr = F({
|
|
|
4453
4455
|
};
|
|
4454
4456
|
function Dr(e, t, n, o, l, i) {
|
|
4455
4457
|
const a = D("j-c-tooltip"), r = D("j-c-copy");
|
|
4456
|
-
return
|
|
4458
|
+
return y(), z("div", mr, [
|
|
4457
4459
|
j("div", {
|
|
4458
4460
|
class: U(["j-c-table-container", {
|
|
4459
4461
|
"j-c-table-container--empty": !e.rows || e.rows.length === 0,
|
|
@@ -4465,7 +4467,7 @@ function Dr(e, t, n, o, l, i) {
|
|
|
4465
4467
|
j("table", gr, [
|
|
4466
4468
|
j("thead", null, [
|
|
4467
4469
|
j("tr", null, [
|
|
4468
|
-
(
|
|
4470
|
+
(y(!0), z(K, null, ie(e.columns, (s, c) => (y(), z("th", {
|
|
4469
4471
|
key: s.name || c,
|
|
4470
4472
|
class: U([
|
|
4471
4473
|
"j-c-table__header-cell",
|
|
@@ -4486,11 +4488,11 @@ function Dr(e, t, n, o, l, i) {
|
|
|
4486
4488
|
])
|
|
4487
4489
|
]),
|
|
4488
4490
|
j("tbody", null, [
|
|
4489
|
-
(
|
|
4491
|
+
(y(!0), z(K, null, ie(e.rows, (s, c) => (y(), z("tr", {
|
|
4490
4492
|
key: e.getRowKey(s, c),
|
|
4491
4493
|
class: "j-c-table__body-row"
|
|
4492
4494
|
}, [
|
|
4493
|
-
(
|
|
4495
|
+
(y(!0), z(K, null, ie(e.columns, (u, d) => (y(), z("td", {
|
|
4494
4496
|
key: u.name || d,
|
|
4495
4497
|
class: U([
|
|
4496
4498
|
"j-c-table__body-cell",
|
|
@@ -4509,7 +4511,7 @@ function Dr(e, t, n, o, l, i) {
|
|
|
4509
4511
|
colIndex: d
|
|
4510
4512
|
}, () => [
|
|
4511
4513
|
j("div", Mr, [
|
|
4512
|
-
u.maxWidth || u.wrapCount ? (
|
|
4514
|
+
u.maxWidth || u.wrapCount ? (y(), Y(a, {
|
|
4513
4515
|
key: 0,
|
|
4514
4516
|
content: e.formatCellValue(s, u),
|
|
4515
4517
|
disabled: !e.shouldShowTooltip(c, d, u)
|
|
@@ -4524,12 +4526,12 @@ function Dr(e, t, n, o, l, i) {
|
|
|
4524
4526
|
}, V(e.formatCellValue(s, u)), 15, hr)
|
|
4525
4527
|
]),
|
|
4526
4528
|
_: 2
|
|
4527
|
-
}, 1032, ["content", "disabled"])) : (
|
|
4529
|
+
}, 1032, ["content", "disabled"])) : (y(), z("div", {
|
|
4528
4530
|
key: 1,
|
|
4529
4531
|
class: U(["j-c-table__cell-content", { "j-c-table__cell-content--clickable": e.isClickable(u, s) }]),
|
|
4530
4532
|
onClick: (f) => e.handleCellClick(u, s)
|
|
4531
4533
|
}, V(e.formatCellValue(s, u)), 11, Ir)),
|
|
4532
|
-
u.copy ? (
|
|
4534
|
+
u.copy ? (y(), z("div", vr, [
|
|
4533
4535
|
S(r, {
|
|
4534
4536
|
text: e.getCopyValue(s, u)
|
|
4535
4537
|
}, null, 8, ["text"])
|
|
@@ -4541,7 +4543,7 @@ function Dr(e, t, n, o, l, i) {
|
|
|
4541
4543
|
])
|
|
4542
4544
|
])
|
|
4543
4545
|
], 6),
|
|
4544
|
-
!e.rows || e.rows.length === 0 ? (
|
|
4546
|
+
!e.rows || e.rows.length === 0 ? (y(), z("div", br, [
|
|
4545
4547
|
R(e.$slots, "empty", {}, () => [
|
|
4546
4548
|
ee(V(e.emptyText), 1)
|
|
4547
4549
|
], !0)
|
|
@@ -4596,7 +4598,7 @@ const Nr = F({
|
|
|
4596
4598
|
});
|
|
4597
4599
|
function wr(e, t, n, o, l, i) {
|
|
4598
4600
|
const a = D("q-tooltip"), r = Ct("j-q-tooltip");
|
|
4599
|
-
return ge((
|
|
4601
|
+
return ge((y(), z("div", {
|
|
4600
4602
|
class: U(["block", e.ellipsisClass]),
|
|
4601
4603
|
style: X(e.computedStyle)
|
|
4602
4604
|
}, [
|
|
@@ -4688,7 +4690,7 @@ const jr = /* @__PURE__ */ W(Nr, [["render", wr]]), Sr = F({
|
|
|
4688
4690
|
}), Tr = ["onClick"];
|
|
4689
4691
|
function zr(e, t, n, o, l, i) {
|
|
4690
4692
|
const a = D("JQTooltip");
|
|
4691
|
-
return
|
|
4693
|
+
return y(), z("div", null, [
|
|
4692
4694
|
j("ul", {
|
|
4693
4695
|
class: U(["j-c-tabs", {
|
|
4694
4696
|
"j-c-tabs--disabled": e.disable,
|
|
@@ -4698,7 +4700,7 @@ function zr(e, t, n, o, l, i) {
|
|
|
4698
4700
|
"j-c-tabs--expand": e.expand
|
|
4699
4701
|
}])
|
|
4700
4702
|
}, [
|
|
4701
|
-
(
|
|
4703
|
+
(y(!0), z(K, null, ie(e.options, (r, s) => (y(), z("li", {
|
|
4702
4704
|
key: s,
|
|
4703
4705
|
class: U({
|
|
4704
4706
|
active: e.modelValue === r.value,
|
|
@@ -4746,11 +4748,11 @@ const Ig = /* @__PURE__ */ W(Sr, [["render", zr], ["__scopeId", "data-v-61ea6a6d
|
|
|
4746
4748
|
class: "title-line__extra"
|
|
4747
4749
|
};
|
|
4748
4750
|
function Or(e, t, n, o, l, i) {
|
|
4749
|
-
return
|
|
4751
|
+
return y(), z("div", null, [
|
|
4750
4752
|
j("div", Lr, [
|
|
4751
4753
|
j("span", null, [
|
|
4752
4754
|
ee(V(e.label) + " ", 1),
|
|
4753
|
-
e.hasSlot("default") ? (
|
|
4755
|
+
e.hasSlot("default") ? (y(), z("span", $r, [
|
|
4754
4756
|
R(e.$slots, "default", {}, void 0, !0)
|
|
4755
4757
|
])) : q("", !0)
|
|
4756
4758
|
])
|
|
@@ -4823,7 +4825,7 @@ const vg = /* @__PURE__ */ W(kr, [["render", Or], ["__scopeId", "data-v-dca2221a
|
|
|
4823
4825
|
});
|
|
4824
4826
|
function Vr(e, t, n, o, l, i) {
|
|
4825
4827
|
const a = D("j-c-tooltip");
|
|
4826
|
-
return
|
|
4828
|
+
return y(), Y(a, {
|
|
4827
4829
|
content: e.content,
|
|
4828
4830
|
placement: e.placement,
|
|
4829
4831
|
effect: e.effect,
|
|
@@ -4903,7 +4905,7 @@ const en = /* @__PURE__ */ W(Er, [["render", Vr], ["__scopeId", "data-v-a12d0eef
|
|
|
4903
4905
|
});
|
|
4904
4906
|
function qr(e, t, n, o, l, i) {
|
|
4905
4907
|
const a = D("j-c-tooltip-ellipsis"), r = D("q-tree");
|
|
4906
|
-
return
|
|
4908
|
+
return y(), Y(r, {
|
|
4907
4909
|
ref: "main",
|
|
4908
4910
|
ticked: e.computedValue,
|
|
4909
4911
|
"onUpdate:ticked": t[0] || (t[0] = (s) => e.computedValue = s),
|
|
@@ -4994,7 +4996,7 @@ const Yr = /* @__PURE__ */ W(Pr, [["render", qr]]), Rr = F({
|
|
|
4994
4996
|
if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options || []);
|
|
4995
4997
|
const k = f();
|
|
4996
4998
|
return k == null ? void 0 : k.map((v) => v[e.optionLabel]).toString();
|
|
4997
|
-
}), m = N(() => e.options || []),
|
|
4999
|
+
}), m = N(() => e.options || []), M = N(() => a.value ? r.value : m.value), g = (k) => {
|
|
4998
5000
|
if (r.value = [], !k) return;
|
|
4999
5001
|
let w;
|
|
5000
5002
|
try {
|
|
@@ -5030,7 +5032,7 @@ const Yr = /* @__PURE__ */ W(Pr, [["render", qr]]), Rr = F({
|
|
|
5030
5032
|
computedValueDisplay: p,
|
|
5031
5033
|
popupVisible: d,
|
|
5032
5034
|
inputValue: a,
|
|
5033
|
-
computedTreeOptions:
|
|
5035
|
+
computedTreeOptions: M,
|
|
5034
5036
|
onUpdateInputValue: g,
|
|
5035
5037
|
handleClear: C,
|
|
5036
5038
|
getFullValue: f
|
|
@@ -5042,7 +5044,7 @@ const Yr = /* @__PURE__ */ W(Pr, [["render", qr]]), Rr = F({
|
|
|
5042
5044
|
}, Zr = { class: "j-c-tree-select-popup__main" };
|
|
5043
5045
|
function Fr(e, t, n, o, l, i) {
|
|
5044
5046
|
const a = D("q-icon"), r = D("j-q-input"), s = D("j-c-tree"), c = D("q-popup-proxy"), u = D("q-field");
|
|
5045
|
-
return
|
|
5047
|
+
return y(), Y(u, {
|
|
5046
5048
|
class: U(["j-c-tree-select", {
|
|
5047
5049
|
"j-c-tree-select--table": e.label,
|
|
5048
5050
|
"j-c-tree-select--form": !e.label
|
|
@@ -5068,13 +5070,13 @@ function Fr(e, t, n, o, l, i) {
|
|
|
5068
5070
|
append: A(() => {
|
|
5069
5071
|
var d;
|
|
5070
5072
|
return [
|
|
5071
|
-
e.clearable && !e.readonly && !e.disable && ((d = e.computedValue) != null && d.length) ? (
|
|
5073
|
+
e.clearable && !e.readonly && !e.disable && ((d = e.computedValue) != null && d.length) ? (y(), Y(a, {
|
|
5072
5074
|
key: 0,
|
|
5073
5075
|
name: e.clearIcon,
|
|
5074
5076
|
class: "cursor-pointer q-field__focusable-action",
|
|
5075
5077
|
onMousedown: re(e.handleClearClick, ["stop"])
|
|
5076
5078
|
}, null, 8, ["name", "onMousedown"])) : q("", !0),
|
|
5077
|
-
e.readonly || e.disable ? q("", !0) : (
|
|
5079
|
+
e.readonly || e.disable ? q("", !0) : (y(), Y(a, {
|
|
5078
5080
|
key: 1,
|
|
5079
5081
|
name: e.dropdownIcon,
|
|
5080
5082
|
size: e.label ? "18px" : "20px",
|
|
@@ -5093,7 +5095,7 @@ function Fr(e, t, n, o, l, i) {
|
|
|
5093
5095
|
}, {
|
|
5094
5096
|
default: A(() => [
|
|
5095
5097
|
j("div", Ur, [
|
|
5096
|
-
e.filterable ? (
|
|
5098
|
+
e.filterable ? (y(), z("div", Br, [
|
|
5097
5099
|
S(r, {
|
|
5098
5100
|
modelValue: e.inputValue,
|
|
5099
5101
|
"onUpdate:modelValue": [
|
|
@@ -5207,7 +5209,7 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5207
5209
|
(B = O.children) != null && B.length && O.children.forEach(h), (J = u.value) != null && J.includes(O[e.optionValue]) && v.push(O);
|
|
5208
5210
|
};
|
|
5209
5211
|
return (e.options || []).forEach(h), v;
|
|
5210
|
-
},
|
|
5212
|
+
}, M = N(() => {
|
|
5211
5213
|
var h;
|
|
5212
5214
|
if (!((h = u.value) != null && h.length)) return;
|
|
5213
5215
|
if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options);
|
|
@@ -5246,7 +5248,7 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5246
5248
|
treeRef: o,
|
|
5247
5249
|
filterInputRef: l,
|
|
5248
5250
|
computedValue: u,
|
|
5249
|
-
computedValueDisplay:
|
|
5251
|
+
computedValueDisplay: M,
|
|
5250
5252
|
treeSelected: d,
|
|
5251
5253
|
popupVisible: f,
|
|
5252
5254
|
inputValue: r,
|
|
@@ -5263,7 +5265,7 @@ const bg = /* @__PURE__ */ W(Rr, [["render", Fr]]), Wr = F({
|
|
|
5263
5265
|
}, Gr = { class: "j-c-org-select-popup" }, _r = { class: "j-c-org-select-popup__main" };
|
|
5264
5266
|
function xr(e, t, n, o, l, i) {
|
|
5265
5267
|
const a = D("q-icon"), r = D("j-c-tooltip-ellipsis"), s = D("q-tree"), c = D("q-popup-proxy"), u = D("q-field");
|
|
5266
|
-
return
|
|
5268
|
+
return y(), Y(u, {
|
|
5267
5269
|
class: U(["j-c-org-select", {
|
|
5268
5270
|
"j-c-org-select--table": e.label,
|
|
5269
5271
|
"j-c-org-select--form": !e.label
|
|
@@ -5280,7 +5282,7 @@ function xr(e, t, n, o, l, i) {
|
|
|
5280
5282
|
onClear: e.handleClear
|
|
5281
5283
|
}, {
|
|
5282
5284
|
control: A(() => [
|
|
5283
|
-
e.filterable && e.popupVisible ? ge((
|
|
5285
|
+
e.filterable && e.popupVisible ? ge((y(), z("input", {
|
|
5284
5286
|
key: 0,
|
|
5285
5287
|
ref: "filterInputRef",
|
|
5286
5288
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => e.inputValue = d),
|
|
@@ -5292,7 +5294,7 @@ function xr(e, t, n, o, l, i) {
|
|
|
5292
5294
|
}, ["stop"]))
|
|
5293
5295
|
}, null, 40, Hr)), [
|
|
5294
5296
|
[bl, e.inputValue]
|
|
5295
|
-
]) : (
|
|
5297
|
+
]) : (y(), z("div", Jr, [
|
|
5296
5298
|
R(e.$slots, "value-display", {}, () => [
|
|
5297
5299
|
ee(V(e.computedValueDisplay), 1)
|
|
5298
5300
|
])
|
|
@@ -5301,13 +5303,13 @@ function xr(e, t, n, o, l, i) {
|
|
|
5301
5303
|
append: A(() => {
|
|
5302
5304
|
var d;
|
|
5303
5305
|
return [
|
|
5304
|
-
e.clearable && !e.readonly && !e.disable && ((d = e.computedValue) != null && d.length) ? (
|
|
5306
|
+
e.clearable && !e.readonly && !e.disable && ((d = e.computedValue) != null && d.length) ? (y(), Y(a, {
|
|
5305
5307
|
key: 0,
|
|
5306
5308
|
name: e.clearIcon,
|
|
5307
5309
|
class: "cursor-pointer q-field__focusable-action",
|
|
5308
5310
|
onMousedown: re(e.handleClearClick, ["stop"])
|
|
5309
5311
|
}, null, 8, ["name", "onMousedown"])) : q("", !0),
|
|
5310
|
-
e.readonly || e.disable ? q("", !0) : (
|
|
5312
|
+
e.readonly || e.disable ? q("", !0) : (y(), Y(a, {
|
|
5311
5313
|
key: 1,
|
|
5312
5314
|
name: e.dropdownIcon,
|
|
5313
5315
|
size: e.label ? "18px" : "20px",
|
|
@@ -5520,6 +5522,13 @@ const ts = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24
|
|
|
5520
5522
|
type: String,
|
|
5521
5523
|
default: ""
|
|
5522
5524
|
},
|
|
5525
|
+
/**
|
|
5526
|
+
* 是否显示平台图标,默认不显示
|
|
5527
|
+
*/
|
|
5528
|
+
showIcon: {
|
|
5529
|
+
type: Boolean,
|
|
5530
|
+
default: !1
|
|
5531
|
+
},
|
|
5523
5532
|
/**
|
|
5524
5533
|
* 用户角色列表
|
|
5525
5534
|
*/
|
|
@@ -5545,7 +5554,7 @@ const ts = '<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24
|
|
|
5545
5554
|
}), ss = ["onClick"], us = ["innerHTML"];
|
|
5546
5555
|
function cs(e, t, n, o, l, i) {
|
|
5547
5556
|
const a = D("q-item"), r = D("q-list");
|
|
5548
|
-
return
|
|
5557
|
+
return y(!0), z(K, null, ie(e.displayPlatformList, (s, c) => (y(), z("div", {
|
|
5549
5558
|
class: "left-menu",
|
|
5550
5559
|
key: c
|
|
5551
5560
|
}, [
|
|
@@ -5564,10 +5573,11 @@ function cs(e, t, n, o, l, i) {
|
|
|
5564
5573
|
j("div", {
|
|
5565
5574
|
class: U(["left-menu-item", { active: e.isActive(s), "zh-CN": e.locale === "zh-CN" }])
|
|
5566
5575
|
}, [
|
|
5567
|
-
|
|
5576
|
+
e.showIcon ? (y(), z("span", {
|
|
5577
|
+
key: 0,
|
|
5568
5578
|
class: "platform-icon q-mr-sm",
|
|
5569
5579
|
innerHTML: e.getPlatformIconSvg(s)
|
|
5570
|
-
}, null, 8, us),
|
|
5580
|
+
}, null, 8, us)) : q("", !0),
|
|
5571
5581
|
ee(" " + V(e.t(`platform.${s.platform}`)), 1)
|
|
5572
5582
|
], 2)
|
|
5573
5583
|
]),
|
|
@@ -5579,7 +5589,7 @@ function cs(e, t, n, o, l, i) {
|
|
|
5579
5589
|
}, 1024)
|
|
5580
5590
|
]))), 128);
|
|
5581
5591
|
}
|
|
5582
|
-
const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-
|
|
5592
|
+
const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-2c944981"]]), rn = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", io = (e) => {
|
|
5583
5593
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
5584
5594
|
}, ds = F({
|
|
5585
5595
|
name: "JQAutocomplete",
|
|
@@ -5608,29 +5618,29 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5608
5618
|
r();
|
|
5609
5619
|
}), H(
|
|
5610
5620
|
() => e.modelValue,
|
|
5611
|
-
(
|
|
5612
|
-
l.filterList = l.list.filter((g) => g.value.includes(
|
|
5621
|
+
(M) => {
|
|
5622
|
+
l.filterList = l.list.filter((g) => g.value.includes(M));
|
|
5613
5623
|
}
|
|
5614
5624
|
);
|
|
5615
5625
|
const r = () => {
|
|
5616
5626
|
try {
|
|
5617
|
-
const
|
|
5627
|
+
const M = rn(), g = JSON.parse(M);
|
|
5618
5628
|
l.list = g[a.value] || [];
|
|
5619
|
-
} catch (
|
|
5620
|
-
console.error("Failed to load search history:",
|
|
5629
|
+
} catch (M) {
|
|
5630
|
+
console.error("Failed to load search history:", M), l.list = [];
|
|
5621
5631
|
}
|
|
5622
5632
|
}, s = () => {
|
|
5623
5633
|
r();
|
|
5624
|
-
const
|
|
5625
|
-
|
|
5634
|
+
const M = e.modelValue;
|
|
5635
|
+
M ? l.filterList = l.list.filter((g) => g.value.includes(M)) : l.filterList = l.list, l.visible = !0;
|
|
5626
5636
|
}, c = () => {
|
|
5627
5637
|
l.visible = !1;
|
|
5628
5638
|
}, u = () => {
|
|
5629
5639
|
l.filterList = l.list, o.value.blur();
|
|
5630
|
-
}, d = (
|
|
5631
|
-
const g = l.list.findIndex((k) => k.id ===
|
|
5640
|
+
}, d = (M) => {
|
|
5641
|
+
const g = l.list.findIndex((k) => k.id === M.id);
|
|
5632
5642
|
g > -1 && l.list.splice(g, 1);
|
|
5633
|
-
const C = l.filterList.findIndex((k) => k.id ===
|
|
5643
|
+
const C = l.filterList.findIndex((k) => k.id === M.id);
|
|
5634
5644
|
C > -1 && l.filterList.splice(C, 1);
|
|
5635
5645
|
let T;
|
|
5636
5646
|
try {
|
|
@@ -5639,13 +5649,13 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5639
5649
|
T = {};
|
|
5640
5650
|
}
|
|
5641
5651
|
T[a.value] = l.list, io(JSON.stringify(T));
|
|
5642
|
-
}, f = (
|
|
5643
|
-
const g = String(
|
|
5652
|
+
}, f = (M) => {
|
|
5653
|
+
const g = String(M ?? "").trim();
|
|
5644
5654
|
t("update:model-value", g), l.filterList = l.list.filter((C) => C.value.includes(g));
|
|
5645
|
-
}, p = (
|
|
5646
|
-
t("update:model-value",
|
|
5647
|
-
}, m = (
|
|
5648
|
-
const g = (
|
|
5655
|
+
}, p = (M) => {
|
|
5656
|
+
t("update:model-value", M.value), l.visible = !1;
|
|
5657
|
+
}, m = (M) => {
|
|
5658
|
+
const g = (M ?? "").trim();
|
|
5649
5659
|
if (!g || l.list.find((T) => T.value === g)) return;
|
|
5650
5660
|
l.list.length >= e.maxLength && l.list.pop(), l.list.unshift({ id: +/* @__PURE__ */ new Date(), value: g });
|
|
5651
5661
|
let C;
|
|
@@ -5673,7 +5683,7 @@ const Ag = /* @__PURE__ */ W(rs, [["render", cs], ["__scopeId", "data-v-1f5cc6f3
|
|
|
5673
5683
|
}), fs = { class: "j-q-autocomplete" }, ps = { class: "j-q-autocomplete-list-container" }, ms = ["onMousedown"], gs = { class: "value" };
|
|
5674
5684
|
function ys(e, t, n, o, l, i) {
|
|
5675
5685
|
const a = D("q-input"), r = D("j-c-tooltip"), s = D("q-icon");
|
|
5676
|
-
return
|
|
5686
|
+
return y(), z("div", fs, [
|
|
5677
5687
|
S(a, Ae({
|
|
5678
5688
|
class: {
|
|
5679
5689
|
"j-q-input--table": e.label,
|
|
@@ -5699,7 +5709,7 @@ function ys(e, t, n, o, l, i) {
|
|
|
5699
5709
|
}), null, 16, ["class", "label", "model-value", "onUpdate:modelValue", "onFocus", "onBlur", "onClear"]),
|
|
5700
5710
|
ge(j("div", ps, [
|
|
5701
5711
|
j("ul", null, [
|
|
5702
|
-
(
|
|
5712
|
+
(y(!0), z(K, null, ie(e.historyParams.filterList, (c) => (y(), z("li", {
|
|
5703
5713
|
key: c.id
|
|
5704
5714
|
}, [
|
|
5705
5715
|
j("div", {
|
|
@@ -5718,7 +5728,7 @@ function ys(e, t, n, o, l, i) {
|
|
|
5718
5728
|
_: 2
|
|
5719
5729
|
}, 1032, ["content", "disabled", "offset"])
|
|
5720
5730
|
], 40, ms),
|
|
5721
|
-
e.deletable ? (
|
|
5731
|
+
e.deletable ? (y(), Y(s, {
|
|
5722
5732
|
key: 0,
|
|
5723
5733
|
name: "app:clear",
|
|
5724
5734
|
class: "delete-icon q-ml-xs",
|
|
@@ -5902,7 +5912,7 @@ const Cg = /* @__PURE__ */ W(ds, [["render", ys], ["__scopeId", "data-v-e75e4468
|
|
|
5902
5912
|
});
|
|
5903
5913
|
function hs(e, t, n, o, l, i) {
|
|
5904
5914
|
const a = D("q-icon"), r = D("q-item-section"), s = D("q-item-label"), c = D("q-item"), u = D("q-list"), d = D("q-btn-dropdown"), f = Ct("close-popup");
|
|
5905
|
-
return e.filteredItems.length > 0 || e.$slots.default ? (
|
|
5915
|
+
return e.filteredItems.length > 0 || e.$slots.default ? (y(), Y(d, Ae({
|
|
5906
5916
|
key: 0,
|
|
5907
5917
|
ref: "qBtnDropdownRef",
|
|
5908
5918
|
class: e.computedClass,
|
|
@@ -5927,14 +5937,14 @@ function hs(e, t, n, o, l, i) {
|
|
|
5927
5937
|
R(e.$slots, "default", {}, () => [
|
|
5928
5938
|
S(u, null, {
|
|
5929
5939
|
default: A(() => [
|
|
5930
|
-
(
|
|
5940
|
+
(y(!0), z(K, null, ie(e.filteredItems, (p, m) => ge((y(), Y(c, {
|
|
5931
5941
|
key: m,
|
|
5932
5942
|
clickable: "",
|
|
5933
5943
|
disable: p.disabled,
|
|
5934
|
-
onClick: (
|
|
5944
|
+
onClick: (M) => e.handleItemClick(p)
|
|
5935
5945
|
}, {
|
|
5936
5946
|
default: A(() => [
|
|
5937
|
-
p.icon ? (
|
|
5947
|
+
p.icon ? (y(), Y(r, {
|
|
5938
5948
|
key: 0,
|
|
5939
5949
|
avatar: ""
|
|
5940
5950
|
}, {
|
|
@@ -6040,7 +6050,7 @@ const Ng = /* @__PURE__ */ W(Ms, [["render", hs], ["__scopeId", "data-v-1feac3fa
|
|
|
6040
6050
|
function bs(e, t, n, o, l, i) {
|
|
6041
6051
|
var u;
|
|
6042
6052
|
const a = D("q-icon"), r = D("j-c-tooltip"), s = D("q-checkbox"), c = D("q-field");
|
|
6043
|
-
return
|
|
6053
|
+
return y(), Y(c, {
|
|
6044
6054
|
class: U(["j-q-checkbox no-border-field", [{ "q-mb-xs": !((u = e.rules) != null && u.length) }, e.filedClass]]),
|
|
6045
6055
|
label: e.label,
|
|
6046
6056
|
disable: e.disable,
|
|
@@ -6079,7 +6089,7 @@ function bs(e, t, n, o, l, i) {
|
|
|
6079
6089
|
name: "default",
|
|
6080
6090
|
fn: A(() => [
|
|
6081
6091
|
j("span", vs, V(e.text), 1),
|
|
6082
|
-
e.tip ? (
|
|
6092
|
+
e.tip ? (y(), Y(r, {
|
|
6083
6093
|
key: 0,
|
|
6084
6094
|
content: e.tip,
|
|
6085
6095
|
placement: "top"
|
|
@@ -6143,7 +6153,7 @@ const wg = /* @__PURE__ */ W(Is, [["render", bs], ["__scopeId", "data-v-54d7a8fb
|
|
|
6143
6153
|
}), As = { class: "inline-block" }, Cs = { class: "title" }, Ns = { class: "j-q-confirm-actions" };
|
|
6144
6154
|
function ws(e, t, n, o, l, i) {
|
|
6145
6155
|
const a = D("q-card-section"), r = D("j-q-button"), s = D("q-card"), c = D("q-popup-proxy");
|
|
6146
|
-
return
|
|
6156
|
+
return y(), z("div", As, [
|
|
6147
6157
|
R(e.$slots, "default", {}, void 0, !0),
|
|
6148
6158
|
S(c, { ref: "popupRef" }, {
|
|
6149
6159
|
default: A(() => [
|
|
@@ -6182,7 +6192,7 @@ function ws(e, t, n, o, l, i) {
|
|
|
6182
6192
|
}, 512)
|
|
6183
6193
|
]);
|
|
6184
6194
|
}
|
|
6185
|
-
const jg = /* @__PURE__ */ W(Ds, [["render", ws], ["__scopeId", "data-v-
|
|
6195
|
+
const jg = /* @__PURE__ */ W(Ds, [["render", ws], ["__scopeId", "data-v-f34b5ace"]]), tt = "YYYY-MM-DD HH:mm:ss", un = (e) => {
|
|
6186
6196
|
if (e === null || typeof e > "u" || e === "") return null;
|
|
6187
6197
|
if (typeof e == "number") return new Date(e);
|
|
6188
6198
|
if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
|
|
@@ -6311,7 +6321,7 @@ const jg = /* @__PURE__ */ W(Ds, [["render", ws], ["__scopeId", "data-v-32169bee
|
|
|
6311
6321
|
};
|
|
6312
6322
|
function zs(e, t, n, o, l, i) {
|
|
6313
6323
|
const a = D("q-date"), r = D("q-popup-proxy"), s = D("q-icon"), c = D("q-field");
|
|
6314
|
-
return
|
|
6324
|
+
return y(), Y(c, {
|
|
6315
6325
|
ref: "fieldRef",
|
|
6316
6326
|
class: U(["j-q-date", {
|
|
6317
6327
|
"j-q-date--table": e.label,
|
|
@@ -6334,7 +6344,7 @@ function zs(e, t, n, o, l, i) {
|
|
|
6334
6344
|
j("div", Ss, V(e.computedValueDisplay), 1)
|
|
6335
6345
|
]),
|
|
6336
6346
|
append: A(() => [
|
|
6337
|
-
e.clearable && !e.readonly && !e.disable && e.computedValue ? (
|
|
6347
|
+
e.clearable && !e.readonly && !e.disable && e.computedValue ? (y(), Y(s, {
|
|
6338
6348
|
key: 0,
|
|
6339
6349
|
name: "app:clear",
|
|
6340
6350
|
class: "cursor-pointer q-field__focusable-action",
|
|
@@ -6358,7 +6368,7 @@ function zs(e, t, n, o, l, i) {
|
|
|
6358
6368
|
class: "date-popup__inner",
|
|
6359
6369
|
style: X(e.popupInnerStyle)
|
|
6360
6370
|
}, [
|
|
6361
|
-
e.slots["popup-prepend"] ? (
|
|
6371
|
+
e.slots["popup-prepend"] ? (y(), z("div", Ts, [
|
|
6362
6372
|
R(e.$slots, "popup-prepend")
|
|
6363
6373
|
])) : q("", !0),
|
|
6364
6374
|
S(a, {
|
|
@@ -6432,7 +6442,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Bo = `${ks}_th
|
|
|
6432
6442
|
m: parseInt(e.endhhmmss[1], 10) || 0,
|
|
6433
6443
|
s: parseInt(e.endhhmmss[2], 10) || 0
|
|
6434
6444
|
}), m = $(!1);
|
|
6435
|
-
let
|
|
6445
|
+
let M = null;
|
|
6436
6446
|
st(() => {
|
|
6437
6447
|
if (e.showTooltip)
|
|
6438
6448
|
try {
|
|
@@ -6449,7 +6459,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Bo = `${ks}_th
|
|
|
6449
6459
|
m.value = !1;
|
|
6450
6460
|
});
|
|
6451
6461
|
const g = () => {
|
|
6452
|
-
m.value = !1,
|
|
6462
|
+
m.value = !1, M && (clearTimeout(M), M = null);
|
|
6453
6463
|
try {
|
|
6454
6464
|
const Q = ro();
|
|
6455
6465
|
let G = Q ? JSON.parse(Q) : {};
|
|
@@ -6557,7 +6567,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Bo = `${ks}_th
|
|
|
6557
6567
|
}
|
|
6558
6568
|
return "";
|
|
6559
6569
|
}), Ke = () => {
|
|
6560
|
-
e.disable || e.readonly || (O(), i.value = !0, m.value && (
|
|
6570
|
+
e.disable || e.readonly || (O(), i.value = !0, m.value && (M && clearTimeout(M), M = setTimeout(() => {
|
|
6561
6571
|
g();
|
|
6562
6572
|
}, 2e3)));
|
|
6563
6573
|
}, Ue = (Q) => {
|
|
@@ -6608,7 +6618,7 @@ const Sg = /* @__PURE__ */ W(js, [["render", zs]]), ks = "rtcpt", Bo = `${ks}_th
|
|
|
6608
6618
|
}, Qs = { class: "tooltip-content" }, Us = { class: "row column q-mb-sm q-mt-auto" }, Bs = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, Zs = { class: "row q-gutter-x-xs items-center" }, Fs = { class: "row column q-mb-md" }, Ws = { class: "fs-12 text-grey h-30 row items-center" }, Hs = { class: "row q-gutter-x-xs items-center" }, Js = { class: "row column q-mb-sm q-mt-auto" }, Gs = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, _s = { class: "row q-gutter-x-xs items-center" };
|
|
6609
6619
|
function xs(e, t, n, o, l, i) {
|
|
6610
6620
|
const a = D("q-date"), r = D("q-icon"), s = D("q-select"), c = D("q-btn"), u = D("q-popup-proxy"), d = D("q-field");
|
|
6611
|
-
return
|
|
6621
|
+
return y(), Y(d, {
|
|
6612
6622
|
ref: "fieldRef",
|
|
6613
6623
|
class: U(["j-q-datetime j-q-datetime-range", {
|
|
6614
6624
|
"j-q-datetime--table": e.label,
|
|
@@ -6634,7 +6644,7 @@ function xs(e, t, n, o, l, i) {
|
|
|
6634
6644
|
]),
|
|
6635
6645
|
append: A(() => [
|
|
6636
6646
|
R(e.$slots, "append"),
|
|
6637
|
-
e.clearable && !e.readonly && !e.disable && e.computedValue ? (
|
|
6647
|
+
e.clearable && !e.readonly && !e.disable && e.computedValue ? (y(), Y(r, {
|
|
6638
6648
|
key: 0,
|
|
6639
6649
|
name: "app:clear",
|
|
6640
6650
|
class: "cursor-pointer q-field__focusable-action q-mr-xs",
|
|
@@ -6656,7 +6666,7 @@ function xs(e, t, n, o, l, i) {
|
|
|
6656
6666
|
}, {
|
|
6657
6667
|
default: A(() => [
|
|
6658
6668
|
j("div", Vs, [
|
|
6659
|
-
e.slots["popup-prepend"] ? (
|
|
6669
|
+
e.slots["popup-prepend"] ? (y(), z("div", Ps, [
|
|
6660
6670
|
R(e.$slots, "popup-prepend")
|
|
6661
6671
|
])) : q("", !0),
|
|
6662
6672
|
j("div", qs, [
|
|
@@ -6670,7 +6680,7 @@ function xs(e, t, n, o, l, i) {
|
|
|
6670
6680
|
j("div", Ys, [
|
|
6671
6681
|
S(Wt, { name: "tooltip-fade" }, {
|
|
6672
6682
|
default: A(() => [
|
|
6673
|
-
e.showScrollTooltip ? (
|
|
6683
|
+
e.showScrollTooltip ? (y(), z("div", Rs, [
|
|
6674
6684
|
j("div", Qs, [
|
|
6675
6685
|
ee(V(e.t("messages.date.scrollTooltip")) + " ", 1),
|
|
6676
6686
|
S(r, {
|
|
@@ -6685,7 +6695,7 @@ function xs(e, t, n, o, l, i) {
|
|
|
6685
6695
|
]),
|
|
6686
6696
|
_: 1
|
|
6687
6697
|
}),
|
|
6688
|
-
e.range ? (
|
|
6698
|
+
e.range ? (y(), z(K, { key: 0 }, [
|
|
6689
6699
|
j("div", Us, [
|
|
6690
6700
|
j("div", Bs, V(e.t("messages.date.start")), 1),
|
|
6691
6701
|
j("div", Zs, [
|
|
@@ -6772,7 +6782,7 @@ function xs(e, t, n, o, l, i) {
|
|
|
6772
6782
|
}, null, 8, ["modelValue", "label", "options", "popup-content-style"])
|
|
6773
6783
|
])
|
|
6774
6784
|
])
|
|
6775
|
-
], 64)) : (
|
|
6785
|
+
], 64)) : (y(), z(K, { key: 1 }, [
|
|
6776
6786
|
j("div", Js, [
|
|
6777
6787
|
j("div", Gs, V(e.t("messages.date.hour")) + "/" + V(e.t("messages.date.minute")) + "/" + V(e.t("messages.date.second")), 1),
|
|
6778
6788
|
j("div", _s, [
|
|
@@ -6886,7 +6896,7 @@ const Tg = /* @__PURE__ */ W(Os, [["render", xs]]), Ks = F({
|
|
|
6886
6896
|
if (!e.modelValue || !e.range) return !1;
|
|
6887
6897
|
const v = new Date(e.modelValue.from), { YYYY: h, MI: I } = w;
|
|
6888
6898
|
return v.getFullYear() === h && v.getMonth() === I;
|
|
6889
|
-
},
|
|
6899
|
+
}, M = (w) => {
|
|
6890
6900
|
if (!e.modelValue || !e.range) return !1;
|
|
6891
6901
|
const { from: v, to: h } = e.modelValue, { YYYY: I, MI: b } = w, O = new Date(I, b).getTime();
|
|
6892
6902
|
return new Date(v).getTime() < O && O < new Date(h).getTime();
|
|
@@ -6906,7 +6916,7 @@ const Tg = /* @__PURE__ */ W(Os, [["render", xs]]), Ks = F({
|
|
|
6906
6916
|
isItemDisabled: f,
|
|
6907
6917
|
pickItem: p,
|
|
6908
6918
|
isItemActiveFrom: m,
|
|
6909
|
-
isItemActiveIn:
|
|
6919
|
+
isItemActiveIn: M,
|
|
6910
6920
|
isItemActiveTo: g,
|
|
6911
6921
|
isCurrentMonth: (w) => w.YYYY === C.getFullYear() && w.MI === C.getMonth(),
|
|
6912
6922
|
isItemActive: (w) => {
|
|
@@ -6920,8 +6930,8 @@ const Tg = /* @__PURE__ */ W(Os, [["render", xs]]), Ks = F({
|
|
|
6920
6930
|
}), Xs = { class: "j-q-month-list" }, eu = ["onMouseenter"];
|
|
6921
6931
|
function tu(e, t, n, o, l, i) {
|
|
6922
6932
|
const a = D("q-btn");
|
|
6923
|
-
return
|
|
6924
|
-
(
|
|
6933
|
+
return y(), z("ul", Xs, [
|
|
6934
|
+
(y(!0), z(K, null, ie(e.computedMonthItems, (r) => (y(), z("li", {
|
|
6925
6935
|
key: `${r.YYYY}-${r.MI}`,
|
|
6926
6936
|
class: U(["month-item", {
|
|
6927
6937
|
"month-item--today": e.isCurrentMonth(r),
|
|
@@ -6988,8 +6998,8 @@ const nu = /* @__PURE__ */ W(Ks, [["render", tu]]), ou = (e) => {
|
|
|
6988
6998
|
}), au = { class: "j-q-year-list" };
|
|
6989
6999
|
function iu(e, t, n, o, l, i) {
|
|
6990
7000
|
const a = D("q-btn");
|
|
6991
|
-
return
|
|
6992
|
-
(
|
|
7001
|
+
return y(), z("ul", au, [
|
|
7002
|
+
(y(!0), z(K, null, ie(e.computedYearItems, (r) => (y(), z("li", {
|
|
6993
7003
|
key: r,
|
|
6994
7004
|
class: U(["year-item", {
|
|
6995
7005
|
"year-item--today": e.isCurrentYear(r),
|
|
@@ -7071,7 +7081,7 @@ const ru = /* @__PURE__ */ W(lu, [["render", iu]]), qt = 1900, uo = 275740, dn =
|
|
|
7071
7081
|
}), cu = { class: "year-nav" }, du = { class: "year-year-container" };
|
|
7072
7082
|
function fu(e, t, n, o, l, i) {
|
|
7073
7083
|
const a = D("q-btn"), r = D("j-q-year-list"), s = D("q-card-section"), c = D("q-card");
|
|
7074
|
-
return
|
|
7084
|
+
return y(), Y(c, {
|
|
7075
7085
|
class: "j-q-year-selector",
|
|
7076
7086
|
flat: ""
|
|
7077
7087
|
}, {
|
|
@@ -7090,7 +7100,7 @@ function fu(e, t, n, o, l, i) {
|
|
|
7090
7100
|
j("div", du, [
|
|
7091
7101
|
S(Wt, { name: e.computedYearContainerTransitionName }, {
|
|
7092
7102
|
default: A(() => [
|
|
7093
|
-
(
|
|
7103
|
+
(y(), Y(r, {
|
|
7094
7104
|
key: e.computedIntervalStart,
|
|
7095
7105
|
"interval-start-year": e.computedIntervalStart,
|
|
7096
7106
|
"model-value": e.computedValue,
|
|
@@ -7192,7 +7202,7 @@ const Zo = /* @__PURE__ */ W(uu, [["render", fu]]), pu = F({
|
|
|
7192
7202
|
}, yu = { class: "month-options-container" };
|
|
7193
7203
|
function Mu(e, t, n, o, l, i) {
|
|
7194
7204
|
const a = D("q-btn"), r = D("j-q-year-selector"), s = D("j-q-month-list"), c = D("q-card-section"), u = D("q-card");
|
|
7195
|
-
return
|
|
7205
|
+
return y(), Y(u, {
|
|
7196
7206
|
class: "j-q-month-selector",
|
|
7197
7207
|
flat: ""
|
|
7198
7208
|
}, {
|
|
@@ -7226,7 +7236,7 @@ function Mu(e, t, n, o, l, i) {
|
|
|
7226
7236
|
onClick: t[1] || (t[1] = (d) => e.setYear(e.year + 1))
|
|
7227
7237
|
})
|
|
7228
7238
|
]),
|
|
7229
|
-
e.yearPopupVisible ? (
|
|
7239
|
+
e.yearPopupVisible ? (y(), z("div", gu, [
|
|
7230
7240
|
S(r, {
|
|
7231
7241
|
"model-value": e.yearDate,
|
|
7232
7242
|
"onUpdate:modelValue": e.handleYearUpdate
|
|
@@ -7235,7 +7245,7 @@ function Mu(e, t, n, o, l, i) {
|
|
|
7235
7245
|
j("div", yu, [
|
|
7236
7246
|
S(Wt, { name: e.computedOptionsContainerName }, {
|
|
7237
7247
|
default: A(() => [
|
|
7238
|
-
(
|
|
7248
|
+
(y(), Y(s, {
|
|
7239
7249
|
key: e.year,
|
|
7240
7250
|
"model-value": e.computedValue,
|
|
7241
7251
|
locale: e.locale,
|
|
@@ -7322,7 +7332,7 @@ const hu = /* @__PURE__ */ W(pu, [["render", Mu]]), Iu = F({
|
|
|
7322
7332
|
}), vu = { class: "month-picker-value-display" };
|
|
7323
7333
|
function bu(e, t, n, o, l, i) {
|
|
7324
7334
|
const a = D("q-icon"), r = D("j-q-month-selector"), s = D("q-popup-proxy"), c = D("q-field");
|
|
7325
|
-
return
|
|
7335
|
+
return y(), Y(c, {
|
|
7326
7336
|
class: U(["j-q-date-month", {
|
|
7327
7337
|
"j-q-date-month--table": e.label,
|
|
7328
7338
|
"j-q-date-month--form": !e.label
|
|
@@ -7344,7 +7354,7 @@ function bu(e, t, n, o, l, i) {
|
|
|
7344
7354
|
])
|
|
7345
7355
|
]),
|
|
7346
7356
|
append: A(() => [
|
|
7347
|
-
e.computedValue && e.clearable && !e.computedDisabled ? (
|
|
7357
|
+
e.computedValue && e.clearable && !e.computedDisabled ? (y(), Y(a, {
|
|
7348
7358
|
key: 0,
|
|
7349
7359
|
name: "app:clear",
|
|
7350
7360
|
class: "cursor-pointer q-field__focusable-action",
|
|
@@ -7359,7 +7369,7 @@ function bu(e, t, n, o, l, i) {
|
|
|
7359
7369
|
S(s, {
|
|
7360
7370
|
modelValue: e.popupVisible,
|
|
7361
7371
|
"onUpdate:modelValue": t[2] || (t[2] = (u) => e.popupVisible = u),
|
|
7362
|
-
style: { "border-radius": "var(--j-q-
|
|
7372
|
+
style: { "border-radius": "var(--j-q-popup-border-radius)", "box-shadow": "var(--j-q-popup-box-shadow)", border: "var(--j-q-popup-border)", "margin-top": "var(--j-q-popup-margin-top) !important" }
|
|
7363
7373
|
}, {
|
|
7364
7374
|
default: A(() => [
|
|
7365
7375
|
S(r, Ae({
|
|
@@ -7435,7 +7445,7 @@ const zg = /* @__PURE__ */ W(Iu, [["render", bu]]), Du = (e) => {
|
|
|
7435
7445
|
}), Cu = { class: "year-picker-value-display" };
|
|
7436
7446
|
function Nu(e, t, n, o, l, i) {
|
|
7437
7447
|
const a = D("q-icon"), r = D("j-q-year-selector"), s = D("q-popup-proxy"), c = D("q-field");
|
|
7438
|
-
return
|
|
7448
|
+
return y(), Y(c, {
|
|
7439
7449
|
class: U(["j-q-date-year", {
|
|
7440
7450
|
"j-q-date-year--table": e.label,
|
|
7441
7451
|
"j-q-date-year--form": !e.label
|
|
@@ -7457,7 +7467,7 @@ function Nu(e, t, n, o, l, i) {
|
|
|
7457
7467
|
])
|
|
7458
7468
|
]),
|
|
7459
7469
|
append: A(() => [
|
|
7460
|
-
e.computedValue && e.clearable && !e.computedDisabled ? (
|
|
7470
|
+
e.computedValue && e.clearable && !e.computedDisabled ? (y(), Y(a, {
|
|
7461
7471
|
key: 0,
|
|
7462
7472
|
name: "app:clear",
|
|
7463
7473
|
class: "cursor-pointer q-field__focusable-action",
|
|
@@ -7632,70 +7642,70 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7632
7642
|
},
|
|
7633
7643
|
slots: Object,
|
|
7634
7644
|
setup(e, { slots: t }) {
|
|
7635
|
-
const { t: n } = ae(), o = (
|
|
7645
|
+
const { t: n } = ae(), o = (M) => M.visible === void 0 || M.visible === null ? !0 : typeof M.visible == "boolean" ? M.visible : typeof M.visible == "function" ? M.visible(e.data) : !0, l = N(() => e.items.filter((M) => o(M))), i = N(() => e.layout === "horizontal-left" ? {
|
|
7636
7646
|
"--label-width": e.labelWidth
|
|
7637
|
-
} : {}), a = N(() => e.items.filter((
|
|
7638
|
-
const { options: C, findByKey: T, displayKey: k = "label" } =
|
|
7647
|
+
} : {}), a = N(() => e.items.filter((M) => Reflect.has(t, `item-value-${M.name}`))), r = (M, g) => {
|
|
7648
|
+
const { options: C, findByKey: T, displayKey: k = "label" } = M;
|
|
7639
7649
|
if (!C || !T)
|
|
7640
7650
|
return g;
|
|
7641
7651
|
const w = C.find((v) => String(v[T]) === String(g));
|
|
7642
7652
|
return w ? w[k] : g;
|
|
7643
|
-
}, s = (
|
|
7644
|
-
let g = e.data[
|
|
7653
|
+
}, s = (M) => {
|
|
7654
|
+
let g = e.data[M.name];
|
|
7645
7655
|
if (g == null || g === "")
|
|
7646
7656
|
return "-";
|
|
7647
|
-
if (
|
|
7648
|
-
if (
|
|
7657
|
+
if (M.options && M.findByKey && (g = r(M, g)), M.format && typeof M.format == "function" && (g = M.format(g, e.data)), M.date) {
|
|
7658
|
+
if (M.date === !0 && typeof M.date == "boolean")
|
|
7649
7659
|
return bt(g);
|
|
7650
|
-
if (typeof
|
|
7651
|
-
return bt(g,
|
|
7660
|
+
if (typeof M.date == "string")
|
|
7661
|
+
return bt(g, M.date);
|
|
7652
7662
|
}
|
|
7653
7663
|
return String(g);
|
|
7654
|
-
}, c = (
|
|
7655
|
-
let g = e.data[
|
|
7656
|
-
const { options: C, findByKey: T } =
|
|
7664
|
+
}, c = (M) => {
|
|
7665
|
+
let g = e.data[M.name];
|
|
7666
|
+
const { options: C, findByKey: T } = M;
|
|
7657
7667
|
if (!C || !T)
|
|
7658
7668
|
return "";
|
|
7659
7669
|
const k = C.find((w) => String(w[T]) === String(g));
|
|
7660
7670
|
return k ? k.class : "";
|
|
7661
|
-
}, u = (
|
|
7671
|
+
}, u = (M) => M.onClick ? M.clickable === void 0 || M.clickable === null ? !0 : typeof M.clickable == "boolean" ? M.clickable : typeof M.clickable == "function" ? M.clickable(e.data) : !1 : !1;
|
|
7662
7672
|
return {
|
|
7663
7673
|
t: n,
|
|
7664
7674
|
visibleItems: l,
|
|
7665
7675
|
getOptionClass: c,
|
|
7666
7676
|
computedSlotItems: a,
|
|
7667
7677
|
getDefaultValue: s,
|
|
7668
|
-
getCopyValue: (
|
|
7669
|
-
let g = e.data[
|
|
7678
|
+
getCopyValue: (M) => {
|
|
7679
|
+
let g = e.data[M.name];
|
|
7670
7680
|
if (g == null || g === "")
|
|
7671
7681
|
return "";
|
|
7672
|
-
if (
|
|
7682
|
+
if (M.options && M.findByKey && (g = r(M, g)), M.format && typeof M.format == "function" && (g = M.format(g, e.data), typeof g == "string" && g.includes("<"))) {
|
|
7673
7683
|
const C = document.createElement("div");
|
|
7674
7684
|
C.innerHTML = g, g = C.textContent || C.innerText || "";
|
|
7675
7685
|
}
|
|
7676
|
-
if (
|
|
7677
|
-
if (
|
|
7686
|
+
if (M.date) {
|
|
7687
|
+
if (M.date === !0 && typeof M.date == "boolean")
|
|
7678
7688
|
return bt(g);
|
|
7679
|
-
if (typeof
|
|
7680
|
-
return bt(g,
|
|
7689
|
+
if (typeof M.date == "string")
|
|
7690
|
+
return bt(g, M.date);
|
|
7681
7691
|
}
|
|
7682
7692
|
return String(g);
|
|
7683
7693
|
},
|
|
7684
7694
|
slots: t,
|
|
7685
7695
|
containerStyle: i,
|
|
7686
7696
|
isClickable: u,
|
|
7687
|
-
handleClick: (
|
|
7688
|
-
if (!u(
|
|
7689
|
-
const g = s(
|
|
7690
|
-
|
|
7697
|
+
handleClick: (M) => {
|
|
7698
|
+
if (!u(M) || !M.onClick) return;
|
|
7699
|
+
const g = s(M);
|
|
7700
|
+
M.onClick(g);
|
|
7691
7701
|
},
|
|
7692
|
-
getHtmlStyle: (
|
|
7693
|
-
"-webkit-line-clamp":
|
|
7702
|
+
getHtmlStyle: (M) => ({
|
|
7703
|
+
"-webkit-line-clamp": M.whiteSpace || 1
|
|
7694
7704
|
}),
|
|
7695
|
-
handleDetailClick: (
|
|
7696
|
-
if (!
|
|
7697
|
-
const g = s(
|
|
7698
|
-
|
|
7705
|
+
handleDetailClick: (M) => {
|
|
7706
|
+
if (!M.onDetailClick) return;
|
|
7707
|
+
const g = s(M);
|
|
7708
|
+
M.onDetailClick(g, e.data);
|
|
7699
7709
|
}
|
|
7700
7710
|
};
|
|
7701
7711
|
}
|
|
@@ -7711,17 +7721,17 @@ const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
7711
7721
|
}, pc = ["onClick"];
|
|
7712
7722
|
function mc(e, t, n, o, l, i) {
|
|
7713
7723
|
const a = D("q-icon"), r = D("j-c-tooltip"), s = D("j-c-tooltip-ellipsis"), c = D("j-c-copy");
|
|
7714
|
-
return e.layout === "vertical" ? (
|
|
7724
|
+
return e.layout === "vertical" ? (y(), z("div", {
|
|
7715
7725
|
key: 0,
|
|
7716
7726
|
class: U(["row", e.gutter])
|
|
7717
7727
|
}, [
|
|
7718
|
-
(
|
|
7728
|
+
(y(!0), z(K, null, ie(e.visibleItems, (u) => (y(), z("div", {
|
|
7719
7729
|
key: u.name,
|
|
7720
7730
|
class: U([[`col-${u.span || 6}`], "detail-item-container"])
|
|
7721
7731
|
}, [
|
|
7722
7732
|
j("div", Gu, [
|
|
7723
7733
|
ee(V(u.label) + " ", 1),
|
|
7724
|
-
u.tip ? (
|
|
7734
|
+
u.tip ? (y(), Y(r, {
|
|
7725
7735
|
key: 0,
|
|
7726
7736
|
content: u.tip,
|
|
7727
7737
|
placement: "top"
|
|
@@ -7749,34 +7759,34 @@ function mc(e, t, n, o, l, i) {
|
|
|
7749
7759
|
item: u,
|
|
7750
7760
|
data: e.data,
|
|
7751
7761
|
fieldName: u.name
|
|
7752
|
-
}, void 0, !0) : u.html ? (
|
|
7762
|
+
}, void 0, !0) : u.html ? (y(), z("div", {
|
|
7753
7763
|
key: 1,
|
|
7754
7764
|
innerHTML: e.getDefaultValue(u),
|
|
7755
7765
|
class: U([e.getOptionClass(u), "html-content"]),
|
|
7756
7766
|
style: X(e.getHtmlStyle(u))
|
|
7757
|
-
}, null, 14, xu)) : u.detail ? (
|
|
7767
|
+
}, null, 14, xu)) : u.detail ? (y(), z("span", {
|
|
7758
7768
|
key: 2,
|
|
7759
7769
|
class: U(e.getOptionClass(u))
|
|
7760
|
-
}, V(e.getDefaultValue(u)), 3)) : (
|
|
7770
|
+
}, V(e.getDefaultValue(u)), 3)) : (y(), Y(s, {
|
|
7761
7771
|
key: 3,
|
|
7762
7772
|
content: e.getDefaultValue(u),
|
|
7763
7773
|
lines: u.whiteSpace || 1,
|
|
7764
7774
|
class: U(e.getOptionClass(u))
|
|
7765
7775
|
}, null, 8, ["content", "lines", "class"]))
|
|
7766
7776
|
], 10, _u),
|
|
7767
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (
|
|
7777
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), z("div", Ku, [
|
|
7768
7778
|
e.slots[`item-suffix-${u.name}`] ? R(e.$slots, `item-suffix-${u.name}`, {
|
|
7769
7779
|
key: 0,
|
|
7770
7780
|
value: e.data[u.name],
|
|
7771
7781
|
item: u,
|
|
7772
7782
|
data: e.data,
|
|
7773
7783
|
fieldName: u.name
|
|
7774
|
-
}, void 0, !0) : (
|
|
7775
|
-
u.copy ? (
|
|
7784
|
+
}, void 0, !0) : (y(), z(K, { key: 1 }, [
|
|
7785
|
+
u.copy ? (y(), Y(c, {
|
|
7776
7786
|
key: 0,
|
|
7777
7787
|
text: e.getCopyValue(u)
|
|
7778
7788
|
}, null, 8, ["text"])) : q("", !0),
|
|
7779
|
-
u.detail ? (
|
|
7789
|
+
u.detail ? (y(), z("span", {
|
|
7780
7790
|
key: 1,
|
|
7781
7791
|
class: "link-type q-ml-xs",
|
|
7782
7792
|
onClick: (d) => e.handleDetailClick(u)
|
|
@@ -7785,18 +7795,18 @@ function mc(e, t, n, o, l, i) {
|
|
|
7785
7795
|
])) : q("", !0)
|
|
7786
7796
|
], 2)
|
|
7787
7797
|
], 2))), 128))
|
|
7788
|
-
], 2)) : e.layout === "horizontal-between" ? (
|
|
7798
|
+
], 2)) : e.layout === "horizontal-between" ? (y(), z("div", {
|
|
7789
7799
|
key: 1,
|
|
7790
7800
|
class: U(["row horizontal-between-container", e.gutter])
|
|
7791
7801
|
}, [
|
|
7792
|
-
(
|
|
7802
|
+
(y(!0), z(K, null, ie(e.visibleItems, (u) => (y(), z("div", {
|
|
7793
7803
|
key: u.name,
|
|
7794
7804
|
class: U([`col-${u.span || 6}`])
|
|
7795
7805
|
}, [
|
|
7796
7806
|
j("div", ec, [
|
|
7797
7807
|
j("div", tc, [
|
|
7798
7808
|
ee(V(u.label) + " ", 1),
|
|
7799
|
-
u.tip ? (
|
|
7809
|
+
u.tip ? (y(), Y(r, {
|
|
7800
7810
|
key: 0,
|
|
7801
7811
|
content: u.tip,
|
|
7802
7812
|
placement: "top"
|
|
@@ -7822,34 +7832,34 @@ function mc(e, t, n, o, l, i) {
|
|
|
7822
7832
|
item: u,
|
|
7823
7833
|
data: e.data,
|
|
7824
7834
|
fieldName: u.name
|
|
7825
|
-
}, void 0, !0) : u.html ? (
|
|
7835
|
+
}, void 0, !0) : u.html ? (y(), z("div", {
|
|
7826
7836
|
key: 1,
|
|
7827
7837
|
innerHTML: e.getDefaultValue(u),
|
|
7828
7838
|
class: U([e.getOptionClass(u), "html-content"]),
|
|
7829
7839
|
style: X(e.getHtmlStyle(u))
|
|
7830
|
-
}, null, 14, lc)) : u.detail ? (
|
|
7840
|
+
}, null, 14, lc)) : u.detail ? (y(), z("span", {
|
|
7831
7841
|
key: 2,
|
|
7832
7842
|
class: U(e.getOptionClass(u))
|
|
7833
|
-
}, V(e.getDefaultValue(u)), 3)) : (
|
|
7843
|
+
}, V(e.getDefaultValue(u)), 3)) : (y(), Y(s, {
|
|
7834
7844
|
key: 3,
|
|
7835
7845
|
content: e.getDefaultValue(u),
|
|
7836
7846
|
lines: u.whiteSpace || 1,
|
|
7837
7847
|
class: U(e.getOptionClass(u))
|
|
7838
7848
|
}, null, 8, ["content", "lines", "class"]))
|
|
7839
7849
|
], 10, oc),
|
|
7840
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (
|
|
7850
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), z("div", ac, [
|
|
7841
7851
|
e.slots[`item-suffix-${u.name}`] ? R(e.$slots, `item-suffix-${u.name}`, {
|
|
7842
7852
|
key: 0,
|
|
7843
7853
|
value: e.data[u.name],
|
|
7844
7854
|
item: u,
|
|
7845
7855
|
data: e.data,
|
|
7846
7856
|
fieldName: u.name
|
|
7847
|
-
}, void 0, !0) : (
|
|
7848
|
-
u.copy ? (
|
|
7857
|
+
}, void 0, !0) : (y(), z(K, { key: 1 }, [
|
|
7858
|
+
u.copy ? (y(), Y(c, {
|
|
7849
7859
|
key: 0,
|
|
7850
7860
|
text: e.getCopyValue(u)
|
|
7851
7861
|
}, null, 8, ["text"])) : q("", !0),
|
|
7852
|
-
u.detail ? (
|
|
7862
|
+
u.detail ? (y(), z("span", {
|
|
7853
7863
|
key: 1,
|
|
7854
7864
|
class: "link-type q-ml-xs",
|
|
7855
7865
|
onClick: (d) => e.handleDetailClick(u)
|
|
@@ -7859,19 +7869,19 @@ function mc(e, t, n, o, l, i) {
|
|
|
7859
7869
|
])
|
|
7860
7870
|
])
|
|
7861
7871
|
], 2))), 128))
|
|
7862
|
-
], 2)) : e.layout === "horizontal-left" ? (
|
|
7872
|
+
], 2)) : e.layout === "horizontal-left" ? (y(), z("div", {
|
|
7863
7873
|
key: 2,
|
|
7864
7874
|
class: U(["row horizontal-left-container", e.gutter]),
|
|
7865
7875
|
style: X(e.containerStyle)
|
|
7866
7876
|
}, [
|
|
7867
|
-
(
|
|
7877
|
+
(y(!0), z(K, null, ie(e.visibleItems, (u) => (y(), z("div", {
|
|
7868
7878
|
key: u.name,
|
|
7869
7879
|
class: U([`col-${u.span || 6}`])
|
|
7870
7880
|
}, [
|
|
7871
7881
|
j("div", rc, [
|
|
7872
7882
|
j("div", sc, [
|
|
7873
7883
|
ee(V(u.label) + " ", 1),
|
|
7874
|
-
u.tip ? (
|
|
7884
|
+
u.tip ? (y(), Y(r, {
|
|
7875
7885
|
key: 0,
|
|
7876
7886
|
content: u.tip,
|
|
7877
7887
|
placement: "top"
|
|
@@ -7897,34 +7907,34 @@ function mc(e, t, n, o, l, i) {
|
|
|
7897
7907
|
item: u,
|
|
7898
7908
|
data: e.data,
|
|
7899
7909
|
fieldName: u.name
|
|
7900
|
-
}, void 0, !0) : u.html ? (
|
|
7910
|
+
}, void 0, !0) : u.html ? (y(), z("div", {
|
|
7901
7911
|
key: 1,
|
|
7902
7912
|
innerHTML: e.getDefaultValue(u),
|
|
7903
7913
|
class: U([e.getOptionClass(u), "html-content"]),
|
|
7904
7914
|
style: X(e.getHtmlStyle(u))
|
|
7905
|
-
}, null, 14, dc)) : u.detail ? (
|
|
7915
|
+
}, null, 14, dc)) : u.detail ? (y(), z("span", {
|
|
7906
7916
|
key: 2,
|
|
7907
7917
|
class: U(e.getOptionClass(u))
|
|
7908
|
-
}, V(e.getDefaultValue(u)), 3)) : (
|
|
7918
|
+
}, V(e.getDefaultValue(u)), 3)) : (y(), Y(s, {
|
|
7909
7919
|
key: 3,
|
|
7910
7920
|
content: e.getDefaultValue(u),
|
|
7911
7921
|
lines: u.whiteSpace || 1,
|
|
7912
7922
|
class: U(e.getOptionClass(u))
|
|
7913
7923
|
}, null, 8, ["content", "lines", "class"]))
|
|
7914
7924
|
], 10, cc),
|
|
7915
|
-
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (
|
|
7925
|
+
u.copy || u.detail || e.slots[`item-suffix-${u.name}`] ? (y(), z("div", fc, [
|
|
7916
7926
|
e.slots[`item-suffix-${u.name}`] ? R(e.$slots, `item-suffix-${u.name}`, {
|
|
7917
7927
|
key: 0,
|
|
7918
7928
|
value: e.data[u.name],
|
|
7919
7929
|
item: u,
|
|
7920
7930
|
data: e.data,
|
|
7921
7931
|
fieldName: u.name
|
|
7922
|
-
}, void 0, !0) : (
|
|
7923
|
-
u.copy ? (
|
|
7932
|
+
}, void 0, !0) : (y(), z(K, { key: 1 }, [
|
|
7933
|
+
u.copy ? (y(), Y(c, {
|
|
7924
7934
|
key: 0,
|
|
7925
7935
|
text: e.getCopyValue(u)
|
|
7926
7936
|
}, null, 8, ["text"])) : q("", !0),
|
|
7927
|
-
u.detail ? (
|
|
7937
|
+
u.detail ? (y(), z("span", {
|
|
7928
7938
|
key: 1,
|
|
7929
7939
|
class: "link-type q-ml-xs",
|
|
7930
7940
|
onClick: (d) => e.handleDetailClick(u)
|
|
@@ -7990,7 +8000,7 @@ const Lg = /* @__PURE__ */ W(Ju, [["render", mc], ["__scopeId", "data-v-8e603f72
|
|
|
7990
8000
|
r.value = !1;
|
|
7991
8001
|
const b = u((O = I.dataTransfer) == null ? void 0 : O.files);
|
|
7992
8002
|
b.length && d(b);
|
|
7993
|
-
},
|
|
8003
|
+
}, M = () => {
|
|
7994
8004
|
r.value = !0;
|
|
7995
8005
|
}, g = () => {
|
|
7996
8006
|
r.value = !0;
|
|
@@ -8022,7 +8032,7 @@ const Lg = /* @__PURE__ */ W(Ju, [["render", mc], ["__scopeId", "data-v-8e603f72
|
|
|
8022
8032
|
inputFile: p,
|
|
8023
8033
|
repickFile: k,
|
|
8024
8034
|
handleTemplateDownload: w,
|
|
8025
|
-
dragenter:
|
|
8035
|
+
dragenter: M,
|
|
8026
8036
|
dragover: g,
|
|
8027
8037
|
dragleave: C,
|
|
8028
8038
|
dropFile: m,
|
|
@@ -8055,7 +8065,7 @@ const Lg = /* @__PURE__ */ W(Ju, [["render", mc], ["__scopeId", "data-v-8e603f72
|
|
|
8055
8065
|
};
|
|
8056
8066
|
function Oc(e, t, n, o, l, i) {
|
|
8057
8067
|
const a = D("q-icon"), r = D("j-c-tooltip-ellipsis"), s = D("j-q-button"), c = D("q-btn"), u = D("q-field");
|
|
8058
|
-
return
|
|
8068
|
+
return y(), z("div", yc, [
|
|
8059
8069
|
S(u, {
|
|
8060
8070
|
modelValue: e.computedValue,
|
|
8061
8071
|
"onUpdate:modelValue": t[7] || (t[7] = (d) => e.computedValue = d),
|
|
@@ -8087,8 +8097,8 @@ function Oc(e, t, n, o, l, i) {
|
|
|
8087
8097
|
], 34), [
|
|
8088
8098
|
[Ie, e.computedValue.length !== Number(e.maxlength)]
|
|
8089
8099
|
]),
|
|
8090
|
-
e.computedValue.length ? (
|
|
8091
|
-
e.computedMaxlength === 1 ? (
|
|
8100
|
+
e.computedValue.length ? (y(), z(K, { key: 0 }, [
|
|
8101
|
+
e.computedMaxlength === 1 ? (y(), z("div", Ic, [
|
|
8092
8102
|
j("div", vc, [
|
|
8093
8103
|
S(a, {
|
|
8094
8104
|
name: "app:success",
|
|
@@ -8100,7 +8110,7 @@ function Oc(e, t, n, o, l, i) {
|
|
|
8100
8110
|
content: e.computedValue[0].name
|
|
8101
8111
|
}, null, 8, ["content"])
|
|
8102
8112
|
]),
|
|
8103
|
-
e.computedValue[0].size ? (
|
|
8113
|
+
e.computedValue[0].size ? (y(), z("div", Dc, "(" + V(e.getFileSizeDisplay(e.computedValue[0])) + ")", 1)) : q("", !0)
|
|
8104
8114
|
]),
|
|
8105
8115
|
j("div", Ac, [
|
|
8106
8116
|
ge(S(s, {
|
|
@@ -8130,8 +8140,8 @@ function Oc(e, t, n, o, l, i) {
|
|
|
8130
8140
|
_: 1
|
|
8131
8141
|
})
|
|
8132
8142
|
])
|
|
8133
|
-
])) : e.computedMaxlength > 1 ? (
|
|
8134
|
-
(
|
|
8143
|
+
])) : e.computedMaxlength > 1 ? (y(), z("ul", Cc, [
|
|
8144
|
+
(y(!0), z(K, null, ie(e.computedValue, (d, f) => (y(), z("li", {
|
|
8135
8145
|
key: f,
|
|
8136
8146
|
class: "filer-item"
|
|
8137
8147
|
}, [
|
|
@@ -8140,7 +8150,7 @@ function Oc(e, t, n, o, l, i) {
|
|
|
8140
8150
|
class: "filer-name text-black",
|
|
8141
8151
|
title: d.name
|
|
8142
8152
|
}, V(d.name), 9, wc),
|
|
8143
|
-
d.size ? (
|
|
8153
|
+
d.size ? (y(), z("div", jc, V(e.getFileSizeDisplay(d)), 1)) : q("", !0)
|
|
8144
8154
|
]),
|
|
8145
8155
|
S(c, {
|
|
8146
8156
|
class: "filer-remove",
|
|
@@ -8168,8 +8178,8 @@ function Oc(e, t, n, o, l, i) {
|
|
|
8168
8178
|
]),
|
|
8169
8179
|
_: 1
|
|
8170
8180
|
}, 8, ["modelValue", "disable", "rules"]),
|
|
8171
|
-
e.templateFiles.length ? (
|
|
8172
|
-
(
|
|
8181
|
+
e.templateFiles.length ? (y(), z("div", Tc, [
|
|
8182
|
+
(y(!0), z(K, null, ie(e.templateFiles, (d, f) => (y(), z("span", {
|
|
8173
8183
|
key: f,
|
|
8174
8184
|
class: "download-template-item",
|
|
8175
8185
|
onClick: (p) => e.handleTemplateDownload(d)
|
|
@@ -8180,10 +8190,10 @@ function Oc(e, t, n, o, l, i) {
|
|
|
8180
8190
|
class: "download-template-icon"
|
|
8181
8191
|
}),
|
|
8182
8192
|
j("span", kc, V(d.name), 1),
|
|
8183
|
-
f < e.templateFiles.length - 1 ? (
|
|
8193
|
+
f < e.templateFiles.length - 1 ? (y(), z("span", Lc, "|")) : q("", !0)
|
|
8184
8194
|
], 8, zc))), 128))
|
|
8185
8195
|
])) : q("", !0),
|
|
8186
|
-
e.hasSlotHint ? (
|
|
8196
|
+
e.hasSlotHint ? (y(), z("div", $c, [
|
|
8187
8197
|
R(e.$slots, "hint")
|
|
8188
8198
|
])) : q("", !0)
|
|
8189
8199
|
]);
|
|
@@ -8326,7 +8336,7 @@ const Vc = F({
|
|
|
8326
8336
|
);
|
|
8327
8337
|
const p = (g) => {
|
|
8328
8338
|
t("change", g, a.value);
|
|
8329
|
-
}, m = N(() => e.inputRules.some((g) => g("") !== !0)),
|
|
8339
|
+
}, m = N(() => e.inputRules.some((g) => g("") !== !0)), M = N(() => {
|
|
8330
8340
|
const g = [];
|
|
8331
8341
|
e.inputRules.length > 0 && g.push(...e.inputRules), m.value && g.push((T) => T && T.trim() && a.value.length === 0 ? o("messages.inputRecognize.noValidItems") : !0);
|
|
8332
8342
|
const C = e.max;
|
|
@@ -8352,7 +8362,7 @@ const Vc = F({
|
|
|
8352
8362
|
inputRef: l,
|
|
8353
8363
|
inputValue: i,
|
|
8354
8364
|
recognizedItems: a,
|
|
8355
|
-
computedInputRules:
|
|
8365
|
+
computedInputRules: M,
|
|
8356
8366
|
handleChange: p
|
|
8357
8367
|
};
|
|
8358
8368
|
}
|
|
@@ -8362,7 +8372,7 @@ const Vc = F({
|
|
|
8362
8372
|
}, Yc = { class: "recognized-label" }, Rc = { class: "recognized-items" };
|
|
8363
8373
|
function Qc(e, t, n, o, l, i) {
|
|
8364
8374
|
const a = D("j-q-input");
|
|
8365
|
-
return
|
|
8375
|
+
return y(), z("div", Pc, [
|
|
8366
8376
|
S(a, {
|
|
8367
8377
|
ref: "inputRef",
|
|
8368
8378
|
modelValue: e.inputValue,
|
|
@@ -8376,10 +8386,10 @@ function Qc(e, t, n, o, l, i) {
|
|
|
8376
8386
|
maxlength: e.maxlength,
|
|
8377
8387
|
onChange: e.handleChange
|
|
8378
8388
|
}, null, 8, ["modelValue", "rules", "dense", "outlined", "disable", "readonly", "maxlength", "onChange"]),
|
|
8379
|
-
e.recognizedItems.length > 0 ? (
|
|
8389
|
+
e.recognizedItems.length > 0 ? (y(), z("div", qc, [
|
|
8380
8390
|
j("div", Yc, V(e.t("messages.inputRecognize.recognized")), 1),
|
|
8381
8391
|
j("div", Rc, [
|
|
8382
|
-
(
|
|
8392
|
+
(y(!0), z(K, null, ie(e.recognizedItems, (r, s) => (y(), z("span", {
|
|
8383
8393
|
key: s,
|
|
8384
8394
|
class: "my-label black"
|
|
8385
8395
|
}, V(r), 1))), 128))
|
|
@@ -8411,10 +8421,10 @@ const Og = /* @__PURE__ */ W(Vc, [["render", Qc], ["__scopeId", "data-v-4f6676b2
|
|
|
8411
8421
|
"update:modelValue": (e) => !0
|
|
8412
8422
|
},
|
|
8413
8423
|
setup(e, { emit: t, expose: n, slots: o }) {
|
|
8414
|
-
const l = $(e.modelValue ?? []), i = $(null), { t: a } = ae(), r = $(""), s = N(() => Object.keys(o)), c = (m,
|
|
8415
|
-
|
|
8424
|
+
const l = $(e.modelValue ?? []), i = $(null), { t: a } = ae(), r = $(""), s = N(() => Object.keys(o)), c = (m, M) => {
|
|
8425
|
+
M(() => {
|
|
8416
8426
|
});
|
|
8417
|
-
}, u = (m,
|
|
8427
|
+
}, u = (m, M) => {
|
|
8418
8428
|
var C, T, k;
|
|
8419
8429
|
const g = m.trim();
|
|
8420
8430
|
if (r.value = "", g.length > 0) {
|
|
@@ -8428,7 +8438,7 @@ const Og = /* @__PURE__ */ W(Vc, [["render", Qc], ["__scopeId", "data-v-4f6676b2
|
|
|
8428
8438
|
}
|
|
8429
8439
|
let w = !0;
|
|
8430
8440
|
const { name: v, args: h } = di(e.addRulesName);
|
|
8431
|
-
e.addRulesName && (w = fi(v, g, h, a)), w === !0 &&
|
|
8441
|
+
e.addRulesName && (w = fi(v, g, h, a)), w === !0 && M(g, "add"), w !== !0 && (r.value = w, (k = i.value) == null || k.focus());
|
|
8432
8442
|
}
|
|
8433
8443
|
};
|
|
8434
8444
|
H(
|
|
@@ -8440,8 +8450,8 @@ const Og = /* @__PURE__ */ W(Vc, [["render", Qc], ["__scopeId", "data-v-4f6676b2
|
|
|
8440
8450
|
), H(
|
|
8441
8451
|
() => l.value,
|
|
8442
8452
|
(m) => {
|
|
8443
|
-
var
|
|
8444
|
-
t("update:modelValue", m), r.value = "", e.rules && e.rules.length > 0 && ((
|
|
8453
|
+
var M;
|
|
8454
|
+
t("update:modelValue", m), r.value = "", e.rules && e.rules.length > 0 && ((M = i.value) == null || M.validate());
|
|
8445
8455
|
}
|
|
8446
8456
|
);
|
|
8447
8457
|
const d = (m) => {
|
|
@@ -8476,7 +8486,7 @@ const Og = /* @__PURE__ */ W(Vc, [["render", Qc], ["__scopeId", "data-v-4f6676b2
|
|
|
8476
8486
|
}), Bc = { class: "select-selected-item" };
|
|
8477
8487
|
function Zc(e, t, n, o, l, i) {
|
|
8478
8488
|
const a = D("q-icon"), r = D("q-select");
|
|
8479
|
-
return
|
|
8489
|
+
return y(), Y(r, {
|
|
8480
8490
|
class: "j-q-select-new-value",
|
|
8481
8491
|
"model-value": e.innerModel,
|
|
8482
8492
|
"onUpdate:modelValue": e.handleUpdateModelValue,
|
|
@@ -8603,7 +8613,7 @@ const Eg = /* @__PURE__ */ W(Uc, [["render", Zc]]), Fc = F({
|
|
|
8603
8613
|
function Wc(e, t, n, o, l, i) {
|
|
8604
8614
|
var u;
|
|
8605
8615
|
const a = D("q-icon"), r = D("j-c-tooltip"), s = D("q-option-group"), c = D("q-field");
|
|
8606
|
-
return
|
|
8616
|
+
return y(), Y(c, {
|
|
8607
8617
|
class: U(["j-q-option-group no-border-field", [{ "inline-block": e.inline, "q-mb-xs": !((u = e.rules) != null && u.length) }, e.filedClass]]),
|
|
8608
8618
|
label: e.label,
|
|
8609
8619
|
disable: e.disable,
|
|
@@ -8632,7 +8642,7 @@ function Wc(e, t, n, o, l, i) {
|
|
|
8632
8642
|
}, {
|
|
8633
8643
|
label: A((d) => [
|
|
8634
8644
|
ee(V(d.label) + " ", 1),
|
|
8635
|
-
d.tip ? (
|
|
8645
|
+
d.tip ? (y(), Y(r, {
|
|
8636
8646
|
key: 0,
|
|
8637
8647
|
content: d.tip,
|
|
8638
8648
|
placement: "top"
|
|
@@ -8704,14 +8714,14 @@ const Vg = /* @__PURE__ */ W(Fc, [["render", Wc], ["__scopeId", "data-v-ba71bb49
|
|
|
8704
8714
|
}, c = () => {
|
|
8705
8715
|
var m;
|
|
8706
8716
|
e.trigger === "hover" && (i && (clearTimeout(i), i = null), e.showDelay > 0 ? l = setTimeout(() => {
|
|
8707
|
-
var
|
|
8708
|
-
return (
|
|
8717
|
+
var M;
|
|
8718
|
+
return (M = n.value) == null ? void 0 : M.show();
|
|
8709
8719
|
}, e.showDelay) : (m = n.value) == null || m.show());
|
|
8710
8720
|
}, u = () => {
|
|
8711
8721
|
var m;
|
|
8712
8722
|
e.trigger === "hover" && (l && (clearTimeout(l), l = null), e.hideDelay > 0 ? i = setTimeout(() => {
|
|
8713
|
-
var
|
|
8714
|
-
return (
|
|
8723
|
+
var M;
|
|
8724
|
+
return (M = n.value) == null ? void 0 : M.hide();
|
|
8715
8725
|
}, e.hideDelay) : (m = n.value) == null || m.hide());
|
|
8716
8726
|
};
|
|
8717
8727
|
return t({ show: () => {
|
|
@@ -8737,7 +8747,7 @@ const Vg = /* @__PURE__ */ W(Fc, [["render", Wc], ["__scopeId", "data-v-ba71bb49
|
|
|
8737
8747
|
}), Jc = { class: "text-body2 text-grey" };
|
|
8738
8748
|
function Gc(e, t, n, o, l, i) {
|
|
8739
8749
|
const a = D("q-card-section"), r = D("q-card"), s = D("q-popup-proxy");
|
|
8740
|
-
return
|
|
8750
|
+
return y(), z("div", {
|
|
8741
8751
|
ref: "rootRef",
|
|
8742
8752
|
class: "j-q-popover-root",
|
|
8743
8753
|
onClick: t[0] || (t[0] = (...c) => e.onTriggerClick && e.onTriggerClick(...c)),
|
|
@@ -8773,7 +8783,7 @@ function Gc(e, t, n, o, l, i) {
|
|
|
8773
8783
|
}, 8, ["offset"])
|
|
8774
8784
|
], 544);
|
|
8775
8785
|
}
|
|
8776
|
-
const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-
|
|
8786
|
+
const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-ed645f3a"]]), _c = F({
|
|
8777
8787
|
name: "jQSearchForm",
|
|
8778
8788
|
components: {
|
|
8779
8789
|
JQButton: ct
|
|
@@ -8822,13 +8832,13 @@ const Pg = /* @__PURE__ */ W(Hc, [["render", Gc], ["__scopeId", "data-v-5e18c4b3
|
|
|
8822
8832
|
}, nd = { class: "search-bar-extra-operation" };
|
|
8823
8833
|
function od(e, t, n, o, l, i) {
|
|
8824
8834
|
const a = D("j-q-button");
|
|
8825
|
-
return
|
|
8835
|
+
return y(), z("div", null, [
|
|
8826
8836
|
j("div", xc, [
|
|
8827
8837
|
j("div", Kc, [
|
|
8828
8838
|
j("div", Xc, [
|
|
8829
8839
|
j("div", ed, [
|
|
8830
8840
|
R(e.$slots, "default"),
|
|
8831
|
-
e.operationVisible ? (
|
|
8841
|
+
e.operationVisible ? (y(), z("div", td, [
|
|
8832
8842
|
S(a, {
|
|
8833
8843
|
loading: e.queryLoading,
|
|
8834
8844
|
onClick: e.handleClickQuery
|
|
@@ -8838,7 +8848,7 @@ function od(e, t, n, o, l, i) {
|
|
|
8838
8848
|
]),
|
|
8839
8849
|
_: 1
|
|
8840
8850
|
}, 8, ["loading", "onClick"]),
|
|
8841
|
-
e.resetVisible ? (
|
|
8851
|
+
e.resetVisible ? (y(), Y(a, {
|
|
8842
8852
|
key: 0,
|
|
8843
8853
|
class: "operation-reset",
|
|
8844
8854
|
loading: e.resetLoading,
|
|
@@ -8926,8 +8936,8 @@ const id = 15, rd = [10, 15, 20, 30, 50], sd = F({
|
|
|
8926
8936
|
label: n("messages.pagination.pieces_page", { count: p }),
|
|
8927
8937
|
value: p
|
|
8928
8938
|
}))), i = N(() => {
|
|
8929
|
-
const { total: p, pageSize: m } = o,
|
|
8930
|
-
return
|
|
8939
|
+
const { total: p, pageSize: m } = o, M = Math.ceil(p / m);
|
|
8940
|
+
return M < 1 ? 1 : M;
|
|
8931
8941
|
}), a = N(() => `${o.currentPage} / ${i.value}`), r = N(() => e.mini ? 5 : 6), s = N(() => {
|
|
8932
8942
|
const p = i.value.toString();
|
|
8933
8943
|
return Array(p.length).fill("#").join("");
|
|
@@ -8986,13 +8996,13 @@ const id = 15, rd = [10, 15, 20, 30, 50], sd = F({
|
|
|
8986
8996
|
}, fd = { class: "row items-center pagination-actions" }, pd = { class: "pagination-goto-text" }, md = { class: "pagination-goto-page" };
|
|
8987
8997
|
function gd(e, t, n, o, l, i) {
|
|
8988
8998
|
const a = D("q-inner-loading"), r = D("q-pagination"), s = D("q-select"), c = D("q-input");
|
|
8989
|
-
return
|
|
8999
|
+
return y(), z("div", ud, [
|
|
8990
9000
|
S(a, {
|
|
8991
9001
|
showing: e.loading,
|
|
8992
9002
|
color: "primary"
|
|
8993
9003
|
}, null, 8, ["showing"]),
|
|
8994
9004
|
j("div", cd, [
|
|
8995
|
-
e.mini ? q("", !0) : (
|
|
9005
|
+
e.mini ? q("", !0) : (y(), z("div", dd, [
|
|
8996
9006
|
j("span", null, V(e.t("messages.pagination.total", { total: e.internalInfo.total })), 1)
|
|
8997
9007
|
])),
|
|
8998
9008
|
j("div", fd, [
|
|
@@ -9014,7 +9024,7 @@ function gd(e, t, n, o, l, i) {
|
|
|
9014
9024
|
ripple: !1,
|
|
9015
9025
|
disable: e.loading
|
|
9016
9026
|
}, null, 8, ["modelValue", "max-pages", "max", "onUpdate:modelValue", "disable"]),
|
|
9017
|
-
e.mini ? q("", !0) : (
|
|
9027
|
+
e.mini ? q("", !0) : (y(), z(K, { key: 0 }, [
|
|
9018
9028
|
S(s, {
|
|
9019
9029
|
class: "pagination-size-select",
|
|
9020
9030
|
modelValue: e.internalInfo.pageSize,
|
|
@@ -9111,7 +9121,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9111
9121
|
}
|
|
9112
9122
|
t("update:selected", E), a.value = E;
|
|
9113
9123
|
}
|
|
9114
|
-
}), m = N(() => e.tableHeaderClass),
|
|
9124
|
+
}), m = N(() => e.tableHeaderClass), M = N(() => e.emptyDesc ?? l("messages.noData")), g = N(() => {
|
|
9115
9125
|
var L;
|
|
9116
9126
|
return ((L = e.columns) == null ? void 0 : L.filter((E) => Reflect.has(o, `header-cell-${E.name}`))) || [];
|
|
9117
9127
|
}), C = N(() => {
|
|
@@ -9304,7 +9314,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9304
9314
|
t: l,
|
|
9305
9315
|
JQTableRef: i,
|
|
9306
9316
|
computedSelected: p,
|
|
9307
|
-
computedEmptyDesc:
|
|
9317
|
+
computedEmptyDesc: M,
|
|
9308
9318
|
hasSlot: f,
|
|
9309
9319
|
computedTableHeaderClass: m,
|
|
9310
9320
|
computedSlotHeaderCellColumns: g,
|
|
@@ -9343,7 +9353,7 @@ const yd = /* @__PURE__ */ W(sd, [["render", gd]]), Md = F({
|
|
|
9343
9353
|
};
|
|
9344
9354
|
function Ad(e, t, n, o, l, i) {
|
|
9345
9355
|
const a = D("q-checkbox"), r = D("q-th"), s = D("q-td"), c = D("j-c-tooltip"), u = D("q-inner-loading"), d = D("q-table"), f = D("JQPagination");
|
|
9346
|
-
return
|
|
9356
|
+
return y(), z("div", {
|
|
9347
9357
|
class: "j-q-table-container",
|
|
9348
9358
|
style: X({
|
|
9349
9359
|
"--cell-max-width": `${e.cellMaxWidth}px`,
|
|
@@ -9398,9 +9408,9 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9398
9408
|
]),
|
|
9399
9409
|
"no-data": A(() => [
|
|
9400
9410
|
j("div", Id, [
|
|
9401
|
-
e.emptyTitle ? (
|
|
9411
|
+
e.emptyTitle ? (y(), z("div", vd, V(e.emptyTitle), 1)) : q("", !0),
|
|
9402
9412
|
j("div", bd, V(e.computedEmptyDesc), 1),
|
|
9403
|
-
e.hasSlot("empty-actions") ? (
|
|
9413
|
+
e.hasSlot("empty-actions") ? (y(), z("div", Dd, [
|
|
9404
9414
|
R(e.$slots, "empty-actions")
|
|
9405
9415
|
])) : q("", !0)
|
|
9406
9416
|
])
|
|
@@ -9448,7 +9458,7 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9448
9458
|
class: U(p.limitWidth ? "cell-limit-width" : "")
|
|
9449
9459
|
}, {
|
|
9450
9460
|
default: A(() => [
|
|
9451
|
-
p.limitWidth ? (
|
|
9461
|
+
p.limitWidth ? (y(), z("div", {
|
|
9452
9462
|
key: 0,
|
|
9453
9463
|
class: "cell-limit-width q-mr-lg",
|
|
9454
9464
|
style: X(e.getCellLimitWidthStyle(p))
|
|
@@ -9495,7 +9505,7 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9495
9505
|
default: A(() => [
|
|
9496
9506
|
j("div", {
|
|
9497
9507
|
class: U(e.getCellClass(p)),
|
|
9498
|
-
ref: (
|
|
9508
|
+
ref: (M) => e.setEllipsisRef(M, `${p.name}-${m.row[e.rowKey]}`)
|
|
9499
9509
|
}, V(e.formatColumnValue(p, m.value)), 3)
|
|
9500
9510
|
]),
|
|
9501
9511
|
_: 2
|
|
@@ -9513,7 +9523,7 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9513
9523
|
style: X(e.getCellStyle(p))
|
|
9514
9524
|
}, {
|
|
9515
9525
|
default: A(() => [
|
|
9516
|
-
e.isClickable(p, m.value, m.row) ? (
|
|
9526
|
+
e.isClickable(p, m.value, m.row) ? (y(), Y(c, {
|
|
9517
9527
|
key: 0,
|
|
9518
9528
|
content: e.formatColumnValue(p, m.value),
|
|
9519
9529
|
style: X(e.getCellStyle(p)),
|
|
@@ -9523,12 +9533,12 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9523
9533
|
default: A(() => [
|
|
9524
9534
|
j("div", {
|
|
9525
9535
|
class: U(["link-type", e.getCellClass(p)]),
|
|
9526
|
-
ref: p.whiteSpace ? (
|
|
9527
|
-
onClick: (
|
|
9536
|
+
ref: p.whiteSpace ? (M) => e.setEllipsisRef(M, `${p.name}-${m.row[e.rowKey]}`) : void 0,
|
|
9537
|
+
onClick: (M) => e.handleColumnClick(p, m.row)
|
|
9528
9538
|
}, V(e.formatColumnValue(p, m.value)), 11, hd)
|
|
9529
9539
|
]),
|
|
9530
9540
|
_: 2
|
|
9531
|
-
}, 1032, ["content", "style", "disabled"])) : (
|
|
9541
|
+
}, 1032, ["content", "style", "disabled"])) : (y(), Y(c, {
|
|
9532
9542
|
key: 1,
|
|
9533
9543
|
content: e.formatColumnValue(p, m.value),
|
|
9534
9544
|
style: X(e.getCellStyle(p)),
|
|
@@ -9538,7 +9548,7 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9538
9548
|
default: A(() => [
|
|
9539
9549
|
j("div", {
|
|
9540
9550
|
class: U(e.getCellClass(p)),
|
|
9541
|
-
ref: p.whiteSpace ? (
|
|
9551
|
+
ref: p.whiteSpace ? (M) => e.setEllipsisRef(M, `${p.name}-${m.row[e.rowKey]}`) : void 0
|
|
9542
9552
|
}, V(e.formatColumnValue(p, m.value)), 3)
|
|
9543
9553
|
]),
|
|
9544
9554
|
_: 2
|
|
@@ -9549,7 +9559,7 @@ function Ad(e, t, n, o, l, i) {
|
|
|
9549
9559
|
])
|
|
9550
9560
|
}))
|
|
9551
9561
|
]), 1040, ["selected", "class", "columns", "dense", "flat", "loading", "pagination", "row-key", "rows", "selection", "table-header-class", "table-row-class"]),
|
|
9552
|
-
!e.hidePagination && e.paginationInfo.rowsNumber ? (
|
|
9562
|
+
!e.hidePagination && e.paginationInfo.rowsNumber ? (y(), Y(f, {
|
|
9553
9563
|
key: 0,
|
|
9554
9564
|
"current-page": e.paginationInfo.page,
|
|
9555
9565
|
"onUpdate:currentPage": t[1] || (t[1] = (p) => e.paginationInfo.page = p),
|
|
@@ -9608,7 +9618,7 @@ const Yg = /* @__PURE__ */ W(Md, [["render", Ad]]), Cd = F({
|
|
|
9608
9618
|
};
|
|
9609
9619
|
function jd(e, t, n, o, l, i) {
|
|
9610
9620
|
const a = D("q-icon"), r = D("q-card-section"), s = D("j-q-button"), c = D("q-card"), u = D("q-dialog");
|
|
9611
|
-
return
|
|
9621
|
+
return y(), Y(u, {
|
|
9612
9622
|
ref: "dialogRef",
|
|
9613
9623
|
onHide: e.onDialogHide,
|
|
9614
9624
|
"transition-show": "jump-up",
|
|
@@ -9620,24 +9630,24 @@ function jd(e, t, n, o, l, i) {
|
|
|
9620
9630
|
default: A(() => [
|
|
9621
9631
|
S(r, { class: "row items-center no-wrap title-section" }, {
|
|
9622
9632
|
default: A(() => [
|
|
9623
|
-
e.icon ? (
|
|
9624
|
-
e.isIconString ? (
|
|
9633
|
+
e.icon ? (y(), z(K, { key: 0 }, [
|
|
9634
|
+
e.isIconString ? (y(), Y(a, {
|
|
9625
9635
|
key: 0,
|
|
9626
9636
|
name: e.icon,
|
|
9627
9637
|
class: "q-mr-sm",
|
|
9628
9638
|
size: "24px"
|
|
9629
|
-
}, null, 8, ["name"])) : (
|
|
9639
|
+
}, null, 8, ["name"])) : (y(), Y(fn(e.icon), {
|
|
9630
9640
|
key: 1,
|
|
9631
9641
|
class: "q-mr-sm"
|
|
9632
9642
|
}))
|
|
9633
|
-
], 64)) : e.isDelete ? (
|
|
9643
|
+
], 64)) : e.isDelete ? (y(), Y(a, {
|
|
9634
9644
|
key: 1,
|
|
9635
9645
|
name: "app:delete-confirm",
|
|
9636
9646
|
class: "q-mr-sm",
|
|
9637
9647
|
size: "24px"
|
|
9638
9648
|
})) : q("", !0),
|
|
9639
9649
|
j("div", Nd, V(e.title), 1),
|
|
9640
|
-
e.showClose ? (
|
|
9650
|
+
e.showClose ? (y(), z("div", wd, [
|
|
9641
9651
|
S(a, {
|
|
9642
9652
|
name: "app:dialog-close",
|
|
9643
9653
|
size: "16px",
|
|
@@ -9654,7 +9664,7 @@ function jd(e, t, n, o, l, i) {
|
|
|
9654
9664
|
}, null, 8, ["innerHTML"]),
|
|
9655
9665
|
S(r, { class: "row q-gutter-sm justify-end footer-section" }, {
|
|
9656
9666
|
default: A(() => [
|
|
9657
|
-
e.cancel ? (
|
|
9667
|
+
e.cancel ? (y(), Y(s, {
|
|
9658
9668
|
key: 0,
|
|
9659
9669
|
label: e.computedCancelText,
|
|
9660
9670
|
onClick: e.onCancelClick,
|