super-page-runtime 1.0.14 → 1.0.16

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 (543) hide show
  1. package/.eslintrc.cjs +26 -0
  2. package/.prettierrc.json +8 -0
  3. package/{src → components}/index.ts +3 -3
  4. package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
  5. package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
  6. package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
  7. package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
  8. package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
  9. package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
  10. package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
  11. package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
  12. package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
  13. package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
  14. package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
  15. package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
  16. package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
  17. package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
  18. package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
  19. package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
  20. package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
  21. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
  22. package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
  23. package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
  24. package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
  25. package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
  26. package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
  27. package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
  28. package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
  29. package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
  30. package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
  31. package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
  32. package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
  33. package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
  34. package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
  35. package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
  36. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
  37. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
  38. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
  39. package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
  40. package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
  41. package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
  42. package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
  43. package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
  44. package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
  45. package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
  46. package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
  47. package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
  48. package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
  49. package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
  50. package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
  51. package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
  52. package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
  53. package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
  54. package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
  55. package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
  56. package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
  57. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
  58. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
  59. package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
  60. package/{src/components → components}/runtime/views/super-page.vue +13 -8
  61. package/cypress/e2e/example.cy.ts +8 -0
  62. package/cypress/e2e/tsconfig.json +10 -0
  63. package/cypress/fixtures/example.json +5 -0
  64. package/cypress/support/commands.ts +39 -0
  65. package/cypress/support/e2e.ts +20 -0
  66. package/cypress.config.ts +8 -0
  67. package/env.d.ts +1 -0
  68. package/index.html +13 -0
  69. package/lib/components/index.d.ts +5 -0
  70. package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  71. package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
  72. package/{dist/lib → lib}/index.js +3 -3
  73. package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  74. package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  75. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  76. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
  77. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  78. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  79. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  80. package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
  81. package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
  82. package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
  83. package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
  84. package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
  85. package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
  86. package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
  87. package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
  88. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
  89. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  90. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
  91. package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  92. package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  93. package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
  94. package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  95. package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  96. package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  97. package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  98. package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
  99. package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  100. package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  101. package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
  102. package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  103. package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  104. package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  105. package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  106. package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
  107. package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  108. package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
  109. package/lib/src/utils/charts/chart-util.js +15 -0
  110. package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
  111. package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
  112. package/lib/wf-editor/wf-editor.css +4 -0
  113. package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
  114. package/package-ws.json +70 -0
  115. package/package.json +3 -7
  116. package/src/utils/charts/chart-util.ts +41 -0
  117. package/src/utils/container-style-util.ts +237 -0
  118. package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
  119. package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
  120. package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
  121. package/tsconfig copy.json +17 -0
  122. package/tsconfig.app copy.json +14 -0
  123. package/tsconfig.app.json +14 -0
  124. package/tsconfig.json +17 -0
  125. package/tsconfig.node copy.json +19 -0
  126. package/tsconfig.node.json +19 -0
  127. package/tsconfig.vitest copy.json +11 -0
  128. package/tsconfig.vitest.json +11 -0
  129. package/vite.config copy.ts +109 -0
  130. package/vite.config.ts +86 -0
  131. package/vitest.config.ts +14 -0
  132. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
  133. package/dist/es/assets/chart-themes/theme1.js +0 -8
  134. package/dist/es/assets/chart-themes/theme2.js +0 -8
  135. package/dist/es/assets/chart-themes/theme3.js +0 -8
  136. package/dist/es/components/runtime/index.js +0 -4
  137. package/dist/es/components/runtime/utils/api/api-util.js +0 -128
  138. package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
  139. package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
  140. package/dist/es/components/runtime/utils/common-util.js +0 -81
  141. package/dist/es/components/runtime/utils/events/event-util.js +0 -525
  142. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
  143. package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
  144. package/dist/es/components/runtime/utils/global-refs.js +0 -65
  145. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
  146. package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
  147. package/dist/es/components/runtime/utils/page-init-util.js +0 -200
  148. package/dist/es/components/runtime/utils/store-util.js +0 -17
  149. package/dist/es/components/runtime/utils/store.js +0 -4
  150. package/dist/es/components/runtime/utils/table-utils.js +0 -23
  151. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  152. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
  153. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
  154. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
  155. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  156. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
  157. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
  158. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
  159. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
  160. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
  161. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
  162. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
  163. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
  164. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
  165. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
  166. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
  167. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
  168. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  169. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
  170. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  171. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
  172. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  173. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
  174. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
  175. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  176. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
  177. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  178. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
  179. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  180. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
  181. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  182. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
  183. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  184. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
  185. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
  186. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
  187. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
  188. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
  189. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
  190. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  191. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  192. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  193. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  194. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  195. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
  196. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  197. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  198. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
  199. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  200. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
  201. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  202. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
  203. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  204. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
  205. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  206. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
  207. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  208. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
  209. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  210. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
  211. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
  212. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
  213. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  214. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
  215. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
  216. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
  217. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  218. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
  219. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
  220. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
  221. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  222. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
  223. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  224. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
  225. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  226. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
  227. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  228. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
  229. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  230. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
  231. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  232. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
  233. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
  234. package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
  235. package/dist/es/components/runtime/views/super-page.vue.js +0 -481
  236. package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
  237. package/dist/es/components/super-page-dialog/index.js +0 -4
  238. package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
  239. package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
  240. package/dist/es/components/wf-editor/index.js +0 -4
  241. package/dist/es/components/wf-editor/wf-editor.css +0 -4
  242. package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
  243. package/dist/es/index.d.ts +0 -5
  244. package/dist/es/index.js +0 -8
  245. package/dist/lib/components/runtime/index.d.ts +0 -3
  246. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  247. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
  248. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
  249. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  250. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  251. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  252. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  253. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
  254. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
  255. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  256. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  257. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  258. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  259. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  260. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  261. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  262. package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
  263. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
  264. package/dist/lib/components/wf-editor/index.d.ts +0 -3
  265. package/dist/lib/components/wf-editor/wf-editor.css +0 -4
  266. package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  267. package/dist/lib/favicon.ico +0 -0
  268. package/dist/lib/index.d.ts +0 -5
  269. package/src/components/runtime/utils/charts/chart-util.ts +0 -37
  270. package/src/components/runtime/utils/container-style-util.ts +0 -223
  271. package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
  272. package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
  273. package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
  274. package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
  275. package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
  276. package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
  277. package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
  278. package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
  279. package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
  280. package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
  281. package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
  282. package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
  283. package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
  284. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
  285. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
  286. package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
  287. package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
  288. package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
  289. package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
  290. package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
  291. package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
  292. package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
  293. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
  294. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
  295. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
  296. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
  297. package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
  298. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
  299. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
  300. package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
  301. package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
  302. package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
  303. package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
  304. package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
  305. package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
  306. package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
  307. package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
  308. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
  309. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
  310. /package/{src/App.vue → App.vue} +0 -0
  311. /package/{src/components → components}/runtime/index.ts +0 -0
  312. /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
  313. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
  314. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
  315. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
  316. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
  317. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
  318. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
  319. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
  320. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
  321. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
  322. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
  323. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
  324. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
  325. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
  326. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
  327. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
  328. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
  329. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
  330. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
  331. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
  332. /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
  333. /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
  334. /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
  335. /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
  336. /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
  337. /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
  338. /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
  339. /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
  340. /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
  341. /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
  342. /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
  343. /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
  344. /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
  345. /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
  346. /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
  347. /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
  348. /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
  349. /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
  350. /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
  351. /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
  352. /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
  353. /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
  354. /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
  355. /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
  356. /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
  357. /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
  358. /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
  359. /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
  360. /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
  361. /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
  362. /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
  363. /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
  364. /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
  365. /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
  366. /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
  367. /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
  368. /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
  369. /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
  370. /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
  371. /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
  372. /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
  373. /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
  374. /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
  375. /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
  376. /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
  377. /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
  378. /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
  379. /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
  380. /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
  381. /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
  382. /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
  383. /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
  384. /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
  385. /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
  386. /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
  387. /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
  388. /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
  389. /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
  390. /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
  391. /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
  392. /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
  393. /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
  394. /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
  395. /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
  396. /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
  397. /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
  398. /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
  399. /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
  400. /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
  401. /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
  402. /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
  403. /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
  404. /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
  405. /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
  406. /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
  407. /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
  408. /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
  409. /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
  410. /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
  411. /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
  412. /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
  413. /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
  414. /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
  415. /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
  416. /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
  417. /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
  418. /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
  419. /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
  420. /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
  421. /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
  422. /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
  423. /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
  424. /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
  425. /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
  426. /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
  427. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
  428. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
  429. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
  430. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
  431. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
  432. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
  433. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
  434. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
  435. /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
  436. /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
  437. /package/{src/components → components}/super-page-dialog/index.ts +0 -0
  438. /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
  439. /package/{src/components → components}/wf-editor/index.ts +0 -0
  440. /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
  441. /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
  442. /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
  443. /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
  444. /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
  445. /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
  446. /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
  447. /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
  448. /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
  449. /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
  450. /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
  451. /package/{dist/es → lib}/favicon.ico +0 -0
  452. /package/{dist/lib/components → lib}/runtime/index.js +0 -0
  453. /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
  454. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
  455. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  456. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  457. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  458. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  459. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  460. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  461. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  462. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  463. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  464. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  465. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  466. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  467. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  468. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
  469. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  470. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  471. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
  472. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  473. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
  474. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  475. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  476. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  477. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  478. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  479. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
  480. /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
  481. /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
  482. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  483. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  484. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  485. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  486. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  487. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  488. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  489. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
  490. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
  491. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  492. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  493. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  494. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  495. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
  496. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  497. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  498. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  499. /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
  500. /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  501. /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
  502. /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
  503. /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
  504. /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
  505. /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
  506. /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
  507. /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
  508. /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
  509. /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
  510. /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
  511. /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
  512. /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
  513. /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
  514. /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
  515. /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
  516. /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
  517. /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
  518. /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
  519. /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
  520. /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
  521. /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
  522. /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
  523. /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
  524. /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
  525. /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
  526. /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
  527. /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
  528. /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
  529. /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
  530. /package/{src/main.ts → main.ts} +0 -0
  531. /package/{dist → public}/favicon.ico +0 -0
  532. /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
  533. /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
  534. /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
  535. /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
  536. /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
  537. /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
  538. /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
  539. /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
  540. /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
  541. /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
  542. /package/src/{components/runtime/utils → utils}/store.ts +0 -0
  543. /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
@@ -1,81 +0,0 @@
1
- import { getSystemBackendUrl } from "agilebuilder-ui/src/utils/common-util";
2
- import { getLanguageWithLocale } from "agilebuilder-ui/src/utils/util";
3
- function isArrayFn(value) {
4
- if (typeof Array.isArray === "function") {
5
- return Array.isArray(value);
6
- } else {
7
- return Object.prototype.toString.call(value) === "[object Array]";
8
- }
9
- }
10
- function getBaseUrl(system) {
11
- let baseUrl = window["$vueApp"].config.globalProperties.baseURL;
12
- if (system) {
13
- baseUrl = getSystemBackendUrl(system.backendUrl);
14
- }
15
- return baseUrl;
16
- }
17
- function getRealRestApiPath(orgRestApiPath, system) {
18
- let path = orgRestApiPath;
19
- if (orgRestApiPath) {
20
- if (system && !isFullPath(orgRestApiPath)) {
21
- const baseUrl = getBaseUrl(system);
22
- if (system.standard === false) {
23
- path = baseUrl + "/" + system.code + orgRestApiPath;
24
- } else {
25
- path = baseUrl + orgRestApiPath;
26
- }
27
- }
28
- }
29
- return path;
30
- }
31
- function isFullPath(path) {
32
- return path.indexOf("http:") === 0 || path.indexOf("https:") === 0;
33
- }
34
- function packageTemplateFiles(templateFiles) {
35
- if (!templateFiles) {
36
- return templateFiles;
37
- }
38
- const currentLocale = getLanguageWithLocale();
39
- if (Array.isArray(templateFiles)) {
40
- let templateFilesResult = [];
41
- let fileCodes = [];
42
- const fileSeperate = "~-~-";
43
- templateFiles.forEach((template) => {
44
- let showName = template.templateShowPath;
45
- if (showName.indexOf(fileSeperate) > 0) {
46
- const fileCode = showName.substring(0, showName.indexOf(fileSeperate));
47
- const fileLanguage = showName.substring(
48
- showName.indexOf(fileSeperate) + fileSeperate.length,
49
- showName.lastIndexOf(fileSeperate)
50
- );
51
- const fileName = showName.substring(
52
- showName.lastIndexOf(fileSeperate) + fileSeperate.length
53
- );
54
- if (currentLocale === fileLanguage && fileCodes.indexOf(fileCode) < 0) {
55
- templateFilesResult.push({
56
- templateUUID: template.templateUUID,
57
- templateShowPath: fileName
58
- });
59
- fileCodes.push(fileCode);
60
- }
61
- } else {
62
- templateFilesResult.push(template);
63
- }
64
- });
65
- return templateFilesResult;
66
- }
67
- }
68
- function upperFirstCase(str) {
69
- return str.toLowerCase().replace(/( |^)[a-z]/g, (L) => L.toUpperCase());
70
- }
71
- function getListCode(pageCode, pageVersion, tableUuid) {
72
- return pageCode + ":V" + pageVersion + ":" + tableUuid;
73
- }
74
- export {
75
- getBaseUrl,
76
- getListCode,
77
- getRealRestApiPath,
78
- isArrayFn,
79
- packageTemplateFiles,
80
- upperFirstCase
81
- };
@@ -1,525 +0,0 @@
1
- import { isPromise } from "agilebuilder-ui/src/utils/common-util";
2
- import { judgeDataNumber, standardEvents, dealAfterOperate } from "./standard-event.js";
3
- import { validateDataModelFunc } from "./validator-util.js";
4
- import { getComponentRef } from "../global-refs.js";
5
- import { ElMessage } from "element-plus";
6
- import { analysisCondition } from "agilebuilder-ui/src/utils/util";
7
- import { getListCode } from "../common-util.js";
8
- function initPageEvents(pageDesign, pageContext) {
9
- if (pageDesign && pageDesign.customEvents) {
10
- pageContext.customEvents = transferToFunction(pageDesign.customEvents);
11
- }
12
- }
13
- function removeCustomFuncFromWindow(pageDesign) {
14
- if (pageDesign && pageDesign.customEvents) {
15
- const customEvents = pageDesign.customEvents;
16
- const customFuncs = customEvents.filter((item) => item.name === "customFunc" && item.jsContent);
17
- if (customFuncs && customFuncs.length > 0) {
18
- customFuncs.forEach((event) => {
19
- delete window["$page_" + event.eventName];
20
- });
21
- }
22
- }
23
- }
24
- function handleEvent($event, pageContext, configure, eventType, otherParams) {
25
- return handleEventUtil($event, pageContext, configure, eventType, true, otherParams);
26
- }
27
- function getHandleEvent($event, pageContext, configure, eventType, otherParams) {
28
- return handleEventUtil($event, pageContext, configure, eventType, false, otherParams);
29
- }
30
- function handleEventUtil($event, pageContext, configure, eventType, isExecute, otherParams) {
31
- const pageCode = pageContext.code;
32
- const pageVersion = pageContext.version;
33
- const events = configure.events;
34
- const componentType = configure.name;
35
- let eventFun;
36
- if (eventType && eventType === "click" && componentType === "button-detail") {
37
- const tableUuid = configure.props.base.tableUuid ? configure.props.base.tableUuid : pageContext.tableUuids && pageContext.tableUuids.length > 0 ? pageContext.tableUuids[0] : null;
38
- if (tableUuid) {
39
- const gridRef = getComponentRef(pageContext, tableUuid);
40
- const selections = gridRef.getSelections();
41
- const selectionIds = gridRef.getSelectionIds();
42
- if (!otherParams) {
43
- otherParams = {};
44
- }
45
- otherParams["tableUuid"] = tableUuid;
46
- otherParams["listCode"] = getListCode(pageCode, pageVersion, tableUuid);
47
- const isListButton = isListPage(pageContext);
48
- if (isListButton) {
49
- otherParams["selections"] = selections;
50
- otherParams["ids"] = selectionIds;
51
- }
52
- const tableConfigure = gridRef.getTableConfigure();
53
- otherParams["tableConfigure"] = tableConfigure;
54
- }
55
- const eventParams = packageEventParams(pageContext, configure, $event, otherParams);
56
- buttonClickEvent(pageContext, configure, eventParams);
57
- } else {
58
- eventFun = getEventFuncByType(pageContext, events, eventType);
59
- if (isExecute) {
60
- const eventParams = packageEventParams(pageContext, configure, $event, otherParams);
61
- return callItemEvent(pageContext, configure, eventFun, eventParams);
62
- } else {
63
- return eventFun;
64
- }
65
- }
66
- }
67
- function packageEventParams(pageContext, configureObj, $event, otherParams) {
68
- const params = {};
69
- if (otherParams) {
70
- for (const key in otherParams) {
71
- params[key] = otherParams[key];
72
- }
73
- }
74
- if ($event !== void 0 && $event !== null) {
75
- params["_value"] = $event;
76
- }
77
- params["pageContext"] = pageContext;
78
- params["configureObj"] = configureObj;
79
- return params;
80
- }
81
- function buttonClickEvent(pageContext, configure, eventParams) {
82
- const judgeFlag = judgeDataNumber(configure, eventParams["ids"]);
83
- if (!judgeFlag) {
84
- return;
85
- }
86
- canExecuteButton(eventParams).then((result) => {
87
- if (result["canExecute"] === true) {
88
- const events = configure.events;
89
- const beforeValidateFormFunc = getEventFuncByType(pageContext, events, "beforeValidateForm");
90
- let beforeValidateFormResult;
91
- if (beforeValidateFormFunc) {
92
- beforeValidateFormResult = callItemEvent(
93
- pageContext,
94
- configure,
95
- beforeValidateFormFunc,
96
- eventParams
97
- );
98
- }
99
- if (beforeValidateFormResult === void 0) {
100
- beforeValidateFormResult = true;
101
- }
102
- if (!beforeValidateFormResult) {
103
- return;
104
- }
105
- if (isPromise(beforeValidateFormResult)) {
106
- beforeValidateFormResult.then((result2) => {
107
- if (result2 && result2 === true) {
108
- doValidateForm(pageContext, configure, eventParams);
109
- }
110
- });
111
- } else {
112
- doValidateForm(pageContext, configure, eventParams);
113
- }
114
- }
115
- });
116
- }
117
- function doValidateForm(pageContext, configure, eventParams) {
118
- const events = configure.events;
119
- let isEnableRequired;
120
- const clickEventFunObj = getClickEventFuncByType(pageContext, events, "click");
121
- if (clickEventFunObj) {
122
- const isStandardEvent = clickEventFunObj.isStandard;
123
- const event = clickEventFunObj.event;
124
- const isNotNeedValidate = isNotNeedValidateRequired(isStandardEvent, event);
125
- if (isNotNeedValidate) {
126
- isEnableRequired = false;
127
- }
128
- }
129
- validateDataModelFunc(pageContext, configure, isEnableRequired).then(() => {
130
- const beforeClickResult = doBeforeClickEvent(pageContext, configure, eventParams);
131
- if (!beforeClickResult) {
132
- return;
133
- }
134
- if (isPromise(beforeClickResult)) {
135
- beforeClickResult.then((result) => {
136
- if (result) {
137
- doClickEvent(pageContext, configure, clickEventFunObj, eventParams);
138
- }
139
- });
140
- } else {
141
- doClickEvent(pageContext, configure, clickEventFunObj, eventParams);
142
- }
143
- });
144
- }
145
- function doBeforeClickEvent(pageContext, configure, otherParams) {
146
- let result = true;
147
- const events = configure.events;
148
- const beforeClickFunc = getEventFuncByType(pageContext, events, "beforeClick");
149
- let beforeClickResult;
150
- if (beforeClickFunc) {
151
- beforeClickResult = callItemEvent(pageContext, configure, beforeClickFunc, null, otherParams);
152
- }
153
- if (beforeClickResult === void 0) {
154
- result = true;
155
- }
156
- return result;
157
- }
158
- function doClickJumpPageEvent(pageContext, configure, eventParams) {
159
- const myPageCode = pageContext.code;
160
- const eventPageInfo = myPageCode + "_";
161
- window["$eventBus"].$emit(eventPageInfo + "open-dialog", {
162
- pageContext,
163
- configureObj: configure,
164
- eventParams
165
- });
166
- }
167
- function isListPage(pageContext, configure) {
168
- return pageContext.pageType && pageContext.pageType === "list" ? true : false;
169
- }
170
- function doClickCustomEvent(pageContext, configure, clickEventFuncObj, eventParams) {
171
- const eventFunObj = clickEventFuncObj;
172
- if (eventFunObj) {
173
- const eventFun = eventFunObj["func"];
174
- const isStandardEvent = eventFunObj["isStandard"];
175
- const event = eventFunObj["event"];
176
- const clickResult = callItemEvent(pageContext, configure, eventFun, eventParams);
177
- const isListButton = isListPage(pageContext);
178
- if (isNotDoAfterClick(isStandardEvent, event)) {
179
- return;
180
- }
181
- if (isPromise(clickResult)) {
182
- clickResult.then((result) => {
183
- if (result) {
184
- doAfterClickFunc(
185
- pageContext,
186
- configure,
187
- eventParams,
188
- isStandardEvent,
189
- result,
190
- isListButton
191
- );
192
- }
193
- });
194
- } else {
195
- doAfterClickFunc(
196
- pageContext,
197
- configure,
198
- eventParams,
199
- isStandardEvent,
200
- clickResult,
201
- isListButton
202
- );
203
- }
204
- }
205
- }
206
- function isNotDoAfterClick(isStandardEvent, clickEvent) {
207
- return isStandardEvent && (clickEvent.eventName === "exportForm" || clickEvent.eventName === "exportPDF" || clickEvent.eventName === "import" || clickEvent.eventName === "assign" || clickEvent.eventName === "copyTask" || clickEvent.eventName === "addSigner" || clickEvent.eventName === "returnTaskTo" || clickEvent.eventName === "removeSigner");
208
- }
209
- function isNotNeedValidateRequired(isStandardEvent, clickEvent) {
210
- return isStandardEvent && (clickEvent.eventName === "downloadTemplate" || clickEvent.eventName === "back" || clickEvent.eventName === "exportForm" || clickEvent.eventName === "exportPDF" || clickEvent.eventName === "lineEditCreate");
211
- }
212
- function doAfterClickEvent(pageContext, configure, otherParams) {
213
- const events = configure.events;
214
- const afterClickFunc = getEventFuncByType(pageContext, events, "afterClick");
215
- if (afterClickFunc) {
216
- callItemEvent(pageContext, configure, afterClickFunc, null, otherParams);
217
- }
218
- }
219
- function doAfterClickFunc(pageContext, configure, eventParams, isStandardEvent, result, isListButton) {
220
- if (!isStandardEvent) {
221
- dealAfterOperate(
222
- pageContext,
223
- configure,
224
- result,
225
- "superPageRuntimeMessage.successfulOperation",
226
- isListButton
227
- );
228
- } else {
229
- pageContext.result = result;
230
- }
231
- const events = configure.events;
232
- const afterClickFunc = getEventFuncByType(pageContext, events, "afterClick");
233
- if (afterClickFunc) {
234
- callItemEvent(pageContext, configure, afterClickFunc, eventParams);
235
- }
236
- }
237
- function doClickEvent(pageContext, configure, clickEventFunObj, eventParams) {
238
- const linkPage = configure.props.linkPage;
239
- if (linkPage && linkPage.jumpPageUrl) {
240
- doClickJumpPageEvent(pageContext, configure, eventParams);
241
- } else {
242
- doClickCustomEvent(pageContext, configure, clickEventFunObj, eventParams);
243
- }
244
- }
245
- function getEventByEventName(pageContext, eventName) {
246
- const eventsObj = pageContext.customEvents;
247
- if (eventsObj && eventsObj[eventName]) {
248
- return eventsObj[eventName];
249
- }
250
- }
251
- function getEventFuncByType(pageContext, events, eventType) {
252
- if (events && eventType) {
253
- const eventArr = events.filter((item) => item.name === eventType && item.eventName);
254
- if (eventArr && eventArr.length > 0) {
255
- const event = eventArr[0];
256
- if (event.isStandard) {
257
- return standardEvents[event.eventName];
258
- } else {
259
- return getEventByEventName(pageContext, event.eventName);
260
- }
261
- }
262
- }
263
- }
264
- function getClickEventFuncByType(pageContext, events, eventType) {
265
- if (events && eventType) {
266
- const eventArr = events.filter((item) => item.name === eventType && item.eventName);
267
- if (eventArr && eventArr.length > 0) {
268
- const event = eventArr[0];
269
- if (event.isStandard) {
270
- return { func: standardEvents[event.eventName], isStandard: true, event };
271
- } else {
272
- return {
273
- func: getEventByEventName(pageContext, event.eventName),
274
- isStandard: false,
275
- event
276
- };
277
- }
278
- }
279
- }
280
- }
281
- function callItemEvent(pageContext, configureObj, eventFun, eventParams, otherParams) {
282
- if (!eventFun) {
283
- return;
284
- }
285
- if (!eventParams) {
286
- eventParams = {
287
- pageContext,
288
- configureObj
289
- // 组件配置信息,包含如:跳转页面配置、判重配置等
290
- };
291
- }
292
- if (otherParams && eventParams) {
293
- for (const key in otherParams) {
294
- eventParams[key] = otherParams[key];
295
- }
296
- }
297
- return eventFun(eventParams);
298
- }
299
- function transferToFunction(customEvents) {
300
- const eventsObj = {};
301
- customEvents.forEach((event) => {
302
- if (event.jsContent) {
303
- eventsObj[event.eventName] = new Function("params", event.jsContent);
304
- if (event.name === "customFunc") {
305
- if (event.funcParam) {
306
- window["$page_" + event.eventName] = new Function(event.funcParam, event.jsContent);
307
- } else {
308
- window["$page_" + event.eventName] = new Function(event.jsContent);
309
- }
310
- }
311
- }
312
- });
313
- return eventsObj;
314
- }
315
- function canExecuteButton(params) {
316
- const pageContext = params.pageContext;
317
- const configureObj = params.configureObj;
318
- const isListButton = isListPage(pageContext);
319
- let entities = [];
320
- if (isListButton) {
321
- if (pageContext.editData) {
322
- entities.push(pageContext.editData);
323
- } else {
324
- entities = params.selections;
325
- }
326
- } else {
327
- const dataModel = pageContext.entity.data;
328
- entities.push(dataModel);
329
- }
330
- const executableDataSetting = configureObj.props.base.condition;
331
- return new Promise((resolve, reject) => {
332
- if (executableDataSetting === void 0 || executableDataSetting === "" || entities === void 0 || entities.length === 0) {
333
- resolve({
334
- canExecute: true
335
- });
336
- } else {
337
- const contextParameter = pageContext.entity.context;
338
- const additionalParamMap = pageContext.entity.request;
339
- const isSql = true;
340
- const tableName = pageContext.tableName;
341
- let isCanExecute = true;
342
- let failMessage;
343
- let failEntity;
344
- for (let i = 0; i < entities.length; i++) {
345
- const entity = entities[i];
346
- for (let n = 0; n < executableDataSetting.length; n++) {
347
- const conditionSetting = executableDataSetting[n];
348
- const message = conditionSetting.toolTips;
349
- const conditionList = conditionSetting.conditionList;
350
- const canExecute = analysisCondition(
351
- conditionList,
352
- entity,
353
- additionalParamMap,
354
- contextParameter,
355
- isSql,
356
- tableName,
357
- null
358
- );
359
- if (!canExecute) {
360
- isCanExecute = false;
361
- failMessage = message;
362
- failEntity = entity;
363
- break;
364
- }
365
- }
366
- }
367
- if (!isCanExecute) {
368
- if (failMessage) {
369
- ElMessage({
370
- showClose: true,
371
- type: "warning",
372
- message: failMessage
373
- });
374
- }
375
- resolve({
376
- canExecute: false,
377
- message: failMessage,
378
- failEntity
379
- });
380
- } else {
381
- resolve({
382
- canExecute: true
383
- });
384
- }
385
- }
386
- });
387
- }
388
- function setTableEvents(options, tableEvents, pageContext, configureObj) {
389
- if (tableEvents) {
390
- addTableEvent("loadBeforeSend", loadBeforeSend({ pageContext, configureObj }), options);
391
- addTableEvent("beforeRequest", beforeRequest({ pageContext, configureObj }), options);
392
- addTableEvent("gridDataLoaded", gridDataLoaded({ pageContext, configureObj }), options);
393
- addTableEvent("gridComplete", gridComplete({ pageContext, configureObj }), options);
394
- addTableEvent("resizeHeight", resizeTableHeight({ pageContext, configureObj }), options);
395
- if (!options["lineEditOptions"]) {
396
- options["lineEditOptions"] = {};
397
- }
398
- addTableEvent(
399
- "beforeInsertRow",
400
- gridBeforeInsertRow({ pageContext, configureObj }),
401
- options["lineEditOptions"]
402
- );
403
- addTableEvent(
404
- "afterInsertRow",
405
- gridAfterInsertRow({ pageContext, configureObj }),
406
- options["lineEditOptions"]
407
- );
408
- addTableEvent(
409
- "beforeDelete",
410
- gridBeforeRemoveRow({ pageContext, configureObj }),
411
- options["lineEditOptions"]
412
- );
413
- addTableEvent(
414
- "afterDelete",
415
- gridAfterRemoveRow({ pageContext, configureObj }),
416
- options["lineEditOptions"]
417
- );
418
- addTableEvent(
419
- "beforeEdit",
420
- gridBeforeEdit({ pageContext, configureObj }),
421
- options["lineEditOptions"]
422
- );
423
- addTableEvent(
424
- "beforeRestore",
425
- beforeRestore({ pageContext, configureObj }),
426
- options["lineEditOptions"]
427
- );
428
- addTableEvent(
429
- "beforeRestoreValidate",
430
- beforeRestoreValidate({ pageContext, configureObj }),
431
- options["lineEditOptions"]
432
- );
433
- }
434
- }
435
- function addTableEvent(gridEventType, eventFunc, options) {
436
- if (eventFunc) {
437
- options[gridEventType] = eventFunc;
438
- }
439
- }
440
- function loadBeforeSend(params) {
441
- return getHandleEvent(null, params.pageContext, params.configureObj, "beforeListLoad", params);
442
- }
443
- function beforeRequest(params) {
444
- return getHandleEvent(null, params.pageContext, params.configureObj, "beforeRequest", params);
445
- }
446
- function gridDataLoaded(params) {
447
- return getHandleEvent(null, params.pageContext, params.configureObj, "onListLoad", params);
448
- }
449
- function gridComplete(params) {
450
- return getHandleEvent(null, params.pageContext, params.configureObj, "afterListLoad", params);
451
- }
452
- function resizeTableHeight(params) {
453
- return getHandleEvent(null, params.pageContext, params.configureObj, "resizeTableHeight", params);
454
- }
455
- function beforeRestoreValidate(params) {
456
- return getHandleEvent(
457
- null,
458
- params.pageContext,
459
- params.configureObj,
460
- "beforeRestoreValidate",
461
- params
462
- );
463
- }
464
- function beforeRestore(params) {
465
- return getHandleEvent(null, params.pageContext, params.configureObj, "beforeRestore", params);
466
- }
467
- function gridBeforeEdit(params) {
468
- return getHandleEvent(null, params.pageContext, params.configureObj, "beforeEdit", params);
469
- }
470
- function gridBeforeInsertRow(params) {
471
- return getHandleEvent(null, params.pageContext, params.configureObj, "beforeAddRow", params);
472
- }
473
- function gridAfterInsertRow(params) {
474
- return getHandleEvent(null, params.pageContext, params.configureObj, "afterAddRow", params);
475
- }
476
- function gridBeforeRemoveRow(params) {
477
- return getHandleEvent(null, params.pageContext, params.configureObj, "beforeRemoveRow", params);
478
- }
479
- function gridAfterRemoveRow(params) {
480
- return getHandleEvent(null, params.pageContext, params.configureObj, "afterRemoveRow", params);
481
- }
482
- function gridSelectRecord(pageContext, configureObj, params) {
483
- return handleEvent(null, pageContext, configureObj, "select", params);
484
- }
485
- function gridSelectAllRecords(pageContext, configureObj, params) {
486
- return handleEvent(null, pageContext, configureObj, "select-all", params);
487
- }
488
- function gridSelectionChange(pageContext, configureObj, params) {
489
- return handleEvent(null, pageContext, configureObj, "selection-change", params);
490
- }
491
- function cellClick(pageContext, configureObj, params) {
492
- return handleEvent(null, pageContext, configureObj, "cell-click", params);
493
- }
494
- function cellDblClick(pageContext, configureObj, params) {
495
- return handleEvent(null, pageContext, configureObj, "cell-dblclick", params);
496
- }
497
- function rowClick(pageContext, configureObj, params) {
498
- return handleEvent(null, pageContext, configureObj, "row-click", params);
499
- }
500
- function rowDblClick(pageContext, configureObj, params) {
501
- return handleEvent(null, pageContext, configureObj, "row-dblclick", params);
502
- }
503
- function headerClick(pageContext, configureObj, params) {
504
- return handleEvent(null, pageContext, configureObj, "header-click", params);
505
- }
506
- export {
507
- canExecuteButton,
508
- cellClick,
509
- cellDblClick,
510
- doAfterClickEvent,
511
- doBeforeClickEvent,
512
- getClickEventFuncByType,
513
- getEventFuncByType,
514
- getHandleEvent,
515
- gridSelectAllRecords,
516
- gridSelectRecord,
517
- gridSelectionChange,
518
- handleEvent,
519
- headerClick,
520
- initPageEvents,
521
- removeCustomFuncFromWindow,
522
- rowClick,
523
- rowDblClick,
524
- setTableEvents
525
- };