@fecp/designer 5.5.53 → 5.5.54
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/default.mjs +1 -0
- package/es/designer/src/packages/form/formSetting.vue.mjs +27 -20
- package/es/designer/src/packages/table/index.vue.mjs +1 -1
- package/es/designer.css +299 -203
- package/es/packages/vue/src/components/details/main/Main.vue.mjs +7 -4
- package/es/packages/vue/src/components/details/main/index.mjs +2 -2
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +157 -67
- package/es/packages/vue/src/components/forms/form/FormAnchorNav.vue.mjs +109 -0
- package/es/packages/vue/src/components/forms/form/RightAnchorNav.vue.mjs +126 -0
- package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +7 -4
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +3 -2
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +9 -17
- package/es/packages/vue/src/components/table/DynamicQuery.vue.mjs +4 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +18 -1
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +3 -2
- package/es/packages/vue/src/utils/eventBus.mjs +5 -0
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/form/default.js +1 -0
- package/lib/designer/src/packages/form/formSetting.vue.js +33 -26
- package/lib/designer/src/packages/table/index.vue.js +1 -1
- package/lib/designer.css +299 -203
- package/lib/packages/vue/src/components/details/main/Main.vue.js +7 -4
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +162 -72
- package/lib/packages/vue/src/components/forms/form/FormAnchorNav.vue.js +109 -0
- package/lib/packages/vue/src/components/forms/form/RightAnchorNav.vue.js +126 -0
- package/lib/packages/vue/src/components/forms/h2/H2.vue.js +7 -4
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +3 -2
- package/lib/packages/vue/src/components/layout/Layout.vue.js +9 -17
- package/lib/packages/vue/src/components/table/DynamicQuery.vue.js +4 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +18 -1
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +3 -2
- package/lib/packages/vue/src/utils/eventBus.js +5 -0
- package/package.json +1 -1
|
@@ -4,14 +4,12 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
;/* empty css */
|
|
7
|
-
;/* empty css */
|
|
8
7
|
const Vue = require("vue");
|
|
9
8
|
const common = require("../../utils/common.js");
|
|
10
9
|
;/* empty css */
|
|
11
10
|
const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
12
11
|
const index = require("../../../../../node_modules/element-plus/es/components/row/index.js");
|
|
13
12
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/col/index.js");
|
|
14
|
-
const index$2 = require("../../../../../node_modules/element-plus/es/components/scrollbar/index.js");
|
|
15
13
|
const _hoisted_1 = { class: "grid-content" };
|
|
16
14
|
const _hoisted_2 = { class: "grid-content-statistics" };
|
|
17
15
|
const _sfc_main = {
|
|
@@ -48,7 +46,6 @@ const _sfc_main = {
|
|
|
48
46
|
}
|
|
49
47
|
return (_ctx, _cache) => {
|
|
50
48
|
const _component_fec_form = Vue.resolveComponent("fec-form");
|
|
51
|
-
const _component_el_scrollbar = index$2.ElScrollbar;
|
|
52
49
|
const _component_el_col = index$1.ElCol;
|
|
53
50
|
const _component_el_row = index.ElRow;
|
|
54
51
|
const _directive_fec_layout = Vue.resolveDirective("fec-layout");
|
|
@@ -65,19 +62,14 @@ const _sfc_main = {
|
|
|
65
62
|
}, {
|
|
66
63
|
default: Vue.withCtx(() => [
|
|
67
64
|
Vue.createElementVNode("div", _hoisted_1, [
|
|
68
|
-
Vue.createVNode(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
initFormMode: __props.initFormMode
|
|
77
|
-
}, null, 8, ["templateKey", "modelValue", "initFormMode"])
|
|
78
|
-
]),
|
|
79
|
-
_: 1
|
|
80
|
-
}, 512)
|
|
65
|
+
Vue.createVNode(_component_fec_form, {
|
|
66
|
+
ref: "formRef",
|
|
67
|
+
templateKey: __props.templateKey,
|
|
68
|
+
modelValue: Vue.unref(formData),
|
|
69
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => Vue.isRef(formData) ? formData.value = $event : null),
|
|
70
|
+
onLoaded: loaded,
|
|
71
|
+
initFormMode: __props.initFormMode
|
|
72
|
+
}, null, 8, ["templateKey", "modelValue", "initFormMode"])
|
|
81
73
|
])
|
|
82
74
|
]),
|
|
83
75
|
_: 1
|
|
@@ -101,5 +93,5 @@ const _sfc_main = {
|
|
|
101
93
|
};
|
|
102
94
|
}
|
|
103
95
|
};
|
|
104
|
-
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1eb7b697"]]);
|
|
105
97
|
exports.default = _Layout;
|
|
@@ -322,6 +322,7 @@ const _sfc_main = {
|
|
|
322
322
|
placeholder: "请输入查询条件",
|
|
323
323
|
class: "search-input",
|
|
324
324
|
clearable: "",
|
|
325
|
+
size: "default",
|
|
325
326
|
onKeyup: onSearchInputKeyup
|
|
326
327
|
}, Vue.createSlots({
|
|
327
328
|
suffix: Vue.withCtx(() => [
|
|
@@ -388,7 +389,8 @@ const _sfc_main = {
|
|
|
388
389
|
model: filterValues.value,
|
|
389
390
|
class: "filter-form",
|
|
390
391
|
"label-width": "100px",
|
|
391
|
-
inline: ""
|
|
392
|
+
inline: "",
|
|
393
|
+
size: "default"
|
|
392
394
|
}, {
|
|
393
395
|
default: Vue.withCtx(() => [
|
|
394
396
|
Vue.createElementVNode("div", _hoisted_10, [
|
|
@@ -485,5 +487,5 @@ const _sfc_main = {
|
|
|
485
487
|
};
|
|
486
488
|
}
|
|
487
489
|
};
|
|
488
|
-
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
490
|
+
const DynamicQuery = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-ba490486"]]);
|
|
489
491
|
exports.default = DynamicQuery;
|
|
@@ -42,6 +42,7 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
42
42
|
;/* empty css */
|
|
43
43
|
;/* empty css */
|
|
44
44
|
const getJsonAsyncUtil = require("../../utils/getJsonAsyncUtil.js");
|
|
45
|
+
const eventBus = require("../../utils/eventBus.js");
|
|
45
46
|
;/* empty css */
|
|
46
47
|
const index = require("../../../../../node_modules/element-plus/es/components/container/index.js");
|
|
47
48
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/message/index.js");
|
|
@@ -122,6 +123,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
122
123
|
btnRollbackEvent: {
|
|
123
124
|
type: Object,
|
|
124
125
|
default: {}
|
|
126
|
+
},
|
|
127
|
+
subTableConfig: {
|
|
128
|
+
type: Object,
|
|
129
|
+
default: {}
|
|
125
130
|
}
|
|
126
131
|
},
|
|
127
132
|
emits: [
|
|
@@ -551,6 +556,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
551
556
|
const handleInitRendered = ({ visibleColumn, visibleData, $event }) => {
|
|
552
557
|
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
553
558
|
emit("height-loaded", localConfig.value, offsetHeight);
|
|
559
|
+
if ((visibleData == null ? void 0 : visibleData.length) > 0) {
|
|
560
|
+
eventBus.default.emit("onSubTableDataLoaded", {
|
|
561
|
+
subTableConfig: props.subTableConfig,
|
|
562
|
+
visibleData
|
|
563
|
+
});
|
|
564
|
+
}
|
|
554
565
|
};
|
|
555
566
|
const handleDataRendered = ({
|
|
556
567
|
isReload,
|
|
@@ -560,6 +571,12 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
560
571
|
}) => {
|
|
561
572
|
const offsetHeight = fecTableContainerRef.value.$el.offsetHeight;
|
|
562
573
|
emit("height-loaded", localConfig.value, offsetHeight);
|
|
574
|
+
if ((visibleData == null ? void 0 : visibleData.length) > 0) {
|
|
575
|
+
eventBus.default.emit("onSubTableDataLoaded", {
|
|
576
|
+
subTableConfig: props.subTableConfig,
|
|
577
|
+
visibleData
|
|
578
|
+
});
|
|
579
|
+
}
|
|
563
580
|
};
|
|
564
581
|
const handleFilterSearch = (filters) => {
|
|
565
582
|
var _a, _b;
|
|
@@ -973,5 +990,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
973
990
|
};
|
|
974
991
|
}
|
|
975
992
|
});
|
|
976
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
993
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3726d701"]]);
|
|
977
994
|
exports.default = _Table;
|
|
@@ -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
|
+
"12f9d7c1": `${config.value.collapseRows * 90}px`
|
|
58
58
|
}));
|
|
59
59
|
const props = __props;
|
|
60
60
|
const emit = __emit;
|
|
@@ -190,6 +190,7 @@ const _sfc_main = {
|
|
|
190
190
|
"label-position": "right",
|
|
191
191
|
style: Vue.normalizeStyle({ "--column-count": config.value.columnCount }),
|
|
192
192
|
tabindex: "0",
|
|
193
|
+
size: "default",
|
|
193
194
|
onKeydown: Vue.withKeys(handleSearch, ["enter"])
|
|
194
195
|
}, {
|
|
195
196
|
default: Vue.withCtx(() => [
|
|
@@ -302,5 +303,5 @@ const _sfc_main = {
|
|
|
302
303
|
};
|
|
303
304
|
}
|
|
304
305
|
};
|
|
305
|
-
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
306
|
+
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-220e0331"]]);
|
|
306
307
|
exports.default = TableFilter;
|