super-page-runtime 1.0.16 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (519) hide show
  1. package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
  2. package/{lib/src → dist/es}/assets/chart-themes/theme1.js +3 -2
  3. package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
  4. package/{lib/src → dist/es}/assets/chart-themes/theme2.js +3 -2
  5. package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
  6. package/{lib/src → dist/es}/assets/chart-themes/theme3.js +3 -2
  7. package/dist/es/components/runtime/index.d.ts +4 -0
  8. package/{lib/src → dist/es/components/runtime}/utils/api/api-util.js +15 -15
  9. package/dist/es/components/runtime/utils/assemblys-config.js +257 -0
  10. package/dist/es/components/runtime/utils/charts/chart-util.d.ts +11 -0
  11. package/dist/es/components/runtime/utils/charts/chart-util.js +28 -0
  12. package/{lib/src → dist/es/components/runtime}/utils/common-util.d.ts +5 -0
  13. package/{lib/src → dist/es/components/runtime}/utils/common-util.js +25 -12
  14. package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
  15. package/dist/es/components/runtime/utils/eventBus.js +11 -0
  16. package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +1 -1
  17. package/{lib/src → dist/es/components/runtime}/utils/events/event-util.js +41 -40
  18. package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.js +149 -148
  19. package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.js +23 -23
  20. package/{lib/src → dist/es/components/runtime}/utils/global-refs.js +8 -8
  21. package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +2 -0
  22. package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.js +3 -3
  23. package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.d.ts +19 -0
  24. package/{lib/src → dist/es/components/runtime}/utils/page-helper-util.js +135 -19
  25. package/{lib/src → dist/es/components/runtime}/utils/page-init-util.js +18 -18
  26. package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
  27. package/dist/es/components/runtime/utils/page-permission-util.js +525 -0
  28. package/{lib/src → dist/es/components/runtime}/utils/store-util.js +5 -5
  29. package/{lib/src → dist/es/components/runtime}/utils/store.js +3 -2
  30. package/{lib/src → dist/es/components/runtime}/utils/table-utils.js +10 -9
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +55 -0
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +4 -0
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +36 -0
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +111 -0
  37. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +4 -0
  38. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +249 -0
  39. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +62 -0
  40. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
  41. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +57 -0
  42. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
  43. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +4 -0
  44. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +50 -0
  45. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +4 -0
  46. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +51 -0
  47. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +4 -0
  48. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +51 -0
  49. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +4 -0
  50. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +52 -0
  51. package/{lib → dist/es/components}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +34 -27
  52. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
  53. package/{lib → dist/es/components}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +33 -32
  54. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
  55. package/{lib → dist/es/components}/runtime/views/assemblys/common/task-informition-dialog.vue.js +30 -29
  56. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
  57. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +4 -0
  58. package/{lib → dist/es/components}/runtime/views/assemblys/container/card/card-runtime.vue2.js +24 -23
  59. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
  60. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +75 -0
  61. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
  62. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +80 -0
  63. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
  64. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +44 -0
  65. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
  66. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +45 -0
  67. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
  68. package/{lib → dist/es/components}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +10 -8
  69. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +4 -0
  70. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +70 -0
  71. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +4 -0
  72. package/{lib → dist/es/components}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +17 -15
  73. package/{lib → dist/es/components}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +66 -63
  74. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
  75. package/{lib → dist/es/components}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +40 -38
  76. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
  77. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
  78. package/{lib → dist/es/components}/runtime/views/assemblys/data/table/table-runtime.vue2.js +17 -11
  79. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +23 -0
  80. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
  81. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
  82. package/{lib → dist/es/components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +36 -35
  83. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
  84. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +83 -0
  85. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
  86. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +64 -0
  87. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
  88. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +41 -0
  89. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
  90. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
  91. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
  92. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +64 -0
  93. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
  94. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +128 -0
  95. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
  96. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +128 -0
  97. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
  98. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +78 -0
  99. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +4 -0
  100. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +30 -0
  101. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
  102. package/{lib → dist/es/components}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +37 -36
  103. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
  104. package/{lib → dist/es/components}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +37 -48
  105. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
  106. package/{lib → dist/es/components}/runtime/views/assemblys/form/select/select-runtime.vue2.js +54 -53
  107. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
  108. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +64 -0
  109. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
  110. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +64 -0
  111. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
  112. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +66 -0
  113. package/{lib → dist/es}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  114. package/{lib → dist/es/components}/runtime/views/assemblys/object-render.vue.js +35 -34
  115. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
  116. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +4 -0
  117. package/{lib → dist/es/components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +17 -16
  118. package/{lib/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.js +19 -17
  119. package/dist/es/components/runtime/views/super-page-dialog.vue2.js +4 -0
  120. package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +1 -1
  121. package/{lib → dist/es/components}/runtime/views/super-page.vue.js +129 -112
  122. package/dist/es/components/runtime/views/super-page.vue2.js +4 -0
  123. package/dist/es/index.d.ts +8 -0
  124. package/dist/es/index.js +15 -0
  125. package/package.json +70 -67
  126. package/src/index.ts +15 -0
  127. package/.eslintrc.cjs +0 -26
  128. package/.prettierrc.json +0 -8
  129. package/App.vue +0 -9
  130. package/components/index.ts +0 -17
  131. package/components/runtime/index.ts +0 -2
  132. package/components/runtime/utils/assemblys-config.js +0 -294
  133. package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
  134. package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
  135. package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
  136. package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
  137. package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
  138. package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
  139. package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
  140. package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
  141. package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
  142. package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
  143. package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
  144. package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
  145. package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
  146. package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
  147. package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
  148. package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
  149. package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
  150. package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
  151. package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
  152. package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
  153. package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
  154. package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
  155. package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
  156. package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
  157. package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
  158. package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
  159. package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
  160. package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
  161. package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
  162. package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
  163. package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
  164. package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
  165. package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
  166. package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
  167. package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
  168. package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
  169. package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
  170. package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
  171. package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
  172. package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
  173. package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
  174. package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
  175. package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
  176. package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
  177. package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
  178. package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
  179. package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
  180. package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
  181. package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
  182. package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
  183. package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
  184. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
  185. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
  186. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
  187. package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
  188. package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
  189. package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
  190. package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
  191. package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
  192. package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
  193. package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
  194. package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
  195. package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
  196. package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
  197. package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
  198. package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
  199. package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
  200. package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
  201. package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
  202. package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
  203. package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
  204. package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
  205. package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
  206. package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
  207. package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
  208. package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
  209. package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
  210. package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
  211. package/components/runtime/views/assemblys/error-attr.vue +0 -15
  212. package/components/runtime/views/assemblys/error-render.vue +0 -17
  213. package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
  214. package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
  215. package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
  216. package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
  217. package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
  218. package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
  219. package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
  220. package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
  221. package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
  222. package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
  223. package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
  224. package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
  225. package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
  226. package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
  227. package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
  228. package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
  229. package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
  230. package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
  231. package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
  232. package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
  233. package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
  234. package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
  235. package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
  236. package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
  237. package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
  238. package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
  239. package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
  240. package/components/runtime/views/assemblys/form/common/title.vue +0 -20
  241. package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
  242. package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
  243. package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
  244. package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
  245. package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
  246. package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
  247. package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
  248. package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
  249. package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
  250. package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
  251. package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
  252. package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
  253. package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
  254. package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
  255. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
  256. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
  257. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
  258. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
  259. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
  260. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
  261. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
  262. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
  263. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
  264. package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
  265. package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
  266. package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
  267. package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
  268. package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
  269. package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
  270. package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
  271. package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
  272. package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
  273. package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
  274. package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
  275. package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
  276. package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
  277. package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
  278. package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
  279. package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
  280. package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
  281. package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
  282. package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
  283. package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
  284. package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
  285. package/components/runtime/views/assemblys/object-render.vue +0 -176
  286. package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
  287. package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
  288. package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
  289. package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
  290. package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
  291. package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
  292. package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
  293. package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
  294. package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
  295. package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
  296. package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
  297. package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
  298. package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
  299. package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
  300. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
  301. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
  302. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
  303. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
  304. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
  305. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
  306. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
  307. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
  308. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
  309. package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
  310. package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
  311. package/components/runtime/views/render/page-view.vue +0 -80
  312. package/components/runtime/views/super-page copy.vue +0 -61
  313. package/components/runtime/views/super-page.vue +0 -667
  314. package/components/super-page-dialog/index.ts +0 -2
  315. package/components/super-page-dialog/super-page-dialog.vue +0 -267
  316. package/components/wf-editor/index.ts +0 -2
  317. package/components/wf-editor/wf-editor.vue +0 -15
  318. package/cypress/e2e/example.cy.ts +0 -8
  319. package/cypress/e2e/tsconfig.json +0 -10
  320. package/cypress/fixtures/example.json +0 -5
  321. package/cypress/support/commands.ts +0 -39
  322. package/cypress/support/e2e.ts +0 -20
  323. package/cypress.config.ts +0 -8
  324. package/env.d.ts +0 -1
  325. package/index.html +0 -13
  326. package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
  327. package/lib/components/index.d.ts +0 -5
  328. package/lib/components/runtime/index.d.ts +0 -3
  329. package/lib/components/super-page-dialog/index.d.ts +0 -3
  330. package/lib/components/wf-editor/index.d.ts +0 -3
  331. package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  332. package/lib/index.js +0 -8
  333. package/lib/runtime/index.js +0 -3
  334. package/lib/runtime/utils/assemblys-config.js +0 -258
  335. package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
  336. package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
  337. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
  338. package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
  339. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
  340. package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
  341. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
  342. package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
  343. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
  344. package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
  345. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
  346. package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
  347. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
  348. package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
  349. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
  350. package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
  351. package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
  352. package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
  353. package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
  354. package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
  355. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
  356. package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
  357. package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
  358. package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
  359. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
  360. package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
  361. package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
  362. package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
  363. package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
  364. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
  365. package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
  366. package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
  367. package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
  368. package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
  369. package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
  370. package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
  371. package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
  372. package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
  373. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
  374. package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
  375. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
  376. package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
  377. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
  378. package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
  379. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
  380. package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
  381. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
  382. package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
  383. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
  384. package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
  385. package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
  386. package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
  387. package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
  388. package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
  389. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
  390. package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
  391. package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
  392. package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
  393. package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
  394. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
  395. package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
  396. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
  397. package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
  398. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
  399. package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
  400. package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
  401. package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
  402. package/lib/runtime/views/super-page.vue2.js +0 -3
  403. package/lib/src/utils/charts/chart-util.js +0 -15
  404. package/lib/super-page-dialog/index.js +0 -3
  405. package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
  406. package/lib/wf-editor/index.js +0 -3
  407. package/lib/wf-editor/wf-editor.css +0 -4
  408. package/lib/wf-editor/wf-editor.vue.js +0 -15
  409. package/main.ts +0 -11
  410. package/package-ws.json +0 -70
  411. package/public/favicon.ico +0 -0
  412. package/src/assets/base.css +0 -86
  413. package/src/assets/chart-themes/theme1.ts +0 -6
  414. package/src/assets/chart-themes/theme2.ts +0 -6
  415. package/src/assets/chart-themes/theme3.ts +0 -6
  416. package/src/assets/images/button/button-group.png +0 -0
  417. package/src/assets/images/button/button.png +0 -0
  418. package/src/assets/images/chart/chart-column.png +0 -0
  419. package/src/assets/images/chart/chart-gauge.png +0 -0
  420. package/src/assets/images/chart/chart-pie.png +0 -0
  421. package/src/assets/images/chart/chart-radar.png +0 -0
  422. package/src/assets/images/chart/chart-scatter.png +0 -0
  423. package/src/assets/images/container/container-card.png +0 -0
  424. package/src/assets/images/container/container-collapse.png +0 -0
  425. package/src/assets/images/container/container-container.png +0 -0
  426. package/src/assets/images/container/container-flex.png +0 -0
  427. package/src/assets/images/container/container-form.png +0 -0
  428. package/src/assets/images/container/container-iframe.png +0 -0
  429. package/src/assets/images/container/container-normal.png +0 -0
  430. package/src/assets/images/container/container-tabs.png +0 -0
  431. package/src/assets/images/container/container-tools.png +0 -0
  432. package/src/assets/images/data/data-process.png +0 -0
  433. package/src/assets/images/data/data-step.png +0 -0
  434. package/src/assets/images/data/data-table-column.png +0 -0
  435. package/src/assets/images/data/data-table.png +0 -0
  436. package/src/assets/images/data/data-timeline.png +0 -0
  437. package/src/assets/images/data/data-tree.png +0 -0
  438. package/src/assets/images/form/form-cascader.png +0 -0
  439. package/src/assets/images/form/form-check.png +0 -0
  440. package/src/assets/images/form/form-color.png +0 -0
  441. package/src/assets/images/form/form-count.png +0 -0
  442. package/src/assets/images/form/form-custom.png +0 -0
  443. package/src/assets/images/form/form-date.png +0 -0
  444. package/src/assets/images/form/form-dept.png +0 -0
  445. package/src/assets/images/form/form-divider.png +0 -0
  446. package/src/assets/images/form/form-file.png +0 -0
  447. package/src/assets/images/form/form-image-upload.png +0 -0
  448. package/src/assets/images/form/form-img.png +0 -0
  449. package/src/assets/images/form/form-input.png +0 -0
  450. package/src/assets/images/form/form-label.png +0 -0
  451. package/src/assets/images/form/form-link.png +0 -0
  452. package/src/assets/images/form/form-radio.png +0 -0
  453. package/src/assets/images/form/form-scan.png +0 -0
  454. package/src/assets/images/form/form-score.png +0 -0
  455. package/src/assets/images/form/form-select.png +0 -0
  456. package/src/assets/images/form/form-slider.png +0 -0
  457. package/src/assets/images/form/form-space.png +0 -0
  458. package/src/assets/images/form/form-switch.png +0 -0
  459. package/src/assets/images/form/form-text.png +0 -0
  460. package/src/assets/images/form/form-textarea.png +0 -0
  461. package/src/assets/images/form/form-transfer.png +0 -0
  462. package/src/assets/images/form/form-zoom.png +0 -0
  463. package/src/assets/images/group-button.png +0 -0
  464. package/src/assets/images/group-chart.png +0 -0
  465. package/src/assets/images/group-container.png +0 -0
  466. package/src/assets/images/group-data.png +0 -0
  467. package/src/assets/images/group-form.png +0 -0
  468. package/src/assets/images/group-workflow.png +0 -0
  469. package/src/assets/images/workflow/workflow-button.png +0 -0
  470. package/src/assets/images/workflow/workflow-history-texts.png +0 -0
  471. package/src/assets/images/workflow/workflow-history.png +0 -0
  472. package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
  473. package/src/assets/images/workflow/workflow-texthistory .png +0 -0
  474. package/src/assets/logo.svg +0 -1
  475. package/src/assets/main.css +0 -1
  476. package/src/i18n/langs/cn.js +0 -52
  477. package/src/i18n/langs/en.js +0 -52
  478. package/src/stores/counter.ts +0 -12
  479. package/src/utils/api/api-util.ts +0 -176
  480. package/src/utils/charts/chart-util.ts +0 -41
  481. package/src/utils/common-util.ts +0 -96
  482. package/src/utils/container-style-util.ts +0 -237
  483. package/src/utils/eventBus.ts +0 -14
  484. package/src/utils/events/event-util.ts +0 -790
  485. package/src/utils/events/jump-page-util.ts +0 -0
  486. package/src/utils/events/standard-event.ts +0 -2075
  487. package/src/utils/events/validator-util.ts +0 -474
  488. package/src/utils/global-refs.ts +0 -160
  489. package/src/utils/interfaces/page-design-types.ts +0 -259
  490. package/src/utils/page-helper-util.ts +0 -850
  491. package/src/utils/page-init-util.ts +0 -291
  492. package/src/utils/page-permission-util.ts +0 -521
  493. package/src/utils/store-util.ts +0 -41
  494. package/src/utils/store.ts +0 -3
  495. package/src/utils/table-utils.ts +0 -31
  496. package/tsconfig copy.json +0 -17
  497. package/tsconfig.app copy.json +0 -14
  498. package/tsconfig.app.json +0 -14
  499. package/tsconfig.json +0 -17
  500. package/tsconfig.node copy.json +0 -19
  501. package/tsconfig.node.json +0 -19
  502. package/tsconfig.vitest copy.json +0 -11
  503. package/tsconfig.vitest.json +0 -11
  504. package/vite.config copy.ts +0 -109
  505. package/vite.config.ts +0 -86
  506. package/vitest.config.ts +0 -14
  507. /package/{lib/src → dist/es/components/runtime}/utils/api/api-util.d.ts +0 -0
  508. /package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +0 -0
  509. /package/{lib/src → dist/es/components/runtime}/utils/events/validator-util.d.ts +0 -0
  510. /package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +0 -0
  511. /package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +0 -0
  512. /package/{lib/src → dist/es/components/runtime}/utils/store-util.d.ts +0 -0
  513. /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
  514. /package/{lib → dist/es}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
  515. /package/{lib → dist/es}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
  516. /package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
  517. /package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
  518. /package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +0 -0
  519. /package/{lib → dist/es}/favicon.ico +0 -0
@@ -1,287 +0,0 @@
1
- <template>
2
- <el-dialog v-model="dialogTableVisible" title="选择数据模型" width="800">
3
- <div style="background-color:rgba(88,147,239,0.06);padding:10px;">
4
- <el-select
5
- v-model="searchModel.systemCode"
6
- placeholder="当前应用"
7
- clearable
8
- @change="confirmSearch"
9
- style="width:120px">
10
- <el-option
11
- v-for="item in allSystems"
12
- :key="item.value"
13
- :label="item.label"
14
- :value="item.value"
15
- />
16
- </el-select>
17
- <el-select
18
- v-model="searchModel.tableType"
19
- placeholder="表和视图"
20
- clearable
21
- @change="confirmSearch"
22
- style="width:120px;margin-left:10px;">
23
- <el-option value="1" label="表"></el-option>
24
- <el-option value="2" label="视图"></el-option>
25
- </el-select>
26
- <el-input v-model="searchModel.searchValue" style="width:240px;margin-left:10px;" placeholder="请输入名称或别名" />
27
- <el-button type="primary" style="margin-left:10px;" :icon="Search" @click="confirmSearch">确定</el-button>
28
- <el-button style="margin-left:10px;" :icon="RefreshLeft" @click="resetSearch">重置</el-button>
29
- </div>
30
- <el-table :data="tableDatas" stripe
31
- :height="tableHeight"
32
- @sort-change="handleSortChange">
33
- <!-- 添加序号列 -->
34
- <el-table-column type="index" label="序" width="50">
35
- <!-- 自定义索引 (可选,如果需要从1开始计数) -->
36
- <template #default="scope">
37
- {{ scope.$index + 1 }}
38
- </template>
39
- </el-table-column>
40
- <el-table-column label="操作" width="80">
41
- <template #default="scope">
42
- <el-button type="primary" size="small" @click="confirmSelectTable(scope)">选择</el-button>
43
- </template>
44
- </el-table-column>
45
- <el-table-column property="dataView" label="类型" width="70">
46
- <template #default="scope">
47
- <el-text v-if="!scope.dataView" class="mx-1" type="primary">数据表</el-text>
48
- <el-text v-if="scope.dataView" class="mx-1" type="success">视图</el-text>
49
- </template>
50
- </el-table-column>
51
- <el-table-column property="name" label="名称" width="200" sortable="custom"/>
52
- <el-table-column property="alias" label="别名"/>
53
- </el-table>
54
- <el-pagination
55
- style="margin-top:10px;justify-content:center;"
56
- v-model:current-page="pagination.currentPage"
57
- v-model:page-size="pagination.pageSize"
58
- :page-sizes="[20, 30, 50, 100]"
59
- background
60
- layout="sizes,prev,pager,next,jumper,total"
61
- :total="pagination.total"
62
- @size-change="confirmSearch"
63
- @current-change="confirmSearch"
64
- />
65
- </el-dialog>
66
- </template>
67
- <script lang='ts' setup>
68
- import {reactive,ref} from 'vue';
69
- import {Search,RefreshLeft} from '@element-plus/icons';
70
- import http from 'agilebuilder-ui/src/utils/request';
71
- import { EnableStates } from '../../../utils/interfaces/page-design-types';
72
-
73
- interface MyProps{
74
- systemCode:string,
75
- systemVersion:number
76
- }
77
- const props = defineProps<MyProps>();
78
-
79
- //定义事件
80
- const emits = defineEmits(["selectTable"]);
81
- //表格高度
82
- const tableHeight = ref(300);
83
-
84
- //弹框是否打开的标识
85
- const dialogTableVisible = ref(false);
86
- //查询模型
87
- const searchModel:any = reactive({
88
- systemCode:'',
89
- tableType:null,
90
- searchValue:''
91
- });
92
-
93
- //重置
94
- function resetSearch(){
95
- searchModel.systemCode = '';
96
- searchModel.tableType = null;
97
- searchModel.searchValue = '';
98
-
99
- confirmSearch();
100
- }
101
- //分页对象
102
- const pagination = reactive({
103
- currentPage: 1,
104
- pageSize: 20,
105
- showTotal: true,
106
- total: 0
107
- });
108
- //所有数据表数据
109
- const tableDatas = ref([]);
110
-
111
- //可选下拉的应用系统
112
- const allSystems = ref([{
113
- value:'',
114
- version:1,
115
- label:''
116
- }]);
117
-
118
- /**
119
- * 确定选择
120
- * @param scopeData 行数据
121
- */
122
- function confirmSelectTable(scopeData:any){
123
- const tableInfo:any = {
124
- name:scopeData.row.name,
125
- alias:scopeData.row.alias
126
- };
127
- if(searchModel.systemCode&&searchModel.systemCode!=props.systemCode){
128
- let systemCode = searchModel.systemCode;
129
- let items = allSystems.value.filter((item)=>{
130
- return item.value==systemCode;
131
- });
132
- tableInfo.systemVersion = items.length>0?items[0].version:1;
133
- tableInfo.systemCode = systemCode;
134
- }
135
- //触发事件
136
- emits("selectTable",tableInfo);
137
- //隐藏
138
- dialogTableVisible.value = false;
139
- }
140
- let firstInited = false;
141
- /**
142
- * 打开对象框
143
- */
144
- function openDialog(){
145
- //计算高度
146
- let tempHeight = window.innerHeight-140-176;
147
- if(tempHeight>500){
148
- tempHeight = 500;
149
- }else if(tempHeight<100){
150
- tempHeight = 100;
151
- }
152
- tableHeight.value = tempHeight;
153
-
154
- dialogTableVisible.value = true;
155
- //查询所有业务系统
156
- if(!firstInited){
157
- firstInited = true;
158
- queryAllSystems();
159
- setTimeout(() => {
160
- //默认查询
161
- confirmSearch();
162
- },100);
163
- }
164
- }
165
-
166
- /**
167
- * 查询所有的应用系统
168
- */
169
- function queryAllSystems(){
170
- //查询所有的
171
- http.post('/component/super-charts/findAllSystem').then((res: any) => {
172
- const datas:any[] = res;
173
- const systemCodes:string[] = [];
174
- const tempMap:any = {};
175
- for(let item of datas){
176
- //是否删除
177
- if(item.deleted){
178
- continue;
179
- }
180
- //状态
181
- if(item.enabledState!=EnableStates.ENABLE){
182
- continue;
183
- }
184
- const hisData = tempMap[item.code];
185
- //高版本时
186
- if(hisData!=null&&item.publishVersion>hisData.publishVersion){
187
- tempMap[item.code] = item;
188
- }else if(hisData==null){
189
- tempMap[item.code] = item;
190
- systemCodes.push(item.code);
191
- }
192
- }
193
- //组装对象
194
- allSystems.value = [];
195
- for(let code of systemCodes){
196
- const item = tempMap[code];
197
- //当前应用时,显示当前的版本
198
- const publishVersion:number = code===props.systemCode?props.systemVersion:item.publishVersion;
199
- allSystems.value.push({
200
- value:code,
201
- label:item.name+"("+publishVersion+")",
202
- version:publishVersion
203
- });
204
- }
205
- });
206
- }
207
-
208
- /**
209
- * 排序
210
- */
211
- let sortColumnInfo:any = null;
212
- function handleSortChange({ column}){
213
- sortColumnInfo = column;
214
- //重新查询
215
- confirmSearch();
216
- }
217
- /**
218
- * 确定查询
219
- */
220
- function confirmSearch(){
221
- const param:any = {
222
- //code: 'MMS_MODULE_PAGE',
223
- pagination: { currentPage:pagination.currentPage, pageSize: pagination.pageSize, showTotal: true },
224
- searchForm: [],
225
- dynamicColumnInfo: [],
226
- sorts:[]
227
- }
228
- //添加排序字段
229
- if(sortColumnInfo!=null){
230
- param.sorts.push({
231
- prop:sortColumnInfo.property,
232
- order:sortColumnInfo.order=='ascending'?'asc':'desc'
233
- });
234
- }
235
- //过滤条件
236
- //运算符,值为cn.ambitionq.enumeration.Operator枚举类的属性值
237
- if(searchModel.searchValue){
238
- param.searchForm.push({
239
- propName:'name',
240
- propDbName:'name',
241
- operator:'like',
242
- dataType:'string',
243
- propValue:searchModel.searchValue,
244
- joinSign:'or'
245
- });
246
- param.searchForm.push({
247
- propName:'alias',
248
- propDbName:'alias',
249
- operator:'like',
250
- dataType:'string',
251
- propValue:searchModel.searchValue
252
- });
253
- }
254
- let systemCode = searchModel.systemCode;
255
- let publishVersion = -1;
256
- if(!systemCode){
257
- systemCode = props.systemCode;
258
- publishVersion = props.systemVersion;
259
- }else{
260
- let items = allSystems.value.filter((item)=>{
261
- return item.value==systemCode;
262
- });
263
- publishVersion = items.length>0?items[0].version:-1;
264
- }
265
- const tableType = searchModel.tableType?searchModel.tableType:0;
266
- ///mms/data-tables/list/{systemCode}/{type}/{publishVersion}
267
- const url = '/mms/data-tables/list/'+systemCode+"/"+tableType+"/"+publishVersion;
268
- console.log("searc",url)
269
- //
270
- http.post(url, param).then((res: any) => {
271
- tableDatas.value = res.data
272
- pagination.currentPage = res.page;//当前页码
273
- pagination.pageSize = res.size;//每页记录数
274
- pagination.total = res.total;//总记录数
275
- //res.totalPages;//总页数
276
- });
277
- }
278
-
279
- /**
280
- * 定义打开窗口的方法
281
- */
282
- defineExpose({
283
- openDialog
284
- });
285
- </script>
286
-
287
- ../../../utils/interfaces/page-runtime-types
@@ -1,46 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="背景"
4
- name="styleBackground"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="颜色" style="margin-top:4px;">
8
- <el-color-picker v-model="configure.style.backgroundColor" />
9
- </el-form-item>
10
- <el-form-item label="图片" style="margin-top:-10px;margin-bottom:-15px;">
11
- <el-upload
12
- class="avatar-uploader"
13
- action="https://run.mocky.io/v3/9d059bf9-4660-45f2-925d-ce80ad6c4d15"
14
- :show-file-list="false"
15
- :on-success="handleAvatarSuccess"
16
- :before-upload="beforeAvatarUpload">
17
- <img v-if="configure.style.backgroundImage" :src="configure.style.backgroundImage" class="avatar" />
18
- <el-icon v-else class="avatar-uploader-icon"><Plus /></el-icon>
19
- </el-upload>
20
- </el-form-item>
21
- </div>
22
- </el-collapse-item>
23
- </template>
24
- <script lang='ts' setup>
25
- import {} from 'vue';
26
- import { Plus } from '@element-plus/icons-vue'
27
- import type { UploadProps } from 'element-plus'
28
- const props = defineProps({
29
- configure:{
30
- type:Object,
31
- required:true
32
- }
33
- });
34
-
35
- function beforeAvatarUpload(){
36
-
37
- }
38
-
39
- //图片上传
40
- const handleAvatarSuccess: UploadProps['onSuccess'] = (
41
- response,
42
- uploadFile
43
- ) => {
44
- props.configure.style.backgroundImage = URL.createObjectURL(uploadFile.raw!)
45
- }
46
- </script>
@@ -1,37 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="边框"
4
- name="styleBorder"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="颜色" class="amb-design-attr-item" style="margin-top:4px;">
8
- <el-color-picker v-model="configure.style.borderColor" />
9
- </el-form-item>
10
- <el-form-item label="线宽" style="margin-top:-10px;">
11
- <el-input-number v-model="configure.style.borderWidth" :min="0" :max="40">
12
- </el-input-number>
13
- </el-form-item>
14
- <el-form-item label="线型" style="margin-top:-10px;">
15
- <el-radio-group v-model="configure.style.borderType">
16
- <el-radio-button value="solid">实线</el-radio-button>
17
- <el-radio-button value="dotted">点线</el-radio-button>
18
- <el-radio-button value="dashed">虚线</el-radio-button>
19
- </el-radio-group>
20
- </el-form-item>
21
- <el-form-item label="圆角" style="margin-top:-10px;margin-bottom:-15px;">
22
- <el-input-number v-model="configure.style.radius" :min="0" :max="40">
23
- </el-input-number>
24
- </el-form-item>
25
- </div>
26
- </el-collapse-item>
27
- </template>
28
- <script lang='ts' setup>
29
- import {} from 'vue';
30
- defineProps({
31
- configure:{
32
- type:Object,
33
- required:true
34
- }
35
- });
36
- </script>
37
-
@@ -1,35 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="自定义"
4
- name="styleCustom"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form label-position="top">
8
- <el-form-item label="&nbsp;&nbsp;class(多个分号;隔开)" style="margin-top:4px;">
9
- <el-input
10
- v-model="configure.style.customClass"
11
- placeholder=""
12
- >
13
- </el-input>
14
- </el-form-item>
15
- <el-form-item label="&nbsp;&nbsp;style" style="margin-top:-10px;margin-bottom:-15px;">
16
- <el-input
17
- v-model="configure.style.customStyle"
18
- :rows="5"
19
- type="textarea"
20
- placeholder=""
21
- />
22
- </el-form-item>
23
- </el-form>
24
- </div>
25
- </el-collapse-item>
26
- </template>
27
- <script lang='ts' setup>
28
- defineProps({
29
- configure:{
30
- type:Object,
31
- required:true
32
- }
33
- });
34
- </script>
35
-
@@ -1,53 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="标题"
4
- name="styleFontHead"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-row style="margin-top:4px;">
8
- <el-col :span="9">
9
- <el-form-item label="加粗">
10
- <el-switch v-model="configure.style.headerFontWeight"/>
11
- </el-form-item>
12
- </el-col>
13
- <el-col :span="12">
14
- <el-form-item label="倾斜">
15
- <el-switch v-model="configure.style.headerIncline"/>
16
- </el-form-item>
17
- </el-col>
18
- </el-row>
19
- <el-form-item
20
- label="字号" style="margin-top:-10px;">
21
- <el-select
22
- v-model="configure.style.headerFontSize"
23
- placeholder="默认"
24
- clearable>
25
- <el-option
26
- v-for="item in fontSizes"
27
- :label="item" :value="item"/>
28
- </el-select>
29
- </el-form-item>
30
- <el-form-item label="颜色" style="margin-top:-10px;">
31
- <el-color-picker v-model="configure.style.headerColor" />
32
- </el-form-item>
33
- <el-form-item label="左右对齐" style="margin-top:-10px;margin-bottom:-15px;">
34
- <el-radio-group v-model="configure.style.headerTextAlign">
35
- <el-radio-button value="left">左</el-radio-button>
36
- <el-radio-button value="center">中</el-radio-button>
37
- <el-radio-button value="right">右</el-radio-button>
38
- </el-radio-group>
39
- </el-form-item>
40
- </div>
41
- </el-collapse-item>
42
- </template>
43
- <script lang='ts' setup>
44
- defineProps({
45
- configure:{
46
- type:Object,
47
- required:true
48
- }
49
- });
50
- //字号
51
- const fontSizes = ["8px","10px","12px","14px","16px","18px","20px","24px","28px"];
52
- </script>
53
-
@@ -1,53 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="字体"
4
- name="styleFont"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-row style="margin-top:4px;">
8
- <el-col :span="9">
9
- <el-form-item label="加粗">
10
- <el-switch v-model="configure.style.fontWeight"/>
11
- </el-form-item>
12
- </el-col>
13
- <el-col :span="12">
14
- <el-form-item label="倾斜">
15
- <el-switch v-model="configure.style.incline"/>
16
- </el-form-item>
17
- </el-col>
18
- </el-row>
19
- <el-form-item
20
- label="字号" style="margin-top:-10px;">
21
- <el-select
22
- v-model="configure.style.fontSize"
23
- placeholder="默认"
24
- clearable>
25
- <el-option
26
- v-for="item in fontSizes"
27
- :label="item" :value="item"/>
28
- </el-select>
29
- </el-form-item>
30
- <el-form-item label="颜色" style="margin-top:-10px;">
31
- <el-color-picker v-model="configure.style.color" />
32
- </el-form-item>
33
- <el-form-item label="左右对齐" style="margin-top:-10px;margin-bottom:-15px;">
34
- <el-radio-group v-model="configure.style.textAlign">
35
- <el-radio-button value="left">左</el-radio-button>
36
- <el-radio-button value="center">中</el-radio-button>
37
- <el-radio-button value="right">右</el-radio-button>
38
- </el-radio-group>
39
- </el-form-item>
40
- </div>
41
- </el-collapse-item>
42
- </template>
43
- <script lang='ts' setup>
44
- defineProps({
45
- configure:{
46
- type:Object,
47
- required:true
48
- }
49
- });
50
- //字号
51
- const fontSizes = ["8px","10px","12px","14px","16px","18px","20px","24px","28px"];
52
- </script>
53
-
@@ -1,34 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="Margin"
4
- name="styleMargin"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="上边距" style="margin-top:4px;">
8
- <el-input-number v-model="configure.style.marginTop" :min="0" :max="40">
9
- </el-input-number>
10
- </el-form-item>
11
- <el-form-item label="右边距" style="margin-top:-10px;">
12
- <el-input-number v-model="configure.style.marginRight" :min="0" :max="40">
13
- </el-input-number>
14
- </el-form-item>
15
- <el-form-item label="下边距" style="margin-top:-10px;">
16
- <el-input-number v-model="configure.style.marginBottom" :min="0" :max="40">
17
- </el-input-number>
18
- </el-form-item>
19
- <el-form-item label="左边距" style="margin-top:-10px;margin-bottom:-15px;">
20
- <el-input-number v-model="configure.style.marginLeft" :min="0" :max="40">
21
- </el-input-number>
22
- </el-form-item>
23
- </div>
24
- </el-collapse-item>
25
- </template>
26
- <script lang='ts' setup>
27
- defineProps({
28
- configure:{
29
- type:Object,
30
- required:true
31
- }
32
- });
33
- </script>
34
-
@@ -1,34 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="Padding"
4
- name="stylePadding"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="上边距" style="margin-top:4px;">
8
- <el-input-number v-model="configure.style.paddingTop" :min="0" :max="100">
9
- </el-input-number>
10
- </el-form-item>
11
- <el-form-item label="右边距" style="margin-top:-10px;">
12
- <el-input-number v-model="configure.style.paddingRight" :min="0" :max="100">
13
- </el-input-number>
14
- </el-form-item>
15
- <el-form-item label="下边距" style="margin-top:-10px;">
16
- <el-input-number v-model="configure.style.paddingBottom" :min="0" :max="100">
17
- </el-input-number>
18
- </el-form-item>
19
- <el-form-item label="左边距" style="margin-top:-10px;margin-bottom:-15px;">
20
- <el-input-number v-model="configure.style.paddingLeft" :min="0" :max="100">
21
- </el-input-number>
22
- </el-form-item>
23
- </div>
24
- </el-collapse-item>
25
- </template>
26
- <script lang='ts' setup>
27
- defineProps({
28
- configure:{
29
- type:Object,
30
- required:true
31
- }
32
- });
33
- </script>
34
-
@@ -1,39 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="定位"
4
- name="stylePosition"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-radio-group v-model="configure.style.position" style="padding:0px 8px 0px 30px;margin-bottom:-15px;">
8
- <el-radio value="relative">relative</el-radio>
9
- <el-radio value="absolute">absolute</el-radio>
10
- <el-radio value="fixed">fixed</el-radio>
11
- <el-radio value="sticky">sticky</el-radio>
12
- </el-radio-group>
13
- <el-form-item v-if="configure.style.position&&configure.style.position!='relative'" label="X坐标" style="margin-top:20px;">
14
- <el-input v-model="configure.style.left">
15
- <template #suffix>
16
- px
17
- </template>
18
- </el-input>
19
- </el-form-item>
20
- <el-form-item v-if="configure.style.position&&configure.style.position!='relative'" label="Y坐标" style="margin-top:-10px;margin-bottom:-15px;">
21
- <el-input v-model="configure.style.top">
22
- <template #suffix>
23
- px
24
- </template>
25
- </el-input>
26
- </el-form-item>
27
- </div>
28
- </el-collapse-item>
29
- </template>
30
- <script lang='ts' setup>
31
- import {} from 'vue';
32
- defineProps({
33
- configure:{
34
- type:Object,
35
- required:true
36
- }
37
- });
38
- </script>
39
-
@@ -1,37 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="阴影"
4
- name="styleShadow"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item label="颜色" style="margin-top:4px;margin-bottom:-15px;">
8
- <el-color-picker v-model="configure.style.shadowColor" />
9
- </el-form-item>
10
- <el-form-item v-if="configure.style.shadowColor" label="上" style="margin-top:23px;">
11
- <el-input-number v-model="configure.style.shadowTop" :min="0" :max="40">
12
- </el-input-number>
13
- </el-form-item>
14
- <el-form-item v-if="configure.style.shadowColor" label="右" style="margin-top:-10px;">
15
- <el-input-number v-model="configure.style.shadowRight" :min="0" :max="40">
16
- </el-input-number>
17
- </el-form-item>
18
- <el-form-item v-if="configure.style.shadowColor" label="下" style="margin-top:-10px;">
19
- <el-input-number v-model="configure.style.shadowBottom" :min="0" :max="40">
20
- </el-input-number>
21
- </el-form-item>
22
- <el-form-item v-if="configure.style.shadowColor" label="左" style="margin-top:-10px;margin-bottom:-15px;">
23
- <el-input-number v-model="configure.style.shadowLeft" :min="0" :max="40">
24
- </el-input-number>
25
- </el-form-item>
26
- </div>
27
- </el-collapse-item>
28
- </template>
29
- <script lang='ts' setup>
30
- defineProps({
31
- configure:{
32
- type:Object,
33
- required:true
34
- }
35
- });
36
- </script>
37
-