super-page-runtime 0.0.2-tmp6 → 1.0.1

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