@bsgoal/common 1.5.11 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,17 +1,17 @@
1
- var $e = Object.defineProperty;
1
+ var Be = Object.defineProperty;
2
2
  var Te = Object.getOwnPropertySymbols;
3
- var Ne = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
4
- var Ae = (e, s, l) => s in e ? $e(e, s, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[s] = l, Ve = (e, s) => {
3
+ var we = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
4
+ var Ae = (e, s, l) => s in e ? Be(e, s, { enumerable: !0, configurable: !0, writable: !0, value: l }) : e[s] = l, xe = (e, s) => {
5
5
  for (var l in s || (s = {}))
6
- Ne.call(s, l) && Ae(e, l, s[l]);
6
+ we.call(s, l) && Ae(e, l, s[l]);
7
7
  if (Te)
8
8
  for (var l of Te(s))
9
- we.call(s, l) && Ae(e, l, s[l]);
9
+ De.call(s, l) && Ae(e, l, s[l]);
10
10
  return e;
11
11
  };
12
- import { computed as q, resolveComponent as h, openBlock as n, createElementBlock as A, createVNode as $, unref as u, withCtx as V, renderSlot as ae, createTextVNode as X, toDisplayString as H, ref as O, watchEffect as pe, createElementVNode as S, withDirectives as Q, createBlock as T, Fragment as z, renderList as W, createCommentVNode as M, nextTick as Ce, inject as Me, watch as ce, resolveDirective as De, normalizeClass as re, vShow as le, isProxy as Be, toRaw as Oe, provide as Se, useSlots as ke, createSlots as Ie } from "vue";
13
- import { ElMessage as Fe } from "element-plus";
14
- const t = {
12
+ import { computed as J, resolveComponent as f, openBlock as n, createElementBlock as y, createVNode as $, unref as u, withCtx as x, renderSlot as q, createTextVNode as W, toDisplayString as j, ref as k, watchEffect as pe, createElementVNode as O, withDirectives as Q, createBlock as b, Fragment as z, renderList as X, createCommentVNode as V, nextTick as Ce, inject as Ve, watch as ie, resolveDirective as ke, normalizeClass as de, vShow as le, isProxy as Oe, toRaw as Se, provide as Ie, useSlots as Fe, createSlots as Re, normalizeStyle as Ue } from "vue";
13
+ import { ElMessage as Le } from "element-plus";
14
+ const a = {
15
15
  INPUT: "text",
16
16
  INPUT_NUMBER: "number",
17
17
  INPUT_TEXT_AREA: "textarea",
@@ -35,21 +35,21 @@ const t = {
35
35
  };
36
36
  let ve = null;
37
37
  const he = (e) => {
38
- const s = [], l = [], r = (a = []) => {
39
- const c = a.map((p) => p.width), d = Math.max(...c);
40
- a.forEach((p) => {
38
+ const s = [], l = [], r = (t = []) => {
39
+ const c = t.map((p) => p.width), d = Math.max(...c);
40
+ t.forEach((p) => {
41
41
  const { labelEl: N } = p;
42
42
  N.style.width = `${d}px`;
43
43
  });
44
44
  }, i = () => {
45
45
  if (e) {
46
- const a = e.querySelectorAll(".el-form-item__label");
47
- if (a && a.length) {
46
+ const t = e.querySelectorAll(".el-form-item__label");
47
+ if (t && t.length) {
48
48
  let c = 0;
49
- a.forEach((d, p) => {
49
+ t.forEach((d, p) => {
50
50
  d.style.width = "initial", d.style.whiteSpace = "nowrap";
51
- const { x: N = 0, width: x = 0 } = d.getBoundingClientRect(), w = { x: N, width: x, labelEl: d };
52
- p === 0 && (c = N), N === c ? s.push(w) : l.push(w);
51
+ const { x: N = 0, width: M = 0 } = d.getBoundingClientRect(), B = { x: N, width: M, labelEl: d };
52
+ p === 0 && (c = N), N === c ? s.push(B) : l.push(B);
53
53
  });
54
54
  }
55
55
  }
@@ -84,9 +84,9 @@ const he = (e) => {
84
84
  }
85
85
  }
86
86
  };
87
- const Re = { class: "bsgoal-base-tooltip" }, Ue = {
87
+ const ze = { class: "bsgoal-base-tooltip" }, je = {
88
88
  name: "BsgoalBaseTooltip"
89
- }, Le = /* @__PURE__ */ Object.assign(Ue, {
89
+ }, Me = /* @__PURE__ */ Object.assign(je, {
90
90
  props: {
91
91
  /**
92
92
  * 文字提示内容
@@ -126,18 +126,18 @@ const Re = { class: "bsgoal-base-tooltip" }, Ue = {
126
126
  }
127
127
  },
128
128
  setup(e) {
129
- const s = e, l = q(() => {
130
- const { content: i = "", limit: a = 0, none: c = "" } = s;
129
+ const s = e, l = J(() => {
130
+ const { content: i = "", limit: t = 0, none: c = "" } = s;
131
131
  let d = i;
132
132
  const p = i.length;
133
- return a && p > a && (d = `${i.substring(0, a)}...`), d || c;
134
- }), r = q(() => {
135
- const { content: i = "", limit: a = 0 } = s;
136
- return i.length < a || !a;
133
+ return t && p > t && (d = `${i.substring(0, t)}...`), d || c;
134
+ }), r = J(() => {
135
+ const { content: i = "", limit: t = 0 } = s;
136
+ return i.length < t || !t;
137
137
  });
138
- return (i, a) => {
139
- const c = h("el-tooltip");
140
- return n(), A("div", Re, [
138
+ return (i, t) => {
139
+ const c = f("el-tooltip");
140
+ return n(), y("div", ze, [
141
141
  $(c, {
142
142
  class: "base_tooltip",
143
143
  effect: "dark",
@@ -146,9 +146,9 @@ const Re = { class: "bsgoal-base-tooltip" }, Ue = {
146
146
  content: e.content,
147
147
  disabled: u(r)
148
148
  }, {
149
- default: V(() => [
150
- ae(i.$slots, "default", {}, () => [
151
- X(H(u(l)), 1)
149
+ default: x(() => [
150
+ q(i.$slots, "default", {}, () => [
151
+ W(j(u(l)), 1)
152
152
  ])
153
153
  ]),
154
154
  _: 3
@@ -157,9 +157,9 @@ const Re = { class: "bsgoal-base-tooltip" }, Ue = {
157
157
  };
158
158
  }
159
159
  });
160
- const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { key: 1 }, Ye = {
160
+ const Pe = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { key: 1 }, He = {
161
161
  name: "BsgoalBaseForm"
162
- }, Ge = /* @__PURE__ */ Object.assign(Ye, {
162
+ }, We = /* @__PURE__ */ Object.assign(He, {
163
163
  props: {
164
164
  /**
165
165
  * >----------props----------<
@@ -222,295 +222,295 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
222
222
  },
223
223
  emits: ["on-form", "on-clear", "on-change", "on-fold"],
224
224
  setup(e, { expose: s, emit: l }) {
225
- const r = e, i = O(null), a = Ee.align, c = O({});
225
+ const r = e, i = k(null), t = Ee.align, c = k({});
226
226
  pe(() => {
227
- const { configOptions: E, values: b } = r, C = u(E), f = u(b);
228
- C.forEach((y) => {
229
- const { value: B = "", prop: k = "", type: F = "" } = y;
230
- [t.INPUT, t.INPUT_TEXT_AREA].includes(F), c.value[k] = f[k] || B;
227
+ const { configOptions: E, values: T } = r, C = u(E), v = u(T);
228
+ C.forEach((A) => {
229
+ const { value: D = "", prop: S = "", type: F = "" } = A;
230
+ [a.INPUT, a.INPUT_TEXT_AREA].includes(F), c.value[S] = v[S] || D;
231
231
  });
232
232
  });
233
- const d = q(() => {
233
+ const d = J(() => {
234
234
  const { configOptions: E } = r;
235
- return u(E).map((f) => {
236
- let { rules: y = !1, label: B = "" } = f;
237
- const k = { required: !0, message: `${B}不能为空`, trigger: "blur" };
238
- return y && (typeof y == "boolean" ? y = [k] : Array.isArray(y) ? y = [k, ...y] : y = [k, y]), f.rules = y, f;
235
+ return u(E).map((v) => {
236
+ let { rules: A = !1, label: D = "" } = v;
237
+ const S = { required: !0, message: `${D}不能为空`, trigger: "blur" };
238
+ return A && (typeof A == "boolean" ? A = [S] : Array.isArray(A) ? A = [S, ...A] : A = [S, A]), v.rules = A, v;
239
239
  });
240
- }), p = (E = "", b = "", C = "") => {
240
+ }), p = (E = "", T = "", C = "") => {
241
241
  if (!C)
242
242
  switch (E) {
243
- case t.INPUT:
244
- case t.INPUT_TEXT_AREA:
245
- return `请输入${b}`;
246
- case t.SELECT:
247
- case t.DATE:
248
- case t.WEEK:
249
- case t.MONTH:
250
- case t.YEAR:
251
- case t.DATE_TIME:
252
- case t.TIME:
253
- return `请选择${b}`;
254
- case t.DATE_RANGE:
255
- case t.DATE_TIME_RANGE:
243
+ case a.INPUT:
244
+ case a.INPUT_TEXT_AREA:
245
+ return `请输入${T}`;
246
+ case a.SELECT:
247
+ case a.DATE:
248
+ case a.WEEK:
249
+ case a.MONTH:
250
+ case a.YEAR:
251
+ case a.DATE_TIME:
252
+ case a.TIME:
253
+ return `请选择${T}`;
254
+ case a.DATE_RANGE:
255
+ case a.DATE_TIME_RANGE:
256
256
  return ["开始日期", "结束日期"];
257
- case t.TIME_RANGE:
257
+ case a.TIME_RANGE:
258
258
  return ["开始时间", "结束时间"];
259
- case t.MONTH_RANGE:
259
+ case a.MONTH_RANGE:
260
260
  return ["开始月份", "结束月份"];
261
261
  }
262
262
  return C;
263
- }, N = (E = "", b = "") => {
264
- if (!b)
263
+ }, N = (E = "", T = "") => {
264
+ if (!T)
265
265
  switch (E) {
266
- case t.WEEK:
266
+ case a.WEEK:
267
267
  return "ww";
268
- case t.DATE:
269
- case t.DATE_RANGE:
268
+ case a.DATE:
269
+ case a.DATE_RANGE:
270
270
  return "YYYY-MM-DD";
271
- case t.MONTH:
271
+ case a.MONTH:
272
272
  return "MM";
273
- case t.YEAR:
273
+ case a.YEAR:
274
274
  return "YYYY";
275
- case t.MONTH_RANGE:
275
+ case a.MONTH_RANGE:
276
276
  return "YYYY-MM";
277
- case t.TIME:
278
- case t.TIME_RANGE:
277
+ case a.TIME:
278
+ case a.TIME_RANGE:
279
279
  return "HH:mm:ss";
280
- case t.DATE_TIME:
281
- case t.DATE_TIME_RANGE:
280
+ case a.DATE_TIME:
281
+ case a.DATE_TIME_RANGE:
282
282
  return "YYYY-MM-DD HH:mm:ss";
283
283
  }
284
- return b;
285
- }, x = () => {
286
- const E = u(c), { configOptions: b } = r, C = u(b);
287
- for (const f of C) {
288
- const { type: y = "", range: B = [], prop: k = "" } = f;
289
- if (y.endsWith("range") && B && B.length === 2) {
290
- const { 0: F = "", 1: R = "" } = E[k], { 0: L = "", 1: I = "" } = B;
284
+ return T;
285
+ }, M = () => {
286
+ const E = u(c), { configOptions: T } = r, C = u(T);
287
+ for (const v of C) {
288
+ const { type: A = "", range: D = [], prop: S = "" } = v;
289
+ if (A.endsWith("range") && D && D.length === 2) {
290
+ const { 0: F = "", 1: R = "" } = E[S], { 0: L = "", 1: I = "" } = D;
291
291
  E[L] = F, E[I] = R;
292
292
  }
293
293
  }
294
294
  return l("on-form", E), E;
295
- }, w = () => {
295
+ }, B = () => {
296
296
  i.value.resetFields(), l("on-clear", c.value);
297
- }, D = (E, b) => {
297
+ }, w = (E, T) => {
298
298
  const C = {
299
299
  type: E,
300
- prop: b,
301
- value: c.value[b] || ""
300
+ prop: T,
301
+ value: c.value[T] || ""
302
302
  };
303
303
  l("on-change", C);
304
304
  };
305
305
  return s({
306
- triggerOperationClear: w,
307
- triggerOperationForm: x,
306
+ triggerOperationClear: B,
307
+ triggerOperationForm: M,
308
308
  validateForm: (E = () => {
309
309
  }) => {
310
- i.value.validate((b = !1, C = {}) => {
311
- if (b) {
312
- const f = x();
313
- E(f);
310
+ i.value.validate((T = !1, C = {}) => {
311
+ if (T) {
312
+ const v = M();
313
+ E(v);
314
314
  } else {
315
315
  E(!1);
316
- const f = Object.keys(C)[0], {
317
- [f]: {
318
- 0: { message: y = "" }
316
+ const v = Object.keys(C)[0], {
317
+ [v]: {
318
+ 0: { message: A = "" }
319
319
  }
320
320
  } = C;
321
- Fe.error(y);
321
+ Le.error(A);
322
322
  }
323
323
  });
324
324
  }
325
- }), (E, b) => {
326
- const C = h("el-input"), f = h("el-input-number"), y = h("el-radio"), B = h("el-radio-group"), k = h("el-option"), F = h("el-select"), R = h("el-slider"), L = h("el-switch"), I = h("el-date-picker"), j = h("el-time-picker"), Z = h("el-checkbox"), ee = h("el-checkbox-group"), K = h("el-form-item"), me = h("el-col"), ge = h("el-row"), fe = h("el-form");
327
- return n(), A("div", ze, [
328
- S("div", je, [
329
- Q((n(), T(fe, {
325
+ }), (E, T) => {
326
+ const C = f("el-input"), v = f("el-input-number"), A = f("el-radio"), D = f("el-radio-group"), S = f("el-option"), F = f("el-select"), R = f("el-slider"), L = f("el-switch"), I = f("el-date-picker"), P = f("el-time-picker"), Z = f("el-checkbox"), ee = f("el-checkbox-group"), te = f("el-form-item"), se = f("el-col"), ne = f("el-row"), fe = f("el-form");
327
+ return n(), y("div", Pe, [
328
+ O("div", Ye, [
329
+ Q((n(), b(fe, {
330
330
  ref_key: "EL_FORM_REF",
331
331
  ref: i,
332
332
  "label-suffix": ":",
333
333
  model: c.value
334
334
  }, {
335
- default: V(() => [
336
- $(ge, null, {
337
- default: V(() => [
338
- (n(!0), A(z, null, W(u(d), ({
339
- label: P = "",
340
- prop: v = "",
335
+ default: x(() => [
336
+ $(ne, null, {
337
+ default: x(() => [
338
+ (n(!0), y(z, null, X(u(d), ({
339
+ label: Y = "",
340
+ prop: h = "",
341
341
  type: o = "text",
342
342
  placeholder: _ = "",
343
- readonly: Y = e.readonlys,
344
- clearable: ie = !0,
345
- rows: de = 2,
346
- min: _e = 1,
347
- max: ue = 10,
348
- range: J = [],
349
- format: G = "",
350
- rules: te = [],
351
- limit: ne = e.limits
352
- } = {}, g) => (n(), T(me, {
343
+ readonly: G = e.readonlys,
344
+ clearable: _e = !0,
345
+ rows: me = 2,
346
+ min: ge = 1,
347
+ max: ce = 10,
348
+ range: K = [],
349
+ format: H = "",
350
+ rules: ae = [],
351
+ limit: oe = e.limits
352
+ } = {}, g) => (n(), b(se, {
353
353
  key: g,
354
354
  xs: 24,
355
355
  sm: 24,
356
356
  md: e.medium
357
357
  }, {
358
- default: V(() => [
359
- $(K, {
360
- label: P,
361
- prop: v,
362
- rules: te
358
+ default: x(() => [
359
+ $(te, {
360
+ label: Y,
361
+ prop: h,
362
+ rules: ae
363
363
  }, {
364
- default: V(() => [
365
- Y ? (n(), A("div", Pe, [
366
- $(Le, {
367
- content: c.value[v],
368
- limit: ne,
364
+ default: x(() => [
365
+ G ? (n(), y("div", Ge, [
366
+ $(Me, {
367
+ content: c.value[h],
368
+ limit: oe,
369
369
  none: e.none
370
370
  }, null, 8, ["content", "limit", "none"])
371
- ])) : (n(), A(z, { key: 0 }, [
372
- o === u(t).INPUT ? (n(), T(C, {
371
+ ])) : (n(), y(z, { key: 0 }, [
372
+ o === u(a).INPUT ? (n(), b(C, {
373
373
  key: 0,
374
- modelValue: c.value[v],
375
- "onUpdate:modelValue": (m) => c.value[v] = m,
376
- placeholder: p(o, P, _),
377
- clearable: ie,
378
- onChange: (m) => D(o, v)
379
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : M("", !0),
380
- o === u(t).INPUT_TEXT_AREA ? (n(), T(C, {
374
+ modelValue: c.value[h],
375
+ "onUpdate:modelValue": (m) => c.value[h] = m,
376
+ placeholder: p(o, Y, _),
377
+ clearable: _e,
378
+ onChange: (m) => w(o, h)
379
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : V("", !0),
380
+ o === u(a).INPUT_TEXT_AREA ? (n(), b(C, {
381
381
  key: 1,
382
- modelValue: c.value[v],
383
- "onUpdate:modelValue": (m) => c.value[v] = m,
382
+ modelValue: c.value[h],
383
+ "onUpdate:modelValue": (m) => c.value[h] = m,
384
384
  type: "textarea",
385
- rows: de,
386
- clearable: ie,
387
- placeholder: p(o, P, _),
388
- onChange: (m) => D(o, v)
389
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : M("", !0),
390
- o === u(t).INPUT_NUMBER ? (n(), T(f, {
385
+ rows: me,
386
+ clearable: _e,
387
+ placeholder: p(o, Y, _),
388
+ onChange: (m) => w(o, h)
389
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : V("", !0),
390
+ o === u(a).INPUT_NUMBER ? (n(), b(v, {
391
391
  key: 2,
392
392
  modelValue: E.num,
393
- "onUpdate:modelValue": b[0] || (b[0] = (m) => E.num = m),
394
- min: _e,
395
- max: ue,
396
- onChange: D
397
- }, null, 8, ["modelValue", "min", "max"])) : M("", !0),
398
- o === u(t).RADIO ? (n(), T(B, {
393
+ "onUpdate:modelValue": T[0] || (T[0] = (m) => E.num = m),
394
+ min: ge,
395
+ max: ce,
396
+ onChange: w
397
+ }, null, 8, ["modelValue", "min", "max"])) : V("", !0),
398
+ o === u(a).RADIO ? (n(), b(D, {
399
399
  key: 3,
400
- modelValue: c.value[v],
401
- "onUpdate:modelValue": (m) => c.value[v] = m,
402
- onChange: (m) => D(o, v)
400
+ modelValue: c.value[h],
401
+ "onUpdate:modelValue": (m) => c.value[h] = m,
402
+ onChange: (m) => w(o, h)
403
403
  }, {
404
- default: V(() => [
405
- (n(!0), A(z, null, W(J, (m, se) => (n(), T(y, {
406
- key: se,
404
+ default: x(() => [
405
+ (n(!0), y(z, null, X(K, (m, re) => (n(), b(A, {
406
+ key: re,
407
407
  label: m.value
408
408
  }, {
409
- default: V(() => [
410
- X(H(m.label), 1)
409
+ default: x(() => [
410
+ W(j(m.label), 1)
411
411
  ]),
412
412
  _: 2
413
413
  }, 1032, ["label"]))), 128))
414
414
  ]),
415
415
  _: 2
416
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : M("", !0),
417
- o === u(t).SELECT ? (n(), T(F, {
416
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
417
+ o === u(a).SELECT ? (n(), b(F, {
418
418
  key: 4,
419
- modelValue: c.value[v],
420
- "onUpdate:modelValue": (m) => c.value[v] = m,
421
- placeholder: p(o, P, _),
422
- onChange: (m) => D(o, v)
419
+ modelValue: c.value[h],
420
+ "onUpdate:modelValue": (m) => c.value[h] = m,
421
+ placeholder: p(o, Y, _),
422
+ onChange: (m) => w(o, h)
423
423
  }, {
424
- default: V(() => [
425
- (n(!0), A(z, null, W(J, (m, se) => (n(), T(k, {
426
- key: se,
424
+ default: x(() => [
425
+ (n(!0), y(z, null, X(K, (m, re) => (n(), b(S, {
426
+ key: re,
427
427
  label: m.label,
428
428
  value: m.value
429
429
  }, null, 8, ["label", "value"]))), 128))
430
430
  ]),
431
431
  _: 2
432
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : M("", !0),
433
- o === u(t).SLIDER ? (n(), T(R, {
432
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : V("", !0),
433
+ o === u(a).SLIDER ? (n(), b(R, {
434
434
  key: 5,
435
- modelValue: c.value[v],
436
- "onUpdate:modelValue": (m) => c.value[v] = m,
437
- min: _e,
438
- max: ue,
439
- onChange: (m) => D(o, v)
440
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : M("", !0),
441
- o === u(t).SWITCH ? (n(), T(L, {
435
+ modelValue: c.value[h],
436
+ "onUpdate:modelValue": (m) => c.value[h] = m,
437
+ min: ge,
438
+ max: ce,
439
+ onChange: (m) => w(o, h)
440
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : V("", !0),
441
+ o === u(a).SWITCH ? (n(), b(L, {
442
442
  key: 6,
443
- modelValue: c.value[v],
444
- "onUpdate:modelValue": (m) => c.value[v] = m,
445
- "active-value": J[0] || !0,
446
- "inactive-value": J[1] || !1,
447
- onChange: (m) => D(o, v)
448
- }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : M("", !0),
449
- [u(t).DATE, u(t).MONTH, u(t).YEAR, u(t).DATE_TIME].includes(
443
+ modelValue: c.value[h],
444
+ "onUpdate:modelValue": (m) => c.value[h] = m,
445
+ "active-value": K[0] || !0,
446
+ "inactive-value": K[1] || !1,
447
+ onChange: (m) => w(o, h)
448
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : V("", !0),
449
+ [u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
450
450
  o
451
- ) ? (n(), T(I, {
451
+ ) ? (n(), b(I, {
452
452
  key: 7,
453
- modelValue: c.value[v],
454
- "onUpdate:modelValue": (m) => c.value[v] = m,
455
- format: N(o, G),
456
- "value-format": N(o, G),
453
+ modelValue: c.value[h],
454
+ "onUpdate:modelValue": (m) => c.value[h] = m,
455
+ format: N(o, H),
456
+ "value-format": N(o, H),
457
457
  type: o,
458
- placeholder: p(o, P, _),
459
- onChange: (m) => D(o, v)
460
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : M("", !0),
458
+ placeholder: p(o, Y, _),
459
+ onChange: (m) => w(o, h)
460
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : V("", !0),
461
461
  [
462
- u(t).DATE_RANGE,
463
- u(t).MONTH_RANGE,
464
- u(t).DATE_TIME_RANGE
465
- ].includes(o) ? (n(), T(I, {
462
+ u(a).DATE_RANGE,
463
+ u(a).MONTH_RANGE,
464
+ u(a).DATE_TIME_RANGE
465
+ ].includes(o) ? (n(), b(I, {
466
466
  key: 8,
467
- modelValue: c.value[v],
468
- "onUpdate:modelValue": (m) => c.value[v] = m,
467
+ modelValue: c.value[h],
468
+ "onUpdate:modelValue": (m) => c.value[h] = m,
469
469
  type: o,
470
- "value-format": N(o, G),
471
- "start-placeholder": p(o, P, _)[0],
472
- "end-placeholder": p(o, P, _)[1],
473
- onChange: (m) => D(o, v)
474
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
475
- [u(t).TIME].includes(o) ? (n(), T(j, {
470
+ "value-format": N(o, H),
471
+ "start-placeholder": p(o, Y, _)[0],
472
+ "end-placeholder": p(o, Y, _)[1],
473
+ onChange: (m) => w(o, h)
474
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
475
+ [u(a).TIME].includes(o) ? (n(), b(P, {
476
476
  key: 9,
477
- modelValue: c.value[v],
478
- "onUpdate:modelValue": (m) => c.value[v] = m,
477
+ modelValue: c.value[h],
478
+ "onUpdate:modelValue": (m) => c.value[h] = m,
479
479
  "arrow-control": "",
480
- "value-format": N(o, G),
481
- placeholder: p(o, P, _),
482
- onChange: (m) => D(o, v)
483
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : M("", !0),
484
- [u(t).TIME_RANGE].includes(o) ? (n(), T(j, {
480
+ "value-format": N(o, H),
481
+ placeholder: p(o, Y, _),
482
+ onChange: (m) => w(o, h)
483
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : V("", !0),
484
+ [u(a).TIME_RANGE].includes(o) ? (n(), b(P, {
485
485
  key: 10,
486
- modelValue: c.value[v],
487
- "onUpdate:modelValue": (m) => c.value[v] = m,
486
+ modelValue: c.value[h],
487
+ "onUpdate:modelValue": (m) => c.value[h] = m,
488
488
  "is-range": "",
489
- "value-format": N(o, G),
490
- "start-placeholder": p(o, P, _)[0],
491
- "end-placeholder": p(o, P, _)[1],
492
- onChange: (m) => D(o, v)
493
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
494
- [u(t).CHECKBOX].includes(o) ? (n(), T(ee, {
489
+ "value-format": N(o, H),
490
+ "start-placeholder": p(o, Y, _)[0],
491
+ "end-placeholder": p(o, Y, _)[1],
492
+ onChange: (m) => w(o, h)
493
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
494
+ [u(a).CHECKBOX].includes(o) ? (n(), b(ee, {
495
495
  key: 11,
496
- modelValue: c.value[v],
497
- "onUpdate:modelValue": (m) => c.value[v] = m,
498
- onChange: (m) => D(o, v)
496
+ modelValue: c.value[h],
497
+ "onUpdate:modelValue": (m) => c.value[h] = m,
498
+ onChange: (m) => w(o, h)
499
499
  }, {
500
- default: V(() => [
501
- (n(!0), A(z, null, W(J, (m, se) => (n(), T(Z, {
502
- key: se,
500
+ default: x(() => [
501
+ (n(!0), y(z, null, X(K, (m, re) => (n(), b(Z, {
502
+ key: re,
503
503
  label: m.value
504
504
  }, {
505
- default: V(() => [
506
- X(H(m.label), 1)
505
+ default: x(() => [
506
+ W(j(m.label), 1)
507
507
  ]),
508
508
  _: 2
509
509
  }, 1032, ["label"]))), 128))
510
510
  ]),
511
511
  _: 2
512
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : M("", !0),
513
- [].includes(o) ? (n(), A(z, { key: 12 }, [], 64)) : M("", !0)
512
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
513
+ [].includes(o) ? (n(), y(z, { key: 12 }, [], 64)) : V("", !0)
514
514
  ], 64))
515
515
  ]),
516
516
  _: 2
@@ -524,30 +524,56 @@ const ze = { class: "bsgoal-base-form" }, je = { class: "base_form" }, Pe = { ke
524
524
  ]),
525
525
  _: 1
526
526
  }, 8, ["model"])), [
527
- [u(a)]
527
+ [u(t)]
528
528
  ])
529
529
  ])
530
530
  ]);
531
531
  };
532
532
  }
533
533
  });
534
- const He = { class: "bsgoal-base-table-content" }, We = { class: "bas_tabl_content" }, Xe = {
534
+ const Xe = { class: "bsgoal-base-table-content" }, Qe = { class: "base_table_content" }, Ze = {
535
+ key: 1,
536
+ class: "base_table_table_txt"
537
+ }, Ke = {
535
538
  name: "BsgoalBaseTableContent"
536
- }, Qe = /* @__PURE__ */ Object.assign(Xe, {
539
+ }, Je = /* @__PURE__ */ Object.assign(Ke, {
537
540
  props: {
541
+ /**
542
+ * 数据
543
+ */
538
544
  data: {
539
- type: [String, Number, Object, Number, Boolean],
545
+ type: [String, Number, Object, Boolean],
540
546
  default: ""
547
+ },
548
+ /**
549
+ * 内容提示
550
+ */
551
+ tooltip: {
552
+ type: [Boolean, Number],
553
+ default: !1
554
+ },
555
+ /**
556
+ * 内容限定数
557
+ */
558
+ limit: {
559
+ type: [Number],
560
+ default: 10
541
561
  }
542
562
  },
543
563
  setup(e) {
544
- return (s, l) => (n(), A("div", He, [
545
- S("div", We, H(e.data), 1)
564
+ return (s, l) => (n(), y("div", Xe, [
565
+ O("div", Qe, [
566
+ e.tooltip ? (n(), b(Me, {
567
+ key: 0,
568
+ content: e.data,
569
+ limit: e.limit
570
+ }, null, 8, ["content", "limit"])) : (n(), y("div", Ze, j(e.data), 1))
571
+ ])
546
572
  ]));
547
573
  }
548
574
  });
549
575
  /*! Element Plus v2.3.3 */
550
- var Ze = {
576
+ var qe = {
551
577
  name: "zh-cn",
552
578
  el: {
553
579
  colorpicker: {
@@ -674,9 +700,9 @@ var Ze = {
674
700
  }
675
701
  }
676
702
  };
677
- const Ke = { class: "bsgoal-base-table-pagination" }, Je = { class: "base_table_pagination" }, qe = /* @__PURE__ */ S("span", null, "总数", -1), et = {
703
+ const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_pagination" }, at = /* @__PURE__ */ O("span", null, "总数", -1), lt = {
678
704
  name: "BsgoalBaseTablePagination"
679
- }, tt = /* @__PURE__ */ Object.assign(et, {
705
+ }, nt = /* @__PURE__ */ Object.assign(lt, {
680
706
  props: {
681
707
  /**
682
708
  * 当前页数
@@ -709,17 +735,17 @@ const Ke = { class: "bsgoal-base-table-pagination" }, Je = { class: "base_table_
709
735
  },
710
736
  emits: ["on-size-change", "on-current-change"],
711
737
  setup(e, { emit: s }) {
712
- const l = (a = 0) => {
713
- s("on-size-change", a);
714
- }, r = (a = 1) => {
715
- s("on-current-change", a);
716
- }, i = O(1);
717
- return (a, c) => {
718
- const d = h("el-pagination"), p = h("el-config-provider");
719
- return n(), A("div", Ke, [
720
- S("div", Je, [
721
- $(p, { locale: u(Ze) }, {
722
- default: V(() => [
738
+ const l = (t = 0) => {
739
+ s("on-size-change", t);
740
+ }, r = (t = 1) => {
741
+ s("on-current-change", t);
742
+ }, i = k(1);
743
+ return (t, c) => {
744
+ const d = f("el-pagination"), p = f("el-config-provider");
745
+ return n(), y("div", et, [
746
+ O("div", tt, [
747
+ $(p, { locale: u(qe) }, {
748
+ default: x(() => [
723
749
  $(d, {
724
750
  background: "",
725
751
  layout: "total, sizes, prev, pager, next, jumper",
@@ -731,8 +757,8 @@ const Ke = { class: "bsgoal-base-table-pagination" }, Je = { class: "base_table_
731
757
  onSizeChange: l,
732
758
  onCurrentChange: r
733
759
  }, {
734
- next: V(() => [
735
- qe
760
+ next: x(() => [
761
+ at
736
762
  ]),
737
763
  _: 1
738
764
  }, 8, ["current-page", "page-sizes", "page-size", "total"])
@@ -744,54 +770,54 @@ const Ke = { class: "bsgoal-base-table-pagination" }, Je = { class: "base_table_
744
770
  };
745
771
  }
746
772
  });
747
- const at = (e, s) => {
773
+ const $e = (e, s) => {
748
774
  const l = e.__vccOpts || e;
749
775
  for (const [r, i] of s)
750
776
  l[r] = i;
751
777
  return l;
752
- }, lt = {
778
+ }, ot = {
753
779
  name: "BsgoalBaseTableEmpty"
754
- }, nt = { class: "bsgoal-base-table-empty" }, ot = /* @__PURE__ */ S("div", { class: "base_table_empty" }, [
755
- /* @__PURE__ */ S("div", { class: "base_table_empty_img" }, [
756
- /* @__PURE__ */ S("img", {
780
+ }, ut = { class: "bsgoal-base-table-empty" }, st = /* @__PURE__ */ O("div", { class: "base_table_empty" }, [
781
+ /* @__PURE__ */ O("div", { class: "base_table_empty_img" }, [
782
+ /* @__PURE__ */ O("img", {
757
783
  src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
758
784
  alt: ""
759
785
  })
760
786
  ]),
761
- /* @__PURE__ */ S("div", { class: "base_table_empty_text" }, "暂无数据")
762
- ], -1), ut = [
763
- ot
787
+ /* @__PURE__ */ O("div", { class: "base_table_empty_text" }, "暂无数据")
788
+ ], -1), ct = [
789
+ st
764
790
  ];
765
- function st(e, s, l, r, i, a) {
766
- return n(), A("div", nt, ut);
791
+ function rt(e, s, l, r, i, t) {
792
+ return n(), y("div", ut, ct);
767
793
  }
768
- const ct = /* @__PURE__ */ at(lt, [["render", st]]), rt = (e = null, { expression: s = 75, arg: l = {}, height: r = "" } = {}) => {
794
+ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expression: s = 75, arg: l = {}, height: r = "" } = {}) => {
769
795
  const i = u(e);
770
796
  if (i) {
771
- const a = i.querySelector(".el-table");
772
- a && Ce(() => {
773
- const { y: c = 0 } = a.getBoundingClientRect();
797
+ const t = i.querySelector(".el-table");
798
+ t && Ce(() => {
799
+ const { y: c = 0 } = t.getBoundingClientRect();
774
800
  let d = `calc(100vh - ${c + s}px)`;
775
801
  const p = Number.parseInt(r);
776
- r && (p ? d = `${r}px` : d = r), a.style.height = d;
802
+ r && (p ? d = `${r}px` : d = r), t.style.height = d;
777
803
  });
778
804
  }
779
- }, be = (e = Promise.resolve(), s = null, l = O(!1), r = O(null)) => {
780
- const i = O("");
781
- return l.value = !0, e.then((a = {}) => {
782
- const { data: c = {}, message: d = "" } = a;
805
+ }, be = (e = Promise.resolve(), s = null, l = k(!1), r = k(null)) => {
806
+ const i = k("");
807
+ return l.value = !0, e.then((t = {}) => {
808
+ const { data: c = {}, message: d = "" } = t;
783
809
  r.value = c, i.value = d, s && s(!0, c), l.value = !1;
784
- }).catch((a = {}) => {
785
- if (typeof a == "object") {
786
- const { message: c = "" } = a;
810
+ }).catch((t = {}) => {
811
+ if (typeof t == "object") {
812
+ const { message: c = "" } = t;
787
813
  i.value = c;
788
814
  } else
789
- i.value = a;
790
- s && s(!1, a), l.value = !1;
815
+ i.value = t;
816
+ s && s(!1, t), l.value = !1;
791
817
  }).finally(() => {
792
818
  l.value = !1;
793
819
  }), { data: r, message: i, loading: l };
794
- }, it = (e = null) => {
820
+ }, _t = (e = null) => {
795
821
  switch (toString.apply(e)) {
796
822
  case "[object Object]":
797
823
  return "object";
@@ -808,13 +834,13 @@ const ct = /* @__PURE__ */ at(lt, [["render", st]]), rt = (e = null, { expressio
808
834
  case "[object Undefind]":
809
835
  return "undefind";
810
836
  }
811
- }, dt = (e) => it(e) === "boolean";
812
- const _t = { class: "bsgoal-base-table" }, mt = { class: "base_table" }, gt = {
837
+ }, mt = (e) => _t(e) === "boolean";
838
+ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
813
839
  key: 0,
814
840
  class: "base_table_menu"
815
- }, ft = {
841
+ }, ht = {
816
842
  name: "BsgoalBaseTable"
817
- }, xe = /* @__PURE__ */ Object.assign(ft, {
843
+ }, Ne = /* @__PURE__ */ Object.assign(ht, {
818
844
  props: {
819
845
  /**
820
846
  * >----------props----------<
@@ -911,58 +937,65 @@ const _t = { class: "bsgoal-base-table" }, mt = { class: "base_table" }, gt = {
911
937
  height: {
912
938
  type: [Number, String, Boolean],
913
939
  default: ""
940
+ },
941
+ /**
942
+ * 是否显示分页
943
+ */
944
+ page: {
945
+ type: Boolean,
946
+ default: !0
914
947
  }
915
948
  },
916
949
  setup(e, { expose: s }) {
917
- const l = e, r = q(() => {
918
- const { configOptions: f = [], operation: y = !1, operationWidth: B = 0 } = l, k = u(f), F = [];
919
- return y && F.push({
950
+ const l = e, r = J(() => {
951
+ const { configOptions: v = [], operation: A = !1, operationWidth: D = 0 } = l, S = u(v), F = [];
952
+ return A && F.push({
920
953
  label: "操作",
921
954
  fixed: "right",
922
955
  prop: "operation",
923
- width: B
924
- }), [...k, ...F];
925
- }), i = O(null), a = Me("transferFoldStatus");
956
+ width: D
957
+ }), [...S, ...F];
958
+ }), i = k(null), t = Ve("transferFoldStatus");
926
959
  pe(() => {
927
- const { height: f } = l, y = a ? a.value : !1, B = u(l.expression);
928
- dt(f) || rt(i, { arg: y, expression: B, height: f });
960
+ const { height: v } = l, A = t ? t.value : !1, D = u(l.expression);
961
+ mt(v) || dt(i, { arg: A, expression: D, height: v });
929
962
  });
930
- const c = O(1), d = O(10), p = O(0), N = O({}), x = O(l.loading), w = O(l.data), D = O({}), U = () => {
931
- const { fetch: f, call: y, mapProps: B } = l, k = N.value, F = c.value, R = d.value, L = Ve({}, k), I = u(B);
932
- L[I.currentPage] = F, L[I.pageSize] = R, be(f(L), y, x, D);
963
+ const c = k(1), d = k(10), p = k(0), N = k({}), M = k(l.loading), B = k(l.data), w = k({}), U = () => {
964
+ const { fetch: v, call: A, mapProps: D } = l, S = N.value, F = c.value, R = d.value, L = xe({}, S), I = u(D);
965
+ L[I.currentPage] = F, L[I.pageSize] = R, be(v(L), A, M, w);
933
966
  };
934
- ce(D, (f) => {
935
- const { mapProps: y } = l, B = u(y);
936
- w.value = f[B.rows], p.value = f[B.total];
967
+ ie(w, (v) => {
968
+ const { mapProps: A } = l, D = u(A);
969
+ B.value = v[D.rows], p.value = v[D.total];
937
970
  });
938
- const E = (f = {}) => {
939
- N.value = f, c.value = 1, U();
940
- }, b = (f = 1) => {
941
- c.value = f;
942
- }, C = (f = 10) => {
943
- d.value = f;
971
+ const E = (v = {}) => {
972
+ N.value = v, c.value = 1, U();
973
+ }, T = (v = 1) => {
974
+ c.value = v;
975
+ }, C = (v = 10) => {
976
+ d.value = v;
944
977
  };
945
- return ce([c, d], () => {
978
+ return ie([c, d], () => {
946
979
  U();
947
980
  }), s({
948
981
  refreshList: E
949
- }), (f, y) => {
950
- const B = h("el-table-column"), k = h("el-table"), F = De("loading");
951
- return n(), A("div", _t, [
952
- S("div", mt, [
953
- f.$slots.menu ? (n(), A("div", gt, [
954
- ae(f.$slots, "menu")
955
- ])) : M("", !0),
956
- S("div", {
982
+ }), (v, A) => {
983
+ const D = f("el-table-column"), S = f("el-table"), F = ke("loading");
984
+ return n(), y("div", gt, [
985
+ O("div", ft, [
986
+ v.$slots.menu ? (n(), y("div", vt, [
987
+ q(v.$slots, "menu")
988
+ ])) : V("", !0),
989
+ O("div", {
957
990
  ref_key: "EL_TABLE_WRAP_REF",
958
991
  ref: i
959
992
  }, [
960
- Q((n(), T(k, {
993
+ Q((n(), b(S, {
961
994
  stripe: "",
962
995
  border: "",
963
996
  "highlight-current-row": "",
964
997
  style: { width: "100%" },
965
- data: w.value,
998
+ data: B.value,
966
999
  "header-cell-style": {
967
1000
  fontWeight: "bold",
968
1001
  backgroundColor: "#EBEEF5",
@@ -970,29 +1003,31 @@ const _t = { class: "bsgoal-base-table" }, mt = { class: "base_table" }, gt = {
970
1003
  fontSize: "14px"
971
1004
  }
972
1005
  }, {
973
- empty: V(() => [
974
- $(ct)
1006
+ empty: x(() => [
1007
+ $(it)
975
1008
  ]),
976
- default: V(() => [
977
- e.selection ? (n(), T(B, {
1009
+ default: x(() => [
1010
+ e.selection ? (n(), b(D, {
978
1011
  key: 0,
979
1012
  fixed: "left",
980
1013
  type: "selection",
981
1014
  width: "40"
982
- })) : M("", !0),
983
- (n(!0), A(z, null, W(u(r), ({ prop: R = "", label: L = "", align: I = "center", width: j = "", fixed: Z = !1 } = {}, ee) => (n(), T(B, {
984
- key: ee,
1015
+ })) : V("", !0),
1016
+ (n(!0), y(z, null, X(u(r), ({ prop: R = "", label: L = "", align: I = "center", width: P = "", fixed: Z = !1, tooltip: ee = !1, limit: te = 0 } = {}, se) => (n(), b(D, {
1017
+ key: se,
985
1018
  label: L,
986
1019
  align: I,
987
- width: j,
1020
+ width: P,
988
1021
  fixed: Z,
989
1022
  "min-width": `${L.length * 14 + 24}px`
990
1023
  }, {
991
- default: V(({ row: K }) => [
992
- ae(f.$slots, R, { row: K }, () => [
993
- $(Qe, {
994
- data: K[R]
995
- }, null, 8, ["data"])
1024
+ default: x(({ row: ne }) => [
1025
+ q(v.$slots, R, { row: ne }, () => [
1026
+ $(Je, {
1027
+ limit: te,
1028
+ tooltip: ee,
1029
+ data: ne[R]
1030
+ }, null, 8, ["limit", "tooltip", "data"])
996
1031
  ])
997
1032
  ]),
998
1033
  _: 2
@@ -1000,22 +1035,23 @@ const _t = { class: "bsgoal-base-table" }, mt = { class: "base_table" }, gt = {
1000
1035
  ]),
1001
1036
  _: 3
1002
1037
  }, 8, ["data", "header-cell-style"])), [
1003
- [F, x.value]
1038
+ [F, M.value]
1004
1039
  ])
1005
1040
  ], 512),
1006
- $(tt, {
1041
+ e.page ? (n(), b(nt, {
1042
+ key: 1,
1007
1043
  total: p.value,
1008
- onOnCurrentChange: b,
1044
+ onOnCurrentChange: T,
1009
1045
  onOnSizeChange: C
1010
- }, null, 8, ["total"])
1046
+ }, null, 8, ["total"])) : V("", !0)
1011
1047
  ])
1012
1048
  ]);
1013
1049
  };
1014
1050
  }
1015
1051
  });
1016
- const vt = {
1052
+ const pt = {
1017
1053
  name: "BsgoalBaseLine"
1018
- }, ye = /* @__PURE__ */ Object.assign(vt, {
1054
+ }, ye = /* @__PURE__ */ Object.assign(pt, {
1019
1055
  props: {
1020
1056
  /**
1021
1057
  * 是否为垂直
@@ -1026,27 +1062,27 @@ const vt = {
1026
1062
  }
1027
1063
  },
1028
1064
  setup(e) {
1029
- return (s, l) => (n(), A("div", {
1030
- class: re(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
1065
+ return (s, l) => (n(), y("div", {
1066
+ class: de(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
1031
1067
  }, [
1032
- S("div", {
1033
- class: re(["base_line", { base_line__vertical: e.vertical }])
1068
+ O("div", {
1069
+ class: de(["base_line", { base_line__vertical: e.vertical }])
1034
1070
  }, null, 2)
1035
1071
  ], 2));
1036
1072
  }
1037
1073
  });
1038
1074
  /*! Element Plus Icons Vue v2.1.0 */
1039
- var oe = (e, s) => {
1075
+ var ue = (e, s) => {
1040
1076
  let l = e.__vccOpts || e;
1041
1077
  for (let [r, i] of s)
1042
1078
  l[r] = i;
1043
1079
  return l;
1044
- }, ht = {
1080
+ }, Et = {
1045
1081
  name: "ArrowDown"
1046
- }, pt = {
1082
+ }, bt = {
1047
1083
  xmlns: "http://www.w3.org/2000/svg",
1048
1084
  viewBox: "0 0 1024 1024"
1049
- }, Et = /* @__PURE__ */ S(
1085
+ }, yt = /* @__PURE__ */ O(
1050
1086
  "path",
1051
1087
  {
1052
1088
  fill: "currentColor",
@@ -1055,18 +1091,18 @@ var oe = (e, s) => {
1055
1091
  null,
1056
1092
  -1
1057
1093
  /* HOISTED */
1058
- ), bt = [
1059
- Et
1094
+ ), Tt = [
1095
+ yt
1060
1096
  ];
1061
- function yt(e, s, l, r, i, a) {
1062
- return n(), A("svg", pt, bt);
1097
+ function At(e, s, l, r, i, t) {
1098
+ return n(), y("svg", bt, Tt);
1063
1099
  }
1064
- var Tt = /* @__PURE__ */ oe(ht, [["render", yt], ["__file", "arrow-down.vue"]]), At = {
1100
+ var xt = /* @__PURE__ */ ue(Et, [["render", At], ["__file", "arrow-down.vue"]]), Ct = {
1065
1101
  name: "ArrowLeft"
1066
1102
  }, Vt = {
1067
1103
  xmlns: "http://www.w3.org/2000/svg",
1068
1104
  viewBox: "0 0 1024 1024"
1069
- }, Ct = /* @__PURE__ */ S(
1105
+ }, Mt = /* @__PURE__ */ O(
1070
1106
  "path",
1071
1107
  {
1072
1108
  fill: "currentColor",
@@ -1075,18 +1111,18 @@ var Tt = /* @__PURE__ */ oe(ht, [["render", yt], ["__file", "arrow-down.vue"]]),
1075
1111
  null,
1076
1112
  -1
1077
1113
  /* HOISTED */
1078
- ), Mt = [
1079
- Ct
1114
+ ), $t = [
1115
+ Mt
1080
1116
  ];
1081
- function xt(e, s, l, r, i, a) {
1082
- return n(), A("svg", Vt, Mt);
1117
+ function Nt(e, s, l, r, i, t) {
1118
+ return n(), y("svg", Vt, $t);
1083
1119
  }
1084
- var $t = /* @__PURE__ */ oe(At, [["render", xt], ["__file", "arrow-left.vue"]]), Nt = {
1120
+ var Bt = /* @__PURE__ */ ue(Ct, [["render", Nt], ["__file", "arrow-left.vue"]]), wt = {
1085
1121
  name: "ArrowRight"
1086
- }, wt = {
1122
+ }, Dt = {
1087
1123
  xmlns: "http://www.w3.org/2000/svg",
1088
1124
  viewBox: "0 0 1024 1024"
1089
- }, Dt = /* @__PURE__ */ S(
1125
+ }, kt = /* @__PURE__ */ O(
1090
1126
  "path",
1091
1127
  {
1092
1128
  fill: "currentColor",
@@ -1095,18 +1131,18 @@ var $t = /* @__PURE__ */ oe(At, [["render", xt], ["__file", "arrow-left.vue"]]),
1095
1131
  null,
1096
1132
  -1
1097
1133
  /* HOISTED */
1098
- ), Bt = [
1099
- Dt
1134
+ ), Ot = [
1135
+ kt
1100
1136
  ];
1101
- function Ot(e, s, l, r, i, a) {
1102
- return n(), A("svg", wt, Bt);
1137
+ function St(e, s, l, r, i, t) {
1138
+ return n(), y("svg", Dt, Ot);
1103
1139
  }
1104
- var St = /* @__PURE__ */ oe(Nt, [["render", Ot], ["__file", "arrow-right.vue"]]), kt = {
1140
+ var It = /* @__PURE__ */ ue(wt, [["render", St], ["__file", "arrow-right.vue"]]), Ft = {
1105
1141
  name: "ArrowUp"
1106
- }, It = {
1142
+ }, Rt = {
1107
1143
  xmlns: "http://www.w3.org/2000/svg",
1108
1144
  viewBox: "0 0 1024 1024"
1109
- }, Ft = /* @__PURE__ */ S(
1145
+ }, Ut = /* @__PURE__ */ O(
1110
1146
  "path",
1111
1147
  {
1112
1148
  fill: "currentColor",
@@ -1115,18 +1151,18 @@ var St = /* @__PURE__ */ oe(Nt, [["render", Ot], ["__file", "arrow-right.vue"]])
1115
1151
  null,
1116
1152
  -1
1117
1153
  /* HOISTED */
1118
- ), Rt = [
1119
- Ft
1154
+ ), Lt = [
1155
+ Ut
1120
1156
  ];
1121
- function Ut(e, s, l, r, i, a) {
1122
- return n(), A("svg", It, Rt);
1157
+ function zt(e, s, l, r, i, t) {
1158
+ return n(), y("svg", Rt, Lt);
1123
1159
  }
1124
- var Lt = /* @__PURE__ */ oe(kt, [["render", Ut], ["__file", "arrow-up.vue"]]), zt = {
1160
+ var jt = /* @__PURE__ */ ue(Ft, [["render", zt], ["__file", "arrow-up.vue"]]), Pt = {
1125
1161
  name: "Delete"
1126
- }, jt = {
1162
+ }, Yt = {
1127
1163
  xmlns: "http://www.w3.org/2000/svg",
1128
1164
  viewBox: "0 0 1024 1024"
1129
- }, Pt = /* @__PURE__ */ S(
1165
+ }, Gt = /* @__PURE__ */ O(
1130
1166
  "path",
1131
1167
  {
1132
1168
  fill: "currentColor",
@@ -1135,18 +1171,18 @@ var Lt = /* @__PURE__ */ oe(kt, [["render", Ut], ["__file", "arrow-up.vue"]]), z
1135
1171
  null,
1136
1172
  -1
1137
1173
  /* HOISTED */
1138
- ), Yt = [
1139
- Pt
1174
+ ), Ht = [
1175
+ Gt
1140
1176
  ];
1141
- function Gt(e, s, l, r, i, a) {
1142
- return n(), A("svg", jt, Yt);
1177
+ function Wt(e, s, l, r, i, t) {
1178
+ return n(), y("svg", Yt, Ht);
1143
1179
  }
1144
- var Ht = /* @__PURE__ */ oe(zt, [["render", Gt], ["__file", "delete.vue"]]), Wt = {
1180
+ var Xt = /* @__PURE__ */ ue(Pt, [["render", Wt], ["__file", "delete.vue"]]), Qt = {
1145
1181
  name: "Search"
1146
- }, Xt = {
1182
+ }, Zt = {
1147
1183
  xmlns: "http://www.w3.org/2000/svg",
1148
1184
  viewBox: "0 0 1024 1024"
1149
- }, Qt = /* @__PURE__ */ S(
1185
+ }, Kt = /* @__PURE__ */ O(
1150
1186
  "path",
1151
1187
  {
1152
1188
  fill: "currentColor",
@@ -1155,16 +1191,16 @@ var Ht = /* @__PURE__ */ oe(zt, [["render", Gt], ["__file", "delete.vue"]]), Wt
1155
1191
  null,
1156
1192
  -1
1157
1193
  /* HOISTED */
1158
- ), Zt = [
1159
- Qt
1194
+ ), Jt = [
1195
+ Kt
1160
1196
  ];
1161
- function Kt(e, s, l, r, i, a) {
1162
- return n(), A("svg", Xt, Zt);
1197
+ function qt(e, s, l, r, i, t) {
1198
+ return n(), y("svg", Zt, Jt);
1163
1199
  }
1164
- var Jt = /* @__PURE__ */ oe(Wt, [["render", Kt], ["__file", "search.vue"]]);
1165
- const qt = { class: "bsgoal-base-search-operation" }, ea = {
1200
+ var ea = /* @__PURE__ */ ue(Qt, [["render", qt], ["__file", "search.vue"]]);
1201
+ const ta = { class: "bsgoal-base-search-operation" }, aa = {
1166
1202
  name: "BsgoalBaseSearchOperation"
1167
- }, ta = /* @__PURE__ */ Object.assign(ea, {
1203
+ }, la = /* @__PURE__ */ Object.assign(aa, {
1168
1204
  props: {
1169
1205
  /**
1170
1206
  * 是否显示折叠按钮
@@ -1176,57 +1212,57 @@ const qt = { class: "bsgoal-base-search-operation" }, ea = {
1176
1212
  },
1177
1213
  emits: ["on-fold"],
1178
1214
  setup(e, { emit: s }) {
1179
- const l = O(!1), r = () => {
1215
+ const l = k(!1), r = () => {
1180
1216
  l.value = !u(l), s("on-fold", l.value);
1181
1217
  };
1182
- return (i, a) => {
1183
- const c = h("el-button"), d = h("el-icon");
1184
- return n(), A("div", qt, [
1218
+ return (i, t) => {
1219
+ const c = f("el-button"), d = f("el-icon");
1220
+ return n(), y("div", ta, [
1185
1221
  $(c, {
1186
1222
  type: "primary",
1187
- icon: u(Jt),
1188
- onClick: a[0] || (a[0] = (p) => i.$emit("on-search"))
1223
+ icon: u(ea),
1224
+ onClick: t[0] || (t[0] = (p) => i.$emit("on-search"))
1189
1225
  }, {
1190
- default: V(() => [
1191
- X("搜索")
1226
+ default: x(() => [
1227
+ W("搜索")
1192
1228
  ]),
1193
1229
  _: 1
1194
1230
  }, 8, ["icon"]),
1195
1231
  $(c, {
1196
- icon: u(Ht),
1197
- onClick: a[1] || (a[1] = (p) => i.$emit("on-clear"))
1232
+ icon: u(Xt),
1233
+ onClick: t[1] || (t[1] = (p) => i.$emit("on-clear"))
1198
1234
  }, {
1199
- default: V(() => [
1200
- X("清空")
1235
+ default: x(() => [
1236
+ W("清空")
1201
1237
  ]),
1202
1238
  _: 1
1203
1239
  }, 8, ["icon"]),
1204
- e.fold ? (n(), A("div", {
1240
+ e.fold ? (n(), y("div", {
1205
1241
  key: 0,
1206
1242
  class: "operation_fold",
1207
1243
  style: { color: "var(--el-color-primary)" },
1208
1244
  onClick: r
1209
1245
  }, [
1210
- X(H(l.value ? "收起" : "展开"), 1),
1246
+ W(j(l.value ? "收起" : "展开"), 1),
1211
1247
  $(d, { color: "#409EFC" }, {
1212
- default: V(() => [
1213
- Q($(u(Lt), null, null, 512), [
1248
+ default: x(() => [
1249
+ Q($(u(jt), null, null, 512), [
1214
1250
  [le, l.value]
1215
1251
  ]),
1216
- Q($(u(Tt), null, null, 512), [
1252
+ Q($(u(xt), null, null, 512), [
1217
1253
  [le, !l.value]
1218
1254
  ])
1219
1255
  ]),
1220
1256
  _: 1
1221
1257
  })
1222
- ])) : M("", !0)
1258
+ ])) : V("", !0)
1223
1259
  ]);
1224
1260
  };
1225
1261
  }
1226
1262
  });
1227
- const aa = { class: "bsgoal-base-cascader" }, la = {
1263
+ const na = { class: "bsgoal-base-cascader" }, oa = {
1228
1264
  name: "BsgoalBaseCascader"
1229
- }, na = /* @__PURE__ */ Object.assign(la, {
1265
+ }, ua = /* @__PURE__ */ Object.assign(oa, {
1230
1266
  props: {
1231
1267
  /**
1232
1268
  * 绑定的值
@@ -1259,15 +1295,15 @@ const aa = { class: "bsgoal-base-cascader" }, la = {
1259
1295
  },
1260
1296
  emits: ["update:model-value", "on-change"],
1261
1297
  setup(e, { emit: s }) {
1262
- const l = O({
1298
+ const l = k({
1263
1299
  checkStrictly: !0,
1264
1300
  multiple: !1
1265
1301
  }), r = (i) => {
1266
1302
  s("update:model-value", i), s("on-change", i);
1267
1303
  };
1268
- return (i, a) => {
1269
- const c = h("el-cascader");
1270
- return n(), A("div", aa, [
1304
+ return (i, t) => {
1305
+ const c = f("el-cascader");
1306
+ return n(), y("div", na, [
1271
1307
  $(c, {
1272
1308
  clearable: "",
1273
1309
  class: "base_cascader",
@@ -1282,9 +1318,9 @@ const aa = { class: "bsgoal-base-cascader" }, la = {
1282
1318
  };
1283
1319
  }
1284
1320
  });
1285
- const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa = { key: 1 }, ca = {
1321
+ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra = { key: 1 }, ia = {
1286
1322
  name: "BsgoalBaseSearch"
1287
- }, ra = /* @__PURE__ */ Object.assign(ca, {
1323
+ }, da = /* @__PURE__ */ Object.assign(ia, {
1288
1324
  props: {
1289
1325
  /**
1290
1326
  * >----------props----------<
@@ -1326,293 +1362,293 @@ const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa =
1326
1362
  },
1327
1363
  emits: ["on-search", "on-clear", "on-change", "on-fold"],
1328
1364
  setup(e, { emit: s }) {
1329
- const l = e, r = O(null), i = Ee.align, a = O({});
1365
+ const l = e, r = k(null), i = Ee.align, t = k({});
1330
1366
  pe(() => {
1331
- const { configOptions: b } = l;
1332
- u(b).forEach((f) => {
1333
- const { value: y, prop: B = "", type: k = "" } = f;
1334
- [t.INPUT, t.INPUT_TEXT_AREA].includes(k), a.value[B] = [0, !1].includes(y) ? y : "";
1367
+ const { configOptions: T } = l;
1368
+ u(T).forEach((v) => {
1369
+ const { value: A, prop: D = "", type: S = "" } = v;
1370
+ [a.INPUT, a.INPUT_TEXT_AREA].includes(S), t.value[D] = [0, !1].includes(A) ? A : "";
1335
1371
  });
1336
1372
  });
1337
- const c = q(() => {
1338
- const { configOptions: b } = l, C = u(b), f = {
1339
- type: t.OPERATION
1373
+ const c = J(() => {
1374
+ const { configOptions: T } = l, C = u(T), v = {
1375
+ type: a.OPERATION
1340
1376
  };
1341
- return [...C, f];
1342
- }), d = (b = "", C = "", f = "") => {
1343
- if (!f)
1344
- switch (b) {
1345
- case t.INPUT:
1346
- case t.INPUT_TEXT_AREA:
1377
+ return [...C, v];
1378
+ }), d = (T = "", C = "", v = "") => {
1379
+ if (!v)
1380
+ switch (T) {
1381
+ case a.INPUT:
1382
+ case a.INPUT_TEXT_AREA:
1347
1383
  return `请输入${C}`;
1348
- case t.SELECT:
1349
- case t.DATE:
1350
- case t.WEEK:
1351
- case t.MONTH:
1352
- case t.YEAR:
1353
- case t.DATE_TIME:
1354
- case t.TIME:
1355
- case t.CASCADER:
1384
+ case a.SELECT:
1385
+ case a.DATE:
1386
+ case a.WEEK:
1387
+ case a.MONTH:
1388
+ case a.YEAR:
1389
+ case a.DATE_TIME:
1390
+ case a.TIME:
1391
+ case a.CASCADER:
1356
1392
  return `请选择${C}`;
1357
- case t.DATE_RANGE:
1358
- case t.DATE_TIME_RANGE:
1393
+ case a.DATE_RANGE:
1394
+ case a.DATE_TIME_RANGE:
1359
1395
  return ["开始日期", "结束日期"];
1360
- case t.TIME_RANGE:
1396
+ case a.TIME_RANGE:
1361
1397
  return ["开始时间", "结束时间"];
1362
- case t.MONTH_RANGE:
1398
+ case a.MONTH_RANGE:
1363
1399
  return ["开始月份", "结束月份"];
1364
1400
  }
1365
- return f;
1366
- }, p = (b = "", C = "") => {
1401
+ return v;
1402
+ }, p = (T = "", C = "") => {
1367
1403
  if (!C)
1368
- switch (b) {
1369
- case t.WEEK:
1404
+ switch (T) {
1405
+ case a.WEEK:
1370
1406
  return "ww";
1371
- case t.DATE:
1372
- case t.DATE_RANGE:
1407
+ case a.DATE:
1408
+ case a.DATE_RANGE:
1373
1409
  return "YYYY-MM-DD";
1374
- case t.MONTH:
1410
+ case a.MONTH:
1375
1411
  return "MM";
1376
- case t.YEAR:
1412
+ case a.YEAR:
1377
1413
  return "YYYY";
1378
- case t.MONTH_RANGE:
1414
+ case a.MONTH_RANGE:
1379
1415
  return "YYYY-MM";
1380
- case t.TIME:
1381
- case t.TIME_RANGE:
1416
+ case a.TIME:
1417
+ case a.TIME_RANGE:
1382
1418
  return "HH:mm:ss";
1383
- case t.DATE_TIME:
1384
- case t.DATE_TIME_RANGE:
1419
+ case a.DATE_TIME:
1420
+ case a.DATE_TIME_RANGE:
1385
1421
  return "YYYY-MM-DD HH:mm:ss";
1386
1422
  }
1387
1423
  return C;
1388
1424
  }, N = () => {
1389
- const { configOptions: b } = l, C = u(a), f = u(b), y = {};
1390
- for (const B of f) {
1391
- const { type: k = "", range: F = [], prop: R = "", single: L = !1 } = B, I = C[R];
1392
- if ([t.CASCADER].includes(k) && Array.isArray(I) && L) {
1393
- const j = I.length;
1394
- j ? y[R] = I[j - 1] : y[R] = I;
1425
+ const { configOptions: T } = l, C = u(t), v = u(T), A = {};
1426
+ for (const D of v) {
1427
+ const { type: S = "", range: F = [], prop: R = "", single: L = !1 } = D, I = C[R];
1428
+ if ([a.CASCADER].includes(S) && Array.isArray(I) && L) {
1429
+ const P = I.length;
1430
+ P ? A[R] = I[P - 1] : A[R] = I;
1395
1431
  } else
1396
- Be(I) ? y[R] = Oe(I) : y[R] = I;
1397
- if (k.endsWith("range") && F && F.length === 2) {
1398
- const { 0: j = "", 1: Z = "" } = I, { 0: ee = "", 1: K = "" } = F;
1399
- y[ee] = j, y[K] = Z;
1432
+ Oe(I) ? A[R] = Se(I) : A[R] = I;
1433
+ if (S.endsWith("range") && F && F.length === 2) {
1434
+ const { 0: P = "", 1: Z = "" } = I, { 0: ee = "", 1: te = "" } = F;
1435
+ A[ee] = P, A[te] = Z;
1400
1436
  }
1401
1437
  }
1402
- s("on-search", y), s("update:modelValue", y);
1438
+ s("on-search", A), s("update:modelValue", A);
1403
1439
  };
1404
1440
  Ce(() => {
1405
1441
  N();
1406
1442
  });
1407
- const x = () => {
1408
- r.value.resetFields(), s("on-clear", a.value);
1409
- }, w = Me("transferFoldStatus"), D = O(!1), U = (b = !1) => {
1410
- D.value = b, w && (w.value = b), s("on-fold", D);
1411
- }, E = (b, C) => {
1443
+ const M = () => {
1444
+ r.value.resetFields(), s("on-clear", t.value);
1445
+ }, B = Ve("transferFoldStatus"), w = k(!1), U = (T = !1) => {
1446
+ w.value = T, B && (B.value = T), s("on-fold", w);
1447
+ }, E = (T, C) => {
1412
1448
  N();
1413
- const f = {
1414
- type: b,
1449
+ const v = {
1450
+ type: T,
1415
1451
  prop: C,
1416
- value: a.value[C] || ""
1452
+ value: t.value[C] || ""
1417
1453
  };
1418
- s("on-change", f);
1454
+ s("on-change", v);
1419
1455
  };
1420
- return (b, C) => {
1421
- const f = h("el-input"), y = h("el-input-number"), B = h("el-radio"), k = h("el-radio-group"), F = h("el-option"), R = h("el-select"), L = h("el-slider"), I = h("el-switch"), j = h("el-date-picker"), Z = h("el-time-picker"), ee = h("el-checkbox"), K = h("el-checkbox-group"), me = h("el-form-item"), ge = h("el-col"), fe = h("el-row"), P = h("el-form");
1422
- return n(), A("div", oa, [
1423
- S("div", ua, [
1424
- Q((n(), T(P, {
1456
+ return (T, C) => {
1457
+ const v = f("el-input"), A = f("el-input-number"), D = f("el-radio"), S = f("el-radio-group"), F = f("el-option"), R = f("el-select"), L = f("el-slider"), I = f("el-switch"), P = f("el-date-picker"), Z = f("el-time-picker"), ee = f("el-checkbox"), te = f("el-checkbox-group"), se = f("el-form-item"), ne = f("el-col"), fe = f("el-row"), Y = f("el-form");
1458
+ return n(), y("div", sa, [
1459
+ O("div", ca, [
1460
+ Q((n(), b(Y, {
1425
1461
  ref_key: "EL_FORM_REF",
1426
1462
  ref: r,
1427
1463
  "label-suffix": ":",
1428
1464
  "show-message": !1,
1429
- model: a.value
1465
+ model: t.value
1430
1466
  }, {
1431
- default: V(() => [
1467
+ default: x(() => [
1432
1468
  $(fe, null, {
1433
- default: V(() => [
1434
- (n(!0), A(z, null, W(u(c), ({
1435
- label: v = "",
1469
+ default: x(() => [
1470
+ (n(!0), y(z, null, X(u(c), ({
1471
+ label: h = "",
1436
1472
  prop: o = "",
1437
1473
  type: _ = "text",
1438
- placeholder: Y = "",
1439
- readonly: ie = !1,
1440
- clearable: de = !0,
1441
- rows: _e = 2,
1442
- min: ue = 1,
1443
- max: J = 10,
1444
- range: G = [],
1445
- format: te = ""
1446
- } = {}, ne) => Q((n(), T(ge, {
1447
- key: ne,
1474
+ placeholder: G = "",
1475
+ readonly: _e = !1,
1476
+ clearable: me = !0,
1477
+ rows: ge = 2,
1478
+ min: ce = 1,
1479
+ max: K = 10,
1480
+ range: H = [],
1481
+ format: ae = ""
1482
+ } = {}, oe) => Q((n(), b(ne, {
1483
+ key: oe,
1448
1484
  xs: 24,
1449
1485
  sm: 12,
1450
1486
  md: e.medium
1451
1487
  }, {
1452
- default: V(() => [
1453
- $(me, {
1454
- label: v,
1488
+ default: x(() => [
1489
+ $(se, {
1490
+ label: h,
1455
1491
  prop: o
1456
1492
  }, {
1457
- default: V(() => [
1458
- ie ? (n(), A("div", sa, H(a.value[o]), 1)) : (n(), A(z, { key: 0 }, [
1459
- _ === u(t).INPUT ? (n(), T(f, {
1493
+ default: x(() => [
1494
+ _e ? (n(), y("div", ra, j(t.value[o]), 1)) : (n(), y(z, { key: 0 }, [
1495
+ _ === u(a).INPUT ? (n(), b(v, {
1460
1496
  key: 0,
1461
- modelValue: a.value[o],
1462
- "onUpdate:modelValue": (g) => a.value[o] = g,
1463
- placeholder: d(_, v, Y),
1464
- clearable: de,
1497
+ modelValue: t.value[o],
1498
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1499
+ placeholder: d(_, h, G),
1500
+ clearable: me,
1465
1501
  onChange: (g) => E(_, o)
1466
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : M("", !0),
1467
- _ === u(t).INPUT_TEXT_AREA ? (n(), T(f, {
1502
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : V("", !0),
1503
+ _ === u(a).INPUT_TEXT_AREA ? (n(), b(v, {
1468
1504
  key: 1,
1469
- modelValue: a.value[o],
1470
- "onUpdate:modelValue": (g) => a.value[o] = g,
1505
+ modelValue: t.value[o],
1506
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1471
1507
  type: "textarea",
1472
- rows: _e,
1473
- clearable: de,
1474
- placeholder: d(_, v, Y),
1508
+ rows: ge,
1509
+ clearable: me,
1510
+ placeholder: d(_, h, G),
1475
1511
  onChange: (g) => E(_, o)
1476
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : M("", !0),
1477
- _ === u(t).INPUT_NUMBER ? (n(), T(y, {
1512
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : V("", !0),
1513
+ _ === u(a).INPUT_NUMBER ? (n(), b(A, {
1478
1514
  key: 2,
1479
- modelValue: b.num,
1480
- "onUpdate:modelValue": C[0] || (C[0] = (g) => b.num = g),
1481
- min: ue,
1482
- max: J,
1515
+ modelValue: T.num,
1516
+ "onUpdate:modelValue": C[0] || (C[0] = (g) => T.num = g),
1517
+ min: ce,
1518
+ max: K,
1483
1519
  onChange: E
1484
- }, null, 8, ["modelValue", "min", "max"])) : M("", !0),
1485
- _ === u(t).RADIO ? (n(), T(k, {
1520
+ }, null, 8, ["modelValue", "min", "max"])) : V("", !0),
1521
+ _ === u(a).RADIO ? (n(), b(S, {
1486
1522
  key: 3,
1487
- modelValue: a.value[o],
1488
- "onUpdate:modelValue": (g) => a.value[o] = g,
1523
+ modelValue: t.value[o],
1524
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1489
1525
  onChange: (g) => E(_, o)
1490
1526
  }, {
1491
- default: V(() => [
1492
- (n(!0), A(z, null, W(G, (g, m) => (n(), T(B, {
1527
+ default: x(() => [
1528
+ (n(!0), y(z, null, X(H, (g, m) => (n(), b(D, {
1493
1529
  key: m,
1494
1530
  label: g.value
1495
1531
  }, {
1496
- default: V(() => [
1497
- X(H(g.label), 1)
1532
+ default: x(() => [
1533
+ W(j(g.label), 1)
1498
1534
  ]),
1499
1535
  _: 2
1500
1536
  }, 1032, ["label"]))), 128))
1501
1537
  ]),
1502
1538
  _: 2
1503
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : M("", !0),
1504
- _ === u(t).SELECT ? (n(), T(R, {
1539
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
1540
+ _ === u(a).SELECT ? (n(), b(R, {
1505
1541
  key: 4,
1506
- modelValue: a.value[o],
1507
- "onUpdate:modelValue": (g) => a.value[o] = g,
1508
- placeholder: d(_, v, Y),
1542
+ modelValue: t.value[o],
1543
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1544
+ placeholder: d(_, h, G),
1509
1545
  onChange: (g) => E(_, o)
1510
1546
  }, {
1511
- default: V(() => [
1512
- (n(!0), A(z, null, W(G, (g, m) => (n(), T(F, {
1547
+ default: x(() => [
1548
+ (n(!0), y(z, null, X(H, (g, m) => (n(), b(F, {
1513
1549
  key: m,
1514
1550
  label: g.label,
1515
1551
  value: g.value
1516
1552
  }, null, 8, ["label", "value"]))), 128))
1517
1553
  ]),
1518
1554
  _: 2
1519
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : M("", !0),
1520
- _ === u(t).SLIDER ? (n(), T(L, {
1555
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : V("", !0),
1556
+ _ === u(a).SLIDER ? (n(), b(L, {
1521
1557
  key: 5,
1522
- modelValue: a.value[o],
1523
- "onUpdate:modelValue": (g) => a.value[o] = g,
1524
- min: ue,
1525
- max: J,
1558
+ modelValue: t.value[o],
1559
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1560
+ min: ce,
1561
+ max: K,
1526
1562
  onChange: (g) => E(_, o)
1527
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : M("", !0),
1528
- _ === u(t).SWITCH ? (n(), T(I, {
1563
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : V("", !0),
1564
+ _ === u(a).SWITCH ? (n(), b(I, {
1529
1565
  key: 6,
1530
- modelValue: a.value[o],
1531
- "onUpdate:modelValue": (g) => a.value[o] = g,
1532
- "active-value": G[0] || !0,
1533
- "inactive-value": G[1] || !1,
1566
+ modelValue: t.value[o],
1567
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1568
+ "active-value": H[0] || !0,
1569
+ "inactive-value": H[1] || !1,
1534
1570
  onChange: (g) => E(_, o)
1535
- }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : M("", !0),
1536
- [u(t).DATE, u(t).MONTH, u(t).YEAR, u(t).DATE_TIME].includes(
1571
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : V("", !0),
1572
+ [u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
1537
1573
  _
1538
- ) ? (n(), T(j, {
1574
+ ) ? (n(), b(P, {
1539
1575
  key: 7,
1540
- modelValue: a.value[o],
1541
- "onUpdate:modelValue": (g) => a.value[o] = g,
1542
- format: p(_, te),
1543
- "value-format": p(_, te),
1576
+ modelValue: t.value[o],
1577
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1578
+ format: p(_, ae),
1579
+ "value-format": p(_, ae),
1544
1580
  type: _,
1545
- placeholder: d(_, v, Y),
1581
+ placeholder: d(_, h, G),
1546
1582
  onChange: (g) => E(_, o)
1547
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : M("", !0),
1583
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : V("", !0),
1548
1584
  [
1549
- u(t).DATE_RANGE,
1550
- u(t).MONTH_RANGE,
1551
- u(t).DATE_TIME_RANGE
1552
- ].includes(_) ? (n(), T(j, {
1585
+ u(a).DATE_RANGE,
1586
+ u(a).MONTH_RANGE,
1587
+ u(a).DATE_TIME_RANGE
1588
+ ].includes(_) ? (n(), b(P, {
1553
1589
  key: 8,
1554
- modelValue: a.value[o],
1555
- "onUpdate:modelValue": (g) => a.value[o] = g,
1590
+ modelValue: t.value[o],
1591
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1556
1592
  type: _,
1557
- "value-format": p(_, te),
1558
- "start-placeholder": d(_, v, Y)[0],
1559
- "end-placeholder": d(_, v, Y)[1],
1593
+ "value-format": p(_, ae),
1594
+ "start-placeholder": d(_, h, G)[0],
1595
+ "end-placeholder": d(_, h, G)[1],
1560
1596
  onChange: (g) => E(_, o)
1561
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
1562
- [u(t).TIME].includes(_) ? (n(), T(Z, {
1597
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
1598
+ [u(a).TIME].includes(_) ? (n(), b(Z, {
1563
1599
  key: 9,
1564
- modelValue: a.value[o],
1565
- "onUpdate:modelValue": (g) => a.value[o] = g,
1600
+ modelValue: t.value[o],
1601
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1566
1602
  "arrow-control": "",
1567
- "value-format": p(_, te),
1568
- placeholder: d(_, v, Y),
1603
+ "value-format": p(_, ae),
1604
+ placeholder: d(_, h, G),
1569
1605
  onChange: (g) => E(_, o)
1570
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : M("", !0),
1571
- [u(t).TIME_RANGE].includes(_) ? (n(), T(Z, {
1606
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : V("", !0),
1607
+ [u(a).TIME_RANGE].includes(_) ? (n(), b(Z, {
1572
1608
  key: 10,
1573
- modelValue: a.value[o],
1574
- "onUpdate:modelValue": (g) => a.value[o] = g,
1609
+ modelValue: t.value[o],
1610
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1575
1611
  "is-range": "",
1576
- "value-format": p(_, te),
1577
- "start-placeholder": d(_, v, Y)[0],
1578
- "end-placeholder": d(_, v, Y)[1],
1612
+ "value-format": p(_, ae),
1613
+ "start-placeholder": d(_, h, G)[0],
1614
+ "end-placeholder": d(_, h, G)[1],
1579
1615
  onChange: (g) => E(_, o)
1580
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : M("", !0),
1581
- [u(t).CHECKBOX].includes(_) ? (n(), T(K, {
1616
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
1617
+ [u(a).CHECKBOX].includes(_) ? (n(), b(te, {
1582
1618
  key: 11,
1583
- modelValue: a.value[o],
1584
- "onUpdate:modelValue": (g) => a.value[o] = g,
1619
+ modelValue: t.value[o],
1620
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1585
1621
  onChange: (g) => E(_, o)
1586
1622
  }, {
1587
- default: V(() => [
1588
- (n(!0), A(z, null, W(G, (g, m) => (n(), T(ee, {
1623
+ default: x(() => [
1624
+ (n(!0), y(z, null, X(H, (g, m) => (n(), b(ee, {
1589
1625
  key: m,
1590
1626
  label: g.value
1591
1627
  }, {
1592
- default: V(() => [
1593
- X(H(g.label), 1)
1628
+ default: x(() => [
1629
+ W(j(g.label), 1)
1594
1630
  ]),
1595
1631
  _: 2
1596
1632
  }, 1032, ["label"]))), 128))
1597
1633
  ]),
1598
1634
  _: 2
1599
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : M("", !0),
1600
- [u(t).CASCADER].includes(_) ? (n(), T(na, {
1635
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
1636
+ [u(a).CASCADER].includes(_) ? (n(), b(ua, {
1601
1637
  key: 12,
1602
- modelValue: a.value[o],
1603
- "onUpdate:modelValue": (g) => a.value[o] = g,
1604
- "data-options": G,
1605
- placeholder: d(_, v, Y),
1638
+ modelValue: t.value[o],
1639
+ "onUpdate:modelValue": (g) => t.value[o] = g,
1640
+ "data-options": H,
1641
+ placeholder: d(_, h, G),
1606
1642
  onOnChange: (g) => E(_, o)
1607
- }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : M("", !0),
1608
- [].includes(_) ? (n(), A(z, { key: 13 }, [], 64)) : M("", !0),
1609
- [u(t).OPERATION].includes(_) ? (n(), T(ta, {
1643
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : V("", !0),
1644
+ [].includes(_) ? (n(), y(z, { key: 13 }, [], 64)) : V("", !0),
1645
+ [u(a).OPERATION].includes(_) ? (n(), b(la, {
1610
1646
  key: 14,
1611
- fold: ne >= 7,
1647
+ fold: oe >= 7,
1612
1648
  onOnSearch: N,
1613
- onOnClear: x,
1649
+ onOnClear: M,
1614
1650
  onOnFold: U
1615
- }, null, 8, ["fold"])) : M("", !0)
1651
+ }, null, 8, ["fold"])) : V("", !0)
1616
1652
  ], 64))
1617
1653
  ]),
1618
1654
  _: 2
@@ -1620,7 +1656,7 @@ const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa =
1620
1656
  ]),
1621
1657
  _: 2
1622
1658
  }, 1032, ["md"])), [
1623
- [le, ne < 7 || _ === u(t).OPERATION || ne >= 7 && D.value]
1659
+ [le, oe < 7 || _ === u(a).OPERATION || oe >= 7 && w.value]
1624
1660
  ])), 128))
1625
1661
  ]),
1626
1662
  _: 1
@@ -1636,9 +1672,9 @@ const oa = { class: "bsgoal-base-search" }, ua = { class: "base_search" }, sa =
1636
1672
  };
1637
1673
  }
1638
1674
  });
1639
- const ia = { class: "bsgoal-base-search-table" }, da = { class: "base_search_table" }, _a = {
1675
+ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_table" }, ga = {
1640
1676
  name: "BsgoalBaseSearchTable"
1641
- }, ma = /* @__PURE__ */ Object.assign(_a, {
1677
+ }, fa = /* @__PURE__ */ Object.assign(ga, {
1642
1678
  props: {
1643
1679
  /**
1644
1680
  * >----------props----------<
@@ -1719,40 +1755,40 @@ const ia = { class: "bsgoal-base-search-table" }, da = { class: "base_search_tab
1719
1755
  }
1720
1756
  },
1721
1757
  setup(e) {
1722
- const s = e, l = O(!1);
1723
- Se("transferFoldStatus", l);
1724
- const r = u(s.configOptions), i = q(() => r.filter((x) => {
1725
- const { type: w = "" } = x;
1726
- return !!w;
1727
- })), a = q(() => r.filter((x) => {
1728
- const { item: w = !1 } = x;
1729
- return !w;
1730
- })), c = ke(), d = O(Object.keys(c)), p = O(null), N = (x) => {
1731
- p.value.refreshList(x);
1758
+ const s = e, l = k(!1);
1759
+ Ie("transferFoldStatus", l);
1760
+ const r = u(s.configOptions), i = J(() => r.filter((M) => {
1761
+ const { type: B = "" } = M;
1762
+ return !!B;
1763
+ })), t = J(() => r.filter((M) => {
1764
+ const { item: B = !1 } = M;
1765
+ return !B;
1766
+ })), c = Fe(), d = k(Object.keys(c)), p = k(null), N = (M) => {
1767
+ p.value.refreshList(M);
1732
1768
  };
1733
- return (x, w) => (n(), A("div", ia, [
1734
- S("div", da, [
1735
- $(ra, {
1769
+ return (M, B) => (n(), y("div", _a, [
1770
+ O("div", ma, [
1771
+ $(da, {
1736
1772
  "config-options": u(i),
1737
1773
  onOnSearch: N,
1738
1774
  onOnClear: N
1739
1775
  }, null, 8, ["config-options"]),
1740
- $(xe, {
1776
+ $(Ne, {
1741
1777
  ref_key: "BSGOAL_BASE_TABLE_REF",
1742
1778
  ref: p,
1743
1779
  operationWidth: e.operationWidth,
1744
- "config-options": u(a),
1780
+ "config-options": u(t),
1745
1781
  data: e.tableData,
1746
1782
  selection: e.selection,
1747
1783
  operation: e.operation,
1748
1784
  expression: e.expression,
1749
1785
  fetch: e.fetch,
1750
1786
  call: e.call
1751
- }, Ie({ _: 2 }, [
1752
- W(d.value, (D) => ({
1753
- name: D,
1754
- fn: V(({ row: U = {} }) => [
1755
- ae(x.$slots, D, { row: U })
1787
+ }, Re({ _: 2 }, [
1788
+ X(d.value, (w) => ({
1789
+ name: w,
1790
+ fn: x(({ row: U = {} }) => [
1791
+ q(M.$slots, w, { row: U })
1756
1792
  ])
1757
1793
  }))
1758
1794
  ]), 1032, ["operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call"])
@@ -1760,29 +1796,29 @@ const ia = { class: "bsgoal-base-search-table" }, da = { class: "base_search_tab
1760
1796
  ]));
1761
1797
  }
1762
1798
  });
1763
- const ga = { class: "bsgoal-base-tree-fold" }, fa = {
1799
+ const va = { class: "bsgoal-base-tree-fold" }, ha = {
1764
1800
  name: "BsgoalBaseTreeFold"
1765
- }, va = /* @__PURE__ */ Object.assign(fa, {
1801
+ }, pa = /* @__PURE__ */ Object.assign(ha, {
1766
1802
  props: ["modelValue"],
1767
1803
  emits: ["update:modelValue"],
1768
1804
  setup(e, { emit: s }) {
1769
- let l = O(!0);
1805
+ let l = k(!0);
1770
1806
  const r = () => {
1771
1807
  l.value = !l.value, s("update:modelValue", l.value);
1772
1808
  };
1773
- return (i, a) => {
1774
- const c = h("el-icon");
1775
- return n(), A("div", ga, [
1776
- S("div", {
1777
- class: re(["base_tree_fold", { "base_tree_fold--hide": !u(l) }]),
1809
+ return (i, t) => {
1810
+ const c = f("el-icon");
1811
+ return n(), y("div", va, [
1812
+ O("div", {
1813
+ class: de(["base_tree_fold", { "base_tree_fold--hide": !u(l) }]),
1778
1814
  onClick: r
1779
1815
  }, [
1780
1816
  $(c, { color: "#fff" }, {
1781
- default: V(() => [
1782
- Q($(u($t), null, null, 512), [
1817
+ default: x(() => [
1818
+ Q($(u(Bt), null, null, 512), [
1783
1819
  [le, u(l)]
1784
1820
  ]),
1785
- Q($(u(St), null, null, 512), [
1821
+ Q($(u(It), null, null, 512), [
1786
1822
  [le, !u(l)]
1787
1823
  ])
1788
1824
  ]),
@@ -1793,9 +1829,9 @@ const ga = { class: "bsgoal-base-tree-fold" }, fa = {
1793
1829
  };
1794
1830
  }
1795
1831
  });
1796
- const ha = { class: "bsgoal-base-tree" }, pa = { class: "base_tree" }, Ea = { class: "base_tree_main" }, ba = {
1832
+ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { class: "base_tree_main" }, Ta = {
1797
1833
  name: "BsgoalBaseTree"
1798
- }, ya = /* @__PURE__ */ Object.assign(ba, {
1834
+ }, Aa = /* @__PURE__ */ Object.assign(Ta, {
1799
1835
  props: {
1800
1836
  /**
1801
1837
  * 树结构 的下边距
@@ -1849,39 +1885,39 @@ const ha = { class: "bsgoal-base-tree" }, pa = { class: "base_tree" }, Ea = { cl
1849
1885
  },
1850
1886
  emits: ["on-click"],
1851
1887
  setup(e, { emit: s }) {
1852
- const l = e, r = Ee.height, i = O(""), a = O(null);
1853
- ce(i, (x) => {
1854
- a.value.filter(x);
1888
+ const l = e, r = Ee.height, i = k(""), t = k(null);
1889
+ ie(i, (M) => {
1890
+ t.value.filter(M);
1855
1891
  });
1856
- const c = (x, w) => x ? w.label.includes(x) : !0, d = O(!0), p = (x, w, D, U) => {
1857
- s("on-click", x, w, D, U);
1858
- }, N = async (x, w, D) => {
1859
- if (x.level === 0) {
1860
- const U = await D.initNode(x);
1861
- return w(U || []);
1892
+ const c = (M, B) => M ? B.label.includes(M) : !0, d = k(!0), p = (M, B, w, U) => {
1893
+ s("on-click", M, B, w, U);
1894
+ }, N = async (M, B, w) => {
1895
+ if (M.level === 0) {
1896
+ const U = await w.initNode(M);
1897
+ return B(U || []);
1862
1898
  } else {
1863
- const U = await D.lazyLoad(x);
1864
- w(U || []);
1899
+ const U = await w.lazyLoad(M);
1900
+ B(U || []);
1865
1901
  }
1866
1902
  };
1867
- return (x, w) => {
1868
- const D = h("el-input"), U = h("el-tree");
1869
- return n(), A("div", ha, [
1870
- Q((n(), A("div", pa, [
1871
- Q(S("div", Ea, [
1872
- $(D, {
1903
+ return (M, B) => {
1904
+ const w = f("el-input"), U = f("el-tree");
1905
+ return n(), y("div", Ea, [
1906
+ Q((n(), y("div", ba, [
1907
+ Q(O("div", ya, [
1908
+ $(w, {
1873
1909
  modelValue: i.value,
1874
- "onUpdate:modelValue": w[0] || (w[0] = (E) => i.value = E),
1910
+ "onUpdate:modelValue": B[0] || (B[0] = (E) => i.value = E),
1875
1911
  class: "base_tree_main_input",
1876
1912
  placeholder: "输入关键字过滤"
1877
1913
  }, null, 8, ["modelValue"]),
1878
1914
  $(U, {
1879
1915
  ref_key: "EL_TREE_REF",
1880
- ref: a,
1916
+ ref: t,
1881
1917
  lazy: "",
1882
1918
  "highlight-current": "",
1883
1919
  "empty-text": "暂无数据",
1884
- load: (E, b) => N(E, b, l),
1920
+ load: (E, T) => N(E, T, l),
1885
1921
  "expand-on-click-node": !1,
1886
1922
  props: e.treeProps,
1887
1923
  "filter-node-method": c,
@@ -1893,9 +1929,9 @@ const ha = { class: "bsgoal-base-tree" }, pa = { class: "base_tree" }, Ea = { cl
1893
1929
  Q($(ye, { vertical: "" }, null, 512), [
1894
1930
  [le, d.value]
1895
1931
  ]),
1896
- $(va, {
1932
+ $(pa, {
1897
1933
  modelValue: d.value,
1898
- "onUpdate:modelValue": w[1] || (w[1] = (E) => d.value = E)
1934
+ "onUpdate:modelValue": B[1] || (B[1] = (E) => d.value = E)
1899
1935
  }, null, 8, ["modelValue"])
1900
1936
  ])), [
1901
1937
  [u(r), e.gasket]
@@ -1904,9 +1940,9 @@ const ha = { class: "bsgoal-base-tree" }, pa = { class: "base_tree" }, Ea = { cl
1904
1940
  };
1905
1941
  }
1906
1942
  });
1907
- const Ta = { class: "bsgoal-base-dialog" }, Aa = { class: "base_dialog" }, Va = { class: "base_dialog_header" }, Ca = { class: "base_dialog_footer" }, Ma = {
1943
+ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va = { class: "base_dialog_header" }, Ma = { class: "base_dialog_footer" }, $a = {
1908
1944
  name: "BsgoalBaseDialog"
1909
- }, xa = /* @__PURE__ */ Object.assign(Ma, {
1945
+ }, Na = /* @__PURE__ */ Object.assign($a, {
1910
1946
  props: {
1911
1947
  /**
1912
1948
  * 弹窗状态
@@ -1968,20 +2004,20 @@ const Ta = { class: "bsgoal-base-dialog" }, Aa = { class: "base_dialog" }, Va =
1968
2004
  },
1969
2005
  emits: ["update:modelValue", "on-confirm"],
1970
2006
  setup(e, { emit: s }) {
1971
- const l = e, r = O(l.modelValue.value), i = () => {
2007
+ const l = e, r = k(l.modelValue.value), i = () => {
1972
2008
  r.value = !1;
1973
- }, a = () => {
2009
+ }, t = () => {
1974
2010
  r.value = !1, s("on-confirm");
1975
2011
  };
1976
- ce(
2012
+ ie(
1977
2013
  () => l.modelValue,
1978
2014
  (d) => {
1979
2015
  r.value = d;
1980
2016
  }
1981
- ), ce(r, (d) => {
2017
+ ), ie(r, (d) => {
1982
2018
  s("update:modelValue", d);
1983
2019
  });
1984
- const c = q(() => {
2020
+ const c = J(() => {
1985
2021
  const { width: d, size: p } = l;
1986
2022
  if (d)
1987
2023
  return d;
@@ -2001,45 +2037,45 @@ const Ta = { class: "bsgoal-base-dialog" }, Aa = { class: "base_dialog" }, Va =
2001
2037
  }
2002
2038
  });
2003
2039
  return (d, p) => {
2004
- const N = h("el-button"), x = h("el-dialog");
2005
- return n(), A("div", Ta, [
2006
- S("div", Aa, [
2007
- $(x, {
2040
+ const N = f("el-button"), M = f("el-dialog");
2041
+ return n(), y("div", xa, [
2042
+ O("div", Ca, [
2043
+ $(M, {
2008
2044
  modelValue: r.value,
2009
- "onUpdate:modelValue": p[0] || (p[0] = (w) => r.value = w),
2045
+ "onUpdate:modelValue": p[0] || (p[0] = (B) => r.value = B),
2010
2046
  "custom-class": "bsgoal_base_dialog_main",
2011
- class: re({ "bsgoal-dialog__footer--conceal": !e.footer }),
2047
+ class: de({ "bsgoal-dialog__footer--conceal": !e.footer }),
2012
2048
  width: u(c)
2013
2049
  }, {
2014
- header: V(() => [
2015
- S("div", Va, H(e.title), 1)
2050
+ header: x(() => [
2051
+ O("div", Va, j(e.title), 1)
2016
2052
  ]),
2017
- footer: V(() => [
2018
- e.footer ? ae(d.$slots, "footer", { key: 0 }, () => [
2019
- S("span", Ca, [
2053
+ footer: x(() => [
2054
+ e.footer ? q(d.$slots, "footer", { key: 0 }, () => [
2055
+ O("span", Ma, [
2020
2056
  $(N, { onClick: i }, {
2021
- default: V(() => [
2022
- X(H(e.cancelTxt), 1)
2057
+ default: x(() => [
2058
+ W(j(e.cancelTxt), 1)
2023
2059
  ]),
2024
2060
  _: 1
2025
2061
  }),
2026
2062
  $(N, {
2027
2063
  type: "primary",
2028
- onClick: a
2064
+ onClick: t
2029
2065
  }, {
2030
- default: V(() => [
2031
- X(H(e.confirmTxt), 1)
2066
+ default: x(() => [
2067
+ W(j(e.confirmTxt), 1)
2032
2068
  ]),
2033
2069
  _: 1
2034
2070
  })
2035
2071
  ])
2036
- ]) : M("", !0)
2072
+ ]) : V("", !0)
2037
2073
  ]),
2038
- default: V(() => [
2039
- S("div", {
2040
- class: re(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
2074
+ default: x(() => [
2075
+ O("div", {
2076
+ class: de(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
2041
2077
  }, [
2042
- ae(d.$slots, "default")
2078
+ q(d.$slots, "default")
2043
2079
  ], 2)
2044
2080
  ]),
2045
2081
  _: 3
@@ -2049,9 +2085,9 @@ const Ta = { class: "bsgoal-base-dialog" }, Aa = { class: "base_dialog" }, Va =
2049
2085
  };
2050
2086
  }
2051
2087
  });
2052
- const $a = { class: "bsgoal-base-tabs" }, Na = {
2088
+ const Ba = { class: "bsgoal-base-tabs" }, wa = {
2053
2089
  name: "BsgoalBaseTabs"
2054
- }, wa = /* @__PURE__ */ Object.assign(Na, {
2090
+ }, Da = /* @__PURE__ */ Object.assign(wa, {
2055
2091
  props: {
2056
2092
  /**
2057
2093
  * 配置项
@@ -2090,8 +2126,8 @@ const $a = { class: "bsgoal-base-tabs" }, Na = {
2090
2126
  s("update:modelValue", r);
2091
2127
  };
2092
2128
  return (r, i) => {
2093
- const a = h("el-tab-pane"), c = h("el-tabs");
2094
- return n(), A("div", $a, [
2129
+ const t = f("el-tab-pane"), c = f("el-tabs");
2130
+ return n(), y("div", Ba, [
2095
2131
  $(c, {
2096
2132
  stretch: "",
2097
2133
  class: "bsgoal_base_tabs",
@@ -2099,15 +2135,15 @@ const $a = { class: "bsgoal-base-tabs" }, Na = {
2099
2135
  "model-value": e.modelValue,
2100
2136
  onTabChange: l
2101
2137
  }, {
2102
- default: V(() => [
2103
- (n(!0), A(z, null, W(e.configOptions, ({ label: d, value: p }, N) => (n(), T(a, {
2138
+ default: x(() => [
2139
+ (n(!0), y(z, null, X(e.configOptions, ({ label: d, value: p }, N) => (n(), b(t, {
2104
2140
  key: N,
2105
2141
  label: d,
2106
2142
  name: p
2107
2143
  }, {
2108
- default: V(() => [
2109
- ae(r.$slots, p, {}, () => [
2110
- X(H(d), 1)
2144
+ default: x(() => [
2145
+ q(r.$slots, p, {}, () => [
2146
+ W(j(d), 1)
2111
2147
  ])
2112
2148
  ]),
2113
2149
  _: 2
@@ -2118,26 +2154,79 @@ const $a = { class: "bsgoal-base-tabs" }, Na = {
2118
2154
  ]);
2119
2155
  };
2120
2156
  }
2121
- }), Sa = t, ka = be, Ia = {
2157
+ });
2158
+ const ka = { class: "bsgoal-base-link" }, Oa = {
2159
+ name: "BsgoalBaseLink"
2160
+ }, Sa = /* @__PURE__ */ Object.assign(Oa, {
2161
+ props: {
2162
+ /**
2163
+ * 内容
2164
+ */
2165
+ content: {
2166
+ type: [String],
2167
+ default: "link"
2168
+ },
2169
+ /**
2170
+ * 是否下划线
2171
+ */
2172
+ underline: {
2173
+ type: [Boolean],
2174
+ default: !1
2175
+ },
2176
+ /**
2177
+ * style 对象
2178
+ */
2179
+ styler: {
2180
+ type: [Object],
2181
+ default: () => ({})
2182
+ }
2183
+ },
2184
+ emits: ["on-click"],
2185
+ setup(e, { emit: s }) {
2186
+ const l = () => {
2187
+ s("on-click");
2188
+ };
2189
+ return (r, i) => {
2190
+ const t = f("el-link");
2191
+ return n(), y("div", ka, [
2192
+ $(t, {
2193
+ class: "bsgoal_base_link",
2194
+ type: "primary",
2195
+ underline: e.underline,
2196
+ style: Ue(e.styler),
2197
+ onClick: l
2198
+ }, {
2199
+ default: x(() => [
2200
+ q(r.$slots, "default", {}, () => [
2201
+ W(j(e.content), 1)
2202
+ ], !0)
2203
+ ]),
2204
+ _: 3
2205
+ }, 8, ["underline", "style"])
2206
+ ]);
2207
+ };
2208
+ }
2209
+ }), Ia = /* @__PURE__ */ $e(Sa, [["__scopeId", "data-v-3b0290b0"]]), La = a, za = be, ja = {
2122
2210
  install(e, s = {}) {
2123
2211
  const { exclude: l = [] } = s, r = {
2124
- BsgoalBaseForm: Ge,
2125
- BsgoalBaseTable: xe,
2212
+ BsgoalBaseForm: We,
2213
+ BsgoalBaseTable: Ne,
2126
2214
  BsgoalBaseLine: ye,
2127
- BsgoalBaseSearchTable: ma,
2128
- BsgoalBaseTree: ya,
2129
- BsgoalBaseDialog: xa,
2130
- BsgoalBaseTabs: wa
2215
+ BsgoalBaseSearchTable: fa,
2216
+ BsgoalBaseTree: Aa,
2217
+ BsgoalBaseDialog: Na,
2218
+ BsgoalBaseTabs: Da,
2219
+ BsgoalBaseLink: Ia
2131
2220
  };
2132
- for (const [i, a] of Object.entries(r))
2133
- l.includes(i) || e.component(i, a);
2221
+ for (const [i, t] of Object.entries(r))
2222
+ l.includes(i) || e.component(i, t);
2134
2223
  },
2135
- enumType: t,
2224
+ enumType: a,
2136
2225
  useFetch: be
2137
2226
  };
2138
2227
  export {
2139
- Sa as EnumType,
2140
- Ia as default,
2141
- ka as useFetchApi
2228
+ La as EnumType,
2229
+ ja as default,
2230
+ za as useFetchApi
2142
2231
  };
2143
2232
  //# sourceMappingURL=index.mjs.map