@cyberpunk-vue/components 1.13.12 → 1.13.13
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 +5 -5
- 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 +1436 -1373
- 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 +5 -5
- package/dist/select/src/select.vue.d.ts +2 -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
package/dist/button/index.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
132
132
|
readonly disabled: boolean;
|
|
133
133
|
readonly loading: boolean;
|
|
134
134
|
readonly block: boolean;
|
|
135
|
-
readonly nativeType: "
|
|
135
|
+
readonly nativeType: "reset" | "submit" | "button";
|
|
136
136
|
readonly shape: "clip" | "no-clip" | "round" | "circle";
|
|
137
137
|
readonly dashed: boolean;
|
|
138
138
|
readonly decoration: boolean;
|
|
@@ -268,7 +268,7 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
268
268
|
readonly disabled: boolean;
|
|
269
269
|
readonly loading: boolean;
|
|
270
270
|
readonly block: boolean;
|
|
271
|
-
readonly nativeType: "
|
|
271
|
+
readonly nativeType: "reset" | "submit" | "button";
|
|
272
272
|
readonly shape: "clip" | "no-clip" | "round" | "circle";
|
|
273
273
|
readonly dashed: boolean;
|
|
274
274
|
readonly decoration: boolean;
|
|
@@ -403,7 +403,7 @@ export declare const CpButton: import('../utils').SFCWithInstall<{
|
|
|
403
403
|
readonly disabled: boolean;
|
|
404
404
|
readonly loading: boolean;
|
|
405
405
|
readonly block: boolean;
|
|
406
|
-
readonly nativeType: "
|
|
406
|
+
readonly nativeType: "reset" | "submit" | "button";
|
|
407
407
|
readonly shape: "clip" | "no-clip" | "round" | "circle";
|
|
408
408
|
readonly dashed: boolean;
|
|
409
409
|
readonly decoration: boolean;
|
|
@@ -225,7 +225,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
225
225
|
readonly disabled: boolean;
|
|
226
226
|
readonly loading: boolean;
|
|
227
227
|
readonly block: boolean;
|
|
228
|
-
readonly nativeType: "
|
|
228
|
+
readonly nativeType: "reset" | "submit" | "button";
|
|
229
229
|
readonly shape: "clip" | "no-clip" | "round" | "circle";
|
|
230
230
|
readonly dashed: boolean;
|
|
231
231
|
readonly decoration: boolean;
|
|
@@ -381,15 +381,15 @@ export declare const CpDatePickerSelect: import('../utils').SFCWithInstall<{
|
|
|
381
381
|
onClear?: (() => any) | undefined;
|
|
382
382
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
383
383
|
onChange?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
384
|
-
"onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
385
384
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
385
|
+
"onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
386
386
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
387
387
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
388
388
|
clear: () => void;
|
|
389
389
|
blur: (event?: FocusEvent | undefined) => void;
|
|
390
390
|
change: (_value: import('.').PickerModelValue) => void;
|
|
391
|
-
"update:modelValue": (_value: import('.').PickerModelValue) => void;
|
|
392
391
|
focus: (event?: FocusEvent | undefined) => void;
|
|
392
|
+
"update:modelValue": (_value: import('.').PickerModelValue) => void;
|
|
393
393
|
visibleChange: (visible: boolean) => void;
|
|
394
394
|
}, import('vue').PublicProps, {
|
|
395
395
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -574,8 +574,8 @@ export declare const CpDatePickerSelect: import('../utils').SFCWithInstall<{
|
|
|
574
574
|
onClear?: (() => any) | undefined;
|
|
575
575
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
576
576
|
onChange?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
577
|
-
"onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
578
577
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
578
|
+
"onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
579
579
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
580
580
|
}>, {}, {}, {}, {}, {
|
|
581
581
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -757,15 +757,15 @@ export declare const CpDatePickerSelect: import('../utils').SFCWithInstall<{
|
|
|
757
757
|
onClear?: (() => any) | undefined;
|
|
758
758
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
759
759
|
onChange?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
760
|
-
"onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
761
760
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
761
|
+
"onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
|
|
762
762
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
763
763
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
764
764
|
clear: () => void;
|
|
765
765
|
blur: (event?: FocusEvent | undefined) => void;
|
|
766
766
|
change: (_value: import('.').PickerModelValue) => void;
|
|
767
|
-
"update:modelValue": (_value: import('.').PickerModelValue) => void;
|
|
768
767
|
focus: (event?: FocusEvent | undefined) => void;
|
|
768
|
+
"update:modelValue": (_value: import('.').PickerModelValue) => void;
|
|
769
769
|
visibleChange: (visible: boolean) => void;
|
|
770
770
|
}, string, {
|
|
771
771
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -180,8 +180,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
180
180
|
clear: () => void;
|
|
181
181
|
blur: (event?: FocusEvent | undefined) => void;
|
|
182
182
|
change: (_value: PickerModelValue) => void;
|
|
183
|
-
"update:modelValue": (_value: PickerModelValue) => void;
|
|
184
183
|
focus: (event?: FocusEvent | undefined) => void;
|
|
184
|
+
"update:modelValue": (_value: PickerModelValue) => void;
|
|
185
185
|
visibleChange: (visible: boolean) => void;
|
|
186
186
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
187
187
|
readonly modelValue: {
|
|
@@ -324,8 +324,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
324
324
|
onClear?: (() => any) | undefined;
|
|
325
325
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
326
326
|
onChange?: ((_value: PickerModelValue) => any) | undefined;
|
|
327
|
-
"onUpdate:modelValue"?: ((_value: PickerModelValue) => any) | undefined;
|
|
328
327
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
328
|
+
"onUpdate:modelValue"?: ((_value: PickerModelValue) => any) | undefined;
|
|
329
329
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
330
330
|
}>, {
|
|
331
331
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -157,8 +157,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
157
157
|
clear: () => void;
|
|
158
158
|
blur: (event?: FocusEvent | undefined) => void;
|
|
159
159
|
change: (_value: import('./date-picker-select').PickerModelValue) => void;
|
|
160
|
-
"update:modelValue": (_value: import('./date-picker-select').PickerModelValue) => void;
|
|
161
160
|
focus: (event?: FocusEvent | undefined) => void;
|
|
161
|
+
"update:modelValue": (_value: import('./date-picker-select').PickerModelValue) => void;
|
|
162
162
|
visibleChange: (visible: boolean) => void;
|
|
163
163
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
164
164
|
readonly modelValue: {
|
|
@@ -301,8 +301,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
301
301
|
onClear?: (() => any) | undefined;
|
|
302
302
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
303
303
|
onChange?: ((_value: import('./date-picker-select').PickerModelValue) => any) | undefined;
|
|
304
|
-
"onUpdate:modelValue"?: ((_value: import('./date-picker-select').PickerModelValue) => any) | undefined;
|
|
305
304
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
305
|
+
"onUpdate:modelValue"?: ((_value: import('./date-picker-select').PickerModelValue) => any) | undefined;
|
|
306
306
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
307
307
|
}>, {
|
|
308
308
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -145,15 +145,15 @@ export declare const CpDateTimePicker: import('../utils').SFCWithInstall<{
|
|
|
145
145
|
onClear?: (() => any) | undefined;
|
|
146
146
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
147
147
|
onChange?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
148
|
-
"onUpdate:modelValue"?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
149
148
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
149
|
+
"onUpdate:modelValue"?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
150
150
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
152
152
|
clear: () => void;
|
|
153
153
|
blur: (event?: FocusEvent | undefined) => void;
|
|
154
154
|
change: (_value: import('../date-picker/src/picker').PickerModelValue) => void;
|
|
155
|
-
"update:modelValue": (_value: import('../date-picker/src/picker').PickerModelValue) => void;
|
|
156
155
|
focus: (event?: FocusEvent | undefined) => void;
|
|
156
|
+
"update:modelValue": (_value: import('../date-picker/src/picker').PickerModelValue) => void;
|
|
157
157
|
visibleChange: (visible: boolean) => void;
|
|
158
158
|
}, import('vue').PublicProps, {
|
|
159
159
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -338,8 +338,8 @@ export declare const CpDateTimePicker: import('../utils').SFCWithInstall<{
|
|
|
338
338
|
onClear?: (() => any) | undefined;
|
|
339
339
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
340
340
|
onChange?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
341
|
-
"onUpdate:modelValue"?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
342
341
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
342
|
+
"onUpdate:modelValue"?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
343
343
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
344
344
|
}>, {}, {}, {}, {}, {
|
|
345
345
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -521,15 +521,15 @@ export declare const CpDateTimePicker: import('../utils').SFCWithInstall<{
|
|
|
521
521
|
onClear?: (() => any) | undefined;
|
|
522
522
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
523
523
|
onChange?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
524
|
-
"onUpdate:modelValue"?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
525
524
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
525
|
+
"onUpdate:modelValue"?: ((_value: import('../date-picker/src/picker').PickerModelValue) => any) | undefined;
|
|
526
526
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
527
527
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
528
528
|
clear: () => void;
|
|
529
529
|
blur: (event?: FocusEvent | undefined) => void;
|
|
530
530
|
change: (_value: import('../date-picker/src/picker').PickerModelValue) => void;
|
|
531
|
-
"update:modelValue": (_value: import('../date-picker/src/picker').PickerModelValue) => void;
|
|
532
531
|
focus: (event?: FocusEvent | undefined) => void;
|
|
532
|
+
"update:modelValue": (_value: import('../date-picker/src/picker').PickerModelValue) => void;
|
|
533
533
|
visibleChange: (visible: boolean) => void;
|
|
534
534
|
}, string, {
|
|
535
535
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -157,8 +157,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
157
157
|
clear: () => void;
|
|
158
158
|
blur: (event?: FocusEvent | undefined) => void;
|
|
159
159
|
change: (_value: import('..').PickerModelValue) => void;
|
|
160
|
-
"update:modelValue": (_value: import('..').PickerModelValue) => void;
|
|
161
160
|
focus: (event?: FocusEvent | undefined) => void;
|
|
161
|
+
"update:modelValue": (_value: import('..').PickerModelValue) => void;
|
|
162
162
|
visibleChange: (visible: boolean) => void;
|
|
163
163
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
164
164
|
readonly type: {
|
|
@@ -301,8 +301,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
301
301
|
onClear?: (() => any) | undefined;
|
|
302
302
|
onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
303
303
|
onChange?: ((_value: import('..').PickerModelValue) => any) | undefined;
|
|
304
|
-
"onUpdate:modelValue"?: ((_value: import('..').PickerModelValue) => any) | undefined;
|
|
305
304
|
onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
|
|
305
|
+
"onUpdate:modelValue"?: ((_value: import('..').PickerModelValue) => any) | undefined;
|
|
306
306
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
307
307
|
}>, {
|
|
308
308
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
package/dist/dialog/index.d.ts
CHANGED
|
@@ -215,6 +215,10 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
215
215
|
type: NumberConstructor;
|
|
216
216
|
default: number;
|
|
217
217
|
};
|
|
218
|
+
stackPriority: {
|
|
219
|
+
type: NumberConstructor;
|
|
220
|
+
default: number;
|
|
221
|
+
};
|
|
218
222
|
showConfirmButton: {
|
|
219
223
|
type: BooleanConstructor;
|
|
220
224
|
default: boolean;
|
|
@@ -232,9 +236,9 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
232
236
|
default: string;
|
|
233
237
|
};
|
|
234
238
|
}>> & Readonly<{
|
|
235
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
236
239
|
onCancel?: (() => any) | undefined;
|
|
237
240
|
onClose?: (() => any) | undefined;
|
|
241
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
238
242
|
onOpen?: (() => any) | undefined;
|
|
239
243
|
onOpened?: (() => any) | undefined;
|
|
240
244
|
onClosed?: (() => any) | undefined;
|
|
@@ -244,14 +248,16 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
244
248
|
resetPosition: () => void;
|
|
245
249
|
visible: import('vue').Ref<boolean, boolean>;
|
|
246
250
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
247
|
-
"update:modelValue": (value: boolean) => void;
|
|
248
251
|
cancel: () => void;
|
|
249
252
|
close: () => void;
|
|
253
|
+
"update:modelValue": (value: boolean) => void;
|
|
250
254
|
open: () => void;
|
|
251
255
|
opened: () => void;
|
|
252
256
|
closed: () => void;
|
|
253
257
|
confirm: () => void;
|
|
254
258
|
}, import('vue').PublicProps, {
|
|
259
|
+
zIndex: number;
|
|
260
|
+
stackPriority: number;
|
|
255
261
|
width: string | number;
|
|
256
262
|
type: import('.').DialogType;
|
|
257
263
|
color: string;
|
|
@@ -263,7 +269,6 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
263
269
|
top: string;
|
|
264
270
|
center: boolean;
|
|
265
271
|
modelValue: boolean;
|
|
266
|
-
zIndex: number;
|
|
267
272
|
borderColor: string;
|
|
268
273
|
overflow: boolean;
|
|
269
274
|
headerBorder: boolean;
|
|
@@ -507,6 +512,10 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
507
512
|
type: NumberConstructor;
|
|
508
513
|
default: number;
|
|
509
514
|
};
|
|
515
|
+
stackPriority: {
|
|
516
|
+
type: NumberConstructor;
|
|
517
|
+
default: number;
|
|
518
|
+
};
|
|
510
519
|
showConfirmButton: {
|
|
511
520
|
type: BooleanConstructor;
|
|
512
521
|
default: boolean;
|
|
@@ -524,9 +533,9 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
524
533
|
default: string;
|
|
525
534
|
};
|
|
526
535
|
}>> & Readonly<{
|
|
527
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
528
536
|
onCancel?: (() => any) | undefined;
|
|
529
537
|
onClose?: (() => any) | undefined;
|
|
538
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
530
539
|
onOpen?: (() => any) | undefined;
|
|
531
540
|
onOpened?: (() => any) | undefined;
|
|
532
541
|
onClosed?: (() => any) | undefined;
|
|
@@ -536,6 +545,8 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
536
545
|
resetPosition: () => void;
|
|
537
546
|
visible: import('vue').Ref<boolean, boolean>;
|
|
538
547
|
}, {}, {}, {}, {
|
|
548
|
+
zIndex: number;
|
|
549
|
+
stackPriority: number;
|
|
539
550
|
width: string | number;
|
|
540
551
|
type: import('.').DialogType;
|
|
541
552
|
color: string;
|
|
@@ -547,7 +558,6 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
547
558
|
top: string;
|
|
548
559
|
center: boolean;
|
|
549
560
|
modelValue: boolean;
|
|
550
|
-
zIndex: number;
|
|
551
561
|
borderColor: string;
|
|
552
562
|
overflow: boolean;
|
|
553
563
|
headerBorder: boolean;
|
|
@@ -785,6 +795,10 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
785
795
|
type: NumberConstructor;
|
|
786
796
|
default: number;
|
|
787
797
|
};
|
|
798
|
+
stackPriority: {
|
|
799
|
+
type: NumberConstructor;
|
|
800
|
+
default: number;
|
|
801
|
+
};
|
|
788
802
|
showConfirmButton: {
|
|
789
803
|
type: BooleanConstructor;
|
|
790
804
|
default: boolean;
|
|
@@ -802,9 +816,9 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
802
816
|
default: string;
|
|
803
817
|
};
|
|
804
818
|
}>> & Readonly<{
|
|
805
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
806
819
|
onCancel?: (() => any) | undefined;
|
|
807
820
|
onClose?: (() => any) | undefined;
|
|
821
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
808
822
|
onOpen?: (() => any) | undefined;
|
|
809
823
|
onOpened?: (() => any) | undefined;
|
|
810
824
|
onClosed?: (() => any) | undefined;
|
|
@@ -814,14 +828,16 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
814
828
|
resetPosition: () => void;
|
|
815
829
|
visible: import('vue').Ref<boolean, boolean>;
|
|
816
830
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
817
|
-
"update:modelValue": (value: boolean) => void;
|
|
818
831
|
cancel: () => void;
|
|
819
832
|
close: () => void;
|
|
833
|
+
"update:modelValue": (value: boolean) => void;
|
|
820
834
|
open: () => void;
|
|
821
835
|
opened: () => void;
|
|
822
836
|
closed: () => void;
|
|
823
837
|
confirm: () => void;
|
|
824
838
|
}, string, {
|
|
839
|
+
zIndex: number;
|
|
840
|
+
stackPriority: number;
|
|
825
841
|
width: string | number;
|
|
826
842
|
type: import('.').DialogType;
|
|
827
843
|
color: string;
|
|
@@ -833,7 +849,6 @@ export declare const CpDialog: import('../utils').SFCWithInstall<{
|
|
|
833
849
|
top: string;
|
|
834
850
|
center: boolean;
|
|
835
851
|
modelValue: boolean;
|
|
836
|
-
zIndex: number;
|
|
837
852
|
borderColor: string;
|
|
838
853
|
overflow: boolean;
|
|
839
854
|
headerBorder: boolean;
|
|
@@ -428,13 +428,21 @@ export declare const dialogProps: {
|
|
|
428
428
|
default: undefined;
|
|
429
429
|
};
|
|
430
430
|
/**
|
|
431
|
-
* z-index
|
|
431
|
+
* 基础 z-index。多个 Dialog 同时打开时会以该值为基础自动递增层级
|
|
432
432
|
* @default 2000
|
|
433
433
|
*/
|
|
434
434
|
zIndex: {
|
|
435
435
|
type: NumberConstructor;
|
|
436
436
|
default: number;
|
|
437
437
|
};
|
|
438
|
+
/**
|
|
439
|
+
* Dialog 栈优先级。值越大层级越高,同优先级内后打开的 Dialog 位于更上层
|
|
440
|
+
* @default 0
|
|
441
|
+
*/
|
|
442
|
+
stackPriority: {
|
|
443
|
+
type: NumberConstructor;
|
|
444
|
+
default: number;
|
|
445
|
+
};
|
|
438
446
|
/**
|
|
439
447
|
* 是否显示确认按钮(当无 #footer 插槽时生效)
|
|
440
448
|
* @default true
|
|
@@ -213,6 +213,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
213
213
|
type: NumberConstructor;
|
|
214
214
|
default: number;
|
|
215
215
|
};
|
|
216
|
+
stackPriority: {
|
|
217
|
+
type: NumberConstructor;
|
|
218
|
+
default: number;
|
|
219
|
+
};
|
|
216
220
|
showConfirmButton: {
|
|
217
221
|
type: BooleanConstructor;
|
|
218
222
|
default: boolean;
|
|
@@ -237,9 +241,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
237
241
|
/** @description 当前是否可见 */
|
|
238
242
|
visible: import('vue').Ref<boolean, boolean>;
|
|
239
243
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
240
|
-
"update:modelValue": (value: boolean) => void;
|
|
241
244
|
cancel: () => void;
|
|
242
245
|
close: () => void;
|
|
246
|
+
"update:modelValue": (value: boolean) => void;
|
|
243
247
|
open: () => void;
|
|
244
248
|
opened: () => void;
|
|
245
249
|
closed: () => void;
|
|
@@ -437,6 +441,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
437
441
|
type: NumberConstructor;
|
|
438
442
|
default: number;
|
|
439
443
|
};
|
|
444
|
+
stackPriority: {
|
|
445
|
+
type: NumberConstructor;
|
|
446
|
+
default: number;
|
|
447
|
+
};
|
|
440
448
|
showConfirmButton: {
|
|
441
449
|
type: BooleanConstructor;
|
|
442
450
|
default: boolean;
|
|
@@ -454,14 +462,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
454
462
|
default: string;
|
|
455
463
|
};
|
|
456
464
|
}>> & Readonly<{
|
|
457
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
458
465
|
onCancel?: (() => any) | undefined;
|
|
459
466
|
onClose?: (() => any) | undefined;
|
|
467
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
460
468
|
onOpen?: (() => any) | undefined;
|
|
461
469
|
onOpened?: (() => any) | undefined;
|
|
462
470
|
onClosed?: (() => any) | undefined;
|
|
463
471
|
onConfirm?: (() => any) | undefined;
|
|
464
472
|
}>, {
|
|
473
|
+
zIndex: number;
|
|
474
|
+
stackPriority: number;
|
|
465
475
|
width: string | number;
|
|
466
476
|
type: import('./dialog').DialogType;
|
|
467
477
|
color: string;
|
|
@@ -473,7 +483,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
473
483
|
top: string;
|
|
474
484
|
center: boolean;
|
|
475
485
|
modelValue: boolean;
|
|
476
|
-
zIndex: number;
|
|
477
486
|
borderColor: string;
|
|
478
487
|
overflow: boolean;
|
|
479
488
|
headerBorder: boolean;
|
package/dist/dropdown/index.d.ts
CHANGED
|
@@ -89,8 +89,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
89
89
|
onClear?: (() => any) | undefined;
|
|
90
90
|
onBlur?: (() => any) | undefined;
|
|
91
91
|
onChange?: ((value: string | number) => any) | undefined;
|
|
92
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
93
92
|
onFocus?: (() => any) | undefined;
|
|
93
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
94
94
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
95
95
|
}>, {
|
|
96
96
|
open: () => void;
|
|
@@ -102,8 +102,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
102
102
|
clear: () => void;
|
|
103
103
|
blur: () => void;
|
|
104
104
|
change: (value: string | number) => void;
|
|
105
|
-
"update:modelValue": (value: string | number) => void;
|
|
106
105
|
focus: () => void;
|
|
106
|
+
"update:modelValue": (value: string | number) => void;
|
|
107
107
|
visibleChange: (visible: boolean) => void;
|
|
108
108
|
}, import('vue').PublicProps, {
|
|
109
109
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
|
@@ -228,8 +228,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
228
228
|
onClear?: (() => any) | undefined;
|
|
229
229
|
onBlur?: (() => any) | undefined;
|
|
230
230
|
onChange?: ((value: string | number) => any) | undefined;
|
|
231
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
232
231
|
onFocus?: (() => any) | undefined;
|
|
232
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
233
233
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
234
234
|
}>, {
|
|
235
235
|
open: () => void;
|
|
@@ -352,8 +352,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
352
352
|
onClear?: (() => any) | undefined;
|
|
353
353
|
onBlur?: (() => any) | undefined;
|
|
354
354
|
onChange?: ((value: string | number) => any) | undefined;
|
|
355
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
356
355
|
onFocus?: (() => any) | undefined;
|
|
356
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
357
357
|
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
358
358
|
}>, {
|
|
359
359
|
open: () => void;
|
|
@@ -365,8 +365,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
|
|
|
365
365
|
clear: () => void;
|
|
366
366
|
blur: () => void;
|
|
367
367
|
change: (value: string | number) => void;
|
|
368
|
-
"update:modelValue": (value: string | number) => void;
|
|
369
368
|
focus: () => void;
|
|
369
|
+
"update:modelValue": (value: string | number) => void;
|
|
370
370
|
visibleChange: (visible: boolean) => void;
|
|
371
371
|
}, string, {
|
|
372
372
|
readonly size: import('@cyberpunk-vue/hooks').Size;
|
package/dist/image/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare const CpImage: import('../utils').SFCWithInstall<{
|
|
|
114
114
|
readonly fit: import('.').ImageFit;
|
|
115
115
|
readonly width: string | number;
|
|
116
116
|
readonly height: string | number;
|
|
117
|
-
readonly type: "
|
|
117
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
118
118
|
readonly color: string;
|
|
119
119
|
readonly shape: import('.').ImageShape;
|
|
120
120
|
readonly initialIndex: number;
|
|
@@ -244,7 +244,7 @@ export declare const CpImage: import('../utils').SFCWithInstall<{
|
|
|
244
244
|
readonly fit: import('.').ImageFit;
|
|
245
245
|
readonly width: string | number;
|
|
246
246
|
readonly height: string | number;
|
|
247
|
-
readonly type: "
|
|
247
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
248
248
|
readonly color: string;
|
|
249
249
|
readonly shape: import('.').ImageShape;
|
|
250
250
|
readonly initialIndex: number;
|
|
@@ -371,7 +371,7 @@ export declare const CpImage: import('../utils').SFCWithInstall<{
|
|
|
371
371
|
readonly fit: import('.').ImageFit;
|
|
372
372
|
readonly width: string | number;
|
|
373
373
|
readonly height: string | number;
|
|
374
|
-
readonly type: "
|
|
374
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
375
375
|
readonly color: string;
|
|
376
376
|
readonly shape: import('.').ImageShape;
|
|
377
377
|
readonly initialIndex: number;
|
|
@@ -217,7 +217,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
217
217
|
readonly fit: import('./image').ImageFit;
|
|
218
218
|
readonly width: string | number;
|
|
219
219
|
readonly height: string | number;
|
|
220
|
-
readonly type: "
|
|
220
|
+
readonly type: "error" | "primary" | "success" | "warning" | "info" | "default";
|
|
221
221
|
readonly color: string;
|
|
222
222
|
readonly shape: import('./image').ImageShape;
|
|
223
223
|
readonly initialIndex: number;
|
|
@@ -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
|