@fecp/designer 5.5.37 → 5.5.40
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/components/ValueSelector.vue2.mjs +3 -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 +24 -22
- package/es/packages/vue/src/components/details/footer/Footer.vue.mjs +16 -5
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +7 -5
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/ValueSelector.vue2.js +14 -12
- package/lib/designer/src/packages/dialog/index.vue2.js +326 -326
- 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/index.vue2.js +297 -297
- 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 +24 -22
- package/lib/packages/vue/src/components/details/footer/Footer.vue.js +15 -4
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +6 -4
- package/package.json +1 -1
|
@@ -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.vue2.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
|
@@ -5919,7 +5919,7 @@ body,
|
|
|
5919
5919
|
display: flex;
|
|
5920
5920
|
align-items: flex-end;
|
|
5921
5921
|
}
|
|
5922
|
-
.form-details-footer[data-v-
|
|
5922
|
+
.form-details-footer[data-v-69e1a97b] {
|
|
5923
5923
|
background-color: #fff;
|
|
5924
5924
|
height: 50px;
|
|
5925
5925
|
display: flex;
|
|
@@ -5930,7 +5930,7 @@ body,
|
|
|
5930
5930
|
padding: 0;
|
|
5931
5931
|
z-index: 1;
|
|
5932
5932
|
}
|
|
5933
|
-
.form-details-footer > .el-button[data-v-
|
|
5933
|
+
.form-details-footer > .el-button[data-v-69e1a97b] {
|
|
5934
5934
|
width: 80px;
|
|
5935
5935
|
font-size: var(--el-font-size-extra-small);
|
|
5936
5936
|
}
|
|
@@ -6037,7 +6037,7 @@ body,
|
|
|
6037
6037
|
}
|
|
6038
6038
|
.cell-content .copy-icon[data-v-5138d230]:hover {
|
|
6039
6039
|
color: #409eff;
|
|
6040
|
-
}.fec-table-filter[data-v-
|
|
6040
|
+
}.fec-table-filter[data-v-0d77bdaf] {
|
|
6041
6041
|
display: flex;
|
|
6042
6042
|
background-color: #fff;
|
|
6043
6043
|
align-items: flex-start;
|
|
@@ -6045,7 +6045,7 @@ body,
|
|
|
6045
6045
|
border-bottom: 1px solid #f0f5fb;
|
|
6046
6046
|
padding-top: 16px;
|
|
6047
6047
|
}
|
|
6048
|
-
.fec-table-filter .filter-fields[data-v-
|
|
6048
|
+
.fec-table-filter .filter-fields[data-v-0d77bdaf] {
|
|
6049
6049
|
flex: 1;
|
|
6050
6050
|
display: grid;
|
|
6051
6051
|
grid-template-columns: repeat(var(--column-count, 3), 1fr);
|
|
@@ -6053,18 +6053,18 @@ body,
|
|
|
6053
6053
|
transition: all 0.4s ease;
|
|
6054
6054
|
overflow: hidden;
|
|
6055
6055
|
}
|
|
6056
|
-
.fec-table-filter .filter-fields.is-collapsed[data-v-
|
|
6057
|
-
max-height: var(--
|
|
6056
|
+
.fec-table-filter .filter-fields.is-collapsed[data-v-0d77bdaf] {
|
|
6057
|
+
max-height: var(--7cffb288);
|
|
6058
6058
|
}
|
|
6059
|
-
.fec-table-filter .filter-field[data-v-
|
|
6059
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] {
|
|
6060
6060
|
transition: all 0.3s ease;
|
|
6061
6061
|
}
|
|
6062
|
-
.fec-table-filter .filter-field[data-v-
|
|
6062
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item {
|
|
6063
6063
|
display: flex;
|
|
6064
6064
|
flex-direction: row;
|
|
6065
6065
|
align-items: center;
|
|
6066
6066
|
}
|
|
6067
|
-
.fec-table-filter .filter-field[data-v-
|
|
6067
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item .el-form-item__label {
|
|
6068
6068
|
font-size: 14px;
|
|
6069
6069
|
color: #606266;
|
|
6070
6070
|
font-weight: 500;
|
|
@@ -6077,16 +6077,16 @@ body,
|
|
|
6077
6077
|
width: 35% !important;
|
|
6078
6078
|
pointer-events: none;
|
|
6079
6079
|
}
|
|
6080
|
-
.fec-table-filter .filter-field[data-v-
|
|
6080
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item .el-form-item__content {
|
|
6081
6081
|
flex: 1;
|
|
6082
6082
|
margin-left: 0 !important;
|
|
6083
6083
|
}
|
|
6084
|
-
.fec-table-filter .filter-field[data-v-
|
|
6085
|
-
.fec-table-filter .filter-field[data-v-
|
|
6086
|
-
.fec-table-filter .filter-field[data-v-
|
|
6084
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .text-field-wrapper,
|
|
6085
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-select,
|
|
6086
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-date-editor {
|
|
6087
6087
|
width: 100%;
|
|
6088
6088
|
}
|
|
6089
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6089
|
+
.fec-table-filter .filter-actions[data-v-0d77bdaf] {
|
|
6090
6090
|
flex-shrink: 0;
|
|
6091
6091
|
/* border-left: 1px solid #eaebef; */
|
|
6092
6092
|
display: flex;
|
|
@@ -6096,34 +6096,36 @@ body,
|
|
|
6096
6096
|
gap: 10px;
|
|
6097
6097
|
height: 100%;
|
|
6098
6098
|
}
|
|
6099
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6099
|
+
.fec-table-filter .filter-actions[data-v-0d77bdaf] .el-button {
|
|
6100
6100
|
margin: 0;
|
|
6101
6101
|
}
|
|
6102
|
-
.fec-table-filter .filter-actions.inline[data-v-
|
|
6102
|
+
.fec-table-filter .filter-actions.inline[data-v-0d77bdaf] {
|
|
6103
6103
|
flex-direction: row;
|
|
6104
6104
|
gap: 8px;
|
|
6105
6105
|
height: auto;
|
|
6106
6106
|
align-items: center;
|
|
6107
|
+
min-width: 16%;
|
|
6108
|
+
margin: 1px 0 0 16px;
|
|
6107
6109
|
}
|
|
6108
|
-
.filter-fields[data-v-
|
|
6110
|
+
.filter-fields[data-v-0d77bdaf] {
|
|
6109
6111
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6110
6112
|
}
|
|
6111
|
-
.filter-field[data-v-
|
|
6113
|
+
.filter-field[data-v-0d77bdaf] {
|
|
6112
6114
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
6113
6115
|
}
|
|
6114
|
-
.filter-divider[data-v-
|
|
6116
|
+
.filter-divider[data-v-0d77bdaf] {
|
|
6115
6117
|
margin: 8px 0;
|
|
6116
6118
|
z-index: 1;
|
|
6117
6119
|
transition: all 0.3s ease;
|
|
6118
6120
|
}
|
|
6119
|
-
.filter-divider .collapse-toggle[data-v-
|
|
6121
|
+
.filter-divider .collapse-toggle[data-v-0d77bdaf] {
|
|
6120
6122
|
display: flex;
|
|
6121
6123
|
align-items: center;
|
|
6122
6124
|
gap: 2px;
|
|
6123
6125
|
color: #409eff;
|
|
6124
6126
|
cursor: pointer;
|
|
6125
6127
|
}
|
|
6126
|
-
.filter-divider[data-v-
|
|
6128
|
+
.filter-divider[data-v-0d77bdaf] .el-divider__text {
|
|
6127
6129
|
font-size: 13px;
|
|
6128
6130
|
color: #606266;
|
|
6129
6131
|
transition: all 0.3s ease;
|
|
@@ -6133,7 +6135,7 @@ body,
|
|
|
6133
6135
|
background-color: #fff;
|
|
6134
6136
|
padding: 0 10px;
|
|
6135
6137
|
}
|
|
6136
|
-
.filter-divider[data-v-
|
|
6138
|
+
.filter-divider[data-v-0d77bdaf] .el-icon {
|
|
6137
6139
|
transition: transform 0.3s ease;
|
|
6138
6140
|
}.dynamic-mode-config .dynamic-row[data-v-e95c842d] {
|
|
6139
6141
|
display: flex;
|
|
@@ -26,18 +26,29 @@ const _sfc_main = {
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["cancel", "submit", "custom-button-click"],
|
|
28
28
|
setup(__props, { emit: __emit }) {
|
|
29
|
+
const props = __props;
|
|
29
30
|
const emit = __emit;
|
|
31
|
+
const formDetailsFooterRef = Vue.ref();
|
|
30
32
|
const handleButtonClick = (button) => {
|
|
31
33
|
emit("custom-button-click", button);
|
|
32
34
|
};
|
|
35
|
+
const showFooter = Vue.ref(true);
|
|
36
|
+
Vue.onMounted(() => {
|
|
37
|
+
const layoutDom = formDetailsFooterRef.value.$el.closest(".fec-layout-row");
|
|
38
|
+
if (layoutDom && props.formMode == "query") {
|
|
39
|
+
showFooter.value = false;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
33
42
|
return (_ctx, _cache) => {
|
|
34
43
|
var _a;
|
|
35
44
|
const _component_el_button = index$1.ElButton;
|
|
36
45
|
const _component_el_footer = index.ElFooter;
|
|
37
46
|
const _directive_fec_auth = Vue.resolveDirective("fec-auth");
|
|
38
|
-
return __props.pageFooterConfig.enabled && ((_a = __props.pageFooterConfig.actions) == null ? void 0 : _a.length) ? (Vue.openBlock(), Vue.createBlock(_component_el_footer, {
|
|
47
|
+
return __props.pageFooterConfig.enabled && ((_a = __props.pageFooterConfig.actions) == null ? void 0 : _a.length) && Vue.unref(showFooter) ? (Vue.openBlock(), Vue.createBlock(_component_el_footer, {
|
|
39
48
|
key: 0,
|
|
40
|
-
class: "form-details-footer"
|
|
49
|
+
class: "form-details-footer",
|
|
50
|
+
ref_key: "formDetailsFooterRef",
|
|
51
|
+
ref: formDetailsFooterRef
|
|
41
52
|
}, {
|
|
42
53
|
default: Vue.withCtx(() => [
|
|
43
54
|
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(__props.pageFooterConfig.actions, (button) => {
|
|
@@ -60,9 +71,9 @@ const _sfc_main = {
|
|
|
60
71
|
}), 128))
|
|
61
72
|
]),
|
|
62
73
|
_: 1
|
|
63
|
-
})) : Vue.createCommentVNode("", true);
|
|
74
|
+
}, 512)) : Vue.createCommentVNode("", true);
|
|
64
75
|
};
|
|
65
76
|
}
|
|
66
77
|
};
|
|
67
|
-
const component = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
78
|
+
const component = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-69e1a97b"]]);
|
|
68
79
|
exports.default = component;
|
|
@@ -33,7 +33,7 @@ const _hoisted_1 = {
|
|
|
33
33
|
key: 1,
|
|
34
34
|
style: { "display": "flex", "align-items": "center", "gap": "8px", "width": "100%" }
|
|
35
35
|
};
|
|
36
|
-
const _hoisted_2 = { class: "filter-actions inline
|
|
36
|
+
const _hoisted_2 = { class: "filter-actions inline" };
|
|
37
37
|
const _sfc_main = {
|
|
38
38
|
__name: "TableFilter",
|
|
39
39
|
props: {
|
|
@@ -54,7 +54,7 @@ const _sfc_main = {
|
|
|
54
54
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
55
55
|
var _a;
|
|
56
56
|
Vue.useCssVars((_ctx) => ({
|
|
57
|
-
"
|
|
57
|
+
"7cffb288": `${config.value.collapseRows * 90}px`
|
|
58
58
|
}));
|
|
59
59
|
const props = __props;
|
|
60
60
|
const emit = __emit;
|
|
@@ -188,7 +188,9 @@ const _sfc_main = {
|
|
|
188
188
|
class: "fec-table-filter",
|
|
189
189
|
"label-width": "100px",
|
|
190
190
|
"label-position": "right",
|
|
191
|
-
style: Vue.normalizeStyle({ "--column-count": config.value.columnCount })
|
|
191
|
+
style: Vue.normalizeStyle({ "--column-count": config.value.columnCount }),
|
|
192
|
+
tabindex: "0",
|
|
193
|
+
onKeydown: Vue.withKeys(handleSearch, ["enter"])
|
|
192
194
|
}, {
|
|
193
195
|
default: Vue.withCtx(() => [
|
|
194
196
|
Vue.createElementVNode("div", {
|
|
@@ -300,5 +302,5 @@ const _sfc_main = {
|
|
|
300
302
|
};
|
|
301
303
|
}
|
|
302
304
|
};
|
|
303
|
-
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
305
|
+
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-0d77bdaf"]]);
|
|
304
306
|
exports.default = TableFilter;
|