@quicktvui/quicktvui3 1.2.0 → 3.0.0-alpha.2

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 (200) 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 +23 -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 +22 -0
  61. package/dist/src/long-image/QTLongImage.d.ts +3 -0
  62. package/dist/src/long-image/QTLongImageEventBean.d.ts +55 -0
  63. package/dist/src/long-image/QTLongImageOrientation.d.ts +7 -0
  64. package/dist/src/long-image/QTLongImagePositionType.d.ts +5 -0
  65. package/dist/src/long-image/QTLongImageScaleType.d.ts +9 -0
  66. package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
  67. package/dist/src/long-image/index.vue.d.ts +211 -0
  68. package/dist/src/lottie/QTILottieView.d.ts +4 -4
  69. package/dist/src/lottie/QTLottieView.d.ts +1 -1
  70. package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
  71. package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
  72. package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
  73. package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
  74. package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
  75. package/dist/src/nav-bar/index.vue.d.ts +18 -18
  76. package/dist/src/plugin/QTIPluginView.d.ts +1 -1
  77. package/dist/src/plugin/QTPluginView.d.ts +1 -1
  78. package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
  79. package/dist/src/poster/QtPosterAPI.d.ts +3 -3
  80. package/dist/src/poster/core/QTIPoster.d.ts +1 -1
  81. package/dist/src/poster/core/QTPoster.d.ts +13 -13
  82. package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
  83. package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
  84. package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
  85. package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
  86. package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
  87. package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
  88. package/dist/src/poster/index.vue.d.ts +19 -16
  89. package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
  90. package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
  91. package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
  92. package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
  93. package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
  94. package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
  95. package/dist/src/qt/QtAPI.d.ts +67 -31
  96. package/dist/src/qtListen/index.d.ts +6 -4
  97. package/dist/src/qtListen/qtArray.d.ts +1 -0
  98. package/dist/src/qtListen/qtDiff.d.ts +1 -1
  99. package/dist/src/qtListen/ref.d.ts +30 -0
  100. package/dist/src/qtListen/types.d.ts +13 -2
  101. package/dist/src/qtListen/watch.d.ts +6 -1
  102. package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
  103. package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
  104. package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
  105. package/dist/src/row/QTIRow.d.ts +1 -1
  106. package/dist/src/row/QtRowAPI.d.ts +3 -3
  107. package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
  108. package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
  109. package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
  110. package/dist/src/section/index.vue.d.ts +11 -11
  111. package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
  112. package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
  113. package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
  114. package/dist/src/series/DataAdapter.d.ts +6 -6
  115. package/dist/src/series/QTIMediaSeries.d.ts +6 -6
  116. package/dist/src/series/QTMediaSeries.d.ts +2 -2
  117. package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
  118. package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
  119. package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
  120. package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
  121. package/dist/src/series/component/media-series.vue.d.ts +9 -9
  122. package/dist/src/series/index.vue.d.ts +26 -22
  123. package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
  124. package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
  125. package/dist/src/tab/QTITab.d.ts +9 -9
  126. package/dist/src/tab/QTTab.d.ts +1 -1
  127. package/dist/src/tab/QTTabDataManager.d.ts +8 -8
  128. package/dist/src/tab/QTTabEvent.d.ts +2 -2
  129. package/dist/src/tab/QTTabEventParams.d.ts +1 -1
  130. package/dist/src/tab/QTTabItem.d.ts +1 -1
  131. package/dist/src/tab/QTTabPage.d.ts +1 -1
  132. package/dist/src/tab/QTTabPageData.d.ts +1 -1
  133. package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
  134. package/dist/src/tab/QtTabAPI.d.ts +11 -11
  135. package/dist/src/tab/index.vue.d.ts +99 -33
  136. package/dist/src/tab/useQtTabWatch.d.ts +3 -0
  137. package/dist/src/text/QTIText.d.ts +2 -2
  138. package/dist/src/text/QTTextSpan.d.ts +1 -1
  139. package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
  140. package/dist/src/text/QtTextAPI.d.ts +6 -6
  141. package/dist/src/text/index.vue.d.ts +12 -12
  142. package/dist/src/ul/QTIUL.d.ts +3 -3
  143. package/dist/src/ul/QTULInitPosition.d.ts +1 -1
  144. package/dist/src/ul/QtULAPI.d.ts +7 -7
  145. package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
  146. package/dist/src/utils/functions.d.ts +1 -0
  147. package/dist/src/utils/index.d.ts +2 -0
  148. package/dist/src/utils/make-installer.d.ts +5 -0
  149. package/dist/src/utils/objects.d.ts +2 -0
  150. package/dist/src/utils/type.d.ts +1 -1
  151. package/dist/src/utils/types.d.ts +9 -0
  152. package/dist/src/utils/vue/index.d.ts +3 -0
  153. package/dist/src/utils/vue/install.d.ts +6 -0
  154. package/dist/src/utils/vue/props/index.d.ts +3 -0
  155. package/dist/src/utils/vue/props/runtime.d.ts +9 -0
  156. package/dist/src/utils/vue/props/types.d.ts +38 -0
  157. package/dist/src/utils/vue/props/util.d.ts +8 -0
  158. package/dist/src/utils/vue/typescript.d.ts +6 -0
  159. package/dist/src/view/QTIView.d.ts +1 -1
  160. package/dist/src/view/QtViewAPI.d.ts +3 -44
  161. package/dist/src/view/index.vue.d.ts +12 -12
  162. package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
  163. package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
  164. package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
  165. package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
  166. package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
  167. package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
  168. package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
  169. package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
  170. package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
  171. package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
  172. package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
  173. package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
  174. package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
  175. package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
  176. package/dist/src/waterfall/index.vue.d.ts +37 -24
  177. package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
  178. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
  179. package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
  180. package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
  181. package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
  182. package/dist/src/waterfall/section/flex-section.vue.d.ts +11 -8
  183. package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
  184. package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
  185. package/dist/src/waterfall/section/section-title.vue.d.ts +5 -5
  186. package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
  187. package/dist/src/webview/QTIWebView.d.ts +31 -3
  188. package/dist/src/webview/QTWebView.d.ts +1 -1
  189. package/dist/src/webview/QTWebViewInterceptRule.d.ts +4 -0
  190. package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
  191. package/dist/src/webview/QTWebViewSniffingRule.d.ts +20 -0
  192. package/dist/src/webview/QtWebViewAPI.d.ts +35 -7
  193. package/dist/src/x5webview/QTIX5WebView.d.ts +36 -3
  194. package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
  195. package/dist/src/x5webview/QTX5WebViewInterceptRule.d.ts +4 -0
  196. package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
  197. package/dist/src/x5webview/QTX5WebViewSniffingRule.d.ts +20 -0
  198. package/dist/src/x5webview/QtX5WebViewAPI.d.ts +37 -7
  199. package/package.json +5 -1
  200. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- import { QTWaterfallVisibleType } from "./QTWaterfallVisibleType";
1
+ import { QTWaterfallVisibleType } from './QTWaterfallVisibleType';
2
2
  export interface QTWaterfall {
3
3
  width: number;
4
4
  height: number;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
2
- import { QTWaterfallCardPlaceHolder } from "./QTWaterfallCardPlaceHolder";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
+ import { QTWaterfallCardPlaceHolder } from './QTWaterfallCardPlaceHolder';
3
3
  export interface QTWaterfallCardItem extends QTWaterfallItem {
4
4
  cardId: string;
5
5
  cardPlaceHolder?: QTWaterfallCardPlaceHolder;
@@ -1,6 +1,6 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
2
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
3
- import { QTWaterfallCardPlaceHolder } from "./QTWaterfallCardPlaceHolder";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
3
+ import { QTWaterfallCardPlaceHolder } from './QTWaterfallCardPlaceHolder';
4
4
  export interface QTWaterfallCardSection extends QTWaterfallSection {
5
5
  cardId: string;
6
6
  cardStyle: QTWaterfallFlexStyle;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
2
- import { QTWaterfall } from "./QTWaterfall";
3
- import { QTWaterfallSection } from "./QTWaterfallSection";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
+ import { QTWaterfall } from './QTWaterfall';
3
+ import { QTWaterfallSection } from './QTWaterfallSection';
4
4
  export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>, isResetSection?: boolean): Array<QTWaterfallItem>;
5
5
  export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection, isResetSection?: boolean): QTWaterfallSection;
@@ -1,6 +1,6 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
2
- import { QTWaterfallItem } from "./QTWaterfallItem";
3
- import { QTWaterfallIndex } from "./QTWaterfallIndex";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
+ import { QTWaterfallItem } from './QTWaterfallItem';
3
+ import { QTWaterfallIndex } from './QTWaterfallIndex';
4
4
  export interface QTWaterfallDataManager {
5
5
  init(): void;
6
6
  getSectionList(): Array<QTWaterfallSection>;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
2
  export interface QTWaterfallEvent {
3
3
  position: number;
4
4
  parentPosition: number;
@@ -1,9 +1,9 @@
1
- import { QTFlexStyleMargin } from "../../core/QTFlexStyleMargin";
2
- import { QTFlexStylePadding } from "../../core/QTFlexStylePadding";
3
- import { QTFlexStyleSize } from "../../core/QTFlexStyleSize";
4
- import { QTFlexStyleSpacing } from "../../core/QTFlexStyleSpacing";
5
- import { QTFlexStyleDecoration } from "../../core/QTFlexStyleDecoration";
6
- import { QTFlexStyleCoordinate } from "../../core/QTFlexStyleCoordinate";
7
- import { QTFlexStyleBackground } from "../../core/QTFlexStyleBackground";
8
- import { QTFlexStyleGradientBackground } from "../../core/QTFlexStyleGradientBackground";
1
+ import { QTFlexStyleMargin } from '../../core/QTFlexStyleMargin';
2
+ import { QTFlexStylePadding } from '../../core/QTFlexStylePadding';
3
+ import { QTFlexStyleSize } from '../../core/QTFlexStyleSize';
4
+ import { QTFlexStyleSpacing } from '../../core/QTFlexStyleSpacing';
5
+ import { QTFlexStyleDecoration } from '../../core/QTFlexStyleDecoration';
6
+ import { QTFlexStyleCoordinate } from '../../core/QTFlexStyleCoordinate';
7
+ import { QTFlexStyleBackground } from '../../core/QTFlexStyleBackground';
8
+ import { QTFlexStyleGradientBackground } from '../../core/QTFlexStyleGradientBackground';
9
9
  export type QTWaterfallFlexStyle = QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize & QTFlexStyleSpacing & QTFlexStyleDecoration & QTFlexStyleCoordinate & QTFlexStyleBackground & QTFlexStyleGradientBackground;
@@ -1,5 +1,5 @@
1
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
2
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
1
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
2
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
3
3
  export interface QTWaterfallItem extends QTListViewItem {
4
4
  style: QTWaterfallFlexStyle;
5
5
  [prop: string]: any;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
2
  export interface QTWaterfallPluginItem extends QTWaterfallItem {
3
3
  pluginKey: string;
4
4
  [prop: string]: any;
@@ -1,4 +1,4 @@
1
- import { QTWaterfallSection } from "./QTWaterfallSection";
1
+ import { QTWaterfallSection } from './QTWaterfallSection';
2
2
  export interface QTWaterfallPluginSection extends QTWaterfallSection {
3
3
  pluginKey: string;
4
4
  [prop: string]: any;
@@ -1,8 +1,8 @@
1
- import { QTWaterfallItem } from "./QTWaterfallItem";
2
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
3
- import { QTListViewItem } from "../../list-view/core/QTListViewItem";
4
- import { QTFlexStyleText } from "../../core/QTFlexStyleText";
5
- import { QTWaterfallPlaceholder } from "./QTWaterfallPlaceholder";
1
+ import { QTWaterfallItem } from './QTWaterfallItem';
2
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
3
+ import { QTListViewItem } from '../../list-view/core/QTListViewItem';
4
+ import { QTFlexStyleText } from '../../core/QTFlexStyleText';
5
+ import { QTWaterfallPlaceholder } from './QTWaterfallPlaceholder';
6
6
  export interface QTWaterfallSection extends QTListViewItem {
7
7
  title?: string;
8
8
  titleStyle?: QTWaterfallFlexStyle & QTFlexStyleText;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallFlexStyle } from "./QTWaterfallFlexStyle";
2
- import { QTWaterfallItem } from "./QTWaterfallItem";
1
+ import { QTWaterfallFlexStyle } from './QTWaterfallFlexStyle';
2
+ import { QTWaterfallItem } from './QTWaterfallItem';
3
3
  export interface QTWaterfallTabItem extends QTWaterfallItem {
4
4
  text: string;
5
5
  textStyle?: QTWaterfallFlexStyle;
@@ -1,11 +1,11 @@
1
- import { QTWaterfall } from "./core/QTWaterfall";
2
- import { QTWaterfallSection } from "./core/QTWaterfallSection";
3
- import { ESIListView } from "@extscreen/es3-component";
4
- import { QTWaterfallItem } from "./core/QTWaterfallItem";
5
- import { QTWaterfallEvent } from "./core/QTWaterfallEvent";
6
- import { QTWaterfallVisibleType } from "./core/QTWaterfallVisibleType";
7
- import { QTPluginViewEvent } from "../plugin/QTIPluginView";
8
- declare const _default: import("vue").DefineComponent<{
1
+ import { QTWaterfall } from './core/QTWaterfall';
2
+ import { QTWaterfallSection } from './core/QTWaterfallSection';
3
+ import { ESIListView } from '@extscreen/es3-component';
4
+ import { QTWaterfallItem } from './core/QTWaterfallItem';
5
+ import { QTWaterfallEvent } from './core/QTWaterfallEvent';
6
+ import { QTWaterfallVisibleType } from './core/QTWaterfallVisibleType';
7
+ import { QTPluginViewEvent } from '../plugin/QTIPluginView';
8
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
9
  enablePlaceholder: {
10
10
  type: BooleanConstructor;
11
11
  default: boolean;
@@ -69,12 +69,12 @@ declare const _default: import("vue").DefineComponent<{
69
69
  type: StringConstructor;
70
70
  required: false;
71
71
  };
72
- }, {
73
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams[]) => void;
74
- requestFocus: (direction?: import("..").QTFocusDirection | undefined) => void;
75
- requestChildFocus: (position: number, direction?: import("..").QTFocusDirection | undefined) => void;
72
+ }>, {
73
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
74
+ requestFocus: (direction?: import("..").QTFocusDirection) => void;
75
+ requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
76
76
  clearFocus: () => void;
77
- requestFocusDirectly: (direction?: import("..").QTFocusDirection | undefined) => void;
77
+ requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
78
78
  setVisibility: (v: import("..").QTIViewVisibility) => void;
79
79
  requestRootLayout: () => void;
80
80
  requestLayout: () => void;
@@ -90,11 +90,11 @@ declare const _default: import("vue").DefineComponent<{
90
90
  setPosition: (x: number, y: number, z: number) => void;
91
91
  updateLayout: (width: number, height: number, x: number, y: number) => void;
92
92
  invalidate: () => void;
93
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams[], delay: number) => void;
94
- setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName[]) => void;
95
- setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName[]) => void;
96
- setInitFocus: (sid: string, delay?: number | undefined) => void;
97
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
93
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
94
+ setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
95
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
96
+ setInitFocus: (sid: string, delay?: number) => void;
97
+ setAutoFocus: (sid: string, delay?: number) => void;
98
98
  enabledAutofocus: (autofocus: boolean) => void;
99
99
  requestAutofocus: () => void;
100
100
  hasFocus: () => Promise<boolean>;
@@ -105,8 +105,8 @@ declare const _default: import("vue").DefineComponent<{
105
105
  requestChildFocusAtIndex: (position: number) => void;
106
106
  clearMemoryFocused: () => void;
107
107
  showDialog: (show: boolean) => void;
108
- waterfallRef: import("vue").Ref<ESIListView | undefined>;
109
- visibleType: import("vue").Ref<QTWaterfallVisibleType>;
108
+ waterfallRef: import("vue").Ref<ESIListView | undefined, ESIListView | undefined>;
109
+ visibleType: import("vue").Ref<QTWaterfallVisibleType, QTWaterfallVisibleType>;
110
110
  init: (data: QTWaterfall) => void;
111
111
  getSectionList: () => Array<QTWaterfallSection>;
112
112
  setSectionList: (sectionList: Array<QTWaterfallSection>) => void;
@@ -149,7 +149,10 @@ declare const _default: import("vue").DefineComponent<{
149
149
  onScrollYLesserReference: () => void;
150
150
  onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
151
151
  onPluginLoadError: (event: QTPluginViewEvent) => void;
152
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
152
+ scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
153
+ scrollToPosition: (position: number, offset?: number) => void;
154
+ scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
155
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
153
156
  enablePlaceholder: {
154
157
  type: BooleanConstructor;
155
158
  default: boolean;
@@ -213,7 +216,7 @@ declare const _default: import("vue").DefineComponent<{
213
216
  type: StringConstructor;
214
217
  required: false;
215
218
  };
216
- }>> & {
219
+ }>> & Readonly<{
217
220
  onOnScroll?: ((...args: any[]) => any) | undefined;
218
221
  onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
219
222
  onOnItemClick?: ((...args: any[]) => any) | undefined;
@@ -225,7 +228,7 @@ declare const _default: import("vue").DefineComponent<{
225
228
  onOnScrollYLesserReference?: ((...args: any[]) => any) | undefined;
226
229
  onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
227
230
  onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
228
- }, {
231
+ }>, {
229
232
  enablePlaceholder: boolean;
230
233
  blockFocusDirections: unknown[];
231
234
  vueSectionBlockFocusDirections: unknown[];
@@ -235,5 +238,15 @@ declare const _default: import("vue").DefineComponent<{
235
238
  scrollYGreaterReferenceValue: number;
236
239
  pStype: Record<string, any>;
237
240
  qtTabSectionEnable: Record<string, any>;
238
- }, {}>;
241
+ }, {}, {
242
+ 'flex-section': import("vue").DefineComponent<{}, {}, any>;
243
+ 'list-section': import("vue").DefineComponent<{}, {}, any>;
244
+ 'section-title': import("vue").DefineComponent<{}, {}, any>;
245
+ 'loading-section': import("vue").DefineComponent<{}, {}, any>;
246
+ 'end-section': import("vue").DefineComponent<{}, {}, any>;
247
+ 'blank-section': import("vue").DefineComponent<{}, {}, any>;
248
+ 'card-section': import("vue").DefineComponent<{}, {}, any>;
249
+ 'vue-section': import("vue").DefineComponent<{}, {}, any>;
250
+ 'plugin-section': import("vue").DefineComponent<{}, {}, any>;
251
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
239
252
  export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<{}, {
2
2
  onFocus: (e: any) => void;
3
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
3
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
4
4
  export default _default;
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  onFocus: (e: any) => void;
3
- dispatchFunctionBySid: (sid: string, funcName: string, args: import("../..").QTNativeParams[]) => void;
4
- requestFocus: (direction?: import("../..").QTFocusDirection | undefined) => void;
5
- requestChildFocus: (position: number, direction?: import("../..").QTFocusDirection | undefined) => void;
3
+ dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("../..").QTNativeParams>) => void;
4
+ requestFocus: (direction?: import("../..").QTFocusDirection) => void;
5
+ requestChildFocus: (position: number, direction?: import("../..").QTFocusDirection) => void;
6
6
  clearFocus: () => void;
7
- requestFocusDirectly: (direction?: import("../..").QTFocusDirection | undefined) => void;
7
+ requestFocusDirectly: (direction?: import("../..").QTFocusDirection) => void;
8
8
  setVisibility: (v: import("../..").QTIViewVisibility) => void;
9
9
  requestRootLayout: () => void;
10
10
  requestLayout: () => void;
@@ -20,11 +20,11 @@ declare const _default: import("vue").DefineComponent<{}, {
20
20
  setPosition: (x: number, y: number, z: number) => void;
21
21
  updateLayout: (width: number, height: number, x: number, y: number) => void;
22
22
  invalidate: () => void;
23
- dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("../..").QTNativeParams[], delay: number) => void;
24
- setBlockFocusDirections: (directionList: import("../..").QTFocusDirectionName[]) => void;
25
- setBlockFocusDirectionsOnFail: (directionList: import("../..").QTFocusDirectionName[]) => void;
26
- setInitFocus: (sid: string, delay?: number | undefined) => void;
27
- setAutoFocus: (sid: string, delay?: number | undefined) => void;
23
+ dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("../..").QTNativeParams>, delay: number) => void;
24
+ setBlockFocusDirections: (directionList: Array<import("../..").QTFocusDirectionName>) => void;
25
+ setBlockFocusDirectionsOnFail: (directionList: Array<import("../..").QTFocusDirectionName>) => void;
26
+ setInitFocus: (sid: string, delay?: number) => void;
27
+ setAutoFocus: (sid: string, delay?: number) => void;
28
28
  enabledAutofocus: (autofocus: boolean) => void;
29
29
  requestAutofocus: () => void;
30
30
  hasFocus: () => Promise<boolean>;
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{}, {
35
35
  requestChildFocusAtIndex: (position: number) => void;
36
36
  clearMemoryFocused: () => void;
37
37
  showDialog: (show: boolean) => void;
38
- viewRef: import("vue").Ref<any>;
39
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
38
+ viewRef: import("vue").Ref<any, any>;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<{}> & Readonly<{
40
40
  onFocus?: ((...args: any[]) => any) | undefined;
41
- }, {}, {}>;
41
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<{}, {
2
2
  onFocus: (e: any) => void;
3
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
3
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
4
4
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,6 +1,6 @@
1
- import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
2
- import { QTWaterfallItemType } from "../core/QTWaterfallItemType";
3
- declare const _default: import("@vue/runtime-core").DefineComponent<{
1
+ import { QTWaterfallSectionType } from '../core/QTWaterfallSectionType';
2
+ import { QTWaterfallItemType } from '../core/QTWaterfallItemType';
3
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
4
4
  enablePlaceholder: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -41,9 +41,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
41
41
  cardItemEnable: boolean;
42
42
  };
43
43
  };
44
- }, {
44
+ }>, {
45
45
  onFocus: (e: any) => void;
46
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
46
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
47
47
  enablePlaceholder: {
48
48
  type: BooleanConstructor;
49
49
  default: boolean;
@@ -84,9 +84,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
84
84
  cardItemEnable: boolean;
85
85
  };
86
86
  };
87
- }>> & {
87
+ }>> & Readonly<{
88
88
  onFocus?: ((...args: any[]) => any) | undefined;
89
- }, {
89
+ }>, {
90
90
  enablePlaceholder: boolean;
91
91
  plateData: string;
92
92
  useDiff: boolean;
@@ -96,5 +96,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
96
96
  currentPageIndex: number;
97
97
  itemFocusScale: number;
98
98
  flexSection: Record<string, any>;
99
- }, {}>;
99
+ }, {}, {
100
+ 'card-item': import("@vue/runtime-core").DefineComponent<{}, {}, any>;
101
+ 'qt-plugin-item': import("@vue/runtime-core").DefineComponent<{}, {}, any>;
102
+ }, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
100
103
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,18 +1,18 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
2
2
  pluginKey: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- }, {
6
+ }>, {
7
7
  onFocus: (e: any) => void;
8
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
8
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
9
9
  pluginKey: {
10
10
  type: StringConstructor;
11
11
  default: string;
12
12
  };
13
- }>> & {
13
+ }>> & Readonly<{
14
14
  onFocus?: ((...args: any[]) => any) | undefined;
15
- }, {
15
+ }>, {
16
16
  pluginKey: string;
17
- }, {}>;
17
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
18
18
  export default _default;
@@ -1,5 +1,5 @@
1
- import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
2
- declare const _default: import("@vue/runtime-core").DefineComponent<{
1
+ import { QTWaterfallSectionType } from '../core/QTWaterfallSectionType';
2
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
3
3
  plateTitleLeftMargin: {
4
4
  type: NumberConstructor;
5
5
  default: number;
@@ -8,7 +8,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
8
8
  type: NumberConstructor;
9
9
  default: QTWaterfallSectionType;
10
10
  };
11
- }, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
11
+ }>, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
12
12
  plateTitleLeftMargin: {
13
13
  type: NumberConstructor;
14
14
  default: number;
@@ -17,8 +17,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
17
17
  type: NumberConstructor;
18
18
  default: QTWaterfallSectionType;
19
19
  };
20
- }>>, {
20
+ }>> & Readonly<{}>, {
21
21
  plateTitleLeftMargin: number;
22
22
  type: number;
23
- }, {}>;
23
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
24
24
  export default _default;
@@ -1,16 +1,16 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<import("@vue/runtime-core").ExtractPropTypes<{
2
2
  blockFocusDirections: {
3
3
  type: ArrayConstructor;
4
4
  default: () => string[];
5
5
  };
6
- }, {
6
+ }>, {
7
7
  onSectionBind: () => void;
8
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
8
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
9
9
  blockFocusDirections: {
10
10
  type: ArrayConstructor;
11
11
  default: () => string[];
12
12
  };
13
- }>>, {
13
+ }>> & Readonly<{}>, {
14
14
  blockFocusDirections: unknown[];
15
- }, {}>;
15
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
16
16
  export default _default;
@@ -1,10 +1,37 @@
1
- import { QTIView } from "../view/QTIView";
1
+ import { QTIView } from '../view/QTIView';
2
+ import { QTWebViewLayerType } from './QTWebViewLayerType';
3
+ import { QTWebViewSniffingRule } from './QTWebViewSniffingRule';
4
+ import { QTWebViewInterceptRule } from './QTWebViewInterceptRule';
2
5
  export interface QTIWebView extends QTIView {
3
6
  loadUrl(url: string): void;
7
+ reload(): void;
8
+ clearCache(value: boolean): void;
9
+ getUrl(): Promise<string | undefined | null>;
10
+ getOriginalUrl(): Promise<string | undefined | null>;
11
+ setLayerType(layerType: QTWebViewLayerType): void;
12
+ setIgnoreCA(value: boolean): void;
13
+ getBackForwardList(): Promise<Array<Record<string, any>>>;
14
+ getCurrentIndexWithBackForwardList(): Promise<number>;
15
+ getScreenStatus(): Promise<number>;
16
+ autoClickPosition(x: number, y: number): void;
17
+ disableImageDisplay(): void;
18
+ enableImageDisplay(): void;
19
+ stopLoading(): void;
20
+ clearView(): void;
21
+ setListenEvents(value: string): void;
22
+ setIgnoreAllKeyEvent(value: boolean): void;
4
23
  evaluateJavascript(value: string): Promise<string | undefined | null>;
5
- canGoBack(): void;
24
+ setSniffingEnabled(value: boolean): void;
25
+ setSniffingRule(value: QTWebViewSniffingRule): void;
26
+ resetSniffingRule(): void;
27
+ setInterceptEnabled(value: boolean): void;
28
+ setInterceptRule(value: QTWebViewInterceptRule): void;
29
+ resetInterceptRule(): void;
30
+ shouldOverrideUrlLoading(value: boolean): void;
31
+ setUserAgent(value: string): void;
32
+ canGoBack(): Promise<boolean>;
6
33
  goBack(): void;
7
- canGoForward(): void;
34
+ canGoForward(): Promise<boolean>;
8
35
  goForward(): void;
9
36
  canGoBackOrForward(steps: number): void;
10
37
  goBackOrForward(steps: number): void;
@@ -51,6 +78,7 @@ export interface QTIWebView extends QTIView {
51
78
  setSaveFormData(value: boolean): void;
52
79
  setSavePassword(value: boolean): void;
53
80
  setTextSize(value: number): void;
81
+ setInitialScale(value: number): void;
54
82
  setDefaultZoom(value: number): void;
55
83
  setLightTouchEnabled(value: boolean): void;
56
84
  setMinimumLogicalFontSize(value: number): any;
@@ -1,3 +1,3 @@
1
- import { ESApp } from "@extscreen/es3-vue";
1
+ import { ESApp } from '@extscreen/es3-vue';
2
2
  declare function registerQTWebView(app: ESApp): void;
3
3
  export default registerQTWebView;
@@ -0,0 +1,4 @@
1
+ export interface QTWebViewInterceptRule {
2
+ rule?: Array<string>;
3
+ excludeRule?: Array<string>;
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum QTWebViewLayerType {
2
+ NONE = 0,
3
+ SOFTWARE = 1,
4
+ HARDWARE = 2
5
+ }
@@ -0,0 +1,20 @@
1
+ export interface QTWebViewSniffingRule {
2
+ urlRule?: QTWebViewSniffingUrlRuleItem;
3
+ urlExcludeRule?: QTWebViewSniffingUrlRuleItem;
4
+ headerRule?: QTWebViewSniffingHeaderRuleItem;
5
+ headerExcludeRule?: QTWebViewSniffingHeaderRuleItem;
6
+ }
7
+ export interface QTWebViewSniffingUrlRuleItem {
8
+ overrideRules?: Array<string>;
9
+ addRules?: Array<string>;
10
+ delRules?: Array<string>;
11
+ }
12
+ export interface QTWebViewSniffingHeaderRuleItem {
13
+ overrideRules?: {
14
+ [key: string]: string;
15
+ };
16
+ addRules?: {
17
+ [key: string]: string;
18
+ };
19
+ delRules?: Array<string>;
20
+ }
@@ -1,12 +1,33 @@
1
- import { QtViewAPI } from "../view/QtViewAPI";
2
- import { Ref } from "@vue/reactivity";
3
- import { QTIWebView } from "./QTIWebView";
4
- export interface QtWebViewAPI extends QtViewAPI {
1
+ import { Ref } from '@vue/reactivity';
2
+ import { QTIWebView } from './QTIWebView';
3
+ import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
4
+ import { QTWebViewLayerType } from './QTWebViewLayerType';
5
+ import { QTWebViewSniffingRule } from './QTWebViewSniffingRule';
6
+ import { QTWebViewInterceptRule } from './QTWebViewInterceptRule';
7
+ export interface QtWebViewAPI extends QtBaseViewAPI {
8
+ reload(instance: string | Ref<QTIWebView | undefined>): void;
9
+ clearCache(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
10
+ getUrl(instance: string | Ref<QTIWebView | undefined>): Promise<string | undefined | null>;
11
+ getOriginalUrl(instance: string | Ref<QTIWebView | undefined>): Promise<string | undefined | null>;
12
+ setLayerType(instance: string | Ref<QTIWebView | undefined>, value: QTWebViewLayerType): void;
13
+ setIgnoreCA(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
14
+ setIgnoreAllKeyEvent(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
15
+ getBackForwardList(instance: string | Ref<QTIWebView | undefined>): Promise<Array<Record<string, any>>>;
16
+ getCurrentIndexWithBackForwardList(instance: string | Ref<QTIWebView | undefined>): Promise<number>;
17
+ getScreenStatus(instance: string | Ref<QTIWebView | undefined>): Promise<number>;
5
18
  loadUrl(instance: string | Ref<QTIWebView | undefined>, url: string): void;
6
19
  evaluateJavascript(instance: string | Ref<QTIWebView | undefined>, value: string): Promise<string | undefined | null>;
7
- canGoBack(instance: string | Ref<QTIWebView | undefined>): void;
20
+ setSniffingEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
21
+ setSniffingRule(instance: string | Ref<QTIWebView | undefined>, value: QTWebViewSniffingRule): void;
22
+ resetSniffingRule(instance: string | Ref<QTIWebView | undefined>): void;
23
+ setInterceptEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
24
+ setInterceptRule(instance: string | Ref<QTIWebView | undefined>, value: QTWebViewInterceptRule): void;
25
+ resetInterceptRule(instance: string | Ref<QTIWebView | undefined>): void;
26
+ shouldOverrideUrlLoading(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
27
+ setUserAgent(instance: string | Ref<QTIWebView | undefined>, value: string): void;
28
+ canGoBack(instance: string | Ref<QTIWebView | undefined>): Promise<boolean>;
8
29
  goBack(instance: string | Ref<QTIWebView | undefined>): void;
9
- canGoForward(instance: string | Ref<QTIWebView | undefined>): void;
30
+ canGoForward(instance: string | Ref<QTIWebView | undefined>): Promise<boolean>;
10
31
  goForward(instance: string | Ref<QTIWebView | undefined>): void;
11
32
  canGoBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
12
33
  goBackOrForward(instance: string | Ref<QTIWebView | undefined>, steps: number): void;
@@ -53,6 +74,13 @@ export interface QtWebViewAPI extends QtViewAPI {
53
74
  setSaveFormData(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
54
75
  setSavePassword(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
55
76
  setTextSize(instance: string | Ref<QTIWebView | undefined>, value: number): void;
77
+ setInitialScale(instance: string | Ref<QTIWebView | undefined>, value: number): void;
78
+ autoClickPosition(instance: string | Ref<QTIWebView | undefined>, x: number, y: number): void;
79
+ disableImageDisplay(instance: string | Ref<QTIWebView | undefined>): void;
80
+ enableImageDisplay(instance: string | Ref<QTIWebView | undefined>): void;
81
+ clearView(instance: string | Ref<QTIWebView | undefined>): void;
82
+ stopLoading(instance: string | Ref<QTIWebView | undefined>): void;
83
+ setListenEvents(instance: string | Ref<QTIWebView | undefined>, value: string): void;
56
84
  setDefaultZoom(instance: string | Ref<QTIWebView | undefined>, value: number): void;
57
85
  setLightTouchEnabled(instance: string | Ref<QTIWebView | undefined>, value: boolean): void;
58
86
  setMinimumLogicalFontSize(instance: string | Ref<QTIWebView | undefined>, value: number): any;
@@ -72,4 +100,4 @@ export interface QtWebViewAPI extends QtViewAPI {
72
100
  removeJavaScriptInterface(instance: string | Ref<QTIWebView | undefined>): void;
73
101
  initWebViewFocus(instance: string | Ref<QTIWebView | undefined>, delayTime: number, x: number, y: number): void;
74
102
  }
75
- export declare function createQtWebViewAPI(viewAPI: QtViewAPI): QtWebViewAPI;
103
+ export declare function createQtWebViewAPI(viewAPI: QtBaseViewAPI): QtWebViewAPI;