@rotki/ui-library 0.16.0 → 1.0.0-beta.2
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-DgxZEmkN.js +7848 -0
- package/dist/__test__/options.d.ts +5 -0
- package/dist/{breakpoint-DAvEs_TA.js → breakpoint-OTAceaTK.js} +1 -1
- package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +32 -45
- package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +25 -20
- package/dist/components/alerts/RuiAlert.vue.d.ts +37 -61
- package/dist/components/buttons/button/RuiButton.vue.d.ts +52 -9
- package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +43 -9
- package/dist/components/cards/RuiCard.vue.d.ts +33 -52
- package/dist/components/cards/RuiCardHeader.vue.d.ts +22 -11
- package/dist/components/chips/RuiChip.vue.d.ts +44 -87
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +15 -12
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +13 -10
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +16 -10
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +16 -10
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +23 -12
- package/dist/components/divider/RuiDivider.vue.d.ts +22 -11
- package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +42 -85
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +40 -85
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +43 -86
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +61 -146
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +159 -46
- package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +27 -44
- package/dist/components/forms/slider/RuiSlider.vue.d.ts +61 -152
- package/dist/components/forms/switch/RuiSwitch.vue.d.ts +40 -77
- package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +69 -178
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +62 -147
- package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +34 -27
- package/dist/components/icons/RuiIcon.vue.d.ts +24 -27
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.es.js +25 -23
- package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +23 -12
- package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +26 -21
- package/dist/components/logos/RuiLogo.vue.d.ts +30 -43
- package/dist/components/overlays/badge/RuiBadge.vue.d.ts +46 -95
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +24 -31
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +34 -53
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +67 -142
- 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 +35 -60
- package/dist/components/progress/RuiProgress.vue.d.ts +37 -68
- package/dist/components/steppers/RuiFooterStepper.vue.d.ts +30 -45
- package/dist/components/steppers/RuiStepper.vue.d.ts +36 -69
- package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +28 -19
- package/dist/components/steppers/RuiStepperIcon.vue.d.ts +28 -19
- package/dist/components/tables/RuiDataTable.vue.d.ts +253 -21
- package/dist/components/tables/RuiExpandButton.vue.d.ts +23 -20
- package/dist/components/tables/RuiTableHead.vue.d.ts +88 -21
- package/dist/components/tables/RuiTablePagination.vue.d.ts +27 -36
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +55 -106
- package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +30 -36
- package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +22 -11
- package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +36 -55
- 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/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 +3 -1
- package/dist/icons/index.es.js +2903 -2741
- package/dist/index-NNlkUY_M.js +161 -0
- package/dist/index.es.js +2934 -2773
- package/dist/style.css +1 -1
- package/dist/utils/helpers.d.ts +9 -0
- package/dist/utils/is-equal.d.ts +1 -0
- package/package.json +31 -32
- package/dist/RuiColorPicker.vue_vue_type_script_setup_true_lang-ByCIjyQ_.js +0 -8945
- package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +0 -71
- package/dist/components/forms/auto-complete/RuiAutoCompleteSelection.vue.d.ts +0 -30
- package/dist/index-RsNqSz2V.js +0 -177
|
@@ -1,32 +1,39 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
errorMessages
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
successMessages: {
|
|
20
|
-
type: globalThis.PropType<string | string[]>;
|
|
21
|
-
default: () => never[];
|
|
22
|
-
};
|
|
23
|
-
hint: {
|
|
24
|
-
type: globalThis.PropType<string>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
}>>, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
errorMessages?: string | string[] | undefined;
|
|
3
|
+
successMessages?: string | string[] | undefined;
|
|
4
|
+
hint?: string | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
errorMessages: () => never[];
|
|
7
|
+
successMessages: () => never[];
|
|
8
|
+
hint: string;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
10
|
+
errorMessages?: string | string[] | undefined;
|
|
11
|
+
successMessages?: string | string[] | undefined;
|
|
12
|
+
hint?: string | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
errorMessages: () => never[];
|
|
15
|
+
successMessages: () => never[];
|
|
16
|
+
hint: string;
|
|
17
|
+
}>>>, {
|
|
28
18
|
errorMessages: string | string[];
|
|
29
19
|
successMessages: string | string[];
|
|
30
20
|
hint: string;
|
|
31
21
|
}, {}>;
|
|
32
22
|
export default _default;
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
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
|
+
};
|
|
@@ -5,34 +5,31 @@ export interface Props {
|
|
|
5
5
|
size?: number | string;
|
|
6
6
|
color?: ContextColorsType;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
color: {
|
|
18
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
19
|
-
default: undefined;
|
|
20
|
-
};
|
|
21
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
22
|
-
name: {
|
|
23
|
-
type: globalThis.PropType<RuiIcons>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
size: {
|
|
27
|
-
type: globalThis.PropType<string | number>;
|
|
28
|
-
default: number;
|
|
29
|
-
};
|
|
30
|
-
color: {
|
|
31
|
-
type: globalThis.PropType<"primary" | "secondary" | "error" | "warning" | "info" | "success">;
|
|
32
|
-
default: undefined;
|
|
33
|
-
};
|
|
34
|
-
}>>, {
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
9
|
+
size: number;
|
|
10
|
+
color: undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
12
|
+
size: number;
|
|
13
|
+
color: undefined;
|
|
14
|
+
}>>>, {
|
|
35
15
|
size: string | number;
|
|
36
16
|
color: "primary" | "secondary" | "error" | "warning" | "info" | "success";
|
|
37
17
|
}, {}>;
|
|
38
18
|
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import RuiAlert, { type Props as AlertProps } from '../components/alerts/RuiAlert.vue';
|
|
2
|
-
import RuiAutoComplete, { type
|
|
2
|
+
import RuiAutoComplete, { type AutoCompleteProps } from '@/components/forms/auto-complete/RuiAutoComplete.vue';
|
|
3
3
|
import RuiButton, { type Props as ButtonProps } from '../components/buttons/button/RuiButton.vue';
|
|
4
4
|
import RuiButtonGroup, { type Props as ButtonGroupProps } from '../components/buttons/button-group/RuiButtonGroup.vue';
|
|
5
5
|
import RuiIcon, { type Props as IconProps } from '../components/icons/RuiIcon.vue';
|
|
@@ -37,5 +37,7 @@ import RuiAccordions, { type Props as AccordionsProps } from '../components/acco
|
|
|
37
37
|
import RuiAccordion, { type AccordionProps } from '../components/accordions/accordion/RuiAccordion.vue';
|
|
38
38
|
import RuiBottomSheet, { type BottomSheetProps } from '../components/overlays/bottom-sheet/RuiBottomSheet.vue';
|
|
39
39
|
import RuiColorPicker, { type Props as ColorPickerProps } from '../components/color-picker/RuiColorPicker.vue';
|
|
40
|
+
import RuiNotification, { type NotificationProps } from '../components/overlays/notification/RuiNotification.vue';
|
|
41
|
+
import RuiNavigationDrawer, { type NavigationDrawerProps } from '../components/overlays/navigation-drawer/RuiNavigationDrawer.vue';
|
|
40
42
|
import type { TableColumn as DataTableColumn, GroupKeys as DataTableGroupKeys, SortColumn as DataTableSortColumn, TableSortData as DataTableSortData } from '../components/tables/RuiTableHead.vue';
|
|
41
|
-
export { RuiAlert, RuiAutoComplete, RuiBadge, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiSwitch, RuiTextField, RuiTooltip, RuiMenu, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiCardHeader, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, RuiTablePagination, RuiSkeletonLoader, RuiTextArea, RuiDivider, RuiTableRowExpander, RuiMenuSelect, RuiSlider, RuiAccordions, RuiAccordion, RuiBottomSheet, RuiColorPicker, AutoCompleteProps, ChipProps, TooltipProps, MenuProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, TablePaginationData, DialogProps, ButtonProps, ButtonGroupProps, CardProps, CardHeaderProps, BadgeProps, AlertProps, CheckboxProps, SwitchProps, ProgressProps, RadioGroupProps, RadioProps, LogoProps, StepperProps, TextFieldProps, IconProps, FooterStepperProps, TabsProps, TabProps, TabItemsProps, TabItemProps, TablePaginationProps, RevealableTextFieldProps, SkeletonLoaderProps, DividerProps, TextAreaProps, ExpandButtonProps, DataTableSortData, DataTableGroupKeys, MenuSelectProps, SliderProps, AccordionsProps, AccordionProps, BottomSheetProps, ColorPickerProps, };
|
|
43
|
+
export { RuiAlert, RuiAutoComplete, RuiBadge, RuiButton, RuiButtonGroup, RuiCheckbox, RuiChip, RuiFooterStepper, RuiIcon, RuiLogo, RuiProgress, RuiRadio, RuiRadioGroup, RuiRevealableTextField, RuiStepper, RuiSwitch, RuiTextField, RuiTooltip, RuiMenu, RuiDataTable, RuiSimpleSelect, RuiDialog, RuiCard, RuiCardHeader, RuiTabs, RuiTab, RuiTabItems, RuiTabItem, RuiTablePagination, RuiSkeletonLoader, RuiTextArea, RuiDivider, RuiTableRowExpander, RuiMenuSelect, RuiSlider, RuiAccordions, RuiAccordion, RuiBottomSheet, RuiColorPicker, RuiNavigationDrawer, RuiNotification, AutoCompleteProps, ChipProps, TooltipProps, MenuProps, SimpleSelectProps, DataTableProps, DataTableColumn, DataTableSortColumn, DataTableOptions, TablePaginationData, DialogProps, ButtonProps, ButtonGroupProps, CardProps, CardHeaderProps, BadgeProps, AlertProps, CheckboxProps, SwitchProps, ProgressProps, RadioGroupProps, RadioProps, LogoProps, StepperProps, TextFieldProps, IconProps, FooterStepperProps, TabsProps, TabProps, TabItemsProps, TabItemProps, TablePaginationProps, RevealableTextFieldProps, SkeletonLoaderProps, DividerProps, TextAreaProps, ExpandButtonProps, DataTableSortData, DataTableGroupKeys, MenuSelectProps, SliderProps, AccordionsProps, AccordionProps, BottomSheetProps, ColorPickerProps, NavigationDrawerProps, NotificationProps, };
|
|
@@ -1,42 +1,44 @@
|
|
|
1
|
-
import { I as u, H as
|
|
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-DgxZEmkN.js";
|
|
2
2
|
export {
|
|
3
3
|
u as RuiAccordion,
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
s as RuiAccordions,
|
|
5
|
+
e as RuiAlert,
|
|
6
6
|
R as RuiAutoComplete,
|
|
7
7
|
o as RuiBadge,
|
|
8
8
|
t as RuiBottomSheet,
|
|
9
9
|
r as RuiButton,
|
|
10
10
|
l as RuiButtonGroup,
|
|
11
11
|
d as RuiCard,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
n as RuiCardHeader,
|
|
13
|
+
p as RuiCheckbox,
|
|
14
14
|
c as RuiChip,
|
|
15
15
|
T as RuiColorPicker,
|
|
16
16
|
b as RuiDataTable,
|
|
17
17
|
S as RuiDialog,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
g as RuiDivider,
|
|
19
|
+
m as RuiFooterStepper,
|
|
20
|
+
x as RuiIcon,
|
|
21
|
+
C as RuiLogo,
|
|
22
22
|
A as RuiMenu,
|
|
23
23
|
h as RuiMenuSelect,
|
|
24
|
-
B as
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
B as RuiNavigationDrawer,
|
|
25
|
+
D as RuiNotification,
|
|
26
|
+
k as RuiProgress,
|
|
27
|
+
v as RuiRadio,
|
|
28
|
+
w as RuiRadioGroup,
|
|
27
29
|
F as RuiRevealableTextField,
|
|
28
30
|
I as RuiSimpleSelect,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
f as RuiSkeletonLoader,
|
|
32
|
+
G as RuiSlider,
|
|
33
|
+
L as RuiStepper,
|
|
34
|
+
M as RuiSwitch,
|
|
35
|
+
P as RuiTab,
|
|
34
36
|
E as RuiTabItem,
|
|
35
37
|
H as RuiTabItems,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
N as RuiTablePagination,
|
|
39
|
+
j as RuiTableRowExpander,
|
|
40
|
+
q as RuiTabs,
|
|
41
|
+
y as RuiTextArea,
|
|
42
|
+
z as RuiTextField,
|
|
43
|
+
J as RuiTooltip
|
|
42
44
|
};
|
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
|
|
3
3
|
}
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
rounded:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
rounded: {
|
|
11
|
-
type: globalThis.PropType<"none" | "sm" | "lg" | "md" | "full">;
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
}>>, {
|
|
15
|
-
rounded: "none" | "sm" | "lg" | "md" | "full";
|
|
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";
|
|
16
10
|
}, {}>;
|
|
17
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
|
+
};
|
|
@@ -2,26 +2,31 @@ 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<{
|
|
6
|
-
type:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
rounded:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
15
|
-
type: {
|
|
16
|
-
type: globalThis.PropType<"heading" | "paragraph" | "text" | "article" | "button" | "icon" | "avatar" | "thumbnail" | "custom">;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
rounded: {
|
|
20
|
-
type: globalThis.PropType<"none" | "sm" | "lg" | "md" | "full">;
|
|
21
|
-
default: undefined;
|
|
22
|
-
};
|
|
23
|
-
}>>, {
|
|
24
|
-
type: "heading" | "paragraph" | "text" | "article" | "button" | "icon" | "avatar" | "thumbnail" | "custom";
|
|
25
|
-
rounded: "none" | "sm" | "lg" | "md" | "full";
|
|
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";
|
|
26
14
|
}, {}>;
|
|
27
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
|
+
};
|
|
@@ -13,53 +13,40 @@ export interface Props {
|
|
|
13
13
|
size?: string | number;
|
|
14
14
|
uniqueKey?: string | number;
|
|
15
15
|
}
|
|
16
|
-
declare const _default: import("vue").DefineComponent<{
|
|
17
|
-
text: {
|
|
18
|
-
type: globalThis.PropType<boolean>;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
size: {
|
|
22
|
-
type: globalThis.PropType<string | number>;
|
|
23
|
-
default: number;
|
|
24
|
-
};
|
|
25
|
-
branch: {
|
|
26
|
-
type: globalThis.PropType<string>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
logo: {
|
|
30
|
-
type: globalThis.PropType<keyof ExternalLinks>;
|
|
31
|
-
default: undefined;
|
|
32
|
-
};
|
|
33
|
-
uniqueKey: {
|
|
34
|
-
type: globalThis.PropType<string | number>;
|
|
35
|
-
default: undefined;
|
|
36
|
-
};
|
|
37
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
38
|
-
text: {
|
|
39
|
-
type: globalThis.PropType<boolean>;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
size: {
|
|
43
|
-
type: globalThis.PropType<string | number>;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
|
-
branch: {
|
|
47
|
-
type: globalThis.PropType<string>;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
logo: {
|
|
51
|
-
type: globalThis.PropType<keyof ExternalLinks>;
|
|
52
|
-
default: undefined;
|
|
53
|
-
};
|
|
54
|
-
uniqueKey: {
|
|
55
|
-
type: globalThis.PropType<string | number>;
|
|
56
|
-
default: undefined;
|
|
57
|
-
};
|
|
58
|
-
}>>, {
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
59
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
|
+
}>>>, {
|
|
60
29
|
size: string | number;
|
|
30
|
+
text: boolean;
|
|
61
31
|
branch: string;
|
|
62
32
|
logo: keyof ExternalLinks;
|
|
63
33
|
uniqueKey: string | number;
|
|
64
34
|
}, {}>;
|
|
65
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
|
+
};
|