cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.2

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 (251) hide show
  1. package/es/components/audio-sdk/index.d.ts +173 -146
  2. package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
  3. package/es/components/audio-sdk/src/Index.vue2.js +131 -53
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
  5. package/es/components/audio-sdk/src/audioSDK.js +123 -42
  6. package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
  7. package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
  8. package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
  9. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
  10. package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
  11. package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
  12. package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
  13. package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
  14. package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
  15. package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
  16. package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
  17. package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
  18. package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
  19. package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
  20. package/es/components/audio-sdk/src/types/index.d.ts +42 -0
  21. package/es/components/audio-sdk/src/types/index.js +10 -0
  22. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
  23. package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
  24. package/es/components/audio-sdk/style/index.css +1 -1
  25. package/es/components/base-search/src/index.vue2.js +30 -18
  26. package/es/components/big-table/src/BigTable.vue2.js +191 -133
  27. package/es/components/big-table/src/components/NoData.vue2.js +16 -4
  28. package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
  29. package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
  30. package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
  31. package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
  32. package/es/components/big-table/src/components/input-button.vue2.js +8 -4
  33. package/es/components/big-table/src/hooks/useNestTable.js +18 -4
  34. package/es/components/big-table/src/hooks/useTableParse.js +16 -3
  35. package/es/components/body-select/src/index.vue2.js +24 -4
  36. package/es/components/button-print/index.d.ts +12 -4
  37. package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
  38. package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
  39. package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
  40. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
  41. package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
  42. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
  43. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
  44. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
  45. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
  46. package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
  47. package/es/components/button-print/src/components/Preview.vue2.js +14 -4
  48. package/es/components/button-print/src/utils/dialog.js +26 -8
  49. package/es/components/button-print/src/utils/print.d.ts +5 -5
  50. package/es/components/button-print/src/utils/print.js +108 -21
  51. package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
  52. package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
  53. package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
  54. package/es/components/card-render/src/components/index.d.ts +23 -23
  55. package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
  56. package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
  57. package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
  58. package/es/components/classification/src/index.vue2.js +261 -69
  59. package/es/components/default-page/src/constants/index.js +144 -19
  60. package/es/components/default-page/src/index.vue2.js +8 -2
  61. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
  62. package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
  63. package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
  64. package/es/components/expand-field/src/components/form.vue2.js +783 -412
  65. package/es/components/expand-field/src/index.vue2.js +88 -22
  66. package/es/components/expand-field/src/utils/constant.js +88 -12
  67. package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
  68. package/es/components/fabric-chart/src/constants/index.js +72 -10
  69. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
  70. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
  71. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
  72. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
  73. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
  74. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  75. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
  76. package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
  77. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
  78. package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
  79. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  80. package/es/components/fabric-chart/src/utils/index.js +2 -2
  81. package/es/components/field-editor/src/fields.js +232 -30
  82. package/es/components/field-set/src/FieldColor.vue.d.ts +2 -2
  83. package/es/components/field-set/src/FieldColor.vue2.js +88 -21
  84. package/es/components/field-set/src/FieldFilter.vue.d.ts +2 -2
  85. package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
  86. package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
  87. package/es/components/field-set/src/FieldSet.vue2.js +210 -57
  88. package/es/components/field-set/src/Index.vue2.js +40 -6
  89. package/es/components/field-set/src/TableStyle.vue2.js +48 -13
  90. package/es/components/field-set/src/components/condition.vue2.js +26 -10
  91. package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
  92. package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
  93. package/es/components/field-set/src/components/table-row.vue.d.ts +2 -2
  94. package/es/components/field-set/src/components/table-row.vue2.js +123 -42
  95. package/es/components/field-set/src/constants/filter.js +328 -42
  96. package/es/components/field-set/src/constants/index.js +504 -64
  97. package/es/components/field-set/src/utils/index.js +1 -1
  98. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
  99. package/es/components/form-config/src/constants/index.js +80 -11
  100. package/es/components/form-config/src/hooks/useLocale.js +240 -31
  101. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
  102. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
  103. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
  104. package/es/components/form-render/src/components/renderer/input.js +3 -2
  105. package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
  106. package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
  107. package/es/components/form-render/src/components/renderer/switch.js +24 -4
  108. package/es/components/form-render/src/components/renderer/textarea.js +5 -4
  109. package/es/components/form-render/src/utils/schema.js +26 -6
  110. package/es/components/iho-chat/src/Index.vue2.js +42 -38
  111. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
  112. package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
  113. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
  114. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
  115. package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
  116. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
  117. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
  118. package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
  119. package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
  120. package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
  121. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
  122. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
  123. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +66 -11
  124. package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
  125. package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
  126. package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
  127. package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
  128. package/es/components/iho-chat/src/utils/index.js +79 -14
  129. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
  130. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
  131. package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
  132. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  133. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
  134. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
  135. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
  136. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  138. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
  139. package/es/components/index.css +1 -1
  140. package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
  141. package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
  142. package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
  143. package/es/components/map/src/Map.vue2.js +8 -4
  144. package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
  145. package/es/components/quick-search/src/index.vue2.js +176 -131
  146. package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
  147. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
  148. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
  149. package/es/components/scale-view/src/ScaleView.vue2.js +16 -8
  150. package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
  151. package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
  152. package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
  153. package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
  154. package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
  155. package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
  156. package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
  157. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
  158. package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
  159. package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
  160. package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
  161. package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
  162. package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
  163. package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
  164. package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
  165. package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
  166. package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
  167. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
  168. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
  169. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
  170. package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
  171. package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
  172. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
  173. package/es/components/select-person/src/index.vue2.js +20 -7
  174. package/es/components/slider-tree/src/index.vue2.js +16 -3
  175. package/es/components/table-export-field/index.d.ts +1 -0
  176. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
  177. package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
  178. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
  179. package/es/components/table-export-field/src/index.vue.d.ts +1 -0
  180. package/es/components/table-export-field/src/index.vue2.js +28 -12
  181. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
  182. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
  183. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
  184. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
  185. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
  186. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
  187. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
  188. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
  189. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
  190. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
  191. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
  192. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
  193. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
  194. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
  195. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
  196. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
  197. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
  198. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
  199. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
  200. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
  201. package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
  202. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
  203. package/es/components/table-filter/src/tool/baseOptions.js +144 -19
  204. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
  205. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
  206. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
  207. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
  208. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  209. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  210. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  211. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  212. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  214. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  215. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  216. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  217. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  218. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  219. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  220. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  221. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  222. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  223. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  224. package/es/shared/assets/img/failure.png.js +1 -1
  225. package/es/shared/assets/img/no-permission.png.js +1 -1
  226. package/es/shared/assets/img/nodata.png.js +1 -1
  227. package/es/shared/assets/img/notfound.png.js +1 -1
  228. package/es/shared/assets/img/qr.png.js +1 -1
  229. package/es/shared/assets/img/success.png.js +1 -1
  230. package/es/shared/assets/img/table_style_2.png.js +1 -1
  231. package/es/shared/assets/img/video.png.js +1 -1
  232. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  233. package/es/shared/assets/img/xb_big.png.js +1 -1
  234. package/es/shared/assets/img/xb_small.png.js +1 -1
  235. package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
  236. package/es/shared/package.json.js +1 -1
  237. package/package.json +2 -2
  238. package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
  239. package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
  240. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  241. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  242. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  243. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  244. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  245. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  246. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  247. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  248. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  249. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  250. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  251. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -14,7 +14,6 @@ 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;
18
17
  const _hoisted_1 = {
19
18
  style: {
20
19
  "width": "100%"
@@ -41,7 +40,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
41
40
  },
42
41
  placeholder: {
43
42
  type: String,
44
- default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9"
43
+ default: function() {
44
+ var _a, _b, _c;
45
+ try {
46
+ return ((_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";
47
+ } catch (e) {
48
+ return "\u8BF7\u9009\u62E9";
49
+ }
50
+ }()
45
51
  },
46
52
  editPlaceholder: {
47
53
  type: String,
@@ -105,14 +111,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
105
111
  emitValue([]);
106
112
  }
107
113
  function onClick(evt) {
108
- var _a2;
109
- if (((_a2 = evt.target) == null ? void 0 : _a2.tagName) !== "INPUT")
114
+ var _a;
115
+ if (((_a = evt.target) == null ? void 0 : _a.tagName) !== "INPUT")
110
116
  return;
111
117
  openMenu();
112
118
  }
113
119
  const onKeydown = (evt) => {
114
- var _a2;
115
- if (((_a2 = evt.target) == null ? void 0 : _a2.tagName) === "INPUT" && evt.code === "Enter") {
120
+ var _a;
121
+ if (((_a = evt.target) == null ? void 0 : _a.tagName) === "INPUT" && evt.code === "Enter") {
116
122
  if (!show.value) {
117
123
  openMenu();
118
124
  return;
@@ -167,20 +173,20 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
167
173
  search();
168
174
  }
169
175
  async function closeMenu() {
170
- var _a2;
176
+ var _a;
171
177
  show.value = false;
172
- (_a2 = inputRef.value) == null ? void 0 : _a2.blur();
178
+ (_a = inputRef.value) == null ? void 0 : _a.blur();
173
179
  }
174
180
  const inputRef = ref();
175
181
  onClickOutside(inputRef, (evt) => {
176
- var _a2;
182
+ var _a;
177
183
  if (!show.value)
178
184
  return;
179
185
  const _evt = evt;
180
186
  if (!_evt.target)
181
187
  return closeMenu();
182
188
  if (isInPopper(_evt.target)) {
183
- (_a2 = inputRef.value) == null ? void 0 : _a2.focus();
189
+ (_a = inputRef.value) == null ? void 0 : _a.focus();
184
190
  return;
185
191
  }
186
192
  closeMenu();
@@ -204,7 +210,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
204
210
  provide(InjectionSearchCascaderLoadingNode, loadingNode);
205
211
  provide(InjectionSearchCascaderValue, computed(() => props.value));
206
212
  const search = useDebounceFn(async (payload, keyword) => {
207
- var _a2;
213
+ var _a;
208
214
  const {
209
215
  type,
210
216
  node,
@@ -224,7 +230,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
224
230
  } finally {
225
231
  loadingNode.value = null;
226
232
  await nextTick();
227
- (_a2 = popoverRef.value) == null ? void 0 : _a2.syncPosition();
233
+ (_a = popoverRef.value) == null ? void 0 : _a.syncPosition();
228
234
  }
229
235
  }, 400);
230
236
  const changeCursorNode = (node) => {
@@ -237,10 +243,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
237
243
  });
238
244
  expose({
239
245
  getWidth() {
240
- var _a2;
246
+ var _a;
241
247
  if (!inputRef.value)
242
248
  return 0;
243
- const ele = (_a2 = inputRef.value) == null ? void 0 : _a2.$el;
249
+ const ele = (_a = inputRef.value) == null ? void 0 : _a.$el;
244
250
  if (!ele)
245
251
  return;
246
252
  return ele.clientWidth;
@@ -4,17 +4,30 @@ 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;
8
7
  const _hoisted_1 = {
9
8
  key: 0,
10
9
  class: "label-disable-wrap"
11
10
  };
12
11
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", {
13
12
  class: "label-disable-title"
14
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
13
+ }, function() {
14
+ var _a, _b, _c;
15
+ try {
16
+ return ((_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";
17
+ } catch (e) {
18
+ return "\u65E0\u53EF\u9009\u6807\u7B7E";
19
+ }
20
+ }(), -1);
15
21
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
16
22
  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);
23
+ }, function() {
24
+ var _a, _b, _c;
25
+ try {
26
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.517")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E";
27
+ } catch (e) {
28
+ return "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E";
29
+ }
30
+ }(), -1);
18
31
  const _hoisted_4 = [_hoisted_2, _hoisted_3];
19
32
  const _hoisted_5 = {
20
33
  style: {
@@ -120,12 +133,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
120
133
  }, []);
121
134
  };
122
135
  const handleLabelInit = () => {
123
- var _a2;
136
+ var _a;
124
137
  if (props.isLock)
125
138
  return;
126
139
  const copy = JSON.parse(JSON.stringify(props.labelOptions));
127
140
  for (let key in copy) {
128
- let typeId = ((_a2 = copy[key]) == null ? void 0 : _a2.typeId) || "";
141
+ let typeId = ((_a = copy[key]) == null ? void 0 : _a.typeId) || "";
129
142
  Object.assign(copy[key], {
130
143
  curKey: `${key}_${typeId}}`
131
144
  });
@@ -146,8 +159,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
146
159
  if (typeof state.labelConfig === "object") {
147
160
  let keys = Object.keys(state.labelConfig || {});
148
161
  keys.forEach((k) => {
149
- var _a2;
150
- let itemList = ((_a2 = state.labelConfig[k]) == null ? void 0 : _a2.itemList) || [];
162
+ var _a;
163
+ let itemList = ((_a = state.labelConfig[k]) == null ? void 0 : _a.itemList) || [];
151
164
  if (itemList.length) {
152
165
  itemList.forEach((v) => {
153
166
  if (selectLabelId.value.includes(v.labelId)) {
@@ -193,8 +206,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
193
206
  item.showAdd = true;
194
207
  const nextInput = $event.target.nextElementSibling;
195
208
  nextTick(() => {
196
- var _a2;
197
- (_a2 = nextInput == null ? void 0 : nextInput.firstChild) == null ? void 0 : _a2.focus();
209
+ var _a;
210
+ (_a = nextInput == null ? void 0 : nextInput.firstChild) == null ? void 0 : _a.focus();
198
211
  });
199
212
  };
200
213
  const handleLabelForm = (cb) => {
@@ -215,7 +228,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
215
228
  v.showAdd = false;
216
229
  };
217
230
  const handleReqSaveLabel = async (v) => {
218
- var _a2;
231
+ var _a;
219
232
  let privateLabel = v.itemList.filter((item) => {
220
233
  return !(item.isPublic && item.isPublic == 1);
221
234
  });
@@ -227,7 +240,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
227
240
  return false;
228
241
  }
229
242
  let parentColor = "";
230
- if ((_a2 = v.itemList) == null ? void 0 : _a2.length) {
243
+ if ((_a = v.itemList) == null ? void 0 : _a.length) {
231
244
  parentColor = v.itemList[0].parentColor || v.parentColor || "";
232
245
  } else {
233
246
  parentColor = (v == null ? void 0 : v.parentColor) || "";
@@ -247,10 +260,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
247
260
  }
248
261
  };
249
262
  const handleLabelChange = (value, d, labelGroup, v) => {
250
- var _a2;
263
+ var _a;
251
264
  const list = labelGroup.itemList;
252
265
  const multipleChoice = labelGroup.multipleChoice;
253
- let selectedList = ((_a2 = state.labelSelectedEdit) == null ? void 0 : _a2.length) && vexutilsExpand.clone(state.labelSelectedEdit, true) || [];
266
+ let selectedList = ((_a = state.labelSelectedEdit) == null ? void 0 : _a.length) && vexutilsExpand.clone(state.labelSelectedEdit, true) || [];
254
267
  if (value) {
255
268
  if (selectedList.some((n) => n.labelId == d.labelId)) {
256
269
  return;
@@ -281,7 +294,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
281
294
  }
282
295
  };
283
296
  const handleDelLabel = async (v) => {
284
- var _a2;
285
297
  const {
286
298
  status
287
299
  } = await props.deleteLabel(v, props.item);
@@ -304,7 +316,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
304
316
  }
305
317
  emit("updateLabelData");
306
318
  } else {
307
- $message.warning(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.521")) || "\u5220\u9664\u5931\u8D25");
319
+ $message.warning(function() {
320
+ var _a, _b, _c;
321
+ try {
322
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.521")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.521")) || "\u5220\u9664\u5931\u8D25";
323
+ } catch (e) {
324
+ return "\u5220\u9664\u5931\u8D25";
325
+ }
326
+ }());
308
327
  }
309
328
  };
310
329
  const labelAnchorTabsOnChange = (key) => {
@@ -328,8 +347,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
328
347
  state.cacheAnchorKey = curLink;
329
348
  };
330
349
  const anchorGetContainer = () => {
331
- var _a2;
332
- return (_a2 = labelFormContent.value) == null ? void 0 : _a2.querySelector(".right-label-wrap");
350
+ var _a;
351
+ return (_a = labelFormContent.value) == null ? void 0 : _a.querySelector(".right-label-wrap");
333
352
  };
334
353
  const handleResetOptions = () => {
335
354
  };
@@ -337,8 +356,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
337
356
  if (typeof state.labelConfig === "object") {
338
357
  let keys = Object.keys(state.labelConfig || {});
339
358
  keys.forEach((k) => {
340
- var _a2;
341
- let itemList = ((_a2 = state.labelConfig[k]) == null ? void 0 : _a2.itemList) || [];
359
+ var _a;
360
+ let itemList = ((_a = state.labelConfig[k]) == null ? void 0 : _a.itemList) || [];
342
361
  if (itemList.length) {
343
362
  itemList.forEach((v) => {
344
363
  if (id == v.labelId) {
@@ -424,14 +443,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
424
443
  "total-right-label-wrap": __props.isChangeWindow
425
444
  }])
426
445
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(state.labelConfig, (v, k) => {
427
- var _a2, _b2;
428
446
  return openBlock(), createElementBlock("div", {
429
447
  key: k,
430
448
  class: "edit-label-content"
431
449
  }, [createElementVNode("div", {
432
450
  class: "edit-label",
433
451
  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, {
452
+ }, [createTextVNode(toDisplayString(k) + " ", 1), createElementVNode("span", _hoisted_8, "(" + toDisplayString(v.multipleChoice == 2 ? function() {
453
+ var _a, _b, _c;
454
+ try {
455
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.298")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.298")) || "\u5355\u9009";
456
+ } catch (e) {
457
+ return "\u5355\u9009";
458
+ }
459
+ }() : function() {
460
+ var _a, _b, _c;
461
+ try {
462
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.100")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.100")) || "\u591A\u9009";
463
+ } catch (e) {
464
+ return "\u591A\u9009";
465
+ }
466
+ }()) + ")", 1)], 8, _hoisted_7), createVNode(labelClassify, {
435
467
  classifyItem: v,
436
468
  handleLabelChange,
437
469
  handleLabelColor: unref(handleLabelColor),
@@ -5,16 +5,29 @@ 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;
9
8
  const _hoisted_1 = {
10
9
  class: "c-select-label"
11
10
  };
12
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.522")) || "\u5E38\u7528", -1);
11
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, function() {
12
+ var _a, _b, _c;
13
+ try {
14
+ return ((_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";
15
+ } catch (e) {
16
+ return "\u5E38\u7528";
17
+ }
18
+ }(), -1);
13
19
  const _hoisted_3 = {
14
20
  key: 2,
15
21
  class: "outexplicit"
16
22
  };
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);
23
+ const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, function() {
24
+ var _a, _b, _c;
25
+ try {
26
+ return ((_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";
27
+ } catch (e) {
28
+ return "\u9009\u62E9\u6807\u7B7E";
29
+ }
30
+ }(), -1);
18
31
  const _hoisted_5 = {
19
32
  class: "svg-wrap"
20
33
  };
@@ -104,11 +117,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
104
117
  return (item.is_edit == 1 || item.isShow) && !props.isDetail;
105
118
  });
106
119
  const curSelectedList = computed(() => {
107
- var _a2, _b2;
108
- let key = (_a2 = props.item) == null ? void 0 : _a2.val_key;
120
+ var _a, _b;
121
+ let key = (_a = props.item) == null ? void 0 : _a.val_key;
109
122
  if (!key || !props.selectedListObj)
110
123
  return props.selectedList;
111
- let rList = (_b2 = props.selectedListObj) == null ? void 0 : _b2[key];
124
+ let rList = (_b = props.selectedListObj) == null ? void 0 : _b[key];
112
125
  if (!rList)
113
126
  return props.selectedList;
114
127
  return rList;
@@ -122,13 +135,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
122
135
  });
123
136
  };
124
137
  const getCommonlabelsList = async (type) => {
125
- var _a2;
138
+ var _a;
126
139
  let {
127
140
  data = {}
128
141
  } = await props.queryCommonlabels(type) || {};
129
142
  if (data.result !== "SUCCESS")
130
143
  return;
131
- let commonLabelList = ((_a2 = data.map) == null ? void 0 : _a2.rows) || [];
144
+ let commonLabelList = ((_a = data.map) == null ? void 0 : _a.rows) || [];
132
145
  hadleCommonlabels(commonLabelList, state.labelSelectedList);
133
146
  state.commonLabelList = commonLabelList;
134
147
  };
@@ -171,10 +184,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
171
184
  handleGetLabelData(props.item);
172
185
  };
173
186
  const handleLabelCancel = () => {
174
- var _a2;
187
+ var _a;
175
188
  if (props.explicit)
176
189
  return;
177
- (_a2 = labelFormContentRef.value) == null ? void 0 : _a2.resetShowAdd();
190
+ (_a = labelFormContentRef.value) == null ? void 0 : _a.resetShowAdd();
178
191
  state.editLabelItem.showAdd = false;
179
192
  state.editLabelItem = {};
180
193
  state.inited = false;
@@ -192,8 +205,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
192
205
  state.maxHeight = state.modalHeight === "auto" ? "404px" : "none";
193
206
  };
194
207
  const handleSaveLabel = () => {
195
- var _a2;
196
- (_a2 = labelFormContentRef.value) == null ? void 0 : _a2.handleLabelForm((selectList) => {
208
+ var _a;
209
+ (_a = labelFormContentRef.value) == null ? void 0 : _a.handleLabelForm((selectList) => {
197
210
  emit("onChange", [...selectList]);
198
211
  state.labelSelectedList = selectList;
199
212
  hadleCommonlabels(state.commonLabelList, selectList);
@@ -256,7 +269,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
256
269
  state.multipleChoiceConfig = multipleChoiceConfig;
257
270
  }
258
271
  keys.forEach((key) => {
259
- var _a2, _b2, _c, _d, _e, _f, _g;
272
+ var _a, _b, _c, _d, _e, _f, _g;
260
273
  if (key === "typeList")
261
274
  return;
262
275
  if (key === "emptyTypes") {
@@ -284,13 +297,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
284
297
  itemList: false,
285
298
  typeId: "",
286
299
  typeName: key,
287
- allowCreateByPersonal: (_a2 = choiceTypes[key]) == null ? void 0 : _a2.allowCreateByPersonal
300
+ allowCreateByPersonal: (_a = choiceTypes[key]) == null ? void 0 : _a.allowCreateByPersonal
288
301
  },
289
302
  ...choiceTypes[key] || {}
290
303
  };
291
304
  } else {
292
305
  state.editLabelItem.labelObj[key].isNoAdd = true;
293
- state.editLabelItem.labelObj[key].multipleChoice = (_b2 = choiceTypes[key]) == null ? void 0 : _b2.multipleChoice;
306
+ state.editLabelItem.labelObj[key].multipleChoice = (_b = choiceTypes[key]) == null ? void 0 : _b.multipleChoice;
294
307
  state.editLabelItem.labelObj[key].allowCreateByPersonal = (_c = choiceTypes[key]) == null ? void 0 : _c.allowCreateByPersonal;
295
308
  state.editLabelItem.labelObj[key].parentColor = (_d = choiceTypes[key]) == null ? void 0 : _d.parentColor;
296
309
  }
@@ -310,8 +323,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
310
323
  const hanldeSetLabelItem = (id, state2) => {
311
324
  if (props.explicit) {
312
325
  nextTick(() => {
313
- var _a2;
314
- (_a2 = labelFormContentRef.value) == null ? void 0 : _a2.hanldeSetLabelItem(id, state2);
326
+ var _a;
327
+ (_a = labelFormContentRef.value) == null ? void 0 : _a.hanldeSetLabelItem(id, state2);
315
328
  });
316
329
  }
317
330
  };
@@ -346,8 +359,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
346
359
  deep: true
347
360
  });
348
361
  watch(() => {
349
- var _a2;
350
- return (_a2 = props.item) == null ? void 0 : _a2.label_type;
362
+ var _a;
363
+ return (_a = props.item) == null ? void 0 : _a.label_type;
351
364
  }, (val) => {
352
365
  if (!val || props.sourceType != "form")
353
366
  return;
@@ -357,42 +370,45 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
357
370
  deep: true
358
371
  });
359
372
  return (_ctx, _cache) => {
360
- var _a2, _b2;
361
373
  return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [!__props.explicit ? (openBlock(), createBlock(unref(NSpace), {
362
374
  key: 0,
363
375
  align: "center"
364
376
  }, {
365
- default: withCtx(() => {
366
- var _a3;
367
- return [(openBlock(true), createElementBlock(Fragment, null, renderList(state.labelSelectedList, (v) => {
368
- return openBlock(), createBlock(unref(NTag), {
369
- bordered: false,
370
- key: v.labelId,
371
- style: normalizeStyle(unref(handleLabelColor)(v, true)),
372
- closable: unref(item_is_edit) && !__props.isLock,
373
- onClose: ($event) => closeTag(v),
374
- size: "small"
377
+ default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(state.labelSelectedList, (v) => {
378
+ return openBlock(), createBlock(unref(NTag), {
379
+ bordered: false,
380
+ key: v.labelId,
381
+ style: normalizeStyle(unref(handleLabelColor)(v, true)),
382
+ closable: unref(item_is_edit) && !__props.isLock,
383
+ onClose: ($event) => closeTag(v),
384
+ size: "small"
385
+ }, {
386
+ default: withCtx(() => [createVNode(unref(NTooltip), {
387
+ placement: "top-start"
375
388
  }, {
376
- default: withCtx(() => [createVNode(unref(NTooltip), {
377
- placement: "top-start"
378
- }, {
379
- trigger: withCtx(() => [createElementVNode("span", null, toDisplayString(v.labelName), 1)]),
380
- default: withCtx(() => [createElementVNode("span", null, toDisplayString(v.labelName), 1)]),
381
- _: 2
382
- }, 1024)]),
389
+ trigger: withCtx(() => [createElementVNode("span", null, toDisplayString(v.labelName), 1)]),
390
+ default: withCtx(() => [createElementVNode("span", null, toDisplayString(v.labelName), 1)]),
383
391
  _: 2
384
- }, 1032, ["style", "closable", "onClose"]);
385
- }), 128)), !__props.explicit && !__props.isLock ? withDirectives((openBlock(), createElementBlock("span", {
386
- key: 0,
387
- class: normalizeClass(["form-add-icon form-add-icon-label", {
388
- disable: __props.isLock
389
- }]),
390
- onClick: handleEditLabel
391
- }, [createVNode(unref(NIcon), {
392
- class: "add-icon",
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)];
395
- }),
392
+ }, 1024)]),
393
+ _: 2
394
+ }, 1032, ["style", "closable", "onClose"]);
395
+ }), 128)), !__props.explicit && !__props.isLock ? withDirectives((openBlock(), createElementBlock("span", {
396
+ key: 0,
397
+ class: normalizeClass(["form-add-icon form-add-icon-label", {
398
+ disable: __props.isLock
399
+ }]),
400
+ onClick: handleEditLabel
401
+ }, [createVNode(unref(NIcon), {
402
+ class: "add-icon",
403
+ component: unref(AddCircleOutline)
404
+ }, null, 8, ["component"]), createTextVNode(function() {
405
+ var _a, _b, _c;
406
+ try {
407
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.279")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.279")) || "\u65B0\u589E";
408
+ } catch (e) {
409
+ return "\u65B0\u589E";
410
+ }
411
+ }())], 2)), [[vShow, unref(item_is_edit)]]) : createCommentVNode("v-if", true)]),
396
412
  _: 1
397
413
  })) : createCommentVNode("v-if", true), __props.sourceType == "form" && state.commonLabelList.length && unref(item_is_edit) && !__props.explicit ? (openBlock(), createBlock(unref(NSpace), {
398
414
  key: 1,
@@ -443,8 +459,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
443
459
  "mask-closable": false,
444
460
  "close-on-esc": false,
445
461
  "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",
462
+ "negative-text": function() {
463
+ var _a, _b, _c;
464
+ try {
465
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
466
+ } catch (e) {
467
+ return "\u53D6\u6D88";
468
+ }
469
+ }(),
470
+ "positive-text": function() {
471
+ var _a, _b, _c;
472
+ try {
473
+ return ((_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";
474
+ } catch (e) {
475
+ return "\u786E\u5B9A";
476
+ }
477
+ }(),
448
478
  style: normalizeStyle({
449
479
  width: state.modalWidth
450
480
  })
@@ -2,7 +2,6 @@ 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;
6
5
  const _hoisted_1 = {
7
6
  class: "edit-content"
8
7
  };
@@ -12,10 +11,24 @@ const _hoisted_2 = {
12
11
  };
13
12
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
14
13
  class: "label-disable-title"
15
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
14
+ }, function() {
15
+ var _a, _b, _c;
16
+ try {
17
+ return ((_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";
18
+ } catch (e) {
19
+ return "\u65E0\u53EF\u9009\u6807\u7B7E";
20
+ }
21
+ }(), -1);
16
22
  const _hoisted_4 = /* @__PURE__ */ createElementVNode("p", {
17
23
  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);
24
+ }, function() {
25
+ var _a, _b, _c;
26
+ try {
27
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.517")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E";
28
+ } catch (e) {
29
+ return "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E";
30
+ }
31
+ }(), -1);
19
32
  const _hoisted_5 = [_hoisted_3, _hoisted_4];
20
33
  const _hoisted_6 = {
21
34
  class: "label-content"
@@ -71,9 +84,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
71
84
  sourceType: null
72
85
  },
73
86
  setup(__props) {
74
- var _a2;
87
+ var _a;
75
88
  const props = __props;
76
- let itemList = ref(((_a2 = props.classifyItem) == null ? void 0 : _a2.itemList) || []);
89
+ let itemList = ref(((_a = props.classifyItem) == null ? void 0 : _a.itemList) || []);
77
90
  const onHandleLabelChange = (value, item, classifyItem) => {
78
91
  item.isSelect = value;
79
92
  props.handleLabelChange(value, item, classifyItem);
@@ -120,12 +133,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
120
133
  class: "label-add",
121
134
  onClick: _cache[0] || (_cache[0] = ($event) => __props.handleAddLabel($event, __props.classifyItem))
122
135
  }, {
123
- default: withCtx(() => {
124
- var _a3;
125
- return [__props.classifyItem.addVal ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(__props.classifyItem.addVal), 1)) : (openBlock(), createElementBlock("span", _hoisted_8, [createVNode(unref(NIcon), {
126
- component: unref(Add)
127
- }, null, 8, ["component"]), createTextVNode(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.297")) || "\u6807\u7B7E")]))];
128
- }),
136
+ default: withCtx(() => [__props.classifyItem.addVal ? (openBlock(), createElementBlock("span", _hoisted_7, toDisplayString(__props.classifyItem.addVal), 1)) : (openBlock(), createElementBlock("span", _hoisted_8, [createVNode(unref(NIcon), {
137
+ component: unref(Add)
138
+ }, null, 8, ["component"]), createTextVNode(function() {
139
+ var _a2, _b, _c;
140
+ try {
141
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.297")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.297")) || "\u6807\u7B7E";
142
+ } catch (e) {
143
+ return "\u6807\u7B7E";
144
+ }
145
+ }())]))]),
129
146
  _: 1
130
147
  }, 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), {
131
148
  key: 1,
@@ -2,17 +2,30 @@ 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;
6
5
  const _hoisted_1 = {
7
6
  key: 0,
8
7
  class: "label-disable-wrap"
9
8
  };
10
9
  const _hoisted_2 = /* @__PURE__ */ createElementVNode("p", {
11
10
  class: "label-disable-title"
12
- }, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.516")) || "\u65E0\u53EF\u9009\u6807\u7B7E", -1);
11
+ }, function() {
12
+ var _a, _b, _c;
13
+ try {
14
+ return ((_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";
15
+ } catch (e) {
16
+ return "\u65E0\u53EF\u9009\u6807\u7B7E";
17
+ }
18
+ }(), -1);
13
19
  const _hoisted_3 = /* @__PURE__ */ createElementVNode("p", {
14
20
  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);
21
+ }, function() {
22
+ var _a, _b, _c;
23
+ try {
24
+ return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.517")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.517")) || "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E";
25
+ } catch (e) {
26
+ return "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\u8FDB\u884C\u6807\u7B7E\u7BA1\u7406\u8BBE\u7F6E";
27
+ }
28
+ }(), -1);
16
29
  const _hoisted_4 = [_hoisted_2, _hoisted_3];
17
30
  const _hoisted_5 = {
18
31
  style: {
@@ -52,8 +65,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
52
65
  const curSelectedList = ref();
53
66
  const labelFormContent = ref(null);
54
67
  const anchorGetContainer = () => {
55
- var _a2;
56
- return (_a2 = labelFormContent.value) == null ? void 0 : _a2.querySelector(".right-label-wrap");
68
+ var _a;
69
+ return (_a = labelFormContent.value) == null ? void 0 : _a.querySelector(".right-label-wrap");
57
70
  };
58
71
  const handleAnchorClick = (e) => {
59
72
  e.preventDefault();