super-page-runtime 2.0.19 → 2.0.22
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 +16 -14
- package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
- package/dist/es/components/runtime/utils/common-util.d.ts +2 -2
- package/dist/es/components/runtime/utils/common-util.js +7 -11
- package/dist/es/components/runtime/utils/events/event-util.js +9 -14
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +124 -110
- package/dist/es/components/runtime/utils/events/validator-util.js +4 -3
- package/dist/es/components/runtime/utils/global-refs.js +12 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +4 -4
- package/dist/es/components/runtime/utils/page-init-util.js +5 -3
- package/dist/es/components/runtime/utils/table-utils.js +4 -5
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +17 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +12 -13
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +11 -11
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -28
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +12 -12
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +15 -15
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +13 -13
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -39
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +13 -13
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +10 -10
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +14 -14
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +5 -7
- package/dist/es/components/runtime/views/super-page.vue.js +2 -2
- package/package.json +3 -2
- package/dist/lib/_virtual/AttributeMap.js +0 -4
- package/dist/lib/_virtual/Delta.js +0 -4
- package/dist/lib/_virtual/Op.js +0 -4
- package/dist/lib/_virtual/OpIterator.js +0 -4
- package/dist/lib/_virtual/__vite-browser-external.js +0 -3
- package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
- package/dist/lib/_virtual/dayjs.min.js +0 -4
- package/dist/lib/_virtual/index.js +0 -4
- package/dist/lib/_virtual/index2.js +0 -4
- package/dist/lib/_virtual/index3.js +0 -4
- package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
- package/dist/lib/assets/chart-themes/theme1.js +0 -7
- package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
- package/dist/lib/assets/chart-themes/theme2.js +0 -7
- package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
- package/dist/lib/assets/chart-themes/theme3.js +0 -7
- package/dist/lib/components/runtime/index.d.ts +0 -4
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/api/api-util.js +0 -128
- package/dist/lib/components/runtime/utils/assemblys-config.js +0 -258
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -28
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -16
- package/dist/lib/components/runtime/utils/common-util.js +0 -94
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/lib/components/runtime/utils/eventBus.js +0 -10
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/event-util.js +0 -526
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1625
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/events/validator-util.js +0 -389
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/global-refs.js +0 -65
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -223
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -106
- package/dist/lib/components/runtime/utils/page-helper-util.js +0 -622
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/page-init-util.js +0 -200
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store-util.js +0 -17
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/utils/store.js +0 -3
- package/dist/lib/components/runtime/utils/table-utils.js +0 -24
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -432
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -52
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -54
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -54
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -56
- 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/export-form-report-dialog.vue.js +0 -147
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -127
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -164
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -142
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -73
- package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/lib/components/runtime/views/super-page.vue.js +0 -496
- package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +0 -8
- package/dist/lib/index.js +0 -15
|
@@ -1,223 +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
|
-
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,106 +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 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;
|