@quicktvui/quicktvui3 1.2.0-beta.13 → 1.2.0-beta.14

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.
Files changed (34) hide show
  1. package/dist/index.js +9 -8
  2. package/dist/src/button/index.vue.d.ts +21 -21
  3. package/dist/src/classified-list-view/index.vue.d.ts +19 -19
  4. package/dist/src/collapse/index.vue.d.ts +15 -15
  5. package/dist/src/grid-view/index.vue.d.ts +31 -31
  6. package/dist/src/image/index.vue.d.ts +11 -11
  7. package/dist/src/nav-bar/index.vue.d.ts +16 -16
  8. package/dist/src/poster/index.vue.d.ts +16 -19
  9. package/dist/src/qt/QtAPI.d.ts +2 -0
  10. package/dist/src/qtListen/index.d.ts +1 -1
  11. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  12. package/dist/src/qtListen/types.d.ts +1 -1
  13. package/dist/src/qtListen/watch.d.ts +6 -5
  14. package/dist/src/section/index.vue.d.ts +11 -11
  15. package/dist/src/series/component/media-series.vue.d.ts +8 -8
  16. package/dist/src/series/index.vue.d.ts +16 -20
  17. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  18. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  19. package/dist/src/tab/index.vue.d.ts +19 -19
  20. package/dist/src/text/index.vue.d.ts +11 -11
  21. package/dist/src/utils/type.d.ts +1 -1
  22. package/dist/src/view/index.vue.d.ts +12 -12
  23. package/dist/src/waterfall/index.vue.d.ts +26 -27
  24. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  25. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  26. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  27. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  28. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  29. package/dist/src/waterfall/section/flex-section.vue.d.ts +6 -9
  30. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  31. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  32. package/dist/src/waterfall/section/section-title.vue.d.ts +4 -4
  33. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  34. package/package.json +5 -1
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  size: {
3
3
  type: StringConstructor;
4
4
  default: string;
@@ -56,12 +56,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
56
56
  iconStyle: ObjectConstructor;
57
57
  focusIconStyle: ObjectConstructor;
58
58
  iconParentStyle: ObjectConstructor;
59
- }>, {
60
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
61
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
62
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
59
+ }, {
60
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
61
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
62
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
63
63
  clearFocus: () => void;
64
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
64
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
65
65
  setVisibility: (v: import("..").QTIViewVisibility) => void;
66
66
  requestRootLayout: () => void;
67
67
  requestLayout: () => void;
@@ -77,11 +77,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
77
77
  setPosition: (x: number, y: number, z: number) => void;
78
78
  updateLayout: (width: number, height: number, x: number, y: number) => void;
79
79
  invalidate: () => void;
80
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
81
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
82
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
83
- setInitFocus: (sid: string, delay?: number) => void;
84
- setAutoFocus: (sid: string, delay?: number) => void;
80
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
81
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
82
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
83
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
84
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
85
85
  enabledAutofocus: (autofocus: boolean) => void;
86
86
  requestAutofocus: () => void;
87
87
  hasFocus: () => Promise<boolean>;
@@ -92,11 +92,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
92
92
  requestChildFocusAtIndex: (position: number) => void;
93
93
  clearMemoryFocused: () => void;
94
94
  showDialog: (show: boolean) => void;
95
- buttonRef: import("vue").Ref<any, any>;
96
- focused: import("vue").Ref<boolean, boolean>;
95
+ buttonRef: import("vue").Ref<any>;
96
+ focused: import("vue").Ref<boolean>;
97
97
  onFocus: (e: any) => void;
98
98
  onClick: (e: any) => void;
99
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "click")[], "focus" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
99
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "click")[], "focus" | "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
100
100
  size: {
101
101
  type: StringConstructor;
102
102
  default: string;
@@ -154,14 +154,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
154
  iconStyle: ObjectConstructor;
155
155
  focusIconStyle: ObjectConstructor;
156
156
  iconParentStyle: ObjectConstructor;
157
- }>> & Readonly<{
157
+ }>> & {
158
158
  onFocus?: ((...args: any[]) => any) | undefined;
159
159
  onClick?: ((...args: any[]) => any) | undefined;
160
- }>, {
161
- disabled: boolean;
162
- circle: boolean;
163
- round: boolean;
164
- square: boolean;
160
+ }, {
165
161
  size: string;
166
162
  itemType: number;
167
163
  focusBorder: boolean;
@@ -174,5 +170,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
174
170
  gradientFocusBackground: Record<string, any>;
175
171
  gradientSelectedBackground: Record<string, any>;
176
172
  gradientBackground: Record<string, any>;
177
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
173
+ disabled: boolean;
174
+ circle: boolean;
175
+ round: boolean;
176
+ square: boolean;
177
+ }, {}>;
178
178
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { QTClassifiedListViewItem } from "./core/QTClassifiedListViewItem";
2
2
  import { QTIListView } from "../list-view/core/QTIListView";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: import("vue").DefineComponent<{
4
4
  className: {
5
5
  type: StringConstructor;
6
6
  default: string;
@@ -25,12 +25,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
25
  type: NumberConstructor;
26
26
  default: number;
27
27
  };
28
- }>, {
29
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
30
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
31
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
28
+ }, {
29
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
30
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
31
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
32
32
  clearFocus: () => void;
33
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
33
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
34
34
  setVisibility: (v: import("..").QTIViewVisibility) => void;
35
35
  requestRootLayout: () => void;
36
36
  requestLayout: () => void;
@@ -46,11 +46,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
46
46
  setPosition: (x: number, y: number, z: number) => void;
47
47
  updateLayout: (width: number, height: number, x: number, y: number) => void;
48
48
  invalidate: () => void;
49
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
50
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
51
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
52
- setInitFocus: (sid: string, delay?: number) => void;
53
- setAutoFocus: (sid: string, delay?: number) => void;
49
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
50
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
51
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
52
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
53
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
54
54
  enabledAutofocus: (autofocus: boolean) => void;
55
55
  requestAutofocus: () => void;
56
56
  hasFocus: () => Promise<boolean>;
@@ -61,9 +61,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
61
61
  requestChildFocusAtIndex: (position: number) => void;
62
62
  clearMemoryFocused: () => void;
63
63
  showDialog: (show: boolean) => void;
64
- descendantFocusability: import("vue").Ref<number, number>;
65
- content_list_view: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
66
- nav_list_view: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
64
+ descendantFocusability: import("vue").Ref<number>;
65
+ content_list_view: import("vue").Ref<QTIListView | undefined>;
66
+ nav_list_view: import("vue").Ref<QTIListView | undefined>;
67
67
  init: (itemList: Array<QTClassifiedListViewItem>) => void;
68
68
  onItemBind: () => void;
69
69
  onSItemClick: (e: any) => void;
@@ -76,8 +76,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
76
  onSItemFocused: (e: any) => void;
77
77
  onFItemFocused: (e: any) => void;
78
78
  updateItem: (position: number, data: QTClassifiedListViewItem) => void;
79
- viewRef: import("vue").Ref<any, any>;
80
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "item-focused")[], "item-click" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
79
+ viewRef: import("vue").Ref<any>;
80
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "item-focused")[], "item-click" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
81
81
  className: {
82
82
  type: StringConstructor;
83
83
  default: string;
@@ -102,15 +102,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
102
102
  type: NumberConstructor;
103
103
  default: number;
104
104
  };
105
- }>> & Readonly<{
105
+ }>> & {
106
106
  "onItem-click"?: ((...args: any[]) => any) | undefined;
107
107
  "onItem-focused"?: ((...args: any[]) => any) | undefined;
108
- }>, {
108
+ }, {
109
109
  className: string;
110
110
  classNavName: string;
111
111
  currentFocusIndex: number;
112
112
  focusScale: number;
113
113
  navType: number;
114
114
  yOffest: number;
115
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
115
+ }, {}>;
116
116
  export default _default;
@@ -2,11 +2,11 @@ import { QTICollapseItem } from "./core/QTICollapseItem";
2
2
  import { QTCollapse } from "./core/QTCollapse";
3
3
  import { QTIAnimation } from "../animation/QTIAnimation";
4
4
  declare const _default: import("vue").DefineComponent<{}, {
5
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
6
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
7
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
5
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
6
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
7
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
8
8
  clearFocus: () => void;
9
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
9
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
10
10
  setVisibility: (v: import("..").QTIViewVisibility) => void;
11
11
  requestRootLayout: () => void;
12
12
  requestLayout: () => void;
@@ -22,11 +22,11 @@ declare const _default: import("vue").DefineComponent<{}, {
22
22
  setPosition: (x: number, y: number, z: number) => void;
23
23
  updateLayout: (width: number, height: number, x: number, y: number) => void;
24
24
  invalidate: () => void;
25
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
26
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
27
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
28
- setInitFocus: (sid: string, delay?: number) => void;
29
- setAutoFocus: (sid: string, delay?: number) => void;
25
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
26
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
27
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
28
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
29
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
30
30
  enabledAutofocus: (autofocus: boolean) => void;
31
31
  requestAutofocus: () => void;
32
32
  hasFocus: () => Promise<boolean>;
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{}, {
37
37
  requestChildFocusAtIndex: (position: number) => void;
38
38
  clearMemoryFocused: () => void;
39
39
  showDialog: (show: boolean) => void;
40
- collapseItemComponentList: import("vue").Ref<any, any>;
40
+ collapseItemComponentList: import("vue").Ref<any>;
41
41
  initComponentRef: (el: QTICollapseItem, item: {
42
42
  name: string;
43
43
  }, index: number) => void;
@@ -49,10 +49,10 @@ declare const _default: import("vue").DefineComponent<{}, {
49
49
  expandItem: (index: number) => void;
50
50
  collapse: () => void;
51
51
  expand: () => void;
52
- collapseWidth: import("vue").Ref<number, number>;
53
- collapseHeight: import("vue").Ref<number, number>;
54
- viewRef: import("vue").Ref<any, any>;
55
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").PublicProps, Readonly<{}> & Readonly<{
52
+ collapseWidth: import("vue").Ref<number>;
53
+ collapseHeight: import("vue").Ref<number>;
54
+ viewRef: import("vue").Ref<any>;
55
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
56
56
  onOnCollapseItemExpand?: ((...args: any[]) => any) | undefined;
57
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
+ }, {}, {}>;
58
58
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { QTListViewItem } from "../list-view/core/QTListViewItem";
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ declare const _default: import("vue").DefineComponent<{
3
3
  loadMore: {
4
4
  type: FunctionConstructor;
5
5
  default: () => number[];
@@ -43,13 +43,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
43
43
  type: ArrayConstructor;
44
44
  required: false;
45
45
  };
46
- }>, {
46
+ }, {
47
47
  init: (target: Array<QTListViewItem>, isInit?: boolean) => Array<QTListViewItem>;
48
48
  onItemClick: (e: any) => void;
49
49
  onItemBind: (e: any) => void;
50
50
  onItemFocused: (e: any) => void;
51
51
  restartPage: () => void;
52
- isRestartPage: import("vue").Ref<boolean, boolean>;
52
+ isRestartPage: import("vue").Ref<boolean>;
53
53
  onItemUnbind: (e: any) => void;
54
54
  onScroll: (e: any) => void;
55
55
  onScrollStateChanged: (e: any) => void;
@@ -59,27 +59,27 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  setItemSelected: (pos: number, b: boolean) => void;
60
60
  scrollToSelected: (pos: number, b: boolean) => void;
61
61
  setInitPosition: (pos: number) => void;
62
- apkVersion: import("vue").Ref<number, number>;
62
+ apkVersion: import("vue").Ref<number>;
63
63
  updateItemProps: (pos: number, name: string, dataObj: object) => void;
64
64
  insertItem: (pos: number, data: Array<QTListViewItem>) => void;
65
- scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
65
+ scrollToIndex: (x: number, y: number, animated?: boolean | undefined, duration?: number | undefined, offset?: number | undefined) => void;
66
66
  startScroll: (position: import("..").QTListInitPosition) => void;
67
- setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean) => void;
67
+ setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean | undefined) => void;
68
68
  scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
69
69
  scrollToPositionWithOffsetInfiniteMode: (position: number, offset: number, animated: boolean) => void;
70
- scrollToPosition: (position: number, offset?: number) => void;
70
+ scrollToPosition: (position: number, offset?: number | undefined) => void;
71
71
  refreshListData: () => void;
72
- updateItemTraverse: (position: number, data?: QTListViewItem, traverse?: boolean) => void;
72
+ updateItemTraverse: (position: number, data?: QTListViewItem | undefined, traverse?: boolean | undefined) => void;
73
73
  requestItemLayout: (position: number) => void;
74
- updateItemRange: (position: number, count: number, itemList: Array<QTListViewItem>) => void;
75
- insertItemRange: (position: number, itemList: Array<QTListViewItem>) => void;
74
+ updateItemRange: (position: number, count: number, itemList: QTListViewItem[]) => void;
75
+ insertItemRange: (position: number, itemList: QTListViewItem[]) => void;
76
76
  updateItemMatched: (params: import("..").QTNativeParams, data: QTListViewItem) => void;
77
77
  updateItemMatchedByKey: (idKey: string, params: import("..").QTNativeParams, data: QTListViewItem) => void;
78
78
  deleteItemRange: (position: number, count: number) => void;
79
- setListData: (itemList: Array<QTListViewItem>) => void;
80
- setListDataWithParams: (itemList: Array<QTListViewItem>, autoChangeVisible: boolean, useDiff: boolean) => void;
81
- addListData: (itemList: Array<QTListViewItem>) => void;
82
- addListDataWithParams: (itemList: Array<QTListViewItem>, deleteCount: number) => void;
79
+ setListData: (itemList: QTListViewItem[]) => void;
80
+ setListDataWithParams: (itemList: QTListViewItem[], autoChangeVisible: boolean, useDiff: boolean) => void;
81
+ addListData: (itemList: QTListViewItem[]) => void;
82
+ addListDataWithParams: (itemList: QTListViewItem[], deleteCount: number) => void;
83
83
  destroy: () => void;
84
84
  recycle: () => void;
85
85
  scrollToTop: () => void;
@@ -91,22 +91,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
91
  notifyRestoreInstance: () => void;
92
92
  dispatchItemFunction: (params: import("../core/QTNativeParams").QTNativeArray) => void;
93
93
  clearPostTask: () => void;
94
- clearPostTaskByCate: (data: Array<number>) => void;
94
+ clearPostTaskByCate: (data: number[]) => void;
95
95
  clearData: () => void;
96
96
  pausePostTask: () => void;
97
97
  resumePostTask: () => void;
98
98
  requestLayoutManual: () => void;
99
99
  setSpanCount: (spanCount: number) => void;
100
100
  searchReplaceItem: (id: string, item: QTListViewItem) => void;
101
- setCustomStateEnableOnFocus: (id: string, params: Array<Array<string>>) => void;
101
+ setCustomStateEnableOnFocus: (id: string, params: string[][]) => void;
102
102
  setItemCustomState: (position: number, state: string, on: boolean) => void;
103
- dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>) => Promise<import("..").QTNativeParams>;
103
+ dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: import("..").QTNativeParams[]) => Promise<import("..").QTNativeParams>;
104
104
  getScrollOffset: () => Promise<import("..").QTPosition>;
105
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
106
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
107
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
105
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
106
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
107
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
108
108
  clearFocus: () => void;
109
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
109
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
110
110
  setVisibility: (v: import("..").QTIViewVisibility) => void;
111
111
  requestRootLayout: () => void;
112
112
  requestLayout: () => void;
@@ -122,11 +122,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
122
122
  setPosition: (x: number, y: number, z: number) => void;
123
123
  updateLayout: (width: number, height: number, x: number, y: number) => void;
124
124
  invalidate: () => void;
125
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
126
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
127
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
128
- setInitFocus: (sid: string, delay?: number) => void;
129
- setAutoFocus: (sid: string, delay?: number) => void;
125
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
126
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
127
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
128
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
129
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
130
130
  enabledAutofocus: (autofocus: boolean) => void;
131
131
  requestAutofocus: () => void;
132
132
  hasFocus: () => Promise<boolean>;
@@ -137,8 +137,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
137
137
  requestChildFocusAtIndex: (position: number) => void;
138
138
  clearMemoryFocused: () => void;
139
139
  showDialog: (show: boolean) => void;
140
- tv_list: import("vue").Ref<any, any>;
141
- }, {}, {}, {}, 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<{
140
+ tv_list: import("vue").Ref<any>;
141
+ }, 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<{
142
142
  loadMore: {
143
143
  type: FunctionConstructor;
144
144
  default: () => number[];
@@ -182,14 +182,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
182
182
  type: ArrayConstructor;
183
183
  required: false;
184
184
  };
185
- }>> & Readonly<{
185
+ }>> & {
186
186
  "onItem-click"?: ((...args: any[]) => any) | undefined;
187
187
  onScroll?: ((...args: any[]) => any) | undefined;
188
188
  "onItem-unbind"?: ((...args: any[]) => any) | undefined;
189
189
  "onScroll-state-changed"?: ((...args: any[]) => any) | undefined;
190
190
  "onItem-bind"?: ((...args: any[]) => any) | undefined;
191
191
  "onItem-focused"?: ((...args: any[]) => any) | undefined;
192
- }>, {
192
+ }, {
193
193
  loadMore: Function;
194
194
  openPage: boolean;
195
195
  spanCount: number;
@@ -199,5 +199,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
199
199
  areaWidth: number;
200
200
  blockFocusDirections: unknown[];
201
201
  loadingDecoration: Record<string, any>;
202
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
202
+ }, {}>;
203
203
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import { QTImageResizeMode } from "./QTImageResizeMode";
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
4
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
5
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
3
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
4
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
5
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
6
6
  clearFocus: () => void;
7
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
7
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
8
8
  setVisibility: (v: import("..").QTIViewVisibility) => void;
9
9
  requestRootLayout: () => void;
10
10
  requestLayout: () => void;
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{}, {
20
20
  setPosition: (x: number, y: number, z: number) => void;
21
21
  updateLayout: (width: number, height: number, x: number, y: number) => void;
22
22
  invalidate: () => void;
23
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
24
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
25
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
26
- setInitFocus: (sid: string, delay?: number) => void;
27
- setAutoFocus: (sid: string, delay?: number) => void;
23
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
24
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
25
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
26
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
27
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
28
28
  enabledAutofocus: (autofocus: boolean) => void;
29
29
  requestAutofocus: () => void;
30
30
  hasFocus: () => Promise<boolean>;
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{}, {
35
35
  requestChildFocusAtIndex: (position: number) => void;
36
36
  clearMemoryFocused: () => void;
37
37
  showDialog: (show: boolean) => void;
38
- viewRef: import("vue").Ref<any, any>;
38
+ viewRef: import("vue").Ref<any>;
39
39
  setSrc: (url: string) => void;
40
40
  resizeMode: (mode: QTImageResizeMode) => void;
41
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
42
42
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { QTIListView } from "../list-view/core/QTIListView";
2
2
  import { QTNavBar } from "./QTNavBar";
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ declare const _default: import("vue").DefineComponent<{
4
4
  textKey: {
5
5
  type: StringConstructor;
6
6
  default: string;
@@ -45,12 +45,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
45
  type: BooleanConstructor;
46
46
  default: boolean;
47
47
  };
48
- }>, {
49
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
50
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
51
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
48
+ }, {
49
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
50
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
51
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
52
52
  clearFocus: () => void;
53
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
53
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
54
54
  setVisibility: (v: import("..").QTIViewVisibility) => void;
55
55
  requestRootLayout: () => void;
56
56
  requestLayout: () => void;
@@ -66,11 +66,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  setPosition: (x: number, y: number, z: number) => void;
67
67
  updateLayout: (width: number, height: number, x: number, y: number) => void;
68
68
  invalidate: () => void;
69
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
70
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
71
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
72
- setInitFocus: (sid: string, delay?: number) => void;
73
- setAutoFocus: (sid: string, delay?: number) => void;
69
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
70
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
71
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
72
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
73
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
74
74
  enabledAutofocus: (autofocus: boolean) => void;
75
75
  requestAutofocus: () => void;
76
76
  hasFocus: () => Promise<boolean>;
@@ -81,8 +81,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
81
81
  requestChildFocusAtIndex: (position: number) => void;
82
82
  clearMemoryFocused: () => void;
83
83
  showDialog: (show: boolean) => void;
84
- navList: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
85
- focusColor: import("vue").Ref<string, string>;
84
+ navList: import("vue").Ref<QTIListView | undefined>;
85
+ focusColor: import("vue").Ref<string>;
86
86
  textColor: {
87
87
  normal: string;
88
88
  focused: string;
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
94
94
  scrollToPosition: (index: any) => void;
95
95
  scrollToTop: () => void;
96
96
  init: (navBar: QTNavBar) => void;
97
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
97
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
98
98
  textKey: {
99
99
  type: StringConstructor;
100
100
  default: string;
@@ -139,7 +139,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
139
139
  type: BooleanConstructor;
140
140
  default: boolean;
141
141
  };
142
- }>> & Readonly<{}>, {
142
+ }>>, {
143
143
  textKey: string;
144
144
  itemGap: number;
145
145
  horizontal: boolean;
@@ -151,5 +151,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
151
151
  verticalFadingEdgeEnabled: boolean;
152
152
  fadingEdgeLength: number;
153
153
  tabEnable: boolean;
154
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
154
+ }, {}>;
155
155
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  requestFirstFocus: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
@@ -39,12 +39,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
39
  type: ArrayConstructor;
40
40
  default: () => string[];
41
41
  };
42
- }>, {
43
- dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
44
- requestFocus: (direction?: import("..").QTFocusDirection) => void;
45
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
42
+ }, {
43
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
44
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
45
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
46
46
  clearFocus: () => void;
47
- requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
47
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
48
48
  setVisibility: (v: import("..").QTIViewVisibility) => void;
49
49
  requestRootLayout: () => void;
50
50
  requestLayout: () => void;
@@ -60,11 +60,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
60
60
  setPosition: (x: number, y: number, z: number) => void;
61
61
  updateLayout: (width: number, height: number, x: number, y: number) => void;
62
62
  invalidate: () => void;
63
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
64
- setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
65
- setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
66
- setInitFocus: (sid: string, delay?: number) => void;
67
- setAutoFocus: (sid: string, delay?: number) => void;
63
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
64
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
65
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
66
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
67
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
68
68
  enabledAutofocus: (autofocus: boolean) => void;
69
69
  requestAutofocus: () => void;
70
70
  hasFocus: () => Promise<boolean>;
@@ -76,8 +76,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
76
76
  clearMemoryFocused: () => void;
77
77
  showDialog: (show: boolean) => void;
78
78
  mainTextShowOnState: string[];
79
- viewRef: import("vue").Ref<any, any>;
80
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
79
+ viewRef: import("vue").Ref<any>;
80
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
81
81
  requestFirstFocus: {
82
82
  type: BooleanConstructor;
83
83
  default: boolean;
@@ -118,16 +118,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
118
118
  type: ArrayConstructor;
119
119
  default: () => string[];
120
120
  };
121
- }>> & Readonly<{}>, {
121
+ }>>, {
122
122
  requestFirstFocus: boolean;
123
- type: number;
124
123
  loadDelay: number;
124
+ type: number;
125
125
  templateKeyMap: Record<string, any>;
126
126
  borderRadius: number;
127
127
  rippleColor: string;
128
128
  floatTitleBgColor: unknown[];
129
- }, {}, {
130
- 'qt-poster-corner-title': import("vue").DefineComponent<{}, {}, any>;
131
- 'qt-poster-focus-title': import("vue").DefineComponent<{}, {}, any>;
132
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
129
+ }, {}>;
133
130
  export default _default;
@@ -28,6 +28,7 @@ import { QtPosterAPI } from "../poster/QtPosterAPI";
28
28
  import { QtQRCodeAPI } from "../qrcode/QtQRCodeAPI";
29
29
  import { QtRowAPI } from "../row/QtRowAPI";
30
30
  import { QtVirtualViewAPI } from "../utils/QtVirtualViewAPI";
31
+ import { QtRefUid } from "../qtListen/index";
31
32
  import { QtIndicatorViewAPI } from "../list-indicator/QtIndicatorViewAPI";
32
33
  import { ES, ESActionBar, ESAppList, ESAudio, ESBrightness, ESBroadcast, ESContentProvider, ESDevelop, ESDevice, ESDisplay, ESDownload, ESEventBus, ESFocus, ESIAC, ESLocalStorage, ESLocation, ESLog, ESLogUpload, ESNetwork, ESPermission, ESPlugin, ESPower, ESRuntime, ESService, ESShareData, ESToast, ESUpload, ESUsbDevice, ESXLog } from "@extscreen/es3-core";
33
34
  export interface QtAPI {
@@ -60,6 +61,7 @@ export interface QtAPI {
60
61
  poster: QtPosterAPI;
61
62
  qrCode: QtQRCodeAPI;
62
63
  row: QtRowAPI;
64
+ uid: QtRefUid;
63
65
  virtualView: QtVirtualViewAPI;
64
66
  indicator: QtIndicatorViewAPI;
65
67
  log: ESLog;
@@ -2,6 +2,6 @@ export { qtEffect } from "./effect";
2
2
  export { qtGetParent } from "./reactive";
3
3
  export { qtRef, qtRefObject, qtTabsRef } from "./ref";
4
4
  export type { IQtTabDatas } from './ref';
5
- export { qtWatchAll } from './watch';
5
+ export { qtWatchAll, qtRefUid, QtRefUid } from './watch';
6
6
  export { qtLongestSequenceSplit, qtFilterChangeMap, parseChildUpdate } from './types';
7
7
  export { qtDiff } from './qtDiff';
@@ -1,2 +1,2 @@
1
1
  import type { IQtWatchOptions } from './watch';
2
- export declare const qtDiff: (oldt: any[], newt: any[], options: Pick<IQtWatchOptions, "update" | "insert" | "delete" | "add">) => void;
2
+ export declare const qtDiff: (oldt: any[], newt: any[], options: Pick<IQtWatchOptions, 'update' | 'insert' | 'delete' | 'add'>) => void;
@@ -37,7 +37,7 @@ interface IparseChildUpdateRef {
37
37
  ouData: any;
38
38
  k: any;
39
39
  }
40
- export declare const parseChildUpdate: (changeData: QtChangeData, orData: any, exFn: (res: IparseChildUpdateRef) => void) => void;
40
+ export declare const parseChildUpdate: (changeData: QtChangeData, orData: any, exFn: (res: IparseChildUpdateRef) => void, maxDeep?: number) => void;
41
41
  declare class QtType {
42
42
  private targetFlags;
43
43
  private targetMaps;
@@ -9,12 +9,13 @@ export interface IQtWatchOptions {
9
9
  resetValue?: (datas: any[]) => void;
10
10
  [k: string]: any;
11
11
  }
12
- export declare const qtRefUid: {
13
- pointer: number;
12
+ export declare class QtRefUid {
13
+ private pointer;
14
14
  createUid(key?: string): string;
15
- addUid(data: any, uk?: string): any;
16
- addUidBatch(arr: any[], uk?: string): void;
17
- };
15
+ addUid(data: any, uk?: string, oldData?: any): any;
16
+ addUidBatch(arr: any[], uk?: string, oldArr?: any[]): void;
17
+ }
18
+ export declare const qtRefUid: QtRefUid;
18
19
  export declare const qtCloneObj: (target: object, isKey?: boolean) => any;
19
20
  export declare function qtWatchAll(target: any, options: IQtWatchOptions): {
20
21
  stop(): void;