super-page-runtime 1.0.15 → 1.0.17

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 (271) hide show
  1. package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue2.js +1 -1
  2. package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +1 -1
  3. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  4. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  5. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  6. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  7. package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  8. package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
  9. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue.js +4 -4
  10. package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +5 -5
  11. package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +2 -2
  12. package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
  13. package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +1 -1
  14. package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
  15. package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  16. package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
  17. package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
  18. package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
  19. package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
  20. package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  21. package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +2 -2
  22. package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue2.js +2 -2
  23. package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
  24. package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +2 -2
  25. package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +2 -2
  26. package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue.js +4 -4
  27. package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
  28. package/{dist/lib/components → lib}/runtime/views/super-page.vue.js +7 -7
  29. package/{dist/lib/components → lib}/wf-editor/wf-editor.vue.js +1 -1
  30. package/package.json +5 -5
  31. package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -10
  32. package/dist/es/components/index.js +0 -8
  33. package/dist/es/components/runtime/index.js +0 -4
  34. package/dist/es/components/runtime/utils/assemblys-config.js +0 -257
  35. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
  36. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -55
  37. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -4
  38. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -36
  39. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
  40. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -111
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -54
  43. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -4
  44. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -43
  45. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -4
  46. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -51
  47. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -4
  48. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -51
  49. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -52
  51. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -142
  52. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
  53. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -128
  54. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
  55. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -105
  56. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
  57. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -4
  58. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -73
  59. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
  60. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -74
  61. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
  62. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -79
  63. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
  64. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -43
  65. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
  66. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -44
  67. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
  68. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -30
  69. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -4
  70. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -69
  71. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -4
  72. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -75
  73. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -641
  74. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
  75. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -453
  76. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
  77. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
  78. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -83
  79. package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -23
  80. package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
  81. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
  82. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -157
  83. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
  84. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -83
  85. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
  86. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -60
  87. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
  88. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -41
  89. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
  90. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -75
  91. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
  92. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -64
  93. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
  94. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -128
  95. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -4
  96. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -134
  97. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
  98. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -78
  99. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -4
  100. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -30
  101. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
  102. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -158
  103. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -4
  104. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -175
  105. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
  106. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -202
  107. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
  108. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -64
  109. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
  110. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -64
  111. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
  112. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -66
  113. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -143
  114. package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
  115. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -4
  116. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -62
  117. package/dist/es/components/runtime/views/super-page.vue.js +0 -480
  118. package/dist/es/components/runtime/views/super-page.vue2.js +0 -4
  119. package/dist/es/components/super-page-dialog/index.js +0 -4
  120. package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +0 -74
  121. package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +0 -4
  122. package/dist/es/components/wf-editor/index.js +0 -4
  123. package/dist/es/components/wf-editor/wf-editor.vue.js +0 -16
  124. package/dist/es/src/assets/chart-themes/theme1.js +0 -8
  125. package/dist/es/src/assets/chart-themes/theme2.js +0 -8
  126. package/dist/es/src/assets/chart-themes/theme3.js +0 -8
  127. package/dist/es/src/utils/api/api-util.js +0 -128
  128. package/dist/es/src/utils/charts/chart-util.js +0 -15
  129. package/dist/es/src/utils/common-util.js +0 -81
  130. package/dist/es/src/utils/events/event-util.js +0 -525
  131. package/dist/es/src/utils/events/standard-event.js +0 -1623
  132. package/dist/es/src/utils/events/validator-util.js +0 -389
  133. package/dist/es/src/utils/global-refs.js +0 -65
  134. package/dist/es/src/utils/interfaces/page-design-types.js +0 -9
  135. package/dist/es/src/utils/page-helper-util.js +0 -503
  136. package/dist/es/src/utils/page-init-util.js +0 -200
  137. package/dist/es/src/utils/store-util.js +0 -17
  138. package/dist/es/src/utils/store.js +0 -4
  139. package/dist/es/src/utils/table-utils.js +0 -23
  140. package/dist/favicon.ico +0 -0
  141. package/dist/lib/components/index.d.ts +0 -5
  142. package/dist/lib/components/runtime/index.d.ts +0 -3
  143. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
  144. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  145. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  146. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  147. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  148. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
  149. package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
  150. package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
  151. package/dist/lib/components/wf-editor/index.d.ts +0 -3
  152. package/dist/lib/components/wf-editor/wf-editor.css +0 -4
  153. package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
  154. package/dist/lib/favicon.ico +0 -0
  155. package/dist/lib/src/utils/api/api-util.d.ts +0 -11
  156. package/dist/lib/src/utils/common-util.d.ts +0 -11
  157. package/dist/lib/src/utils/events/event-util.d.ts +0 -48
  158. package/dist/lib/src/utils/events/standard-event.d.ts +0 -61
  159. package/dist/lib/src/utils/events/validator-util.d.ts +0 -4
  160. package/dist/lib/src/utils/global-refs.d.ts +0 -59
  161. package/dist/lib/src/utils/interfaces/page-design-types.d.ts +0 -221
  162. package/dist/lib/src/utils/page-helper-util.d.ts +0 -87
  163. package/dist/lib/src/utils/page-init-util.d.ts +0 -38
  164. package/dist/lib/src/utils/store-util.d.ts +0 -15
  165. package/dist/lib/src/utils/store.d.ts +0 -2
  166. package/lib/components/index.js +0 -8
  167. /package/{dist/lib → lib}/_virtual/_plugin-vue_export-helper.js +0 -0
  168. /package/{dist/es → lib}/components/index.d.ts +0 -0
  169. /package/{dist/es → lib}/components/runtime/index.d.ts +0 -0
  170. /package/{dist/es → lib}/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -0
  171. /package/{dist/es → lib}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -0
  172. /package/{dist/es → lib}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -0
  173. /package/{dist/es → lib}/components/runtime/views/assemblys/error-render.vue.d.ts +0 -0
  174. /package/{dist/es → lib}/components/runtime/views/assemblys/object-render.vue.d.ts +0 -0
  175. /package/{dist/es → lib}/components/runtime/views/super-page.vue.d.ts +0 -0
  176. /package/{dist/es → lib}/components/super-page-dialog/index.d.ts +0 -0
  177. /package/{dist/es → lib}/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -0
  178. /package/{dist/es → lib}/components/wf-editor/index.d.ts +0 -0
  179. /package/{dist/es → lib}/components/wf-editor/wf-editor.vue.d.ts +0 -0
  180. /package/{dist/es → lib}/favicon.ico +0 -0
  181. /package/{dist/lib/components → lib}/index.js +0 -0
  182. /package/{dist/lib/components → lib}/runtime/index.js +0 -0
  183. /package/{dist/lib/components → lib}/runtime/utils/assemblys-config.js +0 -0
  184. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -0
  185. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -0
  186. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -0
  187. /package/{dist/lib/components → lib}/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -0
  188. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -0
  189. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -0
  190. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -0
  191. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -0
  192. /package/{dist/lib/components → lib}/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -0
  193. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -0
  194. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -0
  195. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -0
  196. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -0
  197. /package/{dist/lib/components → lib}/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -0
  198. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -0
  199. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -0
  200. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -0
  201. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -0
  202. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -0
  203. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -0
  204. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -0
  205. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -0
  206. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -0
  207. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -0
  208. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -0
  209. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -0
  210. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -0
  211. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -0
  212. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -0
  213. /package/{dist/lib/components → lib}/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -0
  214. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -0
  215. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -0
  216. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -0
  217. /package/{dist/lib/components → lib}/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -0
  218. /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue.js +0 -0
  219. /package/{dist/lib/components → lib}/runtime/views/assemblys/error-render.vue2.js +0 -0
  220. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -0
  221. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -0
  222. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -0
  223. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -0
  224. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -0
  225. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -0
  226. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -0
  227. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -0
  228. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -0
  229. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -0
  230. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -0
  231. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -0
  232. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -0
  233. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -0
  234. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -0
  235. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -0
  236. /package/{dist/lib/components → lib}/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -0
  237. /package/{dist/lib/components → lib}/runtime/views/assemblys/object-render.vue2.js +0 -0
  238. /package/{dist/lib/components → lib}/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -0
  239. /package/{dist/lib/components → lib}/runtime/views/super-page.vue2.js +0 -0
  240. /package/{dist/lib → lib}/src/assets/chart-themes/theme1.js +0 -0
  241. /package/{dist/lib → lib}/src/assets/chart-themes/theme2.js +0 -0
  242. /package/{dist/lib → lib}/src/assets/chart-themes/theme3.js +0 -0
  243. /package/{dist/es → lib}/src/utils/api/api-util.d.ts +0 -0
  244. /package/{dist/lib → lib}/src/utils/api/api-util.js +0 -0
  245. /package/{dist/lib → lib}/src/utils/charts/chart-util.js +0 -0
  246. /package/{dist/es → lib}/src/utils/common-util.d.ts +0 -0
  247. /package/{dist/lib → lib}/src/utils/common-util.js +0 -0
  248. /package/{dist/es → lib}/src/utils/events/event-util.d.ts +0 -0
  249. /package/{dist/lib → lib}/src/utils/events/event-util.js +0 -0
  250. /package/{dist/es → lib}/src/utils/events/standard-event.d.ts +0 -0
  251. /package/{dist/lib → lib}/src/utils/events/standard-event.js +0 -0
  252. /package/{dist/es → lib}/src/utils/events/validator-util.d.ts +0 -0
  253. /package/{dist/lib → lib}/src/utils/events/validator-util.js +0 -0
  254. /package/{dist/es → lib}/src/utils/global-refs.d.ts +0 -0
  255. /package/{dist/lib → lib}/src/utils/global-refs.js +0 -0
  256. /package/{dist/es → lib}/src/utils/interfaces/page-design-types.d.ts +0 -0
  257. /package/{dist/lib → lib}/src/utils/interfaces/page-design-types.js +0 -0
  258. /package/{dist/es → lib}/src/utils/page-helper-util.d.ts +0 -0
  259. /package/{dist/lib → lib}/src/utils/page-helper-util.js +0 -0
  260. /package/{dist/es → lib}/src/utils/page-init-util.d.ts +0 -0
  261. /package/{dist/lib → lib}/src/utils/page-init-util.js +0 -0
  262. /package/{dist/es → lib}/src/utils/store-util.d.ts +0 -0
  263. /package/{dist/lib → lib}/src/utils/store-util.js +0 -0
  264. /package/{dist/es → lib}/src/utils/store.d.ts +0 -0
  265. /package/{dist/lib → lib}/src/utils/store.js +0 -0
  266. /package/{dist/lib → lib}/src/utils/table-utils.js +0 -0
  267. /package/{dist/lib/components → lib}/super-page-dialog/index.js +0 -0
  268. /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue.js +0 -0
  269. /package/{dist/lib/components → lib}/super-page-dialog/super-page-dialog.vue2.js +0 -0
  270. /package/{dist/lib/components → lib}/wf-editor/index.js +0 -0
  271. /package/{dist/es/components → lib}/wf-editor/wf-editor.css +0 -0
@@ -1,389 +0,0 @@
1
- import Validator from "async-validator";
2
- import { ElMessage } from "element-plus";
3
- import { getComponentRef } from "../global-refs.js";
4
- import { getI18n } from "agilebuilder-ui/src/utils/util";
5
- function setObjectPropRule(prop, rules, leafRule) {
6
- const rule = {};
7
- if (!rules) {
8
- rules = {};
9
- }
10
- let num = 0;
11
- const props = prop.split(".");
12
- props.forEach((subProp) => {
13
- let objectRule;
14
- if (num === props.length - 1) {
15
- objectRule = getEndObjectRule(rule, props, subProp);
16
- objectRule.fields[subProp] = leafRule;
17
- } else {
18
- let lastObjectRule;
19
- if (num === 0) {
20
- objectRule = rules;
21
- } else {
22
- lastObjectRule = getLastObjectRule(rule, props, props[num - 1]);
23
- objectRule = lastObjectRule.fields;
24
- }
25
- if (!objectRule[subProp]) {
26
- objectRule[subProp] = {
27
- type: "object",
28
- required: true,
29
- fields: {}
30
- };
31
- }
32
- if (num === 0) {
33
- rule[subProp] = objectRule[subProp];
34
- } else {
35
- lastObjectRule.fields[subProp] = objectRule[subProp];
36
- }
37
- }
38
- num++;
39
- });
40
- return rule;
41
- }
42
- function getLastObjectRule(rule, props, currentProp) {
43
- let lastObjectdRule;
44
- for (let i = 0; i < props.length; i++) {
45
- const subProp = props[i];
46
- if (i === 0) {
47
- lastObjectdRule = rule[subProp];
48
- } else {
49
- lastObjectdRule = lastObjectdRule.fields[props[i]];
50
- }
51
- if (subProp === currentProp) {
52
- break;
53
- }
54
- }
55
- return lastObjectdRule;
56
- }
57
- function getEndObjectRule(rule, props, currentProp) {
58
- let lastObjectdRule;
59
- for (let i = 0; i < props.length; i++) {
60
- if (i === 0) {
61
- lastObjectdRule = rule[props[i]];
62
- } else {
63
- lastObjectdRule = lastObjectdRule.fields[props[i]];
64
- }
65
- if (i !== props.length - 1) {
66
- const leafSubProp = props[i + 1];
67
- if (leafSubProp === currentProp) {
68
- break;
69
- }
70
- }
71
- }
72
- return lastObjectdRule;
73
- }
74
- function getValidator(columns) {
75
- const rules = {};
76
- if (columns) {
77
- columns.forEach((editField) => {
78
- const prop = editField.model;
79
- if (prop && editField.validations) {
80
- const validations = editField.validations;
81
- if (prop.indexOf(".") > 0) {
82
- setObjectPropRule(editField.prop, rules, validations);
83
- } else {
84
- if (validations && validations.length > 0) {
85
- rules[prop] = [...validations];
86
- }
87
- }
88
- }
89
- });
90
- }
91
- return rules;
92
- }
93
- function validator(entity, rules, columns, rowIndex, isSql) {
94
- return validatorEntity(entity, rules, columns, rowIndex, true, isSql);
95
- }
96
- function sublistVerify(rules) {
97
- if (!rules) {
98
- return;
99
- }
100
- Object.keys(rules).forEach((item) => {
101
- if (item.indexOf(".") >= 0) {
102
- let ruleKetArr = [];
103
- ruleKetArr = item.split(".");
104
- if (rules[ruleKetArr[0]]) {
105
- rules[ruleKetArr[0]].fields[ruleKetArr[1]] = rules[item][0];
106
- } else {
107
- rules[ruleKetArr[0]] = new Object();
108
- rules[ruleKetArr[0]].fields = new Object();
109
- rules[ruleKetArr[0]].fields[ruleKetArr[1]] = rules[item][0];
110
- rules[ruleKetArr[0]].type = "object";
111
- }
112
- delete rules[item];
113
- }
114
- });
115
- return rules;
116
- }
117
- function validatorEntity(entity, rules, columns, rowIndex, isShouldRepeateValdate, isSql) {
118
- let validateRules = sublistVerify(rules);
119
- if ((!rules || rules === null) && columns) {
120
- validateRules = getValidator(columns);
121
- }
122
- if (!validateRules || Object.keys(validateRules).length === 0) {
123
- entity["validateErrorField"] = "";
124
- return true;
125
- }
126
- let result;
127
- const validator2 = new Validator(validateRules);
128
- validator2.validate(
129
- entity,
130
- {
131
- first: true
132
- },
133
- (errors, fields) => {
134
- let fieldName;
135
- if (errors) {
136
- result = errors[0].message;
137
- fieldName = errors[0]["field"];
138
- if (typeof rowIndex !== "undefined" && rowIndex !== null) {
139
- result = getI18n().t("superPageRuntimeMessage.recordLine", {
140
- row: rowIndex + 1
141
- }) + "," + result;
142
- }
143
- ElMessage({
144
- message: result,
145
- showClose: true,
146
- type: "warning",
147
- duration: 3 * 1e3
148
- });
149
- console.log("errors", errors, "fields", fields);
150
- } else {
151
- result = true;
152
- }
153
- if (fieldName && isShouldRepeateValdate === true) {
154
- const reg1 = /[A-Z]+/;
155
- if (isSql !== void 0 && isSql === true && reg1.test(fieldName) && entity[fieldName.toLowerCase()] !== void 0) {
156
- const copyEntity = JSON.parse(JSON.stringify(entity));
157
- copyEntity[fieldName.toUpperCase()] = entity[fieldName.toLowerCase()];
158
- delete copyEntity[fieldName.toLowerCase()];
159
- result = validatorEntity(copyEntity, rules, columns, rowIndex, false, isSql);
160
- }
161
- }
162
- }
163
- );
164
- return result;
165
- }
166
- function validateDataModelFunc(pageContext, configureObj, isEnableRequired) {
167
- const dataModel = pageContext.entity.data;
168
- const pageModel = pageContext.entity.page;
169
- const data = { ...pageModel, ...dataModel };
170
- const rules = pageContext.rules;
171
- if (isEnableRequired === void 0 || isEnableRequired === null) {
172
- isEnableRequired = configureObj.props.verification.required;
173
- if (typeof isEnableRequired === "undefined") {
174
- isEnableRequired = true;
175
- }
176
- }
177
- return validateDataModel(isEnableRequired, data, rules, pageContext);
178
- }
179
- function validateDataModel(isEnableRequired, dataModel, rules, pageContext) {
180
- if (isEnableRequired) {
181
- const isWorkflow = pageContext.workflowCode ? true : false;
182
- const customRules = pageContext.customRules;
183
- if (isWorkflow) {
184
- return validateWorkflowFormDataModel(dataModel, pageContext, customRules);
185
- } else {
186
- return validateCommonFormDataModel(dataModel, pageContext, rules, customRules);
187
- }
188
- } else {
189
- return new Promise((resolve, reject) => {
190
- resolve(true);
191
- });
192
- }
193
- }
194
- function validateWorkflowFormDataModel(dataModel, pageContext, customRules) {
195
- return new Promise((resolve, reject) => {
196
- const additionalParamMap = pageContext.entity.request;
197
- const contextParameter = pageContext.entity.context;
198
- const taskParamMap = pageContext.entity.task;
199
- const isSql = true;
200
- const subTablePageInfo = pageContext.subTablePageInfo;
201
- let workflowFieldPermissionRules = window["$vueApp"].config.globalProperties.$getValidator(
202
- pageContext.completeTaskParam.fieldPermissions,
203
- dataModel,
204
- isSql,
205
- additionalParamMap,
206
- taskParamMap,
207
- contextParameter
208
- );
209
- workflowFieldPermissionRules = packageCustomRules(customRules, workflowFieldPermissionRules);
210
- let result = false;
211
- if (!workflowFieldPermissionRules) {
212
- result = true;
213
- } else {
214
- result = window["$vueApp"].config.globalProperties.$formValidator(
215
- dataModel,
216
- workflowFieldPermissionRules,
217
- isSql,
218
- additionalParamMap,
219
- taskParamMap,
220
- contextParameter,
221
- subTablePageInfo
222
- );
223
- }
224
- if (result !== true) {
225
- ElMessage({
226
- showClose: true,
227
- message: result + "",
228
- type: "warning"
229
- });
230
- resolve(false);
231
- } else {
232
- const validatorResult = [];
233
- const customUuids = pageContext.customValidatorUuids;
234
- if (customUuids) {
235
- customUuids.forEach((componentUuid) => {
236
- const customRef = getComponentRef(pageContext, componentUuid);
237
- if (customRef) {
238
- validatorResult.push(customRef.validator());
239
- }
240
- });
241
- }
242
- if (validatorResult && validatorResult.length > 0) {
243
- Promise.all(validatorResult).then((values) => {
244
- if (values.includes(false)) {
245
- resolve(false);
246
- } else {
247
- if (Object.keys(dataModel).indexOf("validateErrorField") >= 0) {
248
- delete dataModel.validateErrorField;
249
- }
250
- resolve(dataModel);
251
- }
252
- });
253
- } else {
254
- if (Object.keys(dataModel).indexOf("validateErrorField") >= 0) {
255
- delete dataModel.validateErrorField;
256
- }
257
- resolve(dataModel);
258
- }
259
- }
260
- });
261
- }
262
- function validateCommonFormDataModel(dataModel, pageContext, rules, customRules) {
263
- return new Promise((resolve, reject) => {
264
- const handleModels = JSON.parse(JSON.stringify(dataModel));
265
- rules = packageCustomRules(customRules, rules);
266
- if (!rules) {
267
- resolve(handleModels);
268
- } else {
269
- const validateEntityResult = validator(handleModels, rules, null, null, true);
270
- if (validateEntityResult === true) {
271
- const validateResult = validateSubTables(pageContext);
272
- if (validateResult === true) {
273
- if (Object.keys(handleModels).indexOf("validateErrorField") >= 0) {
274
- delete handleModels.validateErrorField;
275
- }
276
- resolve(handleModels);
277
- } else {
278
- reject(
279
- new Error(
280
- getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")
281
- ).message
282
- );
283
- }
284
- } else {
285
- reject(new Error(getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
286
- }
287
- }
288
- });
289
- }
290
- function packageCustomRules(orgCustomRules, orgRules) {
291
- if (!orgCustomRules || !orgRules) {
292
- return;
293
- }
294
- const customRulesKeys = Object.keys(orgCustomRules);
295
- const customRules = orgCustomRules;
296
- customRulesKeys.forEach((key) => {
297
- if (key === "__subRules") {
298
- const subRules = customRules["__subRules"];
299
- const customSubTableKey = Object.keys(subRules);
300
- customSubTableKey.forEach((subTableKey) => {
301
- if (!orgRules.subRules) {
302
- orgRules["subRules"] = {};
303
- }
304
- if (orgRules.subRules[subTableKey]) {
305
- Object.assign(orgRules.subRules[subTableKey], subRules[subTableKey]);
306
- } else {
307
- orgRules.subRules[subTableKey] = subRules[subTableKey];
308
- }
309
- });
310
- } else {
311
- orgRules[key] = customRules[key];
312
- }
313
- });
314
- return sublistVerify(orgRules);
315
- }
316
- function validateSubTables(pageContext) {
317
- if (!pageContext) {
318
- return;
319
- }
320
- const tableUuidArr = pageContext.tableUuids;
321
- if (!tableUuidArr) {
322
- return;
323
- }
324
- for (let i = 0; i < tableUuidArr.length; i++) {
325
- const tableUuid = tableUuidArr[i];
326
- const refDom = getComponentRef(pageContext, tableUuid);
327
- if (refDom) {
328
- const flag = refDom.validatorSunTableListData();
329
- if (!flag) {
330
- return false;
331
- }
332
- }
333
- }
334
- return true;
335
- }
336
- function i18nValidateRulesMessage(rules) {
337
- if (!rules || Object.keys(rules).length === 0) {
338
- return;
339
- }
340
- const newRules = {};
341
- const propNames = Object.keys(rules);
342
- for (let i = 0; i < propNames.length; i++) {
343
- const propName = propNames[i];
344
- const propRules = rules[propName];
345
- propRules.forEach((rule) => {
346
- const label = rule["label"];
347
- const i18nLabel = getI18n().t(label);
348
- if (rule["required"]) {
349
- rule["message"] = getI18n().t("superPageRuntimeMessage.required", { label: i18nLabel });
350
- }
351
- if (rule["myType"]) {
352
- rule["message"] = getI18n().t("superPageRuntimeMessage.formatMismatch", {
353
- label: i18nLabel
354
- });
355
- }
356
- if (rule["patternType"]) {
357
- rule["message"] = getI18n().t("superPageRuntimeMessage.formatMismatch", {
358
- label: i18nLabel
359
- });
360
- }
361
- if (rule["max"] !== void 0 && rule["max"] !== null) {
362
- rule["message"] = getI18n().t("superPageRuntimeMessage.overMaxLength", {
363
- label: i18nLabel,
364
- value: rule["max"]
365
- });
366
- }
367
- if (rule["min"] !== void 0 && rule["min"] !== null) {
368
- rule["message"] = getI18n().t("superPageRuntimeMessage.limitMinLength", {
369
- label: i18nLabel,
370
- value: rule["min"]
371
- });
372
- }
373
- });
374
- if (propName.indexOf(".") > 0) {
375
- setObjectPropRule(propName, newRules, propRules);
376
- } else {
377
- if (propRules && propRules.length > 0) {
378
- newRules[propName] = [...propRules];
379
- }
380
- }
381
- }
382
- return newRules;
383
- }
384
- export {
385
- i18nValidateRulesMessage,
386
- setObjectPropRule,
387
- validateDataModelFunc,
388
- validator
389
- };
@@ -1,65 +0,0 @@
1
- import "vue";
2
- if (!window["globalRefs"]) {
3
- window["globalRefs"] = {};
4
- }
5
- const globalRefs = window["globalRefs"];
6
- function addComponentRef(pageContext, componentUuid, refObj) {
7
- if (!pageContext) {
8
- return;
9
- }
10
- const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
11
- if (!globalRefs[cacheKey]) {
12
- globalRefs[cacheKey] = {};
13
- }
14
- globalRefs[cacheKey][componentUuid] = refObj;
15
- return globalRefs[cacheKey];
16
- }
17
- function addComponentRefByCode(pageContext, componentCode, refObj) {
18
- if (!pageContext) {
19
- return;
20
- }
21
- const cacheKey = getPageRefKeyByCode(pageContext.code, pageContext.version);
22
- if (!globalRefs[cacheKey]) {
23
- globalRefs[cacheKey] = {};
24
- }
25
- globalRefs[cacheKey][componentCode] = refObj;
26
- return globalRefs[cacheKey];
27
- }
28
- function getComponentRef(pageContext, componentUuid) {
29
- if (!pageContext || !componentUuid) {
30
- return;
31
- }
32
- const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
33
- if (!globalRefs[cacheKey]) {
34
- globalRefs[cacheKey] = {};
35
- }
36
- const objRef = globalRefs[cacheKey][componentUuid];
37
- return objRef ? objRef.value : objRef;
38
- }
39
- function removePageAllRef(pageContext) {
40
- if (!pageContext) {
41
- return;
42
- }
43
- const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
44
- globalRefs[cacheKey] = {};
45
- }
46
- function initComponentRefState(pageContext) {
47
- if (!pageContext) {
48
- return;
49
- }
50
- const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
51
- globalRefs[cacheKey] = {};
52
- }
53
- function getPageRefKey(pageCode, pageVersion) {
54
- return "pageRuntimeRef-" + pageCode + "-" + (pageVersion ? pageVersion : 1);
55
- }
56
- function getPageRefKeyByCode(pageCode, pageVersion) {
57
- return getPageRefKey(pageCode, pageVersion) + "-code";
58
- }
59
- export {
60
- addComponentRef,
61
- addComponentRefByCode,
62
- getComponentRef,
63
- initComponentRefState,
64
- removePageAllRef
65
- };
@@ -1,9 +0,0 @@
1
- var PageDimensions = /* @__PURE__ */ ((PageDimensions2) => {
2
- PageDimensions2["PC"] = "pc";
3
- PageDimensions2["IPAD"] = "ipad";
4
- PageDimensions2["PHONE"] = "phone";
5
- return PageDimensions2;
6
- })(PageDimensions || {});
7
- export {
8
- PageDimensions
9
- };