@quicktvui/quicktvui3 1.1.35 → 1.1.36-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +20 -1
- package/dist/src/button/index.vue.d.ts +1 -1
- package/dist/src/classified-list-view/index.vue.d.ts +1 -1
- package/dist/src/collapse/index.vue.d.ts +1 -1
- package/dist/src/core/QTFlexStyleSize.d.ts +1 -0
- package/dist/src/grid-view/core/QTIGridView.d.ts +1 -1
- package/dist/src/grid-view/index.vue.d.ts +10 -8
- package/dist/src/image/index.vue.d.ts +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/list-view/core/QTIListView.d.ts +1 -1
- package/dist/src/nav-bar/index.vue.d.ts +1 -1
- package/dist/src/poster/index.vue.d.ts +1 -1
- 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/section/index.vue.d.ts +1 -1
- package/dist/src/series/component/media-series.vue.d.ts +1 -1
- package/dist/src/series/index.vue.d.ts +1 -1
- package/dist/src/series/item/media-series-number-item.vue.d.ts +1 -1
- package/dist/src/series/item/media-series-text-item.vue.d.ts +1 -1
- package/dist/src/tab/QTITab.d.ts +1 -0
- package/dist/src/tab/QTTabDataManager.d.ts +1 -0
- package/dist/src/tab/index.vue.d.ts +3 -2
- package/dist/src/text/index.vue.d.ts +1 -1
- package/dist/src/view/index.vue.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +2 -2
- package/dist/src/waterfall/index.vue.d.ts +26 -1
- package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +1 -1
- package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/flex-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/section-title.vue.d.ts +1 -1
- package/dist/src/waterfall/section/vue-section.vue.d.ts +1 -1
- package/package.json +2 -5
- package/dist/src/classified-list-view/core/QTClassifiedListView.d.ts +0 -10
- package/dist/src/grid-view/core/QTGridView.d.ts +0 -22
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
focused: import("vue").Ref<boolean>;
|
|
67
67
|
onFocus: (e: any) => void;
|
|
68
68
|
onClick: (e: any) => void;
|
|
69
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "click")[], "focus" | "click", import("vue").
|
|
69
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "click")[], "focus" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
70
|
size: {
|
|
71
71
|
type: StringConstructor;
|
|
72
72
|
default: string;
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
onFItemFocused: (e: any) => void;
|
|
48
48
|
updateItem: (position: number, data: QTClassifiedListViewItem) => void;
|
|
49
49
|
viewRef: import("vue").Ref<any>;
|
|
50
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "item-focused")[], "item-click" | "item-focused", import("vue").
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "item-focused")[], "item-click" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
className: {
|
|
52
52
|
type: StringConstructor;
|
|
53
53
|
default: string;
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
22
22
|
collapseWidth: import("vue").Ref<number>;
|
|
23
23
|
collapseHeight: import("vue").Ref<number>;
|
|
24
24
|
viewRef: import("vue").Ref<any>;
|
|
25
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").
|
|
25
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
26
26
|
onOnCollapseItemExpand?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}, {}, {}>;
|
|
28
28
|
export default _default;
|
|
@@ -4,7 +4,7 @@ export interface QTIGridView extends QTIView {
|
|
|
4
4
|
init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
5
5
|
scrollToTop(): void;
|
|
6
6
|
clearFocus(): void;
|
|
7
|
-
stopPage(): void;
|
|
7
|
+
stopPage(isTip?: boolean): void;
|
|
8
8
|
restartPage(): void;
|
|
9
9
|
blockRootFocus(): void;
|
|
10
10
|
unBlockRootFocus(): void;
|
|
@@ -14,6 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
pageSize: {
|
|
16
16
|
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
17
18
|
};
|
|
18
19
|
preloadNo: {
|
|
19
20
|
type: NumberConstructor;
|
|
@@ -40,11 +41,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
41
|
};
|
|
41
42
|
listData: {
|
|
42
43
|
type: ArrayConstructor;
|
|
43
|
-
|
|
44
|
+
required: false;
|
|
44
45
|
};
|
|
45
46
|
}, {
|
|
46
47
|
tv_list: import("vue").Ref<any>;
|
|
47
|
-
apkVersion: import("vue").Ref<number>;
|
|
48
48
|
init: (target: Array<QTGridViewItem>, isInit?: boolean) => Array<QTGridViewItem>;
|
|
49
49
|
onItemClick: (e: any) => void;
|
|
50
50
|
onItemBind: (e: any) => void;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
onItemUnbind: (e: any) => void;
|
|
55
55
|
onScroll: (e: any) => void;
|
|
56
56
|
onScrollStateChanged: (e: any) => void;
|
|
57
|
-
stopPage: () => void;
|
|
57
|
+
stopPage: (isTip?: boolean) => void;
|
|
58
58
|
scrollToTop: () => void;
|
|
59
59
|
clearFocus: () => void;
|
|
60
60
|
blockRootFocus: () => void;
|
|
@@ -66,16 +66,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
scrollToFocused: (pos: number) => void;
|
|
67
67
|
setItemSelected: (pos: number, b: boolean) => void;
|
|
68
68
|
scrollToSelected: (pos: number, b: boolean) => void;
|
|
69
|
-
updateItemProps: (pos: number, name: string, dataObj: object) => void;
|
|
70
69
|
setInitPosition: (pos: number) => void;
|
|
71
70
|
setListData: (dataArr: Array<QTGridViewItem>) => void;
|
|
72
|
-
insertItem: (pos: number, data: Array<QTGridViewItem>) => void;
|
|
73
71
|
clearPostTask: () => void;
|
|
74
72
|
destroy: () => void;
|
|
75
73
|
requestFocus: () => void;
|
|
76
74
|
requestFocusDirectly: () => void;
|
|
77
75
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
78
|
-
|
|
76
|
+
apkVersion: import("vue").Ref<number>;
|
|
77
|
+
updateItemProps: (pos: number, name: string, dataObj: object) => void;
|
|
78
|
+
insertItem: (pos: number, data: Array<QTGridViewItem>) => void;
|
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused")[], "item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
80
|
loadMore: {
|
|
80
81
|
type: FunctionConstructor;
|
|
81
82
|
default: () => number[];
|
|
@@ -90,6 +91,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
91
|
};
|
|
91
92
|
pageSize: {
|
|
92
93
|
type: NumberConstructor;
|
|
94
|
+
default: number;
|
|
93
95
|
};
|
|
94
96
|
preloadNo: {
|
|
95
97
|
type: NumberConstructor;
|
|
@@ -116,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
118
|
};
|
|
117
119
|
listData: {
|
|
118
120
|
type: ArrayConstructor;
|
|
119
|
-
|
|
121
|
+
required: false;
|
|
120
122
|
};
|
|
121
123
|
}>> & {
|
|
122
124
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -129,11 +131,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
131
|
loadMore: Function;
|
|
130
132
|
openPage: boolean;
|
|
131
133
|
spanCount: number;
|
|
134
|
+
pageSize: number;
|
|
132
135
|
preloadNo: number;
|
|
133
136
|
defaultFocus: number;
|
|
134
137
|
areaWidth: number;
|
|
135
138
|
blockFocusDirections: unknown[];
|
|
136
139
|
loadingDecoration: Record<string, any>;
|
|
137
|
-
listData: unknown[];
|
|
138
140
|
}, {}>;
|
|
139
141
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
requestFocusDirectly: () => void;
|
|
6
6
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
7
7
|
viewRef: import("vue").Ref<any>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
9
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { arrangeChildren4ListView } from "./utils/utils";
|
|
2
|
+
export { qtRef, qtWatchAll, qtGetParent } from "./qtListen/index";
|
|
2
3
|
export declare const QuickTVUI: (Vue: any) => void;
|
|
3
4
|
export type { QTIGridView } from './grid-view/core/QTIGridView';
|
|
4
5
|
export type { QTIListView } from './list-view/core/QTIListView';
|
|
@@ -4,7 +4,7 @@ export interface QTIListView extends QTIView {
|
|
|
4
4
|
init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
5
5
|
scrollToTop(): void;
|
|
6
6
|
clearFocus(): void;
|
|
7
|
-
stopPage(): void;
|
|
7
|
+
stopPage(isTip?: boolean): void;
|
|
8
8
|
blockRootFocus(): void;
|
|
9
9
|
unBlockRootFocus(): void;
|
|
10
10
|
setDisplay(value: Boolean): void;
|
|
@@ -60,7 +60,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
scrollToPosition: (index: any) => void;
|
|
61
61
|
scrollToTop: () => void;
|
|
62
62
|
init: (navBar: QTNavBar) => void;
|
|
63
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
64
|
textKey: {
|
|
65
65
|
type: StringConstructor;
|
|
66
66
|
default: string;
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
48
48
|
mainTextShowOnState: string[];
|
|
49
49
|
viewRef: import("vue").Ref<any>;
|
|
50
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
requestFirstFocus: {
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type TrunFn = (target?: any, prop?: any, newValue?: any, type?: any, oldValue?: any, oldTarget?: any) => void;
|
|
2
|
+
export declare class QtReactiveEffect {
|
|
3
|
+
fn: TrunFn;
|
|
4
|
+
scheduler?: TrunFn | undefined;
|
|
5
|
+
active: boolean;
|
|
6
|
+
deeps: Set<any>[];
|
|
7
|
+
constructor(fn: TrunFn, scheduler?: TrunFn | undefined);
|
|
8
|
+
run(): void;
|
|
9
|
+
stop(): void;
|
|
10
|
+
}
|
|
11
|
+
export declare function qtIsTracking(): boolean;
|
|
12
|
+
export declare function qtClearupTrack(target: any): void;
|
|
13
|
+
export declare function qtTrack(target: any, key: any): void;
|
|
14
|
+
export declare function qtTrackEffects(dep: Set<object>): void;
|
|
15
|
+
export declare function qtTrigger(target: any, prop: any, newValue: any, type?: any, oldValue?: any): void;
|
|
16
|
+
export declare function qtTriggerEffects(effects: any, target?: any, prop?: any, newValue?: any, type?: any, oldValue?: any): any;
|
|
17
|
+
export declare function qtEffect(fn: TrunFn): any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare class QtArray extends Array {
|
|
2
|
+
shift(): any;
|
|
3
|
+
unshift(...items: any[]): number;
|
|
4
|
+
push(...items: any[]): number;
|
|
5
|
+
splice(start: number, deleteCount: number, ...items: any[]): any[];
|
|
6
|
+
pop(): any;
|
|
7
|
+
concat(items: any[]): any[];
|
|
8
|
+
}
|
|
9
|
+
export default QtArray;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const enum emReactiveFlags {
|
|
2
|
+
IS_REACTIVE = "__v_isReactive",
|
|
3
|
+
WATCH_ALL = "__ls_watchAll",
|
|
4
|
+
WATCH_RAW = "__v_raw",
|
|
5
|
+
RESET_REF_VALUE = "__ls_reset_ref_value",
|
|
6
|
+
NEW_SET = "__ls_new_set",
|
|
7
|
+
qtPath = "__qt_path",
|
|
8
|
+
qtRoot = "__qt_root",
|
|
9
|
+
qtArrDeth = "__qt_arr_deth"
|
|
10
|
+
}
|
|
11
|
+
export declare const isTrackProp: (target: object, prop: string | symbol) => boolean;
|
|
12
|
+
export declare const qtGetParent: (root: object, paths: any[], layer: number) => Record<any, any> | undefined;
|
|
13
|
+
export declare function qtReactive(data: object, parent?: any, path?: any): any;
|
|
14
|
+
export declare function qtToReactive(value: any, parent?: any, path?: any): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare class QtChangeData {
|
|
2
|
+
start: number;
|
|
3
|
+
end: number;
|
|
4
|
+
deleteCount: number;
|
|
5
|
+
datas: Map<any, any>;
|
|
6
|
+
names: Map<any, Set<any>>;
|
|
7
|
+
dataArr?: any[];
|
|
8
|
+
updateCount: number;
|
|
9
|
+
rootUpdateCount: number;
|
|
10
|
+
deth: number;
|
|
11
|
+
constructor(start: number, end: number, deleteCount?: number);
|
|
12
|
+
resetData(): void;
|
|
13
|
+
}
|
|
14
|
+
export declare const typeEnum: {
|
|
15
|
+
set: string;
|
|
16
|
+
qtSet: string;
|
|
17
|
+
push: string;
|
|
18
|
+
splice: string;
|
|
19
|
+
pop: string;
|
|
20
|
+
concat: string;
|
|
21
|
+
unknownSet: string;
|
|
22
|
+
currentType: string;
|
|
23
|
+
expectCangeNum: string;
|
|
24
|
+
isInit: string;
|
|
25
|
+
shift: string;
|
|
26
|
+
unshift: string;
|
|
27
|
+
newDatas: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const qtFilterChangeMap: (deth: number | undefined, datas: Map<any, any>) => Map<any, any>;
|
|
30
|
+
export declare const qtLongestSequenceSplit: (maps: QtChangeData) => Map<any, QtChangeData>;
|
|
31
|
+
declare class QtType {
|
|
32
|
+
private targetFlags;
|
|
33
|
+
private targetMaps;
|
|
34
|
+
getFlag(target: any): Map<string, any>;
|
|
35
|
+
getTargetType(target: any, type: any): QtChangeData | undefined;
|
|
36
|
+
getType(target: any): Map<any, QtChangeData> | undefined;
|
|
37
|
+
setType(target: any, type: string, datas: QtChangeData): void;
|
|
38
|
+
deleteType(target: any, type?: string): void;
|
|
39
|
+
changeTypeData(target: any, prop: any, value: any): boolean;
|
|
40
|
+
changeOfsetType(target: any, prop: any, value: any, name?: any, deth?: number): void;
|
|
41
|
+
recordNewData(target: any, items: any[]): void;
|
|
42
|
+
checkIsNewData(target: any, data: any): boolean;
|
|
43
|
+
}
|
|
44
|
+
declare const qtType: QtType;
|
|
45
|
+
export default qtType;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { QtChangeData } from './types';
|
|
2
|
+
export interface IQtWatchOptions {
|
|
3
|
+
init: (datas: any[]) => void;
|
|
4
|
+
add: (datas: any[]) => void;
|
|
5
|
+
update: (position: number, dataMaps: QtChangeData, oldTarget: any[]) => void;
|
|
6
|
+
insert: (position: number, datas: any[]) => void;
|
|
7
|
+
delete: (position: number, count: number) => void;
|
|
8
|
+
clear: () => void;
|
|
9
|
+
resetValue?: (datas: any[]) => void;
|
|
10
|
+
[k: string]: any;
|
|
11
|
+
}
|
|
12
|
+
export declare const qtCreateUid: (key: string) => string;
|
|
13
|
+
export declare const qtCloneObj: (target: object, isKey?: boolean) => any;
|
|
14
|
+
export declare function qtWatchAll(target: any, options: IQtWatchOptions): {
|
|
15
|
+
stop(): void;
|
|
16
|
+
} | undefined;
|
|
@@ -6,5 +6,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
6
6
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
7
7
|
onSectionBind: () => void;
|
|
8
8
|
viewRef: import("vue").Ref<any>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
10
10
|
export default _default;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
setup: () => void;
|
|
41
41
|
setGroupSelected: (position: any) => void;
|
|
42
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").
|
|
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
44
|
customItem: {
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
93
|
clearFocus: () => void;
|
|
94
94
|
requestFocusDirectly: () => void;
|
|
95
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").
|
|
96
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load-data" | "item-click" | "item-focused" | "group-item-focused")[], "load-data" | "item-click" | "item-focused" | "group-item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
97
97
|
itemHeight: {
|
|
98
98
|
type: NumberConstructor;
|
|
99
99
|
default: number;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
selectColor: string;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
54
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
55
|
isVip: {
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: NumberConstructor;
|
|
60
60
|
default: number;
|
|
61
61
|
};
|
|
62
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
62
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
63
|
isVip: {
|
|
64
64
|
type: BooleanConstructor;
|
|
65
65
|
default: boolean;
|
package/dist/src/tab/QTITab.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface QTITab extends QTIView {
|
|
|
14
14
|
getCurrentPageIndex(): number;
|
|
15
15
|
setPageData(pageIndex: number, tabPage: QTTabPageData): void;
|
|
16
16
|
addPageData(pageIndex: number, tabPageData: QTTabPageData, deleteCount: number): void;
|
|
17
|
+
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
17
18
|
updatePageData(pageIndex: number, tabPageData: QTTabPageData): void;
|
|
18
19
|
updatePageSection(pageIndex: number, sectionIndex: number, section: QTWaterfallSection): void;
|
|
19
20
|
deletePageSection(pageIndex: number, sectionIndex: number, count: number): void;
|
|
@@ -10,6 +10,7 @@ export interface QTTabDataManager {
|
|
|
10
10
|
setPageDataState(pageIndex: number, page: QTTabPageDataState): void;
|
|
11
11
|
getTabPageDataState(pageIndex: number): QTTabPageDataState | undefined;
|
|
12
12
|
getSectionList(pageIndex: number): Array<QTWaterfallSection>;
|
|
13
|
+
insertSectionList(pageIndex: number, sectionIndex: number, sections: Array<QTWaterfallSection>): QTTabIndex;
|
|
13
14
|
addSectionList(pageIndex: number, sections: Array<QTWaterfallSection>, deleteCount: number): QTTabIndex;
|
|
14
15
|
deleteSection(pageIndex: number, sectionIndex: number, count: number): QTTabIndex;
|
|
15
16
|
updateSectionList(pageIndex: number, sectionList: Array<QTWaterfallSection>): QTTabIndex;
|
|
@@ -221,7 +221,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
221
221
|
onTabPageLoadData: (e: QTTabEvent) => void;
|
|
222
222
|
onTabPageChanged: (e: QTTabEvent) => void;
|
|
223
223
|
onTabEvent: (e: QTTabEvent) => void;
|
|
224
|
-
onWaterfallItemClick: (sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void;
|
|
224
|
+
onWaterfallItemClick: (sectionIndex: number, itemIndex: number, item: QTWaterfallItem, e: any) => void;
|
|
225
225
|
onWaterfallItemFocused: (sectionIndex: number, itemIndex: number, isFocused: boolean, item: QTWaterfallItem) => void;
|
|
226
226
|
onWaterfallSectionBind: (pageIndex: number, sectionIndex: number) => void;
|
|
227
227
|
onWaterfallSectionAttached: (pageIndex: number, sectionIndex: number) => void;
|
|
@@ -234,10 +234,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
234
|
onTabClick: (e: QTTabItem) => void;
|
|
235
235
|
getCurrentPageIndex: () => number;
|
|
236
236
|
getCurrentTabIndex: () => Promise<number>;
|
|
237
|
+
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
237
238
|
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
238
239
|
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
239
240
|
getDataManager(): import("./QTTabDataManager").QTTabDataManager;
|
|
240
|
-
}, 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").
|
|
241
|
+
}, 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<{
|
|
241
242
|
enablePlaceholder: {
|
|
242
243
|
type: BooleanConstructor;
|
|
243
244
|
default: boolean;
|
|
@@ -5,5 +5,5 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
requestFocusDirectly: () => void;
|
|
6
6
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
7
7
|
viewRef: import("vue").Ref<any>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
9
9
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
requestFocusDirectly: () => void;
|
|
6
6
|
setVisibility: (v: import("./QTIViewVisibility").QTIViewVisibility) => void;
|
|
7
7
|
viewRef: import("vue").Ref<any>;
|
|
8
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
9
9
|
onClearFocus?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
}, {}, {}>;
|
|
11
11
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
2
2
|
import { QTWaterfall } from "./QTWaterfall";
|
|
3
3
|
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
4
|
-
export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection
|
|
5
|
-
export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection): 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;
|
|
@@ -34,6 +34,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
type: NumberConstructor;
|
|
35
35
|
default: number;
|
|
36
36
|
};
|
|
37
|
+
listData: {
|
|
38
|
+
type: ArrayConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
pStype: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
default: () => {};
|
|
44
|
+
};
|
|
37
45
|
qtTabSectionEnable: {
|
|
38
46
|
type: ObjectConstructor;
|
|
39
47
|
default: () => {
|
|
@@ -55,6 +63,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
63
|
vueSectionEnable: boolean;
|
|
56
64
|
};
|
|
57
65
|
};
|
|
66
|
+
tvItemListName: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
58
70
|
}, {
|
|
59
71
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
60
72
|
requestFocus: () => void;
|
|
@@ -106,7 +118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
118
|
onScrollYLesserReference: () => void;
|
|
107
119
|
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
108
120
|
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
109
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").
|
|
121
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
122
|
enablePlaceholder: {
|
|
111
123
|
type: BooleanConstructor;
|
|
112
124
|
default: boolean;
|
|
@@ -135,6 +147,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
135
147
|
type: NumberConstructor;
|
|
136
148
|
default: number;
|
|
137
149
|
};
|
|
150
|
+
listData: {
|
|
151
|
+
type: ArrayConstructor;
|
|
152
|
+
required: false;
|
|
153
|
+
};
|
|
154
|
+
pStype: {
|
|
155
|
+
type: ObjectConstructor;
|
|
156
|
+
default: () => {};
|
|
157
|
+
};
|
|
138
158
|
qtTabSectionEnable: {
|
|
139
159
|
type: ObjectConstructor;
|
|
140
160
|
default: () => {
|
|
@@ -156,6 +176,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
156
176
|
vueSectionEnable: boolean;
|
|
157
177
|
};
|
|
158
178
|
};
|
|
179
|
+
tvItemListName: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
required: false;
|
|
182
|
+
};
|
|
159
183
|
}>> & {
|
|
160
184
|
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
161
185
|
onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -176,6 +200,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
200
|
customItemPool: Record<string, any>;
|
|
177
201
|
scrollYLesserReferenceValue: number;
|
|
178
202
|
scrollYGreaterReferenceValue: number;
|
|
203
|
+
pStype: Record<string, any>;
|
|
179
204
|
qtTabSectionEnable: Record<string, any>;
|
|
180
205
|
}, {}>;
|
|
181
206
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<{}, {
|
|
2
2
|
onFocus: (e: any) => void;
|
|
3
|
-
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").
|
|
3
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
4
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
6
6
|
requestFocusDirectly: () => void;
|
|
7
7
|
setVisibility: (v: import("../..").QTIViewVisibility) => void;
|
|
8
8
|
viewRef: import("vue").Ref<any>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
10
10
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export default _default;
|
|
@@ -1,2 +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").
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("@vue/runtime-core").DefineComponent<{}, {
|
|
2
2
|
onFocus: (e: any) => void;
|
|
3
|
-
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").
|
|
3
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
4
|
export default _default;
|
|
@@ -1,2 +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").
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -43,7 +43,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
43
43
|
};
|
|
44
44
|
}, {
|
|
45
45
|
onFocus: (e: any) => void;
|
|
46
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").
|
|
46
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
47
47
|
enablePlaceholder: {
|
|
48
48
|
type: BooleanConstructor;
|
|
49
49
|
default: boolean;
|
|
@@ -1,2 +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").
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
}, {
|
|
7
7
|
onFocus: (e: any) => void;
|
|
8
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").
|
|
8
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
9
|
pluginKey: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
8
8
|
type: NumberConstructor;
|
|
9
9
|
default: QTWaterfallSectionType;
|
|
10
10
|
};
|
|
11
|
-
}, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").
|
|
11
|
+
}, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
12
12
|
plateTitleLeftMargin: {
|
|
13
13
|
type: NumberConstructor;
|
|
14
14
|
default: number;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
}, {
|
|
7
7
|
onSectionBind: () => void;
|
|
8
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").
|
|
8
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
9
|
blockFocusDirections: {
|
|
10
10
|
type: ArrayConstructor;
|
|
11
11
|
default: () => string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quicktvui/quicktvui3",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.36-beta.2",
|
|
4
4
|
"description": "ExtScreen framework",
|
|
5
5
|
"author": "ExtScreen Team",
|
|
6
6
|
"homepage": "http://extscreen.com",
|
|
@@ -17,8 +17,5 @@
|
|
|
17
17
|
],
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
20
|
-
]
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@quicktvui/quicktvui3": "file:quicktvui-quicktvui3-1.1.33-beta.14.tgz"
|
|
23
|
-
}
|
|
20
|
+
]
|
|
24
21
|
}
|