@bsgoal/common 1.8.3 → 1.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Se = Object.defineProperty;
|
|
2
2
|
var Te = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var De = Object.prototype.hasOwnProperty, Oe = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var Ve = (e, s, a) => s in e ? Se(e, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[s] = a, he = (e, s) => {
|
|
5
5
|
for (var a in s || (s = {}))
|
|
6
|
-
|
|
6
|
+
De.call(s, a) && Ve(e, a, s[a]);
|
|
7
7
|
if (Te)
|
|
8
8
|
for (var a of Te(s))
|
|
9
|
-
|
|
9
|
+
Oe.call(s, a) && Ve(e, a, s[a]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { computed as
|
|
13
|
-
import { ElMessage as
|
|
12
|
+
import { computed as Z, resolveComponent as v, openBlock as n, createElementBlock as b, createVNode as C, withCtx as A, renderSlot as J, createTextVNode as G, toDisplayString as j, ref as w, watchEffect as pe, unref as c, createElementVNode as O, withDirectives as K, createBlock as y, Fragment as P, renderList as Q, createCommentVNode as $, nextTick as $e, inject as Ce, watch as _e, resolveDirective as Ie, normalizeClass as me, vShow as te, isProxy as Re, toRaw as Fe, provide as Ue, useSlots as Me, createSlots as Le, normalizeStyle as Pe } from "vue";
|
|
13
|
+
import { ElMessage as je } from "element-plus";
|
|
14
14
|
const l = {
|
|
15
15
|
INPUT: "text",
|
|
16
16
|
INPUT_NUMBER: "number",
|
|
@@ -33,8 +33,8 @@ const l = {
|
|
|
33
33
|
OPERATION: "operation",
|
|
34
34
|
CASCADER: "cascader"
|
|
35
35
|
};
|
|
36
|
-
let
|
|
37
|
-
const
|
|
36
|
+
let Ee = null;
|
|
37
|
+
const be = (e) => {
|
|
38
38
|
const s = [], a = [], i = (u = []) => {
|
|
39
39
|
const t = u.map((_) => _.width), d = Math.max(...t);
|
|
40
40
|
u.forEach((_) => {
|
|
@@ -48,30 +48,30 @@ const Ee = (e) => {
|
|
|
48
48
|
let t = 0;
|
|
49
49
|
u.forEach((d, _) => {
|
|
50
50
|
d.style.width = "initial", d.style.whiteSpace = "nowrap";
|
|
51
|
-
const { x: V = 0, width:
|
|
51
|
+
const { x: V = 0, width: M = 0 } = d.getBoundingClientRect(), S = { x: V, width: M, labelEl: d };
|
|
52
52
|
_ === 0 && (t = V), V === t ? s.push(S) : a.push(S);
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
Ee && clearTimeout(Ee), Ee = setTimeout(() => {
|
|
58
58
|
r(), i(s), i(a);
|
|
59
59
|
}, 50);
|
|
60
|
-
},
|
|
60
|
+
}, ye = {
|
|
61
61
|
/**
|
|
62
62
|
* 表单自动左对齐
|
|
63
63
|
*/
|
|
64
64
|
align: {
|
|
65
65
|
created(e) {
|
|
66
66
|
window.addEventListener("resize", () => {
|
|
67
|
-
|
|
67
|
+
be(e);
|
|
68
68
|
});
|
|
69
69
|
},
|
|
70
70
|
mounted(e) {
|
|
71
|
-
|
|
71
|
+
be(e);
|
|
72
72
|
},
|
|
73
73
|
unmounted(e) {
|
|
74
|
-
window.removeEventListener("resize",
|
|
74
|
+
window.removeEventListener("resize", be(e));
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
/**
|
|
@@ -84,9 +84,9 @@ const Ee = (e) => {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
|
-
const
|
|
87
|
+
const ze = { class: "bsgoal-base-tooltip" }, Ge = {
|
|
88
88
|
name: "BsgoalBaseTooltip"
|
|
89
|
-
},
|
|
89
|
+
}, Be = /* @__PURE__ */ Object.assign(Ge, {
|
|
90
90
|
props: {
|
|
91
91
|
/**
|
|
92
92
|
* 文字提示内容
|
|
@@ -126,19 +126,19 @@ const je = { class: "bsgoal-base-tooltip" }, ze = {
|
|
|
126
126
|
}
|
|
127
127
|
},
|
|
128
128
|
setup(e) {
|
|
129
|
-
const s = e, a =
|
|
129
|
+
const s = e, a = Z(() => {
|
|
130
130
|
const { content: r = "", limit: u = 0, none: t = "" } = s;
|
|
131
131
|
let d = r;
|
|
132
132
|
const _ = r.length;
|
|
133
133
|
return u && _ > u && (d = `${r.substring(0, u)}...`), d || t;
|
|
134
|
-
}), i =
|
|
134
|
+
}), i = Z(() => {
|
|
135
135
|
const { content: r = "", limit: u = 0 } = s;
|
|
136
136
|
return r.length < u || !u;
|
|
137
137
|
});
|
|
138
138
|
return (r, u) => {
|
|
139
|
-
const t =
|
|
140
|
-
return
|
|
141
|
-
|
|
139
|
+
const t = v("el-tooltip");
|
|
140
|
+
return n(), b("div", ze, [
|
|
141
|
+
C(t, {
|
|
142
142
|
class: "base_tooltip",
|
|
143
143
|
effect: "dark",
|
|
144
144
|
"popper-class": "base_tooltip_popper",
|
|
@@ -148,7 +148,7 @@ const je = { class: "bsgoal-base-tooltip" }, ze = {
|
|
|
148
148
|
}, {
|
|
149
149
|
default: A(() => [
|
|
150
150
|
J(r.$slots, "default", {}, () => [
|
|
151
|
-
|
|
151
|
+
G(j(a.value), 1)
|
|
152
152
|
])
|
|
153
153
|
]),
|
|
154
154
|
_: 3
|
|
@@ -157,9 +157,9 @@ const je = { class: "bsgoal-base-tooltip" }, ze = {
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const Ye = { class: "bsgoal-base-form" }, He = { class: "base_form" }, We = { key: 1 }, Xe = {
|
|
161
161
|
name: "BsgoalBaseForm"
|
|
162
|
-
},
|
|
162
|
+
}, Qe = /* @__PURE__ */ Object.assign(Xe, {
|
|
163
163
|
props: {
|
|
164
164
|
/**
|
|
165
165
|
* >----------props----------<
|
|
@@ -229,29 +229,29 @@ const Ge = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, He = { ke
|
|
|
229
229
|
},
|
|
230
230
|
emits: ["on-form", "on-clear", "on-change", "on-fold"],
|
|
231
231
|
setup(e, { expose: s, emit: a }) {
|
|
232
|
-
const i = e, r = w(null), u =
|
|
233
|
-
|
|
234
|
-
const { configOptions: h, values:
|
|
235
|
-
|
|
236
|
-
const { value:
|
|
237
|
-
[l.INPUT, l.INPUT_TEXT_AREA].includes(
|
|
238
|
-
const
|
|
239
|
-
|
|
232
|
+
const i = e, r = w(null), u = ye.align, t = w(i.bindModel);
|
|
233
|
+
pe(() => {
|
|
234
|
+
const { configOptions: h, values: x } = i, T = c(h), B = c(x);
|
|
235
|
+
T.forEach((m) => {
|
|
236
|
+
const { value: I = "", prop: N = "", type: L = "" } = m;
|
|
237
|
+
[l.INPUT, l.INPUT_TEXT_AREA].includes(L);
|
|
238
|
+
const F = c(t)[N];
|
|
239
|
+
t.value[N] = F || B[N] || I;
|
|
240
240
|
});
|
|
241
241
|
});
|
|
242
|
-
const d =
|
|
242
|
+
const d = Z(() => {
|
|
243
243
|
const { configOptions: h } = i;
|
|
244
|
-
return c(h).map((
|
|
245
|
-
let { rules:
|
|
246
|
-
const
|
|
247
|
-
return
|
|
244
|
+
return c(h).map((B) => {
|
|
245
|
+
let { rules: m = !1, label: I = "" } = B;
|
|
246
|
+
const N = { required: !0, message: `${I}不能为空`, trigger: "blur" };
|
|
247
|
+
return m && (typeof m == "boolean" ? m = [N] : Array.isArray(m) ? m = [N, ...m] : m = [N, m]), B.rules = m, B;
|
|
248
248
|
});
|
|
249
|
-
}), _ = (h = "",
|
|
250
|
-
if (!
|
|
249
|
+
}), _ = (h = "", x = "", T = "") => {
|
|
250
|
+
if (!T)
|
|
251
251
|
switch (h) {
|
|
252
252
|
case l.INPUT:
|
|
253
253
|
case l.INPUT_TEXT_AREA:
|
|
254
|
-
return `请输入${
|
|
254
|
+
return `请输入${x}`;
|
|
255
255
|
case l.SELECT:
|
|
256
256
|
case l.DATE:
|
|
257
257
|
case l.WEEK:
|
|
@@ -259,7 +259,7 @@ const Ge = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, He = { ke
|
|
|
259
259
|
case l.YEAR:
|
|
260
260
|
case l.DATE_TIME:
|
|
261
261
|
case l.TIME:
|
|
262
|
-
return `请选择${
|
|
262
|
+
return `请选择${x}`;
|
|
263
263
|
case l.DATE_RANGE:
|
|
264
264
|
case l.DATE_TIME_RANGE:
|
|
265
265
|
return ["开始日期", "结束日期"];
|
|
@@ -268,9 +268,9 @@ const Ge = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, He = { ke
|
|
|
268
268
|
case l.MONTH_RANGE:
|
|
269
269
|
return ["开始月份", "结束月份"];
|
|
270
270
|
}
|
|
271
|
-
return
|
|
272
|
-
}, V = (h = "",
|
|
273
|
-
if (!
|
|
271
|
+
return T;
|
|
272
|
+
}, V = (h = "", x = "") => {
|
|
273
|
+
if (!x)
|
|
274
274
|
switch (h) {
|
|
275
275
|
case l.WEEK:
|
|
276
276
|
return "ww";
|
|
@@ -290,239 +290,254 @@ const Ge = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, He = { ke
|
|
|
290
290
|
case l.DATE_TIME_RANGE:
|
|
291
291
|
return "YYYY-MM-DD HH:mm:ss";
|
|
292
292
|
}
|
|
293
|
-
return
|
|
294
|
-
},
|
|
295
|
-
const h = c(t), { configOptions:
|
|
296
|
-
for (const
|
|
297
|
-
const { type:
|
|
298
|
-
if (
|
|
299
|
-
const { 0:
|
|
300
|
-
h[
|
|
293
|
+
return x;
|
|
294
|
+
}, M = () => {
|
|
295
|
+
const h = c(t), { configOptions: x } = i, T = c(x);
|
|
296
|
+
for (const B of T) {
|
|
297
|
+
const { type: m = "", range: I = [], prop: N = "" } = B;
|
|
298
|
+
if (m.endsWith("range") && I && I.length === 2) {
|
|
299
|
+
const { 0: L = "", 1: F = "" } = h[N], { 0: Y = "", 1: R = "" } = I;
|
|
300
|
+
h[Y] = L, h[R] = F;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
return a("on-form", h), h;
|
|
304
304
|
}, S = () => {
|
|
305
305
|
r.value.resetFields(), a("on-clear", t.value);
|
|
306
|
-
}, k = (h,
|
|
307
|
-
const
|
|
306
|
+
}, k = (h, x) => {
|
|
307
|
+
const T = {
|
|
308
308
|
type: h,
|
|
309
|
-
prop:
|
|
310
|
-
value: t.value[
|
|
309
|
+
prop: x,
|
|
310
|
+
value: t.value[x] || ""
|
|
311
311
|
};
|
|
312
|
-
a("on-change",
|
|
312
|
+
a("on-change", T);
|
|
313
|
+
}, U = (h = () => {
|
|
314
|
+
}) => {
|
|
315
|
+
r.value.validate((x = !1, T = {}) => {
|
|
316
|
+
if (x) {
|
|
317
|
+
const B = M();
|
|
318
|
+
h(B);
|
|
319
|
+
} else {
|
|
320
|
+
h(!1);
|
|
321
|
+
const B = Object.keys(T)[0], {
|
|
322
|
+
[B]: {
|
|
323
|
+
0: { message: m = "" }
|
|
324
|
+
}
|
|
325
|
+
} = T;
|
|
326
|
+
je.error(m);
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
}, D = (h = [], x = "") => {
|
|
330
|
+
const { 0: T = {}, 1: B = {} } = h, { value: m = !1, label: I = "" } = T, { value: N = !1, label: L = "" } = B;
|
|
331
|
+
switch (x) {
|
|
332
|
+
case "active-value":
|
|
333
|
+
return m;
|
|
334
|
+
case "inactive-value":
|
|
335
|
+
return N;
|
|
336
|
+
case "active-text":
|
|
337
|
+
return I;
|
|
338
|
+
case "inactive-text":
|
|
339
|
+
return L;
|
|
340
|
+
}
|
|
313
341
|
};
|
|
314
342
|
return s({
|
|
315
343
|
triggerOperationClear: S,
|
|
316
|
-
triggerOperationForm:
|
|
317
|
-
validateForm:
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
} else {
|
|
324
|
-
h(!1);
|
|
325
|
-
const $ = Object.keys(x)[0], {
|
|
326
|
-
[$]: {
|
|
327
|
-
0: { message: C = "" }
|
|
328
|
-
}
|
|
329
|
-
} = x;
|
|
330
|
-
Pe.error(C);
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
}
|
|
334
|
-
}), (h, b) => {
|
|
335
|
-
const x = g("el-input"), $ = g("el-input-number"), C = g("el-radio"), E = g("el-radio-group"), O = g("el-option"), I = g("el-select"), U = g("el-slider"), L = g("el-switch"), G = g("el-date-picker"), F = g("el-time-picker"), Z = g("el-checkbox"), q = g("el-checkbox-group"), ne = g("el-form-item"), oe = g("el-col"), re = g("el-row"), ie = g("el-form");
|
|
336
|
-
return o(), p("div", Ge, [
|
|
337
|
-
D("div", Ye, [
|
|
338
|
-
Q((o(), y(ie, {
|
|
344
|
+
triggerOperationForm: M,
|
|
345
|
+
validateForm: U
|
|
346
|
+
}), (h, x) => {
|
|
347
|
+
const T = v("el-input"), B = v("el-input-number"), m = v("el-radio"), I = v("el-radio-group"), N = v("el-option"), L = v("el-select"), F = v("el-slider"), Y = v("el-switch"), R = v("el-date-picker"), H = v("el-time-picker"), ee = v("el-checkbox"), ae = v("el-checkbox-group"), le = v("el-form-item"), ce = v("el-col"), re = v("el-row"), se = v("el-form");
|
|
348
|
+
return n(), b("div", Ye, [
|
|
349
|
+
O("div", He, [
|
|
350
|
+
K((n(), y(se, {
|
|
339
351
|
ref_key: "EL_FORM_REF",
|
|
340
352
|
ref: r,
|
|
341
353
|
"label-suffix": ":",
|
|
342
354
|
model: t.value
|
|
343
355
|
}, {
|
|
344
356
|
default: A(() => [
|
|
345
|
-
|
|
357
|
+
C(re, null, {
|
|
346
358
|
default: A(() => [
|
|
347
|
-
(
|
|
348
|
-
label:
|
|
349
|
-
prop:
|
|
350
|
-
type:
|
|
351
|
-
placeholder:
|
|
352
|
-
readonly:
|
|
353
|
-
clearable:
|
|
354
|
-
rows:
|
|
355
|
-
min:
|
|
356
|
-
max:
|
|
357
|
-
range:
|
|
358
|
-
format:
|
|
359
|
-
rules:
|
|
360
|
-
limit:
|
|
361
|
-
} = {},
|
|
362
|
-
key:
|
|
359
|
+
(n(!0), b(P, null, Q(d.value, ({
|
|
360
|
+
label: W = "",
|
|
361
|
+
prop: f = "",
|
|
362
|
+
type: o = "text",
|
|
363
|
+
placeholder: g = "",
|
|
364
|
+
readonly: z = e.readonlys,
|
|
365
|
+
clearable: ge = !0,
|
|
366
|
+
rows: fe = 2,
|
|
367
|
+
min: ve = 1,
|
|
368
|
+
max: ie = 10,
|
|
369
|
+
range: q = [],
|
|
370
|
+
format: X = "",
|
|
371
|
+
rules: ne = [],
|
|
372
|
+
limit: ue = e.limits
|
|
373
|
+
} = {}, E) => (n(), y(ce, {
|
|
374
|
+
key: E,
|
|
363
375
|
xs: 24,
|
|
364
376
|
sm: 24,
|
|
365
377
|
md: e.medium
|
|
366
378
|
}, {
|
|
367
379
|
default: A(() => [
|
|
368
|
-
|
|
369
|
-
label:
|
|
370
|
-
prop:
|
|
371
|
-
rules:
|
|
380
|
+
C(le, {
|
|
381
|
+
label: W,
|
|
382
|
+
prop: f,
|
|
383
|
+
rules: ne
|
|
372
384
|
}, {
|
|
373
385
|
default: A(() => [
|
|
374
|
-
J(h.$slots, [
|
|
375
|
-
option: { readonly:
|
|
386
|
+
J(h.$slots, [f], {
|
|
387
|
+
option: { readonly: z, value: t.value[f], values: t.value }
|
|
376
388
|
}, () => [
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
content: t.value[
|
|
380
|
-
limit:
|
|
389
|
+
z ? (n(), b("div", We, [
|
|
390
|
+
C(Be, {
|
|
391
|
+
content: t.value[f],
|
|
392
|
+
limit: ue,
|
|
381
393
|
none: e.none
|
|
382
394
|
}, null, 8, ["content", "limit", "none"])
|
|
383
|
-
])) : (
|
|
384
|
-
|
|
395
|
+
])) : (n(), b(P, { key: 0 }, [
|
|
396
|
+
o === c(l).INPUT ? (n(), y(T, {
|
|
385
397
|
key: 0,
|
|
386
|
-
modelValue: t.value[
|
|
387
|
-
"onUpdate:modelValue": (
|
|
388
|
-
placeholder: _(
|
|
389
|
-
clearable:
|
|
390
|
-
onChange: (
|
|
391
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) :
|
|
392
|
-
|
|
398
|
+
modelValue: t.value[f],
|
|
399
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
400
|
+
placeholder: _(o, W, g),
|
|
401
|
+
clearable: ge,
|
|
402
|
+
onChange: (p) => k(o, f)
|
|
403
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
|
|
404
|
+
o === c(l).INPUT_TEXT_AREA ? (n(), y(T, {
|
|
393
405
|
key: 1,
|
|
394
|
-
modelValue: t.value[
|
|
395
|
-
"onUpdate:modelValue": (
|
|
406
|
+
modelValue: t.value[f],
|
|
407
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
396
408
|
type: "textarea",
|
|
397
|
-
rows:
|
|
398
|
-
clearable:
|
|
399
|
-
placeholder: _(
|
|
400
|
-
onChange: (
|
|
401
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) :
|
|
402
|
-
|
|
409
|
+
rows: fe,
|
|
410
|
+
clearable: ge,
|
|
411
|
+
placeholder: _(o, W, g),
|
|
412
|
+
onChange: (p) => k(o, f)
|
|
413
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
|
|
414
|
+
o === c(l).INPUT_NUMBER ? (n(), y(B, {
|
|
403
415
|
key: 2,
|
|
404
|
-
modelValue:
|
|
405
|
-
"onUpdate:modelValue":
|
|
406
|
-
|
|
407
|
-
|
|
416
|
+
modelValue: t.value[f],
|
|
417
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
418
|
+
"controls-position": "right",
|
|
419
|
+
min: ve,
|
|
420
|
+
max: ie,
|
|
408
421
|
onChange: k
|
|
409
|
-
}, null, 8, ["modelValue", "min", "max"])) :
|
|
410
|
-
|
|
422
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max"])) : $("", !0),
|
|
423
|
+
o === c(l).RADIO ? (n(), y(I, {
|
|
411
424
|
key: 3,
|
|
412
|
-
modelValue: t.value[
|
|
413
|
-
"onUpdate:modelValue": (
|
|
414
|
-
onChange: (
|
|
425
|
+
modelValue: t.value[f],
|
|
426
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
427
|
+
onChange: (p) => k(o, f)
|
|
415
428
|
}, {
|
|
416
429
|
default: A(() => [
|
|
417
|
-
(
|
|
418
|
-
key:
|
|
419
|
-
label:
|
|
430
|
+
(n(!0), b(P, null, Q(q, (p, de) => (n(), y(m, {
|
|
431
|
+
key: de,
|
|
432
|
+
label: p.value
|
|
420
433
|
}, {
|
|
421
434
|
default: A(() => [
|
|
422
|
-
|
|
435
|
+
G(j(p.label), 1)
|
|
423
436
|
]),
|
|
424
437
|
_: 2
|
|
425
438
|
}, 1032, ["label"]))), 128))
|
|
426
439
|
]),
|
|
427
440
|
_: 2
|
|
428
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
429
|
-
|
|
441
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
442
|
+
o === c(l).SELECT ? (n(), y(L, {
|
|
430
443
|
key: 4,
|
|
431
|
-
modelValue: t.value[
|
|
432
|
-
"onUpdate:modelValue": (
|
|
433
|
-
placeholder: _(
|
|
434
|
-
onChange: (
|
|
444
|
+
modelValue: t.value[f],
|
|
445
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
446
|
+
placeholder: _(o, W, g),
|
|
447
|
+
onChange: (p) => k(o, f)
|
|
435
448
|
}, {
|
|
436
449
|
default: A(() => [
|
|
437
|
-
(
|
|
438
|
-
key:
|
|
439
|
-
label:
|
|
440
|
-
value:
|
|
450
|
+
(n(!0), b(P, null, Q(q, (p, de) => (n(), y(N, {
|
|
451
|
+
key: de,
|
|
452
|
+
label: p.label,
|
|
453
|
+
value: p.value
|
|
441
454
|
}, null, 8, ["label", "value"]))), 128))
|
|
442
455
|
]),
|
|
443
456
|
_: 2
|
|
444
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) :
|
|
445
|
-
|
|
457
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
|
|
458
|
+
o === c(l).SLIDER ? (n(), y(F, {
|
|
446
459
|
key: 5,
|
|
447
|
-
modelValue: t.value[
|
|
448
|
-
"onUpdate:modelValue": (
|
|
449
|
-
min:
|
|
450
|
-
max:
|
|
451
|
-
onChange: (
|
|
452
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) :
|
|
453
|
-
|
|
460
|
+
modelValue: t.value[f],
|
|
461
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
462
|
+
min: ve,
|
|
463
|
+
max: ie,
|
|
464
|
+
onChange: (p) => k(o, f)
|
|
465
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
|
|
466
|
+
o === c(l).SWITCH ? (n(), y(Y, {
|
|
454
467
|
key: 6,
|
|
455
|
-
modelValue: t.value[
|
|
456
|
-
"onUpdate:modelValue": (
|
|
457
|
-
"active-value":
|
|
458
|
-
"inactive-value":
|
|
459
|
-
|
|
460
|
-
|
|
468
|
+
modelValue: t.value[f],
|
|
469
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
470
|
+
"active-value": D(q, "active-value"),
|
|
471
|
+
"inactive-value": D(q, "inactive-value"),
|
|
472
|
+
"active-text": D(q, "active-text"),
|
|
473
|
+
"inactive-text": D(q, "inactive-text"),
|
|
474
|
+
onChange: (p) => k(o, f)
|
|
475
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "active-text", "inactive-text", "onChange"])) : $("", !0),
|
|
461
476
|
[c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
|
|
462
|
-
|
|
463
|
-
) ? (
|
|
477
|
+
o
|
|
478
|
+
) ? (n(), y(R, {
|
|
464
479
|
key: 7,
|
|
465
|
-
modelValue: t.value[
|
|
466
|
-
"onUpdate:modelValue": (
|
|
467
|
-
format: V(
|
|
468
|
-
"value-format": V(
|
|
469
|
-
type:
|
|
470
|
-
placeholder: _(
|
|
471
|
-
onChange: (
|
|
472
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) :
|
|
480
|
+
modelValue: t.value[f],
|
|
481
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
482
|
+
format: V(o, X),
|
|
483
|
+
"value-format": V(o, X),
|
|
484
|
+
type: o,
|
|
485
|
+
placeholder: _(o, W, g),
|
|
486
|
+
onChange: (p) => k(o, f)
|
|
487
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
|
|
473
488
|
[
|
|
474
489
|
c(l).DATE_RANGE,
|
|
475
490
|
c(l).MONTH_RANGE,
|
|
476
491
|
c(l).DATE_TIME_RANGE
|
|
477
|
-
].includes(
|
|
492
|
+
].includes(o) ? (n(), y(R, {
|
|
478
493
|
key: 8,
|
|
479
|
-
modelValue: t.value[
|
|
480
|
-
"onUpdate:modelValue": (
|
|
481
|
-
type:
|
|
482
|
-
"value-format": V(
|
|
483
|
-
"start-placeholder": _(
|
|
484
|
-
"end-placeholder": _(
|
|
485
|
-
onChange: (
|
|
486
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
487
|
-
[c(l).TIME].includes(
|
|
494
|
+
modelValue: t.value[f],
|
|
495
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
496
|
+
type: o,
|
|
497
|
+
"value-format": V(o, X),
|
|
498
|
+
"start-placeholder": _(o, W, g)[0],
|
|
499
|
+
"end-placeholder": _(o, W, g)[1],
|
|
500
|
+
onChange: (p) => k(o, f)
|
|
501
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
502
|
+
[c(l).TIME].includes(o) ? (n(), y(H, {
|
|
488
503
|
key: 9,
|
|
489
|
-
modelValue: t.value[
|
|
490
|
-
"onUpdate:modelValue": (
|
|
504
|
+
modelValue: t.value[f],
|
|
505
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
491
506
|
"arrow-control": "",
|
|
492
|
-
"value-format": V(
|
|
493
|
-
placeholder: _(
|
|
494
|
-
onChange: (
|
|
495
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) :
|
|
496
|
-
[c(l).TIME_RANGE].includes(
|
|
507
|
+
"value-format": V(o, X),
|
|
508
|
+
placeholder: _(o, W, g),
|
|
509
|
+
onChange: (p) => k(o, f)
|
|
510
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
|
|
511
|
+
[c(l).TIME_RANGE].includes(o) ? (n(), y(H, {
|
|
497
512
|
key: 10,
|
|
498
|
-
modelValue: t.value[
|
|
499
|
-
"onUpdate:modelValue": (
|
|
513
|
+
modelValue: t.value[f],
|
|
514
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
500
515
|
"is-range": "",
|
|
501
|
-
"value-format": V(
|
|
502
|
-
"start-placeholder": _(
|
|
503
|
-
"end-placeholder": _(
|
|
504
|
-
onChange: (
|
|
505
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
506
|
-
[c(l).CHECKBOX].includes(
|
|
516
|
+
"value-format": V(o, X),
|
|
517
|
+
"start-placeholder": _(o, W, g)[0],
|
|
518
|
+
"end-placeholder": _(o, W, g)[1],
|
|
519
|
+
onChange: (p) => k(o, f)
|
|
520
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
521
|
+
[c(l).CHECKBOX].includes(o) ? (n(), y(ae, {
|
|
507
522
|
key: 11,
|
|
508
|
-
modelValue: t.value[
|
|
509
|
-
"onUpdate:modelValue": (
|
|
510
|
-
onChange: (
|
|
523
|
+
modelValue: t.value[f],
|
|
524
|
+
"onUpdate:modelValue": (p) => t.value[f] = p,
|
|
525
|
+
onChange: (p) => k(o, f)
|
|
511
526
|
}, {
|
|
512
527
|
default: A(() => [
|
|
513
|
-
(
|
|
514
|
-
key:
|
|
515
|
-
label:
|
|
528
|
+
(n(!0), b(P, null, Q(q, (p, de) => (n(), y(ee, {
|
|
529
|
+
key: de,
|
|
530
|
+
label: p.value
|
|
516
531
|
}, {
|
|
517
532
|
default: A(() => [
|
|
518
|
-
|
|
533
|
+
G(j(p.label), 1)
|
|
519
534
|
]),
|
|
520
535
|
_: 2
|
|
521
536
|
}, 1032, ["label"]))), 128))
|
|
522
537
|
]),
|
|
523
538
|
_: 2
|
|
524
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
525
|
-
[].includes(
|
|
539
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
540
|
+
[].includes(o) ? (n(), b(P, { key: 12 }, [], 64)) : $("", !0)
|
|
526
541
|
], 64))
|
|
527
542
|
])
|
|
528
543
|
]),
|
|
@@ -544,12 +559,12 @@ const Ge = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, He = { ke
|
|
|
544
559
|
};
|
|
545
560
|
}
|
|
546
561
|
});
|
|
547
|
-
const
|
|
562
|
+
const Ze = { class: "bsgoal-base-table-content" }, Ke = { class: "base_table_content" }, Je = {
|
|
548
563
|
key: 1,
|
|
549
564
|
class: "base_table_table_txt"
|
|
550
|
-
},
|
|
565
|
+
}, qe = {
|
|
551
566
|
name: "BsgoalBaseTableContent"
|
|
552
|
-
},
|
|
567
|
+
}, et = /* @__PURE__ */ Object.assign(qe, {
|
|
553
568
|
props: {
|
|
554
569
|
/**
|
|
555
570
|
* 数据
|
|
@@ -574,19 +589,19 @@ const Qe = { class: "bsgoal-base-table-content" }, Ze = { class: "base_table_con
|
|
|
574
589
|
}
|
|
575
590
|
},
|
|
576
591
|
setup(e) {
|
|
577
|
-
return (s, a) => (
|
|
578
|
-
|
|
579
|
-
e.tooltip ? (
|
|
592
|
+
return (s, a) => (n(), b("div", Ze, [
|
|
593
|
+
O("div", Ke, [
|
|
594
|
+
e.tooltip ? (n(), y(Be, {
|
|
580
595
|
key: 0,
|
|
581
596
|
content: e.data,
|
|
582
597
|
limit: e.limit
|
|
583
|
-
}, null, 8, ["content", "limit"])) : (
|
|
598
|
+
}, null, 8, ["content", "limit"])) : (n(), b("div", Je, j(e.data), 1))
|
|
584
599
|
])
|
|
585
600
|
]));
|
|
586
601
|
}
|
|
587
602
|
});
|
|
588
603
|
/*! Element Plus v2.3.4 */
|
|
589
|
-
var
|
|
604
|
+
var tt = {
|
|
590
605
|
name: "zh-cn",
|
|
591
606
|
el: {
|
|
592
607
|
colorpicker: {
|
|
@@ -713,9 +728,9 @@ var et = {
|
|
|
713
728
|
}
|
|
714
729
|
}
|
|
715
730
|
};
|
|
716
|
-
const
|
|
731
|
+
const at = { class: "bsgoal-base-table-pagination" }, lt = { class: "base_table_pagination" }, nt = /* @__PURE__ */ O("span", null, "总数", -1), ot = {
|
|
717
732
|
name: "BsgoalBaseTablePagination"
|
|
718
|
-
},
|
|
733
|
+
}, st = /* @__PURE__ */ Object.assign(ot, {
|
|
719
734
|
props: {
|
|
720
735
|
/**
|
|
721
736
|
* 当前页数
|
|
@@ -754,12 +769,12 @@ const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_
|
|
|
754
769
|
s("on-current-change", u);
|
|
755
770
|
}, r = w(1);
|
|
756
771
|
return (u, t) => {
|
|
757
|
-
const d =
|
|
758
|
-
return
|
|
759
|
-
|
|
760
|
-
|
|
772
|
+
const d = v("el-pagination"), _ = v("el-config-provider");
|
|
773
|
+
return n(), b("div", at, [
|
|
774
|
+
O("div", lt, [
|
|
775
|
+
C(_, { locale: c(tt) }, {
|
|
761
776
|
default: A(() => [
|
|
762
|
-
|
|
777
|
+
C(d, {
|
|
763
778
|
background: "",
|
|
764
779
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
765
780
|
"current-page": r.value,
|
|
@@ -771,7 +786,7 @@ const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_
|
|
|
771
786
|
onCurrentChange: i
|
|
772
787
|
}, {
|
|
773
788
|
next: A(() => [
|
|
774
|
-
|
|
789
|
+
nt
|
|
775
790
|
]),
|
|
776
791
|
_: 1
|
|
777
792
|
}, 8, ["current-page", "page-sizes", "page-size", "total"])
|
|
@@ -783,39 +798,39 @@ const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_
|
|
|
783
798
|
};
|
|
784
799
|
}
|
|
785
800
|
});
|
|
786
|
-
const
|
|
801
|
+
const we = (e, s) => {
|
|
787
802
|
const a = e.__vccOpts || e;
|
|
788
803
|
for (const [i, r] of s)
|
|
789
804
|
a[i] = r;
|
|
790
805
|
return a;
|
|
791
|
-
},
|
|
806
|
+
}, ut = {
|
|
792
807
|
name: "BsgoalBaseTableEmpty"
|
|
793
|
-
},
|
|
794
|
-
/* @__PURE__ */
|
|
795
|
-
/* @__PURE__ */
|
|
808
|
+
}, ct = { class: "bsgoal-base-table-empty" }, rt = /* @__PURE__ */ O("div", { class: "base_table_empty" }, [
|
|
809
|
+
/* @__PURE__ */ O("div", { class: "base_table_empty_img" }, [
|
|
810
|
+
/* @__PURE__ */ O("img", {
|
|
796
811
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
|
|
797
812
|
alt: ""
|
|
798
813
|
})
|
|
799
814
|
]),
|
|
800
|
-
/* @__PURE__ */
|
|
801
|
-
], -1),
|
|
802
|
-
|
|
815
|
+
/* @__PURE__ */ O("div", { class: "base_table_empty_text" }, "暂无数据")
|
|
816
|
+
], -1), it = [
|
|
817
|
+
rt
|
|
803
818
|
];
|
|
804
|
-
function
|
|
805
|
-
return
|
|
819
|
+
function dt(e, s, a, i, r, u) {
|
|
820
|
+
return n(), b("div", ct, it);
|
|
806
821
|
}
|
|
807
|
-
const
|
|
822
|
+
const _t = /* @__PURE__ */ we(ut, [["render", dt]]), mt = (e = null, { expression: s = 75, arg: a = {}, height: i = "" } = {}) => {
|
|
808
823
|
const r = c(e);
|
|
809
824
|
if (r) {
|
|
810
825
|
const u = r.querySelector(".el-table");
|
|
811
|
-
u &&
|
|
826
|
+
u && $e(() => {
|
|
812
827
|
const { y: t = 0 } = u.getBoundingClientRect();
|
|
813
828
|
let d = `calc(100vh - ${t + s}px)`;
|
|
814
829
|
const _ = Number.parseInt(i);
|
|
815
830
|
i && (_ ? d = `${i}px` : d = i), u.style.height = d;
|
|
816
831
|
});
|
|
817
832
|
}
|
|
818
|
-
},
|
|
833
|
+
}, xe = (e = Promise.resolve(), s = null, a = w(!1), i = w(null)) => {
|
|
819
834
|
const r = w("");
|
|
820
835
|
return a.value = !0, e.then((u = {}) => {
|
|
821
836
|
const { data: t = {}, message: d = "" } = u;
|
|
@@ -830,7 +845,7 @@ const dt = /* @__PURE__ */ Be(st, [["render", it]]), _t = (e = null, { expressio
|
|
|
830
845
|
}).finally(() => {
|
|
831
846
|
a.value = !1;
|
|
832
847
|
}), { data: i, message: r, loading: a };
|
|
833
|
-
},
|
|
848
|
+
}, gt = (e = null) => {
|
|
834
849
|
switch (toString.apply(e)) {
|
|
835
850
|
case "[object Object]":
|
|
836
851
|
return "object";
|
|
@@ -847,13 +862,13 @@ const dt = /* @__PURE__ */ Be(st, [["render", it]]), _t = (e = null, { expressio
|
|
|
847
862
|
case "[object Undefind]":
|
|
848
863
|
return "undefind";
|
|
849
864
|
}
|
|
850
|
-
},
|
|
851
|
-
const
|
|
865
|
+
}, ft = (e) => gt(e) === "boolean";
|
|
866
|
+
const vt = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, ht = {
|
|
852
867
|
key: 0,
|
|
853
868
|
class: "base_table_menu"
|
|
854
|
-
},
|
|
869
|
+
}, Et = {
|
|
855
870
|
name: "BsgoalBaseTable"
|
|
856
|
-
}, Ne = /* @__PURE__ */ Object.assign(
|
|
871
|
+
}, Ne = /* @__PURE__ */ Object.assign(Et, {
|
|
857
872
|
props: {
|
|
858
873
|
/**
|
|
859
874
|
* >----------props----------<
|
|
@@ -960,61 +975,61 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
|
|
|
960
975
|
}
|
|
961
976
|
},
|
|
962
977
|
setup(e, { expose: s }) {
|
|
963
|
-
const a = e, i =
|
|
964
|
-
const { configOptions:
|
|
965
|
-
return
|
|
978
|
+
const a = e, i = Z(() => {
|
|
979
|
+
const { configOptions: m = [], operation: I = !1, operationWidth: N = 0 } = a, L = c(m), F = [];
|
|
980
|
+
return I && F.push({
|
|
966
981
|
label: "操作",
|
|
967
982
|
fixed: "right",
|
|
968
983
|
prop: "operation",
|
|
969
|
-
width:
|
|
970
|
-
}), [...
|
|
971
|
-
}), r = w(null), u =
|
|
972
|
-
|
|
973
|
-
const { height:
|
|
974
|
-
|
|
984
|
+
width: N
|
|
985
|
+
}), [...L, ...F];
|
|
986
|
+
}), r = w(null), u = Ce("transferFoldStatus");
|
|
987
|
+
pe(() => {
|
|
988
|
+
const { height: m } = a, I = u ? u.value : !1, N = c(a.expression);
|
|
989
|
+
ft(m) || mt(r, { arg: I, expression: N, height: m });
|
|
975
990
|
});
|
|
976
|
-
const t = c(a.mapProps), d =
|
|
991
|
+
const t = c(a.mapProps), d = he({
|
|
977
992
|
currentPage: "currentPage",
|
|
978
993
|
pageSize: "pageSize",
|
|
979
994
|
rows: "rows",
|
|
980
995
|
total: "total"
|
|
981
|
-
}, t), _ = w(1), V = w(10),
|
|
982
|
-
const { fetch:
|
|
983
|
-
|
|
996
|
+
}, t), _ = w(1), V = w(10), M = w(0), S = w({}), k = w(a.loading), U = w(), D = w({}), h = () => {
|
|
997
|
+
const { fetch: m, call: I, hasPage: N } = a, L = S.value, F = _.value, Y = V.value, R = he({}, L);
|
|
998
|
+
N && (R[d.currentPage] = F, R[d.pageSize] = Y), xe(m(R), I, k, D);
|
|
984
999
|
};
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
}), _e(
|
|
988
|
-
a.hasPage ? (
|
|
1000
|
+
pe(() => {
|
|
1001
|
+
U.value = a.data;
|
|
1002
|
+
}), _e(D, (m) => {
|
|
1003
|
+
a.hasPage ? (U.value = m[d.rows], M.value = m[d.total]) : U.value = m;
|
|
989
1004
|
});
|
|
990
|
-
const x = (
|
|
991
|
-
S.value =
|
|
992
|
-
},
|
|
993
|
-
_.value =
|
|
994
|
-
},
|
|
995
|
-
V.value =
|
|
1005
|
+
const x = (m = {}) => {
|
|
1006
|
+
S.value = m, _.value = 1, h();
|
|
1007
|
+
}, T = (m = 1) => {
|
|
1008
|
+
_.value = m;
|
|
1009
|
+
}, B = (m = 10) => {
|
|
1010
|
+
V.value = m;
|
|
996
1011
|
};
|
|
997
1012
|
return _e([_, V], () => {
|
|
998
|
-
|
|
1013
|
+
h();
|
|
999
1014
|
}), s({
|
|
1000
1015
|
refreshList: x
|
|
1001
|
-
}), (
|
|
1002
|
-
const
|
|
1003
|
-
return
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
J(
|
|
1007
|
-
])) :
|
|
1008
|
-
|
|
1016
|
+
}), (m, I) => {
|
|
1017
|
+
const N = v("el-table-column"), L = v("el-table"), F = Ie("loading");
|
|
1018
|
+
return n(), b("div", vt, [
|
|
1019
|
+
O("div", pt, [
|
|
1020
|
+
m.$slots.menu ? (n(), b("div", ht, [
|
|
1021
|
+
J(m.$slots, "menu")
|
|
1022
|
+
])) : $("", !0),
|
|
1023
|
+
O("div", {
|
|
1009
1024
|
ref_key: "EL_TABLE_WRAP_REF",
|
|
1010
1025
|
ref: r
|
|
1011
1026
|
}, [
|
|
1012
|
-
|
|
1027
|
+
K((n(), y(L, {
|
|
1013
1028
|
stripe: "",
|
|
1014
1029
|
border: "",
|
|
1015
1030
|
"highlight-current-row": "",
|
|
1016
1031
|
style: { width: "100%" },
|
|
1017
|
-
data:
|
|
1032
|
+
data: U.value,
|
|
1018
1033
|
"header-cell-style": {
|
|
1019
1034
|
fontWeight: "bold",
|
|
1020
1035
|
backgroundColor: "#EBEEF5",
|
|
@@ -1023,37 +1038,37 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
|
|
|
1023
1038
|
}
|
|
1024
1039
|
}, {
|
|
1025
1040
|
empty: A(() => [
|
|
1026
|
-
|
|
1041
|
+
C(_t)
|
|
1027
1042
|
]),
|
|
1028
1043
|
default: A(() => [
|
|
1029
|
-
e.selection ? (
|
|
1044
|
+
e.selection ? (n(), y(N, {
|
|
1030
1045
|
key: 0,
|
|
1031
1046
|
fixed: "left",
|
|
1032
1047
|
type: "selection",
|
|
1033
1048
|
width: "40"
|
|
1034
|
-
})) :
|
|
1035
|
-
(
|
|
1036
|
-
prop:
|
|
1037
|
-
label:
|
|
1038
|
-
align:
|
|
1039
|
-
width:
|
|
1040
|
-
fixed:
|
|
1041
|
-
tooltip:
|
|
1042
|
-
limit:
|
|
1043
|
-
} = {},
|
|
1044
|
-
key:
|
|
1045
|
-
label:
|
|
1046
|
-
align:
|
|
1047
|
-
width:
|
|
1048
|
-
fixed:
|
|
1049
|
-
"min-width": `${
|
|
1049
|
+
})) : $("", !0),
|
|
1050
|
+
(n(!0), b(P, null, Q(i.value, ({
|
|
1051
|
+
prop: Y = "",
|
|
1052
|
+
label: R = "",
|
|
1053
|
+
align: H = "center",
|
|
1054
|
+
width: ee = "",
|
|
1055
|
+
fixed: ae = !1,
|
|
1056
|
+
tooltip: le = !1,
|
|
1057
|
+
limit: ce = 0
|
|
1058
|
+
} = {}, re) => (n(), y(N, {
|
|
1059
|
+
key: re,
|
|
1060
|
+
label: R,
|
|
1061
|
+
align: H,
|
|
1062
|
+
width: ee,
|
|
1063
|
+
fixed: ae,
|
|
1064
|
+
"min-width": `${R.length * 14 + 24}px`
|
|
1050
1065
|
}, {
|
|
1051
|
-
default: A(({ row:
|
|
1052
|
-
J(
|
|
1053
|
-
|
|
1054
|
-
limit:
|
|
1055
|
-
tooltip:
|
|
1056
|
-
data:
|
|
1066
|
+
default: A(({ row: se }) => [
|
|
1067
|
+
J(m.$slots, Y, { row: se }, () => [
|
|
1068
|
+
C(et, {
|
|
1069
|
+
limit: ce,
|
|
1070
|
+
tooltip: le,
|
|
1071
|
+
data: se[Y]
|
|
1057
1072
|
}, null, 8, ["limit", "tooltip", "data"])
|
|
1058
1073
|
])
|
|
1059
1074
|
]),
|
|
@@ -1062,23 +1077,23 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
|
|
|
1062
1077
|
]),
|
|
1063
1078
|
_: 3
|
|
1064
1079
|
}, 8, ["data", "header-cell-style"])), [
|
|
1065
|
-
[
|
|
1080
|
+
[F, k.value]
|
|
1066
1081
|
])
|
|
1067
1082
|
], 512),
|
|
1068
|
-
e.hasPage ? (
|
|
1083
|
+
e.hasPage ? (n(), y(st, {
|
|
1069
1084
|
key: 1,
|
|
1070
|
-
total:
|
|
1071
|
-
onOnCurrentChange:
|
|
1072
|
-
onOnSizeChange:
|
|
1073
|
-
}, null, 8, ["total"])) :
|
|
1085
|
+
total: M.value,
|
|
1086
|
+
onOnCurrentChange: T,
|
|
1087
|
+
onOnSizeChange: B
|
|
1088
|
+
}, null, 8, ["total"])) : $("", !0)
|
|
1074
1089
|
])
|
|
1075
1090
|
]);
|
|
1076
1091
|
};
|
|
1077
1092
|
}
|
|
1078
1093
|
});
|
|
1079
|
-
const
|
|
1094
|
+
const bt = {
|
|
1080
1095
|
name: "BsgoalBaseLine"
|
|
1081
|
-
}, Ae = /* @__PURE__ */ Object.assign(
|
|
1096
|
+
}, Ae = /* @__PURE__ */ Object.assign(bt, {
|
|
1082
1097
|
props: {
|
|
1083
1098
|
/**
|
|
1084
1099
|
* 是否为垂直
|
|
@@ -1089,27 +1104,27 @@ const Et = {
|
|
|
1089
1104
|
}
|
|
1090
1105
|
},
|
|
1091
1106
|
setup(e) {
|
|
1092
|
-
return (s, a) => (
|
|
1107
|
+
return (s, a) => (n(), b("div", {
|
|
1093
1108
|
class: me(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
|
|
1094
1109
|
}, [
|
|
1095
|
-
|
|
1110
|
+
O("div", {
|
|
1096
1111
|
class: me(["base_line", { base_line__vertical: e.vertical }])
|
|
1097
1112
|
}, null, 2)
|
|
1098
1113
|
], 2));
|
|
1099
1114
|
}
|
|
1100
1115
|
});
|
|
1101
1116
|
/*! Element Plus Icons Vue v2.1.0 */
|
|
1102
|
-
var
|
|
1117
|
+
var oe = (e, s) => {
|
|
1103
1118
|
let a = e.__vccOpts || e;
|
|
1104
1119
|
for (let [i, r] of s)
|
|
1105
1120
|
a[i] = r;
|
|
1106
1121
|
return a;
|
|
1107
|
-
}, bt = {
|
|
1108
|
-
name: "ArrowDown"
|
|
1109
1122
|
}, yt = {
|
|
1123
|
+
name: "ArrowDown"
|
|
1124
|
+
}, xt = {
|
|
1110
1125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1111
1126
|
viewBox: "0 0 1024 1024"
|
|
1112
|
-
}, At = /* @__PURE__ */
|
|
1127
|
+
}, At = /* @__PURE__ */ O(
|
|
1113
1128
|
"path",
|
|
1114
1129
|
{
|
|
1115
1130
|
fill: "currentColor",
|
|
@@ -1121,15 +1136,15 @@ var ue = (e, s) => {
|
|
|
1121
1136
|
), Tt = [
|
|
1122
1137
|
At
|
|
1123
1138
|
];
|
|
1124
|
-
function
|
|
1125
|
-
return
|
|
1139
|
+
function Vt(e, s, a, i, r, u) {
|
|
1140
|
+
return n(), b("svg", xt, Tt);
|
|
1126
1141
|
}
|
|
1127
|
-
var
|
|
1142
|
+
var $t = /* @__PURE__ */ oe(yt, [["render", Vt], ["__file", "arrow-down.vue"]]), Ct = {
|
|
1128
1143
|
name: "ArrowLeft"
|
|
1129
|
-
},
|
|
1144
|
+
}, Mt = {
|
|
1130
1145
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1131
1146
|
viewBox: "0 0 1024 1024"
|
|
1132
|
-
},
|
|
1147
|
+
}, Bt = /* @__PURE__ */ O(
|
|
1133
1148
|
"path",
|
|
1134
1149
|
{
|
|
1135
1150
|
fill: "currentColor",
|
|
@@ -1138,18 +1153,18 @@ var Vt = /* @__PURE__ */ ue(bt, [["render", xt], ["__file", "arrow-down.vue"]]),
|
|
|
1138
1153
|
null,
|
|
1139
1154
|
-1
|
|
1140
1155
|
/* HOISTED */
|
|
1141
|
-
),
|
|
1142
|
-
|
|
1156
|
+
), wt = [
|
|
1157
|
+
Bt
|
|
1143
1158
|
];
|
|
1144
1159
|
function Nt(e, s, a, i, r, u) {
|
|
1145
|
-
return
|
|
1160
|
+
return n(), b("svg", Mt, wt);
|
|
1146
1161
|
}
|
|
1147
|
-
var
|
|
1162
|
+
var kt = /* @__PURE__ */ oe(Ct, [["render", Nt], ["__file", "arrow-left.vue"]]), St = {
|
|
1148
1163
|
name: "ArrowRight"
|
|
1149
|
-
},
|
|
1164
|
+
}, Dt = {
|
|
1150
1165
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1151
1166
|
viewBox: "0 0 1024 1024"
|
|
1152
|
-
},
|
|
1167
|
+
}, Ot = /* @__PURE__ */ O(
|
|
1153
1168
|
"path",
|
|
1154
1169
|
{
|
|
1155
1170
|
fill: "currentColor",
|
|
@@ -1158,18 +1173,18 @@ var wt = /* @__PURE__ */ ue($t, [["render", Nt], ["__file", "arrow-left.vue"]]),
|
|
|
1158
1173
|
null,
|
|
1159
1174
|
-1
|
|
1160
1175
|
/* HOISTED */
|
|
1161
|
-
),
|
|
1162
|
-
|
|
1176
|
+
), It = [
|
|
1177
|
+
Ot
|
|
1163
1178
|
];
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1179
|
+
function Rt(e, s, a, i, r, u) {
|
|
1180
|
+
return n(), b("svg", Dt, It);
|
|
1166
1181
|
}
|
|
1167
|
-
var Ft = /* @__PURE__ */
|
|
1182
|
+
var Ft = /* @__PURE__ */ oe(St, [["render", Rt], ["__file", "arrow-right.vue"]]), Ut = {
|
|
1168
1183
|
name: "ArrowUp"
|
|
1169
|
-
},
|
|
1184
|
+
}, Lt = {
|
|
1170
1185
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1171
1186
|
viewBox: "0 0 1024 1024"
|
|
1172
|
-
},
|
|
1187
|
+
}, Pt = /* @__PURE__ */ O(
|
|
1173
1188
|
"path",
|
|
1174
1189
|
{
|
|
1175
1190
|
fill: "currentColor",
|
|
@@ -1178,18 +1193,18 @@ var Ft = /* @__PURE__ */ ue(kt, [["render", It], ["__file", "arrow-right.vue"]])
|
|
|
1178
1193
|
null,
|
|
1179
1194
|
-1
|
|
1180
1195
|
/* HOISTED */
|
|
1181
|
-
),
|
|
1182
|
-
|
|
1196
|
+
), jt = [
|
|
1197
|
+
Pt
|
|
1183
1198
|
];
|
|
1184
|
-
function
|
|
1185
|
-
return
|
|
1199
|
+
function zt(e, s, a, i, r, u) {
|
|
1200
|
+
return n(), b("svg", Lt, jt);
|
|
1186
1201
|
}
|
|
1187
|
-
var
|
|
1202
|
+
var Gt = /* @__PURE__ */ oe(Ut, [["render", zt], ["__file", "arrow-up.vue"]]), Yt = {
|
|
1188
1203
|
name: "Delete"
|
|
1189
|
-
},
|
|
1204
|
+
}, Ht = {
|
|
1190
1205
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1191
1206
|
viewBox: "0 0 1024 1024"
|
|
1192
|
-
},
|
|
1207
|
+
}, Wt = /* @__PURE__ */ O(
|
|
1193
1208
|
"path",
|
|
1194
1209
|
{
|
|
1195
1210
|
fill: "currentColor",
|
|
@@ -1198,18 +1213,18 @@ var zt = /* @__PURE__ */ ue(Rt, [["render", jt], ["__file", "arrow-up.vue"]]), G
|
|
|
1198
1213
|
null,
|
|
1199
1214
|
-1
|
|
1200
1215
|
/* HOISTED */
|
|
1201
|
-
),
|
|
1202
|
-
|
|
1216
|
+
), Xt = [
|
|
1217
|
+
Wt
|
|
1203
1218
|
];
|
|
1204
|
-
function
|
|
1205
|
-
return
|
|
1219
|
+
function Qt(e, s, a, i, r, u) {
|
|
1220
|
+
return n(), b("svg", Ht, Xt);
|
|
1206
1221
|
}
|
|
1207
|
-
var
|
|
1222
|
+
var ke = /* @__PURE__ */ oe(Yt, [["render", Qt], ["__file", "delete.vue"]]), Zt = {
|
|
1208
1223
|
name: "Plus"
|
|
1209
|
-
},
|
|
1224
|
+
}, Kt = {
|
|
1210
1225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1211
1226
|
viewBox: "0 0 1024 1024"
|
|
1212
|
-
},
|
|
1227
|
+
}, Jt = /* @__PURE__ */ O(
|
|
1213
1228
|
"path",
|
|
1214
1229
|
{
|
|
1215
1230
|
fill: "currentColor",
|
|
@@ -1218,18 +1233,18 @@ var we = /* @__PURE__ */ ue(Gt, [["render", Xt], ["__file", "delete.vue"]]), Qt
|
|
|
1218
1233
|
null,
|
|
1219
1234
|
-1
|
|
1220
1235
|
/* HOISTED */
|
|
1221
|
-
),
|
|
1222
|
-
|
|
1236
|
+
), qt = [
|
|
1237
|
+
Jt
|
|
1223
1238
|
];
|
|
1224
|
-
function
|
|
1225
|
-
return
|
|
1239
|
+
function ea(e, s, a, i, r, u) {
|
|
1240
|
+
return n(), b("svg", Kt, qt);
|
|
1226
1241
|
}
|
|
1227
|
-
var
|
|
1242
|
+
var ta = /* @__PURE__ */ oe(Zt, [["render", ea], ["__file", "plus.vue"]]), aa = {
|
|
1228
1243
|
name: "Search"
|
|
1229
|
-
},
|
|
1244
|
+
}, la = {
|
|
1230
1245
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1231
1246
|
viewBox: "0 0 1024 1024"
|
|
1232
|
-
},
|
|
1247
|
+
}, na = /* @__PURE__ */ O(
|
|
1233
1248
|
"path",
|
|
1234
1249
|
{
|
|
1235
1250
|
fill: "currentColor",
|
|
@@ -1238,16 +1253,16 @@ var ea = /* @__PURE__ */ ue(Qt, [["render", qt], ["__file", "plus.vue"]]), ta =
|
|
|
1238
1253
|
null,
|
|
1239
1254
|
-1
|
|
1240
1255
|
/* HOISTED */
|
|
1241
|
-
),
|
|
1242
|
-
|
|
1256
|
+
), oa = [
|
|
1257
|
+
na
|
|
1243
1258
|
];
|
|
1244
|
-
function
|
|
1245
|
-
return
|
|
1259
|
+
function sa(e, s, a, i, r, u) {
|
|
1260
|
+
return n(), b("svg", la, oa);
|
|
1246
1261
|
}
|
|
1247
|
-
var
|
|
1248
|
-
const
|
|
1262
|
+
var ua = /* @__PURE__ */ oe(aa, [["render", sa], ["__file", "search.vue"]]);
|
|
1263
|
+
const ca = { class: "bsgoal-base-search-operation" }, ra = {
|
|
1249
1264
|
name: "BsgoalBaseSearchOperation"
|
|
1250
|
-
},
|
|
1265
|
+
}, ia = /* @__PURE__ */ Object.assign(ra, {
|
|
1251
1266
|
props: {
|
|
1252
1267
|
/**
|
|
1253
1268
|
* 是否显示折叠按钮
|
|
@@ -1263,53 +1278,53 @@ const ua = { class: "bsgoal-base-search-operation" }, ca = {
|
|
|
1263
1278
|
a.value = !c(a), s("on-fold", a.value);
|
|
1264
1279
|
};
|
|
1265
1280
|
return (r, u) => {
|
|
1266
|
-
const t =
|
|
1267
|
-
return
|
|
1268
|
-
|
|
1281
|
+
const t = v("el-button"), d = v("el-icon");
|
|
1282
|
+
return n(), b("div", ca, [
|
|
1283
|
+
C(t, {
|
|
1269
1284
|
type: "primary",
|
|
1270
|
-
icon: c(
|
|
1285
|
+
icon: c(ua),
|
|
1271
1286
|
onClick: u[0] || (u[0] = (_) => r.$emit("on-search"))
|
|
1272
1287
|
}, {
|
|
1273
1288
|
default: A(() => [
|
|
1274
|
-
|
|
1289
|
+
G("搜索")
|
|
1275
1290
|
]),
|
|
1276
1291
|
_: 1
|
|
1277
1292
|
}, 8, ["icon"]),
|
|
1278
|
-
|
|
1279
|
-
icon: c(
|
|
1293
|
+
C(t, {
|
|
1294
|
+
icon: c(ke),
|
|
1280
1295
|
onClick: u[1] || (u[1] = (_) => r.$emit("on-clear"))
|
|
1281
1296
|
}, {
|
|
1282
1297
|
default: A(() => [
|
|
1283
|
-
|
|
1298
|
+
G("清空")
|
|
1284
1299
|
]),
|
|
1285
1300
|
_: 1
|
|
1286
1301
|
}, 8, ["icon"]),
|
|
1287
|
-
e.fold ? (
|
|
1302
|
+
e.fold ? (n(), b("div", {
|
|
1288
1303
|
key: 0,
|
|
1289
1304
|
class: "operation_fold",
|
|
1290
1305
|
style: { color: "var(--el-color-primary)" },
|
|
1291
1306
|
onClick: i
|
|
1292
1307
|
}, [
|
|
1293
|
-
|
|
1294
|
-
|
|
1308
|
+
G(j(a.value ? "收起" : "展开"), 1),
|
|
1309
|
+
C(d, { color: "#409EFC" }, {
|
|
1295
1310
|
default: A(() => [
|
|
1296
|
-
|
|
1297
|
-
[
|
|
1311
|
+
K(C(c(Gt), null, null, 512), [
|
|
1312
|
+
[te, a.value]
|
|
1298
1313
|
]),
|
|
1299
|
-
|
|
1300
|
-
[
|
|
1314
|
+
K(C(c($t), null, null, 512), [
|
|
1315
|
+
[te, !a.value]
|
|
1301
1316
|
])
|
|
1302
1317
|
]),
|
|
1303
1318
|
_: 1
|
|
1304
1319
|
})
|
|
1305
|
-
])) :
|
|
1320
|
+
])) : $("", !0)
|
|
1306
1321
|
]);
|
|
1307
1322
|
};
|
|
1308
1323
|
}
|
|
1309
1324
|
});
|
|
1310
|
-
const
|
|
1325
|
+
const da = { class: "bsgoal-base-cascader" }, _a = {
|
|
1311
1326
|
name: "BsgoalBaseCascader"
|
|
1312
|
-
},
|
|
1327
|
+
}, ma = /* @__PURE__ */ Object.assign(_a, {
|
|
1313
1328
|
props: {
|
|
1314
1329
|
/**
|
|
1315
1330
|
* 绑定的值
|
|
@@ -1349,9 +1364,9 @@ const ia = { class: "bsgoal-base-cascader" }, da = {
|
|
|
1349
1364
|
s("update:model-value", r), s("on-change", r);
|
|
1350
1365
|
};
|
|
1351
1366
|
return (r, u) => {
|
|
1352
|
-
const t =
|
|
1353
|
-
return
|
|
1354
|
-
|
|
1367
|
+
const t = v("el-cascader");
|
|
1368
|
+
return n(), b("div", da, [
|
|
1369
|
+
C(t, {
|
|
1355
1370
|
clearable: "",
|
|
1356
1371
|
class: "base_cascader",
|
|
1357
1372
|
"show-all-levels": !1,
|
|
@@ -1365,9 +1380,9 @@ const ia = { class: "bsgoal-base-cascader" }, da = {
|
|
|
1365
1380
|
};
|
|
1366
1381
|
}
|
|
1367
1382
|
});
|
|
1368
|
-
const
|
|
1383
|
+
const ga = { class: "bsgoal-base-search" }, fa = { class: "base_search" }, va = { key: 1 }, pa = {
|
|
1369
1384
|
name: "BsgoalBaseSearch"
|
|
1370
|
-
},
|
|
1385
|
+
}, ha = /* @__PURE__ */ Object.assign(pa, {
|
|
1371
1386
|
props: {
|
|
1372
1387
|
/**
|
|
1373
1388
|
* >----------props----------<
|
|
@@ -1409,25 +1424,25 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1409
1424
|
},
|
|
1410
1425
|
emits: ["on-search", "on-clear", "on-change", "on-fold"],
|
|
1411
1426
|
setup(e, { expose: s, emit: a }) {
|
|
1412
|
-
const i = e, r = w(null), u =
|
|
1413
|
-
|
|
1427
|
+
const i = e, r = w(null), u = ye.align, t = w({});
|
|
1428
|
+
pe(() => {
|
|
1414
1429
|
const { configOptions: x } = i;
|
|
1415
|
-
c(x).forEach((
|
|
1416
|
-
const { value:
|
|
1417
|
-
[l.INPUT, l.INPUT_TEXT_AREA].includes(
|
|
1430
|
+
c(x).forEach((B) => {
|
|
1431
|
+
const { value: m, prop: I = "", type: N = "" } = B;
|
|
1432
|
+
[l.INPUT, l.INPUT_TEXT_AREA].includes(N), t.value[I] = [0, !1].includes(m) ? m : "";
|
|
1418
1433
|
});
|
|
1419
1434
|
});
|
|
1420
|
-
const d =
|
|
1421
|
-
const { configOptions: x } = i,
|
|
1435
|
+
const d = Z(() => {
|
|
1436
|
+
const { configOptions: x } = i, T = c(x), B = {
|
|
1422
1437
|
type: l.OPERATION
|
|
1423
1438
|
};
|
|
1424
|
-
return [
|
|
1425
|
-
}), _ = (x = "",
|
|
1426
|
-
if (!
|
|
1439
|
+
return [...T, B];
|
|
1440
|
+
}), _ = (x = "", T = "", B = "") => {
|
|
1441
|
+
if (!B)
|
|
1427
1442
|
switch (x) {
|
|
1428
1443
|
case l.INPUT:
|
|
1429
1444
|
case l.INPUT_TEXT_AREA:
|
|
1430
|
-
return `请输入${
|
|
1445
|
+
return `请输入${T}`;
|
|
1431
1446
|
case l.SELECT:
|
|
1432
1447
|
case l.DATE:
|
|
1433
1448
|
case l.WEEK:
|
|
@@ -1436,7 +1451,7 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1436
1451
|
case l.DATE_TIME:
|
|
1437
1452
|
case l.TIME:
|
|
1438
1453
|
case l.CASCADER:
|
|
1439
|
-
return `请选择${
|
|
1454
|
+
return `请选择${T}`;
|
|
1440
1455
|
case l.DATE_RANGE:
|
|
1441
1456
|
case l.DATE_TIME_RANGE:
|
|
1442
1457
|
return ["开始日期", "结束日期"];
|
|
@@ -1445,9 +1460,9 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1445
1460
|
case l.MONTH_RANGE:
|
|
1446
1461
|
return ["开始月份", "结束月份"];
|
|
1447
1462
|
}
|
|
1448
|
-
return
|
|
1449
|
-
}, V = (x = "",
|
|
1450
|
-
if (
|
|
1463
|
+
return B;
|
|
1464
|
+
}, V = (x = "", T = "") => {
|
|
1465
|
+
if (!T)
|
|
1451
1466
|
switch (x) {
|
|
1452
1467
|
case l.WEEK:
|
|
1453
1468
|
return "ww";
|
|
@@ -1467,46 +1482,46 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1467
1482
|
case l.DATE_TIME_RANGE:
|
|
1468
1483
|
return "YYYY-MM-DD HH:mm:ss";
|
|
1469
1484
|
}
|
|
1470
|
-
return
|
|
1471
|
-
},
|
|
1472
|
-
const { configOptions: x } = i,
|
|
1473
|
-
for (const
|
|
1474
|
-
const { type:
|
|
1475
|
-
if ([l.CASCADER].includes(
|
|
1476
|
-
const
|
|
1477
|
-
|
|
1485
|
+
return T;
|
|
1486
|
+
}, M = () => {
|
|
1487
|
+
const { configOptions: x } = i, T = c(t), B = c(x), m = {};
|
|
1488
|
+
for (const I of B) {
|
|
1489
|
+
const { type: N = "", range: L = [], prop: F = "", single: Y = !1 } = I, R = T[F];
|
|
1490
|
+
if ([l.CASCADER].includes(N) && Array.isArray(R) && Y) {
|
|
1491
|
+
const H = R.length;
|
|
1492
|
+
H ? m[F] = R[H - 1] : m[F] = R;
|
|
1478
1493
|
} else
|
|
1479
|
-
|
|
1480
|
-
if (
|
|
1481
|
-
const { 0:
|
|
1482
|
-
|
|
1494
|
+
Re(R) ? m[F] = Fe(R) : m[F] = R;
|
|
1495
|
+
if (N.endsWith("range") && L && L.length === 2) {
|
|
1496
|
+
const { 0: H = "", 1: ee = "" } = R, { 0: ae = "", 1: le = "" } = L;
|
|
1497
|
+
m[ae] = H, m[le] = ee;
|
|
1483
1498
|
}
|
|
1484
1499
|
}
|
|
1485
|
-
a("on-search",
|
|
1500
|
+
a("on-search", m), a("update:modelValue", m);
|
|
1486
1501
|
};
|
|
1487
|
-
|
|
1488
|
-
|
|
1502
|
+
$e(() => {
|
|
1503
|
+
M();
|
|
1489
1504
|
});
|
|
1490
1505
|
const S = () => {
|
|
1491
1506
|
r.value.resetFields(), a("on-clear", t.value);
|
|
1492
|
-
}, k =
|
|
1493
|
-
|
|
1494
|
-
},
|
|
1495
|
-
|
|
1496
|
-
const
|
|
1507
|
+
}, k = Ce("transferFoldStatus"), U = w(!1), D = (x = !1) => {
|
|
1508
|
+
U.value = x, k && (k.value = x), a("on-fold", U);
|
|
1509
|
+
}, h = (x, T) => {
|
|
1510
|
+
M();
|
|
1511
|
+
const B = {
|
|
1497
1512
|
type: x,
|
|
1498
|
-
prop:
|
|
1499
|
-
value: t.value[
|
|
1513
|
+
prop: T,
|
|
1514
|
+
value: t.value[T] || ""
|
|
1500
1515
|
};
|
|
1501
|
-
a("on-change",
|
|
1516
|
+
a("on-change", B);
|
|
1502
1517
|
};
|
|
1503
1518
|
return s({
|
|
1504
|
-
triggerOperationSearch:
|
|
1505
|
-
}), (x,
|
|
1506
|
-
const
|
|
1507
|
-
return
|
|
1508
|
-
|
|
1509
|
-
|
|
1519
|
+
triggerOperationSearch: M
|
|
1520
|
+
}), (x, T) => {
|
|
1521
|
+
const B = v("el-input"), m = v("el-input-number"), I = v("el-radio"), N = v("el-radio-group"), L = v("el-option"), F = v("el-select"), Y = v("el-slider"), R = v("el-switch"), H = v("el-date-picker"), ee = v("el-time-picker"), ae = v("el-checkbox"), le = v("el-checkbox-group"), ce = v("el-form-item"), re = v("el-col"), se = v("el-row"), W = v("el-form");
|
|
1522
|
+
return n(), b("div", ga, [
|
|
1523
|
+
O("div", fa, [
|
|
1524
|
+
K((n(), y(W, {
|
|
1510
1525
|
ref_key: "EL_FORM_REF",
|
|
1511
1526
|
ref: r,
|
|
1512
1527
|
"label-suffix": ":",
|
|
@@ -1514,189 +1529,189 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1514
1529
|
model: t.value
|
|
1515
1530
|
}, {
|
|
1516
1531
|
default: A(() => [
|
|
1517
|
-
|
|
1532
|
+
C(se, null, {
|
|
1518
1533
|
default: A(() => [
|
|
1519
|
-
(
|
|
1520
|
-
label:
|
|
1521
|
-
prop:
|
|
1522
|
-
type:
|
|
1523
|
-
placeholder:
|
|
1524
|
-
readonly:
|
|
1525
|
-
clearable:
|
|
1526
|
-
rows:
|
|
1527
|
-
min:
|
|
1528
|
-
max:
|
|
1529
|
-
range:
|
|
1530
|
-
format:
|
|
1531
|
-
} = {},
|
|
1532
|
-
key:
|
|
1534
|
+
(n(!0), b(P, null, Q(d.value, ({
|
|
1535
|
+
label: f = "",
|
|
1536
|
+
prop: o = "",
|
|
1537
|
+
type: g = "text",
|
|
1538
|
+
placeholder: z = "",
|
|
1539
|
+
readonly: ge = !1,
|
|
1540
|
+
clearable: fe = !0,
|
|
1541
|
+
rows: ve = 2,
|
|
1542
|
+
min: ie = 1,
|
|
1543
|
+
max: q = 10,
|
|
1544
|
+
range: X = [],
|
|
1545
|
+
format: ne = ""
|
|
1546
|
+
} = {}, ue) => K((n(), y(re, {
|
|
1547
|
+
key: ue,
|
|
1533
1548
|
xs: 24,
|
|
1534
1549
|
sm: 12,
|
|
1535
1550
|
md: e.medium
|
|
1536
1551
|
}, {
|
|
1537
1552
|
default: A(() => [
|
|
1538
|
-
|
|
1539
|
-
label:
|
|
1540
|
-
prop:
|
|
1553
|
+
C(ce, {
|
|
1554
|
+
label: f,
|
|
1555
|
+
prop: o
|
|
1541
1556
|
}, {
|
|
1542
1557
|
default: A(() => [
|
|
1543
|
-
|
|
1544
|
-
|
|
1558
|
+
ge ? (n(), b("div", va, j(t.value[o]), 1)) : (n(), b(P, { key: 0 }, [
|
|
1559
|
+
g === c(l).INPUT ? (n(), y(B, {
|
|
1545
1560
|
key: 0,
|
|
1546
|
-
modelValue: t.value[
|
|
1547
|
-
"onUpdate:modelValue": (
|
|
1548
|
-
placeholder: _(
|
|
1549
|
-
clearable:
|
|
1550
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) :
|
|
1551
|
-
|
|
1561
|
+
modelValue: t.value[o],
|
|
1562
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1563
|
+
placeholder: _(g, f, z),
|
|
1564
|
+
clearable: fe
|
|
1565
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : $("", !0),
|
|
1566
|
+
g === c(l).INPUT_TEXT_AREA ? (n(), y(B, {
|
|
1552
1567
|
key: 1,
|
|
1553
|
-
modelValue: t.value[
|
|
1554
|
-
"onUpdate:modelValue": (
|
|
1568
|
+
modelValue: t.value[o],
|
|
1569
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1555
1570
|
type: "textarea",
|
|
1556
|
-
rows:
|
|
1557
|
-
clearable:
|
|
1558
|
-
placeholder: _(
|
|
1559
|
-
onChange: (
|
|
1560
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) :
|
|
1561
|
-
|
|
1571
|
+
rows: ve,
|
|
1572
|
+
clearable: fe,
|
|
1573
|
+
placeholder: _(g, f, z),
|
|
1574
|
+
onChange: (E) => h(g, o)
|
|
1575
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
|
|
1576
|
+
g === c(l).INPUT_NUMBER ? (n(), y(m, {
|
|
1562
1577
|
key: 2,
|
|
1563
1578
|
modelValue: x.num,
|
|
1564
|
-
"onUpdate:modelValue":
|
|
1565
|
-
min:
|
|
1566
|
-
max:
|
|
1567
|
-
onChange:
|
|
1568
|
-
}, null, 8, ["modelValue", "min", "max"])) :
|
|
1569
|
-
|
|
1579
|
+
"onUpdate:modelValue": T[0] || (T[0] = (E) => x.num = E),
|
|
1580
|
+
min: ie,
|
|
1581
|
+
max: q,
|
|
1582
|
+
onChange: h
|
|
1583
|
+
}, null, 8, ["modelValue", "min", "max"])) : $("", !0),
|
|
1584
|
+
g === c(l).RADIO ? (n(), y(N, {
|
|
1570
1585
|
key: 3,
|
|
1571
|
-
modelValue: t.value[
|
|
1572
|
-
"onUpdate:modelValue": (
|
|
1573
|
-
onChange: (
|
|
1586
|
+
modelValue: t.value[o],
|
|
1587
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1588
|
+
onChange: (E) => h(g, o)
|
|
1574
1589
|
}, {
|
|
1575
1590
|
default: A(() => [
|
|
1576
|
-
(
|
|
1577
|
-
key:
|
|
1578
|
-
label:
|
|
1591
|
+
(n(!0), b(P, null, Q(X, (E, p) => (n(), y(I, {
|
|
1592
|
+
key: p,
|
|
1593
|
+
label: E.value
|
|
1579
1594
|
}, {
|
|
1580
1595
|
default: A(() => [
|
|
1581
|
-
|
|
1596
|
+
G(j(E.label), 1)
|
|
1582
1597
|
]),
|
|
1583
1598
|
_: 2
|
|
1584
1599
|
}, 1032, ["label"]))), 128))
|
|
1585
1600
|
]),
|
|
1586
1601
|
_: 2
|
|
1587
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
1588
|
-
|
|
1602
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
1603
|
+
g === c(l).SELECT ? (n(), y(F, {
|
|
1589
1604
|
key: 4,
|
|
1590
|
-
modelValue: t.value[
|
|
1591
|
-
"onUpdate:modelValue": (
|
|
1592
|
-
placeholder: _(
|
|
1593
|
-
onChange: (
|
|
1605
|
+
modelValue: t.value[o],
|
|
1606
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1607
|
+
placeholder: _(g, f, z),
|
|
1608
|
+
onChange: (E) => h(g, o)
|
|
1594
1609
|
}, {
|
|
1595
1610
|
default: A(() => [
|
|
1596
|
-
(
|
|
1597
|
-
key:
|
|
1598
|
-
label:
|
|
1599
|
-
value:
|
|
1611
|
+
(n(!0), b(P, null, Q(X, (E, p) => (n(), y(L, {
|
|
1612
|
+
key: p,
|
|
1613
|
+
label: E.label,
|
|
1614
|
+
value: E.value
|
|
1600
1615
|
}, null, 8, ["label", "value"]))), 128))
|
|
1601
1616
|
]),
|
|
1602
1617
|
_: 2
|
|
1603
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) :
|
|
1604
|
-
|
|
1618
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
|
|
1619
|
+
g === c(l).SLIDER ? (n(), y(Y, {
|
|
1605
1620
|
key: 5,
|
|
1606
|
-
modelValue: t.value[
|
|
1607
|
-
"onUpdate:modelValue": (
|
|
1608
|
-
min:
|
|
1609
|
-
max:
|
|
1610
|
-
onChange: (
|
|
1611
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) :
|
|
1612
|
-
|
|
1621
|
+
modelValue: t.value[o],
|
|
1622
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1623
|
+
min: ie,
|
|
1624
|
+
max: q,
|
|
1625
|
+
onChange: (E) => h(g, o)
|
|
1626
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
|
|
1627
|
+
g === c(l).SWITCH ? (n(), y(R, {
|
|
1613
1628
|
key: 6,
|
|
1614
|
-
modelValue: t.value[
|
|
1615
|
-
"onUpdate:modelValue": (
|
|
1616
|
-
"active-value":
|
|
1617
|
-
"inactive-value":
|
|
1618
|
-
onChange: (
|
|
1619
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) :
|
|
1629
|
+
modelValue: t.value[o],
|
|
1630
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1631
|
+
"active-value": X[0] || !0,
|
|
1632
|
+
"inactive-value": X[1] || !1,
|
|
1633
|
+
onChange: (E) => h(g, o)
|
|
1634
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
|
|
1620
1635
|
[c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
|
|
1621
|
-
|
|
1622
|
-
) ? (
|
|
1636
|
+
g
|
|
1637
|
+
) ? (n(), y(H, {
|
|
1623
1638
|
key: 7,
|
|
1624
|
-
modelValue: t.value[
|
|
1625
|
-
"onUpdate:modelValue": (
|
|
1626
|
-
format: V(
|
|
1627
|
-
"value-format": V(
|
|
1628
|
-
type:
|
|
1629
|
-
placeholder: _(
|
|
1630
|
-
onChange: (
|
|
1631
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) :
|
|
1639
|
+
modelValue: t.value[o],
|
|
1640
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1641
|
+
format: V(g, ne),
|
|
1642
|
+
"value-format": V(g, ne),
|
|
1643
|
+
type: g,
|
|
1644
|
+
placeholder: _(g, f, z),
|
|
1645
|
+
onChange: (E) => h(g, o)
|
|
1646
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
|
|
1632
1647
|
[
|
|
1633
1648
|
c(l).DATE_RANGE,
|
|
1634
1649
|
c(l).MONTH_RANGE,
|
|
1635
1650
|
c(l).DATE_TIME_RANGE
|
|
1636
|
-
].includes(
|
|
1651
|
+
].includes(g) ? (n(), y(H, {
|
|
1637
1652
|
key: 8,
|
|
1638
|
-
modelValue: t.value[
|
|
1639
|
-
"onUpdate:modelValue": (
|
|
1640
|
-
type:
|
|
1641
|
-
"value-format": V(
|
|
1642
|
-
"start-placeholder": _(
|
|
1643
|
-
"end-placeholder": _(
|
|
1644
|
-
onChange: (
|
|
1645
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
1646
|
-
[c(l).TIME].includes(
|
|
1653
|
+
modelValue: t.value[o],
|
|
1654
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1655
|
+
type: g,
|
|
1656
|
+
"value-format": V(g, ne),
|
|
1657
|
+
"start-placeholder": _(g, f, z)[0],
|
|
1658
|
+
"end-placeholder": _(g, f, z)[1],
|
|
1659
|
+
onChange: (E) => h(g, o)
|
|
1660
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
1661
|
+
[c(l).TIME].includes(g) ? (n(), y(ee, {
|
|
1647
1662
|
key: 9,
|
|
1648
|
-
modelValue: t.value[
|
|
1649
|
-
"onUpdate:modelValue": (
|
|
1663
|
+
modelValue: t.value[o],
|
|
1664
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1650
1665
|
"arrow-control": "",
|
|
1651
|
-
"value-format": V(
|
|
1652
|
-
placeholder: _(
|
|
1653
|
-
onChange: (
|
|
1654
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) :
|
|
1655
|
-
[c(l).TIME_RANGE].includes(
|
|
1666
|
+
"value-format": V(g, ne),
|
|
1667
|
+
placeholder: _(g, f, z),
|
|
1668
|
+
onChange: (E) => h(g, o)
|
|
1669
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
|
|
1670
|
+
[c(l).TIME_RANGE].includes(g) ? (n(), y(ee, {
|
|
1656
1671
|
key: 10,
|
|
1657
|
-
modelValue: t.value[
|
|
1658
|
-
"onUpdate:modelValue": (
|
|
1672
|
+
modelValue: t.value[o],
|
|
1673
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1659
1674
|
"is-range": "",
|
|
1660
|
-
"value-format": V(
|
|
1661
|
-
"start-placeholder": _(
|
|
1662
|
-
"end-placeholder": _(
|
|
1663
|
-
onChange: (
|
|
1664
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
1665
|
-
[c(l).CHECKBOX].includes(
|
|
1675
|
+
"value-format": V(g, ne),
|
|
1676
|
+
"start-placeholder": _(g, f, z)[0],
|
|
1677
|
+
"end-placeholder": _(g, f, z)[1],
|
|
1678
|
+
onChange: (E) => h(g, o)
|
|
1679
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
|
|
1680
|
+
[c(l).CHECKBOX].includes(g) ? (n(), y(le, {
|
|
1666
1681
|
key: 11,
|
|
1667
|
-
modelValue: t.value[
|
|
1668
|
-
"onUpdate:modelValue": (
|
|
1669
|
-
onChange: (
|
|
1682
|
+
modelValue: t.value[o],
|
|
1683
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1684
|
+
onChange: (E) => h(g, o)
|
|
1670
1685
|
}, {
|
|
1671
1686
|
default: A(() => [
|
|
1672
|
-
(
|
|
1673
|
-
key:
|
|
1674
|
-
label:
|
|
1687
|
+
(n(!0), b(P, null, Q(X, (E, p) => (n(), y(ae, {
|
|
1688
|
+
key: p,
|
|
1689
|
+
label: E.value
|
|
1675
1690
|
}, {
|
|
1676
1691
|
default: A(() => [
|
|
1677
|
-
|
|
1692
|
+
G(j(E.label), 1)
|
|
1678
1693
|
]),
|
|
1679
1694
|
_: 2
|
|
1680
1695
|
}, 1032, ["label"]))), 128))
|
|
1681
1696
|
]),
|
|
1682
1697
|
_: 2
|
|
1683
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
1684
|
-
[c(l).CASCADER].includes(
|
|
1698
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
|
|
1699
|
+
[c(l).CASCADER].includes(g) ? (n(), y(ma, {
|
|
1685
1700
|
key: 12,
|
|
1686
|
-
modelValue: t.value[
|
|
1687
|
-
"onUpdate:modelValue": (
|
|
1688
|
-
"data-options":
|
|
1689
|
-
placeholder: _(
|
|
1690
|
-
onOnChange: (
|
|
1691
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) :
|
|
1692
|
-
[].includes(
|
|
1693
|
-
[c(l).OPERATION].includes(
|
|
1701
|
+
modelValue: t.value[o],
|
|
1702
|
+
"onUpdate:modelValue": (E) => t.value[o] = E,
|
|
1703
|
+
"data-options": X,
|
|
1704
|
+
placeholder: _(g, f, z),
|
|
1705
|
+
onOnChange: (E) => h(g, o)
|
|
1706
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : $("", !0),
|
|
1707
|
+
[].includes(g) ? (n(), b(P, { key: 13 }, [], 64)) : $("", !0),
|
|
1708
|
+
[c(l).OPERATION].includes(g) ? (n(), y(ia, {
|
|
1694
1709
|
key: 14,
|
|
1695
|
-
fold:
|
|
1696
|
-
onOnSearch:
|
|
1710
|
+
fold: ue >= 7,
|
|
1711
|
+
onOnSearch: M,
|
|
1697
1712
|
onOnClear: S,
|
|
1698
|
-
onOnFold:
|
|
1699
|
-
}, null, 8, ["fold"])) :
|
|
1713
|
+
onOnFold: D
|
|
1714
|
+
}, null, 8, ["fold"])) : $("", !0)
|
|
1700
1715
|
], 64))
|
|
1701
1716
|
]),
|
|
1702
1717
|
_: 2
|
|
@@ -1704,7 +1719,7 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1704
1719
|
]),
|
|
1705
1720
|
_: 2
|
|
1706
1721
|
}, 1032, ["md"])), [
|
|
1707
|
-
[
|
|
1722
|
+
[te, ue < 7 || g === c(l).OPERATION || ue >= 7 && U.value]
|
|
1708
1723
|
])), 128))
|
|
1709
1724
|
]),
|
|
1710
1725
|
_: 1
|
|
@@ -1715,14 +1730,14 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
|
|
|
1715
1730
|
[c(u)]
|
|
1716
1731
|
])
|
|
1717
1732
|
]),
|
|
1718
|
-
|
|
1733
|
+
C(Ae)
|
|
1719
1734
|
]);
|
|
1720
1735
|
};
|
|
1721
1736
|
}
|
|
1722
1737
|
});
|
|
1723
|
-
const
|
|
1738
|
+
const Ea = { class: "bsgoal-base-search-table" }, ba = { class: "base_search_table" }, ya = {
|
|
1724
1739
|
name: "BsgoalBaseSearchTable"
|
|
1725
|
-
},
|
|
1740
|
+
}, xa = /* @__PURE__ */ Object.assign(ya, {
|
|
1726
1741
|
props: {
|
|
1727
1742
|
/**
|
|
1728
1743
|
* >----------props----------<
|
|
@@ -1830,36 +1845,36 @@ const ha = { class: "bsgoal-base-search-table" }, Ea = { class: "base_search_tab
|
|
|
1830
1845
|
},
|
|
1831
1846
|
setup(e, { expose: s }) {
|
|
1832
1847
|
const a = e, i = w(!1);
|
|
1833
|
-
|
|
1834
|
-
const r = c(a.configOptions), u =
|
|
1835
|
-
const { type:
|
|
1836
|
-
return !!
|
|
1837
|
-
})), t =
|
|
1838
|
-
const { item:
|
|
1839
|
-
return !
|
|
1840
|
-
})), d =
|
|
1841
|
-
V.value.refreshList(
|
|
1842
|
-
}, S =
|
|
1843
|
-
const { expression:
|
|
1844
|
-
return
|
|
1848
|
+
Ue("transferFoldStatus", i);
|
|
1849
|
+
const r = c(a.configOptions), u = Z(() => r.filter((D) => {
|
|
1850
|
+
const { type: h = "" } = D;
|
|
1851
|
+
return !!h;
|
|
1852
|
+
})), t = Z(() => r.filter((D) => {
|
|
1853
|
+
const { item: h = !1 } = D;
|
|
1854
|
+
return !h;
|
|
1855
|
+
})), d = Me(), _ = w(Object.keys(d)), V = w(null), M = (D) => {
|
|
1856
|
+
V.value.refreshList(D);
|
|
1857
|
+
}, S = Z(() => {
|
|
1858
|
+
const { expression: D, hasPage: h } = a;
|
|
1859
|
+
return h === !1 ? 25 : D;
|
|
1845
1860
|
}), k = w(null);
|
|
1846
1861
|
return s({
|
|
1847
1862
|
refresh: () => {
|
|
1848
|
-
const { hasSearch:
|
|
1849
|
-
c(
|
|
1863
|
+
const { hasSearch: D } = a;
|
|
1864
|
+
c(D) && k.value.triggerOperationSearch();
|
|
1850
1865
|
}
|
|
1851
|
-
}), (
|
|
1852
|
-
|
|
1853
|
-
|
|
1866
|
+
}), (D, h) => (n(), b("div", Ea, [
|
|
1867
|
+
O("div", ba, [
|
|
1868
|
+
K(C(ha, {
|
|
1854
1869
|
ref_key: "BSGOAL_BASE_SEARCH_REF",
|
|
1855
1870
|
ref: k,
|
|
1856
1871
|
"config-options": u.value,
|
|
1857
|
-
onOnSearch:
|
|
1858
|
-
onOnClear:
|
|
1872
|
+
onOnSearch: M,
|
|
1873
|
+
onOnClear: M
|
|
1859
1874
|
}, null, 8, ["config-options"]), [
|
|
1860
|
-
[
|
|
1875
|
+
[te, e.hasSearch]
|
|
1861
1876
|
]),
|
|
1862
|
-
|
|
1877
|
+
C(Ne, {
|
|
1863
1878
|
ref_key: "BSGOAL_BASE_TABLE_REF",
|
|
1864
1879
|
ref: V,
|
|
1865
1880
|
"map-props": e.mapProps,
|
|
@@ -1872,11 +1887,11 @@ const ha = { class: "bsgoal-base-search-table" }, Ea = { class: "base_search_tab
|
|
|
1872
1887
|
fetch: e.fetch,
|
|
1873
1888
|
call: e.call,
|
|
1874
1889
|
"has-page": e.hasPage
|
|
1875
|
-
},
|
|
1876
|
-
|
|
1890
|
+
}, Le({ _: 2 }, [
|
|
1891
|
+
Q(_.value, (x) => ({
|
|
1877
1892
|
name: x,
|
|
1878
|
-
fn: A(({ row:
|
|
1879
|
-
J(
|
|
1893
|
+
fn: A(({ row: T = {} }) => [
|
|
1894
|
+
J(D.$slots, x, { row: T })
|
|
1880
1895
|
])
|
|
1881
1896
|
}))
|
|
1882
1897
|
]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
|
|
@@ -1886,7 +1901,7 @@ const ha = { class: "bsgoal-base-search-table" }, Ea = { class: "base_search_tab
|
|
|
1886
1901
|
});
|
|
1887
1902
|
const Aa = { class: "bsgoal-base-tree-fold" }, Ta = {
|
|
1888
1903
|
name: "BsgoalBaseTreeFold"
|
|
1889
|
-
},
|
|
1904
|
+
}, Va = /* @__PURE__ */ Object.assign(Ta, {
|
|
1890
1905
|
props: ["modelValue"],
|
|
1891
1906
|
emits: ["update:modelValue"],
|
|
1892
1907
|
setup(e, { emit: s }) {
|
|
@@ -1895,19 +1910,19 @@ const Aa = { class: "bsgoal-base-tree-fold" }, Ta = {
|
|
|
1895
1910
|
a.value = !a.value, s("update:modelValue", a.value);
|
|
1896
1911
|
};
|
|
1897
1912
|
return (r, u) => {
|
|
1898
|
-
const t =
|
|
1899
|
-
return
|
|
1900
|
-
|
|
1913
|
+
const t = v("el-icon");
|
|
1914
|
+
return n(), b("div", Aa, [
|
|
1915
|
+
O("div", {
|
|
1901
1916
|
class: me(["base_tree_fold", { "base_tree_fold--hide": !c(a) }]),
|
|
1902
1917
|
onClick: i
|
|
1903
1918
|
}, [
|
|
1904
|
-
|
|
1919
|
+
C(t, { color: "#fff" }, {
|
|
1905
1920
|
default: A(() => [
|
|
1906
|
-
|
|
1907
|
-
[
|
|
1921
|
+
K(C(c(kt), null, null, 512), [
|
|
1922
|
+
[te, c(a)]
|
|
1908
1923
|
]),
|
|
1909
|
-
|
|
1910
|
-
[
|
|
1924
|
+
K(C(c(Ft), null, null, 512), [
|
|
1925
|
+
[te, !c(a)]
|
|
1911
1926
|
])
|
|
1912
1927
|
]),
|
|
1913
1928
|
_: 1
|
|
@@ -1917,9 +1932,9 @@ const Aa = { class: "bsgoal-base-tree-fold" }, Ta = {
|
|
|
1917
1932
|
};
|
|
1918
1933
|
}
|
|
1919
1934
|
});
|
|
1920
|
-
const
|
|
1935
|
+
const $a = { class: "bsgoal-base-tree" }, Ca = { class: "base_tree" }, Ma = { class: "base_tree_main" }, Ba = {
|
|
1921
1936
|
name: "BsgoalBaseTree"
|
|
1922
|
-
},
|
|
1937
|
+
}, wa = /* @__PURE__ */ Object.assign(Ba, {
|
|
1923
1938
|
props: {
|
|
1924
1939
|
/**
|
|
1925
1940
|
* 树结构 的下边距
|
|
@@ -1973,53 +1988,53 @@ const Va = { class: "bsgoal-base-tree" }, $a = { class: "base_tree" }, Ca = { cl
|
|
|
1973
1988
|
},
|
|
1974
1989
|
emits: ["on-click"],
|
|
1975
1990
|
setup(e, { emit: s }) {
|
|
1976
|
-
const a = e, i =
|
|
1977
|
-
_e(r, (
|
|
1978
|
-
u.value.filter(
|
|
1991
|
+
const a = e, i = ye.height, r = w(""), u = w(null);
|
|
1992
|
+
_e(r, (M) => {
|
|
1993
|
+
u.value.filter(M);
|
|
1979
1994
|
});
|
|
1980
|
-
const t = (
|
|
1981
|
-
s("on-click",
|
|
1982
|
-
}, V = async (
|
|
1983
|
-
if (
|
|
1984
|
-
const
|
|
1985
|
-
return S(
|
|
1995
|
+
const t = (M, S) => M ? S.label.includes(M) : !0, d = w(!0), _ = (M, S, k, U) => {
|
|
1996
|
+
s("on-click", M, S, k, U);
|
|
1997
|
+
}, V = async (M, S, k) => {
|
|
1998
|
+
if (M.level === 0) {
|
|
1999
|
+
const U = await k.initNode(M);
|
|
2000
|
+
return S(U || []);
|
|
1986
2001
|
} else {
|
|
1987
|
-
const
|
|
1988
|
-
S(
|
|
2002
|
+
const U = await k.lazyLoad(M);
|
|
2003
|
+
S(U || []);
|
|
1989
2004
|
}
|
|
1990
2005
|
};
|
|
1991
|
-
return (
|
|
1992
|
-
const k =
|
|
1993
|
-
return
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2006
|
+
return (M, S) => {
|
|
2007
|
+
const k = v("el-input"), U = v("el-tree");
|
|
2008
|
+
return n(), b("div", $a, [
|
|
2009
|
+
K((n(), b("div", Ca, [
|
|
2010
|
+
K(O("div", Ma, [
|
|
2011
|
+
C(k, {
|
|
1997
2012
|
modelValue: r.value,
|
|
1998
|
-
"onUpdate:modelValue": S[0] || (S[0] = (
|
|
2013
|
+
"onUpdate:modelValue": S[0] || (S[0] = (D) => r.value = D),
|
|
1999
2014
|
class: "base_tree_main_input",
|
|
2000
2015
|
placeholder: "输入关键字过滤"
|
|
2001
2016
|
}, null, 8, ["modelValue"]),
|
|
2002
|
-
|
|
2017
|
+
C(U, {
|
|
2003
2018
|
ref_key: "EL_TREE_REF",
|
|
2004
2019
|
ref: u,
|
|
2005
2020
|
lazy: "",
|
|
2006
2021
|
"highlight-current": "",
|
|
2007
2022
|
"empty-text": "暂无数据",
|
|
2008
|
-
load: (
|
|
2023
|
+
load: (D, h) => V(D, h, a),
|
|
2009
2024
|
"expand-on-click-node": !1,
|
|
2010
2025
|
props: e.treeProps,
|
|
2011
2026
|
"filter-node-method": t,
|
|
2012
2027
|
onNodeClick: _
|
|
2013
2028
|
}, null, 8, ["load", "props"])
|
|
2014
2029
|
], 512), [
|
|
2015
|
-
[
|
|
2030
|
+
[te, d.value]
|
|
2016
2031
|
]),
|
|
2017
|
-
|
|
2018
|
-
[
|
|
2032
|
+
K(C(Ae, { vertical: "" }, null, 512), [
|
|
2033
|
+
[te, d.value]
|
|
2019
2034
|
]),
|
|
2020
|
-
|
|
2035
|
+
C(Va, {
|
|
2021
2036
|
modelValue: d.value,
|
|
2022
|
-
"onUpdate:modelValue": S[1] || (S[1] = (
|
|
2037
|
+
"onUpdate:modelValue": S[1] || (S[1] = (D) => d.value = D)
|
|
2023
2038
|
}, null, 8, ["modelValue"])
|
|
2024
2039
|
])), [
|
|
2025
2040
|
[c(i), e.gasket]
|
|
@@ -2028,9 +2043,9 @@ const Va = { class: "bsgoal-base-tree" }, $a = { class: "base_tree" }, Ca = { cl
|
|
|
2028
2043
|
};
|
|
2029
2044
|
}
|
|
2030
2045
|
});
|
|
2031
|
-
const Na = { class: "bsgoal-base-dialog" },
|
|
2046
|
+
const Na = { class: "bsgoal-base-dialog" }, ka = { class: "base_dialog" }, Sa = { class: "base_dialog_header" }, Da = { class: "base_dialog_footer" }, Oa = {
|
|
2032
2047
|
name: "BsgoalBaseDialog"
|
|
2033
|
-
},
|
|
2048
|
+
}, Ia = /* @__PURE__ */ Object.assign(Oa, {
|
|
2034
2049
|
props: {
|
|
2035
2050
|
/**
|
|
2036
2051
|
* 弹窗状态
|
|
@@ -2107,7 +2122,7 @@ const Na = { class: "bsgoal-base-dialog" }, wa = { class: "base_dialog" }, ka =
|
|
|
2107
2122
|
), _e(i, (d) => {
|
|
2108
2123
|
s("update:modelValue", d);
|
|
2109
2124
|
});
|
|
2110
|
-
const t =
|
|
2125
|
+
const t = Z(() => {
|
|
2111
2126
|
const { width: d, size: _ } = a;
|
|
2112
2127
|
if (d)
|
|
2113
2128
|
return d;
|
|
@@ -2127,10 +2142,10 @@ const Na = { class: "bsgoal-base-dialog" }, wa = { class: "base_dialog" }, ka =
|
|
|
2127
2142
|
}
|
|
2128
2143
|
});
|
|
2129
2144
|
return (d, _) => {
|
|
2130
|
-
const V =
|
|
2131
|
-
return
|
|
2132
|
-
|
|
2133
|
-
|
|
2145
|
+
const V = v("el-button"), M = v("el-dialog");
|
|
2146
|
+
return n(), b("div", Na, [
|
|
2147
|
+
O("div", ka, [
|
|
2148
|
+
C(M, {
|
|
2134
2149
|
modelValue: i.value,
|
|
2135
2150
|
"onUpdate:modelValue": _[0] || (_[0] = (S) => i.value = S),
|
|
2136
2151
|
"custom-class": "bsgoal_base_dialog_main",
|
|
@@ -2138,31 +2153,31 @@ const Na = { class: "bsgoal-base-dialog" }, wa = { class: "base_dialog" }, ka =
|
|
|
2138
2153
|
width: t.value
|
|
2139
2154
|
}, {
|
|
2140
2155
|
header: A(() => [
|
|
2141
|
-
|
|
2156
|
+
O("div", Sa, j(e.title), 1)
|
|
2142
2157
|
]),
|
|
2143
2158
|
footer: A(() => [
|
|
2144
2159
|
e.footer ? J(d.$slots, "footer", { key: 0 }, () => [
|
|
2145
|
-
|
|
2146
|
-
|
|
2160
|
+
O("span", Da, [
|
|
2161
|
+
C(V, { onClick: r }, {
|
|
2147
2162
|
default: A(() => [
|
|
2148
|
-
|
|
2163
|
+
G(j(e.cancelTxt), 1)
|
|
2149
2164
|
]),
|
|
2150
2165
|
_: 1
|
|
2151
2166
|
}),
|
|
2152
|
-
|
|
2167
|
+
C(V, {
|
|
2153
2168
|
type: "primary",
|
|
2154
2169
|
onClick: u
|
|
2155
2170
|
}, {
|
|
2156
2171
|
default: A(() => [
|
|
2157
|
-
|
|
2172
|
+
G(j(e.confirmTxt), 1)
|
|
2158
2173
|
]),
|
|
2159
2174
|
_: 1
|
|
2160
2175
|
})
|
|
2161
2176
|
])
|
|
2162
|
-
]) :
|
|
2177
|
+
]) : $("", !0)
|
|
2163
2178
|
]),
|
|
2164
2179
|
default: A(() => [
|
|
2165
|
-
|
|
2180
|
+
O("div", {
|
|
2166
2181
|
class: me(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
|
|
2167
2182
|
}, [
|
|
2168
2183
|
J(d.$slots, "default")
|
|
@@ -2175,9 +2190,9 @@ const Na = { class: "bsgoal-base-dialog" }, wa = { class: "base_dialog" }, ka =
|
|
|
2175
2190
|
};
|
|
2176
2191
|
}
|
|
2177
2192
|
});
|
|
2178
|
-
const
|
|
2193
|
+
const Ra = { class: "bsgoal-base-tabs" }, Fa = {
|
|
2179
2194
|
name: "BsgoalBaseTabs"
|
|
2180
|
-
},
|
|
2195
|
+
}, Ua = /* @__PURE__ */ Object.assign(Fa, {
|
|
2181
2196
|
props: {
|
|
2182
2197
|
/**
|
|
2183
2198
|
* 配置项
|
|
@@ -2219,16 +2234,16 @@ const Ia = { class: "bsgoal-base-tabs" }, Fa = {
|
|
|
2219
2234
|
},
|
|
2220
2235
|
emits: ["update:modelValue"],
|
|
2221
2236
|
setup(e, { emit: s }) {
|
|
2222
|
-
const a = e, i =
|
|
2237
|
+
const a = e, i = Z(() => {
|
|
2223
2238
|
const { modelValue: u = "", configOptions: t = [] } = a, d = c(t).map((V) => V.value);
|
|
2224
2239
|
return c(u) || d[0];
|
|
2225
2240
|
}), r = (u = "") => {
|
|
2226
2241
|
s("update:modelValue", u);
|
|
2227
2242
|
};
|
|
2228
2243
|
return (u, t) => {
|
|
2229
|
-
const d =
|
|
2230
|
-
return
|
|
2231
|
-
|
|
2244
|
+
const d = v("el-tab-pane"), _ = v("el-tabs");
|
|
2245
|
+
return n(), b("div", Ra, [
|
|
2246
|
+
C(_, {
|
|
2232
2247
|
class: "bsgoal_base_tabs",
|
|
2233
2248
|
stretch: e.stretch,
|
|
2234
2249
|
type: e.type,
|
|
@@ -2236,14 +2251,14 @@ const Ia = { class: "bsgoal-base-tabs" }, Fa = {
|
|
|
2236
2251
|
onTabChange: r
|
|
2237
2252
|
}, {
|
|
2238
2253
|
default: A(() => [
|
|
2239
|
-
(
|
|
2254
|
+
(n(!0), b(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(), y(d, {
|
|
2240
2255
|
key: S,
|
|
2241
2256
|
label: V,
|
|
2242
|
-
name:
|
|
2257
|
+
name: M
|
|
2243
2258
|
}, {
|
|
2244
2259
|
default: A(() => [
|
|
2245
|
-
J(u.$slots,
|
|
2246
|
-
|
|
2260
|
+
J(u.$slots, M, {}, () => [
|
|
2261
|
+
G(j(V), 1)
|
|
2247
2262
|
])
|
|
2248
2263
|
]),
|
|
2249
2264
|
_: 2
|
|
@@ -2255,9 +2270,9 @@ const Ia = { class: "bsgoal-base-tabs" }, Fa = {
|
|
|
2255
2270
|
};
|
|
2256
2271
|
}
|
|
2257
2272
|
});
|
|
2258
|
-
const
|
|
2273
|
+
const La = { class: "bsgoal-base-link" }, Pa = {
|
|
2259
2274
|
name: "BsgoalBaseLink"
|
|
2260
|
-
},
|
|
2275
|
+
}, ja = /* @__PURE__ */ Object.assign(Pa, {
|
|
2261
2276
|
props: {
|
|
2262
2277
|
/**
|
|
2263
2278
|
* 内容
|
|
@@ -2287,18 +2302,18 @@ const Ua = { class: "bsgoal-base-link" }, La = {
|
|
|
2287
2302
|
s("on-click");
|
|
2288
2303
|
};
|
|
2289
2304
|
return (i, r) => {
|
|
2290
|
-
const u =
|
|
2291
|
-
return
|
|
2292
|
-
|
|
2305
|
+
const u = v("el-link");
|
|
2306
|
+
return n(), b("div", La, [
|
|
2307
|
+
C(u, {
|
|
2293
2308
|
class: "bsgoal_base_link",
|
|
2294
2309
|
type: "primary",
|
|
2295
2310
|
underline: e.underline,
|
|
2296
|
-
style:
|
|
2311
|
+
style: Pe(e.styler),
|
|
2297
2312
|
onClick: a
|
|
2298
2313
|
}, {
|
|
2299
2314
|
default: A(() => [
|
|
2300
2315
|
J(i.$slots, "default", {}, () => [
|
|
2301
|
-
|
|
2316
|
+
G(j(e.content), 1)
|
|
2302
2317
|
], !0)
|
|
2303
2318
|
]),
|
|
2304
2319
|
_: 3
|
|
@@ -2306,10 +2321,10 @@ const Ua = { class: "bsgoal-base-link" }, La = {
|
|
|
2306
2321
|
]);
|
|
2307
2322
|
};
|
|
2308
2323
|
}
|
|
2309
|
-
}),
|
|
2310
|
-
const
|
|
2324
|
+
}), za = /* @__PURE__ */ we(ja, [["__scopeId", "data-v-3b0290b0"]]);
|
|
2325
|
+
const Ga = { class: "bsgoal-base-button" }, Ya = {
|
|
2311
2326
|
name: "BsgoalBaseButton"
|
|
2312
|
-
},
|
|
2327
|
+
}, Ha = /* @__PURE__ */ Object.assign(Ya, {
|
|
2313
2328
|
props: {
|
|
2314
2329
|
task: {
|
|
2315
2330
|
type: [Object, Function],
|
|
@@ -2351,39 +2366,39 @@ const za = { class: "bsgoal-base-button" }, Ga = {
|
|
|
2351
2366
|
c(t)(() => {
|
|
2352
2367
|
a.value = !1;
|
|
2353
2368
|
}, s.values);
|
|
2354
|
-
}, r =
|
|
2369
|
+
}, r = Z(() => {
|
|
2355
2370
|
const { mode: t = "", type: d = "" } = s;
|
|
2356
2371
|
switch (t) {
|
|
2357
2372
|
case "delete":
|
|
2358
2373
|
return "danger";
|
|
2359
2374
|
}
|
|
2360
2375
|
return d;
|
|
2361
|
-
}), u =
|
|
2376
|
+
}), u = Z(() => {
|
|
2362
2377
|
const { mode: t = "", icon: d = "" } = s;
|
|
2363
2378
|
switch (t) {
|
|
2364
2379
|
case "delete":
|
|
2365
|
-
return
|
|
2380
|
+
return ke;
|
|
2366
2381
|
case "add":
|
|
2367
|
-
return
|
|
2382
|
+
return ta;
|
|
2368
2383
|
}
|
|
2369
2384
|
return d;
|
|
2370
2385
|
});
|
|
2371
2386
|
return (t, d) => {
|
|
2372
|
-
const _ =
|
|
2373
|
-
return
|
|
2374
|
-
|
|
2387
|
+
const _ = v("el-button");
|
|
2388
|
+
return n(), b("div", Ga, [
|
|
2389
|
+
O("div", {
|
|
2375
2390
|
class: "base_button",
|
|
2376
2391
|
onClick: i
|
|
2377
2392
|
}, [
|
|
2378
2393
|
J(t.$slots, "default", { loading: a.value }, () => [
|
|
2379
|
-
|
|
2394
|
+
C(_, {
|
|
2380
2395
|
type: r.value,
|
|
2381
2396
|
icon: u.value,
|
|
2382
2397
|
loading: a.value,
|
|
2383
2398
|
plain: e.plain
|
|
2384
2399
|
}, {
|
|
2385
2400
|
default: A(() => [
|
|
2386
|
-
|
|
2401
|
+
G(j(e.content), 1)
|
|
2387
2402
|
]),
|
|
2388
2403
|
_: 1
|
|
2389
2404
|
}, 8, ["type", "icon", "loading", "plain"])
|
|
@@ -2393,9 +2408,9 @@ const za = { class: "bsgoal-base-button" }, Ga = {
|
|
|
2393
2408
|
};
|
|
2394
2409
|
}
|
|
2395
2410
|
});
|
|
2396
|
-
const
|
|
2411
|
+
const Wa = { class: "bsgoal-base-layout" }, Xa = {
|
|
2397
2412
|
name: "BsgoalBaseLayout"
|
|
2398
|
-
},
|
|
2413
|
+
}, Qa = /* @__PURE__ */ Object.assign(Xa, {
|
|
2399
2414
|
props: {
|
|
2400
2415
|
/**
|
|
2401
2416
|
* 间隔
|
|
@@ -2413,16 +2428,16 @@ const Ha = { class: "bsgoal-base-layout" }, Wa = {
|
|
|
2413
2428
|
}
|
|
2414
2429
|
},
|
|
2415
2430
|
setup(e) {
|
|
2416
|
-
const s =
|
|
2431
|
+
const s = Me(), a = w(Object.keys(s));
|
|
2417
2432
|
return (i, r) => {
|
|
2418
|
-
const u =
|
|
2419
|
-
return
|
|
2420
|
-
|
|
2433
|
+
const u = v("el-col"), t = v("el-row");
|
|
2434
|
+
return n(), b("div", Wa, [
|
|
2435
|
+
C(t, {
|
|
2421
2436
|
class: "base_layout",
|
|
2422
2437
|
gutter: e.gutter
|
|
2423
2438
|
}, {
|
|
2424
2439
|
default: A(() => [
|
|
2425
|
-
(
|
|
2440
|
+
(n(!0), b(P, null, Q(a.value, (d, _) => (n(), y(u, {
|
|
2426
2441
|
key: _,
|
|
2427
2442
|
xs: 24,
|
|
2428
2443
|
sm: 24,
|
|
@@ -2441,29 +2456,29 @@ const Ha = { class: "bsgoal-base-layout" }, Wa = {
|
|
|
2441
2456
|
]);
|
|
2442
2457
|
};
|
|
2443
2458
|
}
|
|
2444
|
-
}),
|
|
2459
|
+
}), qa = l, el = xe, tl = {
|
|
2445
2460
|
install(e, s = {}) {
|
|
2446
2461
|
const { exclude: a = [] } = s, i = {
|
|
2447
|
-
BsgoalBaseForm:
|
|
2462
|
+
BsgoalBaseForm: Qe,
|
|
2448
2463
|
BsgoalBaseTable: Ne,
|
|
2449
2464
|
BsgoalBaseLine: Ae,
|
|
2450
|
-
BsgoalBaseSearchTable:
|
|
2451
|
-
BsgoalBaseTree:
|
|
2452
|
-
BsgoalBaseDialog:
|
|
2453
|
-
BsgoalBaseTabs:
|
|
2454
|
-
BsgoalBaseLink:
|
|
2455
|
-
BsgoalBaseButton:
|
|
2456
|
-
BsgoalBaseLayout:
|
|
2465
|
+
BsgoalBaseSearchTable: xa,
|
|
2466
|
+
BsgoalBaseTree: wa,
|
|
2467
|
+
BsgoalBaseDialog: Ia,
|
|
2468
|
+
BsgoalBaseTabs: Ua,
|
|
2469
|
+
BsgoalBaseLink: za,
|
|
2470
|
+
BsgoalBaseButton: Ha,
|
|
2471
|
+
BsgoalBaseLayout: Qa
|
|
2457
2472
|
};
|
|
2458
2473
|
for (const [r, u] of Object.entries(i))
|
|
2459
2474
|
a.includes(r) || e.component(r, u);
|
|
2460
2475
|
},
|
|
2461
2476
|
enumType: l,
|
|
2462
|
-
useFetch:
|
|
2477
|
+
useFetch: xe
|
|
2463
2478
|
};
|
|
2464
2479
|
export {
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2480
|
+
qa as EnumType,
|
|
2481
|
+
tl as default,
|
|
2482
|
+
el as useFetchApi
|
|
2468
2483
|
};
|
|
2469
2484
|
//# sourceMappingURL=index.mjs.map
|