super-page-runtime 1.0.13 → 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 (338) hide show
  1. package/dist/es/components/index.d.ts +5 -0
  2. package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  3. package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  4. package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  5. package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
  6. package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  7. package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  8. package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  9. package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
  10. package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
  11. package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -1
  12. package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
  13. package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -1
  14. package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
  15. package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
  16. package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
  17. package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
  18. package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  19. package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -5
  20. package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  21. package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  22. package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
  23. package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  24. package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  25. package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  26. package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  27. package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +10 -4
  28. package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  29. package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  30. package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
  31. package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  32. package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  33. package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  34. package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  35. package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  36. package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue.js +5 -5
  37. package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  38. package/dist/es/components/runtime/views/super-page.vue.d.ts +1 -1
  39. package/dist/es/{runtime → components/runtime}/views/super-page.vue.js +7 -8
  40. package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -1
  41. package/dist/es/components/wf-editor/wf-editor.css +4 -0
  42. package/dist/es/{wf-editor → components/wf-editor}/wf-editor.vue.js +3 -3
  43. package/dist/es/src/utils/charts/chart-util.js +15 -0
  44. package/dist/es/{components/runtime → src}/utils/events/event-util.d.ts +1 -1
  45. package/dist/lib/components/index.d.ts +5 -0
  46. package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  47. package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  48. package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  49. package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -9
  50. package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  51. package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  52. package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  53. package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue.js +3 -9
  54. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -1
  55. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue2.js +0 -1
  56. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue2.js +0 -1
  57. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue2.js +0 -1
  58. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -1
  59. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -1
  60. package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue2.js +0 -1
  61. package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue.js +4 -5
  62. package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  63. package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue2.js +0 -5
  64. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  65. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  66. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -5
  67. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  68. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  69. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  70. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  71. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue2.js +10 -4
  72. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  73. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  74. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue2.js +15 -3
  75. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  76. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  77. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  78. package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  79. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
  80. package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue.js +5 -5
  81. package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  82. package/dist/lib/components/runtime/views/super-page.vue.d.ts +1 -1
  83. package/dist/lib/{runtime → components/runtime}/views/super-page.vue.js +7 -8
  84. package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue.js +0 -1
  85. package/dist/lib/components/wf-editor/wf-editor.css +4 -0
  86. package/dist/lib/{wf-editor → components/wf-editor}/wf-editor.vue.js +3 -3
  87. package/dist/lib/src/utils/charts/chart-util.js +15 -0
  88. package/dist/lib/{components/runtime → src}/utils/events/event-util.d.ts +1 -1
  89. package/lib/components/index.js +8 -0
  90. package/package.json +5 -4
  91. package/src/assets/base.css +86 -0
  92. package/src/assets/chart-themes/theme1.ts +6 -0
  93. package/src/assets/chart-themes/theme2.ts +6 -0
  94. package/src/assets/chart-themes/theme3.ts +6 -0
  95. package/src/assets/images/button/button-group.png +0 -0
  96. package/src/assets/images/button/button.png +0 -0
  97. package/src/assets/images/chart/chart-column.png +0 -0
  98. package/src/assets/images/chart/chart-gauge.png +0 -0
  99. package/src/assets/images/chart/chart-pie.png +0 -0
  100. package/src/assets/images/chart/chart-radar.png +0 -0
  101. package/src/assets/images/chart/chart-scatter.png +0 -0
  102. package/src/assets/images/container/container-card.png +0 -0
  103. package/src/assets/images/container/container-collapse.png +0 -0
  104. package/src/assets/images/container/container-container.png +0 -0
  105. package/src/assets/images/container/container-flex.png +0 -0
  106. package/src/assets/images/container/container-form.png +0 -0
  107. package/src/assets/images/container/container-iframe.png +0 -0
  108. package/src/assets/images/container/container-normal.png +0 -0
  109. package/src/assets/images/container/container-tabs.png +0 -0
  110. package/src/assets/images/container/container-tools.png +0 -0
  111. package/src/assets/images/data/data-process.png +0 -0
  112. package/src/assets/images/data/data-step.png +0 -0
  113. package/src/assets/images/data/data-table-column.png +0 -0
  114. package/src/assets/images/data/data-table.png +0 -0
  115. package/src/assets/images/data/data-timeline.png +0 -0
  116. package/src/assets/images/data/data-tree.png +0 -0
  117. package/src/assets/images/form/form-cascader.png +0 -0
  118. package/src/assets/images/form/form-check.png +0 -0
  119. package/src/assets/images/form/form-color.png +0 -0
  120. package/src/assets/images/form/form-count.png +0 -0
  121. package/src/assets/images/form/form-custom.png +0 -0
  122. package/src/assets/images/form/form-date.png +0 -0
  123. package/src/assets/images/form/form-dept.png +0 -0
  124. package/src/assets/images/form/form-divider.png +0 -0
  125. package/src/assets/images/form/form-file.png +0 -0
  126. package/src/assets/images/form/form-image-upload.png +0 -0
  127. package/src/assets/images/form/form-img.png +0 -0
  128. package/src/assets/images/form/form-input.png +0 -0
  129. package/src/assets/images/form/form-label.png +0 -0
  130. package/src/assets/images/form/form-link.png +0 -0
  131. package/src/assets/images/form/form-radio.png +0 -0
  132. package/src/assets/images/form/form-scan.png +0 -0
  133. package/src/assets/images/form/form-score.png +0 -0
  134. package/src/assets/images/form/form-select.png +0 -0
  135. package/src/assets/images/form/form-slider.png +0 -0
  136. package/src/assets/images/form/form-space.png +0 -0
  137. package/src/assets/images/form/form-switch.png +0 -0
  138. package/src/assets/images/form/form-text.png +0 -0
  139. package/src/assets/images/form/form-textarea.png +0 -0
  140. package/src/assets/images/form/form-transfer.png +0 -0
  141. package/src/assets/images/form/form-zoom.png +0 -0
  142. package/src/assets/images/group-button.png +0 -0
  143. package/src/assets/images/group-chart.png +0 -0
  144. package/src/assets/images/group-container.png +0 -0
  145. package/src/assets/images/group-data.png +0 -0
  146. package/src/assets/images/group-form.png +0 -0
  147. package/src/assets/images/group-workflow.png +0 -0
  148. package/src/assets/images/workflow/workflow-button.png +0 -0
  149. package/src/assets/images/workflow/workflow-history-texts.png +0 -0
  150. package/src/assets/images/workflow/workflow-history.png +0 -0
  151. package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
  152. package/src/assets/images/workflow/workflow-texthistory .png +0 -0
  153. package/src/assets/logo.svg +1 -0
  154. package/src/assets/main.css +1 -0
  155. package/src/i18n/langs/cn.js +52 -0
  156. package/src/i18n/langs/en.js +52 -0
  157. package/src/stores/counter.ts +12 -0
  158. package/src/utils/api/api-util.ts +176 -0
  159. package/src/utils/charts/chart-util.ts +41 -0
  160. package/src/utils/common-util.ts +96 -0
  161. package/src/utils/container-style-util.ts +237 -0
  162. package/src/utils/eventBus.ts +14 -0
  163. package/src/utils/events/event-util.ts +790 -0
  164. package/src/utils/events/jump-page-util.ts +0 -0
  165. package/src/utils/events/standard-event.ts +2075 -0
  166. package/src/utils/events/validator-util.ts +474 -0
  167. package/src/utils/global-refs.ts +160 -0
  168. package/src/utils/interfaces/page-design-types.ts +259 -0
  169. package/src/utils/page-helper-util.ts +850 -0
  170. package/src/utils/page-init-util.ts +291 -0
  171. package/src/utils/page-permission-util.ts +521 -0
  172. package/src/utils/store-util.ts +41 -0
  173. package/src/utils/store.ts +3 -0
  174. package/src/utils/table-utils.ts +31 -0
  175. package/dist/es/index.d.ts +0 -5
  176. package/dist/es/runtime/utils/charts/chart-util.js +0 -15
  177. package/dist/es/wf-editor/wf-editor.css +0 -4
  178. package/dist/lib/index.d.ts +0 -5
  179. package/dist/lib/runtime/utils/charts/chart-util.js +0 -15
  180. package/dist/lib/wf-editor/wf-editor.css +0 -4
  181. /package/dist/es/{index.js → components/index.js} +0 -0
  182. /package/dist/es/{runtime → components/runtime}/index.js +0 -0
  183. /package/dist/es/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
  184. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
  185. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  186. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  187. /package/dist/es/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  188. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  189. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  190. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  191. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  192. /package/dist/es/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  193. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  194. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  195. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  196. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  197. /package/dist/es/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  198. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
  199. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  200. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  201. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
  202. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  203. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
  204. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  205. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  206. /package/dist/es/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  207. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  208. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  209. /package/dist/es/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
  210. /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
  211. /package/dist/es/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
  212. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  213. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  214. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  215. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  216. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  217. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  218. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  219. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
  220. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
  221. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  222. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  223. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  224. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  225. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
  226. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  227. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  228. /package/dist/es/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  229. /package/dist/es/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
  230. /package/dist/es/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  231. /package/dist/es/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
  232. /package/dist/es/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
  233. /package/dist/es/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
  234. /package/dist/es/{wf-editor → components/wf-editor}/index.js +0 -0
  235. /package/dist/es/{assets → src/assets}/chart-themes/theme1.js +0 -0
  236. /package/dist/es/{assets → src/assets}/chart-themes/theme2.js +0 -0
  237. /package/dist/es/{assets → src/assets}/chart-themes/theme3.js +0 -0
  238. /package/dist/es/{components/runtime → src}/utils/api/api-util.d.ts +0 -0
  239. /package/dist/es/{runtime → src}/utils/api/api-util.js +0 -0
  240. /package/dist/es/{components/runtime → src}/utils/common-util.d.ts +0 -0
  241. /package/dist/es/{runtime → src}/utils/common-util.js +0 -0
  242. /package/dist/es/{runtime → src}/utils/events/event-util.js +0 -0
  243. /package/dist/es/{components/runtime → src}/utils/events/standard-event.d.ts +0 -0
  244. /package/dist/es/{runtime → src}/utils/events/standard-event.js +0 -0
  245. /package/dist/es/{components/runtime → src}/utils/events/validator-util.d.ts +0 -0
  246. /package/dist/es/{runtime → src}/utils/events/validator-util.js +0 -0
  247. /package/dist/es/{components/runtime → src}/utils/global-refs.d.ts +0 -0
  248. /package/dist/es/{runtime → src}/utils/global-refs.js +0 -0
  249. /package/dist/es/{components/runtime → src}/utils/interfaces/page-design-types.d.ts +0 -0
  250. /package/dist/es/{runtime → src}/utils/interfaces/page-design-types.js +0 -0
  251. /package/dist/es/{components/runtime → src}/utils/page-helper-util.d.ts +0 -0
  252. /package/dist/es/{runtime → src}/utils/page-helper-util.js +0 -0
  253. /package/dist/es/{components/runtime → src}/utils/page-init-util.d.ts +0 -0
  254. /package/dist/es/{runtime → src}/utils/page-init-util.js +0 -0
  255. /package/dist/es/{components/runtime → src}/utils/store-util.d.ts +0 -0
  256. /package/dist/es/{runtime → src}/utils/store-util.js +0 -0
  257. /package/dist/es/{components/runtime → src}/utils/store.d.ts +0 -0
  258. /package/dist/es/{runtime → src}/utils/store.js +0 -0
  259. /package/dist/es/{runtime → src}/utils/table-utils.js +0 -0
  260. /package/dist/lib/{index.js → components/index.js} +0 -0
  261. /package/dist/lib/{runtime → components/runtime}/index.js +0 -0
  262. /package/dist/lib/{runtime → components/runtime}/utils/assemblys-config.js +0 -0
  263. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button/button-runtime.vue.js +0 -0
  264. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  265. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  266. /package/dist/lib/{runtime → components/runtime}/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  267. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  268. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  269. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  270. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  271. /package/dist/lib/{runtime → components/runtime}/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  272. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  273. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  274. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  275. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  276. /package/dist/lib/{runtime → components/runtime}/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  277. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue.js +0 -0
  278. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  279. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  280. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/container/container-runtime.vue.js +0 -0
  281. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  282. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/form/form-runtime.vue.js +0 -0
  283. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  284. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  285. /package/dist/lib/{runtime → components/runtime}/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  286. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  287. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  288. /package/dist/lib/{runtime → components/runtime}/views/assemblys/data/table/table-runtime.vue.js +0 -0
  289. /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue.js +0 -0
  290. /package/dist/lib/{runtime → components/runtime}/views/assemblys/error-render.vue2.js +0 -0
  291. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  292. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  293. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  294. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  295. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  296. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  297. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  298. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/label/label-runtime.vue.js +0 -0
  299. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/link/link-runtime.vue.js +0 -0
  300. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  301. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  302. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  303. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  304. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/select/select-runtime.vue.js +0 -0
  305. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  306. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  307. /package/dist/lib/{runtime → components/runtime}/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  308. /package/dist/lib/{runtime → components/runtime}/views/assemblys/object-render.vue2.js +0 -0
  309. /package/dist/lib/{runtime → components/runtime}/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  310. /package/dist/lib/{runtime → components/runtime}/views/super-page.vue2.js +0 -0
  311. /package/dist/lib/{super-page-dialog → components/super-page-dialog}/index.js +0 -0
  312. /package/dist/lib/{super-page-dialog → components/super-page-dialog}/super-page-dialog.vue2.js +0 -0
  313. /package/dist/lib/{wf-editor → components/wf-editor}/index.js +0 -0
  314. /package/dist/lib/{assets → src/assets}/chart-themes/theme1.js +0 -0
  315. /package/dist/lib/{assets → src/assets}/chart-themes/theme2.js +0 -0
  316. /package/dist/lib/{assets → src/assets}/chart-themes/theme3.js +0 -0
  317. /package/dist/lib/{components/runtime → src}/utils/api/api-util.d.ts +0 -0
  318. /package/dist/lib/{runtime → src}/utils/api/api-util.js +0 -0
  319. /package/dist/lib/{components/runtime → src}/utils/common-util.d.ts +0 -0
  320. /package/dist/lib/{runtime → src}/utils/common-util.js +0 -0
  321. /package/dist/lib/{runtime → src}/utils/events/event-util.js +0 -0
  322. /package/dist/lib/{components/runtime → src}/utils/events/standard-event.d.ts +0 -0
  323. /package/dist/lib/{runtime → src}/utils/events/standard-event.js +0 -0
  324. /package/dist/lib/{components/runtime → src}/utils/events/validator-util.d.ts +0 -0
  325. /package/dist/lib/{runtime → src}/utils/events/validator-util.js +0 -0
  326. /package/dist/lib/{components/runtime → src}/utils/global-refs.d.ts +0 -0
  327. /package/dist/lib/{runtime → src}/utils/global-refs.js +0 -0
  328. /package/dist/lib/{components/runtime → src}/utils/interfaces/page-design-types.d.ts +0 -0
  329. /package/dist/lib/{runtime → src}/utils/interfaces/page-design-types.js +0 -0
  330. /package/dist/lib/{components/runtime → src}/utils/page-helper-util.d.ts +0 -0
  331. /package/dist/lib/{runtime → src}/utils/page-helper-util.js +0 -0
  332. /package/dist/lib/{components/runtime → src}/utils/page-init-util.d.ts +0 -0
  333. /package/dist/lib/{runtime → src}/utils/page-init-util.js +0 -0
  334. /package/dist/lib/{components/runtime → src}/utils/store-util.d.ts +0 -0
  335. /package/dist/lib/{runtime → src}/utils/store-util.js +0 -0
  336. /package/dist/lib/{components/runtime → src}/utils/store.d.ts +0 -0
  337. /package/dist/lib/{runtime → src}/utils/store.js +0 -0
  338. /package/dist/lib/{runtime → src}/utils/table-utils.js +0 -0
@@ -0,0 +1,96 @@
1
+ import { getSystemBackendUrl } from 'agilebuilder-ui/src/utils/common-util'
2
+ import { getLanguageWithLocale } from 'agilebuilder-ui/src/utils/util'
3
+ import { getPageStoreKey } from './store-util'
4
+ export function isArrayFn(value) {
5
+ // 首先判断浏览器是否支持Array.isArray这个方法
6
+ if (typeof Array.isArray === 'function') {
7
+ return Array.isArray(value)
8
+ } else {
9
+ return Object.prototype.toString.call(value) === '[object Array]'
10
+ // return obj.__proto__ === Array.prototype;
11
+ }
12
+ }
13
+
14
+ export function getBaseUrl(system) {
15
+ // window['$vueApp'].config.globalProperties.baseURL 应该是自定义扩展系统的后台访问路径
16
+ let baseUrl = window['$vueApp'].config.globalProperties.baseURL
17
+ if (system) {
18
+ baseUrl = getSystemBackendUrl(system.backendUrl)
19
+ }
20
+ return baseUrl
21
+ }
22
+
23
+ export function getRealRestApiPath(orgRestApiPath, system) {
24
+ let path = orgRestApiPath
25
+ if (orgRestApiPath) {
26
+ if (system && !isFullPath(orgRestApiPath)) {
27
+ const baseUrl = getBaseUrl(system)
28
+ if (system.standard === false) {
29
+ // 自定义系统
30
+ // 扩展系统的后台地址格式为:/dsc/systemCode/xxx/x,例如:/dsc/demo/orders/list,配置的路径为/orders/list即可
31
+ path = baseUrl + '/' + system.code + orgRestApiPath
32
+ } else {
33
+ // 标准系统
34
+ path = baseUrl + orgRestApiPath
35
+ }
36
+ }
37
+ }
38
+ return path
39
+ }
40
+
41
+ // 表示是全路径
42
+ function isFullPath(path) {
43
+ return path.indexOf('http:') === 0 || path.indexOf('https:') === 0
44
+ }
45
+
46
+ /**
47
+ * 封装模板文件列表
48
+ * @param templateFiles
49
+ * @returns
50
+ */
51
+ export function packageTemplateFiles(templateFiles) {
52
+ if (!templateFiles) {
53
+ return templateFiles
54
+ }
55
+ const currentLocale = getLanguageWithLocale()
56
+ if (Array.isArray(templateFiles)) {
57
+ // 表示是上传的多个模板
58
+ let templateFilesResult = []
59
+ let fileCodes = []
60
+ const fileSeperate = '~-~-'
61
+ templateFiles.forEach((template) => {
62
+ let showName = template.templateShowPath
63
+ if (showName.indexOf(fileSeperate) > 0) {
64
+ // 表示是多语言模板
65
+ const fileCode = showName.substring(0, showName.indexOf(fileSeperate))
66
+ const fileLanguage = showName.substring(
67
+ showName.indexOf(fileSeperate) + fileSeperate.length,
68
+ showName.lastIndexOf(fileSeperate)
69
+ )
70
+ const fileName = showName.substring(
71
+ showName.lastIndexOf(fileSeperate) + fileSeperate.length
72
+ )
73
+ if (currentLocale === fileLanguage && fileCodes.indexOf(fileCode) < 0) {
74
+ templateFilesResult.push({
75
+ templateUUID: template.templateUUID,
76
+ templateShowPath: fileName
77
+ })
78
+ fileCodes.push(fileCode)
79
+ }
80
+ } else {
81
+ templateFilesResult.push(template)
82
+ }
83
+ })
84
+ return templateFilesResult
85
+ }
86
+ }
87
+
88
+ // 首字母大写
89
+ export function upperFirstCase(str) {
90
+ return str.toLowerCase().replace(/( |^)[a-z]/g, (L) => L.toUpperCase()) // 执行代码
91
+ }
92
+
93
+ // 获得列表编码
94
+ export function getListCode(pageCode, pageVersion, tableUuid) {
95
+ return pageCode + ':V' + pageVersion + ':' + tableUuid
96
+ }
@@ -0,0 +1,237 @@
1
+ import type { Component } from '../../../src/utils/interfaces/page-design-types'
2
+ /**
3
+ * 生成通用的样式和Class
4
+ */
5
+ export function caculateCommonStyle(
6
+ configure: Component,
7
+ commonStyle: any,
8
+ commonClass: any
9
+ ): void {
10
+ //清空设置
11
+ const tempStyle: any = {}
12
+ let tempClass = ''
13
+ const thisProps = configure.props ? configure.props : {}
14
+ const thisStyle = configure.style ? configure.style : {}
15
+ const thisSize = thisProps.size ? thisProps.size : {}
16
+ //宽度
17
+ //固定
18
+ //默认按100
19
+ if (thisSize.widthType == 'fix' && thisSize.fixWidth) {
20
+ tempStyle['width'] = thisSize.fixWidth
21
+ if (!tempStyle['width'].indexOf || tempStyle['width'].indexOf('px') == -1) {
22
+ tempStyle['width'] = tempStyle['width'] + 'px'
23
+ }
24
+ } else {
25
+ if (thisSize.flexSpan) {
26
+ tempClass += ' el-col-' + thisSize.flexSpan
27
+ } else {
28
+ tempClass += ' el-col-24'
29
+ }
30
+ }
31
+ //margin
32
+ //外边距 设计有套一层,在此设置外部的边距
33
+ if (thisStyle.marginTop) {
34
+ tempStyle['margin-top'] = thisStyle.marginTop + 'px'
35
+ }
36
+ if (thisStyle.marginRight) {
37
+ tempStyle['margin-right'] = thisStyle.marginRight + 'px'
38
+ }
39
+ if (thisStyle.marginBottom) {
40
+ tempStyle['margin-bottom'] = thisStyle.marginBottom + 'px'
41
+ }
42
+ if (thisStyle.marginLeft) {
43
+ tempStyle['margin-left'] = thisStyle.marginLeft + 'px'
44
+ }
45
+ //高度
46
+ if (thisSize.fixHeight) {
47
+ tempStyle['height'] = thisSize.fixHeight
48
+ if (!tempStyle['height'].indexOf || tempStyle['height'].indexOf('px') == -1) {
49
+ tempStyle['height'] = tempStyle['height'] + 'px'
50
+ }
51
+ }
52
+ //检查是否固定位置
53
+ const position = thisProps.position
54
+ //工具栏位置
55
+ if (position == 'top' || position == 'bottom') {
56
+ //position: -webkit-sticky
57
+ tempStyle['position'] = 'fixed !important'
58
+ tempStyle['z-index'] = '1'
59
+ //找展示容器的位置
60
+ //const contentObj = document.getElementsByClassName("amb-design-board");
61
+ const contentObj = [thisRef.value.parentNode]
62
+ if (contentObj && contentObj.length > 0) {
63
+ const contentRec = contentObj[0].getBoundingClientRect()
64
+ if (position == 'top') {
65
+ tempStyle['top'] = contentRec.top + 'px'
66
+ }
67
+ if (position == 'bottom') {
68
+ tempStyle['bottom'] = '10px'
69
+ }
70
+ }
71
+ //宽
72
+ const thisRec = thisRef.value.getBoundingClientRect()
73
+ tempStyle['width'] = thisRec.width + 'px'
74
+ } else if (thisStyle.position) {
75
+ //按定位设置
76
+ tempStyle['position'] = thisStyle.position
77
+ if (thisStyle.position != 'relative') {
78
+ //其余需要默认当前的宽度
79
+ if (!tempStyle['width']) {
80
+ const thisRec = thisRef.value.getBoundingClientRect()
81
+ tempStyle['width'] = thisRec.width + 'px'
82
+ }
83
+ if (thisStyle.left) {
84
+ tempStyle['left'] = thisStyle.left + 'px'
85
+ }
86
+ if (thisStyle.top) {
87
+ tempStyle['top'] = thisStyle.top + 'px'
88
+ }
89
+ }
90
+ }
91
+ commonStyle.value = tempStyle
92
+ commonClass.value = tempClass
93
+ }
94
+
95
+ /**
96
+ * 样式转换
97
+ * @param configure
98
+ * @param designStyle 动态样式名
99
+ * @param designClass 动态class
100
+ */
101
+ export function caculateComponentStyle(
102
+ configure: any,
103
+ designStyle: any,
104
+ designClass: any,
105
+ designHeaderStyle: any
106
+ ): void {
107
+ //清空设置
108
+ const tempStyle: any = {}
109
+ const tempHeaderStyle: any = {}
110
+ let tempClass = ''
111
+ //从默认值中获取
112
+ let defineStyle: any = {}
113
+ if (configure.default && configure.default.style) {
114
+ Object.assign(defineStyle, configure.default.style)
115
+ }
116
+ //设计内容覆盖
117
+ if (configure.style) {
118
+ for (let pro in configure.style) {
119
+ const proValue = configure.style[pro]
120
+ if (proValue != undefined && proValue != null && proValue != '') {
121
+ defineStyle[pro] = proValue
122
+ }
123
+ }
124
+ }
125
+
126
+ //加粗
127
+ if (defineStyle.fontWeight) {
128
+ tempStyle['font-weight'] = 'bold'
129
+ }
130
+ //倾斜
131
+ if (defineStyle.incline) {
132
+ tempStyle['font-style'] = 'italic'
133
+ }
134
+ //字号
135
+ if (defineStyle.fontSize) {
136
+ tempStyle['font-size'] = defineStyle.fontSize
137
+ }
138
+ //颜色
139
+ if (defineStyle.color) {
140
+ tempStyle['color'] = defineStyle.color
141
+ }
142
+ if (defineStyle.textAlign) {
143
+ tempStyle['text-align'] = defineStyle.textAlign
144
+ }
145
+ //背景颜色
146
+ if (defineStyle.backgroundColor) {
147
+ tempStyle['background-color'] = defineStyle.backgroundColor
148
+ }
149
+ //背景图片 待设置
150
+ //内边距
151
+ if (defineStyle.paddingTop) {
152
+ tempStyle['padding-top'] = defineStyle.paddingTop + 'px'
153
+ }
154
+ if (defineStyle.paddingRight) {
155
+ tempStyle['padding-right'] = defineStyle.paddingRight + 'px'
156
+ }
157
+ if (defineStyle.paddingBottom) {
158
+ tempStyle['padding-bottom'] = defineStyle.paddingBottom + 'px'
159
+ }
160
+ if (defineStyle.paddingLeft) {
161
+ tempStyle['padding-left'] = defineStyle.paddingLeft + 'px'
162
+ }
163
+ //线宽
164
+ if (defineStyle.borderWidth && defineStyle.borderColor) {
165
+ tempStyle['border'] =
166
+ defineStyle.borderWidth +
167
+ 'px ' +
168
+ (defineStyle.borderType ? defineStyle.borderType : 'solid') +
169
+ ' ' +
170
+ defineStyle.borderColor
171
+ //线框圆角
172
+ if (defineStyle.radius) {
173
+ tempStyle['border-radius'] = defineStyle.radius + 'px'
174
+ }
175
+ }
176
+
177
+ //阴影
178
+ if (defineStyle.shadowColor) {
179
+ let shadow = (defineStyle.shadowTop ? defineStyle.shadowTop : '0') + 'px '
180
+ shadow += (defineStyle.shadowRight ? defineStyle.shadowRight : '0') + 'px '
181
+ shadow += (defineStyle.shadowBottom ? defineStyle.shadowBottom : '0') + 'px '
182
+ shadow += (defineStyle.shadowLeft ? defineStyle.shadowLeft : '0') + 'px '
183
+ shadow += defineStyle.shadowColor
184
+ tempStyle['box-shadow'] = shadow
185
+ }
186
+
187
+ //自定义class
188
+ if (defineStyle.customClass) {
189
+ tempClass += ' ' + defineStyle.customClass.replace(/;/g, ' ')
190
+ }
191
+
192
+ //自定义样式
193
+ if (defineStyle.customStyle) {
194
+ const strs = defineStyle.customStyle.replace(/[\r\n]/g, '').split(';')
195
+ for (let index = 0; index < strs.length; index++) {
196
+ const ss = strs[index].split(':')
197
+ if (ss.length > 1 && ss[0] && ss[1]) {
198
+ if (!isNaN(ss[0])) {
199
+ continue
200
+ }
201
+ tempStyle[ss[0]] = ss[1]
202
+ }
203
+ }
204
+ }
205
+ //标题的样式
206
+ //加粗
207
+ if (defineStyle.headerFontWeight) {
208
+ tempHeaderStyle['font-weight'] = 'bold'
209
+ }
210
+ //倾斜
211
+ if (defineStyle.headerIncline) {
212
+ tempHeaderStyle['font-style'] = 'italic'
213
+ }
214
+ //字号
215
+ if (defineStyle.headerFontSize) {
216
+ tempHeaderStyle['font-size'] = defineStyle.headerFontSize
217
+ }
218
+ //颜色
219
+ if (defineStyle.headerColor) {
220
+ tempHeaderStyle['color'] = defineStyle.headerColor
221
+ }
222
+ if (defineStyle.headerTextAlign) {
223
+ tempHeaderStyle['text-align'] = defineStyle.headerTextAlign
224
+ } else {
225
+ tempHeaderStyle['text-align'] = 'left'
226
+ }
227
+ //背景颜色
228
+ if (defineStyle.headerBackgroundColor) {
229
+ tempHeaderStyle['background-color'] = defineStyle.headerBackgroundColor
230
+ }
231
+
232
+ designStyle.value = tempStyle
233
+ designClass.value = tempClass
234
+ if (designHeaderStyle) {
235
+ designHeaderStyle.value = tempHeaderStyle
236
+ }
237
+ }
@@ -0,0 +1,14 @@
1
+ import mitt from 'mitt'
2
+
3
+ const emitter = mitt()
4
+ interface eventBus {
5
+ $on: any
6
+ $emit: any
7
+ $off: any
8
+ }
9
+ const bus: eventBus = {
10
+ $on: emitter.on,
11
+ $emit: emitter.emit,
12
+ $off: emitter.off
13
+ }
14
+ export default bus