@fecp/designer 5.4.121 → 5.4.125
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/property/widgets.vue.mjs +2 -2
- package/es/designer.css +160 -160
- package/es/node_modules/element-plus/es/components/container/index.mjs +1 -1
- package/es/node_modules/element-plus/es/components/form/index.mjs +1 -1
- package/es/node_modules/element-plus/es/utils/types.mjs +1 -1
- package/es/node_modules/element-plus/es/utils/vue/icon.mjs +1 -1
- package/es/node_modules/element-plus/es/utils/vue/install.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/packages/vue/src/components/all.mjs +4 -4
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +7 -7
- package/es/packages/vue/src/components/forms/form/Form.vue.mjs +2 -4
- package/es/packages/vue/src/components/forms/form/index.mjs +2 -2
- package/es/packages/vue/src/components/forms/index.mjs +0 -4
- package/es/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.mjs +4 -4
- package/es/packages/vue/src/components/table/Table.vue.mjs +2 -4
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +0 -2
- package/es/packages/vue/src/components/table/index.mjs +2 -2
- package/es/packages/vue/src/composables/usePageEvents.mjs +0 -2
- package/es/packages/vue/src/utils/common.mjs +1 -1
- 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/property/widgets.vue.js +2 -2
- package/lib/designer.css +160 -160
- package/lib/node_modules/h-vue3-flow/es/node_modules/bpmn-js/lib/BaseViewer.js +16 -16
- package/lib/packages/vue/src/components/all.js +48 -48
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +10 -10
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +2 -4
- package/lib/packages/vue/src/components/forms/index.js +0 -4
- package/lib/packages/vue/src/components/table/Table.vue.js +2 -4
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +0 -2
- package/lib/packages/vue/src/composables/usePageEvents.js +0 -2
- package/lib/packages/vue/src/utils/common.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { withNoopInstall, withInstall } from "../../utils/vue/install.mjs";
|
|
2
2
|
import container_default from "./src/container.mjs";
|
|
3
3
|
import aside_default from "./src/aside.mjs";
|
|
4
4
|
import footer_default from "./src/footer.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { withNoopInstall, withInstall } from "../../utils/vue/install.mjs";
|
|
2
2
|
import form_default from "./src/form2.mjs";
|
|
3
3
|
import form_item_default from "./src/form-item2.mjs";
|
|
4
4
|
const ElForm = withInstall(form_default, { FormItem: form_item_default });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isArray, isObject
|
|
1
|
+
import { isString, isArray, isObject } from "../../../@vue/shared/dist/shared.esm-bundler.mjs";
|
|
2
2
|
import { isDate, isFunction, isPlainObject, isPromise } from "../../../@vue/shared/dist/shared.esm-bundler.mjs";
|
|
3
3
|
import isNil from "../../../lodash-es/isNil.mjs";
|
|
4
4
|
const isUndefined = (val) => val === void 0;
|
|
@@ -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 {
|
|
1
|
+
import { isArray, hasOwn, NOOP } from "../../../../@vue/shared/dist/shared.esm-bundler.mjs";
|
|
2
2
|
import fromPairs from "../../../../lodash-es/fromPairs.mjs";
|
|
3
3
|
import isPlainObject from "../../../../lodash-es/isPlainObject.mjs";
|
|
4
4
|
const withPropsDefaultsSetter = (target) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toValue, tryOnScopeDispose, noop, isObject, isClient, tryOnMounted, isIOS, notNullish, 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 {
|
|
3
|
+
import { computed, watch, ref, getCurrentInstance, onMounted, watchEffect, nextTick } 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 { unref, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, ref,
|
|
1
|
+
import { unref, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, ref, onMounted, nextTick, getCurrentInstance, watch, 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 { remove as I$1, query as K, domify as G, assignStyle as B, event as m } 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 { LOGO_STYLES as h, LINK_STYLES as l$1, open as m$1, BPMNIO_IMG as n } 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,3 +1,7 @@
|
|
|
1
|
+
import { Layout } from "./layout/index.mjs";
|
|
2
|
+
import { Table } from "./table/index.mjs";
|
|
3
|
+
import { Form } from "./forms/form/index.mjs";
|
|
4
|
+
import { FormItem } from "./forms/formItem/index.mjs";
|
|
1
5
|
import { Text } from "./forms/text/index.mjs";
|
|
2
6
|
import { Textarea } from "./forms/textarea/index.mjs";
|
|
3
7
|
import { Number } from "./forms/number/index.mjs";
|
|
@@ -17,10 +21,6 @@ import { Area } from "./forms/area/index.mjs";
|
|
|
17
21
|
import { Industry } from "./forms/industry/index.mjs";
|
|
18
22
|
import { UserSelect } from "./forms/userSelect/index.mjs";
|
|
19
23
|
import { RoleSelect } from "./forms/roleSelect/index.mjs";
|
|
20
|
-
import { FormItem } from "./forms/formItem/index.mjs";
|
|
21
|
-
import { Form } from "./forms/form/index.mjs";
|
|
22
|
-
import { Table } from "./table/index.mjs";
|
|
23
|
-
import { Layout } from "./layout/index.mjs";
|
|
24
24
|
import { ApprovalHistory } from "./bus/approvalHistory/index.mjs";
|
|
25
25
|
import { Document } from "./bus/document/index.mjs";
|
|
26
26
|
import { header } from "./details/header/index.mjs";
|
|
@@ -3,9 +3,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { ref, computed, watch, createBlock, openBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, Fragment, createCommentVNode,
|
|
7
|
-
import { Table } from "../table/index.mjs";
|
|
8
|
-
import { Form } from "../forms/form/index.mjs";
|
|
6
|
+
import { ref, computed, watch, resolveComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, Fragment, createCommentVNode, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
|
|
9
7
|
import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
|
|
10
8
|
import { calculate } from "../../utils/formulajs/calculate.mjs";
|
|
11
9
|
import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
@@ -318,6 +316,8 @@ const _sfc_main = {
|
|
|
318
316
|
emit("confirm");
|
|
319
317
|
}
|
|
320
318
|
return (_ctx, _cache) => {
|
|
319
|
+
const _component_fec_table = resolveComponent("fec-table");
|
|
320
|
+
const _component_fec_form = resolveComponent("fec-form");
|
|
321
321
|
const _component_el_button = ElButton;
|
|
322
322
|
const _component_el_dialog = ElDialog;
|
|
323
323
|
return __props.dialogConfig.componentIsDialog ? (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), mergeProps({
|
|
@@ -393,7 +393,7 @@ const _sfc_main = {
|
|
|
393
393
|
style: normalizeStyle(contentStyle.value)
|
|
394
394
|
}, [
|
|
395
395
|
((_b = __props.dialogConfig) == null ? void 0 : _b.contentSource) === "table" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
396
|
-
__props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(
|
|
396
|
+
__props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(_component_fec_table, {
|
|
397
397
|
key: 0,
|
|
398
398
|
templateKey: __props.dialogConfig.subTableKey,
|
|
399
399
|
mode: __props.dialogConfig.subTableMode,
|
|
@@ -405,7 +405,7 @@ const _sfc_main = {
|
|
|
405
405
|
onSelectionChange: tableSelectionChange,
|
|
406
406
|
ref_key: "dialogTableRef",
|
|
407
407
|
ref: dialogTableRef
|
|
408
|
-
}, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(
|
|
408
|
+
}, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(_component_fec_table, {
|
|
409
409
|
key: 1,
|
|
410
410
|
initOption: __props.dialogConfig.customTableConfig,
|
|
411
411
|
isDialog: "",
|
|
@@ -417,7 +417,7 @@ const _sfc_main = {
|
|
|
417
417
|
ref_key: "dialogTableRef",
|
|
418
418
|
ref: dialogTableRef
|
|
419
419
|
}, null, 8, ["initOption", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : createCommentVNode("", true)
|
|
420
|
-
], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(
|
|
420
|
+
], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(_component_fec_form, {
|
|
421
421
|
key: 1,
|
|
422
422
|
templateKey: __props.dialogConfig.subFormKey,
|
|
423
423
|
isDialog: "",
|
|
@@ -438,7 +438,7 @@ const _sfc_main = {
|
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
|
-
const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
441
|
+
const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c92b2ef4"]]);
|
|
442
442
|
export {
|
|
443
443
|
DialogRenderer as default
|
|
444
444
|
};
|
|
@@ -18,8 +18,6 @@ import { cloneDeep, removeEmptyValues, isEqual } from "../../../utils/common.mjs
|
|
|
18
18
|
/* empty css */
|
|
19
19
|
/* empty css */
|
|
20
20
|
/* empty css */
|
|
21
|
-
import "../../table/index.mjs";
|
|
22
|
-
import "./index.mjs";
|
|
23
21
|
import { calculate } from "../../../utils/formulajs/calculate.mjs";
|
|
24
22
|
import { useEventFlow } from "../../../utils/eventFlow/eventFlowHandler.mjs";
|
|
25
23
|
/* empty css */
|
|
@@ -1096,7 +1094,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1096
1094
|
};
|
|
1097
1095
|
}
|
|
1098
1096
|
});
|
|
1099
|
-
const
|
|
1097
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cd5951a2"]]);
|
|
1100
1098
|
export {
|
|
1101
|
-
|
|
1099
|
+
_Form as default
|
|
1102
1100
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _Form from "./Form.vue.mjs";
|
|
2
2
|
import install from "../../../utils/install.mjs";
|
|
3
|
-
const Form = install.withInstall("Form",
|
|
3
|
+
const Form = install.withInstall("Form", _Form);
|
|
4
4
|
export {
|
|
5
5
|
Form,
|
|
6
6
|
Form as default
|
|
@@ -17,15 +17,11 @@ 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";
|
|
21
|
-
import { Form } from "./form/index.mjs";
|
|
22
20
|
export {
|
|
23
21
|
Area,
|
|
24
22
|
Cascader,
|
|
25
23
|
Checkbox,
|
|
26
24
|
Date,
|
|
27
|
-
Form,
|
|
28
|
-
FormItem,
|
|
29
25
|
H2,
|
|
30
26
|
Industry,
|
|
31
27
|
MultipleSelection,
|
|
@@ -6,8 +6,8 @@ import { ArrowRight as arrow_right_default } from "../../../../../../node_module
|
|
|
6
6
|
import { customDialog } from "../../dialog/customDialog/index.mjs";
|
|
7
7
|
import api from "../../../api/index.mjs";
|
|
8
8
|
import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import _Form from "../../forms/form/Form.vue.mjs";
|
|
10
|
+
import _Table from "../../table/Table.vue.mjs";
|
|
11
11
|
import { cloneDeep, loadComponentByPath } from "../../../utils/common.mjs";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
@@ -78,10 +78,10 @@ const _sfc_main = {
|
|
|
78
78
|
}).then((res) => {
|
|
79
79
|
const data = JSON.parse(res);
|
|
80
80
|
if (data.formMode) {
|
|
81
|
-
currentComponent.value =
|
|
81
|
+
currentComponent.value = _Form;
|
|
82
82
|
currentParams.value.modelValue = cloneDeep(props.morePageParams);
|
|
83
83
|
} else {
|
|
84
|
-
currentComponent.value =
|
|
84
|
+
currentComponent.value = _Table;
|
|
85
85
|
currentParams.value.initHiddenData = cloneDeep(props.morePageParams);
|
|
86
86
|
currentParams.value.hasPagination = true;
|
|
87
87
|
}
|
|
@@ -21,8 +21,6 @@ import { isEqual } from "../../utils/common.mjs";
|
|
|
21
21
|
/* empty css */
|
|
22
22
|
/* empty css */
|
|
23
23
|
/* empty css */
|
|
24
|
-
import "./index.mjs";
|
|
25
|
-
import "../forms/form/index.mjs";
|
|
26
24
|
import "../../utils/formulajs/functionCore.mjs";
|
|
27
25
|
import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
28
26
|
/* empty css */
|
|
@@ -898,7 +896,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
898
896
|
};
|
|
899
897
|
}
|
|
900
898
|
});
|
|
901
|
-
const
|
|
899
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
|
|
902
900
|
export {
|
|
903
|
-
|
|
901
|
+
_Table as default
|
|
904
902
|
};
|
|
@@ -12,8 +12,6 @@ import { removeEmptyValues } from "../../utils/common.mjs";
|
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
|
-
import "./index.mjs";
|
|
16
|
-
import "../forms/form/index.mjs";
|
|
17
15
|
import "../../utils/formulajs/functionCore.mjs";
|
|
18
16
|
import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
19
17
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _Table 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);
|
|
4
4
|
export {
|
|
5
5
|
Table,
|
|
6
6
|
Table as default
|
|
@@ -6,8 +6,6 @@ import { onUnmounted, onBeforeUnmount, onMounted } from "vue";
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
|
-
import "../components/table/index.mjs";
|
|
10
|
-
import "../components/forms/form/index.mjs";
|
|
11
9
|
import "../utils/formulajs/functionCore.mjs";
|
|
12
10
|
import { useEventFlow } from "../utils/eventFlow/eventFlowHandler.mjs";
|
|
13
11
|
/* empty css */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import isEqual$1 from "../../../../node_modules/lodash-es/isEqual.mjs";
|
|
2
1
|
import cloneDeep$1 from "../../../../node_modules/lodash-es/cloneDeep.mjs";
|
|
2
|
+
import isEqual$1 from "../../../../node_modules/lodash-es/isEqual.mjs";
|
|
3
3
|
function cloneDeep(data) {
|
|
4
4
|
return cloneDeep$1(data);
|
|
5
5
|
}
|
|
@@ -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);
|
|
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
86
86
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
87
87
|
;/* empty css */
|
|
88
88
|
;/* empty css */
|
|
89
|
-
;/* empty css
|
|
89
|
+
;/* empty css */
|
|
90
90
|
;/* empty css */
|
|
91
91
|
;/* empty css */
|
|
92
92
|
;/* empty css */
|
|
@@ -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");
|