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.
- package/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue2.js +40 -5
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
- package/es/components/base-search/index.d.ts +3 -0
- package/es/components/base-search/src/index.vue.d.ts +3 -0
- package/es/components/big-table/src/components/NoData.vue2.js +8 -1
- package/es/components/big-table/src/hooks/useTableParse.js +8 -1
- package/es/components/button-print/index.d.ts +67 -2
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +67 -2
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -0
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +28 -3
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +138 -15
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +18 -0
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +35 -6
- package/es/components/button-print/src/utils/print.d.ts +7 -5
- package/es/components/button-print/src/utils/print.js +183 -7
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/calendar/src/Calendar.vue2.js +15 -5
- package/es/components/callback/src/components/render/popupMaps.d.ts +18 -0
- package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
- package/es/components/classification/index.d.ts +562 -10
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +562 -10
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +562 -10
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +565 -10
- package/es/components/date-picker/src/DatePicker.vue2.js +8 -1
- package/es/components/expand-field/index.d.ts +792 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue2.js +8 -1
- package/es/components/expand-field/src/index.vue.d.ts +792 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +3 -2
- package/es/components/fabric-chart/src/hooks/temperature/useOther.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +58 -15
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +4 -3
- package/es/components/field-editor/index.d.ts +18 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +18 -0
- package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
- package/es/components/field-editor/src/fields.d.ts +1 -0
- package/es/components/field-editor/src/fields.js +6 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +6 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +38 -1
- package/es/components/field-set/src/FieldSet.vue2.js +118 -69
- package/es/components/field-set/src/Index.vue2.js +8 -3
- package/es/components/field-set/src/TableStyle.vue2.js +2 -2
- package/es/components/field-set/src/components/table-row.vue.d.ts +2 -1
- package/es/components/field-set/src/components/table-row.vue2.js +21 -6
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +3 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +114 -12
- package/es/components/form-config/src/FormConfig.vue.d.ts +114 -12
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +18 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +71 -8
- package/es/components/form-config/src/components/FormConfigEdit.vue2.js +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +20 -2
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +9 -2
- package/es/components/form-config/src/constants/index.d.ts +31 -1
- package/es/components/form-config/src/constants/index.js +150 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -2
- package/es/components/form-config/src/hooks/useConfigurationField.js +53 -6
- package/es/components/form-config/src/hooks/useLocale.d.ts +6 -0
- package/es/components/form-config/src/hooks/useLocale.js +34 -0
- package/es/components/form-config/src/types/index.d.ts +12 -0
- package/es/components/form-render/index.d.ts +18 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +18 -0
- package/es/components/form-render/src/FormRender.vue2.js +5 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +18 -0
- package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +17 -3
- package/es/components/form-render/src/components/renderer/levelSearchCascader/index.js +4 -2
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +9 -3
- package/es/components/form-render/src/components/renderer/searchCascade.js +3 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
- package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +5 -2
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
- package/es/components/form-render/src/hooks/useFieldNormalize.js +15 -0
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +2 -1
- package/es/components/form-render/src/types/index.d.ts +1 -0
- package/es/components/form-render/src/utils/business.d.ts +3 -1
- package/es/components/form-render/src/utils/business.js +7 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-chat/index.d.ts +902 -99
- package/es/components/iho-chat/src/Index.vue.d.ts +902 -99
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +181 -8
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +51 -41
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +66 -6
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +158 -57
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +329 -15
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +21 -19
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +235 -20
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +298 -279
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +51 -5
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +3 -3
- package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +48 -2
- package/es/components/iho-chat/src/components/ContextMenu.js +34 -27
- package/es/components/iho-chat/src/components/ImageLightbox.vue.d.ts +104 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue.js +6 -0
- package/es/components/iho-chat/src/components/ImageLightbox.vue2.js +307 -0
- package/es/components/iho-chat/src/components/MessageEvent.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/MessageMergeForward.vue.d.ts +53 -6
- package/es/components/iho-chat/src/components/MessageMergeForward.vue2.js +3 -3
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +93 -30
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +348 -144
- package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SelectLabel.vue.d.ts +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +24 -1
- package/es/components/iho-chat/src/components/Video.vue.d.ts +38 -25
- package/es/components/iho-chat/src/components/Video.vue2.js +35 -40
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useData.d.ts +51 -4
- package/es/components/iho-chat/src/hooks/useData.js +2 -7
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
- package/es/components/iho-chat/src/hooks/useDraggable.js +160 -0
- package/es/components/iho-chat/src/hooks/useVideo.d.ts +78 -11
- package/es/components/iho-chat/src/hooks/useVideo.js +420 -44
- package/es/components/iho-chat/src/types/index.d.ts +37 -1
- package/es/components/iho-chat/src/utils/emoji.d.ts +1 -1
- package/es/components/iho-chat/src/utils/emoji.js +1 -1
- package/es/components/iho-chat/src/utils/index.d.ts +4 -3
- package/es/components/iho-chat/src/utils/index.js +33 -39
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +8 -1
- package/es/components/iho-table/src/plugins/headerPlugin/index.js +5 -2
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +2 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.js +1 -0
- package/es/components/info-header/index.d.ts +41 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +41 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue2.js +56 -22
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +19 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +18 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
- package/es/components/keyboard/index.d.ts +9 -0
- package/es/components/keyboard/src/Keyboard.vue.d.ts +9 -0
- package/es/components/keyboard/src/Keyboard.vue2.js +33 -9
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +4 -0
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +50 -17
- package/es/components/keyboard/src/types.d.ts +17 -0
- package/es/components/keyboard/src/types.js +1 -0
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/scale-view/index.d.ts +66 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +69 -5
- package/es/components/scale-view/src/ScaleView.vue2.js +79 -4
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +3 -0
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +26 -2
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +3 -0
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +27 -6
- package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
- package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
- package/es/components/scale-view/src/components/ScaleScore.js +45 -3
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +16 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
- package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
- package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +20 -4
- package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
- package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +12 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +12 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
- package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
- package/es/components/scale-view/src/hooks/use-noData.js +33 -5
- package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
- package/es/components/scale-view/src/utils/judge-types.js +10 -10
- package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
- package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
- package/es/components/select-person/index.d.ts +792 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +433 -273
- package/es/components/select-person/src/SelectPerson.vue.js +6 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +795 -0
- package/es/components/select-person/src/SelectPersonRole.vue.js +2 -2
- package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
- package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
- package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
- package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
- package/es/components/select-person/src/components/TagItem.vue.js +6 -0
- package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
- package/es/components/select-person/src/index.vue.d.ts +793 -1
- package/es/components/select-person/src/index.vue2.js +21 -4
- package/es/components/select-person/src/types/index.d.ts +35 -0
- package/es/components/select-person/src/types/index.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +3 -0
- package/es/components/select-person/src/utils/index.js +25 -2
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +20 -2
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +20 -2
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +543 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +32 -10
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.d.ts +226 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue.js +6 -0
- package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js +156 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +255 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +79 -5
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +256 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +92 -6
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +512 -4
- package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +5 -1
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +123 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +561 -10
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +16 -7
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +5 -5
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +32 -4
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +5 -5
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
- package/es/components/table-filter/src/tool/baseOptions.js +8 -1
- package/es/components/table-filter/src/tool/date.d.ts +3 -0
- package/es/components/table-filter/src/tool/date.js +139 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +11 -8
- package/es/components/table-filter/src/types/enums.d.ts +13 -0
- package/es/components/table-filter/src/types/enums.js +15 -2
- package/es/components/table-filter/src/types/index.d.ts +12 -0
- package/es/components/vertify/index.d.ts +1 -0
- package/es/components/vertify/index.js +1 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.d.ts +89 -0
- package/es/components/vertify/src/components/IdentityVerification.vue.js +6 -0
- package/es/components/vertify/src/components/IdentityVerification.vue2.js +256 -0
- package/es/components/vertify/src/utils/dialog.d.ts +7 -0
- package/es/components/vertify/src/utils/dialog.js +73 -0
- package/es/components/vertify/src/utils/index.d.ts +11 -0
- package/es/components/vertify/src/utils/index.js +24 -0
- package/es/components/vod-chunk-upload/index.d.ts +16 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +20 -31
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +205 -78
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.d.ts +1 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +35 -4
- package/es/components/vod-chunk-upload/src/hooks/upload-data.d.ts +4 -0
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +78 -11
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +16 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +81 -10
- package/es/components/vod-chunk-upload/style/index.css +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/components/InputNumberSlash/InputNumberSlash.js +1 -1
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/hooks/useLevelSearchCascader.js +3 -3
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/package.json +5 -4
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts
CHANGED
@@ -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;
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
-
import { defineComponent, ref, computed, watch, openBlock, createElementBlock,
|
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, [
|
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
|
});
|
package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts
CHANGED
@@ -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: {
|