@fecp/designer 5.6.24 → 5.6.26
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/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.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/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer/src/packages/importantDataChange/index.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer.css +644 -644
- 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/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
- 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 +1 -1
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +2 -1
- package/es/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.mjs +1 -1
- package/es/packages/vue/src/components/table/Table.vue.mjs +6 -20
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +3 -54
- package/es/packages/vue/src/composables/usePageEvents.mjs +1 -55
- package/es/packages/vue/src/utils/eventFlowParser.mjs +9 -6
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.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/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/index.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/index.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer/src/packages/importantDataChange/index.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer.css +644 -644
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +6 -6
- package/lib/packages/vue/src/components/forms/form/Form.vue.js +2 -4
- package/lib/packages/vue/src/components/forms/form/index.js +1 -1
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +2 -1
- package/lib/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.js +1 -1
- package/lib/packages/vue/src/components/table/Table.vue.js +6 -20
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +3 -54
- package/lib/packages/vue/src/composables/usePageEvents.js +1 -55
- package/lib/packages/vue/src/utils/eventFlowParser.js +9 -6
- 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 {
|
|
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";
|
|
@@ -3,15 +3,13 @@ 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, normalizeClass, withCtx, createElementVNode, normalizeStyle, createElementBlock, Fragment, createCommentVNode, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
|
|
6
|
+
import { ref, computed, watch, resolveComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, normalizeClass, withCtx, createElementVNode, normalizeStyle, createElementBlock, Fragment, createCommentVNode, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
|
|
7
7
|
import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
|
|
8
8
|
import { calculate } from "../../utils/formulajs/calculate.mjs";
|
|
9
9
|
import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { loadComponentByPath } from "../../utils/common.mjs";
|
|
13
|
-
import _Table from "../table/Table.vue.mjs";
|
|
14
|
-
import _Form from "../forms/form/Form.vue2.mjs";
|
|
15
13
|
/* empty css */
|
|
16
14
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
17
15
|
/* empty css */
|
|
@@ -318,6 +316,8 @@ const _sfc_main = {
|
|
|
318
316
|
}
|
|
319
317
|
return (_ctx, _cache) => {
|
|
320
318
|
var _a;
|
|
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({
|
|
@@ -395,7 +395,7 @@ const _sfc_main = {
|
|
|
395
395
|
style: normalizeStyle(contentStyle.value)
|
|
396
396
|
}, [
|
|
397
397
|
((_b = __props.dialogConfig) == null ? void 0 : _b.contentSource) === "table" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
398
|
-
__props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(
|
|
398
|
+
__props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(_component_fec_table, {
|
|
399
399
|
key: 0,
|
|
400
400
|
templateKey: __props.dialogConfig.subTableKey,
|
|
401
401
|
mode: __props.dialogConfig.subTableMode,
|
|
@@ -407,7 +407,7 @@ const _sfc_main = {
|
|
|
407
407
|
onSelectionChange: tableSelectionChange,
|
|
408
408
|
ref_key: "dialogTableRef",
|
|
409
409
|
ref: dialogTableRef
|
|
410
|
-
}, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(
|
|
410
|
+
}, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(_component_fec_table, {
|
|
411
411
|
key: 1,
|
|
412
412
|
initOption: __props.dialogConfig.customTableConfig,
|
|
413
413
|
isDialog: "",
|
|
@@ -419,7 +419,7 @@ const _sfc_main = {
|
|
|
419
419
|
ref_key: "dialogTableRef",
|
|
420
420
|
ref: dialogTableRef
|
|
421
421
|
}, null, 8, ["initOption", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : createCommentVNode("", true)
|
|
422
|
-
], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(
|
|
422
|
+
], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(_component_fec_form, {
|
|
423
423
|
key: 1,
|
|
424
424
|
templateKey: __props.dialogConfig.subFormKey,
|
|
425
425
|
isDialog: "",
|
|
@@ -440,7 +440,7 @@ const _sfc_main = {
|
|
|
440
440
|
};
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
|
-
const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
443
|
+
const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2b0f2231"]]);
|
|
444
444
|
export {
|
|
445
445
|
DialogRenderer as default
|
|
446
446
|
};
|
|
@@ -21,8 +21,6 @@ import { cloneDeep, removeEmptyValues, isEqual } from "../../../utils/common.mjs
|
|
|
21
21
|
/* empty css */
|
|
22
22
|
import { calculate } from "../../../utils/formulajs/calculate.mjs";
|
|
23
23
|
import { useEventFlow } from "../../../utils/eventFlow/eventFlowHandler.mjs";
|
|
24
|
-
import "../../table/index.mjs";
|
|
25
|
-
import "./index.mjs";
|
|
26
24
|
/* empty css */
|
|
27
25
|
/* empty css */
|
|
28
26
|
/* empty css */
|
|
@@ -1332,7 +1330,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1332
1330
|
};
|
|
1333
1331
|
}
|
|
1334
1332
|
});
|
|
1335
|
-
const
|
|
1333
|
+
const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a14b0ea"]]);
|
|
1336
1334
|
export {
|
|
1337
|
-
|
|
1335
|
+
_Form as default
|
|
1338
1336
|
};
|
|
@@ -160,6 +160,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
160
160
|
fields: fieldsList,
|
|
161
161
|
instance: {
|
|
162
162
|
instance: {
|
|
163
|
+
...instance,
|
|
163
164
|
proxy: formCtx
|
|
164
165
|
}
|
|
165
166
|
},
|
|
@@ -265,7 +266,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
265
266
|
};
|
|
266
267
|
}
|
|
267
268
|
});
|
|
268
|
-
const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
269
|
+
const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-632db1b4"]]);
|
|
269
270
|
export {
|
|
270
271
|
_Text as default
|
|
271
272
|
};
|
|
@@ -6,7 +6,7 @@ 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 _Form from "../../forms/form/Form.
|
|
9
|
+
import _Form from "../../forms/form/Form.vue.mjs";
|
|
10
10
|
import _Table from "../../table/Table.vue.mjs";
|
|
11
11
|
import { cloneDeep, loadComponentByPath } from "../../../utils/common.mjs";
|
|
12
12
|
/* empty css */
|
|
@@ -23,29 +23,10 @@ import { isEqual } from "../../utils/common.mjs";
|
|
|
23
23
|
/* empty css */
|
|
24
24
|
import "../../utils/formulajs/functionCore.mjs";
|
|
25
25
|
import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
26
|
-
import getJsonAsyncUtil from "../../utils/getJsonAsyncUtil.mjs";
|
|
27
|
-
import emitter from "../../utils/eventBus.mjs";
|
|
28
|
-
import { formatCellValue } from "../../utils/formatCellValue.mjs";
|
|
29
|
-
import { useStore } from "../../../../../node_modules/vuex/dist/vuex.esm-bundler.mjs";
|
|
30
26
|
/* empty css */
|
|
31
27
|
/* empty css */
|
|
32
|
-
/* empty css */
|
|
33
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
34
|
-
/* empty css */
|
|
35
|
-
/* empty css */
|
|
36
|
-
import "../../../../../node_modules/grid-layout-plus/es/index.mjs";
|
|
37
|
-
import "../forms/formItem/index.mjs";
|
|
38
|
-
import "../details/header/index.mjs";
|
|
39
|
-
import "../details/main/index.mjs";
|
|
40
|
-
import "../details/footer/index.mjs";
|
|
41
|
-
/* empty css */
|
|
42
|
-
/* empty css */
|
|
43
|
-
/* empty css */
|
|
44
|
-
/* empty css */
|
|
45
|
-
import "../../../../../node_modules/moment/dist/moment.mjs";
|
|
46
|
-
import "../../utils/importantDataChange.mjs";
|
|
47
|
-
/* empty css */
|
|
48
28
|
/* empty css */
|
|
29
|
+
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
49
30
|
/* empty css */
|
|
50
31
|
/* empty css */
|
|
51
32
|
/* empty css */
|
|
@@ -58,6 +39,11 @@ import "../../utils/importantDataChange.mjs";
|
|
|
58
39
|
/* empty css */
|
|
59
40
|
/* empty css */
|
|
60
41
|
/* empty css */
|
|
42
|
+
import getJsonAsyncUtil from "../../utils/getJsonAsyncUtil.mjs";
|
|
43
|
+
import emitter from "../../utils/eventBus.mjs";
|
|
44
|
+
import { formatCellValue } from "../../utils/formatCellValue.mjs";
|
|
45
|
+
import { useStore } from "../../../../../node_modules/vuex/dist/vuex.esm-bundler.mjs";
|
|
46
|
+
/* empty css */
|
|
61
47
|
import { ElContainer } from "../../../../../node_modules/element-plus/es/components/container/index.mjs";
|
|
62
48
|
import { ElMessage } from "../../../../../node_modules/element-plus/es/components/message/index.mjs";
|
|
63
49
|
const _hoisted_1 = { class: "fec-vxe-table" };
|
|
@@ -13,61 +13,8 @@ import { removeEmptyValues } from "../../utils/common.mjs";
|
|
|
13
13
|
/* empty css */
|
|
14
14
|
import "../../utils/formulajs/functionCore.mjs";
|
|
15
15
|
import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
|
|
16
|
-
/* empty css */
|
|
17
|
-
/* empty css */
|
|
18
|
-
/* empty css */
|
|
19
|
-
/* empty css */
|
|
20
|
-
/* empty css */
|
|
21
|
-
import "xe-utils";
|
|
22
|
-
/* empty css */
|
|
23
|
-
/* empty css */
|
|
24
|
-
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
|
-
/* empty css */
|
|
28
|
-
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
|
-
/* empty css */
|
|
31
|
-
/* empty css */
|
|
32
|
-
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
33
|
-
/* empty css */
|
|
34
|
-
/* empty css */
|
|
35
|
-
/* empty css */
|
|
36
|
-
/* empty css */
|
|
37
|
-
/* empty css */
|
|
38
|
-
/* empty css */
|
|
39
|
-
/* empty css */
|
|
40
|
-
import "../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
41
|
-
import "../forms/text/index.mjs";
|
|
42
|
-
import "../forms/select/index.mjs";
|
|
43
|
-
import "../forms/multipleSelection/index.mjs";
|
|
44
|
-
import "../forms/date/index.mjs";
|
|
45
|
-
import "../forms/number/index.mjs";
|
|
46
|
-
/* empty css */
|
|
47
|
-
/* empty css */
|
|
48
|
-
/* empty css */
|
|
49
|
-
/* empty css */
|
|
50
|
-
/* empty css */
|
|
51
|
-
/* empty css */
|
|
52
|
-
import "../../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
53
|
-
/* empty css */
|
|
54
|
-
import "../../utils/eventBus.mjs";
|
|
55
|
-
import "../../../../../node_modules/decimal.js/decimal.mjs";
|
|
56
|
-
/* empty css */
|
|
57
|
-
/* empty css */
|
|
58
|
-
import "../../../../../node_modules/grid-layout-plus/es/index.mjs";
|
|
59
|
-
import "../forms/formItem/index.mjs";
|
|
60
|
-
import "../details/header/index.mjs";
|
|
61
|
-
import "../details/main/index.mjs";
|
|
62
|
-
import "../details/footer/index.mjs";
|
|
63
|
-
/* empty css */
|
|
64
|
-
/* empty css */
|
|
65
|
-
/* empty css */
|
|
66
|
-
/* empty css */
|
|
67
|
-
import "../../../../../node_modules/moment/dist/moment.mjs";
|
|
68
|
-
import "../../utils/importantDataChange.mjs";
|
|
69
|
-
/* empty css */
|
|
70
16
|
/* empty css */
|
|
17
|
+
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
71
18
|
/* empty css */
|
|
72
19
|
/* empty css */
|
|
73
20
|
/* empty css */
|
|
@@ -78,7 +25,9 @@ import "../../utils/importantDataChange.mjs";
|
|
|
78
25
|
/* empty css */
|
|
79
26
|
/* empty css */
|
|
80
27
|
/* empty css */
|
|
28
|
+
/* empty css */
|
|
81
29
|
/* empty css */
|
|
30
|
+
/* empty css */
|
|
82
31
|
import { ElLink } from "../../../../../node_modules/element-plus/es/components/link/index.mjs";
|
|
83
32
|
import { ElIcon } from "../../../../../node_modules/element-plus/es/components/icon/index.mjs";
|
|
84
33
|
import { ElButton } from "../../../../../node_modules/element-plus/es/components/button/index.mjs";
|
|
@@ -7,61 +7,6 @@ import { onUnmounted, onBeforeUnmount, onMounted } from "vue";
|
|
|
7
7
|
/* empty css */
|
|
8
8
|
import "../utils/formulajs/functionCore.mjs";
|
|
9
9
|
import { useEventFlow } from "../utils/eventFlow/eventFlowHandler.mjs";
|
|
10
|
-
/* empty css */
|
|
11
|
-
/* empty css */
|
|
12
|
-
/* empty css */
|
|
13
|
-
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
import "vxe-table";
|
|
16
|
-
import "xe-utils";
|
|
17
|
-
/* empty css */
|
|
18
|
-
/* empty css */
|
|
19
|
-
/* empty css */
|
|
20
|
-
/* empty css */
|
|
21
|
-
/* empty css */
|
|
22
|
-
/* empty css */
|
|
23
|
-
/* empty css */
|
|
24
|
-
/* empty css */
|
|
25
|
-
/* empty css */
|
|
26
|
-
/* empty css */
|
|
27
|
-
/* empty css */
|
|
28
|
-
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
|
-
/* empty css */
|
|
31
|
-
/* empty css */
|
|
32
|
-
/* empty css */
|
|
33
|
-
/* empty css */
|
|
34
|
-
/* empty css */
|
|
35
|
-
import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
36
|
-
import "../components/forms/text/index.mjs";
|
|
37
|
-
import "../components/forms/select/index.mjs";
|
|
38
|
-
import "../components/forms/multipleSelection/index.mjs";
|
|
39
|
-
import "../components/forms/date/index.mjs";
|
|
40
|
-
import "../components/forms/number/index.mjs";
|
|
41
|
-
/* empty css */
|
|
42
|
-
/* empty css */
|
|
43
|
-
/* empty css */
|
|
44
|
-
/* empty css */
|
|
45
|
-
/* empty css */
|
|
46
|
-
/* empty css */
|
|
47
|
-
import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
|
|
48
|
-
/* empty css */
|
|
49
|
-
import "../utils/eventBus.mjs";
|
|
50
|
-
import "../../../../node_modules/decimal.js/decimal.mjs";
|
|
51
|
-
/* empty css */
|
|
52
|
-
/* empty css */
|
|
53
|
-
import "../../../../node_modules/grid-layout-plus/es/index.mjs";
|
|
54
|
-
import "../components/forms/formItem/index.mjs";
|
|
55
|
-
import "../components/details/header/index.mjs";
|
|
56
|
-
import "../components/details/main/index.mjs";
|
|
57
|
-
import "../components/details/footer/index.mjs";
|
|
58
|
-
/* empty css */
|
|
59
|
-
/* empty css */
|
|
60
|
-
/* empty css */
|
|
61
|
-
/* empty css */
|
|
62
|
-
import "../../../../node_modules/moment/dist/moment.mjs";
|
|
63
|
-
import "../utils/importantDataChange.mjs";
|
|
64
|
-
/* empty css */
|
|
65
10
|
/* empty css */
|
|
66
11
|
/* empty css */
|
|
67
12
|
/* empty css */
|
|
@@ -73,6 +18,7 @@ import "../utils/importantDataChange.mjs";
|
|
|
73
18
|
/* empty css */
|
|
74
19
|
/* empty css */
|
|
75
20
|
/* empty css */
|
|
21
|
+
/* empty css */
|
|
76
22
|
/* empty css */
|
|
77
23
|
function usePageEvents(getOptions) {
|
|
78
24
|
if (typeof getOptions !== "function") {
|
|
@@ -291,19 +291,22 @@ class EventFlowParser {
|
|
|
291
291
|
* 执行动作
|
|
292
292
|
*/
|
|
293
293
|
async executeAction(node) {
|
|
294
|
-
var _a, _b, _c, _d
|
|
294
|
+
var _a, _b, _c, _d;
|
|
295
295
|
const handler = this.actionHandlers[node.actionType];
|
|
296
296
|
if (!handler) {
|
|
297
297
|
throw new Error(`未找到动作处理器: ${node.actionType}`);
|
|
298
298
|
}
|
|
299
|
+
const rawInstance = (_a = this.options) == null ? void 0 : _a.instance;
|
|
300
|
+
const isWrapped = rawInstance && !rawInstance.appContext && rawInstance.instance;
|
|
301
|
+
const instance = isWrapped ? rawInstance.instance : rawInstance;
|
|
299
302
|
const context = {
|
|
300
303
|
parser: this,
|
|
301
|
-
instance
|
|
302
|
-
ctx: (
|
|
303
|
-
customActions: (
|
|
304
|
-
localConfig: (
|
|
304
|
+
instance,
|
|
305
|
+
ctx: (rawInstance == null ? void 0 : rawInstance.proxy) ?? (instance == null ? void 0 : instance.proxy),
|
|
306
|
+
customActions: (_b = this.options) == null ? void 0 : _b.customActions,
|
|
307
|
+
localConfig: (_c = this.options) == null ? void 0 : _c.localConfig,
|
|
305
308
|
components: this.components,
|
|
306
|
-
metadata: (
|
|
309
|
+
metadata: (_d = this.options) == null ? void 0 : _d.metadata
|
|
307
310
|
};
|
|
308
311
|
return await handler(node, this.data, this.fields, context);
|
|
309
312
|
}
|
|
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
11
11
|
;/* empty css */
|
|
12
12
|
const Vue = require("vue");
|
|
13
13
|
const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
14
|
-
const ValueSelector = require("./ValueSelector.
|
|
14
|
+
const ValueSelector = require("./ValueSelector.vue2.js");
|
|
15
15
|
const index = require("../api/index.js");
|
|
16
16
|
;/* empty css */
|
|
17
17
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
8
|
const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
9
|
-
const ValueSelector = require("./ValueSelector.
|
|
9
|
+
const ValueSelector = require("./ValueSelector.vue2.js");
|
|
10
10
|
;/* empty css */
|
|
11
11
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
12
12
|
const index = require("../../../node_modules/element-plus/es/components/button/index.js");
|
|
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
|
|
|
18
18
|
const common = require("../../packages/utils/common.js");
|
|
19
19
|
const index$5 = require("../../packages/form/aside/index.js");
|
|
20
20
|
const index$6 = require("../../packages/table/aside/index.js");
|
|
21
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
21
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
22
22
|
;/* empty css */
|
|
23
23
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
24
24
|
const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
|
|
|
16
16
|
require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
|
|
17
17
|
const Vue = require("vue");
|
|
18
18
|
const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
20
20
|
const index$1 = require("../../api/index.js");
|
|
21
21
|
const common = require("../utils/common.js");
|
|
22
22
|
const datasource = require("../utils/datasource.js");
|
|
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
|
|
|
32
32
|
;/* empty css */
|
|
33
33
|
;/* empty css */
|
|
34
34
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
35
|
-
;/* empty css
|
|
35
|
+
;/* empty css */
|
|
36
36
|
const index$8 = require("../../api/index.js");
|
|
37
37
|
;/* empty css */
|
|
38
38
|
;/* 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 useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -87,7 +87,7 @@ const widgets = require("../table/property/widgets.vue.js");
|
|
|
87
87
|
require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
|
|
88
88
|
;/* empty css */
|
|
89
89
|
;/* empty css */
|
|
90
|
-
;/* empty css
|
|
90
|
+
;/* empty css */
|
|
91
91
|
;/* empty css */
|
|
92
92
|
;/* empty css */
|
|
93
93
|
;/* 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);
|
|
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
|
|
|
6
6
|
;/* empty css */
|
|
7
7
|
const Vue = require("vue");
|
|
8
8
|
const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
|
|
9
|
-
const ValueSelector = require("../../../../components/ValueSelector.
|
|
9
|
+
const ValueSelector = require("../../../../components/ValueSelector.vue2.js");
|
|
10
10
|
const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
|
|
11
11
|
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
12
12
|
const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
|
|
@@ -15,7 +15,7 @@ const PageFooterSetting = require("./PageFooterSetting.vue.js");
|
|
|
15
15
|
const ComponentPreviewWrapper = require("./components/ComponentPreviewWrapper.vue.js");
|
|
16
16
|
const SubTitle = require("./components/SubTitle.vue.js");
|
|
17
17
|
const H2Wrapper = require("./components/H2Wrapper.vue.js");
|
|
18
|
-
const SubForm =
|
|
18
|
+
const SubForm = require("./components/SubForm.vue.js");
|
|
19
19
|
const approvalHistory = require("./components/approvalHistory.vue.js");
|
|
20
20
|
const SubTable = require("./components/SubTable.vue.js");
|
|
21
21
|
const Document = require("./components/Document.vue.js");
|
|
@@ -13,7 +13,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
|
|
|
13
13
|
const Vue = require("vue");
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const eventBus = require("../../utils/eventBus.js");
|
|
16
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
16
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
17
17
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
18
18
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
19
19
|
const index$2 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
|
|
@@ -20,7 +20,7 @@ const EventConfigButton = require("../../../components/EventConfigButton.vue.js"
|
|
|
20
20
|
const Vue = require("vue");
|
|
21
21
|
const common = require("../../utils/common.js");
|
|
22
22
|
require("../../utils/eventBus.js");
|
|
23
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
23
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
24
24
|
const index = require("../../../api/index.js");
|
|
25
25
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
26
26
|
;/* empty css */
|
|
@@ -9,7 +9,7 @@ const widgets = require("./widgets.vue.js");
|
|
|
9
9
|
const pageHeaderBtn = require("./pageHeaderBtn.vue.js");
|
|
10
10
|
const pageFooterBtn = require("./pageFooterBtn.vue.js");
|
|
11
11
|
const subTitleH2 = require("./subTitleH2.vue.js");
|
|
12
|
-
const subForm =
|
|
12
|
+
const subForm = require("./subForm.vue.js");
|
|
13
13
|
const subTable = require("./subTable.vue.js");
|
|
14
14
|
const blank = require("./blank.vue.js");
|
|
15
15
|
const approvalHistory = require("./approvalHistory.vue.js");
|
|
@@ -14,7 +14,7 @@ const Vue = require("vue");
|
|
|
14
14
|
const common = require("../../utils/common.js");
|
|
15
15
|
const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
|
|
16
16
|
const eventBus = require("../../utils/eventBus.js");
|
|
17
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
17
|
+
const ValueSelector = require("../../../components/ValueSelector.vue2.js");
|
|
18
18
|
const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
|
|
19
19
|
const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
|
|
20
20
|
const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
|
|
@@ -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");
|
|
@@ -7,7 +7,7 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
7
7
|
;/* empty css */
|
|
8
8
|
;/* empty css */
|
|
9
9
|
const Vue = require("vue");
|
|
10
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
10
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
11
11
|
const common = require("../utils/common.js");
|
|
12
12
|
;/* empty css */
|
|
13
13
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
|
|
|
16
16
|
const Vue = require("vue");
|
|
17
17
|
const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
18
18
|
const common = require("../utils/common.js");
|
|
19
|
-
const ValueSelector = require("../../components/ValueSelector.
|
|
19
|
+
const ValueSelector = require("../../components/ValueSelector.vue2.js");
|
|
20
20
|
const index = require("../../api/index.js");
|
|
21
21
|
;/* empty css */
|
|
22
22
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|