@quicktvui/quicktvui3 1.1.23 → 1.1.24-beta
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/grid-view/index.vue.d.ts +6 -7
- package/dist/src/image/index.vue.d.ts +1 -1
- package/dist/src/index.d.ts +1 -0
- 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 +7 -0
- package/dist/src/qtListen/qtDiff.d.ts +2 -0
- package/dist/src/qtListen/reactive.d.ts +13 -0
- package/dist/src/qtListen/ref.d.ts +5 -0
- package/dist/src/qtListen/types.d.ts +37 -0
- package/dist/src/qtListen/watch.d.ts +15 -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/index.vue.d.ts +1 -1
- package/dist/src/text/index.vue.d.ts +1 -1
- package/dist/src/view/index.vue.d.ts +1 -1
- package/dist/src/waterfall/index.vue.d.ts +23 -1
- package/dist/src/waterfall/item/card-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/section-title.vue.d.ts +1 -1
- package/dist/src/waterfall/section/vue-section.vue.d.ts +1 -1
- package/package.json +1 -1
- 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;
|
|
@@ -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;
|
|
@@ -66,16 +66,14 @@ 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
|
-
}, 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").
|
|
76
|
+
}, 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
77
|
loadMore: {
|
|
80
78
|
type: FunctionConstructor;
|
|
81
79
|
default: () => number[];
|
|
@@ -90,6 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
88
|
};
|
|
91
89
|
pageSize: {
|
|
92
90
|
type: NumberConstructor;
|
|
91
|
+
default: number;
|
|
93
92
|
};
|
|
94
93
|
preloadNo: {
|
|
95
94
|
type: NumberConstructor;
|
|
@@ -116,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
115
|
};
|
|
117
116
|
listData: {
|
|
118
117
|
type: ArrayConstructor;
|
|
119
|
-
|
|
118
|
+
required: false;
|
|
120
119
|
};
|
|
121
120
|
}>> & {
|
|
122
121
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -129,11 +128,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
128
|
loadMore: Function;
|
|
130
129
|
openPage: boolean;
|
|
131
130
|
spanCount: number;
|
|
131
|
+
pageSize: number;
|
|
132
132
|
preloadNo: number;
|
|
133
133
|
defaultFocus: number;
|
|
134
134
|
areaWidth: number;
|
|
135
135
|
blockFocusDirections: unknown[];
|
|
136
136
|
loadingDecoration: Record<string, any>;
|
|
137
|
-
listData: unknown[];
|
|
138
137
|
}, {}>;
|
|
139
138
|
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';
|
|
@@ -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;
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
24
24
|
mainTextShowOnState: string[];
|
|
25
25
|
viewRef: import("vue").Ref<any>;
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
27
|
requestFirstFocus: {
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
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,13 @@
|
|
|
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
|
+
}
|
|
10
|
+
export declare const isTrackProp: (target: object, prop: string | symbol) => boolean;
|
|
11
|
+
export declare const qtGetParent: (root: object, paths: any[], layer: number) => Record<any, any> | undefined;
|
|
12
|
+
export declare function qtReactive(data: object, parent?: any, path?: any): any;
|
|
13
|
+
export declare function qtToReactive(value: any, parent?: any, path?: any): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
constructor(start: number, end: number, deleteCount?: number);
|
|
10
|
+
resetData(): void;
|
|
11
|
+
}
|
|
12
|
+
export declare const typeEnum: {
|
|
13
|
+
set: string;
|
|
14
|
+
qtSet: string;
|
|
15
|
+
push: string;
|
|
16
|
+
splice: string;
|
|
17
|
+
pop: string;
|
|
18
|
+
concat: string;
|
|
19
|
+
unknownSet: string;
|
|
20
|
+
currentType: string;
|
|
21
|
+
expectCangeNum: string;
|
|
22
|
+
isInit: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const qtLongestSequenceSplit: (maps: QtChangeData) => Map<any, QtChangeData>;
|
|
25
|
+
declare class QtType {
|
|
26
|
+
private targetFlags;
|
|
27
|
+
private targetMaps;
|
|
28
|
+
getFlag(target: any): Map<string, any>;
|
|
29
|
+
getTargetType(target: any, type: any): QtChangeData | undefined;
|
|
30
|
+
getType(target: any): Map<any, QtChangeData> | undefined;
|
|
31
|
+
setType(target: any, type: string, datas: QtChangeData): void;
|
|
32
|
+
deleteType(target: any, type?: string): void;
|
|
33
|
+
changeTypeData(target: any, prop: any, value: any): boolean;
|
|
34
|
+
changeOfsetType(target: any, prop: any, value: any, name?: any): void;
|
|
35
|
+
}
|
|
36
|
+
declare const qtType: QtType;
|
|
37
|
+
export default qtType;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface IQtWatchOptions {
|
|
2
|
+
init: (datas: any[]) => void;
|
|
3
|
+
add: (datas: any[]) => void;
|
|
4
|
+
update: (position: number, datas: Map<any, any>, names?: Map<any, Set<any>>) => void;
|
|
5
|
+
insert: (position: number, datas: Map<any, any>) => void;
|
|
6
|
+
delete: (position: number, count: number) => void;
|
|
7
|
+
clear: () => void;
|
|
8
|
+
resetValue?: (datas: any[]) => void;
|
|
9
|
+
[k: string]: any;
|
|
10
|
+
}
|
|
11
|
+
export declare const qtCreateUid: (key: string) => string;
|
|
12
|
+
export declare const qtCloneObj: (target: object) => any;
|
|
13
|
+
export declare function qtWatchAll(target: any, options: IQtWatchOptions): {
|
|
14
|
+
stop(): void;
|
|
15
|
+
} | 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;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
clearFocus: () => void;
|
|
38
38
|
requestFocusDirectly: () => void;
|
|
39
39
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
40
|
-
}, 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").
|
|
40
|
+
}, 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<{
|
|
41
41
|
itemHeight: {
|
|
42
42
|
type: NumberConstructor;
|
|
43
43
|
default: number;
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
isVip: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
@@ -3,7 +3,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
6
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
7
|
isVip: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
@@ -212,7 +212,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
212
|
onTabClick: (e: QTTabItem) => void;
|
|
213
213
|
getCurrentPageIndex: () => number;
|
|
214
214
|
getCurrentTabIndex: () => Promise<number>;
|
|
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").
|
|
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<{
|
|
216
216
|
enablePlaceholder: {
|
|
217
217
|
type: BooleanConstructor;
|
|
218
218
|
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;
|
|
@@ -25,6 +25,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
type: ObjectConstructor;
|
|
26
26
|
default: () => void;
|
|
27
27
|
};
|
|
28
|
+
scrollYLesserReferenceValue: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
scrollYGreaterReferenceValue: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
28
36
|
}, {
|
|
29
37
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
30
38
|
requestFocus: () => void;
|
|
@@ -72,7 +80,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
80
|
destroy: () => void;
|
|
73
81
|
scrollToTop: () => void;
|
|
74
82
|
setListData: (data: any) => void;
|
|
75
|
-
|
|
83
|
+
onScrollYGreaterReference: () => void;
|
|
84
|
+
onScrollYLesserReference: () => void;
|
|
85
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
86
|
enablePlaceholder: {
|
|
77
87
|
type: BooleanConstructor;
|
|
78
88
|
default: boolean;
|
|
@@ -93,6 +103,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
103
|
type: ObjectConstructor;
|
|
94
104
|
default: () => void;
|
|
95
105
|
};
|
|
106
|
+
scrollYLesserReferenceValue: {
|
|
107
|
+
type: NumberConstructor;
|
|
108
|
+
default: number;
|
|
109
|
+
};
|
|
110
|
+
scrollYGreaterReferenceValue: {
|
|
111
|
+
type: NumberConstructor;
|
|
112
|
+
default: number;
|
|
113
|
+
};
|
|
96
114
|
}>> & {
|
|
97
115
|
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
98
116
|
onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -101,11 +119,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
119
|
onOnSectionBind?: ((...args: any[]) => any) | undefined;
|
|
102
120
|
onOnSectionAttached?: ((...args: any[]) => any) | undefined;
|
|
103
121
|
onOnSectionDetached?: ((...args: any[]) => any) | undefined;
|
|
122
|
+
onOnScrollYGreaterReference?: ((...args: any[]) => any) | undefined;
|
|
123
|
+
onOnScrollYLesserReference?: ((...args: any[]) => any) | undefined;
|
|
104
124
|
}, {
|
|
105
125
|
enablePlaceholder: boolean;
|
|
106
126
|
blockFocusDirections: unknown[];
|
|
107
127
|
vueSectionBlockFocusDirections: unknown[];
|
|
108
128
|
customPool: Record<string, any>;
|
|
109
129
|
customItemPool: Record<string, any>;
|
|
130
|
+
scrollYLesserReferenceValue: number;
|
|
131
|
+
scrollYGreaterReferenceValue: number;
|
|
110
132
|
}, {}>;
|
|
111
133
|
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;
|
|
@@ -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;
|
|
@@ -35,7 +35,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
}, {
|
|
37
37
|
onFocus: (e: any) => void;
|
|
38
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").
|
|
38
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
39
39
|
enablePlaceholder: {
|
|
40
40
|
type: BooleanConstructor;
|
|
41
41
|
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;
|
|
@@ -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,10 +0,0 @@
|
|
|
1
|
-
import { QTClassifiedListViewItem } from "./QTClassifiedListViewItem";
|
|
2
|
-
export interface QTClassifiedListView {
|
|
3
|
-
init(itemList: Array<QTClassifiedListViewItem>): void;
|
|
4
|
-
scrollToIndex(index: number, anim: Boolean, offset: number): void;
|
|
5
|
-
setItemFocused(index: number): void;
|
|
6
|
-
scrollToFocused(index: number): void;
|
|
7
|
-
setItemSelected(index: number, b: boolean): void;
|
|
8
|
-
scrollToSelected(index: number, b: boolean): void;
|
|
9
|
-
updateItem(position: number, data: QTClassifiedListViewItem): void;
|
|
10
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { QTGridViewItem } from "./QTGridViewItem";
|
|
2
|
-
import { ESIView } from "@extscreen/es3-component";
|
|
3
|
-
export interface QTGridView extends ESIView {
|
|
4
|
-
init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
5
|
-
scrollToTop(): void;
|
|
6
|
-
clearFocus(): void;
|
|
7
|
-
stopPage(): void;
|
|
8
|
-
restartPage(): void;
|
|
9
|
-
blockRootFocus(): void;
|
|
10
|
-
unBlockRootFocus(): void;
|
|
11
|
-
setDisplay(value: Boolean): void;
|
|
12
|
-
scrollToPosition(index: number): void;
|
|
13
|
-
scrollToIndex(y: number, anim: Boolean, offset: number): void;
|
|
14
|
-
setItemFocused(pos: number): void;
|
|
15
|
-
scrollToFocused(pos: number): void;
|
|
16
|
-
setItemSelected(pos: number, b: boolean): void;
|
|
17
|
-
scrollToSelected(pos: number, b: boolean): void;
|
|
18
|
-
setInitPosition(position: number): void;
|
|
19
|
-
setListData(itemList: Array<QTGridViewItem>): void;
|
|
20
|
-
clearPostTask(): void;
|
|
21
|
-
destroy(): void;
|
|
22
|
-
}
|