x-next 1.6.0 → 1.7.0
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/AI_USAGE.md +57 -4
- package/CHANGELOG.md +36 -0
- package/dist/components/date-picker/DatePicker.vue.d.ts +3 -3
- package/dist/components/date-picker/index.d.ts +6 -6
- package/dist/components/draggable/Draggable.d.ts +1 -1
- package/dist/components/draggable/index.d.ts +2 -2
- package/dist/components/drawer/index.d.ts +6 -6
- package/dist/components/drawer/src/Drawer.vue.d.ts +3 -3
- package/dist/components/dropdown/Dropdown.vue.d.ts +4 -4
- package/dist/components/dropdown/DropdownButton.vue.d.ts +5 -5
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +4 -4
- package/dist/components/dropdown/index.d.ts +29 -29
- package/dist/components/form/FormItem.vue.d.ts +12 -12
- package/dist/components/form/form-item-label.vue.d.ts +3 -3
- package/dist/components/form/index.d.ts +24 -24
- package/dist/components/form-select/Select.d.ts +3 -3
- package/dist/components/form-select/index.d.ts +6 -6
- package/dist/components/form-slider/Slider.vue.d.ts +3 -3
- package/dist/components/form-slider/index.d.ts +6 -6
- package/dist/components/form-slider/slider-button.vue.d.ts +3 -3
- package/dist/components/grid/Row.vue.d.ts +3 -3
- package/dist/components/grid/index.d.ts +9 -9
- package/dist/components/image/Image.vue.d.ts +125 -17
- package/dist/components/image/ImagePreview.vue.d.ts +97 -7
- package/dist/components/image/ImagePreviewAction.d.ts +3 -3
- package/dist/components/image/ImagePreviewGroup.vue.d.ts +100 -7
- package/dist/components/image/hooks/use-image-drag.d.ts +2 -2
- package/dist/components/image/index.d.ts +712 -124
- package/dist/components/image/interface.d.ts +9 -1
- package/dist/components/image/preview-toolbar.vue.d.ts +3 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/components/menu/sub-menu-pop.vue.d.ts +3 -3
- package/dist/components/pagination/page-options.vue.d.ts +6 -6
- package/dist/components/popconfirm/src/popup.vue.d.ts +3 -3
- package/dist/components/popover/Popover.d.ts +1 -1
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popup/Popup.d.ts +1 -1
- package/dist/components/popup/index.d.ts +3 -3
- package/dist/components/space/Space.d.ts +1 -1
- package/dist/components/space/index.d.ts +3 -3
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/time-picker/TimePicker.vue.d.ts +3 -3
- package/dist/components/time-picker/index.d.ts +6 -6
- package/dist/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +3 -3
- package/dist/components/trigger/Trigger.d.ts +1 -1
- package/dist/components/trigger/index.d.ts +3 -3
- package/dist/components/upload/Upload.d.ts +372 -0
- package/dist/components/upload/context.d.ts +28 -0
- package/dist/components/upload/index.d.ts +656 -0
- package/dist/components/upload/interface.d.ts +110 -0
- package/dist/components/upload/props.d.ts +321 -0
- package/dist/components/upload/upload-list-item.d.ts +15 -0
- package/dist/components/upload/upload-list.d.ts +11 -0
- package/dist/components/upload/upload-picture-item.d.ts +20 -0
- package/dist/components/upload/upload-trigger.d.ts +8 -0
- package/dist/components/upload/utils.d.ts +48 -0
- package/dist/es/_styles/palette-aliases.js +2 -4
- package/dist/es/components/image/Image.vue.js +55 -45
- package/dist/es/components/image/Image.vue2.js +113 -92
- package/dist/es/components/image/ImagePreview.vue.js +66 -53
- package/dist/es/components/image/ImagePreview.vue2.js +219 -171
- package/dist/es/components/image/ImagePreviewAction.js +12 -15
- package/dist/es/components/image/ImagePreviewGroup.vue.js +21 -20
- package/dist/es/components/image/ImagePreviewGroup.vue2.js +45 -39
- package/dist/es/components/image/hooks/use-image-drag.js +16 -14
- package/dist/es/components/index.js +33 -31
- package/dist/es/components/upload/Upload.js +420 -0
- package/dist/es/components/upload/context.js +4 -0
- package/dist/es/components/upload/index.js +8 -0
- package/dist/es/components/upload/props.js +321 -0
- package/dist/es/components/upload/upload-list-item.js +138 -0
- package/dist/es/components/upload/upload-list.js +48 -0
- package/dist/es/components/upload/upload-picture-item.js +109 -0
- package/dist/es/components/upload/upload-trigger.js +89 -0
- package/dist/es/components/upload/utils.js +195 -0
- package/dist/es/icons/_self/upload-icons.js +103 -0
- package/dist/es/index.js +40 -38
- package/dist/es/locale/en-US.js +22 -0
- package/dist/es/locale/zh-CN.js +22 -0
- package/dist/es/style.css +1 -1
- package/dist/icons/_self/upload-icons.d.ts +523 -0
- package/dist/index.cjs +4 -4
- package/dist/index.umd.js +4 -4
- package/dist/locale/interface.d.ts +32 -0
- package/dist/style/base.css +1 -1
- package/dist/style/image.css +1 -1
- package/dist/style/upload.css +1 -0
- package/dist/style/upload.js +2 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/dist/es/_hooks/use-popup-overflow-hidden.js +0 -29
|
@@ -56,10 +56,13 @@ export declare const Image: {
|
|
|
56
56
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
57
57
|
};
|
|
58
58
|
}>> & Readonly<{
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
onError?: ((_event: Event) => any) | undefined;
|
|
60
|
+
onLoad?: ((_event: Event) => any) | undefined;
|
|
61
|
+
"onPreview-visible-change"?: ((_visible: boolean) => any) | undefined;
|
|
62
|
+
"onUpdate:previewVisible"?: ((_visible: boolean) => any) | undefined;
|
|
61
63
|
}>, {
|
|
62
|
-
|
|
64
|
+
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
65
|
+
refImg: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
63
66
|
className: {
|
|
64
67
|
block: string;
|
|
65
68
|
element: (className: string) => string;
|
|
@@ -68,10 +71,13 @@ export declare const Image: {
|
|
|
68
71
|
};
|
|
69
72
|
wrapperClassNames: import('vue').ComputedRef<unknown[]>;
|
|
70
73
|
wrapperStyles: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
74
|
+
overlayStyles: import('vue').ComputedRef<{
|
|
75
|
+
height: string | undefined;
|
|
76
|
+
}>;
|
|
71
77
|
showFooter: import('vue').ComputedRef<boolean>;
|
|
72
78
|
imgProps: import('vue').ComputedRef<Omit<{
|
|
73
79
|
[x: string]: unknown;
|
|
74
|
-
}, "class" | "style">>;
|
|
80
|
+
}, "class" | "style" | "src">>;
|
|
75
81
|
imgStyle: import('vue').ComputedRef<{
|
|
76
82
|
width: string | undefined;
|
|
77
83
|
height: string | undefined;
|
|
@@ -81,17 +87,24 @@ export declare const Image: {
|
|
|
81
87
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
82
88
|
mergedPreviewVisible: import('vue').ComputedRef<boolean>;
|
|
83
89
|
mergePreview: import('vue').ComputedRef<boolean>;
|
|
84
|
-
|
|
85
|
-
|
|
90
|
+
canOpenPreview: import('vue').ComputedRef<boolean>;
|
|
91
|
+
onImgLoaded: (event: Event) => void;
|
|
92
|
+
onImgLoadError: (event: Event) => void;
|
|
86
93
|
onImgClick: () => void;
|
|
94
|
+
onImgKeydown: (event: KeyboardEvent) => void;
|
|
87
95
|
onPreviewClose: () => void;
|
|
88
96
|
fitStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
|
89
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
97
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
98
|
+
'preview-visible-change': (_visible: boolean) => true;
|
|
99
|
+
'update:previewVisible': (_visible: boolean) => true;
|
|
100
|
+
load: (_event: Event) => true;
|
|
101
|
+
error: (_event: Event) => true;
|
|
102
|
+
}, import('vue').PublicProps, {
|
|
103
|
+
preview: boolean;
|
|
90
104
|
hideFooter: boolean | "never";
|
|
91
105
|
renderToBody: boolean;
|
|
92
106
|
footerPosition: "outer" | "inner";
|
|
93
107
|
showLoader: boolean;
|
|
94
|
-
preview: boolean;
|
|
95
108
|
previewVisible: boolean;
|
|
96
109
|
defaultPreviewVisible: boolean;
|
|
97
110
|
}, true, {}, {}, {
|
|
@@ -347,6 +360,9 @@ export declare const Image: {
|
|
|
347
360
|
default: number;
|
|
348
361
|
};
|
|
349
362
|
}>, {
|
|
363
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
364
|
+
[k: string]: unknown;
|
|
365
|
+
}>;
|
|
350
366
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
351
367
|
className: {
|
|
352
368
|
block: string;
|
|
@@ -367,9 +383,10 @@ export declare const Image: {
|
|
|
367
383
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
368
384
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
369
385
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
386
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
370
387
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
371
|
-
refWrapper: import('vue').Ref<
|
|
372
|
-
refImage: import('vue').Ref<
|
|
388
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
389
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
373
390
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
374
391
|
onWheel: {
|
|
375
392
|
(...args: any[]): void;
|
|
@@ -377,8 +394,9 @@ export declare const Image: {
|
|
|
377
394
|
};
|
|
378
395
|
onMaskClick: (e: MouseEvent) => void;
|
|
379
396
|
onCloseClick: () => void;
|
|
380
|
-
|
|
381
|
-
|
|
397
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
398
|
+
onImgLoad(event: Event): void;
|
|
399
|
+
onImgError(event: Event): void;
|
|
382
400
|
actions: import('vue').ComputedRef<({
|
|
383
401
|
key: string;
|
|
384
402
|
name: string;
|
|
@@ -886,8 +904,8 @@ export declare const Image: {
|
|
|
886
904
|
}, import('vue').PublicProps, {
|
|
887
905
|
mini: boolean;
|
|
888
906
|
disabled: boolean;
|
|
889
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
890
907
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
908
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
891
909
|
animationName: string;
|
|
892
910
|
autoFitPosition: boolean;
|
|
893
911
|
popupVisible: boolean;
|
|
@@ -1072,8 +1090,8 @@ export declare const Image: {
|
|
|
1072
1090
|
}>, () => VNode, {}, {}, {}, {
|
|
1073
1091
|
mini: boolean;
|
|
1074
1092
|
disabled: boolean;
|
|
1075
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1076
1093
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
1094
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1077
1095
|
animationName: string;
|
|
1078
1096
|
autoFitPosition: boolean;
|
|
1079
1097
|
popupVisible: boolean;
|
|
@@ -1261,8 +1279,8 @@ export declare const Image: {
|
|
|
1261
1279
|
}, string, {
|
|
1262
1280
|
mini: boolean;
|
|
1263
1281
|
disabled: boolean;
|
|
1264
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1265
1282
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
1283
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
1266
1284
|
animationName: string;
|
|
1267
1285
|
autoFitPosition: boolean;
|
|
1268
1286
|
popupVisible: boolean;
|
|
@@ -1461,6 +1479,91 @@ export declare const Image: {
|
|
|
1461
1479
|
strokeWidth: string | number;
|
|
1462
1480
|
fillColor: unknown[];
|
|
1463
1481
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1482
|
+
IconImageClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1483
|
+
fillColor: {
|
|
1484
|
+
type: ArrayConstructor;
|
|
1485
|
+
default: undefined;
|
|
1486
|
+
};
|
|
1487
|
+
name: {
|
|
1488
|
+
type: StringConstructor;
|
|
1489
|
+
default: undefined;
|
|
1490
|
+
};
|
|
1491
|
+
size: {
|
|
1492
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1493
|
+
default: undefined;
|
|
1494
|
+
};
|
|
1495
|
+
rotate: {
|
|
1496
|
+
type: NumberConstructor;
|
|
1497
|
+
default: undefined;
|
|
1498
|
+
};
|
|
1499
|
+
spin: {
|
|
1500
|
+
type: BooleanConstructor;
|
|
1501
|
+
default: boolean;
|
|
1502
|
+
};
|
|
1503
|
+
color: {
|
|
1504
|
+
type: StringConstructor;
|
|
1505
|
+
default: undefined;
|
|
1506
|
+
};
|
|
1507
|
+
title: {
|
|
1508
|
+
type: StringConstructor;
|
|
1509
|
+
default: undefined;
|
|
1510
|
+
};
|
|
1511
|
+
ariaLabel: {
|
|
1512
|
+
type: StringConstructor;
|
|
1513
|
+
default: undefined;
|
|
1514
|
+
};
|
|
1515
|
+
strokeWidth: {
|
|
1516
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1517
|
+
default: undefined;
|
|
1518
|
+
};
|
|
1519
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1520
|
+
fillColor: {
|
|
1521
|
+
type: ArrayConstructor;
|
|
1522
|
+
default: undefined;
|
|
1523
|
+
};
|
|
1524
|
+
name: {
|
|
1525
|
+
type: StringConstructor;
|
|
1526
|
+
default: undefined;
|
|
1527
|
+
};
|
|
1528
|
+
size: {
|
|
1529
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1530
|
+
default: undefined;
|
|
1531
|
+
};
|
|
1532
|
+
rotate: {
|
|
1533
|
+
type: NumberConstructor;
|
|
1534
|
+
default: undefined;
|
|
1535
|
+
};
|
|
1536
|
+
spin: {
|
|
1537
|
+
type: BooleanConstructor;
|
|
1538
|
+
default: boolean;
|
|
1539
|
+
};
|
|
1540
|
+
color: {
|
|
1541
|
+
type: StringConstructor;
|
|
1542
|
+
default: undefined;
|
|
1543
|
+
};
|
|
1544
|
+
title: {
|
|
1545
|
+
type: StringConstructor;
|
|
1546
|
+
default: undefined;
|
|
1547
|
+
};
|
|
1548
|
+
ariaLabel: {
|
|
1549
|
+
type: StringConstructor;
|
|
1550
|
+
default: undefined;
|
|
1551
|
+
};
|
|
1552
|
+
strokeWidth: {
|
|
1553
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1554
|
+
default: undefined;
|
|
1555
|
+
};
|
|
1556
|
+
}>> & Readonly<{}>, {
|
|
1557
|
+
name: string;
|
|
1558
|
+
title: string;
|
|
1559
|
+
size: string | number;
|
|
1560
|
+
rotate: number;
|
|
1561
|
+
spin: boolean;
|
|
1562
|
+
color: string;
|
|
1563
|
+
ariaLabel: string;
|
|
1564
|
+
strokeWidth: string | number;
|
|
1565
|
+
fillColor: unknown[];
|
|
1566
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1464
1567
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1465
1568
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1466
1569
|
P: {};
|
|
@@ -1526,10 +1629,13 @@ export declare const Image: {
|
|
|
1526
1629
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1527
1630
|
};
|
|
1528
1631
|
}>> & Readonly<{
|
|
1529
|
-
|
|
1530
|
-
|
|
1632
|
+
onError?: ((_event: Event) => any) | undefined;
|
|
1633
|
+
onLoad?: ((_event: Event) => any) | undefined;
|
|
1634
|
+
"onPreview-visible-change"?: ((_visible: boolean) => any) | undefined;
|
|
1635
|
+
"onUpdate:previewVisible"?: ((_visible: boolean) => any) | undefined;
|
|
1531
1636
|
}>, {
|
|
1532
|
-
|
|
1637
|
+
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
1638
|
+
refImg: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
1533
1639
|
className: {
|
|
1534
1640
|
block: string;
|
|
1535
1641
|
element: (className: string) => string;
|
|
@@ -1538,10 +1644,13 @@ export declare const Image: {
|
|
|
1538
1644
|
};
|
|
1539
1645
|
wrapperClassNames: import('vue').ComputedRef<unknown[]>;
|
|
1540
1646
|
wrapperStyles: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
1647
|
+
overlayStyles: import('vue').ComputedRef<{
|
|
1648
|
+
height: string | undefined;
|
|
1649
|
+
}>;
|
|
1541
1650
|
showFooter: import('vue').ComputedRef<boolean>;
|
|
1542
1651
|
imgProps: import('vue').ComputedRef<Omit<{
|
|
1543
1652
|
[x: string]: unknown;
|
|
1544
|
-
}, "class" | "style">>;
|
|
1653
|
+
}, "class" | "style" | "src">>;
|
|
1545
1654
|
imgStyle: import('vue').ComputedRef<{
|
|
1546
1655
|
width: string | undefined;
|
|
1547
1656
|
height: string | undefined;
|
|
@@ -1551,17 +1660,19 @@ export declare const Image: {
|
|
|
1551
1660
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
1552
1661
|
mergedPreviewVisible: import('vue').ComputedRef<boolean>;
|
|
1553
1662
|
mergePreview: import('vue').ComputedRef<boolean>;
|
|
1554
|
-
|
|
1555
|
-
|
|
1663
|
+
canOpenPreview: import('vue').ComputedRef<boolean>;
|
|
1664
|
+
onImgLoaded: (event: Event) => void;
|
|
1665
|
+
onImgLoadError: (event: Event) => void;
|
|
1556
1666
|
onImgClick: () => void;
|
|
1667
|
+
onImgKeydown: (event: KeyboardEvent) => void;
|
|
1557
1668
|
onPreviewClose: () => void;
|
|
1558
1669
|
fitStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
|
1559
1670
|
}, {}, {}, {}, {
|
|
1671
|
+
preview: boolean;
|
|
1560
1672
|
hideFooter: boolean | "never";
|
|
1561
1673
|
renderToBody: boolean;
|
|
1562
1674
|
footerPosition: "outer" | "inner";
|
|
1563
1675
|
showLoader: boolean;
|
|
1564
|
-
preview: boolean;
|
|
1565
1676
|
previewVisible: boolean;
|
|
1566
1677
|
defaultPreviewVisible: boolean;
|
|
1567
1678
|
}>;
|
|
@@ -1625,10 +1736,13 @@ export declare const Image: {
|
|
|
1625
1736
|
type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
1626
1737
|
};
|
|
1627
1738
|
}>> & Readonly<{
|
|
1628
|
-
|
|
1629
|
-
|
|
1739
|
+
onError?: ((_event: Event) => any) | undefined;
|
|
1740
|
+
onLoad?: ((_event: Event) => any) | undefined;
|
|
1741
|
+
"onPreview-visible-change"?: ((_visible: boolean) => any) | undefined;
|
|
1742
|
+
"onUpdate:previewVisible"?: ((_visible: boolean) => any) | undefined;
|
|
1630
1743
|
}>, {
|
|
1631
|
-
|
|
1744
|
+
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
1745
|
+
refImg: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
1632
1746
|
className: {
|
|
1633
1747
|
block: string;
|
|
1634
1748
|
element: (className: string) => string;
|
|
@@ -1637,10 +1751,13 @@ export declare const Image: {
|
|
|
1637
1751
|
};
|
|
1638
1752
|
wrapperClassNames: import('vue').ComputedRef<unknown[]>;
|
|
1639
1753
|
wrapperStyles: import('vue').ComputedRef<import('vue').StyleValue[]>;
|
|
1754
|
+
overlayStyles: import('vue').ComputedRef<{
|
|
1755
|
+
height: string | undefined;
|
|
1756
|
+
}>;
|
|
1640
1757
|
showFooter: import('vue').ComputedRef<boolean>;
|
|
1641
1758
|
imgProps: import('vue').ComputedRef<Omit<{
|
|
1642
1759
|
[x: string]: unknown;
|
|
1643
|
-
}, "class" | "style">>;
|
|
1760
|
+
}, "class" | "style" | "src">>;
|
|
1644
1761
|
imgStyle: import('vue').ComputedRef<{
|
|
1645
1762
|
width: string | undefined;
|
|
1646
1763
|
height: string | undefined;
|
|
@@ -1650,17 +1767,24 @@ export declare const Image: {
|
|
|
1650
1767
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
1651
1768
|
mergedPreviewVisible: import('vue').ComputedRef<boolean>;
|
|
1652
1769
|
mergePreview: import('vue').ComputedRef<boolean>;
|
|
1653
|
-
|
|
1654
|
-
|
|
1770
|
+
canOpenPreview: import('vue').ComputedRef<boolean>;
|
|
1771
|
+
onImgLoaded: (event: Event) => void;
|
|
1772
|
+
onImgLoadError: (event: Event) => void;
|
|
1655
1773
|
onImgClick: () => void;
|
|
1774
|
+
onImgKeydown: (event: KeyboardEvent) => void;
|
|
1656
1775
|
onPreviewClose: () => void;
|
|
1657
1776
|
fitStyle: import('vue').ComputedRef<import('vue').CSSProperties>;
|
|
1658
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin,
|
|
1777
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1778
|
+
'preview-visible-change': (_visible: boolean) => true;
|
|
1779
|
+
'update:previewVisible': (_visible: boolean) => true;
|
|
1780
|
+
load: (_event: Event) => true;
|
|
1781
|
+
error: (_event: Event) => true;
|
|
1782
|
+
}, string, {
|
|
1783
|
+
preview: boolean;
|
|
1659
1784
|
hideFooter: boolean | "never";
|
|
1660
1785
|
renderToBody: boolean;
|
|
1661
1786
|
footerPosition: "outer" | "inner";
|
|
1662
1787
|
showLoader: boolean;
|
|
1663
|
-
preview: boolean;
|
|
1664
1788
|
previewVisible: boolean;
|
|
1665
1789
|
defaultPreviewVisible: boolean;
|
|
1666
1790
|
}, {}, string, {}, {
|
|
@@ -1916,6 +2040,9 @@ export declare const Image: {
|
|
|
1916
2040
|
default: number;
|
|
1917
2041
|
};
|
|
1918
2042
|
}>, {
|
|
2043
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
2044
|
+
[k: string]: unknown;
|
|
2045
|
+
}>;
|
|
1919
2046
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
1920
2047
|
className: {
|
|
1921
2048
|
block: string;
|
|
@@ -1936,9 +2063,10 @@ export declare const Image: {
|
|
|
1936
2063
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
1937
2064
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
1938
2065
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
2066
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
1939
2067
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
1940
|
-
refWrapper: import('vue').Ref<
|
|
1941
|
-
refImage: import('vue').Ref<
|
|
2068
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
2069
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
1942
2070
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
1943
2071
|
onWheel: {
|
|
1944
2072
|
(...args: any[]): void;
|
|
@@ -1946,8 +2074,9 @@ export declare const Image: {
|
|
|
1946
2074
|
};
|
|
1947
2075
|
onMaskClick: (e: MouseEvent) => void;
|
|
1948
2076
|
onCloseClick: () => void;
|
|
1949
|
-
|
|
1950
|
-
|
|
2077
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
2078
|
+
onImgLoad(event: Event): void;
|
|
2079
|
+
onImgError(event: Event): void;
|
|
1951
2080
|
actions: import('vue').ComputedRef<({
|
|
1952
2081
|
key: string;
|
|
1953
2082
|
name: string;
|
|
@@ -2455,8 +2584,8 @@ export declare const Image: {
|
|
|
2455
2584
|
}, import('vue').PublicProps, {
|
|
2456
2585
|
mini: boolean;
|
|
2457
2586
|
disabled: boolean;
|
|
2458
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2459
2587
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
2588
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2460
2589
|
animationName: string;
|
|
2461
2590
|
autoFitPosition: boolean;
|
|
2462
2591
|
popupVisible: boolean;
|
|
@@ -2641,8 +2770,8 @@ export declare const Image: {
|
|
|
2641
2770
|
}>, () => VNode, {}, {}, {}, {
|
|
2642
2771
|
mini: boolean;
|
|
2643
2772
|
disabled: boolean;
|
|
2644
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2645
2773
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
2774
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2646
2775
|
animationName: string;
|
|
2647
2776
|
autoFitPosition: boolean;
|
|
2648
2777
|
popupVisible: boolean;
|
|
@@ -2830,8 +2959,8 @@ export declare const Image: {
|
|
|
2830
2959
|
}, string, {
|
|
2831
2960
|
mini: boolean;
|
|
2832
2961
|
disabled: boolean;
|
|
2833
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2834
2962
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
2963
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
2835
2964
|
animationName: string;
|
|
2836
2965
|
autoFitPosition: boolean;
|
|
2837
2966
|
popupVisible: boolean;
|
|
@@ -3030,6 +3159,91 @@ export declare const Image: {
|
|
|
3030
3159
|
strokeWidth: string | number;
|
|
3031
3160
|
fillColor: unknown[];
|
|
3032
3161
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3162
|
+
IconImageClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3163
|
+
fillColor: {
|
|
3164
|
+
type: ArrayConstructor;
|
|
3165
|
+
default: undefined;
|
|
3166
|
+
};
|
|
3167
|
+
name: {
|
|
3168
|
+
type: StringConstructor;
|
|
3169
|
+
default: undefined;
|
|
3170
|
+
};
|
|
3171
|
+
size: {
|
|
3172
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
3173
|
+
default: undefined;
|
|
3174
|
+
};
|
|
3175
|
+
rotate: {
|
|
3176
|
+
type: NumberConstructor;
|
|
3177
|
+
default: undefined;
|
|
3178
|
+
};
|
|
3179
|
+
spin: {
|
|
3180
|
+
type: BooleanConstructor;
|
|
3181
|
+
default: boolean;
|
|
3182
|
+
};
|
|
3183
|
+
color: {
|
|
3184
|
+
type: StringConstructor;
|
|
3185
|
+
default: undefined;
|
|
3186
|
+
};
|
|
3187
|
+
title: {
|
|
3188
|
+
type: StringConstructor;
|
|
3189
|
+
default: undefined;
|
|
3190
|
+
};
|
|
3191
|
+
ariaLabel: {
|
|
3192
|
+
type: StringConstructor;
|
|
3193
|
+
default: undefined;
|
|
3194
|
+
};
|
|
3195
|
+
strokeWidth: {
|
|
3196
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
3197
|
+
default: undefined;
|
|
3198
|
+
};
|
|
3199
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3200
|
+
fillColor: {
|
|
3201
|
+
type: ArrayConstructor;
|
|
3202
|
+
default: undefined;
|
|
3203
|
+
};
|
|
3204
|
+
name: {
|
|
3205
|
+
type: StringConstructor;
|
|
3206
|
+
default: undefined;
|
|
3207
|
+
};
|
|
3208
|
+
size: {
|
|
3209
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
3210
|
+
default: undefined;
|
|
3211
|
+
};
|
|
3212
|
+
rotate: {
|
|
3213
|
+
type: NumberConstructor;
|
|
3214
|
+
default: undefined;
|
|
3215
|
+
};
|
|
3216
|
+
spin: {
|
|
3217
|
+
type: BooleanConstructor;
|
|
3218
|
+
default: boolean;
|
|
3219
|
+
};
|
|
3220
|
+
color: {
|
|
3221
|
+
type: StringConstructor;
|
|
3222
|
+
default: undefined;
|
|
3223
|
+
};
|
|
3224
|
+
title: {
|
|
3225
|
+
type: StringConstructor;
|
|
3226
|
+
default: undefined;
|
|
3227
|
+
};
|
|
3228
|
+
ariaLabel: {
|
|
3229
|
+
type: StringConstructor;
|
|
3230
|
+
default: undefined;
|
|
3231
|
+
};
|
|
3232
|
+
strokeWidth: {
|
|
3233
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
3234
|
+
default: undefined;
|
|
3235
|
+
};
|
|
3236
|
+
}>> & Readonly<{}>, {
|
|
3237
|
+
name: string;
|
|
3238
|
+
title: string;
|
|
3239
|
+
size: string | number;
|
|
3240
|
+
rotate: number;
|
|
3241
|
+
spin: boolean;
|
|
3242
|
+
color: string;
|
|
3243
|
+
ariaLabel: string;
|
|
3244
|
+
strokeWidth: string | number;
|
|
3245
|
+
fillColor: unknown[];
|
|
3246
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3033
3247
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3034
3248
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
3035
3249
|
install(app: import('vue').App): void;
|
|
@@ -3098,6 +3312,9 @@ export declare const ImagePreview: {
|
|
|
3098
3312
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
3099
3313
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
3100
3314
|
}>, {
|
|
3315
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
3316
|
+
[k: string]: unknown;
|
|
3317
|
+
}>;
|
|
3101
3318
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
3102
3319
|
className: {
|
|
3103
3320
|
block: string;
|
|
@@ -3118,9 +3335,10 @@ export declare const ImagePreview: {
|
|
|
3118
3335
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
3119
3336
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
3120
3337
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
3338
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
3121
3339
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
3122
|
-
refWrapper: import('vue').Ref<
|
|
3123
|
-
refImage: import('vue').Ref<
|
|
3340
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3341
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
3124
3342
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
3125
3343
|
onWheel: {
|
|
3126
3344
|
(...args: any[]): void;
|
|
@@ -3128,8 +3346,9 @@ export declare const ImagePreview: {
|
|
|
3128
3346
|
};
|
|
3129
3347
|
onMaskClick: (e: MouseEvent) => void;
|
|
3130
3348
|
onCloseClick: () => void;
|
|
3131
|
-
|
|
3132
|
-
|
|
3349
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
3350
|
+
onImgLoad(event: Event): void;
|
|
3351
|
+
onImgError(event: Event): void;
|
|
3133
3352
|
actions: import('vue').ComputedRef<({
|
|
3134
3353
|
key: string;
|
|
3135
3354
|
name: string;
|
|
@@ -3575,8 +3794,8 @@ export declare const ImagePreview: {
|
|
|
3575
3794
|
}, import('vue').PublicProps, {
|
|
3576
3795
|
mini: boolean;
|
|
3577
3796
|
disabled: boolean;
|
|
3578
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3579
3797
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
3798
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3580
3799
|
animationName: string;
|
|
3581
3800
|
autoFitPosition: boolean;
|
|
3582
3801
|
popupVisible: boolean;
|
|
@@ -3761,8 +3980,8 @@ export declare const ImagePreview: {
|
|
|
3761
3980
|
}>, () => VNode, {}, {}, {}, {
|
|
3762
3981
|
mini: boolean;
|
|
3763
3982
|
disabled: boolean;
|
|
3764
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3765
3983
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
3984
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3766
3985
|
animationName: string;
|
|
3767
3986
|
autoFitPosition: boolean;
|
|
3768
3987
|
popupVisible: boolean;
|
|
@@ -3950,8 +4169,8 @@ export declare const ImagePreview: {
|
|
|
3950
4169
|
}, string, {
|
|
3951
4170
|
mini: boolean;
|
|
3952
4171
|
disabled: boolean;
|
|
3953
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3954
4172
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
4173
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
3955
4174
|
animationName: string;
|
|
3956
4175
|
autoFitPosition: boolean;
|
|
3957
4176
|
popupVisible: boolean;
|
|
@@ -4150,55 +4369,140 @@ export declare const ImagePreview: {
|
|
|
4150
4369
|
strokeWidth: string | number;
|
|
4151
4370
|
fillColor: unknown[];
|
|
4152
4371
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
}
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4372
|
+
IconImageClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4373
|
+
fillColor: {
|
|
4374
|
+
type: ArrayConstructor;
|
|
4375
|
+
default: undefined;
|
|
4376
|
+
};
|
|
4377
|
+
name: {
|
|
4378
|
+
type: StringConstructor;
|
|
4379
|
+
default: undefined;
|
|
4380
|
+
};
|
|
4381
|
+
size: {
|
|
4382
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4383
|
+
default: undefined;
|
|
4384
|
+
};
|
|
4385
|
+
rotate: {
|
|
4386
|
+
type: NumberConstructor;
|
|
4387
|
+
default: undefined;
|
|
4388
|
+
};
|
|
4389
|
+
spin: {
|
|
4390
|
+
type: BooleanConstructor;
|
|
4391
|
+
default: boolean;
|
|
4392
|
+
};
|
|
4393
|
+
color: {
|
|
4394
|
+
type: StringConstructor;
|
|
4395
|
+
default: undefined;
|
|
4396
|
+
};
|
|
4397
|
+
title: {
|
|
4398
|
+
type: StringConstructor;
|
|
4399
|
+
default: undefined;
|
|
4400
|
+
};
|
|
4401
|
+
ariaLabel: {
|
|
4402
|
+
type: StringConstructor;
|
|
4403
|
+
default: undefined;
|
|
4404
|
+
};
|
|
4405
|
+
strokeWidth: {
|
|
4406
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4407
|
+
default: undefined;
|
|
4408
|
+
};
|
|
4409
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4410
|
+
fillColor: {
|
|
4411
|
+
type: ArrayConstructor;
|
|
4412
|
+
default: undefined;
|
|
4413
|
+
};
|
|
4414
|
+
name: {
|
|
4415
|
+
type: StringConstructor;
|
|
4416
|
+
default: undefined;
|
|
4417
|
+
};
|
|
4418
|
+
size: {
|
|
4419
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4420
|
+
default: undefined;
|
|
4421
|
+
};
|
|
4422
|
+
rotate: {
|
|
4423
|
+
type: NumberConstructor;
|
|
4424
|
+
default: undefined;
|
|
4425
|
+
};
|
|
4426
|
+
spin: {
|
|
4427
|
+
type: BooleanConstructor;
|
|
4428
|
+
default: boolean;
|
|
4429
|
+
};
|
|
4430
|
+
color: {
|
|
4431
|
+
type: StringConstructor;
|
|
4432
|
+
default: undefined;
|
|
4433
|
+
};
|
|
4434
|
+
title: {
|
|
4435
|
+
type: StringConstructor;
|
|
4436
|
+
default: undefined;
|
|
4437
|
+
};
|
|
4438
|
+
ariaLabel: {
|
|
4439
|
+
type: StringConstructor;
|
|
4440
|
+
default: undefined;
|
|
4441
|
+
};
|
|
4442
|
+
strokeWidth: {
|
|
4443
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4444
|
+
default: undefined;
|
|
4445
|
+
};
|
|
4446
|
+
}>> & Readonly<{}>, {
|
|
4447
|
+
name: string;
|
|
4448
|
+
title: string;
|
|
4449
|
+
size: string | number;
|
|
4450
|
+
rotate: number;
|
|
4451
|
+
spin: boolean;
|
|
4452
|
+
color: string;
|
|
4453
|
+
ariaLabel: string;
|
|
4454
|
+
strokeWidth: string | number;
|
|
4455
|
+
fillColor: unknown[];
|
|
4456
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4457
|
+
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4458
|
+
P: {};
|
|
4459
|
+
B: {};
|
|
4460
|
+
D: {};
|
|
4461
|
+
C: {};
|
|
4462
|
+
M: {};
|
|
4463
|
+
Defaults: {};
|
|
4464
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
4465
|
+
renderToBody: {
|
|
4466
|
+
type: BooleanConstructor;
|
|
4467
|
+
default: boolean;
|
|
4468
|
+
};
|
|
4469
|
+
src: {
|
|
4470
|
+
type: StringConstructor;
|
|
4471
|
+
};
|
|
4472
|
+
visible: {
|
|
4473
|
+
type: BooleanConstructor;
|
|
4474
|
+
default: undefined;
|
|
4475
|
+
};
|
|
4476
|
+
defaultVisible: {
|
|
4477
|
+
type: BooleanConstructor;
|
|
4478
|
+
default: boolean;
|
|
4479
|
+
};
|
|
4480
|
+
maskClosable: {
|
|
4481
|
+
type: BooleanConstructor;
|
|
4482
|
+
default: boolean;
|
|
4483
|
+
};
|
|
4484
|
+
closable: {
|
|
4485
|
+
type: BooleanConstructor;
|
|
4486
|
+
default: boolean;
|
|
4487
|
+
};
|
|
4488
|
+
actionsLayout: {
|
|
4489
|
+
type: import('vue').PropType<string[]>;
|
|
4490
|
+
default: () => string[];
|
|
4491
|
+
};
|
|
4492
|
+
popupContainer: {
|
|
4493
|
+
type: import('vue').PropType<HTMLElement | string>;
|
|
4494
|
+
};
|
|
4495
|
+
inGroup: {
|
|
4496
|
+
type: BooleanConstructor;
|
|
4497
|
+
default: boolean;
|
|
4498
|
+
};
|
|
4499
|
+
groupArrowProps: {
|
|
4500
|
+
type: ObjectConstructor;
|
|
4501
|
+
default: () => {};
|
|
4502
|
+
};
|
|
4503
|
+
escToClose: {
|
|
4504
|
+
type: BooleanConstructor;
|
|
4505
|
+
default: boolean;
|
|
4202
4506
|
};
|
|
4203
4507
|
wheelZoom: {
|
|
4204
4508
|
type: BooleanConstructor;
|
|
@@ -4220,6 +4524,9 @@ export declare const ImagePreview: {
|
|
|
4220
4524
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
4221
4525
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
4222
4526
|
}>, {
|
|
4527
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
4528
|
+
[k: string]: unknown;
|
|
4529
|
+
}>;
|
|
4223
4530
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
4224
4531
|
className: {
|
|
4225
4532
|
block: string;
|
|
@@ -4240,9 +4547,10 @@ export declare const ImagePreview: {
|
|
|
4240
4547
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
4241
4548
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
4242
4549
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
4550
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
4243
4551
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
4244
|
-
refWrapper: import('vue').Ref<
|
|
4245
|
-
refImage: import('vue').Ref<
|
|
4552
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4553
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
4246
4554
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
4247
4555
|
onWheel: {
|
|
4248
4556
|
(...args: any[]): void;
|
|
@@ -4250,8 +4558,9 @@ export declare const ImagePreview: {
|
|
|
4250
4558
|
};
|
|
4251
4559
|
onMaskClick: (e: MouseEvent) => void;
|
|
4252
4560
|
onCloseClick: () => void;
|
|
4253
|
-
|
|
4254
|
-
|
|
4561
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
4562
|
+
onImgLoad(event: Event): void;
|
|
4563
|
+
onImgError(event: Event): void;
|
|
4255
4564
|
actions: import('vue').ComputedRef<({
|
|
4256
4565
|
key: string;
|
|
4257
4566
|
name: string;
|
|
@@ -4350,6 +4659,9 @@ export declare const ImagePreview: {
|
|
|
4350
4659
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
4351
4660
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
4352
4661
|
}>, {
|
|
4662
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
4663
|
+
[k: string]: unknown;
|
|
4664
|
+
}>;
|
|
4353
4665
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
4354
4666
|
className: {
|
|
4355
4667
|
block: string;
|
|
@@ -4370,9 +4682,10 @@ export declare const ImagePreview: {
|
|
|
4370
4682
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
4371
4683
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
4372
4684
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
4685
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
4373
4686
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
4374
|
-
refWrapper: import('vue').Ref<
|
|
4375
|
-
refImage: import('vue').Ref<
|
|
4687
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
4688
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
4376
4689
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
4377
4690
|
onWheel: {
|
|
4378
4691
|
(...args: any[]): void;
|
|
@@ -4380,8 +4693,9 @@ export declare const ImagePreview: {
|
|
|
4380
4693
|
};
|
|
4381
4694
|
onMaskClick: (e: MouseEvent) => void;
|
|
4382
4695
|
onCloseClick: () => void;
|
|
4383
|
-
|
|
4384
|
-
|
|
4696
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
4697
|
+
onImgLoad(event: Event): void;
|
|
4698
|
+
onImgError(event: Event): void;
|
|
4385
4699
|
actions: import('vue').ComputedRef<({
|
|
4386
4700
|
key: string;
|
|
4387
4701
|
name: string;
|
|
@@ -4827,8 +5141,8 @@ export declare const ImagePreview: {
|
|
|
4827
5141
|
}, import('vue').PublicProps, {
|
|
4828
5142
|
mini: boolean;
|
|
4829
5143
|
disabled: boolean;
|
|
4830
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4831
5144
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
5145
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
4832
5146
|
animationName: string;
|
|
4833
5147
|
autoFitPosition: boolean;
|
|
4834
5148
|
popupVisible: boolean;
|
|
@@ -5013,8 +5327,8 @@ export declare const ImagePreview: {
|
|
|
5013
5327
|
}>, () => VNode, {}, {}, {}, {
|
|
5014
5328
|
mini: boolean;
|
|
5015
5329
|
disabled: boolean;
|
|
5016
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
5017
5330
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
5331
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
5018
5332
|
animationName: string;
|
|
5019
5333
|
autoFitPosition: boolean;
|
|
5020
5334
|
popupVisible: boolean;
|
|
@@ -5202,8 +5516,8 @@ export declare const ImagePreview: {
|
|
|
5202
5516
|
}, string, {
|
|
5203
5517
|
mini: boolean;
|
|
5204
5518
|
disabled: boolean;
|
|
5205
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
5206
5519
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
5520
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
5207
5521
|
animationName: string;
|
|
5208
5522
|
autoFitPosition: boolean;
|
|
5209
5523
|
popupVisible: boolean;
|
|
@@ -5402,6 +5716,91 @@ export declare const ImagePreview: {
|
|
|
5402
5716
|
strokeWidth: string | number;
|
|
5403
5717
|
fillColor: unknown[];
|
|
5404
5718
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5719
|
+
IconImageClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5720
|
+
fillColor: {
|
|
5721
|
+
type: ArrayConstructor;
|
|
5722
|
+
default: undefined;
|
|
5723
|
+
};
|
|
5724
|
+
name: {
|
|
5725
|
+
type: StringConstructor;
|
|
5726
|
+
default: undefined;
|
|
5727
|
+
};
|
|
5728
|
+
size: {
|
|
5729
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5730
|
+
default: undefined;
|
|
5731
|
+
};
|
|
5732
|
+
rotate: {
|
|
5733
|
+
type: NumberConstructor;
|
|
5734
|
+
default: undefined;
|
|
5735
|
+
};
|
|
5736
|
+
spin: {
|
|
5737
|
+
type: BooleanConstructor;
|
|
5738
|
+
default: boolean;
|
|
5739
|
+
};
|
|
5740
|
+
color: {
|
|
5741
|
+
type: StringConstructor;
|
|
5742
|
+
default: undefined;
|
|
5743
|
+
};
|
|
5744
|
+
title: {
|
|
5745
|
+
type: StringConstructor;
|
|
5746
|
+
default: undefined;
|
|
5747
|
+
};
|
|
5748
|
+
ariaLabel: {
|
|
5749
|
+
type: StringConstructor;
|
|
5750
|
+
default: undefined;
|
|
5751
|
+
};
|
|
5752
|
+
strokeWidth: {
|
|
5753
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5754
|
+
default: undefined;
|
|
5755
|
+
};
|
|
5756
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5757
|
+
fillColor: {
|
|
5758
|
+
type: ArrayConstructor;
|
|
5759
|
+
default: undefined;
|
|
5760
|
+
};
|
|
5761
|
+
name: {
|
|
5762
|
+
type: StringConstructor;
|
|
5763
|
+
default: undefined;
|
|
5764
|
+
};
|
|
5765
|
+
size: {
|
|
5766
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5767
|
+
default: undefined;
|
|
5768
|
+
};
|
|
5769
|
+
rotate: {
|
|
5770
|
+
type: NumberConstructor;
|
|
5771
|
+
default: undefined;
|
|
5772
|
+
};
|
|
5773
|
+
spin: {
|
|
5774
|
+
type: BooleanConstructor;
|
|
5775
|
+
default: boolean;
|
|
5776
|
+
};
|
|
5777
|
+
color: {
|
|
5778
|
+
type: StringConstructor;
|
|
5779
|
+
default: undefined;
|
|
5780
|
+
};
|
|
5781
|
+
title: {
|
|
5782
|
+
type: StringConstructor;
|
|
5783
|
+
default: undefined;
|
|
5784
|
+
};
|
|
5785
|
+
ariaLabel: {
|
|
5786
|
+
type: StringConstructor;
|
|
5787
|
+
default: undefined;
|
|
5788
|
+
};
|
|
5789
|
+
strokeWidth: {
|
|
5790
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
5791
|
+
default: undefined;
|
|
5792
|
+
};
|
|
5793
|
+
}>> & Readonly<{}>, {
|
|
5794
|
+
name: string;
|
|
5795
|
+
title: string;
|
|
5796
|
+
size: string | number;
|
|
5797
|
+
rotate: number;
|
|
5798
|
+
spin: boolean;
|
|
5799
|
+
color: string;
|
|
5800
|
+
ariaLabel: string;
|
|
5801
|
+
strokeWidth: string | number;
|
|
5802
|
+
fillColor: unknown[];
|
|
5803
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5405
5804
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
5406
5805
|
install(app: import('vue').App): void;
|
|
5407
5806
|
};
|
|
@@ -5454,6 +5853,9 @@ export declare const ImagePreviewGroup: {
|
|
|
5454
5853
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
5455
5854
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
5456
5855
|
}>, {
|
|
5856
|
+
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
5857
|
+
currentIndex: import('vue').ComputedRef<number>;
|
|
5858
|
+
imageCount: import('vue').ComputedRef<number>;
|
|
5457
5859
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
5458
5860
|
currentUrl: import('vue').ComputedRef<string | undefined>;
|
|
5459
5861
|
prevIndex: import('vue').ComputedRef<number | undefined>;
|
|
@@ -5533,6 +5935,9 @@ export declare const ImagePreviewGroup: {
|
|
|
5533
5935
|
default: number;
|
|
5534
5936
|
};
|
|
5535
5937
|
}>, {
|
|
5938
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
5939
|
+
[k: string]: unknown;
|
|
5940
|
+
}>;
|
|
5536
5941
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
5537
5942
|
className: {
|
|
5538
5943
|
block: string;
|
|
@@ -5553,9 +5958,10 @@ export declare const ImagePreviewGroup: {
|
|
|
5553
5958
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
5554
5959
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
5555
5960
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
5961
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
5556
5962
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
5557
|
-
refWrapper: import('vue').Ref<
|
|
5558
|
-
refImage: import('vue').Ref<
|
|
5963
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
5964
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
5559
5965
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
5560
5966
|
onWheel: {
|
|
5561
5967
|
(...args: any[]): void;
|
|
@@ -5563,8 +5969,9 @@ export declare const ImagePreviewGroup: {
|
|
|
5563
5969
|
};
|
|
5564
5970
|
onMaskClick: (e: MouseEvent) => void;
|
|
5565
5971
|
onCloseClick: () => void;
|
|
5566
|
-
|
|
5567
|
-
|
|
5972
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
5973
|
+
onImgLoad(event: Event): void;
|
|
5974
|
+
onImgError(event: Event): void;
|
|
5568
5975
|
actions: import('vue').ComputedRef<({
|
|
5569
5976
|
key: string;
|
|
5570
5977
|
name: string;
|
|
@@ -6072,8 +6479,8 @@ export declare const ImagePreviewGroup: {
|
|
|
6072
6479
|
}, import('vue').PublicProps, {
|
|
6073
6480
|
mini: boolean;
|
|
6074
6481
|
disabled: boolean;
|
|
6075
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6076
6482
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
6483
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6077
6484
|
animationName: string;
|
|
6078
6485
|
autoFitPosition: boolean;
|
|
6079
6486
|
popupVisible: boolean;
|
|
@@ -6258,8 +6665,8 @@ export declare const ImagePreviewGroup: {
|
|
|
6258
6665
|
}>, () => VNode, {}, {}, {}, {
|
|
6259
6666
|
mini: boolean;
|
|
6260
6667
|
disabled: boolean;
|
|
6261
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6262
6668
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
6669
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6263
6670
|
animationName: string;
|
|
6264
6671
|
autoFitPosition: boolean;
|
|
6265
6672
|
popupVisible: boolean;
|
|
@@ -6447,8 +6854,8 @@ export declare const ImagePreviewGroup: {
|
|
|
6447
6854
|
}, string, {
|
|
6448
6855
|
mini: boolean;
|
|
6449
6856
|
disabled: boolean;
|
|
6450
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6451
6857
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
6858
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
6452
6859
|
animationName: string;
|
|
6453
6860
|
autoFitPosition: boolean;
|
|
6454
6861
|
popupVisible: boolean;
|
|
@@ -6647,6 +7054,91 @@ export declare const ImagePreviewGroup: {
|
|
|
6647
7054
|
strokeWidth: string | number;
|
|
6648
7055
|
fillColor: unknown[];
|
|
6649
7056
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7057
|
+
IconImageClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7058
|
+
fillColor: {
|
|
7059
|
+
type: ArrayConstructor;
|
|
7060
|
+
default: undefined;
|
|
7061
|
+
};
|
|
7062
|
+
name: {
|
|
7063
|
+
type: StringConstructor;
|
|
7064
|
+
default: undefined;
|
|
7065
|
+
};
|
|
7066
|
+
size: {
|
|
7067
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7068
|
+
default: undefined;
|
|
7069
|
+
};
|
|
7070
|
+
rotate: {
|
|
7071
|
+
type: NumberConstructor;
|
|
7072
|
+
default: undefined;
|
|
7073
|
+
};
|
|
7074
|
+
spin: {
|
|
7075
|
+
type: BooleanConstructor;
|
|
7076
|
+
default: boolean;
|
|
7077
|
+
};
|
|
7078
|
+
color: {
|
|
7079
|
+
type: StringConstructor;
|
|
7080
|
+
default: undefined;
|
|
7081
|
+
};
|
|
7082
|
+
title: {
|
|
7083
|
+
type: StringConstructor;
|
|
7084
|
+
default: undefined;
|
|
7085
|
+
};
|
|
7086
|
+
ariaLabel: {
|
|
7087
|
+
type: StringConstructor;
|
|
7088
|
+
default: undefined;
|
|
7089
|
+
};
|
|
7090
|
+
strokeWidth: {
|
|
7091
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7092
|
+
default: undefined;
|
|
7093
|
+
};
|
|
7094
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7095
|
+
fillColor: {
|
|
7096
|
+
type: ArrayConstructor;
|
|
7097
|
+
default: undefined;
|
|
7098
|
+
};
|
|
7099
|
+
name: {
|
|
7100
|
+
type: StringConstructor;
|
|
7101
|
+
default: undefined;
|
|
7102
|
+
};
|
|
7103
|
+
size: {
|
|
7104
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7105
|
+
default: undefined;
|
|
7106
|
+
};
|
|
7107
|
+
rotate: {
|
|
7108
|
+
type: NumberConstructor;
|
|
7109
|
+
default: undefined;
|
|
7110
|
+
};
|
|
7111
|
+
spin: {
|
|
7112
|
+
type: BooleanConstructor;
|
|
7113
|
+
default: boolean;
|
|
7114
|
+
};
|
|
7115
|
+
color: {
|
|
7116
|
+
type: StringConstructor;
|
|
7117
|
+
default: undefined;
|
|
7118
|
+
};
|
|
7119
|
+
title: {
|
|
7120
|
+
type: StringConstructor;
|
|
7121
|
+
default: undefined;
|
|
7122
|
+
};
|
|
7123
|
+
ariaLabel: {
|
|
7124
|
+
type: StringConstructor;
|
|
7125
|
+
default: undefined;
|
|
7126
|
+
};
|
|
7127
|
+
strokeWidth: {
|
|
7128
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
7129
|
+
default: undefined;
|
|
7130
|
+
};
|
|
7131
|
+
}>> & Readonly<{}>, {
|
|
7132
|
+
name: string;
|
|
7133
|
+
title: string;
|
|
7134
|
+
size: string | number;
|
|
7135
|
+
rotate: number;
|
|
7136
|
+
spin: boolean;
|
|
7137
|
+
color: string;
|
|
7138
|
+
ariaLabel: string;
|
|
7139
|
+
strokeWidth: string | number;
|
|
7140
|
+
fillColor: unknown[];
|
|
7141
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6650
7142
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6651
7143
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6652
7144
|
P: {};
|
|
@@ -6703,6 +7195,9 @@ export declare const ImagePreviewGroup: {
|
|
|
6703
7195
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
6704
7196
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
6705
7197
|
}>, {
|
|
7198
|
+
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
7199
|
+
currentIndex: import('vue').ComputedRef<number>;
|
|
7200
|
+
imageCount: import('vue').ComputedRef<number>;
|
|
6706
7201
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
6707
7202
|
currentUrl: import('vue').ComputedRef<string | undefined>;
|
|
6708
7203
|
prevIndex: import('vue').ComputedRef<number | undefined>;
|
|
@@ -6773,6 +7268,9 @@ export declare const ImagePreviewGroup: {
|
|
|
6773
7268
|
"onUpdate:current"?: ((...args: any[]) => any) | undefined;
|
|
6774
7269
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
6775
7270
|
}>, {
|
|
7271
|
+
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
7272
|
+
currentIndex: import('vue').ComputedRef<number>;
|
|
7273
|
+
imageCount: import('vue').ComputedRef<number>;
|
|
6776
7274
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
6777
7275
|
currentUrl: import('vue').ComputedRef<string | undefined>;
|
|
6778
7276
|
prevIndex: import('vue').ComputedRef<number | undefined>;
|
|
@@ -6852,6 +7350,9 @@ export declare const ImagePreviewGroup: {
|
|
|
6852
7350
|
default: number;
|
|
6853
7351
|
};
|
|
6854
7352
|
}>, {
|
|
7353
|
+
rootAttrs: import('vue').ComputedRef<{
|
|
7354
|
+
[k: string]: unknown;
|
|
7355
|
+
}>;
|
|
6855
7356
|
t: (key: import('../../index.ts').LocaleKey | (string & {}), params?: Record<string, string | number>) => string;
|
|
6856
7357
|
className: {
|
|
6857
7358
|
block: string;
|
|
@@ -6872,9 +7373,10 @@ export declare const ImagePreviewGroup: {
|
|
|
6872
7373
|
mergedVisible: import('vue').ComputedRef<boolean>;
|
|
6873
7374
|
isLoading: import('vue').ComputedRef<boolean>;
|
|
6874
7375
|
isLoaded: import('vue').ComputedRef<boolean>;
|
|
7376
|
+
isError: import('vue').ComputedRef<boolean>;
|
|
6875
7377
|
scaleValueVisible: import('vue').Ref<boolean, boolean>;
|
|
6876
|
-
refWrapper: import('vue').Ref<
|
|
6877
|
-
refImage: import('vue').Ref<
|
|
7378
|
+
refWrapper: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
7379
|
+
refImage: import('vue').Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
6878
7380
|
mounted: import('vue').Ref<boolean, boolean>;
|
|
6879
7381
|
onWheel: {
|
|
6880
7382
|
(...args: any[]): void;
|
|
@@ -6882,8 +7384,9 @@ export declare const ImagePreviewGroup: {
|
|
|
6882
7384
|
};
|
|
6883
7385
|
onMaskClick: (e: MouseEvent) => void;
|
|
6884
7386
|
onCloseClick: () => void;
|
|
6885
|
-
|
|
6886
|
-
|
|
7387
|
+
onDialogKeydown: (event: KeyboardEvent) => void;
|
|
7388
|
+
onImgLoad(event: Event): void;
|
|
7389
|
+
onImgError(event: Event): void;
|
|
6887
7390
|
actions: import('vue').ComputedRef<({
|
|
6888
7391
|
key: string;
|
|
6889
7392
|
name: string;
|
|
@@ -7391,8 +7894,8 @@ export declare const ImagePreviewGroup: {
|
|
|
7391
7894
|
}, import('vue').PublicProps, {
|
|
7392
7895
|
mini: boolean;
|
|
7393
7896
|
disabled: boolean;
|
|
7394
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7395
7897
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
7898
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7396
7899
|
animationName: string;
|
|
7397
7900
|
autoFitPosition: boolean;
|
|
7398
7901
|
popupVisible: boolean;
|
|
@@ -7577,8 +8080,8 @@ export declare const ImagePreviewGroup: {
|
|
|
7577
8080
|
}>, () => VNode, {}, {}, {}, {
|
|
7578
8081
|
mini: boolean;
|
|
7579
8082
|
disabled: boolean;
|
|
7580
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7581
8083
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
8084
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7582
8085
|
animationName: string;
|
|
7583
8086
|
autoFitPosition: boolean;
|
|
7584
8087
|
popupVisible: boolean;
|
|
@@ -7766,8 +8269,8 @@ export declare const ImagePreviewGroup: {
|
|
|
7766
8269
|
}, string, {
|
|
7767
8270
|
mini: boolean;
|
|
7768
8271
|
disabled: boolean;
|
|
7769
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7770
8272
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
8273
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
7771
8274
|
animationName: string;
|
|
7772
8275
|
autoFitPosition: boolean;
|
|
7773
8276
|
popupVisible: boolean;
|
|
@@ -7966,6 +8469,91 @@ export declare const ImagePreviewGroup: {
|
|
|
7966
8469
|
strokeWidth: string | number;
|
|
7967
8470
|
fillColor: unknown[];
|
|
7968
8471
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8472
|
+
IconImageClose: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8473
|
+
fillColor: {
|
|
8474
|
+
type: ArrayConstructor;
|
|
8475
|
+
default: undefined;
|
|
8476
|
+
};
|
|
8477
|
+
name: {
|
|
8478
|
+
type: StringConstructor;
|
|
8479
|
+
default: undefined;
|
|
8480
|
+
};
|
|
8481
|
+
size: {
|
|
8482
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8483
|
+
default: undefined;
|
|
8484
|
+
};
|
|
8485
|
+
rotate: {
|
|
8486
|
+
type: NumberConstructor;
|
|
8487
|
+
default: undefined;
|
|
8488
|
+
};
|
|
8489
|
+
spin: {
|
|
8490
|
+
type: BooleanConstructor;
|
|
8491
|
+
default: boolean;
|
|
8492
|
+
};
|
|
8493
|
+
color: {
|
|
8494
|
+
type: StringConstructor;
|
|
8495
|
+
default: undefined;
|
|
8496
|
+
};
|
|
8497
|
+
title: {
|
|
8498
|
+
type: StringConstructor;
|
|
8499
|
+
default: undefined;
|
|
8500
|
+
};
|
|
8501
|
+
ariaLabel: {
|
|
8502
|
+
type: StringConstructor;
|
|
8503
|
+
default: undefined;
|
|
8504
|
+
};
|
|
8505
|
+
strokeWidth: {
|
|
8506
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8507
|
+
default: undefined;
|
|
8508
|
+
};
|
|
8509
|
+
}>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8510
|
+
fillColor: {
|
|
8511
|
+
type: ArrayConstructor;
|
|
8512
|
+
default: undefined;
|
|
8513
|
+
};
|
|
8514
|
+
name: {
|
|
8515
|
+
type: StringConstructor;
|
|
8516
|
+
default: undefined;
|
|
8517
|
+
};
|
|
8518
|
+
size: {
|
|
8519
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8520
|
+
default: undefined;
|
|
8521
|
+
};
|
|
8522
|
+
rotate: {
|
|
8523
|
+
type: NumberConstructor;
|
|
8524
|
+
default: undefined;
|
|
8525
|
+
};
|
|
8526
|
+
spin: {
|
|
8527
|
+
type: BooleanConstructor;
|
|
8528
|
+
default: boolean;
|
|
8529
|
+
};
|
|
8530
|
+
color: {
|
|
8531
|
+
type: StringConstructor;
|
|
8532
|
+
default: undefined;
|
|
8533
|
+
};
|
|
8534
|
+
title: {
|
|
8535
|
+
type: StringConstructor;
|
|
8536
|
+
default: undefined;
|
|
8537
|
+
};
|
|
8538
|
+
ariaLabel: {
|
|
8539
|
+
type: StringConstructor;
|
|
8540
|
+
default: undefined;
|
|
8541
|
+
};
|
|
8542
|
+
strokeWidth: {
|
|
8543
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8544
|
+
default: undefined;
|
|
8545
|
+
};
|
|
8546
|
+
}>> & Readonly<{}>, {
|
|
8547
|
+
name: string;
|
|
8548
|
+
title: string;
|
|
8549
|
+
size: string | number;
|
|
8550
|
+
rotate: number;
|
|
8551
|
+
spin: boolean;
|
|
8552
|
+
color: string;
|
|
8553
|
+
ariaLabel: string;
|
|
8554
|
+
strokeWidth: string | number;
|
|
8555
|
+
fillColor: unknown[];
|
|
8556
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7969
8557
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7970
8558
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
7971
8559
|
install(app: import('vue').App): void;
|
|
@@ -8142,8 +8730,8 @@ export declare const ImagePreviewAction: {
|
|
|
8142
8730
|
}, import('vue').PublicProps, {
|
|
8143
8731
|
mini: boolean;
|
|
8144
8732
|
disabled: boolean;
|
|
8145
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8146
8733
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
8734
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8147
8735
|
animationName: string;
|
|
8148
8736
|
autoFitPosition: boolean;
|
|
8149
8737
|
popupVisible: boolean;
|
|
@@ -8328,8 +8916,8 @@ export declare const ImagePreviewAction: {
|
|
|
8328
8916
|
}>, () => VNode, {}, {}, {}, {
|
|
8329
8917
|
mini: boolean;
|
|
8330
8918
|
disabled: boolean;
|
|
8331
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8332
8919
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
8920
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8333
8921
|
animationName: string;
|
|
8334
8922
|
autoFitPosition: boolean;
|
|
8335
8923
|
popupVisible: boolean;
|
|
@@ -8517,8 +9105,8 @@ export declare const ImagePreviewAction: {
|
|
|
8517
9105
|
}, string, {
|
|
8518
9106
|
mini: boolean;
|
|
8519
9107
|
disabled: boolean;
|
|
8520
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8521
9108
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
9109
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8522
9110
|
animationName: string;
|
|
8523
9111
|
autoFitPosition: boolean;
|
|
8524
9112
|
popupVisible: boolean;
|
|
@@ -8736,8 +9324,8 @@ export declare const ImagePreviewAction: {
|
|
|
8736
9324
|
}, import('vue').PublicProps, {
|
|
8737
9325
|
mini: boolean;
|
|
8738
9326
|
disabled: boolean;
|
|
8739
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8740
9327
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
9328
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8741
9329
|
animationName: string;
|
|
8742
9330
|
autoFitPosition: boolean;
|
|
8743
9331
|
popupVisible: boolean;
|
|
@@ -8922,8 +9510,8 @@ export declare const ImagePreviewAction: {
|
|
|
8922
9510
|
}>, () => VNode, {}, {}, {}, {
|
|
8923
9511
|
mini: boolean;
|
|
8924
9512
|
disabled: boolean;
|
|
8925
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8926
9513
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
9514
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
8927
9515
|
animationName: string;
|
|
8928
9516
|
autoFitPosition: boolean;
|
|
8929
9517
|
popupVisible: boolean;
|
|
@@ -9111,8 +9699,8 @@ export declare const ImagePreviewAction: {
|
|
|
9111
9699
|
}, string, {
|
|
9112
9700
|
mini: boolean;
|
|
9113
9701
|
disabled: boolean;
|
|
9114
|
-
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
9115
9702
|
trigger: "hover" | "click" | "focus" | "contextMenu" | ("hover" | "click" | "focus" | "contextMenu")[];
|
|
9703
|
+
position: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | "left" | "lt" | "lb" | "right" | "rt" | "rb";
|
|
9116
9704
|
animationName: string;
|
|
9117
9705
|
autoFitPosition: boolean;
|
|
9118
9706
|
popupVisible: boolean;
|