liyu-pc-base 1.0.925 → 1.0.931
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-DnOLSXTl.js → FieldRender-CQJ_WyCW.js} +21 -22
- package/dist/{FieldRender2-CvxGe238.js → FieldRender2--HKtBTxJ.js} +66 -68
- package/dist/{FormRender3-CAxOQgue.js → FormRender3-B8hHEMWn.js} +3 -3
- package/dist/{RemoteCascader-B2ytkZp7.js → RemoteCascader-BsOeNVvB.js} +1 -1
- package/dist/{RemoteFilterSelect-BthY6Fyt.js → RemoteFilterSelect-DF906O8X.js} +1 -1
- package/dist/{RemoteModal-Dqy32RFN.js → RemoteModal-Ca1pTaYZ.js} +2 -2
- package/dist/{RemoteSelect-27xLYvyg.js → RemoteSelect-bjsCKGfS.js} +199 -174
- package/dist/RemoteSelectPro-BuaraY6j.js +791 -0
- package/dist/{RemoteTable2-DF7gWHYf.js → RemoteTable2-DYHG0cqX.js} +1 -1
- package/dist/{RemoteText-DwRLI0xq.js → RemoteText-C_zxmxfK.js} +1 -1
- package/dist/{SearchRender-Dr_qnvZM.js → SearchRender-B-peS-uL.js} +1 -1
- package/dist/{TinymceEditor-waI-dlC5.js → TinymceEditor-RuTN5CLa.js} +7626 -7154
- package/dist/api/api-model.js +1 -1
- package/dist/{batchCreateUser-B4zAXSR6.js → batchCreateUser-Bldo1FdN.js} +8 -8
- package/dist/components/FormRender/utils.js +6 -6
- package/dist/components/index.js +14 -4395
- package/dist/components/remotePages/index.js +1 -1
- package/dist/components-DPWheEcb.js +4393 -0
- package/dist/{dbDataSourceConfig-Hj90tvTR.js → dbDataSourceConfig-CnGgOJJB.js} +7 -7
- package/dist/{dbViewConfig-BF0QZ_mT.js → dbViewConfig-D0YtSulg.js} +1414 -1067
- package/dist/{detailTablePro-DxgfGYN3.js → detailTablePro-hrGfEi1o.js} +1 -1
- package/dist/{function-BhYSb8ls.js → function-DnoIHo24.js} +1 -1
- package/dist/index.js +5 -5
- package/dist/{init-plugin-CvgtEpwY.js → init-plugin-CERVEi6b.js} +69 -53
- package/dist/liyu-pc-base.css +1 -1
- package/dist/{modal-tools-CrXdI5sg.js → modal-tools-CZkYEwEr.js} +1 -1
- package/dist/{remotePages-CvjMLjTh.js → remotePages-DIuFH_da.js} +56 -56
- package/dist/{role-manage-C7O8b2SF.js → role-manage-05Sol-wI.js} +1 -1
- package/dist/{syncDataSourceConfig-OZ2mJCJs.js → syncDataSourceConfig-C7D3yjhl.js} +7 -7
- package/dist/{syncModelTypeConfig-B2vV_kKb.js → syncModelTypeConfig-D8-hcItK.js} +6 -6
- package/dist/{tableModal-DZE5wntG.js → tableModal-CiaKAZBf.js} +1 -1
- package/dist/{tablePageHost-hE_1hQv4.js → tablePageHost-D2vZ5wl5.js} +232 -232
- package/dist/{tablePro-t2yDX9oW.js → tablePro-Bcz6skvP.js} +135 -129
- package/dist/utils/function.js +1 -1
- package/dist/utils/hooks/useFetchData.js +1 -1
- package/package.json +1 -1
- package/dist/RemoteSelectPro-CcL_vU1K.js +0 -427
- package/dist/RemoteTable-D_12PvNS.js +0 -372
- package/dist/RemoteTreeSelectPro-CXMOariR.js +0 -483
- package/dist/boldenText-Bv8Zo7Vh.js +0 -32
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-DY7j01NX.js";
|
|
2
|
-
import { t } from "./RemoteSelect-
|
|
2
|
+
import { t } from "./RemoteSelect-bjsCKGfS.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { t as r } from "./RemoteCascader-
|
|
5
|
-
import { t as i } from "./RemoteModal-
|
|
6
|
-
import { n as a,
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as m } from "./RemoteSelectPro-CcL_vU1K.js";
|
|
4
|
+
import { t as r } from "./RemoteCascader-BsOeNVvB.js";
|
|
5
|
+
import { t as i } from "./RemoteModal-Ca1pTaYZ.js";
|
|
6
|
+
import { n as a, r as o, t as s } from "./RemoteSelectPro-BuaraY6j.js";
|
|
7
|
+
import { t as c } from "./RemoteFilterSelect-DF906O8X.js";
|
|
8
|
+
import { t as l } from "./AttributeNomTable-DHED22ju.js";
|
|
9
|
+
import { t as u } from "./AttributeTable-muxdKpWW.js";
|
|
10
|
+
import { t as d } from "./JsonStr-JwOPdAYW.js";
|
|
11
|
+
import { t as f } from "./JsonObj-CmylW4Or.js";
|
|
12
|
+
import { t as p } from "./RemoteText-C_zxmxfK.js";
|
|
13
|
+
import { t as m } from "./RemoteTable2-DYHG0cqX.js";
|
|
15
14
|
import { Fragment as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, mergeProps as C, normalizeStyle as w, openBlock as T, renderList as E, resolveComponent as D, toDisplayString as O, withCtx as k } from "vue";
|
|
16
15
|
import { useI18n as A } from "vue-i18n";
|
|
17
16
|
//#region src/components/FormRender/FieldRender.vue?vue&type=script&lang.ts
|
|
@@ -77,19 +76,19 @@ var j = S({
|
|
|
77
76
|
},
|
|
78
77
|
created() {},
|
|
79
78
|
components: {
|
|
80
|
-
RemoteSelectPro:
|
|
81
|
-
AttributeTable:
|
|
82
|
-
AttributeNomTable:
|
|
83
|
-
RemoteFilterSelect:
|
|
79
|
+
RemoteSelectPro: s,
|
|
80
|
+
AttributeTable: u,
|
|
81
|
+
AttributeNomTable: l,
|
|
82
|
+
RemoteFilterSelect: c,
|
|
84
83
|
RemoteModal: i,
|
|
85
84
|
RemoteSelect: t,
|
|
86
85
|
RemoteCascader: r,
|
|
87
|
-
RemoteTreeSelect:
|
|
88
|
-
RemoteTable:
|
|
89
|
-
JsonStr:
|
|
90
|
-
JsonObj:
|
|
91
|
-
RemoteText:
|
|
92
|
-
RemoteTable2:
|
|
86
|
+
RemoteTreeSelect: o,
|
|
87
|
+
RemoteTable: a,
|
|
88
|
+
JsonStr: d,
|
|
89
|
+
JsonObj: f,
|
|
90
|
+
RemoteText: p,
|
|
91
|
+
RemoteTable2: m
|
|
93
92
|
}
|
|
94
93
|
}), M = /* @__PURE__ */ e({ default: () => V }), N = {
|
|
95
94
|
key: 0,
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./RemoteSelect-
|
|
1
|
+
import { L as e } from "./init-plugin-CERVEi6b.js";
|
|
2
|
+
import { t } from "./RemoteSelect-bjsCKGfS.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { t as r } from "./RemoteCascader-
|
|
4
|
+
import { t as r } from "./RemoteCascader-BsOeNVvB.js";
|
|
5
5
|
import { t as i } from "./lodash-CMVwnWxD.js";
|
|
6
6
|
import { getApiData as a } from "./api/api-model.js";
|
|
7
|
-
import { N as o, P as s, k as c, n as l, s as u } from "./function-
|
|
8
|
-
import { i as d, t as f } from "./RemoteModal-
|
|
9
|
-
import { n as p,
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { resolveContextValue as
|
|
18
|
-
import { t as x } from "./RemoteSelectPro-CcL_vU1K.js";
|
|
7
|
+
import { N as o, P as s, k as c, n as l, s as u } from "./function-DnoIHo24.js";
|
|
8
|
+
import { i as d, t as f } from "./RemoteModal-Ca1pTaYZ.js";
|
|
9
|
+
import { n as p, r as m, t as h } from "./RemoteSelectPro-BuaraY6j.js";
|
|
10
|
+
import { t as g } from "./RemoteFilterSelect-DF906O8X.js";
|
|
11
|
+
import { t as _ } from "./AttributeNomTable-DHED22ju.js";
|
|
12
|
+
import { t as v } from "./AttributeTable-muxdKpWW.js";
|
|
13
|
+
import { t as y } from "./JsonStr-JwOPdAYW.js";
|
|
14
|
+
import { t as ee } from "./JsonObj-CmylW4Or.js";
|
|
15
|
+
import { t as te } from "./RemoteText-C_zxmxfK.js";
|
|
16
|
+
import { t as b } from "./modal-tools-CZkYEwEr.js";
|
|
17
|
+
import { resolveContextValue as x } from "./components/FormRender/utils.js";
|
|
19
18
|
import { exportJsonToExcelByTokenHeader as ne } from "./utils/excel.js";
|
|
20
|
-
import {
|
|
21
|
-
import { a as ie, c as ae, i as oe, l as C, n as se, o as w, r as T, s as E, t as ce, u as le } from "./TinymceEditor-waI-dlC5.js";
|
|
19
|
+
import { a as S, c as re, d as C, f as ie, i as ae, l as oe, n as w, o as se, r as T, s as E, t as ce, u as le } from "./TinymceEditor-RuTN5CLa.js";
|
|
22
20
|
import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createSlots as N, createTextVNode as P, createVNode as F, defineAsyncComponent as ue, defineComponent as I, h as de, inject as fe, mergeModels as L, mergeProps as R, normalizeClass as pe, normalizeStyle as me, onMounted as z, onUnmounted as he, openBlock as B, reactive as V, ref as H, renderList as U, renderSlot as ge, resolveComponent as W, resolveDynamicComponent as G, toDisplayString as K, unref as _e, useModel as ve, vShow as ye, watch as q, withCtx as J, withDirectives as be } from "vue";
|
|
23
21
|
import { Modal as xe, message as Se } from "ant-design-vue";
|
|
24
22
|
import { cloneDeep as Ce, debounce as we, isArray as Te } from "lodash-es";
|
|
@@ -93,7 +91,7 @@ var Ae = I({
|
|
|
93
91
|
"copy"
|
|
94
92
|
],
|
|
95
93
|
setup(e, { emit: t }) {
|
|
96
|
-
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-B8hHEMWn.js").then((e) => e.n)), a, o = () => {
|
|
97
95
|
let e = /* @__PURE__ */ new Uint8Array(16);
|
|
98
96
|
return window.crypto.getRandomValues(e), Array.from(e, (e) => e.toString(16).padStart(2, "0")).join("");
|
|
99
97
|
}, s = H([]), c = o(), l = ([t, i]) => {
|
|
@@ -402,7 +400,7 @@ var Fe = /*#__PURE__*/ n(Ae, [["render", Pe], ["__scopeId", "data-v-ac57aef6"]])
|
|
|
402
400
|
r.found && We(r.value, o, e);
|
|
403
401
|
} else e.searchType === 2 ? Object.keys(t).forEach((n) => {
|
|
404
402
|
e.select_name == n && We(t[n], o, e);
|
|
405
|
-
}) : e.searchType === 3 ? We(e.value, o, e) : e.searchType === 4 ? We(
|
|
403
|
+
}) : e.searchType === 3 ? We(e.value, o, e) : e.searchType === 4 ? We(x(e.select_name, r, ["formModel", ...i]), o, e) : We(e.value, o, e);
|
|
406
404
|
}), a.push(o);
|
|
407
405
|
}), a;
|
|
408
406
|
}, Je = (e, t, n, r, i) => {
|
|
@@ -413,7 +411,7 @@ var Fe = /*#__PURE__*/ n(Ae, [["render", Pe], ["__scopeId", "data-v-ac57aef6"]])
|
|
|
413
411
|
r.found && (a[e.field_name] = r.value);
|
|
414
412
|
} else e.searchType === 2 ? Object.keys(t).forEach((n) => {
|
|
415
413
|
e.select_name == n && (a[e.field_name] = t[n]);
|
|
416
|
-
}) : e.searchType === 3 ? a[e.field_name] = e.value : e.searchType === 4 && (a[e.field_name] =
|
|
414
|
+
}) : e.searchType === 3 ? a[e.field_name] = e.value : e.searchType === 4 && (a[e.field_name] = x(e.select_name, r, ["formModel", ...i]));
|
|
417
415
|
}), a;
|
|
418
416
|
}, Ye = (e, t, n, r, i) => {
|
|
419
417
|
let a = {
|
|
@@ -741,7 +739,7 @@ var et = {
|
|
|
741
739
|
});
|
|
742
740
|
return (e, t) => {
|
|
743
741
|
let r = W("CopyOutlined"), i = W("a-button"), a = W("DeleteOutlined"), s = W("s-table-summary-cell"), c = W("s-table-summary-row"), l = W("s-table");
|
|
744
|
-
return B(), k(
|
|
742
|
+
return B(), k(C, {
|
|
745
743
|
"dynamic-title": e.field.dynamicTitle,
|
|
746
744
|
"onUpdate:dynamicTitle": t[1] ||= (t) => e.field.dynamicTitle = t
|
|
747
745
|
}, {
|
|
@@ -916,7 +914,7 @@ async function ut(e) {
|
|
|
916
914
|
}
|
|
917
915
|
}
|
|
918
916
|
} else if (t.watchType === "context") {
|
|
919
|
-
let e =
|
|
917
|
+
let e = x(t.fieldName || "", s, ["formModel", ...l]);
|
|
920
918
|
if (t.valueType === "single") {
|
|
921
919
|
let r = e;
|
|
922
920
|
if (t.valueKey && (r = r?.[t.valueKey]), r === void 0 && n !== void 0) return { value: "" };
|
|
@@ -1071,7 +1069,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1071
1069
|
r.open = !1;
|
|
1072
1070
|
}
|
|
1073
1071
|
});
|
|
1074
|
-
|
|
1072
|
+
b(r);
|
|
1075
1073
|
}, y = H(!1), ee = (e) => {
|
|
1076
1074
|
if (n.field?.form?.rules) {
|
|
1077
1075
|
let t = n.field?.form?.rules[e];
|
|
@@ -1080,7 +1078,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1080
1078
|
}
|
|
1081
1079
|
}
|
|
1082
1080
|
return !1;
|
|
1083
|
-
},
|
|
1081
|
+
}, te = () => {
|
|
1084
1082
|
y.value = !0;
|
|
1085
1083
|
let e = [], t = [];
|
|
1086
1084
|
(n.field.form?.dynamicFieldList || []).forEach((r) => {
|
|
@@ -1144,7 +1142,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1144
1142
|
let t = n.value || [], r = t[e];
|
|
1145
1143
|
if (!r || n.field.max_count && t.length >= n.field.max_count) return;
|
|
1146
1144
|
let i = (0, Q.cloneDeep)(r);
|
|
1147
|
-
for (let e of
|
|
1145
|
+
for (let e of T.value) e.watchType === "serial" && delete i[e.name];
|
|
1148
1146
|
t.splice(e + 1, 0, i);
|
|
1149
1147
|
let o = /* @__PURE__ */ new Set();
|
|
1150
1148
|
for (let e of [n.innerModel, n.globalInnerModel]) {
|
|
@@ -1154,10 +1152,10 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1154
1152
|
o.forEach((t) => {
|
|
1155
1153
|
t.splice(e + 1, 0, (0, Q.cloneDeep)(t[e] || {}));
|
|
1156
1154
|
}), a("update:value", t);
|
|
1157
|
-
},
|
|
1155
|
+
}, w = (0, Q.debounce)(() => {
|
|
1158
1156
|
o.value = window.innerHeight - 165;
|
|
1159
1157
|
}, 200), se = () => {
|
|
1160
|
-
|
|
1158
|
+
b(V({
|
|
1161
1159
|
open: !0,
|
|
1162
1160
|
loading: !1,
|
|
1163
1161
|
component: "InnerFormDesignModal",
|
|
@@ -1183,30 +1181,30 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1183
1181
|
a("update:value", t);
|
|
1184
1182
|
}
|
|
1185
1183
|
});
|
|
1186
|
-
let
|
|
1184
|
+
let T = O(() => {
|
|
1187
1185
|
let e = [];
|
|
1188
1186
|
return (n.field?.form?.dynamicFieldList || []).forEach((t) => {
|
|
1189
1187
|
t.children instanceof Array && t.children.forEach((t) => {
|
|
1190
1188
|
t.type === "dynamicvaluefield" && e.push(t);
|
|
1191
1189
|
});
|
|
1192
1190
|
}), e;
|
|
1193
|
-
}),
|
|
1191
|
+
}), E = O(() => {
|
|
1194
1192
|
let e = [];
|
|
1195
1193
|
return (n.field?.form?.dynamicFieldList || []).forEach((t) => {
|
|
1196
1194
|
t.children instanceof Array && t.children.forEach((t) => {
|
|
1197
1195
|
(t.extraAddonBefore && t.addonBefore || t.extraAddonAfter && t.addonAfter) && e.push(t);
|
|
1198
1196
|
});
|
|
1199
1197
|
}), e;
|
|
1200
|
-
}),
|
|
1198
|
+
}), ce = H(!1), le = O(() => n.field?.showType !== "table" || n.is_form_design ? !1 : (n.field?.form?.dynamicFieldList || []).some((e) => e.children instanceof Array && e.children.some((e) => e.type === "remoteselectpro" && e.postUrl && !e.is_table_hide_column))), N = H(!1), I = () => {
|
|
1201
1199
|
N.value = !1, L(), R();
|
|
1202
1200
|
}, L = (0, Q.debounce)(async () => {
|
|
1203
|
-
if (!
|
|
1204
|
-
|
|
1201
|
+
if (!ce.value && !N.value) {
|
|
1202
|
+
ce.value = !0;
|
|
1205
1203
|
try {
|
|
1206
1204
|
let e = n.value;
|
|
1207
|
-
if (!e || e.length === 0 ||
|
|
1205
|
+
if (!e || e.length === 0 || T.value.length === 0) return;
|
|
1208
1206
|
let t = !1, r = [...e];
|
|
1209
|
-
for (let e of
|
|
1207
|
+
for (let e of T.value) {
|
|
1210
1208
|
if (e.watchType !== "serial" || i.value && e.serialConfig?.mode === "M5") continue;
|
|
1211
1209
|
let a = [];
|
|
1212
1210
|
for (let t = 0; t < r.length; t++) {
|
|
@@ -1257,7 +1255,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1257
1255
|
n.field.name,
|
|
1258
1256
|
e
|
|
1259
1257
|
];
|
|
1260
|
-
for (let s of
|
|
1258
|
+
for (let s of T.value) {
|
|
1261
1259
|
if (s.watchType === "serial") continue;
|
|
1262
1260
|
let c = r[e]?.[s.name], l = await ut({
|
|
1263
1261
|
field: s,
|
|
@@ -1279,18 +1277,18 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1279
1277
|
}
|
|
1280
1278
|
t && a("update:value", r);
|
|
1281
1279
|
} finally {
|
|
1282
|
-
|
|
1280
|
+
ce.value = !1;
|
|
1283
1281
|
}
|
|
1284
1282
|
}
|
|
1285
1283
|
}, 200), R = (0, Q.debounce)(() => {
|
|
1286
1284
|
let e = n.value;
|
|
1287
|
-
if (!e || e.length === 0 ||
|
|
1285
|
+
if (!e || e.length === 0 || E.value.length === 0) return;
|
|
1288
1286
|
let t = !1, r = [...e];
|
|
1289
1287
|
for (let e = 0; e < r.length; e++) {
|
|
1290
1288
|
let n = r[e];
|
|
1291
1289
|
if (!n || typeof n != "object") continue;
|
|
1292
1290
|
let i = n;
|
|
1293
|
-
for (let e of
|
|
1291
|
+
for (let e of E.value) {
|
|
1294
1292
|
let r = i[e.name], a = ht(e, r);
|
|
1295
1293
|
a !== r && (i === n && (i = { ...n }), i[e.name] = a, t = !0);
|
|
1296
1294
|
}
|
|
@@ -1303,20 +1301,20 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1303
1301
|
n.context,
|
|
1304
1302
|
n.field
|
|
1305
1303
|
], () => {
|
|
1306
|
-
|
|
1304
|
+
le.value ? N.value = !0 : N.value = !1, L(), R();
|
|
1307
1305
|
}, {
|
|
1308
1306
|
deep: !0,
|
|
1309
1307
|
immediate: !0
|
|
1310
1308
|
}), q(() => [n.innerModel, n.globalInnerModel], () => {
|
|
1311
1309
|
L(), R();
|
|
1312
1310
|
}, { deep: !0 }), z(() => {
|
|
1313
|
-
if (window.addEventListener("resize",
|
|
1311
|
+
if (window.addEventListener("resize", w), w(), !(n.value instanceof Array) || n.value.length < x.value) {
|
|
1314
1312
|
let e = [...n.value || []];
|
|
1315
1313
|
for (; e.length < x.value;) e.push((0, Q.cloneDeep)(n.field.form.model || {}));
|
|
1316
1314
|
a("update:value", e);
|
|
1317
1315
|
}
|
|
1318
1316
|
}), he(() => {
|
|
1319
|
-
window.removeEventListener("resize",
|
|
1317
|
+
window.removeEventListener("resize", w), w.cancel(), L.cancel(), R.cancel();
|
|
1320
1318
|
}), (e, t) => {
|
|
1321
1319
|
let n = W("a-button");
|
|
1322
1320
|
return B(), j(D, null, [M("div", gt, [
|
|
@@ -1345,7 +1343,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1345
1343
|
size: "small",
|
|
1346
1344
|
type: "primary",
|
|
1347
1345
|
loading: y.value,
|
|
1348
|
-
onClick:
|
|
1346
|
+
onClick: te
|
|
1349
1347
|
}, {
|
|
1350
1348
|
default: J(() => t[2] ||= [P(" 下载导入模版 ")]),
|
|
1351
1349
|
_: 1
|
|
@@ -1370,7 +1368,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1370
1368
|
default: J(() => [P(" " + K(e.field.btn_title || "添加"), 1)]),
|
|
1371
1369
|
_: 1
|
|
1372
1370
|
}, 8, ["disabled"])) : A("", !0),
|
|
1373
|
-
(B(!0), j(D, null, U(e.field.custom_btn_list, (t) => (B(), k(
|
|
1371
|
+
(B(!0), j(D, null, U(e.field.custom_btn_list, (t) => (B(), k(C, {
|
|
1374
1372
|
action_code_id: t.action_code_id,
|
|
1375
1373
|
code: t.code,
|
|
1376
1374
|
"onUpdate:code": (e) => t.code = e,
|
|
@@ -1552,7 +1550,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1552
1550
|
deep: !0
|
|
1553
1551
|
}), (t, n) => {
|
|
1554
1552
|
let r = W("a-input");
|
|
1555
|
-
return B(), j(D, null, [F(
|
|
1553
|
+
return B(), j(D, null, [F(C, {
|
|
1556
1554
|
"value-code": e.field,
|
|
1557
1555
|
"show-debug-code": e.field.watchType === "code"
|
|
1558
1556
|
}, {
|
|
@@ -1568,7 +1566,7 @@ var dt = (e, t) => t && e.startsWith(t) ? e.slice(t.length) : e, ft = (e, t) =>
|
|
|
1568
1566
|
}
|
|
1569
1567
|
}), [["__scopeId", "data-v-b40513b5"]]), bt = I({
|
|
1570
1568
|
name: "FormButton",
|
|
1571
|
-
components: { debugCode:
|
|
1569
|
+
components: { debugCode: C },
|
|
1572
1570
|
props: {
|
|
1573
1571
|
field: {
|
|
1574
1572
|
type: Object,
|
|
@@ -2013,32 +2011,32 @@ var Ot = /*#__PURE__*/ n(Ct, [["render", Dt], ["__scopeId", "data-v-f97da831"]])
|
|
|
2013
2011
|
};
|
|
2014
2012
|
},
|
|
2015
2013
|
components: {
|
|
2016
|
-
IconSelect:
|
|
2017
|
-
RichTextEditor:
|
|
2018
|
-
Upload:
|
|
2014
|
+
IconSelect: ae,
|
|
2015
|
+
RichTextEditor: S,
|
|
2016
|
+
Upload: se,
|
|
2019
2017
|
RemoteCascaderPro: E,
|
|
2020
2018
|
RemoteTreeSelectPro: re,
|
|
2021
|
-
RemoteSelectPro:
|
|
2022
|
-
RemoteComplete:
|
|
2023
|
-
AttributeTable:
|
|
2024
|
-
AttributeNomTable:
|
|
2025
|
-
RemoteFilterSelect:
|
|
2019
|
+
RemoteSelectPro: h,
|
|
2020
|
+
RemoteComplete: oe,
|
|
2021
|
+
AttributeTable: v,
|
|
2022
|
+
AttributeNomTable: _,
|
|
2023
|
+
RemoteFilterSelect: g,
|
|
2026
2024
|
RemoteModal: f,
|
|
2027
2025
|
RemoteSelect: t,
|
|
2028
2026
|
RemoteCascader: r,
|
|
2029
|
-
RemoteTreeSelect:
|
|
2030
|
-
RemoteTable:
|
|
2031
|
-
JsonStr:
|
|
2032
|
-
JsonObj:
|
|
2033
|
-
RemoteText:
|
|
2034
|
-
RemoteTablePro:
|
|
2027
|
+
RemoteTreeSelect: m,
|
|
2028
|
+
RemoteTable: p,
|
|
2029
|
+
JsonStr: y,
|
|
2030
|
+
JsonObj: ee,
|
|
2031
|
+
RemoteText: te,
|
|
2032
|
+
RemoteTablePro: le,
|
|
2035
2033
|
FormTemplate: _t,
|
|
2036
2034
|
DynamicValueField: yt,
|
|
2037
2035
|
FormButton: St,
|
|
2038
2036
|
PlusOutlined: De,
|
|
2039
2037
|
MonthPicker: T,
|
|
2040
|
-
MonthRangePicker:
|
|
2041
|
-
CodeEditor:
|
|
2038
|
+
MonthRangePicker: w,
|
|
2039
|
+
CodeEditor: ie,
|
|
2042
2040
|
TinymceEditor: ce,
|
|
2043
2041
|
InputNumberPro: Ot,
|
|
2044
2042
|
InputPro: Nt
|
|
@@ -2064,7 +2062,7 @@ var Ot = /*#__PURE__*/ n(Ct, [["render", Dt], ["__scopeId", "data-v-f97da831"]])
|
|
|
2064
2062
|
"font-size": "17px"
|
|
2065
2063
|
} };
|
|
2066
2064
|
function Ut(e, t, n, r, i, a) {
|
|
2067
|
-
let o = W("a-switch"), s = W("plus-outlined"), c = W("a-button"), l = W("a-tag"), u = W("a-rate"), d = W("InputPro"), f = W("a-input-number"), p = W("InputNumberPro"), m = W("a-input"), h = W("attribute-table"), g = W("attribute-nom-table"), _ = W("a-textarea"), v = W("json-str"), y = W("json-obj"), ee = W("rich-text-editor"), te = W("a-input-password"), b = W("a-select-option"), x = W("a-select"), ne = W("a-cascader"), S = W("remote-cascader"), re = W("remote-cascader-pro"),
|
|
2065
|
+
let o = W("a-switch"), s = W("plus-outlined"), c = W("a-button"), l = W("a-tag"), u = W("a-rate"), d = W("InputPro"), f = W("a-input-number"), p = W("InputNumberPro"), m = W("a-input"), h = W("attribute-table"), g = W("attribute-nom-table"), _ = W("a-textarea"), v = W("json-str"), y = W("json-obj"), ee = W("rich-text-editor"), te = W("a-input-password"), b = W("a-select-option"), x = W("a-select"), ne = W("a-cascader"), S = W("remote-cascader"), re = W("remote-cascader-pro"), C = W("month-picker"), ie = W("a-date-picker"), ae = W("a-range-picker"), oe = W("month-range-picker"), w = W("a-time-picker"), se = W("a-time-range-picker"), T = W("a-radio"), E = W("a-radio-group"), ce = W("a-checkbox"), le = W("a-checkbox-group"), O = W("a-tree-select"), ue = W("remote-filter-select"), I = W("remote-select"), de = W("remote-select-pro"), fe = W("remote-complete"), L = W("remote-tree-select"), pe = W("remote-tree-select-pro"), z = W("remote-modal"), he = W("remote-table"), V = W("remote-table-pro"), H = W("FormTemplate"), _e = W("DynamicValueField"), ve = W("remote-text"), ye = W("upload"), q = W("code-editor"), be = W("TinymceEditor"), xe = W("icon-select"), Se = W("a-form-item"), Ce = W("a-divider"), we = W("FormButton");
|
|
2068
2066
|
return B(), j(D, null, [
|
|
2069
2067
|
e.field.type !== "divider" && e.field.type !== "button" && (e.field?.is_search_show !== !1 || e.field_render_show) ? (B(), k(Se, R({
|
|
2070
2068
|
key: 0,
|
|
@@ -2546,7 +2544,7 @@ function Ut(e, t, n, r, i, a) {
|
|
|
2546
2544
|
"is_form_design",
|
|
2547
2545
|
"placeholder"
|
|
2548
2546
|
])) : A("", !0),
|
|
2549
|
-
e.field.type === "monthpicker" ? (B(), k(
|
|
2547
|
+
e.field.type === "monthpicker" ? (B(), k(C, {
|
|
2550
2548
|
key: 22,
|
|
2551
2549
|
value: e.model,
|
|
2552
2550
|
"onUpdate:value": t[25] ||= (t) => e.model = t,
|
|
@@ -2575,7 +2573,7 @@ function Ut(e, t, n, r, i, a) {
|
|
|
2575
2573
|
"end_offset_day",
|
|
2576
2574
|
"fix_day"
|
|
2577
2575
|
])) : A("", !0),
|
|
2578
|
-
e.field.type === "datepicker" ? (B(), k(
|
|
2576
|
+
e.field.type === "datepicker" ? (B(), k(ie, {
|
|
2579
2577
|
key: 23,
|
|
2580
2578
|
value: e.model,
|
|
2581
2579
|
"onUpdate:value": t[26] ||= (t) => e.model = t,
|
|
@@ -2602,7 +2600,7 @@ function Ut(e, t, n, r, i, a) {
|
|
|
2602
2600
|
"show-time",
|
|
2603
2601
|
"value-format"
|
|
2604
2602
|
])) : A("", !0),
|
|
2605
|
-
e.field.type === "rangepicker" ? (B(), k(
|
|
2603
|
+
e.field.type === "rangepicker" ? (B(), k(ae, {
|
|
2606
2604
|
key: 24,
|
|
2607
2605
|
value: e.model,
|
|
2608
2606
|
"onUpdate:value": t[27] ||= (t) => e.model = t,
|
|
@@ -2627,7 +2625,7 @@ function Ut(e, t, n, r, i, a) {
|
|
|
2627
2625
|
"value-format",
|
|
2628
2626
|
"picker"
|
|
2629
2627
|
])) : A("", !0),
|
|
2630
|
-
e.field.type === "monthrangepicker" ? (B(), k(
|
|
2628
|
+
e.field.type === "monthrangepicker" ? (B(), k(oe, {
|
|
2631
2629
|
key: 25,
|
|
2632
2630
|
value: e.model,
|
|
2633
2631
|
"onUpdate:value": t[28] ||= (t) => e.model = t,
|
|
@@ -2654,7 +2652,7 @@ function Ut(e, t, n, r, i, a) {
|
|
|
2654
2652
|
"end_offset_day",
|
|
2655
2653
|
"fix_day"
|
|
2656
2654
|
])) : A("", !0),
|
|
2657
|
-
e.field.type === "timepicker" ? (B(), k(
|
|
2655
|
+
e.field.type === "timepicker" ? (B(), k(w, {
|
|
2658
2656
|
key: 26,
|
|
2659
2657
|
value: e.model,
|
|
2660
2658
|
"onUpdate:value": t[29] ||= (t) => e.model = t,
|
|
@@ -2675,7 +2673,7 @@ function Ut(e, t, n, r, i, a) {
|
|
|
2675
2673
|
"placeholder",
|
|
2676
2674
|
"value-format"
|
|
2677
2675
|
])) : A("", !0),
|
|
2678
|
-
e.field.type === "timerangepicker" ? (B(), k(
|
|
2676
|
+
e.field.type === "timerangepicker" ? (B(), k(se, {
|
|
2679
2677
|
key: 27,
|
|
2680
2678
|
value: e.model,
|
|
2681
2679
|
"onUpdate:value": t[30] ||= (t) => e.model = t,
|
|
@@ -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 { s as n } from "./function-
|
|
4
|
-
import {
|
|
5
|
-
import { t as i } from "./FieldRender2
|
|
3
|
+
import { s as n } from "./function-DnoIHo24.js";
|
|
4
|
+
import { d as r } from "./TinymceEditor-RuTN5CLa.js";
|
|
5
|
+
import { t as i } from "./FieldRender2--HKtBTxJ.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,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-DY7j01NX.js";
|
|
2
|
-
import {
|
|
2
|
+
import { M as t } from "./init-plugin-CERVEi6b.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { computed as r, createBlock as i, createVNode as a, defineComponent as o, onMounted as s, openBlock as c, reactive as l, resolveComponent as u, watch as d, withCtx as f } from "vue";
|
|
5
5
|
//#region src/components/FormRender/RemoteCascader/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-DY7j01NX.js";
|
|
2
|
-
import {
|
|
2
|
+
import { M as t } from "./init-plugin-CERVEi6b.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createTextVNode as s, createVNode as c, defineComponent as l, onMounted as u, openBlock as d, reactive as f, renderList as p, resolveComponent as m, toDisplayString as h, watch as g, withCtx as _ } from "vue";
|
|
5
5
|
import { message as v } from "ant-design-vue";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-DY7j01NX.js";
|
|
2
|
-
import {
|
|
2
|
+
import { M as t } from "./init-plugin-CERVEi6b.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { getApiData as r } from "./api/api-model.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-DnoIHo24.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";
|