straw-ui-vue 0.1.25 → 0.1.27
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-empty/index.d.ts +91 -0
- package/dist/components/st-empty/st-empty-group-content.d.ts +11 -0
- package/dist/components/st-empty/st-empty-group-description.d.ts +11 -0
- package/dist/components/st-empty/st-empty-group.d.ts +11 -0
- package/dist/components/st-empty/types.d.ts +60 -44
- package/dist/components/st-image/index.d.ts +3 -3
- package/dist/components/st-image/st-image.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/straw-ui.js +338 -278
- package/dist/unocss-preset.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,97 @@ export declare const StEmpty: {
|
|
|
18
18
|
description: string;
|
|
19
19
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
20
20
|
$slots: import('./types.d.ts').StEmptySlots;
|
|
21
|
+
}) & {
|
|
22
|
+
StEmptyGroup: {
|
|
23
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<import('./types.d.ts').StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
31
|
+
__isFragment?: never;
|
|
32
|
+
__isTeleport?: never;
|
|
33
|
+
__isSuspense?: never;
|
|
34
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
35
|
+
$slots: import('./types.d.ts').StEmptyGroupSlots;
|
|
36
|
+
});
|
|
37
|
+
StEmptyGroupContent: {
|
|
38
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
39
|
+
P: {};
|
|
40
|
+
B: {};
|
|
41
|
+
D: {};
|
|
42
|
+
C: {};
|
|
43
|
+
M: {};
|
|
44
|
+
Defaults: {};
|
|
45
|
+
}, Readonly<import('./types.d.ts').StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
46
|
+
__isFragment?: never;
|
|
47
|
+
__isTeleport?: never;
|
|
48
|
+
__isSuspense?: never;
|
|
49
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
50
|
+
$slots: import('./types.d.ts').StEmptyGroupContentSlots;
|
|
51
|
+
});
|
|
52
|
+
StEmptyGroupDescription: {
|
|
53
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
54
|
+
P: {};
|
|
55
|
+
B: {};
|
|
56
|
+
D: {};
|
|
57
|
+
C: {};
|
|
58
|
+
M: {};
|
|
59
|
+
Defaults: {};
|
|
60
|
+
}, Readonly<import('./types.d.ts').StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
61
|
+
__isFragment?: never;
|
|
62
|
+
__isTeleport?: never;
|
|
63
|
+
__isSuspense?: never;
|
|
64
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
65
|
+
$slots: import('./types.d.ts').StEmptyGroupDescriptionSlots;
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
export declare const StEmptyGroup: {
|
|
69
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
70
|
+
P: {};
|
|
71
|
+
B: {};
|
|
72
|
+
D: {};
|
|
73
|
+
C: {};
|
|
74
|
+
M: {};
|
|
75
|
+
Defaults: {};
|
|
76
|
+
}, Readonly<import('./types.d.ts').StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
77
|
+
__isFragment?: never;
|
|
78
|
+
__isTeleport?: never;
|
|
79
|
+
__isSuspense?: never;
|
|
80
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
81
|
+
$slots: import('./types.d.ts').StEmptyGroupSlots;
|
|
82
|
+
});
|
|
83
|
+
export declare const StEmptyGroupContent: {
|
|
84
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
85
|
+
P: {};
|
|
86
|
+
B: {};
|
|
87
|
+
D: {};
|
|
88
|
+
C: {};
|
|
89
|
+
M: {};
|
|
90
|
+
Defaults: {};
|
|
91
|
+
}, Readonly<import('./types.d.ts').StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
92
|
+
__isFragment?: never;
|
|
93
|
+
__isTeleport?: never;
|
|
94
|
+
__isSuspense?: never;
|
|
95
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
96
|
+
$slots: import('./types.d.ts').StEmptyGroupContentSlots;
|
|
97
|
+
});
|
|
98
|
+
export declare const StEmptyGroupDescription: {
|
|
99
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types.d.ts').StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
100
|
+
P: {};
|
|
101
|
+
B: {};
|
|
102
|
+
D: {};
|
|
103
|
+
C: {};
|
|
104
|
+
M: {};
|
|
105
|
+
Defaults: {};
|
|
106
|
+
}, Readonly<import('./types.d.ts').StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
107
|
+
__isFragment?: never;
|
|
108
|
+
__isTeleport?: never;
|
|
109
|
+
__isSuspense?: never;
|
|
110
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types.d.ts').StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
111
|
+
$slots: import('./types.d.ts').StEmptyGroupDescriptionSlots;
|
|
21
112
|
});
|
|
22
113
|
export default StEmpty;
|
|
23
114
|
export type * from './types.d.ts';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StEmptyGroupContentProps, StEmptyGroupContentSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StEmptyGroupContentSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StEmptyGroupContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StEmptyGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StEmptyGroupDescriptionProps, StEmptyGroupDescriptionSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StEmptyGroupDescriptionSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StEmptyGroupDescriptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StEmptyGroupDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StEmptyGroupProps, StEmptyGroupSlots } from './types.d.ts';
|
|
2
|
+
type __VLS_Slots = StEmptyGroupSlots;
|
|
3
|
+
declare const __VLS_base: import('vue').DefineComponent<StEmptyGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StEmptyGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,44 +1,60 @@
|
|
|
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
|
-
|
|
1
|
+
import type { ClassValue, StyleValue } from 'vue';
|
|
2
|
+
|
|
3
|
+
/** 空状态组件属性 */
|
|
4
|
+
export interface StEmptyProps {
|
|
5
|
+
/** 描述文字 */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** 自定义图标名称 */
|
|
8
|
+
icon?: string;
|
|
9
|
+
/** 图标类名 */
|
|
10
|
+
iconClass?: ClassValue;
|
|
11
|
+
/** 图标样式 */
|
|
12
|
+
iconStyle?: StyleValue;
|
|
13
|
+
/** 描述文字类名 */
|
|
14
|
+
descriptionClass?: ClassValue;
|
|
15
|
+
/** 描述文本样式 */
|
|
16
|
+
descriptionStyle?: StyleValue;
|
|
17
|
+
}
|
|
18
|
+
/** 空状态组件插槽类型 */
|
|
19
|
+
export interface StEmptySlots {
|
|
20
|
+
/** 默认插槽,自定义内容 */
|
|
21
|
+
default?: () => unknown;
|
|
22
|
+
/** 图标插槽 */
|
|
23
|
+
icon?: () => unknown;
|
|
24
|
+
/** 描述文字插槽 */
|
|
25
|
+
description?: () => unknown;
|
|
26
|
+
}
|
|
27
|
+
/** 空状态组件事件类型 */
|
|
28
|
+
export interface StEmptyEmits {}
|
|
29
|
+
|
|
30
|
+
/** 空状态组组件属性 */
|
|
31
|
+
export interface StEmptyGroupProps {}
|
|
32
|
+
/** 空状态组组件插槽类型 */
|
|
33
|
+
export interface StEmptyGroupSlots {
|
|
34
|
+
/** 默认插槽,自定义内容 */
|
|
35
|
+
default?: () => unknown;
|
|
36
|
+
}
|
|
37
|
+
/** 空状态组组件事件类型 */
|
|
38
|
+
export interface StEmptyGroupEmits {}
|
|
39
|
+
|
|
40
|
+
/** 空状态组内容组件属性 */
|
|
41
|
+
export interface StEmptyGroupContentProps {}
|
|
42
|
+
/** 空状态组内容组件插槽类型 */
|
|
43
|
+
export interface StEmptyGroupContentSlots {
|
|
44
|
+
/** 默认插槽,自定义内容 */
|
|
45
|
+
default?: () => unknown;
|
|
46
|
+
}
|
|
47
|
+
/** 空状态组内容组件事件类型 */
|
|
48
|
+
export interface StEmptyGroupContentEmits {}
|
|
49
|
+
|
|
50
|
+
/** 空状态组描述组件属性 */
|
|
51
|
+
export interface StEmptyGroupDescriptionProps {}
|
|
52
|
+
/** 空状态组描述组件插槽类型 */
|
|
53
|
+
export interface StEmptyGroupDescriptionSlots {
|
|
54
|
+
/** 默认插槽,自定义内容 */
|
|
55
|
+
default?: () => unknown;
|
|
56
|
+
}
|
|
57
|
+
/** 空状态组描述组件事件类型 */
|
|
58
|
+
export interface StEmptyGroupDescriptionEmits {}
|
|
59
|
+
|
|
60
|
+
export {};
|
|
@@ -12,8 +12,8 @@ export declare const StImage: {
|
|
|
12
12
|
height: number;
|
|
13
13
|
}>) => any;
|
|
14
14
|
}, import('vue').PublicProps, {
|
|
15
|
-
alt: string;
|
|
16
15
|
src: string;
|
|
16
|
+
alt: string;
|
|
17
17
|
fit: import('./types.d.ts').StImageFit;
|
|
18
18
|
showLoading: boolean;
|
|
19
19
|
showError: boolean;
|
|
@@ -31,8 +31,8 @@ export declare const StImage: {
|
|
|
31
31
|
height: number;
|
|
32
32
|
}>) => any;
|
|
33
33
|
}>, {}, {}, {}, {}, {
|
|
34
|
-
alt: string;
|
|
35
34
|
src: string;
|
|
35
|
+
alt: string;
|
|
36
36
|
fit: import('./types.d.ts').StImageFit;
|
|
37
37
|
showLoading: boolean;
|
|
38
38
|
showError: boolean;
|
|
@@ -53,8 +53,8 @@ export declare const StImage: {
|
|
|
53
53
|
height: number;
|
|
54
54
|
}>) => any;
|
|
55
55
|
}, string, {
|
|
56
|
-
alt: string;
|
|
57
56
|
src: string;
|
|
57
|
+
alt: string;
|
|
58
58
|
fit: import('./types.d.ts').StImageFit;
|
|
59
59
|
showLoading: boolean;
|
|
60
60
|
showError: boolean;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: import('vue').DefineComponent<StImageProps, {}, {}, {}
|
|
|
13
13
|
height: number;
|
|
14
14
|
}>) => any;
|
|
15
15
|
}>, {
|
|
16
|
-
alt: string;
|
|
17
16
|
src: string;
|
|
17
|
+
alt: string;
|
|
18
18
|
fit: import('./types.d.ts').StImageFit;
|
|
19
19
|
showLoading: boolean;
|
|
20
20
|
showError: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export { StDateTimePicker, StDateTimePickerPanel } from './components/st-datetim
|
|
|
9
9
|
export { StDialog, StDialogGroup, StDialogGroupAction, StDialogGroupBody, StDialogGroupContent, StDialogGroupFooter, StDialogGroupHeader, StDialogGroupOverlay, StDialogGroupTitle, StDialogGroupDraggable, } from './components/st-dialog/index.ts';
|
|
10
10
|
export { StDivider } from './components/st-divider/index.ts';
|
|
11
11
|
export { StDrawer, StDrawerGroup, StDrawerGroupAction, StDrawerGroupBody, StDrawerGroupContent, StDrawerGroupFooter, StDrawerGroupHeader, StDrawerGroupOverlay, StDrawerGroupTitle, } from './components/st-drawer/index.ts';
|
|
12
|
-
export { StEmpty } from './components/st-empty/index.ts';
|
|
12
|
+
export { StEmpty, StEmptyGroup, StEmptyGroupContent, StEmptyGroupDescription } from './components/st-empty/index.ts';
|
|
13
13
|
export { StFormControl } from './components/st-form-control/index.ts';
|
|
14
14
|
export { StFormDescription } from './components/st-form-description/index.ts';
|
|
15
15
|
export { StFormField } from './components/st-form-field/index.ts';
|