straw-ui-vue 0.1.35 → 0.1.37
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/components/st-button/st-button.d.ts +1 -1
- package/dist/components/st-button/types/st-button.d.ts +1 -1
- package/dist/components/st-cascade/index.d.ts +6 -6
- package/dist/components/st-cascade/st-cascade.d.ts +2 -2
- package/dist/components/st-checkbox/index.d.ts +6 -6
- package/dist/components/st-checkbox/st-checkbox-group.d.ts +1 -1
- package/dist/components/st-image/index.d.ts +5 -0
- package/dist/components/st-image/st-image.d.ts +2 -0
- package/dist/components/st-image/types/st-image.d.ts +50 -58
- package/dist/components/st-input/index.d.ts +36 -6
- package/dist/components/st-input/st-input-group.d.ts +7 -1
- package/dist/components/st-input/types/st-input-group.d.ts +17 -14
- package/dist/components/st-radio/index.d.ts +6 -6
- package/dist/components/st-radio/st-radio-group.d.ts +1 -1
- package/dist/components/st-scrollbar/desktop/st-scrollbar-desktop.d.ts +3 -0
- package/dist/components/st-scrollbar/desktop/types/index.d.ts +2 -2
- package/dist/components/st-scrollbar/desktop/types/st-scrollbar-desktop-group.d.ts +17 -17
- package/dist/components/st-scrollbar/desktop/types/st-scrollbar-desktop.d.ts +15 -15
- package/dist/components/st-scrollbar/index.d.ts +95 -0
- package/dist/components/st-scrollbar/phone/st-scrollbar-phone.d.ts +3 -0
- package/dist/components/st-scrollbar/phone/types/index.d.ts +3 -3
- package/dist/components/st-scrollbar/phone/types/st-scrollbar-phone-group-pull-action.d.ts +27 -27
- package/dist/components/st-scrollbar/phone/types/st-scrollbar-phone-group.d.ts +28 -28
- package/dist/components/st-scrollbar/phone/types/st-scrollbar-phone.d.ts +43 -38
- package/dist/components/st-scrollbar/st-scrollbar-group-virtual.d.ts +22 -0
- package/dist/components/st-scrollbar/st-scrollbar.d.ts +4 -1
- package/dist/components/st-scrollbar/types/index.d.ts +12 -11
- package/dist/components/st-scrollbar/types/st-scrollbar-context.d.ts +62 -62
- package/dist/components/st-scrollbar/types/st-scrollbar-group-back-top.d.ts +11 -11
- package/dist/components/st-scrollbar/types/st-scrollbar-group-nav-button.d.ts +11 -11
- package/dist/components/st-scrollbar/types/st-scrollbar-group-thumb.d.ts +16 -16
- package/dist/components/st-scrollbar/types/st-scrollbar-group-track.d.ts +16 -16
- package/dist/components/st-scrollbar/types/st-scrollbar-group-view.d.ts +27 -27
- package/dist/components/st-scrollbar/types/st-scrollbar-group-virtual.d.ts +71 -0
- package/dist/components/st-scrollbar/types/st-scrollbar-group.d.ts +29 -21
- package/dist/components/st-scrollbar/types/st-scrollbar.d.ts +136 -82
- package/dist/components/st-scrollbar/useVirtualScrollbar.d.ts +60 -0
- package/dist/components/st-segmented/index.d.ts +3 -3
- package/dist/components/st-segmented/st-segmented.d.ts +1 -1
- package/dist/components/st-select/index.d.ts +177 -45
- package/dist/components/st-select/st-select-trigger.d.ts +28 -6
- package/dist/components/st-select/st-select.d.ts +3 -3
- package/dist/components/st-tabs/desktop/st-tabs-desktop.d.ts +2 -0
- package/dist/components/st-tabs/index.d.ts +35 -20
- package/dist/components/st-tabs/phone/st-tabs-phone.d.ts +3 -0
- package/dist/components/st-tabs/phone/types/st-tabs-phone.d.ts +4 -1
- package/dist/components/st-tabs/st-tabs-group-bar.d.ts +0 -2
- package/dist/components/st-tabs/st-tabs-group.d.ts +4 -4
- package/dist/components/st-tabs/st-tabs-panel.d.ts +0 -1
- package/dist/components/st-tabs/st-tabs.d.ts +5 -1
- package/dist/components/st-tabs/types/st-tabs-context.d.ts +22 -0
- package/dist/components/st-tabs/types/st-tabs-group-bar.d.ts +0 -7
- package/dist/components/st-tabs/types/st-tabs-group.d.ts +6 -6
- package/dist/components/st-tabs/types/st-tabs-panel.d.ts +6 -5
- package/dist/components/st-tabs/types/st-tabs.d.ts +29 -1
- package/dist/components/st-tabs/useTabsState.d.ts +3 -1
- package/dist/components/st-toggle/index.d.ts +6 -6
- package/dist/components/st-toggle/st-toggle.d.ts +2 -2
- package/dist/components/st-tree/index.d.ts +368 -41
- package/dist/components/st-tree/st-tree-group-arrow.d.ts +15 -0
- package/dist/components/st-tree/st-tree-group-children.d.ts +11 -0
- package/dist/components/st-tree/st-tree-group-label.d.ts +11 -0
- package/dist/components/st-tree/st-tree-group-node.d.ts +13 -0
- package/dist/components/st-tree/st-tree-group.d.ts +40 -0
- package/dist/components/st-tree/st-tree.d.ts +35 -20
- package/dist/components/st-tree/types/index.d.ts +4 -4
- package/dist/components/st-tree/types/st-tree-context.d.ts +86 -18
- package/dist/components/st-tree/types/st-tree-group-arrow.d.ts +14 -0
- package/dist/components/st-tree/types/st-tree-group-children.d.ts +13 -0
- package/dist/components/st-tree/types/st-tree-group-label.d.ts +11 -0
- package/dist/components/st-tree/types/st-tree-group-node.d.ts +10 -5
- package/dist/components/st-tree/types/st-tree-group.d.ts +29 -10
- package/dist/components/st-tree/types/st-tree-node.d.ts +4 -25
- package/dist/components/st-tree/types/st-tree.d.ts +109 -71
- package/dist/components/st-tree/useTreeState.d.ts +31 -0
- package/dist/directive/index.d.ts +0 -1
- package/dist/{forward-emit-Bsrbc9QV.js → forward-emit-CObFCNzL.js} +18 -3
- package/dist/global.d.ts +26 -1
- package/dist/index.d.ts +53 -3
- package/dist/straw-ui.js +4239 -3075
- package/dist/types/device.d.ts +4 -0
- package/dist/types.d.ts +5 -5
- package/dist/utils/device.d.ts +0 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/components/st-tree/types/st-tree-group-action.d.ts +0 -10
- package/dist/components/st-tree/types/st-tree-group-group.d.ts +0 -13
- package/dist/components/st-tree/useTreeStyleState.d.ts +0 -2
|
@@ -9,7 +9,7 @@ declare const __VLS_base: import('vue').DefineComponent<StButtonProps, {}, {}, {
|
|
|
9
9
|
variant: import('./index.ts').StButtonVariant;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
loading: boolean;
|
|
12
|
-
deviceType: import('../../
|
|
12
|
+
deviceType: import('../../types.ts').DeviceType | "auto";
|
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
@@ -25,13 +25,13 @@ export declare const StCascade: {
|
|
|
25
25
|
labelKey: string;
|
|
26
26
|
valueKey: string;
|
|
27
27
|
childrenKey: string;
|
|
28
|
-
separator: string;
|
|
29
|
-
multiple: boolean;
|
|
30
28
|
options: import('./index.ts').StCascadeOption[];
|
|
31
29
|
panelClass: string;
|
|
32
30
|
panelStyle: import('vue').StyleValue;
|
|
33
31
|
menuItemClass: string;
|
|
34
32
|
menuItemStyle: import('vue').StyleValue;
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
separator: string;
|
|
35
35
|
popoverClass: string;
|
|
36
36
|
popoverStyle: import('vue').StyleValue;
|
|
37
37
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -60,13 +60,13 @@ export declare const StCascade: {
|
|
|
60
60
|
labelKey: string;
|
|
61
61
|
valueKey: string;
|
|
62
62
|
childrenKey: string;
|
|
63
|
-
separator: string;
|
|
64
|
-
multiple: boolean;
|
|
65
63
|
options: import('./index.ts').StCascadeOption[];
|
|
66
64
|
panelClass: string;
|
|
67
65
|
panelStyle: import('vue').StyleValue;
|
|
68
66
|
menuItemClass: string;
|
|
69
67
|
menuItemStyle: import('vue').StyleValue;
|
|
68
|
+
multiple: boolean;
|
|
69
|
+
separator: string;
|
|
70
70
|
popoverClass: string;
|
|
71
71
|
popoverStyle: import('vue').StyleValue;
|
|
72
72
|
}>;
|
|
@@ -99,13 +99,13 @@ export declare const StCascade: {
|
|
|
99
99
|
labelKey: string;
|
|
100
100
|
valueKey: string;
|
|
101
101
|
childrenKey: string;
|
|
102
|
-
separator: string;
|
|
103
|
-
multiple: boolean;
|
|
104
102
|
options: import('./index.ts').StCascadeOption[];
|
|
105
103
|
panelClass: string;
|
|
106
104
|
panelStyle: import('vue').StyleValue;
|
|
107
105
|
menuItemClass: string;
|
|
108
106
|
menuItemStyle: import('vue').StyleValue;
|
|
107
|
+
multiple: boolean;
|
|
108
|
+
separator: string;
|
|
109
109
|
popoverClass: string;
|
|
110
110
|
popoverStyle: import('vue').StyleValue;
|
|
111
111
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -35,13 +35,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCas
|
|
|
35
35
|
labelKey: string;
|
|
36
36
|
valueKey: string;
|
|
37
37
|
childrenKey: string;
|
|
38
|
-
separator: string;
|
|
39
|
-
multiple: boolean;
|
|
40
38
|
options: StCascadeOption[];
|
|
41
39
|
panelClass: string;
|
|
42
40
|
panelStyle: import('vue').StyleValue;
|
|
43
41
|
menuItemClass: string;
|
|
44
42
|
menuItemStyle: import('vue').StyleValue;
|
|
43
|
+
multiple: boolean;
|
|
44
|
+
separator: string;
|
|
45
45
|
popoverClass: string;
|
|
46
46
|
popoverStyle: import('vue').StyleValue;
|
|
47
47
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -58,9 +58,9 @@ export declare const StCheckbox: {
|
|
|
58
58
|
}, import('vue').PublicProps, {
|
|
59
59
|
disabled: boolean;
|
|
60
60
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
61
|
+
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
61
62
|
labelKey: string;
|
|
62
63
|
valueKey: string;
|
|
63
|
-
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
64
64
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
65
65
|
P: {};
|
|
66
66
|
B: {};
|
|
@@ -76,9 +76,9 @@ export declare const StCheckbox: {
|
|
|
76
76
|
}>, {}, {}, {}, {}, {
|
|
77
77
|
disabled: boolean;
|
|
78
78
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
79
|
+
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
79
80
|
labelKey: string;
|
|
80
81
|
valueKey: string;
|
|
81
|
-
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
82
82
|
}>;
|
|
83
83
|
__isFragment?: never;
|
|
84
84
|
__isTeleport?: never;
|
|
@@ -94,9 +94,9 @@ export declare const StCheckbox: {
|
|
|
94
94
|
}, string, {
|
|
95
95
|
disabled: boolean;
|
|
96
96
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
97
|
+
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
97
98
|
labelKey: string;
|
|
98
99
|
valueKey: string;
|
|
99
|
-
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
100
100
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
101
101
|
$slots: import('./index.ts').StCheckboxGroupSlots;
|
|
102
102
|
});
|
|
@@ -113,9 +113,9 @@ export declare const StCheckboxGroup: {
|
|
|
113
113
|
}, import('vue').PublicProps, {
|
|
114
114
|
disabled: boolean;
|
|
115
115
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
116
|
+
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
116
117
|
labelKey: string;
|
|
117
118
|
valueKey: string;
|
|
118
|
-
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
119
119
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
120
120
|
P: {};
|
|
121
121
|
B: {};
|
|
@@ -131,9 +131,9 @@ export declare const StCheckboxGroup: {
|
|
|
131
131
|
}>, {}, {}, {}, {}, {
|
|
132
132
|
disabled: boolean;
|
|
133
133
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
134
|
+
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
134
135
|
labelKey: string;
|
|
135
136
|
valueKey: string;
|
|
136
|
-
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
137
137
|
}>;
|
|
138
138
|
__isFragment?: never;
|
|
139
139
|
__isTeleport?: never;
|
|
@@ -149,9 +149,9 @@ export declare const StCheckboxGroup: {
|
|
|
149
149
|
}, string, {
|
|
150
150
|
disabled: boolean;
|
|
151
151
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
152
|
+
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
152
153
|
labelKey: string;
|
|
153
154
|
valueKey: string;
|
|
154
|
-
list: import('./index.ts').StCheckboxGroupItem[] | [string | number][];
|
|
155
155
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
156
156
|
$slots: import('./index.ts').StCheckboxGroupSlots;
|
|
157
157
|
});
|
|
@@ -14,9 +14,9 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
14
14
|
}>, {
|
|
15
15
|
disabled: boolean;
|
|
16
16
|
direction: import('./index.ts').StCheckboxGroupDirection;
|
|
17
|
+
list: StCheckboxGroupItem[] | [string | number][];
|
|
17
18
|
labelKey: string;
|
|
18
19
|
valueKey: string;
|
|
19
|
-
list: StCheckboxGroupItem[] | [string | number][];
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export declare const StImage: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StImageProps> & Readonly<{
|
|
3
|
+
onClick?: (event: Event) => any;
|
|
3
4
|
onError?: (event: Event) => any;
|
|
4
5
|
onLoad?: (event: CustomEvent<{
|
|
5
6
|
width: number;
|
|
6
7
|
height: number;
|
|
7
8
|
}>) => any;
|
|
8
9
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
click: (event: Event) => any;
|
|
9
11
|
error: (event: Event) => any;
|
|
10
12
|
load: (event: CustomEvent<{
|
|
11
13
|
width: number;
|
|
@@ -25,6 +27,7 @@ export declare const StImage: {
|
|
|
25
27
|
M: {};
|
|
26
28
|
Defaults: {};
|
|
27
29
|
}, Readonly<import('./index.ts').StImageProps> & Readonly<{
|
|
30
|
+
onClick?: (event: Event) => any;
|
|
28
31
|
onError?: (event: Event) => any;
|
|
29
32
|
onLoad?: (event: CustomEvent<{
|
|
30
33
|
width: number;
|
|
@@ -41,12 +44,14 @@ export declare const StImage: {
|
|
|
41
44
|
__isTeleport?: never;
|
|
42
45
|
__isSuspense?: never;
|
|
43
46
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StImageProps> & Readonly<{
|
|
47
|
+
onClick?: (event: Event) => any;
|
|
44
48
|
onError?: (event: Event) => any;
|
|
45
49
|
onLoad?: (event: CustomEvent<{
|
|
46
50
|
width: number;
|
|
47
51
|
height: number;
|
|
48
52
|
}>) => any;
|
|
49
53
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
54
|
+
click: (event: Event) => any;
|
|
50
55
|
error: (event: Event) => any;
|
|
51
56
|
load: (event: CustomEvent<{
|
|
52
57
|
width: number;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { StImageProps, StImageSlots } from './types/st-image.d.ts';
|
|
2
2
|
type __VLS_Slots = StImageSlots;
|
|
3
3
|
declare const __VLS_base: import('vue').DefineComponent<StImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
click: (event: Event) => any;
|
|
4
5
|
error: (event: Event) => any;
|
|
5
6
|
load: (event: CustomEvent<{
|
|
6
7
|
width: number;
|
|
7
8
|
height: number;
|
|
8
9
|
}>) => any;
|
|
9
10
|
}, string, import('vue').PublicProps, Readonly<StImageProps> & Readonly<{
|
|
11
|
+
onClick?: (event: Event) => any;
|
|
10
12
|
onError?: (event: Event) => any;
|
|
11
13
|
onLoad?: (event: CustomEvent<{
|
|
12
14
|
width: number;
|
|
@@ -1,58 +1,50 @@
|
|
|
1
|
-
import type { ClassValue, StyleValue } from 'vue';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
loading?: () => unknown;
|
|
52
|
-
/** 加载失败占位插槽 */
|
|
53
|
-
error?: () => unknown;
|
|
54
|
-
/** 默认插槽 */
|
|
55
|
-
default?: () => unknown;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export {};
|
|
1
|
+
import type { ClassValue, StyleValue } from 'vue';
|
|
2
|
+
|
|
3
|
+
/** 图片适配模式类型 */
|
|
4
|
+
export type StImageFit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down';
|
|
5
|
+
|
|
6
|
+
/** 图片组件属性 */
|
|
7
|
+
export interface StImageProps {
|
|
8
|
+
/** 图片地址 */
|
|
9
|
+
src?: string;
|
|
10
|
+
/** 图片描述 */
|
|
11
|
+
alt?: string;
|
|
12
|
+
/** 图片适配模式 */
|
|
13
|
+
fit?: StImageFit;
|
|
14
|
+
/** 是否显示加载占位 */
|
|
15
|
+
showLoading?: boolean;
|
|
16
|
+
/** 是否显示错误占位 */
|
|
17
|
+
showError?: boolean;
|
|
18
|
+
/** 自定义加载占位类名 */
|
|
19
|
+
loadingClass?: ClassValue;
|
|
20
|
+
/** 自定义加载占位样式 */
|
|
21
|
+
loadingStyle?: StyleValue;
|
|
22
|
+
/** 自定义错误占位类名 */
|
|
23
|
+
errorClass?: ClassValue;
|
|
24
|
+
/** 自定义错误占位样式 */
|
|
25
|
+
errorStyle?: StyleValue;
|
|
26
|
+
/** 自定义图片类名 */
|
|
27
|
+
imageClass?: ClassValue;
|
|
28
|
+
/** 自定义图片样式 */
|
|
29
|
+
imageStyle?: StyleValue;
|
|
30
|
+
}
|
|
31
|
+
/** 图片组件插槽 */
|
|
32
|
+
export interface StImageSlots {
|
|
33
|
+
/** 加载中占位插槽 */
|
|
34
|
+
loading?: () => unknown;
|
|
35
|
+
/** 加载失败占位插槽 */
|
|
36
|
+
error?: () => unknown;
|
|
37
|
+
/** 默认插槽 */
|
|
38
|
+
default?: () => unknown;
|
|
39
|
+
}
|
|
40
|
+
/** 图片组件事件 */
|
|
41
|
+
export interface StImageEmits {
|
|
42
|
+
/** 图片点击事件 */
|
|
43
|
+
click: [event: Event];
|
|
44
|
+
/** 图片加载成功事件 */
|
|
45
|
+
load: [event: CustomEvent<{ width: number; height: number }>];
|
|
46
|
+
/** 图片加载失败事件 */
|
|
47
|
+
error: [event: Event];
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export {};
|
|
@@ -652,7 +652,13 @@ export declare const StInput: {
|
|
|
652
652
|
$slots: import('./index.ts').StInputSlots;
|
|
653
653
|
}) & {
|
|
654
654
|
StInputGroup: {
|
|
655
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
655
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
656
|
+
onMouseenter?: (event: Event) => any;
|
|
657
|
+
onMouseleave?: (event: Event) => any;
|
|
658
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
659
|
+
mouseenter: (event: Event) => any;
|
|
660
|
+
mouseleave: (event: Event) => any;
|
|
661
|
+
}, import('vue').PublicProps, {
|
|
656
662
|
disabled: boolean;
|
|
657
663
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
658
664
|
P: {};
|
|
@@ -661,13 +667,22 @@ export declare const StInput: {
|
|
|
661
667
|
C: {};
|
|
662
668
|
M: {};
|
|
663
669
|
Defaults: {};
|
|
664
|
-
}, Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
670
|
+
}, Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
671
|
+
onMouseenter?: (event: Event) => any;
|
|
672
|
+
onMouseleave?: (event: Event) => any;
|
|
673
|
+
}>, {}, {}, {}, {}, {
|
|
665
674
|
disabled: boolean;
|
|
666
675
|
}>;
|
|
667
676
|
__isFragment?: never;
|
|
668
677
|
__isTeleport?: never;
|
|
669
678
|
__isSuspense?: never;
|
|
670
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
679
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
680
|
+
onMouseenter?: (event: Event) => any;
|
|
681
|
+
onMouseleave?: (event: Event) => any;
|
|
682
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
683
|
+
mouseenter: (event: Event) => any;
|
|
684
|
+
mouseleave: (event: Event) => any;
|
|
685
|
+
}, string, {
|
|
671
686
|
disabled: boolean;
|
|
672
687
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
673
688
|
$slots: import('./index.ts').StInputGroupSlots;
|
|
@@ -1622,7 +1637,13 @@ export declare const StInput: {
|
|
|
1622
1637
|
});
|
|
1623
1638
|
};
|
|
1624
1639
|
export declare const StInputGroup: {
|
|
1625
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
1640
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
1641
|
+
onMouseenter?: (event: Event) => any;
|
|
1642
|
+
onMouseleave?: (event: Event) => any;
|
|
1643
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1644
|
+
mouseenter: (event: Event) => any;
|
|
1645
|
+
mouseleave: (event: Event) => any;
|
|
1646
|
+
}, import('vue').PublicProps, {
|
|
1626
1647
|
disabled: boolean;
|
|
1627
1648
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1628
1649
|
P: {};
|
|
@@ -1631,13 +1652,22 @@ export declare const StInputGroup: {
|
|
|
1631
1652
|
C: {};
|
|
1632
1653
|
M: {};
|
|
1633
1654
|
Defaults: {};
|
|
1634
|
-
}, Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
1655
|
+
}, Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
1656
|
+
onMouseenter?: (event: Event) => any;
|
|
1657
|
+
onMouseleave?: (event: Event) => any;
|
|
1658
|
+
}>, {}, {}, {}, {}, {
|
|
1635
1659
|
disabled: boolean;
|
|
1636
1660
|
}>;
|
|
1637
1661
|
__isFragment?: never;
|
|
1638
1662
|
__isTeleport?: never;
|
|
1639
1663
|
__isSuspense?: never;
|
|
1640
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
1664
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StInputGroupProps> & Readonly<{
|
|
1665
|
+
onMouseenter?: (event: Event) => any;
|
|
1666
|
+
onMouseleave?: (event: Event) => any;
|
|
1667
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1668
|
+
mouseenter: (event: Event) => any;
|
|
1669
|
+
mouseleave: (event: Event) => any;
|
|
1670
|
+
}, string, {
|
|
1641
1671
|
disabled: boolean;
|
|
1642
1672
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1643
1673
|
$slots: import('./index.ts').StInputGroupSlots;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { StInputGroupProps, StInputGroupSlots } from './types/st-input-group.d.ts';
|
|
2
2
|
type __VLS_Slots = StInputGroupSlots;
|
|
3
|
-
declare const __VLS_base: import('vue').DefineComponent<StInputGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StInputGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
mouseenter: (event: Event) => any;
|
|
5
|
+
mouseleave: (event: Event) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<StInputGroupProps> & Readonly<{
|
|
7
|
+
onMouseenter?: (event: Event) => any;
|
|
8
|
+
onMouseleave?: (event: Event) => any;
|
|
9
|
+
}>, {
|
|
4
10
|
disabled: boolean;
|
|
5
11
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
12
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
/** StInputGroup 容器组件属性接口 */
|
|
2
|
-
export interface StInputGroupProps {
|
|
3
|
-
/** 是否禁用 */
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
}
|
|
6
|
-
/** StInputGroup
|
|
7
|
-
export interface
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
/** StInputGroup 容器组件属性接口 */
|
|
2
|
+
export interface StInputGroupProps {
|
|
3
|
+
/** 是否禁用 */
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/** StInputGroup 组件插槽接口 */
|
|
7
|
+
export interface StInputGroupSlots {
|
|
8
|
+
/** 默认插槽 */
|
|
9
|
+
default?: () => unknown;
|
|
10
|
+
}
|
|
11
|
+
/** StInputGroup 组件事件接口 */
|
|
12
|
+
export interface StInputGroupEmits {
|
|
13
|
+
mouseenter: [event: Event];
|
|
14
|
+
mouseleave: [event: Event];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export {};
|
|
@@ -61,10 +61,10 @@ export declare const StRadio: {
|
|
|
61
61
|
}, import('vue').PublicProps, {
|
|
62
62
|
disabled: boolean;
|
|
63
63
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
64
|
+
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
64
65
|
labelKey: string;
|
|
65
66
|
valueKey: string;
|
|
66
67
|
strict: boolean;
|
|
67
|
-
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
68
68
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
69
69
|
P: {};
|
|
70
70
|
B: {};
|
|
@@ -80,10 +80,10 @@ export declare const StRadio: {
|
|
|
80
80
|
}>, {}, {}, {}, {}, {
|
|
81
81
|
disabled: boolean;
|
|
82
82
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
83
|
+
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
83
84
|
labelKey: string;
|
|
84
85
|
valueKey: string;
|
|
85
86
|
strict: boolean;
|
|
86
|
-
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
87
87
|
}>;
|
|
88
88
|
__isFragment?: never;
|
|
89
89
|
__isTeleport?: never;
|
|
@@ -99,10 +99,10 @@ export declare const StRadio: {
|
|
|
99
99
|
}, string, {
|
|
100
100
|
disabled: boolean;
|
|
101
101
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
102
|
+
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
102
103
|
labelKey: string;
|
|
103
104
|
valueKey: string;
|
|
104
105
|
strict: boolean;
|
|
105
|
-
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
106
106
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
107
107
|
$slots: import('./index.ts').StRadioGroupSlots;
|
|
108
108
|
});
|
|
@@ -119,10 +119,10 @@ export declare const StRadioGroup: {
|
|
|
119
119
|
}, import('vue').PublicProps, {
|
|
120
120
|
disabled: boolean;
|
|
121
121
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
122
|
+
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
122
123
|
labelKey: string;
|
|
123
124
|
valueKey: string;
|
|
124
125
|
strict: boolean;
|
|
125
|
-
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
126
126
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
127
127
|
P: {};
|
|
128
128
|
B: {};
|
|
@@ -138,10 +138,10 @@ export declare const StRadioGroup: {
|
|
|
138
138
|
}>, {}, {}, {}, {}, {
|
|
139
139
|
disabled: boolean;
|
|
140
140
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
141
|
+
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
141
142
|
labelKey: string;
|
|
142
143
|
valueKey: string;
|
|
143
144
|
strict: boolean;
|
|
144
|
-
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
145
145
|
}>;
|
|
146
146
|
__isFragment?: never;
|
|
147
147
|
__isTeleport?: never;
|
|
@@ -157,10 +157,10 @@ export declare const StRadioGroup: {
|
|
|
157
157
|
}, string, {
|
|
158
158
|
disabled: boolean;
|
|
159
159
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
160
|
+
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
160
161
|
labelKey: string;
|
|
161
162
|
valueKey: string;
|
|
162
163
|
strict: boolean;
|
|
163
|
-
list: import('./index.ts').StRadioGroupItem[] | [string | number][];
|
|
164
164
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
165
165
|
$slots: import('./index.ts').StRadioGroupSlots;
|
|
166
166
|
});
|
|
@@ -14,10 +14,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
|
|
|
14
14
|
}>, {
|
|
15
15
|
disabled: boolean;
|
|
16
16
|
direction: import('./index.ts').StRadioGroupDirection;
|
|
17
|
+
list: StRadioGroupItem[] | [string | number][];
|
|
17
18
|
labelKey: string;
|
|
18
19
|
valueKey: string;
|
|
19
20
|
strict: boolean;
|
|
20
|
-
list: StRadioGroupItem[] | [string | number][];
|
|
21
21
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,15 +5,18 @@ declare const __VLS_base: import('vue').DefineComponent<StScrollbarDesktopProps,
|
|
|
5
5
|
event: (name: string, ...args: any[]) => any;
|
|
6
6
|
scrollToUpper: () => any;
|
|
7
7
|
scrollToLower: () => any;
|
|
8
|
+
rangeChange: (start: number, end: number) => any;
|
|
8
9
|
}, string, import('vue').PublicProps, Readonly<StScrollbarDesktopProps> & Readonly<{
|
|
9
10
|
onScroll?: (event: Event) => any;
|
|
10
11
|
onEvent?: (name: string, ...args: any[]) => any;
|
|
11
12
|
onScrollToUpper?: () => any;
|
|
12
13
|
onScrollToLower?: () => any;
|
|
14
|
+
onRangeChange?: (start: number, end: number) => any;
|
|
13
15
|
}>, {
|
|
14
16
|
showTrack: boolean;
|
|
15
17
|
showBackTop: boolean;
|
|
16
18
|
showNavButton: boolean;
|
|
19
|
+
virtual: boolean;
|
|
17
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
22
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './st-scrollbar-desktop.d.ts';
|
|
2
|
-
export * from './st-scrollbar-desktop-group.d.ts';
|
|
1
|
+
export * from './st-scrollbar-desktop.d.ts';
|
|
2
|
+
export * from './st-scrollbar-desktop-group.d.ts';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
StScrollbarGroupBaseEmits,
|
|
3
|
-
StScrollbarGroupBaseProps,
|
|
4
|
-
StScrollbarGroupBaseSlots,
|
|
5
|
-
} from '../../types/st-scrollbar-group.d.ts';
|
|
6
|
-
|
|
7
|
-
/** 桌面端滚动包容层组件属性 */
|
|
8
|
-
export interface StScrollbarDesktopGroupProps extends StScrollbarGroupBaseProps {}
|
|
9
|
-
/** 桌面端滚动包容层组件插槽 */
|
|
10
|
-
export interface StScrollbarDesktopGroupSlots extends StScrollbarGroupBaseSlots {
|
|
11
|
-
/** 默认插槽 */
|
|
12
|
-
default?: () => unknown;
|
|
13
|
-
}
|
|
14
|
-
/** 桌面端滚动包容层组件事件 */
|
|
15
|
-
export interface StScrollbarDesktopGroupEmits extends StScrollbarGroupBaseEmits {}
|
|
16
|
-
|
|
17
|
-
export {};
|
|
1
|
+
import type {
|
|
2
|
+
StScrollbarGroupBaseEmits,
|
|
3
|
+
StScrollbarGroupBaseProps,
|
|
4
|
+
StScrollbarGroupBaseSlots,
|
|
5
|
+
} from '../../types/st-scrollbar-group.d.ts';
|
|
6
|
+
|
|
7
|
+
/** 桌面端滚动包容层组件属性 */
|
|
8
|
+
export interface StScrollbarDesktopGroupProps extends StScrollbarGroupBaseProps {}
|
|
9
|
+
/** 桌面端滚动包容层组件插槽 */
|
|
10
|
+
export interface StScrollbarDesktopGroupSlots extends StScrollbarGroupBaseSlots {
|
|
11
|
+
/** 默认插槽 */
|
|
12
|
+
default?: () => unknown;
|
|
13
|
+
}
|
|
14
|
+
/** 桌面端滚动包容层组件事件 */
|
|
15
|
+
export interface StScrollbarDesktopGroupEmits extends StScrollbarGroupBaseEmits {}
|
|
16
|
+
|
|
17
|
+
export {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
StScrollbarBaseEmits,
|
|
3
|
-
StScrollbarBaseExpose,
|
|
4
|
-
StScrollbarBaseProps,
|
|
5
|
-
StScrollbarBaseSlots,
|
|
6
|
-
} from '../../types/st-scrollbar.d.ts';
|
|
7
|
-
|
|
8
|
-
/** 桌面端滚动条属性 */
|
|
9
|
-
export interface StScrollbarDesktopProps extends StScrollbarBaseProps {}
|
|
10
|
-
/** 桌面端滚动条插槽 */
|
|
11
|
-
export interface StScrollbarDesktopSlots extends StScrollbarBaseSlots {}
|
|
12
|
-
/** 桌面端滚动条事件 */
|
|
13
|
-
export interface StScrollbarDesktopEmits extends StScrollbarBaseEmits {}
|
|
14
|
-
/** 桌面端滚动条暴露方法 */
|
|
15
|
-
export interface StScrollbarDesktopExpose extends StScrollbarBaseExpose {}
|
|
1
|
+
import type {
|
|
2
|
+
StScrollbarBaseEmits,
|
|
3
|
+
StScrollbarBaseExpose,
|
|
4
|
+
StScrollbarBaseProps,
|
|
5
|
+
StScrollbarBaseSlots,
|
|
6
|
+
} from '../../types/st-scrollbar.d.ts';
|
|
7
|
+
|
|
8
|
+
/** 桌面端滚动条属性 */
|
|
9
|
+
export interface StScrollbarDesktopProps extends StScrollbarBaseProps {}
|
|
10
|
+
/** 桌面端滚动条插槽 */
|
|
11
|
+
export interface StScrollbarDesktopSlots extends StScrollbarBaseSlots {}
|
|
12
|
+
/** 桌面端滚动条事件 */
|
|
13
|
+
export interface StScrollbarDesktopEmits extends StScrollbarBaseEmits {}
|
|
14
|
+
/** 桌面端滚动条暴露方法 */
|
|
15
|
+
export interface StScrollbarDesktopExpose extends StScrollbarBaseExpose {}
|