@bsgoal/common 1.6.4 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -9,8 +9,8 @@ var xe = (e, s, l) => s in e ? we(e, s, { enumerable: !0, configurable: !0, writ
9
9
  De.call(s, l) && xe(e, l, s[l]);
10
10
  return e;
11
11
  };
12
- import { computed as J, resolveComponent as f, openBlock as n, createElementBlock as b, createVNode as N, unref as u, withCtx as T, renderSlot as q, createTextVNode as W, toDisplayString as Y, ref as k, watchEffect as Ee, createElementVNode as S, withDirectives as Q, createBlock as E, Fragment as P, renderList as X, createCommentVNode as V, nextTick as Ce, inject as Ve, watch as de, resolveDirective as ke, normalizeClass as _e, vShow as le, isProxy as Se, toRaw as Oe, provide as Ie, useSlots as Fe, createSlots as Re, normalizeStyle as Ue } from "vue";
13
- import { ElMessage as Le } from "element-plus";
12
+ import { computed as Z, resolveComponent as f, openBlock as n, createElementBlock as b, createVNode as w, unref as u, withCtx as T, renderSlot as q, createTextVNode as W, toDisplayString as Y, ref as D, watchEffect as Ee, createElementVNode as S, withDirectives as X, createBlock as E, Fragment as j, renderList as Q, createCommentVNode as $, nextTick as Ce, inject as Ve, watch as de, resolveDirective as ke, normalizeClass as _e, vShow as ee, isProxy as Se, toRaw as Oe, provide as Ie, useSlots as Fe, createSlots as Re, normalizeStyle as Ue } from "vue";
13
+ import { ElMessage as Pe } from "element-plus";
14
14
  const a = {
15
15
  INPUT: "text",
16
16
  INPUT_NUMBER: "number",
@@ -33,13 +33,13 @@ const a = {
33
33
  OPERATION: "operation",
34
34
  CASCADER: "cascader"
35
35
  };
36
- let pe = null;
37
- const he = (e) => {
36
+ let he = null;
37
+ const pe = (e) => {
38
38
  const s = [], l = [], r = (t = []) => {
39
39
  const c = t.map((v) => v.width), d = Math.max(...c);
40
40
  t.forEach((v) => {
41
- const { labelEl: M } = v;
42
- M.style.width = `${d}px`;
41
+ const { labelEl: N } = v;
42
+ N.style.width = `${d}px`;
43
43
  });
44
44
  }, i = () => {
45
45
  if (e) {
@@ -48,13 +48,13 @@ const he = (e) => {
48
48
  let c = 0;
49
49
  t.forEach((d, v) => {
50
50
  d.style.width = "initial", d.style.whiteSpace = "nowrap";
51
- const { x: M = 0, width: $ = 0 } = d.getBoundingClientRect(), w = { x: M, width: $, labelEl: d };
52
- v === 0 && (c = M), M === c ? s.push(w) : l.push(w);
51
+ const { x: N = 0, width: k = 0 } = d.getBoundingClientRect(), x = { x: N, width: k, labelEl: d };
52
+ v === 0 && (c = N), N === c ? s.push(x) : l.push(x);
53
53
  });
54
54
  }
55
55
  }
56
56
  };
57
- pe && clearTimeout(pe), pe = setTimeout(() => {
57
+ he && clearTimeout(he), he = setTimeout(() => {
58
58
  i(), r(s), r(l);
59
59
  }, 50);
60
60
  }, be = {
@@ -64,14 +64,14 @@ const he = (e) => {
64
64
  align: {
65
65
  created(e) {
66
66
  window.addEventListener("resize", () => {
67
- he(e);
67
+ pe(e);
68
68
  });
69
69
  },
70
70
  mounted(e) {
71
- he(e);
71
+ pe(e);
72
72
  },
73
73
  unmounted(e) {
74
- window.removeEventListener("resize", he(e));
74
+ window.removeEventListener("resize", pe(e));
75
75
  }
76
76
  },
77
77
  /**
@@ -84,9 +84,9 @@ const he = (e) => {
84
84
  }
85
85
  }
86
86
  };
87
- const ze = { class: "bsgoal-base-tooltip" }, Pe = {
87
+ const Le = { class: "bsgoal-base-tooltip" }, ze = {
88
88
  name: "BsgoalBaseTooltip"
89
- }, Me = /* @__PURE__ */ Object.assign(Pe, {
89
+ }, Me = /* @__PURE__ */ Object.assign(ze, {
90
90
  props: {
91
91
  /**
92
92
  * 文字提示内容
@@ -126,19 +126,19 @@ const ze = { class: "bsgoal-base-tooltip" }, Pe = {
126
126
  }
127
127
  },
128
128
  setup(e) {
129
- const s = e, l = J(() => {
129
+ const s = e, l = Z(() => {
130
130
  const { content: i = "", limit: t = 0, none: c = "" } = s;
131
131
  let d = i;
132
132
  const v = i.length;
133
133
  return t && v > t && (d = `${i.substring(0, t)}...`), d || c;
134
- }), r = J(() => {
134
+ }), r = Z(() => {
135
135
  const { content: i = "", limit: t = 0 } = s;
136
136
  return i.length < t || !t;
137
137
  });
138
138
  return (i, t) => {
139
139
  const c = f("el-tooltip");
140
- return n(), b("div", ze, [
141
- N(c, {
140
+ return n(), b("div", Le, [
141
+ w(c, {
142
142
  class: "base_tooltip",
143
143
  effect: "dark",
144
144
  "popper-class": "base_tooltip_popper",
@@ -222,24 +222,24 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
222
222
  },
223
223
  emits: ["on-form", "on-clear", "on-change", "on-fold"],
224
224
  setup(e, { expose: s, emit: l }) {
225
- const r = e, i = k(null), t = be.align, c = k({});
225
+ const r = e, i = D(null), t = be.align, c = D({});
226
226
  Ee(() => {
227
- const { configOptions: h, values: y } = r, x = u(h), D = u(y);
228
- x.forEach((C) => {
229
- const { value: A = "", prop: O = "", type: F = "" } = C;
230
- [a.INPUT, a.INPUT_TEXT_AREA].includes(F), c.value[O] = D[O] || A;
227
+ const { configOptions: p, values: y } = r, C = u(p), B = u(y);
228
+ C.forEach((M) => {
229
+ const { value: A = "", prop: O = "", type: I = "" } = M;
230
+ [a.INPUT, a.INPUT_TEXT_AREA].includes(I), c.value[O] = B[O] || A;
231
231
  });
232
232
  });
233
- const d = J(() => {
234
- const { configOptions: h } = r;
235
- return u(h).map((D) => {
236
- let { rules: C = !1, label: A = "" } = D;
233
+ const d = Z(() => {
234
+ const { configOptions: p } = r;
235
+ return u(p).map((B) => {
236
+ let { rules: M = !1, label: A = "" } = B;
237
237
  const O = { required: !0, message: `${A}不能为空`, trigger: "blur" };
238
- return C && (typeof C == "boolean" ? C = [O] : Array.isArray(C) ? C = [O, ...C] : C = [O, C]), D.rules = C, D;
238
+ return M && (typeof M == "boolean" ? M = [O] : Array.isArray(M) ? M = [O, ...M] : M = [O, M]), B.rules = M, B;
239
239
  });
240
- }), v = (h = "", y = "", x = "") => {
241
- if (!x)
242
- switch (h) {
240
+ }), v = (p = "", y = "", C = "") => {
241
+ if (!C)
242
+ switch (p) {
243
243
  case a.INPUT:
244
244
  case a.INPUT_TEXT_AREA:
245
245
  return `请输入${y}`;
@@ -259,10 +259,10 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
259
259
  case a.MONTH_RANGE:
260
260
  return ["开始月份", "结束月份"];
261
261
  }
262
- return x;
263
- }, M = (h = "", y = "") => {
262
+ return C;
263
+ }, N = (p = "", y = "") => {
264
264
  if (!y)
265
- switch (h) {
265
+ switch (p) {
266
266
  case a.WEEK:
267
267
  return "ww";
268
268
  case a.DATE:
@@ -282,62 +282,62 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
282
282
  return "YYYY-MM-DD HH:mm:ss";
283
283
  }
284
284
  return y;
285
- }, $ = () => {
286
- const h = u(c), { configOptions: y } = r, x = u(y);
287
- for (const D of x) {
288
- const { type: C = "", range: A = [], prop: O = "" } = D;
289
- if (C.endsWith("range") && A && A.length === 2) {
290
- const { 0: F = "", 1: R = "" } = h[O], { 0: z = "", 1: I = "" } = A;
291
- h[z] = F, h[I] = R;
285
+ }, k = () => {
286
+ const p = u(c), { configOptions: y } = r, C = u(y);
287
+ for (const B of C) {
288
+ const { type: M = "", range: A = [], prop: O = "" } = B;
289
+ if (M.endsWith("range") && A && A.length === 2) {
290
+ const { 0: I = "", 1: U = "" } = p[O], { 0: z = "", 1: F = "" } = A;
291
+ p[z] = I, p[F] = U;
292
292
  }
293
293
  }
294
- return l("on-form", h), h;
295
- }, w = () => {
294
+ return l("on-form", p), p;
295
+ }, x = () => {
296
296
  i.value.resetFields(), l("on-clear", c.value);
297
- }, B = (h, y) => {
298
- const x = {
299
- type: h,
297
+ }, V = (p, y) => {
298
+ const C = {
299
+ type: p,
300
300
  prop: y,
301
301
  value: c.value[y] || ""
302
302
  };
303
- l("on-change", x);
303
+ l("on-change", C);
304
304
  };
305
305
  return s({
306
- triggerOperationClear: w,
307
- triggerOperationForm: $,
308
- validateForm: (h = () => {
306
+ triggerOperationClear: x,
307
+ triggerOperationForm: k,
308
+ validateForm: (p = () => {
309
309
  }) => {
310
- i.value.validate((y = !1, x = {}) => {
310
+ i.value.validate((y = !1, C = {}) => {
311
311
  if (y) {
312
- const D = $();
313
- h(D);
312
+ const B = k();
313
+ p(B);
314
314
  } else {
315
- h(!1);
316
- const D = Object.keys(x)[0], {
317
- [D]: {
318
- 0: { message: C = "" }
315
+ p(!1);
316
+ const B = Object.keys(C)[0], {
317
+ [B]: {
318
+ 0: { message: M = "" }
319
319
  }
320
- } = x;
321
- Le.error(C);
320
+ } = C;
321
+ Pe.error(M);
322
322
  }
323
323
  });
324
324
  }
325
- }), (h, y) => {
326
- const x = f("el-input"), D = f("el-input-number"), C = f("el-radio"), A = f("el-radio-group"), O = f("el-option"), F = f("el-select"), R = f("el-slider"), z = f("el-switch"), I = f("el-date-picker"), j = f("el-time-picker"), Z = f("el-checkbox"), ee = f("el-checkbox-group"), te = f("el-form-item"), ue = f("el-col"), se = f("el-row"), ce = f("el-form");
325
+ }), (p, y) => {
326
+ const C = f("el-input"), B = f("el-input-number"), M = f("el-radio"), A = f("el-radio-group"), O = f("el-option"), I = f("el-select"), U = f("el-slider"), z = f("el-switch"), F = f("el-date-picker"), P = f("el-time-picker"), K = f("el-checkbox"), te = f("el-checkbox-group"), ae = f("el-form-item"), ue = f("el-col"), se = f("el-row"), ce = f("el-form");
327
327
  return n(), b("div", je, [
328
328
  S("div", Ye, [
329
- Q((n(), E(ce, {
329
+ X((n(), E(ce, {
330
330
  ref_key: "EL_FORM_REF",
331
331
  ref: i,
332
332
  "label-suffix": ":",
333
333
  model: c.value
334
334
  }, {
335
335
  default: T(() => [
336
- N(se, null, {
336
+ w(se, null, {
337
337
  default: T(() => [
338
- (n(!0), b(P, null, X(u(d), ({
338
+ (n(!0), b(j, null, Q(u(d), ({
339
339
  label: L = "",
340
- prop: p = "",
340
+ prop: h = "",
341
341
  type: o = "text",
342
342
  placeholder: _ = "",
343
343
  readonly: G = e.readonlys,
@@ -345,9 +345,9 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
345
345
  rows: ge = 2,
346
346
  min: fe = 1,
347
347
  max: re = 10,
348
- range: K = [],
348
+ range: J = [],
349
349
  format: H = "",
350
- rules: ae = [],
350
+ rules: le = [],
351
351
  limit: ne = e.limits
352
352
  } = {}, g) => (n(), E(ue, {
353
353
  key: g,
@@ -356,53 +356,53 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
356
356
  md: e.medium
357
357
  }, {
358
358
  default: T(() => [
359
- N(te, {
359
+ w(ae, {
360
360
  label: L,
361
- prop: p,
362
- rules: ae
361
+ prop: h,
362
+ rules: le
363
363
  }, {
364
364
  default: T(() => [
365
365
  G ? (n(), b("div", Ge, [
366
- N(Me, {
367
- content: c.value[p],
366
+ w(Me, {
367
+ content: c.value[h],
368
368
  limit: ne,
369
369
  none: e.none
370
370
  }, null, 8, ["content", "limit", "none"])
371
- ])) : (n(), b(P, { key: 0 }, [
372
- o === u(a).INPUT ? (n(), E(x, {
371
+ ])) : (n(), b(j, { key: 0 }, [
372
+ o === u(a).INPUT ? (n(), E(C, {
373
373
  key: 0,
374
- modelValue: c.value[p],
375
- "onUpdate:modelValue": (m) => c.value[p] = m,
374
+ modelValue: c.value[h],
375
+ "onUpdate:modelValue": (m) => c.value[h] = m,
376
376
  placeholder: v(o, L, _),
377
377
  clearable: me,
378
- onChange: (m) => B(o, p)
379
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : V("", !0),
380
- o === u(a).INPUT_TEXT_AREA ? (n(), E(x, {
378
+ onChange: (m) => V(o, h)
379
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
380
+ o === u(a).INPUT_TEXT_AREA ? (n(), E(C, {
381
381
  key: 1,
382
- modelValue: c.value[p],
383
- "onUpdate:modelValue": (m) => c.value[p] = m,
382
+ modelValue: c.value[h],
383
+ "onUpdate:modelValue": (m) => c.value[h] = m,
384
384
  type: "textarea",
385
385
  rows: ge,
386
386
  clearable: me,
387
387
  placeholder: v(o, L, _),
388
- onChange: (m) => B(o, p)
389
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : V("", !0),
390
- o === u(a).INPUT_NUMBER ? (n(), E(D, {
388
+ onChange: (m) => V(o, h)
389
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
390
+ o === u(a).INPUT_NUMBER ? (n(), E(B, {
391
391
  key: 2,
392
- modelValue: h.num,
393
- "onUpdate:modelValue": y[0] || (y[0] = (m) => h.num = m),
392
+ modelValue: p.num,
393
+ "onUpdate:modelValue": y[0] || (y[0] = (m) => p.num = m),
394
394
  min: fe,
395
395
  max: re,
396
- onChange: B
397
- }, null, 8, ["modelValue", "min", "max"])) : V("", !0),
396
+ onChange: V
397
+ }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
398
398
  o === u(a).RADIO ? (n(), E(A, {
399
399
  key: 3,
400
- modelValue: c.value[p],
401
- "onUpdate:modelValue": (m) => c.value[p] = m,
402
- onChange: (m) => B(o, p)
400
+ modelValue: c.value[h],
401
+ "onUpdate:modelValue": (m) => c.value[h] = m,
402
+ onChange: (m) => V(o, h)
403
403
  }, {
404
404
  default: T(() => [
405
- (n(!0), b(P, null, X(K, (m, ie) => (n(), E(C, {
405
+ (n(!0), b(j, null, Q(J, (m, ie) => (n(), E(M, {
406
406
  key: ie,
407
407
  label: m.value
408
408
  }, {
@@ -413,92 +413,92 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
413
413
  }, 1032, ["label"]))), 128))
414
414
  ]),
415
415
  _: 2
416
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
417
- o === u(a).SELECT ? (n(), E(F, {
416
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
417
+ o === u(a).SELECT ? (n(), E(I, {
418
418
  key: 4,
419
- modelValue: c.value[p],
420
- "onUpdate:modelValue": (m) => c.value[p] = m,
419
+ modelValue: c.value[h],
420
+ "onUpdate:modelValue": (m) => c.value[h] = m,
421
421
  placeholder: v(o, L, _),
422
- onChange: (m) => B(o, p)
422
+ onChange: (m) => V(o, h)
423
423
  }, {
424
424
  default: T(() => [
425
- (n(!0), b(P, null, X(K, (m, ie) => (n(), E(O, {
425
+ (n(!0), b(j, null, Q(J, (m, ie) => (n(), E(O, {
426
426
  key: ie,
427
427
  label: m.label,
428
428
  value: m.value
429
429
  }, null, 8, ["label", "value"]))), 128))
430
430
  ]),
431
431
  _: 2
432
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : V("", !0),
433
- o === u(a).SLIDER ? (n(), E(R, {
432
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
433
+ o === u(a).SLIDER ? (n(), E(U, {
434
434
  key: 5,
435
- modelValue: c.value[p],
436
- "onUpdate:modelValue": (m) => c.value[p] = m,
435
+ modelValue: c.value[h],
436
+ "onUpdate:modelValue": (m) => c.value[h] = m,
437
437
  min: fe,
438
438
  max: re,
439
- onChange: (m) => B(o, p)
440
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : V("", !0),
439
+ onChange: (m) => V(o, h)
440
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
441
441
  o === u(a).SWITCH ? (n(), E(z, {
442
442
  key: 6,
443
- modelValue: c.value[p],
444
- "onUpdate:modelValue": (m) => c.value[p] = m,
445
- "active-value": K[0] || !0,
446
- "inactive-value": K[1] || !1,
447
- onChange: (m) => B(o, p)
448
- }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : V("", !0),
443
+ modelValue: c.value[h],
444
+ "onUpdate:modelValue": (m) => c.value[h] = m,
445
+ "active-value": J[0] || !0,
446
+ "inactive-value": J[1] || !1,
447
+ onChange: (m) => V(o, h)
448
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
449
449
  [u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
450
450
  o
451
- ) ? (n(), E(I, {
451
+ ) ? (n(), E(F, {
452
452
  key: 7,
453
- modelValue: c.value[p],
454
- "onUpdate:modelValue": (m) => c.value[p] = m,
455
- format: M(o, H),
456
- "value-format": M(o, H),
453
+ modelValue: c.value[h],
454
+ "onUpdate:modelValue": (m) => c.value[h] = m,
455
+ format: N(o, H),
456
+ "value-format": N(o, H),
457
457
  type: o,
458
458
  placeholder: v(o, L, _),
459
- onChange: (m) => B(o, p)
460
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : V("", !0),
459
+ onChange: (m) => V(o, h)
460
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
461
461
  [
462
462
  u(a).DATE_RANGE,
463
463
  u(a).MONTH_RANGE,
464
464
  u(a).DATE_TIME_RANGE
465
- ].includes(o) ? (n(), E(I, {
465
+ ].includes(o) ? (n(), E(F, {
466
466
  key: 8,
467
- modelValue: c.value[p],
468
- "onUpdate:modelValue": (m) => c.value[p] = m,
467
+ modelValue: c.value[h],
468
+ "onUpdate:modelValue": (m) => c.value[h] = m,
469
469
  type: o,
470
- "value-format": M(o, H),
470
+ "value-format": N(o, H),
471
471
  "start-placeholder": v(o, L, _)[0],
472
472
  "end-placeholder": v(o, L, _)[1],
473
- onChange: (m) => B(o, p)
474
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
475
- [u(a).TIME].includes(o) ? (n(), E(j, {
473
+ onChange: (m) => V(o, h)
474
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
475
+ [u(a).TIME].includes(o) ? (n(), E(P, {
476
476
  key: 9,
477
- modelValue: c.value[p],
478
- "onUpdate:modelValue": (m) => c.value[p] = m,
477
+ modelValue: c.value[h],
478
+ "onUpdate:modelValue": (m) => c.value[h] = m,
479
479
  "arrow-control": "",
480
- "value-format": M(o, H),
480
+ "value-format": N(o, H),
481
481
  placeholder: v(o, L, _),
482
- onChange: (m) => B(o, p)
483
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : V("", !0),
484
- [u(a).TIME_RANGE].includes(o) ? (n(), E(j, {
482
+ onChange: (m) => V(o, h)
483
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
484
+ [u(a).TIME_RANGE].includes(o) ? (n(), E(P, {
485
485
  key: 10,
486
- modelValue: c.value[p],
487
- "onUpdate:modelValue": (m) => c.value[p] = m,
486
+ modelValue: c.value[h],
487
+ "onUpdate:modelValue": (m) => c.value[h] = m,
488
488
  "is-range": "",
489
- "value-format": M(o, H),
489
+ "value-format": N(o, H),
490
490
  "start-placeholder": v(o, L, _)[0],
491
491
  "end-placeholder": v(o, L, _)[1],
492
- onChange: (m) => B(o, p)
493
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
494
- [u(a).CHECKBOX].includes(o) ? (n(), E(ee, {
492
+ onChange: (m) => V(o, h)
493
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
494
+ [u(a).CHECKBOX].includes(o) ? (n(), E(te, {
495
495
  key: 11,
496
- modelValue: c.value[p],
497
- "onUpdate:modelValue": (m) => c.value[p] = m,
498
- onChange: (m) => B(o, p)
496
+ modelValue: c.value[h],
497
+ "onUpdate:modelValue": (m) => c.value[h] = m,
498
+ onChange: (m) => V(o, h)
499
499
  }, {
500
500
  default: T(() => [
501
- (n(!0), b(P, null, X(K, (m, ie) => (n(), E(Z, {
501
+ (n(!0), b(j, null, Q(J, (m, ie) => (n(), E(K, {
502
502
  key: ie,
503
503
  label: m.value
504
504
  }, {
@@ -509,8 +509,8 @@ const je = { class: "bsgoal-base-form" }, Ye = { class: "base_form" }, Ge = { ke
509
509
  }, 1032, ["label"]))), 128))
510
510
  ]),
511
511
  _: 2
512
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
513
- [].includes(o) ? (n(), b(P, { key: 12 }, [], 64)) : V("", !0)
512
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
513
+ [].includes(o) ? (n(), b(j, { key: 12 }, [], 64)) : $("", !0)
514
514
  ], 64))
515
515
  ]),
516
516
  _: 2
@@ -739,18 +739,18 @@ const et = { class: "bsgoal-base-table-pagination" }, tt = { class: "base_table_
739
739
  s("on-size-change", t);
740
740
  }, r = (t = 1) => {
741
741
  s("on-current-change", t);
742
- }, i = k(1);
742
+ }, i = D(1);
743
743
  return (t, c) => {
744
744
  const d = f("el-pagination"), v = f("el-config-provider");
745
745
  return n(), b("div", et, [
746
746
  S("div", tt, [
747
- N(v, { locale: u(qe) }, {
747
+ w(v, { locale: u(qe) }, {
748
748
  default: T(() => [
749
- N(d, {
749
+ w(d, {
750
750
  background: "",
751
751
  layout: "total, sizes, prev, pager, next, jumper",
752
752
  "current-page": i.value,
753
- "onUpdate:currentPage": c[0] || (c[0] = (M) => i.value = M),
753
+ "onUpdate:currentPage": c[0] || (c[0] = (N) => i.value = N),
754
754
  "page-sizes": e.pageSizes,
755
755
  "page-size": e.pageSize,
756
756
  total: e.total,
@@ -802,8 +802,8 @@ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expressio
802
802
  r && (v ? d = `${r}px` : d = r), t.style.height = d;
803
803
  });
804
804
  }
805
- }, ye = (e = Promise.resolve(), s = null, l = k(!1), r = k(null)) => {
806
- const i = k("");
805
+ }, ye = (e = Promise.resolve(), s = null, l = D(!1), r = D(null)) => {
806
+ const i = D("");
807
807
  return l.value = !0, e.then((t = {}) => {
808
808
  const { data: c = {}, message: d = "" } = t;
809
809
  r.value = c, i.value = d, s && s(!0, c), l.value = !1;
@@ -838,9 +838,9 @@ const it = /* @__PURE__ */ $e(ot, [["render", rt]]), dt = (e = null, { expressio
838
838
  const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
839
839
  key: 0,
840
840
  class: "base_table_menu"
841
- }, pt = {
841
+ }, ht = {
842
842
  name: "BsgoalBaseTable"
843
- }, Ne = /* @__PURE__ */ Object.assign(pt, {
843
+ }, Ne = /* @__PURE__ */ Object.assign(ht, {
844
844
  props: {
845
845
  /**
846
846
  * >----------props----------<
@@ -928,7 +928,7 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
928
928
  },
929
929
  /**
930
930
  * 表格高度
931
- *
931
+ *
932
932
  * 默认 : 自动计算
933
933
  * 布尔值 : 默认表格高度
934
934
  * 字符串 : 直接赋值给 height
@@ -941,65 +941,65 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
941
941
  /**
942
942
  * 是否显示分页
943
943
  */
944
- page: {
944
+ hasPage: {
945
945
  type: Boolean,
946
946
  default: !0
947
947
  }
948
948
  },
949
949
  setup(e, { expose: s }) {
950
- const l = e, r = J(() => {
951
- const { configOptions: A = [], operation: O = !1, operationWidth: F = 0 } = l, R = u(A), z = [];
950
+ const l = e, r = Z(() => {
951
+ const { configOptions: A = [], operation: O = !1, operationWidth: I = 0 } = l, U = u(A), z = [];
952
952
  return O && z.push({
953
953
  label: "操作",
954
954
  fixed: "right",
955
955
  prop: "operation",
956
- width: F
957
- }), [...R, ...z];
958
- }), i = k(null), t = Ve("transferFoldStatus");
956
+ width: I
957
+ }), [...U, ...z];
958
+ }), i = D(null), t = Ve("transferFoldStatus");
959
959
  Ee(() => {
960
- const { height: A } = l, O = t ? t.value : !1, F = u(l.expression);
961
- mt(A) || dt(i, { arg: O, expression: F, height: A });
960
+ const { height: A } = l, O = t ? t.value : !1, I = u(l.expression);
961
+ mt(A) || dt(i, { arg: O, expression: I, height: A });
962
962
  });
963
963
  const c = u(l.mapProps), d = ve({
964
964
  currentPage: "currentPage",
965
965
  pageSize: "pageSize",
966
966
  rows: "rows",
967
967
  total: "total"
968
- }, c), v = k(1), M = k(10), $ = k(0), w = k({}), B = k(l.loading), U = k(l.data), h = k({}), y = () => {
969
- const { fetch: A, call: O } = l, F = w.value, R = v.value, z = M.value, I = ve({}, F);
970
- I[d.currentPage] = R, I[d.pageSize] = z, ye(A(I), O, B, h);
968
+ }, c), v = D(1), N = D(10), k = D(0), x = D({}), V = D(l.loading), R = D(l.data), p = D({}), y = () => {
969
+ const { fetch: A, call: O, hasPage: I } = l, U = x.value, z = v.value, F = N.value, P = ve({}, U);
970
+ I && (P[d.currentPage] = z, P[d.pageSize] = F), ye(A(P), O, V, p);
971
971
  };
972
- de(h, (A) => {
973
- U.value = A[d.rows], $.value = A[d.total];
972
+ de(p, (A) => {
973
+ l.hasPage ? (R.value = A[d.rows], k.value = A[d.total]) : R.value = A;
974
974
  });
975
- const x = (A = {}) => {
976
- w.value = A, v.value = 1, y();
977
- }, D = (A = 1) => {
975
+ const C = (A = {}) => {
976
+ x.value = A, v.value = 1, y();
977
+ }, B = (A = 1) => {
978
978
  v.value = A;
979
- }, C = (A = 10) => {
980
- M.value = A;
979
+ }, M = (A = 10) => {
980
+ N.value = A;
981
981
  };
982
- return de([v, M], () => {
982
+ return de([v, N], () => {
983
983
  y();
984
984
  }), s({
985
- refreshList: x
985
+ refreshList: C
986
986
  }), (A, O) => {
987
- const F = f("el-table-column"), R = f("el-table"), z = ke("loading");
987
+ const I = f("el-table-column"), U = f("el-table"), z = ke("loading");
988
988
  return n(), b("div", gt, [
989
989
  S("div", ft, [
990
990
  A.$slots.menu ? (n(), b("div", vt, [
991
991
  q(A.$slots, "menu")
992
- ])) : V("", !0),
992
+ ])) : $("", !0),
993
993
  S("div", {
994
994
  ref_key: "EL_TABLE_WRAP_REF",
995
995
  ref: i
996
996
  }, [
997
- Q((n(), E(R, {
997
+ X((n(), E(U, {
998
998
  stripe: "",
999
999
  border: "",
1000
1000
  "highlight-current-row": "",
1001
1001
  style: { width: "100%" },
1002
- data: U.value,
1002
+ data: R.value,
1003
1003
  "header-cell-style": {
1004
1004
  fontWeight: "bold",
1005
1005
  backgroundColor: "#EBEEF5",
@@ -1008,29 +1008,37 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
1008
1008
  }
1009
1009
  }, {
1010
1010
  empty: T(() => [
1011
- N(it)
1011
+ w(it)
1012
1012
  ]),
1013
1013
  default: T(() => [
1014
- e.selection ? (n(), E(F, {
1014
+ e.selection ? (n(), E(I, {
1015
1015
  key: 0,
1016
1016
  fixed: "left",
1017
1017
  type: "selection",
1018
1018
  width: "40"
1019
- })) : V("", !0),
1020
- (n(!0), b(P, null, X(u(r), ({ prop: I = "", label: j = "", align: Z = "center", width: ee = "", fixed: te = !1, tooltip: ue = !1, limit: se = 0 } = {}, ce) => (n(), E(F, {
1019
+ })) : $("", !0),
1020
+ (n(!0), b(j, null, Q(u(r), ({
1021
+ prop: F = "",
1022
+ label: P = "",
1023
+ align: K = "center",
1024
+ width: te = "",
1025
+ fixed: ae = !1,
1026
+ tooltip: ue = !1,
1027
+ limit: se = 0
1028
+ } = {}, ce) => (n(), E(I, {
1021
1029
  key: ce,
1022
- label: j,
1023
- align: Z,
1024
- width: ee,
1025
- fixed: te,
1026
- "min-width": `${j.length * 14 + 24}px`
1030
+ label: P,
1031
+ align: K,
1032
+ width: te,
1033
+ fixed: ae,
1034
+ "min-width": `${P.length * 14 + 24}px`
1027
1035
  }, {
1028
1036
  default: T(({ row: L }) => [
1029
- q(A.$slots, I, { row: L }, () => [
1030
- N(Je, {
1037
+ q(A.$slots, F, { row: L }, () => [
1038
+ w(Je, {
1031
1039
  limit: se,
1032
1040
  tooltip: ue,
1033
- data: L[I]
1041
+ data: L[F]
1034
1042
  }, null, 8, ["limit", "tooltip", "data"])
1035
1043
  ])
1036
1044
  ]),
@@ -1039,23 +1047,23 @@ const gt = { class: "bsgoal-base-table" }, ft = { class: "base_table" }, vt = {
1039
1047
  ]),
1040
1048
  _: 3
1041
1049
  }, 8, ["data", "header-cell-style"])), [
1042
- [z, B.value]
1050
+ [z, V.value]
1043
1051
  ])
1044
1052
  ], 512),
1045
- e.page ? (n(), E(nt, {
1053
+ e.hasPage ? (n(), E(nt, {
1046
1054
  key: 1,
1047
- total: $.value,
1048
- onOnCurrentChange: D,
1049
- onOnSizeChange: C
1050
- }, null, 8, ["total"])) : V("", !0)
1055
+ total: k.value,
1056
+ onOnCurrentChange: B,
1057
+ onOnSizeChange: M
1058
+ }, null, 8, ["total"])) : $("", !0)
1051
1059
  ])
1052
1060
  ]);
1053
1061
  };
1054
1062
  }
1055
1063
  });
1056
- const ht = {
1064
+ const pt = {
1057
1065
  name: "BsgoalBaseLine"
1058
- }, Te = /* @__PURE__ */ Object.assign(ht, {
1066
+ }, Te = /* @__PURE__ */ Object.assign(pt, {
1059
1067
  props: {
1060
1068
  /**
1061
1069
  * 是否为垂直
@@ -1155,13 +1163,13 @@ var It = /* @__PURE__ */ oe(Bt, [["render", Ot], ["__file", "arrow-right.vue"]])
1155
1163
  null,
1156
1164
  -1
1157
1165
  /* HOISTED */
1158
- ), Lt = [
1166
+ ), Pt = [
1159
1167
  Ut
1160
1168
  ];
1161
- function zt(e, s, l, r, i, t) {
1162
- return n(), b("svg", Rt, Lt);
1169
+ function Lt(e, s, l, r, i, t) {
1170
+ return n(), b("svg", Rt, Pt);
1163
1171
  }
1164
- var Pt = /* @__PURE__ */ oe(Ft, [["render", zt], ["__file", "arrow-up.vue"]]), jt = {
1172
+ var zt = /* @__PURE__ */ oe(Ft, [["render", Lt], ["__file", "arrow-up.vue"]]), jt = {
1165
1173
  name: "Delete"
1166
1174
  }, Yt = {
1167
1175
  xmlns: "http://www.w3.org/2000/svg",
@@ -1216,13 +1224,13 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
1216
1224
  },
1217
1225
  emits: ["on-fold"],
1218
1226
  setup(e, { emit: s }) {
1219
- const l = k(!1), r = () => {
1227
+ const l = D(!1), r = () => {
1220
1228
  l.value = !u(l), s("on-fold", l.value);
1221
1229
  };
1222
1230
  return (i, t) => {
1223
1231
  const c = f("el-button"), d = f("el-icon");
1224
1232
  return n(), b("div", ta, [
1225
- N(c, {
1233
+ w(c, {
1226
1234
  type: "primary",
1227
1235
  icon: u(ea),
1228
1236
  onClick: t[0] || (t[0] = (v) => i.$emit("on-search"))
@@ -1232,7 +1240,7 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
1232
1240
  ]),
1233
1241
  _: 1
1234
1242
  }, 8, ["icon"]),
1235
- N(c, {
1243
+ w(c, {
1236
1244
  icon: u(Xt),
1237
1245
  onClick: t[1] || (t[1] = (v) => i.$emit("on-clear"))
1238
1246
  }, {
@@ -1248,18 +1256,18 @@ const ta = { class: "bsgoal-base-search-operation" }, aa = {
1248
1256
  onClick: r
1249
1257
  }, [
1250
1258
  W(Y(l.value ? "收起" : "展开"), 1),
1251
- N(d, { color: "#409EFC" }, {
1259
+ w(d, { color: "#409EFC" }, {
1252
1260
  default: T(() => [
1253
- Q(N(u(Pt), null, null, 512), [
1254
- [le, l.value]
1261
+ X(w(u(zt), null, null, 512), [
1262
+ [ee, l.value]
1255
1263
  ]),
1256
- Q(N(u(xt), null, null, 512), [
1257
- [le, !l.value]
1264
+ X(w(u(xt), null, null, 512), [
1265
+ [ee, !l.value]
1258
1266
  ])
1259
1267
  ]),
1260
1268
  _: 1
1261
1269
  })
1262
- ])) : V("", !0)
1270
+ ])) : $("", !0)
1263
1271
  ]);
1264
1272
  };
1265
1273
  }
@@ -1299,7 +1307,7 @@ const na = { class: "bsgoal-base-cascader" }, oa = {
1299
1307
  },
1300
1308
  emits: ["update:model-value", "on-change"],
1301
1309
  setup(e, { emit: s }) {
1302
- const l = k({
1310
+ const l = D({
1303
1311
  checkStrictly: !0,
1304
1312
  multiple: !1
1305
1313
  }), r = (i) => {
@@ -1308,7 +1316,7 @@ const na = { class: "bsgoal-base-cascader" }, oa = {
1308
1316
  return (i, t) => {
1309
1317
  const c = f("el-cascader");
1310
1318
  return n(), b("div", na, [
1311
- N(c, {
1319
+ w(c, {
1312
1320
  clearable: "",
1313
1321
  class: "base_cascader",
1314
1322
  "show-all-levels": !1,
@@ -1366,25 +1374,25 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1366
1374
  },
1367
1375
  emits: ["on-search", "on-clear", "on-change", "on-fold"],
1368
1376
  setup(e, { emit: s }) {
1369
- const l = e, r = k(null), i = be.align, t = k({});
1377
+ const l = e, r = D(null), i = be.align, t = D({});
1370
1378
  Ee(() => {
1371
1379
  const { configOptions: y } = l;
1372
- u(y).forEach((D) => {
1373
- const { value: C, prop: A = "", type: O = "" } = D;
1374
- [a.INPUT, a.INPUT_TEXT_AREA].includes(O), t.value[A] = [0, !1].includes(C) ? C : "";
1380
+ u(y).forEach((B) => {
1381
+ const { value: M, prop: A = "", type: O = "" } = B;
1382
+ [a.INPUT, a.INPUT_TEXT_AREA].includes(O), t.value[A] = [0, !1].includes(M) ? M : "";
1375
1383
  });
1376
1384
  });
1377
- const c = J(() => {
1378
- const { configOptions: y } = l, x = u(y), D = {
1385
+ const c = Z(() => {
1386
+ const { configOptions: y } = l, C = u(y), B = {
1379
1387
  type: a.OPERATION
1380
1388
  };
1381
- return [...x, D];
1382
- }), d = (y = "", x = "", D = "") => {
1383
- if (!D)
1389
+ return [...C, B];
1390
+ }), d = (y = "", C = "", B = "") => {
1391
+ if (!B)
1384
1392
  switch (y) {
1385
1393
  case a.INPUT:
1386
1394
  case a.INPUT_TEXT_AREA:
1387
- return `请输入${x}`;
1395
+ return `请输入${C}`;
1388
1396
  case a.SELECT:
1389
1397
  case a.DATE:
1390
1398
  case a.WEEK:
@@ -1393,7 +1401,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1393
1401
  case a.DATE_TIME:
1394
1402
  case a.TIME:
1395
1403
  case a.CASCADER:
1396
- return `请选择${x}`;
1404
+ return `请选择${C}`;
1397
1405
  case a.DATE_RANGE:
1398
1406
  case a.DATE_TIME_RANGE:
1399
1407
  return ["开始日期", "结束日期"];
@@ -1402,9 +1410,9 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1402
1410
  case a.MONTH_RANGE:
1403
1411
  return ["开始月份", "结束月份"];
1404
1412
  }
1405
- return D;
1406
- }, v = (y = "", x = "") => {
1407
- if (!x)
1413
+ return B;
1414
+ }, v = (y = "", C = "") => {
1415
+ if (!C)
1408
1416
  switch (y) {
1409
1417
  case a.WEEK:
1410
1418
  return "ww";
@@ -1424,44 +1432,44 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1424
1432
  case a.DATE_TIME_RANGE:
1425
1433
  return "YYYY-MM-DD HH:mm:ss";
1426
1434
  }
1427
- return x;
1428
- }, M = () => {
1429
- const { configOptions: y } = l, x = u(t), D = u(y), C = {};
1430
- for (const A of D) {
1431
- const { type: O = "", range: F = [], prop: R = "", single: z = !1 } = A, I = x[R];
1432
- if ([a.CASCADER].includes(O) && Array.isArray(I) && z) {
1433
- const j = I.length;
1434
- j ? C[R] = I[j - 1] : C[R] = I;
1435
+ return C;
1436
+ }, N = () => {
1437
+ const { configOptions: y } = l, C = u(t), B = u(y), M = {};
1438
+ for (const A of B) {
1439
+ const { type: O = "", range: I = [], prop: U = "", single: z = !1 } = A, F = C[U];
1440
+ if ([a.CASCADER].includes(O) && Array.isArray(F) && z) {
1441
+ const P = F.length;
1442
+ P ? M[U] = F[P - 1] : M[U] = F;
1435
1443
  } else
1436
- Se(I) ? C[R] = Oe(I) : C[R] = I;
1437
- if (O.endsWith("range") && F && F.length === 2) {
1438
- const { 0: j = "", 1: Z = "" } = I, { 0: ee = "", 1: te = "" } = F;
1439
- C[ee] = j, C[te] = Z;
1444
+ Se(F) ? M[U] = Oe(F) : M[U] = F;
1445
+ if (O.endsWith("range") && I && I.length === 2) {
1446
+ const { 0: P = "", 1: K = "" } = F, { 0: te = "", 1: ae = "" } = I;
1447
+ M[te] = P, M[ae] = K;
1440
1448
  }
1441
1449
  }
1442
- s("on-search", C), s("update:modelValue", C);
1450
+ s("on-search", M), s("update:modelValue", M);
1443
1451
  };
1444
1452
  Ce(() => {
1445
- M();
1453
+ N();
1446
1454
  });
1447
- const $ = () => {
1455
+ const k = () => {
1448
1456
  r.value.resetFields(), s("on-clear", t.value);
1449
- }, w = Ve("transferFoldStatus"), B = k(!1), U = (y = !1) => {
1450
- B.value = y, w && (w.value = y), s("on-fold", B);
1451
- }, h = (y, x) => {
1452
- M();
1453
- const D = {
1457
+ }, x = Ve("transferFoldStatus"), V = D(!1), R = (y = !1) => {
1458
+ V.value = y, x && (x.value = y), s("on-fold", V);
1459
+ }, p = (y, C) => {
1460
+ N();
1461
+ const B = {
1454
1462
  type: y,
1455
- prop: x,
1456
- value: t.value[x] || ""
1463
+ prop: C,
1464
+ value: t.value[C] || ""
1457
1465
  };
1458
- s("on-change", D);
1466
+ s("on-change", B);
1459
1467
  };
1460
- return (y, x) => {
1461
- const D = f("el-input"), C = f("el-input-number"), A = f("el-radio"), O = f("el-radio-group"), F = f("el-option"), R = f("el-select"), z = f("el-slider"), I = f("el-switch"), j = f("el-date-picker"), Z = f("el-time-picker"), ee = f("el-checkbox"), te = f("el-checkbox-group"), ue = f("el-form-item"), se = f("el-col"), ce = f("el-row"), L = f("el-form");
1468
+ return (y, C) => {
1469
+ const B = f("el-input"), M = f("el-input-number"), A = f("el-radio"), O = f("el-radio-group"), I = f("el-option"), U = f("el-select"), z = f("el-slider"), F = f("el-switch"), P = f("el-date-picker"), K = f("el-time-picker"), te = f("el-checkbox"), ae = f("el-checkbox-group"), ue = f("el-form-item"), se = f("el-col"), ce = f("el-row"), L = f("el-form");
1462
1470
  return n(), b("div", sa, [
1463
1471
  S("div", ca, [
1464
- Q((n(), E(L, {
1472
+ X((n(), E(L, {
1465
1473
  ref_key: "EL_FORM_REF",
1466
1474
  ref: r,
1467
1475
  "label-suffix": ":",
@@ -1469,10 +1477,10 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1469
1477
  model: t.value
1470
1478
  }, {
1471
1479
  default: T(() => [
1472
- N(ce, null, {
1480
+ w(ce, null, {
1473
1481
  default: T(() => [
1474
- (n(!0), b(P, null, X(u(c), ({
1475
- label: p = "",
1482
+ (n(!0), b(j, null, Q(u(c), ({
1483
+ label: h = "",
1476
1484
  prop: o = "",
1477
1485
  type: _ = "text",
1478
1486
  placeholder: G = "",
@@ -1480,56 +1488,56 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1480
1488
  clearable: ge = !0,
1481
1489
  rows: fe = 2,
1482
1490
  min: re = 1,
1483
- max: K = 10,
1491
+ max: J = 10,
1484
1492
  range: H = [],
1485
- format: ae = ""
1486
- } = {}, ne) => Q((n(), E(se, {
1493
+ format: le = ""
1494
+ } = {}, ne) => X((n(), E(se, {
1487
1495
  key: ne,
1488
1496
  xs: 24,
1489
1497
  sm: 12,
1490
1498
  md: e.medium
1491
1499
  }, {
1492
1500
  default: T(() => [
1493
- N(ue, {
1494
- label: p,
1501
+ w(ue, {
1502
+ label: h,
1495
1503
  prop: o
1496
1504
  }, {
1497
1505
  default: T(() => [
1498
- me ? (n(), b("div", ra, Y(t.value[o]), 1)) : (n(), b(P, { key: 0 }, [
1499
- _ === u(a).INPUT ? (n(), E(D, {
1506
+ me ? (n(), b("div", ra, Y(t.value[o]), 1)) : (n(), b(j, { key: 0 }, [
1507
+ _ === u(a).INPUT ? (n(), E(B, {
1500
1508
  key: 0,
1501
1509
  modelValue: t.value[o],
1502
1510
  "onUpdate:modelValue": (g) => t.value[o] = g,
1503
- placeholder: d(_, p, G),
1511
+ placeholder: d(_, h, G),
1504
1512
  clearable: ge,
1505
- onChange: (g) => h(_, o)
1506
- }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : V("", !0),
1507
- _ === u(a).INPUT_TEXT_AREA ? (n(), E(D, {
1513
+ onChange: (g) => p(_, o)
1514
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "clearable", "onChange"])) : $("", !0),
1515
+ _ === u(a).INPUT_TEXT_AREA ? (n(), E(B, {
1508
1516
  key: 1,
1509
1517
  modelValue: t.value[o],
1510
1518
  "onUpdate:modelValue": (g) => t.value[o] = g,
1511
1519
  type: "textarea",
1512
1520
  rows: fe,
1513
1521
  clearable: ge,
1514
- placeholder: d(_, p, G),
1515
- onChange: (g) => h(_, o)
1516
- }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : V("", !0),
1517
- _ === u(a).INPUT_NUMBER ? (n(), E(C, {
1522
+ placeholder: d(_, h, G),
1523
+ onChange: (g) => p(_, o)
1524
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "rows", "clearable", "placeholder", "onChange"])) : $("", !0),
1525
+ _ === u(a).INPUT_NUMBER ? (n(), E(M, {
1518
1526
  key: 2,
1519
1527
  modelValue: y.num,
1520
- "onUpdate:modelValue": x[0] || (x[0] = (g) => y.num = g),
1528
+ "onUpdate:modelValue": C[0] || (C[0] = (g) => y.num = g),
1521
1529
  min: re,
1522
- max: K,
1523
- onChange: h
1524
- }, null, 8, ["modelValue", "min", "max"])) : V("", !0),
1530
+ max: J,
1531
+ onChange: p
1532
+ }, null, 8, ["modelValue", "min", "max"])) : $("", !0),
1525
1533
  _ === u(a).RADIO ? (n(), E(O, {
1526
1534
  key: 3,
1527
1535
  modelValue: t.value[o],
1528
1536
  "onUpdate:modelValue": (g) => t.value[o] = g,
1529
- onChange: (g) => h(_, o)
1537
+ onChange: (g) => p(_, o)
1530
1538
  }, {
1531
1539
  default: T(() => [
1532
- (n(!0), b(P, null, X(H, (g, m) => (n(), E(A, {
1540
+ (n(!0), b(j, null, Q(H, (g, m) => (n(), E(A, {
1533
1541
  key: m,
1534
1542
  label: g.value
1535
1543
  }, {
@@ -1540,92 +1548,92 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1540
1548
  }, 1032, ["label"]))), 128))
1541
1549
  ]),
1542
1550
  _: 2
1543
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
1544
- _ === u(a).SELECT ? (n(), E(R, {
1551
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1552
+ _ === u(a).SELECT ? (n(), E(U, {
1545
1553
  key: 4,
1546
1554
  modelValue: t.value[o],
1547
1555
  "onUpdate:modelValue": (g) => t.value[o] = g,
1548
- placeholder: d(_, p, G),
1549
- onChange: (g) => h(_, o)
1556
+ placeholder: d(_, h, G),
1557
+ onChange: (g) => p(_, o)
1550
1558
  }, {
1551
1559
  default: T(() => [
1552
- (n(!0), b(P, null, X(H, (g, m) => (n(), E(F, {
1560
+ (n(!0), b(j, null, Q(H, (g, m) => (n(), E(I, {
1553
1561
  key: m,
1554
1562
  label: g.label,
1555
1563
  value: g.value
1556
1564
  }, null, 8, ["label", "value"]))), 128))
1557
1565
  ]),
1558
1566
  _: 2
1559
- }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : V("", !0),
1567
+ }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : $("", !0),
1560
1568
  _ === u(a).SLIDER ? (n(), E(z, {
1561
1569
  key: 5,
1562
1570
  modelValue: t.value[o],
1563
1571
  "onUpdate:modelValue": (g) => t.value[o] = g,
1564
1572
  min: re,
1565
- max: K,
1566
- onChange: (g) => h(_, o)
1567
- }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : V("", !0),
1568
- _ === u(a).SWITCH ? (n(), E(I, {
1573
+ max: J,
1574
+ onChange: (g) => p(_, o)
1575
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max", "onChange"])) : $("", !0),
1576
+ _ === u(a).SWITCH ? (n(), E(F, {
1569
1577
  key: 6,
1570
1578
  modelValue: t.value[o],
1571
1579
  "onUpdate:modelValue": (g) => t.value[o] = g,
1572
1580
  "active-value": H[0] || !0,
1573
1581
  "inactive-value": H[1] || !1,
1574
- onChange: (g) => h(_, o)
1575
- }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : V("", !0),
1582
+ onChange: (g) => p(_, o)
1583
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "active-value", "inactive-value", "onChange"])) : $("", !0),
1576
1584
  [u(a).DATE, u(a).MONTH, u(a).YEAR, u(a).DATE_TIME].includes(
1577
1585
  _
1578
- ) ? (n(), E(j, {
1586
+ ) ? (n(), E(P, {
1579
1587
  key: 7,
1580
1588
  modelValue: t.value[o],
1581
1589
  "onUpdate:modelValue": (g) => t.value[o] = g,
1582
- format: v(_, ae),
1583
- "value-format": v(_, ae),
1590
+ format: v(_, le),
1591
+ "value-format": v(_, le),
1584
1592
  type: _,
1585
- placeholder: d(_, p, G),
1586
- onChange: (g) => h(_, o)
1587
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : V("", !0),
1593
+ placeholder: d(_, h, G),
1594
+ onChange: (g) => p(_, o)
1595
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "placeholder", "onChange"])) : $("", !0),
1588
1596
  [
1589
1597
  u(a).DATE_RANGE,
1590
1598
  u(a).MONTH_RANGE,
1591
1599
  u(a).DATE_TIME_RANGE
1592
- ].includes(_) ? (n(), E(j, {
1600
+ ].includes(_) ? (n(), E(P, {
1593
1601
  key: 8,
1594
1602
  modelValue: t.value[o],
1595
1603
  "onUpdate:modelValue": (g) => t.value[o] = g,
1596
1604
  type: _,
1597
- "value-format": v(_, ae),
1598
- "start-placeholder": d(_, p, G)[0],
1599
- "end-placeholder": d(_, p, G)[1],
1600
- onChange: (g) => h(_, o)
1601
- }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
1602
- [u(a).TIME].includes(_) ? (n(), E(Z, {
1605
+ "value-format": v(_, le),
1606
+ "start-placeholder": d(_, h, G)[0],
1607
+ "end-placeholder": d(_, h, G)[1],
1608
+ onChange: (g) => p(_, o)
1609
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "type", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1610
+ [u(a).TIME].includes(_) ? (n(), E(K, {
1603
1611
  key: 9,
1604
1612
  modelValue: t.value[o],
1605
1613
  "onUpdate:modelValue": (g) => t.value[o] = g,
1606
1614
  "arrow-control": "",
1607
- "value-format": v(_, ae),
1608
- placeholder: d(_, p, G),
1609
- onChange: (g) => h(_, o)
1610
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : V("", !0),
1611
- [u(a).TIME_RANGE].includes(_) ? (n(), E(Z, {
1615
+ "value-format": v(_, le),
1616
+ placeholder: d(_, h, G),
1617
+ onChange: (g) => p(_, o)
1618
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "placeholder", "onChange"])) : $("", !0),
1619
+ [u(a).TIME_RANGE].includes(_) ? (n(), E(K, {
1612
1620
  key: 10,
1613
1621
  modelValue: t.value[o],
1614
1622
  "onUpdate:modelValue": (g) => t.value[o] = g,
1615
1623
  "is-range": "",
1616
- "value-format": v(_, ae),
1617
- "start-placeholder": d(_, p, G)[0],
1618
- "end-placeholder": d(_, p, G)[1],
1619
- onChange: (g) => h(_, o)
1620
- }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : V("", !0),
1621
- [u(a).CHECKBOX].includes(_) ? (n(), E(te, {
1624
+ "value-format": v(_, le),
1625
+ "start-placeholder": d(_, h, G)[0],
1626
+ "end-placeholder": d(_, h, G)[1],
1627
+ onChange: (g) => p(_, o)
1628
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "value-format", "start-placeholder", "end-placeholder", "onChange"])) : $("", !0),
1629
+ [u(a).CHECKBOX].includes(_) ? (n(), E(ae, {
1622
1630
  key: 11,
1623
1631
  modelValue: t.value[o],
1624
1632
  "onUpdate:modelValue": (g) => t.value[o] = g,
1625
- onChange: (g) => h(_, o)
1633
+ onChange: (g) => p(_, o)
1626
1634
  }, {
1627
1635
  default: T(() => [
1628
- (n(!0), b(P, null, X(H, (g, m) => (n(), E(ee, {
1636
+ (n(!0), b(j, null, Q(H, (g, m) => (n(), E(te, {
1629
1637
  key: m,
1630
1638
  label: g.value
1631
1639
  }, {
@@ -1636,23 +1644,23 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1636
1644
  }, 1032, ["label"]))), 128))
1637
1645
  ]),
1638
1646
  _: 2
1639
- }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : V("", !0),
1647
+ }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : $("", !0),
1640
1648
  [u(a).CASCADER].includes(_) ? (n(), E(ua, {
1641
1649
  key: 12,
1642
1650
  modelValue: t.value[o],
1643
1651
  "onUpdate:modelValue": (g) => t.value[o] = g,
1644
1652
  "data-options": H,
1645
- placeholder: d(_, p, G),
1646
- onOnChange: (g) => h(_, o)
1647
- }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : V("", !0),
1648
- [].includes(_) ? (n(), b(P, { key: 13 }, [], 64)) : V("", !0),
1653
+ placeholder: d(_, h, G),
1654
+ onOnChange: (g) => p(_, o)
1655
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "data-options", "placeholder", "onOnChange"])) : $("", !0),
1656
+ [].includes(_) ? (n(), b(j, { key: 13 }, [], 64)) : $("", !0),
1649
1657
  [u(a).OPERATION].includes(_) ? (n(), E(la, {
1650
1658
  key: 14,
1651
1659
  fold: ne >= 7,
1652
- onOnSearch: M,
1653
- onOnClear: $,
1654
- onOnFold: U
1655
- }, null, 8, ["fold"])) : V("", !0)
1660
+ onOnSearch: N,
1661
+ onOnClear: k,
1662
+ onOnFold: R
1663
+ }, null, 8, ["fold"])) : $("", !0)
1656
1664
  ], 64))
1657
1665
  ]),
1658
1666
  _: 2
@@ -1660,7 +1668,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1660
1668
  ]),
1661
1669
  _: 2
1662
1670
  }, 1032, ["md"])), [
1663
- [le, ne < 7 || _ === u(a).OPERATION || ne >= 7 && B.value]
1671
+ [ee, ne < 7 || _ === u(a).OPERATION || ne >= 7 && V.value]
1664
1672
  ])), 128))
1665
1673
  ]),
1666
1674
  _: 1
@@ -1671,7 +1679,7 @@ const sa = { class: "bsgoal-base-search" }, ca = { class: "base_search" }, ra =
1671
1679
  [u(i)]
1672
1680
  ])
1673
1681
  ]),
1674
- N(Te)
1682
+ w(Te)
1675
1683
  ]);
1676
1684
  };
1677
1685
  }
@@ -1751,15 +1759,15 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
1751
1759
  default: null
1752
1760
  },
1753
1761
  /**
1754
- * 表格高度 下边距值
1755
- */
1762
+ * 表格高度 下边距值
1763
+ */
1756
1764
  expression: {
1757
1765
  type: [Number],
1758
1766
  default: 75
1759
1767
  },
1760
1768
  /**
1761
1769
  * 映射字段
1762
- */
1770
+ */
1763
1771
  mapProps: {
1764
1772
  type: [Object],
1765
1773
  default: () => ({
@@ -1768,28 +1776,47 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
1768
1776
  rows: "rows",
1769
1777
  total: "total"
1770
1778
  })
1779
+ },
1780
+ /**
1781
+ * 是否显示分页
1782
+ */
1783
+ hasPage: {
1784
+ type: Boolean,
1785
+ default: !0
1786
+ },
1787
+ /**
1788
+ * 是否显示查询
1789
+ */
1790
+ hasSearch: {
1791
+ type: Boolean,
1792
+ default: !0
1771
1793
  }
1772
1794
  },
1773
1795
  setup(e) {
1774
- const s = e, l = k(!1);
1796
+ const s = e, l = D(!1);
1775
1797
  Ie("transferFoldStatus", l);
1776
- const r = u(s.configOptions), i = J(() => r.filter(($) => {
1777
- const { type: w = "" } = $;
1778
- return !!w;
1779
- })), t = J(() => r.filter(($) => {
1780
- const { item: w = !1 } = $;
1781
- return !w;
1782
- })), c = Fe(), d = k(Object.keys(c)), v = k(null), M = ($) => {
1783
- v.value.refreshList($);
1784
- };
1785
- return ($, w) => (n(), b("div", _a, [
1798
+ const r = u(s.configOptions), i = Z(() => r.filter((x) => {
1799
+ const { type: V = "" } = x;
1800
+ return !!V;
1801
+ })), t = Z(() => r.filter((x) => {
1802
+ const { item: V = !1 } = x;
1803
+ return !V;
1804
+ })), c = Fe(), d = D(Object.keys(c)), v = D(null), N = (x) => {
1805
+ v.value.refreshList(x);
1806
+ }, k = Z(() => {
1807
+ const { expression: x, hasPage: V } = s;
1808
+ return V === !1 ? 25 : x;
1809
+ });
1810
+ return (x, V) => (n(), b("div", _a, [
1786
1811
  S("div", ma, [
1787
- N(da, {
1812
+ X(w(da, {
1788
1813
  "config-options": u(i),
1789
- onOnSearch: M,
1790
- onOnClear: M
1791
- }, null, 8, ["config-options"]),
1792
- N(Ne, {
1814
+ onOnSearch: N,
1815
+ onOnClear: N
1816
+ }, null, 8, ["config-options"]), [
1817
+ [ee, e.hasSearch]
1818
+ ]),
1819
+ w(Ne, {
1793
1820
  ref_key: "BSGOAL_BASE_TABLE_REF",
1794
1821
  ref: v,
1795
1822
  "map-props": e.mapProps,
@@ -1798,28 +1825,29 @@ const _a = { class: "bsgoal-base-search-table" }, ma = { class: "base_search_tab
1798
1825
  data: e.tableData,
1799
1826
  selection: e.selection,
1800
1827
  operation: e.operation,
1801
- expression: e.expression,
1828
+ expression: u(k),
1802
1829
  fetch: e.fetch,
1803
- call: e.call
1830
+ call: e.call,
1831
+ "has-page": e.hasPage
1804
1832
  }, Re({ _: 2 }, [
1805
- X(d.value, (B) => ({
1806
- name: B,
1807
- fn: T(({ row: U = {} }) => [
1808
- q($.$slots, B, { row: U })
1833
+ Q(d.value, (R) => ({
1834
+ name: R,
1835
+ fn: T(({ row: p = {} }) => [
1836
+ q(x.$slots, R, { row: p })
1809
1837
  ])
1810
1838
  }))
1811
- ]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call"])
1839
+ ]), 1032, ["map-props", "operationWidth", "config-options", "data", "selection", "operation", "expression", "fetch", "call", "has-page"])
1812
1840
  ])
1813
1841
  ]));
1814
1842
  }
1815
1843
  });
1816
- const va = { class: "bsgoal-base-tree-fold" }, pa = {
1844
+ const va = { class: "bsgoal-base-tree-fold" }, ha = {
1817
1845
  name: "BsgoalBaseTreeFold"
1818
- }, ha = /* @__PURE__ */ Object.assign(pa, {
1846
+ }, pa = /* @__PURE__ */ Object.assign(ha, {
1819
1847
  props: ["modelValue"],
1820
1848
  emits: ["update:modelValue"],
1821
1849
  setup(e, { emit: s }) {
1822
- let l = k(!0);
1850
+ let l = D(!0);
1823
1851
  const r = () => {
1824
1852
  l.value = !l.value, s("update:modelValue", l.value);
1825
1853
  };
@@ -1830,13 +1858,13 @@ const va = { class: "bsgoal-base-tree-fold" }, pa = {
1830
1858
  class: _e(["base_tree_fold", { "base_tree_fold--hide": !u(l) }]),
1831
1859
  onClick: r
1832
1860
  }, [
1833
- N(c, { color: "#fff" }, {
1861
+ w(c, { color: "#fff" }, {
1834
1862
  default: T(() => [
1835
- Q(N(u(wt), null, null, 512), [
1836
- [le, u(l)]
1863
+ X(w(u(wt), null, null, 512), [
1864
+ [ee, u(l)]
1837
1865
  ]),
1838
- Q(N(u(It), null, null, 512), [
1839
- [le, !u(l)]
1866
+ X(w(u(It), null, null, 512), [
1867
+ [ee, !u(l)]
1840
1868
  ])
1841
1869
  ]),
1842
1870
  _: 1
@@ -1902,53 +1930,53 @@ const Ea = { class: "bsgoal-base-tree" }, ba = { class: "base_tree" }, ya = { cl
1902
1930
  },
1903
1931
  emits: ["on-click"],
1904
1932
  setup(e, { emit: s }) {
1905
- const l = e, r = be.height, i = k(""), t = k(null);
1906
- de(i, ($) => {
1907
- t.value.filter($);
1933
+ const l = e, r = be.height, i = D(""), t = D(null);
1934
+ de(i, (k) => {
1935
+ t.value.filter(k);
1908
1936
  });
1909
- const c = ($, w) => $ ? w.label.includes($) : !0, d = k(!0), v = ($, w, B, U) => {
1910
- s("on-click", $, w, B, U);
1911
- }, M = async ($, w, B) => {
1912
- if ($.level === 0) {
1913
- const U = await B.initNode($);
1914
- return w(U || []);
1937
+ const c = (k, x) => k ? x.label.includes(k) : !0, d = D(!0), v = (k, x, V, R) => {
1938
+ s("on-click", k, x, V, R);
1939
+ }, N = async (k, x, V) => {
1940
+ if (k.level === 0) {
1941
+ const R = await V.initNode(k);
1942
+ return x(R || []);
1915
1943
  } else {
1916
- const U = await B.lazyLoad($);
1917
- w(U || []);
1944
+ const R = await V.lazyLoad(k);
1945
+ x(R || []);
1918
1946
  }
1919
1947
  };
1920
- return ($, w) => {
1921
- const B = f("el-input"), U = f("el-tree");
1948
+ return (k, x) => {
1949
+ const V = f("el-input"), R = f("el-tree");
1922
1950
  return n(), b("div", Ea, [
1923
- Q((n(), b("div", ba, [
1924
- Q(S("div", ya, [
1925
- N(B, {
1951
+ X((n(), b("div", ba, [
1952
+ X(S("div", ya, [
1953
+ w(V, {
1926
1954
  modelValue: i.value,
1927
- "onUpdate:modelValue": w[0] || (w[0] = (h) => i.value = h),
1955
+ "onUpdate:modelValue": x[0] || (x[0] = (p) => i.value = p),
1928
1956
  class: "base_tree_main_input",
1929
1957
  placeholder: "输入关键字过滤"
1930
1958
  }, null, 8, ["modelValue"]),
1931
- N(U, {
1959
+ w(R, {
1932
1960
  ref_key: "EL_TREE_REF",
1933
1961
  ref: t,
1934
1962
  lazy: "",
1935
1963
  "highlight-current": "",
1936
1964
  "empty-text": "暂无数据",
1937
- load: (h, y) => M(h, y, l),
1965
+ load: (p, y) => N(p, y, l),
1938
1966
  "expand-on-click-node": !1,
1939
1967
  props: e.treeProps,
1940
1968
  "filter-node-method": c,
1941
1969
  onNodeClick: v
1942
1970
  }, null, 8, ["load", "props"])
1943
1971
  ], 512), [
1944
- [le, d.value]
1972
+ [ee, d.value]
1945
1973
  ]),
1946
- Q(N(Te, { vertical: "" }, null, 512), [
1947
- [le, d.value]
1974
+ X(w(Te, { vertical: "" }, null, 512), [
1975
+ [ee, d.value]
1948
1976
  ]),
1949
- N(ha, {
1977
+ w(pa, {
1950
1978
  modelValue: d.value,
1951
- "onUpdate:modelValue": w[1] || (w[1] = (h) => d.value = h)
1979
+ "onUpdate:modelValue": x[1] || (x[1] = (p) => d.value = p)
1952
1980
  }, null, 8, ["modelValue"])
1953
1981
  ])), [
1954
1982
  [u(r), e.gasket]
@@ -2021,7 +2049,7 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2021
2049
  },
2022
2050
  emits: ["update:modelValue", "on-confirm"],
2023
2051
  setup(e, { emit: s }) {
2024
- const l = e, r = k(l.modelValue.value), i = () => {
2052
+ const l = e, r = D(l.modelValue.value), i = () => {
2025
2053
  r.value = !1;
2026
2054
  }, t = () => {
2027
2055
  r.value = !1, s("on-confirm");
@@ -2034,7 +2062,7 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2034
2062
  ), de(r, (d) => {
2035
2063
  s("update:modelValue", d);
2036
2064
  });
2037
- const c = J(() => {
2065
+ const c = Z(() => {
2038
2066
  const { width: d, size: v } = l;
2039
2067
  if (d)
2040
2068
  return d;
@@ -2054,12 +2082,12 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2054
2082
  }
2055
2083
  });
2056
2084
  return (d, v) => {
2057
- const M = f("el-button"), $ = f("el-dialog");
2085
+ const N = f("el-button"), k = f("el-dialog");
2058
2086
  return n(), b("div", xa, [
2059
2087
  S("div", Ca, [
2060
- N($, {
2088
+ w(k, {
2061
2089
  modelValue: r.value,
2062
- "onUpdate:modelValue": v[0] || (v[0] = (w) => r.value = w),
2090
+ "onUpdate:modelValue": v[0] || (v[0] = (x) => r.value = x),
2063
2091
  "custom-class": "bsgoal_base_dialog_main",
2064
2092
  class: _e({ "bsgoal-dialog__footer--conceal": !e.footer }),
2065
2093
  width: u(c)
@@ -2070,13 +2098,13 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2070
2098
  footer: T(() => [
2071
2099
  e.footer ? q(d.$slots, "footer", { key: 0 }, () => [
2072
2100
  S("span", Ma, [
2073
- N(M, { onClick: i }, {
2101
+ w(N, { onClick: i }, {
2074
2102
  default: T(() => [
2075
2103
  W(Y(e.cancelTxt), 1)
2076
2104
  ]),
2077
2105
  _: 1
2078
2106
  }),
2079
- N(M, {
2107
+ w(N, {
2080
2108
  type: "primary",
2081
2109
  onClick: t
2082
2110
  }, {
@@ -2086,7 +2114,7 @@ const xa = { class: "bsgoal-base-dialog" }, Ca = { class: "base_dialog" }, Va =
2086
2114
  _: 1
2087
2115
  })
2088
2116
  ])
2089
- ]) : V("", !0)
2117
+ ]) : $("", !0)
2090
2118
  ]),
2091
2119
  default: T(() => [
2092
2120
  S("div", {
@@ -2145,7 +2173,7 @@ const wa = { class: "bsgoal-base-tabs" }, Ba = {
2145
2173
  return (r, i) => {
2146
2174
  const t = f("el-tab-pane"), c = f("el-tabs");
2147
2175
  return n(), b("div", wa, [
2148
- N(c, {
2176
+ w(c, {
2149
2177
  stretch: "",
2150
2178
  class: "bsgoal_base_tabs",
2151
2179
  type: e.type,
@@ -2153,8 +2181,8 @@ const wa = { class: "bsgoal-base-tabs" }, Ba = {
2153
2181
  onTabChange: l
2154
2182
  }, {
2155
2183
  default: T(() => [
2156
- (n(!0), b(P, null, X(e.configOptions, ({ label: d, value: v }, M) => (n(), E(t, {
2157
- key: M,
2184
+ (n(!0), b(j, null, Q(e.configOptions, ({ label: d, value: v }, N) => (n(), E(t, {
2185
+ key: N,
2158
2186
  label: d,
2159
2187
  name: v
2160
2188
  }, {
@@ -2206,7 +2234,7 @@ const ka = { class: "bsgoal-base-link" }, Sa = {
2206
2234
  return (r, i) => {
2207
2235
  const t = f("el-link");
2208
2236
  return n(), b("div", ka, [
2209
- N(t, {
2237
+ w(t, {
2210
2238
  class: "bsgoal_base_link",
2211
2239
  type: "primary",
2212
2240
  underline: e.underline,
@@ -2223,7 +2251,7 @@ const ka = { class: "bsgoal-base-link" }, Sa = {
2223
2251
  ]);
2224
2252
  };
2225
2253
  }
2226
- }), Ia = /* @__PURE__ */ $e(Oa, [["__scopeId", "data-v-3b0290b0"]]), La = a, za = ye, Pa = {
2254
+ }), Ia = /* @__PURE__ */ $e(Oa, [["__scopeId", "data-v-3b0290b0"]]), Pa = a, La = ye, za = {
2227
2255
  install(e, s = {}) {
2228
2256
  const { exclude: l = [] } = s, r = {
2229
2257
  BsgoalBaseForm: We,
@@ -2242,8 +2270,8 @@ const ka = { class: "bsgoal-base-link" }, Sa = {
2242
2270
  useFetch: ye
2243
2271
  };
2244
2272
  export {
2245
- La as EnumType,
2246
- Pa as default,
2247
- za as useFetchApi
2273
+ Pa as EnumType,
2274
+ za as default,
2275
+ La as useFetchApi
2248
2276
  };
2249
2277
  //# sourceMappingURL=index.mjs.map