@quicktvui/quicktvui3 1.2.0-beta.3 → 1.2.0-beta.30

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 (77) hide show
  1. package/dist/index.css +1 -2
  2. package/dist/index.js +8 -9
  3. package/dist/src/animation/QtAnimationAPI.d.ts +3 -3
  4. package/dist/src/animation/types.d.ts +1 -0
  5. package/dist/src/app/QtAppIconAPI.d.ts +3 -3
  6. package/dist/src/base/QtBaseViewAPI.d.ts +45 -0
  7. package/dist/src/button/QtButtonAPI.d.ts +3 -3
  8. package/dist/src/button/index.vue.d.ts +21 -21
  9. package/dist/src/canvas/Gradient.d.ts +37 -0
  10. package/dist/src/canvas/QTCanvasView.d.ts +3 -0
  11. package/dist/src/canvas/QTICanvasView.d.ts +50 -0
  12. package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
  13. package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +3 -3
  14. package/dist/src/classified-list-view/index.vue.d.ts +19 -19
  15. package/dist/src/collapse/QtCollapseAPI.d.ts +3 -3
  16. package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
  17. package/dist/src/collapse/index.vue.d.ts +18 -18
  18. package/dist/src/column/QtColumnAPI.d.ts +3 -3
  19. package/dist/src/grid-view/QtGridViewAPI.d.ts +3 -3
  20. package/dist/src/grid-view/index.vue.d.ts +31 -31
  21. package/dist/src/image/QtImageAPI.d.ts +3 -3
  22. package/dist/src/image/index.vue.d.ts +11 -11
  23. package/dist/src/index.d.ts +9 -5
  24. package/dist/src/list/useListView.d.ts +49 -0
  25. package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +3 -0
  26. package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +15 -0
  27. package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +11 -0
  28. package/dist/src/list-item/QtListItemAPI.d.ts +3 -3
  29. package/dist/src/list-view/QtListViewAPI.d.ts +3 -3
  30. package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
  31. package/dist/src/long-image/QTILongImage.d.ts +12 -0
  32. package/dist/src/long-image/QTLongImage.d.ts +3 -0
  33. package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
  34. package/dist/src/long-image/index.vue.d.ts +191 -0
  35. package/dist/src/lottie/QTILottieView.d.ts +2 -0
  36. package/dist/src/lottie/QTLottieEvent.d.ts +5 -0
  37. package/dist/src/lottie/QtLottieViewAPI.d.ts +5 -3
  38. package/dist/src/nav-bar/QtNavBarAPI.d.ts +3 -3
  39. package/dist/src/nav-bar/index.vue.d.ts +16 -16
  40. package/dist/src/plugin/QtPluginViewAPI.d.ts +3 -3
  41. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  42. package/dist/src/poster/index.vue.d.ts +19 -16
  43. package/dist/src/progressbar/QtProgressBarAPI.d.ts +3 -3
  44. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  45. package/dist/src/qt/QtAPI.d.ts +68 -30
  46. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  47. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +3 -3
  48. package/dist/src/row/QtRowAPI.d.ts +3 -3
  49. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +3 -3
  50. package/dist/src/section/index.vue.d.ts +11 -11
  51. package/dist/src/seekbar/QtSeekBarAPI.d.ts +3 -3
  52. package/dist/src/series/component/media-series.vue.d.ts +8 -8
  53. package/dist/src/series/index.vue.d.ts +20 -16
  54. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  55. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  56. package/dist/src/tab/index.vue.d.ts +22 -48
  57. package/dist/src/text/QtTextAPI.d.ts +3 -3
  58. package/dist/src/text/index.vue.d.ts +11 -11
  59. package/dist/src/ul/QtULAPI.d.ts +3 -3
  60. package/dist/src/utils/type.d.ts +1 -1
  61. package/dist/src/view/QtViewAPI.d.ts +3 -44
  62. package/dist/src/view/index.vue.d.ts +12 -12
  63. package/dist/src/waterfall/QtWaterfallAPI.d.ts +3 -3
  64. package/dist/src/waterfall/index.vue.d.ts +37 -24
  65. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  66. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  67. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  68. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  69. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  70. package/dist/src/waterfall/section/flex-section.vue.d.ts +9 -6
  71. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  72. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  73. package/dist/src/waterfall/section/section-title.vue.d.ts +4 -4
  74. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  75. package/dist/src/webview/QtWebViewAPI.d.ts +3 -3
  76. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +3 -3
  77. package/package.json +5 -1
@@ -1,10 +1,10 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTNavBar } from "./QTNavBar";
4
3
  import { QTINavBar } from "./QTINavBar";
5
- export interface QtNavBarAPI extends QtViewAPI {
4
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
5
+ export interface QtNavBarAPI extends QtBaseViewAPI {
6
6
  init(instance: Ref<QTINavBar | undefined>, navBar: QTNavBar): void;
7
7
  scrollToPosition(instance: Ref<QTINavBar | undefined>, index: number): void;
8
8
  scrollToTop(instance: Ref<QTINavBar | undefined>): void;
9
9
  }
10
- export declare function createQtNavBarAPI(viewAPI: QtViewAPI): QtNavBarAPI;
10
+ export declare function createQtNavBarAPI(viewAPI: QtBaseViewAPI): QtNavBarAPI;
@@ -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<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  textKey: {
5
5
  type: StringConstructor;
6
6
  default: string;
@@ -45,12 +45,12 @@ declare const _default: import("vue").DefineComponent<{
45
45
  type: BooleanConstructor;
46
46
  default: boolean;
47
47
  };
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;
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;
52
52
  clearFocus: () => void;
53
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
53
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => 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<{
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: 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;
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;
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<{
81
81
  requestChildFocusAtIndex: (position: number) => void;
82
82
  clearMemoryFocused: () => void;
83
83
  showDialog: (show: boolean) => void;
84
- navList: import("vue").Ref<QTIListView | undefined>;
85
- focusColor: import("vue").Ref<string>;
84
+ navList: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
85
+ focusColor: import("vue").Ref<string, string>;
86
86
  textColor: {
87
87
  normal: string;
88
88
  focused: string;
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
94
94
  scrollToPosition: (index: any) => void;
95
95
  scrollToTop: () => void;
96
96
  init: (navBar: QTNavBar) => void;
97
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
97
+ }, {}, {}, {}, 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<{
139
139
  type: BooleanConstructor;
140
140
  default: boolean;
141
141
  };
142
- }>>, {
142
+ }>> & Readonly<{}>, {
143
143
  textKey: string;
144
144
  itemGap: number;
145
145
  horizontal: boolean;
@@ -151,5 +151,5 @@ declare const _default: import("vue").DefineComponent<{
151
151
  verticalFadingEdgeEnabled: boolean;
152
152
  fadingEdgeLength: number;
153
153
  tabEnable: boolean;
154
- }, {}>;
154
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
155
155
  export default _default;
@@ -1,7 +1,7 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTIPluginView } from "./QTIPluginView";
4
- export interface QtPluginViewAPI extends QtViewAPI {
3
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
4
+ export interface QtPluginViewAPI extends QtBaseViewAPI {
5
5
  dispatchFunction(instance: string | Ref<QTIPluginView | undefined>, funName: string, params: Array<any>): Promise<any>;
6
6
  }
7
- export declare function createQtPluginViewAPI(viewAPI: QtViewAPI): QtPluginViewAPI;
7
+ export declare function createQtPluginViewAPI(viewAPI: QtBaseViewAPI): QtPluginViewAPI;
@@ -1,4 +1,4 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- export interface QtPosterAPI extends QtViewAPI {
1
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
2
+ export interface QtPosterAPI extends QtBaseViewAPI {
3
3
  }
4
- export declare function createQtPosterAPI(viewAPI: QtViewAPI): QtPosterAPI;
4
+ export declare function createQtPosterAPI(viewAPI: QtBaseViewAPI): QtPosterAPI;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  requestFirstFocus: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
@@ -39,12 +39,12 @@ declare const _default: import("vue").DefineComponent<{
39
39
  type: ArrayConstructor;
40
40
  default: () => string[];
41
41
  };
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;
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;
46
46
  clearFocus: () => void;
47
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
47
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => 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<{
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: 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;
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;
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<{
76
76
  clearMemoryFocused: () => void;
77
77
  showDialog: (show: boolean) => void;
78
78
  mainTextShowOnState: string[];
79
- viewRef: import("vue").Ref<any>;
80
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
79
+ viewRef: import("vue").Ref<any, any>;
80
+ }, {}, {}, {}, 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,13 +118,16 @@ declare const _default: import("vue").DefineComponent<{
118
118
  type: ArrayConstructor;
119
119
  default: () => string[];
120
120
  };
121
- }>>, {
121
+ }>> & Readonly<{}>, {
122
122
  requestFirstFocus: boolean;
123
- loadDelay: number;
124
123
  type: number;
124
+ loadDelay: number;
125
125
  templateKeyMap: Record<string, any>;
126
126
  borderRadius: number;
127
127
  rippleColor: string;
128
128
  floatTitleBgColor: unknown[];
129
- }, {}>;
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>;
130
133
  export default _default;
@@ -1,4 +1,3 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTSeekBarMode } from "../seekbar/QTSeekBarMode";
4
3
  import { QTSeekBarGravity } from "../seekbar/QTSeekBarGravity";
@@ -8,7 +7,8 @@ import { QTSeekBarTickMarkMode } from "../seekbar/QTSeekBarTickMarkMode";
8
7
  import { QTSeekBarTickMarkGravity } from "../seekbar/QTSeekBarTickMarkGravity";
9
8
  import { QTSeekBarTickMarkLayoutGravity } from "../seekbar/QTSeekBarTickMarkLayoutGravity";
10
9
  import { QTIProgressBar } from "./QTIProgressBar";
11
- export interface QtProgressBarAPI extends QtViewAPI {
10
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
11
+ export interface QtProgressBarAPI extends QtBaseViewAPI {
12
12
  invalidateProgressBar(instance: string | Ref<QTIProgressBar | undefined>): void;
13
13
  setFocusable(instance: string | Ref<QTIProgressBar | undefined>, focusable: boolean): void;
14
14
  setClickable(instance: string | Ref<QTIProgressBar | undefined>, clickable: boolean): void;
@@ -136,4 +136,4 @@ export interface QtProgressBarAPI extends QtViewAPI {
136
136
  setStepsDrawable(instance: string | Ref<QTIProgressBar | undefined>, drawableArray: Array<ESGradient>): void;
137
137
  setStepsUrl(instance: string | Ref<QTIProgressBar | undefined>, urlArray: Array<string>): void;
138
138
  }
139
- export declare function createQtProgressBarAPI(viewAPI: QtViewAPI): QtProgressBarAPI;
139
+ export declare function createQtProgressBarAPI(viewAPI: QtBaseViewAPI): QtProgressBarAPI;
@@ -1,4 +1,4 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- export interface QtQRCodeAPI extends QtViewAPI {
1
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
2
+ export interface QtQRCodeAPI extends QtBaseViewAPI {
3
3
  }
4
- export declare function createQtQRCodeAPI(viewAPI: QtViewAPI): QtQRCodeAPI;
4
+ export declare function createQtQRCodeAPI(viewAPI: QtBaseViewAPI): QtQRCodeAPI;
@@ -1,34 +1,41 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QtWebViewAPI } from "../webview/QtWebViewAPI";
3
- import { QtListViewAPI } from "../list-view/QtListViewAPI";
4
- import { QtGridViewAPI } from "../grid-view/QtGridViewAPI";
5
- import { QtWaterfallAPI } from "../waterfall/QtWaterfallAPI";
6
- import { QtImageAPI } from "../image/QtImageAPI";
7
- import { QtULAPI } from "../ul/QtULAPI";
8
- import { QtScrollViewAPI } from "../scroll-view/QtScrollViewAPI";
9
- import { QtTextAPI } from "../text/QtTextAPI";
10
- import { QtReplaceChildViewAPI } from "../replace-child/QtReplaceChildViewAPI";
11
- import { QtAnimationAPI } from "../animation/QtAnimationAPI";
12
- import { QtAppIconAPI } from "../app/QtAppIconAPI";
13
- import { QtClassifiedListViewAPI } from "../classified-list-view/QtClassifiedListViewAPI";
14
- import { QtCollapseAPI } from "../collapse/QtCollapseAPI";
15
- import { QtListItemAPI } from "../list-item/QtListItemAPI";
16
- import { QtLottieViewAPI } from "../lottie/QtLottieViewAPI";
17
- import { QtNavBarAPI } from "../nav-bar/QtNavBarAPI";
18
- import { QtPluginViewAPI } from "../plugin/QtPluginViewAPI";
19
- import { QtProgressBarAPI } from "../progressbar/QtProgressBarAPI";
20
- import { QtSeekBarAPI } from "../seekbar/QtSeekBarAPI";
21
- import { QtMediaSeriesAPI } from "../series/QtMediaSeriesAPI";
22
- import { QtTabAPI } from "../tab/QtTabAPI";
23
- import { QtX5WebViewAPI } from "../x5webview/QtX5WebViewAPI";
24
- import { QtButtonAPI } from "../button/QtButtonAPI";
25
- import { QtColumnAPI } from "../column/QtColumnAPI";
26
- import { QtLoadingAPI } from "../loading/QtLoadingAPI";
27
- import { QtPosterAPI } from "../poster/QtPosterAPI";
28
- import { QtQRCodeAPI } from "../qrcode/QtQRCodeAPI";
29
- import { QtRowAPI } from "../row/QtRowAPI";
30
- import { QtVirtualViewAPI } from "../utils/QtVirtualViewAPI";
1
+ import { QtViewAPI } from '../view/QtViewAPI';
2
+ import { QtWebViewAPI } from '../webview/QtWebViewAPI';
3
+ import { QtListViewAPI } from '../list-view/QtListViewAPI';
4
+ import { QtGridViewAPI } from '../grid-view/QtGridViewAPI';
5
+ import { QtWaterfallAPI } from '../waterfall/QtWaterfallAPI';
6
+ import { QtImageAPI } from '../image/QtImageAPI';
7
+ import { QtULAPI } from '../ul/QtULAPI';
8
+ import { QtScrollViewAPI } from '../scroll-view/QtScrollViewAPI';
9
+ import { QtTextAPI } from '../text/QtTextAPI';
10
+ import { QtReplaceChildViewAPI } from '../replace-child/QtReplaceChildViewAPI';
11
+ import { QtAnimationAPI } from '../animation/QtAnimationAPI';
12
+ import { QtAppIconAPI } from '../app/QtAppIconAPI';
13
+ import { QtClassifiedListViewAPI } from '../classified-list-view/QtClassifiedListViewAPI';
14
+ import { QtCollapseAPI } from '../collapse/QtCollapseAPI';
15
+ import { QtListItemAPI } from '../list-item/QtListItemAPI';
16
+ import { QtLottieViewAPI } from '../lottie/QtLottieViewAPI';
17
+ import { QtNavBarAPI } from '../nav-bar/QtNavBarAPI';
18
+ import { QtPluginViewAPI } from '../plugin/QtPluginViewAPI';
19
+ import { QtProgressBarAPI } from '../progressbar/QtProgressBarAPI';
20
+ import { QtSeekBarAPI } from '../seekbar/QtSeekBarAPI';
21
+ import { QtMediaSeriesAPI } from '../series/QtMediaSeriesAPI';
22
+ import { QtTabAPI } from '../tab/QtTabAPI';
23
+ import { QtX5WebViewAPI } from '../x5webview/QtX5WebViewAPI';
24
+ import { QtButtonAPI } from '../button/QtButtonAPI';
25
+ import { QtColumnAPI } from '../column/QtColumnAPI';
26
+ import { QtLoadingAPI } from '../loading/QtLoadingAPI';
27
+ import { QtPosterAPI } from '../poster/QtPosterAPI';
28
+ import { QtQRCodeAPI } from '../qrcode/QtQRCodeAPI';
29
+ import { QtRowAPI } from '../row/QtRowAPI';
30
+ import { QtVirtualViewAPI } from '../utils/QtVirtualViewAPI';
31
+ import { QtIndicatorViewAPI } from '../list-indicator/QtIndicatorViewAPI';
32
+ 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
+ import { QtLongImageAPI } from '../long-image/QtLongImageAPI';
31
34
  export interface QtAPI {
35
+ div: QtViewAPI;
36
+ img: QtViewAPI;
37
+ li: QtViewAPI;
38
+ p: QtViewAPI;
32
39
  view: QtViewAPI;
33
40
  webView: QtWebViewAPI;
34
41
  listView: QtListViewAPI;
@@ -55,9 +62,40 @@ export interface QtAPI {
55
62
  button: QtButtonAPI;
56
63
  column: QtColumnAPI;
57
64
  loading: QtLoadingAPI;
65
+ longImage: QtLongImageAPI;
58
66
  poster: QtPosterAPI;
59
67
  qrCode: QtQRCodeAPI;
60
68
  row: QtRowAPI;
61
69
  virtualView: QtVirtualViewAPI;
70
+ indicator: QtIndicatorViewAPI;
71
+ log: ESLog;
72
+ es: ES;
73
+ develop: ESDevelop;
74
+ toast: ESToast;
75
+ storage: ESLocalStorage;
76
+ device: ESDevice;
77
+ display: ESDisplay;
78
+ network: ESNetwork;
79
+ appList: ESAppList;
80
+ power: ESPower;
81
+ permission: ESPermission;
82
+ usbDevice: ESUsbDevice;
83
+ broadcast: ESBroadcast;
84
+ audio: ESAudio;
85
+ shareData: ESShareData;
86
+ runtime: ESRuntime;
87
+ plugin: ESPlugin;
88
+ download: ESDownload;
89
+ upload: ESUpload;
90
+ actionBar: ESActionBar;
91
+ iac: ESIAC;
92
+ location: ESLocation;
93
+ focus: ESFocus;
94
+ provider: ESContentProvider;
95
+ eventBus: ESEventBus;
96
+ xlog: ESXLog;
97
+ logUpload: ESLogUpload;
98
+ brightness: ESBrightness;
99
+ service: ESService;
62
100
  }
63
101
  export declare function createQtAPI(): QtAPI;
@@ -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;
@@ -1,7 +1,7 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTIReplaceChildView } from "./QTIReplaceChildView";
4
- export interface QtReplaceChildViewAPI extends QtViewAPI {
3
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
4
+ export interface QtReplaceChildViewAPI extends QtBaseViewAPI {
5
5
  setChildSID(instance: string | Ref<QTIReplaceChildView | undefined>, sid: string): void;
6
6
  }
7
- export declare function createQtReplaceChildViewAPI(viewAPI: QtViewAPI): QtReplaceChildViewAPI;
7
+ export declare function createQtReplaceChildViewAPI(viewAPI: QtBaseViewAPI): QtReplaceChildViewAPI;
@@ -1,4 +1,4 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- export interface QtRowAPI extends QtViewAPI {
1
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
2
+ export interface QtRowAPI extends QtBaseViewAPI {
3
3
  }
4
- export declare function createQtRowAPI(viewAPI: QtViewAPI): QtRowAPI;
4
+ export declare function createQtRowAPI(viewAPI: QtBaseViewAPI): QtRowAPI;
@@ -1,8 +1,8 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTIScrollView } from "./QTIScrollView";
4
- export interface QtScrollViewAPI extends QtViewAPI {
3
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
4
+ export interface QtScrollViewAPI extends QtBaseViewAPI {
5
5
  scrollTo(instance: string | Ref<QTIScrollView | undefined>, x: number, y: number): void;
6
6
  scrollToWithOptions(instance: string | Ref<QTIScrollView | undefined>, x: number, y: number, duration: number): void;
7
7
  }
8
- export declare function createQtScrollViewAPI(viewAPI: QtViewAPI): QtScrollViewAPI;
8
+ export declare function createQtScrollViewAPI(viewAPI: QtBaseViewAPI): QtScrollViewAPI;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
3
- requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
4
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
2
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
3
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
4
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
5
5
  clearFocus: () => void;
6
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
6
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
7
7
  setVisibility: (v: import("..").QTIViewVisibility) => void;
8
8
  requestRootLayout: () => void;
9
9
  requestLayout: () => void;
@@ -19,11 +19,11 @@ declare const _default: import("vue").DefineComponent<{}, {
19
19
  setPosition: (x: number, y: number, z: number) => void;
20
20
  updateLayout: (width: number, height: number, x: number, y: number) => void;
21
21
  invalidate: () => void;
22
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
23
- setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
24
- setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
25
- setInitFocus: (sid: string, delay?: number | undefined) => void;
26
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
22
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
23
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
24
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
25
+ setInitFocus: (sid: string, delay?: number) => void;
26
+ setAutoFocus: (sid: string, delay?: number) => void;
27
27
  enabledAutofocus: (autofocus: boolean) => void;
28
28
  requestAutofocus: () => void;
29
29
  hasFocus: () => Promise<boolean>;
@@ -35,6 +35,6 @@ declare const _default: import("vue").DefineComponent<{}, {
35
35
  clearMemoryFocused: () => void;
36
36
  showDialog: (show: boolean) => void;
37
37
  onSectionBind: () => void;
38
- viewRef: import("vue").Ref<any>;
39
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
38
+ viewRef: import("vue").Ref<any, any>;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
40
40
  export default _default;
@@ -1,4 +1,3 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTSeekBarMode } from "../seekbar/QTSeekBarMode";
4
3
  import { QTSeekBarGravity } from "../seekbar/QTSeekBarGravity";
@@ -8,7 +7,8 @@ import { QTSeekBarTickMarkMode } from "../seekbar/QTSeekBarTickMarkMode";
8
7
  import { QTSeekBarTickMarkGravity } from "../seekbar/QTSeekBarTickMarkGravity";
9
8
  import { QTSeekBarTickMarkLayoutGravity } from "../seekbar/QTSeekBarTickMarkLayoutGravity";
10
9
  import { QTISeekBar } from "./QTISeekBar";
11
- export interface QtSeekBarAPI extends QtViewAPI {
10
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
11
+ export interface QtSeekBarAPI extends QtBaseViewAPI {
12
12
  resetSeekbar(instance: Ref<QTISeekBar | undefined>): void;
13
13
  startSeek(instance: Ref<QTISeekBar | undefined>, forward: boolean): void;
14
14
  stopSeek(instance: Ref<QTISeekBar | undefined>): void;
@@ -139,4 +139,4 @@ export interface QtSeekBarAPI extends QtViewAPI {
139
139
  setStepsDrawable(instance: string | Ref<QTISeekBar | undefined>, drawableArray: Array<ESGradient>): void;
140
140
  setStepsUrl(instance: string | Ref<QTISeekBar | undefined>, urlArray: Array<string>): void;
141
141
  }
142
- export declare function createQtSeekBarAPI(viewAPI: QtViewAPI): QtSeekBarAPI;
142
+ export declare function createQtSeekBarAPI(viewAPI: QtBaseViewAPI): QtSeekBarAPI;
@@ -1,5 +1,5 @@
1
1
  import { ESIMediaSeries } from "@extscreen/es3-component";
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  customItem: {
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
@@ -24,9 +24,9 @@ declare const _default: import("vue").DefineComponent<{
24
24
  type: ObjectConstructor;
25
25
  default: () => {};
26
26
  };
27
- }, {
28
- selectSeries: import("vue").Ref<ESIMediaSeries | undefined>;
29
- showOld: import("vue").Ref<boolean>;
27
+ }>, {
28
+ selectSeries: import("vue").Ref<ESIMediaSeries | undefined, ESIMediaSeries | undefined>;
29
+ showOld: import("vue").Ref<boolean, boolean>;
30
30
  onLoadData: (event: any) => void;
31
31
  setPageData: (page: any, data: any) => void;
32
32
  setInitData: (totalCount: any, pageSize: any) => void;
@@ -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").PublicProps, Readonly<import("vue").ExtractPropTypes<{
43
+ }, {}, {}, {}, 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;
@@ -65,17 +65,17 @@ declare const _default: import("vue").DefineComponent<{
65
65
  type: ObjectConstructor;
66
66
  default: () => {};
67
67
  };
68
- }>> & {
68
+ }>> & Readonly<{
69
69
  "onLoad-data"?: ((...args: any[]) => any) | undefined;
70
70
  "onItem-click"?: ((...args: any[]) => any) | undefined;
71
71
  "onItem-focused"?: ((...args: any[]) => any) | undefined;
72
72
  "onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
73
- }, {
73
+ }>, {
74
74
  customItem: boolean;
75
75
  initParam: Record<string, any>;
76
76
  height: number;
77
77
  scrollParam: Record<string, any>;
78
78
  groupParam: Record<string, any>;
79
79
  commonParam: Record<string, any>;
80
- }, {}>;
80
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
81
  export default _default;
@@ -4,7 +4,7 @@ import { QTMediaSeriesStyleType } from "./QTMediaSeriesStyleType";
4
4
  import { QTMediaSeriesGroup } from "./QTMediaSeriesGroup";
5
5
  import { QTMediaSeries } from "./QTMediaSeries";
6
6
  import { ESIMediaSeries } from "@extscreen/es3-component";
7
- declare const _default: import("vue").DefineComponent<{
7
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  itemHeight: {
9
9
  type: NumberConstructor;
10
10
  default: number;
@@ -65,16 +65,16 @@ declare const _default: import("vue").DefineComponent<{
65
65
  type: NumberConstructor;
66
66
  default: number;
67
67
  };
68
- }, {
69
- isVip: import("vue").Ref<boolean>;
70
- seriesType: import("vue").Ref<QTMediaSeriesType>;
71
- params: import("vue").Ref<any>;
72
- commonParams: import("vue").Ref<any>;
73
- scrollParams: import("vue").Ref<any>;
74
- groupParams: import("vue").Ref<any>;
75
- mediaSeriesRef: import("vue").Ref<ESIMediaSeries | undefined>;
76
- show: import("vue").Ref<boolean>;
77
- height: import("vue").Ref<number>;
68
+ }>, {
69
+ isVip: import("vue").Ref<boolean, boolean>;
70
+ seriesType: import("vue").Ref<QTMediaSeriesType, QTMediaSeriesType>;
71
+ params: import("vue").Ref<any, any>;
72
+ commonParams: import("vue").Ref<any, any>;
73
+ scrollParams: import("vue").Ref<any, any>;
74
+ groupParams: import("vue").Ref<any, any>;
75
+ mediaSeriesRef: import("vue").Ref<ESIMediaSeries | undefined, ESIMediaSeries | undefined>;
76
+ show: import("vue").Ref<boolean, boolean>;
77
+ height: import("vue").Ref<number, number>;
78
78
  onLoadData: (event: any) => void;
79
79
  setInitData: (type: QTMediaSeriesType, group: QTMediaSeriesGroup, styleType: QTMediaSeriesStyleType, data: QTMediaSeriesData) => void;
80
80
  setPageData: (page: number, dataArray: Array<QTMediaSeries>) => void;
@@ -91,9 +91,9 @@ declare const _default: import("vue").DefineComponent<{
91
91
  blockRootFocus: () => void;
92
92
  unBlockRootFocus: () => void;
93
93
  clearFocus: () => void;
94
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
94
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
95
95
  setVisibility: (v: import("..").QTIViewVisibility) => void;
96
- }, 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<{
96
+ }, {}, {}, {}, 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<{
97
97
  itemHeight: {
98
98
  type: NumberConstructor;
99
99
  default: number;
@@ -154,12 +154,12 @@ declare const _default: import("vue").DefineComponent<{
154
154
  type: NumberConstructor;
155
155
  default: number;
156
156
  };
157
- }>> & {
157
+ }>> & Readonly<{
158
158
  "onLoad-data"?: ((...args: any[]) => any) | undefined;
159
159
  "onItem-click"?: ((...args: any[]) => any) | undefined;
160
160
  "onItem-focused"?: ((...args: any[]) => any) | undefined;
161
161
  "onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
162
- }, {
162
+ }>, {
163
163
  itemHeight: number;
164
164
  gradientBackground: Record<string, any>;
165
165
  gradientFocusBackground: Record<string, any>;
@@ -170,5 +170,9 @@ declare const _default: import("vue").DefineComponent<{
170
170
  textVipColors: Record<string, any>;
171
171
  itemDivWidth: number;
172
172
  itemDivHeight: number;
173
- }, {}>;
173
+ }, {}, {
174
+ 'media-series-number-item': import("vue").DefineComponent<{}, {}, any>;
175
+ 'media-series-text-item': import("vue").DefineComponent<{}, {}, any>;
176
+ 'media-series': import("vue").DefineComponent<{}, {}, any>;
177
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
174
178
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  isVip: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
51
51
  selectColor: string;
52
52
  };
53
53
  };
54
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
55
  isVip: {
56
56
  type: BooleanConstructor;
57
57
  default: boolean;
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
104
104
  selectColor: string;
105
105
  };
106
106
  };
107
- }>>, {
107
+ }>> & Readonly<{}>, {
108
108
  isVip: boolean;
109
109
  gradientBackground: Record<string, any>;
110
110
  gradientFocusBackground: Record<string, any>;
@@ -113,5 +113,5 @@ declare const _default: import("vue").DefineComponent<{
113
113
  markVipColor: string;
114
114
  textColors: Record<string, any>;
115
115
  textVipColors: Record<string, any>;
116
- }, {}>;
116
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
117
117
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  isVip: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
59
59
  type: NumberConstructor;
60
60
  default: number;
61
61
  };
62
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
62
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
63
63
  isVip: {
64
64
  type: BooleanConstructor;
65
65
  default: boolean;
@@ -120,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
120
120
  type: NumberConstructor;
121
121
  default: number;
122
122
  };
123
- }>>, {
123
+ }>> & Readonly<{}>, {
124
124
  isVip: boolean;
125
125
  gradientBackground: Record<string, any>;
126
126
  gradientFocusBackground: Record<string, any>;
@@ -131,5 +131,5 @@ declare const _default: import("vue").DefineComponent<{
131
131
  textVipColors: Record<string, any>;
132
132
  itemWidth: number;
133
133
  itemHeight: number;
134
- }, {}>;
134
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
135
135
  export default _default;