@bsgoal/common 1.8.6 → 1.8.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
@@ -1,15 +1,15 @@
1
- var De = Object.defineProperty;
1
+ var Oe = Object.defineProperty;
2
2
  var Ve = Object.getOwnPropertySymbols;
3
- var Oe = Object.prototype.hasOwnProperty, Ie = Object.prototype.propertyIsEnumerable;
4
- var $e = (e, s, a) => s in e ? De(e, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[s] = a, Ee = (e, s) => {
3
+ var De = Object.prototype.hasOwnProperty, Ie = Object.prototype.propertyIsEnumerable;
4
+ var Ce = (e, s, a) => s in e ? Oe(e, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[s] = a, Ee = (e, s) => {
5
5
  for (var a in s || (s = {}))
6
- Oe.call(s, a) && $e(e, a, s[a]);
6
+ De.call(s, a) && Ce(e, a, s[a]);
7
7
  if (Ve)
8
8
  for (var a of Ve(s))
9
- Ie.call(s, a) && $e(e, a, s[a]);
9
+ Ie.call(s, a) && Ce(e, a, s[a]);
10
10
  return e;
11
11
  };
12
- import { computed as Z, resolveComponent as v, openBlock as n, createElementBlock as E, createVNode as C, withCtx as A, renderSlot as J, createTextVNode as G, toDisplayString as z, ref as w, watchEffect as he, unref as c, createElementVNode as O, withDirectives as K, createBlock as y, Fragment as P, renderList as Q, createCommentVNode as $, nextTick as Ce, inject as Me, watch as me, resolveDirective as Re, normalizeClass as ge, vShow as te, isProxy as Fe, toRaw as Ue, provide as Le, useSlots as Be, createSlots as Pe, normalizeStyle as ze } from "vue";
12
+ import { computed as Z, resolveComponent as v, openBlock as n, createElementBlock as b, createVNode as $, withCtx as A, renderSlot as q, createTextVNode as H, toDisplayString as j, ref as N, watchEffect as pe, unref as c, createElementVNode as D, withDirectives as J, createBlock as y, Fragment as P, renderList as Q, createCommentVNode as C, nextTick as $e, inject as Me, watch as me, resolveDirective as Re, normalizeClass as ge, vShow as te, isProxy as Fe, toRaw as Ue, provide as Le, useSlots as Be, createSlots as Pe, normalizeStyle as ze } from "vue";
13
13
  import { ElMessage as je } from "element-plus";
14
14
  const l = {
15
15
  INPUT: "text",
@@ -31,7 +31,8 @@ const l = {
31
31
  DATE_TIME: "datetime",
32
32
  DATE_TIME_RANGE: "datetimerange",
33
33
  OPERATION: "operation",
34
- CASCADER: "cascader"
34
+ CASCADER: "cascader",
35
+ CHECKBOX_SINGLE: "checkboxsingle"
35
36
  };
36
37
  let be = null;
37
38
  const ye = (e) => {
@@ -86,7 +87,7 @@ const ye = (e) => {
86
87
  };
87
88
  const Ge = { class: "bsgoal-base-tooltip" }, Ye = {
88
89
  name: "BsgoalBaseTooltip"
89
- }, we = /* @__PURE__ */ Object.assign(Ye, {
90
+ }, Ne = /* @__PURE__ */ Object.assign(Ye, {
90
91
  props: {
91
92
  /**
92
93
  * 文字提示内容
@@ -137,8 +138,8 @@ const Ge = { class: "bsgoal-base-tooltip" }, Ye = {
137
138
  });
138
139
  return (r, u) => {
139
140
  const t = v("el-tooltip");
140
- return n(), E("div", Ge, [
141
- C(t, {
141
+ return n(), b("div", Ge, [
142
+ $(t, {
142
143
  class: "base_tooltip",
143
144
  effect: "dark",
144
145
  "popper-class": "base_tooltip_popper",
@@ -147,8 +148,8 @@ const Ge = { class: "bsgoal-base-tooltip" }, Ye = {
147
148
  disabled: i.value
148
149
  }, {
149
150
  default: A(() => [
150
- J(r.$slots, "default", {}, () => [
151
- G(z(a.value), 1)
151
+ q(r.$slots, "default", {}, () => [
152
+ H(j(a.value), 1)
152
153
  ])
153
154
  ]),
154
155
  _: 3
@@ -157,9 +158,9 @@ const Ge = { class: "bsgoal-base-tooltip" }, Ye = {
157
158
  };
158
159
  }
159
160
  });
160
- const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { key: 1 }, Qe = {
161
+ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { key: 1 }, Ke = {
161
162
  name: "BsgoalBaseForm"
162
- }, Ze = /* @__PURE__ */ Object.assign(Qe, {
163
+ }, Qe = /* @__PURE__ */ Object.assign(Ke, {
163
164
  props: {
164
165
  /**
165
166
  * >----------props----------<
@@ -229,26 +230,26 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
229
230
  },
230
231
  emits: ["on-form", "on-clear", "on-change", "on-fold"],
231
232
  setup(e, { expose: s, emit: a }) {
232
- const i = e, r = w(null), u = xe.align, t = w(i.bindModel);
233
- he(() => {
234
- const { configOptions: p, values: x } = i, T = c(p), B = c(x);
233
+ const i = e, r = N(null), u = xe.align, t = N(i.bindModel);
234
+ pe(() => {
235
+ const { configOptions: h, values: x } = i, T = c(h), B = c(x);
235
236
  T.forEach((m) => {
236
- const { value: I = "", prop: N = "", type: L = "" } = m;
237
+ const { value: I = "", prop: k = "", type: L = "" } = m;
237
238
  [l.INPUT, l.INPUT_TEXT_AREA].includes(L);
238
- const F = c(t)[N];
239
- t.value[N] = F || B[N] || I;
239
+ const F = c(t)[k];
240
+ t.value[k] = F || B[k] || I;
240
241
  });
241
242
  });
242
243
  const d = Z(() => {
243
- const { configOptions: p } = i;
244
- return c(p).map((B) => {
244
+ const { configOptions: h } = i;
245
+ return c(h).map((B) => {
245
246
  let { rules: m = !1, label: I = "" } = B;
246
- const N = { required: !0, message: `${I}不能为空`, trigger: "blur" };
247
- return m && (typeof m == "boolean" ? m = [N] : Array.isArray(m) ? m = [N, ...m] : m = [N, m]), B.rules = m, B;
247
+ const k = { required: !0, message: `${I}不能为空`, trigger: "blur" };
248
+ return m && (typeof m == "boolean" ? m = [k] : Array.isArray(m) ? m = [k, ...m] : m = [k, m]), B.rules = m, B;
248
249
  });
249
- }), _ = (p = "", x = "", T = "") => {
250
+ }), _ = (h = "", x = "", T = "") => {
250
251
  if (!T)
251
- switch (p) {
252
+ switch (h) {
252
253
  case l.INPUT:
253
254
  case l.INPUT_TEXT_AREA:
254
255
  return `请输入${x}`;
@@ -269,9 +270,9 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
269
270
  return ["开始月份", "结束月份"];
270
271
  }
271
272
  return T;
272
- }, V = (p = "", x = "") => {
273
+ }, V = (h = "", x = "") => {
273
274
  if (!x)
274
- switch (p) {
275
+ switch (h) {
275
276
  case l.WEEK:
276
277
  return "ww";
277
278
  case l.DATE:
@@ -292,32 +293,32 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
292
293
  }
293
294
  return x;
294
295
  }, M = () => {
295
- const p = c(t), { configOptions: x } = i, T = c(x);
296
+ const h = c(t), { configOptions: x } = i, T = c(x);
296
297
  for (const B of T) {
297
- const { type: m = "", range: I = [], prop: N = "" } = B;
298
+ const { type: m = "", range: I = [], prop: k = "" } = B;
298
299
  if (m.endsWith("range") && I && I.length === 2) {
299
- const { 0: L = "", 1: F = "" } = p[N], { 0: Y = "", 1: R = "" } = I;
300
- p[Y] = L, p[R] = F;
300
+ const { 0: L = "", 1: F = "" } = h[k], { 0: W = "", 1: R = "" } = I;
301
+ h[W] = L, h[R] = F;
301
302
  }
302
303
  }
303
- return a("on-form", p), p;
304
+ return a("on-form", h), h;
304
305
  }, S = () => {
305
306
  r.value.resetFields(), a("on-clear", t.value);
306
- }, k = (p, x) => {
307
+ }, w = (h, x) => {
307
308
  const T = {
308
- type: p,
309
+ type: h,
309
310
  prop: x,
310
311
  value: t.value[x] || ""
311
312
  };
312
313
  a("on-change", T);
313
- }, U = (p = () => {
314
+ }, U = (h = () => {
314
315
  }) => {
315
316
  r.value.validate((x = !1, T = {}) => {
316
317
  if (x) {
317
318
  const B = M();
318
- p(B);
319
+ h(B);
319
320
  } else {
320
- p(!1);
321
+ h(!1);
321
322
  const B = Object.keys(T)[0], {
322
323
  [B]: {
323
324
  0: { message: m = "" }
@@ -326,13 +327,13 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
326
327
  je.error(m);
327
328
  }
328
329
  });
329
- }, D = (p = [], x = "") => {
330
- const { 0: T = {}, 1: B = {} } = p, { value: m = !1, label: I = "" } = T, { value: N = !1, label: L = "" } = B;
330
+ }, O = (h = [], x = "") => {
331
+ const { 0: T = {}, 1: B = {} } = h, { value: m = !1, label: I = "" } = T, { value: k = !1, label: L = "" } = B;
331
332
  switch (x) {
332
333
  case "active-value":
333
334
  return m;
334
335
  case "inactive-value":
335
- return N;
336
+ return k;
336
337
  case "active-text":
337
338
  return I;
338
339
  case "inactive-text":
@@ -343,34 +344,34 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
343
344
  triggerOperationClear: S,
344
345
  triggerOperationForm: M,
345
346
  validateForm: U
346
- }), (p, x) => {
347
- const T = v("el-input"), B = v("el-input-number"), m = v("el-radio"), I = v("el-radio-group"), N = v("el-option"), L = v("el-select"), F = v("el-slider"), Y = v("el-switch"), R = v("el-date-picker"), H = v("el-time-picker"), ee = v("el-checkbox"), ae = v("el-checkbox-group"), le = v("el-form-item"), re = v("el-col"), ie = v("el-row"), ue = v("el-form");
348
- return n(), E("div", He, [
349
- O("div", We, [
350
- K((n(), y(ue, {
347
+ }), (h, x) => {
348
+ const T = v("el-input"), B = v("el-input-number"), m = v("el-radio"), I = v("el-radio-group"), k = v("el-option"), L = v("el-select"), F = v("el-slider"), W = v("el-switch"), R = v("el-date-picker"), X = v("el-time-picker"), ee = v("el-checkbox"), ae = v("el-checkbox-group"), le = v("el-form-item"), re = v("el-col"), ie = v("el-row"), ue = v("el-form");
349
+ return n(), b("div", He, [
350
+ D("div", We, [
351
+ J((n(), y(ue, {
351
352
  ref_key: "EL_FORM_REF",
352
353
  ref: r,
353
354
  "label-suffix": ":",
354
355
  model: t.value
355
356
  }, {
356
357
  default: A(() => [
357
- C(ie, null, {
358
+ $(ie, null, {
358
359
  default: A(() => [
359
- (n(!0), E(P, null, Q(d.value, ({
360
- label: W = "",
361
- prop: f = "",
360
+ (n(!0), b(P, null, Q(d.value, ({
361
+ label: G = "",
362
+ prop: g = "",
362
363
  type: o = "text",
363
- placeholder: g = "",
364
- readonly: j = e.readonlys,
364
+ placeholder: f = "",
365
+ readonly: Y = e.readonlys,
365
366
  clearable: fe = !0,
366
367
  rows: ve = 2,
367
- min: pe = 1,
368
+ min: he = 1,
368
369
  max: de = 10,
369
- range: q = [],
370
- format: X = "",
370
+ range: z = [],
371
+ format: K = "",
371
372
  rules: ne = [],
372
373
  limit: ce = e.limits,
373
- length: h = 255
374
+ length: p = 255
374
375
  } = {}, oe) => (n(), y(re, {
375
376
  key: oe,
376
377
  xs: 24,
@@ -378,169 +379,178 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
378
379
  md: e.medium
379
380
  }, {
380
381
  default: A(() => [
381
- C(le, {
382
- label: W,
383
- prop: f,
382
+ $(le, {
383
+ label: G,
384
+ prop: g,
384
385
  rules: ne
385
386
  }, {
386
387
  default: A(() => [
387
- J(p.$slots, [f], {
388
- option: { readonly: j, value: t.value[f], values: t.value }
388
+ q(h.$slots, [g], {
389
+ option: { readonly: Y, value: t.value[g], values: t.value }
389
390
  }, () => [
390
- j ? (n(), E("div", Xe, [
391
- C(we, {
392
- content: t.value[f],
391
+ Y ? (n(), b("div", Xe, [
392
+ $(Ne, {
393
+ content: t.value[g],
393
394
  limit: ce,
394
395
  none: e.none
395
396
  }, null, 8, ["content", "limit", "none"])
396
- ])) : (n(), E(P, { key: 0 }, [
397
+ ])) : (n(), b(P, { key: 0 }, [
397
398
  o === c(l).INPUT ? (n(), y(T, {
398
399
  key: 0,
399
- modelValue: t.value[f],
400
- "onUpdate:modelValue": (b) => t.value[f] = b,
401
- placeholder: _(o, W, g),
400
+ modelValue: t.value[g],
401
+ "onUpdate:modelValue": (E) => t.value[g] = E,
402
+ placeholder: _(o, G, f),
402
403
  clearable: fe,
403
- onChange: (b) => k(o, f)
404
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
404
+ onChange: (E) => w(o, g)
405
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : C("", !0),
405
406
  o === c(l).INPUT_TEXT_AREA ? (n(), y(T, {
406
407
  key: 1,
407
- modelValue: t.value[f],
408
- "onUpdate:modelValue": (b) => t.value[f] = b,
408
+ modelValue: t.value[g],
409
+ "onUpdate:modelValue": (E) => t.value[g] = E,
409
410
  "show-word-limit": "",
410
411
  type: "textarea",
411
412
  autosize: { minRows: ve },
412
- maxlength: h,
413
+ maxlength: p,
413
414
  clearable: fe,
414
- placeholder: _(o, W, g),
415
- onChange: (b) => k(o, f)
416
- }, null, 8, ["modelValue", "onUpdate:modelValue", "autosize", "maxlength", "clearable", "placeholder", "onChange"])) : $("", !0),
415
+ placeholder: _(o, G, f),
416
+ onChange: (E) => w(o, g)
417
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "autosize", "maxlength", "clearable", "placeholder", "onChange"])) : C("", !0),
417
418
  o === c(l).INPUT_NUMBER ? (n(), y(B, {
418
419
  key: 2,
419
- modelValue: t.value[f],
420
- "onUpdate:modelValue": (b) => t.value[f] = b,
420
+ modelValue: t.value[g],
421
+ "onUpdate:modelValue": (E) => t.value[g] = E,
421
422
  "controls-position": "right",
422
- min: pe,
423
+ min: he,
423
424
  max: de,
424
- onChange: k
425
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max"])) : $("", !0),
425
+ onChange: w
426
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max"])) : C("", !0),
426
427
  o === c(l).RADIO ? (n(), y(I, {
427
428
  key: 3,
428
- modelValue: t.value[f],
429
- "onUpdate:modelValue": (b) => t.value[f] = b,
430
- onChange: (b) => k(o, f)
429
+ modelValue: t.value[g],
430
+ "onUpdate:modelValue": (E) => t.value[g] = E,
431
+ onChange: (E) => w(o, g)
431
432
  }, {
432
433
  default: A(() => [
433
- (n(!0), E(P, null, Q(q, (b, _e) => (n(), y(m, {
434
+ (n(!0), b(P, null, Q(z, (E, _e) => (n(), y(m, {
434
435
  key: _e,
435
- label: b.value
436
+ label: E.value
436
437
  }, {
437
438
  default: A(() => [
438
- G(z(b.label), 1)
439
+ H(j(E.label), 1)
439
440
  ]),
440
441
  _: 2
441
442
  }, 1032, ["label"]))), 128))
442
443
  ]),
443
444
  _: 2
444
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
445
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : C("", !0),
445
446
  o === c(l).SELECT ? (n(), y(L, {
446
447
  key: 4,
447
- modelValue: t.value[f],
448
- "onUpdate:modelValue": (b) => t.value[f] = b,
449
- placeholder: _(o, W, g),
450
- onChange: (b) => k(o, f)
448
+ modelValue: t.value[g],
449
+ "onUpdate:modelValue": (E) => t.value[g] = E,
450
+ placeholder: _(o, G, f),
451
+ onChange: (E) => w(o, g)
451
452
  }, {
452
453
  default: A(() => [
453
- (n(!0), E(P, null, Q(q, (b, _e) => (n(), y(N, {
454
+ (n(!0), b(P, null, Q(z, (E, _e) => (n(), y(k, {
454
455
  key: _e,
455
- label: b.label,
456
- value: b.value
456
+ label: E.label,
457
+ value: E.value
457
458
  }, null, 8, ["label", "value"]))), 128))
458
459
  ]),
459
460
  _: 2
460
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
461
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : C("", !0),
461
462
  o === c(l).SLIDER ? (n(), y(F, {
462
463
  key: 5,
463
- modelValue: t.value[f],
464
- "onUpdate:modelValue": (b) => t.value[f] = b,
465
- min: pe,
464
+ modelValue: t.value[g],
465
+ "onUpdate:modelValue": (E) => t.value[g] = E,
466
+ min: he,
466
467
  max: de,
467
- onChange: (b) => k(o, f)
468
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
469
- o === c(l).SWITCH ? (n(), y(Y, {
468
+ onChange: (E) => w(o, g)
469
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : C("", !0),
470
+ o === c(l).SWITCH ? (n(), y(W, {
470
471
  key: 6,
471
- modelValue: t.value[f],
472
- "onUpdate:modelValue": (b) => t.value[f] = b,
473
- "active-value": D(q, "active-value"),
474
- "inactive-value": D(q, "inactive-value"),
475
- "active-text": D(q, "active-text"),
476
- "inactive-text": D(q, "inactive-text"),
477
- onChange: (b) => k(o, f)
478
- }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "active-text", "inactive-text", "onChange"])) : $("", !0),
472
+ modelValue: t.value[g],
473
+ "onUpdate:modelValue": (E) => t.value[g] = E,
474
+ "active-value": O(z, "active-value"),
475
+ "inactive-value": O(z, "inactive-value"),
476
+ "active-text": O(z, "active-text"),
477
+ "inactive-text": O(z, "inactive-text"),
478
+ onChange: (E) => w(o, g)
479
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "active-text", "inactive-text", "onChange"])) : C("", !0),
479
480
  [c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
480
481
  o
481
482
  ) ? (n(), y(R, {
482
483
  key: 7,
483
- modelValue: t.value[f],
484
- "onUpdate:modelValue": (b) => t.value[f] = b,
485
- format: V(o, X),
486
- "value-format": V(o, X),
484
+ modelValue: t.value[g],
485
+ "onUpdate:modelValue": (E) => t.value[g] = E,
486
+ format: V(o, K),
487
+ "value-format": V(o, K),
487
488
  type: o,
488
- placeholder: _(o, W, g),
489
- onChange: (b) => k(o, f)
490
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
489
+ placeholder: _(o, G, f),
490
+ onChange: (E) => w(o, g)
491
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : C("", !0),
491
492
  [
492
493
  c(l).DATE_RANGE,
493
494
  c(l).MONTH_RANGE,
494
495
  c(l).DATE_TIME_RANGE
495
496
  ].includes(o) ? (n(), y(R, {
496
497
  key: 8,
497
- modelValue: t.value[f],
498
- "onUpdate:modelValue": (b) => t.value[f] = b,
498
+ modelValue: t.value[g],
499
+ "onUpdate:modelValue": (E) => t.value[g] = E,
499
500
  type: o,
500
- "value-format": V(o, X),
501
- "start-placeholder": _(o, W, g)[0],
502
- "end-placeholder": _(o, W, g)[1],
503
- onChange: (b) => k(o, f)
504
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
505
- [c(l).TIME].includes(o) ? (n(), y(H, {
501
+ "value-format": V(o, K),
502
+ "start-placeholder": _(o, G, f)[0],
503
+ "end-placeholder": _(o, G, f)[1],
504
+ onChange: (E) => w(o, g)
505
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : C("", !0),
506
+ [c(l).TIME].includes(o) ? (n(), y(X, {
506
507
  key: 9,
507
- modelValue: t.value[f],
508
- "onUpdate:modelValue": (b) => t.value[f] = b,
508
+ modelValue: t.value[g],
509
+ "onUpdate:modelValue": (E) => t.value[g] = E,
509
510
  "arrow-control": "",
510
- "value-format": V(o, X),
511
- placeholder: _(o, W, g),
512
- onChange: (b) => k(o, f)
513
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
514
- [c(l).TIME_RANGE].includes(o) ? (n(), y(H, {
511
+ "value-format": V(o, K),
512
+ placeholder: _(o, G, f),
513
+ onChange: (E) => w(o, g)
514
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : C("", !0),
515
+ [c(l).TIME_RANGE].includes(o) ? (n(), y(X, {
515
516
  key: 10,
516
- modelValue: t.value[f],
517
- "onUpdate:modelValue": (b) => t.value[f] = b,
517
+ modelValue: t.value[g],
518
+ "onUpdate:modelValue": (E) => t.value[g] = E,
518
519
  "is-range": "",
519
- "value-format": V(o, X),
520
- "start-placeholder": _(o, W, g)[0],
521
- "end-placeholder": _(o, W, g)[1],
522
- onChange: (b) => k(o, f)
523
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
520
+ "value-format": V(o, K),
521
+ "start-placeholder": _(o, G, f)[0],
522
+ "end-placeholder": _(o, G, f)[1],
523
+ onChange: (E) => w(o, g)
524
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : C("", !0),
524
525
  [c(l).CHECKBOX].includes(o) ? (n(), y(ae, {
525
526
  key: 11,
526
- modelValue: t.value[f],
527
- "onUpdate:modelValue": (b) => t.value[f] = b,
528
- onChange: (b) => k(o, f)
527
+ modelValue: t.value[g],
528
+ "onUpdate:modelValue": (E) => t.value[g] = E,
529
+ onChange: (E) => w(o, g)
529
530
  }, {
530
531
  default: A(() => [
531
- (n(!0), E(P, null, Q(q, (b, _e) => (n(), y(ee, {
532
+ (n(!0), b(P, null, Q(z, (E, _e) => (n(), y(ee, {
532
533
  key: _e,
533
- label: b.value
534
+ label: E.value
534
535
  }, {
535
536
  default: A(() => [
536
- G(z(b.label), 1)
537
+ H(j(E.label), 1)
537
538
  ]),
538
539
  _: 2
539
540
  }, 1032, ["label"]))), 128))
540
541
  ]),
541
542
  _: 2
542
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
543
- [].includes(o) ? (n(), E(P, { key: 12 }, [], 64)) : $("", !0)
543
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : C("", !0),
544
+ [c(l).CHECKBOX_SINGLE].includes(o) ? (n(), y(ee, {
545
+ key: 12,
546
+ modelValue: t.value[g],
547
+ "onUpdate:modelValue": (E) => t.value[g] = E,
548
+ label: G,
549
+ "true-label": z[0] ? z[0].value : "1",
550
+ "false-label": z[1] ? z[1].value : "0",
551
+ onChange: (E) => w(o, g)
552
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "true-label", "false-label", "onChange"])) : C("", !0),
553
+ [].includes(o) ? (n(), b(P, { key: 13 }, [], 64)) : C("", !0)
544
554
  ], 64))
545
555
  ])
546
556
  ]),
@@ -562,7 +572,7 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
562
572
  };
563
573
  }
564
574
  });
565
- const Ke = { class: "bsgoal-base-table-content" }, Je = { class: "base_table_content" }, qe = {
575
+ const Ze = { class: "bsgoal-base-table-content" }, Je = { class: "base_table_content" }, qe = {
566
576
  key: 1,
567
577
  class: "base_table_table_txt"
568
578
  }, et = {
@@ -592,13 +602,13 @@ const Ke = { class: "bsgoal-base-table-content" }, Je = { class: "base_table_con
592
602
  }
593
603
  },
594
604
  setup(e) {
595
- return (s, a) => (n(), E("div", Ke, [
596
- O("div", Je, [
597
- e.tooltip ? (n(), y(we, {
605
+ return (s, a) => (n(), b("div", Ze, [
606
+ D("div", Je, [
607
+ e.tooltip ? (n(), y(Ne, {
598
608
  key: 0,
599
609
  content: e.data,
600
610
  limit: e.limit
601
- }, null, 8, ["content", "limit"])) : (n(), E("div", qe, z(e.data), 1))
611
+ }, null, 8, ["content", "limit"])) : (n(), b("div", qe, j(e.data), 1))
602
612
  ])
603
613
  ]));
604
614
  }
@@ -731,7 +741,7 @@ var at = {
731
741
  }
732
742
  }
733
743
  };
734
- const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_pagination" }, ot = /* @__PURE__ */ O("span", null, "总数", -1), st = {
744
+ const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_pagination" }, ot = /* @__PURE__ */ D("span", null, "总数", -1), st = {
735
745
  name: "BsgoalBaseTablePagination"
736
746
  }, ut = /* @__PURE__ */ Object.assign(st, {
737
747
  props: {
@@ -770,14 +780,14 @@ const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_
770
780
  s("on-size-change", u);
771
781
  }, i = (u = 1) => {
772
782
  s("on-current-change", u);
773
- }, r = w(1);
783
+ }, r = N(1);
774
784
  return (u, t) => {
775
785
  const d = v("el-pagination"), _ = v("el-config-provider");
776
- return n(), E("div", lt, [
777
- O("div", nt, [
778
- C(_, { locale: c(at) }, {
786
+ return n(), b("div", lt, [
787
+ D("div", nt, [
788
+ $(_, { locale: c(at) }, {
779
789
  default: A(() => [
780
- C(d, {
790
+ $(d, {
781
791
  background: "",
782
792
  layout: "total, sizes, prev, pager, next, jumper",
783
793
  "current-page": r.value,
@@ -801,40 +811,40 @@ const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_
801
811
  };
802
812
  }
803
813
  });
804
- const Ne = (e, s) => {
814
+ const we = (e, s) => {
805
815
  const a = e.__vccOpts || e;
806
816
  for (const [i, r] of s)
807
817
  a[i] = r;
808
818
  return a;
809
819
  }, ct = {
810
820
  name: "BsgoalBaseTableEmpty"
811
- }, rt = { class: "bsgoal-base-table-empty" }, it = /* @__PURE__ */ O("div", { class: "base_table_empty" }, [
812
- /* @__PURE__ */ O("div", { class: "base_table_empty_img" }, [
813
- /* @__PURE__ */ O("img", {
821
+ }, rt = { class: "bsgoal-base-table-empty" }, it = /* @__PURE__ */ D("div", { class: "base_table_empty" }, [
822
+ /* @__PURE__ */ D("div", { class: "base_table_empty_img" }, [
823
+ /* @__PURE__ */ D("img", {
814
824
  src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
815
825
  alt: ""
816
826
  })
817
827
  ]),
818
- /* @__PURE__ */ O("div", { class: "base_table_empty_text" }, "暂无数据")
828
+ /* @__PURE__ */ D("div", { class: "base_table_empty_text" }, "暂无数据")
819
829
  ], -1), dt = [
820
830
  it
821
831
  ];
822
832
  function _t(e, s, a, i, r, u) {
823
- return n(), E("div", rt, dt);
833
+ return n(), b("div", rt, dt);
824
834
  }
825
- const mt = /* @__PURE__ */ Ne(ct, [["render", _t]]), gt = (e = null, { expression: s = 75, arg: a = {}, height: i = "" } = {}) => {
835
+ const mt = /* @__PURE__ */ we(ct, [["render", _t]]), gt = (e = null, { expression: s = 75, arg: a = {}, height: i = "" } = {}) => {
826
836
  const r = c(e);
827
837
  if (r) {
828
838
  const u = r.querySelector(".el-table");
829
- u && Ce(() => {
839
+ u && $e(() => {
830
840
  const { y: t = 0 } = u.getBoundingClientRect();
831
841
  let d = `calc(100vh - ${t + s}px)`;
832
842
  const _ = Number.parseInt(i);
833
843
  i && (_ ? d = `${i}px` : d = i), u.style.height = d;
834
844
  });
835
845
  }
836
- }, Ae = (e = Promise.resolve(), s = null, a = w(!1), i = w(null)) => {
837
- const r = w("");
846
+ }, Ae = (e = Promise.resolve(), s = null, a = N(!1), i = N(null)) => {
847
+ const r = N("");
838
848
  return a.value = !0, e.then((u = {}) => {
839
849
  const { data: t = {}, message: d = "" } = u;
840
850
  i.value = t, r.value = d, s && s(!0, t), a.value = !1;
@@ -866,7 +876,7 @@ const mt = /* @__PURE__ */ Ne(ct, [["render", _t]]), gt = (e = null, { expressio
866
876
  return "undefind";
867
877
  }
868
878
  }, vt = (e) => ft(e) === "boolean";
869
- const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
879
+ const ht = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, Et = {
870
880
  key: 0,
871
881
  class: "base_table_menu"
872
882
  }, bt = {
@@ -979,55 +989,55 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
979
989
  },
980
990
  setup(e, { expose: s }) {
981
991
  const a = e, i = Z(() => {
982
- const { configOptions: m = [], operation: I = !1, operationWidth: N = 0 } = a, L = c(m), F = [];
992
+ const { configOptions: m = [], operation: I = !1, operationWidth: k = 0 } = a, L = c(m), F = [];
983
993
  return I && F.push({
984
994
  label: "操作",
985
995
  fixed: "right",
986
996
  prop: "operation",
987
- width: N
997
+ width: k
988
998
  }), [...L, ...F];
989
- }), r = w(null), u = Me("transferFoldStatus");
990
- he(() => {
991
- const { height: m } = a, I = u ? u.value : !1, N = c(a.expression);
992
- vt(m) || gt(r, { arg: I, expression: N, height: m });
999
+ }), r = N(null), u = Me("transferFoldStatus");
1000
+ pe(() => {
1001
+ const { height: m } = a, I = u ? u.value : !1, k = c(a.expression);
1002
+ vt(m) || gt(r, { arg: I, expression: k, height: m });
993
1003
  });
994
1004
  const t = c(a.mapProps), d = Ee({
995
1005
  currentPage: "currentPage",
996
1006
  pageSize: "pageSize",
997
1007
  rows: "rows",
998
1008
  total: "total"
999
- }, t), _ = w(1), V = w(10), M = w(0), S = w({}), k = w(a.loading), U = w(), D = w({}), p = () => {
1000
- const { fetch: m, call: I, hasPage: N } = a, L = S.value, F = _.value, Y = V.value, R = Ee({}, L);
1001
- N && (R[d.currentPage] = F, R[d.pageSize] = Y), Ae(m(R), I, k, D);
1009
+ }, t), _ = N(1), V = N(10), M = N(0), S = N({}), w = N(a.loading), U = N(), O = N({}), h = () => {
1010
+ const { fetch: m, call: I, hasPage: k } = a, L = S.value, F = _.value, W = V.value, R = Ee({}, L);
1011
+ k && (R[d.currentPage] = F, R[d.pageSize] = W), Ae(m(R), I, w, O);
1002
1012
  };
1003
- he(() => {
1013
+ pe(() => {
1004
1014
  U.value = a.data;
1005
- }), me(D, (m) => {
1015
+ }), me(O, (m) => {
1006
1016
  a.hasPage ? (U.value = m[d.rows], M.value = m[d.total]) : U.value = m;
1007
1017
  });
1008
1018
  const x = (m = {}) => {
1009
- S.value = m, _.value = 1, p();
1019
+ S.value = m, _.value = 1, h();
1010
1020
  }, T = (m = 1) => {
1011
1021
  _.value = m;
1012
1022
  }, B = (m = 10) => {
1013
1023
  V.value = m;
1014
1024
  };
1015
1025
  return me([_, V], () => {
1016
- p();
1026
+ h();
1017
1027
  }), s({
1018
1028
  refreshList: x
1019
1029
  }), (m, I) => {
1020
- const N = v("el-table-column"), L = v("el-table"), F = Re("loading");
1021
- return n(), E("div", pt, [
1022
- O("div", ht, [
1023
- m.$slots.menu ? (n(), E("div", Et, [
1024
- J(m.$slots, "menu")
1025
- ])) : $("", !0),
1026
- O("div", {
1030
+ const k = v("el-table-column"), L = v("el-table"), F = Re("loading");
1031
+ return n(), b("div", ht, [
1032
+ D("div", pt, [
1033
+ m.$slots.menu ? (n(), b("div", Et, [
1034
+ q(m.$slots, "menu")
1035
+ ])) : C("", !0),
1036
+ D("div", {
1027
1037
  ref_key: "EL_TABLE_WRAP_REF",
1028
1038
  ref: r
1029
1039
  }, [
1030
- K((n(), y(L, {
1040
+ J((n(), y(L, {
1031
1041
  stripe: "",
1032
1042
  border: "",
1033
1043
  "highlight-current-row": "",
@@ -1041,37 +1051,37 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
1041
1051
  }
1042
1052
  }, {
1043
1053
  empty: A(() => [
1044
- C(mt)
1054
+ $(mt)
1045
1055
  ]),
1046
1056
  default: A(() => [
1047
- e.selection ? (n(), y(N, {
1057
+ e.selection ? (n(), y(k, {
1048
1058
  key: 0,
1049
1059
  fixed: "left",
1050
1060
  type: "selection",
1051
1061
  width: "40"
1052
- })) : $("", !0),
1053
- (n(!0), E(P, null, Q(i.value, ({
1054
- prop: Y = "",
1062
+ })) : C("", !0),
1063
+ (n(!0), b(P, null, Q(i.value, ({
1064
+ prop: W = "",
1055
1065
  label: R = "",
1056
- align: H = "center",
1066
+ align: X = "center",
1057
1067
  width: ee = "",
1058
1068
  fixed: ae = !1,
1059
1069
  tooltip: le = !1,
1060
1070
  limit: re = 0
1061
- } = {}, ie) => (n(), y(N, {
1071
+ } = {}, ie) => (n(), y(k, {
1062
1072
  key: ie,
1063
1073
  label: R,
1064
- align: H,
1074
+ align: X,
1065
1075
  width: ee,
1066
1076
  fixed: ae,
1067
1077
  "min-width": `${R.length * 14 + 24}px`
1068
1078
  }, {
1069
1079
  default: A(({ row: ue }) => [
1070
- J(m.$slots, Y, { row: ue }, () => [
1071
- C(tt, {
1080
+ q(m.$slots, W, { row: ue }, () => [
1081
+ $(tt, {
1072
1082
  limit: re,
1073
1083
  tooltip: le,
1074
- data: ue[Y]
1084
+ data: ue[W]
1075
1085
  }, null, 8, ["limit", "tooltip", "data"])
1076
1086
  ])
1077
1087
  ]),
@@ -1080,7 +1090,7 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
1080
1090
  ]),
1081
1091
  _: 3
1082
1092
  }, 8, ["data", "header-cell-style"])), [
1083
- [F, k.value]
1093
+ [F, w.value]
1084
1094
  ])
1085
1095
  ], 512),
1086
1096
  e.hasPage ? (n(), y(ut, {
@@ -1088,7 +1098,7 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
1088
1098
  total: M.value,
1089
1099
  onOnCurrentChange: T,
1090
1100
  onOnSizeChange: B
1091
- }, null, 8, ["total"])) : $("", !0)
1101
+ }, null, 8, ["total"])) : C("", !0)
1092
1102
  ])
1093
1103
  ]);
1094
1104
  };
@@ -1107,10 +1117,10 @@ const yt = {
1107
1117
  }
1108
1118
  },
1109
1119
  setup(e) {
1110
- return (s, a) => (n(), E("div", {
1120
+ return (s, a) => (n(), b("div", {
1111
1121
  class: ge(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
1112
1122
  }, [
1113
- O("div", {
1123
+ D("div", {
1114
1124
  class: ge(["base_line", { base_line__vertical: e.vertical }])
1115
1125
  }, null, 2)
1116
1126
  ], 2));
@@ -1127,7 +1137,7 @@ var se = (e, s) => {
1127
1137
  }, At = {
1128
1138
  xmlns: "http://www.w3.org/2000/svg",
1129
1139
  viewBox: "0 0 1024 1024"
1130
- }, Tt = /* @__PURE__ */ O(
1140
+ }, Tt = /* @__PURE__ */ D(
1131
1141
  "path",
1132
1142
  {
1133
1143
  fill: "currentColor",
@@ -1139,15 +1149,15 @@ var se = (e, s) => {
1139
1149
  ), Vt = [
1140
1150
  Tt
1141
1151
  ];
1142
- function $t(e, s, a, i, r, u) {
1143
- return n(), E("svg", At, Vt);
1152
+ function Ct(e, s, a, i, r, u) {
1153
+ return n(), b("svg", At, Vt);
1144
1154
  }
1145
- var Ct = /* @__PURE__ */ se(xt, [["render", $t], ["__file", "arrow-down.vue"]]), Mt = {
1155
+ var $t = /* @__PURE__ */ se(xt, [["render", Ct], ["__file", "arrow-down.vue"]]), Mt = {
1146
1156
  name: "ArrowLeft"
1147
1157
  }, Bt = {
1148
1158
  xmlns: "http://www.w3.org/2000/svg",
1149
1159
  viewBox: "0 0 1024 1024"
1150
- }, wt = /* @__PURE__ */ O(
1160
+ }, Nt = /* @__PURE__ */ D(
1151
1161
  "path",
1152
1162
  {
1153
1163
  fill: "currentColor",
@@ -1156,18 +1166,18 @@ var Ct = /* @__PURE__ */ se(xt, [["render", $t], ["__file", "arrow-down.vue"]]),
1156
1166
  null,
1157
1167
  -1
1158
1168
  /* HOISTED */
1159
- ), Nt = [
1160
- wt
1169
+ ), wt = [
1170
+ Nt
1161
1171
  ];
1162
1172
  function kt(e, s, a, i, r, u) {
1163
- return n(), E("svg", Bt, Nt);
1173
+ return n(), b("svg", Bt, wt);
1164
1174
  }
1165
- var St = /* @__PURE__ */ se(Mt, [["render", kt], ["__file", "arrow-left.vue"]]), Dt = {
1175
+ var St = /* @__PURE__ */ se(Mt, [["render", kt], ["__file", "arrow-left.vue"]]), Ot = {
1166
1176
  name: "ArrowRight"
1167
- }, Ot = {
1177
+ }, Dt = {
1168
1178
  xmlns: "http://www.w3.org/2000/svg",
1169
1179
  viewBox: "0 0 1024 1024"
1170
- }, It = /* @__PURE__ */ O(
1180
+ }, It = /* @__PURE__ */ D(
1171
1181
  "path",
1172
1182
  {
1173
1183
  fill: "currentColor",
@@ -1180,14 +1190,14 @@ var St = /* @__PURE__ */ se(Mt, [["render", kt], ["__file", "arrow-left.vue"]]),
1180
1190
  It
1181
1191
  ];
1182
1192
  function Ft(e, s, a, i, r, u) {
1183
- return n(), E("svg", Ot, Rt);
1193
+ return n(), b("svg", Dt, Rt);
1184
1194
  }
1185
- var Ut = /* @__PURE__ */ se(Dt, [["render", Ft], ["__file", "arrow-right.vue"]]), Lt = {
1195
+ var Ut = /* @__PURE__ */ se(Ot, [["render", Ft], ["__file", "arrow-right.vue"]]), Lt = {
1186
1196
  name: "ArrowUp"
1187
1197
  }, Pt = {
1188
1198
  xmlns: "http://www.w3.org/2000/svg",
1189
1199
  viewBox: "0 0 1024 1024"
1190
- }, zt = /* @__PURE__ */ O(
1200
+ }, zt = /* @__PURE__ */ D(
1191
1201
  "path",
1192
1202
  {
1193
1203
  fill: "currentColor",
@@ -1200,14 +1210,14 @@ var Ut = /* @__PURE__ */ se(Dt, [["render", Ft], ["__file", "arrow-right.vue"]])
1200
1210
  zt
1201
1211
  ];
1202
1212
  function Gt(e, s, a, i, r, u) {
1203
- return n(), E("svg", Pt, jt);
1213
+ return n(), b("svg", Pt, jt);
1204
1214
  }
1205
1215
  var Yt = /* @__PURE__ */ se(Lt, [["render", Gt], ["__file", "arrow-up.vue"]]), Ht = {
1206
1216
  name: "Delete"
1207
1217
  }, Wt = {
1208
1218
  xmlns: "http://www.w3.org/2000/svg",
1209
1219
  viewBox: "0 0 1024 1024"
1210
- }, Xt = /* @__PURE__ */ O(
1220
+ }, Xt = /* @__PURE__ */ D(
1211
1221
  "path",
1212
1222
  {
1213
1223
  fill: "currentColor",
@@ -1216,18 +1226,18 @@ var Yt = /* @__PURE__ */ se(Lt, [["render", Gt], ["__file", "arrow-up.vue"]]), H
1216
1226
  null,
1217
1227
  -1
1218
1228
  /* HOISTED */
1219
- ), Qt = [
1229
+ ), Kt = [
1220
1230
  Xt
1221
1231
  ];
1222
- function Zt(e, s, a, i, r, u) {
1223
- return n(), E("svg", Wt, Qt);
1232
+ function Qt(e, s, a, i, r, u) {
1233
+ return n(), b("svg", Wt, Kt);
1224
1234
  }
1225
- var Se = /* @__PURE__ */ se(Ht, [["render", Zt], ["__file", "delete.vue"]]), Kt = {
1235
+ var Se = /* @__PURE__ */ se(Ht, [["render", Qt], ["__file", "delete.vue"]]), Zt = {
1226
1236
  name: "Plus"
1227
1237
  }, Jt = {
1228
1238
  xmlns: "http://www.w3.org/2000/svg",
1229
1239
  viewBox: "0 0 1024 1024"
1230
- }, qt = /* @__PURE__ */ O(
1240
+ }, qt = /* @__PURE__ */ D(
1231
1241
  "path",
1232
1242
  {
1233
1243
  fill: "currentColor",
@@ -1240,14 +1250,14 @@ var Se = /* @__PURE__ */ se(Ht, [["render", Zt], ["__file", "delete.vue"]]), Kt
1240
1250
  qt
1241
1251
  ];
1242
1252
  function ta(e, s, a, i, r, u) {
1243
- return n(), E("svg", Jt, ea);
1253
+ return n(), b("svg", Jt, ea);
1244
1254
  }
1245
- var aa = /* @__PURE__ */ se(Kt, [["render", ta], ["__file", "plus.vue"]]), la = {
1255
+ var aa = /* @__PURE__ */ se(Zt, [["render", ta], ["__file", "plus.vue"]]), la = {
1246
1256
  name: "Search"
1247
1257
  }, na = {
1248
1258
  xmlns: "http://www.w3.org/2000/svg",
1249
1259
  viewBox: "0 0 1024 1024"
1250
- }, oa = /* @__PURE__ */ O(
1260
+ }, oa = /* @__PURE__ */ D(
1251
1261
  "path",
1252
1262
  {
1253
1263
  fill: "currentColor",
@@ -1260,7 +1270,7 @@ var aa = /* @__PURE__ */ se(Kt, [["render", ta], ["__file", "plus.vue"]]), la =
1260
1270
  oa
1261
1271
  ];
1262
1272
  function ua(e, s, a, i, r, u) {
1263
- return n(), E("svg", na, sa);
1273
+ return n(), b("svg", na, sa);
1264
1274
  }
1265
1275
  var ca = /* @__PURE__ */ se(la, [["render", ua], ["__file", "search.vue"]]);
1266
1276
  const ra = { class: "bsgoal-base-search-operation" }, ia = {
@@ -1277,50 +1287,50 @@ const ra = { class: "bsgoal-base-search-operation" }, ia = {
1277
1287
  },
1278
1288
  emits: ["on-fold"],
1279
1289
  setup(e, { emit: s }) {
1280
- const a = w(!1), i = () => {
1290
+ const a = N(!1), i = () => {
1281
1291
  a.value = !c(a), s("on-fold", a.value);
1282
1292
  };
1283
1293
  return (r, u) => {
1284
1294
  const t = v("el-button"), d = v("el-icon");
1285
- return n(), E("div", ra, [
1286
- C(t, {
1295
+ return n(), b("div", ra, [
1296
+ $(t, {
1287
1297
  type: "primary",
1288
1298
  icon: c(ca),
1289
1299
  onClick: u[0] || (u[0] = (_) => r.$emit("on-search"))
1290
1300
  }, {
1291
1301
  default: A(() => [
1292
- G("搜索")
1302
+ H("搜索")
1293
1303
  ]),
1294
1304
  _: 1
1295
1305
  }, 8, ["icon"]),
1296
- C(t, {
1306
+ $(t, {
1297
1307
  icon: c(Se),
1298
1308
  onClick: u[1] || (u[1] = (_) => r.$emit("on-clear"))
1299
1309
  }, {
1300
1310
  default: A(() => [
1301
- G("清空")
1311
+ H("清空")
1302
1312
  ]),
1303
1313
  _: 1
1304
1314
  }, 8, ["icon"]),
1305
- e.fold ? (n(), E("div", {
1315
+ e.fold ? (n(), b("div", {
1306
1316
  key: 0,
1307
1317
  class: "operation_fold",
1308
1318
  style: { color: "var(--el-color-primary)" },
1309
1319
  onClick: i
1310
1320
  }, [
1311
- G(z(a.value ? "收起" : "展开"), 1),
1312
- C(d, { color: "#409EFC" }, {
1321
+ H(j(a.value ? "收起" : "展开"), 1),
1322
+ $(d, { color: "#409EFC" }, {
1313
1323
  default: A(() => [
1314
- K(C(c(Yt), null, null, 512), [
1324
+ J($(c(Yt), null, null, 512), [
1315
1325
  [te, a.value]
1316
1326
  ]),
1317
- K(C(c(Ct), null, null, 512), [
1327
+ J($(c($t), null, null, 512), [
1318
1328
  [te, !a.value]
1319
1329
  ])
1320
1330
  ]),
1321
1331
  _: 1
1322
1332
  })
1323
- ])) : $("", !0)
1333
+ ])) : C("", !0)
1324
1334
  ]);
1325
1335
  };
1326
1336
  }
@@ -1360,7 +1370,7 @@ const _a = { class: "bsgoal-base-cascader" }, ma = {
1360
1370
  },
1361
1371
  emits: ["update:model-value", "on-change"],
1362
1372
  setup(e, { emit: s }) {
1363
- const a = w({
1373
+ const a = N({
1364
1374
  checkStrictly: !0,
1365
1375
  multiple: !1
1366
1376
  }), i = (r) => {
@@ -1368,8 +1378,8 @@ const _a = { class: "bsgoal-base-cascader" }, ma = {
1368
1378
  };
1369
1379
  return (r, u) => {
1370
1380
  const t = v("el-cascader");
1371
- return n(), E("div", _a, [
1372
- C(t, {
1381
+ return n(), b("div", _a, [
1382
+ $(t, {
1373
1383
  clearable: "",
1374
1384
  class: "base_cascader",
1375
1385
  "show-all-levels": !1,
@@ -1383,9 +1393,9 @@ const _a = { class: "bsgoal-base-cascader" }, ma = {
1383
1393
  };
1384
1394
  }
1385
1395
  });
1386
- const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa = { key: 1 }, ha = {
1396
+ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, ha = { key: 1 }, pa = {
1387
1397
  name: "BsgoalBaseSearch"
1388
- }, Ea = /* @__PURE__ */ Object.assign(ha, {
1398
+ }, Ea = /* @__PURE__ */ Object.assign(pa, {
1389
1399
  props: {
1390
1400
  /**
1391
1401
  * >----------props----------<
@@ -1427,12 +1437,12 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1427
1437
  },
1428
1438
  emits: ["on-search", "on-clear", "on-change", "on-fold"],
1429
1439
  setup(e, { expose: s, emit: a }) {
1430
- const i = e, r = w(null), u = xe.align, t = w({});
1431
- he(() => {
1440
+ const i = e, r = N(null), u = xe.align, t = N({});
1441
+ pe(() => {
1432
1442
  const { configOptions: x } = i;
1433
1443
  c(x).forEach((B) => {
1434
- const { value: m, prop: I = "", type: N = "" } = B;
1435
- [l.INPUT, l.INPUT_TEXT_AREA].includes(N), t.value[I] = [0, !1].includes(m) ? m : "";
1444
+ const { value: m, prop: I = "", type: k = "" } = B;
1445
+ [l.INPUT, l.INPUT_TEXT_AREA].includes(k), t.value[I] = [0, !1].includes(m) ? m : "";
1436
1446
  });
1437
1447
  });
1438
1448
  const d = Z(() => {
@@ -1489,27 +1499,27 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1489
1499
  }, M = () => {
1490
1500
  const { configOptions: x } = i, T = c(t), B = c(x), m = {};
1491
1501
  for (const I of B) {
1492
- const { type: N = "", range: L = [], prop: F = "", single: Y = !1 } = I, R = T[F];
1493
- if ([l.CASCADER].includes(N) && Array.isArray(R) && Y) {
1494
- const H = R.length;
1495
- H ? m[F] = R[H - 1] : m[F] = R;
1502
+ const { type: k = "", range: L = [], prop: F = "", single: W = !1 } = I, R = T[F];
1503
+ if ([l.CASCADER].includes(k) && Array.isArray(R) && W) {
1504
+ const X = R.length;
1505
+ X ? m[F] = R[X - 1] : m[F] = R;
1496
1506
  } else
1497
1507
  Fe(R) ? m[F] = Ue(R) : m[F] = R;
1498
- if (N.endsWith("range") && L && L.length === 2) {
1499
- const { 0: H = "", 1: ee = "" } = R, { 0: ae = "", 1: le = "" } = L;
1500
- m[ae] = H, m[le] = ee;
1508
+ if (k.endsWith("range") && L && L.length === 2) {
1509
+ const { 0: X = "", 1: ee = "" } = R, { 0: ae = "", 1: le = "" } = L;
1510
+ m[ae] = X, m[le] = ee;
1501
1511
  }
1502
1512
  }
1503
1513
  a("on-search", m), a("update:modelValue", m);
1504
1514
  };
1505
- Ce(() => {
1515
+ $e(() => {
1506
1516
  M();
1507
1517
  });
1508
1518
  const S = () => {
1509
1519
  r.value.resetFields(), a("on-clear", t.value);
1510
- }, k = Me("transferFoldStatus"), U = w(!1), D = (x = !1) => {
1511
- U.value = x, k && (k.value = x), a("on-fold", U);
1512
- }, p = (x, T) => {
1520
+ }, w = Me("transferFoldStatus"), U = N(!1), O = (x = !1) => {
1521
+ U.value = x, w && (w.value = x), a("on-fold", U);
1522
+ }, h = (x, T) => {
1513
1523
  M();
1514
1524
  const B = {
1515
1525
  type: x,
@@ -1521,10 +1531,10 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1521
1531
  return s({
1522
1532
  triggerOperationSearch: M
1523
1533
  }), (x, T) => {
1524
- const B = v("el-input"), m = v("el-input-number"), I = v("el-radio"), N = v("el-radio-group"), L = v("el-option"), F = v("el-select"), Y = v("el-slider"), R = v("el-switch"), H = v("el-date-picker"), ee = v("el-time-picker"), ae = v("el-checkbox"), le = v("el-checkbox-group"), re = v("el-form-item"), ie = v("el-col"), ue = v("el-row"), W = v("el-form");
1525
- return n(), E("div", fa, [
1526
- O("div", va, [
1527
- K((n(), y(W, {
1534
+ const B = v("el-input"), m = v("el-input-number"), I = v("el-radio"), k = v("el-radio-group"), L = v("el-option"), F = v("el-select"), W = v("el-slider"), R = v("el-switch"), X = v("el-date-picker"), ee = v("el-time-picker"), ae = v("el-checkbox"), le = v("el-checkbox-group"), re = v("el-form-item"), ie = v("el-col"), ue = v("el-row"), G = v("el-form");
1535
+ return n(), b("div", fa, [
1536
+ D("div", va, [
1537
+ J((n(), y(G, {
1528
1538
  ref_key: "EL_FORM_REF",
1529
1539
  ref: r,
1530
1540
  "label-suffix": ":",
@@ -1532,189 +1542,189 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1532
1542
  model: t.value
1533
1543
  }, {
1534
1544
  default: A(() => [
1535
- C(ue, null, {
1545
+ $(ue, null, {
1536
1546
  default: A(() => [
1537
- (n(!0), E(P, null, Q(d.value, ({
1538
- label: f = "",
1547
+ (n(!0), b(P, null, Q(d.value, ({
1548
+ label: g = "",
1539
1549
  prop: o = "",
1540
- type: g = "text",
1541
- placeholder: j = "",
1550
+ type: f = "text",
1551
+ placeholder: Y = "",
1542
1552
  readonly: fe = !1,
1543
1553
  clearable: ve = !0,
1544
- rows: pe = 2,
1554
+ rows: he = 2,
1545
1555
  min: de = 1,
1546
- max: q = 10,
1547
- range: X = [],
1556
+ max: z = 10,
1557
+ range: K = [],
1548
1558
  format: ne = ""
1549
- } = {}, ce) => K((n(), y(ie, {
1559
+ } = {}, ce) => J((n(), y(ie, {
1550
1560
  key: ce,
1551
1561
  xs: 24,
1552
1562
  sm: 12,
1553
1563
  md: e.medium
1554
1564
  }, {
1555
1565
  default: A(() => [
1556
- C(re, {
1557
- label: f,
1566
+ $(re, {
1567
+ label: g,
1558
1568
  prop: o
1559
1569
  }, {
1560
1570
  default: A(() => [
1561
- fe ? (n(), E("div", pa, z(t.value[o]), 1)) : (n(), E(P, { key: 0 }, [
1562
- g === c(l).INPUT ? (n(), y(B, {
1571
+ fe ? (n(), b("div", ha, j(t.value[o]), 1)) : (n(), b(P, { key: 0 }, [
1572
+ f === c(l).INPUT ? (n(), y(B, {
1563
1573
  key: 0,
1564
1574
  modelValue: t.value[o],
1565
- "onUpdate:modelValue": (h) => t.value[o] = h,
1566
- placeholder: _(g, f, j),
1575
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1576
+ placeholder: _(f, g, Y),
1567
1577
  clearable: ve
1568
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : $("", !0),
1569
- g === c(l).INPUT_TEXT_AREA ? (n(), y(B, {
1578
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : C("", !0),
1579
+ f === c(l).INPUT_TEXT_AREA ? (n(), y(B, {
1570
1580
  key: 1,
1571
1581
  modelValue: t.value[o],
1572
- "onUpdate:modelValue": (h) => t.value[o] = h,
1582
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1573
1583
  type: "textarea",
1574
- rows: pe,
1584
+ rows: he,
1575
1585
  clearable: ve,
1576
- placeholder: _(g, f, j),
1577
- onChange: (h) => p(g, o)
1578
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
1579
- g === c(l).INPUT_NUMBER ? (n(), y(m, {
1586
+ placeholder: _(f, g, Y),
1587
+ onChange: (p) => h(f, o)
1588
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : C("", !0),
1589
+ f === c(l).INPUT_NUMBER ? (n(), y(m, {
1580
1590
  key: 2,
1581
1591
  modelValue: x.num,
1582
- "onUpdate:modelValue": T[0] || (T[0] = (h) => x.num = h),
1592
+ "onUpdate:modelValue": T[0] || (T[0] = (p) => x.num = p),
1583
1593
  min: de,
1584
- max: q,
1585
- onChange: p
1586
- }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
1587
- g === c(l).RADIO ? (n(), y(N, {
1594
+ max: z,
1595
+ onChange: h
1596
+ }, null, 8, ["modelValue", "min", "max"])) : C("", !0),
1597
+ f === c(l).RADIO ? (n(), y(k, {
1588
1598
  key: 3,
1589
1599
  modelValue: t.value[o],
1590
- "onUpdate:modelValue": (h) => t.value[o] = h,
1591
- onChange: (h) => p(g, o)
1600
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1601
+ onChange: (p) => h(f, o)
1592
1602
  }, {
1593
1603
  default: A(() => [
1594
- (n(!0), E(P, null, Q(X, (h, oe) => (n(), y(I, {
1604
+ (n(!0), b(P, null, Q(K, (p, oe) => (n(), y(I, {
1595
1605
  key: oe,
1596
- label: h.value
1606
+ label: p.value
1597
1607
  }, {
1598
1608
  default: A(() => [
1599
- G(z(h.label), 1)
1609
+ H(j(p.label), 1)
1600
1610
  ]),
1601
1611
  _: 2
1602
1612
  }, 1032, ["label"]))), 128))
1603
1613
  ]),
1604
1614
  _: 2
1605
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1606
- g === c(l).SELECT ? (n(), y(F, {
1615
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : C("", !0),
1616
+ f === c(l).SELECT ? (n(), y(F, {
1607
1617
  key: 4,
1608
1618
  modelValue: t.value[o],
1609
- "onUpdate:modelValue": (h) => t.value[o] = h,
1610
- placeholder: _(g, f, j),
1611
- onChange: (h) => p(g, o)
1619
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1620
+ placeholder: _(f, g, Y),
1621
+ onChange: (p) => h(f, o)
1612
1622
  }, {
1613
1623
  default: A(() => [
1614
- (n(!0), E(P, null, Q(X, (h, oe) => (n(), y(L, {
1624
+ (n(!0), b(P, null, Q(K, (p, oe) => (n(), y(L, {
1615
1625
  key: oe,
1616
- label: h.label,
1617
- value: h.value
1626
+ label: p.label,
1627
+ value: p.value
1618
1628
  }, null, 8, ["label", "value"]))), 128))
1619
1629
  ]),
1620
1630
  _: 2
1621
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
1622
- g === c(l).SLIDER ? (n(), y(Y, {
1631
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : C("", !0),
1632
+ f === c(l).SLIDER ? (n(), y(W, {
1623
1633
  key: 5,
1624
1634
  modelValue: t.value[o],
1625
- "onUpdate:modelValue": (h) => t.value[o] = h,
1635
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1626
1636
  min: de,
1627
- max: q,
1628
- onChange: (h) => p(g, o)
1629
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
1630
- g === c(l).SWITCH ? (n(), y(R, {
1637
+ max: z,
1638
+ onChange: (p) => h(f, o)
1639
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : C("", !0),
1640
+ f === c(l).SWITCH ? (n(), y(R, {
1631
1641
  key: 6,
1632
1642
  modelValue: t.value[o],
1633
- "onUpdate:modelValue": (h) => t.value[o] = h,
1634
- "active-value": X[0] || !0,
1635
- "inactive-value": X[1] || !1,
1636
- onChange: (h) => p(g, o)
1637
- }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
1643
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1644
+ "active-value": K[0] || !0,
1645
+ "inactive-value": K[1] || !1,
1646
+ onChange: (p) => h(f, o)
1647
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : C("", !0),
1638
1648
  [c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
1639
- g
1640
- ) ? (n(), y(H, {
1649
+ f
1650
+ ) ? (n(), y(X, {
1641
1651
  key: 7,
1642
1652
  modelValue: t.value[o],
1643
- "onUpdate:modelValue": (h) => t.value[o] = h,
1644
- format: V(g, ne),
1645
- "value-format": V(g, ne),
1646
- type: g,
1647
- placeholder: _(g, f, j),
1648
- onChange: (h) => p(g, o)
1649
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
1653
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1654
+ format: V(f, ne),
1655
+ "value-format": V(f, ne),
1656
+ type: f,
1657
+ placeholder: _(f, g, Y),
1658
+ onChange: (p) => h(f, o)
1659
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : C("", !0),
1650
1660
  [
1651
1661
  c(l).DATE_RANGE,
1652
1662
  c(l).MONTH_RANGE,
1653
1663
  c(l).DATE_TIME_RANGE
1654
- ].includes(g) ? (n(), y(H, {
1664
+ ].includes(f) ? (n(), y(X, {
1655
1665
  key: 8,
1656
1666
  modelValue: t.value[o],
1657
- "onUpdate:modelValue": (h) => t.value[o] = h,
1658
- type: g,
1659
- "value-format": V(g, ne),
1660
- "start-placeholder": _(g, f, j)[0],
1661
- "end-placeholder": _(g, f, j)[1],
1662
- onChange: (h) => p(g, o)
1663
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1664
- [c(l).TIME].includes(g) ? (n(), y(ee, {
1667
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1668
+ type: f,
1669
+ "value-format": V(f, ne),
1670
+ "start-placeholder": _(f, g, Y)[0],
1671
+ "end-placeholder": _(f, g, Y)[1],
1672
+ onChange: (p) => h(f, o)
1673
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : C("", !0),
1674
+ [c(l).TIME].includes(f) ? (n(), y(ee, {
1665
1675
  key: 9,
1666
1676
  modelValue: t.value[o],
1667
- "onUpdate:modelValue": (h) => t.value[o] = h,
1677
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1668
1678
  "arrow-control": "",
1669
- "value-format": V(g, ne),
1670
- placeholder: _(g, f, j),
1671
- onChange: (h) => p(g, o)
1672
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
1673
- [c(l).TIME_RANGE].includes(g) ? (n(), y(ee, {
1679
+ "value-format": V(f, ne),
1680
+ placeholder: _(f, g, Y),
1681
+ onChange: (p) => h(f, o)
1682
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : C("", !0),
1683
+ [c(l).TIME_RANGE].includes(f) ? (n(), y(ee, {
1674
1684
  key: 10,
1675
1685
  modelValue: t.value[o],
1676
- "onUpdate:modelValue": (h) => t.value[o] = h,
1686
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1677
1687
  "is-range": "",
1678
- "value-format": V(g, ne),
1679
- "start-placeholder": _(g, f, j)[0],
1680
- "end-placeholder": _(g, f, j)[1],
1681
- onChange: (h) => p(g, o)
1682
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1683
- [c(l).CHECKBOX].includes(g) ? (n(), y(le, {
1688
+ "value-format": V(f, ne),
1689
+ "start-placeholder": _(f, g, Y)[0],
1690
+ "end-placeholder": _(f, g, Y)[1],
1691
+ onChange: (p) => h(f, o)
1692
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : C("", !0),
1693
+ [c(l).CHECKBOX].includes(f) ? (n(), y(le, {
1684
1694
  key: 11,
1685
1695
  modelValue: t.value[o],
1686
- "onUpdate:modelValue": (h) => t.value[o] = h,
1687
- onChange: (h) => p(g, o)
1696
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1697
+ onChange: (p) => h(f, o)
1688
1698
  }, {
1689
1699
  default: A(() => [
1690
- (n(!0), E(P, null, Q(X, (h, oe) => (n(), y(ae, {
1700
+ (n(!0), b(P, null, Q(K, (p, oe) => (n(), y(ae, {
1691
1701
  key: oe,
1692
- label: h.value
1702
+ label: p.value
1693
1703
  }, {
1694
1704
  default: A(() => [
1695
- G(z(h.label), 1)
1705
+ H(j(p.label), 1)
1696
1706
  ]),
1697
1707
  _: 2
1698
1708
  }, 1032, ["label"]))), 128))
1699
1709
  ]),
1700
1710
  _: 2
1701
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1702
- [c(l).CASCADER].includes(g) ? (n(), y(ga, {
1711
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : C("", !0),
1712
+ [c(l).CASCADER].includes(f) ? (n(), y(ga, {
1703
1713
  key: 12,
1704
1714
  modelValue: t.value[o],
1705
- "onUpdate:modelValue": (h) => t.value[o] = h,
1706
- "data-options": X,
1707
- placeholder: _(g, f, j),
1708
- onOnChange: (h) => p(g, o)
1709
- }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : $("", !0),
1710
- [].includes(g) ? (n(), E(P, { key: 13 }, [], 64)) : $("", !0),
1711
- [c(l).OPERATION].includes(g) ? (n(), y(da, {
1715
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1716
+ "data-options": K,
1717
+ placeholder: _(f, g, Y),
1718
+ onOnChange: (p) => h(f, o)
1719
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : C("", !0),
1720
+ [].includes(f) ? (n(), b(P, { key: 13 }, [], 64)) : C("", !0),
1721
+ [c(l).OPERATION].includes(f) ? (n(), y(da, {
1712
1722
  key: 14,
1713
1723
  fold: ce >= 7,
1714
1724
  onOnSearch: M,
1715
1725
  onOnClear: S,
1716
- onOnFold: D
1717
- }, null, 8, ["fold"])) : $("", !0)
1726
+ onOnFold: O
1727
+ }, null, 8, ["fold"])) : C("", !0)
1718
1728
  ], 64))
1719
1729
  ]),
1720
1730
  _: 2
@@ -1722,7 +1732,7 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1722
1732
  ]),
1723
1733
  _: 2
1724
1734
  }, 1032, ["md"])), [
1725
- [te, ce < 7 || g === c(l).OPERATION || ce >= 7 && U.value]
1735
+ [te, ce < 7 || f === c(l).OPERATION || ce >= 7 && U.value]
1726
1736
  ])), 128))
1727
1737
  ]),
1728
1738
  _: 1
@@ -1733,7 +1743,7 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1733
1743
  [c(u)]
1734
1744
  ])
1735
1745
  ]),
1736
- C(Te)
1746
+ $(Te)
1737
1747
  ]);
1738
1748
  };
1739
1749
  }
@@ -1847,37 +1857,37 @@ const ba = { class: "bsgoal-base-search-table" }, ya = { class: "base_search_tab
1847
1857
  }
1848
1858
  },
1849
1859
  setup(e, { expose: s }) {
1850
- const a = e, i = w(!1);
1860
+ const a = e, i = N(!1);
1851
1861
  Le("transferFoldStatus", i);
1852
- const r = c(a.configOptions), u = Z(() => r.filter((D) => {
1853
- const { type: p = "" } = D;
1854
- return !!p;
1855
- })), t = Z(() => r.filter((D) => {
1856
- const { item: p = !1 } = D;
1857
- return !p;
1858
- })), d = Be(), _ = w(Object.keys(d)), V = w(null), M = (D) => {
1859
- V.value.refreshList(D);
1862
+ const r = c(a.configOptions), u = Z(() => r.filter((O) => {
1863
+ const { type: h = "" } = O;
1864
+ return !!h;
1865
+ })), t = Z(() => r.filter((O) => {
1866
+ const { item: h = !1 } = O;
1867
+ return !h;
1868
+ })), d = Be(), _ = N(Object.keys(d)), V = N(null), M = (O) => {
1869
+ V.value.refreshList(O);
1860
1870
  }, S = Z(() => {
1861
- const { expression: D, hasPage: p } = a;
1862
- return p === !1 ? 25 : D;
1863
- }), k = w(null);
1871
+ const { expression: O, hasPage: h } = a;
1872
+ return h === !1 ? 25 : O;
1873
+ }), w = N(null);
1864
1874
  return s({
1865
1875
  refresh: () => {
1866
- const { hasSearch: D } = a;
1867
- c(D) && k.value.triggerOperationSearch();
1876
+ const { hasSearch: O } = a;
1877
+ c(O) && w.value.triggerOperationSearch();
1868
1878
  }
1869
- }), (D, p) => (n(), E("div", ba, [
1870
- O("div", ya, [
1871
- K(C(Ea, {
1879
+ }), (O, h) => (n(), b("div", ba, [
1880
+ D("div", ya, [
1881
+ J($(Ea, {
1872
1882
  ref_key: "BSGOAL_BASE_SEARCH_REF",
1873
- ref: k,
1883
+ ref: w,
1874
1884
  "config-options": u.value,
1875
1885
  onOnSearch: M,
1876
1886
  onOnClear: M
1877
1887
  }, null, 8, ["config-options"]), [
1878
1888
  [te, e.hasSearch]
1879
1889
  ]),
1880
- C(ke, {
1890
+ $(ke, {
1881
1891
  ref_key: "BSGOAL_BASE_TABLE_REF",
1882
1892
  ref: V,
1883
1893
  "map-props": e.mapProps,
@@ -1894,7 +1904,7 @@ const ba = { class: "bsgoal-base-search-table" }, ya = { class: "base_search_tab
1894
1904
  Q(_.value, (x) => ({
1895
1905
  name: x,
1896
1906
  fn: A(({ row: T = {} }) => [
1897
- J(D.$slots, x, { row: T })
1907
+ q(O.$slots, x, { row: T })
1898
1908
  ])
1899
1909
  }))
1900
1910
  ]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
@@ -1904,27 +1914,27 @@ const ba = { class: "bsgoal-base-search-table" }, ya = { class: "base_search_tab
1904
1914
  });
1905
1915
  const Ta = { class: "bsgoal-base-tree-fold" }, Va = {
1906
1916
  name: "BsgoalBaseTreeFold"
1907
- }, $a = /* @__PURE__ */ Object.assign(Va, {
1917
+ }, Ca = /* @__PURE__ */ Object.assign(Va, {
1908
1918
  props: ["modelValue"],
1909
1919
  emits: ["update:modelValue"],
1910
1920
  setup(e, { emit: s }) {
1911
- let a = w(!0);
1921
+ let a = N(!0);
1912
1922
  const i = () => {
1913
1923
  a.value = !a.value, s("update:modelValue", a.value);
1914
1924
  };
1915
1925
  return (r, u) => {
1916
1926
  const t = v("el-icon");
1917
- return n(), E("div", Ta, [
1918
- O("div", {
1927
+ return n(), b("div", Ta, [
1928
+ D("div", {
1919
1929
  class: ge(["base_tree_fold", { "base_tree_fold--hide": !c(a) }]),
1920
1930
  onClick: i
1921
1931
  }, [
1922
- C(t, { color: "#fff" }, {
1932
+ $(t, { color: "#fff" }, {
1923
1933
  default: A(() => [
1924
- K(C(c(St), null, null, 512), [
1934
+ J($(c(St), null, null, 512), [
1925
1935
  [te, c(a)]
1926
1936
  ]),
1927
- K(C(c(Ut), null, null, 512), [
1937
+ J($(c(Ut), null, null, 512), [
1928
1938
  [te, !c(a)]
1929
1939
  ])
1930
1940
  ]),
@@ -1935,9 +1945,9 @@ const Ta = { class: "bsgoal-base-tree-fold" }, Va = {
1935
1945
  };
1936
1946
  }
1937
1947
  });
1938
- const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { class: "base_tree_main" }, wa = {
1948
+ const $a = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { class: "base_tree_main" }, Na = {
1939
1949
  name: "BsgoalBaseTree"
1940
- }, Na = /* @__PURE__ */ Object.assign(wa, {
1950
+ }, wa = /* @__PURE__ */ Object.assign(Na, {
1941
1951
  props: {
1942
1952
  /**
1943
1953
  * 树结构 的下边距
@@ -1991,39 +2001,39 @@ const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { cl
1991
2001
  },
1992
2002
  emits: ["on-click"],
1993
2003
  setup(e, { emit: s }) {
1994
- const a = e, i = xe.height, r = w(""), u = w(null);
2004
+ const a = e, i = xe.height, r = N(""), u = N(null);
1995
2005
  me(r, (M) => {
1996
2006
  u.value.filter(M);
1997
2007
  });
1998
- const t = (M, S) => M ? S.label.includes(M) : !0, d = w(!0), _ = (M, S, k, U) => {
1999
- s("on-click", M, S, k, U);
2000
- }, V = async (M, S, k) => {
2008
+ const t = (M, S) => M ? S.label.includes(M) : !0, d = N(!0), _ = (M, S, w, U) => {
2009
+ s("on-click", M, S, w, U);
2010
+ }, V = async (M, S, w) => {
2001
2011
  if (M.level === 0) {
2002
- const U = await k.initNode(M);
2012
+ const U = await w.initNode(M);
2003
2013
  return S(U || []);
2004
2014
  } else {
2005
- const U = await k.lazyLoad(M);
2015
+ const U = await w.lazyLoad(M);
2006
2016
  S(U || []);
2007
2017
  }
2008
2018
  };
2009
2019
  return (M, S) => {
2010
- const k = v("el-input"), U = v("el-tree");
2011
- return n(), E("div", Ca, [
2012
- K((n(), E("div", Ma, [
2013
- K(O("div", Ba, [
2014
- C(k, {
2020
+ const w = v("el-input"), U = v("el-tree");
2021
+ return n(), b("div", $a, [
2022
+ J((n(), b("div", Ma, [
2023
+ J(D("div", Ba, [
2024
+ $(w, {
2015
2025
  modelValue: r.value,
2016
- "onUpdate:modelValue": S[0] || (S[0] = (D) => r.value = D),
2026
+ "onUpdate:modelValue": S[0] || (S[0] = (O) => r.value = O),
2017
2027
  class: "base_tree_main_input",
2018
2028
  placeholder: "输入关键字过滤"
2019
2029
  }, null, 8, ["modelValue"]),
2020
- C(U, {
2030
+ $(U, {
2021
2031
  ref_key: "EL_TREE_REF",
2022
2032
  ref: u,
2023
2033
  lazy: "",
2024
2034
  "highlight-current": "",
2025
2035
  "empty-text": "暂无数据",
2026
- load: (D, p) => V(D, p, a),
2036
+ load: (O, h) => V(O, h, a),
2027
2037
  "expand-on-click-node": !1,
2028
2038
  props: e.treeProps,
2029
2039
  "filter-node-method": t,
@@ -2032,12 +2042,12 @@ const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { cl
2032
2042
  ], 512), [
2033
2043
  [te, d.value]
2034
2044
  ]),
2035
- K(C(Te, { vertical: "" }, null, 512), [
2045
+ J($(Te, { vertical: "" }, null, 512), [
2036
2046
  [te, d.value]
2037
2047
  ]),
2038
- C($a, {
2048
+ $(Ca, {
2039
2049
  modelValue: d.value,
2040
- "onUpdate:modelValue": S[1] || (S[1] = (D) => d.value = D)
2050
+ "onUpdate:modelValue": S[1] || (S[1] = (O) => d.value = O)
2041
2051
  }, null, 8, ["modelValue"])
2042
2052
  ])), [
2043
2053
  [c(i), e.gasket]
@@ -2046,7 +2056,7 @@ const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { cl
2046
2056
  };
2047
2057
  }
2048
2058
  });
2049
- const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da = { class: "base_dialog_header" }, Oa = { class: "base_dialog_footer" }, Ia = {
2059
+ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Oa = { class: "base_dialog_header" }, Da = { class: "base_dialog_footer" }, Ia = {
2050
2060
  name: "BsgoalBaseDialog"
2051
2061
  }, Ra = /* @__PURE__ */ Object.assign(Ia, {
2052
2062
  props: {
@@ -2110,7 +2120,7 @@ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da =
2110
2120
  },
2111
2121
  emits: ["update:modelValue", "on-confirm"],
2112
2122
  setup(e, { emit: s }) {
2113
- const a = e, i = w(a.modelValue.value), r = () => {
2123
+ const a = e, i = N(a.modelValue.value), r = () => {
2114
2124
  i.value = !1;
2115
2125
  }, u = () => {
2116
2126
  s("on-confirm", () => {
@@ -2146,9 +2156,9 @@ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da =
2146
2156
  });
2147
2157
  return (d, _) => {
2148
2158
  const V = v("el-button"), M = v("el-dialog");
2149
- return n(), E("div", ka, [
2150
- O("div", Sa, [
2151
- C(M, {
2159
+ return n(), b("div", ka, [
2160
+ D("div", Sa, [
2161
+ $(M, {
2152
2162
  modelValue: i.value,
2153
2163
  "onUpdate:modelValue": _[0] || (_[0] = (S) => i.value = S),
2154
2164
  "custom-class": "bsgoal_base_dialog_main",
@@ -2156,34 +2166,34 @@ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da =
2156
2166
  width: t.value
2157
2167
  }, {
2158
2168
  header: A(() => [
2159
- O("div", Da, z(e.title), 1)
2169
+ D("div", Oa, j(e.title), 1)
2160
2170
  ]),
2161
2171
  footer: A(() => [
2162
- e.footer ? J(d.$slots, "footer", { key: 0 }, () => [
2163
- O("span", Oa, [
2164
- C(V, { onClick: r }, {
2172
+ e.footer ? q(d.$slots, "footer", { key: 0 }, () => [
2173
+ D("span", Da, [
2174
+ $(V, { onClick: r }, {
2165
2175
  default: A(() => [
2166
- G(z(e.cancelTxt), 1)
2176
+ H(j(e.cancelTxt), 1)
2167
2177
  ]),
2168
2178
  _: 1
2169
2179
  }),
2170
- C(V, {
2180
+ $(V, {
2171
2181
  type: "primary",
2172
2182
  onClick: u
2173
2183
  }, {
2174
2184
  default: A(() => [
2175
- G(z(e.confirmTxt), 1)
2185
+ H(j(e.confirmTxt), 1)
2176
2186
  ]),
2177
2187
  _: 1
2178
2188
  })
2179
2189
  ])
2180
- ]) : $("", !0)
2190
+ ]) : C("", !0)
2181
2191
  ]),
2182
2192
  default: A(() => [
2183
- O("div", {
2193
+ D("div", {
2184
2194
  class: ge(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
2185
2195
  }, [
2186
- J(d.$slots, "default")
2196
+ q(d.$slots, "default")
2187
2197
  ], 2)
2188
2198
  ]),
2189
2199
  _: 3
@@ -2245,8 +2255,8 @@ const Fa = { class: "bsgoal-base-tabs" }, Ua = {
2245
2255
  };
2246
2256
  return (u, t) => {
2247
2257
  const d = v("el-tab-pane"), _ = v("el-tabs");
2248
- return n(), E("div", Fa, [
2249
- C(_, {
2258
+ return n(), b("div", Fa, [
2259
+ $(_, {
2250
2260
  class: "bsgoal_base_tabs",
2251
2261
  stretch: e.stretch,
2252
2262
  type: e.type,
@@ -2254,14 +2264,14 @@ const Fa = { class: "bsgoal-base-tabs" }, Ua = {
2254
2264
  onTabChange: r
2255
2265
  }, {
2256
2266
  default: A(() => [
2257
- (n(!0), E(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(), y(d, {
2267
+ (n(!0), b(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(), y(d, {
2258
2268
  key: S,
2259
2269
  label: V,
2260
2270
  name: M
2261
2271
  }, {
2262
2272
  default: A(() => [
2263
- J(u.$slots, M, {}, () => [
2264
- G(z(V), 1)
2273
+ q(u.$slots, M, {}, () => [
2274
+ H(j(V), 1)
2265
2275
  ])
2266
2276
  ]),
2267
2277
  _: 2
@@ -2306,8 +2316,8 @@ const Pa = { class: "bsgoal-base-link" }, za = {
2306
2316
  };
2307
2317
  return (i, r) => {
2308
2318
  const u = v("el-link");
2309
- return n(), E("div", Pa, [
2310
- C(u, {
2319
+ return n(), b("div", Pa, [
2320
+ $(u, {
2311
2321
  class: "bsgoal_base_link",
2312
2322
  type: "primary",
2313
2323
  underline: e.underline,
@@ -2315,8 +2325,8 @@ const Pa = { class: "bsgoal-base-link" }, za = {
2315
2325
  onClick: a
2316
2326
  }, {
2317
2327
  default: A(() => [
2318
- J(i.$slots, "default", {}, () => [
2319
- G(z(e.content), 1)
2328
+ q(i.$slots, "default", {}, () => [
2329
+ H(j(e.content), 1)
2320
2330
  ], !0)
2321
2331
  ]),
2322
2332
  _: 3
@@ -2324,7 +2334,7 @@ const Pa = { class: "bsgoal-base-link" }, za = {
2324
2334
  ]);
2325
2335
  };
2326
2336
  }
2327
- }), Ga = /* @__PURE__ */ Ne(ja, [["__scopeId", "data-v-3b0290b0"]]);
2337
+ }), Ga = /* @__PURE__ */ we(ja, [["__scopeId", "data-v-3b0290b0"]]);
2328
2338
  const Ya = { class: "bsgoal-base-button" }, Ha = {
2329
2339
  name: "BsgoalBaseButton"
2330
2340
  }, Wa = /* @__PURE__ */ Object.assign(Ha, {
@@ -2363,7 +2373,7 @@ const Ya = { class: "bsgoal-base-button" }, Ha = {
2363
2373
  }
2364
2374
  },
2365
2375
  setup(e) {
2366
- const s = e, a = w(!1), i = () => {
2376
+ const s = e, a = N(!1), i = () => {
2367
2377
  a.value = !0;
2368
2378
  const { task: t } = s;
2369
2379
  c(t)(() => {
@@ -2388,20 +2398,20 @@ const Ya = { class: "bsgoal-base-button" }, Ha = {
2388
2398
  });
2389
2399
  return (t, d) => {
2390
2400
  const _ = v("el-button");
2391
- return n(), E("div", Ya, [
2392
- O("div", {
2401
+ return n(), b("div", Ya, [
2402
+ D("div", {
2393
2403
  class: "base_button",
2394
2404
  onClick: i
2395
2405
  }, [
2396
- J(t.$slots, "default", { loading: a.value }, () => [
2397
- C(_, {
2406
+ q(t.$slots, "default", { loading: a.value }, () => [
2407
+ $(_, {
2398
2408
  type: r.value,
2399
2409
  icon: u.value,
2400
2410
  loading: a.value,
2401
2411
  plain: e.plain
2402
2412
  }, {
2403
2413
  default: A(() => [
2404
- G(z(e.content), 1)
2414
+ H(j(e.content), 1)
2405
2415
  ]),
2406
2416
  _: 1
2407
2417
  }, 8, ["type", "icon", "loading", "plain"])
@@ -2411,9 +2421,9 @@ const Ya = { class: "bsgoal-base-button" }, Ha = {
2411
2421
  };
2412
2422
  }
2413
2423
  });
2414
- const Xa = { class: "bsgoal-base-layout" }, Qa = {
2424
+ const Xa = { class: "bsgoal-base-layout" }, Ka = {
2415
2425
  name: "BsgoalBaseLayout"
2416
- }, Za = /* @__PURE__ */ Object.assign(Qa, {
2426
+ }, Qa = /* @__PURE__ */ Object.assign(Ka, {
2417
2427
  props: {
2418
2428
  /**
2419
2429
  * 间隔
@@ -2431,16 +2441,16 @@ const Xa = { class: "bsgoal-base-layout" }, Qa = {
2431
2441
  }
2432
2442
  },
2433
2443
  setup(e) {
2434
- const s = Be(), a = w(Object.keys(s));
2444
+ const s = Be(), a = N(Object.keys(s));
2435
2445
  return (i, r) => {
2436
2446
  const u = v("el-col"), t = v("el-row");
2437
- return n(), E("div", Xa, [
2438
- C(t, {
2447
+ return n(), b("div", Xa, [
2448
+ $(t, {
2439
2449
  class: "base_layout",
2440
2450
  gutter: e.gutter
2441
2451
  }, {
2442
2452
  default: A(() => [
2443
- (n(!0), E(P, null, Q(a.value, (d, _) => (n(), y(u, {
2453
+ (n(!0), b(P, null, Q(a.value, (d, _) => (n(), y(u, {
2444
2454
  key: _,
2445
2455
  xs: 24,
2446
2456
  sm: 24,
@@ -2449,7 +2459,7 @@ const Xa = { class: "bsgoal-base-layout" }, Qa = {
2449
2459
  xl: e.ratio
2450
2460
  }, {
2451
2461
  default: A(() => [
2452
- J(i.$slots, d)
2462
+ q(i.$slots, d)
2453
2463
  ]),
2454
2464
  _: 2
2455
2465
  }, 1032, ["md", "lg", "xl"]))), 128))
@@ -2462,16 +2472,16 @@ const Xa = { class: "bsgoal-base-layout" }, Qa = {
2462
2472
  }), el = l, tl = Ae, al = {
2463
2473
  install(e, s = {}) {
2464
2474
  const { exclude: a = [] } = s, i = {
2465
- BsgoalBaseForm: Ze,
2475
+ BsgoalBaseForm: Qe,
2466
2476
  BsgoalBaseTable: ke,
2467
2477
  BsgoalBaseLine: Te,
2468
2478
  BsgoalBaseSearchTable: Aa,
2469
- BsgoalBaseTree: Na,
2479
+ BsgoalBaseTree: wa,
2470
2480
  BsgoalBaseDialog: Ra,
2471
2481
  BsgoalBaseTabs: La,
2472
2482
  BsgoalBaseLink: Ga,
2473
2483
  BsgoalBaseButton: Wa,
2474
- BsgoalBaseLayout: Za
2484
+ BsgoalBaseLayout: Qa
2475
2485
  };
2476
2486
  for (const [r, u] of Object.entries(i))
2477
2487
  a.includes(r) || e.component(r, u);