@koi-design/uxd-ui 14.0.11 → 14.0.12
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/es/components/PopConfirm/PopConfirm.vue.d.ts +36 -24
- package/es/components/PopConfirm/index.d.ts +72 -48
- package/es/components/Popover/Popover.mjs +96 -8
- package/es/components/Popover/Popover.mjs.map +1 -1
- package/es/components/Popover/Popover.type.d.ts +3 -0
- package/es/components/Popover/Popover.type.mjs +4 -1
- package/es/components/Popover/Popover.type.mjs.map +1 -1
- package/es/components/Popover/Popover.vue.d.ts +15 -8
- package/es/components/Popover/index.d.ts +36 -24
- package/es/components/Select/RefSelect.vue.d.ts +36 -24
- package/es/components/Select/Selection/Multiple.vue.d.ts +36 -24
- package/es/components/Select/Selection/Selection.vue.d.ts +36 -24
- package/es/components/Steps/Steps.mjs +0 -1
- package/es/components/Steps/Steps.mjs.map +1 -1
- package/es/components/Steps/Steps.type.d.ts +0 -5
- package/es/components/Steps/Steps.type.mjs +1 -6
- package/es/components/Steps/Steps.type.mjs.map +1 -1
- package/es/components/Steps/Steps.vue.d.ts +0 -11
- package/es/components/Steps/index.d.ts +0 -18
- package/es/components/TreeSelect/TreeSelect.vue.d.ts +36 -24
- package/es/components/TreeSelect/index.d.ts +72 -48
- package/lib/components/PopConfirm/PopConfirm.vue.d.ts +36 -24
- package/lib/components/PopConfirm/index.d.ts +72 -48
- package/lib/components/Popover/Popover.js +96 -8
- package/lib/components/Popover/Popover.js.map +1 -1
- package/lib/components/Popover/Popover.type.d.ts +3 -0
- package/lib/components/Popover/Popover.type.js +4 -1
- package/lib/components/Popover/Popover.type.js.map +1 -1
- package/lib/components/Popover/Popover.vue.d.ts +15 -8
- package/lib/components/Popover/index.d.ts +36 -24
- package/lib/components/Select/RefSelect.vue.d.ts +36 -24
- package/lib/components/Select/Selection/Multiple.vue.d.ts +36 -24
- package/lib/components/Select/Selection/Selection.vue.d.ts +36 -24
- package/lib/components/Steps/Steps.js +0 -1
- package/lib/components/Steps/Steps.js.map +1 -1
- package/lib/components/Steps/Steps.type.d.ts +0 -5
- package/lib/components/Steps/Steps.type.js +1 -6
- package/lib/components/Steps/Steps.type.js.map +1 -1
- package/lib/components/Steps/Steps.vue.d.ts +0 -11
- package/lib/components/Steps/index.d.ts +0 -18
- package/lib/components/TreeSelect/TreeSelect.vue.d.ts +36 -24
- package/lib/components/TreeSelect/index.d.ts +72 -48
- package/package.json +1 -1
- package/styles/components/alert/index.css +1 -1
- package/styles/components/autoComplete/index.css +1 -1
- package/styles/components/avatar/index.css +1 -1
- package/styles/components/button/index.css +1 -1
- package/styles/components/carousel/index.css +1 -1
- package/styles/components/cascader/index.css +1 -1
- package/styles/components/datePicker/index.css +1 -1
- package/styles/components/form/index.css +1 -1
- package/styles/components/icon/index.css +1 -1
- package/styles/components/input/index.css +1 -1
- package/styles/components/inputNumber/index.css +1 -1
- package/styles/components/link/index.css +1 -1
- package/styles/components/mentions/index.css +1 -1
- package/styles/components/modal/index.css +1 -1
- package/styles/components/popover/index.css +1 -1
- package/styles/components/popover/index.less +61 -108
- package/styles/components/popover/var.less +8 -18
- package/styles/components/select/index.css +1 -1
- package/styles/components/skeleton/index.css +1 -1
- package/styles/components/skeleton/index.less +10 -15
- package/styles/components/skeleton/var.less +2 -8
- package/styles/components/spin/index.css +1 -1
- package/styles/components/steps/index.css +1 -1
- package/styles/components/steps/index.less +64 -92
- package/styles/components/steps/var.less +7 -144
- package/styles/components/timePicker/index.css +1 -1
- package/styles/cssVariable.css +1 -1
- package/styles/cssVariable.less +0 -4
- package/styles/index.css +1 -1
- package/types/components/PopConfirm/PopConfirm.vue.d.ts +36 -24
- package/types/components/PopConfirm/index.d.ts +72 -48
- package/types/components/Popover/Popover.type.d.ts +3 -0
- package/types/components/Popover/Popover.vue.d.ts +15 -8
- package/types/components/Popover/index.d.ts +36 -24
- package/types/components/Select/RefSelect.vue.d.ts +36 -24
- package/types/components/Select/Selection/Multiple.vue.d.ts +36 -24
- package/types/components/Select/Selection/Selection.vue.d.ts +36 -24
- package/types/components/Steps/Steps.type.d.ts +0 -5
- package/types/components/Steps/Steps.vue.d.ts +0 -11
- package/types/components/Steps/index.d.ts +0 -18
- package/types/components/TreeSelect/TreeSelect.vue.d.ts +36 -24
- package/types/components/TreeSelect/index.d.ts +72 -48
- package/uxd-ui.css +1 -1
- package/uxd-ui.esm.min.mjs +6 -6
- package/uxd-ui.esm.mjs +102 -17
- package/uxd-ui.umd.js +102 -17
- package/uxd-ui.umd.min.js +6 -6
|
@@ -150,6 +150,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
150
150
|
title: {
|
|
151
151
|
type: StringConstructor;
|
|
152
152
|
};
|
|
153
|
+
description: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
};
|
|
153
156
|
content: {
|
|
154
157
|
type: StringConstructor;
|
|
155
158
|
};
|
|
@@ -199,37 +202,38 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
202
|
innerRef: import("vue").Ref<any, any>;
|
|
200
203
|
prefixCls: import("vue").ComputedRef<string>;
|
|
201
204
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
205
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
202
206
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
203
207
|
arrowStyle: import("vue").ComputedRef<{
|
|
204
208
|
top: string;
|
|
209
|
+
right: string;
|
|
205
210
|
transform: string;
|
|
206
211
|
bottom?: undefined;
|
|
207
212
|
left?: undefined;
|
|
208
|
-
right?: undefined;
|
|
209
213
|
} | {
|
|
210
214
|
bottom: string;
|
|
215
|
+
right: string;
|
|
211
216
|
transform: string;
|
|
212
217
|
top?: undefined;
|
|
213
218
|
left?: undefined;
|
|
214
|
-
right?: undefined;
|
|
215
219
|
} | {
|
|
220
|
+
top: string;
|
|
216
221
|
left: string;
|
|
217
222
|
transform: string;
|
|
218
|
-
top?: undefined;
|
|
219
|
-
bottom?: undefined;
|
|
220
223
|
right?: undefined;
|
|
224
|
+
bottom?: undefined;
|
|
221
225
|
} | {
|
|
222
|
-
|
|
226
|
+
bottom: string;
|
|
227
|
+
left: string;
|
|
223
228
|
transform: string;
|
|
224
229
|
top?: undefined;
|
|
225
|
-
|
|
226
|
-
left?: undefined;
|
|
230
|
+
right?: undefined;
|
|
227
231
|
} | {
|
|
228
232
|
top?: undefined;
|
|
233
|
+
right?: undefined;
|
|
229
234
|
transform?: undefined;
|
|
230
235
|
bottom?: undefined;
|
|
231
236
|
left?: undefined;
|
|
232
|
-
right?: undefined;
|
|
233
237
|
}>;
|
|
234
238
|
onVisibleChange: (val: boolean) => void;
|
|
235
239
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -459,6 +463,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
459
463
|
title: {
|
|
460
464
|
type: StringConstructor;
|
|
461
465
|
};
|
|
466
|
+
description: {
|
|
467
|
+
type: StringConstructor;
|
|
468
|
+
};
|
|
462
469
|
content: {
|
|
463
470
|
type: StringConstructor;
|
|
464
471
|
};
|
|
@@ -508,37 +515,38 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
508
515
|
innerRef: import("vue").Ref<any, any>;
|
|
509
516
|
prefixCls: import("vue").ComputedRef<string>;
|
|
510
517
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
518
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
511
519
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
512
520
|
arrowStyle: import("vue").ComputedRef<{
|
|
513
521
|
top: string;
|
|
522
|
+
right: string;
|
|
514
523
|
transform: string;
|
|
515
524
|
bottom?: undefined;
|
|
516
525
|
left?: undefined;
|
|
517
|
-
right?: undefined;
|
|
518
526
|
} | {
|
|
519
527
|
bottom: string;
|
|
528
|
+
right: string;
|
|
520
529
|
transform: string;
|
|
521
530
|
top?: undefined;
|
|
522
531
|
left?: undefined;
|
|
523
|
-
right?: undefined;
|
|
524
532
|
} | {
|
|
533
|
+
top: string;
|
|
525
534
|
left: string;
|
|
526
535
|
transform: string;
|
|
527
|
-
top?: undefined;
|
|
528
|
-
bottom?: undefined;
|
|
529
536
|
right?: undefined;
|
|
537
|
+
bottom?: undefined;
|
|
530
538
|
} | {
|
|
531
|
-
|
|
539
|
+
bottom: string;
|
|
540
|
+
left: string;
|
|
532
541
|
transform: string;
|
|
533
542
|
top?: undefined;
|
|
534
|
-
|
|
535
|
-
left?: undefined;
|
|
543
|
+
right?: undefined;
|
|
536
544
|
} | {
|
|
537
545
|
top?: undefined;
|
|
546
|
+
right?: undefined;
|
|
538
547
|
transform?: undefined;
|
|
539
548
|
bottom?: undefined;
|
|
540
549
|
left?: undefined;
|
|
541
|
-
right?: undefined;
|
|
542
550
|
}>;
|
|
543
551
|
onVisibleChange: (val: boolean) => void;
|
|
544
552
|
}, {}, {}, {}, {
|
|
@@ -574,6 +582,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
574
582
|
title: {
|
|
575
583
|
type: StringConstructor;
|
|
576
584
|
};
|
|
585
|
+
description: {
|
|
586
|
+
type: StringConstructor;
|
|
587
|
+
};
|
|
577
588
|
content: {
|
|
578
589
|
type: StringConstructor;
|
|
579
590
|
};
|
|
@@ -623,37 +634,38 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
623
634
|
innerRef: import("vue").Ref<any, any>;
|
|
624
635
|
prefixCls: import("vue").ComputedRef<string>;
|
|
625
636
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
637
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
626
638
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
627
639
|
arrowStyle: import("vue").ComputedRef<{
|
|
628
640
|
top: string;
|
|
641
|
+
right: string;
|
|
629
642
|
transform: string;
|
|
630
643
|
bottom?: undefined;
|
|
631
644
|
left?: undefined;
|
|
632
|
-
right?: undefined;
|
|
633
645
|
} | {
|
|
634
646
|
bottom: string;
|
|
647
|
+
right: string;
|
|
635
648
|
transform: string;
|
|
636
649
|
top?: undefined;
|
|
637
650
|
left?: undefined;
|
|
638
|
-
right?: undefined;
|
|
639
651
|
} | {
|
|
652
|
+
top: string;
|
|
640
653
|
left: string;
|
|
641
654
|
transform: string;
|
|
642
|
-
top?: undefined;
|
|
643
|
-
bottom?: undefined;
|
|
644
655
|
right?: undefined;
|
|
656
|
+
bottom?: undefined;
|
|
645
657
|
} | {
|
|
646
|
-
|
|
658
|
+
bottom: string;
|
|
659
|
+
left: string;
|
|
647
660
|
transform: string;
|
|
648
661
|
top?: undefined;
|
|
649
|
-
|
|
650
|
-
left?: undefined;
|
|
662
|
+
right?: undefined;
|
|
651
663
|
} | {
|
|
652
664
|
top?: undefined;
|
|
665
|
+
right?: undefined;
|
|
653
666
|
transform?: undefined;
|
|
654
667
|
bottom?: undefined;
|
|
655
668
|
left?: undefined;
|
|
656
|
-
right?: undefined;
|
|
657
669
|
}>;
|
|
658
670
|
onVisibleChange: (val: boolean) => void;
|
|
659
671
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -99,6 +99,9 @@ export declare const UPopConfirm: {
|
|
|
99
99
|
title: {
|
|
100
100
|
type: StringConstructor;
|
|
101
101
|
};
|
|
102
|
+
description: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
};
|
|
102
105
|
content: {
|
|
103
106
|
type: StringConstructor;
|
|
104
107
|
};
|
|
@@ -148,37 +151,38 @@ export declare const UPopConfirm: {
|
|
|
148
151
|
innerRef: import("vue").Ref<any, any>;
|
|
149
152
|
prefixCls: import("vue").ComputedRef<string>;
|
|
150
153
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
154
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
151
155
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
152
156
|
arrowStyle: import("vue").ComputedRef<{
|
|
153
157
|
top: string;
|
|
158
|
+
right: string;
|
|
154
159
|
transform: string;
|
|
155
160
|
bottom?: undefined;
|
|
156
161
|
left?: undefined;
|
|
157
|
-
right?: undefined;
|
|
158
162
|
} | {
|
|
159
163
|
bottom: string;
|
|
164
|
+
right: string;
|
|
160
165
|
transform: string;
|
|
161
166
|
top?: undefined;
|
|
162
167
|
left?: undefined;
|
|
163
|
-
right?: undefined;
|
|
164
168
|
} | {
|
|
169
|
+
top: string;
|
|
165
170
|
left: string;
|
|
166
171
|
transform: string;
|
|
167
|
-
top?: undefined;
|
|
168
|
-
bottom?: undefined;
|
|
169
172
|
right?: undefined;
|
|
173
|
+
bottom?: undefined;
|
|
170
174
|
} | {
|
|
171
|
-
|
|
175
|
+
bottom: string;
|
|
176
|
+
left: string;
|
|
172
177
|
transform: string;
|
|
173
178
|
top?: undefined;
|
|
174
|
-
|
|
175
|
-
left?: undefined;
|
|
179
|
+
right?: undefined;
|
|
176
180
|
} | {
|
|
177
181
|
top?: undefined;
|
|
182
|
+
right?: undefined;
|
|
178
183
|
transform?: undefined;
|
|
179
184
|
bottom?: undefined;
|
|
180
185
|
left?: undefined;
|
|
181
|
-
right?: undefined;
|
|
182
186
|
}>;
|
|
183
187
|
onVisibleChange: (val: boolean) => void;
|
|
184
188
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -408,6 +412,9 @@ export declare const UPopConfirm: {
|
|
|
408
412
|
title: {
|
|
409
413
|
type: StringConstructor;
|
|
410
414
|
};
|
|
415
|
+
description: {
|
|
416
|
+
type: StringConstructor;
|
|
417
|
+
};
|
|
411
418
|
content: {
|
|
412
419
|
type: StringConstructor;
|
|
413
420
|
};
|
|
@@ -457,37 +464,38 @@ export declare const UPopConfirm: {
|
|
|
457
464
|
innerRef: import("vue").Ref<any, any>;
|
|
458
465
|
prefixCls: import("vue").ComputedRef<string>;
|
|
459
466
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
467
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
460
468
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
461
469
|
arrowStyle: import("vue").ComputedRef<{
|
|
462
470
|
top: string;
|
|
471
|
+
right: string;
|
|
463
472
|
transform: string;
|
|
464
473
|
bottom?: undefined;
|
|
465
474
|
left?: undefined;
|
|
466
|
-
right?: undefined;
|
|
467
475
|
} | {
|
|
468
476
|
bottom: string;
|
|
477
|
+
right: string;
|
|
469
478
|
transform: string;
|
|
470
479
|
top?: undefined;
|
|
471
480
|
left?: undefined;
|
|
472
|
-
right?: undefined;
|
|
473
481
|
} | {
|
|
482
|
+
top: string;
|
|
474
483
|
left: string;
|
|
475
484
|
transform: string;
|
|
476
|
-
top?: undefined;
|
|
477
|
-
bottom?: undefined;
|
|
478
485
|
right?: undefined;
|
|
486
|
+
bottom?: undefined;
|
|
479
487
|
} | {
|
|
480
|
-
|
|
488
|
+
bottom: string;
|
|
489
|
+
left: string;
|
|
481
490
|
transform: string;
|
|
482
491
|
top?: undefined;
|
|
483
|
-
|
|
484
|
-
left?: undefined;
|
|
492
|
+
right?: undefined;
|
|
485
493
|
} | {
|
|
486
494
|
top?: undefined;
|
|
495
|
+
right?: undefined;
|
|
487
496
|
transform?: undefined;
|
|
488
497
|
bottom?: undefined;
|
|
489
498
|
left?: undefined;
|
|
490
|
-
right?: undefined;
|
|
491
499
|
}>;
|
|
492
500
|
onVisibleChange: (val: boolean) => void;
|
|
493
501
|
}, {}, {}, {}, {
|
|
@@ -523,6 +531,9 @@ export declare const UPopConfirm: {
|
|
|
523
531
|
title: {
|
|
524
532
|
type: StringConstructor;
|
|
525
533
|
};
|
|
534
|
+
description: {
|
|
535
|
+
type: StringConstructor;
|
|
536
|
+
};
|
|
526
537
|
content: {
|
|
527
538
|
type: StringConstructor;
|
|
528
539
|
};
|
|
@@ -572,37 +583,38 @@ export declare const UPopConfirm: {
|
|
|
572
583
|
innerRef: import("vue").Ref<any, any>;
|
|
573
584
|
prefixCls: import("vue").ComputedRef<string>;
|
|
574
585
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
586
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
575
587
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
576
588
|
arrowStyle: import("vue").ComputedRef<{
|
|
577
589
|
top: string;
|
|
590
|
+
right: string;
|
|
578
591
|
transform: string;
|
|
579
592
|
bottom?: undefined;
|
|
580
593
|
left?: undefined;
|
|
581
|
-
right?: undefined;
|
|
582
594
|
} | {
|
|
583
595
|
bottom: string;
|
|
596
|
+
right: string;
|
|
584
597
|
transform: string;
|
|
585
598
|
top?: undefined;
|
|
586
599
|
left?: undefined;
|
|
587
|
-
right?: undefined;
|
|
588
600
|
} | {
|
|
601
|
+
top: string;
|
|
589
602
|
left: string;
|
|
590
603
|
transform: string;
|
|
591
|
-
top?: undefined;
|
|
592
|
-
bottom?: undefined;
|
|
593
604
|
right?: undefined;
|
|
605
|
+
bottom?: undefined;
|
|
594
606
|
} | {
|
|
595
|
-
|
|
607
|
+
bottom: string;
|
|
608
|
+
left: string;
|
|
596
609
|
transform: string;
|
|
597
610
|
top?: undefined;
|
|
598
|
-
|
|
599
|
-
left?: undefined;
|
|
611
|
+
right?: undefined;
|
|
600
612
|
} | {
|
|
601
613
|
top?: undefined;
|
|
614
|
+
right?: undefined;
|
|
602
615
|
transform?: undefined;
|
|
603
616
|
bottom?: undefined;
|
|
604
617
|
left?: undefined;
|
|
605
|
-
right?: undefined;
|
|
606
618
|
}>;
|
|
607
619
|
onVisibleChange: (val: boolean) => void;
|
|
608
620
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1687,6 +1699,9 @@ export declare const UPopConfirm: {
|
|
|
1687
1699
|
title: {
|
|
1688
1700
|
type: StringConstructor;
|
|
1689
1701
|
};
|
|
1702
|
+
description: {
|
|
1703
|
+
type: StringConstructor;
|
|
1704
|
+
};
|
|
1690
1705
|
content: {
|
|
1691
1706
|
type: StringConstructor;
|
|
1692
1707
|
};
|
|
@@ -1736,37 +1751,38 @@ export declare const UPopConfirm: {
|
|
|
1736
1751
|
innerRef: import("vue").Ref<any, any>;
|
|
1737
1752
|
prefixCls: import("vue").ComputedRef<string>;
|
|
1738
1753
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
1754
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
1739
1755
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
1740
1756
|
arrowStyle: import("vue").ComputedRef<{
|
|
1741
1757
|
top: string;
|
|
1758
|
+
right: string;
|
|
1742
1759
|
transform: string;
|
|
1743
1760
|
bottom?: undefined;
|
|
1744
1761
|
left?: undefined;
|
|
1745
|
-
right?: undefined;
|
|
1746
1762
|
} | {
|
|
1747
1763
|
bottom: string;
|
|
1764
|
+
right: string;
|
|
1748
1765
|
transform: string;
|
|
1749
1766
|
top?: undefined;
|
|
1750
1767
|
left?: undefined;
|
|
1751
|
-
right?: undefined;
|
|
1752
1768
|
} | {
|
|
1769
|
+
top: string;
|
|
1753
1770
|
left: string;
|
|
1754
1771
|
transform: string;
|
|
1755
|
-
top?: undefined;
|
|
1756
|
-
bottom?: undefined;
|
|
1757
1772
|
right?: undefined;
|
|
1773
|
+
bottom?: undefined;
|
|
1758
1774
|
} | {
|
|
1759
|
-
|
|
1775
|
+
bottom: string;
|
|
1776
|
+
left: string;
|
|
1760
1777
|
transform: string;
|
|
1761
1778
|
top?: undefined;
|
|
1762
|
-
|
|
1763
|
-
left?: undefined;
|
|
1779
|
+
right?: undefined;
|
|
1764
1780
|
} | {
|
|
1765
1781
|
top?: undefined;
|
|
1782
|
+
right?: undefined;
|
|
1766
1783
|
transform?: undefined;
|
|
1767
1784
|
bottom?: undefined;
|
|
1768
1785
|
left?: undefined;
|
|
1769
|
-
right?: undefined;
|
|
1770
1786
|
}>;
|
|
1771
1787
|
onVisibleChange: (val: boolean) => void;
|
|
1772
1788
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1996,6 +2012,9 @@ export declare const UPopConfirm: {
|
|
|
1996
2012
|
title: {
|
|
1997
2013
|
type: StringConstructor;
|
|
1998
2014
|
};
|
|
2015
|
+
description: {
|
|
2016
|
+
type: StringConstructor;
|
|
2017
|
+
};
|
|
1999
2018
|
content: {
|
|
2000
2019
|
type: StringConstructor;
|
|
2001
2020
|
};
|
|
@@ -2045,37 +2064,38 @@ export declare const UPopConfirm: {
|
|
|
2045
2064
|
innerRef: import("vue").Ref<any, any>;
|
|
2046
2065
|
prefixCls: import("vue").ComputedRef<string>;
|
|
2047
2066
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
2067
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
2048
2068
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
2049
2069
|
arrowStyle: import("vue").ComputedRef<{
|
|
2050
2070
|
top: string;
|
|
2071
|
+
right: string;
|
|
2051
2072
|
transform: string;
|
|
2052
2073
|
bottom?: undefined;
|
|
2053
2074
|
left?: undefined;
|
|
2054
|
-
right?: undefined;
|
|
2055
2075
|
} | {
|
|
2056
2076
|
bottom: string;
|
|
2077
|
+
right: string;
|
|
2057
2078
|
transform: string;
|
|
2058
2079
|
top?: undefined;
|
|
2059
2080
|
left?: undefined;
|
|
2060
|
-
right?: undefined;
|
|
2061
2081
|
} | {
|
|
2082
|
+
top: string;
|
|
2062
2083
|
left: string;
|
|
2063
2084
|
transform: string;
|
|
2064
|
-
top?: undefined;
|
|
2065
|
-
bottom?: undefined;
|
|
2066
2085
|
right?: undefined;
|
|
2086
|
+
bottom?: undefined;
|
|
2067
2087
|
} | {
|
|
2068
|
-
|
|
2088
|
+
bottom: string;
|
|
2089
|
+
left: string;
|
|
2069
2090
|
transform: string;
|
|
2070
2091
|
top?: undefined;
|
|
2071
|
-
|
|
2072
|
-
left?: undefined;
|
|
2092
|
+
right?: undefined;
|
|
2073
2093
|
} | {
|
|
2074
2094
|
top?: undefined;
|
|
2095
|
+
right?: undefined;
|
|
2075
2096
|
transform?: undefined;
|
|
2076
2097
|
bottom?: undefined;
|
|
2077
2098
|
left?: undefined;
|
|
2078
|
-
right?: undefined;
|
|
2079
2099
|
}>;
|
|
2080
2100
|
onVisibleChange: (val: boolean) => void;
|
|
2081
2101
|
}, {}, {}, {}, {
|
|
@@ -2111,6 +2131,9 @@ export declare const UPopConfirm: {
|
|
|
2111
2131
|
title: {
|
|
2112
2132
|
type: StringConstructor;
|
|
2113
2133
|
};
|
|
2134
|
+
description: {
|
|
2135
|
+
type: StringConstructor;
|
|
2136
|
+
};
|
|
2114
2137
|
content: {
|
|
2115
2138
|
type: StringConstructor;
|
|
2116
2139
|
};
|
|
@@ -2160,37 +2183,38 @@ export declare const UPopConfirm: {
|
|
|
2160
2183
|
innerRef: import("vue").Ref<any, any>;
|
|
2161
2184
|
prefixCls: import("vue").ComputedRef<string>;
|
|
2162
2185
|
showTitle: import("vue").ComputedRef<string | boolean>;
|
|
2186
|
+
showDescription: import("vue").ComputedRef<string | boolean>;
|
|
2163
2187
|
popupStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
2164
2188
|
arrowStyle: import("vue").ComputedRef<{
|
|
2165
2189
|
top: string;
|
|
2190
|
+
right: string;
|
|
2166
2191
|
transform: string;
|
|
2167
2192
|
bottom?: undefined;
|
|
2168
2193
|
left?: undefined;
|
|
2169
|
-
right?: undefined;
|
|
2170
2194
|
} | {
|
|
2171
2195
|
bottom: string;
|
|
2196
|
+
right: string;
|
|
2172
2197
|
transform: string;
|
|
2173
2198
|
top?: undefined;
|
|
2174
2199
|
left?: undefined;
|
|
2175
|
-
right?: undefined;
|
|
2176
2200
|
} | {
|
|
2201
|
+
top: string;
|
|
2177
2202
|
left: string;
|
|
2178
2203
|
transform: string;
|
|
2179
|
-
top?: undefined;
|
|
2180
|
-
bottom?: undefined;
|
|
2181
2204
|
right?: undefined;
|
|
2205
|
+
bottom?: undefined;
|
|
2182
2206
|
} | {
|
|
2183
|
-
|
|
2207
|
+
bottom: string;
|
|
2208
|
+
left: string;
|
|
2184
2209
|
transform: string;
|
|
2185
2210
|
top?: undefined;
|
|
2186
|
-
|
|
2187
|
-
left?: undefined;
|
|
2211
|
+
right?: undefined;
|
|
2188
2212
|
} | {
|
|
2189
2213
|
top?: undefined;
|
|
2214
|
+
right?: undefined;
|
|
2190
2215
|
transform?: undefined;
|
|
2191
2216
|
bottom?: undefined;
|
|
2192
2217
|
left?: undefined;
|
|
2193
|
-
right?: undefined;
|
|
2194
2218
|
}>;
|
|
2195
2219
|
onVisibleChange: (val: boolean) => void;
|
|
2196
2220
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -26,6 +26,9 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
const showTitle = computed(() => {
|
|
27
27
|
return props.title || slots.title !== void 0;
|
|
28
28
|
});
|
|
29
|
+
const showDescription = computed(() => {
|
|
30
|
+
return props.description || slots.description !== void 0;
|
|
31
|
+
});
|
|
29
32
|
const popupStyle = computed(() => {
|
|
30
33
|
const width = typeof props.width === "number" ? `${props.width}px` : props.width;
|
|
31
34
|
return props.type === "popover" ? { ...props.dropdownStyle } : { ...{ width }, ...props.dropdownStyle };
|
|
@@ -36,44 +39,120 @@ const _sfc_main = defineComponent({
|
|
|
36
39
|
const { width, height } = findDOMNode(popupRef.value.reference).getBoundingClientRect();
|
|
37
40
|
const inner = innerRef.value || popConfirmInnerRef.value;
|
|
38
41
|
const { width: contentWidth, height: contentHeight } = inner.getBoundingClientRect();
|
|
39
|
-
if (props.placement === "left
|
|
42
|
+
if (props.placement === "left") {
|
|
43
|
+
return {
|
|
44
|
+
top: "50%",
|
|
45
|
+
right: "0",
|
|
46
|
+
transform: "translateY(-50%) translateX(-50%)"
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
if (props.placement === "left-start") {
|
|
50
|
+
let top = height / 2;
|
|
51
|
+
if (top > contentHeight) {
|
|
52
|
+
top = 8;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
top: `${top}px`,
|
|
56
|
+
right: "0",
|
|
57
|
+
transform: "translateY(-50%) translateX(-50%)"
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
if (props.placement === "left-end") {
|
|
61
|
+
let bottom = height / 2;
|
|
62
|
+
if (bottom > contentHeight) {
|
|
63
|
+
bottom = 8;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
bottom: `${bottom}px`,
|
|
67
|
+
right: "0",
|
|
68
|
+
transform: "translateY(50%) translateX(-50%)"
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
if (props.placement === "right") {
|
|
72
|
+
return {
|
|
73
|
+
top: "50%",
|
|
74
|
+
left: "0",
|
|
75
|
+
transform: "translateY(-50%) translateX(50%)"
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
if (props.placement === "right-start") {
|
|
40
79
|
let top = height / 2;
|
|
41
80
|
if (top > contentHeight) {
|
|
42
81
|
top = 8;
|
|
43
82
|
}
|
|
44
83
|
return {
|
|
45
84
|
top: `${top}px`,
|
|
46
|
-
|
|
85
|
+
left: "0",
|
|
86
|
+
transform: "translateY(-50%) translateX(50%)"
|
|
47
87
|
};
|
|
48
88
|
}
|
|
49
|
-
if (props.placement === "
|
|
89
|
+
if (props.placement === "right-end") {
|
|
50
90
|
let bottom = height / 2;
|
|
51
91
|
if (bottom > contentHeight) {
|
|
52
92
|
bottom = 8;
|
|
53
93
|
}
|
|
54
94
|
return {
|
|
55
95
|
bottom: `${bottom}px`,
|
|
56
|
-
|
|
96
|
+
left: "0",
|
|
97
|
+
transform: "translateY(50%) translateX(50%)"
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
if (props.placement === "top") {
|
|
101
|
+
return {
|
|
102
|
+
left: "50%",
|
|
103
|
+
bottom: "0",
|
|
104
|
+
transform: "translateX(-50%) translateY(-50%)"
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
if (props.placement === "top-start") {
|
|
108
|
+
let left = width / 2;
|
|
109
|
+
if (left > contentWidth) {
|
|
110
|
+
left = 16;
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
left: `${left}px`,
|
|
114
|
+
bottom: "0",
|
|
115
|
+
transform: "translateX(-50%) translateY(-50%)"
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
if (props.placement === "top-end") {
|
|
119
|
+
let right = width / 2;
|
|
120
|
+
if (right > contentWidth) {
|
|
121
|
+
right = 16;
|
|
122
|
+
}
|
|
123
|
+
return {
|
|
124
|
+
right: `${right}px`,
|
|
125
|
+
bottom: "0",
|
|
126
|
+
transform: "translateX(50%) translateY(-50%)"
|
|
57
127
|
};
|
|
58
128
|
}
|
|
59
|
-
if (props.placement === "
|
|
129
|
+
if (props.placement === "bottom") {
|
|
130
|
+
return {
|
|
131
|
+
left: "50%",
|
|
132
|
+
top: "0",
|
|
133
|
+
transform: "translateX(-50%) translateY(50%)"
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
if (props.placement === "bottom-start") {
|
|
60
137
|
let left = width / 2;
|
|
61
138
|
if (left > contentWidth) {
|
|
62
139
|
left = 16;
|
|
63
140
|
}
|
|
64
141
|
return {
|
|
65
142
|
left: `${left}px`,
|
|
66
|
-
|
|
143
|
+
top: "0",
|
|
144
|
+
transform: "translateX(-50%) translateY(50%)"
|
|
67
145
|
};
|
|
68
146
|
}
|
|
69
|
-
if (props.placement === "
|
|
147
|
+
if (props.placement === "bottom-end") {
|
|
70
148
|
let right = width / 2;
|
|
71
149
|
if (right > contentWidth) {
|
|
72
150
|
right = 16;
|
|
73
151
|
}
|
|
74
152
|
return {
|
|
75
153
|
right: `${right}px`,
|
|
76
|
-
|
|
154
|
+
top: "0",
|
|
155
|
+
transform: "translateX(50%) translateY(50%)"
|
|
77
156
|
};
|
|
78
157
|
}
|
|
79
158
|
}
|
|
@@ -84,6 +163,7 @@ const _sfc_main = defineComponent({
|
|
|
84
163
|
innerRef,
|
|
85
164
|
prefixCls,
|
|
86
165
|
showTitle,
|
|
166
|
+
showDescription,
|
|
87
167
|
popupStyle,
|
|
88
168
|
arrowStyle,
|
|
89
169
|
onVisibleChange
|
|
@@ -129,6 +209,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
129
209
|
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
130
210
|
])
|
|
131
211
|
], 2)) : createCommentVNode("v-if", true),
|
|
212
|
+
_ctx.showDescription ? (openBlock(), createElementBlock("div", {
|
|
213
|
+
key: 1,
|
|
214
|
+
class: normalizeClass(`${_ctx.prefixCls}-inner-description`)
|
|
215
|
+
}, [
|
|
216
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
217
|
+
createTextVNode(toDisplayString(_ctx.description), 1)
|
|
218
|
+
])
|
|
219
|
+
], 2)) : createCommentVNode("v-if", true),
|
|
132
220
|
createElementVNode("div", {
|
|
133
221
|
class: normalizeClass({
|
|
134
222
|
[`${_ctx.prefixCls}-inner-content`]: true,
|