@rotki/ui-library 0.15.0 → 1.0.0-beta.1
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/README.md +3 -3
- package/dist/RuiNavigationDrawer-By3iqC3V.js +7822 -0
- package/dist/__test__/options.d.ts +5 -0
- package/dist/{breakpoint-CRvqq4aP.js → breakpoint-OTAceaTK.js} +1 -1
- package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +58 -0
- package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +36 -0
- package/dist/components/alerts/RuiAlert.vue.d.ts +69 -0
- package/dist/components/buttons/button/RuiButton.vue.d.ts +94 -0
- package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +70 -0
- package/dist/components/cards/RuiCard.vue.d.ts +61 -0
- package/dist/components/cards/RuiCardHeader.vue.d.ts +37 -0
- package/dist/components/chips/RuiChip.vue.d.ts +80 -0
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +26 -0
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +15 -0
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +18 -0
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +19 -0
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +32 -0
- package/dist/components/color-picker/utils.d.ts +44 -0
- package/dist/components/divider/RuiDivider.vue.d.ts +28 -0
- package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +78 -0
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +73 -0
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +69 -0
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +84 -0
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +160 -49
- package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +42 -0
- package/dist/components/forms/slider/RuiSlider.vue.d.ts +101 -0
- package/dist/components/forms/switch/RuiSwitch.vue.d.ts +72 -0
- package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +124 -0
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +114 -0
- package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +39 -0
- package/dist/components/icons/RuiIcon.vue.d.ts +35 -0
- package/dist/components/index.d.ts +43 -39
- package/dist/components/index.es.js +35 -31
- package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +28 -0
- package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +32 -0
- package/dist/components/logos/RuiLogo.vue.d.ts +52 -0
- package/dist/components/overlays/badge/RuiBadge.vue.d.ts +79 -0
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +39 -0
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +68 -0
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +116 -0
- package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +81 -0
- package/dist/components/overlays/notification/RuiNotification.vue.d.ts +45 -0
- package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +63 -0
- package/dist/components/progress/RuiProgress.vue.d.ts +71 -0
- package/dist/components/steppers/RuiFooterStepper.vue.d.ts +45 -0
- package/dist/components/steppers/RuiStepper.vue.d.ts +64 -0
- package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +32 -0
- package/dist/components/steppers/RuiStepperIcon.vue.d.ts +32 -0
- package/dist/components/tables/RuiDataTable.vue.d.ts +512 -0
- package/dist/components/tables/RuiExpandButton.vue.d.ts +37 -0
- package/dist/components/tables/RuiTableHead.vue.d.ts +194 -0
- package/dist/components/tables/RuiTablePagination.vue.d.ts +47 -0
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +90 -0
- package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +48 -0
- package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +28 -0
- package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +53 -0
- package/dist/composables/dropdown-menu.d.ts +18 -6
- package/dist/composables/index.es.js +2 -2
- package/dist/composables/popper.d.ts +2 -0
- package/dist/composables/theme.d.ts +1 -1
- package/dist/consts/typography.d.ts +1 -2
- package/dist/icons/icons_1.d.ts +44 -44
- package/dist/icons/icons_1.es.js +987 -987
- package/dist/icons/icons_2.d.ts +60 -60
- package/dist/icons/icons_2.es.js +1121 -1121
- package/dist/icons/icons_3.d.ts +76 -76
- package/dist/icons/icons_3.es.js +1149 -1149
- package/dist/icons/icons_4.d.ts +96 -96
- package/dist/icons/icons_4.es.js +1193 -1193
- package/dist/icons/icons_5.d.ts +132 -132
- package/dist/icons/icons_5.es.js +1267 -1267
- package/dist/icons/icons_6.d.ts +156 -0
- package/dist/icons/icons_6.es.js +1099 -475
- package/dist/icons/index.d.ts +1 -1
- package/dist/icons/index.es.js +2840 -2684
- package/dist/index-NNlkUY_M.js +161 -0
- package/dist/index.es.js +2921 -2761
- package/dist/style.css +1 -1
- package/dist/utils/helpers.d.ts +9 -0
- package/package.json +45 -48
- package/dist/Accordion-BFcz_iFc.js +0 -8386
- package/dist/components/accordions/accordion/Accordion.vue.d.ts +0 -71
- package/dist/components/accordions/accordions/Accordions.vue.d.ts +0 -31
- package/dist/components/alerts/Alert.vue.d.ts +0 -93
- package/dist/components/buttons/button/Button.vue.d.ts +0 -51
- package/dist/components/buttons/button-group/ButtonGroup.vue.d.ts +0 -36
- package/dist/components/cards/Card.vue.d.ts +0 -80
- package/dist/components/cards/CardHeader.vue.d.ts +0 -26
- package/dist/components/chips/Chip.vue.d.ts +0 -123
- package/dist/components/divider/Divider.vue.d.ts +0 -17
- package/dist/components/forms/auto-complete/AutoComplete.vue.d.ts +0 -71
- package/dist/components/forms/auto-complete/AutoCompleteSelection.vue.d.ts +0 -30
- package/dist/components/forms/checkbox/Checkbox.vue.d.ts +0 -121
- package/dist/components/forms/radio-button/radio/Radio.vue.d.ts +0 -118
- package/dist/components/forms/radio-button/radio-group/RadioGroup.vue.d.ts +0 -112
- package/dist/components/forms/revealable-text-field/RevealableTextField.vue.d.ts +0 -169
- package/dist/components/forms/select/SimpleSelect.vue.d.ts +0 -59
- package/dist/components/forms/slider/Slider.vue.d.ts +0 -192
- package/dist/components/forms/switch/Switch.vue.d.ts +0 -109
- package/dist/components/forms/text-area/TextArea.vue.d.ts +0 -233
- package/dist/components/forms/text-field/TextField.vue.d.ts +0 -199
- package/dist/components/helpers/FormTextDetail.vue.d.ts +0 -32
- package/dist/components/icons/Icon.vue.d.ts +0 -38
- package/dist/components/loaders/Skeleton.vue.d.ts +0 -27
- package/dist/components/loaders/SkeletonBase.vue.d.ts +0 -17
- package/dist/components/logos/Logo.vue.d.ts +0 -65
- package/dist/components/overlays/badge/Badge.vue.d.ts +0 -128
- package/dist/components/overlays/dialog/Dialog.vue.d.ts +0 -60
- package/dist/components/overlays/menu/Menu.vue.d.ts +0 -191
- package/dist/components/overlays/tooltip/Tooltip.vue.d.ts +0 -88
- package/dist/components/progress/Progress.vue.d.ts +0 -102
- package/dist/components/steppers/FooterStepper.vue.d.ts +0 -50
- package/dist/components/steppers/Stepper.vue.d.ts +0 -97
- package/dist/components/steppers/StepperCustomIcon.vue.d.ts +0 -23
- package/dist/components/steppers/StepperIcon.vue.d.ts +0 -23
- package/dist/components/tables/DataTable.vue.d.ts +0 -279
- package/dist/components/tables/ExpandButton.vue.d.ts +0 -34
- package/dist/components/tables/TableHead.vue.d.ts +0 -127
- package/dist/components/tables/TablePagination.vue.d.ts +0 -56
- package/dist/components/tabs/tab/Tab.vue.d.ts +0 -141
- package/dist/components/tabs/tab-item/TabItem.vue.d.ts +0 -54
- package/dist/components/tabs/tab-items/TabItems.vue.d.ts +0 -17
- package/dist/components/tabs/tabs/Tabs.vue.d.ts +0 -72
- package/dist/index-x2urm9HD.js +0 -176
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as u, H as s, R as e, a as R, b as o, J as t, c as r, d as l, u as d, v as n, e as p, f as c, K as T, r as b, t as S, D as g, g as m, h as x, _ as C, q as A, F as h, L as B, M as D, i as k, j as v, k as w, l as F, s as I, B as f, G, m as L, n as M, x as P, z as E, y as H, A as N, E as j, w as q, C as y, o as z, p as J } from "../RuiNavigationDrawer-By3iqC3V.js";
|
|
2
2
|
export {
|
|
3
3
|
u as RuiAccordion,
|
|
4
4
|
s as RuiAccordions,
|
|
5
5
|
e as RuiAlert,
|
|
6
6
|
R as RuiAutoComplete,
|
|
7
7
|
o as RuiBadge,
|
|
8
|
-
t as
|
|
9
|
-
r as
|
|
10
|
-
l as
|
|
11
|
-
d as
|
|
8
|
+
t as RuiBottomSheet,
|
|
9
|
+
r as RuiButton,
|
|
10
|
+
l as RuiButtonGroup,
|
|
11
|
+
d as RuiCard,
|
|
12
|
+
n as RuiCardHeader,
|
|
12
13
|
p as RuiCheckbox,
|
|
13
|
-
|
|
14
|
-
T as
|
|
15
|
-
b as
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
c as RuiChip,
|
|
15
|
+
T as RuiColorPicker,
|
|
16
|
+
b as RuiDataTable,
|
|
17
|
+
S as RuiDialog,
|
|
18
|
+
g as RuiDivider,
|
|
19
|
+
m as RuiFooterStepper,
|
|
18
20
|
x as RuiIcon,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
E as
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
j as
|
|
38
|
-
q as
|
|
39
|
-
|
|
21
|
+
C as RuiLogo,
|
|
22
|
+
A as RuiMenu,
|
|
23
|
+
h as RuiMenuSelect,
|
|
24
|
+
B as RuiNavigationDrawer,
|
|
25
|
+
D as RuiNotification,
|
|
26
|
+
k as RuiProgress,
|
|
27
|
+
v as RuiRadio,
|
|
28
|
+
w as RuiRadioGroup,
|
|
29
|
+
F as RuiRevealableTextField,
|
|
30
|
+
I as RuiSimpleSelect,
|
|
31
|
+
f as RuiSkeletonLoader,
|
|
32
|
+
G as RuiSlider,
|
|
33
|
+
L as RuiStepper,
|
|
34
|
+
M as RuiSwitch,
|
|
35
|
+
P as RuiTab,
|
|
36
|
+
E as RuiTabItem,
|
|
37
|
+
H as RuiTabItems,
|
|
38
|
+
N as RuiTablePagination,
|
|
39
|
+
j as RuiTableRowExpander,
|
|
40
|
+
q as RuiTabs,
|
|
41
|
+
y as RuiTextArea,
|
|
42
|
+
z as RuiTextField,
|
|
43
|
+
J as RuiTooltip
|
|
40
44
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
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
|
+
}>>>, {
|
|
9
|
+
rounded: "sm" | "md" | "lg" | "none" | "full";
|
|
10
|
+
}, {}>;
|
|
11
|
+
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
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type Props as SkeletonBaseProps } from '../../components/loaders/RuiSkeletonBase.vue';
|
|
2
|
+
export interface Props extends SkeletonBaseProps {
|
|
3
|
+
type?: 'text' | 'paragraph' | 'heading' | 'article' | 'button' | 'icon' | 'avatar' | 'thumbnail' | 'custom';
|
|
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
|
+
}>>>, {
|
|
12
|
+
type: "heading" | "paragraph" | "text" | "article" | "button" | "icon" | "custom" | "avatar" | "thumbnail";
|
|
13
|
+
rounded: "sm" | "md" | "lg" | "none" | "full";
|
|
14
|
+
}, {}>;
|
|
15
|
+
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
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
interface ExternalLinks {
|
|
2
|
+
drawer?: string;
|
|
3
|
+
app?: string;
|
|
4
|
+
website?: string;
|
|
5
|
+
about?: string;
|
|
6
|
+
emptyScreen?: string;
|
|
7
|
+
[key: string]: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export interface Props {
|
|
10
|
+
text?: boolean;
|
|
11
|
+
branch?: 'develop' | 'main' | string;
|
|
12
|
+
logo?: keyof ExternalLinks;
|
|
13
|
+
size?: string | number;
|
|
14
|
+
uniqueKey?: string | number;
|
|
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
|
+
}>>>, {
|
|
29
|
+
size: string | number;
|
|
30
|
+
text: boolean;
|
|
31
|
+
branch: string;
|
|
32
|
+
logo: keyof ExternalLinks;
|
|
33
|
+
uniqueKey: string | number;
|
|
34
|
+
}, {}>;
|
|
35
|
+
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
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ContextColorsType } from '../../../consts/colors';
|
|
2
|
+
import type { RuiIcons } from '../../../icons';
|
|
3
|
+
export interface Props {
|
|
4
|
+
text?: string | null;
|
|
5
|
+
icon?: RuiIcons | null;
|
|
6
|
+
modelValue?: boolean;
|
|
7
|
+
dot?: boolean;
|
|
8
|
+
left?: boolean;
|
|
9
|
+
offsetX?: string | number;
|
|
10
|
+
offsetY?: string | number;
|
|
11
|
+
placement?: 'top' | 'center' | 'bottom';
|
|
12
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
|
+
rounded?: 'sm' | 'md' | 'lg' | 'full';
|
|
14
|
+
color?: 'default' | ContextColorsType;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
17
|
+
text: null;
|
|
18
|
+
icon: null;
|
|
19
|
+
modelValue: boolean;
|
|
20
|
+
dot: boolean;
|
|
21
|
+
placement: string;
|
|
22
|
+
left: boolean;
|
|
23
|
+
size: string;
|
|
24
|
+
rounded: string;
|
|
25
|
+
color: string;
|
|
26
|
+
offsetX: number;
|
|
27
|
+
offsetY: number;
|
|
28
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
29
|
+
text: null;
|
|
30
|
+
icon: null;
|
|
31
|
+
modelValue: boolean;
|
|
32
|
+
dot: boolean;
|
|
33
|
+
placement: string;
|
|
34
|
+
left: boolean;
|
|
35
|
+
size: string;
|
|
36
|
+
rounded: string;
|
|
37
|
+
color: string;
|
|
38
|
+
offsetX: number;
|
|
39
|
+
offsetY: number;
|
|
40
|
+
}>>>, {
|
|
41
|
+
size: "sm" | "md" | "lg";
|
|
42
|
+
text: string | null;
|
|
43
|
+
color: "primary" | "secondary" | "error" | "warning" | "info" | "success" | "default";
|
|
44
|
+
rounded: "sm" | "md" | "lg" | "full";
|
|
45
|
+
icon: RuiIcons | null;
|
|
46
|
+
modelValue: boolean;
|
|
47
|
+
left: boolean;
|
|
48
|
+
dot: boolean;
|
|
49
|
+
placement: "bottom" | "top" | "center";
|
|
50
|
+
offsetX: string | number;
|
|
51
|
+
offsetY: string | number;
|
|
52
|
+
}, {}>, {
|
|
53
|
+
default?(_: {}): any;
|
|
54
|
+
badge?(_: {}): any;
|
|
55
|
+
icon?(_: {}): any;
|
|
56
|
+
}>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithDefaults<P, D> = {
|
|
59
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
60
|
+
default: D[K];
|
|
61
|
+
}> : P[K];
|
|
62
|
+
};
|
|
63
|
+
type __VLS_Prettify<T> = {
|
|
64
|
+
[K in keyof T]: T[K];
|
|
65
|
+
} & {};
|
|
66
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
67
|
+
new (): {
|
|
68
|
+
$slots: S;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
72
|
+
type __VLS_TypePropsToOption<T> = {
|
|
73
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
74
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
75
|
+
} : {
|
|
76
|
+
type: import('vue').PropType<T[K]>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface BottomSheetProps {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
persistent?: boolean;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
maxWidth?: string | number;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BottomSheetProps>, {
|
|
8
|
+
modelValue: boolean;
|
|
9
|
+
persistent: boolean;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BottomSheetProps>, {
|
|
11
|
+
modelValue: boolean;
|
|
12
|
+
persistent: boolean;
|
|
13
|
+
}>>>, {
|
|
14
|
+
modelValue: boolean;
|
|
15
|
+
persistent: boolean;
|
|
16
|
+
}, {}>, Partial<Record<string, (_: any) => any>>>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithDefaults<P, D> = {
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
20
|
+
default: D[K];
|
|
21
|
+
}> : P[K];
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Prettify<T> = {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} & {};
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToOption<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export interface DialogProps {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
persistent?: boolean;
|
|
4
|
+
width?: string | number;
|
|
5
|
+
maxWidth?: string | number;
|
|
6
|
+
bottomSheet?: boolean;
|
|
7
|
+
contentClass?: any;
|
|
8
|
+
}
|
|
9
|
+
declare function close(): void;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<DialogProps>, {
|
|
11
|
+
modelValue: boolean;
|
|
12
|
+
persistent: boolean;
|
|
13
|
+
width: string;
|
|
14
|
+
bottomSheet: boolean;
|
|
15
|
+
contentClass: string;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:model-value": (value: boolean) => void;
|
|
18
|
+
closed: () => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DialogProps>, {
|
|
20
|
+
modelValue: boolean;
|
|
21
|
+
persistent: boolean;
|
|
22
|
+
width: string;
|
|
23
|
+
bottomSheet: boolean;
|
|
24
|
+
contentClass: string;
|
|
25
|
+
}>>> & {
|
|
26
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
onClosed?: (() => any) | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
width: string | number;
|
|
30
|
+
modelValue: boolean;
|
|
31
|
+
persistent: boolean;
|
|
32
|
+
bottomSheet: boolean;
|
|
33
|
+
contentClass: any;
|
|
34
|
+
}, {}>, {
|
|
35
|
+
activator?(_: {
|
|
36
|
+
attrs: {
|
|
37
|
+
onClick: () => void;
|
|
38
|
+
};
|
|
39
|
+
isOpen: boolean;
|
|
40
|
+
}): any;
|
|
41
|
+
default?(_: {
|
|
42
|
+
isOpen: true;
|
|
43
|
+
close: typeof close;
|
|
44
|
+
}): any;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
61
|
+
type __VLS_TypePropsToOption<T> = {
|
|
62
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
63
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
64
|
+
} : {
|
|
65
|
+
type: import('vue').PropType<T[K]>;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { type PopperOptions } from '../../../composables/popper';
|
|
2
|
+
export interface MenuProps {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
openOnHover?: boolean;
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
openDelay?: number;
|
|
8
|
+
closeDelay?: number;
|
|
9
|
+
popper?: PopperOptions;
|
|
10
|
+
wrapperClass?: string | object | string[];
|
|
11
|
+
menuClass?: string | object | string[];
|
|
12
|
+
closeOnContentClick?: boolean;
|
|
13
|
+
persistOnActivatorClick?: boolean;
|
|
14
|
+
hint?: string;
|
|
15
|
+
errorMessages?: string | string[];
|
|
16
|
+
successMessages?: string | string[];
|
|
17
|
+
showDetails?: boolean;
|
|
18
|
+
dense?: boolean;
|
|
19
|
+
persistent?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare function checkClick(): void;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
|
|
23
|
+
modelValue: boolean;
|
|
24
|
+
openOnHover: boolean;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
fullWidth: boolean;
|
|
27
|
+
openDelay: number;
|
|
28
|
+
closeDelay: number;
|
|
29
|
+
popper: () => {};
|
|
30
|
+
wrapperClass: string;
|
|
31
|
+
menuClass: string;
|
|
32
|
+
closeOnContentClick: boolean;
|
|
33
|
+
persistOnActivatorClick: boolean;
|
|
34
|
+
hint: undefined;
|
|
35
|
+
errorMessages: () => never[];
|
|
36
|
+
successMessages: () => never[];
|
|
37
|
+
persistent: boolean;
|
|
38
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:model-value": (value: boolean) => void;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MenuProps>, {
|
|
41
|
+
modelValue: boolean;
|
|
42
|
+
openOnHover: boolean;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
fullWidth: boolean;
|
|
45
|
+
openDelay: number;
|
|
46
|
+
closeDelay: number;
|
|
47
|
+
popper: () => {};
|
|
48
|
+
wrapperClass: string;
|
|
49
|
+
menuClass: string;
|
|
50
|
+
closeOnContentClick: boolean;
|
|
51
|
+
persistOnActivatorClick: boolean;
|
|
52
|
+
hint: undefined;
|
|
53
|
+
errorMessages: () => never[];
|
|
54
|
+
successMessages: () => never[];
|
|
55
|
+
persistent: boolean;
|
|
56
|
+
}>>> & {
|
|
57
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
modelValue: boolean;
|
|
61
|
+
errorMessages: string | string[];
|
|
62
|
+
successMessages: string | string[];
|
|
63
|
+
hint: string;
|
|
64
|
+
openOnHover: boolean;
|
|
65
|
+
fullWidth: boolean;
|
|
66
|
+
openDelay: number;
|
|
67
|
+
closeDelay: number;
|
|
68
|
+
popper: PopperOptions;
|
|
69
|
+
wrapperClass: string | object | string[];
|
|
70
|
+
menuClass: string | object | string[];
|
|
71
|
+
closeOnContentClick: boolean;
|
|
72
|
+
persistOnActivatorClick: boolean;
|
|
73
|
+
persistent: boolean;
|
|
74
|
+
}, {}>, {
|
|
75
|
+
activator?(_: {
|
|
76
|
+
attrs: {
|
|
77
|
+
onMouseover?: undefined;
|
|
78
|
+
onMouseleave?: undefined;
|
|
79
|
+
onClick?: undefined;
|
|
80
|
+
} | {
|
|
81
|
+
onMouseover: () => void;
|
|
82
|
+
onMouseleave: () => void;
|
|
83
|
+
onClick: typeof checkClick;
|
|
84
|
+
};
|
|
85
|
+
open: boolean;
|
|
86
|
+
disabled: boolean;
|
|
87
|
+
hasError: boolean;
|
|
88
|
+
hasSuccess: boolean;
|
|
89
|
+
}): any;
|
|
90
|
+
default?(_: {
|
|
91
|
+
width: number;
|
|
92
|
+
}): any;
|
|
93
|
+
}>;
|
|
94
|
+
export default _default;
|
|
95
|
+
type __VLS_WithDefaults<P, D> = {
|
|
96
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
97
|
+
default: D[K];
|
|
98
|
+
}> : P[K];
|
|
99
|
+
};
|
|
100
|
+
type __VLS_Prettify<T> = {
|
|
101
|
+
[K in keyof T]: T[K];
|
|
102
|
+
} & {};
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
109
|
+
type __VLS_TypePropsToOption<T> = {
|
|
110
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
111
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
112
|
+
} : {
|
|
113
|
+
type: import('vue').PropType<T[K]>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export interface NavigationDrawerProps {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
temporary?: boolean;
|
|
4
|
+
stateless?: boolean;
|
|
5
|
+
width?: string | number;
|
|
6
|
+
miniVariant?: boolean;
|
|
7
|
+
overlay?: boolean;
|
|
8
|
+
position?: 'left' | 'right';
|
|
9
|
+
contentClass?: string | object | string[];
|
|
10
|
+
}
|
|
11
|
+
declare function close(): void;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<NavigationDrawerProps>, {
|
|
13
|
+
modelValue: boolean;
|
|
14
|
+
temporary: boolean;
|
|
15
|
+
stateless: boolean;
|
|
16
|
+
width: number;
|
|
17
|
+
miniVariant: boolean;
|
|
18
|
+
overlay: boolean;
|
|
19
|
+
position: string;
|
|
20
|
+
contentClass: string;
|
|
21
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:model-value": (value: boolean) => void;
|
|
23
|
+
closed: () => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NavigationDrawerProps>, {
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
temporary: boolean;
|
|
27
|
+
stateless: boolean;
|
|
28
|
+
width: number;
|
|
29
|
+
miniVariant: boolean;
|
|
30
|
+
overlay: boolean;
|
|
31
|
+
position: string;
|
|
32
|
+
contentClass: string;
|
|
33
|
+
}>>> & {
|
|
34
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
onClosed?: (() => any) | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
width: string | number;
|
|
38
|
+
modelValue: boolean;
|
|
39
|
+
overlay: boolean;
|
|
40
|
+
position: "left" | "right";
|
|
41
|
+
contentClass: string | object | string[];
|
|
42
|
+
temporary: boolean;
|
|
43
|
+
stateless: boolean;
|
|
44
|
+
miniVariant: boolean;
|
|
45
|
+
}, {}>, {
|
|
46
|
+
activator?(_: {
|
|
47
|
+
open: boolean;
|
|
48
|
+
attrs: {
|
|
49
|
+
onClick: () => void;
|
|
50
|
+
};
|
|
51
|
+
}): any;
|
|
52
|
+
default?(_: {
|
|
53
|
+
attrs: {
|
|
54
|
+
onClick: () => void;
|
|
55
|
+
};
|
|
56
|
+
close: typeof close;
|
|
57
|
+
}): any;
|
|
58
|
+
}>;
|
|
59
|
+
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
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
+
new (): {
|
|
70
|
+
$slots: S;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
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
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface NotificationProps {
|
|
2
|
+
modelValue: boolean;
|
|
3
|
+
timeout: number;
|
|
4
|
+
width?: number | string;
|
|
5
|
+
theme?: 'light' | 'dark';
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<NotificationProps>, {
|
|
8
|
+
width: number;
|
|
9
|
+
theme: undefined;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:model-value": (value: boolean) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<NotificationProps>, {
|
|
13
|
+
width: number;
|
|
14
|
+
theme: undefined;
|
|
15
|
+
}>>> & {
|
|
16
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
theme: "dark" | "light";
|
|
19
|
+
width: string | number;
|
|
20
|
+
}, {}>, {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
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<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
12
|
+
text: null;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
hideArrow: boolean;
|
|
15
|
+
openDelay: number;
|
|
16
|
+
closeDelay: number;
|
|
17
|
+
popper: () => {};
|
|
18
|
+
tooltipClass: string;
|
|
19
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
20
|
+
text: null;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
hideArrow: boolean;
|
|
23
|
+
openDelay: number;
|
|
24
|
+
closeDelay: number;
|
|
25
|
+
popper: () => {};
|
|
26
|
+
tooltipClass: string;
|
|
27
|
+
}>>>, {
|
|
28
|
+
text: string | null;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
openDelay: number;
|
|
31
|
+
closeDelay: number;
|
|
32
|
+
popper: PopperOptions;
|
|
33
|
+
hideArrow: boolean;
|
|
34
|
+
tooltipClass: string;
|
|
35
|
+
}, {}>, {
|
|
36
|
+
activator?(_: {
|
|
37
|
+
open: boolean;
|
|
38
|
+
}): any;
|
|
39
|
+
default?(_: {}): any;
|
|
40
|
+
}>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
+
type __VLS_TypePropsToOption<T> = {
|
|
57
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
+
} : {
|
|
60
|
+
type: import('vue').PropType<T[K]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
};
|