super-page-designer 2.3.9-design1 → 2.3.9-sit1-design2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/es/components/design/utils/common-option.js +5 -0
  2. package/dist/es/components/design/utils/form-design-util.js +13 -11
  3. package/dist/es/components/design/utils/page-event-util.js +0 -1
  4. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  5. package/dist/es/components/design/utils/page-table-util.js +35 -31
  6. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +16 -16
  7. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +4 -5
  8. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  10. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -3
  11. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  12. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +13 -13
  14. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +4 -4
  15. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  16. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  17. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  18. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
  19. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  20. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +10 -10
  21. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  22. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -2
  23. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
  24. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +75 -73
  25. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +4 -4
  26. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  27. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  28. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
  29. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
  30. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +1 -1
  31. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +42 -41
  32. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
  33. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +2 -2
  34. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
  35. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  36. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  37. package/dist/es/components/design/views/assemblys/object-design.vue3.js +49 -48
  38. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  39. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
  40. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  41. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  42. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  43. package/dist/es/components/design/views/design/page-event/config.vue3.js +17 -18
  44. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +0 -1
  45. package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -3
  46. package/dist/es/stores/undo-redo-store.js +1 -1
  47. package/dist/es/style.css +2 -2
  48. package/package.json +4 -4
@@ -0,0 +1,5 @@
1
+ const m = [{ label: "yyyy-m-d", value: "yyyy-m-d" }, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }, { label: "yyyy-m", value: "yyyy-m" }, { label: "m-d", value: "m-d" }, { label: "yyyy", value: "yyyy" }, { label: "yyyy年m月d日", value: "yyyy年m月d日" }, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }, { label: "yyyy年m月", value: "yyyy年m月" }, { label: "m月d日", value: "m月d日" }, { label: "ww", value: "ww" }], y = [{ label: "HH:mm", value: "HH:mm" }, { label: "HH:mm:ss", value: "HH:mm:ss" }, { label: "HH时mm分", value: "HH时mm分" }, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }, { label: "hh:mm", value: "hh:mm" }, { label: "hh:mm:ss", value: "hh:mm:ss" }, { label: "hh时mm分", value: "hh时mm分" }, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" }];
2
+ export {
3
+ m as dateFormatOptions,
4
+ y as timeFormatOptions
5
+ };
@@ -94,16 +94,18 @@ function f(e2) {
94
94
  }
95
95
  return i2.tittleClassCustom && (t2 += " " + i2.tittleClassCustom.replace(/;/g, " ")), t2;
96
96
  }
97
- function d(e2, t2) {
97
+ function u(e2, t2) {
98
98
  if (e2.props.base.prop) {
99
99
  const i2 = { required: true, message: `${e2.props.base.title}必填`, label: e2.props.base.title };
100
- m(t2, i2), e2.props.rules.push(i2);
100
+ t2 && t2.dataType ? h(t2, i2) : function(e3, t3) {
101
+ e3 && "InputNumber" == e3.name && (t3.type = "number", t3.trigger = "blur");
102
+ }(e2, i2), e2.props.rules.push(i2);
101
103
  }
102
104
  }
103
- function u(e2, t2, i2) {
105
+ function d(e2, t2, i2) {
104
106
  var _a, _b;
105
107
  e2.props.rules = [];
106
- e2.props.base.prop && t2 && (t2.required && d(e2, i2), t2.type && c(e2, t2.type, i2), t2.verifyRegex && t2.regex && b(e2, t2.regex, i2), t2.verifyMaxLength && t2.maxLength && h(e2, "max", t2.maxLength, i2), t2.verifyMinLength && t2.minLength && h(e2, "min", t2.minLength, i2), ((_a = t2.custom) == null ? void 0 : _a.enabled) && ((_b = t2.custom.eventNames) == null ? void 0 : _b.length) > 0 ? e2.props.customRuleEvents = t2.custom.eventNames : e2.props.customRuleEvents = []);
108
+ e2.props.base.prop && t2 && (t2.required && u(e2, i2), t2.type && c(e2, t2.type, i2), t2.verifyRegex && t2.regex && b(e2, t2.regex, i2), t2.verifyMaxLength && t2.maxLength && m(e2, "max", t2.maxLength, i2), t2.verifyMinLength && t2.minLength && m(e2, "min", t2.minLength, i2), ((_a = t2.custom) == null ? void 0 : _a.enabled) && ((_b = t2.custom.eventNames) == null ? void 0 : _b.length) > 0 ? e2.props.customRuleEvents = t2.custom.eventNames : e2.props.customRuleEvents = []);
107
109
  }
108
110
  function c(e2, t2, i2) {
109
111
  if (t2) {
@@ -127,16 +129,16 @@ function g(e2, t2, i2) {
127
129
  function b(e2, t2, i2) {
128
130
  if (e2.props.base.prop) {
129
131
  const o2 = { pattern: t2, message: `${e2.props.base.title}格式不匹配`, label: e2.props.base.title, patternType: "pattern" };
130
- m(i2, o2), e2.props.rules.push(o2);
132
+ h(i2, o2), e2.props.rules.push(o2);
131
133
  }
132
134
  }
133
- function h(e2, t2, i2, o2) {
135
+ function m(e2, t2, i2, o2) {
134
136
  if (e2.props.base.prop) {
135
137
  const n2 = { label: e2.props.base.title };
136
- n2[t2] = i2, n2.message = "max" === t2 ? `${e2.props.base.title}最多只能输入${i2}字符` : `${e2.props.base.title}至少输入${i2}字符`, m(o2, n2), e2.props.rules.push(n2);
138
+ n2[t2] = i2, n2.message = "max" === t2 ? `${e2.props.base.title}最多只能输入${i2}字符` : `${e2.props.base.title}至少输入${i2}字符`, h(o2, n2), e2.props.rules.push(n2);
137
139
  }
138
140
  }
139
- function m(e2, t2) {
141
+ function h(e2, t2) {
140
142
  if (!e2 || !e2.dataType) return;
141
143
  const i2 = e2.dataType;
142
144
  "DATE" === i2 || "TIME" === i2 ? t2.type = "date" : "INTEGER" === i2 || "LONG" === i2 ? t2.type = "number" : "FLOAT" === i2 || "DOUBLE" === i2 ? t2.pattern || (t2.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$")) : "BOOLEAN" === i2 && (t2.type = "boolean"), t2.trigger = "blur";
@@ -229,9 +231,9 @@ export {
229
231
  l as removComponentOptionConfigs,
230
232
  w as removePropFromRefrencePropMap,
231
233
  x as resetConfigIndo,
232
- h as watchMaxOrMinValidate,
234
+ m as watchMaxOrMinValidate,
233
235
  b as watchPatternValidate,
234
- d as watchRequiredValidate,
235
- u as watchValidate,
236
+ u as watchRequiredValidate,
237
+ d as watchValidate,
236
238
  c as watchValidateType
237
239
  };
@@ -6,7 +6,6 @@ function t() {
6
6
  try {
7
7
  for (let e2 of o) "customFunc" == e2.name && r.push({ value: e2.eventName, label: e2.eventName + (e2.remark ? "-" + e2.remark : "") });
8
8
  } catch (e2) {
9
- console.error("获取自定义方法失败", e2);
10
9
  }
11
10
  return r;
12
11
  }
@@ -1,20 +1,19 @@
1
1
  const e = ["tools", "form"];
2
- function s(r, a) {
2
+ function s(l, o) {
3
3
  var _a;
4
4
  try {
5
- r.name || r.label && o(r.label, a), ((_a = r.props) == null ? void 0 : _a.base) && !e.includes(r.name) && (r.props.base.title && o(r.props.base.title, a), r.props.base.placeholder && o(r.props.base.placeholder, a), r.props.base.label && o(r.props.base.label, a)), r.items && r.items.length > 0 && r.items.forEach((e2) => {
6
- s(e2, a);
5
+ l.name || l.label && a(l.label, o), ((_a = l.props) == null ? void 0 : _a.base) && !e.includes(l.name) && (l.props.base.title && a(l.props.base.title, o), l.props.base.placeholder && a(l.props.base.placeholder, o), l.props.base.label && a(l.props.base.label, o)), l.items && l.items.length > 0 && l.items.forEach((e2) => {
6
+ s(e2, o);
7
7
  });
8
8
  } catch (e2) {
9
- console.error(e2);
10
9
  }
11
10
  }
12
- function o(e2, s2) {
11
+ function a(e2, s2) {
13
12
  Array.isArray(e2) || (e2 = [e2]), e2.forEach((e3) => {
14
13
  s2.i18nKeys.includes(e3) || s2.i18nKeys.push(e3);
15
14
  });
16
15
  }
17
16
  export {
18
- o as addI18nKey,
17
+ a as addI18nKey,
19
18
  s as setPagetemI18nKey
20
19
  };
@@ -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,4 +1,4 @@
1
- import { defineComponent as e, ref as o, watch as l, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as s, createCommentVNode as u, createElementVNode as r, createElementBlock as p, Fragment as f, renderList as c, createTextVNode as g, withDirectives as d, vShow as m } from "vue";
1
+ import { defineComponent as e, ref as l, watch as o, resolveComponent as a, createBlock as i, openBlock as n, withCtx as t, createVNode as s, createCommentVNode as u, createElementVNode as r, createElementBlock as p, Fragment as f, renderList as c, createTextVNode as g, withDirectives as d, vShow as m } from "vue";
2
2
  import b from "../component/condition-dialog.vue.js";
3
3
  import v from "../component/set-dialog.vue.js";
4
4
  import y from "../component/combination.vue.js";
@@ -11,7 +11,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "button-att
11
11
  } }, pageDesign: { type: Object, default: () => {
12
12
  } } }, setup(e2) {
13
13
  var _a;
14
- const D2 = e2, O = o(["base"]), j = o(false), M = o([]), x = (_a = D2.pageDesign) == null ? void 0 : _a.systemVersion, L = o(h(D2.pageDesign, D2.configure));
14
+ const D2 = e2, O = l(["base"]), j = l(false), M = l([]), x = (_a = D2.pageDesign) == null ? void 0 : _a.systemVersion, L = l(h(D2.pageDesign, D2.configure));
15
15
  function R() {
16
16
  j.value = false;
17
17
  }
@@ -21,39 +21,39 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, D = e({ __name: "button-att
21
21
  V.post(window.$vueApp.config.globalProperties.baseAPI + `/mms/setting-transformations/option/${D2.pageDesign.systemCode}/${x}`).then((e3) => {
22
22
  M.value = e3;
23
23
  });
24
- const N = o(false);
24
+ const N = l(false);
25
25
  function U() {
26
26
  N.value = false;
27
27
  }
28
- const z = o(false);
28
+ const z = l(false);
29
29
  function A() {
30
30
  z.value = false;
31
31
  }
32
32
  function $(e3) {
33
- D2.configure.props.setValueList = e3, D2.configure.props.setValueList;
33
+ D2.configure.props.setValueList = e3;
34
34
  }
35
- const F = o(false);
35
+ const F = l(false);
36
36
  function P() {
37
37
  F.value = false;
38
38
  }
39
39
  function W(e3) {
40
40
  D2.configure.props.base.showConditions = JSON.stringify(e3);
41
41
  }
42
- const q = o(J("opinion")), I = o(J("wfRemark"));
42
+ const q = l(J("opinion")), I = l(J("wfRemark"));
43
43
  function J(e3) {
44
- let o2 = false;
45
- const l2 = D2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
46
- if (l2 && l2.length > 0) {
47
- const a2 = l2[0].eventName;
48
- o2 = k(a2, e3);
44
+ let l2 = false;
45
+ const o2 = D2.configure.events.filter((e4) => "click" === e4.name && e4.eventName);
46
+ if (o2 && o2.length > 0) {
47
+ const a2 = o2[0].eventName;
48
+ l2 = k(a2, e3);
49
49
  }
50
- return o2;
50
+ return l2;
51
51
  }
52
- return l(D2.configure.events, (e3) => {
52
+ return o(D2.configure.events, (e3) => {
53
53
  q.value = J("opinion"), I.value = J("wfRemark"), q.value || (D2.configure.props.base.isMustOpinion = false);
54
- }, { immediate: true }), (o2, l2) => {
54
+ }, { immediate: true }), (l2, o2) => {
55
55
  const k2 = a("el-option"), V2 = a("el-select"), h2 = a("el-form-item"), D3 = a("el-button"), x2 = a("el-text"), J2 = a("el-switch"), B = a("el-collapse-item"), E = a("el-collapse"), G = a("el-form");
56
- return n(), i(G, { "label-width": "80px", size: "small" }, { default: t(() => [s(E, { modelValue: O.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [s(B, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [s(h2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": l2[0] || (l2[0] = (o3) => e2.configure.props.base.successOperation = o3), class: "ml-4" }, { default: t(() => [s(k2, { label: "无操作", value: "noOperation" }), s(k2, { label: "刷新", value: "refresh" }), s(k2, { label: "关闭窗口", value: "closeWindow" }), s(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": l2[1] || (l2[1] = (o3) => e2.configure.props.base.conversionCodes = o3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), p(f, null, c(M.value, (e3) => (n(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[2] || (l2[2] = (e3) => N.value = true) }, { default: t(() => l2[8] || (l2[8] = [g("编辑")])), _: 1 })]), _: 1 }), s(h2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: L.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[3] || (l2[3] = (e3) => z.value = true) }, { default: t(() => l2[9] || (l2[9] = [g("编辑")])), _: 1 }), d(s(x2, { type: "success" }, { default: t(() => l2[10] || (l2[10] = [g("  已设置条件. ")])), _: 1 }, 512), [[m, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), s(h2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: L.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: l2[4] || (l2[4] = (e3) => j.value = true) }, { default: t(() => l2[11] || (l2[11] = [g("编辑")])), _: 1 })]), _: 1 }), q.value ? (n(), i(h2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": l2[5] || (l2[5] = (o3) => e2.configure.props.base.isMustOpinion = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustOpinion ? (n(), i(h2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: L.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), I.value ? (n(), i(h2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": l2[6] || (l2[6] = (o3) => e2.configure.props.base.isMustRemark = o3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustRemark ? (n(), i(h2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: L.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true)])]), _: 1 }), N.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onClose: U }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), z.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onSave: $, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), F.value ? (n(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: L.value, onSave: W, onClose: P }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true), j.value ? (n(), i(C, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: R, onSave: S }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
56
+ return n(), i(G, { "label-width": "80px", size: "small" }, { default: t(() => [s(E, { modelValue: O.value, "onUpdate:modelValue": o2[7] || (o2[7] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [s(B, { title: "高级设置", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [s(h2, { label: "成功后", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.successOperation, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.base.successOperation = l3), class: "ml-4" }, { default: t(() => [s(k2, { label: "无操作", value: "noOperation" }), s(k2, { label: "刷新", value: "refresh" }), s(k2, { label: "关闭窗口", value: "closeWindow" }), s(k2, { label: "关闭窗口并刷新列表", value: "closeWindowAndRefresh" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "转换规则", class: "amb-design-attr-item" }, { default: t(() => [s(V2, { modelValue: e2.configure.props.base.conversionCodes, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.base.conversionCodes = l3), multiple: "", class: "ml-4" }, { default: t(() => [(n(true), p(f, null, c(M.value, (e3) => (n(), i(k2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h2, { label: "执行条件", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: o2[2] || (o2[2] = (e3) => N.value = true) }, { default: t(() => o2[8] || (o2[8] = [g("编辑")])), _: 1 })]), _: 1 }), s(h2, { label: "启用条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_edit", configure: e2.configure, title: "启用条件", tableConfigure: L.value, type: "editConditions" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "自动设值", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: o2[3] || (o2[3] = (e3) => z.value = true) }, { default: t(() => o2[9] || (o2[9] = [g("编辑")])), _: 1 }), d(s(x2, { type: "success" }, { default: t(() => o2[10] || (o2[10] = [g("  已设置条件. ")])), _: 1 }, 512), [[m, e2.configure.props && e2.configure.props.setValueList && e2.configure.props.setValueList.length > 0]])]), _: 1 }), s(h2, { label: "显示条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_show", configure: e2.configure, type: "showConditions", tableConfigure: L.value }, null, 8, ["configure", "tableConfigure"]))]), _: 1 }), s(h2, { label: "日志设置", class: "amb-design-attr-item" }, { default: t(() => [s(D3, { type: "primary", onClick: o2[4] || (o2[4] = (e3) => j.value = true) }, { default: t(() => o2[11] || (o2[11] = [g("编辑")])), _: 1 })]), _: 1 }), q.value ? (n(), i(h2, { key: 0, label: "意见必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustOpinion, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.base.isMustOpinion = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustOpinion ? (n(), i(h2, { key: 1, label: "意见必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_opinion", configure: e2.configure, type: "mustOpinionConditions", tableConfigure: L.value, title: "意见必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true), I.value ? (n(), i(h2, { key: 2, label: "备注必填", class: "amb-design-attr-item" }, { default: t(() => [s(J2, { modelValue: e2.configure.props.base.isMustRemark, "onUpdate:modelValue": o2[6] || (o2[6] = (l3) => e2.configure.props.base.isMustRemark = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })) : u("", true), e2.configure.props.base.isMustRemark ? (n(), i(h2, { key: 3, label: "备注必填条件", class: "amb-design-attr-item" }, { default: t(() => [(n(), i(_, { key: e2.configure.uuid + "_remark", configure: e2.configure, type: "mustRemarkConditions", tableConfigure: L.value, title: "办理备注必填条件" }, null, 8, ["configure", "tableConfigure"]))]), _: 1 })) : u("", true)])]), _: 1 }), N.value ? (n(), i(b, { key: 0, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onClose: U }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), z.value ? (n(), i(v, { key: 1, pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: L.value, onSave: $, onClose: A }, null, 8, ["pageDesign", "configure", "tableConfigure"])) : u("", true), F.value ? (n(), i(y, { key: 2, conditionList: e2.configure.props.base.showConditions, fieldNameList: e2.pageDesign.modelFields, fieldMap: e2.pageDesign.modelFieldsMap, tableConfigure: L.value, onSave: W, onClose: P }, null, 8, ["conditionList", "fieldNameList", "fieldMap", "tableConfigure"])) : u("", true), j.value ? (n(), i(C, { key: 3, modelValue: e2.configure.props.base.logSetting, onClose: R, onSave: S }, null, 8, ["modelValue"])) : u("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
57
57
  };
58
58
  } });
59
59
  export {
@@ -2,13 +2,12 @@ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a
2
2
  import m from "../../common-series/common-attr-dataset-columnline.vue.js";
3
3
  import d from "../../common-series/common-attr-dynamic.vue.js";
4
4
  import c from "../../common-series/common-attr-testdatas.vue.js";
5
- import g from "../../../form/common/suffixmodule.vue.js";
6
- const f = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "column-line-series-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
7
- e2.pageDesign;
5
+ import f from "../../../form/common/suffixmodule.vue.js";
6
+ const g = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "column-line-series-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
8
7
  const y2 = l(["1", "dataList", "propsDynamic", "clicklinkage", "propsTestDatas"]);
9
8
  return (l2, b) => {
10
- const V = o("el-option"), v = o("el-select"), _ = o("el-form-item"), h = o("el-switch"), D = o("el-input"), j = o("el-radio-button"), k = o("el-radio-group"), U = o("el-collapse-item"), S = o("el-collapse"), w = o("el-form");
11
- return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue": b[4] || (b[4] = (e3) => y2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(U, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", f, [i(_, { label: "系列类型", style: { "margin-top": "4px" } }, { default: u(() => [i(v, { modelValue: e2.configure.type, "onUpdate:modelValue": b[0] || (b[0] = (l3) => e2.configure.type = l3) }, { default: u(() => [i(V, { label: "柱状图", value: "bar" }), i(V, { label: "折线图", value: "line" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(_, { label: "曲线", style: { "margin-top": "-10px" } }, { default: u(() => [i(h, { modelValue: e2.configure.style.isSmooth, "onUpdate:modelValue": b[1] || (b[1] = (l3) => e2.configure.style.isSmooth = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "line" == e2.configure.type]]), i(_, { label: "系列名称", style: { "margin-top": "-10px" } }, { default: u(() => [i(D, { modelValue: e2.configure.props.title, "onUpdate:modelValue": b[2] || (b[2] = (l3) => e2.configure.props.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(_, { label: "Y坐标参照", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [i(k, { modelValue: e2.configure.props.yAxisIndex, "onUpdate:modelValue": b[3] || (b[3] = (l3) => e2.configure.props.yAxisIndex = l3) }, { default: u(() => [i(j, { value: "0" }, { default: u(() => b[5] || (b[5] = [s("左坐标")])), _: 1 }), i(j, { value: "1" }, { default: u(() => b[6] || (b[6] = [s("右坐标")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(m, { configure: e2.configure }, null, 8, ["configure"]), r(i(d, { configure: e2.configure }, null, 8, ["configure"]), [[p, !e2.configure.props.yaxisSource || "variable" === e2.configure.props.yaxisSource]]), i(U, { title: "Click跳转配置", name: "clicklinkage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", x, [(t(), a(g, { key: e2.configure.uuid, configure: e2.configure, pageDesign: e2.pageDesign, isButton: false }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), i(c, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
+ const V = o("el-option"), v = o("el-select"), _ = o("el-form-item"), h = o("el-switch"), j = o("el-input"), k = o("el-radio-button"), D = o("el-radio-group"), U = o("el-collapse-item"), S = o("el-collapse"), w = o("el-form");
10
+ return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue": b[4] || (b[4] = (e3) => y2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(U, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", g, [i(_, { label: "系列类型", style: { "margin-top": "4px" } }, { default: u(() => [i(v, { modelValue: e2.configure.type, "onUpdate:modelValue": b[0] || (b[0] = (l3) => e2.configure.type = l3) }, { default: u(() => [i(V, { label: "柱状图", value: "bar" }), i(V, { label: "折线图", value: "line" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(_, { label: "曲线", style: { "margin-top": "-10px" } }, { default: u(() => [i(h, { modelValue: e2.configure.style.isSmooth, "onUpdate:modelValue": b[1] || (b[1] = (l3) => e2.configure.style.isSmooth = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "line" == e2.configure.type]]), i(_, { label: "系列名称", style: { "margin-top": "-10px" } }, { default: u(() => [i(j, { modelValue: e2.configure.props.title, "onUpdate:modelValue": b[2] || (b[2] = (l3) => e2.configure.props.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(_, { label: "Y坐标参照", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [i(D, { modelValue: e2.configure.props.yAxisIndex, "onUpdate:modelValue": b[3] || (b[3] = (l3) => e2.configure.props.yAxisIndex = l3) }, { default: u(() => [i(k, { value: "0" }, { default: u(() => b[5] || (b[5] = [s("左坐标")])), _: 1 }), i(k, { value: "1" }, { default: u(() => b[6] || (b[6] = [s("右坐标")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(m, { configure: e2.configure }, null, 8, ["configure"]), r(i(d, { configure: e2.configure }, null, 8, ["configure"]), [[p, !e2.configure.props.yaxisSource || "variable" === e2.configure.props.yaxisSource]]), i(U, { title: "Click跳转配置", name: "clicklinkage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", x, [(t(), a(f, { key: e2.configure.uuid, configure: e2.configure, pageDesign: e2.pageDesign, isButton: false }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), i(c, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
12
11
  };
13
12
  } });
14
13
  export {
@@ -58,7 +58,7 @@ const $ = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8p
58
58
  }
59
59
  return (l2, U2) => {
60
60
  const z2 = a("el-option"), q2 = a("el-select"), K = a("el-form-item"), Q = a("el-input"), X = a("el-radio"), Y = a("el-radio-group"), Z = a("el-collapse-item"), ee = a("el-switch"), le = a("el-input-number"), ae = a("el-color-picker"), oe = a("el-divider"), te = a("el-col"), re = a("el-icon"), ue = a("el-tooltip"), se = a("el-checkbox"), pe = a("el-table-column"), me = a("Plus"), de = a("Delete"), ne = a("el-table"), ie = a("el-collapse"), fe = a("el-form");
61
- return t(), o(fe, { "label-width": "80px", size: "small" }, { default: r(() => [u(ie, { modelValue: P.value, "onUpdate:modelValue": U2[10] || (U2[10] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: r(() => [u(Z, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", $, [u(K, { label: "组件类型", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: r(() => [(t(true), p(m, null, d(n(b)(), (e3) => (t(), o(z2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(K, { label: "唯一编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "自定义编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(K, { label: "绑定权限", class: "amb-design-attr-item" }, { default: r(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(K, { label: "标题", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.title, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.title = l3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "是否导出", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: e2.configure.exportable, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.exportable = l3), class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[11] || (U2[11] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[12] || (U2[12] = [i("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(V, { title: "数据", pageDesign: e2.pageDesign, sourceFields: N.value, configure: e2.configure, remote: false, onBindVariableChange: B, onServiceFieldChange: G }, null, 8, ["pageDesign", "sourceFields", "configure"]), u(h, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), u(Z, { title: "列模型", name: "columnModel", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", F, [u(ne, { data: e2.configure.items, style: { width: "100%", "margin-bottom": "8px" }, "row-key": "uuid", onExpandChange: A, "expand-row-keys": W.value }, { default: r(() => [u(pe, { type: "expand", width: "35" }, { default: r((l3) => [u(K, { class: "amb-design-attr-item" }, { label: r(() => U2[13] || (U2[13] = [i(" 显示条件 ")])), default: r(() => [u(O, { paramTypes: ["data", "task", "page", "request"], data: l3.row.showCondition, pageDesign: e2.pageDesign, configure: e2.configure, row: l3.row, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "configure", "row"])]), _: 2 }, 1024), u(K, { class: "amb-design-attr-item", "label-position": "top" }, { label: r(() => U2[14] || (U2[14] = [i(" 数据公式 ")])), default: r(() => [u(Q, { modelValue: l3.row.formula, "onUpdate:modelValue": (e3) => l3.row.formula = e3, type: "textarea", size: "small", placeholder: "请选择" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "格式化分类", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { onChange: (e3) => {
61
+ return t(), o(fe, { "label-width": "80px", size: "small" }, { default: r(() => [u(ie, { modelValue: P.value, "onUpdate:modelValue": U2[10] || (U2[10] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: r(() => [u(Z, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", $, [u(K, { label: "组件类型", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: e2.configure.name, "onUpdate:modelValue": U2[0] || (U2[0] = (l3) => e2.configure.name = l3), disabled: "", placeholder: "请选择" }, { default: r(() => [(t(true), p(m, null, d(n(b)(), (e3) => (t(), o(z2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(K, { label: "唯一编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": U2[1] || (U2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "自定义编码", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.code, "onUpdate:modelValue": U2[2] || (U2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(K, { label: "绑定权限", class: "amb-design-attr-item" }, { default: r(() => [(t(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(K, { label: "标题", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: e2.configure.title, "onUpdate:modelValue": U2[3] || (U2[3] = (l3) => e2.configure.title = l3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), u(K, { label: "是否导出", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: e2.configure.exportable, "onUpdate:modelValue": U2[4] || (U2[4] = (l3) => e2.configure.exportable = l3), class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[11] || (U2[11] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[12] || (U2[12] = [i("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(V, { title: "数据", pageDesign: e2.pageDesign, sourceFields: N.value, configure: e2.configure, remote: false, onBindVariableChange: B, onServiceFieldChange: G }, null, 8, ["pageDesign", "sourceFields", "configure"]), u(h, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), u(Z, { title: "列模型", name: "columnModel", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", F, [u(ne, { data: e2.configure.items, style: { width: "100%", "margin-bottom": "8px" }, "row-key": "uuid", onExpandChange: A, "expand-row-keys": W.value }, { default: r(() => [u(pe, { type: "expand", width: "35" }, { default: r((l3) => [u(K, { class: "amb-design-attr-item" }, { label: r(() => U2[13] || (U2[13] = [i(" 显示条件 ")])), default: r(() => [u(O, { paramTypes: ["data", "task", "page", "request", "fixed"], data: l3.row.showCondition, pageDesign: e2.pageDesign, configure: e2.configure, row: l3.row, "onUpdate:data": L }, null, 8, ["data", "pageDesign", "configure", "row"])]), _: 2 }, 1024), u(K, { class: "amb-design-attr-item", "label-position": "top" }, { label: r(() => U2[14] || (U2[14] = [i(" 数据公式 ")])), default: r(() => [u(Q, { modelValue: l3.row.formula, "onUpdate:modelValue": (e3) => l3.row.formula = e3, type: "textarea", size: "small", placeholder: "请选择" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "格式化分类", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { onChange: (e3) => {
62
62
  return a2 = e3, o2 = l3.$index, void (a2 && (I2.configure.items[o2].props.format = { type: a2 }));
63
63
  var a2, o2;
64
64
  }, modelValue: l3.row.props.format.type, "onUpdate:modelValue": (e3) => l3.row.props.format.type = e3, clearable: "", placeholder: "请选择" }, { default: r(() => [u(z2, { label: "数值", value: "number" }), u(z2, { label: "货币", value: "currency" }), u(z2, { label: "百分比", value: "percent" }), u(z2, { label: "图标/标签", value: "icon" }), u(z2, { label: "进度条控件", value: "progress" }), u(z2, { label: "自定义控件", value: "customControl" }), u(z2, { label: "自定义方法", value: "custom" })]), _: 2 }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), l3.row.props.format && "number" === l3.row.props.format.type || "currency" === l3.row.props.format.type || "percent" === l3.row.props.format.type ? (t(), o(K, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.decimalDigit, "onUpdate:modelValue": (e3) => l3.row.props.format.decimalDigit = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: r(() => [u(ee, { modelValue: l3.row.props.format.scientific, "onUpdate:modelValue": (e3) => l3.row.props.format.scientific = e3, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type && l3.row.props.format.scientific ? (t(), o(K, { key: 2, label: "计数位数", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.scientificNum, "onUpdate:modelValue": (e3) => l3.row.props.format.scientificNum = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: r(() => [u(ee, { modelValue: l3.row.props.format.thousandsSeparator, "onUpdate:modelValue": (e3) => l3.row.props.format.thousandsSeparator = e3, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "number" === l3.row.props.format.type ? (t(), o(K, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.symbol, "onUpdate:modelValue": (e3) => l3.row.props.format.symbol = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "currency" === l3.row.props.format.type ? (t(), o(K, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: l3.row.props.format.currencySymbol, "onUpdate:modelValue": (e3) => l3.row.props.format.currencySymbol = e3, placeholder: "Select" }, { default: r(() => [u(z2, { label: "$", value: "$" }), u(z2, { label: "¥", value: "¥" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "customControl" === l3.row.props.format.type ? (t(), o(K, { key: 6, label: "自定义控件", class: "amb-design-attr-item" }, { default: r(() => [u(Q, { modelValue: l3.row.props.format.customControl, "onUpdate:modelValue": (e3) => l3.row.props.format.customControl = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "icon" === l3.row.props.format.type ? (t(), o(D, { key: 7, setting: l3.row.props.format, "show-event": false }, null, 8, ["setting"])) : f("", true), l3.row.props.format && "custom" === l3.row.props.format.type ? (t(), o(K, { key: 8, label: "自定义方法", class: "amb-design-attr-item" }, { default: r(() => [u(q2, { modelValue: l3.row.props.format.customFunc, "onUpdate:modelValue": (e3) => l3.row.props.format.customFunc = e3, clearable: "" }, { default: r(() => [(t(true), p(m, null, d(n(j)(), (e3) => (t(), o(z2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), l3.row.props.format && "progress" === l3.row.props.format.type ? (t(), p(m, { key: 9 }, [u(K, { label: "进度条高度", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.format.strokeWidth, "onUpdate:modelValue": (e3) => l3.row.props.format.strokeWidth = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "最大值", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.format.max, "onUpdate:modelValue": (e3) => l3.row.props.format.max = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "进度条类型", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.progressType, "onUpdate:modelValue": (e3) => l3.row.props.format.progressType = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "line" }, { default: r(() => U2[15] || (U2[15] = [i("line")])), _: 1 }), u(X, { value: "circle" }, { default: r(() => U2[16] || (U2[16] = [i("circle")])), _: 1 }), u(X, { value: "dashboard" }, { default: r(() => U2[17] || (U2[17] = [i("dashboard")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "显示文字", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.showText, "onUpdate:modelValue": (e3) => l3.row.props.format.showText = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[18] || (U2[18] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[19] || (U2[19] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "line" === l3.row.props.format.progressType ? (t(), o(K, { key: 0, label: "文本内显", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.textInside, "onUpdate:modelValue": (e3) => l3.row.props.format.textInside = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[20] || (U2[20] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[21] || (U2[21] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true), u(K, { label: "进度条状态", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.status, "onUpdate:modelValue": (e3) => l3.row.props.format.status = e3, class: "ml-4" }, { default: r(() => [u(X, { value: null }, { default: r(() => U2[22] || (U2[22] = [i("无")])), _: 1 }), u(X, { value: "success" }, { default: r(() => U2[23] || (U2[23] = [i("success")])), _: 1 }), u(X, { value: "warning" }, { default: r(() => U2[24] || (U2[24] = [i("warning")])), _: 1 }), u(X, { value: "exception" }, { default: r(() => U2[25] || (U2[25] = [i("exception")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "自定义颜色", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.format.colorType, "onUpdate:modelValue": (e3) => l3.row.props.format.colorType = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "default" }, { default: r(() => U2[26] || (U2[26] = [i("默认")])), _: 1 }), u(X, { value: "custom" }, { default: r(() => U2[27] || (U2[27] = [i("指定颜色")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "custom" === l3.row.props.format.colorType ? (t(), o(K, { key: 1, label: "颜色" }, { default: r(() => [u(ae, { modelValue: l3.row.props.format.color, "onUpdate:modelValue": (e3) => l3.row.props.format.color = e3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : f("", true)], 64)) : f("", true), u(oe, null, { default: r(() => U2[28] || (U2[28] = [i("列属性")])), _: 1 }), u(K, { label: "列宽", class: "amb-design-attr-item" }, { default: r(() => [u(le, { modelValue: l3.row.props.base.width, "onUpdate:modelValue": (e3) => l3.row.props.base.width = e3, class: "mx-4", min: 0, "controls-position": "right" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "标题对齐", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.headerAlign, "onUpdate:modelValue": (e3) => l3.row.props.base.headerAlign = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "left" }, { default: r(() => U2[29] || (U2[29] = [i("居左")])), _: 1 }), u(X, { value: "center" }, { default: r(() => U2[30] || (U2[30] = [i("居中")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[31] || (U2[31] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "内容对齐", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.align, "onUpdate:modelValue": (e3) => l3.row.props.base.align = e3, class: "ml-4" }, { default: r(() => [u(X, { value: "left" }, { default: r(() => U2[32] || (U2[32] = [i("居左")])), _: 1 }), u(X, { value: "center" }, { default: r(() => U2[33] || (U2[33] = [i("居中")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[34] || (U2[34] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "固定列", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.fixed, "onUpdate:modelValue": (e3) => l3.row.props.base.fixed = e3, class: "ml-4" }, { default: r(() => [u(X, { value: false }, { default: r(() => U2[35] || (U2[35] = [i("否")])), _: 1 }), u(X, { value: "left" }, { default: r(() => U2[36] || (U2[36] = [i("居左")])), _: 1 }), u(X, { value: "right" }, { default: r(() => U2[37] || (U2[37] = [i("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "可排序", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.sortable, "onUpdate:modelValue": (e3) => l3.row.props.base.sortable = e3, class: "ml-4" }, { default: r(() => [u(X, { value: true }, { default: r(() => U2[38] || (U2[38] = [i("是")])), _: 1 }), u(X, { value: false }, { default: r(() => U2[39] || (U2[39] = [i("否")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(K, { label: "汇总列", class: "amb-design-attr-item" }, { default: r(() => [u(Y, { modelValue: l3.row.props.base.collectColumn, "onUpdate:modelValue": (e3) => l3.row.props.base.collectColumn = e3, onChange: (e3) => {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as l, resolveComponent as t, createElementBlock as r, openBlock as u, createVNode as s, createElementVNode as a, withDirectives as c, normalizeStyle as d, normalizeClass as p, withCtx as g, Fragment as m, renderList as f, createBlock as b, createCommentVNode as v, createTextVNode as y, unref as h, vShow as C } from "vue";
1
+ import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as t, resolveComponent as l, createElementBlock as r, openBlock as u, createVNode as s, createElementVNode as a, withDirectives as c, normalizeStyle as d, normalizeClass as p, withCtx as g, Fragment as m, renderList as f, createBlock as b, createCommentVNode as v, createTextVNode as y, unref as h, vShow as C } from "vue";
2
2
  import j from "../../../../utils/eventBus.js";
3
3
  import { useDraggable as x } from "vue-draggable-plus";
4
4
  import { caculateComponentProps as D } from "../../../../utils/form-design-util.js";
@@ -37,9 +37,9 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
37
37
  M(G.configure);
38
38
  }), j.$on("setHiddenColumsUuid", (e3) => {
39
39
  e3.value ? U.value = U.value.filter((o2) => o2 != e3.uuid) : U.value.push(e3.uuid);
40
- }), l(G.configure.style, () => {
40
+ }), t(G.configure.style, () => {
41
41
  G.configure.runtime.style = G.configure.style;
42
- }, { immediate: true }), l(G.configure.props, () => {
42
+ }, { immediate: true }), t(G.configure.props, () => {
43
43
  D(G.configure, P), function() {
44
44
  let e3 = G.configure.props;
45
45
  if (!e3.base) return;
@@ -49,13 +49,13 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
49
49
  const e3 = W(G.configure, null);
50
50
  G.configure.runtime.dataConfig = e3;
51
51
  }();
52
- }, { immediate: true }), l(G.configure.items, (e3) => {
52
+ }, { immediate: true }), t(G.configure.items, (e3) => {
53
53
  X.addFieldList(e3), G.configure.runtime.items = G.configure.items;
54
- }, { immediate: true }), l(() => G.configure.props.isChangeGroupHeader, () => {
54
+ }, { immediate: true }), t(() => G.configure.props.isChangeGroupHeader, () => {
55
55
  G.configure.props.isChangeGroupHeader && (q.value = E(G.configure), K.value && K.value.doLayout());
56
56
  }), j.$on("reloadTable-" + G.configure.uuid, (e3) => {
57
57
  e3 && (G.configure.items = e3, q.value = E(G.configure)), K.value && K.value.doLayout();
58
- }), l(() => q.value, (e3) => {
58
+ }), t(() => q.value, (e3) => {
59
59
  e3.forEach((e4) => {
60
60
  e4.props && e4.props.base && !e4.props.base.visible && U.value.push(e4.uuid);
61
61
  });
@@ -70,8 +70,8 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
70
70
  (o2 || window.event).preventDefault(), n2 = e3, G.configure.items.forEach((e4, o3) => {
71
71
  e4.props.base.name == n2.label && (oe.value = e4, ne.value = o3);
72
72
  }), R.value = true;
73
- const i2 = document.querySelector("#tableDesignMenu"), l2 = document.documentElement.scrollTop || document.body.scrollTop;
74
- i2.style.display = "block", i2.style.left = o2.clientX + 30 + "px", i2.style.top = o2.clientY + l2 - 22 + "px";
73
+ const i2 = document.querySelector("#tableDesignMenu"), t2 = document.documentElement.scrollTop || document.body.scrollTop;
74
+ i2.style.display = "block", i2.style.left = o2.clientX + 30 + "px", i2.style.top = o2.clientY + t2 - 22 + "px";
75
75
  }
76
76
  function Z() {
77
77
  R.value = false;
@@ -85,7 +85,7 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
85
85
  e5.props.base.displayOrder && e5.props.base.displayOrder == o3 || (e5.props.base.displayOrder = o3);
86
86
  }), G.configure.props.base.isEnableGroupHeader && (w(G.configure.items[ne.value + 1], null, G.configure.props.groupHeaders), q.value = E(G.configure), j.$emit("synchroGroupHeadersData"));
87
87
  } else "deleteNode" === e3 && S.confirm("当前操作会删除当前列", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
88
- G.configure.props, oe.value, G.configure.items.splice(ne.value, 1);
88
+ G.configure.items.splice(ne.value, 1);
89
89
  }).catch(() => {
90
90
  });
91
91
  }
@@ -93,19 +93,19 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
93
93
  function ie(e3) {
94
94
  oe.value = e3;
95
95
  }
96
- function le(e3, o2, n2, i2) {
97
- te(q.value, n2.columnKey).props.base.columnWidth = e3;
96
+ function te(e3, o2, n2, i2) {
97
+ le(q.value, n2.columnKey).props.base.columnWidth = e3;
98
98
  }
99
- function te(e3, o2) {
99
+ function le(e3, o2) {
100
100
  let n2 = {};
101
101
  return e3.forEach((e4) => {
102
102
  if (e4.uuid && e4.uuid === o2) return n2 = e4;
103
- e4.children && e4.children.length > 0 && (n2 = te(e4.children, o2));
103
+ e4.children && e4.children.length > 0 && (n2 = le(e4.children, o2));
104
104
  }), n2;
105
105
  }
106
106
  function re({ row: e3, column: o2, rowIndex: n2, columnIndex: i2 }) {
107
- let l2 = "";
108
- return U.value.includes(o2.label) && (l2 = "hiddenBorder"), o2.label === z.value && (l2 = "addBorder"), l2;
107
+ let t2 = "";
108
+ return U.value.includes(o2.label) && (t2 = "hiddenBorder"), o2.label === z.value && (t2 = "addBorder"), t2;
109
109
  }
110
110
  function ue(e3) {
111
111
  z.value = e3.uuid;
@@ -118,8 +118,8 @@ const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F
118
118
  }
119
119
  return x(".el-table__header-wrapper tr", G.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
120
120
  } }), (e3, o2) => {
121
- const n2 = t("el-table"), i2 = t("el-icon");
122
- return u(), r("div", null, [s(n2, { ref_key: "tableRef", ref: K, "cell-class-name": re, "header-cell-class-name": re, border: "", class: p(I.value), data: A.value, onHeaderDragend: le, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: ae, style: d(V.value) }, { default: g(() => [(u(true), r(m, null, f(q.value, (o3) => (u(), b(_, { key: o3, listColumns: o3, designProperty: P.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: ie, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), a("div", { onClick: J, style: { width: "100%", height: "30px" } }), c(a("div", null, [a("ul", N, [a("li", { tabindex: "-1", onClick: o2[0] || (o2[0] = () => ee("createCombinedHeader")) }, [s(i2, null, { default: g(() => [s(h(k))]), _: 1 }), o2[2] || (o2[2] = y(" 创建 "))]), oe.value.props && oe.value.props.base && "$selection" !== oe.value.props.base.prop && "$index" !== oe.value.props.base.prop ? (u(), r("li", { key: 0, tabindex: "-1", onClick: o2[1] || (o2[1] = () => ee("deleteNode")) }, [s(i2, null, { default: g(() => [s(h(H))]), _: 1 }), o2[3] || (o2[3] = y(" 删除 "))])) : v("", true)], 512)], 512), [[C, R.value]])]);
121
+ const n2 = l("el-table"), i2 = l("el-icon");
122
+ return u(), r("div", null, [s(n2, { ref_key: "tableRef", ref: K, "cell-class-name": re, "header-cell-class-name": re, border: "", class: p(I.value), data: A.value, onHeaderDragend: te, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: ae, style: d(V.value) }, { default: g(() => [(u(true), r(m, null, f(q.value, (o3) => (u(), b(_, { key: o3, listColumns: o3, designProperty: P.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: ie, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), a("div", { onClick: J, style: { width: "100%", height: "30px" } }), c(a("div", null, [a("ul", N, [a("li", { tabindex: "-1", onClick: o2[0] || (o2[0] = () => ee("createCombinedHeader")) }, [s(i2, null, { default: g(() => [s(h(k))]), _: 1 }), o2[2] || (o2[2] = y(" 创建 "))]), oe.value.props && oe.value.props.base && "$selection" !== oe.value.props.base.prop && "$index" !== oe.value.props.base.prop ? (u(), r("li", { key: 0, tabindex: "-1", onClick: o2[1] || (o2[1] = () => ee("deleteNode")) }, [s(i2, null, { default: g(() => [s(h(H))]), _: 1 }), o2[3] || (o2[3] = y(" 删除 "))])) : v("", true)], 512)], 512), [[C, R.value]])]);
123
123
  };
124
124
  } });
125
125
  export {
@@ -26,7 +26,6 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
26
26
  for (let e4 of l2) o2.push({ value: e4.iconName, label: e4.iconName });
27
27
  X.value.customOptions = o2, H.value = o2;
28
28
  } catch (e3) {
29
- console.error(e3);
30
29
  }
31
30
  le.value = false;
32
31
  }
@@ -43,7 +42,6 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
43
42
  const l3 = await fetch(e4, { mode: "cors" }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
44
43
  G.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
45
44
  } catch (e4) {
46
- console.error(e4);
47
45
  }
48
46
  le.value = false;
49
47
  }
@@ -57,7 +55,6 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
57
55
  const l3 = await fetch(e4, { mode: "cors", headers: { "Content-Type": "application/json" } }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
58
56
  W.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
59
57
  } catch (e4) {
60
- console.error(e4);
61
58
  }
62
59
  le.value = false;
63
60
  }
@@ -2,20 +2,19 @@ import { defineComponent as e, ref as o, resolveComponent as a, createBlock as t
2
2
  import { Plus as g } from "@element-plus/icons-vue";
3
3
  import { getToken as d } from "agilebuilder-ui/src/utils/auth";
4
4
  const m = { style: { padding: "8px 0px 0px 0px" } }, f = ["src"], b = e({ __name: "common-style-background", props: { configure: { type: Object, required: true } }, setup(e2) {
5
- const b2 = e2, v = o(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads"), h = d(), y = o(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?jwt=" + h + "&serverPath=");
5
+ const b2 = e2, h = o(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads"), v = d(), y = o(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?jwt=" + v + "&serverPath=");
6
6
  function k() {
7
7
  b2.configure.style.backgroundImageServerPath = void 0;
8
8
  }
9
9
  function x(e3) {
10
10
  if (e3.size > 3145728) return this.$message({ type: "warning", message: this.$t("imatrixUIMessage.exceedFileSize", { fileSize: 3 }), showClose: true }), false;
11
11
  }
12
- v.value;
13
12
  const w = (e3, o2) => {
14
13
  b2.configure.style.backgroundImageServerPath = e3.serverPath;
15
14
  };
16
15
  return (o2, d2) => {
17
16
  const b3 = a("el-color-picker"), P = a("el-form-item"), _ = a("CloseBold"), I = a("el-icon"), S = a("el-upload"), z = a("el-collapse-item");
18
- return r(), t(z, { title: "背景", name: "styleBackground", class: "amb-design-attr-group-header" }, { default: l(() => [s("div", m, [i(P, { label: "颜色", style: { "margin-top": "4px" } }, { default: l(() => [i(b3, { modelValue: e2.configure.style.backgroundColor, "onUpdate:modelValue": d2[0] || (d2[0] = (o3) => e2.configure.style.backgroundColor = o3) }, null, 8, ["modelValue"])]), _: 1 }), i(P, { label: "图片", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: l(() => [i(S, { class: "avatar-uploader", accept: "image/png, image/jpeg", "with-credentials": true, headers: { Authorization: n(h) }, action: v.value, "show-file-list": false, "on-success": w, "before-upload": x, style: { position: "relative" }, name: "file" }, { default: l(() => [e2.configure.style.backgroundImageServerPath ? (r(), u("img", { key: 0, src: y.value + e2.configure.style.backgroundImageServerPath + "&_tt=" + (/* @__PURE__ */ new Date()).getTime(), class: "avatar" }, null, 8, f)) : c("", true), e2.configure.style.backgroundImageServerPath ? (r(), t(I, { key: 1, style: { position: "absolute", top: "4px", right: "4px", "font-size": "15px", "background-color": "red" }, onClick: p(k, ["stop"]) }, { default: l(() => [i(_)]), _: 1 })) : (r(), t(I, { key: 2, class: "avatar-uploader-icon" }, { default: l(() => [i(n(g))]), _: 1 }))]), _: 1 }, 8, ["headers", "action"])]), _: 1 })])]), _: 1 });
17
+ return r(), t(z, { title: "背景", name: "styleBackground", class: "amb-design-attr-group-header" }, { default: l(() => [s("div", m, [i(P, { label: "颜色", style: { "margin-top": "4px" } }, { default: l(() => [i(b3, { modelValue: e2.configure.style.backgroundColor, "onUpdate:modelValue": d2[0] || (d2[0] = (o3) => e2.configure.style.backgroundColor = o3) }, null, 8, ["modelValue"])]), _: 1 }), i(P, { label: "图片", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: l(() => [i(S, { class: "avatar-uploader", accept: "image/png, image/jpeg", "with-credentials": true, headers: { Authorization: n(v) }, action: h.value, "show-file-list": false, "on-success": w, "before-upload": x, style: { position: "relative" }, name: "file" }, { default: l(() => [e2.configure.style.backgroundImageServerPath ? (r(), u("img", { key: 0, src: y.value + e2.configure.style.backgroundImageServerPath + "&_tt=" + (/* @__PURE__ */ new Date()).getTime(), class: "avatar" }, null, 8, f)) : c("", true), e2.configure.style.backgroundImageServerPath ? (r(), t(I, { key: 1, style: { position: "absolute", top: "4px", right: "4px", "font-size": "15px", "background-color": "red" }, onClick: p(k, ["stop"]) }, { default: l(() => [i(_)]), _: 1 })) : (r(), t(I, { key: 2, class: "avatar-uploader-icon" }, { default: l(() => [i(n(g))]), _: 1 }))]), _: 1 }, 8, ["headers", "action"])]), _: 1 })])]), _: 1 });
19
18
  };
20
19
  } });
21
20
  export {
@@ -1,4 +1,4 @@
1
- import o from "./common-variable-bind.vue2.js";
1
+ import o from "./common-variable-bind.vue3.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-3324003e"]]);