123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800 |
- import * as vue from 'vue';
- import { ComponentPropsOptions, ExtractPropTypes, ComponentPublicInstance, Ref, EffectScope } from 'vue';
- type ClassValue = any;
- declare const block: readonly ["top", "bottom"];
- declare const inline: readonly ["start", "end", "left", "right"];
- type Tblock = typeof block[number];
- type Tinline = typeof inline[number];
- type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
- declare class Box {
- x: number;
- y: number;
- width: number;
- height: number;
- constructor({ x, y, width, height }: {
- x: number;
- y: number;
- width: number;
- height: number;
- });
- get top(): number;
- get bottom(): number;
- get left(): number;
- get right(): number;
- }
- interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
- filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
- }
- type TemplateRef = {
- (target: Element | ComponentPublicInstance | null): void;
- value: HTMLElement | ComponentPublicInstance | null | undefined;
- readonly el: HTMLElement | undefined;
- };
- interface LocationStrategyData {
- contentEl: Ref<HTMLElement | undefined>;
- target: Ref<HTMLElement | [x: number, y: number] | undefined>;
- isActive: Ref<boolean>;
- isRtl: Ref<boolean>;
- }
- type LocationStrategyFn = (data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- };
- declare const locationStrategies: {
- static: typeof staticLocationStrategy;
- connected: typeof connectedLocationStrategy;
- };
- interface StrategyProps$1 {
- locationStrategy: keyof typeof locationStrategies | LocationStrategyFn;
- location: Anchor;
- origin: Anchor | 'auto' | 'overlap';
- offset?: number | string | number[];
- maxHeight?: number | string;
- maxWidth?: number | string;
- minHeight?: number | string;
- minWidth?: number | string;
- }
- declare function staticLocationStrategy(): void;
- declare function connectedLocationStrategy(data: LocationStrategyData, props: StrategyProps$1, contentStyles: Ref<Record<string, string>>): {
- updateLocation: () => {
- available: {
- x: number;
- y: number;
- };
- contentBox: Box;
- } | undefined;
- };
- interface ScrollStrategyData {
- root: Ref<HTMLElement | undefined>;
- contentEl: Ref<HTMLElement | undefined>;
- targetEl: Ref<HTMLElement | undefined>;
- isActive: Ref<boolean>;
- updateLocation: Ref<((e: Event) => void) | undefined>;
- }
- type ScrollStrategyFn = (data: ScrollStrategyData, props: StrategyProps, scope: EffectScope) => void;
- declare const scrollStrategies: {
- none: null;
- close: typeof closeScrollStrategy;
- block: typeof blockScrollStrategy;
- reposition: typeof repositionScrollStrategy;
- };
- interface StrategyProps {
- scrollStrategy: keyof typeof scrollStrategies | ScrollStrategyFn;
- contained: boolean | undefined;
- }
- declare function closeScrollStrategy(data: ScrollStrategyData): void;
- declare function blockScrollStrategy(data: ScrollStrategyData, props: StrategyProps): void;
- declare function repositionScrollStrategy(data: ScrollStrategyData, props: StrategyProps, scope: EffectScope): void;
- declare const VBottomSheet: {
- new (...args: any[]): vue.CreateComponentPublicInstance<{
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- opacity?: string | number | undefined;
- target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
- 'update:modelValue': (value: boolean) => true;
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- opacity?: string | number | undefined;
- target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- }, {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnClick: boolean;
- openOnHover: boolean;
- openOnFocus: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- }, true, {}, vue.SlotsType<Partial<{
- default: (arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNode[];
- activator: (arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNode[];
- }>>, {
- P: {};
- B: {};
- D: {};
- C: {};
- M: {};
- Defaults: {};
- }, {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- opacity?: string | number | undefined;
- target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- }, {}, {}, {}, {}, {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnClick: boolean;
- openOnHover: boolean;
- openOnFocus: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- }>;
- __isFragment?: never;
- __isTeleport?: never;
- __isSuspense?: never;
- } & vue.ComponentOptionsBase<{
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnHover: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- } & {
- offset?: string | number | number[] | undefined;
- height?: string | number | undefined;
- width?: string | number | undefined;
- maxHeight?: string | number | undefined;
- maxWidth?: string | number | undefined;
- minHeight?: string | number | undefined;
- minWidth?: string | number | undefined;
- opacity?: string | number | undefined;
- target?: Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined;
- class?: any;
- theme?: string | undefined;
- contentClass?: any;
- activator?: Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined;
- closeDelay?: string | number | undefined;
- openDelay?: string | number | undefined;
- openOnClick?: boolean | undefined;
- openOnFocus?: boolean | undefined;
- contentProps?: any;
- attach?: string | boolean | Element | undefined;
- } & {
- $children?: vue.VNodeChild | {
- default?: ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild);
- 'v-slots'?: {
- default?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- activator?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } | undefined;
- } & {
- "v-slot:default"?: false | ((arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNodeChild) | undefined;
- "v-slot:activator"?: false | ((arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNodeChild) | undefined;
- } & {
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
- }, {}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
- 'update:modelValue': (value: boolean) => true;
- }, string, {
- absolute: boolean;
- location: Anchor;
- origin: "auto" | Anchor | "overlap";
- inset: boolean;
- transition: string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- };
- zIndex: string | number;
- style: vue.StyleValue;
- eager: boolean;
- disabled: boolean;
- persistent: boolean;
- modelValue: boolean;
- locationStrategy: "connected" | "static" | ((data: LocationStrategyData, props: StrategyProps$1, contentStyles: vue.Ref<Record<string, string>>) => undefined | {
- updateLocation: (e?: Event) => void;
- });
- scrollStrategy: "none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition";
- activatorProps: Record<string, any>;
- openOnClick: boolean;
- openOnHover: boolean;
- openOnFocus: boolean;
- closeOnContentClick: boolean;
- closeOnBack: boolean;
- contained: boolean;
- noClickAnimation: boolean;
- scrim: string | boolean;
- fullscreen: boolean;
- retainFocus: boolean;
- scrollable: boolean;
- }, {}, string, vue.SlotsType<Partial<{
- default: (arg: {
- isActive: vue.Ref<boolean>;
- }) => vue.VNode[];
- activator: (arg: {
- isActive: boolean;
- props: Record<string, any>;
- targetRef: TemplateRef;
- }) => vue.VNode[];
- }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
- transition: Omit<Omit<{
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- })>;
- default: string;
- validator: (val: unknown) => boolean;
- }, "type" | "default"> & {
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- }>;
- default: NonNullable<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- })> | {
- component: vue.Component;
- };
- }, "type" | "default"> & {
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- }>;
- default: NonNullable<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- }>;
- };
- theme: StringConstructor;
- scrollStrategy: Omit<{
- type: vue.PropType<StrategyProps["scrollStrategy"]>;
- default: string;
- validator: (val: any) => boolean;
- }, "type" | "default"> & {
- type: vue.PropType<"none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
- default: NonNullable<"none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
- };
- locationStrategy: {
- type: vue.PropType<StrategyProps$1["locationStrategy"]>;
- default: string;
- validator: (val: any) => boolean;
- };
- location: {
- type: vue.PropType<StrategyProps$1["location"]>;
- default: string;
- };
- origin: Omit<{
- type: vue.PropType<StrategyProps$1["origin"]>;
- default: string;
- }, "type" | "default"> & {
- type: vue.PropType<"auto" | Anchor | "overlap">;
- default: NonNullable<"auto" | Anchor | "overlap">;
- };
- offset: vue.PropType<StrategyProps$1["offset"]>;
- eager: BooleanConstructor;
- height: (StringConstructor | NumberConstructor)[];
- maxHeight: (StringConstructor | NumberConstructor)[];
- maxWidth: (StringConstructor | NumberConstructor)[];
- minHeight: (StringConstructor | NumberConstructor)[];
- minWidth: (StringConstructor | NumberConstructor)[];
- width: (StringConstructor | NumberConstructor)[];
- class: vue.PropType<ClassValue>;
- style: {
- type: vue.PropType<vue.StyleValue>;
- default: null;
- };
- closeDelay: (StringConstructor | NumberConstructor)[];
- openDelay: (StringConstructor | NumberConstructor)[];
- target: vue.PropType<Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined>;
- activator: vue.PropType<Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined>;
- activatorProps: {
- type: vue.PropType<Record<string, any>>;
- default: () => {};
- };
- openOnClick: {
- type: BooleanConstructor;
- default: undefined;
- };
- openOnHover: BooleanConstructor;
- openOnFocus: {
- type: BooleanConstructor;
- default: undefined;
- };
- closeOnContentClick: BooleanConstructor;
- absolute: BooleanConstructor;
- attach: vue.PropType<boolean | string | Element>;
- closeOnBack: {
- type: BooleanConstructor;
- default: boolean;
- };
- contained: BooleanConstructor;
- contentClass: null;
- contentProps: null;
- disabled: BooleanConstructor;
- opacity: (StringConstructor | NumberConstructor)[];
- noClickAnimation: BooleanConstructor;
- modelValue: BooleanConstructor;
- persistent: BooleanConstructor;
- scrim: {
- type: (StringConstructor | BooleanConstructor)[];
- default: boolean;
- };
- zIndex: Omit<{
- type: (StringConstructor | NumberConstructor)[];
- default: number;
- }, "type" | "default"> & {
- type: vue.PropType<string | number>;
- default: NonNullable<string | number>;
- };
- fullscreen: BooleanConstructor;
- retainFocus: {
- type: BooleanConstructor;
- default: boolean;
- };
- scrollable: BooleanConstructor;
- inset: BooleanConstructor;
- }, vue.ExtractPropTypes<{
- transition: Omit<Omit<{
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- })>;
- default: string;
- validator: (val: unknown) => boolean;
- }, "type" | "default"> & {
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- }>;
- default: NonNullable<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- })> | {
- component: vue.Component;
- };
- }, "type" | "default"> & {
- type: vue.PropType<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- }>;
- default: NonNullable<string | boolean | (vue.TransitionProps & {
- component?: vue.Component;
- }) | {
- component: vue.Component;
- }>;
- };
- theme: StringConstructor;
- scrollStrategy: Omit<{
- type: vue.PropType<StrategyProps["scrollStrategy"]>;
- default: string;
- validator: (val: any) => boolean;
- }, "type" | "default"> & {
- type: vue.PropType<"none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
- default: NonNullable<"none" | "block" | "close" | ((data: ScrollStrategyData, props: StrategyProps, scope: vue.EffectScope) => void) | "reposition">;
- };
- locationStrategy: {
- type: vue.PropType<StrategyProps$1["locationStrategy"]>;
- default: string;
- validator: (val: any) => boolean;
- };
- location: {
- type: vue.PropType<StrategyProps$1["location"]>;
- default: string;
- };
- origin: Omit<{
- type: vue.PropType<StrategyProps$1["origin"]>;
- default: string;
- }, "type" | "default"> & {
- type: vue.PropType<"auto" | Anchor | "overlap">;
- default: NonNullable<"auto" | Anchor | "overlap">;
- };
- offset: vue.PropType<StrategyProps$1["offset"]>;
- eager: BooleanConstructor;
- height: (StringConstructor | NumberConstructor)[];
- maxHeight: (StringConstructor | NumberConstructor)[];
- maxWidth: (StringConstructor | NumberConstructor)[];
- minHeight: (StringConstructor | NumberConstructor)[];
- minWidth: (StringConstructor | NumberConstructor)[];
- width: (StringConstructor | NumberConstructor)[];
- class: vue.PropType<ClassValue>;
- style: {
- type: vue.PropType<vue.StyleValue>;
- default: null;
- };
- closeDelay: (StringConstructor | NumberConstructor)[];
- openDelay: (StringConstructor | NumberConstructor)[];
- target: vue.PropType<Element | "cursor" | "parent" | (string & {}) | vue.ComponentPublicInstance | [x: number, y: number] | undefined>;
- activator: vue.PropType<Element | "parent" | (string & {}) | vue.ComponentPublicInstance | undefined>;
- activatorProps: {
- type: vue.PropType<Record<string, any>>;
- default: () => {};
- };
- openOnClick: {
- type: BooleanConstructor;
- default: undefined;
- };
- openOnHover: BooleanConstructor;
- openOnFocus: {
- type: BooleanConstructor;
- default: undefined;
- };
- closeOnContentClick: BooleanConstructor;
- absolute: BooleanConstructor;
- attach: vue.PropType<boolean | string | Element>;
- closeOnBack: {
- type: BooleanConstructor;
- default: boolean;
- };
- contained: BooleanConstructor;
- contentClass: null;
- contentProps: null;
- disabled: BooleanConstructor;
- opacity: (StringConstructor | NumberConstructor)[];
- noClickAnimation: BooleanConstructor;
- modelValue: BooleanConstructor;
- persistent: BooleanConstructor;
- scrim: {
- type: (StringConstructor | BooleanConstructor)[];
- default: boolean;
- };
- zIndex: Omit<{
- type: (StringConstructor | NumberConstructor)[];
- default: number;
- }, "type" | "default"> & {
- type: vue.PropType<string | number>;
- default: NonNullable<string | number>;
- };
- fullscreen: BooleanConstructor;
- retainFocus: {
- type: BooleanConstructor;
- default: boolean;
- };
- scrollable: BooleanConstructor;
- inset: BooleanConstructor;
- }>>;
- type VBottomSheet = InstanceType<typeof VBottomSheet>;
- export { VBottomSheet };
|