super-page-runtime 2.3.22-tmp2 → 2.3.22-tmp4

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 (435) hide show
  1. package/dist/es/_virtual/_plugin-vue_export-helper.mjs +4 -4
  2. package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
  3. package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
  4. package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
  5. package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
  6. package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
  7. package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
  8. package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
  9. package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
  10. package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
  11. package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
  12. package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
  13. package/dist/es/components/runtime/utils/common-util.mjs +91 -94
  14. package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
  15. package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
  16. package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
  17. package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
  18. package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
  19. package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
  20. package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
  21. package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
  22. package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
  23. package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
  24. package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
  25. package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
  26. package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
  27. package/dist/es/components/runtime/utils/page-store.mjs +38 -38
  28. package/dist/es/components/runtime/utils/store-util.mjs +9 -9
  29. package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
  30. package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
  31. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
  32. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
  33. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
  34. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
  35. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
  36. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
  37. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
  38. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
  39. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
  40. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
  41. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
  42. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
  43. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
  44. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
  45. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
  46. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
  47. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
  48. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
  49. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
  50. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
  51. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
  52. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
  53. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
  54. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
  55. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
  56. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
  57. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
  58. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
  59. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
  60. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
  61. package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
  62. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
  63. package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
  64. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
  65. package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
  66. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
  67. package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
  68. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
  69. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
  70. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
  71. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
  72. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
  73. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
  74. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
  75. package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
  76. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
  77. package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
  78. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
  79. package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
  80. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
  81. package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
  82. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
  83. package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
  84. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
  85. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
  86. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
  87. package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
  88. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
  89. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
  90. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
  91. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
  92. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
  93. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
  94. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
  95. package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
  96. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
  97. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
  98. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
  99. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
  100. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
  101. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
  102. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
  103. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
  104. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
  105. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
  106. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
  107. package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
  108. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
  109. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
  110. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
  111. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
  112. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
  113. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
  114. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
  115. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
  116. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
  117. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
  118. package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
  119. package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
  120. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
  121. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
  122. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
  123. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
  124. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
  125. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
  126. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
  127. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
  128. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
  129. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
  130. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
  131. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
  132. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
  133. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
  134. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
  135. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
  136. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
  137. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
  138. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
  139. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
  140. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
  141. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
  142. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
  143. package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
  144. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
  145. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
  146. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
  147. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
  148. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
  149. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
  150. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
  151. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
  152. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
  153. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
  154. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
  155. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
  156. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
  157. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
  158. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
  159. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
  160. package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
  161. package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
  162. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
  163. package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
  164. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
  165. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
  166. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
  167. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
  168. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
  169. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
  170. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
  171. package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
  172. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
  173. package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
  174. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
  175. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
  176. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
  177. package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
  178. package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
  179. package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
  180. package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
  181. package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
  182. package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
  183. package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
  184. package/dist/es/index.mjs +27 -27
  185. package/dist/es/style.css +1 -996
  186. package/package.json +76 -76
  187. package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
  188. package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +0 -6
  189. package/dist/lib/assets/chart-themes/bar-theme.cjs +0 -2
  190. package/dist/lib/assets/chart-themes/bar-theme.d.ts +0 -6
  191. package/dist/lib/assets/chart-themes/gauge-theme.cjs +0 -2
  192. package/dist/lib/assets/chart-themes/gauge-theme.d.ts +0 -6
  193. package/dist/lib/assets/chart-themes/pie-theme.cjs +0 -2
  194. package/dist/lib/assets/chart-themes/pie-theme.d.ts +0 -6
  195. package/dist/lib/assets/chart-themes/radar-theme.cjs +0 -2
  196. package/dist/lib/assets/chart-themes/radar-theme.d.ts +0 -6
  197. package/dist/lib/assets/chart-themes/scatter-theme.cjs +0 -2
  198. package/dist/lib/assets/chart-themes/scatter-theme.d.ts +0 -6
  199. package/dist/lib/assets/file.png.cjs +0 -2
  200. package/dist/lib/assets/folder.png.cjs +0 -2
  201. package/dist/lib/components/runtime/index.d.ts +0 -5
  202. package/dist/lib/components/runtime/utils/ai-chat-util.cjs +0 -13
  203. package/dist/lib/components/runtime/utils/anchor-util.cjs +0 -62
  204. package/dist/lib/components/runtime/utils/anchor-util.d.ts +0 -13
  205. package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
  206. package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -1
  207. package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +0 -169
  208. package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +0 -1
  209. package/dist/lib/components/runtime/utils/assemblys-config.cjs +0 -16
  210. package/dist/lib/components/runtime/utils/barcode-util.cjs +0 -10
  211. package/dist/lib/components/runtime/utils/barcode-util.d.ts +0 -8
  212. package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +0 -137
  213. package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +0 -34
  214. package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +0 -78
  215. package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +0 -52
  216. package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +0 -43
  217. package/dist/lib/components/runtime/utils/charts/chart-util.cjs +0 -244
  218. package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -115
  219. package/dist/lib/components/runtime/utils/common-util.cjs +0 -91
  220. package/dist/lib/components/runtime/utils/common-util.d.ts +0 -33
  221. package/dist/lib/components/runtime/utils/eventBus.cjs +0 -3
  222. package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
  223. package/dist/lib/components/runtime/utils/events/event-util.cjs +0 -345
  224. package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -92
  225. package/dist/lib/components/runtime/utils/events/print-label.cjs +0 -97
  226. package/dist/lib/components/runtime/utils/events/print-label.d.ts +0 -5
  227. package/dist/lib/components/runtime/utils/events/standard-event.cjs +0 -1101
  228. package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -99
  229. package/dist/lib/components/runtime/utils/events/validator-util.cjs +0 -296
  230. package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -25
  231. package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +0 -34
  232. package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +0 -7
  233. package/dist/lib/components/runtime/utils/form/scan-util.cjs +0 -90
  234. package/dist/lib/components/runtime/utils/global-refs.cjs +0 -42
  235. package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -65
  236. package/dist/lib/components/runtime/utils/i18n-util.cjs +0 -11
  237. package/dist/lib/components/runtime/utils/i18n-util.d.ts +0 -1
  238. package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +0 -4
  239. package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -247
  240. package/dist/lib/components/runtime/utils/page-helper-util.cjs +0 -354
  241. package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -174
  242. package/dist/lib/components/runtime/utils/page-init-util.cjs +0 -244
  243. package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -49
  244. package/dist/lib/components/runtime/utils/page-permission-util.cjs +0 -26
  245. package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
  246. package/dist/lib/components/runtime/utils/page-store.cjs +0 -50
  247. package/dist/lib/components/runtime/utils/page-store.d.ts +0 -58
  248. package/dist/lib/components/runtime/utils/store-util.cjs +0 -11
  249. package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
  250. package/dist/lib/components/runtime/utils/store.cjs +0 -3
  251. package/dist/lib/components/runtime/utils/store.d.ts +0 -2
  252. package/dist/lib/components/runtime/utils/table-utils.cjs +0 -68
  253. package/dist/lib/components/runtime/utils/table-utils.d.ts +0 -36
  254. package/dist/lib/components/runtime/utils/tree-utils.cjs +0 -54
  255. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +0 -3
  256. package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +0 -24
  257. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +0 -5
  258. package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +0 -17
  259. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +0 -3
  260. package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +0 -35
  261. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +0 -3
  262. package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +0 -3
  263. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +0 -3
  264. package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +0 -17
  265. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +0 -5
  266. package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +0 -41
  267. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +0 -11
  268. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +0 -3
  269. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +0 -11
  270. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +0 -3
  271. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +0 -53
  272. package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +0 -3
  273. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +0 -5
  274. package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +0 -48
  275. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +0 -5
  276. package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +0 -24
  277. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +0 -5
  278. package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +0 -34
  279. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +0 -5
  280. package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +0 -24
  281. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +0 -5
  282. package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +0 -24
  283. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +0 -402
  284. package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +0 -121
  285. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +0 -3
  286. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +0 -3
  287. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +0 -6
  288. package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +0 -3
  289. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +0 -36
  290. package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +0 -3
  291. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +0 -13
  292. package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +0 -3
  293. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +0 -3
  294. package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +0 -249
  295. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +0 -16
  296. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +0 -5
  297. package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +0 -3
  298. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +0 -32
  299. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -28
  300. package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +0 -3
  301. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +0 -32
  302. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +0 -27
  303. package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +0 -3
  304. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +0 -19
  305. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +0 -59
  306. package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +0 -3
  307. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +0 -12
  308. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
  309. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +0 -3
  310. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +0 -21
  311. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +0 -26
  312. package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +0 -3
  313. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +0 -13
  314. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +0 -35
  315. package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +0 -3
  316. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +0 -30
  317. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +0 -31
  318. package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +0 -3
  319. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +0 -15
  320. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
  321. package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +0 -3
  322. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +0 -5
  323. package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +0 -21
  324. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +0 -3
  325. package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +0 -17
  326. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +0 -3
  327. package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +0 -15
  328. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +0 -5
  329. package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +0 -27
  330. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +0 -5
  331. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +0 -94
  332. package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +0 -79
  333. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +0 -3
  334. package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +0 -20
  335. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +0 -3
  336. package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +0 -15
  337. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +0 -3
  338. package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +0 -12
  339. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +0 -5
  340. package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +0 -88
  341. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +0 -5
  342. package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +0 -43
  343. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +0 -3
  344. package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +0 -59
  345. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +0 -382
  346. package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +0 -3
  347. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +0 -322
  348. package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +0 -3
  349. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +0 -3
  350. package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +0 -81
  351. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +0 -5
  352. package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +0 -124
  353. package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +0 -3
  354. package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
  355. package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +0 -3
  356. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +0 -3
  357. package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +0 -57
  358. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +0 -35
  359. package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +0 -3
  360. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +0 -3
  361. package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +0 -57
  362. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +0 -3
  363. package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +0 -91
  364. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +0 -3
  365. package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +0 -47
  366. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +0 -3
  367. package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +0 -20
  368. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +0 -3
  369. package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +0 -65
  370. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +0 -3
  371. package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +0 -20
  372. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +0 -3
  373. package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +0 -70
  374. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +0 -5
  375. package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +0 -31
  376. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +0 -3
  377. package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +0 -26
  378. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +0 -5
  379. package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +0 -13
  380. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +0 -3
  381. package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +0 -75
  382. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +0 -5
  383. package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +0 -188
  384. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +0 -3
  385. package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +0 -130
  386. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +0 -3
  387. package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +0 -11
  388. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +0 -3
  389. package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +0 -29
  390. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +0 -3
  391. package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +0 -38
  392. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +0 -3
  393. package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +0 -20
  394. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +0 -73
  395. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +0 -17
  396. package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +0 -3
  397. package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +0 -132
  398. package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
  399. package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +0 -3
  400. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +0 -3
  401. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +0 -14
  402. package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +0 -3
  403. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +0 -5
  404. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +0 -14
  405. package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +0 -23
  406. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +0 -5
  407. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +0 -23
  408. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +0 -5
  409. package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +0 -34
  410. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +0 -3
  411. package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +0 -17
  412. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +0 -3
  413. package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +0 -20
  414. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +0 -5
  415. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +0 -19
  416. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +0 -3
  417. package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +0 -14
  418. package/dist/lib/components/runtime/views/home-chart.vue.cjs +0 -38
  419. package/dist/lib/components/runtime/views/home-chart.vue.d.ts +0 -23
  420. package/dist/lib/components/runtime/views/home-chart.vue2.cjs +0 -3
  421. package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +0 -23
  422. package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -40
  423. package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +0 -3
  424. package/dist/lib/components/runtime/views/super-page.vue.cjs +0 -5
  425. package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -135
  426. package/dist/lib/components/runtime/views/super-page.vue2.cjs +0 -264
  427. package/dist/lib/favicon.ico +0 -0
  428. package/dist/lib/i18n/langs/cn.cjs +0 -2
  429. package/dist/lib/i18n/langs/en.cjs +0 -2
  430. package/dist/lib/index.cjs +0 -6
  431. package/dist/lib/index.d.ts +0 -16
  432. package/dist/lib/style.css +0 -996
  433. package/dist/umd/favicon.ico +0 -0
  434. package/dist/umd/index.full.min.js +0 -7429
  435. package/dist/umd/style.css +0 -996
@@ -1,99 +0,0 @@
1
- import { PageContext } from '../interfaces/page-design-types';
2
-
3
- export declare const standardEvents: {
4
- save: (params: any) => Promise<unknown>;
5
- saveList: (params: any) => Promise<unknown>;
6
- exportForm: (params: any) => void;
7
- exportPDF: (params: any) => void;
8
- submit: (params: any) => Promise<unknown>;
9
- submitList: (params: any) => Promise<unknown>;
10
- agree: (params: any) => Promise<unknown>;
11
- agreeList: (params: any) => Promise<unknown>;
12
- disagree: (params: any) => Promise<unknown>;
13
- disagreeList: (params: any) => Promise<unknown>;
14
- back: (params: any) => void;
15
- delete: (params: any) => Promise<unknown>;
16
- downloadTemplate: (params: any) => void;
17
- import: (params: any) => void;
18
- export: (params: any) => Promise<unknown>;
19
- search: (params: any) => void;
20
- showSearch: (params: any) => void;
21
- workflowSave: (params: any) => Promise<unknown>;
22
- workflowStart: (params: any) => Promise<unknown>;
23
- submitProcess: (params: any) => Promise<unknown>;
24
- submitTask: (params: any) => Promise<unknown>;
25
- approve: (params: any) => Promise<unknown>;
26
- refuse: (params: any) => Promise<unknown>;
27
- readed: (params: any) => Promise<unknown>;
28
- agreement: (params: any) => Promise<unknown>;
29
- oppose: (params: any) => Promise<unknown>;
30
- kiken: (params: any) => Promise<unknown>;
31
- assign: (params: any) => void;
32
- copyTask: (params: any) => void;
33
- addSigner: (params: any) => void;
34
- drawTask: (params: any) => Promise<unknown>;
35
- abandonReceive: (params: any) => Promise<unknown>;
36
- returnToPreviousTask: (params: any) => Promise<unknown>;
37
- endInstance: (params: any) => Promise<unknown>;
38
- returnTaskTo: (params: any) => void;
39
- removeSigner: (params: any) => void;
40
- retrieveTask: (params: any) => Promise<unknown>;
41
- extractWorkflow: (params: any) => Promise<unknown>;
42
- extractWorkflowEvent: (params: any) => void;
43
- cancelExtractWorkflow: (params: any) => Promise<unknown>;
44
- approveExtractWorkflow: (params: any) => Promise<unknown>;
45
- refuseExtractWorkflow: (params: any) => Promise<unknown>;
46
- viewDetail: (params: any) => void;
47
- lineEditCreate: (params: any) => void;
48
- printLabel: (params: any) => void;
49
- queryCharts: (params: any) => void;
50
- resetCharts: (params: any) => void;
51
- exportCharts: (params: any) => void;
52
- saveQueryCharts: (params: any) => void;
53
- addTransactor: (params: any) => void;
54
- removeTransactor: (params: any) => void;
55
- };
56
- export declare function exportFormReport(pageContext: any, configureObj: any, templateFile: any, isPdf: any): void;
57
- export declare function getSaveFormRequestWithRow(pageContext: PageContext, configureObj: any, url: string, isUnControlVersion: boolean, mainDefaultValueColumns: any, dynamicColumnInfo: any, row: any, otherParams: any): any;
58
- export declare function getSaveFormRequest(pageContext: PageContext, configureObj: any, url: any, isUnControlVersion: any, mainDefaultValueColumns: any, dynamicColumnInfo: any): any;
59
- /**
60
- * 按钮执行后页面处理方式:刷新、关闭弹框等等
61
- * @param pageContext
62
- * @param configureObj
63
- * @param data
64
- * @param successTip
65
- * @param isListButton
66
- */
67
- export declare function dealAfterOperate(pageContext: any, configureObj: any, data: any, successTip: any, isListButton?: boolean): void;
68
- export declare function updateValuesWhenCloseDialog(parentPageContext: any, parentConfigureObj: any, sourceModel: any, sourceTableName: any, valueMappings?: any): void;
69
- export declare function refreshFormOrListPage(pageContext: any, configureObj: any, isRefreshWhenClosePopup: any, mySuccessOperation: any): void;
70
- export declare function doImportFinally(params: any, fileObj: any): void;
71
- export declare function judgeDataNumber(buttonConfigureObj: any, ids: any): boolean;
72
- export declare function dealCompleteTaskParam(commonEntity: any, isInit: any, pageContext: any, params?: any, operationResult?: any): boolean;
73
- export declare function doAssign(params: any, selectNodeInfo: any): void;
74
- export declare function getAdditionalParamMap(pageContext: any): any;
75
- export declare function doAddSigner(params: any, selectNodeInfo: any): void;
76
- export declare function doAddTransactor(params: any, selectNodeInfo: any): void;
77
- export declare function doCreateCopyTask(params: any, selectNodeInfo: any): Promise<void>;
78
- export declare function getTaskInformitions(params: any): any;
79
- export declare function doReturnTaskTo(params: any, selectTaskNode: any): void;
80
- export declare function getRemoveSigner(params: any): any;
81
- export declare function doRemoveSigners(params: any, selectRemoveTasks: any): void;
82
- export declare function getRemoveTransactor(params: any): any;
83
- export declare function doRemoveTransactors(params: any, selectRemoveTasks: any): void;
84
- export declare function extractWorkflowFunc(params: any): Promise<unknown>;
85
- export declare function isVisibleWorkflowButton(pageContext: any, standardEventName: any, buttonInfo: any, completeTaskParam: any, btnConfigure: any, data: any): boolean;
86
- /**
87
- * 刷新页面
88
- * @param pageContext
89
- */
90
- export declare function refreshPage(pageContext: PageContext, id?: any): void;
91
- /**
92
- * 获得表单数据
93
- * @param pageContext
94
- */
95
- export declare function getFormData(pageContext: PageContext, id?: any, isNeedId?: boolean): Promise<unknown>;
96
- export declare function saveChartConditionBase(pageContext: any, conditionName: string): any;
97
- export declare function listChartConditions(pageContext: any): any;
98
- export declare function deleteChartCondition(conditionId: any): any;
99
- export declare function doFileTaskFunc(pageContext: any): void;
@@ -1,296 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const e = require("async-validator"), t = require("element-plus"), s = require("../global-refs.cjs"), n = require("agilebuilder-ui"), o = require("./standard-event.cjs"), r = require("../common-util.cjs");
4
- function i(e2, t2, s2) {
5
- const n2 = {};
6
- t2 || (t2 = {});
7
- let o2 = 0;
8
- const r2 = e2.split(".");
9
- return r2.forEach((e3) => {
10
- let i2;
11
- if (o2 === r2.length - 1) i2 = function(e4, t3, s3) {
12
- let n3;
13
- for (let o3 = 0; o3 < t3.length; o3++) if (n3 = 0 === o3 ? e4[t3[o3]] : n3.fields[t3[o3]], o3 !== t3.length - 1) {
14
- if (t3[o3 + 1] === s3) break;
15
- }
16
- return n3;
17
- }(n2, r2, e3), i2.fields[e3] = s2;
18
- else {
19
- let s3;
20
- 0 === o2 ? i2 = t2 : (s3 = function(e4, t3, s4) {
21
- let n3;
22
- for (let o3 = 0; o3 < t3.length; o3++) {
23
- const r3 = t3[o3];
24
- if (n3 = 0 === o3 ? e4[r3] : n3.fields[t3[o3]], r3 === s4) break;
25
- }
26
- return n3;
27
- }(n2, r2, r2[o2 - 1]), i2 = s3.fields), i2[e3] || (i2[e3] = { type: "object", required: true, fields: {} }), 0 === o2 ? n2[e3] = i2[e3] : s3.fields[e3] = i2[e3];
28
- }
29
- o2++;
30
- }), n2;
31
- }
32
- function l(e2, t2, s2, n2, o2, r2) {
33
- return u(e2, t2, s2, n2, true, o2, r2);
34
- }
35
- function a(e2) {
36
- if (e2) return Object.keys(e2).forEach((t2) => {
37
- if (t2.indexOf(".") >= 0) {
38
- let s2 = [];
39
- s2 = t2.split("."), e2[s2[0]] ? e2[s2[0]].fields[s2[1]] = e2[t2][0] : (e2[s2[0]] = new Object(), e2[s2[0]].fields = new Object(), e2[s2[0]].fields[s2[1]] = e2[t2][0], e2[s2[0]].type = "object"), delete e2[t2];
40
- }
41
- }), e2;
42
- }
43
- function u(n2, o2, r2, i2, l2, f2, d2) {
44
- let c2, p2 = a(o2);
45
- if (o2 && null !== o2 || !r2 || (p2 = {}), !p2 || 0 === Object.keys(p2).length) return n2.validateErrorField = "", true;
46
- return new e(p2).validate(n2, { first: true }, (e2, a2) => {
47
- let p3;
48
- if (e2) {
49
- c2 = e2[0].message, p3 = e2[0].field, t.ElMessage({ message: c2, showClose: true, type: "warning", duration: 3e3 });
50
- const n3 = s.getComponentRefByCode(d2, p3);
51
- n3 && n3.addRequiredClass && n3.addRequiredClass();
52
- } else c2 = true;
53
- if (p3 && true === l2) {
54
- if (/[A-Z]+/.test(p3) && void 0 !== n2[p3.toLowerCase()]) {
55
- const e3 = JSON.parse(JSON.stringify(n2));
56
- e3[p3.toUpperCase()] = n2[p3.toLowerCase()], delete e3[p3.toLowerCase()], c2 = u(e3, o2, r2, i2, false, f2, d2);
57
- }
58
- }
59
- }), c2;
60
- }
61
- function f(e2) {
62
- return new Promise((t2, n2) => {
63
- const o2 = [], r2 = e2.customValidatorUuids;
64
- r2 && r2.forEach((t3) => {
65
- const n3 = s.getComponentRef(e2, t3);
66
- n3 && n3.validator && o2.push(n3.validator());
67
- }), o2 && o2.length > 0 ? Promise.all(o2).then((e3) => {
68
- e3.includes(false) ? t2(false) : t2(true);
69
- }) : t2(true);
70
- });
71
- }
72
- function d(e2, o2, i2) {
73
- return new Promise((a2, u2) => {
74
- const d2 = JSON.parse(JSON.stringify(e2));
75
- if (i2 && 0 !== Object.keys(i2).length) {
76
- if (true === l(d2, i2, null, null, true, o2)) {
77
- const e3 = function(e4) {
78
- var _a;
79
- if (!e4) return true;
80
- if (r.isWorkflowPage(e4)) return true;
81
- const o3 = e4.tableUuids;
82
- if (!o3) return true;
83
- for (let r2 = 0; r2 < o3.length; r2++) {
84
- const i3 = o3[r2], l2 = s.getComponentRef(e4, i3);
85
- if (l2) {
86
- if (l2.getConfigure()) {
87
- const e5 = l2.getConfigure();
88
- if ((_a = e5 == null ? void 0 : e5.verification) == null ? void 0 : _a.notEmpty) {
89
- const s2 = l2.getTableData();
90
- if (!s2 || !Array.isArray(s2) || 0 === s2.length) return t.ElMessage({ showClose: true, message: n.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: e5.title ? e5.title : e5.code }), type: "warning" }), false;
91
- }
92
- }
93
- if (!l2.validatorSunTableListData()) return false;
94
- }
95
- }
96
- return true;
97
- }(o2);
98
- if (true === e3) {
99
- const e4 = function(e5) {
100
- const t2 = [];
101
- e5.customRuleEvents && e5.customRuleEvents.length > 0 && e5.customRuleEvents.forEach((s2) => {
102
- s2.events.forEach((n2) => {
103
- const o3 = e5.customEvents[n2];
104
- t2.push(o3.apply(o3, [{ prop: s2.prop, pageContext: e5 }]));
105
- });
106
- });
107
- if (t2 && t2.length > 0) return new Promise((e6, s2) => {
108
- const o3 = [], r2 = [];
109
- t2.forEach((e7) => {
110
- n.isPromise(e7) ? o3.push(e7) : r2.push(e7);
111
- }), r2.includes(false) && e6(false), o3.length > 0 ? Promise.all(o3).then((t3) => {
112
- t3.includes(false) ? e6(false) : e6(true);
113
- }).catch((t3) => {
114
- console.error(t3), e6(false);
115
- }) : e6(true);
116
- });
117
- return null;
118
- }(o2);
119
- e4 && n.isPromise(e4) ? e4.then((e5) => {
120
- e5 ? f(o2).then((e6) => {
121
- a2(e6);
122
- }) : a2(false);
123
- }) : f(o2).then((e5) => {
124
- a2(e5);
125
- });
126
- } else u2(new Error(n.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
127
- } else u2(new Error(n.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
128
- } else a2(true);
129
- });
130
- }
131
- function c(e2, t2, s2) {
132
- if (!t2) return s2;
133
- s2 || (s2 = {});
134
- const n2 = r.isWorkflowPage(e2), o2 = Object.keys(t2), i2 = t2;
135
- return o2.forEach((e3) => {
136
- if ("__subRules" === e3) {
137
- const e4 = i2.__subRules;
138
- Object.keys(e4).forEach((t3) => {
139
- s2.subRules || (s2.subRules = {}), s2.subRules[t3] ? Object.assign(s2.subRules[t3], e4[t3]) : s2.subRules[t3] = e4[t3];
140
- });
141
- } else b(i2[e3]), n2 ? (s2.rules[e3] = i2[e3], s2[e3] && (s2[e3] = i2[e3])) : s2[e3] = i2[e3];
142
- }), a(s2);
143
- }
144
- function p(e2, t2) {
145
- e2.forEach((e3) => {
146
- e3.message;
147
- const t3 = e3.label, s2 = n.getI18n().t(t3);
148
- e3.required && (e3.message = n.getI18n().t("superPageRuntimeMessage.required", { label: s2 })), e3.myType && (e3.message = n.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), e3.patternType && (e3.message = n.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), void 0 !== e3.max && null !== e3.max && (e3.message = n.getI18n().t("superPageRuntimeMessage.overMaxLength", { label: s2, value: e3.max })), void 0 !== e3.min && null !== e3.min && (e3.message = n.getI18n().t("superPageRuntimeMessage.limitMinLength", { label: s2, value: e3.min }));
149
- });
150
- }
151
- function g(e2, t2) {
152
- const n2 = s.getAllComponentRefs(e2);
153
- if (n2) for (const e3 in n2) {
154
- const s2 = n2[e3];
155
- m(s2 ? s2.value : s2, t2);
156
- }
157
- }
158
- function m(e2, t2) {
159
- var _a, _b, _c;
160
- if (e2) {
161
- const s2 = e2.getConfigure();
162
- void 0 !== t2.show && (t2.show ? e2.show() : e2.hide()), void 0 !== t2.required && ((_a = s2 == null ? void 0 : s2.runtime) == null ? void 0 : _a.props) && (s2.runtime.props.required = t2.required), void 0 !== t2.readonly && ((_b = s2 == null ? void 0 : s2.runtime) == null ? void 0 : _b.props) && (t2.readonly ? s2.runtime.props.state = "readonly" : s2.runtime.props.state = "enabled"), void 0 !== t2.disabled && s2 && (((_c = s2 == null ? void 0 : s2.runtime) == null ? void 0 : _c.props) && (t2.disabled ? s2.runtime.props.state = "disabled" : s2.runtime.props.state = "enabled"), "table" === s2.name && e2.changeOperationAddState(false));
163
- }
164
- }
165
- function b(e2) {
166
- if (!(e2 == null ? void 0 : e2.type)) return;
167
- const t2 = R[e2.type];
168
- t2 && (e2.validator = t2.validator);
169
- }
170
- const R = { boolean: { validator: function(e2, t2, s2) {
171
- return true === y(e2, t2) && ("number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2));
172
- } }, date: { validator: function(e2, t2, s2) {
173
- if (true !== y(e2, t2)) return false;
174
- const n2 = new Date(t2);
175
- return !isNaN(n2.getTime());
176
- } }, number: { validator: function(e2, t2, s2) {
177
- return true === y(e2, t2) && (("string" != typeof t2 || "" !== t2.trim()) && ("number" == typeof t2 || !isNaN(Number(t2))));
178
- } } }, y = (e2, t2) => null != t2 && "" !== t2 || !e2.required;
179
- exports.disabledAllFields = function(e2) {
180
- g(e2, { disabled: true });
181
- }, exports.dynamicControlTableEdit = function(e2, t2, n2) {
182
- var _a;
183
- let o2, i2;
184
- if (n2 ? (o2 = s.getComponentRefByCode(e2, n2), i2 = o2 ? o2.getTableUuid() : null) : (i2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, o2 = i2 ? s.getComponentRef(e2, i2) : null), !o2) return;
185
- const l2 = e2.code, a2 = e2.version, u2 = r.getListCode(l2, a2, i2);
186
- if (e2.workflowRules || (e2.workflowRules = { rules: {}, subRules: {} }), e2.workflowRules.subRules || (e2.workflowRules.subRules = {}), e2.workflowRules.subRules[n2] || (e2.workflowRules.subRules[n2] = {}), ((_a = e2.workflowRules) == null ? void 0 : _a.subRules) && e2.workflowRules.subRules[n2]) {
187
- const s2 = e2.workflowRules.subRules[n2];
188
- t2.forEach((e3) => {
189
- s2[e3.name] = e3;
190
- });
191
- }
192
- o2.dynamicControlTableEdit(e2, t2, u2);
193
- }, exports.getWorkflowRules = function(e2) {
194
- const t2 = e2.entity.data, s2 = { ...e2.entity.page, ...t2 }, n2 = o.getAdditionalParamMap(e2), r2 = e2.entity.context, i2 = e2.entity.task;
195
- e2.formPropTiltleMap && Object.keys(e2.formPropTiltleMap).length > 0 && e2.completeTaskParam.fieldPermissions && e2.completeTaskParam.fieldPermissions.length > 0 && e2.completeTaskParam.fieldPermissions.forEach((t3) => {
196
- t3.name && e2.formPropTiltleMap[t3.name] && (t3.label = e2.formPropTiltleMap[t3.name]);
197
- });
198
- let l2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, s2, true, n2, i2, r2);
199
- const a2 = e2.customRules;
200
- return l2 = c(e2, a2, l2), l2 && (l2.rules || (l2.rules = {}), l2.subRules || (l2.subRules = {})), l2;
201
- }, exports.i18nValidatePropRulesMessage = p, exports.i18nValidateRulesMessage = function(e2) {
202
- if (!e2 || 0 === Object.keys(e2).length) return;
203
- const t2 = {}, s2 = Object.keys(e2);
204
- for (let n2 = 0; n2 < s2.length; n2++) {
205
- const o2 = s2[n2], r2 = e2[o2];
206
- p(r2), o2.indexOf(".") > 0 ? i(o2, t2, r2) : r2 && r2.length > 0 && (t2[o2] = [...r2]);
207
- }
208
- return t2;
209
- }, exports.packageCustomRules = c, exports.packageCustomValidator = b, exports.setObjectPropRule = i, exports.updateComponentDisplayState = m, exports.updateFormItemEditState = function(e2, t2) {
210
- if (!t2) return;
211
- const n2 = {};
212
- if (t2.forEach((e3) => {
213
- const { name: t3, rules: s2 } = e3;
214
- s2 ? n2[t3] = s2 : false === e3.required && (n2[t3] = []);
215
- }), r.isWorkflowPage(e2)) {
216
- let t3 = e2.workflowRules ? e2.workflowRules : { rules: {}, subRules: {} };
217
- t3 = c(e2, n2, t3), e2.workflowRules = t3;
218
- } else {
219
- let t3 = e2.rules ? e2.rules : {};
220
- t3 = c(e2, n2, t3), e2.rules = t3;
221
- }
222
- const o2 = t2.filter((e3) => "_all_fields" === e3.name);
223
- o2 && o2.length > 0 && g(e2, o2[0]), t2.forEach((t3) => {
224
- if ("_all_fields" !== t3.name) {
225
- m(s.getComponentRefByCode(e2, t3.name), t3);
226
- }
227
- });
228
- }, exports.validateDataModelFunc = function(e2, i2, l2) {
229
- const a2 = e2.entity.data, u2 = { ...e2.entity.page, ...a2 }, f2 = e2.rules, c2 = i2.props.base ? i2.props.base.isEnableRequired : null;
230
- return null != c2 && (l2 = c2), null == l2 && (l2 = false), function(e3, i3, l3, a3) {
231
- if (e3) {
232
- return r.isWorkflowPage(a3) ? function(e4, r2, i4) {
233
- return new Promise((l4, a4) => {
234
- const u3 = o.getAdditionalParamMap(r2), f3 = r2.entity.context, c3 = r2.entity.task, p2 = true, g2 = r2.subTablePageInfo;
235
- d(e4, r2, i4).then((o2) => {
236
- if (o2) {
237
- let i5, a5, d2, m2, b2 = o2;
238
- const R2 = r2.workflowRules;
239
- if (R2) {
240
- if (!function(e5, o4) {
241
- var _a, _b, _c;
242
- if (!e5.actionPermissions) return true;
243
- const r3 = Object.keys(e5.actionPermissions);
244
- for (let i6 = 0; i6 < r3.length; i6++) {
245
- const l5 = r3[i6], a6 = e5.actionPermissions[l5];
246
- if (a6 && a6.notEmpty) {
247
- let r4 = false;
248
- if (o4[l5] ? Array.isArray(o4[l5]) && 0 === o4[l5].length && (r4 = true) : r4 = true, r4) {
249
- const r5 = s.getComponentRefByCode(e5, l5).getConfigure();
250
- if ((_a = a6.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
251
- if (false === n.parseSubTablePermissionCondition(a6.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, o4, {}, (_b = e5.entity) == null ? void 0 : _b.request, (_c = e5.entity) == null ? void 0 : _c.task, e5.contextParam)) return true;
252
- }
253
- return t.ElMessage({ showClose: true, message: n.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: r5.title ? r5.title : l5 }), type: "warning" }), false;
254
- }
255
- }
256
- }
257
- return true;
258
- }(r2, e4)) return void l4(false);
259
- const o3 = true, y2 = Object.assign({}, R2);
260
- y2.subRules && (Object.keys(y2.subRules).length > 0 ? y2.totalSubRules || (y2.totalSubRules = {}) : delete y2.subRules);
261
- const w = window.$vueApp.config.globalProperties.$formValidator(e4, y2, p2, u3, c3, f3, g2, o3);
262
- b2 = w.msg, i5 = w.field, a5 = w.listCode, d2 = w.rowIndex, m2 = w.pageNum;
263
- } else b2 = true;
264
- if (true !== b2) {
265
- if (t.ElMessage({ showClose: true, message: b2 + "", type: "warning" }), a5) {
266
- const e5 = s.getComponentRefByCode(r2, a5);
267
- e5 && e5.addRequiredClass && e5.addRequiredClass(i5, d2, m2);
268
- } else {
269
- const e5 = s.getComponentRefByCode(r2, i5);
270
- e5 && e5.addRequiredClass && e5.addRequiredClass();
271
- }
272
- l4(false);
273
- } else Object.keys(e4).indexOf("validateErrorField") >= 0 && delete e4.validateErrorField, l4(e4);
274
- } else a4(new Error(n.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
275
- }).catch((e5) => {
276
- a4(e5);
277
- });
278
- });
279
- }(i3, a3, l3) : function(e4, t2, s2) {
280
- return new Promise((n2, o2) => {
281
- d(e4, t2, s2).then((t3) => {
282
- if (t3) {
283
- const t4 = JSON.parse(JSON.stringify(e4));
284
- Object.keys(t4).indexOf("validateErrorField") >= 0 && delete t4.validateErrorField, n2(t4);
285
- } else n2(false);
286
- }).catch((e5) => {
287
- o2(e5);
288
- });
289
- });
290
- }(i3, a3, l3);
291
- }
292
- return new Promise((e4, t2) => {
293
- e4(true);
294
- });
295
- }(l2, u2, f2, e2);
296
- }, exports.validator = l;
@@ -1,25 +0,0 @@
1
- import { PageContext } from '../interfaces/page-design-types';
2
-
3
- export declare function setObjectPropRule(prop: any, rules: any, leafRule: any): {};
4
- export declare function validator(entity: any, rules: any, columns: any, rowIndex: any, isSql: any, pageContext: any): any;
5
- export declare function validateDataModelFunc(pageContext: any, configureObj: any, isEnableRequired: any): Promise<unknown>;
6
- /**
7
- * 封装自定义校验规则
8
- * @param orgCustomRules 自定义规则
9
- * @param orgRules 原来的表单规则
10
- * @returns 添加了自定义规则后的规则
11
- */
12
- export declare function packageCustomRules(pageContext: any, orgCustomRules: any, orgRules: any): any;
13
- export declare function i18nValidateRulesMessage(rules: any): {};
14
- export declare function i18nValidatePropRulesMessage(propRules: any, isResetMessage: boolean): void;
15
- export declare function getWorkflowRules(pageContext: any): any;
16
- export declare function updateFormItemEditState(pageContext: PageContext, customRules: any[]): void;
17
- export declare function disabledAllFields(pageContext: PageContext): void;
18
- export declare function dynamicControlTableEdit(pageContext: PageContext, customRules: any[], tableCode?: any): void;
19
- export declare function updateComponentDisplayState(ref: any, item: any): void;
20
- /**
21
- * 布尔型和日期校验需要自定义,为了兼容oracle和mysql数据库,
22
- * 数字类型的校验,防止select、radio、checkbox传字符串类型的数字
23
- * @param fieldRule
24
- */
25
- export declare function packageCustomValidator(fieldRule: any): void;
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), exports.getDateShortCuts = function(e, t, n) {
3
- if (!e) return;
4
- const s = [];
5
- if (e.includes("today") && !["week", "month", "year"].includes(t)) {
6
- const e2 = { text: "今天", value: () => /* @__PURE__ */ new Date() };
7
- n.endsWith("range") && (e2.value = () => [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]), s.push(e2);
8
- }
9
- if (e.includes("yesterday") && !["week", "month", "year"].includes(t)) {
10
- const e2 = /* @__PURE__ */ new Date();
11
- e2.setTime(e2.getTime() - 864e5);
12
- const t2 = { text: "昨天", value: () => e2 };
13
- n.endsWith("range") && (t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
14
- }
15
- if (e.includes("oneWeek") && !["month", "year"].includes(t)) {
16
- const e2 = /* @__PURE__ */ new Date();
17
- e2.setTime(e2.getTime() - 6048e5);
18
- const t2 = { text: "一周前", value: () => e2 };
19
- n.endsWith("range") && (t2.text = "一周", t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
20
- }
21
- if (e.includes("oneMonth") && !["year"].includes(t)) {
22
- const e2 = /* @__PURE__ */ new Date();
23
- e2.getMonth() > 0 ? e2.setMonth(e2.getMonth() - 1) : (e2.setMonth(12), e2.setFullYear(e2.getFullYear() - 1));
24
- const t2 = { text: "一月前", value: () => e2 };
25
- n.endsWith("range") && (t2.text = "一月", t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
26
- }
27
- if (e.includes("oneYear")) {
28
- const e2 = /* @__PURE__ */ new Date();
29
- e2.setFullYear(e2.getFullYear() - 1);
30
- const t2 = { text: "一年前", value: () => e2 };
31
- n.endsWith("range") && (t2.text = "一年", t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
32
- }
33
- return s;
34
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * 快捷选择生成方式
3
- * @param dateScopeDetails
4
- * @param dateType
5
- * @param rangeType
6
- */
7
- export declare function getDateShortCuts(dateScopeDetails: any[], dateType: string, rangeType: string): any;
@@ -1,90 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const agilebuilderUi = require("agilebuilder-ui"), pageHelperUtil = require("../page-helper-util.cjs");
4
- function formatScanRuleSets(e) {
5
- const t = {};
6
- return e.forEach((e2) => {
7
- "group" === e2.type ? e2.outs.forEach((e3) => {
8
- t[e3.ruleCode] || (t[e3.ruleCode] = { outs: [], adaptations: [] }), t[e3.ruleCode].outs.push(e3);
9
- }) : t[e2.code] = { outs: e2.outs, adaptations: [] };
10
- }), packageScanRuleSets(t);
11
- }
12
- function packageScanRuleSets(e) {
13
- return new Promise((t, a) => {
14
- Object.keys(e).length > 0 ? agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((a2) => {
15
- a2.forEach((a3) => {
16
- const s = JSON.parse(a3.barcodeAnalysisOuts), n = /* @__PURE__ */ new Set(), l = {};
17
- e[a3.code].outs.forEach((e2) => {
18
- n.add(e2.returnedValue), l[e2.returnedValue] = e2.pageVariable;
19
- });
20
- const i2 = [];
21
- s.forEach((e2) => {
22
- n.has(e2.code) && (e2.pageVariable = l[e2.code], i2.push(e2));
23
- }), e[a3.code].outs = i2, e[a3.code].adaptations = JSON.parse(a3.barcodeAnalysisAdaptations), t(e);
24
- });
25
- }) : t(null);
26
- });
27
- }
28
- function analysisScanValue(scanValue, scanRuleSets) {
29
- if (!scanValue) return null;
30
- const scanSets = Object.values(scanRuleSets);
31
- for (let i = 0; i < scanSets.length; i++) {
32
- const scanSet = scanSets[i], adaptations = scanSet.adaptations;
33
- let validStr = "";
34
- for (let e = 0; e < adaptations.length; e++) {
35
- const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex), s = a[0], n = a[1];
36
- let l = scanValue.substring(s, n), i2 = t.value, r = t.operate;
37
- if ("times" == r) {
38
- const e2 = l.split(null == i2 ? "" : i2).length - 1;
39
- i2 = e2, l = t.times, r = "=";
40
- }
41
- if ((isNaN(l) || isNaN(i2)) && (l = "'" + l + "'", i2 = "'" + i2 + "'"), t.leftBracket && (validStr += t.leftBracket), "<>" == r ? r = "!=" : "=" == r && (r = "=="), "include" == r || "notinclude" == r ? (validStr += l + ".indexOf(" + i2 + ")", validStr += "include" == r ? ">-1" : "<0") : validStr += l + r + i2, t.rightBracket && (validStr += t.rightBracket), t.joinStr && e + 1 < adaptations.length) {
42
- const e2 = "and" == t.joinStr ? "&&" : "||";
43
- validStr += e2;
44
- }
45
- }
46
- let res = false;
47
- if (validStr) try {
48
- res = eval("(" + validStr + ")");
49
- } catch (e) {
50
- }
51
- else res = true;
52
- if (res) return executeAnalysisForScan(scanValue, scanSet);
53
- }
54
- return null;
55
- }
56
- function executeAnalysisForScan(e, t) {
57
- if (!t || !e) return;
58
- const a = t.outs, s = {};
59
- return a.forEach((t2) => {
60
- const a2 = t2.fieldName;
61
- if (null != t2.fixedValue) s[a2] = t2.fixedValue;
62
- else {
63
- let n = e;
64
- if (t2.splitChar && t2.splitNum) {
65
- const a3 = (t2.splitChar, t2.splitChar), s2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
66
- n = l <= s2.length ? s2[l - 1] : "";
67
- }
68
- if (t2.splitChar2 && t2.splitNum2) {
69
- const e2 = (t2.splitChar2, t2.splitChar2), a3 = n.split(e2), s2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
70
- n = s2 <= a3.length ? a3[s2 - 1] : "";
71
- }
72
- if (n.length > 0) {
73
- const e2 = _getScanIndexs(n, t2.startIndex, t2.endIndex), a3 = e2[0], s2 = e2[1];
74
- n = n.substring(a3, s2);
75
- }
76
- s[a2] = n;
77
- }
78
- }), { value: e, params: s, scanSet: t };
79
- }
80
- function _getScanIndexs(e, t, a) {
81
- return t = (t = (t = null == t ? 0 : t - 1) < 0 ? 0 : t) > e.length - 1 ? e.length - 1 : t, (a = (a = (a = null == a ? e.length : a) > e.length ? e.length : a) < 1 ? 1 : a) < t && (a = t), [t, a];
82
- }
83
- function setScanAnalysisValue(e, t, a) {
84
- if (!t) return;
85
- t.outs.forEach((t2) => {
86
- const s = t2.fieldName, n = a[s];
87
- pageHelperUtil.setValueForVariableName(e.entity, t2.pageVariable, n);
88
- });
89
- }
90
- exports.analysisScanValue = analysisScanValue, exports.formatScanRuleSets = formatScanRuleSets, exports.setScanAnalysisValue = setScanAnalysisValue;
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue"), window.globalRefs || (window.globalRefs = {});
3
- const e = window.globalRefs;
4
- function n(e2, n2) {
5
- return "pageRuntimeRef-" + e2 + "-" + (n2 || 1);
6
- }
7
- function o(e2, o2) {
8
- return n(e2, o2) + "-code";
9
- }
10
- exports.addComponentRef = function(o2, t, r) {
11
- if (!o2) return;
12
- const i = n(o2.code, o2.version);
13
- return e[i] || (e[i] = {}), e[i][t] = r, e[i];
14
- }, exports.addComponentRefByCode = function(n2, t, r) {
15
- if (!n2) return;
16
- const i = o(n2.code, n2.version);
17
- return e[i] || (e[i] = {}), e[i][t] = r, e[i];
18
- }, exports.getAllComponentRefs = function(n2) {
19
- if (!n2) return;
20
- const t = o(n2.code, n2.version);
21
- return e[t] || (e[t] = {}), e[t];
22
- }, exports.getComponentRef = function(o2, t) {
23
- if (!o2 || !t) return;
24
- const r = n(o2.code, o2.version);
25
- e[r] || (e[r] = {});
26
- const i = e[r][t];
27
- return i ? i.value : i;
28
- }, exports.getComponentRefByCode = function(n2, t) {
29
- if (!n2) return;
30
- const r = o(n2.code, n2.version);
31
- e[r] || (e[r] = {});
32
- const i = e[r][t];
33
- return i ? i.value : i;
34
- }, exports.initComponentRefState = function(o2) {
35
- if (!o2) return;
36
- const t = n(o2.code, o2.version);
37
- e[t] = {};
38
- }, exports.removePageAllRef = function(o2) {
39
- if (!o2) return;
40
- const t = n(o2.code, o2.version);
41
- e[t] = {};
42
- };
@@ -1,65 +0,0 @@
1
- import { PageContext } from './interfaces/page-design-types';
2
-
3
- declare global {
4
- interface Window {
5
- globalRefs: any;
6
- }
7
- }
8
- /**
9
- * 添加组件引用对象
10
- * @param pageContext 页面运行时对象
11
- * @param componentIndex 对象ID
12
- * @param refObj 引用对象
13
- * @returns
14
- */
15
- export declare function addComponentRef(pageContext: PageContext, componentUuid: string, refObj: any): any;
16
- /**
17
- * 添加组件引用对象
18
- * @param pageContext 页面运行时对象
19
- * @param componentIndex 对象ID
20
- * @param refObj 引用对象
21
- * @returns
22
- */
23
- export declare function addComponentRefByCode(pageContext: PageContext, componentCode: string, refObj: any): any;
24
- /**
25
- * 获取组件引用对象
26
- * @param pageDesign 页面设计对象
27
- * @param componentIndex 对象ID
28
- * @returns
29
- */
30
- export declare function getComponentRef(pageContext: PageContext, componentUuid: string): any;
31
- /**
32
- * 根据编码获取组件引用对象
33
- * @param pageDesign 页面设计对象
34
- * @param componentCode 对象code
35
- * @returns
36
- */
37
- export declare function getComponentRefByCode(pageContext: PageContext, componentCode: string): any;
38
- /**
39
- * 移除组件引用对象
40
- * @param pageDesign 页面设计对象
41
- * @param componentIndex 对象ID
42
- * @param refObj 引用对象
43
- * @returns
44
- */
45
- export declare function removeComponentRef(pageContext: PageContext, componentUuid: string): any;
46
- /**
47
- * 移除页面所有引用
48
- * @param pageDesign 页面设计对象
49
- * @param componentIndex 对象ID
50
- * @param refObj 引用对象
51
- * @returns
52
- */
53
- export declare function removePageAllRef(pageContext: PageContext): void;
54
- /**
55
- * 初始化页面引用对象
56
- * @param pageCode
57
- * @param pageVersion
58
- */
59
- export declare function initComponentRefState(pageContext: PageContext): void;
60
- /**
61
- * 获取所有组件引用对象
62
- * @param pageDesign 页面设计对象
63
- * @returns
64
- */
65
- export declare function getAllComponentRefs(pageContext: PageContext): any;