@bsgoal/common 1.8.6 → 1.8.8

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 Y, 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
+ Y(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: H = "", 1: R = "" } = I;
301
+ h[H] = 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"), H = v("el-switch"), R = v("el-date-picker"), W = 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: X = "",
362
+ prop: g = "",
362
363
  type: o = "text",
363
- placeholder: g = "",
364
- readonly: j = e.readonlys,
364
+ placeholder: f = "",
365
+ readonly: G = 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,177 @@ 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: X,
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: G, value: t.value[g], values: t.value }
389
390
  }, () => [
390
- j ? (n(), E("div", Xe, [
391
- C(we, {
392
- content: t.value[f],
391
+ G ? (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, X, 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, X, 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
+ Y(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, X, 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(H, {
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, X, 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, X, f)[0],
503
+ "end-placeholder": _(o, X, 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(W, {
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, X, 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(W, {
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, X, f)[0],
522
+ "end-placeholder": _(o, X, 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
+ Y(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
+ "true-label": z[0] ? z[0].value : "1",
549
+ "false-label": z[1] ? z[1].value : "0",
550
+ onChange: (E) => w(o, g)
551
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "true-label", "false-label", "onChange"])) : C("", !0),
552
+ [].includes(o) ? (n(), b(P, { key: 13 }, [], 64)) : C("", !0)
544
553
  ], 64))
545
554
  ])
546
555
  ]),
@@ -562,7 +571,7 @@ const He = { class: "bsgoal-base-form" }, We = { class: "base_form" }, Xe = { ke
562
571
  };
563
572
  }
564
573
  });
565
- const Ke = { class: "bsgoal-base-table-content" }, Je = { class: "base_table_content" }, qe = {
574
+ const Ze = { class: "bsgoal-base-table-content" }, Je = { class: "base_table_content" }, qe = {
566
575
  key: 1,
567
576
  class: "base_table_table_txt"
568
577
  }, et = {
@@ -592,13 +601,13 @@ const Ke = { class: "bsgoal-base-table-content" }, Je = { class: "base_table_con
592
601
  }
593
602
  },
594
603
  setup(e) {
595
- return (s, a) => (n(), E("div", Ke, [
596
- O("div", Je, [
597
- e.tooltip ? (n(), y(we, {
604
+ return (s, a) => (n(), b("div", Ze, [
605
+ D("div", Je, [
606
+ e.tooltip ? (n(), y(Ne, {
598
607
  key: 0,
599
608
  content: e.data,
600
609
  limit: e.limit
601
- }, null, 8, ["content", "limit"])) : (n(), E("div", qe, z(e.data), 1))
610
+ }, null, 8, ["content", "limit"])) : (n(), b("div", qe, j(e.data), 1))
602
611
  ])
603
612
  ]));
604
613
  }
@@ -731,7 +740,7 @@ var at = {
731
740
  }
732
741
  }
733
742
  };
734
- const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_pagination" }, ot = /* @__PURE__ */ O("span", null, "总数", -1), st = {
743
+ const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_pagination" }, ot = /* @__PURE__ */ D("span", null, "总数", -1), st = {
735
744
  name: "BsgoalBaseTablePagination"
736
745
  }, ut = /* @__PURE__ */ Object.assign(st, {
737
746
  props: {
@@ -770,14 +779,14 @@ const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_
770
779
  s("on-size-change", u);
771
780
  }, i = (u = 1) => {
772
781
  s("on-current-change", u);
773
- }, r = w(1);
782
+ }, r = N(1);
774
783
  return (u, t) => {
775
784
  const d = v("el-pagination"), _ = v("el-config-provider");
776
- return n(), E("div", lt, [
777
- O("div", nt, [
778
- C(_, { locale: c(at) }, {
785
+ return n(), b("div", lt, [
786
+ D("div", nt, [
787
+ $(_, { locale: c(at) }, {
779
788
  default: A(() => [
780
- C(d, {
789
+ $(d, {
781
790
  background: "",
782
791
  layout: "total, sizes, prev, pager, next, jumper",
783
792
  "current-page": r.value,
@@ -801,40 +810,40 @@ const lt = { class: "bsgoal-base-table-pagination" }, nt = { class: "base_table_
801
810
  };
802
811
  }
803
812
  });
804
- const Ne = (e, s) => {
813
+ const we = (e, s) => {
805
814
  const a = e.__vccOpts || e;
806
815
  for (const [i, r] of s)
807
816
  a[i] = r;
808
817
  return a;
809
818
  }, ct = {
810
819
  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", {
820
+ }, rt = { class: "bsgoal-base-table-empty" }, it = /* @__PURE__ */ D("div", { class: "base_table_empty" }, [
821
+ /* @__PURE__ */ D("div", { class: "base_table_empty_img" }, [
822
+ /* @__PURE__ */ D("img", {
814
823
  src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAxKSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxlbGxpcHNlIGZpbGw9IiNGNUY1RjUiIGN4PSIzMiIgY3k9IjMzIiByeD0iMzIiIHJ5PSI3Ii8+CiAgICA8ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0iI0Q5RDlEOSI+CiAgICAgIDxwYXRoIGQ9Ik01NSAxMi43Nkw0NC44NTQgMS4yNThDNDQuMzY3LjQ3NCA0My42NTYgMCA0Mi45MDcgMEgyMS4wOTNjLS43NDkgMC0xLjQ2LjQ3NC0xLjk0NyAxLjI1N0w5IDEyLjc2MVYyMmg0NnYtOS4yNHoiLz4KICAgICAgPHBhdGggZD0iTTQxLjYxMyAxNS45MzFjMC0xLjYwNS45OTQtMi45MyAyLjIyNy0yLjkzMUg1NXYxOC4xMzdDNTUgMzMuMjYgNTMuNjggMzUgNTIuMDUgMzVoLTQwLjFDMTAuMzIgMzUgOSAzMy4yNTkgOSAzMS4xMzdWMTNoMTEuMTZjMS4yMzMgMCAyLjIyNyAxLjMyMyAyLjIyNyAyLjkyOHYuMDIyYzAgMS42MDUgMS4wMDUgMi45MDEgMi4yMzcgMi45MDFoMTQuNzUyYzEuMjMyIDAgMi4yMzctMS4zMDggMi4yMzctMi45MTN2LS4wMDd6IiBmaWxsPSIjRkFGQUZBIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K",
815
824
  alt: ""
816
825
  })
817
826
  ]),
818
- /* @__PURE__ */ O("div", { class: "base_table_empty_text" }, "暂无数据")
827
+ /* @__PURE__ */ D("div", { class: "base_table_empty_text" }, "暂无数据")
819
828
  ], -1), dt = [
820
829
  it
821
830
  ];
822
831
  function _t(e, s, a, i, r, u) {
823
- return n(), E("div", rt, dt);
832
+ return n(), b("div", rt, dt);
824
833
  }
825
- const mt = /* @__PURE__ */ Ne(ct, [["render", _t]]), gt = (e = null, { expression: s = 75, arg: a = {}, height: i = "" } = {}) => {
834
+ const mt = /* @__PURE__ */ we(ct, [["render", _t]]), gt = (e = null, { expression: s = 75, arg: a = {}, height: i = "" } = {}) => {
826
835
  const r = c(e);
827
836
  if (r) {
828
837
  const u = r.querySelector(".el-table");
829
- u && Ce(() => {
838
+ u && $e(() => {
830
839
  const { y: t = 0 } = u.getBoundingClientRect();
831
840
  let d = `calc(100vh - ${t + s}px)`;
832
841
  const _ = Number.parseInt(i);
833
842
  i && (_ ? d = `${i}px` : d = i), u.style.height = d;
834
843
  });
835
844
  }
836
- }, Ae = (e = Promise.resolve(), s = null, a = w(!1), i = w(null)) => {
837
- const r = w("");
845
+ }, Ae = (e = Promise.resolve(), s = null, a = N(!1), i = N(null)) => {
846
+ const r = N("");
838
847
  return a.value = !0, e.then((u = {}) => {
839
848
  const { data: t = {}, message: d = "" } = u;
840
849
  i.value = t, r.value = d, s && s(!0, t), a.value = !1;
@@ -866,7 +875,7 @@ const mt = /* @__PURE__ */ Ne(ct, [["render", _t]]), gt = (e = null, { expressio
866
875
  return "undefind";
867
876
  }
868
877
  }, vt = (e) => ft(e) === "boolean";
869
- const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
878
+ const ht = { class: "bsgoal-base-table" }, pt = { class: "base_table" }, Et = {
870
879
  key: 0,
871
880
  class: "base_table_menu"
872
881
  }, bt = {
@@ -979,55 +988,55 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
979
988
  },
980
989
  setup(e, { expose: s }) {
981
990
  const a = e, i = Z(() => {
982
- const { configOptions: m = [], operation: I = !1, operationWidth: N = 0 } = a, L = c(m), F = [];
991
+ const { configOptions: m = [], operation: I = !1, operationWidth: k = 0 } = a, L = c(m), F = [];
983
992
  return I && F.push({
984
993
  label: "操作",
985
994
  fixed: "right",
986
995
  prop: "operation",
987
- width: N
996
+ width: k
988
997
  }), [...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 });
998
+ }), r = N(null), u = Me("transferFoldStatus");
999
+ pe(() => {
1000
+ const { height: m } = a, I = u ? u.value : !1, k = c(a.expression);
1001
+ vt(m) || gt(r, { arg: I, expression: k, height: m });
993
1002
  });
994
1003
  const t = c(a.mapProps), d = Ee({
995
1004
  currentPage: "currentPage",
996
1005
  pageSize: "pageSize",
997
1006
  rows: "rows",
998
1007
  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);
1008
+ }, t), _ = N(1), V = N(10), M = N(0), S = N({}), w = N(a.loading), U = N(), O = N({}), h = () => {
1009
+ const { fetch: m, call: I, hasPage: k } = a, L = S.value, F = _.value, H = V.value, R = Ee({}, L);
1010
+ k && (R[d.currentPage] = F, R[d.pageSize] = H), Ae(m(R), I, w, O);
1002
1011
  };
1003
- he(() => {
1012
+ pe(() => {
1004
1013
  U.value = a.data;
1005
- }), me(D, (m) => {
1014
+ }), me(O, (m) => {
1006
1015
  a.hasPage ? (U.value = m[d.rows], M.value = m[d.total]) : U.value = m;
1007
1016
  });
1008
1017
  const x = (m = {}) => {
1009
- S.value = m, _.value = 1, p();
1018
+ S.value = m, _.value = 1, h();
1010
1019
  }, T = (m = 1) => {
1011
1020
  _.value = m;
1012
1021
  }, B = (m = 10) => {
1013
1022
  V.value = m;
1014
1023
  };
1015
1024
  return me([_, V], () => {
1016
- p();
1025
+ h();
1017
1026
  }), s({
1018
1027
  refreshList: x
1019
1028
  }), (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", {
1029
+ const k = v("el-table-column"), L = v("el-table"), F = Re("loading");
1030
+ return n(), b("div", ht, [
1031
+ D("div", pt, [
1032
+ m.$slots.menu ? (n(), b("div", Et, [
1033
+ q(m.$slots, "menu")
1034
+ ])) : C("", !0),
1035
+ D("div", {
1027
1036
  ref_key: "EL_TABLE_WRAP_REF",
1028
1037
  ref: r
1029
1038
  }, [
1030
- K((n(), y(L, {
1039
+ J((n(), y(L, {
1031
1040
  stripe: "",
1032
1041
  border: "",
1033
1042
  "highlight-current-row": "",
@@ -1041,37 +1050,37 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
1041
1050
  }
1042
1051
  }, {
1043
1052
  empty: A(() => [
1044
- C(mt)
1053
+ $(mt)
1045
1054
  ]),
1046
1055
  default: A(() => [
1047
- e.selection ? (n(), y(N, {
1056
+ e.selection ? (n(), y(k, {
1048
1057
  key: 0,
1049
1058
  fixed: "left",
1050
1059
  type: "selection",
1051
1060
  width: "40"
1052
- })) : $("", !0),
1053
- (n(!0), E(P, null, Q(i.value, ({
1054
- prop: Y = "",
1061
+ })) : C("", !0),
1062
+ (n(!0), b(P, null, Q(i.value, ({
1063
+ prop: H = "",
1055
1064
  label: R = "",
1056
- align: H = "center",
1065
+ align: W = "center",
1057
1066
  width: ee = "",
1058
1067
  fixed: ae = !1,
1059
1068
  tooltip: le = !1,
1060
1069
  limit: re = 0
1061
- } = {}, ie) => (n(), y(N, {
1070
+ } = {}, ie) => (n(), y(k, {
1062
1071
  key: ie,
1063
1072
  label: R,
1064
- align: H,
1073
+ align: W,
1065
1074
  width: ee,
1066
1075
  fixed: ae,
1067
1076
  "min-width": `${R.length * 14 + 24}px`
1068
1077
  }, {
1069
1078
  default: A(({ row: ue }) => [
1070
- J(m.$slots, Y, { row: ue }, () => [
1071
- C(tt, {
1079
+ q(m.$slots, H, { row: ue }, () => [
1080
+ $(tt, {
1072
1081
  limit: re,
1073
1082
  tooltip: le,
1074
- data: ue[Y]
1083
+ data: ue[H]
1075
1084
  }, null, 8, ["limit", "tooltip", "data"])
1076
1085
  ])
1077
1086
  ]),
@@ -1080,7 +1089,7 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
1080
1089
  ]),
1081
1090
  _: 3
1082
1091
  }, 8, ["data", "header-cell-style"])), [
1083
- [F, k.value]
1092
+ [F, w.value]
1084
1093
  ])
1085
1094
  ], 512),
1086
1095
  e.hasPage ? (n(), y(ut, {
@@ -1088,7 +1097,7 @@ const pt = { class: "bsgoal-base-table" }, ht = { class: "base_table" }, Et = {
1088
1097
  total: M.value,
1089
1098
  onOnCurrentChange: T,
1090
1099
  onOnSizeChange: B
1091
- }, null, 8, ["total"])) : $("", !0)
1100
+ }, null, 8, ["total"])) : C("", !0)
1092
1101
  ])
1093
1102
  ]);
1094
1103
  };
@@ -1107,10 +1116,10 @@ const yt = {
1107
1116
  }
1108
1117
  },
1109
1118
  setup(e) {
1110
- return (s, a) => (n(), E("div", {
1119
+ return (s, a) => (n(), b("div", {
1111
1120
  class: ge(["bsgoal-base-line", { "bsgoal-base-line__vertical": e.vertical }])
1112
1121
  }, [
1113
- O("div", {
1122
+ D("div", {
1114
1123
  class: ge(["base_line", { base_line__vertical: e.vertical }])
1115
1124
  }, null, 2)
1116
1125
  ], 2));
@@ -1127,7 +1136,7 @@ var se = (e, s) => {
1127
1136
  }, At = {
1128
1137
  xmlns: "http://www.w3.org/2000/svg",
1129
1138
  viewBox: "0 0 1024 1024"
1130
- }, Tt = /* @__PURE__ */ O(
1139
+ }, Tt = /* @__PURE__ */ D(
1131
1140
  "path",
1132
1141
  {
1133
1142
  fill: "currentColor",
@@ -1139,15 +1148,15 @@ var se = (e, s) => {
1139
1148
  ), Vt = [
1140
1149
  Tt
1141
1150
  ];
1142
- function $t(e, s, a, i, r, u) {
1143
- return n(), E("svg", At, Vt);
1151
+ function Ct(e, s, a, i, r, u) {
1152
+ return n(), b("svg", At, Vt);
1144
1153
  }
1145
- var Ct = /* @__PURE__ */ se(xt, [["render", $t], ["__file", "arrow-down.vue"]]), Mt = {
1154
+ var $t = /* @__PURE__ */ se(xt, [["render", Ct], ["__file", "arrow-down.vue"]]), Mt = {
1146
1155
  name: "ArrowLeft"
1147
1156
  }, Bt = {
1148
1157
  xmlns: "http://www.w3.org/2000/svg",
1149
1158
  viewBox: "0 0 1024 1024"
1150
- }, wt = /* @__PURE__ */ O(
1159
+ }, Nt = /* @__PURE__ */ D(
1151
1160
  "path",
1152
1161
  {
1153
1162
  fill: "currentColor",
@@ -1156,18 +1165,18 @@ var Ct = /* @__PURE__ */ se(xt, [["render", $t], ["__file", "arrow-down.vue"]]),
1156
1165
  null,
1157
1166
  -1
1158
1167
  /* HOISTED */
1159
- ), Nt = [
1160
- wt
1168
+ ), wt = [
1169
+ Nt
1161
1170
  ];
1162
1171
  function kt(e, s, a, i, r, u) {
1163
- return n(), E("svg", Bt, Nt);
1172
+ return n(), b("svg", Bt, wt);
1164
1173
  }
1165
- var St = /* @__PURE__ */ se(Mt, [["render", kt], ["__file", "arrow-left.vue"]]), Dt = {
1174
+ var St = /* @__PURE__ */ se(Mt, [["render", kt], ["__file", "arrow-left.vue"]]), Ot = {
1166
1175
  name: "ArrowRight"
1167
- }, Ot = {
1176
+ }, Dt = {
1168
1177
  xmlns: "http://www.w3.org/2000/svg",
1169
1178
  viewBox: "0 0 1024 1024"
1170
- }, It = /* @__PURE__ */ O(
1179
+ }, It = /* @__PURE__ */ D(
1171
1180
  "path",
1172
1181
  {
1173
1182
  fill: "currentColor",
@@ -1180,14 +1189,14 @@ var St = /* @__PURE__ */ se(Mt, [["render", kt], ["__file", "arrow-left.vue"]]),
1180
1189
  It
1181
1190
  ];
1182
1191
  function Ft(e, s, a, i, r, u) {
1183
- return n(), E("svg", Ot, Rt);
1192
+ return n(), b("svg", Dt, Rt);
1184
1193
  }
1185
- var Ut = /* @__PURE__ */ se(Dt, [["render", Ft], ["__file", "arrow-right.vue"]]), Lt = {
1194
+ var Ut = /* @__PURE__ */ se(Ot, [["render", Ft], ["__file", "arrow-right.vue"]]), Lt = {
1186
1195
  name: "ArrowUp"
1187
1196
  }, Pt = {
1188
1197
  xmlns: "http://www.w3.org/2000/svg",
1189
1198
  viewBox: "0 0 1024 1024"
1190
- }, zt = /* @__PURE__ */ O(
1199
+ }, zt = /* @__PURE__ */ D(
1191
1200
  "path",
1192
1201
  {
1193
1202
  fill: "currentColor",
@@ -1200,14 +1209,14 @@ var Ut = /* @__PURE__ */ se(Dt, [["render", Ft], ["__file", "arrow-right.vue"]])
1200
1209
  zt
1201
1210
  ];
1202
1211
  function Gt(e, s, a, i, r, u) {
1203
- return n(), E("svg", Pt, jt);
1212
+ return n(), b("svg", Pt, jt);
1204
1213
  }
1205
1214
  var Yt = /* @__PURE__ */ se(Lt, [["render", Gt], ["__file", "arrow-up.vue"]]), Ht = {
1206
1215
  name: "Delete"
1207
1216
  }, Wt = {
1208
1217
  xmlns: "http://www.w3.org/2000/svg",
1209
1218
  viewBox: "0 0 1024 1024"
1210
- }, Xt = /* @__PURE__ */ O(
1219
+ }, Xt = /* @__PURE__ */ D(
1211
1220
  "path",
1212
1221
  {
1213
1222
  fill: "currentColor",
@@ -1216,18 +1225,18 @@ var Yt = /* @__PURE__ */ se(Lt, [["render", Gt], ["__file", "arrow-up.vue"]]), H
1216
1225
  null,
1217
1226
  -1
1218
1227
  /* HOISTED */
1219
- ), Qt = [
1228
+ ), Kt = [
1220
1229
  Xt
1221
1230
  ];
1222
- function Zt(e, s, a, i, r, u) {
1223
- return n(), E("svg", Wt, Qt);
1231
+ function Qt(e, s, a, i, r, u) {
1232
+ return n(), b("svg", Wt, Kt);
1224
1233
  }
1225
- var Se = /* @__PURE__ */ se(Ht, [["render", Zt], ["__file", "delete.vue"]]), Kt = {
1234
+ var Se = /* @__PURE__ */ se(Ht, [["render", Qt], ["__file", "delete.vue"]]), Zt = {
1226
1235
  name: "Plus"
1227
1236
  }, Jt = {
1228
1237
  xmlns: "http://www.w3.org/2000/svg",
1229
1238
  viewBox: "0 0 1024 1024"
1230
- }, qt = /* @__PURE__ */ O(
1239
+ }, qt = /* @__PURE__ */ D(
1231
1240
  "path",
1232
1241
  {
1233
1242
  fill: "currentColor",
@@ -1240,14 +1249,14 @@ var Se = /* @__PURE__ */ se(Ht, [["render", Zt], ["__file", "delete.vue"]]), Kt
1240
1249
  qt
1241
1250
  ];
1242
1251
  function ta(e, s, a, i, r, u) {
1243
- return n(), E("svg", Jt, ea);
1252
+ return n(), b("svg", Jt, ea);
1244
1253
  }
1245
- var aa = /* @__PURE__ */ se(Kt, [["render", ta], ["__file", "plus.vue"]]), la = {
1254
+ var aa = /* @__PURE__ */ se(Zt, [["render", ta], ["__file", "plus.vue"]]), la = {
1246
1255
  name: "Search"
1247
1256
  }, na = {
1248
1257
  xmlns: "http://www.w3.org/2000/svg",
1249
1258
  viewBox: "0 0 1024 1024"
1250
- }, oa = /* @__PURE__ */ O(
1259
+ }, oa = /* @__PURE__ */ D(
1251
1260
  "path",
1252
1261
  {
1253
1262
  fill: "currentColor",
@@ -1260,7 +1269,7 @@ var aa = /* @__PURE__ */ se(Kt, [["render", ta], ["__file", "plus.vue"]]), la =
1260
1269
  oa
1261
1270
  ];
1262
1271
  function ua(e, s, a, i, r, u) {
1263
- return n(), E("svg", na, sa);
1272
+ return n(), b("svg", na, sa);
1264
1273
  }
1265
1274
  var ca = /* @__PURE__ */ se(la, [["render", ua], ["__file", "search.vue"]]);
1266
1275
  const ra = { class: "bsgoal-base-search-operation" }, ia = {
@@ -1277,50 +1286,50 @@ const ra = { class: "bsgoal-base-search-operation" }, ia = {
1277
1286
  },
1278
1287
  emits: ["on-fold"],
1279
1288
  setup(e, { emit: s }) {
1280
- const a = w(!1), i = () => {
1289
+ const a = N(!1), i = () => {
1281
1290
  a.value = !c(a), s("on-fold", a.value);
1282
1291
  };
1283
1292
  return (r, u) => {
1284
1293
  const t = v("el-button"), d = v("el-icon");
1285
- return n(), E("div", ra, [
1286
- C(t, {
1294
+ return n(), b("div", ra, [
1295
+ $(t, {
1287
1296
  type: "primary",
1288
1297
  icon: c(ca),
1289
1298
  onClick: u[0] || (u[0] = (_) => r.$emit("on-search"))
1290
1299
  }, {
1291
1300
  default: A(() => [
1292
- G("搜索")
1301
+ Y("搜索")
1293
1302
  ]),
1294
1303
  _: 1
1295
1304
  }, 8, ["icon"]),
1296
- C(t, {
1305
+ $(t, {
1297
1306
  icon: c(Se),
1298
1307
  onClick: u[1] || (u[1] = (_) => r.$emit("on-clear"))
1299
1308
  }, {
1300
1309
  default: A(() => [
1301
- G("清空")
1310
+ Y("清空")
1302
1311
  ]),
1303
1312
  _: 1
1304
1313
  }, 8, ["icon"]),
1305
- e.fold ? (n(), E("div", {
1314
+ e.fold ? (n(), b("div", {
1306
1315
  key: 0,
1307
1316
  class: "operation_fold",
1308
1317
  style: { color: "var(--el-color-primary)" },
1309
1318
  onClick: i
1310
1319
  }, [
1311
- G(z(a.value ? "收起" : "展开"), 1),
1312
- C(d, { color: "#409EFC" }, {
1320
+ Y(j(a.value ? "收起" : "展开"), 1),
1321
+ $(d, { color: "#409EFC" }, {
1313
1322
  default: A(() => [
1314
- K(C(c(Yt), null, null, 512), [
1323
+ J($(c(Yt), null, null, 512), [
1315
1324
  [te, a.value]
1316
1325
  ]),
1317
- K(C(c(Ct), null, null, 512), [
1326
+ J($(c($t), null, null, 512), [
1318
1327
  [te, !a.value]
1319
1328
  ])
1320
1329
  ]),
1321
1330
  _: 1
1322
1331
  })
1323
- ])) : $("", !0)
1332
+ ])) : C("", !0)
1324
1333
  ]);
1325
1334
  };
1326
1335
  }
@@ -1360,7 +1369,7 @@ const _a = { class: "bsgoal-base-cascader" }, ma = {
1360
1369
  },
1361
1370
  emits: ["update:model-value", "on-change"],
1362
1371
  setup(e, { emit: s }) {
1363
- const a = w({
1372
+ const a = N({
1364
1373
  checkStrictly: !0,
1365
1374
  multiple: !1
1366
1375
  }), i = (r) => {
@@ -1368,8 +1377,8 @@ const _a = { class: "bsgoal-base-cascader" }, ma = {
1368
1377
  };
1369
1378
  return (r, u) => {
1370
1379
  const t = v("el-cascader");
1371
- return n(), E("div", _a, [
1372
- C(t, {
1380
+ return n(), b("div", _a, [
1381
+ $(t, {
1373
1382
  clearable: "",
1374
1383
  class: "base_cascader",
1375
1384
  "show-all-levels": !1,
@@ -1383,9 +1392,9 @@ const _a = { class: "bsgoal-base-cascader" }, ma = {
1383
1392
  };
1384
1393
  }
1385
1394
  });
1386
- const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa = { key: 1 }, ha = {
1395
+ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, ha = { key: 1 }, pa = {
1387
1396
  name: "BsgoalBaseSearch"
1388
- }, Ea = /* @__PURE__ */ Object.assign(ha, {
1397
+ }, Ea = /* @__PURE__ */ Object.assign(pa, {
1389
1398
  props: {
1390
1399
  /**
1391
1400
  * >----------props----------<
@@ -1427,12 +1436,12 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1427
1436
  },
1428
1437
  emits: ["on-search", "on-clear", "on-change", "on-fold"],
1429
1438
  setup(e, { expose: s, emit: a }) {
1430
- const i = e, r = w(null), u = xe.align, t = w({});
1431
- he(() => {
1439
+ const i = e, r = N(null), u = xe.align, t = N({});
1440
+ pe(() => {
1432
1441
  const { configOptions: x } = i;
1433
1442
  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 : "";
1443
+ const { value: m, prop: I = "", type: k = "" } = B;
1444
+ [l.INPUT, l.INPUT_TEXT_AREA].includes(k), t.value[I] = [0, !1].includes(m) ? m : "";
1436
1445
  });
1437
1446
  });
1438
1447
  const d = Z(() => {
@@ -1489,27 +1498,27 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1489
1498
  }, M = () => {
1490
1499
  const { configOptions: x } = i, T = c(t), B = c(x), m = {};
1491
1500
  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;
1501
+ const { type: k = "", range: L = [], prop: F = "", single: H = !1 } = I, R = T[F];
1502
+ if ([l.CASCADER].includes(k) && Array.isArray(R) && H) {
1503
+ const W = R.length;
1504
+ W ? m[F] = R[W - 1] : m[F] = R;
1496
1505
  } else
1497
1506
  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;
1507
+ if (k.endsWith("range") && L && L.length === 2) {
1508
+ const { 0: W = "", 1: ee = "" } = R, { 0: ae = "", 1: le = "" } = L;
1509
+ m[ae] = W, m[le] = ee;
1501
1510
  }
1502
1511
  }
1503
1512
  a("on-search", m), a("update:modelValue", m);
1504
1513
  };
1505
- Ce(() => {
1514
+ $e(() => {
1506
1515
  M();
1507
1516
  });
1508
1517
  const S = () => {
1509
1518
  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) => {
1519
+ }, w = Me("transferFoldStatus"), U = N(!1), O = (x = !1) => {
1520
+ U.value = x, w && (w.value = x), a("on-fold", U);
1521
+ }, h = (x, T) => {
1513
1522
  M();
1514
1523
  const B = {
1515
1524
  type: x,
@@ -1521,10 +1530,10 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1521
1530
  return s({
1522
1531
  triggerOperationSearch: M
1523
1532
  }), (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, {
1533
+ 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"), H = v("el-slider"), R = v("el-switch"), W = 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"), X = v("el-form");
1534
+ return n(), b("div", fa, [
1535
+ D("div", va, [
1536
+ J((n(), y(X, {
1528
1537
  ref_key: "EL_FORM_REF",
1529
1538
  ref: r,
1530
1539
  "label-suffix": ":",
@@ -1532,189 +1541,189 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1532
1541
  model: t.value
1533
1542
  }, {
1534
1543
  default: A(() => [
1535
- C(ue, null, {
1544
+ $(ue, null, {
1536
1545
  default: A(() => [
1537
- (n(!0), E(P, null, Q(d.value, ({
1538
- label: f = "",
1546
+ (n(!0), b(P, null, Q(d.value, ({
1547
+ label: g = "",
1539
1548
  prop: o = "",
1540
- type: g = "text",
1541
- placeholder: j = "",
1549
+ type: f = "text",
1550
+ placeholder: G = "",
1542
1551
  readonly: fe = !1,
1543
1552
  clearable: ve = !0,
1544
- rows: pe = 2,
1553
+ rows: he = 2,
1545
1554
  min: de = 1,
1546
- max: q = 10,
1547
- range: X = [],
1555
+ max: z = 10,
1556
+ range: K = [],
1548
1557
  format: ne = ""
1549
- } = {}, ce) => K((n(), y(ie, {
1558
+ } = {}, ce) => J((n(), y(ie, {
1550
1559
  key: ce,
1551
1560
  xs: 24,
1552
1561
  sm: 12,
1553
1562
  md: e.medium
1554
1563
  }, {
1555
1564
  default: A(() => [
1556
- C(re, {
1557
- label: f,
1565
+ $(re, {
1566
+ label: g,
1558
1567
  prop: o
1559
1568
  }, {
1560
1569
  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, {
1570
+ fe ? (n(), b("div", ha, j(t.value[o]), 1)) : (n(), b(P, { key: 0 }, [
1571
+ f === c(l).INPUT ? (n(), y(B, {
1563
1572
  key: 0,
1564
1573
  modelValue: t.value[o],
1565
- "onUpdate:modelValue": (h) => t.value[o] = h,
1566
- placeholder: _(g, f, j),
1574
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1575
+ placeholder: _(f, g, G),
1567
1576
  clearable: ve
1568
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : $("", !0),
1569
- g === c(l).INPUT_TEXT_AREA ? (n(), y(B, {
1577
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable"])) : C("", !0),
1578
+ f === c(l).INPUT_TEXT_AREA ? (n(), y(B, {
1570
1579
  key: 1,
1571
1580
  modelValue: t.value[o],
1572
- "onUpdate:modelValue": (h) => t.value[o] = h,
1581
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1573
1582
  type: "textarea",
1574
- rows: pe,
1583
+ rows: he,
1575
1584
  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, {
1585
+ placeholder: _(f, g, G),
1586
+ onChange: (p) => h(f, o)
1587
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : C("", !0),
1588
+ f === c(l).INPUT_NUMBER ? (n(), y(m, {
1580
1589
  key: 2,
1581
1590
  modelValue: x.num,
1582
- "onUpdate:modelValue": T[0] || (T[0] = (h) => x.num = h),
1591
+ "onUpdate:modelValue": T[0] || (T[0] = (p) => x.num = p),
1583
1592
  min: de,
1584
- max: q,
1585
- onChange: p
1586
- }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
1587
- g === c(l).RADIO ? (n(), y(N, {
1593
+ max: z,
1594
+ onChange: h
1595
+ }, null, 8, ["modelValue", "min", "max"])) : C("", !0),
1596
+ f === c(l).RADIO ? (n(), y(k, {
1588
1597
  key: 3,
1589
1598
  modelValue: t.value[o],
1590
- "onUpdate:modelValue": (h) => t.value[o] = h,
1591
- onChange: (h) => p(g, o)
1599
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1600
+ onChange: (p) => h(f, o)
1592
1601
  }, {
1593
1602
  default: A(() => [
1594
- (n(!0), E(P, null, Q(X, (h, oe) => (n(), y(I, {
1603
+ (n(!0), b(P, null, Q(K, (p, oe) => (n(), y(I, {
1595
1604
  key: oe,
1596
- label: h.value
1605
+ label: p.value
1597
1606
  }, {
1598
1607
  default: A(() => [
1599
- G(z(h.label), 1)
1608
+ Y(j(p.label), 1)
1600
1609
  ]),
1601
1610
  _: 2
1602
1611
  }, 1032, ["label"]))), 128))
1603
1612
  ]),
1604
1613
  _: 2
1605
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1606
- g === c(l).SELECT ? (n(), y(F, {
1614
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : C("", !0),
1615
+ f === c(l).SELECT ? (n(), y(F, {
1607
1616
  key: 4,
1608
1617
  modelValue: t.value[o],
1609
- "onUpdate:modelValue": (h) => t.value[o] = h,
1610
- placeholder: _(g, f, j),
1611
- onChange: (h) => p(g, o)
1618
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1619
+ placeholder: _(f, g, G),
1620
+ onChange: (p) => h(f, o)
1612
1621
  }, {
1613
1622
  default: A(() => [
1614
- (n(!0), E(P, null, Q(X, (h, oe) => (n(), y(L, {
1623
+ (n(!0), b(P, null, Q(K, (p, oe) => (n(), y(L, {
1615
1624
  key: oe,
1616
- label: h.label,
1617
- value: h.value
1625
+ label: p.label,
1626
+ value: p.value
1618
1627
  }, null, 8, ["label", "value"]))), 128))
1619
1628
  ]),
1620
1629
  _: 2
1621
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
1622
- g === c(l).SLIDER ? (n(), y(Y, {
1630
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : C("", !0),
1631
+ f === c(l).SLIDER ? (n(), y(H, {
1623
1632
  key: 5,
1624
1633
  modelValue: t.value[o],
1625
- "onUpdate:modelValue": (h) => t.value[o] = h,
1634
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1626
1635
  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, {
1636
+ max: z,
1637
+ onChange: (p) => h(f, o)
1638
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : C("", !0),
1639
+ f === c(l).SWITCH ? (n(), y(R, {
1631
1640
  key: 6,
1632
1641
  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),
1642
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1643
+ "active-value": K[0] || !0,
1644
+ "inactive-value": K[1] || !1,
1645
+ onChange: (p) => h(f, o)
1646
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : C("", !0),
1638
1647
  [c(l).DATE, c(l).MONTH, c(l).YEAR, c(l).DATE_TIME].includes(
1639
- g
1640
- ) ? (n(), y(H, {
1648
+ f
1649
+ ) ? (n(), y(W, {
1641
1650
  key: 7,
1642
1651
  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),
1652
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1653
+ format: V(f, ne),
1654
+ "value-format": V(f, ne),
1655
+ type: f,
1656
+ placeholder: _(f, g, G),
1657
+ onChange: (p) => h(f, o)
1658
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : C("", !0),
1650
1659
  [
1651
1660
  c(l).DATE_RANGE,
1652
1661
  c(l).MONTH_RANGE,
1653
1662
  c(l).DATE_TIME_RANGE
1654
- ].includes(g) ? (n(), y(H, {
1663
+ ].includes(f) ? (n(), y(W, {
1655
1664
  key: 8,
1656
1665
  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, {
1666
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1667
+ type: f,
1668
+ "value-format": V(f, ne),
1669
+ "start-placeholder": _(f, g, G)[0],
1670
+ "end-placeholder": _(f, g, G)[1],
1671
+ onChange: (p) => h(f, o)
1672
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : C("", !0),
1673
+ [c(l).TIME].includes(f) ? (n(), y(ee, {
1665
1674
  key: 9,
1666
1675
  modelValue: t.value[o],
1667
- "onUpdate:modelValue": (h) => t.value[o] = h,
1676
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1668
1677
  "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, {
1678
+ "value-format": V(f, ne),
1679
+ placeholder: _(f, g, G),
1680
+ onChange: (p) => h(f, o)
1681
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : C("", !0),
1682
+ [c(l).TIME_RANGE].includes(f) ? (n(), y(ee, {
1674
1683
  key: 10,
1675
1684
  modelValue: t.value[o],
1676
- "onUpdate:modelValue": (h) => t.value[o] = h,
1685
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1677
1686
  "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, {
1687
+ "value-format": V(f, ne),
1688
+ "start-placeholder": _(f, g, G)[0],
1689
+ "end-placeholder": _(f, g, G)[1],
1690
+ onChange: (p) => h(f, o)
1691
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : C("", !0),
1692
+ [c(l).CHECKBOX].includes(f) ? (n(), y(le, {
1684
1693
  key: 11,
1685
1694
  modelValue: t.value[o],
1686
- "onUpdate:modelValue": (h) => t.value[o] = h,
1687
- onChange: (h) => p(g, o)
1695
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1696
+ onChange: (p) => h(f, o)
1688
1697
  }, {
1689
1698
  default: A(() => [
1690
- (n(!0), E(P, null, Q(X, (h, oe) => (n(), y(ae, {
1699
+ (n(!0), b(P, null, Q(K, (p, oe) => (n(), y(ae, {
1691
1700
  key: oe,
1692
- label: h.value
1701
+ label: p.value
1693
1702
  }, {
1694
1703
  default: A(() => [
1695
- G(z(h.label), 1)
1704
+ Y(j(p.label), 1)
1696
1705
  ]),
1697
1706
  _: 2
1698
1707
  }, 1032, ["label"]))), 128))
1699
1708
  ]),
1700
1709
  _: 2
1701
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1702
- [c(l).CASCADER].includes(g) ? (n(), y(ga, {
1710
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : C("", !0),
1711
+ [c(l).CASCADER].includes(f) ? (n(), y(ga, {
1703
1712
  key: 12,
1704
1713
  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, {
1714
+ "onUpdate:modelValue": (p) => t.value[o] = p,
1715
+ "data-options": K,
1716
+ placeholder: _(f, g, G),
1717
+ onOnChange: (p) => h(f, o)
1718
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : C("", !0),
1719
+ [].includes(f) ? (n(), b(P, { key: 13 }, [], 64)) : C("", !0),
1720
+ [c(l).OPERATION].includes(f) ? (n(), y(da, {
1712
1721
  key: 14,
1713
1722
  fold: ce >= 7,
1714
1723
  onOnSearch: M,
1715
1724
  onOnClear: S,
1716
- onOnFold: D
1717
- }, null, 8, ["fold"])) : $("", !0)
1725
+ onOnFold: O
1726
+ }, null, 8, ["fold"])) : C("", !0)
1718
1727
  ], 64))
1719
1728
  ]),
1720
1729
  _: 2
@@ -1722,7 +1731,7 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1722
1731
  ]),
1723
1732
  _: 2
1724
1733
  }, 1032, ["md"])), [
1725
- [te, ce < 7 || g === c(l).OPERATION || ce >= 7 && U.value]
1734
+ [te, ce < 7 || f === c(l).OPERATION || ce >= 7 && U.value]
1726
1735
  ])), 128))
1727
1736
  ]),
1728
1737
  _: 1
@@ -1733,7 +1742,7 @@ const fa = { class: "bsgoal-base-search" }, va = { class: "base_search" }, pa =
1733
1742
  [c(u)]
1734
1743
  ])
1735
1744
  ]),
1736
- C(Te)
1745
+ $(Te)
1737
1746
  ]);
1738
1747
  };
1739
1748
  }
@@ -1847,37 +1856,37 @@ const ba = { class: "bsgoal-base-search-table" }, ya = { class: "base_search_tab
1847
1856
  }
1848
1857
  },
1849
1858
  setup(e, { expose: s }) {
1850
- const a = e, i = w(!1);
1859
+ const a = e, i = N(!1);
1851
1860
  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);
1861
+ const r = c(a.configOptions), u = Z(() => r.filter((O) => {
1862
+ const { type: h = "" } = O;
1863
+ return !!h;
1864
+ })), t = Z(() => r.filter((O) => {
1865
+ const { item: h = !1 } = O;
1866
+ return !h;
1867
+ })), d = Be(), _ = N(Object.keys(d)), V = N(null), M = (O) => {
1868
+ V.value.refreshList(O);
1860
1869
  }, S = Z(() => {
1861
- const { expression: D, hasPage: p } = a;
1862
- return p === !1 ? 25 : D;
1863
- }), k = w(null);
1870
+ const { expression: O, hasPage: h } = a;
1871
+ return h === !1 ? 25 : O;
1872
+ }), w = N(null);
1864
1873
  return s({
1865
1874
  refresh: () => {
1866
- const { hasSearch: D } = a;
1867
- c(D) && k.value.triggerOperationSearch();
1875
+ const { hasSearch: O } = a;
1876
+ c(O) && w.value.triggerOperationSearch();
1868
1877
  }
1869
- }), (D, p) => (n(), E("div", ba, [
1870
- O("div", ya, [
1871
- K(C(Ea, {
1878
+ }), (O, h) => (n(), b("div", ba, [
1879
+ D("div", ya, [
1880
+ J($(Ea, {
1872
1881
  ref_key: "BSGOAL_BASE_SEARCH_REF",
1873
- ref: k,
1882
+ ref: w,
1874
1883
  "config-options": u.value,
1875
1884
  onOnSearch: M,
1876
1885
  onOnClear: M
1877
1886
  }, null, 8, ["config-options"]), [
1878
1887
  [te, e.hasSearch]
1879
1888
  ]),
1880
- C(ke, {
1889
+ $(ke, {
1881
1890
  ref_key: "BSGOAL_BASE_TABLE_REF",
1882
1891
  ref: V,
1883
1892
  "map-props": e.mapProps,
@@ -1894,7 +1903,7 @@ const ba = { class: "bsgoal-base-search-table" }, ya = { class: "base_search_tab
1894
1903
  Q(_.value, (x) => ({
1895
1904
  name: x,
1896
1905
  fn: A(({ row: T = {} }) => [
1897
- J(D.$slots, x, { row: T })
1906
+ q(O.$slots, x, { row: T })
1898
1907
  ])
1899
1908
  }))
1900
1909
  ]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
@@ -1904,27 +1913,27 @@ const ba = { class: "bsgoal-base-search-table" }, ya = { class: "base_search_tab
1904
1913
  });
1905
1914
  const Ta = { class: "bsgoal-base-tree-fold" }, Va = {
1906
1915
  name: "BsgoalBaseTreeFold"
1907
- }, $a = /* @__PURE__ */ Object.assign(Va, {
1916
+ }, Ca = /* @__PURE__ */ Object.assign(Va, {
1908
1917
  props: ["modelValue"],
1909
1918
  emits: ["update:modelValue"],
1910
1919
  setup(e, { emit: s }) {
1911
- let a = w(!0);
1920
+ let a = N(!0);
1912
1921
  const i = () => {
1913
1922
  a.value = !a.value, s("update:modelValue", a.value);
1914
1923
  };
1915
1924
  return (r, u) => {
1916
1925
  const t = v("el-icon");
1917
- return n(), E("div", Ta, [
1918
- O("div", {
1926
+ return n(), b("div", Ta, [
1927
+ D("div", {
1919
1928
  class: ge(["base_tree_fold", { "base_tree_fold--hide": !c(a) }]),
1920
1929
  onClick: i
1921
1930
  }, [
1922
- C(t, { color: "#fff" }, {
1931
+ $(t, { color: "#fff" }, {
1923
1932
  default: A(() => [
1924
- K(C(c(St), null, null, 512), [
1933
+ J($(c(St), null, null, 512), [
1925
1934
  [te, c(a)]
1926
1935
  ]),
1927
- K(C(c(Ut), null, null, 512), [
1936
+ J($(c(Ut), null, null, 512), [
1928
1937
  [te, !c(a)]
1929
1938
  ])
1930
1939
  ]),
@@ -1935,9 +1944,9 @@ const Ta = { class: "bsgoal-base-tree-fold" }, Va = {
1935
1944
  };
1936
1945
  }
1937
1946
  });
1938
- const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { class: "base_tree_main" }, wa = {
1947
+ const $a = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { class: "base_tree_main" }, Na = {
1939
1948
  name: "BsgoalBaseTree"
1940
- }, Na = /* @__PURE__ */ Object.assign(wa, {
1949
+ }, wa = /* @__PURE__ */ Object.assign(Na, {
1941
1950
  props: {
1942
1951
  /**
1943
1952
  * 树结构 的下边距
@@ -1991,39 +2000,39 @@ const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { cl
1991
2000
  },
1992
2001
  emits: ["on-click"],
1993
2002
  setup(e, { emit: s }) {
1994
- const a = e, i = xe.height, r = w(""), u = w(null);
2003
+ const a = e, i = xe.height, r = N(""), u = N(null);
1995
2004
  me(r, (M) => {
1996
2005
  u.value.filter(M);
1997
2006
  });
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) => {
2007
+ const t = (M, S) => M ? S.label.includes(M) : !0, d = N(!0), _ = (M, S, w, U) => {
2008
+ s("on-click", M, S, w, U);
2009
+ }, V = async (M, S, w) => {
2001
2010
  if (M.level === 0) {
2002
- const U = await k.initNode(M);
2011
+ const U = await w.initNode(M);
2003
2012
  return S(U || []);
2004
2013
  } else {
2005
- const U = await k.lazyLoad(M);
2014
+ const U = await w.lazyLoad(M);
2006
2015
  S(U || []);
2007
2016
  }
2008
2017
  };
2009
2018
  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, {
2019
+ const w = v("el-input"), U = v("el-tree");
2020
+ return n(), b("div", $a, [
2021
+ J((n(), b("div", Ma, [
2022
+ J(D("div", Ba, [
2023
+ $(w, {
2015
2024
  modelValue: r.value,
2016
- "onUpdate:modelValue": S[0] || (S[0] = (D) => r.value = D),
2025
+ "onUpdate:modelValue": S[0] || (S[0] = (O) => r.value = O),
2017
2026
  class: "base_tree_main_input",
2018
2027
  placeholder: "输入关键字过滤"
2019
2028
  }, null, 8, ["modelValue"]),
2020
- C(U, {
2029
+ $(U, {
2021
2030
  ref_key: "EL_TREE_REF",
2022
2031
  ref: u,
2023
2032
  lazy: "",
2024
2033
  "highlight-current": "",
2025
2034
  "empty-text": "暂无数据",
2026
- load: (D, p) => V(D, p, a),
2035
+ load: (O, h) => V(O, h, a),
2027
2036
  "expand-on-click-node": !1,
2028
2037
  props: e.treeProps,
2029
2038
  "filter-node-method": t,
@@ -2032,12 +2041,12 @@ const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { cl
2032
2041
  ], 512), [
2033
2042
  [te, d.value]
2034
2043
  ]),
2035
- K(C(Te, { vertical: "" }, null, 512), [
2044
+ J($(Te, { vertical: "" }, null, 512), [
2036
2045
  [te, d.value]
2037
2046
  ]),
2038
- C($a, {
2047
+ $(Ca, {
2039
2048
  modelValue: d.value,
2040
- "onUpdate:modelValue": S[1] || (S[1] = (D) => d.value = D)
2049
+ "onUpdate:modelValue": S[1] || (S[1] = (O) => d.value = O)
2041
2050
  }, null, 8, ["modelValue"])
2042
2051
  ])), [
2043
2052
  [c(i), e.gasket]
@@ -2046,7 +2055,7 @@ const Ca = { class: "bsgoal-base-tree" }, Ma = { class: "base_tree" }, Ba = { cl
2046
2055
  };
2047
2056
  }
2048
2057
  });
2049
- const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da = { class: "base_dialog_header" }, Oa = { class: "base_dialog_footer" }, Ia = {
2058
+ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Oa = { class: "base_dialog_header" }, Da = { class: "base_dialog_footer" }, Ia = {
2050
2059
  name: "BsgoalBaseDialog"
2051
2060
  }, Ra = /* @__PURE__ */ Object.assign(Ia, {
2052
2061
  props: {
@@ -2110,7 +2119,7 @@ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da =
2110
2119
  },
2111
2120
  emits: ["update:modelValue", "on-confirm"],
2112
2121
  setup(e, { emit: s }) {
2113
- const a = e, i = w(a.modelValue.value), r = () => {
2122
+ const a = e, i = N(a.modelValue.value), r = () => {
2114
2123
  i.value = !1;
2115
2124
  }, u = () => {
2116
2125
  s("on-confirm", () => {
@@ -2146,9 +2155,9 @@ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da =
2146
2155
  });
2147
2156
  return (d, _) => {
2148
2157
  const V = v("el-button"), M = v("el-dialog");
2149
- return n(), E("div", ka, [
2150
- O("div", Sa, [
2151
- C(M, {
2158
+ return n(), b("div", ka, [
2159
+ D("div", Sa, [
2160
+ $(M, {
2152
2161
  modelValue: i.value,
2153
2162
  "onUpdate:modelValue": _[0] || (_[0] = (S) => i.value = S),
2154
2163
  "custom-class": "bsgoal_base_dialog_main",
@@ -2156,34 +2165,34 @@ const ka = { class: "bsgoal-base-dialog" }, Sa = { class: "base_dialog" }, Da =
2156
2165
  width: t.value
2157
2166
  }, {
2158
2167
  header: A(() => [
2159
- O("div", Da, z(e.title), 1)
2168
+ D("div", Oa, j(e.title), 1)
2160
2169
  ]),
2161
2170
  footer: A(() => [
2162
- e.footer ? J(d.$slots, "footer", { key: 0 }, () => [
2163
- O("span", Oa, [
2164
- C(V, { onClick: r }, {
2171
+ e.footer ? q(d.$slots, "footer", { key: 0 }, () => [
2172
+ D("span", Da, [
2173
+ $(V, { onClick: r }, {
2165
2174
  default: A(() => [
2166
- G(z(e.cancelTxt), 1)
2175
+ Y(j(e.cancelTxt), 1)
2167
2176
  ]),
2168
2177
  _: 1
2169
2178
  }),
2170
- C(V, {
2179
+ $(V, {
2171
2180
  type: "primary",
2172
2181
  onClick: u
2173
2182
  }, {
2174
2183
  default: A(() => [
2175
- G(z(e.confirmTxt), 1)
2184
+ Y(j(e.confirmTxt), 1)
2176
2185
  ]),
2177
2186
  _: 1
2178
2187
  })
2179
2188
  ])
2180
- ]) : $("", !0)
2189
+ ]) : C("", !0)
2181
2190
  ]),
2182
2191
  default: A(() => [
2183
- O("div", {
2192
+ D("div", {
2184
2193
  class: ge(["base_dialog_content", { "base_dialog_content--form": e.type === "form" }])
2185
2194
  }, [
2186
- J(d.$slots, "default")
2195
+ q(d.$slots, "default")
2187
2196
  ], 2)
2188
2197
  ]),
2189
2198
  _: 3
@@ -2245,8 +2254,8 @@ const Fa = { class: "bsgoal-base-tabs" }, Ua = {
2245
2254
  };
2246
2255
  return (u, t) => {
2247
2256
  const d = v("el-tab-pane"), _ = v("el-tabs");
2248
- return n(), E("div", Fa, [
2249
- C(_, {
2257
+ return n(), b("div", Fa, [
2258
+ $(_, {
2250
2259
  class: "bsgoal_base_tabs",
2251
2260
  stretch: e.stretch,
2252
2261
  type: e.type,
@@ -2254,14 +2263,14 @@ const Fa = { class: "bsgoal-base-tabs" }, Ua = {
2254
2263
  onTabChange: r
2255
2264
  }, {
2256
2265
  default: A(() => [
2257
- (n(!0), E(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(), y(d, {
2266
+ (n(!0), b(P, null, Q(e.configOptions, ({ label: V, value: M }, S) => (n(), y(d, {
2258
2267
  key: S,
2259
2268
  label: V,
2260
2269
  name: M
2261
2270
  }, {
2262
2271
  default: A(() => [
2263
- J(u.$slots, M, {}, () => [
2264
- G(z(V), 1)
2272
+ q(u.$slots, M, {}, () => [
2273
+ Y(j(V), 1)
2265
2274
  ])
2266
2275
  ]),
2267
2276
  _: 2
@@ -2306,8 +2315,8 @@ const Pa = { class: "bsgoal-base-link" }, za = {
2306
2315
  };
2307
2316
  return (i, r) => {
2308
2317
  const u = v("el-link");
2309
- return n(), E("div", Pa, [
2310
- C(u, {
2318
+ return n(), b("div", Pa, [
2319
+ $(u, {
2311
2320
  class: "bsgoal_base_link",
2312
2321
  type: "primary",
2313
2322
  underline: e.underline,
@@ -2315,8 +2324,8 @@ const Pa = { class: "bsgoal-base-link" }, za = {
2315
2324
  onClick: a
2316
2325
  }, {
2317
2326
  default: A(() => [
2318
- J(i.$slots, "default", {}, () => [
2319
- G(z(e.content), 1)
2327
+ q(i.$slots, "default", {}, () => [
2328
+ Y(j(e.content), 1)
2320
2329
  ], !0)
2321
2330
  ]),
2322
2331
  _: 3
@@ -2324,7 +2333,7 @@ const Pa = { class: "bsgoal-base-link" }, za = {
2324
2333
  ]);
2325
2334
  };
2326
2335
  }
2327
- }), Ga = /* @__PURE__ */ Ne(ja, [["__scopeId", "data-v-3b0290b0"]]);
2336
+ }), Ga = /* @__PURE__ */ we(ja, [["__scopeId", "data-v-3b0290b0"]]);
2328
2337
  const Ya = { class: "bsgoal-base-button" }, Ha = {
2329
2338
  name: "BsgoalBaseButton"
2330
2339
  }, Wa = /* @__PURE__ */ Object.assign(Ha, {
@@ -2363,7 +2372,7 @@ const Ya = { class: "bsgoal-base-button" }, Ha = {
2363
2372
  }
2364
2373
  },
2365
2374
  setup(e) {
2366
- const s = e, a = w(!1), i = () => {
2375
+ const s = e, a = N(!1), i = () => {
2367
2376
  a.value = !0;
2368
2377
  const { task: t } = s;
2369
2378
  c(t)(() => {
@@ -2388,20 +2397,20 @@ const Ya = { class: "bsgoal-base-button" }, Ha = {
2388
2397
  });
2389
2398
  return (t, d) => {
2390
2399
  const _ = v("el-button");
2391
- return n(), E("div", Ya, [
2392
- O("div", {
2400
+ return n(), b("div", Ya, [
2401
+ D("div", {
2393
2402
  class: "base_button",
2394
2403
  onClick: i
2395
2404
  }, [
2396
- J(t.$slots, "default", { loading: a.value }, () => [
2397
- C(_, {
2405
+ q(t.$slots, "default", { loading: a.value }, () => [
2406
+ $(_, {
2398
2407
  type: r.value,
2399
2408
  icon: u.value,
2400
2409
  loading: a.value,
2401
2410
  plain: e.plain
2402
2411
  }, {
2403
2412
  default: A(() => [
2404
- G(z(e.content), 1)
2413
+ Y(j(e.content), 1)
2405
2414
  ]),
2406
2415
  _: 1
2407
2416
  }, 8, ["type", "icon", "loading", "plain"])
@@ -2411,9 +2420,9 @@ const Ya = { class: "bsgoal-base-button" }, Ha = {
2411
2420
  };
2412
2421
  }
2413
2422
  });
2414
- const Xa = { class: "bsgoal-base-layout" }, Qa = {
2423
+ const Xa = { class: "bsgoal-base-layout" }, Ka = {
2415
2424
  name: "BsgoalBaseLayout"
2416
- }, Za = /* @__PURE__ */ Object.assign(Qa, {
2425
+ }, Qa = /* @__PURE__ */ Object.assign(Ka, {
2417
2426
  props: {
2418
2427
  /**
2419
2428
  * 间隔
@@ -2431,16 +2440,16 @@ const Xa = { class: "bsgoal-base-layout" }, Qa = {
2431
2440
  }
2432
2441
  },
2433
2442
  setup(e) {
2434
- const s = Be(), a = w(Object.keys(s));
2443
+ const s = Be(), a = N(Object.keys(s));
2435
2444
  return (i, r) => {
2436
2445
  const u = v("el-col"), t = v("el-row");
2437
- return n(), E("div", Xa, [
2438
- C(t, {
2446
+ return n(), b("div", Xa, [
2447
+ $(t, {
2439
2448
  class: "base_layout",
2440
2449
  gutter: e.gutter
2441
2450
  }, {
2442
2451
  default: A(() => [
2443
- (n(!0), E(P, null, Q(a.value, (d, _) => (n(), y(u, {
2452
+ (n(!0), b(P, null, Q(a.value, (d, _) => (n(), y(u, {
2444
2453
  key: _,
2445
2454
  xs: 24,
2446
2455
  sm: 24,
@@ -2449,7 +2458,7 @@ const Xa = { class: "bsgoal-base-layout" }, Qa = {
2449
2458
  xl: e.ratio
2450
2459
  }, {
2451
2460
  default: A(() => [
2452
- J(i.$slots, d)
2461
+ q(i.$slots, d)
2453
2462
  ]),
2454
2463
  _: 2
2455
2464
  }, 1032, ["md", "lg", "xl"]))), 128))
@@ -2462,16 +2471,16 @@ const Xa = { class: "bsgoal-base-layout" }, Qa = {
2462
2471
  }), el = l, tl = Ae, al = {
2463
2472
  install(e, s = {}) {
2464
2473
  const { exclude: a = [] } = s, i = {
2465
- BsgoalBaseForm: Ze,
2474
+ BsgoalBaseForm: Qe,
2466
2475
  BsgoalBaseTable: ke,
2467
2476
  BsgoalBaseLine: Te,
2468
2477
  BsgoalBaseSearchTable: Aa,
2469
- BsgoalBaseTree: Na,
2478
+ BsgoalBaseTree: wa,
2470
2479
  BsgoalBaseDialog: Ra,
2471
2480
  BsgoalBaseTabs: La,
2472
2481
  BsgoalBaseLink: Ga,
2473
2482
  BsgoalBaseButton: Wa,
2474
- BsgoalBaseLayout: Za
2483
+ BsgoalBaseLayout: Qa
2475
2484
  };
2476
2485
  for (const [r, u] of Object.entries(i))
2477
2486
  a.includes(r) || e.component(r, u);