@coreui/vue-pro
Version:
UI Components Library for Vue.js
91 lines (90 loc) • 3.26 kB
TypeScript
import { PropType } from 'vue';
declare const CPicker: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* Set container type for the component, or the element the dropdown is rendered into.
*
* - `'dropdown'` - the component is rendered as a dropdown (default),
* - `'inline'` - the component is rendered inline, without a dropdown,
* - an HTML element, a CSS selector, or a function that returns a single element - the
* dropdown is rendered inside that element. Implies `teleport`. **[Added in v5.21.0]**
*/
container: {
type: PropType<"dropdown" | "inline" | string | HTMLElement | (() => HTMLElement) | null>;
default: string;
};
/**
* Toggle the disabled state for the component.
*/
disabled: BooleanConstructor;
/**
* A string of all className you want applied to the dropdown menu.
*/
dropdownClassNames: StringConstructor;
/**
* Toggle visibility of footer element or set the content of footer.
*/
footer: BooleanConstructor;
/**
* Generates dropdown menu using Teleport.
*
* @since 5.8.0
*/
teleport: {
type: BooleanConstructor[];
default: boolean;
};
/**
* Toggle the visibility of the component.
*/
visible: BooleanConstructor;
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show")[], "hide" | "show", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* Set container type for the component, or the element the dropdown is rendered into.
*
* - `'dropdown'` - the component is rendered as a dropdown (default),
* - `'inline'` - the component is rendered inline, without a dropdown,
* - an HTML element, a CSS selector, or a function that returns a single element - the
* dropdown is rendered inside that element. Implies `teleport`. **[Added in v5.21.0]**
*/
container: {
type: PropType<"dropdown" | "inline" | string | HTMLElement | (() => HTMLElement) | null>;
default: string;
};
/**
* Toggle the disabled state for the component.
*/
disabled: BooleanConstructor;
/**
* A string of all className you want applied to the dropdown menu.
*/
dropdownClassNames: StringConstructor;
/**
* Toggle visibility of footer element or set the content of footer.
*/
footer: BooleanConstructor;
/**
* Generates dropdown menu using Teleport.
*
* @since 5.8.0
*/
teleport: {
type: BooleanConstructor[];
default: boolean;
};
/**
* Toggle the visibility of the component.
*/
visible: BooleanConstructor;
}>> & Readonly<{
onHide?: ((...args: any[]) => any) | undefined;
onShow?: ((...args: any[]) => any) | undefined;
}>, {
footer: boolean;
visible: boolean;
disabled: boolean;
container: string | HTMLElement | (() => HTMLElement) | null;
teleport: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export { CPicker };