cosey 0.5.4 → 0.5.6
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/form/form.api.d.ts +1 -1
- package/components/form/form.api.js +15 -1
- package/components/transition/index.d.ts +3 -0
- package/components/transition/transition.api.d.ts +1 -0
- package/components/transition/transition.api.js +2 -1
- package/components/transition/transition.d.ts +2 -0
- package/components/transition-group/index.d.ts +3 -0
- package/components/transition-group/transition-group.api.d.ts +1 -0
- package/components/transition-group/transition-group.d.ts +2 -0
- package/components/upload/upload-item.js +1 -1
- package/components/upload/upload.style.js +2 -4
- package/package.json +1 -1
|
@@ -125,7 +125,7 @@ export declare const formProps: {
|
|
|
125
125
|
disabled: BooleanConstructor;
|
|
126
126
|
};
|
|
127
127
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
128
|
-
export declare const formPropsOmit: readonly ["grid", "rowProps", "colProps", "width"];
|
|
128
|
+
export declare const formPropsOmit: readonly ["grid", "rowProps", "colProps", "width", "readonly", "submit", "reset", "submitText", "resetText", "submitProps", "resetProps", "hideSubmit", "hideReset"];
|
|
129
129
|
export interface FormSlots {
|
|
130
130
|
default: {};
|
|
131
131
|
button: {
|
|
@@ -46,7 +46,21 @@ const formProps = {
|
|
|
46
46
|
type: Boolean
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
const formPropsOmit = [
|
|
49
|
+
const formPropsOmit = [
|
|
50
|
+
"grid",
|
|
51
|
+
"rowProps",
|
|
52
|
+
"colProps",
|
|
53
|
+
"width",
|
|
54
|
+
"readonly",
|
|
55
|
+
"submit",
|
|
56
|
+
"reset",
|
|
57
|
+
"submitText",
|
|
58
|
+
"resetText",
|
|
59
|
+
"submitProps",
|
|
60
|
+
"resetProps",
|
|
61
|
+
"hideSubmit",
|
|
62
|
+
"hideReset"
|
|
63
|
+
];
|
|
50
64
|
const formSlots = Object;
|
|
51
65
|
const formEmits = {
|
|
52
66
|
...formEmits$1
|
|
@@ -23,6 +23,7 @@ declare const _Transition: {
|
|
|
23
23
|
};
|
|
24
24
|
appear: {
|
|
25
25
|
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
26
27
|
};
|
|
27
28
|
enterFromClass: {
|
|
28
29
|
type: StringConstructor;
|
|
@@ -85,6 +86,7 @@ declare const _Transition: {
|
|
|
85
86
|
};
|
|
86
87
|
appear: {
|
|
87
88
|
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
88
90
|
};
|
|
89
91
|
enterFromClass: {
|
|
90
92
|
type: StringConstructor;
|
|
@@ -144,6 +146,7 @@ declare const _Transition: {
|
|
|
144
146
|
};
|
|
145
147
|
appear: {
|
|
146
148
|
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
147
150
|
};
|
|
148
151
|
enterFromClass: {
|
|
149
152
|
type: StringConstructor;
|
|
@@ -21,6 +21,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
21
21
|
};
|
|
22
22
|
appear: {
|
|
23
23
|
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
24
25
|
};
|
|
25
26
|
enterFromClass: {
|
|
26
27
|
type: StringConstructor;
|
|
@@ -72,6 +73,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
72
73
|
};
|
|
73
74
|
appear: {
|
|
74
75
|
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
75
77
|
};
|
|
76
78
|
enterFromClass: {
|
|
77
79
|
type: StringConstructor;
|
|
@@ -26,6 +26,7 @@ declare const _TransitionGroup: {
|
|
|
26
26
|
};
|
|
27
27
|
appear: {
|
|
28
28
|
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
29
30
|
};
|
|
30
31
|
css: {
|
|
31
32
|
type: BooleanConstructor;
|
|
@@ -96,6 +97,7 @@ declare const _TransitionGroup: {
|
|
|
96
97
|
};
|
|
97
98
|
appear: {
|
|
98
99
|
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
99
101
|
};
|
|
100
102
|
css: {
|
|
101
103
|
type: BooleanConstructor;
|
|
@@ -163,6 +165,7 @@ declare const _TransitionGroup: {
|
|
|
163
165
|
};
|
|
164
166
|
appear: {
|
|
165
167
|
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
166
169
|
};
|
|
167
170
|
css: {
|
|
168
171
|
type: BooleanConstructor;
|
|
@@ -24,6 +24,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
};
|
|
25
25
|
appear: {
|
|
26
26
|
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
27
28
|
};
|
|
28
29
|
css: {
|
|
29
30
|
type: BooleanConstructor;
|
|
@@ -82,6 +83,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
83
|
};
|
|
83
84
|
appear: {
|
|
84
85
|
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
85
87
|
};
|
|
86
88
|
css: {
|
|
87
89
|
type: BooleanConstructor;
|
|
@@ -38,7 +38,7 @@ var stdin_default = defineComponent({
|
|
|
38
38
|
return () => {
|
|
39
39
|
let _slot, _slot2, _slot3;
|
|
40
40
|
return createVNode("div", {
|
|
41
|
-
"class": `${prefixCls.value}-item`
|
|
41
|
+
"class": `${prefixCls.value}-item is-${props.size}`
|
|
42
42
|
}, [createVNode(_MediaCard, {
|
|
43
43
|
"ref": "media",
|
|
44
44
|
"src": props.file.previewUrl,
|
|
@@ -19,10 +19,8 @@ var stdin_default = getSimpleStyleHook("CoUpload", (token) => {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
[`${componentCls}-item`]: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
overflow: "hidden",
|
|
25
|
-
borderRadius: token.borderRadiusLG
|
|
22
|
+
...getMediaCardStyle(token),
|
|
23
|
+
border: void 0
|
|
26
24
|
},
|
|
27
25
|
[`${componentCls}-status`]: {
|
|
28
26
|
position: "absolute",
|