super-page-runtime 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/.eslintrc.cjs +26 -0
  2. package/.prettierrc.json +8 -0
  3. package/{src → components}/index.ts +3 -3
  4. package/{src/components → components}/runtime/views/assemblys/button/button/button-runtime.vue +5 -2
  5. package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +26 -0
  6. package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +93 -0
  7. package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +59 -0
  8. package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +46 -0
  9. package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +56 -0
  10. package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +55 -0
  11. package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +57 -0
  12. package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +108 -0
  13. package/{src/components → components}/runtime/views/assemblys/container/card/card-runtime.vue +4 -1
  14. package/{src/components → components}/runtime/views/assemblys/container/collapse/collapse-runtime.vue +5 -2
  15. package/components/runtime/views/assemblys/container/container/container-runtime.vue +41 -0
  16. package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +35 -0
  17. package/components/runtime/views/assemblys/container/form/form-runtime.vue +37 -0
  18. package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +32 -0
  19. package/{src/components → components}/runtime/views/assemblys/container/tabs/tabs-runtime.vue +5 -2
  20. package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +99 -0
  21. package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +117 -0
  22. package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +28 -0
  23. package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +103 -0
  24. package/{src/components → components}/runtime/views/assemblys/data/table/main-table-runtime.vue +12 -6
  25. package/{src/components → components}/runtime/views/assemblys/data/table/sub-table-runtime.vue +10 -7
  26. package/{src/components → components}/runtime/views/assemblys/data/table/table-runtime.vue +2 -2
  27. package/components/runtime/views/assemblys/data/tree/tree-attr.vue +28 -0
  28. package/components/runtime/views/assemblys/data/tree/tree-design.vue +125 -0
  29. package/{src/components → components}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +10 -4
  30. package/components/runtime/views/assemblys/form/custom/custom-attr.vue +28 -0
  31. package/components/runtime/views/assemblys/form/custom/custom-design.vue +57 -0
  32. package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +80 -0
  33. package/{src/components → components}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +6 -3
  34. package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +44 -0
  35. package/{src/components → components}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +5 -2
  36. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +28 -0
  37. package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +104 -0
  38. package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +28 -0
  39. package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +76 -0
  40. package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +62 -0
  41. package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +70 -0
  42. package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +28 -0
  43. package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +155 -0
  44. package/{src/components → components}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +7 -4
  45. package/components/runtime/views/assemblys/form/label/label-runtime.vue +143 -0
  46. package/components/runtime/views/assemblys/form/link/link-runtime.vue +70 -0
  47. package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +24 -0
  48. package/{src/components → components}/runtime/views/assemblys/form/radio/radio-runtime.vue +10 -4
  49. package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +169 -0
  50. package/{src/components → components}/runtime/views/assemblys/form/select/select-runtime.vue +11 -5
  51. package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +63 -0
  52. package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +65 -0
  53. package/{src/components → components}/runtime/views/assemblys/form/textarea/textarea-runtime.vue +6 -3
  54. package/{src/components → components}/runtime/views/assemblys/object-render.vue +6 -6
  55. package/{src/components → components}/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +1 -1
  56. package/components/runtime/views/assemblys/page/page-attr-base.vue +259 -0
  57. package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +28 -0
  58. package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +28 -0
  59. package/{src/components → components}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +20 -17
  60. package/{src/components → components}/runtime/views/super-page.vue +13 -8
  61. package/cypress/e2e/example.cy.ts +8 -0
  62. package/cypress/e2e/tsconfig.json +10 -0
  63. package/cypress/fixtures/example.json +5 -0
  64. package/cypress/support/commands.ts +39 -0
  65. package/cypress/support/e2e.ts +20 -0
  66. package/cypress.config.ts +8 -0
  67. package/env.d.ts +1 -0
  68. package/index.html +13 -0
  69. package/lib/components/index.d.ts +5 -0
  70. package/{dist/lib → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  71. package/{dist/lib → lib}/components/runtime/views/super-page.vue.d.ts +1 -1
  72. package/{dist/lib → lib}/index.js +3 -3
  73. package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  74. package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  75. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  76. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
  77. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  78. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  79. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  80. package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
  81. package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
  82. package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -1
  83. package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
  84. package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -1
  85. package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
  86. package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
  87. package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
  88. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
  89. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  90. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -5
  91. package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  92. package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  93. package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
  94. package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  95. package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  96. package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  97. package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  98. package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +10 -4
  99. package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  100. package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  101. package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
  102. package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  103. package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  104. package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  105. package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  106. package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +5 -5
  107. package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  108. package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -8
  109. package/lib/src/utils/charts/chart-util.js +15 -0
  110. package/{dist/es/components/runtime → lib/src}/utils/events/event-util.d.ts +1 -1
  111. package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -1
  112. package/lib/wf-editor/wf-editor.css +4 -0
  113. package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +3 -3
  114. package/package-ws.json +70 -0
  115. package/package.json +3 -7
  116. package/src/utils/charts/chart-util.ts +41 -0
  117. package/src/utils/container-style-util.ts +237 -0
  118. package/src/{components/runtime/utils → utils}/events/event-util.ts +2 -3
  119. package/src/{components/runtime/utils → utils}/events/standard-event.ts +1 -1
  120. package/src/{components/runtime/utils → utils}/events/validator-util.ts +1 -1
  121. package/tsconfig copy.json +17 -0
  122. package/tsconfig.app copy.json +14 -0
  123. package/tsconfig.app.json +14 -0
  124. package/tsconfig.json +17 -0
  125. package/tsconfig.node copy.json +19 -0
  126. package/tsconfig.node.json +19 -0
  127. package/tsconfig.vitest copy.json +11 -0
  128. package/tsconfig.vitest.json +11 -0
  129. package/vite.config copy.ts +109 -0
  130. package/vite.config.ts +86 -0
  131. package/vitest.config.ts +14 -0
  132. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
  133. package/dist/es/assets/chart-themes/theme1.js +0 -8
  134. package/dist/es/assets/chart-themes/theme2.js +0 -8
  135. package/dist/es/assets/chart-themes/theme3.js +0 -8
  136. package/dist/es/components/runtime/index.js +0 -4
  137. package/dist/es/components/runtime/utils/api/api-util.js +0 -128
  138. package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
  139. package/dist/es/components/runtime/utils/charts/chart-util.js +0 -15
  140. package/dist/es/components/runtime/utils/common-util.js +0 -81
  141. package/dist/es/components/runtime/utils/events/event-util.js +0 -525
  142. package/dist/es/components/runtime/utils/events/standard-event.js +0 -1623
  143. package/dist/es/components/runtime/utils/events/validator-util.js +0 -389
  144. package/dist/es/components/runtime/utils/global-refs.js +0 -65
  145. package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -9
  146. package/dist/es/components/runtime/utils/page-helper-util.js +0 -503
  147. package/dist/es/components/runtime/utils/page-init-util.js +0 -200
  148. package/dist/es/components/runtime/utils/store-util.js +0 -17
  149. package/dist/es/components/runtime/utils/store.js +0 -4
  150. package/dist/es/components/runtime/utils/table-utils.js +0 -23
  151. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  152. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
  153. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
  154. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
  155. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  156. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
  157. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
  158. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
  159. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
  160. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -50
  161. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
  162. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
  163. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
  164. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
  165. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
  166. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
  167. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -148
  168. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  169. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
  170. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  171. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
  172. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  173. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
  174. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
  175. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  176. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -75
  177. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  178. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -80
  179. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  180. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -44
  181. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  182. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -45
  183. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  184. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -31
  185. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
  186. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -70
  187. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
  188. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -76
  189. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -642
  190. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  191. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  192. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  193. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  194. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
  195. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
  196. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  197. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  198. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
  199. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  200. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
  201. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  202. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -64
  203. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  204. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
  205. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  206. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
  207. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  208. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
  209. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  210. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
  211. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
  212. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -128
  213. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  214. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
  215. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
  216. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
  217. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  218. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
  219. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
  220. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -163
  221. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  222. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
  223. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  224. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
  225. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  226. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
  227. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  228. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
  229. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  230. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
  231. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  232. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
  233. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
  234. package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
  235. package/dist/es/components/runtime/views/super-page.vue.js +0 -481
  236. package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
  237. package/dist/es/components/super-page-dialog/index.js +0 -4
  238. package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -75
  239. package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
  240. package/dist/es/components/wf-editor/index.js +0 -4
  241. package/dist/es/components/wf-editor/wf-editor.css +0 -4
  242. package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
  243. package/dist/es/index.d.ts +0 -5
  244. package/dist/es/index.js +0 -8
  245. package/dist/lib/components/runtime/index.d.ts +0 -3
  246. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
  247. package/dist/lib/components/runtime/utils/charts/chart-util.js +0 -15
  248. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
  249. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
  250. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
  251. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
  252. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
  253. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
  254. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
  255. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
  256. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  257. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  258. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  259. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  260. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  261. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  262. package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
  263. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
  264. package/dist/lib/components/wf-editor/index.d.ts +0 -3
  265. package/dist/lib/components/wf-editor/wf-editor.css +0 -4
  266. package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  267. package/dist/lib/favicon.ico +0 -0
  268. package/dist/lib/index.d.ts +0 -5
  269. package/src/components/runtime/utils/charts/chart-util.ts +0 -37
  270. package/src/components/runtime/utils/container-style-util.ts +0 -223
  271. package/src/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -27
  272. package/src/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -85
  273. package/src/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -61
  274. package/src/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -54
  275. package/src/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -57
  276. package/src/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -56
  277. package/src/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -58
  278. package/src/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -118
  279. package/src/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -50
  280. package/src/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -33
  281. package/src/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -35
  282. package/src/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -28
  283. package/src/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -97
  284. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -110
  285. package/src/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -29
  286. package/src/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -95
  287. package/src/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -29
  288. package/src/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -114
  289. package/src/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -29
  290. package/src/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -46
  291. package/src/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -74
  292. package/src/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -40
  293. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -29
  294. package/src/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -84
  295. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -29
  296. package/src/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -66
  297. package/src/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -57
  298. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -58
  299. package/src/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -29
  300. package/src/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -132
  301. package/src/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -115
  302. package/src/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -67
  303. package/src/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -23
  304. package/src/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -153
  305. package/src/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -58
  306. package/src/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -60
  307. package/src/components/runtime/views/assemblys/page/page-attr-base.vue +0 -252
  308. package/src/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -29
  309. package/src/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -29
  310. /package/{src/App.vue → App.vue} +0 -0
  311. /package/{src/components → components}/runtime/index.ts +0 -0
  312. /package/{src/components → components}/runtime/utils/assemblys-config.js +0 -0
  313. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -0
  314. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -0
  315. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -0
  316. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -0
  317. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -0
  318. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -0
  319. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -0
  320. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -0
  321. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -0
  322. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -0
  323. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -0
  324. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -0
  325. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -0
  326. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -0
  327. /package/{src/components → components}/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -0
  328. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -0
  329. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -0
  330. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -0
  331. /package/{src/components → components}/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -0
  332. /package/{src/components → components}/runtime/views/assemblys/common/common-attr-cursor.vue +0 -0
  333. /package/{src/components → components}/runtime/views/assemblys/common/common-attr-size.vue +0 -0
  334. /package/{src/components → components}/runtime/views/assemblys/common/common-select-table.vue +0 -0
  335. /package/{src/components → components}/runtime/views/assemblys/common/common-style-background.vue +0 -0
  336. /package/{src/components → components}/runtime/views/assemblys/common/common-style-border.vue +0 -0
  337. /package/{src/components → components}/runtime/views/assemblys/common/common-style-custom.vue +0 -0
  338. /package/{src/components → components}/runtime/views/assemblys/common/common-style-font-head.vue +0 -0
  339. /package/{src/components → components}/runtime/views/assemblys/common/common-style-font.vue +0 -0
  340. /package/{src/components → components}/runtime/views/assemblys/common/common-style-margin.vue +0 -0
  341. /package/{src/components → components}/runtime/views/assemblys/common/common-style-padding.vue +0 -0
  342. /package/{src/components → components}/runtime/views/assemblys/common/common-style-position.vue +0 -0
  343. /package/{src/components → components}/runtime/views/assemblys/common/common-style-shadow.vue +0 -0
  344. /package/{src/components → components}/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -0
  345. /package/{src/components → components}/runtime/views/assemblys/common/task-informition-dialog.vue +0 -0
  346. /package/{src/components → components}/runtime/views/assemblys/common-attr-events.vue +0 -0
  347. /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -0
  348. /package/{src/components → components}/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -0
  349. /package/{src/components → components}/runtime/views/assemblys/data/component/attr-header.vue +0 -0
  350. /package/{src/components → components}/runtime/views/assemblys/data/component/attr-style.vue +0 -0
  351. /package/{src/components → components}/runtime/views/assemblys/data/component/column-config.vue +0 -0
  352. /package/{src/components → components}/runtime/views/assemblys/data/component/combinedHeader.vue +0 -0
  353. /package/{src/components → components}/runtime/views/assemblys/data/component/composite-header.vue +0 -0
  354. /package/{src/components → components}/runtime/views/assemblys/data/component/configuration-value.vue +0 -0
  355. /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -0
  356. /package/{src/components → components}/runtime/views/assemblys/data/component/data-origin.vue +0 -0
  357. /package/{src/components → components}/runtime/views/assemblys/data/component/formatting.vue +0 -0
  358. /package/{src/components → components}/runtime/views/assemblys/data/component/in-parameter.vue +0 -0
  359. /package/{src/components → components}/runtime/views/assemblys/data/component/querySetting.vue +0 -0
  360. /package/{src/components → components}/runtime/views/assemblys/data/component/return-set-table.vue +0 -0
  361. /package/{src/components → components}/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -0
  362. /package/{src/components → components}/runtime/views/assemblys/data/component/select-data-table.vue +0 -0
  363. /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -0
  364. /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -0
  365. /package/{src/components → components}/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -0
  366. /package/{src/components → components}/runtime/views/assemblys/error-attr.vue +0 -0
  367. /package/{src/components → components}/runtime/views/assemblys/error-render.vue +0 -0
  368. /package/{src/components → components}/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -0
  369. /package/{src/components → components}/runtime/views/assemblys/form/colors/colors-design.vue +0 -0
  370. /package/{src/components → components}/runtime/views/assemblys/form/common/analytic-rule.vue +0 -0
  371. /package/{src/components → components}/runtime/views/assemblys/form/common/attr-event.vue +0 -0
  372. /package/{src/components → components}/runtime/views/assemblys/form/common/attr-header.vue +0 -0
  373. /package/{src/components → components}/runtime/views/assemblys/form/common/attr-style.vue +0 -0
  374. /package/{src/components → components}/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -0
  375. /package/{src/components → components}/runtime/views/assemblys/form/common/condition.vue +0 -0
  376. /package/{src/components → components}/runtime/views/assemblys/form/common/data-origin.vue +0 -0
  377. /package/{src/components → components}/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -0
  378. /package/{src/components → components}/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -0
  379. /package/{src/components → components}/runtime/views/assemblys/form/common/default-value-setting.vue +0 -0
  380. /package/{src/components → components}/runtime/views/assemblys/form/common/dimension-input.vue +0 -0
  381. /package/{src/components → components}/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -0
  382. /package/{src/components → components}/runtime/views/assemblys/form/common/formatting-label.vue +0 -0
  383. /package/{src/components → components}/runtime/views/assemblys/form/common/grid-num-select.vue +0 -0
  384. /package/{src/components → components}/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -0
  385. /package/{src/components → components}/runtime/views/assemblys/form/common/linkage.vue +0 -0
  386. /package/{src/components → components}/runtime/views/assemblys/form/common/overall-height.vue +0 -0
  387. /package/{src/components → components}/runtime/views/assemblys/form/common/overall-width.vue +0 -0
  388. /package/{src/components → components}/runtime/views/assemblys/form/common/pre-suffix.vue +0 -0
  389. /package/{src/components → components}/runtime/views/assemblys/form/common/rich-text.vue +0 -0
  390. /package/{src/components → components}/runtime/views/assemblys/form/common/row-ul-li.vue +0 -0
  391. /package/{src/components → components}/runtime/views/assemblys/form/common/setoption-table.vue +0 -0
  392. /package/{src/components → components}/runtime/views/assemblys/form/common/size-input.vue +0 -0
  393. /package/{src/components → components}/runtime/views/assemblys/form/common/suffixmodule.vue +0 -0
  394. /package/{src/components → components}/runtime/views/assemblys/form/common/title.vue +0 -0
  395. /package/{src/components → components}/runtime/views/assemblys/form/common/uploading.vue +0 -0
  396. /package/{src/components → components}/runtime/views/assemblys/form/common/verification.vue +0 -0
  397. /package/{src/components → components}/runtime/views/assemblys/form/common/voluntarily.vue +0 -0
  398. /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -0
  399. /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -0
  400. /package/{src/components → components}/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -0
  401. /package/{src/components → components}/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -0
  402. /package/{src/components → components}/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -0
  403. /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -0
  404. /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -0
  405. /package/{src/components → components}/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -0
  406. /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -0
  407. /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -0
  408. /package/{src/components → components}/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -0
  409. /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -0
  410. /package/{src/components → components}/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -0
  411. /package/{src/components → components}/runtime/views/assemblys/form/rate/rate-design.vue +0 -0
  412. /package/{src/components → components}/runtime/views/assemblys/form/slider/slider-design.vue +0 -0
  413. /package/{src/components → components}/runtime/views/assemblys/form/text/text-design.vue +0 -0
  414. /package/{src/components → components}/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -0
  415. /package/{src/components → components}/runtime/views/assemblys/page/page-attr-events.vue +0 -0
  416. /package/{src/components → components}/runtime/views/assemblys/page/page-attr-style.vue +0 -0
  417. /package/{src/components → components}/runtime/views/assemblys/page/page-attr.vue +0 -0
  418. /package/{src/components → components}/runtime/views/assemblys/page/variable-dialog.vue +0 -0
  419. /package/{src/components → components}/runtime/views/assemblys/workflow/component/combination.vue +0 -0
  420. /package/{src/components → components}/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -0
  421. /package/{src/components → components}/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -0
  422. /package/{src/components → components}/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -0
  423. /package/{src/components → components}/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -0
  424. /package/{src/components → components}/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -0
  425. /package/{src/components → components}/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -0
  426. /package/{src/components → components}/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -0
  427. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -0
  428. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -0
  429. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -0
  430. /package/{src/components → components}/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -0
  431. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -0
  432. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -0
  433. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -0
  434. /package/{src/components → components}/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -0
  435. /package/{src/components → components}/runtime/views/render/page-view.vue +0 -0
  436. /package/{src/components → components}/runtime/views/super-page copy.vue +0 -0
  437. /package/{src/components → components}/super-page-dialog/index.ts +0 -0
  438. /package/{src/components → components}/super-page-dialog/super-page-dialog.vue +0 -0
  439. /package/{src/components → components}/wf-editor/index.ts +0 -0
  440. /package/{src/components → components}/wf-editor/wf-editor.vue +0 -0
  441. /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
  442. /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
  443. /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
  444. /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
  445. /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
  446. /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
  447. /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
  448. /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
  449. /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
  450. /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
  451. /package/{dist/es → lib}/favicon.ico +0 -0
  452. /package/{dist/lib/components → lib}/runtime/index.js +0 -0
  453. /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
  454. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
  455. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  456. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  457. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  458. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  459. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  460. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  461. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  462. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  463. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  464. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  465. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  466. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  467. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  468. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
  469. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  470. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  471. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
  472. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  473. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
  474. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  475. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  476. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  477. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  478. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  479. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
  480. /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
  481. /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
  482. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  483. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  484. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  485. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  486. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  487. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  488. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  489. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
  490. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
  491. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  492. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  493. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  494. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  495. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
  496. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  497. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  498. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  499. /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
  500. /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  501. /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
  502. /package/{dist/lib → lib/src}/assets/chart-themes/theme1.js +0 -0
  503. /package/{dist/lib → lib/src}/assets/chart-themes/theme2.js +0 -0
  504. /package/{dist/lib → lib/src}/assets/chart-themes/theme3.js +0 -0
  505. /package/{dist/es/components/runtime → lib/src}/utils/api/api-util.d.ts +0 -0
  506. /package/{dist/lib/components/runtime → lib/src}/utils/api/api-util.js +0 -0
  507. /package/{dist/es/components/runtime → lib/src}/utils/common-util.d.ts +0 -0
  508. /package/{dist/lib/components/runtime → lib/src}/utils/common-util.js +0 -0
  509. /package/{dist/lib/components/runtime → lib/src}/utils/events/event-util.js +0 -0
  510. /package/{dist/es/components/runtime → lib/src}/utils/events/standard-event.d.ts +0 -0
  511. /package/{dist/lib/components/runtime → lib/src}/utils/events/standard-event.js +0 -0
  512. /package/{dist/es/components/runtime → lib/src}/utils/events/validator-util.d.ts +0 -0
  513. /package/{dist/lib/components/runtime → lib/src}/utils/events/validator-util.js +0 -0
  514. /package/{dist/es/components/runtime → lib/src}/utils/global-refs.d.ts +0 -0
  515. /package/{dist/lib/components/runtime → lib/src}/utils/global-refs.js +0 -0
  516. /package/{dist/es/components/runtime → lib/src}/utils/interfaces/page-design-types.d.ts +0 -0
  517. /package/{dist/lib/components/runtime → lib/src}/utils/interfaces/page-design-types.js +0 -0
  518. /package/{dist/es/components/runtime → lib/src}/utils/page-helper-util.d.ts +0 -0
  519. /package/{dist/lib/components/runtime → lib/src}/utils/page-helper-util.js +0 -0
  520. /package/{dist/es/components/runtime → lib/src}/utils/page-init-util.d.ts +0 -0
  521. /package/{dist/lib/components/runtime → lib/src}/utils/page-init-util.js +0 -0
  522. /package/{dist/es/components/runtime → lib/src}/utils/store-util.d.ts +0 -0
  523. /package/{dist/lib/components/runtime → lib/src}/utils/store-util.js +0 -0
  524. /package/{dist/es/components/runtime → lib/src}/utils/store.d.ts +0 -0
  525. /package/{dist/lib/components/runtime → lib/src}/utils/store.js +0 -0
  526. /package/{dist/lib/components/runtime → lib/src}/utils/table-utils.js +0 -0
  527. /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
  528. /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
  529. /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
  530. /package/{src/main.ts → main.ts} +0 -0
  531. /package/{dist → public}/favicon.ico +0 -0
  532. /package/src/{components/runtime/utils → utils}/api/api-util.ts +0 -0
  533. /package/src/{components/runtime/utils → utils}/common-util.ts +0 -0
  534. /package/src/{components/runtime/utils → utils}/eventBus.ts +0 -0
  535. /package/src/{components/runtime/utils → utils}/events/jump-page-util.ts +0 -0
  536. /package/src/{components/runtime/utils → utils}/global-refs.ts +0 -0
  537. /package/src/{components/runtime/utils → utils}/interfaces/page-design-types.ts +0 -0
  538. /package/src/{components/runtime/utils → utils}/page-helper-util.ts +0 -0
  539. /package/src/{components/runtime/utils → utils}/page-init-util.ts +0 -0
  540. /package/src/{components/runtime/utils → utils}/page-permission-util.ts +0 -0
  541. /package/src/{components/runtime/utils → utils}/store-util.ts +0 -0
  542. /package/src/{components/runtime/utils → utils}/store.ts +0 -0
  543. /package/src/{components/runtime/utils → utils}/table-utils.ts +0 -0
@@ -1,57 +0,0 @@
1
- <template>
2
- <el-form-item
3
- :required="designProperty.required"
4
- :class="runtimeClass"
5
- :label-width="designProperty.labelWidth"
6
- :style="runtimeStyle">
7
- <template #label>
8
- <div v-if="designProperty.tittleShow" :style="{...headerStyle}">
9
- {{ designProperty.title}}
10
- </div>
11
- </template>
12
- <el-input-number
13
- :disabled="designProperty.state === 'disabled'"
14
- :readonly="designProperty.state === 'readonly'"
15
- :controls="designProperty.showButton"
16
- :size="designProperty.size"
17
- :placeholder="designProperty.placeholder"
18
- v-model="dynamicModelMethod"
19
- :precision="designProperty.precision"
20
- :step="designProperty.step"
21
- :min="designProperty.min"
22
- :max="designProperty.max" />
23
- </el-form-item>
24
- </template>
25
- <script lang='ts' setup>
26
- import {computed} from "vue";
27
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
28
- import { getFormModelFields} from '../../../../utils/page-init-util';
29
- import { getVariableValue,setVariableValue} from '../../../../utils/page-helper-util';
30
-
31
- //定义的属性对象
32
- interface MyProps{
33
- //页面对象
34
- pageContext:PageContext,
35
- configure:Component
36
- }
37
-
38
- const props = defineProps<MyProps>();
39
- const entity:any = props.pageContext.entity?props.pageContext.entity:{};
40
- let dynamicFields:string[] = getFormModelFields(props.pageContext,props.configure);
41
-
42
- //绑定模型的字段
43
- const dynamicModelMethod = computed({
44
- get(){
45
- return getVariableValue(entity,dynamicFields);
46
- },
47
- set(value){
48
- setVariableValue(entity,dynamicFields,value);
49
- }
50
- });
51
- //运行时信息
52
- const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
53
- const runtimeStyle = runtimeInfo.style;
54
- const runtimeClass = runtimeInfo.class;
55
- const headerStyle = runtimeInfo.headerStyle;
56
- const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
57
- </script>
@@ -1,58 +0,0 @@
1
- <template>
2
- <el-form-item
3
- :required="designProperty.required?true:false"
4
- :class="designClass"
5
- :label-width="designProperty.labelWidth"
6
- :style="designStyle">
7
- <template #label>
8
- <div :style="designHeaderStyle">
9
- {{ designProperty.title?designProperty.title:'input-text' }}
10
- </div>
11
- </template>
12
- <el-text :size="designProperty.size">{{ designProperty.title?designProperty.title:'text' }}</el-text>
13
- </el-form-item>
14
- </template>
15
- <script lang='ts' setup>
16
- import {ref, watch} from "vue";
17
- import {caculateDetailComponentStyle,caculateComponentProps} from "../../../../utils/form-design-util";
18
-
19
- const props = defineProps({
20
- configure:Object
21
- });
22
- //定义自身详细参数
23
- const designStyle = ref({});
24
- const designClass = ref('');
25
- const designHeaderStyle = ref({});
26
- const designProperty = ref({})
27
- function getRestsParameter(){
28
- let defineProps = {}
29
- const tempProps = {}
30
-
31
- if (props.configure.props.preSuffix){
32
- defineProps = props.configure.props
33
- }
34
- // 行数
35
- // if (defineProps['base']['rows']){
36
- // tempProps['rows'] = defineProps['base']['rows']
37
- // }
38
-
39
- if (tempProps != {}){
40
- for (const tempPropsKey in tempProps) {
41
- designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
42
- }
43
- }
44
- }
45
- //监控配置样式的变化
46
- watch(props.configure.style,()=>{
47
- caculateDetailComponentStyle(props.configure,designStyle,designClass,designHeaderStyle);
48
- },{immediate:true});
49
-
50
- //监控配置属性的变化
51
- watch(props.configure.props,()=>{
52
- caculateComponentProps(props.configure,designProperty)
53
- getRestsParameter()
54
- },{immediate:true});
55
- </script>
56
- <style scoped>
57
-
58
- </style>
@@ -1,29 +0,0 @@
1
- <template>
2
- <div class="amb-design-attr-content">
3
- <AttrHeader v-model="currentConfigType"/>
4
- <div class="amb-design-attr-list">
5
- <AttrBase v-show="currentConfigType === 'base'" :configure="configure"></AttrBase>
6
- <AttrStyle v-show="currentConfigType === 'style'" :configure="configure"></AttrStyle>
7
- <AttrEvent v-show="currentConfigType === 'event'" :configure="configure"></AttrEvent>
8
- </div>
9
- </div>
10
- </template>
11
- <script lang='ts' setup>
12
- import AttrBase from './input-show-attr-base.vue';
13
- import AttrStyle from './input-show-attr-style.vue';
14
- import AttrHeader from '../common/attr-header.vue'
15
- import AttrEvent from './input-show-attr-event.vue';
16
- import { ref } from 'vue';
17
-
18
- defineProps({
19
- configure: {
20
- type: Object,
21
- default: () => ({ title: 'Text',props: {type: 'input-text'} }) // 设置默认值
22
- }
23
- });
24
- let currentConfigType = ref("base")
25
-
26
- </script>
27
- <style >
28
- @import '../../../../../../assets/design-attr.css';
29
- </style>
@@ -1,132 +0,0 @@
1
- <template>
2
- <el-form-item
3
- :required="designProperty.required?true:false"
4
- :class="designClass"
5
- :label-width="designProperty.labelWidth"
6
- :style="designStyle">
7
- <template #label>
8
- <div :style="designHeaderStyle">
9
- {{ designProperty.title?designProperty.title:'input-show' }}
10
- </div>
11
- </template>
12
- <el-input
13
- :disabled="designProperty.state === 'disabled'? true : false"
14
- :readonly="designProperty.state === 'readonly'? true : false"
15
- :size="designProperty.size"
16
- :clearable="designProperty.clearable"
17
- :placeholder="designProperty.placeholder"
18
- v-model="designProperty.defaultValue">
19
- <template v-if="designProperty && (designProperty.innerPreIcon || designProperty.innerPreText)" #prefix>
20
- {{ designProperty.innerPreText }}
21
- </template>
22
- <template
23
- v-show="designProperty.enable || (designProperty && (designProperty.innerSufIcon || designProperty.innerSufText))"
24
- #suffix>
25
- {{ designProperty.innerSufText }}
26
- <el-icon v-show="designProperty.enable"><FullScreen /></el-icon>
27
- </template>
28
- <template v-if="designProperty && (designProperty.outerPreIcon || designProperty.outerPreText)" #prepend>
29
- <!--<el-icon v-if="designProperty.outerPreIcon">-->
30
- <!-- <component :is="designProperty.outerPreIcon" />-->
31
- <!--</el-icon>-->
32
- <span v-if="designProperty.outerPreText">{{ designProperty.outerPreText }}</span>
33
- </template>
34
- <template v-if="designProperty && (designProperty.outerSufIcon || designProperty.outerSufText)" #append>
35
- {{ designProperty.outerSufText }}
36
- </template>
37
- </el-input>
38
- </el-form-item>
39
- </template>
40
- <script lang='ts' setup>
41
- import {ref, watch} from "vue";
42
- import {caculateDetailComponentStyle,caculateComponentProps} from "../../../../utils/form-design-util";
43
-
44
- const props = defineProps({
45
- configure:Object
46
- });
47
- //定义自身详细参数
48
- const designStyle = ref({});
49
- const designClass = ref('');
50
- const designHeaderStyle = ref({});
51
- const designProperty = ref({})
52
- function getRestsParameter(){
53
- let defineProps = {}
54
- const tempProps = {}
55
-
56
- if (props.configure.props.preSuffix){
57
- defineProps = props.configure.props
58
- }
59
-
60
- if (defineProps['scan']['enable']){
61
- tempProps['enable'] = true;
62
- }else {
63
- tempProps['enable'] = false;
64
- }
65
-
66
- // 前后缀/外部
67
- if(defineProps['preSuffix']['position'] === 'outer'){
68
-
69
- // 前缀图标
70
- if (defineProps['preSuffix']['preIcon']){
71
- tempProps['outerPreIcon'] = defineProps['preSuffix']['preIcon'];
72
- }
73
-
74
- // 前缀文本
75
- if (defineProps['preSuffix']['preText']){
76
- tempProps['outerPreText'] = defineProps['preSuffix']['preText'];
77
- }
78
-
79
- // 后缀图标
80
- if (defineProps['preSuffix']['sufIcon']){
81
- tempProps['outerSufIcon'] = defineProps['preSuffix']['sufIcon'];
82
- }
83
-
84
- // 后缀文本
85
- if (defineProps['preSuffix']['sufText']){
86
- tempProps['outerSufText'] = defineProps['preSuffix']['sufText'];
87
- }
88
- }
89
-
90
- // 前后缀/内部
91
- if(defineProps['preSuffix']['position'] === 'inner'){
92
- // 前缀图标
93
- if (defineProps['preSuffix']['preIcon']){
94
- tempProps['innerPreIcon'] = defineProps['preSuffix']['preIcon'];
95
- }
96
-
97
- // 前缀文本
98
- if (defineProps['preSuffix']['preText']){
99
- tempProps['innerPreText'] = defineProps['preSuffix']['preText'];
100
- }
101
-
102
- // 后缀图标
103
- if (defineProps['preSuffix']['sufIcon']){
104
- tempProps['innerSufIcon'] = defineProps['preSuffix']['sufIcon'];
105
- }
106
-
107
- // 后缀文本
108
- if (defineProps['preSuffix']['sufText']){
109
- tempProps['innerSufText'] = defineProps['preSuffix']['sufText'];
110
- }
111
- }
112
-
113
- if (tempProps != {}){
114
- for (const tempPropsKey in tempProps) {
115
- designProperty.value[tempPropsKey] = tempProps[tempPropsKey]
116
- }
117
- }
118
- }
119
- //监控配置样式的变化
120
- watch(props.configure.style,()=>{
121
- caculateDetailComponentStyle(props.configure,designStyle,designClass,designHeaderStyle);
122
- },{immediate:true});
123
-
124
- //监控配置属性的变化
125
- watch(props.configure.props,()=>{
126
- caculateComponentProps(props.configure,designProperty)
127
- getRestsParameter()
128
- },{immediate:true});
129
- </script>
130
- <style scoped>
131
-
132
- </style>
@@ -1,115 +0,0 @@
1
- <template>
2
- <el-form-item
3
- v-if="designProperty.tittleShow"
4
- :required="designProperty.required?true:false"
5
- :class="runtimeClass"
6
- :label-width="designProperty.labelWidth"
7
- :style="runtimeStyle">
8
- <template #label>
9
- <div v-if="designProperty.tittleShow" :style="{...headerStyle}">
10
- {{designProperty.title}}
11
- </div>
12
- </template>
13
- <div style="display:flex;width:100%;justify-content: space-between">
14
- <span
15
- style="overflow:hidden;white-space: nowrap;">
16
- <span
17
- v-if="designProperty.preIconValue||designProperty.preText"
18
- :class="{'el-input__suffix':designProperty.iconPosition!='outer','el-input-group__append':designProperty.iconPosition=='outer'}" :style="appendStyle">
19
- <SuperIcon v-if="designProperty.preIconType&&designProperty.preIconValue" :iconType="designProperty.preIconType" :iconValue="designProperty.preIconValue"></SuperIcon>
20
- {{designProperty.preText}}
21
- </span>
22
- &nbsp;{{dynamicValue}}
23
- </span>
24
- <span
25
- v-if="designProperty.sufIconValue||designProperty.sufText"
26
- :class="{'el-input__suffix':designProperty.iconPosition!='outer','el-input-group__append':designProperty.iconPosition=='outer'}">
27
- <SuperIcon style="" v-if="designProperty.sufIconType&&designProperty.sufIconValue" :iconType="designProperty.sufIconType" :iconValue="designProperty.sufIconValue"></SuperIcon>
28
- <span>&nbsp;{{designProperty.sufText}}</span>
29
- </span>
30
- </div>
31
- </el-form-item>
32
- <span
33
- v-else
34
- style="display:flex;justify-content: space-between">
35
- <span style="overflow:hidden;white-space: nowrap;" :title="dynamicValue">{{designProperty.prefixIcon}}&nbsp;{{dynamicValue}}</span>
36
- <span
37
- v-if="designProperty.suffixTxt"
38
- :class="appendClass" :style="appendStyle">{{designProperty.suffixTxt}}</span>
39
- </span>
40
- </template>
41
- <script lang='ts' setup>
42
- import {ref,computed} from "vue";
43
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
44
- import { getFormModelFields} from '../../../../utils/page-init-util';
45
- import {formatVariableValue,queryOptions,formatValueByType} from '../../../../utils/page-helper-util';
46
- import {SuperIcon} from 'agilebuilder-ui';
47
-
48
- //定义的属性对象
49
- interface MyProps{
50
- //页面对象
51
- pageContext:PageContext,
52
- configure:Component
53
- }
54
- const props = defineProps<MyProps>();
55
- //初始化字段及默认值
56
- getFormModelFields(props.pageContext,props.configure);
57
-
58
- //定义自身详细参数
59
- //运行时信息
60
- const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
61
- const runtimeStyle = runtimeInfo.style;
62
- const runtimeClass = runtimeInfo.class;
63
- const headerStyle = runtimeInfo.headerStyle;
64
- const appendClass = runtimeInfo.appendClass;
65
- const appendStyle = runtimeInfo.appendStyle;
66
- const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
67
-
68
- //查询数据源
69
- //选项组数据
70
- const listOptions:any = designProperty.options?designProperty.options:[];
71
- //检查是否需要绑定远程查询对象
72
- const dataOrigin = props.configure.props&&props.configure.props.dataOrigin?props.configure.props.dataOrigin:{};
73
- const valueType = dataOrigin.optionValueSetType;
74
- //查询数据
75
- if(valueType=='dynamicData'||valueType=='dynamicData'||valueType=='service'){
76
- queryOptions(props.configure,props.pageContext,'').then((results)=>{
77
- listOptions.value = results;
78
- }).catch((error)=>{
79
- console.log("lable组件查询数据源失败!",error);
80
- });
81
- }
82
-
83
- //定义内容
84
- let contentVariable = designProperty.formatting;
85
- if(!contentVariable){
86
- const propsBase = props.configure.props.base?props.configure.props.base:{};
87
- contentVariable = propsBase.prop;
88
- }
89
- //无值时,按UUID
90
- if(!contentVariable){
91
- contentVariable = '${page.'+props.configure.uuid+'}';
92
- }
93
- //格式化分类
94
- const formatType = designProperty.formatType;
95
- //显示内容
96
- const dynamicValue = computed(()=>{
97
- let resultValue:any = formatVariableValue(props.pageContext,contentVariable);
98
- console.log("formatType",formatType)
99
- if(formatType){
100
- if(designProperty.hasOptions){
101
- let selItems:any = null;
102
- if(listOptions.value){
103
- selItems = listOptions.value.filter((item:any)=>item.value==resultValue);
104
- }
105
- if(selItems&&selItems.length>0){
106
- resultValue = selItems[0].label;
107
- }
108
- }else{
109
- //其他格式化
110
- resultValue = formatValueByType(resultValue,formatType,designProperty);
111
- }
112
- }
113
- return resultValue==undefined||resultValue==null?'':resultValue;
114
- });
115
- </script>
@@ -1,67 +0,0 @@
1
- <template>
2
- <el-form-item
3
- :class="runtimeClass"
4
- :label-width="designProperty.labelWidth"
5
- :style="runtimeStyle">
6
- <template #label>
7
- <div v-if="designProperty.tittleShow" :style="{...headerStyle}">
8
- {{ designProperty.title}}
9
- </div>
10
- </template>
11
- <el-tooltip
12
- :disabled="!tooltipValue"
13
- :content="tooltipValue">
14
- <el-link
15
- :disabled="designProperty.state === 'disabled'"
16
- :type="designProperty.type"
17
- :underline="designProperty.underline"
18
- @click="openLink(configure,pageContext)">
19
- {{dynamicValue}}
20
- </el-link>
21
- </el-tooltip>
22
- </el-form-item>
23
- </template>
24
- <script lang='ts' setup>
25
- import {computed} from "vue";
26
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
27
- import { getFormModelFields} from '../../../../utils/page-init-util';
28
- import {formatVariableValue,openLink} from '../../../../utils/page-helper-util';
29
- //定义的属性对象
30
- interface MyProps{
31
- //页面对象
32
- pageContext:PageContext,
33
- configure:Component
34
- }
35
- const props = defineProps<MyProps>();
36
- //初始化字段及默认值
37
- getFormModelFields(props.pageContext,props.configure);
38
- //定义自身详细参数
39
- //运行时信息
40
- const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
41
- const runtimeStyle = runtimeInfo.style;
42
- const runtimeClass = runtimeInfo.class;
43
- const headerStyle = runtimeInfo.headerStyle;
44
- const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
45
-
46
- //定义内容
47
- let contentVariable = designProperty.formatting;
48
- if(!contentVariable){
49
- const propsBase = props.configure.props.base?props.configure.props.base:{};
50
- contentVariable = propsBase.prop;
51
- }
52
- //无值时,按UUID
53
- if(!contentVariable){
54
- contentVariable = '${page.'+props.configure.uuid+'}';
55
- }
56
- //显示内容
57
- const dynamicValue = computed(()=>{
58
- const resultValue = formatVariableValue(props.pageContext,contentVariable);
59
- return resultValue==undefined||resultValue==null?'':resultValue;
60
- });
61
- //tooltip
62
- let tooltipVariable = designProperty.tooltip;
63
- const tooltipValue = computed(()=>{
64
- const resultValue = formatVariableValue(props.pageContext,tooltipVariable);
65
- return resultValue==undefined||resultValue==null?'':resultValue;
66
- });
67
- </script>
@@ -1,23 +0,0 @@
1
- <template>
2
- <el-form-item
3
- :class="runtimeClass"
4
- :style="runtimeStyle">
5
- <div style="width: 100%;height:100%;">&nbsp;</div>
6
- </el-form-item>
7
- </template>
8
- <script lang='ts' setup>
9
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
10
-
11
- //定义的属性对象
12
- interface MyProps{
13
- //页面对象
14
- pageContext:PageContext,
15
- configure:Component
16
- }
17
- const props = defineProps<MyProps>();
18
- //定义自身详细参数
19
- //运行时信息
20
- const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
21
- const runtimeStyle = runtimeInfo.style;
22
- const runtimeClass = runtimeInfo.class;
23
- </script>
@@ -1,153 +0,0 @@
1
- <template>
2
- <!--无标题时不用form-item-->
3
- <el-form-item
4
- v-if="designProperty.tittleShow"
5
- :required="designProperty.required"
6
- :class="runtimeClass"
7
- :label-width="designProperty.labelWidth"
8
- :style="runtimeStyle">
9
- <template #label>
10
- <div v-if="designProperty.tittleShow" :style="{...headerStyle}">
11
- {{ designProperty.title}}
12
- </div>
13
- </template>
14
- <div style="width:100%;height:100%;">
15
- <div ref="quillEditorRef" style="width:100%;">{{ initValue }}</div>
16
- <!-- 使用自定义图片上传 -->
17
- <input type="file" hidden accept=".jpg,.png" ref="fileBtn" @change="handleUpload" />
18
- </div>
19
- </el-form-item>
20
- <div v-else style="width:100%;height:100%;" class="amb-widget-richtext-single">
21
- <div ref="quillEditorRef" style="width:100%;">{{ initValue }}</div>
22
- <!-- 使用自定义图片上传 -->
23
- <input type="file" hidden accept=".jpg,.png" ref="fileBtn" @change="handleUpload" />
24
- </div>
25
- </template>
26
- <script lang='ts' setup>
27
- import {ref,onMounted} from "vue";
28
- import type { Component,PageContext} from '../../../../utils/interfaces/page-design-types';
29
- import { getFormModelFields} from '../../../../utils/page-init-util';
30
- import {formatVariableValue, setVariableValue} from '../../../../utils/page-helper-util';
31
- import Quill from 'quill';
32
- import 'quill/dist/quill.snow.css'; // 引入样式文件
33
- //定义的属性对象
34
- interface MyProps{
35
- //页面对象
36
- pageContext:PageContext,
37
- configure:Component
38
- }
39
- const props = defineProps<MyProps>();
40
-
41
- const entity:any = props.pageContext.entity?props.pageContext.entity:{};
42
- //初始化字段及默认值
43
- const dynamicFields:string[] = getFormModelFields(props.pageContext,props.configure);
44
-
45
- //定义自身详细参数
46
- //运行时信息
47
- const runtimeInfo:any = props.configure.runtime?props.configure.runtime:{};
48
- const runtimeStyle = runtimeInfo.style;
49
- const runtimeClass = runtimeInfo.class;
50
- const headerStyle = runtimeInfo.headerStyle;
51
- const designProperty:any = runtimeInfo.props?runtimeInfo.props:{};
52
-
53
- //初始化显示内容
54
- let contentVariable = designProperty.value;
55
- const initValue = formatVariableValue(props.pageContext,contentVariable);
56
-
57
- //富文本引用
58
- const quillEditorRef = ref(null);
59
- const quill:any = ref(null);
60
- const fileBtn:any = ref(null);
61
- //初始化富文本控件
62
- const fontSize = ['12px', '13px', '14px', '15px', '16px', '18px', '20px', '24px', '28px', '32px', '36px'];
63
- const option = ref({
64
- modules: {
65
- toolbar: [
66
- ['bold', 'italic', 'underline', 'strike'], // 加粗 斜体 下划线 删除线
67
- ["blockquote", "code-block"], // 引用
68
- [{ list: 'ordered' }, { list: 'bullet' }], // 有序、无序列表
69
- [{ script: "sub" }, { script: "super" }], // 上标/下标
70
- [{ indent: '-1' }, { indent: '+1' }], // 缩进
71
- [{ direction: 'rtl' }], // 文本方向
72
- [{ size: fontSize }], // 字体大小
73
- [{ header: [1, 2, 3, 4, 5, 6, false] }], // 标题
74
- [{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
75
- [{ font: [] }], // 字体种类
76
- [{ align: [] }], // 对齐方式
77
- ['clean'], // 清除文本格式
78
- ['link', 'image'] // 链接、图片、视频
79
- ]
80
- },
81
- theme: 'snow',
82
- placeholder:designProperty.placeholder,
83
- readOnly:designProperty.state=='readonly'
84
- });
85
-
86
- /**
87
- * 计算并更新高度
88
- */
89
- function updateEditorHeight(){
90
- //计算高度
91
- if(quill&&quill.value){
92
- if(quill.value.container){
93
- //获取相对高度
94
- const parentNode = quill.value.container.parentNode;
95
- const parentRect = parentNode.getBoundingClientRect();
96
-
97
- const thisRect = quill.value.container.getBoundingClientRect();
98
- //计算高度
99
- let newHeight = parentRect.height-(thisRect.top-parentRect.top);
100
- if(newHeight<100){
101
- newHeight = 100;
102
- }
103
- quill.value.container.style.height = newHeight+"px";
104
- }
105
- }
106
- }
107
-
108
- //上传图片
109
- const imgHandler = (state) => {
110
- if (fileBtn.value&&state) {
111
- fileBtn.value.click();
112
- }
113
- }
114
- //上传
115
- const handleUpload = (e) => {
116
- const files = Array.prototype.slice.call(e.target.files);
117
- if (!files) {
118
- return
119
- }
120
- const formdata = new FormData()
121
- formdata.append('file', files[0]);
122
- alert("TODO:上传图片")
123
- //此处使用服务端提供上传接口
124
- /**backsite.uploadFile(formdata)
125
- .then(res => {
126
- if (res.data.url) {
127
- const quill = toRaw(myQuillEditor.value).getQuill()
128
- const length = quill.getSelection().index
129
- quill.insertEmbed(length, 'image', res.data.url)
130
- quill.setSelection(length + 1)
131
- }
132
- })*/
133
- }
134
- //初始化编辑器
135
- onMounted(() => {
136
- quill.value = new Quill(quillEditorRef.value, option.value);
137
- //添加上传文件
138
- quill.value.getModule('toolbar').addHandler('image',imgHandler);
139
- //绑定事件
140
- quill.value.on('text-change', function(delta, oldDelta, source) {
141
- //1秒后设置到缓存中
142
- if(window.updateQuillTimeout){
143
- clearTimeout(window.updateQuillTimeout);
144
- }
145
- window.updateQuillTimeout = setTimeout(function(){
146
- setVariableValue(entity,dynamicFields,quill.value.root.innerHTML);
147
- console.log("new entity",entity)
148
- },1000);
149
- });
150
- //计算高度
151
- updateEditorHeight();
152
- });
153
- </script>