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

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 (172) 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 +15 -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 +21 -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 +25 -7
  166. package/dist/src/x5webview/QTIX5WebView.d.ts +30 -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/QTX5WebViewSniffingRule.d.ts +20 -0
  170. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +31 -7
  171. package/package.json +5 -1
  172. package/web-types.json +1 -1
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerQTAnimation(app: ESApp): void;
3
3
  export default registerQTAnimation;
@@ -1,22 +1,32 @@
1
- import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from "./types";
2
- import { QTIView } from "../view/QTIView";
1
+ import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from './types';
2
+ import { QTIView } from '../view/QTIView';
3
3
  export interface QTIAnimation extends QTIView {
4
+ animator(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, values: number[], duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
5
+ animatorSet(animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
6
+ reset(): any;
7
+ start(animatorId?: QTAnimatorId): any;
8
+ startDelay(animatorId?: QTAnimatorId, delay?: number): any;
9
+ pause(animatorId?: QTAnimatorId): any;
10
+ resume(animatorId?: QTAnimatorId): any;
11
+ cancel(animatorId?: QTAnimatorId): any;
12
+ reverse(animatorId?: QTAnimatorId): any;
4
13
  setPivotX(pivotX: number): any;
5
14
  setPivotY(pivotY: number): any;
6
15
  resetPivot(): any;
7
16
  resetAnimators(): any;
8
- animatorSet(animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
9
- startAnimator(animatorId: QTAnimatorId): any;
10
- startAnimatorDelay(animatorId: QTAnimatorId, delay: number): any;
11
- pauseAnimator(animatorId: QTAnimatorId): any;
12
- resumeAnimator(animatorId: QTAnimatorId): any;
13
- cancelAnimator(animatorId: QTAnimatorId): any;
14
- reverseAnimator(animatorId: QTAnimatorId): any;
17
+ startAnimator(animatorId?: QTAnimatorId): any;
18
+ startAnimatorDelay(animatorId?: QTAnimatorId, delay?: number): any;
19
+ pauseAnimator(animatorId?: QTAnimatorId): any;
20
+ resumeAnimator(animatorId?: QTAnimatorId): any;
21
+ cancelAnimator(animatorId?: QTAnimatorId): any;
22
+ reverseAnimator(animatorId?: QTAnimatorId): any;
15
23
  play(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
16
24
  playWith(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
17
25
  playBefore(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
18
26
  playAfter(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
19
27
  playAfterDelay(animatorSetId: QTAnimatorId, delay: number): any;
28
+ playSequentially(animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
29
+ playTogether(animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
20
30
  playSequentially1(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
21
31
  playSequentially2(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
22
32
  playSequentially3(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
@@ -1,44 +1,26 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIAnimation } from "./QTIAnimation";
4
- import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from "./types";
5
- export interface QtAnimationAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIAnimation } from './QTIAnimation';
3
+ import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from './types';
4
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
5
+ export interface QtAnimationAPI extends QtBaseViewAPI {
6
6
  setPivotX(instance: string | Ref<QTIAnimation | undefined>, pivotX: number): any;
7
7
  setPivotY(instance: string | Ref<QTIAnimation | undefined>, pivotY: number): any;
8
8
  resetPivot(instance: string | Ref<QTIAnimation | undefined>): any;
9
- resetAnimators(instance: string | Ref<QTIAnimation | undefined>): any;
9
+ animator(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, values: number[], duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
10
10
  animatorSet(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
11
- startAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
12
- startAnimatorDelay(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId, delay: number): any;
13
- pauseAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
14
- resumeAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
15
- cancelAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
16
- reverseAnimator(instance: string | Ref<QTIAnimation | undefined>, animatorId: QTAnimatorId): any;
11
+ reset(instance: string | Ref<QTIAnimation | undefined>): any;
12
+ start(instance: string | Ref<QTIAnimation | undefined>, animatorId?: QTAnimatorId): any;
13
+ startDelay(instance: string | Ref<QTIAnimation | undefined>, animatorId?: QTAnimatorId, delay?: number): any;
14
+ pause(instance: string | Ref<QTIAnimation | undefined>, animatorId?: QTAnimatorId): any;
15
+ resume(instance: string | Ref<QTIAnimation | undefined>, animatorId?: QTAnimatorId): any;
16
+ cancel(instance: string | Ref<QTIAnimation | undefined>, animatorId?: QTAnimatorId): any;
17
+ reverse(instance: string | Ref<QTIAnimation | undefined>, animatorId?: QTAnimatorId): any;
17
18
  play(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
18
19
  playWith(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
19
20
  playBefore(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
20
21
  playAfter(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
21
22
  playAfterDelay(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, delay: number): any;
22
- playSequentially1(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
23
- playSequentially2(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
24
- playSequentially3(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
25
- playSequentially4(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId): any;
26
- playSequentially5(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId, animatorId5: QTAnimatorId): any;
27
- playTogether1(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
28
- playTogether2(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
29
- playTogether3(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
30
- playTogether4(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId): any;
31
- playTogether5(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId, animatorId5: QTAnimatorId): any;
32
- objectAnimator(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
33
- objectAnimator1(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
34
- objectAnimator2(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
35
- objectAnimator3(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
36
- objectAnimator4(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
37
- objectAnimator5(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
38
- objectAnimator6(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
39
- objectAnimator7(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
40
- objectAnimator8(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
41
- objectAnimator9(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, value9: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
42
- objectAnimator10(instance: string | Ref<QTIAnimation | undefined>, id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, value9: number, value10: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
23
+ playSequentially(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
24
+ playTogether(instance: string | Ref<QTIAnimation | undefined>, animatorSetId: QTAnimatorId, animatorIds: Array<QTAnimatorId>): any;
43
25
  }
44
- export declare function createQtAnimationAPI(viewAPI: QtViewAPI): QtAnimationAPI;
26
+ export declare function createQtAnimationAPI(viewAPI: QtBaseViewAPI): QtAnimationAPI;
@@ -1,6 +1,33 @@
1
+ export declare enum QTAnimatorRelationType {
2
+ SEQUENCE = "sequence",
3
+ TOGETHER = "together",
4
+ WITH = "with",
5
+ BEFORE = "before",
6
+ AFTER = "after"
7
+ }
8
+ export interface QTAnimatorSet {
9
+ id?: QTAnimatorId;
10
+ animators: QTAnimator[];
11
+ duration?: number;
12
+ listenAnimator?: boolean;
13
+ relationType?: QTAnimatorRelationType;
14
+ }
15
+ export interface QTAnimator {
16
+ id?: QTAnimatorId;
17
+ valueType?: QTAnimationValueType;
18
+ type: QTAnimationType;
19
+ values: number[];
20
+ duration: number;
21
+ repeatMode?: QTAnimationRepeatMode;
22
+ repeatCount?: number;
23
+ listenAnimator?: boolean;
24
+ listenAnimatorValue?: boolean;
25
+ interpolator?: QTAnimationInterpolator;
26
+ }
1
27
  export type QTAnimatorId = string;
2
28
  export interface QTAnimationInterpolator {
3
29
  type: QTAnimationInterpolatorType;
30
+ params?: Array<number>;
4
31
  }
5
32
  export declare enum QTAnimationInterpolatorType {
6
33
  QT_ACCELERATE_DECELERATE_INTERPOLATOR = 1,
@@ -29,6 +56,19 @@ export declare enum QTAnimationPropertyName {
29
56
  QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y = "translationY",
30
57
  QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z = "translationZ"
31
58
  }
59
+ export declare enum QTAnimationType {
60
+ ALPHA = "alpha",
61
+ ROTATION = "rotation",
62
+ ROTATION_X = "rotationX",
63
+ ROTATION_Y = "rotationY",
64
+ ROTATION_Z = "rotationZ",
65
+ SCALE_X = "scaleX",
66
+ SCALE_Y = "scaleY",
67
+ SCALE_Z = "scaleZ",
68
+ TRANSLATION_X = "translationX",
69
+ TRANSLATION_Y = "translationY",
70
+ TRANSLATION_Z = "translationZ"
71
+ }
32
72
  export declare enum QTAnimationRepeatMode {
33
73
  QT_ANIMATION_REPEAT_MODE_RESTART = 1,
34
74
  QT_ANIMATION_REPEAT_MODE_REVERSE = 2,
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerAppIconView(app: ESApp): void;
3
3
  export default registerAppIconView;
@@ -1,8 +1,8 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIAppIcon } from "./QTIAppIcon";
4
- export interface QtAppIconAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIAppIcon } from './QTIAppIcon';
3
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
4
+ export interface QtAppIconAPI extends QtBaseViewAPI {
5
5
  setPackageName(instance: string | Ref<QTIAppIcon | undefined>, packageName: string): void;
6
6
  setRoundingRadius(instance: string | Ref<QTIAppIcon | undefined>, roundingRadius: number): void;
7
7
  }
8
- export declare function createQtAppIconAPI(viewAPI: QtViewAPI): QtAppIconAPI;
8
+ export declare function createQtAppIconAPI(viewAPI: QtBaseViewAPI): QtAppIconAPI;
@@ -1,13 +1,13 @@
1
- import { ESIView } from "@extscreen/es3-component";
2
- import { QTIViewVisibility } from "../view/QTIViewVisibility";
3
- import { QTFocusDirection } from "../focus/QTFocusDirection";
4
- import { QTFocusDescendant } from "../focus/QTFocusDescendant";
5
- import { QTDescendantFocusability } from "../focus/QTDescendantFocusability";
6
- import { QTNativeParams } from "../core/QTNativeParams";
7
- import { QTFocusDirectionName } from "../focus/QTFocusDirectionName";
8
- import { QTEventData } from "../core/QTEventData";
9
- import { QTLocation } from "../core/QTLocation";
10
- import { QTViewState } from "../view/QTViewState";
1
+ import { ESIView } from '@extscreen/es3-component';
2
+ import { QTIViewVisibility } from '../view/QTIViewVisibility';
3
+ import { QTFocusDirection } from '../focus/QTFocusDirection';
4
+ import { QTFocusDescendant } from '../focus/QTFocusDescendant';
5
+ import { QTDescendantFocusability } from '../focus/QTDescendantFocusability';
6
+ import { QTNativeParams } from '../core/QTNativeParams';
7
+ import { QTFocusDirectionName } from '../focus/QTFocusDirectionName';
8
+ import { QTEventData } from '../core/QTEventData';
9
+ import { QTLocation } from '../core/QTLocation';
10
+ import { QTViewState } from '../view/QTViewState';
11
11
  export interface QTIBaseView extends ESIView {
12
12
  requestFocus(direction?: QTFocusDirection): void;
13
13
  requestChildFocus(position: number, direction?: QTFocusDirection): void;
@@ -0,0 +1,2 @@
1
+ import { QtBaseViewAPI } from './QtBaseViewAPI';
2
+ export declare function createQtBaseNativeViewAPI(): QtBaseViewAPI;
@@ -0,0 +1,45 @@
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTFocusDirection } from '../focus/QTFocusDirection';
3
+ import { QTFocusDescendant } from '../focus/QTFocusDescendant';
4
+ import { QTDescendantFocusability } from '../focus/QTDescendantFocusability';
5
+ import { QTNativeParams } from '../core/QTNativeParams';
6
+ import { QTFocusDirectionName } from '../focus/QTFocusDirectionName';
7
+ import { QTEventData } from '../core/QTEventData';
8
+ import { QTLocation } from '../core/QTLocation';
9
+ import { QTIView } from '../view/QTIView';
10
+ import { QTIViewVisibility } from '../view/QTIViewVisibility';
11
+ import { QTViewState } from '../view/QTViewState';
12
+ export interface QtBaseViewAPI {
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 createQtBaseViewAPI(): QtBaseViewAPI;
@@ -1,14 +1,14 @@
1
- import { QTIViewVisibility } from "../view/QTIViewVisibility";
2
- import { Ref } from "@vue/reactivity";
3
- import { ESIView } from "@extscreen/es3-component";
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 "../view/QTViewState";
1
+ import { QTIViewVisibility } from '../view/QTIViewVisibility';
2
+ import { Ref } from '@vue/reactivity';
3
+ import { ESIView } from '@extscreen/es3-component';
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 '../view/QTViewState';
12
12
  export default function (viewRef: Ref<ESIView | undefined>): {
13
13
  dispatchFunctionBySid: (sid: string, funcName: string, args: Array<QTNativeParams>) => void;
14
14
  requestFocus: (direction?: QTFocusDirection) => void;
@@ -1,3 +1,3 @@
1
- import { QTIView } from "../view/QTIView";
1
+ import { QTIView } from '../view/QTIView';
2
2
  export interface QTIButton extends QTIView {
3
3
  }
@@ -1,4 +1,4 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- export interface QtButtonAPI extends QtViewAPI {
1
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
2
+ export interface QtButtonAPI extends QtBaseViewAPI {
3
3
  }
4
- export declare function createQtButtonAPI(viewAPI: QtViewAPI): QtButtonAPI;
4
+ export declare function createQtButtonAPI(viewAPI: QtBaseViewAPI): QtButtonAPI;
@@ -0,0 +1,36 @@
1
+ export type GradientType = 'linear' | 'radial' | string;
2
+ export interface Position2D {
3
+ x: number;
4
+ y: number;
5
+ }
6
+ export interface Position2DWithRadius extends Position2D {
7
+ r: number;
8
+ }
9
+ export interface GradientStop {
10
+ pos: number;
11
+ color: string;
12
+ }
13
+ export interface LinearGradient {
14
+ type: 'linear';
15
+ start_pos: Position2D;
16
+ end_pos: Position2D;
17
+ stop_count: number;
18
+ stops: GradientStop[];
19
+ }
20
+ export interface RadialGradient {
21
+ type: 'radial';
22
+ start_pos: Position2DWithRadius;
23
+ end_pos: Position2DWithRadius;
24
+ stop_count: number;
25
+ stops: GradientStop[];
26
+ }
27
+ export type GradientInput = LinearGradient | RadialGradient | string;
28
+ export declare class CanvasGradient {
29
+ start_pos: Position2D | Position2DWithRadius;
30
+ end_pos: Position2D | Position2DWithRadius;
31
+ type: GradientType;
32
+ stop_count: number;
33
+ stops: GradientStop[];
34
+ constructor(x0: number, y0: number, x1: number, y1?: number, r0?: number, r1?: number);
35
+ addColorStop(pos: number, color: string): void;
36
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from '@extscreen/es3-vue';
2
+ declare function registerQTCanvasView(app: ESApp): void;
3
+ export default registerQTCanvasView;
@@ -0,0 +1,50 @@
1
+ import { QTIView } from '../view/QTIView';
2
+ export interface QTICanvasView extends QTIView {
3
+ destroyView(): void;
4
+ drawAction(str: string): void;
5
+ drawFinish(): void;
6
+ fillStyle(color: string): void;
7
+ fillRect(left: number, top: number, right: number, bottom: number): void;
8
+ rec(left: number, top: number, right: number, bottom: number): void;
9
+ strokeStyle(str: string): void;
10
+ strokeRect(left: number, top: number, right: number, bottom: number): void;
11
+ clearRect(left: number, top: number, right: number, bottom: number): void;
12
+ shadowBlur(value: number): void;
13
+ shadowColor(color: number): void;
14
+ shadowOffsetX(x: number): void;
15
+ shadowOffsetY(y: number): void;
16
+ lineDashOffset(offset: number): void;
17
+ lineWidth(lineWidth: number): void;
18
+ setLineDash(a: number, b: number): void;
19
+ textBaseline(str: string): void;
20
+ textAlign(str: string): void;
21
+ fillText(text: string, x: number, y: number): void;
22
+ strokeText(text: string, x: number, y: number): void;
23
+ font(text: string): void;
24
+ beginPath(): void;
25
+ moveTo(x: number, y: number): void;
26
+ arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise: boolean): void;
27
+ clip(): void;
28
+ lineTo(x: number, y: number): void;
29
+ closePath(): void;
30
+ stroke(): void;
31
+ fill(): void;
32
+ save(): void;
33
+ restore(): void;
34
+ lineCap(str: string): void;
35
+ lineJoin(type: string): void;
36
+ quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void;
37
+ bezierCurveTo(cpx1: number, cpy1: number, cpx2: number, cpy2: number, x: number, y: number): void;
38
+ globalAlpha(value: number): void;
39
+ globalCompositeOperation(value: string): void;
40
+ translate(tx: number, ty: number): void;
41
+ rotate(angle: number): void;
42
+ scale(sx: number, sy: number): void;
43
+ transform(scaleX: number, skewY: number, skewX: number, scaleY: number, translateX: number, translateY: number): void;
44
+ setTransform(scaleX: number, skewY: number, skewX: number, scaleY: number, translateX: number, translateY: number): void;
45
+ drawImage(url: string, x: number, y: number): void;
46
+ drawImageWithWH(url: string, x: number, y: number, width: number, height: number): void;
47
+ drawImageSlice(url: string, sx: number, sy: number, sWidth: number, sHeight: number, dx: number, dy: number, dWidth: number, dHeight: number): void;
48
+ setVersion(version: string): any;
49
+ setCurrentDensity(density: string): any;
50
+ }
@@ -0,0 +1,54 @@
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTICanvasView } from './QTICanvasView';
3
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
4
+ import { CanvasGradient } from './CanvasGradient';
5
+ export interface QtCanvasViewAPI extends QtBaseViewAPI {
6
+ destroyView(instance: string | Ref<QTICanvasView | undefined>): void;
7
+ drawAction(instance: string | Ref<QTICanvasView | undefined>, str: string): void;
8
+ drawFinish(instance: string | Ref<QTICanvasView | undefined>): void;
9
+ fillStyle(instance: string | Ref<QTICanvasView | undefined>, input: CanvasGradient): void;
10
+ fillRect(instance: string | Ref<QTICanvasView | undefined>, left: number, top: number, right: number, bottom: number): void;
11
+ rec(instance: string | Ref<QTICanvasView | undefined>, left: number, top: number, right: number, bottom: number): void;
12
+ strokeStyle(instance: string | Ref<QTICanvasView | undefined>, string: CanvasGradient): void;
13
+ strokeRect(instance: string | Ref<QTICanvasView | undefined>, left: number, top: number, right: number, bottom: number): void;
14
+ clearRect(instance: string | Ref<QTICanvasView | undefined>, left: number, top: number, right: number, bottom: number): void;
15
+ shadowBlur(instance: string | Ref<QTICanvasView | undefined>, value: number): void;
16
+ shadowColor(instance: string | Ref<QTICanvasView | undefined>, color: number): void;
17
+ shadowOffsetX(instance: string | Ref<QTICanvasView | undefined>, x: number): void;
18
+ shadowOffsetY(instance: string | Ref<QTICanvasView | undefined>, y: number): void;
19
+ lineDashOffset(instance: string | Ref<QTICanvasView | undefined>, offset: number): void;
20
+ lineWidth(instance: string | Ref<QTICanvasView | undefined>, lineWidth: number): void;
21
+ setLineDash(instance: string | Ref<QTICanvasView | undefined>, a: number, b: number): void;
22
+ textBaseline(instance: string | Ref<QTICanvasView | undefined>, str: string): void;
23
+ textAlign(instance: string | Ref<QTICanvasView | undefined>, str: string): void;
24
+ fillText(instance: string | Ref<QTICanvasView | undefined>, text: string, x: number, y: number): void;
25
+ strokeText(instance: string | Ref<QTICanvasView | undefined>, text: string, x: number, y: number): void;
26
+ font(instance: string | Ref<QTICanvasView | undefined>, text: string): void;
27
+ beginPath(instance: string | Ref<QTICanvasView | undefined>): void;
28
+ moveTo(instance: string | Ref<QTICanvasView | undefined>, x: number, y: number): void;
29
+ arc(instance: string | Ref<QTICanvasView | undefined>, x: number, y: number, radius: number, startAngle: number, endAngle: number, anticlockwise: boolean): void;
30
+ clip(instance: string | Ref<QTICanvasView | undefined>): void;
31
+ lineTo(instance: string | Ref<QTICanvasView | undefined>, x: number, y: number): void;
32
+ closePath(instance: string | Ref<QTICanvasView | undefined>): void;
33
+ stroke(instance: string | Ref<QTICanvasView | undefined>): void;
34
+ fill(instance: string | Ref<QTICanvasView | undefined>): void;
35
+ save(instance: string | Ref<QTICanvasView | undefined>): void;
36
+ restore(instance: string | Ref<QTICanvasView | undefined>): void;
37
+ lineCap(instance: string | Ref<QTICanvasView | undefined>, str: string): void;
38
+ lineJoin(instance: string | Ref<QTICanvasView | undefined>, type: string): void;
39
+ quadraticCurveTo(instance: string | Ref<QTICanvasView | undefined>, cpx: number, cpy: number, x: number, y: number): void;
40
+ bezierCurveTo(instance: string | Ref<QTICanvasView | undefined>, cpx1: number, cpy1: number, cpx2: number, cpy2: number, x: number, y: number): void;
41
+ globalAlpha(instance: string | Ref<QTICanvasView | undefined>, value: number): void;
42
+ globalCompositeOperation(instance: string | Ref<QTICanvasView | undefined>, value: string): void;
43
+ translate(instance: string | Ref<QTICanvasView | undefined>, tx: number, ty: number): void;
44
+ rotate(instance: string | Ref<QTICanvasView | undefined>, angle: number): void;
45
+ scale(instance: string | Ref<QTICanvasView | undefined>, sx: number, sy: number): void;
46
+ transform(instance: string | Ref<QTICanvasView | undefined>, scaleX: number, skewY: number, skewX: number, scaleY: number, translateX: number, translateY: number): void;
47
+ setTransform(instance: string | Ref<QTICanvasView | undefined>, scaleX: number, skewY: number, skewX: number, scaleY: number, translateX: number, translateY: number): void;
48
+ drawImage(instance: string | Ref<QTICanvasView | undefined>, url: string, x: number, y: number): void;
49
+ drawImageWithWH(instance: string | Ref<QTICanvasView | undefined>, url: string, x: number, y: number, width: number, height: number): void;
50
+ drawImageSlice(instance: string | Ref<QTICanvasView | undefined>, url: string, sx: number, sy: number, sWidth: number, sHeight: number, dx: number, dy: number, dWidth: number, dHeight: number): void;
51
+ setVersion(instance: string | Ref<QTICanvasView | undefined>, version: string): any;
52
+ setCurrentDensity(instance: string | Ref<QTICanvasView | undefined>, density: string): any;
53
+ }
54
+ export declare function createQtCanvasViewAPI(viewAPI: QtBaseViewAPI): QtCanvasViewAPI;
@@ -1,8 +1,8 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIClassifiedListView } from "./core/QTIClassifiedListView";
4
- import { QTClassifiedListViewItem } from "./core/QTClassifiedListViewItem";
5
- export interface QtClassifiedListViewAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIClassifiedListView } from './core/QTIClassifiedListView';
3
+ import { QTClassifiedListViewItem } from './core/QTClassifiedListViewItem';
4
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
5
+ export interface QtClassifiedListViewAPI extends QtBaseViewAPI {
6
6
  init(instance: Ref<QTIClassifiedListView | undefined>, itemList: Array<QTClassifiedListViewItem>): void;
7
7
  scrollToIndex(instance: Ref<QTIClassifiedListView | undefined>, index: number, anim: Boolean, offset: number): void;
8
8
  setItemFocused(instance: Ref<QTIClassifiedListView | undefined>, index: number): void;
@@ -11,4 +11,4 @@ export interface QtClassifiedListViewAPI extends QtViewAPI {
11
11
  scrollToSelected(instance: Ref<QTIClassifiedListView | undefined>, index: number, b: boolean): void;
12
12
  updateItem(instance: Ref<QTIClassifiedListView | undefined>, position: number, data: QTClassifiedListViewItem): void;
13
13
  }
14
- export declare function createQtClassifiedListViewAPI(viewAPI: QtViewAPI): QtClassifiedListViewAPI;
14
+ export declare function createQtClassifiedListViewAPI(viewAPI: QtBaseViewAPI): QtClassifiedListViewAPI;
@@ -1,5 +1,5 @@
1
- import { QTClassifiedListViewItemDecoration } from "./QTClassifiedListViewItemDecoration";
2
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
1
+ import { QTClassifiedListViewItemDecoration } from './QTClassifiedListViewItemDecoration';
2
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
3
3
  export interface QTClassifiedListViewItem extends QTListViewItem {
4
4
  type: number;
5
5
  categoryname: string;
@@ -1,5 +1,5 @@
1
- import { QTClassifiedListViewItem } from "./QTClassifiedListViewItem";
2
- import { QTIView } from "../../view/QTIView";
1
+ import { QTClassifiedListViewItem } from './QTClassifiedListViewItem';
2
+ import { QTIView } from '../../view/QTIView';
3
3
  export interface QTIClassifiedListView extends QTIView {
4
4
  init(itemList: Array<QTClassifiedListViewItem>): void;
5
5
  scrollToIndex(index: number, anim: Boolean, offset: number): void;
@@ -1,5 +1,5 @@
1
- import { QTClassifiedListViewItem } from "./core/QTClassifiedListViewItem";
2
- import { QTIListView } from "../list-view/core/QTIListView";
1
+ import { QTClassifiedListViewItem } from './core/QTClassifiedListViewItem';
2
+ import { QTIListView } from '../list-view/core/QTIListView';
3
3
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  className: {
5
5
  type: StringConstructor;
@@ -1,13 +1,13 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTICollapse } from "./core/QTICollapse";
4
- import { QTICollapseItem } from "./core/QTICollapseItem";
5
- import { QTCollapse } from "./core/QTCollapse";
6
- export interface QtCollapseAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTICollapse } from './core/QTICollapse';
3
+ import { QTICollapseItem } from './core/QTICollapseItem';
4
+ import { QTCollapse } from './core/QTCollapse';
5
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
6
+ export interface QtCollapseAPI extends QtBaseViewAPI {
7
7
  init(instance: Ref<QTICollapse | undefined>, collapse: QTCollapse): void;
8
8
  getItem(instance: Ref<QTICollapse | undefined>, index: number): QTICollapseItem | undefined;
9
9
  expandItem(instance: Ref<QTICollapse | undefined>, index: number): void;
10
10
  collapse(instance: Ref<QTICollapse | undefined>): void;
11
11
  expand(instance: Ref<QTICollapse | undefined>): void;
12
12
  }
13
- export declare function createQtCollapseAPI(viewAPI: QtViewAPI): QtCollapseAPI;
13
+ export declare function createQtCollapseAPI(viewAPI: QtBaseViewAPI): QtCollapseAPI;
@@ -1,4 +1,4 @@
1
- import { QTCollapseItem } from "./QTCollapseItem";
1
+ import { QTCollapseItem } from './QTCollapseItem';
2
2
  export interface QTCollapse {
3
3
  width: number;
4
4
  height: number;
@@ -1,6 +1,6 @@
1
- import { QTICollapseItem } from "./QTICollapseItem";
2
- import { QTCollapse } from "./QTCollapse";
3
- import { QTIView } from "../../view/QTIView";
1
+ import { QTICollapseItem } from './QTICollapseItem';
2
+ import { QTCollapse } from './QTCollapse';
3
+ import { QTIView } from '../../view/QTIView';
4
4
  export interface QTICollapse extends QTIView {
5
5
  init(collapse: QTCollapse): void;
6
6
  getItem(index: number): QTICollapseItem | undefined;
@@ -1,4 +1,4 @@
1
- import { QTIView } from "../../view/QTIView";
1
+ import { QTIView } from '../../view/QTIView';
2
2
  export interface QTICollapseItem extends QTIView {
3
- onCollapseItemExpand(value: boolean): void;
3
+ onCollapseItemExpand(value: boolean, init: boolean): void;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { QTICollapseItem } from "./core/QTICollapseItem";
2
- import { QTCollapse } from "./core/QTCollapse";
3
- import { QTIAnimation } from "../animation/QTIAnimation";
1
+ import { QTICollapseItem } from './core/QTICollapseItem';
2
+ import { QTCollapse } from './core/QTCollapse';
3
+ import { QTIAnimation } from '../animation/QTIAnimation';
4
4
  declare const _default: import("vue").DefineComponent<{}, {
5
5
  dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
6
6
  requestFocus: (direction?: import("..").QTFocusDirection) => void;
@@ -1,3 +1,3 @@
1
- import { QTIView } from "../view/QTIView";
1
+ import { QTIView } from '../view/QTIView';
2
2
  export interface QTIColumn extends QTIView {
3
3
  }
@@ -1,4 +1,4 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- export interface QtColumnAPI extends QtViewAPI {
1
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
2
+ export interface QtColumnAPI extends QtBaseViewAPI {
3
3
  }
4
- export declare function createQtColumnAPI(viewAPI: QtViewAPI): QtColumnAPI;
4
+ export declare function createQtColumnAPI(viewAPI: QtBaseViewAPI): QtColumnAPI;
@@ -1,4 +1,4 @@
1
- import { ESGradient } from "@extscreen/es3-component";
1
+ import { ESGradient } from '@extscreen/es3-component';
2
2
  export interface QTFlexStyleGradientBackground {
3
3
  gradientBackground?: ESGradient;
4
4
  }
@@ -1,3 +1,3 @@
1
- import { QTFlexStylePosition } from "./QTFlexStylePosition";
2
- import { QTFlexStyleSize } from "./QTFlexStyleSize";
1
+ import { QTFlexStylePosition } from './QTFlexStylePosition';
2
+ import { QTFlexStyleSize } from './QTFlexStyleSize';
3
3
  export type QTLocation = QTFlexStylePosition & QTFlexStyleSize;
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerQTDialog(app: ESApp): void;
3
3
  export default registerQTDialog;