@rotki/ui-library 1.3.0 → 1.5.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.
Files changed (71) hide show
  1. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +17 -39
  2. package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +5 -28
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +15 -44
  4. package/dist/components/buttons/button/RuiButton.vue.d.ts +8 -10
  5. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +7 -9
  6. package/dist/components/cards/RuiCard.vue.d.ts +15 -41
  7. package/dist/components/cards/RuiCardHeader.vue.d.ts +11 -27
  8. package/dist/components/chips/RuiChip.vue.d.ts +14 -48
  9. package/dist/components/color-picker/RuiColorBoard.vue.d.ts +6 -15
  10. package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +3 -12
  11. package/dist/components/color-picker/RuiColorHue.vue.d.ts +4 -13
  12. package/dist/components/color-picker/RuiColorInput.vue.d.ts +4 -13
  13. package/dist/components/color-picker/RuiColorPicker.vue.d.ts +5 -26
  14. package/dist/components/divider/RuiDivider.vue.d.ts +2 -23
  15. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +264 -20
  16. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +15 -47
  17. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +10 -10
  18. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +9 -9
  19. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +18 -58
  20. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +10 -10
  21. package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +5 -30
  22. package/dist/components/forms/slider/RuiSlider.vue.d.ts +5 -60
  23. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +12 -44
  24. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +20 -68
  25. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +24 -64
  26. package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +4 -29
  27. package/dist/components/icons/RuiIcon.vue.d.ts +2 -25
  28. package/dist/components/index.es.js +5946 -42
  29. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +2 -23
  30. package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +2 -25
  31. package/dist/components/logos/RuiLogo.vue.d.ts +2 -31
  32. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +12 -48
  33. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +9 -27
  34. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +24 -48
  35. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +32 -73
  36. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +26 -54
  37. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +12 -30
  38. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +17 -44
  39. package/dist/components/progress/RuiProgress.vue.d.ts +2 -37
  40. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +5 -32
  41. package/dist/components/steppers/RuiStepper.vue.d.ts +14 -40
  42. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +4 -25
  43. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +4 -25
  44. package/dist/components/tables/RuiDataTable.vue.d.ts +15 -24
  45. package/dist/components/tables/RuiExpandButton.vue.d.ts +9 -25
  46. package/dist/components/tables/RuiTableHead.vue.d.ts +9 -15
  47. package/dist/components/tables/RuiTablePagination.vue.d.ts +5 -30
  48. package/dist/components/tabs/tab/RuiTab.vue.d.ts +21 -59
  49. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +10 -32
  50. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +9 -9
  51. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +7 -36
  52. package/dist/composables/dropdown-menu.d.ts +2 -2
  53. package/dist/composables/icons.d.ts +10 -4
  54. package/dist/composables/index--ZwAZVMb.js +482 -0
  55. package/dist/composables/index.es.js +4 -5
  56. package/dist/composables/popper.d.ts +6 -6
  57. package/dist/composables/sticky-header.d.ts +3 -3
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.es.js +2917 -2916
  60. package/dist/style.css +1 -1
  61. package/dist/theme/index.es.js +1 -1
  62. package/dist/types/index-DSBIGM2a.js +39 -0
  63. package/dist/utils/generate-id.d.ts +1 -1
  64. package/dist/utils/index-Cps3W0wA.js +108 -0
  65. package/dist/vendor-BRFX1hnB.js +1626 -0
  66. package/dist/web-types.json +584 -620
  67. package/package.json +33 -33
  68. package/dist/RuiNavigationDrawer-DGs1QHIz.js +0 -7951
  69. package/dist/breakpoint-sPlgsoXp.js +0 -37
  70. package/dist/index-DIN-6VhY.js +0 -154
  71. /package/dist/{colors-D563Ic3q.js → consts/colors-D563Ic3q.js} +0 -0
@@ -1,28 +1,7 @@
1
1
  export interface Props {
2
2
  rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
3
3
  }
4
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
- rounded: undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
- rounded: undefined;
8
- }>>>, {
4
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
9
5
  rounded: "none" | "sm" | "md" | "lg" | "full";
10
- }, {}>;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
7
  export default _default;
12
- type __VLS_WithDefaults<P, D> = {
13
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
14
- default: D[K];
15
- }> : P[K];
16
- };
17
- type __VLS_Prettify<T> = {
18
- [K in keyof T]: T[K];
19
- } & {};
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
@@ -2,31 +2,8 @@ import { type Props as SkeletonBaseProps } from '../../components/loaders/RuiSke
2
2
  export interface Props extends SkeletonBaseProps {
3
3
  type?: 'text' | 'paragraph' | 'heading' | 'article' | 'button' | 'icon' | 'avatar' | 'thumbnail' | 'custom';
4
4
  }
5
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
6
- type: string;
7
- rounded: undefined;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- type: string;
10
- rounded: undefined;
11
- }>>>, {
5
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
12
6
  type: "text" | "paragraph" | "heading" | "article" | "button" | "icon" | "avatar" | "thumbnail" | "custom";
13
7
  rounded: "none" | "sm" | "md" | "lg" | "full";
14
- }, {}>;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
9
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToOption<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
@@ -13,40 +13,11 @@ export interface Props {
13
13
  size?: string | number;
14
14
  uniqueKey?: string | number;
15
15
  }
16
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
- text: boolean;
18
- branch: string;
19
- logo: undefined;
20
- size: number;
21
- uniqueKey: undefined;
22
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
23
- text: boolean;
24
- branch: string;
25
- logo: undefined;
26
- size: number;
27
- uniqueKey: undefined;
28
- }>>>, {
16
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
29
17
  size: string | number;
30
18
  text: boolean;
31
19
  branch: "develop" | "main" | string;
32
20
  logo: keyof ExternalLinks;
33
21
  uniqueKey: string | number;
34
- }, {}>;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
23
  export default _default;
36
- type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
- default: D[K];
39
- }> : P[K];
40
- };
41
- type __VLS_Prettify<T> = {
42
- [K in keyof T]: T[K];
43
- } & {};
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToOption<T> = {
46
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
- } : {
49
- type: import('vue').PropType<T[K]>;
50
- required: true;
51
- };
52
- };
@@ -14,68 +14,32 @@ export interface Props {
14
14
  color?: 'default' | ContextColorsType;
15
15
  }
16
16
  declare function __VLS_template(): {
17
- default?(_: {}): any;
18
- badge?(_: {}): any;
19
- icon?(_: {}): any;
17
+ slots: {
18
+ default?(_: {}): any;
19
+ badge?(_: {}): any;
20
+ icon?(_: {}): any;
21
+ };
22
+ refs: {};
23
+ attrs: Partial<{}>;
20
24
  };
21
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
22
- text: null;
23
- icon: null;
24
- modelValue: boolean;
25
- dot: boolean;
26
- placement: string;
27
- left: boolean;
28
- size: string;
29
- rounded: string;
30
- color: string;
31
- offsetX: number;
32
- offsetY: number;
33
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
34
- text: null;
35
- icon: null;
36
- modelValue: boolean;
37
- dot: boolean;
38
- placement: string;
39
- left: boolean;
40
- size: string;
41
- rounded: string;
42
- color: string;
43
- offsetX: number;
44
- offsetY: number;
45
- }>>>, {
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
46
27
  size: "sm" | "md" | "lg";
47
28
  text: string | null;
48
29
  color: "default" | ContextColorsType;
30
+ placement: "top" | "center" | "bottom";
49
31
  rounded: "sm" | "md" | "lg" | "full";
50
32
  icon: RuiIcons | null;
51
33
  modelValue: boolean;
52
34
  left: boolean;
53
35
  dot: boolean;
54
- placement: "top" | "center" | "bottom";
55
36
  offsetX: string | number;
56
37
  offsetY: string | number;
57
- }, {}>;
58
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
40
  export default _default;
60
- type __VLS_WithDefaults<P, D> = {
61
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
- default: D[K];
63
- }> : P[K];
64
- };
65
- type __VLS_Prettify<T> = {
66
- [K in keyof T]: T[K];
67
- } & {};
68
41
  type __VLS_WithTemplateSlots<T, S> = T & {
69
42
  new (): {
70
43
  $slots: S;
71
44
  };
72
45
  };
73
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
74
- type __VLS_TypePropsToOption<T> = {
75
- [K in keyof T]-?: {} extends Pick<T, K> ? {
76
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
77
- } : {
78
- type: import('vue').PropType<T[K]>;
79
- required: true;
80
- };
81
- };
@@ -4,38 +4,20 @@ export interface BottomSheetProps {
4
4
  width?: string | number;
5
5
  maxWidth?: string | number;
6
6
  }
7
- declare function __VLS_template(): Partial<Record<string, (_: any) => any>>;
8
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BottomSheetProps>, {
9
- modelValue: boolean;
10
- persistent: boolean;
11
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BottomSheetProps>, {
12
- modelValue: boolean;
13
- persistent: boolean;
14
- }>>>, {
7
+ declare function __VLS_template(): {
8
+ slots: Partial<Record<string, (_: any) => any>>;
9
+ refs: {};
10
+ attrs: Partial<{}>;
11
+ };
12
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
+ declare const __VLS_component: import("vue").DefineComponent<BottomSheetProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BottomSheetProps> & Readonly<{}>, {
15
14
  modelValue: boolean;
16
15
  persistent: boolean;
17
- }, {}>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
18
  export default _default;
20
- type __VLS_WithDefaults<P, D> = {
21
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
- default: D[K];
23
- }> : P[K];
24
- };
25
- type __VLS_Prettify<T> = {
26
- [K in keyof T]: T[K];
27
- } & {};
28
19
  type __VLS_WithTemplateSlots<T, S> = T & {
29
20
  new (): {
30
21
  $slots: S;
31
22
  };
32
23
  };
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToOption<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
@@ -9,66 +9,42 @@ export interface DialogProps {
9
9
  }
10
10
  declare function close(): void;
11
11
  declare function __VLS_template(): {
12
- activator?(_: {
13
- attrs: {
14
- onClick: () => void;
15
- };
16
- isOpen: boolean;
17
- }): any;
18
- default?(_: {
19
- isOpen: true;
20
- close: typeof close;
21
- }): any;
12
+ slots: {
13
+ activator?(_: {
14
+ attrs: {
15
+ onClick: () => void;
16
+ };
17
+ isOpen: boolean;
18
+ }): any;
19
+ default?(_: {
20
+ isOpen: true;
21
+ close: typeof close;
22
+ }): any;
23
+ };
24
+ refs: {
25
+ contentRef: HTMLDivElement;
26
+ };
27
+ attrs: Partial<{}>;
22
28
  };
23
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DialogProps>, {
24
- modelValue: boolean;
25
- persistent: boolean;
26
- width: string;
27
- bottomSheet: boolean;
28
- contentClass: string;
29
- zIndex: number;
30
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
- "update:model-value": (value: boolean) => void;
32
- closed: () => void;
33
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DialogProps>, {
34
- modelValue: boolean;
35
- persistent: boolean;
36
- width: string;
37
- bottomSheet: boolean;
38
- contentClass: string;
39
- zIndex: number;
40
- }>>> & {
29
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
+ declare const __VLS_component: import("vue").DefineComponent<DialogProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
31
+ "update:model-value": (value: boolean) => any;
32
+ closed: () => any;
33
+ }, string, import("vue").PublicProps, Readonly<DialogProps> & Readonly<{
41
34
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
42
35
  onClosed?: (() => any) | undefined;
43
- }, {
36
+ }>, {
44
37
  width: string | number;
45
38
  modelValue: boolean;
46
39
  zIndex: string | number;
47
40
  persistent: boolean;
48
41
  bottomSheet: boolean;
49
42
  contentClass: any;
50
- }, {}>;
51
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
52
45
  export default _default;
53
- type __VLS_WithDefaults<P, D> = {
54
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
- default: D[K];
56
- }> : P[K];
57
- };
58
- type __VLS_Prettify<T> = {
59
- [K in keyof T]: T[K];
60
- } & {};
61
46
  type __VLS_WithTemplateSlots<T, S> = T & {
62
47
  new (): {
63
48
  $slots: S;
64
49
  };
65
50
  };
66
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
67
- type __VLS_TypePropsToOption<T> = {
68
- [K in keyof T]-?: {} extends Pick<T, K> ? {
69
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
70
- } : {
71
- type: import('vue').PropType<T[K]>;
72
- required: true;
73
- };
74
- };
@@ -20,62 +20,38 @@ export interface MenuProps {
20
20
  }
21
21
  declare function checkClick(): void;
22
22
  declare function __VLS_template(): {
23
- activator?(_: {
24
- attrs: {
25
- onMouseover?: undefined;
26
- onMouseleave?: undefined;
27
- onClick?: undefined;
28
- } | {
29
- onMouseover: () => void;
30
- onMouseleave: () => void;
31
- onClick: typeof checkClick;
32
- };
33
- open: boolean;
34
- disabled: boolean;
35
- hasError: boolean;
36
- hasSuccess: boolean;
37
- }): any;
38
- default?(_: {
39
- width: any;
40
- }): any;
23
+ slots: {
24
+ activator?(_: {
25
+ attrs: {
26
+ onMouseover?: undefined;
27
+ onMouseleave?: undefined;
28
+ onClick?: undefined;
29
+ } | {
30
+ onMouseover: () => void;
31
+ onMouseleave: () => void;
32
+ onClick: typeof checkClick;
33
+ };
34
+ open: boolean;
35
+ disabled: boolean;
36
+ hasError: boolean;
37
+ hasSuccess: boolean;
38
+ }): any;
39
+ default?(_: {
40
+ width: number;
41
+ }): any;
42
+ };
43
+ refs: {
44
+ activator: HTMLDivElement;
45
+ menu: HTMLDivElement;
46
+ };
47
+ attrs: Partial<{}>;
41
48
  };
42
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
43
- modelValue: boolean;
44
- openOnHover: boolean;
45
- disabled: boolean;
46
- fullWidth: boolean;
47
- openDelay: number;
48
- closeDelay: number;
49
- popper: () => {};
50
- wrapperClass: string;
51
- menuClass: string;
52
- closeOnContentClick: boolean;
53
- persistOnActivatorClick: boolean;
54
- hint: undefined;
55
- errorMessages: () => never[];
56
- successMessages: () => never[];
57
- persistent: boolean;
58
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
59
- "update:model-value": (value: boolean) => void;
60
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
61
- modelValue: boolean;
62
- openOnHover: boolean;
63
- disabled: boolean;
64
- fullWidth: boolean;
65
- openDelay: number;
66
- closeDelay: number;
67
- popper: () => {};
68
- wrapperClass: string;
69
- menuClass: string;
70
- closeOnContentClick: boolean;
71
- persistOnActivatorClick: boolean;
72
- hint: undefined;
73
- errorMessages: () => never[];
74
- successMessages: () => never[];
75
- persistent: boolean;
76
- }>>> & {
49
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
50
+ declare const __VLS_component: import("vue").DefineComponent<MenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
51
+ "update:model-value": (value: boolean) => any;
52
+ }, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{
77
53
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
78
- }, {
54
+ }>, {
79
55
  disabled: boolean;
80
56
  modelValue: boolean;
81
57
  errorMessages: string | string[];
@@ -91,28 +67,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
91
67
  closeOnContentClick: boolean;
92
68
  persistOnActivatorClick: boolean;
93
69
  persistent: boolean;
94
- }, {}>;
95
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
71
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
96
72
  export default _default;
97
- type __VLS_WithDefaults<P, D> = {
98
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
99
- default: D[K];
100
- }> : P[K];
101
- };
102
- type __VLS_Prettify<T> = {
103
- [K in keyof T]: T[K];
104
- } & {};
105
73
  type __VLS_WithTemplateSlots<T, S> = T & {
106
74
  new (): {
107
75
  $slots: S;
108
76
  };
109
77
  };
110
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
- type __VLS_TypePropsToOption<T> = {
112
- [K in keyof T]-?: {} extends Pick<T, K> ? {
113
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
114
- } : {
115
- type: import('vue').PropType<T[K]>;
116
- required: true;
117
- };
118
- };
@@ -10,44 +10,33 @@ export interface NavigationDrawerProps {
10
10
  }
11
11
  declare function close(): void;
12
12
  declare function __VLS_template(): {
13
- activator?(_: {
14
- open: boolean;
15
- attrs: {
16
- onClick: () => void;
17
- };
18
- }): any;
19
- default?(_: {
20
- attrs: {
21
- onClick: () => void;
22
- };
23
- close: typeof close;
24
- }): any;
13
+ slots: {
14
+ activator?(_: {
15
+ open: boolean;
16
+ attrs: {
17
+ onClick: () => void;
18
+ };
19
+ }): any;
20
+ default?(_: {
21
+ attrs: {
22
+ onClick: () => void;
23
+ };
24
+ close: typeof close;
25
+ }): any;
26
+ };
27
+ refs: {
28
+ content: HTMLElement;
29
+ };
30
+ attrs: Partial<{}>;
25
31
  };
26
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<NavigationDrawerProps>, {
27
- modelValue: boolean;
28
- temporary: boolean;
29
- stateless: boolean;
30
- width: number;
31
- miniVariant: boolean;
32
- overlay: boolean;
33
- position: string;
34
- contentClass: string;
35
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
- "update:model-value": (value: boolean) => void;
37
- closed: () => void;
38
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NavigationDrawerProps>, {
39
- modelValue: boolean;
40
- temporary: boolean;
41
- stateless: boolean;
42
- width: number;
43
- miniVariant: boolean;
44
- overlay: boolean;
45
- position: string;
46
- contentClass: string;
47
- }>>> & {
32
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
+ declare const __VLS_component: import("vue").DefineComponent<NavigationDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
+ "update:model-value": (value: boolean) => any;
35
+ closed: () => any;
36
+ }, string, import("vue").PublicProps, Readonly<NavigationDrawerProps> & Readonly<{
48
37
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
49
38
  onClosed?: (() => any) | undefined;
50
- }, {
39
+ }>, {
51
40
  width: string | number;
52
41
  modelValue: boolean;
53
42
  overlay: boolean;
@@ -56,28 +45,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<
56
45
  temporary: boolean;
57
46
  stateless: boolean;
58
47
  miniVariant: boolean;
59
- }, {}>;
60
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
48
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
61
50
  export default _default;
62
- type __VLS_WithDefaults<P, D> = {
63
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
- default: D[K];
65
- }> : P[K];
66
- };
67
- type __VLS_Prettify<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
70
51
  type __VLS_WithTemplateSlots<T, S> = T & {
71
52
  new (): {
72
53
  $slots: S;
73
54
  };
74
55
  };
75
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
- type __VLS_TypePropsToOption<T> = {
77
- [K in keyof T]-?: {} extends Pick<T, K> ? {
78
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
79
- } : {
80
- type: import('vue').PropType<T[K]>;
81
- required: true;
82
- };
83
- };
@@ -5,43 +5,25 @@ export interface NotificationProps {
5
5
  theme?: 'light' | 'dark';
6
6
  }
7
7
  declare function __VLS_template(): {
8
- default?(_: {}): any;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ attrs: Partial<{}>;
9
13
  };
10
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<NotificationProps>, {
11
- width: number;
12
- theme: undefined;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "update:model-value": (value: boolean) => void;
15
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NotificationProps>, {
16
- width: number;
17
- theme: undefined;
18
- }>>> & {
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import("vue").DefineComponent<NotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ "update:model-value": (value: boolean) => any;
17
+ }, string, import("vue").PublicProps, Readonly<NotificationProps> & Readonly<{
19
18
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
20
- }, {
19
+ }>, {
21
20
  theme: "light" | "dark";
22
21
  width: number | string;
23
- }, {}>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
24
  export default _default;
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
25
  type __VLS_WithTemplateSlots<T, S> = T & {
35
26
  new (): {
36
27
  $slots: S;
37
28
  };
38
29
  };
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToOption<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };