@quicktvui/quicktvui3 1.1.33-beta.3 → 1.1.33-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.css +690 -0
- package/dist/index.js +20 -0
- package/dist/src/animation/QTAnimation.d.ts +3 -0
- package/dist/src/animation/QTIAnimation.d.ts +41 -0
- package/dist/src/animation/types.d.ts +40 -0
- package/dist/src/app/QTAppIcon.d.ts +3 -0
- package/dist/src/app/QTIAppIcon.d.ts +4 -0
- package/dist/src/base/QTIBaseView.d.ts +9 -0
- package/dist/src/base/useBaseView.d.ts +10 -0
- package/dist/src/button/QTIButton.d.ts +3 -0
- package/dist/src/button/index.vue.d.ts +148 -0
- package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +9 -0
- package/dist/src/classified-list-view/core/QTClassifiedListViewItemDecoration.d.ts +6 -0
- package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +11 -0
- package/dist/src/classified-list-view/index.vue.d.ts +86 -0
- package/dist/src/collapse/core/QTCollapse.d.ts +8 -0
- package/dist/src/collapse/core/QTCollapseItem.d.ts +5 -0
- package/dist/src/collapse/core/QTICollapse.d.ts +10 -0
- package/dist/src/collapse/core/QTICollapseItem.d.ts +4 -0
- package/dist/src/collapse/index.vue.d.ts +28 -0
- package/dist/src/column/QTIColumn.d.ts +3 -0
- package/dist/src/core/QTDirections.d.ts +6 -0
- package/dist/src/core/QTFlexStyleBackground.d.ts +3 -0
- package/dist/src/core/QTFlexStyleCoordinate.d.ts +4 -0
- package/dist/src/core/QTFlexStyleDecoration.d.ts +6 -0
- package/dist/src/core/QTFlexStyleGradientBackground.d.ts +4 -0
- package/dist/src/core/QTFlexStyleMargin.d.ts +7 -0
- package/dist/src/core/QTFlexStylePadding.d.ts +7 -0
- package/dist/src/core/QTFlexStylePosition.d.ts +6 -0
- package/dist/src/core/QTFlexStyleSize.d.ts +4 -0
- package/dist/src/core/QTFlexStyleSpacing.d.ts +3 -0
- package/dist/src/core/QTFlexStyleText.d.ts +4 -0
- package/dist/src/core/QTFocusable.d.ts +5 -0
- package/dist/src/core/QTVisibility.d.ts +5 -0
- package/dist/src/dialog/QTDialog.d.ts +3 -0
- package/dist/src/dialog/QTIDialog.d.ts +3 -0
- package/dist/src/gradient/QTGradient.d.ts +13 -0
- package/dist/src/gradient/QTGradientOrientation.d.ts +10 -0
- package/dist/src/gradient/QTGradientShape.d.ts +6 -0
- package/dist/src/gradient/QTGradientType.d.ts +5 -0
- package/dist/src/grid-view/core/QTGridViewItem.d.ts +6 -0
- package/dist/src/grid-view/core/QTGridViewItemDecoration.d.ts +6 -0
- package/dist/src/grid-view/core/QTGridViewItemFunctionParams.d.ts +6 -0
- package/dist/src/grid-view/core/QTIGridView.d.ts +22 -0
- package/dist/src/grid-view/index.vue.d.ts +141 -0
- package/dist/src/image/QTIImage.d.ts +3 -0
- package/dist/src/image/index.vue.d.ts +9 -0
- package/dist/src/index.d.ts +112 -0
- package/dist/src/list-item/ESListItemComponent.d.ts +3 -0
- package/dist/src/list-view/QTListViewComponent.d.ts +3 -0
- package/dist/src/list-view/core/QTIListView.d.ts +22 -0
- package/dist/src/list-view/core/QTListViewItem.d.ts +9 -0
- package/dist/src/list-view/core/QTListViewItemDecoration.d.ts +6 -0
- package/dist/src/list-view/core/QTListViewItemFunctionParams.d.ts +6 -0
- package/dist/src/list-view/core/QTListViewItemState.d.ts +7 -0
- package/dist/src/loading/QTILoadingView.d.ts +3 -0
- package/dist/src/loading/QTLoadingView.d.ts +3 -0
- package/dist/src/lottie/QTILottieView.d.ts +32 -0
- package/dist/src/lottie/QTLottieAsyncUpdates.d.ts +5 -0
- package/dist/src/lottie/QTLottieRenderMode.d.ts +5 -0
- package/dist/src/lottie/QTLottieRepeatMode.d.ts +5 -0
- package/dist/src/lottie/QTLottieView.d.ts +3 -0
- package/dist/src/nav-bar/QTINavBar.d.ts +5 -0
- package/dist/src/nav-bar/QTNavBar.d.ts +6 -0
- package/dist/src/nav-bar/QTNavBarItem.d.ts +6 -0
- package/dist/src/nav-bar/QTNavBarItemType.d.ts +3 -0
- package/dist/src/nav-bar/index.vue.d.ts +116 -0
- package/dist/src/plugin/QTIPluginView.d.ts +9 -0
- package/dist/src/plugin/QTPluginView.d.ts +3 -0
- package/dist/src/poster/core/QTIPoster.d.ts +3 -0
- package/dist/src/poster/core/QTPoster.d.ts +30 -0
- package/dist/src/poster/core/QTPosterCorner.d.ts +7 -0
- package/dist/src/poster/core/QTPosterElement.d.ts +5 -0
- package/dist/src/poster/core/QTPosterImage.d.ts +4 -0
- package/dist/src/poster/core/QTPosterPlaceholderImg.d.ts +4 -0
- package/dist/src/poster/core/QTPosterRipple.d.ts +8 -0
- package/dist/src/poster/core/QTPosterScore.d.ts +9 -0
- package/dist/src/poster/core/QTPosterShadow.d.ts +3 -0
- package/dist/src/poster/core/QTPosterShimmer.d.ts +3 -0
- package/dist/src/poster/core/QTPosterTitle.d.ts +12 -0
- package/dist/src/poster/index.vue.d.ts +100 -0
- package/dist/src/progressbar/QTIProgressBar.d.ts +139 -0
- package/dist/src/progressbar/QTProgressBar.d.ts +3 -0
- package/dist/src/qrcode/QTIQRCode.d.ts +3 -0
- package/dist/src/qrcode/QTQRCodeView.d.ts +3 -0
- package/dist/src/qtListen/effect.d.ts +17 -0
- package/dist/src/qtListen/index.d.ts +5 -0
- package/dist/src/qtListen/qtArray.d.ts +9 -0
- package/dist/src/qtListen/qtDiff.d.ts +2 -0
- package/dist/src/qtListen/reactive.d.ts +14 -0
- package/dist/src/qtListen/ref.d.ts +5 -0
- package/dist/src/qtListen/types.d.ts +45 -0
- package/dist/src/qtListen/watch.d.ts +16 -0
- package/dist/src/row/QTIRow.d.ts +3 -0
- package/dist/src/scroll-view/QTIScrollView.d.ts +5 -0
- package/dist/src/scroll-view/QTScrollView.d.ts +3 -0
- package/dist/src/section/index.vue.d.ts +10 -0
- package/dist/src/seekbar/QTISeekBar.d.ts +143 -0
- package/dist/src/seekbar/QTSeekBar.d.ts +3 -0
- package/dist/src/seekbar/QTSeekBarGravity.d.ts +5 -0
- package/dist/src/seekbar/QTSeekBarIndicatorMode.d.ts +6 -0
- package/dist/src/seekbar/QTSeekBarMode.d.ts +4 -0
- package/dist/src/seekbar/QTSeekBarTickMarkGravity.d.ts +5 -0
- package/dist/src/seekbar/QTSeekBarTickMarkLayoutGravity.d.ts +4 -0
- package/dist/src/seekbar/QTSeekBarTickMarkMode.d.ts +4 -0
- package/dist/src/series/DataAdapter.d.ts +31 -0
- package/dist/src/series/QTIMediaSeries.d.ts +18 -0
- package/dist/src/series/QTMediaSeries.d.ts +7 -0
- package/dist/src/series/QTMediaSeriesData.d.ts +5 -0
- package/dist/src/series/QTMediaSeriesEvent.d.ts +6 -0
- package/dist/src/series/QTMediaSeriesGroup.d.ts +6 -0
- package/dist/src/series/QTMediaSeriesGroupStyle.d.ts +57 -0
- package/dist/src/series/QTMediaSeriesStyleType.d.ts +4 -0
- package/dist/src/series/QTMediaSeriesType.d.ts +7 -0
- package/dist/src/series/QTMediaSeriesVip.d.ts +4 -0
- package/dist/src/series/component/media-series.vue.d.ts +81 -0
- package/dist/src/series/index.vue.d.ts +174 -0
- package/dist/src/series/item/media-series-number-item.vue.d.ts +117 -0
- package/dist/src/series/item/media-series-text-item.vue.d.ts +135 -0
- package/dist/src/tab/QTITab.d.ts +48 -0
- package/dist/src/tab/QTTab.d.ts +6 -0
- package/dist/src/tab/QTTabDataManager.d.ts +28 -0
- package/dist/src/tab/QTTabEvent.d.ts +9 -0
- package/dist/src/tab/QTTabEventParams.d.ts +10 -0
- package/dist/src/tab/QTTabIndex.d.ts +7 -0
- package/dist/src/tab/QTTabItem.d.ts +4 -0
- package/dist/src/tab/QTTabItemType.d.ts +3 -0
- package/dist/src/tab/QTTabPage.d.ts +4 -0
- package/dist/src/tab/QTTabPageData.d.ts +9 -0
- package/dist/src/tab/QTTabPageDataState.d.ts +6 -0
- package/dist/src/tab/QTTabPageState.d.ts +7 -0
- package/dist/src/tab/index.vue.d.ts +416 -0
- package/dist/src/text/QTIText.d.ts +3 -0
- package/dist/src/text/index.vue.d.ts +9 -0
- package/dist/src/utils/VirtualView.d.ts +8 -0
- package/dist/src/utils/utils.d.ts +4 -0
- package/dist/src/view/QTIView.d.ts +3 -0
- package/dist/src/view/QTIViewVisibility.d.ts +5 -0
- package/dist/src/view/QTViewEvent.d.ts +3 -0
- package/dist/src/view/index.vue.d.ts +11 -0
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +25 -0
- package/dist/src/waterfall/core/QTScrollState.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfall.d.ts +7 -0
- package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +7 -0
- package/dist/src/waterfall/core/QTWaterfallCardPlaceHolder.d.ts +8 -0
- package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +9 -0
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +18 -0
- package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +8 -0
- package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +9 -0
- package/dist/src/waterfall/core/QTWaterfallIndex.d.ts +6 -0
- package/dist/src/waterfall/core/QTWaterfallItem.d.ts +6 -0
- package/dist/src/waterfall/core/QTWaterfallItemType.d.ts +7 -0
- package/dist/src/waterfall/core/QTWaterfallPlaceholder.d.ts +3 -0
- package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallSection.d.ts +13 -0
- package/dist/src/waterfall/core/QTWaterfallSectionType.d.ts +14 -0
- package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +7 -0
- package/dist/src/waterfall/core/QTWaterfallVisibleType.d.ts +5 -0
- package/dist/src/waterfall/index.vue.d.ts +155 -0
- package/dist/src/waterfall/item/card-item.vue.d.ts +4 -0
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -0
- package/dist/src/waterfall/section/blank-section.vue.d.ts +2 -0
- package/dist/src/waterfall/section/card-section.vue.d.ts +4 -0
- package/dist/src/waterfall/section/end-section.vue.d.ts +2 -0
- package/dist/src/waterfall/section/flex-section.vue.d.ts +83 -0
- package/dist/src/waterfall/section/loading-section.vue.d.ts +2 -0
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +18 -0
- package/dist/src/waterfall/section/section-title.vue.d.ts +24 -0
- package/dist/src/waterfall/section/vue-section.vue.d.ts +16 -0
- package/dist/src/webview/QTIWebView.d.ts +69 -0
- package/dist/src/webview/QTWebView.d.ts +3 -0
- package/dist/src/x5webview/QTIX5WebView.d.ts +69 -0
- package/dist/src/x5webview/QTX5WebView.d.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
|
|
2
|
+
import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
|
|
3
|
+
import { QTTabIndex } from "./QTTabIndex";
|
|
4
|
+
import { QTTabPageDataState } from "./QTTabPageDataState";
|
|
5
|
+
import { QTTab } from "./QTTab";
|
|
6
|
+
import { QTListViewItemState } from "../list-view/core/QTListViewItemState";
|
|
7
|
+
export interface QTTabDataManager {
|
|
8
|
+
initTab(tab: QTTab): void;
|
|
9
|
+
initTabPageData(pageIndex: number): void;
|
|
10
|
+
setPageDataState(pageIndex: number, page: QTTabPageDataState): void;
|
|
11
|
+
getTabPageDataState(pageIndex: number): QTTabPageDataState | undefined;
|
|
12
|
+
getSectionList(pageIndex: number): Array<QTWaterfallSection>;
|
|
13
|
+
addSectionList(pageIndex: number, sections: Array<QTWaterfallSection>): QTTabIndex;
|
|
14
|
+
insertSectionList(pageIndex: number, sectionIndex: number, sections: Array<QTWaterfallSection>): QTTabIndex;
|
|
15
|
+
deleteSection(pageIndex: number, sectionIndex: number, count: number): QTTabIndex;
|
|
16
|
+
updateSectionList(pageIndex: number, sectionList: Array<QTWaterfallSection>): QTTabIndex;
|
|
17
|
+
updateSection(pageIndex: number, sectionIndex: number, section: QTWaterfallSection): QTTabIndex;
|
|
18
|
+
getSection(pageIndex: number, sectionIndex: number): QTWaterfallSection | undefined;
|
|
19
|
+
setSectionState(pageIndex: number, sectionIndex: number, state: QTListViewItemState): void;
|
|
20
|
+
getSectionListByState(pageIndex: number, state: QTListViewItemState): Array<QTWaterfallSection>;
|
|
21
|
+
addItemList(pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>): QTTabIndex;
|
|
22
|
+
deleteItem(pageIndex: number, sectionIndex: number, itemIndex: number, count: number): QTTabIndex;
|
|
23
|
+
updateItem(pageIndex: number, sectionIndex: number, itemIndex: number, item: QTWaterfallItem): QTTabIndex;
|
|
24
|
+
updateItemList(pageIndex: number, sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): QTTabIndex;
|
|
25
|
+
getItem(pageIndex: number, sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
|
|
26
|
+
destroy(): any;
|
|
27
|
+
}
|
|
28
|
+
export declare function createQTTabDataManager(): QTTabDataManager;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ESViewCoordinate, ESViewScrollState } from "@extscreen/es3-component";
|
|
2
|
+
export interface QTTabEventParams {
|
|
3
|
+
itemPosition: number;
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
position: number;
|
|
7
|
+
orientation: number;
|
|
8
|
+
contentOffset: ESViewCoordinate;
|
|
9
|
+
state: ESViewScrollState;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
|
|
2
|
+
export interface QTTabPageData {
|
|
3
|
+
useDiff?: boolean;
|
|
4
|
+
disableScrollOnFirstScreen?: boolean;
|
|
5
|
+
firstFocusTargetID?: string;
|
|
6
|
+
data: Array<QTWaterfallSection>;
|
|
7
|
+
bindingPlayer?: string;
|
|
8
|
+
[prop: string]: any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import { QTINavBar } from "../nav-bar/QTINavBar";
|
|
2
|
+
import { QTTab } from "./QTTab";
|
|
3
|
+
import { QTTabEvent } from "./QTTabEvent";
|
|
4
|
+
import { QTTabPageData } from "./QTTabPageData";
|
|
5
|
+
import { QTWaterfall } from "../waterfall/core/QTWaterfall";
|
|
6
|
+
import { ESITab, ESListViewItemFunctionParams, ESViewStateCallback } from "@extscreen/es3-component";
|
|
7
|
+
import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
|
|
8
|
+
import { QTTabPageState } from "./QTTabPageState";
|
|
9
|
+
import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
|
|
10
|
+
import { QTTabItem } from "./QTTabItem";
|
|
11
|
+
import { QTPluginViewEvent } from "../plugin/QTIPluginView";
|
|
12
|
+
declare const _default: import("vue").DefineComponent<{
|
|
13
|
+
enablePlaceholder: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
preloadNumber: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
tabNavBarClass: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
tabNavBarSid: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
tabClass: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
tabsDataStrategy: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
tabPageClass: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
horizontal: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
pageTransform: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
hideOnSingleTab: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
floatNavBar: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
useNavBarBg: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
contentNextFocus: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
default: () => {
|
|
64
|
+
up: string;
|
|
65
|
+
left: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
triggerTask: {
|
|
69
|
+
type: ArrayConstructor;
|
|
70
|
+
default: () => never[];
|
|
71
|
+
};
|
|
72
|
+
blockViewPager: {
|
|
73
|
+
type: ArrayConstructor;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
blockViewPagerVertical: {
|
|
77
|
+
type: ArrayConstructor;
|
|
78
|
+
default: () => never[];
|
|
79
|
+
};
|
|
80
|
+
tabContentBlockFocusDirections: {
|
|
81
|
+
type: ArrayConstructor;
|
|
82
|
+
default: () => string[];
|
|
83
|
+
};
|
|
84
|
+
tabContentResumeDelay: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
tabContentSwitchDelay: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
slidingEnable: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
slidingMode: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
initTranslation: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
rightTranslation: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
leftTranslation: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
default: number;
|
|
111
|
+
};
|
|
112
|
+
duration: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
interpolatorType: {
|
|
117
|
+
type: NumberConstructor;
|
|
118
|
+
default: number;
|
|
119
|
+
};
|
|
120
|
+
endHintEnabled: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
outOfDateTime: {
|
|
125
|
+
type: NumberConstructor;
|
|
126
|
+
default: number;
|
|
127
|
+
};
|
|
128
|
+
customPool: {
|
|
129
|
+
type: ObjectConstructor;
|
|
130
|
+
default: () => void;
|
|
131
|
+
};
|
|
132
|
+
customItemPool: {
|
|
133
|
+
type: ObjectConstructor;
|
|
134
|
+
default: () => void;
|
|
135
|
+
};
|
|
136
|
+
navBarNextFocusName: {
|
|
137
|
+
type: ObjectConstructor;
|
|
138
|
+
default: () => {
|
|
139
|
+
down: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
horizontalFadingEdgeEnabled: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
146
|
+
verticalFadingEdgeEnabled: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
fadingEdgeLength: {
|
|
151
|
+
type: NumberConstructor;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
}, {
|
|
155
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
156
|
+
requestFocus: () => void;
|
|
157
|
+
clearFocus: () => void;
|
|
158
|
+
requestFocusDirectly: () => void;
|
|
159
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
160
|
+
tabs: import("vue").Ref<ESITab | undefined>;
|
|
161
|
+
ifTabs: import("vue").Ref<boolean>;
|
|
162
|
+
navBarRef: import("vue").Ref<QTINavBar | undefined>;
|
|
163
|
+
initTab: (tab: QTTab) => void;
|
|
164
|
+
setAutoFocus: (tag: string, delay: number) => void;
|
|
165
|
+
initPage: (w: QTWaterfall) => void;
|
|
166
|
+
setPageState: (pageIndex: number, state: QTTabPageState) => void;
|
|
167
|
+
setPageData: (pageIndex: number, tabPageData: QTTabPageData) => void;
|
|
168
|
+
addPageData: (pageIndex: number, tabPageData: QTTabPageData, deleteCount?: number) => void;
|
|
169
|
+
updatePageData: (pageIndex: number, tabPageData: QTTabPageData) => void;
|
|
170
|
+
updatePageSection: (pageIndex: number, sectionIndex: number, section: QTWaterfallSection) => void;
|
|
171
|
+
getPageSection: (pageIndex: number, sectionIndex: number) => QTWaterfallSection | undefined;
|
|
172
|
+
getPageSectionList: (pageIndex: number) => Array<QTWaterfallSection>;
|
|
173
|
+
deletePageSection: (pageIndex: number, sectionIndex: number, count: number) => void;
|
|
174
|
+
addPageItemList: (pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>) => void;
|
|
175
|
+
getPageItem: (pageIndex: number, sectionIndex: number, itemIndex: number) => QTWaterfallItem | undefined;
|
|
176
|
+
updatePageItem: (pageIndex: number, sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void;
|
|
177
|
+
deletePageItem: (pageIndex: number, sectionIndex: number, itemIndex: number, count: number) => void;
|
|
178
|
+
blockRootFocus: () => void;
|
|
179
|
+
unBlockRootFocus: () => void;
|
|
180
|
+
focusBackToTop: () => void;
|
|
181
|
+
requestNodeFocus: (id: string) => void;
|
|
182
|
+
reloadAll: (updateCurrent?: boolean) => void;
|
|
183
|
+
reloadPage: (pageIndex: number) => void;
|
|
184
|
+
setCurrentPage: (pageIndex: number) => void;
|
|
185
|
+
requestTabFocus: (tabIndex: number) => void;
|
|
186
|
+
invokeContentFunction: (pageIndex: number, functionName: string, param: Array<any>) => void;
|
|
187
|
+
invokeContentFunctionDirect: (functionName: string, param: Array<any>) => void;
|
|
188
|
+
contentScrollToFocus: (position: number) => void;
|
|
189
|
+
getRootNodeViewState: (page: number, position: number, callback: ESViewStateCallback) => void;
|
|
190
|
+
getChildNodeViewState: (page: number, position: number, childIndex: number, name: number, callback: ESViewStateCallback) => void;
|
|
191
|
+
dispatchUIFunctionOnChildNode: (page: number, position: number, childIndex: number, listViewName: string, functionParams: ESListViewItemFunctionParams) => void;
|
|
192
|
+
updateItemMatched: (key: string | undefined, id: any, newData: any) => void;
|
|
193
|
+
updateRootNode: (page: number, position: number, data: Array<any>) => void;
|
|
194
|
+
updateChildNode: (page: number, position: number, childIndex: number, data: any) => void;
|
|
195
|
+
destroy: () => void;
|
|
196
|
+
cancelAll: () => void;
|
|
197
|
+
translationLeft: () => void;
|
|
198
|
+
translationRight: () => void;
|
|
199
|
+
rootOpacity: import("vue").Ref<number>;
|
|
200
|
+
onTabPageLoadData: (e: QTTabEvent) => void;
|
|
201
|
+
onTabPageChanged: (e: QTTabEvent) => void;
|
|
202
|
+
onTabEvent: (e: QTTabEvent) => void;
|
|
203
|
+
onWaterfallItemClick: (sectionIndex: number, itemIndex: number, item: QTWaterfallItem, e: any) => void;
|
|
204
|
+
onWaterfallItemFocused: (sectionIndex: number, itemIndex: number, isFocused: boolean, item: QTWaterfallItem) => void;
|
|
205
|
+
onWaterfallSectionBind: (pageIndex: number, sectionIndex: number) => void;
|
|
206
|
+
onWaterfallSectionAttached: (pageIndex: number, sectionIndex: number) => void;
|
|
207
|
+
onWaterfallSectionDetached: (pageIndex: number, sectionIndex: number) => void;
|
|
208
|
+
onWaterfallScroll: (offsetX: number, scrollY: number) => void;
|
|
209
|
+
onWaterfallScrollStateChanged: (offsetX: number, scrollY: number, newState: number) => void;
|
|
210
|
+
onTabPageScrollToStart: (evt: any) => void;
|
|
211
|
+
onTabPageScrollToEnd: (evt: any) => void;
|
|
212
|
+
onTabChange: (e: any) => void;
|
|
213
|
+
onTabClick: (e: QTTabItem) => void;
|
|
214
|
+
getCurrentPageIndex: () => number;
|
|
215
|
+
getCurrentTabIndex: () => Promise<number>;
|
|
216
|
+
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
217
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
218
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
219
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
220
|
+
enablePlaceholder: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
preloadNumber: {
|
|
225
|
+
type: NumberConstructor;
|
|
226
|
+
default: number;
|
|
227
|
+
};
|
|
228
|
+
tabNavBarClass: {
|
|
229
|
+
type: StringConstructor;
|
|
230
|
+
default: string;
|
|
231
|
+
};
|
|
232
|
+
tabNavBarSid: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
default: string;
|
|
235
|
+
};
|
|
236
|
+
tabClass: {
|
|
237
|
+
type: StringConstructor;
|
|
238
|
+
default: string;
|
|
239
|
+
};
|
|
240
|
+
tabsDataStrategy: {
|
|
241
|
+
type: StringConstructor;
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
244
|
+
tabPageClass: {
|
|
245
|
+
type: StringConstructor;
|
|
246
|
+
default: string;
|
|
247
|
+
};
|
|
248
|
+
horizontal: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
pageTransform: {
|
|
253
|
+
type: BooleanConstructor;
|
|
254
|
+
default: boolean;
|
|
255
|
+
};
|
|
256
|
+
hideOnSingleTab: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
floatNavBar: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
useNavBarBg: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
contentNextFocus: {
|
|
269
|
+
type: ObjectConstructor;
|
|
270
|
+
default: () => {
|
|
271
|
+
up: string;
|
|
272
|
+
left: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
triggerTask: {
|
|
276
|
+
type: ArrayConstructor;
|
|
277
|
+
default: () => never[];
|
|
278
|
+
};
|
|
279
|
+
blockViewPager: {
|
|
280
|
+
type: ArrayConstructor;
|
|
281
|
+
default: () => never[];
|
|
282
|
+
};
|
|
283
|
+
blockViewPagerVertical: {
|
|
284
|
+
type: ArrayConstructor;
|
|
285
|
+
default: () => never[];
|
|
286
|
+
};
|
|
287
|
+
tabContentBlockFocusDirections: {
|
|
288
|
+
type: ArrayConstructor;
|
|
289
|
+
default: () => string[];
|
|
290
|
+
};
|
|
291
|
+
tabContentResumeDelay: {
|
|
292
|
+
type: NumberConstructor;
|
|
293
|
+
default: number;
|
|
294
|
+
};
|
|
295
|
+
tabContentSwitchDelay: {
|
|
296
|
+
type: NumberConstructor;
|
|
297
|
+
default: number;
|
|
298
|
+
};
|
|
299
|
+
slidingEnable: {
|
|
300
|
+
type: BooleanConstructor;
|
|
301
|
+
default: boolean;
|
|
302
|
+
};
|
|
303
|
+
slidingMode: {
|
|
304
|
+
type: StringConstructor;
|
|
305
|
+
default: string;
|
|
306
|
+
};
|
|
307
|
+
initTranslation: {
|
|
308
|
+
type: NumberConstructor;
|
|
309
|
+
default: number;
|
|
310
|
+
};
|
|
311
|
+
rightTranslation: {
|
|
312
|
+
type: NumberConstructor;
|
|
313
|
+
default: number;
|
|
314
|
+
};
|
|
315
|
+
leftTranslation: {
|
|
316
|
+
type: NumberConstructor;
|
|
317
|
+
default: number;
|
|
318
|
+
};
|
|
319
|
+
duration: {
|
|
320
|
+
type: NumberConstructor;
|
|
321
|
+
default: number;
|
|
322
|
+
};
|
|
323
|
+
interpolatorType: {
|
|
324
|
+
type: NumberConstructor;
|
|
325
|
+
default: number;
|
|
326
|
+
};
|
|
327
|
+
endHintEnabled: {
|
|
328
|
+
type: BooleanConstructor;
|
|
329
|
+
default: boolean;
|
|
330
|
+
};
|
|
331
|
+
outOfDateTime: {
|
|
332
|
+
type: NumberConstructor;
|
|
333
|
+
default: number;
|
|
334
|
+
};
|
|
335
|
+
customPool: {
|
|
336
|
+
type: ObjectConstructor;
|
|
337
|
+
default: () => void;
|
|
338
|
+
};
|
|
339
|
+
customItemPool: {
|
|
340
|
+
type: ObjectConstructor;
|
|
341
|
+
default: () => void;
|
|
342
|
+
};
|
|
343
|
+
navBarNextFocusName: {
|
|
344
|
+
type: ObjectConstructor;
|
|
345
|
+
default: () => {
|
|
346
|
+
down: string;
|
|
347
|
+
};
|
|
348
|
+
};
|
|
349
|
+
horizontalFadingEdgeEnabled: {
|
|
350
|
+
type: BooleanConstructor;
|
|
351
|
+
default: boolean;
|
|
352
|
+
};
|
|
353
|
+
verticalFadingEdgeEnabled: {
|
|
354
|
+
type: BooleanConstructor;
|
|
355
|
+
default: boolean;
|
|
356
|
+
};
|
|
357
|
+
fadingEdgeLength: {
|
|
358
|
+
type: NumberConstructor;
|
|
359
|
+
default: number;
|
|
360
|
+
};
|
|
361
|
+
}>> & {
|
|
362
|
+
onOnTabPageLoadData?: ((...args: any[]) => any) | undefined;
|
|
363
|
+
onOnTabPageChanged?: ((...args: any[]) => any) | undefined;
|
|
364
|
+
onOnTabEvent?: ((...args: any[]) => any) | undefined;
|
|
365
|
+
onOnTabPageItemClick?: ((...args: any[]) => any) | undefined;
|
|
366
|
+
onOnTabPageItemFocused?: ((...args: any[]) => any) | undefined;
|
|
367
|
+
onOnTabPageSectionAttached?: ((...args: any[]) => any) | undefined;
|
|
368
|
+
onOnTabPageScroll?: ((...args: any[]) => any) | undefined;
|
|
369
|
+
onOnTabPageScrollStateChanged?: ((...args: any[]) => any) | undefined;
|
|
370
|
+
onOnTabMoveToTopStart?: ((...args: any[]) => any) | undefined;
|
|
371
|
+
onOnTabMoveToTopEnd?: ((...args: any[]) => any) | undefined;
|
|
372
|
+
onOnTabMoveToBottomStart?: ((...args: any[]) => any) | undefined;
|
|
373
|
+
onOnTabMoveToBottomEnd?: ((...args: any[]) => any) | undefined;
|
|
374
|
+
onOnTabChanged?: ((...args: any[]) => any) | undefined;
|
|
375
|
+
onOnTabPageScrollToEnd?: ((...args: any[]) => any) | undefined;
|
|
376
|
+
onOnTabPageScrollToStart?: ((...args: any[]) => any) | undefined;
|
|
377
|
+
onOnTabClick?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
379
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
}, {
|
|
381
|
+
enablePlaceholder: boolean;
|
|
382
|
+
preloadNumber: number;
|
|
383
|
+
tabNavBarClass: string;
|
|
384
|
+
tabNavBarSid: string;
|
|
385
|
+
tabClass: string;
|
|
386
|
+
tabsDataStrategy: string;
|
|
387
|
+
tabPageClass: string;
|
|
388
|
+
horizontal: boolean;
|
|
389
|
+
pageTransform: boolean;
|
|
390
|
+
hideOnSingleTab: boolean;
|
|
391
|
+
floatNavBar: boolean;
|
|
392
|
+
useNavBarBg: boolean;
|
|
393
|
+
contentNextFocus: Record<string, any>;
|
|
394
|
+
triggerTask: unknown[];
|
|
395
|
+
blockViewPager: unknown[];
|
|
396
|
+
blockViewPagerVertical: unknown[];
|
|
397
|
+
tabContentBlockFocusDirections: unknown[];
|
|
398
|
+
tabContentResumeDelay: number;
|
|
399
|
+
tabContentSwitchDelay: number;
|
|
400
|
+
slidingEnable: boolean;
|
|
401
|
+
slidingMode: string;
|
|
402
|
+
initTranslation: number;
|
|
403
|
+
rightTranslation: number;
|
|
404
|
+
leftTranslation: number;
|
|
405
|
+
duration: number;
|
|
406
|
+
interpolatorType: number;
|
|
407
|
+
endHintEnabled: boolean;
|
|
408
|
+
outOfDateTime: number;
|
|
409
|
+
customPool: Record<string, any>;
|
|
410
|
+
customItemPool: Record<string, any>;
|
|
411
|
+
navBarNextFocusName: Record<string, any>;
|
|
412
|
+
horizontalFadingEdgeEnabled: boolean;
|
|
413
|
+
verticalFadingEdgeEnabled: boolean;
|
|
414
|
+
fadingEdgeLength: number;
|
|
415
|
+
}, {}>;
|
|
416
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
4
|
+
clearFocus: () => void;
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
6
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
7
|
+
viewRef: import("vue").Ref<any>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const VirtualView: {
|
|
2
|
+
call(sid: string, fnName: string, params: Array<any>): void;
|
|
3
|
+
callAsync(sid: string, fnName: string, params: Array<any>, maxTime?: number): Promise<unknown>;
|
|
4
|
+
tvCall(tvsid: string, sid: string, fnName: string, params: Array<any>): void;
|
|
5
|
+
tvCallAsync(tvsid: string, sid: string, fnName: string, params: Array<any>, maxTime?: number): Promise<unknown>;
|
|
6
|
+
updateChild(tvsid: string, sid: string, data: any): void;
|
|
7
|
+
updateBySid(sid: string, data: any): void;
|
|
8
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
4
|
+
clearFocus: () => void;
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
6
|
+
setVisibility: (v: import("./QTIViewVisibility").QTIViewVisibility) => void;
|
|
7
|
+
viewRef: import("vue").Ref<any>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
9
|
+
onClearFocus?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
2
|
+
import { QTWaterfall } from "./QTWaterfall";
|
|
3
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
4
|
+
import { QTIView } from "../../view/QTIView";
|
|
5
|
+
export interface QTIWaterfall extends QTIView {
|
|
6
|
+
init(waterfall: QTWaterfall): any;
|
|
7
|
+
getSectionList(): Array<QTWaterfallSection>;
|
|
8
|
+
setSectionList(sections: Array<QTWaterfallSection>): void;
|
|
9
|
+
addSectionList(sections: Array<QTWaterfallSection>): void;
|
|
10
|
+
deleteSection(sectionIndex: number, count: number): void;
|
|
11
|
+
updateSection(sectionIndex: number, section: QTWaterfallSection): void;
|
|
12
|
+
updateSectionList(sectionIndex: number, count: number, sectionList: Array<QTWaterfallSection>): void;
|
|
13
|
+
getSection(sectionIndex: number): QTWaterfallSection | undefined;
|
|
14
|
+
addItemList(sectionIndex: number, itemList: Array<QTWaterfallItem>): void;
|
|
15
|
+
deleteItem(sectionIndex: number, itemIndex: number, count: number): void;
|
|
16
|
+
updateItem(sectionIndex: number, itemIndex: number, item: QTWaterfallItem): void;
|
|
17
|
+
updateItemList(sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): void;
|
|
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;
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
2
|
+
import { QTWaterfallCardPlaceHolder } from "./QTWaterfallCardPlaceHolder";
|
|
3
|
+
export interface QTWaterfallCardItem extends QTWaterfallItem {
|
|
4
|
+
cardId: string;
|
|
5
|
+
cardPlaceHolder?: QTWaterfallCardPlaceHolder;
|
|
6
|
+
[prop: string]: any;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
2
|
+
import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
|
|
3
|
+
import { QTWaterfallCardPlaceHolder } from "./QTWaterfallCardPlaceHolder";
|
|
4
|
+
export interface QTWaterfallCardSection extends QTWaterfallSection {
|
|
5
|
+
cardId: string;
|
|
6
|
+
cardStyle: QTWaterfallFlexStyle;
|
|
7
|
+
cardPlaceHolder?: QTWaterfallCardPlaceHolder;
|
|
8
|
+
[prop: string]: any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
2
|
+
import { QTWaterfall } from "./QTWaterfall";
|
|
3
|
+
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
4
|
+
export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>, isResetSection?: boolean): Array<QTWaterfallItem>;
|
|
5
|
+
export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection, isResetSection?: boolean): QTWaterfallSection;
|