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,642 +0,0 @@
1
- import { defineComponent, ref, onMounted, watch, onUnmounted, resolveComponent, openBlock, createElementBlock, createVNode, unref } from "vue";
2
- import "agilebuilder-ui";
3
- import { setTableEvents, getEventFuncByType, canExecuteButton, doAfterClickEvent, doBeforeClickEvent, getHandleEvent, gridSelectRecord, gridSelectAllRecords, gridSelectionChange, cellClick, cellDblClick, rowClick, rowDblClick, headerClick } from "../../../../utils/events/event-util.js";
4
- import { getListCode, getRealRestApiPath } from "../../../../utils/common-util.js";
5
- import { getSaveFormRequest, standardEvents } from "../../../../utils/events/standard-event.js";
6
- import { isPromise } from "agilebuilder-ui/src/utils/common-util";
7
- import { getDataTypeMap, popupToPage } from "../../../../utils/table-utils.js";
8
- const _sfc_main = /* @__PURE__ */ defineComponent({
9
- __name: "main-table-runtime",
10
- props: {
11
- pageContext: {},
12
- configure: {}
13
- },
14
- setup(__props, { expose: __expose }) {
15
- const props = __props;
16
- const pageContext = props.pageContext;
17
- const configure = props.configure;
18
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
19
- const runtimeStyle = runtimeInfo.style;
20
- const runtimeClass = runtimeInfo.class;
21
- const system = pageContext.entity.system;
22
- const tableName = pageContext.tableName;
23
- const baseURL = window["$vueApp"].config.globalProperties.baseURL;
24
- const operationButtonObj = ref(null);
25
- const eventName = ref(null);
26
- const listOptions = ref({});
27
- listOptions.value = getOptions();
28
- const gridRef = ref(null);
29
- const urlToListData = getUrlToListData(system);
30
- const listCode = getListCode(pageContext.code, pageContext.version, configure.uuid);
31
- const myPageCode = pageContext.code;
32
- const eventPageInfo = myPageCode + "_" + listCode;
33
- const selections = ref([]);
34
- const listToolbarFormData = pageContext.entity.page;
35
- const searchFormInfo = ref({ data: [] });
36
- const superGridItems = pageContext.superGridItems;
37
- const superGridSetting = superGridItems ? superGridItems[configure.uuid] : null;
38
- console.log("superGridSetting1111===", superGridItems, superGridSetting);
39
- onMounted(() => {
40
- window.addEventListener("message", recieveMessage);
41
- window["$eventBus"].$on(
42
- eventPageInfo + "-close-component-page-dialog",
43
- function({ jumpInfo, popEntity, popPageCode }) {
44
- gridRef.value.closePageDialog({
45
- entity: popEntity,
46
- pageCode: popPageCode,
47
- jumpInfo
48
- });
49
- }
50
- );
51
- window["$eventBus"].$on(eventPageInfo + "_close-dialog-get-entity", () => {
52
- window["$eventBus"].$emit(eventPageInfo + "_close-super-dialog");
53
- });
54
- });
55
- watch(
56
- () => props.pageContext.searchFormData,
57
- (searchFormData) => {
58
- searchFormInfo.value.data = searchFormData;
59
- }
60
- );
61
- watch(
62
- () => props.pageContext.entity.data,
63
- (searchFormData) => {
64
- searchGridData(props.pageContext.entity.data);
65
- }
66
- );
67
- watch(
68
- () => props.pageContext.entity.page,
69
- (searchFormData) => {
70
- searchGridData(props.pageContext.entity.page);
71
- }
72
- );
73
- onUnmounted(() => {
74
- window["$eventBus"].$off(eventPageInfo + "-close-component-page-dialog");
75
- window["$eventBus"].$off(eventPageInfo + "_close-dialog-get-entity");
76
- });
77
- function getUrlToListData(system2) {
78
- let urlToListData2;
79
- if (!pageContext.isTest) {
80
- urlToListData2 = baseURL + "/dsc/commons/list";
81
- if (urlToListData2) {
82
- urlToListData2 = getRealRestApiPath(urlToListData2, system2);
83
- }
84
- }
85
- return urlToListData2;
86
- }
87
- function getOptions() {
88
- const system2 = pageContext.entity.system;
89
- const permissionPrefix = system2.code + "." + pageContext.code;
90
- let initSearchForm = configure.props && configure.props.dataOrigin ? configure.props.dataOrigin.sqlFilterCondition : null;
91
- if (typeof initSearchForm === "undefined" || initSearchForm === null) {
92
- initSearchForm = [];
93
- }
94
- const options = {
95
- isSql: true,
96
- extraParam: {
97
- beanName: pageContext.beanName,
98
- functionCode: permissionPrefix + ".list",
99
- tableName,
100
- systemCode: system2.code
101
- // 系统编码传给列表数据后台请求
102
- },
103
- initSearchForm,
104
- lineEditOptions: {
105
- aftersaveIsCreateRow: false,
106
- autoSave: false,
107
- enter: enterSave,
108
- esc: escRestorRow
109
- },
110
- indexContinuous: configure.props && configure.props.otherSettings ? configure.props.otherSettings.serialNumberContinuous : false,
111
- initSearch: configure.props && configure.props.base.initializationQuery ? configure.props.base.initializationQuery : true,
112
- // 初始化时是否查询,默认是查询
113
- resizeHeight: resizeListHeight,
114
- pageCode: pageContext.code,
115
- pageVersion: pageContext.version,
116
- // pageHeight: pageHeight, // 页面的高度 //TODO: pageHeight如何获得,页面高度,计算列表高度应该会用
117
- additionalParamMap: pageContext.entity.request,
118
- // 将路由参数传给列表组件
119
- showOverflowTooltip: !!(configure.props && configure.props.otherSettings && (configure.props.otherSettings.isBreakLine === void 0 || configure.props.otherSettings.isBreakLine === false)),
120
- // 单元格内容是否换行显示
121
- isEnableEnterEvent: configure.props && configure.props.otherSettings && configure.props.otherSettings.isEnableEnterEvent,
122
- // 是否启用回车事件
123
- // 当前系统,表示是当前的自定义系统信息
124
- system: system2,
125
- isWithDataPermission: configure.props && configure.props.otherSettings && configure.props.otherSettings.isWithDataPermission ? configure.props.otherSettings.isWithDataPermission : false,
126
- pageDevMode: false,
127
- isWorkflowEntity: pageContext.workflowCode ? true : false,
128
- tableClass: runtimeClass,
129
- tableStyle: runtimeStyle,
130
- pageContext,
131
- configureObj: configure
132
- };
133
- setSortInfo(options);
134
- myGetDataTypeMap(options);
135
- setTreeSetting(options);
136
- setGridEvents(options);
137
- return options;
138
- }
139
- function setSortInfo(options) {
140
- if (configure.props && configure.props.dataOrigin && configure.props.dataOrigin.sortFields) {
141
- options.initSortInfo = [];
142
- this.colSetting.options.sortFields.forEach((item) => {
143
- const sortInfo = {
144
- order: item.sortOrder
145
- };
146
- sortInfo["prop"] = item.propDbName;
147
- options.initSortInfo.push(sortInfo);
148
- });
149
- }
150
- }
151
- function myGetDataTypeMap(options) {
152
- if (!system || !tableName) {
153
- return;
154
- }
155
- getDataTypeMap(system, tableName).then((result) => {
156
- pageContext["dataTypeMaps"][tableName] = result["dataTypeMap"];
157
- setOperationButtons(options);
158
- });
159
- }
160
- function setOperationButtons(options) {
161
- const showOperation = configure.props && configure.props.base ? configure.props.base.showOperation : false;
162
- const operationButtons = configure.btnList;
163
- if (showOperation && operationButtons) {
164
- const operationButtons2 = [];
165
- operationButtons2.forEach((buttonConfigure) => {
166
- const myButtonSet = {};
167
- const myButtonProps = Object.assign({}, buttonConfigure.props.base);
168
- myButtonProps.elementType = "el-button";
169
- if (buttonConfigure.isPermission === void 0 || buttonConfigure.isPermission + "" === "true") {
170
- if (buttonConfigure.functionCode) {
171
- myButtonProps.permission = buttonConfigure.functionCode;
172
- }
173
- }
174
- myButtonSet["props"] = myButtonProps;
175
- myButtonSet["onClick"] = getOperationButtonClickEvent(buttonConfigure);
176
- operationButtons2.push(myButtonSet);
177
- });
178
- if (!options.operations) {
179
- options.operations = {};
180
- }
181
- options.operations.operation = operationButtons2;
182
- }
183
- }
184
- function setTreeSetting(options) {
185
- const dataOrigin = configure.props ? configure.props.dataOrigin : {};
186
- if (dataOrigin.treeTable) {
187
- let parentPropDbName;
188
- const parentPropInfo = dataOrigin.rowKey;
189
- if (parentPropInfo && parentPropInfo.indexOf("~~") > 0) {
190
- parentPropDbName = parentPropInfo.substring(parentPropInfo.indexOf("~~") + 2);
191
- } else {
192
- parentPropDbName = parentPropInfo;
193
- }
194
- options.parentProp = parentPropDbName;
195
- if (options.parentProp) {
196
- const isLazy = dataOrigin.lazy;
197
- const defaultExpandAll = dataOrigin.defaultExpandAll;
198
- if (isLazy === void 0 || isLazy === null) {
199
- options.lazy = true;
200
- } else {
201
- options.lazy = isLazy;
202
- }
203
- if (defaultExpandAll === void 0 || defaultExpandAll === null) {
204
- options.defaultExpandAll = false;
205
- } else {
206
- options.defaultExpandAll = defaultExpandAll;
207
- }
208
- const listViewTreeTableSetting = {
209
- parentProp: parentPropDbName,
210
- lazy: options.lazy,
211
- defaultExpandAll: options.defaultExpandAll
212
- };
213
- options.extraParam.listViewTreeSetting = JSON.stringify(listViewTreeTableSetting);
214
- options.subRowUrl = baseURL + "/dsc/commons/list-subs";
215
- }
216
- }
217
- }
218
- function setGridEvents(options) {
219
- const tableEvents = configure.events;
220
- setTableEvents(options, tableEvents, pageContext, configure);
221
- const customEvents = pageContext.customEvents;
222
- if (customEvents) {
223
- options.eventCallBack = customEvents;
224
- const rowStyleEvent = getEventFuncByType(pageContext, tableEvents, "rowStyle");
225
- if (rowStyleEvent) {
226
- options.rowStyleRender = rowStyleEvent;
227
- }
228
- }
229
- }
230
- function enterSave(rowIndex, column, row, orgRow) {
231
- saveRow(null, null, row, column, rowIndex);
232
- }
233
- function saveRow(originalValue, formatValue, row, column, rowIndex) {
234
- const buttonConfigure = operationButtonObj.value[eventName.value];
235
- listOptions.value["lineEditOptions"]["beforeSave"] = beforeSaveRow;
236
- pageContext.editData = row;
237
- canExecuteButton({ pageContext, configureObj: buttonConfigure }).then((result) => {
238
- if (result["canExecute"] === true) {
239
- listOptions.value["lineEditOptions"]["saveRow"] = saveLineEditRow;
240
- gridRef.value.saveRow(rowIndex, listCode).then(() => {
241
- const otherParams = {
242
- originalValue,
243
- formatValue,
244
- row,
245
- column,
246
- rowIndex
247
- };
248
- doAfterClickEvent(pageContext, buttonConfigure, otherParams);
249
- });
250
- }
251
- }).finally(() => {
252
- pageContext.editData = null;
253
- });
254
- }
255
- function getOperationButtonClickEvent(buttonConfigure) {
256
- let onClick;
257
- eventName.value = buttonConfigure.eventName;
258
- operationButtonObj.value[eventName.value] = buttonConfigure;
259
- if (eventName.value === "lineEditSave") {
260
- onClick = saveRow;
261
- } else if (eventName.value === "restoreEdit") {
262
- onClick = restoreRow;
263
- } else if (eventName.value === "lineEditUpdate") {
264
- onClick = editRow;
265
- } else if (eventName.value === "lineEditDelete") {
266
- onClick = deleteRow;
267
- } else {
268
- onClick = customButtonClick;
269
- }
270
- if (!onClick) {
271
- onClick = function() {
272
- };
273
- }
274
- return onClick;
275
- }
276
- function beforeSaveRow(row, columns, dataTypeMap, dynamicColumnInfo, additionalParamMap, mainDefaultValueColumns) {
277
- const buttonConfigure = operationButtonObj.value[eventName.value];
278
- const otherParams = {
279
- dynamicColumnInfo,
280
- mainDefaultValueColumns,
281
- dataTypeMap,
282
- row,
283
- columns
284
- };
285
- return doBeforeClickEvent(pageContext, buttonConfigure, otherParams);
286
- }
287
- function saveLineEditRow(row, columns, dataTypeMap, dynamicColumnInfo, additionalParamMap, mainDefaultValueColumns) {
288
- const buttonConfigure = operationButtonObj.value[eventName.value];
289
- return new Promise((resolve, reject) => {
290
- getSaveFormRequest(
291
- pageContext,
292
- buttonConfigure,
293
- "/dsc/commons",
294
- false,
295
- mainDefaultValueColumns,
296
- dynamicColumnInfo
297
- ).then((commonEntity) => {
298
- if (commonEntity) {
299
- resolve(commonEntity.entity);
300
- } else {
301
- resolve({});
302
- }
303
- }).catch((error) => {
304
- reject(error);
305
- });
306
- });
307
- }
308
- function escRestorRow(rowIndex, column, row, orgRow) {
309
- restoreRow(null, null, row, column, rowIndex);
310
- }
311
- function restoreRow(originalValue, formatValue, row, column, rowIndex) {
312
- const buttonConfigure = operationButtonObj.value[eventName.value];
313
- const otherParams = {
314
- originalValue,
315
- formatValue,
316
- row,
317
- column,
318
- rowIndex
319
- };
320
- const beforeClickResult = doBeforeClickEvent(pageContext, buttonConfigure, otherParams);
321
- if (!beforeClickResult) {
322
- return;
323
- }
324
- if (isPromise(beforeClickResult)) {
325
- beforeClickResult.then((result) => {
326
- if (result) {
327
- gridRef.value.restoreRow(rowIndex, listCode);
328
- }
329
- });
330
- } else {
331
- gridRef.value.restoreRow(rowIndex, listCode);
332
- }
333
- const afterOtherParams = {
334
- originalValue,
335
- formatValue,
336
- row,
337
- column,
338
- rowIndex
339
- };
340
- doAfterClickEvent(pageContext, configure, afterOtherParams);
341
- }
342
- function editRow(originalValue, formatValue, row, column, rowIndex) {
343
- const buttonConfigure = operationButtonObj.value[eventName.value];
344
- const otherParams = {
345
- originalValue,
346
- formatValue,
347
- row,
348
- column,
349
- rowIndex
350
- };
351
- const beforeClickResult = doBeforeClickEvent(pageContext, buttonConfigure, otherParams);
352
- if (!beforeClickResult) {
353
- return;
354
- }
355
- if (isPromise(beforeClickResult)) {
356
- beforeClickResult.then((result) => {
357
- if (result) {
358
- editRowReal(originalValue, formatValue, row, column, rowIndex, buttonConfigure);
359
- }
360
- });
361
- } else {
362
- editRowReal(originalValue, formatValue, row, column, rowIndex, buttonConfigure);
363
- }
364
- }
365
- function editRowReal(originalValue, formatValue, row, column, rowIndex, buttonConfigure) {
366
- pageContext.editData = row;
367
- canExecuteButton({ pageContext, configureObj: buttonConfigure }).then((result) => {
368
- if (result["canExecute"] === true) {
369
- gridRef.value.editRow(rowIndex, listCode);
370
- const afterOtherParams = {
371
- originalValue,
372
- formatValue,
373
- row,
374
- column,
375
- rowIndex
376
- };
377
- doAfterClickEvent(pageContext, configure, afterOtherParams);
378
- }
379
- }).finally(() => {
380
- pageContext.editData = null;
381
- });
382
- }
383
- function deleteRow(originalValue, formatValue, row, column, rowIndex) {
384
- const buttonConfigure = operationButtonObj.value[eventName.value];
385
- const otherParams = {
386
- originalValue,
387
- formatValue,
388
- row,
389
- column,
390
- rowIndex
391
- };
392
- const beforeClickResult = doBeforeClickEvent(pageContext, buttonConfigure, otherParams);
393
- if (!beforeClickResult) {
394
- return;
395
- }
396
- if (isPromise(beforeClickResult)) {
397
- beforeClickResult.then((result) => {
398
- if (result) {
399
- deleteRowReal(originalValue, formatValue, row, column, rowIndex, buttonConfigure);
400
- }
401
- });
402
- } else {
403
- deleteRowReal(originalValue, formatValue, row, column, rowIndex, buttonConfigure);
404
- }
405
- }
406
- function deleteRowReal(originalValue, formatValue, row, column, rowIndex, buttonConfigure) {
407
- if (row.id || row.ID) {
408
- pageContext.editData = row;
409
- canExecuteButton({ pageContext, configureObj: buttonConfigure }).then((result) => {
410
- if (result["canExecute"] === true) {
411
- const ids = [];
412
- if (row.id) {
413
- ids.push(row.id);
414
- } else {
415
- ids.push(row.ID);
416
- }
417
- standardEvents.delete({
418
- pageContext,
419
- configureObj: buttonConfigure,
420
- ids,
421
- tableUuid: listCode
422
- });
423
- }
424
- }).finally(() => {
425
- pageContext.editData = null;
426
- });
427
- } else {
428
- restoreRow(originalValue, formatValue, row, column, rowIndex);
429
- const afterOtherParams = {
430
- originalValue,
431
- formatValue,
432
- row,
433
- column,
434
- rowIndex
435
- };
436
- doAfterClickEvent(pageContext, configure, afterOtherParams);
437
- }
438
- }
439
- function searchGridData(data) {
440
- if (!pageContext["dataTypeMaps"] || !pageContext["dataTypeMaps"][tableName]) {
441
- return;
442
- }
443
- const dataTypeObj = pageContext["dataTypeMaps"][tableName];
444
- let toolbarFieldParam = [];
445
- if (data) {
446
- for (var key in data) {
447
- const value = data[key];
448
- if (value !== null && value !== void 0 && value !== "") {
449
- if (value instanceof Array) {
450
- if (value.length > 0) {
451
- const multipleFieldParam = [];
452
- for (var i = 0; i < value.length; i++) {
453
- const fieldParam = {};
454
- if (i === 0) {
455
- fieldParam["leftBracket"] = "((";
456
- } else {
457
- fieldParam["leftBracket"] = "(";
458
- }
459
- fieldParam["propName"] = key;
460
- fieldParam["propDbName"] = key;
461
- fieldParam["dataType"] = dataTypeObj[key] ? dataTypeObj[key] : "TEXT";
462
- fieldParam["operator"] = "EQ";
463
- fieldParam["propValue"] = value[i];
464
- if (i === value.length - 1) {
465
- fieldParam["rightBracket"] = "))";
466
- fieldParam["joinSign"] = "and";
467
- } else {
468
- fieldParam["rightBracket"] = ")";
469
- fieldParam["joinSign"] = "or";
470
- }
471
- multipleFieldParam.push(fieldParam);
472
- }
473
- toolbarFieldParam = toolbarFieldParam.concat(multipleFieldParam);
474
- }
475
- } else {
476
- const fieldParam = {};
477
- fieldParam["leftBracket"] = "(";
478
- fieldParam["propName"] = key;
479
- fieldParam["propDbName"] = key;
480
- fieldParam["dataType"] = dataTypeObj[key] ? dataTypeObj[key] : "TEXT";
481
- fieldParam["operator"] = "EQ";
482
- fieldParam["propValue"] = value;
483
- fieldParam["rightBracket"] = ")";
484
- fieldParam["joinSign"] = "and";
485
- toolbarFieldParam.push(fieldParam);
486
- }
487
- }
488
- }
489
- }
490
- gridRef.value.toolbarRefresh(null, null, toolbarFieldParam);
491
- }
492
- function resizeListHeight(params) {
493
- }
494
- function customButtonClick(originalValue, formatValue, row, column, rowIndex, button) {
495
- const otherParams = {
496
- originalValue,
497
- formatValue,
498
- row,
499
- column,
500
- rowIndex,
501
- button
502
- };
503
- const buttonConfigure = operationButtonObj.value[eventName.value];
504
- getHandleEvent(null, pageContext, buttonConfigure, "click", otherParams);
505
- }
506
- function recieveMessage(event) {
507
- if (event.data === "close_open_win") {
508
- gridRef.value.refresh();
509
- }
510
- }
511
- function select(selection, row) {
512
- selections.value = selection;
513
- const params = {
514
- selection,
515
- row
516
- };
517
- gridSelectRecord(pageContext, configure, params);
518
- }
519
- function selectAll(selection) {
520
- selections.value = selection;
521
- const params = {
522
- selection
523
- };
524
- gridSelectAllRecords(pageContext, configure, params);
525
- }
526
- function selectionChange(newSelection) {
527
- const params = {
528
- newSelection
529
- };
530
- gridSelectionChange(pageContext, configure, params);
531
- }
532
- function cellClickEvent(row, column, cell, event) {
533
- const params = {
534
- row,
535
- column,
536
- cell,
537
- event
538
- };
539
- cellClick(pageContext, configure, params);
540
- }
541
- function cellDblClickEvent(row, column, cell, event) {
542
- const params = {
543
- row,
544
- column,
545
- cell,
546
- event
547
- };
548
- cellDblClick(pageContext, configure, params);
549
- }
550
- function rowClickEvent(row, column, event) {
551
- const params = {
552
- row,
553
- column,
554
- event
555
- };
556
- rowClick(pageContext, configure, params);
557
- }
558
- function rowDblClickEvent(row, column, event) {
559
- const params = {
560
- row,
561
- column,
562
- event
563
- };
564
- rowDblClick(pageContext, configure, params);
565
- }
566
- function headerClickEvent(column, event) {
567
- const params = {
568
- column,
569
- event
570
- };
571
- headerClick(pageContext, configure, params);
572
- }
573
- function validatorSunTableListData() {
574
- return gridRef.value.validatorSunTableListData();
575
- }
576
- function clearSelections() {
577
- selections.value = [];
578
- }
579
- function refresh() {
580
- return gridRef.value.refresh();
581
- }
582
- function createRow() {
583
- return gridRef.value.createRow(listCode);
584
- }
585
- function getSelections() {
586
- return selections.value;
587
- }
588
- function getSelectionIds() {
589
- const dataIds = [];
590
- if (selections.value !== null) {
591
- selections.value.forEach((item) => {
592
- dataIds.push(item.id ? item.id : item.ID ? item.ID : null);
593
- });
594
- }
595
- return dataIds;
596
- }
597
- function getTableConfigure() {
598
- return configure;
599
- }
600
- function isDeleteChange(value) {
601
- gridRef.value.isDeleteChange(value);
602
- }
603
- __expose({
604
- refresh,
605
- createRow,
606
- clearSelections,
607
- getSelections,
608
- getSelectionIds,
609
- getTableConfigure,
610
- isDeleteChange,
611
- validatorSunTableListData
612
- });
613
- return (_ctx, _cache) => {
614
- const _component_super_grid = resolveComponent("super-grid");
615
- return openBlock(), createElementBlock("div", null, [
616
- createVNode(_component_super_grid, {
617
- ref_key: "gridRef",
618
- ref: gridRef,
619
- url: unref(urlToListData),
620
- options: listOptions.value,
621
- code: unref(superGridSetting) ? null : unref(listCode),
622
- settings: unref(superGridSetting),
623
- "search-form-info": searchFormInfo.value,
624
- "list-toolbar-form-data": unref(listToolbarFormData),
625
- onSelect: select,
626
- onSelectAll: selectAll,
627
- onSelectionChange: selectionChange,
628
- onCellClick: cellClickEvent,
629
- onCellDblclick: cellDblClickEvent,
630
- onRowClick: rowClickEvent,
631
- onRowDblclick: rowDblClickEvent,
632
- onHeaderClick: headerClickEvent,
633
- onRefresh: clearSelections,
634
- onNewOpenGridDialog: unref(popupToPage)
635
- }, null, 8, ["url", "options", "code", "settings", "search-form-info", "list-toolbar-form-data", "onNewOpenGridDialog"])
636
- ]);
637
- };
638
- }
639
- });
640
- export {
641
- _sfc_main as default
642
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./main-table-runtime.vue.js";
2
- export {
3
- _sfc_main as default
4
- };