@fecp/designer 5.4.112 → 5.4.115
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.css +670 -670
- 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/node_modules/element-plus/node_modules/@vueuse/core/index.mjs +1 -1
- package/es/node_modules/vxe-table/es/table/src/table.mjs +3 -3
- package/es/packages/vue/src/components/all.mjs +1 -1
- package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +3 -3
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +2 -2
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +4 -4
- package/es/packages/vue/src/components/table/Table.vue.mjs +2 -2
- package/es/packages/vue/src/components/table/index.mjs +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +670 -670
- package/lib/node_modules/vxe-table/es/ui/src/utils.js +5 -5
- package/lib/packages/vue/src/components/all.js +60 -60
- package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +2 -2
- package/lib/packages/vue/src/components/layout/Layout.vue.js +3 -3
- package/lib/packages/vue/src/components/table/Table.vue.js +2 -2
- package/package.json +1 -1
|
@@ -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 {
|
|
4
|
+
import { inject, computed, unref, ref } 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,
|
|
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, Close as close_default } from "../../../../@element-plus/icons-vue/dist/index.mjs";
|
|
3
3
|
const iconPropType = definePropType([
|
|
4
4
|
String,
|
|
5
5
|
Object,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toValue, tryOnScopeDispose, noop,
|
|
1
|
+
import { toValue, tryOnScopeDispose, noop, isObject, isClient, isIOS, notNullish, tryOnMounted, isDef } from "../shared/index.mjs";
|
|
2
2
|
import { clamp, computedEager, createFilterWrapper, debounceFilter, debouncedRef, computedEager as computedEager2, getLifeCycleTarget, reactiveComputed, debouncedRef as debouncedRef2, throttleFilter, toReactive, debouncedRef as debouncedRef3, useDebounceFn, useThrottleFn, useTimeoutFn } from "../shared/index.mjs";
|
|
3
3
|
import { computed, watch, ref, getCurrentInstance, onMounted, nextTick, watchEffect } from "vue";
|
|
4
4
|
const defaultWindow = isClient ? window : void 0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { inject, reactive, ref, computed, watch, nextTick, onActivated, onDeactivated, onMounted, onBeforeUnmount, onUnmounted, provide, h, Teleport } from "vue";
|
|
2
2
|
import { defineVxeComponent } from "../../ui/src/comp.mjs";
|
|
3
3
|
import XEUtils from "xe-utils";
|
|
4
|
-
import { initTpImg,
|
|
5
|
-
import { isEnableConf, hasChildrenList,
|
|
4
|
+
import { initTpImg, setScrollLeft, setScrollTop, removeClass, addClass, isScale, getEventTargetNode, hasClass, hasControlKey, checkTargetElement, getTpImg, isPx, getPaddingTopBottomSize, toCssUnit } from "../../ui/src/dom.mjs";
|
|
5
|
+
import { isEnableConf, hasChildrenList, getLastZIndex, nextZIndex, getFuncText, eqEmptyValue, formatText } from "../../ui/src/utils.mjs";
|
|
6
6
|
import "../../ui/index.mjs";
|
|
7
|
-
import { createInternalData, getCalcHeight, restoreScrollLocation, getColumnList,
|
|
7
|
+
import { createInternalData, getCalcHeight, hasDeepKey, restoreScrollLocation, getColumnList, createHandleGetRowId, getCellRestHeight, getRefElem, handleFieldOrColumn, colToVisible, rowToVisible, getRowid, toFilters, getRowkey, getRootColumn, handleRowidOrRow, getCellValue, setCellValue, clearTableAllStatus, getColReMinWidth, getLastChildColumn, createHandleUpdateRowId, toTreePathSeq, getRowUniqueId } from "./util.mjs";
|
|
8
8
|
import { getSlotVNs } from "../../ui/src/vn.mjs";
|
|
9
9
|
import { moveColAnimateToLr, moveRowAnimateToTb, clearRowAnimate, clearColAnimate } from "../../ui/src/anime.mjs";
|
|
10
10
|
import { warnLog, errLog } from "../../ui/src/log.mjs";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Layout } from "./layout/index.mjs";
|
|
1
2
|
import { Table } from "./table/index.mjs";
|
|
2
3
|
import { Text } from "./forms/text/index.mjs";
|
|
3
4
|
import { Textarea } from "./forms/textarea/index.mjs";
|
|
@@ -26,7 +27,6 @@ import { header } from "./details/header/index.mjs";
|
|
|
26
27
|
import { footer } from "./details/footer/index.mjs";
|
|
27
28
|
import { main } from "./details/main/index.mjs";
|
|
28
29
|
import { customDialog } from "./dialog/customDialog/index.mjs";
|
|
29
|
-
import { Layout } from "./layout/index.mjs";
|
|
30
30
|
import { LayoutCard } from "./layout/layoutCard/index.mjs";
|
|
31
31
|
export {
|
|
32
32
|
ApprovalHistory,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject, computed, ref,
|
|
1
|
+
import { defineAsyncComponent, inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
|
|
2
2
|
import { SubTitle } from "../subTitle/index.mjs";
|
|
3
3
|
import { H2 } from "../h2/index.mjs";
|
|
4
4
|
import { cloneDeep } from "../../../utils/common.mjs";
|
|
@@ -46,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
46
46
|
// },
|
|
47
47
|
},
|
|
48
48
|
setup(__props, { expose: __expose }) {
|
|
49
|
+
const Form = defineAsyncComponent(() => import("../form/index.mjs"));
|
|
49
50
|
const props = __props;
|
|
50
51
|
const formData = inject("formData");
|
|
51
52
|
inject("rowHeight");
|
|
@@ -132,7 +133,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
132
133
|
subFormRef: formRef
|
|
133
134
|
});
|
|
134
135
|
return (_ctx, _cache) => {
|
|
135
|
-
const _component_fec_form = resolveComponent("fec-form");
|
|
136
136
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
137
137
|
__props.config.titleMode != "none" ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
138
138
|
__props.config.titleMode == "label" ? (openBlock(), createBlock(unref(H2), {
|
|
@@ -143,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
143
143
|
config: __props.config
|
|
144
144
|
}, null, 8, ["config"])) : createCommentVNode("", true)
|
|
145
145
|
])) : createCommentVNode("", true),
|
|
146
|
-
createVNode(
|
|
146
|
+
createVNode(unref(Form), {
|
|
147
147
|
ref_key: "formRef",
|
|
148
148
|
ref: formRef,
|
|
149
149
|
templateKey: unref(templateKey),
|
|
@@ -2,7 +2,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
|
|
5
|
-
import
|
|
5
|
+
import Table from "../../table/Table.vue.mjs";
|
|
6
6
|
import { SubTitle } from "../subTitle/index.mjs";
|
|
7
7
|
import { H2 } from "../h2/index.mjs";
|
|
8
8
|
import { parseRouteParams } from "../../../utils/parseRouteParams.mjs";
|
|
@@ -186,7 +186,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
186
186
|
config: __props.config
|
|
187
187
|
}, null, 8, ["config"])) : createCommentVNode("", true)
|
|
188
188
|
])) : createCommentVNode("", true),
|
|
189
|
-
createVNode(unref(
|
|
189
|
+
createVNode(unref(Table), {
|
|
190
190
|
ref_key: "tableRef",
|
|
191
191
|
ref: tableRef,
|
|
192
192
|
templateKey: __props.config.subTableKey,
|
|
@@ -3,7 +3,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import {
|
|
6
|
+
import { defineAsyncComponent, ref, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
|
|
7
7
|
import { cloneDeep } from "../../utils/common.mjs";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -31,6 +31,7 @@ const _sfc_main = {
|
|
|
31
31
|
emits: ["loaded"],
|
|
32
32
|
setup(__props, { emit: __emit }) {
|
|
33
33
|
const props = __props;
|
|
34
|
+
const Form = defineAsyncComponent(() => import("../forms/form/index.mjs"));
|
|
34
35
|
const layoutRowRef = ref();
|
|
35
36
|
const formData = ref(props.initFormData);
|
|
36
37
|
const emit = __emit;
|
|
@@ -45,7 +46,6 @@ const _sfc_main = {
|
|
|
45
46
|
emit("loaded", cloneDeep(formData2));
|
|
46
47
|
}
|
|
47
48
|
return (_ctx, _cache) => {
|
|
48
|
-
const _component_fec_form = resolveComponent("fec-form");
|
|
49
49
|
const _component_el_scrollbar = ElScrollbar;
|
|
50
50
|
const _component_el_col = ElCol;
|
|
51
51
|
const _component_el_row = ElRow;
|
|
@@ -62,7 +62,7 @@ const _sfc_main = {
|
|
|
62
62
|
createElementVNode("div", _hoisted_1, [
|
|
63
63
|
createVNode(_component_el_scrollbar, { ref: "scrollbarRef" }, {
|
|
64
64
|
default: withCtx(() => [
|
|
65
|
-
createVNode(
|
|
65
|
+
createVNode(unref(Form), {
|
|
66
66
|
ref: "formRef",
|
|
67
67
|
templateKey: __props.templateKey,
|
|
68
68
|
modelValue: unref(formData),
|
|
@@ -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-dba8800a"]]);
|
|
97
97
|
export {
|
|
98
98
|
_Layout as default
|
|
99
99
|
};
|
|
@@ -898,7 +898,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
898
898
|
};
|
|
899
899
|
}
|
|
900
900
|
});
|
|
901
|
-
const
|
|
901
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
|
|
902
902
|
export {
|
|
903
|
-
|
|
903
|
+
Table as default
|
|
904
904
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Table$1 from "./Table.vue.mjs";
|
|
2
2
|
import install from "../../utils/install.mjs";
|
|
3
|
-
const Table = install.withInstall("Table",
|
|
3
|
+
const Table = install.withInstall("Table", Table$1);
|
|
4
4
|
export {
|
|
5
5
|
Table,
|
|
6
6
|
Table as default
|