super-page-runtime 2.3.20-sit2 → 2.3.21-tmp1

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 (241) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +124 -133
  2. package/dist/es/components/runtime/utils/events/event-util.js +3 -3
  3. package/dist/es/components/runtime/utils/events/print-label.js +26 -25
  4. package/dist/es/components/runtime/utils/events/standard-event.js +568 -584
  5. package/dist/es/components/runtime/utils/events/validator-util.js +1 -1
  6. package/dist/es/components/runtime/utils/page-init-util.js +11 -9
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
  9. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +8 -6
  10. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +17 -17
  11. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +98 -93
  12. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +3 -2
  13. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  14. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
  15. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -0
  16. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +12 -10
  17. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +8 -8
  18. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +15 -15
  19. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +4 -4
  20. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +34 -34
  21. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  22. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +35 -34
  23. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +5 -3
  24. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -0
  25. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -0
  27. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +17 -15
  28. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +1 -1
  29. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  30. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +6 -6
  31. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +13 -22
  32. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  33. package/dist/es/components/runtime/views/super-page-dialog.vue.js +1 -0
  34. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  35. package/dist/es/components/runtime/views/super-page.vue2.js +76 -75
  36. package/dist/es/i18n/langs/cn.js +1 -1
  37. package/dist/es/i18n/langs/en.js +1 -1
  38. package/dist/es/style.css +76 -76
  39. package/dist/lib/_virtual/_plugin-vue_export-helper.js +6 -0
  40. package/dist/lib/assets/chart-themes/bar-theme.js +2 -0
  41. package/dist/lib/assets/chart-themes/gauge-theme.js +2 -0
  42. package/dist/lib/assets/chart-themes/pie-theme.js +2 -0
  43. package/dist/lib/assets/chart-themes/radar-theme.js +2 -0
  44. package/dist/lib/assets/chart-themes/scatter-theme.js +2 -0
  45. package/dist/lib/assets/file.png.js +2 -0
  46. package/dist/lib/assets/folder.png.js +2 -0
  47. package/dist/lib/components/runtime/utils/ai-chat-util.js +13 -0
  48. package/dist/lib/components/runtime/utils/anchor-util.js +62 -0
  49. package/dist/lib/components/runtime/utils/api/api-util.js +3 -0
  50. package/dist/lib/components/runtime/utils/api/page-expose-util.js +169 -0
  51. package/dist/lib/components/runtime/utils/assemblys-config.js +16 -0
  52. package/dist/lib/components/runtime/utils/barcode-util.js +10 -0
  53. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.js +137 -0
  54. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.js +34 -0
  55. package/dist/lib/components/runtime/utils/charts/chart-pie-util.js +78 -0
  56. package/dist/lib/components/runtime/utils/charts/chart-radar-util.js +52 -0
  57. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.js +43 -0
  58. package/dist/lib/components/runtime/utils/charts/chart-util.js +244 -0
  59. package/dist/lib/components/runtime/utils/common-util.js +91 -0
  60. package/dist/lib/components/runtime/utils/eventBus.js +3 -0
  61. package/dist/lib/components/runtime/utils/events/event-util.js +345 -0
  62. package/dist/lib/components/runtime/utils/events/print-label.js +97 -0
  63. package/dist/lib/components/runtime/utils/events/standard-event.js +1101 -0
  64. package/dist/lib/components/runtime/utils/events/validator-util.js +296 -0
  65. package/dist/lib/components/runtime/utils/form/date-shortcuts.js +34 -0
  66. package/dist/lib/components/runtime/utils/form/scan-util.js +90 -0
  67. package/dist/lib/components/runtime/utils/global-refs.js +42 -0
  68. package/dist/lib/components/runtime/utils/i18n-util.js +11 -0
  69. package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +4 -0
  70. package/dist/lib/components/runtime/utils/page-helper-util.js +354 -0
  71. package/dist/lib/components/runtime/utils/page-init-util.js +244 -0
  72. package/dist/lib/components/runtime/utils/page-permission-util.js +26 -0
  73. package/dist/lib/components/runtime/utils/page-store.js +50 -0
  74. package/dist/lib/components/runtime/utils/store-util.js +11 -0
  75. package/dist/lib/components/runtime/utils/store.js +3 -0
  76. package/dist/lib/components/runtime/utils/table-utils.js +68 -0
  77. package/dist/lib/components/runtime/utils/tree-utils.js +54 -0
  78. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
  79. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +24 -0
  80. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +5 -0
  81. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +17 -0
  82. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
  83. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +35 -0
  84. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +3 -0
  85. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +3 -0
  86. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +3 -0
  87. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +17 -0
  88. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +5 -0
  89. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +41 -0
  90. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +11 -0
  91. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +3 -0
  92. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +11 -0
  93. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +3 -0
  94. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +53 -0
  95. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +3 -0
  96. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +5 -0
  97. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +48 -0
  98. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +5 -0
  99. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +24 -0
  100. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +5 -0
  101. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +34 -0
  102. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +5 -0
  103. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +24 -0
  104. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +5 -0
  105. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +24 -0
  106. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.js +402 -0
  107. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +3 -0
  108. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +3 -0
  109. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.js +6 -0
  110. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +3 -0
  111. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +36 -0
  112. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +3 -0
  113. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +13 -0
  114. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +3 -0
  115. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +3 -0
  116. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +249 -0
  117. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.js +16 -0
  118. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.js +3 -0
  119. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +32 -0
  120. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
  121. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.js +32 -0
  122. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.js +3 -0
  123. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +19 -0
  124. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +3 -0
  125. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +12 -0
  126. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
  127. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.js +21 -0
  128. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +3 -0
  129. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +13 -0
  130. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +3 -0
  131. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +30 -0
  132. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +3 -0
  133. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +15 -0
  134. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
  135. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +5 -0
  136. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +21 -0
  137. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
  138. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +17 -0
  139. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
  140. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +15 -0
  141. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +5 -0
  142. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +27 -0
  143. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +5 -0
  144. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +79 -0
  145. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
  146. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +20 -0
  147. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
  148. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +15 -0
  149. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
  150. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +12 -0
  151. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +5 -0
  152. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +88 -0
  153. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +5 -0
  154. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +43 -0
  155. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +3 -0
  156. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +59 -0
  157. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +382 -0
  158. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
  159. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +322 -0
  160. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
  161. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
  162. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +81 -0
  163. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +5 -0
  164. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +124 -0
  165. package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +3 -0
  166. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
  167. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
  168. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +57 -0
  169. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +35 -0
  170. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +3 -0
  171. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +3 -0
  172. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +57 -0
  173. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
  174. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +91 -0
  175. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
  176. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +47 -0
  177. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
  178. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +20 -0
  179. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
  180. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +65 -0
  181. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
  182. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +20 -0
  183. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
  184. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +70 -0
  185. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +5 -0
  186. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +31 -0
  187. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
  188. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +26 -0
  189. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +5 -0
  190. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +13 -0
  191. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
  192. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +75 -0
  193. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +5 -0
  194. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +188 -0
  195. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
  196. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +130 -0
  197. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +3 -0
  198. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +11 -0
  199. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
  200. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +29 -0
  201. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
  202. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +38 -0
  203. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
  204. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +20 -0
  205. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.js +73 -0
  206. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +3 -0
  207. package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +132 -0
  208. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
  209. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.js +3 -0
  210. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.js +3 -0
  211. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +5 -0
  212. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +23 -0
  213. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +5 -0
  214. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +23 -0
  215. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +5 -0
  216. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +34 -0
  217. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +3 -0
  218. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +17 -0
  219. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +3 -0
  220. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +20 -0
  221. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +5 -0
  222. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +19 -0
  223. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +3 -0
  224. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +14 -0
  225. package/dist/lib/components/runtime/views/home-chart.vue.js +38 -0
  226. package/dist/lib/components/runtime/views/home-chart.vue2.js +3 -0
  227. package/dist/lib/components/runtime/views/super-page-dialog.vue.js +23 -0
  228. package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +3 -0
  229. package/dist/lib/components/runtime/views/super-page.vue.js +5 -0
  230. package/dist/lib/components/runtime/views/super-page.vue2.js +264 -0
  231. package/dist/lib/favicon.ico +0 -0
  232. package/dist/lib/i18n/langs/cn.js +2 -0
  233. package/dist/lib/i18n/langs/en.js +2 -0
  234. package/dist/lib/index.js +6 -0
  235. package/dist/lib/style.css +996 -0
  236. package/dist/umd/favicon.ico +0 -0
  237. package/dist/umd/index.full.min.js +7429 -0
  238. package/dist/umd/style.css +996 -0
  239. package/package.json +2 -2
  240. package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +0 -27
  241. package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
@@ -3,13 +3,13 @@ import { SuperIcon as T } from "agilebuilder-ui";
3
3
  import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
4
4
  import { getModelFieldFromPageContext as w, isNumberDataType as V, setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
5
5
  import { handleFormEvent as _, handleAfterInitEvent as S, doSuffixOrPrefixClickEvent as j } from "../../../../utils/events/event-util.js";
6
- import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as q } from "../../../../utils/form/scan-util.js";
7
- import D from "../common/title-suffix-element.vue.js";
8
- import { isMobileBrowser as M } from "agilebuilder-ui/src/utils/common-util";
9
- import N from "../../../../utils/eventBus.js";
10
- import { $t as P } from "../../../../utils/i18n-util.js";
11
- import { addRequiredClassUtil as z } from "../../../../utils/common-util.js";
12
- const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: J2 }) {
6
+ import { formatScanRuleSets as R, analysisScanValue as O, setScanAnalysisValue as N } from "../../../../utils/form/scan-util.js";
7
+ import q from "../common/title-suffix-element.vue.js";
8
+ import { isMobileBrowser as D } from "agilebuilder-ui/src/utils/common-util";
9
+ import J from "../../../../utils/eventBus.js";
10
+ import { $t as M } from "../../../../utils/i18n-util.js";
11
+ import { addRequiredClassUtil as P } from "../../../../utils/common-util.js";
12
+ const z = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
13
13
  var _a, _b, _c;
14
14
  const L = e2, B = L.pageContext.entity ? L.pageContext.entity : {}, F = t("text");
15
15
  let $ = k(L.pageContext, L.configure);
@@ -17,65 +17,66 @@ const J = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
17
17
  const e3 = w($, L.pageContext);
18
18
  e3 && (F.value = V(e3.dataType) ? "number" : "text");
19
19
  }
20
- const A = t(M()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
20
+ const A = t(D()), E = L.pageContext.code, U = t($ && $.length > 0 ? E + "__" + $.join("__") : null), W = t(null), G = l({ get: () => b(B, $), set(e3) {
21
21
  h(B, $, e3), null != e3 && "" !== e3 && (W.value = "");
22
22
  } }), H = t(null), K = t(null), Q = t(null), X = L.configure.runtime ? L.configure.runtime : {}, Y = t(X.props ? X.props : {}), Z = t(!!((_a = Y.value.scan) == null ? void 0 : _a.enable));
23
23
  let ee = false;
24
24
  const te = window.localStorage.getItem("auth_source");
25
25
  te && "dingtalk" === te && (ee = true);
26
26
  let le = "";
27
- le = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
28
- const ne = !(!A.value || !le || "app" !== le), oe = t(!!((ne || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
29
- let ae = {};
27
+ const ne = navigator.userAgent;
28
+ le = ne.indexOf(" uni-app ") > 0 ? "app" : "browser";
29
+ const oe = !(!A.value || !le || "app" !== le), ae = t(!!((oe || ee) && Z.value || A.value && Z.value && "https:" === window.location.protocol));
30
+ let ue = {};
30
31
  ((_b = Y.value.scan) == null ? void 0 : _b.enable) && ((_c = Y.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (R(Y.value.scan.ruleList).then((e3) => {
31
- ae = e3;
32
+ ue = e3;
32
33
  }), u(() => G.value, (e3) => {
33
34
  e3 = e3.trim();
34
- const t2 = O(e3, ae);
35
- t2 && q(L.pageContext, t2.scanSet, t2.params);
35
+ const t2 = O(e3, ue);
36
+ t2 && N(L.pageContext, t2.scanSet, t2.params);
36
37
  }));
37
- const ue = X.style, ie = X.class, re = X.headerStyle, pe = X.titleExceedStyle;
38
- function se(e3) {
38
+ const ie = X.style, re = X.class, pe = X.headerStyle, se = X.titleExceedStyle;
39
+ function ce(e3) {
39
40
  return h(B, $, e3);
40
41
  }
41
42
  n(() => {
42
- N.$on(U.value + "-scanDone", (e3) => {
43
- se(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
43
+ J.$on(U.value + "-scanDone", (e3) => {
44
+ U.value, JSON.stringify(e3), ce(e3.result), _(e3.result, L.pageContext, L.configure, "afterScanDone");
44
45
  }), o(() => {
45
46
  var _a2;
46
47
  const e3 = G.value;
47
- S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), oe.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && ve();
48
+ S(e3, L.pageContext, L.configure, { formItemRef: H.value, componentRef: K.value, titleRef: Q.value, value: e3, entity: L.pageContext.entity.data, pageData: L.pageContext.entity.page }), ae.value && ((_a2 = Y.value.scan) == null ? void 0 : _a2.autoOpen) && fe();
48
49
  });
49
50
  }), a(() => {
50
- N.$off(U.value + "-scanDone");
51
+ J.$off(U.value + "-scanDone");
51
52
  });
52
- const ce = t(false);
53
- function ve() {
54
- if (ne || ee) {
53
+ const ve = t(false);
54
+ function fe() {
55
+ if (oe || ee) {
55
56
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
56
- ee && (e3.type = "dingTalkScan"), window.parent.parent ? window.parent.parent.postMessage(JSON.stringify(e3), "*") : window.parent && window.parent.postMessage(JSON.stringify(e3), "*");
57
- } else if (A.value) if ("https:" === window.location.protocol) ce.value = true;
57
+ ee && (e3.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e3), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e3), "*"));
58
+ } else if (A.value) if ("https:" === window.location.protocol) ve.value = true;
58
59
  else {
59
60
  const e3 = { type: "scan", componentId: U.value, systemCode: L.pageContext.systemCode };
60
61
  window.parent.postMessage(JSON.stringify(e3), "*");
61
62
  }
62
- else ce.value = true;
63
+ else ve.value = true;
63
64
  }
64
- function fe(e3) {
65
- ce.value = false, se(e3);
65
+ function ye(e3) {
66
+ ve.value = false, ce(e3);
66
67
  }
67
- return J2({ getValue: function() {
68
+ return z2({ getValue: function() {
68
69
  return b(B, $);
69
- }, setValue: se, scanClick: ve, addRequiredClass: function() {
70
- W.value = z();
70
+ }, setValue: ce, scanClick: fe, addRequiredClass: function() {
71
+ W.value = P();
71
72
  } }), (e3, t2) => {
72
73
  const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
73
- return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(ie) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ue)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(re), ...v(pe) }) }, [Y.value.prefixType ? (p(), r(D, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(P)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
74
+ return p(), r(o2, { ref_key: "formItemRef", ref: H, required: !!Y.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Y.value.labelWidth, style: s(v(ie)) }, { label: f(() => [Y.value.tittleShow ? (p(), C("div", { key: 0, ref_key: "titleRef", ref: Q, style: s({ ...v(pe), ...v(se) }) }, [Y.value.prefixType ? (p(), r(q, { key: 0, pageContext: e3.pageContext, property: Y.value }, null, 8, ["pageContext", "property"])) : (p(), C(I, { key: 1 }, [d(x(v(M)(Y.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [y(l2, { ref_key: "componentRef", ref: K, disabled: "disabled" === Y.value.state, readonly: "readonly" === Y.value.state, size: Y.value.size, clearable: Y.value.clearable, placeholder: Y.value.placeholder, maxlength: Y.value.maxLength, "show-word-limit": Y.value.showInputNum, type: F.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
74
75
  let t3 = b(B, $);
75
76
  null != t3 && (t3 = t3.trim()), h(B, $, t3), _(e5, L.pageContext, L.configure, "blur");
76
- }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "2" } : void 0, oe.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [oe.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => ve()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(P)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ce.value ? (p(), r(n2, { key: 0, onClose: fe })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
77
+ }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(_)(t3, e3.pageContext, e3.configure, "clear")) }, m({ _: 2 }, ["outer" != Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prefix", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "0" } : void 0, "outer" == Y.value.iconPosition && (Y.value.preIconType && Y.value.preIconValue || Y.value.preText) ? { name: "prepend", fn: f(() => [Y.value.preIconType && Y.value.preIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.preIconType, iconValue: Y.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.preText)), 1)]), key: "1" } : void 0, "outer" != Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "suffix", fn: f(() => [Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Y.value.iconPosition && (Y.value.sufIconType && Y.value.sufIconValue || Y.value.sufText) ? { name: "append", fn: f(() => [ae.value ? (p(), r(v(T), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => fe()) })) : g("", true), Y.value.sufIconType && Y.value.sufIconValue ? (p(), r(v(T), { key: 1, style: { cursor: "pointer" }, iconType: Y.value.sufIconType, iconValue: Y.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(j)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(M)(Y.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (p(), r(n2, { key: 0, onClose: ye })) : g("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
77
78
  };
78
79
  } });
79
80
  export {
80
- J as default
81
+ z as default
81
82
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as i, createBlock as o, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as m } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as a, resolveComponent as u, createElementBlock as o, createBlock as i, openBlock as s, normalizeStyle as p, normalizeClass as r, unref as f, createElementVNode as c, toDisplayString as v, withCtx as y, createCommentVNode as g, createTextVNode as m } from "vue";
2
2
  import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as d, formatValueByType as h } from "../../../../utils/page-helper-util.js";
4
4
  import { SuperIcon as k } from "agilebuilder-ui";
@@ -8,7 +8,9 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
8
8
  const R = e2, S = R.pageContext.entity ? R.pageContext.entity : {};
9
9
  let P = x(R.pageContext, R.configure);
10
10
  const q = R.configure.runtime ? R.configure.runtime : {}, O = q.style, A = q.class, z = q.headerStyle, D = q.appendClass, E = q.appendStyle, F = q.titleExceedStyle, N = t(q.props ? q.props : {});
11
- const W = t(N.value.options ? N.value.options : []), B = N.value.formatType, G = l(() => {
11
+ const W = t(N.value.options ? N.value.options : []), B = N.value.formatType;
12
+ N.value;
13
+ const G = l(() => {
12
14
  let e3 = d(S, P);
13
15
  if (B) if (N.value.hasOptions) {
14
16
  let t2 = null;
@@ -28,7 +30,7 @@ const I = { style: { width: "100%", "text-align": "center", "font-weight": "700"
28
30
  W.value = e3 || [];
29
31
  } }), (e3, t2) => {
30
32
  const l2 = u("el-form-item");
31
- return N.value.whetherTittle ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), o(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), i("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), o(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m("  " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), i("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), o(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), i("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), i("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
33
+ return N.value.whetherTittle ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: K, class: r(f(A)), style: p(f(O)) }, [c("div", I, v(N.value.title), 1)], 6)) : N.value.tittleShow ? (s(), i(l2, { key: 1, ref_key: "formItemRef", ref: H, required: !!N.value.required, class: r([f(A), N.value.contentAlign ? "form-item-align-" + N.value.contentAlign : "formNo" === N.value.showType ? "form-item-align-flex-end" : ""]), "label-width": N.value.labelWidth, style: p(f(O)) }, { label: y(() => [N.value.tittleShow ? (s(), o("div", { key: 0, ref_key: "titleRef", ref: K, style: p({ ...f(z), ...f(F) }) }, v(f(_)(N.value.title)), 5)) : g("", true)]), default: y(() => [c("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: J, onClick: t2[0] || (t2[0] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", b, [N.value.preIconValue || N.value.preText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }), style: p(f(E)) }, [N.value.preIconType && N.value.preIconValue ? (s(), i(f(k), { key: 0, iconType: N.value.preIconType, iconValue: N.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(f(_)(N.value.preText)), 1)], 6)) : g("", true), m("  " + v(G.value), 1)]), N.value.sufIconValue || N.value.sufText ? (s(), o("span", { key: 0, class: r({ "el-input__suffix": "outer" != N.value.iconPosition, "el-input-group__append": "outer" == N.value.iconPosition }) }, [N.value.sufIconType && N.value.sufIconValue ? (s(), i(f(k), { key: 0, style: {}, iconType: N.value.sufIconType, iconValue: N.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : g("", true), c("span", null, " " + v(f(_)(N.value.sufText)), 1)], 2)) : g("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (s(), o("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: t2[1] || (t2[1] = (t3) => f(C)(t3, e3.pageContext, e3.configure, "click")) }, [c("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: G.value }, v(N.value.prefixIcon) + " " + v(G.value), 9, V), N.value.suffixTxt ? (s(), o("span", { key: 0, class: r(f(D)), style: p(f(E)) }, v(N.value.suffixTxt), 7)) : g("", true)]));
32
34
  };
33
35
  } });
34
36
  export {
@@ -5,6 +5,7 @@ import { handleAfterInitEvent as k, handleEvent as x } from "../../../../utils/e
5
5
  import { $t as C } from "../../../../utils/i18n-util.js";
6
6
  const _ = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
7
7
  const _2 = e2, h = y(_2.pageContext, _2.configure), R = _2.configure.runtime ? _2.configure.runtime : {}, j = R.style, w = R.class, I = R.headerStyle, S = t(R.props ? R.props : {});
8
+ S.value;
8
9
  let $ = S.value.formatting;
9
10
  const D = _2.pageContext.entity ? _2.pageContext.entity : {}, V = l(() => {
10
11
  let e3 = b(D, h);
@@ -157,7 +157,7 @@ const N = { class: "toolbar-right-btns" }, R = ["title"], _ = { class: "richtext
157
157
  const n2 = ne.root.getElementsByTagName("img");
158
158
  for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = l2.url, e6.setAttribute("data-uuid", l2.uuid));
159
159
  } catch (e5) {
160
- Ee();
160
+ console.error("上传图片失败", e5), Ee();
161
161
  } finally {
162
162
  ae.value = false;
163
163
  }
@@ -104,6 +104,7 @@ const W = { style: { "padding-left": "5px" } }, B = { style: { width: "100%" } }
104
104
  e3.on("success", () => {
105
105
  P({ showClose: true, type: "success", message: $("superPageRuntimeMessage.copySuccess") });
106
106
  }), e3.on("error", (e4) => {
107
+ console.error("复制失败", e4);
107
108
  }), n(() => {
108
109
  const e4 = ae.value;
109
110
  M(e4, G.pageContext, G.configure, { formItemRef: ye.value, componentRef: be.value, titleRef: xe.value, value: e4, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
@@ -1,14 +1,14 @@
1
- import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as p, openBlock as a, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as m, nextTick as d } from "vue";
1
+ import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as p, openBlock as a, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as d, nextTick as m } from "vue";
2
2
  import C from "./error-render.vue.js";
3
3
  import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
4
4
  import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
5
5
  import { addComponentRef as h, addComponentRefByCode as x } from "../../utils/global-refs.js";
6
- import { getPermissionCodes as y, packageFormRules as j, controlObjectRenderState as w } from "../../utils/page-init-util.js";
6
+ import { getPermissionCodes as y, packageFormRules as w, controlObjectRenderState as j } from "../../utils/page-init-util.js";
7
7
  import { caculateShowCondition as M, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
8
- import { isWorkflowPage as T, getPropClassName as $, isNumber as N } from "../../utils/common-util.js";
9
- import { isShowMobileEvent as O, isShowComponent as P } from "../../utils/events/event-util.js";
10
- import { usePageContextStore as S } from "../../utils/page-store.js";
11
- import { isHasFieldAuth as H } from "../../utils/table-utils.js";
8
+ import { isWorkflowPage as T, getPropClassName as $, isNumber as H } from "../../utils/common-util.js";
9
+ import { isShowMobileEvent as N, isShowComponent as O } from "../../utils/events/event-util.js";
10
+ import { usePageContextStore as P } from "../../utils/page-store.js";
11
+ import { isHasFieldAuth as S } from "../../utils/table-utils.js";
12
12
  import { checkPermission as B } from "agilebuilder-ui/src/utils/permission.js";
13
13
  const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
14
14
  var _a, _b;
@@ -16,8 +16,8 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
16
16
  null == F2.configure.style && (F2.configure.style = {});
17
17
  const R = y(F2.configure, F2.pageContext);
18
18
  F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode = R);
19
- const k = B(R || "true", F2.pageContext.systemCode), E = H(F2.pageContext, F2.configure), J = k && E;
20
- F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = J), j(F2.pageContext, F2.configure, J);
19
+ const k = B(R || "true", F2.pageContext.systemCode), E = S(F2.pageContext, F2.configure), J = k && E;
20
+ F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = J), w(F2.pageContext, F2.configure, J);
21
21
  let L = o(null), W = o(true), q = o("");
22
22
  if (F2.configure && F2.configure.props) {
23
23
  let e3 = [];
@@ -25,7 +25,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
25
25
  var _a2;
26
26
  let o2 = true;
27
27
  if (J) if (L.value && null !== L.value) o2 = "show" === L.value;
28
- else if (O(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = M(F2.pageContext, e3);
28
+ else if (N(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = M(F2.pageContext, e3);
29
29
  else {
30
30
  const e4 = (_a2 = F2.configure.props.base) == null ? void 0 : _a2.state;
31
31
  e4 && "hidden" === e4 && (o2 = false);
@@ -69,7 +69,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
69
69
  const t2 = U.style[e3 + "_class"];
70
70
  t2 && (K.value += " " + t2);
71
71
  }
72
- const V = S();
72
+ const V = P();
73
73
  function X(e3) {
74
74
  if (G.value = e3, e3 && !e3.show && (e3.show = function() {
75
75
  L.value = "show";
@@ -89,12 +89,12 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
89
89
  const o2 = F2.configure.props ? F2.configure.props.base : null;
90
90
  if (o2 && o2.prop) {
91
91
  let e4 = o2.prop;
92
- e4 = _(e4), w(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
92
+ e4 = _(e4), j(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
93
93
  }
94
94
  !function() {
95
95
  if (!G.value) return;
96
96
  const e4 = A(F2.pageContext, F2.configure);
97
- "table" !== F2.configure.name && e4 && e4.isCalcHeight && d(() => {
97
+ "table" !== F2.configure.name && e4 && e4.isCalcHeight && m(() => {
98
98
  var _a2;
99
99
  if (!(((_a2 = G.value) == null ? void 0 : _a2.$el) || G.value)) return;
100
100
  const e5 = (o3 = 0) => {
@@ -117,8 +117,10 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
117
117
  const o2 = e3.parentNode;
118
118
  if (!e3 || !o2) return;
119
119
  const t2 = e3.getBoundingClientRect();
120
- let n2 = window.innerHeight - t2.y - 30, i2 = n2 + "";
121
- N(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
120
+ let n2 = window.innerHeight - t2.y - 30;
121
+ window.innerHeight, t2.y;
122
+ let i2 = n2 + "";
123
+ H(n2) && (i2 = n2 + "px"), I.value.height = i2, I.value["overflow-y"] = "auto", I.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
122
124
  }
123
125
  i(() => {
124
126
  var _a2, _b2, _c;
@@ -136,7 +138,7 @@ const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
136
138
  const t2 = F2.configure.props ? F2.configure.props : {}, n2 = F2.configure.style ? F2.configure.style : {}, i2 = t2.position;
137
139
  "top" == i2 || "bottom" == i2 || n2.position;
138
140
  };
139
- return (e3, o2) => l(J) && l(P)(e3.configure) ? r((a(), p(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
141
+ return (e3, o2) => l(J) && l(O)(e3.configure) ? r((a(), p(c(z.value), { key: 0, ref: X, style: f(I.value), class: g(K.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[d, l(W)]]) : u("", true);
140
142
  } });
141
143
  export {
142
144
  F as default
@@ -15,7 +15,7 @@ const m = { style: { "background-color": "#ffffff" } }, x = { class: "opinion-bo
15
15
  const n2 = i("el-input"), t2 = i("el-affix");
16
16
  return ((_a = o3.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (p(), l(t2, { key: 0, target: ".app-container", position: "bottom", offset: 35 }, { default: u(() => {
17
17
  var _a2;
18
- return [s("div", m, [s("div", x, [s("table", k, [s("tbody", null, [s("tr", null, [s("td", v, [((_a2 = o3.pageContext.workflowOpinion) == null ? void 0 : _a2.isRequired) ? (p(), r("span", g, "*")) : a("", true), e2[2] || (e2[2] = f(" 处理意见 "))]), s("td", { class: c(["opinion-input-cell", y.value]) }, [w(n2, { ref_key: "opinionInputRef", ref: C, modelValue: b2.value, "onUpdate:modelValue": e2[0] || (e2[0] = (o4) => b2.value = o4), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "请输入处理意见", onChange: e2[1] || (e2[1] = (o4) => {
18
+ return [s("div", m, [s("div", x, [s("table", k, [s("tbody", null, [s("tr", null, [s("td", v, [((_a2 = o3.pageContext.workflowOpinion) == null ? void 0 : _a2.isRequired) ? (p(), r("span", g, "*")) : a("", true), e2[2] || (e2[2] = f(" 处理意见 ", -1))]), s("td", { class: c(["opinion-input-cell", y.value]) }, [w(n2, { ref_key: "opinionInputRef", ref: C, modelValue: b2.value, "onUpdate:modelValue": e2[0] || (e2[0] = (o4) => b2.value = o4), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "请输入处理意见", onChange: e2[1] || (e2[1] = (o4) => {
19
19
  O.pageContext.workflowOpinion && (O.pageContext.workflowOpinion.opinion = b2.value.trim(), O.pageContext.workflowOpinion.focusOpinionInput = false);
20
20
  }), class: "opinion-input" }, null, 8, ["modelValue"])], 2)])])])])])];
21
21
  }), _: 1 })) : a("", true);
@@ -20,7 +20,7 @@ const g = { class: "dialog-footer" }, _ = e({ __name: "extract-workflow-runtime-
20
20
  return w.props && (true === w.props.requireExtractTransactor && (h.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }]), true === w.props.isMustOpinion && (h.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }])), o(() => {
21
21
  }), (e3, l2) => {
22
22
  const o2 = a("el-icon"), s2 = a("el-input"), _3 = a("el-form-item"), x2 = a("el-form"), y2 = a("el-button"), w2 = a("el-dialog");
23
- return n(), i(w2, { modelValue: N.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => N.value = e4), title: "选择办理人", width: "500" }, { footer: t(() => [p("div", g, [u(y2, { onClick: l2[4] || (l2[4] = (e4) => N.value = false) }, { default: t(() => l2[6] || (l2[6] = [d("取消")])), _: 1 }), u(y2, { type: "primary", onClick: j }, { default: t(() => l2[7] || (l2[7] = [d(" 确定 ")])), _: 1 })])]), default: t(() => [u(x2, { ref_key: "ruleFormRef", ref: C, style: { "max-width": "600px" }, model: b.value, rules: h.value, "label-width": "auto" }, { default: t(() => [u(_3, { label: "办理人", prop: "loginName" }, { default: t(() => [u(s2, { "model-value": b.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[2] || (l2[2] = (e4) => V()) }, { append: t(() => [u(o2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => V()) }, { default: t(() => [u(m(f))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (b.value.loginName = "", void (b.value.name = ""))) }, { default: t(() => [u(m(c))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(_3, { label: "意见", prop: "opinion" }, { default: t(() => [u(s2, { modelValue: b.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => b.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), k.value ? (n(), i(m(v), { key: 0, width: "60%", multiple: false, onClose: q })) : r("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"]);
23
+ return n(), i(w2, { modelValue: N.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => N.value = e4), title: "选择办理人", width: "500" }, { footer: t(() => [p("div", g, [u(y2, { onClick: l2[4] || (l2[4] = (e4) => N.value = false) }, { default: t(() => l2[6] || (l2[6] = [d("取消", -1)])), _: 1, __: [6] }), u(y2, { type: "primary", onClick: j }, { default: t(() => l2[7] || (l2[7] = [d(" 确定 ", -1)])), _: 1, __: [7] })])]), default: t(() => [u(x2, { ref_key: "ruleFormRef", ref: C, style: { "max-width": "600px" }, model: b.value, rules: h.value, "label-width": "auto" }, { default: t(() => [u(_3, { label: "办理人", prop: "loginName" }, { default: t(() => [u(s2, { "model-value": b.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[2] || (l2[2] = (e4) => V()) }, { append: t(() => [u(o2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => V()) }, { default: t(() => [u(m(f))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (b.value.loginName = "", void (b.value.name = ""))) }, { default: t(() => [u(m(c))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(_3, { label: "意见", prop: "opinion" }, { default: t(() => [u(s2, { modelValue: b.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => b.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), k.value ? (n(), i(m(v), { key: 0, width: "60%", multiple: false, onClose: q })) : r("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, nextTick as o, resolveComponent as n, createElementBlock as t, openBlock as i, createVNode as u, normalizeStyle as r, normalizeClass as p, unref as s, withCtx as c, createTextVNode as d, toDisplayString as m, createBlock as v, createCommentVNode as f, createElementVNode as g } from "vue";
2
- import { handleAfterInitEvent as y, handleEvent as C } from "../../../../utils/events/event-util.js";
3
- import { $t as _ } from "../../../../utils/i18n-util.js";
2
+ import { handleAfterInitEvent as _, handleEvent as y } from "../../../../utils/events/event-util.js";
3
+ import { $t as C } from "../../../../utils/i18n-util.js";
4
4
  import { DepartmentUserTree as k } from "agilebuilder-ui";
5
5
  import { Search as x, Delete as b } from "@element-plus/icons-vue";
6
6
  const N = { class: "page-runtime-header-btn" }, h = { class: "dialog-footer" }, w = e({ __name: "extract-workflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
@@ -20,19 +20,19 @@ const N = { class: "page-runtime-header-btn" }, h = { class: "dialog-footer" },
20
20
  U.value.validate((e3, l2) => {
21
21
  if (e3) {
22
22
  const e4 = { loginName: R.value.loginName, opinion: R.value.opinion };
23
- C(e4, V.pageContext, V.configure, "click");
23
+ y(e4, V.pageContext, V.configure, "click");
24
24
  }
25
25
  });
26
26
  }
27
27
  return a(() => {
28
28
  o(() => {
29
- y(null, V.pageContext, V.configure, { componentRef: T.value, entity: V.pageContext.entity.data, pageData: V.pageContext.entity.page });
29
+ _(null, V.pageContext, V.configure, { componentRef: T.value, entity: V.pageContext.entity.data, pageData: V.pageContext.entity.page });
30
30
  });
31
31
  }), w2({ click: function() {
32
32
  T.value && T.value.$el.click();
33
33
  } }), (e3, l2) => {
34
- const a2 = n("el-button"), o2 = n("el-icon"), y2 = n("el-input"), C2 = n("el-form-item"), w3 = n("el-form"), V2 = n("el-dialog");
35
- return i(), t("span", N, [u(a2, { ref_key: "componentRef", ref: T, disabled: O(), class: p(s(M)), style: r(s(F)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: O(), onClick: l2[0] || (l2[0] = (e4) => z.value = true) }, { default: c(() => [d(m(s(_)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(V2, { modelValue: z.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => z.value = e4), title: "选择办理人", width: "500" }, { footer: c(() => [g("div", h, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => z.value = false) }, { default: c(() => l2[7] || (l2[7] = [d("取消")])), _: 1 }), u(a2, { type: "primary", onClick: B }, { default: c(() => l2[8] || (l2[8] = [d(" 确定 ")])), _: 1 })])]), default: c(() => [u(w3, { ref_key: "ruleFormRef", ref: U, style: { "max-width": "600px" }, model: R.value, rules: j.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: "办理人", prop: "loginName" }, { default: c(() => [u(y2, { "model-value": R.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[3] || (l2[3] = (e4) => $()) }, { append: c(() => [u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => $()) }, { default: c(() => [u(s(x))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (R.value.loginName = "", void (R.value.name = ""))) }, { default: c(() => [u(s(b))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(C2, { label: "意见", prop: "opinion" }, { default: c(() => [u(y2, { modelValue: R.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => R.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), q.value ? (i(), v(s(k), { key: 0, width: "60%", multiple: false, onClose: A })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
34
+ const a2 = n("el-button"), o2 = n("el-icon"), _2 = n("el-input"), y2 = n("el-form-item"), w3 = n("el-form"), V2 = n("el-dialog");
35
+ return i(), t("span", N, [u(a2, { ref_key: "componentRef", ref: T, disabled: O(), class: p(s(M)), style: r(s(F)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: O(), onClick: l2[0] || (l2[0] = (e4) => z.value = true) }, { default: c(() => [d(m(s(C)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(V2, { modelValue: z.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => z.value = e4), title: "选择办理人", width: "500" }, { footer: c(() => [g("div", h, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => z.value = false) }, { default: c(() => l2[7] || (l2[7] = [d("取消", -1)])), _: 1, __: [7] }), u(a2, { type: "primary", onClick: B }, { default: c(() => l2[8] || (l2[8] = [d(" 确定 ", -1)])), _: 1, __: [8] })])]), default: c(() => [u(w3, { ref_key: "ruleFormRef", ref: U, style: { "max-width": "600px" }, model: R.value, rules: j.value, "label-width": "auto" }, { default: c(() => [u(y2, { label: "办理人", prop: "loginName" }, { default: c(() => [u(_2, { "model-value": R.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[3] || (l2[3] = (e4) => $()) }, { append: c(() => [u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => $()) }, { default: c(() => [u(s(x))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (R.value.loginName = "", void (R.value.name = ""))) }, { default: c(() => [u(s(b))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(y2, { label: "意见", prop: "opinion" }, { default: c(() => [u(_2, { modelValue: R.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => R.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), q.value ? (i(), v(s(k), { key: 0, width: "60%", multiple: false, onClose: A })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
36
36
  };
37
37
  } });
38
38
  export {
@@ -1,27 +1,18 @@
1
- import { defineComponent as t, ref as e, onMounted as a, createElementBlock as n, createCommentVNode as o, openBlock as r, normalizeClass as s, unref as i, createElementVNode as p, normalizeStyle as u, toDisplayString as l } from "vue";
1
+ import { defineComponent as t, ref as e, onMounted as n, createElementBlock as a, createCommentVNode as o, openBlock as p, normalizeClass as i, unref as r, createElementVNode as u, normalizeStyle as s, toDisplayString as l } from "vue";
2
2
  import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
- import { getVariableValue as m, setVariableValue as C } from "../../../../utils/page-helper-util.js";
4
- import { useI18n as c } from "vue-i18n";
5
- const f = t({ __name: "workflownode-runtime", props: { pageContext: {}, configure: {} }, setup(t2, { expose: f2 }) {
6
- const x = t2, y = e(false), d = x.pageContext.entity ? x.pageContext.entity : {}, T = d.task ? d.task : {}, { t: _ } = c();
7
- let v = g(x.pageContext, x.configure);
8
- const R = x.configure.runtime ? x.configure.runtime : {}, E = e(R.props ? R.props : {}), A = R.class, N = R.headerStyle;
9
- let k = e("");
10
- if ("form" === x.pageContext.pageType && x.pageContext.entity && x.pageContext.entity.data) {
11
- if ("EXTRACT" === x.pageContext.entity.data.PROCESS_STATE || "EXTRACT" === x.pageContext.entity.data.process_state) k.value = _("superPageRuntimeMessage.doingExtractFormData");
12
- else {
13
- let t3 = x.pageContext.entity.data.CURRENT_ACTIVITY_NAME || x.pageContext.entity.data.current_activity_name;
14
- T && T.trustorName && (t3 = t3 + "(" + _("superPageRuntimeMessage.nodeTrustorName") + T.trustorName + ")"), k.value = t3;
15
- }
16
- y.value = !!x.pageContext.entity.data.WORKFLOW_ID;
17
- }
18
- return a(() => {
19
- }), f2({ getValue: function() {
20
- return m(d, v);
3
+ import { getVariableValue as C, setVariableValue as c } from "../../../../utils/page-helper-util.js";
4
+ const x = t({ __name: "workflownode-runtime", props: { pageContext: {}, configure: {} }, setup(t2, { expose: x2 }) {
5
+ const y = t2, f = e(false), m = y.pageContext.entity ? y.pageContext.entity : {};
6
+ let T = g(y.pageContext, y.configure);
7
+ const d = y.configure.runtime ? y.configure.runtime : {}, _ = e(d.props ? d.props : {}), v = d.class, E = d.headerStyle;
8
+ let R = e("");
9
+ return "form" === y.pageContext.pageType && y.pageContext.entity && y.pageContext.entity.data && ("EXTRACT" === y.pageContext.entity.data.PROCESS_STATE || "EXTRACT" === y.pageContext.entity.data.process_state ? R.value = "抽单办理中" : R.value = y.pageContext.entity.data.CURRENT_ACTIVITY_NAME || y.pageContext.entity.data.current_activity_name, f.value = !!y.pageContext.entity.data.WORKFLOW_ID), n(() => {
10
+ }), x2({ getValue: function() {
11
+ return C(m, T);
21
12
  }, setValue: function(t3) {
22
- return C(d, v, t3);
23
- } }), (t3, e2) => y.value ? (r(), n("span", { key: 0, class: s(i(A)) }, [p("span", { style: u(i(N)) }, [p("span", null, l(E.value.title), 1), p("span", null, l(i(k)), 1)], 4)], 2)) : o("", true);
13
+ return c(m, T, t3);
14
+ } }), (t3, e2) => f.value ? (p(), a("span", { key: 0, class: i(r(v)) }, [u("span", { style: s(r(E)) }, [u("span", null, l(_.value.title), 1), u("span", null, l(r(R)), 1)], 4)], 2)) : o("", true);
24
15
  } });
25
16
  export {
26
- f as default
17
+ x as default
27
18
  };
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
7
7
  import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
8
8
  import { useI18n as C } from "vue-i18n";
9
9
  const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
10
- const { t: b2 } = C(), I = e2, U = t(true), w = t(false), H = t(null);
10
+ const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
11
11
  let x, A = t(null);
12
12
  return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
13
13
  var _a, _b;
14
14
  if (e3 && e3.designJson) {
15
- H.value = {};
15
+ w.value = {};
16
16
  const t2 = JSON.parse(e3.designJson);
17
17
  let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
18
18
  if (a2) {
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
20
20
  e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
21
21
  }
22
22
  const i2 = window.frameElement;
23
- H.value = t2.chartJson, H.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (H.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
23
+ w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
24
24
  const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
25
- if (((_a = H.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = H.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
25
+ if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
26
26
  const e4 = n2.entity.page;
27
27
  for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
28
28
  }
29
- t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(H.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
29
+ t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
30
30
  !function(e4, t3) {
31
31
  if (!t3 || 0 == t3.length) return;
32
32
  e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
33
33
  }(A.value, [t2.initChartServiceConfigs]);
34
34
  }, 200);
35
- } else w.value = true, U.value = false;
35
+ } else H.value = true, U.value = false;
36
36
  }).finally(() => {
37
37
  U.value = false;
38
38
  }), a(() => {
39
39
  x && clearTimeout(x);
40
40
  }), (e3, t2) => {
41
41
  const a2 = i("loading");
42
- return n((o(), r("div", y, [!U.value && H.value ? (o(), s(g, { key: 0, configure: H.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || H.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
42
+ return n((o(), r("div", y, [!U.value && w.value ? (o(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
43
43
  };
44
44
  } });
45
45
  export {
@@ -10,6 +10,7 @@ const s = ["src"], d = { key: 1, class: "amb-super-page-runtime-dialog-iframe",
10
10
  const e4 = JSON.parse(JSON.stringify(p.parentPageEventParams));
11
11
  e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(b.value, e4);
12
12
  } catch (e4) {
13
+ console.error(e4);
13
14
  }
14
15
  null !== w.value && void 0 !== w.value || (w.value = p.parentPageEventParams.id);
15
16
  }
@@ -1,7 +1,7 @@
1
1
  import e from "./super-page.vue2.js";
2
2
  /* empty css */
3
3
  import p from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = p(e, [["__scopeId", "data-v-c040c0a8"]]);
4
+ const r = p(e, [["__scopeId", "data-v-8954a922"]]);
5
5
  export {
6
6
  r as default
7
7
  };