@bsgoal/common 1.6.5 → 1.6.6

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
@@ -9,7 +9,7 @@ var xe = (e, s, l) => s in e ? we(e, s, { enumerable: !0, configurable: !0, writ
9
9
  De.call(s, l) && xe(e, l, s[l]);
10
10
  return e;
11
11
  };
12
- import { computed as Z, resolveComponent as f, openBlock as n, createElementBlock as b, createVNode as w, unref as u, withCtx as T, renderSlot as q, createTextVNode as W, toDisplayString as Y, ref as D, watchEffect as Ee, createElementVNode as S, withDirectives as X, createBlock as E, Fragment as j, renderList as Q, createCommentVNode as $, nextTick as Ce, inject as Ve, watch as de, resolveDirective as ke, normalizeClass as _e, vShow as ee, isProxy as Se, toRaw as Oe, provide as Ie, useSlots as Fe, createSlots as Re, normalizeStyle as Ue } from "vue";
12
+ import { computed as Z, resolveComponent as g, openBlock as n, createElementBlock as b, createVNode as w, unref as u, withCtx as T, renderSlot as q, createTextVNode as W, toDisplayString as Y, ref as D, watchEffect as Ee, createElementVNode as S, withDirectives as X, createBlock as E, Fragment as j, renderList as Q, createCommentVNode as $, nextTick as Ve, inject as Ce, watch as de, resolveDirective as ke, normalizeClass as _e, vShow as ee, isProxy as Se, toRaw as Oe, provide as Ie, useSlots as Fe, createSlots as Re, normalizeStyle as Ue } from "vue";
13
13
  import { ElMessage as Pe } from "element-plus";
14
14
  const a = {
15
15
  INPUT: "text",
@@ -36,9 +36,9 @@ const a = {
36
36
  let he = null;
37
37
  const pe = (e) => {
38
38
  const s = [], l = [], r = (t = []) => {
39
- const c = t.map((v) => v.width), d = Math.max(...c);
40
- t.forEach((v) => {
41
- const { labelEl: N } = v;
39
+ const c = t.map((f) => f.width), d = Math.max(...c);
40
+ t.forEach((f) => {
41
+ const { labelEl: N } = f;
42
42
  N.style.width = `${d}px`;
43
43
  });
44
44
  }, i = () => {
@@ -46,10 +46,10 @@ const pe = (e) => {
46
46
  const t = e.querySelectorAll(".el-form-item__label");
47
47
  if (t && t.length) {
48
48
  let c = 0;
49
- t.forEach((d, v) => {
49
+ t.forEach((d, f) => {
50
50
  d.style.width = "initial", d.style.whiteSpace = "nowrap";
51
51
  const { x: N = 0, width: k = 0 } = d.getBoundingClientRect(), x = { x: N, width: k, labelEl: d };
52
- v === 0 && (c = N), N === c ? s.push(x) : l.push(x);
52
+ f === 0 && (c = N), N === c ? s.push(x) : l.push(x);
53
53
  });
54
54
  }
55
55
  }
@@ -129,14 +129,14 @@ const Le = { class: "bsgoal-base-tooltip" }, ze = {
129
129
  const s = e, l = Z(() => {
130
130
  const { content: i = "", limit: t = 0, none: c = "" } = s;
131
131
  let d = i;
132
- const v = i.length;
133
- return t && v > t && (d = `${i.substring(0, t)}...`), d || c;
132
+ const f = i.length;
133
+ return t && f > t && (d = `${i.substring(0, t)}...`), d || c;
134
134
  }), r = Z(() => {
135
135
  const { content: i = "", limit: t = 0 } = s;
136
136
  return i.length < t || !t;
137
137
  });
138
138
  return (i, t) => {
139
- const c = f("el-tooltip");
139
+ const c = g("el-tooltip");
140
140
  return n(), b("div", Le, [
141
141
  w(c, {
142
142
  class: "base_tooltip",
@@ -224,8 +224,8 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
224
224
  setup(e, { expose: s, emit: l }) {
225
225
  const r = e, i = D(null), t = be.align, c = D({});
226
226
  Ee(() => {
227
- const { configOptions: p, values: y } = r, C = u(p), B = u(y);
228
- C.forEach((M) => {
227
+ const { configOptions: p, values: y } = r, V = u(p), B = u(y);
228
+ V.forEach((M) => {
229
229
  const { value: A = "", prop: O = "", type: I = "" } = M;
230
230
  [a.INPUT, a.INPUT_TEXT_AREA].includes(I), c.value[O] = B[O] || A;
231
231
  });
@@ -237,8 +237,8 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
237
237
  const O = { required: !0, message: `${A}不能为空`, trigger: "blur" };
238
238
  return M && (typeof M == "boolean" ? M = [O] : Array.isArray(M) ? M = [O, ...M] : M = [O, M]), B.rules = M, B;
239
239
  });
240
- }), v = (p = "", y = "", C = "") => {
241
- if (!C)
240
+ }), f = (p = "", y = "", V = "") => {
241
+ if (!V)
242
242
  switch (p) {
243
243
  case a.INPUT:
244
244
  case a.INPUT_TEXT_AREA:
@@ -259,7 +259,7 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
259
259
  case a.MONTH_RANGE:
260
260
  return ["开始月份", "结束月份"];
261
261
  }
262
- return C;
262
+ return V;
263
263
  }, N = (p = "", y = "") => {
264
264
  if (!y)
265
265
  switch (p) {
@@ -283,8 +283,8 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
283
283
  }
284
284
  return y;
285
285
  }, k = () => {
286
- const p = u(c), { configOptions: y } = r, C = u(y);
287
- for (const B of C) {
286
+ const p = u(c), { configOptions: y } = r, V = u(y);
287
+ for (const B of V) {
288
288
  const { type: M = "", range: A = [], prop: O = "" } = B;
289
289
  if (M.endsWith("range") && A && A.length === 2) {
290
290
  const { 0: I = "", 1: U = "" } = p[O], { 0: z = "", 1: F = "" } = A;
@@ -294,36 +294,36 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
294
294
  return l("on-form", p), p;
295
295
  }, x = () => {
296
296
  i.value.resetFields(), l("on-clear", c.value);
297
- }, V = (p, y) => {
298
- const C = {
297
+ }, C = (p, y) => {
298
+ const V = {
299
299
  type: p,
300
300
  prop: y,
301
301
  value: c.value[y] || ""
302
302
  };
303
- l("on-change", C);
303
+ l("on-change", V);
304
304
  };
305
305
  return s({
306
306
  triggerOperationClear: x,
307
307
  triggerOperationForm: k,
308
308
  validateForm: (p = () => {
309
309
  }) => {
310
- i.value.validate((y = !1, C = {}) => {
310
+ i.value.validate((y = !1, V = {}) => {
311
311
  if (y) {
312
312
  const B = k();
313
313
  p(B);
314
314
  } else {
315
315
  p(!1);
316
- const B = Object.keys(C)[0], {
316
+ const B = Object.keys(V)[0], {
317
317
  [B]: {
318
318
  0: { message: M = "" }
319
319
  }
320
- } = C;
320
+ } = V;
321
321
  Pe.error(M);
322
322
  }
323
323
  });
324
324
  }
325
325
  }), (p, y) => {
326
- const C = f("el-input"), B = f("el-input-number"), M = f("el-radio"), A = f("el-radio-group"), O = f("el-option"), I = f("el-select"), U = f("el-slider"), z = f("el-switch"), F = f("el-date-picker"), P = f("el-time-picker"), K = f("el-checkbox"), te = f("el-checkbox-group"), ae = f("el-form-item"), ue = f("el-col"), se = f("el-row"), ce = f("el-form");
326
+ const V = g("el-input"), B = g("el-input-number"), M = g("el-radio"), A = g("el-radio-group"), O = g("el-option"), I = g("el-select"), U = g("el-slider"), z = g("el-switch"), F = g("el-date-picker"), P = g("el-time-picker"), K = g("el-checkbox"), te = g("el-checkbox-group"), ae = g("el-form-item"), ue = g("el-col"), se = g("el-row"), ce = g("el-form");
327
327
  return n(), b("div", je, [
328
328
  S("div", Ye, [
329
329
  X((n(), E(ce, {
@@ -337,7 +337,7 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
337
337
  default: T(() => [
338
338
  (n(!0), b(j, null, Q(u(d), ({
339
339
  label: L = "",
340
- prop: h = "",
340
+ prop: v = "",
341
341
  type: o = "text",
342
342
  placeholder: _ = "",
343
343
  readonly: G = e.readonlys,
@@ -349,8 +349,8 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
349
349
  format: H = "",
350
350
  rules: le = [],
351
351
  limit: ne = e.limits
352
- } = {}, g) => (n(), E(ue, {
353
- key: g,
352
+ } = {}, h) => (n(), E(ue, {
353
+ key: h,
354
354
  xs: 24,
355
355
  sm: 24,
356
356
  md: e.medium
@@ -358,34 +358,34 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
358
358
  default: T(() => [
359
359
  w(ae, {
360
360
  label: L,
361
- prop: h,
361
+ prop: v,
362
362
  rules: le
363
363
  }, {
364
364
  default: T(() => [
365
365
  G ? (n(), b("div", Ge, [
366
366
  w(Me, {
367
- content: c.value[h],
367
+ content: c.value[v],
368
368
  limit: ne,
369
369
  none: e.none
370
370
  }, null, 8, ["content", "limit", "none"])
371
371
  ])) : (n(), b(j, { key: 0 }, [
372
- o === u(a).INPUT ? (n(), E(C, {
372
+ o === u(a).INPUT ? (n(), E(V, {
373
373
  key: 0,
374
- modelValue: c.value[h],
375
- "onUpdate:modelValue": (m) => c.value[h] = m,
376
- placeholder: v(o, L, _),
374
+ modelValue: c.value[v],
375
+ "onUpdate:modelValue": (m) => c.value[v] = m,
376
+ placeholder: f(o, L, _),
377
377
  clearable: me,
378
- onChange: (m) => V(o, h)
378
+ onChange: (m) => C(o, v)
379
379
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
380
- o === u(a).INPUT_TEXT_AREA ? (n(), E(C, {
380
+ o === u(a).INPUT_TEXT_AREA ? (n(), E(V, {
381
381
  key: 1,
382
- modelValue: c.value[h],
383
- "onUpdate:modelValue": (m) => c.value[h] = m,
382
+ modelValue: c.value[v],
383
+ "onUpdate:modelValue": (m) => c.value[v] = m,
384
384
  type: "textarea",
385
385
  rows: ge,
386
386
  clearable: me,
387
- placeholder: v(o, L, _),
388
- onChange: (m) => V(o, h)
387
+ placeholder: f(o, L, _),
388
+ onChange: (m) => C(o, v)
389
389
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
390
390
  o === u(a).INPUT_NUMBER ? (n(), E(B, {
391
391
  key: 2,
@@ -393,13 +393,13 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
393
393
  "onUpdate:modelValue": y[0] || (y[0] = (m) => p.num = m),
394
394
  min: fe,
395
395
  max: re,
396
- onChange: V
396
+ onChange: C
397
397
  }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
398
398
  o === u(a).RADIO ? (n(), E(A, {
399
399
  key: 3,
400
- modelValue: c.value[h],
401
- "onUpdate:modelValue": (m) => c.value[h] = m,
402
- onChange: (m) => V(o, h)
400
+ modelValue: c.value[v],
401
+ "onUpdate:modelValue": (m) => c.value[v] = m,
402
+ onChange: (m) => C(o, v)
403
403
  }, {
404
404
  default: T(() => [
405
405
  (n(!0), b(j, null, Q(J, (m, ie) => (n(), E(M, {
@@ -416,10 +416,10 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
416
416
  }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
417
417
  o === u(a).SELECT ? (n(), E(I, {
418
418
  key: 4,
419
- modelValue: c.value[h],
420
- "onUpdate:modelValue": (m) => c.value[h] = m,
421
- placeholder: v(o, L, _),
422
- onChange: (m) => V(o, h)
419
+ modelValue: c.value[v],
420
+ "onUpdate:modelValue": (m) => c.value[v] = m,
421
+ placeholder: f(o, L, _),
422
+ onChange: (m) => C(o, v)
423
423
  }, {
424
424
  default: T(() => [
425
425
  (n(!0), b(j, null, Q(J, (m, ie) => (n(), E(O, {
@@ -432,31 +432,31 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
432
432
  }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
433
433
  o === u(a).SLIDER ? (n(), E(U, {
434
434
  key: 5,
435
- modelValue: c.value[h],
436
- "onUpdate:modelValue": (m) => c.value[h] = m,
435
+ modelValue: c.value[v],
436
+ "onUpdate:modelValue": (m) => c.value[v] = m,
437
437
  min: fe,
438
438
  max: re,
439
- onChange: (m) => V(o, h)
439
+ onChange: (m) => C(o, v)
440
440
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
441
441
  o === u(a).SWITCH ? (n(), E(z, {
442
442
  key: 6,
443
- modelValue: c.value[h],
444
- "onUpdate:modelValue": (m) => c.value[h] = m,
443
+ modelValue: c.value[v],
444
+ "onUpdate:modelValue": (m) => c.value[v] = m,
445
445
  "active-value": J[0] || !0,
446
446
  "inactive-value": J[1] || !1,
447
- onChange: (m) => V(o, h)
447
+ onChange: (m) => C(o, v)
448
448
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
449
449
  [u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
450
450
  o
451
451
  ) ? (n(), E(F, {
452
452
  key: 7,
453
- modelValue: c.value[h],
454
- "onUpdate:modelValue": (m) => c.value[h] = m,
453
+ modelValue: c.value[v],
454
+ "onUpdate:modelValue": (m) => c.value[v] = m,
455
455
  format: N(o, H),
456
456
  "value-format": N(o, H),
457
457
  type: o,
458
- placeholder: v(o, L, _),
459
- onChange: (m) => V(o, h)
458
+ placeholder: f(o, L, _),
459
+ onChange: (m) => C(o, v)
460
460
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
461
461
  [
462
462
  u(a).DATE_RANGE,
@@ -464,38 +464,38 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
464
464
  u(a).DATE_TIME_RANGE
465
465
  ].includes(o) ? (n(), E(F, {
466
466
  key: 8,
467
- modelValue: c.value[h],
468
- "onUpdate:modelValue": (m) => c.value[h] = m,
467
+ modelValue: c.value[v],
468
+ "onUpdate:modelValue": (m) => c.value[v] = m,
469
469
  type: o,
470
470
  "value-format": N(o, H),
471
- "start-placeholder": v(o, L, _)[0],
472
- "end-placeholder": v(o, L, _)[1],
473
- onChange: (m) => V(o, h)
471
+ "start-placeholder": f(o, L, _)[0],
472
+ "end-placeholder": f(o, L, _)[1],
473
+ onChange: (m) => C(o, v)
474
474
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
475
475
  [u(a).TIME].includes(o) ? (n(), E(P, {
476
476
  key: 9,
477
- modelValue: c.value[h],
478
- "onUpdate:modelValue": (m) => c.value[h] = m,
477
+ modelValue: c.value[v],
478
+ "onUpdate:modelValue": (m) => c.value[v] = m,
479
479
  "arrow-control": "",
480
480
  "value-format": N(o, H),
481
- placeholder: v(o, L, _),
482
- onChange: (m) => V(o, h)
481
+ placeholder: f(o, L, _),
482
+ onChange: (m) => C(o, v)
483
483
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
484
484
  [u(a).TIME_RANGE].includes(o) ? (n(), E(P, {
485
485
  key: 10,
486
- modelValue: c.value[h],
487
- "onUpdate:modelValue": (m) => c.value[h] = m,
486
+ modelValue: c.value[v],
487
+ "onUpdate:modelValue": (m) => c.value[v] = m,
488
488
  "is-range": "",
489
489
  "value-format": N(o, H),
490
- "start-placeholder": v(o, L, _)[0],
491
- "end-placeholder": v(o, L, _)[1],
492
- onChange: (m) => V(o, h)
490
+ "start-placeholder": f(o, L, _)[0],
491
+ "end-placeholder": f(o, L, _)[1],
492
+ onChange: (m) => C(o, v)
493
493
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
494
494
  [u(a).CHECKBOX].includes(o) ? (n(), E(te, {
495
495
  key: 11,
496
- modelValue: c.value[h],
497
- "onUpdate:modelValue": (m) => c.value[h] = m,
498
- onChange: (m) => V(o, h)
496
+ modelValue: c.value[v],
497
+ "onUpdate:modelValue": (m) => c.value[v] = m,
498
+ onChange: (m) => C(o, v)
499
499
  }, {
500
500
  default: T(() => [
501
501
  (n(!0), b(j, null, Q(J, (m, ie) => (n(), E(K, {
@@ -741,10 +741,10 @@ const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_
741
741
  s("on-current-change", t);
742
742
  }, i = D(1);
743
743
  return (t, c) => {
744
- const d = f("el-pagination"), v = f("el-config-provider");
744
+ const d = g("el-pagination"), f = g("el-config-provider");
745
745
  return n(), b("div", et, [
746
746
  S("div", tt, [
747
- w(v, { locale: u(qe) }, {
747
+ w(f, { locale: u(qe) }, {
748
748
  default: T(() => [
749
749
  w(d, {
750
750
  background: "",
@@ -795,11 +795,11 @@ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expressio
795
795
  const i = u(e);
796
796
  if (i) {
797
797
  const t = i.querySelector(".el-table");
798
- t && Ce(() => {
798
+ t && Ve(() => {
799
799
  const { y: c = 0 } = t.getBoundingClientRect();
800
800
  let d = `calc(100vh - ${c + s}px)`;
801
- const v = Number.parseInt(r);
802
- r && (v ? d = `${r}px` : d = r), t.style.height = d;
801
+ const f = Number.parseInt(r);
802
+ r && (f ? d = `${r}px` : d = r), t.style.height = d;
803
803
  });
804
804
  }
805
805
  }, ye = (e = Promise.resolve(), s = null, l = D(!1), r = D(null)) => {
@@ -955,7 +955,7 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
955
955
  prop: "operation",
956
956
  width: I
957
957
  }), [...U, ...z];
958
- }), i = D(null), t = Ve("transferFoldStatus");
958
+ }), i = D(null), t = Ce("transferFoldStatus");
959
959
  Ee(() => {
960
960
  const { height: A } = l, O = t ? t.value : !1, I = u(l.expression);
961
961
  mt(A) || dt(i, { arg: O, expression: I, height: A });
@@ -965,26 +965,26 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
965
965
  pageSize: "pageSize",
966
966
  rows: "rows",
967
967
  total: "total"
968
- }, c), v = D(1), N = D(10), k = D(0), x = D({}), V = D(l.loading), R = D(l.data), p = D({}), y = () => {
969
- const { fetch: A, call: O, hasPage: I } = l, U = x.value, z = v.value, F = N.value, P = ve({}, U);
970
- I && (P[d.currentPage] = z, P[d.pageSize] = F), ye(A(P), O, V, p);
968
+ }, c), f = D(1), N = D(10), k = D(0), x = D({}), C = D(l.loading), R = D(l.data), p = D({}), y = () => {
969
+ const { fetch: A, call: O, hasPage: I } = l, U = x.value, z = f.value, F = N.value, P = ve({}, U);
970
+ I && (P[d.currentPage] = z, P[d.pageSize] = F), ye(A(P), O, C, p);
971
971
  };
972
972
  de(p, (A) => {
973
973
  l.hasPage ? (R.value = A[d.rows], k.value = A[d.total]) : R.value = A;
974
974
  });
975
- const C = (A = {}) => {
976
- x.value = A, v.value = 1, y();
975
+ const V = (A = {}) => {
976
+ x.value = A, f.value = 1, y();
977
977
  }, B = (A = 1) => {
978
- v.value = A;
978
+ f.value = A;
979
979
  }, M = (A = 10) => {
980
980
  N.value = A;
981
981
  };
982
- return de([v, N], () => {
982
+ return de([f, N], () => {
983
983
  y();
984
984
  }), s({
985
- refreshList: C
985
+ refreshList: V
986
986
  }), (A, O) => {
987
- const I = f("el-table-column"), U = f("el-table"), z = ke("loading");
987
+ const I = g("el-table-column"), U = g("el-table"), z = ke("loading");
988
988
  return n(), b("div", gt, [
989
989
  S("div", ft, [
990
990
  A.$slots.menu ? (n(), b("div", vt, [
@@ -1047,7 +1047,7 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
1047
1047
  ]),
1048
1048
  _: 3
1049
1049
  }, 8, ["data", "header-cell-style"])), [
1050
- [z, V.value]
1050
+ [z, C.value]
1051
1051
  ])
1052
1052
  ], 512),
1053
1053
  e.hasPage ? (n(), E(nt, {
@@ -1109,9 +1109,9 @@ var oe = (e, s) => {
1109
1109
  function At(e, s, l, r, i, t) {
1110
1110
  return n(), b("svg", bt, Tt);
1111
1111
  }
1112
- var xt = /* @__PURE__ */ oe(Et, [["render", At], ["__file", "arrow-down.vue"]]), Ct = {
1112
+ var xt = /* @__PURE__ */ oe(Et, [["render", At], ["__file", "arrow-down.vue"]]), Vt = {
1113
1113
  name: "ArrowLeft"
1114
- }, Vt = {
1114
+ }, Ct = {
1115
1115
  xmlns: "http://www.w3.org/2000/svg",
1116
1116
  viewBox: "0 0 1024 1024"
1117
1117
  }, Mt = /* @__PURE__ */ S(
@@ -1127,9 +1127,9 @@ var xt = /* @__PURE__ */ oe(Et, [["render", At], ["__file", "arrow-down.vue"]]),
1127
1127
  Mt
1128
1128
  ];
1129
1129
  function Nt(e, s, l, r, i, t) {
1130
- return n(), b("svg", Vt, $t);
1130
+ return n(), b("svg", Ct, $t);
1131
1131
  }
1132
- var wt = /* @__PURE__ */ oe(Ct, [["render", Nt], ["__file", "arrow-left.vue"]]), Bt = {
1132
+ var wt = /* @__PURE__ */ oe(Vt, [["render", Nt], ["__file", "arrow-left.vue"]]), Bt = {
1133
1133
  name: "ArrowRight"
1134
1134
  }, Dt = {
1135
1135
  xmlns: "http://www.w3.org/2000/svg",
@@ -1228,12 +1228,12 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
1228
1228
  l.value = !u(l), s("on-fold", l.value);
1229
1229
  };
1230
1230
  return (i, t) => {
1231
- const c = f("el-button"), d = f("el-icon");
1231
+ const c = g("el-button"), d = g("el-icon");
1232
1232
  return n(), b("div", ta, [
1233
1233
  w(c, {
1234
1234
  type: "primary",
1235
1235
  icon: u(ea),
1236
- onClick: t[0] || (t[0] = (v) => i.$emit("on-search"))
1236
+ onClick: t[0] || (t[0] = (f) => i.$emit("on-search"))
1237
1237
  }, {
1238
1238
  default: T(() => [
1239
1239
  W("搜索")
@@ -1242,7 +1242,7 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
1242
1242
  }, 8, ["icon"]),
1243
1243
  w(c, {
1244
1244
  icon: u(Xt),
1245
- onClick: t[1] || (t[1] = (v) => i.$emit("on-clear"))
1245
+ onClick: t[1] || (t[1] = (f) => i.$emit("on-clear"))
1246
1246
  }, {
1247
1247
  default: T(() => [
1248
1248
  W("清空")
@@ -1314,7 +1314,7 @@ const na = { class: "bsgoal-base-cascader" }, oa = {
1314
1314
  s("update:model-value", i), s("on-change", i);
1315
1315
  };
1316
1316
  return (i, t) => {
1317
- const c = f("el-cascader");
1317
+ const c = g("el-cascader");
1318
1318
  return n(), b("div", na, [
1319
1319
  w(c, {
1320
1320
  clearable: "",
@@ -1383,16 +1383,16 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1383
1383
  });
1384
1384
  });
1385
1385
  const c = Z(() => {
1386
- const { configOptions: y } = l, C = u(y), B = {
1386
+ const { configOptions: y } = l, V = u(y), B = {
1387
1387
  type: a.OPERATION
1388
1388
  };
1389
- return [...C, B];
1390
- }), d = (y = "", C = "", B = "") => {
1389
+ return [...V, B];
1390
+ }), d = (y = "", V = "", B = "") => {
1391
1391
  if (!B)
1392
1392
  switch (y) {
1393
1393
  case a.INPUT:
1394
1394
  case a.INPUT_TEXT_AREA:
1395
- return `请输入${C}`;
1395
+ return `请输入${V}`;
1396
1396
  case a.SELECT:
1397
1397
  case a.DATE:
1398
1398
  case a.WEEK:
@@ -1401,7 +1401,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1401
1401
  case a.DATE_TIME:
1402
1402
  case a.TIME:
1403
1403
  case a.CASCADER:
1404
- return `请选择${C}`;
1404
+ return `请选择${V}`;
1405
1405
  case a.DATE_RANGE:
1406
1406
  case a.DATE_TIME_RANGE:
1407
1407
  return ["开始日期", "结束日期"];
@@ -1411,8 +1411,8 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1411
1411
  return ["开始月份", "结束月份"];
1412
1412
  }
1413
1413
  return B;
1414
- }, v = (y = "", C = "") => {
1415
- if (!C)
1414
+ }, f = (y = "", V = "") => {
1415
+ if (!V)
1416
1416
  switch (y) {
1417
1417
  case a.WEEK:
1418
1418
  return "ww";
@@ -1432,11 +1432,11 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1432
1432
  case a.DATE_TIME_RANGE:
1433
1433
  return "YYYY-MM-DD HH:mm:ss";
1434
1434
  }
1435
- return C;
1435
+ return V;
1436
1436
  }, N = () => {
1437
- const { configOptions: y } = l, C = u(t), B = u(y), M = {};
1437
+ const { configOptions: y } = l, V = u(t), B = u(y), M = {};
1438
1438
  for (const A of B) {
1439
- const { type: O = "", range: I = [], prop: U = "", single: z = !1 } = A, F = C[U];
1439
+ const { type: O = "", range: I = [], prop: U = "", single: z = !1 } = A, F = V[U];
1440
1440
  if ([a.CASCADER].includes(O) && Array.isArray(F) && z) {
1441
1441
  const P = F.length;
1442
1442
  P ? M[U] = F[P - 1] : M[U] = F;
@@ -1449,24 +1449,24 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1449
1449
  }
1450
1450
  s("on-search", M), s("update:modelValue", M);
1451
1451
  };
1452
- Ce(() => {
1452
+ Ve(() => {
1453
1453
  N();
1454
1454
  });
1455
1455
  const k = () => {
1456
1456
  r.value.resetFields(), s("on-clear", t.value);
1457
- }, x = Ve("transferFoldStatus"), V = D(!1), R = (y = !1) => {
1458
- V.value = y, x && (x.value = y), s("on-fold", V);
1459
- }, p = (y, C) => {
1457
+ }, x = Ce("transferFoldStatus"), C = D(!1), R = (y = !1) => {
1458
+ C.value = y, x && (x.value = y), s("on-fold", C);
1459
+ }, p = (y, V) => {
1460
1460
  N();
1461
1461
  const B = {
1462
1462
  type: y,
1463
- prop: C,
1464
- value: t.value[C] || ""
1463
+ prop: V,
1464
+ value: t.value[V] || ""
1465
1465
  };
1466
1466
  s("on-change", B);
1467
1467
  };
1468
- return (y, C) => {
1469
- const B = f("el-input"), M = f("el-input-number"), A = f("el-radio"), O = f("el-radio-group"), I = f("el-option"), U = f("el-select"), z = f("el-slider"), F = f("el-switch"), P = f("el-date-picker"), K = f("el-time-picker"), te = f("el-checkbox"), ae = f("el-checkbox-group"), ue = f("el-form-item"), se = f("el-col"), ce = f("el-row"), L = f("el-form");
1468
+ return (y, V) => {
1469
+ const B = g("el-input"), M = g("el-input-number"), A = g("el-radio"), O = g("el-radio-group"), I = g("el-option"), U = g("el-select"), z = g("el-slider"), F = g("el-switch"), P = g("el-date-picker"), K = g("el-time-picker"), te = g("el-checkbox"), ae = g("el-checkbox-group"), ue = g("el-form-item"), se = g("el-col"), ce = g("el-row"), L = g("el-form");
1470
1470
  return n(), b("div", sa, [
1471
1471
  S("div", ca, [
1472
1472
  X((n(), E(L, {
@@ -1480,7 +1480,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1480
1480
  w(ce, null, {
1481
1481
  default: T(() => [
1482
1482
  (n(!0), b(j, null, Q(u(c), ({
1483
- label: h = "",
1483
+ label: v = "",
1484
1484
  prop: o = "",
1485
1485
  type: _ = "text",
1486
1486
  placeholder: G = "",
@@ -1499,7 +1499,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1499
1499
  }, {
1500
1500
  default: T(() => [
1501
1501
  w(ue, {
1502
- label: h,
1502
+ label: v,
1503
1503
  prop: o
1504
1504
  }, {
1505
1505
  default: T(() => [
@@ -1507,25 +1507,24 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1507
1507
  _ === u(a).INPUT ? (n(), E(B, {
1508
1508
  key: 0,
1509
1509
  modelValue: t.value[o],
1510
- "onUpdate:modelValue": (g) => t.value[o] = g,
1511
- placeholder: d(_, h, G),
1512
- clearable: ge,
1513
- onChange: (g) => p(_, o)
1514
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
1510
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1511
+ placeholder: d(_, v, G),
1512
+ clearable: ge
1513
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : $("", !0),
1515
1514
  _ === u(a).INPUT_TEXT_AREA ? (n(), E(B, {
1516
1515
  key: 1,
1517
1516
  modelValue: t.value[o],
1518
- "onUpdate:modelValue": (g) => t.value[o] = g,
1517
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1519
1518
  type: "textarea",
1520
1519
  rows: fe,
1521
1520
  clearable: ge,
1522
- placeholder: d(_, h, G),
1523
- onChange: (g) => p(_, o)
1521
+ placeholder: d(_, v, G),
1522
+ onChange: (h) => p(_, o)
1524
1523
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
1525
1524
  _ === u(a).INPUT_NUMBER ? (n(), E(M, {
1526
1525
  key: 2,
1527
1526
  modelValue: y.num,
1528
- "onUpdate:modelValue": C[0] || (C[0] = (g) => y.num = g),
1527
+ "onUpdate:modelValue": V[0] || (V[0] = (h) => y.num = h),
1529
1528
  min: re,
1530
1529
  max: J,
1531
1530
  onChange: p
@@ -1533,16 +1532,16 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1533
1532
  _ === u(a).RADIO ? (n(), E(O, {
1534
1533
  key: 3,
1535
1534
  modelValue: t.value[o],
1536
- "onUpdate:modelValue": (g) => t.value[o] = g,
1537
- onChange: (g) => p(_, o)
1535
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1536
+ onChange: (h) => p(_, o)
1538
1537
  }, {
1539
1538
  default: T(() => [
1540
- (n(!0), b(j, null, Q(H, (g, m) => (n(), E(A, {
1539
+ (n(!0), b(j, null, Q(H, (h, m) => (n(), E(A, {
1541
1540
  key: m,
1542
- label: g.value
1541
+ label: h.value
1543
1542
  }, {
1544
1543
  default: T(() => [
1545
- W(Y(g.label), 1)
1544
+ W(Y(h.label), 1)
1546
1545
  ]),
1547
1546
  _: 2
1548
1547
  }, 1032, ["label"]))), 128))
@@ -1552,15 +1551,15 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1552
1551
  _ === u(a).SELECT ? (n(), E(U, {
1553
1552
  key: 4,
1554
1553
  modelValue: t.value[o],
1555
- "onUpdate:modelValue": (g) => t.value[o] = g,
1556
- placeholder: d(_, h, G),
1557
- onChange: (g) => p(_, o)
1554
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1555
+ placeholder: d(_, v, G),
1556
+ onChange: (h) => p(_, o)
1558
1557
  }, {
1559
1558
  default: T(() => [
1560
- (n(!0), b(j, null, Q(H, (g, m) => (n(), E(I, {
1559
+ (n(!0), b(j, null, Q(H, (h, m) => (n(), E(I, {
1561
1560
  key: m,
1562
- label: g.label,
1563
- value: g.value
1561
+ label: h.label,
1562
+ value: h.value
1564
1563
  }, null, 8, ["label", "value"]))), 128))
1565
1564
  ]),
1566
1565
  _: 2
@@ -1568,30 +1567,30 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1568
1567
  _ === u(a).SLIDER ? (n(), E(z, {
1569
1568
  key: 5,
1570
1569
  modelValue: t.value[o],
1571
- "onUpdate:modelValue": (g) => t.value[o] = g,
1570
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1572
1571
  min: re,
1573
1572
  max: J,
1574
- onChange: (g) => p(_, o)
1573
+ onChange: (h) => p(_, o)
1575
1574
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
1576
1575
  _ === u(a).SWITCH ? (n(), E(F, {
1577
1576
  key: 6,
1578
1577
  modelValue: t.value[o],
1579
- "onUpdate:modelValue": (g) => t.value[o] = g,
1578
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1580
1579
  "active-value": H[0] || !0,
1581
1580
  "inactive-value": H[1] || !1,
1582
- onChange: (g) => p(_, o)
1581
+ onChange: (h) => p(_, o)
1583
1582
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
1584
1583
  [u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
1585
1584
  _
1586
1585
  ) ? (n(), E(P, {
1587
1586
  key: 7,
1588
1587
  modelValue: t.value[o],
1589
- "onUpdate:modelValue": (g) => t.value[o] = g,
1590
- format: v(_, le),
1591
- "value-format": v(_, le),
1588
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1589
+ format: f(_, le),
1590
+ "value-format": f(_, le),
1592
1591
  type: _,
1593
- placeholder: d(_, h, G),
1594
- onChange: (g) => p(_, o)
1592
+ placeholder: d(_, v, G),
1593
+ onChange: (h) => p(_, o)
1595
1594
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
1596
1595
  [
1597
1596
  u(a).DATE_RANGE,
@@ -1600,45 +1599,45 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1600
1599
  ].includes(_) ? (n(), E(P, {
1601
1600
  key: 8,
1602
1601
  modelValue: t.value[o],
1603
- "onUpdate:modelValue": (g) => t.value[o] = g,
1602
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1604
1603
  type: _,
1605
- "value-format": v(_, le),
1606
- "start-placeholder": d(_, h, G)[0],
1607
- "end-placeholder": d(_, h, G)[1],
1608
- onChange: (g) => p(_, o)
1604
+ "value-format": f(_, le),
1605
+ "start-placeholder": d(_, v, G)[0],
1606
+ "end-placeholder": d(_, v, G)[1],
1607
+ onChange: (h) => p(_, o)
1609
1608
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1610
1609
  [u(a).TIME].includes(_) ? (n(), E(K, {
1611
1610
  key: 9,
1612
1611
  modelValue: t.value[o],
1613
- "onUpdate:modelValue": (g) => t.value[o] = g,
1612
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1614
1613
  "arrow-control": "",
1615
- "value-format": v(_, le),
1616
- placeholder: d(_, h, G),
1617
- onChange: (g) => p(_, o)
1614
+ "value-format": f(_, le),
1615
+ placeholder: d(_, v, G),
1616
+ onChange: (h) => p(_, o)
1618
1617
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
1619
1618
  [u(a).TIME_RANGE].includes(_) ? (n(), E(K, {
1620
1619
  key: 10,
1621
1620
  modelValue: t.value[o],
1622
- "onUpdate:modelValue": (g) => t.value[o] = g,
1621
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1623
1622
  "is-range": "",
1624
- "value-format": v(_, le),
1625
- "start-placeholder": d(_, h, G)[0],
1626
- "end-placeholder": d(_, h, G)[1],
1627
- onChange: (g) => p(_, o)
1623
+ "value-format": f(_, le),
1624
+ "start-placeholder": d(_, v, G)[0],
1625
+ "end-placeholder": d(_, v, G)[1],
1626
+ onChange: (h) => p(_, o)
1628
1627
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1629
1628
  [u(a).CHECKBOX].includes(_) ? (n(), E(ae, {
1630
1629
  key: 11,
1631
1630
  modelValue: t.value[o],
1632
- "onUpdate:modelValue": (g) => t.value[o] = g,
1633
- onChange: (g) => p(_, o)
1631
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1632
+ onChange: (h) => p(_, o)
1634
1633
  }, {
1635
1634
  default: T(() => [
1636
- (n(!0), b(j, null, Q(H, (g, m) => (n(), E(te, {
1635
+ (n(!0), b(j, null, Q(H, (h, m) => (n(), E(te, {
1637
1636
  key: m,
1638
- label: g.value
1637
+ label: h.value
1639
1638
  }, {
1640
1639
  default: T(() => [
1641
- W(Y(g.label), 1)
1640
+ W(Y(h.label), 1)
1642
1641
  ]),
1643
1642
  _: 2
1644
1643
  }, 1032, ["label"]))), 128))
@@ -1648,10 +1647,10 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1648
1647
  [u(a).CASCADER].includes(_) ? (n(), E(ua, {
1649
1648
  key: 12,
1650
1649
  modelValue: t.value[o],
1651
- "onUpdate:modelValue": (g) => t.value[o] = g,
1650
+ "onUpdate:modelValue": (h) => t.value[o] = h,
1652
1651
  "data-options": H,
1653
- placeholder: d(_, h, G),
1654
- onOnChange: (g) => p(_, o)
1652
+ placeholder: d(_, v, G),
1653
+ onOnChange: (h) => p(_, o)
1655
1654
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : $("", !0),
1656
1655
  [].includes(_) ? (n(), b(j, { key: 13 }, [], 64)) : $("", !0),
1657
1656
  [u(a).OPERATION].includes(_) ? (n(), E(la, {
@@ -1668,7 +1667,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1668
1667
  ]),
1669
1668
  _: 2
1670
1669
  }, 1032, ["md"])), [
1671
- [ee, ne < 7 || _ === u(a).OPERATION || ne >= 7 && V.value]
1670
+ [ee, ne < 7 || _ === u(a).OPERATION || ne >= 7 && C.value]
1672
1671
  ])), 128))
1673
1672
  ]),
1674
1673
  _: 1
@@ -1796,18 +1795,18 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
1796
1795
  const s = e, l = D(!1);
1797
1796
  Ie("transferFoldStatus", l);
1798
1797
  const r = u(s.configOptions), i = Z(() => r.filter((x) => {
1799
- const { type: V = "" } = x;
1800
- return !!V;
1798
+ const { type: C = "" } = x;
1799
+ return !!C;
1801
1800
  })), t = Z(() => r.filter((x) => {
1802
- const { item: V = !1 } = x;
1803
- return !V;
1804
- })), c = Fe(), d = D(Object.keys(c)), v = D(null), N = (x) => {
1805
- v.value.refreshList(x);
1801
+ const { item: C = !1 } = x;
1802
+ return !C;
1803
+ })), c = Fe(), d = D(Object.keys(c)), f = D(null), N = (x) => {
1804
+ f.value.refreshList(x);
1806
1805
  }, k = Z(() => {
1807
- const { expression: x, hasPage: V } = s;
1808
- return V === !1 ? 25 : x;
1806
+ const { expression: x, hasPage: C } = s;
1807
+ return C === !1 ? 25 : x;
1809
1808
  });
1810
- return (x, V) => (n(), b("div", _a, [
1809
+ return (x, C) => (n(), b("div", _a, [
1811
1810
  S("div", ma, [
1812
1811
  X(w(da, {
1813
1812
  "config-options": u(i),
@@ -1818,7 +1817,7 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
1818
1817
  ]),
1819
1818
  w(Ne, {
1820
1819
  ref_key: "BSGOAL_BASE_TABLE_REF",
1821
- ref: v,
1820
+ ref: f,
1822
1821
  "map-props": e.mapProps,
1823
1822
  operationWidth: e.operationWidth,
1824
1823
  "config-options": u(t),
@@ -1852,7 +1851,7 @@ const va = { class: "bsgoal-base-tree-fold" }, ha = {
1852
1851
  l.value = !l.value, s("update:modelValue", l.value);
1853
1852
  };
1854
1853
  return (i, t) => {
1855
- const c = f("el-icon");
1854
+ const c = g("el-icon");
1856
1855
  return n(), b("div", va, [
1857
1856
  S("div", {
1858
1857
  class: _e(["base_tree_fold", { "base_tree_fold--hide": !u(l) }]),
@@ -1934,23 +1933,23 @@ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { cl
1934
1933
  de(i, (k) => {
1935
1934
  t.value.filter(k);
1936
1935
  });
1937
- const c = (k, x) => k ? x.label.includes(k) : !0, d = D(!0), v = (k, x, V, R) => {
1938
- s("on-click", k, x, V, R);
1939
- }, N = async (k, x, V) => {
1936
+ const c = (k, x) => k ? x.label.includes(k) : !0, d = D(!0), f = (k, x, C, R) => {
1937
+ s("on-click", k, x, C, R);
1938
+ }, N = async (k, x, C) => {
1940
1939
  if (k.level === 0) {
1941
- const R = await V.initNode(k);
1940
+ const R = await C.initNode(k);
1942
1941
  return x(R || []);
1943
1942
  } else {
1944
- const R = await V.lazyLoad(k);
1943
+ const R = await C.lazyLoad(k);
1945
1944
  x(R || []);
1946
1945
  }
1947
1946
  };
1948
1947
  return (k, x) => {
1949
- const V = f("el-input"), R = f("el-tree");
1948
+ const C = g("el-input"), R = g("el-tree");
1950
1949
  return n(), b("div", Ea, [
1951
1950
  X((n(), b("div", ba, [
1952
1951
  X(S("div", ya, [
1953
- w(V, {
1952
+ w(C, {
1954
1953
  modelValue: i.value,
1955
1954
  "onUpdate:modelValue": x[0] || (x[0] = (p) => i.value = p),
1956
1955
  class: "base_tree_main_input",
@@ -1966,7 +1965,7 @@ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { cl
1966
1965
  "expand-on-click-node": !1,
1967
1966
  props: e.treeProps,
1968
1967
  "filter-node-method": c,
1969
- onNodeClick: v
1968
+ onNodeClick: f
1970
1969
  }, null, 8, ["load", "props"])
1971
1970
  ], 512), [
1972
1971
  [ee, d.value]
@@ -1985,7 +1984,7 @@ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { cl
1985
1984
  };
1986
1985
  }
1987
1986
  });
1988
- const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va = { class: "base_dialog_header" }, Ma = { class: "base_dialog_footer" }, $a = {
1987
+ const xa = { class: "bsgoal-base-dialog" }, Va = { class: "base_dialog" }, Ca = { class: "base_dialog_header" }, Ma = { class: "base_dialog_footer" }, $a = {
1989
1988
  name: "BsgoalBaseDialog"
1990
1989
  }, Na = /* @__PURE__ */ Object.assign($a, {
1991
1990
  props: {
@@ -2063,10 +2062,10 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2063
2062
  s("update:modelValue", d);
2064
2063
  });
2065
2064
  const c = Z(() => {
2066
- const { width: d, size: v } = l;
2065
+ const { width: d, size: f } = l;
2067
2066
  if (d)
2068
2067
  return d;
2069
- switch (v) {
2068
+ switch (f) {
2070
2069
  case "small":
2071
2070
  return "480px";
2072
2071
  case "medium":
@@ -2081,19 +2080,19 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2081
2080
  return d;
2082
2081
  }
2083
2082
  });
2084
- return (d, v) => {
2085
- const N = f("el-button"), k = f("el-dialog");
2083
+ return (d, f) => {
2084
+ const N = g("el-button"), k = g("el-dialog");
2086
2085
  return n(), b("div", xa, [
2087
- S("div", Ca, [
2086
+ S("div", Va, [
2088
2087
  w(k, {
2089
2088
  modelValue: r.value,
2090
- "onUpdate:modelValue": v[0] || (v[0] = (x) => r.value = x),
2089
+ "onUpdate:modelValue": f[0] || (f[0] = (x) => r.value = x),
2091
2090
  "custom-class": "bsgoal_base_dialog_main",
2092
2091
  class: _e({ "bsgoal-dialog__footer--conceal": !e.footer }),
2093
2092
  width: u(c)
2094
2093
  }, {
2095
2094
  header: T(() => [
2096
- S("div", Va, Y(e.title), 1)
2095
+ S("div", Ca, Y(e.title), 1)
2097
2096
  ]),
2098
2097
  footer: T(() => [
2099
2098
  e.footer ? q(d.$slots, "footer", { key: 0 }, () => [
@@ -2171,7 +2170,7 @@ const wa = { class: "bsgoal-base-tabs" }, Ba = {
2171
2170
  s("update:modelValue", r);
2172
2171
  };
2173
2172
  return (r, i) => {
2174
- const t = f("el-tab-pane"), c = f("el-tabs");
2173
+ const t = g("el-tab-pane"), c = g("el-tabs");
2175
2174
  return n(), b("div", wa, [
2176
2175
  w(c, {
2177
2176
  stretch: "",
@@ -2181,13 +2180,13 @@ const wa = { class: "bsgoal-base-tabs" }, Ba = {
2181
2180
  onTabChange: l
2182
2181
  }, {
2183
2182
  default: T(() => [
2184
- (n(!0), b(j, null, Q(e.configOptions, ({ label: d, value: v }, N) => (n(), E(t, {
2183
+ (n(!0), b(j, null, Q(e.configOptions, ({ label: d, value: f }, N) => (n(), E(t, {
2185
2184
  key: N,
2186
2185
  label: d,
2187
- name: v
2186
+ name: f
2188
2187
  }, {
2189
2188
  default: T(() => [
2190
- q(r.$slots, v, {}, () => [
2189
+ q(r.$slots, f, {}, () => [
2191
2190
  W(Y(d), 1)
2192
2191
  ])
2193
2192
  ]),
@@ -2232,7 +2231,7 @@ const ka = { class: "bsgoal-base-link" }, Sa = {
2232
2231
  s("on-click");
2233
2232
  };
2234
2233
  return (r, i) => {
2235
- const t = f("el-link");
2234
+ const t = g("el-link");
2236
2235
  return n(), b("div", ka, [
2237
2236
  w(t, {
2238
2237
  class: "bsgoal_base_link",