@quicktvui/quicktvui3 1.2.0-beta.46 → 1.2.0-beta.48
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 +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/webview/QTIWebView.d.ts +4 -2
- package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
- package/dist/src/webview/QtWebViewAPI.d.ts +4 -2
- package/dist/src/x5webview/QTIX5WebView.d.ts +4 -2
- package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +4 -2
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -85,7 +85,9 @@ export type { QTClassifiedListViewItem } from './classified-list-view/core/QTCla
|
|
|
85
85
|
export type { QTClassifiedListViewItemDecoration } from './classified-list-view/core/QTClassifiedListViewItemDecoration';
|
|
86
86
|
export { arrangeChildren4ListView };
|
|
87
87
|
export type { QTIWebView } from './webview/QTIWebView';
|
|
88
|
+
export { QTWebViewLayerType } from './webview/QTWebViewLayerType';
|
|
88
89
|
export type { QTIX5WebView, QTX5WebViewParams } from './x5webview/QTIX5WebView';
|
|
90
|
+
export { QTX5WebViewLayerType } from './x5webview/QTX5WebViewLayerType';
|
|
89
91
|
export type { QTISeekBar } from './seekbar/QTISeekBar';
|
|
90
92
|
export { QTSeekBarMode } from './seekbar/QTSeekBarMode';
|
|
91
93
|
export { QTSeekBarGravity } from './seekbar/QTSeekBarGravity';
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { QTIView } from '../view/QTIView';
|
|
2
|
+
import { QTWebViewLayerType } from "./QTWebViewLayerType";
|
|
2
3
|
export interface QTIWebView extends QTIView {
|
|
3
4
|
loadUrl(url: string): void;
|
|
4
5
|
reload(): void;
|
|
5
6
|
clearCache(value: boolean): void;
|
|
6
7
|
getUrl(): Promise<string | undefined | null>;
|
|
7
8
|
getOriginalUrl(): Promise<string | undefined | null>;
|
|
9
|
+
setLayerType(layerType: QTWebViewLayerType): void;
|
|
8
10
|
evaluateJavascript(value: string): Promise<string | undefined | null>;
|
|
9
11
|
setUserAgent(value: string): void;
|
|
10
|
-
canGoBack():
|
|
12
|
+
canGoBack(): Promise<boolean>;
|
|
11
13
|
goBack(): void;
|
|
12
|
-
canGoForward():
|
|
14
|
+
canGoForward(): Promise<boolean>;
|
|
13
15
|
goForward(): void;
|
|
14
16
|
canGoBackOrForward(steps: number): void;
|
|
15
17
|
goBackOrForward(steps: number): void;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { Ref } from '@vue/reactivity';
|
|
2
2
|
import { QTIWebView } from './QTIWebView';
|
|
3
3
|
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
4
|
+
import { QTWebViewLayerType } from "./QTWebViewLayerType";
|
|
4
5
|
export interface QtWebViewAPI extends QtBaseViewAPI {
|
|
5
6
|
reload(instance: string | Ref<QTIWebView | undefined>): void;
|
|
6
7
|
clearCache(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
|
|
7
8
|
getUrl(instance: string | Ref<QTIWebView | undefined>): Promise<string | undefined | null>;
|
|
8
9
|
getOriginalUrl(instance: string | Ref<QTIWebView | undefined>): Promise<string | undefined | null>;
|
|
10
|
+
setLayerType(instance: string | Ref<QTIWebView | undefined>, value: QTWebViewLayerType): void;
|
|
9
11
|
loadUrl(instance: string | Ref<QTIWebView | undefined>, url: string): void;
|
|
10
12
|
evaluateJavascript(instance: string | Ref<QTIWebView | undefined>, value: string): Promise<string | undefined | null>;
|
|
11
13
|
setUserAgent(instance: string | Ref<QTIWebView | undefined>, value: string): void;
|
|
12
|
-
canGoBack(instance: string | Ref<QTIWebView | undefined>):
|
|
14
|
+
canGoBack(instance: string | Ref<QTIWebView | undefined>): Promise<boolean>;
|
|
13
15
|
goBack(instance: string | Ref<QTIWebView | undefined>): void;
|
|
14
|
-
canGoForward(instance: string | Ref<QTIWebView | undefined>):
|
|
16
|
+
canGoForward(instance: string | Ref<QTIWebView | undefined>): Promise<boolean>;
|
|
15
17
|
goForward(instance: string | Ref<QTIWebView | undefined>): void;
|
|
16
18
|
canGoBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
|
|
17
19
|
goBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { QTIView } from '../view/QTIView';
|
|
2
|
+
import { QTX5WebViewLayerType } from "./QTX5WebViewLayerType";
|
|
2
3
|
export interface QTX5WebViewParams {
|
|
3
4
|
[prop: string]: any;
|
|
4
5
|
}
|
|
@@ -9,10 +10,11 @@ export interface QTIX5WebView extends QTIView {
|
|
|
9
10
|
clearCache(value: boolean): void;
|
|
10
11
|
getUrl(): Promise<string | undefined | null>;
|
|
11
12
|
getOriginalUrl(): Promise<string | undefined | null>;
|
|
13
|
+
setLayerType(layerType: QTX5WebViewLayerType): void;
|
|
12
14
|
evaluateJavascript(value: string): Promise<string | undefined | null>;
|
|
13
|
-
canGoBack():
|
|
15
|
+
canGoBack(): Promise<boolean>;
|
|
14
16
|
goBack(): void;
|
|
15
|
-
canGoForward():
|
|
17
|
+
canGoForward(): Promise<boolean>;
|
|
16
18
|
goForward(): void;
|
|
17
19
|
canGoBackOrForward(steps: number): void;
|
|
18
20
|
goBackOrForward(steps: number): void;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { Ref } from '@vue/reactivity';
|
|
2
2
|
import { QTIX5WebView, QTX5WebViewParams } from './QTIX5WebView';
|
|
3
3
|
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
4
|
+
import { QTX5WebViewLayerType } from "./QTX5WebViewLayerType";
|
|
4
5
|
export interface QtX5WebViewAPI extends QtBaseViewAPI {
|
|
5
6
|
reload(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
6
7
|
clearCache(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
|
|
7
8
|
getUrl(instance: string | Ref<QTIX5WebView | undefined>): Promise<string | undefined | null>;
|
|
8
9
|
getOriginalUrl(instance: string | Ref<QTIX5WebView | undefined>): Promise<string | undefined | null>;
|
|
10
|
+
setLayerType(instance: string | Ref<QTIX5WebView | undefined>, value: QTX5WebViewLayerType): void;
|
|
9
11
|
initWebView(instance: string | Ref<QTIX5WebView | undefined>, params?: QTX5WebViewParams): void;
|
|
10
12
|
loadUrl(instance: string | Ref<QTIX5WebView | undefined>, url: string): void;
|
|
11
13
|
evaluateJavascript(instance: string | Ref<QTIX5WebView | undefined>, value: string): Promise<string | undefined | null>;
|
|
12
|
-
canGoBack(instance: string | Ref<QTIX5WebView | undefined>):
|
|
14
|
+
canGoBack(instance: string | Ref<QTIX5WebView | undefined>): Promise<boolean>;
|
|
13
15
|
goBack(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
14
|
-
canGoForward(instance: string | Ref<QTIX5WebView | undefined>):
|
|
16
|
+
canGoForward(instance: string | Ref<QTIX5WebView | undefined>): Promise<boolean>;
|
|
15
17
|
goForward(instance: string | Ref<QTIX5WebView | undefined>): void;
|
|
16
18
|
canGoBackOrForward(instance: string | Ref<QTIX5WebView | undefined>, steps: number): void;
|
|
17
19
|
goBackOrForward(instance: string | Ref<QTIX5WebView | undefined>, steps: number): void;
|