11import { CSSProperties , MaybeRef } from 'vue' ;
2- import type { IconOptions , ThemeInstance } from 'vuetify' ;
3- import VResizeDrawer from '../VResizeDrawer.vue' ;
4- import type { VNavigationDrawer } from 'vuetify/components' ;
2+ import { IconOptions , ThemeInstance } from 'vuetify' ;
3+ import { default as VResizeDrawer } from '../VResizeDrawer.vue' ;
4+ import { VIcon , VNavigationDrawer } from 'vuetify/components' ;
55export * from '../index' ;
66export type Classes = {
77 [ key : string ] : boolean | undefined ;
88} ;
99export type EmitEventNames = 'handle:click' | 'handle:dblclick' | 'handle:drag' | 'handle:mousedown' | 'handle:mouseup' | 'handle:touchend' | 'handle:touchmove' | 'handle:touchstart' ;
1010export type StorageType = 'local' | 'session' ;
1111export type HandlePositions = 'bottom' | 'border' | 'center' | 'top' ;
12- export type DrawerLocations = 'end' | 'start' | 'left' | 'right' | undefined ;
12+ export type DrawerLocations = 'bottom' | 'end' | 'start' | 'left' | 'right' | 'top' | undefined ;
13+ type Height = number | string | undefined ;
1314export type HEXColor = string ;
1415export type HSLColor = [ number , number , number ] ;
1516export type RGBColor = [ number , number , number ] ;
@@ -20,19 +21,23 @@ export interface Props {
2021 handleBorderWidth ?: number | string ;
2122 handleColor ?: string | undefined ;
2223 handleIcon ?: string | undefined ;
23- handleIconSize ?: string | undefined ;
24+ handleIconSize ?: VIcon [ 'size' ] ;
2425 handlePosition ?: HandlePositions ;
25- height ?: number | string | undefined ;
26+ height ?: Height ;
2627 image ?: VNavigationDrawer [ 'image' ] ;
2728 location ?: DrawerLocations ;
29+ maxHeight ?: Height ;
2830 maxWidth ?: VNavigationDrawer [ 'width' ] ;
31+ minHeight ?: Height ;
2932 minWidth ?: VNavigationDrawer [ 'width' ] ;
3033 modelValue ?: VNavigationDrawer [ 'modelValue' ] ;
3134 name ?: VNavigationDrawer [ 'name' ] ;
3235 rail ?: VNavigationDrawer [ 'rail' ] ;
3336 railWidth ?: VNavigationDrawer [ 'railWidth' ] ;
3437 resizable ?: boolean | undefined ;
38+ saveHeight ?: boolean | undefined ;
3539 saveWidth ?: boolean | undefined ;
40+ snapBack ?: boolean | undefined ;
3641 storageName ?: string | undefined ;
3742 storageType ?: StorageType ;
3843 tag ?: VNavigationDrawer [ 'tag' ] ;
@@ -53,10 +58,11 @@ export interface UseConvertToUnit {
5358export interface UseSetStorage {
5459 ( options : {
5560 action ?: string ;
61+ resizedAmount ?: MaybeRef < string | number | undefined > ;
5662 resizedWidth ?: MaybeRef < string | number | undefined > ;
5763 storageType ?: StorageType ;
5864 storageName ?: Props [ 'storageName' ] ;
59- saveWidth ?: Props [ 'saveWidth' ] ;
65+ saveAmount ?: Props [ 'saveWidth' ] | Props [ 'saveHeight '] ;
6066 rail ?: Props [ 'rail' ] ;
6167 } ) : void ;
6268}
@@ -89,19 +95,24 @@ export interface UseHandleIconClasses {
8995export interface UseDrawerStyles {
9096 ( options : {
9197 isMouseDown ?: MaybeRef < boolean > ;
98+ location ?: Props [ 'location' ] ;
99+ maxHeight ?: Props [ 'maxHeight' ] ;
100+ minHeight ?: Props [ 'minHeight' ] ;
92101 maxWidth ?: Props [ 'maxWidth' ] ;
93102 minWidth ?: Props [ 'minWidth' ] ;
94103 rail ?: Props [ 'rail' ] ;
95104 railWidth ?: Props [ 'railWidth' ] ;
96- resizedWidth : MaybeRef < string | number | undefined > ;
97- widthSnapBack ?: Props [ 'widthSnapBack ' ] ;
105+ resizedAmount : MaybeRef < string | number | undefined > ;
106+ snapBack ?: Props [ 'snapBack ' ] ;
98107 } ) : CSSProperties ;
99108}
100109export interface UseHandleContainerStyles {
101110 ( options : {
102111 borderWidth ?: Props [ 'handleBorderWidth' ] ;
103112 handleColor ?: Props [ 'handleColor' ] ;
104113 iconSize ?: Props [ 'handleIconSize' ] ;
114+ iconSizeUnit ?: number ;
115+ location ?: Props [ 'location' ] ;
105116 position ?: Props [ 'handlePosition' ] ;
106117 theme : ThemeInstance ;
107118 } ) : CSSProperties ;
0 commit comments