@quicktvui/quicktvui3 1.1.24-beta.9 → 1.1.25-beta.15
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 +6 -5
- package/dist/index.js +5 -5
- package/dist/src/grid-view/core/QTIGridView.d.ts +1 -1
- package/dist/src/grid-view/index.vue.d.ts +3 -0
- package/dist/src/list-view/core/QTIListView.d.ts +1 -1
- package/dist/src/poster/core/QTPoster.d.ts +2 -0
- package/dist/src/poster/core/QTPosterCorner.d.ts +1 -0
- package/dist/src/poster/core/QTPosterPlaceholderImg.d.ts +4 -0
- package/dist/src/qtListen/index.d.ts +1 -1
- package/dist/src/qtListen/qtArray.d.ts +2 -0
- package/dist/src/qtListen/reactive.d.ts +2 -1
- package/dist/src/qtListen/types.d.ts +9 -1
- package/dist/src/qtListen/watch.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +2 -2
- package/dist/src/waterfall/index.vue.d.ts +17 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -73,6 +73,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
requestFocus: () => void;
|
|
74
74
|
requestFocusDirectly: () => void;
|
|
75
75
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
76
|
+
apkVersion: import("vue").Ref<number>;
|
|
77
|
+
updateItemProps: (pos: number, name: string, dataObj: object) => void;
|
|
78
|
+
insertItem: (pos: number, data: Array<QTGridViewItem>) => void;
|
|
76
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<{
|
|
77
80
|
loadMore: {
|
|
78
81
|
type: FunctionConstructor;
|
|
@@ -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;
|
|
@@ -10,6 +10,7 @@ import { QTFlexStylePadding } from "../../core/QTFlexStylePadding";
|
|
|
10
10
|
import { QTFlexStyleSize } from "../../core/QTFlexStyleSize";
|
|
11
11
|
import { QTPosterScore } from "./QTPosterScore";
|
|
12
12
|
import { QTFocusable } from "../../core/QTFocusable";
|
|
13
|
+
import { QTPosterPlaceholderImg } from "./QTPosterPlaceholderImg";
|
|
13
14
|
export interface QTPoster extends QTWaterfallItem {
|
|
14
15
|
focus?: QTFocusable;
|
|
15
16
|
image?: QTPosterImage;
|
|
@@ -24,5 +25,6 @@ export interface QTPoster extends QTWaterfallItem {
|
|
|
24
25
|
score?: QTPosterScore;
|
|
25
26
|
titleStyle?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize;
|
|
26
27
|
titleFocusStyle?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize;
|
|
28
|
+
placeholderImg?: QTPosterPlaceholderImg;
|
|
27
29
|
[prop: string]: any;
|
|
28
30
|
}
|
|
@@ -2,4 +2,4 @@ export { qtEffect } from "./effect";
|
|
|
2
2
|
export { qtGetParent } from "./reactive";
|
|
3
3
|
export { qtRef } from "./ref";
|
|
4
4
|
export { qtWatchAll } from './watch';
|
|
5
|
-
export { qtLongestSequenceSplit } from './types';
|
|
5
|
+
export { qtLongestSequenceSplit, qtFilterChangeMap } from './types';
|
|
@@ -5,7 +5,8 @@ export declare const enum emReactiveFlags {
|
|
|
5
5
|
RESET_REF_VALUE = "__ls_reset_ref_value",
|
|
6
6
|
NEW_SET = "__ls_new_set",
|
|
7
7
|
qtPath = "__qt_path",
|
|
8
|
-
qtRoot = "__qt_root"
|
|
8
|
+
qtRoot = "__qt_root",
|
|
9
|
+
qtArrDeth = "__qt_arr_deth"
|
|
9
10
|
}
|
|
10
11
|
export declare const isTrackProp: (target: object, prop: string | symbol) => boolean;
|
|
11
12
|
export declare const qtGetParent: (root: object, paths: any[], layer: number) => Record<any, any> | undefined;
|
|
@@ -6,6 +6,8 @@ export declare class QtChangeData {
|
|
|
6
6
|
names: Map<any, Set<any>>;
|
|
7
7
|
dataArr?: any[];
|
|
8
8
|
updateCount: number;
|
|
9
|
+
rootUpdateCount: number;
|
|
10
|
+
deth: number;
|
|
9
11
|
constructor(start: number, end: number, deleteCount?: number);
|
|
10
12
|
resetData(): void;
|
|
11
13
|
}
|
|
@@ -20,7 +22,11 @@ export declare const typeEnum: {
|
|
|
20
22
|
currentType: string;
|
|
21
23
|
expectCangeNum: string;
|
|
22
24
|
isInit: string;
|
|
25
|
+
shift: string;
|
|
26
|
+
unshift: string;
|
|
27
|
+
newDatas: string;
|
|
23
28
|
};
|
|
29
|
+
export declare const qtFilterChangeMap: (deth: number | undefined, datas: Map<any, any>) => Map<any, any>;
|
|
24
30
|
export declare const qtLongestSequenceSplit: (maps: QtChangeData) => Map<any, QtChangeData>;
|
|
25
31
|
declare class QtType {
|
|
26
32
|
private targetFlags;
|
|
@@ -31,7 +37,9 @@ declare class QtType {
|
|
|
31
37
|
setType(target: any, type: string, datas: QtChangeData): void;
|
|
32
38
|
deleteType(target: any, type?: string): void;
|
|
33
39
|
changeTypeData(target: any, prop: any, value: any): boolean;
|
|
34
|
-
changeOfsetType(target: any, prop: any, value: any, name?: any): void;
|
|
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;
|
|
35
43
|
}
|
|
36
44
|
declare const qtType: QtType;
|
|
37
45
|
export default qtType;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { QtChangeData } from './types';
|
|
1
2
|
export interface IQtWatchOptions {
|
|
2
3
|
init: (datas: any[]) => void;
|
|
3
4
|
add: (datas: any[]) => void;
|
|
4
|
-
update: (position: number,
|
|
5
|
-
insert: (position: number, datas:
|
|
5
|
+
update: (position: number, dataMaps: QtChangeData, oldTarget: any[]) => void;
|
|
6
|
+
insert: (position: number, datas: any[]) => void;
|
|
6
7
|
delete: (position: number, count: number) => void;
|
|
7
8
|
clear: () => void;
|
|
8
9
|
resetValue?: (datas: any[]) => void;
|
|
9
|
-
isNoAsync?: boolean;
|
|
10
10
|
[k: string]: any;
|
|
11
11
|
}
|
|
12
12
|
export declare const qtCreateUid: (key: string) => string;
|
|
@@ -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;
|
|
@@ -33,6 +33,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
33
|
type: NumberConstructor;
|
|
34
34
|
default: number;
|
|
35
35
|
};
|
|
36
|
+
listData: {
|
|
37
|
+
type: ArrayConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
pStype: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
default: () => {};
|
|
43
|
+
};
|
|
36
44
|
}, {
|
|
37
45
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
38
46
|
requestFocus: () => void;
|
|
@@ -111,6 +119,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
119
|
type: NumberConstructor;
|
|
112
120
|
default: number;
|
|
113
121
|
};
|
|
122
|
+
listData: {
|
|
123
|
+
type: ArrayConstructor;
|
|
124
|
+
required: false;
|
|
125
|
+
};
|
|
126
|
+
pStype: {
|
|
127
|
+
type: ObjectConstructor;
|
|
128
|
+
default: () => {};
|
|
129
|
+
};
|
|
114
130
|
}>> & {
|
|
115
131
|
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
116
132
|
onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -129,5 +145,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
145
|
customItemPool: Record<string, any>;
|
|
130
146
|
scrollYLesserReferenceValue: number;
|
|
131
147
|
scrollYGreaterReferenceValue: number;
|
|
148
|
+
pStype: Record<string, any>;
|
|
132
149
|
}, {}>;
|
|
133
150
|
export default _default;
|