super-page-designer 2.1.25 → 2.1.26
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 +3 -0
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +4 -0
- package/dist/es/components/design/utils/page-i18n-util.d.ts +6 -0
- package/dist/es/components/design/utils/page-i18n-util.js +29 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +24 -24
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +15 -14
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +18 -18
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +22 -22
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +28 -3
- package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +8 -1
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +84 -0
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +10 -2
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +12 -7
- package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +13 -5
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +19 -8
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +14 -5
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +15 -9
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +14 -5
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +3 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +3 -16
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +23 -13
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +32 -38
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +19 -11
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +113 -42
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +16 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +13 -13
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +10 -11
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +16 -18
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -15
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +10 -10
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +10 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +16 -17
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +20 -21
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +2 -2
- package/dist/es/components/design/views/design/page-design.vue.js +13 -2
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/attr-container.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/attr-container.vue.js +4 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +249 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.d.ts +18 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +7 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +488 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue3.js +1 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.d.ts +23 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +100 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.d.ts +17 -9
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +6 -4
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +40 -14
- package/dist/es/components/design/views/design/view/view-design.vue.d.ts +2 -1
- package/dist/es/components/design/views/design/view/view-design.vue.js +4 -2
- package/dist/es/stores/page-store.d.ts +8 -2
- package/dist/es/stores/page-store.js +7 -1
- package/dist/es/style.css +97 -93
- package/package.json +5 -5
- package/dist/es/components/design/views/assemblys/common/common-title-setting.vue.js +0 -45
- package/dist/es/components/design/views/assemblys/common/common-title-setting.vue2.js +0 -4
package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js
CHANGED
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx
|
|
|
2
2
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
3
3
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../../common/common-icon-bind.vue.js";
|
|
5
|
-
import _sfc_main$2 from "../../common/common-
|
|
5
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
6
6
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "separatelabel-attr-base",
|
|
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
default: withCtx(() => [
|
|
43
43
|
createVNode(_component_el_collapse, {
|
|
44
44
|
modelValue: openCollapseItems.value,
|
|
45
|
-
"onUpdate:modelValue": _cache[
|
|
45
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => openCollapseItems.value = $event),
|
|
46
46
|
style: { "margin-top": "6px" }
|
|
47
47
|
}, {
|
|
48
48
|
default: withCtx(() => [
|
|
@@ -114,9 +114,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
114
|
}, {
|
|
115
115
|
default: withCtx(() => [
|
|
116
116
|
createVNode(_sfc_main$2, {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}, null, 8, ["
|
|
117
|
+
modelValue: __props.configure.props.base.title,
|
|
118
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.configure.props.base.title = $event)
|
|
119
|
+
}, null, 8, ["modelValue"])
|
|
120
120
|
]),
|
|
121
121
|
_: 1
|
|
122
122
|
})) : createCommentVNode("", true),
|
|
@@ -130,7 +130,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
130
130
|
key: __props.configure.uuid,
|
|
131
131
|
iconType: __props.configure.props.iconType,
|
|
132
132
|
iconValue: __props.configure.props.iconValue,
|
|
133
|
-
"onUpdate:modelValue": _cache[
|
|
133
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = (iconType, iconValue) => afterBindIcon(iconType, iconValue))
|
|
134
134
|
}, null, 8, ["iconType", "iconValue"]))
|
|
135
135
|
]),
|
|
136
136
|
_: 1
|
|
@@ -4,7 +4,7 @@ import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
|
4
4
|
import _sfc_main$3 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import _sfc_main$2 from "../../common/common-
|
|
7
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
9
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
default: withCtx(() => [
|
|
66
66
|
createVNode(_component_el_collapse, {
|
|
67
67
|
modelValue: openCollapseItems.value,
|
|
68
|
-
"onUpdate:modelValue": _cache[
|
|
68
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => openCollapseItems.value = $event),
|
|
69
69
|
style: { "margin-top": "6px" }
|
|
70
70
|
}, {
|
|
71
71
|
default: withCtx(() => [
|
|
@@ -193,9 +193,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
193
193
|
}, {
|
|
194
194
|
default: withCtx(() => [
|
|
195
195
|
createVNode(_sfc_main$2, {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}, null, 8, ["
|
|
196
|
+
modelValue: __props.configure.props.base.title,
|
|
197
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.title = $event)
|
|
198
|
+
}, null, 8, ["modelValue"])
|
|
199
199
|
]),
|
|
200
200
|
_: 1
|
|
201
201
|
}, 512), [
|
|
@@ -208,7 +208,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
208
208
|
default: withCtx(() => [
|
|
209
209
|
createVNode(_component_el_input_number, {
|
|
210
210
|
modelValue: __props.configure.props.base.titleWidth,
|
|
211
|
-
"onUpdate:modelValue": _cache[
|
|
211
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
212
212
|
style: { "width": "100%" },
|
|
213
213
|
min: 0,
|
|
214
214
|
max: 200,
|
|
@@ -226,7 +226,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
226
|
default: withCtx(() => [
|
|
227
227
|
createVNode(_component_el_input_number, {
|
|
228
228
|
modelValue: __props.configure.props.base.offOnWidth,
|
|
229
|
-
"onUpdate:modelValue": _cache[
|
|
229
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.offOnWidth = $event),
|
|
230
230
|
style: { "width": "100%" },
|
|
231
231
|
min: 0,
|
|
232
232
|
max: 200,
|
|
@@ -242,7 +242,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
242
242
|
default: withCtx(() => [
|
|
243
243
|
createVNode(_component_el_input, {
|
|
244
244
|
modelValue: __props.configure.props.base.activeValue,
|
|
245
|
-
"onUpdate:modelValue": _cache[
|
|
245
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.activeValue = $event),
|
|
246
246
|
placeholder: "请输入"
|
|
247
247
|
}, null, 8, ["modelValue"])
|
|
248
248
|
]),
|
|
@@ -255,7 +255,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
255
255
|
default: withCtx(() => [
|
|
256
256
|
createVNode(_component_el_color_picker, {
|
|
257
257
|
modelValue: __props.configure.props.base.onColor,
|
|
258
|
-
"onUpdate:modelValue": _cache[
|
|
258
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.onColor = $event)
|
|
259
259
|
}, null, 8, ["modelValue"])
|
|
260
260
|
]),
|
|
261
261
|
_: 1
|
|
@@ -267,7 +267,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
267
267
|
default: withCtx(() => [
|
|
268
268
|
createVNode(_component_el_input, {
|
|
269
269
|
modelValue: __props.configure.props.base.activeText,
|
|
270
|
-
"onUpdate:modelValue": _cache[
|
|
270
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.activeText = $event),
|
|
271
271
|
placeholder: "请输入"
|
|
272
272
|
}, null, 8, ["modelValue"])
|
|
273
273
|
]),
|
|
@@ -280,7 +280,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
280
280
|
default: withCtx(() => [
|
|
281
281
|
createVNode(_component_el_input, {
|
|
282
282
|
modelValue: __props.configure.props.base.inactiveValue,
|
|
283
|
-
"onUpdate:modelValue": _cache[
|
|
283
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.inactiveValue = $event),
|
|
284
284
|
placeholder: "请输入"
|
|
285
285
|
}, null, 8, ["modelValue"])
|
|
286
286
|
]),
|
|
@@ -293,7 +293,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
293
293
|
default: withCtx(() => [
|
|
294
294
|
createVNode(_component_el_color_picker, {
|
|
295
295
|
modelValue: __props.configure.props.base.offColor,
|
|
296
|
-
"onUpdate:modelValue": _cache[
|
|
296
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.offColor = $event)
|
|
297
297
|
}, null, 8, ["modelValue"])
|
|
298
298
|
]),
|
|
299
299
|
_: 1
|
|
@@ -305,7 +305,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
305
305
|
default: withCtx(() => [
|
|
306
306
|
createVNode(_component_el_input, {
|
|
307
307
|
modelValue: __props.configure.props.base.inactiveText,
|
|
308
|
-
"onUpdate:modelValue": _cache[
|
|
308
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.inactiveText = $event),
|
|
309
309
|
placeholder: "请输入"
|
|
310
310
|
}, null, 8, ["modelValue"])
|
|
311
311
|
]),
|
|
@@ -318,7 +318,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
318
318
|
default: withCtx(() => [
|
|
319
319
|
createVNode(_component_el_radio_group, {
|
|
320
320
|
modelValue: __props.configure.props.base.size,
|
|
321
|
-
"onUpdate:modelValue": _cache[
|
|
321
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.base.size = $event),
|
|
322
322
|
class: "ml-4"
|
|
323
323
|
}, {
|
|
324
324
|
default: withCtx(() => [
|
|
@@ -353,7 +353,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
353
353
|
default: withCtx(() => [
|
|
354
354
|
createVNode(_component_el_radio_group, {
|
|
355
355
|
modelValue: __props.configure.props.base.state,
|
|
356
|
-
"onUpdate:modelValue": _cache[
|
|
356
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.state = $event),
|
|
357
357
|
class: "ml-4"
|
|
358
358
|
}, {
|
|
359
359
|
default: withCtx(() => [
|
|
@@ -394,7 +394,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
394
394
|
default: withCtx(() => [
|
|
395
395
|
createVNode(_component_el_checkbox, {
|
|
396
396
|
modelValue: __props.configure.props.verification.required,
|
|
397
|
-
"onUpdate:modelValue": _cache[
|
|
397
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.verification.required = $event),
|
|
398
398
|
label: "必填"
|
|
399
399
|
}, null, 8, ["modelValue"])
|
|
400
400
|
]),
|
|
@@ -4,7 +4,7 @@ import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
|
4
4
|
import _sfc_main$3 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import _sfc_main$2 from "../../common/common-
|
|
7
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
8
8
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "tag-attr-base",
|
|
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
default: withCtx(() => [
|
|
62
62
|
createVNode(_component_el_collapse, {
|
|
63
63
|
modelValue: openCollapseItems.value,
|
|
64
|
-
"onUpdate:modelValue": _cache[
|
|
64
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => openCollapseItems.value = $event),
|
|
65
65
|
style: { "margin-top": "6px" }
|
|
66
66
|
}, {
|
|
67
67
|
default: withCtx(() => [
|
|
@@ -214,9 +214,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
214
214
|
}, {
|
|
215
215
|
default: withCtx(() => [
|
|
216
216
|
createVNode(_sfc_main$2, {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}, null, 8, ["
|
|
217
|
+
modelValue: __props.configure.props.base.title,
|
|
218
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.title = $event)
|
|
219
|
+
}, null, 8, ["modelValue"])
|
|
220
220
|
]),
|
|
221
221
|
_: 1
|
|
222
222
|
}, 512), [
|
|
@@ -229,7 +229,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
229
229
|
default: withCtx(() => [
|
|
230
230
|
createVNode(_component_el_input_number, {
|
|
231
231
|
modelValue: __props.configure.props.base.titleWidth,
|
|
232
|
-
"onUpdate:modelValue": _cache[
|
|
232
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
233
233
|
style: { "width": "100%" },
|
|
234
234
|
min: 0,
|
|
235
235
|
max: 200,
|
|
@@ -247,7 +247,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
247
247
|
default: withCtx(() => [
|
|
248
248
|
createVNode(_component_el_radio_group, {
|
|
249
249
|
modelValue: __props.configure.props.base.type,
|
|
250
|
-
"onUpdate:modelValue": _cache[
|
|
250
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.type = $event),
|
|
251
251
|
class: "ml-4"
|
|
252
252
|
}, {
|
|
253
253
|
default: withCtx(() => [
|
|
@@ -294,7 +294,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
294
294
|
default: withCtx(() => [
|
|
295
295
|
createVNode(_component_el_radio_group, {
|
|
296
296
|
modelValue: __props.configure.props.base.closable,
|
|
297
|
-
"onUpdate:modelValue": _cache[
|
|
297
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.closable = $event),
|
|
298
298
|
class: "ml-4"
|
|
299
299
|
}, {
|
|
300
300
|
default: withCtx(() => [
|
|
@@ -323,7 +323,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
323
323
|
default: withCtx(() => [
|
|
324
324
|
createVNode(_component_el_radio_group, {
|
|
325
325
|
modelValue: __props.configure.props.base.size,
|
|
326
|
-
"onUpdate:modelValue": _cache[
|
|
326
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.size = $event),
|
|
327
327
|
class: "ml-4"
|
|
328
328
|
}, {
|
|
329
329
|
default: withCtx(() => [
|
|
@@ -6,7 +6,7 @@ import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
7
|
import _sfc_main$3 from "../common/title-suffix.vue.js";
|
|
8
8
|
import _sfc_main$4 from "../common/verification-custom.vue.js";
|
|
9
|
-
import _sfc_main$2 from "../../common/common-
|
|
9
|
+
import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
|
|
10
10
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
11
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -66,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
default: withCtx(() => [
|
|
67
67
|
createVNode(_component_el_collapse, {
|
|
68
68
|
modelValue: openCollapseItems.value,
|
|
69
|
-
"onUpdate:modelValue": _cache[
|
|
69
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => openCollapseItems.value = $event),
|
|
70
70
|
style: { "margin-top": "6px" }
|
|
71
71
|
}, {
|
|
72
72
|
default: withCtx(() => [
|
|
@@ -194,9 +194,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
194
|
}, {
|
|
195
195
|
default: withCtx(() => [
|
|
196
196
|
createVNode(_sfc_main$2, {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}, null, 8, ["
|
|
197
|
+
modelValue: __props.configure.props.base.title,
|
|
198
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.configure.props.base.title = $event)
|
|
199
|
+
}, null, 8, ["modelValue"])
|
|
200
200
|
]),
|
|
201
201
|
_: 1
|
|
202
202
|
}, 512), [
|
|
@@ -209,7 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
209
209
|
default: withCtx(() => [
|
|
210
210
|
createVNode(_component_el_input_number, {
|
|
211
211
|
modelValue: __props.configure.props.base.titleWidth,
|
|
212
|
-
"onUpdate:modelValue": _cache[
|
|
212
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.configure.props.base.titleWidth = $event),
|
|
213
213
|
style: { "width": "100%" },
|
|
214
214
|
min: 0,
|
|
215
215
|
max: 200,
|
|
@@ -225,10 +225,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
225
225
|
class: "amb-design-attr-item"
|
|
226
226
|
}, {
|
|
227
227
|
default: withCtx(() => [
|
|
228
|
-
createVNode(
|
|
228
|
+
createVNode(_sfc_main$2, {
|
|
229
229
|
modelValue: __props.configure.props.base.placeholder,
|
|
230
|
-
"onUpdate:modelValue": _cache[
|
|
231
|
-
placeholder: "请输入"
|
|
230
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
232
231
|
}, null, 8, ["modelValue"])
|
|
233
232
|
]),
|
|
234
233
|
_: 1
|
|
@@ -240,7 +239,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
239
|
default: withCtx(() => [
|
|
241
240
|
createVNode(_component_el_input_number, {
|
|
242
241
|
modelValue: __props.configure.props.base.rows,
|
|
243
|
-
"onUpdate:modelValue": _cache[
|
|
242
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.rows = $event),
|
|
244
243
|
min: 1
|
|
245
244
|
}, null, 8, ["modelValue"])
|
|
246
245
|
]),
|
|
@@ -253,7 +252,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
253
252
|
default: withCtx(() => [
|
|
254
253
|
createVNode(_component_el_switch, {
|
|
255
254
|
modelValue: __props.configure.props.base.showInputNum,
|
|
256
|
-
"onUpdate:modelValue": _cache[
|
|
255
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.showInputNum = $event)
|
|
257
256
|
}, null, 8, ["modelValue"])
|
|
258
257
|
]),
|
|
259
258
|
_: 1
|
|
@@ -265,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
265
264
|
default: withCtx(() => [
|
|
266
265
|
createVNode(_component_el_switch, {
|
|
267
266
|
modelValue: __props.configure.props.base.isOpinion,
|
|
268
|
-
"onUpdate:modelValue": _cache[
|
|
267
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.isOpinion = $event)
|
|
269
268
|
}, null, 8, ["modelValue"])
|
|
270
269
|
]),
|
|
271
270
|
_: 1
|
|
@@ -277,7 +276,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
277
276
|
default: withCtx(() => [
|
|
278
277
|
createVNode(_component_el_radio_group, {
|
|
279
278
|
modelValue: __props.configure.props.base.size,
|
|
280
|
-
"onUpdate:modelValue": _cache[
|
|
279
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.size = $event),
|
|
281
280
|
class: "ml-4"
|
|
282
281
|
}, {
|
|
283
282
|
default: withCtx(() => [
|
|
@@ -312,7 +311,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
312
311
|
default: withCtx(() => [
|
|
313
312
|
createVNode(_component_el_radio_group, {
|
|
314
313
|
modelValue: __props.configure.props.base.state,
|
|
315
|
-
"onUpdate:modelValue": _cache[
|
|
314
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.state = $event),
|
|
316
315
|
class: "ml-4"
|
|
317
316
|
}, {
|
|
318
317
|
default: withCtx(() => [
|
|
@@ -362,7 +361,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
362
361
|
default: withCtx(() => [
|
|
363
362
|
createVNode(_component_el_checkbox, {
|
|
364
363
|
modelValue: __props.configure.props.verification.required,
|
|
365
|
-
"onUpdate:modelValue": _cache[
|
|
364
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.verification.required = $event),
|
|
366
365
|
label: "必填"
|
|
367
366
|
}, null, 8, ["modelValue"])
|
|
368
367
|
]),
|
|
@@ -377,7 +376,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
377
376
|
default: withCtx(() => [
|
|
378
377
|
createVNode(_component_el_checkbox, {
|
|
379
378
|
modelValue: __props.configure.props.verification.verifyMinLength,
|
|
380
|
-
"onUpdate:modelValue": _cache[
|
|
379
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.verification.verifyMinLength = $event),
|
|
381
380
|
label: "最小长度",
|
|
382
381
|
value: "min"
|
|
383
382
|
}, null, 8, ["modelValue"])
|
|
@@ -388,7 +387,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
388
387
|
default: withCtx(() => [
|
|
389
388
|
createVNode(_component_el_input_number, {
|
|
390
389
|
modelValue: __props.configure.props.verification.minLength,
|
|
391
|
-
"onUpdate:modelValue": _cache[
|
|
390
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.verification.minLength = $event),
|
|
392
391
|
class: "mx-4",
|
|
393
392
|
min: 0,
|
|
394
393
|
"controls-position": "right",
|
|
@@ -409,7 +408,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
409
408
|
default: withCtx(() => [
|
|
410
409
|
createVNode(_component_el_checkbox, {
|
|
411
410
|
modelValue: __props.configure.props.verification.verifyMaxLength,
|
|
412
|
-
"onUpdate:modelValue": _cache[
|
|
411
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.verification.verifyMaxLength = $event),
|
|
413
412
|
label: "最大长度",
|
|
414
413
|
value: "max"
|
|
415
414
|
}, null, 8, ["modelValue"])
|
|
@@ -420,7 +419,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
420
419
|
default: withCtx(() => [
|
|
421
420
|
createVNode(_component_el_input_number, {
|
|
422
421
|
modelValue: __props.configure.props.verification.maxLength,
|
|
423
|
-
"onUpdate:modelValue": _cache[
|
|
422
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.verification.maxLength = $event),
|
|
424
423
|
class: "mx-4",
|
|
425
424
|
min: 0,
|
|
426
425
|
"controls-position": "right",
|
|
@@ -441,7 +440,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
441
440
|
default: withCtx(() => [
|
|
442
441
|
createVNode(_component_el_checkbox, {
|
|
443
442
|
modelValue: __props.configure.props.verification.verifyRegex,
|
|
444
|
-
"onUpdate:modelValue": _cache[
|
|
443
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.verification.verifyRegex = $event),
|
|
445
444
|
label: "正则",
|
|
446
445
|
value: "regex"
|
|
447
446
|
}, null, 8, ["modelValue"])
|
|
@@ -452,7 +451,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
452
451
|
default: withCtx(() => [
|
|
453
452
|
createVNode(_component_el_input, {
|
|
454
453
|
modelValue: __props.configure.props.verification.regex,
|
|
455
|
-
"onUpdate:modelValue": _cache[
|
|
454
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.verification.regex = $event),
|
|
456
455
|
class: "mx-4",
|
|
457
456
|
"controls-position": "right",
|
|
458
457
|
placeholder: "请输入"
|
|
@@ -17,9 +17,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
17
17
|
};
|
|
18
18
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
19
|
close: (...args: any[]) => void;
|
|
20
|
+
closed: (...args: any[]) => void;
|
|
20
21
|
open: (...args: any[]) => void;
|
|
21
22
|
opend: (...args: any[]) => void;
|
|
22
|
-
closed: (...args: any[]) => void;
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
24
24
|
code: {
|
|
25
25
|
type: StringConstructor;
|
|
@@ -39,9 +39,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
39
39
|
};
|
|
40
40
|
}>> & {
|
|
41
41
|
onClose?: (...args: any[]) => any;
|
|
42
|
+
onClosed?: (...args: any[]) => any;
|
|
42
43
|
onOpen?: (...args: any[]) => any;
|
|
43
44
|
onOpend?: (...args: any[]) => any;
|
|
44
|
-
onClosed?: (...args: any[]) => any;
|
|
45
45
|
}, {
|
|
46
46
|
systemCode: string;
|
|
47
47
|
code: string;
|
|
@@ -43,6 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
const isShowWfEditor = ref(false);
|
|
44
44
|
const viewDesignComponentKey = ref(0);
|
|
45
45
|
let publishVersion = ref(null);
|
|
46
|
+
const system = ref(null);
|
|
46
47
|
eventBus.$on("editComponentEvent", () => {
|
|
47
48
|
clickFrontLogic();
|
|
48
49
|
});
|
|
@@ -271,6 +272,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
271
272
|
}
|
|
272
273
|
});
|
|
273
274
|
}
|
|
275
|
+
function pageSwitchInitLoadedNodes(res) {
|
|
276
|
+
if (res && res.system) {
|
|
277
|
+
system.value = res.system;
|
|
278
|
+
}
|
|
279
|
+
if (system.value) {
|
|
280
|
+
pageDesignUtil.setEnableI18n(system.value.enableI18n);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
274
283
|
return (_ctx, _cache) => {
|
|
275
284
|
const _component_el_col = resolveComponent("el-col");
|
|
276
285
|
const _component_el_row = resolveComponent("el-row");
|
|
@@ -287,7 +296,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
287
296
|
pageDesign.value && pageDesign.value.code ? (openBlock(), createBlock(PageSwitch, {
|
|
288
297
|
key: 0,
|
|
289
298
|
pageDesign: pageDesign.value,
|
|
290
|
-
onChangePage: changePage
|
|
299
|
+
onChangePage: changePage,
|
|
300
|
+
onInitLoaded: pageSwitchInitLoadedNodes
|
|
291
301
|
}, null, 8, ["pageDesign"])) : createCommentVNode("", true)
|
|
292
302
|
]),
|
|
293
303
|
_: 1
|
|
@@ -322,9 +332,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
322
332
|
ref: ViewDesignRef,
|
|
323
333
|
key: viewDesignComponentKey.value,
|
|
324
334
|
configure: pageDesign.value,
|
|
335
|
+
system: system.value,
|
|
325
336
|
onRegain: regain,
|
|
326
337
|
onRevocation: revocation
|
|
327
|
-
}, null, 8, ["configure"])), [
|
|
338
|
+
}, null, 8, ["configure", "system"])), [
|
|
328
339
|
[vShow, clickType.value === "page"]
|
|
329
340
|
]),
|
|
330
341
|
isShowWfEditor.value ? withDirectives((openBlock(), createBlock(_component_workflow_editor, {
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "./config.vue2.js";
|
|
3
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-26f79956"]]);
|
|
5
|
-
export {
|
|
6
|
-
config as default
|
|
7
|
-
};
|
|
1
|
+
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import _sfc_main from "./config.vue3.js";
|
|
2
|
+
import "./config.vue.js";
|
|
3
|
+
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-26f79956"]]);
|
|
5
|
+
export {
|
|
6
|
+
config as default
|
|
7
|
+
};
|
|
@@ -82,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
}
|
|
83
83
|
if (hisEvents) {
|
|
84
84
|
for (let e of hisEvents) {
|
|
85
|
-
if (!e.componentUuid
|
|
85
|
+
if (!e.componentUuid) {
|
|
86
86
|
e.componentUuid = currentComponent.value && currentComponent.value.uuid ? currentComponent.value.uuid : "page";
|
|
87
87
|
}
|
|
88
88
|
if (!e.componentLabel) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, withDirectives, vShow, unref, createTextVNode, toDisplayString, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import { ElMessageBox, ElMessage } from "element-plus";
|
|
3
|
-
import config from "./config.
|
|
3
|
+
import config from "./config.vue2.js";
|
|
4
4
|
import { standardButtonOperations } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid, getUuidv4, deepCopy } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore } from "../../../../../stores/page-store.js";
|
|
@@ -12,10 +12,12 @@ declare function changeAssembly(configure: any): void;
|
|
|
12
12
|
declare function changeAssemblyByComponent(configure: object, component: object): void;
|
|
13
13
|
declare const _default: import('vue').DefineComponent<{
|
|
14
14
|
pageInfo: ObjectConstructor;
|
|
15
|
+
system: ObjectConstructor;
|
|
15
16
|
}, {
|
|
16
17
|
changeAssembly: typeof changeAssembly;
|
|
17
18
|
changeAssemblyByComponent: typeof changeAssemblyByComponent;
|
|
18
19
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
20
|
pageInfo: ObjectConstructor;
|
|
21
|
+
system: ObjectConstructor;
|
|
20
22
|
}>>, {}, {}>;
|
|
21
23
|
export default _default;
|
|
@@ -6,7 +6,8 @@ import { deepCopy } from "../../../utils/common-util.js";
|
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "attr-container",
|
|
8
8
|
props: {
|
|
9
|
-
pageInfo: Object
|
|
9
|
+
pageInfo: Object,
|
|
10
|
+
system: Object
|
|
10
11
|
},
|
|
11
12
|
setup(__props, { expose: __expose }) {
|
|
12
13
|
const props = __props;
|
|
@@ -90,9 +91,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
91
|
key: "attr_" + dynamicConfigure.value.uuid,
|
|
91
92
|
indexObj: indexObj.value,
|
|
92
93
|
pageDesign: __props.pageInfo,
|
|
94
|
+
system: __props.system,
|
|
93
95
|
configure: dynamicConfigure.value,
|
|
94
96
|
onChangeAssembly: changeAssembly
|
|
95
|
-
}, null, 40, ["indexObj", "pageDesign", "configure"]))
|
|
97
|
+
}, null, 40, ["indexObj", "pageDesign", "system", "configure"]))
|
|
96
98
|
], 4);
|
|
97
99
|
};
|
|
98
100
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
systemCode: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: (...args: any[]) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
systemCode: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onClose?: (...args: any[]) => any;
|
|
15
|
+
}, {
|
|
16
|
+
systemCode: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|