@bsgoal/common 2.28.43 → 2.28.45

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
@@ -122,7 +122,7 @@ const Ca = (l) => {
122
122
  qt(() => {
123
123
  Ca(l);
124
124
  });
125
- }, 100);
125
+ }, 300);
126
126
  },
127
127
  unmounted(l) {
128
128
  window.removeEventListener("resize", Ca(l));
@@ -622,12 +622,12 @@ var Na = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
622
622
  */
623
623
  (function(l, s) {
624
624
  (function() {
625
- var r, f = "4.17.21", h = 200, y = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", v = "Invalid `variable` option passed into `_.template`", M = "__lodash_hash_undefined__", A = 500, b = "__lodash_placeholder__", S = 1, x = 2, Z = 4, U = 1, X = 2, B = 1, $ = 2, I = 4, ue = 8, H = 16, Me = 32, Le = 64, F = 128, ce = 256, C = 512, Q = 30, R = "...", G = 800, K = 16, oe = 1, me = 2, we = 3, Ee = 1 / 0, Ae = 9007199254740991, te = 17976931348623157e292, Se = 0 / 0, Te = 4294967295, ft = Te - 1, It = Te >>> 1, bt = [
625
+ var r, f = "4.17.21", h = 200, y = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", c = "Expected a function", v = "Invalid `variable` option passed into `_.template`", M = "__lodash_hash_undefined__", A = 500, b = "__lodash_placeholder__", S = 1, x = 2, Z = 4, U = 1, X = 2, B = 1, $ = 2, I = 4, ue = 8, Q = 16, Me = 32, Le = 64, F = 128, ce = 256, C = 512, H = 30, R = "...", G = 800, K = 16, oe = 1, me = 2, we = 3, Ee = 1 / 0, Ae = 9007199254740991, te = 17976931348623157e292, Se = 0 / 0, Te = 4294967295, ft = Te - 1, It = Te >>> 1, bt = [
626
626
  ["ary", F],
627
627
  ["bind", B],
628
628
  ["bindKey", $],
629
629
  ["curry", ue],
630
- ["curryRight", H],
630
+ ["curryRight", Q],
631
631
  ["flip", C],
632
632
  ["partial", Me],
633
633
  ["partialRight", Le],
@@ -2277,7 +2277,7 @@ var Na = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2277
2277
  });
2278
2278
  }
2279
2279
  function lr(e, t, n, a, i, u, d, g, p, T) {
2280
- var N = t & F, L = t & B, Y = t & $, ae = t & (ue | H), ge = t & C, be = Y ? r : Aa(e);
2280
+ var N = t & F, L = t & B, Y = t & $, ae = t & (ue | Q), ge = t & C, be = Y ? r : Aa(e);
2281
2281
  function _e() {
2282
2282
  for (var Ie = arguments.length, Ce = w(Ie), Rt = Ie; Rt--; )
2283
2283
  Ce[Rt] = arguments[Rt];
@@ -2417,10 +2417,10 @@ var Na = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2417
2417
  d,
2418
2418
  g
2419
2419
  ];
2420
- if (Y && lf(ae, Y), e = ae[0], t = ae[1], n = ae[2], a = ae[3], i = ae[4], g = ae[9] = ae[9] === r ? p ? 0 : e.length : ut(ae[9] - T, 0), !g && t & (ue | H) && (t &= ~(ue | H)), !t || t == B)
2420
+ if (Y && lf(ae, Y), e = ae[0], t = ae[1], n = ae[2], a = ae[3], i = ae[4], g = ae[9] = ae[9] === r ? p ? 0 : e.length : ut(ae[9] - T, 0), !g && t & (ue | Q) && (t &= ~(ue | Q)), !t || t == B)
2421
2421
  var ge = Fd(e, t, n);
2422
2422
  else
2423
- t == ue || t == H ? ge = Pd(e, t, g) : (t == Me || t == (B | Me)) && !i.length ? ge = Ud(e, t, n, a) : ge = lr.apply(r, ae);
2423
+ t == ue || t == Q ? ge = Pd(e, t, g) : (t == Me || t == (B | Me)) && !i.length ? ge = Ud(e, t, n, a) : ge = lr.apply(r, ae);
2424
2424
  var be = Y ? io : ko;
2425
2425
  return Vo(be(ge, ae), e, t);
2426
2426
  }
@@ -3331,7 +3331,7 @@ var Na = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3331
3331
  }
3332
3332
  function nu(e, t, n) {
3333
3333
  t = n ? r : t;
3334
- var a = fn(e, H, r, r, r, r, r, t);
3334
+ var a = fn(e, Q, r, r, r, r, r, t);
3335
3335
  return a.placeholder = nu.placeholder, a;
3336
3336
  }
3337
3337
  function au(e, t, n) {
@@ -3986,7 +3986,7 @@ function print() { __p += __j.call(arguments, '') }
3986
3986
  return Tn(a, i).join("");
3987
3987
  }
3988
3988
  function zp(e, t) {
3989
- var n = Q, a = R;
3989
+ var n = H, a = R;
3990
3990
  if (Qe(t)) {
3991
3991
  var i = "separator" in t ? t.separator : i;
3992
3992
  n = "length" in t ? ye(t.length) : n, a = "omission" in t ? zt(t.omission) : a;
@@ -4406,17 +4406,17 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4406
4406
  const { bindModel: C = {} } = f;
4407
4407
  c.value = C;
4408
4408
  });
4409
- const M = (C = {}, Q = {}, R = "") => {
4409
+ const M = (C = {}, H = {}, R = "") => {
4410
4410
  We(() => {
4411
4411
  const G = [];
4412
4412
  for (const [we = "", Ee = []] of Object.entries(C))
4413
- G.push(Ee.includes(`${Q[we]}`));
4413
+ G.push(Ee.includes(`${H[we]}`));
4414
4414
  const { configOptions: K } = f, me = Pe(K).find((we) => we.prop === R);
4415
4415
  G.every((we) => !!we) ? me.visible = !0 : me.visible = !1;
4416
4416
  });
4417
4417
  };
4418
4418
  We(() => {
4419
- const { configOptions: C, values: Q } = f, R = Pe(C), G = Pe(Q);
4419
+ const { configOptions: C, values: H } = f, R = Pe(C), G = Pe(H);
4420
4420
  R.forEach((K) => {
4421
4421
  const { value: oe = "", prop: me = "", type: we = "", show: Ee = null } = K;
4422
4422
  [O.INPUT, O.INPUT_TEXT_AREA].includes(we);
@@ -4432,7 +4432,7 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4432
4432
  });
4433
4433
  });
4434
4434
  const S = (C = "") => {
4435
- const Q = [
4435
+ const H = [
4436
4436
  [
4437
4437
  /.*(电话|手机)(号码|号).*/,
4438
4438
  /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1589]))\d{8}$/
@@ -4446,7 +4446,7 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4446
4446
  /^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z][A-HJ-NP-Z0-9]{4,5}[A-HJ-NP-Z0-9挂学警港澳]$/
4447
4447
  ]
4448
4448
  ];
4449
- for (const { 0: R, 1: G } of Q)
4449
+ for (const { 0: R, 1: G } of H)
4450
4450
  if (R.test(C))
4451
4451
  return {
4452
4452
  validator: (K, oe, me) => {
@@ -4460,9 +4460,9 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4460
4460
  mn(
4461
4461
  () => f.configOptions,
4462
4462
  () => {
4463
- const { configOptions: C } = f, Q = C.filter((G) => Au(G.display));
4464
- if (Q && Q.length) {
4465
- const G = Q.map((K) => K.display());
4463
+ const { configOptions: C } = f, H = C.filter((G) => Au(G.display));
4464
+ if (H && H.length) {
4465
+ const G = H.map((K) => K.display());
4466
4466
  Z && Z(), Z = mn(G, (K = []) => {
4467
4467
  qt(() => {
4468
4468
  Ca(A.value);
@@ -4487,12 +4487,12 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4487
4487
  deep: !0
4488
4488
  }
4489
4489
  );
4490
- const U = (C = "", Q = "", R = "") => {
4490
+ const U = (C = "", H = "", R = "") => {
4491
4491
  if (!R)
4492
4492
  switch (C) {
4493
4493
  case O.INPUT:
4494
4494
  case O.INPUT_TEXT_AREA:
4495
- return `请输入${Q}`;
4495
+ return `请输入${H}`;
4496
4496
  case O.SELECT:
4497
4497
  case O.DATE:
4498
4498
  case O.WEEK:
@@ -4500,7 +4500,7 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4500
4500
  case O.YEAR:
4501
4501
  case O.DATE_TIME:
4502
4502
  case O.TIME:
4503
- return `请选择${Q}`;
4503
+ return `请选择${H}`;
4504
4504
  case O.DATE_RANGE:
4505
4505
  case O.DATE_TIME_RANGE:
4506
4506
  return ["开始日期", "结束日期"];
@@ -4510,8 +4510,8 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4510
4510
  return ["开始月份", "结束月份"];
4511
4511
  }
4512
4512
  return R;
4513
- }, X = (C = "", Q = "") => {
4514
- if (!Q)
4513
+ }, X = (C = "", H = "") => {
4514
+ if (!H)
4515
4515
  switch (C) {
4516
4516
  case O.WEEK:
4517
4517
  return "ww";
@@ -4531,9 +4531,9 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4531
4531
  case O.DATE_TIME_RANGE:
4532
4532
  return "YYYY-MM-DD HH:mm:ss";
4533
4533
  }
4534
- return Q;
4534
+ return H;
4535
4535
  }, B = () => {
4536
- const C = Pe(c), { configOptions: Q } = f, R = Pe(Q);
4536
+ const C = Pe(c), { configOptions: H } = f, R = Pe(H);
4537
4537
  for (const G of R) {
4538
4538
  const { type: K = "", range: oe = [], prop: me = "" } = G;
4539
4539
  if (K.endsWith("range") && oe && oe.length === 2) {
@@ -4544,8 +4544,8 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4544
4544
  return r("on-form", C), C;
4545
4545
  }, $ = () => {
4546
4546
  h.value.resetFields(), r("on-clear", c.value);
4547
- }, I = (C, Q, R = [], G = "") => {
4548
- const K = c.value[Q] || "";
4547
+ }, I = (C, H, R = [], G = "") => {
4548
+ const K = c.value[H] || "";
4549
4549
  let oe = {};
4550
4550
  if (O.TIME_RANGE.includes(C) && R.length && R.forEach((we, Ee) => {
4551
4551
  c.value[we] = G ? G[Ee] : "";
@@ -4557,26 +4557,26 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4557
4557
  }
4558
4558
  r("on-change", {
4559
4559
  type: C,
4560
- prop: Q,
4560
+ prop: H,
4561
4561
  option: oe,
4562
4562
  value: K
4563
4563
  });
4564
- }, ue = (C, Q, R) => {
4564
+ }, ue = (C, H, R) => {
4565
4565
  const { value: G = "", data: K = {}, option: oe = {}, node: me = {} } = R;
4566
4566
  r("on-change", {
4567
4567
  type: C,
4568
- prop: Q,
4568
+ prop: H,
4569
4569
  value: G,
4570
4570
  data: K,
4571
4571
  option: oe,
4572
4572
  node: me
4573
4573
  });
4574
- }, H = (C = {}, Q) => {
4574
+ }, Q = (C = {}, H) => {
4575
4575
  const R = {};
4576
4576
  for (const G of Object.keys(C))
4577
4577
  if (!G.startsWith("_") && !G.endsWith("_") && G) {
4578
4578
  const K = C[G];
4579
- if (Q) {
4579
+ if (H) {
4580
4580
  const oe = Number.parseFloat(K);
4581
4581
  R[G] = (oe || ["0", 0].includes(K)) && !/^0.+/i.test(`${K}`) && /^(\\-|\+)?\d+(\.\d+)?$/i.test(`${K}`) && K.length <= 10 ? oe : K;
4582
4582
  } else
@@ -4584,10 +4584,10 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4584
4584
  }
4585
4585
  return R;
4586
4586
  }, Me = (C = () => {
4587
- }, Q = !0) => {
4587
+ }, H = !0) => {
4588
4588
  h.value.validate((R = !1, G = {}) => {
4589
4589
  if (R) {
4590
- const K = B(), oe = H(K, Q);
4590
+ const K = B(), oe = Q(K, H);
4591
4591
  C(oe);
4592
4592
  } else {
4593
4593
  C(!1);
@@ -4599,9 +4599,9 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4599
4599
  Vl.error(oe);
4600
4600
  }
4601
4601
  });
4602
- }, Le = (C = [], Q = "") => {
4602
+ }, Le = (C = [], H = "") => {
4603
4603
  const { 0: R = {}, 1: G = {} } = C, { value: K = !1, label: oe = "" } = R, { value: me = !1, label: we = "" } = G;
4604
- switch (Q) {
4604
+ switch (H) {
4605
4605
  case "active-value":
4606
4606
  return K;
4607
4607
  case "inactive-value":
@@ -4612,18 +4612,18 @@ const F0 = { class: "bsgoal-base-form" }, P0 = /* @__PURE__ */ V("div", { class:
4612
4612
  return we;
4613
4613
  }
4614
4614
  }, F = pe(() => {
4615
- const C = {}, { compact: Q = !1 } = f;
4616
- return Q && (C.marginBottom = "0px"), C;
4615
+ const C = {}, { compact: H = !1 } = f;
4616
+ return H && (C.marginBottom = "0px"), C;
4617
4617
  }), ce = pe(() => {
4618
- const C = {}, { compact: Q = !1, itemStyler: R = {} } = f;
4619
- return Q && (C.marginBottom = "0px"), St(St({}, C), R);
4618
+ const C = {}, { compact: H = !1, itemStyler: R = {} } = f;
4619
+ return H && (C.marginBottom = "0px"), St(St({}, C), R);
4620
4620
  });
4621
4621
  return s({
4622
4622
  triggerOperationClear: $,
4623
4623
  triggerOperationForm: B,
4624
4624
  validateForm: Me,
4625
4625
  resetFields: $
4626
- }), (C, Q) => {
4626
+ }), (C, H) => {
4627
4627
  const R = k("el-input"), G = k("el-input-number"), K = k("el-radio-button"), oe = k("el-radio"), me = k("el-radio-group"), we = k("el-option"), Ee = k("el-select"), Ae = k("el-slider"), te = k("el-switch"), Se = k("el-date-picker"), Te = k("el-time-picker"), ft = k("el-checkbox"), It = k("el-checkbox-group"), bt = k("el-config-provider"), nt = k("el-form-item"), Tt = k("el-col"), Re = k("el-row"), se = k("el-form");
4628
4628
  return m(), D("div", F0, [
4629
4629
  V("div", {
@@ -5658,7 +5658,7 @@ const n1 = { class: "bsgoal-base-table" }, a1 = {
5658
5658
  });
5659
5659
  const ue = () => {
5660
5660
  A.value = "", b.value = "";
5661
- }, H = (te = {}) => {
5661
+ }, Q = (te = {}) => {
5662
5662
  U.value = te, S.value = 1, I();
5663
5663
  }, Me = (te = 1) => {
5664
5664
  S.value = te;
@@ -5670,7 +5670,7 @@ const n1 = { class: "bsgoal-base-table" }, a1 = {
5670
5670
  });
5671
5671
  const F = Oa("TREE_SWITCH_STATUS"), ce = T0([]), C = (te, Se) => {
5672
5672
  r("select", te, Se);
5673
- }, Q = (te) => {
5673
+ }, H = (te) => {
5674
5674
  r("select-all", te);
5675
5675
  }, R = (te) => {
5676
5676
  ce.value = te, r("selection-change", te);
@@ -5695,7 +5695,7 @@ const n1 = { class: "bsgoal-base-table" }, a1 = {
5695
5695
  return !!te && Se;
5696
5696
  }), Ae = window.__MICRO_APP_ENVIRONMENT__;
5697
5697
  return s({
5698
- refreshList: H,
5698
+ refreshList: Q,
5699
5699
  clearSelection: K,
5700
5700
  clearSortFields: ue
5701
5701
  }), (te, Se) => {
@@ -5750,7 +5750,7 @@ const n1 = { class: "bsgoal-base-table" }, a1 = {
5750
5750
  fontSize: "14px"
5751
5751
  },
5752
5752
  onSelect: C,
5753
- onSelectAll: Q,
5753
+ onSelectAll: H,
5754
5754
  onSelectionChange: R,
5755
5755
  onSortChange: we
5756
5756
  }, {
@@ -5971,17 +5971,17 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
5971
5971
  We(() => {
5972
5972
  const { configOptions: F } = f;
5973
5973
  z(F).forEach((C) => {
5974
- const { value: Q, prop: R = "", type: G = "", range: K = [], min: oe = 0, max: me = 0, prevent: we = !1 } = C;
5974
+ const { value: H, prop: R = "", type: G = "", range: K = [], min: oe = 0, max: me = 0, prevent: we = !1 } = C;
5975
5975
  if ([O.NUMBER_RANGE].includes(G)) {
5976
5976
  if (Array.isArray(K) && K.length === 2) {
5977
- const { 0: Ee = "", 1: Ae = "" } = K, { 0: te = "", 1: Se = "" } = Q;
5977
+ const { 0: Ee = "", 1: Ae = "" } = K, { 0: te = "", 1: Se = "" } = H;
5978
5978
  c.value[Ee] = te || oe, c.value[Ae] = Se || me;
5979
5979
  }
5980
5980
  } else if (we) {
5981
5981
  const Ee = c.value[R];
5982
- c.value[R] = Ee || [0, "0", !1].includes(Ee) ? Ee : [0, "0", !1].includes(Q) ? Q : "";
5982
+ c.value[R] = Ee || [0, "0", !1].includes(Ee) ? Ee : H || [0, "0", !1].includes(H) ? H : "";
5983
5983
  } else
5984
- c.value[R] = Q || [0, "0", !1].includes(Q) ? Q : "";
5984
+ c.value[R] = H || [0, "0", !1].includes(H) ? H : "";
5985
5985
  });
5986
5986
  });
5987
5987
  const A = pe(() => {
@@ -6036,9 +6036,9 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6036
6036
  }
6037
6037
  return ce;
6038
6038
  }, x = (F = !1, ce = !1) => {
6039
- const { configOptions: C } = f, Q = z(c), R = z(C), G = {};
6039
+ const { configOptions: C } = f, H = z(c), R = z(C), G = {};
6040
6040
  for (const K of R) {
6041
- const { type: oe = "", range: me = [], prop: we = "", single: Ee = !1 } = K, Ae = Q[we];
6041
+ const { type: oe = "", range: me = [], prop: we = "", single: Ee = !1 } = K, Ae = H[we];
6042
6042
  if ([
6043
6043
  O.DATE_RANGE,
6044
6044
  O.TIME_RANGE,
@@ -6047,7 +6047,7 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6047
6047
  ].includes(oe) && me.length === 2 && (ce ? me.forEach((te) => {
6048
6048
  G[te] = "";
6049
6049
  }) : me.forEach((te) => {
6050
- Q[te] || (G[te] = "");
6050
+ H[te] || (G[te] = "");
6051
6051
  })), !we.startsWith("_") && !we.endsWith("_"))
6052
6052
  if ([O.CASCADER].includes(oe) && Array.isArray(Ae) && Ee) {
6053
6053
  const te = Ae.length;
@@ -6056,7 +6056,7 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6056
6056
  N0(Ae) ? G[we] = Cn(Ae) : G[we] = Ae;
6057
6057
  if ([O.NUMBER_RANGE].includes(oe)) {
6058
6058
  const { 0: te = "", 1: Se = "" } = me;
6059
- G[te] = Q[te], G[Se] = Q[Se];
6059
+ G[te] = H[te], G[Se] = H[Se];
6060
6060
  }
6061
6061
  if (Array.isArray(Ae) && Array.isArray(me) && oe.endsWith("range") && me.length === 2) {
6062
6062
  const { 0: te = "", 1: Se = "" } = Ae, { 0: Te = "", 1: ft = "" } = me;
@@ -6082,12 +6082,12 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6082
6082
  value: c.value[ce] || ""
6083
6083
  };
6084
6084
  r("on-change", C);
6085
- }, ue = Pn().format("YYYY-MM-DD"), H = Pn(`${ue} 00:00:00`), Me = Pn(`${ue} 23:59:59`), Le = j([H, Me]);
6085
+ }, ue = Pn().format("YYYY-MM-DD"), Q = Pn(`${ue} 00:00:00`), Me = Pn(`${ue} 23:59:59`), Le = j([Q, Me]);
6086
6086
  return s({
6087
6087
  triggerOperationSearch: Z,
6088
6088
  getModel: v
6089
6089
  }), (F, ce) => {
6090
- const C = k("el-input"), Q = k("el-input-number"), R = k("el-radio-button"), G = k("el-radio"), K = k("el-radio-group"), oe = k("el-option"), me = k("el-select"), we = k("el-slider"), Ee = k("el-switch"), Ae = k("el-date-picker"), te = k("el-time-picker"), Se = k("el-checkbox"), Te = k("el-checkbox-group"), ft = k("el-config-provider"), It = k("el-form-item"), bt = k("el-col"), nt = k("el-row"), Tt = k("el-form");
6090
+ const C = k("el-input"), H = k("el-input-number"), R = k("el-radio-button"), G = k("el-radio"), K = k("el-radio-group"), oe = k("el-option"), me = k("el-select"), we = k("el-slider"), Ee = k("el-switch"), Ae = k("el-date-picker"), te = k("el-time-picker"), Se = k("el-checkbox"), Te = k("el-checkbox-group"), ft = k("el-config-provider"), It = k("el-form-item"), bt = k("el-col"), nt = k("el-row"), Tt = k("el-form");
6091
6091
  return m(), D("div", u1, [
6092
6092
  V("div", s1, [
6093
6093
  yt((m(), re(Tt, {
@@ -6155,7 +6155,7 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6155
6155
  placeholder: b(ee, Re, Ue),
6156
6156
  onChange: (ne) => I(ee, se)
6157
6157
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "rows", "clearable", "placeholder", "onChange"])) : fe("", !0),
6158
- ee === z(O).INPUT_NUMBER ? (m(), re(Q, {
6158
+ ee === z(O).INPUT_NUMBER ? (m(), re(H, {
6159
6159
  key: 2,
6160
6160
  modelValue: F.num,
6161
6161
  "onUpdate:modelValue": ce[0] || (ce[0] = (ne) => F.num = ne),
@@ -6321,7 +6321,7 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6321
6321
  onOnChange: (ne) => I(ee, se)
6322
6322
  }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "options", "placeholder", "onOnChange"])) : fe("", !0),
6323
6323
  [z(O).NUMBER_RANGE].includes(ee) ? (m(), D("div", c1, [
6324
- P(Q, {
6324
+ P(H, {
6325
6325
  modelValue: c.value[ke[0]],
6326
6326
  "onUpdate:modelValue": (ne) => c.value[ke[0]] = ne,
6327
6327
  min: ht,
@@ -6330,7 +6330,7 @@ const u1 = { class: "bsgoal-base-search" }, s1 = { class: "base_search" }, c1 =
6330
6330
  onChange: (ne) => I(ee, ke[0])
6331
6331
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"]),
6332
6332
  d1,
6333
- P(Q, {
6333
+ P(H, {
6334
6334
  modelValue: c.value[ke[1]],
6335
6335
  "onUpdate:modelValue": (ne) => c.value[ke[1]] = ne,
6336
6336
  min: ht,
@@ -6692,7 +6692,7 @@ const A1 = { class: "bsgoal-base-search-table" }, S1 = { class: "base_search_tab
6692
6692
  $();
6693
6693
  }, ue = (R, G) => {
6694
6694
  r("select", R, G);
6695
- }, H = (R) => {
6695
+ }, Q = (R) => {
6696
6696
  r("select-all", R);
6697
6697
  }, Me = (R) => {
6698
6698
  r("selection-change", R);
@@ -6702,7 +6702,7 @@ const A1 = { class: "bsgoal-base-search-table" }, S1 = { class: "base_search_tab
6702
6702
  r("on-change", R);
6703
6703
  }, C = () => {
6704
6704
  b.value.clearSelection();
6705
- }, Q = (R = {}) => {
6705
+ }, H = (R = {}) => {
6706
6706
  r("on-click-overview", R);
6707
6707
  };
6708
6708
  return s({
@@ -6715,7 +6715,7 @@ const A1 = { class: "bsgoal-base-search-table" }, S1 = { class: "base_search_tab
6715
6715
  l.hasOverview ? (m(), re(Vu, {
6716
6716
  key: 0,
6717
6717
  options: l.overviewOptions,
6718
- onOnClickItem: Q
6718
+ onOnClickItem: H
6719
6719
  }, null, 8, ["options"])) : fe("", !0),
6720
6720
  yt(P(ku, {
6721
6721
  ref_key: "BSGOAL_BASE_SEARCH_REF",
@@ -6748,7 +6748,7 @@ const A1 = { class: "bsgoal-base-search-table" }, S1 = { class: "base_search_tab
6748
6748
  serial: l.serial,
6749
6749
  autoLayoutMenu: l.autoLayoutMenu,
6750
6750
  onSelect: ue,
6751
- onSelectAll: H,
6751
+ onSelectAll: Q,
6752
6752
  onSelectionChange: Me,
6753
6753
  onOnTotalChange: F,
6754
6754
  onOnSortChange: I
@@ -6895,19 +6895,19 @@ const N1 = { class: "bsgoal-base-tree" }, C1 = { class: "base_tree_main" }, O1 =
6895
6895
  const { initShow: $ = !0 } = f;
6896
6896
  $ || A.value.triggerFold();
6897
6897
  });
6898
- const b = ($, I, ue, H) => {
6899
- r("on-click", $, I, ue, H);
6898
+ const b = ($, I, ue, Q) => {
6899
+ r("on-click", $, I, ue, Q);
6900
6900
  };
6901
6901
  mn(M, () => {
6902
6902
  r("on-switch", M.value);
6903
6903
  });
6904
6904
  const S = async ($, I, ue) => {
6905
6905
  if ($.level === 0) {
6906
- const H = await ue.initNode($);
6907
- return I(H || []);
6906
+ const Q = await ue.initNode($);
6907
+ return I(Q || []);
6908
6908
  } else {
6909
- const H = await ue.lazyLoad($);
6910
- I(H || []);
6909
+ const Q = await ue.lazyLoad($);
6910
+ I(Q || []);
6911
6911
  }
6912
6912
  }, x = pe(() => {
6913
6913
  const { lazyLoad: $ = null, initNode: I = null } = f;
@@ -6925,7 +6925,7 @@ const N1 = { class: "bsgoal-base-tree" }, C1 = { class: "base_tree_main" }, O1 =
6925
6925
  X(), c.value.setCheckedKeys([], !1);
6926
6926
  }
6927
6927
  }), ($, I) => {
6928
- const ue = k("el-input"), H = k("el-tooltip"), Me = k("el-icon"), Le = k("el-tree");
6928
+ const ue = k("el-input"), Q = k("el-tooltip"), Me = k("el-icon"), Le = k("el-tree");
6929
6929
  return m(), D("div", N1, [
6930
6930
  yt((m(), D("div", {
6931
6931
  class: "base_tree",
@@ -6963,7 +6963,7 @@ const N1 = { class: "bsgoal-base-tree" }, C1 = { class: "base_tree_main" }, O1 =
6963
6963
  Be($.$slots, "prefix", { data: ce })
6964
6964
  ])) : fe("", !0),
6965
6965
  F.label.length && F.label.length > 10 ? (m(), D("span", D1, [
6966
- P(H, {
6966
+ P(Q, {
6967
6967
  content: F.label,
6968
6968
  placement: "right",
6969
6969
  effect: "dark"
@@ -7260,8 +7260,8 @@ const V1 = { class: "bsgoal-base-button" }, j1 = {
7260
7260
  if (Pe(B))
7261
7261
  return;
7262
7262
  s.hasLoading && (r.value = !0);
7263
- const { task: H } = s;
7264
- z(H)(() => {
7263
+ const { task: Q } = s;
7264
+ z(Q)(() => {
7265
7265
  r.value = !1;
7266
7266
  }, s.values);
7267
7267
  }, y = (B = "") => {
@@ -7325,9 +7325,9 @@ const V1 = { class: "bsgoal-base-button" }, j1 = {
7325
7325
  else {
7326
7326
  const ue = S.value;
7327
7327
  if (ue) {
7328
- const H = ue.querySelector(".el-button");
7328
+ const Q = ue.querySelector(".el-button");
7329
7329
  setTimeout(() => {
7330
- const Me = window.getComputedStyle(H, null).getPropertyValue("color");
7330
+ const Me = window.getComputedStyle(Q, null).getPropertyValue("color");
7331
7331
  b.value = Me;
7332
7332
  }, 50);
7333
7333
  }
@@ -7344,7 +7344,7 @@ const V1 = { class: "bsgoal-base-button" }, j1 = {
7344
7344
  return $ && (B.width = Number.isInteger($) ? `${$}px` : $), B;
7345
7345
  });
7346
7346
  return (B, $) => {
7347
- const I = k("el-button"), ue = k("el-popconfirm"), H = k("el-input"), Me = k("el-tooltip"), Le = k("el-config-provider");
7347
+ const I = k("el-button"), ue = k("el-popconfirm"), Q = k("el-input"), Me = k("el-tooltip"), Le = k("el-config-provider");
7348
7348
  return m(), D("div", V1, [
7349
7349
  P(Le, { locale: z(Un) }, {
7350
7350
  default: W(() => [
@@ -7405,7 +7405,7 @@ const V1 = { class: "bsgoal-base-button" }, j1 = {
7405
7405
  class: "base_button_tooltip",
7406
7406
  style: tt(X.value)
7407
7407
  }, [
7408
- P(H, {
7408
+ P(Q, {
7409
7409
  "model-value": l.tooltip,
7410
7410
  autosize: "",
7411
7411
  type: "textarea",
@@ -8696,17 +8696,17 @@ const mv = { class: "bsgoal-base-tree-table" }, yv = { class: "base_tree_table"
8696
8696
  c.value = C;
8697
8697
  };
8698
8698
  Nu("TREE_SWITCH_STATUS", c);
8699
- const M = ({ node: C, data: Q } = {}) => {
8700
- const R = ia(Cn(Pe(C))), G = ia(Cn(Pe(Q)));
8699
+ const M = ({ node: C, data: H } = {}) => {
8700
+ const R = ia(Cn(Pe(C))), G = ia(Cn(Pe(H)));
8701
8701
  r("on-add-tree", { node: R, data: G });
8702
- }, A = (C, Q, R, G) => {
8703
- r("on-click-tree", C, Q, R, G);
8702
+ }, A = (C, H, R, G) => {
8703
+ r("on-click-tree", C, H, R, G);
8704
8704
  }, b = j(null), S = () => {
8705
8705
  f.treeClearable && b.value.resetChecked();
8706
8706
  }, x = j(null), Z = (C = {}) => {
8707
8707
  x.value.refresh(C);
8708
- }, U = (C = {}, Q = []) => {
8709
- r("on-select-table", C, Q);
8708
+ }, U = (C = {}, H = []) => {
8709
+ r("on-select-table", C, H);
8710
8710
  }, X = (C = {}) => {
8711
8711
  r("on-select-all-table", C);
8712
8712
  }, B = (C = {}) => {
@@ -8717,7 +8717,7 @@ const mv = { class: "bsgoal-base-tree-table" }, yv = { class: "base_tree_table"
8717
8717
  r("on-change-table-search", C);
8718
8718
  }, ue = (C = {}) => {
8719
8719
  S(), r("on-clear-table-search", C);
8720
- }, H = (C = {}) => {
8720
+ }, Q = (C = {}) => {
8721
8721
  r("on-click-overview", C);
8722
8722
  };
8723
8723
  s({
@@ -8731,10 +8731,10 @@ const mv = { class: "bsgoal-base-tree-table" }, yv = { class: "base_tree_table"
8731
8731
  const C = {};
8732
8732
  return c.value, C.width = "100%", C;
8733
8733
  }), ce = pe(() => {
8734
- const { mapProps: C = {}, tableProps: Q = {} } = f;
8735
- return St(St({}, C), Q);
8734
+ const { mapProps: C = {}, tableProps: H = {} } = f;
8735
+ return St(St({}, C), H);
8736
8736
  });
8737
- return (C, Q) => (m(), D("div", mv, [
8737
+ return (C, H) => (m(), D("div", mv, [
8738
8738
  V("div", yv, [
8739
8739
  V("div", bv, [
8740
8740
  P(Fu, Ze({
@@ -8772,7 +8772,7 @@ const mv = { class: "bsgoal-base-tree-table" }, yv = { class: "base_tree_table"
8772
8772
  rowKey: l.rowKey,
8773
8773
  defaultExpandAll: l.defaultExpandAll,
8774
8774
  "map-props": ce.value,
8775
- onOnClickOverview: H,
8775
+ onOnClickOverview: Q,
8776
8776
  onSelect: U,
8777
8777
  onSelectAll: X,
8778
8778
  onSelectionChange: B,
@@ -9090,8 +9090,8 @@ const Ov = Ul({
9090
9090
  currentIndex: 0,
9091
9091
  animate: !0
9092
9092
  }), r = pe(() => Iu.equal(l.images, "Array") ? "Array" : "String"), f = pe(() => {
9093
- var H;
9094
- return r.value === "Array" ? l.index < 0 || l.index > ((H = l.images) == null ? void 0 : H.length) - 1 ? l.images[0] : l.images[l.index] : l.images;
9093
+ var Q;
9094
+ return r.value === "Array" ? l.index < 0 || l.index > ((Q = l.images) == null ? void 0 : Q.length) - 1 ? l.images[0] : l.images[l.index] : l.images;
9095
9095
  }), h = pe(() => Iu.equal(s.currentImage, "Object") ? "Object" : "String");
9096
9096
  O0(() => {
9097
9097
  s.currentIndex = l.index, s.currentImage = f.value;
@@ -9106,37 +9106,37 @@ const Ov = Ul({
9106
9106
  s.scale >= 0.6 && (s.scale = Su.sub(s.scale, M()));
9107
9107
  };
9108
9108
  function M() {
9109
- const H = "#zoom=";
9110
- return h.value === "String" && s.currentImage.includes(H) && s.currentImage.split(H).pop() * 1 - 1 || l.zoom - 1;
9109
+ const Q = "#zoom=";
9110
+ return h.value === "String" && s.currentImage.includes(Q) && s.currentImage.split(Q).pop() * 1 - 1 || l.zoom - 1;
9111
9111
  }
9112
9112
  const A = () => {
9113
- var H;
9114
- s.currentIndex === 0 ? s.currentIndex = ((H = l.images) == null ? void 0 : H.length) - 1 : s.currentIndex -= 1, s.currentImage = l.images[s.currentIndex], B();
9113
+ var Q;
9114
+ s.currentIndex === 0 ? s.currentIndex = ((Q = l.images) == null ? void 0 : Q.length) - 1 : s.currentIndex -= 1, s.currentImage = l.images[s.currentIndex], B();
9115
9115
  }, b = () => {
9116
- var H;
9117
- s.currentIndex === ((H = l.images) == null ? void 0 : H.length) - 1 ? s.currentIndex = 0 : s.currentIndex += 1, s.currentImage = l.images[s.currentIndex], B();
9118
- }, S = (H) => {
9119
- H.wheelDelta > 0 ? c() : v();
9120
- }, x = (H) => {
9121
- s.rotate += H;
9116
+ var Q;
9117
+ s.currentIndex === ((Q = l.images) == null ? void 0 : Q.length) - 1 ? s.currentIndex = 0 : s.currentIndex += 1, s.currentImage = l.images[s.currentIndex], B();
9118
+ }, S = (Q) => {
9119
+ Q.wheelDelta > 0 ? c() : v();
9120
+ }, x = (Q) => {
9121
+ s.rotate += Q;
9122
9122
  }, Z = () => {
9123
9123
  s.rotateX = s.rotateX === 0 ? 180 : 0;
9124
9124
  }, U = () => {
9125
9125
  s.rotateY = s.rotateY === 0 ? 180 : 0;
9126
- }, X = (H) => {
9127
- s.currentIndex !== H && (s.currentIndex = H, s.currentImage = l.images[s.currentIndex], B());
9126
+ }, X = (Q) => {
9127
+ s.currentIndex !== Q && (s.currentIndex = Q, s.currentImage = l.images[s.currentIndex], B());
9128
9128
  };
9129
9129
  function B() {
9130
9130
  s.animate = !1, s.scale = 1, s.rotate = 0, s.rotateX = 0, s.rotateY = 0, s.imgLeft = 0, s.imgTop = 0, Cv.asyncFn(() => {
9131
9131
  s.animate = !0;
9132
9132
  });
9133
9133
  }
9134
- const $ = (H) => {
9135
- const { pageX: Me, pageY: Le } = H;
9136
- s.startPageX = Me - s.imgLeft, s.startPageY = Le - s.imgTop, document.addEventListener("mousemove", I, !1), document.addEventListener("mouseup", ue, !1), H.preventDefault();
9137
- }, I = (H) => {
9138
- const { pageX: Me, pageY: Le } = H;
9139
- s.imgTop = Le - s.startPageY, s.imgLeft = Me - s.startPageX, H.preventDefault();
9134
+ const $ = (Q) => {
9135
+ const { pageX: Me, pageY: Le } = Q;
9136
+ s.startPageX = Me - s.imgLeft, s.startPageY = Le - s.imgTop, document.addEventListener("mousemove", I, !1), document.addEventListener("mouseup", ue, !1), Q.preventDefault();
9137
+ }, I = (Q) => {
9138
+ const { pageX: Me, pageY: Le } = Q;
9139
+ s.imgTop = Le - s.startPageY, s.imgLeft = Me - s.startPageX, Q.preventDefault();
9140
9140
  }, ue = () => {
9141
9141
  document.removeEventListener("mousemove", I, !1);
9142
9142
  };
@@ -9492,7 +9492,7 @@ const Yv = { class: "bsgoal-base-upload" }, Hv = { class: "base_upload" }, Qv =
9492
9492
  const v = (U, X) => {
9493
9493
  const { status: B = "", name: $ = "" } = U, I = y.value;
9494
9494
  if (B === "success" && c.value.push(U), B === "ready") {
9495
- const ue = I.findIndex((H) => H.name === $);
9495
+ const ue = I.findIndex((Q) => Q.name === $);
9496
9496
  ue !== -1 && I.splice(ue, 1);
9497
9497
  }
9498
9498
  A(X);
@@ -9632,7 +9632,7 @@ const Zv = { class: "bsgoal-base-dialog-form" }, Kv = Object.assign({
9632
9632
  }), A = pe(() => Pe(c) === "detail"), b = (I = {}) => {
9633
9633
  r("on-change", I);
9634
9634
  }, S = j(null), x = (I = {}, ue = "") => {
9635
- const H = ia(Cn(Pe(I)));
9635
+ const Q = ia(Cn(Pe(I)));
9636
9636
  return M.value.forEach((Le) => {
9637
9637
  const { range: F = [], type: ce = "" } = Le;
9638
9638
  if (Array.isArray(F) && F.length && [
@@ -9641,10 +9641,10 @@ const Zv = { class: "bsgoal-base-dialog-form" }, Kv = Object.assign({
9641
9641
  O.DATE_TIME_RANGE
9642
9642
  ].includes(ce))
9643
9643
  for (const C of F) {
9644
- const { [C]: Q = "" } = H;
9645
- H[C] = Q;
9644
+ const { [C]: H = "" } = Q;
9645
+ Q[C] = H;
9646
9646
  }
9647
- }), v.value = ia(Cn(Pe(H))), ue ? c.value = ue : c.value = "add", S.value.show(), qt(() => {
9647
+ }), v.value = ia(Cn(Pe(Q))), ue ? c.value = ue : c.value = "add", S.value.show(), qt(() => {
9648
9648
  B.value.resetFields();
9649
9649
  }), r("on-show"), Pe(v);
9650
9650
  }, Z = () => {
@@ -9655,19 +9655,19 @@ const Zv = { class: "bsgoal-base-dialog-form" }, Kv = Object.assign({
9655
9655
  const { title: I = "" } = f, ue = Pe(c);
9656
9656
  if (I.endsWith("_"))
9657
9657
  return I.substring(0, I.length - 1);
9658
- let H = "", Me = "";
9658
+ let Q = "", Me = "";
9659
9659
  switch (ue) {
9660
9660
  case "add":
9661
- H = "新增";
9661
+ Q = "新增";
9662
9662
  break;
9663
9663
  case "edit":
9664
- H = "编辑";
9664
+ Q = "编辑";
9665
9665
  break;
9666
9666
  case "detail":
9667
9667
  Me = "详情";
9668
9668
  break;
9669
9669
  }
9670
- return `${H}${I}${Me}`;
9670
+ return `${Q}${I}${Me}`;
9671
9671
  }), B = j(null), $ = (I) => {
9672
9672
  B.value.validateForm((ue = null) => {
9673
9673
  ue ? r("on-confirm", ue, I) : I(!1);
@@ -9702,10 +9702,10 @@ const Zv = { class: "bsgoal-base-dialog-form" }, Kv = Object.assign({
9702
9702
  "bind-model": v.value,
9703
9703
  onOnChange: b
9704
9704
  }), la({ _: 2 }, [
9705
- Xe(y.value, (H) => ({
9706
- name: H,
9705
+ Xe(y.value, (Q) => ({
9706
+ name: Q,
9707
9707
  fn: W(() => [
9708
- Be(I.$slots, H)
9708
+ Be(I.$slots, Q)
9709
9709
  ])
9710
9710
  }))
9711
9711
  ]), 1040, ["disabled", "config-options", "bind-model"])
@@ -10089,7 +10089,7 @@ const im = { class: "bsgoal-base-list" }, om = { class: "base_list" }, um = ["in
10089
10089
  }), Z = pe(() => {
10090
10090
  const F = {}, ce = S.value;
10091
10091
  return console.log("gutterValue", ce), ce && (F.padding = ` 0 calc(${ce}/2)`), F;
10092
- }), U = j(!1), X = j([]), B = j(0), $ = j(1), I = j(!1), ue = pe(() => !X.value.length), H = pe(() => {
10092
+ }), U = j(!1), X = j([]), B = j(0), $ = j(1), I = j(!1), ue = pe(() => !X.value.length), Q = pe(() => {
10093
10093
  const F = {
10094
10094
  currentPage: "currentPage",
10095
10095
  pageSize: "pageSize",
@@ -10099,15 +10099,15 @@ const im = { class: "bsgoal-base-list" }, om = { class: "base_list" }, um = ["in
10099
10099
  return St(St({}, F), ce);
10100
10100
  }), Me = (F = {}) => {
10101
10101
  I.value = !0;
10102
- const { pageSize: ce = 20, fetch: C = null } = f, Q = {};
10103
- if (Q[H.value.currentPage] = $.value, Q[H.value.pageSize] = ce, !C) {
10102
+ const { pageSize: ce = 20, fetch: C = null } = f, H = {};
10103
+ if (H[Q.value.currentPage] = $.value, H[Q.value.pageSize] = ce, !C) {
10104
10104
  I.value = !1;
10105
10105
  return;
10106
10106
  }
10107
- C(St(St({}, F), Q)).then((R = {}) => {
10107
+ C(St(St({}, F), H)).then((R = {}) => {
10108
10108
  const { code: G = 0, data: K = [] } = R;
10109
10109
  if (G === 0) {
10110
- const oe = K[H.value.rows];
10110
+ const oe = K[Q.value.rows];
10111
10111
  Array.isArray(oe) && oe.length && (X.value.push(...oe), B.value = X.value.length, $.value += 1);
10112
10112
  }
10113
10113
  I.value = !1;
@@ -10120,7 +10120,7 @@ const im = { class: "bsgoal-base-list" }, om = { class: "base_list" }, um = ["in
10120
10120
  refresh: y,
10121
10121
  getSearchParams: c
10122
10122
  }), (F, ce) => {
10123
- const C = k("el-col"), Q = k("el-row"), R = kl("infinite-scroll"), G = kl("loading");
10123
+ const C = k("el-col"), H = k("el-row"), R = kl("infinite-scroll"), G = kl("loading");
10124
10124
  return m(), D("div", im, [
10125
10125
  V("div", om, [
10126
10126
  yt(P(ku, {
@@ -10146,7 +10146,7 @@ const im = { class: "bsgoal-base-list" }, om = { class: "base_list" }, um = ["in
10146
10146
  "infinite-scroll-delay": l.delay,
10147
10147
  class: "base_list_container"
10148
10148
  }, [
10149
- P(Q, { style: { margin: "0px" } }, {
10149
+ P(H, { style: { margin: "0px" } }, {
10150
10150
  default: W(() => [
10151
10151
  (m(!0), D(je, null, Xe(X.value, (K, oe) => (m(), re(C, {
10152
10152
  key: oe,