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
@@ -8,6 +8,10 @@ const _hoisted_1 = {
|
|
8
8
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
9
9
|
__name: "ValueCfg",
|
10
10
|
props: {
|
11
|
+
item: {
|
12
|
+
type: Object,
|
13
|
+
default: null
|
14
|
+
},
|
11
15
|
paramCfg: {
|
12
16
|
type: Object,
|
13
17
|
default: null
|
@@ -22,9 +26,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
22
26
|
},
|
23
27
|
isAccurate: {
|
24
28
|
type: Boolean
|
29
|
+
},
|
30
|
+
customDate: {
|
31
|
+
type: String,
|
32
|
+
default: null
|
25
33
|
}
|
26
34
|
},
|
27
|
-
emits: ["update:modelValue", "update:presetVal", "update:isAccurate"],
|
35
|
+
emits: ["update:modelValue", "update:presetVal", "update:isAccurate", "update:customDate"],
|
28
36
|
setup(__props, {
|
29
37
|
emit
|
30
38
|
}) {
|
@@ -53,6 +61,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
53
61
|
return props.isAccurate;
|
54
62
|
}
|
55
63
|
});
|
64
|
+
const customDateCp = computed({
|
65
|
+
set(val) {
|
66
|
+
emit("update:customDate", val);
|
67
|
+
},
|
68
|
+
get() {
|
69
|
+
return props.customDate;
|
70
|
+
}
|
71
|
+
});
|
56
72
|
const widgetType = computed(() => {
|
57
73
|
var _a;
|
58
74
|
return (_a = props.paramCfg) == null ? void 0 : _a.type;
|
@@ -92,38 +108,44 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
92
108
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
93
109
|
}, null, 8, ["paramCfg", "widgetType", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u65E5\u671F\u6846\u3001\u65E5\u671F\u65F6\u95F4\u6846 "), unref(widgetType) === unref(WidgetTypeEnums).DATE || unref(widgetType) === unref(WidgetTypeEnums).DATE_TIME ? (openBlock(), createBlock(unref(Date), {
|
94
110
|
key: 3,
|
111
|
+
item: __props.item,
|
95
112
|
paramCfg: __props.paramCfg,
|
96
113
|
modelValue: unref(valueCp),
|
97
114
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
98
115
|
presetVal: unref(presetValCp),
|
99
|
-
"onUpdate:presetVal": _cache[5] || (_cache[5] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null)
|
100
|
-
|
116
|
+
"onUpdate:presetVal": _cache[5] || (_cache[5] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
117
|
+
customDate: unref(customDateCp),
|
118
|
+
"onUpdate:customDate": _cache[6] || (_cache[6] = ($event) => isRef(customDateCp) ? customDateCp.value = $event : null)
|
119
|
+
}, null, 8, ["item", "paramCfg", "modelValue", "presetVal", "customDate"])) : createCommentVNode("v-if", true), createCommentVNode(" \u5F02\u6B65\u6570\u636E\u6E90\u4E0B\u62C9\u6846 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTDYNAMIC ? (openBlock(), createBlock(unref(SelectDynamic), {
|
101
120
|
key: 4,
|
102
121
|
paramCfg: __props.paramCfg,
|
103
122
|
modelValue: unref(valueCp),
|
104
|
-
"onUpdate:modelValue": _cache[
|
123
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
105
124
|
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u6570\u5B57\u6846\u8303\u56F4 "), unref(widgetType) === unref(WidgetTypeEnums).INPUTNUMBER_RANGE ? (openBlock(), createBlock(unref(InputNumberGroup), {
|
106
125
|
key: 5,
|
107
126
|
paramCfg: __props.paramCfg,
|
108
127
|
modelValue: unref(valueCp),
|
109
|
-
"onUpdate:modelValue": _cache[
|
128
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
110
129
|
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u65E5\u671F\u3001\u65E5\u671F\u65F6\u95F4\u8303\u56F4 "), unref(widgetType) === unref(WidgetTypeEnums).DATE_RANGE_INNER || unref(widgetType) === unref(WidgetTypeEnums).DATETIME_RANGE_INNER ? (openBlock(), createBlock(unref(DateRange), {
|
111
130
|
key: 6,
|
131
|
+
item: __props.item,
|
112
132
|
paramCfg: __props.paramCfg,
|
113
133
|
modelValue: unref(valueCp),
|
114
|
-
"onUpdate:modelValue": _cache[
|
134
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
115
135
|
presetVal: unref(presetValCp),
|
116
|
-
"onUpdate:presetVal": _cache[
|
117
|
-
|
136
|
+
"onUpdate:presetVal": _cache[10] || (_cache[10] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
137
|
+
customDate: unref(customDateCp),
|
138
|
+
"onUpdate:customDate": _cache[11] || (_cache[11] = ($event) => isRef(customDateCp) ? customDateCp.value = $event : null)
|
139
|
+
}, null, 8, ["item", "paramCfg", "modelValue", "presetVal", "customDate"])) : createCommentVNode("v-if", true), createCommentVNode(" label\u6807\u7B7E\u9009\u62E9 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTLABEL ? (openBlock(), createBlock(unref(SelectLabel), {
|
118
140
|
key: 7,
|
119
141
|
paramCfg: __props.paramCfg,
|
120
142
|
modelValue: unref(valueCp),
|
121
|
-
"onUpdate:modelValue": _cache[
|
143
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
122
144
|
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(" \u5F02\u6B65\u6570\u636E\u6811\u5F62\u9009\u62E9\u6846 "), unref(widgetType) === unref(WidgetTypeEnums).SELECTTREEDYNAMIC ? (openBlock(), createBlock(unref(SelectTreeDynamic), {
|
123
145
|
key: 8,
|
124
146
|
paramCfg: __props.paramCfg,
|
125
147
|
modelValue: unref(valueCp),
|
126
|
-
"onUpdate:modelValue": _cache[
|
148
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
127
149
|
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true)]);
|
128
150
|
};
|
129
151
|
}
|
@@ -0,0 +1,226 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
filterType: {
|
3
|
+
type: StringConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
modelValue: {
|
7
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
8
|
+
default: null;
|
9
|
+
};
|
10
|
+
presetVal: {
|
11
|
+
type: StringConstructor;
|
12
|
+
default: null;
|
13
|
+
};
|
14
|
+
dateType: {
|
15
|
+
type: StringConstructor;
|
16
|
+
};
|
17
|
+
isDateDisabled: {
|
18
|
+
type: FunctionConstructor;
|
19
|
+
};
|
20
|
+
timeDisabled: {
|
21
|
+
type: FunctionConstructor;
|
22
|
+
};
|
23
|
+
valueFormat: {
|
24
|
+
type: StringConstructor;
|
25
|
+
};
|
26
|
+
}, {
|
27
|
+
widgetOptions: {
|
28
|
+
label: string;
|
29
|
+
value: string;
|
30
|
+
}[];
|
31
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
32
|
+
filterType: {
|
33
|
+
type: StringConstructor;
|
34
|
+
required: true;
|
35
|
+
};
|
36
|
+
modelValue: {
|
37
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
38
|
+
default: null;
|
39
|
+
};
|
40
|
+
presetVal: {
|
41
|
+
type: StringConstructor;
|
42
|
+
default: null;
|
43
|
+
};
|
44
|
+
dateType: {
|
45
|
+
type: StringConstructor;
|
46
|
+
};
|
47
|
+
isDateDisabled: {
|
48
|
+
type: FunctionConstructor;
|
49
|
+
};
|
50
|
+
timeDisabled: {
|
51
|
+
type: FunctionConstructor;
|
52
|
+
};
|
53
|
+
valueFormat: {
|
54
|
+
type: StringConstructor;
|
55
|
+
};
|
56
|
+
}>> & {
|
57
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
58
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
59
|
+
}>>;
|
60
|
+
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
61
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
62
|
+
presetValCp: import("vue").WritableComputedRef<string>;
|
63
|
+
CDatePicker: import("../../../../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
64
|
+
updateUnchangedValue: {
|
65
|
+
type: BooleanConstructor;
|
66
|
+
};
|
67
|
+
onConfirm: {
|
68
|
+
type: FunctionConstructor;
|
69
|
+
};
|
70
|
+
formattedValue: {
|
71
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
72
|
+
};
|
73
|
+
placeholder: {
|
74
|
+
type: StringConstructor;
|
75
|
+
};
|
76
|
+
allowedInvalidValue: {
|
77
|
+
type: StringConstructor;
|
78
|
+
};
|
79
|
+
to: {
|
80
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
81
|
+
default: string;
|
82
|
+
};
|
83
|
+
holidays: {
|
84
|
+
type: import("vue").PropType<Date[]>;
|
85
|
+
default: () => never[];
|
86
|
+
};
|
87
|
+
type: {
|
88
|
+
type: StringConstructor;
|
89
|
+
default: string;
|
90
|
+
};
|
91
|
+
isDateDisabled: {
|
92
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
93
|
+
};
|
94
|
+
}, {
|
95
|
+
attrs: {
|
96
|
+
[x: string]: unknown;
|
97
|
+
};
|
98
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
99
|
+
updateUnchangedValue: {
|
100
|
+
type: BooleanConstructor;
|
101
|
+
};
|
102
|
+
onConfirm: {
|
103
|
+
type: FunctionConstructor;
|
104
|
+
};
|
105
|
+
formattedValue: {
|
106
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
107
|
+
};
|
108
|
+
placeholder: {
|
109
|
+
type: StringConstructor;
|
110
|
+
};
|
111
|
+
allowedInvalidValue: {
|
112
|
+
type: StringConstructor;
|
113
|
+
};
|
114
|
+
to: {
|
115
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
116
|
+
default: string;
|
117
|
+
};
|
118
|
+
holidays: {
|
119
|
+
type: import("vue").PropType<Date[]>;
|
120
|
+
default: () => never[];
|
121
|
+
};
|
122
|
+
type: {
|
123
|
+
type: StringConstructor;
|
124
|
+
default: string;
|
125
|
+
};
|
126
|
+
isDateDisabled: {
|
127
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
128
|
+
};
|
129
|
+
}>> & {
|
130
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
131
|
+
}>>;
|
132
|
+
emit: (event: "update:formatted-value", ...args: any[]) => void;
|
133
|
+
datePickerRef: import("vue").Ref<import("../../../../../../../shared/types").AnyObject | null>;
|
134
|
+
panelInstRef: import("vue").Ref<null>;
|
135
|
+
placeholderRef: import("vue").Ref<any>;
|
136
|
+
oldValue: string;
|
137
|
+
currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
|
138
|
+
isDateTime: import("vue").ComputedRef<boolean>;
|
139
|
+
formatRef: import("vue").ComputedRef<string>;
|
140
|
+
panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
|
141
|
+
_isDateDisabled: import("vue").ComputedRef<(current: number, ...arg: any[]) => boolean>;
|
142
|
+
focus: () => any;
|
143
|
+
blur: () => any;
|
144
|
+
handleConfirm: (target: HTMLInputElement) => void;
|
145
|
+
onUpdateShow: (show: boolean) => Promise<void>;
|
146
|
+
watchers: import("../../../../../../../shared/types").AnyFn[];
|
147
|
+
stopWatcher: () => void;
|
148
|
+
setHoliday: (show: boolean) => Promise<void>;
|
149
|
+
onConfirm: (...args: any[]) => Promise<void>;
|
150
|
+
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
151
|
+
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
152
|
+
NDatePicker: any;
|
153
|
+
}, 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<{
|
154
|
+
updateUnchangedValue: {
|
155
|
+
type: BooleanConstructor;
|
156
|
+
};
|
157
|
+
onConfirm: {
|
158
|
+
type: FunctionConstructor;
|
159
|
+
};
|
160
|
+
formattedValue: {
|
161
|
+
type: import("vue").PropType<(string | [string, string]) | null | undefined>;
|
162
|
+
};
|
163
|
+
placeholder: {
|
164
|
+
type: StringConstructor;
|
165
|
+
};
|
166
|
+
allowedInvalidValue: {
|
167
|
+
type: StringConstructor;
|
168
|
+
};
|
169
|
+
to: {
|
170
|
+
type: import("vue").PropType<string | false | HTMLElement>;
|
171
|
+
default: string;
|
172
|
+
};
|
173
|
+
holidays: {
|
174
|
+
type: import("vue").PropType<Date[]>;
|
175
|
+
default: () => never[];
|
176
|
+
};
|
177
|
+
type: {
|
178
|
+
type: StringConstructor;
|
179
|
+
default: string;
|
180
|
+
};
|
181
|
+
isDateDisabled: {
|
182
|
+
type: import("vue").PropType<(current: number, ...arg: any[]) => boolean>;
|
183
|
+
};
|
184
|
+
}>> & {
|
185
|
+
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
186
|
+
}, {
|
187
|
+
type: string;
|
188
|
+
updateUnchangedValue: boolean;
|
189
|
+
to: string | false | HTMLElement;
|
190
|
+
holidays: Date[];
|
191
|
+
}>>;
|
192
|
+
NSelect: any;
|
193
|
+
NInputNumber: any;
|
194
|
+
}, 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<{
|
195
|
+
filterType: {
|
196
|
+
type: StringConstructor;
|
197
|
+
required: true;
|
198
|
+
};
|
199
|
+
modelValue: {
|
200
|
+
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
201
|
+
default: null;
|
202
|
+
};
|
203
|
+
presetVal: {
|
204
|
+
type: StringConstructor;
|
205
|
+
default: null;
|
206
|
+
};
|
207
|
+
dateType: {
|
208
|
+
type: StringConstructor;
|
209
|
+
};
|
210
|
+
isDateDisabled: {
|
211
|
+
type: FunctionConstructor;
|
212
|
+
};
|
213
|
+
timeDisabled: {
|
214
|
+
type: FunctionConstructor;
|
215
|
+
};
|
216
|
+
valueFormat: {
|
217
|
+
type: StringConstructor;
|
218
|
+
};
|
219
|
+
}>> & {
|
220
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
221
|
+
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
222
|
+
}, {
|
223
|
+
modelValue: string | number | unknown[];
|
224
|
+
presetVal: string;
|
225
|
+
}>;
|
226
|
+
export default _default;
|
package/es/components/table-filter/src/components/classify-filter/components/Base/DateOption.vue2.js
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, createVNode, unref, isRef, createBlock } from 'vue';
|
2
|
+
import DatePicker from '../../../../../../date-picker/index.js';
|
3
|
+
import { NInputNumber, NSelect } from 'naive-ui';
|
4
|
+
|
5
|
+
const _hoisted_1 = {
|
6
|
+
style: {
|
7
|
+
"display": "flex"
|
8
|
+
}
|
9
|
+
};
|
10
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
11
|
+
__name: "DateOption",
|
12
|
+
props: {
|
13
|
+
filterType: {
|
14
|
+
type: String,
|
15
|
+
required: true
|
16
|
+
},
|
17
|
+
modelValue: {
|
18
|
+
type: [String, Number, Array],
|
19
|
+
default: null
|
20
|
+
},
|
21
|
+
presetVal: {
|
22
|
+
type: String,
|
23
|
+
default: null
|
24
|
+
},
|
25
|
+
dateType: {
|
26
|
+
type: String
|
27
|
+
},
|
28
|
+
isDateDisabled: {
|
29
|
+
type: Function
|
30
|
+
},
|
31
|
+
timeDisabled: {
|
32
|
+
type: Function
|
33
|
+
},
|
34
|
+
valueFormat: {
|
35
|
+
type: String
|
36
|
+
}
|
37
|
+
},
|
38
|
+
emits: ["update:modelValue", "update:presetVal"],
|
39
|
+
setup(__props, {
|
40
|
+
emit
|
41
|
+
}) {
|
42
|
+
const props = __props;
|
43
|
+
const widgetOptions = [{
|
44
|
+
label: function() {
|
45
|
+
var _a, _b, _c;
|
46
|
+
try {
|
47
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.144")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.144")) || "\u5929";
|
48
|
+
} catch (e) {
|
49
|
+
return "\u5929";
|
50
|
+
}
|
51
|
+
}(),
|
52
|
+
value: "DAY"
|
53
|
+
}, {
|
54
|
+
label: function() {
|
55
|
+
var _a, _b, _c;
|
56
|
+
try {
|
57
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.346")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.346")) || "\u5468";
|
58
|
+
} catch (e) {
|
59
|
+
return "\u5468";
|
60
|
+
}
|
61
|
+
}(),
|
62
|
+
value: "WEEK"
|
63
|
+
}, {
|
64
|
+
label: function() {
|
65
|
+
var _a, _b, _c;
|
66
|
+
try {
|
67
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.347")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.347")) || "\u6708";
|
68
|
+
} catch (e) {
|
69
|
+
return "\u6708";
|
70
|
+
}
|
71
|
+
}(),
|
72
|
+
value: "MONTH"
|
73
|
+
}, {
|
74
|
+
label: function() {
|
75
|
+
var _a, _b, _c;
|
76
|
+
try {
|
77
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.348")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.348")) || "\u5B63\u5EA6";
|
78
|
+
} catch (e) {
|
79
|
+
return "\u5B63\u5EA6";
|
80
|
+
}
|
81
|
+
}(),
|
82
|
+
value: "QUARTER"
|
83
|
+
}, {
|
84
|
+
label: function() {
|
85
|
+
var _a, _b, _c;
|
86
|
+
try {
|
87
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.349")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.349")) || "\u5E74";
|
88
|
+
} catch (e) {
|
89
|
+
return "\u5E74";
|
90
|
+
}
|
91
|
+
}(),
|
92
|
+
value: "YEAR"
|
93
|
+
}, {
|
94
|
+
label: function() {
|
95
|
+
var _a, _b, _c;
|
96
|
+
try {
|
97
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.350")) || "\u5C0F\u65F6";
|
98
|
+
} catch (e) {
|
99
|
+
return "\u5C0F\u65F6";
|
100
|
+
}
|
101
|
+
}(),
|
102
|
+
value: "HOUR"
|
103
|
+
}];
|
104
|
+
const valueCp = computed({
|
105
|
+
set(val) {
|
106
|
+
emit("update:modelValue", val);
|
107
|
+
},
|
108
|
+
get() {
|
109
|
+
return props.filterType === "3" && typeof props.modelValue === "string" ? Number(props.modelValue) : props.modelValue;
|
110
|
+
}
|
111
|
+
});
|
112
|
+
const presetValCp = computed({
|
113
|
+
set(val) {
|
114
|
+
emit("update:presetVal", val);
|
115
|
+
},
|
116
|
+
get() {
|
117
|
+
return props.presetVal;
|
118
|
+
}
|
119
|
+
});
|
120
|
+
return (_ctx, _cache) => {
|
121
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [__props.filterType === "3" ? (openBlock(), createElementBlock(Fragment, {
|
122
|
+
key: 0
|
123
|
+
}, [createVNode(unref(NInputNumber), {
|
124
|
+
style: {
|
125
|
+
"width": "80px"
|
126
|
+
},
|
127
|
+
class: "form-item",
|
128
|
+
value: unref(valueCp),
|
129
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => isRef(valueCp) ? valueCp.value = $event : null),
|
130
|
+
"show-button": false
|
131
|
+
}, null, 8, ["value"]), createVNode(unref(NSelect), {
|
132
|
+
style: {
|
133
|
+
"width": "120px"
|
134
|
+
},
|
135
|
+
class: "form-item",
|
136
|
+
to: "body",
|
137
|
+
value: unref(presetValCp),
|
138
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => isRef(presetValCp) ? presetValCp.value = $event : null),
|
139
|
+
options: widgetOptions
|
140
|
+
}, null, 8, ["value"])], 64)) : (openBlock(), createBlock(unref(DatePicker), {
|
141
|
+
key: 1,
|
142
|
+
class: "form-item",
|
143
|
+
type: __props.dateType,
|
144
|
+
clearable: "",
|
145
|
+
to: "body",
|
146
|
+
"is-date-disabled": __props.isDateDisabled,
|
147
|
+
"is-time-disabled": __props.timeDisabled,
|
148
|
+
valueFormat: __props.valueFormat,
|
149
|
+
"formatted-value": unref(valueCp),
|
150
|
+
"onUpdate:formatted-value": _cache[2] || (_cache[2] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
151
|
+
}, null, 8, ["type", "is-date-disabled", "is-time-disabled", "valueFormat", "formatted-value"]))]);
|
152
|
+
};
|
153
|
+
}
|
154
|
+
});
|
155
|
+
|
156
|
+
export { _sfc_main as default };
|