@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
1,089 lines • 81.5 kB
TypeScript
import type { Story } from './AccordionGroup.stories';
declare const _default: {
title: string;
id?: import("storybook/internal/csf").ComponentId;
includeStories?: RegExp | string[];
excludeStories?: RegExp | string[];
component?: Omit<import("vue").ConcreteComponent<Partial<{
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}> & Omit<{
readonly collapse: boolean;
readonly disabled: boolean;
readonly not: boolean;
readonly items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
readonly itemModifiers: string | string[];
readonly storageType: "local" | "session";
readonly modelValue?: string | string[] | undefined;
readonly modifiers?: string | string[] | undefined;
readonly storageKey?: string | undefined;
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "collapse" | "disabled" | "modelValue" | "not" | "modifiers" | "items" | "itemModifiers" | "storageType"> & {
default?: ((props: {
expandedAccordions: Set<string>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}) => any) | import("vue").VNodeChild;
}>, "props"> | undefined;
subcomponents?: Record<string, Omit<import("vue").ConcreteComponent<any>, "props">> | undefined;
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
[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;
};
})>> | undefined;
globals?: import("storybook/internal/csf").Globals | undefined;
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3").VueRenderer, {
collapse?: boolean | undefined;
disabled?: boolean | undefined;
modelValue?: string | string[] | undefined;
not?: boolean | undefined;
modifiers?: string | string[] | undefined;
items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
itemModifiers?: string | string[] | undefined;
storageType?: "local" | "session" | undefined;
style?: unknown;
ref?: import("vue").VNodeRef | undefined;
class?: unknown;
readonly storageKey?: string | undefined;
key?: PropertyKey | undefined;
ref_for?: boolean | undefined;
ref_key?: string | undefined;
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
onVnodeMounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
onVnodeBeforeUpdate?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
onVnodeUpdated?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
onVnodeBeforeUnmount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
onVnodeUnmounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
default?: ((props: {
expandedAccordions: Set<string>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}) => any) | import("vue").VNodeChild;
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/vue3").VueRenderer, {
collapse?: boolean | undefined;
disabled?: boolean | undefined;
modelValue?: string | string[] | undefined;
not?: boolean | undefined;
modifiers?: string | string[] | undefined;
items?: import("../../components/VvAccordionGroup").VvAccordionGroupItem[] | undefined;
itemModifiers?: string | string[] | undefined;
storageType?: "local" | "session" | undefined;
style?: unknown;
ref?: import("vue").VNodeRef | undefined;
class?: unknown;
readonly storageKey?: string | undefined;
key?: PropertyKey | undefined;
ref_for?: boolean | undefined;
ref_key?: string | undefined;
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
onVnodeMounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
onVnodeBeforeUpdate?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
onVnodeUpdated?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
onVnodeBeforeUnmount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
onVnodeUnmounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
default?: ((props: {
expandedAccordions: Set<string>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}) => any) | import("vue").VNodeChild;
}>[] | undefined;
parameters?: import("@storybook/vue3").Parameters | undefined;
args?: Partial<import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
[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;
};
})>> | undefined;
argTypes?: Partial<import("@storybook/vue3").ArgTypes<import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
[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;
};
})>>> | undefined;
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
[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;
};
})>> | import("storybook/internal/csf").LoaderFunction<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
[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;
};
})>>[] | undefined;
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
$slots: {
[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;
};
})>> | import("storybook/internal/csf").BeforeEach<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
collapse: (name?: string | string[]) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
collapse: boolean;
disabled: boolean;
modelValue: string | string[] | undefined;
not: boolean;
modifiers: string | string[];
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
itemModifiers: string | string[];
storageType: "local" | "session";
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly<globalThis.ExtractPropTypes<{
modelValue: {
type: PropType<string | string[] | undefined>;
default: undefined;
};
items: {
type: PropType<import("../../components/VvAccordionGroup").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<{}>, {
expandedAccordions: globalThis.WritableComputedRef<Set<string>, Set<string>>;
expand: (name?: string | string[]) => void;
colla