super-page-designer 2.1.34 → 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 +72 -2
- 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-select-page.vue.js +8 -18
- 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/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 +4 -3
- 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/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/suffixmodule.vue.js +5 -1
- 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 +71 -3
- package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +8 -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/assemblys/workflow/component/combination.vue.js +1 -3
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +2 -0
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +10 -0
- 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 +795 -122
- package/package.json +6 -5
|
@@ -69,7 +69,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
default: withCtx(() => [
|
|
70
70
|
createVNode(_component_el_collapse, {
|
|
71
71
|
modelValue: openCollapseItems.value,
|
|
72
|
-
"onUpdate:modelValue": _cache[
|
|
72
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => openCollapseItems.value = $event),
|
|
73
73
|
style: { "margin-top": "6px" }
|
|
74
74
|
}, {
|
|
75
75
|
default: withCtx(() => [
|
|
@@ -238,6 +238,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
238
238
|
}, 512), [
|
|
239
239
|
[vShow, __props.configure.props.base.tittleShow]
|
|
240
240
|
]),
|
|
241
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
242
|
+
label: "标题超宽",
|
|
243
|
+
title: "标题超宽显示",
|
|
244
|
+
class: "amb-design-attr-item"
|
|
245
|
+
}, {
|
|
246
|
+
default: withCtx(() => [
|
|
247
|
+
createVNode(_component_el_radio_group, {
|
|
248
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
249
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
250
|
+
class: "ml-4"
|
|
251
|
+
}, {
|
|
252
|
+
default: withCtx(() => [
|
|
253
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
254
|
+
default: withCtx(() => [
|
|
255
|
+
createTextVNode("换行")
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}),
|
|
259
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
260
|
+
default: withCtx(() => [
|
|
261
|
+
createTextVNode("不换行")
|
|
262
|
+
]),
|
|
263
|
+
_: 1
|
|
264
|
+
}),
|
|
265
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
266
|
+
default: withCtx(() => [
|
|
267
|
+
createTextVNode("省略号")
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
})
|
|
271
|
+
]),
|
|
272
|
+
_: 1
|
|
273
|
+
}, 8, ["modelValue"])
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
}, 512), [
|
|
277
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
278
|
+
]),
|
|
241
279
|
createVNode(_component_el_form_item, {
|
|
242
280
|
label: "输入提示",
|
|
243
281
|
class: "amb-design-attr-item"
|
|
@@ -245,7 +283,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
245
283
|
default: withCtx(() => [
|
|
246
284
|
createVNode(_sfc_main$2, {
|
|
247
285
|
modelValue: __props.configure.props.base.placeholder,
|
|
248
|
-
"onUpdate:modelValue": _cache[
|
|
286
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
249
287
|
}, null, 8, ["modelValue"])
|
|
250
288
|
]),
|
|
251
289
|
_: 1
|
|
@@ -257,7 +295,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
295
|
default: withCtx(() => [
|
|
258
296
|
createVNode(_component_el_radio_group, {
|
|
259
297
|
modelValue: __props.configure.props.base.multiple,
|
|
260
|
-
"onUpdate:modelValue": _cache[
|
|
298
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.multiple = $event),
|
|
261
299
|
class: "ml-4"
|
|
262
300
|
}, {
|
|
263
301
|
default: withCtx(() => [
|
|
@@ -286,7 +324,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
324
|
default: withCtx(() => [
|
|
287
325
|
createVNode(_component_el_radio_group, {
|
|
288
326
|
modelValue: __props.configure.props.base.multipleMerge,
|
|
289
|
-
"onUpdate:modelValue": _cache[
|
|
327
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.multipleMerge = $event),
|
|
290
328
|
class: "ml-4"
|
|
291
329
|
}, {
|
|
292
330
|
default: withCtx(() => [
|
|
@@ -317,7 +355,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
317
355
|
default: withCtx(() => [
|
|
318
356
|
createVNode(_component_el_radio_group, {
|
|
319
357
|
modelValue: __props.configure.props.base.allowCreate,
|
|
320
|
-
"onUpdate:modelValue": _cache[
|
|
358
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.allowCreate = $event),
|
|
321
359
|
class: "ml-4"
|
|
322
360
|
}, {
|
|
323
361
|
default: withCtx(() => [
|
|
@@ -346,7 +384,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
346
384
|
default: withCtx(() => [
|
|
347
385
|
createVNode(_component_el_radio_group, {
|
|
348
386
|
modelValue: __props.configure.props.base.frequently,
|
|
349
|
-
"onUpdate:modelValue": _cache[
|
|
387
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.frequently = $event),
|
|
350
388
|
class: "ml-4"
|
|
351
389
|
}, {
|
|
352
390
|
default: withCtx(() => [
|
|
@@ -375,7 +413,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
375
413
|
default: withCtx(() => [
|
|
376
414
|
createVNode(_component_el_radio_group, {
|
|
377
415
|
modelValue: __props.configure.props.base.clearable,
|
|
378
|
-
"onUpdate:modelValue": _cache[
|
|
416
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.clearable = $event),
|
|
379
417
|
class: "ml-4"
|
|
380
418
|
}, {
|
|
381
419
|
default: withCtx(() => [
|
|
@@ -404,7 +442,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
404
442
|
default: withCtx(() => [
|
|
405
443
|
createVNode(_component_el_radio_group, {
|
|
406
444
|
modelValue: __props.configure.props.base.size,
|
|
407
|
-
"onUpdate:modelValue": _cache[
|
|
445
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.base.size = $event),
|
|
408
446
|
class: "ml-4"
|
|
409
447
|
}, {
|
|
410
448
|
default: withCtx(() => [
|
|
@@ -439,7 +477,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
439
477
|
default: withCtx(() => [
|
|
440
478
|
createVNode(_component_el_radio_group, {
|
|
441
479
|
modelValue: __props.configure.props.base.state,
|
|
442
|
-
"onUpdate:modelValue": _cache[
|
|
480
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.state = $event),
|
|
443
481
|
class: "ml-4"
|
|
444
482
|
}, {
|
|
445
483
|
default: withCtx(() => [
|
|
@@ -492,7 +530,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
492
530
|
default: withCtx(() => [
|
|
493
531
|
createVNode(_component_el_checkbox, {
|
|
494
532
|
modelValue: __props.configure.props.verification.required,
|
|
495
|
-
"onUpdate:modelValue": _cache[
|
|
533
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.verification.required = $event),
|
|
496
534
|
label: "必填"
|
|
497
535
|
}, null, 8, ["modelValue"])
|
|
498
536
|
]),
|
|
@@ -18,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const designClass = ref("");
|
|
19
19
|
const designHeaderStyle = ref({});
|
|
20
20
|
const designProperty = ref({ value: "" });
|
|
21
|
+
const titleExceedStyle = ref({});
|
|
21
22
|
function getRestsParameter() {
|
|
22
23
|
let defineProps = {};
|
|
23
24
|
const tempProps = {};
|
|
@@ -73,9 +74,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
73
74
|
removComponentOptionConfigs(props.configure);
|
|
74
75
|
});
|
|
75
76
|
function caculateThisProps() {
|
|
76
|
-
caculateComponentProps(props.configure, designProperty);
|
|
77
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
77
78
|
getRestsParameter();
|
|
78
79
|
props.configure.runtime.props = designProperty.value;
|
|
80
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
79
81
|
}
|
|
80
82
|
watch(props.configure.props, () => {
|
|
81
83
|
caculateThisProps();
|
|
@@ -93,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
95
|
label: withCtx(() => [
|
|
94
96
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
95
97
|
key: 0,
|
|
96
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
98
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
97
99
|
}, [
|
|
98
100
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
99
101
|
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[16] || (_cache[16] = ($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(_component_el_input_number, {
|
|
228
266
|
modelValue: __props.configure.props.base.offOnWidth,
|
|
229
|
-
"onUpdate:modelValue": _cache[
|
|
267
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.offOnWidth = $event),
|
|
230
268
|
style: { "width": "100%" },
|
|
231
269
|
min: 0,
|
|
232
270
|
max: 200,
|
|
@@ -242,7 +280,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
242
280
|
default: withCtx(() => [
|
|
243
281
|
createVNode(_component_el_input, {
|
|
244
282
|
modelValue: __props.configure.props.base.activeValue,
|
|
245
|
-
"onUpdate:modelValue": _cache[
|
|
283
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.activeValue = $event),
|
|
246
284
|
placeholder: "请输入"
|
|
247
285
|
}, null, 8, ["modelValue"])
|
|
248
286
|
]),
|
|
@@ -255,7 +293,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
255
293
|
default: withCtx(() => [
|
|
256
294
|
createVNode(_component_el_color_picker, {
|
|
257
295
|
modelValue: __props.configure.props.base.onColor,
|
|
258
|
-
"onUpdate:modelValue": _cache[
|
|
296
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.onColor = $event)
|
|
259
297
|
}, null, 8, ["modelValue"])
|
|
260
298
|
]),
|
|
261
299
|
_: 1
|
|
@@ -267,7 +305,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
267
305
|
default: withCtx(() => [
|
|
268
306
|
createVNode(_component_el_input, {
|
|
269
307
|
modelValue: __props.configure.props.base.activeText,
|
|
270
|
-
"onUpdate:modelValue": _cache[
|
|
308
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.activeText = $event),
|
|
271
309
|
placeholder: "请输入"
|
|
272
310
|
}, null, 8, ["modelValue"])
|
|
273
311
|
]),
|
|
@@ -280,7 +318,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
280
318
|
default: withCtx(() => [
|
|
281
319
|
createVNode(_component_el_input, {
|
|
282
320
|
modelValue: __props.configure.props.base.inactiveValue,
|
|
283
|
-
"onUpdate:modelValue": _cache[
|
|
321
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.inactiveValue = $event),
|
|
284
322
|
placeholder: "请输入"
|
|
285
323
|
}, null, 8, ["modelValue"])
|
|
286
324
|
]),
|
|
@@ -293,7 +331,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
293
331
|
default: withCtx(() => [
|
|
294
332
|
createVNode(_component_el_color_picker, {
|
|
295
333
|
modelValue: __props.configure.props.base.offColor,
|
|
296
|
-
"onUpdate:modelValue": _cache[
|
|
334
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.offColor = $event)
|
|
297
335
|
}, null, 8, ["modelValue"])
|
|
298
336
|
]),
|
|
299
337
|
_: 1
|
|
@@ -305,7 +343,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
305
343
|
default: withCtx(() => [
|
|
306
344
|
createVNode(_component_el_input, {
|
|
307
345
|
modelValue: __props.configure.props.base.inactiveText,
|
|
308
|
-
"onUpdate:modelValue": _cache[
|
|
346
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.base.inactiveText = $event),
|
|
309
347
|
placeholder: "请输入"
|
|
310
348
|
}, null, 8, ["modelValue"])
|
|
311
349
|
]),
|
|
@@ -318,7 +356,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
318
356
|
default: withCtx(() => [
|
|
319
357
|
createVNode(_component_el_radio_group, {
|
|
320
358
|
modelValue: __props.configure.props.base.size,
|
|
321
|
-
"onUpdate:modelValue": _cache[
|
|
359
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.base.size = $event),
|
|
322
360
|
class: "ml-4"
|
|
323
361
|
}, {
|
|
324
362
|
default: withCtx(() => [
|
|
@@ -353,7 +391,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
353
391
|
default: withCtx(() => [
|
|
354
392
|
createVNode(_component_el_radio_group, {
|
|
355
393
|
modelValue: __props.configure.props.base.state,
|
|
356
|
-
"onUpdate:modelValue": _cache[
|
|
394
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.base.state = $event),
|
|
357
395
|
class: "ml-4"
|
|
358
396
|
}, {
|
|
359
397
|
default: withCtx(() => [
|
|
@@ -394,7 +432,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
394
432
|
default: withCtx(() => [
|
|
395
433
|
createVNode(_component_el_checkbox, {
|
|
396
434
|
modelValue: __props.configure.props.verification.required,
|
|
397
|
-
"onUpdate:modelValue": _cache[
|
|
435
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.verification.required = $event),
|
|
398
436
|
label: "必填"
|
|
399
437
|
}, null, 8, ["modelValue"])
|
|
400
438
|
]),
|
|
@@ -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
|
const switchStyle = ref({});
|
|
21
22
|
function getRestsParameter() {
|
|
22
23
|
let defineProps = props.configure.props ? props.configure.props : {};
|
|
@@ -54,10 +55,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
55
|
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
55
56
|
}, { immediate: true });
|
|
56
57
|
watch(props.configure.props, () => {
|
|
57
|
-
caculateComponentProps(props.configure, designProperty);
|
|
58
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
58
59
|
getRestsParameter();
|
|
59
60
|
props.configure.runtime.props = designProperty.value;
|
|
60
61
|
props.configure.runtime.switchStyle = switchStyle.value;
|
|
62
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
61
63
|
}, { immediate: true });
|
|
62
64
|
return (_ctx, _cache) => {
|
|
63
65
|
const _component_el_switch = resolveComponent("el-switch");
|
|
@@ -71,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
71
73
|
label: withCtx(() => [
|
|
72
74
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
73
75
|
key: 0,
|
|
74
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
76
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
75
77
|
}, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
|
|
76
78
|
]),
|
|
77
79
|
default: withCtx(() => [
|
|
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
default: withCtx(() => [
|
|
62
62
|
createVNode(_component_el_collapse, {
|
|
63
63
|
modelValue: openCollapseItems.value,
|
|
64
|
-
"onUpdate:modelValue": _cache[
|
|
64
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => openCollapseItems.value = $event),
|
|
65
65
|
style: { "margin-top": "6px" }
|
|
66
66
|
}, {
|
|
67
67
|
default: withCtx(() => [
|
|
@@ -240,6 +240,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
240
|
}, 512), [
|
|
241
241
|
[vShow, __props.configure.props.base.tittleShow]
|
|
242
242
|
]),
|
|
243
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
244
|
+
label: "标题超宽",
|
|
245
|
+
title: "标题超宽显示",
|
|
246
|
+
class: "amb-design-attr-item"
|
|
247
|
+
}, {
|
|
248
|
+
default: withCtx(() => [
|
|
249
|
+
createVNode(_component_el_radio_group, {
|
|
250
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
251
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
252
|
+
class: "ml-4"
|
|
253
|
+
}, {
|
|
254
|
+
default: withCtx(() => [
|
|
255
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
256
|
+
default: withCtx(() => [
|
|
257
|
+
createTextVNode("换行")
|
|
258
|
+
]),
|
|
259
|
+
_: 1
|
|
260
|
+
}),
|
|
261
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
262
|
+
default: withCtx(() => [
|
|
263
|
+
createTextVNode("不换行")
|
|
264
|
+
]),
|
|
265
|
+
_: 1
|
|
266
|
+
}),
|
|
267
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
268
|
+
default: withCtx(() => [
|
|
269
|
+
createTextVNode("省略号")
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
})
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}, 8, ["modelValue"])
|
|
276
|
+
]),
|
|
277
|
+
_: 1
|
|
278
|
+
}, 512), [
|
|
279
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
280
|
+
]),
|
|
243
281
|
createVNode(_component_el_form_item, {
|
|
244
282
|
label: "类型",
|
|
245
283
|
class: "amb-design-attr-item"
|
|
@@ -247,7 +285,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
247
285
|
default: withCtx(() => [
|
|
248
286
|
createVNode(_component_el_radio_group, {
|
|
249
287
|
modelValue: __props.configure.props.base.type,
|
|
250
|
-
"onUpdate:modelValue": _cache[
|
|
288
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.type = $event),
|
|
251
289
|
class: "ml-4"
|
|
252
290
|
}, {
|
|
253
291
|
default: withCtx(() => [
|
|
@@ -294,7 +332,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
294
332
|
default: withCtx(() => [
|
|
295
333
|
createVNode(_component_el_radio_group, {
|
|
296
334
|
modelValue: __props.configure.props.base.closable,
|
|
297
|
-
"onUpdate:modelValue": _cache[
|
|
335
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.closable = $event),
|
|
298
336
|
class: "ml-4"
|
|
299
337
|
}, {
|
|
300
338
|
default: withCtx(() => [
|
|
@@ -323,7 +361,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
323
361
|
default: withCtx(() => [
|
|
324
362
|
createVNode(_component_el_radio_group, {
|
|
325
363
|
modelValue: __props.configure.props.base.size,
|
|
326
|
-
"onUpdate:modelValue": _cache[
|
|
364
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.size = $event),
|
|
327
365
|
class: "ml-4"
|
|
328
366
|
}, {
|
|
329
367
|
default: withCtx(() => [
|
|
@@ -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 propsBase = defineProps.base ? defineProps.base : {};
|
|
@@ -46,9 +47,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
47
|
props.configure.runtime.headerStyle = designHeaderStyle.value;
|
|
47
48
|
}, { immediate: true });
|
|
48
49
|
watch(props.configure.props, () => {
|
|
49
|
-
caculateComponentProps(props.configure, designProperty);
|
|
50
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
50
51
|
getRestsParameter();
|
|
51
52
|
props.configure.runtime.props = designProperty.value;
|
|
53
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
52
54
|
}, { immediate: true });
|
|
53
55
|
return (_ctx, _cache) => {
|
|
54
56
|
const _component_el_tag = resolveComponent("el-tag");
|
|
@@ -62,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
64
|
label: withCtx(() => [
|
|
63
65
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
64
66
|
key: 0,
|
|
65
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
67
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
66
68
|
}, toDisplayString(designProperty.value.title), 5)) : createCommentVNode("", true)
|
|
67
69
|
]),
|
|
68
70
|
default: withCtx(() => [
|
|
@@ -66,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
default: withCtx(() => [
|
|
67
67
|
createVNode(_component_el_collapse, {
|
|
68
68
|
modelValue: openCollapseItems.value,
|
|
69
|
-
"onUpdate:modelValue": _cache[
|
|
69
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => openCollapseItems.value = $event),
|
|
70
70
|
style: { "margin-top": "6px" }
|
|
71
71
|
}, {
|
|
72
72
|
default: withCtx(() => [
|
|
@@ -220,6 +220,44 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
220
220
|
}, 512), [
|
|
221
221
|
[vShow, __props.configure.props.base.tittleShow]
|
|
222
222
|
]),
|
|
223
|
+
withDirectives(createVNode(_component_el_form_item, {
|
|
224
|
+
label: "标题超宽",
|
|
225
|
+
title: "标题超宽显示",
|
|
226
|
+
class: "amb-design-attr-item"
|
|
227
|
+
}, {
|
|
228
|
+
default: withCtx(() => [
|
|
229
|
+
createVNode(_component_el_radio_group, {
|
|
230
|
+
modelValue: __props.configure.props.base.titleShowWay,
|
|
231
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.configure.props.base.titleShowWay = $event),
|
|
232
|
+
class: "ml-4"
|
|
233
|
+
}, {
|
|
234
|
+
default: withCtx(() => [
|
|
235
|
+
createVNode(_component_el_radio, { value: "block" }, {
|
|
236
|
+
default: withCtx(() => [
|
|
237
|
+
createTextVNode("换行")
|
|
238
|
+
]),
|
|
239
|
+
_: 1
|
|
240
|
+
}),
|
|
241
|
+
createVNode(_component_el_radio, { value: "inline" }, {
|
|
242
|
+
default: withCtx(() => [
|
|
243
|
+
createTextVNode("不换行")
|
|
244
|
+
]),
|
|
245
|
+
_: 1
|
|
246
|
+
}),
|
|
247
|
+
createVNode(_component_el_radio, { value: "omit" }, {
|
|
248
|
+
default: withCtx(() => [
|
|
249
|
+
createTextVNode("省略号")
|
|
250
|
+
]),
|
|
251
|
+
_: 1
|
|
252
|
+
})
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
}, 8, ["modelValue"])
|
|
256
|
+
]),
|
|
257
|
+
_: 1
|
|
258
|
+
}, 512), [
|
|
259
|
+
[vShow, __props.configure.props.base.tittleShow && __props.configure.props.base.titleWidth > 0]
|
|
260
|
+
]),
|
|
223
261
|
createVNode(_component_el_form_item, {
|
|
224
262
|
label: "输入提示",
|
|
225
263
|
class: "amb-design-attr-item"
|
|
@@ -227,7 +265,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
265
|
default: withCtx(() => [
|
|
228
266
|
createVNode(_sfc_main$2, {
|
|
229
267
|
modelValue: __props.configure.props.base.placeholder,
|
|
230
|
-
"onUpdate:modelValue": _cache[
|
|
268
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.configure.props.base.placeholder = $event)
|
|
231
269
|
}, null, 8, ["modelValue"])
|
|
232
270
|
]),
|
|
233
271
|
_: 1
|
|
@@ -239,7 +277,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
239
277
|
default: withCtx(() => [
|
|
240
278
|
createVNode(_component_el_input_number, {
|
|
241
279
|
modelValue: __props.configure.props.base.rows,
|
|
242
|
-
"onUpdate:modelValue": _cache[
|
|
280
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => __props.configure.props.base.rows = $event),
|
|
243
281
|
min: 1
|
|
244
282
|
}, null, 8, ["modelValue"])
|
|
245
283
|
]),
|
|
@@ -252,7 +290,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
252
290
|
default: withCtx(() => [
|
|
253
291
|
createVNode(_component_el_switch, {
|
|
254
292
|
modelValue: __props.configure.props.base.showInputNum,
|
|
255
|
-
"onUpdate:modelValue": _cache[
|
|
293
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => __props.configure.props.base.showInputNum = $event)
|
|
256
294
|
}, null, 8, ["modelValue"])
|
|
257
295
|
]),
|
|
258
296
|
_: 1
|
|
@@ -264,7 +302,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
264
302
|
default: withCtx(() => [
|
|
265
303
|
createVNode(_component_el_switch, {
|
|
266
304
|
modelValue: __props.configure.props.base.isOpinion,
|
|
267
|
-
"onUpdate:modelValue": _cache[
|
|
305
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => __props.configure.props.base.isOpinion = $event)
|
|
268
306
|
}, null, 8, ["modelValue"])
|
|
269
307
|
]),
|
|
270
308
|
_: 1
|
|
@@ -276,7 +314,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
276
314
|
default: withCtx(() => [
|
|
277
315
|
createVNode(_component_el_radio_group, {
|
|
278
316
|
modelValue: __props.configure.props.base.size,
|
|
279
|
-
"onUpdate:modelValue": _cache[
|
|
317
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.size = $event),
|
|
280
318
|
class: "ml-4"
|
|
281
319
|
}, {
|
|
282
320
|
default: withCtx(() => [
|
|
@@ -311,7 +349,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
311
349
|
default: withCtx(() => [
|
|
312
350
|
createVNode(_component_el_radio_group, {
|
|
313
351
|
modelValue: __props.configure.props.base.state,
|
|
314
|
-
"onUpdate:modelValue": _cache[
|
|
352
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => __props.configure.props.base.state = $event),
|
|
315
353
|
class: "ml-4"
|
|
316
354
|
}, {
|
|
317
355
|
default: withCtx(() => [
|
|
@@ -361,7 +399,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
361
399
|
default: withCtx(() => [
|
|
362
400
|
createVNode(_component_el_checkbox, {
|
|
363
401
|
modelValue: __props.configure.props.verification.required,
|
|
364
|
-
"onUpdate:modelValue": _cache[
|
|
402
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => __props.configure.props.verification.required = $event),
|
|
365
403
|
label: "必填"
|
|
366
404
|
}, null, 8, ["modelValue"])
|
|
367
405
|
]),
|
|
@@ -376,7 +414,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
376
414
|
default: withCtx(() => [
|
|
377
415
|
createVNode(_component_el_checkbox, {
|
|
378
416
|
modelValue: __props.configure.props.verification.verifyMinLength,
|
|
379
|
-
"onUpdate:modelValue": _cache[
|
|
417
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => __props.configure.props.verification.verifyMinLength = $event),
|
|
380
418
|
label: "最小长度",
|
|
381
419
|
value: "min"
|
|
382
420
|
}, null, 8, ["modelValue"])
|
|
@@ -387,7 +425,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
387
425
|
default: withCtx(() => [
|
|
388
426
|
createVNode(_component_el_input_number, {
|
|
389
427
|
modelValue: __props.configure.props.verification.minLength,
|
|
390
|
-
"onUpdate:modelValue": _cache[
|
|
428
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => __props.configure.props.verification.minLength = $event),
|
|
391
429
|
class: "mx-4",
|
|
392
430
|
min: 0,
|
|
393
431
|
"controls-position": "right",
|
|
@@ -408,7 +446,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
408
446
|
default: withCtx(() => [
|
|
409
447
|
createVNode(_component_el_checkbox, {
|
|
410
448
|
modelValue: __props.configure.props.verification.verifyMaxLength,
|
|
411
|
-
"onUpdate:modelValue": _cache[
|
|
449
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => __props.configure.props.verification.verifyMaxLength = $event),
|
|
412
450
|
label: "最大长度",
|
|
413
451
|
value: "max"
|
|
414
452
|
}, null, 8, ["modelValue"])
|
|
@@ -419,7 +457,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
419
457
|
default: withCtx(() => [
|
|
420
458
|
createVNode(_component_el_input_number, {
|
|
421
459
|
modelValue: __props.configure.props.verification.maxLength,
|
|
422
|
-
"onUpdate:modelValue": _cache[
|
|
460
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => __props.configure.props.verification.maxLength = $event),
|
|
423
461
|
class: "mx-4",
|
|
424
462
|
min: 0,
|
|
425
463
|
"controls-position": "right",
|
|
@@ -440,7 +478,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
440
478
|
default: withCtx(() => [
|
|
441
479
|
createVNode(_component_el_checkbox, {
|
|
442
480
|
modelValue: __props.configure.props.verification.verifyRegex,
|
|
443
|
-
"onUpdate:modelValue": _cache[
|
|
481
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => __props.configure.props.verification.verifyRegex = $event),
|
|
444
482
|
label: "正则",
|
|
445
483
|
value: "regex"
|
|
446
484
|
}, null, 8, ["modelValue"])
|
|
@@ -451,7 +489,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
451
489
|
default: withCtx(() => [
|
|
452
490
|
createVNode(_component_el_input, {
|
|
453
491
|
modelValue: __props.configure.props.verification.regex,
|
|
454
|
-
"onUpdate:modelValue": _cache[
|
|
492
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => __props.configure.props.verification.regex = $event),
|
|
455
493
|
class: "mx-4",
|
|
456
494
|
"controls-position": "right",
|
|
457
495
|
placeholder: "请输入"
|
|
@@ -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
|
() => {
|
|
@@ -31,8 +32,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
32
|
watch(
|
|
32
33
|
props.configure.props,
|
|
33
34
|
() => {
|
|
34
|
-
caculateComponentProps(props.configure, designProperty);
|
|
35
|
+
caculateComponentProps(props.configure, designProperty, titleExceedStyle);
|
|
35
36
|
props.configure.runtime.props = designProperty.value;
|
|
37
|
+
props.configure.runtime.titleExceedStyle = titleExceedStyle.value;
|
|
36
38
|
},
|
|
37
39
|
{ immediate: true }
|
|
38
40
|
);
|
|
@@ -49,7 +51,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
51
|
label: withCtx(() => [
|
|
50
52
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
51
53
|
key: 0,
|
|
52
|
-
style: normalizeStyle({ ...designHeaderStyle.value, "padding-right": "12px" })
|
|
54
|
+
style: normalizeStyle({ ...designHeaderStyle.value, ...titleExceedStyle.value, "padding-right": "12px" })
|
|
53
55
|
}, [
|
|
54
56
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
55
57
|
key: 0,
|