@quicktvui/quicktvui3 1.2.0-beta.10 → 1.2.0-beta.11

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.
@@ -0,0 +1,49 @@
1
+ import { Ref } from "@vue/reactivity";
2
+ import { QTIListView } from "../list-view/core/QTIListView";
3
+ import { QTListInitPosition } from "./QTListInitPosition";
4
+ import { QTListViewItem } from "../list-view/core/QTListViewItem";
5
+ import { QTNativeArray, QTNativeMap, QTNativeParams } from "../core/QTNativeParams";
6
+ import { QTPosition } from "../core/QTPosition";
7
+ export default function (viewRef: Ref<QTIListView | undefined>): {
8
+ scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
9
+ startScroll: (position: QTListInitPosition) => void;
10
+ setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean) => void;
11
+ scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
12
+ scrollToPositionWithOffsetInfiniteMode: (position: number, offset: number, animated: boolean) => void;
13
+ scrollToPosition: (position: number, offset?: number) => void;
14
+ refreshListData: () => void;
15
+ updateItemTraverse: (position: number, data?: QTListViewItem, traverse?: boolean) => void;
16
+ requestItemLayout: (position: number) => void;
17
+ updateItemRange: (position: number, count: number, itemList: Array<QTListViewItem>) => void;
18
+ insertItemRange: (position: number, itemList: Array<QTListViewItem>) => void;
19
+ updateItemMatched: (params: QTNativeParams, data: QTListViewItem) => void;
20
+ updateItemMatchedByKey: (idKey: string, params: QTNativeParams, data: QTListViewItem) => void;
21
+ deleteItemRange: (position: number, count: number) => void;
22
+ setListData: (itemList: Array<QTListViewItem>) => void;
23
+ setListDataWithParams: (itemList: Array<QTListViewItem>, autoChangeVisible: boolean, useDiff: boolean) => void;
24
+ addListData: (itemList: Array<QTListViewItem>) => void;
25
+ addListDataWithParams: (itemList: Array<QTListViewItem>, deleteCount: number) => void;
26
+ destroy: () => void;
27
+ recycle: () => void;
28
+ scrollToTop: () => void;
29
+ scrollToFocus: (position: number, scrollOffset: number, delay: number, target: string) => void;
30
+ prepareForRecycle: () => void;
31
+ setDisplay: (display: boolean) => void;
32
+ changeDisplayState: (display: boolean, autoDataState: boolean) => void;
33
+ notifySaveInstance: () => void;
34
+ notifyRestoreInstance: () => void;
35
+ updateItemProps: (name: string, position: number, dataToUpdate: QTNativeMap, updateView: boolean) => void;
36
+ dispatchItemFunction: (params: QTNativeArray) => void;
37
+ clearPostTask: () => void;
38
+ clearPostTaskByCate: (data: Array<number>) => void;
39
+ clearData: () => void;
40
+ pausePostTask: () => void;
41
+ resumePostTask: () => void;
42
+ requestLayoutManual: () => void;
43
+ setSpanCount: (spanCount: number) => void;
44
+ searchReplaceItem: (id: string, item: QTListViewItem) => void;
45
+ setCustomStateEnableOnFocus: (id: string, params: Array<Array<string>>) => void;
46
+ setItemCustomState: (position: number, state: string, on: boolean) => void;
47
+ dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: Array<QTNativeParams>) => Promise<QTNativeParams>;
48
+ getScrollOffset: () => Promise<QTPosition>;
49
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.2.0-beta.10",
3
+ "version": "1.2.0-beta.11",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",