@uzum-tech/ui 2.3.4 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6368 -441
- package/dist/index.mjs +6368 -441
- package/dist/index.prod.js +4 -2
- package/dist/index.prod.mjs +4 -2
- package/es/_utils/markdown/constants.d.ts +27 -0
- package/es/_utils/markdown/constants.mjs +26 -0
- package/es/_utils/markdown/create-markdown-renderer.d.ts +3 -0
- package/es/_utils/markdown/create-markdown-renderer.mjs +65 -0
- package/es/_utils/markdown/index.d.ts +2 -0
- package/es/_utils/markdown/index.mjs +1 -0
- package/es/_utils/markdown/interface.d.ts +14 -0
- package/es/_utils/markdown/interface.mjs +7 -0
- package/es/_utils/markdown/render-markdown.d.ts +3 -0
- package/es/_utils/markdown/render-markdown.mjs +31 -0
- package/es/_utils/markdown/rulers/clamp-heading.d.ts +2 -0
- package/es/_utils/markdown/rulers/clamp-heading.mjs +25 -0
- package/es/_utils/markdown/rulers/equals-divider.d.ts +2 -0
- package/es/_utils/markdown/rulers/equals-divider.mjs +19 -0
- package/es/_utils/markdown/rulers/prune-empty-blocks.d.ts +2 -0
- package/es/_utils/markdown/rulers/prune-empty-blocks.mjs +31 -0
- package/es/_utils/markdown/rulers/strikethrough.d.ts +3 -0
- package/es/_utils/markdown/rulers/strikethrough.mjs +38 -0
- package/es/_utils/markdown/rulers/strip-html.d.ts +2 -0
- package/es/_utils/markdown/rulers/strip-html.mjs +7 -0
- package/es/chat/src/Chat.d.ts +515 -23
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatListItems.d.ts +172 -4
- package/es/chat/src/ChatListItems.mjs +3 -2
- package/es/chat/src/ChatMainArea.d.ts +200 -5
- package/es/chat/src/ChatMainArea.mjs +27 -13
- package/es/chat/src/ChatMessages.d.ts +198 -3
- package/es/chat/src/ChatMessages.mjs +20 -2
- package/es/chat/src/ChatParts/Sidebar.d.ts +28 -0
- package/es/chat/src/interface.d.ts +56 -0
- package/es/chat/src/interface.mjs +8 -0
- package/es/chat/styles/dark.d.ts +14 -0
- package/es/chat/styles/light.d.ts +19 -0
- package/es/chat/styles/light.mjs +5 -0
- package/es/components.d.ts +1452 -456
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/es/data-table/src/TableParts/Header.mjs +1 -1
- package/es/data-table/src/use-sorter.d.ts +2 -5
- package/es/data-table/src/use-table-data.d.ts +1 -4
- package/es/image/index.d.ts +2 -2
- package/es/image/index.mjs +2 -1
- package/es/image/src/ImagePreview.d.ts +60 -184
- package/es/image/src/ImagePreview.mjs +12 -18
- package/es/image/src/interface.d.ts +156 -3
- package/es/image/src/interface.mjs +23 -1
- package/es/image/src/public-types.d.ts +11 -5
- package/es/image/src/styles/index.cssr.mjs +11 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/message-bubble/index.d.ts +1 -0
- package/es/message-bubble/src/MessageBubble.d.ts +78 -6
- package/es/message-bubble/src/MessageBubble.mjs +49 -7
- package/es/message-bubble/src/interface.d.ts +36 -0
- package/es/message-bubble/src/interface.mjs +8 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +17 -1
- package/es/message-bubble/styles/dark.d.ts +9 -0
- package/es/message-bubble/styles/light.d.ts +18 -0
- package/es/message-bubble/styles/light.mjs +10 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_utils/markdown/constants.d.ts +27 -0
- package/lib/_utils/markdown/constants.js +55 -0
- package/lib/_utils/markdown/create-markdown-renderer.d.ts +3 -0
- package/lib/_utils/markdown/create-markdown-renderer.js +84 -0
- package/lib/_utils/markdown/index.d.ts +2 -0
- package/lib/_utils/markdown/index.js +6 -0
- package/lib/_utils/markdown/interface.d.ts +14 -0
- package/lib/_utils/markdown/interface.js +10 -0
- package/lib/_utils/markdown/render-markdown.d.ts +3 -0
- package/lib/_utils/markdown/render-markdown.js +38 -0
- package/lib/_utils/markdown/rulers/clamp-heading.d.ts +2 -0
- package/lib/_utils/markdown/rulers/clamp-heading.js +30 -0
- package/lib/_utils/markdown/rulers/equals-divider.d.ts +2 -0
- package/lib/_utils/markdown/rulers/equals-divider.js +28 -0
- package/lib/_utils/markdown/rulers/prune-empty-blocks.d.ts +2 -0
- package/lib/_utils/markdown/rulers/prune-empty-blocks.js +40 -0
- package/lib/_utils/markdown/rulers/strikethrough.d.ts +3 -0
- package/lib/_utils/markdown/rulers/strikethrough.js +43 -0
- package/lib/_utils/markdown/rulers/strip-html.d.ts +2 -0
- package/lib/_utils/markdown/rulers/strip-html.js +15 -0
- package/lib/chat/src/Chat.d.ts +515 -23
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatListItems.d.ts +172 -4
- package/lib/chat/src/ChatListItems.js +7 -2
- package/lib/chat/src/ChatMainArea.d.ts +200 -5
- package/lib/chat/src/ChatMainArea.js +26 -14
- package/lib/chat/src/ChatMessages.d.ts +198 -3
- package/lib/chat/src/ChatMessages.js +11 -4
- package/lib/chat/src/ChatParts/Sidebar.d.ts +28 -0
- package/lib/chat/src/interface.d.ts +56 -0
- package/lib/chat/src/interface.js +6 -0
- package/lib/chat/styles/dark.d.ts +14 -0
- package/lib/chat/styles/light.d.ts +19 -0
- package/lib/chat/styles/light.js +5 -0
- package/lib/components.d.ts +1073 -77
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/use-sorter.d.ts +2 -5
- package/lib/data-table/src/use-table-data.d.ts +1 -4
- package/lib/image/index.d.ts +2 -2
- package/lib/image/index.js +3 -2
- package/lib/image/src/ImagePreview.d.ts +60 -184
- package/lib/image/src/ImagePreview.js +18 -17
- package/lib/image/src/interface.d.ts +156 -3
- package/lib/image/src/interface.js +12 -1
- package/lib/image/src/public-types.d.ts +11 -5
- package/lib/image/src/styles/index.cssr.js +11 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/message-bubble/index.d.ts +1 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +78 -6
- package/lib/message-bubble/src/MessageBubble.js +39 -7
- package/lib/message-bubble/src/interface.d.ts +36 -0
- package/lib/message-bubble/src/interface.js +6 -0
- package/lib/message-bubble/src/styles/index.cssr.js +17 -1
- package/lib/message-bubble/styles/dark.d.ts +9 -0
- package/lib/message-bubble/styles/light.d.ts +18 -0
- package/lib/message-bubble/styles/light.js +10 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -1
- package/web-types.json +75 -2
|
@@ -3794,7 +3794,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3794
3794
|
showPopover: import("vue").Ref<boolean, boolean>;
|
|
3795
3795
|
mergedRenderFilter: import("vue").ComputedRef<import("../interface").RenderFilter | undefined>;
|
|
3796
3796
|
filterMultiple: import("vue").ComputedRef<boolean>;
|
|
3797
|
-
mergedFilterValue: import("vue").ComputedRef<FilterOptionValue | FilterOptionValue
|
|
3797
|
+
mergedFilterValue: import("vue").ComputedRef<FilterOptionValue[] | FilterOptionValue | null>;
|
|
3798
3798
|
filterMenuCssVars: import("vue").Ref<import("vue").CSSProperties, import("vue").CSSProperties>;
|
|
3799
3799
|
handleFilterChange: (mergedFilterValue: FilterOptionValue | FilterOptionValue[] | null) => void;
|
|
3800
3800
|
handleFilterMenuConfirm: () => void;
|
|
@@ -208,7 +208,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
208
208
|
const { handleTableHeaderScroll, scrollX } = this;
|
|
209
209
|
return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-data-table-base-table-header`, onScroll: handleTableHeaderScroll },
|
|
210
210
|
(0, vue_1.h)("table", { ref: "body", class: `${mergedClsPrefix}-data-table-table`, style: {
|
|
211
|
-
minWidth: (0, _utils_1.formatLength)(scrollX),
|
|
211
|
+
minWidth: fixedResizableTableWidth || (0, _utils_1.formatLength)(scrollX),
|
|
212
212
|
width: fixedResizableTableWidth,
|
|
213
213
|
tableLayout: mergedTableLayout
|
|
214
214
|
} },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ColumnKey,
|
|
1
|
+
import type { ColumnKey, DataTableSetupProps, InternalRowData, SortOrder, SortState, TmNode, UseSorterDeps } from './interface';
|
|
2
2
|
export declare function useSorter(props: DataTableSetupProps, { dataRelatedColsRef, filteredDataRef }: UseSorterDeps): {
|
|
3
3
|
clearSorter: () => void;
|
|
4
4
|
sort: (columnKey: ColumnKey, order?: SortOrder) => void;
|
|
@@ -6,10 +6,7 @@ export declare function useSorter(props: DataTableSetupProps, { dataRelatedColsR
|
|
|
6
6
|
mergedSortStateRef: import("vue").ComputedRef<{
|
|
7
7
|
columnKey: ColumnKey;
|
|
8
8
|
order: SortOrder;
|
|
9
|
-
sorter: boolean | "default" |
|
|
10
|
-
multiple: number;
|
|
11
|
-
compare?: "default" | CompareFn<InternalRowData> | undefined;
|
|
12
|
-
};
|
|
9
|
+
sorter: boolean | "default" | import("./interface").Sorter<InternalRowData>;
|
|
13
10
|
}[]>;
|
|
14
11
|
deriveNextSorter: (sortState: SortState | null) => void;
|
|
15
12
|
doUpdateSorter: (sortState: SortState | SortState[] | null) => void;
|
|
@@ -10,10 +10,7 @@ export declare function useTableData(props: DataTableSetupProps, { dataRelatedCo
|
|
|
10
10
|
mergedSortStateRef: import("vue").ComputedRef<{
|
|
11
11
|
columnKey: ColumnKey;
|
|
12
12
|
order: import("./interface").SortOrder;
|
|
13
|
-
sorter: boolean | "default" | import("./interface").
|
|
14
|
-
multiple: number;
|
|
15
|
-
compare?: "default" | import("./interface").CompareFn<InternalRowData> | undefined;
|
|
16
|
-
};
|
|
13
|
+
sorter: boolean | "default" | import("./interface").Sorter<InternalRowData>;
|
|
17
14
|
}[]>;
|
|
18
15
|
hoverKeyRef: import("vue").Ref<RowKey | null, RowKey | null>;
|
|
19
16
|
selectionColumnRef: import("vue").ComputedRef<TableSelectionColumn | null>;
|
package/lib/image/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export { imageProps, default as UImage } from './src/Image';
|
|
|
2
2
|
export type { ImageProps } from './src/Image';
|
|
3
3
|
export { imageGroupProps, default as UImageGroup } from './src/ImageGroup';
|
|
4
4
|
export type { ImageGroupProps } from './src/ImageGroup';
|
|
5
|
-
export {
|
|
6
|
-
export type
|
|
5
|
+
export { default as UImagePreview } from './src/ImagePreview';
|
|
6
|
+
export { imagePreviewProps, type ImagePreviewProps } from './src/interface';
|
|
7
7
|
export type * from './src/public-types';
|
package/lib/image/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.imagePreviewProps = exports.UImagePreview = exports.UImageGroup = exports.imageGroupProps = exports.UImage = exports.imageProps = void 0;
|
|
7
7
|
var Image_1 = require("./src/Image");
|
|
8
8
|
Object.defineProperty(exports, "imageProps", { enumerable: true, get: function () { return Image_1.imageProps; } });
|
|
9
9
|
Object.defineProperty(exports, "UImage", { enumerable: true, get: function () { return __importDefault(Image_1).default; } });
|
|
@@ -11,5 +11,6 @@ var ImageGroup_1 = require("./src/ImageGroup");
|
|
|
11
11
|
Object.defineProperty(exports, "imageGroupProps", { enumerable: true, get: function () { return ImageGroup_1.imageGroupProps; } });
|
|
12
12
|
Object.defineProperty(exports, "UImageGroup", { enumerable: true, get: function () { return __importDefault(ImageGroup_1).default; } });
|
|
13
13
|
var ImagePreview_1 = require("./src/ImagePreview");
|
|
14
|
-
Object.defineProperty(exports, "imagePreviewProps", { enumerable: true, get: function () { return ImagePreview_1.imagePreviewProps; } });
|
|
15
14
|
Object.defineProperty(exports, "UImagePreview", { enumerable: true, get: function () { return __importDefault(ImagePreview_1).default; } });
|
|
15
|
+
var interface_1 = require("./src/interface");
|
|
16
|
+
Object.defineProperty(exports, "imagePreviewProps", { enumerable: true, get: function () { return interface_1.imagePreviewProps; } });
|
|
@@ -1,168 +1,34 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
src: StringConstructor;
|
|
5
|
-
show: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: undefined;
|
|
1
|
+
import type { SlotsType, VNode } from 'vue';
|
|
2
|
+
import type { ImagePreviewSlots } from './public-types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
readonly src: StringConstructor;
|
|
5
|
+
readonly show: {
|
|
6
|
+
readonly type: BooleanConstructor;
|
|
7
|
+
readonly default: undefined;
|
|
8
8
|
};
|
|
9
|
-
defaultShow: BooleanConstructor;
|
|
10
|
-
'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
onClose: PropType<MaybeArray<() => void>>;
|
|
15
|
-
onPreviewPrev: PropType<() => void>;
|
|
16
|
-
onPreviewNext: PropType<() => void>;
|
|
17
|
-
showToolbar: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
9
|
+
readonly defaultShow: BooleanConstructor;
|
|
10
|
+
readonly 'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(show: boolean) => void>>;
|
|
11
|
+
readonly loading: {
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: false;
|
|
20
14
|
};
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
toolbarIconColor: string;
|
|
25
|
-
toolbarColor: string;
|
|
26
|
-
toolbarBoxShadow: string;
|
|
27
|
-
toolbarBorderRadius: string;
|
|
28
|
-
overlayColor: string;
|
|
29
|
-
}, {
|
|
30
|
-
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
31
|
-
padding: string;
|
|
32
|
-
textPadding: string;
|
|
33
|
-
titleSize: string;
|
|
34
|
-
titleWeight: string;
|
|
35
|
-
titleLineHeight: string;
|
|
36
|
-
subtitleSize: string;
|
|
37
|
-
subtitleMargin: string;
|
|
38
|
-
subtitleWeight: string;
|
|
39
|
-
subtitleLineHeight: string;
|
|
40
|
-
iconSize: string;
|
|
41
|
-
arrowSpace: string;
|
|
42
|
-
noArrowSpace: string;
|
|
43
|
-
borderRadius: string;
|
|
44
|
-
color: string;
|
|
45
|
-
textColor: string;
|
|
46
|
-
}, {
|
|
47
|
-
Popover: import("../../_mixins").Theme<"Popover", {
|
|
48
|
-
space: string;
|
|
49
|
-
spaceArrow: string;
|
|
50
|
-
arrowOffset: string;
|
|
51
|
-
arrowOffsetVertical: string;
|
|
52
|
-
arrowHeight: string;
|
|
53
|
-
padding: string;
|
|
54
|
-
fontSize: string;
|
|
55
|
-
borderRadius: string;
|
|
56
|
-
color: string;
|
|
57
|
-
dividerColor: string;
|
|
58
|
-
textColor: string;
|
|
59
|
-
boxShadow: string;
|
|
60
|
-
}, any>;
|
|
61
|
-
}>;
|
|
62
|
-
}>>;
|
|
63
|
-
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
64
|
-
toolbarIconColor: string;
|
|
65
|
-
toolbarColor: string;
|
|
66
|
-
toolbarBoxShadow: string;
|
|
67
|
-
toolbarBorderRadius: string;
|
|
68
|
-
overlayColor: string;
|
|
69
|
-
}, {
|
|
70
|
-
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
71
|
-
padding: string;
|
|
72
|
-
textPadding: string;
|
|
73
|
-
titleSize: string;
|
|
74
|
-
titleWeight: string;
|
|
75
|
-
titleLineHeight: string;
|
|
76
|
-
subtitleSize: string;
|
|
77
|
-
subtitleMargin: string;
|
|
78
|
-
subtitleWeight: string;
|
|
79
|
-
subtitleLineHeight: string;
|
|
80
|
-
iconSize: string;
|
|
81
|
-
arrowSpace: string;
|
|
82
|
-
noArrowSpace: string;
|
|
83
|
-
borderRadius: string;
|
|
84
|
-
color: string;
|
|
85
|
-
textColor: string;
|
|
86
|
-
}, {
|
|
87
|
-
Popover: import("../../_mixins").Theme<"Popover", {
|
|
88
|
-
space: string;
|
|
89
|
-
spaceArrow: string;
|
|
90
|
-
arrowOffset: string;
|
|
91
|
-
arrowOffsetVertical: string;
|
|
92
|
-
arrowHeight: string;
|
|
93
|
-
padding: string;
|
|
94
|
-
fontSize: string;
|
|
95
|
-
borderRadius: string;
|
|
96
|
-
color: string;
|
|
97
|
-
dividerColor: string;
|
|
98
|
-
textColor: string;
|
|
99
|
-
boxShadow: string;
|
|
100
|
-
}, any>;
|
|
101
|
-
}>;
|
|
102
|
-
}>>>;
|
|
103
|
-
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
104
|
-
toolbarIconColor: string;
|
|
105
|
-
toolbarColor: string;
|
|
106
|
-
toolbarBoxShadow: string;
|
|
107
|
-
toolbarBorderRadius: string;
|
|
108
|
-
overlayColor: string;
|
|
109
|
-
}, {
|
|
110
|
-
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
111
|
-
padding: string;
|
|
112
|
-
textPadding: string;
|
|
113
|
-
titleSize: string;
|
|
114
|
-
titleWeight: string;
|
|
115
|
-
titleLineHeight: string;
|
|
116
|
-
subtitleSize: string;
|
|
117
|
-
subtitleMargin: string;
|
|
118
|
-
subtitleWeight: string;
|
|
119
|
-
subtitleLineHeight: string;
|
|
120
|
-
iconSize: string;
|
|
121
|
-
arrowSpace: string;
|
|
122
|
-
noArrowSpace: string;
|
|
123
|
-
borderRadius: string;
|
|
124
|
-
color: string;
|
|
125
|
-
textColor: string;
|
|
126
|
-
}, {
|
|
127
|
-
Popover: import("../../_mixins").Theme<"Popover", {
|
|
128
|
-
space: string;
|
|
129
|
-
spaceArrow: string;
|
|
130
|
-
arrowOffset: string;
|
|
131
|
-
arrowOffsetVertical: string;
|
|
132
|
-
arrowHeight: string;
|
|
133
|
-
padding: string;
|
|
134
|
-
fontSize: string;
|
|
135
|
-
borderRadius: string;
|
|
136
|
-
color: string;
|
|
137
|
-
dividerColor: string;
|
|
138
|
-
textColor: string;
|
|
139
|
-
boxShadow: string;
|
|
140
|
-
}, any>;
|
|
141
|
-
}>;
|
|
142
|
-
}>>>;
|
|
143
|
-
};
|
|
144
|
-
export type ImagePreviewProps = ExtractPublicPropTypes<typeof imagePreviewProps>;
|
|
145
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
146
|
-
src: StringConstructor;
|
|
147
|
-
show: {
|
|
148
|
-
type: BooleanConstructor;
|
|
149
|
-
default: undefined;
|
|
15
|
+
readonly spinProps: {
|
|
16
|
+
readonly type: import("vue").PropType<Partial<import("../../spin").SpinProps>>;
|
|
17
|
+
readonly default: undefined;
|
|
150
18
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
onPreviewNext: PropType<() => void>;
|
|
159
|
-
showToolbar: {
|
|
19
|
+
readonly onUpdateShow: import("vue").PropType<import("../../_utils").MaybeArray<(show: boolean) => void>>;
|
|
20
|
+
readonly onNext: import("vue").PropType<() => void>;
|
|
21
|
+
readonly onPrev: import("vue").PropType<() => void>;
|
|
22
|
+
readonly onClose: import("vue").PropType<import("../../_utils").MaybeArray<() => void>>;
|
|
23
|
+
readonly onPreviewPrev: import("vue").PropType<() => void>;
|
|
24
|
+
readonly onPreviewNext: import("vue").PropType<() => void>;
|
|
25
|
+
readonly showToolbar: {
|
|
160
26
|
type: BooleanConstructor;
|
|
161
27
|
default: boolean;
|
|
162
28
|
};
|
|
163
|
-
showToolbarTooltip: BooleanConstructor;
|
|
164
|
-
renderToolbar: PropType<import("./public-types").ImageRenderToolbar>;
|
|
165
|
-
theme: PropType<import("../../_mixins").Theme<"Image", {
|
|
29
|
+
readonly showToolbarTooltip: BooleanConstructor;
|
|
30
|
+
readonly renderToolbar: import("vue").PropType<import("./public-types").ImageRenderToolbar>;
|
|
31
|
+
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Image", {
|
|
166
32
|
toolbarIconColor: string;
|
|
167
33
|
toolbarColor: string;
|
|
168
34
|
toolbarBoxShadow: string;
|
|
@@ -202,7 +68,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
68
|
}, any>;
|
|
203
69
|
}>;
|
|
204
70
|
}>>;
|
|
205
|
-
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
71
|
+
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
206
72
|
toolbarIconColor: string;
|
|
207
73
|
toolbarColor: string;
|
|
208
74
|
toolbarBoxShadow: string;
|
|
@@ -242,7 +108,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
242
108
|
}, any>;
|
|
243
109
|
}>;
|
|
244
110
|
}>>>;
|
|
245
|
-
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
111
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
246
112
|
toolbarIconColor: string;
|
|
247
113
|
toolbarColor: string;
|
|
248
114
|
toolbarBoxShadow: string;
|
|
@@ -320,26 +186,34 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
320
186
|
doUpdateShow: (value: boolean) => void;
|
|
321
187
|
close: () => void;
|
|
322
188
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
323
|
-
src: StringConstructor;
|
|
324
|
-
show: {
|
|
325
|
-
type: BooleanConstructor;
|
|
326
|
-
default: undefined;
|
|
189
|
+
readonly src: StringConstructor;
|
|
190
|
+
readonly show: {
|
|
191
|
+
readonly type: BooleanConstructor;
|
|
192
|
+
readonly default: undefined;
|
|
193
|
+
};
|
|
194
|
+
readonly defaultShow: BooleanConstructor;
|
|
195
|
+
readonly 'onUpdate:show': import("vue").PropType<import("../../_utils").MaybeArray<(show: boolean) => void>>;
|
|
196
|
+
readonly loading: {
|
|
197
|
+
readonly type: BooleanConstructor;
|
|
198
|
+
readonly default: false;
|
|
199
|
+
};
|
|
200
|
+
readonly spinProps: {
|
|
201
|
+
readonly type: import("vue").PropType<Partial<import("../../spin").SpinProps>>;
|
|
202
|
+
readonly default: undefined;
|
|
327
203
|
};
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
onPreviewNext: PropType<() => void>;
|
|
336
|
-
showToolbar: {
|
|
204
|
+
readonly onUpdateShow: import("vue").PropType<import("../../_utils").MaybeArray<(show: boolean) => void>>;
|
|
205
|
+
readonly onNext: import("vue").PropType<() => void>;
|
|
206
|
+
readonly onPrev: import("vue").PropType<() => void>;
|
|
207
|
+
readonly onClose: import("vue").PropType<import("../../_utils").MaybeArray<() => void>>;
|
|
208
|
+
readonly onPreviewPrev: import("vue").PropType<() => void>;
|
|
209
|
+
readonly onPreviewNext: import("vue").PropType<() => void>;
|
|
210
|
+
readonly showToolbar: {
|
|
337
211
|
type: BooleanConstructor;
|
|
338
212
|
default: boolean;
|
|
339
213
|
};
|
|
340
|
-
showToolbarTooltip: BooleanConstructor;
|
|
341
|
-
renderToolbar: PropType<import("./public-types").ImageRenderToolbar>;
|
|
342
|
-
theme: PropType<import("../../_mixins").Theme<"Image", {
|
|
214
|
+
readonly showToolbarTooltip: BooleanConstructor;
|
|
215
|
+
readonly renderToolbar: import("vue").PropType<import("./public-types").ImageRenderToolbar>;
|
|
216
|
+
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Image", {
|
|
343
217
|
toolbarIconColor: string;
|
|
344
218
|
toolbarColor: string;
|
|
345
219
|
toolbarBoxShadow: string;
|
|
@@ -379,7 +253,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
379
253
|
}, any>;
|
|
380
254
|
}>;
|
|
381
255
|
}>>;
|
|
382
|
-
themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
256
|
+
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
383
257
|
toolbarIconColor: string;
|
|
384
258
|
toolbarColor: string;
|
|
385
259
|
toolbarBoxShadow: string;
|
|
@@ -419,7 +293,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
419
293
|
}, any>;
|
|
420
294
|
}>;
|
|
421
295
|
}>>>;
|
|
422
|
-
builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
296
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
423
297
|
toolbarIconColor: string;
|
|
424
298
|
toolbarColor: string;
|
|
425
299
|
toolbarBoxShadow: string;
|
|
@@ -460,9 +334,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
460
334
|
}>;
|
|
461
335
|
}>>>;
|
|
462
336
|
}>> & Readonly<{}>, {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
337
|
+
readonly loading: boolean;
|
|
338
|
+
readonly show: boolean;
|
|
339
|
+
readonly spinProps: Partial<import("../../spin").SpinProps>;
|
|
340
|
+
readonly defaultShow: boolean;
|
|
341
|
+
readonly showToolbar: boolean;
|
|
342
|
+
readonly showToolbarTooltip: boolean;
|
|
343
|
+
}, SlotsType<ImagePreviewSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
468
344
|
export default _default;
|
|
@@ -3,7 +3,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.imagePreviewProps = void 0;
|
|
7
6
|
const evtd_1 = require("evtd");
|
|
8
7
|
const lodash_es_1 = require("lodash-es");
|
|
9
8
|
const seemly_1 = require("seemly");
|
|
@@ -15,19 +14,16 @@ const _internal_1 = require("../../_internal");
|
|
|
15
14
|
const icons_1 = require("../../_internal/icons");
|
|
16
15
|
const _mixins_1 = require("../../_mixins");
|
|
17
16
|
const _utils_1 = require("../../_utils");
|
|
17
|
+
const spin_1 = require("../../spin");
|
|
18
18
|
const tooltip_1 = require("../../tooltip");
|
|
19
19
|
const styles_1 = require("../styles");
|
|
20
20
|
const icons_2 = require("./icons");
|
|
21
21
|
const interface_1 = require("./interface");
|
|
22
22
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
23
|
-
const BLEEDING = 32;
|
|
24
|
-
exports.imagePreviewProps = Object.assign(Object.assign({}, interface_1.imagePreviewSharedProps), { src: String, show: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: undefined
|
|
27
|
-
}, defaultShow: Boolean, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], onNext: Function, onPrev: Function, onClose: [Function, Array] });
|
|
28
23
|
exports.default = (0, vue_1.defineComponent)({
|
|
29
24
|
name: 'ImagePreview',
|
|
30
|
-
props:
|
|
25
|
+
props: interface_1.imagePreviewProps,
|
|
26
|
+
slots: Object,
|
|
31
27
|
setup(props) {
|
|
32
28
|
const { src } = (0, vue_1.toRefs)(props);
|
|
33
29
|
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
@@ -243,8 +239,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
243
239
|
if (!preview)
|
|
244
240
|
return 1;
|
|
245
241
|
const { innerWidth, innerHeight } = window;
|
|
246
|
-
const heightMaxScale = Math.max(1, preview.naturalHeight / (innerHeight - BLEEDING));
|
|
247
|
-
const widthMaxScale = Math.max(1, preview.naturalWidth / (innerWidth - BLEEDING));
|
|
242
|
+
const heightMaxScale = Math.max(1, preview.naturalHeight / (innerHeight - interface_1.BLEEDING));
|
|
243
|
+
const widthMaxScale = Math.max(1, preview.naturalWidth / (innerWidth - interface_1.BLEEDING));
|
|
248
244
|
return Math.max(3, heightMaxScale * 2, widthMaxScale * 2);
|
|
249
245
|
}
|
|
250
246
|
function getOrignalImageSizeScale() {
|
|
@@ -252,8 +248,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
252
248
|
if (!preview)
|
|
253
249
|
return 1;
|
|
254
250
|
const { innerWidth, innerHeight } = window;
|
|
255
|
-
const heightScale = preview.naturalHeight / (innerHeight - BLEEDING);
|
|
256
|
-
const widthScale = preview.naturalWidth / (innerWidth - BLEEDING);
|
|
251
|
+
const heightScale = preview.naturalHeight / (innerHeight - interface_1.BLEEDING);
|
|
252
|
+
const widthScale = preview.naturalWidth / (innerWidth - interface_1.BLEEDING);
|
|
257
253
|
if (heightScale < 1 && widthScale < 1) {
|
|
258
254
|
return 1;
|
|
259
255
|
}
|
|
@@ -447,13 +443,18 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
447
443
|
onEnter: this.syncTransformOrigin, onBeforeLeave: this.syncTransformOrigin }, {
|
|
448
444
|
default: () => {
|
|
449
445
|
const { previewedImgProps = {} } = this;
|
|
450
|
-
return (0, vue_1.withDirectives)((0, vue_1.h)("div", { class: `${clsPrefix}-image-preview-wrapper`, ref: "previewWrapperRef" },
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
], key: this.previewSrc, src: this.previewSrc, ref: "previewRef", onDragstart: this.handleDragStart }))), [[vue_1.vShow, this.mergedShow]]);
|
|
446
|
+
return (0, vue_1.withDirectives)((0, vue_1.h)("div", { class: `${clsPrefix}-image-preview-wrapper`, ref: "previewWrapperRef" }, !this.loading ? ((0, vue_1.h)("img", Object.assign({}, previewedImgProps, { draggable: false, onMousedown: this.handlePreviewMousedown, onDblclick: this.handlePreviewDblclick, class: [
|
|
447
|
+
`${clsPrefix}-image-preview`,
|
|
448
|
+
previewedImgProps.class
|
|
449
|
+
], key: this.previewSrc, src: this.previewSrc, ref: "previewRef", onDragstart: this.handleDragStart }))) : null), [[vue_1.vShow, this.mergedShow]]);
|
|
455
450
|
}
|
|
456
|
-
})
|
|
451
|
+
}),
|
|
452
|
+
this.mergedShow && this.loading && ((0, vue_1.h)("div", { class: `${clsPrefix}-image-preview-loading` },
|
|
453
|
+
(0, vue_1.h)(spin_1.USpin, Object.assign({}, this.spinProps), {
|
|
454
|
+
default: this.$slots['spin-default'],
|
|
455
|
+
icon: this.$slots['spin-icon'],
|
|
456
|
+
description: this.$slots['spin-description']
|
|
457
|
+
})))), [[vdirs_1.zindexable, { enabled: this.mergedShow }]]);
|
|
457
458
|
}
|
|
458
459
|
})));
|
|
459
460
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { ImgHTMLAttributes, PropType, Ref } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
|
+
import type { SpinProps } from '../../spin';
|
|
2
4
|
import type { ImageRenderToolbar } from './public-types';
|
|
3
5
|
export interface MoveStrategy {
|
|
4
6
|
moveVerticalDirection: 'verticalTop' | 'verticalBottom';
|
|
@@ -6,6 +8,10 @@ export interface MoveStrategy {
|
|
|
6
8
|
deltaHorizontal: number;
|
|
7
9
|
deltaVertical: number;
|
|
8
10
|
}
|
|
11
|
+
export interface ImageContext {
|
|
12
|
+
previewedImgPropsRef: Ref<ImgHTMLAttributes | undefined>;
|
|
13
|
+
}
|
|
14
|
+
export type ImagePreviewProps = ExtractPublicPropTypes<typeof imagePreviewProps>;
|
|
9
15
|
export declare const imagePreviewSharedProps: {
|
|
10
16
|
onPreviewPrev: PropType<() => void>;
|
|
11
17
|
onPreviewNext: PropType<() => void>;
|
|
@@ -136,7 +142,154 @@ export declare const imagePreviewSharedProps: {
|
|
|
136
142
|
}>;
|
|
137
143
|
}>>>;
|
|
138
144
|
};
|
|
139
|
-
export interface ImageContext {
|
|
140
|
-
previewedImgPropsRef: Ref<ImgHTMLAttributes | undefined>;
|
|
141
|
-
}
|
|
142
145
|
export declare const imageContextKey: import("vue").InjectionKey<ImageContext>;
|
|
146
|
+
export declare const BLEEDING = 32;
|
|
147
|
+
export declare const imagePreviewProps: {
|
|
148
|
+
readonly src: StringConstructor;
|
|
149
|
+
readonly show: {
|
|
150
|
+
readonly type: BooleanConstructor;
|
|
151
|
+
readonly default: undefined;
|
|
152
|
+
};
|
|
153
|
+
readonly defaultShow: BooleanConstructor;
|
|
154
|
+
readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
|
|
155
|
+
readonly loading: {
|
|
156
|
+
readonly type: BooleanConstructor;
|
|
157
|
+
readonly default: false;
|
|
158
|
+
};
|
|
159
|
+
readonly spinProps: {
|
|
160
|
+
readonly type: PropType<Partial<SpinProps>>;
|
|
161
|
+
readonly default: undefined;
|
|
162
|
+
};
|
|
163
|
+
readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
|
|
164
|
+
readonly onNext: PropType<() => void>;
|
|
165
|
+
readonly onPrev: PropType<() => void>;
|
|
166
|
+
readonly onClose: PropType<MaybeArray<() => void>>;
|
|
167
|
+
readonly onPreviewPrev: PropType<() => void>;
|
|
168
|
+
readonly onPreviewNext: PropType<() => void>;
|
|
169
|
+
readonly showToolbar: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
readonly showToolbarTooltip: BooleanConstructor;
|
|
174
|
+
readonly renderToolbar: PropType<ImageRenderToolbar>;
|
|
175
|
+
readonly theme: PropType<import("../../_mixins").Theme<"Image", {
|
|
176
|
+
toolbarIconColor: string;
|
|
177
|
+
toolbarColor: string;
|
|
178
|
+
toolbarBoxShadow: string;
|
|
179
|
+
toolbarBorderRadius: string;
|
|
180
|
+
overlayColor: string;
|
|
181
|
+
}, {
|
|
182
|
+
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
183
|
+
padding: string;
|
|
184
|
+
textPadding: string;
|
|
185
|
+
titleSize: string;
|
|
186
|
+
titleWeight: string;
|
|
187
|
+
titleLineHeight: string;
|
|
188
|
+
subtitleSize: string;
|
|
189
|
+
subtitleMargin: string;
|
|
190
|
+
subtitleWeight: string;
|
|
191
|
+
subtitleLineHeight: string;
|
|
192
|
+
iconSize: string;
|
|
193
|
+
arrowSpace: string;
|
|
194
|
+
noArrowSpace: string;
|
|
195
|
+
borderRadius: string;
|
|
196
|
+
color: string;
|
|
197
|
+
textColor: string;
|
|
198
|
+
}, {
|
|
199
|
+
Popover: import("../../_mixins").Theme<"Popover", {
|
|
200
|
+
space: string;
|
|
201
|
+
spaceArrow: string;
|
|
202
|
+
arrowOffset: string;
|
|
203
|
+
arrowOffsetVertical: string;
|
|
204
|
+
arrowHeight: string;
|
|
205
|
+
padding: string;
|
|
206
|
+
fontSize: string;
|
|
207
|
+
borderRadius: string;
|
|
208
|
+
color: string;
|
|
209
|
+
dividerColor: string;
|
|
210
|
+
textColor: string;
|
|
211
|
+
boxShadow: string;
|
|
212
|
+
}, any>;
|
|
213
|
+
}>;
|
|
214
|
+
}>>;
|
|
215
|
+
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
216
|
+
toolbarIconColor: string;
|
|
217
|
+
toolbarColor: string;
|
|
218
|
+
toolbarBoxShadow: string;
|
|
219
|
+
toolbarBorderRadius: string;
|
|
220
|
+
overlayColor: string;
|
|
221
|
+
}, {
|
|
222
|
+
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
223
|
+
padding: string;
|
|
224
|
+
textPadding: string;
|
|
225
|
+
titleSize: string;
|
|
226
|
+
titleWeight: string;
|
|
227
|
+
titleLineHeight: string;
|
|
228
|
+
subtitleSize: string;
|
|
229
|
+
subtitleMargin: string;
|
|
230
|
+
subtitleWeight: string;
|
|
231
|
+
subtitleLineHeight: string;
|
|
232
|
+
iconSize: string;
|
|
233
|
+
arrowSpace: string;
|
|
234
|
+
noArrowSpace: string;
|
|
235
|
+
borderRadius: string;
|
|
236
|
+
color: string;
|
|
237
|
+
textColor: string;
|
|
238
|
+
}, {
|
|
239
|
+
Popover: import("../../_mixins").Theme<"Popover", {
|
|
240
|
+
space: string;
|
|
241
|
+
spaceArrow: string;
|
|
242
|
+
arrowOffset: string;
|
|
243
|
+
arrowOffsetVertical: string;
|
|
244
|
+
arrowHeight: string;
|
|
245
|
+
padding: string;
|
|
246
|
+
fontSize: string;
|
|
247
|
+
borderRadius: string;
|
|
248
|
+
color: string;
|
|
249
|
+
dividerColor: string;
|
|
250
|
+
textColor: string;
|
|
251
|
+
boxShadow: string;
|
|
252
|
+
}, any>;
|
|
253
|
+
}>;
|
|
254
|
+
}>>>;
|
|
255
|
+
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
|
|
256
|
+
toolbarIconColor: string;
|
|
257
|
+
toolbarColor: string;
|
|
258
|
+
toolbarBoxShadow: string;
|
|
259
|
+
toolbarBorderRadius: string;
|
|
260
|
+
overlayColor: string;
|
|
261
|
+
}, {
|
|
262
|
+
Tooltip: import("../../_mixins").Theme<"Tooltip", {
|
|
263
|
+
padding: string;
|
|
264
|
+
textPadding: string;
|
|
265
|
+
titleSize: string;
|
|
266
|
+
titleWeight: string;
|
|
267
|
+
titleLineHeight: string;
|
|
268
|
+
subtitleSize: string;
|
|
269
|
+
subtitleMargin: string;
|
|
270
|
+
subtitleWeight: string;
|
|
271
|
+
subtitleLineHeight: string;
|
|
272
|
+
iconSize: string;
|
|
273
|
+
arrowSpace: string;
|
|
274
|
+
noArrowSpace: string;
|
|
275
|
+
borderRadius: string;
|
|
276
|
+
color: string;
|
|
277
|
+
textColor: string;
|
|
278
|
+
}, {
|
|
279
|
+
Popover: import("../../_mixins").Theme<"Popover", {
|
|
280
|
+
space: string;
|
|
281
|
+
spaceArrow: string;
|
|
282
|
+
arrowOffset: string;
|
|
283
|
+
arrowOffsetVertical: string;
|
|
284
|
+
arrowHeight: string;
|
|
285
|
+
padding: string;
|
|
286
|
+
fontSize: string;
|
|
287
|
+
borderRadius: string;
|
|
288
|
+
color: string;
|
|
289
|
+
dividerColor: string;
|
|
290
|
+
textColor: string;
|
|
291
|
+
boxShadow: string;
|
|
292
|
+
}, any>;
|
|
293
|
+
}>;
|
|
294
|
+
}>>>;
|
|
295
|
+
};
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.imageContextKey = exports.imagePreviewSharedProps = void 0;
|
|
3
|
+
exports.imagePreviewProps = exports.BLEEDING = exports.imageContextKey = exports.imagePreviewSharedProps = void 0;
|
|
4
4
|
const _mixins_1 = require("../../_mixins");
|
|
5
5
|
const _utils_1 = require("../../_utils");
|
|
6
6
|
exports.imagePreviewSharedProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { onPreviewPrev: Function, onPreviewNext: Function, showToolbar: { type: Boolean, default: true }, showToolbarTooltip: Boolean, renderToolbar: Function });
|
|
7
7
|
exports.imageContextKey = (0, _utils_1.createInjectionKey)('u-image');
|
|
8
|
+
exports.BLEEDING = 32;
|
|
9
|
+
exports.imagePreviewProps = Object.assign(Object.assign({}, exports.imagePreviewSharedProps), { src: String, show: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: undefined
|
|
12
|
+
}, defaultShow: Boolean, 'onUpdate:show': [Function, Array], loading: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: false
|
|
15
|
+
}, spinProps: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: undefined
|
|
18
|
+
}, onUpdateShow: [Function, Array], onNext: Function, onPrev: Function, onClose: [Function, Array] });
|