super-page-runtime 2.0.8 → 2.0.10
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/index.d.ts +3 -3
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +4 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +196 -18
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +76 -6
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +2 -2
- package/dist/lib/_virtual/AttributeMap.js +4 -0
- package/dist/lib/_virtual/Delta.js +4 -0
- package/dist/lib/_virtual/Op.js +4 -0
- package/dist/lib/_virtual/OpIterator.js +4 -0
- package/dist/lib/_virtual/__vite-browser-external.js +3 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +8 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/_virtual/dayjs.min.js +4 -0
- package/dist/lib/_virtual/index.js +4 -0
- package/dist/lib/_virtual/index2.js +4 -0
- package/dist/lib/_virtual/index3.js +4 -0
- package/dist/lib/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/components/runtime/index.d.ts +4 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +128 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +258 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +28 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +16 -0
- package/dist/lib/components/runtime/utils/common-util.js +94 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +10 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +48 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +526 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +61 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +1625 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +4 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +389 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +59 -0
- package/dist/lib/components/runtime/utils/global-refs.js +65 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +223 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +106 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +622 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +38 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +200 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.js +525 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store-util.js +17 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +432 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +61 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +126 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +52 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +56 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +642 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +453 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +88 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +164 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +142 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +73 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +91 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +496 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +8 -0
- package/dist/lib/index.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,223 @@
|
|
|
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
|
+
initChartServiceConfigs?: Array<any>;
|
|
58
|
+
rules?: object;
|
|
59
|
+
tableUuids?: Array<any>;
|
|
60
|
+
tableNames?: Array<any>;
|
|
61
|
+
formNoRuleCode?: string;
|
|
62
|
+
judgeHeavyList?: Array<any>;
|
|
63
|
+
conversionCodes?: Array<any>;
|
|
64
|
+
pageType?: string;
|
|
65
|
+
beanName?: string;
|
|
66
|
+
importBeanName?: string;
|
|
67
|
+
name: string;
|
|
68
|
+
notIdInitializationList?: Array<any>;
|
|
69
|
+
subTablePageInfo?: object;
|
|
70
|
+
customValidatorUuids?: Array<string>;
|
|
71
|
+
customEvents?: Array<any>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* 运行时页面对象
|
|
75
|
+
*/
|
|
76
|
+
export interface PageContext extends Component {
|
|
77
|
+
isTest?: boolean;
|
|
78
|
+
systemCode?: string;
|
|
79
|
+
systemVersion?: number;
|
|
80
|
+
code: string;
|
|
81
|
+
version: number;
|
|
82
|
+
dimensions: string;
|
|
83
|
+
tableSysCode?: string;
|
|
84
|
+
tableSysVersion?: number;
|
|
85
|
+
tableName?: string;
|
|
86
|
+
tableAlias?: string;
|
|
87
|
+
workflowCode?: string;
|
|
88
|
+
workflowVersion?: number;
|
|
89
|
+
rules?: object;
|
|
90
|
+
tableUuids?: Array<any>;
|
|
91
|
+
tableNames?: Array<any>;
|
|
92
|
+
formNoRuleCode?: string;
|
|
93
|
+
judgeHeavyList?: Array<any>;
|
|
94
|
+
conversionCodes?: Array<any>;
|
|
95
|
+
pageType?: string;
|
|
96
|
+
beanName?: string;
|
|
97
|
+
importBeanName?: string;
|
|
98
|
+
name: string;
|
|
99
|
+
notIdInitializationList?: Array<any>;
|
|
100
|
+
subTablePageInfo?: object;
|
|
101
|
+
customValidatorUuids?: Array<string>;
|
|
102
|
+
entity: {
|
|
103
|
+
data: {
|
|
104
|
+
[otherProp: string]: any;
|
|
105
|
+
};
|
|
106
|
+
task: {
|
|
107
|
+
[otherProp: string]: any;
|
|
108
|
+
};
|
|
109
|
+
request: {
|
|
110
|
+
[otherProp: string]: any;
|
|
111
|
+
};
|
|
112
|
+
page: {
|
|
113
|
+
[otherProp: string]: any;
|
|
114
|
+
};
|
|
115
|
+
context: {
|
|
116
|
+
[otherProp: string]: any;
|
|
117
|
+
};
|
|
118
|
+
system: {
|
|
119
|
+
[otherProp: string]: any;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
superGridItems?: object;
|
|
123
|
+
emailTemplateCode?: string;
|
|
124
|
+
fieldPermissions?: Array<any>;
|
|
125
|
+
fieldPermissionMap?: Map<string, any>;
|
|
126
|
+
actionPermissions?: Array<any>;
|
|
127
|
+
actionPermissionMap?: Map<string, any>;
|
|
128
|
+
workflowButtonComponent?: object;
|
|
129
|
+
completeTaskParam?: object;
|
|
130
|
+
customRules?: object;
|
|
131
|
+
initFormNo?: string;
|
|
132
|
+
definitionId?: number;
|
|
133
|
+
dataTypeMaps?: Object;
|
|
134
|
+
editData?: object;
|
|
135
|
+
searchFormData?: Array<object>;
|
|
136
|
+
selectOptions?: object;
|
|
137
|
+
chartDataSourceMap?: any;
|
|
138
|
+
[otherProp: string]: any;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* 事件对象
|
|
142
|
+
*/
|
|
143
|
+
export interface ComponentEvent extends Object {
|
|
144
|
+
name: string;
|
|
145
|
+
label: string;
|
|
146
|
+
params?: ComponentEventParam[];
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* 事件对象
|
|
150
|
+
*/
|
|
151
|
+
export interface ComponentEventParam extends Object {
|
|
152
|
+
name: string;
|
|
153
|
+
label: string;
|
|
154
|
+
type: string;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* 方法对象
|
|
158
|
+
*/
|
|
159
|
+
export interface ComponentMethod extends Object {
|
|
160
|
+
name: string;
|
|
161
|
+
label: string;
|
|
162
|
+
inParams: ComponentEventParam[];
|
|
163
|
+
outParams: ComponentEventParam[];
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* 方法参数描述
|
|
167
|
+
*/
|
|
168
|
+
export interface ComponentMethodParam extends Object {
|
|
169
|
+
name: string;
|
|
170
|
+
type: string;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* 自定义变量对象
|
|
174
|
+
*/
|
|
175
|
+
export interface CustomVariable extends Object {
|
|
176
|
+
name: string;
|
|
177
|
+
alias: string;
|
|
178
|
+
defaultValue?: string;
|
|
179
|
+
isArrayElement?: boolean;
|
|
180
|
+
items?: CustomVariable[];
|
|
181
|
+
[otherProp: string]: any;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* 自定义变量对象
|
|
185
|
+
*/
|
|
186
|
+
export interface ModelField extends Object {
|
|
187
|
+
name: string;
|
|
188
|
+
alias: string;
|
|
189
|
+
dataType: string;
|
|
190
|
+
displayOrder: number;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* 前端逻辑对象
|
|
194
|
+
*/
|
|
195
|
+
export interface LogicDesign extends Object {
|
|
196
|
+
code: string;
|
|
197
|
+
name: string;
|
|
198
|
+
props?: any;
|
|
199
|
+
variables?: CustomVariable[];
|
|
200
|
+
flow: {
|
|
201
|
+
nodes?: LogicNode[];
|
|
202
|
+
};
|
|
203
|
+
triggerSource?: LogicTriggerSource[];
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* 前端逻辑节点对象
|
|
207
|
+
*/
|
|
208
|
+
export interface LogicNode extends Object {
|
|
209
|
+
id: string;
|
|
210
|
+
type: string;
|
|
211
|
+
x: number;
|
|
212
|
+
y: number;
|
|
213
|
+
properties?: any;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* 前端逻辑节点触发来源
|
|
217
|
+
*/
|
|
218
|
+
export interface LogicTriggerSource extends Object {
|
|
219
|
+
assemblyIndex: number;
|
|
220
|
+
assemblyType: string;
|
|
221
|
+
triggerType: string;
|
|
222
|
+
triggerName: string;
|
|
223
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
var PageDimensions = /* @__PURE__ */ ((PageDimensions2) => {
|
|
4
|
+
PageDimensions2["PC"] = "pc";
|
|
5
|
+
PageDimensions2["IPAD"] = "ipad";
|
|
6
|
+
PageDimensions2["PHONE"] = "phone";
|
|
7
|
+
return PageDimensions2;
|
|
8
|
+
})(PageDimensions || {});
|
|
9
|
+
exports.PageDimensions = PageDimensions;
|
|
@@ -0,0 +1,106 @@
|
|
|
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 updateChartDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, appendParams: any): Promise<any>;
|
|
23
|
+
/**
|
|
24
|
+
* 初始化数据源
|
|
25
|
+
* @param pageContext 页面上下文
|
|
26
|
+
* @param dataSourceConfs 初始化数据配置参数
|
|
27
|
+
*/
|
|
28
|
+
export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
|
|
29
|
+
/**
|
|
30
|
+
* 从页面缓存中获取查询到的选项组数据
|
|
31
|
+
* @param pageContext
|
|
32
|
+
* @param configure
|
|
33
|
+
*/
|
|
34
|
+
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
35
|
+
/**
|
|
36
|
+
* 从页面缓存中获取查询到的统计图数据
|
|
37
|
+
* @param pageContext
|
|
38
|
+
* @param configure
|
|
39
|
+
*/
|
|
40
|
+
export declare function getChartDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
41
|
+
/**
|
|
42
|
+
* 初始化数据源
|
|
43
|
+
* @param pageContext 页面上下文
|
|
44
|
+
* @param dataSourceConfs 初始化数据配置参数
|
|
45
|
+
* @param query 查询条件
|
|
46
|
+
*/
|
|
47
|
+
export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
|
|
48
|
+
/**
|
|
49
|
+
* 根据查询条件远程查询
|
|
50
|
+
* @param component
|
|
51
|
+
* @param query 模糊查询内容
|
|
52
|
+
*/
|
|
53
|
+
export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
|
|
54
|
+
/**
|
|
55
|
+
* 根据查询条件远程查询
|
|
56
|
+
* @param component
|
|
57
|
+
* @param query 模糊查询内容
|
|
58
|
+
*/
|
|
59
|
+
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[]): void;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param entity
|
|
63
|
+
* @param fields
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
export declare function getVariableValue(entity: any, fields: string[]): any;
|
|
67
|
+
/**
|
|
68
|
+
* 设置参数值
|
|
69
|
+
* @param entity
|
|
70
|
+
* @param fields
|
|
71
|
+
* @param newValue 新的值
|
|
72
|
+
*/
|
|
73
|
+
export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
|
|
74
|
+
/**
|
|
75
|
+
* 格式化变量值
|
|
76
|
+
* @param pageContext
|
|
77
|
+
* @param variable
|
|
78
|
+
*/
|
|
79
|
+
export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
|
|
80
|
+
/**
|
|
81
|
+
* 根据类型格式化对象
|
|
82
|
+
* @param value
|
|
83
|
+
* @param formatInfo
|
|
84
|
+
* @returns
|
|
85
|
+
*/
|
|
86
|
+
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
87
|
+
/**
|
|
88
|
+
* 从对象中获取值
|
|
89
|
+
* @param valueSource 源对象
|
|
90
|
+
* @param paramName 变量值
|
|
91
|
+
* @param paramType 类型
|
|
92
|
+
*/
|
|
93
|
+
export declare function getValueFromSource(valueSource: any, paramName: string, paramType: any): any;
|
|
94
|
+
/**
|
|
95
|
+
* 打开链接
|
|
96
|
+
* @param component
|
|
97
|
+
* @param pageContext
|
|
98
|
+
*/
|
|
99
|
+
export declare function openLink(component: Component, pageContext: PageContext): void;
|
|
100
|
+
/**
|
|
101
|
+
* 计算组件是否显示
|
|
102
|
+
* @param pageContext 页面对象
|
|
103
|
+
* @param configure 组件配置参数
|
|
104
|
+
* @param showConditions 显示条件
|
|
105
|
+
*/
|
|
106
|
+
export declare function caculateShowCondition(pageContext: PageContext, configure: Component, showConditions: Array<any>): any;
|