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.
Files changed (189) hide show
  1. package/dist/es/components/runtime/utils/api/api-util.js +16 -14
  2. package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
  3. package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
  4. package/dist/es/components/runtime/utils/common-util.d.ts +2 -2
  5. package/dist/es/components/runtime/utils/common-util.js +7 -11
  6. package/dist/es/components/runtime/utils/events/event-util.js +9 -14
  7. package/dist/es/components/runtime/utils/events/standard-event.d.ts +1 -0
  8. package/dist/es/components/runtime/utils/events/standard-event.js +124 -110
  9. package/dist/es/components/runtime/utils/events/validator-util.js +4 -3
  10. package/dist/es/components/runtime/utils/global-refs.js +12 -0
  11. package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
  12. package/dist/es/components/runtime/utils/page-helper-util.js +4 -4
  13. package/dist/es/components/runtime/utils/page-init-util.js +5 -3
  14. package/dist/es/components/runtime/utils/table-utils.js +4 -5
  15. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +17 -17
  16. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +17 -17
  17. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +1 -1
  18. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +1 -1
  19. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +5 -5
  20. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +12 -13
  21. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -1
  22. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +11 -11
  23. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +28 -28
  24. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +12 -12
  25. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +7 -5
  26. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +14 -14
  27. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +15 -15
  28. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +40 -37
  29. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +10 -10
  30. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +13 -13
  31. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +91 -39
  32. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +8 -8
  33. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +13 -13
  34. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +10 -10
  35. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +14 -14
  36. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
  37. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +5 -7
  38. package/dist/es/components/runtime/views/super-page.vue.js +2 -2
  39. package/package.json +3 -2
  40. package/dist/lib/_virtual/AttributeMap.js +0 -4
  41. package/dist/lib/_virtual/Delta.js +0 -4
  42. package/dist/lib/_virtual/Op.js +0 -4
  43. package/dist/lib/_virtual/OpIterator.js +0 -4
  44. package/dist/lib/_virtual/__vite-browser-external.js +0 -3
  45. package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
  46. package/dist/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  47. package/dist/lib/_virtual/dayjs.min.js +0 -4
  48. package/dist/lib/_virtual/index.js +0 -4
  49. package/dist/lib/_virtual/index2.js +0 -4
  50. package/dist/lib/_virtual/index3.js +0 -4
  51. package/dist/lib/assets/chart-themes/theme1.d.ts +0 -4
  52. package/dist/lib/assets/chart-themes/theme1.js +0 -7
  53. package/dist/lib/assets/chart-themes/theme2.d.ts +0 -4
  54. package/dist/lib/assets/chart-themes/theme2.js +0 -7
  55. package/dist/lib/assets/chart-themes/theme3.d.ts +0 -4
  56. package/dist/lib/assets/chart-themes/theme3.js +0 -7
  57. package/dist/lib/components/runtime/index.d.ts +0 -4
  58. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  59. package/dist/lib/components/runtime/utils/api/api-util.js +0 -128
  60. package/dist/lib/components/runtime/utils/assemblys-config.js +0 -258
  61. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -11
  62. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -28
  63. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -16
  64. package/dist/lib/components/runtime/utils/common-util.js +0 -94
  65. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  66. package/dist/lib/components/runtime/utils/eventBus.js +0 -10
  67. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  68. package/dist/lib/components/runtime/utils/events/event-util.js +0 -526
  69. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  70. package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1625
  71. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  72. package/dist/lib/components/runtime/utils/events/validator-util.js +0 -389
  73. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  74. package/dist/lib/components/runtime/utils/global-refs.js +0 -65
  75. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -223
  76. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +0 -9
  77. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -106
  78. package/dist/lib/components/runtime/utils/page-helper-util.js +0 -622
  79. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  80. package/dist/lib/components/runtime/utils/page-init-util.js +0 -200
  81. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  82. package/dist/lib/components/runtime/utils/page-permission-util.js +0 -525
  83. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  84. package/dist/lib/components/runtime/utils/store-util.js +0 -17
  85. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  86. package/dist/lib/components/runtime/utils/store.js +0 -3
  87. package/dist/lib/components/runtime/utils/table-utils.js +0 -24
  88. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  89. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  90. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  91. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  92. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  93. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  94. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  95. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -432
  96. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -43
  97. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
  98. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -61
  99. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
  100. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -126
  101. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
  102. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  103. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -52
  104. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  105. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -54
  106. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  107. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -54
  108. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  109. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -56
  110. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  111. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -147
  112. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  113. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  114. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
  115. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  116. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  117. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
  118. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  119. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  120. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
  121. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  122. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
  123. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  124. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
  125. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  126. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
  127. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  128. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
  129. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  130. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
  131. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  132. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
  133. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  134. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
  135. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
  136. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  137. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  138. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  139. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  140. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  141. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  142. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +0 -22
  143. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
  144. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  145. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
  146. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  147. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  148. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  149. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
  150. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  151. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  152. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  153. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  154. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  155. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  156. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  157. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  158. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  159. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -127
  160. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  161. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  162. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  163. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  164. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  165. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
  166. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  167. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -164
  168. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  169. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
  170. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  171. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  172. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  173. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  174. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  175. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  176. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  177. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +0 -142
  178. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
  179. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  180. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
  181. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -36
  182. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +0 -73
  183. package/dist/lib/components/runtime/views/super-page-dialog.vue2.js +0 -3
  184. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  185. package/dist/lib/components/runtime/views/super-page.vue.js +0 -496
  186. package/dist/lib/components/runtime/views/super-page.vue2.js +0 -3
  187. package/dist/lib/favicon.ico +0 -0
  188. package/dist/lib/index.d.ts +0 -8
  189. 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;