@rotki/ui-library 0.2.4 → 0.4.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 (32) hide show
  1. package/dist/all-icons.d.ts +44 -0
  2. package/dist/all-icons.es.js +4829 -4657
  3. package/dist/components/alerts/Alert.vue.d.ts +18 -9
  4. package/dist/components/buttons/button/Button.vue.d.ts +10 -0
  5. package/dist/components/cards/Card.vue.d.ts +60 -0
  6. package/dist/components/cards/CardHeader.vue.d.ts +26 -0
  7. package/dist/components/chips/Chip.vue.d.ts +1 -0
  8. package/dist/components/forms/select/SimpleSelect.vue.d.ts +59 -0
  9. package/dist/components/forms/text-field/TextField.vue.d.ts +24 -13
  10. package/dist/components/icons/Icon.vue.d.ts +4 -3
  11. package/dist/components/index.d.ts +13 -4
  12. package/dist/components/index.es.js +24 -14
  13. package/dist/components/logos/Logo.vue.d.ts +10 -0
  14. package/dist/components/overlays/dialog/Dialog.vue.d.ts +60 -0
  15. package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +88 -0
  16. package/dist/components/tables/DataTable.vue.d.ts +281 -0
  17. package/dist/components/tables/TablePagination.vue.d.ts +46 -0
  18. package/dist/components/tabs/tab/Tab.vue.d.ts +136 -0
  19. package/dist/components/tabs/tab-item/TabItem.vue.d.ts +53 -0
  20. package/dist/components/tabs/tab-items/TabItems.vue.d.ts +17 -0
  21. package/dist/components/tabs/tabs/Tabs.vue.d.ts +72 -0
  22. package/dist/composables/index.es.js +1 -1
  23. package/dist/composables/popper.d.ts +251 -0
  24. package/dist/index-393a0e94.js +117 -0
  25. package/dist/index-65c6da26.js +5422 -0
  26. package/dist/index.es.js +2569 -2516
  27. package/dist/style.css +1 -1
  28. package/dist/theme/index.es.js +3 -3
  29. package/dist/utils/helpers.d.ts +24 -0
  30. package/package.json +31 -26
  31. package/dist/index-1f5d0d16.js +0 -110
  32. package/dist/index-b6044b77.js +0 -2336
@@ -1,14 +1,15 @@
1
1
  import { type ContextColorsType } from '../../consts/colors';
2
+ import { type RuiIcons } from '~/src';
2
3
  export interface Props {
3
4
  title?: string;
4
5
  description?: string;
5
6
  type?: ContextColorsType;
6
- icon?: string;
7
+ icon?: RuiIcons;
7
8
  variant?: 'default' | 'filled' | 'outlined';
8
9
  actionText?: string;
9
10
  closeable?: boolean;
10
11
  }
11
- declare const _default: import("vue").DefineComponent<{
12
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
12
13
  variant: {
13
14
  type: globalThis.PropType<"default" | "outlined" | "filled">;
14
15
  default: string;
@@ -22,8 +23,8 @@ declare const _default: import("vue").DefineComponent<{
22
23
  default: string;
23
24
  };
24
25
  icon: {
25
- type: globalThis.PropType<string>;
26
- default: string;
26
+ type: globalThis.PropType<RuiIcons>;
27
+ default: undefined;
27
28
  };
28
29
  description: {
29
30
  type: globalThis.PropType<string>;
@@ -54,8 +55,8 @@ declare const _default: import("vue").DefineComponent<{
54
55
  default: string;
55
56
  };
56
57
  icon: {
57
- type: globalThis.PropType<string>;
58
- default: string;
58
+ type: globalThis.PropType<RuiIcons>;
59
+ default: undefined;
59
60
  };
60
61
  description: {
61
62
  type: globalThis.PropType<string>;
@@ -70,15 +71,23 @@ declare const _default: import("vue").DefineComponent<{
70
71
  default: boolean;
71
72
  };
72
73
  }>> & {
73
- onAction?: (() => any) | undefined;
74
74
  onClose?: (() => any) | undefined;
75
+ onAction?: (() => any) | undefined;
75
76
  }, {
76
77
  variant: "default" | "outlined" | "filled";
77
78
  type: "primary" | "secondary" | "error" | "warning" | "info" | "success";
78
79
  title: string;
79
- icon: string;
80
+ icon: RuiIcons;
80
81
  description: string;
81
82
  actionText: string;
82
83
  closeable: boolean;
83
- }, {}>;
84
+ }, {}>, {
85
+ title?(_: {}): any;
86
+ default?(_: {}): any;
87
+ }>;
84
88
  export default _default;
89
+ type __VLS_WithTemplateSlots<T, S> = T & {
90
+ new (): {
91
+ $slots: S;
92
+ };
93
+ };
@@ -8,6 +8,7 @@ export interface Props {
8
8
  variant?: 'default' | 'outlined' | 'text' | 'fab';
9
9
  icon?: boolean;
10
10
  size?: 'sm' | 'lg';
11
+ tag?: 'button' | 'a';
11
12
  }
12
13
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
13
14
  variant: {
@@ -42,6 +43,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
42
43
  type: globalThis.PropType<boolean>;
43
44
  default: boolean;
44
45
  };
46
+ tag: {
47
+ type: globalThis.PropType<"a" | "button">;
48
+ default: string;
49
+ };
45
50
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
51
  variant: {
47
52
  type: globalThis.PropType<"default" | "text" | "outlined" | "fab">;
@@ -75,6 +80,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
80
  type: globalThis.PropType<boolean>;
76
81
  default: boolean;
77
82
  };
83
+ tag: {
84
+ type: globalThis.PropType<"a" | "button">;
85
+ default: string;
86
+ };
78
87
  }>>, {
79
88
  variant: "default" | "text" | "outlined" | "fab";
80
89
  color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
@@ -84,6 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
84
93
  loading: boolean;
85
94
  rounded: boolean;
86
95
  icon: boolean;
96
+ tag: "a" | "button";
87
97
  }, {}>, {
88
98
  prepend?(_: {}): any;
89
99
  default?(_: {}): any;
@@ -0,0 +1,60 @@
1
+ export interface Props {
2
+ dense?: boolean;
3
+ divide?: boolean;
4
+ elevation?: number;
5
+ variant?: 'flat' | 'outlined';
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
+ variant: {
9
+ type: globalThis.PropType<"flat" | "outlined">;
10
+ default: string;
11
+ };
12
+ elevation: {
13
+ type: globalThis.PropType<number>;
14
+ default: number;
15
+ };
16
+ dense: {
17
+ type: globalThis.PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ divide: {
21
+ type: globalThis.PropType<boolean>;
22
+ default: boolean;
23
+ };
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ variant: {
26
+ type: globalThis.PropType<"flat" | "outlined">;
27
+ default: string;
28
+ };
29
+ elevation: {
30
+ type: globalThis.PropType<number>;
31
+ default: number;
32
+ };
33
+ dense: {
34
+ type: globalThis.PropType<boolean>;
35
+ default: boolean;
36
+ };
37
+ divide: {
38
+ type: globalThis.PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ }>>, {
42
+ variant: "flat" | "outlined";
43
+ elevation: number;
44
+ dense: boolean;
45
+ divide: boolean;
46
+ }, {}>, {
47
+ image?(_: {}): any;
48
+ "custom-header"?(_: {}): any;
49
+ prepend?(_: {}): any;
50
+ header?(_: {}): any;
51
+ subheader?(_: {}): any;
52
+ default?(_: {}): any;
53
+ footer?(_: {}): any;
54
+ }>;
55
+ export default _default;
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -0,0 +1,26 @@
1
+ export interface Props {
2
+ dense?: boolean;
3
+ }
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ dense: {
6
+ type: globalThis.PropType<boolean>;
7
+ default: boolean;
8
+ };
9
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ dense: {
11
+ type: globalThis.PropType<boolean>;
12
+ default: boolean;
13
+ };
14
+ }>>, {
15
+ dense: boolean;
16
+ }, {}>, {
17
+ prepend?(_: {}): any;
18
+ header?(_: {}): any;
19
+ subheader?(_: {}): any;
20
+ }>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -69,6 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
69
69
  dismissible: boolean;
70
70
  }, {}>, {
71
71
  prepend?(_: {}): any;
72
+ default?(_: {}): any;
72
73
  }>;
73
74
  export default _default;
74
75
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,59 @@
1
+ export interface Props {
2
+ modelValue: string | number;
3
+ options: string[] | number[];
4
+ disabled?: boolean;
5
+ name?: string;
6
+ variant?: 'default' | 'outlined';
7
+ }
8
+ declare const _default: import("vue").DefineComponent<{
9
+ name: {
10
+ type: globalThis.PropType<string>;
11
+ default: string;
12
+ };
13
+ variant: {
14
+ type: globalThis.PropType<"default" | "outlined">;
15
+ default: string;
16
+ };
17
+ disabled: {
18
+ type: globalThis.PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ modelValue: {
22
+ type: globalThis.PropType<string | number>;
23
+ required: true;
24
+ };
25
+ options: {
26
+ type: globalThis.PropType<string[] | number[]>;
27
+ required: true;
28
+ };
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "update:model-value": (value?: string | number | undefined) => void;
31
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ name: {
33
+ type: globalThis.PropType<string>;
34
+ default: string;
35
+ };
36
+ variant: {
37
+ type: globalThis.PropType<"default" | "outlined">;
38
+ default: string;
39
+ };
40
+ disabled: {
41
+ type: globalThis.PropType<boolean>;
42
+ default: boolean;
43
+ };
44
+ modelValue: {
45
+ type: globalThis.PropType<string | number>;
46
+ required: true;
47
+ };
48
+ options: {
49
+ type: globalThis.PropType<string[] | number[]>;
50
+ required: true;
51
+ };
52
+ }>> & {
53
+ "onUpdate:model-value"?: ((value?: string | number | undefined) => any) | undefined;
54
+ }, {
55
+ name: string;
56
+ variant: "default" | "outlined";
57
+ disabled: boolean;
58
+ }, {}>;
59
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  import { type ContextColorsType } from '../../../consts/colors';
2
+ import { type RuiIcons } from '~/src';
2
3
  export interface Props {
3
4
  modelValue?: string;
4
5
  label?: string;
@@ -11,8 +12,9 @@ export interface Props {
11
12
  as?: string | object;
12
13
  errorMessages?: string[];
13
14
  hideDetails?: boolean;
14
- prependIcon?: string;
15
- appendIcon?: string;
15
+ prependIcon?: RuiIcons;
16
+ appendIcon?: RuiIcons;
17
+ readonly?: boolean;
16
18
  }
17
19
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
20
  variant: {
@@ -35,6 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
35
37
  type: globalThis.PropType<boolean>;
36
38
  default: boolean;
37
39
  };
40
+ readonly: {
41
+ type: globalThis.PropType<boolean>;
42
+ default: boolean;
43
+ };
38
44
  modelValue: {
39
45
  type: globalThis.PropType<string>;
40
46
  default: string;
@@ -60,12 +66,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
60
66
  default: boolean;
61
67
  };
62
68
  prependIcon: {
63
- type: globalThis.PropType<string>;
64
- default: string;
69
+ type: globalThis.PropType<RuiIcons>;
70
+ default: undefined;
65
71
  };
66
72
  appendIcon: {
67
- type: globalThis.PropType<string>;
68
- default: string;
73
+ type: globalThis.PropType<RuiIcons>;
74
+ default: undefined;
69
75
  };
70
76
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
71
77
  "update:modelValue": (modelValue: string) => void;
@@ -93,6 +99,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
93
99
  type: globalThis.PropType<boolean>;
94
100
  default: boolean;
95
101
  };
102
+ readonly: {
103
+ type: globalThis.PropType<boolean>;
104
+ default: boolean;
105
+ };
96
106
  modelValue: {
97
107
  type: globalThis.PropType<string>;
98
108
  default: string;
@@ -118,32 +128,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
118
128
  default: boolean;
119
129
  };
120
130
  prependIcon: {
121
- type: globalThis.PropType<string>;
122
- default: string;
131
+ type: globalThis.PropType<RuiIcons>;
132
+ default: undefined;
123
133
  };
124
134
  appendIcon: {
125
- type: globalThis.PropType<string>;
126
- default: string;
135
+ type: globalThis.PropType<RuiIcons>;
136
+ default: undefined;
127
137
  };
128
138
  }>> & {
129
139
  onBlur?: ((event: Event) => any) | undefined;
130
- onRemove?: ((value: unknown) => any) | undefined;
131
140
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
132
141
  "onFocus-input"?: ((event: Event) => any) | undefined;
142
+ onRemove?: ((value: unknown) => any) | undefined;
133
143
  }, {
134
144
  variant: "default" | "outlined" | "filled";
135
145
  color: "grey" | "primary" | "secondary" | "error" | "warning" | "info" | "success";
136
146
  label: string;
137
147
  placeholder: string;
138
148
  disabled: boolean;
149
+ readonly: boolean;
139
150
  modelValue: string;
140
151
  dense: boolean;
141
152
  hint: string;
142
153
  as: string | object;
143
154
  errorMessages: string[];
144
155
  hideDetails: boolean;
145
- prependIcon: string;
146
- appendIcon: string;
156
+ prependIcon: RuiIcons;
157
+ appendIcon: RuiIcons;
147
158
  }, {}>, {
148
159
  prepend?(_: {}): any;
149
160
  append?(_: {}): any;
@@ -1,12 +1,13 @@
1
1
  import { type ContextColorsType } from '../../consts/colors';
2
+ import { type RuiIcons } from '~/src';
2
3
  export interface Props {
3
- name: string;
4
+ name: RuiIcons;
4
5
  size?: number | string;
5
6
  color?: ContextColorsType;
6
7
  }
7
8
  declare const _default: import("vue").DefineComponent<{
8
9
  name: {
9
- type: globalThis.PropType<string>;
10
+ type: globalThis.PropType<RuiIcons>;
10
11
  required: true;
11
12
  };
12
13
  color: {
@@ -19,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
19
20
  };
20
21
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
22
  name: {
22
- type: globalThis.PropType<string>;
23
+ type: globalThis.PropType<RuiIcons>;
23
24
  required: true;
24
25
  };
25
26
  color: {
@@ -1,16 +1,25 @@
1
1
  import { default as RuiAlert } from '../components/alerts/Alert.vue';
2
- import { default as RuiAutoComplete } from '../components/forms/auto-complete/AutoComplete.vue';
3
- import { default as RuiButton } from '../components/buttons/button/Button.vue';
2
+ import { type Props as AutoCompleteProps, default as RuiAutoComplete } from '../components/forms/auto-complete/AutoComplete.vue';
3
+ import { type Props as ButtonProps, default as RuiButton } from '../components/buttons/button/Button.vue';
4
4
  import { default as RuiButtonGroup } from '../components/buttons/button-group/ButtonGroup.vue';
5
5
  import { default as RuiIcon } from '../components/icons/Icon.vue';
6
6
  import { default as RuiCheckbox } from '../components/forms/checkbox/Checkbox.vue';
7
- import { default as RuiChip } from '../components/chips/Chip.vue';
7
+ import { type Props as ChipProps, default as RuiChip } from '../components/chips/Chip.vue';
8
8
  import { default as RuiStepper } from '../components/steppers/Stepper.vue';
9
9
  import { default as RuiTextField } from '../components/forms/text-field/TextField.vue';
10
+ import { default as RuiTooltip, type Props as TooltipProps } from '../components/overlays/tooltip/Tooltip.vue';
11
+ import { type Props as DialogProps, default as RuiDialog } from '../components/overlays/dialog/Dialog.vue';
10
12
  import { default as RuiFooterStepper } from '../components/steppers/FooterStepper.vue';
11
13
  import { default as RuiProgress } from '../components/progress/Progress.vue';
12
14
  import { default as RuiRadioGroup } from '../components/forms/radio-button/radio-group/RadioGroup.vue';
13
15
  import { default as RuiRadio } from '../components/forms/radio-button/radio/Radio.vue';
14
16
  import { default as RuiRevealableTextField } from '../components/forms/revealable-text-field/RevealableTextField.vue';
15
17
  import { default as RuiLogo } from '../components/logos/Logo.vue';
16
- export { RuiAlert, RuiAutoComplete, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiTextField, };
18
+ import { default as RuiSimpleSelect, type Props as SimpleSelectProps } from '../components/forms/select/SimpleSelect.vue';
19
+ import { type TableColumn as DataTableColumn, type TableOptions as DataTableOptions, type Props as DataTableProps, type SortColumn as DataTableSortColumn, default as RuiDataTable } from '../components/tables/DataTable.vue';
20
+ import { type Props as CardProps, default as RuiCard } from '../components/cards/Card.vue';
21
+ import { default as RuiTabs } from '../components/tabs/tabs/Tabs.vue';
22
+ import { default as RuiTab } from '../components/tabs/tab/Tab.vue';
23
+ import { default as RuiTabItems } from '../components/tabs/tab-items/TabItems.vue';
24
+ import { default as RuiTabItem } from '../components/tabs/tab-item/TabItem.vue';
25
+ export { RuiAlert, RuiAutoComplete, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiTextField, RuiTooltip, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, AutoCompleteProps, ChipProps, TooltipProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, DialogProps, ButtonProps, CardProps, };
@@ -1,24 +1,34 @@
1
- import { A as r, a as p, R as m, B as l, C as d, b as x, F as C, c as F, _ as b, d as c, e as g, f as h, g as n, h as A, i as B } from "../index-b6044b77.js";
1
+ import { A as r, a as m, B as l, b as T, j as b, C as d, c as C, D as c, i as g, F as n, I as x, _ as F, P as I, R as S, d as h, e as A, h as B, f as D, l as f, n as k, m as G, k as P, g as j, T as v } from "../index-65c6da26.js";
2
2
  import "vue";
3
3
  import "@vueuse/shared";
4
- import "../index-1f5d0d16.js";
4
+ import "../index-393a0e94.js";
5
5
  import "../all-icons.es.js";
6
6
  import "@vueuse/core";
7
7
  import "../colors-01d79c7b.js";
8
+ import "vue-router";
8
9
  export {
9
10
  r as RuiAlert,
10
- p as RuiAutoComplete,
11
- m as RuiButton,
12
- l as RuiButtonGroup,
11
+ m as RuiAutoComplete,
12
+ l as RuiButton,
13
+ T as RuiButtonGroup,
14
+ b as RuiCard,
13
15
  d as RuiCheckbox,
14
- x as RuiChip,
15
- C as RuiFooterStepper,
16
- F as RuiIcon,
17
- b as RuiLogo,
18
- c as RuiProgress,
19
- g as RuiRadio,
16
+ C as RuiChip,
17
+ c as RuiDataTable,
18
+ g as RuiDialog,
19
+ n as RuiFooterStepper,
20
+ x as RuiIcon,
21
+ F as RuiLogo,
22
+ I as RuiProgress,
23
+ S as RuiRadio,
20
24
  h as RuiRadioGroup,
21
- n as RuiRevealableTextField,
22
- A as RuiStepper,
23
- B as RuiTextField
25
+ A as RuiRevealableTextField,
26
+ B as RuiSimpleSelect,
27
+ D as RuiStepper,
28
+ f as RuiTab,
29
+ k as RuiTabItem,
30
+ G as RuiTabItems,
31
+ P as RuiTabs,
32
+ j as RuiTextField,
33
+ v as RuiTooltip
24
34
  };
@@ -1,17 +1,27 @@
1
1
  export interface Props {
2
2
  text?: boolean;
3
+ customSrc?: string;
3
4
  }
4
5
  declare const _default: import("vue").DefineComponent<{
5
6
  text: {
6
7
  type: globalThis.PropType<boolean>;
7
8
  default: boolean;
8
9
  };
10
+ customSrc: {
11
+ type: globalThis.PropType<string>;
12
+ default: undefined;
13
+ };
9
14
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
15
  text: {
11
16
  type: globalThis.PropType<boolean>;
12
17
  default: boolean;
13
18
  };
19
+ customSrc: {
20
+ type: globalThis.PropType<string>;
21
+ default: undefined;
22
+ };
14
23
  }>>, {
15
24
  text: boolean;
25
+ customSrc: string;
16
26
  }, {}>;
17
27
  export default _default;
@@ -0,0 +1,60 @@
1
+ export interface Props {
2
+ modelValue: boolean;
3
+ dismissible?: boolean;
4
+ persistent?: boolean;
5
+ size?: 'sm' | 'md' | 'lg';
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
+ size: {
9
+ type: globalThis.PropType<"sm" | "lg" | "md">;
10
+ default: string;
11
+ };
12
+ modelValue: {
13
+ type: globalThis.PropType<boolean>;
14
+ required: true;
15
+ };
16
+ dismissible: {
17
+ type: globalThis.PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ persistent: {
21
+ type: globalThis.PropType<boolean>;
22
+ default: boolean;
23
+ };
24
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ "update:model-value": (modelValue: boolean) => void;
26
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ size: {
28
+ type: globalThis.PropType<"sm" | "lg" | "md">;
29
+ default: string;
30
+ };
31
+ modelValue: {
32
+ type: globalThis.PropType<boolean>;
33
+ required: true;
34
+ };
35
+ dismissible: {
36
+ type: globalThis.PropType<boolean>;
37
+ default: boolean;
38
+ };
39
+ persistent: {
40
+ type: globalThis.PropType<boolean>;
41
+ default: boolean;
42
+ };
43
+ }>> & {
44
+ "onUpdate:model-value"?: ((modelValue: boolean) => any) | undefined;
45
+ }, {
46
+ size: "sm" | "lg" | "md";
47
+ dismissible: boolean;
48
+ persistent: boolean;
49
+ }, {}>, {
50
+ description?(_: {}): any;
51
+ title?(_: {}): any;
52
+ default?(_: {}): any;
53
+ actions?(_: {}): any;
54
+ }>;
55
+ export default _default;
56
+ type __VLS_WithTemplateSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -0,0 +1,88 @@
1
+ import { type PopperOptions } from '../../../composables/popper';
2
+ export interface Props {
3
+ text?: string | null;
4
+ disabled?: boolean;
5
+ hideArrow?: boolean;
6
+ openDelay?: number;
7
+ closeDelay?: number;
8
+ popper?: PopperOptions;
9
+ tooltipClass?: string;
10
+ }
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
12
+ text: {
13
+ type: globalThis.PropType<string | null>;
14
+ default: null;
15
+ };
16
+ disabled: {
17
+ type: globalThis.PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ popper: {
21
+ type: globalThis.PropType<PopperOptions>;
22
+ default: () => {};
23
+ };
24
+ hideArrow: {
25
+ type: globalThis.PropType<boolean>;
26
+ default: boolean;
27
+ };
28
+ openDelay: {
29
+ type: globalThis.PropType<number>;
30
+ default: number;
31
+ };
32
+ closeDelay: {
33
+ type: globalThis.PropType<number>;
34
+ default: number;
35
+ };
36
+ tooltipClass: {
37
+ type: globalThis.PropType<string>;
38
+ default: string;
39
+ };
40
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
+ text: {
42
+ type: globalThis.PropType<string | null>;
43
+ default: null;
44
+ };
45
+ disabled: {
46
+ type: globalThis.PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ popper: {
50
+ type: globalThis.PropType<PopperOptions>;
51
+ default: () => {};
52
+ };
53
+ hideArrow: {
54
+ type: globalThis.PropType<boolean>;
55
+ default: boolean;
56
+ };
57
+ openDelay: {
58
+ type: globalThis.PropType<number>;
59
+ default: number;
60
+ };
61
+ closeDelay: {
62
+ type: globalThis.PropType<number>;
63
+ default: number;
64
+ };
65
+ tooltipClass: {
66
+ type: globalThis.PropType<string>;
67
+ default: string;
68
+ };
69
+ }>>, {
70
+ text: string | null;
71
+ disabled: boolean;
72
+ popper: PopperOptions;
73
+ hideArrow: boolean;
74
+ openDelay: number;
75
+ closeDelay: number;
76
+ tooltipClass: string;
77
+ }, {}>, {
78
+ activator?(_: {
79
+ open: boolean;
80
+ }): any;
81
+ default?(_: {}): any;
82
+ }>;
83
+ export default _default;
84
+ type __VLS_WithTemplateSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };