@quicktvui/quicktvui3 1.2.0-beta.6 → 1.2.0-beta.60
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 -8
- 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/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 +2 -2
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/src/index.d.ts +14 -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 +12 -0
- package/dist/src/long-image/QTLongImage.d.ts +3 -0
- package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
- package/dist/src/long-image/index.vue.d.ts +194 -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 +2 -2
- 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/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 +3 -3
- 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/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 +1 -1
- package/dist/src/series/index.vue.d.ts +6 -6
- 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 +7 -7
- 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 +38 -11
- 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 +1 -1
- 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/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/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 +10 -7
- package/dist/src/waterfall/section/flex-section.vue.d.ts +2 -2
- package/dist/src/waterfall/section/section-title.vue.d.ts +1 -1
- package/dist/src/webview/QTIWebView.d.ts +22 -3
- package/dist/src/webview/QTWebView.d.ts +1 -1
- package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
- package/dist/src/webview/QtWebViewAPI.d.ts +26 -7
- package/dist/src/x5webview/QTIX5WebView.d.ts +27 -3
- package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
- package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +28 -7
- package/package.json +5 -1
- package/web-types.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ESMediaSeries } from
|
|
2
|
-
import { QTMediaSeriesVip } from
|
|
1
|
+
import { ESMediaSeries } from '@extscreen/es3-component';
|
|
2
|
+
import { QTMediaSeriesVip } from './QTMediaSeriesVip';
|
|
3
3
|
export interface QTMediaSeries extends ESMediaSeries {
|
|
4
4
|
id?: string;
|
|
5
5
|
vip?: QTMediaSeriesVip;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { QtViewAPI } from
|
|
2
|
-
import { Ref } from
|
|
3
|
-
import { QTIMediaSeries } from
|
|
4
|
-
import { QTMediaSeriesType } from
|
|
5
|
-
import { QTMediaSeriesGroup } from
|
|
6
|
-
import { QTMediaSeriesStyleType } from
|
|
7
|
-
import { QTMediaSeriesData } from
|
|
8
|
-
import { QTMediaSeries } from
|
|
1
|
+
import { QtViewAPI } from '../view/QtViewAPI';
|
|
2
|
+
import { Ref } from '@vue/reactivity';
|
|
3
|
+
import { QTIMediaSeries } from './QTIMediaSeries';
|
|
4
|
+
import { QTMediaSeriesType } from './QTMediaSeriesType';
|
|
5
|
+
import { QTMediaSeriesGroup } from './QTMediaSeriesGroup';
|
|
6
|
+
import { QTMediaSeriesStyleType } from './QTMediaSeriesStyleType';
|
|
7
|
+
import { QTMediaSeriesData } from './QTMediaSeriesData';
|
|
8
|
+
import { QTMediaSeries } from './QTMediaSeries';
|
|
9
9
|
export interface QtMediaSeriesAPI extends Omit<QtViewAPI, 'requestFocus'> {
|
|
10
10
|
setup(instance: Ref<QTIMediaSeries | undefined>): void;
|
|
11
11
|
setInitData(instance: Ref<QTIMediaSeries | undefined>, type: QTMediaSeriesType, group: QTMediaSeriesGroup, styleType: QTMediaSeriesStyleType, data: QTMediaSeriesData): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { QTMediaSeriesType } from
|
|
2
|
-
import { QTMediaSeriesData } from
|
|
3
|
-
import { QTMediaSeriesStyleType } from
|
|
4
|
-
import { QTMediaSeriesGroup } from
|
|
5
|
-
import { QTMediaSeries } from
|
|
6
|
-
import { ESIMediaSeries } from
|
|
1
|
+
import { QTMediaSeriesType } from './QTMediaSeriesType';
|
|
2
|
+
import { QTMediaSeriesData } from './QTMediaSeriesData';
|
|
3
|
+
import { QTMediaSeriesStyleType } from './QTMediaSeriesStyleType';
|
|
4
|
+
import { QTMediaSeriesGroup } from './QTMediaSeriesGroup';
|
|
5
|
+
import { QTMediaSeries } from './QTMediaSeries';
|
|
6
|
+
import { ESIMediaSeries } from '@extscreen/es3-component';
|
|
7
7
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
itemHeight: {
|
|
9
9
|
type: NumberConstructor;
|
package/dist/src/tab/QTITab.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { QTTab } from
|
|
2
|
-
import { QTTabPageData } from
|
|
3
|
-
import { ESListViewItemFunctionParams, ESViewStateCallback } from
|
|
4
|
-
import { QTTabPageState } from
|
|
5
|
-
import { QTWaterfallSection } from
|
|
6
|
-
import { QTWaterfallItem } from
|
|
7
|
-
import { QTTabPage } from
|
|
8
|
-
import { QTIView } from
|
|
9
|
-
import { QTTabDataManager } from
|
|
1
|
+
import { QTTab } from './QTTab';
|
|
2
|
+
import { QTTabPageData } from './QTTabPageData';
|
|
3
|
+
import { ESListViewItemFunctionParams, ESViewStateCallback } from '@extscreen/es3-component';
|
|
4
|
+
import { QTTabPageState } from './QTTabPageState';
|
|
5
|
+
import { QTWaterfallSection } from '../waterfall/core/QTWaterfallSection';
|
|
6
|
+
import { QTWaterfallItem } from '../waterfall/core/QTWaterfallItem';
|
|
7
|
+
import { QTTabPage } from './QTTabPage';
|
|
8
|
+
import { QTIView } from '../view/QTIView';
|
|
9
|
+
import { QTTabDataManager } from './QTTabDataManager';
|
|
10
10
|
export interface QTITab extends QTIView {
|
|
11
11
|
initTab(tab: QTTab): void;
|
|
12
12
|
initPage(waterfall: QTTabPage): void;
|
package/dist/src/tab/QTTab.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { QTWaterfallSection } from
|
|
2
|
-
import { QTWaterfallItem } from
|
|
3
|
-
import { QTTabIndex } from
|
|
4
|
-
import { QTTabPageDataState } from
|
|
5
|
-
import { QTTab } from
|
|
6
|
-
import { QTListViewItemState } from
|
|
7
|
-
import { ESLog } from
|
|
1
|
+
import { QTWaterfallSection } from '../waterfall/core/QTWaterfallSection';
|
|
2
|
+
import { QTWaterfallItem } from '../waterfall/core/QTWaterfallItem';
|
|
3
|
+
import { QTTabIndex } from './QTTabIndex';
|
|
4
|
+
import { QTTabPageDataState } from './QTTabPageDataState';
|
|
5
|
+
import { QTTab } from './QTTab';
|
|
6
|
+
import { QTListViewItemState } from '../list-view/core/QTListViewItemState';
|
|
7
|
+
import { ESLog } from '@extscreen/es3-core';
|
|
8
8
|
export interface QTTabDataManager {
|
|
9
9
|
initTab(tab: QTTab): void;
|
|
10
10
|
initTabPageData(pageIndex: number): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTTabEventParams } from
|
|
2
|
-
import { QTTabItem } from
|
|
1
|
+
import { QTTabEventParams } from './QTTabEventParams';
|
|
2
|
+
import { QTTabItem } from './QTTabItem';
|
|
3
3
|
export interface QTTabEvent {
|
|
4
4
|
pageIndex: number;
|
|
5
5
|
useDiff: boolean;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { QtViewAPI } from
|
|
2
|
-
import { Ref } from
|
|
3
|
-
import { QTITab } from
|
|
4
|
-
import { QTTab } from
|
|
5
|
-
import { QTTabPage } from
|
|
6
|
-
import { QTTabPageState } from
|
|
7
|
-
import { QTTabPageData } from
|
|
8
|
-
import { QTWaterfallSection } from
|
|
9
|
-
import { QTWaterfallItem } from
|
|
10
|
-
import { ESListViewItemFunctionParams, ESViewStateCallback } from
|
|
11
|
-
import { QTTabDataManager } from
|
|
1
|
+
import { QtViewAPI } from '../view/QtViewAPI';
|
|
2
|
+
import { Ref } from '@vue/reactivity';
|
|
3
|
+
import { QTITab } from './QTITab';
|
|
4
|
+
import { QTTab } from './QTTab';
|
|
5
|
+
import { QTTabPage } from './QTTabPage';
|
|
6
|
+
import { QTTabPageState } from './QTTabPageState';
|
|
7
|
+
import { QTTabPageData } from './QTTabPageData';
|
|
8
|
+
import { QTWaterfallSection } from '../waterfall/core/QTWaterfallSection';
|
|
9
|
+
import { QTWaterfallItem } from '../waterfall/core/QTWaterfallItem';
|
|
10
|
+
import { ESListViewItemFunctionParams, ESViewStateCallback } from '@extscreen/es3-component';
|
|
11
|
+
import { QTTabDataManager } from './QTTabDataManager';
|
|
12
12
|
export interface QtTabAPI extends Omit<QtViewAPI, 'blockRootFocus' | 'unBlockRootFocus'> {
|
|
13
13
|
initTab(instance: Ref<QTITab | undefined>, tab: QTTab): void;
|
|
14
14
|
initPage(instance: Ref<QTITab | undefined>, waterfall: QTTabPage): void;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { QTINavBar } from
|
|
2
|
-
import { QTTab } from
|
|
3
|
-
import { QTTabEvent } from
|
|
4
|
-
import { QTTabPageData } from
|
|
5
|
-
import { QTWaterfall } from
|
|
6
|
-
import { ESITab, ESListViewItemFunctionParams, ESViewStateCallback } from
|
|
7
|
-
import { QTWaterfallItem } from
|
|
8
|
-
import { QTTabPageState } from
|
|
9
|
-
import { QTWaterfallSection } from
|
|
10
|
-
import { QTTabItem } from
|
|
11
|
-
import { QTPluginViewEvent } from
|
|
1
|
+
import { QTINavBar } from '../nav-bar/QTINavBar';
|
|
2
|
+
import { QTTab } from './QTTab';
|
|
3
|
+
import { QTTabEvent } from './QTTabEvent';
|
|
4
|
+
import { QTTabPageData } from './QTTabPageData';
|
|
5
|
+
import { QTWaterfall } from '../waterfall/core/QTWaterfall';
|
|
6
|
+
import { ESITab, ESListViewItemFunctionParams, ESViewStateCallback } from '@extscreen/es3-component';
|
|
7
|
+
import { QTWaterfallItem } from '../waterfall/core/QTWaterfallItem';
|
|
8
|
+
import { QTTabPageState } from './QTTabPageState';
|
|
9
|
+
import { QTWaterfallSection } from '../waterfall/core/QTWaterfallSection';
|
|
10
|
+
import { QTTabItem } from './QTTabItem';
|
|
11
|
+
import { QTPluginViewEvent } from '../plugin/QTIPluginView';
|
|
12
12
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
offScreenPageLimit: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
13
17
|
enablePlaceholder: {
|
|
14
18
|
type: BooleanConstructor;
|
|
15
19
|
default: boolean;
|
|
@@ -147,6 +151,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
151
|
type: BooleanConstructor;
|
|
148
152
|
default: boolean;
|
|
149
153
|
};
|
|
154
|
+
tabContentVerticalFadingEdgeEnabled: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
tabContentFadingEdgeLength: {
|
|
159
|
+
type: NumberConstructor;
|
|
160
|
+
default: number;
|
|
161
|
+
};
|
|
150
162
|
fadingEdgeLength: {
|
|
151
163
|
type: NumberConstructor;
|
|
152
164
|
default: number;
|
|
@@ -286,6 +298,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
286
298
|
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
287
299
|
getDataManager: () => import("./QTTabDataManager").QTTabDataManager;
|
|
288
300
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onTabPageLoadData" | "onTabPageChanged" | "onTabEvent" | "onTabPageItemClick" | "onTabPageItemFocused" | "onTabPageSectionAttached" | "onTabPageScroll" | "onTabPageScrollStateChanged" | "onTabMoveToTopStart" | "onTabMoveToTopEnd" | "onTabMoveToBottomStart" | "onTabMoveToBottomEnd" | "onTabChanged" | "onTabPageScrollToEnd" | "onTabPageScrollToStart" | "onTabClick" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
301
|
+
offScreenPageLimit: {
|
|
302
|
+
type: NumberConstructor;
|
|
303
|
+
default: number;
|
|
304
|
+
};
|
|
289
305
|
enablePlaceholder: {
|
|
290
306
|
type: BooleanConstructor;
|
|
291
307
|
default: boolean;
|
|
@@ -423,6 +439,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
423
439
|
type: BooleanConstructor;
|
|
424
440
|
default: boolean;
|
|
425
441
|
};
|
|
442
|
+
tabContentVerticalFadingEdgeEnabled: {
|
|
443
|
+
type: BooleanConstructor;
|
|
444
|
+
default: boolean;
|
|
445
|
+
};
|
|
446
|
+
tabContentFadingEdgeLength: {
|
|
447
|
+
type: NumberConstructor;
|
|
448
|
+
default: number;
|
|
449
|
+
};
|
|
426
450
|
fadingEdgeLength: {
|
|
427
451
|
type: NumberConstructor;
|
|
428
452
|
default: number;
|
|
@@ -488,6 +512,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
488
512
|
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
489
513
|
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
490
514
|
}>, {
|
|
515
|
+
offScreenPageLimit: number;
|
|
491
516
|
enablePlaceholder: boolean;
|
|
492
517
|
preloadNumber: number;
|
|
493
518
|
tabNavBarClass: string;
|
|
@@ -521,6 +546,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
521
546
|
navBarNextFocusName: Record<string, any>;
|
|
522
547
|
horizontalFadingEdgeEnabled: boolean;
|
|
523
548
|
verticalFadingEdgeEnabled: boolean;
|
|
549
|
+
tabContentVerticalFadingEdgeEnabled: boolean;
|
|
550
|
+
tabContentFadingEdgeLength: number;
|
|
524
551
|
fadingEdgeLength: number;
|
|
525
552
|
qtTabSectionEnable: Record<string, any>;
|
|
526
553
|
tabConfig: Record<string, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTIView } from
|
|
2
|
-
import { QTTextSpan } from
|
|
1
|
+
import { QTIView } from '../view/QTIView';
|
|
2
|
+
import { QTTextSpan } from './QTTextSpan';
|
|
3
3
|
export interface QTIText extends QTIView {
|
|
4
4
|
setText(text: string): void;
|
|
5
5
|
setTextSize(size: number): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export interface QtTextAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTTextSpan } from './QTTextSpan';
|
|
3
|
+
import { QTIText } from './QTIText';
|
|
4
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
5
|
+
export interface QtTextAPI extends QtBaseViewAPI {
|
|
6
6
|
setText(instance: string | Ref<QTIText | undefined>, text: string): void;
|
|
7
7
|
setTextSize(instance: string | Ref<QTIText | undefined>, size: number): void;
|
|
8
8
|
setTextColor(instance: string | Ref<QTIText | undefined>, color: string): void;
|
|
9
9
|
textSpan(instance: string | Ref<QTIText | undefined>, span: QTTextSpan): void;
|
|
10
10
|
}
|
|
11
|
-
export declare function createQtTextAPI(viewAPI:
|
|
11
|
+
export declare function createQtTextAPI(viewAPI: QtBaseViewAPI): QtTextAPI;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QTTextSpan } from
|
|
1
|
+
import { QTTextSpan } from './QTTextSpan';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
3
|
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
4
4
|
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
package/dist/src/ul/QTIUL.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QTIView } from
|
|
2
|
-
import { QTULInitPosition } from
|
|
3
|
-
import { QTPosition } from
|
|
1
|
+
import { QTIView } from '../view/QTIView';
|
|
2
|
+
import { QTULInitPosition } from './QTULInitPosition';
|
|
3
|
+
import { QTPosition } from '../core/QTPosition';
|
|
4
4
|
export interface QTIUL extends QTIView {
|
|
5
5
|
scrollToIndex(x: number, y: number, animated: boolean, duration: number, offset: number): void;
|
|
6
6
|
setInitPosition(initPosition: QTULInitPosition): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QTListInitPosition } from
|
|
1
|
+
import { QTListInitPosition } from '../list/QTListInitPosition';
|
|
2
2
|
export type QTULInitPosition = QTListInitPosition;
|
package/dist/src/ul/QtULAPI.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export interface QtULAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTULInitPosition } from './QTULInitPosition';
|
|
3
|
+
import { QTPosition } from '../core/QTPosition';
|
|
4
|
+
import { QTIUL } from './QTIUL';
|
|
5
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
6
|
+
export interface QtULAPI extends QtBaseViewAPI {
|
|
7
7
|
scrollToIndex(instance: string | Ref<QTIUL | undefined>, x: number, y: number, animated: boolean, duration: number, offset: number): void;
|
|
8
8
|
setInitPosition(instance: string | Ref<QTIUL | undefined>, initPosition: QTULInitPosition): void;
|
|
9
9
|
clearInitPosition(instance: string | Ref<QTIUL | undefined>): void;
|
|
@@ -14,4 +14,4 @@ export interface QtULAPI extends QtViewAPI {
|
|
|
14
14
|
refreshListData(instance: string | Ref<QTIUL | undefined>): void;
|
|
15
15
|
getScrollOffset(instance: string | Ref<QTIUL | undefined>): Promise<QTPosition>;
|
|
16
16
|
}
|
|
17
|
-
export declare function createQtULAPI(viewAPI:
|
|
17
|
+
export declare function createQtULAPI(viewAPI: QtBaseViewAPI): QtULAPI;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QTListViewItem } from
|
|
1
|
+
import { QTListViewItem } from '../list-view/core/QTListViewItem';
|
|
2
2
|
export interface QtVirtualViewAPI {
|
|
3
3
|
searchReplaceItem(instance: string, item: QTListViewItem): void;
|
|
4
4
|
searchReplaceItemTraverse(instance: string, item: QTListViewItem): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NOOP } from '@vue/shared';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { isArray, isFunction, isObject, isString, isDate, isPromise, isSymbol, isPlainObject, } from '@vue/shared';
|
|
2
|
+
export declare const isUndefined: (val: any) => val is undefined;
|
|
3
|
+
export declare const isBoolean: (val: any) => val is boolean;
|
|
4
|
+
export declare const isNumber: (val: any) => val is number;
|
|
5
|
+
export declare const isEmpty: (val: unknown) => boolean;
|
|
6
|
+
export declare const isElement: (e: unknown) => e is Element;
|
|
7
|
+
export declare const isPropAbsent: (prop: unknown) => prop is null | undefined;
|
|
8
|
+
export declare const isStringNumber: (val: string) => boolean;
|
|
9
|
+
export declare const isWindow: (val: unknown) => val is Window;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
|
|
3
|
+
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
4
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
5
|
+
export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
|
|
6
|
+
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { EpProp, EpPropConvert, EpPropFinalized, EpPropInput, EpPropMergeType, IfEpProp, IfNativePropType, NativePropType } from './types';
|
|
3
|
+
export declare const epPropKey = "__epPropKey";
|
|
4
|
+
export declare const definePropType: <T>(val: any) => PropType<T>;
|
|
5
|
+
export declare const isEpProp: (val: unknown) => val is EpProp<any, any, any>;
|
|
6
|
+
export declare const buildProp: <Type = never, Value = never, Validator = never, Default extends EpPropMergeType<Type, Value, Validator> = never, Required extends boolean = false>(prop: EpPropInput<Type, Value, Validator, Default, Required>, key?: string) => EpPropFinalized<Type, Value, Validator, Default, Required>;
|
|
7
|
+
export declare const buildProps: <Props extends Record<string, {
|
|
8
|
+
[epPropKey]: true;
|
|
9
|
+
} | NativePropType | EpPropInput<any, any, any, any, any>>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { epPropKey } from './runtime';
|
|
2
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import type { IfNever, UnknownToNever, WritableArray } from './util';
|
|
4
|
+
type Value<T> = T[keyof T];
|
|
5
|
+
export type ExtractPropType<T extends object> = Value<ExtractPropTypes<{
|
|
6
|
+
key: T;
|
|
7
|
+
}>>;
|
|
8
|
+
export type ResolvePropType<T> = IfNever<T, never, ExtractPropType<{
|
|
9
|
+
type: WritableArray<T>;
|
|
10
|
+
required: true;
|
|
11
|
+
}>>;
|
|
12
|
+
export type EpPropMergeType<Type, Value, Validator> = IfNever<UnknownToNever<Value>, ResolvePropType<Type>, never> | UnknownToNever<Value> | UnknownToNever<Validator>;
|
|
13
|
+
export type EpPropInputDefault<Required extends boolean, Default> = Required extends true ? never : Default extends Record<string, unknown> | Array<any> ? () => Default : (() => Default) | Default;
|
|
14
|
+
export type NativePropType = ((...args: any) => any) | {
|
|
15
|
+
new (...args: any): any;
|
|
16
|
+
} | undefined | null;
|
|
17
|
+
export type IfNativePropType<T, Y, N> = [T] extends [NativePropType] ? Y : N;
|
|
18
|
+
export type EpPropInput<Type, Value, Validator, Default extends EpPropMergeType<Type, Value, Validator>, Required extends boolean> = {
|
|
19
|
+
type?: Type;
|
|
20
|
+
required?: Required;
|
|
21
|
+
values?: readonly Value[];
|
|
22
|
+
validator?: ((val: any) => val is Validator) | ((val: any) => boolean);
|
|
23
|
+
default?: EpPropInputDefault<Required, Default>;
|
|
24
|
+
};
|
|
25
|
+
export type EpProp<Type, Default, Required> = {
|
|
26
|
+
readonly type: PropType<Type>;
|
|
27
|
+
readonly required: [Required] extends [true] ? true : false;
|
|
28
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
|
+
[epPropKey]: true;
|
|
30
|
+
} & IfNever<Default, unknown, {
|
|
31
|
+
readonly default: Default;
|
|
32
|
+
}>;
|
|
33
|
+
export type IfEpProp<T, Y, N> = T extends {
|
|
34
|
+
[epPropKey]: true;
|
|
35
|
+
} ? Y : N;
|
|
36
|
+
export type EpPropConvert<Input> = Input extends EpPropInput<infer Type, infer Value, infer Validator, any, infer Required> ? EpPropFinalized<Type, Value, Validator, Input['default'], Required> : never;
|
|
37
|
+
export type EpPropFinalized<Type, Value, Validator, Default, Required> = EpProp<EpPropMergeType<Type, Value, Validator>, UnknownToNever<Default>, Required>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type Writable<T> = {
|
|
2
|
+
-readonly [P in keyof T]: T[P];
|
|
3
|
+
};
|
|
4
|
+
export type WritableArray<T> = T extends readonly any[] ? Writable<T> : T;
|
|
5
|
+
export type IfNever<T, Y = true, N = false> = [T] extends [never] ? Y : N;
|
|
6
|
+
export type IfUnknown<T, Y, N> = [unknown] extends [T] ? Y : N;
|
|
7
|
+
export type UnknownToNever<T> = IfUnknown<T, never, T>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { AppContext, EmitsOptions, Plugin, SetupContext } from 'vue';
|
|
2
|
+
export type SFCWithInstall<T> = T & Plugin;
|
|
3
|
+
export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
4
|
+
_context: AppContext | null;
|
|
5
|
+
};
|
|
6
|
+
export type EmitFn<E extends EmitsOptions> = SetupContext<E>['emit'];
|
|
@@ -1,45 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { QTIView } from "./QTIView";
|
|
4
|
-
import { QTFocusDirection } from "../focus/QTFocusDirection";
|
|
5
|
-
import { QTFocusDescendant } from "../focus/QTFocusDescendant";
|
|
6
|
-
import { QTDescendantFocusability } from "../focus/QTDescendantFocusability";
|
|
7
|
-
import { QTNativeParams } from "../core/QTNativeParams";
|
|
8
|
-
import { QTFocusDirectionName } from "../focus/QTFocusDirectionName";
|
|
9
|
-
import { QTEventData } from "../core/QTEventData";
|
|
10
|
-
import { QTLocation } from "../core/QTLocation";
|
|
11
|
-
import { QTViewState } from "./QTViewState";
|
|
12
|
-
export interface QtViewAPI {
|
|
13
|
-
requestFocus(instance: string | Ref<QTIView | undefined>, direction?: QTFocusDirection): void;
|
|
14
|
-
requestChildFocus(instance: string | Ref<QTIView | undefined>, position: number): void;
|
|
15
|
-
clearFocus(instance: string | Ref<QTIView | undefined>): void;
|
|
16
|
-
requestFocusDirectly(instance: string | Ref<QTIView | undefined>, direction?: QTFocusDirection): void;
|
|
17
|
-
setVisibility(instance: string | Ref<QTIView | undefined>, v: QTIViewVisibility): void;
|
|
18
|
-
requestRootLayout(instance: string | Ref<QTIView | undefined>): void;
|
|
19
|
-
requestLayout(instance: string | Ref<QTIView | undefined>): void;
|
|
20
|
-
setDescendantFocusability(instance: string | Ref<QTIView | undefined>, descendant: QTFocusDescendant): void;
|
|
21
|
-
changeDescendantFocusability(instance: string | Ref<QTIView | undefined>, descendant: QTDescendantFocusability): void;
|
|
22
|
-
forceUpdateRenderNode(instance: string | Ref<QTIView | undefined>): void;
|
|
23
|
-
setBackGroundColor(instance: string | Ref<QTIView | undefined>, color: string): void;
|
|
24
|
-
layoutViewManual(instance: string | Ref<QTIView | undefined>): void;
|
|
25
|
-
blockRootFocus(instance: string | Ref<QTIView | undefined>): void;
|
|
26
|
-
unBlockRootFocus(instance: string | Ref<QTIView | undefined>): void;
|
|
27
|
-
changeAlpha(instance: string | Ref<QTIView | undefined>, alpha: number): void;
|
|
28
|
-
setScale(instance: string | Ref<QTIView | undefined>, x: number, y: number, duration: number): void;
|
|
29
|
-
setPosition(instance: string | Ref<QTIView | undefined>, x: number, y: number, z: number): void;
|
|
30
|
-
updateLayout(instance: string | Ref<QTIView | undefined>, width: number, height: number, x: number, y: number): void;
|
|
31
|
-
invalidate(instance: string | Ref<QTIView | undefined>): void;
|
|
32
|
-
dispatchFunctionForTarget(instance: string | Ref<QTIView | undefined>, targetName: string, functionTargetName: string, params: Array<QTNativeParams>, delay: number): void;
|
|
33
|
-
setBlockFocusDirections(instance: string | Ref<QTIView | undefined>, directionList: Array<QTFocusDirectionName>): void;
|
|
34
|
-
setBlockFocusDirectionsOnFail(instance: string | Ref<QTIView | undefined>, directionList: Array<QTFocusDirectionName>): void;
|
|
35
|
-
setInitFocus(instance: string | Ref<QTIView | undefined>, sid: string, delay?: number): void;
|
|
36
|
-
setAutoFocus(instance: string | Ref<QTIView | undefined>, sid: string, delay?: number): void;
|
|
37
|
-
enabledAutofocus(instance: string | Ref<QTIView | undefined>, autofocus: boolean): void;
|
|
38
|
-
requestAutofocus(instance: string | Ref<QTIView | undefined>): void;
|
|
39
|
-
hasFocus(instance: string | Ref<QTIView | undefined>): Promise<boolean>;
|
|
40
|
-
isFocused(instance: string | Ref<QTIView | undefined>): Promise<boolean>;
|
|
41
|
-
getLocationOnScreen(instance: string | Ref<QTIView | undefined>): Promise<QTEventData<QTLocation>>;
|
|
42
|
-
getViewState(instance: string | Ref<QTIView | undefined>): Promise<QTViewState>;
|
|
43
|
-
getChildViewState(instance: string | Ref<QTIView | undefined>, position: number): Promise<QTViewState>;
|
|
1
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
2
|
+
export interface QtViewAPI extends QtBaseViewAPI {
|
|
44
3
|
}
|
|
45
|
-
export declare function createQtViewAPI(): QtViewAPI;
|
|
4
|
+
export declare function createQtViewAPI(viewAPI: QtBaseViewAPI): QtViewAPI;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
export interface QtWaterfallAPI extends
|
|
1
|
+
import { QtBaseListViewAPI } from '../list/QtBaseListViewAPI';
|
|
2
|
+
import { QTWaterfall } from './core/QTWaterfall';
|
|
3
|
+
import { QTWaterfallSection } from './core/QTWaterfallSection';
|
|
4
|
+
import { QTWaterfallItem } from './core/QTWaterfallItem';
|
|
5
|
+
import { Ref } from '@vue/reactivity';
|
|
6
|
+
import { QTIWaterfall } from './core/QTIWaterfall';
|
|
7
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
8
|
+
export interface QtWaterfallAPI extends QtBaseViewAPI, QtBaseListViewAPI {
|
|
9
9
|
init(instance: Ref<QTIWaterfall | undefined>, waterfall: QTWaterfall): any;
|
|
10
10
|
getSectionList(instance: Ref<QTIWaterfall | undefined>): Array<QTWaterfallSection>;
|
|
11
11
|
setSectionList(instance: Ref<QTIWaterfall | undefined>, sections: Array<QTWaterfallSection>): void;
|
|
@@ -20,4 +20,4 @@ export interface QtWaterfallAPI extends QtViewAPI, QtBaseListViewAPI {
|
|
|
20
20
|
updateItemList(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number, count: number, itemList: Array<QTWaterfallItem>): void;
|
|
21
21
|
getItem(instance: Ref<QTIWaterfall | undefined>, sectionIndex: number, itemIndex: number): QTWaterfallItem | undefined;
|
|
22
22
|
}
|
|
23
|
-
export declare function createQtWaterfallAPI(viewAPI:
|
|
23
|
+
export declare function createQtWaterfallAPI(viewAPI: QtBaseViewAPI, listViewAPI: QtBaseListViewAPI): QtWaterfallAPI;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { QTWaterfallSection } from
|
|
2
|
-
import { QTWaterfall } from
|
|
3
|
-
import { QTWaterfallItem } from
|
|
4
|
-
import { QTIBaseListView } from
|
|
1
|
+
import { QTWaterfallSection } from './QTWaterfallSection';
|
|
2
|
+
import { QTWaterfall } from './QTWaterfall';
|
|
3
|
+
import { QTWaterfallItem } from './QTWaterfallItem';
|
|
4
|
+
import { QTIBaseListView } from '../../list/QTIBaseListView';
|
|
5
5
|
export interface QTIWaterfall extends QTIBaseListView {
|
|
6
6
|
init(waterfall: QTWaterfall): any;
|
|
7
7
|
getSectionList(): Array<QTWaterfallSection>;
|