cnhis-design-vue 3.3.3-release.9 → 3.4.0-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 (243) hide show
  1. package/es/components/big-table/src/hooks/useBatchEditing.js +25 -24
  2. package/es/components/button-print/index.d.ts +98 -8
  3. package/es/components/button-print/src/ButtonPrint.vue.d.ts +98 -8
  4. package/es/components/button-print/src/ButtonPrint.vue2.js +12 -1
  5. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +11 -2
  6. package/es/components/button-print/src/components/IdentityVerification.vue2.js +3 -2
  7. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +44 -6
  8. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +194 -41
  9. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +29 -2
  10. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +34 -5
  11. package/es/components/button-print/src/utils/print.d.ts +7 -5
  12. package/es/components/button-print/src/utils/print.js +183 -7
  13. package/es/components/button-print/style/index.css +1 -1
  14. package/es/components/calendar/src/Calendar.vue2.js +15 -5
  15. package/es/components/callback/src/components/render/popupMaps.d.ts +5 -0
  16. package/es/components/card-render/src/components/index.d.ts +23 -23
  17. package/es/components/classification/index.d.ts +258 -5
  18. package/es/components/classification/src/components/search-filter/index.vue.d.ts +258 -5
  19. package/es/components/classification/src/components/set-classification/index.vue.d.ts +258 -5
  20. package/es/components/classification/src/index.vue.d.ts +258 -5
  21. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  22. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +6 -2
  23. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
  24. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
  25. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
  26. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
  27. package/es/components/field-editor/index.d.ts +5 -0
  28. package/es/components/field-editor/src/FieldEditor.vue.d.ts +5 -0
  29. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -1
  30. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -1
  31. package/es/components/field-set/src/FieldSet.vue.d.ts +4 -1
  32. package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
  33. package/es/components/field-set/src/components/table-row.vue2.js +21 -6
  34. package/es/components/field-set/src/constants/index.js +4 -4
  35. package/es/components/field-set/src/types/index.d.ts +2 -1
  36. package/es/components/form-config/index.d.ts +63 -0
  37. package/es/components/form-config/src/FormConfig.vue.d.ts +63 -0
  38. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +5 -0
  39. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +50 -0
  40. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
  41. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -0
  42. package/es/components/form-config/src/constants/index.d.ts +31 -1
  43. package/es/components/form-config/src/constants/index.js +150 -1
  44. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
  45. package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
  46. package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
  47. package/es/components/form-config/src/hooks/useLocale.js +34 -0
  48. package/es/components/form-config/src/types/index.d.ts +12 -0
  49. package/es/components/form-render/index.d.ts +5 -0
  50. package/es/components/form-render/src/FormRender.vue.d.ts +5 -0
  51. package/es/components/form-render/src/FormRender.vue2.js +1 -0
  52. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +5 -0
  53. package/es/components/form-render/src/components/renderer/date.d.ts +3 -1
  54. package/es/components/form-render/src/components/renderer/date.js +12 -10
  55. package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
  56. package/es/components/form-render/src/components/renderer/formItem.js +10 -3
  57. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
  58. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  59. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  60. package/es/components/form-render/src/components/renderer/radio_checkbox.js +9 -3
  61. package/es/components/form-render/src/constants/index.d.ts +1 -1
  62. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
  63. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  64. package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
  65. package/es/components/form-render/src/hooks/useNuiThemeOverrides.d.ts +1 -2
  66. package/es/components/form-render/src/types/index.d.ts +1 -0
  67. package/es/components/form-render/style/index.css +1 -1
  68. package/es/components/iho-chat/index.d.ts +897 -97
  69. package/es/components/iho-chat/src/Index.vue.d.ts +897 -97
  70. package/es/components/iho-chat/src/Index.vue2.js +14 -6
  71. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
  72. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +179 -6
  73. package/es/components/iho-chat/src/components/ChatFile.vue2.js +48 -28
  74. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +61 -5
  75. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +106 -44
  76. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +327 -13
  77. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +18 -17
  78. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +232 -17
  79. package/es/components/iho-chat/src/components/ChatMain.vue2.js +299 -272
  80. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +49 -3
  81. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
  82. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
  83. package/es/components/iho-chat/src/components/ContextMenu.js +33 -18
  84. package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
  85. package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
  86. package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
  87. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
  88. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +51 -4
  89. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +77 -31
  90. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +223 -98
  91. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
  92. package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
  93. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
  94. package/es/components/iho-chat/src/components/Video.vue.d.ts +44 -26
  95. package/es/components/iho-chat/src/components/Video.vue2.js +56 -49
  96. package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
  97. package/es/components/iho-chat/src/hooks/useVideo.d.ts +83 -16
  98. package/es/components/iho-chat/src/hooks/useVideo.js +439 -43
  99. package/es/components/iho-chat/src/types/index.d.ts +37 -1
  100. package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
  101. package/es/components/iho-chat/src/utils/emoji.js +1 -1
  102. package/es/components/iho-chat/src/utils/index.d.ts +2 -0
  103. package/es/components/iho-chat/src/utils/index.js +14 -1
  104. package/es/components/iho-chat/style/index.css +1 -1
  105. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -22
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  110. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  111. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  112. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +36 -4
  113. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  114. package/es/components/index.css +1 -1
  115. package/es/components/index.d.ts +2 -0
  116. package/es/components/index.js +2 -1
  117. package/es/components/info-header/index.d.ts +24 -17
  118. package/es/components/info-header/src/InfoHeader.vue.d.ts +24 -17
  119. package/es/components/info-header/src/InfoHeader.vue2.js +2 -2
  120. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  121. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
  122. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +4 -2
  123. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -1
  124. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +15 -17
  125. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +5 -0
  126. package/es/components/info-header/src/constants/index.d.ts +1 -1
  127. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +1 -2
  128. package/es/components/keyboard/index.d.ts +9 -0
  129. package/es/components/keyboard/src/Keyboard.vue.d.ts +9 -0
  130. package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
  131. package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +4 -0
  132. package/es/components/keyboard/src/components/NumberPanel.vue2.js +50 -17
  133. package/es/components/keyboard/src/types.d.ts +17 -0
  134. package/es/components/keyboard/src/types.js +1 -0
  135. package/es/components/scale-view/index.d.ts +13 -0
  136. package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
  137. package/es/components/scale-view/src/hooks/scaleview-computed.js +2 -1
  138. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
  139. package/es/components/scale-view/src/hooks/scaleview-props.js +4 -0
  140. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  141. package/es/components/select-person/src/SelectPerson.vue2.js +8 -1
  142. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  143. package/es/components/shortcut-provider/src/types/index.d.ts +1 -0
  144. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  145. package/es/components/shortcut-provider/src/utils/index.js +3 -1
  146. package/es/components/shortcut-setter/index.d.ts +5 -0
  147. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -0
  148. package/es/components/table-filter/index.js +1 -1
  149. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +246 -1
  150. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
  151. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +104 -0
  152. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
  153. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +250 -0
  154. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +116 -0
  155. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
  156. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +117 -1
  157. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +45 -8
  158. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +233 -1
  159. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
  160. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +74 -2
  161. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +258 -5
  162. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +15 -6
  163. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  164. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  165. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
  166. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  167. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
  168. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
  169. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
  170. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +38 -2
  171. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
  172. package/es/components/table-filter/src/hooks/useAdvanced.js +5 -4
  173. package/es/components/table-filter/src/tool/baseOptions.js +8 -1
  174. package/es/components/table-filter/src/types/enums.d.ts +5 -0
  175. package/es/components/table-filter/src/types/enums.js +6 -1
  176. package/es/components/time-picker/index.d.ts +36 -4
  177. package/es/components/time-picker/src/TimePicker.vue.d.ts +36 -4
  178. package/es/components/time-picker/src/TimePicker.vue2.js +98 -13
  179. package/es/components/vertify/index.d.ts +1 -0
  180. package/es/components/vertify/index.js +1 -0
  181. package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
  182. package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
  183. package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
  184. package/es/components/vertify/src/utils/dialog.d.ts +7 -0
  185. package/es/components/vertify/src/utils/dialog.js +73 -0
  186. package/es/components/vertify/src/utils/index.d.ts +11 -0
  187. package/es/components/vertify/src/utils/index.js +24 -0
  188. package/es/components/vod-chunk-upload/index.d.ts +13 -0
  189. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +19 -2
  190. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +104 -75
  191. package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
  192. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +20 -3
  193. package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
  194. package/es/components/vod-chunk-upload/src/hooks/upload-data.js +6 -2
  195. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +13 -0
  196. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +6 -1
  197. package/es/components/vod-chunk-upload/style/index.css +1 -1
  198. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  199. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  200. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  201. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  202. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  203. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  204. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  205. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  206. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  207. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  208. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  209. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  210. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  211. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  212. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  214. package/es/shared/assets/img/failure.png.js +1 -1
  215. package/es/shared/assets/img/no-permission.png.js +1 -1
  216. package/es/shared/assets/img/nodata.png.js +1 -1
  217. package/es/shared/assets/img/notfound.png.js +1 -1
  218. package/es/shared/assets/img/qr.png.js +1 -1
  219. package/es/shared/assets/img/success.png.js +1 -1
  220. package/es/shared/assets/img/table_style_2.png.js +1 -1
  221. package/es/shared/assets/img/video.png.js +1 -1
  222. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  223. package/es/shared/assets/img/xb_big.png.js +1 -1
  224. package/es/shared/assets/img/xb_small.png.js +1 -1
  225. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  226. package/es/shared/hooks/useDateTime.d.ts +1 -1
  227. package/es/shared/hooks/useDateTime.js +1 -1
  228. package/es/shared/hooks/useLevelSearchCascader.js +3 -3
  229. package/es/shared/package.json.js +2 -2
  230. package/es/shared/utils/fabricjs/index.js +1 -1
  231. package/package.json +5 -5
  232. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  233. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  234. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  235. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  236. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  237. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  238. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  239. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  240. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  241. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  242. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  243. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -1,7 +1,7 @@
1
1
  import { computed, watch } from 'vue';
2
2
 
3
3
  const useBatchEditing = (props, state, emit, xGrid) => {
4
- let _batchFieldList = [];
4
+ const _batchFieldList = [];
5
5
  const allSelectedLength = computed(() => {
6
6
  var _a;
7
7
  return (_a = state.checkedRows) == null ? void 0 : _a.length;
@@ -49,8 +49,8 @@ const useBatchEditing = (props, state, emit, xGrid) => {
49
49
  var _a;
50
50
  if (props.isNestTable)
51
51
  return false;
52
- let id = props.inlineEditCurrentOperateBtnId;
53
- let find = (_a = props.btnList) == null ? void 0 : _a.find((item) => {
52
+ const id = props.inlineEditCurrentOperateBtnId;
53
+ const find = (_a = props.btnList) == null ? void 0 : _a.find((item) => {
54
54
  var _a2, _b;
55
55
  return ((_b = (_a2 = item == null ? void 0 : item.settingObj) == null ? void 0 : _a2[0]) == null ? void 0 : _b.obj_id) === id;
56
56
  });
@@ -59,17 +59,17 @@ const useBatchEditing = (props, state, emit, xGrid) => {
59
59
  const setRowStatus = (vxeTable, rowIndex, value) => {
60
60
  if (!vxeTable)
61
61
  return false;
62
- let tableWrap = [vxeTable.querySelector(".vxe-table--main-wrapper"), vxeTable.querySelector(".vxe-table--fixed-left-wrapper"), vxeTable.querySelector(".vxe-table--fixed-right-wrapper"), vxeTable.querySelector(".vxe-table--body-wrapper")].filter((item) => item);
62
+ const tableWrap = [vxeTable.querySelector(".vxe-table--main-wrapper"), vxeTable.querySelector(".vxe-table--fixed-left-wrapper"), vxeTable.querySelector(".vxe-table--fixed-right-wrapper"), vxeTable.querySelector(".vxe-table--body-wrapper")].filter((item) => item);
63
63
  let rowWrap = [];
64
64
  tableWrap.forEach((table) => {
65
- let row = [...table.querySelectorAll(".vxe-body--row")];
65
+ const row = [...table.querySelectorAll(".vxe-body--row")];
66
66
  rowWrap.push(row[rowIndex]);
67
67
  });
68
68
  rowWrap = rowWrap.filter((item) => item);
69
- let height = value ? `${value}px` : value;
70
- let lineHeight = value ? `${value - 10}px` : value;
69
+ const height = value ? `${value}px` : value;
70
+ const lineHeight = value ? `${value - 10}px` : value;
71
71
  rowWrap.forEach((wrap) => {
72
- let rowItemWrap = [...wrap.querySelectorAll(".vxe-cell")];
72
+ const rowItemWrap = [...wrap.querySelectorAll(".vxe-cell")];
73
73
  rowItemWrap.push(...[...wrap.querySelectorAll(".vxe-body--column")]);
74
74
  rowItemWrap.forEach((dom) => {
75
75
  dom.style.setProperty("height", height, "important");
@@ -89,7 +89,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
89
89
  if (state.isTree != 0)
90
90
  return false;
91
91
  const vxeTable = xGrid.value;
92
- let {
92
+ const {
93
93
  tableData
94
94
  } = vxeTable.getTableData();
95
95
  vxeTable.clearActived();
@@ -103,7 +103,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
103
103
  const hideSelectCloumns = () => {
104
104
  var _a;
105
105
  const vxeTable = xGrid.value;
106
- let findSelectCloumns = (_a = vxeTable.getColumns()) == null ? void 0 : _a.find((item) => item.type === state.selectType);
106
+ const findSelectCloumns = (_a = vxeTable.getColumns()) == null ? void 0 : _a.find((item) => item.type === state.selectType);
107
107
  findSelectCloumns && vxeTable.hideColumn(findSelectCloumns);
108
108
  };
109
109
  const checkListFormUnionSettingParamsList = () => {
@@ -114,7 +114,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
114
114
  emit("triggerSpinning", false);
115
115
  return false;
116
116
  }
117
- let find = (_c = props.fieldListOriginal) == null ? void 0 : _c.find((item) => item.isEdit == 1);
117
+ const find = (_c = props.fieldListOriginal) == null ? void 0 : _c.find((item) => item.isEdit == 1);
118
118
  if (!find) {
119
119
  window.$message.warning("\u6CA1\u6709\u8BBE\u7F6E\u53EF\u7F16\u8F91\u5B57\u6BB5\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");
120
120
  emit("resetInlineEditAll", false);
@@ -131,7 +131,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
131
131
  const getInlineOpreateRow = () => {
132
132
  const vxeTable = xGrid.value;
133
133
  if (props.isInlineAdding) {
134
- let {
134
+ const {
135
135
  tableData
136
136
  } = vxeTable.getTableData();
137
137
  return {
@@ -140,7 +140,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
140
140
  };
141
141
  }
142
142
  if (state.showButtonTop == 0) {
143
- let {
143
+ const {
144
144
  row: row2,
145
145
  index: rowIndex
146
146
  } = state.currentClickBtnInfo || {};
@@ -149,9 +149,10 @@ const useBatchEditing = (props, state, emit, xGrid) => {
149
149
  rowIndex
150
150
  };
151
151
  }
152
- let row = props.clickRowData;
153
- for (var i = 0; i < props.oldtableData.length; i++) {
154
- let item = props.oldtableData[i];
152
+ const row = props.clickRowData;
153
+ let i = 0;
154
+ for (i = 0; i < props.oldtableData.length; i++) {
155
+ const item = props.oldtableData[i];
155
156
  if (item[props.primaryKey] === row[props.primaryKey])
156
157
  break;
157
158
  }
@@ -162,7 +163,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
162
163
  };
163
164
  const setAllRowInlineStatus = (disabled = false) => {
164
165
  const vxeTable = xGrid.value;
165
- let {
166
+ const {
166
167
  tableData
167
168
  } = vxeTable.getTableData();
168
169
  tableData.forEach((row) => {
@@ -180,7 +181,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
180
181
  if (state.isTree != 0)
181
182
  return false;
182
183
  const vxeTable = xGrid.value;
183
- let {
184
+ const {
184
185
  row,
185
186
  rowIndex
186
187
  } = getInlineOpreateRow();
@@ -210,7 +211,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
210
211
  const getBatchOpreateRows = () => {
211
212
  const vxeTable = xGrid.value;
212
213
  let arr = state.checkedRows;
213
- let {
214
+ const {
214
215
  tableData
215
216
  } = vxeTable.getTableData();
216
217
  if (props.isEditAllRow) {
@@ -219,7 +220,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
219
220
  arr.forEach((item, i) => {
220
221
  let rowIndex = i;
221
222
  if (!props.isEditAllRow) {
222
- let matchIndex = tableData.findIndex((v) => v[props.primaryKey] == item[props.primaryKey]);
223
+ const matchIndex = tableData.findIndex((v) => v[props.primaryKey] == item[props.primaryKey]);
223
224
  if (matchIndex > -1) {
224
225
  rowIndex = matchIndex;
225
226
  }
@@ -235,7 +236,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
235
236
  }
236
237
  let arr = state.checkedRows;
237
238
  const vxeTable = xGrid.value;
238
- let {
239
+ const {
239
240
  tableData
240
241
  } = vxeTable.getTableData();
241
242
  if (props.isEditAllRow) {
@@ -247,7 +248,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
247
248
  getBatchOpreateRows();
248
249
  };
249
250
  const handleEditFormLength = () => {
250
- let fieldLength = _batchFieldList.length;
251
+ const fieldLength = _batchFieldList.length;
251
252
  if (!fieldLength)
252
253
  return;
253
254
  if (props.isInlineAdding) {
@@ -255,7 +256,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
255
256
  }
256
257
  let rowLen = allSelectedLength.value;
257
258
  const vxeTable = xGrid.value;
258
- let {
259
+ const {
259
260
  tableData
260
261
  } = vxeTable.getTableData();
261
262
  if (props.isEditAllRow) {
@@ -270,7 +271,7 @@ const useBatchEditing = (props, state, emit, xGrid) => {
270
271
  return false;
271
272
  emit("resetBatchEditDoneStatus");
272
273
  let formDom = document.querySelectorAll(".js-inlineEditForm");
273
- let sliceLen = handleEditFormLength();
274
+ const sliceLen = handleEditFormLength();
274
275
  formDom = [...formDom].slice(0, sliceLen);
275
276
  formDom.forEach((item) => {
276
277
  item.__vue__.handleSubmitForm();
@@ -111,6 +111,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
111
111
  svrUpdateIp: {
112
112
  type: StringConstructor;
113
113
  };
114
+ apptype: {
115
+ type: StringConstructor;
116
+ };
117
+ uuid: {
118
+ type: StringConstructor;
119
+ };
114
120
  hidePreviewBtns: {
115
121
  type: StringConstructor;
116
122
  };
@@ -228,6 +234,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
228
234
  svrUpdateIp: {
229
235
  type: StringConstructor;
230
236
  };
237
+ apptype: {
238
+ type: StringConstructor;
239
+ };
240
+ uuid: {
241
+ type: StringConstructor;
242
+ };
231
243
  hidePreviewBtns: {
232
244
  type: StringConstructor;
233
245
  };
@@ -332,6 +344,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
332
344
  default: () => {
333
345
  isShowPrintAll: boolean;
334
346
  printAllType: number;
347
+ hideTemplateCodes: never[];
335
348
  isShowOutSetting: boolean;
336
349
  customProps: {};
337
350
  outerPrintKeys: never[];
@@ -340,11 +353,18 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
340
353
  buttonProps: {};
341
354
  showMaxHeight: null;
342
355
  initLoadPrintParams: boolean;
356
+ showPreviewDataList: boolean;
343
357
  };
344
358
  };
345
359
  svrUpdateIp: {
346
360
  type: StringConstructor;
347
361
  };
362
+ apptype: {
363
+ type: StringConstructor;
364
+ };
365
+ uuid: {
366
+ type: StringConstructor;
367
+ };
348
368
  hidePreviewBtns: {
349
369
  type: StringConstructor;
350
370
  };
@@ -451,6 +471,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
451
471
  default: () => {
452
472
  isShowPrintAll: boolean;
453
473
  printAllType: number;
474
+ hideTemplateCodes: never[];
454
475
  isShowOutSetting: boolean;
455
476
  customProps: {};
456
477
  outerPrintKeys: never[];
@@ -459,11 +480,18 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
459
480
  buttonProps: {};
460
481
  showMaxHeight: null;
461
482
  initLoadPrintParams: boolean;
483
+ showPreviewDataList: boolean;
462
484
  };
463
485
  };
464
486
  svrUpdateIp: {
465
487
  type: StringConstructor;
466
488
  };
489
+ apptype: {
490
+ type: StringConstructor;
491
+ };
492
+ uuid: {
493
+ type: StringConstructor;
494
+ };
467
495
  hidePreviewBtns: {
468
496
  type: StringConstructor;
469
497
  };
@@ -474,6 +502,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
474
502
  state: any;
475
503
  shortcutFn: any;
476
504
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
505
+ realOptionList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
477
506
  operations: import("vue").Ref<import("../../shared/types").AnyObject[]>;
478
507
  downlistOperation: any;
479
508
  downlistPopover: any;
@@ -488,11 +517,13 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
488
517
  printCustomProps: import("vue").ComputedRef<any>;
489
518
  defaultPrintFormatId: import("vue").ComputedRef<any>;
490
519
  isPrintAllType: import("vue").ComputedRef<any>;
520
+ hideTemplateCodes: import("vue").ComputedRef<any>;
491
521
  shortcutSettings: import("vue").ComputedRef<any>;
492
522
  buttonProps: import("vue").ComputedRef<any>;
493
523
  showMaxHeight: import("vue").ComputedRef<any>;
494
524
  printAllFormatIds: import("vue").ComputedRef<any>;
495
525
  positionElement: import("vue").ComputedRef<any>;
526
+ showPreviewDataList: import("vue").ComputedRef<any>;
496
527
  printAllShortcut: import("vue").ComputedRef<any>;
497
528
  showSettingItems: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
498
529
  isSelectedAll: import("vue").WritableComputedRef<boolean>;
@@ -505,19 +536,20 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
505
536
  handleTypeClick: (name: string, key: string, option: any) => never[] | undefined;
506
537
  savePrintOutSetting: () => void;
507
538
  handleTwoShow: (name: string) => void;
508
- handleClickOutHide: (shwoType: string) => void;
539
+ handleClickOutHide: (showType: string) => void;
540
+ hiddenPopover: () => void;
509
541
  callLocalServicesSuccessCb: (res: any, type: any) => void;
510
542
  callLocalServicesErrorCb: (res: unknown) => void;
511
543
  callLocalServicesCancelCb: (res: unknown) => void;
512
544
  prevFnError: (type: string) => void;
513
545
  getPrintParams: () => string;
514
- getOnceParams: (curPrintParamList: any[] | undefined, templateCode: string) => string;
546
+ getOnceParams: (curPrintParamList: any[] | undefined, templateCode: string, name?: string | undefined) => string;
515
547
  handleClickPrintAll: () => void;
516
548
  toggleExpandLoading: (isLoading: boolean, formatId?: string | undefined) => void;
517
549
  getCurrentLoading: () => any;
518
550
  handleOneTypePrint: (templateCode: string, templateId: string, formatId: string, isOuterClick: boolean) => void;
519
551
  handleClickPrint: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string, printToParam?: never[], needContinuePrint?: boolean | undefined) => Promise<void>;
520
- handleClickPreview: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise<void>;
552
+ handleClickPreview: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string, name?: string | undefined) => Promise<void>;
521
553
  handleClickPdf: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise<void>;
522
554
  handleClickEdit: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => void;
523
555
  handleResetPrinter: (curPrintParamList: any[] | undefined, templateCode: string, templateId: string, formatId: string) => Promise<void>;
@@ -543,7 +575,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
543
575
  registerShort: (obj?: any) => Promise<void>;
544
576
  handleClickBtn: (visible?: boolean) => Promise<false | undefined>;
545
577
  reformatPrintParams: () => void;
546
- verifiySuccess: (token: string) => void;
578
+ verifiySuccess: (token: string, templateCode: string) => void;
547
579
  isPrintDisabled: (outer: any, j: number) => any;
548
580
  directPrint: () => Promise<void>;
549
581
  directDefaultFormatPrint: (defaultFormatId: string) => Promise<void>;
@@ -557,6 +589,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
557
589
  NCheckbox: any;
558
590
  PrintOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
559
591
  ChevronDownSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
592
+ ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
560
593
  ArrowForwardOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
561
594
  SettingsOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
562
595
  IdentityVerification: import("vue").DefineComponent<{
@@ -582,6 +615,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
582
615
  type: StringConstructor;
583
616
  required: false;
584
617
  };
618
+ templateCode: {
619
+ type: StringConstructor;
620
+ required: false;
621
+ };
585
622
  }, {
586
623
  $message: import("naive-ui").MessageApi;
587
624
  DEFAULT_FORM: {
@@ -594,6 +631,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
594
631
  modelValue: boolean;
595
632
  formatId?: string | undefined;
596
633
  templateId?: string | undefined;
634
+ templateCode?: string | undefined;
597
635
  };
598
636
  emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
599
637
  editFormRef: import("vue").Ref<{
@@ -682,8 +720,8 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
682
720
  }[]>;
683
721
  queryFileList: () => void;
684
722
  onRemove: (options: {
685
- file: import("naive-ui").UploadFileInfo;
686
- fileList: import("naive-ui").UploadFileInfo[];
723
+ file: import("naive-ui/es/upload").UploadFileInfo;
724
+ fileList: import("naive-ui/es/upload").UploadFileInfo[];
687
725
  }) => Promise<unknown>;
688
726
  submit: (datas: import("../../shared/types").AnyObject) => Promise<unknown>;
689
727
  validateFormat: () => boolean;
@@ -729,6 +767,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
729
767
  type: StringConstructor;
730
768
  required: false;
731
769
  };
770
+ templateCode: {
771
+ type: StringConstructor;
772
+ required: false;
773
+ };
732
774
  }>> & {
733
775
  onSuccess?: ((...args: any[]) => any) | undefined;
734
776
  onClose?: ((...args: any[]) => any) | undefined;
@@ -830,6 +872,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
830
872
  default: () => {
831
873
  isShowPrintAll: boolean;
832
874
  printAllType: number;
875
+ hideTemplateCodes: never[];
833
876
  isShowOutSetting: boolean;
834
877
  customProps: {};
835
878
  outerPrintKeys: never[];
@@ -838,11 +881,18 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
838
881
  buttonProps: {};
839
882
  showMaxHeight: null;
840
883
  initLoadPrintParams: boolean;
884
+ showPreviewDataList: boolean;
841
885
  };
842
886
  };
843
887
  svrUpdateIp: {
844
888
  type: StringConstructor;
845
889
  };
890
+ apptype: {
891
+ type: StringConstructor;
892
+ };
893
+ uuid: {
894
+ type: StringConstructor;
895
+ };
846
896
  hidePreviewBtns: {
847
897
  type: StringConstructor;
848
898
  };
@@ -973,6 +1023,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
973
1023
  svrUpdateIp: {
974
1024
  type: StringConstructor;
975
1025
  };
1026
+ apptype: {
1027
+ type: StringConstructor;
1028
+ };
1029
+ uuid: {
1030
+ type: StringConstructor;
1031
+ };
976
1032
  hidePreviewBtns: {
977
1033
  type: StringConstructor;
978
1034
  };
@@ -1090,6 +1146,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1090
1146
  svrUpdateIp: {
1091
1147
  type: StringConstructor;
1092
1148
  };
1149
+ apptype: {
1150
+ type: StringConstructor;
1151
+ };
1152
+ uuid: {
1153
+ type: StringConstructor;
1154
+ };
1093
1155
  hidePreviewBtns: {
1094
1156
  type: StringConstructor;
1095
1157
  };
@@ -1178,6 +1240,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1178
1240
  type: StringConstructor;
1179
1241
  required: false;
1180
1242
  };
1243
+ templateCode: {
1244
+ type: StringConstructor;
1245
+ required: false;
1246
+ };
1181
1247
  }, {
1182
1248
  $message: import("naive-ui").MessageApi;
1183
1249
  DEFAULT_FORM: {
@@ -1190,6 +1256,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1190
1256
  modelValue: boolean;
1191
1257
  formatId?: string | undefined;
1192
1258
  templateId?: string | undefined;
1259
+ templateCode?: string | undefined;
1193
1260
  };
1194
1261
  emit: (event: "close" | "success" | "update:modelValue" | "afterLeaveComponent", ...args: any[]) => void;
1195
1262
  editFormRef: import("vue").Ref<{
@@ -1278,8 +1345,8 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1278
1345
  }[]>;
1279
1346
  queryFileList: () => void;
1280
1347
  onRemove: (options: {
1281
- file: import("naive-ui").UploadFileInfo;
1282
- fileList: import("naive-ui").UploadFileInfo[];
1348
+ file: import("naive-ui/es/upload").UploadFileInfo;
1349
+ fileList: import("naive-ui/es/upload").UploadFileInfo[];
1283
1350
  }) => Promise<unknown>;
1284
1351
  submit: (datas: import("../../shared/types").AnyObject) => Promise<unknown>;
1285
1352
  validateFormat: () => boolean;
@@ -1325,6 +1392,10 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1325
1392
  type: StringConstructor;
1326
1393
  required: false;
1327
1394
  };
1395
+ templateCode: {
1396
+ type: StringConstructor;
1397
+ required: false;
1398
+ };
1328
1399
  }>> & {
1329
1400
  onSuccess?: ((...args: any[]) => any) | undefined;
1330
1401
  onClose?: ((...args: any[]) => any) | undefined;
@@ -1439,6 +1510,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1439
1510
  svrUpdateIp: {
1440
1511
  type: StringConstructor;
1441
1512
  };
1513
+ apptype: {
1514
+ type: StringConstructor;
1515
+ };
1516
+ uuid: {
1517
+ type: StringConstructor;
1518
+ };
1442
1519
  hidePreviewBtns: {
1443
1520
  type: StringConstructor;
1444
1521
  };
@@ -1577,6 +1654,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1577
1654
  svrUpdateIp: {
1578
1655
  type: StringConstructor;
1579
1656
  };
1657
+ apptype: {
1658
+ type: StringConstructor;
1659
+ };
1660
+ uuid: {
1661
+ type: StringConstructor;
1662
+ };
1580
1663
  hidePreviewBtns: {
1581
1664
  type: StringConstructor;
1582
1665
  };
@@ -1593,6 +1676,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1593
1676
  directPrint: () => Promise<void>;
1594
1677
  handleShortcutStartAndStop: (status: "start" | "stop") => void;
1595
1678
  registerShort: (obj: any) => void;
1679
+ hiddenPopover: () => void;
1596
1680
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint")[], "success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1597
1681
  printParams: {
1598
1682
  type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
@@ -1703,6 +1787,12 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
1703
1787
  svrUpdateIp: {
1704
1788
  type: StringConstructor;
1705
1789
  };
1790
+ apptype: {
1791
+ type: StringConstructor;
1792
+ };
1793
+ uuid: {
1794
+ type: StringConstructor;
1795
+ };
1706
1796
  hidePreviewBtns: {
1707
1797
  type: StringConstructor;
1708
1798
  };