@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,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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Ref } from
|
|
2
|
-
import { QTIListView } from
|
|
3
|
-
import { QTListInitPosition } from
|
|
4
|
-
import { QTListViewItem } from
|
|
5
|
-
import { QTNativeArray, QTNativeMap, QTNativeParams } from
|
|
6
|
-
import { QTPosition } from
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTIListView } from '../list-view/core/QTIListView';
|
|
3
|
+
import { QTListInitPosition } from './QTListInitPosition';
|
|
4
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
5
|
+
import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
|
|
6
|
+
import { QTPosition } from '../core/QTPosition';
|
|
7
7
|
export default function (viewRef: Ref<QTIListView | undefined>): {
|
|
8
8
|
scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
|
|
9
9
|
startScroll: (position: QTListInitPosition) => void;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTIListView } from '../list-view/core/QTIListView';
|
|
3
|
+
import { QTListInitPosition } from './QTListInitPosition';
|
|
4
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
5
|
+
import { QTNativeArray, QTNativeMap, QTNativeParams } from '../core/QTNativeParams';
|
|
6
|
+
import { QTPosition } from '../core/QTPosition';
|
|
7
|
+
export default function (viewRef: Ref<QTIListView | undefined>): {
|
|
8
|
+
scrollToIndex: (x: number, y: number, animated?: boolean, duration?: number, offset?: number) => void;
|
|
9
|
+
startScroll: (position: QTListInitPosition) => void;
|
|
10
|
+
setSelectChildPosition: (position: number, changeTargetFocusChild?: boolean) => void;
|
|
11
|
+
scrollToPositionWithOffset: (position: number, offset: number, animated: boolean) => void;
|
|
12
|
+
scrollToPositionWithOffsetInfiniteMode: (position: number, offset: number, animated: boolean) => void;
|
|
13
|
+
scrollToPosition: (position: number, offset?: number) => void;
|
|
14
|
+
refreshListData: () => void;
|
|
15
|
+
updateItemTraverse: (position: number, data?: QTListViewItem, traverse?: boolean) => void;
|
|
16
|
+
requestItemLayout: (position: number) => void;
|
|
17
|
+
updateItemRange: (position: number, count: number, itemList: Array<QTListViewItem>) => void;
|
|
18
|
+
insertItemRange: (position: number, itemList: Array<QTListViewItem>) => void;
|
|
19
|
+
updateItemMatched: (params: QTNativeParams, data: QTListViewItem) => void;
|
|
20
|
+
updateItemMatchedByKey: (idKey: string, params: QTNativeParams, data: QTListViewItem) => void;
|
|
21
|
+
deleteItemRange: (position: number, count: number) => void;
|
|
22
|
+
setListData: (itemList: Array<QTListViewItem>) => void;
|
|
23
|
+
setListDataWithParams: (itemList: Array<QTListViewItem>, autoChangeVisible: boolean, useDiff: boolean) => void;
|
|
24
|
+
addListData: (itemList: Array<QTListViewItem>) => void;
|
|
25
|
+
addListDataWithParams: (itemList: Array<QTListViewItem>, deleteCount: number) => void;
|
|
26
|
+
destroy: () => void;
|
|
27
|
+
recycle: () => void;
|
|
28
|
+
scrollToTop: () => void;
|
|
29
|
+
scrollToFocus: (position: number, scrollOffset: number, delay: number, target: string) => void;
|
|
30
|
+
prepareForRecycle: () => void;
|
|
31
|
+
setDisplay: (display: boolean) => void;
|
|
32
|
+
changeDisplayState: (display: boolean, autoDataState: boolean) => void;
|
|
33
|
+
notifySaveInstance: () => void;
|
|
34
|
+
notifyRestoreInstance: () => void;
|
|
35
|
+
updateItemProps: (name: string, position: number, dataToUpdate: QTNativeMap, updateView: boolean) => void;
|
|
36
|
+
dispatchItemFunction: (params: QTNativeArray) => void;
|
|
37
|
+
clearPostTask: () => void;
|
|
38
|
+
clearPostTaskByCate: (data: Array<number>) => void;
|
|
39
|
+
clearData: () => void;
|
|
40
|
+
pausePostTask: () => void;
|
|
41
|
+
resumePostTask: () => void;
|
|
42
|
+
requestLayoutManual: () => void;
|
|
43
|
+
setSpanCount: (spanCount: number) => void;
|
|
44
|
+
searchReplaceItem: (id: string, item: QTListViewItem) => void;
|
|
45
|
+
setCustomStateEnableOnFocus: (id: string, params: Array<Array<string>>) => void;
|
|
46
|
+
setItemCustomState: (position: number, state: string, on: boolean) => void;
|
|
47
|
+
dispatchItemFunctionWithPromise: (position: number, targetName: string, functionTargetName: string, params: Array<QTNativeParams>) => Promise<QTNativeParams>;
|
|
48
|
+
getScrollOffset: () => Promise<QTPosition>;
|
|
49
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export interface QtIndicatorViewAPI extends
|
|
1
|
+
import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
|
|
2
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
3
|
+
import { Ref } from '@vue/reactivity';
|
|
4
|
+
import { QTIIndicatorView } from './core/QTIIndicatorView';
|
|
5
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
6
|
+
export interface QtIndicatorViewAPI extends QtBaseViewAPI, QtBaseListViewAPI {
|
|
7
7
|
init(instance: Ref<QTIIndicatorView | undefined>, target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
8
8
|
stopPage(instance: Ref<QTIIndicatorView | undefined>, isTip?: boolean): void;
|
|
9
9
|
setItemFocused(instance: Ref<QTIIndicatorView | undefined>, position: number): void;
|
|
@@ -12,4 +12,4 @@ export interface QtIndicatorViewAPI extends QtViewAPI, QtBaseListViewAPI {
|
|
|
12
12
|
scrollToSelected(instance: Ref<QTIIndicatorView | undefined>, position: number, requestFocus: boolean): void;
|
|
13
13
|
setIndicatorType(instance: Ref<QTIIndicatorView | undefined>, type: number): void;
|
|
14
14
|
}
|
|
15
|
-
export declare function createQtIndicatorViewAPI(viewAPI:
|
|
15
|
+
export declare function createQtIndicatorViewAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtIndicatorViewAPI;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTListViewItem } from
|
|
2
|
-
import { QTIBaseListView } from
|
|
1
|
+
import { QTListViewItem } from '../../list-view/core/QTListViewItem';
|
|
2
|
+
import { QTIBaseListView } from '../../list/QTIBaseListView';
|
|
3
3
|
export interface QTIIndicatorView extends QTIBaseListView {
|
|
4
4
|
init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
5
5
|
stopPage(isTip?: boolean): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface QtListItemAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTIListItem } from './QTIListItem';
|
|
3
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
4
|
+
export interface QtListItemAPI extends QtBaseViewAPI {
|
|
5
5
|
updateItem(instance: string | Ref<QTIListItem | undefined>, posInList: number, data: Object): any;
|
|
6
6
|
dispatchItemFunction(instance: string | Ref<QTIListItem | undefined>, position: number, name: string, funcName: string, params: any): any;
|
|
7
7
|
updateItemProps(instance: string | Ref<QTIListItem | undefined>, position: number, name: string, toUpdateMap: Object): any;
|
|
8
8
|
batch(instance: string | Ref<QTIListItem | undefined>, position: number): any;
|
|
9
9
|
}
|
|
10
|
-
export declare function createQtListItemAPI(viewAPI:
|
|
10
|
+
export declare function createQtListItemAPI(viewAPI: QtBaseViewAPI): QtListItemAPI;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export interface QtListViewAPI extends
|
|
1
|
+
import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
|
|
2
|
+
import { QTListViewItem } from './core/QTListViewItem';
|
|
3
|
+
import { Ref } from '@vue/reactivity';
|
|
4
|
+
import { QTIListView } from './core/QTIListView';
|
|
5
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
6
|
+
export interface QtListViewAPI extends QtBaseViewAPI, QtBaseListViewAPI {
|
|
7
7
|
init(instance: Ref<QTIListView | undefined>, target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
8
8
|
stopPage(instance: Ref<QTIListView | undefined>, isTip?: boolean): void;
|
|
9
9
|
setItemFocused(instance: Ref<QTIListView | undefined>, position: number): void;
|
|
@@ -11,4 +11,4 @@ export interface QtListViewAPI extends QtViewAPI, QtBaseListViewAPI {
|
|
|
11
11
|
setItemSelected(instance: Ref<QTIListView | undefined>, position: number, requestFocus: boolean): void;
|
|
12
12
|
scrollToSelected(instance: Ref<QTIListView | undefined>, position: number, requestFocus: boolean): void;
|
|
13
13
|
}
|
|
14
|
-
export declare function createQtListViewAPI(viewAPI:
|
|
14
|
+
export declare function createQtListViewAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtListViewAPI;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTListViewItem } from
|
|
2
|
-
import { QTIBaseListView } from
|
|
1
|
+
import { QTListViewItem } from './QTListViewItem';
|
|
2
|
+
import { QTIBaseListView } from '../../list/QTIBaseListView';
|
|
3
3
|
export interface QTIListView extends QTIBaseListView {
|
|
4
4
|
init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
5
5
|
stopPage(isTip?: boolean): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTListViewItemDecoration } from
|
|
2
|
-
import { QTListViewItemState } from
|
|
1
|
+
import { QTListViewItemDecoration } from './QTListViewItemDecoration';
|
|
2
|
+
import { QTListViewItemState } from './QTListViewItemState';
|
|
3
3
|
export interface QTListViewItem {
|
|
4
4
|
_id?: string;
|
|
5
5
|
type: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface QtLoadingAPI extends
|
|
1
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
2
|
+
export interface QtLoadingAPI extends QtBaseViewAPI {
|
|
3
3
|
}
|
|
4
|
-
export declare function createQtLoadingAPI(viewAPI:
|
|
4
|
+
export declare function createQtLoadingAPI(viewAPI: QtBaseViewAPI): QtLoadingAPI;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { QTIView } from '../view/QTIView';
|
|
2
|
+
import { QTLongImageScaleType } from './QTLongImageScaleType';
|
|
3
|
+
import { QTLongImagePositionType } from './QTLongImagePositionType';
|
|
4
|
+
import { QTLongImageOrientation } from './QTLongImageOrientation';
|
|
5
|
+
export interface QTILongImage extends QTIView {
|
|
6
|
+
setInitScale(type: QTLongImageScaleType, scale?: number): void;
|
|
7
|
+
setInitPosition(type: QTLongImagePositionType): void;
|
|
8
|
+
setInitCenter(x: number, y: number): void;
|
|
9
|
+
setInitOrientation(orientation: QTLongImageOrientation): void;
|
|
10
|
+
setSrc(url: string, fileId?: string): void;
|
|
11
|
+
zoom(type: QTLongImageScaleType, scale?: number): void;
|
|
12
|
+
zoomByPoint(type: QTLongImageScaleType, x?: number, y?: number, scale?: number): void;
|
|
13
|
+
zoomByCenter(type: QTLongImageScaleType, scale?: number): void;
|
|
14
|
+
scrollDown(step?: number): void;
|
|
15
|
+
scrollUp(step?: number): void;
|
|
16
|
+
scrollLeft(step?: number): void;
|
|
17
|
+
scrollRight(step?: number): void;
|
|
18
|
+
scrollTo(offsetX: number, offsetY: number): void;
|
|
19
|
+
rotate(rotation: number): void;
|
|
20
|
+
setScaleByAnimal(useAnimal: boolean): void;
|
|
21
|
+
setDebug(debug: boolean): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface QTLongImageDownloadChangeBean {
|
|
2
|
+
fileId: string;
|
|
3
|
+
status: LongImageStatus;
|
|
4
|
+
message: string;
|
|
5
|
+
progress: number;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
mimeType?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface QTLongImageLoadStatusChangeBean {
|
|
11
|
+
fileId: string;
|
|
12
|
+
status: LongImageStatus;
|
|
13
|
+
message: string;
|
|
14
|
+
isGif: boolean;
|
|
15
|
+
width?: number;
|
|
16
|
+
height?: number;
|
|
17
|
+
scale?: number;
|
|
18
|
+
minScale?: number;
|
|
19
|
+
maxScale?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface QTLongImageScrollChangeBean {
|
|
22
|
+
fileId: string;
|
|
23
|
+
direction: LongImageScrollDirection;
|
|
24
|
+
width: number;
|
|
25
|
+
height: number;
|
|
26
|
+
percent: number;
|
|
27
|
+
isScroll: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface QTLongImageShowChangeBean {
|
|
30
|
+
fileId: string;
|
|
31
|
+
scrollable: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface QTLongImageScaleChangeBean {
|
|
34
|
+
fileId: string;
|
|
35
|
+
scale: number;
|
|
36
|
+
origin: number;
|
|
37
|
+
}
|
|
38
|
+
export interface QTLongImageCenterChangeBean {
|
|
39
|
+
fileId: string;
|
|
40
|
+
scale: number;
|
|
41
|
+
origin: number;
|
|
42
|
+
x: number;
|
|
43
|
+
y: number;
|
|
44
|
+
}
|
|
45
|
+
export declare enum LongImageScrollDirection {
|
|
46
|
+
LEFT = 0,
|
|
47
|
+
RIGHT = 1,
|
|
48
|
+
TOP = 2,
|
|
49
|
+
BOTTOM = 3
|
|
50
|
+
}
|
|
51
|
+
export declare enum LongImageStatus {
|
|
52
|
+
LOADED_SUCCESS = 1,
|
|
53
|
+
LOADED_FAIL = 2,
|
|
54
|
+
START = 3
|
|
55
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare enum QTLongImageScaleType {
|
|
2
|
+
ZOOM_TYPE_CENTER_INSIDE = 0,
|
|
3
|
+
ZOOM_TYPE_CENTER_ORANGE = 1,
|
|
4
|
+
ZOOM_TYPE_CENTER_OUTSIDE = 2,
|
|
5
|
+
ZOOM_TYPE_CENTER_CUSTOM_ABSOLUTE = 3,
|
|
6
|
+
ZOOM_TYPE_CENTER_CUSTOM_RELATIVE = 4,
|
|
7
|
+
ZOOM_TYPE_CENTER_WIDTH_FIXED = 5,
|
|
8
|
+
ZOOM_TYPE_CENTER_HEIGHT_FIXED = 6
|
|
9
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { QTILongImage } from './QTILongImage';
|
|
2
|
+
import { QTLongImageScaleType } from './QTLongImageScaleType';
|
|
3
|
+
import { QTLongImagePositionType } from './QTLongImagePositionType';
|
|
4
|
+
import { QTLongImageOrientation } from './QTLongImageOrientation';
|
|
5
|
+
import { QTLongImageCenterChangeBean, QTLongImageDownloadChangeBean, QTLongImageLoadStatusChangeBean, QTLongImageScaleChangeBean, QTLongImageScrollChangeBean, QTLongImageShowChangeBean } from './QTLongImageEventBean';
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
size: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
activeColor: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
inactiveColor: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
inactiveBorderColor: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
sliderColor: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
disabledActiveBgColor: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
disabledInactiveBgColor: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
modelValue: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
borderSize: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
sliderAssetsIcon: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
sliderNetworkIcon: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
zoomEnabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
src: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
};
|
|
62
|
+
scaleType: {
|
|
63
|
+
type: NumberConstructor;
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
}>, {
|
|
67
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
68
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
69
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
70
|
+
clearFocus: () => void;
|
|
71
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
72
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
73
|
+
requestRootLayout: () => void;
|
|
74
|
+
requestLayout: () => void;
|
|
75
|
+
setDescendantFocusability: (descendant: import("..").QTFocusDescendant) => void;
|
|
76
|
+
changeDescendantFocusability: (descendant: import("..").QTDescendantFocusability) => void;
|
|
77
|
+
forceUpdateRenderNode: () => void;
|
|
78
|
+
setBackGroundColor: (color: string) => void;
|
|
79
|
+
layoutViewManual: () => void;
|
|
80
|
+
blockRootFocus: () => void;
|
|
81
|
+
unBlockRootFocus: () => void;
|
|
82
|
+
changeAlpha: (alpha: number) => void;
|
|
83
|
+
setScale: (x: number, y: number, duration: number) => void;
|
|
84
|
+
setPosition: (x: number, y: number, z: number) => void;
|
|
85
|
+
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
86
|
+
invalidate: () => void;
|
|
87
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
88
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
89
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
90
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
91
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
92
|
+
enabledAutofocus: (autofocus: boolean) => void;
|
|
93
|
+
requestAutofocus: () => void;
|
|
94
|
+
hasFocus: () => Promise<boolean>;
|
|
95
|
+
isFocused: () => Promise<boolean>;
|
|
96
|
+
getLocationOnScreen: () => Promise<import("..").QTEventData<import("..").QTLocation>>;
|
|
97
|
+
getViewState: () => Promise<import("..").QTViewState>;
|
|
98
|
+
getChildViewState: (position: number) => Promise<import("..").QTViewState>;
|
|
99
|
+
requestChildFocusAtIndex: (position: number) => void;
|
|
100
|
+
clearMemoryFocused: () => void;
|
|
101
|
+
showDialog: (show: boolean) => void;
|
|
102
|
+
viewRef: import("vue").Ref<QTILongImage | undefined, QTILongImage | undefined>;
|
|
103
|
+
setSrc: (url: string, fileId?: string) => void;
|
|
104
|
+
setInitScale: (type: QTLongImageScaleType, scale?: number) => void;
|
|
105
|
+
setInitPosition: (type: QTLongImagePositionType) => void;
|
|
106
|
+
setInitCenter: (x: number, y: number) => void;
|
|
107
|
+
setInitOrientation: (orientation: QTLongImageOrientation) => void;
|
|
108
|
+
zoom: (type: QTLongImageScaleType, scale?: number) => void;
|
|
109
|
+
zoomByPoint: (type: QTLongImageScaleType, x?: number, y?: number, scale?: number) => void;
|
|
110
|
+
zoomByCenter: (type: QTLongImageScaleType, scale?: number) => void;
|
|
111
|
+
scrollDown: (step?: number) => void;
|
|
112
|
+
scrollUp: (step?: number) => void;
|
|
113
|
+
scrollLeft: (step?: number) => void;
|
|
114
|
+
scrollRight: (step?: number) => void;
|
|
115
|
+
scrollTo: (offsetX: number, offsetY: number) => void;
|
|
116
|
+
rotate: (rotation: number) => void;
|
|
117
|
+
setScaleByAnimal: (useAnimal: boolean) => void;
|
|
118
|
+
setDebug: (debug: boolean) => void;
|
|
119
|
+
onDownLoad: (changeBean: QTLongImageDownloadChangeBean) => void;
|
|
120
|
+
onImageLoad: (changeBean: QTLongImageLoadStatusChangeBean) => void;
|
|
121
|
+
onRendered: (showBean: QTLongImageShowChangeBean) => void;
|
|
122
|
+
onScroll: (scrollBean: QTLongImageScrollChangeBean) => void;
|
|
123
|
+
onScaleChanged: (scaleBean: QTLongImageScaleChangeBean) => void;
|
|
124
|
+
onCenterChanged: (centerBean: QTLongImageCenterChangeBean) => void;
|
|
125
|
+
componentInitialized: import("vue").Ref<boolean, boolean>;
|
|
126
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onInitializeSuccess" | "onInitializeError" | "onDownLoad" | "onImageLoad" | "onScroll" | "onRendered" | "onScaleChanged" | "onCenterChanged")[], "onInitializeSuccess" | "onInitializeError" | "onDownLoad" | "onImageLoad" | "onScroll" | "onRendered" | "onScaleChanged" | "onCenterChanged", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
|
+
size: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
activeColor: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
};
|
|
135
|
+
inactiveColor: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
};
|
|
139
|
+
inactiveBorderColor: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
sliderColor: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
disabledActiveBgColor: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
disabledInactiveBgColor: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
disabled: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
modelValue: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
borderSize: {
|
|
164
|
+
type: NumberConstructor;
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
sliderAssetsIcon: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
sliderNetworkIcon: {
|
|
172
|
+
type: StringConstructor;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
zoomEnabled: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
src: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
};
|
|
182
|
+
scaleType: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
default: number;
|
|
185
|
+
};
|
|
186
|
+
}>> & Readonly<{
|
|
187
|
+
onOnInitializeSuccess?: ((...args: any[]) => any) | undefined;
|
|
188
|
+
onOnInitializeError?: ((...args: any[]) => any) | undefined;
|
|
189
|
+
onOnDownLoad?: ((...args: any[]) => any) | undefined;
|
|
190
|
+
onOnImageLoad?: ((...args: any[]) => any) | undefined;
|
|
191
|
+
onOnScroll?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onOnRendered?: ((...args: any[]) => any) | undefined;
|
|
193
|
+
onOnScaleChanged?: ((...args: any[]) => any) | undefined;
|
|
194
|
+
onOnCenterChanged?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
}>, {
|
|
196
|
+
size: string;
|
|
197
|
+
activeColor: string;
|
|
198
|
+
inactiveColor: string;
|
|
199
|
+
inactiveBorderColor: string;
|
|
200
|
+
sliderColor: string;
|
|
201
|
+
disabledActiveBgColor: string;
|
|
202
|
+
disabledInactiveBgColor: string;
|
|
203
|
+
disabled: boolean;
|
|
204
|
+
modelValue: boolean;
|
|
205
|
+
borderSize: number;
|
|
206
|
+
sliderAssetsIcon: string;
|
|
207
|
+
sliderNetworkIcon: string;
|
|
208
|
+
zoomEnabled: boolean;
|
|
209
|
+
scaleType: number;
|
|
210
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
211
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { QTLottieRepeatMode } from
|
|
2
|
-
import { QTLottieRenderMode } from
|
|
3
|
-
import { QTLottieAsyncUpdates } from
|
|
4
|
-
import { QTIView } from
|
|
1
|
+
import { QTLottieRepeatMode } from './QTLottieRepeatMode';
|
|
2
|
+
import { QTLottieRenderMode } from './QTLottieRenderMode';
|
|
3
|
+
import { QTLottieAsyncUpdates } from './QTLottieAsyncUpdates';
|
|
4
|
+
import { QTIView } from '../view/QTIView';
|
|
5
5
|
export interface QTILottieView extends QTIView {
|
|
6
6
|
loadRaw(rawRes: string): void;
|
|
7
7
|
loadFile(fileName: string): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
export interface QtLottieViewAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTILottieView } from './QTILottieView';
|
|
3
|
+
import { QTLottieRepeatMode } from './QTLottieRepeatMode';
|
|
4
|
+
import { QTLottieRenderMode } from './QTLottieRenderMode';
|
|
5
|
+
import { QTLottieAsyncUpdates } from './QTLottieAsyncUpdates';
|
|
6
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
7
|
+
export interface QtLottieViewAPI extends QtBaseViewAPI {
|
|
8
8
|
loadRaw(instance: string | Ref<QTILottieView | undefined>, rawRes: string): void;
|
|
9
9
|
loadFile(instance: string | Ref<QTILottieView | undefined>, fileName: string): void;
|
|
10
10
|
loadJsonFile(instance: string | Ref<QTILottieView | undefined>, fileName: string): void;
|
|
@@ -34,4 +34,4 @@ export interface QtLottieViewAPI extends QtViewAPI {
|
|
|
34
34
|
cacheComposition(instance: string | Ref<QTILottieView | undefined>, cache: boolean): void;
|
|
35
35
|
removeAllListener(instance: string | Ref<QTILottieView | undefined>): void;
|
|
36
36
|
}
|
|
37
|
-
export declare function createQtLottieViewAPI(viewAPI:
|
|
37
|
+
export declare function createQtLottieViewAPI(viewAPI: QtBaseViewAPI): QtLottieViewAPI;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTNavBar } from
|
|
2
|
-
import { QTIView } from
|
|
1
|
+
import { QTNavBar } from './QTNavBar';
|
|
2
|
+
import { QTIView } from '../view/QTIView';
|
|
3
3
|
export interface QTINavBar extends QTIView {
|
|
4
4
|
init(navBar: QTNavBar): void;
|
|
5
5
|
scrollToPosition(index: number): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ESTabItem } from
|
|
2
|
-
import { QTWaterfallFlexStyle } from
|
|
1
|
+
import { ESTabItem } from '@extscreen/es3-component';
|
|
2
|
+
import { QTWaterfallFlexStyle } from '../waterfall/core/QTWaterfallFlexStyle';
|
|
3
3
|
export interface QTNavBarItem extends ESTabItem {
|
|
4
4
|
style?: QTWaterfallFlexStyle;
|
|
5
5
|
[prop: string]: any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export interface QtNavBarAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTNavBar } from './QTNavBar';
|
|
3
|
+
import { QTINavBar } from './QTINavBar';
|
|
4
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
5
|
+
export interface QtNavBarAPI extends QtBaseViewAPI {
|
|
6
6
|
init(instance: Ref<QTINavBar | undefined>, navBar: QTNavBar): void;
|
|
7
7
|
scrollToPosition(instance: Ref<QTINavBar | undefined>, index: number): void;
|
|
8
8
|
scrollToTop(instance: Ref<QTINavBar | undefined>): void;
|
|
9
9
|
}
|
|
10
|
-
export declare function createQtNavBarAPI(viewAPI:
|
|
10
|
+
export declare function createQtNavBarAPI(viewAPI: QtBaseViewAPI): QtNavBarAPI;
|