@quicktvui/quicktvui3 1.1.38-beta.2 → 1.1.38-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/animation/QtAnimationAPI.d.ts +44 -0
- package/dist/src/app/QtAppIconAPI.d.ts +8 -0
- package/dist/src/base/QTIBaseView.d.ts +41 -3
- package/dist/src/base/useBaseView.d.ts +41 -3
- package/dist/src/button/QtButtonAPI.d.ts +4 -0
- package/dist/src/button/index.vue.d.ts +33 -3
- package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +14 -0
- package/dist/src/classified-list-view/index.vue.d.ts +34 -4
- package/dist/src/collapse/QtCollapseAPI.d.ts +13 -0
- package/dist/src/collapse/core/QTICollapse.d.ts +1 -1
- package/dist/src/collapse/index.vue.d.ts +34 -4
- package/dist/src/column/QtColumnAPI.d.ts +4 -0
- package/dist/src/core/QTEventData.d.ts +4 -0
- package/dist/src/core/QTLocation.d.ts +3 -0
- package/dist/src/core/QTNativeParams.d.ts +3 -0
- package/dist/src/core/QTPosition.d.ts +4 -0
- package/dist/src/focus/QTDescendantFocusability.d.ts +5 -0
- package/dist/src/focus/QTFocusDescendant.d.ts +5 -0
- package/dist/src/focus/QTFocusDirection.d.ts +8 -0
- package/dist/src/focus/QTFocusDirectionName.d.ts +7 -0
- package/dist/src/grid-view/QtGridViewAPI.d.ts +16 -0
- package/dist/src/grid-view/core/QTGridViewItem.d.ts +2 -5
- package/dist/src/grid-view/core/QTIGridView.d.ts +6 -16
- package/dist/src/grid-view/index.vue.d.ts +79 -17
- package/dist/src/image/QTIImage.d.ts +3 -0
- package/dist/src/image/QTImageResizeMode.d.ts +7 -0
- package/dist/src/image/QtImageAPI.d.ts +9 -0
- package/dist/src/image/index.vue.d.ts +36 -3
- package/dist/src/index.d.ts +21 -3
- package/dist/src/list/QTIBaseListView.d.ts +48 -0
- package/dist/src/list/QTListInitPosition.d.ts +14 -0
- package/dist/src/list/QtBaseListViewAPI.d.ts +50 -0
- package/dist/src/list/useBaseListView.d.ts +49 -0
- package/dist/src/list-item/QTIListItem.d.ts +6 -0
- package/dist/src/list-item/QtListItemAPI.d.ts +10 -0
- package/dist/src/list-view/QtListViewAPI.d.ts +14 -0
- package/dist/src/list-view/core/QTIListView.d.ts +6 -18
- package/dist/src/loading/QtLoadingAPI.d.ts +4 -0
- package/dist/src/lottie/QtLottieViewAPI.d.ts +35 -0
- package/dist/src/nav-bar/QTINavBar.d.ts +2 -0
- package/dist/src/nav-bar/QtNavBarAPI.d.ts +10 -0
- package/dist/src/nav-bar/index.vue.d.ts +33 -3
- package/dist/src/plugin/QtPluginViewAPI.d.ts +7 -0
- package/dist/src/poster/QtPosterAPI.d.ts +4 -0
- package/dist/src/poster/index.vue.d.ts +33 -3
- package/dist/src/progressbar/QTIProgressBar.d.ts +0 -3
- package/dist/src/progressbar/QtProgressBarAPI.d.ts +139 -0
- package/dist/src/qrcode/QtQRCodeAPI.d.ts +4 -0
- package/dist/src/qt/QtAPI.d.ts +64 -0
- package/dist/src/qt/warning.d.ts +1 -0
- package/dist/src/replace-child/QTIReplaceChildView.d.ts +4 -0
- package/dist/src/replace-child/QTReplaceChildView.d.ts +3 -0
- package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +7 -0
- package/dist/src/row/QtRowAPI.d.ts +4 -0
- package/dist/src/scroll-view/QtScrollViewAPI.d.ts +8 -0
- package/dist/src/section/index.vue.d.ts +33 -3
- package/dist/src/seekbar/QTISeekBar.d.ts +0 -1
- package/dist/src/seekbar/QtSeekBarAPI.d.ts +142 -0
- package/dist/src/series/QtMediaSeriesAPI.d.ts +21 -0
- package/dist/src/series/index.vue.d.ts +1 -1
- package/dist/src/tab/QTITab.d.ts +1 -1
- package/dist/src/tab/QtTabAPI.d.ts +53 -0
- package/dist/src/tab/index.vue.d.ts +34 -7
- package/dist/src/text/QTIText.d.ts +5 -0
- package/dist/src/text/QTTextSpan.d.ts +5 -0
- package/dist/src/text/QTTextSpanAttribute.d.ts +5 -0
- package/dist/src/text/QTTextSpanAttributeType.d.ts +4 -0
- package/dist/src/text/QtTextAPI.d.ts +11 -0
- package/dist/src/text/index.vue.d.ts +38 -3
- package/dist/src/ul/QTIUL.d.ts +14 -0
- package/dist/src/ul/QTULInitPosition.d.ts +2 -0
- package/dist/src/ul/QtULAPI.d.ts +17 -0
- package/dist/src/utils/type.d.ts +1 -0
- package/dist/src/view/QTViewState.d.ts +12 -0
- package/dist/src/view/QtViewAPI.d.ts +45 -0
- package/dist/src/view/index.vue.d.ts +33 -3
- package/dist/src/waterfall/QtWaterfallAPI.d.ts +23 -0
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +2 -8
- package/dist/src/waterfall/index.vue.d.ts +33 -4
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +33 -3
- package/dist/src/webview/QtWebViewAPI.d.ts +72 -0
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +72 -0
- package/package.json +1 -1
- package/dist/src/core/QTDirections.d.ts +0 -6
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { QtViewAPI } from "../view/QtViewAPI";
|
|
2
|
+
import { Ref } from "@vue/reactivity";
|
|
3
|
+
import { QTIAnimation } from "./QTIAnimation";
|
|
4
|
+
import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from "./types";
|
|
5
|
+
export interface QtAnimationAPI extends QtViewAPI {
|
|
6
|
+
setPivotX(instance: string | Ref<QTIAnimation | undefined>, pivotX: number): any;
|
|
7
|
+
setPivotY(instance: string | Ref<QTIAnimation | undefined>, pivotY: number): any;
|
|
8
|
+
resetPivot(instance: string | Ref<QTIAnimation | undefined>): any;
|
|
9
|
+
resetAnimators(instance: string | Ref<QTIAnimation | undefined>): any;
|
|
10
|
+
animatorSet(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
|
|
11
|
+
startAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
12
|
+
startAnimatorDelay(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId, delay: number): any;
|
|
13
|
+
pauseAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
14
|
+
resumeAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
15
|
+
cancelAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
16
|
+
reverseAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
|
|
17
|
+
play(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
18
|
+
playWith(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
19
|
+
playBefore(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
20
|
+
playAfter(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
|
|
21
|
+
playAfterDelay(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, delay: number): any;
|
|
22
|
+
playSequentially1(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
|
|
23
|
+
playSequentially2(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
|
|
24
|
+
playSequentially3(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
|
|
25
|
+
playSequentially4(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId): any;
|
|
26
|
+
playSequentially5(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId, animatorId5: QTAnimatorId): any;
|
|
27
|
+
playTogether1(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
|
|
28
|
+
playTogether2(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
|
|
29
|
+
playTogether3(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
|
|
30
|
+
playTogether4(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId): any;
|
|
31
|
+
playTogether5(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId, animatorId5: QTAnimatorId): any;
|
|
32
|
+
objectAnimator(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
33
|
+
objectAnimator1(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
34
|
+
objectAnimator2(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
35
|
+
objectAnimator3(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
36
|
+
objectAnimator4(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
37
|
+
objectAnimator5(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
38
|
+
objectAnimator6(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
39
|
+
objectAnimator7(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
40
|
+
objectAnimator8(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
41
|
+
objectAnimator9(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, value9: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
42
|
+
objectAnimator10(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, value9: number, value10: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
|
|
43
|
+
}
|
|
44
|
+
export declare function createQtAnimationAPI(viewAPI: QtViewAPI): QtAnimationAPI;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QtViewAPI } from "../view/QtViewAPI";
|
|
2
|
+
import { Ref } from "@vue/reactivity";
|
|
3
|
+
import { QTIAppIcon } from "./QTIAppIcon";
|
|
4
|
+
export interface QtAppIconAPI extends QtViewAPI {
|
|
5
|
+
setPackageName(instance: string | Ref<QTIAppIcon | undefined>, packageName: string): void;
|
|
6
|
+
setRoundingRadius(instance: string | Ref<QTIAppIcon | undefined>, roundingRadius: number): void;
|
|
7
|
+
}
|
|
8
|
+
export declare function createQtAppIconAPI(viewAPI: QtViewAPI): QtAppIconAPI;
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { ESIView } from "@extscreen/es3-component";
|
|
2
2
|
import { QTIViewVisibility } from "../view/QTIViewVisibility";
|
|
3
|
+
import { QTFocusDirection } from "../focus/QTFocusDirection";
|
|
4
|
+
import { QTFocusDescendant } from "../focus/QTFocusDescendant";
|
|
5
|
+
import { QTDescendantFocusability } from "../focus/QTDescendantFocusability";
|
|
6
|
+
import { QTNativeParams } from "../core/QTNativeParams";
|
|
7
|
+
import { QTFocusDirectionName } from "../focus/QTFocusDirectionName";
|
|
8
|
+
import { QTEventData } from "../core/QTEventData";
|
|
9
|
+
import { QTLocation } from "../core/QTLocation";
|
|
10
|
+
import { QTViewState } from "../view/QTViewState";
|
|
3
11
|
export interface QTIBaseView extends ESIView {
|
|
4
|
-
requestFocus(): void;
|
|
12
|
+
requestFocus(direction?: QTFocusDirection): void;
|
|
13
|
+
requestChildFocus(position: number, direction?: QTFocusDirection): void;
|
|
14
|
+
requestChildFocusAtIndex(position: number): void;
|
|
5
15
|
clearFocus(): void;
|
|
6
|
-
requestFocusDirectly(): void;
|
|
16
|
+
requestFocusDirectly(direction?: QTFocusDirection): void;
|
|
7
17
|
setVisibility(visibility: QTIViewVisibility): void;
|
|
8
|
-
dispatchFunctionBySid(sid: string, funcName: string,
|
|
18
|
+
dispatchFunctionBySid(sid: string, funcName: string, params: Array<QTNativeParams>): void;
|
|
19
|
+
requestRootLayout(): void;
|
|
20
|
+
requestLayout(): void;
|
|
21
|
+
setDescendantFocusability(descendant: QTFocusDescendant): void;
|
|
22
|
+
changeDescendantFocusability(descendant: QTDescendantFocusability): void;
|
|
23
|
+
forceUpdateRenderNode(): void;
|
|
24
|
+
setBackGroundColor(color: string): void;
|
|
25
|
+
layoutViewManual(): void;
|
|
26
|
+
blockRootFocus(): void;
|
|
27
|
+
unBlockRootFocus(): void;
|
|
28
|
+
changeAlpha(alpha: number): void;
|
|
29
|
+
setScale(x: number, y: number, duration: number): void;
|
|
30
|
+
setPosition(x: number, y: number, z: number): void;
|
|
31
|
+
updateLayout(width: number, height: number, x: number, y: number): void;
|
|
32
|
+
invalidate(): void;
|
|
33
|
+
dispatchFunctionForTarget(targetName: string, functionTargetName: string, params: Array<QTNativeParams>, delay: number): void;
|
|
34
|
+
setBlockFocusDirections(directionList: Array<QTFocusDirectionName>): void;
|
|
35
|
+
setBlockFocusDirectionsOnFail(directionList: Array<QTFocusDirectionName>): void;
|
|
36
|
+
setInitFocus(sid: string, delay?: number): void;
|
|
37
|
+
setAutoFocus(sid: string, delay?: number): void;
|
|
38
|
+
enabledAutofocus(autofocus: boolean): void;
|
|
39
|
+
requestAutofocus(): void;
|
|
40
|
+
hasFocus(): Promise<boolean>;
|
|
41
|
+
isFocused(): Promise<boolean>;
|
|
42
|
+
getLocationOnScreen(): Promise<QTEventData<QTLocation>>;
|
|
43
|
+
getViewState(): Promise<QTViewState>;
|
|
44
|
+
getChildViewState(position: number): Promise<QTViewState>;
|
|
45
|
+
clearMemoryFocused(): void;
|
|
46
|
+
showDialog(show: boolean): void;
|
|
9
47
|
}
|
|
@@ -1,10 +1,48 @@
|
|
|
1
1
|
import { QTIViewVisibility } from "../view/QTIViewVisibility";
|
|
2
2
|
import { Ref } from "@vue/reactivity";
|
|
3
3
|
import { ESIView } from "@extscreen/es3-component";
|
|
4
|
+
import { QTFocusDirection } from "../focus/QTFocusDirection";
|
|
5
|
+
import { QTFocusDescendant } from "../focus/QTFocusDescendant";
|
|
6
|
+
import { QTDescendantFocusability } from "../focus/QTDescendantFocusability";
|
|
7
|
+
import { QTNativeParams } from "../core/QTNativeParams";
|
|
8
|
+
import { QTFocusDirectionName } from "../focus/QTFocusDirectionName";
|
|
9
|
+
import { QTEventData } from "../core/QTEventData";
|
|
10
|
+
import { QTLocation } from "../core/QTLocation";
|
|
11
|
+
import { QTViewState } from "../view/QTViewState";
|
|
4
12
|
export default function (viewRef: Ref<ESIView | undefined>): {
|
|
5
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
6
|
-
requestFocus: () => void;
|
|
13
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<QTNativeParams>) => void;
|
|
14
|
+
requestFocus: (direction?: QTFocusDirection) => void;
|
|
15
|
+
requestChildFocus: (position: number, direction?: QTFocusDirection) => void;
|
|
7
16
|
clearFocus: () => void;
|
|
8
|
-
requestFocusDirectly: () => void;
|
|
17
|
+
requestFocusDirectly: (direction?: QTFocusDirection) => void;
|
|
9
18
|
setVisibility: (v: QTIViewVisibility) => void;
|
|
19
|
+
requestRootLayout: () => void;
|
|
20
|
+
requestLayout: () => void;
|
|
21
|
+
setDescendantFocusability: (descendant: QTFocusDescendant) => void;
|
|
22
|
+
changeDescendantFocusability: (descendant: QTDescendantFocusability) => void;
|
|
23
|
+
forceUpdateRenderNode: () => void;
|
|
24
|
+
setBackGroundColor: (color: string) => void;
|
|
25
|
+
layoutViewManual: () => void;
|
|
26
|
+
blockRootFocus: () => void;
|
|
27
|
+
unBlockRootFocus: () => void;
|
|
28
|
+
changeAlpha: (alpha: number) => void;
|
|
29
|
+
setScale: (x: number, y: number, duration: number) => void;
|
|
30
|
+
setPosition: (x: number, y: number, z: number) => void;
|
|
31
|
+
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
32
|
+
invalidate: () => void;
|
|
33
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<QTNativeParams>, delay: number) => void;
|
|
34
|
+
setBlockFocusDirections: (directionList: Array<QTFocusDirectionName>) => void;
|
|
35
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<QTFocusDirectionName>) => void;
|
|
36
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
37
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
38
|
+
enabledAutofocus: (autofocus: boolean) => void;
|
|
39
|
+
requestAutofocus: () => void;
|
|
40
|
+
hasFocus: () => Promise<boolean>;
|
|
41
|
+
isFocused: () => Promise<boolean>;
|
|
42
|
+
getLocationOnScreen: () => Promise<QTEventData<QTLocation>>;
|
|
43
|
+
getViewState: () => Promise<QTViewState>;
|
|
44
|
+
getChildViewState: (position: number) => Promise<QTViewState>;
|
|
45
|
+
requestChildFocusAtIndex: (position: number) => void;
|
|
46
|
+
clearMemoryFocused: () => void;
|
|
47
|
+
showDialog: (show: boolean) => void;
|
|
10
48
|
};
|
|
@@ -57,11 +57,41 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
focusIconStyle: ObjectConstructor;
|
|
58
58
|
iconParentStyle: ObjectConstructor;
|
|
59
59
|
}, {
|
|
60
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
61
|
-
requestFocus: () => void;
|
|
60
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
|
|
61
|
+
requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
62
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
62
63
|
clearFocus: () => void;
|
|
63
|
-
requestFocusDirectly: () => void;
|
|
64
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
64
65
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
66
|
+
requestRootLayout: () => void;
|
|
67
|
+
requestLayout: () => void;
|
|
68
|
+
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
69
|
+
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
70
|
+
forceUpdateRenderNode: () => void;
|
|
71
|
+
setBackGroundColor: (color: string) => void;
|
|
72
|
+
layoutViewManual: () => void;
|
|
73
|
+
blockRootFocus: () => void;
|
|
74
|
+
unBlockRootFocus: () => void;
|
|
75
|
+
changeAlpha: (alpha: number) => void;
|
|
76
|
+
setScale: (x: number, y: number, duration: number) => void;
|
|
77
|
+
setPosition: (x: number, y: number, z: number) => void;
|
|
78
|
+
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
79
|
+
invalidate: () => void;
|
|
80
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
81
|
+
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
82
|
+
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
83
|
+
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
84
|
+
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
85
|
+
enabledAutofocus: (autofocus: boolean) => void;
|
|
86
|
+
requestAutofocus: () => void;
|
|
87
|
+
hasFocus: () => Promise<boolean>;
|
|
88
|
+
isFocused: () => Promise<boolean>;
|
|
89
|
+
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
90
|
+
getViewState: () => Promise<import("..").QTViewState>;
|
|
91
|
+
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
92
|
+
requestChildFocusAtIndex: (position: number) => void;
|
|
93
|
+
clearMemoryFocused: () => void;
|
|
94
|
+
showDialog: (show: boolean) => void;
|
|
65
95
|
buttonRef: import("vue").Ref<any>;
|
|
66
96
|
focused: import("vue").Ref<boolean>;
|
|
67
97
|
onFocus: (e: any) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { QtViewAPI } from "../view/QtViewAPI";
|
|
2
|
+
import { Ref } from "@vue/reactivity";
|
|
3
|
+
import { QTIClassifiedListView } from "./core/QTIClassifiedListView";
|
|
4
|
+
import { QTClassifiedListViewItem } from "./core/QTClassifiedListViewItem";
|
|
5
|
+
export interface QtClassifiedListViewAPI extends QtViewAPI {
|
|
6
|
+
init(instance: Ref<QTIClassifiedListView | undefined>, itemList: Array<QTClassifiedListViewItem>): void;
|
|
7
|
+
scrollToIndex(instance: Ref<QTIClassifiedListView | undefined>, index: number, anim: Boolean, offset: number): void;
|
|
8
|
+
setItemFocused(instance: Ref<QTIClassifiedListView | undefined>, index: number): void;
|
|
9
|
+
scrollToFocused(instance: Ref<QTIClassifiedListView | undefined>, index: number): void;
|
|
10
|
+
setItemSelected(instance: Ref<QTIClassifiedListView | undefined>, index: number, b: boolean): void;
|
|
11
|
+
scrollToSelected(instance: Ref<QTIClassifiedListView | undefined>, index: number, b: boolean): void;
|
|
12
|
+
updateItem(instance: Ref<QTIClassifiedListView | undefined>, position: number, data: QTClassifiedListViewItem): void;
|
|
13
|
+
}
|
|
14
|
+
export declare function createQtClassifiedListViewAPI(viewAPI: QtViewAPI): QtClassifiedListViewAPI;
|
|
@@ -26,11 +26,41 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: number;
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
29
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
30
|
-
requestFocus: () => void;
|
|
29
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
|
|
30
|
+
requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
31
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
31
32
|
clearFocus: () => void;
|
|
32
|
-
requestFocusDirectly: () => void;
|
|
33
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
33
34
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
35
|
+
requestRootLayout: () => void;
|
|
36
|
+
requestLayout: () => void;
|
|
37
|
+
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
38
|
+
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
39
|
+
forceUpdateRenderNode: () => void;
|
|
40
|
+
setBackGroundColor: (color: string) => void;
|
|
41
|
+
layoutViewManual: () => void;
|
|
42
|
+
blockRootFocus: () => void;
|
|
43
|
+
unBlockRootFocus: () => void;
|
|
44
|
+
changeAlpha: (alpha: number) => void;
|
|
45
|
+
setScale: (x: number, y: number, duration: number) => void;
|
|
46
|
+
setPosition: (x: number, y: number, z: number) => void;
|
|
47
|
+
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
48
|
+
invalidate: () => void;
|
|
49
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
50
|
+
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
51
|
+
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
52
|
+
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
53
|
+
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
54
|
+
enabledAutofocus: (autofocus: boolean) => void;
|
|
55
|
+
requestAutofocus: () => void;
|
|
56
|
+
hasFocus: () => Promise<boolean>;
|
|
57
|
+
isFocused: () => Promise<boolean>;
|
|
58
|
+
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
59
|
+
getViewState: () => Promise<import("..").QTViewState>;
|
|
60
|
+
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
61
|
+
requestChildFocusAtIndex: (position: number) => void;
|
|
62
|
+
clearMemoryFocused: () => void;
|
|
63
|
+
showDialog: (show: boolean) => void;
|
|
34
64
|
descendantFocusability: import("vue").Ref<number>;
|
|
35
65
|
content_list_view: import("vue").Ref<QTIListView | undefined>;
|
|
36
66
|
nav_list_view: import("vue").Ref<QTIListView | undefined>;
|
|
@@ -38,7 +68,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
68
|
onItemBind: () => void;
|
|
39
69
|
onSItemClick: (e: any) => void;
|
|
40
70
|
onFItemClick: (e: any) => void;
|
|
41
|
-
scrollToIndex: (index: number, anim?:
|
|
71
|
+
scrollToIndex: (index: number, anim?: boolean, offset?: number) => void;
|
|
42
72
|
scrollToFocused: (index: number) => void;
|
|
43
73
|
setItemFocused: (index: number) => void;
|
|
44
74
|
scrollToSelected: (index: number, b?: boolean) => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QtViewAPI } from "../view/QtViewAPI";
|
|
2
|
+
import { Ref } from "@vue/reactivity";
|
|
3
|
+
import { QTICollapse } from "./core/QTICollapse";
|
|
4
|
+
import { QTICollapseItem } from "./core/QTICollapseItem";
|
|
5
|
+
import { QTCollapse } from "./core/QTCollapse";
|
|
6
|
+
export interface QtCollapseAPI extends QtViewAPI {
|
|
7
|
+
init(instance: Ref<QTICollapse | undefined>, collapse: QTCollapse): void;
|
|
8
|
+
getItem(instance: Ref<QTICollapse | undefined>, index: number): QTICollapseItem | undefined;
|
|
9
|
+
expandItem(instance: Ref<QTICollapse | undefined>, index: number): void;
|
|
10
|
+
collapse(instance: Ref<QTICollapse | undefined>): void;
|
|
11
|
+
expand(instance: Ref<QTICollapse | undefined>): void;
|
|
12
|
+
}
|
|
13
|
+
export declare function createQtCollapseAPI(viewAPI: QtViewAPI): QtCollapseAPI;
|
|
@@ -3,7 +3,7 @@ import { QTCollapse } from "./QTCollapse";
|
|
|
3
3
|
import { QTIView } from "../../view/QTIView";
|
|
4
4
|
export interface QTICollapse extends QTIView {
|
|
5
5
|
init(collapse: QTCollapse): void;
|
|
6
|
-
getItem(index: number): QTICollapseItem;
|
|
6
|
+
getItem(index: number): QTICollapseItem | undefined;
|
|
7
7
|
expandItem(index: number): void;
|
|
8
8
|
collapse(): void;
|
|
9
9
|
expand(): void;
|
|
@@ -2,11 +2,41 @@ import { QTICollapseItem } from "./core/QTICollapseItem";
|
|
|
2
2
|
import { QTCollapse } from "./core/QTCollapse";
|
|
3
3
|
import { QTIAnimation } from "../animation/QTIAnimation";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
6
|
-
requestFocus: () => void;
|
|
5
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
|
|
6
|
+
requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
7
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
7
8
|
clearFocus: () => void;
|
|
8
|
-
requestFocusDirectly: () => void;
|
|
9
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
9
10
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
11
|
+
requestRootLayout: () => void;
|
|
12
|
+
requestLayout: () => void;
|
|
13
|
+
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
14
|
+
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
15
|
+
forceUpdateRenderNode: () => void;
|
|
16
|
+
setBackGroundColor: (color: string) => void;
|
|
17
|
+
layoutViewManual: () => void;
|
|
18
|
+
blockRootFocus: () => void;
|
|
19
|
+
unBlockRootFocus: () => void;
|
|
20
|
+
changeAlpha: (alpha: number) => void;
|
|
21
|
+
setScale: (x: number, y: number, duration: number) => void;
|
|
22
|
+
setPosition: (x: number, y: number, z: number) => void;
|
|
23
|
+
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
24
|
+
invalidate: () => void;
|
|
25
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
26
|
+
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
27
|
+
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
28
|
+
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
29
|
+
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
30
|
+
enabledAutofocus: (autofocus: boolean) => void;
|
|
31
|
+
requestAutofocus: () => void;
|
|
32
|
+
hasFocus: () => Promise<boolean>;
|
|
33
|
+
isFocused: () => Promise<boolean>;
|
|
34
|
+
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
35
|
+
getViewState: () => Promise<import("..").QTViewState>;
|
|
36
|
+
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
37
|
+
requestChildFocusAtIndex: (position: number) => void;
|
|
38
|
+
clearMemoryFocused: () => void;
|
|
39
|
+
showDialog: (show: boolean) => void;
|
|
10
40
|
collapseItemComponentList: import("vue").Ref<any>;
|
|
11
41
|
initComponentRef: (el: QTICollapseItem, item: {
|
|
12
42
|
name: string;
|
|
@@ -15,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
15
45
|
name: string;
|
|
16
46
|
}, index: number) => void;
|
|
17
47
|
init: (collapse: QTCollapse) => void;
|
|
18
|
-
getItem: (index: number) => QTICollapseItem;
|
|
48
|
+
getItem: (index: number) => QTICollapseItem | undefined;
|
|
19
49
|
expandItem: (index: number) => void;
|
|
20
50
|
collapse: () => void;
|
|
21
51
|
expand: () => void;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type QTNativeParams = string | number | Array<string> | Array<number> | Record<string, string> | Record<string, number> | Array<Record<string, string>> | Array<Record<string, number>>;
|
|
2
|
+
export type QTNativeMap = Record<string, any>;
|
|
3
|
+
export type QTNativeArray = Array<any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { QtViewAPI } from "../view/QtViewAPI";
|
|
2
|
+
import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
|
|
3
|
+
import { QTGridViewItem } from "./core/QTGridViewItem";
|
|
4
|
+
import { Ref } from "@vue/reactivity";
|
|
5
|
+
import { QTIGridView } from "./core/QTIGridView";
|
|
6
|
+
export interface QtGridViewAPI extends QtViewAPI, QtBaseListViewAPI {
|
|
7
|
+
init(instance: Ref<QTIGridView | undefined>, target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
8
|
+
stopPage(instance: Ref<QTIGridView | undefined>, isTip?: boolean): void;
|
|
9
|
+
restartPage(instance: Ref<QTIGridView | undefined>): void;
|
|
10
|
+
setItemFocused(instance: Ref<QTIGridView | undefined>, position: number): void;
|
|
11
|
+
scrollToFocused(instance: Ref<QTIGridView | undefined>, position: number): void;
|
|
12
|
+
setItemSelected(instance: Ref<QTIGridView | undefined>, position: number, b: boolean): void;
|
|
13
|
+
scrollToSelected(instance: Ref<QTIGridView | undefined>, position: number, b: boolean): void;
|
|
14
|
+
setInitPosition(instance: Ref<QTIGridView | undefined>, position: number): void;
|
|
15
|
+
}
|
|
16
|
+
export declare function createQtGridViewAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtGridViewAPI;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface QTGridViewItem {
|
|
3
|
-
type: number;
|
|
4
|
-
decoration?: QTGridViewItemDecoration;
|
|
5
|
-
[prop: string]: any;
|
|
1
|
+
import { QTListViewItem } from "../../list-view/core/QTListViewItem";
|
|
2
|
+
export interface QTGridViewItem extends QTListViewItem {
|
|
6
3
|
}
|
|
@@ -1,22 +1,12 @@
|
|
|
1
1
|
import { QTGridViewItem } from "./QTGridViewItem";
|
|
2
|
-
import {
|
|
3
|
-
export interface QTIGridView extends
|
|
2
|
+
import { QTIBaseListView } from "../../list/QTIBaseListView";
|
|
3
|
+
export interface QTIGridView extends QTIBaseListView {
|
|
4
4
|
init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
5
|
-
scrollToTop(): void;
|
|
6
|
-
clearFocus(): void;
|
|
7
5
|
stopPage(isTip?: boolean): void;
|
|
8
6
|
restartPage(): void;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
scrollToIndex(y: number, anim: Boolean, offset: number): void;
|
|
14
|
-
setItemFocused(pos: number): void;
|
|
15
|
-
scrollToFocused(pos: number): void;
|
|
16
|
-
setItemSelected(pos: number, b: boolean): void;
|
|
17
|
-
scrollToSelected(pos: number, b: boolean): void;
|
|
7
|
+
setItemFocused(position: number): void;
|
|
8
|
+
scrollToFocused(position: number): void;
|
|
9
|
+
setItemSelected(position: number, b: boolean): void;
|
|
10
|
+
scrollToSelected(position: number, b: boolean): void;
|
|
18
11
|
setInitPosition(position: number): void;
|
|
19
|
-
setListData(itemList: Array<QTGridViewItem>): void;
|
|
20
|
-
clearPostTask(): void;
|
|
21
|
-
destroy(): void;
|
|
22
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QTListViewItem } from "../list-view/core/QTListViewItem";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
loadMore: {
|
|
4
4
|
type: FunctionConstructor;
|
|
@@ -44,8 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
required: false;
|
|
45
45
|
};
|
|
46
46
|
}, {
|
|
47
|
-
|
|
48
|
-
init: (target: Array<QTGridViewItem>, isInit?: boolean) => Array<QTGridViewItem>;
|
|
47
|
+
init: (target: Array<QTListViewItem>, isInit?: boolean) => Array<QTListViewItem>;
|
|
49
48
|
onItemClick: (e: any) => void;
|
|
50
49
|
onItemBind: (e: any) => void;
|
|
51
50
|
onItemFocused: (e: any) => void;
|
|
@@ -55,27 +54,90 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
54
|
onScroll: (e: any) => void;
|
|
56
55
|
onScrollStateChanged: (e: any) => void;
|
|
57
56
|
stopPage: (isTip?: boolean) => void;
|
|
58
|
-
scrollToTop: () => void;
|
|
59
|
-
clearFocus: () => void;
|
|
60
|
-
blockRootFocus: () => void;
|
|
61
|
-
unBlockRootFocus: () => void;
|
|
62
|
-
setDisplay: (display: boolean) => void;
|
|
63
|
-
scrollToPosition: (index: number) => void;
|
|
64
|
-
scrollToIndex: (y: number, anim: Boolean, offset: number) => void;
|
|
65
57
|
setItemFocused: (pos: number) => void;
|
|
66
58
|
scrollToFocused: (pos: number) => void;
|
|
67
59
|
setItemSelected: (pos: number, b: boolean) => void;
|
|
68
60
|
scrollToSelected: (pos: number, b: boolean) => void;
|
|
69
61
|
setInitPosition: (pos: number) => void;
|
|
70
|
-
setListData: (dataArr: Array<QTGridViewItem>) => void;
|
|
71
|
-
clearPostTask: () => void;
|
|
72
|
-
destroy: () => void;
|
|
73
|
-
requestFocus: () => void;
|
|
74
|
-
requestFocusDirectly: () => void;
|
|
75
|
-
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
76
62
|
apkVersion: import("vue").Ref<number>;
|
|
77
63
|
updateItemProps: (pos: number, name: string, dataObj: object) => void;
|
|
78
|
-
insertItem: (pos: number, data: Array<
|
|
64
|
+
insertItem: (pos: number, data: Array<QTListViewItem>) => void;
|
|
65
|
+
scrollToIndex: (x: number, y: number, animated?: boolean | undefined, duration?: number | undefined, offset?: number | undefined) => void;
|
|
66
|
+
startScroll: (position: import("..").QTListInitPosition) => void;
|
|
67
|
+
setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean | undefined) => void;
|
|
68
|
+
scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
|
|
69
|
+
scrollToPositionWithOffsetInfiniteMode: (position: number, offset: number, animated: boolean) => void;
|
|
70
|
+
scrollToPosition: (position: number, offset?: number | undefined) => void;
|
|
71
|
+
refreshListData: () => void;
|
|
72
|
+
updateItemTraverse: (position: number, data?: QTListViewItem | undefined, traverse?: boolean | undefined) => void;
|
|
73
|
+
requestItemLayout: (position: number) => void;
|
|
74
|
+
updateItemRange: (position: number, count: number, itemList: QTListViewItem[]) => void;
|
|
75
|
+
insertItemRange: (position: number, itemList: QTListViewItem[]) => void;
|
|
76
|
+
updateItemMatched: (params: import("..").QTNativeParams, data: QTListViewItem) => void;
|
|
77
|
+
updateItemMatchedByKey: (idKey: string, params: import("..").QTNativeParams, data: QTListViewItem) => void;
|
|
78
|
+
deleteItemRange: (position: number, count: number) => void;
|
|
79
|
+
setListData: (itemList: QTListViewItem[]) => void;
|
|
80
|
+
setListDataWithParams: (itemList: QTListViewItem[], autoChangeVisible: boolean, useDiff: boolean) => void;
|
|
81
|
+
addListData: (itemList: QTListViewItem[]) => void;
|
|
82
|
+
addListDataWithParams: (itemList: QTListViewItem[], deleteCount: number) => void;
|
|
83
|
+
destroy: () => void;
|
|
84
|
+
recycle: () => void;
|
|
85
|
+
scrollToTop: () => void;
|
|
86
|
+
scrollToFocus: (position: number, scrollOffset: number, delay: number, target: string) => void;
|
|
87
|
+
prepareForRecycle: () => void;
|
|
88
|
+
setDisplay: (display: boolean) => void;
|
|
89
|
+
changeDisplayState: (display: boolean, autoDataState: boolean) => void;
|
|
90
|
+
notifySaveInstance: () => void;
|
|
91
|
+
notifyRestoreInstance: () => void;
|
|
92
|
+
dispatchItemFunction: (params: import("../core/QTNativeParams").QTNativeArray) => void;
|
|
93
|
+
clearPostTask: () => void;
|
|
94
|
+
clearPostTaskByCate: (data: number[]) => void;
|
|
95
|
+
clearData: () => void;
|
|
96
|
+
pausePostTask: () => void;
|
|
97
|
+
resumePostTask: () => void;
|
|
98
|
+
requestLayoutManual: () => void;
|
|
99
|
+
setSpanCount: (spanCount: number) => void;
|
|
100
|
+
searchReplaceItem: (id: string, item: QTListViewItem) => void;
|
|
101
|
+
setCustomStateEnableOnFocus: (id: string, params: string[][]) => void;
|
|
102
|
+
setItemCustomState: (position: number, state: string, on: boolean) => void;
|
|
103
|
+
dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: import("..").QTNativeParams[]) => Promise<import("..").QTNativeParams>;
|
|
104
|
+
getScrollOffset: () => Promise<import("..").QTPosition>;
|
|
105
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
|
|
106
|
+
requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
107
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
108
|
+
clearFocus: () => void;
|
|
109
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
|
|
110
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
111
|
+
requestRootLayout: () => void;
|
|
112
|
+
requestLayout: () => void;
|
|
113
|
+
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
114
|
+
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
115
|
+
forceUpdateRenderNode: () => void;
|
|
116
|
+
setBackGroundColor: (color: string) => void;
|
|
117
|
+
layoutViewManual: () => void;
|
|
118
|
+
blockRootFocus: () => void;
|
|
119
|
+
unBlockRootFocus: () => void;
|
|
120
|
+
changeAlpha: (alpha: number) => void;
|
|
121
|
+
setScale: (x: number, y: number, duration: number) => void;
|
|
122
|
+
setPosition: (x: number, y: number, z: number) => void;
|
|
123
|
+
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
124
|
+
invalidate: () => void;
|
|
125
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
126
|
+
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
127
|
+
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
128
|
+
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
129
|
+
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
130
|
+
enabledAutofocus: (autofocus: boolean) => void;
|
|
131
|
+
requestAutofocus: () => void;
|
|
132
|
+
hasFocus: () => Promise<boolean>;
|
|
133
|
+
isFocused: () => Promise<boolean>;
|
|
134
|
+
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
135
|
+
getViewState: () => Promise<import("..").QTViewState>;
|
|
136
|
+
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
137
|
+
requestChildFocusAtIndex: (position: number) => void;
|
|
138
|
+
clearMemoryFocused: () => void;
|
|
139
|
+
showDialog: (show: boolean) => void;
|
|
140
|
+
tv_list: import("vue").Ref<any>;
|
|
79
141
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused")[], "item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
142
|
loadMore: {
|
|
81
143
|
type: FunctionConstructor;
|