@bsgoal/common 1.7.0 → 1.7.2
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 +718 -768
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/bsgoal-base-button/demo.vue +3 -2
- package/src/components/bsgoal-base-button/index.vue +32 -4
- package/src/entry.js +3 -1
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
for (var l in
|
|
6
|
-
|
|
7
|
-
if (
|
|
8
|
-
for (var l of
|
|
9
|
-
De.call(
|
|
1
|
+
var Se = Object.defineProperty;
|
|
2
|
+
var Ae = Object.getOwnPropertySymbols;
|
|
3
|
+
var ke = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var Te = (e, u, l) => u in e ? Se(e, u, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[u] = l, fe = (e, u) => {
|
|
5
|
+
for (var l in u || (u = {}))
|
|
6
|
+
ke.call(u, l) && Te(e, l, u[l]);
|
|
7
|
+
if (Ae)
|
|
8
|
+
for (var l of Ae(u))
|
|
9
|
+
De.call(u, l) && Te(e, l, u[l]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { computed as K, resolveComponent as g, openBlock as o, createElementBlock as
|
|
13
|
-
import { ElMessage as
|
|
12
|
+
import { computed as K, resolveComponent as g, openBlock as o, createElementBlock as C, createVNode as B, unref as s, withCtx as A, renderSlot as J, createTextVNode as H, toDisplayString as z, ref as k, watchEffect as ve, createElementVNode as R, withDirectives as W, createBlock as b, Fragment as L, renderList as Z, createCommentVNode as N, nextTick as Ce, inject as Ve, watch as de, resolveDirective as $e, normalizeClass as _e, vShow as ne, isProxy as Oe, toRaw as Ie, provide as Fe, useSlots as Re, createSlots as we, normalizeStyle as Ue } from "vue";
|
|
13
|
+
import { ElMessage as Pe } from "element-plus";
|
|
14
|
+
import { Search as je, Delete as Me, ArrowUp as Le, ArrowDown as ze, ArrowLeft as Ye, ArrowRight as Ge, Plus as He } from "@element-plus/icons-vue";
|
|
14
15
|
const a = {
|
|
15
16
|
INPUT: "text",
|
|
16
17
|
INPUT_NUMBER: "number",
|
|
@@ -33,60 +34,60 @@ const a = {
|
|
|
33
34
|
OPERATION: "operation",
|
|
34
35
|
CASCADER: "cascader"
|
|
35
36
|
};
|
|
36
|
-
let
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const t = c.map((_) => _.width),
|
|
37
|
+
let pe = null;
|
|
38
|
+
const he = (e) => {
|
|
39
|
+
const u = [], l = [], i = (c = []) => {
|
|
40
|
+
const t = c.map((_) => _.width), d = Math.max(...t);
|
|
40
41
|
c.forEach((_) => {
|
|
41
|
-
const { labelEl:
|
|
42
|
-
|
|
42
|
+
const { labelEl: M } = _;
|
|
43
|
+
M.style.width = `${d}px`;
|
|
43
44
|
});
|
|
44
45
|
}, r = () => {
|
|
45
46
|
if (e) {
|
|
46
47
|
const c = e.querySelectorAll(".el-form-item__label");
|
|
47
48
|
if (c && c.length) {
|
|
48
49
|
let t = 0;
|
|
49
|
-
c.forEach((
|
|
50
|
-
|
|
51
|
-
const { x:
|
|
52
|
-
_ === 0 && (t =
|
|
50
|
+
c.forEach((d, _) => {
|
|
51
|
+
d.style.width = "initial", d.style.whiteSpace = "nowrap";
|
|
52
|
+
const { x: M = 0, width: S = 0 } = d.getBoundingClientRect(), $ = { x: M, width: S, labelEl: d };
|
|
53
|
+
_ === 0 && (t = M), M === t ? u.push($) : l.push($);
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
}
|
|
56
57
|
};
|
|
57
|
-
|
|
58
|
-
r(), i(
|
|
58
|
+
pe && clearTimeout(pe), pe = setTimeout(() => {
|
|
59
|
+
r(), i(u), i(l);
|
|
59
60
|
}, 50);
|
|
60
|
-
},
|
|
61
|
+
}, Ee = {
|
|
61
62
|
/**
|
|
62
63
|
* 表单自动左对齐
|
|
63
64
|
*/
|
|
64
65
|
align: {
|
|
65
66
|
created(e) {
|
|
66
67
|
window.addEventListener("resize", () => {
|
|
67
|
-
|
|
68
|
+
he(e);
|
|
68
69
|
});
|
|
69
70
|
},
|
|
70
71
|
mounted(e) {
|
|
71
|
-
|
|
72
|
+
he(e);
|
|
72
73
|
},
|
|
73
74
|
unmounted(e) {
|
|
74
|
-
window.removeEventListener("resize",
|
|
75
|
+
window.removeEventListener("resize", he(e));
|
|
75
76
|
}
|
|
76
77
|
},
|
|
77
78
|
/**
|
|
78
79
|
* 表格自动高度
|
|
79
80
|
*/
|
|
80
|
-
height: (e, { value:
|
|
81
|
+
height: (e, { value: u = 65, arg: l = "" }) => {
|
|
81
82
|
if (e) {
|
|
82
83
|
const { y: i = 0 } = e.getBoundingClientRect();
|
|
83
|
-
e.style.height = `calc(100vh - ${i +
|
|
84
|
+
e.style.height = `calc(100vh - ${i + u}px)`;
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
87
|
};
|
|
87
|
-
const
|
|
88
|
+
const We = { class: "bsgoal-base-tooltip" }, Xe = {
|
|
88
89
|
name: "BsgoalBaseTooltip"
|
|
89
|
-
},
|
|
90
|
+
}, xe = /* @__PURE__ */ Object.assign(Xe, {
|
|
90
91
|
props: {
|
|
91
92
|
/**
|
|
92
93
|
* 文字提示内容
|
|
@@ -126,29 +127,29 @@ const Pe = { class: "bsgoal-base-tooltip" }, ze = {
|
|
|
126
127
|
}
|
|
127
128
|
},
|
|
128
129
|
setup(e) {
|
|
129
|
-
const
|
|
130
|
-
const { content: r = "", limit: c = 0, none: t = "" } =
|
|
131
|
-
let
|
|
130
|
+
const u = e, l = K(() => {
|
|
131
|
+
const { content: r = "", limit: c = 0, none: t = "" } = u;
|
|
132
|
+
let d = r;
|
|
132
133
|
const _ = r.length;
|
|
133
|
-
return c && _ > c && (
|
|
134
|
+
return c && _ > c && (d = `${r.substring(0, c)}...`), d || t;
|
|
134
135
|
}), i = K(() => {
|
|
135
|
-
const { content: r = "", limit: c = 0 } =
|
|
136
|
+
const { content: r = "", limit: c = 0 } = u;
|
|
136
137
|
return r.length < c || !c;
|
|
137
138
|
});
|
|
138
139
|
return (r, c) => {
|
|
139
140
|
const t = g("el-tooltip");
|
|
140
|
-
return o(),
|
|
141
|
-
|
|
141
|
+
return o(), C("div", We, [
|
|
142
|
+
B(t, {
|
|
142
143
|
class: "base_tooltip",
|
|
143
144
|
effect: "dark",
|
|
144
145
|
"popper-class": "base_tooltip_popper",
|
|
145
146
|
placement: "top-start",
|
|
146
147
|
content: e.content,
|
|
147
|
-
disabled:
|
|
148
|
+
disabled: s(i)
|
|
148
149
|
}, {
|
|
149
|
-
default:
|
|
150
|
-
|
|
151
|
-
H(
|
|
150
|
+
default: A(() => [
|
|
151
|
+
J(r.$slots, "default", {}, () => [
|
|
152
|
+
H(z(s(l)), 1)
|
|
152
153
|
])
|
|
153
154
|
]),
|
|
154
155
|
_: 3
|
|
@@ -157,9 +158,9 @@ const Pe = { class: "bsgoal-base-tooltip" }, ze = {
|
|
|
157
158
|
};
|
|
158
159
|
}
|
|
159
160
|
});
|
|
160
|
-
const
|
|
161
|
+
const Qe = { class: "bsgoal-base-form" }, Ze = { class: "base_form" }, Ke = { key: 1 }, Je = {
|
|
161
162
|
name: "BsgoalBaseForm"
|
|
162
|
-
},
|
|
163
|
+
}, qe = /* @__PURE__ */ Object.assign(Je, {
|
|
163
164
|
props: {
|
|
164
165
|
/**
|
|
165
166
|
* >----------props----------<
|
|
@@ -221,24 +222,24 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
221
222
|
}
|
|
222
223
|
},
|
|
223
224
|
emits: ["on-form", "on-clear", "on-change", "on-fold"],
|
|
224
|
-
setup(e, { expose:
|
|
225
|
-
const i = e, r =
|
|
226
|
-
|
|
227
|
-
const { configOptions: h, values: E } = i,
|
|
228
|
-
|
|
229
|
-
const { value:
|
|
230
|
-
[a.INPUT, a.INPUT_TEXT_AREA].includes(I), t.value[O] =
|
|
225
|
+
setup(e, { expose: u, emit: l }) {
|
|
226
|
+
const i = e, r = k(null), c = Ee.align, t = k({});
|
|
227
|
+
ve(() => {
|
|
228
|
+
const { configOptions: h, values: E } = i, y = s(h), V = s(E);
|
|
229
|
+
y.forEach((x) => {
|
|
230
|
+
const { value: v = "", prop: O = "", type: I = "" } = x;
|
|
231
|
+
[a.INPUT, a.INPUT_TEXT_AREA].includes(I), t.value[O] = V[O] || v;
|
|
231
232
|
});
|
|
232
233
|
});
|
|
233
|
-
const
|
|
234
|
+
const d = K(() => {
|
|
234
235
|
const { configOptions: h } = i;
|
|
235
|
-
return
|
|
236
|
-
let { rules:
|
|
237
|
-
const O = { required: !0, message: `${
|
|
238
|
-
return
|
|
236
|
+
return s(h).map((V) => {
|
|
237
|
+
let { rules: x = !1, label: v = "" } = V;
|
|
238
|
+
const O = { required: !0, message: `${v}不能为空`, trigger: "blur" };
|
|
239
|
+
return x && (typeof x == "boolean" ? x = [O] : Array.isArray(x) ? x = [O, ...x] : x = [O, x]), V.rules = x, V;
|
|
239
240
|
});
|
|
240
|
-
}), _ = (h = "", E = "",
|
|
241
|
-
if (!
|
|
241
|
+
}), _ = (h = "", E = "", y = "") => {
|
|
242
|
+
if (!y)
|
|
242
243
|
switch (h) {
|
|
243
244
|
case a.INPUT:
|
|
244
245
|
case a.INPUT_TEXT_AREA:
|
|
@@ -259,8 +260,8 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
259
260
|
case a.MONTH_RANGE:
|
|
260
261
|
return ["开始月份", "结束月份"];
|
|
261
262
|
}
|
|
262
|
-
return
|
|
263
|
-
},
|
|
263
|
+
return y;
|
|
264
|
+
}, M = (h = "", E = "") => {
|
|
264
265
|
if (!E)
|
|
265
266
|
switch (h) {
|
|
266
267
|
case a.WEEK:
|
|
@@ -282,235 +283,235 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
282
283
|
return "YYYY-MM-DD HH:mm:ss";
|
|
283
284
|
}
|
|
284
285
|
return E;
|
|
285
|
-
},
|
|
286
|
-
const h =
|
|
287
|
-
for (const
|
|
288
|
-
const { type:
|
|
289
|
-
if (
|
|
290
|
-
const { 0: I = "", 1:
|
|
291
|
-
h[
|
|
286
|
+
}, S = () => {
|
|
287
|
+
const h = s(t), { configOptions: E } = i, y = s(E);
|
|
288
|
+
for (const V of y) {
|
|
289
|
+
const { type: x = "", range: v = [], prop: O = "" } = V;
|
|
290
|
+
if (x.endsWith("range") && v && v.length === 2) {
|
|
291
|
+
const { 0: I = "", 1: P = "" } = h[O], { 0: w = "", 1: Y = "" } = v;
|
|
292
|
+
h[w] = I, h[Y] = P;
|
|
292
293
|
}
|
|
293
294
|
}
|
|
294
295
|
return l("on-form", h), h;
|
|
295
|
-
},
|
|
296
|
+
}, $ = () => {
|
|
296
297
|
r.value.resetFields(), l("on-clear", t.value);
|
|
297
|
-
},
|
|
298
|
-
const
|
|
298
|
+
}, D = (h, E) => {
|
|
299
|
+
const y = {
|
|
299
300
|
type: h,
|
|
300
301
|
prop: E,
|
|
301
302
|
value: t.value[E] || ""
|
|
302
303
|
};
|
|
303
|
-
l("on-change",
|
|
304
|
+
l("on-change", y);
|
|
304
305
|
};
|
|
305
|
-
return
|
|
306
|
-
triggerOperationClear:
|
|
307
|
-
triggerOperationForm:
|
|
306
|
+
return u({
|
|
307
|
+
triggerOperationClear: $,
|
|
308
|
+
triggerOperationForm: S,
|
|
308
309
|
validateForm: (h = () => {
|
|
309
310
|
}) => {
|
|
310
|
-
r.value.validate((E = !1,
|
|
311
|
+
r.value.validate((E = !1, y = {}) => {
|
|
311
312
|
if (E) {
|
|
312
|
-
const
|
|
313
|
-
h(
|
|
313
|
+
const V = S();
|
|
314
|
+
h(V);
|
|
314
315
|
} else {
|
|
315
316
|
h(!1);
|
|
316
|
-
const
|
|
317
|
-
[
|
|
318
|
-
0: { message:
|
|
317
|
+
const V = Object.keys(y)[0], {
|
|
318
|
+
[V]: {
|
|
319
|
+
0: { message: x = "" }
|
|
319
320
|
}
|
|
320
|
-
} =
|
|
321
|
-
|
|
321
|
+
} = y;
|
|
322
|
+
Pe.error(x);
|
|
322
323
|
}
|
|
323
324
|
});
|
|
324
325
|
}
|
|
325
326
|
}), (h, E) => {
|
|
326
|
-
const
|
|
327
|
-
return o(),
|
|
328
|
-
|
|
329
|
-
W((o(), b(
|
|
327
|
+
const y = g("el-input"), V = g("el-input-number"), x = g("el-radio"), v = g("el-radio-group"), O = g("el-option"), I = g("el-select"), P = g("el-slider"), w = g("el-switch"), Y = g("el-date-picker"), F = g("el-time-picker"), X = g("el-checkbox"), q = g("el-checkbox-group"), le = g("el-form-item"), oe = g("el-col"), ce = g("el-row"), re = g("el-form");
|
|
328
|
+
return o(), C("div", Qe, [
|
|
329
|
+
R("div", Ze, [
|
|
330
|
+
W((o(), b(re, {
|
|
330
331
|
ref_key: "EL_FORM_REF",
|
|
331
332
|
ref: r,
|
|
332
333
|
"label-suffix": ":",
|
|
333
334
|
model: t.value
|
|
334
335
|
}, {
|
|
335
|
-
default:
|
|
336
|
-
|
|
337
|
-
default:
|
|
338
|
-
(o(!0),
|
|
339
|
-
label:
|
|
336
|
+
default: A(() => [
|
|
337
|
+
B(ce, null, {
|
|
338
|
+
default: A(() => [
|
|
339
|
+
(o(!0), C(L, null, Z(s(d), ({
|
|
340
|
+
label: j = "",
|
|
340
341
|
prop: T = "",
|
|
341
|
-
type:
|
|
342
|
+
type: m = "text",
|
|
342
343
|
placeholder: f = "",
|
|
343
|
-
readonly:
|
|
344
|
-
clearable:
|
|
345
|
-
rows:
|
|
346
|
-
min:
|
|
347
|
-
max:
|
|
348
|
-
range:
|
|
349
|
-
format:
|
|
350
|
-
rules:
|
|
351
|
-
limit:
|
|
352
|
-
} = {},
|
|
353
|
-
key:
|
|
344
|
+
readonly: p = e.readonlys,
|
|
345
|
+
clearable: G = !0,
|
|
346
|
+
rows: ge = 2,
|
|
347
|
+
min: ie = 1,
|
|
348
|
+
max: me = 10,
|
|
349
|
+
range: ee = [],
|
|
350
|
+
format: te = "",
|
|
351
|
+
rules: ae = [],
|
|
352
|
+
limit: se = e.limits
|
|
353
|
+
} = {}, ue) => (o(), b(oe, {
|
|
354
|
+
key: ue,
|
|
354
355
|
xs: 24,
|
|
355
356
|
sm: 24,
|
|
356
357
|
md: e.medium
|
|
357
358
|
}, {
|
|
358
|
-
default:
|
|
359
|
-
|
|
360
|
-
label:
|
|
359
|
+
default: A(() => [
|
|
360
|
+
B(le, {
|
|
361
|
+
label: j,
|
|
361
362
|
prop: T,
|
|
362
|
-
rules:
|
|
363
|
+
rules: ae
|
|
363
364
|
}, {
|
|
364
|
-
default:
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
default: A(() => [
|
|
366
|
+
p ? (o(), C("div", Ke, [
|
|
367
|
+
B(xe, {
|
|
367
368
|
content: t.value[T],
|
|
368
|
-
limit:
|
|
369
|
+
limit: se,
|
|
369
370
|
none: e.none
|
|
370
371
|
}, null, 8, ["content", "limit", "none"])
|
|
371
|
-
])) : (o(),
|
|
372
|
-
|
|
372
|
+
])) : (o(), C(L, { key: 0 }, [
|
|
373
|
+
m === s(a).INPUT ? (o(), b(y, {
|
|
373
374
|
key: 0,
|
|
374
375
|
modelValue: t.value[T],
|
|
375
376
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
376
|
-
placeholder: _(
|
|
377
|
-
clearable:
|
|
378
|
-
onChange: (n) =>
|
|
379
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) :
|
|
380
|
-
|
|
377
|
+
placeholder: _(m, j, f),
|
|
378
|
+
clearable: G,
|
|
379
|
+
onChange: (n) => D(m, T)
|
|
380
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : N("", !0),
|
|
381
|
+
m === s(a).INPUT_TEXT_AREA ? (o(), b(y, {
|
|
381
382
|
key: 1,
|
|
382
383
|
modelValue: t.value[T],
|
|
383
384
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
384
385
|
type: "textarea",
|
|
385
|
-
rows:
|
|
386
|
-
clearable:
|
|
387
|
-
placeholder: _(
|
|
388
|
-
onChange: (n) =>
|
|
389
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) :
|
|
390
|
-
|
|
386
|
+
rows: ge,
|
|
387
|
+
clearable: G,
|
|
388
|
+
placeholder: _(m, j, f),
|
|
389
|
+
onChange: (n) => D(m, T)
|
|
390
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : N("", !0),
|
|
391
|
+
m === s(a).INPUT_NUMBER ? (o(), b(V, {
|
|
391
392
|
key: 2,
|
|
392
393
|
modelValue: h.num,
|
|
393
394
|
"onUpdate:modelValue": E[0] || (E[0] = (n) => h.num = n),
|
|
394
|
-
min:
|
|
395
|
-
max:
|
|
396
|
-
onChange:
|
|
397
|
-
}, null, 8, ["modelValue", "min", "max"])) :
|
|
398
|
-
|
|
395
|
+
min: ie,
|
|
396
|
+
max: me,
|
|
397
|
+
onChange: D
|
|
398
|
+
}, null, 8, ["modelValue", "min", "max"])) : N("", !0),
|
|
399
|
+
m === s(a).RADIO ? (o(), b(v, {
|
|
399
400
|
key: 3,
|
|
400
401
|
modelValue: t.value[T],
|
|
401
402
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
402
|
-
onChange: (n) =>
|
|
403
|
+
onChange: (n) => D(m, T)
|
|
403
404
|
}, {
|
|
404
|
-
default:
|
|
405
|
-
(o(!0),
|
|
405
|
+
default: A(() => [
|
|
406
|
+
(o(!0), C(L, null, Z(ee, (n, Q) => (o(), b(x, {
|
|
406
407
|
key: Q,
|
|
407
408
|
label: n.value
|
|
408
409
|
}, {
|
|
409
|
-
default:
|
|
410
|
-
H(
|
|
410
|
+
default: A(() => [
|
|
411
|
+
H(z(n.label), 1)
|
|
411
412
|
]),
|
|
412
413
|
_: 2
|
|
413
414
|
}, 1032, ["label"]))), 128))
|
|
414
415
|
]),
|
|
415
416
|
_: 2
|
|
416
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
417
|
-
|
|
417
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : N("", !0),
|
|
418
|
+
m === s(a).SELECT ? (o(), b(I, {
|
|
418
419
|
key: 4,
|
|
419
420
|
modelValue: t.value[T],
|
|
420
421
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
421
|
-
placeholder: _(
|
|
422
|
-
onChange: (n) =>
|
|
422
|
+
placeholder: _(m, j, f),
|
|
423
|
+
onChange: (n) => D(m, T)
|
|
423
424
|
}, {
|
|
424
|
-
default:
|
|
425
|
-
(o(!0),
|
|
425
|
+
default: A(() => [
|
|
426
|
+
(o(!0), C(L, null, Z(ee, (n, Q) => (o(), b(O, {
|
|
426
427
|
key: Q,
|
|
427
428
|
label: n.label,
|
|
428
429
|
value: n.value
|
|
429
430
|
}, null, 8, ["label", "value"]))), 128))
|
|
430
431
|
]),
|
|
431
432
|
_: 2
|
|
432
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) :
|
|
433
|
-
|
|
433
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : N("", !0),
|
|
434
|
+
m === s(a).SLIDER ? (o(), b(P, {
|
|
434
435
|
key: 5,
|
|
435
436
|
modelValue: t.value[T],
|
|
436
437
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
437
|
-
min:
|
|
438
|
-
max:
|
|
439
|
-
onChange: (n) =>
|
|
440
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) :
|
|
441
|
-
|
|
438
|
+
min: ie,
|
|
439
|
+
max: me,
|
|
440
|
+
onChange: (n) => D(m, T)
|
|
441
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : N("", !0),
|
|
442
|
+
m === s(a).SWITCH ? (o(), b(w, {
|
|
442
443
|
key: 6,
|
|
443
444
|
modelValue: t.value[T],
|
|
444
445
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
445
|
-
"active-value":
|
|
446
|
-
"inactive-value":
|
|
447
|
-
onChange: (n) =>
|
|
448
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) :
|
|
449
|
-
[
|
|
450
|
-
|
|
451
|
-
) ? (o(), b(
|
|
446
|
+
"active-value": ee[0] || !0,
|
|
447
|
+
"inactive-value": ee[1] || !1,
|
|
448
|
+
onChange: (n) => D(m, T)
|
|
449
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : N("", !0),
|
|
450
|
+
[s(a).DATE, s(a).MONTH, s(a).YEAR, s(a).DATE_TIME].includes(
|
|
451
|
+
m
|
|
452
|
+
) ? (o(), b(Y, {
|
|
452
453
|
key: 7,
|
|
453
454
|
modelValue: t.value[T],
|
|
454
455
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
455
|
-
format:
|
|
456
|
-
"value-format":
|
|
457
|
-
type:
|
|
458
|
-
placeholder: _(
|
|
459
|
-
onChange: (n) =>
|
|
460
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) :
|
|
456
|
+
format: M(m, te),
|
|
457
|
+
"value-format": M(m, te),
|
|
458
|
+
type: m,
|
|
459
|
+
placeholder: _(m, j, f),
|
|
460
|
+
onChange: (n) => D(m, T)
|
|
461
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : N("", !0),
|
|
461
462
|
[
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
].includes(
|
|
463
|
+
s(a).DATE_RANGE,
|
|
464
|
+
s(a).MONTH_RANGE,
|
|
465
|
+
s(a).DATE_TIME_RANGE
|
|
466
|
+
].includes(m) ? (o(), b(Y, {
|
|
466
467
|
key: 8,
|
|
467
468
|
modelValue: t.value[T],
|
|
468
469
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
469
|
-
type:
|
|
470
|
-
"value-format":
|
|
471
|
-
"start-placeholder": _(
|
|
472
|
-
"end-placeholder": _(
|
|
473
|
-
onChange: (n) =>
|
|
474
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
475
|
-
[
|
|
470
|
+
type: m,
|
|
471
|
+
"value-format": M(m, te),
|
|
472
|
+
"start-placeholder": _(m, j, f)[0],
|
|
473
|
+
"end-placeholder": _(m, j, f)[1],
|
|
474
|
+
onChange: (n) => D(m, T)
|
|
475
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : N("", !0),
|
|
476
|
+
[s(a).TIME].includes(m) ? (o(), b(F, {
|
|
476
477
|
key: 9,
|
|
477
478
|
modelValue: t.value[T],
|
|
478
479
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
479
480
|
"arrow-control": "",
|
|
480
|
-
"value-format":
|
|
481
|
-
placeholder: _(
|
|
482
|
-
onChange: (n) =>
|
|
483
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) :
|
|
484
|
-
[
|
|
481
|
+
"value-format": M(m, te),
|
|
482
|
+
placeholder: _(m, j, f),
|
|
483
|
+
onChange: (n) => D(m, T)
|
|
484
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : N("", !0),
|
|
485
|
+
[s(a).TIME_RANGE].includes(m) ? (o(), b(F, {
|
|
485
486
|
key: 10,
|
|
486
487
|
modelValue: t.value[T],
|
|
487
488
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
488
489
|
"is-range": "",
|
|
489
|
-
"value-format":
|
|
490
|
-
"start-placeholder": _(
|
|
491
|
-
"end-placeholder": _(
|
|
492
|
-
onChange: (n) =>
|
|
493
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
494
|
-
[
|
|
490
|
+
"value-format": M(m, te),
|
|
491
|
+
"start-placeholder": _(m, j, f)[0],
|
|
492
|
+
"end-placeholder": _(m, j, f)[1],
|
|
493
|
+
onChange: (n) => D(m, T)
|
|
494
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : N("", !0),
|
|
495
|
+
[s(a).CHECKBOX].includes(m) ? (o(), b(q, {
|
|
495
496
|
key: 11,
|
|
496
497
|
modelValue: t.value[T],
|
|
497
498
|
"onUpdate:modelValue": (n) => t.value[T] = n,
|
|
498
|
-
onChange: (n) =>
|
|
499
|
+
onChange: (n) => D(m, T)
|
|
499
500
|
}, {
|
|
500
|
-
default:
|
|
501
|
-
(o(!0),
|
|
501
|
+
default: A(() => [
|
|
502
|
+
(o(!0), C(L, null, Z(ee, (n, Q) => (o(), b(X, {
|
|
502
503
|
key: Q,
|
|
503
504
|
label: n.value
|
|
504
505
|
}, {
|
|
505
|
-
default:
|
|
506
|
-
H(
|
|
506
|
+
default: A(() => [
|
|
507
|
+
H(z(n.label), 1)
|
|
507
508
|
]),
|
|
508
509
|
_: 2
|
|
509
510
|
}, 1032, ["label"]))), 128))
|
|
510
511
|
]),
|
|
511
512
|
_: 2
|
|
512
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
513
|
-
[].includes(
|
|
513
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : N("", !0),
|
|
514
|
+
[].includes(m) ? (o(), C(L, { key: 12 }, [], 64)) : N("", !0)
|
|
514
515
|
], 64))
|
|
515
516
|
]),
|
|
516
517
|
_: 2
|
|
@@ -524,19 +525,19 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
|
|
|
524
525
|
]),
|
|
525
526
|
_: 1
|
|
526
527
|
}, 8, ["model"])), [
|
|
527
|
-
[
|
|
528
|
+
[s(c)]
|
|
528
529
|
])
|
|
529
530
|
])
|
|
530
531
|
]);
|
|
531
532
|
};
|
|
532
533
|
}
|
|
533
534
|
});
|
|
534
|
-
const
|
|
535
|
+
const et = { class: "bsgoal-base-table-content" }, tt = { class: "base_table_content" }, at = {
|
|
535
536
|
key: 1,
|
|
536
537
|
class: "base_table_table_txt"
|
|
537
|
-
},
|
|
538
|
+
}, nt = {
|
|
538
539
|
name: "BsgoalBaseTableContent"
|
|
539
|
-
},
|
|
540
|
+
}, lt = /* @__PURE__ */ Object.assign(nt, {
|
|
540
541
|
props: {
|
|
541
542
|
/**
|
|
542
543
|
* 数据
|
|
@@ -561,19 +562,19 @@ const Xe = { class: "bsgoal-base-table-content" }, Qe = { class: "base_table_con
|
|
|
561
562
|
}
|
|
562
563
|
},
|
|
563
564
|
setup(e) {
|
|
564
|
-
return (
|
|
565
|
-
|
|
566
|
-
e.tooltip ? (o(), b(
|
|
565
|
+
return (u, l) => (o(), C("div", et, [
|
|
566
|
+
R("div", tt, [
|
|
567
|
+
e.tooltip ? (o(), b(xe, {
|
|
567
568
|
key: 0,
|
|
568
569
|
content: e.data,
|
|
569
570
|
limit: e.limit
|
|
570
|
-
}, null, 8, ["content", "limit"])) : (o(),
|
|
571
|
+
}, null, 8, ["content", "limit"])) : (o(), C("div", at, z(e.data), 1))
|
|
571
572
|
])
|
|
572
573
|
]));
|
|
573
574
|
}
|
|
574
575
|
});
|
|
575
576
|
/*! Element Plus v2.3.3 */
|
|
576
|
-
var
|
|
577
|
+
var ot = {
|
|
577
578
|
name: "zh-cn",
|
|
578
579
|
el: {
|
|
579
580
|
colorpicker: {
|
|
@@ -700,9 +701,9 @@ var qe = {
|
|
|
700
701
|
}
|
|
701
702
|
}
|
|
702
703
|
};
|
|
703
|
-
const
|
|
704
|
+
const st = { class: "bsgoal-base-table-pagination" }, ut = { class: "base_table_pagination" }, ct = /* @__PURE__ */ R("span", null, "总数", -1), rt = {
|
|
704
705
|
name: "BsgoalBaseTablePagination"
|
|
705
|
-
},
|
|
706
|
+
}, it = /* @__PURE__ */ Object.assign(rt, {
|
|
706
707
|
props: {
|
|
707
708
|
/**
|
|
708
709
|
* 当前页数
|
|
@@ -734,31 +735,31 @@ const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_
|
|
|
734
735
|
}
|
|
735
736
|
},
|
|
736
737
|
emits: ["on-size-change", "on-current-change"],
|
|
737
|
-
setup(e, { emit:
|
|
738
|
+
setup(e, { emit: u }) {
|
|
738
739
|
const l = (c = 0) => {
|
|
739
|
-
|
|
740
|
+
u("on-size-change", c);
|
|
740
741
|
}, i = (c = 1) => {
|
|
741
|
-
|
|
742
|
-
}, r =
|
|
742
|
+
u("on-current-change", c);
|
|
743
|
+
}, r = k(1);
|
|
743
744
|
return (c, t) => {
|
|
744
|
-
const
|
|
745
|
-
return o(),
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
default:
|
|
749
|
-
|
|
745
|
+
const d = g("el-pagination"), _ = g("el-config-provider");
|
|
746
|
+
return o(), C("div", st, [
|
|
747
|
+
R("div", ut, [
|
|
748
|
+
B(_, { locale: s(ot) }, {
|
|
749
|
+
default: A(() => [
|
|
750
|
+
B(d, {
|
|
750
751
|
background: "",
|
|
751
752
|
layout: "total, sizes, prev, pager, next, jumper",
|
|
752
753
|
"current-page": r.value,
|
|
753
|
-
"onUpdate:currentPage": t[0] || (t[0] = (
|
|
754
|
+
"onUpdate:currentPage": t[0] || (t[0] = (M) => r.value = M),
|
|
754
755
|
"page-sizes": e.pageSizes,
|
|
755
756
|
"page-size": e.pageSize,
|
|
756
757
|
total: e.total,
|
|
757
758
|
onSizeChange: l,
|
|
758
759
|
onCurrentChange: i
|
|
759
760
|
}, {
|
|
760
|
-
next:
|
|
761
|
-
|
|
761
|
+
next: A(() => [
|
|
762
|
+
ct
|
|
762
763
|
]),
|
|
763
764
|
_: 1
|
|
764
765
|
}, 8, ["current-page", "page-sizes", "page-size", "total"])
|
|
@@ -770,54 +771,54 @@ const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_
|
|
|
770
771
|
};
|
|
771
772
|
}
|
|
772
773
|
});
|
|
773
|
-
const
|
|
774
|
+
const Ne = (e, u) => {
|
|
774
775
|
const l = e.__vccOpts || e;
|
|
775
|
-
for (const [i, r] of
|
|
776
|
+
for (const [i, r] of u)
|
|
776
777
|
l[i] = r;
|
|
777
778
|
return l;
|
|
778
|
-
},
|
|
779
|
+
}, dt = {
|
|
779
780
|
name: "BsgoalBaseTableEmpty"
|
|
780
|
-
},
|
|
781
|
-
/* @__PURE__ */
|
|
782
|
-
/* @__PURE__ */
|
|
781
|
+
}, _t = { class: "bsgoal-base-table-empty" }, mt = /* @__PURE__ */ R("div", { class: "base_table_empty" }, [
|
|
782
|
+
/* @__PURE__ */ R("div", { class: "base_table_empty_img" }, [
|
|
783
|
+
/* @__PURE__ */ R("img", {
|
|
783
784
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
|
|
784
785
|
alt: ""
|
|
785
786
|
})
|
|
786
787
|
]),
|
|
787
|
-
/* @__PURE__ */
|
|
788
|
-
], -1),
|
|
789
|
-
|
|
788
|
+
/* @__PURE__ */ R("div", { class: "base_table_empty_text" }, "暂无数据")
|
|
789
|
+
], -1), gt = [
|
|
790
|
+
mt
|
|
790
791
|
];
|
|
791
|
-
function
|
|
792
|
-
return o(),
|
|
792
|
+
function ft(e, u, l, i, r, c) {
|
|
793
|
+
return o(), C("div", _t, gt);
|
|
793
794
|
}
|
|
794
|
-
const
|
|
795
|
-
const r =
|
|
795
|
+
const pt = /* @__PURE__ */ Ne(dt, [["render", ft]]), ht = (e = null, { expression: u = 75, arg: l = {}, height: i = "" } = {}) => {
|
|
796
|
+
const r = s(e);
|
|
796
797
|
if (r) {
|
|
797
798
|
const c = r.querySelector(".el-table");
|
|
798
799
|
c && Ce(() => {
|
|
799
800
|
const { y: t = 0 } = c.getBoundingClientRect();
|
|
800
|
-
let
|
|
801
|
+
let d = `calc(100vh - ${t + u}px)`;
|
|
801
802
|
const _ = Number.parseInt(i);
|
|
802
|
-
i && (_ ?
|
|
803
|
+
i && (_ ? d = `${i}px` : d = i), c.style.height = d;
|
|
803
804
|
});
|
|
804
805
|
}
|
|
805
|
-
},
|
|
806
|
-
const r =
|
|
806
|
+
}, be = (e = Promise.resolve(), u = null, l = k(!1), i = k(null)) => {
|
|
807
|
+
const r = k("");
|
|
807
808
|
return l.value = !0, e.then((c = {}) => {
|
|
808
|
-
const { data: t = {}, message:
|
|
809
|
-
i.value = t, r.value =
|
|
809
|
+
const { data: t = {}, message: d = "" } = c;
|
|
810
|
+
i.value = t, r.value = d, u && u(!0, t), l.value = !1;
|
|
810
811
|
}).catch((c = {}) => {
|
|
811
812
|
if (typeof c == "object") {
|
|
812
813
|
const { message: t = "" } = c;
|
|
813
814
|
r.value = t;
|
|
814
815
|
} else
|
|
815
816
|
r.value = c;
|
|
816
|
-
|
|
817
|
+
u && u(!1, c), l.value = !1;
|
|
817
818
|
}).finally(() => {
|
|
818
819
|
l.value = !1;
|
|
819
820
|
}), { data: i, message: r, loading: l };
|
|
820
|
-
},
|
|
821
|
+
}, vt = (e = null) => {
|
|
821
822
|
switch (toString.apply(e)) {
|
|
822
823
|
case "[object Object]":
|
|
823
824
|
return "object";
|
|
@@ -834,13 +835,13 @@ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expressio
|
|
|
834
835
|
case "[object Undefind]":
|
|
835
836
|
return "undefind";
|
|
836
837
|
}
|
|
837
|
-
},
|
|
838
|
-
const
|
|
838
|
+
}, Et = (e) => vt(e) === "boolean";
|
|
839
|
+
const bt = { class: "bsgoal-base-table" }, yt = { class: "base_table" }, At = {
|
|
839
840
|
key: 0,
|
|
840
841
|
class: "base_table_menu"
|
|
841
|
-
},
|
|
842
|
+
}, Tt = {
|
|
842
843
|
name: "BsgoalBaseTable"
|
|
843
|
-
},
|
|
844
|
+
}, Be = /* @__PURE__ */ Object.assign(Tt, {
|
|
844
845
|
props: {
|
|
845
846
|
/**
|
|
846
847
|
* >----------props----------<
|
|
@@ -946,55 +947,55 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
946
947
|
default: !0
|
|
947
948
|
}
|
|
948
949
|
},
|
|
949
|
-
setup(e, { expose:
|
|
950
|
+
setup(e, { expose: u }) {
|
|
950
951
|
const l = e, i = K(() => {
|
|
951
|
-
const { configOptions:
|
|
952
|
-
return O &&
|
|
952
|
+
const { configOptions: v = [], operation: O = !1, operationWidth: I = 0 } = l, P = s(v), w = [];
|
|
953
|
+
return O && w.push({
|
|
953
954
|
label: "操作",
|
|
954
955
|
fixed: "right",
|
|
955
956
|
prop: "operation",
|
|
956
957
|
width: I
|
|
957
|
-
}), [...
|
|
958
|
-
}), r =
|
|
959
|
-
|
|
960
|
-
const { height:
|
|
961
|
-
|
|
958
|
+
}), [...P, ...w];
|
|
959
|
+
}), r = k(null), c = Ve("transferFoldStatus");
|
|
960
|
+
ve(() => {
|
|
961
|
+
const { height: v } = l, O = c ? c.value : !1, I = s(l.expression);
|
|
962
|
+
Et(v) || ht(r, { arg: O, expression: I, height: v });
|
|
962
963
|
});
|
|
963
|
-
const t =
|
|
964
|
+
const t = s(l.mapProps), d = fe({
|
|
964
965
|
currentPage: "currentPage",
|
|
965
966
|
pageSize: "pageSize",
|
|
966
967
|
rows: "rows",
|
|
967
968
|
total: "total"
|
|
968
|
-
}, t), _ =
|
|
969
|
-
const { fetch:
|
|
970
|
-
I && (
|
|
969
|
+
}, t), _ = k(1), M = k(10), S = k(0), $ = k({}), D = k(l.loading), U = k(l.data), h = k({}), E = () => {
|
|
970
|
+
const { fetch: v, call: O, hasPage: I } = l, P = $.value, w = _.value, Y = M.value, F = fe({}, P);
|
|
971
|
+
I && (F[d.currentPage] = w, F[d.pageSize] = Y), be(v(F), O, D, h);
|
|
971
972
|
};
|
|
972
|
-
|
|
973
|
-
l.hasPage ? (U.value =
|
|
973
|
+
de(h, (v) => {
|
|
974
|
+
l.hasPage ? (U.value = v[d.rows], S.value = v[d.total]) : U.value = v;
|
|
974
975
|
});
|
|
975
|
-
const
|
|
976
|
-
|
|
977
|
-
},
|
|
978
|
-
_.value =
|
|
979
|
-
},
|
|
980
|
-
|
|
976
|
+
const y = (v = {}) => {
|
|
977
|
+
$.value = v, _.value = 1, E();
|
|
978
|
+
}, V = (v = 1) => {
|
|
979
|
+
_.value = v;
|
|
980
|
+
}, x = (v = 10) => {
|
|
981
|
+
M.value = v;
|
|
981
982
|
};
|
|
982
|
-
return
|
|
983
|
+
return de([_, M], () => {
|
|
983
984
|
E();
|
|
984
|
-
}),
|
|
985
|
-
refreshList:
|
|
986
|
-
}), (
|
|
987
|
-
const I = g("el-table-column"),
|
|
988
|
-
return o(),
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
])) :
|
|
993
|
-
|
|
985
|
+
}), u({
|
|
986
|
+
refreshList: y
|
|
987
|
+
}), (v, O) => {
|
|
988
|
+
const I = g("el-table-column"), P = g("el-table"), w = $e("loading");
|
|
989
|
+
return o(), C("div", bt, [
|
|
990
|
+
R("div", yt, [
|
|
991
|
+
v.$slots.menu ? (o(), C("div", At, [
|
|
992
|
+
J(v.$slots, "menu")
|
|
993
|
+
])) : N("", !0),
|
|
994
|
+
R("div", {
|
|
994
995
|
ref_key: "EL_TABLE_WRAP_REF",
|
|
995
996
|
ref: r
|
|
996
997
|
}, [
|
|
997
|
-
W((o(), b(
|
|
998
|
+
W((o(), b(P, {
|
|
998
999
|
stripe: "",
|
|
999
1000
|
border: "",
|
|
1000
1001
|
"highlight-current-row": "",
|
|
@@ -1007,38 +1008,38 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
1007
1008
|
fontSize: "14px"
|
|
1008
1009
|
}
|
|
1009
1010
|
}, {
|
|
1010
|
-
empty:
|
|
1011
|
-
|
|
1011
|
+
empty: A(() => [
|
|
1012
|
+
B(pt)
|
|
1012
1013
|
]),
|
|
1013
|
-
default:
|
|
1014
|
+
default: A(() => [
|
|
1014
1015
|
e.selection ? (o(), b(I, {
|
|
1015
1016
|
key: 0,
|
|
1016
1017
|
fixed: "left",
|
|
1017
1018
|
type: "selection",
|
|
1018
1019
|
width: "40"
|
|
1019
|
-
})) :
|
|
1020
|
-
(o(!0),
|
|
1021
|
-
prop:
|
|
1022
|
-
label:
|
|
1020
|
+
})) : N("", !0),
|
|
1021
|
+
(o(!0), C(L, null, Z(s(i), ({
|
|
1022
|
+
prop: Y = "",
|
|
1023
|
+
label: F = "",
|
|
1023
1024
|
align: X = "center",
|
|
1024
|
-
width:
|
|
1025
|
-
fixed:
|
|
1025
|
+
width: q = "",
|
|
1026
|
+
fixed: le = !1,
|
|
1026
1027
|
tooltip: oe = !1,
|
|
1027
|
-
limit:
|
|
1028
|
-
} = {},
|
|
1029
|
-
key:
|
|
1030
|
-
label:
|
|
1028
|
+
limit: ce = 0
|
|
1029
|
+
} = {}, re) => (o(), b(I, {
|
|
1030
|
+
key: re,
|
|
1031
|
+
label: F,
|
|
1031
1032
|
align: X,
|
|
1032
|
-
width:
|
|
1033
|
-
fixed:
|
|
1034
|
-
"min-width": `${
|
|
1033
|
+
width: q,
|
|
1034
|
+
fixed: le,
|
|
1035
|
+
"min-width": `${F.length * 14 + 24}px`
|
|
1035
1036
|
}, {
|
|
1036
|
-
default:
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
limit:
|
|
1037
|
+
default: A(({ row: j }) => [
|
|
1038
|
+
J(v.$slots, Y, { row: j }, () => [
|
|
1039
|
+
B(lt, {
|
|
1040
|
+
limit: ce,
|
|
1040
1041
|
tooltip: oe,
|
|
1041
|
-
data:
|
|
1042
|
+
data: j[Y]
|
|
1042
1043
|
}, null, 8, ["limit", "tooltip", "data"])
|
|
1043
1044
|
])
|
|
1044
1045
|
]),
|
|
@@ -1047,23 +1048,23 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
|
|
|
1047
1048
|
]),
|
|
1048
1049
|
_: 3
|
|
1049
1050
|
}, 8, ["data", "header-cell-style"])), [
|
|
1050
|
-
[
|
|
1051
|
+
[w, D.value]
|
|
1051
1052
|
])
|
|
1052
1053
|
], 512),
|
|
1053
|
-
e.hasPage ? (o(), b(
|
|
1054
|
+
e.hasPage ? (o(), b(it, {
|
|
1054
1055
|
key: 1,
|
|
1055
|
-
total:
|
|
1056
|
-
onOnCurrentChange:
|
|
1057
|
-
onOnSizeChange:
|
|
1058
|
-
}, null, 8, ["total"])) :
|
|
1056
|
+
total: S.value,
|
|
1057
|
+
onOnCurrentChange: V,
|
|
1058
|
+
onOnSizeChange: x
|
|
1059
|
+
}, null, 8, ["total"])) : N("", !0)
|
|
1059
1060
|
])
|
|
1060
1061
|
]);
|
|
1061
1062
|
};
|
|
1062
1063
|
}
|
|
1063
1064
|
});
|
|
1064
|
-
const
|
|
1065
|
+
const Ct = {
|
|
1065
1066
|
name: "BsgoalBaseLine"
|
|
1066
|
-
},
|
|
1067
|
+
}, ye = /* @__PURE__ */ Object.assign(Ct, {
|
|
1067
1068
|
props: {
|
|
1068
1069
|
/**
|
|
1069
1070
|
* 是否为垂直
|
|
@@ -1074,145 +1075,18 @@ const pt = {
|
|
|
1074
1075
|
}
|
|
1075
1076
|
},
|
|
1076
1077
|
setup(e) {
|
|
1077
|
-
return (
|
|
1078
|
-
class:
|
|
1078
|
+
return (u, l) => (o(), C("div", {
|
|
1079
|
+
class: _e(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
|
|
1079
1080
|
}, [
|
|
1080
|
-
|
|
1081
|
-
class:
|
|
1081
|
+
R("div", {
|
|
1082
|
+
class: _e(["base_line", { base_line__vertical: e.vertical }])
|
|
1082
1083
|
}, null, 2)
|
|
1083
1084
|
], 2));
|
|
1084
1085
|
}
|
|
1085
1086
|
});
|
|
1086
|
-
|
|
1087
|
-
var ce = (e, s) => {
|
|
1088
|
-
let l = e.__vccOpts || e;
|
|
1089
|
-
for (let [i, r] of s)
|
|
1090
|
-
l[i] = r;
|
|
1091
|
-
return l;
|
|
1092
|
-
}, Et = {
|
|
1093
|
-
name: "ArrowDown"
|
|
1094
|
-
}, bt = {
|
|
1095
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1096
|
-
viewBox: "0 0 1024 1024"
|
|
1097
|
-
}, yt = /* @__PURE__ */ k(
|
|
1098
|
-
"path",
|
|
1099
|
-
{
|
|
1100
|
-
fill: "currentColor",
|
|
1101
|
-
d: "M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"
|
|
1102
|
-
},
|
|
1103
|
-
null,
|
|
1104
|
-
-1
|
|
1105
|
-
/* HOISTED */
|
|
1106
|
-
), At = [
|
|
1107
|
-
yt
|
|
1108
|
-
];
|
|
1109
|
-
function Tt(e, s, l, i, r, c) {
|
|
1110
|
-
return o(), y("svg", bt, At);
|
|
1111
|
-
}
|
|
1112
|
-
var xt = /* @__PURE__ */ ce(Et, [["render", Tt], ["__file", "arrow-down.vue"]]), Ct = {
|
|
1113
|
-
name: "ArrowLeft"
|
|
1114
|
-
}, Vt = {
|
|
1115
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1116
|
-
viewBox: "0 0 1024 1024"
|
|
1117
|
-
}, Mt = /* @__PURE__ */ k(
|
|
1118
|
-
"path",
|
|
1119
|
-
{
|
|
1120
|
-
fill: "currentColor",
|
|
1121
|
-
d: "M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"
|
|
1122
|
-
},
|
|
1123
|
-
null,
|
|
1124
|
-
-1
|
|
1125
|
-
/* HOISTED */
|
|
1126
|
-
), $t = [
|
|
1127
|
-
Mt
|
|
1128
|
-
];
|
|
1129
|
-
function Nt(e, s, l, i, r, c) {
|
|
1130
|
-
return o(), y("svg", Vt, $t);
|
|
1131
|
-
}
|
|
1132
|
-
var Bt = /* @__PURE__ */ ce(Ct, [["render", Nt], ["__file", "arrow-left.vue"]]), wt = {
|
|
1133
|
-
name: "ArrowRight"
|
|
1134
|
-
}, Dt = {
|
|
1135
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1136
|
-
viewBox: "0 0 1024 1024"
|
|
1137
|
-
}, St = /* @__PURE__ */ k(
|
|
1138
|
-
"path",
|
|
1139
|
-
{
|
|
1140
|
-
fill: "currentColor",
|
|
1141
|
-
d: "M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
1142
|
-
},
|
|
1143
|
-
null,
|
|
1144
|
-
-1
|
|
1145
|
-
/* HOISTED */
|
|
1146
|
-
), kt = [
|
|
1147
|
-
St
|
|
1148
|
-
];
|
|
1149
|
-
function Ot(e, s, l, i, r, c) {
|
|
1150
|
-
return o(), y("svg", Dt, kt);
|
|
1151
|
-
}
|
|
1152
|
-
var It = /* @__PURE__ */ ce(wt, [["render", Ot], ["__file", "arrow-right.vue"]]), Rt = {
|
|
1153
|
-
name: "ArrowUp"
|
|
1154
|
-
}, Ft = {
|
|
1155
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1156
|
-
viewBox: "0 0 1024 1024"
|
|
1157
|
-
}, Ut = /* @__PURE__ */ k(
|
|
1158
|
-
"path",
|
|
1159
|
-
{
|
|
1160
|
-
fill: "currentColor",
|
|
1161
|
-
d: "m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"
|
|
1162
|
-
},
|
|
1163
|
-
null,
|
|
1164
|
-
-1
|
|
1165
|
-
/* HOISTED */
|
|
1166
|
-
), Lt = [
|
|
1167
|
-
Ut
|
|
1168
|
-
];
|
|
1169
|
-
function Pt(e, s, l, i, r, c) {
|
|
1170
|
-
return o(), y("svg", Ft, Lt);
|
|
1171
|
-
}
|
|
1172
|
-
var zt = /* @__PURE__ */ ce(Rt, [["render", Pt], ["__file", "arrow-up.vue"]]), jt = {
|
|
1173
|
-
name: "Delete"
|
|
1174
|
-
}, Yt = {
|
|
1175
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1176
|
-
viewBox: "0 0 1024 1024"
|
|
1177
|
-
}, Gt = /* @__PURE__ */ k(
|
|
1178
|
-
"path",
|
|
1179
|
-
{
|
|
1180
|
-
fill: "currentColor",
|
|
1181
|
-
d: "M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32zm192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32z"
|
|
1182
|
-
},
|
|
1183
|
-
null,
|
|
1184
|
-
-1
|
|
1185
|
-
/* HOISTED */
|
|
1186
|
-
), Ht = [
|
|
1187
|
-
Gt
|
|
1188
|
-
];
|
|
1189
|
-
function Wt(e, s, l, i, r, c) {
|
|
1190
|
-
return o(), y("svg", Yt, Ht);
|
|
1191
|
-
}
|
|
1192
|
-
var Xt = /* @__PURE__ */ ce(jt, [["render", Wt], ["__file", "delete.vue"]]), Qt = {
|
|
1193
|
-
name: "Search"
|
|
1194
|
-
}, Zt = {
|
|
1195
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1196
|
-
viewBox: "0 0 1024 1024"
|
|
1197
|
-
}, Kt = /* @__PURE__ */ k(
|
|
1198
|
-
"path",
|
|
1199
|
-
{
|
|
1200
|
-
fill: "currentColor",
|
|
1201
|
-
d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704z"
|
|
1202
|
-
},
|
|
1203
|
-
null,
|
|
1204
|
-
-1
|
|
1205
|
-
/* HOISTED */
|
|
1206
|
-
), Jt = [
|
|
1207
|
-
Kt
|
|
1208
|
-
];
|
|
1209
|
-
function qt(e, s, l, i, r, c) {
|
|
1210
|
-
return o(), y("svg", Zt, Jt);
|
|
1211
|
-
}
|
|
1212
|
-
var ea = /* @__PURE__ */ ce(Qt, [["render", qt], ["__file", "search.vue"]]);
|
|
1213
|
-
const ta = { class: "bsgoal-base-search-operation" }, aa = {
|
|
1087
|
+
const Vt = { class: "bsgoal-base-search-operation" }, Mt = {
|
|
1214
1088
|
name: "BsgoalBaseSearchOperation"
|
|
1215
|
-
},
|
|
1089
|
+
}, xt = /* @__PURE__ */ Object.assign(Mt, {
|
|
1216
1090
|
props: {
|
|
1217
1091
|
/**
|
|
1218
1092
|
* 是否显示折叠按钮
|
|
@@ -1223,58 +1097,58 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
|
|
|
1223
1097
|
}
|
|
1224
1098
|
},
|
|
1225
1099
|
emits: ["on-fold"],
|
|
1226
|
-
setup(e, { emit:
|
|
1227
|
-
const l =
|
|
1228
|
-
l.value = !
|
|
1100
|
+
setup(e, { emit: u }) {
|
|
1101
|
+
const l = k(!1), i = () => {
|
|
1102
|
+
l.value = !s(l), u("on-fold", l.value);
|
|
1229
1103
|
};
|
|
1230
1104
|
return (r, c) => {
|
|
1231
|
-
const t = g("el-button"),
|
|
1232
|
-
return o(),
|
|
1233
|
-
|
|
1105
|
+
const t = g("el-button"), d = g("el-icon");
|
|
1106
|
+
return o(), C("div", Vt, [
|
|
1107
|
+
B(t, {
|
|
1234
1108
|
type: "primary",
|
|
1235
|
-
icon:
|
|
1109
|
+
icon: s(je),
|
|
1236
1110
|
onClick: c[0] || (c[0] = (_) => r.$emit("on-search"))
|
|
1237
1111
|
}, {
|
|
1238
|
-
default:
|
|
1112
|
+
default: A(() => [
|
|
1239
1113
|
H("搜索")
|
|
1240
1114
|
]),
|
|
1241
1115
|
_: 1
|
|
1242
1116
|
}, 8, ["icon"]),
|
|
1243
|
-
|
|
1244
|
-
icon:
|
|
1117
|
+
B(t, {
|
|
1118
|
+
icon: s(Me),
|
|
1245
1119
|
onClick: c[1] || (c[1] = (_) => r.$emit("on-clear"))
|
|
1246
1120
|
}, {
|
|
1247
|
-
default:
|
|
1121
|
+
default: A(() => [
|
|
1248
1122
|
H("清空")
|
|
1249
1123
|
]),
|
|
1250
1124
|
_: 1
|
|
1251
1125
|
}, 8, ["icon"]),
|
|
1252
|
-
e.fold ? (o(),
|
|
1126
|
+
e.fold ? (o(), C("div", {
|
|
1253
1127
|
key: 0,
|
|
1254
1128
|
class: "operation_fold",
|
|
1255
1129
|
style: { color: "var(--el-color-primary)" },
|
|
1256
1130
|
onClick: i
|
|
1257
1131
|
}, [
|
|
1258
|
-
H(
|
|
1259
|
-
|
|
1260
|
-
default:
|
|
1261
|
-
W(
|
|
1262
|
-
[
|
|
1132
|
+
H(z(l.value ? "收起" : "展开"), 1),
|
|
1133
|
+
B(d, { color: "#409EFC" }, {
|
|
1134
|
+
default: A(() => [
|
|
1135
|
+
W(B(s(Le), null, null, 512), [
|
|
1136
|
+
[ne, l.value]
|
|
1263
1137
|
]),
|
|
1264
|
-
W(
|
|
1265
|
-
[
|
|
1138
|
+
W(B(s(ze), null, null, 512), [
|
|
1139
|
+
[ne, !l.value]
|
|
1266
1140
|
])
|
|
1267
1141
|
]),
|
|
1268
1142
|
_: 1
|
|
1269
1143
|
})
|
|
1270
|
-
])) :
|
|
1144
|
+
])) : N("", !0)
|
|
1271
1145
|
]);
|
|
1272
1146
|
};
|
|
1273
1147
|
}
|
|
1274
1148
|
});
|
|
1275
|
-
const
|
|
1149
|
+
const Nt = { class: "bsgoal-base-cascader" }, Bt = {
|
|
1276
1150
|
name: "BsgoalBaseCascader"
|
|
1277
|
-
},
|
|
1151
|
+
}, St = /* @__PURE__ */ Object.assign(Bt, {
|
|
1278
1152
|
props: {
|
|
1279
1153
|
/**
|
|
1280
1154
|
* 绑定的值
|
|
@@ -1306,17 +1180,17 @@ const na = { class: "bsgoal-base-cascader" }, oa = {
|
|
|
1306
1180
|
}
|
|
1307
1181
|
},
|
|
1308
1182
|
emits: ["update:model-value", "on-change"],
|
|
1309
|
-
setup(e, { emit:
|
|
1310
|
-
const l =
|
|
1183
|
+
setup(e, { emit: u }) {
|
|
1184
|
+
const l = k({
|
|
1311
1185
|
checkStrictly: !0,
|
|
1312
1186
|
multiple: !1
|
|
1313
1187
|
}), i = (r) => {
|
|
1314
|
-
|
|
1188
|
+
u("update:model-value", r), u("on-change", r);
|
|
1315
1189
|
};
|
|
1316
1190
|
return (r, c) => {
|
|
1317
1191
|
const t = g("el-cascader");
|
|
1318
|
-
return o(),
|
|
1319
|
-
|
|
1192
|
+
return o(), C("div", Nt, [
|
|
1193
|
+
B(t, {
|
|
1320
1194
|
clearable: "",
|
|
1321
1195
|
class: "base_cascader",
|
|
1322
1196
|
"show-all-levels": !1,
|
|
@@ -1330,9 +1204,9 @@ const na = { class: "bsgoal-base-cascader" }, oa = {
|
|
|
1330
1204
|
};
|
|
1331
1205
|
}
|
|
1332
1206
|
});
|
|
1333
|
-
const
|
|
1207
|
+
const kt = { class: "bsgoal-base-search" }, Dt = { class: "base_search" }, $t = { key: 1 }, Ot = {
|
|
1334
1208
|
name: "BsgoalBaseSearch"
|
|
1335
|
-
},
|
|
1209
|
+
}, It = /* @__PURE__ */ Object.assign(Ot, {
|
|
1336
1210
|
props: {
|
|
1337
1211
|
/**
|
|
1338
1212
|
* >----------props----------<
|
|
@@ -1373,26 +1247,26 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1373
1247
|
}
|
|
1374
1248
|
},
|
|
1375
1249
|
emits: ["on-search", "on-clear", "on-change", "on-fold"],
|
|
1376
|
-
setup(e, { expose:
|
|
1377
|
-
const i = e, r =
|
|
1378
|
-
|
|
1379
|
-
const { configOptions:
|
|
1380
|
-
|
|
1381
|
-
const { value:
|
|
1382
|
-
[a.INPUT, a.INPUT_TEXT_AREA].includes(I), t.value[O] = [0, !1].includes(
|
|
1250
|
+
setup(e, { expose: u, emit: l }) {
|
|
1251
|
+
const i = e, r = k(null), c = Ee.align, t = k({});
|
|
1252
|
+
ve(() => {
|
|
1253
|
+
const { configOptions: y } = i;
|
|
1254
|
+
s(y).forEach((x) => {
|
|
1255
|
+
const { value: v, prop: O = "", type: I = "" } = x;
|
|
1256
|
+
[a.INPUT, a.INPUT_TEXT_AREA].includes(I), t.value[O] = [0, !1].includes(v) ? v : "";
|
|
1383
1257
|
});
|
|
1384
1258
|
});
|
|
1385
|
-
const
|
|
1386
|
-
const { configOptions:
|
|
1259
|
+
const d = K(() => {
|
|
1260
|
+
const { configOptions: y } = i, V = s(y), x = {
|
|
1387
1261
|
type: a.OPERATION
|
|
1388
1262
|
};
|
|
1389
|
-
return [...
|
|
1390
|
-
}), _ = (
|
|
1391
|
-
if (!
|
|
1392
|
-
switch (
|
|
1263
|
+
return [...V, x];
|
|
1264
|
+
}), _ = (y = "", V = "", x = "") => {
|
|
1265
|
+
if (!x)
|
|
1266
|
+
switch (y) {
|
|
1393
1267
|
case a.INPUT:
|
|
1394
1268
|
case a.INPUT_TEXT_AREA:
|
|
1395
|
-
return `请输入${
|
|
1269
|
+
return `请输入${V}`;
|
|
1396
1270
|
case a.SELECT:
|
|
1397
1271
|
case a.DATE:
|
|
1398
1272
|
case a.WEEK:
|
|
@@ -1401,7 +1275,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1401
1275
|
case a.DATE_TIME:
|
|
1402
1276
|
case a.TIME:
|
|
1403
1277
|
case a.CASCADER:
|
|
1404
|
-
return `请选择${
|
|
1278
|
+
return `请选择${V}`;
|
|
1405
1279
|
case a.DATE_RANGE:
|
|
1406
1280
|
case a.DATE_TIME_RANGE:
|
|
1407
1281
|
return ["开始日期", "结束日期"];
|
|
@@ -1410,10 +1284,10 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1410
1284
|
case a.MONTH_RANGE:
|
|
1411
1285
|
return ["开始月份", "结束月份"];
|
|
1412
1286
|
}
|
|
1413
|
-
return
|
|
1414
|
-
},
|
|
1415
|
-
if (!
|
|
1416
|
-
switch (
|
|
1287
|
+
return x;
|
|
1288
|
+
}, M = (y = "", V = "") => {
|
|
1289
|
+
if (!V)
|
|
1290
|
+
switch (y) {
|
|
1417
1291
|
case a.WEEK:
|
|
1418
1292
|
return "ww";
|
|
1419
1293
|
case a.DATE:
|
|
@@ -1432,45 +1306,45 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1432
1306
|
case a.DATE_TIME_RANGE:
|
|
1433
1307
|
return "YYYY-MM-DD HH:mm:ss";
|
|
1434
1308
|
}
|
|
1435
|
-
return
|
|
1436
|
-
},
|
|
1437
|
-
const { configOptions:
|
|
1438
|
-
for (const O of
|
|
1439
|
-
const { type: I = "", range:
|
|
1440
|
-
if ([a.CASCADER].includes(I) && Array.isArray(
|
|
1441
|
-
const X =
|
|
1442
|
-
X ?
|
|
1309
|
+
return V;
|
|
1310
|
+
}, S = () => {
|
|
1311
|
+
const { configOptions: y } = i, V = s(t), x = s(y), v = {};
|
|
1312
|
+
for (const O of x) {
|
|
1313
|
+
const { type: I = "", range: P = [], prop: w = "", single: Y = !1 } = O, F = V[w];
|
|
1314
|
+
if ([a.CASCADER].includes(I) && Array.isArray(F) && Y) {
|
|
1315
|
+
const X = F.length;
|
|
1316
|
+
X ? v[w] = F[X - 1] : v[w] = F;
|
|
1443
1317
|
} else
|
|
1444
|
-
|
|
1445
|
-
if (I.endsWith("range") &&
|
|
1446
|
-
const { 0: X = "", 1:
|
|
1447
|
-
|
|
1318
|
+
Oe(F) ? v[w] = Ie(F) : v[w] = F;
|
|
1319
|
+
if (I.endsWith("range") && P && P.length === 2) {
|
|
1320
|
+
const { 0: X = "", 1: q = "" } = F, { 0: le = "", 1: oe = "" } = P;
|
|
1321
|
+
v[le] = X, v[oe] = q;
|
|
1448
1322
|
}
|
|
1449
1323
|
}
|
|
1450
|
-
l("on-search",
|
|
1324
|
+
l("on-search", v), l("update:modelValue", v);
|
|
1451
1325
|
};
|
|
1452
1326
|
Ce(() => {
|
|
1453
|
-
|
|
1327
|
+
S();
|
|
1454
1328
|
});
|
|
1455
|
-
const
|
|
1329
|
+
const $ = () => {
|
|
1456
1330
|
r.value.resetFields(), l("on-clear", t.value);
|
|
1457
|
-
},
|
|
1458
|
-
U.value =
|
|
1459
|
-
}, E = (
|
|
1460
|
-
|
|
1461
|
-
const
|
|
1462
|
-
type:
|
|
1463
|
-
prop:
|
|
1464
|
-
value: t.value[
|
|
1331
|
+
}, D = Ve("transferFoldStatus"), U = k(!1), h = (y = !1) => {
|
|
1332
|
+
U.value = y, D && (D.value = y), l("on-fold", U);
|
|
1333
|
+
}, E = (y, V) => {
|
|
1334
|
+
S();
|
|
1335
|
+
const x = {
|
|
1336
|
+
type: y,
|
|
1337
|
+
prop: V,
|
|
1338
|
+
value: t.value[V] || ""
|
|
1465
1339
|
};
|
|
1466
|
-
l("on-change",
|
|
1340
|
+
l("on-change", x);
|
|
1467
1341
|
};
|
|
1468
|
-
return
|
|
1469
|
-
triggerOperationSearch:
|
|
1470
|
-
}), (
|
|
1471
|
-
const
|
|
1472
|
-
return o(),
|
|
1473
|
-
|
|
1342
|
+
return u({
|
|
1343
|
+
triggerOperationSearch: S
|
|
1344
|
+
}), (y, V) => {
|
|
1345
|
+
const x = g("el-input"), v = g("el-input-number"), O = g("el-radio"), I = g("el-radio-group"), P = g("el-option"), w = g("el-select"), Y = g("el-slider"), F = g("el-switch"), X = g("el-date-picker"), q = g("el-time-picker"), le = g("el-checkbox"), oe = g("el-checkbox-group"), ce = g("el-form-item"), re = g("el-col"), j = g("el-row"), T = g("el-form");
|
|
1346
|
+
return o(), C("div", kt, [
|
|
1347
|
+
R("div", Dt, [
|
|
1474
1348
|
W((o(), b(T, {
|
|
1475
1349
|
ref_key: "EL_FORM_REF",
|
|
1476
1350
|
ref: r,
|
|
@@ -1478,190 +1352,190 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1478
1352
|
"show-message": !1,
|
|
1479
1353
|
model: t.value
|
|
1480
1354
|
}, {
|
|
1481
|
-
default:
|
|
1482
|
-
|
|
1483
|
-
default:
|
|
1484
|
-
(o(!0),
|
|
1485
|
-
label:
|
|
1355
|
+
default: A(() => [
|
|
1356
|
+
B(j, null, {
|
|
1357
|
+
default: A(() => [
|
|
1358
|
+
(o(!0), C(L, null, Z(s(d), ({
|
|
1359
|
+
label: m = "",
|
|
1486
1360
|
prop: f = "",
|
|
1487
|
-
type:
|
|
1488
|
-
placeholder:
|
|
1489
|
-
readonly:
|
|
1490
|
-
clearable:
|
|
1491
|
-
rows:
|
|
1492
|
-
min:
|
|
1493
|
-
max:
|
|
1494
|
-
range:
|
|
1495
|
-
format:
|
|
1496
|
-
} = {},
|
|
1497
|
-
key:
|
|
1361
|
+
type: p = "text",
|
|
1362
|
+
placeholder: G = "",
|
|
1363
|
+
readonly: ge = !1,
|
|
1364
|
+
clearable: ie = !0,
|
|
1365
|
+
rows: me = 2,
|
|
1366
|
+
min: ee = 1,
|
|
1367
|
+
max: te = 10,
|
|
1368
|
+
range: ae = [],
|
|
1369
|
+
format: se = ""
|
|
1370
|
+
} = {}, ue) => W((o(), b(re, {
|
|
1371
|
+
key: ue,
|
|
1498
1372
|
xs: 24,
|
|
1499
1373
|
sm: 12,
|
|
1500
1374
|
md: e.medium
|
|
1501
1375
|
}, {
|
|
1502
|
-
default:
|
|
1503
|
-
|
|
1504
|
-
label:
|
|
1376
|
+
default: A(() => [
|
|
1377
|
+
B(ce, {
|
|
1378
|
+
label: m,
|
|
1505
1379
|
prop: f
|
|
1506
1380
|
}, {
|
|
1507
|
-
default:
|
|
1508
|
-
|
|
1509
|
-
|
|
1381
|
+
default: A(() => [
|
|
1382
|
+
ge ? (o(), C("div", $t, z(t.value[f]), 1)) : (o(), C(L, { key: 0 }, [
|
|
1383
|
+
p === s(a).INPUT ? (o(), b(x, {
|
|
1510
1384
|
key: 0,
|
|
1511
1385
|
modelValue: t.value[f],
|
|
1512
1386
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1513
|
-
placeholder: _(
|
|
1514
|
-
clearable:
|
|
1515
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) :
|
|
1516
|
-
|
|
1387
|
+
placeholder: _(p, m, G),
|
|
1388
|
+
clearable: ie
|
|
1389
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : N("", !0),
|
|
1390
|
+
p === s(a).INPUT_TEXT_AREA ? (o(), b(x, {
|
|
1517
1391
|
key: 1,
|
|
1518
1392
|
modelValue: t.value[f],
|
|
1519
1393
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1520
1394
|
type: "textarea",
|
|
1521
|
-
rows:
|
|
1522
|
-
clearable:
|
|
1523
|
-
placeholder: _(
|
|
1524
|
-
onChange: (n) => E(
|
|
1525
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) :
|
|
1526
|
-
|
|
1395
|
+
rows: me,
|
|
1396
|
+
clearable: ie,
|
|
1397
|
+
placeholder: _(p, m, G),
|
|
1398
|
+
onChange: (n) => E(p, f)
|
|
1399
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : N("", !0),
|
|
1400
|
+
p === s(a).INPUT_NUMBER ? (o(), b(v, {
|
|
1527
1401
|
key: 2,
|
|
1528
|
-
modelValue:
|
|
1529
|
-
"onUpdate:modelValue":
|
|
1530
|
-
min:
|
|
1531
|
-
max:
|
|
1402
|
+
modelValue: y.num,
|
|
1403
|
+
"onUpdate:modelValue": V[0] || (V[0] = (n) => y.num = n),
|
|
1404
|
+
min: ee,
|
|
1405
|
+
max: te,
|
|
1532
1406
|
onChange: E
|
|
1533
|
-
}, null, 8, ["modelValue", "min", "max"])) :
|
|
1534
|
-
|
|
1407
|
+
}, null, 8, ["modelValue", "min", "max"])) : N("", !0),
|
|
1408
|
+
p === s(a).RADIO ? (o(), b(I, {
|
|
1535
1409
|
key: 3,
|
|
1536
1410
|
modelValue: t.value[f],
|
|
1537
1411
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1538
|
-
onChange: (n) => E(
|
|
1412
|
+
onChange: (n) => E(p, f)
|
|
1539
1413
|
}, {
|
|
1540
|
-
default:
|
|
1541
|
-
(o(!0),
|
|
1414
|
+
default: A(() => [
|
|
1415
|
+
(o(!0), C(L, null, Z(ae, (n, Q) => (o(), b(O, {
|
|
1542
1416
|
key: Q,
|
|
1543
1417
|
label: n.value
|
|
1544
1418
|
}, {
|
|
1545
|
-
default:
|
|
1546
|
-
H(
|
|
1419
|
+
default: A(() => [
|
|
1420
|
+
H(z(n.label), 1)
|
|
1547
1421
|
]),
|
|
1548
1422
|
_: 2
|
|
1549
1423
|
}, 1032, ["label"]))), 128))
|
|
1550
1424
|
]),
|
|
1551
1425
|
_: 2
|
|
1552
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
1553
|
-
|
|
1426
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : N("", !0),
|
|
1427
|
+
p === s(a).SELECT ? (o(), b(w, {
|
|
1554
1428
|
key: 4,
|
|
1555
1429
|
modelValue: t.value[f],
|
|
1556
1430
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1557
|
-
placeholder: _(
|
|
1558
|
-
onChange: (n) => E(
|
|
1431
|
+
placeholder: _(p, m, G),
|
|
1432
|
+
onChange: (n) => E(p, f)
|
|
1559
1433
|
}, {
|
|
1560
|
-
default:
|
|
1561
|
-
(o(!0),
|
|
1434
|
+
default: A(() => [
|
|
1435
|
+
(o(!0), C(L, null, Z(ae, (n, Q) => (o(), b(P, {
|
|
1562
1436
|
key: Q,
|
|
1563
1437
|
label: n.label,
|
|
1564
1438
|
value: n.value
|
|
1565
1439
|
}, null, 8, ["label", "value"]))), 128))
|
|
1566
1440
|
]),
|
|
1567
1441
|
_: 2
|
|
1568
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) :
|
|
1569
|
-
|
|
1442
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : N("", !0),
|
|
1443
|
+
p === s(a).SLIDER ? (o(), b(Y, {
|
|
1570
1444
|
key: 5,
|
|
1571
1445
|
modelValue: t.value[f],
|
|
1572
1446
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1573
|
-
min:
|
|
1574
|
-
max:
|
|
1575
|
-
onChange: (n) => E(
|
|
1576
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) :
|
|
1577
|
-
|
|
1447
|
+
min: ee,
|
|
1448
|
+
max: te,
|
|
1449
|
+
onChange: (n) => E(p, f)
|
|
1450
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : N("", !0),
|
|
1451
|
+
p === s(a).SWITCH ? (o(), b(F, {
|
|
1578
1452
|
key: 6,
|
|
1579
1453
|
modelValue: t.value[f],
|
|
1580
1454
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1581
|
-
"active-value":
|
|
1582
|
-
"inactive-value":
|
|
1583
|
-
onChange: (n) => E(
|
|
1584
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) :
|
|
1585
|
-
[
|
|
1586
|
-
|
|
1455
|
+
"active-value": ae[0] || !0,
|
|
1456
|
+
"inactive-value": ae[1] || !1,
|
|
1457
|
+
onChange: (n) => E(p, f)
|
|
1458
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : N("", !0),
|
|
1459
|
+
[s(a).DATE, s(a).MONTH, s(a).YEAR, s(a).DATE_TIME].includes(
|
|
1460
|
+
p
|
|
1587
1461
|
) ? (o(), b(X, {
|
|
1588
1462
|
key: 7,
|
|
1589
1463
|
modelValue: t.value[f],
|
|
1590
1464
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1591
|
-
format:
|
|
1592
|
-
"value-format":
|
|
1593
|
-
type:
|
|
1594
|
-
placeholder: _(
|
|
1595
|
-
onChange: (n) => E(
|
|
1596
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) :
|
|
1465
|
+
format: M(p, se),
|
|
1466
|
+
"value-format": M(p, se),
|
|
1467
|
+
type: p,
|
|
1468
|
+
placeholder: _(p, m, G),
|
|
1469
|
+
onChange: (n) => E(p, f)
|
|
1470
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : N("", !0),
|
|
1597
1471
|
[
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
].includes(
|
|
1472
|
+
s(a).DATE_RANGE,
|
|
1473
|
+
s(a).MONTH_RANGE,
|
|
1474
|
+
s(a).DATE_TIME_RANGE
|
|
1475
|
+
].includes(p) ? (o(), b(X, {
|
|
1602
1476
|
key: 8,
|
|
1603
1477
|
modelValue: t.value[f],
|
|
1604
1478
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1605
|
-
type:
|
|
1606
|
-
"value-format":
|
|
1607
|
-
"start-placeholder": _(
|
|
1608
|
-
"end-placeholder": _(
|
|
1609
|
-
onChange: (n) => E(
|
|
1610
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
1611
|
-
[
|
|
1479
|
+
type: p,
|
|
1480
|
+
"value-format": M(p, se),
|
|
1481
|
+
"start-placeholder": _(p, m, G)[0],
|
|
1482
|
+
"end-placeholder": _(p, m, G)[1],
|
|
1483
|
+
onChange: (n) => E(p, f)
|
|
1484
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : N("", !0),
|
|
1485
|
+
[s(a).TIME].includes(p) ? (o(), b(q, {
|
|
1612
1486
|
key: 9,
|
|
1613
1487
|
modelValue: t.value[f],
|
|
1614
1488
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1615
1489
|
"arrow-control": "",
|
|
1616
|
-
"value-format":
|
|
1617
|
-
placeholder: _(
|
|
1618
|
-
onChange: (n) => E(
|
|
1619
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) :
|
|
1620
|
-
[
|
|
1490
|
+
"value-format": M(p, se),
|
|
1491
|
+
placeholder: _(p, m, G),
|
|
1492
|
+
onChange: (n) => E(p, f)
|
|
1493
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : N("", !0),
|
|
1494
|
+
[s(a).TIME_RANGE].includes(p) ? (o(), b(q, {
|
|
1621
1495
|
key: 10,
|
|
1622
1496
|
modelValue: t.value[f],
|
|
1623
1497
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1624
1498
|
"is-range": "",
|
|
1625
|
-
"value-format":
|
|
1626
|
-
"start-placeholder": _(
|
|
1627
|
-
"end-placeholder": _(
|
|
1628
|
-
onChange: (n) => E(
|
|
1629
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) :
|
|
1630
|
-
[
|
|
1499
|
+
"value-format": M(p, se),
|
|
1500
|
+
"start-placeholder": _(p, m, G)[0],
|
|
1501
|
+
"end-placeholder": _(p, m, G)[1],
|
|
1502
|
+
onChange: (n) => E(p, f)
|
|
1503
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : N("", !0),
|
|
1504
|
+
[s(a).CHECKBOX].includes(p) ? (o(), b(oe, {
|
|
1631
1505
|
key: 11,
|
|
1632
1506
|
modelValue: t.value[f],
|
|
1633
1507
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1634
|
-
onChange: (n) => E(
|
|
1508
|
+
onChange: (n) => E(p, f)
|
|
1635
1509
|
}, {
|
|
1636
|
-
default:
|
|
1637
|
-
(o(!0),
|
|
1510
|
+
default: A(() => [
|
|
1511
|
+
(o(!0), C(L, null, Z(ae, (n, Q) => (o(), b(le, {
|
|
1638
1512
|
key: Q,
|
|
1639
1513
|
label: n.value
|
|
1640
1514
|
}, {
|
|
1641
|
-
default:
|
|
1642
|
-
H(
|
|
1515
|
+
default: A(() => [
|
|
1516
|
+
H(z(n.label), 1)
|
|
1643
1517
|
]),
|
|
1644
1518
|
_: 2
|
|
1645
1519
|
}, 1032, ["label"]))), 128))
|
|
1646
1520
|
]),
|
|
1647
1521
|
_: 2
|
|
1648
|
-
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) :
|
|
1649
|
-
[
|
|
1522
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : N("", !0),
|
|
1523
|
+
[s(a).CASCADER].includes(p) ? (o(), b(St, {
|
|
1650
1524
|
key: 12,
|
|
1651
1525
|
modelValue: t.value[f],
|
|
1652
1526
|
"onUpdate:modelValue": (n) => t.value[f] = n,
|
|
1653
|
-
"data-options":
|
|
1654
|
-
placeholder: _(
|
|
1655
|
-
onOnChange: (n) => E(
|
|
1656
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) :
|
|
1657
|
-
[].includes(
|
|
1658
|
-
[
|
|
1527
|
+
"data-options": ae,
|
|
1528
|
+
placeholder: _(p, m, G),
|
|
1529
|
+
onOnChange: (n) => E(p, f)
|
|
1530
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : N("", !0),
|
|
1531
|
+
[].includes(p) ? (o(), C(L, { key: 13 }, [], 64)) : N("", !0),
|
|
1532
|
+
[s(a).OPERATION].includes(p) ? (o(), b(xt, {
|
|
1659
1533
|
key: 14,
|
|
1660
|
-
fold:
|
|
1661
|
-
onOnSearch:
|
|
1662
|
-
onOnClear:
|
|
1534
|
+
fold: ue >= 7,
|
|
1535
|
+
onOnSearch: S,
|
|
1536
|
+
onOnClear: $,
|
|
1663
1537
|
onOnFold: h
|
|
1664
|
-
}, null, 8, ["fold"])) :
|
|
1538
|
+
}, null, 8, ["fold"])) : N("", !0)
|
|
1665
1539
|
], 64))
|
|
1666
1540
|
]),
|
|
1667
1541
|
_: 2
|
|
@@ -1669,7 +1543,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1669
1543
|
]),
|
|
1670
1544
|
_: 2
|
|
1671
1545
|
}, 1032, ["md"])), [
|
|
1672
|
-
[
|
|
1546
|
+
[ne, ue < 7 || p === s(a).OPERATION || ue >= 7 && U.value]
|
|
1673
1547
|
])), 128))
|
|
1674
1548
|
]),
|
|
1675
1549
|
_: 1
|
|
@@ -1677,17 +1551,17 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
|
|
|
1677
1551
|
]),
|
|
1678
1552
|
_: 1
|
|
1679
1553
|
}, 8, ["model"])), [
|
|
1680
|
-
[
|
|
1554
|
+
[s(c)]
|
|
1681
1555
|
])
|
|
1682
1556
|
]),
|
|
1683
|
-
|
|
1557
|
+
B(ye)
|
|
1684
1558
|
]);
|
|
1685
1559
|
};
|
|
1686
1560
|
}
|
|
1687
1561
|
});
|
|
1688
|
-
const
|
|
1562
|
+
const Ft = { class: "bsgoal-base-search-table" }, Rt = { class: "base_search_table" }, wt = {
|
|
1689
1563
|
name: "BsgoalBaseSearchTable"
|
|
1690
|
-
},
|
|
1564
|
+
}, Ut = /* @__PURE__ */ Object.assign(wt, {
|
|
1691
1565
|
props: {
|
|
1692
1566
|
/**
|
|
1693
1567
|
* >----------props----------<
|
|
@@ -1793,55 +1667,55 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
|
|
|
1793
1667
|
default: !0
|
|
1794
1668
|
}
|
|
1795
1669
|
},
|
|
1796
|
-
setup(e, { expose:
|
|
1797
|
-
const l = e, i =
|
|
1798
|
-
|
|
1799
|
-
const r =
|
|
1670
|
+
setup(e, { expose: u }) {
|
|
1671
|
+
const l = e, i = k(!1);
|
|
1672
|
+
Fe("transferFoldStatus", i);
|
|
1673
|
+
const r = s(l.configOptions), c = K(() => r.filter((h) => {
|
|
1800
1674
|
const { type: E = "" } = h;
|
|
1801
1675
|
return !!E;
|
|
1802
1676
|
})), t = K(() => r.filter((h) => {
|
|
1803
1677
|
const { item: E = !1 } = h;
|
|
1804
1678
|
return !E;
|
|
1805
|
-
})),
|
|
1806
|
-
|
|
1807
|
-
},
|
|
1679
|
+
})), d = Re(), _ = k(Object.keys(d)), M = k(null), S = (h) => {
|
|
1680
|
+
M.value.refreshList(h);
|
|
1681
|
+
}, $ = K(() => {
|
|
1808
1682
|
const { expression: h, hasPage: E } = l;
|
|
1809
1683
|
return E === !1 ? 25 : h;
|
|
1810
|
-
}),
|
|
1811
|
-
return
|
|
1684
|
+
}), D = k(null);
|
|
1685
|
+
return u({
|
|
1812
1686
|
refresh: () => {
|
|
1813
1687
|
const { hasSearch: h } = l;
|
|
1814
|
-
|
|
1688
|
+
s(h) && D.value.triggerOperationSearch();
|
|
1815
1689
|
}
|
|
1816
|
-
}), (h, E) => (o(),
|
|
1817
|
-
|
|
1818
|
-
W(
|
|
1690
|
+
}), (h, E) => (o(), C("div", Ft, [
|
|
1691
|
+
R("div", Rt, [
|
|
1692
|
+
W(B(It, {
|
|
1819
1693
|
ref_key: "BSGOAL_BASE_SEARCH_REF",
|
|
1820
|
-
ref:
|
|
1821
|
-
"config-options":
|
|
1822
|
-
onOnSearch:
|
|
1823
|
-
onOnClear:
|
|
1694
|
+
ref: D,
|
|
1695
|
+
"config-options": s(c),
|
|
1696
|
+
onOnSearch: S,
|
|
1697
|
+
onOnClear: S
|
|
1824
1698
|
}, null, 8, ["config-options"]), [
|
|
1825
|
-
[
|
|
1699
|
+
[ne, e.hasSearch]
|
|
1826
1700
|
]),
|
|
1827
|
-
|
|
1701
|
+
B(Be, {
|
|
1828
1702
|
ref_key: "BSGOAL_BASE_TABLE_REF",
|
|
1829
|
-
ref:
|
|
1703
|
+
ref: M,
|
|
1830
1704
|
"map-props": e.mapProps,
|
|
1831
1705
|
operationWidth: e.operationWidth,
|
|
1832
|
-
"config-options":
|
|
1706
|
+
"config-options": s(t),
|
|
1833
1707
|
data: e.tableData,
|
|
1834
1708
|
selection: e.selection,
|
|
1835
1709
|
operation: e.operation,
|
|
1836
|
-
expression:
|
|
1710
|
+
expression: s($),
|
|
1837
1711
|
fetch: e.fetch,
|
|
1838
1712
|
call: e.call,
|
|
1839
1713
|
"has-page": e.hasPage
|
|
1840
|
-
},
|
|
1841
|
-
Z(_.value, (
|
|
1842
|
-
name:
|
|
1843
|
-
fn:
|
|
1844
|
-
|
|
1714
|
+
}, we({ _: 2 }, [
|
|
1715
|
+
Z(_.value, (y) => ({
|
|
1716
|
+
name: y,
|
|
1717
|
+
fn: A(({ row: V = {} }) => [
|
|
1718
|
+
J(h.$slots, y, { row: V })
|
|
1845
1719
|
])
|
|
1846
1720
|
}))
|
|
1847
1721
|
]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
|
|
@@ -1849,30 +1723,30 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
|
|
|
1849
1723
|
]));
|
|
1850
1724
|
}
|
|
1851
1725
|
});
|
|
1852
|
-
const
|
|
1726
|
+
const Pt = { class: "bsgoal-base-tree-fold" }, jt = {
|
|
1853
1727
|
name: "BsgoalBaseTreeFold"
|
|
1854
|
-
},
|
|
1728
|
+
}, Lt = /* @__PURE__ */ Object.assign(jt, {
|
|
1855
1729
|
props: ["modelValue"],
|
|
1856
1730
|
emits: ["update:modelValue"],
|
|
1857
|
-
setup(e, { emit:
|
|
1858
|
-
let l =
|
|
1731
|
+
setup(e, { emit: u }) {
|
|
1732
|
+
let l = k(!0);
|
|
1859
1733
|
const i = () => {
|
|
1860
|
-
l.value = !l.value,
|
|
1734
|
+
l.value = !l.value, u("update:modelValue", l.value);
|
|
1861
1735
|
};
|
|
1862
1736
|
return (r, c) => {
|
|
1863
1737
|
const t = g("el-icon");
|
|
1864
|
-
return o(),
|
|
1865
|
-
|
|
1866
|
-
class:
|
|
1738
|
+
return o(), C("div", Pt, [
|
|
1739
|
+
R("div", {
|
|
1740
|
+
class: _e(["base_tree_fold", { "base_tree_fold--hide": !s(l) }]),
|
|
1867
1741
|
onClick: i
|
|
1868
1742
|
}, [
|
|
1869
|
-
|
|
1870
|
-
default:
|
|
1871
|
-
W(
|
|
1872
|
-
[
|
|
1743
|
+
B(t, { color: "#fff" }, {
|
|
1744
|
+
default: A(() => [
|
|
1745
|
+
W(B(s(Ye), null, null, 512), [
|
|
1746
|
+
[ne, s(l)]
|
|
1873
1747
|
]),
|
|
1874
|
-
W(
|
|
1875
|
-
[
|
|
1748
|
+
W(B(s(Ge), null, null, 512), [
|
|
1749
|
+
[ne, !s(l)]
|
|
1876
1750
|
])
|
|
1877
1751
|
]),
|
|
1878
1752
|
_: 1
|
|
@@ -1882,9 +1756,9 @@ const va = { class: "bsgoal-base-tree-fold" }, ha = {
|
|
|
1882
1756
|
};
|
|
1883
1757
|
}
|
|
1884
1758
|
});
|
|
1885
|
-
const
|
|
1759
|
+
const zt = { class: "bsgoal-base-tree" }, Yt = { class: "base_tree" }, Gt = { class: "base_tree_main" }, Ht = {
|
|
1886
1760
|
name: "BsgoalBaseTree"
|
|
1887
|
-
},
|
|
1761
|
+
}, Wt = /* @__PURE__ */ Object.assign(Ht, {
|
|
1888
1762
|
props: {
|
|
1889
1763
|
/**
|
|
1890
1764
|
* 树结构 的下边距
|
|
@@ -1937,65 +1811,65 @@ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { cl
|
|
|
1937
1811
|
}
|
|
1938
1812
|
},
|
|
1939
1813
|
emits: ["on-click"],
|
|
1940
|
-
setup(e, { emit:
|
|
1941
|
-
const l = e, i =
|
|
1942
|
-
|
|
1943
|
-
c.value.filter(
|
|
1814
|
+
setup(e, { emit: u }) {
|
|
1815
|
+
const l = e, i = Ee.height, r = k(""), c = k(null);
|
|
1816
|
+
de(r, (S) => {
|
|
1817
|
+
c.value.filter(S);
|
|
1944
1818
|
});
|
|
1945
|
-
const t = (
|
|
1946
|
-
|
|
1947
|
-
},
|
|
1948
|
-
if (
|
|
1949
|
-
const U = await
|
|
1950
|
-
return
|
|
1819
|
+
const t = (S, $) => S ? $.label.includes(S) : !0, d = k(!0), _ = (S, $, D, U) => {
|
|
1820
|
+
u("on-click", S, $, D, U);
|
|
1821
|
+
}, M = async (S, $, D) => {
|
|
1822
|
+
if (S.level === 0) {
|
|
1823
|
+
const U = await D.initNode(S);
|
|
1824
|
+
return $(U || []);
|
|
1951
1825
|
} else {
|
|
1952
|
-
const U = await
|
|
1953
|
-
|
|
1826
|
+
const U = await D.lazyLoad(S);
|
|
1827
|
+
$(U || []);
|
|
1954
1828
|
}
|
|
1955
1829
|
};
|
|
1956
|
-
return (
|
|
1957
|
-
const
|
|
1958
|
-
return o(),
|
|
1959
|
-
W((o(),
|
|
1960
|
-
W(
|
|
1961
|
-
|
|
1830
|
+
return (S, $) => {
|
|
1831
|
+
const D = g("el-input"), U = g("el-tree");
|
|
1832
|
+
return o(), C("div", zt, [
|
|
1833
|
+
W((o(), C("div", Yt, [
|
|
1834
|
+
W(R("div", Gt, [
|
|
1835
|
+
B(D, {
|
|
1962
1836
|
modelValue: r.value,
|
|
1963
|
-
"onUpdate:modelValue":
|
|
1837
|
+
"onUpdate:modelValue": $[0] || ($[0] = (h) => r.value = h),
|
|
1964
1838
|
class: "base_tree_main_input",
|
|
1965
1839
|
placeholder: "输入关键字过滤"
|
|
1966
1840
|
}, null, 8, ["modelValue"]),
|
|
1967
|
-
|
|
1841
|
+
B(U, {
|
|
1968
1842
|
ref_key: "EL_TREE_REF",
|
|
1969
1843
|
ref: c,
|
|
1970
1844
|
lazy: "",
|
|
1971
1845
|
"highlight-current": "",
|
|
1972
1846
|
"empty-text": "暂无数据",
|
|
1973
|
-
load: (h, E) =>
|
|
1847
|
+
load: (h, E) => M(h, E, l),
|
|
1974
1848
|
"expand-on-click-node": !1,
|
|
1975
1849
|
props: e.treeProps,
|
|
1976
1850
|
"filter-node-method": t,
|
|
1977
1851
|
onNodeClick: _
|
|
1978
1852
|
}, null, 8, ["load", "props"])
|
|
1979
1853
|
], 512), [
|
|
1980
|
-
[
|
|
1854
|
+
[ne, d.value]
|
|
1981
1855
|
]),
|
|
1982
|
-
W(
|
|
1983
|
-
[
|
|
1856
|
+
W(B(ye, { vertical: "" }, null, 512), [
|
|
1857
|
+
[ne, d.value]
|
|
1984
1858
|
]),
|
|
1985
|
-
|
|
1986
|
-
modelValue:
|
|
1987
|
-
"onUpdate:modelValue":
|
|
1859
|
+
B(Lt, {
|
|
1860
|
+
modelValue: d.value,
|
|
1861
|
+
"onUpdate:modelValue": $[1] || ($[1] = (h) => d.value = h)
|
|
1988
1862
|
}, null, 8, ["modelValue"])
|
|
1989
1863
|
])), [
|
|
1990
|
-
[
|
|
1864
|
+
[s(i), e.gasket]
|
|
1991
1865
|
])
|
|
1992
1866
|
]);
|
|
1993
1867
|
};
|
|
1994
1868
|
}
|
|
1995
1869
|
});
|
|
1996
|
-
const
|
|
1870
|
+
const Xt = { class: "bsgoal-base-dialog" }, Qt = { class: "base_dialog" }, Zt = { class: "base_dialog_header" }, Kt = { class: "base_dialog_footer" }, Jt = {
|
|
1997
1871
|
name: "BsgoalBaseDialog"
|
|
1998
|
-
},
|
|
1872
|
+
}, qt = /* @__PURE__ */ Object.assign(Jt, {
|
|
1999
1873
|
props: {
|
|
2000
1874
|
/**
|
|
2001
1875
|
* 弹窗状态
|
|
@@ -2056,26 +1930,26 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
|
|
|
2056
1930
|
}
|
|
2057
1931
|
},
|
|
2058
1932
|
emits: ["update:modelValue", "on-confirm"],
|
|
2059
|
-
setup(e, { emit:
|
|
2060
|
-
const l = e, i =
|
|
1933
|
+
setup(e, { emit: u }) {
|
|
1934
|
+
const l = e, i = k(l.modelValue.value), r = () => {
|
|
2061
1935
|
i.value = !1;
|
|
2062
1936
|
}, c = () => {
|
|
2063
|
-
|
|
1937
|
+
u("on-confirm", () => {
|
|
2064
1938
|
i.value = !1;
|
|
2065
1939
|
});
|
|
2066
1940
|
};
|
|
2067
|
-
|
|
1941
|
+
de(
|
|
2068
1942
|
() => l.modelValue,
|
|
2069
|
-
(
|
|
2070
|
-
i.value =
|
|
1943
|
+
(d) => {
|
|
1944
|
+
i.value = d;
|
|
2071
1945
|
}
|
|
2072
|
-
),
|
|
2073
|
-
|
|
1946
|
+
), de(i, (d) => {
|
|
1947
|
+
u("update:modelValue", d);
|
|
2074
1948
|
});
|
|
2075
1949
|
const t = K(() => {
|
|
2076
|
-
const { width:
|
|
2077
|
-
if (
|
|
2078
|
-
return
|
|
1950
|
+
const { width: d, size: _ } = l;
|
|
1951
|
+
if (d)
|
|
1952
|
+
return d;
|
|
2079
1953
|
switch (_) {
|
|
2080
1954
|
case "small":
|
|
2081
1955
|
return "480px";
|
|
@@ -2088,49 +1962,49 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
|
|
|
2088
1962
|
case "dnymic":
|
|
2089
1963
|
return "80%";
|
|
2090
1964
|
default:
|
|
2091
|
-
return
|
|
1965
|
+
return d;
|
|
2092
1966
|
}
|
|
2093
1967
|
});
|
|
2094
|
-
return (
|
|
2095
|
-
const
|
|
2096
|
-
return o(),
|
|
2097
|
-
|
|
2098
|
-
|
|
1968
|
+
return (d, _) => {
|
|
1969
|
+
const M = g("el-button"), S = g("el-dialog");
|
|
1970
|
+
return o(), C("div", Xt, [
|
|
1971
|
+
R("div", Qt, [
|
|
1972
|
+
B(S, {
|
|
2099
1973
|
modelValue: i.value,
|
|
2100
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
1974
|
+
"onUpdate:modelValue": _[0] || (_[0] = ($) => i.value = $),
|
|
2101
1975
|
"custom-class": "bsgoal_base_dialog_main",
|
|
2102
|
-
class:
|
|
2103
|
-
width:
|
|
1976
|
+
class: _e({ "bsgoal-dialog__footer--conceal": !e.footer }),
|
|
1977
|
+
width: s(t)
|
|
2104
1978
|
}, {
|
|
2105
|
-
header:
|
|
2106
|
-
|
|
1979
|
+
header: A(() => [
|
|
1980
|
+
R("div", Zt, z(e.title), 1)
|
|
2107
1981
|
]),
|
|
2108
|
-
footer:
|
|
2109
|
-
e.footer ?
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
default:
|
|
2113
|
-
H(
|
|
1982
|
+
footer: A(() => [
|
|
1983
|
+
e.footer ? J(d.$slots, "footer", { key: 0 }, () => [
|
|
1984
|
+
R("span", Kt, [
|
|
1985
|
+
B(M, { onClick: r }, {
|
|
1986
|
+
default: A(() => [
|
|
1987
|
+
H(z(e.cancelTxt), 1)
|
|
2114
1988
|
]),
|
|
2115
1989
|
_: 1
|
|
2116
1990
|
}),
|
|
2117
|
-
|
|
1991
|
+
B(M, {
|
|
2118
1992
|
type: "primary",
|
|
2119
1993
|
onClick: c
|
|
2120
1994
|
}, {
|
|
2121
|
-
default:
|
|
2122
|
-
H(
|
|
1995
|
+
default: A(() => [
|
|
1996
|
+
H(z(e.confirmTxt), 1)
|
|
2123
1997
|
]),
|
|
2124
1998
|
_: 1
|
|
2125
1999
|
})
|
|
2126
2000
|
])
|
|
2127
|
-
]) :
|
|
2001
|
+
]) : N("", !0)
|
|
2128
2002
|
]),
|
|
2129
|
-
default:
|
|
2130
|
-
|
|
2131
|
-
class:
|
|
2003
|
+
default: A(() => [
|
|
2004
|
+
R("div", {
|
|
2005
|
+
class: _e(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
|
|
2132
2006
|
}, [
|
|
2133
|
-
|
|
2007
|
+
J(d.$slots, "default")
|
|
2134
2008
|
], 2)
|
|
2135
2009
|
]),
|
|
2136
2010
|
_: 3
|
|
@@ -2140,9 +2014,9 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
|
|
|
2140
2014
|
};
|
|
2141
2015
|
}
|
|
2142
2016
|
});
|
|
2143
|
-
const
|
|
2017
|
+
const ea = { class: "bsgoal-base-tabs" }, ta = {
|
|
2144
2018
|
name: "BsgoalBaseTabs"
|
|
2145
|
-
},
|
|
2019
|
+
}, aa = /* @__PURE__ */ Object.assign(ta, {
|
|
2146
2020
|
props: {
|
|
2147
2021
|
/**
|
|
2148
2022
|
* 配置项
|
|
@@ -2176,29 +2050,29 @@ const Ba = { class: "bsgoal-base-tabs" }, wa = {
|
|
|
2176
2050
|
}
|
|
2177
2051
|
},
|
|
2178
2052
|
emits: ["update:modelValue"],
|
|
2179
|
-
setup(e, { emit:
|
|
2053
|
+
setup(e, { emit: u }) {
|
|
2180
2054
|
const l = (i = "") => {
|
|
2181
|
-
|
|
2055
|
+
u("update:modelValue", i);
|
|
2182
2056
|
};
|
|
2183
2057
|
return (i, r) => {
|
|
2184
2058
|
const c = g("el-tab-pane"), t = g("el-tabs");
|
|
2185
|
-
return o(),
|
|
2186
|
-
|
|
2059
|
+
return o(), C("div", ea, [
|
|
2060
|
+
B(t, {
|
|
2187
2061
|
stretch: "",
|
|
2188
2062
|
class: "bsgoal_base_tabs",
|
|
2189
2063
|
type: e.type,
|
|
2190
2064
|
"model-value": e.modelValue,
|
|
2191
2065
|
onTabChange: l
|
|
2192
2066
|
}, {
|
|
2193
|
-
default:
|
|
2194
|
-
(o(!0),
|
|
2195
|
-
key:
|
|
2196
|
-
label:
|
|
2067
|
+
default: A(() => [
|
|
2068
|
+
(o(!0), C(L, null, Z(e.configOptions, ({ label: d, value: _ }, M) => (o(), b(c, {
|
|
2069
|
+
key: M,
|
|
2070
|
+
label: d,
|
|
2197
2071
|
name: _
|
|
2198
2072
|
}, {
|
|
2199
|
-
default:
|
|
2200
|
-
|
|
2201
|
-
H(
|
|
2073
|
+
default: A(() => [
|
|
2074
|
+
J(i.$slots, _, {}, () => [
|
|
2075
|
+
H(z(d), 1)
|
|
2202
2076
|
])
|
|
2203
2077
|
]),
|
|
2204
2078
|
_: 2
|
|
@@ -2210,9 +2084,9 @@ const Ba = { class: "bsgoal-base-tabs" }, wa = {
|
|
|
2210
2084
|
};
|
|
2211
2085
|
}
|
|
2212
2086
|
});
|
|
2213
|
-
const
|
|
2087
|
+
const na = { class: "bsgoal-base-link" }, la = {
|
|
2214
2088
|
name: "BsgoalBaseLink"
|
|
2215
|
-
},
|
|
2089
|
+
}, oa = /* @__PURE__ */ Object.assign(la, {
|
|
2216
2090
|
props: {
|
|
2217
2091
|
/**
|
|
2218
2092
|
* 内容
|
|
@@ -2237,23 +2111,23 @@ const Sa = { class: "bsgoal-base-link" }, ka = {
|
|
|
2237
2111
|
}
|
|
2238
2112
|
},
|
|
2239
2113
|
emits: ["on-click"],
|
|
2240
|
-
setup(e, { emit:
|
|
2114
|
+
setup(e, { emit: u }) {
|
|
2241
2115
|
const l = () => {
|
|
2242
|
-
|
|
2116
|
+
u("on-click");
|
|
2243
2117
|
};
|
|
2244
2118
|
return (i, r) => {
|
|
2245
2119
|
const c = g("el-link");
|
|
2246
|
-
return o(),
|
|
2247
|
-
|
|
2120
|
+
return o(), C("div", na, [
|
|
2121
|
+
B(c, {
|
|
2248
2122
|
class: "bsgoal_base_link",
|
|
2249
2123
|
type: "primary",
|
|
2250
2124
|
underline: e.underline,
|
|
2251
2125
|
style: Ue(e.styler),
|
|
2252
2126
|
onClick: l
|
|
2253
2127
|
}, {
|
|
2254
|
-
default:
|
|
2255
|
-
|
|
2256
|
-
H(
|
|
2128
|
+
default: A(() => [
|
|
2129
|
+
J(i.$slots, "default", {}, () => [
|
|
2130
|
+
H(z(e.content), 1)
|
|
2257
2131
|
], !0)
|
|
2258
2132
|
]),
|
|
2259
2133
|
_: 3
|
|
@@ -2261,27 +2135,103 @@ const Sa = { class: "bsgoal-base-link" }, ka = {
|
|
|
2261
2135
|
]);
|
|
2262
2136
|
};
|
|
2263
2137
|
}
|
|
2264
|
-
}),
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2138
|
+
}), sa = /* @__PURE__ */ Ne(oa, [["__scopeId", "data-v-3b0290b0"]]);
|
|
2139
|
+
const ua = { class: "bsgoal-base-button" }, ca = {
|
|
2140
|
+
name: "BsgoalBaseButton"
|
|
2141
|
+
}, ra = /* @__PURE__ */ Object.assign(ca, {
|
|
2142
|
+
props: {
|
|
2143
|
+
task: {
|
|
2144
|
+
type: [Object, Function],
|
|
2145
|
+
default: () => {
|
|
2146
|
+
Promise.resolve();
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2149
|
+
type: {
|
|
2150
|
+
type: [String],
|
|
2151
|
+
default: "primary",
|
|
2152
|
+
validator: (e) => ["primary", "success", "warning", "danger", "info"].includes(e)
|
|
2153
|
+
},
|
|
2154
|
+
icon: {
|
|
2155
|
+
type: [String, Object],
|
|
2156
|
+
default: He
|
|
2157
|
+
},
|
|
2158
|
+
content: {
|
|
2159
|
+
type: [String],
|
|
2160
|
+
default: "新增"
|
|
2161
|
+
},
|
|
2162
|
+
mode: {
|
|
2163
|
+
type: [String],
|
|
2164
|
+
default: "add",
|
|
2165
|
+
validator: (e) => ["add", "delete", "edit", "detail"].includes(e)
|
|
2166
|
+
}
|
|
2167
|
+
},
|
|
2168
|
+
setup(e) {
|
|
2169
|
+
const u = e, l = k(!1), i = () => {
|
|
2170
|
+
l.value = !0;
|
|
2171
|
+
const { task: t } = u;
|
|
2172
|
+
s(t)().then().finally(() => {
|
|
2173
|
+
l.value = !1;
|
|
2174
|
+
});
|
|
2175
|
+
}, r = K(() => {
|
|
2176
|
+
const { mode: t = "", type: d = "" } = u;
|
|
2177
|
+
switch (t) {
|
|
2178
|
+
case "delete":
|
|
2179
|
+
return "danger";
|
|
2180
|
+
}
|
|
2181
|
+
return d;
|
|
2182
|
+
}), c = K(() => {
|
|
2183
|
+
const { mode: t = "", icon: d = "" } = u;
|
|
2184
|
+
switch (t) {
|
|
2185
|
+
case "delete":
|
|
2186
|
+
return Me;
|
|
2187
|
+
}
|
|
2188
|
+
return d;
|
|
2189
|
+
});
|
|
2190
|
+
return (t, d) => {
|
|
2191
|
+
const _ = g("el-button");
|
|
2192
|
+
return o(), C("div", ua, [
|
|
2193
|
+
R("div", {
|
|
2194
|
+
class: "base_button",
|
|
2195
|
+
onClick: i
|
|
2196
|
+
}, [
|
|
2197
|
+
J(t.$slots, "default", { loading: l.value }, () => [
|
|
2198
|
+
B(_, {
|
|
2199
|
+
type: s(r),
|
|
2200
|
+
icon: s(c),
|
|
2201
|
+
loading: l.value
|
|
2202
|
+
}, {
|
|
2203
|
+
default: A(() => [
|
|
2204
|
+
H(z(e.content), 1)
|
|
2205
|
+
]),
|
|
2206
|
+
_: 1
|
|
2207
|
+
}, 8, ["type", "icon", "loading"])
|
|
2208
|
+
])
|
|
2209
|
+
])
|
|
2210
|
+
]);
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
}), ga = a, fa = be, pa = {
|
|
2214
|
+
install(e, u = {}) {
|
|
2215
|
+
const { exclude: l = [] } = u, i = {
|
|
2216
|
+
BsgoalBaseForm: qe,
|
|
2217
|
+
BsgoalBaseTable: Be,
|
|
2218
|
+
BsgoalBaseLine: ye,
|
|
2219
|
+
BsgoalBaseSearchTable: Ut,
|
|
2220
|
+
BsgoalBaseTree: Wt,
|
|
2221
|
+
BsgoalBaseDialog: qt,
|
|
2222
|
+
BsgoalBaseTabs: aa,
|
|
2223
|
+
BsgoalBaseLink: sa,
|
|
2224
|
+
BsgoalBaseButton: ra
|
|
2275
2225
|
};
|
|
2276
2226
|
for (const [r, c] of Object.entries(i))
|
|
2277
2227
|
l.includes(r) || e.component(r, c);
|
|
2278
2228
|
},
|
|
2279
2229
|
enumType: a,
|
|
2280
|
-
useFetch:
|
|
2230
|
+
useFetch: be
|
|
2281
2231
|
};
|
|
2282
2232
|
export {
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2233
|
+
ga as EnumType,
|
|
2234
|
+
pa as default,
|
|
2235
|
+
fa as useFetchApi
|
|
2286
2236
|
};
|
|
2287
2237
|
//# sourceMappingURL=index.mjs.map
|