liyu-pc-base 1.0.1034 → 1.0.1036

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.
@@ -2,8 +2,8 @@ import { r as e } from "./rolldown-runtime-DY7j01NX.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as n } from "./RemoteSelect-CrqKuqLy.js";
4
4
  import { t as r } from "./RemoteCascader-BsOeNVvB.js";
5
- import { t as i } from "./RemoteModal-COgiAuAD.js";
6
- import { n as a, r as o, t as s } from "./RemoteSelectPro-z_3BzMHx.js";
5
+ import { t as i } from "./RemoteModal-Bf5GJD7_.js";
6
+ import { n as a, r as o, t as s } from "./RemoteSelectPro-BaG4111d.js";
7
7
  import { t as c } from "./RemoteFilterSelect-DF906O8X.js";
8
8
  import { t as l } from "./AttributeNomTable-CpBTMwTk.js";
9
9
  import { t as u } from "./AttributeTable-Bn2bZCfi.js";
@@ -2,12 +2,12 @@ import { L as e } from "./init-plugin-CERVEi6b.js";
2
2
  import { getApiData as t } from "./api/api-model.js";
3
3
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
4
  import { t as r } from "./lodash-CMVwnWxD.js";
5
- import { a as i, c as a, d as o, f as s, i as c, l, n as u, o as d, r as f, s as p, t as ee, u as m } from "./TinymceEditor-QjT2cxCd.js";
5
+ import { a as i, c as a, d as o, f as s, i as c, l, n as u, o as d, r as f, s as p, t as ee, u as m } from "./TinymceEditor-AWBqjRPa.js";
6
6
  import { t as h } from "./RemoteSelect-CrqKuqLy.js";
7
7
  import { t as g } from "./RemoteCascader-BsOeNVvB.js";
8
- import { N as _, P as v, k as y, n as te, s as b } from "./function-LbKUBNcg.js";
9
- import { i as x, t as S } from "./RemoteModal-COgiAuAD.js";
10
- import { n as ne, r as C, t as re } from "./RemoteSelectPro-z_3BzMHx.js";
8
+ import { N as _, P as v, k as y, n as te, s as b } from "./function-Cv_Ak3mH.js";
9
+ import { i as x, t as S } from "./RemoteModal-Bf5GJD7_.js";
10
+ import { n as ne, r as C, t as re } from "./RemoteSelectPro-BaG4111d.js";
11
11
  import { t as ie } from "./RemoteFilterSelect-DF906O8X.js";
12
12
  import { t as w } from "./AttributeNomTable-CpBTMwTk.js";
13
13
  import { t as ae } from "./AttributeTable-Bn2bZCfi.js";
@@ -91,7 +91,7 @@ var Ae = I({
91
91
  "copy"
92
92
  ],
93
93
  setup(e, { emit: t }) {
94
- let n = V({ ...e.field.form.rules }), r = H({}), i = ue(() => import("./FormRender3-DQcj5PTb.js").then((e) => e.n)), a, o = () => {
94
+ let n = V({ ...e.field.form.rules }), r = H({}), i = ue(() => import("./FormRender3-Bd7f9kk6.js").then((e) => e.n)), a, o = () => {
95
95
  let e = /* @__PURE__ */ new Uint8Array(16);
96
96
  return window.crypto.getRandomValues(e), Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");
97
97
  }, s = H([]), c = o(), l = ([t, i]) => {
@@ -1011,7 +1011,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
1011
1011
  }, {
1012
1012
  label: "整体更新(update)",
1013
1013
  value: "update"
1014
- }], u = ue(() => import("./ImportExcelModal-CNnrKhWZ.js")), d = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("download"))), f = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("import"))), p = () => {
1014
+ }], u = ue(() => import("./ImportExcelModal-COI5Qi6P.js")), d = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("download"))), f = k(() => !!(n.field.sys_btn_list == null || n.field.sys_btn_list.includes("import"))), p = () => {
1015
1015
  xe.confirm({
1016
1016
  title: "确认清空吗?",
1017
1017
  icon: F(Ce),
@@ -1,8 +1,8 @@
1
1
  import { r as e } from "./rolldown-runtime-DY7j01NX.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { d as n } from "./TinymceEditor-QjT2cxCd.js";
4
- import { s as r } from "./function-LbKUBNcg.js";
5
- import { t as i } from "./FieldRender2-mpVINVS3.js";
3
+ import { d as n } from "./TinymceEditor-AWBqjRPa.js";
4
+ import { s as r } from "./function-Cv_Ak3mH.js";
5
+ import { t as i } from "./FieldRender2-B6my9Xz5.js";
6
6
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createSlots as u, createTextVNode as d, createVNode as f, defineComponent as p, openBlock as m, provide as h, reactive as g, ref as _, renderList as v, resolveComponent as y, toDisplayString as b, watch as x, withCtx as S } from "vue";
7
7
  import { message as C } from "ant-design-vue";
8
8
  //#region src/components/FormRender/FieldCol.vue?vue&type=script&lang.ts
@@ -1,6 +1,6 @@
1
1
  import { getApiData as e } from "./api/api-model.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { P as n, n as r } from "./function-LbKUBNcg.js";
3
+ import { P as n, n as r } from "./function-Cv_Ak3mH.js";
4
4
  import { resolveContextValue as i } from "./components/FormRender/utils.js";
5
5
  import { createBlock as a, createCommentVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, resolveComponent as f, withCtx as p } from "vue";
6
6
  import { message as m } from "ant-design-vue";
@@ -2,7 +2,7 @@ import { r as e } from "./rolldown-runtime-DY7j01NX.js";
2
2
  import { M as t } from "./init-plugin-CERVEi6b.js";
3
3
  import { getApiData as n } from "./api/api-model.js";
4
4
  import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
- import { _ as i, h as a, p as o, w as s } from "./function-LbKUBNcg.js";
5
+ import { _ as i, h as a, p as o, w as s } from "./function-Cv_Ak3mH.js";
6
6
  import { useFetchData as c } from "./utils/hooks/useFetchData.js";
7
7
  import { A as l, C as u, D as d, E as f, M as p, N as m, O as h, S as g, T as _, _ as v, b as y, d as b, f as x, g as S, h as ee, j as te, k as C, l as w, m as ne, n as re, p as ie, s as ae, u as oe, v as se, w as ce, x as T, y as le } from "./props-util-D7nkeN4W.js";
8
8
  import { useTableDynamicColumns as ue } from "./utils/hooks/useTableColumn.js";
@@ -3,9 +3,9 @@ import { L as t, M as n, v as r } from "./init-plugin-CERVEi6b.js";
3
3
  import { getApiData as i } from "./api/api-model.js";
4
4
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
5
  import { r as o } from "./RemoteSelect-CrqKuqLy.js";
6
- import { P as s, _ as c, h as l, n as u, p as d, w as f } from "./function-LbKUBNcg.js";
6
+ import { P as s, _ as c, h as l, n as u, p as d, w as f } from "./function-Cv_Ak3mH.js";
7
7
  import { useFetchData as p } from "./utils/hooks/useFetchData.js";
8
- import { i as m, r as h } from "./RemoteModal-COgiAuAD.js";
8
+ import { i as m, r as h } from "./RemoteModal-Bf5GJD7_.js";
9
9
  import { useTableDynamicColumns as g } from "./utils/hooks/useTableColumn.js";
10
10
  import { t as _ } from "./modal-tools-CZkYEwEr.js";
11
11
  import { t as v } from "./md5-WIoeWMjT.js";
@@ -687,7 +687,7 @@ var Z = /*#__PURE__*/ a(ie, [["render", X]]), se = /* @__PURE__ */ e(v(), 1), ce
687
687
  }, { deep: !0 });
688
688
  let ue = (e) => {
689
689
  m.value = e, $();
690
- }, de = D(() => import("./tableModal-Cu2PZw0F.js")), fe = () => {
690
+ }, de = D(() => import("./tableModal-BUlU_Ke9.js")), fe = () => {
691
691
  let e = [];
692
692
  m.value = "";
693
693
  let t = "checkbox";
@@ -1,7 +1,7 @@
1
1
  import { r as e } from "./rolldown-runtime-DY7j01NX.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { t as n } from "./lodash-CMVwnWxD.js";
4
- import { t as r } from "./FieldRender2-mpVINVS3.js";
4
+ import { t as r } from "./FieldRender2-B6my9Xz5.js";
5
5
  import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, openBlock as d, renderList as f, renderSlot as p, resolveComponent as m, toDisplayString as h, vShow as g, watch as _, withCtx as v, withDirectives as y } from "vue";
6
6
  import { CloseOutlined as b, LeftOutlined as x, RightOutlined as S } from "@ant-design/icons-vue";
7
7
  import C from "moment";
@@ -3,8 +3,8 @@ import { getApiData as s } from "./api/api-model.js";
3
3
  import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
4
  import { t as l } from "./lodash-CMVwnWxD.js";
5
5
  import { r as u } from "./RemoteSelect-CrqKuqLy.js";
6
- import { P as d, n as f, s as p } from "./function-LbKUBNcg.js";
7
- import { i as m } from "./RemoteModal-COgiAuAD.js";
6
+ import { P as d, n as f, s as p } from "./function-Cv_Ak3mH.js";
7
+ import { i as m } from "./RemoteModal-Bf5GJD7_.js";
8
8
  import { t as h } from "./modal-tools-CZkYEwEr.js";
9
9
  import { exportJsonToExcel as g } from "./utils/excel.js";
10
10
  import { Fragment as _, computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as C, createTextVNode as w, createVNode as T, defineAsyncComponent as ee, defineComponent as E, h as te, normalizeClass as ne, normalizeStyle as D, onBeforeUnmount as re, onMounted as O, onUnmounted as ie, onUpdated as ae, openBlock as k, reactive as oe, ref as A, renderList as se, renderSlot as ce, resolveComponent as j, resolveDynamicComponent as le, shallowRef as ue, toDisplayString as de, toRaw as fe, watch as pe, watchEffect as me, withCtx as he } from "vue";
@@ -359,7 +359,7 @@ var Re = /*#__PURE__*/ c(Ie, [["render", Le]]), ze = E({
359
359
  }, {
360
360
  label: "整体更新(update)",
361
361
  value: "update"
362
- }], r = A([]), i = ee(() => import("./ImportExcelModal-CNnrKhWZ.js")), a = v(() => e.innerModel ? (e.innerModel[e.field.name] || (e.innerModel[e.field.name] = {}), e.innerModel[e.field.name]) : {}), o = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("clear"))), s = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("download"))), c = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("import"))), l = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("add"))), u = v(() => {
362
+ }], r = A([]), i = ee(() => import("./ImportExcelModal-COI5Qi6P.js")), a = v(() => e.innerModel ? (e.innerModel[e.field.name] || (e.innerModel[e.field.name] = {}), e.innerModel[e.field.name]) : {}), o = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("clear"))), s = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("download"))), c = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("import"))), l = v(() => !!(e.field.sys_btn_list == null || e.field.sys_btn_list.includes("add"))), u = v(() => {
363
363
  let t = [], n = [];
364
364
  return e.field?.children?.forEach((e) => {
365
365
  e.children instanceof Array && e.children.forEach((e) => {
@@ -1,7 +1,7 @@
1
1
  import { A as e, z as t } from "./init-plugin-CERVEi6b.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { n as r } from "./view-model-DKGqNoLB.js";
4
- import { a as i, s as a } from "./utils-CytJtrVe.js";
4
+ import { a as i, s as a } from "./utils-B0ufucPb.js";
5
5
  import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createTextVNode as u, createVNode as d, defineComponent as f, onMounted as p, openBlock as m, reactive as h, ref as g, resolveComponent as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
6
6
  import { message as x } from "ant-design-vue";
7
7
  import { useI18n as S } from "vue-i18n";
@@ -1,14 +1,14 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "../components-B8V2kgYU.js";
2
- import { f as m, t as h } from "../tablePro-BhQfIVl8.js";
3
- import { c as g, d as _, f as v, i as y } from "../TinymceEditor-QjT2cxCd.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "../components-DSYhAECy.js";
2
+ import { f as m, t as h } from "../tablePro-DHa-p21i.js";
3
+ import { c as g, d as _, f as v, i as y } from "../TinymceEditor-AWBqjRPa.js";
4
4
  import { i as b, r as x } from "../RemoteSelect-CrqKuqLy.js";
5
- import { t as S } from "../RemoteModal-COgiAuAD.js";
6
- import { t as C } from "../RemoteSelectPro-z_3BzMHx.js";
5
+ import { t as S } from "../RemoteModal-Bf5GJD7_.js";
6
+ import { t as C } from "../RemoteSelectPro-BaG4111d.js";
7
7
  import { t as w } from "../JsonStr-JwOPdAYW.js";
8
8
  import { t as T } from "../JsonObj-CmylW4Or.js";
9
- import { t as E } from "../FieldRender-Bl9ZA9H5.js";
10
- import { t as D } from "../FieldRender2-mpVINVS3.js";
11
- import { t as O } from "../SearchRender--lQLXLHZ.js";
12
- import { t as k } from "../FormRender3-DQcj5PTb.js";
13
- import { C as A, w as j } from "../tablePageHost-C2Yeyc7J.js";
9
+ import { t as E } from "../FieldRender-C4OepSkR.js";
10
+ import { t as D } from "../FieldRender2-B6my9Xz5.js";
11
+ import { t as O } from "../SearchRender-U7MnkQr1.js";
12
+ import { t as k } from "../FormRender3-Bd7f9kk6.js";
13
+ import { C as A, w as j } from "../tablePageHost-Cz2zr84L.js";
14
14
  export { l as AddConditionGroupModal, x as BoldMatcher, v as CodeEditor, o as ExtraFieldSettings, E as FieldRender, D as FieldRender2, n as FormRender, p as FormRender2, k as FormRender3, r as GeneralFilter, y as IconSelect, T as JsonObj, w as JsonStr, S as RemoteModal, C as RemoteSelectPro, g as RemoteTreeSelectPro, O as SearchRender, t as SideSearchRender, m as SmallTableSerarchField, a as ViewManage, u as ai_agent_files, s as ai_agent_web, _ as debugCode, d as fullLayout, b as getFormConfig, c as gridPage, f as inner_page, A as pivotCharts, j as pivotTable, e as remotePagesV2, i as sql_db_view, h as tablePro };
@@ -3,25 +3,25 @@ import { A as t, D as n, E as r, L as i, M as a, N as o, O as s, S as c, T as l,
3
3
  /* empty css */
4
4
  import { getApiData as m } from "./api/api-model.js";
5
5
  import { t as h } from "./_plugin-vue_export-helper-B3ysoDQm.js";
6
- import { m as g, t as _ } from "./tablePro-BhQfIVl8.js";
6
+ import { m as g, t as _ } from "./tablePro-DHa-p21i.js";
7
7
  import { t as v } from "./lodash-CMVwnWxD.js";
8
- import { f as y } from "./TinymceEditor-QjT2cxCd.js";
8
+ import { f as y } from "./TinymceEditor-AWBqjRPa.js";
9
9
  import { ConditionOperatorMap as b } from "./api/typing.js";
10
10
  import "./RemoteSelect-CrqKuqLy.js";
11
- import { L as x, O as S, P as ee, Q as C, X as w, Z as T, f as E, it as D, nt as O, r as te, rt as ne, tt as re } from "./function-LbKUBNcg.js";
12
- import "./RemoteModal-COgiAuAD.js";
13
- import "./RemoteSelectPro-z_3BzMHx.js";
11
+ import { L as x, O as S, P as ee, Q as C, X as w, Z as T, f as E, it as D, nt as O, r as te, rt as ne, tt as re } from "./function-Cv_Ak3mH.js";
12
+ import "./RemoteModal-Bf5GJD7_.js";
13
+ import "./RemoteSelectPro-BaG4111d.js";
14
14
  import "./JsonStr-JwOPdAYW.js";
15
15
  import "./JsonObj-CmylW4Or.js";
16
16
  import { t as k } from "./modal-tools-CZkYEwEr.js";
17
- import { t as A } from "./FieldRender-Bl9ZA9H5.js";
18
- import { t as ie } from "./FieldRender2-mpVINVS3.js";
19
- import "./SearchRender--lQLXLHZ.js";
20
- import "./FormRender3-DQcj5PTb.js";
17
+ import { t as A } from "./FieldRender-C4OepSkR.js";
18
+ import { t as ie } from "./FieldRender2-B6my9Xz5.js";
19
+ import "./SearchRender-U7MnkQr1.js";
20
+ import "./FormRender3-Bd7f9kk6.js";
21
21
  import { a as ae, c as j, n as oe, o as M, r as N, s as se, t as P } from "./view-model-DKGqNoLB.js";
22
22
  import { o as ce, r as le } from "./remotePages-DYfamBt5.js";
23
- import { a as ue, s as de } from "./utils-CytJtrVe.js";
24
- import { C as fe, S as pe, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as xe, i as Se, l as Ce, m as we, n as Te, o as Ee, p as De, r as Oe, s as ke, t as Ae, u as je, v as Me, w as Ne, x as Pe, y as Fe } from "./tablePageHost-C2Yeyc7J.js";
23
+ import { a as ue, s as de } from "./utils-B0ufucPb.js";
24
+ import { C as fe, S as pe, _ as me, a as he, b as ge, c as _e, d as ve, f as ye, g as be, h as xe, i as Se, l as Ce, m as we, n as Te, o as Ee, p as De, r as Oe, s as ke, t as Ae, u as je, v as Me, w as Ne, x as Pe, y as Fe } from "./tablePageHost-Cz2zr84L.js";
25
25
  import { gridPageStateSymbol as Ie } from "./components/gridPage/utils.js";
26
26
  import { Fragment as F, KeepAlive as Le, Transition as Re, computed as I, createBlock as L, createCommentVNode as R, createElementBlock as z, createElementVNode as B, createTextVNode as V, createVNode as H, defineComponent as U, getCurrentInstance as ze, h as Be, inject as Ve, markRaw as He, mergeModels as Ue, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeStyle as qe, onActivated as Je, onBeforeMount as Ye, onBeforeUnmount as Xe, onDeactivated as Ze, onMounted as Qe, onUnmounted as $e, openBlock as W, provide as et, reactive as tt, ref as G, renderList as K, renderSlot as nt, resolveComponent as q, resolveDynamicComponent as rt, shallowRef as it, toDisplayString as J, unref as Y, useModel as at, vShow as ot, watch as X, withCtx as Z, withDirectives as st, withKeys as ct, withModifiers as lt } from "vue";
27
27
  import { Modal as ut, message as Q } from "ant-design-vue";
@@ -1,11 +1,11 @@
1
1
  import { O as e, T as t, c as n, z as r } from "./init-plugin-CERVEi6b.js";
2
2
  import { getApiData as i } from "./api/api-model.js";
3
- import { C as a, E as o, S as s, T as c, _ as l, b as u, g as d, h as f, v as p, w as m, x as h, y as g } from "./components-B8V2kgYU.js";
3
+ import { C as a, E as o, S as s, T as c, _ as l, b as u, g as d, h as f, v as p, w as m, x as h, y as g } from "./components-DSYhAECy.js";
4
4
  import { t as _ } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
- import { m as v, p as y } from "./tablePro-BhQfIVl8.js";
6
- import { c as b, i as x } from "./TinymceEditor-QjT2cxCd.js";
7
- import { $ as ee, L as S, Q as C, X as w, Z as T, it as E, rt as D } from "./function-LbKUBNcg.js";
8
- import { t as O } from "./RemoteSelectPro-z_3BzMHx.js";
5
+ import { m as v, p as y } from "./tablePro-DHa-p21i.js";
6
+ import { c as b, i as x } from "./TinymceEditor-AWBqjRPa.js";
7
+ import { $ as ee, L as S, Q as C, X as w, Z as T, it as E, rt as D } from "./function-Cv_Ak3mH.js";
8
+ import { t as O } from "./RemoteSelectPro-BaG4111d.js";
9
9
  import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as te, createTextVNode as F, createVNode as I, defineComponent as L, nextTick as ne, onBeforeUnmount as R, onMounted as re, openBlock as z, ref as B, resolveComponent as V, toDisplayString as H, unref as U, vShow as W, watch as G, withCtx as K, withDirectives as q } from "vue";
10
10
  import { message as J } from "ant-design-vue";
11
11
  import { useResizeObserver as ie } from "@vueuse/core";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./tablePageHost-C2Yeyc7J.js";
2
+ import { t } from "./tablePageHost-Cz2zr84L.js";
3
3
  import { computed as n, createBlock as r, createElementBlock as i, defineComponent as a, openBlock as o, resolveComponent as s } from "vue";
4
4
  //#region src/components/detailTablePro/detailTablePro.vue?vue&type=script&setup=true&lang.ts
5
5
  var c = { class: "detail-table-pro" }, l = /*#__PURE__*/ e(/* @__PURE__ */ a({
@@ -4512,7 +4512,23 @@ function cn(e) {
4512
4512
  return !e || e.length === 0 ? "参数格式不符合要求" : e.map((e) => e.keyword === "required" && typeof e.params?.missingProperty == "string" ? `缺少必填字段 ${e.params.missingProperty}` : e.keyword === "additionalProperties" && typeof e.params?.additionalProperty == "string" ? `存在未定义字段 ${e.params.additionalProperty}` : `${(e.instancePath ? e.instancePath.replace(/\//g, ".").replace(/^\./, "") : "") || "root"}: ${e.message || "参数不合法"}`).join("; ");
4513
4513
  }
4514
4514
  function ln(e) {
4515
- return e === void 0 ? {} : e;
4515
+ if (e == null) return { value: {} };
4516
+ if (typeof e == "string") {
4517
+ let t = e.trim();
4518
+ if (!t) return { value: {} };
4519
+ try {
4520
+ return { value: JSON.parse(t) };
4521
+ } catch {
4522
+ return {
4523
+ value: e,
4524
+ error: `params 是字符串且不是合法 JSON(长度 ${e.length})`
4525
+ };
4526
+ }
4527
+ }
4528
+ return typeof e == "object" && !Array.isArray(e) ? { value: e } : {
4529
+ value: e,
4530
+ error: `params 必须是对象(实际收到 ${Array.isArray(e) ? "array" : typeof e})`
4531
+ };
4516
4532
  }
4517
4533
  function un(e, t) {
4518
4534
  let n = t.parameters || Ht({}), r = t.parameters ? sn.compile(t.parameters) : null;
@@ -4524,8 +4540,11 @@ function un(e, t) {
4524
4540
  description: t.description || `${e} 页面能力`,
4525
4541
  parameters: n,
4526
4542
  execute: (n) => {
4527
- let i = ln(n);
4528
- return r && !r(i) ? {
4543
+ let { value: i, error: a } = ln(n);
4544
+ return a ? {
4545
+ ok: !1,
4546
+ error: `页面能力「${t.toolName || e}」参数错误: ${a}`
4547
+ } : r && !r(i) ? {
4529
4548
  ok: !1,
4530
4549
  error: `页面能力「${t.toolName || e}」参数校验失败: ${cn(r.errors)}`
4531
4550
  } : t.execute(i);
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { B as e, C as t, F as n, H as r, R as i, _ as a, a as o, d as s, f as c,
3
3
  import { defineAsyncComponent as S } from "vue";
4
4
  //#region src/index.ts
5
5
  var C = { install(C, w) {
6
- w?.env && C.use(_(w.env)), w?.globMap && C.use(s(w.globMap)), w?.bus && C.use(v(w.bus)), w?.useAppStore && C.use(t(w.useAppStore)), w?.useUserStore && C.use(e(w.useUserStore)), w?.request && C.use(a(w.request)), w?.useRequiredConditionStore && C.use(i(w.useRequiredConditionStore)), w?.required_condition_event_obj && C.use(x(w.required_condition_event_obj)), w?.event_obj && C.use(d(w.event_obj)), w?.ls && C.use(h(w.ls)), w?.sourceStore && C.use(b(w.sourceStore)), w?.usePageConfigStore && C.use(n(w.usePageConfigStore)), w?.remoteSelectStore && C.use(l(w.remoteSelectStore)), w?.cellComponentMap && C.use(g(w.cellComponentMap)), w?.cellFormatExcelValueMap && C.use(u(w.cellFormatExcelValueMap)), w?.cellComponentList && C.use(p(w.cellComponentList)), w?.cellSummaryComponentList && C.use(o(w.cellSummaryComponentList)), w?.menuComponents && C.use(f(w.menuComponents)), w?.debugCodeComponent && C.use(m(w.debugCodeComponent)), w?.extraMenuIcons && C.use(y(w.extraMenuIcons)), w?.workerHostFunctions && C.use(r(w.workerHostFunctions)), w?.injectMenuState && C.use(c(w.injectMenuState)), C.component("FieldRender", S(() => import("./FieldRender-Bl9ZA9H5.js").then((e) => e.n))).component("AttributeTable", S(() => import("./AttributeTable-Bn2bZCfi.js").then((e) => e.n))).component("AttributeNomTable", S(() => import("./AttributeNomTable-CpBTMwTk.js").then((e) => e.n))).component("SearchRender", S(() => import("./SearchRender--lQLXLHZ.js").then((e) => e.n))).component("RemoteSelect", S(() => import("./RemoteSelect-CrqKuqLy.js").then((e) => e.n))).component("RemoteCascader", S(() => import("./RemoteCascader-BsOeNVvB.js").then((e) => e.n))).component("RemoteFilterSelect", S(() => import("./RemoteFilterSelect-DF906O8X.js").then((e) => e.n))).component("RemoteModal", S(() => import("./RemoteModal-COgiAuAD.js").then((e) => e.n))).component("JsonStr", S(() => import("./JsonStr-JwOPdAYW.js").then((e) => e.n))).component("JsonObj", S(() => import("./JsonObj-CmylW4Or.js").then((e) => e.n))).component("RemoteText", S(() => import("./RemoteText-C_zxmxfK.js").then((e) => e.n))).component("RemoteTable2", S(() => import("./RemoteTable2-DYHG0cqX.js").then((e) => e.n))).component("syncDataSourceConfig", S(() => import("./syncDataSourceConfig-DKrssIyJ.js"))).component("dbDataSourceConfig", S(() => import("./dbDataSourceConfig-C6DZSt8a.js"))).component("dbViewConfig", S(() => import("./dbViewConfig-BO2uXd62.js"))).component("syncModelTypeConfig", S(() => import("./syncModelTypeConfig-DiHd8svV.js"))).component("syncExportRawData", S(() => import("./syncExportRawData-CIzIi2Mu.js"))).component("aiGenModel", S(() => import("./aiGenModel-C9E1ahu8.js"))).component("batchCreateUser", S(() => import("./batchCreateUser-BQJC1Ft5.js"))).component("detailTablePro", S(() => import("./detailTablePro-CQEibgwK.js"))).component("FormRender3", S(() => import("./FormRender3-DQcj5PTb.js").then((e) => e.n))).component("NormalViewIcon", S(() => import("./normalViewIcon-CglvKVbZ.js"))).component("PivotTableIcon", S(() => import("./pivotTableIcon-DbvqffwC.js"))).component("PivotChartIcon", S(() => import("./pivotChartIcon-gDZG-d23.js"))).component("Cell_org_shard_info", S(() => import("./cell_org_shard_info-CbffFp2w.js"))).component("createOrg", S(() => import("./create_org-CimSxOEv.js"))).component("ViewAuthConfigModal", S(() => import("./ViewAuthConfigModal-BGSpkBVb.js"))).component("ViewCreateModal", S(() => import("./ViewCreateModal-7WTzmjsy.js")));
6
+ w?.env && C.use(_(w.env)), w?.globMap && C.use(s(w.globMap)), w?.bus && C.use(v(w.bus)), w?.useAppStore && C.use(t(w.useAppStore)), w?.useUserStore && C.use(e(w.useUserStore)), w?.request && C.use(a(w.request)), w?.useRequiredConditionStore && C.use(i(w.useRequiredConditionStore)), w?.required_condition_event_obj && C.use(x(w.required_condition_event_obj)), w?.event_obj && C.use(d(w.event_obj)), w?.ls && C.use(h(w.ls)), w?.sourceStore && C.use(b(w.sourceStore)), w?.usePageConfigStore && C.use(n(w.usePageConfigStore)), w?.remoteSelectStore && C.use(l(w.remoteSelectStore)), w?.cellComponentMap && C.use(g(w.cellComponentMap)), w?.cellFormatExcelValueMap && C.use(u(w.cellFormatExcelValueMap)), w?.cellComponentList && C.use(p(w.cellComponentList)), w?.cellSummaryComponentList && C.use(o(w.cellSummaryComponentList)), w?.menuComponents && C.use(f(w.menuComponents)), w?.debugCodeComponent && C.use(m(w.debugCodeComponent)), w?.extraMenuIcons && C.use(y(w.extraMenuIcons)), w?.workerHostFunctions && C.use(r(w.workerHostFunctions)), w?.injectMenuState && C.use(c(w.injectMenuState)), C.component("FieldRender", S(() => import("./FieldRender-C4OepSkR.js").then((e) => e.n))).component("AttributeTable", S(() => import("./AttributeTable-Bn2bZCfi.js").then((e) => e.n))).component("AttributeNomTable", S(() => import("./AttributeNomTable-CpBTMwTk.js").then((e) => e.n))).component("SearchRender", S(() => import("./SearchRender-U7MnkQr1.js").then((e) => e.n))).component("RemoteSelect", S(() => import("./RemoteSelect-CrqKuqLy.js").then((e) => e.n))).component("RemoteCascader", S(() => import("./RemoteCascader-BsOeNVvB.js").then((e) => e.n))).component("RemoteFilterSelect", S(() => import("./RemoteFilterSelect-DF906O8X.js").then((e) => e.n))).component("RemoteModal", S(() => import("./RemoteModal-Bf5GJD7_.js").then((e) => e.n))).component("JsonStr", S(() => import("./JsonStr-JwOPdAYW.js").then((e) => e.n))).component("JsonObj", S(() => import("./JsonObj-CmylW4Or.js").then((e) => e.n))).component("RemoteText", S(() => import("./RemoteText-C_zxmxfK.js").then((e) => e.n))).component("RemoteTable2", S(() => import("./RemoteTable2-DYHG0cqX.js").then((e) => e.n))).component("syncDataSourceConfig", S(() => import("./syncDataSourceConfig-DKrssIyJ.js"))).component("dbDataSourceConfig", S(() => import("./dbDataSourceConfig-C6DZSt8a.js"))).component("dbViewConfig", S(() => import("./dbViewConfig-CYmBnCjk.js"))).component("syncModelTypeConfig", S(() => import("./syncModelTypeConfig-DiHd8svV.js"))).component("syncExportRawData", S(() => import("./syncExportRawData-CIzIi2Mu.js"))).component("aiGenModel", S(() => import("./aiGenModel-C9E1ahu8.js"))).component("batchCreateUser", S(() => import("./batchCreateUser-BQJC1Ft5.js"))).component("detailTablePro", S(() => import("./detailTablePro-DD-lCCG1.js"))).component("FormRender3", S(() => import("./FormRender3-Bd7f9kk6.js").then((e) => e.n))).component("NormalViewIcon", S(() => import("./normalViewIcon-CglvKVbZ.js"))).component("PivotTableIcon", S(() => import("./pivotTableIcon-DbvqffwC.js"))).component("PivotChartIcon", S(() => import("./pivotChartIcon-gDZG-d23.js"))).component("Cell_org_shard_info", S(() => import("./cell_org_shard_info-CbffFp2w.js"))).component("createOrg", S(() => import("./create_org-CimSxOEv.js"))).component("ViewAuthConfigModal", S(() => import("./ViewAuthConfigModal-BGSpkBVb.js"))).component("ViewCreateModal", S(() => import("./ViewCreateModal-t-HEKliw.js")));
7
7
  } };
8
8
  //#endregion
9
9
  export { C as default };
@@ -39,7 +39,7 @@ var b = { class: "header" }, x = /*#__PURE__*/ e(/* @__PURE__ */ c({
39
39
  },
40
40
  emits: ["ok"],
41
41
  setup(e, { emit: c }) {
42
- let x = c, S = e, C = s(() => import("./tablePro-BhQfIVl8.js").then((e) => e.n)), w = p(500), T = p([]), E = () => {
42
+ let x = c, S = e, C = s(() => import("./tablePro-DHa-p21i.js").then((e) => e.n)), w = p(500), T = p([]), E = () => {
43
43
  w.value = window.innerHeight - 300;
44
44
  }, D = n(() => T.value ? T.value.map((e) => e.value) : []);
45
45
  u(() => {
@@ -2,13 +2,13 @@ import { o as e, r as t, t as n } from "./rolldown-runtime-DY7j01NX.js";
2
2
  import { A as r, L as i, N as a, c as o, v as s, z as c } from "./init-plugin-CERVEi6b.js";
3
3
  import { getApiData as l } from "./api/api-model.js";
4
4
  import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
- import { a as d, c as f, d as p, h as m, i as h, l as g, o as _, r as v, s as y, t as b, u as x } from "./tablePro-BhQfIVl8.js";
5
+ import { a as d, c as f, d as p, h as m, i as h, l as g, o as _, r as v, s as y, t as b, u as x } from "./tablePro-DHa-p21i.js";
6
6
  import { t as S } from "./lodash-CMVwnWxD.js";
7
- import { L as C, Q as w, X as T, Z as E, at as D, c as O, et as k, f as ee, it as A, nt as j, ot as M, rt as te, t as ne, tt as re } from "./function-LbKUBNcg.js";
7
+ import { L as C, Q as w, X as T, Z as E, at as D, c as O, et as k, f as ee, it as A, nt as j, ot as M, rt as te, t as ne, tt as re } from "./function-Cv_Ak3mH.js";
8
8
  import { t as N } from "./modal-tools-CZkYEwEr.js";
9
9
  import { a as ie, c as ae, n as oe, o as se, r as ce, s as le, t as ue } from "./view-model-DKGqNoLB.js";
10
10
  import { n as de, r as fe } from "./remotePages-DYfamBt5.js";
11
- import { a as pe, i as me, n as he, o as ge, p as _e, s as ve, t as ye, u as be } from "./utils-CytJtrVe.js";
11
+ import { a as pe, i as me, n as he, o as ge, p as _e, s as ve, t as ye, u as be } from "./utils-B0ufucPb.js";
12
12
  import { t as P } from "./exceljs.min-BPhBd8yF.js";
13
13
  import { Fragment as xe, KeepAlive as Se, Teleport as Ce, Transition as we, computed as Te, createBlock as Ee, createCommentVNode as De, createElementBlock as Oe, createElementVNode as ke, createTextVNode as Ae, createVNode as F, customRef as je, defineComponent as Me, getCurrentInstance as Ne, h as Pe, inject as Fe, isVNode as Ie, mergeModels as Le, mergeProps as Re, nextTick as ze, normalizeClass as Be, normalizeStyle as Ve, onActivated as He, onBeforeUnmount as Ue, onDeactivated as We, onMounted as Ge, onUnmounted as Ke, openBlock as I, provide as qe, reactive as Je, ref as L, render as Ye, renderList as Xe, renderSlot as Ze, resolveComponent as Qe, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as tt, unref as nt, useModel as rt, useSlots as it, watch as at, watchEffect as ot, withCtx as R, withModifiers as st } from "vue";
14
14
  import { Modal as ct, message as lt } from "ant-design-vue";
@@ -3,12 +3,12 @@ import { A as t, I as n, L as r, v as i, z as a } from "./init-plugin-CERVEi6b.j
3
3
  import { getApiData as o } from "./api/api-model.js";
4
4
  import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
5
  import { t as c } from "./lodash-CMVwnWxD.js";
6
- import { a as l, c as u, f as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./TinymceEditor-QjT2cxCd.js";
6
+ import { a as l, c as u, f as d, i as f, l as p, n as m, o as h, r as g, s as _, t as v, u as y } from "./TinymceEditor-AWBqjRPa.js";
7
7
  import { t as b } from "./RemoteSelect-CrqKuqLy.js";
8
8
  import { t as x } from "./RemoteCascader-BsOeNVvB.js";
9
- import { I as S, N as C, P as w, S as T, c as ee, f as E, r as te, t as ne, x as re } from "./function-LbKUBNcg.js";
10
- import { t as D } from "./RemoteModal-COgiAuAD.js";
11
- import { n as ie, r as ae, t as oe } from "./RemoteSelectPro-z_3BzMHx.js";
9
+ import { I as S, N as C, P as w, S as T, c as ee, f as E, r as te, t as ne, x as re } from "./function-Cv_Ak3mH.js";
10
+ import { t as D } from "./RemoteModal-Bf5GJD7_.js";
11
+ import { n as ie, r as ae, t as oe } from "./RemoteSelectPro-BaG4111d.js";
12
12
  import { t as se } from "./RemoteFilterSelect-DF906O8X.js";
13
13
  import { t as ce } from "./AttributeNomTable-CpBTMwTk.js";
14
14
  import { t as le } from "./AttributeTable-Bn2bZCfi.js";
@@ -17,7 +17,7 @@ import { t as de } from "./JsonObj-CmylW4Or.js";
17
17
  import { t as fe } from "./RemoteText-C_zxmxfK.js";
18
18
  import { t as pe } from "./modal-tools-CZkYEwEr.js";
19
19
  import { a as me, c as he, o as ge, r as _e, s as ve, t as ye } from "./view-model-DKGqNoLB.js";
20
- import { c as be, d as xe, f as Se, i as Ce, l as we, n as Te, o as Ee, p as De, r as Oe, t as ke, u as Ae } from "./utils-CytJtrVe.js";
20
+ import { c as be, d as xe, f as Se, i as Ce, l as we, n as Te, o as Ee, p as De, r as Oe, t as ke, u as Ae } from "./utils-B0ufucPb.js";
21
21
  import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as je, createTextVNode as P, createVNode as F, defineComponent as I, guardReactiveProps as Me, h as Ne, inject as L, mergeModels as Pe, mergeProps as Fe, normalizeClass as R, normalizeProps as Ie, normalizeStyle as z, onActivated as Le, onBeforeUnmount as Re, onDeactivated as ze, onMounted as Be, onUnmounted as Ve, openBlock as B, provide as He, reactive as Ue, ref as V, renderList as H, renderSlot as We, resolveComponent as U, resolveDynamicComponent as Ge, toDisplayString as W, unref as G, useAttrs as Ke, useModel as qe, watch as K, withCtx as q, withModifiers as J } from "vue";
22
22
  import { Modal as Je, message as Ye } from "ant-design-vue";
23
23
  import { useResizeObserver as Xe } from "@vueuse/core";
@@ -1,2 +1,2 @@
1
- import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, O as m, P as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, _ as w, a as T, b as E, c as D, d as O, f as k, g as A, h as j, i as M, j as N, k as P, l as F, m as I, n as L, o as R, p as z, q as B, r as V, s as H, t as U, u as W, v as G, w as K, x as q, y as J, z as Y } from "../function-LbKUBNcg.js";
1
+ import { A as e, B as t, C as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, O as m, P as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, _ as w, a as T, b as E, c as D, d as O, f as k, g as A, h as j, i as M, j as N, k as P, l as F, m as I, n as L, o as R, p as z, q as B, r as V, s as H, t as U, u as W, v as G, w as K, x as q, y as J, z as Y } from "../function-Cv_Ak3mH.js";
2
2
  export { u as QUICK_ACTION_CHANGE_EVENT, B as QUICK_ACTION_REGISTRY_KEY, U as checkCondition, L as convertValueByClassName, V as copyValue, M as countSum, T as customRenderMetaData, R as defineRemoteComponent, H as executeScriptInWorker, l as extractQuickActionsFromOptions, D as filterConditions, F as filterNullAndEmptyKeys, W as format_datetime_hh_mm, O as format_ms_hh_mm, k as genID, z as getDate, I as getDateMonth, j as getDateTime, A as getDateYear, w as getFullDate, G as getFullDateTime, J as getFullYearDateTime, E as getMonth, q as getObjList, _ as getObjListBySelectedRowKeys, n as getRangePicker, K as getTime, v as getTime2, i as getTime3, r as getTon, m as get_operator_type_map, P as get_org_id, e as get_page_tree_data, N as get_remote_tree_data, f as get_tag_color_by_slots, p as isEmpty, h as isNotEmpty, a as isValidDate, C as listQuickActions, c as nested_sort_list, d as registerCustomPageAbility, S as registerQuickAction, g as set_org_id, Y as showGroupFormat, t as strToBase64, b as toFixed0, s as toFixed2, y as toFixed3, x as toFixed6, o as trim };
@@ -1,5 +1,5 @@
1
1
  import { getApiData as e } from "../../api/api-model.js";
2
- import { l as t } from "../../function-LbKUBNcg.js";
2
+ import { l as t } from "../../function-Cv_Ak3mH.js";
3
3
  import { isReactive as n, isRef as r, onMounted as i, reactive as a, ref as o, unref as s, watch as c } from "vue";
4
4
  //#region src/utils/hooks/useFetchData.ts
5
5
  var l = {
@@ -1,7 +1,7 @@
1
1
  import { A as e, z as t } from "./init-plugin-CERVEi6b.js";
2
2
  import { getApiData as n } from "./api/api-model.js";
3
3
  import { ConditionOperatorMap as r, operator_params_count as i } from "./api/typing.js";
4
- import { P as a } from "./function-LbKUBNcg.js";
4
+ import { P as a } from "./function-Cv_Ak3mH.js";
5
5
  import { i as o } from "./view-model-DKGqNoLB.js";
6
6
  import { inject as s } from "vue";
7
7
  //#region src/components/tablePro/utils.ts
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "liyu-pc-base",
3
3
  "type": "module",
4
4
  "license": "MIT",
5
- "version": "1.0.1034",
5
+ "version": "1.0.1036",
6
6
  "scripts": {
7
7
  "build": "vite build",
8
8
  "build:watch": "vite build --watch --mode development",