liyu-pc-base 1.0.921 → 1.0.923

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.
Files changed (24) hide show
  1. package/dist/{FieldRender-BOg7nm5z.js → FieldRender-DnOLSXTl.js} +1 -1
  2. package/dist/{FieldRender-BOg7nm5z.js.map → FieldRender-DnOLSXTl.js.map} +1 -1
  3. package/dist/{FieldRender2-_MtcDkI5.js → FieldRender2-CvxGe238.js} +2 -2
  4. package/dist/{FieldRender2-_MtcDkI5.js.map → FieldRender2-CvxGe238.js.map} +1 -1
  5. package/dist/{FormRender3-BtY9d91e.js → FormRender3-CAxOQgue.js} +1 -1
  6. package/dist/{FormRender3-BtY9d91e.js.map → FormRender3-CAxOQgue.js.map} +1 -1
  7. package/dist/{RemoteSelectPro-CcWTS4f6.js → RemoteSelectPro-CcL_vU1K.js} +1 -1
  8. package/dist/{RemoteSelectPro-CcWTS4f6.js.map → RemoteSelectPro-CcL_vU1K.js.map} +1 -1
  9. package/dist/{SearchRender-ByarFel1.js → SearchRender-Dr_qnvZM.js} +1 -1
  10. package/dist/{SearchRender-ByarFel1.js.map → SearchRender-Dr_qnvZM.js.map} +1 -1
  11. package/dist/components/index.js +7 -7
  12. package/dist/{dbViewConfig-RGSyUx3F.js → dbViewConfig-BF0QZ_mT.js} +1 -1
  13. package/dist/{dbViewConfig-RGSyUx3F.js.map → dbViewConfig-BF0QZ_mT.js.map} +1 -1
  14. package/dist/{detailTablePro-CqcVbn8O.js → detailTablePro-DxgfGYN3.js} +1 -1
  15. package/dist/{detailTablePro-CqcVbn8O.js.map → detailTablePro-DxgfGYN3.js.map} +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/liyu-pc-base.css +1 -1
  18. package/dist/{tableModal-DSKuV-hn.js → tableModal-DZE5wntG.js} +1 -1
  19. package/dist/{tableModal-DSKuV-hn.js.map → tableModal-DZE5wntG.js.map} +1 -1
  20. package/dist/{tablePageHost-B_BOlBNA.js → tablePageHost-hE_1hQv4.js} +82 -44
  21. package/dist/{tablePageHost-B_BOlBNA.js.map → tablePageHost-hE_1hQv4.js.map} +1 -1
  22. package/dist/{tablePro-IAcxxAGI.js → tablePro-t2yDX9oW.js} +16 -11
  23. package/dist/{tablePro-IAcxxAGI.js.map → tablePro-t2yDX9oW.js.map} +1 -1
  24. package/package.json +1 -1
@@ -5,7 +5,7 @@ import { t as u } from "./lodash-CMVwnWxD.js";
5
5
  import { getApiData as d } from "./api/api-model.js";
6
6
  import { $ as f, L as p, Q as m, X as h, Z as g, at as _, c as v, et as y, f as b, it as x, nt as S, rt as C, t as w, tt as T } from "./function-BhYSb8ls.js";
7
7
  import { t as E } from "./modal-tools-CrXdI5sg.js";
8
- import { _ as D, a as O, b as k, c as ee, d as A, f as j, g as M, h as te, i as ne, l as re, m as ie, o as ae, p as oe, r as se, s as ce, t as le, u as ue, v as de, x as fe, y as pe } from "./tablePro-IAcxxAGI.js";
8
+ import { _ as D, a as O, b as k, c as ee, d as A, f as j, g as M, h as te, i as ne, l as re, m as ie, o as ae, p as oe, r as se, s as ce, t as le, u as ue, v as de, x as fe, y as pe } from "./tablePro-t2yDX9oW.js";
9
9
  import { n as me, r as he } from "./remotePages-CvjMLjTh.js";
10
10
  import { t as ge } from "./exceljs.min-BPhBd8yF.js";
11
11
  import { Fragment as _e, KeepAlive as ve, Transition as ye, computed as be, createBlock as xe, createCommentVNode as N, createElementBlock as Se, createElementVNode as Ce, createTextVNode as we, createVNode as Te, customRef as Ee, defineComponent as De, getCurrentInstance as Oe, h as ke, inject as Ae, isVNode as je, mergeModels as Me, mergeProps as Ne, nextTick as Pe, normalizeClass as Fe, normalizeStyle as Ie, onActivated as Le, onBeforeUnmount as Re, onDeactivated as ze, onMounted as Be, onUnmounted as Ve, openBlock as P, provide as He, reactive as Ue, ref as F, render as We, renderList as Ge, renderSlot as Ke, resolveComponent as qe, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as Xe, unref as Ze, useModel as Qe, useSlots as $e, watch as et, watchEffect as tt, withCtx as nt, withModifiers as rt } from "vue";
@@ -63486,7 +63486,36 @@ var RX = g([
63486
63486
  let r = e?.dataIndex || e?.key;
63487
63487
  !r || r === "index" || r === "action" || lZ(e, t) && n.push(r);
63488
63488
  }), n;
63489
- }, dZ = (e, t, n) => {
63489
+ }, dZ = (e) => e != null && e !== "" && Number.isFinite(Number(e)), fZ = (e, t) => {
63490
+ let n = eZ(t) ? tZ(t) : {}, r = (e) => e?.dataIndex || e?.key || e?.title || "", i = (e) => {
63491
+ let t = [];
63492
+ for (let n of e || []) {
63493
+ let e = r(n);
63494
+ !e || e === "index" || e === "action" || t.push(n);
63495
+ }
63496
+ let a = t.filter((e) => dZ(n[r(e)]?.order));
63497
+ a.sort((e, t) => Number(n[r(e)].order) - Number(n[r(t)].order));
63498
+ let o = a.slice();
63499
+ t.forEach((e, n) => {
63500
+ if (o.includes(e)) return;
63501
+ let r = null;
63502
+ for (let e = n - 1; e >= 0; e--) if (o.includes(t[e])) {
63503
+ r = t[e];
63504
+ break;
63505
+ }
63506
+ r ? o.splice(o.indexOf(r) + 1, 0, e) : o.unshift(e);
63507
+ }), o.forEach((e, t) => {
63508
+ let i = r(e);
63509
+ n[i] = {
63510
+ ...eZ(n[i]) ? n[i] : {},
63511
+ order: t
63512
+ };
63513
+ }), t.forEach((e) => {
63514
+ Array.isArray(e?.children) && e.children.length > 0 && i(e.children);
63515
+ });
63516
+ };
63517
+ return i(e || []), n;
63518
+ }, pZ = (e, t, n) => {
63490
63519
  let r = [];
63491
63520
  if (t.size === 0) return r;
63492
63521
  if (eZ(e.columns)) for (let n of Object.keys(e.columns)) {
@@ -63512,8 +63541,8 @@ var RX = g([
63512
63541
  value: e,
63513
63542
  reason: `搜索字段「${i}」不在本页搜索配置里`
63514
63543
  }), !1);
63515
- })), eZ(e.pivotConfig) && fZ(e.pivotConfig, ["rows", "columns"], t, r, "pivotConfig"), eZ(e.pivotChartsConfig) && fZ(e.pivotChartsConfig, ["series", "category"], t, r, "pivotChartsConfig"), r;
63516
- }, fZ = (e, t, n, r, i) => {
63544
+ })), eZ(e.pivotConfig) && mZ(e.pivotConfig, ["rows", "columns"], t, r, "pivotConfig"), eZ(e.pivotChartsConfig) && mZ(e.pivotChartsConfig, ["series", "category"], t, r, "pivotChartsConfig"), r;
63545
+ }, mZ = (e, t, n, r, i) => {
63517
63546
  for (let a of t) {
63518
63547
  if (!Array.isArray(e[a])) continue;
63519
63548
  let t = [];
@@ -63560,9 +63589,9 @@ var RX = g([
63560
63589
  }), !1);
63561
63590
  }));
63562
63591
  };
63563
- function pZ(e, t = {}) {
63592
+ function hZ(e, t = {}) {
63564
63593
  let { patch: n = {}, unset: r, unsetColumns: i, columnsScopeOnly: a, currentColumns: o, validSearchFieldNames: s, pruneInvalid: c, droppedColumnLimit: l = 50 } = t, u = eZ(e) ? tZ(e) : {}, d = [], f = [], p = [], m = new Set(t.validColumnKeys ? [...t.validColumnKeys].map(String) : cZ(o || [])), h = s ? new Set([...s].map(String)) : null, g = new Set(eZ(u.columns) ? Object.keys(u.columns) : []), _ = [];
63565
- c !== !1 && (_.push(...dZ(u, m, h)), _.length > 0 && d.push(`基座里有 ${_.length} 处「本页已不存在的字段」已自动剔除(不阻断本次增量):` + _.map((e) => e.path).join("、")));
63594
+ c !== !1 && (_.push(...pZ(u, m, h)), _.length > 0 && d.push(`基座里有 ${_.length} 处「本页已不存在的字段」已自动剔除(不阻断本次增量):` + _.map((e) => e.path).join("、")));
63566
63595
  let v = eZ(u.columns) ? tZ(u.columns) : {};
63567
63596
  for (let e of r || []) eZ(u) && e in u && (delete u[e], f.push(e), d.push(`已清除 ${e}(回到页面默认)`));
63568
63597
  let y = !1, b = eZ(u.columns) ? { ...u.columns } : {}, x = [], S = /* @__PURE__ */ new Set();
@@ -63661,13 +63690,13 @@ function pZ(e, t = {}) {
63661
63690
  ignoredUnsetColumns: x
63662
63691
  };
63663
63692
  }
63664
- var mZ = (e, t) => {
63693
+ var gZ = (e, t) => {
63665
63694
  let n = /* @__PURE__ */ new Set([...Object.keys(e || {}), ...Object.keys(t || {})]), r = [];
63666
63695
  return n.forEach((n) => {
63667
63696
  let i = e?.[n] === void 0 ? null : e[n], a = t?.[n] === void 0 ? null : t[n];
63668
63697
  JSON.stringify(i) !== JSON.stringify(a) && r.push(n);
63669
63698
  }), r.sort();
63670
- }, hZ = (e, t, n = {}) => {
63699
+ }, _Z = (e, t, n = {}) => {
63671
63700
  let r = n.visibleLimit ?? 80, i = n.conditionLimit ?? 40, a = eZ(e?.columns) ? e.columns : {}, o = uZ(t, a), s = o.slice(0, r), c = Array.isArray(e?.searchGroups) ? e.searchGroups : [], l = c.flatMap((e) => Array.isArray(e?.conditions) ? e.conditions : []), u = l.filter((e) => {
63672
63701
  let t = e?.value;
63673
63702
  return t == null ? !1 : Array.isArray(t) ? t.some((e) => e != null && e !== "") : !0;
@@ -63677,10 +63706,15 @@ var mZ = (e, t) => {
63677
63706
  operator: e.operator,
63678
63707
  value: e.value
63679
63708
  })), d = /* @__PURE__ */ new Map();
63680
- return sZ(t || []).forEach((e) => {
63709
+ sZ(t || []).forEach((e) => {
63681
63710
  let t = e?.dataIndex || e?.key;
63682
63711
  t && d.set(t, String(e?.title ?? "") || t);
63683
- }), {
63712
+ });
63713
+ let f = n.changedOverrideLimit ?? 40, p = n.changedColumnKeys || [], m = p.slice(0, f).map((e) => ({
63714
+ dataIndex: e,
63715
+ override: eZ(a[e]) ? a[e] : null
63716
+ }));
63717
+ return {
63684
63718
  visible_column_count: o.length,
63685
63719
  visible_columns: s.map((e) => ({
63686
63720
  dataIndex: e,
@@ -63688,14 +63722,16 @@ var mZ = (e, t) => {
63688
63722
  })),
63689
63723
  visible_truncated: o.length > r,
63690
63724
  column_override_count: Object.keys(a).length,
63691
- columns_changed_in_patch: n.changedColumnKeys || [],
63725
+ columns_changed_in_patch: p,
63726
+ changed_column_overrides: m,
63727
+ changed_column_overrides_truncated: p.length > f,
63692
63728
  search_group_count: c.length,
63693
63729
  search_condition_count: l.length,
63694
63730
  active_search_conditions: u.slice(0, i),
63695
63731
  active_search_conditions_truncated: u.length > i,
63696
63732
  top_level_keys: Object.keys(e || {}).sort()
63697
63733
  };
63698
- }, gZ = (e, t, n = 2e4) => {
63734
+ }, vZ = (e, t, n = 2e4) => {
63699
63735
  let r = {};
63700
63736
  for (let i of t) {
63701
63737
  if (!e || e[i] === void 0) continue;
@@ -63706,10 +63742,10 @@ var mZ = (e, t) => {
63706
63742
  } : e[i];
63707
63743
  }
63708
63744
  return r;
63709
- }, _Z = (e, t) => {
63745
+ }, yZ = (e, t) => {
63710
63746
  let n = [`增量合并后的视图数据非法:${e}`];
63711
63747
  return t && t.length > 0 ? (n.push(`本次已自动剔除基座里的历史/无效字段:${t.map((e) => e.path).join("、")}(其余配置未受影响)`), n.push("若报错仍指向被剔除的那个字段,说明它写在 patch 里 —— patch 写到的字段必须是本页真实存在的列")) : n.push("若报错里的字段是「平台已删除 / 历史遗留」字段(基座里残留、但页面上已没有这一列),默认会自动剔除后继续;若你已把 prune_invalid_fields 设为 false,改回 true 重试即可"), n.push("也可以用 unset_columns:[\"<字段名>\"] 单独摘掉某几列的覆盖项(该列回到页面默认显隐),或用 unset:[\"columns\"] 让 columns 整体回到页面默认 —— 注意后者会一并丢掉其它列的自定义显隐,返回里的 dropped_column_overrides 会列出到底丢了哪些"), n.join(";");
63712
- }, vZ = { class: "table-wrapper" }, yZ = { class: "filter-message" }, bZ = { key: 0 }, xZ = { key: 0 }, SZ = { key: 0 }, CZ = "写操作,执行前应先与用户确认意图", wZ = "view_system_edit", TZ = "no-view", EZ = /*#__PURE__*/ l(/* @__PURE__ */ De({
63748
+ }, bZ = { class: "table-wrapper" }, xZ = { class: "filter-message" }, SZ = { key: 0 }, CZ = { key: 0 }, wZ = { key: 0 }, TZ = "写操作,执行前应先与用户确认意图", EZ = "view_system_edit", DZ = "no-view", OZ = /*#__PURE__*/ l(/* @__PURE__ */ De({
63713
63749
  __name: "rightTable",
63714
63750
  props: /*@__PURE__*/ Me({
63715
63751
  eventBus: { default: null },
@@ -63805,7 +63841,7 @@ var mZ = (e, t) => {
63805
63841
  promptGuidelines: [
63806
63842
  "apply_mode=create 时 name 必填,会真实创建视图",
63807
63843
  "apply_mode=temporary 时不要传 name,仅临时作用于当前页面",
63808
- `visibility 可选 personal(默认)/public。${CZ}`
63844
+ `visibility 可选 personal(默认)/public。${TZ}`
63809
63845
  ],
63810
63846
  parameters: JX,
63811
63847
  timeoutMs: 6e4,
@@ -63816,7 +63852,7 @@ var mZ = (e, t) => {
63816
63852
  toolName: "page_view_update",
63817
63853
  label: "更新视图配置",
63818
63854
  description: "覆盖更新某个已有视图的完整配置数据。宿主会先校验格式,再弹窗请用户确认。",
63819
- promptGuidelines: ["uid 或 name 至少提供一个(uid 优先)", `覆盖不可撤销。${CZ}`],
63855
+ promptGuidelines: ["uid 或 name 至少提供一个(uid 优先)", `覆盖不可撤销。${TZ}`],
63820
63856
  parameters: YX,
63821
63857
  timeoutMs: 6e4,
63822
63858
  write: !0,
@@ -63835,7 +63871,7 @@ var mZ = (e, t) => {
63835
63871
  "若返回 dropped_column_overrides 非空,说明有列回到了页面默认显隐,回复用户时要如实说明丢了哪些列",
63836
63872
  "可先用 dry_run=true 预览(changed_keys / visible_columns / preview)",
63837
63873
  "target=current 是临时预览、不落库,可直接执行",
63838
- `target=view / new 会写库(覆盖视图 / 新建视图),必须先与用户确认。${CZ}`
63874
+ `target=view / new 会写库(覆盖视图 / 新建视图),必须先与用户确认。${TZ}`
63839
63875
  ],
63840
63876
  parameters: QX,
63841
63877
  timeoutMs: 6e4,
@@ -63854,7 +63890,7 @@ var mZ = (e, t) => {
63854
63890
  toolName: "page_view_rename",
63855
63891
  label: "重命名视图",
63856
63892
  description: "重命名指定类型下的某个已有视图。",
63857
- promptGuidelines: [CZ],
63893
+ promptGuidelines: [TZ],
63858
63894
  parameters: $X,
63859
63895
  write: !0,
63860
63896
  execute: Re
@@ -63872,7 +63908,7 @@ var mZ = (e, t) => {
63872
63908
  toolName: "page_view_set_default",
63873
63909
  label: "设为默认视图",
63874
63910
  description: "把指定类型下的某个已有视图设为默认视图。",
63875
- promptGuidelines: [CZ],
63911
+ promptGuidelines: [TZ],
63876
63912
  parameters: qX,
63877
63913
  write: !0,
63878
63914
  execute: Ue
@@ -63904,7 +63940,7 @@ var mZ = (e, t) => {
63904
63940
  });
63905
63941
  let ie = () => {
63906
63942
  E.value = !E.value;
63907
- }, ae = F(d.CHECK_AUTH(wZ)), oe = r(), se = (e) => e === "pivot" ? v : e === "pivot_charts" ? y : _, ce = (e) => `table_pro_${e === "pivot" ? "pivot-" : e === "pivot_charts" ? "pivotcharts-" : ""}${l.view_key_namespace}-${l.modalType}`, ue = (e) => !!l.pageConfig.queryData, de = () => m.query?.customTitle || m.meta.title || "", me = async (e) => {
63943
+ }, ae = F(d.CHECK_AUTH(EZ)), oe = r(), se = (e) => e === "pivot" ? v : e === "pivot_charts" ? y : _, ce = (e) => `table_pro_${e === "pivot" ? "pivot-" : e === "pivot_charts" ? "pivotcharts-" : ""}${l.view_key_namespace}-${l.modalType}`, ue = (e) => !!l.pageConfig.queryData, de = () => m.query?.customTitle || m.meta.title || "", me = async (e) => {
63908
63944
  let t = se(e).value, n = await De(e);
63909
63945
  return {
63910
63946
  view_type: e,
@@ -63940,7 +63976,7 @@ var mZ = (e, t) => {
63940
63976
  let n = IX(t, e), r = se(e).value;
63941
63977
  if (e !== l.tableMode && (u("changeMode", e), r = await he(e)), !r) return Ee("目标表格实例未就绪,请稍后重试");
63942
63978
  r.currentView = {
63943
- id: TZ,
63979
+ id: DZ,
63944
63980
  uid: "",
63945
63981
  name: "临时配置",
63946
63982
  is_temporary: !0,
@@ -64303,7 +64339,7 @@ var mZ = (e, t) => {
64303
64339
  if (r) return Ee(r);
64304
64340
  m = h.data || {};
64305
64341
  } else if (m = (p?.getViewData ? p.getViewData() : null) || p?.currentView?.data || {}, n === "new" && !String(e?.name ?? "").trim()) return Ee("target=new 时 name(新视图名称)不能为空");
64306
- let g = pZ(m, {
64342
+ let g = hZ(m, {
64307
64343
  patch: a,
64308
64344
  unset: o,
64309
64345
  unsetColumns: s,
@@ -64316,11 +64352,13 @@ var mZ = (e, t) => {
64316
64352
  columns: c,
64317
64353
  search_config: tt()
64318
64354
  }, { allowEmptyColumns: !0 });
64319
- if (!v.valid) return Ee(_Z(v.error, g.prunedFields));
64355
+ if (!v.valid) return Ee(yZ(v.error, g.prunedFields));
64320
64356
  if (uZ(c, _.columns).length === 0) return Ee("增量合并后没有任何可见列,请检查 patch.columns / columns_scope / unset_columns(避免把列的 checked 全部写成 false)");
64357
+ t === "normal" && ((e) => !!e && typeof e == "object" && !Array.isArray(e))(_.columns) && (_.columns = fZ(c, _.columns));
64321
64358
  let y = {
64322
- changed_keys: mZ(m, _),
64323
- ...hZ(_, c, { changedColumnKeys: Object.keys(a.columns || {}) }),
64359
+ changed_keys: gZ(m, _),
64360
+ ..._Z(_, c, { changedColumnKeys: Object.keys(a.columns || {}) }),
64361
+ column_order_stamped: !0,
64324
64362
  notes: g.notes,
64325
64363
  pruned_fields: g.prunedFields,
64326
64364
  dropped_column_overrides: g.droppedColumnOverrides,
@@ -64342,7 +64380,7 @@ var mZ = (e, t) => {
64342
64380
  dry_run: !0,
64343
64381
  applied: !1,
64344
64382
  ...y,
64345
- preview: gZ(_, e)
64383
+ preview: vZ(_, e)
64346
64384
  }
64347
64385
  };
64348
64386
  }
@@ -64602,14 +64640,14 @@ var mZ = (e, t) => {
64602
64640
  getPageMeta: me
64603
64641
  }), (e, t) => {
64604
64642
  let n = qe("a-tag"), r = qe("a-alert"), i = qe("MenuFoldOutlined"), c = qe("MenuUnfoldOutlined");
64605
- return P(), Se("div", vZ, [(P(), xe(ve, null, [a.value && e.tableMode === "normal" ? (P(), Se(_e, { key: 0 }, [x.value ? (P(), xe(r, {
64643
+ return P(), Se("div", bZ, [(P(), xe(ve, null, [a.value && e.tableMode === "normal" ? (P(), Se(_e, { key: 0 }, [x.value ? (P(), xe(r, {
64606
64644
  key: 0,
64607
64645
  type: "warning",
64608
64646
  closable: "",
64609
64647
  "show-icon": "",
64610
64648
  onClose: lt
64611
64649
  }, {
64612
- message: nt(() => [Ce("div", yZ, [(P(!0), Se(_e, null, Ge(S.value, (e) => (P(), Se("span", { key: e.label }, [we(Xe(e.label) + ": ", 1), Te(n, null, {
64650
+ message: nt(() => [Ce("div", xZ, [(P(!0), Se(_e, null, Ge(S.value, (e) => (P(), Se("span", { key: e.label }, [we(Xe(e.label) + ": ", 1), Te(n, null, {
64613
64651
  default: nt(() => [we(Xe(e.value), 1)]),
64614
64652
  _: 2
64615
64653
  }, 1024)]))), 128)), Ce("span", null, [t[1] ||= we(" 值字段: "), Te(n, null, {
@@ -64626,7 +64664,7 @@ var mZ = (e, t) => {
64626
64664
  "onUpdate:heightlightRowKey": t[0] ||= (e) => O.value = e,
64627
64665
  onHeightlightRowChange: A
64628
64666
  }, {
64629
- header_bar_before_title: nt(() => [e.pageConfig.isView ? (P(), Se("div", bZ, [Ce("div", {
64667
+ header_bar_before_title: nt(() => [e.pageConfig.isView ? (P(), Se("div", SZ, [Ce("div", {
64630
64668
  class: "toggle-button",
64631
64669
  onClick: ie
64632
64670
  }, [E.value ? (P(), xe(i, { key: 0 })) : (P(), xe(c, { key: 1 }))])])) : N("", !0)]),
@@ -64659,7 +64697,7 @@ var mZ = (e, t) => {
64659
64697
  onFilterForIdKeyStart: st,
64660
64698
  onFilterForIdKey: ct
64661
64699
  }, {
64662
- header_bar_before_title: nt(() => [e.pageConfig.isView ? (P(), Se("div", xZ, [Ce("div", {
64700
+ header_bar_before_title: nt(() => [e.pageConfig.isView ? (P(), Se("div", CZ, [Ce("div", {
64663
64701
  class: "toggle-button",
64664
64702
  onClick: ie
64665
64703
  }, [E.value ? (P(), xe(i, { key: 0 })) : (P(), xe(c, { key: 1 }))])])) : N("", !0)]),
@@ -64686,7 +64724,7 @@ var mZ = (e, t) => {
64686
64724
  ref: y,
64687
64725
  eventBus: e.eventBus
64688
64726
  }, {
64689
- header_bar_before_title: nt(() => [e.pageConfig.isView ? (P(), Se("div", SZ, [Ce("div", {
64727
+ header_bar_before_title: nt(() => [e.pageConfig.isView ? (P(), Se("div", wZ, [Ce("div", {
64690
64728
  class: "toggle-button",
64691
64729
  onClick: ie
64692
64730
  }, [E.value ? (P(), xe(i, { key: 0 })) : (P(), xe(c, { key: 1 }))])])) : N("", !0)]),
@@ -64709,10 +64747,10 @@ var mZ = (e, t) => {
64709
64747
  }, 8, ["config", "eventBus"])) : N("", !0)], 1024)), Te(mX, { visible: w.value }, null, 8, ["visible"])]);
64710
64748
  };
64711
64749
  }
64712
- }), [["__scopeId", "data-v-3c8d715b"]]), DZ = {
64750
+ }), [["__scopeId", "data-v-36a1d813"]]), kZ = {
64713
64751
  key: 0,
64714
64752
  class: "bottom-grid-header"
64715
- }, OZ = { class: "bottom-grid-title" }, kZ = { class: "bottom-grid-body" }, AZ = 100, jZ = /*#__PURE__*/ l(/* @__PURE__ */ De({
64753
+ }, AZ = { class: "bottom-grid-title" }, jZ = { class: "bottom-grid-body" }, MZ = 100, NZ = /*#__PURE__*/ l(/* @__PURE__ */ De({
64716
64754
  __name: "bottomGridDetail",
64717
64755
  props: {
64718
64756
  title: { default: "详情" },
@@ -64731,7 +64769,7 @@ var mZ = (e, t) => {
64731
64769
  setup(e, { emit: t }) {
64732
64770
  let n = e, r = t, i = F(null), a = F(!1), o = be(() => n.component), s = F(Number(n.height) || 300), c = 0, l = 0, u = be(() => Number(n.minHeight) || 0), d = () => {
64733
64771
  let e = i.value?.parentElement;
64734
- return Math.max((e?.clientHeight || 0) - AZ, u.value);
64772
+ return Math.max((e?.clientHeight || 0) - MZ, u.value);
64735
64773
  }, f = (e) => Math.min(Math.max(e, u.value), d()), p = (e) => {
64736
64774
  a.value && (s.value = f(l - (e.clientY - c)));
64737
64775
  }, m = () => {
@@ -64760,7 +64798,7 @@ var mZ = (e, t) => {
64760
64798
  title: "按住上下拖动调整高度",
64761
64799
  onMousedown: g
64762
64800
  }, t[1] ||= [Ce("span", { class: "bottom-grid-resizer-bar" }, null, -1)], 34),
64763
- e.hideTitle ? N("", !0) : (P(), Se("div", DZ, [Ce("span", OZ, Xe(e.title), 1), Te(n, {
64801
+ e.hideTitle ? N("", !0) : (P(), Se("div", kZ, [Ce("span", AZ, Xe(e.title), 1), Te(n, {
64764
64802
  type: "text",
64765
64803
  size: "small",
64766
64804
  onClick: t[0] ||= (e) => r("close")
@@ -64768,7 +64806,7 @@ var mZ = (e, t) => {
64768
64806
  default: nt(() => [Te(Ze(ct))]),
64769
64807
  _: 1
64770
64808
  })])),
64771
- Ce("div", kZ, [(P(), xe(Je(o.value), {
64809
+ Ce("div", jZ, [(P(), xe(Je(o.value), {
64772
64810
  cmpObj: e.cmpObj,
64773
64811
  extra: e.extra,
64774
64812
  depth: e.depth
@@ -64780,13 +64818,13 @@ var mZ = (e, t) => {
64780
64818
  ], 4);
64781
64819
  };
64782
64820
  }
64783
- }), [["__scopeId", "data-v-1ea5fce8"]]), MZ = {
64821
+ }), [["__scopeId", "data-v-1ea5fce8"]]), PZ = {
64784
64822
  key: 1,
64785
64823
  class: "table-page-host"
64786
- }, NZ = { class: "pri-wrapper" }, PZ = {
64824
+ }, FZ = { class: "pri-wrapper" }, IZ = {
64787
64825
  key: 0,
64788
64826
  class: "left-slide-outer"
64789
- }, FZ = { class: "left-wrapper" }, IZ = /*#__PURE__*/ l(/* @__PURE__ */ De({
64827
+ }, LZ = { class: "left-wrapper" }, RZ = /*#__PURE__*/ l(/* @__PURE__ */ De({
64790
64828
  __name: "tablePageHost",
64791
64829
  props: {
64792
64830
  app_flag: {},
@@ -64945,8 +64983,8 @@ var mZ = (e, t) => {
64945
64983
  key: 0,
64946
64984
  class: "tph-error",
64947
64985
  description: u.value
64948
- }, null, 8, ["description"])) : l.value ? (P(), Se("div", MZ, [Ce("div", NZ, [Te(ye, { name: "left-slide" }, {
64949
- default: nt(() => [o.value && h.value?.isView && e.enable_view_panel ? (P(), Se("div", PZ, [Ce("div", FZ, [Te(lX, {
64986
+ }, null, 8, ["description"])) : l.value ? (P(), Se("div", PZ, [Ce("div", FZ, [Te(ye, { name: "left-slide" }, {
64987
+ default: nt(() => [o.value && h.value?.isView && e.enable_view_panel ? (P(), Se("div", IZ, [Ce("div", LZ, [Te(lX, {
64950
64988
  pageConfig: h.value,
64951
64989
  open: o.value,
64952
64990
  "onUpdate:open": t[0] ||= (e) => o.value = e,
@@ -64972,7 +65010,7 @@ var mZ = (e, t) => {
64972
65010
  "--drawer_width": `${v.value}px`
64973
65011
  })
64974
65012
  }, null, 6),
64975
- Te(EZ, {
65013
+ Te(OZ, {
64976
65014
  pageConfig: h.value,
64977
65015
  modalType: e.modalType,
64978
65016
  ref_key: "rightTableRef",
@@ -65020,7 +65058,7 @@ var mZ = (e, t) => {
65020
65058
  class: Fe(["right-space", { "detail-open": C.open }]),
65021
65059
  style: Ie({ "--detail_width": `${C.width}px` })
65022
65060
  }, null, 6)
65023
- ], 512)]), w.open ? (P(), xe(jZ, {
65061
+ ], 512)]), w.open ? (P(), xe(NZ, {
65024
65062
  key: w.key,
65025
65063
  title: w.title,
65026
65064
  component: w.component,
@@ -65069,4 +65107,4 @@ var mZ = (e, t) => {
65069
65107
  }
65070
65108
  }), [["__scopeId", "data-v-e5c6217c"]]);
65071
65109
  //#endregion
65072
- export { ZY as n, qY as r, IZ as t };
65110
+ export { ZY as n, qY as r, RZ as t };