@cyberpunk-vue/components 1.13.12 → 1.13.14
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/button/index.d.ts +3 -3
- package/dist/button/src/button.vue.d.ts +1 -1
- package/dist/date-picker/index.d.ts +5 -5
- package/dist/date-picker/src/base-picker.vue.d.ts +2 -2
- package/dist/date-picker/src/date-picker-select.vue.d.ts +2 -2
- package/dist/date-time-picker/index.d.ts +5 -5
- package/dist/date-time-picker/src/date-time-picker.vue.d.ts +2 -2
- package/dist/dialog/index.d.ts +23 -8
- package/dist/dialog/src/dialog.d.ts +9 -1
- package/dist/dialog/src/dialog.vue.d.ts +12 -3
- package/dist/dropdown/index.d.ts +35 -5
- package/dist/dropdown/src/dropdown.d.ts +8 -0
- package/dist/image/index.d.ts +3 -3
- package/dist/image/src/image.vue.d.ts +1 -1
- package/dist/image-preview/index.d.ts +26 -11
- package/dist/image-preview/src/image-preview.d.ts +9 -1
- package/dist/image-preview/src/image-preview.vue.d.ts +13 -4
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4335 -4247
- package/dist/input/index.d.ts +10 -10
- package/dist/input/src/input.vue.d.ts +4 -4
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/src/input-number.vue.d.ts +2 -2
- package/dist/menu/index.d.ts +5 -5
- package/dist/menu/src/menu.vue.d.ts +2 -2
- package/dist/menu-nav/index.d.ts +2 -2
- package/dist/menu-nav/src/menu-nav.vue.d.ts +2 -2
- package/dist/notification/index.d.ts +11 -11
- package/dist/notification/src/notification.vue.d.ts +4 -4
- package/dist/popover/index.d.ts +5 -5
- package/dist/popover/src/popover.vue.d.ts +2 -2
- package/dist/select/index.d.ts +35 -5
- package/dist/select/src/select.d.ts +16 -0
- package/dist/select/src/select.vue.d.ts +20 -2
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/src/slider.vue.d.ts +2 -2
- package/dist/textarea/index.d.ts +4 -4
- package/dist/textarea/src/textarea.vue.d.ts +4 -4
- package/dist/time-picker/index.d.ts +5 -5
- package/dist/time-picker/src/time-picker.vue.d.ts +2 -2
- package/dist/tree/index.d.ts +3 -3
- package/dist/tree/src/tree.vue.d.ts +1 -1
- package/dist/upload/index.d.ts +13 -13
- package/dist/upload/src/upload.vue.d.ts +5 -5
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/overlay-stack.d.ts +13 -0
- package/package.json +4 -4
|
@@ -26,6 +26,10 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
26
26
|
readonly type: NumberConstructor;
|
|
27
27
|
readonly default: 2000;
|
|
28
28
|
};
|
|
29
|
+
readonly stackPriority: {
|
|
30
|
+
readonly type: NumberConstructor;
|
|
31
|
+
readonly default: 100;
|
|
32
|
+
};
|
|
29
33
|
readonly infinite: {
|
|
30
34
|
readonly type: BooleanConstructor;
|
|
31
35
|
readonly default: true;
|
|
@@ -51,9 +55,9 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
51
55
|
readonly default: true;
|
|
52
56
|
};
|
|
53
57
|
}>> & Readonly<{
|
|
58
|
+
onClose?: ((payload: import('.').ImagePreviewPayload) => any) | undefined;
|
|
54
59
|
onSwitch?: ((index: number) => any) | undefined;
|
|
55
60
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
56
|
-
onClose?: ((payload: import('.').ImagePreviewPayload) => any) | undefined;
|
|
57
61
|
}>, {
|
|
58
62
|
close: () => void;
|
|
59
63
|
prev: () => void;
|
|
@@ -64,15 +68,16 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
64
68
|
rotateRight: () => void;
|
|
65
69
|
resetTransform: () => void;
|
|
66
70
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
71
|
+
close: (payload: import('.').ImagePreviewPayload) => void;
|
|
67
72
|
switch: (index: number) => void;
|
|
68
73
|
"update:modelValue": (value: boolean) => void;
|
|
69
|
-
close: (payload: import('.').ImagePreviewPayload) => void;
|
|
70
74
|
}, import('vue').PublicProps, {
|
|
71
|
-
readonly
|
|
75
|
+
readonly zIndex: number;
|
|
76
|
+
readonly stackPriority: number;
|
|
77
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
72
78
|
readonly color: string;
|
|
73
79
|
readonly modelValue: boolean;
|
|
74
80
|
readonly infinite: boolean;
|
|
75
|
-
readonly zIndex: number;
|
|
76
81
|
readonly urlList: string[];
|
|
77
82
|
readonly initialIndex: number;
|
|
78
83
|
readonly teleportTo: string | HTMLElement;
|
|
@@ -102,6 +107,10 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
102
107
|
readonly type: NumberConstructor;
|
|
103
108
|
readonly default: 2000;
|
|
104
109
|
};
|
|
110
|
+
readonly stackPriority: {
|
|
111
|
+
readonly type: NumberConstructor;
|
|
112
|
+
readonly default: 100;
|
|
113
|
+
};
|
|
105
114
|
readonly infinite: {
|
|
106
115
|
readonly type: BooleanConstructor;
|
|
107
116
|
readonly default: true;
|
|
@@ -127,9 +136,9 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
127
136
|
readonly default: true;
|
|
128
137
|
};
|
|
129
138
|
}>> & Readonly<{
|
|
139
|
+
onClose?: ((payload: import('.').ImagePreviewPayload) => any) | undefined;
|
|
130
140
|
onSwitch?: ((index: number) => any) | undefined;
|
|
131
141
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
132
|
-
onClose?: ((payload: import('.').ImagePreviewPayload) => any) | undefined;
|
|
133
142
|
}>, {
|
|
134
143
|
close: () => void;
|
|
135
144
|
prev: () => void;
|
|
@@ -140,11 +149,12 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
140
149
|
rotateRight: () => void;
|
|
141
150
|
resetTransform: () => void;
|
|
142
151
|
}, {}, {}, {}, {
|
|
143
|
-
readonly
|
|
152
|
+
readonly zIndex: number;
|
|
153
|
+
readonly stackPriority: number;
|
|
154
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
144
155
|
readonly color: string;
|
|
145
156
|
readonly modelValue: boolean;
|
|
146
157
|
readonly infinite: boolean;
|
|
147
|
-
readonly zIndex: number;
|
|
148
158
|
readonly urlList: string[];
|
|
149
159
|
readonly initialIndex: number;
|
|
150
160
|
readonly teleportTo: string | HTMLElement;
|
|
@@ -171,6 +181,10 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
171
181
|
readonly type: NumberConstructor;
|
|
172
182
|
readonly default: 2000;
|
|
173
183
|
};
|
|
184
|
+
readonly stackPriority: {
|
|
185
|
+
readonly type: NumberConstructor;
|
|
186
|
+
readonly default: 100;
|
|
187
|
+
};
|
|
174
188
|
readonly infinite: {
|
|
175
189
|
readonly type: BooleanConstructor;
|
|
176
190
|
readonly default: true;
|
|
@@ -196,9 +210,9 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
196
210
|
readonly default: true;
|
|
197
211
|
};
|
|
198
212
|
}>> & Readonly<{
|
|
213
|
+
onClose?: ((payload: import('.').ImagePreviewPayload) => any) | undefined;
|
|
199
214
|
onSwitch?: ((index: number) => any) | undefined;
|
|
200
215
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
201
|
-
onClose?: ((payload: import('.').ImagePreviewPayload) => any) | undefined;
|
|
202
216
|
}>, {
|
|
203
217
|
close: () => void;
|
|
204
218
|
prev: () => void;
|
|
@@ -209,15 +223,16 @@ export declare const CpImagePreview: import('../utils').SFCWithInstall<{
|
|
|
209
223
|
rotateRight: () => void;
|
|
210
224
|
resetTransform: () => void;
|
|
211
225
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
226
|
+
close: (payload: import('.').ImagePreviewPayload) => void;
|
|
212
227
|
switch: (index: number) => void;
|
|
213
228
|
"update:modelValue": (value: boolean) => void;
|
|
214
|
-
close: (payload: import('.').ImagePreviewPayload) => void;
|
|
215
229
|
}, string, {
|
|
216
|
-
readonly
|
|
230
|
+
readonly zIndex: number;
|
|
231
|
+
readonly stackPriority: number;
|
|
232
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
217
233
|
readonly color: string;
|
|
218
234
|
readonly modelValue: boolean;
|
|
219
235
|
readonly infinite: boolean;
|
|
220
|
-
readonly zIndex: number;
|
|
221
236
|
readonly urlList: string[];
|
|
222
237
|
readonly initialIndex: number;
|
|
223
238
|
readonly teleportTo: string | HTMLElement;
|
|
@@ -103,13 +103,21 @@ export declare const imagePreviewProps: {
|
|
|
103
103
|
readonly default: 0;
|
|
104
104
|
};
|
|
105
105
|
/**
|
|
106
|
-
* z-index
|
|
106
|
+
* 基础 z-index。多个前台弹层同时打开时会以该值为基础自动递增层级
|
|
107
107
|
* @default 2000
|
|
108
108
|
*/
|
|
109
109
|
readonly zIndex: {
|
|
110
110
|
readonly type: NumberConstructor;
|
|
111
111
|
readonly default: 2000;
|
|
112
112
|
};
|
|
113
|
+
/**
|
|
114
|
+
* 前台弹层栈优先级。默认高于 Dialog,确保图片预览打开后位于 Dialog 上方
|
|
115
|
+
* @default 100
|
|
116
|
+
*/
|
|
117
|
+
readonly stackPriority: {
|
|
118
|
+
readonly type: NumberConstructor;
|
|
119
|
+
readonly default: 100;
|
|
120
|
+
};
|
|
113
121
|
/**
|
|
114
122
|
* 是否支持循环切换(到最后一张后跳回第一张)
|
|
115
123
|
* @default true
|
|
@@ -41,6 +41,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
41
41
|
readonly type: NumberConstructor;
|
|
42
42
|
readonly default: 2000;
|
|
43
43
|
};
|
|
44
|
+
readonly stackPriority: {
|
|
45
|
+
readonly type: NumberConstructor;
|
|
46
|
+
readonly default: 100;
|
|
47
|
+
};
|
|
44
48
|
readonly infinite: {
|
|
45
49
|
readonly type: BooleanConstructor;
|
|
46
50
|
readonly default: true;
|
|
@@ -83,9 +87,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
83
87
|
/** 还原缩放 & 旋转 */
|
|
84
88
|
resetTransform: () => void;
|
|
85
89
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
90
|
+
close: (payload: import('./image-preview').ImagePreviewPayload) => void;
|
|
86
91
|
switch: (index: number) => void;
|
|
87
92
|
"update:modelValue": (value: boolean) => void;
|
|
88
|
-
close: (payload: import('./image-preview').ImagePreviewPayload) => void;
|
|
89
93
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
90
94
|
readonly modelValue: {
|
|
91
95
|
readonly type: BooleanConstructor;
|
|
@@ -103,6 +107,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
103
107
|
readonly type: NumberConstructor;
|
|
104
108
|
readonly default: 2000;
|
|
105
109
|
};
|
|
110
|
+
readonly stackPriority: {
|
|
111
|
+
readonly type: NumberConstructor;
|
|
112
|
+
readonly default: 100;
|
|
113
|
+
};
|
|
106
114
|
readonly infinite: {
|
|
107
115
|
readonly type: BooleanConstructor;
|
|
108
116
|
readonly default: true;
|
|
@@ -128,15 +136,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
128
136
|
readonly default: true;
|
|
129
137
|
};
|
|
130
138
|
}>> & Readonly<{
|
|
139
|
+
onClose?: ((payload: import('./image-preview').ImagePreviewPayload) => any) | undefined;
|
|
131
140
|
onSwitch?: ((index: number) => any) | undefined;
|
|
132
141
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
133
|
-
onClose?: ((payload: import('./image-preview').ImagePreviewPayload) => any) | undefined;
|
|
134
142
|
}>, {
|
|
135
|
-
readonly
|
|
143
|
+
readonly zIndex: number;
|
|
144
|
+
readonly stackPriority: number;
|
|
145
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
136
146
|
readonly color: string;
|
|
137
147
|
readonly modelValue: boolean;
|
|
138
148
|
readonly infinite: boolean;
|
|
139
|
-
readonly zIndex: number;
|
|
140
149
|
readonly urlList: string[];
|
|
141
150
|
readonly initialIndex: number;
|
|
142
151
|
readonly teleportTo: string | HTMLElement;
|