@gx-design-vue/image 0.0.9 → 0.1.1
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/Image.d.ts +1 -1
- package/dist/components/ImageViewer.d.ts +2 -2
- package/dist/image.es.js +801 -0
- package/dist/image.umd.js +1 -1
- package/package.json +8 -9
- package/dist/image.mjs +0 -592
package/dist/Image.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { gImagePorps } from './props';
|
|
3
3
|
import './style.less';
|
|
4
|
-
export
|
|
4
|
+
export type GImageProps = Partial<ExtractPropTypes<typeof gImagePorps>>;
|
|
5
5
|
declare const GImage: import("vue").DefineComponent<{
|
|
6
6
|
appendToBody: {
|
|
7
7
|
type: import("vue").PropType<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const on: (element: HTMLElement | Document | Window | null, event: string, handler: EventListenerOrEventListenerObject, useCapture?: boolean) => void;
|
|
2
2
|
export declare const off: (element: HTMLElement | Document | Window | null, event: string, handler: EventListenerOrEventListenerObject, useCapture?: boolean) => void;
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type AnyFunction<T> = (...args: any[]) => T;
|
|
4
|
+
export type ImageViewerAction = 'zoomIn' | 'zoomOut' | 'clocelise' | 'anticlocelise';
|
|
5
5
|
export declare const isFirefox: () => boolean;
|
|
6
6
|
export declare function rafThrottle<T extends AnyFunction<any>>(fn: T): AnyFunction<void>;
|
|
7
7
|
declare const GImageViewer: import("vue").DefineComponent<{
|