super-page-designer 2.1.55 → 2.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +94 -5
- package/dist/es/components/design/utils/chart-design-util.js +0 -1
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -0
- package/dist/es/components/design/utils/form-design-util.js +10 -0
- package/dist/es/components/design/utils/page-explore-util.js +0 -1
- package/dist/es/components/design/utils/page-i18n-util.d.ts +1 -1
- package/dist/es/components/design/utils/page-i18n-util.js +18 -4
- package/dist/es/components/design/utils/page-table-util.js +2 -3
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +50 -43
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +26 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +213 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +9 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +17 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +26 -15
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -14
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +738 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -738
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +12 -0
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +45 -15
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +17 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +12 -2
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +11 -28
- package/dist/es/components/design/views/assemblys/object-design.vue.js +14 -13
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +3 -3
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +5 -0
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +53 -14
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +3 -0
- package/dist/es/style.css +30 -30
- package/package.json +6 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode,
|
|
2
|
-
import
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
|
+
import "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "@element-plus/icons-vue";
|
|
4
4
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import "../common/dimension-input.vue.js";
|
|
@@ -27,8 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
setup(__props) {
|
|
28
28
|
const openCollapseItems = ref([]);
|
|
29
29
|
return (_ctx, _cache) => {
|
|
30
|
-
const _component_el_option = resolveComponent("el-option");
|
|
31
|
-
const _component_el_select = resolveComponent("el-select");
|
|
32
30
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
33
31
|
const _component_el_input = resolveComponent("el-input");
|
|
34
32
|
const _component_el_radio = resolveComponent("el-radio");
|
|
@@ -44,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
42
|
default: withCtx(() => [
|
|
45
43
|
createVNode(_component_el_collapse, {
|
|
46
44
|
modelValue: openCollapseItems.value,
|
|
47
|
-
"onUpdate:modelValue": _cache[
|
|
45
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => openCollapseItems.value = $event),
|
|
48
46
|
style: { "margin-top": "6px" }
|
|
49
47
|
}, {
|
|
50
48
|
default: withCtx(() => [
|
|
@@ -60,22 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
60
58
|
class: "amb-design-attr-item"
|
|
61
59
|
}, {
|
|
62
60
|
default: withCtx(() => [
|
|
63
|
-
|
|
64
|
-
modelValue: __props.configure.name,
|
|
65
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.configure.name = $event),
|
|
66
|
-
placeholder: "请选择"
|
|
67
|
-
}, {
|
|
68
|
-
default: withCtx(() => [
|
|
69
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getFormComponentOptions)(), (item) => {
|
|
70
|
-
return openBlock(), createBlock(_component_el_option, {
|
|
71
|
-
key: item.name,
|
|
72
|
-
label: item.label,
|
|
73
|
-
value: item.name
|
|
74
|
-
}, null, 8, ["label", "value"]);
|
|
75
|
-
}), 128))
|
|
76
|
-
]),
|
|
77
|
-
_: 1
|
|
78
|
-
}, 8, ["modelValue"])
|
|
61
|
+
createTextVNode(toDisplayString(__props.configure.label) + "(" + toDisplayString(__props.configure.name) + ") ", 1)
|
|
79
62
|
]),
|
|
80
63
|
_: 1
|
|
81
64
|
}),
|
|
@@ -86,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
86
69
|
default: withCtx(() => [
|
|
87
70
|
createVNode(_component_el_input, {
|
|
88
71
|
modelValue: __props.configure.props.base.name,
|
|
89
|
-
"onUpdate:modelValue": _cache[
|
|
72
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.configure.props.base.name = $event),
|
|
90
73
|
placeholder: "请输入"
|
|
91
74
|
}, null, 8, ["modelValue"])
|
|
92
75
|
]),
|
|
@@ -99,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
82
|
default: withCtx(() => [
|
|
100
83
|
createVNode(_component_el_input, {
|
|
101
84
|
modelValue: __props.configure.props.base.prop,
|
|
102
|
-
"onUpdate:modelValue": _cache[
|
|
85
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.configure.props.base.prop = $event),
|
|
103
86
|
placeholder: "请输入"
|
|
104
87
|
}, null, 8, ["modelValue"])
|
|
105
88
|
]),
|
|
@@ -112,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
95
|
default: withCtx(() => [
|
|
113
96
|
createVNode(_sfc_main$1, {
|
|
114
97
|
modelValue: __props.configure.props.base.title,
|
|
115
|
-
"onUpdate:modelValue": _cache[
|
|
98
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.base.title = $event)
|
|
116
99
|
}, null, 8, ["modelValue"])
|
|
117
100
|
]),
|
|
118
101
|
_: 1
|
|
@@ -124,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
124
107
|
default: withCtx(() => [
|
|
125
108
|
createVNode(_component_el_input, {
|
|
126
109
|
modelValue: __props.configure.props.base.titleWidth,
|
|
127
|
-
"onUpdate:modelValue": _cache[
|
|
110
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
128
111
|
placeholder: "请输入"
|
|
129
112
|
}, null, 8, ["modelValue"])
|
|
130
113
|
]),
|
|
@@ -137,7 +120,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
120
|
default: withCtx(() => [
|
|
138
121
|
createVNode(_component_el_radio_group, {
|
|
139
122
|
modelValue: __props.configure.props.base.tittleShow,
|
|
140
|
-
"onUpdate:modelValue": _cache[
|
|
123
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.tittleShow = $event),
|
|
141
124
|
class: "ml-4"
|
|
142
125
|
}, {
|
|
143
126
|
default: withCtx(() => [
|
|
@@ -166,7 +149,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
166
149
|
default: withCtx(() => [
|
|
167
150
|
createVNode(_component_el_radio_group, {
|
|
168
151
|
modelValue: __props.configure.props.base.state,
|
|
169
|
-
"onUpdate:modelValue": _cache[
|
|
152
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.state = $event),
|
|
170
153
|
class: "ml-4"
|
|
171
154
|
}, {
|
|
172
155
|
default: withCtx(() => [
|
|
@@ -226,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
209
|
default: withCtx(() => [
|
|
227
210
|
createVNode(_component_el_checkbox, {
|
|
228
211
|
modelValue: __props.configure.props.verification.required,
|
|
229
|
-
"onUpdate:modelValue": _cache[
|
|
212
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.verification.required = $event),
|
|
230
213
|
label: "必填"
|
|
231
214
|
}, null, 8, ["modelValue"])
|
|
232
215
|
]),
|
|
@@ -96,7 +96,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
96
|
const bindEvents = props.configure.events.filter((event) => {
|
|
97
97
|
return !event.isStandard && event.jsContent || event.isStandard && event.eventName;
|
|
98
98
|
});
|
|
99
|
-
console.log("bindEvents=========", bindEvents);
|
|
100
99
|
if (!props.configure.runtime) {
|
|
101
100
|
props.configure.runtime = {};
|
|
102
101
|
}
|
|
@@ -192,19 +191,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
192
191
|
});
|
|
193
192
|
}
|
|
194
193
|
if (props.pageDesign.props) {
|
|
195
|
-
watch(
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
if (
|
|
199
|
-
requiredRules.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
194
|
+
watch(
|
|
195
|
+
() => props.pageDesign.props.activeWorkflow,
|
|
196
|
+
(newValue, oldValue) => {
|
|
197
|
+
if (newValue) {
|
|
198
|
+
const requiredRules = props.configure.props && props.configure.props.rules ? props.configure.props.rules.filter((item) => item.required) : null;
|
|
199
|
+
if (requiredRules && requiredRules.length > 0) {
|
|
200
|
+
requiredRules.forEach((item) => {
|
|
201
|
+
item.required = false;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
if (props.configure.props && props.configure.props.verification && props.configure.props.verification.required) {
|
|
205
|
+
props.configure.props.verification.required = false;
|
|
206
|
+
}
|
|
205
207
|
}
|
|
206
208
|
}
|
|
207
|
-
|
|
209
|
+
);
|
|
208
210
|
}
|
|
209
211
|
const thisRef = ref(null);
|
|
210
212
|
const designStyle = ref({});
|
|
@@ -279,7 +281,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
281
|
};
|
|
280
282
|
}
|
|
281
283
|
designClass.value = tempStyle[dimentions + "_class"];
|
|
282
|
-
console.log("outerStyle1", styleConf, tempStyle);
|
|
283
284
|
return style;
|
|
284
285
|
});
|
|
285
286
|
watch(props.selectWidget, (newValue) => {
|
|
@@ -87,13 +87,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
}
|
|
88
88
|
function changeFieldName(index, row, propDbName) {
|
|
89
89
|
const item = props.fieldMap[propDbName];
|
|
90
|
-
if (item.type === "date") {
|
|
90
|
+
if (item && item.type === "date") {
|
|
91
91
|
tableData.value[index].isDate = true;
|
|
92
92
|
} else {
|
|
93
93
|
tableData.value[index].isDate = false;
|
|
94
94
|
}
|
|
95
|
-
row.propName = item.name;
|
|
96
|
-
row.dataType = item.dataType;
|
|
95
|
+
row.propName = item ? item.name : null;
|
|
96
|
+
row.dataType = item ? item.dataType : null;
|
|
97
97
|
operationArr.value[index] = getOperators(item);
|
|
98
98
|
}
|
|
99
99
|
function savebuttonSetting() {
|
|
@@ -343,6 +343,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
343
343
|
for (let item of items) {
|
|
344
344
|
pageDesign.items.push(item);
|
|
345
345
|
}
|
|
346
|
+
if (items) {
|
|
347
|
+
for (let item of items) {
|
|
348
|
+
setPagetemI18nKey(item, props.pageDesign);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
346
351
|
pageDesign.pageType = model.pageType;
|
|
347
352
|
}
|
|
348
353
|
function generateListOperateColumn(gridConf) {
|
|
@@ -8,13 +8,14 @@ import { useDraggable } from "vue-draggable-plus";
|
|
|
8
8
|
const _hoisted_1 = { key: 0 };
|
|
9
9
|
const _hoisted_2 = { key: 0 };
|
|
10
10
|
const _hoisted_3 = { key: 0 };
|
|
11
|
-
const _hoisted_4 = {
|
|
12
|
-
const _hoisted_5 = {
|
|
13
|
-
const _hoisted_6 = {
|
|
11
|
+
const _hoisted_4 = { style: { "display": "flex" } };
|
|
12
|
+
const _hoisted_5 = { key: 0 };
|
|
13
|
+
const _hoisted_6 = { style: { "display": "flex" } };
|
|
14
14
|
const _hoisted_7 = { key: 0 };
|
|
15
|
-
const _hoisted_8 =
|
|
16
|
-
const _hoisted_9 =
|
|
15
|
+
const _hoisted_8 = { key: 0 };
|
|
16
|
+
const _hoisted_9 = ["title"];
|
|
17
17
|
const _hoisted_10 = { key: 0 };
|
|
18
|
+
const _hoisted_11 = { key: 0 };
|
|
18
19
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
19
20
|
__name: "quick-add-fields",
|
|
20
21
|
props: {
|
|
@@ -26,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
setup(__props, { expose: __expose }) {
|
|
27
28
|
const props = __props;
|
|
28
29
|
const allEditState = ref(null);
|
|
30
|
+
const allExporEditState = ref(null);
|
|
29
31
|
ref([]);
|
|
30
32
|
const thisRef = ref(null);
|
|
31
33
|
onMounted(() => {
|
|
@@ -171,6 +173,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
171
173
|
}
|
|
172
174
|
});
|
|
173
175
|
}
|
|
176
|
+
function exporEditState() {
|
|
177
|
+
if (!props.model.fieldInfos || props.model.fieldInfos.length == 0) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
const message = allExporEditState.value ? "确定全部设置为可导出吗?" : "确定要全部取消可导出吗?";
|
|
181
|
+
ElMessageBox.confirm(message, "确认", {
|
|
182
|
+
confirmButtonText: "确定",
|
|
183
|
+
cancelButtonText: "取消",
|
|
184
|
+
type: "warning"
|
|
185
|
+
}).then(({ value }) => {
|
|
186
|
+
for (let f of props.model.fieldInfos) {
|
|
187
|
+
if (allExporEditState.value) {
|
|
188
|
+
if (!f.exportable) {
|
|
189
|
+
f.exportable = true;
|
|
190
|
+
}
|
|
191
|
+
} else {
|
|
192
|
+
f.exportable = false;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
174
197
|
function removeAll() {
|
|
175
198
|
ElMessageBox.confirm("确定要全部清除吗?", "确认", {
|
|
176
199
|
confirmButtonText: "确定",
|
|
@@ -310,8 +333,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
310
333
|
const _component_el_option = resolveComponent("el-option");
|
|
311
334
|
const _component_el_select = resolveComponent("el-select");
|
|
312
335
|
const _component_el_input = resolveComponent("el-input");
|
|
313
|
-
const _component_el_switch = resolveComponent("el-switch");
|
|
314
336
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
337
|
+
const _component_el_switch = resolveComponent("el-switch");
|
|
315
338
|
const _component_el_table = resolveComponent("el-table");
|
|
316
339
|
return openBlock(), createBlock(_component_el_table, {
|
|
317
340
|
size: "small",
|
|
@@ -470,8 +493,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
470
493
|
label: "导出",
|
|
471
494
|
width: "120"
|
|
472
495
|
}, {
|
|
496
|
+
header: withCtx(() => [
|
|
497
|
+
createElementVNode("div", _hoisted_4, [
|
|
498
|
+
createTextVNode(" 导出 "),
|
|
499
|
+
withDirectives(createVNode(_component_el_checkbox, {
|
|
500
|
+
modelValue: allExporEditState.value,
|
|
501
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => allExporEditState.value = $event),
|
|
502
|
+
value: "1",
|
|
503
|
+
label: "全部可导出",
|
|
504
|
+
size: "small",
|
|
505
|
+
style: { "margin-left": "6px" },
|
|
506
|
+
onChange: exporEditState
|
|
507
|
+
}, null, 8, ["modelValue"]), [
|
|
508
|
+
[vShow, __props.model.pageType == "list"]
|
|
509
|
+
])
|
|
510
|
+
])
|
|
511
|
+
]),
|
|
473
512
|
default: withCtx((scope) => [
|
|
474
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
513
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_5, toDisplayString(scope.row.exportable), 1)) : (openBlock(), createBlock(_component_el_switch, {
|
|
475
514
|
key: 1,
|
|
476
515
|
modelValue: scope.row.exportable,
|
|
477
516
|
"onUpdate:modelValue": ($event) => scope.row.exportable = $event
|
|
@@ -484,11 +523,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
484
523
|
width: "120"
|
|
485
524
|
}, {
|
|
486
525
|
header: withCtx(() => [
|
|
487
|
-
createElementVNode("div",
|
|
526
|
+
createElementVNode("div", _hoisted_6, [
|
|
488
527
|
createTextVNode(" 组件 "),
|
|
489
528
|
withDirectives(createVNode(_component_el_checkbox, {
|
|
490
529
|
modelValue: allEditState.value,
|
|
491
|
-
"onUpdate:modelValue": _cache[
|
|
530
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => allEditState.value = $event),
|
|
492
531
|
value: "1",
|
|
493
532
|
label: "全部可编辑",
|
|
494
533
|
size: "small",
|
|
@@ -500,7 +539,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
500
539
|
])
|
|
501
540
|
]),
|
|
502
541
|
default: withCtx((scope) => [
|
|
503
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
542
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_7, toDisplayString(scope.row.componentName), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
504
543
|
key: 1,
|
|
505
544
|
size: "small",
|
|
506
545
|
modelValue: scope.row.componentName,
|
|
@@ -528,7 +567,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
528
567
|
width: "70"
|
|
529
568
|
}, {
|
|
530
569
|
default: withCtx((scope) => [
|
|
531
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
570
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_8, toDisplayString(scope.row.state), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
532
571
|
key: 1,
|
|
533
572
|
size: "small",
|
|
534
573
|
disabled: !scope.row.componentName,
|
|
@@ -560,7 +599,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
560
599
|
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", {
|
|
561
600
|
key: 0,
|
|
562
601
|
title: scope.row.valid
|
|
563
|
-
}, toDisplayString(scope.row.valid), 9,
|
|
602
|
+
}, toDisplayString(scope.row.valid), 9, _hoisted_9)) : (openBlock(), createBlock(_component_el_select, {
|
|
564
603
|
key: 1,
|
|
565
604
|
disabled: !scope.row.componentName,
|
|
566
605
|
size: "small",
|
|
@@ -592,7 +631,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
592
631
|
width: "75"
|
|
593
632
|
}, {
|
|
594
633
|
default: withCtx((scope) => [
|
|
595
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
634
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_10, toDisplayString(scope.row.width), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
596
635
|
key: 1,
|
|
597
636
|
size: "small",
|
|
598
637
|
modelValue: scope.row.width,
|
|
@@ -620,7 +659,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
620
659
|
width: "70"
|
|
621
660
|
}, {
|
|
622
661
|
default: withCtx((scope) => [
|
|
623
|
-
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label",
|
|
662
|
+
scope.row.uuid != selRowUuid.value ? (openBlock(), createElementBlock("label", _hoisted_11, toDisplayString(scope.row.align), 1)) : (openBlock(), createBlock(_component_el_select, {
|
|
624
663
|
key: 1,
|
|
625
664
|
size: "small",
|
|
626
665
|
modelValue: scope.row.align,
|
|
@@ -162,6 +162,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
function saveForm() {
|
|
165
|
+
if (props.configure.i18nKeys && props.configure.i18nKeys.length > 0) {
|
|
166
|
+
props.configure.i18nKeys = Array.from(new Set(props.configure.i18nKeys));
|
|
167
|
+
}
|
|
165
168
|
const configureCopy = JSON.parse(JSON.stringify(props.configure));
|
|
166
169
|
configureCopy.tableRuntimes = {};
|
|
167
170
|
beforeSaveForm(configureCopy);
|
package/dist/es/style.css
CHANGED
|
@@ -1292,6 +1292,10 @@ fieldset.amb-design-item-selected {
|
|
|
1292
1292
|
padding: 10px;
|
|
1293
1293
|
font-weight: bold;
|
|
1294
1294
|
}
|
|
1295
|
+
|
|
1296
|
+
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
1297
|
+
cursor: default;
|
|
1298
|
+
}
|
|
1295
1299
|
.el-tree-node__content {
|
|
1296
1300
|
height: 34px !important;
|
|
1297
1301
|
}
|
|
@@ -3764,10 +3768,6 @@ fieldset.amb-design-item-selected {
|
|
|
3764
3768
|
padding: 10px;
|
|
3765
3769
|
font-weight: bold;
|
|
3766
3770
|
}
|
|
3767
|
-
|
|
3768
|
-
.el-select__wrapper.is-disabled{
|
|
3769
|
-
cursor: default;
|
|
3770
|
-
}
|
|
3771
3771
|
.el-tree-node__content {
|
|
3772
3772
|
height: 34px !important;
|
|
3773
3773
|
}
|
|
@@ -5004,10 +5004,6 @@ fieldset.amb-design-item-selected {
|
|
|
5004
5004
|
padding: 10px;
|
|
5005
5005
|
font-weight: bold;
|
|
5006
5006
|
}
|
|
5007
|
-
|
|
5008
|
-
.el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
|
|
5009
|
-
cursor: default;
|
|
5010
|
-
}
|
|
5011
5007
|
.el-tree-node__content {
|
|
5012
5008
|
height: 34px !important;
|
|
5013
5009
|
}
|
|
@@ -5626,6 +5622,10 @@ fieldset.amb-design-item-selected {
|
|
|
5626
5622
|
padding: 10px;
|
|
5627
5623
|
font-weight: bold;
|
|
5628
5624
|
}
|
|
5625
|
+
|
|
5626
|
+
.el-select__wrapper.is-disabled{
|
|
5627
|
+
cursor: default;
|
|
5628
|
+
}
|
|
5629
5629
|
.el-tree-node__content {
|
|
5630
5630
|
height: 34px !important;
|
|
5631
5631
|
}
|
|
@@ -17511,28 +17511,10 @@ li[data-v-a555cba7] {
|
|
|
17511
17511
|
padding-bottom: 5px;
|
|
17512
17512
|
}
|
|
17513
17513
|
|
|
17514
|
-
.seleteSort[data-v-8aacbe0c] {
|
|
17515
|
-
border-radius: 5px;
|
|
17516
|
-
border: 1px solid rgba(88, 147, 239);
|
|
17517
|
-
}
|
|
17518
|
-
|
|
17519
17514
|
[data-v-3528c938] .el-cascader-menu {
|
|
17520
17515
|
min-width: 120px !important;
|
|
17521
17516
|
}
|
|
17522
17517
|
|
|
17523
|
-
.editorTool[data-v-39d5d5cf] {
|
|
17524
|
-
margin-left: auto;
|
|
17525
|
-
}
|
|
17526
|
-
.editorOption[data-v-39d5d5cf] {
|
|
17527
|
-
margin-right: 10px;
|
|
17528
|
-
cursor: pointer;
|
|
17529
|
-
}
|
|
17530
|
-
.pppp[data-v-39d5d5cf] {
|
|
17531
|
-
display: flex; /* 使用Flex布局 */
|
|
17532
|
-
justify-content: flex-start;
|
|
17533
|
-
align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
|
|
17534
|
-
}
|
|
17535
|
-
|
|
17536
17518
|
.icon-set-center-body[data-v-181d1ce8]{
|
|
17537
17519
|
display: grid;
|
|
17538
17520
|
grid-template-columns:repeat(5,1fr);
|
|
@@ -17570,6 +17552,24 @@ li[data-v-a555cba7] {
|
|
|
17570
17552
|
margin-bottom: 20px;
|
|
17571
17553
|
}
|
|
17572
17554
|
|
|
17555
|
+
.editorTool[data-v-39d5d5cf] {
|
|
17556
|
+
margin-left: auto;
|
|
17557
|
+
}
|
|
17558
|
+
.editorOption[data-v-39d5d5cf] {
|
|
17559
|
+
margin-right: 10px;
|
|
17560
|
+
cursor: pointer;
|
|
17561
|
+
}
|
|
17562
|
+
.pppp[data-v-39d5d5cf] {
|
|
17563
|
+
display: flex; /* 使用Flex布局 */
|
|
17564
|
+
justify-content: flex-start;
|
|
17565
|
+
align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
|
|
17566
|
+
}
|
|
17567
|
+
|
|
17568
|
+
.seleteSort[data-v-8aacbe0c] {
|
|
17569
|
+
border-radius: 5px;
|
|
17570
|
+
border: 1px solid rgba(88, 147, 239);
|
|
17571
|
+
}
|
|
17572
|
+
|
|
17573
17573
|
.seleteSort[data-v-1dada466] {
|
|
17574
17574
|
border-radius: 5px;
|
|
17575
17575
|
border: 1px solid rgba(88, 147, 239);
|
|
@@ -17632,15 +17632,15 @@ li[data-v-4fd4369c] {
|
|
|
17632
17632
|
margin-left: 10px;
|
|
17633
17633
|
}
|
|
17634
17634
|
|
|
17635
|
-
[data-v-1aa6f1ab] .centered-input .el-input__inner {
|
|
17636
|
-
text-align: center;
|
|
17637
|
-
}
|
|
17638
|
-
|
|
17639
17635
|
.seleteSort[data-v-a62867e0] {
|
|
17640
17636
|
border-radius: 5px;
|
|
17641
17637
|
border: 1px solid rgba(88, 147, 239);
|
|
17642
17638
|
}
|
|
17643
17639
|
|
|
17640
|
+
[data-v-1aa6f1ab] .centered-input .el-input__inner {
|
|
17641
|
+
text-align: center;
|
|
17642
|
+
}
|
|
17643
|
+
|
|
17644
17644
|
.row-backgroud-header-tittle[data-v-b203475d]{
|
|
17645
17645
|
display: flex;
|
|
17646
17646
|
justify-content: space-between;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.61",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"@logicflow/layout": "1.2.0-alpha.16",
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
|
-
"agilebuilder-
|
|
31
|
+
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
+
"agilebuilder-ui": "1.0.90",
|
|
32
33
|
"echarts": "^5.5.0",
|
|
33
34
|
"element-plus": "^2.6.1",
|
|
34
35
|
"font-awesome": "^4.7.0",
|
|
@@ -39,8 +40,8 @@
|
|
|
39
40
|
"pinia": "^2.1.7",
|
|
40
41
|
"qrcode": "^1.5.3",
|
|
41
42
|
"quill": "^2.0.1",
|
|
42
|
-
"service-flow-designer": "2.1.
|
|
43
|
-
"super-page-runtime": "2.1.
|
|
43
|
+
"service-flow-designer": "2.1.59",
|
|
44
|
+
"super-page-runtime": "2.1.60",
|
|
44
45
|
"uuid": "^9.0.1",
|
|
45
46
|
"vite": "^5.1.6",
|
|
46
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"vue-echarts": "^6.6.9",
|
|
52
53
|
"vue-router": "^4.3.0",
|
|
53
54
|
"vuex": "^4.1.0",
|
|
54
|
-
"workflow-editor": "0.0.
|
|
55
|
+
"workflow-editor": "0.0.47-up"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@codemirror/autocomplete": "^6.16.0",
|