@fecp/designer 5.5.97 → 5.5.98
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/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +37 -37
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +2 -1
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +1 -1
- package/es/packages/vue/src/utils/eventFlow/actionHandlers.mjs +2 -2
- package/es/packages/vue/src/utils/eventFlow/eventFlowHandler.mjs +7 -5
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +37 -37
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +2 -1
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +1 -1
- package/lib/packages/vue/src/utils/eventFlow/actionHandlers.js +2 -2
- package/lib/packages/vue/src/utils/eventFlow/eventFlowHandler.js +7 -5
- package/package.json +1 -1
|
@@ -84,7 +84,7 @@ import widgets from "../table/property/widgets.vue.mjs";
|
|
|
84
84
|
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
85
85
|
/* empty css */
|
|
86
86
|
/* empty css */
|
|
87
|
-
/* empty css
|
|
87
|
+
/* empty css */
|
|
88
88
|
/* empty css */
|
|
89
89
|
/* empty css */
|
|
90
90
|
/* empty css */
|
|
@@ -52,8 +52,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
52
52
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
53
53
|
import "../../table/default.mjs";
|
|
54
54
|
/* empty css */
|
|
55
|
-
/* empty css
|
|
56
|
-
/* empty css
|
|
55
|
+
/* empty css */
|
|
56
|
+
/* empty css */
|
|
57
57
|
import "../../../store/index.mjs";
|
|
58
58
|
/* empty css */
|
|
59
59
|
import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
|
package/es/designer.css
CHANGED
|
@@ -6590,12 +6590,11 @@ body,
|
|
|
6590
6590
|
}
|
|
6591
6591
|
.filter-divider[data-v-ba2f1878] .el-icon {
|
|
6592
6592
|
transition: transform 0.3s ease;
|
|
6593
|
-
}.dynamic-mode-config .dynamic-row[data-v-
|
|
6593
|
+
}.dynamic-mode-config .dynamic-row[data-v-6f5db521] {
|
|
6594
6594
|
display: flex;
|
|
6595
|
-
height: 54px;
|
|
6596
6595
|
align-items: center;
|
|
6597
6596
|
}
|
|
6598
|
-
.dynamic-mode-config .back-icon[data-v-
|
|
6597
|
+
.dynamic-mode-config .back-icon[data-v-6f5db521] {
|
|
6599
6598
|
display: flex;
|
|
6600
6599
|
align-items: center;
|
|
6601
6600
|
justify-content: center;
|
|
@@ -6608,11 +6607,11 @@ body,
|
|
|
6608
6607
|
margin-left: 4px;
|
|
6609
6608
|
margin-right: -6px;
|
|
6610
6609
|
}
|
|
6611
|
-
.dynamic-mode-config .back-icon .el-icon[data-v-
|
|
6610
|
+
.dynamic-mode-config .back-icon .el-icon[data-v-6f5db521] {
|
|
6612
6611
|
font-size: 16px;
|
|
6613
6612
|
font-weight: bold;
|
|
6614
6613
|
}
|
|
6615
|
-
.dynamic-mode-config .template-name[data-v-
|
|
6614
|
+
.dynamic-mode-config .template-name[data-v-6f5db521] {
|
|
6616
6615
|
font-size: 16px;
|
|
6617
6616
|
font-weight: 600;
|
|
6618
6617
|
color: #303133;
|
|
@@ -6625,7 +6624,7 @@ body,
|
|
|
6625
6624
|
display: flex;
|
|
6626
6625
|
align-items: center;
|
|
6627
6626
|
}
|
|
6628
|
-
.dynamic-mode-config .template-name-line[data-v-
|
|
6627
|
+
.dynamic-mode-config .template-name-line[data-v-6f5db521] {
|
|
6629
6628
|
height: 16px;
|
|
6630
6629
|
width: 4px;
|
|
6631
6630
|
background-color: var(--el-color-primary);
|
|
@@ -6634,42 +6633,43 @@ body,
|
|
|
6634
6633
|
margin-right: 12px;
|
|
6635
6634
|
margin-top: 2px;
|
|
6636
6635
|
}
|
|
6637
|
-
.dynamic-mode-config .tab-display-section[data-v-
|
|
6636
|
+
.dynamic-mode-config .tab-display-section[data-v-6f5db521] {
|
|
6638
6637
|
flex: 1;
|
|
6639
6638
|
min-width: 0;
|
|
6640
6639
|
}
|
|
6641
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6640
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-6f5db521] .el-tabs__header {
|
|
6642
6641
|
margin: 0;
|
|
6643
6642
|
}
|
|
6644
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6643
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-6f5db521] .el-tabs__nav-wrap::after {
|
|
6645
6644
|
height: 0;
|
|
6646
6645
|
}
|
|
6647
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6646
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-6f5db521] .el-tabs__item {
|
|
6648
6647
|
padding: 0 12px;
|
|
6649
6648
|
}
|
|
6650
|
-
.dynamic-mode-config .search-display-section[data-v-
|
|
6649
|
+
.dynamic-mode-config .search-display-section[data-v-6f5db521] {
|
|
6651
6650
|
flex-shrink: 0;
|
|
6652
6651
|
display: flex;
|
|
6653
6652
|
align-items: center;
|
|
6654
6653
|
gap: 12px;
|
|
6655
6654
|
margin-left: auto;
|
|
6655
|
+
padding: 12px 0;
|
|
6656
6656
|
}
|
|
6657
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-
|
|
6657
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-6f5db521] {
|
|
6658
6658
|
/* width: 300px; */
|
|
6659
6659
|
}
|
|
6660
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-
|
|
6660
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-6f5db521]:hover {
|
|
6661
6661
|
color: var(--el-color-primary);
|
|
6662
6662
|
cursor: pointer;
|
|
6663
6663
|
}
|
|
6664
|
-
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-
|
|
6664
|
+
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-6f5db521] {
|
|
6665
6665
|
display: flex;
|
|
6666
6666
|
align-items: center;
|
|
6667
6667
|
gap: 8px;
|
|
6668
6668
|
}
|
|
6669
|
-
.dynamic-mode-config .search-display-section .optBtn[data-v-
|
|
6669
|
+
.dynamic-mode-config .search-display-section .optBtn[data-v-6f5db521] {
|
|
6670
6670
|
position: relative;
|
|
6671
6671
|
}
|
|
6672
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6672
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-6f5db521] {
|
|
6673
6673
|
position: absolute;
|
|
6674
6674
|
top: -10px;
|
|
6675
6675
|
right: -10px;
|
|
@@ -6686,31 +6686,31 @@ body,
|
|
|
6686
6686
|
font-size: 12px;
|
|
6687
6687
|
z-index: 1;
|
|
6688
6688
|
}
|
|
6689
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6689
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-6f5db521]:hover {
|
|
6690
6690
|
background-color: #f56c6c;
|
|
6691
6691
|
}
|
|
6692
|
-
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-
|
|
6692
|
+
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-6f5db521] {
|
|
6693
6693
|
display: flex;
|
|
6694
6694
|
}
|
|
6695
|
-
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-
|
|
6695
|
+
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-6f5db521] {
|
|
6696
6696
|
pointer-events: none;
|
|
6697
6697
|
}
|
|
6698
|
-
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-
|
|
6698
|
+
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-6f5db521] {
|
|
6699
6699
|
margin-right: 4px;
|
|
6700
6700
|
}
|
|
6701
|
-
.dynamic-mode-config .expand-filter-section[data-v-
|
|
6701
|
+
.dynamic-mode-config .expand-filter-section[data-v-6f5db521] {
|
|
6702
6702
|
padding-top: 4px;
|
|
6703
6703
|
border-top: 1px solid #ebeef5;
|
|
6704
6704
|
margin-top: 4px;
|
|
6705
6705
|
}
|
|
6706
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-
|
|
6706
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-6f5db521] {
|
|
6707
6707
|
width: 100%;
|
|
6708
6708
|
}
|
|
6709
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-
|
|
6709
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-6f5db521] {
|
|
6710
6710
|
display: flex;
|
|
6711
6711
|
flex-wrap: wrap;
|
|
6712
6712
|
}
|
|
6713
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6713
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item {
|
|
6714
6714
|
padding: 2px;
|
|
6715
6715
|
border: 2px solid transparent;
|
|
6716
6716
|
border-radius: 2px;
|
|
@@ -6719,20 +6719,20 @@ body,
|
|
|
6719
6719
|
cursor: move;
|
|
6720
6720
|
margin-bottom: 4px;
|
|
6721
6721
|
}
|
|
6722
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6722
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .el-form-item__label-wrap {
|
|
6723
6723
|
margin: 0 0 0 8px !important;
|
|
6724
6724
|
}
|
|
6725
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6725
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .el-form-item__content {
|
|
6726
6726
|
min-width: 150px;
|
|
6727
6727
|
}
|
|
6728
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6728
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .form-item-label {
|
|
6729
6729
|
display: flex;
|
|
6730
6730
|
align-items: center;
|
|
6731
6731
|
}
|
|
6732
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6732
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .el-input {
|
|
6733
6733
|
width: 150px;
|
|
6734
6734
|
}
|
|
6735
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6735
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .delete-icon {
|
|
6736
6736
|
position: absolute;
|
|
6737
6737
|
top: -10px;
|
|
6738
6738
|
right: -10px;
|
|
@@ -6749,19 +6749,19 @@ body,
|
|
|
6749
6749
|
font-size: 12px;
|
|
6750
6750
|
z-index: 1;
|
|
6751
6751
|
}
|
|
6752
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6752
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .delete-icon:hover {
|
|
6753
6753
|
background-color: #f56c6c;
|
|
6754
6754
|
}
|
|
6755
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6755
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item.is-hover {
|
|
6756
6756
|
border: 2px dashed #7b99cb !important;
|
|
6757
6757
|
}
|
|
6758
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6758
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item.is-hover .delete-icon {
|
|
6759
6759
|
display: flex;
|
|
6760
6760
|
}
|
|
6761
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6761
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item.is-select {
|
|
6762
6762
|
border: 2px dashed #efa53a !important;
|
|
6763
6763
|
}
|
|
6764
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6764
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item__label {
|
|
6765
6765
|
font-size: 13px;
|
|
6766
6766
|
color: #606266;
|
|
6767
6767
|
pointer-events: none;
|
|
@@ -6771,14 +6771,14 @@ body,
|
|
|
6771
6771
|
align-items: center;
|
|
6772
6772
|
pointer-events: none;
|
|
6773
6773
|
}
|
|
6774
|
-
[data-v-
|
|
6774
|
+
[data-v-6f5db521] .el-checkbox-group {
|
|
6775
6775
|
display: flex;
|
|
6776
6776
|
gap: 12px;
|
|
6777
6777
|
}
|
|
6778
|
-
[data-v-
|
|
6778
|
+
[data-v-6f5db521] .el-checkbox-group .el-checkbox-button__inner {
|
|
6779
6779
|
border-radius: 4px;
|
|
6780
6780
|
}
|
|
6781
|
-
[data-v-
|
|
6781
|
+
[data-v-6f5db521] .el-input__inner::placeholder {
|
|
6782
6782
|
white-space: nowrap;
|
|
6783
6783
|
overflow: hidden;
|
|
6784
6784
|
text-overflow: ellipsis;
|
|
@@ -494,7 +494,7 @@ const _sfc_main = {
|
|
|
494
494
|
};
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
|
-
const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
497
|
+
const DynamicQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6f5db521"]]);
|
|
498
498
|
export {
|
|
499
499
|
DynamicQuery as default
|
|
500
500
|
};
|
|
@@ -491,8 +491,8 @@ async function handleFormSetValue(node, data, fields, context) {
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
formData = removeEmptyValues(formData);
|
|
494
|
-
delete formData.pageNo;
|
|
495
|
-
delete formData.pageSize;
|
|
494
|
+
formData == null ? true : delete formData.pageNo;
|
|
495
|
+
formData == null ? true : delete formData.pageSize;
|
|
496
496
|
const formComponent = ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table);
|
|
497
497
|
const setFormDataMethod = (_d = (_c = formComponent == null ? void 0 : formComponent.$) == null ? void 0 : _c.exposed) == null ? void 0 : _d.setFormData;
|
|
498
498
|
if (typeof setFormDataMethod === "function") {
|
|
@@ -9,6 +9,7 @@ async function executeEventFlow(params) {
|
|
|
9
9
|
onSuccess,
|
|
10
10
|
onError,
|
|
11
11
|
row,
|
|
12
|
+
item,
|
|
12
13
|
metadata
|
|
13
14
|
} = params;
|
|
14
15
|
if (!eventFlow) {
|
|
@@ -49,7 +50,7 @@ function createEventFlowHandler(options = {}) {
|
|
|
49
50
|
components = {},
|
|
50
51
|
metadata = {}
|
|
51
52
|
} = options;
|
|
52
|
-
return async function handleEvent(row,
|
|
53
|
+
return async function handleEvent(row, item, eventConfig) {
|
|
53
54
|
if (eventConfig && eventConfig.eventFlow) {
|
|
54
55
|
return await executeEventFlow({
|
|
55
56
|
eventFlow: eventConfig.eventFlow,
|
|
@@ -60,12 +61,13 @@ function createEventFlowHandler(options = {}) {
|
|
|
60
61
|
onSuccess,
|
|
61
62
|
onError,
|
|
62
63
|
row,
|
|
63
|
-
|
|
64
|
+
item,
|
|
65
|
+
metadata: { ...metadata, item }
|
|
64
66
|
});
|
|
65
67
|
}
|
|
66
68
|
};
|
|
67
69
|
}
|
|
68
|
-
function getEventHandlers(
|
|
70
|
+
function getEventHandlers(item, row, eventHandler, eventConfigs) {
|
|
69
71
|
const handlers = {};
|
|
70
72
|
if (!eventConfigs) {
|
|
71
73
|
return handlers;
|
|
@@ -73,7 +75,7 @@ function getEventHandlers(item2, row, eventHandler, eventConfigs) {
|
|
|
73
75
|
eventConfigs.forEach((eventConfig) => {
|
|
74
76
|
if (!eventConfig.name) return;
|
|
75
77
|
const eventName = eventConfig.name.toLowerCase();
|
|
76
|
-
handlers[eventName] = () => eventHandler(row,
|
|
78
|
+
handlers[eventName] = () => eventHandler(row, item, eventConfig);
|
|
77
79
|
});
|
|
78
80
|
return handlers;
|
|
79
81
|
}
|
|
@@ -81,7 +83,7 @@ function useEventFlow(options = {}) {
|
|
|
81
83
|
const handleEvent = createEventFlowHandler(options);
|
|
82
84
|
return {
|
|
83
85
|
handleEvent,
|
|
84
|
-
getEventHandlers: (
|
|
86
|
+
getEventHandlers: (item, row, eventConfig) => getEventHandlers(item, row, handleEvent, eventConfig)
|
|
85
87
|
};
|
|
86
88
|
}
|
|
87
89
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
86
86
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
87
87
|
;/* empty css */
|
|
88
88
|
;/* empty css */
|
|
89
|
-
;/* empty css
|
|
89
|
+
;/* empty css */
|
|
90
90
|
;/* empty css */
|
|
91
91
|
;/* empty css */
|
|
92
92
|
;/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = Vue.ref(false);
|
|
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
54
54
|
require("../../../components/TemplateSelector.vue.js");
|
|
55
55
|
require("../../table/default.js");
|
|
56
56
|
;/* empty css */
|
|
57
|
-
;/* empty css
|
|
58
|
-
;/* empty css
|
|
57
|
+
;/* empty css */
|
|
58
|
+
;/* empty css */
|
|
59
59
|
require("../../../store/index.js");
|
|
60
60
|
;/* empty css */
|
|
61
61
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
package/lib/designer.css
CHANGED
|
@@ -6590,12 +6590,11 @@ body,
|
|
|
6590
6590
|
}
|
|
6591
6591
|
.filter-divider[data-v-ba2f1878] .el-icon {
|
|
6592
6592
|
transition: transform 0.3s ease;
|
|
6593
|
-
}.dynamic-mode-config .dynamic-row[data-v-
|
|
6593
|
+
}.dynamic-mode-config .dynamic-row[data-v-6f5db521] {
|
|
6594
6594
|
display: flex;
|
|
6595
|
-
height: 54px;
|
|
6596
6595
|
align-items: center;
|
|
6597
6596
|
}
|
|
6598
|
-
.dynamic-mode-config .back-icon[data-v-
|
|
6597
|
+
.dynamic-mode-config .back-icon[data-v-6f5db521] {
|
|
6599
6598
|
display: flex;
|
|
6600
6599
|
align-items: center;
|
|
6601
6600
|
justify-content: center;
|
|
@@ -6608,11 +6607,11 @@ body,
|
|
|
6608
6607
|
margin-left: 4px;
|
|
6609
6608
|
margin-right: -6px;
|
|
6610
6609
|
}
|
|
6611
|
-
.dynamic-mode-config .back-icon .el-icon[data-v-
|
|
6610
|
+
.dynamic-mode-config .back-icon .el-icon[data-v-6f5db521] {
|
|
6612
6611
|
font-size: 16px;
|
|
6613
6612
|
font-weight: bold;
|
|
6614
6613
|
}
|
|
6615
|
-
.dynamic-mode-config .template-name[data-v-
|
|
6614
|
+
.dynamic-mode-config .template-name[data-v-6f5db521] {
|
|
6616
6615
|
font-size: 16px;
|
|
6617
6616
|
font-weight: 600;
|
|
6618
6617
|
color: #303133;
|
|
@@ -6625,7 +6624,7 @@ body,
|
|
|
6625
6624
|
display: flex;
|
|
6626
6625
|
align-items: center;
|
|
6627
6626
|
}
|
|
6628
|
-
.dynamic-mode-config .template-name-line[data-v-
|
|
6627
|
+
.dynamic-mode-config .template-name-line[data-v-6f5db521] {
|
|
6629
6628
|
height: 16px;
|
|
6630
6629
|
width: 4px;
|
|
6631
6630
|
background-color: var(--el-color-primary);
|
|
@@ -6634,42 +6633,43 @@ body,
|
|
|
6634
6633
|
margin-right: 12px;
|
|
6635
6634
|
margin-top: 2px;
|
|
6636
6635
|
}
|
|
6637
|
-
.dynamic-mode-config .tab-display-section[data-v-
|
|
6636
|
+
.dynamic-mode-config .tab-display-section[data-v-6f5db521] {
|
|
6638
6637
|
flex: 1;
|
|
6639
6638
|
min-width: 0;
|
|
6640
6639
|
}
|
|
6641
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6640
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-6f5db521] .el-tabs__header {
|
|
6642
6641
|
margin: 0;
|
|
6643
6642
|
}
|
|
6644
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6643
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-6f5db521] .el-tabs__nav-wrap::after {
|
|
6645
6644
|
height: 0;
|
|
6646
6645
|
}
|
|
6647
|
-
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-
|
|
6646
|
+
.dynamic-mode-config .tab-display-section .dynamic-tabs[data-v-6f5db521] .el-tabs__item {
|
|
6648
6647
|
padding: 0 12px;
|
|
6649
6648
|
}
|
|
6650
|
-
.dynamic-mode-config .search-display-section[data-v-
|
|
6649
|
+
.dynamic-mode-config .search-display-section[data-v-6f5db521] {
|
|
6651
6650
|
flex-shrink: 0;
|
|
6652
6651
|
display: flex;
|
|
6653
6652
|
align-items: center;
|
|
6654
6653
|
gap: 12px;
|
|
6655
6654
|
margin-left: auto;
|
|
6655
|
+
padding: 12px 0;
|
|
6656
6656
|
}
|
|
6657
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-
|
|
6657
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input[data-v-6f5db521] {
|
|
6658
6658
|
/* width: 300px; */
|
|
6659
6659
|
}
|
|
6660
|
-
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-
|
|
6660
|
+
.dynamic-mode-config .search-display-section .search-input-group .search-input .search[data-v-6f5db521]:hover {
|
|
6661
6661
|
color: var(--el-color-primary);
|
|
6662
6662
|
cursor: pointer;
|
|
6663
6663
|
}
|
|
6664
|
-
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-
|
|
6664
|
+
.dynamic-mode-config .search-display-section .optBtnDraggable[data-v-6f5db521] {
|
|
6665
6665
|
display: flex;
|
|
6666
6666
|
align-items: center;
|
|
6667
6667
|
gap: 8px;
|
|
6668
6668
|
}
|
|
6669
|
-
.dynamic-mode-config .search-display-section .optBtn[data-v-
|
|
6669
|
+
.dynamic-mode-config .search-display-section .optBtn[data-v-6f5db521] {
|
|
6670
6670
|
position: relative;
|
|
6671
6671
|
}
|
|
6672
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6672
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-6f5db521] {
|
|
6673
6673
|
position: absolute;
|
|
6674
6674
|
top: -10px;
|
|
6675
6675
|
right: -10px;
|
|
@@ -6686,31 +6686,31 @@ body,
|
|
|
6686
6686
|
font-size: 12px;
|
|
6687
6687
|
z-index: 1;
|
|
6688
6688
|
}
|
|
6689
|
-
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-
|
|
6689
|
+
.dynamic-mode-config .search-display-section .optBtn .delete-icon[data-v-6f5db521]:hover {
|
|
6690
6690
|
background-color: #f56c6c;
|
|
6691
6691
|
}
|
|
6692
|
-
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-
|
|
6692
|
+
.dynamic-mode-config .search-display-section .optBtn.is-hover .delete-icon[data-v-6f5db521] {
|
|
6693
6693
|
display: flex;
|
|
6694
6694
|
}
|
|
6695
|
-
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-
|
|
6695
|
+
.dynamic-mode-config .search-display-section .optBtn .elBtn[data-v-6f5db521] {
|
|
6696
6696
|
pointer-events: none;
|
|
6697
6697
|
}
|
|
6698
|
-
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-
|
|
6698
|
+
.dynamic-mode-config .search-display-section .addLink .el-icon[data-v-6f5db521] {
|
|
6699
6699
|
margin-right: 4px;
|
|
6700
6700
|
}
|
|
6701
|
-
.dynamic-mode-config .expand-filter-section[data-v-
|
|
6701
|
+
.dynamic-mode-config .expand-filter-section[data-v-6f5db521] {
|
|
6702
6702
|
padding-top: 4px;
|
|
6703
6703
|
border-top: 1px solid #ebeef5;
|
|
6704
6704
|
margin-top: 4px;
|
|
6705
6705
|
}
|
|
6706
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-
|
|
6706
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section[data-v-6f5db521] {
|
|
6707
6707
|
width: 100%;
|
|
6708
6708
|
}
|
|
6709
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-
|
|
6709
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form .form-items-draggable[data-v-6f5db521] {
|
|
6710
6710
|
display: flex;
|
|
6711
6711
|
flex-wrap: wrap;
|
|
6712
6712
|
}
|
|
6713
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6713
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item {
|
|
6714
6714
|
padding: 2px;
|
|
6715
6715
|
border: 2px solid transparent;
|
|
6716
6716
|
border-radius: 2px;
|
|
@@ -6719,20 +6719,20 @@ body,
|
|
|
6719
6719
|
cursor: move;
|
|
6720
6720
|
margin-bottom: 4px;
|
|
6721
6721
|
}
|
|
6722
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6722
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .el-form-item__label-wrap {
|
|
6723
6723
|
margin: 0 0 0 8px !important;
|
|
6724
6724
|
}
|
|
6725
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6725
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .el-form-item__content {
|
|
6726
6726
|
min-width: 150px;
|
|
6727
6727
|
}
|
|
6728
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6728
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .form-item-label {
|
|
6729
6729
|
display: flex;
|
|
6730
6730
|
align-items: center;
|
|
6731
6731
|
}
|
|
6732
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6732
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .el-input {
|
|
6733
6733
|
width: 150px;
|
|
6734
6734
|
}
|
|
6735
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6735
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .delete-icon {
|
|
6736
6736
|
position: absolute;
|
|
6737
6737
|
top: -10px;
|
|
6738
6738
|
right: -10px;
|
|
@@ -6749,19 +6749,19 @@ body,
|
|
|
6749
6749
|
font-size: 12px;
|
|
6750
6750
|
z-index: 1;
|
|
6751
6751
|
}
|
|
6752
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6752
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item .delete-icon:hover {
|
|
6753
6753
|
background-color: #f56c6c;
|
|
6754
6754
|
}
|
|
6755
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6755
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item.is-hover {
|
|
6756
6756
|
border: 2px dashed #7b99cb !important;
|
|
6757
6757
|
}
|
|
6758
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6758
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item.is-hover .delete-icon {
|
|
6759
6759
|
display: flex;
|
|
6760
6760
|
}
|
|
6761
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6761
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item.is-select {
|
|
6762
6762
|
border: 2px dashed #efa53a !important;
|
|
6763
6763
|
}
|
|
6764
|
-
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-
|
|
6764
|
+
.dynamic-mode-config .expand-filter-section .filter-form-section .filter-form[data-v-6f5db521] .el-form-item__label {
|
|
6765
6765
|
font-size: 13px;
|
|
6766
6766
|
color: #606266;
|
|
6767
6767
|
pointer-events: none;
|
|
@@ -6771,14 +6771,14 @@ body,
|
|
|
6771
6771
|
align-items: center;
|
|
6772
6772
|
pointer-events: none;
|
|
6773
6773
|
}
|
|
6774
|
-
[data-v-
|
|
6774
|
+
[data-v-6f5db521] .el-checkbox-group {
|
|
6775
6775
|
display: flex;
|
|
6776
6776
|
gap: 12px;
|
|
6777
6777
|
}
|
|
6778
|
-
[data-v-
|
|
6778
|
+
[data-v-6f5db521] .el-checkbox-group .el-checkbox-button__inner {
|
|
6779
6779
|
border-radius: 4px;
|
|
6780
6780
|
}
|
|
6781
|
-
[data-v-
|
|
6781
|
+
[data-v-6f5db521] .el-input__inner::placeholder {
|
|
6782
6782
|
white-space: nowrap;
|
|
6783
6783
|
overflow: hidden;
|
|
6784
6784
|
text-overflow: ellipsis;
|
|
@@ -496,5 +496,5 @@ const _sfc_main = {
|
|
|
496
496
|
};
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
|
-
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
499
|
+
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-6f5db521"]]);
|
|
500
500
|
exports.default = DynamicQuery;
|
|
@@ -493,8 +493,8 @@ async function handleFormSetValue(node, data, fields, context) {
|
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
495
|
formData = common.removeEmptyValues(formData);
|
|
496
|
-
delete formData.pageNo;
|
|
497
|
-
delete formData.pageSize;
|
|
496
|
+
formData == null ? true : delete formData.pageNo;
|
|
497
|
+
formData == null ? true : delete formData.pageSize;
|
|
498
498
|
const formComponent = ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table);
|
|
499
499
|
const setFormDataMethod = (_d = (_c = formComponent == null ? void 0 : formComponent.$) == null ? void 0 : _c.exposed) == null ? void 0 : _d.setFormData;
|
|
500
500
|
if (typeof setFormDataMethod === "function") {
|
|
@@ -11,6 +11,7 @@ async function executeEventFlow(params) {
|
|
|
11
11
|
onSuccess,
|
|
12
12
|
onError,
|
|
13
13
|
row,
|
|
14
|
+
item,
|
|
14
15
|
metadata
|
|
15
16
|
} = params;
|
|
16
17
|
if (!eventFlow) {
|
|
@@ -51,7 +52,7 @@ function createEventFlowHandler(options = {}) {
|
|
|
51
52
|
components = {},
|
|
52
53
|
metadata = {}
|
|
53
54
|
} = options;
|
|
54
|
-
return async function handleEvent(row,
|
|
55
|
+
return async function handleEvent(row, item, eventConfig) {
|
|
55
56
|
if (eventConfig && eventConfig.eventFlow) {
|
|
56
57
|
return await executeEventFlow({
|
|
57
58
|
eventFlow: eventConfig.eventFlow,
|
|
@@ -62,12 +63,13 @@ function createEventFlowHandler(options = {}) {
|
|
|
62
63
|
onSuccess,
|
|
63
64
|
onError,
|
|
64
65
|
row,
|
|
65
|
-
|
|
66
|
+
item,
|
|
67
|
+
metadata: { ...metadata, item }
|
|
66
68
|
});
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
71
|
}
|
|
70
|
-
function getEventHandlers(
|
|
72
|
+
function getEventHandlers(item, row, eventHandler, eventConfigs) {
|
|
71
73
|
const handlers = {};
|
|
72
74
|
if (!eventConfigs) {
|
|
73
75
|
return handlers;
|
|
@@ -75,7 +77,7 @@ function getEventHandlers(item2, row, eventHandler, eventConfigs) {
|
|
|
75
77
|
eventConfigs.forEach((eventConfig) => {
|
|
76
78
|
if (!eventConfig.name) return;
|
|
77
79
|
const eventName = eventConfig.name.toLowerCase();
|
|
78
|
-
handlers[eventName] = () => eventHandler(row,
|
|
80
|
+
handlers[eventName] = () => eventHandler(row, item, eventConfig);
|
|
79
81
|
});
|
|
80
82
|
return handlers;
|
|
81
83
|
}
|
|
@@ -83,7 +85,7 @@ function useEventFlow(options = {}) {
|
|
|
83
85
|
const handleEvent = createEventFlowHandler(options);
|
|
84
86
|
return {
|
|
85
87
|
handleEvent,
|
|
86
|
-
getEventHandlers: (
|
|
88
|
+
getEventHandlers: (item, row, eventConfig) => getEventHandlers(item, row, handleEvent, eventConfig)
|
|
87
89
|
};
|
|
88
90
|
}
|
|
89
91
|
exports.createEventFlowHandler = createEventFlowHandler;
|