cnhis-design-vue 3.1.55-release.1 → 3.1.56-beta.7

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 (374) hide show
  1. package/es/components/annotation-edit/index.d.ts +19 -1
  2. package/es/components/annotation-edit/src/AnnotationEdit.d.ts +19 -1
  3. package/es/components/annotation-edit/src/AnnotationEdit.js +1 -1
  4. package/es/components/annotation-edit/src/type.d.ts +4 -0
  5. package/es/components/audio-sdk/src/audioSDK.d.ts +21 -7
  6. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  7. package/es/components/audio-sdk/src/components/recordingDialog.vue.d.ts +14 -0
  8. package/es/components/audio-sdk/src/components/recordingDialog.vue2.js +1 -1
  9. package/es/components/audio-sdk/src/utils/recordingDialog.d.ts +5 -2
  10. package/es/components/audio-sdk/src/utils/recordingDialog.js +1 -1
  11. package/es/components/audio-sdk/style/index.css +1 -1
  12. package/es/components/base-search/index.d.ts +15 -1
  13. package/es/components/base-search/src/index.vue.d.ts +18 -4
  14. package/es/components/base-search/src/index.vue2.js +1 -1
  15. package/es/components/base-search/style/index.css +1 -1
  16. package/es/components/big-table/index.d.ts +22 -22
  17. package/es/components/big-table/src/BigTable.vue.d.ts +2 -2
  18. package/es/components/big-table/src/bigTableProps.d.ts +1 -1
  19. package/es/components/big-table/src/components/edit-form/edit-separate.vue.d.ts +5 -5
  20. package/es/components/big-table/src/components/edit-form/useCommon.d.ts +1 -1
  21. package/es/components/big-table/src/components/separate.vue.d.ts +1 -1
  22. package/es/components/big-table/src/constants/index.d.ts +1 -1
  23. package/es/components/big-table/src/hooks/useAnnotation.d.ts +1 -1
  24. package/es/components/big-table/src/hooks/useFormat.d.ts +1 -1
  25. package/es/components/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  26. package/es/components/big-table/src/utils.d.ts +1 -1
  27. package/es/components/biunique-chat/index.d.ts +14 -14
  28. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +1 -1
  29. package/es/components/biunique-chat/src/api/index.d.ts +1 -1
  30. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +1 -1
  31. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +1 -1
  32. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +1 -1
  33. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +1 -1
  34. package/es/components/biunique-chat/src/utils/chatSock.d.ts +1 -1
  35. package/es/components/body-select/index.d.ts +5 -5
  36. package/es/components/body-select/src/hooks/renderCanvas.d.ts +2 -2
  37. package/es/components/body-select/src/index.vue.d.ts +1 -1
  38. package/es/components/bpmn-workflow/index.d.ts +1 -1
  39. package/es/components/button-print/index.d.ts +21 -21
  40. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  41. package/es/components/button-print/src/api.d.ts +1 -1
  42. package/es/components/button-print/src/components/EditFormat.vue.d.ts +1 -1
  43. package/es/components/button-print/src/utils/dialog.d.ts +1 -1
  44. package/es/components/button-print/src/utils/print.d.ts +5 -2
  45. package/es/components/button-print/src/utils/print.js +1 -1
  46. package/es/components/callback/index.d.ts +1 -1
  47. package/es/components/callback/src/components/dialog/drawer.vue.d.ts +1 -1
  48. package/es/components/callback/src/components/dialog/modal.vue.d.ts +1 -1
  49. package/es/components/callback/src/components/render/popupMaps.d.ts +74 -166
  50. package/es/components/card-reader-sdk/src/cardReaderSDK.d.ts +1 -1
  51. package/es/components/card-reader-sdk/src/components/readCardDialog.vue.d.ts +1 -1
  52. package/es/components/card-reader-sdk/src/constants/index.d.ts +1 -1
  53. package/es/components/card-reader-sdk/src/insuranceSDK.d.ts +1 -1
  54. package/es/components/card-reader-sdk/src/types/index.d.ts +2 -2
  55. package/es/components/card-reader-sdk/src/utils/readHealthCard.d.ts +1 -1
  56. package/es/components/classification/index.d.ts +40 -42
  57. package/es/components/classification/src/components/search-filter/index.vue.d.ts +14 -0
  58. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  59. package/es/components/classification/src/components/set-classification/index.vue.d.ts +33 -35
  60. package/es/components/classification/src/components/set-classification/index.vue2.js +1 -1
  61. package/es/components/classification/src/components/table-modal/index.vue.d.ts +10 -21
  62. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  63. package/es/components/classification/src/index.vue.d.ts +33 -35
  64. package/es/components/classification/src/index.vue2.js +1 -1
  65. package/es/components/config-provider/index.d.ts +1 -1
  66. package/es/components/date-picker/index.d.ts +2 -2
  67. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  68. package/es/components/editor/index.d.ts +1 -1
  69. package/es/components/expand-field/index.d.ts +29 -29
  70. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +2 -2
  71. package/es/components/expand-field/src/components/form.vue.d.ts +2 -2
  72. package/es/components/expand-field/src/constants/index.d.ts +1 -1
  73. package/es/components/expand-field/src/index.vue.d.ts +2 -2
  74. package/es/components/fabric-chart/index.d.ts +10 -8
  75. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -3
  76. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  77. package/es/components/fabric-chart/src/components/PopupTip.vue.d.ts +1 -1
  78. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.d.ts +3 -3
  79. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  80. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +3 -3
  81. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  82. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.d.ts +2 -2
  83. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.d.ts +2 -2
  84. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  85. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +4 -4
  86. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  87. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.d.ts +2 -2
  88. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  89. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +3 -3
  90. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  91. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.d.ts +3 -3
  92. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +3 -3
  93. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  94. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +3 -3
  95. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  96. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +3 -3
  97. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +2 -2
  98. package/es/components/fabric-chart/src/hooks/temperature/useCenter.d.ts +3 -3
  99. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  100. package/es/components/fabric-chart/src/hooks/temperature/useLeft.d.ts +2 -2
  101. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +2 -2
  102. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +2 -2
  103. package/es/components/fabric-chart/src/hooks/temperature/useShadow.d.ts +1 -1
  104. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +3 -3
  105. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  106. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +2 -2
  107. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  108. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +2 -2
  109. package/es/components/fabric-chart/src/hooks/useCumputedPoint.d.ts +1 -1
  110. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +2 -2
  111. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  112. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  113. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +2 -2
  114. package/es/components/fabric-chart/src/interface.d.ts +2 -2
  115. package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
  116. package/es/components/field-set/index.d.ts +15 -15
  117. package/es/components/field-set/src/FieldSet.vue.d.ts +5 -5
  118. package/es/components/field-set/src/components/Row.vue.d.ts +2 -2
  119. package/es/components/field-set/src/types/index.d.ts +1 -1
  120. package/es/components/field-set/src/utils/index.d.ts +3 -3
  121. package/es/components/form-config/index.d.ts +322 -475
  122. package/es/components/form-config/src/FormConfig.vue.d.ts +448 -601
  123. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +40 -132
  124. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +1 -1
  125. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +214 -291
  126. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +2 -2
  127. package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -1
  128. package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +1 -1
  129. package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +2 -2
  130. package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +2 -2
  131. package/es/components/form-config/src/constants/index.d.ts +2 -2
  132. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +3 -3
  133. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  134. package/es/components/form-config/src/hooks/useSortalbeConfig.d.ts +1 -1
  135. package/es/components/form-config/src/types/index.d.ts +2 -2
  136. package/es/components/form-config/src/utils/index.d.ts +3 -3
  137. package/es/components/form-render/index.d.ts +69 -161
  138. package/es/components/form-render/src/FormRender.vue.d.ts +39 -131
  139. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  140. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +92 -184
  141. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +1 -1
  142. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  143. package/es/components/form-render/src/components/renderer/combination/hooks/useDeepValidate.d.ts +1 -1
  144. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +1 -1
  145. package/es/components/form-render/src/components/renderer/combination/tableCombination.d.ts +2 -2
  146. package/es/components/form-render/src/components/renderer/formItem.d.ts +1 -1
  147. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  148. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +1 -1
  149. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.d.ts +1 -1
  150. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
  151. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  152. package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +2 -2
  153. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +2 -2
  154. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +2 -2
  155. package/es/components/form-render/src/components/renderer/select.d.ts +3 -3
  156. package/es/components/form-render/src/components/renderer/simpleComponent.d.ts +1 -1
  157. package/es/components/form-render/src/constants/index.d.ts +6 -5
  158. package/es/components/form-render/src/constants/index.js +1 -1
  159. package/es/components/form-render/src/hooks/useAnchor.d.ts +2 -2
  160. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +1 -1
  161. package/es/components/form-render/src/hooks/useCommonInjection.d.ts +1 -1
  162. package/es/components/form-render/src/hooks/useComplexOptions.d.ts +3 -3
  163. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  164. package/es/components/form-render/src/hooks/useFieldListAdaptor.d.ts +1 -1
  165. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +27 -19
  166. package/es/components/form-render/src/hooks/useFormContext.d.ts +6 -6
  167. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  168. package/es/components/form-render/src/hooks/useFormEvent.d.ts +4 -25
  169. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  170. package/es/components/form-render/src/hooks/useFormItemDeps.d.ts +3 -3
  171. package/es/components/form-render/src/hooks/useFormItemDeps.js +1 -1
  172. package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +8 -8
  173. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +4 -4
  174. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  175. package/es/components/form-render/src/hooks/useFormValidator.d.ts +1 -1
  176. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  177. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +1 -1
  178. package/es/components/form-render/src/hooks/useWordbookSetting.d.ts +2 -2
  179. package/es/components/form-render/src/types/fieldItem.d.ts +3 -3
  180. package/es/components/form-render/src/types/index.d.ts +18 -16
  181. package/es/components/form-render/src/utils/business.d.ts +2 -2
  182. package/es/components/form-render/src/utils/dom.d.ts +1 -1
  183. package/es/components/form-render/src/utils/index.d.ts +1 -1
  184. package/es/components/form-render/src/utils/schema.d.ts +3 -3
  185. package/es/components/form-render/src/utils/schema.js +1 -1
  186. package/es/components/grid/index.d.ts +1 -1
  187. package/es/components/guide/src/renderer.d.ts +1 -1
  188. package/es/components/guide/src/types/index.d.ts +1 -1
  189. package/es/components/guide/src/useGuide.d.ts +1 -1
  190. package/es/components/guide/src/utils/index.d.ts +1 -1
  191. package/es/components/iho-table/index.d.ts +39 -39
  192. package/es/components/iho-table/src/IhoTable.vue.d.ts +27 -27
  193. package/es/components/iho-table/src/constants/index.d.ts +5 -5
  194. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +9 -9
  195. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +21 -21
  196. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +10 -10
  197. package/es/components/iho-table/src/hooks/tapHooks/useDomInsertHooks.d.ts +4 -4
  198. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +65 -65
  199. package/es/components/iho-table/src/hooks/tapHooks/useExposeHooks.d.ts +4 -4
  200. package/es/components/iho-table/src/hooks/tapHooks/useFieldHooks.d.ts +7 -7
  201. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +3 -3
  202. package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.d.ts +1 -1
  203. package/es/components/iho-table/src/hooks/useTablePlugin.d.ts +2 -2
  204. package/es/components/iho-table/src/plugins/anchorPlugin/index.d.ts +1 -1
  205. package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +1 -1
  206. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.d.ts +1 -1
  207. package/es/components/iho-table/src/plugins/colorAndIconPlugin.d.ts +1 -1
  208. package/es/components/iho-table/src/plugins/copyPastePlugin.d.ts +1 -1
  209. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.d.ts +1 -1
  210. package/es/components/iho-table/src/plugins/defaultValuePlugin.d.ts +1 -1
  211. package/es/components/iho-table/src/plugins/defaultValuePlugin.js +1 -1
  212. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  213. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.d.ts +1 -1
  214. package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -1
  215. package/es/components/iho-table/src/plugins/filterVisibleEventPlugin.d.ts +1 -1
  216. package/es/components/iho-table/src/plugins/forceArrowKeyPlugin.d.ts +1 -1
  217. package/es/components/iho-table/src/plugins/headerPlugin.d.ts +1 -1
  218. package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
  219. package/es/components/iho-table/src/plugins/highLightSetPlugin.d.ts +1 -1
  220. package/es/components/iho-table/src/plugins/index.d.ts +1 -1
  221. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -1
  222. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.d.ts +1 -1
  223. package/es/components/iho-table/src/plugins/maxCheckSizePlugin.d.ts +1 -1
  224. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -1
  225. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -2
  226. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.d.ts +1 -1
  227. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +1 -1
  228. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +1 -1
  229. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.d.ts +1 -1
  230. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.d.ts +1 -1
  231. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/levelSearchCascade.vue.d.ts +7 -7
  232. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.d.ts +1 -1
  233. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  234. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/radioRendererPlugin.d.ts +1 -1
  235. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +8 -2
  236. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  237. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.d.ts +1 -1
  238. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  239. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -2
  240. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
  241. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.d.ts +1 -1
  242. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.d.ts +2 -2
  243. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +2 -2
  244. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.d.ts +1 -1
  245. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.d.ts +1 -1
  246. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.d.ts +1 -1
  247. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.d.ts +1 -1
  248. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/htmlRendererPlugin.d.ts +1 -1
  249. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.d.ts +1 -1
  250. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.d.ts +1 -1
  251. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/seqRendererPlugin.d.ts +1 -1
  252. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +1 -1
  253. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +1 -1
  254. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/index.d.ts +1 -1
  255. package/es/components/iho-table/src/plugins/rowGroupSettingPlugin/rowGroupUtils.d.ts +2 -2
  256. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.d.ts +1 -1
  257. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.d.ts +1 -1
  258. package/es/components/iho-table/src/plugins/wordbookSettingPlugin.d.ts +1 -1
  259. package/es/components/iho-table/src/types/index.d.ts +3 -3
  260. package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
  261. package/es/components/iho-table/src/utils/index.d.ts +3 -3
  262. package/es/components/iho-table/src/utils/separateMap.d.ts +2 -2
  263. package/es/components/index.css +1 -1
  264. package/es/components/index.d.ts +3 -3
  265. package/es/components/info-header/index.d.ts +213 -377
  266. package/es/components/info-header/src/InfoHeader.vue.d.ts +242 -406
  267. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +11 -7
  268. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +13 -9
  269. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +119 -207
  270. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +41 -133
  271. package/es/components/info-header/src/constants/index.d.ts +1 -1
  272. package/es/components/info-header/src/types/index.d.ts +1 -1
  273. package/es/components/keyboard/index.d.ts +1 -1
  274. package/es/components/map/index.d.ts +1 -1
  275. package/es/components/map/src/Map.vue.d.ts +1 -1
  276. package/es/components/picture-clipper/index.d.ts +1 -1
  277. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +1 -1
  278. package/es/components/quick-search/index.d.ts +1 -1
  279. package/es/components/quick-search/src/index.vue.d.ts +4 -4
  280. package/es/components/recommend-search/index.d.ts +33 -33
  281. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +15 -15
  282. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  283. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +6 -6
  284. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +5 -5
  285. package/es/components/scale-view/index.d.ts +1 -1
  286. package/es/components/scale-view/src/hooks/use-component.d.ts +33 -33
  287. package/es/components/scale-view/src/types/index.d.ts +1 -1
  288. package/es/components/search-cascader/index.d.ts +34 -34
  289. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +1 -1
  290. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  291. package/es/components/search-cascader/src/constants/index.d.ts +1 -1
  292. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  293. package/es/components/select-label/index.d.ts +1 -1
  294. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  295. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  296. package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue.d.ts +3 -3
  297. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue.d.ts +3 -3
  298. package/es/components/select-label/src/ihoLabel/iho-label-classify.vue.d.ts +1 -1
  299. package/es/components/select-label/src/index.vue.d.ts +19 -19
  300. package/es/components/select-person/index.d.ts +22 -22
  301. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  302. package/es/components/shortcut-provider/index.d.ts +1 -1
  303. package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +2 -2
  304. package/es/components/shortcut-provider/src/constants/index.d.ts +1 -1
  305. package/es/components/shortcut-provider/src/hooks/useShortcuts.d.ts +1 -1
  306. package/es/components/shortcut-provider/src/types/index.d.ts +1 -1
  307. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  308. package/es/components/shortcut-setter/index.d.ts +85 -176
  309. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +118 -209
  310. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.d.ts +2 -2
  311. package/es/components/shortcut-setter/src/types/index.d.ts +1 -1
  312. package/es/components/slider-tree/index.d.ts +1 -1
  313. package/es/components/steps-wheel/index.d.ts +1 -1
  314. package/es/components/table-export-field/index.d.ts +3 -3
  315. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -1
  316. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +1 -1
  317. package/es/components/table-export-field/src/constants/index.d.ts +1 -1
  318. package/es/components/table-export-field/src/index.vue.d.ts +1 -1
  319. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +1 -1
  320. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +2 -2
  321. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +14 -0
  322. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +14 -0
  323. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +14 -0
  324. package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +1 -1
  325. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -1
  326. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +16 -2
  327. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +1 -1
  328. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
  329. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +2 -2
  330. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  331. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
  332. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +2 -2
  333. package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue.d.ts +1 -1
  334. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +2 -2
  335. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +1 -1
  336. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +19 -0
  337. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  338. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +15 -1
  339. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  340. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +19 -0
  341. package/es/components/table-filter/src/components/render-widget/helpers/setDefaultValue.d.ts +1 -1
  342. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +28 -9
  343. package/es/components/table-filter/src/constants/index.d.ts +1 -1
  344. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
  345. package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
  346. package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +1 -1
  347. package/es/components/table-filter/src/tool/transformData.d.ts +1 -1
  348. package/es/components/table-filter/src/types/index.d.ts +1 -0
  349. package/es/components/time-line/index.d.ts +1 -1
  350. package/es/components/time-picker/index.d.ts +2 -2
  351. package/es/components/time-picker/src/TimePicker.vue.d.ts +1 -1
  352. package/es/components/vod-chunk-upload/index.d.ts +1 -1
  353. package/es/shared/components/InputNumberSlash/InputNumberSlash.d.ts +5 -3
  354. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  355. package/es/shared/components/SelectPage/SelectPage.vue.d.ts +1 -1
  356. package/es/shared/components/SlotRender/SlotRender.d.ts +1 -1
  357. package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +1 -1
  358. package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
  359. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  360. package/es/shared/hooks/selectHooks/useSelectAllowModify.d.ts +1 -1
  361. package/es/shared/hooks/selectHooks/useSelectRenders.d.ts +2 -2
  362. package/es/shared/hooks/selectHooks/useSelectRenders.js +1 -1
  363. package/es/shared/hooks/useAsyncQueue/types.d.ts +1 -1
  364. package/es/shared/hooks/useDateTime.d.ts +1 -1
  365. package/es/shared/hooks/useFormRequest/index.d.ts +2 -2
  366. package/es/shared/hooks/useFormRequest/types.d.ts +2 -2
  367. package/es/shared/hooks/useLevelSearchCascader.d.ts +2 -2
  368. package/es/shared/hooks/useTheme.d.ts +1 -1
  369. package/es/shared/package.json.js +1 -1
  370. package/es/shared/types/business.d.ts +1 -1
  371. package/es/shared/utils/business.d.ts +1 -1
  372. package/es/shared/utils/business.js +1 -1
  373. package/es/shared/utils/index.d.ts +1 -1
  374. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { AnyObject } from '../../../../es/shared/types';
2
- import { ShortcutSignatureInfo } from '../../../../es/components/shortcut-provider';
1
+ import { AnyObject } from '../../../shared/types';
2
+ import { ShortcutSignatureInfo } from '../../../components/shortcut-provider';
3
3
  declare enum ShortcutInputState {
4
4
  STATIC = 0,
5
5
  EDIT = 1
@@ -1,4 +1,4 @@
1
- import { ShortcutSignatureInfo } from '../../../../../es/components/shortcut-provider';
1
+ import { ShortcutSignatureInfo } from '../../../../components/shortcut-provider';
2
2
  export interface ShortcutSetterExpose {
3
3
  loadSignature(): void;
4
4
  getSignature(): Record<string, ShortcutSignatureInfo>;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  export * from './src/utils';
3
3
  declare const CSliderTree: SFCWithInstall<import("vue").DefineComponent<{
4
4
  sliderInitialWidth: {
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const StepsWheel: SFCWithInstall<import("vue").DefineComponent<{
3
3
  stepInfo: {
4
4
  type: ObjectConstructor;
@@ -1,4 +1,4 @@
1
- import { SFCWithInstall } from '../../../es/shared/types';
1
+ import { SFCWithInstall } from '../../shared/types';
2
2
  declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
3
3
  visible: {
4
4
  type: BooleanConstructor;
@@ -148,7 +148,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
148
148
  isSelectAll: import("vue").Ref<boolean>;
149
149
  isIndeterminate: import("vue").Ref<boolean>;
150
150
  fieldCheckList: import("vue").Ref<any[]>;
151
- exportApiConfig: import("../../../es/shared/types").AnyObject;
151
+ exportApiConfig: import("../../shared/types").AnyObject;
152
152
  curSchemeId: import("vue").ComputedRef<string>;
153
153
  dragEnd: () => void;
154
154
  deleteExportSchemeItem: (schemeId: string) => Promise<import("naive-ui").MessageReactive | undefined>;
@@ -401,7 +401,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
401
401
  };
402
402
  selectProject: import("vue").Ref<any>;
403
403
  projectList: import("vue").Ref<any[]>;
404
- exportApiConfig: import("../../../es/shared/types").AnyObject;
404
+ exportApiConfig: import("../../shared/types").AnyObject;
405
405
  handleRadioChange: (value: string | number | boolean) => void;
406
406
  validateProjectName: () => boolean;
407
407
  getParams: () => {
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../../es/components/table-export-field/src/types';
2
+ import { IExportSchemeType } from '../../../../components/table-export-field/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../../es/components/table-export-field/src/types';
2
+ import { IExportSchemeType } from '../../../../components/table-export-field/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -1,3 +1,3 @@
1
- import { AnyObject } from '../../../../../es/shared/types';
1
+ import { AnyObject } from '../../../../shared/types';
2
2
  import { InjectionKey } from 'vue';
3
3
  export declare const InjectionExportApiConfig: InjectionKey<AnyObject>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IExportSchemeType } from '../../../../es/components/table-export-field/src/types';
2
+ import { IExportSchemeType } from '../../../components/table-export-field/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  visible: {
5
5
  type: BooleanConstructor;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ISearchConfigType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ISearchConfigType } from '../../../../../../components/table-filter/src/types';
3
3
  export declare const useBiConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
4
4
  State: any;
5
5
  paramOptions: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IClassifyListType, ICategoryItemType } from '../../../../../../es/components/table-filter/src/types';
2
+ import { IClassifyListType, ICategoryItemType } from '../../../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  actionList_prop: {
5
5
  type: PropType<IClassifyListType>;
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
94
94
  updateKey: (index: number, val: any) => void;
95
95
  updateCondition: (index: number, val: any) => void;
96
96
  getParamCfg: (key: string) => any;
97
- initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
97
+ initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType[]) => Promise<void>;
98
98
  getRawFilterConditions: () => any;
99
99
  isShowValueCfg: (con: string) => boolean;
100
100
  handleEditDisplayCategory: (item: ICategoryItemType) => void;
@@ -461,6 +461,10 @@ declare const _default: import("vue").DefineComponent<{
461
461
  type: BooleanConstructor;
462
462
  default: boolean;
463
463
  };
464
+ loading: {
465
+ type: BooleanConstructor;
466
+ default: boolean;
467
+ };
464
468
  }, {
465
469
  selectMinWidth: number;
466
470
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -492,6 +496,10 @@ declare const _default: import("vue").DefineComponent<{
492
496
  type: BooleanConstructor;
493
497
  default: boolean;
494
498
  };
499
+ loading: {
500
+ type: BooleanConstructor;
501
+ default: boolean;
502
+ };
495
503
  }>> & {
496
504
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
497
505
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -500,6 +508,7 @@ declare const _default: import("vue").DefineComponent<{
500
508
  dragEndWidth: import("vue").Ref<number>;
501
509
  showKeys: import("vue").ComputedRef<any>;
502
510
  titleList: import("vue").ComputedRef<string[]>;
511
+ isOptionsNull: import("vue").ComputedRef<boolean>;
503
512
  handleSelect: (option: any) => void;
504
513
  searchByPage: (onePage: number) => void;
505
514
  changeWidth: ({ distance }: any) => void;
@@ -575,10 +584,15 @@ declare const _default: import("vue").DefineComponent<{
575
584
  type: BooleanConstructor;
576
585
  default: boolean;
577
586
  };
587
+ loading: {
588
+ type: BooleanConstructor;
589
+ default: boolean;
590
+ };
578
591
  }>> & {
579
592
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
580
593
  onUpdatePage?: ((...args: any[]) => any) | undefined;
581
594
  }, {
595
+ loading: boolean;
582
596
  dynamicOptionInfo: import("../../../..").AnyObject;
583
597
  fieldTitleList: import("../../../..").AnyObject[];
584
598
  optionList: import("../../../..").AnyObject[];
@@ -84,6 +84,10 @@ declare const _default: import("vue").DefineComponent<{
84
84
  type: BooleanConstructor;
85
85
  default: boolean;
86
86
  };
87
+ loading: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
87
91
  }, {
88
92
  selectMinWidth: number;
89
93
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -115,6 +119,10 @@ declare const _default: import("vue").DefineComponent<{
115
119
  type: BooleanConstructor;
116
120
  default: boolean;
117
121
  };
122
+ loading: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
118
126
  }>> & {
119
127
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
120
128
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -123,6 +131,7 @@ declare const _default: import("vue").DefineComponent<{
123
131
  dragEndWidth: import("vue").Ref<number>;
124
132
  showKeys: import("vue").ComputedRef<any>;
125
133
  titleList: import("vue").ComputedRef<string[]>;
134
+ isOptionsNull: import("vue").ComputedRef<boolean>;
126
135
  handleSelect: (option: any) => void;
127
136
  searchByPage: (onePage: number) => void;
128
137
  changeWidth: ({ distance }: any) => void;
@@ -198,10 +207,15 @@ declare const _default: import("vue").DefineComponent<{
198
207
  type: BooleanConstructor;
199
208
  default: boolean;
200
209
  };
210
+ loading: {
211
+ type: BooleanConstructor;
212
+ default: boolean;
213
+ };
201
214
  }>> & {
202
215
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
203
216
  onUpdatePage?: ((...args: any[]) => any) | undefined;
204
217
  }, {
218
+ loading: boolean;
205
219
  dynamicOptionInfo: import("../../../../..").AnyObject;
206
220
  fieldTitleList: import("../../../../..").AnyObject[];
207
221
  optionList: import("../../../../..").AnyObject[];
@@ -418,6 +418,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
418
418
  type: BooleanConstructor;
419
419
  default: boolean;
420
420
  };
421
+ loading: {
422
+ type: BooleanConstructor;
423
+ default: boolean;
424
+ };
421
425
  }, {
422
426
  selectMinWidth: number;
423
427
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -449,6 +453,10 @@ declare const SelectDynamic: import("vue").DefineComponent<{
449
453
  type: BooleanConstructor;
450
454
  default: boolean;
451
455
  };
456
+ loading: {
457
+ type: BooleanConstructor;
458
+ default: boolean;
459
+ };
452
460
  }>> & {
453
461
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
454
462
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -457,6 +465,7 @@ declare const SelectDynamic: import("vue").DefineComponent<{
457
465
  dragEndWidth: import("vue").Ref<number>;
458
466
  showKeys: import("vue").ComputedRef<any>;
459
467
  titleList: import("vue").ComputedRef<string[]>;
468
+ isOptionsNull: import("vue").ComputedRef<boolean>;
460
469
  handleSelect: (option: any) => void;
461
470
  searchByPage: (onePage: number) => void;
462
471
  changeWidth: ({ distance }: any) => void;
@@ -532,10 +541,15 @@ declare const SelectDynamic: import("vue").DefineComponent<{
532
541
  type: BooleanConstructor;
533
542
  default: boolean;
534
543
  };
544
+ loading: {
545
+ type: BooleanConstructor;
546
+ default: boolean;
547
+ };
535
548
  }>> & {
536
549
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
537
550
  onUpdatePage?: ((...args: any[]) => any) | undefined;
538
551
  }, {
552
+ loading: boolean;
539
553
  dynamicOptionInfo: import("../../../../..").AnyObject;
540
554
  fieldTitleList: import("../../../../..").AnyObject[];
541
555
  optionList: import("../../../../..").AnyObject[];
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ICategoryItemType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ICategoryItemType } from '../../../../../../components/table-filter/src/types';
3
3
  export declare const useDisplayCategory: (selectedDisplayCategory: Ref, { conditionList }: any, $message: any) => {
4
4
  State: {
5
5
  addDisplayCategory: string;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { ISearchConfigType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ISearchConfigType } from '../../../../../../components/table-filter/src/types';
3
3
  export declare const useFilterConditions: (filterConditions: Ref, selectList: any, dataType: string) => {
4
4
  State: any;
5
5
  paramOptions: import("vue").ComputedRef<any>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { IClassifyListType, ICategoryItemType } from '../../../../../../es/components/table-filter/src/types';
2
+ import { IClassifyListType, ICategoryItemType } from '../../../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  actionList_prop: {
5
5
  type: PropType<IClassifyListType>;
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  updateKey: (index: number, val: any) => void;
102
102
  updateCondition: (index: number, val: any) => void;
103
103
  getParamCfg: (key: string) => any;
104
- initFilterConditions: (tableId: string, rawConditions: import("../../../../../../es/components/table-filter/src/types").ISearchConfigType) => Promise<void>;
104
+ initFilterConditions: (tableId: string, rawConditions: import("../../../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
105
105
  getRawFilterConditions: () => any[];
106
106
  handleEditDisplayCategory: (item: ICategoryItemType) => void;
107
107
  handleDisplayCategoryAddState: () => void;
@@ -585,6 +585,10 @@ declare const _default: import("vue").DefineComponent<{
585
585
  type: BooleanConstructor;
586
586
  default: boolean;
587
587
  };
588
+ loading: {
589
+ type: BooleanConstructor;
590
+ default: boolean;
591
+ };
588
592
  }, {
589
593
  selectMinWidth: number;
590
594
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -616,6 +620,10 @@ declare const _default: import("vue").DefineComponent<{
616
620
  type: BooleanConstructor;
617
621
  default: boolean;
618
622
  };
623
+ loading: {
624
+ type: BooleanConstructor;
625
+ default: boolean;
626
+ };
619
627
  }>> & {
620
628
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
621
629
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -624,6 +632,7 @@ declare const _default: import("vue").DefineComponent<{
624
632
  dragEndWidth: import("vue").Ref<number>;
625
633
  showKeys: import("vue").ComputedRef<any>;
626
634
  titleList: import("vue").ComputedRef<string[]>;
635
+ isOptionsNull: import("vue").ComputedRef<boolean>;
627
636
  handleSelect: (option: any) => void;
628
637
  searchByPage: (onePage: number) => void;
629
638
  changeWidth: ({ distance }: any) => void;
@@ -699,10 +708,15 @@ declare const _default: import("vue").DefineComponent<{
699
708
  type: BooleanConstructor;
700
709
  default: boolean;
701
710
  };
711
+ loading: {
712
+ type: BooleanConstructor;
713
+ default: boolean;
714
+ };
702
715
  }>> & {
703
716
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
704
717
  onUpdatePage?: ((...args: any[]) => any) | undefined;
705
718
  }, {
719
+ loading: boolean;
706
720
  dynamicOptionInfo: import("../../../..").AnyObject;
707
721
  fieldTitleList: import("../../../..").AnyObject[];
708
722
  optionList: import("../../../..").AnyObject[];
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { ICheckboxType } from '../../../../../../../es/components/table-filter/src/types';
2
+ import { ICheckboxType } from '../../../../../../components/table-filter/src/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  options: {
5
5
  type: PropType<ICheckboxType[]>;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
83
83
  };
84
84
  init: () => void;
85
85
  NButton: any;
86
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
86
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
87
87
  updateUnchangedValue: {
88
88
  type: BooleanConstructor;
89
89
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
67
67
  };
68
68
  init: () => void;
69
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
69
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
70
70
  updateUnchangedValue: {
71
71
  type: BooleanConstructor;
72
72
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'date' | 'datetime';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  };
102
102
  init: () => void;
103
103
  NButton: any;
104
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
104
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
105
105
  updateUnchangedValue: {
106
106
  type: BooleanConstructor;
107
107
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare type ITypeDate = 'daterange' | 'datetimerange';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  type: {
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
68
68
  isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
69
69
  };
70
70
  init: () => void;
71
- CDatePicker: import("../../../../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
71
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
72
72
  updateUnchangedValue: {
73
73
  type: BooleanConstructor;
74
74
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../shared/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  componentCfg: {
5
5
  type: PropType<AnyObject>;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
- import { IFilterCategoryLabelItemType, IhoFilterTabLabelItemType } from '../../../../../../../es/components/table-filter/src/types';
3
- import { AnyObject } from '../../../../../../../es/shared/types';
2
+ import { IFilterCategoryLabelItemType, IhoFilterTabLabelItemType } from '../../../../../../components/table-filter/src/types';
3
+ import { AnyObject } from '../../../../../../shared/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
6
6
  type: PropType<AnyObject>;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { SelectOption } from 'naive-ui';
3
- import { AnyObject } from '../../../../../../../es/shared/types';
3
+ import { AnyObject } from '../../../../../../shared/types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  componentCfg: {
6
6
  type: PropType<AnyObject>;
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<{
7
7
  };
8
8
  }, {
9
9
  message: import("naive-ui").MessageApi;
10
+ tableType: {
11
+ SQL: string;
12
+ API: string;
13
+ };
10
14
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
11
15
  value: {
12
16
  type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
@@ -22,6 +26,7 @@ declare const _default: import("vue").DefineComponent<{
22
26
  [x: string]: unknown;
23
27
  };
24
28
  emit: (event: "update:value", ...args: any[]) => void;
29
+ selectDynamicRef: any;
25
30
  isLoading: import("vue").Ref<boolean>;
26
31
  filterApiConfig: import("../../../../..").AnyObject;
27
32
  searchFilterList: import("vue").Ref<import("../../../../..").AnyObject[]>;
@@ -87,6 +92,10 @@ declare const _default: import("vue").DefineComponent<{
87
92
  type: BooleanConstructor;
88
93
  default: boolean;
89
94
  };
95
+ loading: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
90
99
  }, {
91
100
  selectMinWidth: number;
92
101
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -118,6 +127,10 @@ declare const _default: import("vue").DefineComponent<{
118
127
  type: BooleanConstructor;
119
128
  default: boolean;
120
129
  };
130
+ loading: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
121
134
  }>> & {
122
135
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
123
136
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -126,6 +139,7 @@ declare const _default: import("vue").DefineComponent<{
126
139
  dragEndWidth: import("vue").Ref<number>;
127
140
  showKeys: import("vue").ComputedRef<any>;
128
141
  titleList: import("vue").ComputedRef<string[]>;
142
+ isOptionsNull: import("vue").ComputedRef<boolean>;
129
143
  handleSelect: (option: any) => void;
130
144
  searchByPage: (onePage: number) => void;
131
145
  changeWidth: ({ distance }: any) => void;
@@ -201,10 +215,15 @@ declare const _default: import("vue").DefineComponent<{
201
215
  type: BooleanConstructor;
202
216
  default: boolean;
203
217
  };
218
+ loading: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
204
222
  }>> & {
205
223
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
206
224
  onUpdatePage?: ((...args: any[]) => any) | undefined;
207
225
  }, {
226
+ loading: boolean;
208
227
  dynamicOptionInfo: import("../../../../..").AnyObject;
209
228
  fieldTitleList: import("../../../../..").AnyObject[];
210
229
  optionList: import("../../../../..").AnyObject[];
@@ -1 +1 @@
1
- import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as n,nextTick as u,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as c,withCtx as v,createVNode as p,h as f}from"vue";import{useMessage as m,NSelect as d,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as O}from"../helpers/selectExtraMap.js";import{WidgetValEnums as S}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import C from"./SelectDynamicOption/index.vue.js";import{isEqual as N,cloneDeep as A}from"lodash-es";var L=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:L}){const P=e,k=m(),{getDynamicSelectData:x}=h(),D=a(),J=l(!1),E=t(b),I=t(j),K=l(1),$=l(),T=l([JSON.parse(JSON.stringify(O))]),U=l([]),W=l(),M=l(0),_={class:"select-dynamic-popover"},F=n((()=>D.multiple)),H=n((()=>{const{widgetCfg:e}=P.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),V=n((()=>{const{widgetCfg:e}=P.componentCfg,{showWholeOption:a=!1}=e;return a&&1===K.value})),q=n((()=>M.value>0&&K.value>=M.value)),z=n((()=>{var e;if(Array.isArray(P.value)&&P.value.length>0){const e=P.value;if(G(e),!F.value&&1==e.length){const a=T.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]}}const a=T.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return G([]),null!=(e=P.value)?e:null})),B=n((()=>{if(Object.keys(H.value).length>0){const{defaultParams:e=[]}=H.value;return w(e)&&!P.value}return!1}));function G(e){T.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function Q(e){const{widgetCfg:a}=P.componentCfg,{linkageFieldKeys:l=[]}=a;N(P.value,e)||(l.forEach((e=>{const a=I.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),L("update:value",e))}async function R(e){K.value=e,await X(W.value,K.value)}async function X(e,a){try{if(Object.keys(H.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:n,filterKeys:u,defaultParams:o=[],showKeys:i,valueKey:s}=H.value;let r={wordbookId:t,autograph:l,wordbookType:n,fieldKeys:u,page:a};u.length>0&&(r[u[0]]=e),J.value=!0;if(w(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=I.value.find((a=>a.columnName===e));a&&a.value&&a.value!==S.WHOLE&&(r[e]=a.value)}))}let c=await x(r,E);if(c){const{fieldList:e=[],rows:a=[],total:l=0}=c.map,t=a.map((e=>({...e,label:e[i[0]],value:`${e[i[0]]}&${e[s]}`}))),n=A(t);V.value&&t.unshift(JSON.parse(JSON.stringify(O))),$.value=null!=e?e:[],T.value=null!=t?t:[],U.value=n,M.value=l}}}catch(e){k.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{J.value=!1}}const Y=g((async e=>{await async function(e){W.value=e.trim(),K.value=1,await X(W.value,K.value)}(e)}),300);async function Z(){Object.keys(H.value).length>0&&E&&await X("",K.value)}async function ee(){L("update:value",null),await Z()}function ae(e){e&&Z()}function le({option:e,handleClose:a}){if(F.value){const l=e.value;return f(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(P.value)&&P.value.length>0){const e=P.value,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);L("update:value",l.length>0?l:null)}}}},{default:()=>f("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return f("div",l.label)}return u((()=>{B.value||Z()})),(e,a)=>(o(),i(s(d),r(s(D),{value:s(z),"onUpdate:value":a[0]||(a[0]=e=>c(z)?z.value=e:null),remote:"",loading:J.value,"render-tag":le,"menu-props":_,onSearch:s(Y),onClear:ee,"onUpdate:show":ae}),{empty:v((()=>[p(C,r(s(D),{dynamicOptionInfo:s(H),fieldTitleList:$.value,optionList:T.value,isMultiple:s(F),curPage:K.value,isLastPage:s(q),isShowWhole:s(V),onUpdateSelect:Q,onUpdatePage:R}),null,16,["dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{L as default};
1
+ import{defineComponent as e,useAttrs as a,ref as l,inject as t,computed as u,nextTick as n,openBlock as o,createBlock as i,unref as s,mergeProps as r,isRef as v,withCtx as c,createVNode as f,h as p}from"vue";import{useMessage as d,NSelect as m,NTag as y}from"naive-ui";import{useDebounceFn as g}from"@vueuse/core";import h from"../../../hooks/useAsyncData.js";import{judgmentVariable as w}from"../helpers/setDefaultValue.js";import{WholeSelectObj as S}from"../helpers/selectExtraMap.js";import{WidgetValEnums as O}from"../../../types/enums.js";import{InjectionFilterApiConfig as b,InjectionFilterSearchConfig as j}from"../../../constants/index.js";import k from"./SelectDynamicOption/index.vue.js";import{isEqual as C,cloneDeep as N}from"lodash-es";var A=e({__name:"SelectDynamic",props:{value:{type:[Array,String,Number]},componentCfg:{type:Object}},emits:["update:value"],setup(e,{emit:A}){const L=e,P=d(),D="SQL",J="API",{getDynamicSelectData:x}=h(),I=a(),E=l(null),K=l(!1),T=t(b),$=t(j),U=l(1),W=l(),_=l([JSON.parse(JSON.stringify(S))]),M=l([]),F=l(),H=l(0),Q={class:"select-dynamic-popover"},R=u((()=>I.multiple)),V=u((()=>{const{widgetCfg:e}=L.componentCfg,{dynamicOptionInfo:a={}}=e;return a})),q=u((()=>{const{widgetCfg:e}=L.componentCfg,{showWholeOption:a=!1}=e;return a&&1===U.value})),z=u((()=>H.value>0&&U.value>=H.value)),B=u((()=>{var e;if(Array.isArray(L.value)&&L.value.length>0){const e=L.value;if(X(e),e.includes(S.value)){const e=_.value.find((e=>e.value===S.value)),a=e||S;return R.value?[a]:JSON.stringify(a)}if(!R.value&&1==e.length){const a=_.value.find((a=>a.value===e[0]));return a?JSON.stringify(a):{label:e[0].includes("&")?e[0].split("&")[0]:e[0],value:e[0]}}const a=_.value.filter((a=>e.includes(a.value))),l=a.map((e=>e.value)),t=e.filter((e=>!l.includes(e))).map((e=>({label:e.includes("&")?e.split("&")[0]:e,value:e})));return[...a,...t]}return X([]),null!=(e=L.value)?e:null})),G=u((()=>{if(Object.keys(V.value).length>0){const{defaultParams:e=[]}=V.value;return w(e)&&!L.value}return!1}));function X(e){_.value.forEach((a=>{a.actived=!1,Array.isArray(e)&&e.includes(a.value)&&(a.actived=!0)}))}function Y(e){const{widgetCfg:a}=L.componentCfg,{linkageFieldKeys:l=[]}=a;C(L.value,e)||(l.forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&(a.value=null)})),A("update:value",e))}async function Z(e){var a;U.value=e,null==(a=null==E?void 0:E.value)||a.focus(),await ee(F.value,U.value)}async function ee(e,a){try{if(K.value=!0,Object.keys(V.value).length>0){const{autograph:l,dataSourceId:t,dataSourceType:u,filterKeys:n,defaultParams:o=[],showKeys:i,valueKey:s,tableDataType:r}=V.value;let v={wordbookId:t,autograph:l,wordbookType:u,fieldKeys:n,page:a};switch(r){case D:v.keyword=e;break;case J:n.length>0&&(v[n[0]]=e)}if(w(o)){const e=o.map((e=>e.value)).filter((e=>e.includes("${")));e.map((e=>e.match(/\$\{(.+?)\}/)[1])).forEach((e=>{const a=$.value.find((a=>a.columnName===e));a&&a.value&&a.value!==O.WHOLE&&(v[e]=a.value)}))}let c=await x(v,T);if(c){const{fieldList:e=[],rows:a=[],total:l=0}=c.map,t=a.map((e=>({...e,label:e[i[0]],value:`${e[i[0]]}&${e[s]}`}))),u=N(t);q.value&&t.unshift(JSON.parse(JSON.stringify(S))),W.value=null!=e?e:[],_.value=null!=t?t:[],M.value=u,H.value=l}}}catch(e){P.error(`异步数据源下拉框数据请求失败:${e}`),console.log(e)}finally{K.value=!1}}const ae=g((async e=>{await async function(e){F.value=e.trim(),U.value=1,await ee(F.value,U.value)}(e)}),300);async function le(){Object.keys(V.value).length>0&&T&&await ee("",U.value)}async function te(){A("update:value",null),await le()}function ue(e){F.value="",e&&(U.value=1,le())}function ne({option:e,handleClose:a}){if(R.value){const l=e.value;return p(y,{style:{padding:"0 8px"},closable:!0,onClose:e=>{if(e.stopPropagation(),a(),Array.isArray(L.value)&&L.value.length>0){const e=L.value,a=e.indexOf(l.value);if(a>-1){const l=e.splice(0,a);A("update:value",l.length>0?l:null)}}}},{default:()=>p("div",l.label)})}const l=e.value?JSON.parse(e.value):{label:""};return p("div",l.label)}return n((()=>{G.value||le()})),(e,a)=>(o(),i(s(m),r({ref_key:"selectDynamicRef",ref:E},s(I),{value:s(B),"onUpdate:value":a[0]||(a[0]=e=>v(B)?B.value=e:null),remote:"",loading:K.value,"render-tag":ne,"menu-props":Q,onSearch:s(ae),onClear:te,"onUpdate:show":ue}),{empty:c((()=>[f(k,r(s(I),{loading:K.value,dynamicOptionInfo:s(V),fieldTitleList:W.value,optionList:_.value,isMultiple:s(R),curPage:U.value,isLastPage:s(z),isShowWhole:s(q),onUpdateSelect:Y,onUpdatePage:Z}),null,16,["loading","dynamicOptionInfo","fieldTitleList","optionList","isMultiple","curPage","isLastPage","isShowWhole"])])),_:1},16,["value","loading","onSearch"]))}});export{A as default};
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { AnyObject } from '../../../../../../../../es/shared/types';
2
+ import { AnyObject } from '../../../../../../../shared/types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  dynamicOptionInfo: {
5
5
  type: PropType<AnyObject>;
@@ -29,6 +29,10 @@ declare const _default: import("vue").DefineComponent<{
29
29
  type: BooleanConstructor;
30
30
  default: boolean;
31
31
  };
32
+ loading: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
32
36
  }, {
33
37
  selectMinWidth: number;
34
38
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -60,6 +64,10 @@ declare const _default: import("vue").DefineComponent<{
60
64
  type: BooleanConstructor;
61
65
  default: boolean;
62
66
  };
67
+ loading: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
63
71
  }>> & {
64
72
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
65
73
  onUpdatePage?: ((...args: any[]) => any) | undefined;
@@ -68,6 +76,7 @@ declare const _default: import("vue").DefineComponent<{
68
76
  dragEndWidth: import("vue").Ref<number>;
69
77
  showKeys: import("vue").ComputedRef<any>;
70
78
  titleList: import("vue").ComputedRef<string[]>;
79
+ isOptionsNull: import("vue").ComputedRef<boolean>;
71
80
  handleSelect: (option: any) => void;
72
81
  searchByPage: (onePage: number) => void;
73
82
  changeWidth: ({ distance }: any) => void;
@@ -143,10 +152,15 @@ declare const _default: import("vue").DefineComponent<{
143
152
  type: BooleanConstructor;
144
153
  default: boolean;
145
154
  };
155
+ loading: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
146
159
  }>> & {
147
160
  onUpdateSelect?: ((...args: any[]) => any) | undefined;
148
161
  onUpdatePage?: ((...args: any[]) => any) | undefined;
149
162
  }, {
163
+ loading: boolean;
150
164
  dynamicOptionInfo: AnyObject;
151
165
  fieldTitleList: AnyObject[];
152
166
  optionList: AnyObject[];
@@ -1 +1 @@
1
- import{defineComponent as e,ref as t,computed as i,withDirectives as a,openBlock as n,createElementBlock as l,normalizeStyle as o,createBlock as s,unref as c,Fragment as u,renderList as d,toDisplayString as p,createCommentVNode as r,createElementVNode as v,normalizeClass as m,withCtx as f,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as L,NButtonGroup as k,NButton as b,NIcon as E}from"naive-ui";import{vFlexibleResize as P}from"../../../../../../../shared/directive/flexibleResize.js";import{WidgetValEnums as O}from"../../../../types/enums.js";import{ArrowBack as W,ArrowForward as _}from"@vicons/ionicons5";const x={key:0,class:"dynamic-header"},M={class:"dynamic-content"},S=["onClick"],C={key:0,class:"content"},j={class:"content"},w={class:"dynamic-pagination"};var z=e({__name:"index",props:{dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1},isShowWhole:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:z}){const B=e,H=t(200),A=i((()=>{var e,t;return null!=(t=null==(e=B.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),I=i((()=>A.value&&A.value.length>0?A.value.map((e=>{let t="";return B.fieldTitleList.forEach((i=>{i.columnName===e&&(t=i.title)})),t})):[]));function N(e){const t=B.curPage+e;z("updatePage",t)}function R({distance:e}){const t=H.value+e;H.value=Math.min(Math.max(t,200),1e3)}function T(){}return(t,i)=>a((n(),l("div",{class:"select-dynamic-options",style:o({minWidth:H.value+"px",position:"relative"})},[0===e.optionList.length?(n(),s(c(g),{key:0,description:"无数据"})):(n(),l(u,{key:1},[c(I)&&c(I).length>1?(n(),l("div",x,[(n(!0),l(u,null,d(c(I),(e=>(n(),l("span",{key:e,class:"name"},p(e),1)))),128))])):r("v-if",!0),v("ul",M,[(n(!0),l(u,null,d(e.optionList,(t=>(n(),l("li",{class:m(t.actived?"actived":""),key:t.value,onClick:e=>function(e){var t,i,a;if(!B.isMultiple||e.value===O.WHOLE)return null==(t=B.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void z("updateSelect",[e.value]);null==(i=B.optionList)||i.forEach((e=>{e.value===O.WHOLE&&(e.actived=!1)})),e.actived?e.actived=!1:e.actived=!0;const n=null==(a=B.optionList)?void 0:a.filter((e=>e.actived)).map((e=>e.value));z("updateSelect",n)}(t)},[e.isShowWhole&&t.value===c(O).WHOLE?(n(),l("span",C,p(t.label),1)):(n(!0),l(u,{key:1},d(c(A),(e=>(n(),s(c(L),{key:e,trigger:"hover",duration:0},{trigger:f((()=>[v("span",j,p(t[e]),1)])),default:f((()=>[y(" "+p(t[e]),1)])),_:2},1024)))),128))],10,S)))),128))]),v("div",w,[h(c(k),null,{default:f((()=>[h(c(b),{onClick:i[0]||(i[0]=e=>N(-1)),disabled:e.curPage<=1},{icon:f((()=>[h(c(E),{component:c(W),size:"16"},null,8,["component"])])),default:f((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),h(c(b),{"icon-placement":"right",onClick:i[1]||(i[1]=e=>N(1)),disabled:e.isLastPage},{icon:f((()=>[h(c(E),{component:c(_),size:"16"},null,8,["component"])])),default:f((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],4)),[[c(P),{mode:"VR",onMove:R,onEnd:T}]])}});export{z as default};
1
+ import{defineComponent as e,ref as t,computed as i,withDirectives as a,openBlock as l,createElementBlock as n,normalizeStyle as o,createBlock as s,unref as c,Fragment as d,renderList as u,toDisplayString as r,createCommentVNode as p,createElementVNode as v,normalizeClass as m,withCtx as f,createTextVNode as y,createVNode as h}from"vue";import{NEmpty as g,NPopover as k,NButtonGroup as L,NButton as b,NIcon as E}from"naive-ui";import{vFlexibleResize as P}from"../../../../../../../shared/directive/flexibleResize.js";import{WidgetValEnums as x}from"../../../../types/enums.js";import{ArrowBack as M,ArrowForward as O}from"@vicons/ionicons5";import{WholeSelectObj as W}from"../../helpers/selectExtraMap.js";const _={key:0,class:"dynamic-header"},S={class:"dynamic-content"},j=["onClick"],w={key:0,class:"content"},B={class:"content"},C={class:"dynamic-pagination"};var z=e({__name:"index",props:{dynamicOptionInfo:{type:Object,default:()=>({})},fieldTitleList:{type:Array,default:()=>[]},optionList:{type:Array,default:()=>[]},isMultiple:{type:Boolean,default:!1},curPage:{type:Number,default:1},isLastPage:{type:Boolean,default:!1},isShowWhole:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},emits:["updateSelect","updatePage"],setup(e,{emit:z}){const H=e,A=t(200),I=i((()=>{var e,t;return null!=(t=null==(e=H.dynamicOptionInfo)?void 0:e.showKeys)?t:[]})),N=i((()=>I.value&&I.value.length>0?I.value.map((e=>{let t="";return H.fieldTitleList.forEach((i=>{i.columnName===e&&(t=i.title)})),t})):[])),R=i((()=>!H.optionList.filter((e=>e.label!=W.label)).length));function T(e){const t=H.curPage+e;z("updatePage",t)}function K({distance:e}){const t=A.value+e;A.value=Math.min(Math.max(t,200),1e3)}function V(){}return(t,i)=>a((l(),n("div",{class:"select-dynamic-options",style:o({minWidth:A.value+"px",position:"relative"})},[e.loading?(l(),s(c(g),{key:0,"show-icon":!1,description:"加载中..."})):(l(),n(d,{key:1},[c(R)?(l(),s(c(g),{key:0,description:"无数据"})):(l(),n(d,{key:1},[c(N)&&c(N).length>1?(l(),n("div",_,[(l(!0),n(d,null,u(c(N),(e=>(l(),n("span",{key:e,class:"name"},r(e),1)))),128))])):p("v-if",!0),v("ul",S,[(l(!0),n(d,null,u(e.optionList,(t=>(l(),n("li",{class:m(t.actived?"actived":""),key:t.value,onClick:e=>function(e){var t,i,a;if(!H.isMultiple||e.value===x.WHOLE)return null==(t=H.optionList)||t.forEach((e=>{e.actived=!1})),e.actived=!0,void z("updateSelect",[e.value]);null==(i=H.optionList)||i.forEach((e=>{e.value===x.WHOLE&&(e.actived=!1)})),e.actived?e.actived=!1:e.actived=!0;const l=null==(a=H.optionList)?void 0:a.filter((e=>e.actived)).map((e=>e.value));z("updateSelect",l)}(t)},[e.isShowWhole&&t.value===c(x).WHOLE?(l(),n("span",w,r(t.label),1)):(l(!0),n(d,{key:1},u(c(I),(e=>(l(),s(c(k),{key:e,trigger:"hover",duration:0},{trigger:f((()=>[v("span",B,r(t[e]),1)])),default:f((()=>[y(" "+r(t[e]),1)])),_:2},1024)))),128))],10,j)))),128))]),v("div",C,[h(c(L),null,{default:f((()=>[h(c(b),{onClick:i[0]||(i[0]=e=>T(-1)),disabled:e.curPage<=1},{icon:f((()=>[h(c(E),{component:c(M),size:"16"},null,8,["component"])])),default:f((()=>[y(" 上一页 ")])),_:1},8,["disabled"]),h(c(b),{"icon-placement":"right",onClick:i[1]||(i[1]=e=>T(1)),disabled:e.isLastPage},{icon:f((()=>[h(c(E),{component:c(O),size:"16"},null,8,["component"])])),default:f((()=>[y(" 下一页 ")])),_:1},8,["disabled"])])),_:1})])],64))],64))],4)),[[c(P),{mode:"VR",onMove:K,onEnd:V}]])}});export{z as default};