@quicktvui/quicktvui3 1.2.0-beta.23 → 1.2.0-beta.24
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.
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { QTIView } from '../view/QTIView';
|
|
2
2
|
export interface QTILongImage extends QTIView {
|
|
3
3
|
setSrc(url: string): void;
|
|
4
|
+
setZoomEnabled(value: boolean): void;
|
|
5
|
+
zoomIn(step: number): void;
|
|
6
|
+
zoomOut(step: number): void;
|
|
7
|
+
scrollDown(step: number): void;
|
|
8
|
+
scrollUp(step: number): void;
|
|
9
|
+
scrollLeft(step: number): void;
|
|
10
|
+
scrollRight(step: number): void;
|
|
4
11
|
}
|
|
@@ -48,10 +48,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
-
|
|
51
|
+
zoomEnabled: {
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
src: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
};
|
|
55
58
|
}>, {
|
|
56
59
|
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
57
60
|
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
@@ -89,10 +92,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
89
92
|
clearMemoryFocused: () => void;
|
|
90
93
|
showDialog: (show: boolean) => void;
|
|
91
94
|
viewRef: import("vue").Ref<QTILongImage | undefined, QTILongImage | undefined>;
|
|
92
|
-
setSrc: (url:
|
|
93
|
-
|
|
95
|
+
setSrc: (url: string) => void;
|
|
96
|
+
setZoomEnabled: (value: boolean) => void;
|
|
97
|
+
zoomIn: (step: number) => void;
|
|
98
|
+
zoomOut: (step: number) => void;
|
|
99
|
+
scrollDown: (step: number) => void;
|
|
100
|
+
scrollUp: (step: number) => void;
|
|
101
|
+
scrollLeft: (step: number) => void;
|
|
102
|
+
scrollRight: (step: number) => void;
|
|
103
|
+
onLoad: (status: number, progress: number, message: string, width: number, height: number) => void;
|
|
104
|
+
onScroll: (direction: number, percent: number, isScroll: any, width: number, height: number) => void;
|
|
94
105
|
componentInitialized: import("vue").Ref<boolean, boolean>;
|
|
95
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
106
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onLoad" | "onScroll" | "onInitializeSuccess" | "onInitializeError")[], "onLoad" | "onScroll" | "onInitializeSuccess" | "onInitializeError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
96
107
|
size: {
|
|
97
108
|
type: StringConstructor;
|
|
98
109
|
default: string;
|
|
@@ -141,12 +152,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
141
152
|
type: StringConstructor;
|
|
142
153
|
default: string;
|
|
143
154
|
};
|
|
144
|
-
|
|
155
|
+
zoomEnabled: {
|
|
145
156
|
type: BooleanConstructor;
|
|
146
157
|
default: boolean;
|
|
147
158
|
};
|
|
159
|
+
src: {
|
|
160
|
+
type: StringConstructor;
|
|
161
|
+
};
|
|
148
162
|
}>> & Readonly<{
|
|
149
|
-
|
|
163
|
+
onOnLoad?: ((...args: any[]) => any) | undefined;
|
|
164
|
+
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
150
165
|
onOnInitializeSuccess?: ((...args: any[]) => any) | undefined;
|
|
151
166
|
onOnInitializeError?: ((...args: any[]) => any) | undefined;
|
|
152
167
|
}>, {
|
|
@@ -162,6 +177,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
162
177
|
borderSize: number;
|
|
163
178
|
sliderAssetsIcon: string;
|
|
164
179
|
sliderNetworkIcon: string;
|
|
165
|
-
|
|
180
|
+
zoomEnabled: boolean;
|
|
166
181
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
167
182
|
export default _default;
|