UNPKG

@volverjs/ui-vue

Version:

@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.

96 lines (95 loc) 3.27 kB
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<globalThis.ExtractPropTypes<{ modelValue: { type: PropType<string | string[] | undefined>; default: undefined; }; items: { type: PropType<import(".").VvAccordionGroupItem[]>; default: () => never[]; }; collapse: BooleanConstructor; itemModifiers: { type: PropType<string | string[]>; default: string; }; disabled: BooleanConstructor; not: BooleanConstructor; storageType: { type: PropType<`${import("../../constants").StorageType}`>; default: import("../../constants").StorageType; validator: (value: import("../../constants").StorageType) => boolean; }; storageKey: StringConstructor; modifiers: { type: PropType<string | string[]>; default: undefined; }; }>, { expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>; expand: (name?: string | string[]) => void; collapse: (name?: string | string[]) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{ modelValue: { type: PropType<string | string[] | undefined>; default: undefined; }; items: { type: PropType<import(".").VvAccordionGroupItem[]>; default: () => never[]; }; collapse: BooleanConstructor; itemModifiers: { type: PropType<string | string[]>; default: string; }; disabled: BooleanConstructor; not: BooleanConstructor; storageType: { type: PropType<`${import("../../constants").StorageType}`>; default: import("../../constants").StorageType; validator: (value: import("../../constants").StorageType) => boolean; }; storageKey: StringConstructor; modifiers: { type: PropType<string | string[]>; default: undefined; }; }>> & Readonly<{}>, { collapse: boolean; disabled: boolean; modelValue: string | string[] | undefined; not: boolean; modifiers: string | string[]; items: import(".").VvAccordionGroupItem[]; itemModifiers: string | string[]; storageType: "local" | "session"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, { [x: `summary::${string}`]: ((props: { isExpanded: boolean; expand: () => void; collapse: () => void; groupExpand: (name?: string | string[]) => void; groupCollapse: (name?: string | string[]) => void; }) => any) | undefined; } & { [x: `content::${string}`]: ((props: { isExpanded: boolean; expand: () => void; collapse: () => void; groupExpand: (name?: string | string[]) => void; groupCollapse: (name?: string | string[]) => void; }) => any) | undefined; } & { default?: (props: { expandedAccordions: Set<string>; expand: (name?: string | string[]) => void; collapse: (name?: string | string[]) => void; }) => any; }>; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };