@quicktvui/quicktvui3 1.2.0-beta.4 → 1.2.0-beta.40
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 +11 -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 +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 +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 +3 -3
- package/dist/src/qtListen/qtDiff.d.ts +1 -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 +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 +51 -59
- 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 +1 -1
- package/dist/src/webview/QTWebView.d.ts +1 -1
- package/dist/src/webview/QtWebViewAPI.d.ts +5 -5
- package/dist/src/x5webview/QTIX5WebView.d.ts +1 -1
- package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +5 -5
- package/package.json +5 -1
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { ESIMediaSeries } from
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
import { ESIMediaSeries } from '@extscreen/es3-component';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
customItem: {
|
|
4
4
|
type: BooleanConstructor;
|
|
5
5
|
default: boolean;
|
|
@@ -24,9 +24,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
type: ObjectConstructor;
|
|
25
25
|
default: () => {};
|
|
26
26
|
};
|
|
27
|
-
}
|
|
28
|
-
selectSeries: import("vue").Ref<ESIMediaSeries | undefined>;
|
|
29
|
-
showOld: import("vue").Ref<boolean>;
|
|
27
|
+
}>, {
|
|
28
|
+
selectSeries: import("vue").Ref<ESIMediaSeries | undefined, ESIMediaSeries | undefined>;
|
|
29
|
+
showOld: import("vue").Ref<boolean, boolean>;
|
|
30
30
|
onLoadData: (event: any) => void;
|
|
31
31
|
setPageData: (page: any, data: any) => void;
|
|
32
32
|
setInitData: (totalCount: any, pageSize: any) => void;
|
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
40
40
|
setup: () => void;
|
|
41
41
|
setGroupSelected: (position: any) => void;
|
|
42
42
|
release: () => void;
|
|
43
|
-
},
|
|
43
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load-data" | "item-click" | "item-focused" | "group-item-focused")[], "load-data" | "item-click" | "item-focused" | "group-item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
44
|
customItem: {
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
@@ -65,17 +65,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
type: ObjectConstructor;
|
|
66
66
|
default: () => {};
|
|
67
67
|
};
|
|
68
|
-
}>> & {
|
|
68
|
+
}>> & Readonly<{
|
|
69
69
|
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
70
70
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
71
71
|
"onItem-focused"?: ((...args: any[]) => any) | undefined;
|
|
72
72
|
"onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
}
|
|
73
|
+
}>, {
|
|
74
74
|
customItem: boolean;
|
|
75
75
|
initParam: Record<string, any>;
|
|
76
76
|
height: number;
|
|
77
77
|
scrollParam: Record<string, any>;
|
|
78
78
|
groupParam: Record<string, any>;
|
|
79
79
|
commonParam: Record<string, any>;
|
|
80
|
-
}, {}>;
|
|
80
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { QTMediaSeriesType } from
|
|
2
|
-
import { QTMediaSeriesData } from
|
|
3
|
-
import { QTMediaSeriesStyleType } from
|
|
4
|
-
import { QTMediaSeriesGroup } from
|
|
5
|
-
import { QTMediaSeries } from
|
|
6
|
-
import { ESIMediaSeries } from
|
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
|
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
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
itemHeight: {
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
default: number;
|
|
@@ -65,16 +65,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
type: NumberConstructor;
|
|
66
66
|
default: number;
|
|
67
67
|
};
|
|
68
|
-
}
|
|
69
|
-
isVip: import("vue").Ref<boolean>;
|
|
70
|
-
seriesType: import("vue").Ref<QTMediaSeriesType>;
|
|
71
|
-
params: import("vue").Ref<any>;
|
|
72
|
-
commonParams: import("vue").Ref<any>;
|
|
73
|
-
scrollParams: import("vue").Ref<any>;
|
|
74
|
-
groupParams: import("vue").Ref<any>;
|
|
75
|
-
mediaSeriesRef: import("vue").Ref<ESIMediaSeries | undefined>;
|
|
76
|
-
show: import("vue").Ref<boolean>;
|
|
77
|
-
height: import("vue").Ref<number>;
|
|
68
|
+
}>, {
|
|
69
|
+
isVip: import("vue").Ref<boolean, boolean>;
|
|
70
|
+
seriesType: import("vue").Ref<QTMediaSeriesType, QTMediaSeriesType>;
|
|
71
|
+
params: import("vue").Ref<any, any>;
|
|
72
|
+
commonParams: import("vue").Ref<any, any>;
|
|
73
|
+
scrollParams: import("vue").Ref<any, any>;
|
|
74
|
+
groupParams: import("vue").Ref<any, any>;
|
|
75
|
+
mediaSeriesRef: import("vue").Ref<ESIMediaSeries | undefined, ESIMediaSeries | undefined>;
|
|
76
|
+
show: import("vue").Ref<boolean, boolean>;
|
|
77
|
+
height: import("vue").Ref<number, number>;
|
|
78
78
|
onLoadData: (event: any) => void;
|
|
79
79
|
setInitData: (type: QTMediaSeriesType, group: QTMediaSeriesGroup, styleType: QTMediaSeriesStyleType, data: QTMediaSeriesData) => void;
|
|
80
80
|
setPageData: (page: number, dataArray: Array<QTMediaSeries>) => void;
|
|
@@ -91,9 +91,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
blockRootFocus: () => void;
|
|
92
92
|
unBlockRootFocus: () => void;
|
|
93
93
|
clearFocus: () => void;
|
|
94
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
94
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
95
95
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
96
|
-
},
|
|
96
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("load-data" | "item-click" | "item-focused" | "group-item-focused")[], "load-data" | "item-click" | "item-focused" | "group-item-focused", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
97
97
|
itemHeight: {
|
|
98
98
|
type: NumberConstructor;
|
|
99
99
|
default: number;
|
|
@@ -154,12 +154,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
154
154
|
type: NumberConstructor;
|
|
155
155
|
default: number;
|
|
156
156
|
};
|
|
157
|
-
}>> & {
|
|
157
|
+
}>> & Readonly<{
|
|
158
158
|
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
159
159
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
160
160
|
"onItem-focused"?: ((...args: any[]) => any) | undefined;
|
|
161
161
|
"onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
|
|
162
|
-
}
|
|
162
|
+
}>, {
|
|
163
163
|
itemHeight: number;
|
|
164
164
|
gradientBackground: Record<string, any>;
|
|
165
165
|
gradientFocusBackground: Record<string, any>;
|
|
@@ -170,5 +170,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
170
|
textVipColors: Record<string, any>;
|
|
171
171
|
itemDivWidth: number;
|
|
172
172
|
itemDivHeight: number;
|
|
173
|
-
}, {}
|
|
173
|
+
}, {}, {
|
|
174
|
+
'media-series-number-item': import("vue").DefineComponent<{}, {}, any>;
|
|
175
|
+
'media-series-text-item': import("vue").DefineComponent<{}, {}, any>;
|
|
176
|
+
'media-series': import("vue").DefineComponent<{}, {}, any>;
|
|
177
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
174
178
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
isVip: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
selectColor: string;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
55
|
isVip: {
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
selectColor: string;
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
}
|
|
107
|
+
}>> & Readonly<{}>, {
|
|
108
108
|
isVip: boolean;
|
|
109
109
|
gradientBackground: Record<string, any>;
|
|
110
110
|
gradientFocusBackground: Record<string, any>;
|
|
@@ -113,5 +113,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
markVipColor: string;
|
|
114
114
|
textColors: Record<string, any>;
|
|
115
115
|
textVipColors: Record<string, any>;
|
|
116
|
-
}, {}>;
|
|
116
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
117
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
isVip: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
59
59
|
type: NumberConstructor;
|
|
60
60
|
default: number;
|
|
61
61
|
};
|
|
62
|
-
}
|
|
62
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
63
|
isVip: {
|
|
64
64
|
type: BooleanConstructor;
|
|
65
65
|
default: boolean;
|
|
@@ -120,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
120
|
type: NumberConstructor;
|
|
121
121
|
default: number;
|
|
122
122
|
};
|
|
123
|
-
}
|
|
123
|
+
}>> & Readonly<{}>, {
|
|
124
124
|
isVip: boolean;
|
|
125
125
|
gradientBackground: Record<string, any>;
|
|
126
126
|
gradientFocusBackground: Record<string, any>;
|
|
@@ -131,5 +131,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
textVipColors: Record<string, any>;
|
|
132
132
|
itemWidth: number;
|
|
133
133
|
itemHeight: number;
|
|
134
|
-
}, {}>;
|
|
134
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
135
135
|
export default _default;
|
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,15 @@
|
|
|
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
|
|
12
|
-
declare const _default: import("vue").DefineComponent<{
|
|
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
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
enablePlaceholder: {
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
@@ -147,6 +147,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
147
|
type: BooleanConstructor;
|
|
148
148
|
default: boolean;
|
|
149
149
|
};
|
|
150
|
+
tabContentVerticalFadingEdgeEnabled: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
tabContentFadingEdgeLength: {
|
|
155
|
+
type: NumberConstructor;
|
|
156
|
+
default: number;
|
|
157
|
+
};
|
|
150
158
|
fadingEdgeLength: {
|
|
151
159
|
type: NumberConstructor;
|
|
152
160
|
default: number;
|
|
@@ -189,28 +197,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
197
|
};
|
|
190
198
|
};
|
|
191
199
|
tabs: {
|
|
192
|
-
type:
|
|
193
|
-
(arrayLength: number): any[];
|
|
194
|
-
(...items: any[]): any[];
|
|
195
|
-
new (arrayLength: number): any[];
|
|
196
|
-
new (...items: any[]): any[];
|
|
197
|
-
isArray(arg: any): arg is any[];
|
|
198
|
-
readonly prototype: any[];
|
|
199
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
200
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
201
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
202
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
203
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
204
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
205
|
-
};
|
|
200
|
+
type: ArrayConstructor;
|
|
206
201
|
default: () => never[];
|
|
207
202
|
};
|
|
208
|
-
}
|
|
209
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams
|
|
210
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
211
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
203
|
+
}>, {
|
|
204
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
205
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
206
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
212
207
|
clearFocus: () => void;
|
|
213
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
208
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
214
209
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
215
210
|
requestRootLayout: () => void;
|
|
216
211
|
requestLayout: () => void;
|
|
@@ -226,11 +221,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
221
|
setPosition: (x: number, y: number, z: number) => void;
|
|
227
222
|
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
228
223
|
invalidate: () => void;
|
|
229
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
230
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
231
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
232
|
-
setInitFocus: (sid: string, delay?: number
|
|
233
|
-
setAutoFocus: (sid: string, delay?: number
|
|
224
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
225
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
226
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
227
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
228
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
234
229
|
enabledAutofocus: (autofocus: boolean) => void;
|
|
235
230
|
requestAutofocus: () => void;
|
|
236
231
|
hasFocus: () => Promise<boolean>;
|
|
@@ -241,9 +236,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
236
|
requestChildFocusAtIndex: (position: number) => void;
|
|
242
237
|
clearMemoryFocused: () => void;
|
|
243
238
|
showDialog: (show: boolean) => void;
|
|
244
|
-
tabs: import("vue").Ref<ESITab | undefined>;
|
|
245
|
-
ifTabs: import("vue").Ref<boolean>;
|
|
246
|
-
navBarRef: import("vue").Ref<QTINavBar | undefined>;
|
|
239
|
+
tabs: import("vue").Ref<ESITab | undefined, ESITab | undefined>;
|
|
240
|
+
ifTabs: import("vue").Ref<boolean, boolean>;
|
|
241
|
+
navBarRef: import("vue").Ref<QTINavBar | undefined, QTINavBar | undefined>;
|
|
247
242
|
initTab: (tab: QTTab) => void;
|
|
248
243
|
initPage: (w: QTWaterfall) => void;
|
|
249
244
|
setPageState: (pageIndex: number, state: QTTabPageState) => void;
|
|
@@ -277,7 +272,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
272
|
cancelAll: () => void;
|
|
278
273
|
translationLeft: () => void;
|
|
279
274
|
translationRight: () => void;
|
|
280
|
-
rootOpacity: import("vue").Ref<number>;
|
|
275
|
+
rootOpacity: import("vue").Ref<number, number>;
|
|
281
276
|
onTabPageLoadData: (e: QTTabEvent) => void;
|
|
282
277
|
onTabPageChanged: (e: QTTabEvent) => void;
|
|
283
278
|
onTabEvent: (e: QTTabEvent) => void;
|
|
@@ -298,7 +293,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
298
293
|
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
299
294
|
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
300
295
|
getDataManager: () => import("./QTTabDataManager").QTTabDataManager;
|
|
301
|
-
},
|
|
296
|
+
}, {}, {}, {}, 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<{
|
|
302
297
|
enablePlaceholder: {
|
|
303
298
|
type: BooleanConstructor;
|
|
304
299
|
default: boolean;
|
|
@@ -436,6 +431,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
436
431
|
type: BooleanConstructor;
|
|
437
432
|
default: boolean;
|
|
438
433
|
};
|
|
434
|
+
tabContentVerticalFadingEdgeEnabled: {
|
|
435
|
+
type: BooleanConstructor;
|
|
436
|
+
default: boolean;
|
|
437
|
+
};
|
|
438
|
+
tabContentFadingEdgeLength: {
|
|
439
|
+
type: NumberConstructor;
|
|
440
|
+
default: number;
|
|
441
|
+
};
|
|
439
442
|
fadingEdgeLength: {
|
|
440
443
|
type: NumberConstructor;
|
|
441
444
|
default: number;
|
|
@@ -478,23 +481,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
478
481
|
};
|
|
479
482
|
};
|
|
480
483
|
tabs: {
|
|
481
|
-
type:
|
|
482
|
-
(arrayLength: number): any[];
|
|
483
|
-
(...items: any[]): any[];
|
|
484
|
-
new (arrayLength: number): any[];
|
|
485
|
-
new (...items: any[]): any[];
|
|
486
|
-
isArray(arg: any): arg is any[];
|
|
487
|
-
readonly prototype: any[];
|
|
488
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
489
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
490
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
491
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
492
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
493
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
494
|
-
};
|
|
484
|
+
type: ArrayConstructor;
|
|
495
485
|
default: () => never[];
|
|
496
486
|
};
|
|
497
|
-
}>> & {
|
|
487
|
+
}>> & Readonly<{
|
|
498
488
|
onOnTabPageLoadData?: ((...args: any[]) => any) | undefined;
|
|
499
489
|
onOnTabPageChanged?: ((...args: any[]) => any) | undefined;
|
|
500
490
|
onOnTabEvent?: ((...args: any[]) => any) | undefined;
|
|
@@ -513,7 +503,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
513
503
|
onOnTabClick?: ((...args: any[]) => any) | undefined;
|
|
514
504
|
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
515
505
|
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
516
|
-
}
|
|
506
|
+
}>, {
|
|
517
507
|
enablePlaceholder: boolean;
|
|
518
508
|
preloadNumber: number;
|
|
519
509
|
tabNavBarClass: string;
|
|
@@ -547,10 +537,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
547
537
|
navBarNextFocusName: Record<string, any>;
|
|
548
538
|
horizontalFadingEdgeEnabled: boolean;
|
|
549
539
|
verticalFadingEdgeEnabled: boolean;
|
|
540
|
+
tabContentVerticalFadingEdgeEnabled: boolean;
|
|
541
|
+
tabContentFadingEdgeLength: number;
|
|
550
542
|
fadingEdgeLength: number;
|
|
551
543
|
qtTabSectionEnable: Record<string, any>;
|
|
552
544
|
tabConfig: Record<string, any>;
|
|
553
545
|
waterfallConfig: Record<string, any>;
|
|
554
|
-
tabs:
|
|
555
|
-
}, {}>;
|
|
546
|
+
tabs: unknown[];
|
|
547
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
556
548
|
export default _default;
|
|
@@ -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;
|