@fecp/designer 5.4.118 → 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.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/components/input/src/input.vue_vue_type_script_setup_true_lang.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 +2 -2
- package/es/node_modules/element-plus/node_modules/@vueuse/shared/index.mjs +1 -1
- package/es/node_modules/h-vue3-flow/es/node_modules/bpmn-js/lib/BaseViewer.mjs +2 -2
- 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/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 +3 -3
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +3 -3
- package/es/packages/vue/src/components/layout/Layout.vue.mjs +4 -4
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +242 -242
- package/lib/node_modules/h-vue3-flow/es/node_modules/bpmn-js/lib/BaseViewer.js +16 -16
- package/lib/node_modules/vxe-table/es/ui/src/utils.js +5 -5
- 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UPDATE_MODEL_EVENT, CHANGE_EVENT, INPUT_EVENT } from "../../../constants/event.mjs";
|
|
2
2
|
import { useResizeObserver } from "../../../../node_modules/@vueuse/core/index.mjs";
|
|
3
3
|
import { NOOP, isObject } from "../../../../../@vue/shared/dist/shared.esm-bundler.mjs";
|
|
4
4
|
import { debugWarn } from "../../../utils/error.mjs";
|
|
@@ -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,6 +1,6 @@
|
|
|
1
|
-
import { toValue, tryOnScopeDispose, noop, isObject, isClient,
|
|
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
|
-
import { computed, watch, ref, getCurrentInstance, onMounted,
|
|
3
|
+
import { computed, watch, ref, getCurrentInstance, onMounted, nextTick, watchEffect } from "vue";
|
|
4
4
|
const defaultWindow = isClient ? window : void 0;
|
|
5
5
|
const defaultDocument = isClient ? window.document : void 0;
|
|
6
6
|
function unrefElement(elRef) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ref, watch, shallowRef, watchEffect, readonly, unref, getCurrentScope, onScopeDispose, onMounted, nextTick, getCurrentInstance, computed, isRef, reactive } from "vue";
|
|
2
2
|
function computedEager(fn, options) {
|
|
3
3
|
var _a;
|
|
4
4
|
const result = shallowRef();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { assign as q, omit as C, isNumber as P, find as _ } from "../../min-dash/dist/index.esm.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { domify as G, assignStyle as B, query as K, event as m, remove as I$1 } from "../../min-dom/dist/index.esm.mjs";
|
|
3
3
|
import { innerSVG as $ } from "../../tiny-svg/dist/index.esm.mjs";
|
|
4
4
|
import ie from "../../bpmn-moddle/dist/index.esm.mjs";
|
|
5
5
|
import t from "../../inherits-browser/dist/index.es.mjs";
|
|
6
6
|
import { importBpmnDiagram as y } from "./import/Importer.mjs";
|
|
7
7
|
import { wrapForCompatibility as u } from "./util/CompatibilityUtil.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { open as m$1, BPMNIO_IMG as n, LOGO_STYLES as h, LINK_STYLES as l$1 } from "./util/PoweredByUtil.mjs";
|
|
9
9
|
import r from "../../diagram-js/lib/Diagram.mjs";
|
|
10
10
|
function s(t2) {
|
|
11
11
|
t2 = q({}, j, t2), this._moddle = this._createModdle(t2), this._container = this._createContainer(t2), O(this._container), this._init(this._container, this._moddle, t2);
|
|
@@ -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,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 { inject, computed, ref,
|
|
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";
|
|
@@ -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),
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import { inject, computed, ref,
|
|
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";
|
|
@@ -134,7 +135,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
134
135
|
});
|
|
135
136
|
return (_ctx, _cache) => {
|
|
136
137
|
const _component_el_button = ElButton;
|
|
137
|
-
const _component_fec_table = resolveComponent("fec-table");
|
|
138
138
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
139
139
|
__props.config.titleMode != "none" ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
140
140
|
__props.config.titleMode == "label" ? (openBlock(), createBlock(unref(H2), {
|
|
@@ -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(
|
|
189
|
+
createVNode(unref(Table), {
|
|
190
190
|
ref_key: "tableRef",
|
|
191
191
|
ref: tableRef,
|
|
192
192
|
templateKey: __props.config.subTableKey,
|
|
@@ -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 { ref,
|
|
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";
|
|
@@ -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-02819e85"]]);
|
|
97
97
|
export {
|
|
98
98
|
_Layout as default
|
|
99
99
|
};
|