@quicktvui/quicktvui3 0.0.1
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 +283 -0
- package/dist/index.js +1 -0
- package/dist/src/button/index.vue.d.ts +143 -0
- package/dist/src/core/QTDirections.d.ts +6 -0
- package/dist/src/core/QTFlexStyleCoordinate.d.ts +4 -0
- package/dist/src/core/QTFlexStyleDecoration.d.ts +6 -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/QTGradientDrawable.d.ts +9 -0
- package/dist/src/core/QTVisibility.d.ts +5 -0
- package/dist/src/grid-view/core/QTGridView.d.ts +2 -0
- package/dist/src/grid-view/index.vue.d.ts +118 -0
- package/dist/src/index.d.ts +37 -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 +39 -0
- package/dist/src/list-view/core/QTListViewItem.d.ts +6 -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/loading/QTLoadingView.d.ts +3 -0
- package/dist/src/nav-bar/QTINavBar.d.ts +4 -0
- package/dist/src/nav-bar/QTNavBar.d.ts +4 -0
- package/dist/src/nav-bar/QTNavBarItem.d.ts +4 -0
- package/dist/src/nav-bar/index.vue.d.ts +84 -0
- package/dist/src/poster/core/QTPoster.d.ts +24 -0
- package/dist/src/poster/core/QTPosterCorner.d.ts +6 -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/QTPosterRipple.d.ts +8 -0
- package/dist/src/poster/core/QTPosterShadow.d.ts +2 -0
- package/dist/src/poster/core/QTPosterShimmer.d.ts +2 -0
- package/dist/src/poster/core/QTPosterTitle.d.ts +10 -0
- package/dist/src/poster/index.vue.d.ts +61 -0
- package/dist/src/tab/QTITab.d.ts +29 -0
- package/dist/src/tab/QTTab.d.ts +6 -0
- package/dist/src/tab/QTTabEvent.d.ts +9 -0
- package/dist/src/tab/QTTabEventParams.d.ts +3 -0
- package/dist/src/tab/QTTabItem.d.ts +4 -0
- package/dist/src/tab/QTTabPage.d.ts +7 -0
- package/dist/src/tab/index.vue.d.ts +222 -0
- package/dist/src/utils/utils.d.ts +3 -0
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +17 -0
- package/dist/src/waterfall/core/QTScrollState.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfall.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +13 -0
- package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +6 -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 +4 -0
- package/dist/src/waterfall/core/QTWaterfallSection.d.ts +10 -0
- package/dist/src/waterfall/core/QTWaterfallSectionType.d.ts +8 -0
- package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +4 -0
- package/dist/src/waterfall/index.vue.d.ts +94 -0
- package/dist/src/waterfall/section/loading-section.vue.d.ts +2 -0
- package/dist/src/waterfall/section/section-title.vue.d.ts +24 -0
- package/dist/src/waterfall/section/standard-section.vue.d.ts +70 -0
- package/package.json +23 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { QTINavBar } from "../nav-bar/QTINavBar";
|
|
2
|
+
import { QTTab } from "./QTTab";
|
|
3
|
+
import { QTTabEvent } from "./QTTabEvent";
|
|
4
|
+
import { QTTabPage } from "./QTTabPage";
|
|
5
|
+
import { QTWaterfall } from "../waterfall/core/QTWaterfall";
|
|
6
|
+
import { ESITab, ESListViewItemFunctionParams, ESViewStateCallback } from "@extscreen/es3-component";
|
|
7
|
+
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
prevLoadNumber: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
topBlank: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
classNavBar: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
classRoot: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
tabsDataStrategy: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
classContent: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
horizontal: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
pageTransform: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
hideOnSingleTab: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
floatNavBar: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
arrangeType: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
decorationCreator: {
|
|
53
|
+
type: FunctionConstructor;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
56
|
+
contentNextFocus: {
|
|
57
|
+
type: ObjectConstructor;
|
|
58
|
+
default: () => {
|
|
59
|
+
up: string;
|
|
60
|
+
left: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
headBlank: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
nodeGap: {
|
|
68
|
+
type: NumberConstructor;
|
|
69
|
+
default: number;
|
|
70
|
+
};
|
|
71
|
+
enableLoadMore: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
triggerTask: {
|
|
76
|
+
type: ArrayConstructor;
|
|
77
|
+
default: () => never[];
|
|
78
|
+
};
|
|
79
|
+
blockViewPager: {
|
|
80
|
+
type: ArrayConstructor;
|
|
81
|
+
default: () => never[];
|
|
82
|
+
};
|
|
83
|
+
blockViewPagerVertical: {
|
|
84
|
+
type: ArrayConstructor;
|
|
85
|
+
default: () => never[];
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
tabs: import("vue").Ref<ESITab | undefined>;
|
|
89
|
+
ifTabs: import("vue").Ref<boolean>;
|
|
90
|
+
navBarRef: import("vue").Ref<QTINavBar | undefined>;
|
|
91
|
+
initTab: (tab: QTTab) => void;
|
|
92
|
+
initWaterfall: (w: QTWaterfall) => void;
|
|
93
|
+
setTabPageData: (pageIndex: number, tabPageData: QTTabPage) => void;
|
|
94
|
+
addPageData: (pageIndex: number, tabPageData: QTTabPage, deleteCount?: number) => void;
|
|
95
|
+
updatePageData: (pageIndex: number, tabPageData: QTTabPage) => void;
|
|
96
|
+
blockRootFocus: () => void;
|
|
97
|
+
unBlockRootFocus: () => void;
|
|
98
|
+
focusBackToTop: () => void;
|
|
99
|
+
requestNodeFocus: (id: string) => void;
|
|
100
|
+
reloadAll: (updateCurrent?: boolean) => void;
|
|
101
|
+
reloadPage: (pageIndex: number) => void;
|
|
102
|
+
setCurrentPage: (pageIndex: number) => void;
|
|
103
|
+
requestTabFocus: (tabIndex: number) => void;
|
|
104
|
+
invokeContentFunction: (pageIndex: number, functionName: string, param: Array<any>) => void;
|
|
105
|
+
invokeContentFunctionDirect: (functionName: string, param: Array<any>) => void;
|
|
106
|
+
contentScrollToFocus: (position: number) => void;
|
|
107
|
+
getRootNodeViewState: (page: number, position: number, callback: ESViewStateCallback) => void;
|
|
108
|
+
getChildNodeViewState: (page: number, position: number, childIndex: number, name: number, callback: ESViewStateCallback) => void;
|
|
109
|
+
dispatchUIFunctionOnChildNode: (page: number, position: number, childIndex: number, listViewName: string, functionParams: ESListViewItemFunctionParams) => void;
|
|
110
|
+
updateItemMatched: (key: string | undefined, id: any, newData: any) => void;
|
|
111
|
+
updateRootNode: (page: number, position: number, data: Array<any>) => void;
|
|
112
|
+
updateChildNode: (page: number, position: number, childIndex: number, data: any) => void;
|
|
113
|
+
destroy: () => void;
|
|
114
|
+
pageSwitchDelay: import("vue").Ref<number>;
|
|
115
|
+
pageResumeDelay: import("vue").Ref<number>;
|
|
116
|
+
rootOpacity: import("vue").Ref<number>;
|
|
117
|
+
isTabHorizontal: import("vue").Ref<boolean>;
|
|
118
|
+
onLoadTabPageData: (e: QTTabEvent) => void;
|
|
119
|
+
onTabPageChanged: (e: QTTabEvent) => void;
|
|
120
|
+
onTabEvent: (e: QTTabEvent) => void;
|
|
121
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
122
|
+
prevLoadNumber: {
|
|
123
|
+
type: NumberConstructor;
|
|
124
|
+
default: number;
|
|
125
|
+
};
|
|
126
|
+
topBlank: {
|
|
127
|
+
type: NumberConstructor;
|
|
128
|
+
default: number;
|
|
129
|
+
};
|
|
130
|
+
classNavBar: {
|
|
131
|
+
type: StringConstructor;
|
|
132
|
+
default: string;
|
|
133
|
+
};
|
|
134
|
+
classRoot: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
tabsDataStrategy: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
default: string;
|
|
141
|
+
};
|
|
142
|
+
classContent: {
|
|
143
|
+
type: StringConstructor;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
horizontal: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: boolean;
|
|
149
|
+
};
|
|
150
|
+
pageTransform: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
hideOnSingleTab: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
floatNavBar: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
arrangeType: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
decorationCreator: {
|
|
167
|
+
type: FunctionConstructor;
|
|
168
|
+
default: null;
|
|
169
|
+
};
|
|
170
|
+
contentNextFocus: {
|
|
171
|
+
type: ObjectConstructor;
|
|
172
|
+
default: () => {
|
|
173
|
+
up: string;
|
|
174
|
+
left: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
headBlank: {
|
|
178
|
+
type: NumberConstructor;
|
|
179
|
+
default: number;
|
|
180
|
+
};
|
|
181
|
+
nodeGap: {
|
|
182
|
+
type: NumberConstructor;
|
|
183
|
+
default: number;
|
|
184
|
+
};
|
|
185
|
+
enableLoadMore: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
triggerTask: {
|
|
190
|
+
type: ArrayConstructor;
|
|
191
|
+
default: () => never[];
|
|
192
|
+
};
|
|
193
|
+
blockViewPager: {
|
|
194
|
+
type: ArrayConstructor;
|
|
195
|
+
default: () => never[];
|
|
196
|
+
};
|
|
197
|
+
blockViewPagerVertical: {
|
|
198
|
+
type: ArrayConstructor;
|
|
199
|
+
default: () => never[];
|
|
200
|
+
};
|
|
201
|
+
}>>, {
|
|
202
|
+
prevLoadNumber: number;
|
|
203
|
+
topBlank: number;
|
|
204
|
+
classNavBar: string;
|
|
205
|
+
classRoot: string;
|
|
206
|
+
tabsDataStrategy: string;
|
|
207
|
+
classContent: string;
|
|
208
|
+
horizontal: boolean;
|
|
209
|
+
pageTransform: boolean;
|
|
210
|
+
hideOnSingleTab: boolean;
|
|
211
|
+
floatNavBar: boolean;
|
|
212
|
+
arrangeType: string;
|
|
213
|
+
decorationCreator: Function;
|
|
214
|
+
contentNextFocus: Record<string, any>;
|
|
215
|
+
headBlank: number;
|
|
216
|
+
nodeGap: number;
|
|
217
|
+
enableLoadMore: boolean;
|
|
218
|
+
triggerTask: unknown[];
|
|
219
|
+
blockViewPager: unknown[];
|
|
220
|
+
blockViewPagerVertical: unknown[];
|
|
221
|
+
}, {}>;
|
|
222
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
2
|
+
import { QTWaterfall } from "./QTWaterfall";
|
|
3
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
4
|
+
export interface QTIWaterfall {
|
|
5
|
+
init(waterfall: QTWaterfall): any;
|
|
6
|
+
setSectionList(sections: Array<QTWaterfallSection>): void;
|
|
7
|
+
addSectionList(sections: Array<QTWaterfallSection>): void;
|
|
8
|
+
deleteSection(sectionIndex: number, count: number): void;
|
|
9
|
+
updateSection(sectionIndex: number, section: QTWaterfallSection): void;
|
|
10
|
+
addItemList(sectionIndex: number, itemList: Array<QTWaterfallItem>): void;
|
|
11
|
+
deleteItem(sectionIndex: number, itemIndex: number, count: number): void;
|
|
12
|
+
updateItem(sectionIndex: number, itemIndex: number, item: QTWaterfallItem): void;
|
|
13
|
+
clearPostTask(): void;
|
|
14
|
+
pausePostTask(): void;
|
|
15
|
+
resumePostTask(): void;
|
|
16
|
+
destroy(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
2
|
+
import { QTWaterfall } from "./QTWaterfall";
|
|
3
|
+
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
4
|
+
export declare function generateItemList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>): Array<QTWaterfallItem>;
|
|
5
|
+
export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection, sectionIndex: number): QTWaterfallItem;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
2
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
3
|
+
import { QTWaterfallIndex } from "./QTWaterfallIndex";
|
|
4
|
+
export interface QTWaterfallDataManager {
|
|
5
|
+
addSectionList(sections: Array<QTWaterfallSection>): QTWaterfallIndex;
|
|
6
|
+
deleteSection(sectionIndex: number, count: number): QTWaterfallIndex;
|
|
7
|
+
updateSection(sectionIndex: number, section: QTWaterfallSection): QTWaterfallIndex;
|
|
8
|
+
addItemList(sectionIndex: number, itemList: Array<QTWaterfallItem>): QTWaterfallIndex;
|
|
9
|
+
deleteItem(sectionIndex: number, itemIndex: number, count: number): QTWaterfallIndex;
|
|
10
|
+
updateItem(sectionIndex: number, itemIndex: number, item: QTWaterfallItem): QTWaterfallIndex;
|
|
11
|
+
clear(): any;
|
|
12
|
+
}
|
|
13
|
+
export declare function createQTWaterfallDataManager(): QTWaterfallDataManager;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { QTFlexStyleMargin } from "../../core/QTFlexStyleMargin";
|
|
2
|
+
import { QTFlexStylePadding } from "../../core/QTFlexStylePadding";
|
|
3
|
+
import { QTFlexStyleSize } from "../../core/QTFlexStyleSize";
|
|
4
|
+
import { QTFlexStyleSpacing } from "../../core/QTFlexStyleSpacing";
|
|
5
|
+
import { QTFlexStyleDecoration } from "../../core/QTFlexStyleDecoration";
|
|
6
|
+
export type QTWaterfallFlexStyle = QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize & QTFlexStyleSpacing & QTFlexStyleDecoration;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
2
|
+
import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
|
|
3
|
+
export interface QTWaterfallSection {
|
|
4
|
+
type: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
titleStyle?: QTWaterfallFlexStyle;
|
|
7
|
+
itemList: Array<QTWaterfallItem>;
|
|
8
|
+
style: QTWaterfallFlexStyle;
|
|
9
|
+
[prop: string]: any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum QTWaterfallSectionType {
|
|
2
|
+
QT_WATERFALL_SECTION_TYPE_LOADING = -1,
|
|
3
|
+
QT_WATERFALL_SECTION_TYPE_TITLE = 1000,
|
|
4
|
+
QT_WATERFALL_SECTION_TYPE_FLEX = 1002,
|
|
5
|
+
QT_WATERFALL_SECTION_TYPE_LIST = 1003,
|
|
6
|
+
QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM = 1004,
|
|
7
|
+
QT_WATERFALL_SECTION_TYPE_TAB_LIST = 1005
|
|
8
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { QTWaterfall } from "./core/QTWaterfall";
|
|
2
|
+
import { QTWaterfallSection } from "./core/QTWaterfallSection";
|
|
3
|
+
import { ESIListView } from "@extscreen/es3-component";
|
|
4
|
+
import { QTWaterfallItem } from "./core/QTWaterfallItem";
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
enablePlaceholder: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
prevLoadNumber: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
backTop: {
|
|
15
|
+
type: FunctionConstructor;
|
|
16
|
+
default: () => void;
|
|
17
|
+
};
|
|
18
|
+
isLoadMore: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
headBlank: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
waterfallRef: import("vue").Ref<ESIListView | undefined>;
|
|
28
|
+
init: (data: QTWaterfall) => void;
|
|
29
|
+
setSectionList: (sectionList: Array<QTWaterfallSection>) => void;
|
|
30
|
+
addSectionList: (sectionList: Array<QTWaterfallSection>) => void;
|
|
31
|
+
deleteSection: (position: number, count: number) => void;
|
|
32
|
+
updateSection: (sectionIndex: number, section: QTWaterfallSection) => void;
|
|
33
|
+
addItemList: (sectionIndex: number, itemList: Array<QTWaterfallItem>) => void;
|
|
34
|
+
deleteItem: (sectionIndex: number, position: number, count: number) => void;
|
|
35
|
+
updateItem: (sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void;
|
|
36
|
+
cachePool: {
|
|
37
|
+
name: string;
|
|
38
|
+
size: {
|
|
39
|
+
20008: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
flexCachePool: {
|
|
43
|
+
name: string;
|
|
44
|
+
size: {
|
|
45
|
+
1: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
onScroll: (e: any) => void;
|
|
49
|
+
onItemClick: (e: any) => void;
|
|
50
|
+
onItemFocused: (e: any) => void;
|
|
51
|
+
onItemBind: (e: any) => void;
|
|
52
|
+
onItemAttached: (e: any) => void;
|
|
53
|
+
onScrollStateChanged: (e: any) => void;
|
|
54
|
+
resumePostTask: () => void;
|
|
55
|
+
pausePostTask: () => void;
|
|
56
|
+
clearPostTask: () => void;
|
|
57
|
+
destroy: () => void;
|
|
58
|
+
onListSectionItemBind: (index: number, section: QTWaterfallSection) => void;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onItemBind" | "onItemAttached")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onItemBind" | "onItemAttached", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
enablePlaceholder: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
prevLoadNumber: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
68
|
+
backTop: {
|
|
69
|
+
type: FunctionConstructor;
|
|
70
|
+
default: () => void;
|
|
71
|
+
};
|
|
72
|
+
isLoadMore: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
headBlank: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: number;
|
|
79
|
+
};
|
|
80
|
+
}>> & {
|
|
81
|
+
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
|
|
83
|
+
onOnItemClick?: ((...args: any[]) => any) | undefined;
|
|
84
|
+
onOnItemFocused?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
onOnItemBind?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
onOnItemAttached?: ((...args: any[]) => any) | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
enablePlaceholder: boolean;
|
|
89
|
+
prevLoadNumber: number;
|
|
90
|
+
backTop: Function;
|
|
91
|
+
isLoadMore: boolean;
|
|
92
|
+
headBlank: number;
|
|
93
|
+
}, {}>;
|
|
94
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
|
|
2
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
3
|
+
plateTitleLeftMargin: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
type: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: QTWaterfallSectionType;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
12
|
+
plateTitleLeftMargin: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
type: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: QTWaterfallSectionType;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
plateTitleLeftMargin: number;
|
|
22
|
+
type: number;
|
|
23
|
+
}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
|
|
2
|
+
import { QTWaterfallItemType } from "../core/QTWaterfallItemType";
|
|
3
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
4
|
+
enablePlaceholder: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
plateData: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
useDiff: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
cachePool: {
|
|
17
|
+
type: ObjectConstructor;
|
|
18
|
+
default: {};
|
|
19
|
+
};
|
|
20
|
+
sectionType: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: QTWaterfallSectionType;
|
|
23
|
+
};
|
|
24
|
+
standItemType: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: QTWaterfallItemType;
|
|
27
|
+
};
|
|
28
|
+
currentPageIndex: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
}, unknown, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
33
|
+
enablePlaceholder: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
plateData: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
useDiff: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
cachePool: {
|
|
46
|
+
type: ObjectConstructor;
|
|
47
|
+
default: {};
|
|
48
|
+
};
|
|
49
|
+
sectionType: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: QTWaterfallSectionType;
|
|
52
|
+
};
|
|
53
|
+
standItemType: {
|
|
54
|
+
type: NumberConstructor;
|
|
55
|
+
default: QTWaterfallItemType;
|
|
56
|
+
};
|
|
57
|
+
currentPageIndex: {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
}>>, {
|
|
62
|
+
enablePlaceholder: boolean;
|
|
63
|
+
plateData: string;
|
|
64
|
+
useDiff: boolean;
|
|
65
|
+
cachePool: Record<string, any>;
|
|
66
|
+
sectionType: number;
|
|
67
|
+
standItemType: number;
|
|
68
|
+
currentPageIndex: number;
|
|
69
|
+
}, {}>;
|
|
70
|
+
export default _default;
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@quicktvui/quicktvui3",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "ExtScreen framework",
|
|
5
|
+
"author": "ExtScreen Team",
|
|
6
|
+
"homepage": "http://extscreen.com",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"entry": "dist/index.js",
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"module": "dist/index.js",
|
|
11
|
+
"types": "dist/src/index.d.ts",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"native",
|
|
14
|
+
"web",
|
|
15
|
+
"framework",
|
|
16
|
+
"compiler"
|
|
17
|
+
],
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"dependencies": {
|
|
22
|
+
}
|
|
23
|
+
}
|