@quicktvui/quicktvui3 1.2.0-beta.6 → 1.2.0-beta.60

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 (171) hide show
  1. package/dist/index.css +17 -29
  2. package/dist/index.js +8 -8
  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/canvas/CanvasGradient.d.ts +36 -0
  16. package/dist/src/canvas/QTCanvasView.d.ts +3 -0
  17. package/dist/src/canvas/QTICanvasView.d.ts +50 -0
  18. package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
  19. package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +6 -6
  20. package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +2 -2
  21. package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +2 -2
  22. package/dist/src/classified-list-view/index.vue.d.ts +2 -2
  23. package/dist/src/collapse/QtCollapseAPI.d.ts +7 -7
  24. package/dist/src/collapse/core/QTCollapse.d.ts +1 -1
  25. package/dist/src/collapse/core/QTICollapse.d.ts +3 -3
  26. package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
  27. package/dist/src/collapse/index.vue.d.ts +3 -3
  28. package/dist/src/column/QTIColumn.d.ts +1 -1
  29. package/dist/src/column/QtColumnAPI.d.ts +3 -3
  30. package/dist/src/core/QTFlexStyleGradientBackground.d.ts +1 -1
  31. package/dist/src/core/QTLocation.d.ts +2 -2
  32. package/dist/src/dialog/QTDialog.d.ts +1 -1
  33. package/dist/src/dialog/QTIDialog.d.ts +1 -1
  34. package/dist/src/gradient/QTGradient.d.ts +3 -3
  35. package/dist/src/grid-view/QtGridViewAPI.d.ts +7 -7
  36. package/dist/src/grid-view/core/QTGridViewItem.d.ts +1 -1
  37. package/dist/src/grid-view/core/QTIGridView.d.ts +2 -2
  38. package/dist/src/grid-view/index.vue.d.ts +1 -1
  39. package/dist/src/image/QTIImage.d.ts +2 -2
  40. package/dist/src/image/QtImageAPI.d.ts +6 -6
  41. package/dist/src/image/index.vue.d.ts +1 -1
  42. package/dist/src/index.d.ts +14 -7
  43. package/dist/src/list/QTIBaseListView.d.ts +5 -5
  44. package/dist/src/list/QtBaseListViewAPI.d.ts +6 -6
  45. package/dist/src/list/useBaseListView.d.ts +6 -6
  46. package/dist/src/list/useListView.d.ts +49 -0
  47. package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +1 -1
  48. package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +7 -7
  49. package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +2 -2
  50. package/dist/src/list-item/ESListItemComponent.d.ts +1 -1
  51. package/dist/src/list-item/QtListItemAPI.d.ts +5 -5
  52. package/dist/src/list-view/QTListViewComponent.d.ts +1 -1
  53. package/dist/src/list-view/QtListViewAPI.d.ts +7 -7
  54. package/dist/src/list-view/core/QTIListView.d.ts +2 -2
  55. package/dist/src/list-view/core/QTListViewItem.d.ts +2 -2
  56. package/dist/src/loading/QTILoadingView.d.ts +1 -1
  57. package/dist/src/loading/QTLoadingView.d.ts +1 -1
  58. package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
  59. package/dist/src/long-image/QTILongImage.d.ts +12 -0
  60. package/dist/src/long-image/QTLongImage.d.ts +3 -0
  61. package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
  62. package/dist/src/long-image/index.vue.d.ts +194 -0
  63. package/dist/src/lottie/QTILottieView.d.ts +4 -4
  64. package/dist/src/lottie/QTLottieView.d.ts +1 -1
  65. package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
  66. package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
  67. package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
  68. package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
  69. package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
  70. package/dist/src/nav-bar/index.vue.d.ts +2 -2
  71. package/dist/src/plugin/QTIPluginView.d.ts +1 -1
  72. package/dist/src/plugin/QTPluginView.d.ts +1 -1
  73. package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
  74. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  75. package/dist/src/poster/core/QTIPoster.d.ts +1 -1
  76. package/dist/src/poster/core/QTPoster.d.ts +13 -13
  77. package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
  78. package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
  79. package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
  80. package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
  81. package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
  82. package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
  83. package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
  84. package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
  85. package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
  86. package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
  87. package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
  88. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  89. package/dist/src/qt/QtAPI.d.ts +67 -31
  90. package/dist/src/qtListen/index.d.ts +3 -3
  91. package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
  92. package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
  93. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
  94. package/dist/src/row/QTIRow.d.ts +1 -1
  95. package/dist/src/row/QtRowAPI.d.ts +3 -3
  96. package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
  97. package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
  98. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
  99. package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
  100. package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
  101. package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
  102. package/dist/src/series/DataAdapter.d.ts +6 -6
  103. package/dist/src/series/QTIMediaSeries.d.ts +6 -6
  104. package/dist/src/series/QTMediaSeries.d.ts +2 -2
  105. package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
  106. package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
  107. package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
  108. package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
  109. package/dist/src/series/component/media-series.vue.d.ts +1 -1
  110. package/dist/src/series/index.vue.d.ts +6 -6
  111. package/dist/src/tab/QTITab.d.ts +9 -9
  112. package/dist/src/tab/QTTab.d.ts +1 -1
  113. package/dist/src/tab/QTTabDataManager.d.ts +7 -7
  114. package/dist/src/tab/QTTabEvent.d.ts +2 -2
  115. package/dist/src/tab/QTTabEventParams.d.ts +1 -1
  116. package/dist/src/tab/QTTabItem.d.ts +1 -1
  117. package/dist/src/tab/QTTabPage.d.ts +1 -1
  118. package/dist/src/tab/QTTabPageData.d.ts +1 -1
  119. package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
  120. package/dist/src/tab/QtTabAPI.d.ts +11 -11
  121. package/dist/src/tab/index.vue.d.ts +38 -11
  122. package/dist/src/text/QTIText.d.ts +2 -2
  123. package/dist/src/text/QTTextSpan.d.ts +1 -1
  124. package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
  125. package/dist/src/text/QtTextAPI.d.ts +6 -6
  126. package/dist/src/text/index.vue.d.ts +1 -1
  127. package/dist/src/ul/QTIUL.d.ts +3 -3
  128. package/dist/src/ul/QTULInitPosition.d.ts +1 -1
  129. package/dist/src/ul/QtULAPI.d.ts +7 -7
  130. package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
  131. package/dist/src/utils/functions.d.ts +1 -0
  132. package/dist/src/utils/index.d.ts +2 -0
  133. package/dist/src/utils/make-installer.d.ts +5 -0
  134. package/dist/src/utils/objects.d.ts +2 -0
  135. package/dist/src/utils/types.d.ts +9 -0
  136. package/dist/src/utils/vue/index.d.ts +3 -0
  137. package/dist/src/utils/vue/install.d.ts +6 -0
  138. package/dist/src/utils/vue/props/index.d.ts +3 -0
  139. package/dist/src/utils/vue/props/runtime.d.ts +9 -0
  140. package/dist/src/utils/vue/props/types.d.ts +38 -0
  141. package/dist/src/utils/vue/props/util.d.ts +8 -0
  142. package/dist/src/utils/vue/typescript.d.ts +6 -0
  143. package/dist/src/view/QTIView.d.ts +1 -1
  144. package/dist/src/view/QtViewAPI.d.ts +3 -44
  145. package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
  146. package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
  147. package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
  148. package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
  149. package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
  150. package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
  151. package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
  152. package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
  153. package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
  154. package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
  155. package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
  156. package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
  157. package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
  158. package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
  159. package/dist/src/waterfall/index.vue.d.ts +10 -7
  160. package/dist/src/waterfall/section/flex-section.vue.d.ts +2 -2
  161. package/dist/src/waterfall/section/section-title.vue.d.ts +1 -1
  162. package/dist/src/webview/QTIWebView.d.ts +22 -3
  163. package/dist/src/webview/QTWebView.d.ts +1 -1
  164. package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
  165. package/dist/src/webview/QtWebViewAPI.d.ts +26 -7
  166. package/dist/src/x5webview/QTIX5WebView.d.ts +27 -3
  167. package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
  168. package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
  169. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +28 -7
  170. package/package.json +5 -1
  171. package/web-types.json +1 -1
@@ -1,3 +1,3 @@
1
- import { QTIView } from "../view/QTIView";
1
+ import { QTIView } from '../view/QTIView';
2
2
  export interface QTIDialog extends QTIView {
3
3
  }
@@ -1,6 +1,6 @@
1
- import { QTGradientOrientation } from "./QTGradientOrientation";
2
- import { QTGradientShape } from "./QTGradientShape";
3
- import { QTGradientType } from "./QTGradientType";
1
+ import { QTGradientOrientation } from './QTGradientOrientation';
2
+ import { QTGradientShape } from './QTGradientShape';
3
+ import { QTGradientType } from './QTGradientType';
4
4
  export interface QTGradient {
5
5
  type?: QTGradientType;
6
6
  shape?: QTGradientShape;
@@ -1,9 +1,9 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QtBaseListViewAPI } from "../list/QtBaseListViewAPI";
3
- import { QTGridViewItem } from "./core/QTGridViewItem";
4
- import { Ref } from "@vue/reactivity";
5
- import { QTIGridView } from "./core/QTIGridView";
6
- export interface QtGridViewAPI extends QtViewAPI, QtBaseListViewAPI {
1
+ import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
2
+ import { QTGridViewItem } from './core/QTGridViewItem';
3
+ import { Ref } from '@vue/reactivity';
4
+ import { QTIGridView } from './core/QTIGridView';
5
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
6
+ export interface QtGridViewAPI extends QtBaseViewAPI, QtBaseListViewAPI {
7
7
  init(instance: Ref<QTIGridView | undefined>, target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
8
8
  stopPage(instance: Ref<QTIGridView | undefined>, isTip?: boolean): void;
9
9
  restartPage(instance: Ref<QTIGridView | undefined>): void;
@@ -13,4 +13,4 @@ export interface QtGridViewAPI extends QtViewAPI, QtBaseListViewAPI {
13
13
  scrollToSelected(instance: Ref<QTIGridView | undefined>, position: number, b: boolean): void;
14
14
  setInitPosition(instance: Ref<QTIGridView | undefined>, position: number): void;
15
15
  }
16
- export declare function createQtGridViewAPI(viewAPI: QtViewAPI, listViewAPI: QtBaseListViewAPI): QtGridViewAPI;
16
+ export declare function createQtGridViewAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtGridViewAPI;
@@ -1,3 +1,3 @@
1
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
1
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
2
2
  export interface QTGridViewItem extends QTListViewItem {
3
3
  }
@@ -1,5 +1,5 @@
1
- import { QTGridViewItem } from "./QTGridViewItem";
2
- import { QTIBaseListView } from "../../list/QTIBaseListView";
1
+ import { QTGridViewItem } from './QTGridViewItem';
2
+ import { QTIBaseListView } from '../../list/QTIBaseListView';
3
3
  export interface QTIGridView extends QTIBaseListView {
4
4
  init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
5
5
  stopPage(isTip?: boolean): void;
@@ -1,4 +1,4 @@
1
- import { QTListViewItem } from "../list-view/core/QTListViewItem";
1
+ import { QTListViewItem } from '../list-view/core/QTListViewItem';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  loadMore: {
4
4
  type: FunctionConstructor;
@@ -1,5 +1,5 @@
1
- import { QTIView } from "../view/QTIView";
2
- import { QTImageResizeMode } from "./QTImageResizeMode";
1
+ import { QTIView } from '../view/QTIView';
2
+ import { QTImageResizeMode } from './QTImageResizeMode';
3
3
  export interface QTIImage extends QTIView {
4
4
  setSrc(url: string): void;
5
5
  resizeMode(mode: QTImageResizeMode): void;
@@ -1,9 +1,9 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { QTImageResizeMode } from "./QTImageResizeMode";
3
- import { Ref } from "@vue/reactivity";
4
- import { QTIImage } from "./QTIImage";
5
- export interface QtImageAPI extends QtViewAPI {
1
+ import { QTImageResizeMode } from './QTImageResizeMode';
2
+ import { Ref } from '@vue/reactivity';
3
+ import { QTIImage } from './QTIImage';
4
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
5
+ export interface QtImageAPI extends QtBaseViewAPI {
6
6
  setSrc(instance: string | Ref<QTIImage | undefined>, url: string): void;
7
7
  resizeMode(instance: string | Ref<QTIImage | undefined>, mode: QTImageResizeMode): void;
8
8
  }
9
- export declare function createQtImageAPI(viewAPI: QtViewAPI): QtImageAPI;
9
+ export declare function createQtImageAPI(viewAPI: QtBaseViewAPI): QtImageAPI;
@@ -1,4 +1,4 @@
1
- import { QTImageResizeMode } from "./QTImageResizeMode";
1
+ import { QTImageResizeMode } from './QTImageResizeMode';
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
3
  dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
4
4
  requestFocus: (direction?: import("..").QTFocusDirection) => void;
@@ -1,7 +1,7 @@
1
- import { arrangeChildren4ListView } from "./utils/utils";
2
- export { qtRef, qtWatchAll, qtGetParent, qtTabsRef, parseChildUpdate, qtDiff } from "./qtListen/index";
3
- export type { IQtTabDatas } from "./qtListen/index";
4
- import { QtAPI } from "./qt/QtAPI";
1
+ import { arrangeChildren4ListView } from './utils/utils';
2
+ export { qtRef, qtWatchAll, qtGetParent, qtTabsRef, parseChildUpdate, qtDiff, } from './qtListen/index';
3
+ export type { IQtTabDatas } from './qtListen/index';
4
+ import { QtAPI } from './qt/QtAPI';
5
5
  declare global {
6
6
  var qt: QtAPI;
7
7
  }
@@ -67,6 +67,7 @@ export type { QTListViewItemDecoration } from './list-view/core/QTListViewItemDe
67
67
  export type { QTListViewItemFunctionParams } from './list-view/core/QTListViewItemFunctionParams';
68
68
  export type { QTListViewItemState } from './list-view/core/QTListViewItemState';
69
69
  export type { QTGridViewItemFunctionParams } from './grid-view/core/QTGridViewItemFunctionParams';
70
+ export type { QTGridViewItem } from './grid-view/core/QTGridViewItem';
70
71
  export type { QTINavBar } from './nav-bar/QTINavBar';
71
72
  export type { QTNavBarItem } from './nav-bar/QTNavBarItem';
72
73
  export type { QTNavBar } from './nav-bar/QTNavBar';
@@ -84,7 +85,9 @@ export type { QTClassifiedListViewItem } from './classified-list-view/core/QTCla
84
85
  export type { QTClassifiedListViewItemDecoration } from './classified-list-view/core/QTClassifiedListViewItemDecoration';
85
86
  export { arrangeChildren4ListView };
86
87
  export type { QTIWebView } from './webview/QTIWebView';
87
- export type { QTIX5WebView } from './x5webview/QTIX5WebView';
88
+ export { QTWebViewLayerType } from './webview/QTWebViewLayerType';
89
+ export type { QTIX5WebView, QTX5WebViewParams } from './x5webview/QTIX5WebView';
90
+ export { QTX5WebViewLayerType } from './x5webview/QTX5WebViewLayerType';
88
91
  export type { QTISeekBar } from './seekbar/QTISeekBar';
89
92
  export { QTSeekBarMode } from './seekbar/QTSeekBarMode';
90
93
  export { QTSeekBarGravity } from './seekbar/QTSeekBarGravity';
@@ -94,8 +97,8 @@ export { QTSeekBarTickMarkGravity } from './seekbar/QTSeekBarTickMarkGravity';
94
97
  export { QTSeekBarTickMarkLayoutGravity } from './seekbar/QTSeekBarTickMarkLayoutGravity';
95
98
  export type { QTIProgressBar } from './progressbar/QTIProgressBar';
96
99
  export type { QTIAnimation } from './animation/QTIAnimation';
97
- export { QTAnimationInterpolatorType, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType } from './animation/types';
98
- export type { QTAnimationInterpolator, QTAnimatorId } from './animation/types';
100
+ export { QTAnimationInterpolatorType, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorRelationType, QTAnimationType, } from './animation/types';
101
+ export type { QTAnimationInterpolator, QTAnimatorId, QTAnimator, QTAnimatorSet, } from './animation/types';
99
102
  export type { QTIMediaSeries } from './series/QTIMediaSeries';
100
103
  export type { QTMediaSeries } from './series/QTMediaSeries';
101
104
  export type { QTMediaSeriesGroup } from './series/QTMediaSeriesGroup';
@@ -131,3 +134,7 @@ export type { QTIText } from './text/QTIText';
131
134
  export type { QTIAppIcon } from './app/QTIAppIcon';
132
135
  export type { QTIPluginView, QTPluginViewEvent } from './plugin/QTIPluginView';
133
136
  export { VirtualView } from './utils/VirtualView';
137
+ export type { QTICanvasView } from './canvas/QTICanvasView';
138
+ export type { QTILongImage } from './long-image/QTILongImage';
139
+ export { CanvasGradient } from './canvas/CanvasGradient';
140
+ export type { GradientInput, RadialGradient, LinearGradient, GradientStop, Position2DWithRadius, Position2D, GradientType, } from './canvas/CanvasGradient';
@@ -1,8 +1,8 @@
1
- import { QTListInitPosition } from "./QTListInitPosition";
2
- import { QTListViewItem } from "../list-view/core/QTListViewItem";
3
- import { QTNativeArray, QTNativeMap, QTNativeParams } from "../core/QTNativeParams";
4
- import { QTPosition } from "../core/QTPosition";
5
- import { QTIBaseView } from "../base/QTIBaseView";
1
+ import { QTListInitPosition } from './QTListInitPosition';
2
+ import { QTListViewItem } from '../list-view/core/QTListViewItem';
3
+ import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
4
+ import { QTPosition } from '../core/QTPosition';
5
+ import { QTIBaseView } from '../base/QTIBaseView';
6
6
  export interface QTIBaseListView extends QTIBaseView {
7
7
  scrollToIndex(x: number, y: number, animated?: boolean, duration?: number, offset?: number): void;
8
8
  startScroll(position: QTListInitPosition): void;
@@ -1,9 +1,9 @@
1
- import { QTListInitPosition } from "../list/QTListInitPosition";
2
- import { QTListViewItem } from "../list-view/core/QTListViewItem";
3
- import { QTNativeArray, QTNativeMap, QTNativeParams } from "../core/QTNativeParams";
4
- import { QTPosition } from "../core/QTPosition";
5
- import { Ref } from "@vue/reactivity";
6
- import { QTIListView } from "../list-view/core/QTIListView";
1
+ import { QTListInitPosition } from '../list/QTListInitPosition';
2
+ import { QTListViewItem } from '../list-view/core/QTListViewItem';
3
+ import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
4
+ import { QTPosition } from '../core/QTPosition';
5
+ import { Ref } from '@vue/reactivity';
6
+ import { QTIListView } from '../list-view/core/QTIListView';
7
7
  export interface QtBaseListViewAPI {
8
8
  scrollToIndex(instance: string | Ref<QTIListView | undefined>, x: number, y: number, animated?: boolean, duration?: number, offset?: number): void;
9
9
  startScroll(instance: string | Ref<QTIListView | undefined>, position: QTListInitPosition): void;
@@ -1,9 +1,9 @@
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";
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
7
  export default function (viewRef: Ref<QTIListView | undefined>): {
8
8
  scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
9
9
  startScroll: (position: QTListInitPosition) => void;
@@ -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;