@quicktvui/quicktvui3 1.1.37-beta.2 → 1.1.37-beta.4
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 +8 -8
- package/dist/src/core/QTFlexStyleSize.d.ts +0 -1
- 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/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 -25
- package/package.json +3 -2
- package/web-types.json +1 -0
- 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
|
@@ -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;
|