super-page-designer 2.0.34 → 2.0.37
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 +378 -88
- package/dist/es/components/design/utils/container-design-util.js +6 -8
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +3 -2
- package/dist/es/components/design/utils/page-table-util.js +4 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +6 -3
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-style-margin.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/common/common-style-padding.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +691 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -686
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +77 -31
- package/dist/es/components/design/views/assemblys/container/card/card-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +12 -11
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/container/container-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +31 -15
- package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/container/form/form-attr-style.vue.js +21 -16
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +16 -19
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/tools/tools-attr-style.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/data/component/attr-header.vue.js +46 -5
- package/dist/es/components/design/views/assemblys/data/component/attr-header.vue2.js +1 -45
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +3 -58
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -2
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +6 -1
- 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 +1 -7
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +594 -5
- package/dist/es/components/design/views/design/page-event/page-event-content.vue2.js +1 -594
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +13 -4
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +0 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +88 -81
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +21 -2
- package/dist/es/stores/page-store.js +2 -1
- package/dist/es/style.css +1124 -1367
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue3.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/attr-header.vue3.js +0 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue3.js +0 -1
|
@@ -1,48 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
const _hoisted_1 = { class: "amb-design-attr-header" };
|
|
3
|
-
const _hoisted_2 = { class: "amb-design-attr-header-type" };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "attr-header",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: "base"
|
|
10
|
-
// 设置默认值
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
emits: ["update:modelValue"],
|
|
14
|
-
setup(__props, { emit: __emit }) {
|
|
15
|
-
const props = __props;
|
|
16
|
-
const emit = __emit;
|
|
17
|
-
const clickType = ref(props.modelValue);
|
|
18
|
-
function changeType(type) {
|
|
19
|
-
clickType.value = type;
|
|
20
|
-
emit("update:modelValue", type);
|
|
21
|
-
}
|
|
22
|
-
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
24
|
-
createElementVNode("div", _hoisted_2, [
|
|
25
|
-
createElementVNode("label", {
|
|
26
|
-
class: normalizeClass({ selected: clickType.value === "base" }),
|
|
27
|
-
onClick: _cache[0] || (_cache[0] = ($event) => changeType("base"))
|
|
28
|
-
}, "属性", 2),
|
|
29
|
-
createElementVNode("label", {
|
|
30
|
-
class: normalizeClass({ selected: clickType.value === "advanced" }),
|
|
31
|
-
onClick: _cache[1] || (_cache[1] = ($event) => changeType("advanced"))
|
|
32
|
-
}, "高级", 2),
|
|
33
|
-
createElementVNode("label", {
|
|
34
|
-
class: normalizeClass({ selected: clickType.value === "style" }),
|
|
35
|
-
onClick: _cache[2] || (_cache[2] = ($event) => changeType("style"))
|
|
36
|
-
}, "样式", 2),
|
|
37
|
-
createElementVNode("label", {
|
|
38
|
-
class: normalizeClass({ selected: clickType.value === "event" }),
|
|
39
|
-
onClick: _cache[3] || (_cache[3] = ($event) => changeType("event"))
|
|
40
|
-
}, "事件", 2)
|
|
41
|
-
])
|
|
42
|
-
]);
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
});
|
|
1
|
+
import _sfc_main from "./attr-header.vue.js";
|
|
46
2
|
export {
|
|
47
3
|
_sfc_main as default
|
|
48
4
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createTextVNode, createCommentVNode } from "vue";
|
|
2
|
-
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
2
|
+
import { getTableOperateConf, getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import DataOrigin from "../component/data-origin.vue.js";
|
|
4
4
|
import _sfc_main$3 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../../form/common/data-linkage.vue.js";
|
|
@@ -7,7 +7,7 @@ import "@element-plus/icons-vue";
|
|
|
7
7
|
import "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import { getUuidv4 } from "../../../../utils/common-util.js";
|
|
9
9
|
import "../../../../../../stores/page-store.js";
|
|
10
|
-
import "../../common/common-variable-bind.
|
|
10
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
11
11
|
import "../../../../utils/eventBus.js";
|
|
12
12
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
13
13
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -192,62 +192,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
192
192
|
() => props.configure.props.base.showOperation,
|
|
193
193
|
(newVal) => {
|
|
194
194
|
if (newVal) {
|
|
195
|
-
let selectColumn =
|
|
196
|
-
uuid: getUuidv4(),
|
|
197
|
-
name: "",
|
|
198
|
-
props: {
|
|
199
|
-
base: {
|
|
200
|
-
name: "操作",
|
|
201
|
-
title: "操作",
|
|
202
|
-
prop: "operation",
|
|
203
|
-
columnWidth: 150,
|
|
204
|
-
sortable: true,
|
|
205
|
-
visible: true,
|
|
206
|
-
alignTittle: "center",
|
|
207
|
-
alignContent: "center"
|
|
208
|
-
},
|
|
209
|
-
size: {},
|
|
210
|
-
editLine: {},
|
|
211
|
-
scan: {},
|
|
212
|
-
preSuffix: {},
|
|
213
|
-
verification: {},
|
|
214
|
-
dataOrigin: {
|
|
215
|
-
sortField: [{ name: "", type: "" }],
|
|
216
|
-
staticState: [{ label: "选项1", vaule: 1 }],
|
|
217
|
-
displayQuantity: 20
|
|
218
|
-
},
|
|
219
|
-
defaultValue: {},
|
|
220
|
-
inParameter: {},
|
|
221
|
-
title: {},
|
|
222
|
-
definition: {},
|
|
223
|
-
uploadConfig: {},
|
|
224
|
-
singleWidth: {},
|
|
225
|
-
suffixModule: {},
|
|
226
|
-
querySetting: {},
|
|
227
|
-
formatting: {
|
|
228
|
-
type: "",
|
|
229
|
-
suffixModule: {
|
|
230
|
-
jumpPageAdditional: [],
|
|
231
|
-
icon: ""
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
events: [
|
|
236
|
-
{ name: "show", label: "列表显示", tip: "列表显示回调方法" },
|
|
237
|
-
{ name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }
|
|
238
|
-
],
|
|
239
|
-
style: {
|
|
240
|
-
titleFont: {},
|
|
241
|
-
contentFont: {},
|
|
242
|
-
width: {},
|
|
243
|
-
background: {},
|
|
244
|
-
conentPadding: {},
|
|
245
|
-
tittlePadding: {},
|
|
246
|
-
border: {},
|
|
247
|
-
shadow: {},
|
|
248
|
-
tittleClass: ""
|
|
249
|
-
}
|
|
250
|
-
};
|
|
195
|
+
let selectColumn = getTableOperateConf();
|
|
251
196
|
props.configure.items.push(selectColumn);
|
|
252
197
|
} else {
|
|
253
198
|
let delIndex = null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createElementBlock, createVNode, unref, isRef, createElementVNode, withDirectives, createBlock, vShow } from "vue";
|
|
2
|
-
import _sfc_main$
|
|
3
|
-
import _sfc_main$
|
|
4
|
-
import _sfc_main$
|
|
5
|
-
import
|
|
6
|
-
import _sfc_main$
|
|
2
|
+
import _sfc_main$5 from "./table-attr-base.vue.js";
|
|
3
|
+
import _sfc_main$6 from "./table-attr-advanced.vue.js";
|
|
4
|
+
import _sfc_main$7 from "./table-attr-style.vue.js";
|
|
5
|
+
import _sfc_main$4 from "../component/attr-header.vue.js";
|
|
6
|
+
import _sfc_main$8 from "./table-attr-event.vue.js";
|
|
7
7
|
import AttrHeader from "../../form/common/attr-header.vue.js";
|
|
8
8
|
import _sfc_main$1 from "./tablecolumn-attr-base.vue.js";
|
|
9
9
|
import _sfc_main$2 from "./tablecolumn-attr-style.vue.js";
|
|
@@ -67,28 +67,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
67
|
])
|
|
68
68
|
])
|
|
69
69
|
])) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
70
|
-
createVNode(
|
|
70
|
+
createVNode(_sfc_main$4, {
|
|
71
71
|
modelValue: unref(currentConfigType),
|
|
72
72
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(currentConfigType) ? currentConfigType.value = $event : currentConfigType = $event)
|
|
73
73
|
}, null, 8, ["modelValue"]),
|
|
74
74
|
createElementVNode("div", _hoisted_4, [
|
|
75
|
-
withDirectives(createVNode(_sfc_main$
|
|
75
|
+
withDirectives(createVNode(_sfc_main$5, {
|
|
76
76
|
pageDesign: __props.pageDesign,
|
|
77
77
|
configure: __props.configure
|
|
78
78
|
}, null, 8, ["pageDesign", "configure"]), [
|
|
79
79
|
[vShow, unref(currentConfigType) === "base"]
|
|
80
80
|
]),
|
|
81
|
-
withDirectives(createVNode(_sfc_main$
|
|
81
|
+
withDirectives(createVNode(_sfc_main$6, {
|
|
82
82
|
pageDesign: __props.pageDesign,
|
|
83
83
|
configure: __props.configure,
|
|
84
84
|
tableConfigure: tableConfigure.value
|
|
85
85
|
}, null, 8, ["pageDesign", "configure", "tableConfigure"]), [
|
|
86
86
|
[vShow, unref(currentConfigType) === "advanced"]
|
|
87
87
|
]),
|
|
88
|
-
withDirectives(createVNode(_sfc_main$
|
|
88
|
+
withDirectives(createVNode(_sfc_main$7, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
89
89
|
[vShow, unref(currentConfigType) === "style"]
|
|
90
90
|
]),
|
|
91
|
-
withDirectives(createVNode(_sfc_main$
|
|
91
|
+
withDirectives(createVNode(_sfc_main$8, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
92
92
|
[vShow, unref(currentConfigType) === "event"]
|
|
93
93
|
])
|
|
94
94
|
])
|
|
@@ -23,8 +23,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
if (props.configure.isTable) {
|
|
24
24
|
isTable.value = true;
|
|
25
25
|
}
|
|
26
|
-
function afterBindVariable(modelValue) {
|
|
26
|
+
function afterBindVariable(modelValue, alias) {
|
|
27
27
|
props.configure.props.base.prop = modelValue;
|
|
28
|
+
if (alias) {
|
|
29
|
+
props.configure.props.base.title = alias;
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
function afterBindDefaultValue(modelValue) {
|
|
30
33
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -6,7 +6,7 @@ import "uuid";
|
|
|
6
6
|
import "@element-plus/icons-vue";
|
|
7
7
|
import http from "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import { usePageContextStore } from "../../../../../../stores/page-store.js";
|
|
9
|
-
import "../../common/common-variable-bind.
|
|
9
|
+
import "../../common/common-variable-bind.vue3.js";
|
|
10
10
|
import _sfc_main$4 from "./data-origin-service-in.vue.js";
|
|
11
11
|
import { queryTableFields } from "../../../../utils/page-table-util.js";
|
|
12
12
|
import _sfc_main$5 from "../../common/common-select-table.vue.js";
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, withDirectives, vShow, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, withDirectives, vShow, createTextVNode } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { getCustomFuncs } from "../../../../utils/page-event-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
@@ -10,7 +10,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
__name: "datepicker-attr-base",
|
|
11
11
|
props: {
|
|
12
12
|
configure: {
|
|
13
|
-
type: Object
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
14
15
|
},
|
|
15
16
|
default: () => ({ props: {} })
|
|
16
17
|
},
|
|
@@ -26,12 +27,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
27
|
const isScope = (!propBase.type || propBase.type != "week" && propBase.type != "year") && propBase.dateScope;
|
|
27
28
|
return isScope ? "默认值1" : "默认值";
|
|
28
29
|
});
|
|
29
|
-
|
|
30
|
-
const propBase = props.configure.props.base;
|
|
31
|
-
return (!propBase.type || propBase.type != "week" && propBase.type != "year") && propBase.dateScope;
|
|
32
|
-
});
|
|
33
|
-
function afterBindVariable(modelValue) {
|
|
30
|
+
function afterBindVariable(modelValue, alias) {
|
|
34
31
|
props.configure.props.base.prop = modelValue;
|
|
32
|
+
if (alias) {
|
|
33
|
+
props.configure.props.base.title = alias;
|
|
34
|
+
}
|
|
35
35
|
}
|
|
36
36
|
function afterBindDefaultValue(modelValue, fieldName) {
|
|
37
37
|
if (fieldName === "defaultValue2") {
|
|
@@ -127,7 +127,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
127
|
_: 1
|
|
128
128
|
})) : createCommentVNode("", true),
|
|
129
129
|
createVNode(_component_el_form_item, {
|
|
130
|
-
label:
|
|
130
|
+
label: labelName.value,
|
|
131
131
|
class: "amb-design-attr-item"
|
|
132
132
|
}, {
|
|
133
133
|
default: withCtx(() => [
|
|
@@ -25,8 +25,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
if (props.configure.isTable) {
|
|
26
26
|
isTable.value = true;
|
|
27
27
|
}
|
|
28
|
-
function afterBindVariable(modelValue) {
|
|
28
|
+
function afterBindVariable(modelValue, alias) {
|
|
29
29
|
props.configure.props.base.prop = modelValue;
|
|
30
|
+
if (alias) {
|
|
31
|
+
props.configure.props.base.title = alias;
|
|
32
|
+
}
|
|
30
33
|
}
|
|
31
34
|
function afterBindDefaultValue(modelValue) {
|
|
32
35
|
props.configure.props.base.defaultValue = modelValue;
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -28,12 +28,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
if (props.configure.isTable) {
|
|
29
29
|
isTable.value = true;
|
|
30
30
|
}
|
|
31
|
-
function afterBindVariable(modelValue, fieldName) {
|
|
31
|
+
function afterBindVariable(modelValue, fieldName, alias) {
|
|
32
32
|
if (fieldName == "prop") {
|
|
33
33
|
props.configure.props.base.prop = modelValue;
|
|
34
34
|
} else {
|
|
35
35
|
props.configure.props.base.propName = modelValue;
|
|
36
36
|
}
|
|
37
|
+
if (alias) {
|
|
38
|
+
props.configure.props.base.title = alias;
|
|
39
|
+
}
|
|
37
40
|
}
|
|
38
41
|
return (_ctx, _cache) => {
|
|
39
42
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -116,7 +119,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
119
|
key: __props.configure.uuid,
|
|
117
120
|
modelValue: __props.configure.props.base.prop,
|
|
118
121
|
paramTypes: ["data"],
|
|
119
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = (value) => afterBindVariable(value, "prop"))
|
|
122
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = (value, alias) => afterBindVariable(value, "prop", alias))
|
|
120
123
|
}, null, 8, ["modelValue"]))
|
|
121
124
|
]),
|
|
122
125
|
_: 1
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -21,8 +21,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
if (props.configure.isTable) {
|
|
22
22
|
isTable.value = true;
|
|
23
23
|
}
|
|
24
|
-
function afterBindVariable(modelValue) {
|
|
24
|
+
function afterBindVariable(modelValue, alias) {
|
|
25
25
|
props.configure.props.base.prop = modelValue;
|
|
26
|
+
if (alias) {
|
|
27
|
+
props.configure.props.base.title = alias;
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
30
|
function afterBindDefaultValue(modelValue) {
|
|
28
31
|
props.configure.props.base.defaultValue = modelValue;
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -51,8 +51,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
51
|
function barCodeRuleRemove(row) {
|
|
52
52
|
props.configure.props.scan.ruleList = props.configure.props.scan.ruleList.filter((item) => item !== row);
|
|
53
53
|
}
|
|
54
|
-
function afterBindVariable(modelValue) {
|
|
54
|
+
function afterBindVariable(modelValue, alias) {
|
|
55
55
|
props.configure.props.base.prop = modelValue;
|
|
56
|
+
if (alias) {
|
|
57
|
+
props.configure.props.base.title = alias;
|
|
58
|
+
}
|
|
56
59
|
}
|
|
57
60
|
function afterBindDefaultValue(modelValue) {
|
|
58
61
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -25,8 +25,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
if (props.configure.isTable) {
|
|
26
26
|
isTable.value = true;
|
|
27
27
|
}
|
|
28
|
-
function afterBindVariable(modelValue) {
|
|
28
|
+
function afterBindVariable(modelValue, alias) {
|
|
29
29
|
props.configure.props.base.prop = modelValue;
|
|
30
|
+
if (alias) {
|
|
31
|
+
props.configure.props.base.title = alias;
|
|
32
|
+
}
|
|
30
33
|
}
|
|
31
34
|
function afterBindDefaultValue(modelValue) {
|
|
32
35
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -27,8 +27,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
if (props.configure.isTable) {
|
|
28
28
|
isTable.value = true;
|
|
29
29
|
}
|
|
30
|
-
function afterBindVariable(modelValue) {
|
|
30
|
+
function afterBindVariable(modelValue, alias) {
|
|
31
31
|
props.configure.props.base.prop = modelValue;
|
|
32
|
+
if (alias) {
|
|
33
|
+
props.configure.props.base.title = alias;
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
function afterBindDefaultValue(modelValue) {
|
|
34
37
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -20,8 +20,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
if (props.configure.isTable) {
|
|
21
21
|
isTable.value = true;
|
|
22
22
|
}
|
|
23
|
-
function afterBindVariable(modelValue) {
|
|
23
|
+
function afterBindVariable(modelValue, alias) {
|
|
24
24
|
props.configure.props.base.prop = modelValue;
|
|
25
|
+
if (alias) {
|
|
26
|
+
props.configure.props.base.title = alias;
|
|
27
|
+
}
|
|
25
28
|
}
|
|
26
29
|
function afterBindDefaultValue(modelValue) {
|
|
27
30
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -21,8 +21,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
if (props.configure.isTable) {
|
|
22
22
|
isTable.value = true;
|
|
23
23
|
}
|
|
24
|
-
function afterBindVariable(modelValue) {
|
|
24
|
+
function afterBindVariable(modelValue, alias) {
|
|
25
25
|
props.configure.props.base.prop = modelValue;
|
|
26
|
+
if (alias) {
|
|
27
|
+
props.configure.props.base.title = alias;
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
30
|
function afterBindDefaultValue(modelValue) {
|
|
28
31
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -23,8 +23,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
if (props.configure.isTable) {
|
|
24
24
|
isTable.value = true;
|
|
25
25
|
}
|
|
26
|
-
function afterBindVariable(modelValue) {
|
|
26
|
+
function afterBindVariable(modelValue, alias) {
|
|
27
27
|
props.configure.props.base.prop = modelValue;
|
|
28
|
+
if (alias) {
|
|
29
|
+
props.configure.props.base.title = alias;
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
function afterBindLabelVariable(modelValue) {
|
|
30
33
|
props.configure.props.base.optionProp = modelValue;
|
|
@@ -21,8 +21,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
if (props.configure.isTable) {
|
|
22
22
|
isTable.value = true;
|
|
23
23
|
}
|
|
24
|
-
function afterBindVariable(modelValue) {
|
|
24
|
+
function afterBindVariable(modelValue, alias) {
|
|
25
25
|
props.configure.props.base.prop = modelValue;
|
|
26
|
+
if (alias) {
|
|
27
|
+
props.configure.props.base.title = alias;
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
30
|
function afterBindDefaultValue(modelValue) {
|
|
28
31
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -20,8 +20,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
if (props.configure.isTable) {
|
|
21
21
|
isTable.value = true;
|
|
22
22
|
}
|
|
23
|
-
function afterBindVariable(modelValue) {
|
|
23
|
+
function afterBindVariable(modelValue, alias) {
|
|
24
24
|
props.configure.props.base.prop = modelValue;
|
|
25
|
+
if (alias) {
|
|
26
|
+
props.configure.props.base.title = alias;
|
|
27
|
+
}
|
|
25
28
|
}
|
|
26
29
|
function afterBindDefaultValue(modelValue) {
|
|
27
30
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -21,8 +21,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
21
|
if (props.configure.isTable) {
|
|
22
22
|
isTable.value = true;
|
|
23
23
|
}
|
|
24
|
-
function afterBindVariable(modelValue) {
|
|
24
|
+
function afterBindVariable(modelValue, alias) {
|
|
25
25
|
props.configure.props.base.prop = modelValue;
|
|
26
|
+
if (alias) {
|
|
27
|
+
props.configure.props.base.title = alias;
|
|
28
|
+
}
|
|
26
29
|
}
|
|
27
30
|
function afterBindDefaultValue(modelValue) {
|
|
28
31
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -154,6 +154,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
154
154
|
const thisRef = ref(null);
|
|
155
155
|
const designStyle = ref({});
|
|
156
156
|
const designClass = ref("");
|
|
157
|
+
const outerHeightStyle = ref({});
|
|
157
158
|
function caculateNewStyle() {
|
|
158
159
|
caculateCommonStyle(props.configure, designStyle, designClass);
|
|
159
160
|
if (!props.configure.runtime) {
|
|
@@ -202,6 +203,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
202
203
|
}
|
|
203
204
|
const outerStyle = computed(() => {
|
|
204
205
|
const tempStyle = designStyle.value;
|
|
206
|
+
outerHeightStyle.value = {};
|
|
205
207
|
if (!tempStyle || !props.pageDesign) {
|
|
206
208
|
return {};
|
|
207
209
|
}
|
|
@@ -214,6 +216,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
214
216
|
if (styleConf) {
|
|
215
217
|
style["width"] = styleConf.width;
|
|
216
218
|
style["height"] = styleConf.height;
|
|
219
|
+
outerHeightStyle.value = {
|
|
220
|
+
height: styleConf.height
|
|
221
|
+
};
|
|
217
222
|
}
|
|
218
223
|
designClass.value = tempStyle[dimentions + "_class"];
|
|
219
224
|
console.log("outerStyle1", styleConf, tempStyle);
|
|
@@ -263,7 +268,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
263
268
|
ref: thisRef
|
|
264
269
|
}, [
|
|
265
270
|
(openBlock(), createBlock(resolveDynamicComponent(dynamicComponent.value), {
|
|
266
|
-
style: normalizeStyle([designStyle.value,
|
|
271
|
+
style: normalizeStyle([designStyle.value, outerHeightStyle.value]),
|
|
267
272
|
configure: _ctx.configure,
|
|
268
273
|
pageDesign: _ctx.pageDesign,
|
|
269
274
|
indexObj: _ctx.indexObj,
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import _sfc_main from "./config.vue3.js";
|
|
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,7 +1 @@
|
|
|
1
|
-
|
|
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
|
-
};
|
|
1
|
+
|