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

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 (347) 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/recorder/fft.d.ts +4 -0
  13. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +4 -0
  14. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +4 -0
  15. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +4 -0
  16. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +4 -0
  17. package/es/components/audio-sdk/src/utils/recordingModal.js +13 -2
  18. package/es/components/base-search/src/index.vue2.js +6 -6
  19. package/es/components/big-table/src/BigTable.vue2.js +21 -21
  20. package/es/components/big-table/src/components/NoData.vue2.js +4 -4
  21. package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
  22. package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
  23. package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
  24. package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
  25. package/es/components/big-table/src/components/input-button.vue2.js +2 -2
  26. package/es/components/big-table/src/hooks/useNestTable.js +4 -4
  27. package/es/components/big-table/src/hooks/useTableParse.js +3 -3
  28. package/es/components/body-select/src/index.vue2.js +4 -4
  29. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  30. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  31. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  32. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  33. package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
  34. package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
  35. package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
  36. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
  37. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
  38. package/es/components/button-print/src/components/Preview.vue2.js +2 -2
  39. package/es/components/button-print/src/utils/dialog.js +6 -6
  40. package/es/components/button-print/src/utils/print.js +21 -21
  41. package/es/components/callback/src/components/render/popupMaps.d.ts +17 -1
  42. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
  43. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
  44. package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
  45. package/es/components/card-render/index.d.ts +4 -4
  46. package/es/components/card-render/src/CardRender.vue.d.ts +4 -4
  47. package/es/components/card-render/src/components/index.d.ts +23 -23
  48. package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
  49. package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
  50. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  51. package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
  52. package/es/components/classification/src/index.vue2.js +42 -42
  53. package/es/components/default-page/src/constants/index.js +19 -19
  54. package/es/components/default-page/src/index.vue2.js +2 -2
  55. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
  56. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
  57. package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
  58. package/es/components/expand-field/src/components/form.vue2.js +87 -87
  59. package/es/components/expand-field/src/index.vue2.js +16 -16
  60. package/es/components/expand-field/src/utils/constant.js +12 -12
  61. package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
  62. package/es/components/fabric-chart/src/constants/index.js +10 -10
  63. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
  64. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
  65. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
  66. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
  67. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
  68. package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
  69. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +12 -6
  70. package/es/components/field-editor/index.d.ts +4 -0
  71. package/es/components/field-editor/src/FieldEditor.vue.d.ts +4 -0
  72. package/es/components/field-editor/src/fields.js +30 -30
  73. package/es/components/field-set/src/FieldColor.vue2.js +15 -15
  74. package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
  75. package/es/components/field-set/src/FieldSet.vue2.js +37 -37
  76. package/es/components/field-set/src/Index.vue2.js +6 -6
  77. package/es/components/field-set/src/TableStyle.vue2.js +9 -9
  78. package/es/components/field-set/src/components/condition.vue2.js +8 -8
  79. package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
  80. package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
  81. package/es/components/field-set/src/components/table-row.vue2.js +25 -25
  82. package/es/components/field-set/src/constants/filter.js +42 -42
  83. package/es/components/field-set/src/constants/index.js +64 -64
  84. package/es/components/form-config/index.d.ts +80 -5
  85. package/es/components/form-config/src/FormConfig.vue.d.ts +80 -5
  86. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -0
  87. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +57 -4
  88. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +16 -1
  89. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
  90. package/es/components/form-config/src/constants/index.d.ts +2 -1
  91. package/es/components/form-config/src/constants/index.js +12 -11
  92. package/es/components/form-config/src/hooks/useConfigurationField.js +19 -1
  93. package/es/components/form-config/src/hooks/useLocale.d.ts +1 -0
  94. package/es/components/form-config/src/hooks/useLocale.js +32 -31
  95. package/es/components/form-config/src/types/index.d.ts +1 -0
  96. package/es/components/form-render/index.d.ts +4 -0
  97. package/es/components/form-render/src/FormRender.vue.d.ts +4 -0
  98. package/es/components/form-render/src/FormRender.vue2.js +3 -2
  99. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -0
  100. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  101. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
  102. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
  103. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
  104. package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
  105. package/es/components/form-render/src/components/renderer/input.d.ts +16 -4
  106. package/es/components/form-render/src/components/renderer/input.js +39 -7
  107. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +3 -0
  108. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  109. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  110. package/es/components/form-render/src/components/renderer/radio_checkbox.js +11 -10
  111. package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
  112. package/es/components/form-render/src/components/renderer/switch.js +4 -4
  113. package/es/components/form-render/src/components/renderer/text.js +1 -1
  114. package/es/components/form-render/src/components/renderer/textarea.d.ts +16 -1
  115. package/es/components/form-render/src/components/renderer/textarea.js +36 -8
  116. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -0
  117. package/es/components/form-render/src/hooks/useComplexOptions.js +3 -2
  118. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +2 -2
  119. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +4 -3
  120. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  121. package/es/components/form-render/src/hooks/useFormField.d.ts +2 -0
  122. package/es/components/form-render/src/hooks/useFormField.js +5 -1
  123. package/es/components/form-render/src/hooks/useFormValidator.js +1 -0
  124. package/es/components/form-render/src/hooks/usePresetScope.js +1 -0
  125. package/es/components/form-render/src/types/fieldItem.d.ts +11 -0
  126. package/es/components/form-render/src/types/index.d.ts +1 -0
  127. package/es/components/form-render/src/utils/index.js +1 -0
  128. package/es/components/form-render/src/utils/schema.js +60 -15
  129. package/es/components/guide/src/renderer.d.ts +2 -2
  130. package/es/components/iho-chat/src/Index.vue2.js +2 -2
  131. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
  132. package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
  133. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
  134. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
  135. package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
  136. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
  137. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
  138. package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
  139. package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
  140. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
  141. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
  142. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
  143. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +10 -10
  144. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
  145. package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
  146. package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
  147. package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
  148. package/es/components/iho-chat/src/utils/index.js +14 -14
  149. package/es/components/iho-table/index.d.ts +13 -1
  150. package/es/components/iho-table/src/IhoTable.vue.d.ts +13 -2
  151. package/es/components/iho-table/src/IhoTable.vue2.js +27 -20
  152. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
  153. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
  154. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
  155. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +6 -0
  156. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
  157. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
  158. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
  159. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
  160. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
  161. package/es/components/index.css +1 -1
  162. package/es/components/index.d.ts +1 -2
  163. package/es/components/index.js +0 -3
  164. package/es/components/info-header/index.d.ts +13 -0
  165. package/es/components/info-header/src/InfoHeader.vue.d.ts +13 -0
  166. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  167. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
  168. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +5 -0
  169. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -0
  170. package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
  171. package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
  172. package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
  173. package/es/components/map/src/Map.vue2.js +2 -2
  174. package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
  175. package/es/components/quick-search/src/index.vue2.js +21 -21
  176. package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
  177. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
  178. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
  179. package/es/components/scale-view/index.d.ts +1 -1
  180. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
  181. package/es/components/scale-view/src/ScaleView.vue2.js +6 -6
  182. package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
  183. package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
  184. package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
  185. package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
  186. package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
  187. package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
  188. package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
  189. package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
  190. package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
  191. package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
  192. package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
  193. package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
  194. package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
  195. package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
  196. package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
  197. package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
  198. package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
  199. package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
  200. package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
  201. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
  202. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
  203. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
  204. package/es/components/select-person/src/SelectPerson.vue2.js +24 -21
  205. package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
  206. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
  207. package/es/components/select-person/src/index.vue2.js +3 -3
  208. package/es/components/shortcut-setter/index.d.ts +16 -1
  209. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +16 -1
  210. package/es/components/slider-tree/src/index.vue2.js +3 -3
  211. package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
  212. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
  213. package/es/components/table-export-field/src/index.vue2.js +6 -6
  214. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
  215. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
  216. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
  217. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
  218. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
  219. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
  220. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
  221. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
  222. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
  223. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
  224. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
  225. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
  226. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
  227. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
  228. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
  229. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
  230. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
  231. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
  232. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
  233. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
  234. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +11 -11
  235. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
  236. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
  237. package/es/components/table-filter/src/tool/baseOptions.js +19 -19
  238. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
  239. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
  240. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
  241. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
  242. package/es/env.d.ts +25 -25
  243. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  244. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  245. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  246. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  247. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  248. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  249. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  250. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  251. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  252. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  253. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  254. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  255. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  256. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  257. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  258. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  259. package/es/shared/assets/img/failure.png.js +1 -1
  260. package/es/shared/assets/img/no-permission.png.js +1 -1
  261. package/es/shared/assets/img/nodata.png.js +1 -1
  262. package/es/shared/assets/img/notfound.png.js +1 -1
  263. package/es/shared/assets/img/qr.png.js +1 -1
  264. package/es/shared/assets/img/success.png.js +1 -1
  265. package/es/shared/assets/img/table_style_2.png.js +1 -1
  266. package/es/shared/assets/img/video.png.js +1 -1
  267. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  268. package/es/shared/assets/img/xb_big.png.js +1 -1
  269. package/es/shared/assets/img/xb_small.png.js +1 -1
  270. package/es/shared/components/CancelRadio/CancelRadio.d.ts +7 -0
  271. package/es/shared/components/CancelRadio/CancelRadio.js +6 -6
  272. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  273. package/es/shared/package.json.js +1 -1
  274. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  275. package/es/shared/utils/tapable/index.d.ts +139 -0
  276. package/package.json +76 -77
  277. package/es/components/ai-chat/index.d.ts +0 -680
  278. package/es/components/ai-chat/index.js +0 -10
  279. package/es/components/ai-chat/src/Index.vue.d.ts +0 -682
  280. package/es/components/ai-chat/src/Index.vue.js +0 -6
  281. package/es/components/ai-chat/src/Index.vue2.js +0 -175
  282. package/es/components/ai-chat/src/api/index.d.ts +0 -8
  283. package/es/components/ai-chat/src/api/index.js +0 -87
  284. package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -38
  285. package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -6
  286. package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -103
  287. package/es/components/ai-chat/src/components/ChatBI.vue.d.ts +0 -101
  288. package/es/components/ai-chat/src/components/ChatBI.vue.js +0 -6
  289. package/es/components/ai-chat/src/components/ChatBI.vue2.js +0 -73
  290. package/es/components/ai-chat/src/components/ChatCard.d.ts +0 -43
  291. package/es/components/ai-chat/src/components/ChatCard.js +0 -403
  292. package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +0 -203
  293. package/es/components/ai-chat/src/components/ChatFooter.vue.js +0 -6
  294. package/es/components/ai-chat/src/components/ChatFooter.vue2.js +0 -373
  295. package/es/components/ai-chat/src/components/ChatMain.d.ts +0 -2
  296. package/es/components/ai-chat/src/components/ChatMain.js +0 -350
  297. package/es/components/ai-chat/src/components/ChatMainDefault.d.ts +0 -2
  298. package/es/components/ai-chat/src/components/ChatMainDefault.js +0 -278
  299. package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +0 -59
  300. package/es/components/ai-chat/src/components/ChatPatient.vue.js +0 -6
  301. package/es/components/ai-chat/src/components/ChatPatient.vue2.js +0 -218
  302. package/es/components/ai-chat/src/components/ChatPrompt.vue.d.ts +0 -45
  303. package/es/components/ai-chat/src/components/ChatPrompt.vue.js +0 -6
  304. package/es/components/ai-chat/src/components/ChatPrompt.vue2.js +0 -143
  305. package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -57
  306. package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -6
  307. package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -190
  308. package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
  309. package/es/components/ai-chat/src/components/card/JsonCard.js +0 -574
  310. package/es/components/ai-chat/src/components/message-render/CardRender.d.ts +0 -16
  311. package/es/components/ai-chat/src/components/message-render/CardRender.js +0 -80
  312. package/es/components/ai-chat/src/components/message-render/FormRender.d.ts +0 -16
  313. package/es/components/ai-chat/src/components/message-render/FormRender.js +0 -173
  314. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.d.ts +0 -36
  315. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue.js +0 -6
  316. package/es/components/ai-chat/src/components/mobile/MobileChatAudio.vue2.js +0 -96
  317. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.d.ts +0 -105
  318. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue.js +0 -6
  319. package/es/components/ai-chat/src/components/mobile/MobileChatFooter.vue2.js +0 -260
  320. package/es/components/ai-chat/src/components/svgs/AddIcon.vue.js +0 -18
  321. package/es/components/ai-chat/src/components/svgs/AudioIcon.vue.js +0 -37
  322. package/es/components/ai-chat/src/components/svgs/KeyboardIcon.vue.js +0 -20
  323. package/es/components/ai-chat/src/components/svgs/MicroPhone.vue.js +0 -48
  324. package/es/components/ai-chat/src/hooks/index.d.ts +0 -2
  325. package/es/components/ai-chat/src/hooks/index.js +0 -2
  326. package/es/components/ai-chat/src/hooks/useChartAudioContext.d.ts +0 -18
  327. package/es/components/ai-chat/src/hooks/useChartAudioContext.js +0 -202
  328. package/es/components/ai-chat/src/hooks/useData.d.ts +0 -77
  329. package/es/components/ai-chat/src/hooks/useData.js +0 -289
  330. package/es/components/ai-chat/src/hooks/useFooterContext.d.ts +0 -38
  331. package/es/components/ai-chat/src/hooks/useFooterContext.js +0 -218
  332. package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -14
  333. package/es/components/ai-chat/src/hooks/useProgram.js +0 -306
  334. package/es/components/ai-chat/src/hooks/useSSE.d.ts +0 -9
  335. package/es/components/ai-chat/src/hooks/useSSE.js +0 -138
  336. package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -4
  337. package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -66
  338. package/es/components/ai-chat/src/types/index.d.ts +0 -45
  339. package/es/components/ai-chat/src/types/index.js +0 -1
  340. package/es/components/ai-chat/src/utils/index.d.ts +0 -7
  341. package/es/components/ai-chat/src/utils/index.js +0 -41
  342. package/es/components/ai-chat/style/index.css +0 -1
  343. package/es/shared/assets/img/ai__avatar.png.js +0 -3
  344. package/es/shared/assets/img/file-emr.png.js +0 -3
  345. package/es/shared/assets/img/file.png.js +0 -3
  346. package/es/shared/assets/img/logo.png.js +0 -3
  347. package/es/shared/assets/img/use.png.js +0 -3
@@ -228,7 +228,7 @@ const ScaleViewSubmit = (props, state, emit, config) => {
228
228
  });
229
229
  };
230
230
  const confirmSubmit = (message2) => {
231
- var _a, _b;
231
+ var _a, _b, _c, _d, _e, _f;
232
232
  dialog.warning({
233
233
  title: "\u6E29\u99A8\u63D0\u793A",
234
234
  content: () => h("div", {
@@ -236,8 +236,8 @@ const ScaleViewSubmit = (props, state, emit, config) => {
236
236
  paddingLeft: "30px"
237
237
  }
238
238
  }, message2),
239
- positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || "\u786E\u5B9A",
240
- negativeText: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.28")) || "\u53D6\u6D88",
239
+ positiveText: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.27")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.27")) || "\u786E\u5B9A",
240
+ negativeText: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
241
241
  maskClosable: false,
242
242
  closable: false,
243
243
  positiveButtonProps: {
@@ -20,26 +20,26 @@ const ScaleViewValidate = (props, state, config) => {
20
20
  return isAdress;
21
21
  };
22
22
  const checkAdress = (rule, value) => {
23
- var _a;
23
+ var _a, _b, _c;
24
24
  let {
25
25
  address
26
26
  } = value || {};
27
27
  if (!address) {
28
- return new Error(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || "\u5FC5\u586B");
28
+ return new Error(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B");
29
29
  }
30
30
  return true;
31
31
  };
32
32
  const checkLabel = (rule, value) => {
33
- var _a, _b;
33
+ var _a, _b, _c, _d, _e, _f;
34
34
  if (!value || !Object.keys(value).length) {
35
- return new Error(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || "\u5FC5\u586B");
35
+ return new Error(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B");
36
36
  }
37
37
  let {
38
38
  labelStr,
39
39
  labels = []
40
40
  } = value;
41
41
  if (!labelStr || !labels.length) {
42
- return new Error(((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.248")) || "\u5FC5\u586B");
42
+ return new Error(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.248")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.248")) || "\u5FC5\u586B");
43
43
  }
44
44
  return true;
45
45
  };
@@ -116,7 +116,7 @@ const ScaleViewValidate = (props, state, config) => {
116
116
  return Object.prototype.toString.call(val);
117
117
  };
118
118
  const validateRequired = (rule, value) => {
119
- var _a;
119
+ var _a, _b, _c;
120
120
  let type = checkType(value);
121
121
  if (type == "[object Object]") {
122
122
  if (value && Object.keys(value).length)
@@ -131,19 +131,19 @@ const ScaleViewValidate = (props, state, config) => {
131
131
  if (value)
132
132
  return true;
133
133
  }
134
- return new Error(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || "\u5FC5\u586B");
134
+ return new Error(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B");
135
135
  };
136
136
  const filterArr = ["LABEL", "ADDRESS"];
137
137
  const formatRules = (formArray) => {
138
138
  const rules = {};
139
139
  formArray.forEach((item) => {
140
- var _a;
140
+ var _a, _b, _c;
141
141
  let newTitle = item.val_key;
142
142
  rules[newTitle] = [];
143
143
  if (item.required && !filterArr.includes(item.type)) {
144
144
  rules[newTitle].push({
145
145
  required: item.required,
146
- message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || "\u5FC5\u586B",
146
+ message: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B",
147
147
  trigger: "change",
148
148
  validator: validateRequired
149
149
  });
@@ -14,7 +14,7 @@ import ClearIcon from './components/ClearIcon.vue.js';
14
14
  import { InjectionSearchCascaderCheckAbleLevel, InjectionKeyboardEventBus, InjectionSearchCascaderLoadingNode, InjectionSearchCascaderValue } from './constants/index.js';
15
15
  import { SearchMenu } from './components/SearchMenu.js';
16
16
 
17
- var _a;
17
+ var _a, _b, _c;
18
18
  const _hoisted_1 = {
19
19
  style: {
20
20
  "width": "100%"
@@ -41,7 +41,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  },
42
42
  placeholder: {
43
43
  type: String,
44
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9"
44
+ default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9"
45
45
  },
46
46
  editPlaceholder: {
47
47
  type: String,
@@ -4,17 +4,17 @@ import labelClassify from './components/label-classify.vue.js';
4
4
  import { handleLabelColor } from '../../../shared/utils/vexutils.js';
5
5
  import vexutilsExpand from '../../../shared/utils/vexutilsExpand.js';
6
6
 
7
- var _a, _b;
7
+ var _a, _b, _c, _d, _e, _f;
8
8
  const _hoisted_1 = {
9
9
  key: 0,
10
10
  class: "label-disable-wrap"
11
11
  };
12
12
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", {
13
13
  class: "label-disable-title"
14
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
14
+ }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
15
15
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
16
16
  class: "label-disable-desc"
17
- }, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
17
+ }, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
18
18
  const _hoisted_4 = [_hoisted_2, _hoisted_3];
19
19
  const _hoisted_5 = {
20
20
  style: {
@@ -281,7 +281,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
281
281
  }
282
282
  };
283
283
  const handleDelLabel = async (v) => {
284
- var _a2;
284
+ var _a2, _b2, _c2;
285
285
  const {
286
286
  status
287
287
  } = await props.deleteLabel(v, props.item);
@@ -304,7 +304,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
304
304
  }
305
305
  emit("updateLabelData");
306
306
  } else {
307
- $message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.521")) || "\u5220\u9664\u5931\u8D25");
307
+ $message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.521")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.521")) || "\u5220\u9664\u5931\u8D25");
308
308
  }
309
309
  };
310
310
  const labelAnchorTabsOnChange = (key) => {
@@ -424,14 +424,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
424
424
  "total-right-label-wrap": __props.isChangeWindow
425
425
  }])
426
426
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(state.labelConfig, (v, k) => {
427
- var _a2, _b2;
427
+ var _a2, _b2, _c2, _d2, _e2, _f2;
428
428
  return openBlock(), createElementBlock("div", {
429
429
  key: k,
430
430
  class: "edit-label-content"
431
431
  }, [createElementVNode("div", {
432
432
  class: "edit-label",
433
433
  id: v.curKey
434
- }, [createTextVNode(toDisplayString(k) + " ", 1), createElementVNode("span", _hoisted_8, "(" + toDisplayString(v.multipleChoice == 2 ? ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.298")) || "\u5355\u9009" : ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.100")) || "\u591A\u9009") + ")", 1)], 8, _hoisted_7), createVNode(labelClassify, {
434
+ }, [createTextVNode(toDisplayString(k) + " ", 1), createElementVNode("span", _hoisted_8, "(" + toDisplayString(v.multipleChoice == 2 ? ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.298")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.298")) || "\u5355\u9009" : ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.100")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.100")) || "\u591A\u9009") + ")", 1)], 8, _hoisted_7), createVNode(labelClassify, {
435
435
  classifyItem: v,
436
436
  handleLabelChange,
437
437
  handleLabelColor: unref(handleLabelColor),
@@ -5,16 +5,16 @@ import scriptFormContent from './LabelFormContent.vue.js';
5
5
  import { handleLabelColor } from '../../../shared/utils/vexutils.js';
6
6
  import vexutilsExpand from '../../../shared/utils/vexutilsExpand.js';
7
7
 
8
- var _a, _b;
8
+ var _a, _b, _c, _d, _e, _f;
9
9
  const _hoisted_1 = {
10
10
  class: "c-select-label"
11
11
  };
12
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.522")) || "\u5E38\u7528", -1);
12
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.522")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.522")) || "\u5E38\u7528", -1);
13
13
  const _hoisted_3 = {
14
14
  key: 2,
15
15
  class: "outexplicit"
16
16
  };
17
- const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
17
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.518")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
18
18
  const _hoisted_5 = {
19
19
  class: "svg-wrap"
20
20
  };
@@ -256,7 +256,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
256
256
  state.multipleChoiceConfig = multipleChoiceConfig;
257
257
  }
258
258
  keys.forEach((key) => {
259
- var _a2, _b2, _c, _d, _e, _f, _g;
259
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g;
260
260
  if (key === "typeList")
261
261
  return;
262
262
  if (key === "emptyTypes") {
@@ -291,12 +291,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
291
291
  } else {
292
292
  state.editLabelItem.labelObj[key].isNoAdd = true;
293
293
  state.editLabelItem.labelObj[key].multipleChoice = (_b2 = choiceTypes[key]) == null ? void 0 : _b2.multipleChoice;
294
- state.editLabelItem.labelObj[key].allowCreateByPersonal = (_c = choiceTypes[key]) == null ? void 0 : _c.allowCreateByPersonal;
295
- state.editLabelItem.labelObj[key].parentColor = (_d = choiceTypes[key]) == null ? void 0 : _d.parentColor;
294
+ state.editLabelItem.labelObj[key].allowCreateByPersonal = (_c2 = choiceTypes[key]) == null ? void 0 : _c2.allowCreateByPersonal;
295
+ state.editLabelItem.labelObj[key].parentColor = (_d2 = choiceTypes[key]) == null ? void 0 : _d2.parentColor;
296
296
  }
297
297
  } else {
298
- state.editLabelItem.labelObj[key].multipleChoice = (_e = choiceTypes[key]) == null ? void 0 : _e.multipleChoice;
299
- state.editLabelItem.labelObj[key].allowCreateByPersonal = (_f = choiceTypes[key]) == null ? void 0 : _f.allowCreateByPersonal;
298
+ state.editLabelItem.labelObj[key].multipleChoice = (_e2 = choiceTypes[key]) == null ? void 0 : _e2.multipleChoice;
299
+ state.editLabelItem.labelObj[key].allowCreateByPersonal = (_f2 = choiceTypes[key]) == null ? void 0 : _f2.allowCreateByPersonal;
300
300
  state.editLabelItem.labelObj[key].parentColor = (_g = choiceTypes[key]) == null ? void 0 : _g.parentColor;
301
301
  }
302
302
  });
@@ -357,13 +357,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
357
357
  deep: true
358
358
  });
359
359
  return (_ctx, _cache) => {
360
- var _a2, _b2;
360
+ var _a2, _b2, _c2, _d2, _e2, _f2;
361
361
  return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [!__props.explicit ? (openBlock(), createBlock(unref(NSpace), {
362
362
  key: 0,
363
363
  align: "center"
364
364
  }, {
365
365
  default: withCtx(() => {
366
- var _a3;
366
+ var _a3, _b3, _c3;
367
367
  return [(openBlock(true), createElementBlock(Fragment, null, renderList(state.labelSelectedList, (v) => {
368
368
  return openBlock(), createBlock(unref(NTag), {
369
369
  bordered: false,
@@ -391,7 +391,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
391
391
  }, [createVNode(unref(NIcon), {
392
392
  class: "add-icon",
393
393
  component: unref(AddCircleOutline)
394
- }, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.279")) || "\u65B0\u589E")], 2)), [[vShow, unref(item_is_edit)]]) : createCommentVNode("v-if", true)];
394
+ }, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.279")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.279")) || "\u65B0\u589E")], 2)), [[vShow, unref(item_is_edit)]]) : createCommentVNode("v-if", true)];
395
395
  }),
396
396
  _: 1
397
397
  })) : createCommentVNode("v-if", true), __props.sourceType == "form" && state.commonLabelList.length && unref(item_is_edit) && !__props.explicit ? (openBlock(), createBlock(unref(NSpace), {
@@ -443,8 +443,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
443
443
  "mask-closable": false,
444
444
  "close-on-esc": false,
445
445
  "show-icon": false,
446
- "negative-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88",
447
- "positive-text": ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.27")) || "\u786E\u5B9A",
446
+ "negative-text": ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88",
447
+ "positive-text": ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.27")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.27")) || "\u786E\u5B9A",
448
448
  style: normalizeStyle({
449
449
  width: state.modalWidth
450
450
  })
@@ -2,7 +2,7 @@ import { createElementVNode, defineComponent, ref, watch, openBlock, createEleme
2
2
  import { NTag, NTooltip, NIcon, NButton, NInput } from 'naive-ui';
3
3
  import { Close, Add } from '@vicons/ionicons5';
4
4
 
5
- var _a, _b;
5
+ var _a, _b, _c, _d, _e, _f;
6
6
  const _hoisted_1 = {
7
7
  class: "edit-content"
8
8
  };
@@ -12,10 +12,10 @@ const _hoisted_2 = {
12
12
  };
13
13
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
14
14
  class: "label-disable-title"
15
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
15
+ }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
16
16
  const _hoisted_4 = /* @__PURE__ */ createElementVNode("p", {
17
17
  class: "label-disable-desc"
18
- }, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
18
+ }, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
19
19
  const _hoisted_5 = [_hoisted_3, _hoisted_4];
20
20
  const _hoisted_6 = {
21
21
  class: "label-content"
@@ -121,10 +121,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
121
121
  onClick: _cache[0] || (_cache[0] = ($event) => __props.handleAddLabel($event, __props.classifyItem))
122
122
  }, {
123
123
  default: withCtx(() => {
124
- var _a3;
124
+ var _a3, _b2, _c2;
125
125
  return [__props.classifyItem.addVal ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(__props.classifyItem.addVal), 1)) : (openBlock(), createElementBlock("span", _hoisted_8, [createVNode(unref(NIcon), {
126
126
  component: unref(Add)
127
- }, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.297")) || "\u6807\u7B7E")]))];
127
+ }, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.297")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.297")) || "\u6807\u7B7E")]))];
128
128
  }),
129
129
  _: 1
130
130
  }, 512)), [[vShow, !__props.classifyItem.showAdd]]) : createCommentVNode("v-if", true), createCommentVNode(" \u662F\u5426\u5141\u8BB8\u65B0\u589E\u4E2A\u4EBA\u6807\u7B7E allowCreateByPersonal "), __props.isEdit && !__props.classifyItem.isNoAdd && __props.sourceType != "guage" ? withDirectives((openBlock(), createBlock(unref(NInput), {
@@ -2,17 +2,17 @@ import { createElementVNode, defineComponent, ref, watch, openBlock, createEleme
2
2
  import { NAnchor, NAnchorLink } from 'naive-ui';
3
3
  import IhoLabelClassify from './iho-label-classify.vue.js';
4
4
 
5
- var _a, _b;
5
+ var _a, _b, _c, _d, _e, _f;
6
6
  const _hoisted_1 = {
7
7
  key: 0,
8
8
  class: "label-disable-wrap"
9
9
  };
10
10
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", {
11
11
  class: "label-disable-title"
12
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
12
+ }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
13
13
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
14
14
  class: "label-disable-desc"
15
- }, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
15
+ }, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
16
16
  const _hoisted_4 = [_hoisted_2, _hoisted_3];
17
17
  const _hoisted_5 = {
18
18
  style: {
@@ -4,7 +4,7 @@ import { CloseOutline, AddCircleOutline } from '@vicons/ionicons5';
4
4
  import { cloneDeep } from 'lodash-es';
5
5
  import IhoLabelFormContent from './IhoLabelFormContent.vue.js';
6
6
 
7
- var _a;
7
+ var _a, _b, _c;
8
8
  const _hoisted_1 = {
9
9
  class: "c-select-label"
10
10
  };
@@ -17,7 +17,7 @@ const _hoisted_4 = {
17
17
  key: 1,
18
18
  class: "outexplicit"
19
19
  };
20
- const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
20
+ const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.518")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.518")) || "\u9009\u62E9\u6807\u7B7E", -1);
21
21
  const _hoisted_6 = {
22
22
  class: "svg-wrap"
23
23
  };
@@ -114,7 +114,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
114
114
  deep: true
115
115
  });
116
116
  return (_ctx, _cache) => {
117
- var _a2, _b, _c;
117
+ var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i;
118
118
  return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [!__props.explicit ? (openBlock(), createElementBlock("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(outSelectedList.value, (v) => {
119
119
  return openBlock(), createElementBlock(Fragment, {
120
120
  key: `${v.classifyId}-${v.labelCode}`
@@ -165,7 +165,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
165
165
  }, [createVNode(unref(NIcon), {
166
166
  class: "add-icon",
167
167
  component: unref(AddCircleOutline)
168
- }, null, 8, ["component"]), createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), __props.explicit ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(IhoLabelFormContent, {
168
+ }, null, 8, ["component"]), createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.279")) || "\u65B0\u589E")])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), __props.explicit ? (openBlock(), createElementBlock("div", _hoisted_4, [createVNode(IhoLabelFormContent, {
169
169
  ref_key: "labelFormContentRef",
170
170
  ref: labelFormContentRef,
171
171
  categoryList: __props.categoryList,
@@ -186,8 +186,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
186
186
  "mask-closable": false,
187
187
  "close-on-esc": false,
188
188
  "show-icon": false,
189
- "negative-text": ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.28")) || "\u53D6\u6D88",
190
- "positive-text": ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.27")) || "\u786E\u5B9A",
189
+ "negative-text": ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.28")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.28")) || "\u53D6\u6D88",
190
+ "positive-text": ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.27")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.27")) || "\u786E\u5B9A",
191
191
  style: normalizeStyle({
192
192
  width: state.modalWidth
193
193
  })
@@ -1,7 +1,7 @@
1
1
  import { createElementVNode, defineComponent, ref, openBlock, createElementBlock, unref, Fragment, renderList, createBlock, normalizeStyle, withCtx, createVNode, toDisplayString, createCommentVNode } from 'vue';
2
2
  import { NTag, NTooltip } from 'naive-ui';
3
3
 
4
- var _a, _b;
4
+ var _a, _b, _c, _d, _e, _f;
5
5
  const _hoisted_1 = {
6
6
  class: "edit-content"
7
7
  };
@@ -11,10 +11,10 @@ const _hoisted_2 = {
11
11
  };
12
12
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
13
13
  class: "label-disable-title"
14
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
14
+ }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
15
15
  const _hoisted_4 = /* @__PURE__ */ createElementVNode("p", {
16
16
  class: "label-disable-desc"
17
- }, ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
17
+ }, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.517")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E", -1);
18
18
  const _hoisted_5 = [_hoisted_3, _hoisted_4];
19
19
  const _hoisted_6 = {
20
20
  key: 1,
@@ -8,7 +8,7 @@ import SearchMultiple from './components/SearchMultiple.vue.js';
8
8
  import SearchOrgAndStaff from './components/SearchOrgAndStaff.vue.js';
9
9
  import { InjectionSelectPersonEmits } from './constants/index.js';
10
10
 
11
- var _a, _b;
11
+ var _a, _b, _c, _d, _e, _f;
12
12
  const _hoisted_1 = {
13
13
  class: "search-box"
14
14
  };
@@ -36,11 +36,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  },
37
37
  searchPlaceholder: {
38
38
  type: String,
39
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
39
+ default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
40
40
  },
41
41
  searchButtonText: {
42
42
  type: String,
43
- default: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.36")) || "\u641C\u7D22"
43
+ default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.36")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.36")) || "\u641C\u7D22"
44
44
  },
45
45
  wordbook: {
46
46
  type: Object,
@@ -111,27 +111,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
111
111
  setup(__props, {
112
112
  expose
113
113
  }) {
114
- var _a2, _b2, _c, _d, _e, _f, _g;
114
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
115
115
  const props = __props;
116
116
  const searchFilterBase = {
117
117
  isOpen: false,
118
118
  multiple: false,
119
- customTitles: [((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.510")) || "\u8054\u7CFB\u4EBA", ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.511")) || "\u90E8\u95E8"],
119
+ customTitles: [((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.510")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.510")) || "\u8054\u7CFB\u4EBA", ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.511")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.511")) || "\u90E8\u95E8"],
120
120
  itemHeight: 250
121
121
  };
122
122
  const labelList = [{
123
123
  key: "main",
124
- label: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.512")) || "\u9009\u4EBA\u5458"
124
+ label: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.512")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.512")) || "\u9009\u4EBA\u5458"
125
125
  }, {
126
126
  key: "dept",
127
- label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.513")) || "\u9009\u79D1\u5BA4"
127
+ label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.513")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.513")) || "\u9009\u79D1\u5BA4"
128
128
  }, {
129
129
  key: "role",
130
- label: ((_e = window.getLanguageByCode) == null ? void 0 : _e.call(window, "10010.1.514")) || "\u9009\u89D2\u8272"
130
+ label: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.514")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.514")) || "\u9009\u89D2\u8272"
131
131
  }];
132
132
  const labelListName = {
133
- dept: ((_f = window.getLanguageByCode) == null ? void 0 : _f.call(window, "10010.1.202")) || "\u79D1\u5BA4",
134
- role: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.515")) || "\u89D2\u8272"
133
+ dept: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.202")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.202")) || "\u79D1\u5BA4",
134
+ role: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.515")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.515")) || "\u89D2\u8272"
135
135
  };
136
136
  const emit = inject(InjectionSelectPersonEmits);
137
137
  const keyword = ref("");
@@ -539,9 +539,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
539
539
  }
540
540
  function setCheckdWithAll(tree, checked) {
541
541
  var _a3;
542
- if (!props.onlyForwardCascade) {
543
- checkedKeys.value = [];
544
- }
545
542
  let newKeys = checkedKeys.value;
546
543
  for (let i = 0, len = tree.length; i < len; i++) {
547
544
  const item = tree[i];
@@ -552,7 +549,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
552
549
  remove(newKeys, (key) => [item.key].includes(key));
553
550
  }
554
551
  }
555
- if (((_a3 = item.children) == null ? void 0 : _a3.length) && props.onlyForwardCascade) {
552
+ if ((_a3 = item.children) == null ? void 0 : _a3.length) {
556
553
  const flattenKeys = getFlattenKeys(item.children);
557
554
  if (checked) {
558
555
  newKeys = union(newKeys, flattenKeys);
@@ -561,7 +558,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
561
558
  }
562
559
  }
563
560
  }
564
- checkedKeys.value = newKeys;
561
+ if (props.showSelectType) {
562
+ const curType = curSelectKey.value;
563
+ checkedKeys.value = checkedKeysMiddle[curType] = newKeys;
564
+ return;
565
+ } else {
566
+ checkedKeys.value = newKeys;
567
+ }
565
568
  }
566
569
  function checkedAllChange(checked) {
567
570
  setTreeCheckd(treeData.value, checked);
@@ -729,7 +732,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
729
732
  }
730
733
  }, {
731
734
  default: withCtx(() => {
732
- var _a3;
735
+ var _a3, _b3, _c3;
733
736
  return [createElementVNode("div", _hoisted_1, [createCommentVNode(" \u641C\u7D22\u5DE6\u4FA7\u8FC7\u6EE4\u7B5B\u9009\u63D2\u69FD "), renderSlot(_ctx.$slots, "filter"), createVNode(unref(NInputGroup), null, {
734
737
  default: withCtx(() => [createCommentVNode(" clearable "), createVNode(unref(NInput), {
735
738
  class: "search-input",
@@ -771,8 +774,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
771
774
  "onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
772
775
  }, {
773
776
  default: withCtx(() => {
774
- var _a4;
775
- return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.37")) || "\u5168\u9009")];
777
+ var _a4, _b4, _c4;
778
+ return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.37")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.37")) || "\u5168\u9009")];
776
779
  }),
777
780
  _: 1
778
781
  }, 8, ["checked"])), [[vShow, __props.forceShowSelectAll || allCheckedTreeKeys.value.length < 1e3]]) : createCommentVNode("v-if", true), createCommentVNode(" \u652F\u6301\u9009\u4EBA "), __props.searchInner && __props.multiple && isSearch.value && unref(checkStrategyResult) === "parent" ? (openBlock(), createBlock(SearchMultiple, {
@@ -791,7 +794,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
791
794
  onNotifyClear: notifySearchClear
792
795
  }, null, 8, ["treeData", "checkedKeys", "searchFilter", "isMultiple"])], 2112)) : (openBlock(), createElementBlock("div", _hoisted_3, [treeData.value.length === 0 ? (openBlock(), createBlock(unref(NEmpty), {
793
796
  key: 0,
794
- description: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
797
+ description: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.445")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
795
798
  })) : (openBlock(), createBlock(unref(NTree), mergeProps({
796
799
  key: 1,
797
800
  "virtual-scroll": "",
@@ -830,12 +833,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
830
833
  }
831
834
  }, {
832
835
  default: withCtx(() => {
833
- var _a3;
836
+ var _a3, _b3, _c3;
834
837
  return [__props.showCount ? (openBlock(), createElementBlock("span", _hoisted_4, "\u5DF2\u9009\u62E9\uFF1A" + toDisplayString(unref(caculateTagData).length), 1)) : createCommentVNode("v-if", true), __props.showClear ? (openBlock(), createElementBlock("span", {
835
838
  key: 1,
836
839
  class: "c-select-person__clear-btn",
837
840
  onClick: clearAll
838
- }, ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
841
+ }, ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.509")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
839
842
  }),
840
843
  _: 1
841
844
  }), createElementVNode("div", {
@@ -6,7 +6,7 @@ import { cloneDeep } from 'lodash-es';
6
6
  import { SearchTypeConfig } from './types/enums.js';
7
7
  import { InjectionSelectPersonEmits } from './constants/index.js';
8
8
 
9
- var _a, _b;
9
+ var _a, _b, _c, _d, _e, _f;
10
10
  const _hoisted_1 = {
11
11
  class: "select-type-tags"
12
12
  };
@@ -35,11 +35,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  },
36
36
  searchPlaceholder: {
37
37
  type: String,
38
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
38
+ default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.508")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.508")) || "\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22"
39
39
  },
40
40
  searchButtonText: {
41
41
  type: String,
42
- default: ((_b = window.getLanguageByCode) == null ? void 0 : _b.call(window, "10010.1.36")) || "\u641C\u7D22"
42
+ default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.36")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.36")) || "\u641C\u7D22"
43
43
  },
44
44
  wordbook: {
45
45
  type: Object,
@@ -235,7 +235,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
235
235
  return treeObjs;
236
236
  }
237
237
  function transformData(key, trees, parentNode, cb) {
238
- var _a2, _b2, _c, _d, _e;
238
+ var _a2, _b2, _c2, _d2, _e2;
239
239
  for (let index = 0, len = trees.length; index < len; index++) {
240
240
  const tree = trees[index];
241
241
  const curProps = props.switchTypeProps.find((itemProps) => itemProps.tabKey == key);
@@ -254,14 +254,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
254
254
  if (!tree.key) {
255
255
  tree.key = tree[curProps.wordbookChild.user_id_obj] || tree[curProps.wordbook.parent_id_obj] || Date.now();
256
256
  }
257
- const childrenKey = ((_c = curProps == null ? void 0 : curProps.wordbook) == null ? void 0 : _c.children) || "children";
258
- if ((_d = tree[childrenKey]) == null ? void 0 : _d.length) {
257
+ const childrenKey = ((_c2 = curProps == null ? void 0 : curProps.wordbook) == null ? void 0 : _c2.children) || "children";
258
+ if ((_d2 = tree[childrenKey]) == null ? void 0 : _d2.length) {
259
259
  const items = calculateRootItems(tree[childrenKey], []);
260
260
  tree.innerItemsNum = items.length;
261
261
  tree.innerLeafs = items;
262
262
  tree.children = transformData(key, tree[childrenKey], tree, cb);
263
263
  setDisabled(tree);
264
- } else if (((_e = tree[childrenKey]) == null ? void 0 : _e.length) === 0) {
264
+ } else if (((_e2 = tree[childrenKey]) == null ? void 0 : _e2.length) === 0) {
265
265
  Reflect.deleteProperty(tree, "children");
266
266
  }
267
267
  setAllCheckedKeys(tree, cb);
@@ -405,7 +405,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
405
405
  }
406
406
  }, {
407
407
  default: withCtx(() => {
408
- var _a2;
408
+ var _a2, _b2, _c2;
409
409
  return [createVNode(unref(NInputGroup), {
410
410
  style: {
411
411
  "margin-bottom": "12px"
@@ -451,13 +451,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
451
451
  "onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => checkedAll.value = $event), checkedAllChange]
452
452
  }, {
453
453
  default: withCtx(() => {
454
- var _a3;
455
- return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.37")) || "\u5168\u9009")];
454
+ var _a3, _b3, _c3;
455
+ return [createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.37")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.37")) || "\u5168\u9009")];
456
456
  }),
457
457
  _: 1
458
458
  }, 8, ["checked"])), [[vShow, __props.forceShowSelectAll || allCheckedTreeKeys.value.length < 1e3]]) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [treeData.value.length === 0 ? (openBlock(), createBlock(unref(NEmpty), {
459
459
  key: 0,
460
- description: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
460
+ description: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.445")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
461
461
  })) : (openBlock(), createBlock(unref(NTree), mergeProps({
462
462
  key: 1,
463
463
  "virtual-scroll": "",
@@ -496,12 +496,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
496
496
  }
497
497
  }, {
498
498
  default: withCtx(() => {
499
- var _a2;
499
+ var _a2, _b2, _c2;
500
500
  return [__props.showCount ? (openBlock(), createElementBlock("span", _hoisted_3, "\u5DF2\u9009\u62E9\uFF1A" + toDisplayString(checkedTagsMiddle.value.length), 1)) : createCommentVNode("v-if", true), __props.showClear ? (openBlock(), createElementBlock("span", {
501
501
  key: 1,
502
502
  class: "c-select-person__clear-btn",
503
503
  onClick: clearAll
504
- }, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
504
+ }, ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.509")) || "\u6E05\u7A7A")) : createCommentVNode("v-if", true)];
505
505
  }),
506
506
  _: 1
507
507
  }), createElementVNode("div", _hoisted_4, [(openBlock(true), createElementBlock(Fragment, null, renderList(checkedTagsMiddle.value, (tag) => {
@@ -222,7 +222,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
222
222
  immediate: true
223
223
  });
224
224
  return (_ctx, _cache) => {
225
- var _a2, _b, _c;
225
+ var _a2, _b, _c, _d, _e;
226
226
  return openBlock(), createElementBlock("div", _hoisted_1, [__props.treeData.length > 0 ? (openBlock(), createElementBlock(Fragment, {
227
227
  key: 0
228
228
  }, [unref(staffDataRef).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [createElementVNode("h4", _hoisted_3, toDisplayString((_a2 = __props.searchFilter) == null ? void 0 : _a2.customTitles[0]), 1), createElementVNode("section", {
@@ -260,7 +260,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
260
260
  }, [createElementVNode("span", _hoisted_11, toDisplayString(tree.data.title) + "(" + toDisplayString(tree.data.innerItemsNum) + "\u4EBA)", 1), createElementVNode("span", _hoisted_12, toDisplayString(tree.data.tempTitle), 1)], 10, _hoisted_10)]);
261
261
  }), 128))], 4)], 36)])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(unref(NEmpty), {
262
262
  key: 1,
263
- description: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
263
+ description: ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || ((_e = (_d = window.top) == null ? void 0 : _d.getLanguageByCode) == null ? void 0 : _e.call(_d, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
264
264
  }))]);
265
265
  };
266
266
  }