@volverjs/ui-vue 0.0.10-beta.31 → 0.0.10-beta.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/VvAccordion/VvAccordion.vue.d.ts +1 -131
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +4 -3
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAlert/VvAlert.es.js +5 -5
- package/dist/components/VvAlert/VvAlert.umd.js +1 -1
- package/dist/components/VvAlertGroup/VvAlertGroup.es.js +6 -7
- package/dist/components/VvAlertGroup/VvAlertGroup.umd.js +1 -1
- package/dist/components/VvAvatar/VvAvatar.es.js +1 -6
- package/dist/components/VvAvatar/VvAvatar.umd.js +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.es.js +4 -8
- package/dist/components/VvAvatarGroup/VvAvatarGroup.umd.js +1 -1
- package/dist/components/VvBadge/VvBadge.es.js +2 -8
- package/dist/components/VvBadge/VvBadge.umd.js +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.es.js +3 -8
- package/dist/components/VvBreadcrumb/VvBreadcrumb.umd.js +1 -1
- package/dist/components/VvButton/VvButton.es.js +0 -22
- package/dist/components/VvButton/VvButton.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.es.js +16 -7
- package/dist/components/VvButtonGroup/VvButtonGroup.umd.js +1 -1
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +7 -0
- package/dist/components/VvButtonGroup/index.d.ts +3 -0
- package/dist/components/VvCard/VvCard.es.js +1 -6
- package/dist/components/VvCard/VvCard.umd.js +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.es.js +2 -23
- package/dist/components/VvCheckbox/VvCheckbox.umd.js +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.es.js +6 -24
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.es.js +12 -31
- package/dist/components/VvCombobox/VvCombobox.umd.js +1 -1
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +29 -23
- package/dist/components/VvCombobox/index.d.ts +7 -7
- package/dist/components/VvDialog/VvDialog.es.js +1 -6
- package/dist/components/VvDialog/VvDialog.umd.js +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +23 -23
- package/dist/components/VvDropdown/index.d.ts +7 -7
- package/dist/components/VvDropdownAction/VvDropdownAction.es.js +0 -5
- package/dist/components/VvDropdownAction/VvDropdownAction.umd.js +1 -1
- package/dist/components/VvIcon/VvIcon.es.js +1 -6
- package/dist/components/VvIcon/VvIcon.umd.js +1 -1
- package/dist/components/VvInputFile/VvInputFile.es.js +0 -22
- package/dist/components/VvInputFile/VvInputFile.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +16 -4
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvNav/VvNav.es.js +8 -10
- package/dist/components/VvNav/VvNav.umd.js +1 -1
- package/dist/components/VvNavItem/VvNavItem.es.js +4 -1
- package/dist/components/VvNavItem/VvNavItem.umd.js +1 -1
- package/dist/components/VvProgress/VvProgress.es.js +3 -3
- package/dist/components/VvProgress/VvProgress.umd.js +1 -1
- package/dist/components/VvRadio/VvRadio.es.js +0 -22
- package/dist/components/VvRadio/VvRadio.umd.js +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.es.js +4 -23
- package/dist/components/VvRadioGroup/VvRadioGroup.umd.js +1 -1
- package/dist/components/VvTab/VvTab.es.js +7 -9
- package/dist/components/VvTab/VvTab.umd.js +1 -1
- package/dist/components/index.es.js +87 -69
- package/dist/components/index.umd.js +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +7 -7
- package/dist/stories/Accordion/Accordion.settings.d.ts +2 -57
- package/dist/stories/AccordionGroup/AccordionGroup.settings.d.ts +2 -66
- package/dist/stories/AccordionGroup/AccordionGroup.stories.d.ts +2 -181
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +370 -11
- package/dist/stories/Alert/Alert.settings.d.ts +2 -109
- package/dist/stories/AlertGroup/AlertGroup.settings.d.ts +2 -85
- package/dist/stories/AvatarGroup/AvatarGroup.settings.d.ts +2 -38
- package/dist/stories/Badge/Badge.settings.d.ts +2 -26
- package/dist/stories/Breadcrumb/Breadcrumb.settings.d.ts +2 -18
- package/dist/stories/Breadcrumb/Breadcrumb.test.d.ts +1 -1
- package/dist/stories/Button/Button.settings.d.ts +2 -193
- package/dist/stories/ButtonGroup/ButtonGroup.settings.d.ts +2 -40
- package/dist/stories/Card/Card.settings.d.ts +2 -63
- package/dist/stories/Checkbox/Checkbox.settings.d.ts +2 -132
- package/dist/stories/CheckboxGroup/CheckboxGroup.settings.d.ts +1 -141
- package/dist/stories/Combobox/Combobox.settings.d.ts +2 -617
- package/dist/stories/Dialog/Dialog.settings.d.ts +2 -47
- package/dist/stories/Dropdown/Dropdown.settings.d.ts +2 -205
- package/dist/stories/Icon/Icon.settings.d.ts +2 -68
- package/dist/stories/InputFile/InputFile.settings.d.ts +2 -52
- package/dist/stories/InputText/InputText.settings.d.ts +2 -438
- package/dist/stories/Nav/Nav.settings.d.ts +2 -10
- package/dist/stories/Progress/Progress.settings.d.ts +2 -27
- package/dist/stories/Radio/Radio.settings.d.ts +1 -110
- package/dist/stories/RadioGroup/RadioGroup.settings.d.ts +1 -141
- package/dist/stories/Select/Select.settings.d.ts +2 -246
- package/dist/stories/Textarea/Textarea.settings.d.ts +2 -287
- package/dist/stories/argTypes.d.ts +27 -866
- package/package.json +45 -45
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvAlert/index.ts +4 -4
- package/src/components/VvAlertGroup/VvAlertGroup.vue +0 -1
- package/src/components/VvBadge/VvBadge.vue +1 -1
- package/src/components/VvButtonGroup/VvButtonGroup.vue +11 -2
- package/src/components/VvButtonGroup/index.ts +1 -0
- package/src/components/VvCheckbox/VvCheckbox.vue +2 -5
- package/src/components/VvCombobox/VvCombobox.vue +2 -1
- package/src/components/VvInputText/VvInputText.vue +18 -3
- package/src/components/VvNav/VvNav.vue +1 -6
- package/src/components/VvNav/VvNavItem.vue +1 -1
- package/src/components/VvProgress/VvProgress.vue +0 -1
- package/src/composables/alert/useAlert.ts +3 -3
- package/src/stories/Accordion/Accordion.settings.ts +3 -2
- package/src/stories/AccordionGroup/AccordionGroup.settings.ts +4 -3
- package/src/stories/AccordionGroup/AccordionGroup.stories.ts +4 -2
- package/src/stories/AccordionGroup/AccordionGroup.test.ts +2 -6
- package/src/stories/Alert/Alert.settings.ts +8 -7
- package/src/stories/Alert/Alert.test.ts +1 -3
- package/src/stories/AlertGroup/AlertGroup.settings.ts +3 -1
- package/src/stories/AlertGroup/AlertGroup.test.ts +5 -7
- package/src/stories/Avatar/Avatar.test.ts +1 -3
- package/src/stories/Avatar/AvatarModifiers.stories.ts +1 -0
- package/src/stories/AvatarGroup/AvatarGroup.settings.ts +2 -1
- package/src/stories/AvatarGroup/AvatarGroup.test.ts +1 -3
- package/src/stories/AvatarGroup/AvatarGroupModifiers.stories.ts +1 -0
- package/src/stories/Badge/Badge.settings.ts +2 -1
- package/src/stories/Badge/Badge.stories.ts +2 -2
- package/src/stories/Badge/Badge.test.ts +1 -1
- package/src/stories/Breadcrumb/Breadcrumb.settings.ts +2 -1
- package/src/stories/Breadcrumb/Breadcrumb.stories.ts +1 -1
- package/src/stories/Breadcrumb/Breadcrumb.test.ts +1 -1
- package/src/stories/Button/Button.settings.ts +6 -6
- package/src/stories/Button/Button.stories.ts +1 -1
- package/src/stories/Button/Button.test.ts +1 -3
- package/src/stories/ButtonGroup/ButtonGroup.settings.ts +11 -1
- package/src/stories/ButtonGroup/ButtonGroup.stories.ts +1 -1
- package/src/stories/ButtonGroup/ButtonGroup.test.ts +2 -6
- package/src/stories/Card/Card.settings.ts +2 -1
- package/src/stories/Card/Card.test.ts +1 -3
- package/src/stories/Checkbox/Checkbox.settings.ts +5 -3
- package/src/stories/Checkbox/Checkbox.test.ts +2 -6
- package/src/stories/Checkbox/CheckboxBinary.stories.ts +1 -1
- package/src/stories/CheckboxGroup/CheckboxGroup.test.ts +2 -6
- package/src/stories/Combobox/Combobox.settings.ts +10 -10
- package/src/stories/Combobox/Combobox.test.ts +2 -6
- package/src/stories/Dialog/Dialog.settings.ts +2 -1
- package/src/stories/Dialog/Dialog.test.ts +3 -8
- package/src/stories/Dropdown/Dropdown.settings.ts +2 -1
- package/src/stories/Dropdown/Dropdown.test.ts +2 -6
- package/src/stories/Dropdown/DropdownSlots.stories.ts +1 -1
- package/src/stories/Icon/Icon.settings.ts +2 -1
- package/src/stories/Icon/Icon.stories.ts +0 -1
- package/src/stories/InputFile/InputFile.settings.ts +2 -1
- package/src/stories/InputText/InputText.settings.ts +8 -6
- package/src/stories/InputText/InputText.test.ts +2 -6
- package/src/stories/InputText/InputTextMinMax.stories.ts +1 -1
- package/src/stories/Nav/Nav.settings.ts +2 -2
- package/src/stories/Nav/Nav.stories.ts +1 -1
- package/src/stories/Nav/Nav.test.ts +2 -4
- package/src/stories/Progress/Progress.settings.ts +2 -1
- package/src/stories/Radio/Radio.test.ts +2 -6
- package/src/stories/RadioGroup/RadioGroup.stories.ts +1 -2
- package/src/stories/RadioGroup/RadioGroup.test.ts +2 -6
- package/src/stories/RadioGroup/RadioGroupOptions.stories.ts +1 -1
- package/src/stories/Select/Select.settings.ts +4 -3
- package/src/stories/Select/Select.test.ts +3 -9
- package/src/stories/Select/SelectIconPosition.stories.ts +2 -2
- package/src/stories/Select/SelectOptions.stories.ts +0 -1
- package/src/stories/Tab/Tab.test.ts +3 -5
- package/src/stories/Textarea/Textarea.settings.ts +5 -3
- package/src/stories/Textarea/Textarea.test.ts +2 -6
- package/src/stories/Tooltip/Tooltip.settings.ts +1 -1
- package/src/stories/Tooltip/Tooltip.test.ts +3 -5
- package/src/stories/argTypes.ts +47 -46
package/dist/props/index.d.ts
CHANGED
|
@@ -284,7 +284,7 @@ export declare const DropdownProps: {
|
|
|
284
284
|
* @see https://floating-ui.com/docs/offset
|
|
285
285
|
*/
|
|
286
286
|
offset: {
|
|
287
|
-
type: PropType<string | import("@floating-ui/
|
|
287
|
+
type: PropType<string | import("@floating-ui/dom").OffsetOptions | undefined>;
|
|
288
288
|
default: number;
|
|
289
289
|
};
|
|
290
290
|
/**
|
|
@@ -304,7 +304,7 @@ export declare const DropdownProps: {
|
|
|
304
304
|
options?: any;
|
|
305
305
|
} | undefined;
|
|
306
306
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
307
|
-
} | import("@floating-ui/
|
|
307
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
308
308
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
309
309
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
310
310
|
altBoundary?: boolean | undefined;
|
|
@@ -332,11 +332,11 @@ export declare const DropdownProps: {
|
|
|
332
332
|
crossAxis?: boolean | undefined;
|
|
333
333
|
mainAxis?: boolean | undefined;
|
|
334
334
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
335
|
-
fallbackStrategy?: "
|
|
335
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
336
336
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
337
337
|
flipAlignment?: boolean | undefined;
|
|
338
338
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
339
|
-
} | import("@floating-ui/
|
|
339
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
340
340
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
341
341
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
342
342
|
altBoundary?: boolean | undefined;
|
|
@@ -344,7 +344,7 @@ export declare const DropdownProps: {
|
|
|
344
344
|
crossAxis?: boolean | undefined;
|
|
345
345
|
mainAxis?: boolean | undefined;
|
|
346
346
|
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
347
|
-
fallbackStrategy?: "
|
|
347
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
348
348
|
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
349
349
|
flipAlignment?: boolean | undefined;
|
|
350
350
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
@@ -376,7 +376,7 @@ export declare const DropdownProps: {
|
|
|
376
376
|
availableWidth: number;
|
|
377
377
|
availableHeight: number;
|
|
378
378
|
}) => void | Promise<void>) | undefined;
|
|
379
|
-
} | import("@floating-ui/
|
|
379
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
380
380
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
381
381
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
382
382
|
altBoundary?: boolean | undefined;
|
|
@@ -416,7 +416,7 @@ export declare const DropdownProps: {
|
|
|
416
416
|
autoAlignment?: boolean | undefined;
|
|
417
417
|
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
418
418
|
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
419
|
-
} | import("@floating-ui/
|
|
419
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
420
420
|
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
421
421
|
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
422
422
|
altBoundary?: boolean | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ArgTypes } from '@storybook/types';
|
|
1
2
|
export declare const defaultArgs: {
|
|
2
3
|
title: string;
|
|
3
4
|
content: string;
|
|
@@ -5,60 +6,4 @@ export declare const defaultArgs: {
|
|
|
5
6
|
disabled: boolean;
|
|
6
7
|
not: boolean;
|
|
7
8
|
};
|
|
8
|
-
export declare const argTypes:
|
|
9
|
-
disabled: {
|
|
10
|
-
control: string;
|
|
11
|
-
description: string;
|
|
12
|
-
table: {
|
|
13
|
-
defaultValue: {
|
|
14
|
-
summary: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
summary: {
|
|
19
|
-
description: string;
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
table: {
|
|
24
|
-
category: string;
|
|
25
|
-
type: {
|
|
26
|
-
summary: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
default: {
|
|
31
|
-
description: string;
|
|
32
|
-
control: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
table: {
|
|
36
|
-
category: string;
|
|
37
|
-
type: {
|
|
38
|
-
summary: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
title: {
|
|
43
|
-
description: string;
|
|
44
|
-
};
|
|
45
|
-
content: {
|
|
46
|
-
description: string;
|
|
47
|
-
};
|
|
48
|
-
modifiers: {
|
|
49
|
-
options: string[];
|
|
50
|
-
description: string;
|
|
51
|
-
control: {
|
|
52
|
-
type: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
not: {
|
|
56
|
-
description: string;
|
|
57
|
-
control: string;
|
|
58
|
-
table: {
|
|
59
|
-
defaultValue: {
|
|
60
|
-
summary: boolean;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
9
|
+
export declare const argTypes: ArgTypes;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ArgTypes } from '@storybook/vue3';
|
|
1
2
|
export declare const defaultArgs: {
|
|
2
3
|
collapse: boolean;
|
|
3
4
|
disabled: boolean;
|
|
@@ -9,69 +10,4 @@ export declare const defaultArgs: {
|
|
|
9
10
|
modifiers: never[];
|
|
10
11
|
itemModifiers: never[];
|
|
11
12
|
};
|
|
12
|
-
export declare const argTypes:
|
|
13
|
-
default: {
|
|
14
|
-
description: string;
|
|
15
|
-
control: {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
table: {
|
|
19
|
-
category: string;
|
|
20
|
-
type: {
|
|
21
|
-
summary: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
disabled: {
|
|
26
|
-
control: string;
|
|
27
|
-
description: string;
|
|
28
|
-
table: {
|
|
29
|
-
defaultValue: {
|
|
30
|
-
summary: boolean;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
'`details::${item.name}`': {
|
|
35
|
-
table: {
|
|
36
|
-
disable: boolean;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
'`header::${item.name}`': {
|
|
40
|
-
table: {
|
|
41
|
-
disable: boolean;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
items: {
|
|
45
|
-
description: string;
|
|
46
|
-
};
|
|
47
|
-
collapse: {
|
|
48
|
-
description: string;
|
|
49
|
-
control: string;
|
|
50
|
-
table: {
|
|
51
|
-
defaultValue: {
|
|
52
|
-
summary: boolean;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
not: {
|
|
57
|
-
description: string;
|
|
58
|
-
control: string;
|
|
59
|
-
table: {
|
|
60
|
-
defaultValue: {
|
|
61
|
-
summary: boolean;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
modifiers: {
|
|
66
|
-
options: string[];
|
|
67
|
-
description: string;
|
|
68
|
-
control: {
|
|
69
|
-
type: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
itemModifiers: {
|
|
73
|
-
description: string;
|
|
74
|
-
control: string;
|
|
75
|
-
options: string[];
|
|
76
|
-
};
|
|
77
|
-
};
|
|
13
|
+
export declare const argTypes: ArgTypes;
|
|
@@ -1,186 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
2
|
import VvAccordionGroup from '@/components/VvAccordionGroup/VvAccordionGroup.vue';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
modelValue: {
|
|
6
|
-
type: globalThis.PropType<string | string[] | undefined>;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
items: {
|
|
10
|
-
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
11
|
-
default: () => never[];
|
|
12
|
-
};
|
|
13
|
-
collapse: BooleanConstructor;
|
|
14
|
-
itemModifiers: {
|
|
15
|
-
type: globalThis.PropType<string | string[]>;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
disabled: BooleanConstructor;
|
|
19
|
-
not: BooleanConstructor;
|
|
20
|
-
storageType: {
|
|
21
|
-
type: globalThis.PropType<"local" | "session">;
|
|
22
|
-
default: import("../../constants").StorageType;
|
|
23
|
-
validator: (value: import("../../constants").StorageType) => boolean;
|
|
24
|
-
};
|
|
25
|
-
storageKey: StringConstructor;
|
|
26
|
-
modifiers: {
|
|
27
|
-
type: globalThis.PropType<string | string[]>;
|
|
28
|
-
default: undefined;
|
|
29
|
-
};
|
|
30
|
-
}>>, {
|
|
31
|
-
expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
|
|
32
|
-
expand: (name?: string | string[] | undefined) => void;
|
|
33
|
-
collapse: (name?: string | string[] | undefined) => void;
|
|
34
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
-
[x: string]: (...args: any[]) => void;
|
|
36
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<globalThis.ExtractPropTypes<{
|
|
37
|
-
modelValue: {
|
|
38
|
-
type: globalThis.PropType<string | string[] | undefined>;
|
|
39
|
-
default: undefined;
|
|
40
|
-
};
|
|
41
|
-
items: {
|
|
42
|
-
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
43
|
-
default: () => never[];
|
|
44
|
-
};
|
|
45
|
-
collapse: BooleanConstructor;
|
|
46
|
-
itemModifiers: {
|
|
47
|
-
type: globalThis.PropType<string | string[]>;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
disabled: BooleanConstructor;
|
|
51
|
-
not: BooleanConstructor;
|
|
52
|
-
storageType: {
|
|
53
|
-
type: globalThis.PropType<"local" | "session">;
|
|
54
|
-
default: import("../../constants").StorageType;
|
|
55
|
-
validator: (value: import("../../constants").StorageType) => boolean;
|
|
56
|
-
};
|
|
57
|
-
storageKey: StringConstructor;
|
|
58
|
-
modifiers: {
|
|
59
|
-
type: globalThis.PropType<string | string[]>;
|
|
60
|
-
default: undefined;
|
|
61
|
-
};
|
|
62
|
-
}>>, {
|
|
63
|
-
collapse: boolean;
|
|
64
|
-
disabled: boolean;
|
|
65
|
-
modelValue: string | string[] | undefined;
|
|
66
|
-
not: boolean;
|
|
67
|
-
modifiers: string | string[];
|
|
68
|
-
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
69
|
-
itemModifiers: string | string[];
|
|
70
|
-
storageType: "local" | "session";
|
|
71
|
-
}, true, {}, {}, {
|
|
72
|
-
P: {};
|
|
73
|
-
B: {};
|
|
74
|
-
D: {};
|
|
75
|
-
C: {};
|
|
76
|
-
M: {};
|
|
77
|
-
Defaults: {};
|
|
78
|
-
}, Readonly<globalThis.ExtractPropTypes<{
|
|
79
|
-
modelValue: {
|
|
80
|
-
type: globalThis.PropType<string | string[] | undefined>;
|
|
81
|
-
default: undefined;
|
|
82
|
-
};
|
|
83
|
-
items: {
|
|
84
|
-
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
85
|
-
default: () => never[];
|
|
86
|
-
};
|
|
87
|
-
collapse: BooleanConstructor;
|
|
88
|
-
itemModifiers: {
|
|
89
|
-
type: globalThis.PropType<string | string[]>;
|
|
90
|
-
default: string;
|
|
91
|
-
};
|
|
92
|
-
disabled: BooleanConstructor;
|
|
93
|
-
not: BooleanConstructor;
|
|
94
|
-
storageType: {
|
|
95
|
-
type: globalThis.PropType<"local" | "session">;
|
|
96
|
-
default: import("../../constants").StorageType;
|
|
97
|
-
validator: (value: import("../../constants").StorageType) => boolean;
|
|
98
|
-
};
|
|
99
|
-
storageKey: StringConstructor;
|
|
100
|
-
modifiers: {
|
|
101
|
-
type: globalThis.PropType<string | string[]>;
|
|
102
|
-
default: undefined;
|
|
103
|
-
};
|
|
104
|
-
}>>, {
|
|
105
|
-
expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
|
|
106
|
-
expand: (name?: string | string[] | undefined) => void;
|
|
107
|
-
collapse: (name?: string | string[] | undefined) => void;
|
|
108
|
-
}, {}, {}, {}, {
|
|
109
|
-
collapse: boolean;
|
|
110
|
-
disabled: boolean;
|
|
111
|
-
modelValue: string | string[] | undefined;
|
|
112
|
-
not: boolean;
|
|
113
|
-
modifiers: string | string[];
|
|
114
|
-
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
115
|
-
itemModifiers: string | string[];
|
|
116
|
-
storageType: "local" | "session";
|
|
117
|
-
}>;
|
|
118
|
-
__isFragment?: undefined;
|
|
119
|
-
__isTeleport?: undefined;
|
|
120
|
-
__isSuspense?: undefined;
|
|
121
|
-
} & import("vue").ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
122
|
-
modelValue: {
|
|
123
|
-
type: globalThis.PropType<string | string[] | undefined>;
|
|
124
|
-
default: undefined;
|
|
125
|
-
};
|
|
126
|
-
items: {
|
|
127
|
-
type: globalThis.PropType<import("../../components/VvAccordionGroup").VvAccordionGroupItem[]>;
|
|
128
|
-
default: () => never[];
|
|
129
|
-
};
|
|
130
|
-
collapse: BooleanConstructor;
|
|
131
|
-
itemModifiers: {
|
|
132
|
-
type: globalThis.PropType<string | string[]>;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
disabled: BooleanConstructor;
|
|
136
|
-
not: BooleanConstructor;
|
|
137
|
-
storageType: {
|
|
138
|
-
type: globalThis.PropType<"local" | "session">;
|
|
139
|
-
default: import("../../constants").StorageType;
|
|
140
|
-
validator: (value: import("../../constants").StorageType) => boolean;
|
|
141
|
-
};
|
|
142
|
-
storageKey: StringConstructor;
|
|
143
|
-
modifiers: {
|
|
144
|
-
type: globalThis.PropType<string | string[]>;
|
|
145
|
-
default: undefined;
|
|
146
|
-
};
|
|
147
|
-
}>>, {
|
|
148
|
-
expandedAccordions: globalThis.WritableComputedRef<Set<string>>;
|
|
149
|
-
expand: (name?: string | string[] | undefined) => void;
|
|
150
|
-
collapse: (name?: string | string[] | undefined) => void;
|
|
151
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
152
|
-
[x: string]: (...args: any[]) => void;
|
|
153
|
-
}, string, {
|
|
154
|
-
collapse: boolean;
|
|
155
|
-
disabled: boolean;
|
|
156
|
-
modelValue: string | string[] | undefined;
|
|
157
|
-
not: boolean;
|
|
158
|
-
modifiers: string | string[];
|
|
159
|
-
items: import("../../components/VvAccordionGroup").VvAccordionGroupItem[];
|
|
160
|
-
itemModifiers: string | string[];
|
|
161
|
-
storageType: "local" | "session";
|
|
162
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
163
|
-
$slots: Partial<Record<`summary::${string}`, (_: {
|
|
164
|
-
isExpanded: boolean;
|
|
165
|
-
expand: () => void;
|
|
166
|
-
collapse: () => void;
|
|
167
|
-
groupExpand: (name?: string | string[] | undefined) => void;
|
|
168
|
-
groupCollapse: (name?: string | string[] | undefined) => void;
|
|
169
|
-
}) => any>> & Partial<Record<`content::${string}`, (_: {
|
|
170
|
-
isExpanded: boolean;
|
|
171
|
-
expand: () => void;
|
|
172
|
-
collapse: () => void;
|
|
173
|
-
groupExpand: (name?: string | string[] | undefined) => void;
|
|
174
|
-
groupCollapse: (name?: string | string[] | undefined) => void;
|
|
175
|
-
}) => any>> & {
|
|
176
|
-
default?(_: {
|
|
177
|
-
expandedAccordions: Set<string>;
|
|
178
|
-
expand: (name?: string | string[] | undefined) => void;
|
|
179
|
-
collapse: (name?: string | string[] | undefined) => void;
|
|
180
|
-
}): any;
|
|
181
|
-
};
|
|
182
|
-
})>;
|
|
183
|
-
export default _default;
|
|
3
|
+
declare const meta: Meta<typeof VvAccordionGroup>;
|
|
4
|
+
export default meta;
|
|
184
5
|
export type Story = StoryObj<typeof VvAccordionGroup>;
|
|
185
6
|
export declare const Default: Story;
|
|
186
7
|
export declare const Not: Story;
|