super-page-runtime 1.0.2 → 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.
Files changed (49) hide show
  1. package/package.json +1 -1
  2. package/dist/es/components/runtime/index.d.ts +0 -3
  3. package/dist/es/components/runtime/utils/api/api-util.d.ts +0 -11
  4. package/dist/es/components/runtime/utils/common-util.d.ts +0 -11
  5. package/dist/es/components/runtime/utils/eventBus.d.ts +0 -7
  6. package/dist/es/components/runtime/utils/events/event-util.d.ts +0 -48
  7. package/dist/es/components/runtime/utils/events/standard-event.d.ts +0 -61
  8. package/dist/es/components/runtime/utils/events/validator-util.d.ts +0 -4
  9. package/dist/es/components/runtime/utils/global-refs.d.ts +0 -59
  10. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
  11. package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -87
  12. package/dist/es/components/runtime/utils/page-init-util.d.ts +0 -38
  13. package/dist/es/components/runtime/utils/store-util.d.ts +0 -15
  14. package/dist/es/components/runtime/utils/store.d.ts +0 -2
  15. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  16. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  17. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  18. package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  19. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  20. package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
  21. package/dist/es/components/super-page-dialog/index.d.ts +0 -3
  22. package/dist/es/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
  23. package/dist/es/components/wf-editor/index.d.ts +0 -3
  24. package/dist/es/components/wf-editor/wf-editor.vue.d.ts +0 -2
  25. package/dist/es/index.d.ts +0 -5
  26. package/dist/lib/components/runtime/index.d.ts +0 -3
  27. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  28. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
  29. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  30. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  31. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  32. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  33. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  34. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
  35. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
  36. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  37. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  38. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  39. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  40. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  41. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  42. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  43. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  44. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  45. package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
  46. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
  47. package/dist/lib/components/wf-editor/index.d.ts +0 -3
  48. package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  49. package/dist/lib/index.d.ts +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/lib/index.js",
@@ -1,3 +0,0 @@
1
- import { default as SuperPage } from './views/super-page.vue';
2
-
3
- export default SuperPage;
@@ -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,7 +0,0 @@
1
- interface eventBus {
2
- $on: any;
3
- $emit: any;
4
- $off: any;
5
- }
6
- declare const bus: eventBus;
7
- export default bus;
@@ -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;
@@ -1,2 +0,0 @@
1
- declare const store: Map<any, any>;
2
- export default store;
@@ -1,24 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- configure: {
3
- type: ObjectConstructor;
4
- required: true;
5
- };
6
- pageContext: {
7
- type: ObjectConstructor;
8
- };
9
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- close: (...args: any[]) => void;
11
- export: (...args: any[]) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
- configure: {
14
- type: ObjectConstructor;
15
- required: true;
16
- };
17
- pageContext: {
18
- type: ObjectConstructor;
19
- };
20
- }>> & {
21
- onClose?: (...args: any[]) => any;
22
- onExport?: (...args: any[]) => any;
23
- }, {}, {}>;
24
- export default _default;
@@ -1,35 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- taskId: {
3
- type: NumberConstructor;
4
- default: any;
5
- };
6
- activeTasks: {
7
- type: ArrayConstructor;
8
- default: any;
9
- };
10
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- close: (...args: any[]) => void;
12
- result: (...args: any[]) => void;
13
- open: (...args: any[]) => void;
14
- opend: (...args: any[]) => void;
15
- closed: (...args: any[]) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
- taskId: {
18
- type: NumberConstructor;
19
- default: any;
20
- };
21
- activeTasks: {
22
- type: ArrayConstructor;
23
- default: any;
24
- };
25
- }>> & {
26
- onClose?: (...args: any[]) => any;
27
- onResult?: (...args: any[]) => any;
28
- onOpen?: (...args: any[]) => any;
29
- onOpend?: (...args: any[]) => any;
30
- onClosed?: (...args: any[]) => any;
31
- }, {
32
- taskId: number;
33
- activeTasks: unknown[];
34
- }, {}>;
35
- export default _default;
@@ -1,26 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{
2
- taskInformitions: {
3
- type: ArrayConstructor;
4
- default: any;
5
- };
6
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
- close: (...args: any[]) => void;
8
- result: (...args: any[]) => void;
9
- open: (...args: any[]) => void;
10
- opend: (...args: any[]) => void;
11
- closed: (...args: any[]) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
- taskInformitions: {
14
- type: ArrayConstructor;
15
- default: any;
16
- };
17
- }>> & {
18
- onClose?: (...args: any[]) => any;
19
- onResult?: (...args: any[]) => any;
20
- onOpen?: (...args: any[]) => any;
21
- onOpend?: (...args: any[]) => any;
22
- onClosed?: (...args: any[]) => any;
23
- }, {
24
- taskInformitions: unknown[];
25
- }, {}>;
26
- export default _default;