super-page-designer 2.1.38 → 2.1.41-tmp1
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 +67 -1
- package/dist/es/components/design/utils/container-design-util.js +4 -0
- package/dist/es/components/design/utils/form-design-util.d.ts +1 -1
- package/dist/es/components/design/utils/form-design-util.js +10 -1
- package/dist/es/components/design/utils/page-event-util.js +10 -6
- package/dist/es/components/design/utils/page-table-util.js +26 -4
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +542 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +230 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +205 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +198 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +507 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +285 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1177 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue.js +97 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue.js +5 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue2.js +62 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue.js +8 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +358 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue4.js +1 -0
- package/dist/es/components/design/views/assemblys/common/common-function-code.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +3 -1
- package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -2
- 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.vue3.js +18 -13
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +12 -10
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +2 -0
- 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 +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +5 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -1
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +11 -8
- package/dist/es/components/design/views/assemblys/form/common/uploading.vue.js +32 -0
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +54 -16
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +46 -8
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +15 -2
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +48 -10
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +46 -8
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +39 -1
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/radio/radio-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +48 -10
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +49 -11
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +42 -4
- package/dist/es/components/design/views/assemblys/form/tag/tag-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +52 -14
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +4 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +21 -2
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +14 -7
- package/dist/es/components/design/views/design/page-event/config.vue.js +2 -2
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -336
- package/dist/es/components/design/views/design/page-event/config.vue3.js +336 -1
- 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 +10 -0
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/stores/page-store.d.ts +1 -1
- package/dist/es/stores/page-store.js +1 -1
- package/dist/es/stores/statistics-table-store.d.ts +10 -0
- package/dist/es/stores/statistics-table-store.js +20 -0
- package/dist/es/style.css +775 -102
- package/package.json +6 -5
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
default: withCtx(() => [
|
|
75
75
|
createVNode(_component_el_collapse, {
|
|
76
76
|
modelValue: openCollapseItems.value,
|
|
77
|
-
"onUpdate:modelValue": _cache[
|
|
77
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => openCollapseItems.value = $event),
|
|
78
78
|
style: { "margin-top": "6px" }
|
|
79
79
|
}, {
|
|
80
80
|
default: withCtx(() => [
|
|
@@ -229,6 +229,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
229
229
|
}, 512), [
|
|
230
230
|
[vShow, __props.configure.props.base.tittleShow]
|
|
231
231
|
]),
|
|
232
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
233
|
+
label: "标题超宽",
|
|
234
|
+
title: "标题超宽显示",
|
|
235
|
+
class: "amb-design-attr-item"
|
|
236
|
+
}, {
|
|
237
|
+
default: withCtx(() => [
|
|
238
|
+
createVNode(_component_el_radio_group, {
|
|
239
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
240
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
241
|
+
class: "ml-4"
|
|
242
|
+
}, {
|
|
243
|
+
default: withCtx(() => [
|
|
244
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
245
|
+
default: withCtx(() => [
|
|
246
|
+
createTextVNode("换行")
|
|
247
|
+
]),
|
|
248
|
+
_: 1
|
|
249
|
+
}),
|
|
250
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
251
|
+
default: withCtx(() => [
|
|
252
|
+
createTextVNode("不换行")
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}),
|
|
256
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
257
|
+
default: withCtx(() => [
|
|
258
|
+
createTextVNode("省略号")
|
|
259
|
+
]),
|
|
260
|
+
_: 1
|
|
261
|
+
})
|
|
262
|
+
]),
|
|
263
|
+
_: 1
|
|
264
|
+
}, 8, ["modelValue"])
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
}, 512), [
|
|
268
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
269
|
+
]),
|
|
232
270
|
createVNode(_component_el_form_item, {
|
|
233
271
|
label: "输入提示",
|
|
234
272
|
class: "amb-design-attr-item"
|
|
@@ -236,7 +274,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
236
274
|
default: withCtx(() => [
|
|
237
275
|
createVNode(_sfc_main$2, {
|
|
238
276
|
modelValue: __props.configure.props.base.placeholder,
|
|
239
|
-
"onUpdate:modelValue": _cache[
|
|
277
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
240
278
|
}, null, 8, ["modelValue"])
|
|
241
279
|
]),
|
|
242
280
|
_: 1
|
|
@@ -248,7 +286,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
248
286
|
default: withCtx(() => [
|
|
249
287
|
createVNode(_component_el_radio_group, {
|
|
250
288
|
modelValue: __props.configure.props.base.state,
|
|
251
|
-
"onUpdate:modelValue": _cache[
|
|
289
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.state = $event),
|
|
252
290
|
class: "ml-4"
|
|
253
291
|
}, {
|
|
254
292
|
default: withCtx(() => [
|
|
@@ -344,7 +382,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
344
382
|
default: withCtx(() => [
|
|
345
383
|
createVNode(_component_el_checkbox, {
|
|
346
384
|
modelValue: __props.configure.props.verification.required,
|
|
347
|
-
"onUpdate:modelValue": _cache[
|
|
385
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.verification.required = $event),
|
|
348
386
|
label: "必填"
|
|
349
387
|
}, null, 8, ["modelValue"])
|
|
350
388
|
]),
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js
CHANGED
|
@@ -17,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
const designClass = ref("");
|
|
18
18
|
const designHeaderStyle = ref({});
|
|
19
19
|
const designProperty = ref({});
|
|
20
|
+
const titleExceedStyle = ref({});
|
|
20
21
|
function getRestsParameter() {
|
|
21
22
|
let defineProps = props.configure.props ? props.configure.props : {};
|
|
22
23
|
const uploadConfig = defineProps.uploadConfig ? defineProps.uploadConfig : {};
|
|
@@ -32,12 +33,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
33
|
tempProps["placeholder"] = propBase.placeholder;
|
|
33
34
|
if (uploadConfig.accept) {
|
|
34
35
|
tempProps.accept = uploadConfig.accept;
|
|
36
|
+
} else {
|
|
37
|
+
tempProps.accept = null;
|
|
35
38
|
}
|
|
36
39
|
if (uploadConfig.multiple) {
|
|
37
40
|
tempProps.multiple = uploadConfig.multiple;
|
|
41
|
+
} else {
|
|
42
|
+
tempProps.multiple = false;
|
|
38
43
|
}
|
|
39
44
|
if (uploadConfig.limitFileSize) {
|
|
40
45
|
tempProps.limitFileSize = uploadConfig.limitFileSize;
|
|
46
|
+
} else {
|
|
47
|
+
tempProps.limitFileSize = null;
|
|
48
|
+
}
|
|
49
|
+
if (uploadConfig.openCameraOrChoosePhoto) {
|
|
50
|
+
tempProps.openCameraOrChoosePhoto = uploadConfig.openCameraOrChoosePhoto;
|
|
51
|
+
} else {
|
|
52
|
+
tempProps.openCameraOrChoosePhoto = null;
|
|
41
53
|
}
|
|
42
54
|
tempProps["isDeleteNow"] = uploadConfig.isDeleteNow;
|
|
43
55
|
Object.assign(designProperty.value, tempProps);
|
|
@@ -55,9 +67,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
67
|
watch(
|
|
56
68
|
props.configure.props,
|
|
57
69
|
() => {
|
|
58
|
-
caculateComponentProps(props.configure, designProperty);
|
|
70
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
59
71
|
getRestsParameter();
|
|
60
72
|
props.configure.runtime.props = designProperty.value;
|
|
73
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
61
74
|
console.log("designProperty", designProperty.value);
|
|
62
75
|
},
|
|
63
76
|
{ immediate: true }
|
|
@@ -73,7 +86,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
86
|
label: withCtx(() => [
|
|
74
87
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
75
88
|
key: 0,
|
|
76
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
89
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
77
90
|
}, toDisplayString(designProperty.value.title ? designProperty.value.title : "Files"), 5)) : createCommentVNode("", true)
|
|
78
91
|
]),
|
|
79
92
|
default: withCtx(() => [
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -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(() => [
|
|
@@ -219,6 +219,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
219
219
|
}, 512), [
|
|
220
220
|
[vShow, __props.configure.props.base.tittleShow]
|
|
221
221
|
]),
|
|
222
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
223
|
+
label: "标题超宽",
|
|
224
|
+
title: "标题超宽显示",
|
|
225
|
+
class: "amb-design-attr-item"
|
|
226
|
+
}, {
|
|
227
|
+
default: withCtx(() => [
|
|
228
|
+
createVNode(_component_el_radio_group, {
|
|
229
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
230
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
231
|
+
class: "ml-4"
|
|
232
|
+
}, {
|
|
233
|
+
default: withCtx(() => [
|
|
234
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
235
|
+
default: withCtx(() => [
|
|
236
|
+
createTextVNode("换行")
|
|
237
|
+
]),
|
|
238
|
+
_: 1
|
|
239
|
+
}),
|
|
240
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
241
|
+
default: withCtx(() => [
|
|
242
|
+
createTextVNode("不换行")
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}),
|
|
246
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
247
|
+
default: withCtx(() => [
|
|
248
|
+
createTextVNode("省略号")
|
|
249
|
+
]),
|
|
250
|
+
_: 1
|
|
251
|
+
})
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
}, 8, ["modelValue"])
|
|
255
|
+
]),
|
|
256
|
+
_: 1
|
|
257
|
+
}, 512), [
|
|
258
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
259
|
+
]),
|
|
222
260
|
createVNode(_component_el_form_item, {
|
|
223
261
|
label: "输入提示",
|
|
224
262
|
class: "amb-design-attr-item"
|
|
@@ -226,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
264
|
default: withCtx(() => [
|
|
227
265
|
createVNode(_sfc_main$2, {
|
|
228
266
|
modelValue: __props.configure.props.base.placeholder,
|
|
229
|
-
"onUpdate:modelValue": _cache[
|
|
267
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
230
268
|
}, null, 8, ["modelValue"])
|
|
231
269
|
]),
|
|
232
270
|
_: 1
|
|
@@ -238,7 +276,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
238
276
|
default: withCtx(() => [
|
|
239
277
|
createVNode(_component_el_input, {
|
|
240
278
|
modelValue: __props.configure.props.base.min,
|
|
241
|
-
"onUpdate:modelValue": _cache[
|
|
279
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.min = $event),
|
|
242
280
|
modelModifiers: { number: true },
|
|
243
281
|
type: "number",
|
|
244
282
|
placeholder: "请输入"
|
|
@@ -253,7 +291,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
253
291
|
default: withCtx(() => [
|
|
254
292
|
createVNode(_component_el_input, {
|
|
255
293
|
modelValue: __props.configure.props.base.max,
|
|
256
|
-
"onUpdate:modelValue": _cache[
|
|
294
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.max = $event),
|
|
257
295
|
modelModifiers: { number: true },
|
|
258
296
|
type: "number",
|
|
259
297
|
placeholder: "请输入"
|
|
@@ -268,7 +306,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
268
306
|
default: withCtx(() => [
|
|
269
307
|
createVNode(_component_el_input, {
|
|
270
308
|
modelValue: __props.configure.props.base.step,
|
|
271
|
-
"onUpdate:modelValue": _cache[
|
|
309
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.step = $event),
|
|
272
310
|
modelModifiers: { number: true },
|
|
273
311
|
type: "number",
|
|
274
312
|
placeholder: "请输入"
|
|
@@ -283,7 +321,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
283
321
|
default: withCtx(() => [
|
|
284
322
|
createVNode(_component_el_select, {
|
|
285
323
|
modelValue: __props.configure.props.base.precision,
|
|
286
|
-
"onUpdate:modelValue": _cache[
|
|
324
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.precision = $event),
|
|
287
325
|
modelModifiers: { number: true },
|
|
288
326
|
placeholder: "请选择"
|
|
289
327
|
}, {
|
|
@@ -308,7 +346,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
308
346
|
default: withCtx(() => [
|
|
309
347
|
createVNode(_component_el_radio_group, {
|
|
310
348
|
modelValue: __props.configure.props.base.showButton,
|
|
311
|
-
"onUpdate:modelValue": _cache[
|
|
349
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.showButton = $event),
|
|
312
350
|
class: "ml-4"
|
|
313
351
|
}, {
|
|
314
352
|
default: withCtx(() => [
|
|
@@ -337,7 +375,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
337
375
|
default: withCtx(() => [
|
|
338
376
|
createVNode(_component_el_radio_group, {
|
|
339
377
|
modelValue: __props.configure.props.base.size,
|
|
340
|
-
"onUpdate:modelValue": _cache[
|
|
378
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.base.size = $event),
|
|
341
379
|
class: "ml-4"
|
|
342
380
|
}, {
|
|
343
381
|
default: withCtx(() => [
|
|
@@ -372,7 +410,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
372
410
|
default: withCtx(() => [
|
|
373
411
|
createVNode(_component_el_radio_group, {
|
|
374
412
|
modelValue: __props.configure.props.base.state,
|
|
375
|
-
"onUpdate:modelValue": _cache[
|
|
413
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.state = $event),
|
|
376
414
|
class: "ml-4"
|
|
377
415
|
}, {
|
|
378
416
|
default: withCtx(() => [
|
|
@@ -422,7 +460,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
422
460
|
default: withCtx(() => [
|
|
423
461
|
createVNode(_component_el_checkbox, {
|
|
424
462
|
modelValue: __props.configure.props.verification.required,
|
|
425
|
-
"onUpdate:modelValue": _cache[
|
|
463
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.verification.required = $event),
|
|
426
464
|
label: "必填"
|
|
427
465
|
}, null, 8, ["modelValue"])
|
|
428
466
|
]),
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js
CHANGED
|
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const designClass = ref("");
|
|
19
19
|
const designHeaderStyle = ref({});
|
|
20
20
|
const designProperty = ref({});
|
|
21
|
+
const titleExceedStyle = ref({});
|
|
21
22
|
function getRestsParameter() {
|
|
22
23
|
let defineProps = props.configure.props ? props.configure.props : {};
|
|
23
24
|
const propsBase = defineProps.base ? defineProps.base : {};
|
|
@@ -52,10 +53,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
53
|
watch(
|
|
53
54
|
props.configure.props,
|
|
54
55
|
() => {
|
|
55
|
-
caculateComponentProps(props.configure, designProperty);
|
|
56
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
56
57
|
getRestsParameter();
|
|
57
|
-
console.log("%c描述-104448", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", designProperty.value);
|
|
58
58
|
props.configure.runtime.props = designProperty.value;
|
|
59
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
59
60
|
},
|
|
60
61
|
{ immediate: true }
|
|
61
62
|
);
|
|
@@ -72,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
73
|
label: withCtx(() => [
|
|
73
74
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
74
75
|
key: 0,
|
|
75
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
76
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
76
77
|
}, [
|
|
77
78
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
78
79
|
key: 0,
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -89,7 +89,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
default: withCtx(() => [
|
|
90
90
|
createVNode(_component_el_collapse, {
|
|
91
91
|
modelValue: openCollapseItems.value,
|
|
92
|
-
"onUpdate:modelValue": _cache[
|
|
92
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => openCollapseItems.value = $event),
|
|
93
93
|
style: { "margin-top": "6px" }
|
|
94
94
|
}, {
|
|
95
95
|
default: withCtx(() => [
|
|
@@ -243,6 +243,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
243
243
|
}, 512), [
|
|
244
244
|
[vShow, __props.configure.props.base.tittleShow]
|
|
245
245
|
]),
|
|
246
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
247
|
+
label: "标题超宽",
|
|
248
|
+
title: "标题超宽显示",
|
|
249
|
+
class: "amb-design-attr-item"
|
|
250
|
+
}, {
|
|
251
|
+
default: withCtx(() => [
|
|
252
|
+
createVNode(_component_el_radio_group, {
|
|
253
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
254
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
255
|
+
class: "ml-4"
|
|
256
|
+
}, {
|
|
257
|
+
default: withCtx(() => [
|
|
258
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
259
|
+
default: withCtx(() => [
|
|
260
|
+
createTextVNode("换行")
|
|
261
|
+
]),
|
|
262
|
+
_: 1
|
|
263
|
+
}),
|
|
264
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
265
|
+
default: withCtx(() => [
|
|
266
|
+
createTextVNode("不换行")
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}),
|
|
270
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
271
|
+
default: withCtx(() => [
|
|
272
|
+
createTextVNode("省略号")
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
})
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}, 8, ["modelValue"])
|
|
279
|
+
]),
|
|
280
|
+
_: 1
|
|
281
|
+
}, 512), [
|
|
282
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
283
|
+
]),
|
|
246
284
|
createVNode(_component_el_form_item, {
|
|
247
285
|
label: "输入提示",
|
|
248
286
|
class: "amb-design-attr-item"
|
|
@@ -250,7 +288,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
250
288
|
default: withCtx(() => [
|
|
251
289
|
createVNode(_sfc_main$2, {
|
|
252
290
|
modelValue: __props.configure.props.base.placeholder,
|
|
253
|
-
"onUpdate:modelValue": _cache[
|
|
291
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
254
292
|
}, null, 8, ["modelValue"])
|
|
255
293
|
]),
|
|
256
294
|
_: 1
|
|
@@ -262,7 +300,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
262
300
|
default: withCtx(() => [
|
|
263
301
|
createVNode(_component_el_radio_group, {
|
|
264
302
|
modelValue: __props.configure.props.base.clearable,
|
|
265
|
-
"onUpdate:modelValue": _cache[
|
|
303
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.clearable = $event),
|
|
266
304
|
class: "ml-4"
|
|
267
305
|
}, {
|
|
268
306
|
default: withCtx(() => [
|
|
@@ -291,7 +329,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
291
329
|
default: withCtx(() => [
|
|
292
330
|
createVNode(_component_el_switch, {
|
|
293
331
|
modelValue: __props.configure.props.base.showInputNum,
|
|
294
|
-
"onUpdate:modelValue": _cache[
|
|
332
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.showInputNum = $event)
|
|
295
333
|
}, null, 8, ["modelValue"])
|
|
296
334
|
]),
|
|
297
335
|
_: 1
|
|
@@ -303,7 +341,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
303
341
|
default: withCtx(() => [
|
|
304
342
|
createVNode(_component_el_radio_group, {
|
|
305
343
|
modelValue: __props.configure.props.base.size,
|
|
306
|
-
"onUpdate:modelValue": _cache[
|
|
344
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.size = $event),
|
|
307
345
|
class: "ml-4"
|
|
308
346
|
}, {
|
|
309
347
|
default: withCtx(() => [
|
|
@@ -338,7 +376,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
338
376
|
default: withCtx(() => [
|
|
339
377
|
createVNode(_component_el_radio_group, {
|
|
340
378
|
modelValue: __props.configure.props.base.state,
|
|
341
|
-
"onUpdate:modelValue": _cache[
|
|
379
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.state = $event),
|
|
342
380
|
class: "ml-4"
|
|
343
381
|
}, {
|
|
344
382
|
default: withCtx(() => [
|
|
@@ -390,7 +428,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
390
428
|
default: withCtx(() => [
|
|
391
429
|
createVNode(_component_el_radio_group, {
|
|
392
430
|
modelValue: __props.configure.props.scan.enable,
|
|
393
|
-
"onUpdate:modelValue": _cache[
|
|
431
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.scan.enable = $event),
|
|
394
432
|
class: "ml-4"
|
|
395
433
|
}, {
|
|
396
434
|
default: withCtx(() => [
|
|
@@ -419,7 +457,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
419
457
|
default: withCtx(() => [
|
|
420
458
|
createVNode(_component_el_button, {
|
|
421
459
|
type: "primary",
|
|
422
|
-
onClick: _cache[
|
|
460
|
+
onClick: _cache[12] || (_cache[12] = ($event) => BarCodeRuleOff.value = true)
|
|
423
461
|
}, {
|
|
424
462
|
default: withCtx(() => [
|
|
425
463
|
createTextVNode("添加")
|
|
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
const designClass = ref("");
|
|
21
21
|
const designHeaderStyle = ref({});
|
|
22
22
|
const designProperty = ref({});
|
|
23
|
+
const titleExceedStyle = ref({});
|
|
23
24
|
function getRestsParameter() {
|
|
24
25
|
let defineProps = props.configure.props ? props.configure.props : {};
|
|
25
26
|
const tempProps = {};
|
|
@@ -51,9 +52,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
52
|
watch(
|
|
52
53
|
props.configure.props,
|
|
53
54
|
() => {
|
|
54
|
-
caculateComponentProps(props.configure, designProperty);
|
|
55
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
55
56
|
getRestsParameter();
|
|
56
57
|
props.configure.runtime.props = designProperty.value;
|
|
58
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
57
59
|
},
|
|
58
60
|
{ immediate: true }
|
|
59
61
|
);
|
|
@@ -69,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
71
|
label: withCtx(() => [
|
|
70
72
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
71
73
|
key: 0,
|
|
72
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
74
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
73
75
|
}, [
|
|
74
76
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
75
77
|
key: 0,
|
|
@@ -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[7] || (_cache[7] = ($event) => openCollapseItems.value = $event),
|
|
69
69
|
style: { "margin-top": "6px" }
|
|
70
70
|
}, {
|
|
71
71
|
default: withCtx(() => [
|
|
@@ -247,6 +247,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
247
247
|
_: 1
|
|
248
248
|
}, 512), [
|
|
249
249
|
[vShow, __props.configure.props.base.tittleShow]
|
|
250
|
+
]),
|
|
251
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
252
|
+
label: "标题超宽",
|
|
253
|
+
title: "标题超宽显示",
|
|
254
|
+
class: "amb-design-attr-item"
|
|
255
|
+
}, {
|
|
256
|
+
default: withCtx(() => [
|
|
257
|
+
createVNode(_component_el_radio_group, {
|
|
258
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
259
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
260
|
+
class: "ml-4"
|
|
261
|
+
}, {
|
|
262
|
+
default: withCtx(() => [
|
|
263
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
264
|
+
default: withCtx(() => [
|
|
265
|
+
createTextVNode("换行")
|
|
266
|
+
]),
|
|
267
|
+
_: 1
|
|
268
|
+
}),
|
|
269
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
270
|
+
default: withCtx(() => [
|
|
271
|
+
createTextVNode("不换行")
|
|
272
|
+
]),
|
|
273
|
+
_: 1
|
|
274
|
+
}),
|
|
275
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
276
|
+
default: withCtx(() => [
|
|
277
|
+
createTextVNode("省略号")
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
})
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}, 8, ["modelValue"])
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
}, 512), [
|
|
287
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
250
288
|
])
|
|
251
289
|
])
|
|
252
290
|
]),
|
|
@@ -20,6 +20,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
const designClass = ref("");
|
|
21
21
|
const designHeaderStyle = ref({});
|
|
22
22
|
const designProperty = ref({});
|
|
23
|
+
const titleExceedStyle = ref({});
|
|
23
24
|
function getRestsParameter() {
|
|
24
25
|
let defineProps = props.configure.props ? props.configure.props : {};
|
|
25
26
|
const propsBase = defineProps.base ? defineProps.base : {};
|
|
@@ -72,10 +73,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
72
73
|
watch(
|
|
73
74
|
props.configure.props,
|
|
74
75
|
() => {
|
|
75
|
-
caculateComponentProps(props.configure, designProperty);
|
|
76
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
76
77
|
console.log("designProperty", designProperty.value);
|
|
77
78
|
getRestsParameter();
|
|
78
79
|
props.configure.runtime.props = designProperty.value;
|
|
80
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
79
81
|
},
|
|
80
82
|
{ immediate: true }
|
|
81
83
|
);
|
|
@@ -90,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
92
|
label: withCtx(() => [
|
|
91
93
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
92
94
|
key: 0,
|
|
93
|
-
style: normalizeStyle({ ...designHeaderStyle.value })
|
|
95
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value })
|
|
94
96
|
}, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
|
|
95
97
|
]),
|
|
96
98
|
default: withCtx(() => [
|
|
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
62
|
default: withCtx(() => [
|
|
63
63
|
createVNode(_component_el_collapse, {
|
|
64
64
|
modelValue: openCollapseItems.value,
|
|
65
|
-
"onUpdate:modelValue": _cache[
|
|
65
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => openCollapseItems.value = $event),
|
|
66
66
|
style: { "margin-top": "6px" }
|
|
67
67
|
}, {
|
|
68
68
|
default: withCtx(() => [
|
|
@@ -216,6 +216,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
216
216
|
}, 512), [
|
|
217
217
|
[vShow, __props.configure.props.base.tittleShow]
|
|
218
218
|
]),
|
|
219
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
220
|
+
label: "标题超宽",
|
|
221
|
+
title: "标题超宽显示",
|
|
222
|
+
class: "amb-design-attr-item"
|
|
223
|
+
}, {
|
|
224
|
+
default: withCtx(() => [
|
|
225
|
+
createVNode(_component_el_radio_group, {
|
|
226
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
227
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
228
|
+
class: "ml-4"
|
|
229
|
+
}, {
|
|
230
|
+
default: withCtx(() => [
|
|
231
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
232
|
+
default: withCtx(() => [
|
|
233
|
+
createTextVNode("换行")
|
|
234
|
+
]),
|
|
235
|
+
_: 1
|
|
236
|
+
}),
|
|
237
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
238
|
+
default: withCtx(() => [
|
|
239
|
+
createTextVNode("不换行")
|
|
240
|
+
]),
|
|
241
|
+
_: 1
|
|
242
|
+
}),
|
|
243
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
244
|
+
default: withCtx(() => [
|
|
245
|
+
createTextVNode("省略号")
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
})
|
|
249
|
+
]),
|
|
250
|
+
_: 1
|
|
251
|
+
}, 8, ["modelValue"])
|
|
252
|
+
]),
|
|
253
|
+
_: 1
|
|
254
|
+
}, 512), [
|
|
255
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
256
|
+
]),
|
|
219
257
|
createVNode(_component_el_form_item, {
|
|
220
258
|
label: "尺寸",
|
|
221
259
|
class: "amb-design-attr-item"
|
|
@@ -223,7 +261,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
223
261
|
default: withCtx(() => [
|
|
224
262
|
createVNode(_component_el_radio_group, {
|
|
225
263
|
modelValue: __props.configure.props.base.size,
|
|
226
|
-
"onUpdate:modelValue": _cache[
|
|
264
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.size = $event),
|
|
227
265
|
class: "ml-4"
|
|
228
266
|
}, {
|
|
229
267
|
default: withCtx(() => [
|
|
@@ -258,7 +296,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
258
296
|
default: withCtx(() => [
|
|
259
297
|
createVNode(_component_el_radio_group, {
|
|
260
298
|
modelValue: __props.configure.props.base.state,
|
|
261
|
-
"onUpdate:modelValue": _cache[
|
|
299
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.state = $event),
|
|
262
300
|
class: "ml-4"
|
|
263
301
|
}, {
|
|
264
302
|
default: withCtx(() => [
|
|
@@ -314,7 +352,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
314
352
|
default: withCtx(() => [
|
|
315
353
|
createVNode(_component_el_checkbox, {
|
|
316
354
|
modelValue: __props.configure.props.verification.required,
|
|
317
|
-
"onUpdate:modelValue": _cache[
|
|
355
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.verification.required = $event),
|
|
318
356
|
label: "必填"
|
|
319
357
|
}, null, 8, ["modelValue"])
|
|
320
358
|
]),
|
|
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const designClass = ref("");
|
|
19
19
|
const designHeaderStyle = ref({});
|
|
20
20
|
const designProperty = ref({});
|
|
21
|
+
const titleExceedStyle = ref({});
|
|
21
22
|
watch(
|
|
22
23
|
props.configure.style,
|
|
23
24
|
() => {
|
|
@@ -35,8 +36,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
36
|
removComponentOptionConfigs(props.configure);
|
|
36
37
|
});
|
|
37
38
|
function caculateThisProps() {
|
|
38
|
-
caculateComponentProps(props.configure, designProperty);
|
|
39
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
39
40
|
props.configure.runtime.props = designProperty.value;
|
|
41
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
40
42
|
listOptions.value = designProperty.value["options"];
|
|
41
43
|
if (listOptions.value == null || listOptions.value.length == 0) {
|
|
42
44
|
listOptions.value = [
|
|
@@ -67,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
69
|
label: withCtx(() => [
|
|
68
70
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
69
71
|
key: 0,
|
|
70
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
72
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
71
73
|
}, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
|
|
72
74
|
]),
|
|
73
75
|
default: withCtx(() => [
|