rtcpts 0.0.2 → 0.0.3
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-q-button/index.d.ts +102 -0
- package/dist/components/j-q-table/pagination.d.ts +19 -20
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/resolver.cjs +1 -0
- package/dist/resolver.d.ts +6 -0
- package/dist/resolver.mjs +37 -0
- package/dist/rtcpt-styles.css +1 -1
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +581 -430
- package/dist/utils/resolver.d.ts +8 -0
- package/package.json +7 -1
package/dist/rtcpt.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { QIcon as le, copyToClipboard as Zt, QBtn as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { i as
|
|
5
|
-
const en =
|
|
1
|
+
import { defineComponent as U, ref as h, computed as N, resolveComponent as A, createBlock as V, openBlock as m, createElementBlock as b, createCommentVNode as Y, Fragment as ee, renderList as ne, normalizeClass as Q, createElementVNode as y, renderSlot as E, createVNode as C, inject as ut, toDisplayString as T, watch as G, withCtx as I, normalizeStyle as H, getCurrentInstance as Et, resolveDirective as et, withDirectives as oe, vShow as ie, createTextVNode as W, Suspense as $t, resolveDynamicComponent as dt, mergeProps as Te, toHandlers as Yt, createApp as Vt, nextTick as de, onMounted as he, onUnmounted as Qt, h as Pt, createSlots as we, withModifiers as _, reactive as De, Transition as qt, normalizeProps as ue, guardReactiveProps as ge, onBeforeUnmount as Ut, withKeys as Bt, isRef as ct } from "vue";
|
|
2
|
+
import { QIcon as le, copyToClipboard as Zt, QBtn as re, QCardActions as Rt, QCardSection as ve, QCard as Se, QPopupProxy as Ae, ClosePopup as yt, QInnerLoading as It, QDialog as Dt, QInput as Qe, QTooltip as Le, QItemSection as At, QItem as Nt, QList as Wt, QMenu as xt, QTree as Gt, QField as ke, QDate as Ct, date as R, QSelect as tt, QOptionGroup as Ht, QSpinner as Ft, QPagination as Jt, QTd as Kt, QTh as Xt, QTable as _t, useDialogPluginComponent as Mt, setCssVar as Ce } from "quasar";
|
|
3
|
+
import { _ as B } from "./charts-DFQ978tO.js";
|
|
4
|
+
import { i as Ls, a as ks, b as Os, c as Es, d as $s, e as Ys } from "./charts-DFQ978tO.js";
|
|
5
|
+
const en = U({
|
|
6
6
|
name: "JCCopy",
|
|
7
7
|
components: {
|
|
8
8
|
QIcon: le
|
|
@@ -48,10 +48,10 @@ function tn(e, t, n, l, r, a) {
|
|
|
48
48
|
class: "cursor-pointer"
|
|
49
49
|
}, null, 8, ["name", "color", "onClick"]);
|
|
50
50
|
}
|
|
51
|
-
const nn = /* @__PURE__ */
|
|
51
|
+
const nn = /* @__PURE__ */ B(en, [["render", tn]]), ln = U({
|
|
52
52
|
name: "JCDuoListEditor",
|
|
53
53
|
components: {
|
|
54
|
-
QBtn:
|
|
54
|
+
QBtn: re
|
|
55
55
|
},
|
|
56
56
|
props: {
|
|
57
57
|
modelValue: {
|
|
@@ -111,8 +111,8 @@ const nn = /* @__PURE__ */ Z(en, [["render", tn]]), ln = B({
|
|
|
111
111
|
};
|
|
112
112
|
function rn(e, t, n, l, r, a) {
|
|
113
113
|
const i = A("q-btn");
|
|
114
|
-
return m(),
|
|
115
|
-
(m(!0),
|
|
114
|
+
return m(), b("div", null, [
|
|
115
|
+
(m(!0), b(ee, null, ne(e.innerValue, (o, s) => (m(), b("div", {
|
|
116
116
|
key: e.getKey(o, s),
|
|
117
117
|
class: Q(["q-mb-md list-item-row relative-position", { "compact-item": e.actionMode === "compact" }])
|
|
118
118
|
}, [
|
|
@@ -129,7 +129,7 @@ function rn(e, t, n, l, r, a) {
|
|
|
129
129
|
mode: e.actionMode
|
|
130
130
|
}, void 0, !0)
|
|
131
131
|
]),
|
|
132
|
-
e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (m(),
|
|
132
|
+
e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (m(), b("div", an, [
|
|
133
133
|
C(i, {
|
|
134
134
|
icon: "close",
|
|
135
135
|
flat: "",
|
|
@@ -141,7 +141,7 @@ function rn(e, t, n, l, r, a) {
|
|
|
141
141
|
}, null, 8, ["onClick"])
|
|
142
142
|
])) : Y("", !0)
|
|
143
143
|
], 2))), 128)),
|
|
144
|
-
e.actionMode === "compact" ? (m(),
|
|
144
|
+
e.actionMode === "compact" ? (m(), b("div", sn, [
|
|
145
145
|
E(e.$slots, "list-footer-actions", {
|
|
146
146
|
addItem: e.addItem,
|
|
147
147
|
canAdd: e.innerValue.length < e.maxItems && e.showAddButton,
|
|
@@ -160,7 +160,7 @@ function rn(e, t, n, l, r, a) {
|
|
|
160
160
|
])) : Y("", !0)
|
|
161
161
|
]);
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const os = /* @__PURE__ */ B(ln, [["render", rn], ["__scopeId", "data-v-22406c09"]]), jt = Symbol("pageActionPermissionId"), zt = Symbol("pagePermissionId"), un = U({
|
|
164
164
|
name: "JCPermission",
|
|
165
165
|
props: {
|
|
166
166
|
/**
|
|
@@ -213,14 +213,14 @@ const ts = /* @__PURE__ */ Z(ln, [["render", rn], ["__scopeId", "data-v-22406c09
|
|
|
213
213
|
}
|
|
214
214
|
}), dn = { key: 0 };
|
|
215
215
|
function cn(e, t, n, l, r, a) {
|
|
216
|
-
return e.hasPermission ? E(e.$slots, "default", { key: 0 }) : (m(),
|
|
217
|
-
e.rmDom ? Y("", !0) : (m(),
|
|
216
|
+
return e.hasPermission ? E(e.$slots, "default", { key: 0 }) : (m(), b(ee, { key: 1 }, [
|
|
217
|
+
e.rmDom ? Y("", !0) : (m(), b("span", dn, T(e.defaultContent), 1))
|
|
218
218
|
], 64));
|
|
219
219
|
}
|
|
220
|
-
const
|
|
220
|
+
const bt = /* @__PURE__ */ B(un, [["render", cn]]), Mn = async (e) => (await {
|
|
221
221
|
"zh-CN": () => import("./index-EGZV35Ev.js"),
|
|
222
222
|
"en-US": () => import("./index-CHKEi8Wc.js")
|
|
223
|
-
}[e]()).default,
|
|
223
|
+
}[e]()).default, We = {}, gn = async (e) => (We[e] || (We[e] = await Mn(e)), We[e]), mn = {
|
|
224
224
|
"zh-CN": () => import("./zh-CN-BoRskSmh.js"),
|
|
225
225
|
"en-US": () => import("./en-US-Di49EX5C.js")
|
|
226
226
|
}, nt = h("zh-CN"), Fe = h(null);
|
|
@@ -241,7 +241,7 @@ function fn(e, t) {
|
|
|
241
241
|
function yn(e, t) {
|
|
242
242
|
return t ? e.replace(/\{(\w+)\}/g, (n, l) => t[l] !== void 0 ? String(t[l]) : n) : e;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Tt(e, t) {
|
|
245
245
|
if (!Fe.value)
|
|
246
246
|
return console.warn("[rtcpt] i18n messages not loaded yet, please call setLocale first"), e;
|
|
247
247
|
const n = fn(Fe.value, e);
|
|
@@ -266,22 +266,22 @@ function ht() {
|
|
|
266
266
|
}
|
|
267
267
|
function K() {
|
|
268
268
|
return {
|
|
269
|
-
t:
|
|
269
|
+
t: Tt,
|
|
270
270
|
locale: nt,
|
|
271
271
|
setLocale: Ke,
|
|
272
272
|
getLocale: ht
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
|
-
const In =
|
|
275
|
+
const In = U({
|
|
276
276
|
name: "JCEditableProxy",
|
|
277
277
|
components: {
|
|
278
|
-
JCPermission:
|
|
278
|
+
JCPermission: bt,
|
|
279
279
|
QPopupProxy: Ae,
|
|
280
280
|
QIcon: le,
|
|
281
|
-
QCard:
|
|
282
|
-
QCardSection:
|
|
281
|
+
QCard: Se,
|
|
282
|
+
QCardSection: ve,
|
|
283
283
|
QCardActions: Rt,
|
|
284
|
-
QBtn:
|
|
284
|
+
QBtn: re
|
|
285
285
|
},
|
|
286
286
|
inheritAttrs: !1,
|
|
287
287
|
props: {
|
|
@@ -332,13 +332,13 @@ const In = B({
|
|
|
332
332
|
if (r.value !== e.modelValue) {
|
|
333
333
|
i.value = !0;
|
|
334
334
|
const p = (D = {}) => {
|
|
335
|
-
var $, j,
|
|
335
|
+
var $, j, w;
|
|
336
336
|
const { success: S = !0, close: v = S, resetValue: q = !S } = D;
|
|
337
337
|
if (i.value = !1, S) {
|
|
338
338
|
g();
|
|
339
339
|
return;
|
|
340
340
|
}
|
|
341
|
-
q && (r.value = e.modelValue ?? "", (j = ($ = a.value) == null ? void 0 : $.resetValidation) == null || j.call($)), v && ((
|
|
341
|
+
q && (r.value = e.modelValue ?? "", (j = ($ = a.value) == null ? void 0 : $.resetValidation) == null || j.call($)), v && ((w = l.value) == null || w.hide());
|
|
342
342
|
};
|
|
343
343
|
t("confirm", r.value, p);
|
|
344
344
|
return;
|
|
@@ -366,10 +366,10 @@ const In = B({
|
|
|
366
366
|
}), Dn = { class: "row items-end no-wrap jc-editable-proxy" }, An = { class: "q-pr-sm display-value" };
|
|
367
367
|
function Nn(e, t, n, l, r, a) {
|
|
368
368
|
const i = A("q-card-section"), o = A("q-btn"), s = A("q-card-actions"), c = A("q-card"), u = A("q-popup-proxy"), g = A("q-icon"), M = A("j-c-permission");
|
|
369
|
-
return m(),
|
|
369
|
+
return m(), b("div", Dn, [
|
|
370
370
|
y("div", An, [
|
|
371
371
|
E(e.$slots, "display", {}, () => [
|
|
372
|
-
y("span", null,
|
|
372
|
+
y("span", null, T(e.modelValue), 1)
|
|
373
373
|
], !0)
|
|
374
374
|
]),
|
|
375
375
|
C(M, {
|
|
@@ -435,7 +435,7 @@ function Nn(e, t, n, l, r, a) {
|
|
|
435
435
|
}, 8, ["code"])
|
|
436
436
|
]);
|
|
437
437
|
}
|
|
438
|
-
const
|
|
438
|
+
const as = /* @__PURE__ */ B(In, [["render", Nn], ["__scopeId", "data-v-ab93db6b"]]), Cn = U({
|
|
439
439
|
name: "JCFallback",
|
|
440
440
|
props: {
|
|
441
441
|
/**
|
|
@@ -485,12 +485,12 @@ const ns = /* @__PURE__ */ Z(In, [["render", Nn], ["__scopeId", "data-v-ab93db6b
|
|
|
485
485
|
}
|
|
486
486
|
}), jn = { key: 0 };
|
|
487
487
|
function zn(e, t, n, l, r, a) {
|
|
488
|
-
return e.hasValue ? E(e.$slots, "default", { key: 0 }) : (m(),
|
|
489
|
-
e.rmDom ? Y("", !0) : (m(),
|
|
488
|
+
return e.hasValue ? E(e.$slots, "default", { key: 0 }) : (m(), b(ee, { key: 1 }, [
|
|
489
|
+
e.rmDom ? Y("", !0) : (m(), b("span", jn, T(e.defaultContent), 1))
|
|
490
490
|
], 64));
|
|
491
491
|
}
|
|
492
|
-
const
|
|
493
|
-
function
|
|
492
|
+
const ss = /* @__PURE__ */ B(Cn, [["render", zn]]);
|
|
493
|
+
function bn(e) {
|
|
494
494
|
if (!e)
|
|
495
495
|
return { name: "", args: [] };
|
|
496
496
|
const t = e.match(/^([a-zA-Z]+)\(([^)]*)\)$/);
|
|
@@ -529,7 +529,7 @@ function Tn(e) {
|
|
|
529
529
|
}
|
|
530
530
|
return { name: e, args: [] };
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Tn(e, t, n = [], l) {
|
|
533
533
|
const a = lt(l)[e];
|
|
534
534
|
if (!a)
|
|
535
535
|
return console.warn(`Rule '${e}' not found in formRules.`), !0;
|
|
@@ -697,11 +697,11 @@ class wn {
|
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
|
-
const
|
|
700
|
+
const Ve = new wn();
|
|
701
701
|
function vn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
|
|
702
702
|
const n = e[0], { size: l, accept: r } = t, { t: a } = K();
|
|
703
703
|
if (l < n.size / Math.pow(1024, l)) {
|
|
704
|
-
|
|
704
|
+
Ve.show({
|
|
705
705
|
content: a("messages.jQFile.maxFileSizeIs", { max: l }),
|
|
706
706
|
type: "error"
|
|
707
707
|
});
|
|
@@ -709,7 +709,7 @@ function vn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
|
|
|
709
709
|
}
|
|
710
710
|
let i = n.name.substring(n.name.lastIndexOf(".")).toLowerCase();
|
|
711
711
|
if (i = i.replace(".", ""), r.indexOf(i) === -1) {
|
|
712
|
-
|
|
712
|
+
Ve.show({
|
|
713
713
|
content: a("messages.jQFile.unsupportFileFormat"),
|
|
714
714
|
type: "error"
|
|
715
715
|
});
|
|
@@ -717,14 +717,14 @@ function vn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
|
|
|
717
717
|
}
|
|
718
718
|
return e;
|
|
719
719
|
}
|
|
720
|
-
const Sn =
|
|
720
|
+
const Sn = U({
|
|
721
721
|
name: "jQDialog",
|
|
722
722
|
components: {
|
|
723
723
|
QDialog: Dt,
|
|
724
|
-
QCard:
|
|
725
|
-
QCardSection:
|
|
724
|
+
QCard: Se,
|
|
725
|
+
QCardSection: ve,
|
|
726
726
|
QInnerLoading: It,
|
|
727
|
-
QBtn:
|
|
727
|
+
QBtn: re
|
|
728
728
|
},
|
|
729
729
|
directives: {
|
|
730
730
|
ClosePopup: yt
|
|
@@ -757,7 +757,7 @@ const Sn = B({
|
|
|
757
757
|
...e.componentBind,
|
|
758
758
|
dialogInstance: {
|
|
759
759
|
open: j,
|
|
760
|
-
close:
|
|
760
|
+
close: w,
|
|
761
761
|
setLoading: O,
|
|
762
762
|
changeCancelText: S,
|
|
763
763
|
changeConfirmText: v,
|
|
@@ -774,22 +774,22 @@ const Sn = B({
|
|
|
774
774
|
u.value = P;
|
|
775
775
|
}, q = () => {
|
|
776
776
|
var P, J, te;
|
|
777
|
-
((P = o == null ? void 0 : o.refs) == null ? void 0 : P.dynamicCompRef).handleClickCancel && ((J = o == null ? void 0 : o.refs) == null ? void 0 : J.dynamicCompRef).handleClickCancel(), ((te = o == null ? void 0 : o.refs) == null ? void 0 : te.dynamicCompRef).handleClickCancel ||
|
|
777
|
+
((P = o == null ? void 0 : o.refs) == null ? void 0 : P.dynamicCompRef).handleClickCancel && ((J = o == null ? void 0 : o.refs) == null ? void 0 : J.dynamicCompRef).handleClickCancel(), ((te = o == null ? void 0 : o.refs) == null ? void 0 : te.dynamicCompRef).handleClickCancel || w();
|
|
778
778
|
}, $ = () => {
|
|
779
779
|
var P, J;
|
|
780
780
|
((P = o == null ? void 0 : o.refs) == null ? void 0 : P.dynamicCompRef).handleClickConfirm && ((J = o == null ? void 0 : o.refs) == null ? void 0 : J.dynamicCompRef).handleClickConfirm();
|
|
781
781
|
}, j = () => {
|
|
782
782
|
l.value = !0;
|
|
783
|
-
},
|
|
783
|
+
}, w = () => {
|
|
784
784
|
l.value = !1;
|
|
785
785
|
}, O = (P) => {
|
|
786
786
|
r.value = P;
|
|
787
787
|
}, k = (P) => {
|
|
788
788
|
i.value = P;
|
|
789
|
-
},
|
|
789
|
+
}, Z = () => {
|
|
790
790
|
e.dialogId && ot.destroy(e.dialogId);
|
|
791
791
|
};
|
|
792
|
-
return n({ open: j, close:
|
|
792
|
+
return n({ open: j, close: w, setLoading: O, setConfirmVisible: k, changeCancelText: S, changeConfirmText: v, rules: g }), {
|
|
793
793
|
persistent: D,
|
|
794
794
|
dynamicCompRef: a,
|
|
795
795
|
cancelText: c,
|
|
@@ -799,8 +799,8 @@ const Sn = B({
|
|
|
799
799
|
computedComponentBind: d,
|
|
800
800
|
computedDialogWidth: p,
|
|
801
801
|
open: j,
|
|
802
|
-
close:
|
|
803
|
-
destroy:
|
|
802
|
+
close: w,
|
|
803
|
+
destroy: Z,
|
|
804
804
|
handleClickCancel: q,
|
|
805
805
|
handleClickConfirm: $,
|
|
806
806
|
confirmBtnVisible: i,
|
|
@@ -850,7 +850,7 @@ function En(e, t, n, l, r, a) {
|
|
|
850
850
|
default: I(() => [
|
|
851
851
|
y("div", kn, [
|
|
852
852
|
E(e.$slots, "title", {}, () => [
|
|
853
|
-
|
|
853
|
+
W(T(e.title), 1)
|
|
854
854
|
], !0)
|
|
855
855
|
]),
|
|
856
856
|
oe(C(o, {
|
|
@@ -873,7 +873,7 @@ function En(e, t, n, l, r, a) {
|
|
|
873
873
|
style: H({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
|
|
874
874
|
}, {
|
|
875
875
|
default: I(() => [
|
|
876
|
-
e.component ? (m(), V(dt(e.component),
|
|
876
|
+
e.component ? (m(), V(dt(e.component), Te({ key: 0 }, e.computedComponentBind, Yt(e.componentOn), { ref: "dynamicCompRef" }), null, 16)) : e.content ? (m(), V(dt(e.content), { key: 1 })) : Y("", !0),
|
|
877
877
|
E(e.$slots, "default", {}, void 0, !0)
|
|
878
878
|
]),
|
|
879
879
|
_: 3
|
|
@@ -929,9 +929,9 @@ function En(e, t, n, l, r, a) {
|
|
|
929
929
|
_: 3
|
|
930
930
|
}, 8, ["class", "modelValue", "allow-focus-outside", "no-backdrop-dismiss", "no-esc-dismiss", "position", "onHide", "persistent", "full-height", "transition-show", "transition-hide"]);
|
|
931
931
|
}
|
|
932
|
-
const $n = /* @__PURE__ */
|
|
932
|
+
const $n = /* @__PURE__ */ B(Sn, [["render", En], ["__scopeId", "data-v-c4f8c6ec"]]), xe = /* @__PURE__ */ new Map();
|
|
933
933
|
function Yn(e) {
|
|
934
|
-
return lt(e ||
|
|
934
|
+
return lt(e || Tt);
|
|
935
935
|
}
|
|
936
936
|
let ae = {};
|
|
937
937
|
const ot = {
|
|
@@ -956,15 +956,15 @@ const ot = {
|
|
|
956
956
|
const o = document.createElement("div");
|
|
957
957
|
document.body.appendChild(o);
|
|
958
958
|
const s = n.mount(o);
|
|
959
|
-
return
|
|
959
|
+
return xe.set(t, { app: n, appInstance: s }), de(() => {
|
|
960
960
|
s.open();
|
|
961
961
|
}).then((c) => c), s;
|
|
962
962
|
},
|
|
963
963
|
destroy(e) {
|
|
964
|
-
const t =
|
|
965
|
-
t && (t.app.unmount(), document.body.removeChild(t.app._container),
|
|
964
|
+
const t = xe.get(e);
|
|
965
|
+
t && (t.app.unmount(), document.body.removeChild(t.app._container), xe.delete(e));
|
|
966
966
|
}
|
|
967
|
-
}, Vn =
|
|
967
|
+
}, Vn = U({
|
|
968
968
|
name: "JCFoldableList",
|
|
969
969
|
props: {
|
|
970
970
|
maxHeight: {
|
|
@@ -1019,10 +1019,10 @@ const ot = {
|
|
|
1019
1019
|
}, d = () => {
|
|
1020
1020
|
e.viewInDialog ? M() : r.value = !r.value;
|
|
1021
1021
|
};
|
|
1022
|
-
return
|
|
1023
|
-
|
|
1022
|
+
return he(() => {
|
|
1023
|
+
de(() => {
|
|
1024
1024
|
c(), n.value && (a = new MutationObserver(() => {
|
|
1025
|
-
|
|
1025
|
+
de(c);
|
|
1026
1026
|
}), a.observe(n.value, {
|
|
1027
1027
|
childList: !0,
|
|
1028
1028
|
subtree: !0
|
|
@@ -1038,7 +1038,7 @@ const ot = {
|
|
|
1038
1038
|
toggleList: d,
|
|
1039
1039
|
currentStyle: g,
|
|
1040
1040
|
remeasure: () => {
|
|
1041
|
-
i = 0,
|
|
1041
|
+
i = 0, de(c);
|
|
1042
1042
|
}
|
|
1043
1043
|
};
|
|
1044
1044
|
}
|
|
@@ -1047,7 +1047,7 @@ const ot = {
|
|
|
1047
1047
|
class: "jc-toggle-overlay"
|
|
1048
1048
|
};
|
|
1049
1049
|
function Un(e, t, n, l, r, a) {
|
|
1050
|
-
return m(),
|
|
1050
|
+
return m(), b("div", Qn, [
|
|
1051
1051
|
y("div", Pn, [
|
|
1052
1052
|
y("div", {
|
|
1053
1053
|
ref: "contentWrapperRef",
|
|
@@ -1056,22 +1056,22 @@ function Un(e, t, n, l, r, a) {
|
|
|
1056
1056
|
}, [
|
|
1057
1057
|
E(e.$slots, "default", {}, void 0, !0)
|
|
1058
1058
|
], 6),
|
|
1059
|
-
e.needsToggle ? (m(),
|
|
1059
|
+
e.needsToggle ? (m(), b("div", qn, [
|
|
1060
1060
|
y("span", {
|
|
1061
1061
|
class: "link-type",
|
|
1062
1062
|
onClick: t[0] || (t[0] = (...i) => e.toggleList && e.toggleList(...i))
|
|
1063
1063
|
}, [
|
|
1064
|
-
e.viewInDialog ? (m(),
|
|
1065
|
-
|
|
1066
|
-
], 64)) : (m(),
|
|
1067
|
-
|
|
1064
|
+
e.viewInDialog ? (m(), b(ee, { key: 0 }, [
|
|
1065
|
+
W(T(e.t("action.viewAll")), 1)
|
|
1066
|
+
], 64)) : (m(), b(ee, { key: 1 }, [
|
|
1067
|
+
W(T(e.isCollapsed ? e.t("action.expandAll") : e.t("action.collapseAll")), 1)
|
|
1068
1068
|
], 64))
|
|
1069
1069
|
])
|
|
1070
1070
|
])) : Y("", !0)
|
|
1071
1071
|
])
|
|
1072
1072
|
]);
|
|
1073
1073
|
}
|
|
1074
|
-
const
|
|
1074
|
+
const is = /* @__PURE__ */ B(Vn, [["render", Un], ["__scopeId", "data-v-48376fdd"]]), Bn = U({
|
|
1075
1075
|
name: "JCFormatLookup",
|
|
1076
1076
|
props: {
|
|
1077
1077
|
/**
|
|
@@ -1130,15 +1130,15 @@ function Rn(e, t, n, l, r, a) {
|
|
|
1130
1130
|
key: 0,
|
|
1131
1131
|
label: e.displayLabel
|
|
1132
1132
|
}, () => [
|
|
1133
|
-
y("span", null,
|
|
1134
|
-
]) : (m(),
|
|
1135
|
-
e.rmDom ? Y("", !0) : (m(),
|
|
1133
|
+
y("span", null, T(e.displayLabel), 1)
|
|
1134
|
+
]) : (m(), b(ee, { key: 1 }, [
|
|
1135
|
+
e.rmDom ? Y("", !0) : (m(), b("span", Zn, T(e.defaultContent), 1))
|
|
1136
1136
|
], 64));
|
|
1137
1137
|
}
|
|
1138
|
-
const
|
|
1138
|
+
const rs = /* @__PURE__ */ B(Bn, [["render", Rn]]), Wn = U({
|
|
1139
1139
|
name: "JQInput",
|
|
1140
1140
|
components: {
|
|
1141
|
-
QInput:
|
|
1141
|
+
QInput: Qe
|
|
1142
1142
|
},
|
|
1143
1143
|
props: {
|
|
1144
1144
|
modelValue: { type: [String, Number] },
|
|
@@ -1227,7 +1227,7 @@ const as = /* @__PURE__ */ Z(Bn, [["render", Rn]]), xn = B({
|
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
1229
|
});
|
|
1230
|
-
function
|
|
1230
|
+
function xn(e, t, n, l, r, a) {
|
|
1231
1231
|
const i = A("q-input");
|
|
1232
1232
|
return m(), V(i, {
|
|
1233
1233
|
class: Q(["j-q-input", e.computedClass]),
|
|
@@ -1250,7 +1250,7 @@ function Wn(e, t, n, l, r, a) {
|
|
|
1250
1250
|
clearable: "",
|
|
1251
1251
|
ref: "qInputRef",
|
|
1252
1252
|
autofocus: !1
|
|
1253
|
-
},
|
|
1253
|
+
}, we({ _: 2 }, [
|
|
1254
1254
|
e.$slots.prepend ? {
|
|
1255
1255
|
name: "prepend",
|
|
1256
1256
|
fn: I(() => [
|
|
@@ -1280,11 +1280,11 @@ function Wn(e, t, n, l, r, a) {
|
|
|
1280
1280
|
} : void 0
|
|
1281
1281
|
]), 1032, ["class", "model-value", "borderless", "dense", "disable", "label", "maxlength", "outlined", "readonly", "rules", "type", "bg-color", "onChange", "placeholder"]);
|
|
1282
1282
|
}
|
|
1283
|
-
const wt = /* @__PURE__ */
|
|
1283
|
+
const wt = /* @__PURE__ */ B(Wn, [["render", xn]]), Gn = U({
|
|
1284
1284
|
name: "JQFormLabel",
|
|
1285
1285
|
components: {
|
|
1286
1286
|
QIcon: le,
|
|
1287
|
-
QTooltip:
|
|
1287
|
+
QTooltip: Le
|
|
1288
1288
|
},
|
|
1289
1289
|
props: {
|
|
1290
1290
|
label: { type: String },
|
|
@@ -1310,15 +1310,15 @@ const wt = /* @__PURE__ */ Z(xn, [["render", Wn]]), Gn = B({
|
|
|
1310
1310
|
}), Hn = { class: "row items-center" }, Fn = { class: "form-content" }, Jn = { class: "form-value__inner" }, Kn = { class: "form-item-detail-wrapper" };
|
|
1311
1311
|
function Xn(e, t, n, l, r, a) {
|
|
1312
1312
|
const i = A("q-tooltip"), o = A("q-icon");
|
|
1313
|
-
return m(),
|
|
1313
|
+
return m(), b("div", {
|
|
1314
1314
|
class: Q(["j-q-form-label", [e.directionClass, { required: e.required }]])
|
|
1315
1315
|
}, [
|
|
1316
|
-
e.showLabel ? (m(),
|
|
1316
|
+
e.showLabel ? (m(), b("div", {
|
|
1317
1317
|
key: 0,
|
|
1318
1318
|
class: Q(["form-label", [e.labelClass, { required: e.required }]])
|
|
1319
1319
|
}, [
|
|
1320
1320
|
y("div", Hn, [
|
|
1321
|
-
|
|
1321
|
+
W(T(e.label) + " ", 1),
|
|
1322
1322
|
e.tip ? (m(), V(o, {
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
name: "app:question",
|
|
@@ -1332,7 +1332,7 @@ function Xn(e, t, n, l, r, a) {
|
|
|
1332
1332
|
offset: [10, 10]
|
|
1333
1333
|
}, {
|
|
1334
1334
|
default: I(() => [
|
|
1335
|
-
|
|
1335
|
+
W(T(e.tip), 1)
|
|
1336
1336
|
]),
|
|
1337
1337
|
_: 1
|
|
1338
1338
|
})
|
|
@@ -1356,12 +1356,12 @@ function Xn(e, t, n, l, r, a) {
|
|
|
1356
1356
|
])
|
|
1357
1357
|
], 2);
|
|
1358
1358
|
}
|
|
1359
|
-
const _n = /* @__PURE__ */
|
|
1359
|
+
const _n = /* @__PURE__ */ B(Gn, [["render", Xn]]), el = U({
|
|
1360
1360
|
name: "jCListEditor",
|
|
1361
1361
|
components: {
|
|
1362
1362
|
JQFormLabel: _n,
|
|
1363
1363
|
JQInput: wt,
|
|
1364
|
-
QBtn:
|
|
1364
|
+
QBtn: re
|
|
1365
1365
|
},
|
|
1366
1366
|
props: {
|
|
1367
1367
|
modelValue: {
|
|
@@ -1409,13 +1409,13 @@ const _n = /* @__PURE__ */ Z(Gn, [["render", Xn]]), el = B({
|
|
|
1409
1409
|
}), tl = { class: "col-6" }, nl = { style: { "margin-top": "4px" } };
|
|
1410
1410
|
function ll(e, t, n, l, r, a) {
|
|
1411
1411
|
const i = A("j-q-input"), o = A("q-btn"), s = A("j-q-form-label");
|
|
1412
|
-
return m(),
|
|
1412
|
+
return m(), b("div", null, [
|
|
1413
1413
|
C(s, {
|
|
1414
1414
|
label: e.label,
|
|
1415
1415
|
required: e.required
|
|
1416
1416
|
}, {
|
|
1417
1417
|
default: I(() => [
|
|
1418
|
-
(m(!0),
|
|
1418
|
+
(m(!0), b(ee, null, ne(e.innerValue, (c, u) => (m(), b("div", {
|
|
1419
1419
|
key: u,
|
|
1420
1420
|
class: "row q-col-gutter-sm"
|
|
1421
1421
|
}, [
|
|
@@ -1460,15 +1460,15 @@ function ll(e, t, n, l, r, a) {
|
|
|
1460
1460
|
}, 8, ["label", "required"])
|
|
1461
1461
|
]);
|
|
1462
1462
|
}
|
|
1463
|
-
const
|
|
1463
|
+
const us = /* @__PURE__ */ B(el, [["render", ll]]), ol = U({
|
|
1464
1464
|
name: "JCMoreMenu",
|
|
1465
1465
|
components: {
|
|
1466
1466
|
QIcon: le,
|
|
1467
|
-
QMenu:
|
|
1468
|
-
QList:
|
|
1467
|
+
QMenu: xt,
|
|
1468
|
+
QList: Wt,
|
|
1469
1469
|
QItem: Nt,
|
|
1470
1470
|
QItemSection: At,
|
|
1471
|
-
JCPermission:
|
|
1471
|
+
JCPermission: bt
|
|
1472
1472
|
},
|
|
1473
1473
|
props: {
|
|
1474
1474
|
item: {
|
|
@@ -1561,7 +1561,7 @@ const ss = /* @__PURE__ */ Z(el, [["render", ll]]), ol = B({
|
|
|
1561
1561
|
}, sl = { class: "jc-more-menu__icon" };
|
|
1562
1562
|
function il(e, t, n, l, r, a) {
|
|
1563
1563
|
const i = A("q-icon"), o = A("q-item-section"), s = A("q-item"), c = A("j-c-permission"), u = A("q-list"), g = A("q-menu"), M = et("close-popup");
|
|
1564
|
-
return e.hasVisibleActions ? (m(),
|
|
1564
|
+
return e.hasVisibleActions ? (m(), b("div", al, [
|
|
1565
1565
|
y("div", sl, [
|
|
1566
1566
|
E(e.$slots, "trigger", {}, () => [
|
|
1567
1567
|
C(i, {
|
|
@@ -1570,7 +1570,7 @@ function il(e, t, n, l, r, a) {
|
|
|
1570
1570
|
size: e.triggerSize
|
|
1571
1571
|
}, null, 8, ["size"])
|
|
1572
1572
|
], !0),
|
|
1573
|
-
C(g,
|
|
1573
|
+
C(g, Te({
|
|
1574
1574
|
fit: e.computedFit,
|
|
1575
1575
|
class: e.computedMenuClass,
|
|
1576
1576
|
offset: e.computedOffset,
|
|
@@ -1583,7 +1583,7 @@ function il(e, t, n, l, r, a) {
|
|
|
1583
1583
|
style: H(e.computedListStyle)
|
|
1584
1584
|
}, {
|
|
1585
1585
|
default: I(() => [
|
|
1586
|
-
(m(!0),
|
|
1586
|
+
(m(!0), b(ee, null, ne(e.actions, (d, p) => (m(), V(c, {
|
|
1587
1587
|
key: d.key ?? p,
|
|
1588
1588
|
"rm-dom": d.rmDom ?? !0,
|
|
1589
1589
|
code: d.permissionCode ?? null,
|
|
@@ -1599,7 +1599,7 @@ function il(e, t, n, l, r, a) {
|
|
|
1599
1599
|
default: I(() => [
|
|
1600
1600
|
C(o, null, {
|
|
1601
1601
|
default: I(() => [
|
|
1602
|
-
|
|
1602
|
+
W(T(e.getActionLabel(d)), 1)
|
|
1603
1603
|
]),
|
|
1604
1604
|
_: 2
|
|
1605
1605
|
}, 1024)
|
|
@@ -1620,7 +1620,7 @@ function il(e, t, n, l, r, a) {
|
|
|
1620
1620
|
])
|
|
1621
1621
|
])) : Y("", !0);
|
|
1622
1622
|
}
|
|
1623
|
-
const
|
|
1623
|
+
const ds = /* @__PURE__ */ B(ol, [["render", il], ["__scopeId", "data-v-1361f9fa"]]), Xe = h("hide-tooltip"), rl = {
|
|
1624
1624
|
mounted(e, t) {
|
|
1625
1625
|
const n = t.arg === "lines" ? t.value : 1;
|
|
1626
1626
|
e.addEventListener("mouseenter", () => {
|
|
@@ -1631,10 +1631,10 @@ const is = /* @__PURE__ */ Z(ol, [["render", il], ["__scopeId", "data-v-1361f9fa
|
|
|
1631
1631
|
function ul(e, t) {
|
|
1632
1632
|
return t === 1 ? e.scrollWidth > e.clientWidth : e.scrollHeight > e.clientHeight;
|
|
1633
1633
|
}
|
|
1634
|
-
const dl =
|
|
1634
|
+
const dl = U({
|
|
1635
1635
|
name: "jQTooltip",
|
|
1636
1636
|
components: {
|
|
1637
|
-
QTooltip:
|
|
1637
|
+
QTooltip: Le
|
|
1638
1638
|
},
|
|
1639
1639
|
props: {
|
|
1640
1640
|
content: {
|
|
@@ -1668,11 +1668,11 @@ const dl = B({
|
|
|
1668
1668
|
});
|
|
1669
1669
|
function cl(e, t, n, l, r, a) {
|
|
1670
1670
|
const i = A("q-tooltip"), o = et("j-q-tooltip");
|
|
1671
|
-
return oe((m(),
|
|
1671
|
+
return oe((m(), b("div", {
|
|
1672
1672
|
class: Q(["block", e.ellipsisClass]),
|
|
1673
1673
|
style: H(e.computedStyle)
|
|
1674
1674
|
}, [
|
|
1675
|
-
|
|
1675
|
+
W(T(e.content) + " ", 1),
|
|
1676
1676
|
C(i, {
|
|
1677
1677
|
class: Q([e.toolTipClass, "j-q-tooltip-content"]),
|
|
1678
1678
|
anchor: "top middle",
|
|
@@ -1680,7 +1680,7 @@ function cl(e, t, n, l, r, a) {
|
|
|
1680
1680
|
"max-width": "300px"
|
|
1681
1681
|
}, {
|
|
1682
1682
|
default: I(() => [
|
|
1683
|
-
|
|
1683
|
+
W(T(e.content), 1)
|
|
1684
1684
|
]),
|
|
1685
1685
|
_: 1
|
|
1686
1686
|
}, 8, ["class"])
|
|
@@ -1688,7 +1688,7 @@ function cl(e, t, n, l, r, a) {
|
|
|
1688
1688
|
[o, e.lines, "lines"]
|
|
1689
1689
|
]);
|
|
1690
1690
|
}
|
|
1691
|
-
const at = /* @__PURE__ */
|
|
1691
|
+
const at = /* @__PURE__ */ B(dl, [["render", cl]]), Ml = U({
|
|
1692
1692
|
name: "JCTabs",
|
|
1693
1693
|
components: {
|
|
1694
1694
|
JQTooltip: at
|
|
@@ -1760,7 +1760,7 @@ const at = /* @__PURE__ */ Z(dl, [["render", cl]]), Ml = B({
|
|
|
1760
1760
|
}), gl = ["onClick"];
|
|
1761
1761
|
function ml(e, t, n, l, r, a) {
|
|
1762
1762
|
const i = A("JQTooltip");
|
|
1763
|
-
return m(),
|
|
1763
|
+
return m(), b("div", null, [
|
|
1764
1764
|
y("ul", {
|
|
1765
1765
|
class: Q(["j-c-tabs", {
|
|
1766
1766
|
"j-c-tabs--disabled": e.disable,
|
|
@@ -1770,7 +1770,7 @@ function ml(e, t, n, l, r, a) {
|
|
|
1770
1770
|
"j-c-tabs--expand": e.expand
|
|
1771
1771
|
}])
|
|
1772
1772
|
}, [
|
|
1773
|
-
(m(!0),
|
|
1773
|
+
(m(!0), b(ee, null, ne(e.options, (o, s) => (m(), b("li", {
|
|
1774
1774
|
key: s,
|
|
1775
1775
|
class: Q({
|
|
1776
1776
|
active: e.modelValue === o.value,
|
|
@@ -1802,7 +1802,7 @@ function ml(e, t, n, l, r, a) {
|
|
|
1802
1802
|
E(e.$slots, "default", {}, void 0, !0)
|
|
1803
1803
|
]);
|
|
1804
1804
|
}
|
|
1805
|
-
const
|
|
1805
|
+
const cs = /* @__PURE__ */ B(Ml, [["render", ml], ["__scopeId", "data-v-cc043f30"]]), pl = U({
|
|
1806
1806
|
name: "JCTitleLine",
|
|
1807
1807
|
props: {
|
|
1808
1808
|
label: { type: String }
|
|
@@ -1818,18 +1818,18 @@ const rs = /* @__PURE__ */ Z(Ml, [["render", ml], ["__scopeId", "data-v-cc043f30
|
|
|
1818
1818
|
class: "title-line__extra"
|
|
1819
1819
|
};
|
|
1820
1820
|
function Il(e, t, n, l, r, a) {
|
|
1821
|
-
return m(),
|
|
1821
|
+
return m(), b("div", null, [
|
|
1822
1822
|
y("div", fl, [
|
|
1823
1823
|
y("span", null, [
|
|
1824
|
-
|
|
1825
|
-
e.hasSlot("default") ? (m(),
|
|
1824
|
+
W(T(e.label) + " ", 1),
|
|
1825
|
+
e.hasSlot("default") ? (m(), b("span", yl, [
|
|
1826
1826
|
E(e.$slots, "default", {}, void 0, !0)
|
|
1827
1827
|
])) : Y("", !0)
|
|
1828
1828
|
])
|
|
1829
1829
|
])
|
|
1830
1830
|
]);
|
|
1831
1831
|
}
|
|
1832
|
-
const
|
|
1832
|
+
const Ms = /* @__PURE__ */ B(pl, [["render", Il], ["__scopeId", "data-v-634ec7db"]]), Dl = U({
|
|
1833
1833
|
name: "jCTree",
|
|
1834
1834
|
components: {
|
|
1835
1835
|
JQTooltip: at,
|
|
@@ -1894,7 +1894,7 @@ function Cl(e, t, n, l, r, a) {
|
|
|
1894
1894
|
style: { "max-width": "320px" }
|
|
1895
1895
|
}, {
|
|
1896
1896
|
default: I(() => [
|
|
1897
|
-
y("div", Nl,
|
|
1897
|
+
y("div", Nl, T(s.node[e.optionLabel]), 1)
|
|
1898
1898
|
]),
|
|
1899
1899
|
_: 2
|
|
1900
1900
|
}, 1032, ["content"])
|
|
@@ -1903,12 +1903,12 @@ function Cl(e, t, n, l, r, a) {
|
|
|
1903
1903
|
_: 1
|
|
1904
1904
|
}, 8, ["ticked", "label-key", "node-key", "nodes", "tick-strategy", "no-nodes-label"]);
|
|
1905
1905
|
}
|
|
1906
|
-
const jl = /* @__PURE__ */
|
|
1906
|
+
const jl = /* @__PURE__ */ B(Dl, [["render", Cl]]), zl = U({
|
|
1907
1907
|
name: "JCTreeSelect",
|
|
1908
1908
|
components: {
|
|
1909
1909
|
JQInput: wt,
|
|
1910
1910
|
JCTree: jl,
|
|
1911
|
-
QField:
|
|
1911
|
+
QField: ke,
|
|
1912
1912
|
QIcon: le,
|
|
1913
1913
|
QPopupProxy: Ae
|
|
1914
1914
|
},
|
|
@@ -1963,8 +1963,8 @@ const jl = /* @__PURE__ */ Z(Dl, [["render", Cl]]), zl = B({
|
|
|
1963
1963
|
var O;
|
|
1964
1964
|
if (!((O = u.value) != null && O.length)) return;
|
|
1965
1965
|
const $ = [], j = (k) => {
|
|
1966
|
-
var
|
|
1967
|
-
(
|
|
1966
|
+
var Z, P;
|
|
1967
|
+
(Z = k.children) != null && Z.length && k.children.forEach(j), (P = u.value) != null && P.includes(k[e.optionValue]) && $.push(k);
|
|
1968
1968
|
};
|
|
1969
1969
|
return (e.options || []).forEach(j), $;
|
|
1970
1970
|
}, d = N(() => {
|
|
@@ -1972,7 +1972,7 @@ const jl = /* @__PURE__ */ Z(Dl, [["render", Cl]]), zl = B({
|
|
|
1972
1972
|
if (!((j = u.value) != null && j.length)) return;
|
|
1973
1973
|
if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options || []);
|
|
1974
1974
|
const $ = M();
|
|
1975
|
-
return $ == null ? void 0 : $.map((
|
|
1975
|
+
return $ == null ? void 0 : $.map((w) => w[e.optionLabel]).toString();
|
|
1976
1976
|
}), p = N(() => e.options || []), D = N(() => i.value ? o.value : p.value), S = ($) => {
|
|
1977
1977
|
if (o.value = [], !$) return;
|
|
1978
1978
|
let j;
|
|
@@ -1981,19 +1981,19 @@ const jl = /* @__PURE__ */ Z(Dl, [["render", Cl]]), zl = B({
|
|
|
1981
1981
|
} catch {
|
|
1982
1982
|
return;
|
|
1983
1983
|
}
|
|
1984
|
-
const
|
|
1984
|
+
const w = (O, k) => {
|
|
1985
1985
|
var te, me;
|
|
1986
|
-
const
|
|
1986
|
+
const Z = { ...O }, P = ((te = O[e.optionLabel]) == null ? void 0 : te.toString()) || "";
|
|
1987
1987
|
let J = !1;
|
|
1988
1988
|
if (j.test(P) && (J = !0), (me = O.children) != null && me.length) {
|
|
1989
1989
|
const ce = [];
|
|
1990
1990
|
O.children.forEach((Ne) => {
|
|
1991
|
-
|
|
1992
|
-
}), ce.length > 0 ?
|
|
1991
|
+
w(Ne, ce) && (J = !0);
|
|
1992
|
+
}), ce.length > 0 ? Z.children = ce : delete Z.children;
|
|
1993
1993
|
}
|
|
1994
|
-
return J ? (k.push(
|
|
1994
|
+
return J ? (k.push(Z), !0) : !1;
|
|
1995
1995
|
};
|
|
1996
|
-
p.value.forEach((O) =>
|
|
1996
|
+
p.value.forEach((O) => w(O, o.value));
|
|
1997
1997
|
}, v = () => {
|
|
1998
1998
|
t("update:modelValue", []);
|
|
1999
1999
|
}, q = () => {
|
|
@@ -2015,7 +2015,7 @@ const jl = /* @__PURE__ */ Z(Dl, [["render", Cl]]), zl = B({
|
|
|
2015
2015
|
getFullValue: M
|
|
2016
2016
|
};
|
|
2017
2017
|
}
|
|
2018
|
-
}),
|
|
2018
|
+
}), bl = { class: "j-c-tree-select-value-display" }, Tl = { class: "j-c-tree-select-popup" }, hl = {
|
|
2019
2019
|
key: 0,
|
|
2020
2020
|
class: "j-c-tree-select-popup__header"
|
|
2021
2021
|
}, wl = { class: "j-c-tree-select-popup__main" };
|
|
@@ -2038,9 +2038,9 @@ function vl(e, t, n, l, r, a) {
|
|
|
2038
2038
|
onClear: e.handleClear
|
|
2039
2039
|
}, {
|
|
2040
2040
|
control: I(() => [
|
|
2041
|
-
y("div",
|
|
2041
|
+
y("div", bl, [
|
|
2042
2042
|
E(e.$slots, "value-display", {}, () => [
|
|
2043
|
-
|
|
2043
|
+
W(T(e.computedValueDisplay), 1)
|
|
2044
2044
|
])
|
|
2045
2045
|
])
|
|
2046
2046
|
]),
|
|
@@ -2062,7 +2062,7 @@ function vl(e, t, n, l, r, a) {
|
|
|
2062
2062
|
];
|
|
2063
2063
|
}),
|
|
2064
2064
|
default: I(() => [
|
|
2065
|
-
oe(y("div", { class: "float-placeholder" },
|
|
2065
|
+
oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
|
|
2066
2066
|
[ie, !e.label && (e.computedValue === null || e.computedValue === void 0 || Array.isArray(e.computedValue) && e.computedValue.length === 0)]
|
|
2067
2067
|
]),
|
|
2068
2068
|
C(c, {
|
|
@@ -2071,8 +2071,8 @@ function vl(e, t, n, l, r, a) {
|
|
|
2071
2071
|
style: { "border-top-left-radius": "4px", "border-top-right-radius": "4px" }
|
|
2072
2072
|
}, {
|
|
2073
2073
|
default: I(() => [
|
|
2074
|
-
y("div",
|
|
2075
|
-
e.filterable ? (m(),
|
|
2074
|
+
y("div", Tl, [
|
|
2075
|
+
e.filterable ? (m(), b("div", hl, [
|
|
2076
2076
|
C(o, {
|
|
2077
2077
|
modelValue: e.inputValue,
|
|
2078
2078
|
"onUpdate:modelValue": [
|
|
@@ -2108,12 +2108,12 @@ function vl(e, t, n, l, r, a) {
|
|
|
2108
2108
|
_: 3
|
|
2109
2109
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
2110
2110
|
}
|
|
2111
|
-
const
|
|
2111
|
+
const gs = /* @__PURE__ */ B(zl, [["render", vl]]), Sl = { username: "current_user" }, gt = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", Ll = (e) => {
|
|
2112
2112
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
2113
|
-
}, kl =
|
|
2113
|
+
}, kl = U({
|
|
2114
2114
|
name: "JQAutocomplete",
|
|
2115
2115
|
components: {
|
|
2116
|
-
QInput:
|
|
2116
|
+
QInput: Qe
|
|
2117
2117
|
},
|
|
2118
2118
|
emits: ["update:model-value"],
|
|
2119
2119
|
props: {
|
|
@@ -2133,7 +2133,7 @@ const ds = /* @__PURE__ */ Z(zl, [["render", vl]]), Sl = { username: "current_us
|
|
|
2133
2133
|
visible: !1,
|
|
2134
2134
|
uniqueKey: l.value
|
|
2135
2135
|
});
|
|
2136
|
-
|
|
2136
|
+
he(() => {
|
|
2137
2137
|
i();
|
|
2138
2138
|
}), G(
|
|
2139
2139
|
() => e.modelValue,
|
|
@@ -2187,11 +2187,11 @@ const ds = /* @__PURE__ */ Z(zl, [["render", vl]]), Sl = { username: "current_us
|
|
|
2187
2187
|
}), Ol = { class: "j-q-autocomplete-list-container" }, El = ["onMousedown"], $l = { class: "value" };
|
|
2188
2188
|
function Yl(e, t, n, l, r, a) {
|
|
2189
2189
|
const i = A("q-input");
|
|
2190
|
-
return m(),
|
|
2190
|
+
return m(), b("div", {
|
|
2191
2191
|
class: "j-q-autocomplete",
|
|
2192
2192
|
style: H(`width: ${e.historyParams.width[e.searchId] || "auto"}`)
|
|
2193
2193
|
}, [
|
|
2194
|
-
C(i,
|
|
2194
|
+
C(i, Te({
|
|
2195
2195
|
class: {
|
|
2196
2196
|
"j-q-input--table": e.label,
|
|
2197
2197
|
"j-q-input--form": !e.label
|
|
@@ -2216,11 +2216,11 @@ function Yl(e, t, n, l, r, a) {
|
|
|
2216
2216
|
}), null, 16, ["class", "label", "model-value", "onUpdate:modelValue", "onFocus", "onBlur", "onClear"]),
|
|
2217
2217
|
oe(y("div", Ol, [
|
|
2218
2218
|
y("ul", null, [
|
|
2219
|
-
(m(!0),
|
|
2219
|
+
(m(!0), b(ee, null, ne(e.historyParams.filterList, (o) => (m(), b("li", {
|
|
2220
2220
|
key: o.id,
|
|
2221
2221
|
onMousedown: (s) => e.onSelectItem(o)
|
|
2222
2222
|
}, [
|
|
2223
|
-
y("span", $l,
|
|
2223
|
+
y("span", $l, T(o.value), 1)
|
|
2224
2224
|
], 40, El))), 128))
|
|
2225
2225
|
])
|
|
2226
2226
|
], 512), [
|
|
@@ -2228,12 +2228,12 @@ function Yl(e, t, n, l, r, a) {
|
|
|
2228
2228
|
])
|
|
2229
2229
|
], 4);
|
|
2230
2230
|
}
|
|
2231
|
-
const
|
|
2231
|
+
const ms = /* @__PURE__ */ B(kl, [["render", Yl], ["__scopeId", "data-v-cd4f47bd"]]), Vl = U({
|
|
2232
2232
|
name: "JQConfirm",
|
|
2233
2233
|
components: {
|
|
2234
2234
|
QPopupProxy: Ae,
|
|
2235
|
-
QCard:
|
|
2236
|
-
QCardSection:
|
|
2235
|
+
QCard: Se,
|
|
2236
|
+
QCardSection: ve
|
|
2237
2237
|
},
|
|
2238
2238
|
props: {
|
|
2239
2239
|
title: {
|
|
@@ -2268,7 +2268,7 @@ const cs = /* @__PURE__ */ Z(kl, [["render", Yl], ["__scopeId", "data-v-cd4f47bd
|
|
|
2268
2268
|
}), Ql = { class: "inline-block" }, Pl = { class: "title" }, ql = { class: "j-q-confirm-actions" };
|
|
2269
2269
|
function Ul(e, t, n, l, r, a) {
|
|
2270
2270
|
const i = A("q-card-section"), o = A("q-card"), s = A("q-popup-proxy");
|
|
2271
|
-
return m(),
|
|
2271
|
+
return m(), b("div", Ql, [
|
|
2272
2272
|
E(e.$slots, "default", {}, void 0, !0),
|
|
2273
2273
|
C(s, { ref: "popupRef" }, {
|
|
2274
2274
|
default: I(() => [
|
|
@@ -2279,7 +2279,7 @@ function Ul(e, t, n, l, r, a) {
|
|
|
2279
2279
|
default: I(() => [
|
|
2280
2280
|
C(i, { class: "row items-center q-pa-none" }, {
|
|
2281
2281
|
default: I(() => [
|
|
2282
|
-
y("span", Pl,
|
|
2282
|
+
y("span", Pl, T(e.title), 1)
|
|
2283
2283
|
]),
|
|
2284
2284
|
_: 1
|
|
2285
2285
|
}),
|
|
@@ -2287,11 +2287,11 @@ function Ul(e, t, n, l, r, a) {
|
|
|
2287
2287
|
y("div", {
|
|
2288
2288
|
class: "j-q-confirm-btn j-q-confirm-btn--cancel",
|
|
2289
2289
|
onClick: t[0] || (t[0] = (...c) => e.handleCancel && e.handleCancel(...c))
|
|
2290
|
-
},
|
|
2290
|
+
}, T(e.computedCancelText), 1),
|
|
2291
2291
|
y("div", {
|
|
2292
2292
|
class: "j-q-confirm-btn j-q-confirm-btn--confirm",
|
|
2293
2293
|
onClick: t[1] || (t[1] = (...c) => e.handleConfirm && e.handleConfirm(...c))
|
|
2294
|
-
},
|
|
2294
|
+
}, T(e.computedConfirmText), 1)
|
|
2295
2295
|
])
|
|
2296
2296
|
]),
|
|
2297
2297
|
_: 1
|
|
@@ -2301,17 +2301,17 @@ function Ul(e, t, n, l, r, a) {
|
|
|
2301
2301
|
}, 512)
|
|
2302
2302
|
]);
|
|
2303
2303
|
}
|
|
2304
|
-
const
|
|
2304
|
+
const ps = /* @__PURE__ */ B(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02"]]), ye = "YYYY-MM-DD HH:mm:ss", Ge = (e) => {
|
|
2305
2305
|
if (e === null || typeof e > "u" || e === "") return null;
|
|
2306
2306
|
if (typeof e == "number") return new Date(e);
|
|
2307
2307
|
if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
|
|
2308
2308
|
if (e instanceof Date) return e;
|
|
2309
2309
|
let t = R.extractDate(e, "YYYY-MM-DD");
|
|
2310
2310
|
return isNaN(t.getTime()) && (t = R.extractDate(e, ye)), isNaN(t.getTime()) ? null : t;
|
|
2311
|
-
}, Bl =
|
|
2311
|
+
}, Bl = U({
|
|
2312
2312
|
name: "JQDate",
|
|
2313
2313
|
components: {
|
|
2314
|
-
QField:
|
|
2314
|
+
QField: ke,
|
|
2315
2315
|
QPopupProxy: Ae,
|
|
2316
2316
|
QDate: Ct,
|
|
2317
2317
|
QIcon: le
|
|
@@ -2417,7 +2417,7 @@ const Ms = /* @__PURE__ */ Z(Vl, [["render", Ul], ["__scopeId", "data-v-0525ec02
|
|
|
2417
2417
|
key: 0,
|
|
2418
2418
|
class: "date-popup-prepend"
|
|
2419
2419
|
};
|
|
2420
|
-
function
|
|
2420
|
+
function Wl(e, t, n, l, r, a) {
|
|
2421
2421
|
const i = A("q-date"), o = A("q-popup-proxy"), s = A("q-icon"), c = A("q-field");
|
|
2422
2422
|
return m(), V(c, {
|
|
2423
2423
|
ref: "fieldRef",
|
|
@@ -2439,7 +2439,7 @@ function xl(e, t, n, l, r, a) {
|
|
|
2439
2439
|
onClear: e.handleClear
|
|
2440
2440
|
}, {
|
|
2441
2441
|
control: I(() => [
|
|
2442
|
-
y("div", Zl,
|
|
2442
|
+
y("div", Zl, T(e.computedValueDisplay), 1)
|
|
2443
2443
|
]),
|
|
2444
2444
|
append: I(() => [
|
|
2445
2445
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), V(s, {
|
|
@@ -2452,7 +2452,7 @@ function xl(e, t, n, l, r, a) {
|
|
|
2452
2452
|
}, null, 8, ["onClick"])) : Y("", !0)
|
|
2453
2453
|
]),
|
|
2454
2454
|
default: I(() => [
|
|
2455
|
-
oe(y("div", { class: "float-placeholder" },
|
|
2455
|
+
oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
|
|
2456
2456
|
[ie, !e.computedValueDisplay && !e.label]
|
|
2457
2457
|
]),
|
|
2458
2458
|
C(o, {
|
|
@@ -2465,7 +2465,7 @@ function xl(e, t, n, l, r, a) {
|
|
|
2465
2465
|
class: "date-popup__inner",
|
|
2466
2466
|
style: H(e.popupInnerStyle)
|
|
2467
2467
|
}, [
|
|
2468
|
-
e.slots["popup-prepend"] ? (m(),
|
|
2468
|
+
e.slots["popup-prepend"] ? (m(), b("div", Rl, [
|
|
2469
2469
|
E(e.$slots, "popup-prepend")
|
|
2470
2470
|
])) : Y("", !0),
|
|
2471
2471
|
C(i, {
|
|
@@ -2486,7 +2486,7 @@ function xl(e, t, n, l, r, a) {
|
|
|
2486
2486
|
_: 3
|
|
2487
2487
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
|
|
2488
2488
|
}
|
|
2489
|
-
const
|
|
2489
|
+
const fs = /* @__PURE__ */ B(Bl, [["render", Wl]]), xl = "rtcpt", vt = `${xl}_third_component_state`, mt = () => localStorage.getItem(vt), pt = (e) => {
|
|
2490
2490
|
localStorage.setItem(vt, e);
|
|
2491
2491
|
}, Ie = "YYYY-MM-DD HH:mm:ss", He = "YYYY/MM/DD", Gl = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), Hl = (e, t) => {
|
|
2492
2492
|
const n = t + 1;
|
|
@@ -2506,14 +2506,14 @@ const gs = /* @__PURE__ */ Z(Bl, [["render", xl]]), Wl = "rtcpt", vt = `${Wl}_th
|
|
|
2506
2506
|
if (!e) return null;
|
|
2507
2507
|
const n = e.replace(/\//g, "-"), l = `${String(t.h).padStart(2, "0")}:${String(t.m).padStart(2, "0")}:${String(t.s).padStart(2, "0")}`;
|
|
2508
2508
|
return `${n} ${l}`;
|
|
2509
|
-
}, Fl =
|
|
2509
|
+
}, Fl = U({
|
|
2510
2510
|
name: "JQDateTime",
|
|
2511
2511
|
components: {
|
|
2512
|
-
QField:
|
|
2512
|
+
QField: ke,
|
|
2513
2513
|
QPopupProxy: Ae,
|
|
2514
2514
|
QDate: Ct,
|
|
2515
|
-
QInput:
|
|
2516
|
-
QBtn:
|
|
2515
|
+
QInput: Qe,
|
|
2516
|
+
QBtn: re,
|
|
2517
2517
|
QIcon: le
|
|
2518
2518
|
},
|
|
2519
2519
|
props: {
|
|
@@ -2540,7 +2540,7 @@ const gs = /* @__PURE__ */ Z(Bl, [["render", xl]]), Wl = "rtcpt", vt = `${Wl}_th
|
|
|
2540
2540
|
s: parseInt(e.endhhmmss[2], 10) || 0
|
|
2541
2541
|
}), u = h(!1);
|
|
2542
2542
|
let g = null;
|
|
2543
|
-
|
|
2543
|
+
he(() => {
|
|
2544
2544
|
if (e.showTooltip)
|
|
2545
2545
|
try {
|
|
2546
2546
|
const L = mt();
|
|
@@ -2567,36 +2567,36 @@ const gs = /* @__PURE__ */ Z(Bl, [["render", xl]]), Wl = "rtcpt", vt = `${Wl}_th
|
|
|
2567
2567
|
}, d = h({ from: null, to: null }), p = h(""), D = De(fe(null)), S = De(fe(null)), v = h(null), q = h(""), $ = De(fe(null)), j = N({
|
|
2568
2568
|
get: () => typeof e.modelValue == "string" && e.modelValue === "" ? null : e.modelValue,
|
|
2569
2569
|
set: (L) => t("update:modelValue", L)
|
|
2570
|
-
}),
|
|
2570
|
+
}), w = () => {
|
|
2571
2571
|
if (o.value) return;
|
|
2572
2572
|
s.value = !0;
|
|
2573
2573
|
const L = j.value;
|
|
2574
2574
|
if (e.range) {
|
|
2575
2575
|
const f = L || { from: null, to: null }, z = se(f.from);
|
|
2576
2576
|
Object.assign(D, fe(f.from));
|
|
2577
|
-
const
|
|
2577
|
+
const x = z ? R.formatDate(z, He) : "", F = se(f.to), X = fe(f.to);
|
|
2578
2578
|
X.h === 0 && X.m === 0 && X.s === 0 && F ? Object.assign(S, c()) : Object.assign(S, X);
|
|
2579
2579
|
const pe = F ? R.formatDate(F, He) : "";
|
|
2580
2580
|
d.value = {
|
|
2581
2581
|
from: z ? R.formatDate(z, Ie) : null,
|
|
2582
2582
|
to: F ? Me(pe, S) : null
|
|
2583
|
-
}, p.value =
|
|
2583
|
+
}, p.value = x && pe ? { from: x, to: pe } : "";
|
|
2584
2584
|
} else {
|
|
2585
2585
|
const f = se(L);
|
|
2586
2586
|
Object.assign($, fe(L)), v.value = f ? R.formatDate(f, Ie) : null, q.value = f ? R.formatDate(f, He) : "";
|
|
2587
2587
|
}
|
|
2588
|
-
|
|
2588
|
+
de(() => {
|
|
2589
2589
|
s.value = !1;
|
|
2590
2590
|
});
|
|
2591
2591
|
};
|
|
2592
|
-
G(() => e.modelValue,
|
|
2592
|
+
G(() => e.modelValue, w, { immediate: !0 }), G(
|
|
2593
2593
|
p,
|
|
2594
2594
|
(L, f) => {
|
|
2595
2595
|
if (e.range && !s.value)
|
|
2596
2596
|
if (typeof L == "object" && L !== null) {
|
|
2597
|
-
const z = L.from,
|
|
2598
|
-
if (f && typeof f == "object" && f !== null ? (z !== f.from && Object.assign(D, { h: 0, m: 0, s: 0 }),
|
|
2599
|
-
const F = Me(z, D), X = Me(
|
|
2597
|
+
const z = L.from, x = L.to;
|
|
2598
|
+
if (f && typeof f == "object" && f !== null ? (z !== f.from && Object.assign(D, { h: 0, m: 0, s: 0 }), x !== f.to && Object.assign(S, c())) : (Object.assign(D, { h: 0, m: 0, s: 0 }), Object.assign(S, c())), z && x) {
|
|
2599
|
+
const F = Me(z, D), X = Me(x, S);
|
|
2600
2600
|
if (d.value.from = F, d.value.to = X, F && X) {
|
|
2601
2601
|
const pe = se(F), rt = se(X);
|
|
2602
2602
|
pe && rt && pe.getTime() > rt.getTime() ? j.value = { from: X, to: F } : j.value = { from: F, to: X };
|
|
@@ -2629,21 +2629,21 @@ const gs = /* @__PURE__ */ Z(Bl, [["render", xl]]), Wl = "rtcpt", vt = `${Wl}_th
|
|
|
2629
2629
|
), G(v, (L) => {
|
|
2630
2630
|
e.range || s.value || (j.value = L);
|
|
2631
2631
|
});
|
|
2632
|
-
const k = (L, f, z,
|
|
2632
|
+
const k = (L, f, z, x) => N({
|
|
2633
2633
|
get: () => String(L[f]).padStart(2, "0"),
|
|
2634
2634
|
set: (F) => {
|
|
2635
2635
|
let X = parseInt(F, 10);
|
|
2636
|
-
isNaN(X) && (X = 0), L[f] = Gl(X, z), O(
|
|
2636
|
+
isNaN(X) && (X = 0), L[f] = Gl(X, z), O(x);
|
|
2637
2637
|
}
|
|
2638
|
-
}),
|
|
2638
|
+
}), Z = k(D, "h", 23, "from"), P = k(D, "m", 59, "from"), J = k(D, "s", 59, "from"), te = k(S, "h", 23, "to"), me = k(S, "m", 59, "to"), ce = k(S, "s", 59, "to"), Ne = k($, "h", 23, "single"), Ee = k($, "m", 59, "single"), Pe = k($, "s", 59, "single"), qe = () => a.value = !1, $e = () => {
|
|
2639
2639
|
var L;
|
|
2640
2640
|
o.value = !0, e.range ? (d.value = { from: null, to: null }, Object.assign(D, { h: 0, m: 0, s: 0 }), Object.assign(S, c()), p.value = { from: "", to: "" }) : (v.value = null, Object.assign($, { h: 0, m: 0, s: 0 }), q.value = ""), j.value = null, (L = i.value) == null || L.blur(), a.value = !1, setTimeout(() => o.value = !1, 0);
|
|
2641
2641
|
}, Ue = () => {
|
|
2642
|
-
|
|
2643
|
-
}, Be = (L, f, z,
|
|
2642
|
+
$e();
|
|
2643
|
+
}, Be = (L, f, z, x, F) => {
|
|
2644
2644
|
L.preventDefault();
|
|
2645
2645
|
const X = L.deltaY > 0 ? -1 : 1;
|
|
2646
|
-
f[z] = Hl(f[z] + X,
|
|
2646
|
+
f[z] = Hl(f[z] + X, x), O(F);
|
|
2647
2647
|
}, Ze = N(() => {
|
|
2648
2648
|
if (e.valueDisplayFn) return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
2649
2649
|
if (e.range) {
|
|
@@ -2651,15 +2651,15 @@ const gs = /* @__PURE__ */ Z(Bl, [["render", xl]]), Wl = "rtcpt", vt = `${Wl}_th
|
|
|
2651
2651
|
if (!L) return "";
|
|
2652
2652
|
const { from: f, to: z } = L;
|
|
2653
2653
|
if (!f || !z) return "";
|
|
2654
|
-
const
|
|
2655
|
-
if (
|
|
2654
|
+
const x = se(f), F = se(z);
|
|
2655
|
+
if (x && F) return `${R.formatDate(x, Ie)} - ${R.formatDate(F, Ie)}`;
|
|
2656
2656
|
} else {
|
|
2657
2657
|
const L = se(e.modelValue);
|
|
2658
2658
|
if (L) return R.formatDate(L, Ie);
|
|
2659
2659
|
}
|
|
2660
2660
|
return "";
|
|
2661
|
-
}),
|
|
2662
|
-
e.disable || e.readonly || (
|
|
2661
|
+
}), Ye = () => {
|
|
2662
|
+
e.disable || e.readonly || (w(), a.value = !0, u.value && (g && clearTimeout(g), g = setTimeout(() => {
|
|
2663
2663
|
M();
|
|
2664
2664
|
}, 2e3)));
|
|
2665
2665
|
}, Re = (L) => {
|
|
@@ -2669,23 +2669,23 @@ const gs = /* @__PURE__ */ Z(Bl, [["render", xl]]), Wl = "rtcpt", vt = `${Wl}_th
|
|
|
2669
2669
|
t: r,
|
|
2670
2670
|
fieldRef: i,
|
|
2671
2671
|
popupVisible: a,
|
|
2672
|
-
handleClear:
|
|
2672
|
+
handleClear: $e,
|
|
2673
2673
|
handleClearClick: Ue,
|
|
2674
|
-
handleFieldClick:
|
|
2674
|
+
handleFieldClick: Ye,
|
|
2675
2675
|
handleConfirm: qe,
|
|
2676
2676
|
handleTimeWheel: Be,
|
|
2677
2677
|
computedValue: j,
|
|
2678
2678
|
computedValueDisplay: Ze,
|
|
2679
2679
|
currentRangeDate: p,
|
|
2680
2680
|
currentSingleDate: q,
|
|
2681
|
-
fromH:
|
|
2681
|
+
fromH: Z,
|
|
2682
2682
|
fromM: P,
|
|
2683
2683
|
fromS: J,
|
|
2684
2684
|
toH: te,
|
|
2685
2685
|
toM: me,
|
|
2686
2686
|
toS: ce,
|
|
2687
2687
|
singleH: Ne,
|
|
2688
|
-
singleM:
|
|
2688
|
+
singleM: Ee,
|
|
2689
2689
|
singleS: Pe,
|
|
2690
2690
|
fromTimeParts: D,
|
|
2691
2691
|
toTimeParts: S,
|
|
@@ -2724,7 +2724,7 @@ function go(e, t, n, l, r, a) {
|
|
|
2724
2724
|
onClick: e.handleFieldClick
|
|
2725
2725
|
}, {
|
|
2726
2726
|
control: I(() => [
|
|
2727
|
-
y("div", Jl,
|
|
2727
|
+
y("div", Jl, T(e.computedValueDisplay), 1)
|
|
2728
2728
|
]),
|
|
2729
2729
|
append: I(() => [
|
|
2730
2730
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), V(o, {
|
|
@@ -2737,7 +2737,7 @@ function go(e, t, n, l, r, a) {
|
|
|
2737
2737
|
}, null, 8, ["onClick"])) : Y("", !0)
|
|
2738
2738
|
]),
|
|
2739
2739
|
default: I(() => [
|
|
2740
|
-
oe(y("div", { class: "float-placeholder" },
|
|
2740
|
+
oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
|
|
2741
2741
|
[ie, !e.computedValueDisplay && !e.label]
|
|
2742
2742
|
]),
|
|
2743
2743
|
C(u, {
|
|
@@ -2747,7 +2747,7 @@ function go(e, t, n, l, r, a) {
|
|
|
2747
2747
|
}, {
|
|
2748
2748
|
default: I(() => [
|
|
2749
2749
|
y("div", Kl, [
|
|
2750
|
-
e.slots["popup-prepend"] ? (m(),
|
|
2750
|
+
e.slots["popup-prepend"] ? (m(), b("div", Xl, [
|
|
2751
2751
|
E(e.$slots, "popup-prepend")
|
|
2752
2752
|
])) : Y("", !0),
|
|
2753
2753
|
y("div", _l, [
|
|
@@ -2761,9 +2761,9 @@ function go(e, t, n, l, r, a) {
|
|
|
2761
2761
|
y("div", eo, [
|
|
2762
2762
|
C(qt, { name: "tooltip-fade" }, {
|
|
2763
2763
|
default: I(() => [
|
|
2764
|
-
e.showScrollTooltip ? (m(),
|
|
2764
|
+
e.showScrollTooltip ? (m(), b("div", to, [
|
|
2765
2765
|
y("div", no, [
|
|
2766
|
-
|
|
2766
|
+
W(T(e.t("messages.date.scrollTooltip")) + " ", 1),
|
|
2767
2767
|
C(o, {
|
|
2768
2768
|
name: "close",
|
|
2769
2769
|
size: "14px",
|
|
@@ -2776,9 +2776,9 @@ function go(e, t, n, l, r, a) {
|
|
|
2776
2776
|
]),
|
|
2777
2777
|
_: 1
|
|
2778
2778
|
}),
|
|
2779
|
-
e.range ? (m(),
|
|
2779
|
+
e.range ? (m(), b(ee, { key: 0 }, [
|
|
2780
2780
|
y("div", lo, [
|
|
2781
|
-
y("div", oo,
|
|
2781
|
+
y("div", oo, T(e.t("messages.date.start")), 1),
|
|
2782
2782
|
y("div", ao, [
|
|
2783
2783
|
C(s, {
|
|
2784
2784
|
key: "fromH",
|
|
@@ -2818,7 +2818,7 @@ function go(e, t, n, l, r, a) {
|
|
|
2818
2818
|
])
|
|
2819
2819
|
]),
|
|
2820
2820
|
y("div", so, [
|
|
2821
|
-
y("div", io,
|
|
2821
|
+
y("div", io, T(e.t("messages.date.end")), 1),
|
|
2822
2822
|
y("div", ro, [
|
|
2823
2823
|
C(s, {
|
|
2824
2824
|
key: "toH",
|
|
@@ -2857,9 +2857,9 @@ function go(e, t, n, l, r, a) {
|
|
|
2857
2857
|
}, null, 8, ["modelValue", "label"])
|
|
2858
2858
|
])
|
|
2859
2859
|
])
|
|
2860
|
-
], 64)) : (m(),
|
|
2860
|
+
], 64)) : (m(), b(ee, { key: 1 }, [
|
|
2861
2861
|
y("div", uo, [
|
|
2862
|
-
y("div", co,
|
|
2862
|
+
y("div", co, T(e.t("messages.date.hour")) + "/" + T(e.t("messages.date.minute")) + "/" + T(e.t("messages.date.second")), 1),
|
|
2863
2863
|
y("div", Mo, [
|
|
2864
2864
|
C(s, {
|
|
2865
2865
|
key: "singleH",
|
|
@@ -2921,19 +2921,19 @@ function go(e, t, n, l, r, a) {
|
|
|
2921
2921
|
_: 3
|
|
2922
2922
|
}, 8, ["class", "model-value", "dense", "disable", "label", "outlined", "rules", "title", "onClick"]);
|
|
2923
2923
|
}
|
|
2924
|
-
const
|
|
2924
|
+
const ys = /* @__PURE__ */ B(Fl, [["render", go]]);
|
|
2925
2925
|
function _e(e) {
|
|
2926
2926
|
return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "--";
|
|
2927
2927
|
}
|
|
2928
2928
|
function St(e) {
|
|
2929
|
-
const { size: t, unit: n = "B", maxUnit: l, numberFormatOptions: r } = e, { size: a, unit: i } =
|
|
2929
|
+
const { size: t, unit: n = "B", maxUnit: l, numberFormatOptions: r } = e, { size: a, unit: i } = Oe({ size: t, unit: n }, { maxUnit: l });
|
|
2930
2930
|
return `${a.toLocaleString(void 0, r)} ${i}`;
|
|
2931
2931
|
}
|
|
2932
|
-
function
|
|
2932
|
+
function Oe(e, t) {
|
|
2933
2933
|
const n = ["B", "KB", "MB", "GB", "TB"], { size: l, unit: r = "B" } = e, a = n.indexOf(r);
|
|
2934
2934
|
if (a === -1 || a === n.length - 1) return { size: l, unit: r };
|
|
2935
2935
|
const i = (t == null ? void 0 : t.maxUnit) || "TB", o = n.indexOf(i);
|
|
2936
|
-
return a === o ? { size: l, unit: r } : l < 1024 ? { size: l, unit: r } :
|
|
2936
|
+
return a === o ? { size: l, unit: r } : l < 1024 ? { size: l, unit: r } : Oe({ size: l / 1024, unit: n[a + 1] }, t);
|
|
2937
2937
|
}
|
|
2938
2938
|
function st(e, t = "--") {
|
|
2939
2939
|
return (n, l) => n === 0 || n === "0" ? e ? e(n, l) : n : n ? e ? e(n, l) : n.toString() : t;
|
|
@@ -2955,7 +2955,7 @@ function Lt(e) {
|
|
|
2955
2955
|
}
|
|
2956
2956
|
return e;
|
|
2957
2957
|
}
|
|
2958
|
-
function
|
|
2958
|
+
function be(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
2959
2959
|
const n = Lt(e);
|
|
2960
2960
|
return _e(n ? R.formatDate(n, t) : e);
|
|
2961
2961
|
}
|
|
@@ -3007,16 +3007,16 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3007
3007
|
defaultDateFormat: mo,
|
|
3008
3008
|
defaultFill: _e,
|
|
3009
3009
|
defaultFormat: st,
|
|
3010
|
-
formatDate:
|
|
3010
|
+
formatDate: be,
|
|
3011
3011
|
formatSize: St,
|
|
3012
|
-
getUpperSize:
|
|
3013
|
-
}, Symbol.toStringTag, { value: "Module" })), Io =
|
|
3012
|
+
getUpperSize: Oe
|
|
3013
|
+
}, Symbol.toStringTag, { value: "Module" })), Io = U({
|
|
3014
3014
|
name: "JQDetailList",
|
|
3015
3015
|
components: {
|
|
3016
3016
|
JQTooltip: at,
|
|
3017
3017
|
JCCopy: nn,
|
|
3018
3018
|
QIcon: le,
|
|
3019
|
-
QTooltip:
|
|
3019
|
+
QTooltip: Le
|
|
3020
3020
|
},
|
|
3021
3021
|
props: {
|
|
3022
3022
|
items: {
|
|
@@ -3056,9 +3056,9 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3056
3056
|
return "--";
|
|
3057
3057
|
if (d.options && d.findByKey && (p = i(d, p)), d.format && typeof d.format == "function" && (p = d.format(p, e.data)), d.date) {
|
|
3058
3058
|
if (d.date === !0 && typeof d.date == "boolean")
|
|
3059
|
-
return
|
|
3059
|
+
return be(p);
|
|
3060
3060
|
if (typeof d.date == "string")
|
|
3061
|
-
return
|
|
3061
|
+
return be(p, d.date);
|
|
3062
3062
|
}
|
|
3063
3063
|
return String(p);
|
|
3064
3064
|
}, s = (d) => {
|
|
@@ -3084,9 +3084,9 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3084
3084
|
}
|
|
3085
3085
|
if (d.date) {
|
|
3086
3086
|
if (d.date === !0 && typeof d.date == "boolean")
|
|
3087
|
-
return
|
|
3087
|
+
return be(p);
|
|
3088
3088
|
if (typeof d.date == "string")
|
|
3089
|
-
return
|
|
3089
|
+
return be(p, d.date);
|
|
3090
3090
|
}
|
|
3091
3091
|
return String(p);
|
|
3092
3092
|
},
|
|
@@ -3106,7 +3106,7 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3106
3106
|
}), Do = { class: "q-mb-xs text-grey text-caption row items-center" }, Ao = ["onClick"], No = ["innerHTML"], Co = {
|
|
3107
3107
|
key: 0,
|
|
3108
3108
|
class: "detail-value-suffix q-ml-xs"
|
|
3109
|
-
}, jo = { class: "item item-between" }, zo = { class: "label row items-center" },
|
|
3109
|
+
}, jo = { class: "item item-between" }, zo = { class: "label row items-center" }, bo = { class: "value-wrapper row items-center no-wrap" }, To = ["onClick"], ho = ["innerHTML"], wo = {
|
|
3110
3110
|
key: 0,
|
|
3111
3111
|
class: "value-suffix q-ml-xs"
|
|
3112
3112
|
}, vo = { class: "item item-left" }, So = { class: "label row items-center" }, Lo = { class: "value-wrapper row items-center no-wrap" }, ko = ["onClick"], Oo = ["innerHTML"], Eo = {
|
|
@@ -3115,16 +3115,16 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3115
3115
|
};
|
|
3116
3116
|
function $o(e, t, n, l, r, a) {
|
|
3117
3117
|
const i = A("q-tooltip"), o = A("q-icon"), s = A("j-q-tooltip"), c = A("j-c-copy");
|
|
3118
|
-
return e.layout === "vertical" ? (m(),
|
|
3118
|
+
return e.layout === "vertical" ? (m(), b("div", {
|
|
3119
3119
|
key: 0,
|
|
3120
3120
|
class: Q(["row", e.gutter])
|
|
3121
3121
|
}, [
|
|
3122
|
-
(m(!0),
|
|
3122
|
+
(m(!0), b(ee, null, ne(e.visibleItems, (u) => (m(), b("div", {
|
|
3123
3123
|
key: u.name,
|
|
3124
3124
|
class: Q([[`col-${u.span || 6}`], "detail-item-container"])
|
|
3125
3125
|
}, [
|
|
3126
3126
|
y("div", Do, [
|
|
3127
|
-
|
|
3127
|
+
W(T(u.label) + " ", 1),
|
|
3128
3128
|
u.tip ? (m(), V(o, {
|
|
3129
3129
|
key: 0,
|
|
3130
3130
|
name: "app:question",
|
|
@@ -3140,7 +3140,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3140
3140
|
"max-width": "300px"
|
|
3141
3141
|
}, {
|
|
3142
3142
|
default: I(() => [
|
|
3143
|
-
|
|
3143
|
+
W(T(u.tip), 1)
|
|
3144
3144
|
]),
|
|
3145
3145
|
_: 2
|
|
3146
3146
|
}, 1024)
|
|
@@ -3161,7 +3161,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3161
3161
|
item: u,
|
|
3162
3162
|
data: e.data,
|
|
3163
3163
|
fieldName: u.name
|
|
3164
|
-
}, void 0, !0) : u.html ? (m(),
|
|
3164
|
+
}, void 0, !0) : u.html ? (m(), b("div", {
|
|
3165
3165
|
key: 1,
|
|
3166
3166
|
innerHTML: e.getDefaultValue(u),
|
|
3167
3167
|
class: Q([e.getOptionClass(u), "html-content"]),
|
|
@@ -3173,7 +3173,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3173
3173
|
class: Q(e.getOptionClass(u))
|
|
3174
3174
|
}, null, 8, ["content", "lines", "class"]))
|
|
3175
3175
|
], 10, Ao),
|
|
3176
|
-
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(),
|
|
3176
|
+
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Co, [
|
|
3177
3177
|
e.slots[`item-suffix-${u.name}`] ? E(e.$slots, `item-suffix-${u.name}`, {
|
|
3178
3178
|
key: 0,
|
|
3179
3179
|
value: e.data[u.name],
|
|
@@ -3187,17 +3187,17 @@ function $o(e, t, n, l, r, a) {
|
|
|
3187
3187
|
])) : Y("", !0)
|
|
3188
3188
|
], 2)
|
|
3189
3189
|
], 2))), 128))
|
|
3190
|
-
], 2)) : e.layout === "horizontal-between" ? (m(),
|
|
3190
|
+
], 2)) : e.layout === "horizontal-between" ? (m(), b("div", {
|
|
3191
3191
|
key: 1,
|
|
3192
3192
|
class: Q(["row horizontal-between-container", e.gutter])
|
|
3193
3193
|
}, [
|
|
3194
|
-
(m(!0),
|
|
3194
|
+
(m(!0), b(ee, null, ne(e.visibleItems, (u) => (m(), b("div", {
|
|
3195
3195
|
key: u.name,
|
|
3196
3196
|
class: Q([`col-${u.span || 6}`])
|
|
3197
3197
|
}, [
|
|
3198
3198
|
y("div", jo, [
|
|
3199
3199
|
y("div", zo, [
|
|
3200
|
-
|
|
3200
|
+
W(T(u.label) + " ", 1),
|
|
3201
3201
|
u.tip ? (m(), V(o, {
|
|
3202
3202
|
key: 0,
|
|
3203
3203
|
name: "app:question",
|
|
@@ -3212,7 +3212,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3212
3212
|
"max-width": "300px"
|
|
3213
3213
|
}, {
|
|
3214
3214
|
default: I(() => [
|
|
3215
|
-
|
|
3215
|
+
W(T(u.tip), 1)
|
|
3216
3216
|
]),
|
|
3217
3217
|
_: 2
|
|
3218
3218
|
}, 1024)
|
|
@@ -3220,7 +3220,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3220
3220
|
_: 2
|
|
3221
3221
|
}, 1024)) : Y("", !0)
|
|
3222
3222
|
]),
|
|
3223
|
-
y("div",
|
|
3223
|
+
y("div", bo, [
|
|
3224
3224
|
y("div", {
|
|
3225
3225
|
class: Q(["value", { clickable: e.isClickable(u) }]),
|
|
3226
3226
|
onClick: (g) => e.handleClick(u)
|
|
@@ -3231,7 +3231,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3231
3231
|
item: u,
|
|
3232
3232
|
data: e.data,
|
|
3233
3233
|
fieldName: u.name
|
|
3234
|
-
}, void 0, !0) : u.html ? (m(),
|
|
3234
|
+
}, void 0, !0) : u.html ? (m(), b("div", {
|
|
3235
3235
|
key: 1,
|
|
3236
3236
|
innerHTML: e.getDefaultValue(u),
|
|
3237
3237
|
class: Q([e.getOptionClass(u), "html-content"]),
|
|
@@ -3242,8 +3242,8 @@ function $o(e, t, n, l, r, a) {
|
|
|
3242
3242
|
lines: u.whiteSpace || 1,
|
|
3243
3243
|
class: Q(e.getOptionClass(u))
|
|
3244
3244
|
}, null, 8, ["content", "lines", "class"]))
|
|
3245
|
-
], 10,
|
|
3246
|
-
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(),
|
|
3245
|
+
], 10, To),
|
|
3246
|
+
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", wo, [
|
|
3247
3247
|
e.slots[`item-suffix-${u.name}`] ? E(e.$slots, `item-suffix-${u.name}`, {
|
|
3248
3248
|
key: 0,
|
|
3249
3249
|
value: e.data[u.name],
|
|
@@ -3258,18 +3258,18 @@ function $o(e, t, n, l, r, a) {
|
|
|
3258
3258
|
])
|
|
3259
3259
|
])
|
|
3260
3260
|
], 2))), 128))
|
|
3261
|
-
], 2)) : e.layout === "horizontal-left" ? (m(),
|
|
3261
|
+
], 2)) : e.layout === "horizontal-left" ? (m(), b("div", {
|
|
3262
3262
|
key: 2,
|
|
3263
3263
|
class: Q(["row horizontal-left-container", e.gutter]),
|
|
3264
3264
|
style: H(e.containerStyle)
|
|
3265
3265
|
}, [
|
|
3266
|
-
(m(!0),
|
|
3266
|
+
(m(!0), b(ee, null, ne(e.visibleItems, (u) => (m(), b("div", {
|
|
3267
3267
|
key: u.name,
|
|
3268
3268
|
class: Q([`col-${u.span || 6}`])
|
|
3269
3269
|
}, [
|
|
3270
3270
|
y("div", vo, [
|
|
3271
3271
|
y("div", So, [
|
|
3272
|
-
|
|
3272
|
+
W(T(u.label) + " ", 1),
|
|
3273
3273
|
u.tip ? (m(), V(o, {
|
|
3274
3274
|
key: 0,
|
|
3275
3275
|
name: "app:question",
|
|
@@ -3284,7 +3284,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3284
3284
|
"max-width": "300px"
|
|
3285
3285
|
}, {
|
|
3286
3286
|
default: I(() => [
|
|
3287
|
-
|
|
3287
|
+
W(T(u.tip), 1)
|
|
3288
3288
|
]),
|
|
3289
3289
|
_: 2
|
|
3290
3290
|
}, 1024)
|
|
@@ -3303,7 +3303,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3303
3303
|
item: u,
|
|
3304
3304
|
data: e.data,
|
|
3305
3305
|
fieldName: u.name
|
|
3306
|
-
}, void 0, !0) : u.html ? (m(),
|
|
3306
|
+
}, void 0, !0) : u.html ? (m(), b("div", {
|
|
3307
3307
|
key: 1,
|
|
3308
3308
|
innerHTML: e.getDefaultValue(u),
|
|
3309
3309
|
class: Q([e.getOptionClass(u), "html-content"]),
|
|
@@ -3315,7 +3315,7 @@ function $o(e, t, n, l, r, a) {
|
|
|
3315
3315
|
class: Q(e.getOptionClass(u))
|
|
3316
3316
|
}, null, 8, ["content", "lines", "class"]))
|
|
3317
3317
|
], 10, ko),
|
|
3318
|
-
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(),
|
|
3318
|
+
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Eo, [
|
|
3319
3319
|
e.slots[`item-suffix-${u.name}`] ? E(e.$slots, `item-suffix-${u.name}`, {
|
|
3320
3320
|
key: 0,
|
|
3321
3321
|
value: e.data[u.name],
|
|
@@ -3332,12 +3332,12 @@ function $o(e, t, n, l, r, a) {
|
|
|
3332
3332
|
], 2))), 128))
|
|
3333
3333
|
], 6)) : Y("", !0);
|
|
3334
3334
|
}
|
|
3335
|
-
const
|
|
3335
|
+
const Is = /* @__PURE__ */ B(Io, [["render", $o], ["__scopeId", "data-v-f9923d28"]]), Yo = U({
|
|
3336
3336
|
name: "JQFile",
|
|
3337
3337
|
components: {
|
|
3338
|
-
QField:
|
|
3338
|
+
QField: ke,
|
|
3339
3339
|
QIcon: le,
|
|
3340
|
-
QBtn:
|
|
3340
|
+
QBtn: re
|
|
3341
3341
|
},
|
|
3342
3342
|
props: {
|
|
3343
3343
|
modelValue: { type: Array },
|
|
@@ -3357,31 +3357,31 @@ const ps = /* @__PURE__ */ Z(Io, [["render", $o], ["__scopeId", "data-v-f9923d28
|
|
|
3357
3357
|
get() {
|
|
3358
3358
|
return e.modelValue ?? a.value ?? [];
|
|
3359
3359
|
},
|
|
3360
|
-
set(
|
|
3361
|
-
t("update:modelValue",
|
|
3360
|
+
set(w) {
|
|
3361
|
+
t("update:modelValue", w), a.value = w;
|
|
3362
3362
|
}
|
|
3363
|
-
}), o = h(!1), s = N(() => Number(e.maxlength) || 0), c = N(() => s.value > 0 && s.value <= i.value.length), u = (
|
|
3363
|
+
}), o = h(!1), s = N(() => Number(e.maxlength) || 0), c = N(() => s.value > 0 && s.value <= i.value.length), u = (w) => w != null && w.length ? Array.from(w) : [], g = async (w) => {
|
|
3364
3364
|
const O = i.value.length, k = s.value - O;
|
|
3365
|
-
let
|
|
3365
|
+
let Z = [...w];
|
|
3366
3366
|
if (s.value > 0 && k <= 0) {
|
|
3367
|
-
|
|
3367
|
+
Ve.show({ type: "error", content: l("messages.jQFile.maxlength", { count: s.value }) });
|
|
3368
3368
|
return;
|
|
3369
3369
|
}
|
|
3370
|
-
if (s.value > 0 &&
|
|
3371
|
-
const P = await e.beforeHandle(
|
|
3370
|
+
if (s.value > 0 && Z.length > k && (Z = Z.slice(0, k)), e.beforeHandle) {
|
|
3371
|
+
const P = await e.beforeHandle(Z);
|
|
3372
3372
|
P && (i.value = [...i.value, ...P]);
|
|
3373
3373
|
} else
|
|
3374
|
-
i.value = [...i.value, ...
|
|
3374
|
+
i.value = [...i.value, ...Z];
|
|
3375
3375
|
}, M = () => {
|
|
3376
|
-
var
|
|
3377
|
-
(
|
|
3378
|
-
}, d = (
|
|
3379
|
-
const O =
|
|
3376
|
+
var w;
|
|
3377
|
+
(w = r.value) == null || w.click();
|
|
3378
|
+
}, d = (w) => {
|
|
3379
|
+
const O = w.target, k = u(O.files);
|
|
3380
3380
|
k.length && g(k), O.value = "";
|
|
3381
|
-
}, p = (
|
|
3381
|
+
}, p = (w) => {
|
|
3382
3382
|
var k;
|
|
3383
3383
|
o.value = !1;
|
|
3384
|
-
const O = u((k =
|
|
3384
|
+
const O = u((k = w.dataTransfer) == null ? void 0 : k.files);
|
|
3385
3385
|
O.length && g(O);
|
|
3386
3386
|
}, D = () => {
|
|
3387
3387
|
o.value = !0;
|
|
@@ -3389,10 +3389,10 @@ const ps = /* @__PURE__ */ Z(Io, [["render", $o], ["__scopeId", "data-v-f9923d28
|
|
|
3389
3389
|
o.value = !0;
|
|
3390
3390
|
}, v = () => {
|
|
3391
3391
|
o.value = !1;
|
|
3392
|
-
}, q = (
|
|
3393
|
-
const { size: O, unit: k } =
|
|
3392
|
+
}, q = (w) => {
|
|
3393
|
+
const { size: O, unit: k } = Oe({ size: w.size });
|
|
3394
3394
|
return `${O.toLocaleString()} ${k}`;
|
|
3395
|
-
}, $ = (
|
|
3395
|
+
}, $ = (w, O) => {
|
|
3396
3396
|
const k = [...i.value];
|
|
3397
3397
|
k.splice(O, 1), i.value = k;
|
|
3398
3398
|
}, j = N(() => Reflect.has(n, "hint"));
|
|
@@ -3417,13 +3417,13 @@ const ps = /* @__PURE__ */ Z(Io, [["render", $o], ["__scopeId", "data-v-f9923d28
|
|
|
3417
3417
|
}), Vo = { class: "j-q-file" }, Qo = { class: "fs-14 q-mt-sm" }, Po = { class: "text-grey fs-12 q-mt-xs" }, qo = { class: "file-filers" }, Uo = { class: "filer-content" }, Bo = ["title"], Zo = {
|
|
3418
3418
|
key: 0,
|
|
3419
3419
|
class: "filer-size"
|
|
3420
|
-
}, Ro = ["accept", "multiple"],
|
|
3420
|
+
}, Ro = ["accept", "multiple"], Wo = {
|
|
3421
3421
|
key: 0,
|
|
3422
3422
|
class: "file-hint"
|
|
3423
3423
|
};
|
|
3424
|
-
function
|
|
3424
|
+
function xo(e, t, n, l, r, a) {
|
|
3425
3425
|
const i = A("q-icon"), o = A("q-btn"), s = A("q-field");
|
|
3426
|
-
return m(),
|
|
3426
|
+
return m(), b("div", Vo, [
|
|
3427
3427
|
C(s, {
|
|
3428
3428
|
modelValue: e.computedValue,
|
|
3429
3429
|
"onUpdate:modelValue": t[6] || (t[6] = (c) => e.computedValue = c),
|
|
@@ -3448,15 +3448,15 @@ function Wo(e, t, n, l, r, a) {
|
|
|
3448
3448
|
name: "app:upload",
|
|
3449
3449
|
size: "32px"
|
|
3450
3450
|
}),
|
|
3451
|
-
y("p", Qo,
|
|
3452
|
-
y("p", Po,
|
|
3451
|
+
y("p", Qo, T(e.t("messages.jQFile.click_or_drag_file")), 1),
|
|
3452
|
+
y("p", Po, T(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + T(e.t("messages.jQFile.max_file_size", {
|
|
3453
3453
|
size: e.maxFileSize
|
|
3454
3454
|
})), 1)
|
|
3455
3455
|
], 34), [
|
|
3456
3456
|
[ie, e.computedValue.length !== Number(e.maxlength)]
|
|
3457
3457
|
]),
|
|
3458
3458
|
oe(y("ul", qo, [
|
|
3459
|
-
(m(!0),
|
|
3459
|
+
(m(!0), b(ee, null, ne(e.computedValue, (c, u) => (m(), b("li", {
|
|
3460
3460
|
key: u,
|
|
3461
3461
|
class: "filer-item"
|
|
3462
3462
|
}, [
|
|
@@ -3464,8 +3464,8 @@ function Wo(e, t, n, l, r, a) {
|
|
|
3464
3464
|
y("div", {
|
|
3465
3465
|
class: "filer-name text-black",
|
|
3466
3466
|
title: c.name
|
|
3467
|
-
},
|
|
3468
|
-
c.size ? (m(),
|
|
3467
|
+
}, T(c.name), 9, Bo),
|
|
3468
|
+
c.size ? (m(), b("div", Zo, T(e.getFileSizeDisplay(c)), 1)) : Y("", !0)
|
|
3469
3469
|
]),
|
|
3470
3470
|
C(o, {
|
|
3471
3471
|
class: "filer-remove",
|
|
@@ -3494,12 +3494,12 @@ function Wo(e, t, n, l, r, a) {
|
|
|
3494
3494
|
]),
|
|
3495
3495
|
_: 1
|
|
3496
3496
|
}, 8, ["modelValue", "disable", "rules"]),
|
|
3497
|
-
e.hasSlotHint ? (m(),
|
|
3497
|
+
e.hasSlotHint ? (m(), b("div", Wo, [
|
|
3498
3498
|
E(e.$slots, "hint")
|
|
3499
3499
|
])) : Y("", !0)
|
|
3500
3500
|
]);
|
|
3501
3501
|
}
|
|
3502
|
-
const
|
|
3502
|
+
const Ds = /* @__PURE__ */ B(Yo, [["render", xo]]), Go = U({
|
|
3503
3503
|
name: "JQNewValue",
|
|
3504
3504
|
components: {
|
|
3505
3505
|
QSelect: tt,
|
|
@@ -3539,8 +3539,8 @@ const fs = /* @__PURE__ */ Z(Yo, [["render", Wo]]), Go = B({
|
|
|
3539
3539
|
return;
|
|
3540
3540
|
}
|
|
3541
3541
|
let j = !0;
|
|
3542
|
-
const { name:
|
|
3543
|
-
e.addRulesName && (j =
|
|
3542
|
+
const { name: w, args: O } = bn(e.addRulesName);
|
|
3543
|
+
e.addRulesName && (j = Tn(w, S, O, i)), j === !0 && D(S, "add"), j !== !0 && (o.value = j, ($ = a.value) == null || $.focus());
|
|
3544
3544
|
}
|
|
3545
3545
|
};
|
|
3546
3546
|
G(
|
|
@@ -3616,18 +3616,18 @@ function Fo(e, t, n, l, r, a) {
|
|
|
3616
3616
|
"use-chips": e.useChips,
|
|
3617
3617
|
error: !!e.newValueErrorMessage,
|
|
3618
3618
|
"error-message": e.newValueErrorMessage
|
|
3619
|
-
},
|
|
3619
|
+
}, we({ _: 2 }, [
|
|
3620
3620
|
ne(e.slotNames, (s) => ({
|
|
3621
3621
|
name: s,
|
|
3622
3622
|
fn: I((c) => [
|
|
3623
|
-
E(e.$slots, s,
|
|
3623
|
+
E(e.$slots, s, ue(ge(c)))
|
|
3624
3624
|
])
|
|
3625
3625
|
})),
|
|
3626
3626
|
e.useChips ? {
|
|
3627
3627
|
name: "selected-item",
|
|
3628
3628
|
fn: I((s) => [
|
|
3629
3629
|
y("span", Ho, [
|
|
3630
|
-
y("span", null,
|
|
3630
|
+
y("span", null, T(s.opt), 1),
|
|
3631
3631
|
C(i, {
|
|
3632
3632
|
name: "close",
|
|
3633
3633
|
class: "cursor-pointer q-ml-xs",
|
|
@@ -3640,13 +3640,13 @@ function Fo(e, t, n, l, r, a) {
|
|
|
3640
3640
|
} : void 0
|
|
3641
3641
|
]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
|
|
3642
3642
|
}
|
|
3643
|
-
const
|
|
3643
|
+
const As = /* @__PURE__ */ B(Go, [["render", Fo]]), Jo = U({
|
|
3644
3644
|
name: "JQOptionGroup",
|
|
3645
3645
|
components: {
|
|
3646
|
-
QField:
|
|
3646
|
+
QField: ke,
|
|
3647
3647
|
QOptionGroup: Ht,
|
|
3648
3648
|
QIcon: le,
|
|
3649
|
-
QTooltip:
|
|
3649
|
+
QTooltip: Le
|
|
3650
3650
|
},
|
|
3651
3651
|
props: {
|
|
3652
3652
|
modelValue: {
|
|
@@ -3743,7 +3743,7 @@ function Ko(e, t, n, l, r, a) {
|
|
|
3743
3743
|
dense: e.dense
|
|
3744
3744
|
}, {
|
|
3745
3745
|
label: I((g) => [
|
|
3746
|
-
|
|
3746
|
+
W(T(g.label) + " ", 1),
|
|
3747
3747
|
g.tip ? (m(), V(o, {
|
|
3748
3748
|
key: 0,
|
|
3749
3749
|
name: "app:question",
|
|
@@ -3757,7 +3757,7 @@ function Ko(e, t, n, l, r, a) {
|
|
|
3757
3757
|
offset: [10, 10]
|
|
3758
3758
|
}, {
|
|
3759
3759
|
default: I(() => [
|
|
3760
|
-
|
|
3760
|
+
W(T(g.tip), 1)
|
|
3761
3761
|
]),
|
|
3762
3762
|
_: 2
|
|
3763
3763
|
}, 1024)
|
|
@@ -3771,12 +3771,12 @@ function Ko(e, t, n, l, r, a) {
|
|
|
3771
3771
|
_: 1
|
|
3772
3772
|
}, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
|
|
3773
3773
|
}
|
|
3774
|
-
const
|
|
3774
|
+
const Ns = /* @__PURE__ */ B(Jo, [["render", Ko], ["__scopeId", "data-v-cd2d30aa"]]), Xo = U({
|
|
3775
3775
|
name: "JQPopover",
|
|
3776
3776
|
components: {
|
|
3777
3777
|
QPopupProxy: Ae,
|
|
3778
|
-
QCard:
|
|
3779
|
-
QCardSection:
|
|
3778
|
+
QCard: Se,
|
|
3779
|
+
QCardSection: ve
|
|
3780
3780
|
},
|
|
3781
3781
|
props: {
|
|
3782
3782
|
title: {
|
|
@@ -3807,7 +3807,7 @@ const Is = /* @__PURE__ */ Z(Jo, [["render", Ko], ["__scopeId", "data-v-cd2d30aa
|
|
|
3807
3807
|
}, i = () => {
|
|
3808
3808
|
e.trigger === "hover" && t.value && t.value.hide();
|
|
3809
3809
|
};
|
|
3810
|
-
return
|
|
3810
|
+
return he(() => {
|
|
3811
3811
|
var s;
|
|
3812
3812
|
const o = ((s = n.value) == null ? void 0 : s.$el) || document.querySelector(".inline-block");
|
|
3813
3813
|
o && (e.trigger === "click" ? o.addEventListener("click", r) : e.trigger === "hover" && (o.addEventListener("mouseenter", a), o.addEventListener("mouseleave", i)));
|
|
@@ -3824,7 +3824,7 @@ const Is = /* @__PURE__ */ Z(Jo, [["render", Ko], ["__scopeId", "data-v-cd2d30aa
|
|
|
3824
3824
|
}), _o = { class: "inline-block" }, ea = { class: "text-body2 text-grey" };
|
|
3825
3825
|
function ta(e, t, n, l, r, a) {
|
|
3826
3826
|
const i = A("q-card-section"), o = A("q-card"), s = A("q-popup-proxy");
|
|
3827
|
-
return m(),
|
|
3827
|
+
return m(), b("div", _o, [
|
|
3828
3828
|
E(e.$slots, "default", {}, void 0, !0),
|
|
3829
3829
|
C(s, {
|
|
3830
3830
|
ref: "popupRef",
|
|
@@ -3840,7 +3840,7 @@ function ta(e, t, n, l, r, a) {
|
|
|
3840
3840
|
C(i, { class: "q-pa-sm" }, {
|
|
3841
3841
|
default: I(() => [
|
|
3842
3842
|
E(e.$slots, "content", {}, () => [
|
|
3843
|
-
y("span", ea,
|
|
3843
|
+
y("span", ea, T(e.title), 1)
|
|
3844
3844
|
], !0)
|
|
3845
3845
|
]),
|
|
3846
3846
|
_: 3
|
|
@@ -3853,10 +3853,10 @@ function ta(e, t, n, l, r, a) {
|
|
|
3853
3853
|
}, 512)
|
|
3854
3854
|
]);
|
|
3855
3855
|
}
|
|
3856
|
-
const
|
|
3856
|
+
const Cs = /* @__PURE__ */ B(Xo, [["render", ta], ["__scopeId", "data-v-8de7d551"]]), na = U({
|
|
3857
3857
|
name: "jQSearchForm",
|
|
3858
3858
|
components: {
|
|
3859
|
-
QBtn:
|
|
3859
|
+
QBtn: re
|
|
3860
3860
|
},
|
|
3861
3861
|
props: {
|
|
3862
3862
|
modelValue: { type: Object, required: !0 },
|
|
@@ -3902,13 +3902,13 @@ const Ds = /* @__PURE__ */ Z(Xo, [["render", ta], ["__scopeId", "data-v-8de7d551
|
|
|
3902
3902
|
}, ra = { class: "search-bar-extra-operation" };
|
|
3903
3903
|
function ua(e, t, n, l, r, a) {
|
|
3904
3904
|
const i = A("q-btn");
|
|
3905
|
-
return m(),
|
|
3905
|
+
return m(), b("div", null, [
|
|
3906
3906
|
y("div", la, [
|
|
3907
3907
|
y("div", oa, [
|
|
3908
3908
|
y("div", aa, [
|
|
3909
3909
|
y("div", sa, [
|
|
3910
3910
|
E(e.$slots, "default"),
|
|
3911
|
-
e.operationVisible ? (m(),
|
|
3911
|
+
e.operationVisible ? (m(), b("div", ia, [
|
|
3912
3912
|
C(i, {
|
|
3913
3913
|
color: "primary",
|
|
3914
3914
|
loading: e.queryLoading,
|
|
@@ -3918,7 +3918,7 @@ function ua(e, t, n, l, r, a) {
|
|
|
3918
3918
|
onClick: e.handleClickQuery
|
|
3919
3919
|
}, {
|
|
3920
3920
|
default: I(() => [
|
|
3921
|
-
|
|
3921
|
+
W(T(e.t("action.query")), 1)
|
|
3922
3922
|
]),
|
|
3923
3923
|
_: 1
|
|
3924
3924
|
}, 8, ["loading", "onClick"]),
|
|
@@ -3932,7 +3932,7 @@ function ua(e, t, n, l, r, a) {
|
|
|
3932
3932
|
outline: ""
|
|
3933
3933
|
}, {
|
|
3934
3934
|
default: I(() => [
|
|
3935
|
-
|
|
3935
|
+
W(T(e.t("action.reset")), 1)
|
|
3936
3936
|
]),
|
|
3937
3937
|
_: 1
|
|
3938
3938
|
}, 8, ["loading", "onClick"])) : Y("", !0)
|
|
@@ -3946,7 +3946,7 @@ function ua(e, t, n, l, r, a) {
|
|
|
3946
3946
|
], 512)
|
|
3947
3947
|
]);
|
|
3948
3948
|
}
|
|
3949
|
-
const
|
|
3949
|
+
const js = /* @__PURE__ */ B(na, [["render", ua]]), da = U({
|
|
3950
3950
|
name: "JQSelect",
|
|
3951
3951
|
components: {
|
|
3952
3952
|
QSelect: tt,
|
|
@@ -3997,10 +3997,10 @@ const As = /* @__PURE__ */ Z(na, [["render", ua]]), da = B({
|
|
|
3997
3997
|
t("update:modelValue", j);
|
|
3998
3998
|
}
|
|
3999
3999
|
}), s = h(e.options), c = h(""), u = h(void 0), g = N(() => !!e.optionValue), M = N(() => u.value ? u.value : c.value ? e.options.filter((j) => {
|
|
4000
|
-
const
|
|
4001
|
-
return String(
|
|
4000
|
+
const w = (j == null ? void 0 : j[e.optionLabel]) ?? JSON.stringify(j);
|
|
4001
|
+
return String(w).toLowerCase().includes(c.value.toLowerCase());
|
|
4002
4002
|
}) : e.options), d = N(() => {
|
|
4003
|
-
const j = e.options,
|
|
4003
|
+
const j = e.options, w = j.length;
|
|
4004
4004
|
let O = o.value;
|
|
4005
4005
|
if (e.valueDisplayFn)
|
|
4006
4006
|
return e.valueDisplayFn(O);
|
|
@@ -4010,66 +4010,66 @@ const As = /* @__PURE__ */ Z(na, [["render", ua]]), da = B({
|
|
|
4010
4010
|
return (Array.isArray(O) ? O : []).map((P) => {
|
|
4011
4011
|
if (g.value) {
|
|
4012
4012
|
const J = j.find((te) => (te == null ? void 0 : te[e.optionValue]) === P);
|
|
4013
|
-
return !J &&
|
|
4013
|
+
return !J && w === 0 ? "" : (J == null ? void 0 : J[e.optionLabel]) ?? P;
|
|
4014
4014
|
}
|
|
4015
4015
|
return (P == null ? void 0 : P[e.optionLabel]) ?? P;
|
|
4016
4016
|
}).filter(Boolean).join(", ");
|
|
4017
4017
|
if (g.value) {
|
|
4018
|
-
const k = j.find((
|
|
4019
|
-
return !k &&
|
|
4018
|
+
const k = j.find((Z) => (Z == null ? void 0 : Z[e.optionValue]) === O);
|
|
4019
|
+
return !k && w === 0 ? "" : (k == null ? void 0 : k[e.optionLabel]) ?? O;
|
|
4020
4020
|
}
|
|
4021
4021
|
return (O == null ? void 0 : O[e.optionLabel]) ?? O;
|
|
4022
4022
|
}), p = (j) => {
|
|
4023
|
-
const
|
|
4024
|
-
if (!Array.isArray(
|
|
4025
|
-
const O =
|
|
4023
|
+
const w = o.value;
|
|
4024
|
+
if (!Array.isArray(w)) return "";
|
|
4025
|
+
const O = w[j], k = e.options.find((Z) => (Z == null ? void 0 : Z[e.optionValue]) === O);
|
|
4026
4026
|
return (k == null ? void 0 : k[e.optionLabel]) ?? O;
|
|
4027
4027
|
}, D = (j) => {
|
|
4028
|
-
const
|
|
4029
|
-
if (!Array.isArray(
|
|
4030
|
-
const O =
|
|
4028
|
+
const w = o.value;
|
|
4029
|
+
if (!Array.isArray(w)) return;
|
|
4030
|
+
const O = w[j];
|
|
4031
4031
|
return g.value ? e.options.find((k) => (k == null ? void 0 : k[e.optionValue]) === O) : typeof O == "object" && O !== null ? O : void 0;
|
|
4032
|
-
}, S = (j,
|
|
4032
|
+
}, S = (j, w, O) => {
|
|
4033
4033
|
const k = j.trim().toLowerCase();
|
|
4034
4034
|
if (e.filterFn) {
|
|
4035
4035
|
try {
|
|
4036
|
-
e.filterFn(k, (
|
|
4037
|
-
|
|
4036
|
+
e.filterFn(k, (Z) => {
|
|
4037
|
+
w(Z);
|
|
4038
4038
|
});
|
|
4039
4039
|
} catch {
|
|
4040
|
-
|
|
4040
|
+
w([]);
|
|
4041
4041
|
}
|
|
4042
4042
|
c.value = k, u.value = void 0;
|
|
4043
4043
|
return;
|
|
4044
4044
|
}
|
|
4045
4045
|
if (k) {
|
|
4046
|
-
const
|
|
4046
|
+
const Z = e.options.filter((P) => {
|
|
4047
4047
|
const J = (P == null ? void 0 : P[e.optionLabel]) ?? JSON.stringify(P);
|
|
4048
4048
|
return String(J).toLowerCase().includes(k);
|
|
4049
4049
|
});
|
|
4050
|
-
|
|
4050
|
+
w(Z);
|
|
4051
4051
|
} else
|
|
4052
|
-
|
|
4052
|
+
w(e.options);
|
|
4053
4053
|
c.value = k, u.value = void 0;
|
|
4054
4054
|
}, v = N(() => {
|
|
4055
4055
|
let j = "j-q-select-popup select-popup-content height1";
|
|
4056
4056
|
return e.popupContentClass && (j += ` ${e.popupContentClass}`), j;
|
|
4057
4057
|
}), q = () => {
|
|
4058
|
-
|
|
4058
|
+
de(() => {
|
|
4059
4059
|
if (r.value) {
|
|
4060
|
-
const j = r.value.$el,
|
|
4061
|
-
|
|
4060
|
+
const j = r.value.$el, w = j == null ? void 0 : j.querySelector(".q-field__native span");
|
|
4061
|
+
w && (i.value = w.scrollWidth > w.clientWidth);
|
|
4062
4062
|
}
|
|
4063
4063
|
});
|
|
4064
4064
|
}, $ = N(() => e.filterable && i.value ? !1 : e.filterable ?? e.useInput);
|
|
4065
4065
|
return G([o, d], () => {
|
|
4066
4066
|
e.filterable && q();
|
|
4067
|
-
}),
|
|
4067
|
+
}), he(() => {
|
|
4068
4068
|
e.filterable && q();
|
|
4069
4069
|
}), G(
|
|
4070
4070
|
o,
|
|
4071
|
-
(j,
|
|
4072
|
-
e.multiple && e.closeOnSelect && r.value && Array.isArray(j) && Array.isArray(
|
|
4071
|
+
(j, w) => {
|
|
4072
|
+
e.multiple && e.closeOnSelect && r.value && Array.isArray(j) && Array.isArray(w) && j.length !== w.length && r.value.hidePopup();
|
|
4073
4073
|
},
|
|
4074
4074
|
{ deep: !0 }
|
|
4075
4075
|
), l({
|
|
@@ -4137,7 +4137,7 @@ function Ma(e, t, n, l, r, a) {
|
|
|
4137
4137
|
loading: e.loading,
|
|
4138
4138
|
onFilter: e.filter,
|
|
4139
4139
|
"hide-dropdown-icon": e.readonly
|
|
4140
|
-
},
|
|
4140
|
+
}, we({
|
|
4141
4141
|
loading: I(() => [
|
|
4142
4142
|
C(i, {
|
|
4143
4143
|
color: "primary",
|
|
@@ -4146,7 +4146,7 @@ function Ma(e, t, n, l, r, a) {
|
|
|
4146
4146
|
})
|
|
4147
4147
|
]),
|
|
4148
4148
|
default: I(() => [
|
|
4149
|
-
oe(y("div", { class: "float-placeholder" },
|
|
4149
|
+
oe(y("div", { class: "float-placeholder" }, T(e.t("messages.pleaseSelect")), 513), [
|
|
4150
4150
|
[ie, !e.filterable && !e.label && (e.innerValue === null || e.innerValue === "" || e.innerValue === void 0 || Array.isArray(e.innerValue) && e.innerValue.length === 0)]
|
|
4151
4151
|
])
|
|
4152
4152
|
]),
|
|
@@ -4165,8 +4165,8 @@ function Ma(e, t, n, l, r, a) {
|
|
|
4165
4165
|
var M;
|
|
4166
4166
|
return [
|
|
4167
4167
|
y("span", ca, [
|
|
4168
|
-
E(e.$slots, "chip-value-display",
|
|
4169
|
-
|
|
4168
|
+
E(e.$slots, "chip-value-display", ue(ge(g)), () => [
|
|
4169
|
+
W(T(e.getSelectedItemLabelByIndex(g.index)), 1)
|
|
4170
4170
|
]),
|
|
4171
4171
|
(M = e.getSelectedItemOptionByIndex(g.index)) != null && M.hideRemove ? Y("", !0) : (m(), V(o, {
|
|
4172
4172
|
key: 0,
|
|
@@ -4216,7 +4216,7 @@ function Ma(e, t, n, l, r, a) {
|
|
|
4216
4216
|
default: I(() => [
|
|
4217
4217
|
C(s, { class: "text-grey text-caption" }, {
|
|
4218
4218
|
default: I(() => [
|
|
4219
|
-
|
|
4219
|
+
W(T(e.t("messages.noData")), 1)
|
|
4220
4220
|
]),
|
|
4221
4221
|
_: 1
|
|
4222
4222
|
})
|
|
@@ -4230,13 +4230,13 @@ function Ma(e, t, n, l, r, a) {
|
|
|
4230
4230
|
e.slots.option ? {
|
|
4231
4231
|
name: "option",
|
|
4232
4232
|
fn: I((g) => [
|
|
4233
|
-
E(e.$slots, "option",
|
|
4233
|
+
E(e.$slots, "option", ue(ge(g)))
|
|
4234
4234
|
]),
|
|
4235
4235
|
key: "7"
|
|
4236
4236
|
} : void 0
|
|
4237
4237
|
]), 1032, ["class", "modelValue", "clearable", "dense", "placeholder", "disable", "display-value", "dropdown-icon", "emit-value", "input-debounce", "label", "max-values", "multiple", "no-error-icon", "options", "option-label", "option-value", "options-dense", "outlined", "popup-content-class", "readonly", "rules", "title", "use-chips", "use-input", "loading", "onFilter", "hide-dropdown-icon"]);
|
|
4238
4238
|
}
|
|
4239
|
-
const
|
|
4239
|
+
const zs = /* @__PURE__ */ B(da, [["render", Ma]]), it = 15, kt = [10, 15, 20, 30, 50];
|
|
4240
4240
|
function ga(e) {
|
|
4241
4241
|
const t = it, n = De({
|
|
4242
4242
|
page: 1,
|
|
@@ -4251,12 +4251,12 @@ function ga(e) {
|
|
|
4251
4251
|
n.rowsNumber = s ?? 0;
|
|
4252
4252
|
} };
|
|
4253
4253
|
}
|
|
4254
|
-
const ma =
|
|
4254
|
+
const ma = U({
|
|
4255
4255
|
name: "MyPaginationComponent",
|
|
4256
4256
|
components: {
|
|
4257
4257
|
QSelect: tt,
|
|
4258
4258
|
QPagination: Jt,
|
|
4259
|
-
QInput:
|
|
4259
|
+
QInput: Qe
|
|
4260
4260
|
},
|
|
4261
4261
|
props: {
|
|
4262
4262
|
paginationInfo: {
|
|
@@ -4329,10 +4329,10 @@ const ma = B({
|
|
|
4329
4329
|
}), pa = { class: "row items-center justify-end" }, fa = { style: { "margin-top": "4px" } }, ya = { style: { "margin-top": "4px", "margin-right": "24px" } }, Ia = { style: { "margin-left": "24px" } };
|
|
4330
4330
|
function Da(e, t, n, l, r, a) {
|
|
4331
4331
|
const i = A("q-select"), o = A("q-pagination"), s = A("q-input");
|
|
4332
|
-
return m(),
|
|
4332
|
+
return m(), b("div", null, [
|
|
4333
4333
|
y("div", pa, [
|
|
4334
4334
|
y("div", fa, [
|
|
4335
|
-
y("span", null,
|
|
4335
|
+
y("span", null, T(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
|
|
4336
4336
|
]),
|
|
4337
4337
|
C(i, {
|
|
4338
4338
|
class: "my-pagination",
|
|
@@ -4351,7 +4351,7 @@ function Da(e, t, n, l, r, a) {
|
|
|
4351
4351
|
"popup-content-class": "j-q-select-popup select-popup-content height1"
|
|
4352
4352
|
}, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
|
|
4353
4353
|
y("div", ya, [
|
|
4354
|
-
y("span", null,
|
|
4354
|
+
y("span", null, T(e.t("messages.pagination.pieces_page")), 1)
|
|
4355
4355
|
]),
|
|
4356
4356
|
C(o, {
|
|
4357
4357
|
modelValue: e.internalInfo.page,
|
|
@@ -4370,7 +4370,7 @@ function Da(e, t, n, l, r, a) {
|
|
|
4370
4370
|
"active-text-color": "white",
|
|
4371
4371
|
ripple: !1
|
|
4372
4372
|
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
|
|
4373
|
-
y("p", Ia,
|
|
4373
|
+
y("p", Ia, T(e.t("messages.pagination.goto")), 1),
|
|
4374
4374
|
C(s, {
|
|
4375
4375
|
autofocus: !1,
|
|
4376
4376
|
modelValue: e.internalInfo.currentPage,
|
|
@@ -4389,7 +4389,7 @@ function Da(e, t, n, l, r, a) {
|
|
|
4389
4389
|
])
|
|
4390
4390
|
]);
|
|
4391
4391
|
}
|
|
4392
|
-
const Aa = /* @__PURE__ */
|
|
4392
|
+
const Aa = /* @__PURE__ */ B(ma, [["render", Da]]), Na = U({
|
|
4393
4393
|
name: "JQTableComponent",
|
|
4394
4394
|
components: {
|
|
4395
4395
|
Pagination: Aa,
|
|
@@ -4432,19 +4432,19 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4432
4432
|
return ((f = e.columns) == null ? void 0 : f.filter((z) => Reflect.has(l, `header-cell-${z.name}`))) || [];
|
|
4433
4433
|
}), d = N(() => {
|
|
4434
4434
|
var f;
|
|
4435
|
-
return ((f = e.columns) == null ? void 0 : f.filter(({ name: z, onClick:
|
|
4435
|
+
return ((f = e.columns) == null ? void 0 : f.filter(({ name: z, onClick: x }) => Reflect.has(l, `body-cell-${z}`) && !x)) || [];
|
|
4436
4436
|
}), p = N(() => {
|
|
4437
4437
|
var f;
|
|
4438
4438
|
return ((f = e.columns) == null ? void 0 : f.filter(({ onClick: z }) => z)) || [];
|
|
4439
4439
|
}), D = N(() => {
|
|
4440
4440
|
var f;
|
|
4441
|
-
return ((f = e.columns) == null ? void 0 : f.filter(({ whiteSpace: z, onClick:
|
|
4441
|
+
return ((f = e.columns) == null ? void 0 : f.filter(({ whiteSpace: z, onClick: x, name: F }) => z && !x && !Reflect.has(l, `body-cell-${F}`))) || [];
|
|
4442
4442
|
}), S = N(() => {
|
|
4443
4443
|
var f;
|
|
4444
|
-
return ((f = e.columns) == null ? void 0 : f.filter(({ limitWidth: z, whiteSpace:
|
|
4445
|
-
}), { paginationInfo: v, getPaginationParam: q, getNum: $, setNum: j, setTotal:
|
|
4444
|
+
return ((f = e.columns) == null ? void 0 : f.filter(({ limitWidth: z, whiteSpace: x, onClick: F, name: X }) => z && !x && !F && !Reflect.has(l, `body-cell-${X}`))) || [];
|
|
4445
|
+
}), { paginationInfo: v, getPaginationParam: q, getNum: $, setNum: j, setTotal: w, setSize: O } = ga(), k = N(() => ({
|
|
4446
4446
|
rowsPerPage: 0
|
|
4447
|
-
})),
|
|
4447
|
+
})), Z = () => {
|
|
4448
4448
|
t("changeNum", v), e.autoScrollOnChangePage && te();
|
|
4449
4449
|
}, P = () => {
|
|
4450
4450
|
t("changeSize", v), e.autoScrollOnChangePage && te();
|
|
@@ -4456,7 +4456,7 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4456
4456
|
f == null || f.scrollIntoView({ behavior: "smooth" });
|
|
4457
4457
|
}, me = (f, z) => f.format && typeof f.format == "function" ? f.format(z) : z, ce = (f, z) => {
|
|
4458
4458
|
f.onClick && typeof f.onClick == "function" && f.onClick(z);
|
|
4459
|
-
}, Ne = (f, z,
|
|
4459
|
+
}, Ne = (f, z, x) => f.clickable && typeof f.clickable == "function" ? f.clickable(z, x) : z != null, Ee = (f) => {
|
|
4460
4460
|
const z = window.innerWidth <= 1440;
|
|
4461
4461
|
if (f) {
|
|
4462
4462
|
if (z && f.cellMaxWidthSmall !== void 0)
|
|
@@ -4467,7 +4467,7 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4467
4467
|
return z ? e.cellMaxWidthSmall : e.cellMaxWidth;
|
|
4468
4468
|
}, Pe = (f) => {
|
|
4469
4469
|
if (!f.whiteSpace) return {};
|
|
4470
|
-
const z =
|
|
4470
|
+
const z = Ee(f);
|
|
4471
4471
|
return {
|
|
4472
4472
|
width: `${z}px`,
|
|
4473
4473
|
maxWidth: `${z}px`,
|
|
@@ -4482,26 +4482,26 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4482
4482
|
return { "--cell-max-width": `${f.cellMaxWidth}px` };
|
|
4483
4483
|
}
|
|
4484
4484
|
return {};
|
|
4485
|
-
},
|
|
4485
|
+
}, $e = (f) => f.whiteSpace ? `cell-ellipsis cell-ellipsis--${Math.min(Math.max(1, Number(f.whiteSpace) || 1), 3)}` : "", Ue = () => ({
|
|
4486
4486
|
whiteSpace: "normal",
|
|
4487
4487
|
wordBreak: "break-word",
|
|
4488
4488
|
overflowWrap: "break-word"
|
|
4489
|
-
}), Be = (f) =>
|
|
4490
|
-
f && (o.value.set(z, f),
|
|
4491
|
-
|
|
4489
|
+
}), Be = (f) => Ee(f) <= 300 ? "j-tooltip--small" : "j-tooltip--large", Ze = (f, z) => {
|
|
4490
|
+
f && (o.value.set(z, f), de(() => {
|
|
4491
|
+
Ye(z);
|
|
4492
4492
|
}));
|
|
4493
|
-
},
|
|
4493
|
+
}, Ye = (f) => {
|
|
4494
4494
|
const z = o.value.get(f);
|
|
4495
4495
|
if (!z) {
|
|
4496
4496
|
s.value.set(f, !1);
|
|
4497
4497
|
return;
|
|
4498
4498
|
}
|
|
4499
|
-
const
|
|
4500
|
-
s.value.set(f,
|
|
4499
|
+
const x = z.scrollWidth > z.clientWidth || z.scrollHeight > z.clientHeight;
|
|
4500
|
+
s.value.set(f, x);
|
|
4501
4501
|
}, Re = (f) => s.value.get(f) || !1, L = () => {
|
|
4502
|
-
|
|
4502
|
+
de(() => {
|
|
4503
4503
|
o.value.forEach((f, z) => {
|
|
4504
|
-
|
|
4504
|
+
Ye(z);
|
|
4505
4505
|
});
|
|
4506
4506
|
});
|
|
4507
4507
|
};
|
|
@@ -4522,7 +4522,7 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4522
4522
|
getPaginationParam: q,
|
|
4523
4523
|
getNum: $,
|
|
4524
4524
|
setNum: j,
|
|
4525
|
-
setTotal:
|
|
4525
|
+
setTotal: w,
|
|
4526
4526
|
setSize: O,
|
|
4527
4527
|
scrollTop: te,
|
|
4528
4528
|
ROWS_PER_PAGE_OPTIONS: kt,
|
|
@@ -4542,17 +4542,17 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4542
4542
|
getPaginationParam: q,
|
|
4543
4543
|
getNum: $,
|
|
4544
4544
|
setNum: j,
|
|
4545
|
-
setTotal:
|
|
4545
|
+
setTotal: w,
|
|
4546
4546
|
setSize: O,
|
|
4547
4547
|
clacPagination: k,
|
|
4548
|
-
changeNum:
|
|
4548
|
+
changeNum: Z,
|
|
4549
4549
|
changeSize: P,
|
|
4550
4550
|
onPaginationChange: J,
|
|
4551
4551
|
formatColumnValue: me,
|
|
4552
4552
|
handleColumnClick: ce,
|
|
4553
4553
|
isClickable: Ne,
|
|
4554
4554
|
getCellStyle: Pe,
|
|
4555
|
-
getCellClass:
|
|
4555
|
+
getCellClass: $e,
|
|
4556
4556
|
getCellLimitWidthStyle: qe,
|
|
4557
4557
|
getTooltipStyle: Ue,
|
|
4558
4558
|
getTooltipClass: Be,
|
|
@@ -4563,7 +4563,7 @@ const Aa = /* @__PURE__ */ Z(ma, [["render", Da]]), Na = B({
|
|
|
4563
4563
|
}), Ca = ["onClick"];
|
|
4564
4564
|
function ja(e, t, n, l, r, a) {
|
|
4565
4565
|
const i = A("q-th"), o = A("q-td"), s = A("q-tooltip"), c = A("q-inner-loading"), u = A("q-table"), g = A("Pagination");
|
|
4566
|
-
return m(),
|
|
4566
|
+
return m(), b("div", {
|
|
4567
4567
|
class: "j-q-table-container",
|
|
4568
4568
|
style: H({
|
|
4569
4569
|
"--cell-max-width": `${e.cellMaxWidth}px`,
|
|
@@ -4585,7 +4585,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4585
4585
|
"table-header-class": e.computedTableHeaderClass,
|
|
4586
4586
|
"hide-pagination": "",
|
|
4587
4587
|
"binary-state-sort": !1
|
|
4588
|
-
},
|
|
4588
|
+
}, we({
|
|
4589
4589
|
loading: I(() => [
|
|
4590
4590
|
C(c, {
|
|
4591
4591
|
showing: "",
|
|
@@ -4596,7 +4596,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4596
4596
|
}, null, 8, ["label"])
|
|
4597
4597
|
]),
|
|
4598
4598
|
"no-data": I(() => [
|
|
4599
|
-
|
|
4599
|
+
W(T(e.t("messages.noData")), 1)
|
|
4600
4600
|
]),
|
|
4601
4601
|
_: 2
|
|
4602
4602
|
}, [
|
|
@@ -4610,14 +4610,14 @@ function ja(e, t, n, l, r, a) {
|
|
|
4610
4610
|
e.hasSlot("header") ? {
|
|
4611
4611
|
name: "header",
|
|
4612
4612
|
fn: I((M) => [
|
|
4613
|
-
E(e.$slots, "header",
|
|
4613
|
+
E(e.$slots, "header", ue(ge(M)))
|
|
4614
4614
|
]),
|
|
4615
4615
|
key: "1"
|
|
4616
4616
|
} : void 0,
|
|
4617
4617
|
e.hasSlot("body") ? {
|
|
4618
4618
|
name: "body",
|
|
4619
4619
|
fn: I((M) => [
|
|
4620
|
-
E(e.$slots, "body",
|
|
4620
|
+
E(e.$slots, "body", ue(ge(M)))
|
|
4621
4621
|
]),
|
|
4622
4622
|
key: "2"
|
|
4623
4623
|
} : void 0,
|
|
@@ -4626,7 +4626,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4626
4626
|
fn: I((d) => [
|
|
4627
4627
|
C(i, { props: d }, {
|
|
4628
4628
|
default: I(() => [
|
|
4629
|
-
E(e.$slots, `header-cell-${M.name}`,
|
|
4629
|
+
E(e.$slots, `header-cell-${M.name}`, ue(ge(d)))
|
|
4630
4630
|
]),
|
|
4631
4631
|
_: 2
|
|
4632
4632
|
}, 1032, ["props"])
|
|
@@ -4637,13 +4637,13 @@ function ja(e, t, n, l, r, a) {
|
|
|
4637
4637
|
fn: I((d) => [
|
|
4638
4638
|
C(o, { props: d }, {
|
|
4639
4639
|
default: I(() => [
|
|
4640
|
-
M.limitWidth ? (m(),
|
|
4640
|
+
M.limitWidth ? (m(), b("div", {
|
|
4641
4641
|
key: 0,
|
|
4642
4642
|
class: "cell-limit-width",
|
|
4643
4643
|
style: H(e.getCellLimitWidthStyle(M))
|
|
4644
4644
|
}, [
|
|
4645
|
-
E(e.$slots, `body-cell-${M.name}`,
|
|
4646
|
-
], 4)) : E(e.$slots, `body-cell-${M.name}`,
|
|
4645
|
+
E(e.$slots, `body-cell-${M.name}`, ue(ge(d)))
|
|
4646
|
+
], 4)) : E(e.$slots, `body-cell-${M.name}`, ue(Te({ key: 1 }, d)))
|
|
4647
4647
|
]),
|
|
4648
4648
|
_: 2
|
|
4649
4649
|
}, 1032, ["props"])
|
|
@@ -4657,7 +4657,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4657
4657
|
y("div", {
|
|
4658
4658
|
class: "cell-limit-width",
|
|
4659
4659
|
style: H(e.getCellLimitWidthStyle(M))
|
|
4660
|
-
},
|
|
4660
|
+
}, T(e.formatColumnValue(M, d.value)), 5)
|
|
4661
4661
|
]),
|
|
4662
4662
|
_: 2
|
|
4663
4663
|
}, 1032, ["props"])
|
|
@@ -4674,7 +4674,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4674
4674
|
y("div", {
|
|
4675
4675
|
class: Q(e.getCellClass(M)),
|
|
4676
4676
|
ref: (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`)
|
|
4677
|
-
},
|
|
4677
|
+
}, T(e.formatColumnValue(M, d.value)), 3),
|
|
4678
4678
|
e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), V(s, {
|
|
4679
4679
|
key: 0,
|
|
4680
4680
|
style: H(e.getTooltipStyle()),
|
|
@@ -4684,7 +4684,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4684
4684
|
offset: [10, 10]
|
|
4685
4685
|
}, {
|
|
4686
4686
|
default: I(() => [
|
|
4687
|
-
|
|
4687
|
+
W(T(e.formatColumnValue(M, d.value)), 1)
|
|
4688
4688
|
]),
|
|
4689
4689
|
_: 2
|
|
4690
4690
|
}, 1032, ["style", "class"])) : Y("", !0)
|
|
@@ -4701,12 +4701,12 @@ function ja(e, t, n, l, r, a) {
|
|
|
4701
4701
|
style: H(e.getCellStyle(M))
|
|
4702
4702
|
}, {
|
|
4703
4703
|
default: I(() => [
|
|
4704
|
-
e.isClickable(M, d.value, d.row) ? (m(),
|
|
4704
|
+
e.isClickable(M, d.value, d.row) ? (m(), b(ee, { key: 0 }, [
|
|
4705
4705
|
y("div", {
|
|
4706
4706
|
class: Q(["link-type", e.getCellClass(M)]),
|
|
4707
4707
|
ref: M.whiteSpace ? (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`) : void 0,
|
|
4708
4708
|
onClick: (p) => e.handleColumnClick(M, d.row)
|
|
4709
|
-
},
|
|
4709
|
+
}, T(e.formatColumnValue(M, d.value)), 11, Ca),
|
|
4710
4710
|
M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), V(s, {
|
|
4711
4711
|
key: 0,
|
|
4712
4712
|
style: H(e.getTooltipStyle()),
|
|
@@ -4716,15 +4716,15 @@ function ja(e, t, n, l, r, a) {
|
|
|
4716
4716
|
offset: [10, 10]
|
|
4717
4717
|
}, {
|
|
4718
4718
|
default: I(() => [
|
|
4719
|
-
|
|
4719
|
+
W(T(e.formatColumnValue(M, d.value)), 1)
|
|
4720
4720
|
]),
|
|
4721
4721
|
_: 2
|
|
4722
4722
|
}, 1032, ["style", "class"])) : Y("", !0)
|
|
4723
|
-
], 64)) : (m(),
|
|
4723
|
+
], 64)) : (m(), b(ee, { key: 1 }, [
|
|
4724
4724
|
y("div", {
|
|
4725
4725
|
class: Q(e.getCellClass(M)),
|
|
4726
4726
|
ref: M.whiteSpace ? (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`) : void 0
|
|
4727
|
-
},
|
|
4727
|
+
}, T(e.formatColumnValue(M, d.value)), 3),
|
|
4728
4728
|
M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), V(s, {
|
|
4729
4729
|
key: 0,
|
|
4730
4730
|
style: H(e.getTooltipStyle()),
|
|
@@ -4734,7 +4734,7 @@ function ja(e, t, n, l, r, a) {
|
|
|
4734
4734
|
offset: [10, 10]
|
|
4735
4735
|
}, {
|
|
4736
4736
|
default: I(() => [
|
|
4737
|
-
|
|
4737
|
+
W(T(e.formatColumnValue(M, d.value)), 1)
|
|
4738
4738
|
]),
|
|
4739
4739
|
_: 2
|
|
4740
4740
|
}, 1032, ["style", "class"])) : Y("", !0)
|
|
@@ -4754,13 +4754,13 @@ function ja(e, t, n, l, r, a) {
|
|
|
4754
4754
|
E(e.$slots, "append")
|
|
4755
4755
|
], 4);
|
|
4756
4756
|
}
|
|
4757
|
-
const
|
|
4757
|
+
const bs = /* @__PURE__ */ B(Na, [["render", ja]]), za = U({
|
|
4758
4758
|
name: "dialogConfirmComponent",
|
|
4759
4759
|
components: {
|
|
4760
4760
|
QDialog: Dt,
|
|
4761
|
-
QCard:
|
|
4762
|
-
QCardSection:
|
|
4763
|
-
QBtn:
|
|
4761
|
+
QCard: Se,
|
|
4762
|
+
QCardSection: ve,
|
|
4763
|
+
QBtn: re,
|
|
4764
4764
|
QIcon: le
|
|
4765
4765
|
},
|
|
4766
4766
|
emits: [...Mt.emits],
|
|
@@ -4784,8 +4784,8 @@ const Cs = /* @__PURE__ */ Z(Na, [["render", ja]]), za = B({
|
|
|
4784
4784
|
computedConfirmText: i
|
|
4785
4785
|
};
|
|
4786
4786
|
}
|
|
4787
|
-
}),
|
|
4788
|
-
function
|
|
4787
|
+
}), ba = { class: "title" };
|
|
4788
|
+
function Ta(e, t, n, l, r, a) {
|
|
4789
4789
|
const i = A("q-icon"), o = A("q-card-section"), s = A("q-btn"), c = A("q-card"), u = A("q-dialog");
|
|
4790
4790
|
return m(), V(u, {
|
|
4791
4791
|
ref: "dialogRef",
|
|
@@ -4805,13 +4805,13 @@ function ba(e, t, n, l, r, a) {
|
|
|
4805
4805
|
class: "q-mr-sm",
|
|
4806
4806
|
size: "24px"
|
|
4807
4807
|
})) : Y("", !0),
|
|
4808
|
-
y("div",
|
|
4808
|
+
y("div", ba, T(e.title), 1)
|
|
4809
4809
|
]),
|
|
4810
4810
|
_: 1
|
|
4811
4811
|
}),
|
|
4812
4812
|
C(o, { class: "q-pt-none content" }, {
|
|
4813
4813
|
default: I(() => [
|
|
4814
|
-
|
|
4814
|
+
W(T(e.content), 1)
|
|
4815
4815
|
]),
|
|
4816
4816
|
_: 1
|
|
4817
4817
|
}),
|
|
@@ -4844,7 +4844,7 @@ function ba(e, t, n, l, r, a) {
|
|
|
4844
4844
|
_: 1
|
|
4845
4845
|
}, 8, ["onHide"]);
|
|
4846
4846
|
}
|
|
4847
|
-
const ha = /* @__PURE__ */
|
|
4847
|
+
const ha = /* @__PURE__ */ B(za, [["render", Ta], ["__scopeId", "data-v-9658106e"]]);
|
|
4848
4848
|
let ze = null;
|
|
4849
4849
|
class wa {
|
|
4850
4850
|
/**
|
|
@@ -4879,7 +4879,157 @@ class wa {
|
|
|
4879
4879
|
}) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
|
-
const va = new wa()
|
|
4882
|
+
const va = new wa(), Sa = U({
|
|
4883
|
+
name: "JQButton",
|
|
4884
|
+
components: {
|
|
4885
|
+
QBtn: re,
|
|
4886
|
+
QTooltip: Le
|
|
4887
|
+
},
|
|
4888
|
+
inheritAttrs: !1,
|
|
4889
|
+
props: {
|
|
4890
|
+
/**
|
|
4891
|
+
* @description 按钮大小
|
|
4892
|
+
* @default large
|
|
4893
|
+
* @values {large, normal, small}
|
|
4894
|
+
*/
|
|
4895
|
+
size: {
|
|
4896
|
+
type: String,
|
|
4897
|
+
default: "large",
|
|
4898
|
+
validator: (e) => [
|
|
4899
|
+
"large",
|
|
4900
|
+
"normal",
|
|
4901
|
+
"small"
|
|
4902
|
+
/* SMALL */
|
|
4903
|
+
].includes(e)
|
|
4904
|
+
},
|
|
4905
|
+
/**
|
|
4906
|
+
* @description 按钮类型
|
|
4907
|
+
* @default primary
|
|
4908
|
+
* @values {primary, secondary, text, icon}
|
|
4909
|
+
*/
|
|
4910
|
+
type: {
|
|
4911
|
+
type: String,
|
|
4912
|
+
default: "primary",
|
|
4913
|
+
validator: (e) => [
|
|
4914
|
+
"primary",
|
|
4915
|
+
"secondary",
|
|
4916
|
+
"text"
|
|
4917
|
+
/* TEXT */
|
|
4918
|
+
].includes(e)
|
|
4919
|
+
},
|
|
4920
|
+
/**
|
|
4921
|
+
* @description 按钮标签
|
|
4922
|
+
* @default ''
|
|
4923
|
+
* @type {string}
|
|
4924
|
+
* @description 按钮标签
|
|
4925
|
+
*/
|
|
4926
|
+
label: { type: String, default: "" },
|
|
4927
|
+
/**
|
|
4928
|
+
* @description 按钮图标
|
|
4929
|
+
* @default undefined
|
|
4930
|
+
* @type {string}
|
|
4931
|
+
* @description 按钮图标
|
|
4932
|
+
*/
|
|
4933
|
+
icon: { type: String, default: void 0 },
|
|
4934
|
+
/**
|
|
4935
|
+
* @description 按钮加载状态
|
|
4936
|
+
* @default false
|
|
4937
|
+
* @type {boolean}
|
|
4938
|
+
* @description 按钮加载状态
|
|
4939
|
+
*/
|
|
4940
|
+
loading: { type: Boolean, default: !1 },
|
|
4941
|
+
/**
|
|
4942
|
+
* @description 按钮提示
|
|
4943
|
+
* @default ''
|
|
4944
|
+
* @type {string}
|
|
4945
|
+
* @description 按钮提示
|
|
4946
|
+
*/
|
|
4947
|
+
tips: { type: String, default: "" }
|
|
4948
|
+
},
|
|
4949
|
+
emits: {
|
|
4950
|
+
click: (e) => !0
|
|
4951
|
+
},
|
|
4952
|
+
setup(e, { emit: t, expose: n, slots: l }) {
|
|
4953
|
+
const r = h(null), a = N(() => ({ "j-q-button-label": (l.icon || e.icon) && (l.default || e.label) })), i = N(() => [
|
|
4954
|
+
"primary",
|
|
4955
|
+
"secondary"
|
|
4956
|
+
/* SECONDARY */
|
|
4957
|
+
].includes(e.type) ? {
|
|
4958
|
+
[`j-q-button--${{
|
|
4959
|
+
large: "lg",
|
|
4960
|
+
normal: "md",
|
|
4961
|
+
small: "sm"
|
|
4962
|
+
}[e.size]}`]: !0,
|
|
4963
|
+
"j-q-button": !0,
|
|
4964
|
+
"j-q-button--primary": e.type === "primary",
|
|
4965
|
+
"j-q-button--secondary": e.type === "secondary"
|
|
4966
|
+
/* SECONDARY */
|
|
4967
|
+
} : {
|
|
4968
|
+
"j-q-button--text": e.type === "text"
|
|
4969
|
+
/* TEXT */
|
|
4970
|
+
}), o = (s) => {
|
|
4971
|
+
t("click", s);
|
|
4972
|
+
};
|
|
4973
|
+
return n({}), {
|
|
4974
|
+
computedClass: i,
|
|
4975
|
+
iconPadding: a,
|
|
4976
|
+
click: o,
|
|
4977
|
+
qBtnRef: r
|
|
4978
|
+
};
|
|
4979
|
+
}
|
|
4980
|
+
}), La = {
|
|
4981
|
+
key: 0,
|
|
4982
|
+
class: "j-q-button-prefix-icon"
|
|
4983
|
+
};
|
|
4984
|
+
function ka(e, t, n, l, r, a) {
|
|
4985
|
+
const i = A("q-tooltip"), o = A("q-btn");
|
|
4986
|
+
return m(), V(o, Te({
|
|
4987
|
+
class: e.computedClass,
|
|
4988
|
+
loading: e.loading
|
|
4989
|
+
}, e.$attrs, {
|
|
4990
|
+
icon: e.icon,
|
|
4991
|
+
onClick: e.click,
|
|
4992
|
+
unelevated: "",
|
|
4993
|
+
"no-caps": "",
|
|
4994
|
+
ripple: !1,
|
|
4995
|
+
ref: "qBtnRef"
|
|
4996
|
+
}), we({
|
|
4997
|
+
default: I(() => [
|
|
4998
|
+
!e.icon && e.$slots.icon ? (m(), b("span", La, [
|
|
4999
|
+
E(e.$slots, "icon", {}, void 0, !0)
|
|
5000
|
+
])) : Y("", !0),
|
|
5001
|
+
y("span", {
|
|
5002
|
+
class: Q(e.iconPadding)
|
|
5003
|
+
}, [
|
|
5004
|
+
E(e.$slots, "default", {}, () => [
|
|
5005
|
+
W(T(e.label), 1)
|
|
5006
|
+
], !0)
|
|
5007
|
+
], 2),
|
|
5008
|
+
e.tips ? (m(), V(i, {
|
|
5009
|
+
key: 1,
|
|
5010
|
+
class: "j-q-button-tooltip",
|
|
5011
|
+
anchor: "top middle",
|
|
5012
|
+
self: "bottom middle",
|
|
5013
|
+
offset: [10, 6]
|
|
5014
|
+
}, {
|
|
5015
|
+
default: I(() => [
|
|
5016
|
+
W(T(e.tips), 1)
|
|
5017
|
+
]),
|
|
5018
|
+
_: 1
|
|
5019
|
+
})) : Y("", !0)
|
|
5020
|
+
]),
|
|
5021
|
+
_: 2
|
|
5022
|
+
}, [
|
|
5023
|
+
e.$slots.loading ? {
|
|
5024
|
+
name: "loading",
|
|
5025
|
+
fn: I(() => [
|
|
5026
|
+
E(e.$slots, "loading", {}, void 0, !0)
|
|
5027
|
+
]),
|
|
5028
|
+
key: "0"
|
|
5029
|
+
} : void 0
|
|
5030
|
+
]), 1040, ["class", "loading", "icon", "onClick"]);
|
|
5031
|
+
}
|
|
5032
|
+
const Ts = /* @__PURE__ */ B(Sa, [["render", ka], ["__scopeId", "data-v-feb4cedd"]]);
|
|
4883
5033
|
function Ot(e, t = {}) {
|
|
4884
5034
|
if (!Array.isArray(e))
|
|
4885
5035
|
return [];
|
|
@@ -4894,13 +5044,13 @@ function Ot(e, t = {}) {
|
|
|
4894
5044
|
return Array.isArray(c) && c.length > 0 && (s.children = Ot(c, t)), s;
|
|
4895
5045
|
});
|
|
4896
5046
|
}
|
|
4897
|
-
const
|
|
5047
|
+
const Oa = (e, t) => {
|
|
4898
5048
|
const n = window.decodeURI(t), l = new Blob([e]);
|
|
4899
5049
|
if ("download" in document.createElement("a")) {
|
|
4900
5050
|
const r = document.createElement("a");
|
|
4901
5051
|
r.download = n, r.style.display = "none", r.href = window.URL.createObjectURL(l), document.body.appendChild(r), r.click(), window.URL.revokeObjectURL(r.href), document.body.removeChild(r);
|
|
4902
5052
|
}
|
|
4903
|
-
},
|
|
5053
|
+
}, Ea = (e, t) => {
|
|
4904
5054
|
const n = /* @__PURE__ */ new Date(), l = [
|
|
4905
5055
|
n.getFullYear(),
|
|
4906
5056
|
String(n.getMonth() + 1).padStart(2, "0"),
|
|
@@ -4911,7 +5061,7 @@ const Sa = (e, t) => {
|
|
|
4911
5061
|
].join("");
|
|
4912
5062
|
return `${e}_${l}.${t.toLowerCase()}`;
|
|
4913
5063
|
};
|
|
4914
|
-
function
|
|
5064
|
+
function $a(e) {
|
|
4915
5065
|
var t;
|
|
4916
5066
|
if (e === null || typeof e > "u")
|
|
4917
5067
|
return "";
|
|
@@ -4926,13 +5076,13 @@ function ka(e) {
|
|
|
4926
5076
|
}
|
|
4927
5077
|
return e;
|
|
4928
5078
|
}
|
|
4929
|
-
function
|
|
5079
|
+
function Ya(e) {
|
|
4930
5080
|
return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
|
|
4931
5081
|
}
|
|
4932
|
-
function
|
|
4933
|
-
return e = Number(e) || 0,
|
|
5082
|
+
function Va(e, t, n = "TB") {
|
|
5083
|
+
return e = Number(e) || 0, Oe({ size: e, unit: t }, { maxUnit: n });
|
|
4934
5084
|
}
|
|
4935
|
-
function
|
|
5085
|
+
function Qa(e, t) {
|
|
4936
5086
|
if (e === null || typeof e > "u")
|
|
4937
5087
|
return [];
|
|
4938
5088
|
let n;
|
|
@@ -4948,22 +5098,22 @@ function $a(e, t) {
|
|
|
4948
5098
|
return [];
|
|
4949
5099
|
return Array.isArray(n) ? n.map((l) => l && typeof l == "object" && l[t] && typeof l[t] == "string" ? l[t] : null).filter((l) => l !== null) : [];
|
|
4950
5100
|
}
|
|
4951
|
-
const
|
|
5101
|
+
const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4952
5102
|
__proto__: null,
|
|
4953
|
-
dataCvSize:
|
|
4954
|
-
obj2Arr:
|
|
4955
|
-
val2Str:
|
|
4956
|
-
valSplit:
|
|
4957
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4958
|
-
primary:
|
|
4959
|
-
blue:
|
|
4960
|
-
dark:
|
|
4961
|
-
green:
|
|
4962
|
-
red:
|
|
4963
|
-
negative:
|
|
4964
|
-
yellow:
|
|
4965
|
-
grey:
|
|
4966
|
-
white:
|
|
5103
|
+
dataCvSize: Va,
|
|
5104
|
+
obj2Arr: Qa,
|
|
5105
|
+
val2Str: $a,
|
|
5106
|
+
valSplit: Ya
|
|
5107
|
+
}, Symbol.toStringTag, { value: "Module" })), qa = "#0B5CFF", Ua = "#0B5CFF", Ba = "#323232", Za = "#2da641", Ra = "#E93030", Wa = "#E93030", xa = "#f2c037", Ga = "#969799", Ha = "#ffffff", Fa = {
|
|
5108
|
+
primary: qa,
|
|
5109
|
+
blue: Ua,
|
|
5110
|
+
dark: Ba,
|
|
5111
|
+
green: Za,
|
|
5112
|
+
red: Ra,
|
|
5113
|
+
negative: Wa,
|
|
5114
|
+
yellow: xa,
|
|
5115
|
+
grey: Ga,
|
|
5116
|
+
white: Ha,
|
|
4967
5117
|
"blue-light": "#f0f4ff",
|
|
4968
5118
|
"dark-lighter": "#f7f7f7",
|
|
4969
5119
|
"green-light": "#c0e4c6",
|
|
@@ -4987,7 +5137,7 @@ const Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4987
5137
|
"app:table-not-check": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJHcm91cCAxMjQ1MDIwIj4NCjxnIGlkPSJHcm91cCAxMjQ0OTc2Ij4NCjxnIGlkPSImIzIzMTsmIzE1OTsmIzE2OTsmIzIyOTsmIzE4OTsmIzE2MjsiPg0KPHBhdGggZD0iTTE5LjMzMzMgMkg0LjY2NjY3QzMuMTkzOTEgMiAyIDMuMTkzOTEgMiA0LjY2NjY3VjE5LjMzMzNDMiAyMC44MDYxIDMuMTkzOTEgMjIgNC42NjY2NyAyMkgxOS4zMzMzQzIwLjgwNjEgMjIgMjIgMjAuODA2MSAyMiAxOS4zMzMzVjQuNjY2NjdDMjIgMy4xOTM5MSAyMC44MDYxIDIgMTkuMzMzMyAyWiIgZmlsbD0id2hpdGUiLz4NCjxwYXRoIGQ9Ik00LjY2NjY3IDIuNjY2NjdIMTkuMzMzM0MyMC40Mzc5IDIuNjY2NjcgMjEuMzMzMyAzLjU2MjEgMjEuMzMzMyA0LjY2NjY3VjE5LjMzMzNDMjEuMzMzMyAyMC40Mzc5IDIwLjQzNzkgMjEuMzMzMyAxOS4zMzMzIDIxLjMzMzNINC42NjY2N0MzLjU2MjEgMjEuMzMzMyAyLjY2NjY3IDIwLjQzNzkgMi42NjY2NyAxOS4zMzMzVjQuNjY2NjdDMi42NjY2NyAzLjU2MjEgMy41NjIxIDIuNjY2NjcgNC42NjY2NyAyLjY2NjY3WiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLW9wYWNpdHk9IjAuMjUiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIvPg0KPC9nPg0KPC9nPg0KPC9nPg0KPC9zdmc+",
|
|
4988
5138
|
"app:table-not-full-check": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJHcm91cCAxMjQ1MDIxIj4NCjxnIGlkPSJHcm91cCAxMjQ0OTc1Ij4NCjxnIGlkPSImIzIzMDsmIzE1NjsmIzE3MDsmIzIyOTsmIzEzMzsmIzE2ODsmIzIzMzsmIzEyODsmIzEzNzsiPg0KPHBhdGggaWQ9IlJlY3RhbmdsZS02MS1Db3B5IiBkPSJNNC42NjY2NyAyLjY2NjY3SDE5LjMzMzNDMjAuNDM3OSAyLjY2NjY3IDIxLjMzMzMgMy41NjIxIDIxLjMzMzMgNC42NjY2N1YxOS4zMzMzQzIxLjMzMzMgMjAuNDM3OSAyMC40Mzc5IDIxLjMzMzMgMTkuMzMzMyAyMS4zMzMzSDQuNjY2NjdDMy41NjIxIDIxLjMzMzMgMi42NjY2NyAyMC40Mzc5IDIuNjY2NjcgMTkuMzMzM1Y0LjY2NjY3QzIuNjY2NjcgMy41NjIxIDMuNTYyMSAyLjY2NjY3IDQuNjY2NjcgMi42NjY2N1oiIGZpbGw9IndoaXRlIiBzdHJva2U9IiMwQjVDRkYiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIvPg0KPHBhdGggaWQ9IlJlY3RhbmdsZS03IiBkPSJNMTYuMzc1IDExLjM3NUg3LjYyNVYxMi42MjVIMTYuMzc1VjExLjM3NVoiIHN0cm9rZT0iIzBCNUNGRiIgc3Ryb2tlLXdpZHRoPSIxLjI1Ii8+DQo8L2c+DQo8L2c+DQo8L2c+DQo8L3N2Zz4=",
|
|
4989
5139
|
"app:upload": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDQwIDQwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPHRpdGxlPue8lue7hCA5PC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHBhdGgNCiAgICAgICAgICAgIGQ9Ik0xOC44NDE2NjY3LDE4LjggQzE5LjQ5ODMzMzMsMTguMTczMzMzMyAyMC41MzY2NjY3LDE4LjE3ODMzMzMgMjEuMTc4MzMzMywxOC44MjE2NjY3IEwyMS4xNzgzMzMzLDE4LjgyMTY2NjcgTDI2LjE3ODMzMzMsMjMuODIxNjY2NyBDMjYuODMsMjQuNDczMzMzMyAyNi44MywyNS41MjY2NjY3IDI2LjE3ODMzMzMsMjYuMTc4MzMzMyBDMjUuODUzMzMzMywyNi41MDMzMzMzIDI1LjQyNjY2NjcsMjYuNjY2NjY2NyAyNSwyNi42NjY2NjY3IEMyNC41NzMzMzMzLDI2LjY2NjY2NjcgMjQuMTQ2NjY2NywyNi41MDMzMzMzIDIzLjgyMTY2NjcsMjYuMTc4MzMzMyBMMjMuODIxNjY2NywyNi4xNzgzMzMzIEwyMS42NjY2NjY3LDI0LjAyMzMzMzMgTDIxLjY2NjY2NjcsMzMuMzMzMzMzMyBDMjEuNjY2NjY2NywzNC4yNTUgMjAuOTIsMzUgMjAsMzUgQzE5LjA4LDM1IDE4LjMzMzMzMzMsMzQuMjU1IDE4LjMzMzMzMzMsMzMuMzMzMzMzMyBMMTguMzMzMzMzMywzMy4zMzMzMzMzIEwxOC4zMzMzMzMzLDIzLjkyNjY2NjcgTDE2LjE1ODMzMzMsMjYuMDI2NjY2NyBDMTUuNDk2NjY2NywyNi42NjgzMzMzIDE0LjQ0MTY2NjcsMjYuNjQ2NjY2NyAxMy44MDE2NjY3LDI1Ljk4NSBDMTMuMTYxNjY2NywyNS4zMjE2NjY3IDEzLjE4LDI0LjI2ODMzMzMgMTMuODQxNjY2NywyMy42MjgzMzMzIEwxMy44NDE2NjY3LDIzLjYyODMzMzMgWiBNMTkuOTk5NjY2Nyw0Ljk5OTgzMzMzIEMyNC4zMDEzMzMzLDQuOTk5ODMzMzMgMjguMDkxMzMzMyw3Ljc2ODE2NjY3IDI5LjQ1OCwxMS43NDE1IEMzMy41MjMsMTIuMjkzMTY2NyAzNi42NjYzMzMzLDE1Ljc4NjUgMzYuNjY2MzMzMywxOS45OTk4MzMzIEMzNi42NjYzMzMzLDIyLjAzNDgzMzMgMzUuOTI2MzMzMywyMy45OTMxNjY3IDM0LjU4MywyNS41MTQ4MzMzIEMzNC4yNTMsMjUuODg2NSAzMy43OTQ2NjY3LDI2LjA3ODM3NTQgMzMuMzMzLDI2LjA3ODM3NTQgQzMyLjk0MTMzMzMsMjYuMDc4Mzc1NCAzMi41NDgsMjUuOTQxNSAzMi4yMjk2NjY3LDI1LjY2MTUgQzMxLjU0MTMzMzMsMjUuMDQ5ODMzMyAzMS40NzQ2NjY3LDIzLjk5ODE2NjcgMzIuMDg0NjY2NywyMy4zMDY1IEMzMi44ODk2NjY3LDIyLjM5NjUgMzMuMzMzLDIxLjIxOTgzMzMgMzMuMzMzLDE5Ljk5OTgzMzMgQzMzLjMzMywxNy4yNDMxNjY3IDMxLjA4OTY2NjcsMTQuOTk5ODMzMyAyOC4zMzMsMTQuOTk5ODMzMyBMMjguMzMzLDE0Ljk5OTgzMzMgTDI4LjE2NjMzMzMsMTQuOTk5ODMzMyBDMjcuMzczLDE0Ljk5OTgzMzMgMjYuNjg5NjY2NywxNC40Mzk4MzMzIDI2LjUzMywxMy42NjE1IEMyNS45MDk2NjY3LDEwLjU3NDgzMzMgMjMuMTYzLDguMzMzMTY2NjcgMTkuOTk5NjY2Nyw4LjMzMzE2NjY3IEMxNi44MzgsOC4zMzMxNjY2NyAxNC4wODk2NjY3LDEwLjU3NDgzMzMgMTMuNDY4LDEzLjY2MTUgQzEzLjMxMTMzMzMsMTQuNDM5ODMzMyAxMi42MjYzMzMzLDE0Ljk5OTgzMzMgMTEuODMzLDE0Ljk5OTgzMzMgTDExLjgzMywxNC45OTk4MzMzIEwxMS42NjYzMzMzLDE0Ljk5OTgzMzMgQzguOTA5NjY2NjcsMTQuOTk5ODMzMyA2LjY2NjMzMzMzLDE3LjI0MzE2NjcgNi42NjYzMzMzMywxOS45OTk4MzMzIEM2LjY2NjMzMzMzLDIxLjIxOTgzMzMgNy4xMDk2NjY2NywyMi4zOTY1IDcuOTE2MzMzMzMsMjMuMzA2NSBDOC41MjQ2NjY2NywyMy45OTgxNjY3IDguNDU5NjY2NjcsMjUuMDQ5ODMzMyA3Ljc2OTY2NjY3LDI1LjY2MTUgQzcuMDc5NjY2NjcsMjYuMjcxNSA2LjAyNjMzMzMzLDI2LjIwMzE2NjcgNS40MTgsMjUuNTE0ODMzMyBDNC4wNzMsMjMuOTkzMTY2NyAzLjMzMywyMi4wMzQ4MzMzIDMuMzMzLDE5Ljk5OTgzMzMgQzMuMzMzLDE1Ljc4NjUgNi40NzYzMzMzMywxMi4yOTMxNjY3IDEwLjU0MTMzMzMsMTEuNzQxNSBDMTEuOTA5NjY2Nyw3Ljc2ODE2NjY3IDE1LjY5OTY2NjcsNC45OTk4MzMzMyAxOS45OTk2NjY3LDQuOTk5ODMzMzMgWiINCiAgICAgICAgICAgIGlkPSJwYXRoLTEiPjwvcGF0aD4NCiAgICA8L2RlZnM+DQogICAgPGcgaWQ9InF1YXNhci1jdXN0b20tc3ZnIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9ImVTSU0tTGlzdO+8iENTVi1pbXBvcnTvvIkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC04MjcuMDAwMDAwLCAtMzE4LjAwMDAwMCkiPg0KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0xMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjcwLjAwMDAwMCwgMTI0LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTg3LjAwMDAwMCwgMTQ0LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uEIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNzAuMDAwMDAwLCA1MC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PC9yZWN0Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+DQogICAgICAgICAgICAgICAgICAgICAgICA8L21hc2s+DQogICAgICAgICAgICAgICAgICAgICAgICA8dXNlIGlkPSLwn46oLUljb24tY29sb3IiIGZpbGw9IiM1NTY5RDQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+"
|
|
4990
|
-
},
|
|
5140
|
+
}, Ja = (e) => {
|
|
4991
5141
|
const t = "img:", n = [e, e.toLowerCase()];
|
|
4992
5142
|
if (e.startsWith("app:")) {
|
|
4993
5143
|
const r = e.slice(4);
|
|
@@ -4998,7 +5148,7 @@ const Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4998
5148
|
if (l)
|
|
4999
5149
|
return { icon: t + ft[l] };
|
|
5000
5150
|
};
|
|
5001
|
-
function
|
|
5151
|
+
function Ka(...e) {
|
|
5002
5152
|
return (t) => {
|
|
5003
5153
|
for (const n of e) {
|
|
5004
5154
|
if (!n) continue;
|
|
@@ -5007,16 +5157,16 @@ function Ha(...e) {
|
|
|
5007
5157
|
}
|
|
5008
5158
|
};
|
|
5009
5159
|
}
|
|
5010
|
-
function
|
|
5160
|
+
function hs(e) {
|
|
5011
5161
|
const { app: t, router: n, store: l, i18n: r, pagePermissionIds: a, pageActionPermissionIds: i, defaultLanguage: o, colors: s } = e;
|
|
5012
|
-
|
|
5162
|
+
es(t);
|
|
5013
5163
|
const c = t.config.globalProperties.$q;
|
|
5014
|
-
c ? (pn(c),
|
|
5164
|
+
c ? (pn(c), Ve.setQuasarInstance(c), va.setQuasarInstance(c), _a(c)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), o ? Ke(o).catch((g) => {
|
|
5015
5165
|
console.error("[rtcpt] Failed to set default language:", g);
|
|
5016
5166
|
}) : Ke("zh-CN").catch((g) => {
|
|
5017
5167
|
console.error("[rtcpt] Failed to load default locale:", g);
|
|
5018
5168
|
});
|
|
5019
|
-
const u =
|
|
5169
|
+
const u = Ja;
|
|
5020
5170
|
if (ot.configure({
|
|
5021
5171
|
router: n,
|
|
5022
5172
|
store: l,
|
|
@@ -5030,81 +5180,82 @@ function js(e) {
|
|
|
5030
5180
|
const g = ct(i) ? i : h(i);
|
|
5031
5181
|
console.log("[rtcpt] Action Permission IDs provided:", g.value), t.provide(jt, g);
|
|
5032
5182
|
}
|
|
5033
|
-
s && c &&
|
|
5183
|
+
s && c && Xa(s), console.log("[rtcpt] Initialization started..."), c && (c.iconMapFn = Ka(c.iconMapFn, u)), console.log("[rtcpt] Initialization completed successfully.");
|
|
5034
5184
|
}
|
|
5035
|
-
function
|
|
5036
|
-
const n = { ...
|
|
5185
|
+
function Xa(e, t) {
|
|
5186
|
+
const n = { ...Fa, ...e }, l = document.documentElement;
|
|
5037
5187
|
Object.entries(n).forEach(([r, a]) => {
|
|
5038
5188
|
l.style.setProperty(`--j-color-${r}`, a);
|
|
5039
5189
|
}), n.primary && Ce("primary", n.primary), n.negative && Ce("negative", n.negative), n.green && Ce("positive", n.green), n.yellow && Ce("warning", n.yellow), n.dark && Ce("dark", n.dark), console.log("[rtcpt] Custom colors applied:", e);
|
|
5040
5190
|
}
|
|
5041
|
-
function
|
|
5191
|
+
function _a(e) {
|
|
5042
5192
|
const t = ["notify", "dialog"], n = [];
|
|
5043
5193
|
t.forEach((l) => {
|
|
5044
5194
|
e[l] || n.push(l);
|
|
5045
5195
|
}), n.length > 0 && console.warn(`[rtcpt] Missing required Quasar plugins: ${n.join(", ")}. Please register them in your main app with app.use(Quasar, { plugins: { Notify, Dialog } })`);
|
|
5046
5196
|
}
|
|
5047
|
-
function
|
|
5197
|
+
function es(e) {
|
|
5048
5198
|
var n;
|
|
5049
5199
|
const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
|
|
5050
5200
|
t != null && t["close-popup"] || e.directive("close-popup", yt);
|
|
5051
5201
|
}
|
|
5052
|
-
const
|
|
5202
|
+
const ws = {
|
|
5053
5203
|
transformTreeUseLabelAndValue: Ot,
|
|
5054
|
-
JQDownloadFile:
|
|
5055
|
-
generateDownloadFileName:
|
|
5204
|
+
JQDownloadFile: Oa,
|
|
5205
|
+
generateDownloadFileName: Ea,
|
|
5056
5206
|
...yo,
|
|
5057
5207
|
formRules: Yn,
|
|
5058
|
-
formUtils:
|
|
5208
|
+
formUtils: Pa
|
|
5059
5209
|
};
|
|
5060
5210
|
export {
|
|
5061
5211
|
ot as DialogProvider,
|
|
5062
5212
|
nn as JCCopy,
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5213
|
+
os as JCDuoListEditor,
|
|
5214
|
+
as as JCEditableProxy,
|
|
5215
|
+
ss as JCFallback,
|
|
5216
|
+
is as JCFoldableList,
|
|
5217
|
+
rs as JCFormatLookup,
|
|
5218
|
+
us as JCListEditor,
|
|
5219
|
+
ds as JCMoreMenu,
|
|
5220
|
+
bt as JCPermission,
|
|
5221
|
+
cs as JCTabs,
|
|
5222
|
+
Ms as JCTitleLine,
|
|
5073
5223
|
jl as JCTree,
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5224
|
+
gs as JCTreeSelect,
|
|
5225
|
+
Ls as JChBar,
|
|
5226
|
+
ks as JChBarLine,
|
|
5227
|
+
Os as JChBubble,
|
|
5228
|
+
Es as JChLine,
|
|
5229
|
+
$s as JChPieDoughnut,
|
|
5230
|
+
Ys as JChRadar,
|
|
5231
|
+
ms as JQAutocomplete,
|
|
5232
|
+
Ts as JQButton,
|
|
5233
|
+
ps as JQConfirm,
|
|
5083
5234
|
va as JQConfirmDialog,
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5235
|
+
fs as JQDate,
|
|
5236
|
+
ys as JQDatetime,
|
|
5237
|
+
Is as JQDetailList,
|
|
5087
5238
|
$n as JQDialog,
|
|
5088
|
-
|
|
5239
|
+
Ds as JQFile,
|
|
5089
5240
|
_n as JQFormLabel,
|
|
5090
5241
|
wt as JQInput,
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5242
|
+
Ve as JQMessage,
|
|
5243
|
+
As as JQNewValue,
|
|
5244
|
+
Ns as JQOptionGroup,
|
|
5245
|
+
Cs as JQPopover,
|
|
5246
|
+
js as JQSearchForm,
|
|
5247
|
+
zs as JQSelect,
|
|
5248
|
+
bs as JQTable,
|
|
5098
5249
|
at as JQTooltip,
|
|
5099
5250
|
jt as PAGE_ACTION_PERMISSION_KEY,
|
|
5100
5251
|
zt as PAGE_PERMISSION_KEY,
|
|
5101
|
-
|
|
5102
|
-
|
|
5252
|
+
Ka as composeIconMapFn,
|
|
5253
|
+
Pa as formUtils,
|
|
5103
5254
|
ht as getLocale,
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5255
|
+
ws as jqTool,
|
|
5256
|
+
Ja as rtcptIconMapFn,
|
|
5257
|
+
hs as rtcptInit,
|
|
5107
5258
|
Ke as setLocale,
|
|
5108
|
-
|
|
5259
|
+
Tt as t,
|
|
5109
5260
|
K as useI18n
|
|
5110
5261
|
};
|