@webitel/ui-sdk 25.6.28 → 25.6.30
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/dist/types/components/wt-button/wt-button.vue.d.ts +87 -51
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2816 -2770
- package/dist/ui-sdk.umd.cjs +40 -40
- package/package.json +1 -1
- package/src/components/wt-button/wt-button.vue +250 -90
- package/src/css/main.scss +1 -1
|
@@ -1,77 +1,113 @@
|
|
|
1
|
-
|
|
2
|
-
declare const primevueSizeMap: {
|
|
3
|
-
sm: string;
|
|
4
|
-
md: string;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_Props = {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
2
|
/**
|
|
8
3
|
* @values 'primary', 'secondary', 'success', 'error', 'transfer', 'job', 'info'
|
|
9
4
|
* @example <wt-button color="success"></wt-button>
|
|
10
5
|
*/
|
|
11
|
-
color
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
color: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
loading: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
14
18
|
/**
|
|
15
19
|
* @values 'sm', 'md'
|
|
16
20
|
* @example <wt-button size="sm"></wt-button>
|
|
17
21
|
*/
|
|
18
|
-
size
|
|
22
|
+
size: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
options: string[];
|
|
26
|
+
};
|
|
19
27
|
/**
|
|
20
28
|
* Stretches button to all available width
|
|
21
29
|
*/
|
|
22
|
-
wide
|
|
30
|
+
wide: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
23
34
|
/**
|
|
24
35
|
* Shrinks button to content width
|
|
25
36
|
*/
|
|
26
|
-
widthByContent
|
|
37
|
+
widthByContent: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
27
41
|
/**
|
|
28
42
|
* sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
|
|
29
43
|
*/
|
|
30
|
-
containsIcon
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
44
|
+
containsIcon: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
}>, {}, {
|
|
50
|
+
showLoader: boolean;
|
|
51
|
+
}, {
|
|
52
|
+
colorClass(): string;
|
|
53
|
+
loaderColor(): "on-dark";
|
|
54
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
/**
|
|
56
|
+
* @values 'primary', 'secondary', 'success', 'error', 'transfer', 'job', 'info'
|
|
57
|
+
* @example <wt-button color="success"></wt-button>
|
|
58
|
+
*/
|
|
59
|
+
color: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
disabled: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
loading: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* @values 'sm', 'md'
|
|
73
|
+
* @example <wt-button size="sm"></wt-button>
|
|
74
|
+
*/
|
|
75
|
+
size: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
options: string[];
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Stretches button to all available width
|
|
82
|
+
*/
|
|
83
|
+
wide: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Shrinks button to content width
|
|
89
|
+
*/
|
|
90
|
+
widthByContent: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
|
|
96
|
+
*/
|
|
97
|
+
containsIcon: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
}>> & Readonly<{
|
|
61
103
|
onClick?: (...args: any[]) => any;
|
|
62
104
|
}>, {
|
|
63
|
-
size:
|
|
105
|
+
size: string;
|
|
64
106
|
disabled: boolean;
|
|
65
|
-
color:
|
|
107
|
+
color: string;
|
|
66
108
|
wide: boolean;
|
|
67
109
|
loading: boolean;
|
|
68
110
|
widthByContent: boolean;
|
|
69
111
|
containsIcon: boolean;
|
|
70
112
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
72
113
|
export default _default;
|
|
73
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
74
|
-
new (): {
|
|
75
|
-
$slots: S;
|
|
76
|
-
};
|
|
77
|
-
};
|