@fecp/designer 5.5.53 → 5.5.57
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/default.mjs +1 -0
- package/es/designer/src/packages/form/formSetting.vue.mjs +27 -20
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- 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 +161 -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/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/default.js +1 -0
- package/lib/designer/src/packages/form/formSetting.vue.js +33 -26
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- 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 +166 -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
|
@@ -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 */
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "../../../../node_modules/element-plus/es/index.mjs";
|
|
2
2
|
/* empty css */
|
|
3
|
-
/* empty css */
|
|
4
3
|
/* empty css */
|
|
5
4
|
/* empty css */
|
|
6
5
|
/* empty css */
|
|
@@ -10,14 +9,15 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
10
9
|
/* empty css */
|
|
11
10
|
/* empty css */
|
|
12
11
|
/* empty css */
|
|
12
|
+
/* empty css */
|
|
13
13
|
import { computed, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, withCtx, createTextVNode, unref, isRef } from "vue";
|
|
14
14
|
import { getEditConfigData } from "../utils/common.mjs";
|
|
15
15
|
import { useDataSourceDialog } from "../dataSource/useDataSourceDialog.mjs";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
18
|
+
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
18
19
|
import { ElSelect, ElOption } from "../../../../node_modules/element-plus/es/components/select/index.mjs";
|
|
19
20
|
import { ElRadioGroup, ElRadioButton } from "../../../../node_modules/element-plus/es/components/radio/index.mjs";
|
|
20
|
-
import { ElSwitch } from "../../../../node_modules/element-plus/es/components/switch/index.mjs";
|
|
21
21
|
const _hoisted_1 = { class: "form-setting" };
|
|
22
22
|
const _hoisted_2 = { class: "setting-left" };
|
|
23
23
|
const _hoisted_3 = { class: "setting-right" };
|
|
@@ -48,18 +48,25 @@ const _sfc_main = {
|
|
|
48
48
|
return formConfig.value.validationRules || [];
|
|
49
49
|
});
|
|
50
50
|
return (_ctx, _cache) => {
|
|
51
|
+
const _component_el_switch = ElSwitch;
|
|
51
52
|
const _component_el_option = ElOption;
|
|
52
53
|
const _component_el_select = ElSelect;
|
|
53
54
|
const _component_el_radio_button = ElRadioButton;
|
|
54
55
|
const _component_el_radio_group = ElRadioGroup;
|
|
55
|
-
const _component_el_switch = ElSwitch;
|
|
56
56
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
57
57
|
createElementVNode("div", _hoisted_1, [
|
|
58
58
|
createElementVNode("div", _hoisted_2, [
|
|
59
|
-
_cache[
|
|
59
|
+
_cache[11] || (_cache[11] = createElementVNode("span", { class: "text-label" }, "启用导航", -1)),
|
|
60
|
+
createVNode(_component_el_switch, {
|
|
61
|
+
modelValue: formConfig.value.navigationEnabled,
|
|
62
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formConfig.value.navigationEnabled = $event),
|
|
63
|
+
size: "small"
|
|
64
|
+
}, null, 8, ["modelValue"]),
|
|
65
|
+
_cache[12] || (_cache[12] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
66
|
+
_cache[13] || (_cache[13] = createElementVNode("span", { class: "text-label" }, "列数", -1)),
|
|
60
67
|
createVNode(_component_el_select, {
|
|
61
68
|
modelValue: formConfig.value.columns,
|
|
62
|
-
"onUpdate:modelValue": _cache[
|
|
69
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => formConfig.value.columns = $event),
|
|
63
70
|
size: "small",
|
|
64
71
|
style: { "width": "100px" }
|
|
65
72
|
}, {
|
|
@@ -83,28 +90,28 @@ const _sfc_main = {
|
|
|
83
90
|
]),
|
|
84
91
|
_: 1
|
|
85
92
|
}, 8, ["modelValue"]),
|
|
86
|
-
_cache[
|
|
87
|
-
_cache[
|
|
93
|
+
_cache[14] || (_cache[14] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
94
|
+
_cache[15] || (_cache[15] = createElementVNode("span", { class: "text-label" }, "标签位置", -1)),
|
|
88
95
|
createVNode(_component_el_radio_group, {
|
|
89
96
|
modelValue: formConfig.value.labelPosition,
|
|
90
|
-
"onUpdate:modelValue": _cache[
|
|
97
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => formConfig.value.labelPosition = $event),
|
|
91
98
|
size: "small"
|
|
92
99
|
}, {
|
|
93
100
|
default: withCtx(() => [
|
|
94
101
|
createVNode(_component_el_radio_button, { value: "left" }, {
|
|
95
|
-
default: withCtx(() => _cache[
|
|
102
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
96
103
|
createTextVNode("左对齐")
|
|
97
104
|
])),
|
|
98
105
|
_: 1
|
|
99
106
|
}),
|
|
100
107
|
createVNode(_component_el_radio_button, { value: "right" }, {
|
|
101
|
-
default: withCtx(() => _cache[
|
|
108
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
102
109
|
createTextVNode("右对齐")
|
|
103
110
|
])),
|
|
104
111
|
_: 1
|
|
105
112
|
}),
|
|
106
113
|
createVNode(_component_el_radio_button, { value: "top" }, {
|
|
107
|
-
default: withCtx(() => _cache[
|
|
114
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
108
115
|
createTextVNode("顶部对齐")
|
|
109
116
|
])),
|
|
110
117
|
_: 1
|
|
@@ -112,22 +119,22 @@ const _sfc_main = {
|
|
|
112
119
|
]),
|
|
113
120
|
_: 1
|
|
114
121
|
}, 8, ["modelValue"]),
|
|
115
|
-
_cache[
|
|
116
|
-
_cache[
|
|
122
|
+
_cache[16] || (_cache[16] = createElementVNode("div", { class: "setting-divider" }, null, -1)),
|
|
123
|
+
_cache[17] || (_cache[17] = createElementVNode("span", { class: "text-label" }, "表单模式", -1)),
|
|
117
124
|
createVNode(_component_el_radio_group, {
|
|
118
125
|
modelValue: formConfig.value.formMode,
|
|
119
|
-
"onUpdate:modelValue": _cache[
|
|
126
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => formConfig.value.formMode = $event),
|
|
120
127
|
size: "small"
|
|
121
128
|
}, {
|
|
122
129
|
default: withCtx(() => [
|
|
123
130
|
createVNode(_component_el_radio_button, { value: "edit" }, {
|
|
124
|
-
default: withCtx(() => _cache[
|
|
131
|
+
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
125
132
|
createTextVNode("编辑")
|
|
126
133
|
])),
|
|
127
134
|
_: 1
|
|
128
135
|
}),
|
|
129
136
|
createVNode(_component_el_radio_button, { value: "query" }, {
|
|
130
|
-
default: withCtx(() => _cache[
|
|
137
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
131
138
|
createTextVNode("查看")
|
|
132
139
|
])),
|
|
133
140
|
_: 1
|
|
@@ -137,23 +144,23 @@ const _sfc_main = {
|
|
|
137
144
|
}, 8, ["modelValue"])
|
|
138
145
|
]),
|
|
139
146
|
createElementVNode("div", _hoisted_3, [
|
|
140
|
-
_cache[
|
|
147
|
+
_cache[18] || (_cache[18] = createElementVNode("span", { class: "text-label" }, "显示字段名", -1)),
|
|
141
148
|
createVNode(_component_el_switch, {
|
|
142
149
|
modelValue: formConfig.value.showFieldName,
|
|
143
|
-
"onUpdate:modelValue": _cache[
|
|
150
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => formConfig.value.showFieldName = $event),
|
|
144
151
|
size: "small"
|
|
145
152
|
}, null, 8, ["modelValue"])
|
|
146
153
|
])
|
|
147
154
|
]),
|
|
148
155
|
createVNode(unref(DataSourceDialog), {
|
|
149
156
|
modelValue: unref(dataSourceDialogVisible),
|
|
150
|
-
"onUpdate:modelValue": _cache[
|
|
157
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(dataSourceDialogVisible) ? dataSourceDialogVisible.value = $event : null)
|
|
151
158
|
}, null, 8, ["modelValue"])
|
|
152
159
|
], 64);
|
|
153
160
|
};
|
|
154
161
|
}
|
|
155
162
|
};
|
|
156
|
-
const FormSetting = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
163
|
+
const FormSetting = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-22405d4d"]]);
|
|
157
164
|
export {
|
|
158
165
|
FormSetting as default
|
|
159
166
|
};
|
|
@@ -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";
|
|
@@ -323,7 +323,7 @@ const _sfc_main = {
|
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
|
-
const tableWorkArea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
326
|
+
const tableWorkArea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-87fe3266"]]);
|
|
327
327
|
export {
|
|
328
328
|
tableWorkArea as default
|
|
329
329
|
};
|