cnhis-design-vue 3.1.57-beta.3 → 3.1.57-beta.32

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 (259) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/button-print/index.d.ts +8 -8
  7. package/es/components/button-print/src/ButtonPrint.vue.d.ts +8 -8
  8. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  9. package/es/components/button-print/src/components/EditFormat.vue.d.ts +3 -3
  10. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +7 -7
  11. package/es/components/button-print/style/index.css +1 -1
  12. package/es/components/calendar/index.d.ts +277 -0
  13. package/es/components/calendar/index.js +1 -0
  14. package/es/components/calendar/src/Calendar.vue.d.ts +266 -0
  15. package/es/components/calendar/src/Calendar.vue.js +1 -0
  16. package/es/components/calendar/src/Calendar.vue2.js +1 -0
  17. package/es/components/calendar/src/types/index.d.ts +6 -0
  18. package/es/components/calendar/src/types/index.js +1 -0
  19. package/es/components/calendar/style/index.css +1 -0
  20. package/es/components/callback/src/components/render/popupMaps.d.ts +259 -224
  21. package/es/components/classification/index.d.ts +3 -3
  22. package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -3
  23. package/es/components/classification/src/components/set-classification/index.vue.d.ts +3 -3
  24. package/es/components/classification/src/index.vue.d.ts +6 -3
  25. package/es/components/date-picker/index.d.ts +1 -1
  26. package/es/components/date-picker/src/DatePicker.vue.d.ts +1 -1
  27. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  28. package/es/components/drag-scroll/index.d.ts +2 -0
  29. package/es/components/drag-scroll/index.js +1 -0
  30. package/es/components/drag-scroll/src/index.d.ts +4 -0
  31. package/es/components/drag-scroll/src/index.js +1 -0
  32. package/es/components/drag-scroll/src/types.d.ts +19 -0
  33. package/es/components/drag-scroll/src/types.js +1 -0
  34. package/es/components/expand-field/index.d.ts +3 -3
  35. package/es/components/expand-field/src/components/form.vue.d.ts +3 -3
  36. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  37. package/es/components/expand-field/src/index.vue.d.ts +3 -3
  38. package/es/components/fabric-chart/index.d.ts +4 -2
  39. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +4 -2
  40. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  41. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  42. package/es/components/fabric-chart/src/constants/index.d.ts +2 -1
  43. package/es/components/fabric-chart/src/constants/index.js +1 -1
  44. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  45. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  46. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  48. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  49. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  50. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
  51. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  53. package/es/components/fabric-chart/src/interface.d.ts +4 -3
  54. package/es/components/field-set/index.d.ts +107 -616
  55. package/es/components/field-set/index.js +1 -1
  56. package/es/components/field-set/src/FieldColor.vue.d.ts +1680 -0
  57. package/es/components/field-set/src/FieldColor.vue.js +1 -0
  58. package/es/components/field-set/src/FieldColor.vue2.js +1 -0
  59. package/es/components/field-set/src/FieldSet.vue.d.ts +58 -16
  60. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  61. package/es/components/field-set/src/Index.vue.d.ts +141 -0
  62. package/es/components/field-set/src/Index.vue.js +1 -0
  63. package/es/components/field-set/src/Index.vue2.js +1 -0
  64. package/es/components/field-set/src/components/Row.vue.d.ts +50 -9
  65. package/es/components/field-set/src/components/Row.vue2.js +1 -1
  66. package/es/components/field-set/src/components/condition.vue.d.ts +172 -0
  67. package/es/components/field-set/src/components/condition.vue.js +1 -0
  68. package/es/components/field-set/src/components/condition.vue2.js +1 -0
  69. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +1194 -0
  70. package/es/components/field-set/src/components/edit-dialog.vue.js +1 -0
  71. package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -0
  72. package/es/components/field-set/src/components/edit-filter.vue.d.ts +286 -0
  73. package/es/components/field-set/src/components/edit-filter.vue.js +1 -0
  74. package/es/components/field-set/src/components/edit-filter.vue2.js +1 -0
  75. package/es/components/field-set/src/constants/index.d.ts +55 -0
  76. package/es/components/field-set/src/constants/index.js +1 -0
  77. package/es/components/field-set/src/types/index.d.ts +31 -1
  78. package/es/components/field-set/src/utils/index.d.ts +2 -1
  79. package/es/components/field-set/src/utils/index.js +1 -1
  80. package/es/components/field-set/style/index.css +1 -1
  81. package/es/components/form-config/index.d.ts +89 -30
  82. package/es/components/form-config/src/FormConfig.vue.d.ts +89 -30
  83. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +31 -8
  84. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +40 -11
  85. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
  86. package/es/components/form-config/src/constants/index.d.ts +1 -1
  87. package/es/components/form-config/src/types/index.d.ts +2 -2
  88. package/es/components/form-render/index.d.ts +31 -8
  89. package/es/components/form-render/index.js +1 -1
  90. package/es/components/form-render/src/FormRender.vue.d.ts +31 -8
  91. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  92. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +31 -8
  93. package/es/components/form-render/src/components/renderer/combination/combination.d.ts +12 -0
  94. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  95. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.d.ts +1 -1
  96. package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +1 -1
  97. package/es/components/form-render/src/components/renderer/combination/jsonCombination.d.ts +12 -0
  98. package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +1 -1
  99. package/es/components/form-render/src/components/renderer/select.d.ts +2 -0
  100. package/es/components/form-render/src/components/renderer/select.js +1 -1
  101. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  102. package/es/components/form-render/src/hooks/index.d.ts +1 -0
  103. package/es/components/form-render/src/hooks/index.js +1 -1
  104. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  105. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -2
  106. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  107. package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
  108. package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
  109. package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
  110. package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
  111. package/es/components/form-render/src/types/index.d.ts +2 -1
  112. package/es/components/guide/src/renderer.d.ts +2 -2
  113. package/es/components/iho-table/index.d.ts +228 -216
  114. package/es/components/iho-table/src/IhoTable.vue.d.ts +228 -216
  115. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  116. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -5
  117. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  118. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +2 -1
  119. package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
  120. package/es/components/iho-table/src/plugins/{bindEventSettingPlugin/index.d.ts → bindEventSettingPlugin.d.ts} +1 -1
  121. package/es/components/iho-table/src/plugins/bindEventSettingPlugin.js +1 -0
  122. package/es/components/iho-table/src/plugins/{defaultConfigPlugin/index.d.ts → defaultConfigPlugin.d.ts} +1 -1
  123. package/es/components/iho-table/src/plugins/defaultConfigPlugin.js +1 -0
  124. package/es/components/iho-table/src/plugins/dragScrollPlugin.d.ts +1 -0
  125. package/es/components/iho-table/src/plugins/dragScrollPlugin.js +1 -0
  126. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +1 -1
  127. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +4 -2
  128. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  129. package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
  130. package/es/components/iho-table/src/plugins/index.js +1 -1
  131. package/es/components/iho-table/src/plugins/{keyboardEventPlugin/index.d.ts → keyboardEventPlugin.d.ts} +1 -1
  132. package/es/components/iho-table/src/plugins/keyboardEventPlugin.js +1 -0
  133. package/es/components/iho-table/src/plugins/{lowCodeFieldAdaptorPlugin/index.d.ts → lowCodeFieldAdaptorPlugin.d.ts} +1 -1
  134. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin.js +1 -0
  135. package/es/components/iho-table/src/plugins/{operationalFormPlugin/index.d.ts → operationalFormPlugin.d.ts} +1 -1
  136. package/es/components/iho-table/src/plugins/operationalFormPlugin.js +1 -0
  137. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +32 -2
  138. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
  139. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  140. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  141. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  142. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  143. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  144. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +1 -1
  145. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +1 -1
  146. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  147. package/es/components/iho-table/src/plugins/rowClickPlugin.d.ts +1 -0
  148. package/es/components/iho-table/src/plugins/rowClickPlugin.js +1 -0
  149. package/es/components/iho-table/src/plugins/rowDragPlugin.d.ts +1 -0
  150. package/es/components/iho-table/src/plugins/rowDragPlugin.js +1 -0
  151. package/es/components/iho-table/src/plugins/{varialbleHeightPlugin/index.d.ts → varialbleHeightPlugin.d.ts} +1 -1
  152. package/es/components/iho-table/src/plugins/varialbleHeightPlugin.js +1 -0
  153. package/es/components/iho-table/src/plugins/verticalTablePlugin/constants.d.ts +1 -0
  154. package/es/components/iho-table/src/plugins/verticalTablePlugin/constants.js +1 -0
  155. package/es/components/iho-table/src/plugins/verticalTablePlugin/index.d.ts +1 -0
  156. package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -0
  157. package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.d.ts +3 -0
  158. package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +1 -0
  159. package/es/components/iho-table/src/plugins/verticalTablePlugin/types.d.ts +8 -0
  160. package/es/components/iho-table/src/plugins/verticalTablePlugin/types.js +1 -0
  161. package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.d.ts +15 -0
  162. package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +1 -0
  163. package/es/components/iho-table/src/plugins/{virtualTreePlugin/index.d.ts → virtualTreePlugin.d.ts} +1 -1
  164. package/es/components/iho-table/src/plugins/virtualTreePlugin.js +1 -0
  165. package/es/components/iho-table/src/types/index.d.ts +10 -1
  166. package/es/components/iho-table/src/types/pluginType.d.ts +3 -1
  167. package/es/components/iho-table/src/utils/index.d.ts +4 -7
  168. package/es/components/iho-table/src/utils/index.js +1 -1
  169. package/es/components/index.css +1 -1
  170. package/es/components/index.d.ts +3 -1
  171. package/es/components/index.js +1 -1
  172. package/es/components/info-header/index.d.ts +74 -23
  173. package/es/components/info-header/src/InfoHeader.vue.d.ts +74 -23
  174. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -1
  175. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -1
  176. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +33 -9
  177. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +31 -8
  178. package/es/components/keyboard/index.d.ts +1 -1
  179. package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
  180. package/es/components/quick-search/index.d.ts +3 -3
  181. package/es/components/quick-search/src/index.vue.d.ts +3 -3
  182. package/es/components/recommend-search/index.d.ts +6 -6
  183. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +6 -6
  184. package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
  185. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
  186. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  187. package/es/components/scale-view/index.d.ts +3 -3
  188. package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -3
  189. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  190. package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
  191. package/es/components/scale-view/src/hooks/use-component.d.ts +1 -1
  192. package/es/components/select-label/index.d.ts +2 -2
  193. package/es/components/select-label/src/LabelFormContent.vue.d.ts +1 -1
  194. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  195. package/es/components/select-label/src/SelectLabel.vue.d.ts +1 -1
  196. package/es/components/select-label/src/index.vue.d.ts +1 -1
  197. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  198. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  199. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  200. package/es/components/shortcut-setter/index.d.ts +32 -8
  201. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +32 -8
  202. package/es/components/table-export-field/index.d.ts +3 -3
  203. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +3 -0
  204. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +3 -3
  205. package/es/components/table-export-field/src/index.vue.d.ts +3 -3
  206. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -1
  207. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +1 -1
  208. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -1
  209. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -1
  210. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
  211. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
  212. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
  213. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +2 -2
  214. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +2 -2
  215. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  216. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  217. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  218. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +1 -1
  219. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -4
  220. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +4 -4
  221. package/es/components/time-line/index.d.ts +7 -7
  222. package/es/components/time-line/src/TimeLine.vue.d.ts +3 -3
  223. package/es/env.d.ts +25 -25
  224. package/es/shared/assets/img/failure.png.js +1 -1
  225. package/es/shared/assets/img/no-permission.png.js +1 -1
  226. package/es/shared/assets/img/nodata.png.js +1 -1
  227. package/es/shared/assets/img/notfound.png.js +1 -1
  228. package/es/shared/assets/img/qr.png.js +1 -1
  229. package/es/shared/assets/img/success.png.js +1 -1
  230. package/es/shared/assets/img/video.png.js +1 -1
  231. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  232. package/es/shared/assets/img/xb_big.png.js +1 -1
  233. package/es/shared/assets/img/xb_small.png.js +1 -1
  234. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  235. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  236. package/es/shared/hooks/selectHooks/useOptionFiltered.d.ts +3 -1
  237. package/es/shared/hooks/selectHooks/useOptionFiltered.js +1 -1
  238. package/es/shared/hooks/selectHooks/useSearchContent.d.ts +1 -1
  239. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  240. package/es/shared/package.json.js +1 -1
  241. package/es/shared/types/business.d.ts +23 -3
  242. package/es/shared/utils/business.d.ts +2 -1
  243. package/es/shared/utils/business.js +1 -1
  244. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  245. package/es/shared/utils/index.d.ts +2 -1
  246. package/es/shared/utils/index.js +1 -1
  247. package/es/shared/utils/tapable/index.d.ts +139 -0
  248. package/package.json +8 -2
  249. package/es/components/iho-table/src/plugins/bindEventSettingPlugin/index.js +0 -1
  250. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +0 -1
  251. package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +0 -1
  252. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +0 -1
  253. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +0 -1
  254. package/es/components/iho-table/src/plugins/rowClickPlugin/index.d.ts +0 -1
  255. package/es/components/iho-table/src/plugins/rowClickPlugin/index.js +0 -1
  256. package/es/components/iho-table/src/plugins/rowDragPlugin/index.d.ts +0 -1
  257. package/es/components/iho-table/src/plugins/rowDragPlugin/index.js +0 -1
  258. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +0 -1
  259. package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +0 -1
@@ -95,12 +95,6 @@ declare const _default: import("vue").DefineComponent<{
95
95
  };
96
96
  readonly 'onUpdate:value': PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
97
97
  actionType: "check" | "uncheck";
98
- /**
99
- * 取消勾选树节点
100
- * baseKeys:基准值
101
- * currentTree:当前树节点
102
- * value:树节点的key值
103
- */
104
98
  value: string | number;
105
99
  }) => void>>;
106
100
  readonly onUpdateValue: PropType<import("naive-ui/es/_utils").MaybeArray<(value: (string | number)[], meta: {
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,computed as t,reactive as n,watch as a,openBlock as i,createBlock as u,unref as r,withCtx as o,createVNode as c,createCommentVNode as d,withKeys as s,createTextVNode as v,toDisplayString as p,createElementBlock as h,Fragment as y,renderList as f,withDirectives as k,vShow as m,mergeProps as b,createElementVNode as g}from"vue";import{NGrid as _,NGi as T,NSpace as w,NInputGroup as S,NInput as C,NIcon as x,NButton as L,NTag as j,NCheckbox as O,NEmpty as D,NTree as E}from"naive-ui";import{CloseCircleSharp as F}from"@vicons/ionicons5";import{searchFilterTree as N,getExpandedKeys as I}from"./utils/index.js";import{cloneDeep as P}from"lodash-es";import{SelectItemTypesConfig as $,SelectRoleEnumsConfig as R,SearchTypeConfig as A}from"./types/enums.js";import B from"./SearchMultiple.vue.js";import K from"./SearchOrgAndStaff.vue.js";const U={key:0,class:"select-type-tags"},q={key:0},W={class:"c-select-person__scroll",style:{height:"342px"}};var H=e({__name:"SelectPerson",props:{defaultList:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},searchPlaceholder:{type:String,default:"输入关键字搜索"},searchButtonText:{type:String,default:"搜索"},wordbook:{type:Object,default:()=>({})},wordbookChild:{type:Object,default:()=>({})},showCount:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},multiple:{type:Boolean,default:!0},searchInner:{type:Boolean,default:!1},searchFilter:{type:Object,default:()=>({})},treeSetting:{type:Object,default:()=>({})},queryLoadChildData:{type:Function,default:void 0},queryTreeSearch:{type:Function,default:()=>Promise.resolve([])},showSelectType:{type:Boolean,default:!1},roleData:{type:Array,default:()=>[]},roleFields:{type:Object,default:()=>({label:"name",key:"id",children:"children"})}},emits:["check","checkWithLevel"],setup(e,{expose:H,emit:G}){const z=e,M={isOpen:!1,multiple:!1,customTitles:["联系人","部门"],itemHeight:250},J=[{key:"main",label:"选人员"},{key:"dept",label:"选科室"},{key:"role",label:"选角色"}],Q={dept:"科室",role:"角色"},V=l(""),X=l(!1),Y=l([]),Z=l([]),ee=l([]),le=l([]),te=l([]),ne=l(!1),ae=P(function e(l){var t;for(let n=0,a=l.length;n<a;n++){const a=l[n];if(null==(t=a.children)?void 0:t.length){const l=Oe(a.children,[]);a.innerItemsNum=l.length,a.innerLeafs=l,e(a.children)}}return z.showSelectType?l:De(l,"")}(z.data)),ie=l([]),ue=t((()=>!!z.queryLoadChildData)),re=t((()=>{var e,l;return null!=(l=null==(e=null==z?void 0:z.treeSetting)?void 0:e.checkStrategy)?l:"child"})),oe=t((()=>(null==z?void 0:z.searchFilter)&&Object.keys(null==z?void 0:z.searchFilter).length>0)),ce=l("main"),de=t((()=>oe.value?{...P(M),...z.searchFilter}:P(M))),se=t((()=>{var e,l;return null!=(l=null==(e=null==z?void 0:z.wordbookChild)?void 0:e.user_expand_keys)?l:[]})),ve=t((()=>{if(z.showSelectType){return function(e,l){let t={};return e.reduce(((e,n)=>(!t[n[l]]&&(t[n[l]]=e.push(n)),e)),[])}([...ye.main.filter((e=>(e.itemType=$.PERSON,e[ke.value]==R.STAFF))),...ye.dept.filter((e=>(e.itemType=$.DEPT,e[ke.value]==R.DEPT))),...ye.role.filter((e=>(e.itemType=$.ROLE,e)))],"key")}let e=[];return Y.value.forEach((l=>{for(let t=0,n=le.value.length;t<n;t++){const n=le.value[t];if(n.key==l){e.push(n);break}}})),e})),pe=n({main:[],dept:[],role:[],temp:[]}),he=n({main:[],dept:[],role:[]}),ye=n({main:[],dept:[],role:[]}),fe=n({main:[],dept:[],role:[]}),ke=t((()=>{var e;return(null==(e=z.wordbook)?void 0:e.type)||"type"})),me=t((()=>z.wordbookChild.user_id_obj||z.wordbook.parent_id_obj||Date.now()));function be(){pe.main=pe.temp=ae,we(pe.temp,null,(e=>{fe.main.push(e.key)})),ie.value=fe.main,pe.dept=ge(P(ae),(e=>{fe.dept.push(e.key)})),pe.role=_e(P(z.roleData),(e=>{fe.role.push(e.key)}))}function ge(e,l){return e.filter((e=>{var t;z.showSelectType&&(null==(t=e.children)?void 0:t.length)&&(e.children=ge(e.children,l));const n=e[ke.value]==R.DEPT;return n&&Se(e,l),n}))}function _e(e,l){const{label:t,key:n,children:a}=z.roleFields;return e.map((e=>{var i;return e.key=e[n],e.label=e.title=e[t],(null==(i=e[a])?void 0:i.length)&&(e.children=_e(e[a],l)),Se(e,l),e}))}function Te(e,l){var t,n;const a=["main","dept"].includes(l)?me.value:null==(t=z.roleFields)?void 0:t.key;for(let t=0,i=e.length;t<i;t++){const i=e[t],u=te.value.map((e=>e.key));he[l].includes(i.key)&&!u.includes(i.key)&&ye[l].push({...i,key:i[a]}),(null==(n=i.children)?void 0:n.length)&&Te(i.children,l)}}function we(e,l,t){var n,a;for(let i=0,u=e.length;i<u;i++){const u=e[i];let r=se.value.reduce(((e,l)=>e+(u[l]?`${u[l]},`:"")),"");u.title_expand_strs=r.slice(0,-1),u.title=je(u),u.label=je(u),u.parentNode=l,u.key||(u.key=u[z.wordbookChild.user_id_obj]||u[z.wordbook.parent_id_obj]||Date.now()),(null==(n=u.children)?void 0:n.length)?(we(u.children,u,t),xe(u)):0===(null==(a=u.children)?void 0:a.length)&&Reflect.deleteProperty(u,"children"),Se(u,t)}}function Se(e,l){var t,n;switch(null!=(n=null==(t=null==z?void 0:z.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){e.disabled||e.children||!e.key||l&&l(e)}(e,l);break;case"parent":!function(e,l){e.disabled||e.tempTitle||!e.key||l&&l(e)}(e,l)}}async function Ce(e){if(z.queryLoadChildData){const l=await z.queryLoadChildData(e);return l.children&&(l.children=l.children.map((e=>({...e,tempTitle:l.tempTitle?`${l.title}/${l.tempTitle}`:l.title})))),l}return e}function xe(e){var l;(null==(l=e.children)?void 0:l.every((e=>e.disabled)))&&(e.disabled=!0)}function Le({option:e}){var l,t;if((null==(l=e.children)?void 0:l.length)||ue.value&&!(null==e?void 0:e.isLeaf)){const l=z.wordbook.user_count_obj&&e[z.wordbook.user_count_obj]||"",t=l?`(${l})`:"",n=`${e.title}${t}`;return c("span",{title:n},[n])}{const l=null!=(t=e.title_expand_strs)?t:"";return c("p",{class:"user_item"},[c("span",{title:e.title},[e.title]),c("span",{class:"user_item_expand",title:l},[l])])}}function je(e){return e[z.wordbookChild.user_name_obj]||e[z.wordbook.parent_name_obj]||e.orgName||e.title||""}function Oe(e,l){var t;for(let n=0,a=e.length;n<a;n++){const a=e[n];(null==(t=a.children)?void 0:t.length)?Oe(a.children,l):!a.disabled&&l.push(a)}return l}function De(e,l){return e&&0!==e.length?e.map((e=>{var t;const n=je(e),a=l?`${n}/${l}`:n;return{...e,tempTitle:l,children:(null==(t=e.children)?void 0:t.length)?De(null==e?void 0:e.children,a):[]}})):[]}async function Ee(){var e,l;const t=null!=(l=null==(e=null==z?void 0:z.wordbook)?void 0:e.filter_key)?l:"keyword";if(ne.value=!!V.value.trim(),ue.value)ee.value=await z.queryTreeSearch(V.value);else{const e=function(){const e={[A.SEARCH_ORG_STAFF]:oe.value,[A.SEARCH_ORG]:z.searchInner},l=Object.keys(e).find((l=>e[l]));return null!=l?l:""}();ee.value=N(e,pe.temp,V.value,t)}Z.value=ee.value.length&&V.value?I(ee.value):[]}function Fe(e,l){var t,n;switch(null!=(n=null==(t=null==z?void 0:z.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&(!n.children||n.isLeaf)&&(l&&!Y.value.includes(n.key)&&Y.value.push(n.key),!l)){const e=Y.value.findIndex((e=>e===n.key));Y.value.splice(e,1)}n.children&&Fe(n.children,l)}}(e,l);break;case"parent":!function(e,l){Y.value=[];for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&!n.tempTitle&&(l&&!Y.value.includes(n.key)&&Y.value.push(n.key),!l)){const e=Y.value.findIndex((e=>e===n.key));Y.value.splice(e,1)}}}(e,l)}}function Ne(e){Fe(ee.value,e)}function Ie(e){var l;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=te.value.map((e=>e.key));Y.value.includes(n.key)&&!a.includes(n.key)&&le.value.push({key:n.key,name:n.title,parentName:n.tempTitle,innerItemsNum:n.innerItemsNum,innerLeafs:n.innerLeafs,originItem:n}),(null==(l=n.children)?void 0:l.length)&&Ie(n.children)}}function Pe(e){if(z.showSelectType){const l=ce.value;Y.value=he[l]=e}else Y.value=e}function $e(){Object.keys(he).forEach((e=>{he[e]=ye[e]=[]})),Y.value=[]}function Re(e){Y.value=e}function Ae(){V.value="",setTimeout((()=>{Ee()}))}return a((()=>z.data),(e=>{!function(){if(be(),ee.value=pe.temp,z.defaultList.length>0)if(ue.value)z.defaultList.forEach((e=>Y.value.push(e.key))),le.value=P(z.defaultList),te.value=P(z.defaultList);else{if(z.showSelectType){const e=ce.value;return z.defaultList.forEach((e=>{e.itemType===$.PERSON&&(he.main.push(e[me.value]),ye.main.push(e)),e.itemType===$.DEPT&&(he.dept.push(e[me.value]),ye.dept.push(e)),e.itemType===$.ROLE&&(he.role.push(e[z.roleFields.key]),ye.role.push(e))})),void(Y.value=he[e])}z.defaultList.forEach((e=>Y.value.push(e))),Ie(pe.temp)}}()}),{immediate:!0}),a((()=>Y),(e=>{if(z.showSelectType){const l=ce.value;ye[l]=te.value.filter((l=>e.value.includes(l.key))),Te(pe[l],l),z.showSelectType?X.value=ie.value.every((e=>Y.value.findIndex((l=>l===e))>-1)):X.value=ie.value.every((e=>le.value.findIndex((l=>l.key===e))>-1));const t=ve.value.map((e=>e.key));return G("check",t),void G("checkWithLevel",ve.value)}le.value=te.value.filter((l=>e.value.includes(l.key))),Ie(ue.value?ee.value:pe.temp);const l=le.value.filter((l=>e.value.includes(l.key)));G("check",e.value),G("checkWithLevel",l)}),{deep:!0}),a((()=>V.value),(e=>{e||Ae()})),H({getCheckWithLevel:function(){var e;if(z.showSelectType)return null!=(e=ve.value)?e:[];const l=Y.value,t=le.value.filter((e=>l.includes(e.key)));return null!=t?t:[]}}),(l,t)=>(i(),u(r(_),{cols:2,class:"c-select-person"},{default:o((()=>[c(r(T),null,{default:o((()=>[c(r(w),{vertical:"",style:{"padding-right":"12px","border-right":"1px solid #e8e8e8"}},{default:o((()=>[c(r(S),{style:{"margin-bottom":"12px"}},{default:o((()=>[d(" clearable "),c(r(C),{class:"search-input",value:V.value,"onUpdate:value":t[0]||(t[0]=e=>V.value=e),placeholder:e.searchPlaceholder,onKeyup:s(Ee,["enter"])},{suffix:o((()=>[V.value?(i(),u(r(x),{key:0,class:"search-clear",component:r(F),size:"16",onClick:Ae},null,8,["component"])):d("v-if",!0)])),_:1},8,["value","placeholder","onKeyup"]),c(r(L),{type:"primary",onClick:Ee},{default:o((()=>[v(p(e.searchButtonText),1)])),_:1})])),_:1}),e.showSelectType?(i(),h("div",U,[(i(),h(y,null,f(J,(e=>c(r(j),{round:"",checkable:"",checked:ce.value===e.key,key:e.key,"onUpdate:checked":l=>function(e){ce.value=e.key,ee.value=pe.temp=pe[e.key],Y.value=he[e.key],ie.value=fe[e.key]}(e)},{default:o((()=>[v(p(e.label),1)])),_:2},1032,["checked","onUpdate:checked"]))),64))])):d("v-if",!0),e.multiple&&!ne.value?k((i(),u(r(O),{key:1,checked:X.value,"onUpdate:checked":[t[1]||(t[1]=e=>X.value=e),Ne]},{default:o((()=>[v(" 全选 ")])),_:1},8,["checked"])),[[m,ie.value.length<1e3]]):d("v-if",!0),d(" 支持选人 "),e.searchInner&&e.multiple&&ne.value&&"parent"===r(re)?(i(),u(B,{key:2,treeData:ee.value,checkedKeys:Y.value,onNotifyCheck:Re},null,8,["treeData","checkedKeys"])):r(oe)&&e.multiple&&ne.value&&"parent"===r(re)?(i(),h(y,{key:3},[d(" 同时兼容选人和选部门 "),c(K,{treeData:ee.value,checkedKeys:Y.value,searchFilter:r(de),onNotifyCheck:Re,onNotifyClear:Ae},null,8,["treeData","checkedKeys","searchFilter"])],2112)):(i(),h(y,{key:4},[0===ee.value.length?(i(),u(r(D),{key:0,description:"暂无数据"})):(i(),u(r(E),b({key:1,"virtual-scroll":"",class:"c-select-person__scroll","checked-keys":Y.value,"expanded-keys":Z.value,"onUpdate:expanded-keys":t[2]||(t[2]=e=>Z.value=e),checkable:e.multiple,cascade:"","allow-checking-not-loaded":"",selectable:!e.multiple,"selected-keys":Y.value,"onUpdate:selected-keys":t[3]||(t[3]=e=>Y.value=e),data:ee.value,"check-strategy":"child","render-label":Le},e.treeSetting,{"onUpdate:checkedKeys":Pe,onLoad:Ce}),null,16,["checked-keys","expanded-keys","checkable","selectable","selected-keys","data"]))],64))])),_:1})])),_:1}),c(r(T),null,{default:o((()=>[c(r(w),{vertical:"",style:{"padding-left":"12px"}},{default:o((()=>[c(r(w),{justify:"space-between",style:{"margin-bottom":"20px"}},{default:o((()=>[e.showCount?(i(),h("span",q,"已选择:"+p(r(ve).length),1)):d("v-if",!0),e.showClear?(i(),h("span",{key:1,class:"c-select-person__clear-btn",onClick:$e},"清空")):d("v-if",!0)])),_:1}),g("div",W,[(i(!0),h(y,null,f(r(ve),(l=>(i(),h("span",{class:"c-select-person__tag-item",key:l.key},[v(p(l.name)+" "+p(l.parentName?`(${l.parentName})`:"")+" "+p(l.innerItemsNum?`(${l.innerItemsNum}人)`:"")+" "+p(e.showSelectType&&Q[l.itemType]?`(${Q[l.itemType]})`:"")+" ",1),c(r(x),{class:"tag-close",component:r(F),onClick:e=>function(e){if(z.showSelectType){const l=e.itemType===$.PERSON?"main":e.itemType;return he[l]=he[l].filter((l=>l!==e.key)),ye[l]=te.value.filter((e=>he[l].includes(e.key))),Te(pe[l],l),void(ce.value==l&&(Y.value=he[l]))}Y.value=Y.value.filter((l=>l!==e.key))}(l)},null,8,["component","onClick"])])))),128))])])),_:1})])),_:1})])),_:1}))}});export{H as default};
1
+ import{defineComponent as e,ref as l,computed as t,reactive as n,watch as a,openBlock as i,createBlock as u,unref as r,withCtx as o,createVNode as c,createCommentVNode as d,withKeys as s,createTextVNode as v,toDisplayString as h,createElementBlock as p,Fragment as y,renderList as f,withDirectives as k,vShow as m,mergeProps as b,createElementVNode as g,renderSlot as _}from"vue";import{NGrid as T,NGi as w,NSpace as S,NInputGroup as C,NInput as x,NIcon as L,NButton as j,NTag as O,NCheckbox as D,NEmpty as E,NTree as F}from"naive-ui";import{CloseCircleSharp as N}from"@vicons/ionicons5";import{searchFilterTree as I,getExpandedKeys as P}from"./utils/index.js";import{cloneDeep as $}from"lodash-es";import{SelectItemTypesConfig as R,SelectRoleEnumsConfig as A,SearchTypeConfig as B}from"./types/enums.js";import K from"./SearchMultiple.vue.js";import U from"./SearchOrgAndStaff.vue.js";const q={key:0,class:"select-type-tags"},W={key:4,class:"tree-content"},H={key:0},G={class:"c-select-person__scroll",style:{height:"342px"}};var z=e({__name:"SelectPerson",props:{defaultList:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},searchPlaceholder:{type:String,default:"输入关键字搜索"},searchButtonText:{type:String,default:"搜索"},wordbook:{type:Object,default:()=>({})},wordbookChild:{type:Object,default:()=>({})},showCount:{type:Boolean,default:!0},showClear:{type:Boolean,default:!0},multiple:{type:Boolean,default:!0},searchInner:{type:Boolean,default:!1},searchFilter:{type:Object,default:()=>({})},treeSetting:{type:Object,default:()=>({})},queryLoadChildData:{type:Function,default:void 0},queryTreeSearch:{type:Function,default:()=>Promise.resolve([])},showSelectType:{type:Boolean,default:!1},roleData:{type:Array,default:()=>[]},roleFields:{type:Object,default:()=>({label:"name",key:"id",children:"children"})}},emits:["check","checkWithLevel"],setup(e,{expose:z,emit:M}){const J=e,Q={isOpen:!1,multiple:!1,customTitles:["联系人","部门"],itemHeight:250},V=[{key:"main",label:"选人员"},{key:"dept",label:"选科室"},{key:"role",label:"选角色"}],X={dept:"科室",role:"角色"},Y=l(""),Z=l(!1),ee=l([]),le=l([]),te=l([]),ne=l([]),ae=l([]),ie=l(!1),ue=$(function e(l){var t;for(let n=0,a=l.length;n<a;n++){const a=l[n],i=J.wordbook.children||"children";if(null==(t=a[i])?void 0:t.length){const l=Ee(a[i],[]);a.innerItemsNum=l.length,a.innerLeafs=l,a.children=e(a[i])}}return J.showSelectType?l:Fe(l,"")}(J.data)),re=l([]),oe=t((()=>!!J.queryLoadChildData)),ce=t((()=>{var e,l;return null!=(l=null==(e=null==J?void 0:J.treeSetting)?void 0:e.checkStrategy)?l:"child"})),de=t((()=>(null==J?void 0:J.searchFilter)&&Object.keys(null==J?void 0:J.searchFilter).length>0)),se=l("main"),ve=t((()=>de.value?{...$(Q),...J.searchFilter}:$(Q))),he=t((()=>{var e,l;return null!=(l=null==(e=null==J?void 0:J.wordbookChild)?void 0:e.user_expand_keys)?l:[]})),pe=t((()=>{if(J.showSelectType){return function(e,l){let t={};return e.reduce(((e,n)=>(!t[n[l]]&&(t[n[l]]=e.push(n)),e)),[])}([...ke.main.filter((e=>(e.itemType=R.PERSON,e[be.value]==A.STAFF))),...ke.dept.filter((e=>(e.itemType=R.DEPT,e[be.value]==A.DEPT))),...ke.role.filter((e=>(e.itemType=R.ROLE,e)))],"key")}let e=[];return ee.value.forEach((l=>{for(let t=0,n=ne.value.length;t<n;t++){const n=ne.value[t];if(n.key==l){e.push(n);break}}})),e})),ye=n({main:[],dept:[],role:[],temp:[]}),fe=n({main:[],dept:[],role:[]}),ke=n({main:[],dept:[],role:[]}),me=n({main:[],dept:[],role:[]}),be=t((()=>{var e;return(null==(e=J.wordbook)?void 0:e.type)||"type"})),ge=t((()=>J.wordbookChild.user_id_obj||J.wordbook.parent_id_obj||Date.now()));function _e(){ye.main=ye.temp=ue,Ce(ye.temp,null,(e=>{me.main.push(e.key)})),re.value=me.main,ye.dept=Te($(ue),(e=>{me.dept.push(e.key)})),ye.role=we($(J.roleData),(e=>{me.role.push(e.key)}))}function Te(e,l){return e.filter((e=>{var t;J.showSelectType&&(null==(t=e.children)?void 0:t.length)&&(e.children=Te(e.children,l));const n=e[be.value]==A.DEPT;return n&&xe(e,l),n}))}function we(e,l){const{label:t,key:n,children:a="children"}=J.roleFields;return e.map((e=>{var i;return e.key=e[n],e.label=e.title=e[t],(null==(i=e[a])?void 0:i.length)&&(e.children=we(e[a],l)),xe(e,l),e}))}function Se(e,l){var t,n;const a=["main","dept"].includes(l)?ge.value:null==(t=J.roleFields)?void 0:t.key;for(let t=0,i=e.length;t<i;t++){const i=e[t],u=ae.value.map((e=>e.key));fe[l].includes(i.key)&&!u.includes(i.key)&&ke[l].push({...i,key:i[a]}),(null==(n=i.children)?void 0:n.length)&&Se(i.children,l)}}function Ce(e,l,t){var n,a;for(let i=0,u=e.length;i<u;i++){const u=e[i];let r=he.value.reduce(((e,l)=>e+(u[l]?`${u[l]},`:"")),"");u.title_expand_strs=r.slice(0,-1),u.title=De(u),u.label=De(u),u.parentNode=l,u.key||(u.key=u[J.wordbookChild.user_id_obj]||u[J.wordbook.parent_id_obj]||Date.now()),(null==(n=u.children)?void 0:n.length)?(Ce(u.children,u,t),je(u)):0===(null==(a=u.children)?void 0:a.length)&&Reflect.deleteProperty(u,"children"),xe(u,t)}}function xe(e,l){var t,n;switch(null!=(n=null==(t=null==J?void 0:J.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){e.disabled||e.children||!e.key||l&&l(e)}(e,l);break;case"parent":!function(e,l){e.disabled||e.tempTitle||!e.key||l&&l(e)}(e,l)}}async function Le(e){if(J.queryLoadChildData){const l=await J.queryLoadChildData(e);return l.children&&(l.children=l.children.map((e=>({...e,tempTitle:l.tempTitle?`${l.title}/${l.tempTitle}`:l.title})))),l}return e}function je(e){var l;(null==(l=e.children)?void 0:l.every((e=>e.disabled)))&&(e.disabled=!0)}function Oe({option:e}){var l,t;if((null==(l=e.children)?void 0:l.length)||oe.value&&!(null==e?void 0:e.isLeaf)){const l=J.wordbook.user_count_obj&&e[J.wordbook.user_count_obj]||"",t=l?`(${l})`:"",n=`${e.title}${t}`;return c("span",{title:n},[n])}{const l=null!=(t=e.title_expand_strs)?t:"";return c("p",{class:"user_item"},[c("span",{title:e.title},[e.title]),c("span",{class:"user_item_expand",title:l},[l])])}}function De(e){return e[J.wordbookChild.user_name_obj]||e[J.wordbook.parent_name_obj]||e.orgName||e.title||""}function Ee(e,l){var t;for(let n=0,a=e.length;n<a;n++){const a=e[n];(null==(t=a.children)?void 0:t.length)?Ee(a.children,l):!a.disabled&&l.push(a)}return l}function Fe(e,l){return e&&0!==e.length?e.map((e=>{var t;const n=De(e),a=l?`${n}/${l}`:n;return{...e,tempTitle:l,children:(null==(t=e.children)?void 0:t.length)?Fe(null==e?void 0:e.children,a):[]}})):[]}async function Ne(){var e,l;const t=null!=(l=null==(e=null==J?void 0:J.wordbook)?void 0:e.filter_key)?l:"keyword";if(ie.value=!!Y.value.trim(),oe.value)te.value=await J.queryTreeSearch(Y.value);else{const e=function(){const e={[B.SEARCH_ORG_STAFF]:de.value,[B.SEARCH_ORG]:J.searchInner},l=Object.keys(e).find((l=>e[l]));return null!=l?l:""}();te.value=I(e,ye.temp,Y.value,t)}le.value=te.value.length&&Y.value?P(te.value):[]}function Ie(e,l){var t,n;switch(null!=(n=null==(t=null==J?void 0:J.treeSetting)?void 0:t.checkStrategy)?n:"child"){case"child":!function(e,l){for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&(!n.children||n.isLeaf)&&(l&&!ee.value.includes(n.key)&&ee.value.push(n.key),!l)){const e=ee.value.findIndex((e=>e===n.key));ee.value.splice(e,1)}n.children&&Ie(n.children,l)}}(e,l);break;case"parent":!function(e,l){ee.value=[];for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n.disabled&&!n.tempTitle&&(l&&!ee.value.includes(n.key)&&ee.value.push(n.key),!l)){const e=ee.value.findIndex((e=>e===n.key));ee.value.splice(e,1)}}}(e,l)}}function Pe(e){Ie(te.value,e)}function $e(e){var l;for(let t=0,n=e.length;t<n;t++){const n=e[t],a=ae.value.map((e=>e.key));ee.value.includes(n.key)&&!a.includes(n.key)&&ne.value.push({key:n.key,name:n.title,parentName:n.tempTitle,innerItemsNum:n.innerItemsNum,innerLeafs:n.innerLeafs,originItem:n}),(null==(l=n.children)?void 0:l.length)&&$e(n.children)}}function Re(e){if(J.showSelectType){const l=se.value;ee.value=fe[l]=e}else ee.value=e}function Ae(){Object.keys(fe).forEach((e=>{fe[e]=ke[e]=[]})),ee.value=[]}function Be(e){ee.value=e}function Ke(){Y.value="",setTimeout((()=>{Ne()}))}return a((()=>J.data),(e=>{!function(){if(_e(),te.value=ye.temp,J.defaultList.length>0)if(oe.value)J.defaultList.forEach((e=>ee.value.push(e.key))),ne.value=$(J.defaultList),ae.value=$(J.defaultList);else{if(J.showSelectType){const e=se.value;return J.defaultList.forEach((e=>{e.itemType===R.PERSON&&(fe.main.push(e[ge.value]),ke.main.push(e)),e.itemType===R.DEPT&&(fe.dept.push(e[ge.value]),ke.dept.push(e)),e.itemType===R.ROLE&&(fe.role.push(e[J.roleFields.key]),ke.role.push(e))})),void(ee.value=fe[e])}J.defaultList.forEach((e=>ee.value.push(e))),$e(ye.temp)}}()}),{immediate:!0}),a((()=>ee),(e=>{if(J.showSelectType){const l=se.value;ke[l]=ae.value.filter((l=>e.value.includes(l.key))),Se(ye[l],l),J.showSelectType?Z.value=re.value.every((e=>ee.value.findIndex((l=>l===e))>-1)):Z.value=re.value.every((e=>ne.value.findIndex((l=>l.key===e))>-1));const t=pe.value.map((e=>e.key));return M("check",t),void M("checkWithLevel",pe.value)}ne.value=ae.value.filter((l=>e.value.includes(l.key))),$e(oe.value?te.value:ye.temp);const l=ne.value.filter((l=>e.value.includes(l.key)));M("check",e.value),M("checkWithLevel",l)}),{deep:!0}),a((()=>Y.value),(e=>{e||Ke()})),z({getCheckWithLevel:function(){var e;if(J.showSelectType)return null!=(e=pe.value)?e:[];const l=ee.value,t=ne.value.filter((e=>l.includes(e.key)));return null!=t?t:[]}}),(l,t)=>(i(),u(r(T),{cols:2,class:"c-select-person"},{default:o((()=>[c(r(w),null,{default:o((()=>[c(r(S),{vertical:"",style:{"padding-right":"12px","border-right":"1px solid #e8e8e8"}},{default:o((()=>[c(r(C),{style:{"margin-bottom":"12px"}},{default:o((()=>[d(" clearable "),c(r(x),{class:"search-input",value:Y.value,"onUpdate:value":t[0]||(t[0]=e=>Y.value=e),placeholder:e.searchPlaceholder,onKeyup:s(Ne,["enter"])},{suffix:o((()=>[Y.value?(i(),u(r(L),{key:0,class:"search-clear",component:r(N),size:"16",onClick:Ke},null,8,["component"])):d("v-if",!0)])),_:1},8,["value","placeholder","onKeyup"]),c(r(j),{type:"primary",onClick:Ne},{default:o((()=>[v(h(e.searchButtonText),1)])),_:1})])),_:1}),e.showSelectType?(i(),p("div",q,[(i(),p(y,null,f(V,(e=>c(r(O),{round:"",checkable:"",checked:se.value===e.key,key:e.key,"onUpdate:checked":l=>function(e){se.value=e.key,te.value=ye.temp=ye[e.key],ee.value=fe[e.key],re.value=me[e.key]}(e)},{default:o((()=>[v(h(e.label),1)])),_:2},1032,["checked","onUpdate:checked"]))),64))])):d("v-if",!0),e.multiple&&!ie.value?k((i(),u(r(D),{key:1,checked:Z.value,"onUpdate:checked":[t[1]||(t[1]=e=>Z.value=e),Pe]},{default:o((()=>[v(" 全选 ")])),_:1},8,["checked"])),[[m,re.value.length<1e3]]):d("v-if",!0),d(" 支持选人 "),e.searchInner&&e.multiple&&ie.value&&"parent"===r(ce)?(i(),u(K,{key:2,treeData:te.value,checkedKeys:ee.value,onNotifyCheck:Be},null,8,["treeData","checkedKeys"])):r(de)&&e.multiple&&ie.value&&"parent"===r(ce)?(i(),p(y,{key:3},[d(" 同时兼容选人和选部门 "),c(U,{treeData:te.value,checkedKeys:ee.value,searchFilter:r(ve),onNotifyCheck:Be,onNotifyClear:Ke},null,8,["treeData","checkedKeys","searchFilter"])],2112)):(i(),p("div",W,[0===te.value.length?(i(),u(r(E),{key:0,description:"暂无数据"})):(i(),u(r(F),b({key:1,"virtual-scroll":"",class:"c-select-person__scroll","checked-keys":ee.value,"expanded-keys":le.value,"onUpdate:expanded-keys":t[2]||(t[2]=e=>le.value=e),checkable:e.multiple,cascade:"","allow-checking-not-loaded":"",selectable:!e.multiple,"selected-keys":ee.value,"onUpdate:selected-keys":t[3]||(t[3]=e=>ee.value=e),data:te.value,"check-strategy":"child","render-label":Oe},e.treeSetting,{"onUpdate:checkedKeys":Re,onLoad:Le}),null,16,["checked-keys","expanded-keys","checkable","selectable","selected-keys","data"]))]))])),_:1})])),_:1}),c(r(w),null,{default:o((()=>[c(r(S),{vertical:"",style:{"padding-left":"12px"}},{default:o((()=>[c(r(S),{justify:"space-between",style:{"margin-bottom":"20px"}},{default:o((()=>[e.showCount?(i(),p("span",H,"已选择:"+h(r(pe).length),1)):d("v-if",!0),e.showClear?(i(),p("span",{key:1,class:"c-select-person__clear-btn",onClick:Ae},"清空")):d("v-if",!0)])),_:1}),g("div",G,[(i(!0),p(y,null,f(r(pe),(t=>(i(),p("span",{class:"c-select-person__tag-item",key:t.key},[d(" 标签插槽 "),_(l.$slots,"tag",{tag:t},(()=>[v(h(t.name)+" "+h(t.parentName?`(${t.parentName})`:"")+" "+h(t.innerItemsNum?`(${t.innerItemsNum}人)`:"")+" "+h(e.showSelectType&&X[t.itemType]?`(${X[t.itemType]})`:""),1)])),c(r(L),{class:"tag-close",component:r(N),onClick:e=>function(e){if(J.showSelectType){const l=e.itemType===R.PERSON?"main":e.itemType;return fe[l]=fe[l].filter((l=>l!==e.key)),ke[l]=ae.value.filter((e=>fe[l].includes(e.key))),Se(ye[l],l),void(se.value==l&&(ee.value=fe[l]))}ee.value=ee.value.filter((l=>l!==e.key))}(t)},null,8,["component","onClick"])])))),128))])])),_:3})])),_:3})])),_:3}))}});export{z as default};
@@ -1 +1 @@
1
- import{findAncestor as t}from"../../../../shared/utils/index.js";import{useEventListener as e,useDebounceFn as r}from"@vueuse/core";import{once as s,pick as a,omit as n,isFunction as u,isString as c}from"lodash-es";import{reactive as o,ref as i,unref as l,computed as h,getCurrentInstance as d,inject as p,onBeforeUnmount as g,onDeactivated as b,onActivated as v}from"vue";import{ShortcutStatus as f,InjectionShortcutManager as k}from"../constants/index.js";import{normalizeSignatureInfo as y,getKeySignature as C,getDisplaySignature as m,isInvalidSignature as S,isKeyboardEvent as w,isInvalidKeyboardEvent as E,isShortcutProvider as M}from"../utils/index.js";const K=Symbol("Glob"),j=new Map;class ${constructor(t,e=K){this.shortcutCallbackMap=o(new Map),this.shortcutCache=i({}),this.disabled=!1,this.environmentEle=t||window,j.set(e,this)}static log(t,e=!1){const r=`[ShortcutManager] ${t}`;return!e&&console.warn(r),r}get traverse(){return[...Object.values(this.shortcutCache.value)].sort(((t,e)=>(t.order||0)-(e.order||0)))}query(t){return this.shortcutCache.value[t]}async update(t,e){var r,s;const a=null==(r=this.query(t))?void 0:r.currentKeySignature;e&&u(this.shortcutCache,e);const n=this.query(t);function u(t,e){if(a!==C(e)){if(Object.values(t.value).some((t=>t.currentKeySignature===C(e))))throw`重复的快捷键=> ${m(e)}`;if(S(e))throw`非法的快捷键=>${e.key}`}}n&&(await(null==(s=n.onUpdate)?void 0:s.call(n,t,e?y(e):void 0)),u(this.shortcutCache,e),n.currentKeySignature=C(e),n.shortcutSignature=y(e),this.shortcutCallbackMap.set(n.currentKeySignature,this.shortcutCallbackMap.get(a)),this.shortcutCallbackMap.delete(a))}register(t){const e=this.query(t.key);return e?(e.status=f.ACTIVE,this.shortcutCallbackMap.set(e.currentKeySignature,t.callback),Object.assign(e,a(t,["debounce","debounceOption","label","order","key"])),r(e)):(this.shortcutCache.value[t.key]=n(t,["callback"]),this.shortcutCallbackMap.set(t.currentKeySignature,t.callback),r(this.shortcutCache.value[t.key]));function r(t){return{stop:()=>{t.status=f.INACTIVE},start:()=>{t.status=f.ACTIVE},signature:()=>t.currentKeySignature}}}start(){return this.handle?($.log(`请勿重复启动=>${this}`),this):(this.handle=async e=>{if(!w(e)||this.disabled)return;const r=t(e.target,M);if(r&&r!==l(this.environmentEle)||E(e))return;const s=C(e),a=this.shortcutCallbackMap.get(s);if(!a)return;e.preventDefault();const n=Object.values(this.shortcutCache.value).find((t=>t.currentKeySignature===s));n&&n.status===f.ACTIVE&&!n.disabled&&a(e)},e(this.environmentEle,"keyup",this.handle,{capture:!0}),this)}destroy(){var t;this.handle&&(null==(t=l(this.environmentEle))||t.removeEventListener("keyup",this.handle,{capture:!0})),this.handle=void 0,this.clear()}clear(){this.shortcutCallbackMap.clear(),this.shortcutCache.value={}}}const I=(new $).start(),O=s((()=>$.log("非setup语境下的shortcut将影响全局"))),A=s((()=>$.log("在非setup语境下使用register函数,组件销毁时可能需要手动调用stop函数使快捷键失活")));function T(t){const e=h((()=>{if(l(t)){const e=j.get(l(t));return e||$.log(`不存在的scope=>${t}, 将使用全局快捷键`),e||I}return d()?p(k,I):(O(),I)}));return{register:function(t){const{stop:s,signature:a,start:n}=l(e).register(function(t){return{...t,shortcutSignature:y(t.shortcutSignature),currentKeySignature:C(t.shortcutSignature),key:function(t){const e=t.key||t.label;if(!c(e))throw new Error($.log(`非法的key类型=>${e}`,!0));return e}(t),status:f.ACTIVE,callback:function(t){var e,s;if(!u(t.callback))throw new Error($.log(`非法的callback类型=>${t.callback}`,!0));return t.debounce?r(t.callback,null!=(s=null==(e=t.debounceOption)?void 0:e.duration)?s:300):t.callback}(t)}}(t));return d()?(g(s),b(s),v(n)):A(),{stop:s,signature:a,start:n}},traverse:function(){return l(e).traverse},clear:function(){l(e).clear()},update:function(t,r){return l(e).update(t,r)},updateManagerDisabled:function(t){l(e).disabled=!!t}}}export{K as GlobalShortcutProvider,$ as ShortcutManager,T as useShortcuts};
1
+ import{findAncestor as t}from"../../../../shared/utils/index.js";import{useEventListener as e,useDebounceFn as r}from"@vueuse/core";import{once as s,pick as a,omit as n,isFunction as u,isString as c}from"lodash-es";import{reactive as o,ref as i,unref as l,computed as h,getCurrentInstance as d,inject as p,onBeforeUnmount as g,onDeactivated as b,onActivated as v}from"vue";import{ShortcutStatus as f,InjectionShortcutManager as k}from"../constants/index.js";import{normalizeSignatureInfo as y,getKeySignature as C,getDisplaySignature as m,isInvalidSignature as S,isKeyboardEvent as w,isInvalidKeyboardEvent as E,isShortcutProvider as M}from"../utils/index.js";const K=Symbol("Glob"),j=new Map;class ${constructor(t,e=K){this.shortcutCallbackMap=o(new Map),this.shortcutCache=i({}),this.disabled=!1,this.environmentEle=t||window,j.set(e,this)}static log(t,e=!1){const r=`[ShortcutManager] ${t}`;return!e&&console.warn(r),r}get traverse(){return[...Object.values(this.shortcutCache.value)].sort(((t,e)=>(t.order||0)-(e.order||0)))}query(t){return this.shortcutCache.value[t]}async update(t,e){var r,s;const a=null==(r=this.query(t))?void 0:r.currentKeySignature;e&&c(this.shortcutCache,e);const n=this.query(t);if(!n)return;await(null==(s=n.onUpdate)?void 0:s.call(n,t,e?y(e):void 0)),c(this.shortcutCache,e),n.currentKeySignature=C(e),n.shortcutSignature=y(e);const u=this.shortcutCallbackMap.get(a);function c(t,e){if(a!==C(e)){if(Object.values(t.value).some((t=>t.currentKeySignature===C(e))))throw`重复的快捷键=> ${m(e)}`;if(S(e))throw`非法的快捷键=>${e.key}`}}this.shortcutCallbackMap.delete(a),this.shortcutCallbackMap.set(n.currentKeySignature,u)}register(t){const e=this.query(t.key);return e?(e.status=f.ACTIVE,this.shortcutCallbackMap.set(e.currentKeySignature,t.callback),Object.assign(e,a(t,["debounce","debounceOption","label","order","key"])),r(e)):(this.shortcutCache.value[t.key]=n(t,["callback"]),this.shortcutCallbackMap.set(t.currentKeySignature,t.callback),r(this.shortcutCache.value[t.key]));function r(t){return{stop:()=>{t.status=f.INACTIVE},start:()=>{t.status=f.ACTIVE},signature:()=>t.currentKeySignature}}}start(){return this.handle?($.log(`请勿重复启动=>${this}`),this):(this.handle=async e=>{if(!w(e)||this.disabled)return;const r=t(e.target,M);if(r&&r!==l(this.environmentEle)||E(e))return;const s=C(e),a=this.shortcutCallbackMap.get(s);if(!a)return;e.preventDefault();const n=Object.values(this.shortcutCache.value).find((t=>t.currentKeySignature===s));n&&n.status===f.ACTIVE&&!n.disabled&&a(e)},e(this.environmentEle,"keyup",this.handle,{capture:!0}),this)}destroy(){var t;this.handle&&(null==(t=l(this.environmentEle))||t.removeEventListener("keyup",this.handle,{capture:!0})),this.handle=void 0,this.clear()}clear(){this.shortcutCallbackMap.clear(),this.shortcutCache.value={}}}const I=(new $).start(),O=s((()=>$.log("非setup语境下的shortcut将影响全局"))),A=s((()=>$.log("在非setup语境下使用register函数,组件销毁时可能需要手动调用stop函数使快捷键失活")));function T(t){const e=h((()=>{if(l(t)){const e=j.get(l(t));return e||$.log(`不存在的scope=>${t}, 将使用全局快捷键`),e||I}return d()?p(k,I):(O(),I)}));return{register:function(t){const{stop:s,signature:a,start:n}=l(e).register(function(t){return{...t,shortcutSignature:y(t.shortcutSignature),currentKeySignature:C(t.shortcutSignature),key:function(t){const e=t.key||t.label;if(!c(e))throw new Error($.log(`非法的key类型=>${e}`,!0));return e}(t),status:f.ACTIVE,callback:function(t){var e,s;if(!u(t.callback))throw new Error($.log(`非法的callback类型=>${t.callback}`,!0));return t.debounce?r(t.callback,null!=(s=null==(e=t.debounceOption)?void 0:e.duration)?s:300):t.callback}(t)}}(t));return d()?(g(s),b(s),v(n)):A(),{stop:s,signature:a,start:n}},traverse:function(){return l(e).traverse},clear:function(){l(e).clear()},update:function(t,r){return l(e).update(t,r)},updateManagerDisabled:function(t){l(e).disabled=!!t}}}export{K as GlobalShortcutProvider,$ as ShortcutManager,T as useShortcuts};
@@ -198,6 +198,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
198
198
  lazyRequest?: boolean | undefined;
199
199
  requestCache?: boolean | undefined;
200
200
  maxGroupNum?: number | undefined;
201
+ minGroupNum?: number | undefined;
201
202
  jsonCombination?: boolean | undefined;
202
203
  combinationItemDeletable?: boolean | import("..").CombinationItemDeletableFn | undefined;
203
204
  children?: any[] | undefined;
@@ -1914,7 +1915,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
1914
1915
  default: boolean;
1915
1916
  };
1916
1917
  lowCodeReactions: {
1917
- type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionsConfig[]>;
1918
+ type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
1919
+ };
1920
+ newLowCodeReactions: {
1921
+ type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
1918
1922
  };
1919
1923
  operationalForm: {
1920
1924
  type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
@@ -1942,6 +1946,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
1942
1946
  default: boolean;
1943
1947
  };
1944
1948
  forceClearable: BooleanConstructor;
1949
+ wordSplitFilter: {
1950
+ type: BooleanConstructor;
1951
+ default: boolean;
1952
+ };
1945
1953
  }, {
1946
1954
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1947
1955
  fieldList: {
@@ -2076,7 +2084,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2076
2084
  default: boolean;
2077
2085
  };
2078
2086
  lowCodeReactions: {
2079
- type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionsConfig[]>;
2087
+ type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
2088
+ };
2089
+ newLowCodeReactions: {
2090
+ type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
2080
2091
  };
2081
2092
  operationalForm: {
2082
2093
  type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
@@ -2104,12 +2115,16 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2104
2115
  default: boolean;
2105
2116
  };
2106
2117
  forceClearable: BooleanConstructor;
2118
+ wordSplitFilter: {
2119
+ type: BooleanConstructor;
2120
+ default: boolean;
2121
+ };
2107
2122
  }>> & {
2108
2123
  onFormChange?: ((...args: any[]) => any) | undefined;
2109
2124
  onScroll?: ((...args: any[]) => any) | undefined;
2110
2125
  onAnnotationChange?: ((...args: any[]) => any) | undefined;
2111
2126
  }>>;
2112
- emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
2127
+ emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
2113
2128
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
2114
2129
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
2115
2130
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
@@ -2167,7 +2182,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2167
2182
  [x: string]: any;
2168
2183
  }>;
2169
2184
  lowCodeReactionsHandler: (field: string) => void;
2170
- triggerAllReactionsHandler: () => void;
2185
+ newLowCodeReactionsHandler: (field: string) => void;
2171
2186
  operationalFormHandler: {
2172
2187
  trigger(fieldKey: string): void;
2173
2188
  triggerAll(): void;
@@ -2261,13 +2276,14 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2261
2276
  businessFormatter: import("..").FormBusinessFormatter;
2262
2277
  requestInstance: import("..").FormRequestDefine.RequestInstance;
2263
2278
  enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
2264
- lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionsConfig[];
2279
+ lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
2265
2280
  linebarAutoHidden: boolean;
2266
2281
  bordered: string | boolean;
2267
2282
  uniqueCacheData: boolean;
2268
2283
  operationalForm: import("../../shared/types").LowCodeTypes.operationalConfig[];
2269
2284
  outBordered: boolean;
2270
2285
  forceClearable: boolean;
2286
+ wordSplitFilter: boolean;
2271
2287
  }>) => Record<string, import("@formily/json-schema").Stringify<{
2272
2288
  [key: symbol]: any;
2273
2289
  [key: `x-${string}`]: any;
@@ -2445,7 +2461,7 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2445
2461
  readonly displayDirective: "if" | "show" | "show:lazy";
2446
2462
  }>;
2447
2463
  NTabs: any;
2448
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2464
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2449
2465
  fieldList: {
2450
2466
  type: import("vue").PropType<import("..").FieldItem[]>;
2451
2467
  };
@@ -2578,7 +2594,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2578
2594
  default: boolean;
2579
2595
  };
2580
2596
  lowCodeReactions: {
2581
- type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionsConfig[]>;
2597
+ type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
2598
+ };
2599
+ newLowCodeReactions: {
2600
+ type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
2582
2601
  };
2583
2602
  operationalForm: {
2584
2603
  type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
@@ -2606,6 +2625,10 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2606
2625
  default: boolean;
2607
2626
  };
2608
2627
  forceClearable: BooleanConstructor;
2628
+ wordSplitFilter: {
2629
+ type: BooleanConstructor;
2630
+ default: boolean;
2631
+ };
2609
2632
  }>> & {
2610
2633
  onFormChange?: ((...args: any[]) => any) | undefined;
2611
2634
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -2614,7 +2637,6 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2614
2637
  anchor: boolean;
2615
2638
  maxHeight: string | number;
2616
2639
  column: number;
2617
- forceClearable: boolean;
2618
2640
  components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
2619
2641
  initialData: import("../../shared/types").AnyObject;
2620
2642
  parallelism: number;
@@ -2625,6 +2647,8 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
2625
2647
  bordered: string | boolean;
2626
2648
  uniqueCacheData: boolean;
2627
2649
  outBordered: boolean;
2650
+ forceClearable: boolean;
2651
+ wordSplitFilter: boolean;
2628
2652
  operationalFormInit: boolean;
2629
2653
  }>;
2630
2654
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -201,6 +201,7 @@ declare const _default: import("vue").DefineComponent<{
201
201
  lazyRequest?: boolean | undefined;
202
202
  requestCache?: boolean | undefined;
203
203
  maxGroupNum?: number | undefined;
204
+ minGroupNum?: number | undefined;
204
205
  jsonCombination?: boolean | undefined;
205
206
  combinationItemDeletable?: boolean | import("../../../components/form-render").CombinationItemDeletableFn | undefined;
206
207
  children?: any[] | undefined;
@@ -1917,7 +1918,10 @@ declare const _default: import("vue").DefineComponent<{
1917
1918
  default: boolean;
1918
1919
  };
1919
1920
  lowCodeReactions: {
1920
- type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionsConfig[]>;
1921
+ type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionConfig[]>;
1922
+ };
1923
+ newLowCodeReactions: {
1924
+ type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.newReactionConfig[]>;
1921
1925
  };
1922
1926
  operationalForm: {
1923
1927
  type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
@@ -1945,6 +1949,10 @@ declare const _default: import("vue").DefineComponent<{
1945
1949
  default: boolean;
1946
1950
  };
1947
1951
  forceClearable: BooleanConstructor;
1952
+ wordSplitFilter: {
1953
+ type: BooleanConstructor;
1954
+ default: boolean;
1955
+ };
1948
1956
  }, {
1949
1957
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1950
1958
  fieldList: {
@@ -2079,7 +2087,10 @@ declare const _default: import("vue").DefineComponent<{
2079
2087
  default: boolean;
2080
2088
  };
2081
2089
  lowCodeReactions: {
2082
- type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionsConfig[]>;
2090
+ type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionConfig[]>;
2091
+ };
2092
+ newLowCodeReactions: {
2093
+ type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.newReactionConfig[]>;
2083
2094
  };
2084
2095
  operationalForm: {
2085
2096
  type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
@@ -2107,12 +2118,16 @@ declare const _default: import("vue").DefineComponent<{
2107
2118
  default: boolean;
2108
2119
  };
2109
2120
  forceClearable: BooleanConstructor;
2121
+ wordSplitFilter: {
2122
+ type: BooleanConstructor;
2123
+ default: boolean;
2124
+ };
2110
2125
  }>> & {
2111
2126
  onFormChange?: ((...args: any[]) => any) | undefined;
2112
2127
  onScroll?: ((...args: any[]) => any) | undefined;
2113
2128
  onAnnotationChange?: ((...args: any[]) => any) | undefined;
2114
2129
  }>>;
2115
- emit: (event: "formChange" | "scroll" | "annotationChange", ...args: any[]) => void;
2130
+ emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
2116
2131
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
2117
2132
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
2118
2133
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
@@ -2170,7 +2185,7 @@ declare const _default: import("vue").DefineComponent<{
2170
2185
  [x: string]: any;
2171
2186
  }>;
2172
2187
  lowCodeReactionsHandler: (field: string) => void;
2173
- triggerAllReactionsHandler: () => void;
2188
+ newLowCodeReactionsHandler: (field: string) => void;
2174
2189
  operationalFormHandler: {
2175
2190
  trigger(fieldKey: string): void;
2176
2191
  triggerAll(): void;
@@ -2264,13 +2279,14 @@ declare const _default: import("vue").DefineComponent<{
2264
2279
  businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
2265
2280
  requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
2266
2281
  enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
2267
- lowCodeReactions: import("../../../shared/types").LowCodeTypes.reactionsConfig[];
2282
+ lowCodeReactions: import("../../../shared/types").LowCodeTypes.reactionConfig[];
2268
2283
  linebarAutoHidden: boolean;
2269
2284
  bordered: string | boolean;
2270
2285
  uniqueCacheData: boolean;
2271
2286
  operationalForm: import("../../../shared/types").LowCodeTypes.operationalConfig[];
2272
2287
  outBordered: boolean;
2273
2288
  forceClearable: boolean;
2289
+ wordSplitFilter: boolean;
2274
2290
  }>) => Record<string, import("@formily/json-schema").Stringify<{
2275
2291
  [key: symbol]: any;
2276
2292
  [key: `x-${string}`]: any;
@@ -2448,7 +2464,7 @@ declare const _default: import("vue").DefineComponent<{
2448
2464
  readonly displayDirective: "if" | "show" | "show:lazy";
2449
2465
  }>;
2450
2466
  NTabs: any;
2451
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("formChange" | "scroll" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2467
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("scroll" | "formChange" | "annotationChange")[], "scroll" | "formChange" | "annotationChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2452
2468
  fieldList: {
2453
2469
  type: import("vue").PropType<FieldItem[]>;
2454
2470
  };
@@ -2581,7 +2597,10 @@ declare const _default: import("vue").DefineComponent<{
2581
2597
  default: boolean;
2582
2598
  };
2583
2599
  lowCodeReactions: {
2584
- type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionsConfig[]>;
2600
+ type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.reactionConfig[]>;
2601
+ };
2602
+ newLowCodeReactions: {
2603
+ type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.newReactionConfig[]>;
2585
2604
  };
2586
2605
  operationalForm: {
2587
2606
  type: import("vue").PropType<import("../../../shared/types").LowCodeTypes.operationalConfig[]>;
@@ -2609,6 +2628,10 @@ declare const _default: import("vue").DefineComponent<{
2609
2628
  default: boolean;
2610
2629
  };
2611
2630
  forceClearable: BooleanConstructor;
2631
+ wordSplitFilter: {
2632
+ type: BooleanConstructor;
2633
+ default: boolean;
2634
+ };
2612
2635
  }>> & {
2613
2636
  onFormChange?: ((...args: any[]) => any) | undefined;
2614
2637
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -2617,7 +2640,6 @@ declare const _default: import("vue").DefineComponent<{
2617
2640
  anchor: boolean;
2618
2641
  maxHeight: string | number;
2619
2642
  column: number;
2620
- forceClearable: boolean;
2621
2643
  components: Record<string, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
2622
2644
  initialData: import("../../../shared/types").AnyObject;
2623
2645
  parallelism: number;
@@ -2628,6 +2650,8 @@ declare const _default: import("vue").DefineComponent<{
2628
2650
  bordered: string | boolean;
2629
2651
  uniqueCacheData: boolean;
2630
2652
  outBordered: boolean;
2653
+ forceClearable: boolean;
2654
+ wordSplitFilter: boolean;
2631
2655
  operationalFormInit: boolean;
2632
2656
  }>;
2633
2657
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -436,7 +436,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
436
436
  readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
437
437
  readonly size: import("vue").PropType<"small" | "medium" | "large">;
438
438
  readonly ignorePathChange: BooleanConstructor;
439
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
439
+ readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
440
440
  readonly feedback: StringConstructor;
441
441
  readonly showLabel: {
442
442
  readonly type: import("vue").PropType<boolean | undefined>;
@@ -567,7 +567,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
567
567
  mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
568
568
  mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
569
569
  mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
570
- mergedValidationStatus: import("vue").ComputedRef<"error" | "success" | "warning" | undefined>;
570
+ mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
571
571
  mergedShowFeedback: import("vue").ComputedRef<boolean>;
572
572
  mergedShowLabel: import("vue").ComputedRef<boolean>;
573
573
  isAutoLabelWidth: import("vue").ComputedRef<boolean>;
@@ -601,7 +601,7 @@ declare const TableExportField: SFCWithInstall<import("vue").DefineComponent<{
601
601
  readonly rule: import("vue").PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
602
602
  readonly size: import("vue").PropType<"small" | "medium" | "large">;
603
603
  readonly ignorePathChange: BooleanConstructor;
604
- readonly validationStatus: import("vue").PropType<"error" | "success" | "warning">;
604
+ readonly validationStatus: import("vue").PropType<"success" | "error" | "warning">;
605
605
  readonly feedback: StringConstructor;
606
606
  readonly showLabel: {
607
607
  readonly type: import("vue").PropType<boolean | undefined>;
@@ -111,6 +111,9 @@ declare const _default: import("vue").DefineComponent<{
111
111
  readonly type: PropType<(string | number)[] | null>;
112
112
  readonly default: null;
113
113
  };
114
+ /**
115
+ * 拖拽完成
116
+ */
114
117
  readonly disabled: {
115
118
  readonly type: PropType<boolean | undefined>;
116
119
  readonly default: undefined;
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
102
102
  readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
103
103
  readonly size: PropType<"small" | "medium" | "large">;
104
104
  readonly ignorePathChange: BooleanConstructor;
105
- readonly validationStatus: PropType<"error" | "success" | "warning">;
105
+ readonly validationStatus: PropType<"success" | "error" | "warning">;
106
106
  readonly feedback: StringConstructor;
107
107
  readonly showLabel: {
108
108
  readonly type: PropType<boolean | undefined>;
@@ -233,7 +233,7 @@ declare const _default: import("vue").DefineComponent<{
233
233
  mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
234
234
  mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
235
235
  mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
236
- mergedValidationStatus: import("vue").ComputedRef<"error" | "success" | "warning" | undefined>;
236
+ mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
237
237
  mergedShowFeedback: import("vue").ComputedRef<boolean>;
238
238
  mergedShowLabel: import("vue").ComputedRef<boolean>;
239
239
  isAutoLabelWidth: import("vue").ComputedRef<boolean>;
@@ -267,7 +267,7 @@ declare const _default: import("vue").DefineComponent<{
267
267
  readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
268
268
  readonly size: PropType<"small" | "medium" | "large">;
269
269
  readonly ignorePathChange: BooleanConstructor;
270
- readonly validationStatus: PropType<"error" | "success" | "warning">;
270
+ readonly validationStatus: PropType<"success" | "error" | "warning">;
271
271
  readonly feedback: StringConstructor;
272
272
  readonly showLabel: {
273
273
  readonly type: PropType<boolean | undefined>;
@@ -437,7 +437,7 @@ declare const _default: import("vue").DefineComponent<{
437
437
  readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
438
438
  readonly size: PropType<"small" | "medium" | "large">;
439
439
  readonly ignorePathChange: BooleanConstructor;
440
- readonly validationStatus: PropType<"error" | "success" | "warning">;
440
+ readonly validationStatus: PropType<"success" | "error" | "warning">;
441
441
  readonly feedback: StringConstructor;
442
442
  readonly showLabel: {
443
443
  readonly type: PropType<boolean | undefined>;
@@ -568,7 +568,7 @@ declare const _default: import("vue").DefineComponent<{
568
568
  mergedLabelAlign: import("vue").ComputedRef<import("naive-ui/es/form/src/interface").LabelAlign | undefined>;
569
569
  mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
570
570
  mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
571
- mergedValidationStatus: import("vue").ComputedRef<"error" | "success" | "warning" | undefined>;
571
+ mergedValidationStatus: import("vue").ComputedRef<"success" | "error" | "warning" | undefined>;
572
572
  mergedShowFeedback: import("vue").ComputedRef<boolean>;
573
573
  mergedShowLabel: import("vue").ComputedRef<boolean>;
574
574
  isAutoLabelWidth: import("vue").ComputedRef<boolean>;
@@ -602,7 +602,7 @@ declare const _default: import("vue").DefineComponent<{
602
602
  readonly rule: PropType<import("naive-ui").FormItemRule | import("naive-ui").FormItemRule[]>;
603
603
  readonly size: PropType<"small" | "medium" | "large">;
604
604
  readonly ignorePathChange: BooleanConstructor;
605
- readonly validationStatus: PropType<"error" | "success" | "warning">;
605
+ readonly validationStatus: PropType<"success" | "error" | "warning">;
606
606
  readonly feedback: StringConstructor;
607
607
  readonly showLabel: {
608
608
  readonly type: PropType<boolean | undefined>;
@@ -118,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
118
118
  focus: () => any;
119
119
  blur: () => any;
120
120
  handleConfirm: (target: HTMLInputElement) => void;
121
- onUpdateShow: (show: boolean) => void;
121
+ onUpdateShow: (show: boolean) => Promise<void>;
122
122
  onConfirm: (...args: any[]) => Promise<void>;
123
123
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
124
124
  NDatePicker: any;
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
81
81
  focus: () => any;
82
82
  blur: () => any;
83
83
  handleConfirm: (target: HTMLInputElement) => void;
84
- onUpdateShow: (show: boolean) => void;
84
+ onUpdateShow: (show: boolean) => Promise<void>;
85
85
  onConfirm: (...args: any[]) => Promise<void>;
86
86
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
87
87
  NDatePicker: any;
@@ -81,7 +81,7 @@ declare const Date: import("vue").DefineComponent<{
81
81
  focus: () => any;
82
82
  blur: () => any;
83
83
  handleConfirm: (target: HTMLInputElement) => void;
84
- onUpdateShow: (show: boolean) => void;
84
+ onUpdateShow: (show: boolean) => Promise<void>;
85
85
  onConfirm: (...args: any[]) => Promise<void>;
86
86
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
87
87
  NDatePicker: any;
@@ -236,7 +236,7 @@ declare const _default: import("vue").DefineComponent<{
236
236
  focus: () => any;
237
237
  blur: () => any;
238
238
  handleConfirm: (target: HTMLInputElement) => void;
239
- onUpdateShow: (show: boolean) => void;
239
+ onUpdateShow: (show: boolean) => Promise<void>;
240
240
  onConfirm: (...args: any[]) => Promise<void>;
241
241
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
242
242
  NDatePicker: any;
@@ -145,7 +145,7 @@ declare const _default: import("vue").DefineComponent<{
145
145
  focus: () => any;
146
146
  blur: () => any;
147
147
  handleConfirm: (target: HTMLInputElement) => void;
148
- onUpdateShow: (show: boolean) => void;
148
+ onUpdateShow: (show: boolean) => Promise<void>;
149
149
  onConfirm: (...args: any[]) => Promise<void>;
150
150
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
151
151
  NDatePicker: any;
@@ -786,7 +786,7 @@ declare const _default: import("vue").DefineComponent<{
786
786
  focus: () => any;
787
787
  blur: () => any;
788
788
  handleConfirm: (target: HTMLInputElement) => void;
789
- onUpdateShow: (show: boolean) => void;
789
+ onUpdateShow: (show: boolean) => Promise<void>;
790
790
  onConfirm: (...args: any[]) => Promise<void>;
791
791
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
792
792
  NDatePicker: any;
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
102
102
  focus: () => any;
103
103
  blur: () => any;
104
104
  handleConfirm: (target: HTMLInputElement) => void;
105
- onUpdateShow: (show: boolean) => void;
105
+ onUpdateShow: (show: boolean) => Promise<void>;
106
106
  onConfirm: (...args: any[]) => Promise<void>;
107
107
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
108
108
  NDatePicker: any;
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
116
116
  focus: () => any;
117
117
  blur: () => any;
118
118
  handleConfirm: (target: HTMLInputElement) => void;
119
- onUpdateShow: (show: boolean) => void;
119
+ onUpdateShow: (show: boolean) => Promise<void>;
120
120
  onConfirm: (...args: any[]) => Promise<void>;
121
121
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
122
122
  NDatePicker: any;
@@ -102,7 +102,7 @@ declare const Date: import("vue").DefineComponent<{
102
102
  focus: () => any;
103
103
  blur: () => any;
104
104
  handleConfirm: (target: HTMLInputElement) => void;
105
- onUpdateShow: (show: boolean) => void;
105
+ onUpdateShow: (show: boolean) => Promise<void>;
106
106
  onConfirm: (...args: any[]) => Promise<void>;
107
107
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
108
108
  NDatePicker: any;
@@ -743,7 +743,7 @@ declare const DateRange: import("vue").DefineComponent<{
743
743
  focus: () => any;
744
744
  blur: () => any;
745
745
  handleConfirm: (target: HTMLInputElement) => void;
746
- onUpdateShow: (show: boolean) => void;
746
+ onUpdateShow: (show: boolean) => Promise<void>;
747
747
  onConfirm: (...args: any[]) => Promise<void>;
748
748
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
749
749
  NDatePicker: any;
@@ -269,7 +269,7 @@ declare const _default: import("vue").DefineComponent<{
269
269
  focus: () => any;
270
270
  blur: () => any;
271
271
  handleConfirm: (target: HTMLInputElement) => void;
272
- onUpdateShow: (show: boolean) => void;
272
+ onUpdateShow: (show: boolean) => Promise<void>;
273
273
  onConfirm: (...args: any[]) => Promise<void>;
274
274
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
275
275
  NDatePicker: any;
@@ -910,7 +910,7 @@ declare const _default: import("vue").DefineComponent<{
910
910
  focus: () => any;
911
911
  blur: () => any;
912
912
  handleConfirm: (target: HTMLInputElement) => void;
913
- onUpdateShow: (show: boolean) => void;
913
+ onUpdateShow: (show: boolean) => Promise<void>;
914
914
  onConfirm: (...args: any[]) => Promise<void>;
915
915
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
916
916
  NDatePicker: any;
@@ -133,7 +133,7 @@ declare const _default: import("vue").DefineComponent<{
133
133
  focus: () => any;
134
134
  blur: () => any;
135
135
  handleConfirm: (target: HTMLInputElement) => void;
136
- onUpdateShow: (show: boolean) => void;
136
+ onUpdateShow: (show: boolean) => Promise<void>;
137
137
  onConfirm: (...args: any[]) => Promise<void>;
138
138
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
139
139
  NDatePicker: any;
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
116
116
  focus: () => any;
117
117
  blur: () => any;
118
118
  handleConfirm: (target: HTMLInputElement) => void;
119
- onUpdateShow: (show: boolean) => void;
119
+ onUpdateShow: (show: boolean) => Promise<void>;
120
120
  onConfirm: (...args: any[]) => Promise<void>;
121
121
  isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
122
122
  NDatePicker: any;