cnhis-design-vue 3.1.55-beta.16 → 3.1.55-beta.18

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 (348) hide show
  1. package/README.md +87 -87
  2. package/es/components/annotation-edit/index.d.ts +1 -1
  3. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +1 -1
  4. package/es/components/audio-sdk/src/audioSDK.d.ts +1 -1
  5. package/es/components/base-search/index.d.ts +1 -1
  6. package/es/components/base-search/src/index.vue.d.ts +4 -4
  7. package/es/components/big-table/index.d.ts +22 -22
  8. package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
  9. package/es/components/big-table/src/bigTableProps.d.ts +1 -1
  10. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
  11. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
  12. package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
  13. package/es/components/big-table/src/constants/index.d.ts +1 -1
  14. package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
  15. package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
  16. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  17. package/es/components/big-table/src/utils.d.ts +1 -1
  18. package/es/components/biunique-chat/index.d.ts +14 -14
  19. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
  20. package/es/components/biunique-chat/src/api/index.d.ts +1 -1
  21. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
  22. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
  23. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
  24. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
  25. package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
  26. package/es/components/body-select/index.d.ts +5 -5
  27. package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
  28. package/es/components/body-select/src/index.vue.d.ts +1 -1
  29. package/es/components/bpmn-workflow/index.d.ts +1 -1
  30. package/es/components/button-print/index.d.ts +21 -21
  31. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  32. package/es/components/button-print/src/api.d.ts +1 -1
  33. package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
  34. package/es/components/button-print/src/utils/dialog.d.ts +1 -1
  35. package/es/components/button-print/src/utils/print.d.ts +2 -2
  36. package/es/components/callback/index.d.ts +1 -1
  37. package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
  38. package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
  39. package/es/components/callback/src/components/render/popupMaps.d.ts +47 -47
  40. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
  41. package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
  42. package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
  43. package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
  44. package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
  45. package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
  46. package/es/components/classification/index.d.ts +20 -20
  47. package/es/components/classification/src/components/set-classification/index.vue.d.ts +13 -13
  48. package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
  49. package/es/components/classification/src/index.vue.d.ts +13 -13
  50. package/es/components/config-provider/index.d.ts +1 -1
  51. package/es/components/date-picker/index.d.ts +2 -2
  52. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  53. package/es/components/editor/index.d.ts +1 -1
  54. package/es/components/expand-field/index.d.ts +29 -29
  55. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
  56. package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
  57. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  58. package/es/components/expand-field/src/constants/index.d.ts +1 -1
  59. package/es/components/expand-field/src/index.vue.d.ts +2 -2
  60. package/es/components/fabric-chart/index.d.ts +6 -6
  61. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +1 -1
  62. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
  63. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
  64. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
  65. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
  66. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
  67. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +4 -4
  68. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
  69. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
  70. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
  71. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
  72. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
  73. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
  74. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
  75. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
  76. package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
  77. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
  78. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
  79. package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
  80. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
  81. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
  82. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
  83. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
  84. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
  85. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  86. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  87. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
  88. package/es/components/fabric-chart/src/interface.d.ts +2 -2
  89. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  90. package/es/components/field-set/index.d.ts +15 -15
  91. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  92. package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
  93. package/es/components/field-set/src/types/index.d.ts +1 -1
  94. package/es/components/field-set/src/utils/index.d.ts +3 -3
  95. package/es/components/form-config/index.d.ts +254 -247
  96. package/es/components/form-config/src/FormConfig.vue.d.ts +380 -373
  97. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -13
  98. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
  99. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +180 -177
  100. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  101. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
  102. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
  103. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
  104. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
  105. package/es/components/form-config/src/constants/index.d.ts +2 -2
  106. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
  107. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  108. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
  109. package/es/components/form-config/src/types/index.d.ts +2 -2
  110. package/es/components/form-config/src/utils/index.d.ts +3 -3
  111. package/es/components/form-render/index.d.ts +47 -47
  112. package/es/components/form-render/src/FormRender.vue.d.ts +10 -10
  113. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +70 -70
  114. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
  115. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  116. package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
  117. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
  118. package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
  119. package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
  120. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
  121. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
  122. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  123. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  124. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  125. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
  126. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
  127. package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
  128. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
  129. package/es/components/form-render/src/constants/index.d.ts +5 -5
  130. package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
  131. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
  132. package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
  133. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -2
  134. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  135. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +19 -19
  136. package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
  137. package/es/components/form-render/src/hooks/useFormEvent.d.ts +3 -3
  138. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +2 -3
  139. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  140. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
  141. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -4
  142. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  143. package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
  144. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  145. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
  146. package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
  147. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  148. package/es/components/form-render/src/types/index.d.ts +7 -5
  149. package/es/components/form-render/src/utils/business.d.ts +2 -2
  150. package/es/components/form-render/src/utils/dom.d.ts +1 -1
  151. package/es/components/form-render/src/utils/index.d.ts +1 -1
  152. package/es/components/form-render/src/utils/schema.d.ts +3 -3
  153. package/es/components/form-render/src/utils/schema.js +1 -1
  154. package/es/components/grid/index.d.ts +1 -1
  155. package/es/components/guide/src/renderer.d.ts +1 -1
  156. package/es/components/guide/src/types/index.d.ts +1 -1
  157. package/es/components/guide/src/useGuide.d.ts +1 -1
  158. package/es/components/guide/src/utils/index.d.ts +1 -1
  159. package/es/components/iho-table/index.d.ts +39 -39
  160. package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
  161. package/es/components/iho-table/src/constants/index.d.ts +5 -5
  162. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
  163. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
  164. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
  165. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
  166. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
  167. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
  168. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
  169. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
  170. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
  171. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
  172. package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
  173. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
  174. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
  175. package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
  176. package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
  177. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
  178. package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
  179. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  180. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
  181. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
  182. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
  183. package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
  184. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
  185. package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
  186. package/es/components/iho-table/src/plugins/index.d.ts +1 -1
  187. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
  188. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
  189. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
  190. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
  191. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
  192. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
  193. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
  194. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
  195. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
  196. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
  197. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
  198. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
  199. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
  200. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +2 -2
  201. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
  202. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
  203. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
  204. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
  205. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
  206. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
  207. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
  208. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
  209. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
  210. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
  211. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
  212. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
  213. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
  214. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
  215. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
  216. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
  217. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
  218. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
  219. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
  220. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
  221. package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
  222. package/es/components/iho-table/src/types/index.d.ts +3 -3
  223. package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
  224. package/es/components/iho-table/src/utils/index.d.ts +3 -3
  225. package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
  226. package/es/components/index.d.ts +3 -3
  227. package/es/components/info-header/index.d.ts +149 -149
  228. package/es/components/info-header/src/InfoHeader.vue.d.ts +163 -163
  229. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +6 -6
  230. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +9 -9
  231. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +93 -93
  232. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +14 -14
  233. package/es/components/info-header/src/constants/index.d.ts +1 -1
  234. package/es/components/info-header/src/types/index.d.ts +1 -1
  235. package/es/components/keyboard/index.d.ts +1 -1
  236. package/es/components/map/index.d.ts +1 -1
  237. package/es/components/map/src/Map.vue.d.ts +1 -1
  238. package/es/components/picture-clipper/index.d.ts +1 -1
  239. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
  240. package/es/components/quick-search/index.d.ts +1 -1
  241. package/es/components/quick-search/src/index.vue.d.ts +4 -4
  242. package/es/components/recommend-search/index.d.ts +25 -25
  243. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +7 -7
  244. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +3 -3
  245. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +2 -2
  246. package/es/components/scale-view/index.d.ts +1 -1
  247. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  248. package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
  249. package/es/components/scale-view/src/types/index.d.ts +1 -1
  250. package/es/components/search-cascader/index.d.ts +34 -34
  251. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
  252. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  253. package/es/components/search-cascader/src/constants/index.d.ts +1 -1
  254. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  255. package/es/components/select-label/index.d.ts +1 -1
  256. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  257. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  258. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  259. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
  260. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
  261. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
  262. package/es/components/select-label/src/index.vue.d.ts +19 -19
  263. package/es/components/select-person/index.d.ts +22 -22
  264. package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
  265. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  266. package/es/components/shortcut-provider/index.d.ts +1 -1
  267. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
  268. package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
  269. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
  270. package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
  271. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  272. package/es/components/shortcut-setter/index.d.ts +63 -62
  273. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +96 -95
  274. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
  275. package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
  276. package/es/components/slider-tree/index.d.ts +1 -1
  277. package/es/components/steps-wheel/index.d.ts +1 -1
  278. package/es/components/table-export-field/index.d.ts +3 -3
  279. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -4
  280. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
  281. package/es/components/table-export-field/src/constants/index.d.ts +1 -1
  282. package/es/components/table-export-field/src/index.vue.d.ts +1 -1
  283. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
  284. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
  285. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
  286. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
  287. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
  288. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  289. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
  290. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
  291. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  292. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
  293. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
  294. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
  295. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
  296. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
  297. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +4 -0
  298. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  299. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
  300. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -0
  301. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
  302. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +13 -9
  303. package/es/components/table-filter/src/constants/index.d.ts +1 -1
  304. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  305. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  306. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  307. package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
  308. package/es/components/table-filter/src/types/index.d.ts +1 -0
  309. package/es/components/time-line/index.d.ts +1 -1
  310. package/es/components/time-picker/index.d.ts +2 -2
  311. package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
  312. package/es/components/vod-chunk-upload/index.d.ts +1 -1
  313. package/es/env.d.ts +25 -25
  314. package/es/shared/assets/img/failure.png.js +1 -1
  315. package/es/shared/assets/img/no-permission.png.js +1 -1
  316. package/es/shared/assets/img/nodata.png.js +1 -1
  317. package/es/shared/assets/img/notfound.png.js +1 -1
  318. package/es/shared/assets/img/qr.png.js +1 -1
  319. package/es/shared/assets/img/success.png.js +1 -1
  320. package/es/shared/assets/img/video.png.js +1 -1
  321. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  322. package/es/shared/assets/img/xb_big.png.js +1 -1
  323. package/es/shared/assets/img/xb_small.png.js +1 -1
  324. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +1 -1
  325. package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
  326. package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
  327. package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
  328. package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
  329. package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
  330. package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +1 -1
  331. package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
  332. package/es/shared/hooks/useDateTime.d.ts +1 -1
  333. package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
  334. package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
  335. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
  336. package/es/shared/hooks/useTheme.d.ts +1 -1
  337. package/es/shared/package.json.js +1 -1
  338. package/es/shared/types/business.d.ts +1 -1
  339. package/es/shared/utils/business.d.ts +1 -1
  340. package/es/shared/utils/index.d.ts +1 -1
  341. package/package.json +2 -2
  342. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  343. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  344. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  345. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  346. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  347. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  348. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -502,7 +502,7 @@ export declare const componentMap: {
502
502
  default: string;
503
503
  };
504
504
  categoryList: {
505
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
505
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
506
506
  default: () => never[];
507
507
  };
508
508
  selectedList: {
@@ -1098,11 +1098,11 @@ export declare const componentMap: {
1098
1098
  }>;
1099
1099
  IhoSelectLabel: import("vue").DefineComponent<{
1100
1100
  selectedList: {
1101
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1101
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1102
1102
  default: () => never[];
1103
1103
  };
1104
1104
  categoryList: {
1105
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1105
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1106
1106
  default: () => never[];
1107
1107
  };
1108
1108
  explicit: {
@@ -1112,11 +1112,11 @@ export declare const componentMap: {
1112
1112
  }, {
1113
1113
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1114
1114
  selectedList: {
1115
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1115
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1116
1116
  default: () => never[];
1117
1117
  };
1118
1118
  categoryList: {
1119
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1119
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1120
1120
  default: () => never[];
1121
1121
  };
1122
1122
  explicit: {
@@ -1128,7 +1128,7 @@ export declare const componentMap: {
1128
1128
  }>>;
1129
1129
  emit: (event: "onChange", ...args: any[]) => void;
1130
1130
  labelFormContentRef: any;
1131
- outSelectedList: import("vue").Ref<import("../../../../../es/components/select-label").ISelectLabelItemType[] | undefined>;
1131
+ outSelectedList: import("vue").Ref<import("../../../../components/select-label").ISelectLabelItemType[] | undefined>;
1132
1132
  state: {
1133
1133
  labelVisible: boolean;
1134
1134
  isChangeWindow: boolean;
@@ -1136,8 +1136,8 @@ export declare const componentMap: {
1136
1136
  modalHeight: string;
1137
1137
  maxHeight: string;
1138
1138
  };
1139
- closeTag: (selectItem: import("../../../../../es/components/select-label").ISelectLabelItemType) => void;
1140
- formatActiveStyle: (activeItem: import("../../../../../es/components/select-label").ISelectLabelItemType) => {
1139
+ closeTag: (selectItem: import("../../../../components/select-label").ISelectLabelItemType) => void;
1140
+ formatActiveStyle: (activeItem: import("../../../../components/select-label").ISelectLabelItemType) => {
1141
1141
  background: string;
1142
1142
  color: string;
1143
1143
  borderColor: string;
@@ -1155,11 +1155,11 @@ export declare const componentMap: {
1155
1155
  AddCircleOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1156
1156
  IhoLabelFormContent: import("vue").DefineComponent<{
1157
1157
  selectedList: {
1158
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1158
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1159
1159
  default: () => never[];
1160
1160
  };
1161
1161
  categoryList: {
1162
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1162
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1163
1163
  default: () => never[];
1164
1164
  };
1165
1165
  isChangeWindow: {
@@ -1173,11 +1173,11 @@ export declare const componentMap: {
1173
1173
  }, {
1174
1174
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1175
1175
  selectedList: {
1176
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1176
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1177
1177
  default: () => never[];
1178
1178
  };
1179
1179
  categoryList: {
1180
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1180
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1181
1181
  default: () => never[];
1182
1182
  };
1183
1183
  isChangeWindow: {
@@ -1192,7 +1192,7 @@ export declare const componentMap: {
1192
1192
  onExplicitOnChange?: ((...args: any[]) => any) | undefined;
1193
1193
  }>>;
1194
1194
  emit: (event: "explicitOnChange", ...args: any[]) => void;
1195
- curSelectedList: import("vue").Ref<import("../../../../../es/components/select-label").ISelectLabelItemType[] | undefined>;
1195
+ curSelectedList: import("vue").Ref<import("../../../../components/select-label").ISelectLabelItemType[] | undefined>;
1196
1196
  labelFormContent: any;
1197
1197
  anchorGetContainer: () => any;
1198
1198
  handleAnchorClick: (e: Event) => void;
@@ -1208,11 +1208,11 @@ export declare const componentMap: {
1208
1208
  }>>, {}>;
1209
1209
  IhoLabelClassify: import("vue").DefineComponent<{
1210
1210
  categoryItem: {
1211
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType>;
1211
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
1212
1212
  default: () => {};
1213
1213
  };
1214
1214
  selectedList: {
1215
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1215
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1216
1216
  default: () => never[];
1217
1217
  };
1218
1218
  handleLabelChange: {
@@ -1223,11 +1223,11 @@ export declare const componentMap: {
1223
1223
  baseActiveColor: string;
1224
1224
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1225
1225
  categoryItem: {
1226
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType>;
1226
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
1227
1227
  default: () => {};
1228
1228
  };
1229
1229
  selectedList: {
1230
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1230
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1231
1231
  default: () => never[];
1232
1232
  };
1233
1233
  handleLabelChange: {
@@ -1240,8 +1240,8 @@ export declare const componentMap: {
1240
1240
  labelShowText: string;
1241
1241
  backgroundColor: string;
1242
1242
  }[]>;
1243
- showCheck: (label: import("../../../../../es/components/select-label").IhoTabLabelItemType) => boolean;
1244
- onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../../es/components/select-label").IhoTabLabelItemType | undefined, categoryItem?: import("../../../../../es/components/select-label").ICategoryLabelItemType | undefined) => void;
1243
+ showCheck: (label: import("../../../../components/select-label").IhoTabLabelItemType) => boolean;
1244
+ onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label").IhoTabLabelItemType | undefined, categoryItem?: import("../../../../components/select-label").ICategoryLabelItemType | undefined) => void;
1245
1245
  formatStyle: (item: any) => {
1246
1246
  background: any;
1247
1247
  borderColor: any;
@@ -1253,11 +1253,11 @@ export declare const componentMap: {
1253
1253
  NTooltip: any;
1254
1254
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1255
1255
  categoryItem: {
1256
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType>;
1256
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType>;
1257
1257
  default: () => {};
1258
1258
  };
1259
1259
  selectedList: {
1260
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1260
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1261
1261
  default: () => never[];
1262
1262
  };
1263
1263
  handleLabelChange: {
@@ -1265,17 +1265,17 @@ export declare const componentMap: {
1265
1265
  default: () => {};
1266
1266
  };
1267
1267
  }>>, {
1268
- selectedList: import("../../../../../es/components/select-label").ISelectLabelItemType[];
1268
+ selectedList: import("../../../../components/select-label").ISelectLabelItemType[];
1269
1269
  handleLabelChange: Function;
1270
- categoryItem: import("../../../../../es/components/select-label").ICategoryLabelItemType;
1270
+ categoryItem: import("../../../../components/select-label").ICategoryLabelItemType;
1271
1271
  }>;
1272
1272
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "explicitOnChange"[], "explicitOnChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1273
1273
  selectedList: {
1274
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1274
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1275
1275
  default: () => never[];
1276
1276
  };
1277
1277
  categoryList: {
1278
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1278
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1279
1279
  default: () => never[];
1280
1280
  };
1281
1281
  isChangeWindow: {
@@ -1289,18 +1289,18 @@ export declare const componentMap: {
1289
1289
  }>> & {
1290
1290
  onExplicitOnChange?: ((...args: any[]) => any) | undefined;
1291
1291
  }, {
1292
- categoryList: import("../../../../../es/components/select-label").ICategoryLabelItemType[];
1293
- selectedList: import("../../../../../es/components/select-label").ISelectLabelItemType[];
1292
+ categoryList: import("../../../../components/select-label").ICategoryLabelItemType[];
1293
+ selectedList: import("../../../../components/select-label").ISelectLabelItemType[];
1294
1294
  explicit: boolean;
1295
1295
  isChangeWindow: boolean;
1296
1296
  }>;
1297
1297
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1298
1298
  selectedList: {
1299
- type: import("vue").PropType<import("../../../../../es/components/select-label").ISelectLabelItemType[]>;
1299
+ type: import("vue").PropType<import("../../../../components/select-label").ISelectLabelItemType[]>;
1300
1300
  default: () => never[];
1301
1301
  };
1302
1302
  categoryList: {
1303
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1303
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1304
1304
  default: () => never[];
1305
1305
  };
1306
1306
  explicit: {
@@ -1310,8 +1310,8 @@ export declare const componentMap: {
1310
1310
  }>> & {
1311
1311
  onOnChange?: ((...args: any[]) => any) | undefined;
1312
1312
  }, {
1313
- categoryList: import("../../../../../es/components/select-label").ICategoryLabelItemType[];
1314
- selectedList: import("../../../../../es/components/select-label").ISelectLabelItemType[];
1313
+ categoryList: import("../../../../components/select-label").ICategoryLabelItemType[];
1314
+ selectedList: import("../../../../components/select-label").ISelectLabelItemType[];
1315
1315
  explicit: boolean;
1316
1316
  }>;
1317
1317
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1320,7 +1320,7 @@ export declare const componentMap: {
1320
1320
  default: string;
1321
1321
  };
1322
1322
  categoryList: {
1323
- type: import("vue").PropType<import("../../../../../es/components/select-label").ICategoryLabelItemType[]>;
1323
+ type: import("vue").PropType<import("../../../../components/select-label").ICategoryLabelItemType[]>;
1324
1324
  default: () => never[];
1325
1325
  };
1326
1326
  selectedList: {
@@ -1380,7 +1380,7 @@ export declare const componentMap: {
1380
1380
  }, {
1381
1381
  type: string;
1382
1382
  item: any;
1383
- categoryList: import("../../../../../es/components/select-label").ICategoryLabelItemType[];
1383
+ categoryList: import("../../../../components/select-label").ICategoryLabelItemType[];
1384
1384
  selectedList: any[];
1385
1385
  selectedListObj: Record<string, any>;
1386
1386
  isDetail: boolean;
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  export declare type FormSaveType = {
3
3
  hasCallbackItem: any;
4
4
  isCallback: boolean;
@@ -1,7 +1,7 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
3
3
  value: {
4
- type: import("vue").PropType<string | import("../../../es/shared/types").AnyObject[]>;
4
+ type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
5
5
  };
6
6
  show: {
7
7
  type: BooleanConstructor;
@@ -24,11 +24,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
24
24
  default: string;
25
25
  };
26
26
  options: {
27
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
27
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
28
28
  default: () => never[];
29
29
  };
30
30
  search: {
31
- type: import("vue").PropType<import("../../../es/shared/types").AnyFn<any[], any>>;
31
+ type: import("vue").PropType<import("../../shared/types").AnyFn<any[], any>>;
32
32
  };
33
33
  labelKey: {
34
34
  type: StringConstructor;
@@ -43,7 +43,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
43
43
  default: string;
44
44
  };
45
45
  beforeSetValue: {
46
- type: import("vue").PropType<(value: string | import("../../../es/shared/types").AnyObject[]) => void | (string | import("../../../es/shared/types").AnyObject[]) | Promise<string | import("../../../es/shared/types").AnyObject[]>>;
46
+ type: import("vue").PropType<(value: string | import("../../shared/types").AnyObject[]) => void | (string | import("../../shared/types").AnyObject[]) | Promise<string | import("../../shared/types").AnyObject[]>>;
47
47
  };
48
48
  menuWidth: {
49
49
  type: (NumberConstructor | StringConstructor)[];
@@ -51,15 +51,15 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
51
51
  };
52
52
  disabled: BooleanConstructor;
53
53
  inputProps: {
54
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
54
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
55
55
  };
56
56
  popperProps: {
57
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
57
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
58
58
  };
59
59
  }, {
60
60
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
61
61
  value: {
62
- type: import("vue").PropType<string | import("../../../es/shared/types").AnyObject[]>;
62
+ type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
63
63
  };
64
64
  show: {
65
65
  type: BooleanConstructor;
@@ -82,11 +82,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
82
82
  default: string;
83
83
  };
84
84
  options: {
85
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
85
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
86
86
  default: () => never[];
87
87
  };
88
88
  search: {
89
- type: import("vue").PropType<import("../../../es/shared/types").AnyFn<any[], any>>;
89
+ type: import("vue").PropType<import("../../shared/types").AnyFn<any[], any>>;
90
90
  };
91
91
  labelKey: {
92
92
  type: StringConstructor;
@@ -101,7 +101,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
101
101
  default: string;
102
102
  };
103
103
  beforeSetValue: {
104
- type: import("vue").PropType<(value: string | import("../../../es/shared/types").AnyObject[]) => void | (string | import("../../../es/shared/types").AnyObject[]) | Promise<string | import("../../../es/shared/types").AnyObject[]>>;
104
+ type: import("vue").PropType<(value: string | import("../../shared/types").AnyObject[]) => void | (string | import("../../shared/types").AnyObject[]) | Promise<string | import("../../shared/types").AnyObject[]>>;
105
105
  };
106
106
  menuWidth: {
107
107
  type: (NumberConstructor | StringConstructor)[];
@@ -109,10 +109,10 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
109
109
  };
110
110
  disabled: BooleanConstructor;
111
111
  inputProps: {
112
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
112
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
113
113
  };
114
114
  popperProps: {
115
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
115
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
116
116
  };
117
117
  }>> & {
118
118
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -121,7 +121,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
121
121
  }>>;
122
122
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
123
123
  emit: (event: "update:show" | "update:value" | "focus", ...args: any[]) => void;
124
- emitValue: (value: string | import("../../../es/shared/types").AnyObject[]) => void;
124
+ emitValue: (value: string | import("../../shared/types").AnyObject[]) => void;
125
125
  clearableRef: import("vue").ComputedRef<number | boolean>;
126
126
  onClear: () => void;
127
127
  onClick: (evt: Event) => void;
@@ -129,7 +129,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
129
129
  cssVariable: import("vue").ComputedRef<{
130
130
  '--menu-width': string | number;
131
131
  }>;
132
- eventBus: import("../../../es/shared/types").AnyObject;
132
+ eventBus: import("../../shared/types").AnyObject;
133
133
  uuid: string;
134
134
  show: import("vue").Ref<boolean> | import("vue").WritableComputedRef<boolean>;
135
135
  patternContent: import("vue").Ref<string>;
@@ -140,14 +140,14 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
140
140
  closeMenu: () => Promise<void>;
141
141
  inputRef: import("vue").Ref<any>;
142
142
  popoverRef: import("vue").Ref<any>;
143
- currentNode: import("vue").Ref<import("../../../es/shared/types").AnyObject | undefined>;
144
- cursorNode: import("vue").Ref<import("../../../es/shared/types").AnyObject | undefined>;
145
- loadingNode: import("vue").Ref<import("../../../es/shared/types").Nullable<import("../../../es/shared/types").AnyObject>>;
143
+ currentNode: import("vue").Ref<import("../../shared/types").AnyObject | undefined>;
144
+ cursorNode: import("vue").Ref<import("../../shared/types").AnyObject | undefined>;
145
+ loadingNode: import("vue").Ref<import("../../shared/types").Nullable<import("../../shared/types").AnyObject>>;
146
146
  search: (payload?: {
147
147
  type: "search" | "update";
148
- node: import("../../../es/shared/types").AnyObject;
148
+ node: import("../../shared/types").AnyObject;
149
149
  } | undefined, keyword?: string | undefined) => Promise<void>;
150
- changeCursorNode: (node: import("../../../es/shared/types").AnyObject) => void;
150
+ changeCursorNode: (node: import("../../shared/types").AnyObject) => void;
151
151
  NInput: any;
152
152
  NPopover: any;
153
153
  ClearIcon: any;
@@ -157,7 +157,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
157
157
  default: string;
158
158
  };
159
159
  options: {
160
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
160
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
161
161
  default: () => never[];
162
162
  };
163
163
  labelKey: {
@@ -169,10 +169,10 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
169
169
  default: string;
170
170
  };
171
171
  currentNode: {
172
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
172
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
173
173
  };
174
174
  cursorNode: {
175
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
175
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
176
176
  };
177
177
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("nodeClick" | "changeCursor")[], "nodeClick" | "changeCursor", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
178
178
  childKey: {
@@ -180,7 +180,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
180
180
  default: string;
181
181
  };
182
182
  options: {
183
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
183
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
184
184
  default: () => never[];
185
185
  };
186
186
  labelKey: {
@@ -192,23 +192,23 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
192
192
  default: string;
193
193
  };
194
194
  currentNode: {
195
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
195
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
196
196
  };
197
197
  cursorNode: {
198
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
198
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
199
199
  };
200
200
  }>> & {
201
201
  onNodeClick?: ((...args: any[]) => any) | undefined;
202
202
  onChangeCursor?: ((...args: any[]) => any) | undefined;
203
203
  }, {
204
- options: import("../../../es/shared/types").AnyObject[];
204
+ options: import("../../shared/types").AnyObject[];
205
205
  valueKey: string;
206
206
  childKey: string;
207
207
  labelKey: string;
208
208
  }>;
209
209
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:value" | "focus")[], "focus" | "update:show" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
210
210
  value: {
211
- type: import("vue").PropType<string | import("../../../es/shared/types").AnyObject[]>;
211
+ type: import("vue").PropType<string | import("../../shared/types").AnyObject[]>;
212
212
  };
213
213
  show: {
214
214
  type: BooleanConstructor;
@@ -231,11 +231,11 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
231
231
  default: string;
232
232
  };
233
233
  options: {
234
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
234
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
235
235
  default: () => never[];
236
236
  };
237
237
  search: {
238
- type: import("vue").PropType<import("../../../es/shared/types").AnyFn<any[], any>>;
238
+ type: import("vue").PropType<import("../../shared/types").AnyFn<any[], any>>;
239
239
  };
240
240
  labelKey: {
241
241
  type: StringConstructor;
@@ -250,7 +250,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
250
250
  default: string;
251
251
  };
252
252
  beforeSetValue: {
253
- type: import("vue").PropType<(value: string | import("../../../es/shared/types").AnyObject[]) => void | (string | import("../../../es/shared/types").AnyObject[]) | Promise<string | import("../../../es/shared/types").AnyObject[]>>;
253
+ type: import("vue").PropType<(value: string | import("../../shared/types").AnyObject[]) => void | (string | import("../../shared/types").AnyObject[]) | Promise<string | import("../../shared/types").AnyObject[]>>;
254
254
  };
255
255
  menuWidth: {
256
256
  type: (NumberConstructor | StringConstructor)[];
@@ -258,10 +258,10 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
258
258
  };
259
259
  disabled: BooleanConstructor;
260
260
  inputProps: {
261
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
261
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
262
262
  };
263
263
  popperProps: {
264
- type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
264
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
265
265
  };
266
266
  }>> & {
267
267
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -270,7 +270,7 @@ declare const SearchCascader: SFCWithInstall<import("vue").DefineComponent<{
270
270
  }, {
271
271
  disabled: boolean;
272
272
  show: boolean;
273
- options: import("../../../es/shared/types").AnyObject[];
273
+ options: import("../../shared/types").AnyObject[];
274
274
  placeholder: string;
275
275
  valueKey: string;
276
276
  clearable: boolean;
@@ -1,4 +1,4 @@
1
- import { AnyObject, AnyFn, Nullable } from '../../../../es/shared/types';
1
+ import { AnyObject, AnyFn, Nullable } from '../../../shared/types';
2
2
  import { PropType } from 'vue';
3
3
  declare type ValueType = string | AnyObject[];
4
4
  declare const _default: import("vue").DefineComponent<{
@@ -1,4 +1,4 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  import { PropType } from 'vue';
3
3
  export declare const SearchMenu: import("vue").DefineComponent<{
4
4
  childKey: {
@@ -1,4 +1,4 @@
1
- import { AnyObject, Nullable } from '../../../../../es/shared/types';
1
+ import { AnyObject, Nullable } from '../../../../shared/types';
2
2
  import { ComputedRef, InjectionKey, Ref } from 'vue';
3
3
  export declare const InjectionSearchCascaderLoadingNode: InjectionKey<Ref<Nullable<AnyObject>>>;
4
4
  export declare const InjectionSearchCascaderValue: InjectionKey<ComputedRef<AnyObject[] | string>>;
@@ -1,2 +1,2 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  export declare function getParentNodeList(node: AnyObject): never[];
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
3
3
  type: {
4
4
  type: StringConstructor;
@@ -1,4 +1,4 @@
1
- import { handleLabelColor } from '../../../../es/shared/utils/vexutils';
1
+ import { handleLabelColor } from '../../../shared/utils/vexutils';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  item: {
4
4
  type: null;
@@ -1 +1 @@
1
- import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as d,createCommentVNode as o,withDirectives as r,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let d=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(d.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;d=d.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}d.push(e)}else{const t=d.findIndex((t=>t.labelId==e.labelId));-1!=t&&d.splice(t,1)}_.labelSelectedEdit=[...d],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[d(W)?(n(),s("div",A,O)):o("v-if",!0),r(c("div",K,[c("div",j,[o(" 表单内嵌打开标签组件的样式 "),o(' <div v-if="explicit" class="explicit-continer">\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\n\t\t\t\t\t\t\t\t<span slot="tab">\n\t\t\t\t\t\t\t\t\t{{ i }}\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\n\t\t\t\t\t\t\t\t\t\t<labelClassify\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</n-tab-pane>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</n-tabs>\n\t\t\t\t</div> '),o("\n\t\t\t\t\t普通标签样式\n\t\t\t\t\tv-else\n\t\t\t\t\texplicit\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(d(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(d(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),o(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:d(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!d(W)]])],512))}});export{B as default};
1
+ import{defineComponent as t,ref as e,reactive as l,computed as a,watch as i,openBlock as n,createElementBlock as s,unref as r,createCommentVNode as d,withDirectives as o,createElementVNode as c,normalizeClass as b,createVNode as u,withCtx as p,Fragment as f,renderList as h,createBlock as y,createTextVNode as v,toDisplayString as m,vShow as g,nextTick as C}from"vue";import{useMessage as L,NAnchor as I,NAnchorLink as S}from"naive-ui";import E from"./components/label-classify.vue.js";import{handleLabelColor as w}from"../../../shared/utils/vexutils.js";import x from"../../../shared/utils/vexutilsExpand.js";const A={key:0,class:"label-disable-wrap"},O=[c("p",{class:"label-disable-title"},"无可选标签",-1),c("p",{class:"label-disable-desc"},"请联系管理员进行标签管理设置",-1)],K={style:{height:"100%"}},j={class:"label-wrap"},k=["id"],T={class:"edit-label-type"};var B=t({__name:"LabelFormContent",props:{item:{default:()=>({})},isEdit:{type:Boolean,default:!0},isLock:{type:Boolean,default:!1},labelSelectedList:null,isChangeWindow:{type:Boolean},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})},labelOptions:null,sourceType:{default:""},explicit:{type:Boolean,default:!1}},emits:["explicitOnChange","change","updateLabelData"],setup(t,{expose:B,emit:D}){const V=t,F=L(),P=e(null),_=l({editLabelItem:{},inited:!1,labelSelectedEdit:[],labelAnchorKey:"",cacheAnchorKey:"",labelConfig:{}});let N=e(0);const W=a((()=>{if(!_.inited)return!1;let t=_.labelConfig;return!t||Object.keys(t).every((e=>!t[e].itemList))})),$=a((()=>{let t=[].concat(..._.labelSelectedEdit,...V.labelSelectedList);return J(t,"labelId")})),q=a((()=>{const t=$.value||[];return Array.isArray(t)?t.map((t=>t.labelId)):[]})),J=(t,e)=>{let l={};return t.reduce(((t,a)=>(!l[a[e]]&&(l[a[e]]=t.push(a)),t)),[])},R=()=>{if(_.labelSelectedEdit=$.value,"object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((t=>{var e;let l=(null==(e=_.labelConfig[t])?void 0:e.itemList)||[];l.length&&l.forEach((t=>{q.value.includes(t.labelId)&&(t.isSelect=!0)}))}))}},z=(t,e)=>{if(!t)return;let l=Object.keys(t)||[];if(!l.length)return;let a=t[l[0]].curKey;if(e&&"string"==typeof e){let[i]=e.split("~"),n=l.find((e=>t[e]&&t[e].curKey&&t[e].curKey.includes(i)));n&&(a=t[n].curKey)}a&&Y(a)},G=(t,e)=>{e.showAdd=!0;const l=t.target.nextElementSibling;C((()=>{var t;null==(t=null==l?void 0:l.firstChild)||t.focus()}))},H=(t,e)=>{setTimeout((()=>{e.addVal?Q(e):e.showAdd=!1}),150)},M=(t,e)=>{e.addVal="",e.showAdd=!1},Q=async t=>{var e;if(!!t.itemList.filter((t=>!(t.isPublic&&1==t.isPublic))).find((e=>e.labelName===t.addVal)))return F.error("标签名称重复!"),!1;let l="";l=(null==(e=t.itemList)?void 0:e.length)?t.itemList[0].parentColor||t.parentColor||"":(null==t?void 0:t.parentColor)||"";const a={type:t.typeId,name:t.addVal,parentColor:l},{status:i}=await V.saveLabelItem(a,t);i&&(F.success("添加成功!"),D("updateLabelData"),t.showAdd=!1)},U=(t,e,l,a)=>{var i;const n=l.itemList,s=l.multipleChoice;let r=(null==(i=_.labelSelectedEdit)?void 0:i.length)&&x.clone(_.labelSelectedEdit,!0)||[];if(t){if(r.some((t=>t.labelId==e.labelId)))return;if(2==s){const{typeId:t,labelId:l}=e;r=r.filter((e=>e.typeId!==t)),n.forEach((t=>{t.labelId!==l&&(t.isSelect=!1)}))}r.push(e)}else{const t=r.findIndex((t=>t.labelId==e.labelId));-1!=t&&r.splice(t,1)}_.labelSelectedEdit=[...r],N.value++,V.explicit&&D("explicitOnChange",[..._.labelSelectedEdit])},X=async t=>{const{status:e}=await V.deleteLabel(t,V.item);if(e){F.success("删除成功!");for(const e in _.labelConfig){const l=_.labelConfig[e].itemList.findIndex((e=>e.labelId==t.labelId));-1!=l&&_.labelConfig[e].itemList.splice(l,1)}const e=_.labelSelectedEdit||[],l=V.labelSelectedList||[];if(e&&e.length){const l=e.findIndex((e=>e.labelId==t.labelId));-1!=l&&e.splice(l,1)}if(l&&l.length){const e=l.findIndex((e=>e.labelId==t.labelId));-1!=e&&l.splice(e,1),D("change",[...l],V.item)}D("updateLabelData")}else F.warning("删除失败")},Y=t=>{t&&setTimeout((()=>{let e,l="#"+t;e=P.value.querySelector("a[href='"+l+"']"),e&&e.click(),_.labelAnchorKey=t}),32)},Z=t=>{t.preventDefault()},tt=t=>{if(!t)return;let e=t.slice(1);_.cacheAnchorKey=e},et=()=>{var t;return null==(t=P.value)?void 0:t.querySelector(".right-label-wrap")};return i((()=>V.labelOptions),(t=>{t&&(()=>{var t;if(V.isLock)return;const e=JSON.parse(JSON.stringify(V.labelOptions));for(let l in e){let a=(null==(t=e[l])?void 0:t.typeId)||"";Object.assign(e[l],{curKey:`${l}_${a}}`})}_.labelConfig=e,C((()=>{let t;R(),V.explicit&&_.inited&&(t=_.labelAnchorKey),z(_.labelConfig,t),_.inited=!0}))})()}),{immediate:!0,deep:!0}),B({resetShowAdd:()=>{let{labelObj:t}=_.editLabelItem;if(t&&Object.keys(t).length)for(let e in t){let l=t[e];Object.assign(l,{showAdd:!1})}},handleLabelForm:t=>{t([..._.labelSelectedEdit||[]])},handleResetOptions:()=>{},hanldeSetLabelItem:(t,e)=>{if("object"==typeof _.labelConfig){Object.keys(_.labelConfig||{}).forEach((l=>{var a;let i=(null==(a=_.labelConfig[l])?void 0:a.itemList)||[];i.length&&i.forEach((l=>{t==l.labelId&&(l.isSelect=e)}))}))}if(!1===e&&Array.isArray(_.labelSelectedEdit)){const e=_.labelSelectedEdit.findIndex((e=>e.labelId==t));-1!=e&&_.labelSelectedEdit.splice(e,1)}}}),(e,l)=>(n(),s("div",{class:"c-label-form-content",ref_key:"labelFormContent",ref:P},[r(W)?(n(),s("div",A,O)):d("v-if",!0),o(c("div",K,[c("div",j,[d(" 表单内嵌打开标签组件的样式 "),d(' <div v-if="explicit" class="explicit-continer">\r\n\t\t\t\t\t<n-tabs :value="state.labelAnchorKey" type="card" @change="labelAnchorTabsOnChange" tab-position="top">\r\n\t\t\t\t\t\t<template v-for="(v, i) in state.labelConfig">\r\n\t\t\t\t\t\t\t<n-tab-pane :name="v.curKey">\r\n\t\t\t\t\t\t\t\t<span slot="tab">\r\n\t\t\t\t\t\t\t\t\t{{ i }}\r\n\t\t\t\t\t\t\t\t\t<span class="edit-label-type">({{ v.multipleChoice == 2 ? \'单\' : \'多\' }}选)</span>\r\n\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t<div class="explicit-label-wrap left-label-wrap">\r\n\t\t\t\t\t\t\t\t\t<div class="edit-label-content">\r\n\t\t\t\t\t\t\t\t\t\t<labelClassify\r\n\t\t\t\t\t\t\t\t\t\t\t:classifyItem="v"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelChange="handleLabelChange"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleLabelColor="handleLabelColor"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleDelLabel="handleDelLabel"\r\n\t\t\t\t\t\t\t\t\t\t\t:hanldeBlur="hanldeBlur"\r\n\t\t\t\t\t\t\t\t\t\t\t:handleAddLabel="handleAddLabel"\r\n\t\t\t\t\t\t\t\t\t\t\t:clearaddVal="clearaddVal"\r\n\t\t\t\t\t\t\t\t\t\t\t:isEdit="isEdit"\r\n\t\t\t\t\t\t\t\t\t\t\t:sourceType="sourceType"\r\n\t\t\t\t\t\t\t\t\t\t/>\r\n\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t</n-tab-pane>\r\n\t\t\t\t\t\t</template>\r\n\t\t\t\t\t</n-tabs>\r\n\t\t\t\t</div> '),d("\r\n\t\t\t\t\t普通标签样式\r\n\t\t\t\t\tv-else\r\n\t\t\t\t\texplicit\r\n\t\t\t\t "),c("div",{class:b(["left-label-wrap",{"total-left-label-wrap":t.isChangeWindow}])},[u(r(I),{"offset-target":et,type:"block",onClick:Z,onChange:tt},{default:p((()=>[(n(!0),s(f,null,h(_.labelConfig,((t,e)=>(n(),y(r(S),{href:`#${t.curKey}`,title:String(e)},null,8,["href","title"])))),256))])),_:1})],2),d(' v-if="!explicit" '),c("div",{class:b(["right-label-wrap",{"total-right-label-wrap":t.isChangeWindow}])},[(n(!0),s(f,null,h(_.labelConfig,((e,l)=>(n(),s("div",{key:l,class:"edit-label-content"},[c("div",{class:"edit-label",id:e.curKey},[v(m(l)+" ",1),c("span",T,"("+m(2==e.multipleChoice?"单":"多")+"选)",1)],8,k),u(E,{classifyItem:e,handleLabelChange:U,handleLabelColor:r(w),handleDelLabel:X,hanldeBlur:H,handleAddLabel:G,clearaddVal:M,isEdit:t.isEdit,sourceType:t.sourceType},null,8,["classifyItem","handleLabelColor","isEdit","sourceType"])])))),128))],2)])],512),[[g,!r(W)]])],512))}});export{B as default};
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { handleLabelColor } from '../../../../es/shared/utils/vexutils';
2
+ import { handleLabelColor } from '../../../shared/utils/vexutils';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  selectedList: {
5
5
  type: PropType<any[]>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { ICategoryLabelItemType, ISelectLabelItemType } from '../../../../../es/components/select-label/src/types';
2
+ import { ICategoryLabelItemType, ISelectLabelItemType } from '../../../../components/select-label/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  selectedList: {
5
5
  type: PropType<ISelectLabelItemType[]>;
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<{
87
87
  labelShowText: string;
88
88
  backgroundColor: string;
89
89
  }[]>;
90
- showCheck: (label: import("../../../../../es/components/select-label/src/types").IhoTabLabelItemType) => boolean;
91
- onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../../es/components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
90
+ showCheck: (label: import("../../../../components/select-label/src/types").IhoTabLabelItemType) => boolean;
91
+ onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
92
92
  formatStyle: (item: any) => {
93
93
  background: any;
94
94
  borderColor: any;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { ICategoryLabelItemType, ISelectLabelItemType } from '../../../../../es/components/select-label/src/types';
2
+ import { ICategoryLabelItemType, ISelectLabelItemType } from '../../../../components/select-label/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  selectedList: {
5
5
  type: PropType<ISelectLabelItemType[]>;
@@ -144,8 +144,8 @@ declare const _default: import("vue").DefineComponent<{
144
144
  labelShowText: string;
145
145
  backgroundColor: string;
146
146
  }[]>;
147
- showCheck: (label: import("../../../../../es/components/select-label/src/types").IhoTabLabelItemType) => boolean;
148
- onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../../es/components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
147
+ showCheck: (label: import("../../../../components/select-label/src/types").IhoTabLabelItemType) => boolean;
148
+ onHandleLabelChange: (isSelect?: boolean | undefined, item?: import("../../../../components/select-label/src/types").IhoTabLabelItemType | undefined, categoryItem?: ICategoryLabelItemType | undefined) => void;
149
149
  formatStyle: (item: any) => {
150
150
  background: any;
151
151
  borderColor: any;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { ICategoryLabelItemType, ISelectLabelItemType, IhoTabLabelItemType } from '../../../../../es/components/select-label/src/types';
2
+ import { ICategoryLabelItemType, ISelectLabelItemType, IhoTabLabelItemType } from '../../../../components/select-label/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  categoryItem: {
5
5
  type: PropType<ICategoryLabelItemType>;