rtcpts 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/j-c-editable-proxy/index.d.ts +89 -2
- package/dist/components/j-c-fallback/index.d.ts +28 -0
- package/dist/components/j-c-format-lookup/index.d.ts +38 -0
- package/dist/components/j-c-more-menu/index.d.ts +15 -0
- package/dist/components/j-c-permission/index.d.ts +30 -0
- package/dist/components/j-c-tabs/index.d.ts +7 -0
- package/dist/components/j-c-tree/index.d.ts +7 -0
- package/dist/components/j-q-button/index.d.ts +71 -29
- package/dist/components/j-q-button/types.d.ts +113 -0
- package/dist/components/j-q-confirm-dialog/index.d.ts +112 -22
- package/dist/components/j-q-datetime/index.d.ts +89 -2
- package/dist/components/j-q-dialog/form.d.ts +19 -0
- package/dist/components/j-q-dialog/index.d.ts +10 -0
- package/dist/components/j-q-file/download.d.ts +13 -0
- package/dist/components/j-q-message/index.d.ts +3 -0
- package/dist/components/j-q-search-form/index.d.ts +90 -3
- package/dist/components/j-q-tooltip/tooltip.d.ts +1 -0
- package/dist/composables/useI18n.d.ts +4 -0
- package/dist/global.d.ts +15 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.ts +0 -4
- package/dist/resolver.mjs +1 -2
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +1102 -1114
- package/dist/utils/icon-map.d.ts +11 -0
- package/dist/utils/init.d.ts +27 -0
- package/dist/utils/resolver.d.ts +41 -1
- package/dist/utils/tool.d.ts +70 -0
- package/package.json +5 -4
package/dist/rtcpt.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as B, ref as T, computed as C, resolveComponent as N, createBlock as Y, openBlock as m, createElementBlock as b, createCommentVNode as E, Fragment as te, renderList as ne, normalizeClass as V, createElementVNode as I, renderSlot as k, createVNode as j, inject as
|
|
2
|
-
import { QIcon as le, copyToClipboard as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { i as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as B, ref as T, computed as C, resolveComponent as N, createBlock as Y, openBlock as m, createElementBlock as b, createCommentVNode as E, Fragment as te, renderList as ne, normalizeClass as V, createElementVNode as I, renderSlot as k, createVNode as j, inject as Pe, toDisplayString as h, mergeProps as he, createSlots as we, withCtx as D, createTextVNode as W, watch as F, normalizeStyle as H, getCurrentInstance as Qt, resolveDirective as ot, withDirectives as oe, vShow as re, Suspense as Pt, resolveDynamicComponent as yt, toHandlers as qt, createApp as Ut, nextTick as de, onMounted as ve, onUnmounted as Bt, h as Rt, withModifiers as ee, reactive as De, Transition as Zt, normalizeProps as ue, guardReactiveProps as me, onBeforeUnmount as Wt, withKeys as xt, isRef as It } from "vue";
|
|
2
|
+
import { QIcon as le, copyToClipboard as Gt, QBtn as Ue, QTooltip as Se, QCardActions as Ft, QCardSection as Le, QCard as ke, QPopupProxy as Ae, ClosePopup as at, QInnerLoading as zt, QDialog as bt, QInput as Be, QItemSection as Tt, QItem as ht, QList as Ht, QMenu as Jt, QTree as Kt, QField as Oe, QDate as wt, date as Z, QSelect as st, QOptionGroup as Xt, QSpinner as _t, QPagination as en, QTd as tn, QTh as nn, QTable as ln, useDialogPluginComponent as Dt, setCssVar as Ce } from "quasar";
|
|
3
|
+
import { _ as R } from "./charts-DFQ978tO.js";
|
|
4
|
+
import { i as Es, a as $s, b as Ys, c as Vs, d as Qs, e as Ps } from "./charts-DFQ978tO.js";
|
|
5
|
+
const on = B({
|
|
6
6
|
name: "JCCopy",
|
|
7
7
|
components: {
|
|
8
8
|
QIcon: le
|
|
@@ -28,19 +28,19 @@ const tn = B({
|
|
|
28
28
|
handleCopy: async () => {
|
|
29
29
|
if (!t.value)
|
|
30
30
|
try {
|
|
31
|
-
await
|
|
31
|
+
await Gt(e.text), t.value = !0, n && clearTimeout(n), n = setTimeout(() => {
|
|
32
32
|
t.value = !1, n = null;
|
|
33
33
|
}, e.revertDelay);
|
|
34
|
-
} catch (
|
|
35
|
-
console.error("复制失败:",
|
|
34
|
+
} catch (s) {
|
|
35
|
+
console.error("复制失败:", s);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
|
-
function
|
|
42
|
-
const
|
|
43
|
-
return m(), Y(
|
|
41
|
+
function an(e, t, n, l, r, a) {
|
|
42
|
+
const s = N("q-icon");
|
|
43
|
+
return m(), Y(s, {
|
|
44
44
|
name: e.iconName,
|
|
45
45
|
size: "16px",
|
|
46
46
|
color: e.iconColor,
|
|
@@ -48,10 +48,10 @@ function nn(e, t, n, l, r, a) {
|
|
|
48
48
|
class: "cursor-pointer"
|
|
49
49
|
}, null, 8, ["name", "color", "onClick"]);
|
|
50
50
|
}
|
|
51
|
-
const
|
|
51
|
+
const sn = /* @__PURE__ */ R(on, [["render", an]]), rn = B({
|
|
52
52
|
name: "JCDuoListEditor",
|
|
53
53
|
components: {
|
|
54
|
-
QBtn:
|
|
54
|
+
QBtn: Ue
|
|
55
55
|
},
|
|
56
56
|
props: {
|
|
57
57
|
modelValue: {
|
|
@@ -86,42 +86,42 @@ const ln = /* @__PURE__ */ Z(tn, [["render", nn]]), on = B({
|
|
|
86
86
|
});
|
|
87
87
|
return {
|
|
88
88
|
innerValue: n,
|
|
89
|
-
getKey: (o,
|
|
90
|
-
updateItem: (o,
|
|
89
|
+
getKey: (o, i) => o.id || o.key || i,
|
|
90
|
+
updateItem: (o, i) => {
|
|
91
91
|
const c = [...n.value];
|
|
92
|
-
typeof
|
|
92
|
+
typeof i == "object" && !Array.isArray(i) && typeof c[o] == "object" && !Array.isArray(c[o]) ? c[o] = { ...c[o], ...i } : c[o] = i, n.value = c;
|
|
93
93
|
},
|
|
94
94
|
addItem: (o) => {
|
|
95
|
-
const
|
|
96
|
-
|
|
95
|
+
const i = [...n.value];
|
|
96
|
+
i.splice(o, 0, JSON.parse(JSON.stringify(e.defaultNewItem))), n.value = i;
|
|
97
97
|
},
|
|
98
98
|
removeItem: (o) => {
|
|
99
99
|
if (n.value.length <= e.minItems) return;
|
|
100
|
-
const
|
|
101
|
-
|
|
100
|
+
const i = [...n.value];
|
|
101
|
+
i.splice(o, 1), n.value = i;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
}),
|
|
105
|
+
}), un = { class: "col-grow" }, dn = {
|
|
106
106
|
key: 0,
|
|
107
107
|
class: "compact-remove-btn"
|
|
108
|
-
},
|
|
108
|
+
}, cn = {
|
|
109
109
|
key: 0,
|
|
110
110
|
class: "list-footer-actions"
|
|
111
111
|
};
|
|
112
|
-
function
|
|
113
|
-
const
|
|
112
|
+
function Mn(e, t, n, l, r, a) {
|
|
113
|
+
const s = N("q-btn");
|
|
114
114
|
return m(), b("div", null, [
|
|
115
|
-
(m(!0), b(te, null, ne(e.innerValue, (o,
|
|
116
|
-
key: e.getKey(o,
|
|
115
|
+
(m(!0), b(te, null, ne(e.innerValue, (o, i) => (m(), b("div", {
|
|
116
|
+
key: e.getKey(o, i),
|
|
117
117
|
class: V(["q-mb-md list-item-row relative-position", { "compact-item": e.actionMode === "compact" }])
|
|
118
118
|
}, [
|
|
119
|
-
I("div",
|
|
119
|
+
I("div", un, [
|
|
120
120
|
k(e.$slots, "item-content", {
|
|
121
121
|
item: o,
|
|
122
|
-
index:
|
|
122
|
+
index: i,
|
|
123
123
|
updateItem: e.updateItem,
|
|
124
|
-
isLast:
|
|
124
|
+
isLast: i === e.innerValue.length - 1,
|
|
125
125
|
addItem: e.addItem,
|
|
126
126
|
removeItem: e.removeItem,
|
|
127
127
|
canAdd: e.innerValue.length < e.maxItems,
|
|
@@ -129,25 +129,25 @@ function un(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(), b("div",
|
|
133
|
-
j(
|
|
132
|
+
e.actionMode === "compact" && e.innerValue.length > e.minItems && e.showRemoveButton ? (m(), b("div", dn, [
|
|
133
|
+
j(s, {
|
|
134
134
|
icon: "close",
|
|
135
135
|
flat: "",
|
|
136
136
|
round: "",
|
|
137
137
|
dense: "",
|
|
138
138
|
color: "grey",
|
|
139
139
|
size: "sm",
|
|
140
|
-
onClick: (c) => e.removeItem(
|
|
140
|
+
onClick: (c) => e.removeItem(i)
|
|
141
141
|
}, null, 8, ["onClick"])
|
|
142
142
|
])) : E("", !0)
|
|
143
143
|
], 2))), 128)),
|
|
144
|
-
e.actionMode === "compact" ? (m(), b("div",
|
|
144
|
+
e.actionMode === "compact" ? (m(), b("div", cn, [
|
|
145
145
|
k(e.$slots, "list-footer-actions", {
|
|
146
146
|
addItem: e.addItem,
|
|
147
147
|
canAdd: e.innerValue.length < e.maxItems && e.showAddButton,
|
|
148
148
|
nextIndex: e.innerValue.length
|
|
149
149
|
}, () => [
|
|
150
|
-
e.innerValue.length < e.maxItems && e.showAddButton ? (m(), Y(
|
|
150
|
+
e.innerValue.length < e.maxItems && e.showAddButton ? (m(), Y(s, {
|
|
151
151
|
key: 0,
|
|
152
152
|
label: "添加新项",
|
|
153
153
|
icon: "add",
|
|
@@ -160,7 +160,7 @@ function un(e, t, n, l, r, a) {
|
|
|
160
160
|
])) : E("", !0)
|
|
161
161
|
]);
|
|
162
162
|
}
|
|
163
|
-
const
|
|
163
|
+
const rs = /* @__PURE__ */ R(rn, [["render", Mn], ["__scopeId", "data-v-22406c09"]]), it = Symbol("pageActionPermissionId"), rt = Symbol("pagePermissionId"), gn = B({
|
|
164
164
|
name: "JCPermission",
|
|
165
165
|
props: {
|
|
166
166
|
/**
|
|
@@ -202,33 +202,33 @@ const as = /* @__PURE__ */ Z(on, [["render", un], ["__scopeId", "data-v-22406c09
|
|
|
202
202
|
},
|
|
203
203
|
slots: Object,
|
|
204
204
|
setup(e) {
|
|
205
|
-
const t =
|
|
205
|
+
const t = Pe(it, T([])), n = Pe(rt, T([])), l = C(() => e.pagePermissionId && e.pagePermissionId.length > 0 ? e.pagePermissionId : n.value || []), r = C(() => e.pageActionPermissionId && e.pageActionPermissionId.length > 0 ? e.pageActionPermissionId : t.value || []), a = C(() => {
|
|
206
206
|
const o = e.code;
|
|
207
207
|
return o ? l.value.includes(o) || r.value.includes(o) : !0;
|
|
208
|
-
}),
|
|
208
|
+
}), s = C(() => !!(a.value || !e.rmDom));
|
|
209
209
|
return {
|
|
210
210
|
hasPermission: a,
|
|
211
|
-
canRender:
|
|
211
|
+
canRender: s
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
}),
|
|
215
|
-
function
|
|
214
|
+
}), mn = { key: 0 };
|
|
215
|
+
function pn(e, t, n, l, r, a) {
|
|
216
216
|
return e.hasPermission ? k(e.$slots, "default", { key: 0 }) : (m(), b(te, { key: 1 }, [
|
|
217
|
-
e.rmDom ? E("", !0) : (m(), b("span",
|
|
217
|
+
e.rmDom ? E("", !0) : (m(), b("span", mn, h(e.defaultContent), 1))
|
|
218
218
|
], 64));
|
|
219
219
|
}
|
|
220
|
-
const
|
|
220
|
+
const vt = /* @__PURE__ */ R(gn, [["render", pn]]), fn = async (e) => (await {
|
|
221
221
|
"zh-CN": () => import("./index-BFCvbBQt.js"),
|
|
222
222
|
"en-US": () => import("./index-B6SYL1io.js")
|
|
223
|
-
}[e]()).default,
|
|
223
|
+
}[e]()).default, He = {}, yn = async (e) => (He[e] || (He[e] = await fn(e)), He[e]), In = {
|
|
224
224
|
"zh-CN": () => import("./zh-CN-BoRskSmh.js"),
|
|
225
225
|
"en-US": () => import("./en-US-Di49EX5C.js")
|
|
226
|
-
},
|
|
227
|
-
let
|
|
228
|
-
function
|
|
229
|
-
|
|
226
|
+
}, ut = T("zh-CN"), _e = T(null);
|
|
227
|
+
let et = null;
|
|
228
|
+
function Dn(e) {
|
|
229
|
+
et = e;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function An(e, t) {
|
|
232
232
|
const n = t.split(".");
|
|
233
233
|
let l = e;
|
|
234
234
|
for (const r of n)
|
|
@@ -238,50 +238,208 @@ function yn(e, t) {
|
|
|
238
238
|
return t;
|
|
239
239
|
return typeof l == "string" ? l : t;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function Nn(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
|
|
245
|
-
if (!
|
|
244
|
+
function St(e, t) {
|
|
245
|
+
if (!_e.value)
|
|
246
246
|
return console.warn("[rtcpt] i18n messages not loaded yet, please call setLocale first"), e;
|
|
247
|
-
const n =
|
|
248
|
-
return
|
|
247
|
+
const n = An(_e.value, e);
|
|
248
|
+
return Nn(n, t);
|
|
249
249
|
}
|
|
250
|
-
async function
|
|
251
|
-
|
|
250
|
+
async function tt(e) {
|
|
251
|
+
ut.value = e;
|
|
252
252
|
try {
|
|
253
|
-
|
|
253
|
+
_e.value = await yn(e);
|
|
254
254
|
} catch (n) {
|
|
255
255
|
console.error(`[rtcpt] Failed to load locale messages for ${e}:`, n);
|
|
256
256
|
}
|
|
257
|
-
const t =
|
|
258
|
-
t &&
|
|
259
|
-
|
|
257
|
+
const t = In[e];
|
|
258
|
+
t && et && t().then((n) => {
|
|
259
|
+
et.lang.set(n.default);
|
|
260
260
|
}).catch((n) => {
|
|
261
261
|
console.error(`[rtcpt] Failed to load Quasar locale for ${e}:`, n);
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
return
|
|
264
|
+
function dt() {
|
|
265
|
+
return ut.value;
|
|
266
266
|
}
|
|
267
267
|
function X() {
|
|
268
268
|
return {
|
|
269
|
-
t:
|
|
270
|
-
locale:
|
|
271
|
-
setLocale:
|
|
272
|
-
getLocale:
|
|
269
|
+
t: St,
|
|
270
|
+
locale: ut,
|
|
271
|
+
setLocale: tt,
|
|
272
|
+
getLocale: dt
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
|
-
const
|
|
275
|
+
const je = {
|
|
276
|
+
LARGE: "large",
|
|
277
|
+
NORMAL: "normal",
|
|
278
|
+
SMALL: "small"
|
|
279
|
+
}, Me = {
|
|
280
|
+
PRIMARY: "primary",
|
|
281
|
+
SECONDARY: "secondary",
|
|
282
|
+
TEXT: "text"
|
|
283
|
+
}, Cn = B({
|
|
284
|
+
name: "JQButton",
|
|
285
|
+
components: {
|
|
286
|
+
QBtn: Ue,
|
|
287
|
+
QTooltip: Se
|
|
288
|
+
},
|
|
289
|
+
inheritAttrs: !1,
|
|
290
|
+
props: {
|
|
291
|
+
/**
|
|
292
|
+
* 按钮大小
|
|
293
|
+
* @default 'large'
|
|
294
|
+
*/
|
|
295
|
+
size: {
|
|
296
|
+
type: String,
|
|
297
|
+
default: je.LARGE,
|
|
298
|
+
validator: (e) => Object.values(je).includes(e)
|
|
299
|
+
},
|
|
300
|
+
/**
|
|
301
|
+
* 按钮类型
|
|
302
|
+
* @default 'primary'
|
|
303
|
+
*/
|
|
304
|
+
type: {
|
|
305
|
+
type: String,
|
|
306
|
+
default: Me.PRIMARY,
|
|
307
|
+
validator: (e) => Object.values(Me).includes(e)
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* 按钮标签文字
|
|
311
|
+
* @default ''
|
|
312
|
+
*/
|
|
313
|
+
label: {
|
|
314
|
+
type: String,
|
|
315
|
+
default: ""
|
|
316
|
+
},
|
|
317
|
+
/**
|
|
318
|
+
* 按钮图标 (Quasar icon name)
|
|
319
|
+
* @default undefined
|
|
320
|
+
*/
|
|
321
|
+
icon: {
|
|
322
|
+
type: String,
|
|
323
|
+
default: void 0
|
|
324
|
+
},
|
|
325
|
+
/**
|
|
326
|
+
* 按钮加载状态
|
|
327
|
+
* @default false
|
|
328
|
+
*/
|
|
329
|
+
loading: {
|
|
330
|
+
type: Boolean,
|
|
331
|
+
default: !1
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
* 按钮提示文字 (tooltip)
|
|
335
|
+
* @default ''
|
|
336
|
+
*/
|
|
337
|
+
tips: {
|
|
338
|
+
type: String,
|
|
339
|
+
default: ""
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
emits: {
|
|
343
|
+
/**
|
|
344
|
+
* 点击事件
|
|
345
|
+
* @param e 原生点击事件
|
|
346
|
+
*/
|
|
347
|
+
click: (e) => !0
|
|
348
|
+
},
|
|
349
|
+
slots: Object,
|
|
350
|
+
setup(e, { emit: t, expose: n, slots: l }) {
|
|
351
|
+
const r = T(null), a = C(() => ({ "j-q-button-label": (l.icon || e.icon) && (l.default || e.label) })), s = C(() => e.type === Me.PRIMARY || e.type === Me.SECONDARY ? {
|
|
352
|
+
[`j-q-button--${{
|
|
353
|
+
[je.LARGE]: "lg",
|
|
354
|
+
[je.NORMAL]: "md",
|
|
355
|
+
[je.SMALL]: "sm"
|
|
356
|
+
}[e.size]}`]: !0,
|
|
357
|
+
"j-q-button": !0,
|
|
358
|
+
"j-q-button--primary": e.type === Me.PRIMARY,
|
|
359
|
+
"j-q-button--secondary": e.type === Me.SECONDARY
|
|
360
|
+
} : {
|
|
361
|
+
"j-q-button--text": e.type === Me.TEXT
|
|
362
|
+
}), o = (c) => {
|
|
363
|
+
t("click", c);
|
|
364
|
+
};
|
|
365
|
+
return n({
|
|
366
|
+
get $el() {
|
|
367
|
+
var c;
|
|
368
|
+
return (c = r.value) == null ? void 0 : c.$el;
|
|
369
|
+
},
|
|
370
|
+
click: () => {
|
|
371
|
+
var c, u;
|
|
372
|
+
(u = (c = r.value) == null ? void 0 : c.$el) == null || u.click();
|
|
373
|
+
}
|
|
374
|
+
}), {
|
|
375
|
+
computedClass: s,
|
|
376
|
+
iconPadding: a,
|
|
377
|
+
click: o,
|
|
378
|
+
qBtnRef: r
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
}), jn = {
|
|
382
|
+
key: 0,
|
|
383
|
+
class: "j-q-button-prefix-icon"
|
|
384
|
+
};
|
|
385
|
+
function zn(e, t, n, l, r, a) {
|
|
386
|
+
const s = N("q-tooltip"), o = N("q-btn");
|
|
387
|
+
return m(), Y(o, he({
|
|
388
|
+
class: e.computedClass,
|
|
389
|
+
loading: e.loading
|
|
390
|
+
}, e.$attrs, {
|
|
391
|
+
icon: e.icon,
|
|
392
|
+
onClick: e.click,
|
|
393
|
+
unelevated: "",
|
|
394
|
+
"no-caps": "",
|
|
395
|
+
ripple: !1,
|
|
396
|
+
ref: "qBtnRef"
|
|
397
|
+
}), we({
|
|
398
|
+
default: D(() => [
|
|
399
|
+
!e.icon && e.$slots.icon ? (m(), b("span", jn, [
|
|
400
|
+
k(e.$slots, "icon", {}, void 0, !0)
|
|
401
|
+
])) : E("", !0),
|
|
402
|
+
I("span", {
|
|
403
|
+
class: V(e.iconPadding)
|
|
404
|
+
}, [
|
|
405
|
+
k(e.$slots, "default", {}, () => [
|
|
406
|
+
W(h(e.label), 1)
|
|
407
|
+
], !0)
|
|
408
|
+
], 2),
|
|
409
|
+
e.tips ? (m(), Y(s, {
|
|
410
|
+
key: 1,
|
|
411
|
+
class: "j-q-button-tooltip",
|
|
412
|
+
anchor: "top middle",
|
|
413
|
+
self: "bottom middle",
|
|
414
|
+
offset: [10, 6]
|
|
415
|
+
}, {
|
|
416
|
+
default: D(() => [
|
|
417
|
+
W(h(e.tips), 1)
|
|
418
|
+
]),
|
|
419
|
+
_: 1
|
|
420
|
+
})) : E("", !0)
|
|
421
|
+
]),
|
|
422
|
+
_: 2
|
|
423
|
+
}, [
|
|
424
|
+
e.$slots.loading ? {
|
|
425
|
+
name: "loading",
|
|
426
|
+
fn: D(() => [
|
|
427
|
+
k(e.$slots, "loading", {}, void 0, !0)
|
|
428
|
+
]),
|
|
429
|
+
key: "0"
|
|
430
|
+
} : void 0
|
|
431
|
+
]), 1040, ["class", "loading", "icon", "onClick"]);
|
|
432
|
+
}
|
|
433
|
+
const Ee = /* @__PURE__ */ R(Cn, [["render", zn], ["__scopeId", "data-v-ac5d477a"]]), bn = B({
|
|
276
434
|
name: "JCEditableProxy",
|
|
277
435
|
components: {
|
|
278
|
-
JCPermission:
|
|
436
|
+
JCPermission: vt,
|
|
279
437
|
QPopupProxy: Ae,
|
|
280
438
|
QIcon: le,
|
|
281
|
-
QCard:
|
|
282
|
-
QCardSection:
|
|
283
|
-
QCardActions:
|
|
284
|
-
|
|
439
|
+
QCard: ke,
|
|
440
|
+
QCardSection: Le,
|
|
441
|
+
QCardActions: Ft,
|
|
442
|
+
JQButton: Ee
|
|
285
443
|
},
|
|
286
444
|
inheritAttrs: !1,
|
|
287
445
|
props: {
|
|
@@ -313,28 +471,28 @@ const Dn = B({
|
|
|
313
471
|
emits: ["update:modelValue", "saved", "confirm"],
|
|
314
472
|
slots: Object,
|
|
315
473
|
setup(e, { emit: t }) {
|
|
316
|
-
const { t: n } = X(), l = T(null), r = T(e.modelValue), a = T(null),
|
|
474
|
+
const { t: n } = X(), l = T(null), r = T(e.modelValue), a = T(null), s = T(!1), o = (M) => {
|
|
317
475
|
r.value = M;
|
|
318
476
|
};
|
|
319
|
-
|
|
477
|
+
F(
|
|
320
478
|
() => e.modelValue,
|
|
321
479
|
(M) => {
|
|
322
480
|
r.value = M;
|
|
323
481
|
},
|
|
324
482
|
{ immediate: !0 }
|
|
325
483
|
);
|
|
326
|
-
const
|
|
484
|
+
const i = () => {
|
|
327
485
|
r.value = e.modelValue ?? "";
|
|
328
486
|
}, c = async () => {
|
|
329
487
|
var d;
|
|
330
488
|
let M = !0;
|
|
331
489
|
if (a.value && typeof a.value.validate == "function" && (M = a.value.validate()), !!M) {
|
|
332
490
|
if (r.value !== e.modelValue) {
|
|
333
|
-
|
|
491
|
+
s.value = !0;
|
|
334
492
|
const p = (A = {}) => {
|
|
335
493
|
var O, $, f;
|
|
336
494
|
const { success: v = !0, close: Q = v, resetValue: U = !v } = A;
|
|
337
|
-
if (
|
|
495
|
+
if (s.value = !1, v) {
|
|
338
496
|
g();
|
|
339
497
|
return;
|
|
340
498
|
}
|
|
@@ -353,21 +511,21 @@ const Dn = B({
|
|
|
353
511
|
};
|
|
354
512
|
return {
|
|
355
513
|
t: n,
|
|
356
|
-
saveLoading:
|
|
514
|
+
saveLoading: s,
|
|
357
515
|
popupRef: l,
|
|
358
516
|
tempValue: r,
|
|
359
517
|
updateTempValue: o,
|
|
360
|
-
handleProxyShow:
|
|
518
|
+
handleProxyShow: i,
|
|
361
519
|
handleSave: c,
|
|
362
520
|
editorRef: a,
|
|
363
521
|
setEditorRef: u
|
|
364
522
|
};
|
|
365
523
|
}
|
|
366
|
-
}),
|
|
367
|
-
function
|
|
368
|
-
const
|
|
369
|
-
return m(), b("div",
|
|
370
|
-
I("div",
|
|
524
|
+
}), Tn = { class: "row items-end no-wrap jc-editable-proxy" }, hn = { class: "q-pr-sm display-value" };
|
|
525
|
+
function wn(e, t, n, l, r, a) {
|
|
526
|
+
const s = N("q-card-section"), o = N("j-q-button"), i = N("q-card-actions"), c = N("q-card"), u = N("q-popup-proxy"), g = N("q-icon"), M = N("j-c-permission");
|
|
527
|
+
return m(), b("div", Tn, [
|
|
528
|
+
I("div", hn, [
|
|
371
529
|
k(e.$slots, "display", {}, () => [
|
|
372
530
|
I("span", null, h(e.modelValue), 1)
|
|
373
531
|
], !0)
|
|
@@ -396,7 +554,7 @@ function Cn(e, t, n, l, r, a) {
|
|
|
396
554
|
style: H({ width: e.popupWidth })
|
|
397
555
|
}, {
|
|
398
556
|
default: D(() => [
|
|
399
|
-
j(
|
|
557
|
+
j(s, { class: "q-pt-md q-px-md q-pb-none" }, {
|
|
400
558
|
default: D(() => [
|
|
401
559
|
k(e.$slots, "editor", {
|
|
402
560
|
tempValue: e.tempValue,
|
|
@@ -406,15 +564,13 @@ function Cn(e, t, n, l, r, a) {
|
|
|
406
564
|
]),
|
|
407
565
|
_: 3
|
|
408
566
|
}),
|
|
409
|
-
j(
|
|
567
|
+
j(i, {
|
|
410
568
|
align: "right",
|
|
411
569
|
class: V(["q-pb-md q-px-md", { "q-pt-none": e.required, "q-pt-md": !e.required }])
|
|
412
570
|
}, {
|
|
413
571
|
default: D(() => [
|
|
414
572
|
j(o, {
|
|
415
|
-
dense: "",
|
|
416
573
|
label: e.t("action.confirm"),
|
|
417
|
-
color: "primary",
|
|
418
574
|
onClick: e.handleSave,
|
|
419
575
|
loading: e.saveLoading
|
|
420
576
|
}, null, 8, ["label", "onClick", "loading"])
|
|
@@ -435,7 +591,7 @@ function Cn(e, t, n, l, r, a) {
|
|
|
435
591
|
}, 8, ["code"])
|
|
436
592
|
]);
|
|
437
593
|
}
|
|
438
|
-
const
|
|
594
|
+
const us = /* @__PURE__ */ R(bn, [["render", wn], ["__scopeId", "data-v-1da777ad"]]), vn = B({
|
|
439
595
|
name: "JCFallback",
|
|
440
596
|
props: {
|
|
441
597
|
/**
|
|
@@ -483,14 +639,14 @@ const ss = /* @__PURE__ */ Z(Dn, [["render", Cn], ["__scopeId", "data-v-ab93db6b
|
|
|
483
639
|
})
|
|
484
640
|
};
|
|
485
641
|
}
|
|
486
|
-
}),
|
|
487
|
-
function
|
|
642
|
+
}), Sn = { key: 0 };
|
|
643
|
+
function Ln(e, t, n, l, r, a) {
|
|
488
644
|
return e.hasValue ? k(e.$slots, "default", { key: 0 }) : (m(), b(te, { key: 1 }, [
|
|
489
|
-
e.rmDom ? E("", !0) : (m(), b("span",
|
|
645
|
+
e.rmDom ? E("", !0) : (m(), b("span", Sn, h(e.defaultContent), 1))
|
|
490
646
|
], 64));
|
|
491
647
|
}
|
|
492
|
-
const
|
|
493
|
-
function
|
|
648
|
+
const ds = /* @__PURE__ */ R(vn, [["render", Ln]]);
|
|
649
|
+
function kn(e) {
|
|
494
650
|
if (!e)
|
|
495
651
|
return { name: "", args: [] };
|
|
496
652
|
const t = e.match(/^([a-zA-Z]+)\(([^)]*)\)$/);
|
|
@@ -504,9 +660,9 @@ function Tn(e) {
|
|
|
504
660
|
if (a !== -1) {
|
|
505
661
|
const o = r.substring(1, a).split(",").map((c) => c.trim().replace(/^['"](.*)['"]$/, "$1")).filter((c) => c.length > 0);
|
|
506
662
|
l.push(o);
|
|
507
|
-
const
|
|
508
|
-
if (
|
|
509
|
-
const c =
|
|
663
|
+
const i = r.substring(a + 1).trim();
|
|
664
|
+
if (i.startsWith(",")) {
|
|
665
|
+
const c = i.substring(1).split(",").map((u) => {
|
|
510
666
|
const g = u.trim();
|
|
511
667
|
if (g === "true") return !0;
|
|
512
668
|
if (g === "false") return !1;
|
|
@@ -518,39 +674,39 @@ function Tn(e) {
|
|
|
518
674
|
}
|
|
519
675
|
} else
|
|
520
676
|
l = r.split(",").map((a) => {
|
|
521
|
-
const
|
|
522
|
-
if (
|
|
523
|
-
if (
|
|
524
|
-
const o = Number(
|
|
525
|
-
return isNaN(o) ?
|
|
677
|
+
const s = a.trim();
|
|
678
|
+
if (s === "true") return !0;
|
|
679
|
+
if (s === "false") return !1;
|
|
680
|
+
const o = Number(s);
|
|
681
|
+
return isNaN(o) ? s : o;
|
|
526
682
|
});
|
|
527
683
|
}
|
|
528
684
|
return { name: n, args: l };
|
|
529
685
|
}
|
|
530
686
|
return { name: e, args: [] };
|
|
531
687
|
}
|
|
532
|
-
function
|
|
533
|
-
const a =
|
|
688
|
+
function On(e, t, n = [], l) {
|
|
689
|
+
const a = ct(l)[e];
|
|
534
690
|
if (!a)
|
|
535
691
|
return console.warn(`Rule '${e}' not found in formRules.`), !0;
|
|
536
|
-
let
|
|
692
|
+
let s = [];
|
|
537
693
|
if (Array.isArray(a))
|
|
538
|
-
|
|
694
|
+
s = a;
|
|
539
695
|
else if (typeof a == "function") {
|
|
540
696
|
const o = a(...n);
|
|
541
697
|
if (Array.isArray(o))
|
|
542
|
-
|
|
698
|
+
s = o;
|
|
543
699
|
else
|
|
544
700
|
return console.error(`[JQSelectNewValue] Rule '${e}' function did not return an array of validation functions.`), !0;
|
|
545
701
|
}
|
|
546
|
-
for (const o of
|
|
547
|
-
const
|
|
548
|
-
if (
|
|
549
|
-
return
|
|
702
|
+
for (const o of s) {
|
|
703
|
+
const i = o(t);
|
|
704
|
+
if (i !== !0)
|
|
705
|
+
return i;
|
|
550
706
|
}
|
|
551
707
|
return !0;
|
|
552
708
|
}
|
|
553
|
-
function
|
|
709
|
+
function ct(e) {
|
|
554
710
|
return {
|
|
555
711
|
required: [
|
|
556
712
|
(t) => {
|
|
@@ -570,10 +726,10 @@ function rt(e) {
|
|
|
570
726
|
const n = t.includes("left"), l = t.includes("right"), r = /^(100(?:\.0{1,2})?|\d{1,2}(?:\.\d{1,2})?)$/;
|
|
571
727
|
return [
|
|
572
728
|
(a) => {
|
|
573
|
-
const
|
|
574
|
-
if (!r.test(
|
|
729
|
+
const s = String(a).trim();
|
|
730
|
+
if (!r.test(s))
|
|
575
731
|
return e("messages.formRules.percentageInvalid");
|
|
576
|
-
const o = parseFloat(
|
|
732
|
+
const o = parseFloat(s);
|
|
577
733
|
return !n && o === 0 ? e("messages.formRules.over0") : !l && o === 100 ? e("messages.formRules.less100") : !0;
|
|
578
734
|
}
|
|
579
735
|
];
|
|
@@ -599,22 +755,22 @@ function rt(e) {
|
|
|
599
755
|
ip: "1.1.1.1",
|
|
600
756
|
ipPort: "1.1.1.1:8080",
|
|
601
757
|
path: "/test/example"
|
|
602
|
-
},
|
|
603
|
-
const
|
|
604
|
-
if (!
|
|
758
|
+
}, s = [(o) => {
|
|
759
|
+
const i = String(o || "").trim();
|
|
760
|
+
if (!i) return !0;
|
|
605
761
|
let c = "";
|
|
606
762
|
return t.some((g) => {
|
|
607
763
|
switch (g) {
|
|
608
764
|
case "url":
|
|
609
|
-
return c = r.url, l.url.test(
|
|
765
|
+
return c = r.url, l.url.test(i);
|
|
610
766
|
case "domain":
|
|
611
|
-
return c = r.domain, l.domain.test(
|
|
767
|
+
return c = r.domain, l.domain.test(i);
|
|
612
768
|
case "ip":
|
|
613
|
-
return
|
|
769
|
+
return i.includes(":") ? !1 : (c = r.ip, l.ip.test(i));
|
|
614
770
|
case "ip-port":
|
|
615
|
-
return c = r.ipPort, l.ipPort.test(
|
|
771
|
+
return c = r.ipPort, l.ipPort.test(i);
|
|
616
772
|
case "path":
|
|
617
|
-
return c = r.path, l.path.test(
|
|
773
|
+
return c = r.path, l.path.test(i);
|
|
618
774
|
default:
|
|
619
775
|
return !1;
|
|
620
776
|
}
|
|
@@ -622,10 +778,10 @@ function rt(e) {
|
|
|
622
778
|
example: c
|
|
623
779
|
});
|
|
624
780
|
}];
|
|
625
|
-
return n &&
|
|
626
|
-
const
|
|
627
|
-
return !
|
|
628
|
-
}),
|
|
781
|
+
return n && s.unshift((o) => {
|
|
782
|
+
const i = Array.isArray(o) && o.length === 0, c = o == null || o === "";
|
|
783
|
+
return !i && !c || e("messages.formRules.required");
|
|
784
|
+
}), s;
|
|
629
785
|
},
|
|
630
786
|
email: [
|
|
631
787
|
(t) => /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/gi.test(t) ? !0 : e("messages.formRules.emailInvalid")
|
|
@@ -658,24 +814,24 @@ function rt(e) {
|
|
|
658
814
|
}
|
|
659
815
|
};
|
|
660
816
|
}
|
|
661
|
-
const
|
|
817
|
+
const En = {
|
|
662
818
|
timeout: 3e3,
|
|
663
819
|
html: !0,
|
|
664
820
|
progress: !0,
|
|
665
821
|
iconSize: "20px"
|
|
666
822
|
};
|
|
667
|
-
let
|
|
668
|
-
class
|
|
823
|
+
let ze = null;
|
|
824
|
+
class $n {
|
|
669
825
|
constructor() {
|
|
670
826
|
}
|
|
671
827
|
/**
|
|
672
828
|
* 设置 Quasar 实例(在 rtcptInit 中调用)
|
|
673
829
|
*/
|
|
674
830
|
setQuasarInstance(t) {
|
|
675
|
-
|
|
831
|
+
ze = t;
|
|
676
832
|
}
|
|
677
833
|
show({ type: t, content: n, position: l, isNotify: r }) {
|
|
678
|
-
const a = Object.assign(
|
|
834
|
+
const a = Object.assign(En, {
|
|
679
835
|
message: n,
|
|
680
836
|
position: l ?? "top",
|
|
681
837
|
multiLine: r ?? !1,
|
|
@@ -684,32 +840,32 @@ class vn {
|
|
|
684
840
|
actions: r ? [
|
|
685
841
|
{
|
|
686
842
|
color: "white",
|
|
687
|
-
label:
|
|
843
|
+
label: dt() === "en-US" ? "Close" : "关闭"
|
|
688
844
|
}
|
|
689
845
|
] : [],
|
|
690
846
|
badgeStyle: `background-color: #fff;box-shadow:rgba(0, 0, 0, 0.1) 0px 2px 4px 0px;${t === "success" ? "color: #2DA641;" : "color: #D40000;"}`,
|
|
691
847
|
classes: `q-message-style q-message-style--${t}`
|
|
692
848
|
});
|
|
693
849
|
try {
|
|
694
|
-
|
|
695
|
-
} catch (
|
|
696
|
-
console.log(
|
|
850
|
+
ze != null && ze.notify ? ze.notify(a) : (console.error("[JQMessage] Quasar Notify plugin not available. Make sure rtcptInit has been called."), alert(a.message));
|
|
851
|
+
} catch (s) {
|
|
852
|
+
console.log(s), alert(a.message);
|
|
697
853
|
}
|
|
698
854
|
}
|
|
699
855
|
}
|
|
700
|
-
const
|
|
701
|
-
function
|
|
856
|
+
const qe = new $n();
|
|
857
|
+
function Yn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
|
|
702
858
|
const n = e[0], { size: l, accept: r } = t, { t: a } = X();
|
|
703
859
|
if (l < n.size / Math.pow(1024, l)) {
|
|
704
|
-
|
|
860
|
+
qe.show({
|
|
705
861
|
content: a("messages.jQFile.maxFileSizeIs", { max: l }),
|
|
706
862
|
type: "error"
|
|
707
863
|
});
|
|
708
864
|
return;
|
|
709
865
|
}
|
|
710
|
-
let
|
|
711
|
-
if (
|
|
712
|
-
|
|
866
|
+
let s = n.name.substring(n.name.lastIndexOf(".")).toLowerCase();
|
|
867
|
+
if (s = s.replace(".", ""), r.indexOf(s) === -1) {
|
|
868
|
+
qe.show({
|
|
713
869
|
content: a("messages.jQFile.unsupportFileFormat"),
|
|
714
870
|
type: "error"
|
|
715
871
|
});
|
|
@@ -717,17 +873,17 @@ function Sn(e, t = { size: 5, accept: ["xls", "xlsx"] }) {
|
|
|
717
873
|
}
|
|
718
874
|
return e;
|
|
719
875
|
}
|
|
720
|
-
const
|
|
876
|
+
const Vn = B({
|
|
721
877
|
name: "jQDialog",
|
|
722
878
|
components: {
|
|
723
|
-
QDialog:
|
|
724
|
-
QCard:
|
|
725
|
-
QCardSection:
|
|
726
|
-
QInnerLoading:
|
|
727
|
-
|
|
879
|
+
QDialog: bt,
|
|
880
|
+
QCard: ke,
|
|
881
|
+
QCardSection: Le,
|
|
882
|
+
QInnerLoading: zt,
|
|
883
|
+
JQButton: Ee
|
|
728
884
|
},
|
|
729
885
|
directives: {
|
|
730
|
-
ClosePopup:
|
|
886
|
+
ClosePopup: at
|
|
731
887
|
},
|
|
732
888
|
props: {
|
|
733
889
|
allowFocusOutside: { type: Boolean, default: !0 },
|
|
@@ -751,9 +907,9 @@ const Ln = B({
|
|
|
751
907
|
mounted() {
|
|
752
908
|
},
|
|
753
909
|
setup(e, { emit: t, expose: n }) {
|
|
754
|
-
const l = T(!1), r = T(!1), a = T(null),
|
|
755
|
-
let c = T(
|
|
756
|
-
const g =
|
|
910
|
+
const l = T(!1), r = T(!1), a = T(null), s = T(e.showConfirm), o = Qt(), { t: i } = X();
|
|
911
|
+
let c = T(i("action.cancel")), u = T(i("action.confirm"));
|
|
912
|
+
const g = ct(i), M = Yn, d = C(() => ({
|
|
757
913
|
...e.componentBind,
|
|
758
914
|
dialogInstance: {
|
|
759
915
|
open: $,
|
|
@@ -785,9 +941,9 @@ const Ln = B({
|
|
|
785
941
|
}, L = (q) => {
|
|
786
942
|
r.value = q;
|
|
787
943
|
}, w = (q) => {
|
|
788
|
-
|
|
944
|
+
s.value = q;
|
|
789
945
|
}, P = () => {
|
|
790
|
-
e.dialogId &&
|
|
946
|
+
e.dialogId && Mt.destroy(e.dialogId);
|
|
791
947
|
};
|
|
792
948
|
return n({ open: $, close: f, setLoading: L, setConfirmVisible: w, changeCancelText: v, changeConfirmText: Q, rules: g }), {
|
|
793
949
|
persistent: A,
|
|
@@ -803,15 +959,15 @@ const Ln = B({
|
|
|
803
959
|
destroy: P,
|
|
804
960
|
handleClickCancel: U,
|
|
805
961
|
handleClickConfirm: O,
|
|
806
|
-
confirmBtnVisible:
|
|
962
|
+
confirmBtnVisible: s,
|
|
807
963
|
setConfirmVisible: w,
|
|
808
964
|
rules: g,
|
|
809
|
-
t:
|
|
965
|
+
t: i
|
|
810
966
|
};
|
|
811
967
|
}
|
|
812
|
-
}),
|
|
813
|
-
function
|
|
814
|
-
const
|
|
968
|
+
}), Qn = { class: "loading-mask" }, Pn = { class: "dialog-title" }, qn = { class: "async-component-loading-mask" };
|
|
969
|
+
function Un(e, t, n, l, r, a) {
|
|
970
|
+
const s = N("q-inner-loading"), o = N("j-q-button"), i = N("q-card-section"), c = N("q-card"), u = N("q-dialog"), g = ot("close-popup");
|
|
815
971
|
return m(), Y(u, {
|
|
816
972
|
class: V(["j-q-dialog", { "right-panel": e.position === "right" }]),
|
|
817
973
|
modelValue: e.visible,
|
|
@@ -832,8 +988,8 @@ function $n(e, t, n, l, r, a) {
|
|
|
832
988
|
style: H(e.computedDialogWidth)
|
|
833
989
|
}, {
|
|
834
990
|
default: D(() => [
|
|
835
|
-
oe(I("div",
|
|
836
|
-
j(
|
|
991
|
+
oe(I("div", Qn, [
|
|
992
|
+
j(s, {
|
|
837
993
|
showing: e.getDataLoading,
|
|
838
994
|
label: e.t("messages.loading"),
|
|
839
995
|
color: "primary",
|
|
@@ -843,12 +999,12 @@ function $n(e, t, n, l, r, a) {
|
|
|
843
999
|
], 512), [
|
|
844
1000
|
[re, e.getDataLoading]
|
|
845
1001
|
]),
|
|
846
|
-
e.showHeader ? (m(), Y(
|
|
1002
|
+
e.showHeader ? (m(), Y(i, {
|
|
847
1003
|
key: 0,
|
|
848
1004
|
class: "dialog-header q-pa-none"
|
|
849
1005
|
}, {
|
|
850
1006
|
default: D(() => [
|
|
851
|
-
I("div",
|
|
1007
|
+
I("div", Pn, [
|
|
852
1008
|
k(e.$slots, "title", {}, () => [
|
|
853
1009
|
W(h(e.title), 1)
|
|
854
1010
|
], !0)
|
|
@@ -856,47 +1012,41 @@ function $n(e, t, n, l, r, a) {
|
|
|
856
1012
|
oe(j(o, {
|
|
857
1013
|
class: "dialog-close",
|
|
858
1014
|
icon: "close",
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
round: ""
|
|
1015
|
+
type: "text",
|
|
1016
|
+
size: "small"
|
|
862
1017
|
}, null, 512), [
|
|
863
1018
|
[g]
|
|
864
1019
|
])
|
|
865
1020
|
]),
|
|
866
1021
|
_: 3
|
|
867
1022
|
})) : E("", !0),
|
|
868
|
-
(m(), Y(
|
|
1023
|
+
(m(), Y(Pt, null, {
|
|
869
1024
|
default: D(() => [
|
|
870
1025
|
I("div", null, [
|
|
871
|
-
j(
|
|
1026
|
+
j(i, {
|
|
872
1027
|
class: "dialog-body",
|
|
873
1028
|
style: H({ "min-height": typeof e.minHeight == "string" ? e.minHeight : `${e.minHeight}px` })
|
|
874
1029
|
}, {
|
|
875
1030
|
default: D(() => [
|
|
876
|
-
e.component ? (m(), Y(
|
|
1031
|
+
e.component ? (m(), Y(yt(e.component), he({ key: 0 }, e.computedComponentBind, qt(e.componentOn), { ref: "dynamicCompRef" }), null, 16)) : e.content ? (m(), Y(yt(e.content), { key: 1 })) : E("", !0),
|
|
877
1032
|
k(e.$slots, "default", {}, void 0, !0)
|
|
878
1033
|
]),
|
|
879
1034
|
_: 3
|
|
880
1035
|
}, 8, ["style"]),
|
|
881
|
-
e.showFooter ? (m(), Y(
|
|
1036
|
+
e.showFooter ? (m(), Y(i, {
|
|
882
1037
|
key: 0,
|
|
883
1038
|
class: "q-pa-none dialog-footer"
|
|
884
1039
|
}, {
|
|
885
1040
|
default: D(() => [
|
|
886
1041
|
j(o, {
|
|
887
1042
|
label: e.cancelText,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
onClick: e.handleClickCancel,
|
|
891
|
-
outline: ""
|
|
1043
|
+
type: "secondary",
|
|
1044
|
+
onClick: e.handleClickCancel
|
|
892
1045
|
}, null, 8, ["label", "onClick"]),
|
|
893
1046
|
e.confirmBtnVisible ? (m(), Y(o, {
|
|
894
1047
|
key: 0,
|
|
895
1048
|
label: e.confirmText,
|
|
896
|
-
|
|
897
|
-
ripple: !1,
|
|
898
|
-
unelevated: "",
|
|
899
|
-
"no-caps": "",
|
|
1049
|
+
type: "primary",
|
|
900
1050
|
onClick: e.handleClickConfirm
|
|
901
1051
|
}, null, 8, ["label", "onClick"])) : E("", !0)
|
|
902
1052
|
]),
|
|
@@ -905,10 +1055,10 @@ function $n(e, t, n, l, r, a) {
|
|
|
905
1055
|
])
|
|
906
1056
|
]),
|
|
907
1057
|
fallback: D(() => [
|
|
908
|
-
j(
|
|
1058
|
+
j(i, null, {
|
|
909
1059
|
default: D(() => [
|
|
910
|
-
I("div",
|
|
911
|
-
j(
|
|
1060
|
+
I("div", qn, [
|
|
1061
|
+
j(s, {
|
|
912
1062
|
showing: !0,
|
|
913
1063
|
label: e.t("action.loading"),
|
|
914
1064
|
color: "primary",
|
|
@@ -929,7 +1079,7 @@ function $n(e, t, n, l, r, a) {
|
|
|
929
1079
|
_: 3
|
|
930
1080
|
}, 8, ["class", "modelValue", "allow-focus-outside", "no-backdrop-dismiss", "no-esc-dismiss", "position", "onHide", "persistent", "full-height", "transition-show", "transition-hide"]);
|
|
931
1081
|
}
|
|
932
|
-
const
|
|
1082
|
+
const Bn = /* @__PURE__ */ R(Vn, [["render", Un], ["__scopeId", "data-v-47097c89"]]), At = {
|
|
933
1083
|
"app:clear": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjIwcHgiIGhlaWdodD0iMjBweCIgdmlld0JveD0iMCAwIDIwIDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQoNCiAgICA8ZyBpZD0icXVhc2FyLWN1c3RvbS1zdmciIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPg0KICAgICAgICA8ZyBpZD0iZVNJTS1Hcm91cC1BZGQtZmlyc3QtbGV2ZWwtZ3JvdXBzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzE5LjAwMDAwMCwgLTMwOS4wMDAwMDApIj4NCiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtMTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDM2MS4wMDAwMDAsIDIwMy4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MC4wMDAwMDAsIDcyLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTflpIfku70tOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsIDI2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Iue8lue7hCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjY4LjAwMDAwMCwgOC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjwvcmVjdD4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkPSJNMTAsMS42NjY2NjY2NyBDNS40MDUsMS42NjY2NjY2NyAxLjY2NjY2NjY3LDUuNDA1IDEuNjY2NjY2NjcsMTAgQzEuNjY2NjY2NjcsMTQuNTk1IDUuNDA1LDE4LjMzMzMzMzMgMTAsMTguMzMzMzMzMyBDMTQuNTk1LDE4LjMzMzMzMzMgMTguMzMzMzMzMywxNC41OTUgMTguMzMzMzMzMywxMCBDMTguMzMzMzMzMyw1LjQwNSAxNC41OTUsMS42NjY2NjY2NyAxMCwxLjY2NjY2NjY3Ig0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD0iUGF0aCIgZmlsbD0iI0VCRUNGMCIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGgNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZD0iTTEyLjI1NTgzMzMsNy43NDQxNjY2NyBDMTEuOTMsNy40MTgzMzMzMyAxMS40MDMzMzMzLDcuNDE4MzMzMzMgMTEuMDc3NSw3Ljc0NDE2NjY3IEwxMCw4LjgyMTY2NjY3IEw4LjkyMjUsNy43NDQxNjY2NyBDOC41OTY2NjY2Nyw3LjQxODMzMzMzIDguMDcsNy40MTgzMzMzMyA3Ljc0NDE2NjY3LDcuNzQ0MTY2NjcgQzcuNDE4MzMzMzMsOC4wNyA3LjQxODMzMzMzLDguNTk2NjY2NjcgNy43NDQxNjY2Nyw4LjkyMjUgTDguODIxNjY2NjcsMTAgTDcuNzQ0MTY2NjcsMTEuMDc3NSBDNy40MTgzMzMzMywxMS40MDMzMzMzIDcuNDE4MzMzMzMsMTEuOTMgNy43NDQxNjY2NywxMi4yNTU4MzMzIEM3LjkwNjY2NjY3LDEyLjQxODMzMzMgOC4xMiwxMi41IDguMzMzMzMzMzMsMTIuNSBDOC41NDY2NjY2NywxMi41IDguNzYsMTIuNDE4MzMzMyA4LjkyMjUsMTIuMjU1ODMzMyBMMTAsMTEuMTc4MzMzMyBMMTEuMDc3NSwxMi4yNTU4MzMzIEMxMS4yNCwxMi40MTgzMzMzIDExLjQ1MzMzMzMsMTIuNSAxMS42NjY2NjY3LDEyLjUgQzExLjg4LDEyLjUgMTIuMDkzMzMzMywxMi40MTgzMzMzIDEyLjI1NTgzMzMsMTIuMjU1ODMzMyBDMTIuNTgxNjY2NywxMS45MyAxMi41ODE2NjY3LDExLjQwMzMzMzMgMTIuMjU1ODMzMywxMS4wNzc1IEwxMS4xNzgzMzMzLDEwIEwxMi4yNTU4MzMzLDguOTIyNSBDMTIuNTgxNjY2Nyw4LjU5NjY2NjY3IDEyLjU4MTY2NjcsOC4wNyAxMi4yNTU4MzMzLDcuNzQ0MTY2NjciDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPSJQYXRoIiBmaWxsPSIjOTk5REI0IiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==",
|
|
934
1084
|
"app:delete-confirm": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGNpcmNsZSBmaWxsPSIjRTIxQTFBIiByPSIxMCIgY3k9IjEyIiBjeD0iMTIiLz48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTUuMDQxIDcuODdhLjc1Ljc1IDAgMCAxIDEuMDYgMS4wNmwtMy4wNDEgMy4wNCAzLjA0MiAzLjA0M2EuNzUuNzUgMCAwIDEtMS4wNiAxLjA2bC0zLjA0My0zLjA0Mi0zLjA0IDMuMDQyYS43NS43NSAwIDAgMS0xLjA2MS0xLjA2bDMuMDQtMy4wNDItMy4wNC0zLjA0MWEuNzUuNzUgMCAwIDEgMS4wNi0xLjA2TDEyIDEwLjkxbDMuMDQyLTMuMDRaIi8+PC9zdmc+",
|
|
935
1085
|
"app:edit": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iIzVBNjA3RiIgZD0iTTE5Ljk5OCAyMC4yNWEuNzUuNzUgMCAwIDEgMCAxLjVoLTE2YS43NS43NSAwIDAgMSAwLTEuNWgxNlpNMTMuOSAzLjg4NWEyLjc1IDIuNzUgMCAwIDEgMy44OTEgMGwuODI0LjgyNWEyLjc1IDIuNzUgMCAwIDEgMCAzLjg4OEw5Ljk4IDE3LjIzN2ExLjc1MSAxLjc1MSAwIDAgMS0xLjIzOC41MTNINS40OThhLjc1Ljc1IDAgMCAxLS43NS0uNzV2LTMuMjI3YzAtLjQ2My4xODQtLjkwOC41MTItMS4yMzZsOC42NC04LjY1MlptMi44MyAxLjA2YTEuMjUgMS4yNSAwIDAgMC0xLjc2OCAwbC04LjY0IDguNjUxYS4yNTIuMjUyIDAgMCAwLS4wNzQuMTc3djIuNDc3aDIuNDk0YS4yNS4yNSAwIDAgMCAuMTc3LS4wNzRsOC42MzYtOC42MzhhMS4yNSAxLjI1IDAgMCAwIDAtMS43NjhsLS44MjUtLjgyNFoiIGRhdGEtZm9sbG93LWZpbGw9IiM1QTYwN0YiLz48L3N2Zz4=",
|
|
@@ -943,18 +1093,18 @@ const Yn = /* @__PURE__ */ Z(Ln, [["render", $n], ["__scopeId", "data-v-c4f8c6ec
|
|
|
943
1093
|
"app:table-not-check": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJHcm91cCAxMjQ1MDIwIj4NCjxnIGlkPSJHcm91cCAxMjQ0OTc2Ij4NCjxnIGlkPSImIzIzMTsmIzE1OTsmIzE2OTsmIzIyOTsmIzE4OTsmIzE2MjsiPg0KPHBhdGggZD0iTTE5LjMzMzMgMkg0LjY2NjY3QzMuMTkzOTEgMiAyIDMuMTkzOTEgMiA0LjY2NjY3VjE5LjMzMzNDMiAyMC44MDYxIDMuMTkzOTEgMjIgNC42NjY2NyAyMkgxOS4zMzMzQzIwLjgwNjEgMjIgMjIgMjAuODA2MSAyMiAxOS4zMzMzVjQuNjY2NjdDMjIgMy4xOTM5MSAyMC44MDYxIDIgMTkuMzMzMyAyWiIgZmlsbD0id2hpdGUiLz4NCjxwYXRoIGQ9Ik00LjY2NjY3IDIuNjY2NjdIMTkuMzMzM0MyMC40Mzc5IDIuNjY2NjcgMjEuMzMzMyAzLjU2MjEgMjEuMzMzMyA0LjY2NjY3VjE5LjMzMzNDMjEuMzMzMyAyMC40Mzc5IDIwLjQzNzkgMjEuMzMzMyAxOS4zMzMzIDIxLjMzMzNINC42NjY2N0MzLjU2MjEgMjEuMzMzMyAyLjY2NjY3IDIwLjQzNzkgMi42NjY2NyAxOS4zMzMzVjQuNjY2NjdDMi42NjY2NyAzLjU2MjEgMy41NjIxIDIuNjY2NjcgNC42NjY2NyAyLjY2NjY3WiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLW9wYWNpdHk9IjAuMjUiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIvPg0KPC9nPg0KPC9nPg0KPC9nPg0KPC9zdmc+",
|
|
944
1094
|
"app:table-not-full-check": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxnIGlkPSJHcm91cCAxMjQ1MDIxIj4NCjxnIGlkPSJHcm91cCAxMjQ0OTc1Ij4NCjxnIGlkPSImIzIzMDsmIzE1NjsmIzE3MDsmIzIyOTsmIzEzMzsmIzE2ODsmIzIzMzsmIzEyODsmIzEzNzsiPg0KPHBhdGggaWQ9IlJlY3RhbmdsZS02MS1Db3B5IiBkPSJNNC42NjY2NyAyLjY2NjY3SDE5LjMzMzNDMjAuNDM3OSAyLjY2NjY3IDIxLjMzMzMgMy41NjIxIDIxLjMzMzMgNC42NjY2N1YxOS4zMzMzQzIxLjMzMzMgMjAuNDM3OSAyMC40Mzc5IDIxLjMzMzMgMTkuMzMzMyAyMS4zMzMzSDQuNjY2NjdDMy41NjIxIDIxLjMzMzMgMi42NjY2NyAyMC40Mzc5IDIuNjY2NjcgMTkuMzMzM1Y0LjY2NjY3QzIuNjY2NjcgMy41NjIxIDMuNTYyMSAyLjY2NjY3IDQuNjY2NjcgMi42NjY2N1oiIGZpbGw9IndoaXRlIiBzdHJva2U9IiMwQjVDRkYiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIvPg0KPHBhdGggaWQ9IlJlY3RhbmdsZS03IiBkPSJNMTYuMzc1IDExLjM3NUg3LjYyNVYxMi42MjVIMTYuMzc1VjExLjM3NVoiIHN0cm9rZT0iIzBCNUNGRiIgc3Ryb2tlLXdpZHRoPSIxLjI1Ii8+DQo8L2c+DQo8L2c+DQo8L2c+DQo8L3N2Zz4=",
|
|
945
1095
|
"app:upload": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNDBweCIgdmlld0JveD0iMCAwIDQwIDQwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyINCiAgICB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQogICAgPHRpdGxlPue8lue7hCA5PC90aXRsZT4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHBhdGgNCiAgICAgICAgICAgIGQ9Ik0xOC44NDE2NjY3LDE4LjggQzE5LjQ5ODMzMzMsMTguMTczMzMzMyAyMC41MzY2NjY3LDE4LjE3ODMzMzMgMjEuMTc4MzMzMywxOC44MjE2NjY3IEwyMS4xNzgzMzMzLDE4LjgyMTY2NjcgTDI2LjE3ODMzMzMsMjMuODIxNjY2NyBDMjYuODMsMjQuNDczMzMzMyAyNi44MywyNS41MjY2NjY3IDI2LjE3ODMzMzMsMjYuMTc4MzMzMyBDMjUuODUzMzMzMywyNi41MDMzMzMzIDI1LjQyNjY2NjcsMjYuNjY2NjY2NyAyNSwyNi42NjY2NjY3IEMyNC41NzMzMzMzLDI2LjY2NjY2NjcgMjQuMTQ2NjY2NywyNi41MDMzMzMzIDIzLjgyMTY2NjcsMjYuMTc4MzMzMyBMMjMuODIxNjY2NywyNi4xNzgzMzMzIEwyMS42NjY2NjY3LDI0LjAyMzMzMzMgTDIxLjY2NjY2NjcsMzMuMzMzMzMzMyBDMjEuNjY2NjY2NywzNC4yNTUgMjAuOTIsMzUgMjAsMzUgQzE5LjA4LDM1IDE4LjMzMzMzMzMsMzQuMjU1IDE4LjMzMzMzMzMsMzMuMzMzMzMzMyBMMTguMzMzMzMzMywzMy4zMzMzMzMzIEwxOC4zMzMzMzMzLDIzLjkyNjY2NjcgTDE2LjE1ODMzMzMsMjYuMDI2NjY2NyBDMTUuNDk2NjY2NywyNi42NjgzMzMzIDE0LjQ0MTY2NjcsMjYuNjQ2NjY2NyAxMy44MDE2NjY3LDI1Ljk4NSBDMTMuMTYxNjY2NywyNS4zMjE2NjY3IDEzLjE4LDI0LjI2ODMzMzMgMTMuODQxNjY2NywyMy42MjgzMzMzIEwxMy44NDE2NjY3LDIzLjYyODMzMzMgWiBNMTkuOTk5NjY2Nyw0Ljk5OTgzMzMzIEMyNC4zMDEzMzMzLDQuOTk5ODMzMzMgMjguMDkxMzMzMyw3Ljc2ODE2NjY3IDI5LjQ1OCwxMS43NDE1IEMzMy41MjMsMTIuMjkzMTY2NyAzNi42NjYzMzMzLDE1Ljc4NjUgMzYuNjY2MzMzMywxOS45OTk4MzMzIEMzNi42NjYzMzMzLDIyLjAzNDgzMzMgMzUuOTI2MzMzMywyMy45OTMxNjY3IDM0LjU4MywyNS41MTQ4MzMzIEMzNC4yNTMsMjUuODg2NSAzMy43OTQ2NjY3LDI2LjA3ODM3NTQgMzMuMzMzLDI2LjA3ODM3NTQgQzMyLjk0MTMzMzMsMjYuMDc4Mzc1NCAzMi41NDgsMjUuOTQxNSAzMi4yMjk2NjY3LDI1LjY2MTUgQzMxLjU0MTMzMzMsMjUuMDQ5ODMzMyAzMS40NzQ2NjY3LDIzLjk5ODE2NjcgMzIuMDg0NjY2NywyMy4zMDY1IEMzMi44ODk2NjY3LDIyLjM5NjUgMzMuMzMzLDIxLjIxOTgzMzMgMzMuMzMzLDE5Ljk5OTgzMzMgQzMzLjMzMywxNy4yNDMxNjY3IDMxLjA4OTY2NjcsMTQuOTk5ODMzMyAyOC4zMzMsMTQuOTk5ODMzMyBMMjguMzMzLDE0Ljk5OTgzMzMgTDI4LjE2NjMzMzMsMTQuOTk5ODMzMyBDMjcuMzczLDE0Ljk5OTgzMzMgMjYuNjg5NjY2NywxNC40Mzk4MzMzIDI2LjUzMywxMy42NjE1IEMyNS45MDk2NjY3LDEwLjU3NDgzMzMgMjMuMTYzLDguMzMzMTY2NjcgMTkuOTk5NjY2Nyw4LjMzMzE2NjY3IEMxNi44MzgsOC4zMzMxNjY2NyAxNC4wODk2NjY3LDEwLjU3NDgzMzMgMTMuNDY4LDEzLjY2MTUgQzEzLjMxMTMzMzMsMTQuNDM5ODMzMyAxMi42MjYzMzMzLDE0Ljk5OTgzMzMgMTEuODMzLDE0Ljk5OTgzMzMgTDExLjgzMywxNC45OTk4MzMzIEwxMS42NjYzMzMzLDE0Ljk5OTgzMzMgQzguOTA5NjY2NjcsMTQuOTk5ODMzMyA2LjY2NjMzMzMzLDE3LjI0MzE2NjcgNi42NjYzMzMzMywxOS45OTk4MzMzIEM2LjY2NjMzMzMzLDIxLjIxOTgzMzMgNy4xMDk2NjY2NywyMi4zOTY1IDcuOTE2MzMzMzMsMjMuMzA2NSBDOC41MjQ2NjY2NywyMy45OTgxNjY3IDguNDU5NjY2NjcsMjUuMDQ5ODMzMyA3Ljc2OTY2NjY3LDI1LjY2MTUgQzcuMDc5NjY2NjcsMjYuMjcxNSA2LjAyNjMzMzMzLDI2LjIwMzE2NjcgNS40MTgsMjUuNTE0ODMzMyBDNC4wNzMsMjMuOTkzMTY2NyAzLjMzMywyMi4wMzQ4MzMzIDMuMzMzLDE5Ljk5OTgzMzMgQzMuMzMzLDE1Ljc4NjUgNi40NzYzMzMzMywxMi4yOTMxNjY3IDEwLjU0MTMzMzMsMTEuNzQxNSBDMTEuOTA5NjY2Nyw3Ljc2ODE2NjY3IDE1LjY5OTY2NjcsNC45OTk4MzMzMyAxOS45OTk2NjY3LDQuOTk5ODMzMzMgWiINCiAgICAgICAgICAgIGlkPSJwYXRoLTEiPjwvcGF0aD4NCiAgICA8L2RlZnM+DQogICAgPGcgaWQ9InF1YXNhci1jdXN0b20tc3ZnIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9ImVTSU0tTGlzdO+8iENTVi1pbXBvcnTvvIkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC04MjcuMDAwMDAwLCAtMzE4LjAwMDAwMCkiPg0KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0xMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjcwLjAwMDAwMCwgMTI0LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTg3LjAwMDAwMCwgMTQ0LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uEIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNzAuMDAwMDAwLCA1MC4wMDAwMDApIj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PC9yZWN0Pg0KICAgICAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+DQogICAgICAgICAgICAgICAgICAgICAgICA8L21hc2s+DQogICAgICAgICAgICAgICAgICAgICAgICA8dXNlIGlkPSLwn46oLUljb24tY29sb3IiIGZpbGw9IiM1NTY5RDQiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPg0KICAgICAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+"
|
|
946
|
-
},
|
|
1096
|
+
}, Rn = (e) => {
|
|
947
1097
|
const t = "img:", n = [e, e.toLowerCase()];
|
|
948
1098
|
if (e.startsWith("app:")) {
|
|
949
1099
|
const r = e.slice(4);
|
|
950
1100
|
n.push(r, r.toLowerCase());
|
|
951
1101
|
} else
|
|
952
1102
|
n.push(`app:${e}`, `app:${e.toLowerCase()}`);
|
|
953
|
-
const l = n.find((r) =>
|
|
1103
|
+
const l = n.find((r) => At[r] !== void 0);
|
|
954
1104
|
if (l)
|
|
955
|
-
return { icon: t +
|
|
1105
|
+
return { icon: t + At[l] };
|
|
956
1106
|
};
|
|
957
|
-
function
|
|
1107
|
+
function Lt(...e) {
|
|
958
1108
|
return (t) => {
|
|
959
1109
|
for (const n of e) {
|
|
960
1110
|
if (!n) continue;
|
|
@@ -963,15 +1113,15 @@ function wt(...e) {
|
|
|
963
1113
|
}
|
|
964
1114
|
};
|
|
965
1115
|
}
|
|
966
|
-
const
|
|
1116
|
+
const Zn = {
|
|
967
1117
|
"zh-CN": () => import("./zh-CN-BoRskSmh.js"),
|
|
968
1118
|
"en-US": () => import("./en-US-Di49EX5C.js")
|
|
969
|
-
},
|
|
970
|
-
function
|
|
971
|
-
return
|
|
1119
|
+
}, Je = /* @__PURE__ */ new Map();
|
|
1120
|
+
function Wn(e) {
|
|
1121
|
+
return ct(e || St);
|
|
972
1122
|
}
|
|
973
1123
|
let ae = {};
|
|
974
|
-
const
|
|
1124
|
+
const Mt = {
|
|
975
1125
|
/**
|
|
976
1126
|
* 配置 DialogProvider 选项
|
|
977
1127
|
*/
|
|
@@ -980,43 +1130,43 @@ const ut = {
|
|
|
980
1130
|
},
|
|
981
1131
|
async register(e) {
|
|
982
1132
|
var M;
|
|
983
|
-
const t = Math.random().toString(36).slice(2), n =
|
|
1133
|
+
const t = Math.random().toString(36).slice(2), n = Ut(Bn, { ...e, dialogId: t });
|
|
984
1134
|
ae.router && n.use(ae.router), ae.store && n.use(ae.store), ae.i18n && n.use(ae.i18n), ae.plugins && ae.plugins.forEach((d) => n.use(d));
|
|
985
|
-
const { Quasar: l, Notify: r, Dialog: a, Loading:
|
|
1135
|
+
const { Quasar: l, Notify: r, Dialog: a, Loading: s } = await import("quasar");
|
|
986
1136
|
n.use(l, {
|
|
987
1137
|
plugins: {
|
|
988
1138
|
Notify: r,
|
|
989
1139
|
Dialog: a,
|
|
990
|
-
Loading:
|
|
1140
|
+
Loading: s
|
|
991
1141
|
},
|
|
992
1142
|
animations: "all"
|
|
993
1143
|
});
|
|
994
1144
|
const o = (M = n == null ? void 0 : n._context) == null ? void 0 : M.directives;
|
|
995
|
-
o != null && o["close-popup"] || n.directive("close-popup",
|
|
996
|
-
const
|
|
1145
|
+
o != null && o["close-popup"] || n.directive("close-popup", at);
|
|
1146
|
+
const i = dt(), c = Zn[i];
|
|
997
1147
|
if (c)
|
|
998
1148
|
try {
|
|
999
1149
|
const d = await c();
|
|
1000
1150
|
n.config.globalProperties.$q.lang.set(d.default);
|
|
1001
1151
|
} catch (d) {
|
|
1002
|
-
console.error(`[rtcpt] Failed to load Quasar locale for ${
|
|
1152
|
+
console.error(`[rtcpt] Failed to load Quasar locale for ${i}:`, d);
|
|
1003
1153
|
}
|
|
1004
1154
|
if (ae.iconMapFn) {
|
|
1005
1155
|
const d = n.config.globalProperties.$q;
|
|
1006
|
-
d.iconMapFn =
|
|
1156
|
+
d.iconMapFn = Lt(d.iconMapFn, ae.iconMapFn);
|
|
1007
1157
|
}
|
|
1008
1158
|
const u = document.createElement("div");
|
|
1009
1159
|
document.body.appendChild(u);
|
|
1010
1160
|
const g = n.mount(u);
|
|
1011
|
-
return
|
|
1161
|
+
return Je.set(t, { app: n, appInstance: g }), de(() => {
|
|
1012
1162
|
g.open();
|
|
1013
1163
|
}).then((d) => d), g;
|
|
1014
1164
|
},
|
|
1015
1165
|
destroy(e) {
|
|
1016
|
-
const t =
|
|
1017
|
-
t && (t.app.unmount(), document.body.removeChild(t.app._container),
|
|
1166
|
+
const t = Je.get(e);
|
|
1167
|
+
t && (t.app.unmount(), document.body.removeChild(t.app._container), Je.delete(e));
|
|
1018
1168
|
}
|
|
1019
|
-
},
|
|
1169
|
+
}, xn = B({
|
|
1020
1170
|
name: "JCFoldableList",
|
|
1021
1171
|
props: {
|
|
1022
1172
|
maxHeight: {
|
|
@@ -1042,12 +1192,12 @@ const ut = {
|
|
|
1042
1192
|
},
|
|
1043
1193
|
setup(e, { slots: t }) {
|
|
1044
1194
|
const n = T(null), l = T(0), r = T(e.defaultCollapsed);
|
|
1045
|
-
let a = null,
|
|
1046
|
-
const o = 5, { t:
|
|
1195
|
+
let a = null, s = 0;
|
|
1196
|
+
const o = 5, { t: i } = X(), c = () => {
|
|
1047
1197
|
if (n.value) {
|
|
1048
1198
|
a && a.disconnect();
|
|
1049
1199
|
const A = n.value.scrollHeight;
|
|
1050
|
-
A > 0 ? (l.value = A,
|
|
1200
|
+
A > 0 ? (l.value = A, s = 0) : n.value.children.length > 0 && s < o && (s++, setTimeout(() => {
|
|
1051
1201
|
c();
|
|
1052
1202
|
}, 100)), a && n.value && a.observe(n.value, {
|
|
1053
1203
|
childList: !0,
|
|
@@ -1060,47 +1210,47 @@ const ut = {
|
|
|
1060
1210
|
} : {}), M = () => {
|
|
1061
1211
|
var v;
|
|
1062
1212
|
const A = (v = t.default) == null ? void 0 : v.call(t);
|
|
1063
|
-
A &&
|
|
1064
|
-
title: e.dialogTitle ||
|
|
1213
|
+
A && Mt.register({
|
|
1214
|
+
title: e.dialogTitle || i("action.viewAll"),
|
|
1065
1215
|
maxWidth: e.dialogMaxWidth,
|
|
1066
1216
|
minHeight: "auto",
|
|
1067
1217
|
showHeader: !0,
|
|
1068
1218
|
showFooter: !1,
|
|
1069
|
-
content: () =>
|
|
1219
|
+
content: () => Rt("div", { class: "jc-foldable-list-dialog-content" }, A)
|
|
1070
1220
|
});
|
|
1071
1221
|
}, d = () => {
|
|
1072
1222
|
e.viewInDialog ? M() : r.value = !r.value;
|
|
1073
1223
|
};
|
|
1074
|
-
return
|
|
1075
|
-
|
|
1224
|
+
return ve(() => {
|
|
1225
|
+
de(() => {
|
|
1076
1226
|
c(), n.value && (a = new MutationObserver(() => {
|
|
1077
|
-
|
|
1227
|
+
de(c);
|
|
1078
1228
|
}), a.observe(n.value, {
|
|
1079
1229
|
childList: !0,
|
|
1080
1230
|
subtree: !0
|
|
1081
1231
|
}));
|
|
1082
1232
|
});
|
|
1083
|
-
}),
|
|
1233
|
+
}), Bt(() => {
|
|
1084
1234
|
a && (a.disconnect(), a = null);
|
|
1085
1235
|
}), {
|
|
1086
|
-
t:
|
|
1236
|
+
t: i,
|
|
1087
1237
|
contentWrapperRef: n,
|
|
1088
1238
|
isCollapsed: r,
|
|
1089
1239
|
needsToggle: u,
|
|
1090
1240
|
toggleList: d,
|
|
1091
1241
|
currentStyle: g,
|
|
1092
1242
|
remeasure: () => {
|
|
1093
|
-
|
|
1243
|
+
s = 0, de(c);
|
|
1094
1244
|
}
|
|
1095
1245
|
};
|
|
1096
1246
|
}
|
|
1097
|
-
}),
|
|
1247
|
+
}), Gn = { class: "jc-foldable-list" }, Fn = { class: "jc-wrapper-container" }, Hn = {
|
|
1098
1248
|
key: 0,
|
|
1099
1249
|
class: "jc-toggle-overlay"
|
|
1100
1250
|
};
|
|
1101
|
-
function
|
|
1102
|
-
return m(), b("div",
|
|
1103
|
-
I("div",
|
|
1251
|
+
function Jn(e, t, n, l, r, a) {
|
|
1252
|
+
return m(), b("div", Gn, [
|
|
1253
|
+
I("div", Fn, [
|
|
1104
1254
|
I("div", {
|
|
1105
1255
|
ref: "contentWrapperRef",
|
|
1106
1256
|
style: H(e.currentStyle),
|
|
@@ -1108,10 +1258,10 @@ function Rn(e, t, n, l, r, a) {
|
|
|
1108
1258
|
}, [
|
|
1109
1259
|
k(e.$slots, "default", {}, void 0, !0)
|
|
1110
1260
|
], 6),
|
|
1111
|
-
e.needsToggle ? (m(), b("div",
|
|
1261
|
+
e.needsToggle ? (m(), b("div", Hn, [
|
|
1112
1262
|
I("span", {
|
|
1113
1263
|
class: "link-type",
|
|
1114
|
-
onClick: t[0] || (t[0] = (...
|
|
1264
|
+
onClick: t[0] || (t[0] = (...s) => e.toggleList && e.toggleList(...s))
|
|
1115
1265
|
}, [
|
|
1116
1266
|
e.viewInDialog ? (m(), b(te, { key: 0 }, [
|
|
1117
1267
|
W(h(e.t("action.viewAll")), 1)
|
|
@@ -1123,7 +1273,7 @@ function Rn(e, t, n, l, r, a) {
|
|
|
1123
1273
|
])
|
|
1124
1274
|
]);
|
|
1125
1275
|
}
|
|
1126
|
-
const
|
|
1276
|
+
const cs = /* @__PURE__ */ R(xn, [["render", Jn], ["__scopeId", "data-v-48376fdd"]]), Kn = B({
|
|
1127
1277
|
name: "JCFormatLookup",
|
|
1128
1278
|
props: {
|
|
1129
1279
|
/**
|
|
@@ -1167,30 +1317,30 @@ const rs = /* @__PURE__ */ Z(qn, [["render", Rn], ["__scopeId", "data-v-48376fdd
|
|
|
1167
1317
|
slots: Object,
|
|
1168
1318
|
setup(e) {
|
|
1169
1319
|
const t = C(() => {
|
|
1170
|
-
const r = e.value, a = e.options,
|
|
1320
|
+
const r = e.value, a = e.options, s = e.matchKeys;
|
|
1171
1321
|
if (!(r === null || !a || a.length === 0))
|
|
1172
|
-
return a.find((o) =>
|
|
1322
|
+
return a.find((o) => s.some((i) => o[i] !== void 0 && o[i] === r));
|
|
1173
1323
|
}), n = C(() => !!t.value), l = C(() => t.value ? t.value.label : e.defaultContent);
|
|
1174
1324
|
return {
|
|
1175
1325
|
hasMatch: n,
|
|
1176
1326
|
displayLabel: l
|
|
1177
1327
|
};
|
|
1178
1328
|
}
|
|
1179
|
-
}),
|
|
1180
|
-
function
|
|
1329
|
+
}), Xn = { key: 0 };
|
|
1330
|
+
function _n(e, t, n, l, r, a) {
|
|
1181
1331
|
return e.hasMatch ? k(e.$slots, "default", {
|
|
1182
1332
|
key: 0,
|
|
1183
1333
|
label: e.displayLabel
|
|
1184
1334
|
}, () => [
|
|
1185
1335
|
I("span", null, h(e.displayLabel), 1)
|
|
1186
1336
|
]) : (m(), b(te, { key: 1 }, [
|
|
1187
|
-
e.rmDom ? E("", !0) : (m(), b("span",
|
|
1337
|
+
e.rmDom ? E("", !0) : (m(), b("span", Xn, h(e.defaultContent), 1))
|
|
1188
1338
|
], 64));
|
|
1189
1339
|
}
|
|
1190
|
-
const
|
|
1340
|
+
const Ms = /* @__PURE__ */ R(Kn, [["render", _n]]), el = B({
|
|
1191
1341
|
name: "JQInput",
|
|
1192
1342
|
components: {
|
|
1193
|
-
QInput:
|
|
1343
|
+
QInput: Be
|
|
1194
1344
|
},
|
|
1195
1345
|
props: {
|
|
1196
1346
|
modelValue: { type: [String, Number] },
|
|
@@ -1217,7 +1367,7 @@ const us = /* @__PURE__ */ Z(Wn, [["render", Fn]]), Gn = B({
|
|
|
1217
1367
|
},
|
|
1218
1368
|
slots: Object,
|
|
1219
1369
|
setup(e, { emit: t, slots: n, expose: l }) {
|
|
1220
|
-
const { t: r } = X(), a = T(e.modelValue ?? ""),
|
|
1370
|
+
const { t: r } = X(), a = T(e.modelValue ?? ""), s = T(null), o = T(e.customType !== "secret" && e.customType !== "password"), i = C(() => {
|
|
1221
1371
|
const d = String(e.modelValue ?? "");
|
|
1222
1372
|
if (e.customType === "secret" && !o.value) {
|
|
1223
1373
|
if (d.length === 0)
|
|
@@ -1228,20 +1378,20 @@ const us = /* @__PURE__ */ Z(Wn, [["render", Fn]]), Gn = B({
|
|
|
1228
1378
|
return `${p}***${A}`;
|
|
1229
1379
|
}
|
|
1230
1380
|
return d;
|
|
1231
|
-
}), c = C(() => e.customType === "secret" ?
|
|
1381
|
+
}), c = C(() => e.customType === "secret" ? i.value : a.value), u = C(() => ({
|
|
1232
1382
|
"input-password": e.customType === "password" && !o.value,
|
|
1233
1383
|
"j-q-input--table": e.label,
|
|
1234
1384
|
"j-q-input--form": !e.label && e.type !== "textarea" && !e.smInput,
|
|
1235
1385
|
"j-q-input--textarea": e.type === "textarea" && !e.label && !e.smInput,
|
|
1236
1386
|
"j-q-input--sm": e.smInput && !e.label
|
|
1237
1387
|
}));
|
|
1238
|
-
|
|
1388
|
+
F(
|
|
1239
1389
|
() => e.modelValue,
|
|
1240
1390
|
(d) => {
|
|
1241
1391
|
d !== a.value && (a.value = d);
|
|
1242
1392
|
},
|
|
1243
1393
|
{ immediate: !0 }
|
|
1244
|
-
),
|
|
1394
|
+
), F(
|
|
1245
1395
|
() => a.value,
|
|
1246
1396
|
(d, p) => {
|
|
1247
1397
|
if (d !== p && e.inputLimitFn && !e.inputLimitFn(d)) {
|
|
@@ -1259,29 +1409,29 @@ const us = /* @__PURE__ */ Z(Wn, [["render", Fn]]), Gn = B({
|
|
|
1259
1409
|
return l({
|
|
1260
1410
|
validate: () => {
|
|
1261
1411
|
var d;
|
|
1262
|
-
return ((d =
|
|
1412
|
+
return ((d = s.value) == null ? void 0 : d.validate()) ?? !1;
|
|
1263
1413
|
},
|
|
1264
1414
|
resetValidation: () => {
|
|
1265
1415
|
var d;
|
|
1266
|
-
return (d =
|
|
1416
|
+
return (d = s.value) == null ? void 0 : d.resetValidation();
|
|
1267
1417
|
},
|
|
1268
1418
|
toggleVisibility: M
|
|
1269
1419
|
}), {
|
|
1270
1420
|
t: r,
|
|
1271
1421
|
innerModel: a,
|
|
1272
1422
|
computedInputValue: c,
|
|
1273
|
-
computedDisplayValue:
|
|
1423
|
+
computedDisplayValue: i,
|
|
1274
1424
|
computedClass: u,
|
|
1275
1425
|
change: g,
|
|
1276
|
-
qInputRef:
|
|
1426
|
+
qInputRef: s,
|
|
1277
1427
|
isContentVisible: o,
|
|
1278
1428
|
toggleVisibility: M
|
|
1279
1429
|
};
|
|
1280
1430
|
}
|
|
1281
1431
|
});
|
|
1282
|
-
function
|
|
1283
|
-
const
|
|
1284
|
-
return m(), Y(
|
|
1432
|
+
function tl(e, t, n, l, r, a) {
|
|
1433
|
+
const s = N("q-input");
|
|
1434
|
+
return m(), Y(s, {
|
|
1285
1435
|
class: V(["j-q-input", e.computedClass]),
|
|
1286
1436
|
"model-value": e.computedInputValue,
|
|
1287
1437
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => e.innerModel = o),
|
|
@@ -1332,11 +1482,11 @@ function Hn(e, t, n, l, r, a) {
|
|
|
1332
1482
|
} : void 0
|
|
1333
1483
|
]), 1032, ["class", "model-value", "borderless", "dense", "disable", "label", "maxlength", "outlined", "readonly", "rules", "type", "bg-color", "onChange", "placeholder"]);
|
|
1334
1484
|
}
|
|
1335
|
-
const
|
|
1485
|
+
const kt = /* @__PURE__ */ R(el, [["render", tl]]), nl = B({
|
|
1336
1486
|
name: "JQFormLabel",
|
|
1337
1487
|
components: {
|
|
1338
1488
|
QIcon: le,
|
|
1339
|
-
QTooltip:
|
|
1489
|
+
QTooltip: Se
|
|
1340
1490
|
},
|
|
1341
1491
|
props: {
|
|
1342
1492
|
label: { type: String },
|
|
@@ -1359,9 +1509,9 @@ const vt = /* @__PURE__ */ Z(Gn, [["render", Hn]]), Jn = B({
|
|
|
1359
1509
|
slots: t
|
|
1360
1510
|
};
|
|
1361
1511
|
}
|
|
1362
|
-
}),
|
|
1363
|
-
function
|
|
1364
|
-
const
|
|
1512
|
+
}), ll = { class: "row items-center" }, ol = { class: "form-content" }, al = { class: "form-value__inner" }, sl = { class: "form-item-detail-wrapper" };
|
|
1513
|
+
function il(e, t, n, l, r, a) {
|
|
1514
|
+
const s = N("q-tooltip"), o = N("q-icon");
|
|
1365
1515
|
return m(), b("div", {
|
|
1366
1516
|
class: V(["j-q-form-label", [e.directionClass, { required: e.required }]])
|
|
1367
1517
|
}, [
|
|
@@ -1369,7 +1519,7 @@ function tl(e, t, n, l, r, a) {
|
|
|
1369
1519
|
key: 0,
|
|
1370
1520
|
class: V(["form-label", [e.labelClass, { required: e.required }]])
|
|
1371
1521
|
}, [
|
|
1372
|
-
I("div",
|
|
1522
|
+
I("div", ll, [
|
|
1373
1523
|
W(h(e.label) + " ", 1),
|
|
1374
1524
|
e.tip ? (m(), Y(o, {
|
|
1375
1525
|
key: 0,
|
|
@@ -1378,7 +1528,7 @@ function tl(e, t, n, l, r, a) {
|
|
|
1378
1528
|
class: "q-ml-xs"
|
|
1379
1529
|
}, {
|
|
1380
1530
|
default: D(() => [
|
|
1381
|
-
j(
|
|
1531
|
+
j(s, {
|
|
1382
1532
|
anchor: "top middle",
|
|
1383
1533
|
self: "bottom middle",
|
|
1384
1534
|
offset: [10, 10]
|
|
@@ -1394,26 +1544,26 @@ function tl(e, t, n, l, r, a) {
|
|
|
1394
1544
|
]),
|
|
1395
1545
|
k(e.$slots, "label-hint")
|
|
1396
1546
|
], 2)) : E("", !0),
|
|
1397
|
-
I("div",
|
|
1547
|
+
I("div", ol, [
|
|
1398
1548
|
I("div", {
|
|
1399
1549
|
class: V(["form-value", e.valueClass])
|
|
1400
1550
|
}, [
|
|
1401
|
-
I("div",
|
|
1551
|
+
I("div", al, [
|
|
1402
1552
|
k(e.$slots, "default")
|
|
1403
1553
|
])
|
|
1404
1554
|
], 2),
|
|
1405
|
-
I("div",
|
|
1555
|
+
I("div", sl, [
|
|
1406
1556
|
k(e.$slots, "form-item-detail")
|
|
1407
1557
|
])
|
|
1408
1558
|
])
|
|
1409
1559
|
], 2);
|
|
1410
1560
|
}
|
|
1411
|
-
const
|
|
1561
|
+
const rl = /* @__PURE__ */ R(nl, [["render", il]]), ul = B({
|
|
1412
1562
|
name: "jCListEditor",
|
|
1413
1563
|
components: {
|
|
1414
|
-
JQFormLabel:
|
|
1415
|
-
JQInput:
|
|
1416
|
-
QBtn:
|
|
1564
|
+
JQFormLabel: rl,
|
|
1565
|
+
JQInput: kt,
|
|
1566
|
+
QBtn: Ue
|
|
1417
1567
|
},
|
|
1418
1568
|
props: {
|
|
1419
1569
|
modelValue: {
|
|
@@ -1434,35 +1584,35 @@ const nl = /* @__PURE__ */ Z(Jn, [["render", tl]]), ll = B({
|
|
|
1434
1584
|
setup(e, { emit: t }) {
|
|
1435
1585
|
const { t: n } = X(), l = C({
|
|
1436
1586
|
get: () => e.modelValue,
|
|
1437
|
-
set: (
|
|
1438
|
-
t("update:modelValue",
|
|
1587
|
+
set: (i) => {
|
|
1588
|
+
t("update:modelValue", i);
|
|
1439
1589
|
}
|
|
1440
1590
|
});
|
|
1441
1591
|
return {
|
|
1442
1592
|
computedPlaceholder: C(() => e.placeholder || n("messages.pleaseEnter")),
|
|
1443
1593
|
innerValue: l,
|
|
1444
|
-
updateItem: (
|
|
1594
|
+
updateItem: (i, c) => {
|
|
1445
1595
|
const u = String(c ?? "");
|
|
1446
|
-
if (l.value[
|
|
1596
|
+
if (l.value[i] !== u) {
|
|
1447
1597
|
const g = [...l.value];
|
|
1448
|
-
g[
|
|
1598
|
+
g[i] = u, l.value = g;
|
|
1449
1599
|
}
|
|
1450
1600
|
},
|
|
1451
|
-
addItem: (
|
|
1601
|
+
addItem: (i) => {
|
|
1452
1602
|
const c = [...l.value];
|
|
1453
|
-
c.splice(
|
|
1603
|
+
c.splice(i, 0, e.defaultNewValue), l.value = c;
|
|
1454
1604
|
},
|
|
1455
|
-
removeItem: (
|
|
1605
|
+
removeItem: (i) => {
|
|
1456
1606
|
const c = [...l.value];
|
|
1457
|
-
c.splice(
|
|
1607
|
+
c.splice(i, 1), l.value = c;
|
|
1458
1608
|
}
|
|
1459
1609
|
};
|
|
1460
1610
|
}
|
|
1461
|
-
}),
|
|
1462
|
-
function
|
|
1463
|
-
const
|
|
1611
|
+
}), dl = { class: "col-6" }, cl = { style: { "margin-top": "4px" } };
|
|
1612
|
+
function Ml(e, t, n, l, r, a) {
|
|
1613
|
+
const s = N("j-q-input"), o = N("q-btn"), i = N("j-q-form-label");
|
|
1464
1614
|
return m(), b("div", null, [
|
|
1465
|
-
j(
|
|
1615
|
+
j(i, {
|
|
1466
1616
|
label: e.label,
|
|
1467
1617
|
required: e.required
|
|
1468
1618
|
}, {
|
|
@@ -1471,8 +1621,8 @@ function sl(e, t, n, l, r, a) {
|
|
|
1471
1621
|
key: u,
|
|
1472
1622
|
class: "row q-col-gutter-sm"
|
|
1473
1623
|
}, [
|
|
1474
|
-
I("div",
|
|
1475
|
-
j(
|
|
1624
|
+
I("div", dl, [
|
|
1625
|
+
j(s, {
|
|
1476
1626
|
"model-value": c,
|
|
1477
1627
|
"onUpdate:modelValue": (g) => e.updateItem(u, g),
|
|
1478
1628
|
rules: e.rules,
|
|
@@ -1485,7 +1635,7 @@ function sl(e, t, n, l, r, a) {
|
|
|
1485
1635
|
_: 3
|
|
1486
1636
|
}, 8, ["model-value", "onUpdate:modelValue", "rules", "readonly", "placeholder"])
|
|
1487
1637
|
]),
|
|
1488
|
-
I("div",
|
|
1638
|
+
I("div", cl, [
|
|
1489
1639
|
e.innerValue.length > 1 ? (m(), Y(o, {
|
|
1490
1640
|
key: 0,
|
|
1491
1641
|
icon: "remove_circle_outline",
|
|
@@ -1512,15 +1662,15 @@ function sl(e, t, n, l, r, a) {
|
|
|
1512
1662
|
}, 8, ["label", "required"])
|
|
1513
1663
|
]);
|
|
1514
1664
|
}
|
|
1515
|
-
const
|
|
1665
|
+
const gs = /* @__PURE__ */ R(ul, [["render", Ml]]), gl = B({
|
|
1516
1666
|
name: "JCMoreMenu",
|
|
1517
1667
|
components: {
|
|
1518
1668
|
QIcon: le,
|
|
1519
|
-
QMenu:
|
|
1520
|
-
QList:
|
|
1521
|
-
QItem:
|
|
1522
|
-
QItemSection:
|
|
1523
|
-
JCPermission:
|
|
1669
|
+
QMenu: Jt,
|
|
1670
|
+
QList: Ht,
|
|
1671
|
+
QItem: ht,
|
|
1672
|
+
QItemSection: Tt,
|
|
1673
|
+
JCPermission: vt
|
|
1524
1674
|
},
|
|
1525
1675
|
props: {
|
|
1526
1676
|
item: {
|
|
@@ -1579,7 +1729,7 @@ const ds = /* @__PURE__ */ Z(ll, [["render", sl]]), il = B({
|
|
|
1579
1729
|
action: (e) => !0
|
|
1580
1730
|
},
|
|
1581
1731
|
setup(e, { emit: t }) {
|
|
1582
|
-
const { t: n } = X(), l = C(() => e.translate ?? n), r =
|
|
1732
|
+
const { t: n } = X(), l = C(() => e.translate ?? n), r = Pe(it, T([])), a = Pe(rt, T([])), s = (f, L, w) => typeof f == "function" ? !!f(L) : typeof f == "boolean" ? f : w, o = (f) => s(f.visible, e.item, !0), i = (f) => s(f.disabled, e.item, !1), c = (f) => f ? a.value.includes(f) || r.value.includes(f) : !0, u = (f) => o(f) ? c(f.permissionCode) : !1, g = C(() => e.actions.some((f) => u(f))), M = C(() => typeof e.fit == "boolean" ? e.fit : e.preset === "option"), d = C(() => {
|
|
1583
1733
|
if (e.preset === "action")
|
|
1584
1734
|
return e.offset ?? [5, 10];
|
|
1585
1735
|
}), p = C(() => {
|
|
@@ -1594,7 +1744,7 @@ const ds = /* @__PURE__ */ Z(ll, [["render", sl]]), il = B({
|
|
|
1594
1744
|
return {
|
|
1595
1745
|
hasVisibleActions: g,
|
|
1596
1746
|
isActionVisible: o,
|
|
1597
|
-
isActionDisabled:
|
|
1747
|
+
isActionDisabled: i,
|
|
1598
1748
|
shouldShowAction: u,
|
|
1599
1749
|
preset: C(() => e.preset),
|
|
1600
1750
|
computedFit: M,
|
|
@@ -1608,22 +1758,22 @@ const ds = /* @__PURE__ */ Z(ll, [["render", sl]]), il = B({
|
|
|
1608
1758
|
handleActionClick: $
|
|
1609
1759
|
};
|
|
1610
1760
|
}
|
|
1611
|
-
}),
|
|
1761
|
+
}), ml = {
|
|
1612
1762
|
key: 0,
|
|
1613
1763
|
class: "jc-more-menu"
|
|
1614
|
-
},
|
|
1615
|
-
function
|
|
1616
|
-
const
|
|
1617
|
-
return e.hasVisibleActions ? (m(), b("div",
|
|
1618
|
-
I("div",
|
|
1764
|
+
}, pl = { class: "jc-more-menu__icon" };
|
|
1765
|
+
function fl(e, t, n, l, r, a) {
|
|
1766
|
+
const s = N("q-icon"), o = N("q-item-section"), i = N("q-item"), c = N("j-c-permission"), u = N("q-list"), g = N("q-menu"), M = ot("close-popup");
|
|
1767
|
+
return e.hasVisibleActions ? (m(), b("div", ml, [
|
|
1768
|
+
I("div", pl, [
|
|
1619
1769
|
k(e.$slots, "trigger", {}, () => [
|
|
1620
|
-
j(
|
|
1770
|
+
j(s, {
|
|
1621
1771
|
class: "cursor-pointer",
|
|
1622
1772
|
name: "more_vert",
|
|
1623
1773
|
size: e.triggerSize
|
|
1624
1774
|
}, null, 8, ["size"])
|
|
1625
1775
|
], !0),
|
|
1626
|
-
j(g,
|
|
1776
|
+
j(g, he({
|
|
1627
1777
|
fit: e.computedFit,
|
|
1628
1778
|
class: e.computedMenuClass,
|
|
1629
1779
|
offset: e.computedOffset,
|
|
@@ -1643,7 +1793,7 @@ function dl(e, t, n, l, r, a) {
|
|
|
1643
1793
|
"default-content": d.defaultContent ?? "--"
|
|
1644
1794
|
}, {
|
|
1645
1795
|
default: D(() => [
|
|
1646
|
-
e.shouldShowAction(d) ? oe((m(), Y(
|
|
1796
|
+
e.shouldShowAction(d) ? oe((m(), Y(i, {
|
|
1647
1797
|
key: 0,
|
|
1648
1798
|
clickable: d.clickable ?? !0,
|
|
1649
1799
|
disable: e.isActionDisabled(d),
|
|
@@ -1673,21 +1823,21 @@ function dl(e, t, n, l, r, a) {
|
|
|
1673
1823
|
])
|
|
1674
1824
|
])) : E("", !0);
|
|
1675
1825
|
}
|
|
1676
|
-
const
|
|
1826
|
+
const ms = /* @__PURE__ */ R(gl, [["render", fl], ["__scopeId", "data-v-97961741"]]), nt = T("hide-tooltip"), yl = {
|
|
1677
1827
|
mounted(e, t) {
|
|
1678
1828
|
const n = t.arg === "lines" ? t.value : 1;
|
|
1679
1829
|
e.addEventListener("mouseenter", () => {
|
|
1680
|
-
|
|
1830
|
+
Il(e, n) ? nt.value = "" : nt.value = "hide-tooltip";
|
|
1681
1831
|
});
|
|
1682
1832
|
}
|
|
1683
1833
|
};
|
|
1684
|
-
function
|
|
1834
|
+
function Il(e, t) {
|
|
1685
1835
|
return t === 1 ? e.scrollWidth > e.clientWidth : e.scrollHeight > e.clientHeight;
|
|
1686
1836
|
}
|
|
1687
|
-
const
|
|
1837
|
+
const Dl = B({
|
|
1688
1838
|
name: "jQTooltip",
|
|
1689
1839
|
components: {
|
|
1690
|
-
QTooltip:
|
|
1840
|
+
QTooltip: Se
|
|
1691
1841
|
},
|
|
1692
1842
|
props: {
|
|
1693
1843
|
content: {
|
|
@@ -1705,10 +1855,10 @@ const gl = B({
|
|
|
1705
1855
|
}
|
|
1706
1856
|
},
|
|
1707
1857
|
directives: {
|
|
1708
|
-
"j-q-tooltip":
|
|
1858
|
+
"j-q-tooltip": yl
|
|
1709
1859
|
},
|
|
1710
1860
|
setup(e) {
|
|
1711
|
-
const t = C(() =>
|
|
1861
|
+
const t = C(() => nt.value), n = C(() => e.lines === 1 ? "ellipsis" : "ellipsis-multi"), l = C(() => {
|
|
1712
1862
|
const r = e.contentStyle;
|
|
1713
1863
|
return e.lines > 1 ? `${r}; -webkit-line-clamp: ${e.lines};` : r;
|
|
1714
1864
|
});
|
|
@@ -1719,14 +1869,14 @@ const gl = B({
|
|
|
1719
1869
|
};
|
|
1720
1870
|
}
|
|
1721
1871
|
});
|
|
1722
|
-
function
|
|
1723
|
-
const
|
|
1872
|
+
function Al(e, t, n, l, r, a) {
|
|
1873
|
+
const s = N("q-tooltip"), o = ot("j-q-tooltip");
|
|
1724
1874
|
return oe((m(), b("div", {
|
|
1725
1875
|
class: V(["block", e.ellipsisClass]),
|
|
1726
1876
|
style: H(e.computedStyle)
|
|
1727
1877
|
}, [
|
|
1728
1878
|
W(h(e.content) + " ", 1),
|
|
1729
|
-
j(
|
|
1879
|
+
j(s, {
|
|
1730
1880
|
class: V([e.toolTipClass, "j-q-tooltip-content"]),
|
|
1731
1881
|
anchor: "top middle",
|
|
1732
1882
|
self: "bottom middle",
|
|
@@ -1741,10 +1891,10 @@ function ml(e, t, n, l, r, a) {
|
|
|
1741
1891
|
[o, e.lines, "lines"]
|
|
1742
1892
|
]);
|
|
1743
1893
|
}
|
|
1744
|
-
const
|
|
1894
|
+
const gt = /* @__PURE__ */ R(Dl, [["render", Al]]), Nl = B({
|
|
1745
1895
|
name: "JCTabs",
|
|
1746
1896
|
components: {
|
|
1747
|
-
JQTooltip:
|
|
1897
|
+
JQTooltip: gt
|
|
1748
1898
|
},
|
|
1749
1899
|
props: {
|
|
1750
1900
|
// 绑定当前选中的值 (v-model)
|
|
@@ -1792,27 +1942,27 @@ const dt = /* @__PURE__ */ Z(gl, [["render", ml]]), pl = B({
|
|
|
1792
1942
|
change: (e) => !0
|
|
1793
1943
|
},
|
|
1794
1944
|
setup(e, { emit: t }) {
|
|
1795
|
-
const n = (
|
|
1796
|
-
if (e.disable || e.modelValue ===
|
|
1945
|
+
const n = (s) => {
|
|
1946
|
+
if (e.disable || e.modelValue === s)
|
|
1797
1947
|
return;
|
|
1798
|
-
const o = e.options.find((
|
|
1799
|
-
o != null && o.disable || (t("update:modelValue",
|
|
1800
|
-
}, l = (
|
|
1801
|
-
if (!(
|
|
1802
|
-
return typeof
|
|
1948
|
+
const o = e.options.find((i) => i.value === s);
|
|
1949
|
+
o != null && o.disable || (t("update:modelValue", s), t("change", s));
|
|
1950
|
+
}, l = (s, o) => s.value === null || s.value === void 0 ? String(o) : String(s.value), r = (s) => {
|
|
1951
|
+
if (!(s == null || s === ""))
|
|
1952
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1803
1953
|
};
|
|
1804
1954
|
return {
|
|
1805
1955
|
handleClickTab: n,
|
|
1806
1956
|
slotKey: l,
|
|
1807
|
-
getItemLabelStyle: (
|
|
1808
|
-
const o = r(
|
|
1809
|
-
return o ? `${
|
|
1957
|
+
getItemLabelStyle: (s) => {
|
|
1958
|
+
const o = r(s.maxWidth ?? e.itemMaxWidth), i = "display:inline-block; vertical-align:middle;";
|
|
1959
|
+
return o ? `${i} max-width:${o};` : `${i}`;
|
|
1810
1960
|
}
|
|
1811
1961
|
};
|
|
1812
1962
|
}
|
|
1813
|
-
}),
|
|
1814
|
-
function
|
|
1815
|
-
const
|
|
1963
|
+
}), Cl = ["onClick"];
|
|
1964
|
+
function jl(e, t, n, l, r, a) {
|
|
1965
|
+
const s = N("JQTooltip");
|
|
1816
1966
|
return m(), b("div", null, [
|
|
1817
1967
|
I("ul", {
|
|
1818
1968
|
class: V(["j-c-tabs", {
|
|
@@ -1823,39 +1973,39 @@ function yl(e, t, n, l, r, a) {
|
|
|
1823
1973
|
"j-c-tabs--expand": e.expand
|
|
1824
1974
|
}])
|
|
1825
1975
|
}, [
|
|
1826
|
-
(m(!0), b(te, null, ne(e.options, (o,
|
|
1827
|
-
key:
|
|
1976
|
+
(m(!0), b(te, null, ne(e.options, (o, i) => (m(), b("li", {
|
|
1977
|
+
key: i,
|
|
1828
1978
|
class: V({
|
|
1829
1979
|
active: e.modelValue === o.value,
|
|
1830
1980
|
"is-disabled": e.disable || o.disable
|
|
1831
1981
|
}),
|
|
1832
1982
|
onClick: (c) => e.handleClickTab(o.value)
|
|
1833
1983
|
}, [
|
|
1834
|
-
k(e.$slots, `item-${e.slotKey(o,
|
|
1984
|
+
k(e.$slots, `item-${e.slotKey(o, i)}`, {
|
|
1835
1985
|
item: o,
|
|
1836
|
-
index:
|
|
1986
|
+
index: i,
|
|
1837
1987
|
active: e.modelValue === o.value,
|
|
1838
1988
|
labelStyle: e.getItemLabelStyle(o)
|
|
1839
1989
|
}, () => [
|
|
1840
1990
|
k(e.$slots, "item", {
|
|
1841
1991
|
item: o,
|
|
1842
|
-
index:
|
|
1992
|
+
index: i,
|
|
1843
1993
|
active: e.modelValue === o.value,
|
|
1844
1994
|
labelStyle: e.getItemLabelStyle(o)
|
|
1845
1995
|
}, () => [
|
|
1846
|
-
j(
|
|
1996
|
+
j(s, {
|
|
1847
1997
|
content: o.label,
|
|
1848
1998
|
lines: 1,
|
|
1849
1999
|
"content-style": e.getItemLabelStyle(o)
|
|
1850
2000
|
}, null, 8, ["content", "content-style"])
|
|
1851
2001
|
], !0)
|
|
1852
2002
|
], !0)
|
|
1853
|
-
], 10,
|
|
2003
|
+
], 10, Cl))), 128))
|
|
1854
2004
|
], 2),
|
|
1855
2005
|
k(e.$slots, "default", {}, void 0, !0)
|
|
1856
2006
|
]);
|
|
1857
2007
|
}
|
|
1858
|
-
const
|
|
2008
|
+
const ps = /* @__PURE__ */ R(Nl, [["render", jl], ["__scopeId", "data-v-cc043f30"]]), zl = B({
|
|
1859
2009
|
name: "JCTitleLine",
|
|
1860
2010
|
props: {
|
|
1861
2011
|
label: { type: String }
|
|
@@ -1866,27 +2016,27 @@ const Ms = /* @__PURE__ */ Z(pl, [["render", yl], ["__scopeId", "data-v-cc043f30
|
|
|
1866
2016
|
hasSlot: (l) => Reflect.has(t, l)
|
|
1867
2017
|
};
|
|
1868
2018
|
}
|
|
1869
|
-
}),
|
|
2019
|
+
}), bl = { class: "title-line" }, Tl = {
|
|
1870
2020
|
key: 0,
|
|
1871
2021
|
class: "title-line__extra"
|
|
1872
2022
|
};
|
|
1873
|
-
function
|
|
2023
|
+
function hl(e, t, n, l, r, a) {
|
|
1874
2024
|
return m(), b("div", null, [
|
|
1875
|
-
I("div",
|
|
2025
|
+
I("div", bl, [
|
|
1876
2026
|
I("span", null, [
|
|
1877
2027
|
W(h(e.label) + " ", 1),
|
|
1878
|
-
e.hasSlot("default") ? (m(), b("span",
|
|
2028
|
+
e.hasSlot("default") ? (m(), b("span", Tl, [
|
|
1879
2029
|
k(e.$slots, "default", {}, void 0, !0)
|
|
1880
2030
|
])) : E("", !0)
|
|
1881
2031
|
])
|
|
1882
2032
|
])
|
|
1883
2033
|
]);
|
|
1884
2034
|
}
|
|
1885
|
-
const
|
|
2035
|
+
const fs = /* @__PURE__ */ R(zl, [["render", hl], ["__scopeId", "data-v-634ec7db"]]), wl = B({
|
|
1886
2036
|
name: "jCTree",
|
|
1887
2037
|
components: {
|
|
1888
|
-
JQTooltip:
|
|
1889
|
-
QTree:
|
|
2038
|
+
JQTooltip: gt,
|
|
2039
|
+
QTree: Kt
|
|
1890
2040
|
},
|
|
1891
2041
|
props: {
|
|
1892
2042
|
modelValue: { type: Array },
|
|
@@ -1900,23 +2050,23 @@ const gs = /* @__PURE__ */ Z(Il, [["render", Nl], ["__scopeId", "data-v-634ec7db
|
|
|
1900
2050
|
},
|
|
1901
2051
|
emits: ["update:modelValue"],
|
|
1902
2052
|
setup(e, { emit: t, expose: n }) {
|
|
1903
|
-
const l = T(null), { t: r } = X(), a = T(e.modelValue ?? []),
|
|
2053
|
+
const l = T(null), { t: r } = X(), a = T(e.modelValue ?? []), s = C(() => e.tickStrategy === "strict" && !e.multiple), o = C({
|
|
1904
2054
|
get() {
|
|
1905
2055
|
return e.modelValue ?? a.value;
|
|
1906
2056
|
},
|
|
1907
|
-
set(
|
|
1908
|
-
let c =
|
|
1909
|
-
if (
|
|
1910
|
-
const u = Array.isArray(
|
|
2057
|
+
set(i) {
|
|
2058
|
+
let c = i;
|
|
2059
|
+
if (s.value) {
|
|
2060
|
+
const u = Array.isArray(i) ? i : [], g = u.length > 0 ? u[u.length - 1] : void 0;
|
|
1911
2061
|
c = g ? [g] : [];
|
|
1912
2062
|
}
|
|
1913
2063
|
a.value = c, t("update:modelValue", c);
|
|
1914
2064
|
}
|
|
1915
2065
|
});
|
|
1916
|
-
return
|
|
2066
|
+
return F(
|
|
1917
2067
|
() => e.modelValue,
|
|
1918
|
-
(
|
|
1919
|
-
a.value =
|
|
2068
|
+
(i) => {
|
|
2069
|
+
a.value = i ?? [];
|
|
1920
2070
|
}
|
|
1921
2071
|
), n({
|
|
1922
2072
|
qTreeRef: l
|
|
@@ -1926,13 +2076,13 @@ const gs = /* @__PURE__ */ Z(Il, [["render", Nl], ["__scopeId", "data-v-634ec7db
|
|
|
1926
2076
|
computedValue: o
|
|
1927
2077
|
};
|
|
1928
2078
|
}
|
|
1929
|
-
}),
|
|
1930
|
-
function
|
|
1931
|
-
const
|
|
2079
|
+
}), vl = { class: "q-tree-label-wrapper" }, Sl = { class: "q-tree-label-truncate" };
|
|
2080
|
+
function Ll(e, t, n, l, r, a) {
|
|
2081
|
+
const s = N("j-q-tooltip"), o = N("q-tree");
|
|
1932
2082
|
return m(), Y(o, {
|
|
1933
2083
|
ref: "main",
|
|
1934
2084
|
ticked: e.computedValue,
|
|
1935
|
-
"onUpdate:ticked": t[0] || (t[0] = (
|
|
2085
|
+
"onUpdate:ticked": t[0] || (t[0] = (i) => e.computedValue = i),
|
|
1936
2086
|
"default-expand-all": "",
|
|
1937
2087
|
"label-key": e.optionLabel,
|
|
1938
2088
|
"node-key": e.optionValue,
|
|
@@ -1940,14 +2090,14 @@ function bl(e, t, n, l, r, a) {
|
|
|
1940
2090
|
"tick-strategy": e.tickStrategy,
|
|
1941
2091
|
"no-nodes-label": e.t("messages.noData")
|
|
1942
2092
|
}, {
|
|
1943
|
-
"default-header": D((
|
|
1944
|
-
I("div",
|
|
1945
|
-
j(
|
|
1946
|
-
content:
|
|
2093
|
+
"default-header": D((i) => [
|
|
2094
|
+
I("div", vl, [
|
|
2095
|
+
j(s, {
|
|
2096
|
+
content: i.node[e.optionLabel],
|
|
1947
2097
|
style: { "max-width": "320px" }
|
|
1948
2098
|
}, {
|
|
1949
2099
|
default: D(() => [
|
|
1950
|
-
I("div",
|
|
2100
|
+
I("div", Sl, h(i.node[e.optionLabel]), 1)
|
|
1951
2101
|
]),
|
|
1952
2102
|
_: 2
|
|
1953
2103
|
}, 1032, ["content"])
|
|
@@ -1956,12 +2106,12 @@ function bl(e, t, n, l, r, a) {
|
|
|
1956
2106
|
_: 1
|
|
1957
2107
|
}, 8, ["ticked", "label-key", "node-key", "nodes", "tick-strategy", "no-nodes-label"]);
|
|
1958
2108
|
}
|
|
1959
|
-
const
|
|
2109
|
+
const kl = /* @__PURE__ */ R(wl, [["render", Ll]]), Ol = B({
|
|
1960
2110
|
name: "JCTreeSelect",
|
|
1961
2111
|
components: {
|
|
1962
|
-
JQInput:
|
|
1963
|
-
JCTree:
|
|
1964
|
-
QField:
|
|
2112
|
+
JQInput: kt,
|
|
2113
|
+
JCTree: kl,
|
|
2114
|
+
QField: Oe,
|
|
1965
2115
|
QIcon: le,
|
|
1966
2116
|
QPopupProxy: Ae
|
|
1967
2117
|
},
|
|
@@ -1988,13 +2138,13 @@ const Tl = /* @__PURE__ */ Z(Cl, [["render", bl]]), hl = B({
|
|
|
1988
2138
|
},
|
|
1989
2139
|
slots: Object,
|
|
1990
2140
|
setup(e, { emit: t, expose: n }) {
|
|
1991
|
-
const l = T(null), { t: r } = X(), a = T(!1),
|
|
2141
|
+
const l = T(null), { t: r } = X(), a = T(!1), s = T(""), o = T([]), i = T(e.modelValue ?? []), c = C(() => e.tickStrategy === "strict" && !e.multiple), u = C({
|
|
1992
2142
|
get() {
|
|
1993
|
-
return e.modelValue ||
|
|
2143
|
+
return e.modelValue || i.value;
|
|
1994
2144
|
},
|
|
1995
2145
|
set(O) {
|
|
1996
2146
|
let $ = O;
|
|
1997
|
-
|
|
2147
|
+
i.value = $, t("update:modelValue", $), c.value && $ != null && $.length && (a.value = !1);
|
|
1998
2148
|
}
|
|
1999
2149
|
}), g = C({
|
|
2000
2150
|
get() {
|
|
@@ -2004,13 +2154,13 @@ const Tl = /* @__PURE__ */ Z(Cl, [["render", bl]]), hl = B({
|
|
|
2004
2154
|
a.value = O;
|
|
2005
2155
|
}
|
|
2006
2156
|
});
|
|
2007
|
-
|
|
2157
|
+
F(
|
|
2008
2158
|
() => e.modelValue,
|
|
2009
2159
|
(O) => {
|
|
2010
|
-
|
|
2160
|
+
i.value = O ?? [];
|
|
2011
2161
|
}
|
|
2012
|
-
),
|
|
2013
|
-
O || (
|
|
2162
|
+
), F(a, (O) => {
|
|
2163
|
+
O || (s.value = "");
|
|
2014
2164
|
});
|
|
2015
2165
|
const M = () => {
|
|
2016
2166
|
var L;
|
|
@@ -2026,7 +2176,7 @@ const Tl = /* @__PURE__ */ Z(Cl, [["render", bl]]), hl = B({
|
|
|
2026
2176
|
if (e.valueDisplayFn) return e.valueDisplayFn(u.value, e.options || []);
|
|
2027
2177
|
const O = M();
|
|
2028
2178
|
return O == null ? void 0 : O.map((f) => f[e.optionLabel]).toString();
|
|
2029
|
-
}), p = C(() => e.options || []), A = C(() =>
|
|
2179
|
+
}), p = C(() => e.options || []), A = C(() => s.value ? o.value : p.value), v = (O) => {
|
|
2030
2180
|
if (o.value = [], !O) return;
|
|
2031
2181
|
let $;
|
|
2032
2182
|
try {
|
|
@@ -2039,10 +2189,10 @@ const Tl = /* @__PURE__ */ Z(Cl, [["render", bl]]), hl = B({
|
|
|
2039
2189
|
const P = { ...L }, q = ((K = L[e.optionLabel]) == null ? void 0 : K.toString()) || "";
|
|
2040
2190
|
let x = !1;
|
|
2041
2191
|
if ($.test(q) && (x = !0), (ie = L.children) != null && ie.length) {
|
|
2042
|
-
const
|
|
2192
|
+
const ce = [];
|
|
2043
2193
|
L.children.forEach((Ne) => {
|
|
2044
|
-
f(Ne,
|
|
2045
|
-
}),
|
|
2194
|
+
f(Ne, ce) && (x = !0);
|
|
2195
|
+
}), ce.length > 0 ? P.children = ce : delete P.children;
|
|
2046
2196
|
}
|
|
2047
2197
|
return x ? (w.push(P), !0) : !1;
|
|
2048
2198
|
};
|
|
@@ -2061,19 +2211,19 @@ const Tl = /* @__PURE__ */ Z(Cl, [["render", bl]]), hl = B({
|
|
|
2061
2211
|
computedValue: u,
|
|
2062
2212
|
computedValueDisplay: d,
|
|
2063
2213
|
popupVisible: g,
|
|
2064
|
-
inputValue:
|
|
2214
|
+
inputValue: s,
|
|
2065
2215
|
computedTreeOptions: A,
|
|
2066
2216
|
onUpdateInputValue: v,
|
|
2067
2217
|
handleClear: Q,
|
|
2068
2218
|
getFullValue: M
|
|
2069
2219
|
};
|
|
2070
2220
|
}
|
|
2071
|
-
}),
|
|
2221
|
+
}), El = { class: "j-c-tree-select-value-display" }, $l = { class: "j-c-tree-select-popup" }, Yl = {
|
|
2072
2222
|
key: 0,
|
|
2073
2223
|
class: "j-c-tree-select-popup__header"
|
|
2074
|
-
},
|
|
2075
|
-
function
|
|
2076
|
-
const
|
|
2224
|
+
}, Vl = { class: "j-c-tree-select-popup__main" };
|
|
2225
|
+
function Ql(e, t, n, l, r, a) {
|
|
2226
|
+
const s = N("q-icon"), o = N("j-q-input"), i = N("j-c-tree"), c = N("q-popup-proxy"), u = N("q-field");
|
|
2077
2227
|
return m(), Y(u, {
|
|
2078
2228
|
class: V(["j-c-tree-select", {
|
|
2079
2229
|
"j-c-tree-select--table": e.label,
|
|
@@ -2091,7 +2241,7 @@ function kl(e, t, n, l, r, a) {
|
|
|
2091
2241
|
onClear: e.handleClear
|
|
2092
2242
|
}, {
|
|
2093
2243
|
control: D(() => [
|
|
2094
|
-
I("div",
|
|
2244
|
+
I("div", El, [
|
|
2095
2245
|
k(e.$slots, "value-display", {}, () => [
|
|
2096
2246
|
W(h(e.computedValueDisplay), 1)
|
|
2097
2247
|
])
|
|
@@ -2100,13 +2250,13 @@ function kl(e, t, n, l, r, a) {
|
|
|
2100
2250
|
append: D(() => {
|
|
2101
2251
|
var g;
|
|
2102
2252
|
return [
|
|
2103
|
-
e.clearable && !e.readonly && !e.disable && ((g = e.computedValue) != null && g.length) ? (m(), Y(
|
|
2253
|
+
e.clearable && !e.readonly && !e.disable && ((g = e.computedValue) != null && g.length) ? (m(), Y(s, {
|
|
2104
2254
|
key: 0,
|
|
2105
2255
|
name: e.clearIcon,
|
|
2106
2256
|
class: "cursor-pointer q-field__focusable-action",
|
|
2107
2257
|
onMousedown: ee(e.handleClearClick, ["stop"])
|
|
2108
2258
|
}, null, 8, ["name", "onMousedown"])) : E("", !0),
|
|
2109
|
-
e.readonly || e.disable ? E("", !0) : (m(), Y(
|
|
2259
|
+
e.readonly || e.disable ? E("", !0) : (m(), Y(s, {
|
|
2110
2260
|
key: 1,
|
|
2111
2261
|
name: e.dropdownIcon,
|
|
2112
2262
|
size: e.label ? "18px" : "20px",
|
|
@@ -2124,8 +2274,8 @@ function kl(e, t, n, l, r, a) {
|
|
|
2124
2274
|
style: { "border-top-left-radius": "4px", "border-top-right-radius": "4px" }
|
|
2125
2275
|
}, {
|
|
2126
2276
|
default: D(() => [
|
|
2127
|
-
I("div",
|
|
2128
|
-
e.filterable ? (m(), b("div",
|
|
2277
|
+
I("div", $l, [
|
|
2278
|
+
e.filterable ? (m(), b("div", Yl, [
|
|
2129
2279
|
j(o, {
|
|
2130
2280
|
modelValue: e.inputValue,
|
|
2131
2281
|
"onUpdate:modelValue": [
|
|
@@ -2139,8 +2289,8 @@ function kl(e, t, n, l, r, a) {
|
|
|
2139
2289
|
"sm-input": ""
|
|
2140
2290
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "readonly", "disable"])
|
|
2141
2291
|
])) : E("", !0),
|
|
2142
|
-
I("div",
|
|
2143
|
-
j(
|
|
2292
|
+
I("div", Vl, [
|
|
2293
|
+
j(i, {
|
|
2144
2294
|
ref: "treeRef",
|
|
2145
2295
|
modelValue: e.computedValue,
|
|
2146
2296
|
"onUpdate:modelValue": t[1] || (t[1] = (g) => e.computedValue = g),
|
|
@@ -2161,12 +2311,12 @@ function kl(e, t, n, l, r, a) {
|
|
|
2161
2311
|
_: 3
|
|
2162
2312
|
}, 8, ["class", "model-value", "label", "outlined", "rules", "readonly", "disable", "onClear"]);
|
|
2163
2313
|
}
|
|
2164
|
-
const
|
|
2314
|
+
const ys = /* @__PURE__ */ R(Ol, [["render", Ql]]), Pl = { username: "current_user" }, Nt = () => localStorage.getItem("APP_SEARCH_HISTORY") || "{}", ql = (e) => {
|
|
2165
2315
|
localStorage.setItem("APP_SEARCH_HISTORY", e);
|
|
2166
|
-
},
|
|
2316
|
+
}, Ul = B({
|
|
2167
2317
|
name: "JQAutocomplete",
|
|
2168
2318
|
components: {
|
|
2169
|
-
QInput:
|
|
2319
|
+
QInput: Be
|
|
2170
2320
|
},
|
|
2171
2321
|
emits: ["update:model-value"],
|
|
2172
2322
|
props: {
|
|
@@ -2176,7 +2326,7 @@ const ms = /* @__PURE__ */ Z(hl, [["render", kl]]), Ol = { username: "current_us
|
|
|
2176
2326
|
label: { type: String, default: "" }
|
|
2177
2327
|
},
|
|
2178
2328
|
setup(e, { emit: t, expose: n }) {
|
|
2179
|
-
const l = C(() => `search_history__${
|
|
2329
|
+
const l = C(() => `search_history__${Pl.username}__${e.searchKey}`), r = T(null), a = De({
|
|
2180
2330
|
maxLength: 5,
|
|
2181
2331
|
width: {
|
|
2182
2332
|
eid: "250px"
|
|
@@ -2186,26 +2336,26 @@ const ms = /* @__PURE__ */ Z(hl, [["render", kl]]), Ol = { username: "current_us
|
|
|
2186
2336
|
visible: !1,
|
|
2187
2337
|
uniqueKey: l.value
|
|
2188
2338
|
});
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
}),
|
|
2339
|
+
ve(() => {
|
|
2340
|
+
s();
|
|
2341
|
+
}), F(
|
|
2192
2342
|
() => e.modelValue,
|
|
2193
2343
|
(d) => {
|
|
2194
2344
|
a.filterList = a.list.filter((p) => p.value.includes(d));
|
|
2195
2345
|
}
|
|
2196
2346
|
);
|
|
2197
|
-
const
|
|
2347
|
+
const s = () => {
|
|
2198
2348
|
try {
|
|
2199
|
-
const d =
|
|
2349
|
+
const d = Nt(), p = JSON.parse(d);
|
|
2200
2350
|
a.list = p[l.value] || [];
|
|
2201
2351
|
} catch (d) {
|
|
2202
2352
|
console.error("Failed to load search history:", d), a.list = [];
|
|
2203
2353
|
}
|
|
2204
2354
|
}, o = () => {
|
|
2205
|
-
|
|
2355
|
+
s();
|
|
2206
2356
|
const d = e.modelValue;
|
|
2207
2357
|
d ? a.filterList = a.list.filter((p) => p.value.includes(d)) : a.filterList = a.list, a.visible = !0;
|
|
2208
|
-
},
|
|
2358
|
+
}, i = () => {
|
|
2209
2359
|
a.visible = !1;
|
|
2210
2360
|
}, c = () => {
|
|
2211
2361
|
a.filterList = a.list, r.value.blur();
|
|
@@ -2219,17 +2369,17 @@ const ms = /* @__PURE__ */ Z(hl, [["render", kl]]), Ol = { username: "current_us
|
|
|
2219
2369
|
a.list.length >= a.maxLength && a.list.pop(), a.list.unshift({ id: +/* @__PURE__ */ new Date(), value: d });
|
|
2220
2370
|
let p;
|
|
2221
2371
|
try {
|
|
2222
|
-
p = JSON.parse(
|
|
2372
|
+
p = JSON.parse(Nt());
|
|
2223
2373
|
} catch {
|
|
2224
2374
|
p = {};
|
|
2225
2375
|
}
|
|
2226
|
-
p[l.value] = a.list,
|
|
2376
|
+
p[l.value] = a.list, ql(JSON.stringify(p));
|
|
2227
2377
|
};
|
|
2228
2378
|
return n({ saveHistory: M }), {
|
|
2229
2379
|
inputRef: r,
|
|
2230
2380
|
historyParams: a,
|
|
2231
2381
|
onFocus: o,
|
|
2232
|
-
onBlur:
|
|
2382
|
+
onBlur: i,
|
|
2233
2383
|
onClear: c,
|
|
2234
2384
|
onUpdateValue: u,
|
|
2235
2385
|
onSelectItem: g,
|
|
@@ -2237,14 +2387,14 @@ const ms = /* @__PURE__ */ Z(hl, [["render", kl]]), Ol = { username: "current_us
|
|
|
2237
2387
|
uniqueKey: l
|
|
2238
2388
|
};
|
|
2239
2389
|
}
|
|
2240
|
-
}),
|
|
2241
|
-
function
|
|
2242
|
-
const
|
|
2390
|
+
}), Bl = { class: "j-q-autocomplete-list-container" }, Rl = ["onMousedown"], Zl = { class: "value" };
|
|
2391
|
+
function Wl(e, t, n, l, r, a) {
|
|
2392
|
+
const s = N("q-input");
|
|
2243
2393
|
return m(), b("div", {
|
|
2244
2394
|
class: "j-q-autocomplete",
|
|
2245
2395
|
style: H(`width: ${e.historyParams.width[e.searchId] || "auto"}`)
|
|
2246
2396
|
}, [
|
|
2247
|
-
j(
|
|
2397
|
+
j(s, he({
|
|
2248
2398
|
class: {
|
|
2249
2399
|
"j-q-input--table": e.label,
|
|
2250
2400
|
"j-q-input--form": !e.label
|
|
@@ -2267,26 +2417,26 @@ function Pl(e, t, n, l, r, a) {
|
|
|
2267
2417
|
outlined: "",
|
|
2268
2418
|
ref: "inputRef"
|
|
2269
2419
|
}), null, 16, ["class", "label", "model-value", "onUpdate:modelValue", "onFocus", "onBlur", "onClear"]),
|
|
2270
|
-
oe(I("div",
|
|
2420
|
+
oe(I("div", Bl, [
|
|
2271
2421
|
I("ul", null, [
|
|
2272
2422
|
(m(!0), b(te, null, ne(e.historyParams.filterList, (o) => (m(), b("li", {
|
|
2273
2423
|
key: o.id,
|
|
2274
|
-
onMousedown: (
|
|
2424
|
+
onMousedown: (i) => e.onSelectItem(o)
|
|
2275
2425
|
}, [
|
|
2276
|
-
I("span",
|
|
2277
|
-
], 40,
|
|
2426
|
+
I("span", Zl, h(o.value), 1)
|
|
2427
|
+
], 40, Rl))), 128))
|
|
2278
2428
|
])
|
|
2279
2429
|
], 512), [
|
|
2280
2430
|
[re, e.historyParams.visible && e.historyParams.filterList.length]
|
|
2281
2431
|
])
|
|
2282
2432
|
], 4);
|
|
2283
2433
|
}
|
|
2284
|
-
const
|
|
2434
|
+
const Is = /* @__PURE__ */ R(Ul, [["render", Wl], ["__scopeId", "data-v-cd4f47bd"]]), xl = B({
|
|
2285
2435
|
name: "JQConfirm",
|
|
2286
2436
|
components: {
|
|
2287
2437
|
QPopupProxy: Ae,
|
|
2288
|
-
QCard:
|
|
2289
|
-
QCardSection:
|
|
2438
|
+
QCard: ke,
|
|
2439
|
+
QCardSection: Le
|
|
2290
2440
|
},
|
|
2291
2441
|
props: {
|
|
2292
2442
|
title: {
|
|
@@ -2318,25 +2468,25 @@ const ps = /* @__PURE__ */ Z($l, [["render", Pl], ["__scopeId", "data-v-cd4f47bd
|
|
|
2318
2468
|
computedCancelText: a
|
|
2319
2469
|
};
|
|
2320
2470
|
}
|
|
2321
|
-
}),
|
|
2322
|
-
function
|
|
2323
|
-
const
|
|
2324
|
-
return m(), b("div",
|
|
2471
|
+
}), Gl = { class: "inline-block" }, Fl = { class: "title" }, Hl = { class: "j-q-confirm-actions" };
|
|
2472
|
+
function Jl(e, t, n, l, r, a) {
|
|
2473
|
+
const s = N("q-card-section"), o = N("q-card"), i = N("q-popup-proxy");
|
|
2474
|
+
return m(), b("div", Gl, [
|
|
2325
2475
|
k(e.$slots, "default", {}, void 0, !0),
|
|
2326
|
-
j(
|
|
2476
|
+
j(i, { ref: "popupRef" }, {
|
|
2327
2477
|
default: D(() => [
|
|
2328
2478
|
j(o, {
|
|
2329
2479
|
class: "j-q-confirm",
|
|
2330
2480
|
flat: ""
|
|
2331
2481
|
}, {
|
|
2332
2482
|
default: D(() => [
|
|
2333
|
-
j(
|
|
2483
|
+
j(s, { class: "row items-center q-pa-none" }, {
|
|
2334
2484
|
default: D(() => [
|
|
2335
|
-
I("span",
|
|
2485
|
+
I("span", Fl, h(e.title), 1)
|
|
2336
2486
|
]),
|
|
2337
2487
|
_: 1
|
|
2338
2488
|
}),
|
|
2339
|
-
I("div",
|
|
2489
|
+
I("div", Hl, [
|
|
2340
2490
|
I("div", {
|
|
2341
2491
|
class: "j-q-confirm-btn j-q-confirm-btn--cancel",
|
|
2342
2492
|
onClick: t[0] || (t[0] = (...c) => e.handleCancel && e.handleCancel(...c))
|
|
@@ -2354,19 +2504,19 @@ function Rl(e, t, n, l, r, a) {
|
|
|
2354
2504
|
}, 512)
|
|
2355
2505
|
]);
|
|
2356
2506
|
}
|
|
2357
|
-
const
|
|
2507
|
+
const Ds = /* @__PURE__ */ R(xl, [["render", Jl], ["__scopeId", "data-v-0525ec02"]]), ye = "YYYY-MM-DD HH:mm:ss", Ke = (e) => {
|
|
2358
2508
|
if (e === null || typeof e > "u" || e === "") return null;
|
|
2359
2509
|
if (typeof e == "number") return new Date(e);
|
|
2360
2510
|
if (typeof e == "string" && /^\d+$/.test(e)) return new Date(Number(e));
|
|
2361
2511
|
if (e instanceof Date) return e;
|
|
2362
|
-
let t =
|
|
2363
|
-
return isNaN(t.getTime()) && (t =
|
|
2364
|
-
},
|
|
2512
|
+
let t = Z.extractDate(e, "YYYY-MM-DD");
|
|
2513
|
+
return isNaN(t.getTime()) && (t = Z.extractDate(e, ye)), isNaN(t.getTime()) ? null : t;
|
|
2514
|
+
}, Kl = B({
|
|
2365
2515
|
name: "JQDate",
|
|
2366
2516
|
components: {
|
|
2367
|
-
QField:
|
|
2517
|
+
QField: Oe,
|
|
2368
2518
|
QPopupProxy: Ae,
|
|
2369
|
-
QDate:
|
|
2519
|
+
QDate: wt,
|
|
2370
2520
|
QIcon: le
|
|
2371
2521
|
},
|
|
2372
2522
|
props: {
|
|
@@ -2393,44 +2543,44 @@ const fs = /* @__PURE__ */ Z(ql, [["render", Rl], ["__scopeId", "data-v-0525ec02
|
|
|
2393
2543
|
},
|
|
2394
2544
|
slots: Object,
|
|
2395
2545
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
2396
|
-
const r = T(!1), a = T(null), { t:
|
|
2546
|
+
const r = T(!1), a = T(null), { t: s } = X(), o = C({
|
|
2397
2547
|
get() {
|
|
2398
2548
|
const A = e.modelValue;
|
|
2399
2549
|
if (A == null || A === "")
|
|
2400
2550
|
return null;
|
|
2401
2551
|
if (e.range) {
|
|
2402
2552
|
if (typeof A == "object" && A !== null) {
|
|
2403
|
-
const Q = A.from, U = A.to, O =
|
|
2553
|
+
const Q = A.from, U = A.to, O = Ke(Q), $ = Ke(U);
|
|
2404
2554
|
if (O || $)
|
|
2405
2555
|
return {
|
|
2406
|
-
from: O ?
|
|
2407
|
-
to: $ ?
|
|
2556
|
+
from: O ? Z.formatDate(O, e.mask) : "",
|
|
2557
|
+
to: $ ? Z.formatDate($, e.mask) : ""
|
|
2408
2558
|
};
|
|
2409
2559
|
}
|
|
2410
2560
|
return null;
|
|
2411
2561
|
}
|
|
2412
|
-
const v =
|
|
2413
|
-
return v ?
|
|
2562
|
+
const v = Ke(A);
|
|
2563
|
+
return v ? Z.formatDate(v, e.mask) : A;
|
|
2414
2564
|
},
|
|
2415
2565
|
set(A) {
|
|
2416
2566
|
if (A) {
|
|
2417
2567
|
if (e.range && typeof A == "object" && A !== null) {
|
|
2418
2568
|
const v = A;
|
|
2419
2569
|
if (v.from && v.to) {
|
|
2420
|
-
const Q =
|
|
2421
|
-
|
|
2570
|
+
const Q = Z.extractDate(v.from, e.mask || "YYYY-MM-DD"), U = Z.extractDate(v.to, e.mask || "YYYY-MM-DD");
|
|
2571
|
+
Z.formatDate(Z.startOfDate(Q, "day"), ye), Z.formatDate(Z.endOfDate(U, "day"), ye);
|
|
2422
2572
|
}
|
|
2423
2573
|
} else if (!e.range && typeof A == "string") {
|
|
2424
|
-
const v =
|
|
2425
|
-
|
|
2574
|
+
const v = Z.extractDate(A, e.mask || "YYYY-MM-DD");
|
|
2575
|
+
Z.formatDate(Z.startOfDate(v, "day"), ye);
|
|
2426
2576
|
} else if (e.range && typeof A == "string") {
|
|
2427
|
-
const v =
|
|
2428
|
-
|
|
2577
|
+
const v = Z.extractDate(A, e.mask || "YYYY-MM-DD");
|
|
2578
|
+
Z.formatDate(Z.startOfDate(v, "day"), ye), Z.formatDate(Z.endOfDate(v, "day"), ye);
|
|
2429
2579
|
}
|
|
2430
2580
|
}
|
|
2431
2581
|
t("update:modelValue", A), A && (e.range || (r.value = !1));
|
|
2432
2582
|
}
|
|
2433
|
-
}),
|
|
2583
|
+
}), i = C(() => {
|
|
2434
2584
|
if (e.valueDisplayFn)
|
|
2435
2585
|
return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
2436
2586
|
const A = o.value;
|
|
@@ -2452,12 +2602,12 @@ const fs = /* @__PURE__ */ Z(ql, [["render", Rl], ["__scopeId", "data-v-0525ec02
|
|
|
2452
2602
|
d();
|
|
2453
2603
|
};
|
|
2454
2604
|
return n({ popupVisible: r }), {
|
|
2455
|
-
t:
|
|
2605
|
+
t: s,
|
|
2456
2606
|
fieldRef: a,
|
|
2457
2607
|
handleClear: d,
|
|
2458
2608
|
handleClearClick: p,
|
|
2459
2609
|
computedValue: o,
|
|
2460
|
-
computedValueDisplay:
|
|
2610
|
+
computedValueDisplay: i,
|
|
2461
2611
|
popupVisible: r,
|
|
2462
2612
|
hasPopupPrepend: c,
|
|
2463
2613
|
onHidePopup: M,
|
|
@@ -2466,12 +2616,12 @@ const fs = /* @__PURE__ */ Z(ql, [["render", Rl], ["__scopeId", "data-v-0525ec02
|
|
|
2466
2616
|
slots: l
|
|
2467
2617
|
};
|
|
2468
2618
|
}
|
|
2469
|
-
}),
|
|
2619
|
+
}), Xl = { class: "date-value-display" }, _l = {
|
|
2470
2620
|
key: 0,
|
|
2471
2621
|
class: "date-popup-prepend"
|
|
2472
2622
|
};
|
|
2473
|
-
function
|
|
2474
|
-
const
|
|
2623
|
+
function eo(e, t, n, l, r, a) {
|
|
2624
|
+
const s = N("q-date"), o = N("q-popup-proxy"), i = N("q-icon"), c = N("q-field");
|
|
2475
2625
|
return m(), Y(c, {
|
|
2476
2626
|
ref: "fieldRef",
|
|
2477
2627
|
class: V(["j-q-date", {
|
|
@@ -2492,10 +2642,10 @@ function Gl(e, t, n, l, r, a) {
|
|
|
2492
2642
|
onClear: e.handleClear
|
|
2493
2643
|
}, {
|
|
2494
2644
|
control: D(() => [
|
|
2495
|
-
I("div",
|
|
2645
|
+
I("div", Xl, h(e.computedValueDisplay), 1)
|
|
2496
2646
|
]),
|
|
2497
2647
|
append: D(() => [
|
|
2498
|
-
e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), Y(
|
|
2648
|
+
e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), Y(i, {
|
|
2499
2649
|
key: 0,
|
|
2500
2650
|
name: "app:clear",
|
|
2501
2651
|
class: "cursor-pointer q-field__focusable-action",
|
|
@@ -2518,10 +2668,10 @@ function Gl(e, t, n, l, r, a) {
|
|
|
2518
2668
|
class: "date-popup__inner",
|
|
2519
2669
|
style: H(e.popupInnerStyle)
|
|
2520
2670
|
}, [
|
|
2521
|
-
e.slots["popup-prepend"] ? (m(), b("div",
|
|
2671
|
+
e.slots["popup-prepend"] ? (m(), b("div", _l, [
|
|
2522
2672
|
k(e.$slots, "popup-prepend")
|
|
2523
2673
|
])) : E("", !0),
|
|
2524
|
-
j(
|
|
2674
|
+
j(s, {
|
|
2525
2675
|
modelValue: e.computedValue,
|
|
2526
2676
|
"onUpdate:modelValue": t[0] || (t[0] = (u) => e.computedValue = u),
|
|
2527
2677
|
minimal: "",
|
|
@@ -2539,9 +2689,9 @@ function Gl(e, t, n, l, r, a) {
|
|
|
2539
2689
|
_: 3
|
|
2540
2690
|
}, 8, ["class", "modelValue", "dense", "disable", "label", "outlined", "rules", "title", "onClear"]);
|
|
2541
2691
|
}
|
|
2542
|
-
const
|
|
2543
|
-
localStorage.setItem(
|
|
2544
|
-
}, Ie = "YYYY-MM-DD HH:mm:ss",
|
|
2692
|
+
const As = /* @__PURE__ */ R(Kl, [["render", eo]]), to = "rtcpt", Ot = `${to}_third_component_state`, Ct = () => localStorage.getItem(Ot), jt = (e) => {
|
|
2693
|
+
localStorage.setItem(Ot, e);
|
|
2694
|
+
}, Ie = "YYYY-MM-DD HH:mm:ss", Xe = "YYYY/MM/DD", no = (e, t) => Math.min(t, Math.max(0, Math.floor(e))), lo = (e, t) => {
|
|
2545
2695
|
const n = t + 1;
|
|
2546
2696
|
let l = e % n;
|
|
2547
2697
|
return l < 0 ? l + n : l;
|
|
@@ -2550,7 +2700,7 @@ const ys = /* @__PURE__ */ Z(Wl, [["render", Gl]]), Hl = "rtcpt", St = `${Hl}_th
|
|
|
2550
2700
|
let t = e;
|
|
2551
2701
|
if (typeof e == "string" && /^\d+$/.test(e) && (t = Number(e)), typeof t == "number") return new Date(t);
|
|
2552
2702
|
if (t instanceof Date) return t;
|
|
2553
|
-
const n =
|
|
2703
|
+
const n = Z.extractDate(t, Ie);
|
|
2554
2704
|
return isNaN(n.getTime()) ? null : n;
|
|
2555
2705
|
}, fe = (e) => {
|
|
2556
2706
|
const t = se(e);
|
|
@@ -2559,14 +2709,14 @@ const ys = /* @__PURE__ */ Z(Wl, [["render", Gl]]), Hl = "rtcpt", St = `${Hl}_th
|
|
|
2559
2709
|
if (!e) return null;
|
|
2560
2710
|
const n = e.replace(/\//g, "-"), l = `${String(t.h).padStart(2, "0")}:${String(t.m).padStart(2, "0")}:${String(t.s).padStart(2, "0")}`;
|
|
2561
2711
|
return `${n} ${l}`;
|
|
2562
|
-
},
|
|
2712
|
+
}, oo = B({
|
|
2563
2713
|
name: "JQDateTime",
|
|
2564
2714
|
components: {
|
|
2565
|
-
QField:
|
|
2715
|
+
QField: Oe,
|
|
2566
2716
|
QPopupProxy: Ae,
|
|
2567
|
-
QDate:
|
|
2568
|
-
QInput:
|
|
2569
|
-
|
|
2717
|
+
QDate: wt,
|
|
2718
|
+
QInput: Be,
|
|
2719
|
+
JQButton: Ee,
|
|
2570
2720
|
QIcon: le
|
|
2571
2721
|
},
|
|
2572
2722
|
props: {
|
|
@@ -2587,16 +2737,16 @@ const ys = /* @__PURE__ */ Z(Wl, [["render", Gl]]), Hl = "rtcpt", St = `${Hl}_th
|
|
|
2587
2737
|
emits: ["hide", "update:modelValue"],
|
|
2588
2738
|
slots: Object,
|
|
2589
2739
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
2590
|
-
const { t: r } = X(), a = T(!1),
|
|
2740
|
+
const { t: r } = X(), a = T(!1), s = T(null), o = T(!1), i = T(!1), c = () => ({
|
|
2591
2741
|
h: parseInt(e.endhhmmss[0], 10) || 0,
|
|
2592
2742
|
m: parseInt(e.endhhmmss[1], 10) || 0,
|
|
2593
2743
|
s: parseInt(e.endhhmmss[2], 10) || 0
|
|
2594
2744
|
}), u = T(!1);
|
|
2595
2745
|
let g = null;
|
|
2596
|
-
|
|
2746
|
+
ve(() => {
|
|
2597
2747
|
if (e.showTooltip)
|
|
2598
2748
|
try {
|
|
2599
|
-
const S =
|
|
2749
|
+
const S = Ct();
|
|
2600
2750
|
if (S) {
|
|
2601
2751
|
const y = JSON.parse(S);
|
|
2602
2752
|
u.value = y.datetimeTooltipVisible !== !1;
|
|
@@ -2611,55 +2761,55 @@ const ys = /* @__PURE__ */ Z(Wl, [["render", Gl]]), Hl = "rtcpt", St = `${Hl}_th
|
|
|
2611
2761
|
const M = () => {
|
|
2612
2762
|
u.value = !1, g && (clearTimeout(g), g = null);
|
|
2613
2763
|
try {
|
|
2614
|
-
const S =
|
|
2764
|
+
const S = Ct();
|
|
2615
2765
|
let y = S ? JSON.parse(S) : {};
|
|
2616
|
-
y.datetimeTooltipVisible = !1,
|
|
2766
|
+
y.datetimeTooltipVisible = !1, jt(JSON.stringify(y));
|
|
2617
2767
|
} catch {
|
|
2618
|
-
|
|
2768
|
+
jt(JSON.stringify({ datetimeTooltipVisible: !1 }));
|
|
2619
2769
|
}
|
|
2620
2770
|
}, d = T({ from: null, to: null }), p = T(""), A = De(fe(null)), v = De(fe(null)), Q = T(null), U = T(""), O = De(fe(null)), $ = C({
|
|
2621
2771
|
get: () => typeof e.modelValue == "string" && e.modelValue === "" ? null : e.modelValue,
|
|
2622
2772
|
set: (S) => t("update:modelValue", S)
|
|
2623
2773
|
}), f = () => {
|
|
2624
2774
|
if (o.value) return;
|
|
2625
|
-
|
|
2775
|
+
i.value = !0;
|
|
2626
2776
|
const S = $.value;
|
|
2627
2777
|
if (e.range) {
|
|
2628
2778
|
const y = S || { from: null, to: null }, z = se(y.from);
|
|
2629
2779
|
Object.assign(A, fe(y.from));
|
|
2630
|
-
const
|
|
2780
|
+
const G = z ? Z.formatDate(z, Xe) : "", J = se(y.to), _ = fe(y.to);
|
|
2631
2781
|
_.h === 0 && _.m === 0 && _.s === 0 && J ? Object.assign(v, c()) : Object.assign(v, _);
|
|
2632
|
-
const pe = J ?
|
|
2782
|
+
const pe = J ? Z.formatDate(J, Xe) : "";
|
|
2633
2783
|
d.value = {
|
|
2634
|
-
from: z ?
|
|
2784
|
+
from: z ? Z.formatDate(z, Ie) : null,
|
|
2635
2785
|
to: J ? ge(pe, v) : null
|
|
2636
|
-
}, p.value =
|
|
2786
|
+
}, p.value = G && pe ? { from: G, to: pe } : "";
|
|
2637
2787
|
} else {
|
|
2638
2788
|
const y = se(S);
|
|
2639
|
-
Object.assign(O, fe(S)), Q.value = y ?
|
|
2789
|
+
Object.assign(O, fe(S)), Q.value = y ? Z.formatDate(y, Ie) : null, U.value = y ? Z.formatDate(y, Xe) : "";
|
|
2640
2790
|
}
|
|
2641
|
-
|
|
2642
|
-
|
|
2791
|
+
de(() => {
|
|
2792
|
+
i.value = !1;
|
|
2643
2793
|
});
|
|
2644
2794
|
};
|
|
2645
|
-
|
|
2795
|
+
F(() => e.modelValue, f, { immediate: !0 }), F(
|
|
2646
2796
|
p,
|
|
2647
2797
|
(S, y) => {
|
|
2648
|
-
if (e.range && !
|
|
2798
|
+
if (e.range && !i.value)
|
|
2649
2799
|
if (typeof S == "object" && S !== null) {
|
|
2650
|
-
const z = S.from,
|
|
2651
|
-
if (y && typeof y == "object" && y !== null ? (z !== y.from && Object.assign(A, { h: 0, m: 0, s: 0 }),
|
|
2652
|
-
const J = ge(z, A), _ = ge(
|
|
2800
|
+
const z = S.from, G = S.to;
|
|
2801
|
+
if (y && typeof y == "object" && y !== null ? (z !== y.from && Object.assign(A, { h: 0, m: 0, s: 0 }), G !== y.to && Object.assign(v, c())) : (Object.assign(A, { h: 0, m: 0, s: 0 }), Object.assign(v, c())), z && G) {
|
|
2802
|
+
const J = ge(z, A), _ = ge(G, v);
|
|
2653
2803
|
if (d.value.from = J, d.value.to = _, J && _) {
|
|
2654
|
-
const pe = se(J),
|
|
2655
|
-
pe &&
|
|
2804
|
+
const pe = se(J), ft = se(_);
|
|
2805
|
+
pe && ft && pe.getTime() > ft.getTime() ? $.value = { from: _, to: J } : $.value = { from: J, to: _ };
|
|
2656
2806
|
}
|
|
2657
2807
|
}
|
|
2658
2808
|
} else typeof S == "string" && y && typeof y == "object" && (Object.assign(A, { h: 0, m: 0, s: 0 }), d.value.from = ge(S, A));
|
|
2659
2809
|
},
|
|
2660
2810
|
{ deep: !0 }
|
|
2661
|
-
),
|
|
2662
|
-
e.range || o.value ||
|
|
2811
|
+
), F(U, (S, y) => {
|
|
2812
|
+
e.range || o.value || i.value || (S !== y && Object.assign(O, { h: 0, m: 0, s: 0 }), Q.value = ge(S, O));
|
|
2663
2813
|
});
|
|
2664
2814
|
const L = (S) => {
|
|
2665
2815
|
if (S === "single")
|
|
@@ -2670,65 +2820,65 @@ const ys = /* @__PURE__ */ Z(Wl, [["render", Gl]]), Hl = "rtcpt", St = `${Hl}_th
|
|
|
2670
2820
|
typeof p.value == "object" && p.value !== null ? z = S === "from" ? p.value.from : p.value.to : S === "from" && typeof p.value == "string" && (z = p.value), z && (d.value[S] = ge(z, y));
|
|
2671
2821
|
}
|
|
2672
2822
|
};
|
|
2673
|
-
|
|
2823
|
+
F(
|
|
2674
2824
|
d,
|
|
2675
2825
|
(S) => {
|
|
2676
|
-
if (!(!e.range ||
|
|
2826
|
+
if (!(!e.range || i.value) && S.from && S.to) {
|
|
2677
2827
|
const y = se(S.from), z = se(S.to);
|
|
2678
2828
|
y && z && y.getTime() > z.getTime() ? $.value = { from: S.to, to: S.from } : $.value = S;
|
|
2679
2829
|
}
|
|
2680
2830
|
},
|
|
2681
2831
|
{ deep: !0 }
|
|
2682
|
-
),
|
|
2683
|
-
e.range ||
|
|
2832
|
+
), F(Q, (S) => {
|
|
2833
|
+
e.range || i.value || ($.value = S);
|
|
2684
2834
|
});
|
|
2685
|
-
const w = (S, y, z,
|
|
2835
|
+
const w = (S, y, z, G) => C({
|
|
2686
2836
|
get: () => String(S[y]).padStart(2, "0"),
|
|
2687
2837
|
set: (J) => {
|
|
2688
2838
|
let _ = parseInt(J, 10);
|
|
2689
|
-
isNaN(_) && (_ = 0), S[y] =
|
|
2839
|
+
isNaN(_) && (_ = 0), S[y] = no(_, z), L(G);
|
|
2690
2840
|
}
|
|
2691
|
-
}), P = w(A, "h", 23, "from"), q = w(A, "m", 59, "from"), x = w(A, "s", 59, "from"), K = w(v, "h", 23, "to"), ie = w(v, "m", 59, "to"),
|
|
2841
|
+
}), P = w(A, "h", 23, "from"), q = w(A, "m", 59, "from"), x = w(A, "s", 59, "from"), K = w(v, "h", 23, "to"), ie = w(v, "m", 59, "to"), ce = w(v, "s", 59, "to"), Ne = w(O, "h", 23, "single"), Ye = w(O, "m", 59, "single"), Re = w(O, "s", 59, "single"), Ze = () => a.value = !1, Ve = () => {
|
|
2692
2842
|
var S;
|
|
2693
|
-
o.value = !0, e.range ? (d.value = { from: null, to: null }, Object.assign(A, { h: 0, m: 0, s: 0 }), Object.assign(v, c()), p.value = { from: "", to: "" }) : (Q.value = null, Object.assign(O, { h: 0, m: 0, s: 0 }), U.value = ""), $.value = null, (S =
|
|
2694
|
-
},
|
|
2695
|
-
|
|
2696
|
-
},
|
|
2843
|
+
o.value = !0, e.range ? (d.value = { from: null, to: null }, Object.assign(A, { h: 0, m: 0, s: 0 }), Object.assign(v, c()), p.value = { from: "", to: "" }) : (Q.value = null, Object.assign(O, { h: 0, m: 0, s: 0 }), U.value = ""), $.value = null, (S = s.value) == null || S.blur(), a.value = !1, setTimeout(() => o.value = !1, 0);
|
|
2844
|
+
}, We = () => {
|
|
2845
|
+
Ve();
|
|
2846
|
+
}, xe = (S, y, z, G, J) => {
|
|
2697
2847
|
S.preventDefault();
|
|
2698
2848
|
const _ = S.deltaY > 0 ? -1 : 1;
|
|
2699
|
-
y[z] =
|
|
2700
|
-
},
|
|
2849
|
+
y[z] = lo(y[z] + _, G), L(J);
|
|
2850
|
+
}, Ge = C(() => {
|
|
2701
2851
|
if (e.valueDisplayFn) return String(e.valueDisplayFn(e.modelValue) ?? "");
|
|
2702
2852
|
if (e.range) {
|
|
2703
2853
|
const S = e.modelValue;
|
|
2704
2854
|
if (!S) return "";
|
|
2705
2855
|
const { from: y, to: z } = S;
|
|
2706
2856
|
if (!y || !z) return "";
|
|
2707
|
-
const
|
|
2708
|
-
if (
|
|
2857
|
+
const G = se(y), J = se(z);
|
|
2858
|
+
if (G && J) return `${Z.formatDate(G, Ie)} - ${Z.formatDate(J, Ie)}`;
|
|
2709
2859
|
} else {
|
|
2710
2860
|
const S = se(e.modelValue);
|
|
2711
|
-
if (S) return
|
|
2861
|
+
if (S) return Z.formatDate(S, Ie);
|
|
2712
2862
|
}
|
|
2713
2863
|
return "";
|
|
2714
|
-
}),
|
|
2864
|
+
}), Qe = () => {
|
|
2715
2865
|
e.disable || e.readonly || (f(), a.value = !0, u.value && (g && clearTimeout(g), g = setTimeout(() => {
|
|
2716
2866
|
M();
|
|
2717
2867
|
}, 2e3)));
|
|
2718
|
-
},
|
|
2868
|
+
}, Fe = (S) => {
|
|
2719
2869
|
t("hide", S);
|
|
2720
2870
|
};
|
|
2721
2871
|
return n({ popupVisible: a }), {
|
|
2722
2872
|
t: r,
|
|
2723
|
-
fieldRef:
|
|
2873
|
+
fieldRef: s,
|
|
2724
2874
|
popupVisible: a,
|
|
2725
|
-
handleClear:
|
|
2726
|
-
handleClearClick:
|
|
2727
|
-
handleFieldClick:
|
|
2728
|
-
handleConfirm:
|
|
2729
|
-
handleTimeWheel:
|
|
2875
|
+
handleClear: Ve,
|
|
2876
|
+
handleClearClick: We,
|
|
2877
|
+
handleFieldClick: Qe,
|
|
2878
|
+
handleConfirm: Ze,
|
|
2879
|
+
handleTimeWheel: xe,
|
|
2730
2880
|
computedValue: $,
|
|
2731
|
-
computedValueDisplay:
|
|
2881
|
+
computedValueDisplay: Ge,
|
|
2732
2882
|
currentRangeDate: p,
|
|
2733
2883
|
currentSingleDate: U,
|
|
2734
2884
|
fromH: P,
|
|
@@ -2736,28 +2886,28 @@ const ys = /* @__PURE__ */ Z(Wl, [["render", Gl]]), Hl = "rtcpt", St = `${Hl}_th
|
|
|
2736
2886
|
fromS: x,
|
|
2737
2887
|
toH: K,
|
|
2738
2888
|
toM: ie,
|
|
2739
|
-
toS:
|
|
2889
|
+
toS: ce,
|
|
2740
2890
|
singleH: Ne,
|
|
2741
|
-
singleM:
|
|
2742
|
-
singleS:
|
|
2891
|
+
singleM: Ye,
|
|
2892
|
+
singleS: Re,
|
|
2743
2893
|
fromTimeParts: A,
|
|
2744
2894
|
toTimeParts: v,
|
|
2745
2895
|
singleTimeParts: O,
|
|
2746
|
-
onHidePopup:
|
|
2896
|
+
onHidePopup: Fe,
|
|
2747
2897
|
slots: l,
|
|
2748
2898
|
showScrollTooltip: u,
|
|
2749
2899
|
closeTooltip: M
|
|
2750
2900
|
};
|
|
2751
2901
|
}
|
|
2752
|
-
}),
|
|
2902
|
+
}), ao = { class: "date-value-display" }, so = { class: "date-popup__inner date-datetime-range-popup" }, io = {
|
|
2753
2903
|
key: 0,
|
|
2754
2904
|
class: "date-popup-prepend"
|
|
2755
|
-
},
|
|
2905
|
+
}, ro = { class: "row no-wrap items-stretch" }, uo = { class: "column items-stretch justify-center date-time-control" }, co = {
|
|
2756
2906
|
key: 0,
|
|
2757
2907
|
class: "datetime-scroll-tooltip"
|
|
2758
|
-
},
|
|
2759
|
-
function
|
|
2760
|
-
const
|
|
2908
|
+
}, Mo = { class: "tooltip-content" }, go = { class: "row column q-mb-sm q-mt-auto" }, mo = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, po = { class: "row q-gutter-x-xs items-center" }, fo = { class: "row column q-mb-md" }, yo = { class: "fs-12 text-grey h-30 row items-center" }, Io = { class: "row q-gutter-x-xs items-center" }, Do = { class: "row column q-mb-sm q-mt-auto" }, Ao = { class: "fs-12 text-grey h-30 row items-center q-mt-sm" }, No = { class: "row q-gutter-x-xs items-center" };
|
|
2909
|
+
function Co(e, t, n, l, r, a) {
|
|
2910
|
+
const s = N("q-date"), o = N("q-icon"), i = N("q-input"), c = N("j-q-button"), u = N("q-popup-proxy"), g = N("q-field");
|
|
2761
2911
|
return m(), Y(g, {
|
|
2762
2912
|
ref: "fieldRef",
|
|
2763
2913
|
class: V(["j-q-datetime j-q-datetime-range", {
|
|
@@ -2777,7 +2927,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2777
2927
|
onClick: e.handleFieldClick
|
|
2778
2928
|
}, {
|
|
2779
2929
|
control: D(() => [
|
|
2780
|
-
I("div",
|
|
2930
|
+
I("div", ao, h(e.computedValueDisplay), 1)
|
|
2781
2931
|
]),
|
|
2782
2932
|
append: D(() => [
|
|
2783
2933
|
e.clearable && !e.readonly && !e.disable && e.computedValue ? (m(), Y(o, {
|
|
@@ -2799,23 +2949,23 @@ function fo(e, t, n, l, r, a) {
|
|
|
2799
2949
|
onHide: e.onHidePopup
|
|
2800
2950
|
}, {
|
|
2801
2951
|
default: D(() => [
|
|
2802
|
-
I("div",
|
|
2803
|
-
e.slots["popup-prepend"] ? (m(), b("div",
|
|
2952
|
+
I("div", so, [
|
|
2953
|
+
e.slots["popup-prepend"] ? (m(), b("div", io, [
|
|
2804
2954
|
k(e.$slots, "popup-prepend")
|
|
2805
2955
|
])) : E("", !0),
|
|
2806
|
-
I("div",
|
|
2807
|
-
j(
|
|
2956
|
+
I("div", ro, [
|
|
2957
|
+
j(s, {
|
|
2808
2958
|
"model-value": e.range ? e.currentRangeDate : e.currentSingleDate,
|
|
2809
2959
|
"onUpdate:modelValue": t[0] || (t[0] = (M) => e.range ? e.currentRangeDate = M : e.currentSingleDate = M),
|
|
2810
2960
|
minimal: "",
|
|
2811
2961
|
options: e.options,
|
|
2812
2962
|
range: e.range
|
|
2813
2963
|
}, null, 8, ["model-value", "options", "range"]),
|
|
2814
|
-
I("div",
|
|
2815
|
-
j(
|
|
2964
|
+
I("div", uo, [
|
|
2965
|
+
j(Zt, { name: "tooltip-fade" }, {
|
|
2816
2966
|
default: D(() => [
|
|
2817
|
-
e.showScrollTooltip ? (m(), b("div",
|
|
2818
|
-
I("div",
|
|
2967
|
+
e.showScrollTooltip ? (m(), b("div", co, [
|
|
2968
|
+
I("div", Mo, [
|
|
2819
2969
|
W(h(e.t("messages.date.scrollTooltip")) + " ", 1),
|
|
2820
2970
|
j(o, {
|
|
2821
2971
|
name: "close",
|
|
@@ -2830,10 +2980,10 @@ function fo(e, t, n, l, r, a) {
|
|
|
2830
2980
|
_: 1
|
|
2831
2981
|
}),
|
|
2832
2982
|
e.range ? (m(), b(te, { key: 0 }, [
|
|
2833
|
-
I("div",
|
|
2834
|
-
I("div",
|
|
2835
|
-
I("div",
|
|
2836
|
-
j(
|
|
2983
|
+
I("div", go, [
|
|
2984
|
+
I("div", mo, h(e.t("messages.date.start")), 1),
|
|
2985
|
+
I("div", po, [
|
|
2986
|
+
j(i, {
|
|
2837
2987
|
key: "fromH",
|
|
2838
2988
|
modelValue: e.fromH,
|
|
2839
2989
|
"onUpdate:modelValue": t[1] || (t[1] = (M) => e.fromH = M),
|
|
@@ -2845,7 +2995,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2845
2995
|
onWheel: t[2] || (t[2] = ee((M) => e.handleTimeWheel(M, e.fromTimeParts, "h", 23, "from"), ["prevent"]))
|
|
2846
2996
|
}, null, 8, ["modelValue", "label"]),
|
|
2847
2997
|
t[21] || (t[21] = I("div", { class: "text-caption" }, ":", -1)),
|
|
2848
|
-
j(
|
|
2998
|
+
j(i, {
|
|
2849
2999
|
key: "fromM",
|
|
2850
3000
|
modelValue: e.fromM,
|
|
2851
3001
|
"onUpdate:modelValue": t[3] || (t[3] = (M) => e.fromM = M),
|
|
@@ -2857,7 +3007,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2857
3007
|
onWheel: t[4] || (t[4] = ee((M) => e.handleTimeWheel(M, e.fromTimeParts, "m", 59, "from"), ["prevent"]))
|
|
2858
3008
|
}, null, 8, ["modelValue", "label"]),
|
|
2859
3009
|
t[22] || (t[22] = I("div", { class: "text-caption" }, ":", -1)),
|
|
2860
|
-
j(
|
|
3010
|
+
j(i, {
|
|
2861
3011
|
key: "fromS",
|
|
2862
3012
|
modelValue: e.fromS,
|
|
2863
3013
|
"onUpdate:modelValue": t[5] || (t[5] = (M) => e.fromS = M),
|
|
@@ -2870,10 +3020,10 @@ function fo(e, t, n, l, r, a) {
|
|
|
2870
3020
|
}, null, 8, ["modelValue", "label"])
|
|
2871
3021
|
])
|
|
2872
3022
|
]),
|
|
2873
|
-
I("div",
|
|
2874
|
-
I("div",
|
|
2875
|
-
I("div",
|
|
2876
|
-
j(
|
|
3023
|
+
I("div", fo, [
|
|
3024
|
+
I("div", yo, h(e.t("messages.date.end")), 1),
|
|
3025
|
+
I("div", Io, [
|
|
3026
|
+
j(i, {
|
|
2877
3027
|
key: "toH",
|
|
2878
3028
|
modelValue: e.toH,
|
|
2879
3029
|
"onUpdate:modelValue": t[7] || (t[7] = (M) => e.toH = M),
|
|
@@ -2885,7 +3035,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2885
3035
|
onWheel: t[8] || (t[8] = ee((M) => e.handleTimeWheel(M, e.toTimeParts, "h", 23, "to"), ["prevent"]))
|
|
2886
3036
|
}, null, 8, ["modelValue", "label"]),
|
|
2887
3037
|
t[23] || (t[23] = I("div", { class: "text-caption" }, ":", -1)),
|
|
2888
|
-
j(
|
|
3038
|
+
j(i, {
|
|
2889
3039
|
key: "toM",
|
|
2890
3040
|
modelValue: e.toM,
|
|
2891
3041
|
"onUpdate:modelValue": t[9] || (t[9] = (M) => e.toM = M),
|
|
@@ -2897,7 +3047,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2897
3047
|
onWheel: t[10] || (t[10] = ee((M) => e.handleTimeWheel(M, e.toTimeParts, "m", 59, "to"), ["prevent"]))
|
|
2898
3048
|
}, null, 8, ["modelValue", "label"]),
|
|
2899
3049
|
t[24] || (t[24] = I("div", { class: "text-caption" }, ":", -1)),
|
|
2900
|
-
j(
|
|
3050
|
+
j(i, {
|
|
2901
3051
|
key: "toS",
|
|
2902
3052
|
modelValue: e.toS,
|
|
2903
3053
|
"onUpdate:modelValue": t[11] || (t[11] = (M) => e.toS = M),
|
|
@@ -2911,10 +3061,10 @@ function fo(e, t, n, l, r, a) {
|
|
|
2911
3061
|
])
|
|
2912
3062
|
])
|
|
2913
3063
|
], 64)) : (m(), b(te, { key: 1 }, [
|
|
2914
|
-
I("div",
|
|
2915
|
-
I("div",
|
|
2916
|
-
I("div",
|
|
2917
|
-
j(
|
|
3064
|
+
I("div", Do, [
|
|
3065
|
+
I("div", Ao, h(e.t("messages.date.hour")) + "/" + h(e.t("messages.date.minute")) + "/" + h(e.t("messages.date.second")), 1),
|
|
3066
|
+
I("div", No, [
|
|
3067
|
+
j(i, {
|
|
2918
3068
|
key: "singleH",
|
|
2919
3069
|
modelValue: e.singleH,
|
|
2920
3070
|
"onUpdate:modelValue": t[13] || (t[13] = (M) => e.singleH = M),
|
|
@@ -2926,7 +3076,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2926
3076
|
onWheel: t[14] || (t[14] = ee((M) => e.handleTimeWheel(M, e.singleTimeParts, "h", 23, "single"), ["prevent"]))
|
|
2927
3077
|
}, null, 8, ["modelValue", "label"]),
|
|
2928
3078
|
t[25] || (t[25] = I("div", { class: "text-caption" }, ":", -1)),
|
|
2929
|
-
j(
|
|
3079
|
+
j(i, {
|
|
2930
3080
|
key: "singleM",
|
|
2931
3081
|
modelValue: e.singleM,
|
|
2932
3082
|
"onUpdate:modelValue": t[15] || (t[15] = (M) => e.singleM = M),
|
|
@@ -2938,7 +3088,7 @@ function fo(e, t, n, l, r, a) {
|
|
|
2938
3088
|
onWheel: t[16] || (t[16] = ee((M) => e.handleTimeWheel(M, e.singleTimeParts, "m", 59, "single"), ["prevent"]))
|
|
2939
3089
|
}, null, 8, ["modelValue", "label"]),
|
|
2940
3090
|
t[26] || (t[26] = I("div", { class: "text-caption" }, ":", -1)),
|
|
2941
|
-
j(
|
|
3091
|
+
j(i, {
|
|
2942
3092
|
key: "singleS",
|
|
2943
3093
|
modelValue: e.singleS,
|
|
2944
3094
|
"onUpdate:modelValue": t[17] || (t[17] = (M) => e.singleS = M),
|
|
@@ -2959,10 +3109,8 @@ function fo(e, t, n, l, r, a) {
|
|
|
2959
3109
|
j(c, {
|
|
2960
3110
|
label: e.t("messages.date.confirm"),
|
|
2961
3111
|
onClick: e.handleConfirm,
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
class: "q-mt-auto",
|
|
2965
|
-
"no-caps": ""
|
|
3112
|
+
type: "secondary",
|
|
3113
|
+
class: "q-mt-auto"
|
|
2966
3114
|
}, null, 8, ["label", "onClick"])
|
|
2967
3115
|
])
|
|
2968
3116
|
])
|
|
@@ -2974,24 +3122,24 @@ function fo(e, t, n, l, r, a) {
|
|
|
2974
3122
|
_: 3
|
|
2975
3123
|
}, 8, ["class", "model-value", "dense", "disable", "label", "outlined", "rules", "title", "onClick"]);
|
|
2976
3124
|
}
|
|
2977
|
-
const
|
|
2978
|
-
function
|
|
3125
|
+
const Ns = /* @__PURE__ */ R(oo, [["render", Co]]);
|
|
3126
|
+
function lt(e) {
|
|
2979
3127
|
return e === !1 ? !1 : e === 0 || String(e) === "0" || e ? e : "--";
|
|
2980
3128
|
}
|
|
2981
|
-
function
|
|
2982
|
-
const { size: t, unit: n = "B", maxUnit: l, numberFormatOptions: r } = e, { size: a, unit:
|
|
2983
|
-
return `${a.toLocaleString(void 0, r)} ${
|
|
3129
|
+
function Et(e) {
|
|
3130
|
+
const { size: t, unit: n = "B", maxUnit: l, numberFormatOptions: r } = e, { size: a, unit: s } = $e({ size: t, unit: n }, { maxUnit: l });
|
|
3131
|
+
return `${a.toLocaleString(void 0, r)} ${s}`;
|
|
2984
3132
|
}
|
|
2985
|
-
function
|
|
3133
|
+
function $e(e, t) {
|
|
2986
3134
|
const n = ["B", "KB", "MB", "GB", "TB"], { size: l, unit: r = "B" } = e, a = n.indexOf(r);
|
|
2987
3135
|
if (a === -1 || a === n.length - 1) return { size: l, unit: r };
|
|
2988
|
-
const
|
|
2989
|
-
return a === o ? { size: l, unit: r } : l < 1024 ? { size: l, unit: r } :
|
|
3136
|
+
const s = (t == null ? void 0 : t.maxUnit) || "TB", o = n.indexOf(s);
|
|
3137
|
+
return a === o ? { size: l, unit: r } : l < 1024 ? { size: l, unit: r } : $e({ size: l / 1024, unit: n[a + 1] }, t);
|
|
2990
3138
|
}
|
|
2991
|
-
function
|
|
3139
|
+
function mt(e, t = "--") {
|
|
2992
3140
|
return (n, l) => n === 0 || n === "0" ? e ? e(n, l) : n : n ? e ? e(n, l) : n.toString() : t;
|
|
2993
3141
|
}
|
|
2994
|
-
function
|
|
3142
|
+
function $t(e) {
|
|
2995
3143
|
if (e == null)
|
|
2996
3144
|
return null;
|
|
2997
3145
|
if (e instanceof Date)
|
|
@@ -3008,29 +3156,29 @@ function kt(e) {
|
|
|
3008
3156
|
}
|
|
3009
3157
|
return e;
|
|
3010
3158
|
}
|
|
3011
|
-
function
|
|
3012
|
-
const n =
|
|
3013
|
-
return
|
|
3159
|
+
function Te(e, t = "YYYY-MM-DD HH:mm:ss") {
|
|
3160
|
+
const n = $t(e);
|
|
3161
|
+
return lt(n ? Z.formatDate(n, t) : e);
|
|
3014
3162
|
}
|
|
3015
|
-
function
|
|
3163
|
+
function jo(e = "YYYY-MM-DD HH:mm:ss", t = "--") {
|
|
3016
3164
|
return (n, l) => {
|
|
3017
3165
|
if (n === 0 || n === "0")
|
|
3018
3166
|
return String(n);
|
|
3019
|
-
const r =
|
|
3167
|
+
const r = $t(n);
|
|
3020
3168
|
if (!n || n === "Invalid Date")
|
|
3021
3169
|
return t;
|
|
3022
3170
|
try {
|
|
3023
|
-
const a =
|
|
3171
|
+
const a = Z.formatDate(r, e);
|
|
3024
3172
|
return !a || a === "Invalid Date" ? t : a;
|
|
3025
3173
|
} catch (a) {
|
|
3026
3174
|
return console.error("Date formatting failed:", a), t;
|
|
3027
3175
|
}
|
|
3028
3176
|
};
|
|
3029
3177
|
}
|
|
3030
|
-
function
|
|
3031
|
-
return
|
|
3178
|
+
function zo(e = "--", t) {
|
|
3179
|
+
return mt((l) => {
|
|
3032
3180
|
const r = typeof l == "string" ? Number(l) : l;
|
|
3033
|
-
return Number.isFinite(r) ?
|
|
3181
|
+
return Number.isFinite(r) ? Et({
|
|
3034
3182
|
size: r,
|
|
3035
3183
|
unit: (t == null ? void 0 : t.unit) || "B",
|
|
3036
3184
|
numberFormatOptions: {
|
|
@@ -3040,36 +3188,36 @@ function Io(e = "--", t) {
|
|
|
3040
3188
|
}) : l;
|
|
3041
3189
|
}, e);
|
|
3042
3190
|
}
|
|
3043
|
-
function
|
|
3044
|
-
return
|
|
3191
|
+
function bo(e = "--", t) {
|
|
3192
|
+
return mt((l) => {
|
|
3045
3193
|
const r = ["B", "KB", "MB", "GB", "TB"];
|
|
3046
|
-
let a = typeof l == "string" ? Number(l) : l,
|
|
3194
|
+
let a = typeof l == "string" ? Number(l) : l, s = (t == null ? void 0 : t.unit) || "B";
|
|
3047
3195
|
const o = (t == null ? void 0 : t.digits) ?? 2;
|
|
3048
3196
|
if (a === 0)
|
|
3049
|
-
return `${a.toFixed(o)} ${
|
|
3050
|
-
let
|
|
3051
|
-
for (
|
|
3052
|
-
a = a / 1024,
|
|
3053
|
-
return `${a.toFixed(o)} ${
|
|
3197
|
+
return `${a.toFixed(o)} ${s}`;
|
|
3198
|
+
let i = r.indexOf(s);
|
|
3199
|
+
for (i === -1 && (i = 0, s = "B"); i < r.length - 1 && a % 1024 === 0; )
|
|
3200
|
+
a = a / 1024, i++, s = r[i];
|
|
3201
|
+
return `${a.toFixed(o)} ${s}`;
|
|
3054
3202
|
}, e);
|
|
3055
3203
|
}
|
|
3056
|
-
const
|
|
3204
|
+
const To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3057
3205
|
__proto__: null,
|
|
3058
|
-
defaultAutoDataFormat:
|
|
3059
|
-
defaultDataFormat:
|
|
3060
|
-
defaultDateFormat:
|
|
3061
|
-
defaultFill:
|
|
3062
|
-
defaultFormat:
|
|
3063
|
-
formatDate:
|
|
3064
|
-
formatSize:
|
|
3065
|
-
getUpperSize:
|
|
3066
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3206
|
+
defaultAutoDataFormat: bo,
|
|
3207
|
+
defaultDataFormat: zo,
|
|
3208
|
+
defaultDateFormat: jo,
|
|
3209
|
+
defaultFill: lt,
|
|
3210
|
+
defaultFormat: mt,
|
|
3211
|
+
formatDate: Te,
|
|
3212
|
+
formatSize: Et,
|
|
3213
|
+
getUpperSize: $e
|
|
3214
|
+
}, Symbol.toStringTag, { value: "Module" })), ho = B({
|
|
3067
3215
|
name: "JQDetailList",
|
|
3068
3216
|
components: {
|
|
3069
|
-
JQTooltip:
|
|
3070
|
-
JCCopy:
|
|
3217
|
+
JQTooltip: gt,
|
|
3218
|
+
JCCopy: sn,
|
|
3071
3219
|
QIcon: le,
|
|
3072
|
-
QTooltip:
|
|
3220
|
+
QTooltip: Se
|
|
3073
3221
|
},
|
|
3074
3222
|
props: {
|
|
3075
3223
|
items: {
|
|
@@ -3097,7 +3245,7 @@ const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3097
3245
|
setup(e, { slots: t }) {
|
|
3098
3246
|
const n = (d) => d.visible === void 0 || d.visible === null ? !0 : typeof d.visible == "boolean" ? d.visible : typeof d.visible == "function" ? d.visible(e.data) : !0, l = C(() => e.items.filter((d) => n(d))), r = C(() => e.layout === "horizontal-left" ? {
|
|
3099
3247
|
"--label-width": e.labelWidth
|
|
3100
|
-
} : {}), a = C(() => e.items.filter((d) => Reflect.has(t, `item-value-${d.name}`))),
|
|
3248
|
+
} : {}), a = C(() => e.items.filter((d) => Reflect.has(t, `item-value-${d.name}`))), s = (d, p) => {
|
|
3101
3249
|
const { options: A, findByKey: v, displayKey: Q = "label" } = d;
|
|
3102
3250
|
if (!A || !v)
|
|
3103
3251
|
return p;
|
|
@@ -3107,14 +3255,14 @@ const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3107
3255
|
let p = e.data[d.name];
|
|
3108
3256
|
if (p == null || p === "")
|
|
3109
3257
|
return "--";
|
|
3110
|
-
if (d.options && d.findByKey && (p =
|
|
3258
|
+
if (d.options && d.findByKey && (p = s(d, p)), d.format && typeof d.format == "function" && (p = d.format(p, e.data)), d.date) {
|
|
3111
3259
|
if (d.date === !0 && typeof d.date == "boolean")
|
|
3112
|
-
return
|
|
3260
|
+
return Te(p);
|
|
3113
3261
|
if (typeof d.date == "string")
|
|
3114
|
-
return
|
|
3262
|
+
return Te(p, d.date);
|
|
3115
3263
|
}
|
|
3116
3264
|
return String(p);
|
|
3117
|
-
},
|
|
3265
|
+
}, i = (d) => {
|
|
3118
3266
|
let p = e.data[d.name];
|
|
3119
3267
|
const { options: A, findByKey: v } = d;
|
|
3120
3268
|
if (!A || !v)
|
|
@@ -3124,22 +3272,22 @@ const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3124
3272
|
}, c = (d) => d.onClick ? d.clickable === void 0 || d.clickable === null ? !0 : typeof d.clickable == "boolean" ? d.clickable : typeof d.clickable == "function" ? d.clickable(e.data) : !1 : !1;
|
|
3125
3273
|
return {
|
|
3126
3274
|
visibleItems: l,
|
|
3127
|
-
getOptionClass:
|
|
3275
|
+
getOptionClass: i,
|
|
3128
3276
|
computedSlotItems: a,
|
|
3129
3277
|
getDefaultValue: o,
|
|
3130
3278
|
getCopyValue: (d) => {
|
|
3131
3279
|
let p = e.data[d.name];
|
|
3132
3280
|
if (p == null || p === "")
|
|
3133
3281
|
return "";
|
|
3134
|
-
if (d.options && d.findByKey && (p =
|
|
3282
|
+
if (d.options && d.findByKey && (p = s(d, p)), d.format && typeof d.format == "function" && (p = d.format(p, e.data), typeof p == "string" && p.includes("<"))) {
|
|
3135
3283
|
const A = document.createElement("div");
|
|
3136
3284
|
A.innerHTML = p, p = A.textContent || A.innerText || "";
|
|
3137
3285
|
}
|
|
3138
3286
|
if (d.date) {
|
|
3139
3287
|
if (d.date === !0 && typeof d.date == "boolean")
|
|
3140
|
-
return
|
|
3288
|
+
return Te(p);
|
|
3141
3289
|
if (typeof d.date == "string")
|
|
3142
|
-
return
|
|
3290
|
+
return Te(p, d.date);
|
|
3143
3291
|
}
|
|
3144
3292
|
return String(p);
|
|
3145
3293
|
},
|
|
@@ -3156,18 +3304,18 @@ const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3156
3304
|
})
|
|
3157
3305
|
};
|
|
3158
3306
|
}
|
|
3159
|
-
}),
|
|
3307
|
+
}), wo = { class: "q-mb-xs text-grey text-caption row items-center" }, vo = ["onClick"], So = ["innerHTML"], Lo = {
|
|
3160
3308
|
key: 0,
|
|
3161
3309
|
class: "detail-value-suffix q-ml-xs"
|
|
3162
|
-
},
|
|
3310
|
+
}, ko = { class: "item item-between" }, Oo = { class: "label row items-center" }, Eo = { class: "value-wrapper row items-center no-wrap" }, $o = ["onClick"], Yo = ["innerHTML"], Vo = {
|
|
3163
3311
|
key: 0,
|
|
3164
3312
|
class: "value-suffix q-ml-xs"
|
|
3165
|
-
},
|
|
3313
|
+
}, Qo = { class: "item item-left" }, Po = { class: "label row items-center" }, qo = { class: "value-wrapper row items-center no-wrap" }, Uo = ["onClick"], Bo = ["innerHTML"], Ro = {
|
|
3166
3314
|
key: 0,
|
|
3167
3315
|
class: "value-suffix q-ml-xs"
|
|
3168
3316
|
};
|
|
3169
|
-
function
|
|
3170
|
-
const
|
|
3317
|
+
function Zo(e, t, n, l, r, a) {
|
|
3318
|
+
const s = N("q-tooltip"), o = N("q-icon"), i = N("j-q-tooltip"), c = N("j-c-copy");
|
|
3171
3319
|
return e.layout === "vertical" ? (m(), b("div", {
|
|
3172
3320
|
key: 0,
|
|
3173
3321
|
class: V(["row", e.gutter])
|
|
@@ -3176,7 +3324,7 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3176
3324
|
key: u.name,
|
|
3177
3325
|
class: V([[`col-${u.span || 6}`], "detail-item-container"])
|
|
3178
3326
|
}, [
|
|
3179
|
-
I("div",
|
|
3327
|
+
I("div", wo, [
|
|
3180
3328
|
W(h(u.label) + " ", 1),
|
|
3181
3329
|
u.tip ? (m(), Y(o, {
|
|
3182
3330
|
key: 0,
|
|
@@ -3185,7 +3333,7 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3185
3333
|
class: "q-ml-xs tip-icon"
|
|
3186
3334
|
}, {
|
|
3187
3335
|
default: D(() => [
|
|
3188
|
-
j(
|
|
3336
|
+
j(s, {
|
|
3189
3337
|
class: "j-q-tooltip-content",
|
|
3190
3338
|
anchor: "top middle",
|
|
3191
3339
|
self: "bottom middle",
|
|
@@ -3219,14 +3367,14 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3219
3367
|
innerHTML: e.getDefaultValue(u),
|
|
3220
3368
|
class: V([e.getOptionClass(u), "html-content"]),
|
|
3221
3369
|
style: H(e.getHtmlStyle(u))
|
|
3222
|
-
}, null, 14,
|
|
3370
|
+
}, null, 14, So)) : (m(), Y(i, {
|
|
3223
3371
|
key: 2,
|
|
3224
3372
|
content: e.getDefaultValue(u),
|
|
3225
3373
|
lines: u.whiteSpace || 1,
|
|
3226
3374
|
class: V(e.getOptionClass(u))
|
|
3227
3375
|
}, null, 8, ["content", "lines", "class"]))
|
|
3228
|
-
], 10,
|
|
3229
|
-
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div",
|
|
3376
|
+
], 10, vo),
|
|
3377
|
+
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Lo, [
|
|
3230
3378
|
e.slots[`item-suffix-${u.name}`] ? k(e.$slots, `item-suffix-${u.name}`, {
|
|
3231
3379
|
key: 0,
|
|
3232
3380
|
value: e.data[u.name],
|
|
@@ -3248,8 +3396,8 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3248
3396
|
key: u.name,
|
|
3249
3397
|
class: V([`col-${u.span || 6}`])
|
|
3250
3398
|
}, [
|
|
3251
|
-
I("div",
|
|
3252
|
-
I("div",
|
|
3399
|
+
I("div", ko, [
|
|
3400
|
+
I("div", Oo, [
|
|
3253
3401
|
W(h(u.label) + " ", 1),
|
|
3254
3402
|
u.tip ? (m(), Y(o, {
|
|
3255
3403
|
key: 0,
|
|
@@ -3258,7 +3406,7 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3258
3406
|
class: "q-ml-xs tip-icon"
|
|
3259
3407
|
}, {
|
|
3260
3408
|
default: D(() => [
|
|
3261
|
-
j(
|
|
3409
|
+
j(s, {
|
|
3262
3410
|
anchor: "top middle",
|
|
3263
3411
|
self: "bottom middle",
|
|
3264
3412
|
offset: [10, 10],
|
|
@@ -3273,7 +3421,7 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3273
3421
|
_: 2
|
|
3274
3422
|
}, 1024)) : E("", !0)
|
|
3275
3423
|
]),
|
|
3276
|
-
I("div",
|
|
3424
|
+
I("div", Eo, [
|
|
3277
3425
|
I("div", {
|
|
3278
3426
|
class: V(["value", { clickable: e.isClickable(u) }]),
|
|
3279
3427
|
onClick: (g) => e.handleClick(u)
|
|
@@ -3289,14 +3437,14 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3289
3437
|
innerHTML: e.getDefaultValue(u),
|
|
3290
3438
|
class: V([e.getOptionClass(u), "html-content"]),
|
|
3291
3439
|
style: H(e.getHtmlStyle(u))
|
|
3292
|
-
}, null, 14,
|
|
3440
|
+
}, null, 14, Yo)) : (m(), Y(i, {
|
|
3293
3441
|
key: 2,
|
|
3294
3442
|
content: e.getDefaultValue(u),
|
|
3295
3443
|
lines: u.whiteSpace || 1,
|
|
3296
3444
|
class: V(e.getOptionClass(u))
|
|
3297
3445
|
}, null, 8, ["content", "lines", "class"]))
|
|
3298
|
-
], 10,
|
|
3299
|
-
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div",
|
|
3446
|
+
], 10, $o),
|
|
3447
|
+
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Vo, [
|
|
3300
3448
|
e.slots[`item-suffix-${u.name}`] ? k(e.$slots, `item-suffix-${u.name}`, {
|
|
3301
3449
|
key: 0,
|
|
3302
3450
|
value: e.data[u.name],
|
|
@@ -3320,8 +3468,8 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3320
3468
|
key: u.name,
|
|
3321
3469
|
class: V([`col-${u.span || 6}`])
|
|
3322
3470
|
}, [
|
|
3323
|
-
I("div",
|
|
3324
|
-
I("div",
|
|
3471
|
+
I("div", Qo, [
|
|
3472
|
+
I("div", Po, [
|
|
3325
3473
|
W(h(u.label) + " ", 1),
|
|
3326
3474
|
u.tip ? (m(), Y(o, {
|
|
3327
3475
|
key: 0,
|
|
@@ -3330,7 +3478,7 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3330
3478
|
class: "q-ml-xs tip-icon"
|
|
3331
3479
|
}, {
|
|
3332
3480
|
default: D(() => [
|
|
3333
|
-
j(
|
|
3481
|
+
j(s, {
|
|
3334
3482
|
anchor: "top middle",
|
|
3335
3483
|
self: "bottom middle",
|
|
3336
3484
|
offset: [10, 10],
|
|
@@ -3345,7 +3493,7 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3345
3493
|
_: 2
|
|
3346
3494
|
}, 1024)) : E("", !0)
|
|
3347
3495
|
]),
|
|
3348
|
-
I("div",
|
|
3496
|
+
I("div", qo, [
|
|
3349
3497
|
I("div", {
|
|
3350
3498
|
class: V(["value", { clickable: e.isClickable(u) }]),
|
|
3351
3499
|
onClick: (g) => e.handleClick(u)
|
|
@@ -3361,14 +3509,14 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3361
3509
|
innerHTML: e.getDefaultValue(u),
|
|
3362
3510
|
class: V([e.getOptionClass(u), "html-content"]),
|
|
3363
3511
|
style: H(e.getHtmlStyle(u))
|
|
3364
|
-
}, null, 14,
|
|
3512
|
+
}, null, 14, Bo)) : (m(), Y(i, {
|
|
3365
3513
|
key: 2,
|
|
3366
3514
|
content: e.getDefaultValue(u),
|
|
3367
3515
|
lines: u.whiteSpace || 1,
|
|
3368
3516
|
class: V(e.getOptionClass(u))
|
|
3369
3517
|
}, null, 8, ["content", "lines", "class"]))
|
|
3370
|
-
], 10,
|
|
3371
|
-
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div",
|
|
3518
|
+
], 10, Uo),
|
|
3519
|
+
u.copy || e.slots[`item-suffix-${u.name}`] ? (m(), b("div", Ro, [
|
|
3372
3520
|
e.slots[`item-suffix-${u.name}`] ? k(e.$slots, `item-suffix-${u.name}`, {
|
|
3373
3521
|
key: 0,
|
|
3374
3522
|
value: e.data[u.name],
|
|
@@ -3385,12 +3533,12 @@ function Qo(e, t, n, l, r, a) {
|
|
|
3385
3533
|
], 2))), 128))
|
|
3386
3534
|
], 6)) : E("", !0);
|
|
3387
3535
|
}
|
|
3388
|
-
const
|
|
3536
|
+
const Cs = /* @__PURE__ */ R(ho, [["render", Zo], ["__scopeId", "data-v-dd8b449a"]]), Wo = B({
|
|
3389
3537
|
name: "JQFile",
|
|
3390
3538
|
components: {
|
|
3391
|
-
QField:
|
|
3539
|
+
QField: Oe,
|
|
3392
3540
|
QIcon: le,
|
|
3393
|
-
QBtn:
|
|
3541
|
+
QBtn: Ue
|
|
3394
3542
|
},
|
|
3395
3543
|
props: {
|
|
3396
3544
|
modelValue: { type: Array },
|
|
@@ -3406,25 +3554,25 @@ const Ds = /* @__PURE__ */ Z(No, [["render", Qo], ["__scopeId", "data-v-dd8b449a
|
|
|
3406
3554
|
},
|
|
3407
3555
|
slots: Object,
|
|
3408
3556
|
setup(e, { emit: t, slots: n }) {
|
|
3409
|
-
const { t: l } = X(), r = T(null), a = T(e.modelValue ?? []),
|
|
3557
|
+
const { t: l } = X(), r = T(null), a = T(e.modelValue ?? []), s = C({
|
|
3410
3558
|
get() {
|
|
3411
3559
|
return e.modelValue ?? a.value ?? [];
|
|
3412
3560
|
},
|
|
3413
3561
|
set(f) {
|
|
3414
3562
|
t("update:modelValue", f), a.value = f;
|
|
3415
3563
|
}
|
|
3416
|
-
}), o = T(!1),
|
|
3417
|
-
const L =
|
|
3564
|
+
}), o = T(!1), i = C(() => Number(e.maxlength) || 0), c = C(() => i.value > 0 && i.value <= s.value.length), u = (f) => f != null && f.length ? Array.from(f) : [], g = async (f) => {
|
|
3565
|
+
const L = s.value.length, w = i.value - L;
|
|
3418
3566
|
let P = [...f];
|
|
3419
|
-
if (
|
|
3420
|
-
|
|
3567
|
+
if (i.value > 0 && w <= 0) {
|
|
3568
|
+
qe.show({ type: "error", content: l("messages.jQFile.maxlength", { count: i.value }) });
|
|
3421
3569
|
return;
|
|
3422
3570
|
}
|
|
3423
|
-
if (
|
|
3571
|
+
if (i.value > 0 && P.length > w && (P = P.slice(0, w)), e.beforeHandle) {
|
|
3424
3572
|
const q = await e.beforeHandle(P);
|
|
3425
|
-
q && (
|
|
3573
|
+
q && (s.value = [...s.value, ...q]);
|
|
3426
3574
|
} else
|
|
3427
|
-
|
|
3575
|
+
s.value = [...s.value, ...P];
|
|
3428
3576
|
}, M = () => {
|
|
3429
3577
|
var f;
|
|
3430
3578
|
(f = r.value) == null || f.click();
|
|
@@ -3443,17 +3591,17 @@ const Ds = /* @__PURE__ */ Z(No, [["render", Qo], ["__scopeId", "data-v-dd8b449a
|
|
|
3443
3591
|
}, Q = () => {
|
|
3444
3592
|
o.value = !1;
|
|
3445
3593
|
}, U = (f) => {
|
|
3446
|
-
const { size: L, unit: w } =
|
|
3594
|
+
const { size: L, unit: w } = $e({ size: f.size });
|
|
3447
3595
|
return `${L.toLocaleString()} ${w}`;
|
|
3448
3596
|
}, O = (f, L) => {
|
|
3449
|
-
const w = [...
|
|
3450
|
-
w.splice(L, 1),
|
|
3597
|
+
const w = [...s.value];
|
|
3598
|
+
w.splice(L, 1), s.value = w;
|
|
3451
3599
|
}, $ = C(() => Reflect.has(n, "hint"));
|
|
3452
3600
|
return {
|
|
3453
3601
|
t: l,
|
|
3454
3602
|
fileInputRef: r,
|
|
3455
|
-
computedValue:
|
|
3456
|
-
computedMaxlength:
|
|
3603
|
+
computedValue: s,
|
|
3604
|
+
computedMaxlength: i,
|
|
3457
3605
|
isDragging: o,
|
|
3458
3606
|
isMaxlength: c,
|
|
3459
3607
|
browseFile: M,
|
|
@@ -3467,17 +3615,17 @@ const Ds = /* @__PURE__ */ Z(No, [["render", Qo], ["__scopeId", "data-v-dd8b449a
|
|
|
3467
3615
|
hasSlotHint: $
|
|
3468
3616
|
};
|
|
3469
3617
|
}
|
|
3470
|
-
}),
|
|
3618
|
+
}), xo = { class: "j-q-file" }, Go = { class: "fs-14 q-mt-sm" }, Fo = { class: "text-grey fs-12 q-mt-xs" }, Ho = { class: "file-filers" }, Jo = { class: "filer-content" }, Ko = ["title"], Xo = {
|
|
3471
3619
|
key: 0,
|
|
3472
3620
|
class: "filer-size"
|
|
3473
|
-
},
|
|
3621
|
+
}, _o = ["accept", "multiple"], ea = {
|
|
3474
3622
|
key: 0,
|
|
3475
3623
|
class: "file-hint"
|
|
3476
3624
|
};
|
|
3477
|
-
function
|
|
3478
|
-
const
|
|
3479
|
-
return m(), b("div",
|
|
3480
|
-
j(
|
|
3625
|
+
function ta(e, t, n, l, r, a) {
|
|
3626
|
+
const s = N("q-icon"), o = N("q-btn"), i = N("q-field");
|
|
3627
|
+
return m(), b("div", xo, [
|
|
3628
|
+
j(i, {
|
|
3481
3629
|
modelValue: e.computedValue,
|
|
3482
3630
|
"onUpdate:modelValue": t[6] || (t[6] = (c) => e.computedValue = c),
|
|
3483
3631
|
borderless: "",
|
|
@@ -3496,29 +3644,29 @@ function Ho(e, t, n, l, r, a) {
|
|
|
3496
3644
|
onDrop: t[3] || (t[3] = ee((...c) => e.dropFile && e.dropFile(...c), ["prevent"])),
|
|
3497
3645
|
onClick: t[4] || (t[4] = (...c) => e.browseFile && e.browseFile(...c))
|
|
3498
3646
|
}, [
|
|
3499
|
-
j(
|
|
3647
|
+
j(s, {
|
|
3500
3648
|
class: "action-icon",
|
|
3501
3649
|
name: "app:upload",
|
|
3502
3650
|
size: "32px"
|
|
3503
3651
|
}),
|
|
3504
|
-
I("p",
|
|
3505
|
-
I("p",
|
|
3652
|
+
I("p", Go, h(e.t("messages.jQFile.click_or_drag_file")), 1),
|
|
3653
|
+
I("p", Fo, h(e.t("messages.jQFile.file_type_is", { type: e.accept.split(",").join(" ") })) + ", " + h(e.t("messages.jQFile.max_file_size", {
|
|
3506
3654
|
size: e.maxFileSize
|
|
3507
3655
|
})), 1)
|
|
3508
3656
|
], 34), [
|
|
3509
3657
|
[re, e.computedValue.length !== Number(e.maxlength)]
|
|
3510
3658
|
]),
|
|
3511
|
-
oe(I("ul",
|
|
3659
|
+
oe(I("ul", Ho, [
|
|
3512
3660
|
(m(!0), b(te, null, ne(e.computedValue, (c, u) => (m(), b("li", {
|
|
3513
3661
|
key: u,
|
|
3514
3662
|
class: "filer-item"
|
|
3515
3663
|
}, [
|
|
3516
|
-
I("div",
|
|
3664
|
+
I("div", Jo, [
|
|
3517
3665
|
I("div", {
|
|
3518
3666
|
class: "filer-name text-black",
|
|
3519
3667
|
title: c.name
|
|
3520
|
-
}, h(c.name), 9,
|
|
3521
|
-
c.size ? (m(), b("div",
|
|
3668
|
+
}, h(c.name), 9, Ko),
|
|
3669
|
+
c.size ? (m(), b("div", Xo, h(e.getFileSizeDisplay(c)), 1)) : E("", !0)
|
|
3522
3670
|
]),
|
|
3523
3671
|
j(o, {
|
|
3524
3672
|
class: "filer-remove",
|
|
@@ -3541,21 +3689,21 @@ function Ho(e, t, n, l, r, a) {
|
|
|
3541
3689
|
multiple: !e.computedMaxlength || 1 < e.computedMaxlength - e.computedValue.length,
|
|
3542
3690
|
type: "file",
|
|
3543
3691
|
onChange: t[5] || (t[5] = (...c) => e.inputFile && e.inputFile(...c))
|
|
3544
|
-
}, null, 40,
|
|
3692
|
+
}, null, 40, _o), [
|
|
3545
3693
|
[re, !1]
|
|
3546
3694
|
])
|
|
3547
3695
|
]),
|
|
3548
3696
|
_: 1
|
|
3549
3697
|
}, 8, ["modelValue", "disable", "rules"]),
|
|
3550
|
-
e.hasSlotHint ? (m(), b("div",
|
|
3698
|
+
e.hasSlotHint ? (m(), b("div", ea, [
|
|
3551
3699
|
k(e.$slots, "hint")
|
|
3552
3700
|
])) : E("", !0)
|
|
3553
3701
|
]);
|
|
3554
3702
|
}
|
|
3555
|
-
const
|
|
3703
|
+
const js = /* @__PURE__ */ R(Wo, [["render", ta]]), na = B({
|
|
3556
3704
|
name: "JQNewValue",
|
|
3557
3705
|
components: {
|
|
3558
|
-
QSelect:
|
|
3706
|
+
QSelect: st,
|
|
3559
3707
|
QIcon: le
|
|
3560
3708
|
},
|
|
3561
3709
|
props: {
|
|
@@ -3576,7 +3724,7 @@ const As = /* @__PURE__ */ Z(Po, [["render", Ho]]), Jo = B({
|
|
|
3576
3724
|
"update:modelValue": (e) => !0
|
|
3577
3725
|
},
|
|
3578
3726
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
3579
|
-
const r = T(e.modelValue ?? []), a = T(null), { t:
|
|
3727
|
+
const r = T(e.modelValue ?? []), a = T(null), { t: s } = X(), o = T(""), i = C(() => Object.keys(l)), c = (p, A) => {
|
|
3580
3728
|
A(() => {
|
|
3581
3729
|
});
|
|
3582
3730
|
}, u = (p, A) => {
|
|
@@ -3584,25 +3732,25 @@ const As = /* @__PURE__ */ Z(Po, [["render", Ho]]), Jo = B({
|
|
|
3584
3732
|
const v = p.trim();
|
|
3585
3733
|
if (o.value = "", v.length > 0) {
|
|
3586
3734
|
if (e.maxlength > 0 && r.value && r.value.length >= e.maxlength) {
|
|
3587
|
-
o.value =
|
|
3735
|
+
o.value = s("messages.formRules.maxLengthExceeded", { max: e.maxlength }), (Q = a.value) == null || Q.focus();
|
|
3588
3736
|
return;
|
|
3589
3737
|
}
|
|
3590
3738
|
if (!e.allowDuplicates && r.value && r.value.includes(v)) {
|
|
3591
|
-
o.value =
|
|
3739
|
+
o.value = s("messages.formRules.duplicateItemNotAllowed", { value: v }), (U = a.value) == null || U.focus();
|
|
3592
3740
|
return;
|
|
3593
3741
|
}
|
|
3594
3742
|
let $ = !0;
|
|
3595
|
-
const { name: f, args: L } =
|
|
3596
|
-
e.addRulesName && ($ =
|
|
3743
|
+
const { name: f, args: L } = kn(e.addRulesName);
|
|
3744
|
+
e.addRulesName && ($ = On(f, v, L, s)), $ === !0 && A(v, "add"), $ !== !0 && (o.value = $, (O = a.value) == null || O.focus());
|
|
3597
3745
|
}
|
|
3598
3746
|
};
|
|
3599
|
-
|
|
3747
|
+
F(
|
|
3600
3748
|
() => e.modelValue,
|
|
3601
3749
|
(p) => {
|
|
3602
3750
|
p !== r.value && (r.value = p);
|
|
3603
3751
|
},
|
|
3604
3752
|
{ immediate: !0 }
|
|
3605
|
-
),
|
|
3753
|
+
), F(
|
|
3606
3754
|
() => r.value,
|
|
3607
3755
|
(p) => {
|
|
3608
3756
|
var A;
|
|
@@ -3626,7 +3774,7 @@ const As = /* @__PURE__ */ Z(Po, [["render", Ho]]), Jo = B({
|
|
|
3626
3774
|
return (p = a.value) == null ? void 0 : p.resetValidation();
|
|
3627
3775
|
}
|
|
3628
3776
|
}), {
|
|
3629
|
-
t:
|
|
3777
|
+
t: s,
|
|
3630
3778
|
newValueErrorMessage: o,
|
|
3631
3779
|
innerModel: r,
|
|
3632
3780
|
qSelectRef: a,
|
|
@@ -3635,12 +3783,12 @@ const As = /* @__PURE__ */ Z(Po, [["render", Ho]]), Jo = B({
|
|
|
3635
3783
|
handleUpdateModelValue: g,
|
|
3636
3784
|
handleBlur: d,
|
|
3637
3785
|
change: M,
|
|
3638
|
-
slotNames:
|
|
3786
|
+
slotNames: i
|
|
3639
3787
|
};
|
|
3640
3788
|
}
|
|
3641
|
-
}),
|
|
3642
|
-
function
|
|
3643
|
-
const
|
|
3789
|
+
}), la = { class: "select-selected-item" };
|
|
3790
|
+
function oa(e, t, n, l, r, a) {
|
|
3791
|
+
const s = N("q-icon"), o = N("q-select");
|
|
3644
3792
|
return m(), Y(o, {
|
|
3645
3793
|
class: "j-q-select-new-value",
|
|
3646
3794
|
"model-value": e.innerModel,
|
|
@@ -3670,21 +3818,21 @@ function Xo(e, t, n, l, r, a) {
|
|
|
3670
3818
|
error: !!e.newValueErrorMessage,
|
|
3671
3819
|
"error-message": e.newValueErrorMessage
|
|
3672
3820
|
}, we({ _: 2 }, [
|
|
3673
|
-
ne(e.slotNames, (
|
|
3674
|
-
name:
|
|
3821
|
+
ne(e.slotNames, (i) => ({
|
|
3822
|
+
name: i,
|
|
3675
3823
|
fn: D((c) => [
|
|
3676
|
-
k(e.$slots,
|
|
3824
|
+
k(e.$slots, i, ue(me(c)))
|
|
3677
3825
|
])
|
|
3678
3826
|
})),
|
|
3679
3827
|
e.useChips ? {
|
|
3680
3828
|
name: "selected-item",
|
|
3681
|
-
fn: D((
|
|
3682
|
-
I("span",
|
|
3683
|
-
I("span", null, h(
|
|
3684
|
-
j(
|
|
3829
|
+
fn: D((i) => [
|
|
3830
|
+
I("span", la, [
|
|
3831
|
+
I("span", null, h(i.opt), 1),
|
|
3832
|
+
j(s, {
|
|
3685
3833
|
name: "close",
|
|
3686
3834
|
class: "cursor-pointer q-ml-xs",
|
|
3687
|
-
onClick: ee((c) =>
|
|
3835
|
+
onClick: ee((c) => i.removeAtIndex(i.index), ["stop"]),
|
|
3688
3836
|
color: "grey"
|
|
3689
3837
|
}, null, 8, ["onClick"])
|
|
3690
3838
|
])
|
|
@@ -3693,13 +3841,13 @@ function Xo(e, t, n, l, r, a) {
|
|
|
3693
3841
|
} : void 0
|
|
3694
3842
|
]), 1032, ["model-value", "onUpdate:modelValue", "label", "dense", "disable", "readonly", "rules", "options", "placeholder", "onChange", "onFilter", "onNewValue", "onBlur", "use-chips", "error", "error-message"]);
|
|
3695
3843
|
}
|
|
3696
|
-
const
|
|
3844
|
+
const zs = /* @__PURE__ */ R(na, [["render", oa]]), aa = B({
|
|
3697
3845
|
name: "JQOptionGroup",
|
|
3698
3846
|
components: {
|
|
3699
|
-
QField:
|
|
3700
|
-
QOptionGroup:
|
|
3847
|
+
QField: Oe,
|
|
3848
|
+
QOptionGroup: Xt,
|
|
3701
3849
|
QIcon: le,
|
|
3702
|
-
QTooltip:
|
|
3850
|
+
QTooltip: Se
|
|
3703
3851
|
},
|
|
3704
3852
|
props: {
|
|
3705
3853
|
modelValue: {
|
|
@@ -3729,8 +3877,8 @@ const Ns = /* @__PURE__ */ Z(Jo, [["render", Xo]]), _o = B({
|
|
|
3729
3877
|
},
|
|
3730
3878
|
// q-option-group 不支持 slots 扩展,故省略 slots 定义
|
|
3731
3879
|
setup(e, { emit: t }) {
|
|
3732
|
-
const n = T(e.modelValue ?? null), l = C(() => e.options ? e.options.map((
|
|
3733
|
-
...
|
|
3880
|
+
const n = T(e.modelValue ?? null), l = C(() => e.options ? e.options.map((s) => ({
|
|
3881
|
+
...s,
|
|
3734
3882
|
...{
|
|
3735
3883
|
radio: {
|
|
3736
3884
|
checkedIcon: "app:radio-checked",
|
|
@@ -3743,31 +3891,31 @@ const Ns = /* @__PURE__ */ Z(Jo, [["render", Xo]]), _o = B({
|
|
|
3743
3891
|
}
|
|
3744
3892
|
}[e.type] || {}
|
|
3745
3893
|
})) : []), r = C(() => e.inline ? "" : `inline-span-${e.inlineSpanCount}`);
|
|
3746
|
-
return
|
|
3894
|
+
return F(
|
|
3747
3895
|
() => e.modelValue,
|
|
3748
|
-
(
|
|
3749
|
-
|
|
3896
|
+
(s) => {
|
|
3897
|
+
s !== n.value && (n.value = s ?? null);
|
|
3750
3898
|
},
|
|
3751
3899
|
{ immediate: !0 }
|
|
3752
3900
|
// 立即执行一次,确保初始值设置正确
|
|
3753
|
-
),
|
|
3901
|
+
), F(
|
|
3754
3902
|
() => n.value,
|
|
3755
|
-
(
|
|
3756
|
-
t("update:modelValue",
|
|
3903
|
+
(s) => {
|
|
3904
|
+
t("update:modelValue", s);
|
|
3757
3905
|
}
|
|
3758
3906
|
), {
|
|
3759
3907
|
computedInlineSpanClass: r,
|
|
3760
3908
|
innerModel: n,
|
|
3761
3909
|
computedOptions: l,
|
|
3762
|
-
change: (
|
|
3763
|
-
t("change",
|
|
3910
|
+
change: (s) => {
|
|
3911
|
+
t("change", s);
|
|
3764
3912
|
}
|
|
3765
3913
|
};
|
|
3766
3914
|
}
|
|
3767
3915
|
});
|
|
3768
|
-
function
|
|
3916
|
+
function sa(e, t, n, l, r, a) {
|
|
3769
3917
|
var u;
|
|
3770
|
-
const
|
|
3918
|
+
const s = N("q-tooltip"), o = N("q-icon"), i = N("q-option-group"), c = N("q-field");
|
|
3771
3919
|
return m(), Y(c, {
|
|
3772
3920
|
class: V(["j-q-option-group no-border-field", [{ "inline-block": e.inline, "q-mb-xs": !((u = e.rules) != null && u.length) }, e.filedClass]]),
|
|
3773
3921
|
label: e.label,
|
|
@@ -3782,7 +3930,7 @@ function ea(e, t, n, l, r, a) {
|
|
|
3782
3930
|
"onUpdate:modelValue": t[1] || (t[1] = (g) => e.innerModel = g)
|
|
3783
3931
|
}, {
|
|
3784
3932
|
control: D(() => [
|
|
3785
|
-
j(
|
|
3933
|
+
j(i, {
|
|
3786
3934
|
modelValue: e.innerModel,
|
|
3787
3935
|
"onUpdate:modelValue": t[0] || (t[0] = (g) => e.innerModel = g),
|
|
3788
3936
|
class: V(e.computedInlineSpanClass),
|
|
@@ -3804,7 +3952,7 @@ function ea(e, t, n, l, r, a) {
|
|
|
3804
3952
|
class: "q-ml-xs"
|
|
3805
3953
|
}, {
|
|
3806
3954
|
default: D(() => [
|
|
3807
|
-
j(
|
|
3955
|
+
j(s, {
|
|
3808
3956
|
anchor: "top middle",
|
|
3809
3957
|
self: "bottom middle",
|
|
3810
3958
|
offset: [10, 10]
|
|
@@ -3824,12 +3972,12 @@ function ea(e, t, n, l, r, a) {
|
|
|
3824
3972
|
_: 1
|
|
3825
3973
|
}, 8, ["label", "disable", "rules", "outlined", "dense", "modelValue", "class"]);
|
|
3826
3974
|
}
|
|
3827
|
-
const
|
|
3975
|
+
const bs = /* @__PURE__ */ R(aa, [["render", sa], ["__scopeId", "data-v-cd2d30aa"]]), ia = B({
|
|
3828
3976
|
name: "JQPopover",
|
|
3829
3977
|
components: {
|
|
3830
3978
|
QPopupProxy: Ae,
|
|
3831
|
-
QCard:
|
|
3832
|
-
QCardSection:
|
|
3979
|
+
QCard: ke,
|
|
3980
|
+
QCardSection: Le
|
|
3833
3981
|
},
|
|
3834
3982
|
props: {
|
|
3835
3983
|
title: {
|
|
@@ -3857,29 +4005,29 @@ const Cs = /* @__PURE__ */ Z(_o, [["render", ea], ["__scopeId", "data-v-cd2d30aa
|
|
|
3857
4005
|
e.trigger === "click" && t.value && t.value.toggle();
|
|
3858
4006
|
}, a = () => {
|
|
3859
4007
|
e.trigger === "hover" && t.value && t.value.show();
|
|
3860
|
-
},
|
|
4008
|
+
}, s = () => {
|
|
3861
4009
|
e.trigger === "hover" && t.value && t.value.hide();
|
|
3862
4010
|
};
|
|
3863
|
-
return
|
|
3864
|
-
var
|
|
3865
|
-
const o = ((
|
|
3866
|
-
o && (e.trigger === "click" ? o.addEventListener("click", r) : e.trigger === "hover" && (o.addEventListener("mouseenter", a), o.addEventListener("mouseleave",
|
|
3867
|
-
}),
|
|
3868
|
-
var
|
|
3869
|
-
const o = ((
|
|
3870
|
-
o && (e.trigger === "click" ? o.removeEventListener("click", r) : e.trigger === "hover" && (o.removeEventListener("mouseenter", a), o.removeEventListener("mouseleave",
|
|
4011
|
+
return ve(() => {
|
|
4012
|
+
var i;
|
|
4013
|
+
const o = ((i = n.value) == null ? void 0 : i.$el) || document.querySelector(".inline-block");
|
|
4014
|
+
o && (e.trigger === "click" ? o.addEventListener("click", r) : e.trigger === "hover" && (o.addEventListener("mouseenter", a), o.addEventListener("mouseleave", s)));
|
|
4015
|
+
}), Wt(() => {
|
|
4016
|
+
var i;
|
|
4017
|
+
const o = ((i = n.value) == null ? void 0 : i.$el) || document.querySelector(".inline-block");
|
|
4018
|
+
o && (e.trigger === "click" ? o.removeEventListener("click", r) : e.trigger === "hover" && (o.removeEventListener("mouseenter", a), o.removeEventListener("mouseleave", s)));
|
|
3871
4019
|
}), {
|
|
3872
4020
|
popupRef: t,
|
|
3873
4021
|
rootRef: n,
|
|
3874
4022
|
popoverStyle: l
|
|
3875
4023
|
};
|
|
3876
4024
|
}
|
|
3877
|
-
}),
|
|
3878
|
-
function
|
|
3879
|
-
const
|
|
3880
|
-
return m(), b("div",
|
|
4025
|
+
}), ra = { class: "inline-block" }, ua = { class: "text-body2 text-grey" };
|
|
4026
|
+
function da(e, t, n, l, r, a) {
|
|
4027
|
+
const s = N("q-card-section"), o = N("q-card"), i = N("q-popup-proxy");
|
|
4028
|
+
return m(), b("div", ra, [
|
|
3881
4029
|
k(e.$slots, "default", {}, void 0, !0),
|
|
3882
|
-
j(
|
|
4030
|
+
j(i, {
|
|
3883
4031
|
ref: "popupRef",
|
|
3884
4032
|
offset: [12, 12]
|
|
3885
4033
|
}, {
|
|
@@ -3890,10 +4038,10 @@ function oa(e, t, n, l, r, a) {
|
|
|
3890
4038
|
style: H(e.popoverStyle)
|
|
3891
4039
|
}, {
|
|
3892
4040
|
default: D(() => [
|
|
3893
|
-
j(
|
|
4041
|
+
j(s, { class: "q-pa-sm" }, {
|
|
3894
4042
|
default: D(() => [
|
|
3895
4043
|
k(e.$slots, "content", {}, () => [
|
|
3896
|
-
I("span",
|
|
4044
|
+
I("span", ua, h(e.title), 1)
|
|
3897
4045
|
], !0)
|
|
3898
4046
|
]),
|
|
3899
4047
|
_: 3
|
|
@@ -3906,10 +4054,10 @@ function oa(e, t, n, l, r, a) {
|
|
|
3906
4054
|
}, 512)
|
|
3907
4055
|
]);
|
|
3908
4056
|
}
|
|
3909
|
-
const
|
|
4057
|
+
const Ts = /* @__PURE__ */ R(ia, [["render", da], ["__scopeId", "data-v-8de7d551"]]), ca = B({
|
|
3910
4058
|
name: "jQSearchForm",
|
|
3911
4059
|
components: {
|
|
3912
|
-
|
|
4060
|
+
JQButton: Ee
|
|
3913
4061
|
},
|
|
3914
4062
|
props: {
|
|
3915
4063
|
modelValue: { type: Object, required: !0 },
|
|
@@ -3926,48 +4074,44 @@ const js = /* @__PURE__ */ Z(ta, [["render", oa], ["__scopeId", "data-v-8de7d551
|
|
|
3926
4074
|
slots: Object,
|
|
3927
4075
|
setup(e, { emit: t, expose: n }) {
|
|
3928
4076
|
const { t: l } = X(), r = T(null), a = T({});
|
|
3929
|
-
|
|
4077
|
+
F(
|
|
3930
4078
|
() => e.modelValue,
|
|
3931
|
-
(
|
|
3932
|
-
Object.keys(a.value).length === 0 && (a.value = JSON.parse(JSON.stringify(
|
|
4079
|
+
(i) => {
|
|
4080
|
+
Object.keys(a.value).length === 0 && (a.value = JSON.parse(JSON.stringify(i)));
|
|
3933
4081
|
},
|
|
3934
4082
|
{ deep: !0, immediate: !0 }
|
|
3935
4083
|
);
|
|
3936
|
-
const
|
|
4084
|
+
const s = () => {
|
|
3937
4085
|
t("query");
|
|
3938
4086
|
}, o = () => {
|
|
3939
|
-
const
|
|
3940
|
-
t("update:modelValue",
|
|
4087
|
+
const i = JSON.parse(JSON.stringify(a.value));
|
|
4088
|
+
t("update:modelValue", i), t("reset");
|
|
3941
4089
|
};
|
|
3942
4090
|
return n({ searchFormRef: r }), {
|
|
3943
4091
|
t: l,
|
|
3944
4092
|
searchFormRef: r,
|
|
3945
|
-
handleClickQuery:
|
|
4093
|
+
handleClickQuery: s,
|
|
3946
4094
|
handleClickReset: o
|
|
3947
4095
|
};
|
|
3948
4096
|
}
|
|
3949
|
-
}),
|
|
4097
|
+
}), Ma = {
|
|
3950
4098
|
ref: "searchFormRef",
|
|
3951
4099
|
class: "j-q-search-bar"
|
|
3952
|
-
},
|
|
4100
|
+
}, ga = { class: "search-bar-container" }, ma = { class: "search--bar-items-wrapper" }, pa = { class: "search--bar-items" }, fa = {
|
|
3953
4101
|
key: 0,
|
|
3954
4102
|
class: "default-operation-buttons"
|
|
3955
|
-
},
|
|
3956
|
-
function
|
|
3957
|
-
const
|
|
4103
|
+
}, ya = { class: "search-bar-extra-operation" };
|
|
4104
|
+
function Ia(e, t, n, l, r, a) {
|
|
4105
|
+
const s = N("j-q-button");
|
|
3958
4106
|
return m(), b("div", null, [
|
|
3959
|
-
I("div",
|
|
3960
|
-
I("div",
|
|
3961
|
-
I("div",
|
|
3962
|
-
I("div",
|
|
4107
|
+
I("div", Ma, [
|
|
4108
|
+
I("div", ga, [
|
|
4109
|
+
I("div", ma, [
|
|
4110
|
+
I("div", pa, [
|
|
3963
4111
|
k(e.$slots, "default"),
|
|
3964
|
-
e.operationVisible ? (m(), b("div",
|
|
3965
|
-
j(
|
|
3966
|
-
color: "primary",
|
|
4112
|
+
e.operationVisible ? (m(), b("div", fa, [
|
|
4113
|
+
j(s, {
|
|
3967
4114
|
loading: e.queryLoading,
|
|
3968
|
-
"no-caps": "",
|
|
3969
|
-
type: "submit",
|
|
3970
|
-
unelevated: "",
|
|
3971
4115
|
onClick: e.handleClickQuery
|
|
3972
4116
|
}, {
|
|
3973
4117
|
default: D(() => [
|
|
@@ -3975,14 +4119,12 @@ function Ma(e, t, n, l, r, a) {
|
|
|
3975
4119
|
]),
|
|
3976
4120
|
_: 1
|
|
3977
4121
|
}, 8, ["loading", "onClick"]),
|
|
3978
|
-
e.resetVisible ? (m(), Y(
|
|
4122
|
+
e.resetVisible ? (m(), Y(s, {
|
|
3979
4123
|
key: 0,
|
|
3980
4124
|
class: "operation-reset",
|
|
3981
4125
|
loading: e.resetLoading,
|
|
3982
|
-
"no-caps": "",
|
|
3983
|
-
unelevated: "",
|
|
3984
4126
|
onClick: e.handleClickReset,
|
|
3985
|
-
|
|
4127
|
+
type: "secondary"
|
|
3986
4128
|
}, {
|
|
3987
4129
|
default: D(() => [
|
|
3988
4130
|
W(h(e.t("action.reset")), 1)
|
|
@@ -3991,7 +4133,7 @@ function Ma(e, t, n, l, r, a) {
|
|
|
3991
4133
|
}, 8, ["loading", "onClick"])) : E("", !0)
|
|
3992
4134
|
])) : E("", !0)
|
|
3993
4135
|
]),
|
|
3994
|
-
I("div",
|
|
4136
|
+
I("div", ya, [
|
|
3995
4137
|
k(e.$slots, "extra-operation")
|
|
3996
4138
|
])
|
|
3997
4139
|
])
|
|
@@ -3999,13 +4141,13 @@ function Ma(e, t, n, l, r, a) {
|
|
|
3999
4141
|
], 512)
|
|
4000
4142
|
]);
|
|
4001
4143
|
}
|
|
4002
|
-
const
|
|
4144
|
+
const hs = /* @__PURE__ */ R(ca, [["render", Ia]]), Da = B({
|
|
4003
4145
|
name: "JQSelect",
|
|
4004
4146
|
components: {
|
|
4005
|
-
QSelect:
|
|
4006
|
-
QSpinner:
|
|
4007
|
-
QItem:
|
|
4008
|
-
QItemSection:
|
|
4147
|
+
QSelect: st,
|
|
4148
|
+
QSpinner: _t,
|
|
4149
|
+
QItem: ht,
|
|
4150
|
+
QItemSection: Tt,
|
|
4009
4151
|
QIcon: le
|
|
4010
4152
|
},
|
|
4011
4153
|
props: {
|
|
@@ -4043,14 +4185,14 @@ const zs = /* @__PURE__ */ Z(aa, [["render", Ma]]), ga = B({
|
|
|
4043
4185
|
},
|
|
4044
4186
|
slots: Object,
|
|
4045
4187
|
setup(e, { emit: t, slots: n, expose: l }) {
|
|
4046
|
-
const r = T(null), { t: a } = X(),
|
|
4188
|
+
const r = T(null), { t: a } = X(), s = T(!1), o = C({
|
|
4047
4189
|
get() {
|
|
4048
4190
|
return e.multiple && (e.modelValue === null || e.modelValue === void 0) ? [] : e.modelValue;
|
|
4049
4191
|
},
|
|
4050
4192
|
set(f) {
|
|
4051
4193
|
t("update:modelValue", f);
|
|
4052
4194
|
}
|
|
4053
|
-
}),
|
|
4195
|
+
}), i = (f) => {
|
|
4054
4196
|
t("manual-change", f);
|
|
4055
4197
|
}, c = T(e.options), u = T(""), g = T(void 0), M = C(() => !!e.optionValue), d = C(() => g.value ? g.value : u.value ? e.options.filter((f) => {
|
|
4056
4198
|
const L = (f == null ? void 0 : f[e.optionLabel]) ?? JSON.stringify(f);
|
|
@@ -4111,18 +4253,18 @@ const zs = /* @__PURE__ */ Z(aa, [["render", Ma]]), ga = B({
|
|
|
4111
4253
|
let f = "j-q-select-popup select-popup-content height1";
|
|
4112
4254
|
return e.popupContentClass && (f += ` ${e.popupContentClass}`), f;
|
|
4113
4255
|
}), O = () => {
|
|
4114
|
-
|
|
4256
|
+
de(() => {
|
|
4115
4257
|
if (r.value) {
|
|
4116
4258
|
const f = r.value.$el, L = f == null ? void 0 : f.querySelector(".q-field__native span");
|
|
4117
|
-
L && (
|
|
4259
|
+
L && (s.value = L.scrollWidth > L.clientWidth);
|
|
4118
4260
|
}
|
|
4119
4261
|
});
|
|
4120
|
-
}, $ = C(() => e.filterable &&
|
|
4121
|
-
return
|
|
4262
|
+
}, $ = C(() => e.filterable && s.value ? !1 : e.filterable ?? e.useInput);
|
|
4263
|
+
return F([o, p], () => {
|
|
4122
4264
|
e.filterable && O();
|
|
4123
|
-
}),
|
|
4265
|
+
}), ve(() => {
|
|
4124
4266
|
e.filterable && O();
|
|
4125
|
-
}),
|
|
4267
|
+
}), F(
|
|
4126
4268
|
o,
|
|
4127
4269
|
(f, L) => {
|
|
4128
4270
|
e.multiple && e.closeOnSelect && r.value && Array.isArray(f) && Array.isArray(L) && f.length !== L.length && r.value.hidePopup();
|
|
@@ -4151,12 +4293,12 @@ const zs = /* @__PURE__ */ Z(aa, [["render", Ma]]), ga = B({
|
|
|
4151
4293
|
computedPopupContentClass: U,
|
|
4152
4294
|
computedOptions: d,
|
|
4153
4295
|
slots: n,
|
|
4154
|
-
handleManualChange:
|
|
4296
|
+
handleManualChange: i
|
|
4155
4297
|
};
|
|
4156
4298
|
}
|
|
4157
|
-
}),
|
|
4158
|
-
function
|
|
4159
|
-
const
|
|
4299
|
+
}), Aa = { class: "select-selected-item" };
|
|
4300
|
+
function Na(e, t, n, l, r, a) {
|
|
4301
|
+
const s = N("q-spinner"), o = N("q-icon"), i = N("q-item-section"), c = N("q-item"), u = N("q-select");
|
|
4160
4302
|
return m(), Y(u, {
|
|
4161
4303
|
ref: "qSelectRef",
|
|
4162
4304
|
class: V([{
|
|
@@ -4199,7 +4341,7 @@ function pa(e, t, n, l, r, a) {
|
|
|
4199
4341
|
"hide-dropdown-icon": e.readonly
|
|
4200
4342
|
}, we({
|
|
4201
4343
|
loading: D(() => [
|
|
4202
|
-
j(
|
|
4344
|
+
j(s, {
|
|
4203
4345
|
color: "primary",
|
|
4204
4346
|
size: "14px",
|
|
4205
4347
|
thickness: 2
|
|
@@ -4224,8 +4366,8 @@ function pa(e, t, n, l, r, a) {
|
|
|
4224
4366
|
fn: D((g) => {
|
|
4225
4367
|
var M;
|
|
4226
4368
|
return [
|
|
4227
|
-
I("span",
|
|
4228
|
-
k(e.$slots, "chip-value-display",
|
|
4369
|
+
I("span", Aa, [
|
|
4370
|
+
k(e.$slots, "chip-value-display", ue(me(g)), () => [
|
|
4229
4371
|
W(h(e.getSelectedItemLabelByIndex(g.index)), 1)
|
|
4230
4372
|
]),
|
|
4231
4373
|
(M = e.getSelectedItemOptionByIndex(g.index)) != null && M.hideRemove ? E("", !0) : (m(), Y(o, {
|
|
@@ -4274,7 +4416,7 @@ function pa(e, t, n, l, r, a) {
|
|
|
4274
4416
|
k(e.$slots, "no-option", {}, () => [
|
|
4275
4417
|
j(c, { dense: e.dense }, {
|
|
4276
4418
|
default: D(() => [
|
|
4277
|
-
j(
|
|
4419
|
+
j(i, { class: "text-grey text-caption" }, {
|
|
4278
4420
|
default: D(() => [
|
|
4279
4421
|
W(h(e.t("messages.noData")), 1)
|
|
4280
4422
|
]),
|
|
@@ -4290,40 +4432,40 @@ function pa(e, t, n, l, r, a) {
|
|
|
4290
4432
|
e.slots.option ? {
|
|
4291
4433
|
name: "option",
|
|
4292
4434
|
fn: D((g) => [
|
|
4293
|
-
k(e.$slots, "option",
|
|
4435
|
+
k(e.$slots, "option", ue(me(g)))
|
|
4294
4436
|
]),
|
|
4295
4437
|
key: "7"
|
|
4296
4438
|
} : void 0
|
|
4297
4439
|
]), 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", "onUpdate:modelValue", "hide-dropdown-icon"]);
|
|
4298
4440
|
}
|
|
4299
|
-
const
|
|
4300
|
-
function
|
|
4301
|
-
const t =
|
|
4441
|
+
const ws = /* @__PURE__ */ R(Da, [["render", Na]]), pt = 15, Yt = [10, 15, 20, 30, 50];
|
|
4442
|
+
function Ca(e) {
|
|
4443
|
+
const t = pt, n = De({
|
|
4302
4444
|
page: 1,
|
|
4303
4445
|
rowsPerPage: t,
|
|
4304
4446
|
rowsNumber: 0
|
|
4305
4447
|
});
|
|
4306
|
-
return { paginationInfo: n, getPaginationParam: () => n, getNum: () => n.page, setNum: (
|
|
4307
|
-
n.page =
|
|
4308
|
-
}, setSize: (
|
|
4309
|
-
n.rowsPerPage =
|
|
4310
|
-
}, setTotal: (
|
|
4311
|
-
n.rowsNumber =
|
|
4448
|
+
return { paginationInfo: n, getPaginationParam: () => n, getNum: () => n.page, setNum: (i) => {
|
|
4449
|
+
n.page = i ?? 1;
|
|
4450
|
+
}, setSize: (i) => {
|
|
4451
|
+
n.rowsPerPage = i ?? t;
|
|
4452
|
+
}, setTotal: (i) => {
|
|
4453
|
+
n.rowsNumber = i ?? 0;
|
|
4312
4454
|
} };
|
|
4313
4455
|
}
|
|
4314
|
-
const
|
|
4456
|
+
const ja = B({
|
|
4315
4457
|
name: "MyPaginationComponent",
|
|
4316
4458
|
components: {
|
|
4317
|
-
QSelect:
|
|
4318
|
-
QPagination:
|
|
4319
|
-
QInput:
|
|
4459
|
+
QSelect: st,
|
|
4460
|
+
QPagination: en,
|
|
4461
|
+
QInput: Be
|
|
4320
4462
|
},
|
|
4321
4463
|
props: {
|
|
4322
4464
|
paginationInfo: {
|
|
4323
4465
|
type: Object,
|
|
4324
4466
|
default: () => ({
|
|
4325
4467
|
page: 1,
|
|
4326
|
-
rowsPerPage:
|
|
4468
|
+
rowsPerPage: pt,
|
|
4327
4469
|
rowsNumber: 0
|
|
4328
4470
|
})
|
|
4329
4471
|
}
|
|
@@ -4337,27 +4479,27 @@ const ya = B({
|
|
|
4337
4479
|
totalPage: 0,
|
|
4338
4480
|
// 初始化为 0,等计算
|
|
4339
4481
|
currentPage: ""
|
|
4340
|
-
}), r =
|
|
4482
|
+
}), r = Yt, a = C(() => {
|
|
4341
4483
|
const { rowsNumber: g, rowsPerPage: M } = l, d = Math.ceil(g / M);
|
|
4342
4484
|
return d < 1 ? 1 : d;
|
|
4343
|
-
}),
|
|
4485
|
+
}), s = C(() => `${l.page} / ${l.totalPage}`), o = C(() => {
|
|
4344
4486
|
const g = a.value.toString();
|
|
4345
4487
|
return Array(g.length).fill("#").join("");
|
|
4346
4488
|
});
|
|
4347
|
-
|
|
4489
|
+
F(
|
|
4348
4490
|
() => e.paginationInfo,
|
|
4349
4491
|
(g) => {
|
|
4350
4492
|
l.page = g.page, l.rowsPerPage = g.rowsPerPage, l.rowsNumber = g.rowsNumber;
|
|
4351
4493
|
},
|
|
4352
4494
|
{ deep: !0, immediate: !0 }
|
|
4353
|
-
),
|
|
4495
|
+
), F(
|
|
4354
4496
|
a,
|
|
4355
4497
|
(g) => {
|
|
4356
4498
|
l.totalPage = g;
|
|
4357
4499
|
},
|
|
4358
4500
|
{ immediate: !0 }
|
|
4359
4501
|
);
|
|
4360
|
-
const
|
|
4502
|
+
const i = () => {
|
|
4361
4503
|
const g = {
|
|
4362
4504
|
page: l.page,
|
|
4363
4505
|
rowsPerPage: l.rowsPerPage,
|
|
@@ -4365,19 +4507,19 @@ const ya = B({
|
|
|
4365
4507
|
};
|
|
4366
4508
|
t("pagination", g);
|
|
4367
4509
|
}, c = () => {
|
|
4368
|
-
l.page = 1,
|
|
4510
|
+
l.page = 1, i();
|
|
4369
4511
|
}, u = () => {
|
|
4370
4512
|
if (l.currentPage) {
|
|
4371
4513
|
let g = Number(l.currentPage);
|
|
4372
4514
|
isNaN(g) || g < 1 ? g = 1 : g > a.value && (g = a.value), l.page = g, l.currentPage = "";
|
|
4373
4515
|
}
|
|
4374
|
-
l.page < 1 && (l.page = 1), l.page > a.value && (l.page = a.value),
|
|
4516
|
+
l.page < 1 && (l.page = 1), l.page > a.value && (l.page = a.value), i();
|
|
4375
4517
|
};
|
|
4376
4518
|
return {
|
|
4377
4519
|
t: n,
|
|
4378
4520
|
internalInfo: l,
|
|
4379
4521
|
rowNumbersArr: r,
|
|
4380
|
-
currentPagePlaceholder:
|
|
4522
|
+
currentPagePlaceholder: s,
|
|
4381
4523
|
currentPageMask: o,
|
|
4382
4524
|
maxPage: a,
|
|
4383
4525
|
handleRowsPerPageChange: c,
|
|
@@ -4386,15 +4528,15 @@ const ya = B({
|
|
|
4386
4528
|
selectChange: c
|
|
4387
4529
|
};
|
|
4388
4530
|
}
|
|
4389
|
-
}),
|
|
4390
|
-
function
|
|
4391
|
-
const
|
|
4531
|
+
}), za = { class: "row items-center justify-end" }, ba = { style: { "margin-top": "4px" } }, Ta = { style: { "margin-top": "4px", "margin-right": "24px" } }, ha = { style: { "margin-left": "24px" } };
|
|
4532
|
+
function wa(e, t, n, l, r, a) {
|
|
4533
|
+
const s = N("q-select"), o = N("q-pagination"), i = N("q-input");
|
|
4392
4534
|
return m(), b("div", null, [
|
|
4393
|
-
I("div",
|
|
4394
|
-
I("div",
|
|
4535
|
+
I("div", za, [
|
|
4536
|
+
I("div", ba, [
|
|
4395
4537
|
I("span", null, h(e.t("messages.pagination.total", { total: e.internalInfo.rowsNumber })), 1)
|
|
4396
4538
|
]),
|
|
4397
|
-
j(
|
|
4539
|
+
j(s, {
|
|
4398
4540
|
class: "my-pagination",
|
|
4399
4541
|
modelValue: e.internalInfo.rowsPerPage,
|
|
4400
4542
|
"onUpdate:modelValue": [
|
|
@@ -4410,7 +4552,7 @@ function Ca(e, t, n, l, r, a) {
|
|
|
4410
4552
|
autocomplete: "false",
|
|
4411
4553
|
"popup-content-class": "j-q-select-popup select-popup-content height1"
|
|
4412
4554
|
}, null, 8, ["modelValue", "options", "onUpdate:modelValue"]),
|
|
4413
|
-
I("div",
|
|
4555
|
+
I("div", Ta, [
|
|
4414
4556
|
I("span", null, h(e.t("messages.pagination.pieces_page")), 1)
|
|
4415
4557
|
]),
|
|
4416
4558
|
j(o, {
|
|
@@ -4430,13 +4572,13 @@ function Ca(e, t, n, l, r, a) {
|
|
|
4430
4572
|
"active-text-color": "white",
|
|
4431
4573
|
ripple: !1
|
|
4432
4574
|
}, null, 8, ["modelValue", "max", "onUpdate:modelValue"]),
|
|
4433
|
-
I("p",
|
|
4434
|
-
j(
|
|
4575
|
+
I("p", ha, h(e.t("messages.pagination.goto")), 1),
|
|
4576
|
+
j(i, {
|
|
4435
4577
|
autofocus: !1,
|
|
4436
4578
|
modelValue: e.internalInfo.currentPage,
|
|
4437
4579
|
"onUpdate:modelValue": t[2] || (t[2] = (c) => e.internalInfo.currentPage = c),
|
|
4438
4580
|
modelModifiers: { trim: !0 },
|
|
4439
|
-
onKeyup:
|
|
4581
|
+
onKeyup: xt(e.handlePageChange, ["enter"]),
|
|
4440
4582
|
autocapitalize: "off",
|
|
4441
4583
|
autocomplete: "new-password",
|
|
4442
4584
|
autocorrect: "off",
|
|
@@ -4449,14 +4591,14 @@ function Ca(e, t, n, l, r, a) {
|
|
|
4449
4591
|
])
|
|
4450
4592
|
]);
|
|
4451
4593
|
}
|
|
4452
|
-
const
|
|
4594
|
+
const va = /* @__PURE__ */ R(ja, [["render", wa]]), Sa = B({
|
|
4453
4595
|
name: "JQTableComponent",
|
|
4454
4596
|
components: {
|
|
4455
|
-
Pagination:
|
|
4456
|
-
QTable:
|
|
4457
|
-
QTh:
|
|
4458
|
-
QTd:
|
|
4459
|
-
QInnerLoading:
|
|
4597
|
+
Pagination: va,
|
|
4598
|
+
QTable: ln,
|
|
4599
|
+
QTh: nn,
|
|
4600
|
+
QTd: tn,
|
|
4601
|
+
QInnerLoading: zt
|
|
4460
4602
|
},
|
|
4461
4603
|
props: {
|
|
4462
4604
|
autoHeight: { type: Boolean, default: !1 },
|
|
@@ -4480,29 +4622,29 @@ const ja = /* @__PURE__ */ Z(ya, [["render", Ca]]), za = B({
|
|
|
4480
4622
|
},
|
|
4481
4623
|
slots: Object,
|
|
4482
4624
|
setup(e, { emit: t, expose: n, slots: l }) {
|
|
4483
|
-
const { t: r } = X(), a = T(null),
|
|
4625
|
+
const { t: r } = X(), a = T(null), s = T([]), o = T(/* @__PURE__ */ new Map()), i = T(/* @__PURE__ */ new Map()), c = (y) => Reflect.has(l, y), u = C({
|
|
4484
4626
|
get() {
|
|
4485
|
-
return e.selected ??
|
|
4627
|
+
return e.selected ?? s.value;
|
|
4486
4628
|
},
|
|
4487
4629
|
set(y) {
|
|
4488
|
-
t("update:selected", y),
|
|
4630
|
+
t("update:selected", y), s.value = y;
|
|
4489
4631
|
}
|
|
4490
4632
|
}), g = C(() => e.tableHeaderClass), M = C(() => {
|
|
4491
4633
|
var y;
|
|
4492
4634
|
return ((y = e.columns) == null ? void 0 : y.filter((z) => Reflect.has(l, `header-cell-${z.name}`))) || [];
|
|
4493
4635
|
}), d = C(() => {
|
|
4494
4636
|
var y;
|
|
4495
|
-
return ((y = e.columns) == null ? void 0 : y.filter(({ name: z, onClick:
|
|
4637
|
+
return ((y = e.columns) == null ? void 0 : y.filter(({ name: z, onClick: G }) => Reflect.has(l, `body-cell-${z}`) && !G)) || [];
|
|
4496
4638
|
}), p = C(() => {
|
|
4497
4639
|
var y;
|
|
4498
4640
|
return ((y = e.columns) == null ? void 0 : y.filter(({ onClick: z }) => z)) || [];
|
|
4499
4641
|
}), A = C(() => {
|
|
4500
4642
|
var y;
|
|
4501
|
-
return ((y = e.columns) == null ? void 0 : y.filter(({ whiteSpace: z, onClick:
|
|
4643
|
+
return ((y = e.columns) == null ? void 0 : y.filter(({ whiteSpace: z, onClick: G, name: J }) => z && !G && !Reflect.has(l, `body-cell-${J}`))) || [];
|
|
4502
4644
|
}), v = C(() => {
|
|
4503
4645
|
var y;
|
|
4504
|
-
return ((y = e.columns) == null ? void 0 : y.filter(({ limitWidth: z, whiteSpace:
|
|
4505
|
-
}), { paginationInfo: Q, getPaginationParam: U, getNum: O, setNum: $, setTotal: f, setSize: L } =
|
|
4646
|
+
return ((y = e.columns) == null ? void 0 : y.filter(({ limitWidth: z, whiteSpace: G, onClick: J, name: _ }) => z && !G && !J && !Reflect.has(l, `body-cell-${_}`))) || [];
|
|
4647
|
+
}), { paginationInfo: Q, getPaginationParam: U, getNum: O, setNum: $, setTotal: f, setSize: L } = Ca(), w = C(() => ({
|
|
4506
4648
|
rowsPerPage: 0
|
|
4507
4649
|
})), P = () => {
|
|
4508
4650
|
t("changeNum", Q), e.autoScrollOnChangePage && K();
|
|
@@ -4514,9 +4656,9 @@ const ja = /* @__PURE__ */ Z(ya, [["render", Ca]]), za = B({
|
|
|
4514
4656
|
var z;
|
|
4515
4657
|
const y = (z = a.value) == null ? void 0 : z.$el;
|
|
4516
4658
|
y == null || y.scrollIntoView({ behavior: "smooth" });
|
|
4517
|
-
}, ie = (y, z) => y.format && typeof y.format == "function" ? y.format(z) : z,
|
|
4659
|
+
}, ie = (y, z) => y.format && typeof y.format == "function" ? y.format(z) : z, ce = (y, z) => {
|
|
4518
4660
|
y.onClick && typeof y.onClick == "function" && y.onClick(z);
|
|
4519
|
-
}, Ne = (y, z,
|
|
4661
|
+
}, Ne = (y, z, G) => y.clickable && typeof y.clickable == "function" ? y.clickable(z, G) : z != null, Ye = (y) => {
|
|
4520
4662
|
const z = window.innerWidth <= 1440;
|
|
4521
4663
|
if (y) {
|
|
4522
4664
|
if (z && y.cellMaxWidthSmall !== void 0)
|
|
@@ -4525,15 +4667,15 @@ const ja = /* @__PURE__ */ Z(ya, [["render", Ca]]), za = B({
|
|
|
4525
4667
|
return y.cellMaxWidth;
|
|
4526
4668
|
}
|
|
4527
4669
|
return z ? e.cellMaxWidthSmall : e.cellMaxWidth;
|
|
4528
|
-
},
|
|
4670
|
+
}, Re = (y) => {
|
|
4529
4671
|
if (!y.whiteSpace) return {};
|
|
4530
|
-
const z =
|
|
4672
|
+
const z = Ye(y);
|
|
4531
4673
|
return {
|
|
4532
4674
|
width: `${z}px`,
|
|
4533
4675
|
maxWidth: `${z}px`,
|
|
4534
4676
|
minWidth: `${z}px`
|
|
4535
4677
|
};
|
|
4536
|
-
},
|
|
4678
|
+
}, Ze = (y) => {
|
|
4537
4679
|
const z = window.innerWidth <= 1440;
|
|
4538
4680
|
if (y) {
|
|
4539
4681
|
if (z && y.cellMaxWidthSmall !== void 0)
|
|
@@ -4542,36 +4684,36 @@ const ja = /* @__PURE__ */ Z(ya, [["render", Ca]]), za = B({
|
|
|
4542
4684
|
return { "--cell-max-width": `${y.cellMaxWidth}px` };
|
|
4543
4685
|
}
|
|
4544
4686
|
return {};
|
|
4545
|
-
},
|
|
4687
|
+
}, Ve = (y) => y.whiteSpace ? `cell-ellipsis cell-ellipsis--${Math.min(Math.max(1, Number(y.whiteSpace) || 1), 3)}` : "", We = () => ({
|
|
4546
4688
|
whiteSpace: "normal",
|
|
4547
4689
|
wordBreak: "break-word",
|
|
4548
4690
|
overflowWrap: "break-word"
|
|
4549
|
-
}),
|
|
4550
|
-
y && (o.value.set(z, y),
|
|
4551
|
-
|
|
4691
|
+
}), xe = (y) => Ye(y) <= 300 ? "j-tooltip--small" : "j-tooltip--large", Ge = (y, z) => {
|
|
4692
|
+
y && (o.value.set(z, y), de(() => {
|
|
4693
|
+
Qe(z);
|
|
4552
4694
|
}));
|
|
4553
|
-
},
|
|
4695
|
+
}, Qe = (y) => {
|
|
4554
4696
|
const z = o.value.get(y);
|
|
4555
4697
|
if (!z) {
|
|
4556
|
-
|
|
4698
|
+
i.value.set(y, !1);
|
|
4557
4699
|
return;
|
|
4558
4700
|
}
|
|
4559
|
-
const
|
|
4560
|
-
|
|
4561
|
-
},
|
|
4562
|
-
|
|
4701
|
+
const G = z.scrollWidth > z.clientWidth || z.scrollHeight > z.clientHeight;
|
|
4702
|
+
i.value.set(y, G);
|
|
4703
|
+
}, Fe = (y) => i.value.get(y) || !1, S = () => {
|
|
4704
|
+
de(() => {
|
|
4563
4705
|
o.value.forEach((y, z) => {
|
|
4564
|
-
|
|
4706
|
+
Qe(z);
|
|
4565
4707
|
});
|
|
4566
4708
|
});
|
|
4567
4709
|
};
|
|
4568
|
-
return
|
|
4710
|
+
return F(
|
|
4569
4711
|
() => e.rows,
|
|
4570
4712
|
() => {
|
|
4571
|
-
o.value.clear(),
|
|
4713
|
+
o.value.clear(), i.value.clear(), S();
|
|
4572
4714
|
},
|
|
4573
4715
|
{ deep: !0 }
|
|
4574
|
-
),
|
|
4716
|
+
), F(
|
|
4575
4717
|
() => e.loading,
|
|
4576
4718
|
(y, z) => {
|
|
4577
4719
|
z && !y && S();
|
|
@@ -4585,8 +4727,8 @@ const ja = /* @__PURE__ */ Z(ya, [["render", Ca]]), za = B({
|
|
|
4585
4727
|
setTotal: f,
|
|
4586
4728
|
setSize: L,
|
|
4587
4729
|
scrollTop: K,
|
|
4588
|
-
ROWS_PER_PAGE_OPTIONS:
|
|
4589
|
-
DEFAULT_ROWS_PER_PAGE:
|
|
4730
|
+
ROWS_PER_PAGE_OPTIONS: Yt,
|
|
4731
|
+
DEFAULT_ROWS_PER_PAGE: pt
|
|
4590
4732
|
}), {
|
|
4591
4733
|
t: r,
|
|
4592
4734
|
JQTableRef: a,
|
|
@@ -4609,20 +4751,20 @@ const ja = /* @__PURE__ */ Z(ya, [["render", Ca]]), za = B({
|
|
|
4609
4751
|
changeSize: q,
|
|
4610
4752
|
onPaginationChange: x,
|
|
4611
4753
|
formatColumnValue: ie,
|
|
4612
|
-
handleColumnClick:
|
|
4754
|
+
handleColumnClick: ce,
|
|
4613
4755
|
isClickable: Ne,
|
|
4614
|
-
getCellStyle:
|
|
4615
|
-
getCellClass:
|
|
4616
|
-
getCellLimitWidthStyle:
|
|
4617
|
-
getTooltipStyle:
|
|
4618
|
-
getTooltipClass:
|
|
4619
|
-
setEllipsisRef:
|
|
4620
|
-
shouldShowTooltip:
|
|
4756
|
+
getCellStyle: Re,
|
|
4757
|
+
getCellClass: Ve,
|
|
4758
|
+
getCellLimitWidthStyle: Ze,
|
|
4759
|
+
getTooltipStyle: We,
|
|
4760
|
+
getTooltipClass: xe,
|
|
4761
|
+
setEllipsisRef: Ge,
|
|
4762
|
+
shouldShowTooltip: Fe
|
|
4621
4763
|
};
|
|
4622
4764
|
}
|
|
4623
|
-
}),
|
|
4624
|
-
function
|
|
4625
|
-
const
|
|
4765
|
+
}), La = ["onClick"];
|
|
4766
|
+
function ka(e, t, n, l, r, a) {
|
|
4767
|
+
const s = N("q-th"), o = N("q-td"), i = N("q-tooltip"), c = N("q-inner-loading"), u = N("q-table"), g = N("Pagination");
|
|
4626
4768
|
return m(), b("div", {
|
|
4627
4769
|
class: "j-q-table-container",
|
|
4628
4770
|
style: H({
|
|
@@ -4670,23 +4812,23 @@ function Ta(e, t, n, l, r, a) {
|
|
|
4670
4812
|
e.hasSlot("header") ? {
|
|
4671
4813
|
name: "header",
|
|
4672
4814
|
fn: D((M) => [
|
|
4673
|
-
k(e.$slots, "header",
|
|
4815
|
+
k(e.$slots, "header", ue(me(M)))
|
|
4674
4816
|
]),
|
|
4675
4817
|
key: "1"
|
|
4676
4818
|
} : void 0,
|
|
4677
4819
|
e.hasSlot("body") ? {
|
|
4678
4820
|
name: "body",
|
|
4679
4821
|
fn: D((M) => [
|
|
4680
|
-
k(e.$slots, "body",
|
|
4822
|
+
k(e.$slots, "body", ue(me(M)))
|
|
4681
4823
|
]),
|
|
4682
4824
|
key: "2"
|
|
4683
4825
|
} : void 0,
|
|
4684
4826
|
ne(e.computedSlotHeaderCellColumns, (M) => ({
|
|
4685
4827
|
name: `header-cell-${M.name}`,
|
|
4686
4828
|
fn: D((d) => [
|
|
4687
|
-
j(
|
|
4829
|
+
j(s, { props: d }, {
|
|
4688
4830
|
default: D(() => [
|
|
4689
|
-
k(e.$slots, `header-cell-${M.name}`,
|
|
4831
|
+
k(e.$slots, `header-cell-${M.name}`, ue(me(d)))
|
|
4690
4832
|
]),
|
|
4691
4833
|
_: 2
|
|
4692
4834
|
}, 1032, ["props"])
|
|
@@ -4702,8 +4844,8 @@ function Ta(e, t, n, l, r, a) {
|
|
|
4702
4844
|
class: "cell-limit-width",
|
|
4703
4845
|
style: H(e.getCellLimitWidthStyle(M))
|
|
4704
4846
|
}, [
|
|
4705
|
-
k(e.$slots, `body-cell-${M.name}`,
|
|
4706
|
-
], 4)) : k(e.$slots, `body-cell-${M.name}`,
|
|
4847
|
+
k(e.$slots, `body-cell-${M.name}`, ue(me(d)))
|
|
4848
|
+
], 4)) : k(e.$slots, `body-cell-${M.name}`, ue(he({ key: 1 }, d)))
|
|
4707
4849
|
]),
|
|
4708
4850
|
_: 2
|
|
4709
4851
|
}, 1032, ["props"])
|
|
@@ -4735,7 +4877,7 @@ function Ta(e, t, n, l, r, a) {
|
|
|
4735
4877
|
class: V(e.getCellClass(M)),
|
|
4736
4878
|
ref: (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`)
|
|
4737
4879
|
}, h(e.formatColumnValue(M, d.value)), 3),
|
|
4738
|
-
e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(
|
|
4880
|
+
e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(i, {
|
|
4739
4881
|
key: 0,
|
|
4740
4882
|
style: H(e.getTooltipStyle()),
|
|
4741
4883
|
class: V(e.getTooltipClass()),
|
|
@@ -4766,8 +4908,8 @@ function Ta(e, t, n, l, r, a) {
|
|
|
4766
4908
|
class: V(["link-type", e.getCellClass(M)]),
|
|
4767
4909
|
ref: M.whiteSpace ? (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`) : void 0,
|
|
4768
4910
|
onClick: (p) => e.handleColumnClick(M, d.row)
|
|
4769
|
-
}, h(e.formatColumnValue(M, d.value)), 11,
|
|
4770
|
-
M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(
|
|
4911
|
+
}, h(e.formatColumnValue(M, d.value)), 11, La),
|
|
4912
|
+
M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(i, {
|
|
4771
4913
|
key: 0,
|
|
4772
4914
|
style: H(e.getTooltipStyle()),
|
|
4773
4915
|
class: V(e.getTooltipClass(M)),
|
|
@@ -4785,7 +4927,7 @@ function Ta(e, t, n, l, r, a) {
|
|
|
4785
4927
|
class: V(e.getCellClass(M)),
|
|
4786
4928
|
ref: M.whiteSpace ? (p) => e.setEllipsisRef(p, `${M.name}-${d.row[e.rowKey]}`) : void 0
|
|
4787
4929
|
}, h(e.formatColumnValue(M, d.value)), 3),
|
|
4788
|
-
M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(
|
|
4930
|
+
M.whiteSpace && e.shouldShowTooltip(`${M.name}-${d.row[e.rowKey]}`) ? (m(), Y(i, {
|
|
4789
4931
|
key: 0,
|
|
4790
4932
|
style: H(e.getTooltipStyle()),
|
|
4791
4933
|
class: V(e.getTooltipClass(M)),
|
|
@@ -4814,16 +4956,16 @@ function Ta(e, t, n, l, r, a) {
|
|
|
4814
4956
|
k(e.$slots, "append")
|
|
4815
4957
|
], 4);
|
|
4816
4958
|
}
|
|
4817
|
-
const
|
|
4959
|
+
const vs = /* @__PURE__ */ R(Sa, [["render", ka]]), Oa = B({
|
|
4818
4960
|
name: "dialogConfirmComponent",
|
|
4819
4961
|
components: {
|
|
4820
|
-
QDialog:
|
|
4821
|
-
QCard:
|
|
4822
|
-
QCardSection:
|
|
4823
|
-
|
|
4824
|
-
|
|
4962
|
+
QDialog: bt,
|
|
4963
|
+
QCard: ke,
|
|
4964
|
+
QCardSection: Le,
|
|
4965
|
+
QIcon: le,
|
|
4966
|
+
JQButton: Ee
|
|
4825
4967
|
},
|
|
4826
|
-
emits: [...
|
|
4968
|
+
emits: [...Dt.emits],
|
|
4827
4969
|
props: {
|
|
4828
4970
|
title: { type: String, default: "" },
|
|
4829
4971
|
content: { type: String, default: "" },
|
|
@@ -4834,7 +4976,7 @@ const Ts = /* @__PURE__ */ Z(za, [["render", Ta]]), ha = B({
|
|
|
4834
4976
|
color: { type: String, default: "" }
|
|
4835
4977
|
},
|
|
4836
4978
|
setup(e) {
|
|
4837
|
-
const { t } = X(), { dialogRef: n, onDialogHide: l, onDialogOK: r, onDialogCancel: a } =
|
|
4979
|
+
const { t } = X(), { dialogRef: n, onDialogHide: l, onDialogOK: r, onDialogCancel: a } = Dt(), s = C(() => e.confirmButtonText || t("action.confirm")), o = C(() => e.cancelButtonText || t("action.cancel")), i = C(() => e.color || (e.isDelete ? "negative" : "primary"));
|
|
4838
4980
|
return {
|
|
4839
4981
|
dialogRef: n,
|
|
4840
4982
|
onDialogHide: l,
|
|
@@ -4843,13 +4985,13 @@ const Ts = /* @__PURE__ */ Z(za, [["render", Ta]]), ha = B({
|
|
|
4843
4985
|
},
|
|
4844
4986
|
onCancelClick: a,
|
|
4845
4987
|
computedCancelText: o,
|
|
4846
|
-
computedConfirmText:
|
|
4847
|
-
computedButtonColor:
|
|
4988
|
+
computedConfirmText: s,
|
|
4989
|
+
computedButtonColor: i
|
|
4848
4990
|
};
|
|
4849
4991
|
}
|
|
4850
|
-
}),
|
|
4851
|
-
function
|
|
4852
|
-
const
|
|
4992
|
+
}), Ea = { class: "title" };
|
|
4993
|
+
function $a(e, t, n, l, r, a) {
|
|
4994
|
+
const s = N("q-icon"), o = N("q-card-section"), i = N("j-q-button"), c = N("q-card"), u = N("q-dialog");
|
|
4853
4995
|
return m(), Y(u, {
|
|
4854
4996
|
ref: "dialogRef",
|
|
4855
4997
|
onHide: e.onDialogHide,
|
|
@@ -4862,13 +5004,13 @@ function va(e, t, n, l, r, a) {
|
|
|
4862
5004
|
default: D(() => [
|
|
4863
5005
|
j(o, { class: "row items-center no-wrap" }, {
|
|
4864
5006
|
default: D(() => [
|
|
4865
|
-
e.isDelete ? (m(), Y(
|
|
5007
|
+
e.isDelete ? (m(), Y(s, {
|
|
4866
5008
|
key: 0,
|
|
4867
5009
|
name: "app:delete-confirm",
|
|
4868
5010
|
class: "q-mr-sm",
|
|
4869
5011
|
size: "24px"
|
|
4870
5012
|
})) : E("", !0),
|
|
4871
|
-
I("div",
|
|
5013
|
+
I("div", Ea, h(e.title), 1)
|
|
4872
5014
|
]),
|
|
4873
5015
|
_: 1
|
|
4874
5016
|
}),
|
|
@@ -4880,22 +5022,18 @@ function va(e, t, n, l, r, a) {
|
|
|
4880
5022
|
}),
|
|
4881
5023
|
j(o, { class: "row q-gutter-sm justify-end" }, {
|
|
4882
5024
|
default: D(() => [
|
|
4883
|
-
e.cancel ? (m(), Y(
|
|
5025
|
+
e.cancel ? (m(), Y(i, {
|
|
4884
5026
|
key: 0,
|
|
4885
|
-
outline: "",
|
|
4886
5027
|
label: e.computedCancelText,
|
|
4887
5028
|
onClick: e.onCancelClick,
|
|
4888
|
-
|
|
4889
|
-
ripple: !1,
|
|
5029
|
+
type: "secondary",
|
|
4890
5030
|
style: { "min-width": "80px" }
|
|
4891
5031
|
}, null, 8, ["label", "onClick"])) : E("", !0),
|
|
4892
|
-
j(
|
|
5032
|
+
j(i, {
|
|
4893
5033
|
color: e.computedButtonColor,
|
|
4894
5034
|
label: e.computedConfirmText,
|
|
4895
5035
|
onClick: e.onOKClick,
|
|
4896
|
-
|
|
4897
|
-
ripple: !1,
|
|
4898
|
-
unelevated: "",
|
|
5036
|
+
type: "primary",
|
|
4899
5037
|
style: { "min-width": "80px" }
|
|
4900
5038
|
}, null, 8, ["color", "label", "onClick"])
|
|
4901
5039
|
]),
|
|
@@ -4908,213 +5046,63 @@ function va(e, t, n, l, r, a) {
|
|
|
4908
5046
|
_: 1
|
|
4909
5047
|
}, 8, ["onHide"]);
|
|
4910
5048
|
}
|
|
4911
|
-
const
|
|
4912
|
-
let
|
|
4913
|
-
class
|
|
5049
|
+
const Ya = /* @__PURE__ */ R(Oa, [["render", $a], ["__scopeId", "data-v-655b721e"]]);
|
|
5050
|
+
let be = null;
|
|
5051
|
+
class Va {
|
|
4914
5052
|
/**
|
|
4915
5053
|
* 设置 Quasar 实例(在 rtcptInit 中调用)
|
|
4916
5054
|
*/
|
|
4917
5055
|
setQuasarInstance(t) {
|
|
4918
|
-
|
|
5056
|
+
be = t;
|
|
4919
5057
|
}
|
|
4920
5058
|
/**
|
|
4921
5059
|
* 弹出自定义确认对话框,返回一个 Promise,resolve(true) 表示确定,resolve(false) 表示取消/关闭。
|
|
4922
5060
|
*/
|
|
4923
|
-
async show({ title: t, color: n, content: l, confirmButtonText: r, cancelButtonText: a, showCancelButton:
|
|
4924
|
-
return
|
|
4925
|
-
|
|
4926
|
-
component:
|
|
4927
|
-
cancel:
|
|
5061
|
+
async show({ title: t, color: n, content: l, confirmButtonText: r, cancelButtonText: a, showCancelButton: s, isDelete: o }) {
|
|
5062
|
+
return be != null && be.dialog ? new Promise((i) => {
|
|
5063
|
+
be.dialog({
|
|
5064
|
+
component: Ya,
|
|
5065
|
+
cancel: s === void 0 ? !0 : s,
|
|
4928
5066
|
componentProps: {
|
|
4929
5067
|
title: t,
|
|
4930
5068
|
color: n,
|
|
4931
5069
|
content: l,
|
|
4932
5070
|
confirmButtonText: r,
|
|
4933
5071
|
cancelButtonText: a,
|
|
4934
|
-
cancel:
|
|
5072
|
+
cancel: s === void 0 ? !0 : s,
|
|
4935
5073
|
isDelete: o
|
|
4936
5074
|
}
|
|
4937
5075
|
}).onOk(() => {
|
|
4938
|
-
|
|
5076
|
+
i(!0);
|
|
4939
5077
|
}).onCancel(() => {
|
|
4940
|
-
|
|
5078
|
+
i(!1);
|
|
4941
5079
|
}).onDismiss(() => {
|
|
4942
5080
|
});
|
|
4943
5081
|
}) : (console.error("[JQConfirmDialog] Quasar Dialog plugin not available. Make sure rtcptInit has been called."), Promise.resolve(!1));
|
|
4944
5082
|
}
|
|
4945
5083
|
}
|
|
4946
|
-
const
|
|
4947
|
-
|
|
4948
|
-
components: {
|
|
4949
|
-
QBtn: ue,
|
|
4950
|
-
QTooltip: Le
|
|
4951
|
-
},
|
|
4952
|
-
inheritAttrs: !1,
|
|
4953
|
-
props: {
|
|
4954
|
-
/**
|
|
4955
|
-
* @description 按钮大小
|
|
4956
|
-
* @default large
|
|
4957
|
-
* @values {large, normal, small}
|
|
4958
|
-
*/
|
|
4959
|
-
size: {
|
|
4960
|
-
type: String,
|
|
4961
|
-
default: "large",
|
|
4962
|
-
validator: (e) => [
|
|
4963
|
-
"large",
|
|
4964
|
-
"normal",
|
|
4965
|
-
"small"
|
|
4966
|
-
/* SMALL */
|
|
4967
|
-
].includes(e)
|
|
4968
|
-
},
|
|
4969
|
-
/**
|
|
4970
|
-
* @description 按钮类型
|
|
4971
|
-
* @default primary
|
|
4972
|
-
* @values {primary, secondary, text, icon}
|
|
4973
|
-
*/
|
|
4974
|
-
type: {
|
|
4975
|
-
type: String,
|
|
4976
|
-
default: "primary",
|
|
4977
|
-
validator: (e) => [
|
|
4978
|
-
"primary",
|
|
4979
|
-
"secondary",
|
|
4980
|
-
"text"
|
|
4981
|
-
/* TEXT */
|
|
4982
|
-
].includes(e)
|
|
4983
|
-
},
|
|
4984
|
-
/**
|
|
4985
|
-
* @description 按钮标签
|
|
4986
|
-
* @default ''
|
|
4987
|
-
* @type {string}
|
|
4988
|
-
* @description 按钮标签
|
|
4989
|
-
*/
|
|
4990
|
-
label: { type: String, default: "" },
|
|
4991
|
-
/**
|
|
4992
|
-
* @description 按钮图标
|
|
4993
|
-
* @default undefined
|
|
4994
|
-
* @type {string}
|
|
4995
|
-
* @description 按钮图标
|
|
4996
|
-
*/
|
|
4997
|
-
icon: { type: String, default: void 0 },
|
|
4998
|
-
/**
|
|
4999
|
-
* @description 按钮加载状态
|
|
5000
|
-
* @default false
|
|
5001
|
-
* @type {boolean}
|
|
5002
|
-
* @description 按钮加载状态
|
|
5003
|
-
*/
|
|
5004
|
-
loading: { type: Boolean, default: !1 },
|
|
5005
|
-
/**
|
|
5006
|
-
* @description 按钮提示
|
|
5007
|
-
* @default ''
|
|
5008
|
-
* @type {string}
|
|
5009
|
-
* @description 按钮提示
|
|
5010
|
-
*/
|
|
5011
|
-
tips: { type: String, default: "" }
|
|
5012
|
-
},
|
|
5013
|
-
emits: {
|
|
5014
|
-
click: (e) => !0
|
|
5015
|
-
},
|
|
5016
|
-
setup(e, { emit: t, expose: n, slots: l }) {
|
|
5017
|
-
const r = T(null), a = C(() => ({ "j-q-button-label": (l.icon || e.icon) && (l.default || e.label) })), i = C(() => [
|
|
5018
|
-
"primary",
|
|
5019
|
-
"secondary"
|
|
5020
|
-
/* SECONDARY */
|
|
5021
|
-
].includes(e.type) ? {
|
|
5022
|
-
[`j-q-button--${{
|
|
5023
|
-
large: "lg",
|
|
5024
|
-
normal: "md",
|
|
5025
|
-
small: "sm"
|
|
5026
|
-
}[e.size]}`]: !0,
|
|
5027
|
-
"j-q-button": !0,
|
|
5028
|
-
"j-q-button--primary": e.type === "primary",
|
|
5029
|
-
"j-q-button--secondary": e.type === "secondary"
|
|
5030
|
-
/* SECONDARY */
|
|
5031
|
-
} : {
|
|
5032
|
-
"j-q-button--text": e.type === "text"
|
|
5033
|
-
/* TEXT */
|
|
5034
|
-
}), o = (s) => {
|
|
5035
|
-
t("click", s);
|
|
5036
|
-
};
|
|
5037
|
-
return n({}), {
|
|
5038
|
-
computedClass: i,
|
|
5039
|
-
iconPadding: a,
|
|
5040
|
-
click: o,
|
|
5041
|
-
qBtnRef: r
|
|
5042
|
-
};
|
|
5043
|
-
}
|
|
5044
|
-
}), Ea = {
|
|
5045
|
-
key: 0,
|
|
5046
|
-
class: "j-q-button-prefix-icon"
|
|
5047
|
-
};
|
|
5048
|
-
function $a(e, t, n, l, r, a) {
|
|
5049
|
-
const i = N("q-tooltip"), o = N("q-btn");
|
|
5050
|
-
return m(), Y(o, Te({
|
|
5051
|
-
class: e.computedClass,
|
|
5052
|
-
loading: e.loading
|
|
5053
|
-
}, e.$attrs, {
|
|
5054
|
-
icon: e.icon,
|
|
5055
|
-
onClick: e.click,
|
|
5056
|
-
unelevated: "",
|
|
5057
|
-
"no-caps": "",
|
|
5058
|
-
ripple: !1,
|
|
5059
|
-
ref: "qBtnRef"
|
|
5060
|
-
}), we({
|
|
5061
|
-
default: D(() => [
|
|
5062
|
-
!e.icon && e.$slots.icon ? (m(), b("span", Ea, [
|
|
5063
|
-
k(e.$slots, "icon", {}, void 0, !0)
|
|
5064
|
-
])) : E("", !0),
|
|
5065
|
-
I("span", {
|
|
5066
|
-
class: V(e.iconPadding)
|
|
5067
|
-
}, [
|
|
5068
|
-
k(e.$slots, "default", {}, () => [
|
|
5069
|
-
W(h(e.label), 1)
|
|
5070
|
-
], !0)
|
|
5071
|
-
], 2),
|
|
5072
|
-
e.tips ? (m(), Y(i, {
|
|
5073
|
-
key: 1,
|
|
5074
|
-
class: "j-q-button-tooltip",
|
|
5075
|
-
anchor: "top middle",
|
|
5076
|
-
self: "bottom middle",
|
|
5077
|
-
offset: [10, 6]
|
|
5078
|
-
}, {
|
|
5079
|
-
default: D(() => [
|
|
5080
|
-
W(h(e.tips), 1)
|
|
5081
|
-
]),
|
|
5082
|
-
_: 1
|
|
5083
|
-
})) : E("", !0)
|
|
5084
|
-
]),
|
|
5085
|
-
_: 2
|
|
5086
|
-
}, [
|
|
5087
|
-
e.$slots.loading ? {
|
|
5088
|
-
name: "loading",
|
|
5089
|
-
fn: D(() => [
|
|
5090
|
-
k(e.$slots, "loading", {}, void 0, !0)
|
|
5091
|
-
]),
|
|
5092
|
-
key: "0"
|
|
5093
|
-
} : void 0
|
|
5094
|
-
]), 1040, ["class", "loading", "icon", "onClick"]);
|
|
5095
|
-
}
|
|
5096
|
-
const hs = /* @__PURE__ */ Z(Oa, [["render", $a], ["__scopeId", "data-v-feb4cedd"]]);
|
|
5097
|
-
function Et(e, t = {}) {
|
|
5084
|
+
const Qa = new Va();
|
|
5085
|
+
function Vt(e, t = {}) {
|
|
5098
5086
|
if (!Array.isArray(e))
|
|
5099
5087
|
return [];
|
|
5100
5088
|
const { optionLabel: n = "label", optionValue: l = "value", optionChildren: r = "children" } = t;
|
|
5101
5089
|
return e.map((a) => {
|
|
5102
|
-
const
|
|
5103
|
-
label:
|
|
5090
|
+
const s = String(a[n] ?? ""), o = a[l], i = {
|
|
5091
|
+
label: s,
|
|
5104
5092
|
value: o,
|
|
5105
5093
|
row: a
|
|
5106
5094
|
// 保留原始对象
|
|
5107
5095
|
}, c = a[r];
|
|
5108
|
-
return Array.isArray(c) && c.length > 0 && (
|
|
5096
|
+
return Array.isArray(c) && c.length > 0 && (i.children = Vt(c, t)), i;
|
|
5109
5097
|
});
|
|
5110
5098
|
}
|
|
5111
|
-
const
|
|
5099
|
+
const Pa = (e, t) => {
|
|
5112
5100
|
const n = window.decodeURI(t), l = new Blob([e]);
|
|
5113
5101
|
if ("download" in document.createElement("a")) {
|
|
5114
5102
|
const r = document.createElement("a");
|
|
5115
5103
|
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);
|
|
5116
5104
|
}
|
|
5117
|
-
},
|
|
5105
|
+
}, qa = (e, t) => {
|
|
5118
5106
|
const n = /* @__PURE__ */ new Date(), l = [
|
|
5119
5107
|
n.getFullYear(),
|
|
5120
5108
|
String(n.getMonth() + 1).padStart(2, "0"),
|
|
@@ -5125,7 +5113,7 @@ const Ya = (e, t) => {
|
|
|
5125
5113
|
].join("");
|
|
5126
5114
|
return `${e}_${l}.${t.toLowerCase()}`;
|
|
5127
5115
|
};
|
|
5128
|
-
function
|
|
5116
|
+
function Ua(e) {
|
|
5129
5117
|
var t;
|
|
5130
5118
|
if (e === null || typeof e > "u")
|
|
5131
5119
|
return "";
|
|
@@ -5140,13 +5128,13 @@ function Qa(e) {
|
|
|
5140
5128
|
}
|
|
5141
5129
|
return e;
|
|
5142
5130
|
}
|
|
5143
|
-
function
|
|
5131
|
+
function Ba(e) {
|
|
5144
5132
|
return e === null || typeof e > "u" ? [] : typeof e != "string" ? [] : e.split(",").map((t) => t.trim()).filter(Boolean);
|
|
5145
5133
|
}
|
|
5146
|
-
function
|
|
5147
|
-
return e = Number(e) || 0,
|
|
5134
|
+
function Ra(e, t, n = "TB") {
|
|
5135
|
+
return e = Number(e) || 0, $e({ size: e, unit: t }, { maxUnit: n });
|
|
5148
5136
|
}
|
|
5149
|
-
function
|
|
5137
|
+
function Za(e, t) {
|
|
5150
5138
|
if (e === null || typeof e > "u")
|
|
5151
5139
|
return [];
|
|
5152
5140
|
let n;
|
|
@@ -5162,22 +5150,22 @@ function Ua(e, t) {
|
|
|
5162
5150
|
return [];
|
|
5163
5151
|
return Array.isArray(n) ? n.map((l) => l && typeof l == "object" && l[t] && typeof l[t] == "string" ? l[t] : null).filter((l) => l !== null) : [];
|
|
5164
5152
|
}
|
|
5165
|
-
const
|
|
5153
|
+
const Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5166
5154
|
__proto__: null,
|
|
5167
|
-
dataCvSize:
|
|
5168
|
-
obj2Arr:
|
|
5169
|
-
val2Str:
|
|
5170
|
-
valSplit:
|
|
5171
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5172
|
-
primary:
|
|
5173
|
-
blue:
|
|
5174
|
-
dark:
|
|
5175
|
-
green:
|
|
5176
|
-
red:
|
|
5177
|
-
negative:
|
|
5178
|
-
yellow:
|
|
5179
|
-
grey:
|
|
5180
|
-
white:
|
|
5155
|
+
dataCvSize: Ra,
|
|
5156
|
+
obj2Arr: Za,
|
|
5157
|
+
val2Str: Ua,
|
|
5158
|
+
valSplit: Ba
|
|
5159
|
+
}, Symbol.toStringTag, { value: "Module" })), xa = "#0B5CFF", Ga = "#0B5CFF", Fa = "#323232", Ha = "#2da641", Ja = "#E93030", Ka = "#E93030", Xa = "#f2c037", _a = "#969799", es = "#ffffff", ts = {
|
|
5160
|
+
primary: xa,
|
|
5161
|
+
blue: Ga,
|
|
5162
|
+
dark: Fa,
|
|
5163
|
+
green: Ha,
|
|
5164
|
+
red: Ja,
|
|
5165
|
+
negative: Ka,
|
|
5166
|
+
yellow: Xa,
|
|
5167
|
+
grey: _a,
|
|
5168
|
+
white: es,
|
|
5181
5169
|
"blue-light": "#f0f4ff",
|
|
5182
5170
|
"dark-lighter": "#f7f7f7",
|
|
5183
5171
|
"green-light": "#c0e4c6",
|
|
@@ -5188,105 +5176,105 @@ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5188
5176
|
"grey-light": "#eeeeee",
|
|
5189
5177
|
"grey-lighter": "#f5f6fa"
|
|
5190
5178
|
};
|
|
5191
|
-
function
|
|
5192
|
-
const { app: t, router: n, store: l, i18n: r, pagePermissionIds: a, pageActionPermissionIds:
|
|
5193
|
-
|
|
5179
|
+
function Ss(e) {
|
|
5180
|
+
const { app: t, router: n, store: l, i18n: r, pagePermissionIds: a, pageActionPermissionIds: s, defaultLanguage: o, colors: i } = e;
|
|
5181
|
+
os(t);
|
|
5194
5182
|
const c = t.config.globalProperties.$q;
|
|
5195
|
-
c ? (
|
|
5183
|
+
c ? (Dn(c), qe.setQuasarInstance(c), Qa.setQuasarInstance(c), ls(c)) : console.warn("[rtcpt] Quasar instance not found. Make sure you have installed Quasar."), o ? tt(o).catch((g) => {
|
|
5196
5184
|
console.error("[rtcpt] Failed to set default language:", g);
|
|
5197
|
-
}) :
|
|
5185
|
+
}) : tt("zh-CN").catch((g) => {
|
|
5198
5186
|
console.error("[rtcpt] Failed to load default locale:", g);
|
|
5199
5187
|
});
|
|
5200
|
-
const u =
|
|
5201
|
-
if (
|
|
5188
|
+
const u = Rn;
|
|
5189
|
+
if (Mt.configure({
|
|
5202
5190
|
router: n,
|
|
5203
5191
|
store: l,
|
|
5204
5192
|
i18n: r,
|
|
5205
5193
|
iconMapFn: u
|
|
5206
5194
|
}), a) {
|
|
5207
|
-
const g =
|
|
5208
|
-
console.log("[rtcpt] Permission IDs provided:", g.value), t.provide(
|
|
5195
|
+
const g = It(a) ? a : T(a);
|
|
5196
|
+
console.log("[rtcpt] Permission IDs provided:", g.value), t.provide(rt, g);
|
|
5209
5197
|
}
|
|
5210
|
-
if (
|
|
5211
|
-
const g =
|
|
5212
|
-
console.log("[rtcpt] Action Permission IDs provided:", g.value), t.provide(
|
|
5198
|
+
if (s) {
|
|
5199
|
+
const g = It(s) ? s : T(s);
|
|
5200
|
+
console.log("[rtcpt] Action Permission IDs provided:", g.value), t.provide(it, g);
|
|
5213
5201
|
}
|
|
5214
|
-
|
|
5202
|
+
i && c && ns(i), console.log("[rtcpt] Initialization started..."), c && (c.iconMapFn = Lt(c.iconMapFn, u)), console.log("[rtcpt] Initialization completed successfully.");
|
|
5215
5203
|
}
|
|
5216
|
-
function
|
|
5217
|
-
const n = { ...
|
|
5204
|
+
function ns(e, t) {
|
|
5205
|
+
const n = { ...ts, ...e }, l = document.documentElement;
|
|
5218
5206
|
Object.entries(n).forEach(([r, a]) => {
|
|
5219
5207
|
l.style.setProperty(`--j-color-${r}`, a);
|
|
5220
5208
|
}), 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);
|
|
5221
5209
|
}
|
|
5222
|
-
function
|
|
5210
|
+
function ls(e) {
|
|
5223
5211
|
const t = ["notify", "dialog"], n = [];
|
|
5224
5212
|
t.forEach((l) => {
|
|
5225
5213
|
e[l] || n.push(l);
|
|
5226
5214
|
}), 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 } })`);
|
|
5227
5215
|
}
|
|
5228
|
-
function
|
|
5216
|
+
function os(e) {
|
|
5229
5217
|
var n;
|
|
5230
5218
|
const t = (n = e == null ? void 0 : e._context) == null ? void 0 : n.directives;
|
|
5231
|
-
t != null && t["close-popup"] || e.directive("close-popup",
|
|
5219
|
+
t != null && t["close-popup"] || e.directive("close-popup", at);
|
|
5232
5220
|
}
|
|
5233
|
-
const
|
|
5234
|
-
transformTreeUseLabelAndValue:
|
|
5235
|
-
JQDownloadFile:
|
|
5236
|
-
generateDownloadFileName:
|
|
5237
|
-
...
|
|
5238
|
-
formRules:
|
|
5239
|
-
formUtils:
|
|
5221
|
+
const Ls = {
|
|
5222
|
+
transformTreeUseLabelAndValue: Vt,
|
|
5223
|
+
JQDownloadFile: Pa,
|
|
5224
|
+
generateDownloadFileName: qa,
|
|
5225
|
+
...To,
|
|
5226
|
+
formRules: Wn,
|
|
5227
|
+
formUtils: Wa
|
|
5240
5228
|
};
|
|
5241
5229
|
export {
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5230
|
+
Mt as DialogProvider,
|
|
5231
|
+
sn as JCCopy,
|
|
5232
|
+
rs as JCDuoListEditor,
|
|
5233
|
+
us as JCEditableProxy,
|
|
5234
|
+
ds as JCFallback,
|
|
5235
|
+
cs as JCFoldableList,
|
|
5236
|
+
Ms as JCFormatLookup,
|
|
5237
|
+
gs as JCListEditor,
|
|
5238
|
+
ms as JCMoreMenu,
|
|
5239
|
+
vt as JCPermission,
|
|
5240
|
+
ps as JCTabs,
|
|
5241
|
+
fs as JCTitleLine,
|
|
5242
|
+
kl as JCTree,
|
|
5243
|
+
ys as JCTreeSelect,
|
|
5244
|
+
Es as JChBar,
|
|
5245
|
+
$s as JChBarLine,
|
|
5246
|
+
Ys as JChBubble,
|
|
5247
|
+
Vs as JChLine,
|
|
5248
|
+
Qs as JChPieDoughnut,
|
|
5249
|
+
Ps as JChRadar,
|
|
5250
|
+
Is as JQAutocomplete,
|
|
5251
|
+
Ee as JQButton,
|
|
5252
|
+
Ds as JQConfirm,
|
|
5253
|
+
Qa as JQConfirmDialog,
|
|
5254
|
+
As as JQDate,
|
|
5255
|
+
Ns as JQDatetime,
|
|
5256
|
+
Cs as JQDetailList,
|
|
5257
|
+
Bn as JQDialog,
|
|
5258
|
+
js as JQFile,
|
|
5259
|
+
rl as JQFormLabel,
|
|
5260
|
+
kt as JQInput,
|
|
5261
|
+
qe as JQMessage,
|
|
5262
|
+
zs as JQNewValue,
|
|
5263
|
+
bs as JQOptionGroup,
|
|
5264
|
+
Ts as JQPopover,
|
|
5265
|
+
hs as JQSearchForm,
|
|
5266
|
+
ws as JQSelect,
|
|
5267
|
+
vs as JQTable,
|
|
5268
|
+
gt as JQTooltip,
|
|
5269
|
+
it as PAGE_ACTION_PERMISSION_KEY,
|
|
5270
|
+
rt as PAGE_PERMISSION_KEY,
|
|
5271
|
+
Lt as composeIconMapFn,
|
|
5272
|
+
Wa as formUtils,
|
|
5273
|
+
dt as getLocale,
|
|
5274
|
+
Ls as jqTool,
|
|
5275
|
+
Rn as rtcptIconMapFn,
|
|
5276
|
+
Ss as rtcptInit,
|
|
5277
|
+
tt as setLocale,
|
|
5278
|
+
St as t,
|
|
5291
5279
|
X as useI18n
|
|
5292
5280
|
};
|