@uzum-tech/ui 2.3.4 → 2.3.5
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 +402 -378
- package/dist/index.mjs +402 -378
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/components.d.ts +59 -41
- 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/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/components.d.ts +59 -41
- 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/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +47 -2
|
@@ -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
|
+
};
|
|
@@ -10,4 +10,26 @@ export const imagePreviewSharedProps = Object.assign(Object.assign({}, useTheme.
|
|
|
10
10
|
showToolbarTooltip: Boolean,
|
|
11
11
|
renderToolbar: Function
|
|
12
12
|
});
|
|
13
|
-
export const imageContextKey = createInjectionKey('u-image');
|
|
13
|
+
export const imageContextKey = createInjectionKey('u-image');
|
|
14
|
+
export const BLEEDING = 32;
|
|
15
|
+
export const imagePreviewProps = Object.assign(Object.assign({}, imagePreviewSharedProps), {
|
|
16
|
+
src: String,
|
|
17
|
+
show: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: undefined
|
|
20
|
+
},
|
|
21
|
+
defaultShow: Boolean,
|
|
22
|
+
'onUpdate:show': [Function, Array],
|
|
23
|
+
loading: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
},
|
|
27
|
+
spinProps: {
|
|
28
|
+
type: Object,
|
|
29
|
+
default: undefined
|
|
30
|
+
},
|
|
31
|
+
onUpdateShow: [Function, Array],
|
|
32
|
+
onNext: Function,
|
|
33
|
+
onPrev: Function,
|
|
34
|
+
onClose: [Function, Array]
|
|
35
|
+
});
|
|
@@ -12,9 +12,6 @@ export interface ImageRenderToolbarProps {
|
|
|
12
12
|
close: VNode;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
export type ImageRenderToolbar = (props: ImageRenderToolbarProps) => VNodeChild;
|
|
16
|
-
export type ImageGroupRenderToolbarProps = ImageRenderToolbarProps;
|
|
17
|
-
export type ImageGroupRenderToolbar = ImageRenderToolbar;
|
|
18
15
|
export interface ImageInst {
|
|
19
16
|
/** @deprecated Use `showPreview` instead */
|
|
20
17
|
click: () => void;
|
|
@@ -24,8 +21,17 @@ export interface ImageSlots {
|
|
|
24
21
|
placeholder?: ImagePlaceholderSlot;
|
|
25
22
|
error?: ImageErrorSlot;
|
|
26
23
|
}
|
|
27
|
-
export type ImagePlaceholderSlot = () => VNode[];
|
|
28
|
-
export type ImageErrorSlot = () => VNode[];
|
|
29
24
|
export interface ImagePreviewInst {
|
|
30
25
|
setThumbnailEl: (e: HTMLImageElement | null) => void;
|
|
31
26
|
}
|
|
27
|
+
export interface ImagePreviewSlots {
|
|
28
|
+
default?: () => VNode[];
|
|
29
|
+
'spin-default'?: () => VNode[];
|
|
30
|
+
'spin-icon'?: () => VNode[];
|
|
31
|
+
'spin-description'?: () => VNode[];
|
|
32
|
+
}
|
|
33
|
+
export type ImageRenderToolbar = (props: ImageRenderToolbarProps) => VNodeChild;
|
|
34
|
+
export type ImageGroupRenderToolbarProps = ImageRenderToolbarProps;
|
|
35
|
+
export type ImageGroupRenderToolbar = ImageRenderToolbar;
|
|
36
|
+
export type ImagePlaceholderSlot = () => VNode[];
|
|
37
|
+
export type ImageErrorSlot = () => VNode[];
|
|
@@ -41,7 +41,17 @@ export default c([c('body >', [cB('image-container', 'position: fixed;')]), cB('
|
|
|
41
41
|
padding: 0 8px;
|
|
42
42
|
font-size: 28px;
|
|
43
43
|
cursor: pointer;
|
|
44
|
-
`), fadeInTransition()]), cB('image-preview-
|
|
44
|
+
`), fadeInTransition()]), cB('image-preview-loading', `
|
|
45
|
+
position: absolute;
|
|
46
|
+
left: 0;
|
|
47
|
+
right: 0;
|
|
48
|
+
top: 0;
|
|
49
|
+
bottom: 0;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
`), cB('image-preview-wrapper', `
|
|
45
55
|
position: absolute;
|
|
46
56
|
left: 0;
|
|
47
57
|
right: 0;
|
package/es/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.3.
|
|
1
|
+
declare const _default: "2.3.5";
|
|
2
2
|
export default _default;
|
package/es/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '2.3.
|
|
1
|
+
export default '2.3.5';
|
package/lib/components.d.ts
CHANGED
|
@@ -111613,26 +111613,34 @@ export declare const UImageGroup: import("vue").DefineComponent<import("vue").Ex
|
|
|
111613
111613
|
defaultCurrent: number;
|
|
111614
111614
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
111615
111615
|
export declare const UImagePreview: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
111616
|
-
src: StringConstructor;
|
|
111617
|
-
show: {
|
|
111618
|
-
type: BooleanConstructor;
|
|
111619
|
-
default: undefined;
|
|
111616
|
+
readonly src: StringConstructor;
|
|
111617
|
+
readonly show: {
|
|
111618
|
+
readonly type: BooleanConstructor;
|
|
111619
|
+
readonly default: undefined;
|
|
111620
111620
|
};
|
|
111621
|
-
defaultShow: BooleanConstructor;
|
|
111622
|
-
'onUpdate:show': import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
111623
|
-
|
|
111624
|
-
|
|
111625
|
-
|
|
111626
|
-
|
|
111627
|
-
|
|
111628
|
-
|
|
111629
|
-
|
|
111621
|
+
readonly defaultShow: BooleanConstructor;
|
|
111622
|
+
readonly 'onUpdate:show': import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
111623
|
+
readonly loading: {
|
|
111624
|
+
readonly type: BooleanConstructor;
|
|
111625
|
+
readonly default: false;
|
|
111626
|
+
};
|
|
111627
|
+
readonly spinProps: {
|
|
111628
|
+
readonly type: import("vue").PropType<Partial<import("./spin").SpinProps>>;
|
|
111629
|
+
readonly default: undefined;
|
|
111630
|
+
};
|
|
111631
|
+
readonly onUpdateShow: import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
111632
|
+
readonly onNext: import("vue").PropType<() => void>;
|
|
111633
|
+
readonly onPrev: import("vue").PropType<() => void>;
|
|
111634
|
+
readonly onClose: import("vue").PropType<import("./_utils").MaybeArray<() => void>>;
|
|
111635
|
+
readonly onPreviewPrev: import("vue").PropType<() => void>;
|
|
111636
|
+
readonly onPreviewNext: import("vue").PropType<() => void>;
|
|
111637
|
+
readonly showToolbar: {
|
|
111630
111638
|
type: BooleanConstructor;
|
|
111631
111639
|
default: boolean;
|
|
111632
111640
|
};
|
|
111633
|
-
showToolbarTooltip: BooleanConstructor;
|
|
111634
|
-
renderToolbar: import("vue").PropType<import("./image").ImageRenderToolbar>;
|
|
111635
|
-
theme: import("vue").PropType<import("./_mixins").Theme<"Image", {
|
|
111641
|
+
readonly showToolbarTooltip: BooleanConstructor;
|
|
111642
|
+
readonly renderToolbar: import("vue").PropType<import("./image").ImageRenderToolbar>;
|
|
111643
|
+
readonly theme: import("vue").PropType<import("./_mixins").Theme<"Image", {
|
|
111636
111644
|
toolbarIconColor: string;
|
|
111637
111645
|
toolbarColor: string;
|
|
111638
111646
|
toolbarBoxShadow: string;
|
|
@@ -111672,7 +111680,7 @@ export declare const UImagePreview: import("vue").DefineComponent<import("vue").
|
|
|
111672
111680
|
}, any>;
|
|
111673
111681
|
}>;
|
|
111674
111682
|
}>>;
|
|
111675
|
-
themeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111683
|
+
readonly themeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111676
111684
|
toolbarIconColor: string;
|
|
111677
111685
|
toolbarColor: string;
|
|
111678
111686
|
toolbarBoxShadow: string;
|
|
@@ -111712,7 +111720,7 @@ export declare const UImagePreview: import("vue").DefineComponent<import("vue").
|
|
|
111712
111720
|
}, any>;
|
|
111713
111721
|
}>;
|
|
111714
111722
|
}>>>;
|
|
111715
|
-
builtinThemeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111723
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111716
111724
|
toolbarIconColor: string;
|
|
111717
111725
|
toolbarColor: string;
|
|
111718
111726
|
toolbarBoxShadow: string;
|
|
@@ -111790,26 +111798,34 @@ export declare const UImagePreview: import("vue").DefineComponent<import("vue").
|
|
|
111790
111798
|
doUpdateShow: (value: boolean) => void;
|
|
111791
111799
|
close: () => void;
|
|
111792
111800
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
111793
|
-
src: StringConstructor;
|
|
111794
|
-
show: {
|
|
111795
|
-
type: BooleanConstructor;
|
|
111796
|
-
default: undefined;
|
|
111801
|
+
readonly src: StringConstructor;
|
|
111802
|
+
readonly show: {
|
|
111803
|
+
readonly type: BooleanConstructor;
|
|
111804
|
+
readonly default: undefined;
|
|
111797
111805
|
};
|
|
111798
|
-
defaultShow: BooleanConstructor;
|
|
111799
|
-
'onUpdate:show': import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
111800
|
-
|
|
111801
|
-
|
|
111802
|
-
|
|
111803
|
-
|
|
111804
|
-
|
|
111805
|
-
|
|
111806
|
-
|
|
111806
|
+
readonly defaultShow: BooleanConstructor;
|
|
111807
|
+
readonly 'onUpdate:show': import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
111808
|
+
readonly loading: {
|
|
111809
|
+
readonly type: BooleanConstructor;
|
|
111810
|
+
readonly default: false;
|
|
111811
|
+
};
|
|
111812
|
+
readonly spinProps: {
|
|
111813
|
+
readonly type: import("vue").PropType<Partial<import("./spin").SpinProps>>;
|
|
111814
|
+
readonly default: undefined;
|
|
111815
|
+
};
|
|
111816
|
+
readonly onUpdateShow: import("vue").PropType<import("./_utils").MaybeArray<(show: boolean) => void>>;
|
|
111817
|
+
readonly onNext: import("vue").PropType<() => void>;
|
|
111818
|
+
readonly onPrev: import("vue").PropType<() => void>;
|
|
111819
|
+
readonly onClose: import("vue").PropType<import("./_utils").MaybeArray<() => void>>;
|
|
111820
|
+
readonly onPreviewPrev: import("vue").PropType<() => void>;
|
|
111821
|
+
readonly onPreviewNext: import("vue").PropType<() => void>;
|
|
111822
|
+
readonly showToolbar: {
|
|
111807
111823
|
type: BooleanConstructor;
|
|
111808
111824
|
default: boolean;
|
|
111809
111825
|
};
|
|
111810
|
-
showToolbarTooltip: BooleanConstructor;
|
|
111811
|
-
renderToolbar: import("vue").PropType<import("./image").ImageRenderToolbar>;
|
|
111812
|
-
theme: import("vue").PropType<import("./_mixins").Theme<"Image", {
|
|
111826
|
+
readonly showToolbarTooltip: BooleanConstructor;
|
|
111827
|
+
readonly renderToolbar: import("vue").PropType<import("./image").ImageRenderToolbar>;
|
|
111828
|
+
readonly theme: import("vue").PropType<import("./_mixins").Theme<"Image", {
|
|
111813
111829
|
toolbarIconColor: string;
|
|
111814
111830
|
toolbarColor: string;
|
|
111815
111831
|
toolbarBoxShadow: string;
|
|
@@ -111849,7 +111865,7 @@ export declare const UImagePreview: import("vue").DefineComponent<import("vue").
|
|
|
111849
111865
|
}, any>;
|
|
111850
111866
|
}>;
|
|
111851
111867
|
}>>;
|
|
111852
|
-
themeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111868
|
+
readonly themeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111853
111869
|
toolbarIconColor: string;
|
|
111854
111870
|
toolbarColor: string;
|
|
111855
111871
|
toolbarBoxShadow: string;
|
|
@@ -111889,7 +111905,7 @@ export declare const UImagePreview: import("vue").DefineComponent<import("vue").
|
|
|
111889
111905
|
}, any>;
|
|
111890
111906
|
}>;
|
|
111891
111907
|
}>>>;
|
|
111892
|
-
builtinThemeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111908
|
+
readonly builtinThemeOverrides: import("vue").PropType<import("./_mixins/use-theme").ExtractThemeOverrides<import("./_mixins").Theme<"Image", {
|
|
111893
111909
|
toolbarIconColor: string;
|
|
111894
111910
|
toolbarColor: string;
|
|
111895
111911
|
toolbarBoxShadow: string;
|
|
@@ -111930,11 +111946,13 @@ export declare const UImagePreview: import("vue").DefineComponent<import("vue").
|
|
|
111930
111946
|
}>;
|
|
111931
111947
|
}>>>;
|
|
111932
111948
|
}>> & Readonly<{}>, {
|
|
111933
|
-
|
|
111934
|
-
|
|
111935
|
-
|
|
111936
|
-
|
|
111937
|
-
|
|
111949
|
+
readonly loading: boolean;
|
|
111950
|
+
readonly show: boolean;
|
|
111951
|
+
readonly spinProps: Partial<import("./spin").SpinProps>;
|
|
111952
|
+
readonly defaultShow: boolean;
|
|
111953
|
+
readonly showToolbar: boolean;
|
|
111954
|
+
readonly showToolbarTooltip: boolean;
|
|
111955
|
+
}, import("vue").SlotsType<import("./image").ImagePreviewSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
111938
111956
|
export type * from './infinite-scroll';
|
|
111939
111957
|
export { infiniteScrollProps } from './infinite-scroll';
|
|
111940
111958
|
export declare const UInfiniteScroll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
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; } });
|