cnhis-design-vue 3.1.44-release.5 → 3.1.45-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/README.md +87 -87
  2. package/es/components/base-search/index.d.ts +0 -6
  3. package/es/components/base-search/src/index.vue.d.ts +0 -6
  4. package/es/components/base-search/src/index.vue.js +1 -1
  5. package/es/components/big-table/src/BigTable.vue.js +1 -1
  6. package/es/components/big-table/src/components/NoData.vue.js +1 -1
  7. package/es/components/big-table/src/components/edit-form/edit-separate.vue.js +1 -1
  8. package/es/components/big-table/src/components/input-button.vue.js +1 -1
  9. package/es/components/big-table/src/components/separate.vue.js +1 -1
  10. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  11. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue.js +1 -1
  12. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  13. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  14. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  15. package/es/components/button-print/src/ButtonPrint.vue.js +1 -1
  16. package/es/components/button-print/src/components/EditFormat.vue.js +1 -1
  17. package/es/components/button-print/src/components/IdentityVerification.vue.js +1 -1
  18. package/es/components/button-print/src/components/Preview.vue.js +1 -1
  19. package/es/components/classification/index.d.ts +553 -75
  20. package/es/components/classification/src/components/search-filter/index.vue.d.ts +551 -61
  21. package/es/components/classification/src/components/search-filter/index.vue.js +1 -1
  22. package/es/components/classification/src/components/set-classification/index.vue.d.ts +553 -75
  23. package/es/components/classification/src/components/set-classification/index.vue.js +1 -1
  24. package/es/components/classification/src/components/table-modal/index.vue.d.ts +1 -1
  25. package/es/components/classification/src/components/table-modal/index.vue.js +1 -1
  26. package/es/components/classification/src/const/index.d.ts +2 -2
  27. package/es/components/classification/src/index.vue.d.ts +553 -75
  28. package/es/components/classification/src/index.vue.js +1 -1
  29. package/es/components/classification/style/index.css +1 -1
  30. package/es/components/date-picker/src/DatePicker.vue.js +1 -1
  31. package/es/components/fabric-chart/index.d.ts +5 -41
  32. package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -41
  33. package/es/components/fabric-chart/src/FabricChart.vue.js +1 -1
  34. package/es/components/fabric-chart/src/components/PopupTip.vue.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/{useBirthProcess.d.ts → birthProcess/useBirthProcess.d.ts} +2 -2
  36. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -0
  37. package/es/components/fabric-chart/src/hooks/{useBirthProcessChart.d.ts → birthProcess/useBirthProcessChart.d.ts} +3 -3
  38. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -0
  39. package/es/components/fabric-chart/src/hooks/index.d.ts +5 -7
  40. package/es/components/fabric-chart/src/hooks/index.js +1 -1
  41. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +6 -0
  42. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -0
  43. package/es/components/fabric-chart/src/hooks/temperature/index.d.ts +6 -0
  44. package/es/components/fabric-chart/src/hooks/temperature/index.js +1 -0
  45. package/es/components/fabric-chart/src/hooks/temperature/useBottom.d.ts +4 -0
  46. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -0
  47. package/es/components/fabric-chart/src/hooks/{useCenter.d.ts → temperature/useCenter.d.ts} +3 -3
  48. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -0
  49. package/es/components/fabric-chart/src/hooks/{useLeft.d.ts → temperature/useLeft.d.ts} +3 -3
  50. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -0
  51. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +4 -0
  52. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -0
  53. package/es/components/fabric-chart/src/hooks/temperature/useRight.d.ts +4 -0
  54. package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -0
  55. package/es/components/fabric-chart/src/hooks/{useShadow.d.ts → temperature/useShadow.d.ts} +1 -1
  56. package/es/components/fabric-chart/src/hooks/temperature/useShadow.js +1 -0
  57. package/es/components/fabric-chart/src/hooks/{useTemperatureChart.d.ts → temperature/useTemperatureChart.d.ts} +3 -3
  58. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -0
  59. package/es/components/fabric-chart/src/hooks/temperature/useTop.d.ts +4 -0
  60. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -0
  61. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -1
  62. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  63. package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
  64. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  65. package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
  66. package/es/components/fabric-chart/src/hooks/useEvent.js +1 -1
  67. package/es/components/fabric-chart/src/hooks/useGrid.d.ts +2 -2
  68. package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
  69. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  70. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  71. package/es/components/fabric-chart/src/interface.d.ts +3 -3
  72. package/es/components/fabric-chart/src/utils/index.js +1 -1
  73. package/es/components/field-set/src/FieldSet.vue.js +1 -1
  74. package/es/components/form-config/index.d.ts +0 -2
  75. package/es/components/form-config/src/FormConfig.vue.d.ts +0 -2
  76. package/es/components/form-config/src/FormConfig.vue.js +1 -1
  77. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +0 -1
  78. package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
  79. package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
  80. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
  81. package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
  82. package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
  83. package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
  84. package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
  85. package/es/components/form-render/index.d.ts +0 -1
  86. package/es/components/form-render/src/FormRender.vue.d.ts +0 -1
  87. package/es/components/form-render/src/FormRender.vue.js +1 -1
  88. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +0 -1
  89. package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
  90. package/es/components/form-render/src/components/renderer/combination.js +1 -1
  91. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
  92. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
  93. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  94. package/es/components/form-render/src/components/renderer/input.d.ts +4 -4
  95. package/es/components/form-render/src/components/renderer/input.js +1 -1
  96. package/es/components/form-render/src/components/renderer/inputNumber.d.ts +4 -4
  97. package/es/components/form-render/src/components/renderer/inputNumber.js +1 -1
  98. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  99. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.js +1 -1
  100. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  101. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  102. package/es/components/form-render/src/components/renderer/select.js +1 -1
  103. package/es/components/form-render/src/components/tooltipMessage.vue.js +1 -1
  104. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  105. package/es/components/form-render/src/types/index.d.ts +2 -0
  106. package/es/components/guide/src/renderer.js +1 -1
  107. package/es/components/iho-select-label/src/LabelFormContent.vue.js +1 -1
  108. package/es/components/iho-select-label/src/SelectLabel.vue.js +1 -1
  109. package/es/components/iho-select-label/src/components/label-classify.vue.js +1 -1
  110. package/es/components/iho-table/index.d.ts +2 -0
  111. package/es/components/iho-table/src/IhoTable.vue.d.ts +2 -0
  112. package/es/components/iho-table/src/IhoTable.vue.js +1 -1
  113. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  114. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
  115. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.js +1 -1
  116. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
  117. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
  118. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
  119. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
  120. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  121. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.d.ts +3 -4
  122. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +1 -1
  123. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  124. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
  125. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  126. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.js +1 -1
  127. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  128. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -1
  129. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  130. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  131. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
  132. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
  133. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
  134. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +3 -0
  135. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  136. package/es/components/iho-table/src/types/index.d.ts +1 -0
  137. package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
  138. package/es/components/iho-table/src/utils/index.js +1 -1
  139. package/es/components/iho-table/style/index.css +1 -1
  140. package/es/components/index.css +1 -1
  141. package/es/components/index.d.ts +2 -1
  142. package/es/components/index.js +1 -1
  143. package/es/components/info-header/index.d.ts +8 -2
  144. package/es/components/info-header/src/InfoHeader.vue.d.ts +8 -2
  145. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  146. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -1
  147. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.js +1 -1
  148. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -1
  149. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  150. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +0 -1
  151. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  152. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +0 -1
  153. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  154. package/es/components/keyboard/src/Keyboard.vue.js +1 -1
  155. package/es/components/keyboard/src/components/InputNumber.vue.js +1 -1
  156. package/es/components/keyboard/src/components/NumberPanel.vue.js +1 -1
  157. package/es/components/map/src/Map.vue.js +1 -1
  158. package/es/components/picture-clipper/index.d.ts +59 -0
  159. package/es/components/picture-clipper/index.js +1 -0
  160. package/es/components/picture-clipper/src/PictureClipper.vue.d.ts +59 -0
  161. package/es/components/picture-clipper/src/PictureClipper.vue.js +1 -0
  162. package/es/components/picture-clipper/style/index.css +1 -0
  163. package/es/components/quick-search/index.d.ts +0 -6
  164. package/es/components/quick-search/src/index.vue.d.ts +0 -6
  165. package/es/components/quick-search/src/index.vue.js +1 -1
  166. package/es/components/quick-search/style/index.css +1 -1
  167. package/es/components/recommend-search/src/RecommendSearch.vue.js +1 -1
  168. package/es/components/recommend-search/src/components/RecommendInput.vue.js +1 -1
  169. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +1 -1
  170. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +1 -1
  171. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  172. package/es/components/scale-view/src/components/AnswerParse.vue.js +1 -1
  173. package/es/components/scale-view/src/components/EvaluateCountdown.vue.js +1 -1
  174. package/es/components/scale-view/src/components/EvaluatePage.vue.js +1 -1
  175. package/es/components/scale-view/src/components/LoadingCom.vue.js +1 -1
  176. package/es/components/scale-view/src/components/NoData.vue.js +1 -1
  177. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
  178. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
  179. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
  180. package/es/components/search-cascader/src/SearchCascader.vue.js +1 -1
  181. package/es/components/search-cascader/src/components/SearchMenu.js +1 -1
  182. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
  183. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
  184. package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
  185. package/es/components/select-label/src/SelectLabel.vue.js +1 -1
  186. package/es/components/select-label/src/components/label-classify.vue.js +1 -1
  187. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  188. package/es/components/select-person/src/SearchMultiple.vue.js +1 -1
  189. package/es/components/select-person/src/SelectPerson.vue.js +1 -1
  190. package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +1 -1
  191. package/es/components/shortcut-setter/index.d.ts +0 -1
  192. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +0 -1
  193. package/es/components/shortcut-setter/src/ShortcutSetter.vue.js +1 -1
  194. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue.js +1 -1
  195. package/es/components/steps-wheel/src/StepsWheel.vue.js +1 -1
  196. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +551 -48
  197. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +1 -1
  198. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +134 -0
  199. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.js +1 -0
  200. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +140 -0
  201. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.js +1 -0
  202. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts +28 -0
  203. package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.js +1 -0
  204. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.d.ts +28 -0
  205. package/es/components/table-filter/src/components/classify-filter/components/InputNumber.vue.js +1 -0
  206. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.d.ts +54 -0
  207. package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue.js +1 -0
  208. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +61 -0
  209. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.js +1 -0
  210. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +68 -0
  211. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.js +1 -0
  212. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +47 -0
  213. package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.js +1 -0
  214. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +551 -0
  215. package/es/components/table-filter/src/components/classify-filter/components/index.js +1 -0
  216. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +551 -48
  217. package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
  218. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +1 -1
  219. package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -1
  220. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.js +1 -1
  221. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.js +1 -1
  222. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.js +1 -1
  223. package/es/components/table-filter/src/components/render-widget/components/{Label.vue.d.ts → LabelInner.vue.d.ts} +1 -9
  224. package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.js +1 -0
  225. package/es/components/table-filter/src/components/render-widget/components/{SelectLabel.vue.d.ts → LabelOut.vue.d.ts} +1 -9
  226. package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.js +1 -0
  227. package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +1 -9
  228. package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -1
  229. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +713 -8
  230. package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
  231. package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +0 -6
  232. package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
  233. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -27
  234. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
  235. package/es/components/table-filter/src/constants/index.d.ts +3 -0
  236. package/es/components/table-filter/src/constants/index.js +1 -0
  237. package/es/components/table-filter/src/tool/baseOptions.d.ts +4 -0
  238. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  239. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  240. package/es/components/table-filter/src/tool/transformData.js +1 -1
  241. package/es/components/table-filter/src/types/enums.d.ts +1 -0
  242. package/es/components/table-filter/src/types/enums.js +1 -1
  243. package/es/components/time-line/src/TimeLine.vue.js +1 -1
  244. package/es/components/time-picker/src/TimePicker.vue.js +1 -1
  245. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.js +1 -1
  246. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.js +1 -1
  247. package/es/env.d.ts +25 -25
  248. package/es/shared/components/SelectPage/SelectPage.vue.js +1 -1
  249. package/es/shared/components/SvgIcon/SvgIcon.vue.js +1 -1
  250. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.js +1 -1
  251. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  252. package/es/shared/components/no-data/NoData.vue.js +1 -1
  253. package/es/shared/package.json.js +1 -1
  254. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  255. package/es/shared/utils/fabricjs/index.js +1 -0
  256. package/es/shared/utils/tapable/index.d.ts +139 -0
  257. package/package.json +2 -2
  258. package/es/components/base-search/src/index.vue2.js +0 -1
  259. package/es/components/big-table/src/components/NoData.vue2.js +0 -1
  260. package/es/components/big-table/src/components/edit-form/edit-separate.vue2.js +0 -1
  261. package/es/components/big-table/src/components/input-button.vue2.js +0 -1
  262. package/es/components/big-table/src/components/separate.vue2.js +0 -1
  263. package/es/components/bpmn-workflow/src/BpmnWorkflow.vue2.js +0 -1
  264. package/es/components/button-print/src/components/EditFormat.vue2.js +0 -1
  265. package/es/components/button-print/src/components/IdentityVerification.vue2.js +0 -1
  266. package/es/components/classification/src/components/search-filter/index.vue2.js +0 -1
  267. package/es/components/classification/src/components/set-classification/index.vue2.js +0 -1
  268. package/es/components/classification/src/components/table-modal/index.vue2.js +0 -1
  269. package/es/components/classification/src/index.vue2.js +0 -1
  270. package/es/components/date-picker/src/DatePicker.vue2.js +0 -1
  271. package/es/components/fabric-chart/src/FabricChart.vue2.js +0 -1
  272. package/es/components/fabric-chart/src/components/PopupTip.vue2.js +0 -1
  273. package/es/components/fabric-chart/src/hooks/useBirthProcess.js +0 -1
  274. package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +0 -1
  275. package/es/components/fabric-chart/src/hooks/useBottom.d.ts +0 -4
  276. package/es/components/fabric-chart/src/hooks/useBottom.js +0 -1
  277. package/es/components/fabric-chart/src/hooks/useCenter.js +0 -1
  278. package/es/components/fabric-chart/src/hooks/useLeft.js +0 -1
  279. package/es/components/fabric-chart/src/hooks/useOther.d.ts +0 -4
  280. package/es/components/fabric-chart/src/hooks/useOther.js +0 -1
  281. package/es/components/fabric-chart/src/hooks/useRight.d.ts +0 -4
  282. package/es/components/fabric-chart/src/hooks/useRight.js +0 -1
  283. package/es/components/fabric-chart/src/hooks/useShadow.js +0 -1
  284. package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +0 -1
  285. package/es/components/fabric-chart/src/hooks/useTop.d.ts +0 -4
  286. package/es/components/fabric-chart/src/hooks/useTop.js +0 -1
  287. package/es/components/fabric-chart/src/utils/utils.js +0 -1
  288. package/es/components/field-set/src/FieldSet.vue2.js +0 -1
  289. package/es/components/form-config/src/FormConfig.vue2.js +0 -1
  290. package/es/components/form-config/src/components/FormConfigCreator.vue2.js +0 -1
  291. package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +0 -1
  292. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +0 -1
  293. package/es/components/form-config/src/components/renderer/CloseButton.vue2.js +0 -1
  294. package/es/components/form-config/src/components/renderer/ComplexNode.vue2.js +0 -1
  295. package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +0 -1
  296. package/es/components/form-render/src/FormRender.vue2.js +0 -1
  297. package/es/components/form-render/src/FormRenderWrapper.vue2.js +0 -1
  298. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +0 -1
  299. package/es/components/form-render/src/components/tooltipMessage.vue2.js +0 -1
  300. package/es/components/iho-select-label/src/LabelFormContent.vue2.js +0 -1
  301. package/es/components/iho-select-label/src/SelectLabel.vue2.js +0 -1
  302. package/es/components/iho-select-label/src/components/label-classify.vue2.js +0 -1
  303. package/es/components/iho-table/src/IhoTable.vue2.js +0 -1
  304. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue2.js +0 -1
  305. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +0 -1
  306. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +0 -1
  307. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue2.js +0 -1
  308. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +0 -1
  309. package/es/components/info-header/src/InfoHeader.vue2.js +0 -1
  310. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +0 -1
  311. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +0 -1
  312. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue2.js +0 -1
  313. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue2.js +0 -1
  314. package/es/components/info-header/src/components/infoDescription/index.vue2.js +0 -1
  315. package/es/components/info-header/src/components/patientInfo/index.vue2.js +0 -1
  316. package/es/components/keyboard/src/Keyboard.vue2.js +0 -1
  317. package/es/components/keyboard/src/components/InputNumber.vue2.js +0 -1
  318. package/es/components/keyboard/src/components/NumberPanel.vue2.js +0 -1
  319. package/es/components/map/src/Map.vue2.js +0 -1
  320. package/es/components/quick-search/src/index.vue2.js +0 -1
  321. package/es/components/recommend-search/src/RecommendSearch.vue2.js +0 -1
  322. package/es/components/recommend-search/src/components/RecommendInput.vue2.js +0 -1
  323. package/es/components/recommend-search/src/components/RecommendMenu.vue2.js +0 -1
  324. package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +0 -1
  325. package/es/components/scale-view/src/ScaleView.vue2.js +0 -1
  326. package/es/components/scale-view/src/components/AnswerParse.vue2.js +0 -1
  327. package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +0 -1
  328. package/es/components/scale-view/src/components/EvaluatePage.vue2.js +0 -1
  329. package/es/components/scale-view/src/components/NoData.vue2.js +0 -1
  330. package/es/components/search-cascader/src/SearchCascader.vue2.js +0 -1
  331. package/es/components/select-label/src/LabelFormContent.vue2.js +0 -1
  332. package/es/components/select-label/src/components/label-classify.vue2.js +0 -1
  333. package/es/components/shortcut-provider/src/ShortcutProvider.vue2.js +0 -1
  334. package/es/components/shortcut-setter/src/ShortcutSetter.vue2.js +0 -1
  335. package/es/components/shortcut-setter/src/ShortcutSetterItem.vue2.js +0 -1
  336. package/es/components/steps-wheel/src/StepsWheel.vue2.js +0 -1
  337. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +0 -1
  338. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +0 -1
  339. package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue2.js +0 -1
  340. package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
  341. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +0 -1
  342. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +0 -1
  343. package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +0 -1
  344. package/es/components/table-filter/src/components/render-widget/components/Label.vue.js +0 -1
  345. package/es/components/table-filter/src/components/render-widget/components/Label.vue2.js +0 -1
  346. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +0 -1
  347. package/es/components/table-filter/src/components/render-widget/components/SelectLabel.vue.js +0 -1
  348. package/es/components/table-filter/src/components/render-widget/components/SelectLabel.vue2.js +0 -1
  349. package/es/components/time-line/src/TimeLine.vue2.js +0 -1
  350. package/es/components/time-picker/src/TimePicker.vue2.js +0 -1
  351. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +0 -1
  352. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +0 -1
  353. package/es/shared/components/SelectPage/SelectPage.vue2.js +0 -1
  354. package/es/shared/components/SvgIcon/SvgIcon.vue2.js +0 -1
  355. package/es/shared/components/TextOverTooltip/TextOverTooltip.vue2.js +0 -1
  356. package/es/shared/components/no-data/NoData.vue2.js +0 -1
  357. /package/es/_virtual/{_plugin-vue_export-helper.js → plugin-vue_export-helper.js} +0 -0
  358. /package/es/components/fabric-chart/src/{hooks/constant.d.ts → constants/index.d.ts} +0 -0
  359. /package/es/components/fabric-chart/src/{hooks/constant.js → constants/index.js} +0 -0
  360. /package/es/components/fabric-chart/src/utils/{utils.d.ts → index.d.ts} +0 -0
@@ -153,16 +153,556 @@ declare const _default: import("vue").DefineComponent<{
153
153
  valueCp: import("vue").WritableComputedRef<any>;
154
154
  presetValCp: import("vue").WritableComputedRef<string>;
155
155
  widgetType: import("vue").ComputedRef<any>;
156
- optionSetting: import("vue").ComputedRef<any>;
157
- mappingConfig: import("vue").ComputedRef<any>;
158
- widgetOptions: import("vue").ComputedRef<{
159
- label: string;
160
- value: string;
161
- }[]>;
162
- NInputNumber: any;
163
- NInput: any;
164
- NSelect: any;
165
- NDatePicker: any;
156
+ Date: import("vue").DefineComponent<{
157
+ paramCfg: {
158
+ type: ObjectConstructor;
159
+ default: null;
160
+ };
161
+ modelValue: {
162
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
163
+ default: null;
164
+ };
165
+ presetVal: {
166
+ type: StringConstructor;
167
+ default: null;
168
+ };
169
+ }, {
170
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
171
+ paramCfg: {
172
+ type: ObjectConstructor;
173
+ default: null;
174
+ };
175
+ modelValue: {
176
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
177
+ default: null;
178
+ };
179
+ presetVal: {
180
+ type: StringConstructor;
181
+ default: null;
182
+ };
183
+ }>> & {
184
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
185
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
186
+ }>>;
187
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
188
+ valueCp: import("vue").WritableComputedRef<any>;
189
+ presetValCp: import("vue").WritableComputedRef<string>;
190
+ dateType: any;
191
+ valueFormat: import("vue").ComputedRef<string>;
192
+ compType: import("vue").ComputedRef<any>;
193
+ mappingConfig: import("vue").ComputedRef<any>;
194
+ widgetOptions: import("vue").ComputedRef<{
195
+ label: string;
196
+ value: string;
197
+ }[]>;
198
+ CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
199
+ updateUnchangedValue: {
200
+ type: BooleanConstructor;
201
+ };
202
+ onConfirm: {
203
+ type: FunctionConstructor;
204
+ };
205
+ }, {
206
+ attrs: {
207
+ [x: string]: unknown;
208
+ };
209
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
210
+ updateUnchangedValue: {
211
+ type: BooleanConstructor;
212
+ };
213
+ onConfirm: {
214
+ type: FunctionConstructor;
215
+ };
216
+ }>> & {}>>;
217
+ datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
218
+ panelInstRef: import("vue").Ref<null>;
219
+ isDateTime: import("vue").ComputedRef<boolean>;
220
+ formatRef: import("vue").ComputedRef<string>;
221
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
222
+ focus: () => any;
223
+ blur: () => any;
224
+ onUpdateShow: (show: boolean) => void;
225
+ onConfirm: (...args: any[]) => void;
226
+ NDatePicker: any;
227
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
228
+ updateUnchangedValue: {
229
+ type: BooleanConstructor;
230
+ };
231
+ onConfirm: {
232
+ type: FunctionConstructor;
233
+ };
234
+ }>>, {
235
+ updateUnchangedValue: boolean;
236
+ }>>;
237
+ NSelect: any;
238
+ WidgetValEnums: {
239
+ CUSTOM: string;
240
+ FIRST_VAL: string;
241
+ NOW: string;
242
+ TODAY: string;
243
+ TODAY_START: string;
244
+ TODAY_END: string;
245
+ TOMORROW: string;
246
+ TOMORROW_START: string;
247
+ TOMORROW_END: string;
248
+ YESTERDAY: string;
249
+ YESTERDAY_START: string;
250
+ YESTERDAY_END: string;
251
+ THIS_WEEK: string;
252
+ WEEK_START: string;
253
+ WEEK_END: string;
254
+ NEXT_WEEK: string;
255
+ LAST_WEEK: string;
256
+ THIS_MONTH: string;
257
+ MONTH_START: string;
258
+ MONTH_END: string;
259
+ NEXT_MONTH: string;
260
+ LAST_MONTH: string;
261
+ THIS_QUARTER: string;
262
+ NEXT_QUARTER: string;
263
+ LAST_QUARTER: string;
264
+ THIS_YEAR: string;
265
+ NEXT_YEAR: string;
266
+ LAST_YEAR: string;
267
+ };
268
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
269
+ paramCfg: {
270
+ type: ObjectConstructor;
271
+ default: null;
272
+ };
273
+ modelValue: {
274
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
275
+ default: null;
276
+ };
277
+ presetVal: {
278
+ type: StringConstructor;
279
+ default: null;
280
+ };
281
+ }>> & {
282
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
283
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
284
+ }, {
285
+ modelValue: string | number | unknown[];
286
+ presetVal: string;
287
+ paramCfg: Record<string, any>;
288
+ }>;
289
+ InputFilter: import("vue").DefineComponent<{
290
+ modelValue: {
291
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
292
+ default: null;
293
+ };
294
+ }, {
295
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
296
+ modelValue: {
297
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
298
+ default: null;
299
+ };
300
+ }>> & {
301
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
302
+ }>>;
303
+ emit: (event: "update:modelValue", ...args: any[]) => void;
304
+ valueCp: import("vue").WritableComputedRef<any>;
305
+ NInput: any;
306
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
307
+ modelValue: {
308
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
309
+ default: null;
310
+ };
311
+ }>> & {
312
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
313
+ }, {
314
+ modelValue: string | number | unknown[];
315
+ }>;
316
+ InputNumber: import("vue").DefineComponent<{
317
+ modelValue: {
318
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
319
+ default: null;
320
+ };
321
+ }, {
322
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
323
+ modelValue: {
324
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
325
+ default: null;
326
+ };
327
+ }>> & {
328
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
329
+ }>>;
330
+ emit: (event: "update:modelValue", ...args: any[]) => void;
331
+ valueCp: import("vue").WritableComputedRef<any>;
332
+ NInputNumber: any;
333
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
334
+ modelValue: {
335
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
336
+ default: null;
337
+ };
338
+ }>> & {
339
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
340
+ }, {
341
+ modelValue: string | number | unknown[];
342
+ }>;
343
+ SelectFilter: import("vue").DefineComponent<{
344
+ paramCfg: {
345
+ type: ObjectConstructor;
346
+ default: null;
347
+ };
348
+ modelValue: {
349
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
350
+ default: null;
351
+ };
352
+ widgetType: {
353
+ type: StringConstructor;
354
+ default: string;
355
+ };
356
+ }, {
357
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
358
+ paramCfg: {
359
+ type: ObjectConstructor;
360
+ default: null;
361
+ };
362
+ modelValue: {
363
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
364
+ default: null;
365
+ };
366
+ widgetType: {
367
+ type: StringConstructor;
368
+ default: string;
369
+ };
370
+ }>> & {
371
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
372
+ }>>;
373
+ emit: (event: "update:modelValue", ...args: any[]) => void;
374
+ valueCp: import("vue").WritableComputedRef<any>;
375
+ optionSetting: import("vue").ComputedRef<any>;
376
+ mappingConfig: import("vue").ComputedRef<any>;
377
+ widgetOptions: import("vue").ComputedRef<{
378
+ label: string;
379
+ value: string;
380
+ }[]>;
381
+ NSelect: any;
382
+ WidgetOptionEnums: {
383
+ RADIO: string;
384
+ MULTIPLE: string;
385
+ ALL: string;
386
+ SELECT_TIME: string;
387
+ PAST_TIME: string;
388
+ FUTURE_TIME: string;
389
+ };
390
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
391
+ paramCfg: {
392
+ type: ObjectConstructor;
393
+ default: null;
394
+ };
395
+ modelValue: {
396
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
397
+ default: null;
398
+ };
399
+ widgetType: {
400
+ type: StringConstructor;
401
+ default: string;
402
+ };
403
+ }>> & {
404
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
405
+ }, {
406
+ modelValue: string | number | unknown[];
407
+ widgetType: string;
408
+ paramCfg: Record<string, any>;
409
+ }>;
410
+ SelectDynamic: import("vue").DefineComponent<{
411
+ paramCfg: {
412
+ type: ObjectConstructor;
413
+ default: null;
414
+ };
415
+ modelValue: {
416
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
417
+ default: null;
418
+ };
419
+ }, {
420
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
421
+ paramCfg: {
422
+ type: ObjectConstructor;
423
+ default: null;
424
+ };
425
+ modelValue: {
426
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
427
+ default: null;
428
+ };
429
+ }>> & {
430
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
431
+ }>>;
432
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
433
+ $attrs: {
434
+ [x: string]: unknown;
435
+ };
436
+ emit: (event: "update:modelValue", ...args: any[]) => void;
437
+ selectOptions: import("vue").Ref<any[]>;
438
+ isLoading: import("vue").Ref<boolean>;
439
+ filterApiConfig: import("../../../..").AnyObject;
440
+ valueCp: import("vue").WritableComputedRef<any>;
441
+ optionSetting: import("vue").ComputedRef<any>;
442
+ isMultiple: import("vue").ComputedRef<boolean>;
443
+ searchOptions: (keyword: string) => Promise<any>;
444
+ _handleSearch: (query: string) => Promise<void>;
445
+ handleSearch: (query: string) => Promise<void>;
446
+ handleInitData: () => Promise<void>;
447
+ renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
448
+ [key: string]: any;
449
+ }>;
450
+ renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
451
+ [key: string]: any;
452
+ }>;
453
+ NSelect: any;
454
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
455
+ paramCfg: {
456
+ type: ObjectConstructor;
457
+ default: null;
458
+ };
459
+ modelValue: {
460
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
461
+ default: null;
462
+ };
463
+ }>> & {
464
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
465
+ }, {
466
+ modelValue: string | number | unknown[];
467
+ paramCfg: Record<string, any>;
468
+ }>;
469
+ InputNumberGroup: import("vue").DefineComponent<{
470
+ paramCfg: {
471
+ type: ObjectConstructor;
472
+ default: null;
473
+ };
474
+ modelValue: {
475
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
476
+ default: null;
477
+ };
478
+ }, {
479
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
480
+ paramCfg: {
481
+ type: ObjectConstructor;
482
+ default: null;
483
+ };
484
+ modelValue: {
485
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
486
+ default: null;
487
+ };
488
+ }>> & {
489
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
490
+ }>>;
491
+ startNumber: import("vue").Ref<any>;
492
+ endNumber: import("vue").Ref<any>;
493
+ emit: (event: "update:modelValue", ...args: any[]) => void;
494
+ handleChange: (val: number | null, key: string) => void;
495
+ NInputGroup: import("vue").DefineComponent<{
496
+ [x: string]: never;
497
+ [x: number]: never;
498
+ [x: symbol]: never;
499
+ }, {
500
+ mergedClsPrefix: import("vue").ComputedRef<string>;
501
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
502
+ [x: string]: never;
503
+ [x: number]: never;
504
+ [x: symbol]: never;
505
+ }>>, {}>;
506
+ NInputNumber: any;
507
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
508
+ paramCfg: {
509
+ type: ObjectConstructor;
510
+ default: null;
511
+ };
512
+ modelValue: {
513
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
514
+ default: null;
515
+ };
516
+ }>> & {
517
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
518
+ }, {
519
+ modelValue: string | number | unknown[];
520
+ paramCfg: Record<string, any>;
521
+ }>;
522
+ DateRange: import("vue").DefineComponent<{
523
+ paramCfg: {
524
+ type: ObjectConstructor;
525
+ default: null;
526
+ };
527
+ modelValue: {
528
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
529
+ default: null;
530
+ };
531
+ presetVal: {
532
+ type: StringConstructor;
533
+ default: null;
534
+ };
535
+ }, {
536
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
537
+ paramCfg: {
538
+ type: ObjectConstructor;
539
+ default: null;
540
+ };
541
+ modelValue: {
542
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
543
+ default: null;
544
+ };
545
+ presetVal: {
546
+ type: StringConstructor;
547
+ default: null;
548
+ };
549
+ }>> & {
550
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
551
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
552
+ }>>;
553
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
554
+ startDate: import("vue").Ref<any>;
555
+ endDate: import("vue").Ref<any>;
556
+ valueFormat: import("vue").ComputedRef<string>;
557
+ dateFormat: import("vue").ComputedRef<string>;
558
+ compType: import("vue").ComputedRef<any>;
559
+ startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
560
+ endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
561
+ dateType: any;
562
+ widgetOptions: import("vue").ComputedRef<{
563
+ label: string;
564
+ value: string;
565
+ }[]>;
566
+ presetValCp: import("vue").WritableComputedRef<string>;
567
+ handleChange: (val: any, type: "end" | "start") => void;
568
+ isStartDateDisabled: (ts: number) => boolean;
569
+ isEndDateDisabled: (ts: number) => boolean;
570
+ NSelect: any;
571
+ CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
572
+ updateUnchangedValue: {
573
+ type: BooleanConstructor;
574
+ };
575
+ onConfirm: {
576
+ type: FunctionConstructor;
577
+ };
578
+ }, {
579
+ attrs: {
580
+ [x: string]: unknown;
581
+ };
582
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
583
+ updateUnchangedValue: {
584
+ type: BooleanConstructor;
585
+ };
586
+ onConfirm: {
587
+ type: FunctionConstructor;
588
+ };
589
+ }>> & {}>>;
590
+ datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
591
+ panelInstRef: import("vue").Ref<null>;
592
+ isDateTime: import("vue").ComputedRef<boolean>;
593
+ formatRef: import("vue").ComputedRef<string>;
594
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
595
+ focus: () => any;
596
+ blur: () => any;
597
+ onUpdateShow: (show: boolean) => void;
598
+ onConfirm: (...args: any[]) => void;
599
+ NDatePicker: any;
600
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
601
+ updateUnchangedValue: {
602
+ type: BooleanConstructor;
603
+ };
604
+ onConfirm: {
605
+ type: FunctionConstructor;
606
+ };
607
+ }>>, {
608
+ updateUnchangedValue: boolean;
609
+ }>>;
610
+ WidgetValEnums: {
611
+ CUSTOM: string;
612
+ FIRST_VAL: string;
613
+ NOW: string;
614
+ TODAY: string;
615
+ TODAY_START: string;
616
+ TODAY_END: string;
617
+ TOMORROW: string;
618
+ TOMORROW_START: string;
619
+ TOMORROW_END: string;
620
+ YESTERDAY: string;
621
+ YESTERDAY_START: string;
622
+ YESTERDAY_END: string;
623
+ THIS_WEEK: string;
624
+ WEEK_START: string;
625
+ WEEK_END: string;
626
+ NEXT_WEEK: string;
627
+ LAST_WEEK: string;
628
+ THIS_MONTH: string;
629
+ MONTH_START: string;
630
+ MONTH_END: string;
631
+ NEXT_MONTH: string;
632
+ LAST_MONTH: string;
633
+ THIS_QUARTER: string;
634
+ NEXT_QUARTER: string;
635
+ LAST_QUARTER: string;
636
+ THIS_YEAR: string;
637
+ NEXT_YEAR: string;
638
+ LAST_YEAR: string;
639
+ };
640
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
641
+ paramCfg: {
642
+ type: ObjectConstructor;
643
+ default: null;
644
+ };
645
+ modelValue: {
646
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
647
+ default: null;
648
+ };
649
+ presetVal: {
650
+ type: StringConstructor;
651
+ default: null;
652
+ };
653
+ }>> & {
654
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
655
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
656
+ }, {
657
+ modelValue: string | number | unknown[];
658
+ presetVal: string;
659
+ paramCfg: Record<string, any>;
660
+ }>;
661
+ SelectLabel: import("vue").DefineComponent<{
662
+ paramCfg: {
663
+ type: ObjectConstructor;
664
+ default: null;
665
+ };
666
+ modelValue: {
667
+ type: StringConstructor;
668
+ default: null;
669
+ };
670
+ }, {
671
+ handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
672
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
673
+ paramCfg: {
674
+ type: ObjectConstructor;
675
+ default: null;
676
+ };
677
+ modelValue: {
678
+ type: StringConstructor;
679
+ default: null;
680
+ };
681
+ }>> & {
682
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
683
+ }>>;
684
+ emit: (event: "update:modelValue", ...args: any[]) => void;
685
+ tagList: import("vue").Ref<never[]>;
686
+ filterApiConfig: import("../../../..").AnyObject;
687
+ valueCp: import("vue").WritableComputedRef<string[]>;
688
+ optionList: import("vue").ComputedRef<import("naive-ui").SelectOption[]>;
689
+ initTagList: () => Promise<void>;
690
+ NSelect: any;
691
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
692
+ paramCfg: {
693
+ type: ObjectConstructor;
694
+ default: null;
695
+ };
696
+ modelValue: {
697
+ type: StringConstructor;
698
+ default: null;
699
+ };
700
+ }>> & {
701
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
702
+ }, {
703
+ modelValue: string;
704
+ paramCfg: Record<string, any>;
705
+ }>;
166
706
  WidgetTypeEnums: {
167
707
  INPUT_NUMBER: string;
168
708
  INPUT: string;
@@ -177,44 +717,7 @@ declare const _default: import("vue").DefineComponent<{
177
717
  DATETIME_RANGE_INNER: string;
178
718
  LABEL: string;
179
719
  SELECTLABEL: string;
180
- };
181
- WidgetValEnums: {
182
- CUSTOM: string;
183
- FIRST_VAL: string;
184
- NOW: string;
185
- TODAY: string;
186
- TODAY_START: string;
187
- TODAY_END: string;
188
- TOMORROW: string;
189
- TOMORROW_START: string;
190
- TOMORROW_END: string;
191
- YESTERDAY: string;
192
- YESTERDAY_START: string;
193
- YESTERDAY_END: string;
194
- THIS_WEEK: string;
195
- WEEK_START: string;
196
- WEEK_END: string;
197
- NEXT_WEEK: string;
198
- LAST_WEEK: string;
199
- THIS_MONTH: string;
200
- MONTH_START: string;
201
- MONTH_END: string;
202
- NEXT_MONTH: string;
203
- LAST_MONTH: string;
204
- THIS_QUARTER: string;
205
- NEXT_QUARTER: string;
206
- LAST_QUARTER: string;
207
- THIS_YEAR: string;
208
- NEXT_YEAR: string;
209
- LAST_YEAR: string;
210
- };
211
- WidgetOptionEnums: {
212
- RADIO: string;
213
- MULTIPLE: string;
214
- ALL: string;
215
- SELECT_TIME: string;
216
- PAST_TIME: string;
217
- FUTURE_TIME: string;
720
+ SELECTDYNAMIC: string;
218
721
  };
219
722
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
220
723
  paramCfg: {
@@ -1 +1 @@
1
- import e from"./index.vue2.js";import r from"../../../../../_virtual/_plugin-vue_export-helper.js";var i=r(e,[["__file","index.vue"]]);export{i as default};
1
+ import{defineComponent as e,useAttrs as a,reactive as l,ref as t,toRef as i,openBlock as o,createElementBlock as n,createVNode as s,unref as d,withCtx as r,createElementVNode as p,createCommentVNode as c,Fragment as u,renderList as y,normalizeClass as m,toDisplayString as v,createBlock as f,withDirectives as g,createTextVNode as C,vShow as h}from"vue";import{useMessage as k,NSpin as b,NInput as A,NIcon as L,NButton as _,NSelect as w,NTooltip as U}from"naive-ui";import{CloseOutline as N,AddOutline as x,AddCircleSharp as V}from"@vicons/ionicons5";import D from"./ValueCfg.vue.js";import{DataTypeEnums as B,ConditionEnums as I}from"../../types/enums.js";import{useDisplayCategory as j}from"./hooks/useDisplayCategory.js";import{useFilterConditions as S}from"./hooks/useFilterConditions.js";import{conditionOptions as F}from"./helpers/options.js";import z from"../../../../../_virtual/plugin-vue_export-helper.js";const O={class:"searchConditionByApi_wrapper"},P={class:"class-filter-content"},q={key:0,class:"item-name"},E=p("span",{class:"label"},"筛选分类名称:",-1),R={key:1,class:"quickSearch-content"},J=p("span",{class:"label"},"父类名称:",-1),K=["onDblclick","onClick"],M={key:0,class:"s-content"},Q={key:2,class:"item-name"},G=p("span",{class:"label"}," 过滤条件: ",-1),H=p("span",null,"添加",-1),T={class:"select-item-list"},W={class:"index-span"},X=["onClick"];var Y=z(e({__name:"index",props:{actionList_prop:{type:Object,default:()=>({})},conditionList:{type:Array,default:()=>[]},tableId:{type:String,default:""},searchFieldList:{type:Array,default:()=>[]},showItemName:{type:Boolean,default:!0},hideAddBtn:{type:Boolean,default:!1}},emits:["saveAdd","cancelSaveAdd"],setup(e,{expose:z,emit:Y}){const Z=e,$=k(),ee=a(),ae=l({className:"",displayCategory:"",filterConditions:[]}),le=t(!1),{State:te,isEnableAddDisplayCategory:ie,editDisplayCategory:oe,handleDisplayCategorySelect:ne,handleDisplayCategoryRemove:se,handleDisplayCategoryAdd:de,handlerBlur:re,initDisplayCategories:pe}=j(i(ae,"displayCategory"),{conditionList:Z.conditionList},$),{State:ce,paramOptions:ue,addFilterCondition:ye,delFilterCondition:me,updateKey:ve,updateCondition:fe,getParamCfg:ge,initFilterConditions:Ce,getRawFilterConditions:he}=S(i(ae,"filterConditions"),Z.searchFieldList,B.API);function ke(){ae.className="",ae.displayCategory="",ae.filterConditions=[]}async function be(){var e;try{if(ke(),le.value=!0,pe(ee.displayCategoryList,Z.actionList_prop.displayCategory||void 0),Z.actionList_prop){ae.className=Z.actionList_prop.name,await Ce(Z.tableId,null!=(e=Z.actionList_prop.conObj)?e:[]);ae.filterConditions.length<1&&ue.value&&ue.value.length>0&&ye()}}finally{le.value=!1}}return be(),z({handleInitConditions:be,saveAdd:function(){new Promise((e=>{ae.className||!Z.showItemName?0!==ae.filterConditions.length?ae.filterConditions.some((({key:e,condition:a,value:l,presetVal:t})=>!e||!a||a===I.EQUAL&&!l&&!t))?$.warning("请补充完整条件内容"):e(!0):$.warning("请至少添加一个条件"):$.warning("请输入分类名称")})).then((()=>{let e;var a;"edit"===Z.actionList_prop.from&&(a=Z.actionList_prop.displayCategory,e=null==Z?void 0:Z.conditionList.find((e=>e.displayCategory===a)));const l={displayCategory:ae.displayCategory,name:ae.className||"",conObj:he()},t={id:e?e.sid:"",tableId:Z.tableId,setting:JSON.stringify(l)};Y("saveAdd",t,!1)}))},cancelSaveAdd:function(){ke(),Y("cancelSaveAdd")},addAction:ye,checkActionList:function(){return ae.filterConditions.every((e=>!e.field_key))}}),(a,l)=>(o(),n("div",O,[s(d(b),{show:le.value},{default:r((()=>[p("div",P,[e.showItemName?(o(),n("div",q,[E,s(d(A),{value:ae.className,"onUpdate:value":l[0]||(l[0]=e=>ae.className=e),placeholder:"请输入分类名称",style:{width:"250px"},maxlength:"10"},null,8,["value"])])):c("v-if",!0),e.showItemName?(o(),n("div",R,[J,(o(!0),n(u,null,y(d(te).displayCategories,((e,a)=>(o(),n("div",{class:m(["edit-tag",{"edit-tag-select":e.value===ae.displayCategory&&e.disabled}]),key:a,onDblclick:a=>d(oe)(a,e),onClick:a=>function(e){ne(e)}(e)},[e.disabled?(o(),n("div",M,[p("span",null,v(e.value),1)])):(o(),f(d(A),{key:1,style:{width:"100px"},disabled:e.disabled,onBlur:()=>e.disabled=!0,value:e.value,"onUpdate:value":a=>e.value=a,maxlength:10},null,8,["disabled","onBlur","value","onUpdate:value"])),s(d(L),{component:d(N),class:"anticon-close",size:"20",onClick:l=>d(se)(a,e)},null,8,["component","onClick"])],42,K)))),128)),d(ie)?(o(),n(u,{key:0},[g(s(d(_),{class:"ant-btn",icon:"plus",dashed:"",onClick:d(de)},{default:r((()=>[s(d(L),{component:d(x),size:"20"},null,8,["component"]),C(" "+v("添加父类"))])),_:1},8,["onClick"]),[[h,!d(te).showAdd]]),g(s(d(A),{class:"edit-tag",value:d(te).addDisplayCategory,"onUpdate:value":l[1]||(l[1]=e=>d(te).addDisplayCategory=e),valueModifiers:{trim:!0},style:{width:"100px"},onBlur:d(re),maxLength:10},null,8,["value","onBlur"]),[[h,d(te).showAdd]])],64)):c("v-if",!0)])):c("v-if",!0),e.hideAddBtn?c("v-if",!0):(o(),n("div",Q,[G,p("span",{class:"addAction",onClick:l[2]||(l[2]=(...e)=>d(ye)&&d(ye)(...e)),style:{cursor:"pointer"}},[s(d(L),{component:d(V),class:"blue",size:"18"},null,8,["component"]),H])])),p("ul",T,[(o(!0),n(u,null,y(ae.filterConditions,((e,a)=>(o(),n("li",{key:a},[p("span",W,v(a+1)+"   ",1),c(" 选择 field_key "),s(d(w),{class:"form-item",placeholder:"请选择",value:e.key,to:"body",filterable:"",options:d(ue),"onUpdate:value":e=>d(ve)(a,e)},null,8,["value","options","onUpdate:value"]),c(" 选择 关系 "),e.key?(o(),f(d(w),{key:0,class:"form-item",placeholder:"请选择",value:e.condition,to:"body",filterable:"",options:d(F),"onUpdate:value":e=>d(fe)(a,e)},null,8,["value","options","onUpdate:value"])):c("v-if",!0),c(" 自定义 "),e.key&&e.condition&&e.condition!==d(I).NULL?(o(),f(D,{key:1,modelValue:e.value,"onUpdate:modelValue":a=>e.value=a,presetVal:e.presetVal,"onUpdate:presetVal":a=>e.presetVal=a,"param-cfg":d(ge)(e.key)},null,8,["modelValue","onUpdate:modelValue","presetVal","onUpdate:presetVal","param-cfg"])):c("v-if",!0),s(d(U),{title:"删除",trigger:"hover"},{trigger:r((()=>[p("i",{onClick:e=>d(me)(a),class:"iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"},null,8,X)])),default:r((()=>[C(" 删除 ")])),_:2},1024)])))),128))])])])),_:1},8,["show"])]))}}),[["__file","index.vue"]]);export{Y as default};
@@ -1 +1 @@
1
- import e from"./CheckboxGroup.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","CheckboxGroup.vue"]]);export{o as default};
1
+ import{defineComponent as e,computed as u,openBlock as l,createBlock as a,unref as r,mergeProps as t,withCtx as o,createElementBlock as v,Fragment as i,renderList as p}from"vue";import{NCheckboxGroup as n,NCheckbox as m}from"naive-ui";import s from"../../../../../../_virtual/plugin-vue_export-helper.js";var f=s(e({__name:"CheckboxGroup",props:{options:{type:[Array,String,Number]},value:{type:[Array,String,Number],default:""},multiple:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:s}){const f=e,y=u({set(e){s("update:value",e)},get:()=>Array.isArray(f.value)?f.value:f.value?[f.value]:[]});function d(e){f.multiple||!Array.isArray(e)?y.value=e:y.value=function(e){return e.filter((e=>!y.value.includes(e)))}(e)[0]}return(u,s)=>(l(),a(r(n),t(u.$attrs,{value:r(y),"onUpdate:value":d}),{default:o((()=>[(l(!0),v(i,null,p(e.options,(e=>(l(),a(r(m),{key:e.value,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:1},16,["value"]))}}),[["__file","CheckboxGroup.vue"]]);export{f as default};
@@ -1 +1 @@
1
- import e from"./Date.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var t=r(e,[["__file","Date.vue"]]);export{t as default};
1
+ import{defineComponent as e,ref as a,computed as t,watch as l,openBlock as r,createBlock as u,unref as o}from"vue";import p from"../../../../../date-picker/index.js";import m from"moment";import{isString as d}from"lodash-es";import v from"../../../../../../_virtual/plugin-vue_export-helper.js";var i=v(e({__name:"Date",props:{type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},placeholder:{type:String,default:"请输入"},value:{type:String,default:""}},emits:["update:value"],setup(e,{emit:v}){const i=e,n=a(),c=t((()=>{let e="";switch(i.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e}));function f(e){n.value=e;const a=e?m(e).format(c.value):e;v("update:value",a)}return l((()=>i.value),(e=>{e&&d(e)?n.value=m(e).valueOf():n.value=null}),{immediate:!0}),(a,t)=>(r(),u(o(p),{to:"body",type:e.type,clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.placeholder,value:n.value,"onUpdate:value":f},null,8,["type","clearable","valueFormat","placeholder","value"]))}}),[["__file","Date.vue"]]);export{i as default};
@@ -1 +1 @@
1
- import e from"./DateRangeInner.vue2.js";import r from"../../../../../../_virtual/_plugin-vue_export-helper.js";var a=r(e,[["__file","DateRangeInner.vue"]]);export{a as default};
1
+ import{defineComponent as e,ref as a,computed as l,watch as t,openBlock as u,createElementBlock as r,Fragment as v,renderList as d,normalizeClass as i,toDisplayString as o,createCommentVNode as n,createVNode as s,unref as c,withCtx as p,createTextVNode as m,createElementVNode as f}from"vue";import{NButton as y}from"naive-ui";import b from"../../../../../date-picker/index.js";import h from"moment";import{isString as g}from"lodash-es";import{getAllDateRangeInfo as k}from"../helpers/presetValToTimestamp.js";import Y from"../../../../../../_virtual/plugin-vue_export-helper.js";const F={class:"render-widget-date-range"},_={key:0,class:"radio-date-group"},D=["onClick"],M={key:1,class:"date-detail-range"},S=f("span",{class:"divider"},null,-1);var w=Y(e({__name:"DateRangeInner",props:{type:{type:String,default:"date"},clearable:{type:Boolean,default:!1},valueFormat:{type:String,default:"yyyy-MM-dd"},startPlaceholder:{type:String,default:"起始"},endPlaceholder:{type:String,default:"截止"},value:{type:String,default:""}},emits:["update:value"],setup(e,{emit:f}){const Y=e,w=a([]),P=a(!1),j=a(""),x=a(),C=a(),H=l((()=>{let e="";switch(Y.type){case"date":e="YYYY-MM-DD";break;case"datetime":e="YYYY-MM-DD HH:mm:ss"}return e})),I=l((()=>{let e="";switch(Y.type){case"date":e="选择日期";break;case"datetime":e="选择时间"}return e}));function O(e,a){switch(a){case"start":x.value=e;break;case"end":C.value=e}const l=x.value?h(x.value).format(H.value):null,t=C.value?h(C.value).format(H.value):null;f("update:value",l||t?`${null!=l?l:""} ~ ${null!=t?t:""}`:"")}function R(e){return!!C.value&&e>C.value}function T(e){return!!x.value&&e<x.value}return t((()=>Y.value),(e=>{if(e&&g(e)&&e.includes("~")){const[a,l]=e.split("~");return a.trim()&&(x.value=h(a.trim()).valueOf()),void(l.trim()&&(C.value=h(l.trim()).valueOf()))}x.value=C.value=null,j.value=""}),{immediate:!0}),function(){const e=k(H.value);w.value=e}(),(a,l)=>(u(),r("div",F,[P.value?n("v-if",!0):(u(),r("div",_,[(u(!0),r(v,null,d(w.value,(e=>(u(),r("span",{key:e.value,class:i(["radio-date-item",j.value===e.value?"radio-date-item-active":""]),onClick:a=>{return l=e.value,j.value===l?j.value="":j.value=l,void(j.value&&f("update:value",j.value));var l}},o(e.label),11,D)))),128))])),s(c(y),{secondary:"",class:i(P.value?"select-date-right":"select-date-left"),onClick:l[0]||(l[0]=e=>P.value=!P.value)},{default:p((()=>[m(o(c(I)),1)])),_:1},8,["class"]),P.value?(u(),r("div",M,[s(c(b),{type:e.type,to:"body","default-time":"00:00:00",clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.startPlaceholder,value:x.value,"is-date-disabled":R,"onUpdate:value":l[1]||(l[1]=e=>O(e,"start"))},null,8,["type","clearable","valueFormat","placeholder","value"]),S,s(c(b),{type:e.type,to:"body","default-time":"23:59:59",clearable:e.clearable,valueFormat:e.valueFormat,placeholder:e.endPlaceholder,value:C.value,"is-date-disabled":T,"onUpdate:value":l[2]||(l[2]=e=>O(e,"end"))},null,8,["type","clearable","valueFormat","placeholder","value"])])):n("v-if",!0)]))}}),[["__file","DateRangeInner.vue"]]);export{w as default};
@@ -1 +1 @@
1
- import e from"./DateRangeOut.vue2.js";import t from"../../../../../../_virtual/_plugin-vue_export-helper.js";var r=t(e,[["__file","DateRangeOut.vue"]]);export{r as default};
1
+ import{defineComponent as e,ref as a,computed as t,watch as l,openBlock as r,createBlock as u,unref as d}from"vue";import o from"../../../../../date-picker/index.js";import f from"moment";import{isString as s}from"lodash-es";import n from"../../../../../../_virtual/plugin-vue_export-helper.js";var p=n(e({__name:"DateRangeOut",props:{type:{type:String,default:"daterange"},clearable:{type:Boolean,default:!1},startPlaceholder:{type:String,default:"起始"},endPlaceholder:{type:String,default:"截止"},componentCfg:{type:Object,default:()=>({})},value:{type:String,default:""}},emits:["update:value"],setup(e,{emit:n}){const p=e,c=a(),v=t((()=>{let e="";switch(p.type){case"daterange":e="YYYY-MM-DD";break;case"datetimerange":e="YYYY-MM-DD HH:mm:ss"}return e})),i={"今天":[f().startOf("day").valueOf(),f().endOf("day").valueOf()],"昨天":[f().subtract(1,"days").startOf("day").valueOf(),f().subtract(1,"days").endOf("day").valueOf()],"近一周":[f().subtract(1,"w").startOf("day").valueOf(),f().endOf("day").valueOf()],"近一月":[f().subtract(1,"months").startOf("day").valueOf(),f().endOf("day").valueOf()]};function m(e){if(e){const[a,t]=e,l=`${f(a).format(v.value)} ~ ${f(t).format(v.value)}`;n("update:value",l)}else n("update:value",e)}return l((()=>p.value),(e=>{if(e&&s(e)&&e.includes("~")){const[a,t]=e.split("~");c.value=[f(a.trim()).valueOf(),f(t.trim()).valueOf()]}else c.value=null}),{immediate:!0}),(a,t)=>(r(),u(d(o),{to:"body",type:e.type,clearable:e.clearable,startPlaceholder:e.startPlaceholder,endPlaceholder:e.endPlaceholder,value:c.value,shortcuts:i,"onUpdate:value":m},null,8,["type","clearable","startPlaceholder","endPlaceholder","value"]))}}),[["__file","DateRangeOut.vue"]]);export{p as default};