cnhis-design-vue 3.3.3-release.9 → 3.4.0-beta.1

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 (243) hide show
  1. package/es/components/big-table/src/hooks/useBatchEditing.js +25 -24
  2. package/es/components/button-print/index.d.ts +98 -8
  3. package/es/components/button-print/src/ButtonPrint.vue.d.ts +98 -8
  4. package/es/components/button-print/src/ButtonPrint.vue2.js +12 -1
  5. package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +11 -2
  6. package/es/components/button-print/src/components/IdentityVerification.vue2.js +3 -2
  7. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +44 -6
  8. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +194 -41
  9. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +29 -2
  10. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +34 -5
  11. package/es/components/button-print/src/utils/print.d.ts +7 -5
  12. package/es/components/button-print/src/utils/print.js +183 -7
  13. package/es/components/button-print/style/index.css +1 -1
  14. package/es/components/calendar/src/Calendar.vue2.js +15 -5
  15. package/es/components/callback/src/components/render/popupMaps.d.ts +5 -0
  16. package/es/components/card-render/src/components/index.d.ts +23 -23
  17. package/es/components/classification/index.d.ts +258 -5
  18. package/es/components/classification/src/components/search-filter/index.vue.d.ts +258 -5
  19. package/es/components/classification/src/components/set-classification/index.vue.d.ts +258 -5
  20. package/es/components/classification/src/index.vue.d.ts +258 -5
  21. package/es/components/fabric-chart/src/components/PopupMenu.js +1 -1
  22. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +6 -2
  23. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
  24. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
  25. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
  26. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
  27. package/es/components/field-editor/index.d.ts +5 -0
  28. package/es/components/field-editor/src/FieldEditor.vue.d.ts +5 -0
  29. package/es/components/field-set/src/FieldColor.vue.d.ts +4 -1
  30. package/es/components/field-set/src/FieldFilter.vue.d.ts +4 -1
  31. package/es/components/field-set/src/FieldSet.vue.d.ts +4 -1
  32. package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
  33. package/es/components/field-set/src/components/table-row.vue2.js +21 -6
  34. package/es/components/field-set/src/constants/index.js +4 -4
  35. package/es/components/field-set/src/types/index.d.ts +2 -1
  36. package/es/components/form-config/index.d.ts +63 -0
  37. package/es/components/form-config/src/FormConfig.vue.d.ts +63 -0
  38. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +5 -0
  39. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +50 -0
  40. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
  41. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -0
  42. package/es/components/form-config/src/constants/index.d.ts +31 -1
  43. package/es/components/form-config/src/constants/index.js +150 -1
  44. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
  45. package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
  46. package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
  47. package/es/components/form-config/src/hooks/useLocale.js +34 -0
  48. package/es/components/form-config/src/types/index.d.ts +12 -0
  49. package/es/components/form-render/index.d.ts +5 -0
  50. package/es/components/form-render/src/FormRender.vue.d.ts +5 -0
  51. package/es/components/form-render/src/FormRender.vue2.js +1 -0
  52. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +5 -0
  53. package/es/components/form-render/src/components/renderer/date.d.ts +3 -1
  54. package/es/components/form-render/src/components/renderer/date.js +12 -10
  55. package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
  56. package/es/components/form-render/src/components/renderer/formItem.js +10 -3
  57. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
  58. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  59. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  60. package/es/components/form-render/src/components/renderer/radio_checkbox.js +9 -3
  61. package/es/components/form-render/src/constants/index.d.ts +1 -1
  62. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
  63. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  64. package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
  65. package/es/components/form-render/src/hooks/useNuiThemeOverrides.d.ts +1 -2
  66. package/es/components/form-render/src/types/index.d.ts +1 -0
  67. package/es/components/form-render/style/index.css +1 -1
  68. package/es/components/iho-chat/index.d.ts +897 -97
  69. package/es/components/iho-chat/src/Index.vue.d.ts +897 -97
  70. package/es/components/iho-chat/src/Index.vue2.js +14 -6
  71. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
  72. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +179 -6
  73. package/es/components/iho-chat/src/components/ChatFile.vue2.js +48 -28
  74. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +61 -5
  75. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +106 -44
  76. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +327 -13
  77. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +18 -17
  78. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +232 -17
  79. package/es/components/iho-chat/src/components/ChatMain.vue2.js +299 -272
  80. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +49 -3
  81. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
  82. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
  83. package/es/components/iho-chat/src/components/ContextMenu.js +33 -18
  84. package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
  85. package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
  86. package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
  87. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
  88. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +51 -4
  89. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +77 -31
  90. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +223 -98
  91. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
  92. package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
  93. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
  94. package/es/components/iho-chat/src/components/Video.vue.d.ts +44 -26
  95. package/es/components/iho-chat/src/components/Video.vue2.js +56 -49
  96. package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
  97. package/es/components/iho-chat/src/hooks/useVideo.d.ts +83 -16
  98. package/es/components/iho-chat/src/hooks/useVideo.js +439 -43
  99. package/es/components/iho-chat/src/types/index.d.ts +37 -1
  100. package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
  101. package/es/components/iho-chat/src/utils/emoji.js +1 -1
  102. package/es/components/iho-chat/src/utils/index.d.ts +2 -0
  103. package/es/components/iho-chat/src/utils/index.js +14 -1
  104. package/es/components/iho-chat/style/index.css +1 -1
  105. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +1 -1
  106. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useAutoFocus.js +0 -22
  107. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +1 -1
  108. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/levelSearchCascadePlugin/index.js +1 -1
  109. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +1 -1
  110. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  111. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +1 -1
  112. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +36 -4
  113. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -1
  114. package/es/components/index.css +1 -1
  115. package/es/components/index.d.ts +2 -0
  116. package/es/components/index.js +2 -1
  117. package/es/components/info-header/index.d.ts +24 -17
  118. package/es/components/info-header/src/InfoHeader.vue.d.ts +24 -17
  119. package/es/components/info-header/src/InfoHeader.vue2.js +2 -2
  120. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  121. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
  122. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +4 -2
  123. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue2.js +1 -1
  124. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +15 -17
  125. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +5 -0
  126. package/es/components/info-header/src/constants/index.d.ts +1 -1
  127. package/es/components/info-header/src/hooks/useThemeOverrides.d.ts +1 -2
  128. package/es/components/keyboard/index.d.ts +9 -0
  129. package/es/components/keyboard/src/Keyboard.vue.d.ts +9 -0
  130. package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
  131. package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +4 -0
  132. package/es/components/keyboard/src/components/NumberPanel.vue2.js +50 -17
  133. package/es/components/keyboard/src/types.d.ts +17 -0
  134. package/es/components/keyboard/src/types.js +1 -0
  135. package/es/components/scale-view/index.d.ts +13 -0
  136. package/es/components/scale-view/src/ScaleView.vue.d.ts +13 -0
  137. package/es/components/scale-view/src/hooks/scaleview-computed.js +2 -1
  138. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +4 -0
  139. package/es/components/scale-view/src/hooks/scaleview-props.js +4 -0
  140. package/es/components/search-cascader/src/utils/index.d.ts +1 -1
  141. package/es/components/select-person/src/SelectPerson.vue2.js +8 -1
  142. package/es/components/shortcut-provider/src/hooks/useShortcuts.js +1 -1
  143. package/es/components/shortcut-provider/src/types/index.d.ts +1 -0
  144. package/es/components/shortcut-provider/src/utils/index.d.ts +1 -1
  145. package/es/components/shortcut-provider/src/utils/index.js +3 -1
  146. package/es/components/shortcut-setter/index.d.ts +5 -0
  147. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -0
  148. package/es/components/table-filter/index.js +1 -1
  149. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +246 -1
  150. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +8 -2
  151. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +104 -0
  152. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
  153. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +250 -0
  154. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +116 -0
  155. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +43 -4
  156. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +117 -1
  157. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +45 -8
  158. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +233 -1
  159. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
  160. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +74 -2
  161. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +258 -5
  162. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +15 -6
  163. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
  164. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  165. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
  166. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
  167. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -3
  168. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
  169. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
  170. package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +38 -2
  171. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +3 -3
  172. package/es/components/table-filter/src/hooks/useAdvanced.js +5 -4
  173. package/es/components/table-filter/src/tool/baseOptions.js +8 -1
  174. package/es/components/table-filter/src/types/enums.d.ts +5 -0
  175. package/es/components/table-filter/src/types/enums.js +6 -1
  176. package/es/components/time-picker/index.d.ts +36 -4
  177. package/es/components/time-picker/src/TimePicker.vue.d.ts +36 -4
  178. package/es/components/time-picker/src/TimePicker.vue2.js +98 -13
  179. package/es/components/vertify/index.d.ts +1 -0
  180. package/es/components/vertify/index.js +1 -0
  181. package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
  182. package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
  183. package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
  184. package/es/components/vertify/src/utils/dialog.d.ts +7 -0
  185. package/es/components/vertify/src/utils/dialog.js +73 -0
  186. package/es/components/vertify/src/utils/index.d.ts +11 -0
  187. package/es/components/vertify/src/utils/index.js +24 -0
  188. package/es/components/vod-chunk-upload/index.d.ts +13 -0
  189. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +19 -2
  190. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +104 -75
  191. package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
  192. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +20 -3
  193. package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
  194. package/es/components/vod-chunk-upload/src/hooks/upload-data.js +6 -2
  195. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +13 -0
  196. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +6 -1
  197. package/es/components/vod-chunk-upload/style/index.css +1 -1
  198. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  199. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  200. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  201. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  202. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  203. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  204. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  205. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  206. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  207. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  208. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  209. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  210. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  211. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  212. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  213. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  214. package/es/shared/assets/img/failure.png.js +1 -1
  215. package/es/shared/assets/img/no-permission.png.js +1 -1
  216. package/es/shared/assets/img/nodata.png.js +1 -1
  217. package/es/shared/assets/img/notfound.png.js +1 -1
  218. package/es/shared/assets/img/qr.png.js +1 -1
  219. package/es/shared/assets/img/success.png.js +1 -1
  220. package/es/shared/assets/img/table_style_2.png.js +1 -1
  221. package/es/shared/assets/img/video.png.js +1 -1
  222. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  223. package/es/shared/assets/img/xb_big.png.js +1 -1
  224. package/es/shared/assets/img/xb_small.png.js +1 -1
  225. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  226. package/es/shared/hooks/useDateTime.d.ts +1 -1
  227. package/es/shared/hooks/useDateTime.js +1 -1
  228. package/es/shared/hooks/useLevelSearchCascader.js +3 -3
  229. package/es/shared/package.json.js +2 -2
  230. package/es/shared/utils/fabricjs/index.js +1 -1
  231. package/package.json +5 -5
  232. package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
  233. package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
  234. package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
  235. package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
  236. package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
  237. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  238. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  239. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  240. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  241. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  242. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  243. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -627,6 +627,8 @@ declare const _default: import("vue").DefineComponent<{
627
627
  menuProps: {
628
628
  class: string;
629
629
  };
630
+ specialDateRange: string[];
631
+ specialCustomDateRange: string[];
630
632
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
631
633
  actionList_prop: {
632
634
  type: PropType<IClassifyListType>;
@@ -701,6 +703,11 @@ declare const _default: import("vue").DefineComponent<{
701
703
  getParamCfg: (key: string) => any;
702
704
  initFilterConditions: (tableId: string, rawConditions: import("../../../components/table-filter/src/types").ISearchConfigType) => Promise<void>;
703
705
  getRawFilterConditions: () => any[];
706
+ dateTypeList: string[];
707
+ getOptions: (key: string) => {
708
+ label: string;
709
+ value: string;
710
+ }[];
704
711
  handleEditDisplayCategory: (item: import("../../../components/table-filter/src/types").ICategoryItemType) => void;
705
712
  handleDisplayCategoryAddState: () => void;
706
713
  findConditionByDisplayCategory: (sid: string) => unknown;
@@ -721,6 +728,10 @@ declare const _default: import("vue").DefineComponent<{
721
728
  AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
722
729
  CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
723
730
  ValueCfg: import("vue").DefineComponent<{
731
+ item: {
732
+ type: ObjectConstructor;
733
+ default: null;
734
+ };
724
735
  paramCfg: {
725
736
  type: ObjectConstructor;
726
737
  default: null;
@@ -742,6 +753,10 @@ declare const _default: import("vue").DefineComponent<{
742
753
  };
743
754
  }, {
744
755
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
756
+ item: {
757
+ type: ObjectConstructor;
758
+ default: null;
759
+ };
745
760
  paramCfg: {
746
761
  type: ObjectConstructor;
747
762
  default: null;
@@ -777,6 +792,10 @@ declare const _default: import("vue").DefineComponent<{
777
792
  componentCfg: {
778
793
  type: ObjectConstructor;
779
794
  };
795
+ item: {
796
+ type: ObjectConstructor;
797
+ required: true;
798
+ };
780
799
  paramCfg: {
781
800
  type: ObjectConstructor;
782
801
  default: null;
@@ -798,6 +817,10 @@ declare const _default: import("vue").DefineComponent<{
798
817
  componentCfg: {
799
818
  type: ObjectConstructor;
800
819
  };
820
+ item: {
821
+ type: ObjectConstructor;
822
+ required: true;
823
+ };
801
824
  paramCfg: {
802
825
  type: ObjectConstructor;
803
826
  default: null;
@@ -820,6 +843,7 @@ declare const _default: import("vue").DefineComponent<{
820
843
  "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
821
844
  }>>;
822
845
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
846
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
823
847
  valueCp: import("vue").WritableComputedRef<any>;
824
848
  presetValCp: import("vue").WritableComputedRef<string>;
825
849
  dateType: any;
@@ -966,6 +990,109 @@ declare const _default: import("vue").DefineComponent<{
966
990
  holidays: Date[];
967
991
  }>>;
968
992
  NSelect: any;
993
+ DateOption: import("vue").DefineComponent<{
994
+ filterType: {
995
+ type: StringConstructor;
996
+ required: true;
997
+ };
998
+ modelValue: {
999
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1000
+ default: null;
1001
+ };
1002
+ presetVal: {
1003
+ type: StringConstructor;
1004
+ default: null;
1005
+ };
1006
+ dateType: {
1007
+ type: StringConstructor;
1008
+ };
1009
+ isDateDisabled: {
1010
+ type: FunctionConstructor;
1011
+ };
1012
+ timeDisabled: {
1013
+ type: FunctionConstructor;
1014
+ };
1015
+ valueFormat: {
1016
+ type: StringConstructor;
1017
+ };
1018
+ }, {
1019
+ widgetOptions: {
1020
+ label: string;
1021
+ value: string;
1022
+ }[];
1023
+ widgetRangeOptions: {
1024
+ label: string;
1025
+ value: string;
1026
+ }[];
1027
+ startDateNum: import("vue").Ref<any>;
1028
+ endDateNum: import("vue").Ref<any>;
1029
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1030
+ filterType: {
1031
+ type: StringConstructor;
1032
+ required: true;
1033
+ };
1034
+ modelValue: {
1035
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1036
+ default: null;
1037
+ };
1038
+ presetVal: {
1039
+ type: StringConstructor;
1040
+ default: null;
1041
+ };
1042
+ dateType: {
1043
+ type: StringConstructor;
1044
+ };
1045
+ isDateDisabled: {
1046
+ type: FunctionConstructor;
1047
+ };
1048
+ timeDisabled: {
1049
+ type: FunctionConstructor;
1050
+ };
1051
+ valueFormat: {
1052
+ type: StringConstructor;
1053
+ };
1054
+ }>> & {
1055
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1056
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1057
+ }>>;
1058
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
1059
+ valueCp: import("vue").WritableComputedRef<any>;
1060
+ presetValCp: import("vue").WritableComputedRef<string>;
1061
+ handleChange: (val: any, type: "start" | "end") => void;
1062
+ NSelect: any;
1063
+ NInputNumber: any;
1064
+ }, 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<{
1065
+ filterType: {
1066
+ type: StringConstructor;
1067
+ required: true;
1068
+ };
1069
+ modelValue: {
1070
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1071
+ default: null;
1072
+ };
1073
+ presetVal: {
1074
+ type: StringConstructor;
1075
+ default: null;
1076
+ };
1077
+ dateType: {
1078
+ type: StringConstructor;
1079
+ };
1080
+ isDateDisabled: {
1081
+ type: FunctionConstructor;
1082
+ };
1083
+ timeDisabled: {
1084
+ type: FunctionConstructor;
1085
+ };
1086
+ valueFormat: {
1087
+ type: StringConstructor;
1088
+ };
1089
+ }>> & {
1090
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1091
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1092
+ }, {
1093
+ modelValue: string | number | unknown[];
1094
+ presetVal: string;
1095
+ }>;
969
1096
  WidgetValEnums: {
970
1097
  CUSTOM: string;
971
1098
  FIRST_VAL: string;
@@ -1001,6 +1128,10 @@ declare const _default: import("vue").DefineComponent<{
1001
1128
  componentCfg: {
1002
1129
  type: ObjectConstructor;
1003
1130
  };
1131
+ item: {
1132
+ type: ObjectConstructor;
1133
+ required: true;
1134
+ };
1004
1135
  paramCfg: {
1005
1136
  type: ObjectConstructor;
1006
1137
  default: null;
@@ -1478,6 +1609,10 @@ declare const _default: import("vue").DefineComponent<{
1478
1609
  paramCfg: Record<string, any>;
1479
1610
  }>;
1480
1611
  DateRange: import("vue").DefineComponent<{
1612
+ item: {
1613
+ type: ObjectConstructor;
1614
+ required: true;
1615
+ };
1481
1616
  paramCfg: {
1482
1617
  type: ObjectConstructor;
1483
1618
  default: null;
@@ -1496,6 +1631,10 @@ declare const _default: import("vue").DefineComponent<{
1496
1631
  };
1497
1632
  }, {
1498
1633
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1634
+ item: {
1635
+ type: ObjectConstructor;
1636
+ required: true;
1637
+ };
1499
1638
  paramCfg: {
1500
1639
  type: ObjectConstructor;
1501
1640
  default: null;
@@ -1520,6 +1659,7 @@ declare const _default: import("vue").DefineComponent<{
1520
1659
  emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
1521
1660
  startDate: import("vue").Ref<any>;
1522
1661
  endDate: import("vue").Ref<any>;
1662
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
1523
1663
  valueFormat: import("vue").ComputedRef<string>;
1524
1664
  dateFormat: import("vue").ComputedRef<string>;
1525
1665
  compType: import("vue").ComputedRef<any>;
@@ -1538,7 +1678,7 @@ declare const _default: import("vue").DefineComponent<{
1538
1678
  value: string;
1539
1679
  }[]>;
1540
1680
  presetValCp: import("vue").WritableComputedRef<string>;
1541
- customDateCp: import("vue").WritableComputedRef<string>;
1681
+ valueDateCp: import("vue").WritableComputedRef<unknown>;
1542
1682
  handleChange: (val: any, type: "start" | "end") => void;
1543
1683
  isStartDateDisabled: (ts: number) => boolean;
1544
1684
  timeStartDisabled: (ts: number) => {
@@ -1683,6 +1823,109 @@ declare const _default: import("vue").DefineComponent<{
1683
1823
  to: string | false | HTMLElement;
1684
1824
  holidays: Date[];
1685
1825
  }>>;
1826
+ DateOption: import("vue").DefineComponent<{
1827
+ filterType: {
1828
+ type: StringConstructor;
1829
+ required: true;
1830
+ };
1831
+ modelValue: {
1832
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1833
+ default: null;
1834
+ };
1835
+ presetVal: {
1836
+ type: StringConstructor;
1837
+ default: null;
1838
+ };
1839
+ dateType: {
1840
+ type: StringConstructor;
1841
+ };
1842
+ isDateDisabled: {
1843
+ type: FunctionConstructor;
1844
+ };
1845
+ timeDisabled: {
1846
+ type: FunctionConstructor;
1847
+ };
1848
+ valueFormat: {
1849
+ type: StringConstructor;
1850
+ };
1851
+ }, {
1852
+ widgetOptions: {
1853
+ label: string;
1854
+ value: string;
1855
+ }[];
1856
+ widgetRangeOptions: {
1857
+ label: string;
1858
+ value: string;
1859
+ }[];
1860
+ startDateNum: import("vue").Ref<any>;
1861
+ endDateNum: import("vue").Ref<any>;
1862
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1863
+ filterType: {
1864
+ type: StringConstructor;
1865
+ required: true;
1866
+ };
1867
+ modelValue: {
1868
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1869
+ default: null;
1870
+ };
1871
+ presetVal: {
1872
+ type: StringConstructor;
1873
+ default: null;
1874
+ };
1875
+ dateType: {
1876
+ type: StringConstructor;
1877
+ };
1878
+ isDateDisabled: {
1879
+ type: FunctionConstructor;
1880
+ };
1881
+ timeDisabled: {
1882
+ type: FunctionConstructor;
1883
+ };
1884
+ valueFormat: {
1885
+ type: StringConstructor;
1886
+ };
1887
+ }>> & {
1888
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1889
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1890
+ }>>;
1891
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
1892
+ valueCp: import("vue").WritableComputedRef<any>;
1893
+ presetValCp: import("vue").WritableComputedRef<string>;
1894
+ handleChange: (val: any, type: "start" | "end") => void;
1895
+ NSelect: any;
1896
+ NInputNumber: any;
1897
+ }, 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<{
1898
+ filterType: {
1899
+ type: StringConstructor;
1900
+ required: true;
1901
+ };
1902
+ modelValue: {
1903
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1904
+ default: null;
1905
+ };
1906
+ presetVal: {
1907
+ type: StringConstructor;
1908
+ default: null;
1909
+ };
1910
+ dateType: {
1911
+ type: StringConstructor;
1912
+ };
1913
+ isDateDisabled: {
1914
+ type: FunctionConstructor;
1915
+ };
1916
+ timeDisabled: {
1917
+ type: FunctionConstructor;
1918
+ };
1919
+ valueFormat: {
1920
+ type: StringConstructor;
1921
+ };
1922
+ }>> & {
1923
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1924
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1925
+ }, {
1926
+ modelValue: string | number | unknown[];
1927
+ presetVal: string;
1928
+ }>;
1686
1929
  WidgetValEnums: {
1687
1930
  CUSTOM: string;
1688
1931
  FIRST_VAL: string;
@@ -1715,6 +1958,10 @@ declare const _default: import("vue").DefineComponent<{
1715
1958
  LAST_YEAR: string;
1716
1959
  };
1717
1960
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1961
+ item: {
1962
+ type: ObjectConstructor;
1963
+ required: true;
1964
+ };
1718
1965
  paramCfg: {
1719
1966
  type: ObjectConstructor;
1720
1967
  default: null;
@@ -1867,6 +2114,10 @@ declare const _default: import("vue").DefineComponent<{
1867
2114
  SELECTTREEDYNAMIC: string;
1868
2115
  };
1869
2116
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2117
+ item: {
2118
+ type: ObjectConstructor;
2119
+ default: null;
2120
+ };
1870
2121
  paramCfg: {
1871
2122
  type: ObjectConstructor;
1872
2123
  default: null;
@@ -1893,6 +2144,7 @@ declare const _default: import("vue").DefineComponent<{
1893
2144
  "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
1894
2145
  }, {
1895
2146
  modelValue: string | number | unknown[];
2147
+ item: Record<string, any>;
1896
2148
  paramCfg: Record<string, any>;
1897
2149
  presetVal: string;
1898
2150
  isAccurate: boolean;
@@ -1901,11 +2153,12 @@ declare const _default: import("vue").DefineComponent<{
1901
2153
  ConditionEnums: {
1902
2154
  NULL: string;
1903
2155
  EQUAL: string;
2156
+ CUSTOM_RANGE: string;
2157
+ IN_THE_PAST: string;
2158
+ IN_THE_FUTURE: string;
2159
+ IN_THE_PAST_DI: string;
2160
+ IN_THE_FUTURE_DI: string;
1904
2161
  };
1905
- conditionOptions: {
1906
- label: string;
1907
- value: string;
1908
- }[];
1909
2162
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1910
2163
  actionList_prop: {
1911
2164
  type: PropType<IClassifyListType>;
@@ -31,7 +31,7 @@ var PopupMenu = /* @__PURE__ */ defineComponent({
31
31
  slots,
32
32
  emit
33
33
  }) {
34
- const menuRef = ref(null);
34
+ const menuRef = ref();
35
35
  useEventListener(menuRef, "contextmenu", (e) => {
36
36
  e.preventDefault();
37
37
  return false;
@@ -22,6 +22,8 @@ function getCurrentTime(lastTime, range2) {
22
22
  return lastTime + 1 > range2[1] ? range2[0] : lastTime + 1;
23
23
  }
24
24
  function isStartTimeHalfOrLater(startTime) {
25
+ if (!startTime)
26
+ return false;
25
27
  const startTimeDate = new Date(startTime);
26
28
  return getMinutes(startTimeDate) >= 30;
27
29
  }
@@ -784,7 +786,7 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
784
786
  const processTimeList = range(processTimeRange[0], processTimeRange[1] + 1);
785
787
  const timeTextList = [];
786
788
  const processTimeTextList = [];
787
- const firstTime = getHours(new Date(startTime2));
789
+ const firstTime = startTime2 ? getHours(new Date(startTime2)) : 0;
788
790
  const halfYCellHeight = yCellHeight / 2;
789
791
  for (let i = 0; i < grid.mainXCell; i++) {
790
792
  if (show) {
@@ -856,6 +858,7 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
856
858
  position = "center",
857
859
  spaceGridNumber = 1,
858
860
  showNumber = true,
861
+ showPositiveSign = false,
859
862
  showMaxMinNumber = true,
860
863
  showName = true
861
864
  } = item;
@@ -874,7 +877,8 @@ function useBirthProcess(canvas, propItems, emits, pointTipProps, pointMenuProps
874
877
  const top = i === 0 ? endY - 8 : i === list.length - 1 && padding[0] && (!originYCervix || key === "FHR") ? originY + 8 : baseTop;
875
878
  const isMaxMinNumber = i === 0 || i === listLen - 1;
876
879
  if (showNumber && (!isMaxMinNumber || showMaxMinNumber)) {
877
- textList.push(drawScaleNumber(String(num), item, textLeft, top));
880
+ const numVaule = showPositiveSign && +num > 0 ? "+" + num : String(num);
881
+ textList.push(drawScaleNumber(numVaule, item, textLeft, top));
878
882
  }
879
883
  lineList.push(...drawScaleLine(item, i, lineXMain, lineXSub, baseTop, yCellHeight, originY, listLen, 1));
880
884
  });
@@ -50,7 +50,8 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, c
50
50
  function drwaPainScaleValue(item) {
51
51
  const {
52
52
  list: listItem = [],
53
- spaceGridNumber = 5,
53
+ spaceGridNumber = 1,
54
+ numberVerticalPosition = "bottom",
54
55
  showScale,
55
56
  showNumber,
56
57
  position,
@@ -84,7 +85,7 @@ function useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, c
84
85
  const listLen = listItem.length;
85
86
  listItem.forEach((v, i) => {
86
87
  let top = painOriginY.endY - i * yCellHeight * spaceGridNumber;
87
- if (i === 0 && painSurplusCell[1] === 0) {
88
+ if (i === 0 && painSurplusCell[1] === 0 && (spaceGridNumber == 1 || numberVerticalPosition === "bottom")) {
88
89
  top = endY - 5;
89
90
  }
90
91
  const isMaxMinNumber = i === 0 || i === listLen - 1;
@@ -1,4 +1,4 @@
1
1
  import { Ref } from 'vue';
2
2
  import { fabric } from '../../../../../shared/utils/fabricjs';
3
3
  import { IPropItems, IObject } from '../../../../../components/fabric-chart/src/interface';
4
- export declare function useOther(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: Function, computedX: Function, computedY: Function, fixedNoRisePoints: Set<IObject>): void;
4
+ export declare function useOther(canvas: Ref<fabric.Canvas>, propItems: IPropItems, emits: Function, computedX: Function, computedY: Function, fixedNoRisePoints: Set<IObject>, getXValue: Function): void;
@@ -1,7 +1,7 @@
1
1
  import { fabric } from '../../../../../shared/utils/fabricjs/index.js';
2
2
  import { drawLine, defaultStyle } from '../useDraw.js';
3
- import 'date-fns';
4
- import { cloneDeep, last } from 'lodash-es';
3
+ import { parse, isBefore, addDays, getDate } from 'date-fns';
4
+ import { last, cloneDeep } from 'lodash-es';
5
5
  import '../useEvent.js';
6
6
  import '../useShadow.js';
7
7
  import '../useCommon.js';
@@ -14,14 +14,15 @@ import '@vueuse/core';
14
14
  import '../surgicalAnesthesia/useOther.js';
15
15
  import '../../../../../shared/utils/index.js';
16
16
 
17
- function useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoints) {
17
+ function useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoints, getXValue) {
18
18
  const {
19
19
  left: leftObj,
20
20
  other,
21
21
  vitalSignsOriginY,
22
22
  xCellWidth,
23
23
  yCellHeight,
24
- endX
24
+ endX,
25
+ originX
25
26
  } = propItems;
26
27
  const getYCellHeight = () => {
27
28
  const fontSize = Math.min(...((other == null ? void 0 : other.list) || []).map((item) => {
@@ -32,11 +33,35 @@ function useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoi
32
33
  };
33
34
  const _yCellHeight = getYCellHeight();
34
35
  let textDiff = 0;
35
- function drawOther() {
36
- var _a, _b;
36
+ function handleCrossDayLayout(currentTime, itemLeft, lastLeft, eventList) {
37
+ const newLeft = itemLeft + xCellWidth;
38
+ const nextTime = getXValue(newLeft);
39
+ if (isCrossDay(currentTime, nextTime)) {
40
+ adjustEventsForCrossDay(eventList);
41
+ return itemLeft;
42
+ } else {
43
+ return lastLeft + xCellWidth;
44
+ }
45
+ }
46
+ function adjustEventsForCrossDay(eventList) {
47
+ const currentColumnEvents = [...eventList];
48
+ const sortedEvents = currentColumnEvents.sort((a, b) => (b.trueLeft || 0) - (a.trueLeft || 0));
49
+ for (let i = 0; i < sortedEvents.length; i++) {
50
+ const event = sortedEvents[i];
51
+ const nextEvent = sortedEvents[i + 1];
52
+ const prevLeft = event.trueLeft - xCellWidth;
53
+ if (prevLeft >= originX) {
54
+ event.set("left", prevLeft);
55
+ event.trueLeft = prevLeft;
56
+ }
57
+ if (nextEvent && (event.trueLeft || 0) - (nextEvent.trueLeft || 0) > xCellWidth + 1) {
58
+ break;
59
+ }
60
+ }
61
+ }
62
+ function createOtherList() {
37
63
  if (!(other == null ? void 0 : other.list))
38
- return false;
39
- const list = [];
64
+ return [];
40
65
  const otherList = [];
41
66
  cloneDeep(other.list).forEach((item, index) => {
42
67
  item.value = item.value || "";
@@ -44,19 +69,29 @@ function useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoi
44
69
  const left = computedX(item.time, true);
45
70
  if (left > endX)
46
71
  return;
47
- const obj = otherList.find((v) => v.left == left);
48
- if (obj) {
49
- obj[align].push(item);
72
+ const existingGroup = otherList.find((v) => v.left === left);
73
+ if (existingGroup) {
74
+ existingGroup[align].push(item);
50
75
  } else {
51
- const initObj = {
76
+ const newGroup = {
52
77
  left,
53
78
  vertical: [],
54
79
  horizontal: []
55
80
  };
56
- initObj[align].push(item);
57
- otherList.push(initObj);
81
+ newGroup[align].push(item);
82
+ otherList.push(newGroup);
58
83
  }
59
84
  });
85
+ return otherList;
86
+ }
87
+ function drawOther() {
88
+ var _a, _b;
89
+ if (!(other == null ? void 0 : other.list))
90
+ return;
91
+ const list = [];
92
+ const otherList = createOtherList();
93
+ if (otherList.length === 0)
94
+ return false;
60
95
  const scaleList = (_b = (_a = leftObj.yScaleValue) == null ? void 0 : _a.find((item) => item.type === "temperature")) == null ? void 0 : _b.list;
61
96
  const fixedTop = (scaleList == null ? void 0 : scaleList.length) ? computedY("temperature", 35) : 0;
62
97
  const isFixed = (v) => v.fixed && fixedTop && (v.fixedValue || v.value);
@@ -99,7 +134,7 @@ function useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoi
99
134
  fixedTopY = fixedTop;
100
135
  const lastLeft = ((_a2 = last(list)) == null ? void 0 : _a2.left) || 0;
101
136
  if (item.left <= lastLeft + 0.1) {
102
- leftX = lastLeft + xCellWidth;
137
+ leftX = handleCrossDayLayout(v.time, item.left, lastLeft, list);
103
138
  }
104
139
  if (String(v.value).length) {
105
140
  list.push(drawEventText(v, leftX, topY2));
@@ -197,5 +232,13 @@ function useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoi
197
232
  }
198
233
  drawOther();
199
234
  }
235
+ function isCrossDay(dateStr1, dateStr2) {
236
+ const date1 = parse(dateStr1, "yyyy-MM-dd HH:mm", new Date());
237
+ const date2 = parse(dateStr2, "yyyy-MM-dd HH:mm", new Date());
238
+ const earlierDate = isBefore(date1, date2) ? date1 : date2;
239
+ const laterDate = isBefore(date1, date2) ? date2 : date1;
240
+ const earlierDatePlusOneDay = addDays(earlierDate, 1);
241
+ return getDate(earlierDatePlusOneDay) === getDate(laterDate);
242
+ }
200
243
 
201
244
  export { useOther };
@@ -227,9 +227,10 @@ function useTemperatureChart(canvas, props, emits, canvasRef, pointTipProps, poi
227
227
  if (!painItem)
228
228
  return 0;
229
229
  const {
230
- numberVerticalPosition = "bottom"
230
+ numberVerticalPosition = "bottom",
231
+ spaceGridNumber = 1
231
232
  } = painItem;
232
- return numberVerticalPosition === "center" ? yCellHeight.value / 2 : 0;
233
+ return numberVerticalPosition === "center" ? yCellHeight.value * spaceGridNumber / 2 : 0;
233
234
  });
234
235
  const painIndex = computed(() => {
235
236
  const {
@@ -398,7 +399,7 @@ function useTemperatureChart(canvas, props, emits, canvasRef, pointTipProps, poi
398
399
  } = useLeft(canvas, propItems, emits, setPopup, pointTipProps, computedX, computedY, getXValue, getYValue, isAddPoint, updateData, gridPoints);
399
400
  useRight(canvas, propItems, drawScaleValue);
400
401
  useBottom(canvas, propItems);
401
- useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoints);
402
+ useOther(canvas, propItems, emits, computedX, computedY, fixedNoRisePoints, getXValue);
402
403
  const {
403
404
  select: _select
404
405
  } = useCanvasEvent(canvas, propItems, emits);
@@ -215,6 +215,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
215
215
  type: BooleanConstructor;
216
216
  };
217
217
  lazyRender: BooleanConstructor;
218
+ linebreaksToTitle: BooleanConstructor;
218
219
  dialogFn: {};
219
220
  }, {
220
221
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -423,6 +424,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
423
424
  type: BooleanConstructor;
424
425
  };
425
426
  lazyRender: BooleanConstructor;
427
+ linebreaksToTitle: BooleanConstructor;
426
428
  dialogFn: {};
427
429
  }>> & {
428
430
  onFormChange?: ((...args: any[]) => any) | undefined;
@@ -600,6 +602,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
600
602
  feedbackType: "default" | "tooltip";
601
603
  fixMemoLeak: boolean;
602
604
  lazyRender: boolean;
605
+ linebreaksToTitle: boolean;
603
606
  dialogFn: any;
604
607
  }>) => Record<string, import("@formily/json-schema").Stringify<{
605
608
  [key: symbol]: any;
@@ -992,6 +995,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
992
995
  type: BooleanConstructor;
993
996
  };
994
997
  lazyRender: BooleanConstructor;
998
+ linebreaksToTitle: BooleanConstructor;
995
999
  dialogFn: {};
996
1000
  }>> & {
997
1001
  onFormChange?: ((...args: any[]) => any) | undefined;
@@ -1026,6 +1030,7 @@ declare const FieldEditor: SFCWithInstall<import("vue").DefineComponent<{}, {
1026
1030
  feedbackType: "default" | "tooltip";
1027
1031
  fixMemoLeak: boolean;
1028
1032
  lazyRender: boolean;
1033
+ linebreaksToTitle: boolean;
1029
1034
  nominalAge: boolean;
1030
1035
  operationalFormInit: boolean;
1031
1036
  incrementalRender: boolean;