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,157 +0,0 @@
1
- import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
2
- import { getVariableValue, setVariableValue, getOptionDatasFromPage, autoSetAfterSelect, queryOptionDatasources } from "../../../../../../src/utils/page-helper-util.js";
3
- import { getFormModelFields } from "../../../../../../src/utils/page-init-util.js";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "checkbox-runtime",
6
- props: {
7
- pageContext: {},
8
- configure: {}
9
- },
10
- setup(__props, { expose: __expose }) {
11
- const props = __props;
12
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
13
- let dynamicFields = getFormModelFields(props.pageContext, props.configure);
14
- const dynamicModelMethod = computed({
15
- get() {
16
- return getVariableValue(entity, dynamicFields);
17
- },
18
- set(value) {
19
- setVariableValue(entity, dynamicFields, value);
20
- }
21
- });
22
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
23
- const runtimeStyle = runtimeInfo.style;
24
- const runtimeClass = runtimeInfo.class;
25
- const headerStyle = runtimeInfo.headerStyle;
26
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
- const listOptions = ref(designProperty.options ? designProperty.options : []);
28
- const cacheOptions = getOptionDatasFromPage(props.pageContext, props.configure);
29
- if (cacheOptions.length > 0) {
30
- listOptions.value = cacheOptions;
31
- }
32
- const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
33
- const valueType = dataOrigin.optionValueSetType;
34
- let autoSets = [];
35
- if (valueType == "dynamicData" || valueType == "dynamicData" || valueType == "service") {
36
- if (dataOrigin.autoSets) {
37
- for (let obj of dataOrigin.autoSets) {
38
- if (obj.source) {
39
- autoSets.push(obj);
40
- }
41
- }
42
- }
43
- }
44
- if (props.configure && props.configure.props && props.configure.props.base && props.configure.props.base.optionProp) {
45
- autoSets.push({
46
- source: "label",
47
- target: props.configure.props.base.optionProp
48
- });
49
- }
50
- if (autoSets.length > -1) {
51
- designProperty.changeMethod = optionChange;
52
- }
53
- const monitorFields = designProperty.monitorFields;
54
- const monitorFieldInfos = [];
55
- if (monitorFields) {
56
- const preFields = [];
57
- for (let propName of monitorFields) {
58
- if (propName.startsWith("${")) {
59
- propName = propName.substring(2, propName.length - 1);
60
- const fields = propName.split(".");
61
- if (fields[0] === "page" || fields[0] === "task" || fields[0] === "data") {
62
- monitorFieldInfos.push(fields);
63
- if (!preFields.includes(fields[0])) {
64
- preFields.push(fields[0]);
65
- }
66
- }
67
- }
68
- }
69
- for (let preField of preFields) {
70
- watch(entity[preField], () => {
71
- monitorFieldChange();
72
- });
73
- }
74
- }
75
- function getMonitorFieldValues() {
76
- let values = "";
77
- for (let fieldInfo of monitorFieldInfos) {
78
- values += "_" + getVariableValue(entity, fieldInfo);
79
- }
80
- return values;
81
- }
82
- let initMonitorValue = getMonitorFieldValues();
83
- let monitorTimeout = false;
84
- const optionconfigInfo = designProperty.optionconfigInfo ? designProperty.optionconfigInfo : {};
85
- function monitorFieldChange() {
86
- if (monitorTimeout) {
87
- clearTimeout(monitorTimeout);
88
- }
89
- monitorTimeout = setTimeout(function() {
90
- const newValue = getMonitorFieldValues();
91
- if (newValue == initMonitorValue) {
92
- return;
93
- }
94
- initMonitorValue = newValue;
95
- queryOptionDatasources(props.pageContext, optionconfigInfo, void 0).then((error) => {
96
- console.log("查询失败!", error);
97
- });
98
- }, 200);
99
- }
100
- function optionChange(value) {
101
- let selItems = null;
102
- if (listOptions.value && value != void 0 && value != null) {
103
- selItems = listOptions.value.filter((item) => {
104
- return Array.isArray(value) ? value.includes(item.value) : value === item.value;
105
- });
106
- }
107
- autoSetAfterSelect(props.configure, props.pageContext, autoSets, selItems);
108
- }
109
- function updateOptions(newOptions) {
110
- listOptions.value = newOptions ? newOptions : [];
111
- }
112
- __expose({
113
- updateOptions
114
- });
115
- return (_ctx, _cache) => {
116
- const _component_el_checkbox = resolveComponent("el-checkbox");
117
- const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
118
- const _component_el_form_item = resolveComponent("el-form-item");
119
- return openBlock(), createBlock(_component_el_form_item, {
120
- class: normalizeClass(unref(runtimeClass)),
121
- "label-width": unref(designProperty).labelWidth,
122
- style: normalizeStyle(unref(runtimeStyle))
123
- }, {
124
- label: withCtx(() => [
125
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
126
- key: 0,
127
- style: normalizeStyle({ ...unref(headerStyle) })
128
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
129
- ]),
130
- default: withCtx(() => [
131
- createVNode(_component_el_checkbox_group, {
132
- disabled: unref(designProperty).state === "disabled",
133
- size: unref(designProperty).size,
134
- onChange: unref(designProperty).changeMethod,
135
- modelValue: dynamicModelMethod.value,
136
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
137
- }, {
138
- default: withCtx(() => [
139
- (openBlock(true), createElementBlock(Fragment, null, renderList(listOptions.value, (item) => {
140
- return openBlock(), createBlock(_component_el_checkbox, {
141
- key: item.value,
142
- value: item.value,
143
- label: item.label
144
- }, null, 8, ["value", "label"]);
145
- }), 128))
146
- ]),
147
- _: 1
148
- }, 8, ["disabled", "size", "onChange", "modelValue"])
149
- ]),
150
- _: 1
151
- }, 8, ["class", "label-width", "style"]);
152
- };
153
- }
154
- });
155
- export {
156
- _sfc_main as default
157
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./datepicker-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,83 +0,0 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode } from "vue";
2
- import { getFormModelFields } from "../../../../../../src/utils/page-init-util.js";
3
- import { getVariableValue, setVariableValue } from "../../../../../../src/utils/page-helper-util.js";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "datepicker-runtime",
6
- props: {
7
- pageContext: {},
8
- configure: {}
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
13
- let dynamicFields = getFormModelFields(props.pageContext, props.configure);
14
- const dynamicModelMethod = computed({
15
- get() {
16
- return getVariableValue(entity, dynamicFields);
17
- },
18
- set(value) {
19
- setVariableValue(entity, dynamicFields, value);
20
- }
21
- });
22
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
23
- const runtimeStyle = runtimeInfo.style;
24
- const runtimeClass = runtimeInfo.class;
25
- const headerStyle = runtimeInfo.headerStyle;
26
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
- return (_ctx, _cache) => {
28
- const _component_el_time_picker = resolveComponent("el-time-picker");
29
- const _component_el_date_picker = resolveComponent("el-date-picker");
30
- const _component_el_form_item = resolveComponent("el-form-item");
31
- return openBlock(), createBlock(_component_el_form_item, {
32
- required: unref(designProperty).required,
33
- class: normalizeClass(unref(runtimeClass)),
34
- "label-width": unref(designProperty).labelWidth,
35
- style: normalizeStyle(unref(runtimeStyle))
36
- }, {
37
- label: withCtx(() => [
38
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
39
- key: 0,
40
- style: normalizeStyle({ ...unref(headerStyle) })
41
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
42
- ]),
43
- default: withCtx(() => [
44
- unref(designProperty).dateType == "time" || unref(designProperty).dateType == "timerange" ? (openBlock(), createBlock(_component_el_time_picker, {
45
- key: 0,
46
- "is-range": unref(designProperty).dateType == "timerange",
47
- "range-separator": "-",
48
- clearable: unref(designProperty).clearable,
49
- disabled: unref(designProperty).state === "disabled",
50
- readonly: unref(designProperty).state === "readonly",
51
- size: unref(designProperty).size,
52
- placeholder: unref(designProperty).placeholder,
53
- "start-placeholder": unref(designProperty).placeholder,
54
- "end-placeholder": unref(designProperty).endPlaceholder,
55
- format: unref(designProperty).format,
56
- modelValue: dynamicModelMethod.value,
57
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
58
- shortcuts: unref(designProperty).shortcuts,
59
- type: unref(designProperty).dateType
60
- }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"])) : (openBlock(), createBlock(_component_el_date_picker, {
61
- key: 1,
62
- clearable: unref(designProperty).clearable,
63
- disabled: unref(designProperty).state === "disabled",
64
- readonly: unref(designProperty).state === "readonly",
65
- size: unref(designProperty).size,
66
- placeholder: unref(designProperty).placeholder,
67
- "start-placeholder": unref(designProperty).placeholder,
68
- "end-placeholder": unref(designProperty).endPlaceholder,
69
- format: unref(designProperty).format,
70
- modelValue: dynamicModelMethod.value,
71
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dynamicModelMethod.value = $event),
72
- shortcuts: unref(designProperty).shortcuts,
73
- type: unref(designProperty).dateType
74
- }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "modelValue", "shortcuts", "type"]))
75
- ]),
76
- _: 1
77
- }, 8, ["required", "class", "label-width", "style"]);
78
- };
79
- }
80
- });
81
- export {
82
- _sfc_main as default
83
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./depttree-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,60 +0,0 @@
1
- import { defineComponent, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
- import { getFormModelFields } from "../../../../../../src/utils/page-init-util.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "depttree-runtime",
5
- props: {
6
- pageContext: {},
7
- configure: {}
8
- },
9
- setup(__props) {
10
- const props = __props;
11
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
12
- if (!entity.data) {
13
- entity.data = {};
14
- }
15
- const dataModel = entity.data;
16
- let dynamicFields = getFormModelFields(props.pageContext, props.configure);
17
- const fieldName = dynamicFields.length > 0 ? dynamicFields[dynamicFields.length - 1] : props.configure.uuid;
18
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
19
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
20
- const runtimeStyle = runtimeInfo.style;
21
- const runtimeClass = runtimeInfo.class;
22
- const headerStyle = runtimeInfo.headerStyle;
23
- const autoSetFields = designProperty.autoSetFields ? designProperty.autoSetFields : [];
24
- return (_ctx, _cache) => {
25
- const _component_OrganizationInput = resolveComponent("OrganizationInput");
26
- const _component_el_form_item = resolveComponent("el-form-item");
27
- return openBlock(), createBlock(_component_el_form_item, {
28
- required: unref(designProperty).required,
29
- class: normalizeClass(unref(runtimeClass)),
30
- "label-width": unref(designProperty).labelWidth,
31
- style: normalizeStyle(unref(runtimeStyle))
32
- }, {
33
- label: withCtx(() => [
34
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
35
- key: 0,
36
- style: normalizeStyle({ ...unref(headerStyle) })
37
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
38
- ]),
39
- default: withCtx(() => [
40
- createVNode(_component_OrganizationInput, {
41
- disabled: unref(designProperty).state == "disabled",
42
- multiple: unref(designProperty).multiple,
43
- treeType: unref(designProperty).treeType,
44
- modelValue: unref(dataModel)[unref(fieldName)],
45
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(dataModel)[unref(fieldName)] = $event),
46
- models: unref(dataModel),
47
- fields: unref(autoSetFields),
48
- size: unref(designProperty).size,
49
- placeholder: "请选择",
50
- separator: unref(designProperty).separator
51
- }, null, 8, ["disabled", "multiple", "treeType", "modelValue", "models", "fields", "size", "separator"])
52
- ]),
53
- _: 1
54
- }, 8, ["required", "class", "label-width", "style"]);
55
- };
56
- }
57
- });
58
- export {
59
- _sfc_main as default
60
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./divider-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,41 +0,0 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeStyle, toDisplayString } from "vue";
2
- import { formatVariableValue } from "../../../../../../src/utils/page-helper-util.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "divider-runtime",
5
- props: {
6
- pageContext: {},
7
- configure: {}
8
- },
9
- setup(__props) {
10
- const props = __props;
11
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
12
- const headerStyle = runtimeInfo.headerStyle;
13
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
14
- let contentVariable = designProperty.value;
15
- const dynamicValue = computed(() => {
16
- if (!contentVariable) {
17
- return "";
18
- }
19
- const resultValue = formatVariableValue(props.pageContext, contentVariable);
20
- return resultValue == void 0 || resultValue == null ? "" : resultValue;
21
- });
22
- return (_ctx, _cache) => {
23
- const _component_el_divider = resolveComponent("el-divider");
24
- return openBlock(), createBlock(_component_el_divider, {
25
- direction: unref(designProperty).direction,
26
- "border-style": unref(designProperty).borderType,
27
- "content-position": unref(designProperty).titlePosition
28
- }, {
29
- default: withCtx(() => [
30
- createElementVNode("div", {
31
- style: normalizeStyle(unref(headerStyle))
32
- }, toDisplayString(dynamicValue.value), 5)
33
- ]),
34
- _: 1
35
- }, 8, ["direction", "border-style", "content-position"]);
36
- };
37
- }
38
- });
39
- export {
40
- _sfc_main as default
41
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./fileupload-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,75 +0,0 @@
1
- import { defineComponent, watch, resolveComponent, unref, openBlock, createBlock, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
- import { getVariableValue, setVariableValue } from "../../../../../../src/utils/page-helper-util.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- __name: "fileupload-runtime",
5
- props: {
6
- pageContext: {},
7
- configure: {}
8
- },
9
- setup(__props) {
10
- const props = __props;
11
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
12
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
13
- const runtimeStyle = runtimeInfo.style;
14
- const runtimeClass = runtimeInfo.class;
15
- const headerStyle = runtimeInfo.headerStyle;
16
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
17
- const propsBase = props.configure.props.base ? props.configure.props.base : {};
18
- propsBase.prop;
19
- const pathFields = getFieldsByVariable(propsBase.prop);
20
- const nameFields = getFieldsByVariable(propsBase.propName);
21
- const initNames = getVariableValue(entity, nameFields);
22
- const initPaths = getVariableValue(entity, pathFields);
23
- const fileInfo = ref({
24
- name: initNames ? initNames : "",
25
- serverPath: initPaths ? initPaths : ""
26
- });
27
- watch(fileInfo, () => {
28
- setVariableValue(entity, nameFields, fileInfo.name);
29
- setVariableValue(entity, pathFields, fileInfo.serverPath);
30
- });
31
- function getFieldsByVariable(variableName) {
32
- if (!variableName) {
33
- return [];
34
- }
35
- if (variableName.startsWith("${")) {
36
- variableName = variableName.substring(2, variableName.length - 1);
37
- }
38
- return variableName.split(".");
39
- }
40
- return (_ctx, _cache) => {
41
- const _component_FsUploadList = resolveComponent("FsUploadList");
42
- const _component_el_form_item = resolveComponent("el-form-item");
43
- return unref(designProperty).tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
44
- key: 0,
45
- required: unref(designProperty).required,
46
- class: normalizeClass(unref(runtimeClass)),
47
- "label-width": unref(designProperty).labelWidth,
48
- style: normalizeStyle(unref(runtimeStyle))
49
- }, {
50
- label: withCtx(() => [
51
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
52
- key: 0,
53
- style: normalizeStyle({ ...unref(headerStyle) })
54
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
55
- ]),
56
- default: withCtx(() => [
57
- createVNode(_component_FsUploadList, {
58
- disabled: unref(designProperty).state == "disabled",
59
- fileSetObj: unref(designProperty).fileSetObj,
60
- fileInfo: unref(fileInfo)
61
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"])
62
- ]),
63
- _: 1
64
- }, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createBlock(_component_FsUploadList, {
65
- key: 1,
66
- disabled: unref(designProperty).state == "disabled",
67
- fileSetObj: unref(designProperty).fileSetObj,
68
- fileInfo: unref(fileInfo)
69
- }, null, 8, ["disabled", "fileSetObj", "fileInfo"]));
70
- };
71
- }
72
- });
73
- export {
74
- _sfc_main as default
75
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./input-number-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,64 +0,0 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
2
- import { getFormModelFields } from "../../../../../../src/utils/page-init-util.js";
3
- import { getVariableValue, setVariableValue } from "../../../../../../src/utils/page-helper-util.js";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "input-number-runtime",
6
- props: {
7
- pageContext: {},
8
- configure: {}
9
- },
10
- setup(__props) {
11
- const props = __props;
12
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
13
- let dynamicFields = getFormModelFields(props.pageContext, props.configure);
14
- const dynamicModelMethod = computed({
15
- get() {
16
- return getVariableValue(entity, dynamicFields);
17
- },
18
- set(value) {
19
- setVariableValue(entity, dynamicFields, value);
20
- }
21
- });
22
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
23
- const runtimeStyle = runtimeInfo.style;
24
- const runtimeClass = runtimeInfo.class;
25
- const headerStyle = runtimeInfo.headerStyle;
26
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
27
- return (_ctx, _cache) => {
28
- const _component_el_input_number = resolveComponent("el-input-number");
29
- const _component_el_form_item = resolveComponent("el-form-item");
30
- return openBlock(), createBlock(_component_el_form_item, {
31
- required: unref(designProperty).required,
32
- class: normalizeClass(unref(runtimeClass)),
33
- "label-width": unref(designProperty).labelWidth,
34
- style: normalizeStyle(unref(runtimeStyle))
35
- }, {
36
- label: withCtx(() => [
37
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
38
- key: 0,
39
- style: normalizeStyle({ ...unref(headerStyle) })
40
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
41
- ]),
42
- default: withCtx(() => [
43
- createVNode(_component_el_input_number, {
44
- disabled: unref(designProperty).state === "disabled",
45
- readonly: unref(designProperty).state === "readonly",
46
- controls: unref(designProperty).showButton,
47
- size: unref(designProperty).size,
48
- placeholder: unref(designProperty).placeholder,
49
- modelValue: dynamicModelMethod.value,
50
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
51
- precision: unref(designProperty).precision,
52
- step: unref(designProperty).step,
53
- min: unref(designProperty).min,
54
- max: unref(designProperty).max
55
- }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
56
- ]),
57
- _: 1
58
- }, 8, ["required", "class", "label-width", "style"]);
59
- };
60
- }
61
- });
62
- export {
63
- _sfc_main as default
64
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./inputtext-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,128 +0,0 @@
1
- import { defineComponent, computed, resolveComponent, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createSlots, createTextVNode } from "vue";
2
- import { SuperIcon } from "agilebuilder-ui";
3
- import { getFormModelFields } from "../../../../../../src/utils/page-init-util.js";
4
- import { getVariableValue, setVariableValue } from "../../../../../../src/utils/page-helper-util.js";
5
- import { handleEvent } from "../../../../../../src/utils/events/event-util.js";
6
- const _sfc_main = /* @__PURE__ */ defineComponent({
7
- __name: "inputtext-runtime",
8
- props: {
9
- pageContext: {},
10
- configure: {}
11
- },
12
- setup(__props, { expose: __expose }) {
13
- const props = __props;
14
- const entity = props.pageContext.entity ? props.pageContext.entity : {};
15
- let dynamicFields = getFormModelFields(props.pageContext, props.configure);
16
- const dynamicModelMethod = computed({
17
- get() {
18
- return getVariableValue(entity, dynamicFields);
19
- },
20
- set(value) {
21
- setVariableValue(entity, dynamicFields, value);
22
- }
23
- });
24
- const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
25
- const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
26
- const runtimeStyle = runtimeInfo.style;
27
- const runtimeClass = runtimeInfo.class;
28
- const headerStyle = runtimeInfo.headerStyle;
29
- function getValue() {
30
- return getVariableValue(entity, dynamicFields);
31
- }
32
- function setValue(value) {
33
- return setVariableValue(entity, dynamicFields, value);
34
- }
35
- __expose({
36
- getValue,
37
- setValue
38
- });
39
- return (_ctx, _cache) => {
40
- const _component_el_input = resolveComponent("el-input");
41
- const _component_el_form_item = resolveComponent("el-form-item");
42
- return openBlock(), createBlock(_component_el_form_item, {
43
- required: unref(designProperty).required ? true : false,
44
- class: normalizeClass(unref(runtimeClass)),
45
- "label-width": unref(designProperty).labelWidth,
46
- style: normalizeStyle(unref(runtimeStyle))
47
- }, {
48
- label: withCtx(() => [
49
- unref(designProperty).tittleShow ? (openBlock(), createElementBlock("div", {
50
- key: 0,
51
- style: normalizeStyle({ ...unref(headerStyle) })
52
- }, toDisplayString(unref(designProperty).title), 5)) : createCommentVNode("", true)
53
- ]),
54
- default: withCtx(() => [
55
- createVNode(_component_el_input, {
56
- disabled: unref(designProperty).state === "disabled",
57
- readonly: unref(designProperty).state === "readonly",
58
- size: unref(designProperty).size,
59
- clearable: unref(designProperty).clearable,
60
- placeholder: unref(designProperty).placeholder,
61
- maxlength: unref(designProperty).maxLength,
62
- "show-word-limit": unref(designProperty).showInputNum,
63
- modelValue: dynamicModelMethod.value,
64
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
65
- onInput: _cache[1] || (_cache[1] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
66
- onChange: _cache[2] || (_cache[2] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
67
- onBlur: _cache[3] || (_cache[3] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
68
- onFocus: _cache[4] || (_cache[4] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
69
- onClick: _cache[5] || (_cache[5] = ($event) => unref(handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
70
- }, createSlots({ _: 2 }, [
71
- unref(designProperty).iconPosition != "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
72
- name: "prefix",
73
- fn: withCtx(() => [
74
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
75
- key: 0,
76
- iconType: unref(designProperty).preIconType,
77
- iconValue: unref(designProperty).preIconValue
78
- }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
79
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
80
- ]),
81
- key: "0"
82
- } : void 0,
83
- unref(designProperty).iconPosition == "outer" && (unref(designProperty).preIconType && unref(designProperty).preIconValue || unref(designProperty).preText) ? {
84
- name: "prepend",
85
- fn: withCtx(() => [
86
- unref(designProperty).preIconType && unref(designProperty).preIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
87
- key: 0,
88
- iconType: unref(designProperty).preIconType,
89
- iconValue: unref(designProperty).preIconValue
90
- }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
91
- createTextVNode(" " + toDisplayString(unref(designProperty).preText), 1)
92
- ]),
93
- key: "1"
94
- } : void 0,
95
- unref(designProperty).iconPosition != "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
96
- name: "suffix",
97
- fn: withCtx(() => [
98
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
99
- key: 0,
100
- iconType: unref(designProperty).sufIconType,
101
- iconValue: unref(designProperty).sufIconValue
102
- }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
103
- createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
104
- ]),
105
- key: "2"
106
- } : void 0,
107
- unref(designProperty).iconPosition == "outer" && (unref(designProperty).sufIconType && unref(designProperty).sufIconValue || unref(designProperty).sufText) ? {
108
- name: "append",
109
- fn: withCtx(() => [
110
- unref(designProperty).sufIconType && unref(designProperty).sufIconValue ? (openBlock(), createBlock(unref(SuperIcon), {
111
- key: 0,
112
- iconType: unref(designProperty).sufIconType,
113
- iconValue: unref(designProperty).sufIconValue
114
- }, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
115
- createTextVNode(" " + toDisplayString(unref(designProperty).sufText), 1)
116
- ]),
117
- key: "3"
118
- } : void 0
119
- ]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])
120
- ]),
121
- _: 1
122
- }, 8, ["required", "class", "label-width", "style"]);
123
- };
124
- }
125
- });
126
- export {
127
- _sfc_main as default
128
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./label-runtime.vue2.js";
2
- export {
3
- _sfc_main as default
4
- };