foggy-data-viewer 1.0.1-beta.35 → 1.0.1-beta.36

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var wa = Object.defineProperty;
2
2
  var _a = (e, a, t) => a in e ? wa(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
3
3
  var Ut = (e, a, t) => _a(e, typeof a != "symbol" ? a + "" : a, t);
4
- import { defineComponent as ae, ref as E, watch as Te, computed as T, onMounted as St, onUnmounted as na, createElementBlock as S, openBlock as h, createElementVNode as m, createBlock as J, withDirectives as ot, createCommentVNode as G, vModelText as Ct, withModifiers as gt, Teleport as la, normalizeStyle as yt, Fragment as ue, renderList as we, normalizeClass as Ke, toDisplayString as R, withKeys as Ht, resolveComponent as U, createVNode as c, createTextVNode as O, onBeforeUnmount as xa, useAttrs as zt, useSlots as oa, provide as Ca, renderSlot as Ie, mergeProps as kt, toHandlers as ra, withCtx as b, h as ve, resolveDynamicComponent as ia, unref as ie, createSlots as Sa, normalizeProps as sa, guardReactiveProps as ua, vShow as At } from "vue";
4
+ import { defineComponent as ae, ref as E, watch as Te, computed as T, onMounted as St, onUnmounted as na, createElementBlock as S, openBlock as h, createElementVNode as m, createBlock as J, withDirectives as ot, createCommentVNode as G, vModelText as Ct, withModifiers as gt, Teleport as la, normalizeStyle as yt, Fragment as ue, renderList as _e, normalizeClass as Ke, toDisplayString as B, withKeys as Ht, resolveComponent as U, createVNode as c, createTextVNode as O, onBeforeUnmount as xa, useAttrs as zt, useSlots as oa, provide as Ca, renderSlot as Ie, mergeProps as kt, toHandlers as ra, withCtx as b, h as ve, resolveDynamicComponent as ia, unref as ie, createSlots as Sa, normalizeProps as sa, guardReactiveProps as ua, vShow as At } from "vue";
5
5
  import { ElTooltip as ka, ElMessage as me, ElMessageBox as ca } from "element-plus";
6
6
  import Mt from "axios";
7
7
  const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__ */ ae({
@@ -30,8 +30,8 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
30
30
  n.value = "";
31
31
  return;
32
32
  }
33
- const B = k[0];
34
- B.op === "in" && Array.isArray(B.value) ? n.value = B.value.join(", ") : n.value = String(B.value || "").replace(/%/g, "");
33
+ const z = k[0];
34
+ z.op === "in" && Array.isArray(z.value) ? n.value = z.value.join(", ") : n.value = String(z.value || "").replace(/%/g, "");
35
35
  }, { immediate: !0 });
36
36
  const M = T(() => {
37
37
  const k = n.value.trim();
@@ -42,13 +42,13 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
42
42
  ] : [];
43
43
  });
44
44
  function u(k) {
45
- const B = n.value.trim();
46
- if (!B) return null;
45
+ const z = n.value.trim();
46
+ if (!z) return null;
47
47
  if (k === "in") {
48
- const ne = B.split(/[,,\s]+/).filter((ce) => ce.trim());
48
+ const ne = z.split(/[,,\s]+/).filter((ce) => ce.trim());
49
49
  return ne.length === 1 ? { field: t.field, op: "=", value: ne[0] } : { field: t.field, op: "in", value: ne };
50
50
  }
51
- return { field: t.field, op: k, value: B };
51
+ return { field: t.field, op: k, value: z };
52
52
  }
53
53
  function C() {
54
54
  const k = u("right_like");
@@ -58,8 +58,8 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
58
58
  n.value.trim() ? (x(), r.value = !0, d.value = 0, C()) : (r.value = !1, l("update:modelValue", null));
59
59
  }
60
60
  function Q(k) {
61
- const B = u(k);
62
- B && (l("update:modelValue", [B]), l("commit", [B]), r.value = !1);
61
+ const z = u(k);
62
+ z && (l("update:modelValue", [z]), l("commit", [z]), r.value = !1);
63
63
  }
64
64
  function K(k) {
65
65
  if (!(w.value || k.isComposing)) {
@@ -94,14 +94,14 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
94
94
  }
95
95
  function L(k) {
96
96
  var he, xe;
97
- const B = k.target, ne = (he = g.value) == null ? void 0 : he.contains(B), ce = (xe = s.value) == null ? void 0 : xe.contains(B);
97
+ const z = k.target, ne = (he = g.value) == null ? void 0 : he.contains(z), ce = (xe = s.value) == null ? void 0 : xe.contains(z);
98
98
  !ne && !ce && (r.value = !1);
99
99
  }
100
100
  return St(() => {
101
101
  document.addEventListener("click", L);
102
102
  }), na(() => {
103
103
  document.removeEventListener("click", L);
104
- }), (k, B) => (h(), S("div", {
104
+ }), (k, z) => (h(), S("div", {
105
105
  ref_key: "containerRef",
106
106
  ref: g,
107
107
  class: "filter-text"
@@ -112,14 +112,14 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
112
112
  class: "input-wrapper"
113
113
  }, [
114
114
  ot(m("input", {
115
- "onUpdate:modelValue": B[0] || (B[0] = (ne) => n.value = ne),
115
+ "onUpdate:modelValue": z[0] || (z[0] = (ne) => n.value = ne),
116
116
  type: "text",
117
117
  placeholder: e.placeholder,
118
118
  onInput: $,
119
119
  onKeydown: K,
120
120
  onCompositionstart: I,
121
121
  onCompositionend: oe,
122
- onFocus: B[1] || (B[1] = () => {
122
+ onFocus: z[1] || (z[1] = () => {
123
123
  n.value.trim() && (x(), r.value = !0);
124
124
  })
125
125
  }, null, 40, Ma), [
@@ -139,12 +139,12 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
139
139
  class: "filter-dropdown",
140
140
  style: yt(p.value)
141
141
  }, [
142
- (h(!0), S(ue, null, we(M.value, (ne, ce) => (h(), S("div", {
142
+ (h(!0), S(ue, null, _e(M.value, (ne, ce) => (h(), S("div", {
143
143
  key: ne.op,
144
144
  class: Ke(["filter-option", { highlighted: ce === d.value }]),
145
145
  onClick: (he) => Q(ne.op),
146
146
  onMouseenter: (he) => d.value = ce
147
- }, R(ne.label), 43, $a))), 128))
147
+ }, B(ne.label), 43, $a))), 128))
148
148
  ], 4)) : G("", !0)
149
149
  ]))
150
150
  ], 512));
@@ -332,7 +332,7 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
332
332
  }, Ra = ["title"], Ba = { class: "search-box" }, za = ["placeholder"], Na = { class: "options-container" }, Oa = {
333
333
  key: 0,
334
334
  class: "loading-hint"
335
- }, Wa = ["onClick", "onMouseenter"], Ua = ["checked"], Ha = { class: "option-label" }, qa = {
335
+ }, Wa = ["onClick", "onMouseenter"], Ua = ["checked", "onClick"], Ha = { class: "option-label" }, qa = {
336
336
  key: 0,
337
337
  class: "no-data"
338
338
  }, Qa = {
@@ -362,7 +362,7 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
362
362
  Te(() => t.modelValue, (_) => {
363
363
  if (o.value.clear(), !_ || _.length === 0) return;
364
364
  const v = _[0];
365
- v.op === "in" && Array.isArray(v.value) ? (r.value = !0, v.value.forEach((z) => o.value.add(z))) : v.op === "=" && (r.value = !1, o.value.add(v.value));
365
+ v.op === "in" && Array.isArray(v.value) ? (r.value = !0, v.value.forEach((R) => o.value.add(R))) : v.op === "=" && (r.value = !1, o.value.add(v.value));
366
366
  }, { immediate: !0 });
367
367
  const oe = T(() => D.value ? M.value : t.options), L = T(() => {
368
368
  if (D.value || !g.value.trim()) return oe.value;
@@ -370,13 +370,13 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
370
370
  return oe.value.filter(
371
371
  (v) => v.label.toLowerCase().includes(_) || String(v.value).toLowerCase().includes(_)
372
372
  );
373
- }), k = T(() => L.value.slice(0, t.maxDisplayItems)), B = T(() => D.value ? $.value : L.value.length > t.maxDisplayItems), ne = T(() => D.value ? u.value : t.loading), ce = T(() => {
373
+ }), k = T(() => L.value.slice(0, t.maxDisplayItems)), z = T(() => D.value ? $.value : L.value.length > t.maxDisplayItems), ne = T(() => D.value ? u.value : t.loading), ce = T(() => {
374
374
  if (o.value.size === 0) return "";
375
375
  if (D.value) {
376
376
  const v = [];
377
- for (const z of o.value) {
378
- const N = Q.value.get(z);
379
- N ? v.push(N) : v.push(String(z));
377
+ for (const R of o.value) {
378
+ const N = Q.value.get(R);
379
+ N ? v.push(N) : v.push(String(R));
380
380
  }
381
381
  return v.length <= 2 ? v.join(", ") : `已选 ${v.length} 项`;
382
382
  }
@@ -396,10 +396,10 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
396
396
  selectedValues: o.value.size > 0 ? Array.from(o.value) : void 0
397
397
  });
398
398
  if (M.value = v.items.map(xe), C.value = v.total, $.value = v.hasMore ?? !1, v.selectedItems)
399
- for (const z of v.selectedItems)
400
- Q.value.set(z.value, z.label);
401
- for (const z of v.items)
402
- Q.value.set(z.value, z.label);
399
+ for (const R of v.selectedItems)
400
+ Q.value.set(R.value, R.label);
401
+ for (const R of v.items)
402
+ Q.value.set(R.value, R.label);
403
403
  } catch (v) {
404
404
  console.error("远程成员加载失败:", v), M.value = [];
405
405
  } finally {
@@ -435,19 +435,19 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
435
435
  function F() {
436
436
  if (r.value = !r.value, !r.value && o.value.size > 1) {
437
437
  const _ = o.value.values().next().value;
438
- o.value.clear(), _ !== void 0 && o.value.add(_), ye();
438
+ o.value.clear(), _ !== void 0 && o.value.add(_), be();
439
439
  }
440
440
  }
441
441
  function q(_) {
442
442
  return o.value.has(_.value);
443
443
  }
444
- function _e(_) {
445
- Q.value.set(_.value, _.label), r.value ? o.value.has(_.value) ? o.value.delete(_.value) : o.value.add(_.value) : (o.value.clear(), o.value.add(_.value), ye(), n.value = !1);
444
+ function ye(_) {
445
+ Q.value.set(_.value, _.label), r.value ? o.value.has(_.value) ? o.value.delete(_.value) : o.value.add(_.value) : (o.value.clear(), o.value.add(_.value), be(), n.value = !1);
446
446
  }
447
447
  function $e() {
448
- ye(), n.value = !1;
448
+ be(), n.value = !1;
449
449
  }
450
- function ye() {
450
+ function be() {
451
451
  if (o.value.size === 0) {
452
452
  l("update:modelValue", null), l("commit", null);
453
453
  return;
@@ -478,7 +478,7 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
478
478
  _.preventDefault(), w.value = (w.value - 1 + v.length) % v.length;
479
479
  break;
480
480
  case "Enter":
481
- _.preventDefault(), v[w.value] && _e(v[w.value]);
481
+ _.preventDefault(), v[w.value] && ye(v[w.value]);
482
482
  break;
483
483
  case "Escape":
484
484
  n.value = !1;
@@ -488,8 +488,8 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
488
488
  const qe = E();
489
489
  function Ee(_) {
490
490
  var ee, X;
491
- const v = _.target, z = (ee = s.value) == null ? void 0 : ee.contains(v), N = (X = qe.value) == null ? void 0 : X.contains(v);
492
- !z && !N && (n.value && r.value && ye(), n.value = !1);
491
+ const v = _.target, R = (ee = s.value) == null ? void 0 : ee.contains(v), N = (X = qe.value) == null ? void 0 : X.contains(v);
492
+ !R && !N && (n.value && r.value && be(), n.value = !1);
493
493
  }
494
494
  return St(() => document.addEventListener("click", Ee)), na(() => {
495
495
  document.removeEventListener("click", Ee), K && clearTimeout(K);
@@ -504,12 +504,12 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
504
504
  class: "select-input",
505
505
  onClick: j
506
506
  }, [
507
- ce.value ? (h(), S("span", La, R(ce.value), 1)) : (h(), S("span", Ia, R(e.placeholder), 1)),
507
+ ce.value ? (h(), S("span", La, B(ce.value), 1)) : (h(), S("span", Ia, B(e.placeholder), 1)),
508
508
  m("span", {
509
509
  class: "toggle-multi",
510
510
  onClick: gt(F, ["stop"]),
511
511
  title: r.value ? "切换单选" : "切换多选"
512
- }, R(r.value ? "多" : "单"), 9, Ra),
512
+ }, B(r.value ? "多" : "单"), 9, Ra),
513
513
  ce.value ? (h(), S("span", {
514
514
  key: 2,
515
515
  class: "clear-btn",
@@ -528,7 +528,7 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
528
528
  ot(m("input", {
529
529
  ref_key: "searchInputRef",
530
530
  ref: p,
531
- "onUpdate:modelValue": v[0] || (v[0] = (z) => g.value = z),
531
+ "onUpdate:modelValue": v[0] || (v[0] = (R) => g.value = R),
532
532
  type: "text",
533
533
  placeholder: D.value ? "输入关键词搜索..." : "搜索...",
534
534
  onClick: v[1] || (v[1] = gt(() => {
@@ -541,33 +541,32 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
541
541
  ]),
542
542
  m("div", Na, [
543
543
  ne.value ? (h(), S("div", Oa, " 加载中... ")) : (h(), S(ue, { key: 1 }, [
544
- (h(!0), S(ue, null, we(k.value, (z, N) => (h(), S("div", {
545
- key: String(z.value),
546
- class: Ke(["filter-option", { selected: q(z), highlighted: N === w.value }]),
547
- onClick: (ee) => _e(z),
544
+ (h(!0), S(ue, null, _e(k.value, (R, N) => (h(), S("div", {
545
+ key: String(R.value),
546
+ class: Ke(["filter-option", { selected: q(R), highlighted: N === w.value }]),
547
+ onClick: (ee) => ye(R),
548
548
  onMouseenter: (ee) => w.value = N
549
549
  }, [
550
550
  r.value ? (h(), S("input", {
551
551
  key: 0,
552
552
  type: "checkbox",
553
- checked: q(z),
554
- onClick: v[2] || (v[2] = gt(() => {
555
- }, ["stop"]))
553
+ checked: q(R),
554
+ onClick: gt((ee) => ye(R), ["stop"])
556
555
  }, null, 8, Ua)) : G("", !0),
557
- m("span", Ha, R(z.label), 1)
556
+ m("span", Ha, B(R.label), 1)
558
557
  ], 42, Wa))), 128)),
559
- k.value.length === 0 ? (h(), S("div", qa, R(D.value && !g.value ? "打开后自动加载" : "无匹配数据"), 1)) : G("", !0)
558
+ k.value.length === 0 ? (h(), S("div", qa, B(D.value && !g.value ? "打开后自动加载" : "无匹配数据"), 1)) : G("", !0)
560
559
  ], 64))
561
560
  ]),
562
- B.value ? (h(), S("div", Qa, [
561
+ z.value ? (h(), S("div", Qa, [
563
562
  D.value ? (h(), S(ue, { key: 0 }, [
564
- O(" 共 " + R(C.value) + " 条,请输入关键词缩小范围 ", 1)
563
+ O(" 共 " + B(C.value) + " 条,请输入关键词缩小范围 ", 1)
565
564
  ], 64)) : (h(), S(ue, { key: 1 }, [
566
- O(" 还有 " + R(L.value.length - e.maxDisplayItems) + " 条,请输入关键词搜索 ", 1)
565
+ O(" 还有 " + B(L.value.length - e.maxDisplayItems) + " 条,请输入关键词搜索 ", 1)
567
566
  ], 64))
568
567
  ])) : G("", !0),
569
568
  r.value ? (h(), S("div", ja, [
570
- m("span", Ya, "已选 " + R(o.value.size) + " 项", 1),
569
+ m("span", Ya, "已选 " + B(o.value.size) + " 项", 1),
571
570
  m("button", {
572
571
  class: "confirm-btn",
573
572
  onClick: $e
@@ -577,7 +576,7 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
577
576
  ]))
578
577
  ], 512));
579
578
  }
580
- }), rt = /* @__PURE__ */ Ce(Ga, [["__scopeId", "data-v-293862fd"]]), Xa = { class: "filter-bool" }, Ka = /* @__PURE__ */ ae({
579
+ }), rt = /* @__PURE__ */ Ce(Ga, [["__scopeId", "data-v-7502da10"]]), Xa = { class: "filter-bool" }, Ka = /* @__PURE__ */ ae({
581
580
  __name: "BoolFilter",
582
581
  props: {
583
582
  field: {},
@@ -618,11 +617,11 @@ const Ma = ["placeholder"], $a = ["onClick", "onMouseenter"], Va = /* @__PURE__
618
617
  m("button", {
619
618
  class: Ke({ active: n.value === !0 }),
620
619
  onClick: o[1] || (o[1] = (s) => r(!0))
621
- }, R(e.trueLabel), 3),
620
+ }, B(e.trueLabel), 3),
622
621
  m("button", {
623
622
  class: Ke({ active: n.value === !1 }),
624
623
  onClick: o[2] || (o[2] = (s) => r(!1))
625
- }, R(e.falseLabel), 3)
624
+ }, B(e.falseLabel), 3)
626
625
  ]));
627
626
  }
628
627
  }), Ot = /* @__PURE__ */ Ce(Ka, [["__scopeId", "data-v-421747f5"]]);
@@ -848,11 +847,11 @@ function nn(e) {
848
847
  function ln(e, a = {}) {
849
848
  const t = E([]), l = E(0), n = E(!1), r = E(null), g = E(null), o = E(null), s = E(1), d = E(a.pageSize ?? 50), w = E([]), p = E([]), x = new Lt(), M = an._getRegistry();
850
849
  function u() {
851
- const k = new Lt(), B = a.hooks;
852
- return B && (B.onBeforeQuery && k.add("onBeforeQuery", B.onBeforeQuery), B.onAfterQuery && k.add("onAfterQuery", B.onAfterQuery), B.onQueryError && k.add("onQueryError", B.onQueryError)), k;
850
+ const k = new Lt(), z = a.hooks;
851
+ return z && (z.onBeforeQuery && k.add("onBeforeQuery", z.onBeforeQuery), z.onAfterQuery && k.add("onAfterQuery", z.onAfterQuery), z.onQueryError && k.add("onQueryError", z.onQueryError)), k;
853
852
  }
854
853
  async function C(k = "refresh") {
855
- const B = {
854
+ const z = {
856
855
  params: {
857
856
  page: s.value,
858
857
  pageSize: d.value,
@@ -861,15 +860,15 @@ function ln(e, a = {}) {
861
860
  },
862
861
  trigger: k
863
862
  }, ne = u();
864
- if (!(await M.runBefore(B) === !1 || await ne.runBefore(B) === !1 || await x.runBefore(B) === !1)) {
863
+ if (!(await M.runBefore(z) === !1 || await ne.runBefore(z) === !1 || await x.runBefore(z) === !1)) {
865
864
  n.value = !0, r.value = k, g.value = null;
866
865
  try {
867
- let se = await e(B.params);
868
- se = await x.runAfter(B, se), se = await ne.runAfter(B, se), se = await M.runAfter(B, se), t.value = se.items, l.value = se.total, o.value = se.totalData ?? null;
866
+ let se = await e(z.params);
867
+ se = await x.runAfter(z, se), se = await ne.runAfter(z, se), se = await M.runAfter(z, se), t.value = se.items, l.value = se.total, o.value = se.totalData ?? null;
869
868
  } catch (se) {
870
869
  const ge = se instanceof Error ? se : new Error(String(se));
871
870
  g.value = ge;
872
- const j = await x.runError(B, ge), F = await ne.runError(B, ge), q = await M.runError(B, ge);
871
+ const j = await x.runError(z, ge), F = await ne.runError(z, ge), q = await M.runError(z, ge);
873
872
  if (!j && !F && !q)
874
873
  throw console.error("数据加载失败:", ge), ge;
875
874
  } finally {
@@ -883,8 +882,8 @@ function ln(e, a = {}) {
883
882
  async function Q() {
884
883
  s.value = 1, await C("reload");
885
884
  }
886
- function K(k, B) {
887
- s.value = k, B !== void 0 && (d.value = B);
885
+ function K(k, z) {
886
+ s.value = k, z !== void 0 && (d.value = z);
888
887
  }
889
888
  function D(k) {
890
889
  w.value = nn(k);
@@ -892,11 +891,11 @@ function ln(e, a = {}) {
892
891
  function I(k) {
893
892
  p.value = k;
894
893
  }
895
- function oe(k, B) {
896
- return x.add(k, B);
894
+ function oe(k, z) {
895
+ return x.add(k, z);
897
896
  }
898
- function L(k, B) {
899
- x.remove(k, B);
897
+ function L(k, z) {
898
+ x.remove(k, z);
900
899
  }
901
900
  return {
902
901
  data: t,
@@ -1111,13 +1110,13 @@ const un = {
1111
1110
  }), k = E({
1112
1111
  field: null,
1113
1112
  order: null
1114
- }), B = E({}), ne = E({}), ce = E({}), he = T(() => n.columns), { selectedRows: xe, onCheckboxChange: se, onCheckboxAll: ge, clearSelection: j, getSelectedCount: F } = Ja(), { serverSummary: q, calculateSelectedSummary: _e, generateFooterData: $e, setServerSummary: ye } = tn(he);
1113
+ }), z = E({}), ne = E({}), ce = E({}), he = T(() => n.columns), { selectedRows: xe, onCheckboxChange: se, onCheckboxAll: ge, clearSelection: j, getSelectedCount: F } = Ja(), { serverSummary: q, calculateSelectedSummary: ye, generateFooterData: $e, setServerSummary: be } = tn(he);
1115
1114
  Te(() => n.serverSummary, (i) => {
1116
- ye(i ?? null);
1115
+ be(i ?? null);
1117
1116
  }, { immediate: !0 });
1118
1117
  const Se = T(() => {
1119
1118
  var P;
1120
- const i = _e(xe.value), y = ((P = je.value) == null ? void 0 : P.map((A) => {
1119
+ const i = ye(xe.value), y = ((P = je.value) == null ? void 0 : P.map((A) => {
1121
1120
  var H;
1122
1121
  return {
1123
1122
  field: A.field,
@@ -1141,13 +1140,13 @@ const un = {
1141
1140
  i && i > 0 && (L.value.pageSize = i);
1142
1141
  }), Te(() => n.initialSlice, (i) => {
1143
1142
  if (!i || i.length === 0) {
1144
- B.value = {};
1143
+ z.value = {};
1145
1144
  return;
1146
1145
  }
1147
1146
  const y = {};
1148
1147
  for (const P of i)
1149
1148
  P.field && (y[P.field] || (y[P.field] = []), y[P.field].push(P));
1150
- B.value = y;
1149
+ z.value = y;
1151
1150
  }, { immediate: !0 });
1152
1151
  async function qe(i) {
1153
1152
  if (ne.value[i])
@@ -1223,11 +1222,11 @@ const un = {
1223
1222
  function v(i) {
1224
1223
  return i.endsWith("$id") ? i : i.includes("$") ? `${i.substring(0, i.indexOf("$"))}$id` : `${i}$id`;
1225
1224
  }
1226
- function z(i) {
1225
+ function R(i) {
1227
1226
  const y = Ee(i), P = {
1228
1227
  field: i.name,
1229
- modelValue: B.value[i.name] || null,
1230
- "onUpdate:modelValue": (A) => be(i.name, A),
1228
+ modelValue: z.value[i.name] || null,
1229
+ "onUpdate:modelValue": (A) => we(i.name, A),
1231
1230
  onCommit: (A) => Ae(i.name, A)
1232
1231
  };
1233
1232
  switch (y) {
@@ -1247,8 +1246,8 @@ const un = {
1247
1246
  ...P,
1248
1247
  field: i.name,
1249
1248
  selectionField: te,
1250
- modelValue: B.value[te] || B.value[i.name] || null,
1251
- "onUpdate:modelValue": (le) => be(te, le),
1249
+ modelValue: z.value[te] || z.value[i.name] || null,
1250
+ "onUpdate:modelValue": (le) => we(te, le),
1252
1251
  onCommit: (le) => Ae(te, le),
1253
1252
  remoteLoader: n.filterMemberLoader,
1254
1253
  qmModel: n.qmModel,
@@ -1258,8 +1257,8 @@ const un = {
1258
1257
  } : (ne.value[i.name] || qe(i.name), {
1259
1258
  ...P,
1260
1259
  field: te,
1261
- modelValue: B.value[te] || B.value[i.name] || null,
1262
- "onUpdate:modelValue": (le) => be(te, le),
1260
+ modelValue: z.value[te] || z.value[i.name] || null,
1261
+ "onUpdate:modelValue": (le) => we(te, le),
1263
1262
  onCommit: (le) => Ae(te, le),
1264
1263
  options: ne.value[i.name] || [],
1265
1264
  loading: ce.value[i.name],
@@ -1272,7 +1271,7 @@ const un = {
1272
1271
  }
1273
1272
  function N() {
1274
1273
  const i = [];
1275
- for (const y of Object.values(B.value))
1274
+ for (const y of Object.values(z.value))
1276
1275
  y && y.length > 0 && i.push(...y);
1277
1276
  return i;
1278
1277
  }
@@ -1286,10 +1285,10 @@ const un = {
1286
1285
  return JSON.stringify(i ?? null) === JSON.stringify(y ?? null);
1287
1286
  }
1288
1287
  function de(i, y) {
1289
- const P = X(y), A = B.value[i] ?? null;
1290
- return ke(A, P) ? !1 : (P === null ? delete B.value[i] : B.value[i] = P, !0);
1288
+ const P = X(y), A = z.value[i] ?? null;
1289
+ return ke(A, P) ? !1 : (P === null ? delete z.value[i] : z.value[i] = P, !0);
1291
1290
  }
1292
- function be(i, y) {
1291
+ function we(i, y) {
1293
1292
  de(i, y) && Qe();
1294
1293
  }
1295
1294
  function Ae(i, y) {
@@ -1778,11 +1777,11 @@ const un = {
1778
1777
  return g[y]({
1779
1778
  column: i,
1780
1779
  field: i.name,
1781
- modelValue: B.value[i.name] || null,
1782
- onChange: (H) => be(i.name, H),
1780
+ modelValue: z.value[i.name] || null,
1781
+ onChange: (H) => we(i.name, H),
1783
1782
  onCommit: (H) => Ae(i.name, H)
1784
1783
  });
1785
- const P = _(i), A = z(i);
1784
+ const P = _(i), A = R(i);
1786
1785
  return ve(P, A);
1787
1786
  }
1788
1787
  const st = T(() => {
@@ -1861,7 +1860,7 @@ const un = {
1861
1860
  L.value.currentPage = 1;
1862
1861
  }
1863
1862
  function ct() {
1864
- B.value = {}, Qe(), Pe();
1863
+ z.value = {}, Qe(), Pe();
1865
1864
  }
1866
1865
  return a({
1867
1866
  resetPagination: Oe,
@@ -1869,7 +1868,7 @@ const un = {
1869
1868
  /** 获取当前过滤状态 (DSL slices) */
1870
1869
  getFilters: N,
1871
1870
  /** 设置过滤值 */
1872
- setFilter: be,
1871
+ setFilter: we,
1873
1872
  /** 获取 vxe-grid 实例 */
1874
1873
  getGridInstance: () => o.value,
1875
1874
  /** 获取当前选中行数组 */
@@ -1880,8 +1879,8 @@ const un = {
1880
1879
  clearSelection: Re
1881
1880
  }), Ca("dataTableContext", {
1882
1881
  columns: T(() => n.columns),
1883
- filters: B,
1884
- updateFilter: be,
1882
+ filters: z,
1883
+ updateFilter: we,
1885
1884
  commitFilter: Ae
1886
1885
  }), (i, y) => {
1887
1886
  const P = U("vxe-pager"), A = U("vxe-grid");
@@ -1900,7 +1899,7 @@ const un = {
1900
1899
  "aria-live": "polite"
1901
1900
  }, [
1902
1901
  M.value ? G("", !0) : (h(), S("span", fn)),
1903
- m("span", mn, R(x.value), 1)
1902
+ m("span", mn, B(x.value), 1)
1904
1903
  ], 2)) : G("", !0),
1905
1904
  n.showPager ? (h(), J(P, {
1906
1905
  key: 1,
@@ -2171,22 +2170,22 @@ const Sn = { class: "data-viewer" }, kn = { class: "viewer-header" }, Mn = { cla
2171
2170
  return St(async () => {
2172
2171
  await C(), r.value && (r.value.initialSlice && r.value.initialSlice.length > 0 && (p.value.slice = r.value.initialSlice), await $());
2173
2172
  }), (L, k) => {
2174
- var B, ne, ce, he;
2173
+ var z, ne, ce, he;
2175
2174
  return h(), S("div", Sn, [
2176
2175
  m("header", kn, [
2177
- m("h1", Mn, R(M.value), 1),
2176
+ m("h1", Mn, B(M.value), 1),
2178
2177
  m("div", $n, [
2179
- (ne = (B = r.value) == null ? void 0 : B.tableConfig) != null && ne.qmModel ? (h(), S("span", Vn, [
2178
+ (ne = (z = r.value) == null ? void 0 : z.tableConfig) != null && ne.qmModel ? (h(), S("span", Vn, [
2180
2179
  k[0] || (k[0] = O(" 模型: ", -1)),
2181
- m("strong", null, R(r.value.tableConfig.qmModel), 1)
2180
+ m("strong", null, B(r.value.tableConfig.qmModel), 1)
2182
2181
  ])) : G("", !0),
2183
2182
  (ce = r.value) != null && ce.estimatedRowCount ? (h(), S("span", Tn, [
2184
2183
  k[1] || (k[1] = O(" 预估行数: ", -1)),
2185
- m("strong", null, R(r.value.estimatedRowCount.toLocaleString()), 1)
2184
+ m("strong", null, B(r.value.estimatedRowCount.toLocaleString()), 1)
2186
2185
  ])) : G("", !0),
2187
2186
  u.value ? (h(), S("span", Pn, [
2188
2187
  k[2] || (k[2] = O(" 过期时间: ", -1)),
2189
- m("strong", null, R(u.value), 1)
2188
+ m("strong", null, B(u.value), 1)
2190
2189
  ])) : G("", !0),
2191
2190
  m("button", {
2192
2191
  class: "refresh-btn",
@@ -2203,7 +2202,7 @@ const Sn = { class: "data-viewer" }, kn = { class: "viewer-header" }, Mn = { cla
2203
2202
  ])])) : l.value && !s.value.length ? (h(), S("div", An, [
2204
2203
  m("div", Fn, [
2205
2204
  k[4] || (k[4] = m("h2", null, "加载失败", -1)),
2206
- m("p", null, R(l.value), 1),
2205
+ m("p", null, B(l.value), 1),
2207
2206
  m("button", { onClick: $ }, "重试")
2208
2207
  ])
2209
2208
  ])) : (h(), S("main", Ln, [
@@ -2382,11 +2381,11 @@ const Sn = { class: "data-viewer" }, kn = { class: "viewer-header" }, Mn = { cla
2382
2381
  class: Ke(["search-toolbar", `layout-${e.layout}`])
2383
2382
  }, [
2384
2383
  m("div", Rn, [
2385
- (h(!0), S(ue, null, we(g.value, ($) => (h(), S("div", {
2384
+ (h(!0), S(ue, null, _e(g.value, ($) => (h(), S("div", {
2386
2385
  key: $.name,
2387
2386
  class: "search-field-item"
2388
2387
  }, [
2389
- m("label", Bn, R($.title || $.name), 1),
2388
+ m("label", Bn, B($.title || $.name), 1),
2390
2389
  m("div", zn, [
2391
2390
  (h(), J(ia(s($)), kt({ ref_for: !0 }, d($)), null, 16))
2392
2391
  ])
@@ -2523,7 +2522,7 @@ const Sn = { class: "data-viewer" }, kn = { class: "viewer-header" }, Mn = { cla
2523
2522
  gap: `${w.value}px`
2524
2523
  })
2525
2524
  }, [
2526
- (h(!0), S(ue, null, we(p.value, (oe) => (h(), S("div", {
2525
+ (h(!0), S(ue, null, _e(p.value, (oe) => (h(), S("div", {
2527
2526
  key: oe.key,
2528
2527
  class: "query-field-item",
2529
2528
  style: yt({ gridColumn: `span ${oe.span || 1}` })
@@ -2531,7 +2530,7 @@ const Sn = { class: "data-viewer" }, kn = { class: "viewer-header" }, Mn = { cla
2531
2530
  m("label", {
2532
2531
  class: "field-label",
2533
2532
  style: yt({ width: `${d.value}px` })
2534
- }, R(oe.label), 5),
2533
+ }, B(oe.label), 5),
2535
2534
  m("div", Hn, [
2536
2535
  (h(), J(ia(x(oe)), kt({ ref_for: !0 }, C(oe)), null, 16))
2537
2536
  ])
@@ -2942,8 +2941,8 @@ const Ml = { class: "list-preset-manager" }, $l = {
2942
2941
  const _ = g.value.trim().toLowerCase();
2943
2942
  return _ ? o.value.filter(
2944
2943
  (v) => {
2945
- var z;
2946
- return v.title.toLowerCase().includes(_) || ((z = v.description) == null ? void 0 : z.toLowerCase().includes(_));
2944
+ var R;
2945
+ return v.title.toLowerCase().includes(_) || ((R = v.description) == null ? void 0 : R.toLowerCase().includes(_));
2947
2946
  }
2948
2947
  ) : o.value;
2949
2948
  });
@@ -2957,9 +2956,9 @@ const Ml = { class: "list-preset-manager" }, $l = {
2957
2956
  s.value = k(M.value);
2958
2957
  }
2959
2958
  function k(_) {
2960
- const v = t.availableColumns && t.availableColumns.length > 0 ? t.availableColumns : _.columns.map((X) => ({ name: X, type: "TEXT", title: X })), z = new Map((_.columnSettings || []).map((X) => [X.name, X])), N = new Set(_.columns || []), ee = N.size > 0;
2959
+ const v = t.availableColumns && t.availableColumns.length > 0 ? t.availableColumns : _.columns.map((X) => ({ name: X, type: "TEXT", title: X })), R = new Map((_.columnSettings || []).map((X) => [X.name, X])), N = new Set(_.columns || []), ee = N.size > 0;
2961
2960
  return v.map((X, ke) => {
2962
- const de = z.get(X.name);
2961
+ const de = R.get(X.name);
2963
2962
  return {
2964
2963
  name: X.name,
2965
2964
  title: X.title,
@@ -2978,8 +2977,8 @@ const Ml = { class: "list-preset-manager" }, $l = {
2978
2977
  fixed: X.fixed
2979
2978
  }));
2980
2979
  }
2981
- function B(_) {
2982
- const v = s.value.length > 0 ? s.value : k(_), z = p.value.saveQueryConditions;
2980
+ function z(_) {
2981
+ const v = s.value.length > 0 ? s.value : k(_), R = p.value.saveQueryConditions;
2983
2982
  return {
2984
2983
  columns: v.filter((N) => N.visible).map((N) => N.name),
2985
2984
  columnSettings: v.map((N, ee) => ({
@@ -2990,8 +2989,8 @@ const Ml = { class: "list-preset-manager" }, $l = {
2990
2989
  fixed: N.fixed,
2991
2990
  order: ee
2992
2991
  })),
2993
- slice: z ? _.slice : [],
2994
- orderBy: z ? _.orderBy : [],
2992
+ slice: R ? _.slice : [],
2993
+ orderBy: R ? _.orderBy : [],
2995
2994
  pageSize: _.pageSize
2996
2995
  };
2997
2996
  }
@@ -3009,10 +3008,10 @@ const Ml = { class: "list-preset-manager" }, $l = {
3009
3008
  return _.columns.length > 0 ? !0 : (me.warning("请至少保留一个显示字段"), !1);
3010
3009
  }
3011
3010
  function xe(_, v) {
3012
- const z = _ + v;
3013
- if (z < 0 || z >= s.value.length) return;
3014
- const N = s.value.slice(), ee = N[_], X = N[z];
3015
- !ee || !X || (N[_] = X, N[z] = ee, s.value = N);
3011
+ const R = _ + v;
3012
+ if (R < 0 || R >= s.value.length) return;
3013
+ const N = s.value.slice(), ee = N[_], X = N[R];
3014
+ !ee || !X || (N[_] = X, N[R] = ee, s.value = N);
3016
3015
  }
3017
3016
  function se() {
3018
3017
  d.value = null, p.value = {
@@ -3038,12 +3037,12 @@ const Ml = { class: "list-preset-manager" }, $l = {
3038
3037
  }
3039
3038
  }
3040
3039
  async function j(_) {
3041
- var z, N, ee;
3040
+ var R, N, ee;
3042
3041
  const v = ce(_);
3043
3042
  w.value = _.id, t.applyState({
3044
3043
  columns: _.columns,
3045
3044
  columnSettings: _.columnSettings,
3046
- slice: ((z = _.query) == null ? void 0 : z.slice) || [],
3045
+ slice: ((R = _.query) == null ? void 0 : R.slice) || [],
3047
3046
  orderBy: ((N = _.query) == null ? void 0 : N.orderBy) || [],
3048
3047
  pageSize: _.pageSize
3049
3048
  }), await ((ee = t.reload) == null ? void 0 : ee.call(t)), l.value = !1, v.length > 0 && me.warning(`已忽略失效字段: ${v.slice(0, 3).join("、")}${v.length > 3 ? "..." : ""}`), me.success(`已应用: ${_.title}`);
@@ -3060,17 +3059,17 @@ const Ml = { class: "list-preset-manager" }, $l = {
3060
3059
  function q() {
3061
3060
  se();
3062
3061
  }
3063
- async function _e() {
3062
+ async function ye() {
3064
3063
  const _ = p.value.title.trim();
3065
3064
  if (!_) {
3066
3065
  me.warning("请输入列表名称");
3067
3066
  return;
3068
3067
  }
3069
- const v = B(M.value);
3068
+ const v = z(M.value);
3070
3069
  if (he(v)) {
3071
3070
  r.value = !0;
3072
3071
  try {
3073
- const z = !!d.value, N = {
3072
+ const R = !!d.value, N = {
3074
3073
  title: _,
3075
3074
  description: p.value.description.trim() || void 0,
3076
3075
  columns: v.columns,
@@ -3082,7 +3081,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3082
3081
  pageSize: v.pageSize,
3083
3082
  visibility: p.value.visibility,
3084
3083
  isDefault: p.value.isDefault
3085
- }, ee = z && d.value ? await Gt(t.config.userId, d.value, N) : await Cl({
3084
+ }, ee = R && d.value ? await Gt(t.config.userId, d.value, N) : await Cl({
3086
3085
  userId: t.config.userId,
3087
3086
  model: t.config.model,
3088
3087
  businessKey: t.config.businessKey
@@ -3090,20 +3089,20 @@ const Ml = { class: "list-preset-manager" }, $l = {
3090
3089
  o.value = [ee, ...o.value.filter((X) => X.id !== ee.id)], ee.isDefault && (o.value = o.value.map((X) => ({
3091
3090
  ...X,
3092
3091
  isDefault: X.id === ee.id
3093
- }))), se(), me.success(z ? "自定义列表已更新" : "自定义列表已保存");
3094
- } catch (z) {
3095
- me.error(I(z, d.value ? "更新自定义列表失败" : "保存自定义列表失败"));
3092
+ }))), se(), me.success(R ? "自定义列表已更新" : "自定义列表已保存");
3093
+ } catch (R) {
3094
+ me.error(I(R, d.value ? "更新自定义列表失败" : "保存自定义列表失败"));
3096
3095
  } finally {
3097
3096
  r.value = !1;
3098
3097
  }
3099
3098
  }
3100
3099
  }
3101
3100
  async function $e(_) {
3102
- const v = B(M.value);
3101
+ const v = z(M.value);
3103
3102
  if (he(v)) {
3104
3103
  r.value = !0;
3105
3104
  try {
3106
- const z = await Gt(t.config.userId, _.id, {
3105
+ const R = await Gt(t.config.userId, _.id, {
3107
3106
  title: _.title,
3108
3107
  description: _.description,
3109
3108
  columns: v.columns,
@@ -3116,23 +3115,23 @@ const Ml = { class: "list-preset-manager" }, $l = {
3116
3115
  visibility: _.visibility,
3117
3116
  isDefault: _.isDefault
3118
3117
  });
3119
- o.value = o.value.map((N) => N.id === z.id ? z : N), z.isDefault && (o.value = o.value.map((N) => ({
3118
+ o.value = o.value.map((N) => N.id === R.id ? R : N), R.isDefault && (o.value = o.value.map((N) => ({
3120
3119
  ...N,
3121
- isDefault: N.id === z.id
3120
+ isDefault: N.id === R.id
3122
3121
  }))), me.success("已覆盖自定义列表");
3123
- } catch (z) {
3124
- me.error(I(z, "覆盖自定义列表失败"));
3122
+ } catch (R) {
3123
+ me.error(I(R, "覆盖自定义列表失败"));
3125
3124
  } finally {
3126
3125
  r.value = !1;
3127
3126
  }
3128
3127
  }
3129
3128
  }
3130
- async function ye(_) {
3129
+ async function be(_) {
3131
3130
  try {
3132
3131
  const v = await kl(t.config.userId, _.id);
3133
- o.value = o.value.map((z) => ({
3134
- ...z,
3135
- isDefault: z.id === v.id
3132
+ o.value = o.value.map((R) => ({
3133
+ ...R,
3134
+ isDefault: R.id === v.id
3136
3135
  })), me.success("默认列表已更新");
3137
3136
  } catch (v) {
3138
3137
  me.error(I(v, "设置默认列表失败"));
@@ -3183,7 +3182,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3183
3182
  loadPresets: ge,
3184
3183
  openDialog: oe,
3185
3184
  overwritePreset: $e,
3186
- saveCurrentPreset: _e,
3185
+ saveCurrentPreset: ye,
3187
3186
  startEditPreset: F,
3188
3187
  setDraft: (_) => {
3189
3188
  p.value = {
@@ -3196,16 +3195,16 @@ const Ml = { class: "list-preset-manager" }, $l = {
3196
3195
  getColumnDraft: () => s.value,
3197
3196
  syncColumnDraftFromState: L
3198
3197
  }), (_, v) => {
3199
- const z = U("el-button"), N = U("el-input"), ee = U("el-icon"), X = U("el-empty"), ke = U("el-tag"), de = U("el-dropdown-item"), be = U("el-dropdown-menu"), Ae = U("el-dropdown"), Qe = U("el-scrollbar"), Pe = U("el-form-item"), Be = U("el-radio"), ze = U("el-radio-group"), W = U("el-checkbox"), Fe = U("el-form"), re = U("el-input-number"), De = U("el-option"), mt = U("el-select"), tt = U("el-descriptions-item"), vt = U("el-descriptions"), Ue = U("el-dialog");
3198
+ const R = U("el-button"), N = U("el-input"), ee = U("el-icon"), X = U("el-empty"), ke = U("el-tag"), de = U("el-dropdown-item"), we = U("el-dropdown-menu"), Ae = U("el-dropdown"), Qe = U("el-scrollbar"), Pe = U("el-form-item"), Be = U("el-radio"), ze = U("el-radio-group"), W = U("el-checkbox"), Fe = U("el-form"), re = U("el-input-number"), De = U("el-option"), mt = U("el-select"), tt = U("el-descriptions-item"), vt = U("el-descriptions"), Ue = U("el-dialog");
3200
3199
  return h(), S("div", Ml, [
3201
- c(z, {
3200
+ c(R, {
3202
3201
  "data-testid": "list-preset-open",
3203
3202
  size: "small",
3204
3203
  icon: ie(il),
3205
3204
  onClick: oe
3206
3205
  }, {
3207
3206
  default: b(() => [
3208
- O(R(x.value), 1)
3207
+ O(B(x.value), 1)
3209
3208
  ]),
3210
3209
  _: 1
3211
3210
  }, 8, ["icon"]),
@@ -3219,7 +3218,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3219
3218
  }, {
3220
3219
  footer: b(() => [
3221
3220
  m("div", Kl, [
3222
- c(z, {
3221
+ c(R, {
3223
3222
  onClick: v[6] || (v[6] = (Y) => l.value = !1)
3224
3223
  }, {
3225
3224
  default: b(() => [...v[26] || (v[26] = [
@@ -3227,7 +3226,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3227
3226
  ])]),
3228
3227
  _: 1
3229
3228
  }),
3230
- d.value ? (h(), J(z, {
3229
+ d.value ? (h(), J(R, {
3231
3230
  key: 0,
3232
3231
  onClick: q
3233
3232
  }, {
@@ -3236,14 +3235,14 @@ const Ml = { class: "list-preset-manager" }, $l = {
3236
3235
  ])]),
3237
3236
  _: 1
3238
3237
  })) : G("", !0),
3239
- c(z, {
3238
+ c(R, {
3240
3239
  "data-testid": "list-preset-save",
3241
3240
  type: "primary",
3242
3241
  loading: r.value,
3243
- onClick: _e
3242
+ onClick: ye
3244
3243
  }, {
3245
3244
  default: b(() => [
3246
- O(R(d.value ? "更新方案" : "保存当前"), 1)
3245
+ O(B(d.value ? "更新方案" : "保存当前"), 1)
3247
3246
  ]),
3248
3247
  _: 1
3249
3248
  }, 8, ["loading"])
@@ -3260,15 +3259,15 @@ const Ml = { class: "list-preset-manager" }, $l = {
3260
3259
  "prefix-icon": ie(Wt),
3261
3260
  clearable: ""
3262
3261
  }, null, 8, ["modelValue", "prefix-icon"]),
3263
- c(z, {
3262
+ c(R, {
3264
3263
  icon: ie(cl),
3265
3264
  loading: n.value,
3266
3265
  onClick: ge
3267
3266
  }, null, 8, ["icon", "loading"])
3268
3267
  ]),
3269
3268
  C.value || $.value ? (h(), S("div", Pl, [
3270
- C.value ? (h(), S("span", Dl, "当前已应用:" + R(C.value.title), 1)) : G("", !0),
3271
- $.value ? (h(), S("span", El, "默认方案:" + R($.value.title), 1)) : G("", !0)
3269
+ C.value ? (h(), S("span", Dl, "当前已应用:" + B(C.value.title), 1)) : G("", !0),
3270
+ $.value ? (h(), S("span", El, "默认方案:" + B($.value.title), 1)) : G("", !0)
3272
3271
  ])) : G("", !0),
3273
3272
  c(Qe, { height: "430px" }, {
3274
3273
  default: b(() => [
@@ -3283,7 +3282,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3283
3282
  ])) : D.value.length === 0 ? (h(), J(X, {
3284
3283
  key: 1,
3285
3284
  description: "暂无自定义列表"
3286
- })) : (h(!0), S(ue, { key: 2 }, we(D.value, (Y) => {
3285
+ })) : (h(!0), S(ue, { key: 2 }, _e(D.value, (Y) => {
3287
3286
  var Ne, Ve, He, at;
3288
3287
  return h(), S("article", {
3289
3288
  key: Y.id,
@@ -3292,7 +3291,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3292
3291
  }, [
3293
3292
  m("div", Fl, [
3294
3293
  m("div", Ll, [
3295
- m("span", Il, R(Y.title), 1),
3294
+ m("span", Il, B(Y.title), 1),
3296
3295
  Y.isDefault ? (h(), J(ke, {
3297
3296
  key: 0,
3298
3297
  size: "small",
@@ -3317,21 +3316,21 @@ const Ml = { class: "list-preset-manager" }, $l = {
3317
3316
  type: qe(Y.visibility)
3318
3317
  }, {
3319
3318
  default: b(() => [
3320
- O(R(Re(Y.visibility)), 1)
3319
+ O(B(Re(Y.visibility)), 1)
3321
3320
  ]),
3322
3321
  _: 2
3323
3322
  }, 1032, ["type"])
3324
3323
  ]),
3325
- Y.description ? (h(), S("p", Rl, R(Y.description), 1)) : G("", !0),
3324
+ Y.description ? (h(), S("p", Rl, B(Y.description), 1)) : G("", !0),
3326
3325
  m("div", Bl, [
3327
- m("span", null, R(Y.columns.length) + " 列", 1),
3328
- m("span", null, R(((Ve = (Ne = Y.query) == null ? void 0 : Ne.slice) == null ? void 0 : Ve.length) || 0) + " 条件", 1),
3329
- m("span", null, R(((at = (He = Y.query) == null ? void 0 : He.orderBy) == null ? void 0 : at.length) || 0) + " 排序", 1),
3330
- m("span", null, R(Ee(Y.updatedAt)), 1)
3326
+ m("span", null, B(Y.columns.length) + " 列", 1),
3327
+ m("span", null, B(((Ve = (Ne = Y.query) == null ? void 0 : Ne.slice) == null ? void 0 : Ve.length) || 0) + " 条件", 1),
3328
+ m("span", null, B(((at = (He = Y.query) == null ? void 0 : He.orderBy) == null ? void 0 : at.length) || 0) + " 排序", 1),
3329
+ m("span", null, B(Ee(Y.updatedAt)), 1)
3331
3330
  ])
3332
3331
  ]),
3333
3332
  m("div", zl, [
3334
- c(z, {
3333
+ c(R, {
3335
3334
  "data-testid": "list-preset-apply",
3336
3335
  link: "",
3337
3336
  type: "primary",
@@ -3344,7 +3343,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3344
3343
  }, 8, ["onClick"]),
3345
3344
  c(Ae, { trigger: "click" }, {
3346
3345
  dropdown: b(() => [
3347
- c(be, null, {
3346
+ c(we, null, {
3348
3347
  default: b(() => [
3349
3348
  c(de, {
3350
3349
  onClick: (Je) => F(Y)
@@ -3363,7 +3362,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3363
3362
  _: 1
3364
3363
  }, 8, ["onClick"]),
3365
3364
  c(de, {
3366
- onClick: (Je) => ye(Y)
3365
+ onClick: (Je) => be(Y)
3367
3366
  }, {
3368
3367
  default: b(() => [
3369
3368
  c(ee, null, {
@@ -3397,7 +3396,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3397
3396
  }, 1024)
3398
3397
  ]),
3399
3398
  default: b(() => [
3400
- c(z, {
3399
+ c(R, {
3401
3400
  "data-testid": "list-preset-more",
3402
3401
  link: "",
3403
3402
  icon: ie(fa)
@@ -3414,8 +3413,8 @@ const Ml = { class: "list-preset-manager" }, $l = {
3414
3413
  ]),
3415
3414
  m("section", Nl, [
3416
3415
  m("div", Ol, [
3417
- m("h4", null, R(d.value ? "编辑当前方案" : "保存当前列表"), 1),
3418
- d.value ? (h(), J(z, {
3416
+ m("h4", null, B(d.value ? "编辑当前方案" : "保存当前列表"), 1),
3417
+ d.value ? (h(), J(R, {
3419
3418
  key: 0,
3420
3419
  link: "",
3421
3420
  type: "primary",
@@ -3534,7 +3533,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3534
3533
  m("div", Hl, [
3535
3534
  m("div", ql, [
3536
3535
  v[23] || (v[23] = m("span", null, "字段配置", -1)),
3537
- c(z, {
3536
+ c(R, {
3538
3537
  link: "",
3539
3538
  type: "primary",
3540
3539
  onClick: L
@@ -3547,7 +3546,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3547
3546
  ]),
3548
3547
  c(Qe, { height: "220px" }, {
3549
3548
  default: b(() => [
3550
- (h(!0), S(ue, null, we(s.value, (Y, Ne) => (h(), S("div", {
3549
+ (h(!0), S(ue, null, _e(s.value, (Y, Ne) => (h(), S("div", {
3551
3550
  key: Y.name,
3552
3551
  class: "column-config-row"
3553
3552
  }, [
@@ -3559,7 +3558,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3559
3558
  m("span", {
3560
3559
  class: "column-name",
3561
3560
  title: Y.name
3562
- }, R(Y.title || Y.name), 9, Ql),
3561
+ }, B(Y.title || Y.name), 9, Ql),
3563
3562
  c(re, {
3564
3563
  modelValue: Y.width,
3565
3564
  "onUpdate:modelValue": (Ve) => Y.width = Ve,
@@ -3589,7 +3588,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3589
3588
  _: 1
3590
3589
  }, 8, ["modelValue", "onUpdate:modelValue"]),
3591
3590
  m("div", jl, [
3592
- c(z, {
3591
+ c(R, {
3593
3592
  link: "",
3594
3593
  disabled: Ne === 0,
3595
3594
  onClick: (Ve) => xe(Ne, -1)
@@ -3599,7 +3598,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3599
3598
  ])]),
3600
3599
  _: 1
3601
3600
  }, 8, ["disabled", "onClick"]),
3602
- c(z, {
3601
+ c(R, {
3603
3602
  link: "",
3604
3603
  disabled: Ne === s.value.length - 1,
3605
3604
  onClick: (Ve) => xe(Ne, 1)
@@ -3624,18 +3623,18 @@ const Ml = { class: "list-preset-manager" }, $l = {
3624
3623
  default: b(() => [
3625
3624
  c(tt, { label: "当前列数" }, {
3626
3625
  default: b(() => [
3627
- O(R(u.value.length), 1)
3626
+ O(B(u.value.length), 1)
3628
3627
  ]),
3629
3628
  _: 1
3630
3629
  }),
3631
3630
  c(tt, { label: "筛选条件" }, {
3632
3631
  default: b(() => [
3633
3632
  m("div", Gl, [
3634
- m("span", null, R(p.value.saveQueryConditions ? M.value.slice.length : 0) + " 条", 1),
3635
- (h(!0), S(ue, null, we(Q.value, (Y) => (h(), S("span", {
3633
+ m("span", null, B(p.value.saveQueryConditions ? M.value.slice.length : 0) + " 条", 1),
3634
+ (h(!0), S(ue, null, _e(Q.value, (Y) => (h(), S("span", {
3636
3635
  key: Y,
3637
3636
  class: "query-summary-item"
3638
- }, R(Y), 1))), 128))
3637
+ }, B(Y), 1))), 128))
3639
3638
  ])
3640
3639
  ]),
3641
3640
  _: 1
@@ -3643,18 +3642,18 @@ const Ml = { class: "list-preset-manager" }, $l = {
3643
3642
  c(tt, { label: "排序规则" }, {
3644
3643
  default: b(() => [
3645
3644
  m("div", Xl, [
3646
- m("span", null, R(p.value.saveQueryConditions ? M.value.orderBy.length : 0) + " 条", 1),
3647
- (h(!0), S(ue, null, we(K.value, (Y) => (h(), S("span", {
3645
+ m("span", null, B(p.value.saveQueryConditions ? M.value.orderBy.length : 0) + " 条", 1),
3646
+ (h(!0), S(ue, null, _e(K.value, (Y) => (h(), S("span", {
3648
3647
  key: Y,
3649
3648
  class: "query-summary-item"
3650
- }, R(Y), 1))), 128))
3649
+ }, B(Y), 1))), 128))
3651
3650
  ])
3652
3651
  ]),
3653
3652
  _: 1
3654
3653
  }),
3655
3654
  c(tt, { label: "分页大小" }, {
3656
3655
  default: b(() => [
3657
- O(R(M.value.pageSize || "-"), 1)
3656
+ O(B(M.value.pageSize || "-"), 1)
3658
3657
  ]),
3659
3658
  _: 1
3660
3659
  })
@@ -3772,12 +3771,12 @@ const Ml = { class: "list-preset-manager" }, $l = {
3772
3771
  const I = T(() => K.value ? D(s.activeTrigger.value) : ""), oe = T(() => !o.value || s.loading.value || s.data.value.length === 0 ? null : s.lastError.value ? "查询失败" : null), L = T(() => o.value ? s.serverSummary.value : n.serverSummary || null), k = T(() => {
3773
3772
  var f;
3774
3773
  return w.value && w.value > 0 ? w.value : o.value && ((f = n.schema) != null && f.pageSize) ? n.schema.pageSize : n.pageSize;
3775
- }), B = T(() => {
3774
+ }), z = T(() => {
3776
3775
  var f;
3777
3776
  return o.value && ((f = n.schema) == null ? void 0 : f.queryMode) !== void 0 ? n.schema.queryMode : n.queryMode;
3778
- }), ne = T(() => B.value !== void 0), ce = T(() => B.value === "panel" || B.value === "combined"), he = T(() => ne.value ? ce.value && !!n.querySchema : !!n.showQueryPanel && !!n.querySchema), xe = T(() => {
3777
+ }), ne = T(() => z.value !== void 0), ce = T(() => z.value === "panel" || z.value === "combined"), he = T(() => ne.value ? ce.value && !!n.querySchema : !!n.showQueryPanel && !!n.querySchema), xe = T(() => {
3779
3778
  var f;
3780
- return ne.value ? B.value === "column" || B.value === "combined" : o.value && ((f = n.schema) == null ? void 0 : f.showFilters) !== void 0 ? n.schema.showFilters : n.showFilters;
3779
+ return ne.value ? z.value === "column" || z.value === "combined" : o.value && ((f = n.schema) == null ? void 0 : f.showFilters) !== void 0 ? n.schema.showFilters : n.showFilters;
3781
3780
  }), se = T(() => {
3782
3781
  var f;
3783
3782
  return o.value && ((f = n.schema) == null ? void 0 : f.showPager) !== void 0 ? n.schema.showPager : n.showPager;
@@ -3787,13 +3786,13 @@ const Ml = { class: "list-preset-manager" }, $l = {
3787
3786
  }), F = T(() => {
3788
3787
  var f;
3789
3788
  return o.value && ((f = n.schema) != null && f.density) ? n.schema.density : n.density ?? "compact";
3790
- }), q = T(() => d.value ? d.value.slice || [] : n.initialSlice), _e = T(() => {
3789
+ }), q = T(() => d.value ? d.value.slice || [] : n.initialSlice), ye = T(() => {
3791
3790
  var f;
3792
3791
  return n.localFilter !== void 0 ? n.localFilter : o.value ? ((f = n.schema) == null ? void 0 : f.localFilter) ?? !1 : !0;
3793
3792
  }), $e = T(() => {
3794
3793
  var f;
3795
3794
  return o.value && ((f = n.schema) != null && f.searchLayout) ? n.schema.searchLayout : n.searchLayout;
3796
- }), ye = T(() => {
3795
+ }), be = T(() => {
3797
3796
  const f = n.listPreset;
3798
3797
  return f ? f === !0 ? (console.warn("[DataTableWithSearch] listPreset=true requires object config with userId and model"), null) : f.enabled === !1 ? null : !f.userId || !f.model ? (console.warn("[DataTableWithSearch] listPreset requires userId and model"), null) : {
3799
3798
  autoLoadDefault: !0,
@@ -3802,7 +3801,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3802
3801
  enabled: !0
3803
3802
  } : null;
3804
3803
  }), Se = T(() => {
3805
- const f = ye.value;
3804
+ const f = be.value;
3806
3805
  return !!f && f.placement !== "external";
3807
3806
  }), Re = T(() => {
3808
3807
  var V;
@@ -3820,7 +3819,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3820
3819
  for (const V of Object.keys(g))
3821
3820
  !qe.has(V) && (V.startsWith("column-") || V.startsWith("filter-")) && (f[V] = g[V]);
3822
3821
  return f;
3823
- }), _ = E(), v = E(), z = E(), N = E([]), ee = E([]), X = E([]), ke = T(() => {
3822
+ }), _ = E(), v = E(), R = E(), N = E([]), ee = E([]), X = E([]), ke = T(() => {
3824
3823
  const f = [...X.value], V = new Set(f.map((Z) => Z.field));
3825
3824
  if (n.filterMergeMode === "replace") {
3826
3825
  const Z = N.value.length > 0 ? N.value : ee.value;
@@ -3836,9 +3835,9 @@ const Ml = { class: "list-preset-manager" }, $l = {
3836
3835
  });
3837
3836
  function de(f = {}) {
3838
3837
  var V, Z;
3839
- (Z = (V = z.value) == null ? void 0 : V.clearSelection) == null || Z.call(V, f);
3838
+ (Z = (V = R.value) == null ? void 0 : V.clearSelection) == null || Z.call(V, f);
3840
3839
  }
3841
- async function be(f = "refresh") {
3840
+ async function we(f = "refresh") {
3842
3841
  if (!(!o.value || !n.fetchData)) {
3843
3842
  f !== "mount" && de(), s.setSlice(ke.value);
3844
3843
  try {
@@ -3859,7 +3858,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3859
3858
  };
3860
3859
  }
3861
3860
  async function Qe() {
3862
- const f = ye.value;
3861
+ const f = be.value;
3863
3862
  if (!(!f || f.autoLoadDefault === !1))
3864
3863
  try {
3865
3864
  const V = await xl({
@@ -3873,7 +3872,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3873
3872
  }
3874
3873
  }
3875
3874
  St(async () => {
3876
- await Qe(), o.value && be("mount");
3875
+ await Qe(), o.value && we("mount");
3877
3876
  });
3878
3877
  function Pe(f) {
3879
3878
  X.value = f;
@@ -3908,13 +3907,13 @@ const Ml = { class: "list-preset-manager" }, $l = {
3908
3907
  ee.value = f, r("filter-commit", ke.value), Ue();
3909
3908
  }
3910
3909
  function Ue() {
3911
- r("filter-change", ke.value), o.value && (s.currentPage.value = 1, be("filter"));
3910
+ r("filter-change", ke.value), o.value && (s.currentPage.value = 1, we("filter"));
3912
3911
  }
3913
3912
  function Y(f, V) {
3914
- r("page-change", f, V), w.value = V, o.value && (s.setPage(f, V), be("page"));
3913
+ r("page-change", f, V), w.value = V, o.value && (s.setPage(f, V), we("page"));
3915
3914
  }
3916
3915
  function Ne(f, V) {
3917
- r("sort-change", f, V), o.value && (f && V ? s.setSort([{ field: f, dir: V }]) : s.setSort([]), be("sort"));
3916
+ r("sort-change", f, V), o.value && (f && V ? s.setSort([{ field: f, dir: V }]) : s.setSort([]), we("sort"));
3918
3917
  }
3919
3918
  function Ve() {
3920
3919
  const f = u.value.filter((pe) => pe.name !== "_actions"), V = f.map((pe) => pe.name), Z = f.map((pe, Le) => ({
@@ -3940,13 +3939,13 @@ const Ml = { class: "list-preset-manager" }, $l = {
3940
3939
  slice: f.slice || [],
3941
3940
  orderBy: f.orderBy || [],
3942
3941
  pageSize: f.pageSize
3943
- }, w.value = f.pageSize && f.pageSize > 0 ? f.pageSize : void 0, N.value = [], X.value = [], ee.value = f.slice || [], s.setSort(f.orderBy || []), o.value && (s.setPage(1, k.value), V.reload && be("reload"));
3942
+ }, w.value = f.pageSize && f.pageSize > 0 ? f.pageSize : void 0, N.value = [], X.value = [], ee.value = f.slice || [], s.setSort(f.orderBy || []), o.value && (s.setPage(1, k.value), V.reload && we("reload"));
3944
3943
  }
3945
3944
  function at(f = {}) {
3946
- d.value = null, w.value = void 0, N.value = [], X.value = [], ee.value = [], s.setSort([]), o.value && (s.setPage(1, k.value), f.reload && be("reload"));
3945
+ d.value = null, w.value = void 0, N.value = [], X.value = [], ee.value = [], s.setSort([]), o.value && (s.setPage(1, k.value), f.reload && we("reload"));
3947
3946
  }
3948
3947
  async function Je() {
3949
- o.value && (s.currentPage.value = 1, await be("reload"));
3948
+ o.value && (s.currentPage.value = 1, await we("reload"));
3950
3949
  }
3951
3950
  const Dt = T(() => {
3952
3951
  const f = Object.keys(l).filter((V) => !V.startsWith("on")).reduce((V, Z) => ({ ...V, [Z]: l[Z] }), {});
@@ -3962,7 +3961,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
3962
3961
  showFilters: xe.value,
3963
3962
  showPager: se.value,
3964
3963
  initialSlice: q.value,
3965
- localFilter: _e.value,
3964
+ localFilter: ye.value,
3966
3965
  serverSummary: L.value,
3967
3966
  filterOptionsLoader: n.filterOptionsLoader,
3968
3967
  filterMemberLoader: n.filterMemberLoader,
@@ -4008,7 +4007,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
4008
4007
  /** 获取 QueryPanel 实例 */
4009
4008
  getQueryPanel: () => v.value,
4010
4009
  /** 获取 DataTable 实例 */
4011
- getDataTable: () => z.value,
4010
+ getDataTable: () => R.value,
4012
4011
  /** 清空搜索工具栏筛选 */
4013
4012
  clearSearchFilters: () => {
4014
4013
  var f;
@@ -4017,7 +4016,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
4017
4016
  /** 清空表头筛选 */
4018
4017
  clearTableFilters: () => {
4019
4018
  var f;
4020
- return (f = z.value) == null ? void 0 : f.clearFilters();
4019
+ return (f = R.value) == null ? void 0 : f.clearFilters();
4021
4020
  },
4022
4021
  /** 触发 QueryPanel 查询,提交当前表单值 */
4023
4022
  searchQueryPanel: W,
@@ -4026,24 +4025,24 @@ const Ml = { class: "list-preset-manager" }, $l = {
4026
4025
  /** 清空所有筛选 */
4027
4026
  clearAllFilters: () => {
4028
4027
  var f, V;
4029
- X.value = [], Fe(), (f = _.value) == null || f.clearFilters(), (V = z.value) == null || V.clearFilters();
4028
+ X.value = [], Fe(), (f = _.value) == null || f.clearFilters(), (V = R.value) == null || V.clearFilters();
4030
4029
  },
4031
4030
  /** 获取合并后的筛选条件 */
4032
4031
  getMergedFilters: () => ke.value,
4033
4032
  /** 重置分页 */
4034
4033
  resetPagination: () => {
4035
4034
  var f;
4036
- return (f = z.value) == null ? void 0 : f.resetPagination();
4035
+ return (f = R.value) == null ? void 0 : f.resetPagination();
4037
4036
  },
4038
4037
  /** 刷新数据(仅 Schema 模式) */
4039
4038
  refresh: () => {
4040
4039
  if (o.value)
4041
- return be("refresh");
4040
+ return we("refresh");
4042
4041
  },
4043
4042
  /** 重新加载(重置分页后刷新,仅 Schema 模式) */
4044
4043
  reload: () => {
4045
4044
  if (o.value)
4046
- return s.currentPage.value = 1, be("reload");
4045
+ return s.currentPage.value = 1, we("reload");
4047
4046
  },
4048
4047
  /** 注册查询钩子(运行时) */
4049
4048
  addQueryHook: s.addHook,
@@ -4052,12 +4051,12 @@ const Ml = { class: "list-preset-manager" }, $l = {
4052
4051
  /** 获取当前选中行数组(代理 DataTable) */
4053
4052
  getSelectedRows: () => {
4054
4053
  var f, V;
4055
- return ((V = (f = z.value) == null ? void 0 : f.getSelectedRows) == null ? void 0 : V.call(f)) ?? [];
4054
+ return ((V = (f = R.value) == null ? void 0 : f.getSelectedRows) == null ? void 0 : V.call(f)) ?? [];
4056
4055
  },
4057
4056
  /** 获取当前选中行数量(代理 DataTable) */
4058
4057
  getSelectedCount: () => {
4059
4058
  var f, V;
4060
- return ((V = (f = z.value) == null ? void 0 : f.getSelectedCount) == null ? void 0 : V.call(f)) ?? 0;
4059
+ return ((V = (f = R.value) == null ? void 0 : f.getSelectedCount) == null ? void 0 : V.call(f)) ?? 0;
4061
4060
  },
4062
4061
  /** 清空选中行(代理 DataTable) */
4063
4062
  clearSelection: de,
@@ -4120,15 +4119,15 @@ const Ml = { class: "list-preset-manager" }, $l = {
4120
4119
  m("div", ao, [
4121
4120
  c(da, kt({
4122
4121
  ref_key: "dataTableRef",
4123
- ref: z
4122
+ ref: R
4124
4123
  }, Dt.value, ra(Et.value)), Sa({ _: 2 }, [
4125
- f.$slots.toolbar || Se.value && ((Z = ye.value) == null ? void 0 : Z.placement) !== "toolbar-right" ? {
4124
+ f.$slots.toolbar || Se.value && ((Z = be.value) == null ? void 0 : Z.placement) !== "toolbar-right" ? {
4126
4125
  name: "toolbar",
4127
4126
  fn: b(() => [
4128
4127
  Ie(f.$slots, "toolbar", {}, void 0, !0),
4129
- Se.value && ye.value && ye.value.placement !== "toolbar-right" ? (h(), J(Xt, {
4128
+ Se.value && be.value && be.value.placement !== "toolbar-right" ? (h(), J(Xt, {
4130
4129
  key: 0,
4131
- config: ye.value,
4130
+ config: be.value,
4132
4131
  "get-state": Ve,
4133
4132
  "apply-state": He,
4134
4133
  "available-columns": p.value,
@@ -4137,13 +4136,13 @@ const Ml = { class: "list-preset-manager" }, $l = {
4137
4136
  ]),
4138
4137
  key: "0"
4139
4138
  } : void 0,
4140
- f.$slots["toolbar-right"] || Se.value && ((pe = ye.value) == null ? void 0 : pe.placement) === "toolbar-right" ? {
4139
+ f.$slots["toolbar-right"] || Se.value && ((pe = be.value) == null ? void 0 : pe.placement) === "toolbar-right" ? {
4141
4140
  name: "toolbar-right",
4142
4141
  fn: b(() => [
4143
4142
  Ie(f.$slots, "toolbar-right", {}, void 0, !0),
4144
- Se.value && ye.value && ye.value.placement === "toolbar-right" ? (h(), J(Xt, {
4143
+ Se.value && be.value && be.value.placement === "toolbar-right" ? (h(), J(Xt, {
4145
4144
  key: 0,
4146
- config: ye.value,
4145
+ config: be.value,
4147
4146
  "get-state": Ve,
4148
4147
  "apply-state": He,
4149
4148
  "available-columns": p.value,
@@ -4177,7 +4176,7 @@ const Ml = { class: "list-preset-manager" }, $l = {
4177
4176
  ]),
4178
4177
  key: "4"
4179
4178
  } : void 0,
4180
- we(Ee.value, (Le, je) => ({
4179
+ _e(Ee.value, (Le, je) => ({
4181
4180
  name: je,
4182
4181
  fn: b((Ye) => [
4183
4182
  Ie(f.$slots, je, sa(ua(Ye || {})), void 0, !0)
@@ -4226,16 +4225,16 @@ const Ml = { class: "list-preset-manager" }, $l = {
4226
4225
  return g.pageScope === "perParent" ? "父级内分页" : "全局轴分页";
4227
4226
  }
4228
4227
  return (g, o) => t.value.length ? (h(), S("section", lo, [
4229
- (h(!0), S(ue, null, we(t.value, (s) => (h(), S("div", {
4228
+ (h(!0), S(ue, null, _e(t.value, (s) => (h(), S("div", {
4230
4229
  key: `${s.axis}:${s.field}`,
4231
4230
  class: "pivot-axis-page",
4232
4231
  "data-axis": s.axis,
4233
4232
  "data-field": s.field
4234
4233
  }, [
4235
- m("span", ro, R(s.axis === "rows" ? "行轴" : "列轴"), 1),
4236
- m("span", io, R(s.title), 1),
4237
- m("span", so, R(n(s)), 1),
4238
- m("span", uo, R(r(s)), 1),
4234
+ m("span", ro, B(s.axis === "rows" ? "行轴" : "列轴"), 1),
4235
+ m("span", io, B(s.title), 1),
4236
+ m("span", so, B(n(s)), 1),
4237
+ m("span", uo, B(r(s)), 1),
4239
4238
  s.hasMore ? (h(), S("span", co, "还有更多")) : G("", !0)
4240
4239
  ], 8, oo))), 128))
4241
4240
  ])) : G("", !0);
@@ -4340,33 +4339,33 @@ const Ml = { class: "list-preset-manager" }, $l = {
4340
4339
  t.value.length ? (h(), S("div", po, [
4341
4340
  C[0] || (C[0] = m("div", { class: "pivot-evidence-heading" }, "轴域范围", -1)),
4342
4341
  m("dl", ho, [
4343
- (h(!0), S(ue, null, we(t.value, ($) => (h(), S(ue, {
4342
+ (h(!0), S(ue, null, _e(t.value, ($) => (h(), S(ue, {
4344
4343
  key: $.label
4345
4344
  }, [
4346
- m("dt", null, R($.label), 1),
4347
- m("dd", null, R($.value), 1)
4345
+ m("dt", null, B($.label), 1),
4346
+ m("dd", null, B($.value), 1)
4348
4347
  ], 64))), 128))
4349
4348
  ])
4350
4349
  ])) : G("", !0),
4351
4350
  l.value.length ? (h(), S("div", go, [
4352
4351
  C[1] || (C[1] = m("div", { class: "pivot-evidence-heading" }, "派生指标证据", -1)),
4353
4352
  m("dl", yo, [
4354
- (h(!0), S(ue, null, we(l.value, ($) => (h(), S(ue, {
4353
+ (h(!0), S(ue, null, _e(l.value, ($) => (h(), S(ue, {
4355
4354
  key: $.label
4356
4355
  }, [
4357
- m("dt", null, R($.label), 1),
4358
- m("dd", null, R($.value), 1)
4356
+ m("dt", null, B($.label), 1),
4357
+ m("dd", null, B($.value), 1)
4359
4358
  ], 64))), 128))
4360
4359
  ])
4361
4360
  ])) : G("", !0),
4362
4361
  n.value.length ? (h(), S("div", bo, [
4363
4362
  C[2] || (C[2] = m("div", { class: "pivot-evidence-heading" }, "计算证据", -1)),
4364
4363
  m("dl", wo, [
4365
- (h(!0), S(ue, null, we(n.value, ($) => (h(), S(ue, {
4364
+ (h(!0), S(ue, null, _e(n.value, ($) => (h(), S(ue, {
4366
4365
  key: $.label
4367
4366
  }, [
4368
- m("dt", null, R($.label), 1),
4369
- m("dd", null, R($.value), 1)
4367
+ m("dt", null, B($.label), 1),
4368
+ m("dd", null, B($.value), 1)
4370
4369
  ], 64))), 128))
4371
4370
  ])
4372
4371
  ])) : G("", !0)
@@ -4533,7 +4532,7 @@ const $o = { class: "pivot-grid" }, Vo = { class: "pivot-grid-empty" }, To = /*
4533
4532
  c(M, sa(ua(o.value)), {
4534
4533
  empty: b(() => [
4535
4534
  Ie(p.$slots, "empty", {}, () => [
4536
- m("div", Vo, R(e.emptyText), 1)
4535
+ m("div", Vo, B(e.emptyText), 1)
4537
4536
  ], !0)
4538
4537
  ]),
4539
4538
  _: 3
@@ -4580,7 +4579,7 @@ const $o = { class: "pivot-grid" }, Vo = { class: "pivot-grid-empty" }, To = /*
4580
4579
  "column-pages": (o = e.viewModel.axisPages) == null ? void 0 : o.columns
4581
4580
  }, null, 8, ["row-axes", "column-axes", "row-pages", "column-pages"])) : G("", !0)
4582
4581
  ]),
4583
- e.error ? (h(), S("div", Ao, R(e.error), 1)) : t.value ? (h(), S("div", Lo, [
4582
+ e.error ? (h(), S("div", Ao, B(e.error), 1)) : t.value ? (h(), S("div", Lo, [
4584
4583
  c(Po, {
4585
4584
  "view-model": e.viewModel,
4586
4585
  loading: e.loading,
@@ -4590,12 +4589,12 @@ const $o = { class: "pivot-grid" }, Vo = { class: "pivot-grid-empty" }, To = /*
4590
4589
  }, {
4591
4590
  empty: b(() => [
4592
4591
  Ie(n.$slots, "empty", {}, () => [
4593
- m("div", Io, R(e.emptyText), 1)
4592
+ m("div", Io, B(e.emptyText), 1)
4594
4593
  ], !0)
4595
4594
  ]),
4596
4595
  _: 3
4597
4596
  }, 8, ["view-model", "loading", "height", "empty-text", "empty-cell-text"])
4598
- ])) : (h(), S("div", Fo, R(l.value), 1)),
4597
+ ])) : (h(), S("div", Fo, B(l.value), 1)),
4599
4598
  e.showEvidence && !e.error && t.value ? (h(), J(xo, {
4600
4599
  key: 3,
4601
4600
  "row-axes": e.viewModel.rowAxes,
@@ -4729,7 +4728,7 @@ const Qo = {
4729
4728
  Ie(n.$slots, "empty", {}, void 0, !0)
4730
4729
  ]),
4731
4730
  _: 3
4732
- }, 8, ["view-model", "loading", "error", "height", "empty-text", "empty-cell-text", "show-axis-pager", "show-evidence"])) : (h(), S("section", Qo, R(l.value), 1));
4731
+ }, 8, ["view-model", "loading", "error", "height", "empty-text", "empty-cell-text", "show-axis-pager", "show-evidence"])) : (h(), S("section", Qo, B(l.value), 1));
4733
4732
  }
4734
4733
  }), Ts = /* @__PURE__ */ Ce(jo, [["__scopeId", "data-v-d32e5d1c"]]), it = Mt.create({
4735
4734
  baseURL: "/data-viewer/api/saved-query",
@@ -4980,7 +4979,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
4980
4979
  title: "",
4981
4980
  description: "",
4982
4981
  visibility: "PRIVATE"
4983
- }), B = {
4982
+ }), z = {
4984
4983
  title: [
4985
4984
  { required: !0, message: "请输入查询名称", trigger: "blur" },
4986
4985
  { min: 2, max: 50, message: "长度在 2 到 50 个字符", trigger: "blur" }
@@ -5007,10 +5006,10 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5007
5006
  if (L.value) {
5008
5007
  await L.value.validate(), g.value = !0;
5009
5008
  try {
5010
- const j = u.value.map((_e) => ({
5011
- field: _e.field,
5012
- op: _e.op,
5013
- value: _e.defaultValue
5009
+ const j = u.value.map((ye) => ({
5010
+ field: ye.field,
5011
+ op: ye.op,
5012
+ value: ye.defaultValue
5014
5013
  })), F = {
5015
5014
  businessId: t.businessId,
5016
5015
  model: t.model,
@@ -5045,7 +5044,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5045
5044
  options: []
5046
5045
  })));
5047
5046
  }), (j, F) => {
5048
- const q = U("el-step"), _e = U("el-steps"), $e = U("el-input"), ye = U("el-checkbox"), Se = U("el-button"), Re = U("el-tag"), qe = U("el-checkbox-group"), Ee = U("el-scrollbar"), _ = U("el-empty"), v = U("el-option"), z = U("el-select"), N = U("el-form-item"), ee = U("el-radio"), X = U("el-radio-group"), ke = U("el-form"), de = U("el-card"), be = U("el-icon"), Ae = U("el-alert"), Qe = U("el-divider"), Pe = U("el-descriptions-item"), Be = U("el-descriptions"), ze = U("el-dialog");
5047
+ const q = U("el-step"), ye = U("el-steps"), $e = U("el-input"), be = U("el-checkbox"), Se = U("el-button"), Re = U("el-tag"), qe = U("el-checkbox-group"), Ee = U("el-scrollbar"), _ = U("el-empty"), v = U("el-option"), R = U("el-select"), N = U("el-form-item"), ee = U("el-radio"), X = U("el-radio-group"), ke = U("el-form"), de = U("el-card"), we = U("el-icon"), Ae = U("el-alert"), Qe = U("el-divider"), Pe = U("el-descriptions-item"), Be = U("el-descriptions"), ze = U("el-dialog");
5049
5048
  return h(), S(ue, null, [
5050
5049
  c(ze, {
5051
5050
  modelValue: n.value,
@@ -5099,7 +5098,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5099
5098
  ])
5100
5099
  ]),
5101
5100
  default: b(() => [
5102
- c(_e, {
5101
+ c(ye, {
5103
5102
  active: r.value,
5104
5103
  "finish-status": "success",
5105
5104
  "align-center": "",
@@ -5137,14 +5136,14 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5137
5136
  class: "mb-3"
5138
5137
  }, null, 8, ["modelValue", "prefix-icon"]),
5139
5138
  m("div", lr, [
5140
- c(ye, {
5139
+ c(be, {
5141
5140
  modelValue: d.value,
5142
5141
  "onUpdate:modelValue": F[1] || (F[1] = (W) => d.value = W),
5143
5142
  indeterminate: p.value,
5144
5143
  onChange: x
5145
5144
  }, {
5146
5145
  default: b(() => [
5147
- O(" 全选 (" + R(s.value.length) + "/" + R(e.availableColumns.length) + ") ", 1)
5146
+ O(" 全选 (" + B(s.value.length) + "/" + B(e.availableColumns.length) + ") ", 1)
5148
5147
  ]),
5149
5148
  _: 1
5150
5149
  }, 8, ["modelValue", "indeterminate"]),
@@ -5166,23 +5165,23 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5166
5165
  class: "column-list"
5167
5166
  }, {
5168
5167
  default: b(() => [
5169
- (h(!0), S(ue, null, we(w.value, (W) => (h(), S("div", {
5168
+ (h(!0), S(ue, null, _e(w.value, (W) => (h(), S("div", {
5170
5169
  key: W.name,
5171
5170
  class: "column-item"
5172
5171
  }, [
5173
- c(ye, {
5172
+ c(be, {
5174
5173
  label: W.name
5175
5174
  }, {
5176
5175
  default: b(() => [
5177
5176
  m("div", or, [
5178
- m("span", rr, R(W.title || W.name), 1),
5177
+ m("span", rr, B(W.title || W.name), 1),
5179
5178
  W.type ? (h(), J(Re, {
5180
5179
  key: 0,
5181
5180
  size: "small",
5182
5181
  type: "info"
5183
5182
  }, {
5184
5183
  default: b(() => [
5185
- O(R(W.type), 1)
5184
+ O(B(W.type), 1)
5186
5185
  ]),
5187
5186
  _: 2
5188
5187
  }, 1024)) : G("", !0)
@@ -5224,14 +5223,14 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5224
5223
  height: "400px"
5225
5224
  }, {
5226
5225
  default: b(() => [
5227
- (h(!0), S(ue, null, we(u.value, (W, Fe) => (h(), J(de, {
5226
+ (h(!0), S(ue, null, _e(u.value, (W, Fe) => (h(), J(de, {
5228
5227
  key: Fe,
5229
5228
  class: "condition-card mb-3",
5230
5229
  shadow: "hover"
5231
5230
  }, {
5232
5231
  default: b(() => [
5233
5232
  m("div", cr, [
5234
- m("span", dr, "#" + R(Fe + 1), 1),
5233
+ m("span", dr, "#" + B(Fe + 1), 1),
5235
5234
  c(Se, {
5236
5235
  icon: ie($t),
5237
5236
  text: "",
@@ -5246,7 +5245,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5246
5245
  default: b(() => [
5247
5246
  c(N, { label: "筛选字段" }, {
5248
5247
  default: b(() => [
5249
- c(z, {
5248
+ c(R, {
5250
5249
  modelValue: W.field,
5251
5250
  "onUpdate:modelValue": (re) => W.field = re,
5252
5251
  placeholder: "选择字段",
@@ -5254,7 +5253,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5254
5253
  onChange: (re) => D(W)
5255
5254
  }, {
5256
5255
  default: b(() => [
5257
- (h(!0), S(ue, null, we(e.availableColumns, (re) => (h(), J(v, {
5256
+ (h(!0), S(ue, null, _e(e.availableColumns, (re) => (h(), J(v, {
5258
5257
  key: re.name,
5259
5258
  label: re.title || re.name,
5260
5259
  value: re.name
@@ -5267,7 +5266,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5267
5266
  }, 1024),
5268
5267
  c(N, { label: "操作符" }, {
5269
5268
  default: b(() => [
5270
- c(z, {
5269
+ c(R, {
5271
5270
  modelValue: W.op,
5272
5271
  "onUpdate:modelValue": (re) => W.op = re,
5273
5272
  placeholder: "选择操作符"
@@ -5369,7 +5368,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5369
5368
  "onUpdate:modelValue": (re) => W.defaultValue = re,
5370
5369
  placeholder: "输入默认值"
5371
5370
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), S("div", fr, [
5372
- W.paramType === "single" ? (h(), J(z, {
5371
+ W.paramType === "single" ? (h(), J(R, {
5373
5372
  key: 0,
5374
5373
  modelValue: W.defaultValue,
5375
5374
  "onUpdate:modelValue": (re) => W.defaultValue = re,
@@ -5377,14 +5376,14 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5377
5376
  clearable: ""
5378
5377
  }, {
5379
5378
  default: b(() => [
5380
- (h(!0), S(ue, null, we(W.options, (re) => (h(), J(v, {
5379
+ (h(!0), S(ue, null, _e(W.options, (re) => (h(), J(v, {
5381
5380
  key: re.value,
5382
5381
  label: re.label,
5383
5382
  value: re.value
5384
5383
  }, null, 8, ["label", "value"]))), 128))
5385
5384
  ]),
5386
5385
  _: 2
5387
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : W.paramType === "multiple" ? (h(), J(z, {
5386
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : W.paramType === "multiple" ? (h(), J(R, {
5388
5387
  key: 1,
5389
5388
  modelValue: W.defaultValue,
5390
5389
  "onUpdate:modelValue": (re) => W.defaultValue = re,
@@ -5393,7 +5392,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5393
5392
  clearable: ""
5394
5393
  }, {
5395
5394
  default: b(() => [
5396
- (h(!0), S(ue, null, we(W.options, (re) => (h(), J(v, {
5395
+ (h(!0), S(ue, null, _e(W.options, (re) => (h(), J(v, {
5397
5396
  key: re.value,
5398
5397
  label: re.label,
5399
5398
  value: re.value
@@ -5447,7 +5446,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5447
5446
  ref_key: "formRef",
5448
5447
  ref: L,
5449
5448
  model: k.value,
5450
- rules: B,
5449
+ rules: z,
5451
5450
  "label-width": "100px",
5452
5451
  class: "naming-form"
5453
5452
  }, {
@@ -5496,7 +5495,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5496
5495
  default: b(() => [
5497
5496
  c(ee, { label: "PRIVATE" }, {
5498
5497
  default: b(() => [
5499
- c(be, null, {
5498
+ c(we, null, {
5500
5499
  default: b(() => [
5501
5500
  c(ie(va))
5502
5501
  ]),
@@ -5508,7 +5507,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5508
5507
  }),
5509
5508
  c(ee, { label: "DEPARTMENT" }, {
5510
5509
  default: b(() => [
5511
- c(be, null, {
5510
+ c(we, null, {
5512
5511
  default: b(() => [
5513
5512
  c(ie(Bt))
5514
5513
  ]),
@@ -5520,7 +5519,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5520
5519
  }),
5521
5520
  c(ee, { label: "TENANT" }, {
5522
5521
  default: b(() => [
5523
- c(be, null, {
5522
+ c(we, null, {
5524
5523
  default: b(() => [
5525
5524
  c(ie(It))
5526
5525
  ]),
@@ -5581,13 +5580,13 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5581
5580
  default: b(() => [
5582
5581
  c(Pe, { label: "包含字段" }, {
5583
5582
  default: b(() => [
5584
- O(R(s.value.length) + " 个 ", 1)
5583
+ O(B(s.value.length) + " 个 ", 1)
5585
5584
  ]),
5586
5585
  _: 1
5587
5586
  }),
5588
5587
  c(Pe, { label: "筛选条件" }, {
5589
5588
  default: b(() => [
5590
- O(R(u.value.length) + " 个 ", 1)
5589
+ O(B(u.value.length) + " 个 ", 1)
5591
5590
  ]),
5592
5591
  _: 1
5593
5592
  }),
@@ -5596,7 +5595,7 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5596
5595
  span: 2
5597
5596
  }, {
5598
5597
  default: b(() => [
5599
- O(R(e.orderBy.length) + " 个 ", 1)
5598
+ O(B(e.orderBy.length) + " 个 ", 1)
5600
5599
  ]),
5601
5600
  _: 1
5602
5601
  })
@@ -5605,20 +5604,20 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5605
5604
  }),
5606
5605
  s.value.length > 0 ? (h(), S("div", hr, [
5607
5606
  F[23] || (F[23] = m("h5", null, "选中的字段:", -1)),
5608
- (h(!0), S(ue, null, we(s.value, (W) => (h(), J(Re, {
5607
+ (h(!0), S(ue, null, _e(s.value, (W) => (h(), J(Re, {
5609
5608
  key: W,
5610
5609
  size: "small",
5611
5610
  class: "mr-1 mb-1"
5612
5611
  }, {
5613
5612
  default: b(() => [
5614
- O(R(ne(W)), 1)
5613
+ O(B(ne(W)), 1)
5615
5614
  ]),
5616
5615
  _: 2
5617
5616
  }, 1024))), 128))
5618
5617
  ])) : G("", !0),
5619
5618
  u.value.length > 0 ? (h(), S("div", gr, [
5620
5619
  F[24] || (F[24] = m("h5", null, "筛选条件:", -1)),
5621
- (h(!0), S(ue, null, we(u.value, (W, Fe) => (h(), S("div", {
5620
+ (h(!0), S(ue, null, _e(u.value, (W, Fe) => (h(), S("div", {
5622
5621
  key: Fe,
5623
5622
  class: "condition-preview"
5624
5623
  }, [
@@ -5627,11 +5626,11 @@ const Jo = { class: "option-manager" }, Zo = /* @__PURE__ */ ae({
5627
5626
  size: "small"
5628
5627
  }, {
5629
5628
  default: b(() => [
5630
- O(R(ne(W.field)) + " " + R(W.op) + " ", 1),
5629
+ O(B(ne(W.field)) + " " + B(W.op) + " ", 1),
5631
5630
  W.defaultValue ? (h(), S(ue, { key: 0 }, [
5632
- O(R(W.defaultValue), 1)
5631
+ O(B(W.defaultValue), 1)
5633
5632
  ], 64)) : G("", !0),
5634
- O(" (" + R(W.paramType === "fixed" ? "固定" : W.paramType === "single" ? "单选" : "多选") + ") ", 1)
5633
+ O(" (" + B(W.paramType === "fixed" ? "固定" : W.paramType === "single" ? "单选" : "多选") + ") ", 1)
5635
5634
  ]),
5636
5635
  _: 2
5637
5636
  }, 1024)
@@ -6704,7 +6703,7 @@ const bi = {
6704
6703
  });
6705
6704
  }
6706
6705
  return (D, I) => {
6707
- const oe = U("el-input"), L = U("el-icon"), k = U("el-tag"), B = U("el-empty"), ne = U("el-dropdown-item"), ce = U("el-dropdown-menu"), he = U("el-dropdown"), xe = U("el-divider"), se = U("el-card"), ge = U("el-scrollbar"), j = U("el-button"), F = U("el-dialog");
6706
+ const oe = U("el-input"), L = U("el-icon"), k = U("el-tag"), z = U("el-empty"), ne = U("el-dropdown-item"), ce = U("el-dropdown-menu"), he = U("el-dropdown"), xe = U("el-divider"), se = U("el-card"), ge = U("el-scrollbar"), j = U("el-button"), F = U("el-dialog");
6708
6707
  return h(), J(F, {
6709
6708
  modelValue: n.value,
6710
6709
  "onUpdate:modelValue": I[1] || (I[1] = (q) => n.value = q),
@@ -6740,7 +6739,7 @@ const bi = {
6740
6739
  size: "small"
6741
6740
  }, {
6742
6741
  default: b(() => [
6743
- O(R(s.value.length), 1)
6742
+ O(B(s.value.length), 1)
6744
6743
  ]),
6745
6744
  _: 1
6746
6745
  })
@@ -6756,15 +6755,15 @@ const bi = {
6756
6755
  }),
6757
6756
  I[3] || (I[3] = m("span", null, "加载中...", -1))
6758
6757
  ])) : s.value.length === 0 ? (h(), S("div", Yi, [
6759
- c(B, { description: "暂无保存的查询" })
6758
+ c(z, { description: "暂无保存的查询" })
6760
6759
  ])) : G("", !0),
6761
- (h(!0), S(ue, null, we(w.value, (q) => (h(), J(se, {
6760
+ (h(!0), S(ue, null, _e(w.value, (q) => (h(), J(se, {
6762
6761
  key: q.id,
6763
6762
  class: "query-card",
6764
6763
  shadow: "hover"
6765
6764
  }, {
6766
6765
  default: b(() => {
6767
- var _e;
6766
+ var ye;
6768
6767
  return [
6769
6768
  m("div", Gi, [
6770
6769
  m("div", Xi, [
@@ -6784,7 +6783,7 @@ const bi = {
6784
6783
  ]),
6785
6784
  _: 1
6786
6785
  })),
6787
- m("span", null, R(q.title), 1)
6786
+ m("span", null, B(q.title), 1)
6788
6787
  ]),
6789
6788
  c(he, { trigger: "click" }, {
6790
6789
  dropdown: b(() => [
@@ -6835,18 +6834,18 @@ const bi = {
6835
6834
  _: 2
6836
6835
  }, 1024)
6837
6836
  ]),
6838
- q.description ? (h(), S("p", Ki, R(q.description), 1)) : G("", !0),
6837
+ q.description ? (h(), S("p", Ki, B(q.description), 1)) : G("", !0),
6839
6838
  m("div", Ji, [
6840
6839
  c(k, {
6841
6840
  size: "small",
6842
6841
  type: Q(q.visibility)
6843
6842
  }, {
6844
6843
  default: b(() => [
6845
- O(R($(q.visibility)), 1)
6844
+ O(B($(q.visibility)), 1)
6846
6845
  ]),
6847
6846
  _: 2
6848
6847
  }, 1032, ["type"]),
6849
- m("span", Zi, R(K(q.createdAt)), 1)
6848
+ m("span", Zi, B(K(q.createdAt)), 1)
6850
6849
  ]),
6851
6850
  m("div", es, [
6852
6851
  c(L, null, {
@@ -6855,7 +6854,7 @@ const bi = {
6855
6854
  ]),
6856
6855
  _: 1
6857
6856
  }),
6858
- m("span", null, R(q.columns.length) + " 字段", 1),
6857
+ m("span", null, B(q.columns.length) + " 字段", 1),
6859
6858
  c(xe, { direction: "vertical" }),
6860
6859
  c(L, null, {
6861
6860
  default: b(() => [
@@ -6863,7 +6862,7 @@ const bi = {
6863
6862
  ]),
6864
6863
  _: 1
6865
6864
  }),
6866
- m("span", null, R(((_e = q.slice) == null ? void 0 : _e.length) || 0) + " 筛选", 1)
6865
+ m("span", null, B(((ye = q.slice) == null ? void 0 : ye.length) || 0) + " 筛选", 1)
6867
6866
  ])
6868
6867
  ];
6869
6868
  }),
@@ -6889,7 +6888,7 @@ const bi = {
6889
6888
  size: "small"
6890
6889
  }, {
6891
6890
  default: b(() => [
6892
- O(R(d.value.length), 1)
6891
+ O(B(d.value.length), 1)
6893
6892
  ]),
6894
6893
  _: 1
6895
6894
  })
@@ -6905,15 +6904,15 @@ const bi = {
6905
6904
  }),
6906
6905
  I[7] || (I[7] = m("span", null, "加载中...", -1))
6907
6906
  ])) : d.value.length === 0 ? (h(), S("div", ls, [
6908
- c(B, { description: "暂无共享查询" })
6907
+ c(z, { description: "暂无共享查询" })
6909
6908
  ])) : G("", !0),
6910
- (h(!0), S(ue, null, we(p.value, (q) => (h(), J(se, {
6909
+ (h(!0), S(ue, null, _e(p.value, (q) => (h(), J(se, {
6911
6910
  key: q.id,
6912
6911
  class: "query-card",
6913
6912
  shadow: "hover"
6914
6913
  }, {
6915
6914
  default: b(() => {
6916
- var _e;
6915
+ var ye;
6917
6916
  return [
6918
6917
  m("div", os, [
6919
6918
  m("div", rs, [
@@ -6928,7 +6927,7 @@ const bi = {
6928
6927
  ]),
6929
6928
  _: 1
6930
6929
  })),
6931
- m("span", null, R(q.title), 1)
6930
+ m("span", null, B(q.title), 1)
6932
6931
  ]),
6933
6932
  c(j, {
6934
6933
  type: "primary",
@@ -6941,19 +6940,19 @@ const bi = {
6941
6940
  _: 1
6942
6941
  }, 8, ["onClick"])
6943
6942
  ]),
6944
- q.description ? (h(), S("p", is, R(q.description), 1)) : G("", !0),
6943
+ q.description ? (h(), S("p", is, B(q.description), 1)) : G("", !0),
6945
6944
  m("div", ss, [
6946
6945
  c(k, {
6947
6946
  size: "small",
6948
6947
  type: Q(q.visibility)
6949
6948
  }, {
6950
6949
  default: b(() => [
6951
- O(R($(q.visibility)), 1)
6950
+ O(B($(q.visibility)), 1)
6952
6951
  ]),
6953
6952
  _: 2
6954
6953
  }, 1032, ["type"]),
6955
- m("span", us, "创建者: " + R(q.ownerId), 1),
6956
- m("span", cs, R(K(q.createdAt)), 1)
6954
+ m("span", us, "创建者: " + B(q.ownerId), 1),
6955
+ m("span", cs, B(K(q.createdAt)), 1)
6957
6956
  ]),
6958
6957
  m("div", ds, [
6959
6958
  c(L, null, {
@@ -6962,7 +6961,7 @@ const bi = {
6962
6961
  ]),
6963
6962
  _: 1
6964
6963
  }),
6965
- m("span", null, R(q.columns.length) + " 字段", 1),
6964
+ m("span", null, B(q.columns.length) + " 字段", 1),
6966
6965
  c(xe, { direction: "vertical" }),
6967
6966
  c(L, null, {
6968
6967
  default: b(() => [
@@ -6970,7 +6969,7 @@ const bi = {
6970
6969
  ]),
6971
6970
  _: 1
6972
6971
  }),
6973
- m("span", null, R(((_e = q.slice) == null ? void 0 : _e.length) || 0) + " 筛选", 1)
6972
+ m("span", null, B(((ye = q.slice) == null ? void 0 : ye.length) || 0) + " 筛选", 1)
6974
6973
  ])
6975
6974
  ];
6976
6975
  }),