cnhis-design-vue 3.3.3-beta.7 → 3.3.3-beta.70

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 (300) hide show
  1. package/README.md +87 -87
  2. package/es/components/audio-sdk/index.d.ts +18 -16
  3. package/es/components/audio-sdk/src/Index.vue.d.ts +18 -16
  4. package/es/components/audio-sdk/src/Index.vue2.js +40 -5
  5. package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +6 -6
  6. package/es/components/audio-sdk/src/components/recording.vue.d.ts +6 -6
  7. package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
  8. package/es/components/base-search/index.d.ts +3 -0
  9. package/es/components/base-search/src/index.vue.d.ts +3 -0
  10. package/es/components/big-table/src/components/NoData.vue2.js +8 -1
  11. package/es/components/big-table/src/hooks/useTableParse.js +8 -1
  12. package/es/components/button-print/index.d.ts +67 -2
  13. package/es/components/button-print/src/ButtonPrint.vue.d.ts +67 -2
  14. package/es/components/button-print/src/ButtonPrint.vue2.js +6 -0
  15. package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +28 -3
  16. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +138 -15
  17. package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +18 -0
  18. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -6
  19. package/es/components/button-print/src/utils/print.d.ts +7 -5
  20. package/es/components/button-print/src/utils/print.js +183 -7
  21. package/es/components/button-print/style/index.css +1 -1
  22. package/es/components/calendar/src/Calendar.vue2.js +15 -5
  23. package/es/components/callback/src/components/render/popupMaps.d.ts +18 -0
  24. package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
  25. package/es/components/classification/index.d.ts +562 -10
  26. package/es/components/classification/src/components/search-filter/index.vue.d.ts +562 -10
  27. package/es/components/classification/src/components/set-classification/index.vue.d.ts +562 -10
  28. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  29. package/es/components/classification/src/index.vue.d.ts +565 -10
  30. package/es/components/date-picker/src/DatePicker.vue2.js +8 -1
  31. package/es/components/expand-field/index.d.ts +792 -1
  32. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
  33. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
  34. package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
  35. package/es/components/expand-field/src/components/form.vue2.js +8 -1
  36. package/es/components/expand-field/src/index.vue.d.ts +792 -1
  37. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -1
  38. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
  39. package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
  40. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
  41. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
  42. package/es/components/field-editor/index.d.ts +18 -0
  43. package/es/components/field-editor/src/FieldEditor.vue.d.ts +18 -0
  44. package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
  45. package/es/components/field-editor/src/fields.d.ts +1 -0
  46. package/es/components/field-editor/src/fields.js +6 -0
  47. package/es/components/field-set/src/FieldColor.vue.d.ts +6 -1
  48. package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -1
  49. package/es/components/field-set/src/FieldSet.vue.d.ts +38 -1
  50. package/es/components/field-set/src/FieldSet.vue2.js +118 -69
  51. package/es/components/field-set/src/Index.vue2.js +8 -3
  52. package/es/components/field-set/src/TableStyle.vue2.js +2 -2
  53. package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
  54. package/es/components/field-set/src/components/table-row.vue2.js +21 -6
  55. package/es/components/field-set/src/constants/index.d.ts +1 -1
  56. package/es/components/field-set/src/types/index.d.ts +3 -1
  57. package/es/components/field-set/style/index.css +1 -1
  58. package/es/components/form-config/index.d.ts +114 -12
  59. package/es/components/form-config/src/FormConfig.vue.d.ts +114 -12
  60. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +18 -0
  61. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +71 -8
  62. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
  63. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +20 -2
  64. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +9 -2
  65. package/es/components/form-config/src/constants/index.d.ts +31 -1
  66. package/es/components/form-config/src/constants/index.js +150 -1
  67. package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
  68. package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
  69. package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
  70. package/es/components/form-config/src/hooks/useLocale.js +34 -0
  71. package/es/components/form-config/src/types/index.d.ts +12 -0
  72. package/es/components/form-render/index.d.ts +18 -0
  73. package/es/components/form-render/src/FormRender.vue.d.ts +18 -0
  74. package/es/components/form-render/src/FormRender.vue2.js +5 -0
  75. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +18 -0
  76. package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
  77. package/es/components/form-render/src/components/renderer/formItem.js +17 -3
  78. package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
  79. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  80. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  81. package/es/components/form-render/src/components/renderer/radio_checkbox.js +9 -3
  82. package/es/components/form-render/src/components/renderer/searchCascade.js +3 -0
  83. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
  84. package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
  85. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
  86. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  87. package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
  88. package/es/components/form-render/src/hooks/useFormContext.js +1 -1
  89. package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
  90. package/es/components/form-render/src/hooks/useLowCodeReactions.js +2 -1
  91. package/es/components/form-render/src/types/index.d.ts +1 -0
  92. package/es/components/form-render/src/utils/business.d.ts +3 -1
  93. package/es/components/form-render/src/utils/business.js +7 -1
  94. package/es/components/form-render/style/index.css +1 -1
  95. package/es/components/iho-chat/index.d.ts +902 -99
  96. package/es/components/iho-chat/src/Index.vue.d.ts +902 -99
  97. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
  98. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +181 -8
  99. package/es/components/iho-chat/src/components/ChatFile.vue2.js +51 -41
  100. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +66 -6
  101. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +158 -57
  102. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +329 -15
  103. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +21 -19
  104. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +235 -20
  105. package/es/components/iho-chat/src/components/ChatMain.vue2.js +298 -279
  106. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +51 -5
  107. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +3 -3
  108. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
  109. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
  110. package/es/components/iho-chat/src/components/ContextMenu.js +34 -27
  111. package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
  112. package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
  113. package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
  114. package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
  115. package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +53 -6
  116. package/es/components/iho-chat/src/components/MessageMergeForward.vue2.js +3 -3
  117. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +93 -30
  118. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +348 -144
  119. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
  120. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  121. package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
  122. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
  123. package/es/components/iho-chat/src/components/Video.vue.d.ts +38 -25
  124. package/es/components/iho-chat/src/components/Video.vue2.js +35 -40
  125. package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
  126. package/es/components/iho-chat/src/hooks/index.js +1 -0
  127. package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
  128. package/es/components/iho-chat/src/hooks/useData.js +2 -7
  129. package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
  130. package/es/components/iho-chat/src/hooks/useDraggable.js +160 -0
  131. package/es/components/iho-chat/src/hooks/useVideo.d.ts +78 -11
  132. package/es/components/iho-chat/src/hooks/useVideo.js +420 -44
  133. package/es/components/iho-chat/src/types/index.d.ts +37 -1
  134. package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
  135. package/es/components/iho-chat/src/utils/emoji.js +1 -1
  136. package/es/components/iho-chat/src/utils/index.d.ts +4 -3
  137. package/es/components/iho-chat/src/utils/index.js +33 -39
  138. package/es/components/iho-chat/style/index.css +1 -1
  139. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +8 -1
  140. package/es/components/iho-table/src/plugins/headerPlugin/index.js +5 -2
  141. package/es/components/iho-table/src/plugins/highLightSetPlugin.js +2 -1
  142. package/es/components/index.css +1 -1
  143. package/es/components/index.d.ts +2 -0
  144. package/es/components/index.js +1 -0
  145. package/es/components/info-header/index.d.ts +41 -0
  146. package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -0
  147. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  148. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
  149. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
  150. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +19 -0
  151. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +18 -0
  152. package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
  153. package/es/components/keyboard/index.d.ts +9 -0
  154. package/es/components/keyboard/src/Keyboard.vue.d.ts +9 -0
  155. package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
  156. package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +4 -0
  157. package/es/components/keyboard/src/components/NumberPanel.vue2.js +50 -17
  158. package/es/components/keyboard/src/types.d.ts +17 -0
  159. package/es/components/keyboard/src/types.js +1 -0
  160. package/es/components/quick-search/index.d.ts +2 -0
  161. package/es/components/quick-search/src/index.vue.d.ts +2 -0
  162. package/es/components/scale-view/index.d.ts +66 -3
  163. package/es/components/scale-view/src/ScaleView.vue.d.ts +69 -5
  164. package/es/components/scale-view/src/ScaleView.vue2.js +79 -4
  165. package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
  166. package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
  167. package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +3 -0
  168. package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +26 -2
  169. package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +3 -0
  170. package/es/components/scale-view/src/components/EvaluatePage.vue2.js +27 -6
  171. package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
  172. package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
  173. package/es/components/scale-view/src/components/ScaleScore.js +45 -3
  174. package/es/components/scale-view/src/components/formitem/r-checkbox.js +16 -2
  175. package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
  176. package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
  177. package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
  178. package/es/components/scale-view/src/hooks/scaleview-computed.js +20 -4
  179. package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
  180. package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
  181. package/es/components/scale-view/src/hooks/scaleview-props.d.ts +12 -0
  182. package/es/components/scale-view/src/hooks/scaleview-props.js +12 -0
  183. package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
  184. package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
  185. package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
  186. package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
  187. package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
  188. package/es/components/scale-view/src/hooks/use-noData.js +33 -5
  189. package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
  190. package/es/components/scale-view/src/utils/judge-types.js +10 -10
  191. package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
  192. package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
  193. package/es/components/select-person/index.d.ts +792 -1
  194. package/es/components/select-person/src/SelectPerson.vue.d.ts +433 -273
  195. package/es/components/select-person/src/SelectPerson.vue.js +6 -0
  196. package/es/components/select-person/src/SelectPerson.vue2.js +795 -0
  197. package/es/components/select-person/src/SelectPersonRole.vue.js +2 -2
  198. package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
  199. package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
  200. package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
  201. package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
  202. package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
  203. package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
  204. package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
  205. package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
  206. package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
  207. package/es/components/select-person/src/components/TagItem.vue.js +6 -0
  208. package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
  209. package/es/components/select-person/src/index.vue.d.ts +793 -1
  210. package/es/components/select-person/src/index.vue2.js +21 -4
  211. package/es/components/select-person/src/types/index.d.ts +35 -0
  212. package/es/components/select-person/src/types/index.js +1 -0
  213. package/es/components/select-person/src/utils/index.d.ts +3 -0
  214. package/es/components/select-person/src/utils/index.js +25 -2
  215. package/es/components/select-person/style/index.css +1 -1
  216. package/es/components/shortcut-setter/index.d.ts +20 -2
  217. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +20 -2
  218. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
  219. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
  220. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
  221. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
  222. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +543 -6
  223. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +32 -10
  224. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
  225. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
  226. package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
  227. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +255 -2
  228. package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +79 -5
  229. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +256 -2
  230. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +92 -6
  231. package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
  232. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +512 -4
  233. package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
  234. package/es/components/table-filter/src/components/classify-filter/helpers/options.js +123 -2
  235. package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
  236. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +561 -10
  237. package/es/components/table-filter/src/components/classify-filter/index.vue2.js +16 -7
  238. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
  239. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
  240. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
  241. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
  242. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
  243. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
  244. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
  245. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +5 -5
  246. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
  247. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +5 -5
  248. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
  249. package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
  250. package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
  251. package/es/components/table-filter/src/tool/baseOptions.js +8 -1
  252. package/es/components/table-filter/src/tool/date.d.ts +3 -0
  253. package/es/components/table-filter/src/tool/date.js +139 -0
  254. package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
  255. package/es/components/table-filter/src/tool/transformData.js +11 -8
  256. package/es/components/table-filter/src/types/enums.d.ts +13 -0
  257. package/es/components/table-filter/src/types/enums.js +15 -2
  258. package/es/components/table-filter/src/types/index.d.ts +12 -0
  259. package/es/components/vertify/index.d.ts +1 -0
  260. package/es/components/vertify/index.js +1 -0
  261. package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
  262. package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
  263. package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
  264. package/es/components/vertify/src/utils/dialog.d.ts +7 -0
  265. package/es/components/vertify/src/utils/dialog.js +73 -0
  266. package/es/components/vertify/src/utils/index.d.ts +11 -0
  267. package/es/components/vertify/src/utils/index.js +24 -0
  268. package/es/components/vod-chunk-upload/index.d.ts +16 -0
  269. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +20 -31
  270. package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +205 -78
  271. package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
  272. package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +35 -4
  273. package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
  274. package/es/components/vod-chunk-upload/src/hooks/upload-data.js +78 -11
  275. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +16 -0
  276. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +81 -10
  277. package/es/components/vod-chunk-upload/style/index.css +1 -1
  278. package/es/env.d.ts +25 -25
  279. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  280. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  281. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  282. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  283. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  284. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  285. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  286. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  287. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  288. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  289. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  290. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  291. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  292. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  293. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  294. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  295. package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
  296. package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
  297. package/es/shared/hooks/useLevelSearchCascader.js +3 -3
  298. package/es/shared/package.json.js +1 -1
  299. package/es/shared/utils/fabricjs/index.js +1 -1
  300. package/package.json +5 -4
@@ -1,5 +1,9 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
+ item: {
4
+ type: ObjectConstructor;
5
+ required: true;
6
+ };
3
7
  paramCfg: {
4
8
  type: ObjectConstructor;
5
9
  default: null;
@@ -12,8 +16,16 @@ declare const _default: import("vue").DefineComponent<{
12
16
  type: StringConstructor;
13
17
  default: null;
14
18
  };
19
+ customDate: {
20
+ type: StringConstructor;
21
+ default: null;
22
+ };
15
23
  }, {
16
24
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
25
+ item: {
26
+ type: ObjectConstructor;
27
+ required: true;
28
+ };
17
29
  paramCfg: {
18
30
  type: ObjectConstructor;
19
31
  default: null;
@@ -26,13 +38,19 @@ declare const _default: import("vue").DefineComponent<{
26
38
  type: StringConstructor;
27
39
  default: null;
28
40
  };
41
+ customDate: {
42
+ type: StringConstructor;
43
+ default: null;
44
+ };
29
45
  }>> & {
30
46
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
47
  "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
48
+ "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
32
49
  }>>;
33
- emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
50
+ emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
34
51
  startDate: import("vue").Ref<any>;
35
52
  endDate: import("vue").Ref<any>;
53
+ filterType: import("vue").ComputedRef<"1" | "2" | "3">;
36
54
  valueFormat: import("vue").ComputedRef<string>;
37
55
  dateFormat: import("vue").ComputedRef<string>;
38
56
  compType: import("vue").ComputedRef<any>;
@@ -51,6 +69,7 @@ declare const _default: import("vue").DefineComponent<{
51
69
  value: string;
52
70
  }[]>;
53
71
  presetValCp: import("vue").WritableComputedRef<string>;
72
+ valueDateCp: import("vue").WritableComputedRef<unknown>;
54
73
  handleChange: (val: any, type: 'start' | 'end') => void;
55
74
  isStartDateDisabled: (ts: number) => boolean;
56
75
  timeStartDisabled: (ts: number) => {
@@ -195,6 +214,231 @@ declare const _default: import("vue").DefineComponent<{
195
214
  to: string | false | HTMLElement;
196
215
  holidays: Date[];
197
216
  }>>;
217
+ DateOption: import("vue").DefineComponent<{
218
+ filterType: {
219
+ type: StringConstructor;
220
+ required: true;
221
+ };
222
+ modelValue: {
223
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
224
+ default: null;
225
+ };
226
+ presetVal: {
227
+ type: StringConstructor;
228
+ default: null;
229
+ };
230
+ dateType: {
231
+ type: StringConstructor;
232
+ };
233
+ isDateDisabled: {
234
+ type: FunctionConstructor;
235
+ };
236
+ timeDisabled: {
237
+ type: FunctionConstructor;
238
+ };
239
+ valueFormat: {
240
+ type: StringConstructor;
241
+ };
242
+ }, {
243
+ widgetOptions: {
244
+ label: string;
245
+ value: string;
246
+ }[];
247
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
248
+ filterType: {
249
+ type: StringConstructor;
250
+ required: true;
251
+ };
252
+ modelValue: {
253
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
254
+ default: null;
255
+ };
256
+ presetVal: {
257
+ type: StringConstructor;
258
+ default: null;
259
+ };
260
+ dateType: {
261
+ type: StringConstructor;
262
+ };
263
+ isDateDisabled: {
264
+ type: FunctionConstructor;
265
+ };
266
+ timeDisabled: {
267
+ type: FunctionConstructor;
268
+ };
269
+ valueFormat: {
270
+ type: StringConstructor;
271
+ };
272
+ }>> & {
273
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
274
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
275
+ }>>;
276
+ emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
277
+ valueCp: import("vue").WritableComputedRef<any>;
278
+ presetValCp: import("vue").WritableComputedRef<string>;
279
+ CDatePicker: import("../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
280
+ updateUnchangedValue: {
281
+ type: BooleanConstructor;
282
+ };
283
+ onConfirm: {
284
+ type: FunctionConstructor;
285
+ };
286
+ formattedValue: {
287
+ type: PropType<(string | [string, string]) | null | undefined>;
288
+ };
289
+ placeholder: {
290
+ type: StringConstructor;
291
+ };
292
+ allowedInvalidValue: {
293
+ type: StringConstructor;
294
+ };
295
+ to: {
296
+ type: PropType<string | false | HTMLElement>;
297
+ default: string;
298
+ };
299
+ holidays: {
300
+ type: PropType<Date[]>;
301
+ default: () => never[];
302
+ };
303
+ type: {
304
+ type: StringConstructor;
305
+ default: string;
306
+ };
307
+ isDateDisabled: {
308
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
309
+ };
310
+ }, {
311
+ attrs: {
312
+ [x: string]: unknown;
313
+ };
314
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
315
+ updateUnchangedValue: {
316
+ type: BooleanConstructor;
317
+ };
318
+ onConfirm: {
319
+ type: FunctionConstructor;
320
+ };
321
+ formattedValue: {
322
+ type: PropType<(string | [string, string]) | null | undefined>;
323
+ };
324
+ placeholder: {
325
+ type: StringConstructor;
326
+ };
327
+ allowedInvalidValue: {
328
+ type: StringConstructor;
329
+ };
330
+ to: {
331
+ type: PropType<string | false | HTMLElement>;
332
+ default: string;
333
+ };
334
+ holidays: {
335
+ type: PropType<Date[]>;
336
+ default: () => never[];
337
+ };
338
+ type: {
339
+ type: StringConstructor;
340
+ default: string;
341
+ };
342
+ isDateDisabled: {
343
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
344
+ };
345
+ }>> & {
346
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
347
+ }>>;
348
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
349
+ datePickerRef: import("vue").Ref<import("../../../../../../shared/types").AnyObject | null>;
350
+ panelInstRef: import("vue").Ref<null>;
351
+ placeholderRef: import("vue").Ref<any>;
352
+ oldValue: string;
353
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
354
+ isDateTime: import("vue").ComputedRef<boolean>;
355
+ formatRef: import("vue").ComputedRef<string>;
356
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
357
+ _isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
358
+ focus: () => any;
359
+ blur: () => any;
360
+ handleConfirm: (target: HTMLInputElement) => void;
361
+ onUpdateShow: (show: boolean) => Promise<void>;
362
+ watchers: import("../../../../../../shared/types").AnyFn[];
363
+ stopWatcher: () => void;
364
+ setHoliday: (show: boolean) => Promise<void>;
365
+ onConfirm: (...args: any[]) => Promise<void>;
366
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
367
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
368
+ NDatePicker: any;
369
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
370
+ updateUnchangedValue: {
371
+ type: BooleanConstructor;
372
+ };
373
+ onConfirm: {
374
+ type: FunctionConstructor;
375
+ };
376
+ formattedValue: {
377
+ type: PropType<(string | [string, string]) | null | undefined>;
378
+ };
379
+ placeholder: {
380
+ type: StringConstructor;
381
+ };
382
+ allowedInvalidValue: {
383
+ type: StringConstructor;
384
+ };
385
+ to: {
386
+ type: PropType<string | false | HTMLElement>;
387
+ default: string;
388
+ };
389
+ holidays: {
390
+ type: PropType<Date[]>;
391
+ default: () => never[];
392
+ };
393
+ type: {
394
+ type: StringConstructor;
395
+ default: string;
396
+ };
397
+ isDateDisabled: {
398
+ type: PropType<(current: number, ...arg: any[]) => boolean>;
399
+ };
400
+ }>> & {
401
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
402
+ }, {
403
+ type: string;
404
+ updateUnchangedValue: boolean;
405
+ to: string | false | HTMLElement;
406
+ holidays: Date[];
407
+ }>>;
408
+ NSelect: any;
409
+ NInputNumber: any;
410
+ }, 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<{
411
+ filterType: {
412
+ type: StringConstructor;
413
+ required: true;
414
+ };
415
+ modelValue: {
416
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
417
+ default: null;
418
+ };
419
+ presetVal: {
420
+ type: StringConstructor;
421
+ default: null;
422
+ };
423
+ dateType: {
424
+ type: StringConstructor;
425
+ };
426
+ isDateDisabled: {
427
+ type: FunctionConstructor;
428
+ };
429
+ timeDisabled: {
430
+ type: FunctionConstructor;
431
+ };
432
+ valueFormat: {
433
+ type: StringConstructor;
434
+ };
435
+ }>> & {
436
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
437
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
438
+ }, {
439
+ modelValue: string | number | unknown[];
440
+ presetVal: string;
441
+ }>;
198
442
  WidgetValEnums: {
199
443
  CUSTOM: string;
200
444
  FIRST_VAL: string;
@@ -226,7 +470,11 @@ declare const _default: import("vue").DefineComponent<{
226
470
  NEXT_YEAR: string;
227
471
  LAST_YEAR: string;
228
472
  };
229
- }, 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<{
473
+ }, 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<{
474
+ item: {
475
+ type: ObjectConstructor;
476
+ required: true;
477
+ };
230
478
  paramCfg: {
231
479
  type: ObjectConstructor;
232
480
  default: null;
@@ -239,12 +487,18 @@ declare const _default: import("vue").DefineComponent<{
239
487
  type: StringConstructor;
240
488
  default: null;
241
489
  };
490
+ customDate: {
491
+ type: StringConstructor;
492
+ default: null;
493
+ };
242
494
  }>> & {
243
495
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
244
496
  "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
497
+ "onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
245
498
  }, {
246
499
  modelValue: string | number | unknown[];
247
500
  paramCfg: Record<string, any>;
248
501
  presetVal: string;
502
+ customDate: string;
249
503
  }>;
250
504
  export default _default;
@@ -1,12 +1,14 @@
1
- import { defineComponent, ref, computed, watch, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, toDisplayString, createCommentVNode } from 'vue';
1
+ import { defineComponent, ref, computed, watch, openBlock, createElementBlock, unref, Fragment, createVNode, isRef, withCtx, toDisplayString, createCommentVNode, createBlock } from 'vue';
2
2
  import { NSelect, NPopover } from 'naive-ui';
3
3
  import DatePicker from '../../../../../date-picker/index.js';
4
+ import DateOption from './Base/DateOption.vue.js';
4
5
  import moment from 'moment';
5
6
  import { isString } from 'lodash-es';
6
- import { WidgetOptionEnums, WidgetTypeEnums, WidgetValEnums } from '../../../types/enums.js';
7
+ import { ConditionEnums, WidgetOptionEnums, WidgetTypeEnums, WidgetValEnums } from '../../../types/enums.js';
7
8
  import { WidgetDateOptionEnums } from '../../render-widget/helpers/enums.js';
8
9
  import { widgetDateValOptions } from '../../render-widget/helpers/dateExtraMap.js';
9
10
  import { dateDisabledCollect, isStartDateRangeDisabled, isTimeStartRangeDisabled, isEndDateRangeDisabled, isTimeEndRangeDisabled } from '../../render-widget/helpers/dateDisabled.js';
11
+ import { parseDateShortcuts } from '../../../tool/date.js';
10
12
 
11
13
  const _hoisted_1 = {
12
14
  style: {
@@ -28,6 +30,10 @@ const _hoisted_4 = {
28
30
  var _sfc_main = /* @__PURE__ */ defineComponent({
29
31
  __name: "DateRange",
30
32
  props: {
33
+ item: {
34
+ type: Object,
35
+ required: true
36
+ },
31
37
  paramCfg: {
32
38
  type: Object,
33
39
  default: null
@@ -39,15 +45,40 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
39
45
  presetVal: {
40
46
  type: String,
41
47
  default: null
48
+ },
49
+ customDate: {
50
+ type: String,
51
+ default: null
42
52
  }
43
53
  },
44
- emits: ["update:modelValue", "update:presetVal"],
54
+ emits: ["update:modelValue", "update:presetVal", "update:customDate"],
45
55
  setup(__props, {
46
56
  emit
47
57
  }) {
48
58
  const props = __props;
49
59
  const startDate = ref();
50
60
  const endDate = ref();
61
+ const filterType = computed(() => {
62
+ switch (props.item.condition) {
63
+ case ConditionEnums.EQUAL:
64
+ case ConditionEnums.NEQ:
65
+ return "1";
66
+ case ConditionEnums.BIG:
67
+ case ConditionEnums.LESS:
68
+ case ConditionEnums.BIGEQ:
69
+ case ConditionEnums.LESSEQ:
70
+ return "2";
71
+ case ConditionEnums.L_:
72
+ case ConditionEnums.N_:
73
+ case ConditionEnums.IN_THE_PAST:
74
+ case ConditionEnums.IN_THE_FUTURE:
75
+ case ConditionEnums.IN_THE_PAST_DI:
76
+ case ConditionEnums.IN_THE_FUTURE_DI:
77
+ return "3";
78
+ default:
79
+ return "1";
80
+ }
81
+ });
51
82
  const valueFormat = computed(() => {
52
83
  let formateStr = "";
53
84
  switch (compType.value) {
@@ -136,6 +167,29 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
136
167
  var _a;
137
168
  const optSetting = optionSetting.value || WidgetOptionEnums.ALL;
138
169
  if (compType.value && optSetting) {
170
+ if (optSetting === WidgetOptionEnums.CUSTOM_TIME) {
171
+ const shortList = parseDateShortcuts(props.paramCfg);
172
+ if ((shortList == null ? void 0 : shortList.length) > 0) {
173
+ let options2 = shortList.map((opt) => {
174
+ return {
175
+ label: opt.name,
176
+ value: opt.name
177
+ };
178
+ });
179
+ options2.unshift({
180
+ label: function() {
181
+ var _a2, _b, _c;
182
+ try {
183
+ return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
184
+ } catch (e) {
185
+ return "\u81EA\u5B9A\u4E49\u8F93\u5165";
186
+ }
187
+ }(),
188
+ value: WidgetValEnums.CUSTOM
189
+ });
190
+ return options2;
191
+ }
192
+ }
139
193
  const typeStr = `${compType.value}_${optSetting}_RANGE`;
140
194
  const useType = WidgetDateOptionEnums[typeStr];
141
195
  const baseList = (_a = widgetDateValOptions[useType]) != null ? _a : [];
@@ -162,14 +216,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
162
216
  });
163
217
  const presetValCp = computed({
164
218
  set(val) {
219
+ if ((optionSetting == null ? void 0 : optionSetting.value) === WidgetOptionEnums.CUSTOM_TIME) {
220
+ emit("update:customDate", val);
221
+ return;
222
+ }
165
223
  emit("update:presetVal", val);
166
224
  },
167
225
  get() {
226
+ if ((optionSetting == null ? void 0 : optionSetting.value) === WidgetOptionEnums.CUSTOM_TIME) {
227
+ return props.customDate;
228
+ }
168
229
  return props.presetVal;
169
230
  }
170
231
  });
232
+ const valueDateCp = computed({
233
+ set(val) {
234
+ if (val && filterType.value !== "1") {
235
+ const v = typeof val === "number" ? String(val) : val;
236
+ emit("update:modelValue", v);
237
+ }
238
+ },
239
+ get() {
240
+ if (props.modelValue && filterType.value !== "1") {
241
+ return props.modelValue;
242
+ }
243
+ return null;
244
+ }
245
+ });
171
246
  watch(() => props.modelValue, (val) => {
172
- if (val && isString(val) && val.includes("~")) {
247
+ if (val && filterType.value !== "1" && isString(val) && val.includes("~")) {
173
248
  const [start, end] = val.split("~");
174
249
  if (start.trim())
175
250
  startDate.value = moment(start.trim()).valueOf();
@@ -207,7 +282,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
207
282
  return isTimeEndRangeDisabled(ts, optionSetting.value, startDate.value);
208
283
  }
209
284
  return (_ctx, _cache) => {
210
- return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(NSelect), {
285
+ return openBlock(), createElementBlock("div", _hoisted_1, [unref(filterType) === "1" ? (openBlock(), createElementBlock(Fragment, {
286
+ key: 0
287
+ }, [createVNode(unref(NSelect), {
211
288
  style: {
212
289
  "width": "120px"
213
290
  },
@@ -255,7 +332,16 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
255
332
  }, null, 8, ["type", "default-time", "valueFormat", "placeholder", "value"])]),
256
333
  default: withCtx(() => [unref(endDateFormat) ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(unref(endDateFormat)), 1)) : createCommentVNode("v-if", true)]),
257
334
  _: 1
258
- }, 8, ["disabled"])])) : createCommentVNode("v-if", true)]);
335
+ }, 8, ["disabled"])])) : createCommentVNode("v-if", true)], 64)) : (openBlock(), createBlock(DateOption, {
336
+ key: 1,
337
+ filterType: unref(filterType),
338
+ dateType: unref(dateType),
339
+ valueFormat: unref(valueFormat),
340
+ modelValue: unref(valueDateCp),
341
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(valueDateCp) ? valueDateCp.value = $event : null),
342
+ presetVal: unref(presetValCp),
343
+ "onUpdate:presetVal": _cache[4] || (_cache[4] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null)
344
+ }, null, 8, ["filterType", "dateType", "valueFormat", "modelValue", "presetVal"]))]);
259
345
  };
260
346
  }
261
347
  });
@@ -40,6 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  SELECT_TIME: string;
41
41
  PAST_TIME: string;
42
42
  FUTURE_TIME: string;
43
+ CUSTOM_TIME: string;
43
44
  };
44
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
46
  paramCfg: {