@quicktvui/quicktvui3 1.1.38-beta.2 → 1.1.38-beta.3

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 (85) hide show
  1. package/dist/index.js +5 -5
  2. package/dist/src/animation/QtAnimationAPI.d.ts +44 -0
  3. package/dist/src/app/QtAppIconAPI.d.ts +8 -0
  4. package/dist/src/base/QTIBaseView.d.ts +41 -3
  5. package/dist/src/base/useBaseView.d.ts +41 -3
  6. package/dist/src/button/QtButtonAPI.d.ts +4 -0
  7. package/dist/src/button/index.vue.d.ts +33 -3
  8. package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +14 -0
  9. package/dist/src/classified-list-view/index.vue.d.ts +34 -4
  10. package/dist/src/collapse/QtCollapseAPI.d.ts +13 -0
  11. package/dist/src/collapse/core/QTICollapse.d.ts +1 -1
  12. package/dist/src/collapse/index.vue.d.ts +34 -4
  13. package/dist/src/column/QtColumnAPI.d.ts +4 -0
  14. package/dist/src/core/QTEventData.d.ts +4 -0
  15. package/dist/src/core/QTLocation.d.ts +3 -0
  16. package/dist/src/core/QTNativeParams.d.ts +3 -0
  17. package/dist/src/core/QTPosition.d.ts +4 -0
  18. package/dist/src/focus/QTDescendantFocusability.d.ts +5 -0
  19. package/dist/src/focus/QTFocusDescendant.d.ts +5 -0
  20. package/dist/src/focus/QTFocusDirection.d.ts +8 -0
  21. package/dist/src/focus/QTFocusDirectionName.d.ts +7 -0
  22. package/dist/src/grid-view/QtGridViewAPI.d.ts +16 -0
  23. package/dist/src/grid-view/core/QTGridViewItem.d.ts +2 -5
  24. package/dist/src/grid-view/core/QTIGridView.d.ts +6 -16
  25. package/dist/src/grid-view/index.vue.d.ts +79 -17
  26. package/dist/src/image/QTIImage.d.ts +3 -0
  27. package/dist/src/image/QTImageResizeMode.d.ts +7 -0
  28. package/dist/src/image/QtImageAPI.d.ts +9 -0
  29. package/dist/src/image/index.vue.d.ts +36 -3
  30. package/dist/src/index.d.ts +21 -3
  31. package/dist/src/list/QTIBaseListView.d.ts +48 -0
  32. package/dist/src/list/QTListInitPosition.d.ts +14 -0
  33. package/dist/src/list/QtBaseListViewAPI.d.ts +50 -0
  34. package/dist/src/list/useBaseListView.d.ts +49 -0
  35. package/dist/src/list-item/QTIListItem.d.ts +6 -0
  36. package/dist/src/list-item/QtListItemAPI.d.ts +10 -0
  37. package/dist/src/list-view/QtListViewAPI.d.ts +14 -0
  38. package/dist/src/list-view/core/QTIListView.d.ts +6 -18
  39. package/dist/src/loading/QtLoadingAPI.d.ts +4 -0
  40. package/dist/src/lottie/QtLottieViewAPI.d.ts +35 -0
  41. package/dist/src/nav-bar/QTINavBar.d.ts +2 -0
  42. package/dist/src/nav-bar/QtNavBarAPI.d.ts +10 -0
  43. package/dist/src/nav-bar/index.vue.d.ts +33 -3
  44. package/dist/src/plugin/QtPluginViewAPI.d.ts +7 -0
  45. package/dist/src/poster/QtPosterAPI.d.ts +4 -0
  46. package/dist/src/poster/index.vue.d.ts +33 -3
  47. package/dist/src/progressbar/QTIProgressBar.d.ts +0 -3
  48. package/dist/src/progressbar/QtProgressBarAPI.d.ts +139 -0
  49. package/dist/src/qrcode/QtQRCodeAPI.d.ts +4 -0
  50. package/dist/src/qt/QtAPI.d.ts +64 -0
  51. package/dist/src/qt/warning.d.ts +1 -0
  52. package/dist/src/replace-child/QTIReplaceChildView.d.ts +4 -0
  53. package/dist/src/replace-child/QTReplaceChildView.d.ts +3 -0
  54. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +7 -0
  55. package/dist/src/row/QtRowAPI.d.ts +4 -0
  56. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +8 -0
  57. package/dist/src/section/index.vue.d.ts +33 -3
  58. package/dist/src/seekbar/QTISeekBar.d.ts +0 -1
  59. package/dist/src/seekbar/QtSeekBarAPI.d.ts +142 -0
  60. package/dist/src/series/QtMediaSeriesAPI.d.ts +21 -0
  61. package/dist/src/series/index.vue.d.ts +1 -1
  62. package/dist/src/tab/QTITab.d.ts +1 -1
  63. package/dist/src/tab/QtTabAPI.d.ts +53 -0
  64. package/dist/src/tab/index.vue.d.ts +34 -7
  65. package/dist/src/text/QTIText.d.ts +5 -0
  66. package/dist/src/text/QTTextSpan.d.ts +5 -0
  67. package/dist/src/text/QTTextSpanAttribute.d.ts +5 -0
  68. package/dist/src/text/QTTextSpanAttributeType.d.ts +4 -0
  69. package/dist/src/text/QtTextAPI.d.ts +11 -0
  70. package/dist/src/text/index.vue.d.ts +38 -3
  71. package/dist/src/ul/QTIUL.d.ts +14 -0
  72. package/dist/src/ul/QTULInitPosition.d.ts +2 -0
  73. package/dist/src/ul/QtULAPI.d.ts +17 -0
  74. package/dist/src/utils/type.d.ts +1 -0
  75. package/dist/src/view/QTViewState.d.ts +12 -0
  76. package/dist/src/view/QtViewAPI.d.ts +45 -0
  77. package/dist/src/view/index.vue.d.ts +33 -3
  78. package/dist/src/waterfall/QtWaterfallAPI.d.ts +23 -0
  79. package/dist/src/waterfall/core/QTIWaterfall.d.ts +2 -8
  80. package/dist/src/waterfall/index.vue.d.ts +33 -4
  81. package/dist/src/waterfall/item/plugin-item.vue.d.ts +33 -3
  82. package/dist/src/webview/QtWebViewAPI.d.ts +72 -0
  83. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +72 -0
  84. package/package.json +1 -1
  85. package/dist/src/core/QTDirections.d.ts +0 -6
@@ -1,3 +1,8 @@
1
1
  import { QTIView } from "../view/QTIView";
2
+ import { QTTextSpan } from "./QTTextSpan";
2
3
  export interface QTIText extends QTIView {
4
+ setText(text: string): void;
5
+ setTextSize(size: number): void;
6
+ setTextColor(color: string): void;
7
+ textSpan(span: QTTextSpan): void;
3
8
  }
@@ -0,0 +1,5 @@
1
+ import { QTTextSpanAttribute } from "./QTTextSpanAttribute";
2
+ export interface QTTextSpan {
3
+ text: string;
4
+ spanAttr: QTTextSpanAttribute;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { QTTextSpanAttributeType } from "./QTTextSpanAttributeType";
2
+ export interface QTTextSpanAttribute {
3
+ type: QTTextSpanAttributeType;
4
+ value: Array<number>;
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum QTTextSpanAttributeType {
2
+ QT_TEXT_SPAN_ATTRIBUTE_TYPE_SIZE = "size",
3
+ QT_TEXT_SPAN_ATTRIBUTE_TYPE_COLOR = "color"
4
+ }
@@ -0,0 +1,11 @@
1
+ import { QtViewAPI } from "../view/QtViewAPI";
2
+ import { Ref } from "@vue/reactivity";
3
+ import { QTTextSpan } from "./QTTextSpan";
4
+ import { QTIText } from "./QTIText";
5
+ export interface QtTextAPI extends QtViewAPI {
6
+ setText(instance: string | Ref<QTIText | undefined>, text: string): void;
7
+ setTextSize(instance: string | Ref<QTIText | undefined>, size: number): void;
8
+ setTextColor(instance: string | Ref<QTIText | undefined>, color: string): void;
9
+ textSpan(instance: string | Ref<QTIText | undefined>, span: QTTextSpan): void;
10
+ }
11
+ export declare function createQtTextAPI(viewAPI: QtViewAPI): QtTextAPI;
@@ -1,9 +1,44 @@
1
+ import { QTTextSpan } from "./QTTextSpan";
1
2
  declare const _default: import("vue").DefineComponent<{}, {
2
- dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
3
- requestFocus: () => 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;
4
6
  clearFocus: () => void;
5
- requestFocusDirectly: () => void;
7
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
6
8
  setVisibility: (v: import("..").QTIViewVisibility) => void;
9
+ requestRootLayout: () => void;
10
+ requestLayout: () => void;
11
+ setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
12
+ changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
13
+ forceUpdateRenderNode: () => void;
14
+ setBackGroundColor: (color: string) => void;
15
+ layoutViewManual: () => void;
16
+ blockRootFocus: () => void;
17
+ unBlockRootFocus: () => void;
18
+ changeAlpha: (alpha: number) => void;
19
+ setScale: (x: number, y: number, duration: number) => void;
20
+ setPosition: (x: number, y: number, z: number) => void;
21
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
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;
28
+ enabledAutofocus: (autofocus: boolean) => void;
29
+ requestAutofocus: () => void;
30
+ hasFocus: () => Promise<boolean>;
31
+ isFocused: () => Promise<boolean>;
32
+ getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
33
+ getViewState: () => Promise<import("..").QTViewState>;
34
+ getChildViewState: (position: number) => Promise<import("..").QTViewState>;
35
+ requestChildFocusAtIndex: (position: number) => void;
36
+ clearMemoryFocused: () => void;
37
+ showDialog: (show: boolean) => void;
7
38
  viewRef: import("vue").Ref<any>;
39
+ setText: (text: string) => void;
40
+ setTextSize: (size: number) => void;
41
+ setTextColor: (color: string) => void;
42
+ textSpan: (span: QTTextSpan) => void;
8
43
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
9
44
  export default _default;
@@ -0,0 +1,14 @@
1
+ import { QTIView } from "../view/QTIView";
2
+ import { QTULInitPosition } from "./QTULInitPosition";
3
+ import { QTPosition } from "../core/QTPosition";
4
+ export interface QTIUL extends QTIView {
5
+ scrollToIndex(x: number, y: number, animated: boolean, duration: number, offset: number): void;
6
+ setInitPosition(initPosition: QTULInitPosition): void;
7
+ clearInitPosition(): void;
8
+ scrollToContentOffset(x: number, y: number, animated: boolean, duration: number): void;
9
+ scrollToTop(): void;
10
+ setSelectChildPosition(position: number, changeFocusTarget?: boolean): void;
11
+ setTargetFocusChildPosition(position: number): void;
12
+ refreshListData(): void;
13
+ getScrollOffset(): Promise<QTPosition>;
14
+ }
@@ -0,0 +1,2 @@
1
+ import { QTListInitPosition } from "../list/QTListInitPosition";
2
+ export type QTULInitPosition = QTListInitPosition;
@@ -0,0 +1,17 @@
1
+ import { QtViewAPI } from "../view/QtViewAPI";
2
+ import { Ref } from "@vue/reactivity";
3
+ import { QTULInitPosition } from "./QTULInitPosition";
4
+ import { QTPosition } from "../core/QTPosition";
5
+ import { QTIUL } from "./QTIUL";
6
+ export interface QtULAPI extends QtViewAPI {
7
+ scrollToIndex(instance: string | Ref<QTIUL | undefined>, x: number, y: number, animated: boolean, duration: number, offset: number): void;
8
+ setInitPosition(instance: string | Ref<QTIUL | undefined>, initPosition: QTULInitPosition): void;
9
+ clearInitPosition(instance: string | Ref<QTIUL | undefined>): void;
10
+ scrollToContentOffset(instance: string | Ref<QTIUL | undefined>, x: number, y: number, animated: boolean, duration: number): void;
11
+ scrollToTop(instance: string | Ref<QTIUL | undefined>): void;
12
+ setSelectChildPosition(instance: string | Ref<QTIUL | undefined>, position: number, changeFocusTarget?: boolean): void;
13
+ setTargetFocusChildPosition(instance: string | Ref<QTIUL | undefined>, position: number): void;
14
+ refreshListData(instance: string | Ref<QTIUL | undefined>): void;
15
+ getScrollOffset(instance: string | Ref<QTIUL | undefined>): Promise<QTPosition>;
16
+ }
17
+ export declare function createQtULAPI(viewAPI: QtViewAPI): QtULAPI;
@@ -0,0 +1 @@
1
+ export declare const isString: (val: unknown) => boolean;
@@ -0,0 +1,12 @@
1
+ export interface QTViewState {
2
+ left: number;
3
+ top: number;
4
+ right: number;
5
+ bottom: number;
6
+ width: number;
7
+ height: number;
8
+ hasFocus: boolean;
9
+ isFocused: boolean;
10
+ alpha: number;
11
+ name: string;
12
+ }
@@ -0,0 +1,45 @@
1
+ import { QTIViewVisibility } from "./QTIViewVisibility";
2
+ import { Ref } from "@vue/reactivity";
3
+ import { QTIView } from "./QTIView";
4
+ import { QTFocusDirection } from "../focus/QTFocusDirection";
5
+ import { QTFocusDescendant } from "../focus/QTFocusDescendant";
6
+ import { QTDescendantFocusability } from "../focus/QTDescendantFocusability";
7
+ import { QTNativeParams } from "../core/QTNativeParams";
8
+ import { QTFocusDirectionName } from "../focus/QTFocusDirectionName";
9
+ import { QTEventData } from "../core/QTEventData";
10
+ import { QTLocation } from "../core/QTLocation";
11
+ import { QTViewState } from "./QTViewState";
12
+ export interface QtViewAPI {
13
+ requestFocus(instance: string | Ref<QTIView | undefined>, direction?: QTFocusDirection): void;
14
+ requestChildFocus(instance: string | Ref<QTIView | undefined>, position: number): void;
15
+ clearFocus(instance: string | Ref<QTIView | undefined>): void;
16
+ requestFocusDirectly(instance: string | Ref<QTIView | undefined>, direction?: QTFocusDirection): void;
17
+ setVisibility(instance: string | Ref<QTIView | undefined>, v: QTIViewVisibility): void;
18
+ requestRootLayout(instance: string | Ref<QTIView | undefined>): void;
19
+ requestLayout(instance: string | Ref<QTIView | undefined>): void;
20
+ setDescendantFocusability(instance: string | Ref<QTIView | undefined>, descendant: QTFocusDescendant): void;
21
+ changeDescendantFocusability(instance: string | Ref<QTIView | undefined>, descendant: QTDescendantFocusability): void;
22
+ forceUpdateRenderNode(instance: string | Ref<QTIView | undefined>): void;
23
+ setBackGroundColor(instance: string | Ref<QTIView | undefined>, color: string): void;
24
+ layoutViewManual(instance: string | Ref<QTIView | undefined>): void;
25
+ blockRootFocus(instance: string | Ref<QTIView | undefined>): void;
26
+ unBlockRootFocus(instance: string | Ref<QTIView | undefined>): void;
27
+ changeAlpha(instance: string | Ref<QTIView | undefined>, alpha: number): void;
28
+ setScale(instance: string | Ref<QTIView | undefined>, x: number, y: number, duration: number): void;
29
+ setPosition(instance: string | Ref<QTIView | undefined>, x: number, y: number, z: number): void;
30
+ updateLayout(instance: string | Ref<QTIView | undefined>, width: number, height: number, x: number, y: number): void;
31
+ invalidate(instance: string | Ref<QTIView | undefined>): void;
32
+ dispatchFunctionForTarget(instance: string | Ref<QTIView | undefined>, targetName: string, functionTargetName: string, params: Array<QTNativeParams>, delay: number): void;
33
+ setBlockFocusDirections(instance: string | Ref<QTIView | undefined>, directionList: Array<QTFocusDirectionName>): void;
34
+ setBlockFocusDirectionsOnFail(instance: string | Ref<QTIView | undefined>, directionList: Array<QTFocusDirectionName>): void;
35
+ setInitFocus(instance: string | Ref<QTIView | undefined>, sid: string, delay?: number): void;
36
+ setAutoFocus(instance: string | Ref<QTIView | undefined>, sid: string, delay?: number): void;
37
+ enabledAutofocus(instance: string | Ref<QTIView | undefined>, autofocus: boolean): void;
38
+ requestAutofocus(instance: string | Ref<QTIView | undefined>): void;
39
+ hasFocus(instance: string | Ref<QTIView | undefined>): Promise<boolean>;
40
+ isFocused(instance: string | Ref<QTIView | undefined>): Promise<boolean>;
41
+ getLocationOnScreen(instance: string | Ref<QTIView | undefined>): Promise<QTEventData<QTLocation>>;
42
+ getViewState(instance: string | Ref<QTIView | undefined>): Promise<QTViewState>;
43
+ getChildViewState(instance: string | Ref<QTIView | undefined>, position: number): Promise<QTViewState>;
44
+ }
45
+ export declare function createQtViewAPI(): QtViewAPI;
@@ -1,9 +1,39 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
- dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
3
- requestFocus: () => void;
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;
4
5
  clearFocus: () => void;
5
- requestFocusDirectly: () => void;
6
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
6
7
  setVisibility: (v: import("./QTIViewVisibility").QTIViewVisibility) => void;
8
+ requestRootLayout: () => void;
9
+ requestLayout: () => void;
10
+ setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
11
+ changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
12
+ forceUpdateRenderNode: () => void;
13
+ setBackGroundColor: (color: string) => void;
14
+ layoutViewManual: () => void;
15
+ blockRootFocus: () => void;
16
+ unBlockRootFocus: () => void;
17
+ changeAlpha: (alpha: number) => void;
18
+ setScale: (x: number, y: number, duration: number) => void;
19
+ setPosition: (x: number, y: number, z: number) => void;
20
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
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;
27
+ enabledAutofocus: (autofocus: boolean) => void;
28
+ requestAutofocus: () => void;
29
+ hasFocus: () => Promise<boolean>;
30
+ isFocused: () => Promise<boolean>;
31
+ getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
32
+ getViewState: () => Promise<import("./QTViewState").QTViewState>;
33
+ getChildViewState: (position: number) => Promise<import("./QTViewState").QTViewState>;
34
+ requestChildFocusAtIndex: (position: number) => void;
35
+ clearMemoryFocused: () => void;
36
+ showDialog: (show: boolean) => void;
7
37
  viewRef: import("vue").Ref<any>;
8
38
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
9
39
  onClearFocus?: ((...args: any[]) => any) | undefined;
@@ -0,0 +1,23 @@
1
+ import { QtViewAPI } from "../view/QtViewAPI";
2
+ import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
3
+ import { QTWaterfall } from "./core/QTWaterfall";
4
+ import { QTWaterfallSection } from "./core/QTWaterfallSection";
5
+ import { QTWaterfallItem } from "./core/QTWaterfallItem";
6
+ import { Ref } from "@vue/reactivity";
7
+ import { QTIWaterfall } from "./core/QTIWaterfall";
8
+ export interface QtWaterfallAPI extends QtViewAPI, QtBaseListViewAPI {
9
+ init(instance: Ref<QTIWaterfall | undefined>, waterfall: QTWaterfall): any;
10
+ getSectionList(instance: Ref<QTIWaterfall | undefined>): Array<QTWaterfallSection>;
11
+ setSectionList(instance: Ref<QTIWaterfall | undefined>, sections: Array<QTWaterfallSection>): void;
12
+ addSectionList(instance: Ref<QTIWaterfall | undefined>, sections: Array<QTWaterfallSection>): void;
13
+ deleteSection(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, count: number): void;
14
+ updateSection(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, section: QTWaterfallSection): void;
15
+ updateSectionList(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, count: number, sectionList: Array<QTWaterfallSection>): void;
16
+ getSection(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number): QTWaterfallSection | undefined;
17
+ addItemList(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemList: Array<QTWaterfallItem>): void;
18
+ deleteItem(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number, count: number): void;
19
+ updateItem(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number, item: QTWaterfallItem): void;
20
+ updateItemList(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): void;
21
+ getItem(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
22
+ }
23
+ export declare function createQtWaterfallAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtWaterfallAPI;
@@ -1,8 +1,8 @@
1
1
  import { QTWaterfallSection } from "./QTWaterfallSection";
2
2
  import { QTWaterfall } from "./QTWaterfall";
3
3
  import { QTWaterfallItem } from "./QTWaterfallItem";
4
- import { QTIView } from "../../view/QTIView";
5
- export interface QTIWaterfall extends QTIView {
4
+ import { QTIBaseListView } from "../../list/QTIBaseListView";
5
+ export interface QTIWaterfall extends QTIBaseListView {
6
6
  init(waterfall: QTWaterfall): any;
7
7
  getSectionList(): Array<QTWaterfallSection>;
8
8
  setSectionList(sections: Array<QTWaterfallSection>): void;
@@ -16,10 +16,4 @@ export interface QTIWaterfall extends QTIView {
16
16
  updateItem(sectionIndex: number, itemIndex: number, item: QTWaterfallItem): void;
17
17
  updateItemList(sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): void;
18
18
  getItem(sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
19
- clearPostTask(): void;
20
- pausePostTask(): void;
21
- resumePostTask(): void;
22
- destroy(): void;
23
- scrollToTop(): void;
24
- setListData(): void;
25
19
  }
@@ -69,15 +69,44 @@ declare const _default: import("vue").DefineComponent<{
69
69
  required: false;
70
70
  };
71
71
  }, {
72
- dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
73
- requestFocus: () => void;
72
+ dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
73
+ requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
74
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
74
75
  clearFocus: () => void;
75
- requestFocusDirectly: () => void;
76
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
76
77
  setVisibility: (v: import("..").QTIViewVisibility) => void;
78
+ requestRootLayout: () => void;
79
+ requestLayout: () => void;
80
+ setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
81
+ changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
82
+ forceUpdateRenderNode: () => void;
83
+ setBackGroundColor: (color: string) => void;
84
+ layoutViewManual: () => void;
85
+ blockRootFocus: () => void;
86
+ unBlockRootFocus: () => void;
87
+ changeAlpha: (alpha: number) => void;
88
+ setScale: (x: number, y: number, duration: number) => void;
89
+ setPosition: (x: number, y: number, z: number) => void;
90
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
91
+ invalidate: () => void;
92
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
93
+ setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
94
+ setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
95
+ setInitFocus: (sid: string, delay?: number | undefined) => void;
96
+ setAutoFocus: (sid: string, delay?: number | undefined) => void;
97
+ enabledAutofocus: (autofocus: boolean) => void;
98
+ requestAutofocus: () => void;
99
+ hasFocus: () => Promise<boolean>;
100
+ isFocused: () => Promise<boolean>;
101
+ getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
102
+ getViewState: () => Promise<import("..").QTViewState>;
103
+ getChildViewState: (position: number) => Promise<import("..").QTViewState>;
104
+ requestChildFocusAtIndex: (position: number) => void;
105
+ clearMemoryFocused: () => void;
106
+ showDialog: (show: boolean) => void;
77
107
  waterfallRef: import("vue").Ref<ESIListView | undefined>;
78
108
  visibleType: import("vue").Ref<QTWaterfallVisibleType>;
79
109
  init: (data: QTWaterfall) => void;
80
- setAutoFocus: (tag: string, delay: number) => void;
81
110
  getSectionList: () => Array<QTWaterfallSection>;
82
111
  setSectionList: (sectionList: Array<QTWaterfallSection>) => void;
83
112
  addSectionList: (sectionList: Array<QTWaterfallSection>) => void;
@@ -1,10 +1,40 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  onFocus: (e: any) => void;
3
- dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
4
- requestFocus: () => 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;
5
6
  clearFocus: () => void;
6
- requestFocusDirectly: () => void;
7
+ requestFocusDirectly: (direction?: import("../..").QTFocusDirection | undefined) => void;
7
8
  setVisibility: (v: import("../..").QTIViewVisibility) => void;
9
+ requestRootLayout: () => void;
10
+ requestLayout: () => void;
11
+ setDescendantFocusability: (descendant: import("../..").QTFocusDescendant) => void;
12
+ changeDescendantFocusability: (descendant: import("../..").QTDescendantFocusability) => void;
13
+ forceUpdateRenderNode: () => void;
14
+ setBackGroundColor: (color: string) => void;
15
+ layoutViewManual: () => void;
16
+ blockRootFocus: () => void;
17
+ unBlockRootFocus: () => void;
18
+ changeAlpha: (alpha: number) => void;
19
+ setScale: (x: number, y: number, duration: number) => void;
20
+ setPosition: (x: number, y: number, z: number) => void;
21
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
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;
28
+ enabledAutofocus: (autofocus: boolean) => void;
29
+ requestAutofocus: () => void;
30
+ hasFocus: () => Promise<boolean>;
31
+ isFocused: () => Promise<boolean>;
32
+ getLocationOnScreen: () => Promise<import("../..").QTEventData<import("../..").QTLocation>>;
33
+ getViewState: () => Promise<import("../..").QTViewState>;
34
+ getChildViewState: (position: number) => Promise<import("../..").QTViewState>;
35
+ requestChildFocusAtIndex: (position: number) => void;
36
+ clearMemoryFocused: () => void;
37
+ showDialog: (show: boolean) => void;
8
38
  viewRef: import("vue").Ref<any>;
9
39
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
10
40
  onFocus?: ((...args: any[]) => any) | undefined;
@@ -0,0 +1,72 @@
1
+ import { QtViewAPI } from "../view/QtViewAPI";
2
+ import { Ref } from "@vue/reactivity";
3
+ import { QTIWebView } from "./QTIWebView";
4
+ export interface QtWebViewAPI extends QtViewAPI {
5
+ loadUrl(instance: string | Ref<QTIWebView | undefined>, url: string): void;
6
+ evaluateJavascript(instance: string | Ref<QTIWebView | undefined>, value: string): Promise<string | undefined | null>;
7
+ canGoBack(instance: string | Ref<QTIWebView | undefined>): void;
8
+ goBack(instance: string | Ref<QTIWebView | undefined>): void;
9
+ canGoForward(instance: string | Ref<QTIWebView | undefined>): void;
10
+ goForward(instance: string | Ref<QTIWebView | undefined>): void;
11
+ canGoBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
12
+ goBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
13
+ onResume(instance: string | Ref<QTIWebView | undefined>): void;
14
+ onPause(instance: string | Ref<QTIWebView | undefined>): void;
15
+ pauseTimers(instance: string | Ref<QTIWebView | undefined>): void;
16
+ resumeTimers(instance: string | Ref<QTIWebView | undefined>): void;
17
+ destroy(instance: string | Ref<QTIWebView | undefined>): void;
18
+ setJavaScriptEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
19
+ setPluginState(instance: string | Ref<QTIWebView | undefined>, value: number): void;
20
+ setJavaScriptCanOpenWindowsAutomatically(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
21
+ setUseWideViewPort(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
22
+ setLoadWithOverviewMode(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
23
+ setSupportZoom(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
24
+ setBuiltInZoomControls(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
25
+ setDisplayZoomControls(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
26
+ setAllowFileAccess(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
27
+ setDomStorageEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
28
+ setDatabaseEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
29
+ setAppCacheEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
30
+ setAppCachePath(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
31
+ setMediaPlaybackRequiresUserGesture(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
32
+ setStandardFontFamily(instance: string | Ref<QTIWebView | undefined>, value: string): void;
33
+ setFixedFontFamily(instance: string | Ref<QTIWebView | undefined>, value: string): void;
34
+ setSansSerifFontFamily(instance: string | Ref<QTIWebView | undefined>, value: string): void;
35
+ setSerifFontFamily(instance: string | Ref<QTIWebView | undefined>, value: string): void;
36
+ setCursiveFontFamily(instance: string | Ref<QTIWebView | undefined>, value: string): void;
37
+ setFantasyFontFamily(instance: string | Ref<QTIWebView | undefined>, value: string): void;
38
+ setTextZoom(instance: string | Ref<QTIWebView | undefined>, value: number): void;
39
+ setMinimumFontSize(instance: string | Ref<QTIWebView | undefined>, value: number): void;
40
+ setDefaultFontSize(instance: string | Ref<QTIWebView | undefined>, value: number): void;
41
+ setLayoutAlgorithm(instance: string | Ref<QTIWebView | undefined>, value: number): void;
42
+ setLoadsImagesAutomatically(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
43
+ setDefaultTextEncodingName(instance: string | Ref<QTIWebView | undefined>, value: string): void;
44
+ setNeedInitialFocus(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
45
+ setGeolocationEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
46
+ setBlockNetworkLoads(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
47
+ setSupportMultipleWindows(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
48
+ setAppCacheMaxSize(instance: string | Ref<QTIWebView | undefined>, value: number): void;
49
+ setRenderPriority(instance: string | Ref<QTIWebView | undefined>, value: number): void;
50
+ setCacheMode(instance: string | Ref<QTIWebView | undefined>, value: number): void;
51
+ setAllowContentAccess(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
52
+ setEnableSmoothTransition(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
53
+ setSaveFormData(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
54
+ setSavePassword(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
55
+ setTextSize(instance: string | Ref<QTIWebView | undefined>, value: number): void;
56
+ setDefaultZoom(instance: string | Ref<QTIWebView | undefined>, value: number): void;
57
+ setLightTouchEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
58
+ setMinimumLogicalFontSize(instance: string | Ref<QTIWebView | undefined>, value: number): any;
59
+ setDefaultFixedFontSize(instance: string | Ref<QTIWebView | undefined>, value: number): void;
60
+ setBlockNetworkImage(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
61
+ setAllowUniversalAccessFromFileURLs(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
62
+ setAllowFileAccessFromFileURLs(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
63
+ setDatabasePath(instance: string | Ref<QTIWebView | undefined>, value: string): void;
64
+ setGeolocationDatabasePath(instance: string | Ref<QTIWebView | undefined>, value: string): void;
65
+ setUserAgentString(instance: string | Ref<QTIWebView | undefined>, value: string): void;
66
+ setMixedContentMode(instance: string | Ref<QTIWebView | undefined>, value: number): void;
67
+ setOffscreenPreRaster(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
68
+ setSafeBrowsingEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
69
+ setForceDark(instance: string | Ref<QTIWebView | undefined>, value: number): void;
70
+ setDisabledActionModeMenuItems(instance: string | Ref<QTIWebView | undefined>, value: number): void;
71
+ }
72
+ export declare function createQtWebViewAPI(viewAPI: QtViewAPI): QtWebViewAPI;
@@ -0,0 +1,72 @@
1
+ import { QtViewAPI } from "../view/QtViewAPI";
2
+ import { Ref } from "@vue/reactivity";
3
+ import { QTIX5WebView } from "./QTIX5WebView";
4
+ export interface QtX5WebViewAPI extends QtViewAPI {
5
+ loadUrl(instance: string | Ref<QTIX5WebView | undefined>, url: string): void;
6
+ evaluateJavascript(instance: string | Ref<QTIX5WebView | undefined>, value: string): Promise<string | undefined | null>;
7
+ canGoBack(instance: string | Ref<QTIX5WebView | undefined>): void;
8
+ goBack(instance: string | Ref<QTIX5WebView | undefined>): void;
9
+ canGoForward(instance: string | Ref<QTIX5WebView | undefined>): void;
10
+ goForward(instance: string | Ref<QTIX5WebView | undefined>): void;
11
+ canGoBackOrForward(instance: string | Ref<QTIX5WebView | undefined>, steps: number): void;
12
+ goBackOrForward(instance: string | Ref<QTIX5WebView | undefined>, steps: number): void;
13
+ onResume(instance: string | Ref<QTIX5WebView | undefined>): void;
14
+ onPause(instance: string | Ref<QTIX5WebView | undefined>): void;
15
+ pauseTimers(instance: string | Ref<QTIX5WebView | undefined>): void;
16
+ resumeTimers(instance: string | Ref<QTIX5WebView | undefined>): void;
17
+ destroy(instance: string | Ref<QTIX5WebView | undefined>): void;
18
+ setJavaScriptEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
19
+ setPluginState(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
20
+ setJavaScriptCanOpenWindowsAutomatically(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
21
+ setUseWideViewPort(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
22
+ setLoadWithOverviewMode(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
23
+ setSupportZoom(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
24
+ setBuiltInZoomControls(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
25
+ setDisplayZoomControls(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
26
+ setAllowFileAccess(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
27
+ setDomStorageEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
28
+ setDatabaseEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
29
+ setAppCacheEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
30
+ setAppCachePath(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
31
+ setMediaPlaybackRequiresUserGesture(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
32
+ setStandardFontFamily(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
33
+ setFixedFontFamily(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
34
+ setSansSerifFontFamily(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
35
+ setSerifFontFamily(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
36
+ setCursiveFontFamily(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
37
+ setFantasyFontFamily(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
38
+ setTextZoom(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
39
+ setMinimumFontSize(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
40
+ setDefaultFontSize(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
41
+ setLayoutAlgorithm(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
42
+ setLoadsImagesAutomatically(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
43
+ setDefaultTextEncodingName(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
44
+ setNeedInitialFocus(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
45
+ setGeolocationEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
46
+ setBlockNetworkLoads(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
47
+ setSupportMultipleWindows(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
48
+ setAppCacheMaxSize(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
49
+ setRenderPriority(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
50
+ setCacheMode(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
51
+ setAllowContentAccess(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
52
+ setEnableSmoothTransition(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
53
+ setSaveFormData(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
54
+ setSavePassword(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
55
+ setTextSize(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
56
+ setDefaultZoom(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
57
+ setLightTouchEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
58
+ setMinimumLogicalFontSize(instance: string | Ref<QTIX5WebView | undefined>, value: number): any;
59
+ setDefaultFixedFontSize(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
60
+ setBlockNetworkImage(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
61
+ setAllowUniversalAccessFromFileURLs(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
62
+ setAllowFileAccessFromFileURLs(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
63
+ setDatabasePath(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
64
+ setGeolocationDatabasePath(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
65
+ setUserAgentString(instance: string | Ref<QTIX5WebView | undefined>, value: string): void;
66
+ setMixedContentMode(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
67
+ setOffscreenPreRaster(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
68
+ setSafeBrowsingEnabled(instance: string | Ref<QTIX5WebView | undefined>, value: boolean): void;
69
+ setForceDark(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
70
+ setDisabledActionModeMenuItems(instance: string | Ref<QTIX5WebView | undefined>, value: number): void;
71
+ }
72
+ export declare function createQtX5WebViewAPI(viewAPI: QtViewAPI): QtX5WebViewAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.1.38-beta.2",
3
+ "version": "1.1.38-beta.3",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",
@@ -1,6 +0,0 @@
1
- export declare enum QTDirections {
2
- QT_DIRECTION_UP = "up",
3
- QT_DIRECTION_DOWN = "down",
4
- QT_DIRECTION_RIGHT = "right",
5
- QT_DIRECTION_LEFT = "left"
6
- }