@v1nt1248/3nclient-lib 0.0.31 → 0.0.33
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 +1 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/components/ui3n-badge-simple.vue.d.ts +47 -0
- package/dist/components/ui3n-badge.vue.d.ts +48 -0
- package/dist/components/ui3n-button.vue.d.ts +1 -1
- package/dist/components/ui3n-chip.vue.d.ts +1 -1
- package/dist/components/ui3n-list.vue.d.ts +3 -3
- package/dist/index.d.ts +2 -0
- package/dist/stories/Ui3nBadge.stories.d.ts +160 -0
- package/dist/stories/Ui3nButton.stories.d.ts +6 -6
- package/dist/stories/Ui3nChip.stories.d.ts +465 -13
- package/dist/stories/Ui3nList.stories.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/ui-3n-lib.js +7145 -6762
- package/package.json +1 -1
- package/src/components/index.ts +4 -0
- package/src/components/ui3n-badge-simple.vue +97 -0
- package/src/components/ui3n-badge.vue +89 -0
- package/src/components/ui3n-chip.vue +1 -0
package/README.md
CHANGED
|
@@ -29,4 +29,6 @@ import Ui3nVirtualScroll from './ui3n-virtual-scroll.vue';
|
|
|
29
29
|
import type { Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots } from './ui3n-virtual-scroll.vue';
|
|
30
30
|
import Ui3nTabs from './ui3n-tabs.vue';
|
|
31
31
|
import type { Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots } from './ui3n-tabs.vue';
|
|
32
|
-
|
|
32
|
+
import Ui3nBadge from './ui3n-badge.vue';
|
|
33
|
+
import type { Ui3nBadgeProps } from './ui3n-badge.vue';
|
|
34
|
+
export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, Ui3nChip, Ui3nChipProps, Ui3nChipEmits, Ui3nChipSlots, Ui3nDropFiles, Ui3nDropFilesProps, Ui3nDropFilesEmits, Ui3nEmoji, Ui3nEmojiProps, Ui3nEmojiEmits, Ui3nInput, Ui3nInputProps, Ui3nInputEmits, Ui3nText, Ui3nTextProps, Ui3nTextEmits, Ui3mCheckbox, Ui3nCheckboxProps, Ui3nCheckboxEmits, Ui3nCheckboxSlots, Ui3nNotification, Ui3nTableSortIcon, Ui3nTableSortIconProps, Ui3nTable, Ui3nTableProps, Ui3nTableEmits, Ui3nDialog, Ui3nDialogComponentProps, Ui3nDialogComponentEmits, Ui3nDialogProps, Ui3nDialogEvent, Ui3nMenu, Ui3nMenuProps, Ui3nMenuEmits, Ui3nMenuSlots, Ui3nList, Ui3nListProps, Ui3nListEmits, Ui3nListSlots, Ui3nVirtualScroll, Ui3nVirtualScrollProps, Ui3nVirtualScrollSlots, Ui3nTabs, Ui3nTabsProps, Ui3nTabsEmits, Ui3nTabsSlots, Ui3nBadge, Ui3nBadgeProps, };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export interface Ui3nBadgeSimpleProps {
|
|
2
|
+
dot?: boolean;
|
|
3
|
+
value?: string | number;
|
|
4
|
+
color?: string;
|
|
5
|
+
textColor?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
|
|
8
|
+
dot: boolean;
|
|
9
|
+
value: string;
|
|
10
|
+
color: string;
|
|
11
|
+
textColor: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"change:size": (val: {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
}) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeSimpleProps>, {
|
|
18
|
+
dot: boolean;
|
|
19
|
+
value: string;
|
|
20
|
+
color: string;
|
|
21
|
+
textColor: string;
|
|
22
|
+
}>>> & {
|
|
23
|
+
"onChange:size"?: ((val: {
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
}) => any) | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
dot: boolean;
|
|
29
|
+
value: string | number;
|
|
30
|
+
color: string;
|
|
31
|
+
textColor: string;
|
|
32
|
+
}, {}>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface Ui3nBadgeProps {
|
|
2
|
+
dot?: boolean;
|
|
3
|
+
value?: string | number;
|
|
4
|
+
color?: string;
|
|
5
|
+
textColor?: string;
|
|
6
|
+
position?: 'right-top' | 'right-bottom' | 'left-top' | 'left-bottom';
|
|
7
|
+
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
|
|
9
|
+
dot: boolean;
|
|
10
|
+
value: string;
|
|
11
|
+
color: string;
|
|
12
|
+
textColor: string;
|
|
13
|
+
position: string;
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Ui3nBadgeProps>, {
|
|
15
|
+
dot: boolean;
|
|
16
|
+
value: string;
|
|
17
|
+
color: string;
|
|
18
|
+
textColor: string;
|
|
19
|
+
position: string;
|
|
20
|
+
}>>>, {
|
|
21
|
+
dot: boolean;
|
|
22
|
+
value: string | number;
|
|
23
|
+
color: string;
|
|
24
|
+
textColor: string;
|
|
25
|
+
position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
26
|
+
}, {}>, {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -18,9 +18,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
18
|
focus: (value: Event) => void;
|
|
19
19
|
blur: (value: Event) => void;
|
|
20
20
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Ui3nButtonProps>>> & {
|
|
21
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
22
21
|
onFocus?: ((value: Event) => any) | undefined;
|
|
23
22
|
onBlur?: ((value: Event) => any) | undefined;
|
|
23
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
24
24
|
}, {}, {}>, {
|
|
25
25
|
default?(_: {}): any;
|
|
26
26
|
}>;
|
|
@@ -41,9 +41,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
41
|
}>>> & {
|
|
42
42
|
onClose?: (() => any) | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
height: string | number;
|
|
45
44
|
color: string;
|
|
46
45
|
textColor: string;
|
|
46
|
+
height: string | number;
|
|
47
47
|
round: boolean;
|
|
48
48
|
maxWidth: string | number;
|
|
49
49
|
plain: boolean;
|
|
@@ -21,11 +21,11 @@ declare const _default: <T extends {
|
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
}>(__VLS_props: {
|
|
23
23
|
title?: string | undefined;
|
|
24
|
-
disabled?: boolean | undefined;
|
|
25
24
|
onSelect?: ((value: {
|
|
26
25
|
value: T;
|
|
27
26
|
index: number;
|
|
28
27
|
}) => any) | undefined;
|
|
28
|
+
disabled?: boolean | undefined;
|
|
29
29
|
sticky?: boolean | undefined;
|
|
30
30
|
items: T[];
|
|
31
31
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
@@ -35,11 +35,11 @@ declare const _default: <T extends {
|
|
|
35
35
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
36
36
|
props: {
|
|
37
37
|
title?: string | undefined;
|
|
38
|
-
disabled?: boolean | undefined;
|
|
39
38
|
onSelect?: ((value: {
|
|
40
39
|
value: T;
|
|
41
40
|
index: number;
|
|
42
41
|
}) => any) | undefined;
|
|
42
|
+
disabled?: boolean | undefined;
|
|
43
43
|
sticky?: boolean | undefined;
|
|
44
44
|
items: T[];
|
|
45
45
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -53,11 +53,11 @@ declare const _default: <T extends {
|
|
|
53
53
|
__ctx?: {
|
|
54
54
|
props: {
|
|
55
55
|
title?: string | undefined;
|
|
56
|
-
disabled?: boolean | undefined;
|
|
57
56
|
onSelect?: ((value: {
|
|
58
57
|
value: T;
|
|
59
58
|
index: number;
|
|
60
59
|
}) => any) | undefined;
|
|
60
|
+
disabled?: boolean | undefined;
|
|
61
61
|
sticky?: boolean | undefined;
|
|
62
62
|
items: T[];
|
|
63
63
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import type Ui3nTable from './components/ui3n-table.vue';
|
|
|
17
17
|
import type Ui3nText from './components/ui3n-text.vue';
|
|
18
18
|
import type Ui3nVirtualScroll from './components/ui3n-virtual-scroll.vue';
|
|
19
19
|
import type Ui3nTabs from './components/ui3n-tabs.vue';
|
|
20
|
+
import type Ui3nBadge from './components/ui3n-badge.vue';
|
|
20
21
|
import type Ui3nHtml from './directives/ui3n-html';
|
|
21
22
|
import type Ui3nClickOutside from './directives/ui3n-click-outside';
|
|
22
23
|
export * from './constants';
|
|
@@ -34,6 +35,7 @@ declare module 'vue' {
|
|
|
34
35
|
$emitter: VueEventBus;
|
|
35
36
|
}
|
|
36
37
|
interface GlobalComponents {
|
|
38
|
+
Ui3nBadge: typeof Ui3nBadge;
|
|
37
39
|
Ui3nButton: typeof Ui3nButton;
|
|
38
40
|
Ui3nCheckbox: typeof Ui3nCheckbox;
|
|
39
41
|
Ui3nChip: typeof Ui3nChip;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import Ui3nBadge from '../components/ui3n-badge.vue';
|
|
3
|
+
declare const meta: Meta<typeof Ui3nBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Badge_Simple: StoryObj<typeof meta>;
|
|
6
|
+
export declare const Use_Slot: StoryFn<{
|
|
7
|
+
new (...args: any[]): {
|
|
8
|
+
$: import("vue").ComponentInternalInstance;
|
|
9
|
+
$data: {};
|
|
10
|
+
$props: Partial<{
|
|
11
|
+
dot: boolean;
|
|
12
|
+
value: string | number;
|
|
13
|
+
color: string;
|
|
14
|
+
textColor: string;
|
|
15
|
+
position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
16
|
+
}> & Omit<{
|
|
17
|
+
readonly dot: boolean;
|
|
18
|
+
readonly value: string | number;
|
|
19
|
+
readonly color: string;
|
|
20
|
+
readonly textColor: string;
|
|
21
|
+
readonly position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
22
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
dot: {
|
|
24
|
+
type: import("vue").PropType<boolean>;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
value: {
|
|
28
|
+
type: import("vue").PropType<string | number>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
color: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
textColor: {
|
|
36
|
+
type: import("vue").PropType<string>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
position: {
|
|
40
|
+
type: import("vue").PropType<"right-top" | "right-bottom" | "left-top" | "left-bottom">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
}>>, "dot" | "value" | "color" | "textColor" | "position">;
|
|
44
|
+
$attrs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
$refs: {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
$slots: Readonly<{
|
|
51
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
54
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
55
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
56
|
+
$el: any;
|
|
57
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
+
dot: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
value: {
|
|
63
|
+
type: import("vue").PropType<string | number>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
color: {
|
|
67
|
+
type: import("vue").PropType<string>;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
textColor: {
|
|
71
|
+
type: import("vue").PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
position: {
|
|
75
|
+
type: import("vue").PropType<"right-top" | "right-bottom" | "left-top" | "left-bottom">;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
79
|
+
dot: boolean;
|
|
80
|
+
value: string | number;
|
|
81
|
+
color: string;
|
|
82
|
+
textColor: string;
|
|
83
|
+
position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
84
|
+
}, {}, string, {}> & {
|
|
85
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
92
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
93
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
94
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
95
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
96
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
97
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
98
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
99
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
100
|
+
};
|
|
101
|
+
$forceUpdate: () => void;
|
|
102
|
+
$nextTick: typeof import("vue").nextTick;
|
|
103
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
104
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
dot: {
|
|
106
|
+
type: import("vue").PropType<boolean>;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
value: {
|
|
110
|
+
type: import("vue").PropType<string | number>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
color: {
|
|
114
|
+
type: import("vue").PropType<string>;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
textColor: {
|
|
118
|
+
type: import("vue").PropType<string>;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
position: {
|
|
122
|
+
type: import("vue").PropType<"right-top" | "right-bottom" | "left-top" | "left-bottom">;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
126
|
+
__isFragment?: undefined;
|
|
127
|
+
__isTeleport?: undefined;
|
|
128
|
+
__isSuspense?: undefined;
|
|
129
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
+
dot: {
|
|
131
|
+
type: import("vue").PropType<boolean>;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
value: {
|
|
135
|
+
type: import("vue").PropType<string | number>;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
color: {
|
|
139
|
+
type: import("vue").PropType<string>;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
textColor: {
|
|
143
|
+
type: import("vue").PropType<string>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
position: {
|
|
147
|
+
type: import("vue").PropType<"right-top" | "right-bottom" | "left-top" | "left-bottom">;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
151
|
+
dot: boolean;
|
|
152
|
+
value: string | number;
|
|
153
|
+
color: string;
|
|
154
|
+
textColor: string;
|
|
155
|
+
position: "right-top" | "right-bottom" | "left-top" | "left-bottom";
|
|
156
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
157
|
+
$slots: {
|
|
158
|
+
default?(_: {}): any;
|
|
159
|
+
};
|
|
160
|
+
})>;
|
|
@@ -7,17 +7,17 @@ export declare const WithText: StoryFn<{
|
|
|
7
7
|
$: import("vue").ComponentInternalInstance;
|
|
8
8
|
$data: {};
|
|
9
9
|
$props: Partial<{}> & Omit<{
|
|
10
|
-
readonly icon?: string | undefined;
|
|
11
10
|
readonly color?: string | undefined;
|
|
12
11
|
readonly textColor?: string | undefined;
|
|
12
|
+
readonly icon?: string | undefined;
|
|
13
13
|
readonly round?: boolean | undefined;
|
|
14
14
|
readonly elevation?: boolean | undefined;
|
|
15
15
|
readonly iconSize?: string | number | undefined;
|
|
16
16
|
readonly iconColor?: string | undefined;
|
|
17
17
|
readonly disabled?: boolean | undefined;
|
|
18
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
19
18
|
onFocus?: ((value: Event) => any) | undefined;
|
|
20
19
|
onBlur?: ((value: Event) => any) | undefined;
|
|
20
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
21
21
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
textColor: {
|
|
23
23
|
type: import("vue").PropType<string>;
|
|
@@ -44,9 +44,9 @@ export declare const WithText: StoryFn<{
|
|
|
44
44
|
type: import("vue").PropType<boolean>;
|
|
45
45
|
};
|
|
46
46
|
}>> & {
|
|
47
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
48
47
|
onFocus?: ((value: Event) => any) | undefined;
|
|
49
48
|
onBlur?: ((value: Event) => any) | undefined;
|
|
49
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
50
50
|
}, never>;
|
|
51
51
|
$attrs: {
|
|
52
52
|
[x: string]: unknown;
|
|
@@ -87,9 +87,9 @@ export declare const WithText: StoryFn<{
|
|
|
87
87
|
type: import("vue").PropType<boolean>;
|
|
88
88
|
};
|
|
89
89
|
}>> & {
|
|
90
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
91
90
|
onFocus?: ((value: Event) => any) | undefined;
|
|
92
91
|
onBlur?: ((value: Event) => any) | undefined;
|
|
92
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
93
93
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
94
94
|
click: (value: Event) => void;
|
|
95
95
|
focus: (value: Event) => void;
|
|
@@ -140,9 +140,9 @@ export declare const WithText: StoryFn<{
|
|
|
140
140
|
type: import("vue").PropType<boolean>;
|
|
141
141
|
};
|
|
142
142
|
}>> & {
|
|
143
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
144
143
|
onFocus?: ((value: Event) => any) | undefined;
|
|
145
144
|
onBlur?: ((value: Event) => any) | undefined;
|
|
145
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
146
146
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
147
147
|
__isFragment?: undefined;
|
|
148
148
|
__isTeleport?: undefined;
|
|
@@ -173,9 +173,9 @@ export declare const WithText: StoryFn<{
|
|
|
173
173
|
type: import("vue").PropType<boolean>;
|
|
174
174
|
};
|
|
175
175
|
}>> & {
|
|
176
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
177
176
|
onFocus?: ((value: Event) => any) | undefined;
|
|
178
177
|
onBlur?: ((value: Event) => any) | undefined;
|
|
178
|
+
onClick?: ((value: Event) => any) | undefined;
|
|
179
179
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
180
180
|
click: (value: Event) => void;
|
|
181
181
|
focus: (value: Event) => void;
|