super-page-designer 2.1.12 → 2.1.16
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/interfaces/page-design-types.d.ts +1 -0
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +17 -4
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +24 -3
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue2.js +9 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +15 -2
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +17 -4
- package/dist/es/components/design/views/assemblys/common/common-i18n-setting.vue.js +38 -0
- package/dist/es/components/design/views/assemblys/common/common-i18n-setting.vue2.js +4 -0
- 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 +1 -725
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +725 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +3 -1
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +8 -2
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +2 -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 +19 -2
- 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.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +25 -12
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +19 -6
- 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/date-picker/datepicker-attr-base.vue.js +22 -6
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +26 -6
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +22 -4
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +22 -4
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -12
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +24 -6
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +19 -6
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +19 -6
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +21 -8
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +31 -10
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue2.js +10 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +20 -2
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue2.js +8 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +19 -6
- package/dist/es/components/design/views/assemblys/object-design.vue.js +3 -0
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +5 -5
- package/dist/es/components/design/views/design/page-event/config.vue.js +7 -1
- package/dist/es/components/design/views/design/page-event/config.vue2.js +334 -5
- package/dist/es/components/design/views/design/page-event/config.vue3.js +1 -336
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +170 -197
- package/package.json +5 -4
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,155 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search } from "@element-plus/icons-vue";
|
|
3
|
-
const _hoisted_1 = { class: "dialog-footer" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "dataorigin-input-table",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: ""
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:modelValue"],
|
|
13
|
-
setup(__props, { emit: __emit }) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const inputValue = ref(props.modelValue);
|
|
16
|
-
const emit = __emit;
|
|
17
|
-
const tableData = [
|
|
18
|
-
{
|
|
19
|
-
id: 1,
|
|
20
|
-
date: "2016-05-03",
|
|
21
|
-
name: "Tom",
|
|
22
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
id: 2,
|
|
26
|
-
date: "2016-05-02",
|
|
27
|
-
name: "Tom",
|
|
28
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
id: 3,
|
|
32
|
-
date: "2016-05-04",
|
|
33
|
-
name: "Tom",
|
|
34
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 4,
|
|
38
|
-
date: "2016-05-01",
|
|
39
|
-
name: "Tom",
|
|
40
|
-
address: "No. 189, Grove St, Los Angeles"
|
|
41
|
-
}
|
|
42
|
-
];
|
|
43
|
-
const dialogVisible = ref(false);
|
|
44
|
-
const selectData = ref([]);
|
|
45
|
-
watch(() => props.modelValue, (newVal) => {
|
|
46
|
-
inputValue.value = newVal;
|
|
47
|
-
});
|
|
48
|
-
function confirm() {
|
|
49
|
-
if (selectData.value.length > 0) {
|
|
50
|
-
let str = "";
|
|
51
|
-
selectData.value.forEach((item) => {
|
|
52
|
-
str = str + item.name + ",";
|
|
53
|
-
});
|
|
54
|
-
str = str.substring(0, str.length - 1);
|
|
55
|
-
emit("update:modelValue", str);
|
|
56
|
-
dialogVisible.value = false;
|
|
57
|
-
} else {
|
|
58
|
-
dialogVisible.value = false;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function handleSelectionChange(selection) {
|
|
62
|
-
selectData.value = selection;
|
|
63
|
-
}
|
|
64
|
-
function inputClick() {
|
|
65
|
-
dialogVisible.value = true;
|
|
66
|
-
}
|
|
67
|
-
return (_ctx, _cache) => {
|
|
68
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
69
|
-
const _component_el_input = resolveComponent("el-input");
|
|
70
|
-
const _component_el_table_column = resolveComponent("el-table-column");
|
|
71
|
-
const _component_el_table = resolveComponent("el-table");
|
|
72
|
-
const _component_el_button = resolveComponent("el-button");
|
|
73
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
74
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
75
|
-
createVNode(_component_el_input, {
|
|
76
|
-
modelValue: inputValue.value,
|
|
77
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
78
|
-
placeholder: "请选择",
|
|
79
|
-
onClick: inputClick
|
|
80
|
-
}, {
|
|
81
|
-
suffix: withCtx(() => [
|
|
82
|
-
createVNode(_component_el_icon, { onClick: inputClick }, {
|
|
83
|
-
default: withCtx(() => [
|
|
84
|
-
createVNode(unref(Search))
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
})
|
|
88
|
-
]),
|
|
89
|
-
_: 1
|
|
90
|
-
}, 8, ["modelValue"]),
|
|
91
|
-
createVNode(_component_el_dialog, {
|
|
92
|
-
modelValue: dialogVisible.value,
|
|
93
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
|
|
94
|
-
title: "Tips",
|
|
95
|
-
width: "500"
|
|
96
|
-
}, {
|
|
97
|
-
footer: withCtx(() => [
|
|
98
|
-
createElementVNode("div", _hoisted_1, [
|
|
99
|
-
createVNode(_component_el_button, {
|
|
100
|
-
onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
|
|
101
|
-
}, {
|
|
102
|
-
default: withCtx(() => [
|
|
103
|
-
createTextVNode("取消")
|
|
104
|
-
]),
|
|
105
|
-
_: 1
|
|
106
|
-
}),
|
|
107
|
-
createVNode(_component_el_button, {
|
|
108
|
-
type: "primary",
|
|
109
|
-
onClick: confirm
|
|
110
|
-
}, {
|
|
111
|
-
default: withCtx(() => [
|
|
112
|
-
createTextVNode(" 确定 ")
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
})
|
|
116
|
-
])
|
|
117
|
-
]),
|
|
118
|
-
default: withCtx(() => [
|
|
119
|
-
createVNode(_component_el_table, {
|
|
120
|
-
data: tableData,
|
|
121
|
-
style: { "width": "100%" },
|
|
122
|
-
onSelectionChange: handleSelectionChange
|
|
123
|
-
}, {
|
|
124
|
-
default: withCtx(() => [
|
|
125
|
-
createVNode(_component_el_table_column, {
|
|
126
|
-
type: "selection",
|
|
127
|
-
width: "55"
|
|
128
|
-
}),
|
|
129
|
-
createVNode(_component_el_table_column, {
|
|
130
|
-
prop: "date",
|
|
131
|
-
label: "Date",
|
|
132
|
-
width: "180"
|
|
133
|
-
}),
|
|
134
|
-
createVNode(_component_el_table_column, {
|
|
135
|
-
prop: "name",
|
|
136
|
-
label: "Name",
|
|
137
|
-
width: "180"
|
|
138
|
-
}),
|
|
139
|
-
createVNode(_component_el_table_column, {
|
|
140
|
-
prop: "address",
|
|
141
|
-
label: "Address"
|
|
142
|
-
})
|
|
143
|
-
]),
|
|
144
|
-
_: 1
|
|
145
|
-
})
|
|
146
|
-
]),
|
|
147
|
-
_: 1
|
|
148
|
-
}, 8, ["modelValue"])
|
|
149
|
-
], 64);
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
});
|
|
1
|
+
import _sfc_main from "./dataorigin-input-table.vue.js";
|
|
153
2
|
export {
|
|
154
3
|
_sfc_main as default
|
|
155
4
|
};
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js
CHANGED
|
@@ -2,10 +2,11 @@ import { defineComponent, ref, computed, resolveComponent, openBlock, createBloc
|
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import { getCustomFuncs } from "../../../../utils/page-event-util.js";
|
|
5
|
-
import _sfc_main$
|
|
5
|
+
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
8
|
-
import _sfc_main$
|
|
8
|
+
import _sfc_main$3 from "../common/title-suffix.vue.js";
|
|
9
|
+
import _sfc_main$2 from "../../common/common-i18n-setting.vue.js";
|
|
9
10
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
11
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -13,9 +14,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
14
|
props: {
|
|
14
15
|
configure: {
|
|
15
16
|
type: Object,
|
|
16
|
-
required: true
|
|
17
|
+
required: true,
|
|
18
|
+
default: () => {
|
|
19
|
+
}
|
|
17
20
|
},
|
|
18
|
-
|
|
21
|
+
pageDesign: {
|
|
22
|
+
type: Object,
|
|
23
|
+
default: () => {
|
|
24
|
+
}
|
|
25
|
+
}
|
|
19
26
|
},
|
|
20
27
|
emits: ["changeAssembly"],
|
|
21
28
|
setup(__props, { emit: __emit }) {
|
|
@@ -259,6 +266,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
259
266
|
}, 512), [
|
|
260
267
|
[vShow, __props.configure.props.base.tittleShow]
|
|
261
268
|
]),
|
|
269
|
+
createVNode(_component_el_form_item, {
|
|
270
|
+
label: "国际化标题",
|
|
271
|
+
class: "amb-design-attr-item"
|
|
272
|
+
}, {
|
|
273
|
+
default: withCtx(() => [
|
|
274
|
+
createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"])
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}),
|
|
262
278
|
withDirectives(createVNode(_component_el_form_item, {
|
|
263
279
|
label: "标题宽度",
|
|
264
280
|
class: "amb-design-attr-item"
|
|
@@ -664,7 +680,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
664
680
|
]),
|
|
665
681
|
_: 1
|
|
666
682
|
}),
|
|
667
|
-
withDirectives(createVNode(_sfc_main$
|
|
683
|
+
withDirectives(createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
668
684
|
[vShow, __props.configure.props.base.tittleShow]
|
|
669
685
|
]),
|
|
670
686
|
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
@@ -735,7 +751,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
735
751
|
]),
|
|
736
752
|
_: 1
|
|
737
753
|
})),
|
|
738
|
-
!isTable.value ? (openBlock(), createBlock(_sfc_main$
|
|
754
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
739
755
|
key: __props.configure.uuid,
|
|
740
756
|
size: __props.configure.props.size
|
|
741
757
|
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
@@ -13,6 +13,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
type: Object,
|
|
14
14
|
default: () => ({ title: "Text", props: { type: "input-text" } })
|
|
15
15
|
// 设置默认值
|
|
16
|
+
},
|
|
17
|
+
// 页面设计对象
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
setup(__props) {
|
|
@@ -26,8 +32,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
32
|
createElementVNode("div", _hoisted_2, [
|
|
27
33
|
withDirectives(createVNode(_sfc_main$1, {
|
|
28
34
|
configure: __props.configure,
|
|
35
|
+
pageDesign: __props.pageDesign,
|
|
29
36
|
onChangeAssembly: _cache[1] || (_cache[1] = (val) => _ctx.$emit("changeAssembly", val))
|
|
30
|
-
}, null, 8, ["configure"]), [
|
|
37
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
31
38
|
[vShow, unref(currentConfigType) === "base"]
|
|
32
39
|
]),
|
|
33
40
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
@@ -2,12 +2,13 @@ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx
|
|
|
2
2
|
import { Search } from "@element-plus/icons-vue";
|
|
3
3
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
5
|
-
import _sfc_main$
|
|
5
|
+
import _sfc_main$5 from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
|
-
import _sfc_main$
|
|
7
|
+
import _sfc_main$3 from "./depttree-autoset.vue.js";
|
|
8
8
|
import { OrganizationInput } from "agilebuilder-ui";
|
|
9
9
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
10
|
-
import _sfc_main$
|
|
10
|
+
import _sfc_main$4 from "../common/title-suffix.vue.js";
|
|
11
|
+
import _sfc_main$2 from "../../common/common-i18n-setting.vue.js";
|
|
11
12
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
13
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
14
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -18,6 +19,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
19
|
type: Object,
|
|
19
20
|
required: true
|
|
20
21
|
},
|
|
22
|
+
pageDesign: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: () => {
|
|
25
|
+
}
|
|
26
|
+
},
|
|
21
27
|
default: () => ({ props: {} })
|
|
22
28
|
},
|
|
23
29
|
emits: ["changeAssembly"],
|
|
@@ -236,6 +242,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
236
242
|
}, 512), [
|
|
237
243
|
[vShow, __props.configure.props.base.tittleShow]
|
|
238
244
|
]),
|
|
245
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
246
|
+
label: "国际化标题",
|
|
247
|
+
class: "amb-design-attr-item"
|
|
248
|
+
}, {
|
|
249
|
+
default: withCtx(() => [
|
|
250
|
+
createVNode(_sfc_main$2, {
|
|
251
|
+
configure: __props.configure,
|
|
252
|
+
systemCode: __props.pageDesign.systemCode
|
|
253
|
+
}, null, 8, ["configure", "systemCode"])
|
|
254
|
+
]),
|
|
255
|
+
_: 1
|
|
256
|
+
}, 512), [
|
|
257
|
+
[vShow, __props.configure.props.base.tittleShow]
|
|
258
|
+
]),
|
|
239
259
|
withDirectives(createVNode(_component_el_form_item, {
|
|
240
260
|
label: "标题宽度",
|
|
241
261
|
class: "amb-design-attr-item"
|
|
@@ -430,11 +450,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
430
450
|
]),
|
|
431
451
|
_: 1
|
|
432
452
|
}),
|
|
433
|
-
(openBlock(), createBlock(_sfc_main$
|
|
453
|
+
(openBlock(), createBlock(_sfc_main$3, {
|
|
434
454
|
key: __props.configure.uuid,
|
|
435
455
|
configure: __props.configure
|
|
436
456
|
}, null, 8, ["configure"])),
|
|
437
|
-
withDirectives(createVNode(_sfc_main$
|
|
457
|
+
withDirectives(createVNode(_sfc_main$4, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
438
458
|
[vShow, __props.configure.props.base.tittleShow]
|
|
439
459
|
]),
|
|
440
460
|
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
@@ -494,7 +514,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
494
514
|
]),
|
|
495
515
|
_: 1
|
|
496
516
|
})),
|
|
497
|
-
!isTable.value ? (openBlock(), createBlock(_sfc_main$
|
|
517
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$5, {
|
|
498
518
|
key: __props.configure.uuid,
|
|
499
519
|
size: __props.configure.props.size
|
|
500
520
|
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
@@ -13,6 +13,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
type: Object,
|
|
14
14
|
default: () => ({ title: "Text", props: { type: "input-text" } })
|
|
15
15
|
// 设置默认值
|
|
16
|
+
},
|
|
17
|
+
// 页面设计对象
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
setup(__props) {
|
|
@@ -26,8 +32,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
32
|
createElementVNode("div", _hoisted_2, [
|
|
27
33
|
withDirectives(createVNode(_sfc_main$1, {
|
|
28
34
|
configure: __props.configure,
|
|
35
|
+
pageDesign: __props.pageDesign,
|
|
29
36
|
onChangeAssembly: _cache[1] || (_cache[1] = (val) => _ctx.$emit("changeAssembly", val))
|
|
30
|
-
}, null, 8, ["configure"]), [
|
|
37
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
31
38
|
[vShow, unref(currentConfigType) === "base"]
|
|
32
39
|
]),
|
|
33
40
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode } from "vue";
|
|
2
|
-
import _sfc_main$
|
|
2
|
+
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
3
3
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
4
|
+
import _sfc_main$1 from "../../common/common-i18n-setting.vue.js";
|
|
4
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
5
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
7
|
__name: "divider-attr-base",
|
|
@@ -9,6 +10,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
10
|
type: Object,
|
|
10
11
|
required: true
|
|
11
12
|
},
|
|
13
|
+
pageDesign: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => {
|
|
16
|
+
}
|
|
17
|
+
},
|
|
12
18
|
default: () => ({ props: {} })
|
|
13
19
|
},
|
|
14
20
|
setup(__props) {
|
|
@@ -71,6 +77,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
77
|
]),
|
|
72
78
|
_: 1
|
|
73
79
|
}),
|
|
80
|
+
createVNode(_component_el_form_item, {
|
|
81
|
+
label: "国际化标题",
|
|
82
|
+
class: "amb-design-attr-item"
|
|
83
|
+
}, {
|
|
84
|
+
default: withCtx(() => [
|
|
85
|
+
createVNode(_sfc_main$1, {
|
|
86
|
+
configure: __props.configure,
|
|
87
|
+
systemCode: __props.pageDesign.systemCode
|
|
88
|
+
}, null, 8, ["configure", "systemCode"])
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}),
|
|
74
92
|
createVNode(_component_el_form_item, {
|
|
75
93
|
label: "文本位置",
|
|
76
94
|
class: "amb-design-attr-item"
|
|
@@ -173,7 +191,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
173
191
|
]),
|
|
174
192
|
_: 1
|
|
175
193
|
}),
|
|
176
|
-
(openBlock(), createBlock(_sfc_main$
|
|
194
|
+
(openBlock(), createBlock(_sfc_main$2, {
|
|
177
195
|
key: __props.configure.uuid,
|
|
178
196
|
size: __props.configure.props.size
|
|
179
197
|
}, null, 8, ["size"]))
|
|
@@ -13,6 +13,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
type: Object,
|
|
14
14
|
default: () => ({ title: "Text", props: { type: "input-text" } })
|
|
15
15
|
// 设置默认值
|
|
16
|
+
},
|
|
17
|
+
// 页面设计对象
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
setup(__props) {
|
|
@@ -24,7 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
30
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(currentConfigType) ? currentConfigType.value = $event : currentConfigType = $event)
|
|
25
31
|
}, null, 8, ["modelValue"]),
|
|
26
32
|
createElementVNode("div", _hoisted_2, [
|
|
27
|
-
withDirectives(createVNode(_sfc_main$1, {
|
|
33
|
+
withDirectives(createVNode(_sfc_main$1, {
|
|
34
|
+
configure: __props.configure,
|
|
35
|
+
pageDesign: __props.pageDesign
|
|
36
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
28
37
|
[vShow, unref(currentConfigType) === "base"]
|
|
29
38
|
]),
|
|
30
39
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
|
-
import _sfc_main$
|
|
5
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
|
+
import _sfc_main$3 from "../common/uploading.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
8
|
+
import _sfc_main$2 from "../../common/common-i18n-setting.vue.js";
|
|
8
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
10
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -14,6 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
15
|
type: Object,
|
|
15
16
|
required: true,
|
|
16
17
|
default: () => ({ props: {} })
|
|
18
|
+
},
|
|
19
|
+
pageDesign: {
|
|
20
|
+
type: Object,
|
|
21
|
+
default: () => {
|
|
22
|
+
}
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
25
|
emits: ["changeAssembly"],
|
|
@@ -206,6 +212,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
206
212
|
}, 512), [
|
|
207
213
|
[vShow, __props.configure.props.base.tittleShow]
|
|
208
214
|
]),
|
|
215
|
+
createVNode(_component_el_form_item, {
|
|
216
|
+
label: "国际化标题",
|
|
217
|
+
class: "amb-design-attr-item"
|
|
218
|
+
}, {
|
|
219
|
+
default: withCtx(() => [
|
|
220
|
+
createVNode(_sfc_main$2, {
|
|
221
|
+
configure: __props.configure,
|
|
222
|
+
systemCode: __props.pageDesign.systemCode
|
|
223
|
+
}, null, 8, ["configure", "systemCode"])
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
}),
|
|
209
227
|
withDirectives(createVNode(_component_el_form_item, {
|
|
210
228
|
label: "标题宽度",
|
|
211
229
|
class: "amb-design-attr-item"
|
|
@@ -270,7 +288,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
270
288
|
]),
|
|
271
289
|
_: 1
|
|
272
290
|
}),
|
|
273
|
-
createVNode(_sfc_main$
|
|
291
|
+
createVNode(_sfc_main$3, {
|
|
274
292
|
uploadConfig: __props.configure.props.uploadConfig
|
|
275
293
|
}, {
|
|
276
294
|
addition: withCtx((scope) => [
|
|
@@ -382,7 +400,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
382
400
|
]),
|
|
383
401
|
_: 1
|
|
384
402
|
})),
|
|
385
|
-
!isTable.value ? (openBlock(), createBlock(_sfc_main$
|
|
403
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
386
404
|
key: __props.configure.uuid,
|
|
387
405
|
size: __props.configure.props.size
|
|
388
406
|
}, null, 8, ["size"])) : createCommentVNode("", true)
|
|
@@ -13,6 +13,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
type: Object,
|
|
14
14
|
default: () => ({ title: "Text", props: { type: "input-text" } })
|
|
15
15
|
// 设置默认值
|
|
16
|
+
},
|
|
17
|
+
// 页面设计对象
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
setup(__props) {
|
|
@@ -26,8 +32,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
32
|
createElementVNode("div", _hoisted_2, [
|
|
27
33
|
withDirectives(createVNode(_sfc_main$1, {
|
|
28
34
|
configure: __props.configure,
|
|
35
|
+
pageDesign: __props.pageDesign,
|
|
29
36
|
onChangeAssembly: _cache[1] || (_cache[1] = (val) => _ctx.$emit("changeAssembly", val))
|
|
30
|
-
}, null, 8, ["configure"]), [
|
|
37
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
31
38
|
[vShow, unref(currentConfigType) === "base"]
|
|
32
39
|
]),
|
|
33
40
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$4 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$
|
|
7
|
+
import _sfc_main$3 from "../common/title-suffix.vue.js";
|
|
8
|
+
import _sfc_main$2 from "../../common/common-i18n-setting.vue.js";
|
|
8
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
10
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -14,6 +15,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
15
|
type: Object,
|
|
15
16
|
required: true
|
|
16
17
|
},
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
22
|
+
},
|
|
17
23
|
default: () => ({ props: {} })
|
|
18
24
|
},
|
|
19
25
|
emits: ["changeAssembly"],
|
|
@@ -196,6 +202,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
196
202
|
}, 512), [
|
|
197
203
|
[vShow, __props.configure.props.base.tittleShow]
|
|
198
204
|
]),
|
|
205
|
+
createVNode(_component_el_form_item, {
|
|
206
|
+
label: "国际化标题",
|
|
207
|
+
class: "amb-design-attr-item"
|
|
208
|
+
}, {
|
|
209
|
+
default: withCtx(() => [
|
|
210
|
+
createVNode(_sfc_main$2, {
|
|
211
|
+
configure: __props.configure,
|
|
212
|
+
systemCode: __props.pageDesign.systemCode
|
|
213
|
+
}, null, 8, ["configure", "systemCode"])
|
|
214
|
+
]),
|
|
215
|
+
_: 1
|
|
216
|
+
}),
|
|
199
217
|
withDirectives(createVNode(_component_el_form_item, {
|
|
200
218
|
label: "标题宽度",
|
|
201
219
|
class: "amb-design-attr-item"
|
|
@@ -401,7 +419,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
401
419
|
]),
|
|
402
420
|
_: 1
|
|
403
421
|
}),
|
|
404
|
-
withDirectives(createVNode(_sfc_main$
|
|
422
|
+
withDirectives(createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
405
423
|
[vShow, __props.configure.props.base.tittleShow]
|
|
406
424
|
]),
|
|
407
425
|
(openBlock(), createBlock(_component_el_collapse_item, {
|
|
@@ -461,7 +479,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
461
479
|
]),
|
|
462
480
|
_: 1
|
|
463
481
|
})),
|
|
464
|
-
!isTable.value ? (openBlock(), createBlock(_sfc_main$
|
|
482
|
+
!isTable.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
465
483
|
key: __props.configure.uuid,
|
|
466
484
|
size: __props.configure.props.size
|
|
467
485
|
}, null, 8, ["size"])) : createCommentVNode("", true)
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue2.js
CHANGED
|
@@ -13,6 +13,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
type: Object,
|
|
14
14
|
default: () => ({ title: "Text", props: { type: "input-text" } })
|
|
15
15
|
// 设置默认值
|
|
16
|
+
},
|
|
17
|
+
// 页面设计对象
|
|
18
|
+
pageDesign: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
},
|
|
18
24
|
setup(__props) {
|
|
@@ -26,8 +32,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
32
|
createElementVNode("div", _hoisted_2, [
|
|
27
33
|
withDirectives(createVNode(_sfc_main$1, {
|
|
28
34
|
configure: __props.configure,
|
|
35
|
+
pageDesign: __props.pageDesign,
|
|
29
36
|
onChangeAssembly: _cache[1] || (_cache[1] = (val) => _ctx.$emit("changeAssembly", val))
|
|
30
|
-
}, null, 8, ["configure"]), [
|
|
37
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
31
38
|
[vShow, unref(currentConfigType) === "base"]
|
|
32
39
|
]),
|
|
33
40
|
withDirectives(createVNode(_sfc_main$2, { configure: __props.configure }, null, 8, ["configure"]), [
|