super-page-designer 2.3.10-design1 → 2.3.11-design1

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.
@@ -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
+ };
@@ -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 i } from "./common-util.js";
5
+ import { findDesignItemByUuid as o } from "./common-util.js";
6
6
  import { getComponentOptionConfigsBase as s } from "super-page-runtime";
7
- function o(t2, r2, a2) {
8
- let i2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/table-columns";
9
- return i2 += "?systemCode=" + (t2 || ""), i2 += "&publishVersion=" + (r2 || ""), i2 += "&tableName=" + (a2 || ""), e.get(i2);
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 i2 = { systemCode: t2, formVersion: r2, publishVersion: a2 };
13
- return e.get(window.$vueApp.config.globalProperties.baseAPI + "/mms/list-view-children/forms", i2);
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 i2 = JSON.stringify(e2), s2 = JSON.parse(i2);
17
- r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[s2.uuid] = function(e3, r3, i3) {
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, o3 = { configure: i3, 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 o3.items = function(e4, r4) {
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 i4 = [];
22
+ const o4 = [];
23
23
  return (_a2 = e4.items) == null ? void 0 : _a2.forEach((e5) => {
24
24
  const s4 = { controlName: c(e5) };
25
- let o4 = { 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: h(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 && (o4.functionCode = e5.functionCodes.join(",")), i4.push(o4);
27
- }), i4;
28
- }(e3, r3), o3.groupHeaders = function(e4) {
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), o3;
36
- }(s2, r2, i2), delete e2.btnList, delete e2.items, delete e2.modelFields;
37
- const o2 = s2.runtime;
38
- if (o2 && (o2.events || o2.common)) {
39
- const { events: t2, common: r3 } = o2;
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 i2 = a2.dataOrigin.optionValueSetType, o2 = a2.dataOrigin;
66
- if ("dynamicData" === i2) return JSON.stringify({ type: "dynamicData", dynamicDataSourceCode: o2.dynamicDataSourceCode, filterType: o2.filterType, valueSetOptions: m(o2), valueLabelSwitch: !!o2.valueLabelSwitch });
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(o2), JSON.stringify(a3)) : null;
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, i2 = r2.clearable;
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 = i2, t2.filterable = s2, t2.allowCreate = a2;
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 h(e2) {
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 O(e2, t2) {
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, o2;
248
- return r2 ? s2 = r2 : (t2 == null ? void 0 : t2.props.base.tableUuid) ? (o2 = t2.props.base.tableUuid, s2 = i(e2, o2)) : a2 && "list" === a2 && ((_a = e2 == null ? void 0 : e2.tableUuids) == null ? void 0 : _a.length) > 0 ? (o2 = e2 == null ? void 0 : e2.tableUuids[0], s2 = i(e2, o2)) : (e2 == null ? void 0 : e2.currentTableConfig) && (s2 = e2.currentTableConfig), s2;
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
- o as queryTableFields,
260
+ i as queryTableFields,
257
261
  p as setTableRuntimesFromConfigure,
258
- O as tableResetConfigIndo
262
+ h as tableResetConfigIndo
259
263
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as s, createCommentVNode as u, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as y, normalizeClass as b, toDisplayString as V } from "vue";
2
- import O from "../../form/common/dataorigin-input-table.vue2.js";
2
+ import O from "../../form/common/dataorigin-input-table.vue.js";
3
3
  import { Codemirror as _ } from "vue-codemirror";
4
4
  import C from "../../workflow/component/combination.vue.js";
5
5
  import S from "./return-set-table.vue.js";
@@ -1,7 +1,7 @@
1
1
  import t from "./tablecolumn-attr-base.vue2.js";
2
2
  /* empty css */
3
- import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = e(t, [["__scopeId", "data-v-c58bab50"]]);
3
+ import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const e = a(t, [["__scopeId", "data-v-c491ad8a"]]);
5
5
  export {
6
- a as default
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 u, createCommentVNode as r, 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";
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 h from "../../common/common-variable-bind.vue.js";
7
- import { setGroupHeaderDataDisplayOrder as D, deleteGroupHeaderByColumnUuid as x } from "../../../../utils/data-table-util.js";
8
- import { getUuidv4 as U } from "../../../../utils/common-util.js";
9
- import k from "../../../../utils/eventBus.js";
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 { queryTableFields as S, tableResetConfigIndo as H } from "../../../../utils/page-table-util.js";
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 j from "../../common/common-i18n-key-input.vue.js";
18
- import w from "../../form/common/hyperlink-mult-config.vue.js";
19
- import q from "../../common/common-function-code.vue.js";
20
- import F from "../../common/common-select-table.vue.js";
21
- import L from "../component/formatting-icon-label.vue.js";
22
- import M from "./tablecolumn-dynamic-column.vue.js";
23
- const E = { style: { padding: "8px 0px 0px 0px" } }, P = { class: "amb-design-attr-item-inline" }, A = { style: { padding: "8px 0px 0px 0px" } }, O = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
24
- const R2 = e2, B = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), I = a(null), W = a(null), Q = a(null), J = a([]), K = R2.tableConfigure.props.groupHeaders, X = a(null), Y = N(), Z = a(false);
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 = R2.configure.props.base) == null ? void 0 : _a.prop) && R2.configure.props.dynamicColumnData && R2.configure.props.dynamicColumnData.tableName && (ee.value, ae({ name: R2.configure.props.dynamicColumnData.tableName, alias: R2.configure.props.dynamicColumnData.tableAlias }));
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
- R2.configure.props.verification.type && ("text" === R2.configure.props.verification.type && (R2.configure.props.verification.typ = "string"), "int" === R2.configure.props.verification.type && (R2.configure.props.verification.typ = "integer"));
30
- R2.configure.props.format || (R2.configure.props.format = {});
31
- R2.configure.props.base && "operation" === R2.configure.props.base.prop ? Z.value = true : Z.value = false;
32
- R2.configure.props.dynamicColumnData || (R2.configure.props.dynamicColumnData = {});
33
- R2.configure.props.dynamicColumnData.selectCondition || (R2.configure.props.dynamicColumnData.selectCondition = []);
34
- R2.configure.props.dynamicColumnData.updateCondition || (R2.configure.props.dynamicColumnData.updateCondition = []);
35
- R2.configure.props.dynamicColumnData.columnModelTable || (R2.configure.props.dynamicColumnData.columnModelTable = []);
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 ee = a("");
38
- function ae(e3) {
39
- if ("masterTable" == ee.value) {
40
- let a2 = R2.configure.props.dynamicColumnData.dataTableCode ? R2.configure.props.dynamicColumnData.dataTableCode : "";
41
- a2 += "_", a2 += R2.configure.props.dynamicColumnData.tableSysVersion ? R2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += R2.configure.props.dynamicColumnData.tableName ? R2.configure.props.dynamicColumnData.tableName : "";
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 && (R2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, R2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, R2.configure.props.dynamicColumnData.tableName = e3.name, R2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
44
- const e4 = R2.configure.props.dynamicColumnData.dataTableCode ? R2.configure.props.dynamicColumnData.dataTableCode : Y.pageContext.systemCode, a3 = R2.configure.props.dynamicColumnData.tableSysVersion ? R2.configure.props.dynamicColumnData.tableSysVersion : Y.pageContext.systemVersion, l3 = R2.configure.props.dynamicColumnData.tableName;
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
- S(e4, a3, l3).then((e5) => {
47
- J.value = e5, Q.value.changeTableFields(e5);
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 = R2.configure.props.dynamicColumnData.settingDataTableCode ? R2.configure.props.dynamicColumnData.settingDataTableCode : "";
53
- a2 += "_", a2 += R2.configure.props.dynamicColumnData.settingDataSysVersion ? R2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += R2.configure.props.dynamicColumnData.settingDataName ? R2.configure.props.dynamicColumnData.settingDataName : "";
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 && (R2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, R2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, R2.configure.props.dynamicColumnData.settingDataName = e3.name, R2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
56
- const e4 = R2.configure.props.dynamicColumnData.settingDataTableCode ? R2.configure.props.dynamicColumnData.settingDataTableCode : Y.pageContext.systemCode, a3 = R2.configure.props.dynamicColumnData.settingDataSysVersion ? R2.configure.props.dynamicColumnData.settingDataSysVersion : Y.pageContext.systemVersion, l3 = R2.configure.props.dynamicColumnData.settingDataName;
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
- S(e4, a3, l3).then((e5) => {
59
- le.value = e5, Q.value.changeTableFields(e5), I.value.changeTableFields(e5), W.value.changeTableFields(e5);
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 le = a([]);
66
- const oe = a(false);
67
- function te() {
68
- oe.value = false;
67
+ let ne = a([]);
68
+ const ie = a(false);
69
+ function re() {
70
+ ie.value = false;
69
71
  }
70
- function ne(e3) {
71
- R2.configure.props.querySetting = e3;
72
+ function ue(e3) {
73
+ W2.configure.props.querySetting = e3;
72
74
  }
73
- function ie(e3) {
74
- e3 ? R2.tableConfigure.props.base.editable = true : R2.configure.name = "";
75
+ function se(e3) {
76
+ e3 ? W2.tableConfigure.props.base.editable = true : W2.configure.name = "";
75
77
  }
76
- function ue(e3) {
77
- H(R2.configure, e3);
78
+ function pe(e3) {
79
+ q(W2.configure, e3);
78
80
  }
79
- function re(e3) {
80
- const a2 = R2.configure.uuid;
81
- if (R2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && R2.tableConfigure.props.base.isEnableGroupHeader) {
82
- const e4 = K.filter((e5) => e5.columnUuid === a2);
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: U(), columnUuid: a2, titleText: R2.configure.props.base.name, isLeaf: true };
85
- D(null, e5, K), K.push(e5);
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 R2.tableConfigure.props.base.isEnableGroupHeader && x(K, a2);
88
- else k.$emit("setHiddenColumsUuid", { uuid: R2.configure.uuid, name: R2.configure.props.base.name, value: e3 });
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 se(e3) {
91
- R2.configure.props.base.defaultValue = e3;
92
+ function de(e3) {
93
+ W2.configure.props.base.defaultValue = e3;
92
94
  }
93
- function pe() {
94
- k.$emit("reloadTable-" + R2.tableConfigure.uuid);
95
+ function fe() {
96
+ U.$emit("reloadTable-" + W2.tableConfigure.uuid);
95
97
  }
96
- function me(e3) {
97
- fe(R2.tableConfigure.props.groupHeaders);
98
+ function ce(e3) {
99
+ be(W2.tableConfigure.props.groupHeaders);
98
100
  }
99
- function de(e3) {
100
- fe(R2.tableConfigure.props.groupHeaders);
101
+ function ge(e3) {
102
+ be(W2.tableConfigure.props.groupHeaders);
101
103
  }
102
- function fe(e3) {
103
- if (R2.tableConfigure.props.base.isEnableGroupHeader) {
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 === R2.configure.uuid) {
109
- l2.titleText = R2.configure.props.base.name, l2.prop = R2.configure.props.base.prop;
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 && fe(l2.children);
114
+ l2.children && l2.children.length > 0 && be(l2.children);
113
115
  }
114
116
  }
115
117
  }
116
118
  return (a2, l2) => {
117
- const D2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), k2 = o("el-radio-group"), S2 = o("el-switch"), H2 = o("el-option"), N2 = o("el-select"), R3 = o("el-icon"), I2 = o("el-collapse-item"), W2 = o("el-input-number"), Q2 = o("el-button"), J2 = o("el-checkbox"), K2 = o("el-checkbox-group"), Y2 = o("el-col"), ee2 = o("el-collapse"), le2 = o("el-form");
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
- R as default
124
+ W as default
123
125
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
2
- import V from "./dataorigin-input-table.vue2.js";
2
+ import V from "./dataorigin-input-table.vue.js";
3
3
  import g from "./condition.vue.js";
4
4
  import S from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -1,4 +1,28 @@
1
- import t from "./dataorigin-input-table.vue2.js";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
+ import { Search as p } from "@element-plus/icons-vue";
3
+ const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
+ const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
+ function y() {
6
+ if (_.value.length > 0) {
7
+ let e3 = "";
8
+ _.value.forEach((l2) => {
9
+ e3 = e3 + l2.name + ",";
10
+ }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
+ } else b.value = false;
12
+ }
13
+ function S(e3) {
14
+ _.value = e3;
15
+ }
16
+ function w() {
17
+ b.value = true;
18
+ }
19
+ return a(() => c.modelValue, (e3) => {
20
+ g.value = e3;
21
+ }), (e3, l2) => {
22
+ const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
+ return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
+ };
25
+ } });
2
26
  export {
3
- t as default
27
+ v as default
4
28
  };
@@ -1,28 +1,4 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
- import { Search as p } from "@element-plus/icons-vue";
3
- const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
- const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
- function y() {
6
- if (_.value.length > 0) {
7
- let e3 = "";
8
- _.value.forEach((l2) => {
9
- e3 = e3 + l2.name + ",";
10
- }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
- } else b.value = false;
12
- }
13
- function S(e3) {
14
- _.value = e3;
15
- }
16
- function w() {
17
- b.value = true;
18
- }
19
- return a(() => c.modelValue, (e3) => {
20
- g.value = e3;
21
- }), (e3, l2) => {
22
- const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
- return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
- };
25
- } });
1
+ import t from "./dataorigin-input-table.vue.js";
26
2
  export {
27
- v as default
3
+ t as default
28
4
  };
@@ -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 i, Fragment as p, createVNode as t, withDirectives as n, createBlock as s, createCommentVNode as m, withCtx as g, createTextVNode as v, withModifiers as r, unref as b, renderList as c, vShow as f, toDisplayString as y } from "vue";
2
- import { Search as V, Close as P } from "@element-plus/icons";
3
- import j from "./linkpage-page-callback.vue.js";
4
- import M from "../../common/common-select-page.vue.js";
5
- import T from "./parameter-table.vue.js";
6
- import k from "../../common/common-variable-bind.vue.js";
7
- import C from "./condition.vue.js";
8
- import _ from "../../common/common-icon-bind.vue.js";
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
- const U = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
12
- const U2 = e2, D = l(null), w = l({});
13
- let A;
14
- const B = U2.pageDesign ? U2.pageDesign.pageType : null;
15
- !B || "form" !== B && "list" !== B || (A = U2.pageDesign.modelFields);
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
- A && A.length > 0 && (N.value = O(A));
18
- const x = l([]);
19
- U2.tableConfigure && (x.value = O(U2.tableConfigure.modelFields)), U2.isDialog ? w.value = U2.configure : (U2.configure.props.linkPage || (U2.configure.props.linkPage = {}), Array.isArray(U2.configure.props.linkPage) && U2.configure.props.linkPage.length > 0 && (w.value = U2.configure.props.linkPage[0]), w.value = U2.configure.props.linkPage), void 0 === w.value.linkType && (w.value.linkType = "page"), void 0 === w.value.isNewPage && (w.value.isNewPage = true), w.value.dynamicTags || (w.value.dynamicTags = []), w.value.buttonDisplayConditionsList || (w.value.buttonDisplayConditionsList = []), void 0 === w.value.alignCenter && (w.value.alignCenter = true), void 0 === w.value.displayTextJudge && (w.value.displayTextJudge = true);
20
- const F = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], J = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], W = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], L = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], R = l(null);
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
- D.value.openDialog();
23
+ D2.tableConfigure && z.value && z.value.changeTableFields(D2.tableConfigure.modelFields);
26
24
  }
27
25
  function H() {
28
- w.value.jumpPageCode = "", w.value.jumpPageName = "";
26
+ w.value.openDialog();
27
+ }
28
+ function I() {
29
+ F.value.jumpPageCode = "", F.value.jumpPageName = "";
29
30
  }
30
- function I(e3) {
31
- w.value.jumpPageAdditional = e3;
31
+ function q(e3) {
32
+ F.value.jumpPageAdditional = e3;
32
33
  }
33
- function S(e3) {
34
- w.value.jumpPageName = e3.name, w.value.jumpPageCode = e3.code;
34
+ function G(e3) {
35
+ F.value.jumpPageName = e3.name, F.value.jumpPageCode = e3.code;
35
36
  }
36
- a(() => ({ linkType: w.value.linkType, jumpPageCode: w.value.jumpPageCode, jumpAddress: w.value.jumpAddress }), (e3) => {
37
- const l2 = w.value, a2 = l2.linkType;
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(() => U2.tableConfigure, (e3) => {
41
- z();
41
+ }, { immediate: true }), a(() => D2.tableConfigure, (e3) => {
42
+ E();
42
43
  }), u(() => {
43
- z();
44
+ E();
44
45
  });
45
- const q = l("");
46
- function G(e3) {
47
- q.value = e3, w.value.dynamicTags.push(e3);
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"), U3 = o("el-input"), A2 = o("el-radio-group"), B2 = o("el-option"), z2 = o("el-select"), K = o("el-switch"), Q = o("el-tag"), X = o("el-divider");
51
- return i(), d(p, null, [t(A2, { modelValue: w.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => w.value.linkType = e4) }, { default: g(() => [t(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [t(a2, { value: "" }, { default: g(() => l2[19] || (l2[19] = [v("无跳转   ")])), _: 1 })]), _: 1 }), t(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [t(a2, { value: "page" }, { default: g(() => l2[20] || (l2[20] = [v("跳转页面")])), _: 1 })]), default: g(() => [t(U3, { disabled: "page" != w.value.linkType, modelValue: w.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w.value.jumpPageName = e4), title: w.value.jumpPageCode, onClick: r(E, ["stop"]), readonly: "true" }, { append: g(() => [t(O2, { type: "default", disabled: "page" != w.value.linkType, icon: b(V), onClick: E, size: "small" }, null, 8, ["disabled", "icon"]), t(O2, { type: "default", disabled: "page" != w.value.linkType, icon: b(P), onClick: H, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), t(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: g(() => [t(a2, { value: "url" }, { default: g(() => l2[21] || (l2[21] = [v("跳转地址")])), _: 1 })]), default: g(() => [t(U3, { disabled: "url" != w.value.linkType, modelValue: w.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => w.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), t(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => w.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(F, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => w.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(J, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(t(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => w.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(W, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => w.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(t(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: g(() => [t(z2, { modelValue: w.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => w.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: g(() => [(i(), d(p, null, c(L, (e4, l3) => t(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode) && w.value.dialogType && "drawer" === w.value.dialogType]]), n(t(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => w.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(t(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: g(() => [t(h, { modelValue: w.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => w.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => w.value.fullscreen = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => w.value.alignCenter = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: g(() => [t(U3, { modelValue: w.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => w.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: g(() => [t(U3, { modelValue: w.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => w.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: g(() => [t(U3, { modelValue: w.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => w.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(t(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => w.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (i(), s(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: g(() => [t(C, { title: "显示判断", list: w.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: R }, null, 8, ["list"])]), _: 1 })) : m("", true), e3.isButton ? (i(), s(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => w.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), e3.isButton ? (i(), s(u2, { key: 2, label: "图标", class: "amb-design-attr-item" }, { default: g(() => [t(_, { iconType: w.value.iconType, iconValue: w.value.icon, "onUpdate:modelValue": l2[17] || (l2[17] = (e4, l3) => function(e5, l4) {
52
- w.value.iconType = e5, w.value.icon = l4;
53
- }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : m("", true), e3.isButton ? (i(), s(u2, { key: 3, label: "显示值", class: "amb-design-attr-item" }, { default: g(() => [t(k, { isTable: e3.configure.isTable, modelValue: q.value, dataModelOptions: N.value, objModelOptions: x.value, "onUpdate:modelValue": G }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : m("", true), (i(true), d(p, null, c(w.value.dynamicTags, (e4, l3) => (i(), s(Q, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
54
- w.value.dynamicTags.splice(l4, 1);
55
- }(0, l3) }, { default: g(() => [v(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), t(X, null, { default: g(() => l2[22] || (l2[22] = [v("附加参数")])), _: 1 }), e3.isButton ? (i(), s(u2, { key: 4, label: "自动拼接id", class: "amb-design-attr-item" }, { default: g(() => [t(K, { modelValue: w.value.isNeedId, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => w.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), t(T, { data: w.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: I }, null, 8, ["data", "tableConfigure"]), t(j, { linkPage: w.value }, null, 8, ["linkPage"]), t(M, { ref_key: "selectPageDialog", ref: D, onSelectPage: S, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
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
- U as default
60
+ D as default
60
61
  };
@@ -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-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
23
- return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (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[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [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[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [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[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [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[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [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[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [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(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, { type: "default" }, { default: t(() => V2[30] || (V2[30] = [c("自定义逻辑")])), _: 1 }), i(H, { 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 });
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,5 +1,5 @@
1
1
  import o from "./config.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-c8908117"]]);
5
5
  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.vue.js";
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
@@ -10984,7 +10984,7 @@ li[data-v-d06d5717] {
10984
10984
  width: 100%
10985
10985
  }
10986
10986
 
10987
- .seleteSort[data-v-c58bab50] {
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.10-design1",
3
+ "version": "2.3.11-design1",
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.47",
32
+ "agilebuilder-ui": "1.1.48",
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.10",
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.65-up"
55
+ "workflow-editor": "0.0.66-up-rc2"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@codemirror/autocomplete": "^6.16.0",