@quicktvui/quicktvui3 1.2.0-beta.4 → 1.2.0-beta.40

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 (184) hide show
  1. package/dist/index.css +17 -29
  2. package/dist/index.js +8 -9
  3. package/dist/src/animation/QTAnimation.d.ts +1 -1
  4. package/dist/src/animation/QTIAnimation.d.ts +19 -9
  5. package/dist/src/animation/QtAnimationAPI.d.ts +16 -34
  6. package/dist/src/animation/types.d.ts +40 -0
  7. package/dist/src/app/QTAppIcon.d.ts +1 -1
  8. package/dist/src/app/QtAppIconAPI.d.ts +5 -5
  9. package/dist/src/base/QTIBaseView.d.ts +10 -10
  10. package/dist/src/base/QtBaseNativeViewAPI.d.ts +2 -0
  11. package/dist/src/base/QtBaseViewAPI.d.ts +45 -0
  12. package/dist/src/base/useBaseView.d.ts +11 -11
  13. package/dist/src/button/QTIButton.d.ts +1 -1
  14. package/dist/src/button/QtButtonAPI.d.ts +3 -3
  15. package/dist/src/button/index.vue.d.ts +21 -21
  16. package/dist/src/canvas/CanvasGradient.d.ts +36 -0
  17. package/dist/src/canvas/QTCanvasView.d.ts +3 -0
  18. package/dist/src/canvas/QTICanvasView.d.ts +50 -0
  19. package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
  20. package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +6 -6
  21. package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +2 -2
  22. package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +2 -2
  23. package/dist/src/classified-list-view/index.vue.d.ts +21 -21
  24. package/dist/src/collapse/QtCollapseAPI.d.ts +7 -7
  25. package/dist/src/collapse/core/QTCollapse.d.ts +1 -1
  26. package/dist/src/collapse/core/QTICollapse.d.ts +3 -3
  27. package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
  28. package/dist/src/collapse/index.vue.d.ts +18 -18
  29. package/dist/src/column/QTIColumn.d.ts +1 -1
  30. package/dist/src/column/QtColumnAPI.d.ts +3 -3
  31. package/dist/src/core/QTFlexStyleGradientBackground.d.ts +1 -1
  32. package/dist/src/core/QTLocation.d.ts +2 -2
  33. package/dist/src/dialog/QTDialog.d.ts +1 -1
  34. package/dist/src/dialog/QTIDialog.d.ts +1 -1
  35. package/dist/src/gradient/QTGradient.d.ts +3 -3
  36. package/dist/src/grid-view/QtGridViewAPI.d.ts +7 -7
  37. package/dist/src/grid-view/core/QTGridViewItem.d.ts +1 -1
  38. package/dist/src/grid-view/core/QTIGridView.d.ts +2 -2
  39. package/dist/src/grid-view/index.vue.d.ts +32 -32
  40. package/dist/src/image/QTIImage.d.ts +2 -2
  41. package/dist/src/image/QtImageAPI.d.ts +6 -6
  42. package/dist/src/image/index.vue.d.ts +12 -12
  43. package/dist/src/index.d.ts +11 -6
  44. package/dist/src/list/QTIBaseListView.d.ts +5 -5
  45. package/dist/src/list/QtBaseListViewAPI.d.ts +6 -6
  46. package/dist/src/list/useBaseListView.d.ts +6 -6
  47. package/dist/src/list/useListView.d.ts +49 -0
  48. package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +1 -1
  49. package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +7 -7
  50. package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +2 -2
  51. package/dist/src/list-item/ESListItemComponent.d.ts +1 -1
  52. package/dist/src/list-item/QtListItemAPI.d.ts +5 -5
  53. package/dist/src/list-view/QTListViewComponent.d.ts +1 -1
  54. package/dist/src/list-view/QtListViewAPI.d.ts +7 -7
  55. package/dist/src/list-view/core/QTIListView.d.ts +2 -2
  56. package/dist/src/list-view/core/QTListViewItem.d.ts +2 -2
  57. package/dist/src/loading/QTILoadingView.d.ts +1 -1
  58. package/dist/src/loading/QTLoadingView.d.ts +1 -1
  59. package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
  60. package/dist/src/long-image/QTILongImage.d.ts +12 -0
  61. package/dist/src/long-image/QTLongImage.d.ts +3 -0
  62. package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
  63. package/dist/src/long-image/index.vue.d.ts +194 -0
  64. package/dist/src/lottie/QTILottieView.d.ts +4 -4
  65. package/dist/src/lottie/QTLottieView.d.ts +1 -1
  66. package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
  67. package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
  68. package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
  69. package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
  70. package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
  71. package/dist/src/nav-bar/index.vue.d.ts +18 -18
  72. package/dist/src/plugin/QTIPluginView.d.ts +1 -1
  73. package/dist/src/plugin/QTPluginView.d.ts +1 -1
  74. package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
  75. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  76. package/dist/src/poster/core/QTIPoster.d.ts +1 -1
  77. package/dist/src/poster/core/QTPoster.d.ts +13 -13
  78. package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
  79. package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
  80. package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
  81. package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
  82. package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
  83. package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
  84. package/dist/src/poster/index.vue.d.ts +19 -16
  85. package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
  86. package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
  87. package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
  88. package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
  89. package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
  90. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  91. package/dist/src/qt/QtAPI.d.ts +67 -31
  92. package/dist/src/qtListen/index.d.ts +3 -3
  93. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  94. package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
  95. package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
  96. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
  97. package/dist/src/row/QTIRow.d.ts +1 -1
  98. package/dist/src/row/QtRowAPI.d.ts +3 -3
  99. package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
  100. package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
  101. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
  102. package/dist/src/section/index.vue.d.ts +11 -11
  103. package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
  104. package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
  105. package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
  106. package/dist/src/series/DataAdapter.d.ts +6 -6
  107. package/dist/src/series/QTIMediaSeries.d.ts +6 -6
  108. package/dist/src/series/QTMediaSeries.d.ts +2 -2
  109. package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
  110. package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
  111. package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
  112. package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
  113. package/dist/src/series/component/media-series.vue.d.ts +9 -9
  114. package/dist/src/series/index.vue.d.ts +26 -22
  115. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  116. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  117. package/dist/src/tab/QTITab.d.ts +9 -9
  118. package/dist/src/tab/QTTab.d.ts +1 -1
  119. package/dist/src/tab/QTTabDataManager.d.ts +7 -7
  120. package/dist/src/tab/QTTabEvent.d.ts +2 -2
  121. package/dist/src/tab/QTTabEventParams.d.ts +1 -1
  122. package/dist/src/tab/QTTabItem.d.ts +1 -1
  123. package/dist/src/tab/QTTabPage.d.ts +1 -1
  124. package/dist/src/tab/QTTabPageData.d.ts +1 -1
  125. package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
  126. package/dist/src/tab/QtTabAPI.d.ts +11 -11
  127. package/dist/src/tab/index.vue.d.ts +51 -59
  128. package/dist/src/text/QTIText.d.ts +2 -2
  129. package/dist/src/text/QTTextSpan.d.ts +1 -1
  130. package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
  131. package/dist/src/text/QtTextAPI.d.ts +6 -6
  132. package/dist/src/text/index.vue.d.ts +12 -12
  133. package/dist/src/ul/QTIUL.d.ts +3 -3
  134. package/dist/src/ul/QTULInitPosition.d.ts +1 -1
  135. package/dist/src/ul/QtULAPI.d.ts +7 -7
  136. package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
  137. package/dist/src/utils/functions.d.ts +1 -0
  138. package/dist/src/utils/index.d.ts +2 -0
  139. package/dist/src/utils/make-installer.d.ts +5 -0
  140. package/dist/src/utils/objects.d.ts +2 -0
  141. package/dist/src/utils/type.d.ts +1 -1
  142. package/dist/src/utils/types.d.ts +9 -0
  143. package/dist/src/utils/vue/index.d.ts +3 -0
  144. package/dist/src/utils/vue/install.d.ts +6 -0
  145. package/dist/src/utils/vue/props/index.d.ts +3 -0
  146. package/dist/src/utils/vue/props/runtime.d.ts +9 -0
  147. package/dist/src/utils/vue/props/types.d.ts +38 -0
  148. package/dist/src/utils/vue/props/util.d.ts +8 -0
  149. package/dist/src/utils/vue/typescript.d.ts +6 -0
  150. package/dist/src/view/QTIView.d.ts +1 -1
  151. package/dist/src/view/QtViewAPI.d.ts +3 -44
  152. package/dist/src/view/index.vue.d.ts +12 -12
  153. package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
  154. package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
  155. package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
  156. package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
  157. package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
  158. package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
  159. package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
  160. package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
  161. package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
  162. package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
  163. package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
  164. package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
  165. package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
  166. package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
  167. package/dist/src/waterfall/index.vue.d.ts +37 -24
  168. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  169. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  170. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  171. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  172. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  173. package/dist/src/waterfall/section/flex-section.vue.d.ts +11 -8
  174. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  175. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  176. package/dist/src/waterfall/section/section-title.vue.d.ts +5 -5
  177. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  178. package/dist/src/webview/QTIWebView.d.ts +1 -1
  179. package/dist/src/webview/QTWebView.d.ts +1 -1
  180. package/dist/src/webview/QtWebViewAPI.d.ts +5 -5
  181. package/dist/src/x5webview/QTIX5WebView.d.ts +1 -1
  182. package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
  183. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +5 -5
  184. package/package.json +5 -1
@@ -0,0 +1,49 @@
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIListView } from '../list-view/core/QTIListView';
3
+ import { QTListInitPosition } from './QTListInitPosition';
4
+ import { QTListViewItem } from '../list-view/core/QTListViewItem';
5
+ import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
6
+ import { QTPosition } from '../core/QTPosition';
7
+ export default function (viewRef: Ref<QTIListView | undefined>): {
8
+ scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
9
+ startScroll: (position: QTListInitPosition) => void;
10
+ setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean) => void;
11
+ scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
12
+ scrollToPositionWithOffsetInfiniteMode: (position: number, offset: number, animated: boolean) => void;
13
+ scrollToPosition: (position: number, offset?: number) => void;
14
+ refreshListData: () => void;
15
+ updateItemTraverse: (position: number, data?: QTListViewItem, traverse?: boolean) => void;
16
+ requestItemLayout: (position: number) => void;
17
+ updateItemRange: (position: number, count: number, itemList: Array<QTListViewItem>) => void;
18
+ insertItemRange: (position: number, itemList: Array<QTListViewItem>) => void;
19
+ updateItemMatched: (params: QTNativeParams, data: QTListViewItem) => void;
20
+ updateItemMatchedByKey: (idKey: string, params: QTNativeParams, data: QTListViewItem) => void;
21
+ deleteItemRange: (position: number, count: number) => void;
22
+ setListData: (itemList: Array<QTListViewItem>) => void;
23
+ setListDataWithParams: (itemList: Array<QTListViewItem>, autoChangeVisible: boolean, useDiff: boolean) => void;
24
+ addListData: (itemList: Array<QTListViewItem>) => void;
25
+ addListDataWithParams: (itemList: Array<QTListViewItem>, deleteCount: number) => void;
26
+ destroy: () => void;
27
+ recycle: () => void;
28
+ scrollToTop: () => void;
29
+ scrollToFocus: (position: number, scrollOffset: number, delay: number, target: string) => void;
30
+ prepareForRecycle: () => void;
31
+ setDisplay: (display: boolean) => void;
32
+ changeDisplayState: (display: boolean, autoDataState: boolean) => void;
33
+ notifySaveInstance: () => void;
34
+ notifyRestoreInstance: () => void;
35
+ updateItemProps: (name: string, position: number, dataToUpdate: QTNativeMap, updateView: boolean) => void;
36
+ dispatchItemFunction: (params: QTNativeArray) => void;
37
+ clearPostTask: () => void;
38
+ clearPostTaskByCate: (data: Array<number>) => void;
39
+ clearData: () => void;
40
+ pausePostTask: () => void;
41
+ resumePostTask: () => void;
42
+ requestLayoutManual: () => void;
43
+ setSpanCount: (spanCount: number) => void;
44
+ searchReplaceItem: (id: string, item: QTListViewItem) => void;
45
+ setCustomStateEnableOnFocus: (id: string, params: Array<Array<string>>) => void;
46
+ setItemCustomState: (position: number, state: string, on: boolean) => void;
47
+ dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: Array<QTNativeParams>) => Promise<QTNativeParams>;
48
+ getScrollOffset: () => Promise<QTPosition>;
49
+ };
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerESIndicatorListViewComponent(app: ESApp): void;
3
3
  export default registerESIndicatorListViewComponent;
@@ -1,9 +1,9 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
3
- import { QTListViewItem } from "../list-view/core/QTListViewItem";
4
- import { Ref } from "@vue/reactivity";
5
- import { QTIIndicatorView } from "./core/QTIIndicatorView";
6
- export interface QtIndicatorViewAPI extends QtViewAPI, QtBaseListViewAPI {
1
+ import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
2
+ import { QTListViewItem } from '../list-view/core/QTListViewItem';
3
+ import { Ref } from '@vue/reactivity';
4
+ import { QTIIndicatorView } from './core/QTIIndicatorView';
5
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
6
+ export interface QtIndicatorViewAPI extends QtBaseViewAPI, QtBaseListViewAPI {
7
7
  init(instance: Ref<QTIIndicatorView | undefined>, target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
8
8
  stopPage(instance: Ref<QTIIndicatorView | undefined>, isTip?: boolean): void;
9
9
  setItemFocused(instance: Ref<QTIIndicatorView | undefined>, position: number): void;
@@ -12,4 +12,4 @@ export interface QtIndicatorViewAPI extends QtViewAPI, QtBaseListViewAPI {
12
12
  scrollToSelected(instance: Ref<QTIIndicatorView | undefined>, position: number, requestFocus: boolean): void;
13
13
  setIndicatorType(instance: Ref<QTIIndicatorView | undefined>, type: number): void;
14
14
  }
15
- export declare function createQtIndicatorViewAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtIndicatorViewAPI;
15
+ export declare function createQtIndicatorViewAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtIndicatorViewAPI;
@@ -1,5 +1,5 @@
1
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
2
- import { QTIBaseListView } from "../../list/QTIBaseListView";
1
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
2
+ import { QTIBaseListView } from '../../list/QTIBaseListView';
3
3
  export interface QTIIndicatorView extends QTIBaseListView {
4
4
  init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
5
5
  stopPage(isTip?: boolean): void;
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerESListItemComponent(app: ESApp): void;
3
3
  export default registerESListItemComponent;
@@ -1,10 +1,10 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIListItem } from "./QTIListItem";
4
- export interface QtListItemAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIListItem } from './QTIListItem';
3
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
4
+ export interface QtListItemAPI extends QtBaseViewAPI {
5
5
  updateItem(instance: string | Ref<QTIListItem | undefined>, posInList: number, data: Object): any;
6
6
  dispatchItemFunction(instance: string | Ref<QTIListItem | undefined>, position: number, name: string, funcName: string, params: any): any;
7
7
  updateItemProps(instance: string | Ref<QTIListItem | undefined>, position: number, name: string, toUpdateMap: Object): any;
8
8
  batch(instance: string | Ref<QTIListItem | undefined>, position: number): any;
9
9
  }
10
- export declare function createQtListItemAPI(viewAPI: QtViewAPI): QtListItemAPI;
10
+ export declare function createQtListItemAPI(viewAPI: QtBaseViewAPI): QtListItemAPI;
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerESListViewComponent(app: ESApp): void;
3
3
  export default registerESListViewComponent;
@@ -1,9 +1,9 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
3
- import { QTListViewItem } from "./core/QTListViewItem";
4
- import { Ref } from "@vue/reactivity";
5
- import { QTIListView } from "./core/QTIListView";
6
- export interface QtListViewAPI extends QtViewAPI, QtBaseListViewAPI {
1
+ import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
2
+ import { QTListViewItem } from './core/QTListViewItem';
3
+ import { Ref } from '@vue/reactivity';
4
+ import { QTIListView } from './core/QTIListView';
5
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
6
+ export interface QtListViewAPI extends QtBaseViewAPI, QtBaseListViewAPI {
7
7
  init(instance: Ref<QTIListView | undefined>, target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
8
8
  stopPage(instance: Ref<QTIListView | undefined>, isTip?: boolean): void;
9
9
  setItemFocused(instance: Ref<QTIListView | undefined>, position: number): void;
@@ -11,4 +11,4 @@ export interface QtListViewAPI extends QtViewAPI, QtBaseListViewAPI {
11
11
  setItemSelected(instance: Ref<QTIListView | undefined>, position: number, requestFocus: boolean): void;
12
12
  scrollToSelected(instance: Ref<QTIListView | undefined>, position: number, requestFocus: boolean): void;
13
13
  }
14
- export declare function createQtListViewAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtListViewAPI;
14
+ export declare function createQtListViewAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtListViewAPI;
@@ -1,5 +1,5 @@
1
- import { QTListViewItem } from "./QTListViewItem";
2
- import { QTIBaseListView } from "../../list/QTIBaseListView";
1
+ import { QTListViewItem } from './QTListViewItem';
2
+ import { QTIBaseListView } from '../../list/QTIBaseListView';
3
3
  export interface QTIListView extends QTIBaseListView {
4
4
  init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
5
5
  stopPage(isTip?: boolean): void;
@@ -1,5 +1,5 @@
1
- import { QTListViewItemDecoration } from "./QTListViewItemDecoration";
2
- import { QTListViewItemState } from "./QTListViewItemState";
1
+ import { QTListViewItemDecoration } from './QTListViewItemDecoration';
2
+ import { QTListViewItemState } from './QTListViewItemState';
3
3
  export interface QTListViewItem {
4
4
  _id?: string;
5
5
  type: number;
@@ -1,3 +1,3 @@
1
- import { QTIView } from "../view/QTIView";
1
+ import { QTIView } from '../view/QTIView';
2
2
  export interface QTILoadingView extends QTIView {
3
3
  }
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerQTLoadingViewComponent(app: ESApp): void;
3
3
  export default registerQTLoadingViewComponent;
@@ -1,4 +1,4 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- export interface QtLoadingAPI extends QtViewAPI {
1
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
2
+ export interface QtLoadingAPI extends QtBaseViewAPI {
3
3
  }
4
- export declare function createQtLoadingAPI(viewAPI: QtViewAPI): QtLoadingAPI;
4
+ export declare function createQtLoadingAPI(viewAPI: QtBaseViewAPI): QtLoadingAPI;
@@ -0,0 +1,12 @@
1
+ import { QTIView } from '../view/QTIView';
2
+ export interface QTILongImage extends QTIView {
3
+ setSrc(url: string): void;
4
+ setZoomEnabled(value: boolean): void;
5
+ zoomIn(step: number): void;
6
+ zoomOut(step: number): void;
7
+ scrollDown(step: number): void;
8
+ scrollUp(step: number): void;
9
+ scrollLeft(step: number): void;
10
+ scrollRight(step: number): void;
11
+ scrollTo(offsetX: number, offsetY: number): void;
12
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from '@extscreen/es3-vue';
2
+ declare function registerQTLongImageComponent(app: ESApp): void;
3
+ export default registerQTLongImageComponent;
@@ -0,0 +1,4 @@
1
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
2
+ export interface QtLongImageAPI extends QtBaseViewAPI {
3
+ }
4
+ export declare function createQtLongImageAPI(viewAPI: QtBaseViewAPI): QtLongImageAPI;
@@ -0,0 +1,194 @@
1
+ import { QTILongImage } from './QTILongImage';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ size: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ activeColor: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ inactiveColor: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ inactiveBorderColor: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ sliderColor: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ disabledActiveBgColor: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ disabledInactiveBgColor: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ disabled: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ modelValue: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ borderSize: {
40
+ type: NumberConstructor;
41
+ default: number;
42
+ };
43
+ sliderAssetsIcon: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ sliderNetworkIcon: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ zoomEnabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ src: {
56
+ type: StringConstructor;
57
+ };
58
+ scaleType: {
59
+ type: NumberConstructor;
60
+ default: number;
61
+ };
62
+ }>, {
63
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
64
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
65
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
66
+ clearFocus: () => void;
67
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
68
+ setVisibility: (v: import("..").QTIViewVisibility) => void;
69
+ requestRootLayout: () => void;
70
+ requestLayout: () => void;
71
+ setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
72
+ changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
73
+ forceUpdateRenderNode: () => void;
74
+ setBackGroundColor: (color: string) => void;
75
+ layoutViewManual: () => void;
76
+ blockRootFocus: () => void;
77
+ unBlockRootFocus: () => void;
78
+ changeAlpha: (alpha: number) => void;
79
+ setScale: (x: number, y: number, duration: number) => void;
80
+ setPosition: (x: number, y: number, z: number) => void;
81
+ updateLayout: (width: number, height: number, x: number, y: number) => void;
82
+ invalidate: () => void;
83
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
84
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
85
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
86
+ setInitFocus: (sid: string, delay?: number) => void;
87
+ setAutoFocus: (sid: string, delay?: number) => void;
88
+ enabledAutofocus: (autofocus: boolean) => void;
89
+ requestAutofocus: () => void;
90
+ hasFocus: () => Promise<boolean>;
91
+ isFocused: () => Promise<boolean>;
92
+ getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
93
+ getViewState: () => Promise<import("..").QTViewState>;
94
+ getChildViewState: (position: number) => Promise<import("..").QTViewState>;
95
+ requestChildFocusAtIndex: (position: number) => void;
96
+ clearMemoryFocused: () => void;
97
+ showDialog: (show: boolean) => void;
98
+ viewRef: import("vue").Ref<QTILongImage | undefined, QTILongImage | undefined>;
99
+ setSrc: (url: string) => void;
100
+ setZoomEnabled: (value: boolean) => void;
101
+ zoomIn: (step: number) => void;
102
+ zoomOut: (step: number) => void;
103
+ scrollDown: (step: number) => void;
104
+ scrollUp: (step: number) => void;
105
+ scrollLeft: (step: number) => void;
106
+ scrollRight: (step: number) => void;
107
+ onLoad: (status: number, progress: number, message: string, width: number, height: number) => void;
108
+ onRendered: (scrollable: boolean) => void;
109
+ onScroll: (direction: number, percent: number, isScroll: any, width: number, height: number) => void;
110
+ scrollTo: (offsetX: number, offsetY: number) => void;
111
+ componentInitialized: import("vue").Ref<boolean, boolean>;
112
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onLoad" | "onScroll" | "onInitializeSuccess" | "onInitializeError" | "onRendered")[], "onLoad" | "onScroll" | "onInitializeSuccess" | "onInitializeError" | "onRendered", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
113
+ size: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ activeColor: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ inactiveColor: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ inactiveBorderColor: {
126
+ type: StringConstructor;
127
+ default: string;
128
+ };
129
+ sliderColor: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ disabledActiveBgColor: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ disabledInactiveBgColor: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ disabled: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ modelValue: {
146
+ type: BooleanConstructor;
147
+ default: boolean;
148
+ };
149
+ borderSize: {
150
+ type: NumberConstructor;
151
+ default: number;
152
+ };
153
+ sliderAssetsIcon: {
154
+ type: StringConstructor;
155
+ default: string;
156
+ };
157
+ sliderNetworkIcon: {
158
+ type: StringConstructor;
159
+ default: string;
160
+ };
161
+ zoomEnabled: {
162
+ type: BooleanConstructor;
163
+ default: boolean;
164
+ };
165
+ src: {
166
+ type: StringConstructor;
167
+ };
168
+ scaleType: {
169
+ type: NumberConstructor;
170
+ default: number;
171
+ };
172
+ }>> & Readonly<{
173
+ onOnLoad?: ((...args: any[]) => any) | undefined;
174
+ onOnScroll?: ((...args: any[]) => any) | undefined;
175
+ onOnInitializeSuccess?: ((...args: any[]) => any) | undefined;
176
+ onOnInitializeError?: ((...args: any[]) => any) | undefined;
177
+ onOnRendered?: ((...args: any[]) => any) | undefined;
178
+ }>, {
179
+ size: string;
180
+ activeColor: string;
181
+ inactiveColor: string;
182
+ inactiveBorderColor: string;
183
+ sliderColor: string;
184
+ disabledActiveBgColor: string;
185
+ disabledInactiveBgColor: string;
186
+ disabled: boolean;
187
+ modelValue: boolean;
188
+ borderSize: number;
189
+ sliderAssetsIcon: string;
190
+ sliderNetworkIcon: string;
191
+ zoomEnabled: boolean;
192
+ scaleType: number;
193
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
194
+ export default _default;
@@ -1,7 +1,7 @@
1
- import { QTLottieRepeatMode } from "./QTLottieRepeatMode";
2
- import { QTLottieRenderMode } from "./QTLottieRenderMode";
3
- import { QTLottieAsyncUpdates } from "./QTLottieAsyncUpdates";
4
- import { QTIView } from "../view/QTIView";
1
+ import { QTLottieRepeatMode } from './QTLottieRepeatMode';
2
+ import { QTLottieRenderMode } from './QTLottieRenderMode';
3
+ import { QTLottieAsyncUpdates } from './QTLottieAsyncUpdates';
4
+ import { QTIView } from '../view/QTIView';
5
5
  export interface QTILottieView extends QTIView {
6
6
  loadRaw(rawRes: string): void;
7
7
  loadFile(fileName: string): void;
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerQTLottieView(app: ESApp): void;
3
3
  export default registerQTLottieView;
@@ -1,10 +1,10 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTILottieView } from "./QTILottieView";
4
- import { QTLottieRepeatMode } from "./QTLottieRepeatMode";
5
- import { QTLottieRenderMode } from "./QTLottieRenderMode";
6
- import { QTLottieAsyncUpdates } from "./QTLottieAsyncUpdates";
7
- export interface QtLottieViewAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTILottieView } from './QTILottieView';
3
+ import { QTLottieRepeatMode } from './QTLottieRepeatMode';
4
+ import { QTLottieRenderMode } from './QTLottieRenderMode';
5
+ import { QTLottieAsyncUpdates } from './QTLottieAsyncUpdates';
6
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
7
+ export interface QtLottieViewAPI extends QtBaseViewAPI {
8
8
  loadRaw(instance: string | Ref<QTILottieView | undefined>, rawRes: string): void;
9
9
  loadFile(instance: string | Ref<QTILottieView | undefined>, fileName: string): void;
10
10
  loadJsonFile(instance: string | Ref<QTILottieView | undefined>, fileName: string): void;
@@ -34,4 +34,4 @@ export interface QtLottieViewAPI extends QtViewAPI {
34
34
  cacheComposition(instance: string | Ref<QTILottieView | undefined>, cache: boolean): void;
35
35
  removeAllListener(instance: string | Ref<QTILottieView | undefined>): void;
36
36
  }
37
- export declare function createQtLottieViewAPI(viewAPI: QtViewAPI): QtLottieViewAPI;
37
+ export declare function createQtLottieViewAPI(viewAPI: QtBaseViewAPI): QtLottieViewAPI;
@@ -1,5 +1,5 @@
1
- import { QTNavBar } from "./QTNavBar";
2
- import { QTIView } from "../view/QTIView";
1
+ import { QTNavBar } from './QTNavBar';
2
+ import { QTIView } from '../view/QTIView';
3
3
  export interface QTINavBar extends QTIView {
4
4
  init(navBar: QTNavBar): void;
5
5
  scrollToPosition(index: number): void;
@@ -1,4 +1,4 @@
1
- import { QTNavBarItem } from "./QTNavBarItem";
1
+ import { QTNavBarItem } from './QTNavBarItem';
2
2
  export interface QTNavBar {
3
3
  defaultIndex?: number;
4
4
  focusIndex?: number;
@@ -1,5 +1,5 @@
1
- import { ESTabItem } from "@extscreen/es3-component";
2
- import { QTWaterfallFlexStyle } from "../waterfall/core/QTWaterfallFlexStyle";
1
+ import { ESTabItem } from '@extscreen/es3-component';
2
+ import { QTWaterfallFlexStyle } from '../waterfall/core/QTWaterfallFlexStyle';
3
3
  export interface QTNavBarItem extends ESTabItem {
4
4
  style?: QTWaterfallFlexStyle;
5
5
  [prop: string]: any;
@@ -1,10 +1,10 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTNavBar } from "./QTNavBar";
4
- import { QTINavBar } from "./QTINavBar";
5
- export interface QtNavBarAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTNavBar } from './QTNavBar';
3
+ import { QTINavBar } from './QTINavBar';
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
- import { QTIListView } from "../list-view/core/QTIListView";
2
- import { QTNavBar } from "./QTNavBar";
3
- declare const _default: import("vue").DefineComponent<{
1
+ import { QTIListView } from '../list-view/core/QTIListView';
2
+ import { QTNavBar } from './QTNavBar';
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,4 +1,4 @@
1
- import { QTIView } from "../view/QTIView";
1
+ import { QTIView } from '../view/QTIView';
2
2
  export interface QTIPluginView extends QTIView {
3
3
  dispatchFunction(funName: string, params: Array<any>): Promise<any>;
4
4
  }
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerQTPluginView(app: ESApp): void;
3
3
  export default registerQTPluginView;
@@ -1,7 +1,7 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIPluginView } from "./QTIPluginView";
4
- export interface QtPluginViewAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIPluginView } from './QTIPluginView';
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,3 +1,3 @@
1
- import { QTIView } from "../../view/QTIView";
1
+ import { QTIView } from '../../view/QTIView';
2
2
  export interface QTIPoster extends QTIView {
3
3
  }