@quicktvui/quicktvui3 1.2.0-beta.22 → 1.2.0-beta.23

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,4 @@
1
+ import { QTIView } from '../view/QTIView';
2
+ export interface QTILongImage extends QTIView {
3
+ setSrc(url: string): void;
4
+ }
@@ -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,167 @@
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
+ setScaleEnabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ }>, {
56
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
57
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
58
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
59
+ clearFocus: () => void;
60
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
61
+ setVisibility: (v: import("..").QTIViewVisibility) => void;
62
+ requestRootLayout: () => void;
63
+ requestLayout: () => void;
64
+ setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
65
+ changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
66
+ forceUpdateRenderNode: () => void;
67
+ setBackGroundColor: (color: string) => void;
68
+ layoutViewManual: () => void;
69
+ blockRootFocus: () => void;
70
+ unBlockRootFocus: () => void;
71
+ changeAlpha: (alpha: number) => void;
72
+ setScale: (x: number, y: number, duration: number) => void;
73
+ setPosition: (x: number, y: number, z: number) => void;
74
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
75
+ invalidate: () => void;
76
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
77
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
78
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
79
+ setInitFocus: (sid: string, delay?: number) => void;
80
+ setAutoFocus: (sid: string, delay?: number) => void;
81
+ enabledAutofocus: (autofocus: boolean) => void;
82
+ requestAutofocus: () => void;
83
+ hasFocus: () => Promise<boolean>;
84
+ isFocused: () => Promise<boolean>;
85
+ getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
86
+ getViewState: () => Promise<import("..").QTViewState>;
87
+ getChildViewState: (position: number) => Promise<import("..").QTViewState>;
88
+ requestChildFocusAtIndex: (position: number) => void;
89
+ clearMemoryFocused: () => void;
90
+ showDialog: (show: boolean) => void;
91
+ viewRef: import("vue").Ref<QTILongImage | undefined, QTILongImage | undefined>;
92
+ setSrc: (url: any) => void;
93
+ onLongImageChange: (success: boolean, message: string) => void;
94
+ componentInitialized: import("vue").Ref<boolean, boolean>;
95
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onLongImageChange" | "onInitializeSuccess" | "onInitializeError")[], "onLongImageChange" | "onInitializeSuccess" | "onInitializeError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
96
+ size: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ activeColor: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ inactiveColor: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ inactiveBorderColor: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ sliderColor: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ disabledActiveBgColor: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ disabledInactiveBgColor: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ disabled: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ modelValue: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ borderSize: {
133
+ type: NumberConstructor;
134
+ default: number;
135
+ };
136
+ sliderAssetsIcon: {
137
+ type: StringConstructor;
138
+ default: string;
139
+ };
140
+ sliderNetworkIcon: {
141
+ type: StringConstructor;
142
+ default: string;
143
+ };
144
+ setScaleEnabled: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ }>> & Readonly<{
149
+ onOnLongImageChange?: ((...args: any[]) => any) | undefined;
150
+ onOnInitializeSuccess?: ((...args: any[]) => any) | undefined;
151
+ onOnInitializeError?: ((...args: any[]) => any) | undefined;
152
+ }>, {
153
+ size: string;
154
+ activeColor: string;
155
+ inactiveColor: string;
156
+ inactiveBorderColor: string;
157
+ sliderColor: string;
158
+ disabledActiveBgColor: string;
159
+ disabledInactiveBgColor: string;
160
+ disabled: boolean;
161
+ modelValue: boolean;
162
+ borderSize: number;
163
+ sliderAssetsIcon: string;
164
+ sliderNetworkIcon: string;
165
+ setScaleEnabled: boolean;
166
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
167
+ 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.23",
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
+ }