@quicktvui/quicktvui3 1.2.0-beta.2 → 1.2.0-beta.21

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 (69) 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/classified-list-view/QtClassifiedListViewAPI.d.ts +3 -3
  10. package/dist/src/classified-list-view/index.vue.d.ts +19 -19
  11. package/dist/src/collapse/QtCollapseAPI.d.ts +3 -3
  12. package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
  13. package/dist/src/collapse/index.vue.d.ts +18 -18
  14. package/dist/src/column/QtColumnAPI.d.ts +3 -3
  15. package/dist/src/grid-view/QtGridViewAPI.d.ts +3 -3
  16. package/dist/src/grid-view/index.vue.d.ts +31 -31
  17. package/dist/src/image/QtImageAPI.d.ts +3 -3
  18. package/dist/src/image/index.vue.d.ts +11 -11
  19. package/dist/src/index.d.ts +2 -0
  20. package/dist/src/list/useListView.d.ts +49 -0
  21. package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +3 -0
  22. package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +15 -0
  23. package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +11 -0
  24. package/dist/src/list-item/QtListItemAPI.d.ts +3 -3
  25. package/dist/src/list-view/QtListViewAPI.d.ts +3 -3
  26. package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
  27. package/dist/src/lottie/QTILottieView.d.ts +2 -0
  28. package/dist/src/lottie/QTLottieEvent.d.ts +5 -0
  29. package/dist/src/lottie/QtLottieViewAPI.d.ts +5 -3
  30. package/dist/src/nav-bar/QtNavBarAPI.d.ts +3 -3
  31. package/dist/src/nav-bar/index.vue.d.ts +16 -16
  32. package/dist/src/plugin/QtPluginViewAPI.d.ts +3 -3
  33. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  34. package/dist/src/poster/index.vue.d.ts +19 -16
  35. package/dist/src/progressbar/QtProgressBarAPI.d.ts +3 -3
  36. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  37. package/dist/src/qt/QtAPI.d.ts +36 -0
  38. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  39. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +3 -3
  40. package/dist/src/row/QtRowAPI.d.ts +3 -3
  41. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +3 -3
  42. package/dist/src/section/index.vue.d.ts +11 -11
  43. package/dist/src/seekbar/QtSeekBarAPI.d.ts +3 -3
  44. package/dist/src/series/component/media-series.vue.d.ts +8 -8
  45. package/dist/src/series/index.vue.d.ts +20 -16
  46. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  47. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  48. package/dist/src/tab/index.vue.d.ts +22 -48
  49. package/dist/src/text/QtTextAPI.d.ts +3 -3
  50. package/dist/src/text/index.vue.d.ts +11 -11
  51. package/dist/src/ul/QtULAPI.d.ts +3 -3
  52. package/dist/src/utils/type.d.ts +1 -1
  53. package/dist/src/view/QtViewAPI.d.ts +3 -44
  54. package/dist/src/view/index.vue.d.ts +12 -12
  55. package/dist/src/waterfall/QtWaterfallAPI.d.ts +3 -3
  56. package/dist/src/waterfall/index.vue.d.ts +37 -24
  57. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  58. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  59. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  60. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  61. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  62. package/dist/src/waterfall/section/flex-section.vue.d.ts +9 -6
  63. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  64. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  65. package/dist/src/waterfall/section/section-title.vue.d.ts +4 -4
  66. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  67. package/dist/src/webview/QtWebViewAPI.d.ts +3 -3
  68. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +3 -3
  69. package/package.json +5 -1
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  onFocus: (e: any) => 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;
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;
6
6
  clearFocus: () => void;
7
- requestFocusDirectly: (direction?: import("../..").QTFocusDirection | undefined) => void;
7
+ requestFocusDirectly: (direction?: import("../..").QTFocusDirection) => 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: 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;
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;
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>;
39
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
38
+ viewRef: import("vue").Ref<any, any>;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<{}> & Readonly<{
40
40
  onFocus?: ((...args: any[]) => any) | undefined;
41
- }, {}, {}>;
41
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  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").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
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").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
3
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
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").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
2
2
  import { QTWaterfallItemType } from "../core/QTWaterfallItemType";
3
- declare const _default: import("@vue/runtime-core").DefineComponent<{
3
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
4
4
  enablePlaceholder: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -41,9 +41,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
41
41
  cardItemEnable: boolean;
42
42
  };
43
43
  };
44
- }, {
44
+ }>, {
45
45
  onFocus: (e: any) => void;
46
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
46
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
47
47
  enablePlaceholder: {
48
48
  type: BooleanConstructor;
49
49
  default: boolean;
@@ -84,9 +84,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
84
84
  cardItemEnable: boolean;
85
85
  };
86
86
  };
87
- }>> & {
87
+ }>> & Readonly<{
88
88
  onFocus?: ((...args: any[]) => any) | undefined;
89
- }, {
89
+ }>, {
90
90
  enablePlaceholder: boolean;
91
91
  plateData: string;
92
92
  useDiff: boolean;
@@ -96,5 +96,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
96
96
  currentPageIndex: number;
97
97
  itemFocusScale: number;
98
98
  flexSection: Record<string, any>;
99
- }, {}>;
99
+ }, {}, {
100
+ 'card-item': import("@vue/runtime-core").DefineComponent<{}, {}, any>;
101
+ 'qt-plugin-item': import("@vue/runtime-core").DefineComponent<{}, {}, any>;
102
+ }, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
100
103
  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").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
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<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,18 +1,18 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
2
2
  pluginKey: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- }, {
6
+ }>, {
7
7
  onFocus: (e: any) => void;
8
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
8
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
9
9
  pluginKey: {
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
- }>> & {
13
+ }>> & Readonly<{
14
14
  onFocus?: ((...args: any[]) => any) | undefined;
15
- }, {
15
+ }>, {
16
16
  pluginKey: string;
17
- }, {}>;
17
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
18
18
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
2
- declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
3
3
  plateTitleLeftMargin: {
4
4
  type: NumberConstructor;
5
5
  default: number;
@@ -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").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
11
+ }>, {}, {}, {}, {}, 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;
@@ -17,8 +17,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
17
17
  type: NumberConstructor;
18
18
  default: QTWaterfallSectionType;
19
19
  };
20
- }>>, {
20
+ }>> & Readonly<{}>, {
21
21
  plateTitleLeftMargin: number;
22
22
  type: number;
23
- }, {}>;
23
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
24
24
  export default _default;
@@ -1,16 +1,16 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
2
2
  blockFocusDirections: {
3
3
  type: ArrayConstructor;
4
4
  default: () => string[];
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").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
8
+ }, {}, {}, {}, 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[];
12
12
  };
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  blockFocusDirections: unknown[];
15
- }, {}>;
15
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
16
16
  export default _default;
@@ -1,7 +1,7 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTIWebView } from "./QTIWebView";
4
- export interface QtWebViewAPI extends QtViewAPI {
3
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
4
+ export interface QtWebViewAPI extends QtBaseViewAPI {
5
5
  loadUrl(instance: string | Ref<QTIWebView | undefined>, url: string): void;
6
6
  evaluateJavascript(instance: string | Ref<QTIWebView | undefined>, value: string): Promise<string | undefined | null>;
7
7
  canGoBack(instance: string | Ref<QTIWebView | undefined>): void;
@@ -72,4 +72,4 @@ export interface QtWebViewAPI extends QtViewAPI {
72
72
  removeJavaScriptInterface(instance: string | Ref<QTIWebView | undefined>): void;
73
73
  initWebViewFocus(instance: string | Ref<QTIWebView | undefined>, delayTime: number, x: number, y: number): void;
74
74
  }
75
- export declare function createQtWebViewAPI(viewAPI: QtViewAPI): QtWebViewAPI;
75
+ export declare function createQtWebViewAPI(viewAPI: QtBaseViewAPI): QtWebViewAPI;
@@ -1,7 +1,7 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
1
  import { Ref } from "@vue/reactivity";
3
2
  import { QTIX5WebView } from "./QTIX5WebView";
4
- export interface QtX5WebViewAPI extends QtViewAPI {
3
+ import { QtBaseViewAPI } from "../base/QtBaseViewAPI";
4
+ export interface QtX5WebViewAPI extends QtBaseViewAPI {
5
5
  loadUrl(instance: string | Ref<QTIX5WebView | undefined>, url: string): void;
6
6
  evaluateJavascript(instance: string | Ref<QTIX5WebView | undefined>, value: string): Promise<string | undefined | null>;
7
7
  canGoBack(instance: string | Ref<QTIX5WebView | undefined>): void;
@@ -72,4 +72,4 @@ export interface QtX5WebViewAPI extends QtViewAPI {
72
72
  removeJavaScriptInterface(instance: string | Ref<QTIX5WebView | undefined>): void;
73
73
  initWebViewFocus(instance: string | Ref<QTIX5WebView | undefined>, delayTime: number, x: number, y: number): void;
74
74
  }
75
- export declare function createQtX5WebViewAPI(viewAPI: QtViewAPI): QtX5WebViewAPI;
75
+ export declare function createQtX5WebViewAPI(viewAPI: QtBaseViewAPI): QtX5WebViewAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.2.0-beta.2",
3
+ "version": "1.2.0-beta.21",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",
@@ -15,6 +15,10 @@
15
15
  "framework",
16
16
  "compiler"
17
17
  ],
18
+ "peerDependencies": {
19
+ "@extscreen/es3-core": "^1.1.24",
20
+ "@extscreen/es3-router": "^1.1.14"
21
+ },
18
22
  "files": [
19
23
  "dist",
20
24
  "web-types.json"