@@ -9,6 +9,7 @@ import { ComponentPublicInstance } from 'vue';
99import { ComputedRef } from 'vue' ;
1010import { DebuggerEvent } from 'vue' ;
1111import { DefineComponent } from 'vue' ;
12+ import { FlipOptions } from '@floating-ui/vue' ;
1213import { GlobalComponents } from 'vue' ;
1314import { GlobalDirectives } from 'vue' ;
1415import { Locale } from 'date-fns' ;
@@ -21,6 +22,7 @@ import { PublicProps } from 'vue';
2122import { RoundingMethod } from 'date-fns' ;
2223import { ShallowRef } from 'vue' ;
2324import { ShallowUnwrapRef } from 'vue' ;
25+ import { ShiftOptions } from '@floating-ui/vue' ;
2426import { Slot } from 'vue' ;
2527import { Strategy } from '@floating-ui/vue' ;
2628import { TZDate } from '@date-fns/tz' ;
@@ -40,6 +42,9 @@ parseModel: () => void;
4042switchView : ( view : MenuView , instance ?: number ) => void ;
4143handleFlow : ( ) => void ;
4244toggleMenu : ( ) => void ;
45+ dpMenuRef : ( ) => Readonly < ShallowRef < any > > ;
46+ dpWrapMenuRef : ( ) => any ;
47+ inputRef : ( ) => any ;
4348} , { } , { } , { } , ComponentOptionsMixin , ComponentOptionsMixin , {
4449blur : ( ) => any ;
4550focus : ( ) => any ;
@@ -167,6 +172,9 @@ switchView: (view: MenuView, instance?: number) => void;
167172toggleMenu : ( ) => void ;
168173handleFlow : ( skipStep ?: number ) => void ;
169174getDpWrapMenuRef : ( ) => any ;
175+ dpMenuRef : ( ) => Readonly < ShallowRef < any > > ;
176+ dpWrapMenuRef : ( ) => any ;
177+ inputRef : ( ) => any ;
170178} , { } , { } , { } , ComponentOptionsMixin , ComponentOptionsMixin , { } , string , { } , { } , string , { } , GlobalComponents , GlobalDirectives , string , ComponentProvideOptions > & {
171179beforeCreate ?: ( ( ) => void ) | ( ( ) => void ) [ ] ;
172180created ?: ( ( ) => void ) | ( ( ) => void ) [ ] ;
@@ -187,7 +195,7 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
187195$forceUpdate : ( ) => void ;
188196$nextTick : nextTick ;
189197$watch < T extends string | ( ( ...args : any ) => any ) > ( source : T , cb : T extends ( ...args : any ) => infer R ? ( ...args : [ R , R , OnCleanup ] ) => any : ( ...args : [ any , any , OnCleanup ] ) => any , options ?: WatchOptions ) : WatchStopHandle ;
190- } & Readonly < { } > & Omit < Readonly < { } > & Readonly < { } > , "onScroll" | "openMenu" | "handleFlow" | "switchView" | "formatInputValue" | "closeMenu" | "selectDate" | "clearValue" | "updateInternalModelValue" | "setMonthYear" | "parseModel" | "toggleMenu" | "getDpWrapMenuRef" > & ShallowUnwrapRef < {
198+ } & Readonly < { } > & Omit < Readonly < { } > & Readonly < { } > , "onScroll" | "openMenu" | "handleFlow" | "switchView" | "formatInputValue" | "closeMenu" | "selectDate" | "clearValue" | "updateInternalModelValue" | "setMonthYear" | "parseModel" | "toggleMenu" | "getDpWrapMenuRef" | "dpMenuRef" | "dpWrapMenuRef" | "inputRef" > & ShallowUnwrapRef < {
191199closeMenu : ( fromClickAway ?: boolean ) => void ;
192200selectDate : ( ) => void ;
193201clearValue : ( ) => void ;
@@ -201,6 +209,9 @@ switchView: (view: MenuView, instance?: number) => void;
201209toggleMenu : ( ) => void ;
202210handleFlow : ( skipStep ?: number ) => void ;
203211getDpWrapMenuRef : ( ) => any ;
212+ dpMenuRef : ( ) => Readonly < ShallowRef < any > > ;
213+ dpWrapMenuRef : ( ) => any ;
214+ inputRef : ( ) => any ;
204215} > & { } & ComponentCustomProperties & { } & {
205216$slots : any ;
206217} ) | null ;
@@ -240,6 +251,9 @@ declare function __VLS_template(): {
240251 toggleMenu : ( ) => void ;
241252 handleFlow : ( skipStep ?: number ) => void ;
242253 getDpWrapMenuRef : ( ) => any ;
254+ dpMenuRef : ( ) => Readonly < ShallowRef < any > > ;
255+ dpWrapMenuRef : ( ) => any ;
256+ inputRef : ( ) => any ;
243257 } , { } , { } , { } , ComponentOptionsMixin , ComponentOptionsMixin , { } , string , { } , { } , string , { } , GlobalComponents , GlobalDirectives , string , ComponentProvideOptions > & {
244258 beforeCreate ?: ( ( ) => void ) | ( ( ) => void ) [ ] ;
245259 created ?: ( ( ) => void ) | ( ( ) => void ) [ ] ;
@@ -260,7 +274,7 @@ declare function __VLS_template(): {
260274 $forceUpdate : ( ) => void ;
261275 $nextTick : nextTick ;
262276 $watch < T extends string | ( ( ...args : any ) => any ) > ( source : T , cb : T extends ( ...args : any ) => infer R ? ( ...args : [ R , R , OnCleanup ] ) => any : ( ...args : [ any , any , OnCleanup ] ) => any , options ?: WatchOptions ) : WatchStopHandle ;
263- } & Readonly < { } > & Omit < Readonly < { } > & Readonly < { } > , "onScroll" | "openMenu" | "handleFlow" | "switchView" | "formatInputValue" | "closeMenu" | "selectDate" | "clearValue" | "updateInternalModelValue" | "setMonthYear" | "parseModel" | "toggleMenu" | "getDpWrapMenuRef" > & ShallowUnwrapRef < {
277+ } & Readonly < { } > & Omit < Readonly < { } > & Readonly < { } > , "onScroll" | "openMenu" | "handleFlow" | "switchView" | "formatInputValue" | "closeMenu" | "selectDate" | "clearValue" | "updateInternalModelValue" | "setMonthYear" | "parseModel" | "toggleMenu" | "getDpWrapMenuRef" | "dpMenuRef" | "dpWrapMenuRef" | "inputRef" > & ShallowUnwrapRef < {
264278 closeMenu : ( fromClickAway ?: boolean ) => void ;
265279 selectDate : ( ) => void ;
266280 clearValue : ( ) => void ;
@@ -274,6 +288,9 @@ declare function __VLS_template(): {
274288 toggleMenu : ( ) => void ;
275289 handleFlow : ( skipStep ?: number ) => void ;
276290 getDpWrapMenuRef : ( ) => any ;
291+ dpMenuRef : ( ) => Readonly < ShallowRef < any > > ;
292+ dpWrapMenuRef : ( ) => any ;
293+ inputRef : ( ) => any ;
277294 } > & { } & ComponentCustomProperties & { } & {
278295 $slots : any ;
279296 } ) | null ;
@@ -461,6 +478,8 @@ export declare interface FloatingConfig {
461478 arrow : Readonly < ShallowRef < HTMLDivElement | null > > | boolean ;
462479 strategy ?: Strategy ;
463480 placement ?: Placement ;
481+ flip ?: boolean | FlipOptions ;
482+ shift ?: boolean | ShiftOptions ;
464483}
465484
466485export declare interface FlowConfig {
@@ -675,6 +694,7 @@ export declare interface RangeConfig {
675694 maxRange ?: string | number ;
676695 minRange ?: string | number ;
677696 autoRange ?: string | number ;
697+ autoSwitchStartEnd : boolean ;
678698}
679699
680700export declare interface RootEmits {
@@ -858,6 +878,8 @@ export declare interface RootSlots {
858878 } ) : any ;
859879 'action-buttons' ( props : {
860880 value : InternalModelValue ;
881+ selectDate : ( ) => void ;
882+ selectionDisabled : boolean ;
861883 } ) : any ;
862884 'action-preview' ( props : {
863885 value : InternalModelValue ;
@@ -930,6 +952,7 @@ export declare interface TextInputConfig {
930952 format : string | string [ ] | ( ( value : string ) => Date | null ) ;
931953 maskFormat : string ;
932954 applyOnBlur : boolean ;
955+ separators : string [ ] ;
933956}
934957
935958export declare interface TimeConfig {
0 commit comments