@fecp/designer 5.5.66 → 5.5.68
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/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/form/aside/index.mjs +1 -0
- package/es/designer/src/packages/form/property/widgets.vue.mjs +68 -41
- package/es/designer.css +48 -47
- package/es/packages/vue/src/components/forms/date/Date.vue.mjs +20 -0
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +1 -1
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/form/aside/index.js +1 -0
- package/lib/designer/src/packages/form/property/widgets.vue.js +68 -41
- package/lib/designer.css +48 -47
- package/lib/packages/vue/src/components/forms/date/Date.vue.js +20 -0
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +1 -1
- package/package.json +1 -1
|
@@ -317,7 +317,7 @@ const _sfc_main = {
|
|
|
317
317
|
return openBlock(), createBlock(_component_el_collapse, {
|
|
318
318
|
class: "setting",
|
|
319
319
|
modelValue: unref(activeName),
|
|
320
|
-
"onUpdate:modelValue": _cache[
|
|
320
|
+
"onUpdate:modelValue": _cache[54] || (_cache[54] = ($event) => isRef(activeName) ? activeName.value = $event : null)
|
|
321
321
|
}, {
|
|
322
322
|
default: withCtx(() => [
|
|
323
323
|
createVNode(_component_el_collapse_item, {
|
|
@@ -427,19 +427,19 @@ const _sfc_main = {
|
|
|
427
427
|
}, {
|
|
428
428
|
default: withCtx(() => [
|
|
429
429
|
createVNode(_component_el_radio_button, { value: "default" }, {
|
|
430
|
-
default: withCtx(() => _cache[
|
|
430
|
+
default: withCtx(() => _cache[55] || (_cache[55] = [
|
|
431
431
|
createTextVNode("默认")
|
|
432
432
|
])),
|
|
433
433
|
_: 1
|
|
434
434
|
}),
|
|
435
435
|
createVNode(_component_el_radio_button, { value: "label" }, {
|
|
436
|
-
default: withCtx(() => _cache[
|
|
436
|
+
default: withCtx(() => _cache[56] || (_cache[56] = [
|
|
437
437
|
createTextVNode("标签")
|
|
438
438
|
])),
|
|
439
439
|
_: 1
|
|
440
440
|
}),
|
|
441
441
|
createVNode(_component_el_radio_button, { value: "input" }, {
|
|
442
|
-
default: withCtx(() => _cache[
|
|
442
|
+
default: withCtx(() => _cache[57] || (_cache[57] = [
|
|
443
443
|
createTextVNode("输入框")
|
|
444
444
|
])),
|
|
445
445
|
_: 1
|
|
@@ -459,19 +459,19 @@ const _sfc_main = {
|
|
|
459
459
|
}, {
|
|
460
460
|
default: withCtx(() => [
|
|
461
461
|
createVNode(_component_el_radio_button, { value: "all" }, {
|
|
462
|
-
default: withCtx(() => _cache[
|
|
462
|
+
default: withCtx(() => _cache[58] || (_cache[58] = [
|
|
463
463
|
createTextVNode("始终显示")
|
|
464
464
|
])),
|
|
465
465
|
_: 1
|
|
466
466
|
}),
|
|
467
467
|
createVNode(_component_el_radio_button, { value: "edit" }, {
|
|
468
|
-
default: withCtx(() => _cache[
|
|
468
|
+
default: withCtx(() => _cache[59] || (_cache[59] = [
|
|
469
469
|
createTextVNode("编辑时显示")
|
|
470
470
|
])),
|
|
471
471
|
_: 1
|
|
472
472
|
}),
|
|
473
473
|
createVNode(_component_el_radio_button, { value: "query" }, {
|
|
474
|
-
default: withCtx(() => _cache[
|
|
474
|
+
default: withCtx(() => _cache[60] || (_cache[60] = [
|
|
475
475
|
createTextVNode("查看时显示")
|
|
476
476
|
])),
|
|
477
477
|
_: 1
|
|
@@ -550,7 +550,7 @@ const _sfc_main = {
|
|
|
550
550
|
], 64)) : createCommentVNode("", true),
|
|
551
551
|
unref(currentItem).fieldType == "text" || unref(currentItem).fieldType == "number" ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
552
552
|
createVNode(_component_el_form_item, null, {
|
|
553
|
-
label: withCtx(() => _cache[
|
|
553
|
+
label: withCtx(() => _cache[61] || (_cache[61] = [
|
|
554
554
|
createElementVNode("span", null, "尾部按钮", -1)
|
|
555
555
|
])),
|
|
556
556
|
default: withCtx(() => [
|
|
@@ -561,19 +561,19 @@ const _sfc_main = {
|
|
|
561
561
|
}, {
|
|
562
562
|
default: withCtx(() => [
|
|
563
563
|
createVNode(_component_el_radio_button, { value: "none" }, {
|
|
564
|
-
default: withCtx(() => _cache[
|
|
564
|
+
default: withCtx(() => _cache[62] || (_cache[62] = [
|
|
565
565
|
createTextVNode("无")
|
|
566
566
|
])),
|
|
567
567
|
_: 1
|
|
568
568
|
}),
|
|
569
569
|
createVNode(_component_el_radio_button, { value: "dialog" }, {
|
|
570
|
-
default: withCtx(() => _cache[
|
|
570
|
+
default: withCtx(() => _cache[63] || (_cache[63] = [
|
|
571
571
|
createTextVNode("弹层选择")
|
|
572
572
|
])),
|
|
573
573
|
_: 1
|
|
574
574
|
}),
|
|
575
575
|
createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
576
|
-
default: withCtx(() => _cache[
|
|
576
|
+
default: withCtx(() => _cache[64] || (_cache[64] = [
|
|
577
577
|
createTextVNode("自定义")
|
|
578
578
|
])),
|
|
579
579
|
_: 1
|
|
@@ -586,14 +586,14 @@ const _sfc_main = {
|
|
|
586
586
|
}),
|
|
587
587
|
unref(currentItem).suffixButton == "dialog" ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
588
588
|
createElementVNode("div", _hoisted_2, [
|
|
589
|
-
_cache[
|
|
589
|
+
_cache[65] || (_cache[65] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
|
|
590
590
|
createVNode(_component_el_input, {
|
|
591
591
|
modelValue: unref(currentItem).suffixDialogName,
|
|
592
592
|
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(currentItem).suffixDialogName = $event)
|
|
593
593
|
}, null, 8, ["modelValue"])
|
|
594
594
|
]),
|
|
595
595
|
createElementVNode("div", _hoisted_3, [
|
|
596
|
-
_cache[
|
|
596
|
+
_cache[68] || (_cache[68] = createElementVNode("span", { class: "field-label" }, "弹层来源", -1)),
|
|
597
597
|
createVNode(_component_el_radio_group, {
|
|
598
598
|
modelValue: unref(currentItem).dialogSource,
|
|
599
599
|
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => unref(currentItem).dialogSource = $event),
|
|
@@ -601,13 +601,13 @@ const _sfc_main = {
|
|
|
601
601
|
}, {
|
|
602
602
|
default: withCtx(() => [
|
|
603
603
|
createVNode(_component_el_radio_button, { value: "global" }, {
|
|
604
|
-
default: withCtx(() => _cache[
|
|
604
|
+
default: withCtx(() => _cache[66] || (_cache[66] = [
|
|
605
605
|
createTextVNode("全局")
|
|
606
606
|
])),
|
|
607
607
|
_: 1
|
|
608
608
|
}),
|
|
609
609
|
createVNode(_component_el_radio_button, { value: "custom" }, {
|
|
610
|
-
default: withCtx(() => _cache[
|
|
610
|
+
default: withCtx(() => _cache[67] || (_cache[67] = [
|
|
611
611
|
createTextVNode("自定义")
|
|
612
612
|
])),
|
|
613
613
|
_: 1
|
|
@@ -617,7 +617,7 @@ const _sfc_main = {
|
|
|
617
617
|
}, 8, ["modelValue"])
|
|
618
618
|
]),
|
|
619
619
|
createElementVNode("div", _hoisted_4, [
|
|
620
|
-
_cache[
|
|
620
|
+
_cache[69] || (_cache[69] = createElementVNode("span", { class: "field-label" }, "选择弹层", -1)),
|
|
621
621
|
createVNode(_component_el_select, {
|
|
622
622
|
modelValue: unref(currentItem).suffixDialogId,
|
|
623
623
|
"onUpdate:modelValue": _cache[19] || (_cache[19] = ($event) => unref(currentItem).suffixDialogId = $event),
|
|
@@ -641,7 +641,7 @@ const _sfc_main = {
|
|
|
641
641
|
]),
|
|
642
642
|
unref(currentItem).dialogSource == "global" && unref(currentItem).suffixDialogId ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
643
643
|
createElementVNode("div", _hoisted_5, [
|
|
644
|
-
_cache[
|
|
644
|
+
_cache[73] || (_cache[73] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
|
|
645
645
|
createVNode(_component_el_radio_group, {
|
|
646
646
|
modelValue: unref(currentItem).selectionMode,
|
|
647
647
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = ($event) => unref(currentItem).selectionMode = $event),
|
|
@@ -649,19 +649,19 @@ const _sfc_main = {
|
|
|
649
649
|
}, {
|
|
650
650
|
default: withCtx(() => [
|
|
651
651
|
createVNode(_component_el_radio_button, { value: "none" }, {
|
|
652
|
-
default: withCtx(() => _cache[
|
|
652
|
+
default: withCtx(() => _cache[70] || (_cache[70] = [
|
|
653
653
|
createTextVNode("无")
|
|
654
654
|
])),
|
|
655
655
|
_: 1
|
|
656
656
|
}),
|
|
657
657
|
createVNode(_component_el_radio_button, { value: "single" }, {
|
|
658
|
-
default: withCtx(() => _cache[
|
|
658
|
+
default: withCtx(() => _cache[71] || (_cache[71] = [
|
|
659
659
|
createTextVNode("单选")
|
|
660
660
|
])),
|
|
661
661
|
_: 1
|
|
662
662
|
}),
|
|
663
663
|
createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
664
|
-
default: withCtx(() => _cache[
|
|
664
|
+
default: withCtx(() => _cache[72] || (_cache[72] = [
|
|
665
665
|
createTextVNode("多选")
|
|
666
666
|
])),
|
|
667
667
|
_: 1
|
|
@@ -672,7 +672,7 @@ const _sfc_main = {
|
|
|
672
672
|
]),
|
|
673
673
|
unref(currentItem).selectionMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
674
674
|
createElementVNode("div", _hoisted_6, [
|
|
675
|
-
_cache[
|
|
675
|
+
_cache[74] || (_cache[74] = createElementVNode("span", { class: "field-label" }, "反显格式", -1)),
|
|
676
676
|
createVNode(unref(_sfc_main$1), {
|
|
677
677
|
title: "反显格式配置",
|
|
678
678
|
formulaConf: unref(currentItem).displayFormat,
|
|
@@ -683,7 +683,7 @@ const _sfc_main = {
|
|
|
683
683
|
}, null, 8, ["formulaConf", "modelValue", "fieldList"])
|
|
684
684
|
]),
|
|
685
685
|
createElementVNode("div", _hoisted_7, [
|
|
686
|
-
_cache[
|
|
686
|
+
_cache[75] || (_cache[75] = createElementVNode("span", {
|
|
687
687
|
class: "field-label",
|
|
688
688
|
style: { "width": "100%", "text-align": "left" }
|
|
689
689
|
}, "选取后表单赋值", -1)),
|
|
@@ -699,7 +699,7 @@ const _sfc_main = {
|
|
|
699
699
|
])
|
|
700
700
|
], 64)) : createCommentVNode("", true),
|
|
701
701
|
createElementVNode("div", _hoisted_8, [
|
|
702
|
-
_cache[
|
|
702
|
+
_cache[76] || (_cache[76] = createElementVNode("span", { class: "field-label" }, "回调事件", -1)),
|
|
703
703
|
createVNode(OnlyFLowConfigButton, {
|
|
704
704
|
config: unref(currentItem).callbackEventConfig,
|
|
705
705
|
onConfirm: handleOnlyFlowConfirm
|
|
@@ -708,14 +708,14 @@ const _sfc_main = {
|
|
|
708
708
|
], 64)) : createCommentVNode("", true)
|
|
709
709
|
])) : unref(currentItem).suffixButton == "custom" ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
|
710
710
|
createElementVNode("div", _hoisted_10, [
|
|
711
|
-
_cache[
|
|
711
|
+
_cache[77] || (_cache[77] = createElementVNode("span", { class: "field-label" }, "按钮名称", -1)),
|
|
712
712
|
createVNode(_component_el_input, {
|
|
713
713
|
modelValue: unref(currentItem).suffixButtonName,
|
|
714
714
|
"onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => unref(currentItem).suffixButtonName = $event)
|
|
715
715
|
}, null, 8, ["modelValue"])
|
|
716
716
|
]),
|
|
717
717
|
createElementVNode("div", _hoisted_11, [
|
|
718
|
-
_cache[
|
|
718
|
+
_cache[78] || (_cache[78] = createElementVNode("span", { class: "field-label" }, "按钮事件", -1)),
|
|
719
719
|
createVNode(EventConfigButton, {
|
|
720
720
|
config: unref(currentItem).suffixButtonConfig,
|
|
721
721
|
onConfirm: handleSuffixButtonConfirm
|
|
@@ -798,7 +798,7 @@ const _sfc_main = {
|
|
|
798
798
|
"controls-position": "right",
|
|
799
799
|
placeholder: "最小值"
|
|
800
800
|
}, null, 8, ["modelValue"]),
|
|
801
|
-
_cache[
|
|
801
|
+
_cache[79] || (_cache[79] = createElementVNode("span", { style: { "color": "#909399", "font-size": "14px" } }, "-", -1)),
|
|
802
802
|
createVNode(_component_el_input_number, {
|
|
803
803
|
style: { "width": "100%" },
|
|
804
804
|
modelValue: unref(currentItem).maxValue,
|
|
@@ -850,7 +850,7 @@ const _sfc_main = {
|
|
|
850
850
|
}),
|
|
851
851
|
createElementVNode("div", _hoisted_13, [
|
|
852
852
|
createElementVNode("div", _hoisted_14, [
|
|
853
|
-
_cache[
|
|
853
|
+
_cache[80] || (_cache[80] = createElementVNode("span", { class: "field-label" }, "显示字段", -1)),
|
|
854
854
|
createVNode(_component_el_input, {
|
|
855
855
|
modelValue: unref(currentItem).optionConfig.displayField,
|
|
856
856
|
"onUpdate:modelValue": _cache[34] || (_cache[34] = ($event) => unref(currentItem).optionConfig.displayField = $event),
|
|
@@ -858,7 +858,7 @@ const _sfc_main = {
|
|
|
858
858
|
}, null, 8, ["modelValue"])
|
|
859
859
|
]),
|
|
860
860
|
createElementVNode("div", _hoisted_15, [
|
|
861
|
-
_cache[
|
|
861
|
+
_cache[81] || (_cache[81] = createElementVNode("span", { class: "field-label" }, "值字段", -1)),
|
|
862
862
|
createVNode(_component_el_input, {
|
|
863
863
|
modelValue: unref(currentItem).optionConfig.valueField,
|
|
864
864
|
"onUpdate:modelValue": _cache[35] || (_cache[35] = ($event) => unref(currentItem).optionConfig.valueField = $event),
|
|
@@ -866,7 +866,7 @@ const _sfc_main = {
|
|
|
866
866
|
}, null, 8, ["modelValue"])
|
|
867
867
|
]),
|
|
868
868
|
createElementVNode("div", _hoisted_16, [
|
|
869
|
-
_cache[
|
|
869
|
+
_cache[82] || (_cache[82] = createElementVNode("span", { class: "field-label" }, "主键字段", -1)),
|
|
870
870
|
createVNode(_component_el_input, {
|
|
871
871
|
modelValue: unref(currentItem).optionConfig.idField,
|
|
872
872
|
"onUpdate:modelValue": _cache[36] || (_cache[36] = ($event) => unref(currentItem).optionConfig.idField = $event),
|
|
@@ -874,7 +874,7 @@ const _sfc_main = {
|
|
|
874
874
|
}, null, 8, ["modelValue"])
|
|
875
875
|
]),
|
|
876
876
|
createElementVNode("div", _hoisted_17, [
|
|
877
|
-
_cache[
|
|
877
|
+
_cache[83] || (_cache[83] = createElementVNode("span", { class: "field-label" }, "父主键字段", -1)),
|
|
878
878
|
createVNode(_component_el_input, {
|
|
879
879
|
modelValue: unref(currentItem).optionConfig.pidField,
|
|
880
880
|
"onUpdate:modelValue": _cache[37] || (_cache[37] = ($event) => unref(currentItem).optionConfig.pidField = $event),
|
|
@@ -1001,6 +1001,33 @@ const _sfc_main = {
|
|
|
1001
1001
|
}, 8, ["modelValue"])
|
|
1002
1002
|
]),
|
|
1003
1003
|
_: 1
|
|
1004
|
+
}),
|
|
1005
|
+
createVNode(_component_el_form_item, { label: "可选范围" }, {
|
|
1006
|
+
default: withCtx(() => [
|
|
1007
|
+
createVNode(_component_el_select, {
|
|
1008
|
+
modelValue: unref(currentItem).dateRange,
|
|
1009
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = ($event) => unref(currentItem).dateRange = $event),
|
|
1010
|
+
"empty-values": [null, void 0],
|
|
1011
|
+
"value-on-clear": null
|
|
1012
|
+
}, {
|
|
1013
|
+
default: withCtx(() => [
|
|
1014
|
+
createVNode(_component_el_option, {
|
|
1015
|
+
label: "不限",
|
|
1016
|
+
value: ""
|
|
1017
|
+
}),
|
|
1018
|
+
createVNode(_component_el_option, {
|
|
1019
|
+
label: "今天及以前",
|
|
1020
|
+
value: "beforeToday"
|
|
1021
|
+
}),
|
|
1022
|
+
createVNode(_component_el_option, {
|
|
1023
|
+
label: "今天及以后",
|
|
1024
|
+
value: "afterToday"
|
|
1025
|
+
})
|
|
1026
|
+
]),
|
|
1027
|
+
_: 1
|
|
1028
|
+
}, 8, ["modelValue"])
|
|
1029
|
+
]),
|
|
1030
|
+
_: 1
|
|
1004
1031
|
})
|
|
1005
1032
|
], 64)) : createCommentVNode("", true),
|
|
1006
1033
|
unref(isSysSelect) ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
|
|
@@ -1008,7 +1035,7 @@ const _sfc_main = {
|
|
|
1008
1035
|
default: withCtx(() => [
|
|
1009
1036
|
createVNode(_component_el_input, {
|
|
1010
1037
|
modelValue: unref(currentItem).dialogConfig.dialogTitle,
|
|
1011
|
-
"onUpdate:modelValue": _cache[
|
|
1038
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = ($event) => unref(currentItem).dialogConfig.dialogTitle = $event)
|
|
1012
1039
|
}, null, 8, ["modelValue"])
|
|
1013
1040
|
]),
|
|
1014
1041
|
_: 1
|
|
@@ -1017,7 +1044,7 @@ const _sfc_main = {
|
|
|
1017
1044
|
default: withCtx(() => [
|
|
1018
1045
|
createVNode(_component_ParamsConfig, {
|
|
1019
1046
|
modelValue: unref(currentItem).dialogConfig.dialogParams,
|
|
1020
|
-
"onUpdate:modelValue": _cache[
|
|
1047
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = ($event) => unref(currentItem).dialogConfig.dialogParams = $event)
|
|
1021
1048
|
}, null, 8, ["modelValue"])
|
|
1022
1049
|
]),
|
|
1023
1050
|
_: 1
|
|
@@ -1029,17 +1056,17 @@ const _sfc_main = {
|
|
|
1029
1056
|
default: withCtx(() => [
|
|
1030
1057
|
createVNode(_component_el_radio_group, {
|
|
1031
1058
|
modelValue: unref(currentItem).dialogConfig.selectionMode,
|
|
1032
|
-
"onUpdate:modelValue": _cache[
|
|
1059
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = ($event) => unref(currentItem).dialogConfig.selectionMode = $event)
|
|
1033
1060
|
}, {
|
|
1034
1061
|
default: withCtx(() => [
|
|
1035
1062
|
createVNode(_component_el_radio_button, { value: "single" }, {
|
|
1036
|
-
default: withCtx(() => _cache[
|
|
1063
|
+
default: withCtx(() => _cache[84] || (_cache[84] = [
|
|
1037
1064
|
createTextVNode("单选")
|
|
1038
1065
|
])),
|
|
1039
1066
|
_: 1
|
|
1040
1067
|
}),
|
|
1041
1068
|
createVNode(_component_el_radio_button, { value: "multiple" }, {
|
|
1042
|
-
default: withCtx(() => _cache[
|
|
1069
|
+
default: withCtx(() => _cache[85] || (_cache[85] = [
|
|
1043
1070
|
createTextVNode("多选")
|
|
1044
1071
|
])),
|
|
1045
1072
|
_: 1
|
|
@@ -1068,12 +1095,12 @@ const _sfc_main = {
|
|
|
1068
1095
|
createElementVNode("div", _hoisted_18, [
|
|
1069
1096
|
createVNode(_component_el_switch, {
|
|
1070
1097
|
modelValue: unref(currentItem).required,
|
|
1071
|
-
"onUpdate:modelValue": _cache[
|
|
1098
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = ($event) => unref(currentItem).required = $event)
|
|
1072
1099
|
}, null, 8, ["modelValue"]),
|
|
1073
1100
|
unref(currentItem).required ? (openBlock(), createBlock(_component_el_input, {
|
|
1074
1101
|
key: 0,
|
|
1075
1102
|
modelValue: unref(currentItem).requiredMessage,
|
|
1076
|
-
"onUpdate:modelValue": _cache[
|
|
1103
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = ($event) => unref(currentItem).requiredMessage = $event),
|
|
1077
1104
|
placeholder: "请输入提示信息",
|
|
1078
1105
|
style: { "flex": "1" }
|
|
1079
1106
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
@@ -1088,7 +1115,7 @@ const _sfc_main = {
|
|
|
1088
1115
|
default: withCtx(() => [
|
|
1089
1116
|
createVNode(_component_el_select, {
|
|
1090
1117
|
modelValue: unref(currentItem).validationType,
|
|
1091
|
-
"onUpdate:modelValue": _cache[
|
|
1118
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = ($event) => unref(currentItem).validationType = $event),
|
|
1092
1119
|
placeholder: "选择校验规则",
|
|
1093
1120
|
onChange: handleValidationChange,
|
|
1094
1121
|
style: { "margin-bottom": "12px" }
|
|
@@ -1154,13 +1181,13 @@ const _sfc_main = {
|
|
|
1154
1181
|
unref(currentItem).validationType === "custom" ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
1155
1182
|
createVNode(_sfc_main$2, {
|
|
1156
1183
|
modelValue: unref(currentItem).validationDataSource,
|
|
1157
|
-
"onUpdate:modelValue": _cache[
|
|
1184
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = ($event) => unref(currentItem).validationDataSource = $event)
|
|
1158
1185
|
}, null, 8, ["modelValue"])
|
|
1159
1186
|
])) : createCommentVNode("", true),
|
|
1160
1187
|
unref(currentItem).validationType !== "none" ? (openBlock(), createBlock(_component_el_input, {
|
|
1161
1188
|
key: 2,
|
|
1162
1189
|
modelValue: unref(currentItem).validationMessage,
|
|
1163
|
-
"onUpdate:modelValue": _cache[
|
|
1190
|
+
"onUpdate:modelValue": _cache[53] || (_cache[53] = ($event) => unref(currentItem).validationMessage = $event),
|
|
1164
1191
|
placeholder: getValidationPlaceholder(),
|
|
1165
1192
|
style: { "margin-bottom": "12px" }
|
|
1166
1193
|
}, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
|
|
@@ -1179,7 +1206,7 @@ const _sfc_main = {
|
|
|
1179
1206
|
};
|
|
1180
1207
|
}
|
|
1181
1208
|
};
|
|
1182
|
-
const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1209
|
+
const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3839a547"]]);
|
|
1183
1210
|
export {
|
|
1184
1211
|
widgets as default
|
|
1185
1212
|
};
|
package/es/designer.css
CHANGED
|
@@ -3249,17 +3249,17 @@ to {
|
|
|
3249
3249
|
width: 100%;
|
|
3250
3250
|
}
|
|
3251
3251
|
|
|
3252
|
-
.collapse-header[data-v-
|
|
3252
|
+
.collapse-header[data-v-3839a547] {
|
|
3253
3253
|
display: flex;
|
|
3254
3254
|
align-items: center;
|
|
3255
3255
|
justify-content: space-between;
|
|
3256
3256
|
width: 100%;
|
|
3257
3257
|
padding-right: 20px;
|
|
3258
3258
|
}
|
|
3259
|
-
.setting[data-v-
|
|
3259
|
+
.setting[data-v-3839a547] .el-collapse-item__content {
|
|
3260
3260
|
position: relative;
|
|
3261
3261
|
}
|
|
3262
|
-
.field-type-select[data-v-
|
|
3262
|
+
.field-type-select[data-v-3839a547] {
|
|
3263
3263
|
position: absolute;
|
|
3264
3264
|
top: 11px;
|
|
3265
3265
|
right: 16px;
|
|
@@ -3270,41 +3270,41 @@ to {
|
|
|
3270
3270
|
transition: all 0.3s;
|
|
3271
3271
|
border-radius: 4px;
|
|
3272
3272
|
}
|
|
3273
|
-
.field-type-select[data-v-
|
|
3273
|
+
.field-type-select[data-v-3839a547] .el-select__wrapper {
|
|
3274
3274
|
background: transparent;
|
|
3275
3275
|
box-shadow: none;
|
|
3276
3276
|
}
|
|
3277
|
-
.field-type-select[data-v-
|
|
3277
|
+
.field-type-select[data-v-3839a547] .el-select__selected-item {
|
|
3278
3278
|
text-align: center;
|
|
3279
3279
|
}
|
|
3280
|
-
.width-input[data-v-
|
|
3280
|
+
.width-input[data-v-3839a547] {
|
|
3281
3281
|
width: 100%;
|
|
3282
3282
|
}
|
|
3283
|
-
.data-source-fields[data-v-
|
|
3283
|
+
.data-source-fields[data-v-3839a547] {
|
|
3284
3284
|
display: flex;
|
|
3285
3285
|
flex-direction: column;
|
|
3286
3286
|
gap: 8px;
|
|
3287
3287
|
margin-bottom: 18px;
|
|
3288
3288
|
}
|
|
3289
|
-
.data-source-fields .field-item[data-v-
|
|
3289
|
+
.data-source-fields .field-item[data-v-3839a547] {
|
|
3290
3290
|
display: flex;
|
|
3291
3291
|
align-items: center;
|
|
3292
3292
|
gap: 8px;
|
|
3293
3293
|
}
|
|
3294
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3294
|
+
.data-source-fields .field-item .field-label[data-v-3839a547] {
|
|
3295
3295
|
width: 80px;
|
|
3296
3296
|
font-size: 13px;
|
|
3297
3297
|
color: #606266;
|
|
3298
3298
|
text-align: right;
|
|
3299
3299
|
flex-shrink: 0;
|
|
3300
3300
|
}
|
|
3301
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3301
|
+
.data-source-fields .field-item .field-label[data-v-3839a547]::after {
|
|
3302
3302
|
content: ":";
|
|
3303
3303
|
}
|
|
3304
|
-
.data-source-fields .field-item .el-input[data-v-
|
|
3304
|
+
.data-source-fields .field-item .el-input[data-v-3839a547] {
|
|
3305
3305
|
flex: 1;
|
|
3306
3306
|
}
|
|
3307
|
-
[data-v-
|
|
3307
|
+
[data-v-3839a547] .el-form-item__content {
|
|
3308
3308
|
flex-wrap: wrap !important;
|
|
3309
3309
|
}
|
|
3310
3310
|
.buttons-table[data-v-f81c0a82] {
|
|
@@ -6216,33 +6216,34 @@ body,
|
|
|
6216
6216
|
align-items: center;
|
|
6217
6217
|
flex-wrap: nowrap;
|
|
6218
6218
|
}
|
|
6219
|
-
.fec-form[data-v-
|
|
6219
|
+
.fec-form[data-v-c86c3354] {
|
|
6220
6220
|
height: 100%;
|
|
6221
6221
|
}
|
|
6222
|
-
.fec-form-col[data-v-
|
|
6222
|
+
.fec-form-col[data-v-c86c3354] {
|
|
6223
6223
|
padding: 0px !important;
|
|
6224
6224
|
display: flex !important;
|
|
6225
6225
|
flex-direction: column;
|
|
6226
6226
|
background-color: #fff;
|
|
6227
6227
|
border-radius: 4px;
|
|
6228
6228
|
overflow: hidden;
|
|
6229
|
+
flex: auto !important;
|
|
6229
6230
|
}
|
|
6230
|
-
[data-v-
|
|
6231
|
+
[data-v-c86c3354] .vgl-layout {
|
|
6231
6232
|
position: relative;
|
|
6232
6233
|
}
|
|
6233
|
-
[data-v-
|
|
6234
|
+
[data-v-c86c3354] .vgl-item {
|
|
6234
6235
|
transition: none;
|
|
6235
6236
|
}
|
|
6236
|
-
[data-v-
|
|
6237
|
+
[data-v-c86c3354] .vgl-item > .el-form-item {
|
|
6237
6238
|
width: 100%;
|
|
6238
6239
|
padding: 6px 8px 0 8px;
|
|
6239
6240
|
height: calc(100% - 15px);
|
|
6240
6241
|
display: flex;
|
|
6241
6242
|
}
|
|
6242
|
-
[data-v-
|
|
6243
|
+
[data-v-c86c3354] .vgl-item > .el-form-item.el-form-item--label-top {
|
|
6243
6244
|
flex-direction: column;
|
|
6244
6245
|
}
|
|
6245
|
-
[data-v-
|
|
6246
|
+
[data-v-c86c3354] .vgl-item > .el-form-item .el-form-item__label {
|
|
6246
6247
|
line-height: 20px;
|
|
6247
6248
|
display: inline-flex;
|
|
6248
6249
|
align-items: center;
|
|
@@ -6256,107 +6257,107 @@ body,
|
|
|
6256
6257
|
flex-shrink: 0;
|
|
6257
6258
|
min-height: 45px;
|
|
6258
6259
|
}
|
|
6259
|
-
[data-v-
|
|
6260
|
+
[data-v-c86c3354] .vgl-item > .el-form-item {
|
|
6260
6261
|
/* .el-form-item__error {
|
|
6261
6262
|
padding-top: 10px;
|
|
6262
6263
|
} */
|
|
6263
6264
|
}
|
|
6264
|
-
[data-v-
|
|
6265
|
+
[data-v-c86c3354] .vgl-item > .el-form-item .el-input__wrapper {
|
|
6265
6266
|
padding: 1px 12px;
|
|
6266
6267
|
}
|
|
6267
|
-
[data-v-
|
|
6268
|
+
[data-v-c86c3354] .vgl-item > .el-container {
|
|
6268
6269
|
height: auto !important;
|
|
6269
6270
|
}
|
|
6270
6271
|
@media (min-width: 1720px) {
|
|
6271
|
-
[data-v-
|
|
6272
|
+
[data-v-c86c3354] .vgl-item .el-form-item__label {
|
|
6272
6273
|
max-width: 160px !important;
|
|
6273
6274
|
}
|
|
6274
|
-
[data-v-
|
|
6275
|
+
[data-v-c86c3354] .vgl-item .el-form-item {
|
|
6275
6276
|
padding: 6px 8px 0 8px !important;
|
|
6276
6277
|
}
|
|
6277
|
-
[data-v-
|
|
6278
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-input__wrapper {
|
|
6278
6279
|
padding: 1px 12px;
|
|
6279
6280
|
}
|
|
6280
|
-
[data-v-
|
|
6281
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-select__wrapper {
|
|
6281
6282
|
padding: 8px 12px;
|
|
6282
6283
|
}
|
|
6283
|
-
.fec-el-form[data-v-
|
|
6284
|
+
.fec-el-form[data-v-c86c3354] {
|
|
6284
6285
|
padding: 12px !important;
|
|
6285
6286
|
}
|
|
6286
6287
|
}
|
|
6287
6288
|
/* 标准 PC(1200px ~ 1439px)*/
|
|
6288
6289
|
@media (min-width: 1366px) and (max-width: 1719px) {
|
|
6289
|
-
[data-v-
|
|
6290
|
+
[data-v-c86c3354] .vgl-item .el-form-item__label {
|
|
6290
6291
|
max-width: 130px !important;
|
|
6291
6292
|
padding-right: 6px !important;
|
|
6292
6293
|
}
|
|
6293
|
-
[data-v-
|
|
6294
|
+
[data-v-c86c3354] .vgl-item .el-form-item {
|
|
6294
6295
|
padding: 6px 0 0 0 !important;
|
|
6295
6296
|
}
|
|
6296
|
-
[data-v-
|
|
6297
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-input__wrapper {
|
|
6297
6298
|
padding: 1px 8px;
|
|
6298
6299
|
}
|
|
6299
|
-
[data-v-
|
|
6300
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-select__wrapper {
|
|
6300
6301
|
padding: 8px 8px;
|
|
6301
6302
|
}
|
|
6302
|
-
.fec-el-form[data-v-
|
|
6303
|
+
.fec-el-form[data-v-c86c3354] {
|
|
6303
6304
|
padding: 8px !important;
|
|
6304
6305
|
}
|
|
6305
6306
|
}
|
|
6306
6307
|
/* 2. 标准 PC 992px ~ 1199px */
|
|
6307
6308
|
@media (min-width: 992px) and (max-width: 1365px) {
|
|
6308
|
-
[data-v-
|
|
6309
|
+
[data-v-c86c3354] .vgl-item .el-form-item__label {
|
|
6309
6310
|
max-width: 125px !important;
|
|
6310
6311
|
padding-right: 4px !important;
|
|
6311
6312
|
}
|
|
6312
|
-
[data-v-
|
|
6313
|
+
[data-v-c86c3354] .vgl-item .el-form-item {
|
|
6313
6314
|
padding: 0 !important;
|
|
6314
6315
|
}
|
|
6315
|
-
[data-v-
|
|
6316
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-input__wrapper {
|
|
6316
6317
|
padding: 1px 6px;
|
|
6317
6318
|
}
|
|
6318
|
-
[data-v-
|
|
6319
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-select__wrapper {
|
|
6319
6320
|
padding: 8px 6px;
|
|
6320
6321
|
}
|
|
6321
|
-
.fec-el-form[data-v-
|
|
6322
|
+
.fec-el-form[data-v-c86c3354] {
|
|
6322
6323
|
padding: 6px !important;
|
|
6323
6324
|
}
|
|
6324
6325
|
}
|
|
6325
6326
|
/* 3. 小屏 PC / 窄窗口 <992px(最小到768px)*/
|
|
6326
6327
|
@media (max-width: 991px) and (min-width: 768px) {
|
|
6327
|
-
[data-v-
|
|
6328
|
+
[data-v-c86c3354] .vgl-item .el-form-item__label {
|
|
6328
6329
|
max-width: 100px !important;
|
|
6329
6330
|
padding-right: 4px !important;
|
|
6330
6331
|
}
|
|
6331
|
-
[data-v-
|
|
6332
|
+
[data-v-c86c3354] .vgl-item .el-form-item {
|
|
6332
6333
|
padding: 0 !important;
|
|
6333
6334
|
}
|
|
6334
|
-
[data-v-
|
|
6335
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-input__wrapper {
|
|
6335
6336
|
padding: 1px 4px;
|
|
6336
6337
|
}
|
|
6337
|
-
[data-v-
|
|
6338
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-select__wrapper {
|
|
6338
6339
|
padding: 8px 4px;
|
|
6339
6340
|
}
|
|
6340
|
-
.fec-el-form[data-v-
|
|
6341
|
+
.fec-el-form[data-v-c86c3354] {
|
|
6341
6342
|
padding: 6px !important;
|
|
6342
6343
|
}
|
|
6343
6344
|
}
|
|
6344
6345
|
/* 超小屏 <768px */
|
|
6345
6346
|
@media (max-width: 767px) {
|
|
6346
|
-
[data-v-
|
|
6347
|
+
[data-v-c86c3354] .vgl-item .el-form-item__label {
|
|
6347
6348
|
max-width: 80px !important;
|
|
6348
6349
|
padding-right: 4px !important;
|
|
6349
6350
|
}
|
|
6350
|
-
[data-v-
|
|
6351
|
+
[data-v-c86c3354] .vgl-item .el-form-item {
|
|
6351
6352
|
padding: 0 !important;
|
|
6352
6353
|
}
|
|
6353
|
-
[data-v-
|
|
6354
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-input__wrapper {
|
|
6354
6355
|
padding: 1px 2px;
|
|
6355
6356
|
}
|
|
6356
|
-
[data-v-
|
|
6357
|
+
[data-v-c86c3354] .vgl-item .el-form-item .el-select__wrapper {
|
|
6357
6358
|
padding: 8px 2px;
|
|
6358
6359
|
}
|
|
6359
|
-
.fec-el-form[data-v-
|
|
6360
|
+
.fec-el-form[data-v-c86c3354] {
|
|
6360
6361
|
padding: 6px !important;
|
|
6361
6362
|
}
|
|
6362
6363
|
}.table-pagination[data-v-142fdd35] {
|