@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.
- package/dist/index.css +17 -29
- package/dist/index.js +8 -9
- package/dist/src/animation/QTAnimation.d.ts +1 -1
- 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/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 +23 -6
- 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.d.ts +1 -1
- 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 +5 -1
- package/web-types.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QTClassifiedListViewItem } from
|
|
2
|
-
import { QTIListView } from
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
import { QTClassifiedListViewItem } from './core/QTClassifiedListViewItem';
|
|
2
|
+
import { QTIListView } from '../list-view/core/QTIListView';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
className: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -25,12 +25,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
type: NumberConstructor;
|
|
26
26
|
default: number;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
29
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams
|
|
30
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
31
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
28
|
+
}>, {
|
|
29
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
30
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
31
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
32
32
|
clearFocus: () => void;
|
|
33
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
33
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
34
34
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
35
35
|
requestRootLayout: () => void;
|
|
36
36
|
requestLayout: () => void;
|
|
@@ -46,11 +46,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
setPosition: (x: number, y: number, z: number) => void;
|
|
47
47
|
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
48
48
|
invalidate: () => void;
|
|
49
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
50
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
51
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
52
|
-
setInitFocus: (sid: string, delay?: number
|
|
53
|
-
setAutoFocus: (sid: string, delay?: number
|
|
49
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
50
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
51
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
52
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
53
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
54
54
|
enabledAutofocus: (autofocus: boolean) => void;
|
|
55
55
|
requestAutofocus: () => void;
|
|
56
56
|
hasFocus: () => Promise<boolean>;
|
|
@@ -61,9 +61,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
requestChildFocusAtIndex: (position: number) => void;
|
|
62
62
|
clearMemoryFocused: () => void;
|
|
63
63
|
showDialog: (show: boolean) => void;
|
|
64
|
-
descendantFocusability: import("vue").Ref<number>;
|
|
65
|
-
content_list_view: import("vue").Ref<QTIListView | undefined>;
|
|
66
|
-
nav_list_view: import("vue").Ref<QTIListView | undefined>;
|
|
64
|
+
descendantFocusability: import("vue").Ref<number, number>;
|
|
65
|
+
content_list_view: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
|
|
66
|
+
nav_list_view: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
|
|
67
67
|
init: (itemList: Array<QTClassifiedListViewItem>) => void;
|
|
68
68
|
onItemBind: () => void;
|
|
69
69
|
onSItemClick: (e: any) => void;
|
|
@@ -76,8 +76,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
onSItemFocused: (e: any) => void;
|
|
77
77
|
onFItemFocused: (e: any) => void;
|
|
78
78
|
updateItem: (position: number, data: QTClassifiedListViewItem) => void;
|
|
79
|
-
viewRef: import("vue").Ref<any>;
|
|
80
|
-
},
|
|
79
|
+
viewRef: import("vue").Ref<any, any>;
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "item-focused")[], "item-click" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
81
|
className: {
|
|
82
82
|
type: StringConstructor;
|
|
83
83
|
default: string;
|
|
@@ -102,15 +102,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
type: NumberConstructor;
|
|
103
103
|
default: number;
|
|
104
104
|
};
|
|
105
|
-
}>> & {
|
|
105
|
+
}>> & Readonly<{
|
|
106
106
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
"onItem-focused"?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
}
|
|
108
|
+
}>, {
|
|
109
109
|
className: string;
|
|
110
110
|
classNavName: string;
|
|
111
111
|
currentFocusIndex: number;
|
|
112
112
|
focusScale: number;
|
|
113
113
|
navType: number;
|
|
114
114
|
yOffest: number;
|
|
115
|
-
}, {}>;
|
|
115
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
116
116
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export interface QtCollapseAPI extends
|
|
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:
|
|
13
|
+
export declare function createQtCollapseAPI(viewAPI: QtBaseViewAPI): QtCollapseAPI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QTICollapseItem } from
|
|
2
|
-
import { QTCollapse } from
|
|
3
|
-
import { QTIView } from
|
|
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,12 +1,12 @@
|
|
|
1
|
-
import { QTICollapseItem } from
|
|
2
|
-
import { QTCollapse } from
|
|
3
|
-
import { QTIAnimation } from
|
|
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
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams
|
|
6
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
7
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
5
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
6
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
7
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
8
8
|
clearFocus: () => void;
|
|
9
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
9
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
10
10
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
11
11
|
requestRootLayout: () => void;
|
|
12
12
|
requestLayout: () => void;
|
|
@@ -22,11 +22,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
22
22
|
setPosition: (x: number, y: number, z: number) => void;
|
|
23
23
|
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
24
24
|
invalidate: () => void;
|
|
25
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
26
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
27
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
28
|
-
setInitFocus: (sid: string, delay?: number
|
|
29
|
-
setAutoFocus: (sid: string, delay?: number
|
|
25
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
26
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
27
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
28
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
29
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
30
30
|
enabledAutofocus: (autofocus: boolean) => void;
|
|
31
31
|
requestAutofocus: () => void;
|
|
32
32
|
hasFocus: () => Promise<boolean>;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
37
37
|
requestChildFocusAtIndex: (position: number) => void;
|
|
38
38
|
clearMemoryFocused: () => void;
|
|
39
39
|
showDialog: (show: boolean) => void;
|
|
40
|
-
collapseItemComponentList: import("vue").Ref<any>;
|
|
40
|
+
collapseItemComponentList: import("vue").Ref<any, any>;
|
|
41
41
|
initComponentRef: (el: QTICollapseItem, item: {
|
|
42
42
|
name: string;
|
|
43
43
|
}, index: number) => void;
|
|
@@ -49,10 +49,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
49
49
|
expandItem: (index: number) => void;
|
|
50
50
|
collapse: () => void;
|
|
51
51
|
expand: () => void;
|
|
52
|
-
collapseWidth: import("vue").Ref<number>;
|
|
53
|
-
collapseHeight: import("vue").Ref<number>;
|
|
54
|
-
viewRef: import("vue").Ref<any>;
|
|
55
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").PublicProps, Readonly<
|
|
52
|
+
collapseWidth: import("vue").Ref<number, number>;
|
|
53
|
+
collapseHeight: import("vue").Ref<number, number>;
|
|
54
|
+
viewRef: import("vue").Ref<any, any>;
|
|
55
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
56
56
|
onOnCollapseItemExpand?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}, {}, {}>;
|
|
57
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface QtColumnAPI extends
|
|
1
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
2
|
+
export interface QtColumnAPI extends QtBaseViewAPI {
|
|
3
3
|
}
|
|
4
|
-
export declare function createQtColumnAPI(viewAPI:
|
|
4
|
+
export declare function createQtColumnAPI(viewAPI: QtBaseViewAPI): QtColumnAPI;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { QTFlexStylePosition } from
|
|
2
|
-
import { QTFlexStyleSize } from
|
|
1
|
+
import { QTFlexStylePosition } from './QTFlexStylePosition';
|
|
2
|
+
import { QTFlexStyleSize } from './QTFlexStyleSize';
|
|
3
3
|
export type QTLocation = QTFlexStylePosition & QTFlexStyleSize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QTGradientOrientation } from
|
|
2
|
-
import { QTGradientShape } from
|
|
3
|
-
import { QTGradientType } from
|
|
1
|
+
import { QTGradientOrientation } from './QTGradientOrientation';
|
|
2
|
+
import { QTGradientShape } from './QTGradientShape';
|
|
3
|
+
import { QTGradientType } from './QTGradientType';
|
|
4
4
|
export interface QTGradient {
|
|
5
5
|
type?: QTGradientType;
|
|
6
6
|
shape?: QTGradientShape;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export interface QtGridViewAPI extends
|
|
1
|
+
import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
|
|
2
|
+
import { QTGridViewItem } from './core/QTGridViewItem';
|
|
3
|
+
import { Ref } from '@vue/reactivity';
|
|
4
|
+
import { QTIGridView } from './core/QTIGridView';
|
|
5
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
6
|
+
export interface QtGridViewAPI extends QtBaseViewAPI, QtBaseListViewAPI {
|
|
7
7
|
init(instance: Ref<QTIGridView | undefined>, target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
8
8
|
stopPage(instance: Ref<QTIGridView | undefined>, isTip?: boolean): void;
|
|
9
9
|
restartPage(instance: Ref<QTIGridView | undefined>): void;
|
|
@@ -13,4 +13,4 @@ export interface QtGridViewAPI extends QtViewAPI, QtBaseListViewAPI {
|
|
|
13
13
|
scrollToSelected(instance: Ref<QTIGridView | undefined>, position: number, b: boolean): void;
|
|
14
14
|
setInitPosition(instance: Ref<QTIGridView | undefined>, position: number): void;
|
|
15
15
|
}
|
|
16
|
-
export declare function createQtGridViewAPI(viewAPI:
|
|
16
|
+
export declare function createQtGridViewAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtGridViewAPI;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTGridViewItem } from
|
|
2
|
-
import { QTIBaseListView } from
|
|
1
|
+
import { QTGridViewItem } from './QTGridViewItem';
|
|
2
|
+
import { QTIBaseListView } from '../../list/QTIBaseListView';
|
|
3
3
|
export interface QTIGridView extends QTIBaseListView {
|
|
4
4
|
init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
5
5
|
stopPage(isTip?: boolean): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTListViewItem } from
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
loadMore: {
|
|
4
4
|
type: FunctionConstructor;
|
|
5
5
|
default: () => number[];
|
|
@@ -43,13 +43,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
type: ArrayConstructor;
|
|
44
44
|
required: false;
|
|
45
45
|
};
|
|
46
|
-
}
|
|
46
|
+
}>, {
|
|
47
47
|
init: (target: Array<QTListViewItem>, isInit?: boolean) => Array<QTListViewItem>;
|
|
48
48
|
onItemClick: (e: any) => void;
|
|
49
49
|
onItemBind: (e: any) => void;
|
|
50
50
|
onItemFocused: (e: any) => void;
|
|
51
51
|
restartPage: () => void;
|
|
52
|
-
isRestartPage: import("vue").Ref<boolean>;
|
|
52
|
+
isRestartPage: import("vue").Ref<boolean, boolean>;
|
|
53
53
|
onItemUnbind: (e: any) => void;
|
|
54
54
|
onScroll: (e: any) => void;
|
|
55
55
|
onScrollStateChanged: (e: any) => void;
|
|
@@ -59,27 +59,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
setItemSelected: (pos: number, b: boolean) => void;
|
|
60
60
|
scrollToSelected: (pos: number, b: boolean) => void;
|
|
61
61
|
setInitPosition: (pos: number) => void;
|
|
62
|
-
apkVersion: import("vue").Ref<number>;
|
|
62
|
+
apkVersion: import("vue").Ref<number, number>;
|
|
63
63
|
updateItemProps: (pos: number, name: string, dataObj: object) => void;
|
|
64
64
|
insertItem: (pos: number, data: Array<QTListViewItem>) => void;
|
|
65
|
-
scrollToIndex: (x: number, y: number, animated?: boolean
|
|
65
|
+
scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
|
|
66
66
|
startScroll: (position: import("..").QTListInitPosition) => void;
|
|
67
|
-
setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean
|
|
67
|
+
setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean) => void;
|
|
68
68
|
scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
|
|
69
69
|
scrollToPositionWithOffsetInfiniteMode: (position: number, offset: number, animated: boolean) => void;
|
|
70
|
-
scrollToPosition: (position: number, offset?: number
|
|
70
|
+
scrollToPosition: (position: number, offset?: number) => void;
|
|
71
71
|
refreshListData: () => void;
|
|
72
|
-
updateItemTraverse: (position: number, data?: QTListViewItem
|
|
72
|
+
updateItemTraverse: (position: number, data?: QTListViewItem, traverse?: boolean) => void;
|
|
73
73
|
requestItemLayout: (position: number) => void;
|
|
74
|
-
updateItemRange: (position: number, count: number, itemList: QTListViewItem
|
|
75
|
-
insertItemRange: (position: number, itemList: QTListViewItem
|
|
74
|
+
updateItemRange: (position: number, count: number, itemList: Array<QTListViewItem>) => void;
|
|
75
|
+
insertItemRange: (position: number, itemList: Array<QTListViewItem>) => void;
|
|
76
76
|
updateItemMatched: (params: import("..").QTNativeParams, data: QTListViewItem) => void;
|
|
77
77
|
updateItemMatchedByKey: (idKey: string, params: import("..").QTNativeParams, data: QTListViewItem) => void;
|
|
78
78
|
deleteItemRange: (position: number, count: number) => void;
|
|
79
|
-
setListData: (itemList: QTListViewItem
|
|
80
|
-
setListDataWithParams: (itemList: QTListViewItem
|
|
81
|
-
addListData: (itemList: QTListViewItem
|
|
82
|
-
addListDataWithParams: (itemList: QTListViewItem
|
|
79
|
+
setListData: (itemList: Array<QTListViewItem>) => void;
|
|
80
|
+
setListDataWithParams: (itemList: Array<QTListViewItem>, autoChangeVisible: boolean, useDiff: boolean) => void;
|
|
81
|
+
addListData: (itemList: Array<QTListViewItem>) => void;
|
|
82
|
+
addListDataWithParams: (itemList: Array<QTListViewItem>, deleteCount: number) => void;
|
|
83
83
|
destroy: () => void;
|
|
84
84
|
recycle: () => void;
|
|
85
85
|
scrollToTop: () => void;
|
|
@@ -91,22 +91,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
notifyRestoreInstance: () => void;
|
|
92
92
|
dispatchItemFunction: (params: import("../core/QTNativeParams").QTNativeArray) => void;
|
|
93
93
|
clearPostTask: () => void;
|
|
94
|
-
clearPostTaskByCate: (data: number
|
|
94
|
+
clearPostTaskByCate: (data: Array<number>) => void;
|
|
95
95
|
clearData: () => void;
|
|
96
96
|
pausePostTask: () => void;
|
|
97
97
|
resumePostTask: () => void;
|
|
98
98
|
requestLayoutManual: () => void;
|
|
99
99
|
setSpanCount: (spanCount: number) => void;
|
|
100
100
|
searchReplaceItem: (id: string, item: QTListViewItem) => void;
|
|
101
|
-
setCustomStateEnableOnFocus: (id: string, params: string
|
|
101
|
+
setCustomStateEnableOnFocus: (id: string, params: Array<Array<string>>) => void;
|
|
102
102
|
setItemCustomState: (position: number, state: string, on: boolean) => void;
|
|
103
|
-
dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
103
|
+
dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>) => Promise<import("..").QTNativeParams>;
|
|
104
104
|
getScrollOffset: () => Promise<import("..").QTPosition>;
|
|
105
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams
|
|
106
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
107
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
105
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
106
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
107
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
108
108
|
clearFocus: () => void;
|
|
109
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
109
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
110
110
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
111
111
|
requestRootLayout: () => void;
|
|
112
112
|
requestLayout: () => void;
|
|
@@ -122,11 +122,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
setPosition: (x: number, y: number, z: number) => void;
|
|
123
123
|
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
124
124
|
invalidate: () => void;
|
|
125
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
126
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
127
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
128
|
-
setInitFocus: (sid: string, delay?: number
|
|
129
|
-
setAutoFocus: (sid: string, delay?: number
|
|
125
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
126
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
127
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
128
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
129
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
130
130
|
enabledAutofocus: (autofocus: boolean) => void;
|
|
131
131
|
requestAutofocus: () => void;
|
|
132
132
|
hasFocus: () => Promise<boolean>;
|
|
@@ -137,8 +137,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
137
|
requestChildFocusAtIndex: (position: number) => void;
|
|
138
138
|
clearMemoryFocused: () => void;
|
|
139
139
|
showDialog: (show: boolean) => void;
|
|
140
|
-
tv_list: import("vue").Ref<any>;
|
|
141
|
-
},
|
|
140
|
+
tv_list: import("vue").Ref<any, any>;
|
|
141
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused")[], "item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
142
|
loadMore: {
|
|
143
143
|
type: FunctionConstructor;
|
|
144
144
|
default: () => number[];
|
|
@@ -182,14 +182,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
182
182
|
type: ArrayConstructor;
|
|
183
183
|
required: false;
|
|
184
184
|
};
|
|
185
|
-
}>> & {
|
|
185
|
+
}>> & Readonly<{
|
|
186
186
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
187
187
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
"onItem-unbind"?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
"onScroll-state-changed"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
"onItem-bind"?: ((...args: any[]) => any) | undefined;
|
|
191
191
|
"onItem-focused"?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
}
|
|
192
|
+
}>, {
|
|
193
193
|
loadMore: Function;
|
|
194
194
|
openPage: boolean;
|
|
195
195
|
spanCount: number;
|
|
@@ -199,5 +199,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
199
|
areaWidth: number;
|
|
200
200
|
blockFocusDirections: unknown[];
|
|
201
201
|
loadingDecoration: Record<string, any>;
|
|
202
|
-
}, {}>;
|
|
202
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
203
203
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTIView } from
|
|
2
|
-
import { QTImageResizeMode } from
|
|
1
|
+
import { QTIView } from '../view/QTIView';
|
|
2
|
+
import { QTImageResizeMode } from './QTImageResizeMode';
|
|
3
3
|
export interface QTIImage extends QTIView {
|
|
4
4
|
setSrc(url: string): void;
|
|
5
5
|
resizeMode(mode: QTImageResizeMode): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export interface QtImageAPI extends
|
|
1
|
+
import { QTImageResizeMode } from './QTImageResizeMode';
|
|
2
|
+
import { Ref } from '@vue/reactivity';
|
|
3
|
+
import { QTIImage } from './QTIImage';
|
|
4
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
5
|
+
export interface QtImageAPI extends QtBaseViewAPI {
|
|
6
6
|
setSrc(instance: string | Ref<QTIImage | undefined>, url: string): void;
|
|
7
7
|
resizeMode(instance: string | Ref<QTIImage | undefined>, mode: QTImageResizeMode): void;
|
|
8
8
|
}
|
|
9
|
-
export declare function createQtImageAPI(viewAPI:
|
|
9
|
+
export declare function createQtImageAPI(viewAPI: QtBaseViewAPI): QtImageAPI;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { QTImageResizeMode } from
|
|
1
|
+
import { QTImageResizeMode } from './QTImageResizeMode';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
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>;
|
|
38
|
+
viewRef: import("vue").Ref<any, any>;
|
|
39
39
|
setSrc: (url: string) => void;
|
|
40
40
|
resizeMode: (mode: QTImageResizeMode) => void;
|
|
41
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
41
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { arrangeChildren4ListView } from
|
|
2
|
-
export { qtRef, qtWatchAll, qtGetParent } from
|
|
3
|
-
|
|
1
|
+
import { arrangeChildren4ListView } from './utils/utils';
|
|
2
|
+
export { qtRef, qtWatchAll, qtGetParent, qtTabsRef, parseChildUpdate, qtDiff, } from './qtListen/index';
|
|
3
|
+
export type { IQtTabDatas } from './qtListen/index';
|
|
4
|
+
import { QtAPI } from './qt/QtAPI';
|
|
4
5
|
declare global {
|
|
5
6
|
var qt: QtAPI;
|
|
6
7
|
}
|
|
@@ -66,6 +67,7 @@ export type { QTListViewItemDecoration } from './list-view/core/QTListViewItemDe
|
|
|
66
67
|
export type { QTListViewItemFunctionParams } from './list-view/core/QTListViewItemFunctionParams';
|
|
67
68
|
export type { QTListViewItemState } from './list-view/core/QTListViewItemState';
|
|
68
69
|
export type { QTGridViewItemFunctionParams } from './grid-view/core/QTGridViewItemFunctionParams';
|
|
70
|
+
export type { QTGridViewItem } from './grid-view/core/QTGridViewItem';
|
|
69
71
|
export type { QTINavBar } from './nav-bar/QTINavBar';
|
|
70
72
|
export type { QTNavBarItem } from './nav-bar/QTNavBarItem';
|
|
71
73
|
export type { QTNavBar } from './nav-bar/QTNavBar';
|
|
@@ -83,7 +85,13 @@ export type { QTClassifiedListViewItem } from './classified-list-view/core/QTCla
|
|
|
83
85
|
export type { QTClassifiedListViewItemDecoration } from './classified-list-view/core/QTClassifiedListViewItemDecoration';
|
|
84
86
|
export { arrangeChildren4ListView };
|
|
85
87
|
export type { QTIWebView } from './webview/QTIWebView';
|
|
86
|
-
export
|
|
88
|
+
export { QTWebViewLayerType } from './webview/QTWebViewLayerType';
|
|
89
|
+
export type { QTWebViewSniffingRule, QTWebViewSniffingUrlRuleItem, QTWebViewSniffingHeaderRuleItem, } from './webview/QTWebViewSniffingRule';
|
|
90
|
+
export type { QTWebViewInterceptRule } from './webview/QTWebViewInterceptRule';
|
|
91
|
+
export type { QTIX5WebView, QTX5WebViewParams } from './x5webview/QTIX5WebView';
|
|
92
|
+
export { QTX5WebViewLayerType } from './x5webview/QTX5WebViewLayerType';
|
|
93
|
+
export type { QTX5WebViewSniffingRule, QTX5WebViewSniffingUrlRuleItem, QTX5WebViewSniffingHeaderRuleItem, } from './x5webview/QTX5WebViewSniffingRule';
|
|
94
|
+
export type { QTX5WebViewInterceptRule } from './x5webview/QTX5WebViewInterceptRule';
|
|
87
95
|
export type { QTISeekBar } from './seekbar/QTISeekBar';
|
|
88
96
|
export { QTSeekBarMode } from './seekbar/QTSeekBarMode';
|
|
89
97
|
export { QTSeekBarGravity } from './seekbar/QTSeekBarGravity';
|
|
@@ -93,8 +101,8 @@ export { QTSeekBarTickMarkGravity } from './seekbar/QTSeekBarTickMarkGravity';
|
|
|
93
101
|
export { QTSeekBarTickMarkLayoutGravity } from './seekbar/QTSeekBarTickMarkLayoutGravity';
|
|
94
102
|
export type { QTIProgressBar } from './progressbar/QTIProgressBar';
|
|
95
103
|
export type { QTIAnimation } from './animation/QTIAnimation';
|
|
96
|
-
export { QTAnimationInterpolatorType, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType } from './animation/types';
|
|
97
|
-
export type { QTAnimationInterpolator, QTAnimatorId } from './animation/types';
|
|
104
|
+
export { QTAnimationInterpolatorType, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorRelationType, QTAnimationType, } from './animation/types';
|
|
105
|
+
export type { QTAnimationInterpolator, QTAnimatorId, QTAnimator, QTAnimatorSet, } from './animation/types';
|
|
98
106
|
export type { QTIMediaSeries } from './series/QTIMediaSeries';
|
|
99
107
|
export type { QTMediaSeries } from './series/QTMediaSeries';
|
|
100
108
|
export type { QTMediaSeriesGroup } from './series/QTMediaSeriesGroup';
|
|
@@ -130,3 +138,12 @@ export type { QTIText } from './text/QTIText';
|
|
|
130
138
|
export type { QTIAppIcon } from './app/QTIAppIcon';
|
|
131
139
|
export type { QTIPluginView, QTPluginViewEvent } from './plugin/QTIPluginView';
|
|
132
140
|
export { VirtualView } from './utils/VirtualView';
|
|
141
|
+
export type { QTICanvasView } from './canvas/QTICanvasView';
|
|
142
|
+
export type { QTILongImage } from './long-image/QTILongImage';
|
|
143
|
+
export type { QTLongImageCenterChangeBean, QTLongImageDownloadChangeBean, QTLongImageLoadStatusChangeBean, QTLongImageScaleChangeBean, QTLongImageScrollChangeBean, QTLongImageShowChangeBean, } from './long-image/QTLongImageEventBean';
|
|
144
|
+
export { LongImageScrollDirection, LongImageStatus } from './long-image/QTLongImageEventBean';
|
|
145
|
+
export { QTLongImageScaleType } from './long-image/QTLongImageScaleType';
|
|
146
|
+
export { QTLongImagePositionType } from './long-image/QTLongImagePositionType';
|
|
147
|
+
export { QTLongImageOrientation } from './long-image/QTLongImageOrientation';
|
|
148
|
+
export { CanvasGradient } from './canvas/CanvasGradient';
|
|
149
|
+
export type { GradientInput, RadialGradient, LinearGradient, GradientStop, Position2DWithRadius, Position2D, GradientType, } from './canvas/CanvasGradient';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { QTListInitPosition } from
|
|
2
|
-
import { QTListViewItem } from
|
|
3
|
-
import { QTNativeArray, QTNativeMap, QTNativeParams } from
|
|
4
|
-
import { QTPosition } from
|
|
5
|
-
import { QTIBaseView } from
|
|
1
|
+
import { QTListInitPosition } from './QTListInitPosition';
|
|
2
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
3
|
+
import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
|
|
4
|
+
import { QTPosition } from '../core/QTPosition';
|
|
5
|
+
import { QTIBaseView } from '../base/QTIBaseView';
|
|
6
6
|
export interface QTIBaseListView extends QTIBaseView {
|
|
7
7
|
scrollToIndex(x: number, y: number, animated?: boolean, duration?: number, offset?: number): void;
|
|
8
8
|
startScroll(position: QTListInitPosition): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { QTListInitPosition } from
|
|
2
|
-
import { QTListViewItem } from
|
|
3
|
-
import { QTNativeArray, QTNativeMap, QTNativeParams } from
|
|
4
|
-
import { QTPosition } from
|
|
5
|
-
import { Ref } from
|
|
6
|
-
import { QTIListView } from
|
|
1
|
+
import { QTListInitPosition } from '../list/QTListInitPosition';
|
|
2
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
3
|
+
import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
|
|
4
|
+
import { QTPosition } from '../core/QTPosition';
|
|
5
|
+
import { Ref } from '@vue/reactivity';
|
|
6
|
+
import { QTIListView } from '../list-view/core/QTIListView';
|
|
7
7
|
export interface QtBaseListViewAPI {
|
|
8
8
|
scrollToIndex(instance: string | Ref<QTIListView | undefined>, x: number, y: number, animated?: boolean, duration?: number, offset?: number): void;
|
|
9
9
|
startScroll(instance: string | Ref<QTIListView | undefined>, position: QTListInitPosition): void;
|