cnhis-design-vue 3.1.5 → 3.1.6-beta.1

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 (464) hide show
  1. package/README.md +22 -22
  2. package/env.d.ts +38 -26
  3. package/es/_virtual/_commonjsHelpers.mjs +1 -0
  4. package/es/_virtual/inherits.mjs +1 -0
  5. package/es/_virtual/inherits_browser.mjs +1 -0
  6. package/es/node_modules/diagram-js/lib/command/CommandInterceptor.mjs +1 -0
  7. package/es/node_modules/diagram-js/lib/draw/BaseRenderer.mjs +1 -0
  8. package/es/node_modules/diagram-js/lib/features/popup-menu/PopupMenu.mjs +1 -0
  9. package/es/node_modules/diagram-js/lib/features/rules/RuleProvider.mjs +1 -0
  10. package/es/node_modules/diagram-js/lib/navigation/movecanvas/MoveCanvas.mjs +1 -0
  11. package/es/node_modules/diagram-js/lib/navigation/movecanvas/index.mjs +1 -0
  12. package/es/node_modules/diagram-js/lib/navigation/zoomscroll/ZoomScroll.mjs +1 -0
  13. package/es/node_modules/diagram-js/lib/navigation/zoomscroll/ZoomUtil.mjs +1 -0
  14. package/es/node_modules/diagram-js/lib/util/ClickTrap.mjs +1 -0
  15. package/es/node_modules/diagram-js/lib/util/Cursor.mjs +1 -0
  16. package/es/node_modules/diagram-js/lib/util/Event.mjs +1 -0
  17. package/es/node_modules/diagram-js/lib/util/Math.mjs +1 -0
  18. package/es/node_modules/diagram-js/lib/util/Mouse.mjs +1 -0
  19. package/es/node_modules/diagram-js/lib/util/Platform.mjs +1 -0
  20. package/es/node_modules/diagram-js/lib/util/PositionUtil.mjs +1 -0
  21. package/es/node_modules/diagram-js/lib/util/RenderUtil.mjs +1 -0
  22. package/es/node_modules/diagram-js/lib/util/SvgTransformUtil.mjs +1 -0
  23. package/es/node_modules/ids/dist/index.esm.mjs +1 -0
  24. package/es/node_modules/inherits/inherits.mjs +1 -0
  25. package/es/node_modules/inherits/inherits_browser.mjs +1 -0
  26. package/es/node_modules/inherits-browser/dist/index.es.mjs +1 -0
  27. package/es/node_modules/min-dash/dist/index.esm.mjs +1 -0
  28. package/es/node_modules/min-dom/dist/index.esm.mjs +1 -0
  29. package/es/node_modules/tiny-svg/dist/index.esm.mjs +1 -0
  30. package/es/packages/big-table/index.d.ts +22 -16
  31. package/es/packages/big-table/src/BigTable.vue.d.ts +23 -32
  32. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.mjs +1 -1
  33. package/es/packages/big-table/src/bigTableEmits2.mjs +1 -1
  34. package/es/packages/big-table/src/bigTableState.d.ts +5 -2
  35. package/es/packages/big-table/src/bigTableState2.mjs +1 -1
  36. package/es/packages/big-table/src/components/edit-form/edit-date.mjs +1 -1
  37. package/es/packages/big-table/src/components/edit-form/edit-date2.mjs +1 -0
  38. package/es/packages/big-table/src/components/edit-form/edit-input.mjs +1 -1
  39. package/es/packages/big-table/src/components/edit-form/edit-input2.mjs +1 -0
  40. package/es/packages/big-table/src/components/edit-form/edit-select-table.mjs +1 -0
  41. package/es/packages/big-table/src/components/edit-form/edit-select-table2.mjs +1 -0
  42. package/es/packages/big-table/src/components/edit-form/edit-select.d.ts +1 -1
  43. package/es/packages/big-table/src/components/edit-form/edit-select.mjs +1 -1
  44. package/es/packages/big-table/src/components/edit-form/edit-select2.mjs +1 -0
  45. package/es/packages/big-table/src/hooks/useBatchEditing2.mjs +1 -1
  46. package/es/packages/big-table/src/hooks/useEdit.d.ts +1 -1
  47. package/es/packages/big-table/src/hooks/useEdit2.mjs +1 -1
  48. package/es/packages/big-table/src/hooks/useEvent.d.ts +6 -0
  49. package/es/packages/big-table/src/hooks/useEvent.mjs +1 -0
  50. package/es/packages/big-table/src/hooks/useEvent2.mjs +1 -0
  51. package/es/packages/big-table/src/hooks/useFormat.d.ts +0 -1
  52. package/es/packages/big-table/src/hooks/useFormat2.mjs +1 -1
  53. package/es/packages/big-table/src/hooks/useNestTable2.mjs +1 -1
  54. package/es/packages/big-table/src/hooks/useTableParse2.mjs +1 -1
  55. package/es/packages/big-table/src/utils2.mjs +1 -1
  56. package/es/packages/big-table/style/index.less +557 -557
  57. package/es/packages/bpmn-workflow/index.d.ts +74 -0
  58. package/es/packages/bpmn-workflow/index.mjs +1 -0
  59. package/es/packages/bpmn-workflow/index2.mjs +1 -0
  60. package/es/packages/bpmn-workflow/src/BpmnWorkflow.d.mjs +1 -0
  61. package/es/packages/bpmn-workflow/src/BpmnWorkflow.mjs +1 -0
  62. package/es/packages/bpmn-workflow/src/BpmnWorkflow.vue.d.ts +77 -0
  63. package/es/packages/bpmn-workflow/src/BpmnWorkflow.vue_vue_type_script_setup_true_lang.mjs +1 -0
  64. package/es/packages/bpmn-workflow/src/BpmnWorkflow2.mjs +1 -0
  65. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +75 -0
  66. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.mjs +1 -0
  67. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer2.mjs +1 -0
  68. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +24 -0
  69. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.mjs +1 -0
  70. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider2.mjs +1 -0
  71. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +19 -0
  72. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.mjs +1 -0
  73. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette2.mjs +1 -0
  74. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.d.ts +70 -0
  75. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap.mjs +1 -0
  76. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPathMap2.mjs +1 -0
  77. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +21 -0
  78. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.mjs +1 -0
  79. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer2.mjs +1 -0
  80. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +12 -0
  81. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.mjs +1 -0
  82. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules2.mjs +1 -0
  83. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +16 -0
  84. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/index.mjs +1 -0
  85. package/es/packages/bpmn-workflow/src/custom/customModeler/customBpmn/index2.mjs +1 -0
  86. package/es/packages/bpmn-workflow/src/custom/customModeler/index.d.ts +6 -0
  87. package/es/packages/bpmn-workflow/src/custom/customModeler/index.mjs +1 -0
  88. package/es/packages/bpmn-workflow/src/custom/customModeler/index2.mjs +1 -0
  89. package/es/packages/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +5 -0
  90. package/es/packages/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.mjs +1 -0
  91. package/es/packages/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu2.mjs +1 -0
  92. package/es/packages/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +12 -0
  93. package/es/packages/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.mjs +1 -0
  94. package/es/packages/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer2.mjs +1 -0
  95. package/es/packages/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +5 -0
  96. package/es/packages/bpmn-workflow/src/custom/customOtherModule/zoomScroll.mjs +1 -0
  97. package/es/packages/bpmn-workflow/src/custom/customOtherModule/zoomScroll2.mjs +1 -0
  98. package/es/packages/bpmn-workflow/src/custom/customRules/no-task.d.ts +4 -0
  99. package/es/packages/bpmn-workflow/src/custom/customRules/no-task.mjs +1 -0
  100. package/es/packages/bpmn-workflow/src/custom/customRules/no-task2.mjs +1 -0
  101. package/es/packages/bpmn-workflow/src/custom/customTranslate/customTranslate.d.ts +1 -0
  102. package/es/packages/bpmn-workflow/src/custom/customTranslate/customTranslate.mjs +1 -0
  103. package/es/packages/bpmn-workflow/src/custom/customTranslate/customTranslate2.mjs +1 -0
  104. package/es/packages/bpmn-workflow/src/custom/customTranslate/zh.d.ts +226 -0
  105. package/es/packages/bpmn-workflow/src/custom/customTranslate/zh.mjs +1 -0
  106. package/es/packages/bpmn-workflow/src/custom/customTranslate/zh2.mjs +1 -0
  107. package/es/packages/bpmn-workflow/style/index.css +29 -0
  108. package/es/packages/bpmn-workflow/style/index.less +29 -0
  109. package/es/packages/bpmn-workflow/types/BpmnViewer.d.mjs +1 -0
  110. package/es/packages/bpmn-workflow/types/ModelingModule.d.mjs +1 -0
  111. package/es/packages/bpmn-workflow/types/MoveCanvasModule.d.mjs +1 -0
  112. package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.mjs +1 -1
  113. package/es/packages/button-print/src/components/IdentityVerification.vue_vue_type_script_setup_true_lang.mjs +1 -1
  114. package/es/packages/button-print/style/index.less +30 -30
  115. package/es/packages/chunk-upload/index.d.ts +1748 -0
  116. package/es/packages/chunk-upload/index.mjs +1 -0
  117. package/es/packages/chunk-upload/index2.mjs +1 -0
  118. package/es/packages/chunk-upload/src/chunk-upload-new.mjs +1 -0
  119. package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +1905 -0
  120. package/es/packages/chunk-upload/src/chunk-upload-new.vue_vue_type_script_setup_true_lang.mjs +1 -0
  121. package/es/packages/chunk-upload/src/chunk-upload-new2.mjs +1 -0
  122. package/es/packages/chunk-upload/src/hooks/upload-computed.d.ts +11 -0
  123. package/es/packages/chunk-upload/src/hooks/upload-computed.mjs +1 -0
  124. package/es/packages/chunk-upload/src/hooks/upload-computed2.mjs +1 -0
  125. package/es/packages/chunk-upload/src/hooks/upload-data.d.ts +61 -0
  126. package/es/packages/chunk-upload/src/hooks/upload-data.mjs +1 -0
  127. package/es/packages/chunk-upload/src/hooks/upload-data2.mjs +1 -0
  128. package/es/packages/chunk-upload/src/hooks/vod-computed.d.ts +10 -0
  129. package/es/packages/chunk-upload/src/hooks/vod-computed.mjs +1 -0
  130. package/es/packages/chunk-upload/src/hooks/vod-computed2.mjs +1 -0
  131. package/es/packages/chunk-upload/src/hooks/vod-data.d.ts +44 -0
  132. package/es/packages/chunk-upload/src/hooks/vod-data.mjs +1 -0
  133. package/es/packages/chunk-upload/src/hooks/vod-data2.mjs +1 -0
  134. package/es/packages/chunk-upload/src/vod-chunk-upload/index.d.ts +2 -0
  135. package/es/packages/chunk-upload/src/vod-chunk-upload/index.mjs +1 -0
  136. package/es/packages/chunk-upload/src/vod-chunk-upload/index2.mjs +1 -0
  137. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.mjs +1 -0
  138. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +1749 -0
  139. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue_vue_type_script_setup_true_lang.mjs +1 -0
  140. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload2.mjs +1 -0
  141. package/es/packages/chunk-upload/src/vod-upload-modal.d.ts +25 -0
  142. package/es/packages/chunk-upload/src/vod-upload-modal.mjs +1 -0
  143. package/es/packages/chunk-upload/src/vod-upload-modal2.mjs +1 -0
  144. package/es/packages/chunk-upload/style/index.css +363 -0
  145. package/es/packages/chunk-upload/style/index.less +395 -0
  146. package/es/packages/drag-layout/index.d.ts +8 -8
  147. package/es/packages/drag-layout/src/DragFormLeftItem.vue.d.ts +4 -4
  148. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +18 -10
  149. package/es/packages/drag-layout/src/DragLayout.vue_vue_type_script_setup_true_lang.mjs +1 -1
  150. package/es/packages/drag-layout/style/index.less +208 -208
  151. package/es/packages/editor/index.d.ts +30 -0
  152. package/es/packages/editor/index.mjs +1 -0
  153. package/es/packages/editor/index2.mjs +1 -0
  154. package/es/packages/editor/src/Editor.d.ts +30 -0
  155. package/es/packages/editor/src/Editor.mjs +1 -0
  156. package/es/packages/editor/src/Editor2.mjs +1 -0
  157. package/es/packages/editor/style/index.css +0 -0
  158. package/es/packages/editor/style/index.less +0 -0
  159. package/es/packages/field-set/index.d.ts +4 -4
  160. package/es/packages/field-set/src/FieldSet.vue.d.ts +4 -4
  161. package/es/packages/field-set/src/FieldSet.vue_vue_type_script_setup_true_lang.mjs +1 -1
  162. package/es/packages/field-set/style/index.css +30 -44
  163. package/es/packages/field-set/style/index.less +157 -172
  164. package/es/packages/form-table/index.d.ts +35901 -1
  165. package/es/packages/form-table/src/FormTable.vue.d.ts +35911 -1
  166. package/es/packages/form-table/src/FormTable.vue_vue_type_script_setup_true_lang.mjs +1 -1
  167. package/es/packages/form-table/src/components/index.d.ts +35662 -0
  168. package/es/packages/form-table/src/components/index.mjs +1 -0
  169. package/es/packages/form-table/src/components/index2.mjs +1 -0
  170. package/es/packages/form-table/src/components/table-age.mjs +1 -0
  171. package/es/packages/form-table/src/components/table-age.vue.d.ts +4305 -0
  172. package/es/packages/form-table/src/components/table-age.vue_vue_type_script_setup_true_lang.mjs +1 -0
  173. package/es/packages/form-table/src/components/table-age2.mjs +1 -0
  174. package/es/packages/form-table/src/components/table-date-picker.mjs +1 -0
  175. package/es/packages/form-table/src/components/table-date-picker.vue.d.ts +5286 -0
  176. package/es/packages/form-table/src/components/table-date-picker.vue_vue_type_script_setup_true_lang.mjs +1 -0
  177. package/es/packages/form-table/src/components/table-date-picker2.mjs +1 -0
  178. package/es/packages/form-table/src/components/table-digital.mjs +1 -0
  179. package/es/packages/form-table/src/components/table-digital.vue.d.ts +2916 -0
  180. package/es/packages/form-table/src/components/table-digital.vue_vue_type_script_setup_true_lang.mjs +1 -0
  181. package/es/packages/form-table/src/components/table-digital2.mjs +1 -0
  182. package/es/packages/form-table/src/components/table-input-password.mjs +1 -0
  183. package/es/packages/form-table/src/components/table-input-password.vue.d.ts +1622 -0
  184. package/es/packages/form-table/src/components/table-input-password.vue_vue_type_script_setup_true_lang.mjs +1 -0
  185. package/es/packages/form-table/src/components/table-input-password2.mjs +1 -0
  186. package/es/packages/form-table/src/components/table-input.mjs +1 -0
  187. package/es/packages/form-table/src/components/table-input.vue.d.ts +1579 -0
  188. package/es/packages/form-table/src/components/table-input.vue_vue_type_script_setup_true_lang.mjs +1 -0
  189. package/es/packages/form-table/src/components/table-input2.mjs +1 -0
  190. package/es/packages/form-table/src/components/table-month-picker.mjs +1 -0
  191. package/es/packages/form-table/src/components/table-month-picker.vue.d.ts +5229 -0
  192. package/es/packages/form-table/src/components/table-month-picker.vue_vue_type_script_setup_true_lang.mjs +1 -0
  193. package/es/packages/form-table/src/components/table-month-picker2.mjs +1 -0
  194. package/es/packages/form-table/src/components/table-search-more.mjs +1 -0
  195. package/es/packages/form-table/src/components/table-search-more.vue.d.ts +1785 -0
  196. package/es/packages/form-table/src/components/table-search-more.vue_vue_type_script_setup_true_lang.mjs +1 -0
  197. package/es/packages/form-table/src/components/table-search-more2.mjs +1 -0
  198. package/es/packages/form-table/src/components/table-search.mjs +1 -0
  199. package/es/packages/form-table/src/components/table-search.vue.d.ts +3111 -0
  200. package/es/packages/form-table/src/components/table-search.vue_vue_type_script_setup_true_lang.mjs +1 -0
  201. package/es/packages/form-table/src/components/table-search2.mjs +1 -0
  202. package/es/packages/form-table/src/components/table-select-multiple.mjs +1 -0
  203. package/es/packages/form-table/src/components/table-select-multiple.vue.d.ts +1567 -0
  204. package/es/packages/form-table/src/components/table-select-multiple.vue_vue_type_script_setup_true_lang.mjs +1 -0
  205. package/es/packages/form-table/src/components/table-select-multiple2.mjs +1 -0
  206. package/es/packages/form-table/src/components/table-select.mjs +1 -0
  207. package/es/packages/form-table/src/components/table-select.vue.d.ts +1566 -0
  208. package/es/packages/form-table/src/components/table-select.vue_vue_type_script_setup_true_lang.mjs +1 -0
  209. package/es/packages/form-table/src/components/table-select2.mjs +1 -0
  210. package/es/packages/form-table/src/components/table-textarea.mjs +1 -0
  211. package/es/packages/form-table/src/components/table-textarea.vue.d.ts +1638 -0
  212. package/es/packages/form-table/src/components/table-textarea.vue_vue_type_script_setup_true_lang.mjs +1 -0
  213. package/es/packages/form-table/src/components/table-textarea2.mjs +1 -0
  214. package/es/packages/form-table/src/components/table-time-picker.mjs +1 -0
  215. package/es/packages/form-table/src/components/table-time-picker.vue.d.ts +2673 -0
  216. package/es/packages/form-table/src/components/table-time-picker.vue_vue_type_script_setup_true_lang.mjs +1 -0
  217. package/es/packages/form-table/src/components/table-time-picker2.mjs +1 -0
  218. package/es/packages/form-table/src/components/table-tree-select.mjs +1 -0
  219. package/es/packages/form-table/src/components/table-tree-select.vue.d.ts +1883 -0
  220. package/es/packages/form-table/src/components/table-tree-select.vue_vue_type_script_setup_true_lang.mjs +1 -0
  221. package/es/packages/form-table/src/components/table-tree-select2.mjs +1 -0
  222. package/es/packages/form-table/src/components/text-over-tooltip.mjs +1 -0
  223. package/es/packages/form-table/src/components/text-over-tooltip.vue.d.ts +543 -0
  224. package/es/packages/form-table/src/components/text-over-tooltip.vue_vue_type_script_setup_true_lang.mjs +1 -0
  225. package/es/packages/form-table/src/components/text-over-tooltip2.mjs +1 -0
  226. package/es/packages/form-table/src/configs/index2.mjs +1 -1
  227. package/es/packages/form-table/src/hooks/index.d.ts +1 -0
  228. package/es/packages/form-table/src/hooks/index.mjs +1 -1
  229. package/es/packages/form-table/src/hooks/useBoundDate2.mjs +1 -1
  230. package/es/packages/form-table/src/hooks/useDateType2.mjs +1 -1
  231. package/es/packages/form-table/src/hooks/useFormCommon.d.ts +1 -1
  232. package/es/packages/form-table/src/hooks/useFormCommon2.mjs +1 -1
  233. package/es/packages/form-table/src/hooks/useFormEvent2.mjs +1 -1
  234. package/es/packages/form-table/src/hooks/useItemDefault.d.ts +37 -57
  235. package/es/packages/form-table/src/hooks/useItemDefault2.mjs +1 -1
  236. package/es/packages/form-table/src/hooks/useSearch.d.ts +165 -1
  237. package/es/packages/form-table/src/hooks/useSearch2.mjs +1 -1
  238. package/es/packages/form-table/src/hooks/useValidate2.mjs +1 -1
  239. package/es/packages/form-table/src/types/index.d.ts +3 -1
  240. package/es/packages/form-table/style/index.css +135 -19
  241. package/es/packages/form-table/style/index.less +301 -122
  242. package/es/packages/grid/index2.mjs +1 -1
  243. package/es/packages/grid/src/Grid.mjs +1 -1
  244. package/es/packages/grid/src/Grid2.mjs +1 -0
  245. package/es/packages/grid/style/index.css +10 -0
  246. package/es/packages/grid/style/index.less +13 -1
  247. package/es/packages/index.css +1513 -44
  248. package/es/packages/index.d.ts +10 -35611
  249. package/es/packages/index.less +2790 -1201
  250. package/es/packages/index.mjs +1 -1
  251. package/es/packages/index2.mjs +1 -1
  252. package/es/packages/info-header/index.d.ts +1846 -0
  253. package/es/packages/info-header/index.mjs +1 -0
  254. package/es/packages/info-header/index2.mjs +1 -0
  255. package/es/packages/info-header/src/hidden-content.mjs +1 -0
  256. package/es/packages/info-header/src/hidden-content.vue.d.ts +363 -0
  257. package/es/packages/info-header/src/hidden-content.vue_vue_type_script_setup_true_lang.mjs +1 -0
  258. package/es/packages/info-header/src/hidden-content2.mjs +1 -0
  259. package/es/packages/info-header/src/info-header.mjs +1 -0
  260. package/es/packages/info-header/src/info-header.vue.d.ts +1847 -0
  261. package/es/packages/info-header/src/info-header.vue_vue_type_script_setup_true_lang.mjs +1 -0
  262. package/es/packages/info-header/src/info-header2.mjs +1 -0
  263. package/es/packages/info-header/src/slot-render.d.ts +22 -0
  264. package/es/packages/info-header/src/slot-render.mjs +1 -0
  265. package/es/packages/info-header/src/slot-render2.mjs +1 -0
  266. package/es/packages/info-header/style/iconfont.ttf +0 -0
  267. package/es/packages/info-header/style/index.css +118 -0
  268. package/es/packages/info-header/style/index.less +149 -0
  269. package/es/packages/map/index.d.ts +2313 -0
  270. package/es/packages/map/index.mjs +1 -0
  271. package/es/packages/map/index2.mjs +1 -0
  272. package/es/packages/map/src/Map.mjs +1 -0
  273. package/es/packages/map/src/Map.vue.d.ts +2313 -0
  274. package/es/packages/map/src/Map.vue_vue_type_script_setup_true_lang.mjs +1 -0
  275. package/es/packages/map/src/Map2.mjs +1 -0
  276. package/es/packages/map/style/index.css +61 -0
  277. package/es/packages/map/style/index.less +60 -0
  278. package/es/packages/popper/index.d.ts +0 -0
  279. package/es/packages/popper/index.mjs +1 -0
  280. package/es/packages/popper/src/components/popover.mjs +1 -0
  281. package/es/packages/popper/src/components/popover.vue.d.ts +33 -0
  282. package/es/packages/popper/src/components/popover.vue_vue_type_script_setup_true_lang.mjs +1 -0
  283. package/es/packages/popper/src/components/popover2.mjs +1 -0
  284. package/es/packages/popper/src/hooks/useAutoHidden.d.ts +8 -0
  285. package/es/packages/popper/src/hooks/useAutoHidden.mjs +1 -0
  286. package/es/packages/popper/src/hooks/useAutoHidden2.mjs +1 -0
  287. package/es/packages/popper/src/types/index.d.ts +1 -0
  288. package/es/packages/popper/src/types/index.mjs +1 -0
  289. package/es/packages/scale-view/index.d.ts +4297 -0
  290. package/es/packages/scale-view/index.mjs +1 -0
  291. package/es/packages/scale-view/index2.mjs +1 -0
  292. package/es/packages/scale-view/src/ScaleView.mjs +1 -0
  293. package/es/packages/scale-view/src/ScaleView.vue.d.ts +4141 -0
  294. package/es/packages/scale-view/src/ScaleView.vue_vue_type_script_setup_true_lang.mjs +1 -0
  295. package/es/packages/scale-view/src/ScaleView2.mjs +1 -0
  296. package/es/packages/scale-view/src/components/AnswerParse.mjs +1 -0
  297. package/es/packages/scale-view/src/components/AnswerParse.vue.d.ts +72 -0
  298. package/es/packages/scale-view/src/components/AnswerParse.vue_vue_type_script_setup_true_lang.mjs +1 -0
  299. package/es/packages/scale-view/src/components/AnswerParse2.mjs +1 -0
  300. package/es/packages/scale-view/src/components/EvaluateCountdown.mjs +1 -0
  301. package/es/packages/scale-view/src/components/EvaluateCountdown.vue.d.ts +150 -0
  302. package/es/packages/scale-view/src/components/EvaluateCountdown.vue_vue_type_script_setup_true_lang.mjs +1 -0
  303. package/es/packages/scale-view/src/components/EvaluateCountdown2.mjs +1 -0
  304. package/es/packages/scale-view/src/components/EvaluatePage.mjs +1 -0
  305. package/es/packages/scale-view/src/components/EvaluatePage.vue.d.ts +1503 -0
  306. package/es/packages/scale-view/src/components/EvaluatePage.vue_vue_type_script_setup_true_lang.mjs +1 -0
  307. package/es/packages/scale-view/src/components/EvaluatePage2.mjs +1 -0
  308. package/es/packages/scale-view/src/components/NoData.mjs +1 -0
  309. package/es/packages/scale-view/src/components/NoData.vue.d.ts +51 -0
  310. package/es/packages/scale-view/src/components/NoData.vue_vue_type_script_setup_true_lang.mjs +1 -0
  311. package/es/packages/scale-view/src/components/NoData2.mjs +1 -0
  312. package/es/packages/scale-view/src/components/ScaleScore.d.ts +23 -0
  313. package/es/packages/scale-view/src/components/ScaleScore.mjs +1 -0
  314. package/es/packages/scale-view/src/components/ScaleScore2.mjs +1 -0
  315. package/es/packages/scale-view/src/components/composables/choose-common.d.ts +10 -0
  316. package/es/packages/scale-view/src/components/composables/choose-common.mjs +1 -0
  317. package/es/packages/scale-view/src/components/composables/choose-common2.mjs +1 -0
  318. package/es/packages/scale-view/src/components/formitem/address.d.ts +3992 -0
  319. package/es/packages/scale-view/src/components/formitem/address.mjs +1 -0
  320. package/es/packages/scale-view/src/components/formitem/address2.mjs +1 -0
  321. package/es/packages/scale-view/src/components/formitem/r-address.d.ts +34 -0
  322. package/es/packages/scale-view/src/components/formitem/r-address.mjs +1 -0
  323. package/es/packages/scale-view/src/components/formitem/r-address2.mjs +1 -0
  324. package/es/packages/scale-view/src/components/formitem/r-cascader.d.ts +43 -0
  325. package/es/packages/scale-view/src/components/formitem/r-cascader.mjs +1 -0
  326. package/es/packages/scale-view/src/components/formitem/r-cascader2.mjs +1 -0
  327. package/es/packages/scale-view/src/components/formitem/r-checkbox.d.ts +34 -0
  328. package/es/packages/scale-view/src/components/formitem/r-checkbox.mjs +1 -0
  329. package/es/packages/scale-view/src/components/formitem/r-checkbox2.mjs +1 -0
  330. package/es/packages/scale-view/src/components/formitem/r-collection.d.ts +32 -0
  331. package/es/packages/scale-view/src/components/formitem/r-collection.mjs +1 -0
  332. package/es/packages/scale-view/src/components/formitem/r-collection2.mjs +1 -0
  333. package/es/packages/scale-view/src/components/formitem/r-datetime.d.ts +34 -0
  334. package/es/packages/scale-view/src/components/formitem/r-datetime.mjs +1 -0
  335. package/es/packages/scale-view/src/components/formitem/r-datetime2.mjs +1 -0
  336. package/es/packages/scale-view/src/components/formitem/r-input.d.ts +34 -0
  337. package/es/packages/scale-view/src/components/formitem/r-input.mjs +1 -0
  338. package/es/packages/scale-view/src/components/formitem/r-input2.mjs +1 -0
  339. package/es/packages/scale-view/src/components/formitem/r-map.d.ts +52 -0
  340. package/es/packages/scale-view/src/components/formitem/r-map.mjs +1 -0
  341. package/es/packages/scale-view/src/components/formitem/r-map2.mjs +1 -0
  342. package/es/packages/scale-view/src/components/formitem/r-radio.d.ts +34 -0
  343. package/es/packages/scale-view/src/components/formitem/r-radio.mjs +1 -0
  344. package/es/packages/scale-view/src/components/formitem/r-radio2.mjs +1 -0
  345. package/es/packages/scale-view/src/components/formitem/r-select.d.ts +61 -0
  346. package/es/packages/scale-view/src/components/formitem/r-select.mjs +1 -0
  347. package/es/packages/scale-view/src/components/formitem/r-select2.mjs +1 -0
  348. package/es/packages/scale-view/src/components/formitem/r-upload.d.ts +52 -0
  349. package/es/packages/scale-view/src/components/formitem/r-upload.mjs +1 -0
  350. package/es/packages/scale-view/src/components/formitem/r-upload2.mjs +1 -0
  351. package/es/packages/{big-table/src/components → scale-view/src/components/formitem/text-over-tooltip}/TextOverTooltip.mjs +0 -0
  352. package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +560 -0
  353. package/es/packages/{big-table/src/components → scale-view/src/components/formitem/text-over-tooltip}/TextOverTooltip.vue_vue_type_script_setup_true_lang.mjs +0 -0
  354. package/es/packages/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip2.mjs +1 -0
  355. package/es/packages/scale-view/src/hooks/scaleview-computed.d.ts +43 -0
  356. package/es/packages/scale-view/src/hooks/scaleview-computed.mjs +1 -0
  357. package/es/packages/scale-view/src/hooks/scaleview-computed2.mjs +1 -0
  358. package/es/packages/scale-view/src/hooks/scaleview-init.d.ts +3 -0
  359. package/es/packages/scale-view/src/hooks/scaleview-init.mjs +1 -0
  360. package/es/packages/scale-view/src/hooks/scaleview-init2.mjs +1 -0
  361. package/es/packages/scale-view/src/hooks/scaleview-props.d.ts +83 -0
  362. package/es/packages/scale-view/src/hooks/scaleview-props.mjs +1 -0
  363. package/es/packages/scale-view/src/hooks/scaleview-props2.mjs +1 -0
  364. package/es/packages/scale-view/src/hooks/scaleview-state.d.ts +33 -0
  365. package/es/packages/scale-view/src/hooks/scaleview-state.mjs +1 -0
  366. package/es/packages/scale-view/src/hooks/scaleview-state2.mjs +1 -0
  367. package/es/packages/scale-view/src/hooks/scaleview-submit.d.ts +3 -0
  368. package/es/packages/scale-view/src/hooks/scaleview-submit.mjs +1 -0
  369. package/es/packages/scale-view/src/hooks/scaleview-submit2.mjs +1 -0
  370. package/es/packages/scale-view/src/hooks/scaleview-validate.d.ts +3 -0
  371. package/es/packages/scale-view/src/hooks/scaleview-validate.mjs +1 -0
  372. package/es/packages/scale-view/src/hooks/scaleview-validate2.mjs +1 -0
  373. package/es/packages/scale-view/src/hooks/use-component.d.ts +2673 -0
  374. package/es/packages/scale-view/src/hooks/use-component.mjs +1 -0
  375. package/es/packages/scale-view/src/hooks/use-component2.mjs +1 -0
  376. package/es/packages/scale-view/src/hooks/use-evaluate.d.ts +21 -0
  377. package/es/packages/scale-view/src/hooks/use-evaluate.mjs +1 -0
  378. package/es/packages/scale-view/src/hooks/use-evaluate2.mjs +1 -0
  379. package/es/packages/scale-view/src/hooks/use-event.d.ts +4 -0
  380. package/es/packages/scale-view/src/hooks/use-event.mjs +1 -0
  381. package/es/packages/scale-view/src/hooks/use-event2.mjs +1 -0
  382. package/es/packages/scale-view/src/hooks/use-noData.d.ts +9 -0
  383. package/es/packages/scale-view/src/hooks/use-noData.mjs +1 -0
  384. package/es/packages/scale-view/src/hooks/use-noData2.mjs +1 -0
  385. package/es/packages/scale-view/src/utils/judge-types.d.ts +5 -0
  386. package/es/packages/scale-view/src/utils/judge-types.mjs +1 -0
  387. package/es/packages/scale-view/src/utils/judge-types2.mjs +1 -0
  388. package/es/packages/scale-view/style/index.css +709 -0
  389. package/es/packages/scale-view/style/index.less +748 -0
  390. package/es/packages/select-label/index.d.ts +12091 -0
  391. package/es/packages/select-label/index.mjs +1 -0
  392. package/es/packages/select-label/index2.mjs +1 -0
  393. package/es/packages/select-label/src/LabelFormContent.mjs +1 -0
  394. package/es/packages/select-label/src/{components/label-form-content.vue.d.ts → LabelFormContent.vue.d.ts} +11 -4
  395. package/es/packages/select-label/src/LabelFormContent.vue_vue_type_script_setup_true_lang.mjs +1 -0
  396. package/es/packages/select-label/src/LabelFormContent2.mjs +1 -0
  397. package/es/packages/select-label/src/SelectLabel.vue.d.ts +155 -74
  398. package/es/packages/select-label/src/SelectLabel.vue_vue_type_script_setup_true_lang.mjs +1 -1
  399. package/es/packages/select-label/src/components/label-classify.vue.d.ts +1 -0
  400. package/es/packages/select-label/src/components/label-classify.vue_vue_type_script_setup_true_lang.mjs +1 -1
  401. package/es/packages/select-label/style/index.css +86 -19
  402. package/es/packages/select-label/style/index.less +151 -85
  403. package/es/packages/select-person/index.d.ts +4 -4
  404. package/es/packages/select-person/src/SearchTree.vue_vue_type_script_setup_true_lang.mjs +1 -1
  405. package/es/packages/select-person/src/SelectPerson.vue.d.ts +7 -11
  406. package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.mjs +1 -1
  407. package/es/packages/select-person/style/index.less +229 -229
  408. package/es/packages/time-line/index.d.ts +1720 -0
  409. package/es/packages/time-line/index.mjs +1 -0
  410. package/es/packages/time-line/index2.mjs +1 -0
  411. package/es/packages/time-line/src/TimeLine.mjs +1 -0
  412. package/es/packages/time-line/src/TimeLine.vue.d.ts +1723 -0
  413. package/es/packages/time-line/src/TimeLine.vue_vue_type_script_setup_true_lang.mjs +1 -0
  414. package/es/packages/time-line/src/TimeLine2.mjs +1 -0
  415. package/es/packages/time-line/style/index.css +32 -0
  416. package/es/packages/time-line/style/index.less +35 -0
  417. package/es/src/assets/img/success.png +0 -0
  418. package/es/src/assets/img/video.png +0 -0
  419. package/es/src/assets/img/video_hover.png +0 -0
  420. package/es/src/assets/img/video_play_hover.png +0 -0
  421. package/es/src/components/SelectPage/SelectPage.mjs +1 -0
  422. package/es/src/components/SelectPage/SelectPage.vue.d.ts +1446 -0
  423. package/es/src/components/SelectPage/SelectPage.vue_vue_type_script_setup_true_lang.mjs +1 -0
  424. package/es/src/components/SelectPage/SelectPage2.mjs +1 -0
  425. package/es/src/components/SelectPage/index.d.ts +2 -0
  426. package/es/src/components/SelectPage/index.mjs +1 -0
  427. package/es/src/components/SelectPage/index2.mjs +1 -0
  428. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon.mjs +0 -0
  429. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon.vue.d.ts +2 -2
  430. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon.vue_vue_type_script_setup_true_lang.mjs +1 -1
  431. package/es/{packages/big-table/src/components → src/components/SvgIcon}/SvgIcon2.mjs +1 -1
  432. package/es/src/components/SvgIcon/index.d.ts +2 -0
  433. package/es/src/components/SvgIcon/index.mjs +1 -0
  434. package/es/src/components/SvgIcon/index2.mjs +1 -0
  435. package/es/src/components/TextOverTooltip/TextOverTooltip.mjs +1 -0
  436. package/es/{packages/big-table/src/components → src/components/TextOverTooltip}/TextOverTooltip.vue.d.ts +0 -0
  437. package/es/src/components/TextOverTooltip/TextOverTooltip.vue_vue_type_script_setup_true_lang.mjs +1 -0
  438. package/es/{packages/big-table/src/components → src/components/TextOverTooltip}/TextOverTooltip2.mjs +1 -1
  439. package/es/src/components/TextOverTooltip/index.d.ts +2 -0
  440. package/es/src/components/TextOverTooltip/index.mjs +1 -0
  441. package/es/src/components/TextOverTooltip/index2.mjs +1 -0
  442. package/es/src/components/player-vod/index.mjs +1 -0
  443. package/es/src/components/player-vod/index.vue.d.ts +2 -0
  444. package/es/src/components/player-vod/index.vue_vue_type_script_setup_true_lang.mjs +1 -0
  445. package/es/src/components/player-vod/index2.mjs +1 -0
  446. package/es/src/components/player-vod/player.d.ts +17 -0
  447. package/es/src/components/player-vod/player.mjs +1 -0
  448. package/es/src/components/player-vod/player2.mjs +1 -0
  449. package/es/src/components/player-vod/video-list.d.ts +32 -0
  450. package/es/src/components/player-vod/video-list.mjs +1 -0
  451. package/es/src/components/player-vod/video-list2.mjs +1 -0
  452. package/es/src/components/player-vod/video-modal.d.ts +54 -0
  453. package/es/src/components/player-vod/video-modal.mjs +1 -0
  454. package/es/src/components/player-vod/video-modal2.mjs +1 -0
  455. package/es/src/utils/index.d.ts +1 -0
  456. package/es/src/utils/index.mjs +1 -1
  457. package/es/src/utils/index2.mjs +1 -1
  458. package/es/src/utils/vexutils2.mjs +1 -1
  459. package/global.d.ts +8 -8
  460. package/package.json +122 -104
  461. package/yarn-error.log +103 -8067
  462. package/es/packages/select-label/src/components/label-form-content.mjs +0 -1
  463. package/es/packages/select-label/src/components/label-form-content.vue_vue_type_script_setup_true_lang.mjs +0 -1
  464. package/es/packages/select-label/src/components/label-form-content2.mjs +0 -1
@@ -0,0 +1,12 @@
1
+ declare namespace _default {
2
+ const __init__: string[];
3
+ const customPathMap: (string | typeof CustomPathMap)[];
4
+ const customRenderer: (string | typeof CustomRenderer)[];
5
+ const bpmnRenderer: (string | typeof BpmnRenderer)[];
6
+ const customRules: (string | typeof CustomRules)[];
7
+ }
8
+ export default _default;
9
+ import CustomPathMap from "../customModeler/customBpmn/CustomPathMap";
10
+ import CustomRenderer from "../customModeler/customBpmn/CustomRenderer";
11
+ import BpmnRenderer from "../customModeler/customBpmn/BpmnRenderer";
12
+ import CustomRules from "../customModeler/customBpmn/CustomRules";
@@ -0,0 +1 @@
1
+ export{default}from"./customViewerRenderer2.mjs";
@@ -0,0 +1 @@
1
+ import m from"../customModeler/customBpmn/CustomRenderer2.mjs";import e from"../customModeler/customBpmn/CustomRules2.mjs";import t from"../customModeler/customBpmn/CustomPathMap2.mjs";import o from"../customModeler/customBpmn/BpmnRenderer2.mjs";var r={__init__:["customPathMap","customRenderer","bpmnRenderer","customRules"],customPathMap:["type",t],customRenderer:["type",m],bpmnRenderer:["type",o],customRules:["type",e]};export{r as default};
@@ -0,0 +1,5 @@
1
+ declare namespace _default {
2
+ const __init__: string[];
3
+ const zoomScroll: any[];
4
+ }
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export{default}from"./zoomScroll2.mjs";
@@ -0,0 +1 @@
1
+ import o from"../../../../../node_modules/diagram-js/lib/navigation/zoomscroll/ZoomScroll.mjs";o.prototype.scroll=()=>{};var l={__init__:["zoomScroll"],zoomScroll:["type",o]};export{l as default};
@@ -0,0 +1,4 @@
1
+ declare function _exports(): {
2
+ check: (node: any, reporter: any) => void;
3
+ };
4
+ export = _exports;
@@ -0,0 +1 @@
1
+ export{default}from"./no-task2.mjs";
@@ -0,0 +1 @@
1
+ import n from"bpmnlint-utils";const{isAny:t}=n;var e=function(){return{check:function(n,e){if(t(n,["bpmn:FlowNode","bpmn:SequenceFlow","bpmn:Participant","bpmn:Lane"])){const t=(n.name||"").trim();e.report(n.id,t+"Element must have an emoji")}}}};export{e as default};
@@ -0,0 +1 @@
1
+ export default function customTranslate(translations: any): (template: any, replacements: any) => any;
@@ -0,0 +1 @@
1
+ export{default}from"./customTranslate2.mjs";
@@ -0,0 +1 @@
1
+ function n(n){return function(t,e){return e=e||{},(t=n[t]||t).replace(/{([^}]+)}/g,(function(t,r){let u=e[r];return null!==n[e[r]]&&void 0!==n[e[r]]&&(u=n[e[r]]),u||"{"+r+"}"}))}}export{n as default};
@@ -0,0 +1,226 @@
1
+ declare const _default: {
2
+ "Append EndEvent": string;
3
+ "Append Gateway": string;
4
+ "Append Task": string;
5
+ "Append Intermediate/Boundary Event": string;
6
+ "Activate the global connect tool": string;
7
+ "Append {type}": string;
8
+ "Add Lane above": string;
9
+ "Divide into two Lanes": string;
10
+ "Divide into three Lanes": string;
11
+ "Add Lane below": string;
12
+ "Append compensation activity": string;
13
+ "Change type": string;
14
+ "Connect using Association": string;
15
+ "Connect using Sequence/MessageFlow or Association": string;
16
+ "Connect using DataInputAssociation": string;
17
+ Remove: string;
18
+ "Activate the hand tool": string;
19
+ "Activate the lasso tool": string;
20
+ "Activate the create/remove space tool": string;
21
+ "Create expanded SubProcess": string;
22
+ "Create IntermediateThrowEvent/BoundaryEvent": string;
23
+ "Create Pool/Participant": string;
24
+ "Parallel Multi Instance": string;
25
+ "Sequential Multi Instance": string;
26
+ DataObjectReference: string;
27
+ DataStoreReference: string;
28
+ Loop: string;
29
+ "Ad-hoc": string;
30
+ "Create {type}": string;
31
+ Task: string;
32
+ "Send Task": string;
33
+ "Receive Task": string;
34
+ "User Task": string;
35
+ "Manual Task": string;
36
+ "Business Rule Task": string;
37
+ "Service Task": string;
38
+ "Script Task": string;
39
+ "Call Activity": string;
40
+ "Sub Process (collapsed)": string;
41
+ "Sub Process (expanded)": string;
42
+ "Start Event": string;
43
+ StartEvent: string;
44
+ "Intermediate Throw Event": string;
45
+ "End Event": string;
46
+ EndEvent: string;
47
+ "Create StartEvent": string;
48
+ "Create EndEvent": string;
49
+ "Create Task": string;
50
+ "Create User Task": string;
51
+ "Create Gateway": string;
52
+ "Create DataObjectReference": string;
53
+ "Create DataStoreReference": string;
54
+ "Create Group": string;
55
+ "Create Intermediate/Boundary Event": string;
56
+ "Message Start Event": string;
57
+ "Timer Start Event": string;
58
+ "Conditional Start Event": string;
59
+ "Signal Start Event": string;
60
+ "Error Start Event": string;
61
+ "Escalation Start Event": string;
62
+ "Compensation Start Event": string;
63
+ "Message Start Event (non-interrupting)": string;
64
+ "Timer Start Event (non-interrupting)": string;
65
+ "Conditional Start Event (non-interrupting)": string;
66
+ "Signal Start Event (non-interrupting)": string;
67
+ "Escalation Start Event (non-interrupting)": string;
68
+ "Message Intermediate Catch Event": string;
69
+ "Message Intermediate Throw Event": string;
70
+ "Timer Intermediate Catch Event": string;
71
+ "Escalation Intermediate Throw Event": string;
72
+ "Conditional Intermediate Catch Event": string;
73
+ "Link Intermediate Catch Event": string;
74
+ "Link Intermediate Throw Event": string;
75
+ "Compensation Intermediate Throw Event": string;
76
+ "Signal Intermediate Catch Event": string;
77
+ "Signal Intermediate Throw Event": string;
78
+ "Message End Event": string;
79
+ "Escalation End Event": string;
80
+ "Error End Event": string;
81
+ "Cancel End Event": string;
82
+ "Compensation End Event": string;
83
+ "Signal End Event": string;
84
+ "Terminate End Event": string;
85
+ "Message Boundary Event": string;
86
+ "Message Boundary Event (non-interrupting)": string;
87
+ "Timer Boundary Event": string;
88
+ "Timer Boundary Event (non-interrupting)": string;
89
+ "Escalation Boundary Event": string;
90
+ "Escalation Boundary Event (non-interrupting)": string;
91
+ "Conditional Boundary Event": string;
92
+ "Conditional Boundary Event (non-interrupting)": string;
93
+ "Error Boundary Event": string;
94
+ "Cancel Boundary Event": string;
95
+ "Signal Boundary Event": string;
96
+ "Signal Boundary Event (non-interrupting)": string;
97
+ "Compensation Boundary Event": string;
98
+ "Exclusive Gateway": string;
99
+ "Parallel Gateway": string;
100
+ "Inclusive Gateway": string;
101
+ "Complex Gateway": string;
102
+ "Event based Gateway": string;
103
+ Transaction: string;
104
+ "Sub Process": string;
105
+ "Event Sub Process": string;
106
+ "Collapsed Pool": string;
107
+ "Expanded Pool": string;
108
+ "no parent for {element} in {parent}": string;
109
+ "no shape type specified": string;
110
+ "flow elements must be children of pools/participants": string;
111
+ "out of bounds release": string;
112
+ "more than {count} child lanes": string;
113
+ "element required": string;
114
+ "diagram not part of bpmn:Definitions": string;
115
+ "no diagram to display": string;
116
+ "no process or collaboration to display": string;
117
+ "element {element} referenced by {referenced}#{property} not yet drawn": string;
118
+ "already rendered {element}": string;
119
+ "failed to import {element}": string;
120
+ Id: string;
121
+ Name: string;
122
+ General: string;
123
+ Details: string;
124
+ "Message Name": string;
125
+ Message: string;
126
+ Initiator: string;
127
+ "Asynchronous Continuations": string;
128
+ "Asynchronous Before": string;
129
+ "Asynchronous After": string;
130
+ "Job Configuration": string;
131
+ Exclusive: string;
132
+ "Job Priority": string;
133
+ "Retry Time Cycle": string;
134
+ Documentation: string;
135
+ "Element Documentation": string;
136
+ "History Configuration": string;
137
+ "History Time To Live": string;
138
+ Forms: string;
139
+ "Form Key": string;
140
+ "Form Fields": string;
141
+ "Business Key": string;
142
+ "Form Field": string;
143
+ ID: string;
144
+ Type: string;
145
+ Label: string;
146
+ "Default Value": string;
147
+ "Default Flow": string;
148
+ "Conditional Flow": string;
149
+ "Sequence Flow": string;
150
+ Validation: string;
151
+ "Add Constraint": string;
152
+ Config: string;
153
+ Properties: string;
154
+ "Add Property": string;
155
+ Value: string;
156
+ Listeners: string;
157
+ "Execution Listener": string;
158
+ "Event Type": string;
159
+ "Listener Type": string;
160
+ "Java Class": string;
161
+ Expression: string;
162
+ "Must provide a value": string;
163
+ "Delegate Expression": string;
164
+ Script: string;
165
+ "Script Format": string;
166
+ "Script Type": string;
167
+ "Inline Script": string;
168
+ "External Script": string;
169
+ Resource: string;
170
+ "Field Injection": string;
171
+ Extensions: string;
172
+ "Input/Output": string;
173
+ "Input Parameters": string;
174
+ "Output Parameters": string;
175
+ Parameters: string;
176
+ "Output Parameter": string;
177
+ "Timer Definition Type": string;
178
+ "Timer Definition": string;
179
+ Date: string;
180
+ Duration: string;
181
+ Cycle: string;
182
+ Signal: string;
183
+ "Signal Name": string;
184
+ Escalation: string;
185
+ Error: string;
186
+ "Link Name": string;
187
+ Condition: string;
188
+ "Variable Name": string;
189
+ "Variable Event": string;
190
+ "Specify more than one variable change event as a comma separated list.": string;
191
+ "Wait for Completion": string;
192
+ "Activity Ref": string;
193
+ "Version Tag": string;
194
+ Executable: string;
195
+ "External Task Configuration": string;
196
+ "Task Priority": string;
197
+ External: string;
198
+ Connector: string;
199
+ "Must configure Connector": string;
200
+ "Connector Id": string;
201
+ Implementation: string;
202
+ "Field Injections": string;
203
+ Fields: string;
204
+ "Result Variable": string;
205
+ Topic: string;
206
+ "Configure Connector": string;
207
+ "Input Parameter": string;
208
+ Assignee: string;
209
+ "Candidate Users": string;
210
+ "Candidate Groups": string;
211
+ "Due Date": string;
212
+ "Follow Up Date": string;
213
+ Priority: string;
214
+ "The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": string;
215
+ "The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": string;
216
+ Variables: string;
217
+ "Candidate Starter Configuration": string;
218
+ "Candidate Starter Groups": string;
219
+ "This maps to the process definition key.": string;
220
+ "Candidate Starter Users": string;
221
+ "Specify more than one user as a comma separated list.": string;
222
+ "Tasklist Configuration": string;
223
+ Startable: string;
224
+ "Specify more than one group as a comma separated list.": string;
225
+ };
226
+ export default _default;
@@ -0,0 +1 @@
1
+ export{default}from"./zh2.mjs";
@@ -0,0 +1 @@
1
+ var e={"Append EndEvent":"追加结束节点","Append Gateway":"追加网关","Append Task":"追加任务","Append Intermediate/Boundary Event":"追加中间抛出事件/边界节点","Activate the global connect tool":"连线节点","Append {type}":"添加 {type}","Add Lane above":"在上面添加道","Divide into two Lanes":"分割成两个道","Divide into three Lanes":"分割成三个道","Add Lane below":"在下面添加道","Append compensation activity":"追加补偿活动","Change type":"修改类型","Connect using Association":"使用关联连接","Connect using Sequence/MessageFlow or Association":"使用顺序/消息流或者关联连接","Connect using DataInputAssociation":"使用数据输入关联连接",Remove:"移除","Activate the hand tool":"拖动流程","Activate the lasso tool":"框选节点","Activate the create/remove space tool":"激活创建/删除空间工具","Create expanded SubProcess":"创建子流程节点","Create IntermediateThrowEvent/BoundaryEvent":"创建中间抛出事件/边界节点","Create Pool/Participant":"创建池/参与者","Parallel Multi Instance":"并行多重事件","Sequential Multi Instance":"时序多重事件",DataObjectReference:"数据对象参考",DataStoreReference:"数据存储参考",Loop:"循环","Ad-hoc":"即席","Create {type}":"创建 {type}",Task:"任务","Send Task":"发送任务","Receive Task":"接收任务","User Task":"用户任务","Manual Task":"手工任务","Business Rule Task":"业务规则任务","Service Task":"服务任务","Script Task":"脚本任务","Call Activity":"调用活动","Sub Process (collapsed)":"子流程(折叠的)","Sub Process (expanded)":"子流程(展开的)","Start Event":"开始事件",StartEvent:"开始事件","Intermediate Throw Event":"中间事件","End Event":"结束事件",EndEvent:"结束事件","Create StartEvent":"创建开始节点","Create EndEvent":"创建结束节点","Create Task":"创建任务","Create User Task":"创建用户任务","Create Gateway":"创建分支节点","Create DataObjectReference":"创建脚本节点","Create DataStoreReference":"创建数据存储","Create Group":"创建分组","Create Intermediate/Boundary Event":"创建中间/边界事件","Message Start Event":"消息开始事件","Timer Start Event":"定时开始事件","Conditional Start Event":"条件开始事件","Signal Start Event":"信号开始事件","Error Start Event":"错误开始事件","Escalation Start Event":"升级开始事件","Compensation Start Event":"补偿开始事件","Message Start Event (non-interrupting)":"消息开始事件(非中断)","Timer Start Event (non-interrupting)":"定时开始事件(非中断)","Conditional Start Event (non-interrupting)":"条件开始事件(非中断)","Signal Start Event (non-interrupting)":"信号开始事件(非中断)","Escalation Start Event (non-interrupting)":"升级开始事件(非中断)","Message Intermediate Catch Event":"消息中间捕获事件","Message Intermediate Throw Event":"消息中间抛出事件","Timer Intermediate Catch Event":"定时中间捕获事件","Escalation Intermediate Throw Event":"升级中间抛出事件","Conditional Intermediate Catch Event":"条件中间捕获事件","Link Intermediate Catch Event":"链接中间捕获事件","Link Intermediate Throw Event":"链接中间抛出事件","Compensation Intermediate Throw Event":"补偿中间抛出事件","Signal Intermediate Catch Event":"信号中间捕获事件","Signal Intermediate Throw Event":"信号中间抛出事件","Message End Event":"消息结束事件","Escalation End Event":"定时结束事件","Error End Event":"错误结束事件","Cancel End Event":"取消结束事件","Compensation End Event":"补偿结束事件","Signal End Event":"信号结束事件","Terminate End Event":"终止结束事件","Message Boundary Event":"消息边界事件","Message Boundary Event (non-interrupting)":"消息边界事件(非中断)","Timer Boundary Event":"定时边界事件","Timer Boundary Event (non-interrupting)":"定时边界事件(非中断)","Escalation Boundary Event":"升级边界事件","Escalation Boundary Event (non-interrupting)":"升级边界事件(非中断)","Conditional Boundary Event":"条件边界事件","Conditional Boundary Event (non-interrupting)":"条件边界事件(非中断)","Error Boundary Event":"错误边界事件","Cancel Boundary Event":"取消边界事件","Signal Boundary Event":"信号边界事件","Signal Boundary Event (non-interrupting)":"信号边界事件(非中断)","Compensation Boundary Event":"补偿边界事件","Exclusive Gateway":"互斥网关","Parallel Gateway":"并行网关","Inclusive Gateway":"相容网关","Complex Gateway":"复杂网关","Event based Gateway":"事件网关",Transaction:"转运","Sub Process":"子流程","Event Sub Process":"事件子流程","Collapsed Pool":"折叠池","Expanded Pool":"展开池","no parent for {element} in {parent}":"在{parent}里,{element}没有父类","no shape type specified":"没有指定的形状类型","flow elements must be children of pools/participants":"流元素必须是池/参与者的子类","out of bounds release":"out of bounds release","more than {count} child lanes":"子道大于{count} ","element required":"元素不能为空","diagram not part of bpmn:Definitions":"流程图不符合bpmn规范","no diagram to display":"没有可展示的流程图","no process or collaboration to display":"没有可展示的流程/协作","element {element} referenced by {referenced}#{property} not yet drawn":"由{referenced}#{property}引用的{element}元素仍未绘制","already rendered {element}":"{element} 已被渲染","failed to import {element}":"导入{element}失败",Id:"编号",Name:"名称",General:"常规",Details:"详情","Message Name":"消息名称",Message:"消息",Initiator:"创建者","Asynchronous Continuations":"持续异步","Asynchronous Before":"异步前","Asynchronous After":"异步后","Job Configuration":"工作配置",Exclusive:"排除","Job Priority":"工作优先级","Retry Time Cycle":"重试时间周期",Documentation:"文档","Element Documentation":"元素文档","History Configuration":"历史配置","History Time To Live":"历史的生存时间",Forms:"表单","Form Key":"表单key","Form Fields":"表单字段","Business Key":"业务key","Form Field":"表单字段",ID:"编号",Type:"类型",Label:"名称","Default Value":"默认值","Default Flow":"默认流转路径","Conditional Flow":"条件流转路径","Sequence Flow":"普通流转路径",Validation:"校验","Add Constraint":"添加约束",Config:"配置",Properties:"属性","Add Property":"添加属性",Value:"值",Listeners:"监听器","Execution Listener":"执行监听","Event Type":"事件类型","Listener Type":"监听器类型","Java Class":"Java类",Expression:"表达式","Must provide a value":"必须提供一个值","Delegate Expression":"代理表达式",Script:"脚本","Script Format":"脚本格式","Script Type":"脚本类型","Inline Script":"内联脚本","External Script":"外部脚本",Resource:"资源","Field Injection":"字段注入",Extensions:"扩展","Input/Output":"输入/输出","Input Parameters":"输入参数","Output Parameters":"输出参数",Parameters:"参数","Output Parameter":"输出参数","Timer Definition Type":"定时器定义类型","Timer Definition":"定时器定义",Date:"日期",Duration:"持续",Cycle:"循环",Signal:"信号","Signal Name":"信号名称",Escalation:"升级",Error:"错误","Link Name":"链接名称",Condition:"条件名称","Variable Name":"变量名称","Variable Event":"变量事件","Specify more than one variable change event as a comma separated list.":"多个变量事件以逗号隔开","Wait for Completion":"等待完成","Activity Ref":"活动参考","Version Tag":"版本标签",Executable:"可执行文件","External Task Configuration":"扩展任务配置","Task Priority":"任务优先级",External:"外部",Connector:"连接器","Must configure Connector":"必须配置连接器","Connector Id":"连接器编号",Implementation:"实现方式","Field Injections":"字段注入",Fields:"字段","Result Variable":"结果变量",Topic:"主题","Configure Connector":"配置连接器","Input Parameter":"输入参数",Assignee:"代理人","Candidate Users":"候选用户","Candidate Groups":"候选组","Due Date":"到期时间","Follow Up Date":"跟踪日期",Priority:"优先级","The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)":"跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00","The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)":"跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",Variables:"变量","Candidate Starter Configuration":"候选人起动器配置","Candidate Starter Groups":"候选人起动器组","This maps to the process definition key.":"这映射到流程定义键。","Candidate Starter Users":"候选人起动器的用户","Specify more than one user as a comma separated list.":"指定多个用户作为逗号分隔的列表。","Tasklist Configuration":"Tasklist配置",Startable:"启动","Specify more than one group as a comma separated list.":"指定多个组作为逗号分隔的列表。"};export{e as default};
@@ -0,0 +1,29 @@
1
+ .clearfix:after {
2
+ visibility: hidden;
3
+ display: block;
4
+ font-size: 0;
5
+ content: " ";
6
+ clear: both;
7
+ height: 0;
8
+ }
9
+ .containers {
10
+ position: absolute;
11
+ background-color: #fff;
12
+ overflow-y: auto;
13
+ min-height: 300px;
14
+ height: 100%;
15
+ width: 100%;
16
+ }
17
+ .containers .canvas {
18
+ width: 100%;
19
+ height: 100%;
20
+ }
21
+ .containers .bjs-powered-by {
22
+ display: none !important;
23
+ }
24
+ .containers .djs-element .djs-hit-all {
25
+ cursor: pointer;
26
+ }
27
+ .containers .djs-bpmn-shape-node {
28
+ cursor: pointer;
29
+ }
@@ -0,0 +1,29 @@
1
+ .clearfix:after {
2
+ visibility: hidden;
3
+ display: block;
4
+ font-size: 0;
5
+ content: " ";
6
+ clear: both;
7
+ height: 0;
8
+ }
9
+ .containers {
10
+ position: absolute;
11
+ background-color: #fff;
12
+ overflow-y: auto;
13
+ min-height: 300px;
14
+ height: 100%;
15
+ width: 100%;
16
+ .canvas {
17
+ width: 100%;
18
+ height: 100%;
19
+ }
20
+ .bjs-powered-by {
21
+ display: none !important;
22
+ }
23
+ .djs-element .djs-hit-all {
24
+ cursor: pointer;
25
+ }
26
+ .djs-bpmn-shape-node {
27
+ cursor: pointer;
28
+ }
29
+ }
@@ -1 +1 @@
1
- import{defineComponent as t,reactive as e,computed as r,onMounted as i,watch as a,openBlock as n,createElementBlock as s,Fragment as o,createVNode as m,unref as l,withCtx as p,renderSlot as c,withModifiers as u,createCommentVNode as d,createTextVNode as f,toDisplayString as y,mergeProps as v}from"vue";import{useMessage as b,NDropdown as I,NButton as P,NIcon as g}from"naive-ui";import{ChevronDown as F}from"@vicons/ionicons5";import h from"./utils/print.es.min2.mjs";import"./components/IdentityVerification2.mjs";import T from"moment";import w from"./components/IdentityVerification.vue_vue_type_script_setup_true_lang.mjs";var k=t({name:"ButtonPrint",props:{btnText:{type:String,required:!1,default:"打印"},printText:{type:String,required:!1,default:"直接打印"},previewText:{type:String,required:!1,default:"打印预览"},formatEditText:{type:String,required:!1,default:"格式编辑"},params:{type:Array,required:!1,default:()=>[]},prevFn:{type:Function,required:!1,default:()=>Promise.resolve()},queryPrintFormatByNumber:{type:Function,required:!0,default:()=>Promise.resolve({})},queryTemplateParams:{type:Function,required:!1,default:()=>Promise.resolve({})},strategy:{type:String,required:!1,default:"MULTI"},printParams:{type:Array,required:!1},clickPrevFn:{type:Function,required:!1,default:()=>Promise.resolve(!0)},noDataMsg:{type:String,required:!1,default:"请选中需要打印的数据"}},emits:["success","error","clickoutside"],setup(t,{emit:k}){const x=t,D=b();let q=null;const S=e({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null}),j=e([{label:x.printText,key:"printText"},{label:x.previewText,key:"previewText"},{label:x.formatEditText,key:"formatEditText"}]),E=r((()=>{if(!S.currentFormatId)return{};let t=S.currentFormatId;return S.formatList.find((e=>e.id===t))})),V=r((()=>E.value.name||"格式选择")),L=t=>m("span",{class:{active:t.key===S.currentFormatId}},[t.label]),M=t=>S.formatList.find((e=>e.id===t)).templateId,N=(t,e)=>{let r={type:e,formatId:S.currentFormatId,templateId:M(S.currentFormatId)};k("success",t,r)},O=t=>{k("error",t)},Y=()=>{k("error",{message:"前置条件执行错误"})},_=(t=0)=>{const e=x.printParams?.length?x.printParams[t]:S.printParams[t];return JSON.stringify(e)},J=()=>{let t={},e={};if(S.templateParams.customizeDataset?.length){const t=Object.keys(S.printParams[0].datasetData||{})?.[0]||"",r=JSON.stringify(S.printParams.map((e=>JSON.parse(e.datasetData[t]))));e={datasetData:{}},e.datasetData[t]=r}else Object.keys(S.printParams[0]).forEach((t=>{e[t]=[],S.printParams.forEach((r=>{e[t].push(r[t])})),e[t]=e[t].join(",")}));return t=Object.assign({},JSON.parse(_(0)),e),JSON.stringify(t)},R=t=>{switch(t){case"printText":(()=>{let t=S.printParams.length;const e=async e=>{try{--t<=0&&N(e,"print")}catch(t){console.log("error",t)}};x.prevFn().catch((()=>(Y(),Promise.reject()))).then((()=>{if("MULTI"===x.strategy)for(let t=0;t<S.printParams.length;t++){const r={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:_(t)};q.printDirect(r,e,O)}else{const t={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:J()};q.printDirect(t,(t=>{N(t,"print")}),O)}})).finally((()=>{S.visible=!1}))})();break;case"previewText":(async()=>{x.prevFn().catch((()=>(Y(),Promise.reject()))).then((()=>{const t="MULTI"===x.strategy?_():J(),e={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:t};q.preview(e,(t=>{N(t,"preview")}),O)})).finally((()=>{S.visible=!1}))})();break;case"formatEditText":x.prevFn().catch((()=>(Y(),Promise.reject()))).then((()=>{S.identityVerification.visible=!0})).finally((()=>{S.visible=!1}));break;default:S.currentFormatId=t,S.visible=!1}},B=()=>{S.visible=!1,k("clickoutside")},U=()=>(S.isInited=!1,S.spinning=!1,setTimeout((()=>{S.visible=!1}),0),!1),A=(t,e,r)=>{const i={};return e.forEach((e=>{let a=((t,e)=>{let r=t.defaultValue||"",i=e;return"NUMBER"===t.type&&(i=Number(e)||0),"DATE"===t.type&&(i=e?T(e).format("YYYY-MM-DD"):""),"DATETIME"===t.type&&(i=e?T(e).format("YYYY-MM-DD HH:mm:ss"):""),r||i})(e,t[e[r]]);t[e[r]]&&a&&(i[e[r]]=a)})),i},C=({customizeDataset:t=[],param:e=[]},r=[])=>r.map((r=>{let i={};return t.forEach((t=>{const e=t.dataSetting[0].selectFieldList;i.datasetData={[t.name]:JSON.stringify(A(r,e,"fieldName"))}})),i=Object.assign({},i,A(r,e,"key")),i})),z=async t=>{var e,r;if(S.formatList=t?(t=>{let e=[];return t&&t.forEach((t=>{if(!t.format)return!1;e.push(...t.format)})),e})(t.obj):[],console.log("formatListResult",t),S.currentFormatId=(e=S.formatList,r="defaultFlag",e?.length?e.find((t=>1==t[r]))?.id||e[0].id:""),(()=>{const t=S.formatList.map((t=>({label:t.name,key:t.id})));j.unshift({label:V.value,key:"format",children:t})})(),!S.currentFormatId)return D.error("获取打印格式失败,请联系管理员!"),U();if(!S.currentFormatId)return void U();let i=(await x.queryTemplateParams())?.obj||{};if(!i)return U();S.templateParams=i,S.printParams=C(S.templateParams,x.params)},H=async()=>{if(S.isInited)return!0;S.isInited=!0,S.spinning=!0,(()=>{if(q)return!1;q=new h})();const t=await x.queryPrintFormatByNumber();return await z(t),S.spinning=!1,!0},$=async()=>{if(await x.clickPrevFn())if(x.params?.length){if(!S.visible){if(!await H())return!1}S.visible=!S.visible}else D.warning(x.noDataMsg)},G=()=>{S.watchPrintParamsReformatFn&&S.watchPrintParamsReformatFn(),S.isInited?S.printParams=C(S.templateParams,x.params):S.watchPrintParamsReformatFn=()=>a((()=>S.isInited),(t=>{if(!t)return!1;G()}))},K=t=>{S.identityVerification.visible=!1;const e={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:_(),token:t};q.editPrintFormat(e,(t=>{N(t,"edit")}),O)};return i((()=>{S.isInited=!1})),a((()=>x.params),(t=>{if(!t?.length)return!1;G()}),{deep:!0}),(e,r)=>(n(),s(o,null,[m(l(I),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:S.visible,onClickoutside:B,options:j,onSelect:R,"render-label":L},{default:p((()=>[c(e.$slots,"button",{handleClickPrintBtn:$,printSpinning:S.spinning,printbtnText:t.btnText,printVisible:S.visible},(()=>[m(l(P),{class:"dropdown-button",onClick:u($,["stop"])},{default:p((()=>[d(' <n-spin v-show="state.spinning" size="small"></n-spin> '),f(y(t.btnText)+" ",1),m(l(g),{component:l(F)},null,8,["component"])])),_:1},8,["onClick"])]))])),_:3},8,["show","options"]),m(w,v({modelValue:S.identityVerification.visible,"onUpdate:modelValue":r[0]||(r[0]=t=>S.identityVerification.visible=t)},e.$attrs,{onSuccess:K}),null,16,["modelValue"])],64))}});export{k as default};
1
+ import{defineComponent as t,reactive as e,computed as r,onMounted as i,watch as a,openBlock as n,createElementBlock as s,Fragment as o,createVNode as l,unref as m,withCtx as u,renderSlot as d,withModifiers as p,createCommentVNode as c,createTextVNode as f,toDisplayString as y,mergeProps as v}from"vue";import{useMessage as b,NDropdown as I,NButton as P,NIcon as g}from"naive-ui";import{ChevronDown as F}from"@vicons/ionicons5";import h from"./utils/print.es.min2.mjs";import"./components/IdentityVerification2.mjs";import T from"moment";import w from"./components/IdentityVerification.vue_vue_type_script_setup_true_lang.mjs";var k=t({name:"ButtonPrint",props:{btnText:{type:String,required:!1,default:"打印"},printText:{type:String,required:!1,default:"直接打印"},previewText:{type:String,required:!1,default:"打印预览"},formatEditText:{type:String,required:!1,default:"格式编辑"},params:{type:Array,required:!1,default:()=>[]},prevFn:{type:Function,required:!1,default:()=>Promise.resolve()},queryPrintFormatByNumber:{type:Function,required:!0,default:()=>Promise.resolve({})},queryTemplateParams:{type:Function,required:!1,default:()=>Promise.resolve({})},strategy:{type:String,required:!1,default:"MULTI"},printParams:{type:Array,required:!1},clickPrevFn:{type:Function,required:!1,default:()=>Promise.resolve(!0)},noDataMsg:{type:String,required:!1,default:"请选中需要打印的数据"}},emits:["success","error","clickoutside"],setup(t,{emit:k}){const x=t,D=b();let q=null;const S=e({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null}),j=e([{label:x.printText,key:"printText"},{label:x.previewText,key:"previewText"},{label:x.formatEditText,key:"formatEditText"}]),E=r((()=>{if(!S.currentFormatId)return{};let t=S.currentFormatId;return S.formatList.find((e=>e.id===t))})),V=r((()=>E.value.name||"格式选择")),L=t=>l("span",{class:{active:t.key===S.currentFormatId}},[t.label]),M=t=>S.formatList.find((e=>e.id===t)).templateId,N=(t,e)=>{let r={type:e,formatId:S.currentFormatId,templateId:M(S.currentFormatId)};k("success",t,r)},O=t=>{k("error",t)},Y=()=>{k("error",{message:"前置条件执行错误"})},_=(t=0)=>{var e;const r=(null==(e=x.printParams)?void 0:e.length)?x.printParams[t]:S.printParams[t];return JSON.stringify(r)},J=()=>{var t,e;let r={},i={};if(null==(t=S.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(S.printParams[0].datasetData||{}))?void 0:e[0])||"",r=JSON.stringify(S.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=r}else Object.keys(S.printParams[0]).forEach((t=>{i[t]=[],S.printParams.forEach((e=>{i[t].push(e[t])})),i[t]=i[t].join(",")}));return r=Object.assign({},JSON.parse(_(0)),i),JSON.stringify(r)},R=t=>{switch(t){case"printText":(()=>{let t=S.printParams.length;const e=async e=>{try{--t<=0&&N(e,"print")}catch(t){console.log("error",t)}};x.prevFn().catch((()=>(Y(),Promise.reject()))).then((()=>{if("MULTI"===x.strategy)for(let t=0;t<S.printParams.length;t++){const r={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:_(t)};q.printDirect(r,e,O)}else{const t={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:J()};q.printDirect(t,(t=>{N(t,"print")}),O)}})).finally((()=>{S.visible=!1}))})();break;case"previewText":(async()=>{x.prevFn().catch((()=>(Y(),Promise.reject()))).then((()=>{const t="MULTI"===x.strategy?_():J(),e={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:t};q.preview(e,(t=>{N(t,"preview")}),O)})).finally((()=>{S.visible=!1}))})();break;case"formatEditText":x.prevFn().catch((()=>(Y(),Promise.reject()))).then((()=>{S.identityVerification.visible=!0})).finally((()=>{S.visible=!1}));break;default:S.currentFormatId=t,S.visible=!1}},B=()=>{S.visible=!1,k("clickoutside")},U=()=>(S.isInited=!1,S.spinning=!1,setTimeout((()=>{S.visible=!1}),0),!1),A=(t,e,r)=>{const i={};return e.forEach((e=>{let a=((t,e)=>{let r=t.defaultValue||"",i=e;return"NUMBER"===t.type&&(i=Number(e)||0),"DATE"===t.type&&(i=e?T(e).format("YYYY-MM-DD"):""),"DATETIME"===t.type&&(i=e?T(e).format("YYYY-MM-DD HH:mm:ss"):""),r||i})(e,t[e[r]]);t[e[r]]&&a&&(i[e[r]]=a)})),i},C=({customizeDataset:t=[],param:e=[]},r=[])=>r.map((r=>{let i={};return t.forEach((t=>{const e=t.dataSetting[0].selectFieldList;i.datasetData={[t.name]:JSON.stringify(A(r,e,"fieldName"))}})),i=Object.assign({},i,A(r,e,"key")),i})),z=async t=>{var e;if(S.formatList=t?(t=>{let e=[];return t&&t.forEach((t=>{if(!t.format)return!1;e.push(...t.format)})),e})(t.obj):[],console.log("formatListResult",t),S.currentFormatId=((t,e)=>{if(!(null==t?void 0:t.length))return"";let r=t.find((t=>1==t[e]));return(null==r?void 0:r.id)||t[0].id})(S.formatList,"defaultFlag"),(()=>{const t=S.formatList.map((t=>({label:t.name,key:t.id})));j.unshift({label:V.value,key:"format",children:t})})(),!S.currentFormatId)return D.error("获取打印格式失败,请联系管理员!"),U();if(!S.currentFormatId)return void U();let r=(null==(e=await x.queryTemplateParams())?void 0:e.obj)||{};if(!r)return U();S.templateParams=r,S.printParams=C(S.templateParams,x.params)},H=async()=>{if(S.isInited)return!0;S.isInited=!0,S.spinning=!0,(()=>{if(q)return!1;q=new h})();const t=await x.queryPrintFormatByNumber();return await z(t),S.spinning=!1,!0},$=async()=>{var t;if(await x.clickPrevFn())if(null==(t=x.params)?void 0:t.length){if(!S.visible){if(!await H())return!1}S.visible=!S.visible}else D.warning(x.noDataMsg)},G=()=>{S.watchPrintParamsReformatFn&&S.watchPrintParamsReformatFn(),S.isInited?S.printParams=C(S.templateParams,x.params):S.watchPrintParamsReformatFn=()=>a((()=>S.isInited),(t=>{if(!t)return!1;G()}))},K=t=>{S.identityVerification.visible=!1;const e={formatId:S.currentFormatId,templateId:M(S.currentFormatId),params:_(),token:t};q.editPrintFormat(e,(t=>{N(t,"edit")}),O)};return i((()=>{S.isInited=!1})),a((()=>x.params),(t=>{if(!(null==t?void 0:t.length))return!1;G()}),{deep:!0}),(e,r)=>(n(),s(o,null,[l(m(I),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:S.visible,onClickoutside:B,options:j,onSelect:R,"render-label":L},{default:u((()=>[d(e.$slots,"button",{handleClickPrintBtn:$,printSpinning:S.spinning,printbtnText:t.btnText,printVisible:S.visible},(()=>[l(m(P),{class:"dropdown-button",onClick:p($,["stop"])},{default:u((()=>[c(' <n-spin v-show="state.spinning" size="small"></n-spin> '),f(y(t.btnText)+" ",1),l(m(g),{component:m(F)},null,8,["component"])])),_:1},8,["onClick"])]))])),_:3},8,["show","options"]),l(w,v({modelValue:S.identityVerification.visible,"onUpdate:modelValue":r[0]||(r[0]=t=>S.identityVerification.visible=t)},e.$attrs,{onSuccess:K}),null,16,["modelValue"])],64))}});export{k as default};
@@ -1 +1 @@
1
- import{defineComponent as e,reactive as t,ref as a,onMounted as o,watch as l,openBlock as r,createBlock as s,unref as i,normalizeStyle as u,withCtx as n,createElementVNode as d,createVNode as c,createTextVNode as p}from"vue";import{useMessage as f,NModal as m,NForm as y,NFormItem as v,NInput as w,NButton as g}from"naive-ui";const h={class:"content"},S=p("登录");var V=e({name:"IdentityVerification",props:{verifyUser:{type:Function,required:!1,default:()=>Promise.resolve()},identityVerificationTitle:{type:String,required:!1,default:"打印服务身份校验"},modelValue:{type:Boolean,required:!0}},emits:["update:modelValue","success"],setup(e,{emit:p}){const V=e,_=f(),q={account:"",password:""};let U=t(JSON.parse(JSON.stringify(q)));const C={account:{required:!0,message:"请输入账号"},password:{required:!0,message:"请输入密码"}},J="416px",N=a(null),O=()=>{p("update:modelValue",!1)},k=()=>{N.value?.validate((e=>{if(e)return console.log(e),!1;(async()=>{const{data:e={}}=await V.verifyUser(U);if("SUCCESS"!==e.result)return _.error(e.resultMsg),!1;p("success",e.map?.token)})()}))};return o((()=>{})),l((()=>V.modelValue),(e=>{e||(U=JSON.parse(JSON.stringify(q)))})),(t,a)=>(r(),s(i(m),{preset:"dialog",title:e.identityVerificationTitle,class:"standard-modal standard-modal-white authentication-modal",show:e.modelValue,"close-on-esc":!1,"show-icon":!1,style:u({width:J,overflowY:"auto"}),onClose:O},{default:n((()=>[d("div",h,[c(i(y),{class:"login-form-button-print",ref_key:"formRef",ref:N,model:i(U),rules:C},{default:n((()=>[c(i(v),{path:"account"},{default:n((()=>[c(i(w),{value:i(U).account,"onUpdate:value":a[0]||(a[0]=e=>i(U).account=e),placeholder:"请输入账号"},null,8,["value"])])),_:1}),c(i(v),{path:"password"},{default:n((()=>[c(i(w),{type:"password",value:i(U).password,"onUpdate:value":a[1]||(a[1]=e=>i(U).password=e),placeholder:"请输入密码"},null,8,["value"])])),_:1}),c(i(v),null,{default:n((()=>[c(i(g),{type:"primary",class:"login-form-button",onClick:k},{default:n((()=>[S])),_:1})])),_:1})])),_:1},8,["model"])])])),_:1},8,["title","show","style"]))}});export{V as default};
1
+ import{defineComponent as e,reactive as t,ref as a,onMounted as l,watch as o,openBlock as r,createBlock as s,unref as i,normalizeStyle as u,withCtx as n,createElementVNode as d,createVNode as c,createTextVNode as p}from"vue";import{useMessage as f,NModal as m,NForm as v,NFormItem as y,NInput as w,NButton as g}from"naive-ui";const h={class:"content"},S=p("登录");var V=e({name:"IdentityVerification",props:{verifyUser:{type:Function,required:!1,default:()=>Promise.resolve()},identityVerificationTitle:{type:String,required:!1,default:"打印服务身份校验"},modelValue:{type:Boolean,required:!0}},emits:["update:modelValue","success"],setup(e,{emit:p}){const V=e,_=f(),q={account:"",password:""};let U=t(JSON.parse(JSON.stringify(q)));const C={account:{required:!0,message:"请输入账号"},password:{required:!0,message:"请输入密码"}},J="416px",N=a(null),O=()=>{p("update:modelValue",!1)},k=()=>{var e;null==(e=N.value)||e.validate((e=>{if(e)return console.log(e),!1;(async()=>{var e;const{data:t={}}=await V.verifyUser(U);if("SUCCESS"!==t.result)return _.error(t.resultMsg),!1;p("success",null==(e=t.map)?void 0:e.token)})()}))};return l((()=>{})),o((()=>V.modelValue),(e=>{e||(U=JSON.parse(JSON.stringify(q)))})),(t,a)=>(r(),s(i(m),{preset:"dialog",title:e.identityVerificationTitle,class:"standard-modal standard-modal-white authentication-modal",show:e.modelValue,"close-on-esc":!1,"show-icon":!1,style:u({width:J,overflowY:"auto"}),onClose:O},{default:n((()=>[d("div",h,[c(i(v),{class:"login-form-button-print",ref_key:"formRef",ref:N,model:i(U),rules:C},{default:n((()=>[c(i(y),{path:"account"},{default:n((()=>[c(i(w),{value:i(U).account,"onUpdate:value":a[0]||(a[0]=e=>i(U).account=e),placeholder:"请输入账号"},null,8,["value"])])),_:1}),c(i(y),{path:"password"},{default:n((()=>[c(i(w),{type:"password",value:i(U).password,"onUpdate:value":a[1]||(a[1]=e=>i(U).password=e),placeholder:"请输入密码"},null,8,["value"])])),_:1}),c(i(y),null,{default:n((()=>[c(i(g),{type:"primary",class:"login-form-button",onClick:k},{default:n((()=>[S])),_:1})])),_:1})])),_:1},8,["model"])])])),_:1},8,["title","show","style"]))}});export{V as default};
@@ -1,30 +1,30 @@
1
- .dropdown-button {
2
- color: #212121;
3
- border-color: #d5d5d5 !important;
4
- }
5
-
6
- .c-dropdown {
7
- .n-dropdown-menu-wrapper span.active {
8
- color: #5585f5;
9
- }
10
- }
11
-
12
- .login-form-button {
13
- width: 100%;
14
- height: 50px;
15
- border-radius: 24px;
16
- font-size: 16px;
17
- color: #ffffff;
18
- }
19
-
20
- .login-form-button-print {
21
- padding-top: 15px;
22
-
23
- .n-input {
24
- height: 50px;
25
- line-height: 50px;
26
- font-size: 14px;
27
- color: #757575;
28
- border-radius: 6px;
29
- }
30
- }
1
+ .dropdown-button {
2
+ color: #212121;
3
+ border-color: #d5d5d5 !important;
4
+ }
5
+
6
+ .c-dropdown {
7
+ .n-dropdown-menu-wrapper span.active {
8
+ color: #5585f5;
9
+ }
10
+ }
11
+
12
+ .login-form-button {
13
+ width: 100%;
14
+ height: 50px;
15
+ border-radius: 24px;
16
+ font-size: 16px;
17
+ color: #ffffff;
18
+ }
19
+
20
+ .login-form-button-print {
21
+ padding-top: 15px;
22
+
23
+ .n-input {
24
+ height: 50px;
25
+ line-height: 50px;
26
+ font-size: 14px;
27
+ color: #757575;
28
+ border-radius: 6px;
29
+ }
30
+ }