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