pxcube-ui 0.2.2 → 0.2.3
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/components/message/index.js +1 -1
- package/components/message/index.mjs +32 -33
- package/package.json +1 -4
- package/pixel-ui/version.js +1 -1
- package/pixel-ui/version.mjs +1 -1
- package/styles/components/message.css +0 -5
- package/styles/index.css +1 -6
- package/types/components/button/src/button.d.ts +79 -0
- package/types/components/image/src/image.d.ts +0 -59
- package/types/components/message/src/message.d.ts +57 -7
- package/types/pixel-ui/version.d.ts +1 -1
|
@@ -57,3 +57,82 @@ export declare const buttonProps: {
|
|
|
57
57
|
export declare const buttonItemSize: ButtonTypes.ButtonSizesData;
|
|
58
58
|
export declare const buttonItemType: ButtonTypes.ButtonTypesData;
|
|
59
59
|
export type ButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
60
|
+
{
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
65
|
+
width: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
height: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
size: {
|
|
74
|
+
type: import('vue').PropType<ButtonTypes.Sizes>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
type: {
|
|
78
|
+
type: import('vue').PropType<ButtonTypes.Types>;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
animation: {
|
|
82
|
+
type: import('vue').PropType<ButtonTypes.AnimationTypes>;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
radius: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
color: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
icon: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
iconSize: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
iconColor: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
round: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
hollow: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
disabled: {
|
|
114
|
+
type: BooleanConstructor;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
}>> & Readonly<{}>, {
|
|
118
|
+
size: ButtonTypes.Sizes;
|
|
119
|
+
type: ButtonTypes.Types;
|
|
120
|
+
width: string;
|
|
121
|
+
height: string;
|
|
122
|
+
round: boolean;
|
|
123
|
+
color: string;
|
|
124
|
+
icon: string;
|
|
125
|
+
animation: ButtonTypes.AnimationTypes;
|
|
126
|
+
radius: string;
|
|
127
|
+
iconSize: string;
|
|
128
|
+
iconColor: string;
|
|
129
|
+
hollow: boolean;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
132
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
133
|
+
export default _default;
|
|
134
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
135
|
+
new (): {
|
|
136
|
+
$slots: S;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
@@ -46,62 +46,3 @@ export declare const imageProps: {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
export type ImageProps = ExtractPropTypes<typeof imageProps>;
|
|
49
|
-
in, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
-
canClick: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
alt: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
src: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
width: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
height: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
ossUrl: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
ossOff: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: boolean;
|
|
77
|
-
};
|
|
78
|
-
cover: {
|
|
79
|
-
type: BooleanConstructor;
|
|
80
|
-
default: boolean;
|
|
81
|
-
};
|
|
82
|
-
userSelect: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
radius: {
|
|
87
|
-
type: StringConstructor;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
border: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
}>> & Readonly<{}>, {
|
|
95
|
-
width: string;
|
|
96
|
-
height: string;
|
|
97
|
-
radius: string;
|
|
98
|
-
border: string;
|
|
99
|
-
ossUrl: string;
|
|
100
|
-
ossOff: boolean;
|
|
101
|
-
canClick: boolean;
|
|
102
|
-
alt: string;
|
|
103
|
-
src: string;
|
|
104
|
-
cover: boolean;
|
|
105
|
-
userSelect: boolean;
|
|
106
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
107
|
-
export default _default;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import type * as MessageType from "./types";
|
|
3
|
-
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
3
|
readonly messageID: {
|
|
5
4
|
readonly type: NumberConstructor;
|
|
6
5
|
readonly default: -1;
|
|
@@ -10,11 +9,11 @@ export declare const messageProps: {
|
|
|
10
9
|
readonly default: "这是一个消息";
|
|
11
10
|
};
|
|
12
11
|
readonly type: {
|
|
13
|
-
readonly type: PropType<MessageType.messageType>;
|
|
12
|
+
readonly type: import('vue').PropType<MessageType.messageType>;
|
|
14
13
|
readonly default: "success";
|
|
15
14
|
};
|
|
16
15
|
readonly position: {
|
|
17
|
-
readonly type: PropType<MessageType.positionType>;
|
|
16
|
+
readonly type: import('vue').PropType<MessageType.positionType>;
|
|
18
17
|
readonly default: "top";
|
|
19
18
|
};
|
|
20
19
|
readonly border: {
|
|
@@ -41,6 +40,57 @@ export declare const messageProps: {
|
|
|
41
40
|
readonly type: NumberConstructor;
|
|
42
41
|
readonly default: 0;
|
|
43
42
|
};
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
|
+
readonly messageID: {
|
|
45
|
+
readonly type: NumberConstructor;
|
|
46
|
+
readonly default: -1;
|
|
47
|
+
};
|
|
48
|
+
readonly message: {
|
|
49
|
+
readonly type: StringConstructor;
|
|
50
|
+
readonly default: "这是一个消息";
|
|
51
|
+
};
|
|
52
|
+
readonly type: {
|
|
53
|
+
readonly type: import('vue').PropType<MessageType.messageType>;
|
|
54
|
+
readonly default: "success";
|
|
55
|
+
};
|
|
56
|
+
readonly position: {
|
|
57
|
+
readonly type: import('vue').PropType<MessageType.positionType>;
|
|
58
|
+
readonly default: "top";
|
|
59
|
+
};
|
|
60
|
+
readonly border: {
|
|
61
|
+
readonly type: BooleanConstructor;
|
|
62
|
+
readonly default: true;
|
|
63
|
+
};
|
|
64
|
+
readonly icon: {
|
|
65
|
+
readonly type: StringConstructor;
|
|
66
|
+
readonly default: "";
|
|
67
|
+
};
|
|
68
|
+
readonly showIcon: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: true;
|
|
71
|
+
};
|
|
72
|
+
readonly duration: {
|
|
73
|
+
readonly type: NumberConstructor;
|
|
74
|
+
readonly default: 2500;
|
|
75
|
+
};
|
|
76
|
+
readonly close: {
|
|
77
|
+
readonly type: BooleanConstructor;
|
|
78
|
+
readonly default: false;
|
|
79
|
+
};
|
|
80
|
+
readonly offset: {
|
|
81
|
+
readonly type: NumberConstructor;
|
|
82
|
+
readonly default: 0;
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{}>, {
|
|
85
|
+
readonly type: MessageType.messageType;
|
|
86
|
+
readonly icon: string;
|
|
87
|
+
readonly border: boolean;
|
|
88
|
+
readonly duration: number;
|
|
89
|
+
readonly close: boolean;
|
|
90
|
+
readonly message: string;
|
|
91
|
+
readonly messageID: number;
|
|
92
|
+
readonly position: MessageType.positionType;
|
|
93
|
+
readonly showIcon: boolean;
|
|
94
|
+
readonly offset: number;
|
|
95
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
96
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.2.
|
|
1
|
+
export declare const version = "0.2.3";
|
|
2
2
|
export declare const updateDate = "2026-09-20";
|