cnhis-design-vue 3.2.5-release.4 → 3.2.6-beta.0

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 (319) hide show
  1. package/es/components/annotation-edit/src/type.d.ts +1 -1
  2. package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +1 -1
  3. package/es/components/big-table/index.d.ts +6 -56
  4. package/es/components/big-table/src/BigTable.vue.d.ts +6 -56
  5. package/es/components/big-table/src/components/edit-form/edit-select.d.ts +1 -1
  6. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +4 -4
  7. package/es/components/big-table/src/hooks/useEdit.d.ts +27 -27
  8. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  9. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/BpmnRenderer.d.ts +1 -1
  10. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomContextPadProvider.d.ts +1 -1
  11. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomPalette.d.ts +1 -1
  12. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRenderer.d.ts +1 -1
  13. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/CustomRules.d.ts +1 -1
  14. package/es/components/bpmn-workflow/src/custom/customModeler/customBpmn/index.d.ts +13 -13
  15. package/es/components/bpmn-workflow/src/custom/customOtherModule/CustomPopupMenu.d.ts +2 -2
  16. package/es/components/bpmn-workflow/src/custom/customOtherModule/customViewerRenderer.d.ts +9 -9
  17. package/es/components/bpmn-workflow/src/custom/customOtherModule/zoomScroll.d.ts +2 -2
  18. package/es/components/button-print/index.d.ts +13 -2917
  19. package/es/components/button-print/src/ButtonPrint.vue.d.ts +13 -2917
  20. package/es/components/button-print/src/components/EditFormat.vue.d.ts +4 -1162
  21. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +6 -1458
  22. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +5 -1457
  23. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -1457
  24. package/es/components/calendar/index.d.ts +4 -4
  25. package/es/components/calendar/src/Calendar.vue.d.ts +4 -4
  26. package/es/components/calendar/src/types/index.d.ts +1 -1
  27. package/es/components/callback/src/components/dialog/drawer.vue.d.ts +2 -179
  28. package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
  29. package/es/components/callback/src/components/render/popupMaps.d.ts +120 -1701
  30. package/es/components/callback/src/types/index.d.ts +1 -1
  31. package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +2 -2
  32. package/es/components/card-reader-sdk/src/constants/index.d.ts +56 -56
  33. package/es/components/card-reader-sdk/src/utils/ensureUID2IdCard.d.ts +1 -1
  34. package/es/components/classification/index.d.ts +4 -14
  35. package/es/components/classification/src/components/search-filter/index.vue.d.ts +24 -34
  36. package/es/components/classification/src/components/set-classification/index.vue.d.ts +26 -36
  37. package/es/components/classification/src/components/table-modal/index.vue.d.ts +4 -1
  38. package/es/components/classification/src/index.vue.d.ts +4 -14
  39. package/es/components/config-provider/src/interface.d.ts +2 -2
  40. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  41. package/es/components/drag-scroll/src/types.d.ts +2 -2
  42. package/es/components/expand-field/index.d.ts +41 -575
  43. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +56 -198
  44. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +36 -168
  45. package/es/components/expand-field/src/components/form.vue.d.ts +41 -526
  46. package/es/components/expand-field/src/index.vue.d.ts +41 -575
  47. package/es/components/expand-field/src/types/index.d.ts +1 -1
  48. package/es/components/fabric-chart/index.d.ts +10 -10
  49. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +10 -10
  50. package/es/components/fabric-chart/src/components/PopupMenu.d.ts +3 -3
  51. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
  52. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +1 -1
  53. package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
  54. package/es/components/fabric-chart/src/interface.d.ts +9 -9
  55. package/es/components/field-set/index.d.ts +5 -52
  56. package/es/components/field-set/src/FieldColor.vue.d.ts +13 -605
  57. package/es/components/field-set/src/FieldColor.vue2.js +1 -1
  58. package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -19
  59. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  60. package/es/components/field-set/src/FieldSet.vue.d.ts +8 -9
  61. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  62. package/es/components/field-set/src/Index.vue.d.ts +6 -53
  63. package/es/components/field-set/src/Index.vue2.js +1 -1
  64. package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
  65. package/es/components/field-set/src/components/condition.vue.d.ts +2 -2
  66. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +11 -589
  67. package/es/components/field-set/src/components/edit-filter.vue.d.ts +3 -3
  68. package/es/components/field-set/src/constants/index.d.ts +1 -1
  69. package/es/components/field-set/src/types/index.d.ts +8 -8
  70. package/es/components/field-set/style/index.css +1 -1
  71. package/es/components/form-config/index.d.ts +62 -4785
  72. package/es/components/form-config/src/FormConfig.vue.d.ts +41 -4764
  73. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +37 -98
  74. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +1 -1
  75. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +2 -2
  76. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +22 -4651
  77. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +3 -36
  78. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +3 -3
  79. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +1 -1
  80. package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
  81. package/es/components/form-config/src/types/index.d.ts +8 -8
  82. package/es/components/form-render/index.d.ts +15 -75
  83. package/es/components/form-render/src/FormRender.vue.d.ts +10 -70
  84. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -75
  85. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +2 -2
  86. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +2 -2
  87. package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +1 -1
  88. package/es/components/form-render/src/components/renderer/complex.d.ts +1 -1
  89. package/es/components/form-render/src/components/renderer/date.d.ts +2 -2
  90. package/es/components/form-render/src/components/renderer/index.d.ts +1 -1
  91. package/es/components/form-render/src/components/renderer/inputGroup.d.ts +1 -11
  92. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
  93. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +9 -0
  94. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +1 -1
  95. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +10 -10
  96. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +15 -15
  97. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  98. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
  99. package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
  100. package/es/components/form-render/src/hooks/useChangeContext.d.ts +1 -1
  101. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -4
  102. package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -11
  103. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -19
  104. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
  105. package/es/components/form-render/src/types/fieldItem.d.ts +10 -10
  106. package/es/components/form-render/src/types/index.d.ts +13 -13
  107. package/es/components/form-render/src/utils/index.d.ts +1 -1
  108. package/es/components/iho-chat/index.d.ts +719 -0
  109. package/es/components/iho-chat/index.js +1 -0
  110. package/es/components/iho-chat/src/Index.vue.d.ts +723 -0
  111. package/es/components/iho-chat/src/Index.vue2.js +1 -0
  112. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +64 -0
  113. package/es/components/{biunique-chat → iho-chat}/src/components/ChatFile.vue2.js +1 -1
  114. package/es/components/{biunique-chat → iho-chat}/src/components/ChatFooter.vue.d.ts +24 -11
  115. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -0
  116. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +333 -0
  117. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -0
  118. package/es/components/{biunique-chat → iho-chat}/src/components/ChatMain.vue.d.ts +21 -209
  119. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -0
  120. package/es/components/{biunique-chat → iho-chat}/src/components/ChatRecord.vue.d.ts +1 -11
  121. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -0
  122. package/es/components/{biunique-chat → iho-chat}/src/components/ChatSearch.vue.d.ts +2 -2
  123. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +73 -0
  124. package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -0
  125. package/es/components/iho-chat/src/components/ContextMenu.d.ts +17 -0
  126. package/es/components/iho-chat/src/components/ContextMenu.js +1 -0
  127. package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +1 -0
  128. package/es/components/{biunique-chat → iho-chat}/src/components/PersonProfile.vue.d.ts +1 -9
  129. package/es/components/iho-chat/src/components/Video.vue.d.ts +38 -0
  130. package/es/components/{biunique-chat → iho-chat}/src/constants/index.d.ts +13 -1
  131. package/es/components/iho-chat/src/constants/index.js +1 -0
  132. package/es/components/iho-chat/src/hooks/useSession.js +1 -0
  133. package/es/components/{biunique-chat → iho-chat}/src/types/index.d.ts +2 -2
  134. package/es/components/{biunique-chat → iho-chat}/src/utils/index.d.ts +2 -0
  135. package/es/components/{biunique-chat → iho-chat}/src/utils/index.js +1 -1
  136. package/es/components/iho-chat/style/index.css +1 -0
  137. package/es/components/iho-table/index.d.ts +46 -1567
  138. package/es/components/iho-table/src/IhoTable.vue.d.ts +40 -1561
  139. package/es/components/iho-table/src/constants/index.d.ts +2 -2
  140. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +4 -4
  141. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +18 -18
  142. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +61 -61
  143. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +1 -1
  144. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  145. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
  146. package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
  147. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +2 -335
  148. package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.js +1 -1
  149. package/es/components/iho-table/src/plugins/pagerScrollPlugin/types.d.ts +1 -1
  150. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +18 -17
  151. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +1 -1
  152. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  153. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +2 -2
  154. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +1 -1
  155. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +1 -1
  156. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +1 -1
  157. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.d.ts +1 -1
  158. package/es/components/iho-table/src/types/index.d.ts +17 -17
  159. package/es/components/iho-table/src/types/pluginType.d.ts +13 -13
  160. package/es/components/iho-table/style/index.css +1 -1
  161. package/es/components/index.css +1 -1
  162. package/es/components/index.d.ts +2 -2
  163. package/es/components/index.js +1 -1
  164. package/es/components/info-header/index.d.ts +65 -1723
  165. package/es/components/info-header/src/InfoHeader.vue.d.ts +42 -1700
  166. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +27 -1547
  167. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +16 -1554
  168. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +31 -1629
  169. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +59 -119
  170. package/es/components/info-header/src/types/index.d.ts +4 -3
  171. package/es/components/keyboard/index.d.ts +1 -1
  172. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  173. package/es/components/map/src/types/index.d.ts +2 -2
  174. package/es/components/quick-search/index.d.ts +1 -295
  175. package/es/components/quick-search/src/index.vue.d.ts +1 -295
  176. package/es/components/recommend-search/index.d.ts +28 -28
  177. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +28 -28
  178. package/es/components/recommend-search/src/components/BaseSearch.d.ts +4 -4
  179. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +10 -10
  180. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +11 -11
  181. package/es/components/recommend-search/src/types/index.d.ts +2 -2
  182. package/es/components/scale-view/index.d.ts +6 -300
  183. package/es/components/scale-view/src/ScaleView.vue.d.ts +6 -300
  184. package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +2 -2
  185. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +2 -2
  186. package/es/components/scale-view/src/hooks/use-component.d.ts +3 -15
  187. package/es/components/scale-view/src/types/index.d.ts +1 -1
  188. package/es/components/search-cascader/index.d.ts +15 -14
  189. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +16 -15
  190. package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
  191. package/es/components/search-cascader/src/components/SearchMenu.d.ts +3 -3
  192. package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
  193. package/es/components/select-label/index.d.ts +3 -21
  194. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -7
  195. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -7
  196. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +1 -7
  197. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +1 -7
  198. package/es/components/select-label/src/index.vue.d.ts +2 -14
  199. package/es/components/select-label/src/types/index.d.ts +3 -3
  200. package/es/components/select-person/index.d.ts +36 -168
  201. package/es/components/select-person/src/SearchMultiple.vue.d.ts +3 -58
  202. package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +2 -2
  203. package/es/components/select-person/src/SelectPerson.vue.d.ts +9 -117
  204. package/es/components/shortcut-provider/index.d.ts +1 -1
  205. package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
  206. package/es/components/shortcut-setter/index.d.ts +23 -1606
  207. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -1597
  208. package/es/components/step-notice/index.d.ts +94 -1615
  209. package/es/components/step-notice/src/StepNotice.vue.d.ts +79 -1600
  210. package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +22 -22
  211. package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +2 -2
  212. package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +16 -16
  213. package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -1
  214. package/es/components/step-notice/src/utils.d.ts +1 -1
  215. package/es/components/steps-wheel/index.d.ts +1 -1
  216. package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
  217. package/es/components/table-export-field/index.d.ts +3 -630
  218. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +2 -51
  219. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -581
  220. package/es/components/table-export-field/src/index.vue.d.ts +5 -632
  221. package/es/components/table-export-field/src/types/index.d.ts +1 -1
  222. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +2 -2
  223. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +2 -2
  224. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +2 -2
  225. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
  226. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +22 -32
  227. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +2 -2
  228. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +2 -2
  229. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +1 -11
  230. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +15 -15
  231. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -1
  232. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +22 -32
  233. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +22 -32
  234. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -50
  235. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +3 -3
  236. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  237. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  238. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +4 -4
  239. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
  240. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +2 -2
  241. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +1 -11
  242. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +16 -16
  243. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +1 -1
  244. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +60 -119
  245. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +59 -108
  246. package/es/components/table-filter/src/types/index.d.ts +25 -25
  247. package/es/components/time-line/index.d.ts +1 -48
  248. package/es/components/time-line/src/TimeLine.vue.d.ts +4 -51
  249. package/es/components/tooth-bitmap/index.d.ts +3 -3
  250. package/es/components/tooth-bitmap/src/ToothBitmap.vue.d.ts +1 -1
  251. package/es/env.d.ts +25 -25
  252. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +3 -3
  253. package/es/shared/components/SlotRender/SlotRender.d.ts +4 -4
  254. package/es/shared/components/VueDraggable/src/core/renderHelper.d.ts +1 -1
  255. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -1
  256. package/es/shared/hooks/useLevelSearchCascader.js +1 -1
  257. package/es/shared/hooks/useTheme.d.ts +2 -2
  258. package/es/shared/package.json.js +1 -1
  259. package/es/shared/types/business.d.ts +1 -1
  260. package/es/shared/types/index.d.ts +15 -15
  261. package/es/shared/utils/tapable/AsyncParallelBailHook.d.ts +1 -1
  262. package/es/shared/utils/tapable/AsyncParallelHook.d.ts +1 -1
  263. package/es/shared/utils/tapable/AsyncSeriesBailHook.d.ts +1 -1
  264. package/es/shared/utils/tapable/AsyncSeriesHook.d.ts +1 -1
  265. package/es/shared/utils/tapable/AsyncSeriesLoopHook.d.ts +1 -1
  266. package/es/shared/utils/tapable/AsyncSeriesWaterfallHook.d.ts +1 -1
  267. package/es/shared/utils/tapable/SyncBailHook.d.ts +1 -1
  268. package/es/shared/utils/tapable/SyncHook.d.ts +1 -1
  269. package/es/shared/utils/tapable/SyncLoopHook.d.ts +1 -1
  270. package/es/shared/utils/tapable/SyncWaterfallHook.d.ts +1 -1
  271. package/es/shared/utils/vexutils.d.ts +2 -2
  272. package/package.json +6 -5
  273. package/es/components/biunique-chat/index.d.ts +0 -1692
  274. package/es/components/biunique-chat/index.js +0 -1
  275. package/es/components/biunique-chat/src/Index.vue.d.ts +0 -1695
  276. package/es/components/biunique-chat/src/Index.vue2.js +0 -1
  277. package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +0 -263
  278. package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +0 -1
  279. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +0 -733
  280. package/es/components/biunique-chat/src/components/ChatHeader.vue2.js +0 -1
  281. package/es/components/biunique-chat/src/components/ChatMain.vue2.js +0 -1
  282. package/es/components/biunique-chat/src/components/ChatRecord.vue2.js +0 -1
  283. package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +0 -258
  284. package/es/components/biunique-chat/src/components/ChatSet.vue2.js +0 -1
  285. package/es/components/biunique-chat/src/components/MessageTemplate.vue2.js +0 -1
  286. package/es/components/biunique-chat/src/constants/index.js +0 -1
  287. package/es/components/biunique-chat/src/hooks/useSession.js +0 -1
  288. package/es/components/biunique-chat/style/index.css +0 -1
  289. /package/es/components/{biunique-chat → iho-chat}/src/Index.vue.js +0 -0
  290. /package/es/components/{biunique-chat → iho-chat}/src/api/index.d.ts +0 -0
  291. /package/es/components/{biunique-chat → iho-chat}/src/api/index.js +0 -0
  292. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatFile.vue.js +0 -0
  293. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatFooter.vue.js +0 -0
  294. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatHeader.vue.js +0 -0
  295. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatMain.vue.js +0 -0
  296. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatRecord.vue.js +0 -0
  297. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatSearch.vue.js +0 -0
  298. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatSearch.vue2.js +0 -0
  299. /package/es/components/{biunique-chat → iho-chat}/src/components/ChatSet.vue.js +0 -0
  300. /package/es/components/{biunique-chat → iho-chat}/src/components/MessageTemplate.vue.d.ts +0 -0
  301. /package/es/components/{biunique-chat → iho-chat}/src/components/MessageTemplate.vue.js +0 -0
  302. /package/es/components/{biunique-chat → iho-chat}/src/components/PersonProfile.vue.js +0 -0
  303. /package/es/components/{biunique-chat → iho-chat}/src/components/PersonProfile.vue2.js +0 -0
  304. /package/es/components/{biunique-chat → iho-chat}/src/components/SiderList.vue.d.ts +0 -0
  305. /package/es/components/{biunique-chat → iho-chat}/src/components/SiderList.vue.js +0 -0
  306. /package/es/components/{biunique-chat → iho-chat}/src/components/SiderList.vue2.js +0 -0
  307. /package/es/components/{biunique-chat → iho-chat}/src/hooks/index.d.ts +0 -0
  308. /package/es/components/{biunique-chat → iho-chat}/src/hooks/index.js +0 -0
  309. /package/es/components/{biunique-chat → iho-chat}/src/hooks/useScrollLoading.d.ts +0 -0
  310. /package/es/components/{biunique-chat → iho-chat}/src/hooks/useScrollLoading.js +0 -0
  311. /package/es/components/{biunique-chat → iho-chat}/src/hooks/useSession.d.ts +0 -0
  312. /package/es/components/{biunique-chat → iho-chat}/src/hooks/useState.d.ts +0 -0
  313. /package/es/components/{biunique-chat → iho-chat}/src/hooks/useState.js +0 -0
  314. /package/es/components/{biunique-chat → iho-chat}/src/types/index.js +0 -0
  315. /package/es/components/{biunique-chat → iho-chat}/src/utils/chatSock.d.ts +0 -0
  316. /package/es/components/{biunique-chat → iho-chat}/src/utils/chatSock.js +0 -0
  317. /package/es/components/{biunique-chat → iho-chat}/src/utils/emoji.d.ts +0 -0
  318. /package/es/components/{biunique-chat → iho-chat}/src/utils/emoji.js +0 -0
  319. /package/es/components/{biunique-chat → iho-chat}/style/iconfont.ttf +0 -0
@@ -1,5 +1,5 @@
1
- export declare type funcVoid = () => void;
2
- export declare type ISearchType = {
1
+ export type funcVoid = () => void;
2
+ export type ISearchType = {
3
3
  isShowSearch?: number;
4
4
  filterExplicit?: number;
5
5
  explicitRequired?: number;
@@ -27,26 +27,26 @@ export declare type ISearchType = {
27
27
  accurateSearch?: any;
28
28
  isAccurateSearchVal?: boolean;
29
29
  };
30
- export declare type IFilterItemType = {
30
+ export type IFilterItemType = {
31
31
  con: string;
32
32
  conName?: string;
33
33
  field_key: string;
34
34
  key?: string;
35
35
  value: string;
36
36
  };
37
- export declare type IParentNamesType = {
37
+ export type IParentNamesType = {
38
38
  disabled: boolean;
39
39
  isAdd?: boolean;
40
40
  selected: boolean;
41
41
  value: string;
42
42
  };
43
- export declare type ISaveType = {
43
+ export type ISaveType = {
44
44
  id?: string;
45
45
  tableId: string;
46
46
  setting: any;
47
47
  conditionList: string;
48
48
  };
49
- export declare type IClassifyListType = {
49
+ export type IClassifyListType = {
50
50
  displayCategory: string;
51
51
  isDefault: boolean;
52
52
  isEdit: boolean;
@@ -66,16 +66,16 @@ export declare type IClassifyListType = {
66
66
  from?: string;
67
67
  [key: string]: any;
68
68
  };
69
- export declare type IClassifyItemType = {
69
+ export type IClassifyItemType = {
70
70
  name: string;
71
71
  [key: string]: any;
72
72
  };
73
- export declare type IClassifyOutSaveType = {
73
+ export type IClassifyOutSaveType = {
74
74
  id: string;
75
75
  tableId: string;
76
76
  [key: string]: string;
77
77
  };
78
- export declare type ISearchConfigType = {
78
+ export type ISearchConfigType = {
79
79
  con: string;
80
80
  field_key: string;
81
81
  start_val: number | null;
@@ -91,7 +91,7 @@ export declare type ISearchConfigType = {
91
91
  isAccurateSearch?: boolean;
92
92
  accurateSearchKey?: string;
93
93
  };
94
- export declare type ITreeDataType = {
94
+ export type ITreeDataType = {
95
95
  name: string;
96
96
  sid: string;
97
97
  children: IClassifyListType[];
@@ -100,18 +100,18 @@ export declare type ITreeDataType = {
100
100
  selected?: boolean;
101
101
  [key: string]: any;
102
102
  };
103
- export declare type IConditionMapType = {
103
+ export type IConditionMapType = {
104
104
  conditionList?: IClassifyListType[];
105
105
  displayCategoryList?: string[];
106
106
  tabConditionList?: any;
107
107
  countTabCondition?: string;
108
108
  settingId?: string;
109
109
  };
110
- export declare type IsettingsType = {
110
+ export type IsettingsType = {
111
111
  hideQuickSearch: number;
112
112
  };
113
- export declare type ICheckboxType = Record<'label' | 'value', string>;
114
- export declare type IApiServerType = {
113
+ export type ICheckboxType = Record<'label' | 'value', string>;
114
+ export type IApiServerType = {
115
115
  name: string;
116
116
  title: string;
117
117
  customTitle?: string;
@@ -143,7 +143,7 @@ export declare type IApiServerType = {
143
143
  keyword?: boolean;
144
144
  accurateSearch?: any;
145
145
  };
146
- export declare type dynamicOptionInfoType = {
146
+ export type dynamicOptionInfoType = {
147
147
  filterKeys: string[];
148
148
  defaultParams: any[];
149
149
  showKeys: string[];
@@ -153,17 +153,17 @@ export declare type dynamicOptionInfoType = {
153
153
  autograph: string;
154
154
  tableDataType: string;
155
155
  };
156
- export declare type ICategoryItemType = {
156
+ export type ICategoryItemType = {
157
157
  disabled: boolean;
158
158
  value: string;
159
159
  };
160
- export declare type ICategoryStateType = {
160
+ export type ICategoryStateType = {
161
161
  addDisplayCategory: string;
162
162
  displayCategories: ICategoryItemType[];
163
163
  displayCategoryOriginLen: number;
164
164
  showAdd: boolean;
165
165
  };
166
- export declare type IFilterRowDataType = {
166
+ export type IFilterRowDataType = {
167
167
  name: string;
168
168
  title: string;
169
169
  dataType: string;
@@ -175,7 +175,7 @@ export declare type IFilterRowDataType = {
175
175
  optionInfo?: any;
176
176
  defaultValue: any;
177
177
  };
178
- export declare type IFilterConditionType = {
178
+ export type IFilterConditionType = {
179
179
  dataType: string;
180
180
  title: string;
181
181
  customTitle: string;
@@ -193,12 +193,12 @@ export declare type IFilterConditionType = {
193
193
  _rawData?: IFilterRowDataType;
194
194
  type?: any;
195
195
  };
196
- export declare type IFormStateType = {
196
+ export type IFormStateType = {
197
197
  className: string;
198
198
  displayCategory: string;
199
199
  filterConditions: IfilterConditionsType[];
200
200
  };
201
- export declare type IfilterConditionsType = {
201
+ export type IfilterConditionsType = {
202
202
  condition: string;
203
203
  key: string;
204
204
  presetVal: string;
@@ -206,7 +206,7 @@ export declare type IfilterConditionsType = {
206
206
  isAccurateSearch?: boolean;
207
207
  accurateSearchKey?: string;
208
208
  };
209
- export declare type ISearchParamsType = {
209
+ export type ISearchParamsType = {
210
210
  field_key: string;
211
211
  con: string;
212
212
  value: string[];
@@ -214,19 +214,19 @@ export declare type ISearchParamsType = {
214
214
  isAccurateSearch?: boolean;
215
215
  accurateSearchKey?: string;
216
216
  };
217
- export declare type IFilterCategoryLabelItemType = {
217
+ export type IFilterCategoryLabelItemType = {
218
218
  classifyId: string;
219
219
  classifyName: string;
220
220
  isShowBtn: boolean;
221
221
  isUnfold: boolean;
222
222
  labelList: IhoFilterTabLabelItemType[];
223
223
  };
224
- export declare type IhoFilterTabLabelItemType = {
224
+ export type IhoFilterTabLabelItemType = {
225
225
  labelCode: string;
226
226
  labelShowText: string;
227
227
  backgroundColor: string;
228
228
  isSelect: boolean;
229
229
  };
230
- export declare type IExtendConfigurationType = {
230
+ export type IExtendConfigurationType = {
231
231
  _filterApiConfig: any;
232
232
  };
@@ -30,54 +30,7 @@ declare const TimeLine: SFCWithInstall<import("vue").DefineComponent<{
30
30
  };
31
31
  }>> & {}>>;
32
32
  NTimeline: any;
33
- NTimelineItem: import("vue").DefineComponent<{
34
- time: import("vue").PropType<string | number>;
35
- title: StringConstructor;
36
- content: StringConstructor;
37
- color: StringConstructor;
38
- lineType: {
39
- type: import("vue").PropType<"default" | "dashed">;
40
- default: string;
41
- };
42
- type: {
43
- type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
44
- default: string;
45
- };
46
- }, {
47
- mergedClsPrefix: import("vue").Ref<string>;
48
- cssVars: import("vue").ComputedRef<{
49
- '--n-bezier': string;
50
- '--n-circle-border': string;
51
- '--n-icon-color': string;
52
- '--n-content-font-size': string;
53
- '--n-content-text-color': string;
54
- '--n-line-color': string;
55
- '--n-meta-text-color': string;
56
- '--n-title-font-size': string;
57
- '--n-title-font-weight': string;
58
- '--n-title-margin': string;
59
- '--n-title-text-color': string;
60
- '--n-icon-size': string;
61
- }> | undefined;
62
- themeClass: import("vue").Ref<string> | undefined;
63
- onRender: (() => void) | undefined;
64
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
65
- time: import("vue").PropType<string | number>;
66
- title: StringConstructor;
67
- content: StringConstructor;
68
- color: StringConstructor;
69
- lineType: {
70
- type: import("vue").PropType<"default" | "dashed">;
71
- default: string;
72
- };
73
- type: {
74
- type: import("vue").PropType<"default" | "success" | "error" | "warning" | "info">;
75
- default: string;
76
- };
77
- }>>, {
78
- type: "default" | "success" | "error" | "warning" | "info";
79
- lineType: "default" | "dashed";
80
- }>;
33
+ NTimelineItem: any;
81
34
  NButton: any;
82
35
  NSpace: any;
83
36
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1,13 +1,13 @@
1
1
  import { PropType } from 'vue';
2
- declare type ITtemType = 'default' | 'success' | 'info' | 'warning' | 'error';
3
- declare type ISubItem = {
2
+ type ITtemType = 'default' | 'success' | 'info' | 'warning' | 'error';
3
+ type ISubItem = {
4
4
  title: string;
5
5
  name: string;
6
6
  time: string;
7
7
  extraText?: string;
8
8
  content: string;
9
9
  };
10
- declare type IItem = {
10
+ type IItem = {
11
11
  type: ITtemType;
12
12
  subItem: ISubItem[];
13
13
  };
@@ -24,54 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  };
25
25
  }>> & {}>>;
26
26
  NTimeline: any;
27
- NTimelineItem: import("vue").DefineComponent<{
28
- time: PropType<string | number>;
29
- title: StringConstructor;
30
- content: StringConstructor;
31
- color: StringConstructor;
32
- lineType: {
33
- type: PropType<"default" | "dashed">;
34
- default: string;
35
- };
36
- type: {
37
- type: PropType<"default" | "success" | "error" | "warning" | "info">;
38
- default: string;
39
- };
40
- }, {
41
- mergedClsPrefix: import("vue").Ref<string>;
42
- cssVars: import("vue").ComputedRef<{
43
- '--n-bezier': string;
44
- '--n-circle-border': string;
45
- '--n-icon-color': string;
46
- '--n-content-font-size': string;
47
- '--n-content-text-color': string;
48
- '--n-line-color': string;
49
- '--n-meta-text-color': string;
50
- '--n-title-font-size': string;
51
- '--n-title-font-weight': string;
52
- '--n-title-margin': string;
53
- '--n-title-text-color': string;
54
- '--n-icon-size': string;
55
- }> | undefined;
56
- themeClass: import("vue").Ref<string> | undefined;
57
- onRender: (() => void) | undefined;
58
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
- time: PropType<string | number>;
60
- title: StringConstructor;
61
- content: StringConstructor;
62
- color: StringConstructor;
63
- lineType: {
64
- type: PropType<"default" | "dashed">;
65
- default: string;
66
- };
67
- type: {
68
- type: PropType<"default" | "success" | "error" | "warning" | "info">;
69
- default: string;
70
- };
71
- }>>, {
72
- type: "default" | "success" | "error" | "warning" | "info";
73
- lineType: "default" | "dashed";
74
- }>;
27
+ NTimelineItem: any;
75
28
  NButton: any;
76
29
  NSpace: any;
77
30
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -14,14 +14,14 @@ declare const ToothBitmap: SFCWithInstall<import("vue").DefineComponent<{
14
14
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
15
15
  }>>;
16
16
  emit: (event: "update:value", ...args: any[]) => void;
17
- cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
17
+ cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
18
18
  quadrants: string[];
19
19
  numbers: number[];
20
20
  keys: import("vue").Ref<string[]>;
21
21
  getImg: (position: string, num: number) => any;
22
22
  getLetter: (num: number) => "B" | "D" | "C" | "" | "A" | "E";
23
- hasBorder: (position: string, num: number, type: "img" | "num" | "letter") => boolean;
24
- handleSelect: (position: string, num: number, type: "num" | "letter") => void;
23
+ hasBorder: (position: string, num: number, type: "letter" | "img" | "num") => boolean;
24
+ handleSelect: (position: string, num: number, type: "letter" | "num") => void;
25
25
  confirm: () => void;
26
26
  reset: () => void;
27
27
  selectAll: () => void;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
15
15
  }>>;
16
16
  emit: (event: "update:value", ...args: any[]) => void;
17
- cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
17
+ cssVars: import("vue").ComputedRef<import("../../../shared/types").AnyObject>;
18
18
  quadrants: string[];
19
19
  numbers: number[];
20
20
  keys: import("vue").Ref<string[]>;
package/es/env.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- /// <reference types="vite/client" />
2
-
3
- interface ImportMetaEnv {
4
- readonly VITE_APP_TYPE: string;
5
- // 更多环境变量...
6
- }
7
-
8
- interface ImportMeta {
9
- readonly env: ImportMetaEnv;
10
- }
11
-
12
- declare module '*.vue' {
13
- // @ts-ignore
14
- import type { App, defineComponent } from 'vue';
15
- // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
- // // const component: DefineComponent<{}, {}, any>
17
- const component: ReturnType<typeof defineComponent> & {
18
- install(app: App): void;
19
- };
20
- // @ts-ignore
21
- export default component;
22
- }
23
-
24
- declare module '*.js';
25
-
1
+ /// <reference types="vite/client" />
2
+
3
+ interface ImportMetaEnv {
4
+ readonly VITE_APP_TYPE: string;
5
+ // 更多环境变量...
6
+ }
7
+
8
+ interface ImportMeta {
9
+ readonly env: ImportMetaEnv;
10
+ }
11
+
12
+ declare module '*.vue' {
13
+ // @ts-ignore
14
+ import type { App, defineComponent } from 'vue';
15
+ // // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
16
+ // // const component: DefineComponent<{}, {}, any>
17
+ const component: ReturnType<typeof defineComponent> & {
18
+ install(app: App): void;
19
+ };
20
+ // @ts-ignore
21
+ export default component;
22
+ }
23
+
24
+ declare module '*.js';
25
+
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
5
5
  type: (NumberConstructor | StringConstructor)[];
6
6
  };
7
7
  onChange: {
8
- type: PropType<AnyFn<any[], any>>;
8
+ type: PropType<AnyFn>;
9
9
  default: () => {};
10
10
  };
11
11
  prefix: {
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<{
35
35
  type: (NumberConstructor | StringConstructor)[];
36
36
  };
37
37
  onChange: {
38
- type: PropType<AnyFn<any[], any>>;
38
+ type: PropType<AnyFn>;
39
39
  default: () => {};
40
40
  };
41
41
  prefix: {
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
63
63
  }>> & {
64
64
  onSelect?: ((...args: any[]) => any) | undefined;
65
65
  }, {
66
- onChange: AnyFn<any[], any>;
66
+ onChange: AnyFn;
67
67
  slashSymbol: string;
68
68
  }>;
69
69
  export default _default;
@@ -2,19 +2,19 @@ import { AnyFn } from '../../../shared/types';
2
2
  import { Component, PropType } from 'vue';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  renderer: {
5
- type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | AnyFn<any[], any>>;
5
+ type: PropType<string | Component | AnyFn>;
6
6
  required: true;
7
7
  };
8
8
  rootSlots: {
9
- type: PropType<Record<string, AnyFn<any[], any>>>;
9
+ type: PropType<Record<string, AnyFn>>;
10
10
  };
11
11
  }, () => any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
12
  renderer: {
13
- type: PropType<string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | AnyFn<any[], any>>;
13
+ type: PropType<string | Component | AnyFn>;
14
14
  required: true;
15
15
  };
16
16
  rootSlots: {
17
- type: PropType<Record<string, AnyFn<any[], any>>>;
17
+ type: PropType<Record<string, AnyFn>>;
18
18
  };
19
19
  }>>, {}>;
20
20
  export default _default;
@@ -4,4 +4,4 @@ export function computeComponentStructure({ $slots, tag, realList, getKey }: {
4
4
  realList: any;
5
5
  getKey: any;
6
6
  }): ComponentStructure;
7
- import { ComponentStructure } from "./componentStructure";
7
+ import { ComponentStructure } from './componentStructure';
@@ -8,6 +8,7 @@ export declare function useLevelSearchCascader(props: Partial<{
8
8
  requestCache: boolean;
9
9
  value: string | AnyObject[];
10
10
  }> & {
11
+ checkAbleLevel: number | string;
11
12
  autograph: string;
12
13
  wordbook: LowCodeTypes.wordbook;
13
14
  labelField: string;
@@ -22,7 +23,7 @@ export declare function useLevelSearchCascader(props: Partial<{
22
23
  valueKey: import("vue").ComputedRef<string>;
23
24
  optionsRef: Ref<AnyObject[]>;
24
25
  showRef: Ref<boolean>;
25
- fetchData: (node?: AnyObject, keyword?: string, updateValueWhenNoChild?: boolean) => Promise<void | AnyObject>;
26
+ fetchData: (node?: AnyObject, keyword?: string, dbClick?: boolean, updateValueWhenNoChild?: boolean) => Promise<void | AnyObject>;
26
27
  menuWidth: Ref<number>;
27
28
  searchCascaderRef: Ref<{
28
29
  getWidth: () => number;
@@ -1 +1 @@
1
- import"../utils/index.js";import"naive-ui";import{computed as e,ref as t,watch as r,unref as n}from"vue";import"@vueuse/core";import"date-fns";import{isEqual as i,noop as o,isString as a,isNumber as l,isEmpty as u,isFunction as s,cloneDeep as c,omit as d,isArray as v}from"lodash-es";import{useFormRequest as p}from"./useFormRequest/index.js";import"@vueuse/shared";import"./selectHooks/useSearchContent.js";import"@vicons/ionicons5";function h(h,y,{asyncQueue:f,fieldKey:m,getRequestPayload:k=o}){const g=e({get:()=>h.value,set(e){i(e,h.value)||y("update:value",e)}}),w=t(!1),_=t([]),b=e((()=>{var e,t,r;return null!=(r=null==(t=null==(e=h.wordbook)?void 0:e.show_key)?void 0:t[0])?r:h.labelField})),O=e((()=>{var e,t;return null!=(t=null==(e=h.wordbook)?void 0:e.value_key)?t:h.valueField})),L=e((()=>{var e,t;return null==(t=null==(e=h.wordbook)?void 0:e.render_key)?void 0:t[0]})),j=e((()=>{var e;return(null==(e=h.wordbook)?void 0:e.level_num)||1/0})),C=function(e,t,r){return{transformListToChildren(e){if(!e.length)return[];const t=[(e=c(e))[0]];let r=e[0];for(let t=1;t<e.length;t++){const n=e[t];n&&(r.children=[n],n.parent=r,r=n)}return[e,t]},getNodeDepth(e){let t=1,r=e.parent;for(;r;)t++,r=r.parent;return t},enrichChildOption(e,t,r){return{...e,parent:t,isLeaf:this.getNodeDepth(t)+1>=r}},enrichKeywordOption:(e,n)=>(e.__keyword=!!n,e.isLeaf=!!n,n&&r.value&&e[r.value]&&(e[t.value]=e[r.value]),e),sortOptionWithIdList:(t,r)=>r.map((r=>t.find((t=>t[e.value]===r)))),generateOptionWithIdList(t,r,n){let i=t[0];return{options:r.reduce(((e,r,a)=>{const l=o(t,r);return 0===a?(i=l,[l]):(Object.assign(l,{parent:i,isLeaf:a+1>=n}),i.children=[l],i=l,e)}),[]),lastOption:i};function o(t,r){return t.find((t=>t[e.value]===r))}},parseLinkFromString2List:e=>e.split("_").filter((e=>e)),isClickNodeCheckbox:e=>e&&!e.__keyword&&e.isLeaf,createConfigObject:(t,r,n)=>r?t.conObj||[]:n?[{con:"EQ",is_compare_field:!1,field_key:t.level_key,value:n[e.value]}]:t.conObjFirstLevel||[],createOptionValue(e){const t=[];let r=e;for(;r;)t.unshift(d(r,["parent","isLeaf","__keyword","children"])),r=r.parent;return t},shouldInitOptionList:(t,r,n)=>v(t)&&!u(t)&&t.every((t=>t[e.value]))&&!r&&!n}}(O,b,L),{getSearchRequestInfo:K}=p(),I=t(150),R=t();async function x(e,t,r=!0){var i,o;if(I.value=t&&(null==(i=R.value)?void 0:i.getWidth())||150,C.shouldInitOptionList(g.value,e,t)){const[e,t]=C.transformListToChildren(g.value),r=e[Math.max(0,e.length-2)];if(g.value.length>1){_.value=t;const r=e[Math.max(0,e.length-2)];return await x(r,void 0,!1),r}if(null==(o=_.value)?void 0:o.length)return r}try{return C.isClickNodeCheckbox(e)?c(e):e?e.__keyword?async function(){var t;if(!a(e.id_link))return Promise.reject(`id_link isn't string "${e.id_link}"`);const r=C.parseLinkFromString2List(e.id_link);l(j.value)&&j.value!==1/0&&r.splice(j.value);const i=await async function(e){if(!K().primaryKeyUrl)return[];try{return await f.addAsync(t(h.wordbook,h.autograph,e,n(m)))}catch(e){a(e)&&console.error(e)}function t(e,t,r,n){const i=K();return{key:n,params:{autograph:t,tableId:e.id,primaryKeyValue:r.join(","),page:1},...i,url:i.primaryKeyUrl,cache:h.requestCache,payload:{field:{},labelKey:b.value,valueKey:O.value}}}}(r);if(!i)return Promise.reject("fetchPrimaryKeyValue failed");const{lastOption:o,options:s}=C.generateOptionWithIdList(i,r,j.value);if(s.length<j.value&&(await x(o),u(o.children)))return g.value=C.sortOptionWithIdList(i,r),w.value=!1,Promise.reject("lastOption.children is empty");return _.value=s,null==(t=R.value)||t.setCursor(o),o}():async function(){const t=await f.addAsync(d(h.wordbook,h.autograph,e,n(m)));if(!t.length)return r?c(e):Promise.reject("childrenList is empty");e.children=t.map((t=>C.enrichChildOption(t,e,j.value)))}():async function(){var r;const i=await f.addAsync(d(h.wordbook,h.autograph,e,n(m)));_.value=i.map((e=>C.enrichKeywordOption(e,t))),t&&(null==(r=R.value)||r.setCursor(_.value[0]))}()}catch(e){a(e)&&console.error(e)}function c(e){return g.value=C.createOptionValue(e),w.value=!1,Promise.reject("update value success, no need to continue")}function d(e,r,n,i){const o={autograph:()=>r,wordbookId:"id",wordbookType:"type",fieldKeys:()=>e.search_key?JSON.stringify(e.search_key):void 0,conObj:()=>JSON.stringify(C.createConfigObject(e,t,n)),primaryKey:"primary_key",levelKey:"level_key",keyword:()=>t,page:()=>1},l=Object.entries(o).reduce(((t,[r,n])=>(t[r]=a(n)?e[n]:s(n)?n():void 0,t)),{});return{...K(),params:l,key:i,cache:h.requestCache,payload:{...k(),labelKey:b.value,valueKey:O.value}}}}return r((()=>h.wordbook),((e,t)=>{i(e,t)||(_.value=[],e&&(g.value||!h.lazyRequest)&&x())}),{immediate:!0}),{valueRef:g,labelKey:b,valueKey:O,optionsRef:_,showRef:w,fetchData:x,menuWidth:I,searchCascaderRef:R}}export{h as useLevelSearchCascader};
1
+ import"../utils/index.js";import"naive-ui";import{computed as e,ref as t,watch as r,unref as n}from"vue";import"@vueuse/core";import"date-fns";import{isEqual as i,noop as o,isString as a,isNumber as l,isEmpty as u,isFunction as s,cloneDeep as c,omit as d,isArray as v}from"lodash-es";import{useFormRequest as p}from"./useFormRequest/index.js";import"@vueuse/shared";import"./selectHooks/useSearchContent.js";import"@vicons/ionicons5";function h(h,y,{asyncQueue:f,fieldKey:m,getRequestPayload:k=o}){const g=e({get:()=>h.value,set(e){i(e,h.value)||y("update:value",e)}}),b=t(!1),w=t([]),_=e((()=>{var e,t,r;return null!=(r=null==(t=null==(e=h.wordbook)?void 0:e.show_key)?void 0:t[0])?r:h.labelField})),O=e((()=>{var e,t;return null!=(t=null==(e=h.wordbook)?void 0:e.value_key)?t:h.valueField})),L=e((()=>{var e,t;return null==(t=null==(e=h.wordbook)?void 0:e.render_key)?void 0:t[0]})),j=e((()=>{var e;return(null==(e=h.wordbook)?void 0:e.level_num)||1/0})),C=function(e,t,r){return{transformListToChildren(e){if(!e.length)return[];const t=[(e=c(e))[0]];let r=e[0];for(let t=1;t<e.length;t++){const n=e[t];n&&(r.children=[n],n.parent=r,r=n)}return[e,t]},getNodeDepth(e){let t=1,r=e.parent;for(;r;)t++,r=r.parent;return t},enrichChildOption(e,t,r){return{...e,parent:t,isLeaf:this.getNodeDepth(t)+1>=r}},enrichKeywordOption:(e,n)=>(e.__keyword=!!n,e.isLeaf=!!n,n&&r.value&&e[r.value]&&(e[t.value]=e[r.value]),e),sortOptionWithIdList:(t,r)=>r.map((r=>t.find((t=>t[e.value]===r)))),generateOptionWithIdList(t,r,n){let i=t[0];return{options:r.reduce(((e,r,a)=>{const l=o(t,r);return 0===a?(i=l,[l]):(Object.assign(l,{parent:i,isLeaf:a+1>=n}),i.children=[l],i=l,e)}),[]),lastOption:i};function o(t,r){return t.find((t=>t[e.value]===r))}},parseLinkFromString2List:e=>e.split("_").filter((e=>e)),isClickNodeCheckbox:e=>e&&!e.__keyword&&e.isLeaf,createConfigObject:(t,r,n)=>r?t.conObj||[]:n?[{con:"EQ",is_compare_field:!1,field_key:t.level_key,value:n[e.value]}]:t.conObjFirstLevel||[],createOptionValue(e){const t=[];let r=e;for(;r;)t.unshift(d(r,["parent","isLeaf","__keyword","children"])),r=r.parent;return t},shouldInitOptionList:(t,r,n)=>v(t)&&!u(t)&&t.every((t=>t[e.value]))&&!r&&!n}}(O,_,L),{getSearchRequestInfo:K}=p(),I=t(150),N=t();async function R(e,t,r,i=!0){var o,c;if(I.value=t&&(null==(o=N.value)?void 0:o.getWidth())||150,C.shouldInitOptionList(g.value,e,t)){const[e,t]=C.transformListToChildren(g.value),r=e[Math.max(0,e.length-2)];if(g.value.length>1){w.value=t;const r=e[Math.max(0,e.length-2)];return await R(r,void 0,!1,!1),r}if(null==(c=w.value)?void 0:c.length)return r}try{return C.isClickNodeCheckbox(e)?d(e):e?e.__keyword?async function(){var t;if(!a(e.id_link))return Promise.reject(`id_link isn't string "${e.id_link}"`);const i=C.parseLinkFromString2List(e.id_link);l(j.value)&&j.value!==1/0&&i.splice(j.value);const o=await async function(e){if(!K().primaryKeyUrl)return[];try{return await f.addAsync(t(h.wordbook,h.autograph,e,n(m)))}catch(e){a(e)&&console.error(e)}function t(e,t,r,n){const i=K();return{key:n,params:{autograph:t,tableId:e.id,primaryKeyValue:r.join(","),page:1},...i,url:i.primaryKeyUrl,cache:h.requestCache,payload:{field:{},labelKey:_.value,valueKey:O.value}}}}(i);if(!o)return Promise.reject("fetchPrimaryKeyValue failed");const{lastOption:s,options:c}=C.generateOptionWithIdList(o,i,j.value);i.length<j.value&&(r&&(isNaN(+h.checkAbleLevel)||i.length>=+h.checkAbleLevel)?s&&(s.children=[]):await R(s));if(u(null==s?void 0:s.children))return g.value=C.sortOptionWithIdList(o,i),b.value=!1,Promise.reject("lastOption.children is empty");return w.value=c,null==(t=N.value)||t.setCursor(s),s}():async function(){const t=await f.addAsync(v(h.wordbook,h.autograph,e,n(m)));if(!t.length)return i?d(e):Promise.reject("childrenList is empty");e.children=t.map((t=>C.enrichChildOption(t,e,j.value)))}():async function(){var r;const i=await f.addAsync(v(h.wordbook,h.autograph,e,n(m)));w.value=i.map((e=>C.enrichKeywordOption(e,t))),t&&(null==(r=N.value)||r.setCursor(w.value[0]))}()}catch(e){a(e)&&console.error(e)}function d(e){return g.value=C.createOptionValue(e),b.value=!1,Promise.reject("update value success, no need to continue")}function v(e,r,n,i){const o={autograph:()=>r,wordbookId:"id",wordbookType:"type",fieldKeys:()=>e.search_key?JSON.stringify(e.search_key):void 0,conObj:()=>JSON.stringify(C.createConfigObject(e,t,n)),primaryKey:"primary_key",levelKey:"level_key",keyword:()=>t,page:()=>1},l=Object.entries(o).reduce(((t,[r,n])=>(t[r]=a(n)?e[n]:s(n)?n():void 0,t)),{});return{...K(),params:l,key:i,cache:h.requestCache,payload:{...k(),labelKey:_.value,valueKey:O.value}}}}return r((()=>h.wordbook),((e,t)=>{i(e,t)||(w.value=[],e&&(g.value||!h.lazyRequest)&&R())}),{immediate:!0}),{valueRef:g,labelKey:_,valueKey:O,optionsRef:w,showRef:b,fetchData:R,menuWidth:I,searchCascaderRef:N}}export{h as useLevelSearchCascader};
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from 'vue';
1
+ import { AnyObject } from '../../shared/types';
2
2
  import { CComponentThemeOverrides } from '../../components/config-provider';
3
- export declare function useTheme(defaultCssVars?: CSSProperties, componentKey?: keyof CComponentThemeOverrides): import("vue").ComputedRef<CSSProperties>;
3
+ export declare function useTheme(defaultCssVars?: AnyObject, componentKey?: keyof CComponentThemeOverrides): import("vue").ComputedRef<AnyObject>;
4
4
  export declare function createOpacityColor(r: number, g: number, b: number, a?: number, opacity?: number): string;
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",s="3.2.5-release.4",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.2.5-release.4",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
1
+ var e="@cnhis-design-vue/shared",i="3.2.6-beta.0",s="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.2.6-beta.0",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,s as main,e as name,n as peerDependencies,i as version};
@@ -1,5 +1,5 @@
1
1
  import { AnyObject } from '../../shared/types/index';
2
- export declare type IFlexibleType = {
2
+ export type IFlexibleType = {
3
3
  el: HTMLBaseElement;
4
4
  mode: string;
5
5
  onMove: (result: any) => void;
@@ -1,25 +1,25 @@
1
1
  import { App } from '@vue/runtime-core';
2
2
  export * from './business';
3
- export declare type SFCWithInstall<T> = T & {
3
+ export type SFCWithInstall<T> = T & {
4
4
  install: (app: App, ...options: any[]) => any;
5
5
  };
6
- export declare type AnyObject = Record<string, any>;
7
- export declare type AnyFn<T extends Array<any> = any[], P = any> = (...args: T) => P;
8
- export declare type Nullable<T> = T | null | undefined;
9
- export declare type UndefinedAble<T> = T | undefined;
10
- export declare type ArrayAble<T> = T | T[];
11
- export declare type Copy<T> = {
6
+ export type AnyObject = Record<string, any>;
7
+ export type AnyFn<T extends Array<any> = any[], P = any> = (...args: T) => P;
8
+ export type Nullable<T> = T | null | undefined;
9
+ export type UndefinedAble<T> = T | undefined;
10
+ export type ArrayAble<T> = T | T[];
11
+ export type Copy<T> = {
12
12
  [K in keyof T]: T[K];
13
13
  };
14
- export declare type PropertyRequired<T, K extends keyof T> = Copy<{
14
+ export type PropertyRequired<T, K extends keyof T> = Copy<{
15
15
  [KEY in keyof T as KEY extends K ? never : KEY]: T[KEY];
16
16
  } & {
17
17
  [KEY in K]-?: T[KEY];
18
18
  }>;
19
- export declare type TupleToUnion<T extends readonly unknown[]> = T[number];
20
- declare type UnionToIntersection<T> = (T extends T ? (params: T) => any : never) extends (P: infer R) => any ? R : never;
21
- export declare type UnionToTuple<T, Result extends unknown[] = []> = UnionToIntersection<T extends any ? () => T : never> extends () => infer Return ? UnionToTuple<Exclude<T, Return>, [Return, ...Result]> : Result;
22
- export declare type MaybeString<T extends string | number> = T | `${T}`;
23
- export declare type GetFn<T> = T extends (...args: any[]) => any ? T : never;
24
- export declare type NumberRange<From extends number, End extends number, Result extends number[] = [], U extends readonly unknown[] = [], Flag = false> = U['length'] extends End ? [...Result, U['length']] : U['length'] extends From ? NumberRange<From, End, [...Result, U['length']], [unknown, ...U], true> : Flag extends true ? NumberRange<From, End, [...Result, U['length']], [unknown, ...U], Flag> : NumberRange<From, End, Result, [unknown, ...U], Flag>;
25
- export declare type ConstructorParams<T = any> = T extends new (...args: infer P) => any ? P : never;
19
+ export type TupleToUnion<T extends readonly unknown[]> = T[number];
20
+ type UnionToIntersection<T> = (T extends T ? (params: T) => any : never) extends (P: infer R) => any ? R : never;
21
+ export type UnionToTuple<T, Result extends unknown[] = []> = UnionToIntersection<T extends any ? () => T : never> extends () => infer Return ? UnionToTuple<Exclude<T, Return>, [Return, ...Result]> : Result;
22
+ export type MaybeString<T extends string | number> = T | `${T}`;
23
+ export type GetFn<T> = T extends (...args: any[]) => any ? T : never;
24
+ export type NumberRange<From extends number, End extends number, Result extends number[] = [], U extends readonly unknown[] = [], Flag = false> = U['length'] extends End ? [...Result, U['length']] : U['length'] extends From ? NumberRange<From, End, [...Result, U['length']], [unknown, ...U], true> : Flag extends true ? NumberRange<From, End, [...Result, U['length']], [unknown, ...U], Flag> : NumberRange<From, End, Result, [unknown, ...U], Flag>;
25
+ export type ConstructorParams<T = any> = T extends new (...args: infer P) => any ? P : never;
@@ -1,3 +1,3 @@
1
1
  export default AsyncParallelBailHook;
2
2
  declare function AsyncParallelBailHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default AsyncParallelHook;
2
2
  declare function AsyncParallelHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default AsyncSeriesBailHook;
2
2
  declare function AsyncSeriesBailHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default AsyncSeriesHook;
2
2
  declare function AsyncSeriesHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default AsyncSeriesLoopHook;
2
2
  declare function AsyncSeriesLoopHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default AsyncSeriesWaterfallHook;
2
2
  declare function AsyncSeriesWaterfallHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default SyncBailHook;
2
2
  declare function SyncBailHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default SyncHook;
2
2
  declare function SyncHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default SyncLoopHook;
2
2
  declare function SyncLoopHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -1,3 +1,3 @@
1
1
  export default SyncWaterfallHook;
2
2
  declare function SyncWaterfallHook(args?: any[], name?: undefined): Hook;
3
- import Hook from "./Hook";
3
+ import Hook from './Hook';
@@ -6,5 +6,5 @@ export function handleLabelColor(item: any, isSelect: any): {
6
6
  };
7
7
  export default vexutilsExpand;
8
8
  export { moment };
9
- import vexutilsExpand from "./vexutilsExpand";
10
- import moment from "moment";
9
+ import vexutilsExpand from './vexutilsExpand';
10
+ import moment from 'moment';