@quicktvui/quicktvui3 1.2.0 → 3.0.0-alpha.11
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.
- package/dist/index.css +17 -29
- package/dist/index.js +7 -10
- package/dist/src/animation/QTAnimation.android.d.ts +3 -0
- package/dist/src/animation/QTAnimation.harmony.d.ts +3 -0
- package/dist/src/animation/QTIAnimation.d.ts +19 -9
- package/dist/src/animation/QtAnimationAPI.d.ts +16 -34
- package/dist/src/animation/types.d.ts +40 -0
- package/dist/src/app/QTAppIcon.d.ts +1 -1
- package/dist/src/app/QtAppIconAPI.d.ts +5 -5
- package/dist/src/base/QTIBaseView.d.ts +10 -10
- package/dist/src/base/QtBaseNativeViewAPI.d.ts +2 -0
- package/dist/src/base/QtBaseViewAPI.d.ts +45 -0
- package/dist/src/base/useBaseView.d.ts +11 -11
- package/dist/src/button/QTIButton.d.ts +1 -1
- package/dist/src/button/QtButtonAPI.d.ts +3 -3
- package/dist/src/button/index.vue.d.ts +21 -21
- package/dist/src/canvas/CanvasGradient.d.ts +36 -0
- package/dist/src/canvas/QTCanvasView.d.ts +3 -0
- package/dist/src/canvas/QTICanvasView.d.ts +50 -0
- package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
- package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +6 -6
- package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +2 -2
- package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +2 -2
- package/dist/src/classified-list-view/index.vue.d.ts +21 -21
- package/dist/src/collapse/QtCollapseAPI.d.ts +7 -7
- package/dist/src/collapse/core/QTCollapse.d.ts +1 -1
- package/dist/src/collapse/core/QTICollapse.d.ts +3 -3
- package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
- package/dist/src/collapse/index.vue.d.ts +18 -18
- package/dist/src/column/QTIColumn.d.ts +1 -1
- package/dist/src/column/QtColumnAPI.d.ts +3 -3
- package/dist/src/core/QTFlexStyleGradientBackground.d.ts +1 -1
- package/dist/src/core/QTLocation.d.ts +2 -2
- package/dist/src/dialog/QTDialog.d.ts +1 -1
- package/dist/src/dialog/QTIDialog.d.ts +1 -1
- package/dist/src/file-browse/QTFileBrowse.d.ts +3 -0
- package/dist/src/file-browse/QTIFileBrowse.d.ts +8 -0
- package/dist/src/gradient/QTGradient.d.ts +3 -3
- package/dist/src/grid-view/QtGridViewAPI.d.ts +7 -7
- package/dist/src/grid-view/core/QTGridViewItem.d.ts +1 -1
- package/dist/src/grid-view/core/QTIGridView.d.ts +2 -2
- package/dist/src/grid-view/index.vue.d.ts +32 -32
- package/dist/src/image/QTIImage.d.ts +2 -2
- package/dist/src/image/QtImageAPI.d.ts +6 -6
- package/dist/src/image/index.vue.d.ts +12 -12
- package/dist/src/index.d.ts +25 -7
- package/dist/src/list/QTIBaseListView.d.ts +5 -5
- package/dist/src/list/QtBaseListViewAPI.d.ts +6 -6
- package/dist/src/list/useBaseListView.d.ts +6 -6
- package/dist/src/list/useListView.d.ts +49 -0
- package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +1 -1
- package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +7 -7
- package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +2 -2
- package/dist/src/list-item/ESListItemComponent.d.ts +1 -1
- package/dist/src/list-item/QtListItemAPI.d.ts +5 -5
- package/dist/src/list-view/QTListViewComponent.d.ts +1 -1
- package/dist/src/list-view/QtListViewAPI.d.ts +7 -7
- package/dist/src/list-view/core/QTIListView.d.ts +2 -2
- package/dist/src/list-view/core/QTListViewItem.d.ts +2 -2
- package/dist/src/loading/QTILoadingView.d.ts +1 -1
- package/dist/src/loading/QTLoadingView.d.ts +1 -1
- package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
- package/dist/src/long-image/QTILongImage.d.ts +22 -0
- package/dist/src/long-image/QTLongImage.d.ts +3 -0
- package/dist/src/long-image/QTLongImageEventBean.d.ts +55 -0
- package/dist/src/long-image/QTLongImageOrientation.d.ts +7 -0
- package/dist/src/long-image/QTLongImagePositionType.d.ts +5 -0
- package/dist/src/long-image/QTLongImageScaleType.d.ts +9 -0
- package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
- package/dist/src/long-image/index.vue.d.ts +211 -0
- package/dist/src/lottie/QTILottieView.d.ts +4 -4
- package/dist/src/lottie/QTLottieView.android.d.ts +3 -0
- package/dist/src/lottie/QTLottieView.harmony.d.ts +3 -0
- package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
- package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
- package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
- package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
- package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
- package/dist/src/nav-bar/index.vue.d.ts +18 -18
- package/dist/src/plugin/QTIPluginView.d.ts +1 -1
- package/dist/src/plugin/QTPluginView.d.ts +1 -1
- package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
- package/dist/src/poster/QtPosterAPI.d.ts +3 -3
- package/dist/src/poster/core/QTIPoster.d.ts +1 -1
- package/dist/src/poster/core/QTPoster.d.ts +13 -13
- package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
- package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
- package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
- package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
- package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
- package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
- package/dist/src/poster/index.vue.d.ts +19 -16
- package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
- package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
- package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
- package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
- package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
- package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
- package/dist/src/qt/QtAPI.d.ts +67 -31
- package/dist/src/qtListen/index.d.ts +6 -4
- package/dist/src/qtListen/qtArray.d.ts +1 -0
- package/dist/src/qtListen/qtDiff.d.ts +1 -1
- package/dist/src/qtListen/ref.d.ts +30 -0
- package/dist/src/qtListen/types.d.ts +13 -2
- package/dist/src/qtListen/watch.d.ts +6 -1
- package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
- package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
- package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
- package/dist/src/row/QTIRow.d.ts +1 -1
- package/dist/src/row/QtRowAPI.d.ts +3 -3
- package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
- package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
- package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
- package/dist/src/section/index.vue.d.ts +11 -11
- package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
- package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
- package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
- package/dist/src/series/DataAdapter.d.ts +6 -6
- package/dist/src/series/QTIMediaSeries.d.ts +6 -6
- package/dist/src/series/QTMediaSeries.d.ts +2 -2
- package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
- package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
- package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
- package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
- package/dist/src/series/component/media-series.vue.d.ts +9 -9
- package/dist/src/series/index.vue.d.ts +26 -22
- package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
- package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
- package/dist/src/tab/QTITab.d.ts +9 -9
- package/dist/src/tab/QTTab.d.ts +1 -1
- package/dist/src/tab/QTTabDataManager.d.ts +8 -8
- package/dist/src/tab/QTTabEvent.d.ts +2 -2
- package/dist/src/tab/QTTabEventParams.d.ts +1 -1
- package/dist/src/tab/QTTabItem.d.ts +1 -1
- package/dist/src/tab/QTTabPage.d.ts +1 -1
- package/dist/src/tab/QTTabPageData.d.ts +1 -1
- package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
- package/dist/src/tab/QtTabAPI.d.ts +11 -11
- package/dist/src/tab/index.vue.d.ts +99 -33
- package/dist/src/tab/useQtTabWatch.d.ts +3 -0
- package/dist/src/text/QTIText.d.ts +2 -2
- package/dist/src/text/QTTextSpan.d.ts +1 -1
- package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
- package/dist/src/text/QtTextAPI.d.ts +6 -6
- package/dist/src/text/index.vue.d.ts +12 -12
- package/dist/src/ul/QTIUL.d.ts +3 -3
- package/dist/src/ul/QTULInitPosition.d.ts +1 -1
- package/dist/src/ul/QtULAPI.d.ts +7 -7
- package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
- package/dist/src/utils/functions.d.ts +1 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/make-installer.d.ts +5 -0
- package/dist/src/utils/objects.d.ts +2 -0
- package/dist/src/utils/type.d.ts +1 -1
- package/dist/src/utils/types.d.ts +9 -0
- package/dist/src/utils/vue/index.d.ts +3 -0
- package/dist/src/utils/vue/install.d.ts +6 -0
- package/dist/src/utils/vue/props/index.d.ts +3 -0
- package/dist/src/utils/vue/props/runtime.d.ts +9 -0
- package/dist/src/utils/vue/props/types.d.ts +38 -0
- package/dist/src/utils/vue/props/util.d.ts +8 -0
- package/dist/src/utils/vue/typescript.d.ts +6 -0
- package/dist/src/view/QTIView.d.ts +1 -1
- package/dist/src/view/QtViewAPI.d.ts +3 -44
- package/dist/src/view/index.vue.d.ts +12 -12
- package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
- package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
- package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
- package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
- package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
- package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
- package/dist/src/waterfall/index.vue.d.ts +37 -24
- package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
- package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/flex-section.vue.d.ts +11 -8
- package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
- package/dist/src/waterfall/section/section-title.vue.d.ts +5 -5
- package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
- package/dist/src/webview/QTIWebView.d.ts +31 -3
- package/dist/src/webview/QTWebView.d.ts +1 -1
- package/dist/src/webview/QTWebViewInterceptRule.d.ts +4 -0
- package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
- package/dist/src/webview/QTWebViewSniffingRule.d.ts +20 -0
- package/dist/src/webview/QtWebViewAPI.d.ts +35 -7
- package/dist/src/x5webview/QTIX5WebView.d.ts +36 -3
- package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
- package/dist/src/x5webview/QTX5WebViewInterceptRule.d.ts +4 -0
- package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
- package/dist/src/x5webview/QTX5WebViewSniffingRule.d.ts +20 -0
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +37 -7
- package/package.json +20 -5
- package/web-types.json +1 -1
- package/dist/src/animation/QTAnimation.d.ts +0 -3
- package/dist/src/lottie/QTLottieView.d.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTWaterfallItem } from
|
|
2
|
-
import { QTWaterfallCardPlaceHolder } from
|
|
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
|
|
2
|
-
import { QTWaterfallFlexStyle } from
|
|
3
|
-
import { QTWaterfallCardPlaceHolder } from
|
|
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
|
|
2
|
-
import { QTWaterfall } from
|
|
3
|
-
import { QTWaterfallSection } from
|
|
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
|
|
2
|
-
import { QTWaterfallItem } from
|
|
3
|
-
import { QTWaterfallIndex } from
|
|
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,9 +1,9 @@
|
|
|
1
|
-
import { QTFlexStyleMargin } from
|
|
2
|
-
import { QTFlexStylePadding } from
|
|
3
|
-
import { QTFlexStyleSize } from
|
|
4
|
-
import { QTFlexStyleSpacing } from
|
|
5
|
-
import { QTFlexStyleDecoration } from
|
|
6
|
-
import { QTFlexStyleCoordinate } from
|
|
7
|
-
import { QTFlexStyleBackground } from
|
|
8
|
-
import { QTFlexStyleGradientBackground } from
|
|
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
|
|
2
|
-
import { QTWaterfallFlexStyle } from
|
|
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,8 +1,8 @@
|
|
|
1
|
-
import { QTWaterfallItem } from
|
|
2
|
-
import { QTWaterfallFlexStyle } from
|
|
3
|
-
import { QTListViewItem } from
|
|
4
|
-
import { QTFlexStyleText } from
|
|
5
|
-
import { QTWaterfallPlaceholder } from
|
|
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
|
|
2
|
-
import { QTWaterfallItem } from
|
|
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
|
|
2
|
-
import { QTWaterfallSection } from
|
|
3
|
-
import { ESIListView } from
|
|
4
|
-
import { QTWaterfallItem } from
|
|
5
|
-
import { QTWaterfallEvent } from
|
|
6
|
-
import { QTWaterfallVisibleType } from
|
|
7
|
-
import { QTPluginViewEvent } from
|
|
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
|
|
74
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
75
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
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
|
|
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
|
|
94
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
95
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
96
|
-
setInitFocus: (sid: string, delay?: number
|
|
97
|
-
setAutoFocus: (sid: string, delay?: number
|
|
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
|
-
|
|
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").
|
|
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
|
|
4
|
-
requestFocus: (direction?: import("../..").QTFocusDirection
|
|
5
|
-
requestChildFocus: (position: number, direction?: import("../..").QTFocusDirection
|
|
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
|
|
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
|
|
24
|
-
setBlockFocusDirections: (directionList: import("../..").QTFocusDirectionName
|
|
25
|
-
setBlockFocusDirectionsOnFail: (directionList: import("../..").QTFocusDirectionName
|
|
26
|
-
setInitFocus: (sid: string, delay?: number
|
|
27
|
-
setAutoFocus: (sid: string, delay?: number
|
|
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<
|
|
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").
|
|
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").
|
|
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").
|
|
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
|
|
2
|
-
import { QTWaterfallItemType } from
|
|
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
|
-
},
|
|
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").
|
|
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
|
-
},
|
|
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
|
|
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
|
-
}
|
|
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
|
-
},
|
|
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
|
|
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
|
-
|
|
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():
|
|
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;
|
|
@@ -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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
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
|
-
|
|
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>):
|
|
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:
|
|
103
|
+
export declare function createQtWebViewAPI(viewAPI: QtBaseViewAPI): QtWebViewAPI;
|