@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.
Files changed (47) hide show
  1. package/dist/button/index.d.ts +3 -3
  2. package/dist/button/src/button.vue.d.ts +1 -1
  3. package/dist/date-picker/index.d.ts +5 -5
  4. package/dist/date-picker/src/base-picker.vue.d.ts +2 -2
  5. package/dist/date-picker/src/date-picker-select.vue.d.ts +2 -2
  6. package/dist/date-time-picker/index.d.ts +5 -5
  7. package/dist/date-time-picker/src/date-time-picker.vue.d.ts +2 -2
  8. package/dist/dialog/index.d.ts +23 -8
  9. package/dist/dialog/src/dialog.d.ts +9 -1
  10. package/dist/dialog/src/dialog.vue.d.ts +12 -3
  11. package/dist/dropdown/index.d.ts +35 -5
  12. package/dist/dropdown/src/dropdown.d.ts +8 -0
  13. package/dist/image/index.d.ts +3 -3
  14. package/dist/image/src/image.vue.d.ts +1 -1
  15. package/dist/image-preview/index.d.ts +26 -11
  16. package/dist/image-preview/src/image-preview.d.ts +9 -1
  17. package/dist/image-preview/src/image-preview.vue.d.ts +13 -4
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.mjs +4335 -4247
  20. package/dist/input/index.d.ts +10 -10
  21. package/dist/input/src/input.vue.d.ts +4 -4
  22. package/dist/input-number/index.d.ts +2 -2
  23. package/dist/input-number/src/input-number.vue.d.ts +2 -2
  24. package/dist/menu/index.d.ts +5 -5
  25. package/dist/menu/src/menu.vue.d.ts +2 -2
  26. package/dist/menu-nav/index.d.ts +2 -2
  27. package/dist/menu-nav/src/menu-nav.vue.d.ts +2 -2
  28. package/dist/notification/index.d.ts +11 -11
  29. package/dist/notification/src/notification.vue.d.ts +4 -4
  30. package/dist/popover/index.d.ts +5 -5
  31. package/dist/popover/src/popover.vue.d.ts +2 -2
  32. package/dist/select/index.d.ts +35 -5
  33. package/dist/select/src/select.d.ts +16 -0
  34. package/dist/select/src/select.vue.d.ts +20 -2
  35. package/dist/slider/index.d.ts +2 -2
  36. package/dist/slider/src/slider.vue.d.ts +2 -2
  37. package/dist/textarea/index.d.ts +4 -4
  38. package/dist/textarea/src/textarea.vue.d.ts +4 -4
  39. package/dist/time-picker/index.d.ts +5 -5
  40. package/dist/time-picker/src/time-picker.vue.d.ts +2 -2
  41. package/dist/tree/index.d.ts +3 -3
  42. package/dist/tree/src/tree.vue.d.ts +1 -1
  43. package/dist/upload/index.d.ts +13 -13
  44. package/dist/upload/src/upload.vue.d.ts +5 -5
  45. package/dist/utils/index.d.ts +1 -0
  46. package/dist/utils/overlay-stack.d.ts +13 -0
  47. package/package.json +4 -4
@@ -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: "button" | "submit" | "reset";
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: "button" | "submit" | "reset";
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: "button" | "submit" | "reset";
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: "button" | "submit" | "reset";
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;
@@ -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;
@@ -65,6 +65,14 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
65
65
  readonly type: import('vue').PropType<string | HTMLElement>;
66
66
  readonly default: "body";
67
67
  };
68
+ readonly zIndex: {
69
+ readonly type: NumberConstructor;
70
+ readonly default: 2000;
71
+ };
72
+ readonly stackPriority: {
73
+ readonly type: NumberConstructor;
74
+ readonly default: undefined;
75
+ };
68
76
  readonly maxHeight: {
69
77
  readonly type: NumberConstructor;
70
78
  readonly default: 256;
@@ -89,8 +97,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
89
97
  onClear?: (() => any) | undefined;
90
98
  onBlur?: (() => any) | undefined;
91
99
  onChange?: ((value: string | number) => any) | undefined;
92
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
93
100
  onFocus?: (() => any) | undefined;
101
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
94
102
  onVisibleChange?: ((visible: boolean) => any) | undefined;
95
103
  }>, {
96
104
  open: () => void;
@@ -102,11 +110,13 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
102
110
  clear: () => void;
103
111
  blur: () => void;
104
112
  change: (value: string | number) => void;
105
- "update:modelValue": (value: string | number) => void;
106
113
  focus: () => void;
114
+ "update:modelValue": (value: string | number) => void;
107
115
  visibleChange: (visible: boolean) => void;
108
116
  }, import('vue').PublicProps, {
109
117
  readonly size: import('@cyberpunk-vue/hooks').Size;
118
+ readonly zIndex: number;
119
+ readonly stackPriority: number;
110
120
  readonly width: string | number;
111
121
  readonly color: string;
112
122
  readonly variant: import('../select').SelectVariant;
@@ -204,6 +214,14 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
204
214
  readonly type: import('vue').PropType<string | HTMLElement>;
205
215
  readonly default: "body";
206
216
  };
217
+ readonly zIndex: {
218
+ readonly type: NumberConstructor;
219
+ readonly default: 2000;
220
+ };
221
+ readonly stackPriority: {
222
+ readonly type: NumberConstructor;
223
+ readonly default: undefined;
224
+ };
207
225
  readonly maxHeight: {
208
226
  readonly type: NumberConstructor;
209
227
  readonly default: 256;
@@ -228,8 +246,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
228
246
  onClear?: (() => any) | undefined;
229
247
  onBlur?: (() => any) | undefined;
230
248
  onChange?: ((value: string | number) => any) | undefined;
231
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
232
249
  onFocus?: (() => any) | undefined;
250
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
233
251
  onVisibleChange?: ((visible: boolean) => any) | undefined;
234
252
  }>, {
235
253
  open: () => void;
@@ -239,6 +257,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
239
257
  blur: () => void;
240
258
  }, {}, {}, {}, {
241
259
  readonly size: import('@cyberpunk-vue/hooks').Size;
260
+ readonly zIndex: number;
261
+ readonly stackPriority: number;
242
262
  readonly width: string | number;
243
263
  readonly color: string;
244
264
  readonly variant: import('../select').SelectVariant;
@@ -328,6 +348,14 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
328
348
  readonly type: import('vue').PropType<string | HTMLElement>;
329
349
  readonly default: "body";
330
350
  };
351
+ readonly zIndex: {
352
+ readonly type: NumberConstructor;
353
+ readonly default: 2000;
354
+ };
355
+ readonly stackPriority: {
356
+ readonly type: NumberConstructor;
357
+ readonly default: undefined;
358
+ };
331
359
  readonly maxHeight: {
332
360
  readonly type: NumberConstructor;
333
361
  readonly default: 256;
@@ -352,8 +380,8 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
352
380
  onClear?: (() => any) | undefined;
353
381
  onBlur?: (() => any) | undefined;
354
382
  onChange?: ((value: string | number) => any) | undefined;
355
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
356
383
  onFocus?: (() => any) | undefined;
384
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
357
385
  onVisibleChange?: ((visible: boolean) => any) | undefined;
358
386
  }>, {
359
387
  open: () => void;
@@ -365,11 +393,13 @@ export declare const CpDropdown: import('../utils').SFCWithInstall<{
365
393
  clear: () => void;
366
394
  blur: () => void;
367
395
  change: (value: string | number) => void;
368
- "update:modelValue": (value: string | number) => void;
369
396
  focus: () => void;
397
+ "update:modelValue": (value: string | number) => void;
370
398
  visibleChange: (visible: boolean) => void;
371
399
  }, string, {
372
400
  readonly size: import('@cyberpunk-vue/hooks').Size;
401
+ readonly zIndex: number;
402
+ readonly stackPriority: number;
373
403
  readonly width: string | number;
374
404
  readonly color: string;
375
405
  readonly variant: import('../select').SelectVariant;
@@ -79,6 +79,14 @@ export declare const dropdownProps: {
79
79
  readonly type: import('vue').PropType<string | HTMLElement>;
80
80
  readonly default: "body";
81
81
  };
82
+ readonly zIndex: {
83
+ readonly type: NumberConstructor;
84
+ readonly default: 2000;
85
+ };
86
+ readonly stackPriority: {
87
+ readonly type: NumberConstructor;
88
+ readonly default: undefined;
89
+ };
82
90
  readonly maxHeight: {
83
91
  readonly type: NumberConstructor;
84
92
  readonly default: 256;
@@ -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: "primary" | "success" | "warning" | "error" | "info" | "default";
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: "primary" | "success" | "warning" | "error" | "info" | "default";
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: "primary" | "success" | "warning" | "error" | "info" | "default";
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: "primary" | "success" | "warning" | "error" | "info" | "default";
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;