@bsgoal/common 1.7.8 → 1.8.1

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 Ne = Object.defineProperty;
1
+ var ke = Object.defineProperty;
2
2
  var Te = Object.getOwnPropertySymbols;
3
- var ke = Object.prototype.hasOwnProperty, Se = Object.prototype.propertyIsEnumerable;
4
- var xe = (e, u, a) => u in e ? Ne(e, u, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[u] = a, pe = (e, u) => {
5
- for (var a in u || (u = {}))
6
- ke.call(u, a) && xe(e, a, u[a]);
3
+ var Se = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
4
+ var xe = (e, s, a) => s in e ? ke(e, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[s] = a, pe = (e, s) => {
5
+ for (var a in s || (s = {}))
6
+ Se.call(s, a) && xe(e, a, s[a]);
7
7
  if (Te)
8
- for (var a of Te(u))
9
- Se.call(u, a) && xe(e, a, u[a]);
8
+ for (var a of Te(s))
9
+ De.call(s, a) && xe(e, a, s[a]);
10
10
  return e;
11
11
  };
12
- import { computed as K, resolveComponent as g, openBlock as o, createElementBlock as E, createVNode as B, withCtx as x, renderSlot as J, createTextVNode as H, toDisplayString as j, ref as N, watchEffect as fe, unref as c, createElementVNode as S, withDirectives as W, createBlock as y, Fragment as z, renderList as Z, createCommentVNode as M, nextTick as Ce, inject as Ve, watch as _e, resolveDirective as De, normalizeClass as me, vShow as le, isProxy as Oe, toRaw as Ie, provide as Fe, useSlots as Re, createSlots as Ue, normalizeStyle as Pe } from "vue";
13
- import { ElMessage as Le } from "element-plus";
12
+ import { computed as K, resolveComponent as g, openBlock as o, createElementBlock as p, createVNode as B, withCtx as A, renderSlot as J, createTextVNode as H, toDisplayString as z, ref as w, watchEffect as fe, unref as c, createElementVNode as D, withDirectives as X, createBlock as y, Fragment as j, renderList as W, createCommentVNode as M, nextTick as $e, inject as Ve, watch as _e, resolveDirective as Oe, normalizeClass as me, vShow as le, isProxy as Ie, toRaw as Fe, provide as Re, useSlots as Ce, createSlots as Ue, normalizeStyle as Le } from "vue";
13
+ import { ElMessage as Pe } from "element-plus";
14
14
  const l = {
15
15
  INPUT: "text",
16
16
  INPUT_NUMBER: "number",
@@ -35,27 +35,27 @@ const l = {
35
35
  };
36
36
  let he = null;
37
37
  const Ee = (e) => {
38
- const u = [], a = [], i = (s = []) => {
39
- const t = s.map((_) => _.width), d = Math.max(...t);
40
- s.forEach((_) => {
41
- const { labelEl: V } = _;
42
- V.style.width = `${d}px`;
38
+ const s = [], a = [], i = (u = []) => {
39
+ const t = u.map((_) => _.width), d = Math.max(...t);
40
+ u.forEach((_) => {
41
+ const { labelEl: $ } = _;
42
+ $.style.width = `${d}px`;
43
43
  });
44
44
  }, r = () => {
45
45
  if (e) {
46
- const s = e.querySelectorAll(".el-form-item__label");
47
- if (s && s.length) {
46
+ const u = e.querySelectorAll(".el-form-item__label");
47
+ if (u && u.length) {
48
48
  let t = 0;
49
- s.forEach((d, _) => {
49
+ u.forEach((d, _) => {
50
50
  d.style.width = "initial", d.style.whiteSpace = "nowrap";
51
- const { x: V = 0, width: w = 0 } = d.getBoundingClientRect(), D = { x: V, width: w, labelEl: d };
52
- _ === 0 && (t = V), V === t ? u.push(D) : a.push(D);
51
+ const { x: $ = 0, width: N = 0 } = d.getBoundingClientRect(), S = { x: $, width: N, labelEl: d };
52
+ _ === 0 && (t = $), $ === t ? s.push(S) : a.push(S);
53
53
  });
54
54
  }
55
55
  }
56
56
  };
57
57
  he && clearTimeout(he), he = setTimeout(() => {
58
- r(), i(u), i(a);
58
+ r(), i(s), i(a);
59
59
  }, 50);
60
60
  }, be = {
61
61
  /**
@@ -77,16 +77,16 @@ const Ee = (e) => {
77
77
  /**
78
78
  * 表格自动高度
79
79
  */
80
- height: (e, { value: u = 65, arg: a = "" }) => {
80
+ height: (e, { value: s = 65, arg: a = "" }) => {
81
81
  if (e) {
82
82
  const { y: i = 0 } = e.getBoundingClientRect();
83
- e.style.height = `calc(100vh - ${i + u}px)`;
83
+ e.style.height = `calc(100vh - ${i + s}px)`;
84
84
  }
85
85
  }
86
86
  };
87
- const ze = { class: "bsgoal-base-tooltip" }, je = {
87
+ const je = { class: "bsgoal-base-tooltip" }, ze = {
88
88
  name: "BsgoalBaseTooltip"
89
- }, $e = /* @__PURE__ */ Object.assign(je, {
89
+ }, Me = /* @__PURE__ */ Object.assign(ze, {
90
90
  props: {
91
91
  /**
92
92
  * 文字提示内容
@@ -126,18 +126,18 @@ const ze = { class: "bsgoal-base-tooltip" }, je = {
126
126
  }
127
127
  },
128
128
  setup(e) {
129
- const u = e, a = K(() => {
130
- const { content: r = "", limit: s = 0, none: t = "" } = u;
129
+ const s = e, a = K(() => {
130
+ const { content: r = "", limit: u = 0, none: t = "" } = s;
131
131
  let d = r;
132
132
  const _ = r.length;
133
- return s && _ > s && (d = `${r.substring(0, s)}...`), d || t;
133
+ return u && _ > u && (d = `${r.substring(0, u)}...`), d || t;
134
134
  }), i = K(() => {
135
- const { content: r = "", limit: s = 0 } = u;
136
- return r.length < s || !s;
135
+ const { content: r = "", limit: u = 0 } = s;
136
+ return r.length < u || !u;
137
137
  });
138
- return (r, s) => {
138
+ return (r, u) => {
139
139
  const t = g("el-tooltip");
140
- return o(), E("div", ze, [
140
+ return o(), p("div", je, [
141
141
  B(t, {
142
142
  class: "base_tooltip",
143
143
  effect: "dark",
@@ -146,9 +146,9 @@ const ze = { class: "bsgoal-base-tooltip" }, je = {
146
146
  content: e.content,
147
147
  disabled: i.value
148
148
  }, {
149
- default: x(() => [
149
+ default: A(() => [
150
150
  J(r.$slots, "default", {}, () => [
151
- H(j(a.value), 1)
151
+ H(z(a.value), 1)
152
152
  ])
153
153
  ]),
154
154
  _: 3
@@ -157,7 +157,7 @@ const ze = { class: "bsgoal-base-tooltip" }, je = {
157
157
  };
158
158
  }
159
159
  });
160
- const Ye = { class: "bsgoal-base-form" }, Ge = { class: "base_form" }, He = { key: 1 }, We = {
160
+ const Ge = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, He = { key: 1 }, We = {
161
161
  name: "BsgoalBaseForm"
162
162
  }, Xe = /* @__PURE__ */ Object.assign(We, {
163
163
  props: {
@@ -221,25 +221,25 @@ const Ye = { class: "bsgoal-base-form" }, Ge = { class: "base_form" }, He = { ke
221
221
  }
222
222
  },
223
223
  emits: ["on-form", "on-clear", "on-change", "on-fold"],
224
- setup(e, { expose: u, emit: a }) {
225
- const i = e, r = N(null), s = be.align, t = N({});
224
+ setup(e, { expose: s, emit: a }) {
225
+ const i = e, r = w(null), u = be.align, t = w({});
226
226
  fe(() => {
227
- const { configOptions: p, values: b } = i, T = c(p), C = c(b);
228
- T.forEach(($) => {
229
- const { value: h = "", prop: O = "", type: I = "" } = $;
230
- [l.INPUT, l.INPUT_TEXT_AREA].includes(I), t.value[O] = C[O] || h;
227
+ const { configOptions: h, values: b } = i, x = c(h), V = c(b);
228
+ x.forEach((C) => {
229
+ const { value: E = "", prop: O = "", type: I = "" } = C;
230
+ [l.INPUT, l.INPUT_TEXT_AREA].includes(I), t.value[O] = V[O] || E;
231
231
  });
232
232
  });
233
233
  const d = K(() => {
234
- const { configOptions: p } = i;
235
- return c(p).map((C) => {
236
- let { rules: $ = !1, label: h = "" } = C;
237
- const O = { required: !0, message: `${h}不能为空`, trigger: "blur" };
238
- return $ && (typeof $ == "boolean" ? $ = [O] : Array.isArray($) ? $ = [O, ...$] : $ = [O, $]), C.rules = $, C;
234
+ const { configOptions: h } = i;
235
+ return c(h).map((V) => {
236
+ let { rules: C = !1, label: E = "" } = V;
237
+ const O = { required: !0, message: `${E}不能为空`, trigger: "blur" };
238
+ return C && (typeof C == "boolean" ? C = [O] : Array.isArray(C) ? C = [O, ...C] : C = [O, C]), V.rules = C, V;
239
239
  });
240
- }), _ = (p = "", b = "", T = "") => {
241
- if (!T)
242
- switch (p) {
240
+ }), _ = (h = "", b = "", x = "") => {
241
+ if (!x)
242
+ switch (h) {
243
243
  case l.INPUT:
244
244
  case l.INPUT_TEXT_AREA:
245
245
  return `请输入${b}`;
@@ -259,10 +259,10 @@ const Ye = { class: "bsgoal-base-form" }, Ge = { class: "base_form" }, He = { ke
259
259
  case l.MONTH_RANGE:
260
260
  return ["开始月份", "结束月份"];
261
261
  }
262
- return T;
263
- }, V = (p = "", b = "") => {
262
+ return x;
263
+ }, $ = (h = "", b = "") => {
264
264
  if (!b)
265
- switch (p) {
265
+ switch (h) {
266
266
  case l.WEEK:
267
267
  return "ww";
268
268
  case l.DATE:
@@ -282,135 +282,135 @@ const Ye = { class: "bsgoal-base-form" }, Ge = { class: "base_form" }, He = { ke
282
282
  return "YYYY-MM-DD HH:mm:ss";
283
283
  }
284
284
  return b;
285
- }, w = () => {
286
- const p = c(t), { configOptions: b } = i, T = c(b);
287
- for (const C of T) {
288
- const { type: $ = "", range: h = [], prop: O = "" } = C;
289
- if ($.endsWith("range") && h && h.length === 2) {
290
- const { 0: I = "", 1: P = "" } = p[O], { 0: U = "", 1: Y = "" } = h;
291
- p[U] = I, p[Y] = P;
285
+ }, N = () => {
286
+ const h = c(t), { configOptions: b } = i, x = c(b);
287
+ for (const V of x) {
288
+ const { type: C = "", range: E = [], prop: O = "" } = V;
289
+ if (C.endsWith("range") && E && E.length === 2) {
290
+ const { 0: I = "", 1: L = "" } = h[O], { 0: U = "", 1: G = "" } = E;
291
+ h[U] = I, h[G] = L;
292
292
  }
293
293
  }
294
- return a("on-form", p), p;
295
- }, D = () => {
294
+ return a("on-form", h), h;
295
+ }, S = () => {
296
296
  r.value.resetFields(), a("on-clear", t.value);
297
- }, k = (p, b) => {
298
- const T = {
299
- type: p,
297
+ }, k = (h, b) => {
298
+ const x = {
299
+ type: h,
300
300
  prop: b,
301
301
  value: t.value[b] || ""
302
302
  };
303
- a("on-change", T);
303
+ a("on-change", x);
304
304
  };
305
- return u({
306
- triggerOperationClear: D,
307
- triggerOperationForm: w,
308
- validateForm: (p = () => {
305
+ return s({
306
+ triggerOperationClear: S,
307
+ triggerOperationForm: N,
308
+ validateForm: (h = () => {
309
309
  }) => {
310
- r.value.validate((b = !1, T = {}) => {
310
+ r.value.validate((b = !1, x = {}) => {
311
311
  if (b) {
312
- const C = w();
313
- p(C);
312
+ const V = N();
313
+ h(V);
314
314
  } else {
315
- p(!1);
316
- const C = Object.keys(T)[0], {
317
- [C]: {
318
- 0: { message: $ = "" }
315
+ h(!1);
316
+ const V = Object.keys(x)[0], {
317
+ [V]: {
318
+ 0: { message: C = "" }
319
319
  }
320
- } = T;
321
- Le.error($);
320
+ } = x;
321
+ Pe.error(C);
322
322
  }
323
323
  });
324
324
  }
325
- }), (p, b) => {
326
- const T = g("el-input"), C = g("el-input-number"), $ = g("el-radio"), h = g("el-radio-group"), O = g("el-option"), I = g("el-select"), P = g("el-slider"), U = g("el-switch"), Y = g("el-date-picker"), F = g("el-time-picker"), X = 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");
327
- return o(), E("div", Ye, [
328
- S("div", Ge, [
329
- W((o(), y(ie, {
325
+ }), (h, b) => {
326
+ const x = g("el-input"), V = g("el-input-number"), C = g("el-radio"), E = g("el-radio-group"), O = g("el-option"), I = g("el-select"), L = g("el-slider"), U = g("el-switch"), G = g("el-date-picker"), F = g("el-time-picker"), Q = 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");
327
+ return o(), p("div", Ge, [
328
+ D("div", Ye, [
329
+ X((o(), y(ie, {
330
330
  ref_key: "EL_FORM_REF",
331
331
  ref: r,
332
332
  "label-suffix": ":",
333
333
  model: t.value
334
334
  }, {
335
- default: x(() => [
335
+ default: A(() => [
336
336
  B(re, null, {
337
- default: x(() => [
338
- (o(!0), E(z, null, Z(d.value, ({
339
- label: L = "",
340
- prop: A = "",
337
+ default: A(() => [
338
+ (o(!0), p(j, null, W(d.value, ({
339
+ label: P = "",
340
+ prop: T = "",
341
341
  type: m = "text",
342
342
  placeholder: f = "",
343
343
  readonly: v = e.readonlys,
344
- clearable: G = !0,
344
+ clearable: Y = !0,
345
345
  rows: ve = 2,
346
346
  min: de = 1,
347
347
  max: ge = 10,
348
348
  range: ee = [],
349
349
  format: te = "",
350
350
  rules: ae = [],
351
- limit: ue = e.limits
351
+ limit: se = e.limits
352
352
  } = {}, ce) => (o(), y(oe, {
353
353
  key: ce,
354
354
  xs: 24,
355
355
  sm: 24,
356
356
  md: e.medium
357
357
  }, {
358
- default: x(() => [
358
+ default: A(() => [
359
359
  B(ne, {
360
- label: L,
361
- prop: A,
360
+ label: P,
361
+ prop: T,
362
362
  rules: ae
363
363
  }, {
364
- default: x(() => [
365
- J(p.$slots, [A], {
366
- option: { readonly: v, value: t.value[A], values: t.value }
364
+ default: A(() => [
365
+ J(h.$slots, [T], {
366
+ option: { readonly: v, value: t.value[T], values: t.value }
367
367
  }, () => [
368
- v ? (o(), E("div", He, [
369
- B($e, {
370
- content: t.value[A],
371
- limit: ue,
368
+ v ? (o(), p("div", He, [
369
+ B(Me, {
370
+ content: t.value[T],
371
+ limit: se,
372
372
  none: e.none
373
373
  }, null, 8, ["content", "limit", "none"])
374
- ])) : (o(), E(z, { key: 0 }, [
375
- m === c(l).INPUT ? (o(), y(T, {
374
+ ])) : (o(), p(j, { key: 0 }, [
375
+ m === c(l).INPUT ? (o(), y(x, {
376
376
  key: 0,
377
- modelValue: t.value[A],
378
- "onUpdate:modelValue": (n) => t.value[A] = n,
379
- placeholder: _(m, L, f),
380
- clearable: G,
381
- onChange: (n) => k(m, A)
377
+ modelValue: t.value[T],
378
+ "onUpdate:modelValue": (n) => t.value[T] = n,
379
+ placeholder: _(m, P, f),
380
+ clearable: Y,
381
+ onChange: (n) => k(m, T)
382
382
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : M("", !0),
383
- m === c(l).INPUT_TEXT_AREA ? (o(), y(T, {
383
+ m === c(l).INPUT_TEXT_AREA ? (o(), y(x, {
384
384
  key: 1,
385
- modelValue: t.value[A],
386
- "onUpdate:modelValue": (n) => t.value[A] = n,
385
+ modelValue: t.value[T],
386
+ "onUpdate:modelValue": (n) => t.value[T] = n,
387
387
  type: "textarea",
388
388
  rows: ve,
389
- clearable: G,
390
- placeholder: _(m, L, f),
391
- onChange: (n) => k(m, A)
389
+ clearable: Y,
390
+ placeholder: _(m, P, f),
391
+ onChange: (n) => k(m, T)
392
392
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : M("", !0),
393
- m === c(l).INPUT_NUMBER ? (o(), y(C, {
393
+ m === c(l).INPUT_NUMBER ? (o(), y(V, {
394
394
  key: 2,
395
- modelValue: p.num,
396
- "onUpdate:modelValue": b[0] || (b[0] = (n) => p.num = n),
395
+ modelValue: h.num,
396
+ "onUpdate:modelValue": b[0] || (b[0] = (n) => h.num = n),
397
397
  min: de,
398
398
  max: ge,
399
399
  onChange: k
400
400
  }, null, 8, ["modelValue", "min", "max"])) : M("", !0),
401
- m === c(l).RADIO ? (o(), y(h, {
401
+ m === c(l).RADIO ? (o(), y(E, {
402
402
  key: 3,
403
- modelValue: t.value[A],
404
- "onUpdate:modelValue": (n) => t.value[A] = n,
405
- onChange: (n) => k(m, A)
403
+ modelValue: t.value[T],
404
+ "onUpdate:modelValue": (n) => t.value[T] = n,
405
+ onChange: (n) => k(m, T)
406
406
  }, {
407
- default: x(() => [
408
- (o(!0), E(z, null, Z(ee, (n, Q) => (o(), y($, {
409
- key: Q,
407
+ default: A(() => [
408
+ (o(!0), p(j, null, W(ee, (n, Z) => (o(), y(C, {
409
+ key: Z,
410
410
  label: n.value
411
411
  }, {
412
- default: x(() => [
413
- H(j(n.label), 1)
412
+ default: A(() => [
413
+ H(z(n.label), 1)
414
414
  ]),
415
415
  _: 2
416
416
  }, 1032, ["label"]))), 128))
@@ -419,101 +419,101 @@ const Ye = { class: "bsgoal-base-form" }, Ge = { class: "base_form" }, He = { ke
419
419
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : M("", !0),
420
420
  m === c(l).SELECT ? (o(), y(I, {
421
421
  key: 4,
422
- modelValue: t.value[A],
423
- "onUpdate:modelValue": (n) => t.value[A] = n,
424
- placeholder: _(m, L, f),
425
- onChange: (n) => k(m, A)
422
+ modelValue: t.value[T],
423
+ "onUpdate:modelValue": (n) => t.value[T] = n,
424
+ placeholder: _(m, P, f),
425
+ onChange: (n) => k(m, T)
426
426
  }, {
427
- default: x(() => [
428
- (o(!0), E(z, null, Z(ee, (n, Q) => (o(), y(O, {
429
- key: Q,
427
+ default: A(() => [
428
+ (o(!0), p(j, null, W(ee, (n, Z) => (o(), y(O, {
429
+ key: Z,
430
430
  label: n.label,
431
431
  value: n.value
432
432
  }, null, 8, ["label", "value"]))), 128))
433
433
  ]),
434
434
  _: 2
435
435
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : M("", !0),
436
- m === c(l).SLIDER ? (o(), y(P, {
436
+ m === c(l).SLIDER ? (o(), y(L, {
437
437
  key: 5,
438
- modelValue: t.value[A],
439
- "onUpdate:modelValue": (n) => t.value[A] = n,
438
+ modelValue: t.value[T],
439
+ "onUpdate:modelValue": (n) => t.value[T] = n,
440
440
  min: de,
441
441
  max: ge,
442
- onChange: (n) => k(m, A)
442
+ onChange: (n) => k(m, T)
443
443
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : M("", !0),
444
444
  m === c(l).SWITCH ? (o(), y(U, {
445
445
  key: 6,
446
- modelValue: t.value[A],
447
- "onUpdate:modelValue": (n) => t.value[A] = n,
446
+ modelValue: t.value[T],
447
+ "onUpdate:modelValue": (n) => t.value[T] = n,
448
448
  "active-value": ee[0] || !0,
449
449
  "inactive-value": ee[1] || !1,
450
- onChange: (n) => k(m, A)
450
+ onChange: (n) => k(m, T)
451
451
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : M("", !0),
452
452
  [c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
453
453
  m
454
- ) ? (o(), y(Y, {
454
+ ) ? (o(), y(G, {
455
455
  key: 7,
456
- modelValue: t.value[A],
457
- "onUpdate:modelValue": (n) => t.value[A] = n,
458
- format: V(m, te),
459
- "value-format": V(m, te),
456
+ modelValue: t.value[T],
457
+ "onUpdate:modelValue": (n) => t.value[T] = n,
458
+ format: $(m, te),
459
+ "value-format": $(m, te),
460
460
  type: m,
461
- placeholder: _(m, L, f),
462
- onChange: (n) => k(m, A)
461
+ placeholder: _(m, P, f),
462
+ onChange: (n) => k(m, T)
463
463
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : M("", !0),
464
464
  [
465
465
  c(l).DATE_RANGE,
466
466
  c(l).MONTH_RANGE,
467
467
  c(l).DATE_TIME_RANGE
468
- ].includes(m) ? (o(), y(Y, {
468
+ ].includes(m) ? (o(), y(G, {
469
469
  key: 8,
470
- modelValue: t.value[A],
471
- "onUpdate:modelValue": (n) => t.value[A] = n,
470
+ modelValue: t.value[T],
471
+ "onUpdate:modelValue": (n) => t.value[T] = n,
472
472
  type: m,
473
- "value-format": V(m, te),
474
- "start-placeholder": _(m, L, f)[0],
475
- "end-placeholder": _(m, L, f)[1],
476
- onChange: (n) => k(m, A)
473
+ "value-format": $(m, te),
474
+ "start-placeholder": _(m, P, f)[0],
475
+ "end-placeholder": _(m, P, f)[1],
476
+ onChange: (n) => k(m, T)
477
477
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
478
478
  [c(l).TIME].includes(m) ? (o(), y(F, {
479
479
  key: 9,
480
- modelValue: t.value[A],
481
- "onUpdate:modelValue": (n) => t.value[A] = n,
480
+ modelValue: t.value[T],
481
+ "onUpdate:modelValue": (n) => t.value[T] = n,
482
482
  "arrow-control": "",
483
- "value-format": V(m, te),
484
- placeholder: _(m, L, f),
485
- onChange: (n) => k(m, A)
483
+ "value-format": $(m, te),
484
+ placeholder: _(m, P, f),
485
+ onChange: (n) => k(m, T)
486
486
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : M("", !0),
487
487
  [c(l).TIME_RANGE].includes(m) ? (o(), y(F, {
488
488
  key: 10,
489
- modelValue: t.value[A],
490
- "onUpdate:modelValue": (n) => t.value[A] = n,
489
+ modelValue: t.value[T],
490
+ "onUpdate:modelValue": (n) => t.value[T] = n,
491
491
  "is-range": "",
492
- "value-format": V(m, te),
493
- "start-placeholder": _(m, L, f)[0],
494
- "end-placeholder": _(m, L, f)[1],
495
- onChange: (n) => k(m, A)
492
+ "value-format": $(m, te),
493
+ "start-placeholder": _(m, P, f)[0],
494
+ "end-placeholder": _(m, P, f)[1],
495
+ onChange: (n) => k(m, T)
496
496
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
497
497
  [c(l).CHECKBOX].includes(m) ? (o(), y(q, {
498
498
  key: 11,
499
- modelValue: t.value[A],
500
- "onUpdate:modelValue": (n) => t.value[A] = n,
501
- onChange: (n) => k(m, A)
499
+ modelValue: t.value[T],
500
+ "onUpdate:modelValue": (n) => t.value[T] = n,
501
+ onChange: (n) => k(m, T)
502
502
  }, {
503
- default: x(() => [
504
- (o(!0), E(z, null, Z(ee, (n, Q) => (o(), y(X, {
505
- key: Q,
503
+ default: A(() => [
504
+ (o(!0), p(j, null, W(ee, (n, Z) => (o(), y(Q, {
505
+ key: Z,
506
506
  label: n.value
507
507
  }, {
508
- default: x(() => [
509
- H(j(n.label), 1)
508
+ default: A(() => [
509
+ H(z(n.label), 1)
510
510
  ]),
511
511
  _: 2
512
512
  }, 1032, ["label"]))), 128))
513
513
  ]),
514
514
  _: 2
515
515
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : M("", !0),
516
- [].includes(m) ? (o(), E(z, { key: 12 }, [], 64)) : M("", !0)
516
+ [].includes(m) ? (o(), p(j, { key: 12 }, [], 64)) : M("", !0)
517
517
  ], 64))
518
518
  ])
519
519
  ]),
@@ -528,7 +528,7 @@ const Ye = { class: "bsgoal-base-form" }, Ge = { class: "base_form" }, He = { ke
528
528
  ]),
529
529
  _: 3
530
530
  }, 8, ["model"])), [
531
- [c(s)]
531
+ [c(u)]
532
532
  ])
533
533
  ])
534
534
  ]);
@@ -565,13 +565,13 @@ const Qe = { class: "bsgoal-base-table-content" }, Ze = { class: "base_table_con
565
565
  }
566
566
  },
567
567
  setup(e) {
568
- return (u, a) => (o(), E("div", Qe, [
569
- S("div", Ze, [
570
- e.tooltip ? (o(), y($e, {
568
+ return (s, a) => (o(), p("div", Qe, [
569
+ D("div", Ze, [
570
+ e.tooltip ? (o(), y(Me, {
571
571
  key: 0,
572
572
  content: e.data,
573
573
  limit: e.limit
574
- }, null, 8, ["content", "limit"])) : (o(), E("div", Ke, j(e.data), 1))
574
+ }, null, 8, ["content", "limit"])) : (o(), p("div", Ke, z(e.data), 1))
575
575
  ])
576
576
  ]));
577
577
  }
@@ -704,7 +704,7 @@ var et = {
704
704
  }
705
705
  }
706
706
  };
707
- const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_pagination" }, lt = /* @__PURE__ */ S("span", null, "总数", -1), nt = {
707
+ const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_pagination" }, lt = /* @__PURE__ */ D("span", null, "总数", -1), nt = {
708
708
  name: "BsgoalBaseTablePagination"
709
709
  }, ot = /* @__PURE__ */ Object.assign(nt, {
710
710
  props: {
@@ -738,30 +738,30 @@ const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_
738
738
  }
739
739
  },
740
740
  emits: ["on-size-change", "on-current-change"],
741
- setup(e, { emit: u }) {
742
- const a = (s = 0) => {
743
- u("on-size-change", s);
744
- }, i = (s = 1) => {
745
- u("on-current-change", s);
746
- }, r = N(1);
747
- return (s, t) => {
741
+ setup(e, { emit: s }) {
742
+ const a = (u = 0) => {
743
+ s("on-size-change", u);
744
+ }, i = (u = 1) => {
745
+ s("on-current-change", u);
746
+ }, r = w(1);
747
+ return (u, t) => {
748
748
  const d = g("el-pagination"), _ = g("el-config-provider");
749
- return o(), E("div", tt, [
750
- S("div", at, [
749
+ return o(), p("div", tt, [
750
+ D("div", at, [
751
751
  B(_, { locale: c(et) }, {
752
- default: x(() => [
752
+ default: A(() => [
753
753
  B(d, {
754
754
  background: "",
755
755
  layout: "total, sizes, prev, pager, next, jumper",
756
756
  "current-page": r.value,
757
- "onUpdate:currentPage": t[0] || (t[0] = (V) => r.value = V),
757
+ "onUpdate:currentPage": t[0] || (t[0] = ($) => r.value = $),
758
758
  "page-sizes": e.pageSizes,
759
759
  "page-size": e.pageSize,
760
760
  total: e.total,
761
761
  onSizeChange: a,
762
762
  onCurrentChange: i
763
763
  }, {
764
- next: x(() => [
764
+ next: A(() => [
765
765
  lt
766
766
  ]),
767
767
  _: 1
@@ -774,50 +774,50 @@ const tt = { class: "bsgoal-base-table-pagination" }, at = { class: "base_table_
774
774
  };
775
775
  }
776
776
  });
777
- const Me = (e, u) => {
777
+ const Be = (e, s) => {
778
778
  const a = e.__vccOpts || e;
779
- for (const [i, r] of u)
779
+ for (const [i, r] of s)
780
780
  a[i] = r;
781
781
  return a;
782
- }, ut = {
782
+ }, st = {
783
783
  name: "BsgoalBaseTableEmpty"
784
- }, st = { class: "bsgoal-base-table-empty" }, ct = /* @__PURE__ */ S("div", { class: "base_table_empty" }, [
785
- /* @__PURE__ */ S("div", { class: "base_table_empty_img" }, [
786
- /* @__PURE__ */ S("img", {
784
+ }, ut = { class: "bsgoal-base-table-empty" }, ct = /* @__PURE__ */ D("div", { class: "base_table_empty" }, [
785
+ /* @__PURE__ */ D("div", { class: "base_table_empty_img" }, [
786
+ /* @__PURE__ */ D("img", {
787
787
  src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
788
788
  alt: ""
789
789
  })
790
790
  ]),
791
- /* @__PURE__ */ S("div", { class: "base_table_empty_text" }, "暂无数据")
791
+ /* @__PURE__ */ D("div", { class: "base_table_empty_text" }, "暂无数据")
792
792
  ], -1), rt = [
793
793
  ct
794
794
  ];
795
- function it(e, u, a, i, r, s) {
796
- return o(), E("div", st, rt);
795
+ function it(e, s, a, i, r, u) {
796
+ return o(), p("div", ut, rt);
797
797
  }
798
- const dt = /* @__PURE__ */ Me(ut, [["render", it]]), _t = (e = null, { expression: u = 75, arg: a = {}, height: i = "" } = {}) => {
798
+ const dt = /* @__PURE__ */ Be(st, [["render", it]]), _t = (e = null, { expression: s = 75, arg: a = {}, height: i = "" } = {}) => {
799
799
  const r = c(e);
800
800
  if (r) {
801
- const s = r.querySelector(".el-table");
802
- s && Ce(() => {
803
- const { y: t = 0 } = s.getBoundingClientRect();
804
- let d = `calc(100vh - ${t + u}px)`;
801
+ const u = r.querySelector(".el-table");
802
+ u && $e(() => {
803
+ const { y: t = 0 } = u.getBoundingClientRect();
804
+ let d = `calc(100vh - ${t + s}px)`;
805
805
  const _ = Number.parseInt(i);
806
- i && (_ ? d = `${i}px` : d = i), s.style.height = d;
806
+ i && (_ ? d = `${i}px` : d = i), u.style.height = d;
807
807
  });
808
808
  }
809
- }, ye = (e = Promise.resolve(), u = null, a = N(!1), i = N(null)) => {
810
- const r = N("");
811
- return a.value = !0, e.then((s = {}) => {
812
- const { data: t = {}, message: d = "" } = s;
813
- i.value = t, r.value = d, u && u(!0, t), a.value = !1;
814
- }).catch((s = {}) => {
815
- if (typeof s == "object") {
816
- const { message: t = "" } = s;
809
+ }, ye = (e = Promise.resolve(), s = null, a = w(!1), i = w(null)) => {
810
+ const r = w("");
811
+ return a.value = !0, e.then((u = {}) => {
812
+ const { data: t = {}, message: d = "" } = u;
813
+ i.value = t, r.value = d, s && s(!0, t), a.value = !1;
814
+ }).catch((u = {}) => {
815
+ if (typeof u == "object") {
816
+ const { message: t = "" } = u;
817
817
  r.value = t;
818
818
  } else
819
- r.value = s;
820
- u && u(!1, s), a.value = !1;
819
+ r.value = u;
820
+ s && s(!1, u), a.value = !1;
821
821
  }).finally(() => {
822
822
  a.value = !1;
823
823
  }), { data: i, message: r, loading: a };
@@ -844,7 +844,7 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
844
844
  class: "base_table_menu"
845
845
  }, ht = {
846
846
  name: "BsgoalBaseTable"
847
- }, Be = /* @__PURE__ */ Object.assign(ht, {
847
+ }, Ne = /* @__PURE__ */ Object.assign(ht, {
848
848
  props: {
849
849
  /**
850
850
  * >----------props----------<
@@ -950,57 +950,57 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
950
950
  default: !0
951
951
  }
952
952
  },
953
- setup(e, { expose: u }) {
953
+ setup(e, { expose: s }) {
954
954
  const a = e, i = K(() => {
955
- const { configOptions: h = [], operation: O = !1, operationWidth: I = 0 } = a, P = c(h), U = [];
955
+ const { configOptions: E = [], operation: O = !1, operationWidth: I = 0 } = a, L = c(E), U = [];
956
956
  return O && U.push({
957
957
  label: "操作",
958
958
  fixed: "right",
959
959
  prop: "operation",
960
960
  width: I
961
- }), [...P, ...U];
962
- }), r = N(null), s = Ve("transferFoldStatus");
961
+ }), [...L, ...U];
962
+ }), r = w(null), u = Ve("transferFoldStatus");
963
963
  fe(() => {
964
- const { height: h } = a, O = s ? s.value : !1, I = c(a.expression);
965
- gt(h) || _t(r, { arg: O, expression: I, height: h });
964
+ const { height: E } = a, O = u ? u.value : !1, I = c(a.expression);
965
+ gt(E) || _t(r, { arg: O, expression: I, height: E });
966
966
  });
967
967
  const t = c(a.mapProps), d = pe({
968
968
  currentPage: "currentPage",
969
969
  pageSize: "pageSize",
970
970
  rows: "rows",
971
971
  total: "total"
972
- }, t), _ = N(1), V = N(10), w = N(0), D = N({}), k = N(a.loading), R = N(), p = N({}), b = () => {
973
- const { fetch: h, call: O, hasPage: I } = a, P = D.value, U = _.value, Y = V.value, F = pe({}, P);
974
- I && (F[d.currentPage] = U, F[d.pageSize] = Y), ye(h(F), O, k, p);
972
+ }, t), _ = w(1), $ = w(10), N = w(0), S = w({}), k = w(a.loading), R = w(), h = w({}), b = () => {
973
+ const { fetch: E, call: O, hasPage: I } = a, L = S.value, U = _.value, G = $.value, F = pe({}, L);
974
+ I && (F[d.currentPage] = U, F[d.pageSize] = G), ye(E(F), O, k, h);
975
975
  };
976
976
  fe(() => {
977
977
  R.value = a.data;
978
- }), _e(p, (h) => {
979
- a.hasPage ? (R.value = h[d.rows], w.value = h[d.total]) : R.value = h;
978
+ }), _e(h, (E) => {
979
+ a.hasPage ? (R.value = E[d.rows], N.value = E[d.total]) : R.value = E;
980
980
  });
981
- const T = (h = {}) => {
982
- D.value = h, _.value = 1, b();
983
- }, C = (h = 1) => {
984
- _.value = h;
985
- }, $ = (h = 10) => {
986
- V.value = h;
981
+ const x = (E = {}) => {
982
+ S.value = E, _.value = 1, b();
983
+ }, V = (E = 1) => {
984
+ _.value = E;
985
+ }, C = (E = 10) => {
986
+ $.value = E;
987
987
  };
988
- return _e([_, V], () => {
988
+ return _e([_, $], () => {
989
989
  b();
990
- }), u({
991
- refreshList: T
992
- }), (h, O) => {
993
- const I = g("el-table-column"), P = g("el-table"), U = De("loading");
994
- return o(), E("div", ft, [
995
- S("div", vt, [
996
- h.$slots.menu ? (o(), E("div", pt, [
997
- J(h.$slots, "menu")
990
+ }), s({
991
+ refreshList: x
992
+ }), (E, O) => {
993
+ const I = g("el-table-column"), L = g("el-table"), U = Oe("loading");
994
+ return o(), p("div", ft, [
995
+ D("div", vt, [
996
+ E.$slots.menu ? (o(), p("div", pt, [
997
+ J(E.$slots, "menu")
998
998
  ])) : M("", !0),
999
- S("div", {
999
+ D("div", {
1000
1000
  ref_key: "EL_TABLE_WRAP_REF",
1001
1001
  ref: r
1002
1002
  }, [
1003
- W((o(), y(P, {
1003
+ X((o(), y(L, {
1004
1004
  stripe: "",
1005
1005
  border: "",
1006
1006
  "highlight-current-row": "",
@@ -1013,20 +1013,20 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
1013
1013
  fontSize: "14px"
1014
1014
  }
1015
1015
  }, {
1016
- empty: x(() => [
1016
+ empty: A(() => [
1017
1017
  B(dt)
1018
1018
  ]),
1019
- default: x(() => [
1019
+ default: A(() => [
1020
1020
  e.selection ? (o(), y(I, {
1021
1021
  key: 0,
1022
1022
  fixed: "left",
1023
1023
  type: "selection",
1024
1024
  width: "40"
1025
1025
  })) : M("", !0),
1026
- (o(!0), E(z, null, Z(i.value, ({
1027
- prop: Y = "",
1026
+ (o(!0), p(j, null, W(i.value, ({
1027
+ prop: G = "",
1028
1028
  label: F = "",
1029
- align: X = "center",
1029
+ align: Q = "center",
1030
1030
  width: q = "",
1031
1031
  fixed: ne = !1,
1032
1032
  tooltip: oe = !1,
@@ -1034,17 +1034,17 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
1034
1034
  } = {}, ie) => (o(), y(I, {
1035
1035
  key: ie,
1036
1036
  label: F,
1037
- align: X,
1037
+ align: Q,
1038
1038
  width: q,
1039
1039
  fixed: ne,
1040
1040
  "min-width": `${F.length * 14 + 24}px`
1041
1041
  }, {
1042
- default: x(({ row: L }) => [
1043
- J(h.$slots, Y, { row: L }, () => [
1042
+ default: A(({ row: P }) => [
1043
+ J(E.$slots, G, { row: P }, () => [
1044
1044
  B(qe, {
1045
1045
  limit: re,
1046
1046
  tooltip: oe,
1047
- data: L[Y]
1047
+ data: P[G]
1048
1048
  }, null, 8, ["limit", "tooltip", "data"])
1049
1049
  ])
1050
1050
  ]),
@@ -1058,9 +1058,9 @@ const ft = { class: "bsgoal-base-table" }, vt = { class: "base_table" }, pt = {
1058
1058
  ], 512),
1059
1059
  e.hasPage ? (o(), y(ot, {
1060
1060
  key: 1,
1061
- total: w.value,
1062
- onOnCurrentChange: C,
1063
- onOnSizeChange: $
1061
+ total: N.value,
1062
+ onOnCurrentChange: V,
1063
+ onOnSizeChange: C
1064
1064
  }, null, 8, ["total"])) : M("", !0)
1065
1065
  ])
1066
1066
  ]);
@@ -1080,19 +1080,19 @@ const Et = {
1080
1080
  }
1081
1081
  },
1082
1082
  setup(e) {
1083
- return (u, a) => (o(), E("div", {
1083
+ return (s, a) => (o(), p("div", {
1084
1084
  class: me(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
1085
1085
  }, [
1086
- S("div", {
1086
+ D("div", {
1087
1087
  class: me(["base_line", { base_line__vertical: e.vertical }])
1088
1088
  }, null, 2)
1089
1089
  ], 2));
1090
1090
  }
1091
1091
  });
1092
1092
  /*! Element Plus Icons Vue v2.1.0 */
1093
- var se = (e, u) => {
1093
+ var ue = (e, s) => {
1094
1094
  let a = e.__vccOpts || e;
1095
- for (let [i, r] of u)
1095
+ for (let [i, r] of s)
1096
1096
  a[i] = r;
1097
1097
  return a;
1098
1098
  }, bt = {
@@ -1100,7 +1100,7 @@ var se = (e, u) => {
1100
1100
  }, yt = {
1101
1101
  xmlns: "http://www.w3.org/2000/svg",
1102
1102
  viewBox: "0 0 1024 1024"
1103
- }, At = /* @__PURE__ */ S(
1103
+ }, At = /* @__PURE__ */ D(
1104
1104
  "path",
1105
1105
  {
1106
1106
  fill: "currentColor",
@@ -1112,15 +1112,15 @@ var se = (e, u) => {
1112
1112
  ), Tt = [
1113
1113
  At
1114
1114
  ];
1115
- function xt(e, u, a, i, r, s) {
1116
- return o(), E("svg", yt, Tt);
1115
+ function xt(e, s, a, i, r, u) {
1116
+ return o(), p("svg", yt, Tt);
1117
1117
  }
1118
- var Ct = /* @__PURE__ */ se(bt, [["render", xt], ["__file", "arrow-down.vue"]]), Vt = {
1118
+ var $t = /* @__PURE__ */ ue(bt, [["render", xt], ["__file", "arrow-down.vue"]]), Vt = {
1119
1119
  name: "ArrowLeft"
1120
- }, $t = {
1120
+ }, Ct = {
1121
1121
  xmlns: "http://www.w3.org/2000/svg",
1122
1122
  viewBox: "0 0 1024 1024"
1123
- }, Mt = /* @__PURE__ */ S(
1123
+ }, Mt = /* @__PURE__ */ D(
1124
1124
  "path",
1125
1125
  {
1126
1126
  fill: "currentColor",
@@ -1132,15 +1132,15 @@ var Ct = /* @__PURE__ */ se(bt, [["render", xt], ["__file", "arrow-down.vue"]]),
1132
1132
  ), Bt = [
1133
1133
  Mt
1134
1134
  ];
1135
- function wt(e, u, a, i, r, s) {
1136
- return o(), E("svg", $t, Bt);
1135
+ function Nt(e, s, a, i, r, u) {
1136
+ return o(), p("svg", Ct, Bt);
1137
1137
  }
1138
- var Nt = /* @__PURE__ */ se(Vt, [["render", wt], ["__file", "arrow-left.vue"]]), kt = {
1138
+ var wt = /* @__PURE__ */ ue(Vt, [["render", Nt], ["__file", "arrow-left.vue"]]), kt = {
1139
1139
  name: "ArrowRight"
1140
1140
  }, St = {
1141
1141
  xmlns: "http://www.w3.org/2000/svg",
1142
1142
  viewBox: "0 0 1024 1024"
1143
- }, Dt = /* @__PURE__ */ S(
1143
+ }, Dt = /* @__PURE__ */ D(
1144
1144
  "path",
1145
1145
  {
1146
1146
  fill: "currentColor",
@@ -1152,15 +1152,15 @@ var Nt = /* @__PURE__ */ se(Vt, [["render", wt], ["__file", "arrow-left.vue"]]),
1152
1152
  ), Ot = [
1153
1153
  Dt
1154
1154
  ];
1155
- function It(e, u, a, i, r, s) {
1156
- return o(), E("svg", St, Ot);
1155
+ function It(e, s, a, i, r, u) {
1156
+ return o(), p("svg", St, Ot);
1157
1157
  }
1158
- var Ft = /* @__PURE__ */ se(kt, [["render", It], ["__file", "arrow-right.vue"]]), Rt = {
1158
+ var Ft = /* @__PURE__ */ ue(kt, [["render", It], ["__file", "arrow-right.vue"]]), Rt = {
1159
1159
  name: "ArrowUp"
1160
1160
  }, Ut = {
1161
1161
  xmlns: "http://www.w3.org/2000/svg",
1162
1162
  viewBox: "0 0 1024 1024"
1163
- }, Pt = /* @__PURE__ */ S(
1163
+ }, Lt = /* @__PURE__ */ D(
1164
1164
  "path",
1165
1165
  {
1166
1166
  fill: "currentColor",
@@ -1169,18 +1169,18 @@ var Ft = /* @__PURE__ */ se(kt, [["render", It], ["__file", "arrow-right.vue"]])
1169
1169
  null,
1170
1170
  -1
1171
1171
  /* HOISTED */
1172
- ), Lt = [
1173
- Pt
1172
+ ), Pt = [
1173
+ Lt
1174
1174
  ];
1175
- function zt(e, u, a, i, r, s) {
1176
- return o(), E("svg", Ut, Lt);
1175
+ function jt(e, s, a, i, r, u) {
1176
+ return o(), p("svg", Ut, Pt);
1177
1177
  }
1178
- var jt = /* @__PURE__ */ se(Rt, [["render", zt], ["__file", "arrow-up.vue"]]), Yt = {
1178
+ var zt = /* @__PURE__ */ ue(Rt, [["render", jt], ["__file", "arrow-up.vue"]]), Gt = {
1179
1179
  name: "Delete"
1180
- }, Gt = {
1180
+ }, Yt = {
1181
1181
  xmlns: "http://www.w3.org/2000/svg",
1182
1182
  viewBox: "0 0 1024 1024"
1183
- }, Ht = /* @__PURE__ */ S(
1183
+ }, Ht = /* @__PURE__ */ D(
1184
1184
  "path",
1185
1185
  {
1186
1186
  fill: "currentColor",
@@ -1192,15 +1192,15 @@ var jt = /* @__PURE__ */ se(Rt, [["render", zt], ["__file", "arrow-up.vue"]]), Y
1192
1192
  ), Wt = [
1193
1193
  Ht
1194
1194
  ];
1195
- function Xt(e, u, a, i, r, s) {
1196
- return o(), E("svg", Gt, Wt);
1195
+ function Xt(e, s, a, i, r, u) {
1196
+ return o(), p("svg", Yt, Wt);
1197
1197
  }
1198
- var we = /* @__PURE__ */ se(Yt, [["render", Xt], ["__file", "delete.vue"]]), Qt = {
1198
+ var we = /* @__PURE__ */ ue(Gt, [["render", Xt], ["__file", "delete.vue"]]), Qt = {
1199
1199
  name: "Plus"
1200
1200
  }, Zt = {
1201
1201
  xmlns: "http://www.w3.org/2000/svg",
1202
1202
  viewBox: "0 0 1024 1024"
1203
- }, Kt = /* @__PURE__ */ S(
1203
+ }, Kt = /* @__PURE__ */ D(
1204
1204
  "path",
1205
1205
  {
1206
1206
  fill: "currentColor",
@@ -1212,15 +1212,15 @@ var we = /* @__PURE__ */ se(Yt, [["render", Xt], ["__file", "delete.vue"]]), Qt
1212
1212
  ), Jt = [
1213
1213
  Kt
1214
1214
  ];
1215
- function qt(e, u, a, i, r, s) {
1216
- return o(), E("svg", Zt, Jt);
1215
+ function qt(e, s, a, i, r, u) {
1216
+ return o(), p("svg", Zt, Jt);
1217
1217
  }
1218
- var ea = /* @__PURE__ */ se(Qt, [["render", qt], ["__file", "plus.vue"]]), ta = {
1218
+ var ea = /* @__PURE__ */ ue(Qt, [["render", qt], ["__file", "plus.vue"]]), ta = {
1219
1219
  name: "Search"
1220
1220
  }, aa = {
1221
1221
  xmlns: "http://www.w3.org/2000/svg",
1222
1222
  viewBox: "0 0 1024 1024"
1223
- }, la = /* @__PURE__ */ S(
1223
+ }, la = /* @__PURE__ */ D(
1224
1224
  "path",
1225
1225
  {
1226
1226
  fill: "currentColor",
@@ -1232,11 +1232,11 @@ var ea = /* @__PURE__ */ se(Qt, [["render", qt], ["__file", "plus.vue"]]), ta =
1232
1232
  ), na = [
1233
1233
  la
1234
1234
  ];
1235
- function oa(e, u, a, i, r, s) {
1236
- return o(), E("svg", aa, na);
1235
+ function oa(e, s, a, i, r, u) {
1236
+ return o(), p("svg", aa, na);
1237
1237
  }
1238
- var ua = /* @__PURE__ */ se(ta, [["render", oa], ["__file", "search.vue"]]);
1239
- const sa = { class: "bsgoal-base-search-operation" }, ca = {
1238
+ var sa = /* @__PURE__ */ ue(ta, [["render", oa], ["__file", "search.vue"]]);
1239
+ const ua = { class: "bsgoal-base-search-operation" }, ca = {
1240
1240
  name: "BsgoalBaseSearchOperation"
1241
1241
  }, ra = /* @__PURE__ */ Object.assign(ca, {
1242
1242
  props: {
@@ -1249,45 +1249,45 @@ const sa = { class: "bsgoal-base-search-operation" }, ca = {
1249
1249
  }
1250
1250
  },
1251
1251
  emits: ["on-fold"],
1252
- setup(e, { emit: u }) {
1253
- const a = N(!1), i = () => {
1254
- a.value = !c(a), u("on-fold", a.value);
1252
+ setup(e, { emit: s }) {
1253
+ const a = w(!1), i = () => {
1254
+ a.value = !c(a), s("on-fold", a.value);
1255
1255
  };
1256
- return (r, s) => {
1256
+ return (r, u) => {
1257
1257
  const t = g("el-button"), d = g("el-icon");
1258
- return o(), E("div", sa, [
1258
+ return o(), p("div", ua, [
1259
1259
  B(t, {
1260
1260
  type: "primary",
1261
- icon: c(ua),
1262
- onClick: s[0] || (s[0] = (_) => r.$emit("on-search"))
1261
+ icon: c(sa),
1262
+ onClick: u[0] || (u[0] = (_) => r.$emit("on-search"))
1263
1263
  }, {
1264
- default: x(() => [
1264
+ default: A(() => [
1265
1265
  H("搜索")
1266
1266
  ]),
1267
1267
  _: 1
1268
1268
  }, 8, ["icon"]),
1269
1269
  B(t, {
1270
1270
  icon: c(we),
1271
- onClick: s[1] || (s[1] = (_) => r.$emit("on-clear"))
1271
+ onClick: u[1] || (u[1] = (_) => r.$emit("on-clear"))
1272
1272
  }, {
1273
- default: x(() => [
1273
+ default: A(() => [
1274
1274
  H("清空")
1275
1275
  ]),
1276
1276
  _: 1
1277
1277
  }, 8, ["icon"]),
1278
- e.fold ? (o(), E("div", {
1278
+ e.fold ? (o(), p("div", {
1279
1279
  key: 0,
1280
1280
  class: "operation_fold",
1281
1281
  style: { color: "var(--el-color-primary)" },
1282
1282
  onClick: i
1283
1283
  }, [
1284
- H(j(a.value ? "收起" : "展开"), 1),
1284
+ H(z(a.value ? "收起" : "展开"), 1),
1285
1285
  B(d, { color: "#409EFC" }, {
1286
- default: x(() => [
1287
- W(B(c(jt), null, null, 512), [
1286
+ default: A(() => [
1287
+ X(B(c(zt), null, null, 512), [
1288
1288
  [le, a.value]
1289
1289
  ]),
1290
- W(B(c(Ct), null, null, 512), [
1290
+ X(B(c($t), null, null, 512), [
1291
1291
  [le, !a.value]
1292
1292
  ])
1293
1293
  ]),
@@ -1332,16 +1332,16 @@ const ia = { class: "bsgoal-base-cascader" }, da = {
1332
1332
  }
1333
1333
  },
1334
1334
  emits: ["update:model-value", "on-change"],
1335
- setup(e, { emit: u }) {
1336
- const a = N({
1335
+ setup(e, { emit: s }) {
1336
+ const a = w({
1337
1337
  checkStrictly: !0,
1338
1338
  multiple: !1
1339
1339
  }), i = (r) => {
1340
- u("update:model-value", r), u("on-change", r);
1340
+ s("update:model-value", r), s("on-change", r);
1341
1341
  };
1342
- return (r, s) => {
1342
+ return (r, u) => {
1343
1343
  const t = g("el-cascader");
1344
- return o(), E("div", ia, [
1344
+ return o(), p("div", ia, [
1345
1345
  B(t, {
1346
1346
  clearable: "",
1347
1347
  class: "base_cascader",
@@ -1399,26 +1399,26 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1399
1399
  }
1400
1400
  },
1401
1401
  emits: ["on-search", "on-clear", "on-change", "on-fold"],
1402
- setup(e, { expose: u, emit: a }) {
1403
- const i = e, r = N(null), s = be.align, t = N({});
1402
+ setup(e, { expose: s, emit: a }) {
1403
+ const i = e, r = w(null), u = be.align, t = w({});
1404
1404
  fe(() => {
1405
- const { configOptions: T } = i;
1406
- c(T).forEach(($) => {
1407
- const { value: h, prop: O = "", type: I = "" } = $;
1408
- [l.INPUT, l.INPUT_TEXT_AREA].includes(I), t.value[O] = [0, !1].includes(h) ? h : "";
1405
+ const { configOptions: x } = i;
1406
+ c(x).forEach((C) => {
1407
+ const { value: E, prop: O = "", type: I = "" } = C;
1408
+ [l.INPUT, l.INPUT_TEXT_AREA].includes(I), t.value[O] = [0, !1].includes(E) ? E : "";
1409
1409
  });
1410
1410
  });
1411
1411
  const d = K(() => {
1412
- const { configOptions: T } = i, C = c(T), $ = {
1412
+ const { configOptions: x } = i, V = c(x), C = {
1413
1413
  type: l.OPERATION
1414
1414
  };
1415
- return [...C, $];
1416
- }), _ = (T = "", C = "", $ = "") => {
1417
- if (!$)
1418
- switch (T) {
1415
+ return [...V, C];
1416
+ }), _ = (x = "", V = "", C = "") => {
1417
+ if (!C)
1418
+ switch (x) {
1419
1419
  case l.INPUT:
1420
1420
  case l.INPUT_TEXT_AREA:
1421
- return `请输入${C}`;
1421
+ return `请输入${V}`;
1422
1422
  case l.SELECT:
1423
1423
  case l.DATE:
1424
1424
  case l.WEEK:
@@ -1427,7 +1427,7 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1427
1427
  case l.DATE_TIME:
1428
1428
  case l.TIME:
1429
1429
  case l.CASCADER:
1430
- return `请选择${C}`;
1430
+ return `请选择${V}`;
1431
1431
  case l.DATE_RANGE:
1432
1432
  case l.DATE_TIME_RANGE:
1433
1433
  return ["开始日期", "结束日期"];
@@ -1436,10 +1436,10 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1436
1436
  case l.MONTH_RANGE:
1437
1437
  return ["开始月份", "结束月份"];
1438
1438
  }
1439
- return $;
1440
- }, V = (T = "", C = "") => {
1441
- if (!C)
1442
- switch (T) {
1439
+ return C;
1440
+ }, $ = (x = "", V = "") => {
1441
+ if (!V)
1442
+ switch (x) {
1443
1443
  case l.WEEK:
1444
1444
  return "ww";
1445
1445
  case l.DATE:
@@ -1458,101 +1458,101 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1458
1458
  case l.DATE_TIME_RANGE:
1459
1459
  return "YYYY-MM-DD HH:mm:ss";
1460
1460
  }
1461
- return C;
1462
- }, w = () => {
1463
- const { configOptions: T } = i, C = c(t), $ = c(T), h = {};
1464
- for (const O of $) {
1465
- const { type: I = "", range: P = [], prop: U = "", single: Y = !1 } = O, F = C[U];
1466
- if ([l.CASCADER].includes(I) && Array.isArray(F) && Y) {
1467
- const X = F.length;
1468
- X ? h[U] = F[X - 1] : h[U] = F;
1461
+ return V;
1462
+ }, N = () => {
1463
+ const { configOptions: x } = i, V = c(t), C = c(x), E = {};
1464
+ for (const O of C) {
1465
+ const { type: I = "", range: L = [], prop: U = "", single: G = !1 } = O, F = V[U];
1466
+ if ([l.CASCADER].includes(I) && Array.isArray(F) && G) {
1467
+ const Q = F.length;
1468
+ Q ? E[U] = F[Q - 1] : E[U] = F;
1469
1469
  } else
1470
- Oe(F) ? h[U] = Ie(F) : h[U] = F;
1471
- if (I.endsWith("range") && P && P.length === 2) {
1472
- const { 0: X = "", 1: q = "" } = F, { 0: ne = "", 1: oe = "" } = P;
1473
- h[ne] = X, h[oe] = q;
1470
+ Ie(F) ? E[U] = Fe(F) : E[U] = F;
1471
+ if (I.endsWith("range") && L && L.length === 2) {
1472
+ const { 0: Q = "", 1: q = "" } = F, { 0: ne = "", 1: oe = "" } = L;
1473
+ E[ne] = Q, E[oe] = q;
1474
1474
  }
1475
1475
  }
1476
- a("on-search", h), a("update:modelValue", h);
1476
+ a("on-search", E), a("update:modelValue", E);
1477
1477
  };
1478
- Ce(() => {
1479
- w();
1478
+ $e(() => {
1479
+ N();
1480
1480
  });
1481
- const D = () => {
1481
+ const S = () => {
1482
1482
  r.value.resetFields(), a("on-clear", t.value);
1483
- }, k = Ve("transferFoldStatus"), R = N(!1), p = (T = !1) => {
1484
- R.value = T, k && (k.value = T), a("on-fold", R);
1485
- }, b = (T, C) => {
1486
- w();
1487
- const $ = {
1488
- type: T,
1489
- prop: C,
1490
- value: t.value[C] || ""
1483
+ }, k = Ve("transferFoldStatus"), R = w(!1), h = (x = !1) => {
1484
+ R.value = x, k && (k.value = x), a("on-fold", R);
1485
+ }, b = (x, V) => {
1486
+ N();
1487
+ const C = {
1488
+ type: x,
1489
+ prop: V,
1490
+ value: t.value[V] || ""
1491
1491
  };
1492
- a("on-change", $);
1492
+ a("on-change", C);
1493
1493
  };
1494
- return u({
1495
- triggerOperationSearch: w
1496
- }), (T, C) => {
1497
- const $ = g("el-input"), h = g("el-input-number"), O = g("el-radio"), I = g("el-radio-group"), P = g("el-option"), U = g("el-select"), Y = g("el-slider"), F = g("el-switch"), X = g("el-date-picker"), q = g("el-time-picker"), ne = g("el-checkbox"), oe = g("el-checkbox-group"), re = g("el-form-item"), ie = g("el-col"), L = g("el-row"), A = g("el-form");
1498
- return o(), E("div", ma, [
1499
- S("div", ga, [
1500
- W((o(), y(A, {
1494
+ return s({
1495
+ triggerOperationSearch: N
1496
+ }), (x, V) => {
1497
+ const C = g("el-input"), E = g("el-input-number"), O = g("el-radio"), I = g("el-radio-group"), L = g("el-option"), U = g("el-select"), G = g("el-slider"), F = g("el-switch"), Q = g("el-date-picker"), q = g("el-time-picker"), ne = g("el-checkbox"), oe = g("el-checkbox-group"), re = g("el-form-item"), ie = g("el-col"), P = g("el-row"), T = g("el-form");
1498
+ return o(), p("div", ma, [
1499
+ D("div", ga, [
1500
+ X((o(), y(T, {
1501
1501
  ref_key: "EL_FORM_REF",
1502
1502
  ref: r,
1503
1503
  "label-suffix": ":",
1504
1504
  "show-message": !1,
1505
1505
  model: t.value
1506
1506
  }, {
1507
- default: x(() => [
1508
- B(L, null, {
1509
- default: x(() => [
1510
- (o(!0), E(z, null, Z(d.value, ({
1507
+ default: A(() => [
1508
+ B(P, null, {
1509
+ default: A(() => [
1510
+ (o(!0), p(j, null, W(d.value, ({
1511
1511
  label: m = "",
1512
1512
  prop: f = "",
1513
1513
  type: v = "text",
1514
- placeholder: G = "",
1514
+ placeholder: Y = "",
1515
1515
  readonly: ve = !1,
1516
1516
  clearable: de = !0,
1517
1517
  rows: ge = 2,
1518
1518
  min: ee = 1,
1519
1519
  max: te = 10,
1520
1520
  range: ae = [],
1521
- format: ue = ""
1522
- } = {}, ce) => W((o(), y(ie, {
1521
+ format: se = ""
1522
+ } = {}, ce) => X((o(), y(ie, {
1523
1523
  key: ce,
1524
1524
  xs: 24,
1525
1525
  sm: 12,
1526
1526
  md: e.medium
1527
1527
  }, {
1528
- default: x(() => [
1528
+ default: A(() => [
1529
1529
  B(re, {
1530
1530
  label: m,
1531
1531
  prop: f
1532
1532
  }, {
1533
- default: x(() => [
1534
- ve ? (o(), E("div", fa, j(t.value[f]), 1)) : (o(), E(z, { key: 0 }, [
1535
- v === c(l).INPUT ? (o(), y($, {
1533
+ default: A(() => [
1534
+ ve ? (o(), p("div", fa, z(t.value[f]), 1)) : (o(), p(j, { key: 0 }, [
1535
+ v === c(l).INPUT ? (o(), y(C, {
1536
1536
  key: 0,
1537
1537
  modelValue: t.value[f],
1538
1538
  "onUpdate:modelValue": (n) => t.value[f] = n,
1539
- placeholder: _(v, m, G),
1539
+ placeholder: _(v, m, Y),
1540
1540
  clearable: de
1541
1541
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : M("", !0),
1542
- v === c(l).INPUT_TEXT_AREA ? (o(), y($, {
1542
+ v === c(l).INPUT_TEXT_AREA ? (o(), y(C, {
1543
1543
  key: 1,
1544
1544
  modelValue: t.value[f],
1545
1545
  "onUpdate:modelValue": (n) => t.value[f] = n,
1546
1546
  type: "textarea",
1547
1547
  rows: ge,
1548
1548
  clearable: de,
1549
- placeholder: _(v, m, G),
1549
+ placeholder: _(v, m, Y),
1550
1550
  onChange: (n) => b(v, f)
1551
1551
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : M("", !0),
1552
- v === c(l).INPUT_NUMBER ? (o(), y(h, {
1552
+ v === c(l).INPUT_NUMBER ? (o(), y(E, {
1553
1553
  key: 2,
1554
- modelValue: T.num,
1555
- "onUpdate:modelValue": C[0] || (C[0] = (n) => T.num = n),
1554
+ modelValue: x.num,
1555
+ "onUpdate:modelValue": V[0] || (V[0] = (n) => x.num = n),
1556
1556
  min: ee,
1557
1557
  max: te,
1558
1558
  onChange: b
@@ -1563,13 +1563,13 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1563
1563
  "onUpdate:modelValue": (n) => t.value[f] = n,
1564
1564
  onChange: (n) => b(v, f)
1565
1565
  }, {
1566
- default: x(() => [
1567
- (o(!0), E(z, null, Z(ae, (n, Q) => (o(), y(O, {
1568
- key: Q,
1566
+ default: A(() => [
1567
+ (o(!0), p(j, null, W(ae, (n, Z) => (o(), y(O, {
1568
+ key: Z,
1569
1569
  label: n.value
1570
1570
  }, {
1571
- default: x(() => [
1572
- H(j(n.label), 1)
1571
+ default: A(() => [
1572
+ H(z(n.label), 1)
1573
1573
  ]),
1574
1574
  _: 2
1575
1575
  }, 1032, ["label"]))), 128))
@@ -1580,19 +1580,19 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1580
1580
  key: 4,
1581
1581
  modelValue: t.value[f],
1582
1582
  "onUpdate:modelValue": (n) => t.value[f] = n,
1583
- placeholder: _(v, m, G),
1583
+ placeholder: _(v, m, Y),
1584
1584
  onChange: (n) => b(v, f)
1585
1585
  }, {
1586
- default: x(() => [
1587
- (o(!0), E(z, null, Z(ae, (n, Q) => (o(), y(P, {
1588
- key: Q,
1586
+ default: A(() => [
1587
+ (o(!0), p(j, null, W(ae, (n, Z) => (o(), y(L, {
1588
+ key: Z,
1589
1589
  label: n.label,
1590
1590
  value: n.value
1591
1591
  }, null, 8, ["label", "value"]))), 128))
1592
1592
  ]),
1593
1593
  _: 2
1594
1594
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : M("", !0),
1595
- v === c(l).SLIDER ? (o(), y(Y, {
1595
+ v === c(l).SLIDER ? (o(), y(G, {
1596
1596
  key: 5,
1597
1597
  modelValue: t.value[f],
1598
1598
  "onUpdate:modelValue": (n) => t.value[f] = n,
@@ -1610,28 +1610,28 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1610
1610
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : M("", !0),
1611
1611
  [c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
1612
1612
  v
1613
- ) ? (o(), y(X, {
1613
+ ) ? (o(), y(Q, {
1614
1614
  key: 7,
1615
1615
  modelValue: t.value[f],
1616
1616
  "onUpdate:modelValue": (n) => t.value[f] = n,
1617
- format: V(v, ue),
1618
- "value-format": V(v, ue),
1617
+ format: $(v, se),
1618
+ "value-format": $(v, se),
1619
1619
  type: v,
1620
- placeholder: _(v, m, G),
1620
+ placeholder: _(v, m, Y),
1621
1621
  onChange: (n) => b(v, f)
1622
1622
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : M("", !0),
1623
1623
  [
1624
1624
  c(l).DATE_RANGE,
1625
1625
  c(l).MONTH_RANGE,
1626
1626
  c(l).DATE_TIME_RANGE
1627
- ].includes(v) ? (o(), y(X, {
1627
+ ].includes(v) ? (o(), y(Q, {
1628
1628
  key: 8,
1629
1629
  modelValue: t.value[f],
1630
1630
  "onUpdate:modelValue": (n) => t.value[f] = n,
1631
1631
  type: v,
1632
- "value-format": V(v, ue),
1633
- "start-placeholder": _(v, m, G)[0],
1634
- "end-placeholder": _(v, m, G)[1],
1632
+ "value-format": $(v, se),
1633
+ "start-placeholder": _(v, m, Y)[0],
1634
+ "end-placeholder": _(v, m, Y)[1],
1635
1635
  onChange: (n) => b(v, f)
1636
1636
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
1637
1637
  [c(l).TIME].includes(v) ? (o(), y(q, {
@@ -1639,8 +1639,8 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1639
1639
  modelValue: t.value[f],
1640
1640
  "onUpdate:modelValue": (n) => t.value[f] = n,
1641
1641
  "arrow-control": "",
1642
- "value-format": V(v, ue),
1643
- placeholder: _(v, m, G),
1642
+ "value-format": $(v, se),
1643
+ placeholder: _(v, m, Y),
1644
1644
  onChange: (n) => b(v, f)
1645
1645
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : M("", !0),
1646
1646
  [c(l).TIME_RANGE].includes(v) ? (o(), y(q, {
@@ -1648,9 +1648,9 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1648
1648
  modelValue: t.value[f],
1649
1649
  "onUpdate:modelValue": (n) => t.value[f] = n,
1650
1650
  "is-range": "",
1651
- "value-format": V(v, ue),
1652
- "start-placeholder": _(v, m, G)[0],
1653
- "end-placeholder": _(v, m, G)[1],
1651
+ "value-format": $(v, se),
1652
+ "start-placeholder": _(v, m, Y)[0],
1653
+ "end-placeholder": _(v, m, Y)[1],
1654
1654
  onChange: (n) => b(v, f)
1655
1655
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
1656
1656
  [c(l).CHECKBOX].includes(v) ? (o(), y(oe, {
@@ -1659,13 +1659,13 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1659
1659
  "onUpdate:modelValue": (n) => t.value[f] = n,
1660
1660
  onChange: (n) => b(v, f)
1661
1661
  }, {
1662
- default: x(() => [
1663
- (o(!0), E(z, null, Z(ae, (n, Q) => (o(), y(ne, {
1664
- key: Q,
1662
+ default: A(() => [
1663
+ (o(!0), p(j, null, W(ae, (n, Z) => (o(), y(ne, {
1664
+ key: Z,
1665
1665
  label: n.value
1666
1666
  }, {
1667
- default: x(() => [
1668
- H(j(n.label), 1)
1667
+ default: A(() => [
1668
+ H(z(n.label), 1)
1669
1669
  ]),
1670
1670
  _: 2
1671
1671
  }, 1032, ["label"]))), 128))
@@ -1677,16 +1677,16 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1677
1677
  modelValue: t.value[f],
1678
1678
  "onUpdate:modelValue": (n) => t.value[f] = n,
1679
1679
  "data-options": ae,
1680
- placeholder: _(v, m, G),
1680
+ placeholder: _(v, m, Y),
1681
1681
  onOnChange: (n) => b(v, f)
1682
1682
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : M("", !0),
1683
- [].includes(v) ? (o(), E(z, { key: 13 }, [], 64)) : M("", !0),
1683
+ [].includes(v) ? (o(), p(j, { key: 13 }, [], 64)) : M("", !0),
1684
1684
  [c(l).OPERATION].includes(v) ? (o(), y(ra, {
1685
1685
  key: 14,
1686
1686
  fold: ce >= 7,
1687
- onOnSearch: w,
1688
- onOnClear: D,
1689
- onOnFold: p
1687
+ onOnSearch: N,
1688
+ onOnClear: S,
1689
+ onOnFold: h
1690
1690
  }, null, 8, ["fold"])) : M("", !0)
1691
1691
  ], 64))
1692
1692
  ]),
@@ -1703,7 +1703,7 @@ const ma = { class: "bsgoal-base-search" }, ga = { class: "base_search" }, fa =
1703
1703
  ]),
1704
1704
  _: 1
1705
1705
  }, 8, ["model"])), [
1706
- [c(s)]
1706
+ [c(u)]
1707
1707
  ])
1708
1708
  ]),
1709
1709
  B(Ae)
@@ -1819,55 +1819,55 @@ const ha = { class: "bsgoal-base-search-table" }, Ea = { class: "base_search_tab
1819
1819
  default: !0
1820
1820
  }
1821
1821
  },
1822
- setup(e, { expose: u }) {
1823
- const a = e, i = N(!1);
1824
- Fe("transferFoldStatus", i);
1825
- const r = c(a.configOptions), s = K(() => r.filter((p) => {
1826
- const { type: b = "" } = p;
1822
+ setup(e, { expose: s }) {
1823
+ const a = e, i = w(!1);
1824
+ Re("transferFoldStatus", i);
1825
+ const r = c(a.configOptions), u = K(() => r.filter((h) => {
1826
+ const { type: b = "" } = h;
1827
1827
  return !!b;
1828
- })), t = K(() => r.filter((p) => {
1829
- const { item: b = !1 } = p;
1828
+ })), t = K(() => r.filter((h) => {
1829
+ const { item: b = !1 } = h;
1830
1830
  return !b;
1831
- })), d = Re(), _ = N(Object.keys(d)), V = N(null), w = (p) => {
1832
- V.value.refreshList(p);
1833
- }, D = K(() => {
1834
- const { expression: p, hasPage: b } = a;
1835
- return b === !1 ? 25 : p;
1836
- }), k = N(null);
1837
- return u({
1831
+ })), d = Ce(), _ = w(Object.keys(d)), $ = w(null), N = (h) => {
1832
+ $.value.refreshList(h);
1833
+ }, S = K(() => {
1834
+ const { expression: h, hasPage: b } = a;
1835
+ return b === !1 ? 25 : h;
1836
+ }), k = w(null);
1837
+ return s({
1838
1838
  refresh: () => {
1839
- const { hasSearch: p } = a;
1840
- c(p) && k.value.triggerOperationSearch();
1839
+ const { hasSearch: h } = a;
1840
+ c(h) && k.value.triggerOperationSearch();
1841
1841
  }
1842
- }), (p, b) => (o(), E("div", ha, [
1843
- S("div", Ea, [
1844
- W(B(pa, {
1842
+ }), (h, b) => (o(), p("div", ha, [
1843
+ D("div", Ea, [
1844
+ X(B(pa, {
1845
1845
  ref_key: "BSGOAL_BASE_SEARCH_REF",
1846
1846
  ref: k,
1847
- "config-options": s.value,
1848
- onOnSearch: w,
1849
- onOnClear: w
1847
+ "config-options": u.value,
1848
+ onOnSearch: N,
1849
+ onOnClear: N
1850
1850
  }, null, 8, ["config-options"]), [
1851
1851
  [le, e.hasSearch]
1852
1852
  ]),
1853
- B(Be, {
1853
+ B(Ne, {
1854
1854
  ref_key: "BSGOAL_BASE_TABLE_REF",
1855
- ref: V,
1855
+ ref: $,
1856
1856
  "map-props": e.mapProps,
1857
1857
  operationWidth: e.operationWidth,
1858
1858
  "config-options": t.value,
1859
1859
  data: e.tableData,
1860
1860
  selection: e.selection,
1861
1861
  operation: e.operation,
1862
- expression: D.value,
1862
+ expression: S.value,
1863
1863
  fetch: e.fetch,
1864
1864
  call: e.call,
1865
1865
  "has-page": e.hasPage
1866
1866
  }, Ue({ _: 2 }, [
1867
- Z(_.value, (T) => ({
1868
- name: T,
1869
- fn: x(({ row: C = {} }) => [
1870
- J(p.$slots, T, { row: C })
1867
+ W(_.value, (x) => ({
1868
+ name: x,
1869
+ fn: A(({ row: V = {} }) => [
1870
+ J(h.$slots, x, { row: V })
1871
1871
  ])
1872
1872
  }))
1873
1873
  ]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
@@ -1880,24 +1880,24 @@ const Aa = { class: "bsgoal-base-tree-fold" }, Ta = {
1880
1880
  }, xa = /* @__PURE__ */ Object.assign(Ta, {
1881
1881
  props: ["modelValue"],
1882
1882
  emits: ["update:modelValue"],
1883
- setup(e, { emit: u }) {
1884
- let a = N(!0);
1883
+ setup(e, { emit: s }) {
1884
+ let a = w(!0);
1885
1885
  const i = () => {
1886
- a.value = !a.value, u("update:modelValue", a.value);
1886
+ a.value = !a.value, s("update:modelValue", a.value);
1887
1887
  };
1888
- return (r, s) => {
1888
+ return (r, u) => {
1889
1889
  const t = g("el-icon");
1890
- return o(), E("div", Aa, [
1891
- S("div", {
1890
+ return o(), p("div", Aa, [
1891
+ D("div", {
1892
1892
  class: me(["base_tree_fold", { "base_tree_fold--hide": !c(a) }]),
1893
1893
  onClick: i
1894
1894
  }, [
1895
1895
  B(t, { color: "#fff" }, {
1896
- default: x(() => [
1897
- W(B(c(Nt), null, null, 512), [
1896
+ default: A(() => [
1897
+ X(B(c(wt), null, null, 512), [
1898
1898
  [le, c(a)]
1899
1899
  ]),
1900
- W(B(c(Ft), null, null, 512), [
1900
+ X(B(c(Ft), null, null, 512), [
1901
1901
  [le, !c(a)]
1902
1902
  ])
1903
1903
  ]),
@@ -1908,7 +1908,7 @@ const Aa = { class: "bsgoal-base-tree-fold" }, Ta = {
1908
1908
  };
1909
1909
  }
1910
1910
  });
1911
- const Ca = { class: "bsgoal-base-tree" }, Va = { class: "base_tree" }, $a = { class: "base_tree_main" }, Ma = {
1911
+ const $a = { class: "bsgoal-base-tree" }, Va = { class: "base_tree" }, Ca = { class: "base_tree_main" }, Ma = {
1912
1912
  name: "BsgoalBaseTree"
1913
1913
  }, Ba = /* @__PURE__ */ Object.assign(Ma, {
1914
1914
  props: {
@@ -1963,40 +1963,40 @@ const Ca = { class: "bsgoal-base-tree" }, Va = { class: "base_tree" }, $a = { cl
1963
1963
  }
1964
1964
  },
1965
1965
  emits: ["on-click"],
1966
- setup(e, { emit: u }) {
1967
- const a = e, i = be.height, r = N(""), s = N(null);
1968
- _e(r, (w) => {
1969
- s.value.filter(w);
1966
+ setup(e, { emit: s }) {
1967
+ const a = e, i = be.height, r = w(""), u = w(null);
1968
+ _e(r, (N) => {
1969
+ u.value.filter(N);
1970
1970
  });
1971
- const t = (w, D) => w ? D.label.includes(w) : !0, d = N(!0), _ = (w, D, k, R) => {
1972
- u("on-click", w, D, k, R);
1973
- }, V = async (w, D, k) => {
1974
- if (w.level === 0) {
1975
- const R = await k.initNode(w);
1976
- return D(R || []);
1971
+ const t = (N, S) => N ? S.label.includes(N) : !0, d = w(!0), _ = (N, S, k, R) => {
1972
+ s("on-click", N, S, k, R);
1973
+ }, $ = async (N, S, k) => {
1974
+ if (N.level === 0) {
1975
+ const R = await k.initNode(N);
1976
+ return S(R || []);
1977
1977
  } else {
1978
- const R = await k.lazyLoad(w);
1979
- D(R || []);
1978
+ const R = await k.lazyLoad(N);
1979
+ S(R || []);
1980
1980
  }
1981
1981
  };
1982
- return (w, D) => {
1982
+ return (N, S) => {
1983
1983
  const k = g("el-input"), R = g("el-tree");
1984
- return o(), E("div", Ca, [
1985
- W((o(), E("div", Va, [
1986
- W(S("div", $a, [
1984
+ return o(), p("div", $a, [
1985
+ X((o(), p("div", Va, [
1986
+ X(D("div", Ca, [
1987
1987
  B(k, {
1988
1988
  modelValue: r.value,
1989
- "onUpdate:modelValue": D[0] || (D[0] = (p) => r.value = p),
1989
+ "onUpdate:modelValue": S[0] || (S[0] = (h) => r.value = h),
1990
1990
  class: "base_tree_main_input",
1991
1991
  placeholder: "输入关键字过滤"
1992
1992
  }, null, 8, ["modelValue"]),
1993
1993
  B(R, {
1994
1994
  ref_key: "EL_TREE_REF",
1995
- ref: s,
1995
+ ref: u,
1996
1996
  lazy: "",
1997
1997
  "highlight-current": "",
1998
1998
  "empty-text": "暂无数据",
1999
- load: (p, b) => V(p, b, a),
1999
+ load: (h, b) => $(h, b, a),
2000
2000
  "expand-on-click-node": !1,
2001
2001
  props: e.treeProps,
2002
2002
  "filter-node-method": t,
@@ -2005,12 +2005,12 @@ const Ca = { class: "bsgoal-base-tree" }, Va = { class: "base_tree" }, $a = { cl
2005
2005
  ], 512), [
2006
2006
  [le, d.value]
2007
2007
  ]),
2008
- W(B(Ae, { vertical: "" }, null, 512), [
2008
+ X(B(Ae, { vertical: "" }, null, 512), [
2009
2009
  [le, d.value]
2010
2010
  ]),
2011
2011
  B(xa, {
2012
2012
  modelValue: d.value,
2013
- "onUpdate:modelValue": D[1] || (D[1] = (p) => d.value = p)
2013
+ "onUpdate:modelValue": S[1] || (S[1] = (h) => d.value = h)
2014
2014
  }, null, 8, ["modelValue"])
2015
2015
  ])), [
2016
2016
  [c(i), e.gasket]
@@ -2019,7 +2019,7 @@ const Ca = { class: "bsgoal-base-tree" }, Va = { class: "base_tree" }, $a = { cl
2019
2019
  };
2020
2020
  }
2021
2021
  });
2022
- const wa = { class: "bsgoal-base-dialog" }, Na = { class: "base_dialog" }, ka = { class: "base_dialog_header" }, Sa = { class: "base_dialog_footer" }, Da = {
2022
+ const Na = { class: "bsgoal-base-dialog" }, wa = { class: "base_dialog" }, ka = { class: "base_dialog_header" }, Sa = { class: "base_dialog_footer" }, Da = {
2023
2023
  name: "BsgoalBaseDialog"
2024
2024
  }, Oa = /* @__PURE__ */ Object.assign(Da, {
2025
2025
  props: {
@@ -2082,11 +2082,11 @@ const wa = { class: "bsgoal-base-dialog" }, Na = { class: "base_dialog" }, ka =
2082
2082
  }
2083
2083
  },
2084
2084
  emits: ["update:modelValue", "on-confirm"],
2085
- setup(e, { emit: u }) {
2086
- const a = e, i = N(a.modelValue.value), r = () => {
2085
+ setup(e, { emit: s }) {
2086
+ const a = e, i = w(a.modelValue.value), r = () => {
2087
2087
  i.value = !1;
2088
- }, s = () => {
2089
- u("on-confirm", () => {
2088
+ }, u = () => {
2089
+ s("on-confirm", () => {
2090
2090
  i.value = !1;
2091
2091
  });
2092
2092
  };
@@ -2096,7 +2096,7 @@ const wa = { class: "bsgoal-base-dialog" }, Na = { class: "base_dialog" }, ka =
2096
2096
  i.value = d;
2097
2097
  }
2098
2098
  ), _e(i, (d) => {
2099
- u("update:modelValue", d);
2099
+ s("update:modelValue", d);
2100
2100
  });
2101
2101
  const t = K(() => {
2102
2102
  const { width: d, size: _ } = a;
@@ -2118,42 +2118,42 @@ const wa = { class: "bsgoal-base-dialog" }, Na = { class: "base_dialog" }, ka =
2118
2118
  }
2119
2119
  });
2120
2120
  return (d, _) => {
2121
- const V = g("el-button"), w = g("el-dialog");
2122
- return o(), E("div", wa, [
2123
- S("div", Na, [
2124
- B(w, {
2121
+ const $ = g("el-button"), N = g("el-dialog");
2122
+ return o(), p("div", Na, [
2123
+ D("div", wa, [
2124
+ B(N, {
2125
2125
  modelValue: i.value,
2126
- "onUpdate:modelValue": _[0] || (_[0] = (D) => i.value = D),
2126
+ "onUpdate:modelValue": _[0] || (_[0] = (S) => i.value = S),
2127
2127
  "custom-class": "bsgoal_base_dialog_main",
2128
2128
  class: me({ "bsgoal-dialog__footer--conceal": !e.footer }),
2129
2129
  width: t.value
2130
2130
  }, {
2131
- header: x(() => [
2132
- S("div", ka, j(e.title), 1)
2131
+ header: A(() => [
2132
+ D("div", ka, z(e.title), 1)
2133
2133
  ]),
2134
- footer: x(() => [
2134
+ footer: A(() => [
2135
2135
  e.footer ? J(d.$slots, "footer", { key: 0 }, () => [
2136
- S("span", Sa, [
2137
- B(V, { onClick: r }, {
2138
- default: x(() => [
2139
- H(j(e.cancelTxt), 1)
2136
+ D("span", Sa, [
2137
+ B($, { onClick: r }, {
2138
+ default: A(() => [
2139
+ H(z(e.cancelTxt), 1)
2140
2140
  ]),
2141
2141
  _: 1
2142
2142
  }),
2143
- B(V, {
2143
+ B($, {
2144
2144
  type: "primary",
2145
- onClick: s
2145
+ onClick: u
2146
2146
  }, {
2147
- default: x(() => [
2148
- H(j(e.confirmTxt), 1)
2147
+ default: A(() => [
2148
+ H(z(e.confirmTxt), 1)
2149
2149
  ]),
2150
2150
  _: 1
2151
2151
  })
2152
2152
  ])
2153
2153
  ]) : M("", !0)
2154
2154
  ]),
2155
- default: x(() => [
2156
- S("div", {
2155
+ default: A(() => [
2156
+ D("div", {
2157
2157
  class: me(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
2158
2158
  }, [
2159
2159
  J(d.$slots, "default")
@@ -2209,43 +2209,46 @@ const Ia = { class: "bsgoal-base-tabs" }, Fa = {
2209
2209
  }
2210
2210
  },
2211
2211
  emits: ["update:modelValue"],
2212
- setup(e, { emit: u }) {
2213
- const a = (i = "") => {
2214
- u("update:modelValue", i);
2212
+ setup(e, { emit: s }) {
2213
+ const a = e, i = () => {
2214
+ const { modelValue: u = "", configOptions: t = [] } = a, d = c(t).map(($) => $.value);
2215
+ return c(u) || d[0];
2216
+ }, r = (u = "") => {
2217
+ s("update:modelValue", u);
2215
2218
  };
2216
- return (i, r) => {
2217
- const s = g("el-tab-pane"), t = g("el-tabs");
2218
- return o(), E("div", Ia, [
2219
- B(t, {
2220
- stretch: e.stretch,
2219
+ return (u, t) => {
2220
+ const d = g("el-tab-pane"), _ = g("el-tabs");
2221
+ return o(), p("div", Ia, [
2222
+ B(_, {
2221
2223
  class: "bsgoal_base_tabs",
2224
+ stretch: e.stretch,
2222
2225
  type: e.type,
2223
- "model-value": e.modelValue,
2224
- onTabChange: a
2226
+ "model-value": i,
2227
+ onTabChange: r
2225
2228
  }, {
2226
- default: x(() => [
2227
- (o(!0), E(z, null, Z(e.configOptions, ({ label: d, value: _ }, V) => (o(), y(s, {
2228
- key: V,
2229
- label: d,
2230
- name: _
2229
+ default: A(() => [
2230
+ (o(!0), p(j, null, W(e.configOptions, ({ label: $, value: N }, S) => (o(), y(d, {
2231
+ key: S,
2232
+ label: $,
2233
+ name: N
2231
2234
  }, {
2232
- default: x(() => [
2233
- J(i.$slots, _, {}, () => [
2234
- H(j(d), 1)
2235
+ default: A(() => [
2236
+ J(u.$slots, N, {}, () => [
2237
+ H(z($), 1)
2235
2238
  ])
2236
2239
  ]),
2237
2240
  _: 2
2238
2241
  }, 1032, ["label", "name"]))), 128))
2239
2242
  ]),
2240
2243
  _: 3
2241
- }, 8, ["stretch", "type", "model-value"])
2244
+ }, 8, ["stretch", "type"])
2242
2245
  ]);
2243
2246
  };
2244
2247
  }
2245
2248
  });
2246
- const Ua = { class: "bsgoal-base-link" }, Pa = {
2249
+ const Ua = { class: "bsgoal-base-link" }, La = {
2247
2250
  name: "BsgoalBaseLink"
2248
- }, La = /* @__PURE__ */ Object.assign(Pa, {
2251
+ }, Pa = /* @__PURE__ */ Object.assign(La, {
2249
2252
  props: {
2250
2253
  /**
2251
2254
  * 内容
@@ -2270,23 +2273,23 @@ const Ua = { class: "bsgoal-base-link" }, Pa = {
2270
2273
  }
2271
2274
  },
2272
2275
  emits: ["on-click"],
2273
- setup(e, { emit: u }) {
2276
+ setup(e, { emit: s }) {
2274
2277
  const a = () => {
2275
- u("on-click");
2278
+ s("on-click");
2276
2279
  };
2277
2280
  return (i, r) => {
2278
- const s = g("el-link");
2279
- return o(), E("div", Ua, [
2280
- B(s, {
2281
+ const u = g("el-link");
2282
+ return o(), p("div", Ua, [
2283
+ B(u, {
2281
2284
  class: "bsgoal_base_link",
2282
2285
  type: "primary",
2283
2286
  underline: e.underline,
2284
- style: Pe(e.styler),
2287
+ style: Le(e.styler),
2285
2288
  onClick: a
2286
2289
  }, {
2287
- default: x(() => [
2290
+ default: A(() => [
2288
2291
  J(i.$slots, "default", {}, () => [
2289
- H(j(e.content), 1)
2292
+ H(z(e.content), 1)
2290
2293
  ], !0)
2291
2294
  ]),
2292
2295
  _: 3
@@ -2294,10 +2297,10 @@ const Ua = { class: "bsgoal-base-link" }, Pa = {
2294
2297
  ]);
2295
2298
  };
2296
2299
  }
2297
- }), za = /* @__PURE__ */ Me(La, [["__scopeId", "data-v-3b0290b0"]]);
2298
- const ja = { class: "bsgoal-base-button" }, Ya = {
2300
+ }), ja = /* @__PURE__ */ Be(Pa, [["__scopeId", "data-v-3b0290b0"]]);
2301
+ const za = { class: "bsgoal-base-button" }, Ga = {
2299
2302
  name: "BsgoalBaseButton"
2300
- }, Ga = /* @__PURE__ */ Object.assign(Ya, {
2303
+ }, Ya = /* @__PURE__ */ Object.assign(Ga, {
2301
2304
  props: {
2302
2305
  task: {
2303
2306
  type: [Object, Function],
@@ -2333,21 +2336,21 @@ const ja = { class: "bsgoal-base-button" }, Ya = {
2333
2336
  }
2334
2337
  },
2335
2338
  setup(e) {
2336
- const u = e, a = N(!1), i = () => {
2339
+ const s = e, a = w(!1), i = () => {
2337
2340
  a.value = !0;
2338
- const { task: t } = u;
2341
+ const { task: t } = s;
2339
2342
  c(t)(() => {
2340
2343
  a.value = !1;
2341
- }, u.values);
2344
+ }, s.values);
2342
2345
  }, r = K(() => {
2343
- const { mode: t = "", type: d = "" } = u;
2346
+ const { mode: t = "", type: d = "" } = s;
2344
2347
  switch (t) {
2345
2348
  case "delete":
2346
2349
  return "danger";
2347
2350
  }
2348
2351
  return d;
2349
- }), s = K(() => {
2350
- const { mode: t = "", icon: d = "" } = u;
2352
+ }), u = K(() => {
2353
+ const { mode: t = "", icon: d = "" } = s;
2351
2354
  switch (t) {
2352
2355
  case "delete":
2353
2356
  return we;
@@ -2358,20 +2361,20 @@ const ja = { class: "bsgoal-base-button" }, Ya = {
2358
2361
  });
2359
2362
  return (t, d) => {
2360
2363
  const _ = g("el-button");
2361
- return o(), E("div", ja, [
2362
- S("div", {
2364
+ return o(), p("div", za, [
2365
+ D("div", {
2363
2366
  class: "base_button",
2364
2367
  onClick: i
2365
2368
  }, [
2366
2369
  J(t.$slots, "default", { loading: a.value }, () => [
2367
2370
  B(_, {
2368
2371
  type: r.value,
2369
- icon: s.value,
2372
+ icon: u.value,
2370
2373
  loading: a.value,
2371
2374
  plain: e.plain
2372
2375
  }, {
2373
- default: x(() => [
2374
- H(j(e.content), 1)
2376
+ default: A(() => [
2377
+ H(z(e.content), 1)
2375
2378
  ]),
2376
2379
  _: 1
2377
2380
  }, 8, ["type", "icon", "loading", "plain"])
@@ -2380,28 +2383,78 @@ const ja = { class: "bsgoal-base-button" }, Ya = {
2380
2383
  ]);
2381
2384
  };
2382
2385
  }
2383
- }), Qa = l, Za = ye, Ka = {
2384
- install(e, u = {}) {
2385
- const { exclude: a = [] } = u, i = {
2386
+ });
2387
+ const Ha = { class: "bsgoal-base-layout" }, Wa = {
2388
+ name: "BsgoalBaseLayout"
2389
+ }, Xa = /* @__PURE__ */ Object.assign(Wa, {
2390
+ props: {
2391
+ /**
2392
+ * 间隔
2393
+ */
2394
+ gutter: {
2395
+ type: [Number],
2396
+ default: 0
2397
+ },
2398
+ /**
2399
+ * 划分的比例
2400
+ */
2401
+ ratio: {
2402
+ type: [Number],
2403
+ default: 12
2404
+ }
2405
+ },
2406
+ setup(e) {
2407
+ const s = Ce(), a = w(Object.keys(s));
2408
+ return (i, r) => {
2409
+ const u = g("el-col"), t = g("el-row");
2410
+ return o(), p("div", Ha, [
2411
+ B(t, {
2412
+ class: "base_layout",
2413
+ gutter: e.gutter
2414
+ }, {
2415
+ default: A(() => [
2416
+ (o(!0), p(j, null, W(a.value, (d, _) => (o(), y(u, {
2417
+ key: _,
2418
+ xs: 24,
2419
+ sm: 24,
2420
+ md: e.ratio,
2421
+ lg: e.ratio,
2422
+ xl: e.ratio
2423
+ }, {
2424
+ default: A(() => [
2425
+ J(i.$slots, d)
2426
+ ]),
2427
+ _: 2
2428
+ }, 1032, ["md", "lg", "xl"]))), 128))
2429
+ ]),
2430
+ _: 3
2431
+ }, 8, ["gutter"])
2432
+ ]);
2433
+ };
2434
+ }
2435
+ }), Ja = l, qa = ye, el = {
2436
+ install(e, s = {}) {
2437
+ const { exclude: a = [] } = s, i = {
2386
2438
  BsgoalBaseForm: Xe,
2387
- BsgoalBaseTable: Be,
2439
+ BsgoalBaseTable: Ne,
2388
2440
  BsgoalBaseLine: Ae,
2389
2441
  BsgoalBaseSearchTable: ya,
2390
2442
  BsgoalBaseTree: Ba,
2391
2443
  BsgoalBaseDialog: Oa,
2392
2444
  BsgoalBaseTabs: Ra,
2393
- BsgoalBaseLink: za,
2394
- BsgoalBaseButton: Ga
2445
+ BsgoalBaseLink: ja,
2446
+ BsgoalBaseButton: Ya,
2447
+ BsgoalBaseLayout: Xa
2395
2448
  };
2396
- for (const [r, s] of Object.entries(i))
2397
- a.includes(r) || e.component(r, s);
2449
+ for (const [r, u] of Object.entries(i))
2450
+ a.includes(r) || e.component(r, u);
2398
2451
  },
2399
2452
  enumType: l,
2400
2453
  useFetch: ye
2401
2454
  };
2402
2455
  export {
2403
- Qa as EnumType,
2404
- Ka as default,
2405
- Za as useFetchApi
2456
+ Ja as EnumType,
2457
+ el as default,
2458
+ qa as useFetchApi
2406
2459
  };
2407
2460
  //# sourceMappingURL=index.mjs.map