super-page-designer 2.3.10-design1 → 2.3.11-design2
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/es/components/design/utils/common-option.js +5 -0
- package/dist/es/components/design/utils/form-design-util.js +13 -11
- package/dist/es/components/design/utils/page-table-util.js +35 -31
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +75 -73
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +42 -41
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +49 -48
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +2 -2
- package/package.json +4 -4
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const m = [{ label: "yyyy-m-d", value: "yyyy-m-d" }, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }, { label: "yyyy-m", value: "yyyy-m" }, { label: "m-d", value: "m-d" }, { label: "yyyy", value: "yyyy" }, { label: "yyyy年m月d日", value: "yyyy年m月d日" }, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }, { label: "yyyy年m月", value: "yyyy年m月" }, { label: "m月d日", value: "m月d日" }, { label: "ww", value: "ww" }], y = [{ label: "HH:mm", value: "HH:mm" }, { label: "HH:mm:ss", value: "HH:mm:ss" }, { label: "HH时mm分", value: "HH时mm分" }, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }, { label: "hh:mm", value: "hh:mm" }, { label: "hh:mm:ss", value: "hh:mm:ss" }, { label: "hh时mm分", value: "hh时mm分" }, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" }];
|
|
2
|
+
export {
|
|
3
|
+
m as dateFormatOptions,
|
|
4
|
+
y as timeFormatOptions
|
|
5
|
+
};
|
|
@@ -94,16 +94,18 @@ function f(e2) {
|
|
|
94
94
|
}
|
|
95
95
|
return i2.tittleClassCustom && (t2 += " " + i2.tittleClassCustom.replace(/;/g, " ")), t2;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function u(e2, t2) {
|
|
98
98
|
if (e2.props.base.prop) {
|
|
99
99
|
const i2 = { required: true, message: `${e2.props.base.title}必填`, label: e2.props.base.title };
|
|
100
|
-
|
|
100
|
+
t2 && t2.dataType ? h(t2, i2) : function(e3, t3) {
|
|
101
|
+
e3 && "InputNumber" == e3.name && (t3.type = "number", t3.trigger = "blur");
|
|
102
|
+
}(e2, i2), e2.props.rules.push(i2);
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
|
-
function
|
|
105
|
+
function d(e2, t2, i2) {
|
|
104
106
|
var _a, _b;
|
|
105
107
|
e2.props.rules = [];
|
|
106
|
-
e2.props.base.prop && t2 && (t2.required &&
|
|
108
|
+
e2.props.base.prop && t2 && (t2.required && u(e2, i2), t2.type && c(e2, t2.type, i2), t2.verifyRegex && t2.regex && b(e2, t2.regex, i2), t2.verifyMaxLength && t2.maxLength && m(e2, "max", t2.maxLength, i2), t2.verifyMinLength && t2.minLength && m(e2, "min", t2.minLength, i2), ((_a = t2.custom) == null ? void 0 : _a.enabled) && ((_b = t2.custom.eventNames) == null ? void 0 : _b.length) > 0 ? e2.props.customRuleEvents = t2.custom.eventNames : e2.props.customRuleEvents = []);
|
|
107
109
|
}
|
|
108
110
|
function c(e2, t2, i2) {
|
|
109
111
|
if (t2) {
|
|
@@ -127,16 +129,16 @@ function g(e2, t2, i2) {
|
|
|
127
129
|
function b(e2, t2, i2) {
|
|
128
130
|
if (e2.props.base.prop) {
|
|
129
131
|
const o2 = { pattern: t2, message: `${e2.props.base.title}格式不匹配`, label: e2.props.base.title, patternType: "pattern" };
|
|
130
|
-
|
|
132
|
+
h(i2, o2), e2.props.rules.push(o2);
|
|
131
133
|
}
|
|
132
134
|
}
|
|
133
|
-
function
|
|
135
|
+
function m(e2, t2, i2, o2) {
|
|
134
136
|
if (e2.props.base.prop) {
|
|
135
137
|
const n2 = { label: e2.props.base.title };
|
|
136
|
-
n2[t2] = i2, n2.message = "max" === t2 ? `${e2.props.base.title}最多只能输入${i2}字符` : `${e2.props.base.title}至少输入${i2}字符`,
|
|
138
|
+
n2[t2] = i2, n2.message = "max" === t2 ? `${e2.props.base.title}最多只能输入${i2}字符` : `${e2.props.base.title}至少输入${i2}字符`, h(o2, n2), e2.props.rules.push(n2);
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
|
-
function
|
|
141
|
+
function h(e2, t2) {
|
|
140
142
|
if (!e2 || !e2.dataType) return;
|
|
141
143
|
const i2 = e2.dataType;
|
|
142
144
|
"DATE" === i2 || "TIME" === i2 ? t2.type = "date" : "INTEGER" === i2 || "LONG" === i2 ? t2.type = "number" : "FLOAT" === i2 || "DOUBLE" === i2 ? t2.pattern || (t2.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$")) : "BOOLEAN" === i2 && (t2.type = "boolean"), t2.trigger = "blur";
|
|
@@ -229,9 +231,9 @@ export {
|
|
|
229
231
|
l as removComponentOptionConfigs,
|
|
230
232
|
w as removePropFromRefrencePropMap,
|
|
231
233
|
x as resetConfigIndo,
|
|
232
|
-
|
|
234
|
+
m as watchMaxOrMinValidate,
|
|
233
235
|
b as watchPatternValidate,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
+
u as watchRequiredValidate,
|
|
237
|
+
d as watchValidate,
|
|
236
238
|
c as watchValidateType
|
|
237
239
|
};
|
|
@@ -2,41 +2,41 @@ import e from "agilebuilder-ui/src/utils/request";
|
|
|
2
2
|
import { getFormPropName as t } from "./page-helper-util.js";
|
|
3
3
|
import { getDesignEvents as r } from "./assemblys-config.js";
|
|
4
4
|
import { addI18nKey as a } from "./page-i18n-util.js";
|
|
5
|
-
import { findDesignItemByUuid as
|
|
5
|
+
import { findDesignItemByUuid as o } from "./common-util.js";
|
|
6
6
|
import { getComponentOptionConfigsBase as s } from "super-page-runtime";
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
return
|
|
7
|
+
function i(t2, r2, a2) {
|
|
8
|
+
let o2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns";
|
|
9
|
+
return o2 += "?systemCode=" + (t2 || ""), o2 += "&publishVersion=" + (r2 || ""), o2 += "&tableName=" + (a2 || ""), e.get(o2);
|
|
10
10
|
}
|
|
11
11
|
function n(t2, r2, a2) {
|
|
12
|
-
const
|
|
13
|
-
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/list-view-children/forms",
|
|
12
|
+
const o2 = { systemCode: t2, formVersion: r2, publishVersion: a2 };
|
|
13
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/list-view-children/forms", o2);
|
|
14
14
|
}
|
|
15
15
|
function p(e2, r2) {
|
|
16
|
-
const
|
|
17
|
-
r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[s2.uuid] = function(e3, r3,
|
|
16
|
+
const o2 = JSON.stringify(e2), s2 = JSON.parse(o2);
|
|
17
|
+
r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[s2.uuid] = function(e3, r3, o3) {
|
|
18
18
|
var _a;
|
|
19
|
-
const s3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid,
|
|
20
|
-
return
|
|
19
|
+
const s3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, i3 = { configure: o3, code: s3, name: e3.title, totalType: e3.props.base ? e3.props.base.totalType : null, remark: e3.props.base ? e3.props.base.remark : null, pagination: e3.props.base ? e3.props.base.subPaging : null, rowNum: e3.props.base ? e3.props.base.pageSize : null, optionalRows: e3.props.base ? e3.props.base.pageSizes : null, layout: e3.props.base ? JSON.stringify(e3.props.base.layout) : null, startQuery: e3.props.base ? e3.props.base.startQuery : null, popUp: e3.props.base ? e3.props.base.popUp : null, isInitializationQuery: e3.props.dataOrigin.initializationQuery, defaultQueryCriteria: e3.props.dataOrigin.defaultQueryCriteria, queryLabelPosition: e3.props.base ? e3.props.base.queryLabelPosition : null, editable: e3.props.base ? e3.props.base.editable : null, urlToListData: e3.props.base ? e3.props.base.urlToListData : null, isSql: true, customConfig: e3.props.base ? e3.props.base.customConfig : null, tableName: e3.props.dataOrigin.tableName, totalable: e3.props.title.totalable, defaultSortField: JSON.stringify(e3.props.dataOrigin.sortField), titleAlign: e3.props.base ? e3.props.base.alignTitle : null, contAlign: e3.props.base ? e3.props.base.alignContent : null, displayEffect: e3.props.base ? e3.props.base.displayEffect : null, textOverflow: (_a = e3.props.base) == null ? void 0 : _a.textOverflow, isDragColumn: e3.props.base ? e3.props.base.isDragColumn : null, border: e3.props.base ? e3.props.base.border : null, customImportColumns: e3.props.importSetting.importFields };
|
|
20
|
+
return i3.items = function(e4, r4) {
|
|
21
21
|
var _a2;
|
|
22
|
-
const
|
|
22
|
+
const o4 = [];
|
|
23
23
|
return (_a2 = e4.items) == null ? void 0 : _a2.forEach((e5) => {
|
|
24
24
|
const s4 = { controlName: c(e5) };
|
|
25
|
-
let
|
|
26
|
-
r4.i18nKeys && a(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (
|
|
27
|
-
}),
|
|
28
|
-
}(e3, r3),
|
|
25
|
+
let i4 = { headerName: e5.props.base.name, prop: t(e5.props.base.prop), width: e5.props.base.columnWidth, listColumnSort: e5.props.base.sortable, filterable: e5.props.base.filterable, visible: e5.props.base.visible, exportable: e5.props.base.exportable, total: e5.props.base.total, listColumnFixed: e5.props.base.listColumnFixed, format: g(e5), valueSet: l(e5), querySettingName: e5.props.base.querySettingName ? e5.props.base.querySettingName : "no", queryMatching: e5.props.base.queryMatching, querySetting: e5.props.querySetting ? JSON.stringify(e5.props.querySetting) : null, editable: e5.props.editLine.editable, defaultValue: e5.props.base.defaultValue, controlName: s4.controlName, controlConfig: b(e5), eventType: S(e5), displayOrder: e5.props.base.displayOrder, fileSet: f(e5), orgTreeSet: d(e5), dynamicColumnJson: C(e5), valueSetOptions: u(e5, r4.systemCode, r4.systemVersion), required: e5.props.verification.required, pattern: e5.props.verification.verifyRegex, checkType: O(e5.props.verification.type), contAlign: e5.props.base ? e5.props.base.alignContent : null, titleAlign: e5.props.base ? e5.props.base.alignTitle : null, i18nKey: e5.props.base.name };
|
|
26
|
+
r4.i18nKeys && a(e5.props.base.name, r4), e5.functionCodes && e5.functionCodes.length > 0 && (i4.functionCode = e5.functionCodes.join(",")), o4.push(i4);
|
|
27
|
+
}), o4;
|
|
28
|
+
}(e3, r3), i3.groupHeaders = function(e4) {
|
|
29
29
|
const t2 = [];
|
|
30
30
|
e4.props.base.isEnableGroupHeader && e4.props.groupHeaders && e4.props.groupHeaders.forEach((e5) => {
|
|
31
31
|
const r4 = { titleText: e5.titleText, parentCode: e5.parentUuid, displayOrder: e5.displayOrder, prop: e5.prop, uuid: e5.uuid };
|
|
32
32
|
t2.push(r4);
|
|
33
33
|
});
|
|
34
34
|
return t2.sort((e5, t3) => e5.displayOrder - t3.displayOrder), t2;
|
|
35
|
-
}(e3),
|
|
36
|
-
}(s2, r2,
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
39
|
-
const { events: t2, common: r3 } =
|
|
35
|
+
}(e3), i3;
|
|
36
|
+
}(s2, r2, o2), delete e2.btnList, delete e2.items, delete e2.modelFields;
|
|
37
|
+
const i2 = s2.runtime;
|
|
38
|
+
if (i2 && (i2.events || i2.common)) {
|
|
39
|
+
const { events: t2, common: r3 } = i2;
|
|
40
40
|
e2.runtime = { events: t2, common: r3 };
|
|
41
41
|
} else delete e2.runtime;
|
|
42
42
|
}
|
|
@@ -62,11 +62,11 @@ function u(e2, t2, r2) {
|
|
|
62
62
|
}
|
|
63
63
|
if ("switch" === e2.name) return JSON.stringify({ activeText: a2.base.activeText, activeValue: a2.base.activeValue, inactiveText: a2.base.inactiveText, inactiveValue: a2.base.inactiveValue, offColor: a2.base.offColor, onColor: a2.base.onColor });
|
|
64
64
|
if (a2.dataOrigin && a2.dataOrigin.optionValueSetType) {
|
|
65
|
-
const
|
|
66
|
-
if ("dynamicData" ===
|
|
65
|
+
const o2 = a2.dataOrigin.optionValueSetType, i2 = a2.dataOrigin;
|
|
66
|
+
if ("dynamicData" === o2) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode: i2.dynamicDataSourceCode, filterType: i2.filterType, valueSetOptions: m(i2), valueLabelSwitch: !!i2.valueLabelSwitch });
|
|
67
67
|
{
|
|
68
68
|
const a3 = s(e2, t2, r2);
|
|
69
|
-
return a3 ? (a3.valueSetOptions = m(
|
|
69
|
+
return a3 ? (a3.valueSetOptions = m(i2), JSON.stringify(a3)) : null;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -165,9 +165,9 @@ function b(e2) {
|
|
|
165
165
|
var _a, _b, _c, _d, _e, _f;
|
|
166
166
|
let t2 = {};
|
|
167
167
|
if ("select" === e2.name) {
|
|
168
|
-
const r2 = e2.props.base, a2 = r2.allowCreate,
|
|
168
|
+
const r2 = e2.props.base, a2 = r2.allowCreate, o2 = r2.clearable;
|
|
169
169
|
let s2 = false;
|
|
170
|
-
("normal" === e2.props.dataOrigin.filterType || a2) && (s2 = true), t2.automaticDropdown = false, t2.clearable =
|
|
170
|
+
("normal" === e2.props.dataOrigin.filterType || a2) && (s2 = true), t2.automaticDropdown = false, t2.clearable = o2, t2.filterable = s2, t2.allowCreate = a2;
|
|
171
171
|
} else if ("input-text" === e2.name) {
|
|
172
172
|
const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
|
|
173
173
|
t2.scanEnable = r2, t2.scanRuleList = a2;
|
|
@@ -193,6 +193,10 @@ function g(e2) {
|
|
|
193
193
|
const t2 = { type: e2.props.format.type }, r2 = {};
|
|
194
194
|
return r2.showNameData = { name: e2.props.format.showName, dbName: (_b = e2.props.format.showName) == null ? void 0 : _b.toUpperCase() }, r2.serverNameData = { name: e2.props.format.serverName, dbName: (_c = e2.props.format.serverName) == null ? void 0 : _c.toUpperCase() }, t2.fileSet = r2, JSON.stringify(t2);
|
|
195
195
|
}
|
|
196
|
+
if ("customControl" === e2.props.format.type) {
|
|
197
|
+
const t2 = {};
|
|
198
|
+
return Object.assign(t2, e2.props.format), delete t2.parameter, t2.controlConfig = { customParams: e2.props.format.parameter }, JSON.stringify(t2);
|
|
199
|
+
}
|
|
196
200
|
return JSON.stringify(e2.props.format);
|
|
197
201
|
}
|
|
198
202
|
return null;
|
|
@@ -213,7 +217,7 @@ function S(e2, t2) {
|
|
|
213
217
|
function C(e2) {
|
|
214
218
|
return e2.props.base.prop && "dynamicColumnSelect" === e2.props.base.prop ? JSON.stringify(e2.props.dynamicColumnData) : null;
|
|
215
219
|
}
|
|
216
|
-
function
|
|
220
|
+
function O(e2) {
|
|
217
221
|
if (Array.isArray(e2) && e2.length > 0) {
|
|
218
222
|
const t2 = [];
|
|
219
223
|
return e2.forEach((e3) => {
|
|
@@ -222,7 +226,7 @@ function h(e2) {
|
|
|
222
226
|
}
|
|
223
227
|
return Array.isArray(e2) && 0 === e2.length ? null : e2;
|
|
224
228
|
}
|
|
225
|
-
function
|
|
229
|
+
function h(e2, t2) {
|
|
226
230
|
let a2 = { uuid: e2.uuid, base: e2.props.base, dataOrigin: e2.props.dataOrigin, dynamicColumnData: e2.props.dynamicColumnData, editLine: e2.props.editLine, format: e2.props.format, verification: e2.props.verification, definition: e2.props.definition, size: e2.props.size };
|
|
227
231
|
e2.props = {}, e2.uuid = a2.uuid, e2.props.base = a2.base, e2.props.dataOrigin = a2.dataOrigin, e2.props.dynamicColumnData = a2.dynamicColumnData, e2.props.editLine = a2.editLine, e2.props.format = a2.format, e2.props.verification = a2.verification, e2.props.definition = a2.definition, e2.props.size = a2.size, e2.events = r(t2), e2.name = t2;
|
|
228
232
|
}
|
|
@@ -244,8 +248,8 @@ function v(e2) {
|
|
|
244
248
|
function D(e2, t2, r2) {
|
|
245
249
|
var _a;
|
|
246
250
|
const a2 = e2 ? e2.pageType : null;
|
|
247
|
-
let s2,
|
|
248
|
-
return r2 ? s2 = r2 : (t2 == null ? void 0 : t2.props.base.tableUuid) ? (
|
|
251
|
+
let s2, i2;
|
|
252
|
+
return r2 ? s2 = r2 : (t2 == null ? void 0 : t2.props.base.tableUuid) ? (i2 = t2.props.base.tableUuid, s2 = o(e2, i2)) : a2 && "list" === a2 && ((_a = e2 == null ? void 0 : e2.tableUuids) == null ? void 0 : _a.length) > 0 ? (i2 = e2 == null ? void 0 : e2.tableUuids[0], s2 = o(e2, i2)) : (e2 == null ? void 0 : e2.currentTableConfig) && (s2 = e2.currentTableConfig), s2;
|
|
249
253
|
}
|
|
250
254
|
export {
|
|
251
255
|
T as changeFeieldToMap,
|
|
@@ -253,7 +257,7 @@ export {
|
|
|
253
257
|
D as getTableConfigByTableUuid,
|
|
254
258
|
N as getTableNameByTableUuid,
|
|
255
259
|
n as querySublist,
|
|
256
|
-
|
|
260
|
+
i as queryTableFields,
|
|
257
261
|
p as setTableRuntimesFromConfigure,
|
|
258
|
-
|
|
262
|
+
h as tableResetConfigIndo
|
|
259
263
|
};
|
|
@@ -58,7 +58,7 @@ const $ = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8p
|
|
|
58
58
|
}
|
|
59
59
|
return (l2, U2) => {
|
|
60
60
|
const z2 = a("el-option"), q2 = a("el-select"), K = a("el-form-item"), Q = a("el-input"), X = a("el-radio"), Y = a("el-radio-group"), Z = a("el-collapse-item"), ee = a("el-switch"), le = a("el-input-number"), ae = a("el-color-picker"), oe = a("el-divider"), te = a("el-col"), re = a("el-icon"), ue = a("el-tooltip"), se = a("el-checkbox"), pe = a("el-table-column"), me = a("Plus"), de = a("Delete"), ne = a("el-table"), ie = a("el-collapse"), fe = a("el-form");
|
|
61
|
-
return t(), o(fe, { "label-width": "80px", size: "small" }, { default: r(() => [u(ie, { modelValue: P.value, "onUpdate:modelValue": U2[10] || (U2[10] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: r(() => [u(Z, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", $, [u(K, { label: "组件类型", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: r(() => [(t(true), p(m, null, d(n(b)(), (e3) => (t(), o(z2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(K, { label: "唯一编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "自定义编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(K, { label: "绑定权限", class: "amb-design-attr-item" }, { default: r(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(K, { label: "标题", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.title, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.title = l3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "是否导出", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: e2.configure.exportable, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.exportable = l3), class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[11] || (U2[11] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[12] || (U2[12] = [i("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(V, { title: "数据", pageDesign: e2.pageDesign, sourceFields: N.value, configure: e2.configure, remote: false, onBindVariableChange: B, onServiceFieldChange: G }, null, 8, ["pageDesign", "sourceFields", "configure"]), u(h, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), u(Z, { title: "列模型", name: "columnModel", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", F, [u(ne, { data: e2.configure.items, style: { width: "100%", "margin-bottom": "8px" }, "row-key": "uuid", onExpandChange: A, "expand-row-keys": W.value }, { default: r(() => [u(pe, { type: "expand", width: "35" }, { default: r((l3) => [u(K, { class: "amb-design-attr-item" }, { label: r(() => U2[13] || (U2[13] = [i(" 显示条件 ")])), default: r(() => [u(O, { paramTypes: ["data", "task", "page", "request"], data: l3.row.showCondition, pageDesign: e2.pageDesign, configure: e2.configure, row: l3.row, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "configure", "row"])]), _: 2 }, 1024), u(K, { class: "amb-design-attr-item", "label-position": "top" }, { label: r(() => U2[14] || (U2[14] = [i(" 数据公式 ")])), default: r(() => [u(Q, { modelValue: l3.row.formula, "onUpdate:modelValue": (e3) => l3.row.formula = e3, type: "textarea", size: "small", placeholder: "请选择" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "格式化分类", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { onChange: (e3) => {
|
|
61
|
+
return t(), o(fe, { "label-width": "80px", size: "small" }, { default: r(() => [u(ie, { modelValue: P.value, "onUpdate:modelValue": U2[10] || (U2[10] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: r(() => [u(Z, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", $, [u(K, { label: "组件类型", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: r(() => [(t(true), p(m, null, d(n(b)(), (e3) => (t(), o(z2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(K, { label: "唯一编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "自定义编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(K, { label: "绑定权限", class: "amb-design-attr-item" }, { default: r(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(K, { label: "标题", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.title, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.title = l3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "是否导出", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: e2.configure.exportable, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.exportable = l3), class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[11] || (U2[11] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[12] || (U2[12] = [i("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(V, { title: "数据", pageDesign: e2.pageDesign, sourceFields: N.value, configure: e2.configure, remote: false, onBindVariableChange: B, onServiceFieldChange: G }, null, 8, ["pageDesign", "sourceFields", "configure"]), u(h, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), u(Z, { title: "列模型", name: "columnModel", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", F, [u(ne, { data: e2.configure.items, style: { width: "100%", "margin-bottom": "8px" }, "row-key": "uuid", onExpandChange: A, "expand-row-keys": W.value }, { default: r(() => [u(pe, { type: "expand", width: "35" }, { default: r((l3) => [u(K, { class: "amb-design-attr-item" }, { label: r(() => U2[13] || (U2[13] = [i(" 显示条件 ")])), default: r(() => [u(O, { paramTypes: ["data", "task", "page", "request", "fixed"], data: l3.row.showCondition, pageDesign: e2.pageDesign, configure: e2.configure, row: l3.row, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "configure", "row"])]), _: 2 }, 1024), u(K, { class: "amb-design-attr-item", "label-position": "top" }, { label: r(() => U2[14] || (U2[14] = [i(" 数据公式 ")])), default: r(() => [u(Q, { modelValue: l3.row.formula, "onUpdate:modelValue": (e3) => l3.row.formula = e3, type: "textarea", size: "small", placeholder: "请选择" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "格式化分类", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { onChange: (e3) => {
|
|
62
62
|
return a2 = e3, o2 = l3.$index, void (a2 && (I2.configure.items[o2].props.format = { type: a2 }));
|
|
63
63
|
var a2, o2;
|
|
64
64
|
}, modelValue: l3.row.props.format.type, "onUpdate:modelValue": (e3) => l3.row.props.format.type = e3, clearable: "", placeholder: "请选择" }, { default: r(() => [u(z2, { label: "数值", value: "number" }), u(z2, { label: "货币", value: "currency" }), u(z2, { label: "百分比", value: "percent" }), u(z2, { label: "图标/标签", value: "icon" }), u(z2, { label: "进度条控件", value: "progress" }), u(z2, { label: "自定义控件", value: "customControl" }), u(z2, { label: "自定义方法", value: "custom" })]), _: 2 }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), l3.row.props.format && "number" === l3.row.props.format.type || "currency" === l3.row.props.format.type || "percent" === l3.row.props.format.type ? (t(), o(K, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.decimalDigit, "onUpdate:modelValue": (e3) => l3.row.props.format.decimalDigit = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: r(() => [u(ee, { modelValue: l3.row.props.format.scientific, "onUpdate:modelValue": (e3) => l3.row.props.format.scientific = e3, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type && l3.row.props.format.scientific ? (t(), o(K, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.scientificNum, "onUpdate:modelValue": (e3) => l3.row.props.format.scientificNum = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: r(() => [u(ee, { modelValue: l3.row.props.format.thousandsSeparator, "onUpdate:modelValue": (e3) => l3.row.props.format.thousandsSeparator = e3, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.symbol, "onUpdate:modelValue": (e3) => l3.row.props.format.symbol = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "currency" === l3.row.props.format.type ? (t(), o(K, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: l3.row.props.format.currencySymbol, "onUpdate:modelValue": (e3) => l3.row.props.format.currencySymbol = e3, placeholder: "Select" }, { default: r(() => [u(z2, { label: "$", value: "$" }), u(z2, { label: "¥", value: "¥" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "customControl" === l3.row.props.format.type ? (t(), o(K, { key: 6, label: "自定义控件", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.customControl, "onUpdate:modelValue": (e3) => l3.row.props.format.customControl = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "icon" === l3.row.props.format.type ? (t(), o(D, { key: 7, setting: l3.row.props.format, "show-event": false }, null, 8, ["setting"])) : f("", true), l3.row.props.format && "custom" === l3.row.props.format.type ? (t(), o(K, { key: 8, label: "自定义方法", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: l3.row.props.format.customFunc, "onUpdate:modelValue": (e3) => l3.row.props.format.customFunc = e3, clearable: "" }, { default: r(() => [(t(true), p(m, null, d(n(j)(), (e3) => (t(), o(z2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "progress" === l3.row.props.format.type ? (t(), p(m, { key: 9 }, [u(K, { label: "进度条高度", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.format.strokeWidth, "onUpdate:modelValue": (e3) => l3.row.props.format.strokeWidth = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "最大值", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.format.max, "onUpdate:modelValue": (e3) => l3.row.props.format.max = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "进度条类型", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.progressType, "onUpdate:modelValue": (e3) => l3.row.props.format.progressType = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "line" }, { default: r(() => U2[15] || (U2[15] = [i("line")])), _: 1 }), u(X, { value: "circle" }, { default: r(() => U2[16] || (U2[16] = [i("circle")])), _: 1 }), u(X, { value: "dashboard" }, { default: r(() => U2[17] || (U2[17] = [i("dashboard")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "显示文字", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.showText, "onUpdate:modelValue": (e3) => l3.row.props.format.showText = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[18] || (U2[18] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[19] || (U2[19] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "line" === l3.row.props.format.progressType ? (t(), o(K, { key: 0, label: "文本内显", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.textInside, "onUpdate:modelValue": (e3) => l3.row.props.format.textInside = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[20] || (U2[20] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[21] || (U2[21] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), u(K, { label: "进度条状态", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.status, "onUpdate:modelValue": (e3) => l3.row.props.format.status = e3, class: "ml-4" }, { default: r(() => [u(X, { value: null }, { default: r(() => U2[22] || (U2[22] = [i("无")])), _: 1 }), u(X, { value: "success" }, { default: r(() => U2[23] || (U2[23] = [i("success")])), _: 1 }), u(X, { value: "warning" }, { default: r(() => U2[24] || (U2[24] = [i("warning")])), _: 1 }), u(X, { value: "exception" }, { default: r(() => U2[25] || (U2[25] = [i("exception")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "自定义颜色", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.colorType, "onUpdate:modelValue": (e3) => l3.row.props.format.colorType = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "default" }, { default: r(() => U2[26] || (U2[26] = [i("默认")])), _: 1 }), u(X, { value: "custom" }, { default: r(() => U2[27] || (U2[27] = [i("指定颜色")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "custom" === l3.row.props.format.colorType ? (t(), o(K, { key: 1, label: "颜色" }, { default: r(() => [u(ae, { modelValue: l3.row.props.format.color, "onUpdate:modelValue": (e3) => l3.row.props.format.color = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true)], 64)) : f("", true), u(oe, null, { default: r(() => U2[28] || (U2[28] = [i("列属性")])), _: 1 }), u(K, { label: "列宽", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.base.width, "onUpdate:modelValue": (e3) => l3.row.props.base.width = e3, class: "mx-4", min: 0, "controls-position": "right" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "标题对齐", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.headerAlign, "onUpdate:modelValue": (e3) => l3.row.props.base.headerAlign = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "left" }, { default: r(() => U2[29] || (U2[29] = [i("居左")])), _: 1 }), u(X, { value: "center" }, { default: r(() => U2[30] || (U2[30] = [i("居中")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[31] || (U2[31] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "内容对齐", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.align, "onUpdate:modelValue": (e3) => l3.row.props.base.align = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "left" }, { default: r(() => U2[32] || (U2[32] = [i("居左")])), _: 1 }), u(X, { value: "center" }, { default: r(() => U2[33] || (U2[33] = [i("居中")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[34] || (U2[34] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "固定列", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.fixed, "onUpdate:modelValue": (e3) => l3.row.props.base.fixed = e3, class: "ml-4" }, { default: r(() => [u(X, { value: false }, { default: r(() => U2[35] || (U2[35] = [i("否")])), _: 1 }), u(X, { value: "left" }, { default: r(() => U2[36] || (U2[36] = [i("居左")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[37] || (U2[37] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "可排序", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.sortable, "onUpdate:modelValue": (e3) => l3.row.props.base.sortable = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[38] || (U2[38] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[39] || (U2[39] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "汇总列", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.collectColumn, "onUpdate:modelValue": (e3) => l3.row.props.base.collectColumn = e3, onChange: (e3) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const e = a(t, [["__scopeId", "data-v-c491ad8a"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
|
@@ -1,123 +1,125 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, withCtx as i, createVNode as
|
|
2
|
-
import { Setting as y, Search as
|
|
3
|
-
import { getListComponentOptions as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as t, openBlock as n, withCtx as i, createVNode as r, createCommentVNode as u, createElementVNode as s, createTextVNode as p, unref as m, withDirectives as d, createElementBlock as f, Fragment as c, renderList as g, vShow as b } from "vue";
|
|
2
|
+
import { Setting as y, Search as V } from "@element-plus/icons-vue";
|
|
3
|
+
import { getListComponentOptions as v } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import C from "../component/querySetting.vue.js";
|
|
5
5
|
import _ from "../../form/common/data-origin.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { setGroupHeaderDataDisplayOrder as
|
|
8
|
-
import { getUuidv4 as
|
|
9
|
-
import
|
|
6
|
+
import D from "../../common/common-variable-bind.vue.js";
|
|
7
|
+
import { setGroupHeaderDataDisplayOrder as h, deleteGroupHeaderByColumnUuid as x } from "../../../../utils/data-table-util.js";
|
|
8
|
+
import { getUuidv4 as k } from "../../../../utils/common-util.js";
|
|
9
|
+
import U from "../../../../utils/eventBus.js";
|
|
10
10
|
import T from "../component/variate-select.vue.js";
|
|
11
11
|
import "@element-plus/icons";
|
|
12
12
|
import "agilebuilder-ui/src/utils/request";
|
|
13
|
-
import
|
|
13
|
+
import S from "../../form/common/parameter-table.vue.js";
|
|
14
14
|
import { usePageContextStore as N } from "../../../../../../stores/page-store.js";
|
|
15
|
+
import { queryTableFields as j, tableResetConfigIndo as q } from "../../../../utils/page-table-util.js";
|
|
15
16
|
import "element-plus";
|
|
16
17
|
/* empty css */
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
import w from "../../common/common-i18n-key-input.vue.js";
|
|
19
|
+
import { dateFormatOptions as F, timeFormatOptions as L } from "../../../../utils/common-option.js";
|
|
20
|
+
import M from "../../form/common/hyperlink-mult-config.vue.js";
|
|
21
|
+
import E from "../../common/common-function-code.vue.js";
|
|
22
|
+
import H from "../../common/common-select-table.vue.js";
|
|
23
|
+
import P from "../component/formatting-icon-label.vue.js";
|
|
24
|
+
import A from "./tablecolumn-dynamic-column.vue.js";
|
|
25
|
+
const O = { style: { padding: "8px 0px 0px 0px" } }, $ = { class: "amb-design-attr-item-inline" }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, R = { style: { padding: "8px 0px 0px 0px" } }, B = { style: { padding: "8px 0px 0px 0px" } }, I = { style: { padding: "8px 0px 0px 0px" } }, W = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
26
|
+
const W2 = e2, Q = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), J = a(null), K = a(null), X = a(null), Y = a([]), Z = W2.tableConfigure.props.groupHeaders, ee = a(null), ae = N(), le = a(false);
|
|
25
27
|
l(() => {
|
|
26
28
|
var _a;
|
|
27
|
-
"dynamicColumnSelect" === ((_a =
|
|
29
|
+
"dynamicColumnSelect" === ((_a = W2.configure.props.base) == null ? void 0 : _a.prop) && W2.configure.props.dynamicColumnData && W2.configure.props.dynamicColumnData.tableName && (oe.value, te({ name: W2.configure.props.dynamicColumnData.tableName, alias: W2.configure.props.dynamicColumnData.tableAlias }));
|
|
28
30
|
}), function() {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
W2.configure.props.verification.type && ("text" === W2.configure.props.verification.type && (W2.configure.props.verification.typ = "string"), "int" === W2.configure.props.verification.type && (W2.configure.props.verification.typ = "integer"));
|
|
32
|
+
W2.configure.props.format || (W2.configure.props.format = {});
|
|
33
|
+
W2.configure.props.base && "operation" === W2.configure.props.base.prop ? le.value = true : le.value = false;
|
|
34
|
+
W2.configure.props.dynamicColumnData || (W2.configure.props.dynamicColumnData = {});
|
|
35
|
+
W2.configure.props.dynamicColumnData.selectCondition || (W2.configure.props.dynamicColumnData.selectCondition = []);
|
|
36
|
+
W2.configure.props.dynamicColumnData.updateCondition || (W2.configure.props.dynamicColumnData.updateCondition = []);
|
|
37
|
+
W2.configure.props.dynamicColumnData.columnModelTable || (W2.configure.props.dynamicColumnData.columnModelTable = []);
|
|
36
38
|
}();
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
if ("masterTable" ==
|
|
40
|
-
let a2 =
|
|
41
|
-
a2 += "_", a2 +=
|
|
39
|
+
const oe = a("");
|
|
40
|
+
function te(e3) {
|
|
41
|
+
if ("masterTable" == oe.value) {
|
|
42
|
+
let a2 = W2.configure.props.dynamicColumnData.dataTableCode ? W2.configure.props.dynamicColumnData.dataTableCode : "";
|
|
43
|
+
a2 += "_", a2 += W2.configure.props.dynamicColumnData.tableSysVersion ? W2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += W2.configure.props.dynamicColumnData.tableName ? W2.configure.props.dynamicColumnData.tableName : "";
|
|
42
44
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
43
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
44
|
-
const e4 =
|
|
45
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (W2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, W2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, W2.configure.props.dynamicColumnData.tableName = e3.name, W2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
|
|
46
|
+
const e4 = W2.configure.props.dynamicColumnData.dataTableCode ? W2.configure.props.dynamicColumnData.dataTableCode : ae.pageContext.systemCode, a3 = W2.configure.props.dynamicColumnData.tableSysVersion ? W2.configure.props.dynamicColumnData.tableSysVersion : ae.pageContext.systemVersion, l3 = W2.configure.props.dynamicColumnData.tableName;
|
|
45
47
|
if (!l3) return;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
j(e4, a3, l3).then((e5) => {
|
|
49
|
+
Y.value = e5, X.value.changeTableFields(e5);
|
|
48
50
|
}).catch((e5) => {
|
|
49
51
|
});
|
|
50
52
|
}());
|
|
51
53
|
} else {
|
|
52
|
-
let a2 =
|
|
53
|
-
a2 += "_", a2 +=
|
|
54
|
+
let a2 = W2.configure.props.dynamicColumnData.settingDataTableCode ? W2.configure.props.dynamicColumnData.settingDataTableCode : "";
|
|
55
|
+
a2 += "_", a2 += W2.configure.props.dynamicColumnData.settingDataSysVersion ? W2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += W2.configure.props.dynamicColumnData.settingDataName ? W2.configure.props.dynamicColumnData.settingDataName : "";
|
|
54
56
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
55
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
56
|
-
const e4 =
|
|
57
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (W2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, W2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, W2.configure.props.dynamicColumnData.settingDataName = e3.name, W2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
|
|
58
|
+
const e4 = W2.configure.props.dynamicColumnData.settingDataTableCode ? W2.configure.props.dynamicColumnData.settingDataTableCode : ae.pageContext.systemCode, a3 = W2.configure.props.dynamicColumnData.settingDataSysVersion ? W2.configure.props.dynamicColumnData.settingDataSysVersion : ae.pageContext.systemVersion, l3 = W2.configure.props.dynamicColumnData.settingDataName;
|
|
57
59
|
if (!l3) return;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
j(e4, a3, l3).then((e5) => {
|
|
61
|
+
ne.value = e5, X.value.changeTableFields(e5), J.value.changeTableFields(e5), K.value.changeTableFields(e5);
|
|
60
62
|
}).catch((e5) => {
|
|
61
63
|
});
|
|
62
64
|
}());
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
let
|
|
66
|
-
const
|
|
67
|
-
function
|
|
68
|
-
|
|
67
|
+
let ne = a([]);
|
|
68
|
+
const ie = a(false);
|
|
69
|
+
function re() {
|
|
70
|
+
ie.value = false;
|
|
69
71
|
}
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
+
function ue(e3) {
|
|
73
|
+
W2.configure.props.querySetting = e3;
|
|
72
74
|
}
|
|
73
|
-
function
|
|
74
|
-
e3 ?
|
|
75
|
+
function se(e3) {
|
|
76
|
+
e3 ? W2.tableConfigure.props.base.editable = true : W2.configure.name = "";
|
|
75
77
|
}
|
|
76
|
-
function
|
|
77
|
-
|
|
78
|
+
function pe(e3) {
|
|
79
|
+
q(W2.configure, e3);
|
|
78
80
|
}
|
|
79
|
-
function
|
|
80
|
-
const a2 =
|
|
81
|
-
if (
|
|
82
|
-
const e4 =
|
|
81
|
+
function me(e3) {
|
|
82
|
+
const a2 = W2.configure.uuid;
|
|
83
|
+
if (W2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && W2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
84
|
+
const e4 = Z.filter((e5) => e5.columnUuid === a2);
|
|
83
85
|
if (!e4 || 0 === e4.length) {
|
|
84
|
-
let e5 = { uuid:
|
|
85
|
-
|
|
86
|
+
let e5 = { uuid: k(), columnUuid: a2, titleText: W2.configure.props.base.name, isLeaf: true };
|
|
87
|
+
h(null, e5, Z), Z.push(e5);
|
|
86
88
|
}
|
|
87
|
-
} else
|
|
88
|
-
else
|
|
89
|
+
} else W2.tableConfigure.props.base.isEnableGroupHeader && x(Z, a2);
|
|
90
|
+
else U.$emit("setHiddenColumsUuid", { uuid: W2.configure.uuid, name: W2.configure.props.base.name, value: e3 });
|
|
89
91
|
}
|
|
90
|
-
function
|
|
91
|
-
|
|
92
|
+
function de(e3) {
|
|
93
|
+
W2.configure.props.base.defaultValue = e3;
|
|
92
94
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
95
|
+
function fe() {
|
|
96
|
+
U.$emit("reloadTable-" + W2.tableConfigure.uuid);
|
|
95
97
|
}
|
|
96
|
-
function
|
|
97
|
-
|
|
98
|
+
function ce(e3) {
|
|
99
|
+
be(W2.tableConfigure.props.groupHeaders);
|
|
98
100
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
101
|
+
function ge(e3) {
|
|
102
|
+
be(W2.tableConfigure.props.groupHeaders);
|
|
101
103
|
}
|
|
102
|
-
function
|
|
103
|
-
if (
|
|
104
|
+
function be(e3) {
|
|
105
|
+
if (W2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
104
106
|
e3.forEach((e4) => {
|
|
105
107
|
});
|
|
106
108
|
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
107
109
|
const l2 = e3[a2];
|
|
108
|
-
if (l2.columnUuid ===
|
|
109
|
-
l2.titleText =
|
|
110
|
+
if (l2.columnUuid === W2.configure.uuid) {
|
|
111
|
+
l2.titleText = W2.configure.props.base.name, l2.prop = W2.configure.props.base.prop;
|
|
110
112
|
break;
|
|
111
113
|
}
|
|
112
|
-
l2.children && l2.children.length > 0 &&
|
|
114
|
+
l2.children && l2.children.length > 0 && be(l2.children);
|
|
113
115
|
}
|
|
114
116
|
}
|
|
115
117
|
}
|
|
116
118
|
return (a2, l2) => {
|
|
117
|
-
const
|
|
118
|
-
return n(), t(le2, { "label-width": "80px", size: "small" }, { default: i(() => [u(ee2, { modelValue: B.value, "onUpdate:modelValue": l2[48] || (l2[48] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(I2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", E, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(j, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: me, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(q, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: pe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: re }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[49] || (l2[49] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[50] || (l2[50] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", P, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(H2, { label: "不查询", value: "no" }), u(H2, { label: "普通查询", value: "normal" }), u(H2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => oe.value = true) }, { default: i(() => [u(m(y))]), _: 1 })) : r("", true)])]), _: 1 })), Z.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(H2, { label: "全匹配", value: "all" }), u(H2, { label: "左匹配", value: "left" }), u(H2, { label: "右匹配", value: "right" }), u(H2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Z.value ? r("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Z.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(M, { operationColumn: Z.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Z.value ? r("", true) : (n(), t(I2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { onChange: ie, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(h, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": se }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ue }, { default: i(() => [(n(true), f(c, null, g(m(V)(), (e3) => (n(), t(H2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), d(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Z.value ? r("", true) : (n(), t(I2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [u(H2, { label: "数值", value: "number" }), u(H2, { label: "货币", value: "currency" }), u(H2, { label: "日期", value: "date" }), u(H2, { label: "时间", value: "time" }), u(H2, { label: "百分比", value: "percent" }), u(H2, { label: "自定义控件", value: "customControl" }), u(H2, { label: "超链接", value: "hyperlinks" }), u(H2, { label: "图标/标签", value: "icon" }), u(H2, { label: "附件控件", value: "files" }), u(H2, { label: "富文本", value: "richEditor" }), u(H2, { label: "脱敏组件", value: "secretInfo" }), u(H2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "$", value: "$" }), u(H2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "yyyy-m-d", value: "yyyy-m-d" }), u(H2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), u(H2, { label: "yyyy-m", value: "yyyy-m" }), u(H2, { label: "m-d", value: "m-d" }), u(H2, { label: "yyyy", value: "yyyy" }), u(H2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), u(H2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), u(H2, { label: "yyyy年m月", value: "yyyy年m月" }), u(H2, { label: "m月d日", value: "m月d日" }), u(H2, { label: "ww", value: "ww" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [u(H2, { label: "HH:mm", value: "HH:mm" }), u(H2, { label: "HH:mm:ss", value: "HH:mm:ss" }), u(H2, { label: "HH时mm分", value: "HH时mm分" }), u(H2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), u(H2, { label: "hh:mm", value: "hh:mm" }), u(H2, { label: "hh:mm:ss", value: "hh:mm:ss" }), u(H2, { label: "hh时mm分", value: "hh时mm分" }), u(H2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(w, { key: 9, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[26] || (l2[26] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : r("", true), "icon" === e2.configure.props.format.type ? (n(), t(L, { key: 10, setting: e2.configure.props.format }, null, 8, ["setting"])) : r("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [u(S2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 15, label: "选择数据表" }, { default: i(() => [u(D2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [u(Q2, { type: "default", icon: m(v), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 16, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[32] || (l2[32] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [u(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : r("", true)])]), _: 1 })), u(I2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[52] || (l2[52] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[53] || (l2[53] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Z.value ? r("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[56] || (l2[56] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[57] || (l2[57] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[58] || (l2[58] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[59] || (l2[59] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[60] || (l2[60] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[61] || (l2[61] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Z.value && e2.configure.props.editLine.editable ? (n(), t(I2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(K2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "文本", value: "string" }), u(J2, { label: "整形", value: "integer" }), u(J2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "日期", value: "date" }), u(J2, { label: "小数", value: "float" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(D2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Y2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Y2, { span: 14 }, { default: i(() => [u(Q2, { type: "default" }, { default: i(() => l2[62] || (l2[62] = [p("自定义逻辑")])), _: 1 }), u(Q2, { type: "default", icon: m(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Z.value ? r("", true) : (n(), t(I2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[63] || (l2[63] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[64] || (l2[64] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[65] || (l2[65] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[66] || (l2[66] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[67] || (l2[67] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[68] || (l2[68] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[69] || (l2[69] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[70] || (l2[70] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[71] || (l2[71] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[72] || (l2[72] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), oe.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: te }, null, 8, ["querySetting"])) : r("", true), u(F, { ref_key: "selectTableDialog", ref: X, onSelectTable: ae, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
119
|
+
const h2 = o("el-input"), x2 = o("el-form-item"), k2 = o("el-radio"), U2 = o("el-radio-group"), N2 = o("el-switch"), j2 = o("el-option"), q2 = o("el-select"), W3 = o("el-icon"), J2 = o("el-collapse-item"), K2 = o("el-input-number"), X2 = o("el-button"), Y2 = o("el-checkbox"), Z2 = o("el-checkbox-group"), ae2 = o("el-col"), oe2 = o("el-collapse"), ne2 = o("el-form");
|
|
120
|
+
return n(), t(ne2, { "label-width": "80px", size: "small" }, { default: i(() => [r(oe2, { modelValue: Q.value, "onUpdate:modelValue": l2[49] || (l2[49] = (e3) => Q.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [r(J2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [r(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), le.value ? u("", true) : (n(), t(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [r(T, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: ge }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), r(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [r(w, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: ce, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), r(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [r(E, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: fe, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), le.value ? u("", true) : (n(), t(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: me }, { default: i(() => [r(k2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 }), r(k2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", $, [r(q2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [r(j2, { label: "不查询", value: "no" }), r(j2, { label: "普通查询", value: "normal" }), r(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (n(), t(W3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => ie.value = true) }, { default: i(() => [r(m(y))]), _: 1 })) : u("", true)])]), _: 1 })), le.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? u("", true) : (n(), t(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [r(j2, { label: "全匹配", value: "all" }), r(j2, { label: "左匹配", value: "left" }), r(j2, { label: "右匹配", value: "right" }), r(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), le.value ? u("", true) : (n(), t(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), le.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? u("", true) : (n(), t(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), r(A, { operationColumn: le.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), le.value ? u("", true) : (n(), t(J2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [r(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { onChange: se, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [r(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": de }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (n(), t(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: pe }, { default: i(() => [(n(true), f(c, null, g(m(v)(), (e3) => (n(), t(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), d(r(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [r(T, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), d(r(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), le.value ? u("", true) : (n(), t(J2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [r(x2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.type, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.format.type = a3), clearable: "", placeholder: "请选择" }, { default: i(() => [r(j2, { label: "数值", value: "number" }), r(j2, { label: "货币", value: "currency" }), r(j2, { label: "日期", value: "date" }), r(j2, { label: "时间", value: "time" }), r(j2, { label: "百分比", value: "percent" }), r(j2, { label: "自定义控件", value: "customControl" }), r(j2, { label: "超链接", value: "hyperlinks" }), r(j2, { label: "图标/标签", value: "icon" }), r(j2, { label: "附件控件", value: "files" }), r(j2, { label: "富文本", value: "richEditor" }), r(j2, { label: "脱敏组件", value: "secretInfo" }), r(j2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === e2.configure.props.format.type || "currency" === e2.configure.props.format.type || "percent" === e2.configure.props.format.type ? (n(), t(x2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.decimalDigit, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.format.decimalDigit = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.format.scientific, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.format.scientific = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "number" === e2.configure.props.format.type && e2.configure.props.format.scientific ? (n(), t(x2, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.scientificNum, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.format.scientificNum = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.format.thousandsSeparator, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.format.thousandsSeparator = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "number" === e2.configure.props.format.type ? (n(), t(x2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.symbol, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.format.symbol = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "currency" === e2.configure.props.format.type ? (n(), t(x2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.currencySymbol, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.format.currencySymbol = a3), placeholder: "Select" }, { default: i(() => [r(j2, { label: "$", value: "$" }), r(j2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "date" === e2.configure.props.format.type ? (n(), t(x2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.dataType, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.format.dataType = a3), placeholder: "Select" }, { default: i(() => [(n(true), f(c, null, g(m(F), (e3) => (n(), t(j2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "time" === e2.configure.props.format.type ? (n(), t(x2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: i(() => [r(q2, { modelValue: e2.configure.props.format.timeType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.format.timeType = a3), placeholder: "Select" }, { default: i(() => [(n(true), f(c, null, g(m(L), (e3) => (n(), t(j2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "customControl" === e2.configure.props.format.type ? (n(), t(x2, { key: 9, class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(S, { data: e2.configure.props.format.parameter, "onUpdate:data": l2[26] || (l2[26] = (a3) => e2.configure.props.format.parameter = a3), tableConfigure: e2.tableConfigure }, null, 8, ["data", "tableConfigure"])]), _: 1 })) : u("", true), "hyperlinks" === e2.configure.props.format.type ? (n(), t(M, { key: 10, pageDesign: e2.pageDesign, linkPage: e2.configure.props.linkPage, "onUpdate:linkPage": l2[27] || (l2[27] = (a3) => e2.configure.props.linkPage = a3), tableConfigure: e2.tableConfigure, isDialog: false }, null, 8, ["pageDesign", "linkPage", "tableConfigure"])) : u("", true), "icon" === e2.configure.props.format.type ? (n(), t(P, { key: 11, setting: e2.configure.props.format }, null, 8, ["setting"])) : u("", true), "custom" === e2.configure.props.format.type ? (n(), t(x2, { key: 12, label: "自定义方法", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.customControl, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.format.customControl = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 13, label: "是否多选", class: "amb-design-attr-item" }, { default: i(() => [r(N2, { modelValue: e2.configure.props.format.multiple, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.format.multiple = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 14, label: "文件类型", class: "amb-design-attr-item" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.accept, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.format.accept = a3) }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 15, label: "文件限制(M)", class: "amb-design-attr-item" }, { default: i(() => [r(K2, { modelValue: e2.configure.props.format.limitFileSize, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.format.limitFileSize = a3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type && e2.configure.props.format.multiple ? (n(), t(x2, { key: 16, label: "选择数据表" }, { default: i(() => [r(h2, { modelValue: e2.configure.props.format.childAnnexDataTableCode, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.format.childAnnexDataTableCode = a3), onClick: a2.openSelectDataTable, clearable: "" }, { append: i(() => [r(X2, { type: "default", icon: m(V), onClick: a2.openSelectDataTable }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "onClick"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 17, label: "展示名字段", class: "amb-design-attr-item" }, { default: i(() => [r(T, { prop: e2.configure.props.format.showName, "onUpdate:prop": l2[33] || (l2[33] = (a3) => e2.configure.props.format.showName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : u("", true), "files" === e2.configure.props.format.type ? (n(), t(x2, { key: 18, label: "服务器字段", class: "amb-design-attr-item" }, { default: i(() => [r(T, { prop: e2.configure.props.format.serverName, "onUpdate:prop": l2[34] || (l2[34] = (a3) => e2.configure.props.format.serverName = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 })) : u("", true)])]), _: 1 })), r(J2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", R, [r(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[52] || (l2[52] = [p("否")])), _: 1 }), r(k2, { value: "left" }, { default: i(() => l2[53] || (l2[53] = [p("居左")])), _: 1 }), r(k2, { value: "right" }, { default: i(() => l2[54] || (l2[54] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), le.value ? u("", true) : (n(), t(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: true }, { default: i(() => l2[55] || (l2[55] = [p("是")])), _: 1 }), r(k2, { value: false }, { default: i(() => l2[56] || (l2[56] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [r(K2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: "left" }, { default: i(() => l2[57] || (l2[57] = [p("居左")])), _: 1 }), r(k2, { value: "center" }, { default: i(() => l2[58] || (l2[58] = [p("居中")])), _: 1 }), r(k2, { value: "right" }, { default: i(() => l2[59] || (l2[59] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: "left" }, { default: i(() => l2[60] || (l2[60] = [p("居左")])), _: 1 }), r(k2, { value: "center" }, { default: i(() => l2[61] || (l2[61] = [p("居中")])), _: 1 }), r(k2, { value: "right" }, { default: i(() => l2[62] || (l2[62] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !le.value && e2.configure.props.editLine.editable ? (n(), t(J2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", B, [r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(Z2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[41] || (l2[41] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "文本", value: "string" }), r(Y2, { label: "整形", value: "integer" }), r(Y2, { label: "数字", value: "number" })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "日期", value: "date" }), r(Y2, { label: "小数", value: "float" }), r(Y2, { label: "布尔", value: "boolean" })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "邮件", value: "email" }), r(Y2, { label: "网址", value: "url" })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(Y2, { label: "单精度", value: "float" }), r(Y2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(ae2, { span: 8 }, { default: i(() => [r(Y2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[42] || (l2[42] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), r(ae2, { span: 14 }, { default: i(() => [r(h2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[43] || (l2[43] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), r(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [r(ae2, { span: 8 }, { default: i(() => [r(Y2, { label: "自定义", value: "custom" })]), _: 1 }), r(ae2, { span: 14 }, { default: i(() => [r(X2, { type: "default" }, { default: i(() => l2[63] || (l2[63] = [p("自定义逻辑")])), _: 1 }), r(X2, { type: "default", icon: m(V), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : u("", true), le.value ? u("", true) : (n(), t(J2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", I, [r(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[44] || (l2[44] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[64] || (l2[64] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[65] || (l2[65] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[45] || (l2[45] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[66] || (l2[66] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[67] || (l2[67] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[46] || (l2[46] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[68] || (l2[68] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[69] || (l2[69] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[47] || (l2[47] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[70] || (l2[70] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[71] || (l2[71] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [r(U2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[48] || (l2[48] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [r(k2, { value: false }, { default: i(() => l2[72] || (l2[72] = [p("否")])), _: 1 }), r(k2, { value: true }, { default: i(() => l2[73] || (l2[73] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), ie.value ? (n(), t(C, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ue, onClose: re }, null, 8, ["querySetting"])) : u("", true), r(H, { ref_key: "selectTableDialog", ref: ee, onSelectTable: te, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
119
121
|
};
|
|
120
122
|
} });
|
|
121
123
|
export {
|
|
122
|
-
|
|
124
|
+
W as default
|
|
123
125
|
};
|
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as
|
|
2
|
-
import { Search as V, Close as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as t, Fragment as i, createVNode as p, withDirectives as n, createBlock as m, createCommentVNode as s, withCtx as v, createTextVNode as g, withModifiers as r, unref as b, renderList as c, vShow as f, toDisplayString as y } from "vue";
|
|
2
|
+
import { Search as V, Close as j } from "@element-plus/icons";
|
|
3
|
+
import P from "./linkpage-page-callback.vue.js";
|
|
4
|
+
import T from "../../common/common-select-page.vue.js";
|
|
5
|
+
import k from "./parameter-table.vue.js";
|
|
6
|
+
import M from "../../common/common-variable-bind.vue.js";
|
|
7
|
+
import _ from "./condition.vue.js";
|
|
8
|
+
import C from "../../common/common-icon-bind.vue.js";
|
|
9
9
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
10
10
|
import { getModelOptionsByFields as O } from "../../../../utils/page-table-util.js";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
import { dateFormatOptions as U, timeFormatOptions as x } from "../../../../utils/common-option.js";
|
|
12
|
+
const D = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
|
|
13
|
+
const D2 = e2, w = l(null), F = l({});
|
|
14
|
+
let B;
|
|
15
|
+
const A = D2.pageDesign ? D2.pageDesign.pageType : null;
|
|
16
|
+
!A || "form" !== A && "list" !== A || (B = D2.pageDesign.modelFields);
|
|
16
17
|
const N = l([]);
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
function z() {
|
|
22
|
-
U2.tableConfigure && R.value && R.value.changeTableFields(U2.tableConfigure.modelFields);
|
|
23
|
-
}
|
|
18
|
+
B && B.length > 0 && (N.value = O(B));
|
|
19
|
+
const J = l([]);
|
|
20
|
+
D2.tableConfigure && (J.value = O(D2.tableConfigure.modelFields)), D2.isDialog ? F.value = D2.configure : (D2.configure.props.linkPage || (D2.configure.props.linkPage = {}), Array.isArray(D2.configure.props.linkPage) && D2.configure.props.linkPage.length > 0 && (F.value = D2.configure.props.linkPage[0]), F.value = D2.configure.props.linkPage), void 0 === F.value.linkType && (F.value.linkType = "page"), void 0 === F.value.isNewPage && (F.value.isNewPage = true), F.value.dynamicTags || (F.value.dynamicTags = []), F.value.buttonDisplayConditionsList || (F.value.buttonDisplayConditionsList = []), void 0 === F.value.alignCenter && (F.value.alignCenter = true), void 0 === F.value.displayTextJudge && (F.value.displayTextJudge = true);
|
|
21
|
+
const W = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], L = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], R = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], S = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], z = l(null);
|
|
24
22
|
function E() {
|
|
25
|
-
|
|
23
|
+
D2.tableConfigure && z.value && z.value.changeTableFields(D2.tableConfigure.modelFields);
|
|
26
24
|
}
|
|
27
25
|
function H() {
|
|
28
|
-
w.value.
|
|
26
|
+
w.value.openDialog();
|
|
27
|
+
}
|
|
28
|
+
function I() {
|
|
29
|
+
F.value.jumpPageCode = "", F.value.jumpPageName = "";
|
|
29
30
|
}
|
|
30
|
-
function
|
|
31
|
-
|
|
31
|
+
function q(e3) {
|
|
32
|
+
F.value.jumpPageAdditional = e3;
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
34
|
+
function G(e3) {
|
|
35
|
+
F.value.jumpPageName = e3.name, F.value.jumpPageCode = e3.code;
|
|
35
36
|
}
|
|
36
|
-
a(() => ({ linkType:
|
|
37
|
-
const l2 =
|
|
37
|
+
a(() => ({ linkType: F.value.linkType, jumpPageCode: F.value.jumpPageCode, jumpAddress: F.value.jumpAddress }), (e3) => {
|
|
38
|
+
const l2 = F.value, a2 = l2.linkType;
|
|
38
39
|
let u2 = "";
|
|
39
40
|
"page" === a2 && l2.jumpPageCode ? u2 = l2.linkType + ":" + l2.jumpPageCode : "url" === a2 && (u2 = l2.jumpAddress), l2.jumpPageUrl = u2;
|
|
40
|
-
}, { immediate: true }), a(() =>
|
|
41
|
-
|
|
41
|
+
}, { immediate: true }), a(() => D2.tableConfigure, (e3) => {
|
|
42
|
+
E();
|
|
42
43
|
}), u(() => {
|
|
43
|
-
|
|
44
|
+
E();
|
|
44
45
|
});
|
|
45
|
-
const
|
|
46
|
-
function
|
|
47
|
-
|
|
46
|
+
const K = l("");
|
|
47
|
+
function Q(e3) {
|
|
48
|
+
K.value = e3, F.value.dynamicTags.push(e3);
|
|
48
49
|
}
|
|
49
50
|
return (e3, l2) => {
|
|
50
|
-
const a2 = o("el-radio"), u2 = o("el-form-item"), O2 = o("el-button"),
|
|
51
|
-
return
|
|
52
|
-
|
|
53
|
-
}(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) :
|
|
54
|
-
|
|
55
|
-
}(0, l3) }, { default:
|
|
51
|
+
const a2 = o("el-radio"), u2 = o("el-form-item"), O2 = o("el-button"), D3 = o("el-input"), B2 = o("el-radio-group"), A2 = o("el-option"), E2 = o("el-select"), X = o("el-switch"), Y = o("el-divider"), Z = o("el-tag");
|
|
52
|
+
return t(), d(i, null, [p(B2, { modelValue: F.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => F.value.linkType = e4) }, { default: v(() => [p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "" }, { default: v(() => l2[22] || (l2[22] = [g("无跳转 ")])), _: 1 })]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "page" }, { default: v(() => l2[23] || (l2[23] = [g("跳转页面")])), _: 1 })]), default: v(() => [p(D3, { disabled: "page" != F.value.linkType, modelValue: F.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => F.value.jumpPageName = e4), title: F.value.jumpPageCode, onClick: r(H, ["stop"]), readonly: "true" }, { append: v(() => [p(O2, { type: "default", disabled: "page" != F.value.linkType, icon: b(V), onClick: H, size: "small" }, null, 8, ["disabled", "icon"]), p(O2, { type: "default", disabled: "page" != F.value.linkType, icon: b(j), onClick: I, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "url" }, { default: v(() => l2[24] || (l2[24] = [g("跳转地址")])), _: 1 })]), default: v(() => [p(D3, { disabled: "url" != F.value.linkType, modelValue: F.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => F.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), p(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => F.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(W, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => F.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(L, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(p(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => F.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(R, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => F.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != F.value.jumpPageOpenMode && "popup" != F.value.jumpPageMobileOpenMode || F.value.dialogType && "dialog" !== F.value.dialogType)]]), n(p(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => F.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(S, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode) && F.value.dialogType && "drawer" === F.value.dialogType]]), n(p(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => F.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != F.value.jumpPageOpenMode && "popup" != F.value.jumpPageMobileOpenMode || F.value.dialogType && "dialog" !== F.value.dialogType)]]), n(p(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: v(() => [p(h, { modelValue: F.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => F.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => F.value.fullscreen = e4), disabled: !("dialog" === F.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => F.value.alignCenter = e4), disabled: !("dialog" === F.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => F.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => F.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => F.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => F.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (t(), m(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: v(() => [p(_, { title: "显示判断", list: F.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: z }, null, 8, ["list"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => F.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 2, label: "文本格式化", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormatType, "onUpdate:modelValue": l2[17] || (l2[17] = (e4) => F.value.displayTextFormatType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [p(A2, { label: "日期", value: "date" }), p(A2, { label: "时间", value: "time" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), F.value.displayTextFormatType && "date" === F.value.displayTextFormatType ? (t(), m(u2, { key: 3, label: "日期类型", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormat, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => F.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, c(b(U), (e4) => (t(), m(A2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), F.value.displayTextFormatType && "time" === F.value.displayTextFormatType ? (t(), m(u2, { key: 4, label: "时间类型", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormat, "onUpdate:modelValue": l2[19] || (l2[19] = (e4) => F.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, c(b(x), (e4) => (t(), m(A2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 5, label: "图标", class: "amb-design-attr-item" }, { default: v(() => [p(C, { iconType: F.value.iconType, iconValue: F.value.icon, "onUpdate:modelValue": l2[20] || (l2[20] = (e4, l3) => function(e5, l4) {
|
|
53
|
+
F.value.iconType = e5, F.value.icon = l4;
|
|
54
|
+
}(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 6, label: "自定义显示值", class: "amb-design-attr-item" }, { default: v(() => [p(M, { isTable: e3.configure.isTable, modelValue: K.value, dataModelOptions: N.value, objModelOptions: J.value, "onUpdate:modelValue": Q }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, c(F.value.dynamicTags, (e4, l3) => (t(), m(Z, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
|
|
55
|
+
F.value.dynamicTags.splice(l4, 1);
|
|
56
|
+
}(0, l3) }, { default: v(() => [g(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), p(Y, null, { default: v(() => l2[25] || (l2[25] = [g("附加参数")])), _: 1 }), e3.isButton ? (t(), m(u2, { key: 7, label: "自动拼接id", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.isNeedId, "onUpdate:modelValue": l2[21] || (l2[21] = (e4) => F.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), p(k, { data: F.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: q }, null, 8, ["data", "tableConfigure"]), p(P, { linkPage: F.value }, null, 8, ["linkPage"]), p(T, { ref_key: "selectPageDialog", ref: w, onSelectPage: G, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
|
|
56
57
|
};
|
|
57
58
|
} });
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
+
D as default
|
|
60
61
|
};
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -19,8 +19,8 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
19
19
|
j.configure.props.base.defaultValue = e3;
|
|
20
20
|
}
|
|
21
21
|
return j.configure.isTable && (W.value = true), (l2, V2) => {
|
|
22
|
-
const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-
|
|
23
|
-
return u(), o(
|
|
22
|
+
const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-checkbox-group"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
|
|
23
|
+
return u(), o(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: z.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[22] || (V2[22] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[23] || (V2[23] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[24] || (V2[24] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[25] || (V2[25] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[26] || (V2[26] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[27] || (V2[27] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[28] || (V2[28] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[29] || (V2[29] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[30] || (V2[30] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(G, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.type = l3), max: 1 }, { default: t(() => [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { label: "整形", value: "integer" }), i(F, { label: "数字", value: "number" }), i(F, { label: "小数", value: "float" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: t(() => [i(I, { type: "default" }, { default: t(() => V2[31] || (V2[31] = [c("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./object-design.vue3.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const t = o(e, [["__scopeId", "data-v-3ebfab9d"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,44 +1,42 @@
|
|
|
1
|
-
import { defineComponent as e, onUnmounted as i, watch as n, ref as
|
|
1
|
+
import { defineComponent as e, onUnmounted as i, watch as n, ref as r, computed as o, onMounted as s, resolveComponent as t, createElementBlock as u, openBlock as g, normalizeStyle as a, normalizeClass as p, createBlock as c, withDirectives as l, resolveDynamicComponent as f, withModifiers as d, createElementVNode as m, createVNode as D, withCtx as v, unref as b, vShow as h } from "vue";
|
|
2
2
|
import { CopyDocument as x, Delete as y } from "@element-plus/icons";
|
|
3
3
|
import j from "./error-design.vue.js";
|
|
4
4
|
import { getDesignComponentByName as C } from "../../utils/assemblys-config.js";
|
|
5
5
|
import { caculateCommonStyle as W } from "../../utils/container-design-util.js";
|
|
6
6
|
import { PageDimensions as k } from "../../utils/interfaces/page-design-types.js";
|
|
7
7
|
import { batchUpdatePermissions as O, batchRemovePermissions as S } from "../../utils/page-permission-util.js";
|
|
8
|
-
import { watchValidate as P, getRefrencePropMap as
|
|
8
|
+
import { watchValidate as P, getRefrencePropMap as B, removePropFromRefrencePropMap as M } from "../../utils/form-design-util.js";
|
|
9
9
|
import { usePageContextStore as T } from "../../../../stores/page-store.js";
|
|
10
10
|
import { getListCode as w } from "super-page-runtime";
|
|
11
11
|
import { getFormPropName as U } from "../../utils/page-helper-util.js";
|
|
12
12
|
import { updateServiceInputs as _ } from "../../utils/chart-design-util.js";
|
|
13
13
|
const I = { class: "amb-widget-item-tool" }, N = e({ __name: "object-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {}, showSelectedClass: { type: Boolean, default: true }, errorBlank: { type: Boolean, default: false }, isTableBtnLink: { type: Boolean, default: false } }, emits: ["onSelectWidget", "onCustomAttrWidget", "onCopy", "onDelete"], setup(e2, { emit: N2 }) {
|
|
14
|
-
var _a, _b
|
|
14
|
+
var _a, _b;
|
|
15
15
|
const R = T(), q = e2;
|
|
16
16
|
if ("table" === q.configure.name && q.pageDesign.tableRuntimes && q.pageDesign.tableRuntimes[q.configure.uuid]) {
|
|
17
17
|
const e3 = q.pageDesign.tableRuntimes[q.configure.uuid].configure, i2 = JSON.parse(e3);
|
|
18
18
|
Object.assign(q.configure, i2), delete q.pageDesign.tableRuntimes[q.configure.uuid];
|
|
19
19
|
}
|
|
20
|
-
q.indexObj && q.indexObj.index++, null == q.configure.props && (q.configure.props = {}), null == q.configure.style && (q.configure.style = {})
|
|
21
|
-
let z = R.getModelField(U((_b = (_a = q.configure.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop));
|
|
22
|
-
if (q.pageDesign && q.configure && "table" == q.configure.name) {
|
|
20
|
+
if (q.indexObj && q.indexObj.index++, null == q.configure.props && (q.configure.props = {}), null == q.configure.style && (q.configure.style = {}), q.pageDesign && q.configure && "table" == q.configure.name) {
|
|
23
21
|
if (q.configure.uuid) {
|
|
24
22
|
q.pageDesign.tableUuids || (q.pageDesign.tableUuids = []);
|
|
25
23
|
const e3 = setTimeout(() => {
|
|
26
|
-
var _a2, _b2,
|
|
27
|
-
((_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.includes(q.configure.uuid)) || ((
|
|
24
|
+
var _a2, _b2, _c, _d;
|
|
25
|
+
((_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.includes(q.configure.uuid)) || ((_d = (_c = q.pageDesign) == null ? void 0 : _c.tableUuids) == null ? void 0 : _d.push(q.configure.uuid)), z(q.configure.code);
|
|
28
26
|
}, 500);
|
|
29
27
|
i(() => {
|
|
30
|
-
var _a2, _b2,
|
|
28
|
+
var _a2, _b2, _c, _d;
|
|
31
29
|
const i2 = (_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.indexOf(q.configure.uuid);
|
|
32
|
-
null != i2 && i2 > -1 && ((
|
|
30
|
+
null != i2 && i2 > -1 && ((_d = (_c = q.pageDesign) == null ? void 0 : _c.tableUuids) == null ? void 0 : _d.shift(i2, 1));
|
|
33
31
|
const n2 = w(q.pageDesign.code, q.pageDesign.version, q.configure.uuid);
|
|
34
32
|
q.pageDesign.listCodesMap && q.pageDesign.listCodesMap[n2] && delete q.pageDesign.listCodesMap[n2], q.pageDesign.subTableWatchProps && delete q.pageDesign.subTableWatchProps[q.configure.uuid], e3 && clearTimeout(e3);
|
|
35
33
|
});
|
|
36
34
|
}
|
|
37
35
|
n(() => q.configure.code, (e3) => {
|
|
38
|
-
|
|
36
|
+
z(e3);
|
|
39
37
|
});
|
|
40
38
|
}
|
|
41
|
-
function
|
|
39
|
+
function z(e3) {
|
|
42
40
|
q.pageDesign.listCodesMap || (q.pageDesign.listCodesMap = {});
|
|
43
41
|
const i2 = w(q.pageDesign.code, q.pageDesign.version, q.configure.uuid);
|
|
44
42
|
i2 && (q.pageDesign.listCodesMap[i2] = e3 || i2);
|
|
@@ -56,25 +54,24 @@ const I = { class: "amb-widget-item-tool" }, N = e({ __name: "object-design", pr
|
|
|
56
54
|
e3.forEach((e4) => {
|
|
57
55
|
void 0 !== e4.paramName && "" !== e4.paramName && null !== e4.paramName && void 0 !== e4.paramValue && "" !== e4.paramValue && null !== e4.paramValue && (i2[e4.paramName] = e4.paramValue);
|
|
58
56
|
}), q.configure.runtime || (q.configure.runtime = {}), q.configure.runtime.customParams = i2;
|
|
59
|
-
}, { immediate: true }), ((
|
|
57
|
+
}, { immediate: true }), ((_b = (_a = q.configure.props) == null ? void 0 : _a.dataOrigin) == null ? void 0 : _b.serviceInputs) && q.pageDesign && n(q.configure.props.dataOrigin.serviceInputs, (e3) => {
|
|
60
58
|
_(q.configure, e3);
|
|
61
59
|
}, { immediate: true }), q.configure.componentIndex = q.indexObj.index;
|
|
62
|
-
let
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
const
|
|
66
|
-
null ==
|
|
67
|
-
|
|
60
|
+
let H = q.indexObj.index;
|
|
61
|
+
const L = N2, V = r({});
|
|
62
|
+
V.value = C(q.configure.name);
|
|
63
|
+
const A = r(true);
|
|
64
|
+
null == V.value && (V.value = j, A.value = false), n(() => q.configure.name, (e3) => {
|
|
65
|
+
V.value = C(e3);
|
|
68
66
|
}), q.configure.props && q.configure.props.verification && (q.configure.props.base && q.configure.props.base.title && n(() => q.configure.props.base.title, (e3) => {
|
|
69
|
-
P(q.configure, q.configure.props.verification,
|
|
67
|
+
P(q.configure, q.configure.props.verification, ne());
|
|
70
68
|
}), q.configure.props.base && q.configure.props.base.prop && (n(() => q.configure.props.base.prop, (e3, i2) => {
|
|
71
|
-
|
|
72
|
-
z || (z = R.getModelField(U((_b2 = (_a2 = q.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.prop))), P(q.configure, q.configure.props.verification, z), q.pageDesign.runtime || (q.pageDesign.runtime = {}), q.pageDesign.runtime.refercePropMap || (q.pageDesign.runtime.refercePropMap = {}), M(e3, i2, q.pageDesign.runtime.refercePropMap);
|
|
69
|
+
P(q.configure, q.configure.props.verification, ne()), q.pageDesign.runtime || (q.pageDesign.runtime = {}), q.pageDesign.runtime.refercePropMap || (q.pageDesign.runtime.refercePropMap = {}), B(e3, i2, q.pageDesign.runtime.refercePropMap);
|
|
73
70
|
}), i(() => {
|
|
74
71
|
var _a2, _b2;
|
|
75
|
-
|
|
72
|
+
M(q.configure.props.base.prop, (_b2 = (_a2 = q.pageDesign) == null ? void 0 : _a2.runtime) == null ? void 0 : _b2.refercePropMap);
|
|
76
73
|
})), n(q.configure.props.verification, (e3, i2) => {
|
|
77
|
-
P(q.configure, e3,
|
|
74
|
+
P(q.configure, e3, ne());
|
|
78
75
|
})), q.pageDesign.props && n(() => q.pageDesign.props.activeWorkflow, (e3, i2) => {
|
|
79
76
|
if (e3) {
|
|
80
77
|
const e4 = q.configure.props && q.configure.props.rules ? q.configure.props.rules.filter((e5) => e5.required) : null;
|
|
@@ -83,57 +80,61 @@ const I = { class: "amb-widget-item-tool" }, N = e({ __name: "object-design", pr
|
|
|
83
80
|
}), q.configure.props && q.configure.props.verification && q.configure.props.verification.required && (q.configure.props.verification.required = false);
|
|
84
81
|
}
|
|
85
82
|
});
|
|
86
|
-
const
|
|
87
|
-
function
|
|
88
|
-
W(q.configure,
|
|
83
|
+
const E = r(null), F = r({}), J = r(""), G = r({});
|
|
84
|
+
function K() {
|
|
85
|
+
W(q.configure, F, J), q.configure.runtime || (q.configure.runtime = {}), q.configure.runtime.common || (q.configure.runtime.common = {}), q.configure.runtime.common.class = J.value, q.configure.runtime.common.style = F.value;
|
|
89
86
|
}
|
|
90
87
|
if (q.configure.props && q.configure.props && (n(q.configure.props.size, (e3) => {
|
|
91
|
-
|
|
88
|
+
K();
|
|
92
89
|
}), n(() => q.configure.props.position, (e3) => {
|
|
93
|
-
|
|
90
|
+
K();
|
|
94
91
|
}, { immediate: true })), q.configure.style && q.configure.style && n(q.configure.style, () => {
|
|
95
|
-
|
|
92
|
+
K();
|
|
96
93
|
}), q.configure.props) {
|
|
97
94
|
q.configure.props.size || (q.configure.props.size = {});
|
|
98
95
|
const e3 = q.configure.props.size;
|
|
99
96
|
let i2 = e3[k.PC];
|
|
100
97
|
i2 || (i2 = {}, e3[k.PC] = i2), 0 == Object.keys(i2).length && (i2.widthType = e3.widthType, i2.flexSpan = e3.flexSpan, i2.fixWidth = e3.fixWidth, i2.fixHeight = e3.fixHeight, delete e3.widthType, delete e3.flexSpan, delete e3.fixWidth, delete e3.fixHeight);
|
|
101
98
|
}
|
|
102
|
-
const
|
|
103
|
-
const e3 =
|
|
104
|
-
if (
|
|
99
|
+
const Q = o(() => {
|
|
100
|
+
const e3 = F.value;
|
|
101
|
+
if (G.value = {}, !e3 || !q.pageDesign) return {};
|
|
105
102
|
const i2 = {};
|
|
106
103
|
q.configure.design && q.configure.design.style && Object.assign(i2, q.configure.design.style);
|
|
107
|
-
const n2 = q.pageDesign.dimensions ? q.pageDesign.dimensions : "pc",
|
|
108
|
-
return
|
|
104
|
+
const n2 = q.pageDesign.dimensions ? q.pageDesign.dimensions : "pc", r2 = e3[n2 + "_style"];
|
|
105
|
+
return r2 && (i2.width = r2.width, i2.height = r2.height, G.value = { height: r2.height }), J.value = e3[n2 + "_class"], i2;
|
|
109
106
|
});
|
|
110
107
|
n(q.selectWidget, (e3) => {
|
|
111
|
-
e3 && e3.value ==
|
|
108
|
+
e3 && e3.value == H ? X.value = "amb-design-item-selected" : X.value = "";
|
|
112
109
|
});
|
|
113
|
-
const
|
|
114
|
-
function
|
|
115
|
-
e3 && e3.preventDefault(),
|
|
110
|
+
const X = r("");
|
|
111
|
+
function Y(e3) {
|
|
112
|
+
e3 && e3.preventDefault(), L("onSelectWidget", H, q.configure);
|
|
113
|
+
}
|
|
114
|
+
function Z(e3, i2) {
|
|
115
|
+
L("onSelectWidget", e3, i2);
|
|
116
116
|
}
|
|
117
117
|
function $(e3, i2) {
|
|
118
|
-
|
|
118
|
+
L("onCustomAttrWidget", e3, i2);
|
|
119
119
|
}
|
|
120
|
-
function ee(e3
|
|
121
|
-
|
|
120
|
+
function ee(e3) {
|
|
121
|
+
e3.preventDefault(), L("onCopy", q.configure);
|
|
122
122
|
}
|
|
123
123
|
function ie(e3) {
|
|
124
|
-
e3.preventDefault(),
|
|
125
|
-
}
|
|
126
|
-
function ne(e3) {
|
|
127
|
-
if (e3.preventDefault(), V("onDelete", q.configure), q.pageDesign.allChartUuids) {
|
|
124
|
+
if (e3.preventDefault(), L("onDelete", q.configure), q.pageDesign.allChartUuids) {
|
|
128
125
|
const e4 = q.pageDesign.allChartUuids.findIndex((e5) => e5 === q.configure.uuid);
|
|
129
126
|
e4 >= 0 && q.pageDesign.allChartUuids.splice(e4, 1);
|
|
130
127
|
}
|
|
131
128
|
}
|
|
129
|
+
function ne() {
|
|
130
|
+
var _a2, _b2;
|
|
131
|
+
return R.getModelField(U((_b2 = (_a2 = q.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.prop));
|
|
132
|
+
}
|
|
132
133
|
return s(() => {
|
|
133
|
-
q.configure.props && q.configure.props.isInit && (delete q.configure.props.isInit,
|
|
134
|
+
q.configure.props && q.configure.props.isInit && (delete q.configure.props.isInit, L("onSelectWidget", H, q.configure));
|
|
134
135
|
}), (e3, i2) => {
|
|
135
136
|
const n2 = t("el-icon");
|
|
136
|
-
return g(), u("div", { class: p(["amb-object-design-ref",
|
|
137
|
+
return g(), u("div", { class: p(["amb-object-design-ref", J.value]), style: a([{ position: "relative" }, Q.value]), ref_key: "thisRef", ref: E }, [(g(), c(f(V.value), { style: a([F.value, G.value]), configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, errorBlank: e3.errorBlank, selectWidget: e3.selectWidget, onClick: d(Y, ["stop"]), onHandleSelect: Y, class: p([[X.value], "amb-design-item"]), isTableBtnLink: q.isTableBtnLink, onOnSelectWidget: Z, onOnCustomAttrWidget: $ }, null, 40, ["style", "configure", "pageDesign", "indexObj", "errorBlank", "selectWidget", "class", "isTableBtnLink"])), l(m("span", I, [l(D(n2, { onClick: d(ee, ["stop"]), style: { "margin-left": "6px" } }, { default: v(() => [D(b(x))]), _: 1 }, 512), [[h, A.value]]), D(n2, { onClick: d(ie, ["stop"]), style: { "margin-left": "6px" } }, { default: v(() => [D(b(y))]), _: 1 })], 512), [[h, X.value && e3.showSelectedClass]])], 6);
|
|
137
138
|
};
|
|
138
139
|
} });
|
|
139
140
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
|
|
2
2
|
import { ElMessageBox as x, ElMessage as h } from "element-plus";
|
|
3
|
-
import C from "./config.
|
|
3
|
+
import C from "./config.vue2.js";
|
|
4
4
|
import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
/* empty css
|
|
19
|
+
/* empty css */
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|
package/dist/es/style.css
CHANGED
|
@@ -830,7 +830,7 @@ fieldset.amb-design-item-selected {
|
|
|
830
830
|
content: "\e605";
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
.amb-object-design-ref[data-v-
|
|
833
|
+
.amb-object-design-ref[data-v-3ebfab9d] .el-table td.el-table__cell > .cell {
|
|
834
834
|
padding-left: 2px;
|
|
835
835
|
padding-right: 2px;
|
|
836
836
|
}.runtime-page-container[data-v-f796b484] {
|
|
@@ -10984,7 +10984,7 @@ li[data-v-d06d5717] {
|
|
|
10984
10984
|
width: 100%
|
|
10985
10985
|
}
|
|
10986
10986
|
|
|
10987
|
-
.seleteSort[data-v-
|
|
10987
|
+
.seleteSort[data-v-c491ad8a] {
|
|
10988
10988
|
border-radius: 5px;
|
|
10989
10989
|
border: 1px solid rgba(88, 147, 239);
|
|
10990
10990
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.11-design2",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.1.
|
|
32
|
+
"agilebuilder-ui": "1.1.48-rc1",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
43
|
"service-flow-designer": "2.3.7-flow1",
|
|
44
|
-
"super-page-runtime": "2.3.
|
|
44
|
+
"super-page-runtime": "2.3.11",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"vue-echarts": "^6.6.9",
|
|
53
53
|
"vue-router": "^4.3.0",
|
|
54
54
|
"vuex": "^4.1.0",
|
|
55
|
-
"workflow-editor": "0.0.
|
|
55
|
+
"workflow-editor": "0.0.66-up-rc2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@codemirror/autocomplete": "^6.16.0",
|