@fecp/designer 5.4.117 → 5.4.119
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/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +242 -242
- package/es/node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs +1 -1
- package/es/node_modules/element-plus/es/components/form/src/hooks/use-form-common-props.mjs +1 -1
- package/es/node_modules/element-plus/es/utils/vue/icon.mjs +1 -1
- package/es/packages/vue/src/components/all.mjs +1 -1
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +3 -3
- package/es/packages/vue/src/components/forms/index.mjs +2 -0
- package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +2 -2
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +2 -2
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +3 -3
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.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 +242 -242
- package/lib/packages/vue/src/components/all.js +40 -40
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +5 -5
- package/lib/packages/vue/src/components/forms/index.js +4 -2
- package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +2 -2
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +2 -2
- package/lib/packages/vue/src/components/layout/Layout.vue.js +3 -3
- package/package.json +1 -1
package/es/node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { useZIndex, defaultInitialZIndex, zIndexContextKey } from "../../../../h
|
|
|
6
6
|
import { SIZE_INJECTION_KEY } from "../../../../hooks/use-size/index.mjs";
|
|
7
7
|
import { emptyValuesContextKey } from "../../../../hooks/use-empty-values/index.mjs";
|
|
8
8
|
import { configProviderContextKey } from "../constants.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { computed, unref, getCurrentInstance, inject, ref, provide } from "vue";
|
|
10
10
|
const globalConfig = ref();
|
|
11
11
|
function useGlobalConfig(key, defaultValue = void 0) {
|
|
12
12
|
const config = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useProp } from "../../../../hooks/use-prop/index.mjs";
|
|
2
2
|
import { useGlobalSize } from "../../../../hooks/use-size/index.mjs";
|
|
3
3
|
import { formContextKey, formItemContextKey } from "../constants.mjs";
|
|
4
|
-
import { inject, computed, unref
|
|
4
|
+
import { ref, inject, computed, unref } from "vue";
|
|
5
5
|
const useFormSize = (fallback, ignore = {}) => {
|
|
6
6
|
const emptyRef = ref(void 0);
|
|
7
7
|
const size = ignore.prop ? emptyRef : useProp("size");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { definePropType } from "./props/runtime.mjs";
|
|
2
|
-
import { CircleClose as circle_close_default, CircleCheck as circle_check_default, Loading as loading_default, InfoFilled as info_filled_default, CircleCloseFilled as circle_close_filled_default, WarningFilled as warning_filled_default, SuccessFilled as success_filled_default
|
|
2
|
+
import { CircleClose as circle_close_default, CircleCheck as circle_check_default, Loading as loading_default, Close as close_default, InfoFilled as info_filled_default, CircleCloseFilled as circle_close_filled_default, WarningFilled as warning_filled_default, SuccessFilled as success_filled_default } from "../../../../@element-plus/icons-vue/dist/index.mjs";
|
|
3
3
|
const iconPropType = definePropType([
|
|
4
4
|
String,
|
|
5
5
|
Object,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Layout } from "./layout/index.mjs";
|
|
2
|
-
import { FormItem } from "./forms/formItem/index.mjs";
|
|
3
2
|
import { Text } from "./forms/text/index.mjs";
|
|
4
3
|
import { Textarea } from "./forms/textarea/index.mjs";
|
|
5
4
|
import { Number } from "./forms/number/index.mjs";
|
|
@@ -19,6 +18,7 @@ import { Area } from "./forms/area/index.mjs";
|
|
|
19
18
|
import { Industry } from "./forms/industry/index.mjs";
|
|
20
19
|
import { UserSelect } from "./forms/userSelect/index.mjs";
|
|
21
20
|
import { RoleSelect } from "./forms/roleSelect/index.mjs";
|
|
21
|
+
import { FormItem } from "./forms/formItem/index.mjs";
|
|
22
22
|
import { Form } from "./forms/form/index.mjs";
|
|
23
23
|
import { Table } from "./table/index.mjs";
|
|
24
24
|
import { ApprovalHistory } from "./bus/approvalHistory/index.mjs";
|
|
@@ -10,7 +10,7 @@ import { getCurrentInstance, ref, watch, onMounted, onBeforeUnmount, provide, cr
|
|
|
10
10
|
import "../../../../../../node_modules/grid-layout-plus/es/index.mjs";
|
|
11
11
|
import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
|
|
12
12
|
import getJsonAsyncUtil from "../../../utils/getJsonAsyncUtil.mjs";
|
|
13
|
-
import
|
|
13
|
+
import { FormItem } from "../formItem/index.mjs";
|
|
14
14
|
import { createDataSource } from "../../../utils/datasource.mjs";
|
|
15
15
|
import { generateFieldRules } from "./validation.mjs";
|
|
16
16
|
import { parseSingleParamValue } from "../../../utils/parseRouteParams.mjs";
|
|
@@ -1056,7 +1056,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1056
1056
|
onLayoutUpdated: layoutUpdated
|
|
1057
1057
|
}, {
|
|
1058
1058
|
item: withCtx(({ item: { component } }) => [
|
|
1059
|
-
createVNode(
|
|
1059
|
+
createVNode(unref(FormItem), {
|
|
1060
1060
|
ref: (el) => setFormItemRef(el, component),
|
|
1061
1061
|
modelValue: formData.value[component.fieldName],
|
|
1062
1062
|
"onUpdate:modelValue": ($event) => formData.value[component.fieldName] = $event,
|
|
@@ -1096,7 +1096,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
1098
1098
|
});
|
|
1099
|
-
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1099
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cd5951a2"]]);
|
|
1100
1100
|
export {
|
|
1101
1101
|
_Form as default
|
|
1102
1102
|
};
|
|
@@ -17,6 +17,7 @@ import { Area } from "./area/index.mjs";
|
|
|
17
17
|
import { Industry } from "./industry/index.mjs";
|
|
18
18
|
import { UserSelect } from "./userSelect/index.mjs";
|
|
19
19
|
import { RoleSelect } from "./roleSelect/index.mjs";
|
|
20
|
+
import { FormItem } from "./formItem/index.mjs";
|
|
20
21
|
import { Form } from "./form/index.mjs";
|
|
21
22
|
export {
|
|
22
23
|
Area,
|
|
@@ -24,6 +25,7 @@ export {
|
|
|
24
25
|
Checkbox,
|
|
25
26
|
Date,
|
|
26
27
|
Form,
|
|
28
|
+
FormItem,
|
|
27
29
|
H2,
|
|
28
30
|
Industry,
|
|
29
31
|
MultipleSelection,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
|
|
2
|
+
import { Form } from "../form/index.mjs";
|
|
2
3
|
import { SubTitle } from "../subTitle/index.mjs";
|
|
3
4
|
import { H2 } from "../h2/index.mjs";
|
|
4
5
|
import { cloneDeep } from "../../../utils/common.mjs";
|
|
@@ -46,7 +47,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
46
47
|
// },
|
|
47
48
|
},
|
|
48
49
|
setup(__props, { expose: __expose }) {
|
|
49
|
-
const Form = defineAsyncComponent(() => import("../form/index.mjs"));
|
|
50
50
|
const props = __props;
|
|
51
51
|
const formData = inject("formData");
|
|
52
52
|
inject("rowHeight");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import {
|
|
4
|
+
import { inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
|
|
5
|
+
import { Table } from "../../table/index.mjs";
|
|
5
6
|
import { SubTitle } from "../subTitle/index.mjs";
|
|
6
7
|
import { H2 } from "../h2/index.mjs";
|
|
7
8
|
import { parseRouteParams } from "../../../utils/parseRouteParams.mjs";
|
|
@@ -30,7 +31,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
setup(__props, { expose: __expose }) {
|
|
33
|
-
const Table = defineAsyncComponent(() => import("../../table/index.mjs"));
|
|
34
34
|
const props = __props;
|
|
35
35
|
const formData = inject("formData");
|
|
36
36
|
inject("rowHeight");
|
|
@@ -3,7 +3,8 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import {
|
|
6
|
+
import { ref, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
|
|
7
|
+
import { Form } from "../forms/form/index.mjs";
|
|
7
8
|
import { cloneDeep } from "../../utils/common.mjs";
|
|
8
9
|
/* empty css */
|
|
9
10
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -31,7 +32,6 @@ const _sfc_main = {
|
|
|
31
32
|
emits: ["loaded"],
|
|
32
33
|
setup(__props, { emit: __emit }) {
|
|
33
34
|
const props = __props;
|
|
34
|
-
const Form = defineAsyncComponent(() => import("../forms/form/index.mjs"));
|
|
35
35
|
const layoutRowRef = ref();
|
|
36
36
|
const formData = ref(props.initFormData);
|
|
37
37
|
const emit = __emit;
|
|
@@ -93,7 +93,7 @@ const _sfc_main = {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
|
-
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
96
|
+
const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-02819e85"]]);
|
|
97
97
|
export {
|
|
98
98
|
_Layout as default
|
|
99
99
|
};
|
|
@@ -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);
|
|
@@ -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");
|