@quicktvui/quicktvui3 1.1.33-beta.3 → 1.1.33-beta.5
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,18 @@
|
|
|
1
|
+
import { QTMediaSeries } from "./QTMediaSeries";
|
|
2
|
+
import { QTMediaSeriesType } from "./QTMediaSeriesType";
|
|
3
|
+
import { QTMediaSeriesGroup } from "./QTMediaSeriesGroup";
|
|
4
|
+
import { QTMediaSeriesStyleType } from "./QTMediaSeriesStyleType";
|
|
5
|
+
import { QTMediaSeriesData } from "./QTMediaSeriesData";
|
|
6
|
+
import { QTIView } from "../view/QTIView";
|
|
7
|
+
export interface QTIMediaSeries extends Omit<QTIView, 'requestFocus'> {
|
|
8
|
+
setup(): void;
|
|
9
|
+
setInitData(type: QTMediaSeriesType, group: QTMediaSeriesGroup, styleType: QTMediaSeriesStyleType, data: QTMediaSeriesData): void;
|
|
10
|
+
setVisible(visible: boolean): void;
|
|
11
|
+
setPageData(page: number, data: Array<QTMediaSeries>): void;
|
|
12
|
+
scrollTo(position: number): void;
|
|
13
|
+
scrollToWithOffset(position: number, offset: number, anim: boolean): void;
|
|
14
|
+
setSelected(position: number): void;
|
|
15
|
+
setGroupSelected(position: number): void;
|
|
16
|
+
requestFocus(position: number): void;
|
|
17
|
+
release(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export interface QTMediaSeriesGroupStyle {
|
|
2
|
+
groupMarginLeft?: number;
|
|
3
|
+
itemWidth?: number;
|
|
4
|
+
itemHeight?: number;
|
|
5
|
+
itemGap?: number;
|
|
6
|
+
textColor?: {
|
|
7
|
+
normal: string;
|
|
8
|
+
focused: string;
|
|
9
|
+
selected: string;
|
|
10
|
+
};
|
|
11
|
+
focusBackground?: {
|
|
12
|
+
orientation?: string;
|
|
13
|
+
cornerRadius: Array<number>;
|
|
14
|
+
color: Array<string>;
|
|
15
|
+
padding: Array<number>;
|
|
16
|
+
};
|
|
17
|
+
background?: {
|
|
18
|
+
orientation?: string;
|
|
19
|
+
cornerRadius: Array<number>;
|
|
20
|
+
color: Array<string>;
|
|
21
|
+
padding: Array<number>;
|
|
22
|
+
stroke: {
|
|
23
|
+
color: {
|
|
24
|
+
normal: string;
|
|
25
|
+
selected: string;
|
|
26
|
+
};
|
|
27
|
+
width: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
textVipColor?: {
|
|
31
|
+
normal: string;
|
|
32
|
+
focused: string;
|
|
33
|
+
selected: string;
|
|
34
|
+
};
|
|
35
|
+
focusVipBackground?: {
|
|
36
|
+
orientation?: string;
|
|
37
|
+
cornerRadius: Array<number>;
|
|
38
|
+
color: Array<string>;
|
|
39
|
+
padding: Array<number>;
|
|
40
|
+
};
|
|
41
|
+
backgroundVip?: {
|
|
42
|
+
orientation?: string;
|
|
43
|
+
cornerRadius: Array<number>;
|
|
44
|
+
color: Array<string>;
|
|
45
|
+
padding: Array<number>;
|
|
46
|
+
stroke: {
|
|
47
|
+
color: {
|
|
48
|
+
normal: string;
|
|
49
|
+
selected: string;
|
|
50
|
+
};
|
|
51
|
+
width: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
mark?: {
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ESIMediaSeries } from "@extscreen/es3-component";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
customItem: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
initParam: {
|
|
8
|
+
type: ObjectConstructor;
|
|
9
|
+
default: () => {};
|
|
10
|
+
};
|
|
11
|
+
height: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
scrollParam: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: () => {};
|
|
18
|
+
};
|
|
19
|
+
groupParam: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: () => {};
|
|
22
|
+
};
|
|
23
|
+
commonParam: {
|
|
24
|
+
type: ObjectConstructor;
|
|
25
|
+
default: () => {};
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
selectSeries: import("vue").Ref<ESIMediaSeries | undefined>;
|
|
29
|
+
showOld: import("vue").Ref<boolean>;
|
|
30
|
+
onLoadData: (event: any) => void;
|
|
31
|
+
setPageData: (page: any, data: any) => void;
|
|
32
|
+
setInitData: (totalCount: any, pageSize: any) => void;
|
|
33
|
+
onItemClick: (event: any) => void;
|
|
34
|
+
onItemFocused: (event: any) => void;
|
|
35
|
+
onGroupItemFocused: (event: any) => void;
|
|
36
|
+
scrollTo: (pos: any) => void;
|
|
37
|
+
scrollToWithOffset: (pos: any, offset: any, anim: any) => void;
|
|
38
|
+
requestFocus: (position: any) => void;
|
|
39
|
+
setSelected: (position: any) => void;
|
|
40
|
+
setup: () => void;
|
|
41
|
+
setGroupSelected: (position: any) => void;
|
|
42
|
+
release: () => void;
|
|
43
|
+
}, 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<{
|
|
44
|
+
customItem: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
initParam: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
default: () => {};
|
|
51
|
+
};
|
|
52
|
+
height: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
scrollParam: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
default: () => {};
|
|
59
|
+
};
|
|
60
|
+
groupParam: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
default: () => {};
|
|
63
|
+
};
|
|
64
|
+
commonParam: {
|
|
65
|
+
type: ObjectConstructor;
|
|
66
|
+
default: () => {};
|
|
67
|
+
};
|
|
68
|
+
}>> & {
|
|
69
|
+
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
70
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
"onItem-focused"?: ((...args: any[]) => any) | undefined;
|
|
72
|
+
"onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
74
|
+
customItem: boolean;
|
|
75
|
+
initParam: Record<string, any>;
|
|
76
|
+
height: number;
|
|
77
|
+
scrollParam: Record<string, any>;
|
|
78
|
+
groupParam: Record<string, any>;
|
|
79
|
+
commonParam: Record<string, any>;
|
|
80
|
+
}, {}>;
|
|
81
|
+
export default _default;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { QTMediaSeriesType } from "./QTMediaSeriesType";
|
|
2
|
+
import { QTMediaSeriesData } from "./QTMediaSeriesData";
|
|
3
|
+
import { QTMediaSeriesStyleType } from "./QTMediaSeriesStyleType";
|
|
4
|
+
import { QTMediaSeriesGroup } from "./QTMediaSeriesGroup";
|
|
5
|
+
import { QTMediaSeries } from "./QTMediaSeries";
|
|
6
|
+
import { ESIMediaSeries } from "@extscreen/es3-component";
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
itemHeight: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
gradientBackground: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: () => {
|
|
15
|
+
colors: string[];
|
|
16
|
+
orientation: number;
|
|
17
|
+
cornerRadius: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
gradientFocusBackground: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: () => {
|
|
23
|
+
colors: string[];
|
|
24
|
+
orientation: number;
|
|
25
|
+
cornerRadius: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
iconGradientBackground: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
default: () => {
|
|
31
|
+
colors: string[];
|
|
32
|
+
cornerRadius: number;
|
|
33
|
+
orientation: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
markColor: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
markVipColor: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
textColors: {
|
|
45
|
+
type: ObjectConstructor;
|
|
46
|
+
default: () => {
|
|
47
|
+
color: string;
|
|
48
|
+
focusColor: string;
|
|
49
|
+
selectColor: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
textVipColors: {
|
|
53
|
+
type: ObjectConstructor;
|
|
54
|
+
default: () => {
|
|
55
|
+
color: string;
|
|
56
|
+
focusColor: string;
|
|
57
|
+
selectColor: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
itemDivWidth: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
itemDivHeight: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
isVip: import("vue").Ref<boolean>;
|
|
70
|
+
seriesType: import("vue").Ref<QTMediaSeriesType>;
|
|
71
|
+
params: import("vue").Ref<any>;
|
|
72
|
+
commonParams: import("vue").Ref<any>;
|
|
73
|
+
scrollParams: import("vue").Ref<any>;
|
|
74
|
+
groupParams: import("vue").Ref<any>;
|
|
75
|
+
mediaSeriesRef: import("vue").Ref<ESIMediaSeries | undefined>;
|
|
76
|
+
show: import("vue").Ref<boolean>;
|
|
77
|
+
height: import("vue").Ref<number>;
|
|
78
|
+
onLoadData: (event: any) => void;
|
|
79
|
+
setInitData: (type: QTMediaSeriesType, group: QTMediaSeriesGroup, styleType: QTMediaSeriesStyleType, data: QTMediaSeriesData) => void;
|
|
80
|
+
setPageData: (page: number, dataArray: Array<QTMediaSeries>) => void;
|
|
81
|
+
onItemClick: (event: any) => void;
|
|
82
|
+
onItemFocused: (event: any) => void;
|
|
83
|
+
onGroupItemFocused: (event: any) => void;
|
|
84
|
+
scrollTo: (pos: any) => void;
|
|
85
|
+
scrollToWithOffset: (pos: any, offset: any) => void;
|
|
86
|
+
requestFocus: (position: any) => void;
|
|
87
|
+
setSelected: (position: any) => void;
|
|
88
|
+
setup: () => void;
|
|
89
|
+
setGroupSelected: (position: any) => void;
|
|
90
|
+
release: () => void;
|
|
91
|
+
blockRootFocus: () => void;
|
|
92
|
+
unBlockRootFocus: () => void;
|
|
93
|
+
clearFocus: () => void;
|
|
94
|
+
requestFocusDirectly: () => void;
|
|
95
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
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
|
+
itemHeight: {
|
|
98
|
+
type: NumberConstructor;
|
|
99
|
+
default: number;
|
|
100
|
+
};
|
|
101
|
+
gradientBackground: {
|
|
102
|
+
type: ObjectConstructor;
|
|
103
|
+
default: () => {
|
|
104
|
+
colors: string[];
|
|
105
|
+
orientation: number;
|
|
106
|
+
cornerRadius: number;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
gradientFocusBackground: {
|
|
110
|
+
type: ObjectConstructor;
|
|
111
|
+
default: () => {
|
|
112
|
+
colors: string[];
|
|
113
|
+
orientation: number;
|
|
114
|
+
cornerRadius: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
iconGradientBackground: {
|
|
118
|
+
type: ObjectConstructor;
|
|
119
|
+
default: () => {
|
|
120
|
+
colors: string[];
|
|
121
|
+
cornerRadius: number;
|
|
122
|
+
orientation: number;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
markColor: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
markVipColor: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
textColors: {
|
|
134
|
+
type: ObjectConstructor;
|
|
135
|
+
default: () => {
|
|
136
|
+
color: string;
|
|
137
|
+
focusColor: string;
|
|
138
|
+
selectColor: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
textVipColors: {
|
|
142
|
+
type: ObjectConstructor;
|
|
143
|
+
default: () => {
|
|
144
|
+
color: string;
|
|
145
|
+
focusColor: string;
|
|
146
|
+
selectColor: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
itemDivWidth: {
|
|
150
|
+
type: NumberConstructor;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
itemDivHeight: {
|
|
154
|
+
type: NumberConstructor;
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
157
|
+
}>> & {
|
|
158
|
+
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
159
|
+
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
160
|
+
"onItem-focused"?: ((...args: any[]) => any) | undefined;
|
|
161
|
+
"onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
itemHeight: number;
|
|
164
|
+
gradientBackground: Record<string, any>;
|
|
165
|
+
gradientFocusBackground: Record<string, any>;
|
|
166
|
+
iconGradientBackground: Record<string, any>;
|
|
167
|
+
markColor: string;
|
|
168
|
+
markVipColor: string;
|
|
169
|
+
textColors: Record<string, any>;
|
|
170
|
+
textVipColors: Record<string, any>;
|
|
171
|
+
itemDivWidth: number;
|
|
172
|
+
itemDivHeight: number;
|
|
173
|
+
}, {}>;
|
|
174
|
+
export default _default;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isVip: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
gradientBackground: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {
|
|
9
|
+
colors: string[];
|
|
10
|
+
orientation: number;
|
|
11
|
+
cornerRadius: number;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
gradientFocusBackground: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {
|
|
17
|
+
colors: string[];
|
|
18
|
+
orientation: number;
|
|
19
|
+
cornerRadius: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
iconGradientBackground: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default: () => {
|
|
25
|
+
colors: string[];
|
|
26
|
+
cornerRadius: number;
|
|
27
|
+
orientation: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
markColor: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
markVipColor: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
textColors: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
default: () => {
|
|
41
|
+
color: string;
|
|
42
|
+
focusColor: string;
|
|
43
|
+
selectColor: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
textVipColors: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
default: () => {
|
|
49
|
+
color: string;
|
|
50
|
+
focusColor: string;
|
|
51
|
+
selectColor: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
isVip: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
gradientBackground: {
|
|
60
|
+
type: ObjectConstructor;
|
|
61
|
+
default: () => {
|
|
62
|
+
colors: string[];
|
|
63
|
+
orientation: number;
|
|
64
|
+
cornerRadius: number;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
gradientFocusBackground: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default: () => {
|
|
70
|
+
colors: string[];
|
|
71
|
+
orientation: number;
|
|
72
|
+
cornerRadius: number;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
iconGradientBackground: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
default: () => {
|
|
78
|
+
colors: string[];
|
|
79
|
+
cornerRadius: number;
|
|
80
|
+
orientation: number;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
markColor: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
markVipColor: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
91
|
+
textColors: {
|
|
92
|
+
type: ObjectConstructor;
|
|
93
|
+
default: () => {
|
|
94
|
+
color: string;
|
|
95
|
+
focusColor: string;
|
|
96
|
+
selectColor: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
textVipColors: {
|
|
100
|
+
type: ObjectConstructor;
|
|
101
|
+
default: () => {
|
|
102
|
+
color: string;
|
|
103
|
+
focusColor: string;
|
|
104
|
+
selectColor: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}>>, {
|
|
108
|
+
isVip: boolean;
|
|
109
|
+
gradientBackground: Record<string, any>;
|
|
110
|
+
gradientFocusBackground: Record<string, any>;
|
|
111
|
+
iconGradientBackground: Record<string, any>;
|
|
112
|
+
markColor: string;
|
|
113
|
+
markVipColor: string;
|
|
114
|
+
textColors: Record<string, any>;
|
|
115
|
+
textVipColors: Record<string, any>;
|
|
116
|
+
}, {}>;
|
|
117
|
+
export default _default;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
isVip: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
gradientBackground: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => {
|
|
9
|
+
colors: string[];
|
|
10
|
+
orientation: number;
|
|
11
|
+
cornerRadius: number;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
gradientFocusBackground: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {
|
|
17
|
+
colors: string[];
|
|
18
|
+
orientation: number;
|
|
19
|
+
cornerRadius: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
iconGradientBackground: {
|
|
23
|
+
type: ObjectConstructor;
|
|
24
|
+
default: () => {
|
|
25
|
+
colors: string[];
|
|
26
|
+
cornerRadius: number;
|
|
27
|
+
orientation: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
markColor: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
markVipColor: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
textColors: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
default: () => {
|
|
41
|
+
color: string;
|
|
42
|
+
focusColor: string;
|
|
43
|
+
selectColor: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
textVipColors: {
|
|
47
|
+
type: ObjectConstructor;
|
|
48
|
+
default: () => {
|
|
49
|
+
color: string;
|
|
50
|
+
focusColor: string;
|
|
51
|
+
selectColor: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
itemWidth: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
itemHeight: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
isVip: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
gradientBackground: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default: () => {
|
|
70
|
+
colors: string[];
|
|
71
|
+
orientation: number;
|
|
72
|
+
cornerRadius: number;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
gradientFocusBackground: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
default: () => {
|
|
78
|
+
colors: string[];
|
|
79
|
+
orientation: number;
|
|
80
|
+
cornerRadius: number;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
iconGradientBackground: {
|
|
84
|
+
type: ObjectConstructor;
|
|
85
|
+
default: () => {
|
|
86
|
+
colors: string[];
|
|
87
|
+
cornerRadius: number;
|
|
88
|
+
orientation: number;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
markColor: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
};
|
|
95
|
+
markVipColor: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
textColors: {
|
|
100
|
+
type: ObjectConstructor;
|
|
101
|
+
default: () => {
|
|
102
|
+
color: string;
|
|
103
|
+
focusColor: string;
|
|
104
|
+
selectColor: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
textVipColors: {
|
|
108
|
+
type: ObjectConstructor;
|
|
109
|
+
default: () => {
|
|
110
|
+
color: string;
|
|
111
|
+
focusColor: string;
|
|
112
|
+
selectColor: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
itemWidth: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
119
|
+
itemHeight: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
123
|
+
}>>, {
|
|
124
|
+
isVip: boolean;
|
|
125
|
+
gradientBackground: Record<string, any>;
|
|
126
|
+
gradientFocusBackground: Record<string, any>;
|
|
127
|
+
iconGradientBackground: Record<string, any>;
|
|
128
|
+
markColor: string;
|
|
129
|
+
markVipColor: string;
|
|
130
|
+
textColors: Record<string, any>;
|
|
131
|
+
textVipColors: Record<string, any>;
|
|
132
|
+
itemWidth: number;
|
|
133
|
+
itemHeight: number;
|
|
134
|
+
}, {}>;
|
|
135
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { QTTab } from "./QTTab";
|
|
2
|
+
import { QTTabPageData } from "./QTTabPageData";
|
|
3
|
+
import { ESListViewItemFunctionParams, ESViewStateCallback } from "@extscreen/es3-component";
|
|
4
|
+
import { QTTabPageState } from "./QTTabPageState";
|
|
5
|
+
import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
|
|
6
|
+
import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
|
|
7
|
+
import { QTTabPage } from "./QTTabPage";
|
|
8
|
+
import { QTIView } from "../view/QTIView";
|
|
9
|
+
export interface QTITab extends QTIView {
|
|
10
|
+
initTab(tab: QTTab): void;
|
|
11
|
+
initPage(waterfall: QTTabPage): void;
|
|
12
|
+
setPageState(pageIndex: number, state: QTTabPageState): void;
|
|
13
|
+
getCurrentPageIndex(): number;
|
|
14
|
+
setPageData(pageIndex: number, tabPage: QTTabPageData): void;
|
|
15
|
+
addPageData(pageIndex: number, tabPageData: QTTabPageData, deleteCount: number): void;
|
|
16
|
+
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
17
|
+
updatePageData(pageIndex: number, tabPageData: QTTabPageData): void;
|
|
18
|
+
updatePageSection(pageIndex: number, sectionIndex: number, section: QTWaterfallSection): void;
|
|
19
|
+
deletePageSection(pageIndex: number, sectionIndex: number, count: number): void;
|
|
20
|
+
getPageSection(pageIndex: number, sectionIndex: number): QTWaterfallSection | undefined;
|
|
21
|
+
getPageSectionList(pageIndex: number): Array<QTWaterfallSection>;
|
|
22
|
+
getPageItem(pageIndex: number, sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
|
|
23
|
+
updatePageItem(pageIndex: number, sectionIndex: number, itemIndex: number, item: QTWaterfallItem): void;
|
|
24
|
+
addPageItemList(pageIndex: number, sectionIndex: number, itemList: Array<QTWaterfallItem>): void;
|
|
25
|
+
deletePageItem(pageIndex: number, sectionIndex: number, itemIndex: number, count: number): void;
|
|
26
|
+
blockRootFocus(): void;
|
|
27
|
+
unBlockRootFocus(): void;
|
|
28
|
+
focusBackToTop(): void;
|
|
29
|
+
requestNodeFocus(id: string): void;
|
|
30
|
+
reloadAll(updateCurrent: boolean): void;
|
|
31
|
+
reloadPage(pageIndex: number): void;
|
|
32
|
+
setCurrentPage(pageIndex: number): void;
|
|
33
|
+
getCurrentTabIndex(): Promise<number>;
|
|
34
|
+
requestTabFocus(tabIndex: number): void;
|
|
35
|
+
invokeContentFunction(pageIndex: number, functionName: string, param: Array<any>): void;
|
|
36
|
+
invokeContentFunctionDirect(functionName: string, param: Array<any>): void;
|
|
37
|
+
contentScrollToFocus(position: number): void;
|
|
38
|
+
getRootNodeViewState(page: number, position: number, callback: ESViewStateCallback): void;
|
|
39
|
+
getChildNodeViewState(page: number, position: number, childIndex: number, name: number, callback: ESViewStateCallback): void;
|
|
40
|
+
dispatchUIFunctionOnChildNode(page: number, position: number, childIndex: number, listViewName: string, functionParams: ESListViewItemFunctionParams): void;
|
|
41
|
+
updateItemMatched(key: string, id: any, newData: any): void;
|
|
42
|
+
updateChildNode(page: number, position: number, childIndex: number, data: any): void;
|
|
43
|
+
updateRootNode(page: number, position: number, data: any): void;
|
|
44
|
+
translationLeft(): void;
|
|
45
|
+
translationRight(): void;
|
|
46
|
+
destroy(): void;
|
|
47
|
+
cancelAll(): void;
|
|
48
|
+
}
|