@quicktvui/quicktvui3 1.2.0-beta.22 → 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.
@@ -133,3 +133,4 @@ export type { QTIAppIcon } from './app/QTIAppIcon';
133
133
  export type { QTIPluginView, QTPluginViewEvent } from './plugin/QTIPluginView';
134
134
  export { VirtualView } from './utils/VirtualView';
135
135
  export type { QTICanvasView } from './canvas/QTICanvasView';
136
+ export type { QTILongImage } from './long-image/QTILongImage';
@@ -0,0 +1,11 @@
1
+ import { QTIView } from '../view/QTIView';
2
+ export interface QTILongImage extends QTIView {
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;
11
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from '@extscreen/es3-vue';
2
+ declare function registerQTLongImageComponent(app: ESApp): void;
3
+ export default registerQTLongImageComponent;
@@ -0,0 +1,4 @@
1
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
2
+ export interface QtLongImageAPI extends QtBaseViewAPI {
3
+ }
4
+ export declare function createQtLongImageAPI(viewAPI: QtBaseViewAPI): QtLongImageAPI;
@@ -0,0 +1,182 @@
1
+ import { QTILongImage } from './QTILongImage';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ size: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ activeColor: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ inactiveColor: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ inactiveBorderColor: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ sliderColor: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ disabledActiveBgColor: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ disabledInactiveBgColor: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ disabled: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ modelValue: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ borderSize: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ sliderAssetsIcon: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ sliderNetworkIcon: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ zoomEnabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ src: {
56
+ type: StringConstructor;
57
+ };
58
+ }>, {
59
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
60
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
61
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
62
+ clearFocus: () => void;
63
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
64
+ setVisibility: (v: import("..").QTIViewVisibility) => void;
65
+ requestRootLayout: () => void;
66
+ requestLayout: () => void;
67
+ setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
68
+ changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
69
+ forceUpdateRenderNode: () => void;
70
+ setBackGroundColor: (color: string) => void;
71
+ layoutViewManual: () => void;
72
+ blockRootFocus: () => void;
73
+ unBlockRootFocus: () => void;
74
+ changeAlpha: (alpha: number) => void;
75
+ setScale: (x: number, y: number, duration: number) => void;
76
+ setPosition: (x: number, y: number, z: number) => void;
77
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
78
+ invalidate: () => void;
79
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
80
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
81
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
82
+ setInitFocus: (sid: string, delay?: number) => void;
83
+ setAutoFocus: (sid: string, delay?: number) => void;
84
+ enabledAutofocus: (autofocus: boolean) => void;
85
+ requestAutofocus: () => void;
86
+ hasFocus: () => Promise<boolean>;
87
+ isFocused: () => Promise<boolean>;
88
+ getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
89
+ getViewState: () => Promise<import("..").QTViewState>;
90
+ getChildViewState: (position: number) => Promise<import("..").QTViewState>;
91
+ requestChildFocusAtIndex: (position: number) => void;
92
+ clearMemoryFocused: () => void;
93
+ showDialog: (show: boolean) => void;
94
+ viewRef: import("vue").Ref<QTILongImage | undefined, QTILongImage | undefined>;
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;
105
+ componentInitialized: import("vue").Ref<boolean, boolean>;
106
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onLoad" | "onScroll" | "onInitializeSuccess" | "onInitializeError")[], "onLoad" | "onScroll" | "onInitializeSuccess" | "onInitializeError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
107
+ size: {
108
+ type: StringConstructor;
109
+ default: string;
110
+ };
111
+ activeColor: {
112
+ type: StringConstructor;
113
+ default: string;
114
+ };
115
+ inactiveColor: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ inactiveBorderColor: {
120
+ type: StringConstructor;
121
+ default: string;
122
+ };
123
+ sliderColor: {
124
+ type: StringConstructor;
125
+ default: string;
126
+ };
127
+ disabledActiveBgColor: {
128
+ type: StringConstructor;
129
+ default: string;
130
+ };
131
+ disabledInactiveBgColor: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ disabled: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ modelValue: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ borderSize: {
144
+ type: NumberConstructor;
145
+ default: number;
146
+ };
147
+ sliderAssetsIcon: {
148
+ type: StringConstructor;
149
+ default: string;
150
+ };
151
+ sliderNetworkIcon: {
152
+ type: StringConstructor;
153
+ default: string;
154
+ };
155
+ zoomEnabled: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ };
159
+ src: {
160
+ type: StringConstructor;
161
+ };
162
+ }>> & Readonly<{
163
+ onOnLoad?: ((...args: any[]) => any) | undefined;
164
+ onOnScroll?: ((...args: any[]) => any) | undefined;
165
+ onOnInitializeSuccess?: ((...args: any[]) => any) | undefined;
166
+ onOnInitializeError?: ((...args: any[]) => any) | undefined;
167
+ }>, {
168
+ size: string;
169
+ activeColor: string;
170
+ inactiveColor: string;
171
+ inactiveBorderColor: string;
172
+ sliderColor: string;
173
+ disabledActiveBgColor: string;
174
+ disabledInactiveBgColor: string;
175
+ disabled: boolean;
176
+ modelValue: boolean;
177
+ borderSize: number;
178
+ sliderAssetsIcon: string;
179
+ sliderNetworkIcon: string;
180
+ zoomEnabled: boolean;
181
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
182
+ export default _default;
@@ -1,35 +1,36 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QtWebViewAPI } from "../webview/QtWebViewAPI";
3
- import { QtListViewAPI } from "../list-view/QtListViewAPI";
4
- import { QtGridViewAPI } from "../grid-view/QtGridViewAPI";
5
- import { QtWaterfallAPI } from "../waterfall/QtWaterfallAPI";
6
- import { QtImageAPI } from "../image/QtImageAPI";
7
- import { QtULAPI } from "../ul/QtULAPI";
8
- import { QtScrollViewAPI } from "../scroll-view/QtScrollViewAPI";
9
- import { QtTextAPI } from "../text/QtTextAPI";
10
- import { QtReplaceChildViewAPI } from "../replace-child/QtReplaceChildViewAPI";
11
- import { QtAnimationAPI } from "../animation/QtAnimationAPI";
12
- import { QtAppIconAPI } from "../app/QtAppIconAPI";
13
- import { QtClassifiedListViewAPI } from "../classified-list-view/QtClassifiedListViewAPI";
14
- import { QtCollapseAPI } from "../collapse/QtCollapseAPI";
15
- import { QtListItemAPI } from "../list-item/QtListItemAPI";
16
- import { QtLottieViewAPI } from "../lottie/QtLottieViewAPI";
17
- import { QtNavBarAPI } from "../nav-bar/QtNavBarAPI";
18
- import { QtPluginViewAPI } from "../plugin/QtPluginViewAPI";
19
- import { QtProgressBarAPI } from "../progressbar/QtProgressBarAPI";
20
- import { QtSeekBarAPI } from "../seekbar/QtSeekBarAPI";
21
- import { QtMediaSeriesAPI } from "../series/QtMediaSeriesAPI";
22
- import { QtTabAPI } from "../tab/QtTabAPI";
23
- import { QtX5WebViewAPI } from "../x5webview/QtX5WebViewAPI";
24
- import { QtButtonAPI } from "../button/QtButtonAPI";
25
- import { QtColumnAPI } from "../column/QtColumnAPI";
26
- import { QtLoadingAPI } from "../loading/QtLoadingAPI";
27
- import { QtPosterAPI } from "../poster/QtPosterAPI";
28
- import { QtQRCodeAPI } from "../qrcode/QtQRCodeAPI";
29
- import { QtRowAPI } from "../row/QtRowAPI";
30
- import { QtVirtualViewAPI } from "../utils/QtVirtualViewAPI";
31
- import { QtIndicatorViewAPI } from "../list-indicator/QtIndicatorViewAPI";
32
- import { ES, ESActionBar, ESAppList, ESAudio, ESBrightness, ESBroadcast, ESContentProvider, ESDevelop, ESDevice, ESDisplay, ESDownload, ESEventBus, ESFocus, ESIAC, ESLocalStorage, ESLocation, ESLog, ESLogUpload, ESNetwork, ESPermission, ESPlugin, ESPower, ESRuntime, ESService, ESShareData, ESToast, ESUpload, ESUsbDevice, ESXLog } from "@extscreen/es3-core";
1
+ import { QtViewAPI } from '../view/QtViewAPI';
2
+ import { QtWebViewAPI } from '../webview/QtWebViewAPI';
3
+ import { QtListViewAPI } from '../list-view/QtListViewAPI';
4
+ import { QtGridViewAPI } from '../grid-view/QtGridViewAPI';
5
+ import { QtWaterfallAPI } from '../waterfall/QtWaterfallAPI';
6
+ import { QtImageAPI } from '../image/QtImageAPI';
7
+ import { QtULAPI } from '../ul/QtULAPI';
8
+ import { QtScrollViewAPI } from '../scroll-view/QtScrollViewAPI';
9
+ import { QtTextAPI } from '../text/QtTextAPI';
10
+ import { QtReplaceChildViewAPI } from '../replace-child/QtReplaceChildViewAPI';
11
+ import { QtAnimationAPI } from '../animation/QtAnimationAPI';
12
+ import { QtAppIconAPI } from '../app/QtAppIconAPI';
13
+ import { QtClassifiedListViewAPI } from '../classified-list-view/QtClassifiedListViewAPI';
14
+ import { QtCollapseAPI } from '../collapse/QtCollapseAPI';
15
+ import { QtListItemAPI } from '../list-item/QtListItemAPI';
16
+ import { QtLottieViewAPI } from '../lottie/QtLottieViewAPI';
17
+ import { QtNavBarAPI } from '../nav-bar/QtNavBarAPI';
18
+ import { QtPluginViewAPI } from '../plugin/QtPluginViewAPI';
19
+ import { QtProgressBarAPI } from '../progressbar/QtProgressBarAPI';
20
+ import { QtSeekBarAPI } from '../seekbar/QtSeekBarAPI';
21
+ import { QtMediaSeriesAPI } from '../series/QtMediaSeriesAPI';
22
+ import { QtTabAPI } from '../tab/QtTabAPI';
23
+ import { QtX5WebViewAPI } from '../x5webview/QtX5WebViewAPI';
24
+ import { QtButtonAPI } from '../button/QtButtonAPI';
25
+ import { QtColumnAPI } from '../column/QtColumnAPI';
26
+ import { QtLoadingAPI } from '../loading/QtLoadingAPI';
27
+ import { QtPosterAPI } from '../poster/QtPosterAPI';
28
+ import { QtQRCodeAPI } from '../qrcode/QtQRCodeAPI';
29
+ import { QtRowAPI } from '../row/QtRowAPI';
30
+ import { QtVirtualViewAPI } from '../utils/QtVirtualViewAPI';
31
+ import { QtIndicatorViewAPI } from '../list-indicator/QtIndicatorViewAPI';
32
+ import { ES, ESActionBar, ESAppList, ESAudio, ESBrightness, ESBroadcast, ESContentProvider, ESDevelop, ESDevice, ESDisplay, ESDownload, ESEventBus, ESFocus, ESIAC, ESLocalStorage, ESLocation, ESLog, ESLogUpload, ESNetwork, ESPermission, ESPlugin, ESPower, ESRuntime, ESService, ESShareData, ESToast, ESUpload, ESUsbDevice, ESXLog } from '@extscreen/es3-core';
33
+ import { QtLongImageAPI } from '../long-image/QtLongImageAPI';
33
34
  export interface QtAPI {
34
35
  div: QtViewAPI;
35
36
  img: QtViewAPI;
@@ -61,6 +62,7 @@ export interface QtAPI {
61
62
  button: QtButtonAPI;
62
63
  column: QtColumnAPI;
63
64
  loading: QtLoadingAPI;
65
+ longImage: QtLongImageAPI;
64
66
  poster: QtPosterAPI;
65
67
  qrCode: QtQRCodeAPI;
66
68
  row: QtRowAPI;
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "@quicktvui/quicktvui3",
3
- "version": "1.2.0-beta.22",
4
- "description": "ExtScreen framework",
5
- "author": "ExtScreen Team",
6
- "homepage": "http://extscreen.com",
7
- "license": "Apache-2.0",
8
- "entry": "dist/index.js",
9
- "main": "dist/index.js",
10
- "module": "dist/index.js",
11
- "types": "dist/src/index.d.ts",
12
- "keywords": [
13
- "native",
14
- "web",
15
- "framework",
16
- "compiler"
17
- ],
18
- "peerDependencies": {
19
- "@extscreen/es3-core": "^1.1.24",
20
- "@extscreen/es3-router": "^1.1.14"
21
- },
22
- "files": [
23
- "dist",
24
- "web-types.json"
25
- ],
26
- "web-types": "web-types.json"
27
- }
1
+ {
2
+ "name": "@quicktvui/quicktvui3",
3
+ "version": "1.2.0-beta.24",
4
+ "description": "ExtScreen framework",
5
+ "author": "ExtScreen Team",
6
+ "homepage": "http://extscreen.com",
7
+ "license": "Apache-2.0",
8
+ "entry": "dist/index.js",
9
+ "main": "dist/index.js",
10
+ "module": "dist/index.js",
11
+ "types": "dist/src/index.d.ts",
12
+ "keywords": [
13
+ "native",
14
+ "web",
15
+ "framework",
16
+ "compiler"
17
+ ],
18
+ "peerDependencies": {
19
+ "@extscreen/es3-core": "^1.1.24",
20
+ "@extscreen/es3-router": "^1.1.14"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "web-types.json"
25
+ ],
26
+ "web-types": "web-types.json"
27
+ }