cnhis-design-vue 3.3.1-release.5 → 3.3.2-beta.11

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 (317) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +20 -0
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +20 -0
  4. package/es/components/audio-sdk/src/Index.vue2.js +1 -1
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +1 -0
  6. package/es/components/audio-sdk/src/audioSDK.js +11 -3
  7. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +10 -0
  8. package/es/components/audio-sdk/src/components/recording.vue.d.ts +10 -0
  9. package/es/components/audio-sdk/src/components/recording.vue2.js +5 -0
  10. package/es/components/audio-sdk/src/constants/index.d.ts +1 -0
  11. package/es/components/audio-sdk/src/constants/index.js +3 -0
  12. package/es/components/audio-sdk/src/utils/recordingModal.js +13 -2
  13. package/es/components/audio-sdk/style/index.css +1 -1
  14. package/es/components/base-search/src/index.vue2.js +30 -18
  15. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  16. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  17. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  18. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  19. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  20. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  21. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  22. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  23. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  24. package/es/components/body-select/src/index.vue2.js +24 -4
  25. package/es/components/button-print/index.d.ts +1 -0
  26. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -0
  27. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  28. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  29. package/es/components/button-print/src/components/IdentityVerification.vue2.js +98 -47
  30. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +229 -94
  31. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +1 -0
  32. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  33. package/es/components/button-print/src/components/Preview.vue2.js +8 -2
  34. package/es/components/button-print/src/utils/dialog.js +24 -6
  35. package/es/components/button-print/src/utils/print.d.ts +5 -5
  36. package/es/components/button-print/src/utils/print.js +108 -21
  37. package/es/components/callback/src/components/render/popupMaps.d.ts +17 -1
  38. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  39. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  40. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  41. package/es/components/card-render/index.d.ts +4 -4
  42. package/es/components/card-render/src/CardRender.vue.d.ts +4 -4
  43. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  44. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  45. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  46. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  47. package/es/components/classification/src/index.vue2.js +261 -69
  48. package/es/components/default-page/src/constants/index.js +144 -19
  49. package/es/components/default-page/src/index.vue2.js +8 -2
  50. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  51. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  52. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  53. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  54. package/es/components/expand-field/src/index.vue2.js +88 -22
  55. package/es/components/expand-field/src/utils/constant.js +88 -12
  56. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  57. package/es/components/fabric-chart/src/constants/index.js +72 -10
  58. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +16 -3
  59. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  60. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  61. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  62. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +45 -8
  63. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  64. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +12 -6
  65. package/es/components/field-editor/index.d.ts +4 -0
  66. package/es/components/field-editor/src/FieldEditor.vue.d.ts +4 -0
  67. package/es/components/field-editor/src/fields.js +232 -30
  68. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  69. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  70. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  71. package/es/components/field-set/src/Index.vue2.js +40 -6
  72. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  73. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  74. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  75. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  76. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  77. package/es/components/field-set/src/constants/filter.js +328 -42
  78. package/es/components/field-set/src/constants/index.js +504 -64
  79. package/es/components/form-config/index.d.ts +80 -5
  80. package/es/components/form-config/src/FormConfig.vue.d.ts +80 -5
  81. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -0
  82. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +57 -4
  83. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +16 -1
  84. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  85. package/es/components/form-config/src/constants/index.d.ts +2 -1
  86. package/es/components/form-config/src/constants/index.js +81 -11
  87. package/es/components/form-config/src/hooks/useConfigurationField.js +19 -1
  88. package/es/components/form-config/src/hooks/useLocale.d.ts +1 -0
  89. package/es/components/form-config/src/hooks/useLocale.js +241 -31
  90. package/es/components/form-config/src/types/index.d.ts +1 -0
  91. package/es/components/form-render/index.d.ts +4 -0
  92. package/es/components/form-render/src/FormRender.vue.d.ts +4 -0
  93. package/es/components/form-render/src/FormRender.vue2.js +3 -2
  94. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -0
  95. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  96. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  97. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  98. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  99. package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
  100. package/es/components/form-render/src/components/renderer/input.d.ts +16 -4
  101. package/es/components/form-render/src/components/renderer/input.js +39 -7
  102. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +3 -0
  103. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  104. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  105. package/es/components/form-render/src/components/renderer/radio_checkbox.js +17 -12
  106. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  107. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  108. package/es/components/form-render/src/components/renderer/text.js +1 -1
  109. package/es/components/form-render/src/components/renderer/textarea.d.ts +16 -1
  110. package/es/components/form-render/src/components/renderer/textarea.js +36 -8
  111. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -0
  112. package/es/components/form-render/src/hooks/useComplexOptions.js +3 -2
  113. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -2
  114. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +4 -3
  115. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  116. package/es/components/form-render/src/hooks/useFormField.d.ts +2 -0
  117. package/es/components/form-render/src/hooks/useFormField.js +5 -1
  118. package/es/components/form-render/src/hooks/useFormValidator.js +1 -0
  119. package/es/components/form-render/src/hooks/usePresetScope.js +1 -0
  120. package/es/components/form-render/src/types/fieldItem.d.ts +11 -0
  121. package/es/components/form-render/src/types/index.d.ts +1 -0
  122. package/es/components/form-render/src/utils/index.js +1 -0
  123. package/es/components/form-render/src/utils/schema.js +80 -15
  124. package/es/components/guide/src/renderer.d.ts +2 -2
  125. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  126. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  127. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  128. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  129. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  130. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  131. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  132. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  133. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  134. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  135. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  136. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  137. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  138. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +67 -12
  139. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  140. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  141. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  142. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  143. package/es/components/iho-chat/src/utils/index.js +79 -14
  144. package/es/components/iho-table/index.d.ts +13 -1
  145. package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -2
  146. package/es/components/iho-table/src/IhoTable.vue2.js +27 -20
  147. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  148. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  149. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  150. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +7 -1
  151. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  152. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  153. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  154. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  155. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  156. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  157. package/es/components/index.css +1 -1
  158. package/es/components/index.d.ts +1 -2
  159. package/es/components/index.js +0 -3
  160. package/es/components/info-header/index.d.ts +13 -0
  161. package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -0
  162. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  163. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
  164. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -0
  165. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -0
  166. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  167. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  168. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  169. package/es/components/map/src/Map.vue2.js +8 -4
  170. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  171. package/es/components/quick-search/src/index.vue2.js +176 -131
  172. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  173. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  174. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  175. package/es/components/scale-view/index.d.ts +1 -1
  176. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  177. package/es/components/scale-view/src/ScaleView.vue2.js +18 -10
  178. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  179. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  180. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  181. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  182. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  183. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  184. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  185. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  186. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  187. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  188. package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
  189. package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
  190. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  191. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  192. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  193. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  194. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  195. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  196. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  197. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  198. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  199. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  200. package/es/components/select-person/src/SelectPerson.vue2.js +221 -145
  201. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  202. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  203. package/es/components/select-person/src/index.vue2.js +20 -7
  204. package/es/components/shortcut-setter/index.d.ts +16 -1
  205. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
  206. package/es/components/slider-tree/src/index.vue2.js +16 -3
  207. package/es/components/table-export-field/index.d.ts +1 -0
  208. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  209. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  210. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  211. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  212. package/es/components/table-export-field/src/index.vue2.js +28 -12
  213. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  214. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  215. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  216. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  217. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  218. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  219. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  220. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  221. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  222. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  223. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  224. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  225. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  226. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  227. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  228. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  229. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  230. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  231. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  232. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  233. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +11 -11
  234. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  235. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  236. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  237. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  238. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  239. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  240. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  241. package/es/env.d.ts +25 -25
  242. package/es/shared/components/CancelRadio/CancelRadio.d.ts +7 -0
  243. package/es/shared/components/CancelRadio/CancelRadio.js +6 -6
  244. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  245. package/es/shared/package.json.js +1 -1
  246. package/package.json +76 -77
  247. package/es/components/ai-chat/index.d.ts +0 -680
  248. package/es/components/ai-chat/index.js +0 -10
  249. package/es/components/ai-chat/src/Index.vue.d.ts +0 -682
  250. package/es/components/ai-chat/src/Index.vue.js +0 -6
  251. package/es/components/ai-chat/src/Index.vue2.js +0 -175
  252. package/es/components/ai-chat/src/api/index.d.ts +0 -8
  253. package/es/components/ai-chat/src/api/index.js +0 -87
  254. package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -38
  255. package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -6
  256. package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -103
  257. package/es/components/ai-chat/src/components/ChatBI.vue.d.ts +0 -101
  258. package/es/components/ai-chat/src/components/ChatBI.vue.js +0 -6
  259. package/es/components/ai-chat/src/components/ChatBI.vue2.js +0 -73
  260. package/es/components/ai-chat/src/components/ChatCard.d.ts +0 -43
  261. package/es/components/ai-chat/src/components/ChatCard.js +0 -403
  262. package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +0 -203
  263. package/es/components/ai-chat/src/components/ChatFooter.vue.js +0 -6
  264. package/es/components/ai-chat/src/components/ChatFooter.vue2.js +0 -373
  265. package/es/components/ai-chat/src/components/ChatMain.d.ts +0 -2
  266. package/es/components/ai-chat/src/components/ChatMain.js +0 -350
  267. package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +0 -2
  268. package/es/components/ai-chat/src/components/ChatMainDefault.js +0 -278
  269. package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +0 -59
  270. package/es/components/ai-chat/src/components/ChatPatient.vue.js +0 -6
  271. package/es/components/ai-chat/src/components/ChatPatient.vue2.js +0 -218
  272. package/es/components/ai-chat/src/components/ChatPrompt.vue.d.ts +0 -45
  273. package/es/components/ai-chat/src/components/ChatPrompt.vue.js +0 -6
  274. package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +0 -143
  275. package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -57
  276. package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -6
  277. package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -190
  278. package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
  279. package/es/components/ai-chat/src/components/card/JsonCard.js +0 -574
  280. package/es/components/ai-chat/src/components/message-render/CardRender.d.ts +0 -16
  281. package/es/components/ai-chat/src/components/message-render/CardRender.js +0 -80
  282. package/es/components/ai-chat/src/components/message-render/FormRender.d.ts +0 -16
  283. package/es/components/ai-chat/src/components/message-render/FormRender.js +0 -173
  284. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.d.ts +0 -36
  285. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.js +0 -6
  286. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue2.js +0 -96
  287. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.d.ts +0 -105
  288. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.js +0 -6
  289. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue2.js +0 -260
  290. package/es/components/ai-chat/src/components/svgs/AddIcon.vue.js +0 -18
  291. package/es/components/ai-chat/src/components/svgs/AudioIcon.vue.js +0 -37
  292. package/es/components/ai-chat/src/components/svgs/KeyboardIcon.vue.js +0 -20
  293. package/es/components/ai-chat/src/components/svgs/MicroPhone.vue.js +0 -48
  294. package/es/components/ai-chat/src/hooks/index.d.ts +0 -2
  295. package/es/components/ai-chat/src/hooks/index.js +0 -2
  296. package/es/components/ai-chat/src/hooks/useChartAudioContext.d.ts +0 -18
  297. package/es/components/ai-chat/src/hooks/useChartAudioContext.js +0 -202
  298. package/es/components/ai-chat/src/hooks/useData.d.ts +0 -77
  299. package/es/components/ai-chat/src/hooks/useData.js +0 -289
  300. package/es/components/ai-chat/src/hooks/useFooterContext.d.ts +0 -38
  301. package/es/components/ai-chat/src/hooks/useFooterContext.js +0 -218
  302. package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -14
  303. package/es/components/ai-chat/src/hooks/useProgram.js +0 -306
  304. package/es/components/ai-chat/src/hooks/useSSE.d.ts +0 -9
  305. package/es/components/ai-chat/src/hooks/useSSE.js +0 -138
  306. package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -4
  307. package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -66
  308. package/es/components/ai-chat/src/types/index.d.ts +0 -45
  309. package/es/components/ai-chat/src/types/index.js +0 -1
  310. package/es/components/ai-chat/src/utils/index.d.ts +0 -7
  311. package/es/components/ai-chat/src/utils/index.js +0 -41
  312. package/es/components/ai-chat/style/index.css +0 -1
  313. package/es/shared/assets/img/ai__avatar.png.js +0 -3
  314. package/es/shared/assets/img/file-emr.png.js +0 -3
  315. package/es/shared/assets/img/file.png.js +0 -3
  316. package/es/shared/assets/img/logo.png.js +0 -3
  317. package/es/shared/assets/img/use.png.js +0 -3
@@ -10,7 +10,6 @@ import { format } from 'date-fns';
10
10
  import { savePrivateFormatApi, getPrivateFormatApi } from '../api.js';
11
11
  import { cloneDeep } from 'lodash-es';
12
12
 
13
- var _a, _b, _c, _d, _e, _f;
14
13
  var _sfc_main = /* @__PURE__ */ defineComponent({
15
14
  __name: "OldPrintComponent",
16
15
  props: {
@@ -22,23 +21,58 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
22
21
  type: Array
23
22
  },
24
23
  btnText: {
25
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || "\u6253\u5370",
24
+ default: function() {
25
+ var _a, _b, _c;
26
+ try {
27
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.478")) || "\u6253\u5370";
28
+ } catch (e) {
29
+ return "\u6253\u5370";
30
+ }
31
+ }(),
26
32
  type: String
27
33
  },
28
34
  printText: {
29
- default: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370",
35
+ default: function() {
36
+ var _a, _b, _c;
37
+ try {
38
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.479")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370";
39
+ } catch (e) {
40
+ return "\u76F4\u63A5\u6253\u5370";
41
+ }
42
+ }(),
30
43
  type: String
31
44
  },
32
45
  previewText: {
33
- default: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.480")) || "\u6253\u5370\u9884\u89C8",
46
+ default: function() {
47
+ var _a, _b, _c;
48
+ try {
49
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.480")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.480")) || "\u6253\u5370\u9884\u89C8";
50
+ } catch (e) {
51
+ return "\u6253\u5370\u9884\u89C8";
52
+ }
53
+ }(),
34
54
  type: String
35
55
  },
36
56
  pdfLoadText: {
37
- default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.481")) || "\u4E0B\u8F7Dpdf",
57
+ default: function() {
58
+ var _a, _b, _c;
59
+ try {
60
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.481")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.481")) || "\u4E0B\u8F7Dpdf";
61
+ } catch (e) {
62
+ return "\u4E0B\u8F7Dpdf";
63
+ }
64
+ }(),
38
65
  type: String
39
66
  },
40
67
  formatEditText: {
41
- default: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91",
68
+ default: function() {
69
+ var _a, _b, _c;
70
+ try {
71
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.482")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91";
72
+ } catch (e) {
73
+ return "\u683C\u5F0F\u7F16\u8F91";
74
+ }
75
+ }(),
42
76
  type: String
43
77
  },
44
78
  prevFn: {
@@ -62,7 +96,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
62
96
  type: Function
63
97
  },
64
98
  noDataMsg: {
65
- default: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E",
99
+ default: function() {
100
+ var _a, _b, _c;
101
+ try {
102
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.483")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E";
103
+ } catch (e) {
104
+ return "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E";
105
+ }
106
+ }(),
66
107
  type: String
67
108
  },
68
109
  noDefaultFormatMsg: {
@@ -122,7 +163,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
122
163
  setup(__props, {
123
164
  expose
124
165
  }) {
125
- var _a2;
166
+ var _a;
126
167
  const props = __props;
127
168
  const $attrs = useAttrs();
128
169
  const $message = useMessage();
@@ -146,7 +187,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
146
187
  isInited: false,
147
188
  watchPrintParamsReformatFn: null,
148
189
  spinTimer: null,
149
- iReportExecuteMode: 1
190
+ iReportExecuteMode: 1,
191
+ number: ""
150
192
  });
151
193
  let options = ref([{
152
194
  label: props.printText,
@@ -160,7 +202,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
160
202
  }, {
161
203
  label: props.formatEditText,
162
204
  key: "formatEditText"
163
- }, ...((_a2 = props.externalOptionConfig) == null ? void 0 : _a2.options) || []]);
205
+ }, ...((_a = props.externalOptionConfig) == null ? void 0 : _a.options) || []]);
164
206
  const tempOptions = ref([]);
165
207
  const currentFormatItem = computed(() => {
166
208
  if (!state.currentFormatId)
@@ -169,8 +211,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
169
211
  return state.formatList.find((item) => item.id === id);
170
212
  });
171
213
  const formatTitle = computed(() => {
172
- var _a3, _b2;
173
- return ((_a3 = currentFormatItem.value) == null ? void 0 : _a3.name) || ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.485")) || "\u683C\u5F0F\u9009\u62E9";
214
+ var _a2;
215
+ return ((_a2 = currentFormatItem.value) == null ? void 0 : _a2.name) || function() {
216
+ var _a3, _b, _c;
217
+ try {
218
+ return ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.485")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.485")) || "\u683C\u5F0F\u9009\u62E9";
219
+ } catch (e) {
220
+ return "\u683C\u5F0F\u9009\u62E9";
221
+ }
222
+ }();
174
223
  });
175
224
  const getTemplateIdByFormatId = computed(() => {
176
225
  let find = state.formatList.find((item) => item.id === state.currentFormatId);
@@ -229,17 +278,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
229
278
  emit("cancel", res);
230
279
  };
231
280
  const prevFnError = (type) => {
232
- var _a3;
233
281
  const error = {
234
- message: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.486")) || "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF",
282
+ message: function() {
283
+ var _a2, _b, _c;
284
+ try {
285
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.486")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.486")) || "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF";
286
+ } catch (e) {
287
+ return "\u524D\u7F6E\u6761\u4EF6\u6267\u884C\u9519\u8BEF";
288
+ }
289
+ }(),
235
290
  type,
236
291
  preExecution: true
237
292
  };
238
293
  emit("error", error);
239
294
  };
240
295
  const getPrintParams = (index = 0) => {
241
- var _a3;
242
- const params = ((_a3 = props.printParams) == null ? void 0 : _a3.length) ? props.printParams[index] : state.printParams[index];
296
+ var _a2;
297
+ const params = ((_a2 = props.printParams) == null ? void 0 : _a2.length) ? props.printParams[index] : state.printParams[index];
243
298
  return JSON.stringify({
244
299
  ...params || {},
245
300
  ...props.token ? {
@@ -249,11 +304,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
249
304
  });
250
305
  };
251
306
  const getOnceParams = () => {
252
- var _a3, _b2;
307
+ var _a2, _b;
253
308
  let params = {};
254
309
  let obj = {};
255
- if ((_a3 = state.templateParams.customizeDataset) == null ? void 0 : _a3.length) {
256
- const key = ((_b2 = Object.keys(state.printParams[0].datasetData || {})) == null ? void 0 : _b2[0]) || "";
310
+ if ((_a2 = state.templateParams.customizeDataset) == null ? void 0 : _a2.length) {
311
+ const key = ((_b = Object.keys(state.printParams[0].datasetData || {})) == null ? void 0 : _b[0]) || "";
257
312
  const datasetDataKeyVal = JSON.stringify(state.printParams.map((v) => JSON.parse(v.datasetData[key])));
258
313
  obj = {
259
314
  datasetData: {}
@@ -293,6 +348,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
293
348
  }).then(() => {
294
349
  const queryParams = {
295
350
  iReportExecuteMode: state.iReportExecuteMode,
351
+ number: state.number,
296
352
  formatId: state.currentFormatId,
297
353
  templateId: getTemplateIdByFormatId.value,
298
354
  authorizationKey: authorizationKey.value,
@@ -338,6 +394,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
338
394
  const queryParams = {
339
395
  formatId: state.currentFormatId,
340
396
  iReportExecuteMode: state.iReportExecuteMode,
397
+ number: state.number,
341
398
  templateId: getTemplateIdByFormatId.value,
342
399
  authorizationKey: authorizationKey.value,
343
400
  params,
@@ -367,6 +424,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
367
424
  const queryParams = {
368
425
  formatId: state.currentFormatId,
369
426
  iReportExecuteMode: state.iReportExecuteMode,
427
+ number: state.number,
370
428
  templateId: getTemplateIdByFormatId.value,
371
429
  authorizationKey: authorizationKey.value,
372
430
  print: {
@@ -402,7 +460,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
402
460
  });
403
461
  };
404
462
  const handleSelect = async (key, option) => {
405
- var _a3, _b2;
463
+ var _a2, _b;
406
464
  switch (key) {
407
465
  case "printText":
408
466
  handleDebounceClickPrint();
@@ -442,7 +500,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
442
500
  token: props.token
443
501
  });
444
502
  } else {
445
- (_b2 = (_a3 = props.externalOptionConfig) == null ? void 0 : _a3.onSelect) == null ? void 0 : _b2.call(_a3, key, option, {
503
+ (_b = (_a2 = props.externalOptionConfig) == null ? void 0 : _a2.onSelect) == null ? void 0 : _b.call(_a2, key, option, {
446
504
  formatId: state.currentFormatId
447
505
  });
448
506
  }
@@ -460,7 +518,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
460
518
  printInstance = new Print();
461
519
  };
462
520
  const getDefaultFormatId = async (list, key) => {
463
- var _a3;
521
+ var _a2;
464
522
  if (!(list == null ? void 0 : list.length))
465
523
  return "";
466
524
  if (!$attrs.isDoc) {
@@ -476,7 +534,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
476
534
  formatForms = []
477
535
  } = data.map || {};
478
536
  Object.assign(defaultFormatInfo, data.map || {});
479
- const id = (_a3 = formatForms == null ? void 0 : formatForms[0]) == null ? void 0 : _a3.id;
537
+ const id = (_a2 = formatForms == null ? void 0 : formatForms[0]) == null ? void 0 : _a2.id;
480
538
  if (id && list.map((item) => item.id).includes(id))
481
539
  return id;
482
540
  }
@@ -485,7 +543,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
485
543
  return (findDefault == null ? void 0 : findDefault.id) || list[0].id;
486
544
  };
487
545
  const setOptions = () => {
488
- var _a3;
546
+ var _a2;
489
547
  const children = state.formatList.map((v) => {
490
548
  return {
491
549
  label: v.name,
@@ -503,7 +561,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
503
561
  const portalStr = sessionStorage.getItem("portal");
504
562
  if (portalStr) {
505
563
  const portal = JSON.parse(portalStr);
506
- const limitObj = ((_a3 = portal == null ? void 0 : portal.user) == null ? void 0 : _a3.currentRoleResourceObj) || {};
564
+ const limitObj = ((_a2 = portal == null ? void 0 : portal.user) == null ? void 0 : _a2.currentRoleResourceObj) || {};
507
565
  const limitList = Object.keys(limitObj);
508
566
  if (!limitList.includes(downloadPdfCode)) {
509
567
  options.value = options.value.filter((option) => option.key != "downloadPdf");
@@ -574,9 +632,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
574
632
  });
575
633
  };
576
634
  const initCRM = async (formatListResult) => {
577
- var _a3, _b2;
635
+ var _a2, _b, _c;
578
636
  state.formatList = formatListResult ? formatFormatList(formatListResult.obj) : [];
579
- state.iReportExecuteMode = ((_a3 = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _a3.length) > 0 ? formatListResult.obj[0].iReportExecuteMode || 1 : 1;
637
+ state.iReportExecuteMode = ((_a2 = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _a2.length) > 0 ? formatListResult.obj[0].iReportExecuteMode || 1 : 1;
638
+ state.number = ((_b = formatListResult == null ? void 0 : formatListResult.obj) == null ? void 0 : _b.length) > 0 ? formatListResult.obj[0].number || "" : "";
580
639
  state.currentFormatId = await getDefaultFormatId(state.formatList, "defaultFlag");
581
640
  if (!state.currentFormatId) {
582
641
  options.value = [];
@@ -584,7 +643,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
584
643
  return requestError();
585
644
  }
586
645
  setOptions();
587
- let templateParamsResult = (_b2 = await props.queryTemplateParams()) == null ? void 0 : _b2.obj;
646
+ let templateParamsResult = (_c = await props.queryTemplateParams()) == null ? void 0 : _c.obj;
588
647
  if (templateParamsResult && getTemplateIdByFormatId.value) {
589
648
  state.templateParams = templateParamsResult;
590
649
  } else {
@@ -594,7 +653,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
594
653
  state.printParams = formatParams(state.templateParams, props.params);
595
654
  };
596
655
  const init = async () => {
597
- var _a3;
656
+ var _a2;
598
657
  if (state.isInited)
599
658
  return true;
600
659
  state.isInited = true;
@@ -602,17 +661,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
602
661
  instantiatePrintSDK();
603
662
  const formatListResult = await props.queryPrintFormatByNumber();
604
663
  await initCRM(formatListResult);
605
- if (((_a3 = formatListResult.obj) == null ? void 0 : _a3.length) > 0)
664
+ if (((_a2 = formatListResult.obj) == null ? void 0 : _a2.length) > 0)
606
665
  authorizationKey.value = formatListResult.obj[0].authorizationKey || "";
607
666
  state.spinning = false;
608
667
  return true;
609
668
  };
610
669
  const handleClickBtn = async (visible = true) => {
611
- var _a3, _b2;
670
+ var _a2, _b;
612
671
  const status = await props.clickPrevFn();
613
672
  if (!status)
614
673
  return;
615
- if (!((_a3 = props.params) == null ? void 0 : _a3.length) && !((_b2 = props.printParams) == null ? void 0 : _b2.length)) {
674
+ if (!((_a2 = props.params) == null ? void 0 : _a2.length) && !((_b = props.printParams) == null ? void 0 : _b.length)) {
616
675
  $message.warning(props.noDataMsg);
617
676
  return;
618
677
  }
@@ -643,6 +702,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
643
702
  return callLocalServicesSuccessCb(null, "edit");
644
703
  const queryParams = {
645
704
  formatId: state.currentFormatId,
705
+ number: state.number,
646
706
  templateId: getTemplateIdByFormatId.value,
647
707
  params: getPrintParams(),
648
708
  token
@@ -34,8 +34,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  }, 300);
35
35
  });
36
36
  function titleRender() {
37
- var _a;
38
- return createVNode(Fragment, null, [createVNode("div", null, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.490")) || "\u9884\u89C8")]), createVNode(NIcon, {
37
+ return createVNode(Fragment, null, [createVNode("div", null, [createTextVNode(function() {
38
+ var _a, _b, _c;
39
+ try {
40
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.490")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.490")) || "\u9884\u89C8";
41
+ } catch (e) {
42
+ return "\u9884\u89C8";
43
+ }
44
+ }())]), createVNode(NIcon, {
39
45
  "style": {
40
46
  margin: "0 0 0 auto",
41
47
  transform: isNormalSize.value ? "none" : "rotate(90deg)"
@@ -11,9 +11,15 @@ class IdentityVerificationDialog {
11
11
  return `[IdentityVerificationDialog] ${message}`;
12
12
  }
13
13
  show(instance, title, api, formatId, templateId) {
14
- var _a;
15
14
  if (this.rendered)
16
- return Promise.reject(IdentityVerificationDialog.createMsg(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.491")) || "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97"));
15
+ return Promise.reject(IdentityVerificationDialog.createMsg(function() {
16
+ var _a, _b, _c;
17
+ try {
18
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.491")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.491")) || "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
19
+ } catch (e) {
20
+ return "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
21
+ }
22
+ }()));
17
23
  return new Promise((resolve, reject) => {
18
24
  this.rendered = true;
19
25
  const container = document.createElement("div");
@@ -36,8 +42,14 @@ class IdentityVerificationDialog {
36
42
  mount(container);
37
43
  nextTick(() => visible.value = true);
38
44
  function onClose() {
39
- var _a2;
40
- reject(IdentityVerificationDialog.createMsg(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.492")) || "\u5F39\u7A97\u5173\u95ED"));
45
+ reject(IdentityVerificationDialog.createMsg(function() {
46
+ var _a, _b, _c;
47
+ try {
48
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.492")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.492")) || "\u5F39\u7A97\u5173\u95ED";
49
+ } catch (e) {
50
+ return "\u5F39\u7A97\u5173\u95ED";
51
+ }
52
+ }()));
41
53
  }
42
54
  function onSuccess(token) {
43
55
  resolve(token);
@@ -64,9 +76,15 @@ class PreviewDialog {
64
76
  return `[PreviewDialog] ${message}`;
65
77
  }
66
78
  show(instance, src) {
67
- var _a;
68
79
  if (this.rendered)
69
- return Promise.reject(PreviewDialog.createMsg(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.491")) || "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97"));
80
+ return Promise.reject(PreviewDialog.createMsg(function() {
81
+ var _a, _b, _c;
82
+ try {
83
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.491")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.491")) || "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
84
+ } catch (e) {
85
+ return "\u8BF7\u52FF\u91CD\u590D\u6253\u5F00\u5F39\u7A97";
86
+ }
87
+ }()));
70
88
  return new Promise((resolve, reject) => {
71
89
  this.rendered = true;
72
90
  const container = document.createElement("div");
@@ -55,8 +55,8 @@ export declare class Print {
55
55
  pageCount: any;
56
56
  formatId: string;
57
57
  };
58
- _handleEventDirect({ templateId, formatId, svrUpdateIp, hideButtons, params, paramsArr, cmdid, print, signature, copies, printdlgshow, nobillnode, btnprint, messageTimeout }: AnyObject): Promise<any>;
59
- _handleEventEditFormat({ templateId, formatId, params, token, messageTimeout }: AnyObject): Promise<any>;
58
+ _handleEventDirect({ templateId, formatId, number, svrUpdateIp, hideButtons, params, paramsArr, cmdid, print, signature, copies, printdlgshow, nobillnode, btnprint, messageTimeout }: AnyObject): Promise<any>;
59
+ _handleEventEditFormat({ templateId, formatId, number, params, token, messageTimeout }: AnyObject): Promise<any>;
60
60
  _queryProxyOrigin(): Promise<void>;
61
61
  _queryPrintFile(formatId: string, params?: string): Promise<any>;
62
62
  paramsSerializer(params: AnyObject): AnyObject;
@@ -66,9 +66,9 @@ export declare class Print {
66
66
  _queryPrintForPdf(templateId: string, formatId: string, params: string | undefined, authorizationKey: String): Promise<any>;
67
67
  _browserPrint(result: AnyObject, mode: string): Promise<string | void>;
68
68
  _base64ToBlob(fileBase64: string, fileType: string): Blob;
69
- preview({ iReportExecuteMode, hideButtons, templateId, formatId: originFormatId, params, paramsArr, authorizationKey, signature, btnprint, messageTimeout }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<any>;
69
+ preview({ iReportExecuteMode, hideButtons, templateId, number, formatId: originFormatId, params, paramsArr, authorizationKey, signature, btnprint, messageTimeout }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<any>;
70
70
  printSync(data: AnyObject[], successCallbackFn: AnyFn, errorCallbackFn: AnyFn): Promise<void>;
71
- printDirect({ iReportExecuteMode, templateId, formatId: originFormatId, params, paramsArr, authorizationKey, print, signature, printdlgshow, nobillnode, copies, svrUpdateIp, isDownloadFile, messageTimeout }: AnyObject, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn, mode?: string): Promise<false | undefined>;
71
+ printDirect({ iReportExecuteMode, templateId, number, formatId: originFormatId, params, paramsArr, authorizationKey, print, signature, printdlgshow, nobillnode, copies, svrUpdateIp, isDownloadFile, messageTimeout }: AnyObject, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn, mode?: string): Promise<false | undefined>;
72
72
  printToHiPrint({ templateId, formatId, params, authorizationKey }: any, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn): Promise<any>;
73
73
  private _downloadPDF;
74
74
  /**
@@ -83,6 +83,6 @@ export declare class Print {
83
83
  formatId: string;
84
84
  }>;
85
85
  printFileData({ formatId, file, printerName }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<false | AnyObject>;
86
- editPrintFormat({ templateId, formatId, params, token, messageTimeout }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<false | undefined>;
86
+ editPrintFormat({ templateId, formatId, number, params, token, messageTimeout }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<false | undefined>;
87
87
  addPrintFormat({ templateId, params, token }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<false | undefined>;
88
88
  }