super-page-designer 2.3.30-design1 → 2.3.30-tmp1-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.
@@ -182,7 +182,7 @@ function b(e2) {
182
182
  } else if ("input-text" === e2.name) {
183
183
  const r2 = !!((_a = e2.props.scan) == null ? void 0 : _a.enable), a2 = (_b = e2.props.scan) == null ? void 0 : _b.ruleList;
184
184
  t2.scanEnable = r2, t2.scanRuleList = a2;
185
- } else "custom" === e2.name ? (t2.customParams = e2.props.parameter, t2.customComponent = e2.props.base.customComponent) : "datePicker" === e2.name ? (t2.format = e2.props.base.format, t2.valueFormat = e2.props.base.valueFormat) : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeCodes = e2.props.base.deptScopeDepts, "textarea" === e2.props.base.inputShowWay && (t2.inputShowWay = e2.props.base.inputShowWay, t2.autosize = { minRows: e2.props.base.textareaMinRow, maxRows: e2.props.base.textareaMaxRow }));
185
+ } else "custom" === e2.name ? t2.customParams = e2.props.parameter : "datePicker" === e2.name ? (t2.format = e2.props.base.format, t2.valueFormat = e2.props.base.valueFormat) : "dept-tree" === e2.name && (t2.limitFilterColumn = e2.props.base.limitFilterColumn, t2.deptScope = e2.props.base.deptScope, t2.deptScopeField = e2.props.base.deptScopeField, t2.deptScopeCodes = e2.props.base.deptScopeDepts, "textarea" === e2.props.base.inputShowWay && (t2.inputShowWay = e2.props.base.inputShowWay, t2.autosize = { minRows: e2.props.base.textareaMinRow, maxRows: e2.props.base.textareaMaxRow }));
186
186
  return ((_c = e2.style) == null ? void 0 : _c.cellStyle) && (t2.cellStyle = e2.style.cellStyle), ((_d = e2.style) == null ? void 0 : _d.titleStyle) && (t2.titleStyle = e2.style.titleStyle), ((_f = (_e = e2.props) == null ? void 0 : _e.base) == null ? void 0 : _f.editConditions) && e2.props.base.editConditions.length > 0 && (t2.editConditions = e2.props.base.editConditions), ((_g = e2.props) == null ? void 0 : _g.querySettings) && (t2.querySettings = e2.props.querySettings), t2 ? JSON.stringify(t2) : null;
187
187
  }
188
188
  function y(e2) {
@@ -1,7 +1,7 @@
1
1
  import t from "./button-attr-base.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = a(t, [["__scopeId", "data-v-6a93447a"]]);
3
+ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const o = e(t, [["__scopeId", "data-v-9f576183"]]);
5
5
  export {
6
- e as default
6
+ o as default
7
7
  };
@@ -6,51 +6,43 @@ import v from "../../common/common-icon-bind.vue.js";
6
6
  import _ from "agilebuilder-ui/src/utils/request";
7
7
  import y from "../../common/common-function-code.vue.js";
8
8
  import "@element-plus/icons";
9
- import { Close as U, Check as h } from "@element-plus/icons-vue";
10
- import { findDesignItemByUuid as k } from "../../../../utils/common-util.js";
9
+ import { Close as U, Check as k } from "@element-plus/icons-vue";
10
+ import "uuid";
11
11
  import "../../../../../../stores/table-store.js";
12
12
  import "../../../../../../stores/statistics-table-store.js";
13
13
  /* empty css */
14
- import { getTableConfigByTableUuid as D } from "../../../../utils/page-table-util.js";
14
+ import { getTableConfigByTableUuid as h } from "../../../../utils/page-table-util.js";
15
15
  import x from "../../common/common-i18n-key-input.vue.js";
16
- import j from "../../chart/statistical-table/component/link-table.vue.js";
16
+ import D from "../../chart/statistical-table/component/link-table.vue.js";
17
17
  import P from "../../common/common-template-select.vue.js";
18
- const w = { class: "collapse-item-content" }, E = { class: "collapse-item-content" }, F = { class: "collapse-item-content" }, T = { class: "collapse-item-content" }, z = { class: "collapse-item-content" }, C = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
19
- const C2 = e2, q = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), R = a({}), A = a([]), I = a(M()), S = a(false);
18
+ const j = { class: "collapse-item-content" }, w = { class: "collapse-item-content" }, F = { class: "collapse-item-content" }, T = { class: "collapse-item-content" }, z = { class: "collapse-item-content" }, C = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
19
+ const C2 = e2, E = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), q = a({}), R = a([]), A = a($()), I = a(false);
20
20
  C2.configure.props.base.templateFiles && C2.configure.props.base.templateFiles.forEach((e3) => {
21
- A.value.push(e3.templateUuid);
22
- }), void 0 === C2.configure.props.base.isEnableRequired && (C2.configure.props.base.isEnableRequired = true), !C2.configure.props.linkPage || C2.configure.props.linkPage instanceof Array || (C2.configure.props.linkPage = [{ linkPage: C2.configure.props.linkPage }]), S.value = true;
23
- const $ = a([]);
24
- function M() {
25
- return D(C2.pageDesign, C2.configure);
21
+ R.value.push(e3.templateUuid);
22
+ }), void 0 === C2.configure.props.base.isEnableRequired && (C2.configure.props.base.isEnableRequired = true), !C2.configure.props.linkPage || C2.configure.props.linkPage instanceof Array || (C2.configure.props.linkPage = [{ linkPage: C2.configure.props.linkPage }]), I.value = true;
23
+ const S = a([]);
24
+ function $() {
25
+ return h(C2.pageDesign, C2.configure);
26
26
  }
27
- function N(e3) {
28
- const a2 = M();
29
- I.value = a2;
27
+ function M(e3) {
28
+ const a2 = $();
29
+ A.value = a2;
30
30
  }
31
31
  return l(() => {
32
32
  !function() {
33
33
  var _a;
34
34
  const e3 = (_a = C2.pageDesign) == null ? void 0 : _a.systemVersion;
35
35
  _.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${C2.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
36
- R.value = e4.data;
36
+ q.value = e4.data;
37
37
  });
38
- }(), function() {
39
- if (C2.pageDesign.tableUuids && C2.pageDesign.tableUuids.length > 0) {
40
- const e3 = [];
41
- C2.pageDesign.tableUuids.forEach((a2) => {
42
- const l2 = k(C2.pageDesign, a2);
43
- (l2 == null ? void 0 : l2.title) ? e3.push({ label: l2.title, value: a2 }) : e3.push({ label: a2 + "(唯一编码)", value: a2 });
44
- }), $.value = e3;
45
- }
46
- }();
38
+ }(), C2.pageDesign.tableUuids && C2.pageDesign.tableUuids.length > 0 && (S.value = C2.pageDesign.tableUuids);
47
39
  }), (a2, l2) => {
48
- const _2 = o("el-option"), k2 = o("el-select"), D2 = o("el-form-item"), R2 = o("el-input"), A2 = o("el-radio"), M2 = o("el-radio-group"), O = o("el-collapse-item"), B = o("el-radio-button"), G = o("el-switch"), H = o("el-collapse"), J = o("el-form");
49
- return t(), i(J, { "label-width": "80px", size: "small" }, { default: s(() => [u(H, { modelValue: q.value, "onUpdate:modelValue": l2[26] || (l2[26] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [e2.configure.isFlow ? n("", true) : (t(), i(O, { key: 0, title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", w, [u(D2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), filterable: "", placeholder: "请选择" }, { default: s(() => [(t(true), d(p, null, c(m(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(D2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(D2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [u(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [u(M2, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [u(A2, { value: "default" }, { default: s(() => l2[27] || (l2[27] = [f("普通")])), _: 1 }), u(A2, { value: "disabled" }, { default: s(() => l2[28] || (l2[28] = [f("禁用")])), _: 1 }), u(A2, { value: "hidden" }, { default: s(() => l2[29] || (l2[29] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), u(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", E, [u(D2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [u(M2, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [u(A2, { value: "large" }, { default: s(() => l2[30] || (l2[30] = [f("大")])), _: 1 }), u(A2, { value: "default" }, { default: s(() => l2[31] || (l2[31] = [f("中")])), _: 1 }), u(A2, { value: "small" }, { default: s(() => l2[32] || (l2[32] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: s(() => [u(_2, { label: "primary", value: "primary" }), u(_2, { label: "success", value: "success" }), u(_2, { label: "warning", value: "warning" }), u(_2, { label: "danger", value: "danger" }), u(_2, { label: "info", value: "info" }), u(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
40
+ const _2 = o("el-option"), h2 = o("el-select"), q2 = o("el-form-item"), R2 = o("el-input"), $2 = o("el-radio"), N = o("el-radio-group"), O = o("el-collapse-item"), B = o("el-radio-button"), G = o("el-switch"), H = o("el-collapse"), J = o("el-form");
41
+ return t(), i(J, { "label-width": "80px", size: "small" }, { default: s(() => [u(H, { modelValue: E.value, "onUpdate:modelValue": l2[26] || (l2[26] = (e3) => E.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [e2.configure.isFlow ? n("", true) : (t(), i(O, { key: 0, title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", j, [u(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [u(h2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), filterable: "", placeholder: "请选择" }, { default: s(() => [(t(true), d(p, null, c(m(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), u(q2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(q2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [u(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "default" }, { default: s(() => l2[27] || (l2[27] = [f("普通")])), _: 1 }), u($2, { value: "disabled" }, { default: s(() => l2[28] || (l2[28] = [f("禁用")])), _: 1 }), u($2, { value: "hidden" }, { default: s(() => l2[29] || (l2[29] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), u(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", w, [u(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "large" }, { default: s(() => l2[30] || (l2[30] = [f("大")])), _: 1 }), u($2, { value: "default" }, { default: s(() => l2[31] || (l2[31] = [f("中")])), _: 1 }), u($2, { value: "small" }, { default: s(() => l2[32] || (l2[32] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [u(h2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: s(() => [u(_2, { label: "primary", value: "primary" }), u(_2, { label: "success", value: "success" }), u(_2, { label: "warning", value: "warning" }), u(_2, { label: "danger", value: "danger" }), u(_2, { label: "info", value: "info" }), u(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
50
42
  C2.configure.props.base.iconType = e4, C2.configure.props.base.iconValue = a4, a4 || (C2.configure.props.base.isTextIcon = false);
51
- }(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), g(u(D2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [u(M2, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [u(B, { value: "left" }, { default: s(() => l2[33] || (l2[33] = [f("标题前")])), _: 1 }), u(B, { value: "right" }, { default: s(() => l2[34] || (l2[34] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), u(D2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (t(), i(D2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : n("", true), u(D2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(D2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(D2, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [u(M2, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: s(() => [u(A2, { value: true }, { default: s(() => l2[35] || (l2[35] = [f("是")])), _: 1 }), u(A2, { value: false }, { default: s(() => l2[36] || (l2[36] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [u(M2, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: s(() => [u(A2, { value: true }, { default: s(() => l2[37] || (l2[37] = [f("是")])), _: 1 }), u(A2, { value: false }, { default: s(() => l2[38] || (l2[38] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [u(M2, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: s(() => [u(A2, { value: "button" }, { default: s(() => l2[39] || (l2[39] = [f("button")])), _: 1 }), u(A2, { value: "submit" }, { default: s(() => l2[40] || (l2[40] = [f("submit")])), _: 1 }), u(A2, { value: "reset" }, { default: s(() => l2[41] || (l2[41] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), e2.configure.isFlow ? n("", true) : (t(), i(O, { key: 1, title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", F, [S.value ? (t(), i(j, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "context", "system", "request", "fixed", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: I.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
43
+ }(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), g(u(q2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [u(B, { value: "left" }, { default: s(() => l2[33] || (l2[33] = [f("标题前")])), _: 1 }), u(B, { value: "right" }, { default: s(() => l2[34] || (l2[34] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), u(q2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (t(), i(q2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : n("", true), u(q2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(q2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(k), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(q2, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => l2[35] || (l2[35] = [f("是")])), _: 1 }), u($2, { value: false }, { default: s(() => l2[36] || (l2[36] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => l2[37] || (l2[37] = [f("是")])), _: 1 }), u($2, { value: false }, { default: s(() => l2[38] || (l2[38] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: s(() => [u($2, { value: "button" }, { default: s(() => l2[39] || (l2[39] = [f("button")])), _: 1 }), u($2, { value: "submit" }, { default: s(() => l2[40] || (l2[40] = [f("submit")])), _: 1 }), u($2, { value: "reset" }, { default: s(() => l2[41] || (l2[41] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), e2.configure.isFlow ? n("", true) : (t(), i(O, { key: 1, title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", F, [I.value ? (t(), i(D, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "context", "system", "request", "fixed", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: A.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
52
44
  C2.configure.props.linkPage = e4;
53
- }(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : n("", true)])]), _: 1 })), e2.configure.isFlow ? n("", true) : (t(), i(O, { key: 2, title: "模板配置", name: "templateConfig", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", T, [u(P, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.templateFiles = a3), pageDesign: e2.pageDesign, tableConfigure: I.value }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 })), u(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", z, [!e2.configure.isFlow ? (t(), d(p, { key: 1 }, [u(D2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "是否异步", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "执行条件", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: s(() => [u(_2, { label: "无限制", value: "any" }), u(_2, { label: "选单行", value: "one" }), u(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(D2, { label: "对应表格", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: N }, { default: s(() => [(t(true), d(p, null, c($.value, (e3) => (t(), i(_2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : (t(), i(D2, { key: 0, label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
45
+ }(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : n("", true)])]), _: 1 })), e2.configure.isFlow ? n("", true) : (t(), i(O, { key: 2, title: "模板配置", name: "templateConfig", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", T, [u(P, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.templateFiles = a3), pageDesign: e2.pageDesign, tableConfigure: A.value }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 })), u(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [r("div", z, [!e2.configure.isFlow ? (t(), d(p, { key: 1 }, [u(q2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "是否异步", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "执行条件", class: "amb-design-attr-item" }, { default: s(() => [u(h2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: s(() => [u(_2, { label: "无限制", value: "any" }), u(_2, { label: "选单行", value: "one" }), u(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(q2, { label: "对应表格", class: "amb-design-attr-item" }, { default: s(() => [u(h2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: M }, { default: s(() => [(t(true), d(p, null, c(S.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : (t(), i(q2, { key: 0, label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
54
46
  };
55
47
  } });
56
48
  export {
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as a, withCtx as o, createElementVNode as n, createVNode as m } from "vue";
2
- const r = { style: { padding: "8px 0px 0px 0px" } }, u = e({ __name: "common-style-margin", props: { configure: { type: Object, required: true } }, setup: (e2) => (u2, i) => {
1
+ import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as t, withCtx as m, createElementVNode as o, createVNode as n } from "vue";
2
+ const i = { style: { padding: "8px 0px 0px 0px" } }, r = e({ __name: "common-style-margin", props: { configure: { type: Object, required: true } }, setup: (e2) => (r2, u) => {
3
3
  const g = l("el-input-number"), p = l("el-form-item"), d = l("el-collapse-item");
4
- return a(), t(d, { title: "Margin", name: "styleMargin", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", r, [m(p, { label: "左边距", style: { "margin-top": "4px" } }, { default: o(() => [m(g, { modelValue: e2.configure.style.marginLeft, "onUpdate:modelValue": i[0] || (i[0] = (l2) => e2.configure.style.marginLeft = l2) }, null, 8, ["modelValue"])]), _: 1 }), m(p, { label: "右边距", style: { "margin-top": "-10px" } }, { default: o(() => [m(g, { modelValue: e2.configure.style.marginRight, "onUpdate:modelValue": i[1] || (i[1] = (l2) => e2.configure.style.marginRight = l2) }, null, 8, ["modelValue"])]), _: 1 }), m(p, { label: "上边距", style: { "margin-top": "-10px" } }, { default: o(() => [m(g, { modelValue: e2.configure.style.marginTop, "onUpdate:modelValue": i[2] || (i[2] = (l2) => e2.configure.style.marginTop = l2) }, null, 8, ["modelValue"])]), _: 1 }), m(p, { label: "下边距", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [m(g, { modelValue: e2.configure.style.marginBottom, "onUpdate:modelValue": i[3] || (i[3] = (l2) => e2.configure.style.marginBottom = l2) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
4
+ return t(), a(d, { title: "Margin", name: "styleMargin", class: "amb-design-attr-group-header" }, { default: m(() => [o("div", i, [n(p, { label: "左边距", style: { "margin-top": "4px" } }, { default: m(() => [n(g, { modelValue: e2.configure.style.marginLeft, "onUpdate:modelValue": u[0] || (u[0] = (l2) => e2.configure.style.marginLeft = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), n(p, { label: "右边距", style: { "margin-top": "-10px" } }, { default: m(() => [n(g, { modelValue: e2.configure.style.marginRight, "onUpdate:modelValue": u[1] || (u[1] = (l2) => e2.configure.style.marginRight = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), n(p, { label: "上边距", style: { "margin-top": "-10px" } }, { default: m(() => [n(g, { modelValue: e2.configure.style.marginTop, "onUpdate:modelValue": u[2] || (u[2] = (l2) => e2.configure.style.marginTop = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), n(p, { label: "下边距", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: m(() => [n(g, { modelValue: e2.configure.style.marginBottom, "onUpdate:modelValue": u[3] || (u[3] = (l2) => e2.configure.style.marginBottom = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
- u as default
7
+ r as default
8
8
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as a, withCtx as d, createElementVNode as o, createVNode as n } from "vue";
2
- const p = { style: { padding: "8px 0px 0px 0px" } }, u = e({ __name: "common-style-padding", props: { configure: { type: Object, required: true } }, setup: (e2) => (u2, i) => {
3
- const m = l("el-input-number"), g = l("el-form-item"), r = l("el-collapse-item");
4
- return a(), t(r, { title: "Padding", name: "stylePadding", class: "amb-design-attr-group-header" }, { default: d(() => [o("div", p, [n(g, { label: "左边距", style: { "margin-top": "4px" } }, { default: d(() => [n(m, { modelValue: e2.configure.style.paddingLeft, "onUpdate:modelValue": i[0] || (i[0] = (l2) => e2.configure.style.paddingLeft = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(g, { label: "右边距", style: { "margin-top": "-10px" } }, { default: d(() => [n(m, { modelValue: e2.configure.style.paddingRight, "onUpdate:modelValue": i[1] || (i[1] = (l2) => e2.configure.style.paddingRight = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(g, { label: "上边距", style: { "margin-top": "-10px" } }, { default: d(() => [n(m, { modelValue: e2.configure.style.paddingTop, "onUpdate:modelValue": i[2] || (i[2] = (l2) => e2.configure.style.paddingTop = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(g, { label: "下边距", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: d(() => [n(m, { modelValue: e2.configure.style.paddingBottom, "onUpdate:modelValue": i[3] || (i[3] = (l2) => e2.configure.style.paddingBottom = l2) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
1
+ import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as t, withCtx as d, createElementVNode as o, createVNode as n } from "vue";
2
+ const i = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-style-padding", props: { configure: { type: Object, required: true } }, setup: (e2) => (m2, p) => {
3
+ const u = l("el-input-number"), g = l("el-form-item"), r = l("el-collapse-item");
4
+ return t(), a(r, { title: "Padding", name: "stylePadding", class: "amb-design-attr-group-header" }, { default: d(() => [o("div", i, [n(g, { label: "左边距", style: { "margin-top": "4px" } }, { default: d(() => [n(u, { modelValue: e2.configure.style.paddingLeft, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.paddingLeft = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), n(g, { label: "右边距", style: { "margin-top": "-10px" } }, { default: d(() => [n(u, { modelValue: e2.configure.style.paddingRight, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.paddingRight = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), n(g, { label: "上边距", style: { "margin-top": "-10px" } }, { default: d(() => [n(u, { modelValue: e2.configure.style.paddingTop, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.paddingTop = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), n(g, { label: "下边距", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: d(() => [n(u, { modelValue: e2.configure.style.paddingBottom, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.paddingBottom = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
- u as default
7
+ m as default
8
8
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as t, openBlock as o, 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 b, normalizeClass as y, toDisplayString as V } from "vue";
2
- import O from "../../form/common/dataorigin-input-table.vue.js";
2
+ import O from "../../form/common/dataorigin-input-table.vue2.js";
3
3
  import { Codemirror as _ } from "vue-codemirror";
4
4
  import S from "../../workflow/component/combination.vue.js";
5
5
  import C from "./return-set-table.vue.js";
@@ -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.vue.js";
2
+ import V from "./dataorigin-input-table.vue2.js";
3
3
  import g from "./condition.vue.js";
4
4
  import S from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -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.vue2.js";
26
2
  export {
27
- v as default
3
+ t as default
28
4
  };
@@ -1,4 +1,28 @@
1
- import t from "./dataorigin-input-table.vue.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
  };
@@ -30,7 +30,7 @@ const w = e({ __name: "select-design", props: { pageDesign: {}, configure: {} },
30
30
  z();
31
31
  }), (e3, l2) => {
32
32
  const a2 = u("el-option"), t2 = u("el-select"), b2 = u("el-form-item");
33
- return o(), i(b2, { required: !!_.value.required, class: s([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(S.value), onClick: l2[1] || (l2[1] = (l3) => e3.$emit("handleSelect")) }, { label: n(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: r({ ...C.value, ...D.value, "padding-right": "12px" }) }, [_.value.prefixType ? (o(), i(h, { key: 0, configure: e3.configure }, null, 8, ["configure"])) : (o(), p(f, { key: 1 }, [g(d(_.value.title), 1)], 64))], 4)) : v("", true)]), default: n(() => [c(t2, { ref_key: "thisRef", ref: k, disabled: "", size: _.value.size, clearable: _.value.clearable, multiple: _.value.multiple, "collapse-tags": _.value.collapseTags, "collapse-tags-tooltip": _.value.collapseTagsTooltip, filterable: _.value.filterable, "allow-create": _.value.allowCreate, placeholder: _.value.placeholder, modelValue: _.value.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => _.value.value = e4) }, { default: n(() => [(o(true), p(f, null, m(_.value.options, (e4) => (o(), i(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
33
+ return o(), i(b2, { required: !!_.value.required, class: s([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(S.value) }, { label: n(() => [_.value.tittleShow ? (o(), p("div", { key: 0, style: r({ ...C.value, ...D.value, "padding-right": "12px" }) }, [_.value.prefixType ? (o(), i(h, { key: 0, configure: e3.configure }, null, 8, ["configure"])) : (o(), p(f, { key: 1 }, [g(d(_.value.title), 1)], 64))], 4)) : v("", true)]), default: n(() => [c(t2, { ref_key: "thisRef", ref: k, disabled: "", size: _.value.size, clearable: _.value.clearable, multiple: _.value.multiple, "collapse-tags": _.value.collapseTags, "collapse-tags-tooltip": _.value.collapseTagsTooltip, filterable: _.value.filterable, "allow-create": _.value.allowCreate, placeholder: _.value.placeholder, modelValue: _.value.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => _.value.value = e4), onClick: l2[1] || (l2[1] = (l3) => e3.$emit("handleSelect")) }, { default: n(() => [(o(true), p(f, null, m(_.value.options, (e4) => (o(), i(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
34
34
  };
35
35
  } });
36
36
  export {
@@ -1,27 +1,27 @@
1
1
  import { defineComponent as e, ref as t, onMounted as o, nextTick as l, resolveComponent as a, resolveDirective as n, createElementBlock as i, openBlock as s, Fragment as r, createElementVNode as p, createVNode as c, withDirectives as u, createBlock as d, unref as m, withCtx as g, createTextVNode as f } from "vue";
2
2
  import { Plus as v, Delete as y, Refresh as b } from "@element-plus/icons";
3
3
  import w from "agilebuilder-ui/src/utils/request";
4
- import { ElMessageBox as h, ElMessage as C, ElLoading as E } from "element-plus";
5
- const k = { style: { padding: "0 0 10px 0" } }, S = e({ __name: "i18n-setting-enabled", props: { systemCode: { type: String, default: "" } }, emits: ["close"], setup(e2, { expose: S2, emit: T }) {
6
- const _ = e2, A = window.$vueApp.config.globalProperties.baseAPI, N = t([]), P = t(), D = t(false), x = [{ leftBracket: "(", propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: _.systemCode, joinSign: "or" }, { propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: "common", rightBracket: ")" }], I = function(e3, t2) {
4
+ import { ElMessageBox as h, ElMessage as C, ElLoading as k } from "element-plus";
5
+ const S = { style: { padding: "0 0 10px 0" } }, E = e({ __name: "i18n-setting-enabled", props: { systemCode: { type: String, default: "" } }, emits: ["close"], setup(e2, { expose: E2, emit: T }) {
6
+ const A = e2, _ = window.$vueApp.config.globalProperties.baseAPI, N = t([]), P = t(), x = t(false), D = [{ leftBracket: "(", propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: A.systemCode, joinSign: "or" }, { propName: "systemCode", propDbName: "system_code", dataType: "TEXT", operator: "EQ", propValue: "common", rightBracket: ")", joinSign: "and" }], R = function(e3, t2) {
7
7
  N.value = e3;
8
- }, R = { initSearch: true, dynamicServiceName: "languagePackageDynamicValueServiceImpl", lineEditOptions: { aftersaveIsCreateRow: false, beforeSave: function(e3) {
9
- e3.SYSTEM_CODE = _.systemCode;
10
- } }, statementDto: {}, initSearchForm: x, renderRow: {}, isSql: true, operations: { operation: [{ onClick: $, eventName: "lineEditUpdate", props: { title: "修改", isPermission: true, type: "primary", size: "small", elementType: "el-button", label: "修改", code: "lineEditUpdate" } }, { onClick: B, eventName: "lineEditSave", isShow: U, props: { title: "保存", type: "primary", size: "small", elementType: "el-button", label: "保存" } }, { onClick: G, eventName: "lineEditDelete", props: { title: "删除", type: "danger", size: "small", elementType: "el-button", label: "删除" } }, { onClick: z, eventName: "restoreEdit", props: { title: "取消编辑", type: "primary", size: "small", elementType: "el-button", label: "取消编辑", code: "restoreEdit" } }] }, pageHeight: 0.45 * window.innerHeight };
11
- function B(e3, t2, o2, l2, a2) {
8
+ }, B = { initSearch: true, dynamicServiceName: "languagePackageDynamicValueServiceImpl", lineEditOptions: { aftersaveIsCreateRow: false, beforeSave: function(e3) {
9
+ e3.SYSTEM_CODE = A.systemCode;
10
+ } }, statementDto: {}, initSearchForm: D, renderRow: {}, isSql: true, operations: { operation: [{ onClick: G, eventName: "lineEditUpdate", props: { title: "修改", isPermission: true, type: "primary", size: "small", elementType: "el-button", label: "修改", code: "lineEditUpdate" } }, { onClick: I, eventName: "lineEditSave", isShow: U, props: { title: "保存", type: "primary", size: "small", elementType: "el-button", label: "保存" } }, { onClick: z, eventName: "lineEditDelete", props: { title: "删除", type: "danger", size: "small", elementType: "el-button", label: "删除" } }, { onClick: $, eventName: "restoreEdit", props: { title: "取消编辑", type: "primary", size: "small", elementType: "el-button", label: "取消编辑", code: "restoreEdit" } }] }, pageHeight: 0.45 * window.innerHeight };
11
+ function I(e3, t2, o2, l2, a2) {
12
12
  P.value.saveRow(a2);
13
13
  }
14
- function G(e3, t2, o2, l2, a2) {
14
+ function z(e3, t2, o2, l2, a2) {
15
15
  h.confirm("确认删除", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
16
16
  w.delete(window.$vueApp.config.globalProperties.baseAPI + "/bs/language-package", { data: [o2.id] }).then((e4) => {
17
17
  C.success({ message: "删除成功", showClose: true }), P.value.refresh();
18
18
  });
19
19
  });
20
20
  }
21
- function z(e3, t2, o2, l2, a2) {
21
+ function $(e3, t2, o2, l2, a2) {
22
22
  P.value.restoreRow(a2);
23
23
  }
24
- function $(e3, t2, o2, l2, a2) {
24
+ function G(e3, t2, o2, l2, a2) {
25
25
  P.value.editRow(a2);
26
26
  }
27
27
  function U(e3, t2, o2, l2, a2) {
@@ -30,15 +30,15 @@ const k = { style: { padding: "0 0 10px 0" } }, S = e({ __name: "i18n-setting-en
30
30
  function V() {
31
31
  P.value.createRow();
32
32
  }
33
- function q() {
33
+ function j() {
34
34
  if (!N.value || 0 === N.value.length) return void C.warning({ message: "请选择要删除的数据", showClose: true });
35
35
  let e3 = N.value.map((e4) => e4.id);
36
36
  w.delete(window.$vueApp.config.globalProperties.baseAPI + "/bs/language-package", { data: e3 }).then((e4) => {
37
37
  C.success({ message: "删除成功", showClose: true }), P.value.refresh();
38
38
  });
39
39
  }
40
- function H() {
41
- const e3 = E.service({ fullscreen: true, lock: true, text: "更新中", background: "rgba(0, 0, 0, 0.7)" });
40
+ function q() {
41
+ const e3 = k.service({ fullscreen: true, lock: true, text: "更新中", background: "rgba(0, 0, 0, 0.7)" });
42
42
  w.delete().then((t2) => {
43
43
  e3.close(), C.success({ message: "更新完毕", showClose: true });
44
44
  }).catch((t2) => {
@@ -50,11 +50,11 @@ const k = { style: { padding: "0 0 10px 0" } }, S = e({ __name: "i18n-setting-en
50
50
  P.value.refresh();
51
51
  });
52
52
  }), o(() => {
53
- }), S2({}), (e3, t2) => {
53
+ }), E2({}), (e3, t2) => {
54
54
  const o2 = a("el-button"), l2 = a("super-grid"), w2 = n("loading");
55
- return s(), i(r, null, [p("div", k, [u((s(), d(o2, { disabled: D.value, icon: m(v), type: "primary", onClick: V }, { default: g(() => t2[0] || (t2[0] = [f(" 新建 ")])), _: 1 }, 8, ["disabled", "icon"])), [[w2, D.value]]), u((s(), d(o2, { disabled: D.value, icon: m(y), type: "danger", onClick: q }, { default: g(() => t2[1] || (t2[1] = [f(" 删除 ")])), _: 1 }, 8, ["disabled", "icon"])), [[w2, D.value]]), u((s(), d(o2, { type: "default", align: "left", class: "button--default", icon: m(b), onClick: H }, { default: g(() => t2[2] || (t2[2] = [f(" 更新缓存 ")])), _: 1 }, 8, ["icon"])), [[w2, D.value]])]), c(l2, { style: { width: "100%" }, ref_key: "grid", ref: P, url: m(A) + "/bs/language-package/list", options: R, code: "BS_LANGUAGE_PACKAGE_PAGE_DESIGN", onSelect: I, onSelectAll: I }, null, 8, ["url"])], 64);
55
+ return s(), i(r, null, [p("div", S, [u((s(), d(o2, { disabled: x.value, icon: m(v), type: "primary", onClick: V }, { default: g(() => t2[0] || (t2[0] = [f(" 新建 ")])), _: 1 }, 8, ["disabled", "icon"])), [[w2, x.value]]), u((s(), d(o2, { disabled: x.value, icon: m(y), type: "danger", onClick: j }, { default: g(() => t2[1] || (t2[1] = [f(" 删除 ")])), _: 1 }, 8, ["disabled", "icon"])), [[w2, x.value]]), u((s(), d(o2, { type: "default", align: "left", class: "button--default", icon: m(b), onClick: q }, { default: g(() => t2[2] || (t2[2] = [f(" 更新缓存 ")])), _: 1 }, 8, ["icon"])), [[w2, x.value]])]), c(l2, { style: { width: "100%" }, ref_key: "grid", ref: P, url: m(_) + "/bs/language-package/list", options: B, code: "BS_LANGUAGE_PACKAGE", onSelect: R, onSelectAll: R }, null, 8, ["url"])], 64);
56
56
  };
57
57
  } });
58
58
  export {
59
- S as default
59
+ E as default
60
60
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./i18n-setting-page.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = t(e, [["__scopeId", "data-v-fa4b0c06"]]);
4
+ const p = t(e, [["__scopeId", "data-v-68ce085a"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,94 +1,94 @@
1
- import { defineComponent as e, ref as l, reactive as a, computed as t, resolveComponent as u, resolveDirective as o, createElementBlock as n, openBlock as s, Fragment as r, createElementVNode as i, withDirectives as d, createBlock as p, createCommentVNode as v, createVNode as c, unref as g, withCtx as m, createTextVNode as f, renderList as y, toDisplayString as C } from "vue";
2
- import { Plus as h, Reading as w, Refresh as b } from "@element-plus/icons-vue";
1
+ import { defineComponent as e, ref as l, reactive as a, computed as t, resolveComponent as u, resolveDirective as n, createElementBlock as o, openBlock as s, Fragment as i, createElementVNode as r, withDirectives as d, createBlock as p, createCommentVNode as c, createVNode as g, unref as v, withCtx as m, createTextVNode as f, renderList as y, toDisplayString as h } from "vue";
2
+ import { Plus as C, Reading as b, Refresh as w } from "@element-plus/icons-vue";
3
3
  import { ElMessageBox as D, ElMessage as E } from "element-plus";
4
4
  import k from "agilebuilder-ui/src/utils/request";
5
5
  import V from "./translate-error-dialog.vue.js";
6
- const x = { style: { padding: "0 0 10px 0" }, class: "amb-design-attr-item-inline" }, _ = { key: 1 }, A = { key: 1 }, R = { key: 1 }, O = { class: "dialog-footer" }, $ = e({ __name: "i18n-setting-page", props: { pageDesign: { type: Object, default: "" } }, emits: ["close"], setup(e2, { expose: $2, emit: K }) {
7
- const U = e2;
6
+ const _ = { style: { padding: "0 0 10px 0" }, class: "amb-design-attr-item-inline" }, x = { key: 1 }, A = { key: 1 }, R = { class: "dialog-footer" }, O = e({ __name: "i18n-setting-page", props: { pageDesign: { type: Object, default: "" } }, emits: ["close"], setup(e2, { expose: O2, emit: K }) {
7
+ const $ = e2;
8
8
  l(false);
9
- const T = l(false), z = l(0.5 * window.innerHeight), M = l([]), L = l([]), P = l(-1), B = l(""), I = l([]), q = l(false), S = l([]), j = l(false), F = l({ CODE: "", REMARK: "" }), N = a({ CODE: [{ required: true, message: "请输入国际化编码", trigger: "blur" }] }), H = () => {
9
+ const T = l(false), U = l(0.5 * window.innerHeight), M = l([]), z = l([]), P = l(-1), B = l(""), I = l([]), L = l(false), q = l([]), S = l(false), j = l({ CODE: "", REMARK: "" }), F = a({ CODE: [{ required: true, message: "请输入国际化编码", trigger: "blur" }] }), N = () => {
10
10
  D.confirm("确定要翻译吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
11
11
  T.value = true;
12
12
  let e3 = [];
13
13
  I.value && I.value.length > 0 ? I.value.forEach((l2) => {
14
14
  e3.push(l2.CODE);
15
- }) : e3 = [...U.pageDesign.i18nKeys], k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-package/translate/by-codes/${U.pageDesign.systemCode}`, e3).then((e4) => {
16
- e4 ? (S.value = e4, q.value = true, E.error({ message: "翻译错误,请检查翻译结果后自行保存", showClose: true })) : Q(), T.value = false;
15
+ }) : e3 = [...$.pageDesign.i18nKeys], k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-package/translate/by-codes/${$.pageDesign.systemCode}`, e3).then((e4) => {
16
+ e4 ? (q.value = e4, L.value = true, E.error({ message: "翻译错误,请检查翻译结果后自行保存", showClose: true })) : J(), T.value = false;
17
17
  }).catch((e4) => {
18
18
  T.value = false;
19
19
  });
20
20
  });
21
- }, G = () => {
21
+ }, H = () => {
22
22
  D.confirm("确定要更新缓存吗?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
23
- T.value = true, k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-package/refresh-cache/by-codes/${U.pageDesign.systemCode}`, U.pageDesign.i18nKeys).then(() => {
23
+ T.value = true, k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-package/refresh-cache/by-codes/${$.pageDesign.systemCode}`, $.pageDesign.i18nKeys).then(() => {
24
24
  T.value = false, E.success("更新成功");
25
25
  }).catch(() => {
26
26
  T.value = false, E.error("更新失败");
27
27
  });
28
28
  });
29
- }, J = t(() => M.value.filter((e3) => !B.value || e3.CODE.toLowerCase().includes(B.value.toLowerCase()))), Q = () => {
30
- k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-value/by-language-codes/${U.pageDesign.systemCode}`, U.pageDesign.i18nKeys).then((e3) => {
31
- W(e3);
29
+ }, G = t(() => M.value.filter((e3) => !B.value || e3.CODE.toLowerCase().includes(B.value.toLowerCase()))), J = () => {
30
+ k.post(window.$vueApp.config.globalProperties.baseAPI + `/bs/language-value/by-language-codes/${$.pageDesign.systemCode}`, $.pageDesign.i18nKeys).then((e3) => {
31
+ Q(e3);
32
32
  }).catch((e3) => {
33
33
  E.error("加载失败");
34
34
  });
35
- }, W = (e3) => {
36
- if (M.value = [], L.value = e3.languages, L.value && L.value.length > 0) if (L.value.forEach((e4) => {
37
- N[e4.value] = [{ required: true, message: `请输入${e4.name}`, trigger: "blur" }];
35
+ }, Q = (e3) => {
36
+ if (M.value = [], z.value = e3.languages, z.value && z.value.length > 0) if (z.value.forEach((e4) => {
37
+ F[e4.value] = [{ required: true, message: `请输入${e4.name}`, trigger: "blur" }];
38
38
  }), e3.data && e3.data.length > 0) {
39
39
  const l2 = {};
40
40
  e3.data.forEach((e4) => {
41
41
  l2[e4.CODE] = e4;
42
- }), U.pageDesign.i18nKeys.forEach((e4) => {
42
+ }), $.pageDesign.i18nKeys.forEach((e4) => {
43
43
  l2[e4] ? M.value.push(l2[e4]) : M.value.push({ CODE: e4 });
44
44
  });
45
- } else U.pageDesign.i18nKeys.forEach((e4) => {
45
+ } else $.pageDesign.i18nKeys.forEach((e4) => {
46
46
  M.value.push({ CODE: e4 });
47
47
  });
48
48
  };
49
- Q();
50
- const X = (e3) => {
49
+ J();
50
+ const W = (e3) => {
51
51
  const l2 = {};
52
- for (let a3 = 0; a3 < L.value.length; a3++) {
53
- const t2 = L.value[a3];
52
+ for (let a3 = 0; a3 < z.value.length; a3++) {
53
+ const t2 = z.value[a3];
54
54
  if (!e3[t2.value]) return void E.warning(`${t2.name}不能为空`);
55
55
  l2[t2.value] = e3[t2.value];
56
56
  }
57
- const a2 = { code: e3.CODE, remark: e3.REMARK, systemCode: U.pageDesign.systemCode, languageValue: l2 };
57
+ const a2 = { code: e3.CODE, remark: e3.REMARK, systemCode: $.pageDesign.systemCode, languageValue: l2 };
58
58
  return k.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/language-value/desiger-save", a2);
59
- }, Y = (e3) => {
59
+ }, X = (e3) => {
60
60
  I.value = e3;
61
+ }, Y = () => {
62
+ S.value = true;
61
63
  }, Z = () => {
62
- j.value = true;
63
- }, ee = () => {
64
- X(F.value).then(() => {
65
- E.success("保存成功"), j.value = false, F.value.CODE && U.pageDesign.i18nKeys.push(F.value.CODE), F.value = {}, Q();
64
+ W(j.value).then(() => {
65
+ E.success("保存成功"), S.value = false, j.value.CODE && $.pageDesign.i18nKeys.push(j.value.CODE), j.value = {}, J();
66
66
  }).catch(() => {
67
67
  E.error("保存失败");
68
68
  });
69
+ }, ee = () => {
70
+ S.value = false;
69
71
  }, le = () => {
70
- j.value = false;
71
- }, ae = () => {
72
- q.value = false, Q();
72
+ L.value = false, J();
73
73
  };
74
- return $2({}), (l2, a2) => {
75
- const t2 = u("el-button"), D2 = u("el-input"), k2 = u("el-table-column"), $3 = u("el-table"), K2 = u("el-form-item"), I2 = u("el-form"), W2 = u("el-dialog"), te = o("loading");
76
- return s(), n(r, null, [i("div", x, [d((s(), p(t2, { align: "left", type: "primary", icon: g(h), onClick: Z }, { default: m(() => a2[4] || (a2[4] = [f(" 新增 ")])), _: 1 }, 8, ["icon"])), [[te, T.value]]), d((s(), p(t2, { align: "left", type: "primary", icon: g(w), onClick: H }, { default: m(() => a2[5] || (a2[5] = [f(" 自动翻译 ")])), _: 1 }, 8, ["icon"])), [[te, T.value]]), d((s(), p(t2, { type: "default", align: "left", class: "button--default", icon: g(b), onClick: G }, { default: m(() => a2[6] || (a2[6] = [f(" 更新缓存 ")])), _: 1 }, 8, ["icon"])), [[te, T.value]]), d((s(), p(t2, { type: "default", align: "left", class: "button--default", icon: g(b), onClick: Q }, { default: m(() => a2[7] || (a2[7] = [f(" 刷新 ")])), _: 1 }, 8, ["icon"])), [[te, T.value]]), c(D2, { style: { width: "200px", "margin-left": "20px" }, modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), clearable: "", placeholder: "筛选" }, null, 8, ["modelValue"])]), d((s(), p($3, { data: J.value, border: "", stripe: "", onSelectionChange: Y, style: { width: "100%" }, height: z.value, size: "small" }, { default: m(() => [c(k2, { type: "selection", width: "55", align: "center" }), c(k2, { type: "index", width: "50", align: "center", label: "序号" }), c(k2, { prop: "CODE", label: "国际化编码", width: "180", align: "center" }), (s(true), n(r, null, y(L.value, (e3) => (s(), p(k2, { prop: e3.value, label: e3.name, align: "center" }, { default: m((l3) => [l3.row[e3.value] ? (s(), n(r, { key: 0 }, [P.value === l3.$index ? (s(), p(D2, { key: 0, modelValue: l3.row[e3.value], "onUpdate:modelValue": (a3) => l3.row[e3.value] = a3, size: "small", style: { "text-align": "center" }, class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), n("span", _, C(l3.row[e3.value]), 1))], 64)) : l3.row[e3.value.toLowerCase()] ? (s(), n(r, { key: 1 }, [P.value === l3.$index ? (s(), p(D2, { key: 0, modelValue: l3.row[e3.value.toLowerCase()], "onUpdate:modelValue": (a3) => l3.row[e3.value.toLowerCase()] = a3, size: "small", style: { "text-align": "center" }, class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), n("span", A, C(l3.row[e3.value.toLowerCase()]), 1))], 64)) : v("", true)]), _: 2 }, 1032, ["prop", "label"]))), 256)), c(k2, { prop: "REMARK", label: "备注", width: "180", align: "center" }, { default: m((e3) => [P.value === e3.$index ? (s(), p(D2, { key: 0, modelValue: e3.row.REMARK, "onUpdate:modelValue": (l3) => e3.row.REMARK = l3, size: "small", class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), n("span", R, C(e3.row.REMARK), 1))]), _: 1 }), c(k2, { prop: "TRANSLATED", label: "已翻译", width: "180", align: "center" }, { default: m((e3) => [f(C(true === e3.row.TRANSLATED ? "是" : "否"), 1)]), _: 1 }), c(k2, { align: "center", label: "操作" }, { default: m((e3) => [-1 === P.value || P.value !== e3.$index ? (s(), n(r, { key: 0 }, [c(t2, { type: "default", size: "small", onClick: (l3) => {
74
+ return O2({}), (l2, a2) => {
75
+ const t2 = u("el-button"), D2 = u("el-input"), k2 = u("el-table-column"), O3 = u("el-table"), K2 = u("el-form-item"), I2 = u("el-form"), Q2 = u("el-dialog"), ae = n("loading");
76
+ return s(), o(i, null, [r("div", _, [d((s(), p(t2, { align: "left", type: "primary", icon: v(C), onClick: Y }, { default: m(() => a2[4] || (a2[4] = [f(" 新增 ")])), _: 1 }, 8, ["icon"])), [[ae, T.value]]), d((s(), p(t2, { align: "left", type: "primary", icon: v(b), onClick: N }, { default: m(() => a2[5] || (a2[5] = [f(" 自动翻译 ")])), _: 1 }, 8, ["icon"])), [[ae, T.value]]), d((s(), p(t2, { type: "default", align: "left", class: "button--default", icon: v(w), onClick: H }, { default: m(() => a2[6] || (a2[6] = [f(" 更新缓存 ")])), _: 1 }, 8, ["icon"])), [[ae, T.value]]), d((s(), p(t2, { type: "default", align: "left", class: "button--default", icon: v(w), onClick: J }, { default: m(() => a2[7] || (a2[7] = [f(" 刷新 ")])), _: 1 }, 8, ["icon"])), [[ae, T.value]]), g(D2, { style: { width: "200px", "margin-left": "20px" }, modelValue: B.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => B.value = e3), clearable: "", placeholder: "筛选" }, null, 8, ["modelValue"])]), d((s(), p(O3, { data: G.value, border: "", stripe: "", onSelectionChange: X, style: { width: "100%" }, height: U.value, size: "small" }, { default: m(() => [g(k2, { type: "selection", width: "55", align: "center" }), g(k2, { type: "index", width: "50", align: "center", label: "序号" }), g(k2, { prop: "CODE", label: "国际化编码", width: "180", align: "center" }), (s(true), o(i, null, y(z.value, (e3) => (s(), p(k2, { prop: e3.value, label: e3.name, align: "center" }, { default: m((l3) => [P.value === l3.$index ? (s(), p(D2, { key: 0, modelValue: l3.row[e3.value], "onUpdate:modelValue": (a3) => l3.row[e3.value] = a3, size: "small", style: { "text-align": "center" }, class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), o("span", x, h(l3.row[e3.value]), 1))]), _: 2 }, 1032, ["prop", "label"]))), 256)), g(k2, { prop: "REMARK", label: "备注", width: "180", align: "center" }, { default: m((e3) => [P.value === e3.$index ? (s(), p(D2, { key: 0, modelValue: e3.row.REMARK, "onUpdate:modelValue": (l3) => e3.row.REMARK = l3, size: "small", class: "centered-input" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (s(), o("span", A, h(e3.row.REMARK), 1))]), _: 1 }), g(k2, { prop: "TRANSLATED", label: "已翻译", width: "180", align: "center" }, { default: m((e3) => [f(h(true === e3.row.TRANSLATED ? "是" : "否"), 1)]), _: 1 }), g(k2, { align: "center", label: "操作" }, { default: m((e3) => [-1 === P.value || P.value !== e3.$index ? (s(), o(i, { key: 0 }, [g(t2, { type: "default", size: "small", onClick: (l3) => {
77
77
  return a3 = e3.$index, e3.row, void (-1 === P.value ? P.value = a3 : E.warning("请先保存或取消当前编辑行"));
78
78
  var a3;
79
- } }, { default: m(() => a2[8] || (a2[8] = [f(" 修改 ")])), _: 2 }, 1032, ["onClick"]), c(t2, { size: "small", type: "danger", onClick: (l3) => {
80
- return e3.$index, a3 = e3.row, U.pageDesign.i18nKeys = U.pageDesign.i18nKeys.filter((e4) => e4 !== a3.CODE), M.value = M.value.filter((e4) => e4.CODE !== a3.CODE), void E.success("删除成功");
79
+ } }, { default: m(() => a2[8] || (a2[8] = [f(" 修改 ")])), _: 2 }, 1032, ["onClick"]), g(t2, { size: "small", type: "danger", onClick: (l3) => {
80
+ return e3.$index, a3 = e3.row, $.pageDesign.i18nKeys = $.pageDesign.i18nKeys.filter((e4) => e4 !== a3.CODE), M.value = M.value.filter((e4) => e4.CODE !== a3.CODE), void E.success("删除成功");
81
81
  var a3;
82
- } }, { default: m(() => a2[9] || (a2[9] = [f(" 删除 ")])), _: 2 }, 1032, ["onClick"])], 64)) : v("", true), P.value === e3.$index ? (s(), n(r, { key: 1 }, [c(t2, { size: "small", type: "primary", onClick: (l3) => {
83
- return e3.$index, a3 = e3.row, void X(a3).then(() => {
82
+ } }, { default: m(() => a2[9] || (a2[9] = [f(" 删除 ")])), _: 2 }, 1032, ["onClick"])], 64)) : c("", true), P.value === e3.$index ? (s(), o(i, { key: 1 }, [g(t2, { size: "small", type: "primary", onClick: (l3) => {
83
+ return e3.$index, a3 = e3.row, void W(a3).then(() => {
84
84
  E.success("保存成功"), P.value = -1;
85
85
  }).catch(() => {
86
86
  E.error("保存失败");
87
87
  });
88
88
  var a3;
89
- } }, { default: m(() => a2[10] || (a2[10] = [f(" 保存 ")])), _: 2 }, 1032, ["onClick"]), c(t2, { type: "default", size: "small", onClick: (l3) => (e3.$index, e3.row, void (P.value = -1)) }, { default: m(() => a2[11] || (a2[11] = [f(" 取消编辑 ")])), _: 2 }, 1032, ["onClick"])], 64)) : v("", true)]), _: 1 })]), _: 1 }, 8, ["data", "height"])), [[te, T.value]]), i("span", null, "总条数:" + C(J.value.length), 1), q.value ? (s(), p(V, { key: 0, systemCode: e2.pageDesign.systemCode, languages: L.value, errorTranslateData: S.value, onClose: ae }, null, 8, ["systemCode", "languages", "errorTranslateData"])) : v("", true), j.value ? (s(), p(W2, { key: 1, modelValue: j.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => j.value = e3), width: "500", title: "新增", "append-to-body": "" }, { footer: m(() => [i("div", O, [c(t2, { type: "default", onClick: le }, { default: m(() => a2[12] || (a2[12] = [f("取消")])), _: 1 }), c(t2, { type: "primary", onClick: ee }, { default: m(() => a2[13] || (a2[13] = [f(" 保存 ")])), _: 1 })])]), default: m(() => [c(I2, { ref: "addFormRef", style: { "max-width": "600px" }, model: F.value, rules: N, "label-width": "auto", class: "demo-addForm", size: "small", "status-icon": "" }, { default: m(() => [c(K2, { label: "编码", prop: "CODE" }, { default: m(() => [c(D2, { modelValue: F.value.CODE, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => F.value.CODE = e3) }, null, 8, ["modelValue"])]), _: 1 }), (s(true), n(r, null, y(L.value, (e3) => (s(), p(K2, { prop: e3.value, label: e3.name }, { default: m(() => [c(D2, { modelValue: F.value[e3.value], "onUpdate:modelValue": (l3) => F.value[e3.value] = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["prop", "label"]))), 256)), c(K2, { label: "备注", prop: "REMARK" }, { default: m(() => [c(D2, { modelValue: F.value.REMARK, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => F.value.REMARK = e3) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])) : v("", true)], 64);
89
+ } }, { default: m(() => a2[10] || (a2[10] = [f(" 保存 ")])), _: 2 }, 1032, ["onClick"]), g(t2, { type: "default", size: "small", onClick: (l3) => (e3.$index, e3.row, void (P.value = -1)) }, { default: m(() => a2[11] || (a2[11] = [f(" 取消编辑 ")])), _: 2 }, 1032, ["onClick"])], 64)) : c("", true)]), _: 1 })]), _: 1 }, 8, ["data", "height"])), [[ae, T.value]]), r("span", null, "总条数:" + h(G.value.length), 1), L.value ? (s(), p(V, { key: 0, systemCode: e2.pageDesign.systemCode, languages: z.value, errorTranslateData: q.value, onClose: le }, null, 8, ["systemCode", "languages", "errorTranslateData"])) : c("", true), S.value ? (s(), p(Q2, { key: 1, modelValue: S.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => S.value = e3), width: "500", title: "新增", "append-to-body": "" }, { footer: m(() => [r("div", R, [g(t2, { type: "default", onClick: ee }, { default: m(() => a2[12] || (a2[12] = [f("取消")])), _: 1 }), g(t2, { type: "primary", onClick: Z }, { default: m(() => a2[13] || (a2[13] = [f(" 保存 ")])), _: 1 })])]), default: m(() => [g(I2, { ref: "addFormRef", style: { "max-width": "600px" }, model: j.value, rules: F, "label-width": "auto", class: "demo-addForm", size: "small", "status-icon": "" }, { default: m(() => [g(K2, { label: "编码", prop: "CODE" }, { default: m(() => [g(D2, { modelValue: j.value.CODE, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => j.value.CODE = e3) }, null, 8, ["modelValue"])]), _: 1 }), (s(true), o(i, null, y(z.value, (e3) => (s(), p(K2, { prop: e3.value, label: e3.name }, { default: m(() => [g(D2, { modelValue: j.value[e3.value], "onUpdate:modelValue": (l3) => j.value[e3.value] = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["prop", "label"]))), 256)), g(K2, { label: "备注", prop: "REMARK" }, { default: m(() => [g(D2, { modelValue: j.value.REMARK, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => j.value.REMARK = e3) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])) : c("", true)], 64);
90
90
  };
91
91
  } });
92
92
  export {
93
- $ as default
93
+ O as default
94
94
  };
@@ -17,7 +17,7 @@ const p = e({ __name: "i18n-setting", props: { pageDesign: { type: Object, defau
17
17
  c.value = true;
18
18
  } }), (l2, t2) => {
19
19
  const u2 = a("el-tab-pane"), p3 = a("el-tabs"), m2 = a("el-dialog");
20
- return n(), o(m2, { modelValue: c.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => c.value = e3), "close-on-press-escape": "", "append-to-body": "", ref_key: "dialogRef", ref: h, "destroy-on-close": "", style: { height: "80vh" }, width: "70%", title: "国际化配置", onOpened: y, onClose: C }, { default: s(() => [d(p3, { modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3), class: "demo-tabs", onTabClick: v }, { default: s(() => [d(u2, { label: "当前页面", name: "page", style: { height: "60vh" } }, { default: s(() => [d(g, { "page-design": e2.pageDesign }, null, 8, ["page-design"])]), _: 1 }), d(u2, { label: "所有可用", name: "enabled", style: { height: "65vh" } }, { default: s(() => [d(i, { "system-code": e2.pageDesign.systemCode, dialogContentRef: b.value }, null, 8, ["system-code", "dialogContentRef"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]);
20
+ return n(), o(m2, { modelValue: c.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => c.value = e3), "close-on-press-escape": "", "append-to-body": "", ref_key: "dialogRef", ref: h, "destroy-on-close": "", style: { height: "75vh" }, width: "70%", title: "国际化配置", onOpened: y, onClose: C }, { default: s(() => [d(p3, { modelValue: r.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r.value = e3), class: "demo-tabs", onTabClick: v }, { default: s(() => [d(u2, { label: "当前页面", name: "page", style: { height: "60vh" } }, { default: s(() => [d(g, { "page-design": e2.pageDesign }, null, 8, ["page-design"])]), _: 1 }), d(u2, { label: "所有可用", name: "enabled", style: { height: "60vh" } }, { default: s(() => [d(i, { "system-code": e2.pageDesign.systemCode, dialogContentRef: b.value }, null, 8, ["system-code", "dialogContentRef"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]);
21
21
  };
22
22
  } });
23
23
  export {
package/dist/es/style.css CHANGED
@@ -859,7 +859,7 @@ fieldset.amb-design-item-selected {
859
859
  min-width: 120px !important;
860
860
  }
861
861
 
862
- [data-v-fa4b0c06] .centered-input .el-input__inner {
862
+ [data-v-68ce085a] .centered-input .el-input__inner {
863
863
  text-align: center;
864
864
  }
865
865
 
@@ -13164,7 +13164,7 @@ fieldset.amb-design-item-selected {
13164
13164
  background-color: var(--el-fill-color-blank);
13165
13165
  }
13166
13166
 
13167
- .collapse-item-content[data-v-6a93447a] {
13167
+ .collapse-item-content[data-v-9f576183] {
13168
13168
  padding: 8px 0px 0px 0px;
13169
13169
  }
13170
13170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.3.30-design1",
3
+ "version": "2.3.30-tmp1-design2",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -29,7 +29,7 @@
29
29
  "@vitejs/plugin-vue": "^5.0.4",
30
30
  "@vueuse/core": "^10.9.0",
31
31
  "agilebuilder-private-libs": "1.0.26",
32
- "agilebuilder-ui": "1.1.80",
32
+ "agilebuilder-ui": "1.1.81-tmp1",
33
33
  "echarts": "^5.5.0",
34
34
  "element-plus": "^2.6.1",
35
35
  "font-awesome": "^4.7.0",
@@ -40,8 +40,8 @@
40
40
  "pinia": "^2.1.7",
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
- "service-flow-designer": "2.3.29-flow1",
44
- "super-page-runtime": "2.3.29",
43
+ "service-flow-designer": "2.3.30-tmp1-flow1",
44
+ "super-page-runtime": "2.3.30-tmp1",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",