@quicktvui/quicktvui3 1.2.0-beta.2 → 1.2.0-beta.4
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 +5 -5
- package/dist/src/index.d.ts +1 -0
- package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +3 -0
- package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +15 -0
- package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +11 -0
- package/dist/src/lottie/QTILottieView.d.ts +2 -0
- package/dist/src/lottie/QTLottieEvent.d.ts +5 -0
- package/dist/src/lottie/QtLottieViewAPI.d.ts +2 -0
- package/dist/src/qt/QtAPI.d.ts +2 -0
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export type { QTIScrollView } from './scroll-view/QTIScrollView';
|
|
|
114
114
|
export type { QTILottieView } from './lottie/QTILottieView';
|
|
115
115
|
export { QTLottieRepeatMode } from './lottie/QTLottieRepeatMode';
|
|
116
116
|
export { QTLottieAsyncUpdates } from './lottie/QTLottieAsyncUpdates';
|
|
117
|
+
export { QTLottieEvent } from './lottie/QTLottieEvent';
|
|
117
118
|
export type { QTGradient } from './gradient/QTGradient';
|
|
118
119
|
export { QTGradientOrientation } from './gradient/QTGradientOrientation';
|
|
119
120
|
export { QTGradientShape } from './gradient/QTGradientShape';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { QtViewAPI } from "../view/QtViewAPI";
|
|
2
|
+
import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
|
|
3
|
+
import { QTListViewItem } from "../list-view/core/QTListViewItem";
|
|
4
|
+
import { Ref } from "@vue/reactivity";
|
|
5
|
+
import { QTIIndicatorView } from "./core/QTIIndicatorView";
|
|
6
|
+
export interface QtIndicatorViewAPI extends QtViewAPI, QtBaseListViewAPI {
|
|
7
|
+
init(instance: Ref<QTIIndicatorView | undefined>, target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
8
|
+
stopPage(instance: Ref<QTIIndicatorView | undefined>, isTip?: boolean): void;
|
|
9
|
+
setItemFocused(instance: Ref<QTIIndicatorView | undefined>, position: number): void;
|
|
10
|
+
scrollToFocused(instance: Ref<QTIIndicatorView | undefined>, position: number): void;
|
|
11
|
+
setItemSelected(instance: Ref<QTIIndicatorView | undefined>, position: number, requestFocus: boolean): void;
|
|
12
|
+
scrollToSelected(instance: Ref<QTIIndicatorView | undefined>, position: number, requestFocus: boolean): void;
|
|
13
|
+
setIndicatorType(instance: Ref<QTIIndicatorView | undefined>, type: number): void;
|
|
14
|
+
}
|
|
15
|
+
export declare function createQtIndicatorViewAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtIndicatorViewAPI;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QTListViewItem } from "../../list-view/core/QTListViewItem";
|
|
2
|
+
import { QTIBaseListView } from "../../list/QTIBaseListView";
|
|
3
|
+
export interface QTIIndicatorView extends QTIBaseListView {
|
|
4
|
+
init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
5
|
+
stopPage(isTip?: boolean): void;
|
|
6
|
+
setItemFocused(position: number): void;
|
|
7
|
+
scrollToFocused(position: number): void;
|
|
8
|
+
setItemSelected(position: number, b: boolean): void;
|
|
9
|
+
scrollToSelected(position: number, b: boolean): void;
|
|
10
|
+
setIndicatorType(type: number): void;
|
|
11
|
+
}
|
|
@@ -5,6 +5,8 @@ import { QTIView } from "../view/QTIView";
|
|
|
5
5
|
export interface QTILottieView extends QTIView {
|
|
6
6
|
loadRaw(rawRes: string): void;
|
|
7
7
|
loadFile(fileName: string): void;
|
|
8
|
+
loadJsonFile(fileName: string): void;
|
|
9
|
+
loadZipFile(filePath: string, keyCache: string): void;
|
|
8
10
|
loadUrl(url: string): void;
|
|
9
11
|
loadCacheUrl(url: string, cacheKey: string): void;
|
|
10
12
|
setFallbackResource(res: number): void;
|
|
@@ -7,6 +7,8 @@ import { QTLottieAsyncUpdates } from "./QTLottieAsyncUpdates";
|
|
|
7
7
|
export interface QtLottieViewAPI extends QtViewAPI {
|
|
8
8
|
loadRaw(instance: string | Ref<QTILottieView | undefined>, rawRes: string): void;
|
|
9
9
|
loadFile(instance: string | Ref<QTILottieView | undefined>, fileName: string): void;
|
|
10
|
+
loadJsonFile(instance: string | Ref<QTILottieView | undefined>, fileName: string): void;
|
|
11
|
+
loadZipFile(instance: string | Ref<QTILottieView | undefined>, filePath: string, keyCache: string): void;
|
|
10
12
|
loadUrl(instance: string | Ref<QTILottieView | undefined>, url: string): void;
|
|
11
13
|
loadCacheUrl(instance: string | Ref<QTILottieView | undefined>, url: string, cacheKey: string): void;
|
|
12
14
|
setFallbackResource(instance: string | Ref<QTILottieView | undefined>, res: number): void;
|
package/dist/src/qt/QtAPI.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { QtPosterAPI } from "../poster/QtPosterAPI";
|
|
|
28
28
|
import { QtQRCodeAPI } from "../qrcode/QtQRCodeAPI";
|
|
29
29
|
import { QtRowAPI } from "../row/QtRowAPI";
|
|
30
30
|
import { QtVirtualViewAPI } from "../utils/QtVirtualViewAPI";
|
|
31
|
+
import { QtIndicatorViewAPI } from "../list-indicator/QtIndicatorViewAPI";
|
|
31
32
|
export interface QtAPI {
|
|
32
33
|
view: QtViewAPI;
|
|
33
34
|
webView: QtWebViewAPI;
|
|
@@ -59,5 +60,6 @@ export interface QtAPI {
|
|
|
59
60
|
qrCode: QtQRCodeAPI;
|
|
60
61
|
row: QtRowAPI;
|
|
61
62
|
virtualView: QtVirtualViewAPI;
|
|
63
|
+
indicator: QtIndicatorViewAPI;
|
|
62
64
|
}
|
|
63
65
|
export declare function createQtAPI(): QtAPI;
|