@quicktvui/quicktvui3 1.1.38-beta.4 → 1.1.39-beta.2
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/base/QTIBaseView.d.ts +3 -41
- package/dist/src/base/useBaseView.d.ts +3 -41
- package/dist/src/button/index.vue.d.ts +3 -33
- package/dist/src/classified-list-view/index.vue.d.ts +4 -34
- package/dist/src/collapse/core/QTICollapse.d.ts +1 -1
- package/dist/src/collapse/index.vue.d.ts +4 -34
- package/dist/src/core/QTDirections.d.ts +6 -0
- package/dist/src/grid-view/core/QTGridViewItem.d.ts +5 -2
- package/dist/src/grid-view/core/QTIGridView.d.ts +16 -6
- package/dist/src/grid-view/index.vue.d.ts +17 -79
- package/dist/src/image/QTIImage.d.ts +0 -3
- package/dist/src/image/index.vue.d.ts +3 -36
- package/dist/src/index.d.ts +3 -21
- package/dist/src/list-view/core/QTIListView.d.ts +18 -6
- package/dist/src/nav-bar/QTINavBar.d.ts +0 -2
- package/dist/src/nav-bar/index.vue.d.ts +3 -33
- package/dist/src/poster/index.vue.d.ts +3 -33
- package/dist/src/progressbar/QTIProgressBar.d.ts +3 -0
- package/dist/src/section/index.vue.d.ts +3 -33
- package/dist/src/seekbar/QTISeekBar.d.ts +1 -0
- package/dist/src/series/index.vue.d.ts +1 -1
- package/dist/src/tab/QTITab.d.ts +1 -1
- package/dist/src/tab/QTTabDataManager.d.ts +2 -1
- package/dist/src/tab/index.vue.d.ts +7 -34
- package/dist/src/text/QTIText.d.ts +0 -5
- package/dist/src/text/index.vue.d.ts +3 -38
- package/dist/src/view/index.vue.d.ts +3 -33
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +8 -2
- package/dist/src/waterfall/index.vue.d.ts +4 -33
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +3 -33
- package/package.json +1 -1
- package/dist/src/animation/QtAnimationAPI.d.ts +0 -44
- package/dist/src/app/QtAppIconAPI.d.ts +0 -8
- package/dist/src/button/QtButtonAPI.d.ts +0 -4
- package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +0 -14
- package/dist/src/collapse/QtCollapseAPI.d.ts +0 -13
- package/dist/src/column/QtColumnAPI.d.ts +0 -4
- package/dist/src/core/QTEventData.d.ts +0 -4
- package/dist/src/core/QTLocation.d.ts +0 -3
- package/dist/src/core/QTNativeParams.d.ts +0 -3
- package/dist/src/core/QTPosition.d.ts +0 -4
- package/dist/src/focus/QTDescendantFocusability.d.ts +0 -5
- package/dist/src/focus/QTFocusDescendant.d.ts +0 -5
- package/dist/src/focus/QTFocusDirection.d.ts +0 -8
- package/dist/src/focus/QTFocusDirectionName.d.ts +0 -7
- package/dist/src/grid-view/QtGridViewAPI.d.ts +0 -16
- package/dist/src/image/QTImageResizeMode.d.ts +0 -7
- package/dist/src/image/QtImageAPI.d.ts +0 -9
- package/dist/src/list/QTIBaseListView.d.ts +0 -48
- package/dist/src/list/QTListInitPosition.d.ts +0 -14
- package/dist/src/list/QtBaseListViewAPI.d.ts +0 -50
- package/dist/src/list/useBaseListView.d.ts +0 -49
- package/dist/src/list-item/QTIListItem.d.ts +0 -6
- package/dist/src/list-item/QtListItemAPI.d.ts +0 -10
- package/dist/src/list-view/QtListViewAPI.d.ts +0 -14
- package/dist/src/loading/QtLoadingAPI.d.ts +0 -4
- package/dist/src/lottie/QtLottieViewAPI.d.ts +0 -35
- package/dist/src/nav-bar/QtNavBarAPI.d.ts +0 -10
- package/dist/src/plugin/QtPluginViewAPI.d.ts +0 -7
- package/dist/src/poster/QtPosterAPI.d.ts +0 -4
- package/dist/src/progressbar/QtProgressBarAPI.d.ts +0 -139
- package/dist/src/qrcode/QtQRCodeAPI.d.ts +0 -4
- package/dist/src/qt/QtAPI.d.ts +0 -64
- package/dist/src/qt/warning.d.ts +0 -1
- package/dist/src/replace-child/QTIReplaceChildView.d.ts +0 -4
- package/dist/src/replace-child/QTReplaceChildView.d.ts +0 -3
- package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +0 -7
- package/dist/src/row/QtRowAPI.d.ts +0 -4
- package/dist/src/scroll-view/QtScrollViewAPI.d.ts +0 -8
- package/dist/src/seekbar/QtSeekBarAPI.d.ts +0 -142
- package/dist/src/series/QtMediaSeriesAPI.d.ts +0 -21
- package/dist/src/tab/QtTabAPI.d.ts +0 -53
- package/dist/src/text/QTTextSpan.d.ts +0 -5
- package/dist/src/text/QTTextSpanAttribute.d.ts +0 -5
- package/dist/src/text/QTTextSpanAttributeType.d.ts +0 -4
- package/dist/src/text/QtTextAPI.d.ts +0 -11
- package/dist/src/ul/QTIUL.d.ts +0 -14
- package/dist/src/ul/QTULInitPosition.d.ts +0 -2
- package/dist/src/ul/QtULAPI.d.ts +0 -17
- package/dist/src/utils/type.d.ts +0 -1
- package/dist/src/view/QTViewState.d.ts +0 -12
- package/dist/src/view/QtViewAPI.d.ts +0 -45
- package/dist/src/waterfall/QtWaterfallAPI.d.ts +0 -23
- package/dist/src/webview/QtWebViewAPI.d.ts +0 -72
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +0 -72
|
@@ -40,41 +40,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
default: () => string[];
|
|
41
41
|
};
|
|
42
42
|
}, {
|
|
43
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
44
|
-
requestFocus: (
|
|
45
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
43
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
44
|
+
requestFocus: () => void;
|
|
46
45
|
clearFocus: () => void;
|
|
47
|
-
requestFocusDirectly: (
|
|
46
|
+
requestFocusDirectly: () => void;
|
|
48
47
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
49
|
-
requestRootLayout: () => void;
|
|
50
|
-
requestLayout: () => void;
|
|
51
|
-
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
52
|
-
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
53
|
-
forceUpdateRenderNode: () => void;
|
|
54
|
-
setBackGroundColor: (color: string) => void;
|
|
55
|
-
layoutViewManual: () => void;
|
|
56
|
-
blockRootFocus: () => void;
|
|
57
|
-
unBlockRootFocus: () => void;
|
|
58
|
-
changeAlpha: (alpha: number) => void;
|
|
59
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
60
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
61
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
62
|
-
invalidate: () => void;
|
|
63
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
64
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
65
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
66
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
67
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
68
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
69
|
-
requestAutofocus: () => void;
|
|
70
|
-
hasFocus: () => Promise<boolean>;
|
|
71
|
-
isFocused: () => Promise<boolean>;
|
|
72
|
-
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
73
|
-
getViewState: () => Promise<import("..").QTViewState>;
|
|
74
|
-
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
75
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
76
|
-
clearMemoryFocused: () => void;
|
|
77
|
-
showDialog: (show: boolean) => void;
|
|
78
48
|
mainTextShowOnState: string[];
|
|
79
49
|
viewRef: import("vue").Ref<any>;
|
|
80
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -10,6 +10,9 @@ export interface QTIProgressBar extends QTIView {
|
|
|
10
10
|
invalidateProgressBar(): void;
|
|
11
11
|
setFocusable(focusable: boolean): void;
|
|
12
12
|
setClickable(clickable: boolean): void;
|
|
13
|
+
requestFocus(): void;
|
|
14
|
+
requestLayout(): void;
|
|
15
|
+
invalidate(): void;
|
|
13
16
|
setVisible(visible: boolean): void;
|
|
14
17
|
setLeftSeekBarVisible(visible: boolean): void;
|
|
15
18
|
setRightSeekBarVisible(visible: boolean): void;
|
|
@@ -1,39 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
3
|
-
requestFocus: (
|
|
4
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
2
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
5
4
|
clearFocus: () => void;
|
|
6
|
-
requestFocusDirectly: (
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
7
6
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
8
|
-
requestRootLayout: () => void;
|
|
9
|
-
requestLayout: () => void;
|
|
10
|
-
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
11
|
-
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
12
|
-
forceUpdateRenderNode: () => void;
|
|
13
|
-
setBackGroundColor: (color: string) => void;
|
|
14
|
-
layoutViewManual: () => void;
|
|
15
|
-
blockRootFocus: () => void;
|
|
16
|
-
unBlockRootFocus: () => void;
|
|
17
|
-
changeAlpha: (alpha: number) => void;
|
|
18
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
19
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
20
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
21
|
-
invalidate: () => void;
|
|
22
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
23
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
24
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
25
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
26
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
27
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
28
|
-
requestAutofocus: () => void;
|
|
29
|
-
hasFocus: () => Promise<boolean>;
|
|
30
|
-
isFocused: () => Promise<boolean>;
|
|
31
|
-
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
32
|
-
getViewState: () => Promise<import("..").QTViewState>;
|
|
33
|
-
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
34
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
35
|
-
clearMemoryFocused: () => void;
|
|
36
|
-
showDialog: (show: boolean) => void;
|
|
37
7
|
onSectionBind: () => void;
|
|
38
8
|
viewRef: import("vue").Ref<any>;
|
|
39
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -12,6 +12,7 @@ export interface QTISeekBar extends QTIView {
|
|
|
12
12
|
resetSeekbar(): void;
|
|
13
13
|
startSeek(forward: boolean): void;
|
|
14
14
|
stopSeek(): void;
|
|
15
|
+
isFocused(): void;
|
|
15
16
|
invalidateSeekBar(): void;
|
|
16
17
|
setFocusable(focusable: boolean): void;
|
|
17
18
|
setClickable(clickable: boolean): void;
|
|
@@ -91,7 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
blockRootFocus: () => void;
|
|
92
92
|
unBlockRootFocus: () => void;
|
|
93
93
|
clearFocus: () => void;
|
|
94
|
-
requestFocusDirectly: (
|
|
94
|
+
requestFocusDirectly: () => void;
|
|
95
95
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
96
96
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load-data" | "item-click" | "item-focused" | "group-item-focused")[], "load-data" | "item-click" | "item-focused" | "group-item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
97
97
|
itemHeight: {
|
package/dist/src/tab/QTITab.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { QTTabIndex } from "./QTTabIndex";
|
|
|
4
4
|
import { QTTabPageDataState } from "./QTTabPageDataState";
|
|
5
5
|
import { QTTab } from "./QTTab";
|
|
6
6
|
import { QTListViewItemState } from "../list-view/core/QTListViewItemState";
|
|
7
|
+
import { ESLog } from "@extscreen/es3-core";
|
|
7
8
|
export interface QTTabDataManager {
|
|
8
9
|
initTab(tab: QTTab): void;
|
|
9
10
|
initTabPageData(pageIndex: number): void;
|
|
@@ -25,4 +26,4 @@ export interface QTTabDataManager {
|
|
|
25
26
|
getItem(pageIndex: number, sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
|
|
26
27
|
destroy(): any;
|
|
27
28
|
}
|
|
28
|
-
export declare function createQTTabDataManager(): QTTabDataManager;
|
|
29
|
+
export declare function createQTTabDataManager(log: ESLog): QTTabDataManager;
|
|
@@ -175,45 +175,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
}, {
|
|
178
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
179
|
-
requestFocus: (
|
|
180
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
178
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
179
|
+
requestFocus: () => void;
|
|
181
180
|
clearFocus: () => void;
|
|
182
|
-
requestFocusDirectly: (
|
|
181
|
+
requestFocusDirectly: () => void;
|
|
183
182
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
184
|
-
requestRootLayout: () => void;
|
|
185
|
-
requestLayout: () => void;
|
|
186
|
-
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
187
|
-
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
188
|
-
forceUpdateRenderNode: () => void;
|
|
189
|
-
setBackGroundColor: (color: string) => void;
|
|
190
|
-
layoutViewManual: () => void;
|
|
191
|
-
blockRootFocus: () => void;
|
|
192
|
-
unBlockRootFocus: () => void;
|
|
193
|
-
changeAlpha: (alpha: number) => void;
|
|
194
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
195
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
196
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
197
|
-
invalidate: () => void;
|
|
198
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
199
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
200
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
201
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
202
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
203
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
204
|
-
requestAutofocus: () => void;
|
|
205
|
-
hasFocus: () => Promise<boolean>;
|
|
206
|
-
isFocused: () => Promise<boolean>;
|
|
207
|
-
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
208
|
-
getViewState: () => Promise<import("..").QTViewState>;
|
|
209
|
-
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
210
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
211
|
-
clearMemoryFocused: () => void;
|
|
212
|
-
showDialog: (show: boolean) => void;
|
|
213
183
|
tabs: import("vue").Ref<ESITab | undefined>;
|
|
214
184
|
ifTabs: import("vue").Ref<boolean>;
|
|
215
185
|
navBarRef: import("vue").Ref<QTINavBar | undefined>;
|
|
216
186
|
initTab: (tab: QTTab) => void;
|
|
187
|
+
setAutoFocus: (tag: string, delay: number) => void;
|
|
217
188
|
initPage: (w: QTWaterfall) => void;
|
|
218
189
|
setPageState: (pageIndex: number, state: QTTabPageState) => void;
|
|
219
190
|
setPageData: (pageIndex: number, tabPageData: QTTabPageData) => void;
|
|
@@ -221,12 +192,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
192
|
updatePageData: (pageIndex: number, tabPageData: QTTabPageData) => void;
|
|
222
193
|
updatePageSection: (pageIndex: number, sectionIndex: number, section: QTWaterfallSection) => void;
|
|
223
194
|
getPageSection: (pageIndex: number, sectionIndex: number) => QTWaterfallSection | undefined;
|
|
224
|
-
getPageSectionList: (pageIndex: number) => Array<QTWaterfallSection
|
|
195
|
+
getPageSectionList: (pageIndex: number) => Array<QTWaterfallSection>;
|
|
225
196
|
deletePageSection: (pageIndex: number, sectionIndex: number, count: number) => void;
|
|
226
197
|
addPageItemList: (pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>) => void;
|
|
227
198
|
getPageItem: (pageIndex: number, sectionIndex: number, itemIndex: number) => QTWaterfallItem | undefined;
|
|
228
199
|
updatePageItem: (pageIndex: number, sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void;
|
|
229
200
|
deletePageItem: (pageIndex: number, sectionIndex: number, itemIndex: number, count: number) => void;
|
|
201
|
+
blockRootFocus: () => void;
|
|
202
|
+
unBlockRootFocus: () => void;
|
|
230
203
|
focusBackToTop: () => void;
|
|
231
204
|
requestNodeFocus: (id: string) => void;
|
|
232
205
|
reloadAll: (updateCurrent?: boolean) => void;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import { QTIView } from "../view/QTIView";
|
|
2
|
-
import { QTTextSpan } from "./QTTextSpan";
|
|
3
2
|
export interface QTIText extends QTIView {
|
|
4
|
-
setText(text: string): void;
|
|
5
|
-
setTextSize(size: number): void;
|
|
6
|
-
setTextColor(color: string): void;
|
|
7
|
-
textSpan(span: QTTextSpan): void;
|
|
8
3
|
}
|
|
@@ -1,44 +1,9 @@
|
|
|
1
|
-
import { QTTextSpan } from "./QTTextSpan";
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
4
|
-
requestFocus: (
|
|
5
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
2
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
6
4
|
clearFocus: () => void;
|
|
7
|
-
requestFocusDirectly: (
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
8
6
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
9
|
-
requestRootLayout: () => void;
|
|
10
|
-
requestLayout: () => void;
|
|
11
|
-
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
12
|
-
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
13
|
-
forceUpdateRenderNode: () => void;
|
|
14
|
-
setBackGroundColor: (color: string) => void;
|
|
15
|
-
layoutViewManual: () => void;
|
|
16
|
-
blockRootFocus: () => void;
|
|
17
|
-
unBlockRootFocus: () => void;
|
|
18
|
-
changeAlpha: (alpha: number) => void;
|
|
19
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
20
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
21
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
22
|
-
invalidate: () => void;
|
|
23
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
24
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
25
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
26
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
27
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
28
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
29
|
-
requestAutofocus: () => void;
|
|
30
|
-
hasFocus: () => Promise<boolean>;
|
|
31
|
-
isFocused: () => Promise<boolean>;
|
|
32
|
-
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
33
|
-
getViewState: () => Promise<import("..").QTViewState>;
|
|
34
|
-
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
35
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
36
|
-
clearMemoryFocused: () => void;
|
|
37
|
-
showDialog: (show: boolean) => void;
|
|
38
7
|
viewRef: import("vue").Ref<any>;
|
|
39
|
-
setText: (text: string) => void;
|
|
40
|
-
setTextSize: (size: number) => void;
|
|
41
|
-
setTextColor: (color: string) => void;
|
|
42
|
-
textSpan: (span: QTTextSpan) => void;
|
|
43
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
44
9
|
export default _default;
|
|
@@ -1,39 +1,9 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
3
|
-
requestFocus: (
|
|
4
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
2
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
5
4
|
clearFocus: () => void;
|
|
6
|
-
requestFocusDirectly: (
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
7
6
|
setVisibility: (v: import("./QTIViewVisibility").QTIViewVisibility) => void;
|
|
8
|
-
requestRootLayout: () => void;
|
|
9
|
-
requestLayout: () => void;
|
|
10
|
-
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
11
|
-
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
12
|
-
forceUpdateRenderNode: () => void;
|
|
13
|
-
setBackGroundColor: (color: string) => void;
|
|
14
|
-
layoutViewManual: () => void;
|
|
15
|
-
blockRootFocus: () => void;
|
|
16
|
-
unBlockRootFocus: () => void;
|
|
17
|
-
changeAlpha: (alpha: number) => void;
|
|
18
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
19
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
20
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
21
|
-
invalidate: () => void;
|
|
22
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
23
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
24
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
25
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
26
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
27
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
28
|
-
requestAutofocus: () => void;
|
|
29
|
-
hasFocus: () => Promise<boolean>;
|
|
30
|
-
isFocused: () => Promise<boolean>;
|
|
31
|
-
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
32
|
-
getViewState: () => Promise<import("./QTViewState").QTViewState>;
|
|
33
|
-
getChildViewState: (position: number) => Promise<import("./QTViewState").QTViewState>;
|
|
34
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
35
|
-
clearMemoryFocused: () => void;
|
|
36
|
-
showDialog: (show: boolean) => void;
|
|
37
7
|
viewRef: import("vue").Ref<any>;
|
|
38
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
39
9
|
onClearFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
2
2
|
import { QTWaterfall } from "./QTWaterfall";
|
|
3
3
|
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
4
|
-
import {
|
|
5
|
-
export interface QTIWaterfall extends
|
|
4
|
+
import { QTIView } from "../../view/QTIView";
|
|
5
|
+
export interface QTIWaterfall extends QTIView {
|
|
6
6
|
init(waterfall: QTWaterfall): any;
|
|
7
7
|
getSectionList(): Array<QTWaterfallSection>;
|
|
8
8
|
setSectionList(sections: Array<QTWaterfallSection>): void;
|
|
@@ -16,4 +16,10 @@ export interface QTIWaterfall extends QTIBaseListView {
|
|
|
16
16
|
updateItem(sectionIndex: number, itemIndex: number, item: QTWaterfallItem): void;
|
|
17
17
|
updateItemList(sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): void;
|
|
18
18
|
getItem(sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
|
|
19
|
+
clearPostTask(): void;
|
|
20
|
+
pausePostTask(): void;
|
|
21
|
+
resumePostTask(): void;
|
|
22
|
+
destroy(): void;
|
|
23
|
+
scrollToTop(): void;
|
|
24
|
+
setListData(): void;
|
|
19
25
|
}
|
|
@@ -69,44 +69,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
required: false;
|
|
70
70
|
};
|
|
71
71
|
}, {
|
|
72
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
73
|
-
requestFocus: (
|
|
74
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
|
|
72
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
73
|
+
requestFocus: () => void;
|
|
75
74
|
clearFocus: () => void;
|
|
76
|
-
requestFocusDirectly: (
|
|
75
|
+
requestFocusDirectly: () => void;
|
|
77
76
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
78
|
-
requestRootLayout: () => void;
|
|
79
|
-
requestLayout: () => void;
|
|
80
|
-
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
81
|
-
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
82
|
-
forceUpdateRenderNode: () => void;
|
|
83
|
-
setBackGroundColor: (color: string) => void;
|
|
84
|
-
layoutViewManual: () => void;
|
|
85
|
-
blockRootFocus: () => void;
|
|
86
|
-
unBlockRootFocus: () => void;
|
|
87
|
-
changeAlpha: (alpha: number) => void;
|
|
88
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
89
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
90
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
91
|
-
invalidate: () => void;
|
|
92
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
|
|
93
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
94
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
|
|
95
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
96
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
97
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
98
|
-
requestAutofocus: () => void;
|
|
99
|
-
hasFocus: () => Promise<boolean>;
|
|
100
|
-
isFocused: () => Promise<boolean>;
|
|
101
|
-
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
102
|
-
getViewState: () => Promise<import("..").QTViewState>;
|
|
103
|
-
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
104
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
105
|
-
clearMemoryFocused: () => void;
|
|
106
|
-
showDialog: (show: boolean) => void;
|
|
107
77
|
waterfallRef: import("vue").Ref<ESIListView | undefined>;
|
|
108
78
|
visibleType: import("vue").Ref<QTWaterfallVisibleType>;
|
|
109
79
|
init: (data: QTWaterfall) => void;
|
|
80
|
+
setAutoFocus: (tag: string, delay: number) => void;
|
|
110
81
|
getSectionList: () => Array<QTWaterfallSection>;
|
|
111
82
|
setSectionList: (sectionList: Array<QTWaterfallSection>) => void;
|
|
112
83
|
addSectionList: (sectionList: Array<QTWaterfallSection>) => void;
|
|
@@ -1,40 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
onFocus: (e: any) => void;
|
|
3
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args:
|
|
4
|
-
requestFocus: (
|
|
5
|
-
requestChildFocus: (position: number, direction?: import("../..").QTFocusDirection | undefined) => void;
|
|
3
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
4
|
+
requestFocus: () => void;
|
|
6
5
|
clearFocus: () => void;
|
|
7
|
-
requestFocusDirectly: (
|
|
6
|
+
requestFocusDirectly: () => void;
|
|
8
7
|
setVisibility: (v: import("../..").QTIViewVisibility) => void;
|
|
9
|
-
requestRootLayout: () => void;
|
|
10
|
-
requestLayout: () => void;
|
|
11
|
-
setDescendantFocusability: (descendant: import("../..").QTFocusDescendant) => void;
|
|
12
|
-
changeDescendantFocusability: (descendant: import("../..").QTDescendantFocusability) => void;
|
|
13
|
-
forceUpdateRenderNode: () => void;
|
|
14
|
-
setBackGroundColor: (color: string) => void;
|
|
15
|
-
layoutViewManual: () => void;
|
|
16
|
-
blockRootFocus: () => void;
|
|
17
|
-
unBlockRootFocus: () => void;
|
|
18
|
-
changeAlpha: (alpha: number) => void;
|
|
19
|
-
setScale: (x: number, y: number, duration: number) => void;
|
|
20
|
-
setPosition: (x: number, y: number, z: number) => void;
|
|
21
|
-
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
22
|
-
invalidate: () => void;
|
|
23
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("../..").QTNativeParams[], delay: number) => void;
|
|
24
|
-
setBlockFocusDirections: (directionList: import("../..").QTFocusDirectionName[]) => void;
|
|
25
|
-
setBlockFocusDirectionsOnFail: (directionList: import("../..").QTFocusDirectionName[]) => void;
|
|
26
|
-
setInitFocus: (sid: string, delay?: number | undefined) => void;
|
|
27
|
-
setAutoFocus: (sid: string, delay?: number | undefined) => void;
|
|
28
|
-
enabledAutofocus: (autofocus: boolean) => void;
|
|
29
|
-
requestAutofocus: () => void;
|
|
30
|
-
hasFocus: () => Promise<boolean>;
|
|
31
|
-
isFocused: () => Promise<boolean>;
|
|
32
|
-
getLocationOnScreen: () => Promise<import("../..").QTEventData<import("../..").QTLocation>>;
|
|
33
|
-
getViewState: () => Promise<import("../..").QTViewState>;
|
|
34
|
-
getChildViewState: (position: number) => Promise<import("../..").QTViewState>;
|
|
35
|
-
requestChildFocusAtIndex: (position: number) => void;
|
|
36
|
-
clearMemoryFocused: () => void;
|
|
37
|
-
showDialog: (show: boolean) => void;
|
|
38
8
|
viewRef: import("vue").Ref<any>;
|
|
39
9
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
40
10
|
onFocus?: ((...args: any[]) => any) | undefined;
|
package/package.json
CHANGED
|
@@ -1,44 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,3 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
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;
|