super-page-runtime 1.0.1 → 1.0.3
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/dist/es/components/runtime/utils/api/api-util.js +3 -3
- package/dist/es/components/runtime/utils/assemblys-config.js +1 -1
- package/dist/es/components/runtime/utils/common-util.js +2 -2
- package/dist/es/components/runtime/utils/eventBus.js +1 -1
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/standard-event.js +6 -6
- package/dist/es/components/runtime/utils/events/validator-util.js +3 -3
- package/dist/es/components/runtime/utils/global-refs.js +1 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +3 -3
- package/dist/es/components/runtime/utils/page-init-util.js +2 -2
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue.js +6 -6
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +2 -1
- package/dist/es/components/wf-editor/wf-editor.vue.js +1 -1
- package/dist/lib/components/runtime/utils/api/api-util.js +10 -10
- package/dist/lib/components/runtime/utils/assemblys-config.js +35 -35
- package/dist/lib/components/runtime/utils/common-util.js +4 -4
- package/dist/lib/components/runtime/utils/eventBus.js +1 -1
- package/dist/lib/components/runtime/utils/events/event-util.js +8 -8
- package/dist/lib/components/runtime/utils/events/standard-event.js +66 -66
- package/dist/lib/components/runtime/utils/events/validator-util.js +14 -14
- package/dist/lib/components/runtime/utils/global-refs.js +1 -1
- package/dist/lib/components/runtime/utils/page-helper-util.js +4 -4
- package/dist/lib/components/runtime/utils/page-init-util.js +3 -3
- package/dist/lib/components/runtime/utils/table-utils.js +1 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +31 -31
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +9 -9
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +22 -22
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +22 -22
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +30 -30
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +27 -27
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +20 -20
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +26 -26
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +13 -13
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +6 -6
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +26 -26
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +15 -15
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +11 -11
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +3 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +39 -39
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +27 -27
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -58
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +42 -42
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +8 -8
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +28 -28
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +18 -18
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +9 -9
- package/dist/lib/components/runtime/views/super-page.vue.js +60 -60
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +15 -14
- package/dist/lib/components/wf-editor/wf-editor.vue.js +4 -4
- package/package.json +1 -1
- package/dist/es/components/runtime/index.d.ts +0 -3
- package/dist/es/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/es/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/es/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/es/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/es/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/es/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/es/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/es/components/runtime/utils/store.d.ts +0 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/super-page-dialog/index.d.ts +0 -3
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/es/components/wf-editor/index.d.ts +0 -3
- package/dist/es/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/es/index.d.ts +0 -5
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/index.d.ts +0 -5
- package/dist/super-page-runtime.umd.js +0 -213932
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
require("element-plus");
|
|
3
4
|
const superPage_vue_vue_type_script_setup_true_lang = require("../runtime/views/super-page.vue.js");
|
|
4
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
5
6
|
__name: "super-page-dialog",
|
|
6
7
|
props: {
|
|
7
8
|
parentPageContext: {},
|
|
@@ -13,14 +14,14 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
13
14
|
setup(__props, { emit: __emit }) {
|
|
14
15
|
const props = __props;
|
|
15
16
|
const emits = __emit;
|
|
16
|
-
const showContent =
|
|
17
|
+
const showContent = vue.ref(true);
|
|
17
18
|
const myJumpPageSetting = props.jumpPageSetting ? props.jumpPageSetting : null;
|
|
18
|
-
const width =
|
|
19
|
-
const title =
|
|
20
|
-
const pageCode =
|
|
21
|
-
const dataId =
|
|
22
|
-
const taskId =
|
|
23
|
-
const pageRequest =
|
|
19
|
+
const width = vue.ref(null);
|
|
20
|
+
const title = vue.ref(null);
|
|
21
|
+
const pageCode = vue.ref(null);
|
|
22
|
+
const dataId = vue.ref(null);
|
|
23
|
+
const taskId = vue.ref(null);
|
|
24
|
+
const pageRequest = vue.ref({});
|
|
24
25
|
if (myJumpPageSetting) {
|
|
25
26
|
title.value = myJumpPageSetting && myJumpPageSetting["jumpPageTitle"] ? myJumpPageSetting["jumpPageTitle"] : null;
|
|
26
27
|
width.value = myJumpPageSetting && myJumpPageSetting["jumpPageWidth"] ? myJumpPageSetting["jumpPageWidth"] : "100%";
|
|
@@ -45,8 +46,8 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
45
46
|
pageRequest.value["taskId"] = taskId.value;
|
|
46
47
|
}
|
|
47
48
|
return (_ctx, _cache) => {
|
|
48
|
-
const _component_el_drawer =
|
|
49
|
-
return
|
|
49
|
+
const _component_el_drawer = vue.resolveComponent("el-drawer");
|
|
50
|
+
return vue.openBlock(), vue.createBlock(_component_el_drawer, {
|
|
50
51
|
modelValue: showContent.value,
|
|
51
52
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showContent.value = $event),
|
|
52
53
|
"with-header": !title.value,
|
|
@@ -58,12 +59,12 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
58
59
|
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
59
60
|
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
60
61
|
}, {
|
|
61
|
-
default:
|
|
62
|
-
pageCode.value ? (
|
|
62
|
+
default: vue.withCtx(() => [
|
|
63
|
+
pageCode.value ? (vue.openBlock(), vue.createBlock(superPage_vue_vue_type_script_setup_true_lang, {
|
|
63
64
|
key: 0,
|
|
64
65
|
pageCode: pageCode.value,
|
|
65
66
|
pageRequest: pageRequest.value
|
|
66
|
-
}, null, 8, ["pageCode", "pageRequest"])) :
|
|
67
|
+
}, null, 8, ["pageCode", "pageRequest"])) : vue.createCommentVNode("", true)
|
|
67
68
|
]),
|
|
68
69
|
_: 1
|
|
69
70
|
}, 8, ["modelValue", "with-header", "title", "size"]);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
;/* empty css */
|
|
4
4
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
5
5
|
const _sfc_main = {};
|
|
6
|
-
const _withScopeId = (n) => (
|
|
7
|
-
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */
|
|
6
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-dfafa4ba"), n = n(), vue.popScopeId(), n);
|
|
7
|
+
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("button", null, "Editoraaaaa", -1));
|
|
8
8
|
const _hoisted_2 = [
|
|
9
9
|
_hoisted_1
|
|
10
10
|
];
|
|
11
11
|
function _sfc_render(_ctx, _cache) {
|
|
12
|
-
return
|
|
12
|
+
return vue.openBlock(), vue.createElementBlock("div", null, _hoisted_2);
|
|
13
13
|
}
|
|
14
14
|
const WfEditor = /* @__PURE__ */ _pluginVue_exportHelper(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-dfafa4ba"]]);
|
|
15
15
|
module.exports = WfEditor;
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 设值自定义校验规则。推荐在按钮的beforeValidateForm事件中调用该方法。
|
|
3
|
-
* @param params 事件中的params参数
|
|
4
|
-
* @param customRules 自定义的校验规则
|
|
5
|
-
*/
|
|
6
|
-
export declare function setCustomRules(pageContext: any, customRules: any): void;
|
|
7
|
-
/**
|
|
8
|
-
* 获得表单数据
|
|
9
|
-
* @param pageContext
|
|
10
|
-
*/
|
|
11
|
-
export declare function getData(pageContext: any): Promise<unknown>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function isArrayFn(value: any): boolean;
|
|
2
|
-
export declare function getBaseUrl(system: any): any;
|
|
3
|
-
export declare function getRealRestApiPath(orgRestApiPath: any, system: any): any;
|
|
4
|
-
/**
|
|
5
|
-
* 封装模板文件列表
|
|
6
|
-
* @param templateFiles
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare function packageTemplateFiles(templateFiles: any): any;
|
|
10
|
-
export declare function upperFirstCase(str: any): any;
|
|
11
|
-
export declare function getListCode(pageCode: any, pageVersion: any, tableUuid: any): string;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { PageDesign, Component, PageContext } from '../interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 缓存页面事件,并转为Function对象,并绑定自定义方法到window对象上
|
|
5
|
-
* @param pageDesign
|
|
6
|
-
*/
|
|
7
|
-
export declare function initPageEvents(pageDesign: PageDesign, pageContext: PageContext): void;
|
|
8
|
-
/**
|
|
9
|
-
* 页面销毁时,将window上注册的函数移除掉
|
|
10
|
-
* @param pageDesign
|
|
11
|
-
*/
|
|
12
|
-
export declare function removeCustomFuncFromWindow(pageDesign: PageDesign): void;
|
|
13
|
-
export declare function handleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
14
|
-
export declare function getHandleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
15
|
-
export declare function doBeforeClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): any;
|
|
16
|
-
export declare function doAfterClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): void;
|
|
17
|
-
/**
|
|
18
|
-
* 获得事件Function对象
|
|
19
|
-
* @param events 该组件所有事件集合
|
|
20
|
-
* @param eventType change、click等事件类型
|
|
21
|
-
*/
|
|
22
|
-
export declare function getEventFuncByType(pageContext: PageContext, events: Array<any>, eventType: string): any;
|
|
23
|
-
/**
|
|
24
|
-
* 获得事件Function对象
|
|
25
|
-
* @param events 该组件所有事件集合
|
|
26
|
-
* @param eventType change、click等事件类型
|
|
27
|
-
*/
|
|
28
|
-
export declare function getClickEventFuncByType(pageContext: PageContext, events: Array<any>, eventType: string): {
|
|
29
|
-
func: any;
|
|
30
|
-
isStandard: boolean;
|
|
31
|
-
event: any;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* 按钮是否可执行条件解析
|
|
35
|
-
* @param params
|
|
36
|
-
* @returns
|
|
37
|
-
*/
|
|
38
|
-
export declare function canExecuteButton(params: any): Promise<unknown>;
|
|
39
|
-
export declare function canVisibleComponent(params: any): Promise<unknown>;
|
|
40
|
-
export declare function setTableEvents(options: any, tableEvents: any, pageContext: any, configureObj: any): void;
|
|
41
|
-
export declare function gridSelectRecord(pageContext: any, configureObj: any, params: any): any;
|
|
42
|
-
export declare function gridSelectAllRecords(pageContext: any, configureObj: any, params: any): any;
|
|
43
|
-
export declare function gridSelectionChange(pageContext: any, configureObj: any, params: any): any;
|
|
44
|
-
export declare function cellClick(pageContext: any, configureObj: any, params: any): any;
|
|
45
|
-
export declare function cellDblClick(pageContext: any, configureObj: any, params: any): any;
|
|
46
|
-
export declare function rowClick(pageContext: any, configureObj: any, params: any): any;
|
|
47
|
-
export declare function rowDblClick(pageContext: any, configureObj: any, params: any): any;
|
|
48
|
-
export declare function headerClick(pageContext: any, configureObj: any, params: any): any;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare const standardEvents: {
|
|
2
|
-
save: (params: any) => Promise<unknown>;
|
|
3
|
-
saveList: (params: any) => Promise<unknown>;
|
|
4
|
-
exportForm: (params: any) => void;
|
|
5
|
-
exportPDF: (params: any) => void;
|
|
6
|
-
submit: (params: any) => Promise<unknown>;
|
|
7
|
-
submitList: (params: any) => Promise<unknown>;
|
|
8
|
-
agree: (params: any) => Promise<unknown>;
|
|
9
|
-
agreeList: (params: any) => Promise<unknown>;
|
|
10
|
-
disagree: (params: any) => Promise<unknown>;
|
|
11
|
-
disagreeList: (params: any) => Promise<unknown>;
|
|
12
|
-
back: (params: any) => void;
|
|
13
|
-
delete: (params: any) => Promise<unknown>;
|
|
14
|
-
downloadTemplate: (params: any) => void;
|
|
15
|
-
import: (params: any) => void;
|
|
16
|
-
export: (params: any) => Promise<unknown>;
|
|
17
|
-
search: (params: any) => void;
|
|
18
|
-
workflowSave: (params: any) => Promise<unknown>;
|
|
19
|
-
submitProcess: (params: any) => Promise<unknown>;
|
|
20
|
-
submitTask: (params: any) => Promise<unknown>;
|
|
21
|
-
approve: (params: any) => Promise<unknown>;
|
|
22
|
-
refuse: (params: any) => Promise<unknown>;
|
|
23
|
-
readed: (params: any) => Promise<unknown>;
|
|
24
|
-
agreement: (params: any) => Promise<unknown>;
|
|
25
|
-
oppose: (params: any) => Promise<unknown>;
|
|
26
|
-
kiken: (params: any) => Promise<unknown>;
|
|
27
|
-
assign: (params: any) => void;
|
|
28
|
-
copyTask: (params: any) => void;
|
|
29
|
-
addSigner: (params: any) => void;
|
|
30
|
-
drawTask: (params: any) => Promise<unknown>;
|
|
31
|
-
abandonReceive: (params: any) => Promise<unknown>;
|
|
32
|
-
returnToPreviousTask: (params: any) => Promise<unknown>;
|
|
33
|
-
endInstance: (params: any) => Promise<unknown>;
|
|
34
|
-
returnTaskTo: (params: any) => void;
|
|
35
|
-
removeSigner: (params: any) => void;
|
|
36
|
-
retrieveTask: (params: any) => Promise<unknown>;
|
|
37
|
-
viewDetail: (params: any) => void;
|
|
38
|
-
lineEditCreate: (params: any) => void;
|
|
39
|
-
};
|
|
40
|
-
export declare function exportFormReport(pageContext: any, configureObj: any, templateFile: any, isPdf: any): void;
|
|
41
|
-
export declare function getSaveFormRequest(pageContext: any, configureObj: any, url: any, isUnControlVersion: any, mainDefaultValueColumns: any, dynamicColumnInfo: any): any;
|
|
42
|
-
/**
|
|
43
|
-
* 按钮执行后页面处理方式:刷新、关闭弹框等等
|
|
44
|
-
* @param pageContext
|
|
45
|
-
* @param configureObj
|
|
46
|
-
* @param data
|
|
47
|
-
* @param successTip
|
|
48
|
-
* @param isListButton
|
|
49
|
-
*/
|
|
50
|
-
export declare function dealAfterOperate(pageContext: any, configureObj: any, data: any, successTip: any, isListButton?: boolean): void;
|
|
51
|
-
export declare function doImportFinally(params: any, fileObj: any): void;
|
|
52
|
-
export declare function judgeDataNumber(buttonConfigureObj: any, ids: any): boolean;
|
|
53
|
-
export declare function dealCompleteTaskParam(commonEntity: any, isInit: any, pageContext: any, params?: any, operationResult?: any): boolean;
|
|
54
|
-
export declare function doAssign(params: any, selectNodeInfo: any): void;
|
|
55
|
-
export declare function doAddSigner(params: any, selectNodeInfo: any): void;
|
|
56
|
-
export declare function doCreateCopyTask(params: any, selectNodeInfo: any): void;
|
|
57
|
-
export declare function getTaskInformitions(params: any): any;
|
|
58
|
-
export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
|
|
59
|
-
export declare function getRemoveSigner(params: any): any;
|
|
60
|
-
export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
|
|
61
|
-
export declare function isVisibleWorkflowButton(standardEventName: any, buttonInfo: any, completeTaskParam: any): boolean;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare function setObjectPropRule(prop: any, rules: any, leafRule: any): {};
|
|
2
|
-
export declare function validator(entity: any, rules: any, columns: any, rowIndex: any, isSql: any): any;
|
|
3
|
-
export declare function validateDataModelFunc(pageContext: any, configureObj: any, isEnableRequired: any): Promise<unknown>;
|
|
4
|
-
export declare function i18nValidateRulesMessage(rules: any): {};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { PageContext } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
globalRefs: any;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 添加组件引用对象
|
|
10
|
-
* @param pageContext 页面运行时对象
|
|
11
|
-
* @param componentIndex 对象ID
|
|
12
|
-
* @param refObj 引用对象
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function addComponentRef(pageContext: PageContext, componentUuid: string, refObj: any): any;
|
|
16
|
-
/**
|
|
17
|
-
* 添加组件引用对象
|
|
18
|
-
* @param pageContext 页面运行时对象
|
|
19
|
-
* @param componentIndex 对象ID
|
|
20
|
-
* @param refObj 引用对象
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare function addComponentRefByCode(pageContext: PageContext, componentCode: string, refObj: any): any;
|
|
24
|
-
/**
|
|
25
|
-
* 获取组件引用对象
|
|
26
|
-
* @param pageDesign 页面设计对象
|
|
27
|
-
* @param componentIndex 对象ID
|
|
28
|
-
* @returns
|
|
29
|
-
*/
|
|
30
|
-
export declare function getComponentRef(pageContext: PageContext, componentUuid: string): any;
|
|
31
|
-
/**
|
|
32
|
-
* 根据编码获取组件引用对象
|
|
33
|
-
* @param pageDesign 页面设计对象
|
|
34
|
-
* @param componentCode 对象code
|
|
35
|
-
* @returns
|
|
36
|
-
*/
|
|
37
|
-
export declare function getComponentRefByCode(pageContext: PageContext, componentCode: string): any;
|
|
38
|
-
/**
|
|
39
|
-
* 移除组件引用对象
|
|
40
|
-
* @param pageDesign 页面设计对象
|
|
41
|
-
* @param componentIndex 对象ID
|
|
42
|
-
* @param refObj 引用对象
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
export declare function removeComponentRef(pageContext: PageContext, componentUuid: string): any;
|
|
46
|
-
/**
|
|
47
|
-
* 移除页面所有引用
|
|
48
|
-
* @param pageDesign 页面设计对象
|
|
49
|
-
* @param componentIndex 对象ID
|
|
50
|
-
* @param refObj 引用对象
|
|
51
|
-
* @returns
|
|
52
|
-
*/
|
|
53
|
-
export declare function removePageAllRef(pageContext: PageContext): void;
|
|
54
|
-
/**
|
|
55
|
-
* 初始化页面引用对象
|
|
56
|
-
* @param pageCode
|
|
57
|
-
* @param pageVersion
|
|
58
|
-
*/
|
|
59
|
-
export declare function initComponentRefState(pageContext: PageContext): void;
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 状态
|
|
3
|
-
*/
|
|
4
|
-
export declare enum EnableStates {
|
|
5
|
-
ENABLE = "ENABLE",
|
|
6
|
-
DISABLE = "DISABLE"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 屏幕尺寸
|
|
10
|
-
*/
|
|
11
|
-
export declare enum PageDimensions {
|
|
12
|
-
PC = "pc",
|
|
13
|
-
IPAD = "ipad",
|
|
14
|
-
PHONE = "phone"
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 组件对象
|
|
18
|
-
*/
|
|
19
|
-
export interface Component extends Object {
|
|
20
|
-
uuid: string;
|
|
21
|
-
name: string;
|
|
22
|
-
label: string;
|
|
23
|
-
desc?: string;
|
|
24
|
-
icon?: string;
|
|
25
|
-
version?: number;
|
|
26
|
-
releaseDate?: string;
|
|
27
|
-
creator?: string;
|
|
28
|
-
auditor?: string;
|
|
29
|
-
snapshot?: string;
|
|
30
|
-
docHref?: string;
|
|
31
|
-
parent?: Component;
|
|
32
|
-
items?: Component[];
|
|
33
|
-
props?: any;
|
|
34
|
-
style?: any;
|
|
35
|
-
events?: ComponentEvent[];
|
|
36
|
-
methods?: ComponentMethod[];
|
|
37
|
-
advance?: any;
|
|
38
|
-
[otherProp: string]: any;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* 页面对象
|
|
42
|
-
*/
|
|
43
|
-
export interface PageDesign extends Component {
|
|
44
|
-
systemCode: string;
|
|
45
|
-
systemVersion: number;
|
|
46
|
-
code: string;
|
|
47
|
-
version: number;
|
|
48
|
-
tableSysCode?: string;
|
|
49
|
-
tableSysVersion?: number;
|
|
50
|
-
tableName?: string;
|
|
51
|
-
tableAlias?: string;
|
|
52
|
-
workflowCode: string;
|
|
53
|
-
workflowVersion: number;
|
|
54
|
-
variables?: CustomVariable[];
|
|
55
|
-
logicDesigns?: object[];
|
|
56
|
-
modelFields?: ModelField[];
|
|
57
|
-
rules?: object;
|
|
58
|
-
tableUuids?: Array<any>;
|
|
59
|
-
tableNames?: Array<any>;
|
|
60
|
-
formNoRuleCode?: string;
|
|
61
|
-
judgeHeavyList?: Array<any>;
|
|
62
|
-
conversionCodes?: Array<any>;
|
|
63
|
-
pageType?: string;
|
|
64
|
-
beanName?: string;
|
|
65
|
-
importBeanName?: string;
|
|
66
|
-
name: string;
|
|
67
|
-
notIdInitializationList?: Array<any>;
|
|
68
|
-
subTablePageInfo?: object;
|
|
69
|
-
customValidatorUuids?: Array<string>;
|
|
70
|
-
customEvents?: Array<any>;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* 运行时页面对象
|
|
74
|
-
*/
|
|
75
|
-
export interface PageContext extends Component {
|
|
76
|
-
isTest?: boolean;
|
|
77
|
-
systemCode?: string;
|
|
78
|
-
systemVersion?: number;
|
|
79
|
-
code: string;
|
|
80
|
-
version: number;
|
|
81
|
-
dimensions: string;
|
|
82
|
-
tableSysCode?: string;
|
|
83
|
-
tableSysVersion?: number;
|
|
84
|
-
tableName?: string;
|
|
85
|
-
tableAlias?: string;
|
|
86
|
-
workflowCode?: string;
|
|
87
|
-
workflowVersion?: number;
|
|
88
|
-
rules?: object;
|
|
89
|
-
tableUuids?: Array<any>;
|
|
90
|
-
tableNames?: Array<any>;
|
|
91
|
-
formNoRuleCode?: string;
|
|
92
|
-
judgeHeavyList?: Array<any>;
|
|
93
|
-
conversionCodes?: Array<any>;
|
|
94
|
-
pageType?: string;
|
|
95
|
-
beanName?: string;
|
|
96
|
-
importBeanName?: string;
|
|
97
|
-
name: string;
|
|
98
|
-
notIdInitializationList?: Array<any>;
|
|
99
|
-
subTablePageInfo?: object;
|
|
100
|
-
customValidatorUuids?: Array<string>;
|
|
101
|
-
entity: {
|
|
102
|
-
data: {
|
|
103
|
-
[otherProp: string]: any;
|
|
104
|
-
};
|
|
105
|
-
task: {
|
|
106
|
-
[otherProp: string]: any;
|
|
107
|
-
};
|
|
108
|
-
request: {
|
|
109
|
-
[otherProp: string]: any;
|
|
110
|
-
};
|
|
111
|
-
page: {
|
|
112
|
-
[otherProp: string]: any;
|
|
113
|
-
};
|
|
114
|
-
context: {
|
|
115
|
-
[otherProp: string]: any;
|
|
116
|
-
};
|
|
117
|
-
system: {
|
|
118
|
-
[otherProp: string]: any;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
superGridItems?: object;
|
|
122
|
-
emailTemplateCode?: string;
|
|
123
|
-
fieldPermissions?: Array<any>;
|
|
124
|
-
fieldPermissionMap?: Map<string, any>;
|
|
125
|
-
actionPermissions?: Array<any>;
|
|
126
|
-
actionPermissionMap?: Map<string, any>;
|
|
127
|
-
workflowButtonComponent?: object;
|
|
128
|
-
completeTaskParam?: object;
|
|
129
|
-
customRules?: object;
|
|
130
|
-
initFormNo?: string;
|
|
131
|
-
definitionId?: number;
|
|
132
|
-
dataTypeMaps?: Object;
|
|
133
|
-
editData?: object;
|
|
134
|
-
searchFormData?: Array<object>;
|
|
135
|
-
selectOptions?: object;
|
|
136
|
-
[otherProp: string]: any;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* 事件对象
|
|
140
|
-
*/
|
|
141
|
-
export interface ComponentEvent extends Object {
|
|
142
|
-
name: string;
|
|
143
|
-
label: string;
|
|
144
|
-
params?: ComponentEventParam[];
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* 事件对象
|
|
148
|
-
*/
|
|
149
|
-
export interface ComponentEventParam extends Object {
|
|
150
|
-
name: string;
|
|
151
|
-
label: string;
|
|
152
|
-
type: string;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* 方法对象
|
|
156
|
-
*/
|
|
157
|
-
export interface ComponentMethod extends Object {
|
|
158
|
-
name: string;
|
|
159
|
-
label: string;
|
|
160
|
-
inParams: ComponentEventParam[];
|
|
161
|
-
outParams: ComponentEventParam[];
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* 方法参数描述
|
|
165
|
-
*/
|
|
166
|
-
export interface ComponentMethodParam extends Object {
|
|
167
|
-
name: string;
|
|
168
|
-
type: string;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* 自定义变量对象
|
|
172
|
-
*/
|
|
173
|
-
export interface CustomVariable extends Object {
|
|
174
|
-
name: string;
|
|
175
|
-
alias: string;
|
|
176
|
-
defaultValue?: string;
|
|
177
|
-
isArrayElement?: boolean;
|
|
178
|
-
items?: CustomVariable[];
|
|
179
|
-
[otherProp: string]: any;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* 自定义变量对象
|
|
183
|
-
*/
|
|
184
|
-
export interface ModelField extends Object {
|
|
185
|
-
name: string;
|
|
186
|
-
alias: string;
|
|
187
|
-
dataType: string;
|
|
188
|
-
displayOrder: number;
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* 前端逻辑对象
|
|
192
|
-
*/
|
|
193
|
-
export interface LogicDesign extends Object {
|
|
194
|
-
code: string;
|
|
195
|
-
name: string;
|
|
196
|
-
props?: any;
|
|
197
|
-
variables?: CustomVariable[];
|
|
198
|
-
flow: {
|
|
199
|
-
nodes?: LogicNode[];
|
|
200
|
-
};
|
|
201
|
-
triggerSource?: LogicTriggerSource[];
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* 前端逻辑节点对象
|
|
205
|
-
*/
|
|
206
|
-
export interface LogicNode extends Object {
|
|
207
|
-
id: string;
|
|
208
|
-
type: string;
|
|
209
|
-
x: number;
|
|
210
|
-
y: number;
|
|
211
|
-
properties?: any;
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
* 前端逻辑节点触发来源
|
|
215
|
-
*/
|
|
216
|
-
export interface LogicTriggerSource extends Object {
|
|
217
|
-
assemblyIndex: number;
|
|
218
|
-
assemblyType: string;
|
|
219
|
-
triggerType: string;
|
|
220
|
-
triggerName: string;
|
|
221
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取选项组类需要查询的配置信息
|
|
5
|
-
* @param component
|
|
6
|
-
* @param pageContext
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext): any;
|
|
10
|
-
/**
|
|
11
|
-
* 初始化需要查询数据的信息
|
|
12
|
-
* @param component
|
|
13
|
-
* @param pageDesign
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
|
|
17
|
-
/**
|
|
18
|
-
* 初始化数据源
|
|
19
|
-
* @param pageContext 页面上下文
|
|
20
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
21
|
-
*/
|
|
22
|
-
export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* 从页面缓存中获取查询到的选项组数据
|
|
25
|
-
* @param pageContext
|
|
26
|
-
* @param configure
|
|
27
|
-
*/
|
|
28
|
-
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
29
|
-
/**
|
|
30
|
-
* 初始化数据源
|
|
31
|
-
* @param pageContext 页面上下文
|
|
32
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
33
|
-
* @param query 查询条件
|
|
34
|
-
*/
|
|
35
|
-
export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
|
|
36
|
-
/**
|
|
37
|
-
* 根据查询条件远程查询
|
|
38
|
-
* @param component
|
|
39
|
-
* @param query 模糊查询内容
|
|
40
|
-
*/
|
|
41
|
-
export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
|
|
42
|
-
/**
|
|
43
|
-
* 根据查询条件远程查询
|
|
44
|
-
* @param component
|
|
45
|
-
* @param query 模糊查询内容
|
|
46
|
-
*/
|
|
47
|
-
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[]): void;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @param entity
|
|
51
|
-
* @param fields
|
|
52
|
-
* @returns
|
|
53
|
-
*/
|
|
54
|
-
export declare function getVariableValue(entity: any, fields: string[]): any;
|
|
55
|
-
/**
|
|
56
|
-
* 设置参数值
|
|
57
|
-
* @param entity
|
|
58
|
-
* @param fields
|
|
59
|
-
* @param newValue 新的值
|
|
60
|
-
*/
|
|
61
|
-
export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
|
|
62
|
-
/**
|
|
63
|
-
* 格式化变量值
|
|
64
|
-
* @param pageContext
|
|
65
|
-
* @param variable
|
|
66
|
-
*/
|
|
67
|
-
export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
|
|
68
|
-
/**
|
|
69
|
-
* 根据类型格式化对象
|
|
70
|
-
* @param value
|
|
71
|
-
* @param formatInfo
|
|
72
|
-
* @returns
|
|
73
|
-
*/
|
|
74
|
-
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
75
|
-
/**
|
|
76
|
-
* 打开链接
|
|
77
|
-
* @param component
|
|
78
|
-
* @param pageContext
|
|
79
|
-
*/
|
|
80
|
-
export declare function openLink(component: Component, pageContext: PageContext): void;
|
|
81
|
-
/**
|
|
82
|
-
* 计算组件是否显示
|
|
83
|
-
* @param pageContext 页面对象
|
|
84
|
-
* @param configure 组件配置参数
|
|
85
|
-
* @param showConditions 显示条件
|
|
86
|
-
*/
|
|
87
|
-
export declare function caculateShowCondition(pageContext: PageContext, configure: Component, showConditions: Array<any>): any;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Component, PageContext, PageDesign } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 查询页面设计对象
|
|
5
|
-
* @param pageId
|
|
6
|
-
* @returns
|
|
7
|
-
*/
|
|
8
|
-
export declare function queryPageDesign(pageId: number): Promise<any>;
|
|
9
|
-
/**
|
|
10
|
-
* 查询页面设计对象
|
|
11
|
-
* @param pageCode
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare function queryPageDesignByCode(pageCode: string): Promise<any>;
|
|
15
|
-
/**
|
|
16
|
-
* 转换页面设计对象为运行时对象
|
|
17
|
-
* @param pageDesign 页面设计对象
|
|
18
|
-
*/
|
|
19
|
-
export declare function convertToPageContext(pageDesign: PageDesign, pageRequest: object): PageContext | null;
|
|
20
|
-
/**
|
|
21
|
-
* 获取表单元素模型名称
|
|
22
|
-
* @param pageContext 页面对象
|
|
23
|
-
* @param formItemConfigure 表单元素配置参数
|
|
24
|
-
*/
|
|
25
|
-
export declare function getFormModelFields(pageContext: PageContext, formItemConfigure: Component): string[];
|
|
26
|
-
/**
|
|
27
|
-
* 获取组件的权限编码
|
|
28
|
-
* @param configure
|
|
29
|
-
* @param pageContext
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
export declare function getPermissionCodes(configure: Component, pageContext: PageContext): string;
|
|
33
|
-
/**
|
|
34
|
-
* 查询页面中所有列表配置
|
|
35
|
-
* @param pageCode
|
|
36
|
-
* @returns
|
|
37
|
-
*/
|
|
38
|
-
export declare function queryPageSuperGrids(pageDesign: any, pageContext: any, publishVersion: any): Promise<any>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare function getStoreInfo(pageCode: any, pageVersion: any, key: any): any;
|
|
2
|
-
export declare function setStoreInfo(pageCode: any, pageVersion: any, key: string, value: any): void;
|
|
3
|
-
/**
|
|
4
|
-
* 删除某属性
|
|
5
|
-
* @param {*} pageCode
|
|
6
|
-
* @param {*} key
|
|
7
|
-
*/
|
|
8
|
-
export declare function deleteStoreInfo(pageCode: any, pageVersion: any, key: any): void;
|
|
9
|
-
/**
|
|
10
|
-
* 获得页面缓存的key
|
|
11
|
-
* @param pageCode
|
|
12
|
-
* @param pageVersion
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function getPageStoreKey(pageCode: any, pageVersion: any): string;
|