@dpa-id-components/dpa-shared-components 11.0.0 → 12.0.0
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/DpaMediaItem/DpaMediaItem.stories.d.ts +25 -80
- package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +18 -49
- package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +194 -54
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +182 -42
- package/dist/components/UiBadge/UiBadge.stories.d.ts +31 -95
- package/dist/components/UiBadge/UiBadge.vue.d.ts +15 -50
- package/dist/components/UiButton/UiButton.stories.d.ts +32 -96
- package/dist/components/UiButton/UiButton.vue.d.ts +16 -51
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +1 -2
- package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +9 -3
- package/dist/components/UiCard/UiCard.stories.d.ts +1 -2
- package/dist/components/UiCard/UiCard.vue.d.ts +9 -3
- package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +25 -80
- package/dist/components/UiCheckBox/UiCheckBox.vue.d.ts +15 -46
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +11 -30
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +5 -33
- package/dist/components/UiChip/UiChip.stories.d.ts +16 -44
- package/dist/components/UiChip/UiChip.vue.d.ts +14 -36
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +16 -44
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +15 -37
- package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +8 -17
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -28
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +2374 -819
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2152 -132
- package/dist/components/UiDialog/UiDialog.stories.d.ts +80 -279
- package/dist/components/UiDialog/UiDialog.vue.d.ts +17 -63
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +56 -165
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +14 -39
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +62 -189
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +15 -41
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +50 -171
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +5 -55
- package/dist/components/UiIcon/IconOverview.vue.d.ts +5 -0
- package/dist/components/UiIcon/UiIcon.stories.d.ts +16 -40
- package/dist/components/UiIcon/UiIcon.vue.d.ts +4 -31
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +37 -109
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +6 -42
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +70 -230
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +16 -42
- package/dist/components/UiInput/UiInput.stories.d.ts +148 -505
- package/dist/components/UiInput/UiInput.vue.d.ts +21 -88
- package/dist/components/UiList/UiList.stories.d.ts +147 -493
- package/dist/components/UiList/UiList.vue.d.ts +9 -3
- package/dist/components/UiListItem/UiListItem.stories.d.ts +96 -327
- package/dist/components/UiListItem/UiListItem.vue.d.ts +19 -68
- package/dist/components/UiMenu/UiMenu.stories.d.ts +36 -41
- package/dist/components/UiMenu/UiMenu.vue.d.ts +8 -11
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +9 -12
- package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -29
- package/dist/components/UiMenu/UiMenuTypes.d.ts +1 -1
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +2 -3
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +9 -3
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +118 -373
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +14 -30
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +46 -119
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +5 -42
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +152 -461
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +27 -60
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +58 -127
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +22 -41
- package/dist/components/UiSection/UiSection.stories.d.ts +19 -56
- package/dist/components/UiSection/UiSection.vue.d.ts +14 -39
- package/dist/components/UiSectionDivider/UiSectionDivider.stories.d.ts +27 -76
- package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +4 -29
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +30 -75
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +7 -36
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +20 -57
- package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +4 -32
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +48 -135
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +20 -45
- package/dist/components/UiSpinner/UiSpinner.stories.d.ts +16 -41
- package/dist/components/UiSpinner/UiSpinner.vue.d.ts +4 -29
- package/dist/components/UiTextButton/UiTextButton.stories.d.ts +31 -104
- package/dist/components/UiTextButton/UiTextButton.vue.d.ts +14 -52
- package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +31 -104
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +15 -52
- package/dist/components/UiTooltip/UiTooltip.stories.d.ts +94 -303
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +20 -75
- package/dist/components/index.d.ts +0 -1
- package/dist/compositions/index.d.ts +0 -1
- package/dist/compositions/useBreakpoints/UseBreakpoints.stories.d.ts +0 -1
- package/dist/compositions/useBreakpoints/UseBreakpoints.vue.d.ts +2 -0
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +1 -1
- package/dist/directives/clickAway/clickAway.d.ts +0 -1
- package/dist/directives/index.d.ts +0 -1
- package/dist/dpa-shared-components.d.ts +1 -0
- package/dist/dpa-shared-components.mjs +12427 -13018
- package/dist/dpa-shared-components.umd.js +7 -7
- package/dist/index.d.ts +0 -1
- package/dist/stories/Typography/Typography.stories.d.ts +0 -1
- package/dist/stories/Typography/TypographyOverview.vue.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/package.json +9 -8
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
2
|
import { iconNames } from '../UiIcon/iconNames';
|
|
3
|
-
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component: <K>(__VLS_props: Awaited<typeof __VLS_setup
|
|
7
|
-
|
|
8
|
-
slots: ReturnType<() => Readonly<{
|
|
5
|
+
component: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
6
|
+
slots: Readonly<{
|
|
9
7
|
default(props: {
|
|
10
8
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
11
9
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
@@ -25,33 +23,33 @@ declare const meta: {
|
|
|
25
23
|
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
26
24
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
27
25
|
}): any;
|
|
28
|
-
}
|
|
26
|
+
};
|
|
27
|
+
attrs: any;
|
|
29
28
|
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
30
29
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
31
30
|
props: {
|
|
32
|
-
disabled?: boolean | undefined;
|
|
33
|
-
animate?: boolean | undefined;
|
|
34
31
|
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
35
32
|
readonly onReset?: ((...args: any[]) => any) | undefined;
|
|
36
|
-
imageShape?: import('./UiMenuTypes').UiMenuImageShape | undefined;
|
|
37
|
-
iconSize?: import('./UiMenuTypes').UiMenuIconSize | undefined;
|
|
38
|
-
checkboxSize?: import('./UiMenuTypes').UiMenuCheckboxSize | undefined;
|
|
39
|
-
options?: import('./UiMenuTypes').UiMenuOptionType<K>[] | undefined;
|
|
40
|
-
active?: boolean | undefined;
|
|
41
|
-
iconLeft?: ((typeof iconNames)[number] | null) | undefined;
|
|
42
33
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
43
34
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
44
35
|
readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
|
|
45
36
|
readonly onPlaced?: ((...args: any[]) => any) | undefined;
|
|
46
37
|
menuClasses?: import('vue').HTMLAttributes["class"];
|
|
38
|
+
options?: import('./UiMenuTypes').UiMenuOptionType<K>[] | undefined;
|
|
47
39
|
groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
|
|
48
40
|
hasAutoFocus?: boolean | undefined;
|
|
49
41
|
isOpen?: boolean | undefined;
|
|
42
|
+
disabled?: boolean | undefined;
|
|
43
|
+
active?: boolean | undefined;
|
|
50
44
|
defaultTitle?: string | undefined;
|
|
51
45
|
noTitle?: boolean | undefined;
|
|
52
46
|
multiLabel?: string | undefined;
|
|
53
|
-
filterButtonSize?:
|
|
54
|
-
|
|
47
|
+
filterButtonSize?: "small" | "xs" | undefined;
|
|
48
|
+
iconSize?: import('./UiMenuTypes').UiMenuIconSize | undefined;
|
|
49
|
+
iconLeft?: ((typeof iconNames)[number] | null) | undefined;
|
|
50
|
+
imageShape?: import('./UiMenuTypes').UiMenuImageShape | undefined;
|
|
51
|
+
checkboxSize?: import('./UiMenuTypes').UiMenuCheckboxSize | undefined;
|
|
52
|
+
buttonVariant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | undefined;
|
|
55
53
|
listVariant?: import('./UiMenuTypes').UiMenuListVariant | undefined;
|
|
56
54
|
checkboxColor?: import('./UiMenuTypes').UiMenuCheckboxColor | undefined;
|
|
57
55
|
hasResetOption?: boolean | undefined;
|
|
@@ -62,11 +60,12 @@ declare const meta: {
|
|
|
62
60
|
floatingStylesActive?: boolean | undefined;
|
|
63
61
|
floatingUiPlacement?: import('@floating-ui/utils').Placement | undefined;
|
|
64
62
|
floatingUiOptions?: (import('@floating-ui/vue').UseFloatingOptions | null) | undefined;
|
|
63
|
+
animate?: boolean | undefined;
|
|
65
64
|
placedListClass?: string | undefined;
|
|
66
|
-
} &
|
|
65
|
+
} & import('vue').PublicProps;
|
|
67
66
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
68
67
|
attrs: any;
|
|
69
|
-
slots:
|
|
68
|
+
slots: Readonly<{
|
|
70
69
|
default(props: {
|
|
71
70
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
72
71
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
@@ -86,11 +85,9 @@ declare const meta: {
|
|
|
86
85
|
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
87
86
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
88
87
|
}): any;
|
|
89
|
-
}
|
|
88
|
+
};
|
|
90
89
|
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
91
|
-
}>) => import('vue').VNode
|
|
92
|
-
[key: string]: any;
|
|
93
|
-
}> & {
|
|
90
|
+
}>) => import('vue').VNode & {
|
|
94
91
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
95
92
|
};
|
|
96
93
|
argTypes: {
|
|
@@ -232,9 +229,8 @@ export declare const WithBlankButton: {
|
|
|
232
229
|
}[]>;
|
|
233
230
|
};
|
|
234
231
|
components: {
|
|
235
|
-
UiMenu: <K>(__VLS_props: Awaited<typeof __VLS_setup
|
|
236
|
-
|
|
237
|
-
slots: ReturnType<() => Readonly<{
|
|
232
|
+
UiMenu: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
|
|
233
|
+
slots: Readonly<{
|
|
238
234
|
default(props: {
|
|
239
235
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
240
236
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
@@ -254,33 +250,33 @@ export declare const WithBlankButton: {
|
|
|
254
250
|
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
255
251
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
256
252
|
}): any;
|
|
257
|
-
}
|
|
253
|
+
};
|
|
254
|
+
attrs: any;
|
|
258
255
|
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
259
256
|
}, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
260
257
|
props: {
|
|
261
|
-
disabled?: boolean | undefined;
|
|
262
|
-
animate?: boolean | undefined;
|
|
263
258
|
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
264
259
|
readonly onReset?: ((...args: any[]) => any) | undefined;
|
|
265
|
-
imageShape?: import('./UiMenuTypes').UiMenuImageShape | undefined;
|
|
266
|
-
iconSize?: import('./UiMenuTypes').UiMenuIconSize | undefined;
|
|
267
|
-
checkboxSize?: import('./UiMenuTypes').UiMenuCheckboxSize | undefined;
|
|
268
|
-
options?: import('./UiMenuTypes').UiMenuOptionType<K>[] | undefined;
|
|
269
|
-
active?: boolean | undefined;
|
|
270
|
-
iconLeft?: ((typeof iconNames)[number] | null) | undefined;
|
|
271
260
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
272
261
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
273
262
|
readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
|
|
274
263
|
readonly onPlaced?: ((...args: any[]) => any) | undefined;
|
|
275
264
|
menuClasses?: import('vue').HTMLAttributes["class"];
|
|
265
|
+
options?: import('./UiMenuTypes').UiMenuOptionType<K>[] | undefined;
|
|
276
266
|
groupedOptions?: import('./UiMenuTypes').UiMenuGroupedOption<K>[] | undefined;
|
|
277
267
|
hasAutoFocus?: boolean | undefined;
|
|
278
268
|
isOpen?: boolean | undefined;
|
|
269
|
+
disabled?: boolean | undefined;
|
|
270
|
+
active?: boolean | undefined;
|
|
279
271
|
defaultTitle?: string | undefined;
|
|
280
272
|
noTitle?: boolean | undefined;
|
|
281
273
|
multiLabel?: string | undefined;
|
|
282
|
-
filterButtonSize?:
|
|
283
|
-
|
|
274
|
+
filterButtonSize?: "small" | "xs" | undefined;
|
|
275
|
+
iconSize?: import('./UiMenuTypes').UiMenuIconSize | undefined;
|
|
276
|
+
iconLeft?: ((typeof iconNames)[number] | null) | undefined;
|
|
277
|
+
imageShape?: import('./UiMenuTypes').UiMenuImageShape | undefined;
|
|
278
|
+
checkboxSize?: import('./UiMenuTypes').UiMenuCheckboxSize | undefined;
|
|
279
|
+
buttonVariant?: "blue-rounded" | "white-rounded" | "transparent-rounded" | "blank" | undefined;
|
|
284
280
|
listVariant?: import('./UiMenuTypes').UiMenuListVariant | undefined;
|
|
285
281
|
checkboxColor?: import('./UiMenuTypes').UiMenuCheckboxColor | undefined;
|
|
286
282
|
hasResetOption?: boolean | undefined;
|
|
@@ -291,11 +287,12 @@ export declare const WithBlankButton: {
|
|
|
291
287
|
floatingStylesActive?: boolean | undefined;
|
|
292
288
|
floatingUiPlacement?: import('@floating-ui/utils').Placement | undefined;
|
|
293
289
|
floatingUiOptions?: (import('@floating-ui/vue').UseFloatingOptions | null) | undefined;
|
|
290
|
+
animate?: boolean | undefined;
|
|
294
291
|
placedListClass?: string | undefined;
|
|
295
|
-
} &
|
|
292
|
+
} & import('vue').PublicProps;
|
|
296
293
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
297
294
|
attrs: any;
|
|
298
|
-
slots:
|
|
295
|
+
slots: Readonly<{
|
|
299
296
|
default(props: {
|
|
300
297
|
checkboxColor: import('./UiMenuTypes').UiMenuCheckboxColor;
|
|
301
298
|
checkboxSize: import('./UiMenuTypes').UiMenuCheckboxSize;
|
|
@@ -315,11 +312,9 @@ export declare const WithBlankButton: {
|
|
|
315
312
|
options: import('./UiMenuTypes').UiMenuOptionType<K>[];
|
|
316
313
|
groupedOptions: import('./UiMenuTypes').UiMenuGroupedOption<K>[];
|
|
317
314
|
}): any;
|
|
318
|
-
}
|
|
315
|
+
};
|
|
319
316
|
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
320
|
-
}>) => import('vue').VNode
|
|
321
|
-
[key: string]: any;
|
|
322
|
-
}> & {
|
|
317
|
+
}>) => import('vue').VNode & {
|
|
323
318
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
324
319
|
};
|
|
325
320
|
};
|
|
@@ -2,16 +2,15 @@ import { HTMLAttributes } from 'vue';
|
|
|
2
2
|
import { Placement, UseFloatingOptions } from '@floating-ui/vue';
|
|
3
3
|
import { iconNames } from '../UiIcon/iconNames';
|
|
4
4
|
import { UiMenuCheckboxColor, UiMenuCheckboxSize, UiMenuGroupedOption, UiMenuIconSize, UiMenuImageShape, UiMenuListVariant, UiMenuOptionType } from './UiMenuTypes';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
|
|
5
|
+
declare const _default: <K>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
7
|
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
9
8
|
readonly onReset?: ((...args: any[]) => any) | undefined;
|
|
10
9
|
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
11
10
|
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
12
11
|
readonly "onOption-selected"?: ((...args: any[]) => any) | undefined;
|
|
13
12
|
readonly onPlaced?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>
|
|
13
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onInput" | "onReset" | "onClose" | "onOpen" | "onOption-selected" | "onPlaced"> & {
|
|
15
14
|
menuClasses?: HTMLAttributes["class"];
|
|
16
15
|
options?: UiMenuOptionType<K>[];
|
|
17
16
|
groupedOptions?: UiMenuGroupedOption<K>[];
|
|
@@ -40,10 +39,10 @@ declare const _default: <K>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
|
|
|
40
39
|
floatingUiOptions?: UseFloatingOptions | null;
|
|
41
40
|
animate?: boolean;
|
|
42
41
|
placedListClass?: string;
|
|
43
|
-
}
|
|
42
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
44
43
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
45
44
|
attrs: any;
|
|
46
|
-
slots:
|
|
45
|
+
slots: Readonly<{
|
|
47
46
|
default(props: {
|
|
48
47
|
checkboxColor: UiMenuCheckboxColor;
|
|
49
48
|
checkboxSize: UiMenuCheckboxSize;
|
|
@@ -63,14 +62,12 @@ declare const _default: <K>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
|
|
|
63
62
|
options: UiMenuOptionType<K>[];
|
|
64
63
|
groupedOptions: UiMenuGroupedOption<K>[];
|
|
65
64
|
}): any;
|
|
66
|
-
}
|
|
65
|
+
};
|
|
67
66
|
emit: (event: "close" | "reset" | "input" | "open" | "option-selected" | "placed", ...args: any[]) => void;
|
|
68
|
-
}>) => import('vue').VNode
|
|
69
|
-
[key: string]: any;
|
|
70
|
-
}> & {
|
|
67
|
+
}>) => import('vue').VNode & {
|
|
71
68
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
72
69
|
};
|
|
73
70
|
export default _default;
|
|
74
|
-
type
|
|
71
|
+
type __VLS_PrettifyLocal<T> = {
|
|
75
72
|
[K in keyof T]: T[K];
|
|
76
73
|
} & {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { UiMenuCheckboxColor, UiMenuCheckboxSize, UiMenuIconSize, UiMenuImageShape, UiMenuListVariant, UiMenuOptionType } from './UiMenuTypes';
|
|
2
2
|
import { HTMLAttributes } from 'vue';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>) & {
|
|
3
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
6
5
|
class?: HTMLAttributes["class"];
|
|
7
6
|
option?: UiMenuOptionType<T>;
|
|
8
7
|
listVariant?: UiMenuListVariant;
|
|
@@ -10,10 +9,10 @@ declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
|
|
|
10
9
|
imageShape?: UiMenuImageShape;
|
|
11
10
|
checkboxSize?: UiMenuCheckboxSize;
|
|
12
11
|
checkboxColor?: UiMenuCheckboxColor;
|
|
13
|
-
}
|
|
12
|
+
} & Partial<{}>> & import('vue').PublicProps;
|
|
14
13
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
15
14
|
attrs: any;
|
|
16
|
-
slots:
|
|
15
|
+
slots: {
|
|
17
16
|
default?(_: {
|
|
18
17
|
option: [{
|
|
19
18
|
type: import('vue').PropType<__VLS_NonUndefinedable<UiMenuOptionType<T>>>;
|
|
@@ -23,15 +22,13 @@ declare const _default: <T>(__VLS_props: Awaited<typeof __VLS_setup>["props"], _
|
|
|
23
22
|
default: undefined;
|
|
24
23
|
};
|
|
25
24
|
}): any;
|
|
26
|
-
}
|
|
27
|
-
emit:
|
|
28
|
-
}>) => import('vue').VNode
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}> & {
|
|
25
|
+
};
|
|
26
|
+
emit: {};
|
|
27
|
+
}>) => import('vue').VNode & {
|
|
31
28
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
32
29
|
};
|
|
33
30
|
export default _default;
|
|
34
|
-
type
|
|
35
|
-
type __VLS_Prettify<T> = {
|
|
31
|
+
type __VLS_PrettifyLocal<T> = {
|
|
36
32
|
[K in keyof T]: T[K];
|
|
37
33
|
} & {};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,36 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
class?: string;
|
|
3
|
+
};
|
|
1
4
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLUListElement;
|
|
3
11
|
};
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}>, {
|
|
7
|
-
class: undefined;
|
|
8
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
class?: string;
|
|
10
|
-
}>, {
|
|
11
|
-
class: undefined;
|
|
12
|
-
}>>> & Readonly<{}>, {
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
14
|
class: string;
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
17
|
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
19
|
new (): {
|
|
36
20
|
$slots: S;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: {
|
|
@@ -7,7 +6,7 @@ declare const meta: {
|
|
|
7
6
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
8
7
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
8
|
close: (...args: any[]) => void;
|
|
10
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {},
|
|
9
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
11
10
|
P: {};
|
|
12
11
|
B: {};
|
|
13
12
|
D: {};
|
|
@@ -39,7 +38,7 @@ declare const meta: {
|
|
|
39
38
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
40
39
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
40
|
close: (...args: any[]) => void;
|
|
42
|
-
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {},
|
|
41
|
+
}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
43
42
|
P: {};
|
|
44
43
|
B: {};
|
|
45
44
|
D: {};
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
4
10
|
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
11
|
close: (...args: any[]) => void;
|
|
6
12
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
7
13
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
10
16
|
export default _default;
|
|
11
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
18
|
new (): {
|