@quicktvui/quicktvui3 1.1.32-beta.2 → 1.1.32
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 +2 -2
- 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 +7 -9
- package/dist/src/index.d.ts +0 -1
- package/dist/src/list-view/core/QTIListView.d.ts +1 -1
- package/dist/src/series/index.vue.d.ts +0 -17
- package/dist/src/series/item/media-series-number-item.vue.d.ts +0 -17
- package/dist/src/series/item/media-series-text-item.vue.d.ts +0 -17
- package/dist/src/tab/QTITab.d.ts +0 -1
- package/dist/src/tab/QTTabDataManager.d.ts +0 -1
- package/dist/src/tab/index.vue.d.ts +1 -2
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +2 -2
- package/dist/src/waterfall/index.vue.d.ts +0 -17
- package/package.json +2 -5
- package/dist/src/qtListen/effect.d.ts +0 -17
- package/dist/src/qtListen/index.d.ts +0 -5
- package/dist/src/qtListen/qtArray.d.ts +0 -9
- package/dist/src/qtListen/qtDiff.d.ts +0 -2
- package/dist/src/qtListen/reactive.d.ts +0 -14
- package/dist/src/qtListen/ref.d.ts +0 -5
- package/dist/src/qtListen/types.d.ts +0 -45
- package/dist/src/qtListen/watch.d.ts +0 -16
|
@@ -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(
|
|
7
|
+
stopPage(): void;
|
|
8
8
|
restartPage(): void;
|
|
9
9
|
blockRootFocus(): void;
|
|
10
10
|
unBlockRootFocus(): void;
|
|
@@ -14,7 +14,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
pageSize: {
|
|
16
16
|
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
17
|
};
|
|
19
18
|
preloadNo: {
|
|
20
19
|
type: NumberConstructor;
|
|
@@ -41,10 +40,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
40
|
};
|
|
42
41
|
listData: {
|
|
43
42
|
type: ArrayConstructor;
|
|
44
|
-
|
|
43
|
+
default: () => never[];
|
|
45
44
|
};
|
|
46
45
|
}, {
|
|
47
46
|
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: (
|
|
57
|
+
stopPage: () => void;
|
|
58
58
|
scrollToTop: () => void;
|
|
59
59
|
clearFocus: () => void;
|
|
60
60
|
blockRootFocus: () => void;
|
|
@@ -66,16 +66,15 @@ 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;
|
|
69
70
|
setInitPosition: (pos: number) => void;
|
|
70
71
|
setListData: (dataArr: Array<QTGridViewItem>) => void;
|
|
72
|
+
insertItem: (pos: number, data: Array<QTGridViewItem>) => void;
|
|
71
73
|
clearPostTask: () => void;
|
|
72
74
|
destroy: () => void;
|
|
73
75
|
requestFocus: () => void;
|
|
74
76
|
requestFocusDirectly: () => void;
|
|
75
77
|
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;
|
|
79
78
|
}, 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<{
|
|
80
79
|
loadMore: {
|
|
81
80
|
type: FunctionConstructor;
|
|
@@ -91,7 +90,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
90
|
};
|
|
92
91
|
pageSize: {
|
|
93
92
|
type: NumberConstructor;
|
|
94
|
-
default: number;
|
|
95
93
|
};
|
|
96
94
|
preloadNo: {
|
|
97
95
|
type: NumberConstructor;
|
|
@@ -118,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
116
|
};
|
|
119
117
|
listData: {
|
|
120
118
|
type: ArrayConstructor;
|
|
121
|
-
|
|
119
|
+
default: () => never[];
|
|
122
120
|
};
|
|
123
121
|
}>> & {
|
|
124
122
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -131,11 +129,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
129
|
loadMore: Function;
|
|
132
130
|
openPage: boolean;
|
|
133
131
|
spanCount: number;
|
|
134
|
-
pageSize: number;
|
|
135
132
|
preloadNo: number;
|
|
136
133
|
defaultFocus: number;
|
|
137
134
|
areaWidth: number;
|
|
138
135
|
blockFocusDirections: unknown[];
|
|
139
136
|
loadingDecoration: Record<string, any>;
|
|
137
|
+
listData: unknown[];
|
|
140
138
|
}, {}>;
|
|
141
139
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { arrangeChildren4ListView } from "./utils/utils";
|
|
2
|
-
export { qtRef, qtWatchAll, qtGetParent } from "./qtListen/index";
|
|
3
2
|
export declare const QuickTVUI: (Vue: any) => void;
|
|
4
3
|
export type { QTIGridView } from './grid-view/core/QTIGridView';
|
|
5
4
|
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(
|
|
7
|
+
stopPage(): void;
|
|
8
8
|
blockRootFocus(): void;
|
|
9
9
|
unBlockRootFocus(): void;
|
|
10
10
|
setDisplay(value: Boolean): void;
|
|
@@ -17,14 +17,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
cornerRadius: number;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
gradientFocusBackground: {
|
|
21
|
-
type: ObjectConstructor;
|
|
22
|
-
default: () => {
|
|
23
|
-
colors: string[];
|
|
24
|
-
orientation: number;
|
|
25
|
-
cornerRadius: number;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
20
|
iconGradientBackground: {
|
|
29
21
|
type: ObjectConstructor;
|
|
30
22
|
default: () => {
|
|
@@ -98,14 +90,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
98
90
|
cornerRadius: number;
|
|
99
91
|
};
|
|
100
92
|
};
|
|
101
|
-
gradientFocusBackground: {
|
|
102
|
-
type: ObjectConstructor;
|
|
103
|
-
default: () => {
|
|
104
|
-
colors: string[];
|
|
105
|
-
orientation: number;
|
|
106
|
-
cornerRadius: number;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
93
|
iconGradientBackground: {
|
|
110
94
|
type: ObjectConstructor;
|
|
111
95
|
default: () => {
|
|
@@ -146,7 +130,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
130
|
}, {
|
|
147
131
|
itemHeight: number;
|
|
148
132
|
gradientBackground: Record<string, any>;
|
|
149
|
-
gradientFocusBackground: Record<string, any>;
|
|
150
133
|
iconGradientBackground: Record<string, any>;
|
|
151
134
|
markColor: string;
|
|
152
135
|
markVipColor: string;
|
|
@@ -11,14 +11,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
cornerRadius: number;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
gradientFocusBackground: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
default: () => {
|
|
17
|
-
colors: string[];
|
|
18
|
-
orientation: number;
|
|
19
|
-
cornerRadius: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
14
|
iconGradientBackground: {
|
|
23
15
|
type: ObjectConstructor;
|
|
24
16
|
default: () => {
|
|
@@ -64,14 +56,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
56
|
cornerRadius: number;
|
|
65
57
|
};
|
|
66
58
|
};
|
|
67
|
-
gradientFocusBackground: {
|
|
68
|
-
type: ObjectConstructor;
|
|
69
|
-
default: () => {
|
|
70
|
-
colors: string[];
|
|
71
|
-
orientation: number;
|
|
72
|
-
cornerRadius: number;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
59
|
iconGradientBackground: {
|
|
76
60
|
type: ObjectConstructor;
|
|
77
61
|
default: () => {
|
|
@@ -107,7 +91,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
91
|
}>>, {
|
|
108
92
|
isVip: boolean;
|
|
109
93
|
gradientBackground: Record<string, any>;
|
|
110
|
-
gradientFocusBackground: Record<string, any>;
|
|
111
94
|
iconGradientBackground: Record<string, any>;
|
|
112
95
|
markColor: string;
|
|
113
96
|
markVipColor: string;
|
|
@@ -11,14 +11,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
cornerRadius: number;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
gradientFocusBackground: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
default: () => {
|
|
17
|
-
colors: string[];
|
|
18
|
-
orientation: number;
|
|
19
|
-
cornerRadius: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
14
|
iconGradientBackground: {
|
|
23
15
|
type: ObjectConstructor;
|
|
24
16
|
default: () => {
|
|
@@ -64,14 +56,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
56
|
cornerRadius: number;
|
|
65
57
|
};
|
|
66
58
|
};
|
|
67
|
-
gradientFocusBackground: {
|
|
68
|
-
type: ObjectConstructor;
|
|
69
|
-
default: () => {
|
|
70
|
-
colors: string[];
|
|
71
|
-
orientation: number;
|
|
72
|
-
cornerRadius: number;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
59
|
iconGradientBackground: {
|
|
76
60
|
type: ObjectConstructor;
|
|
77
61
|
default: () => {
|
|
@@ -107,7 +91,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
91
|
}>>, {
|
|
108
92
|
isVip: boolean;
|
|
109
93
|
gradientBackground: Record<string, any>;
|
|
110
|
-
gradientFocusBackground: Record<string, any>;
|
|
111
94
|
iconGradientBackground: Record<string, any>;
|
|
112
95
|
markColor: string;
|
|
113
96
|
markVipColor: string;
|
package/dist/src/tab/QTITab.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export interface QTITab extends QTIView {
|
|
|
13
13
|
getCurrentPageIndex(): number;
|
|
14
14
|
setPageData(pageIndex: number, tabPage: QTTabPageData): void;
|
|
15
15
|
addPageData(pageIndex: number, tabPageData: QTTabPageData, deleteCount: number): void;
|
|
16
|
-
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
17
16
|
updatePageData(pageIndex: number, tabPageData: QTTabPageData): void;
|
|
18
17
|
updatePageSection(pageIndex: number, sectionIndex: number, section: QTWaterfallSection): void;
|
|
19
18
|
deletePageSection(pageIndex: number, sectionIndex: number, count: number): void;
|
|
@@ -11,7 +11,6 @@ export interface QTTabDataManager {
|
|
|
11
11
|
getTabPageDataState(pageIndex: number): QTTabPageDataState | undefined;
|
|
12
12
|
getSectionList(pageIndex: number): Array<QTWaterfallSection>;
|
|
13
13
|
addSectionList(pageIndex: number, sections: Array<QTWaterfallSection>): QTTabIndex;
|
|
14
|
-
insertSectionList(pageIndex: number, sectionIndex: number, sections: Array<QTWaterfallSection>): QTTabIndex;
|
|
15
14
|
deleteSection(pageIndex: number, sectionIndex: number, count: number): QTTabIndex;
|
|
16
15
|
updateSectionList(pageIndex: number, sectionList: Array<QTWaterfallSection>): QTTabIndex;
|
|
17
16
|
updateSection(pageIndex: number, sectionIndex: number, section: QTWaterfallSection): QTTabIndex;
|
|
@@ -199,7 +199,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
199
|
onTabPageLoadData: (e: QTTabEvent) => void;
|
|
200
200
|
onTabPageChanged: (e: QTTabEvent) => void;
|
|
201
201
|
onTabEvent: (e: QTTabEvent) => void;
|
|
202
|
-
onWaterfallItemClick: (sectionIndex: number, itemIndex: number, item: QTWaterfallItem
|
|
202
|
+
onWaterfallItemClick: (sectionIndex: number, itemIndex: number, item: QTWaterfallItem) => void;
|
|
203
203
|
onWaterfallItemFocused: (sectionIndex: number, itemIndex: number, isFocused: boolean, item: QTWaterfallItem) => void;
|
|
204
204
|
onWaterfallSectionBind: (pageIndex: number, sectionIndex: number) => void;
|
|
205
205
|
onWaterfallSectionAttached: (pageIndex: number, sectionIndex: number) => void;
|
|
@@ -212,7 +212,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
212
|
onTabClick: (e: QTTabItem) => void;
|
|
213
213
|
getCurrentPageIndex: () => number;
|
|
214
214
|
getCurrentTabIndex: () => Promise<number>;
|
|
215
|
-
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
216
215
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick")[], "onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
217
216
|
enablePlaceholder: {
|
|
218
217
|
type: BooleanConstructor;
|
|
@@ -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
|
|
4
|
+
export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>): Array<QTWaterfallItem>;
|
|
5
|
+
export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection): QTWaterfallSection;
|
|
@@ -33,14 +33,6 @@ 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
|
-
};
|
|
44
36
|
}, {
|
|
45
37
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
46
38
|
requestFocus: () => void;
|
|
@@ -119,14 +111,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
119
111
|
type: NumberConstructor;
|
|
120
112
|
default: number;
|
|
121
113
|
};
|
|
122
|
-
listData: {
|
|
123
|
-
type: ArrayConstructor;
|
|
124
|
-
required: false;
|
|
125
|
-
};
|
|
126
|
-
pStype: {
|
|
127
|
-
type: ObjectConstructor;
|
|
128
|
-
default: () => {};
|
|
129
|
-
};
|
|
130
114
|
}>> & {
|
|
131
115
|
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
132
116
|
onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -145,6 +129,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
129
|
customItemPool: Record<string, any>;
|
|
146
130
|
scrollYLesserReferenceValue: number;
|
|
147
131
|
scrollYGreaterReferenceValue: number;
|
|
148
|
-
pStype: Record<string, any>;
|
|
149
132
|
}, {}>;
|
|
150
133
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quicktvui/quicktvui3",
|
|
3
|
-
"version": "1.1.32
|
|
3
|
+
"version": "1.1.32",
|
|
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
|
-
"@extscreen/es3-component": "^1.0.20"
|
|
23
|
-
}
|
|
20
|
+
]
|
|
24
21
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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;
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,45 +0,0 @@
|
|
|
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;
|
|
@@ -1,16 +0,0 @@
|
|
|
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;
|