@bsgoal/common 1.5.6 → 1.5.7

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
@@ -36,9 +36,9 @@ const t = {
36
36
  let ve = null;
37
37
  const he = (e) => {
38
38
  const s = [], l = [], i = (a = []) => {
39
- const c = a.map((E) => E.width), _ = Math.max(...c);
40
- a.forEach((E) => {
41
- const { labelEl: N } = E;
39
+ const c = a.map((p) => p.width), _ = Math.max(...c);
40
+ a.forEach((p) => {
41
+ const { labelEl: N } = p;
42
42
  N.style.width = `${_}px`;
43
43
  });
44
44
  }, r = () => {
@@ -46,10 +46,10 @@ const he = (e) => {
46
46
  const a = e.querySelectorAll(".el-form-item__label");
47
47
  if (a && a.length) {
48
48
  let c = 0;
49
- a.forEach((_, E) => {
49
+ a.forEach((_, p) => {
50
50
  _.style.width = "initial", _.style.whiteSpace = "nowrap";
51
51
  const { x: N = 0, width: M = 0 } = _.getBoundingClientRect(), w = { x: N, width: M, labelEl: _ };
52
- E === 0 && (c = N), N === c ? s.push(w) : l.push(w);
52
+ p === 0 && (c = N), N === c ? s.push(w) : l.push(w);
53
53
  });
54
54
  }
55
55
  }
@@ -116,14 +116,21 @@ const Fe = { class: "bsgoal-base-tooltip" }, Ue = {
116
116
  max: {
117
117
  type: [Number, String],
118
118
  default: "10em"
119
+ },
120
+ /**
121
+ * 空字段 默认值
122
+ */
123
+ none: {
124
+ type: [String],
125
+ default: "无"
119
126
  }
120
127
  },
121
128
  setup(e) {
122
129
  const s = e, l = q(() => {
123
- const { content: r = "", limit: a = 0 } = s;
124
- let c = r;
125
- const _ = r.length;
126
- return a && _ > a && (c = `${r.substring(0, a)}...`), c;
130
+ const { content: r = "", limit: a = 0, none: c = "" } = s;
131
+ let _ = r;
132
+ const p = r.length;
133
+ return a && p > a && (_ = `${r.substring(0, a)}...`), _ || c;
127
134
  }), i = q(() => {
128
135
  const { content: r = "", limit: a = 0 } = s;
129
136
  return r.length < a || !a;
@@ -217,22 +224,22 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
217
224
  setup(e, { expose: s, emit: l }) {
218
225
  const i = e, r = B(null), a = Ee.align, c = B({});
219
226
  pe(() => {
220
- const { configOptions: p, values: b, none: C = "" } = i, h = u(p), y = u(b);
221
- h.forEach((O) => {
222
- const { value: S = "", prop: R = "", type: F = "" } = O;
223
- [t.INPUT, t.INPUT_TEXT_AREA].includes(F), c.value[R] = y[R] || S || C;
227
+ const { configOptions: E, values: b } = i, C = u(E), h = u(b);
228
+ C.forEach((y) => {
229
+ const { value: O = "", prop: S = "", type: R = "" } = y;
230
+ [t.INPUT, t.INPUT_TEXT_AREA].includes(R), c.value[S] = h[S] || O;
224
231
  });
225
232
  });
226
233
  const _ = q(() => {
227
- const { configOptions: p } = i;
228
- return u(p).map((h) => {
234
+ const { configOptions: E } = i;
235
+ return u(E).map((h) => {
229
236
  let { rules: y = !1, label: O = "" } = h;
230
237
  const S = { required: !0, message: `${O}不能为空`, trigger: "blur" };
231
238
  return y && (typeof y == "boolean" ? y = [S] : Array.isArray(y) ? y = [S, ...y] : y = [S, y]), h.rules = y, h;
232
239
  });
233
- }), E = (p = "", b = "", C = "") => {
240
+ }), p = (E = "", b = "", C = "") => {
234
241
  if (!C)
235
- switch (p) {
242
+ switch (E) {
236
243
  case t.INPUT:
237
244
  case t.INPUT_TEXT_AREA:
238
245
  return `请输入${b}`;
@@ -253,9 +260,9 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
253
260
  return ["开始月份", "结束月份"];
254
261
  }
255
262
  return C;
256
- }, N = (p = "", b = "") => {
263
+ }, N = (E = "", b = "") => {
257
264
  if (!b)
258
- switch (p) {
265
+ switch (E) {
259
266
  case t.WEEK:
260
267
  return "ww";
261
268
  case t.DATE:
@@ -276,20 +283,20 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
276
283
  }
277
284
  return b;
278
285
  }, M = () => {
279
- const p = u(c), { configOptions: b } = i, C = u(b);
286
+ const E = u(c), { configOptions: b } = i, C = u(b);
280
287
  for (const h of C) {
281
288
  const { type: y = "", range: O = [], prop: S = "" } = h;
282
289
  if (y.endsWith("range") && O && O.length === 2) {
283
- const { 0: R = "", 1: F = "" } = p[S], { 0: L = "", 1: I = "" } = O;
284
- p[L] = R, p[I] = F;
290
+ const { 0: R = "", 1: F = "" } = E[S], { 0: L = "", 1: I = "" } = O;
291
+ E[L] = R, E[I] = F;
285
292
  }
286
293
  }
287
- return l("on-form", p), p;
294
+ return l("on-form", E), E;
288
295
  }, w = () => {
289
296
  r.value.resetFields(), l("on-clear", c.value);
290
- }, D = (p, b) => {
297
+ }, D = (E, b) => {
291
298
  const C = {
292
- type: p,
299
+ type: E,
293
300
  prop: b,
294
301
  value: c.value[b] || ""
295
302
  };
@@ -298,14 +305,14 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
298
305
  return s({
299
306
  triggerOperationClear: w,
300
307
  triggerOperationForm: M,
301
- validateForm: (p = () => {
308
+ validateForm: (E = () => {
302
309
  }) => {
303
310
  r.value.validate((b = !1, C = {}) => {
304
311
  if (b) {
305
312
  const h = M();
306
- p(h);
313
+ E(h);
307
314
  } else {
308
- p(!1);
315
+ E(!1);
309
316
  const h = Object.keys(C)[0], {
310
317
  [h]: {
311
318
  0: { message: y = "" }
@@ -315,7 +322,7 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
315
322
  }
316
323
  });
317
324
  }
318
- }), (p, b) => {
325
+ }), (E, b) => {
319
326
  const C = v("el-input"), h = v("el-input-number"), y = v("el-radio"), O = v("el-radio-group"), S = v("el-option"), R = v("el-select"), F = v("el-slider"), L = v("el-switch"), I = v("el-date-picker"), P = v("el-time-picker"), Z = v("el-checkbox"), ee = v("el-checkbox-group"), K = v("el-form-item"), me = v("el-col"), ge = v("el-row"), fe = v("el-form");
320
327
  return n(), A("div", ze, [
321
328
  k("div", Pe, [
@@ -358,14 +365,15 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
358
365
  Y ? (n(), A("div", je, [
359
366
  $(Le, {
360
367
  content: c.value[f],
361
- limit: le
362
- }, null, 8, ["content", "limit"])
368
+ limit: le,
369
+ none: e.none
370
+ }, null, 8, ["content", "limit", "none"])
363
371
  ])) : (n(), A(z, { key: 0 }, [
364
372
  o === u(t).INPUT ? (n(), T(C, {
365
373
  key: 0,
366
374
  modelValue: c.value[f],
367
375
  "onUpdate:modelValue": (m) => c.value[f] = m,
368
- placeholder: E(o, j, d),
376
+ placeholder: p(o, j, d),
369
377
  clearable: re,
370
378
  onChange: (m) => D(o, f)
371
379
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : x("", !0),
@@ -376,13 +384,13 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
376
384
  type: "textarea",
377
385
  rows: ie,
378
386
  clearable: re,
379
- placeholder: E(o, j, d),
387
+ placeholder: p(o, j, d),
380
388
  onChange: (m) => D(o, f)
381
389
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : x("", !0),
382
390
  o === u(t).INPUT_NUMBER ? (n(), T(h, {
383
391
  key: 2,
384
- modelValue: p.num,
385
- "onUpdate:modelValue": b[0] || (b[0] = (m) => p.num = m),
392
+ modelValue: E.num,
393
+ "onUpdate:modelValue": b[0] || (b[0] = (m) => E.num = m),
386
394
  min: de,
387
395
  max: ue,
388
396
  onChange: D
@@ -410,7 +418,7 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
410
418
  key: 4,
411
419
  modelValue: c.value[f],
412
420
  "onUpdate:modelValue": (m) => c.value[f] = m,
413
- placeholder: E(o, j, d),
421
+ placeholder: p(o, j, d),
414
422
  onChange: (m) => D(o, f)
415
423
  }, {
416
424
  default: V(() => [
@@ -447,7 +455,7 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
447
455
  format: N(o, G),
448
456
  "value-format": N(o, G),
449
457
  type: o,
450
- placeholder: E(o, j, d),
458
+ placeholder: p(o, j, d),
451
459
  onChange: (m) => D(o, f)
452
460
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : x("", !0),
453
461
  [
@@ -460,8 +468,8 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
460
468
  "onUpdate:modelValue": (m) => c.value[f] = m,
461
469
  type: o,
462
470
  "value-format": N(o, G),
463
- "start-placeholder": E(o, j, d)[0],
464
- "end-placeholder": E(o, j, d)[1],
471
+ "start-placeholder": p(o, j, d)[0],
472
+ "end-placeholder": p(o, j, d)[1],
465
473
  onChange: (m) => D(o, f)
466
474
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : x("", !0),
467
475
  [u(t).TIME].includes(o) ? (n(), T(P, {
@@ -470,7 +478,7 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
470
478
  "onUpdate:modelValue": (m) => c.value[f] = m,
471
479
  "arrow-control": "",
472
480
  "value-format": N(o, G),
473
- placeholder: E(o, j, d),
481
+ placeholder: p(o, j, d),
474
482
  onChange: (m) => D(o, f)
475
483
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : x("", !0),
476
484
  [u(t).TIME_RANGE].includes(o) ? (n(), T(P, {
@@ -479,8 +487,8 @@ const ze = { class: "bsgoal-base-form" }, Pe = { class: "base_form" }, je = { ke
479
487
  "onUpdate:modelValue": (m) => c.value[f] = m,
480
488
  "is-range": "",
481
489
  "value-format": N(o, G),
482
- "start-placeholder": E(o, j, d)[0],
483
- "end-placeholder": E(o, j, d)[1],
490
+ "start-placeholder": p(o, j, d)[0],
491
+ "end-placeholder": p(o, j, d)[1],
484
492
  onChange: (m) => D(o, f)
485
493
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : x("", !0),
486
494
  [u(t).CHECKBOX].includes(o) ? (n(), T(ee, {
@@ -707,10 +715,10 @@ const Ke = { class: "bsgoal-base-table-pagination" }, Je = { class: "base_table_
707
715
  s("on-current-change", a);
708
716
  }, r = B(1);
709
717
  return (a, c) => {
710
- const _ = v("el-pagination"), E = v("el-config-provider");
718
+ const _ = v("el-pagination"), p = v("el-config-provider");
711
719
  return n(), A("div", Ke, [
712
720
  k("div", Je, [
713
- $(E, { locale: u(Ze) }, {
721
+ $(p, { locale: u(Ze) }, {
714
722
  default: V(() => [
715
723
  $(_, {
716
724
  background: "",
@@ -888,15 +896,15 @@ const it = { class: "bsgoal-base-table" }, dt = { class: "base_table" }, _t = {
888
896
  const h = a ? a.value : !1, y = u(l.expression);
889
897
  rt(r, { arg: h, expression: y });
890
898
  });
891
- const c = B(1), _ = B(10), E = B(0), N = B({}), M = B(l.loading), w = B(l.data), D = B({}), U = () => {
899
+ const c = B(1), _ = B(10), p = B(0), N = B({}), M = B(l.loading), w = B(l.data), D = B({}), U = () => {
892
900
  const { fetch: h, call: y, mapProps: O } = l, S = N.value, R = c.value, F = _.value, L = Ve({}, S), I = u(O);
893
901
  L[I.currentPage] = R, L[I.pageSize] = F, be(h(L), y, M, D);
894
902
  };
895
903
  ce(D, (h) => {
896
904
  const { mapProps: y } = l, O = u(y);
897
- w.value = h[O.rows], E.value = h[O.total];
905
+ w.value = h[O.rows], p.value = h[O.total];
898
906
  });
899
- const p = (h = {}) => {
907
+ const E = (h = {}) => {
900
908
  N.value = h, c.value = 1, U();
901
909
  }, b = (h = 1) => {
902
910
  c.value = h;
@@ -906,7 +914,7 @@ const it = { class: "bsgoal-base-table" }, dt = { class: "base_table" }, _t = {
906
914
  return ce([c, _], () => {
907
915
  U();
908
916
  }), s({
909
- refreshList: p
917
+ refreshList: E
910
918
  }), (h, y) => {
911
919
  const O = v("el-table-column"), S = v("el-table"), R = De("loading");
912
920
  return n(), A("div", it, [
@@ -965,7 +973,7 @@ const it = { class: "bsgoal-base-table" }, dt = { class: "base_table" }, _t = {
965
973
  ])
966
974
  ], 512),
967
975
  $(tt, {
968
- total: E.value,
976
+ total: p.value,
969
977
  onOnCurrentChange: b,
970
978
  onOnSizeChange: C
971
979
  }, null, 8, ["total"])
@@ -1146,7 +1154,7 @@ const Kt = { class: "bsgoal-base-search-operation" }, Jt = {
1146
1154
  $(c, {
1147
1155
  type: "primary",
1148
1156
  icon: u(Zt),
1149
- onClick: a[0] || (a[0] = (E) => r.$emit("on-search"))
1157
+ onClick: a[0] || (a[0] = (p) => r.$emit("on-search"))
1150
1158
  }, {
1151
1159
  default: V(() => [
1152
1160
  X("搜索")
@@ -1155,7 +1163,7 @@ const Kt = { class: "bsgoal-base-search-operation" }, Jt = {
1155
1163
  }, 8, ["icon"]),
1156
1164
  $(c, {
1157
1165
  icon: u(Yt),
1158
- onClick: a[1] || (a[1] = (E) => r.$emit("on-clear"))
1166
+ onClick: a[1] || (a[1] = (p) => r.$emit("on-clear"))
1159
1167
  }, {
1160
1168
  default: V(() => [
1161
1169
  X("清空")
@@ -1324,7 +1332,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1324
1332
  return ["开始月份", "结束月份"];
1325
1333
  }
1326
1334
  return h;
1327
- }, E = (b = "", C = "") => {
1335
+ }, p = (b = "", C = "") => {
1328
1336
  if (!C)
1329
1337
  switch (b) {
1330
1338
  case t.WEEK:
@@ -1369,7 +1377,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1369
1377
  i.value.resetFields(), s("on-clear", a.value);
1370
1378
  }, w = Me("transferFoldStatus"), D = B(!1), U = (b = !1) => {
1371
1379
  D.value = b, w && (w.value = b), s("on-fold", D);
1372
- }, p = (b, C) => {
1380
+ }, E = (b, C) => {
1373
1381
  N();
1374
1382
  const h = {
1375
1383
  type: b,
@@ -1423,7 +1431,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1423
1431
  "onUpdate:modelValue": (g) => a.value[o] = g,
1424
1432
  placeholder: _(d, f, Y),
1425
1433
  clearable: ie,
1426
- onChange: (g) => p(d, o)
1434
+ onChange: (g) => E(d, o)
1427
1435
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : x("", !0),
1428
1436
  d === u(t).INPUT_TEXT_AREA ? (n(), T(h, {
1429
1437
  key: 1,
@@ -1433,7 +1441,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1433
1441
  rows: de,
1434
1442
  clearable: ie,
1435
1443
  placeholder: _(d, f, Y),
1436
- onChange: (g) => p(d, o)
1444
+ onChange: (g) => E(d, o)
1437
1445
  }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : x("", !0),
1438
1446
  d === u(t).INPUT_NUMBER ? (n(), T(y, {
1439
1447
  key: 2,
@@ -1441,13 +1449,13 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1441
1449
  "onUpdate:modelValue": C[0] || (C[0] = (g) => b.num = g),
1442
1450
  min: ue,
1443
1451
  max: J,
1444
- onChange: p
1452
+ onChange: E
1445
1453
  }, null, 8, ["modelValue", "min", "max"])) : x("", !0),
1446
1454
  d === u(t).RADIO ? (n(), T(S, {
1447
1455
  key: 3,
1448
1456
  modelValue: a.value[o],
1449
1457
  "onUpdate:modelValue": (g) => a.value[o] = g,
1450
- onChange: (g) => p(d, o)
1458
+ onChange: (g) => E(d, o)
1451
1459
  }, {
1452
1460
  default: V(() => [
1453
1461
  (n(!0), A(z, null, W(G, (g, m) => (n(), T(O, {
@@ -1467,7 +1475,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1467
1475
  modelValue: a.value[o],
1468
1476
  "onUpdate:modelValue": (g) => a.value[o] = g,
1469
1477
  placeholder: _(d, f, Y),
1470
- onChange: (g) => p(d, o)
1478
+ onChange: (g) => E(d, o)
1471
1479
  }, {
1472
1480
  default: V(() => [
1473
1481
  (n(!0), A(z, null, W(G, (g, m) => (n(), T(R, {
@@ -1484,7 +1492,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1484
1492
  "onUpdate:modelValue": (g) => a.value[o] = g,
1485
1493
  min: ue,
1486
1494
  max: J,
1487
- onChange: (g) => p(d, o)
1495
+ onChange: (g) => E(d, o)
1488
1496
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : x("", !0),
1489
1497
  d === u(t).SWITCH ? (n(), T(I, {
1490
1498
  key: 6,
@@ -1492,7 +1500,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1492
1500
  "onUpdate:modelValue": (g) => a.value[o] = g,
1493
1501
  "active-value": G[0] || !0,
1494
1502
  "inactive-value": G[1] || !1,
1495
- onChange: (g) => p(d, o)
1503
+ onChange: (g) => E(d, o)
1496
1504
  }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : x("", !0),
1497
1505
  [u(t).DATE, u(t).MONTH, u(t).YEAR, u(t).DATE_TIME].includes(
1498
1506
  d
@@ -1500,11 +1508,11 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1500
1508
  key: 7,
1501
1509
  modelValue: a.value[o],
1502
1510
  "onUpdate:modelValue": (g) => a.value[o] = g,
1503
- format: E(d, te),
1504
- "value-format": E(d, te),
1511
+ format: p(d, te),
1512
+ "value-format": p(d, te),
1505
1513
  type: d,
1506
1514
  placeholder: _(d, f, Y),
1507
- onChange: (g) => p(d, o)
1515
+ onChange: (g) => E(d, o)
1508
1516
  }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : x("", !0),
1509
1517
  [
1510
1518
  u(t).DATE_RANGE,
@@ -1515,35 +1523,35 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1515
1523
  modelValue: a.value[o],
1516
1524
  "onUpdate:modelValue": (g) => a.value[o] = g,
1517
1525
  type: d,
1518
- "value-format": E(d, te),
1526
+ "value-format": p(d, te),
1519
1527
  "start-placeholder": _(d, f, Y)[0],
1520
1528
  "end-placeholder": _(d, f, Y)[1],
1521
- onChange: (g) => p(d, o)
1529
+ onChange: (g) => E(d, o)
1522
1530
  }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : x("", !0),
1523
1531
  [u(t).TIME].includes(d) ? (n(), T(Z, {
1524
1532
  key: 9,
1525
1533
  modelValue: a.value[o],
1526
1534
  "onUpdate:modelValue": (g) => a.value[o] = g,
1527
1535
  "arrow-control": "",
1528
- "value-format": E(d, te),
1536
+ "value-format": p(d, te),
1529
1537
  placeholder: _(d, f, Y),
1530
- onChange: (g) => p(d, o)
1538
+ onChange: (g) => E(d, o)
1531
1539
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : x("", !0),
1532
1540
  [u(t).TIME_RANGE].includes(d) ? (n(), T(Z, {
1533
1541
  key: 10,
1534
1542
  modelValue: a.value[o],
1535
1543
  "onUpdate:modelValue": (g) => a.value[o] = g,
1536
1544
  "is-range": "",
1537
- "value-format": E(d, te),
1545
+ "value-format": p(d, te),
1538
1546
  "start-placeholder": _(d, f, Y)[0],
1539
1547
  "end-placeholder": _(d, f, Y)[1],
1540
- onChange: (g) => p(d, o)
1548
+ onChange: (g) => E(d, o)
1541
1549
  }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : x("", !0),
1542
1550
  [u(t).CHECKBOX].includes(d) ? (n(), T(K, {
1543
1551
  key: 11,
1544
1552
  modelValue: a.value[o],
1545
1553
  "onUpdate:modelValue": (g) => a.value[o] = g,
1546
- onChange: (g) => p(d, o)
1554
+ onChange: (g) => E(d, o)
1547
1555
  }, {
1548
1556
  default: V(() => [
1549
1557
  (n(!0), A(z, null, W(G, (g, m) => (n(), T(ee, {
@@ -1564,7 +1572,7 @@ const la = { class: "bsgoal-base-search" }, na = { class: "base_search" }, oa =
1564
1572
  "onUpdate:modelValue": (g) => a.value[o] = g,
1565
1573
  "data-options": G,
1566
1574
  placeholder: _(d, f, Y),
1567
- onOnChange: (g) => p(d, o)
1575
+ onOnChange: (g) => E(d, o)
1568
1576
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : x("", !0),
1569
1577
  [].includes(d) ? (n(), A(z, { key: 13 }, [], 64)) : x("", !0),
1570
1578
  [u(t).OPERATION].includes(d) ? (n(), T(qt, {
@@ -1688,8 +1696,8 @@ const ca = { class: "bsgoal-base-search-table" }, ra = { class: "base_search_tab
1688
1696
  })), a = q(() => i.filter((M) => {
1689
1697
  const { item: w = !1 } = M;
1690
1698
  return !w;
1691
- })), c = Se(), _ = B(Object.keys(c)), E = B(null), N = (M) => {
1692
- E.value.refreshList(M);
1699
+ })), c = Se(), _ = B(Object.keys(c)), p = B(null), N = (M) => {
1700
+ p.value.refreshList(M);
1693
1701
  };
1694
1702
  return (M, w) => (n(), A("div", ca, [
1695
1703
  k("div", ra, [
@@ -1700,7 +1708,7 @@ const ca = { class: "bsgoal-base-search-table" }, ra = { class: "base_search_tab
1700
1708
  }, null, 8, ["config-options"]),
1701
1709
  $(xe, {
1702
1710
  ref_key: "BSGOAL_BASE_TABLE_REF",
1703
- ref: E,
1711
+ ref: p,
1704
1712
  operationWidth: e.operationWidth,
1705
1713
  "config-options": u(a),
1706
1714
  data: e.tableData,
@@ -1814,7 +1822,7 @@ const fa = { class: "bsgoal-base-tree" }, va = { class: "base_tree" }, ha = { cl
1814
1822
  ce(r, (M) => {
1815
1823
  a.value.filter(M);
1816
1824
  });
1817
- const c = (M, w) => M ? w.label.includes(M) : !0, _ = B(!0), E = (M, w, D, U) => {
1825
+ const c = (M, w) => M ? w.label.includes(M) : !0, _ = B(!0), p = (M, w, D, U) => {
1818
1826
  s("on-click", M, w, D, U);
1819
1827
  }, N = async (M, w, D) => {
1820
1828
  if (M.level === 0) {
@@ -1832,7 +1840,7 @@ const fa = { class: "bsgoal-base-tree" }, va = { class: "base_tree" }, ha = { cl
1832
1840
  Q(k("div", ha, [
1833
1841
  $(D, {
1834
1842
  modelValue: r.value,
1835
- "onUpdate:modelValue": w[0] || (w[0] = (p) => r.value = p),
1843
+ "onUpdate:modelValue": w[0] || (w[0] = (E) => r.value = E),
1836
1844
  class: "base_tree_main_input",
1837
1845
  placeholder: "输入关键字过滤"
1838
1846
  }, null, 8, ["modelValue"]),
@@ -1842,11 +1850,11 @@ const fa = { class: "bsgoal-base-tree" }, va = { class: "base_tree" }, ha = { cl
1842
1850
  lazy: "",
1843
1851
  "highlight-current": "",
1844
1852
  "empty-text": "暂无数据",
1845
- load: (p, b) => N(p, b, l),
1853
+ load: (E, b) => N(E, b, l),
1846
1854
  "expand-on-click-node": !1,
1847
1855
  props: e.treeProps,
1848
1856
  "filter-node-method": c,
1849
- onNodeClick: E
1857
+ onNodeClick: p
1850
1858
  }, null, 8, ["load", "props"])
1851
1859
  ], 512), [
1852
1860
  [ae, _.value]
@@ -1856,7 +1864,7 @@ const fa = { class: "bsgoal-base-tree" }, va = { class: "base_tree" }, ha = { cl
1856
1864
  ]),
1857
1865
  $(ga, {
1858
1866
  modelValue: _.value,
1859
- "onUpdate:modelValue": w[1] || (w[1] = (p) => _.value = p)
1867
+ "onUpdate:modelValue": w[1] || (w[1] = (E) => _.value = E)
1860
1868
  }, null, 8, ["modelValue"])
1861
1869
  ])), [
1862
1870
  [u(i), e.gasket]
@@ -1936,10 +1944,10 @@ const ba = { class: "bsgoal-base-dialog" }, ya = { class: "base_dialog" }, Ta =
1936
1944
  s("update:modelValue", _);
1937
1945
  });
1938
1946
  const c = q(() => {
1939
- const { width: _, size: E } = l;
1947
+ const { width: _, size: p } = l;
1940
1948
  if (_)
1941
1949
  return _;
1942
- switch (E) {
1950
+ switch (p) {
1943
1951
  case "small":
1944
1952
  return "480px";
1945
1953
  case "medium":
@@ -1954,13 +1962,13 @@ const ba = { class: "bsgoal-base-dialog" }, ya = { class: "base_dialog" }, Ta =
1954
1962
  return _;
1955
1963
  }
1956
1964
  });
1957
- return (_, E) => {
1965
+ return (_, p) => {
1958
1966
  const N = v("el-button"), M = v("el-dialog");
1959
1967
  return n(), A("div", ba, [
1960
1968
  k("div", ya, [
1961
1969
  $(M, {
1962
1970
  modelValue: i.value,
1963
- "onUpdate:modelValue": E[0] || (E[0] = (w) => i.value = w),
1971
+ "onUpdate:modelValue": p[0] || (p[0] = (w) => i.value = w),
1964
1972
  "custom-class": "bsgoal_base_dialog_main",
1965
1973
  width: u(c)
1966
1974
  }, {
@@ -2051,13 +2059,13 @@ const Ma = { class: "bsgoal-base-tabs" }, xa = {
2051
2059
  onTabChange: l
2052
2060
  }, {
2053
2061
  default: V(() => [
2054
- (n(!0), A(z, null, W(e.configOptions, ({ label: _, value: E }, N) => (n(), T(a, {
2062
+ (n(!0), A(z, null, W(e.configOptions, ({ label: _, value: p }, N) => (n(), T(a, {
2055
2063
  key: N,
2056
2064
  label: _,
2057
- name: E
2065
+ name: p
2058
2066
  }, {
2059
2067
  default: V(() => [
2060
- ne(i.$slots, E, {}, () => [
2068
+ ne(i.$slots, p, {}, () => [
2061
2069
  X(H(_), 1)
2062
2070
  ])
2063
2071
  ]),