super-page-runtime 1.0.14 → 1.0.15

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 (356) hide show
  1. package/dist/es/components/index.d.ts +5 -0
  2. package/dist/es/components/index.js +8 -0
  3. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  4. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  5. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  6. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
  7. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  10. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
  11. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
  12. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
  13. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
  14. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
  15. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
  16. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
  17. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
  18. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
  19. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  20. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
  21. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  22. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  23. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
  24. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  25. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  27. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
  29. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  30. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  31. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
  32. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  33. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  34. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  36. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  37. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +5 -5
  38. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  39. package/dist/es/components/runtime/views/super-page.vue.d.ts +1 -1
  40. package/dist/es/components/runtime/views/super-page.vue.js +7 -8
  41. package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -1
  42. package/dist/es/components/wf-editor/wf-editor.css +1 -1
  43. package/dist/es/components/wf-editor/wf-editor.vue.js +2 -2
  44. package/dist/es/src/utils/charts/chart-util.js +15 -0
  45. package/dist/es/{components/runtime → src}/utils/events/event-util.d.ts +1 -1
  46. package/dist/lib/components/index.d.ts +5 -0
  47. package/dist/lib/{index.js → components/index.js} +3 -3
  48. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  49. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  50. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  51. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
  52. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  53. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  54. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  55. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
  56. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
  57. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
  58. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
  59. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
  60. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
  61. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
  62. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
  63. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
  64. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  65. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
  66. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  67. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  68. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
  69. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  70. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  71. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  72. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  73. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
  74. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  75. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  76. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
  77. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  78. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  79. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  80. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  81. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  82. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +5 -5
  83. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  84. package/dist/lib/components/runtime/views/super-page.vue.d.ts +1 -1
  85. package/dist/lib/components/runtime/views/super-page.vue.js +7 -8
  86. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +0 -1
  87. package/dist/lib/components/wf-editor/wf-editor.css +1 -1
  88. package/dist/lib/components/wf-editor/wf-editor.vue.js +2 -2
  89. package/dist/lib/src/utils/charts/chart-util.js +15 -0
  90. package/dist/lib/{components/runtime → src}/utils/events/event-util.d.ts +1 -1
  91. package/lib/components/index.js +8 -0
  92. package/package.json +3 -3
  93. package/src/utils/charts/chart-util.ts +41 -0
  94. package/src/utils/container-style-util.ts +237 -0
  95. package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
  96. package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
  97. package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
  98. package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
  99. package/dist/es/index.d.ts +0 -5
  100. package/dist/es/index.js +0 -8
  101. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
  102. package/dist/lib/index.d.ts +0 -5
  103. package/src/App.vue +0 -9
  104. package/src/components/runtime/index.ts +0 -2
  105. package/src/components/runtime/utils/assemblys-config.js +0 -294
  106. package/src/components/runtime/utils/charts/chart-util.ts +0 -37
  107. package/src/components/runtime/utils/container-style-util.ts +0 -223
  108. package/src/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -46
  109. package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
  110. package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
  111. package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
  112. package/src/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
  113. package/src/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
  114. package/src/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
  115. package/src/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
  116. package/src/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
  117. package/src/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
  118. package/src/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
  119. package/src/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
  120. package/src/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
  121. package/src/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
  122. package/src/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
  123. package/src/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
  124. package/src/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
  125. package/src/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
  126. package/src/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
  127. package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
  128. package/src/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
  129. package/src/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
  130. package/src/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
  131. package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
  132. package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
  133. package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
  134. package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
  135. package/src/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
  136. package/src/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
  137. package/src/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
  138. package/src/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
  139. package/src/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
  140. package/src/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
  141. package/src/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
  142. package/src/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
  143. package/src/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
  144. package/src/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
  145. package/src/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
  146. package/src/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
  147. package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
  148. package/src/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
  149. package/src/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
  150. package/src/components/runtime/views/assemblys/common-attr-events.vue +0 -46
  151. package/src/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -56
  152. package/src/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -56
  153. package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
  154. package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
  155. package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
  156. package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
  157. package/src/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -51
  158. package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
  159. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
  160. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
  161. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
  162. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
  163. package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
  164. package/src/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
  165. package/src/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
  166. package/src/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
  167. package/src/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
  168. package/src/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
  169. package/src/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
  170. package/src/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
  171. package/src/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
  172. package/src/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
  173. package/src/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
  174. package/src/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
  175. package/src/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
  176. package/src/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
  177. package/src/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
  178. package/src/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -852
  179. package/src/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -622
  180. package/src/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
  181. package/src/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
  182. package/src/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
  183. package/src/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
  184. package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
  185. package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
  186. package/src/components/runtime/views/assemblys/error-attr.vue +0 -15
  187. package/src/components/runtime/views/assemblys/error-render.vue +0 -17
  188. package/src/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
  189. package/src/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -192
  190. package/src/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
  191. package/src/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
  192. package/src/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
  193. package/src/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
  194. package/src/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
  195. package/src/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
  196. package/src/components/runtime/views/assemblys/form/common/condition.vue +0 -147
  197. package/src/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
  198. package/src/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
  199. package/src/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
  200. package/src/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
  201. package/src/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
  202. package/src/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
  203. package/src/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
  204. package/src/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
  205. package/src/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
  206. package/src/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
  207. package/src/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
  208. package/src/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
  209. package/src/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
  210. package/src/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
  211. package/src/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
  212. package/src/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
  213. package/src/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
  214. package/src/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
  215. package/src/components/runtime/views/assemblys/form/common/title.vue +0 -20
  216. package/src/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
  217. package/src/components/runtime/views/assemblys/form/common/verification.vue +0 -79
  218. package/src/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
  219. package/src/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
  220. package/src/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
  221. package/src/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
  222. package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
  223. package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
  224. package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
  225. package/src/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
  226. package/src/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -57
  227. package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
  228. package/src/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
  229. package/src/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -76
  230. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
  231. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
  232. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
  233. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
  234. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
  235. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
  236. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
  237. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
  238. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
  239. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
  240. package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
  241. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
  242. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
  243. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
  244. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
  245. package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
  246. package/src/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -139
  247. package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
  248. package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
  249. package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
  250. package/src/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -197
  251. package/src/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
  252. package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
  253. package/src/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -241
  254. package/src/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
  255. package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
  256. package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
  257. package/src/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
  258. package/src/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -60
  259. package/src/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
  260. package/src/components/runtime/views/assemblys/object-render.vue +0 -176
  261. package/src/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
  262. package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
  263. package/src/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
  264. package/src/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
  265. package/src/components/runtime/views/assemblys/page/page-attr.vue +0 -84
  266. package/src/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
  267. package/src/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
  268. package/src/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
  269. package/src/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
  270. package/src/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
  271. package/src/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
  272. package/src/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
  273. package/src/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
  274. package/src/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
  275. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
  276. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
  277. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
  278. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
  279. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
  280. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
  281. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
  282. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
  283. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
  284. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
  285. package/src/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -61
  286. package/src/components/runtime/views/render/page-view.vue +0 -80
  287. package/src/components/runtime/views/super-page copy.vue +0 -61
  288. package/src/components/runtime/views/super-page.vue +0 -662
  289. package/src/components/super-page-dialog/index.ts +0 -2
  290. package/src/components/super-page-dialog/super-page-dialog.vue +0 -267
  291. package/src/components/wf-editor/index.ts +0 -2
  292. package/src/components/wf-editor/wf-editor.vue +0 -15
  293. package/src/index.ts +0 -17
  294. package/src/main.ts +0 -11
  295. /package/dist/es/{assets → src/assets}/chart-themes/theme1.js +0 -0
  296. /package/dist/es/{assets → src/assets}/chart-themes/theme2.js +0 -0
  297. /package/dist/es/{assets → src/assets}/chart-themes/theme3.js +0 -0
  298. /package/dist/es/{components/runtime → src}/utils/api/api-util.d.ts +0 -0
  299. /package/dist/es/{components/runtime → src}/utils/api/api-util.js +0 -0
  300. /package/dist/es/{components/runtime → src}/utils/common-util.d.ts +0 -0
  301. /package/dist/es/{components/runtime → src}/utils/common-util.js +0 -0
  302. /package/dist/es/{components/runtime → src}/utils/events/event-util.js +0 -0
  303. /package/dist/es/{components/runtime → src}/utils/events/standard-event.d.ts +0 -0
  304. /package/dist/es/{components/runtime → src}/utils/events/standard-event.js +0 -0
  305. /package/dist/es/{components/runtime → src}/utils/events/validator-util.d.ts +0 -0
  306. /package/dist/es/{components/runtime → src}/utils/events/validator-util.js +0 -0
  307. /package/dist/es/{components/runtime → src}/utils/global-refs.d.ts +0 -0
  308. /package/dist/es/{components/runtime → src}/utils/global-refs.js +0 -0
  309. /package/dist/es/{components/runtime → src}/utils/interfaces/page-design-types.d.ts +0 -0
  310. /package/dist/es/{components/runtime → src}/utils/interfaces/page-design-types.js +0 -0
  311. /package/dist/es/{components/runtime → src}/utils/page-helper-util.d.ts +0 -0
  312. /package/dist/es/{components/runtime → src}/utils/page-helper-util.js +0 -0
  313. /package/dist/es/{components/runtime → src}/utils/page-init-util.d.ts +0 -0
  314. /package/dist/es/{components/runtime → src}/utils/page-init-util.js +0 -0
  315. /package/dist/es/{components/runtime → src}/utils/store-util.d.ts +0 -0
  316. /package/dist/es/{components/runtime → src}/utils/store-util.js +0 -0
  317. /package/dist/es/{components/runtime → src}/utils/store.d.ts +0 -0
  318. /package/dist/es/{components/runtime → src}/utils/store.js +0 -0
  319. /package/dist/es/{components/runtime → src}/utils/table-utils.js +0 -0
  320. /package/dist/lib/{assets → src/assets}/chart-themes/theme1.js +0 -0
  321. /package/dist/lib/{assets → src/assets}/chart-themes/theme2.js +0 -0
  322. /package/dist/lib/{assets → src/assets}/chart-themes/theme3.js +0 -0
  323. /package/dist/lib/{components/runtime → src}/utils/api/api-util.d.ts +0 -0
  324. /package/dist/lib/{components/runtime → src}/utils/api/api-util.js +0 -0
  325. /package/dist/lib/{components/runtime → src}/utils/common-util.d.ts +0 -0
  326. /package/dist/lib/{components/runtime → src}/utils/common-util.js +0 -0
  327. /package/dist/lib/{components/runtime → src}/utils/events/event-util.js +0 -0
  328. /package/dist/lib/{components/runtime → src}/utils/events/standard-event.d.ts +0 -0
  329. /package/dist/lib/{components/runtime → src}/utils/events/standard-event.js +0 -0
  330. /package/dist/lib/{components/runtime → src}/utils/events/validator-util.d.ts +0 -0
  331. /package/dist/lib/{components/runtime → src}/utils/events/validator-util.js +0 -0
  332. /package/dist/lib/{components/runtime → src}/utils/global-refs.d.ts +0 -0
  333. /package/dist/lib/{components/runtime → src}/utils/global-refs.js +0 -0
  334. /package/dist/lib/{components/runtime → src}/utils/interfaces/page-design-types.d.ts +0 -0
  335. /package/dist/lib/{components/runtime → src}/utils/interfaces/page-design-types.js +0 -0
  336. /package/dist/lib/{components/runtime → src}/utils/page-helper-util.d.ts +0 -0
  337. /package/dist/lib/{components/runtime → src}/utils/page-helper-util.js +0 -0
  338. /package/dist/lib/{components/runtime → src}/utils/page-init-util.d.ts +0 -0
  339. /package/dist/lib/{components/runtime → src}/utils/page-init-util.js +0 -0
  340. /package/dist/lib/{components/runtime → src}/utils/store-util.d.ts +0 -0
  341. /package/dist/lib/{components/runtime → src}/utils/store-util.js +0 -0
  342. /package/dist/lib/{components/runtime → src}/utils/store.d.ts +0 -0
  343. /package/dist/lib/{components/runtime → src}/utils/store.js +0 -0
  344. /package/dist/lib/{components/runtime → src}/utils/table-utils.js +0 -0
  345. /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
  346. /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
  347. /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
  348. /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
  349. /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
  350. /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
  351. /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
  352. /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
  353. /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
  354. /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
  355. /package/src/{components/runtime/utils → utils}/store.ts +0 -0
  356. /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
@@ -1,37 +0,0 @@
1
- import theme1 from '../../../../assets/chart-themes/theme1';
2
- import theme2 from '../../../../assets/chart-themes/theme2';
3
- import theme3 from '../../../../assets/chart-themes/theme3';
4
-
5
- //缓存主题
6
- const themeMap:any = {
7
- 'theme1':theme1,
8
- 'theme2':theme2,
9
- 'theme3':theme3
10
- };
11
-
12
- /**
13
- * 获取主题对象
14
- * @param themeName 获取自定义的主题名称
15
- * @returns
16
- */
17
- export function getCustomTheme(themeName:string) {
18
- console.log("getdd",themeName);
19
- return themeMap[themeName];
20
- }
21
-
22
- /**
23
- * 获取所有主题对象
24
- * @returns
25
- */
26
- export function getCustomThemeOptions():Array<any>{
27
- return [{
28
- value:'theme1',
29
- label:'主题1'
30
- },{
31
- value:'theme2',
32
- label:'主题2'
33
- },{
34
- value:'theme3',
35
- label:'主题3'
36
- }];
37
- }
@@ -1,223 +0,0 @@
1
- import type { Component } from "./interfaces/page-design-types";
2
- /**
3
- * 生成通用的样式和Class
4
- */
5
- export function caculateCommonStyle(configure:Component,commonStyle:any,commonClass:any):void{
6
- //清空设置
7
- const tempStyle:any = {};
8
- let tempClass = '';
9
- const thisProps = configure.props?configure.props:{};
10
- const thisStyle = configure.style?configure.style:{};
11
- const thisSize = thisProps.size?thisProps.size:{};
12
- //宽度
13
- //固定
14
- //默认按100
15
- if(thisSize.widthType=='fix'&&thisSize.fixWidth){
16
- tempStyle['width']=thisSize.fixWidth;
17
- if(!tempStyle['width'].indexOf||tempStyle['width'].indexOf("px")==-1){
18
- tempStyle['width'] = tempStyle['width']+"px";
19
- }
20
- }else{
21
- if(thisSize.flexSpan){
22
- tempClass += " el-col-"+thisSize.flexSpan;
23
- }else{
24
- tempClass += " el-col-24";
25
- }
26
- }
27
- //margin
28
- //外边距 设计有套一层,在此设置外部的边距
29
- if(thisStyle.marginTop){
30
- tempStyle['margin-top'] = thisStyle.marginTop+"px";
31
- }
32
- if(thisStyle.marginRight){
33
- tempStyle['margin-right'] = thisStyle.marginRight+"px";
34
- }
35
- if(thisStyle.marginBottom){
36
- tempStyle['margin-bottom'] = thisStyle.marginBottom+"px";
37
- }
38
- if(thisStyle.marginLeft){
39
- tempStyle['margin-left'] = thisStyle.marginLeft+"px";
40
- }
41
- //高度
42
- if(thisSize.fixHeight){
43
- tempStyle['height']=thisSize.fixHeight;
44
- if(!tempStyle['height'].indexOf||tempStyle['height'].indexOf("px")==-1){
45
- tempStyle['height'] = tempStyle['height']+"px";
46
- }
47
- }
48
- //检查是否固定位置
49
- const position = thisProps.position;
50
- //工具栏位置
51
- if(position=='top'||position=='bottom'){
52
- //position: -webkit-sticky
53
- tempStyle['position'] = 'fixed !important';
54
- tempStyle['z-index'] = '1';
55
- //找展示容器的位置
56
- //const contentObj = document.getElementsByClassName("amb-design-board");
57
- const contentObj = [thisRef.value.parentNode];
58
- if(contentObj&&contentObj.length>0){
59
- const contentRec = contentObj[0].getBoundingClientRect();
60
- if(position=='top'){
61
- tempStyle['top'] = contentRec.top+"px";
62
- }
63
- if(position=='bottom'){
64
- tempStyle['bottom'] = "10px";
65
- }
66
- }
67
- //宽
68
- const thisRec = thisRef.value.getBoundingClientRect();
69
- tempStyle['width'] = thisRec.width+"px";
70
- }else if(thisStyle.position){
71
- //按定位设置
72
- tempStyle['position'] = thisStyle.position;
73
- if(thisStyle.position!='relative'){
74
- //其余需要默认当前的宽度
75
- if(!tempStyle['width']){
76
- const thisRec = thisRef.value.getBoundingClientRect();
77
- tempStyle['width'] = thisRec.width+"px";
78
- }
79
- if(thisStyle.left){
80
- tempStyle['left'] = thisStyle.left+"px";
81
- }
82
- if(thisStyle.top){
83
- tempStyle['top'] = thisStyle.top+"px";
84
- }
85
- }
86
- }
87
- commonStyle.value = tempStyle;
88
- commonClass.value = tempClass;
89
- }
90
-
91
- /**
92
- * 样式转换
93
- * @param configure
94
- * @param designStyle 动态样式名
95
- * @param designClass 动态class
96
- */
97
- export function caculateComponentStyle(configure:any,designStyle:any,designClass:any,designHeaderStyle:any):void{
98
- //清空设置
99
- const tempStyle:any = {};
100
- const tempHeaderStyle:any={};
101
- let tempClass = '';
102
- //从默认值中获取
103
- let defineStyle:any = {};
104
- if(configure.default&&configure.default.style){
105
- Object.assign(defineStyle,configure.default.style);
106
- }
107
- //设计内容覆盖
108
- if(configure.style){
109
- for(let pro in configure.style){
110
- const proValue = configure.style[pro];
111
- if(proValue!=undefined&&proValue!=null&&proValue!=''){
112
- defineStyle[pro] = proValue;
113
- }
114
- }
115
- }
116
-
117
- //加粗
118
- if(defineStyle.fontWeight){
119
- tempStyle['font-weight'] = 'bold';
120
- }
121
- //倾斜
122
- if(defineStyle.incline){
123
- tempStyle['font-style'] = 'italic';
124
- }
125
- //字号
126
- if(defineStyle.fontSize){
127
- tempStyle['font-size'] = defineStyle.fontSize;
128
- }
129
- //颜色
130
- if(defineStyle.color){
131
- tempStyle['color'] = defineStyle.color;
132
- }
133
- if(defineStyle.textAlign){
134
- tempStyle['text-align'] = defineStyle.textAlign;
135
- }
136
- //背景颜色
137
- if(defineStyle.backgroundColor){
138
- tempStyle['background-color'] = defineStyle.backgroundColor;
139
- }
140
- //背景图片 待设置
141
- //内边距
142
- if(defineStyle.paddingTop){
143
- tempStyle['padding-top'] = defineStyle.paddingTop+"px";
144
- }
145
- if(defineStyle.paddingRight){
146
- tempStyle['padding-right'] = defineStyle.paddingRight+"px";
147
- }
148
- if(defineStyle.paddingBottom){
149
- tempStyle['padding-bottom'] = defineStyle.paddingBottom+"px";
150
- }
151
- if(defineStyle.paddingLeft){
152
- tempStyle['padding-left'] = defineStyle.paddingLeft+"px";
153
- }
154
- //线宽
155
- if(defineStyle.borderWidth&&defineStyle.borderColor){
156
- tempStyle['border'] = defineStyle.borderWidth+"px " + (defineStyle.borderType?defineStyle.borderType:"solid") + " " + defineStyle.borderColor;
157
- //线框圆角
158
- if(defineStyle.radius){
159
- tempStyle['border-radius'] = defineStyle.radius+"px";
160
- }
161
- }
162
-
163
- //阴影
164
- if(defineStyle.shadowColor){
165
- let shadow = (defineStyle.shadowTop?defineStyle.shadowTop:"0")+"px ";
166
- shadow += (defineStyle.shadowRight?defineStyle.shadowRight:"0")+"px ";
167
- shadow += (defineStyle.shadowBottom?defineStyle.shadowBottom:"0")+"px ";
168
- shadow += (defineStyle.shadowLeft?defineStyle.shadowLeft:"0")+"px ";
169
- shadow += defineStyle.shadowColor;
170
- tempStyle['box-shadow'] = shadow;
171
- }
172
-
173
- //自定义class
174
- if(defineStyle.customClass){
175
- tempClass += " " + defineStyle.customClass.replace(/;/g,' ');
176
- }
177
-
178
- //自定义样式
179
- if(defineStyle.customStyle){
180
- const strs = defineStyle.customStyle.replace(/[\r\n]/g,'').split(";");
181
- for(let index=0;index<strs.length;index++){
182
- const ss = strs[index].split(":");
183
- if(ss.length>1&&ss[0]&&ss[1]){
184
- if(!isNaN(ss[0])){
185
- continue;
186
- }
187
- tempStyle[ss[0]] = ss[1];
188
- }
189
- }
190
- }
191
- //标题的样式
192
- //加粗
193
- if(defineStyle.headerFontWeight){
194
- tempHeaderStyle['font-weight'] = "bold";
195
- }
196
- //倾斜
197
- if(defineStyle.headerIncline){
198
- tempHeaderStyle['font-style'] = "italic";
199
- }
200
- //字号
201
- if(defineStyle.headerFontSize){
202
- tempHeaderStyle['font-size'] = defineStyle.headerFontSize;
203
- }
204
- //颜色
205
- if(defineStyle.headerColor){
206
- tempHeaderStyle['color'] = defineStyle.headerColor;
207
- }
208
- if(defineStyle.headerTextAlign){
209
- tempHeaderStyle['text-align'] = defineStyle.headerTextAlign;
210
- }else{
211
- tempHeaderStyle['text-align'] = "left";
212
- }
213
- //背景颜色
214
- if(defineStyle.headerBackgroundColor){
215
- tempHeaderStyle['background-color'] = defineStyle.headerBackgroundColor;
216
- }
217
-
218
- designStyle.value = tempStyle;
219
- designClass.value = tempClass;
220
- if(designHeaderStyle){
221
- designHeaderStyle.value = tempHeaderStyle;
222
- }
223
- }
@@ -1,46 +0,0 @@
1
- <template>
2
- <el-button
3
- :disabled="designProperty.state === 'disabled'"
4
- :class="runtimeClass"
5
- :style="runtimeStyle"
6
- :type="designProperty.type"
7
- :size="designProperty.size"
8
- :text="designProperty.text"
9
- :round="designProperty.round"
10
- :plain="designProperty.plain"
11
- @click="handleEvent($event, pageContext, configure, 'click')"
12
- >
13
- <template v-if="designProperty.title && designProperty.iconPosition == 'right'">
14
- {{ designProperty.title }}
15
- <template v-if="designProperty.iconValue"> &nbsp; </template>
16
- </template>
17
- <template v-if="designProperty.iconType && designProperty.iconValue">
18
- <SuperIcon
19
- :iconType="designProperty.iconType"
20
- :iconValue="designProperty.iconValue"
21
- ></SuperIcon>
22
- </template>
23
- <template v-if="designProperty.title && designProperty.iconPosition != 'right'">
24
- <template v-if="designProperty.iconValue"> &nbsp; </template>
25
- {{ designProperty.title }}
26
- </template>
27
- </el-button>
28
- </template>
29
- <script lang="ts" setup>
30
- import { SuperIcon } from 'agilebuilder-ui'
31
- import { ref } from 'vue'
32
- import type { Component, PageContext } from '../../../../utils/interfaces/page-design-types'
33
- import { handleEvent } from '../../../../utils/events/event-util'
34
-
35
- interface MyProps {
36
- pageContext: PageContext
37
- configure: Component
38
- }
39
- const props = defineProps<MyProps>()
40
-
41
- //获取默认的样式及配置
42
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {}
43
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {}
44
- const runtimeStyle = runtimeInfo.style
45
- const runtimeClass = runtimeInfo.class
46
- </script>
@@ -1,27 +0,0 @@
1
- <template>
2
- <el-button-group
3
- :class="runtimeClass"
4
- :style="runtimeStyle">
5
- <template v-for="(element,itemIndex) in configure.items" :key="element.uuid">
6
- <ObjectRender
7
- :pageContext="pageContext"
8
- :configure="element"></ObjectRender>
9
- </template>
10
- </el-button-group>
11
- </template>
12
- <script lang='ts' setup>
13
- import {ref, watch} from 'vue';
14
- import ObjectRender from '../../object-render.vue'
15
- import type { Component,PageContext} from '@/components/design/utils/interfaces/page-design-types';
16
- interface MyProps{
17
- pageContext:PageContext,
18
- configure:Component
19
- }
20
- const props = defineProps<MyProps>();
21
-
22
- //自身引用
23
- const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
24
- //运行时的自身详细参数
25
- const runtimeStyle = runtimeInfo.style;
26
- const runtimeClass = runtimeInfo.class;
27
- </script>
@@ -1,85 +0,0 @@
1
- <template>
2
- <el-dropdown
3
- :class="runtimeClass"
4
- :style="runtimeStyle"
5
- :placement="designProperty.placement"
6
- :split-button="designProperty.splitButton"
7
- :disabled="designProperty.state === 'disabled'"
8
- :type="designProperty.buttonType"
9
- :size="designProperty.size"
10
- :trigger="designProperty.trigger">
11
- <template v-if="designProperty.triggerElement === 'button'">
12
- <el-button
13
- v-if="!designProperty.splitButton"
14
- :size="designProperty.size"
15
- :type="designProperty.buttonType">
16
- {{designProperty.title}}
17
- </el-button>
18
- <span v-else>{{designProperty.title}}</span>
19
- </template>
20
- <el-text v-else>
21
- {{designProperty.title}}
22
- <el-icon>
23
- <ArrowDown />
24
- </el-icon>
25
- </el-text>
26
- <template #dropdown>
27
- <el-dropdown-menu>
28
- <el-dropdown-item v-for="(item,index) in listOptions" :key="item">{{item.label}}</el-dropdown-item>
29
- </el-dropdown-menu>
30
- </template>
31
- </el-dropdown>
32
- </template>
33
- <script lang='ts' setup>
34
- import { ArrowDown } from '@element-plus/icons-vue'
35
- import {ref,computed} from 'vue';
36
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
37
- import {formatVariableValue} from '../../../../utils/page-helper-util';
38
-
39
- //定义的属性对象
40
- interface MyProps{
41
- //页面对象
42
- pageContext:PageContext,
43
- configure:Component
44
- }
45
- const props = defineProps<MyProps>();
46
- //运行时信息
47
- const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
48
- const runtimeStyle = runtimeInfo.style;
49
- const runtimeClass = runtimeInfo.class;
50
- const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
51
-
52
- //菜单数据
53
- let listOptions:any = null;
54
- //检查数据源
55
- const dataOrigin = props.configure.props&&props.configure.props.dataOrigin?props.configure.props.dataOrigin:{};
56
- const valueType = dataOrigin.optionValueSetType;
57
- //绑定变量时,重新设置
58
- if(valueType=='variable'){
59
- listOptions = computed(()=>{
60
- let options:any;
61
- const menuValues:any = formatVariableValue(props.pageContext,designProperty.menuField);
62
- if(menuValues&&Array.isArray(menuValues)){
63
- options = menuValues;
64
- for(let i=0;i<options.length;i++){
65
- const option = options[i];
66
- if(!option.label){
67
- option.label = i+1;
68
- }
69
- }
70
- }else{
71
- const strs = (menuValues?(menuValues+''):'').trim().split(",");
72
- options = [];
73
- for(let str of strs){
74
- options.push({
75
- value:str,
76
- label:str
77
- });
78
- }
79
- }
80
- return options;
81
- });
82
- }else{
83
- listOptions = ref(designProperty.options?designProperty.options:[]);
84
- }
85
- </script>
@@ -1,61 +0,0 @@
1
- <template>
2
- <div
3
- :style="runtimeStyle"
4
- :class="runtimeClass"
5
- class="amb-widget-chart"
6
- ref="thisRef">
7
- <v-chart ref="chartRef" :theme="customTheme" :option="chartOption" autoresize />
8
- </div>
9
- </template>
10
- <script lang='ts' setup>
11
- import {ref} from 'vue';
12
- import {getCustomTheme} from '../../../../utils/charts/chart-util';
13
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
14
-
15
- import { use } from 'echarts/core';
16
- import { CanvasRenderer } from 'echarts/renderers';
17
- import {LineChart,BarChart} from 'echarts/charts';
18
-
19
- import {
20
- GridComponent,
21
- LegendComponent,
22
- TitleComponent,
23
- TooltipComponent,
24
- ToolboxComponent,
25
- DataZoomComponent
26
- } from 'echarts/components';
27
-
28
- //统计图
29
- use([
30
- CanvasRenderer,
31
- LineChart,
32
- GridComponent,
33
- LegendComponent,
34
- TitleComponent,
35
- TooltipComponent,
36
- BarChart,
37
- ToolboxComponent,
38
- DataZoomComponent
39
- ]);
40
- import VChart from 'vue-echarts';
41
-
42
-
43
- interface MyProps{
44
- pageContext:PageContext,
45
- configure:Component
46
- }
47
- const props = defineProps<MyProps>();
48
- //自身引用
49
- const thisRef = ref(null);
50
- const runtimeInfo = props.configure.runtime?props.configure.runtime:{};
51
- //运行时的自身详细参数
52
- const runtimeStyle = runtimeInfo.style;
53
- const runtimeClass = runtimeInfo.class;
54
-
55
- const chartOption:any = runtimeInfo.chartOption;
56
- console.log("chartOption-runtime",chartOption)
57
-
58
- //自定义主题
59
- const configureProps = props.configure.props?props.configure.props:{};
60
- const customTheme:any = getCustomTheme(configureProps.customTheme);
61
- </script>
@@ -1,32 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="辅助功能"
4
- name="propsAssistant"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;margin-bottom:-35px;">
7
- <el-row>
8
- <el-col :span=12>
9
- <el-form-item
10
- label="下载按钮">
11
- <el-switch v-model="configure.props.enableDownloadBtn"/>
12
- </el-form-item>
13
- </el-col>
14
- <el-col :span=12>
15
- <el-form-item
16
- label="数据按钮">
17
- <el-switch v-model="configure.props.enableDataBtn"/>
18
- </el-form-item>
19
- </el-col>
20
- </el-row>
21
- </div>
22
- </el-collapse-item>
23
- </template>
24
- <script lang='ts' setup>
25
- defineProps({
26
- configure:{
27
- type:Object,
28
- required:true
29
- }
30
- });
31
- </script>
32
-
@@ -1,60 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="基本"
4
- name="propsBase"
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-text>{{configure.label}}({{configure.name}})</el-text>
9
- </el-form-item>
10
- <el-form-item
11
- label="组件名" style="margin-top:-10px;">
12
- <el-text>{{configure.props.refId}}</el-text>
13
- </el-form-item>
14
- <el-form-item
15
- label="主标题" style="margin-top:-10px">
16
- <el-input v-model="configure.props.title" placeholder="请输入">
17
- </el-input>
18
- </el-form-item>
19
- <el-form-item
20
- label="副标题" style="margin-top:-10px">
21
- <el-input v-model="configure.props.subTitle" placeholder="请输入">
22
- </el-input>
23
- </el-form-item>
24
- <el-form-item
25
- v-show="chartType=='columnLine'"
26
- label="条形图" style="margin-top:-10px">
27
- <el-switch v-model="configure.props.isBar"/>
28
- </el-form-item>
29
- <el-form-item
30
- label="主题" style="margin-top:-10px">
31
- <el-radio-group v-model="configure.props.theme">
32
- <el-radio-button value="default">默认</el-radio-button>
33
- <el-radio-button value="dark">暗黑</el-radio-button>
34
- </el-radio-group>
35
- </el-form-item>
36
- <el-form-item
37
- label="定时刷新" style="margin-top:-10px">
38
- <el-input v-model="configure.props.refreshInterval">
39
- <template #suffix>
40
-
41
- </template>
42
- </el-input>
43
- </el-form-item>
44
- <el-form-item
45
- label="状态" style="margin-top:-10px;margin-bottom:-10px;">
46
- <el-radio-group v-model="configure.props.state">
47
- <el-radio-button value="show">显示</el-radio-button>
48
- <el-radio-button value="hide">隐藏</el-radio-button>
49
- </el-radio-group>
50
- </el-form-item>
51
- </div>
52
- </el-collapse-item>
53
- </template>
54
- <script lang='ts' setup>
55
- defineProps({
56
- configure:Object,
57
- chartType:Object
58
- });
59
- </script>
60
-
@@ -1,39 +0,0 @@
1
- <template>
2
- <el-collapse-item
3
- title="数据钻取"
4
- name="propsDrill"
5
- class="amb-design-attr-group-header">
6
- <div style="padding:8px 0px 0px 0px;">
7
- <el-form-item
8
- label="开启" style="margin-top:0px;margin-bottom:-15px;">
9
- <el-switch v-model="configure.props.enableDrill"/>
10
- </el-form-item>
11
- <el-form-item
12
- v-show="configure.props.enableDrill"
13
- label="钻取顺序" style="margin-top:20px;margin-bottom:10px;">
14
- <el-input
15
- v-model="configure.props.drillOrders"
16
- placeholder="请输入"></el-input>
17
- <el-text type="success" size="small">逗号隔开,第一层为统计纬度</el-text>
18
- </el-form-item>
19
- <el-form-item
20
- v-show="configure.props.enableDrill"
21
- label="显示位置" style="margin-top:-10px;margin-bottom:-15px;">
22
- <el-radio-group v-model="configure.props.drillLabelAlign">
23
- <el-radio-button value="left">左</el-radio-button>
24
- <el-radio-button value="center">中</el-radio-button>
25
- <el-radio-button value="right">右</el-radio-button>
26
- </el-radio-group>
27
- </el-form-item>
28
- </div>
29
- </el-collapse-item>
30
- </template>
31
- <script lang='ts' setup>
32
- defineProps({
33
- configure:{
34
- required:true,
35
- type:Object
36
- }
37
- });
38
- </script>
39
-