liyu-pc-base 1.0.1034 → 1.0.1041
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/{FieldRender-Bl9ZA9H5.js → FieldRender-Z6cUFInL.js} +2 -2
- package/dist/{FieldRender2-mpVINVS3.js → FieldRender2-M1x_fNwN.js} +17 -11
- package/dist/{FormRender3-DQcj5PTb.js → FormRender3-CJJmwlzu.js} +3 -3
- package/dist/{ImportExcelModal-CNnrKhWZ.js → ImportExcelModal-COI5Qi6P.js} +1 -1
- package/dist/{RemoteModal-COgiAuAD.js → RemoteModal-Bf5GJD7_.js} +1 -1
- package/dist/{RemoteSelectPro-z_3BzMHx.js → RemoteSelectPro-DTrR2-bh.js} +3 -3
- package/dist/{SearchRender--lQLXLHZ.js → SearchRender-jP5CUTmS.js} +1 -1
- package/dist/{TinymceEditor-QjT2cxCd.js → TinymceEditor-AWBqjRPa.js} +3 -3
- package/dist/{ViewCreateModal-7WTzmjsy.js → ViewCreateModal-t-HEKliw.js} +1 -1
- package/dist/components/index.js +11 -11
- package/dist/{components-B8V2kgYU.js → components-4H6t466w.js} +1257 -1221
- package/dist/{dbViewConfig-BO2uXd62.js → dbViewConfig-BpQzwVRk.js} +5 -5
- package/dist/{detailTablePro-CQEibgwK.js → detailTablePro-QuqYRNml.js} +1 -1
- package/dist/{function-LbKUBNcg.js → function-Cv_Ak3mH.js} +22 -3
- package/dist/index.js +1 -1
- package/dist/liyu-pc-base.css +1 -1
- package/dist/{tableModal-Cu2PZw0F.js → tableModal-ClLRsx8P.js} +1 -1
- package/dist/{tablePageHost-C2Yeyc7J.js → tablePageHost-D09Gcsog.js} +13920 -6697
- package/dist/{tablePro-BhQfIVl8.js → tablePro-CU0BLve0.js} +577 -157
- package/dist/utils/function.js +1 -1
- package/dist/utils/hooks/useFetchData.js +1 -1
- package/dist/{utils-CytJtrVe.js → utils-B0ufucPb.js} +1 -1
- package/package.json +3 -2
|
@@ -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-
|
|
6
|
-
import { n as a, r as o, t as s } from "./RemoteSelectPro-
|
|
5
|
+
import { t as i } from "./RemoteModal-Bf5GJD7_.js";
|
|
6
|
+
import { n as a, r as o, t as s } from "./RemoteSelectPro-DTrR2-bh.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-
|
|
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-
|
|
9
|
-
import { i as x, t as S } from "./RemoteModal-
|
|
10
|
-
import { n as ne, r as C, t as re } from "./RemoteSelectPro-
|
|
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-DTrR2-bh.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-
|
|
94
|
+
let n = V({ ...e.field.form.rules }), r = H({}), i = ue(() => import("./FormRender3-CJJmwlzu.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]) => {
|
|
@@ -975,13 +975,19 @@ async function ut(e) {
|
|
|
975
975
|
//#region src/components/FormRender/addonValue.ts
|
|
976
976
|
var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) => t && e.endsWith(t) ? e.slice(0, -t.length) : e, pt = (e) => e != null && !(e instanceof Array) && typeof e != "object", mt = (e, t) => {
|
|
977
977
|
if (!pt(t)) return t;
|
|
978
|
-
let n =
|
|
979
|
-
|
|
978
|
+
let n = !!(e?.extraAddonAfter && e?.addonAfter), r = !!(e?.extraAddonBefore && e?.addonBefore);
|
|
979
|
+
if (!n && !r) return t;
|
|
980
|
+
let i = `${t}`;
|
|
981
|
+
n && (i = ft(i, e.addonAfter)), r && (i = dt(i, e.addonBefore));
|
|
982
|
+
let a = i.trim();
|
|
983
|
+
return a !== "" && !isNaN(Number(a)) ? Number(a) : i;
|
|
980
984
|
}, ht = (e, t) => {
|
|
981
985
|
let n = mt(e, t);
|
|
982
986
|
if (!pt(n) || n === "") return n;
|
|
983
|
-
let r =
|
|
984
|
-
|
|
987
|
+
let r = !!(e?.extraAddonBefore && e?.addonBefore), i = !!(e?.extraAddonAfter && e?.addonAfter);
|
|
988
|
+
if (!r && !i) return n;
|
|
989
|
+
let a = `${n}`;
|
|
990
|
+
return r && (a = `${e.addonBefore}${a}`), i && (a = `${a}${e.addonAfter}`), a;
|
|
985
991
|
}, Q = r(), gt = { class: "top_btn" }, _t = /*#__PURE__*/ n(/* @__PURE__ */ I({
|
|
986
992
|
__name: "FormTemplate",
|
|
987
993
|
props: {
|
|
@@ -1011,7 +1017,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1011
1017
|
}, {
|
|
1012
1018
|
label: "整体更新(update)",
|
|
1013
1019
|
value: "update"
|
|
1014
|
-
}], u = ue(() => import("./ImportExcelModal-
|
|
1020
|
+
}], 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
1021
|
xe.confirm({
|
|
1016
1022
|
title: "确认清空吗?",
|
|
1017
1023
|
icon: F(Ce),
|
|
@@ -1738,7 +1744,7 @@ function Dt(e, t, n, r, i, a) {
|
|
|
1738
1744
|
"onUpdate:value"
|
|
1739
1745
|
]);
|
|
1740
1746
|
}
|
|
1741
|
-
var Ot = /*#__PURE__*/ n(Ct, [["render", Dt], ["__scopeId", "data-v-
|
|
1747
|
+
var Ot = /*#__PURE__*/ n(Ct, [["render", Dt], ["__scopeId", "data-v-5aeb19de"]]), kt = { key: 0 }, At = { key: 0 }, jt = { key: 0 }, Mt = { key: 0 }, Nt = /*#__PURE__*/ n(/* @__PURE__ */ I({
|
|
1742
1748
|
__name: "InputPro",
|
|
1743
1749
|
props: /*@__PURE__*/ pe({ field: {
|
|
1744
1750
|
type: Object,
|
|
@@ -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-
|
|
4
|
-
import { s as r } from "./function-
|
|
5
|
-
import { t as i } from "./FieldRender2-
|
|
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-M1x_fNwN.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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
690
|
+
}, de = D(() => import("./tableModal-ClLRsx8P.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-
|
|
4
|
+
import { t as r } from "./FieldRender2-M1x_fNwN.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-
|
|
7
|
-
import { i as m } from "./RemoteModal-
|
|
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-
|
|
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-
|
|
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";
|
package/dist/components/index.js
CHANGED
|
@@ -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-
|
|
2
|
-
import { f as m, t as h } from "../tablePro-
|
|
3
|
-
import { c as g, d as _, f as v, i as y } from "../TinymceEditor-
|
|
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-4H6t466w.js";
|
|
2
|
+
import { f as m, t as h } from "../tablePro-CU0BLve0.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-
|
|
6
|
-
import { t as C } from "../RemoteSelectPro-
|
|
5
|
+
import { t as S } from "../RemoteModal-Bf5GJD7_.js";
|
|
6
|
+
import { t as C } from "../RemoteSelectPro-DTrR2-bh.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-
|
|
10
|
-
import { t as D } from "../FieldRender2-
|
|
11
|
-
import { t as O } from "../SearchRender
|
|
12
|
-
import { t as k } from "../FormRender3-
|
|
13
|
-
import {
|
|
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,
|
|
9
|
+
import { t as E } from "../FieldRender-Z6cUFInL.js";
|
|
10
|
+
import { t as D } from "../FieldRender2-M1x_fNwN.js";
|
|
11
|
+
import { t as O } from "../SearchRender-jP5CUTmS.js";
|
|
12
|
+
import { t as k } from "../FormRender3-CJJmwlzu.js";
|
|
13
|
+
import { E as A, T as j } from "../tablePageHost-D09Gcsog.js";
|
|
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, j as pivotCharts, A as pivotTable, e as remotePagesV2, i as sql_db_view, h as tablePro };
|