@quicktvui/quicktvui3 1.2.0 → 3.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +17 -29
- package/dist/index.js +8 -9
- package/dist/src/animation/QTAnimation.d.ts +1 -1
- package/dist/src/animation/QTIAnimation.d.ts +19 -9
- package/dist/src/animation/QtAnimationAPI.d.ts +16 -34
- package/dist/src/animation/types.d.ts +40 -0
- package/dist/src/app/QTAppIcon.d.ts +1 -1
- package/dist/src/app/QtAppIconAPI.d.ts +5 -5
- package/dist/src/base/QTIBaseView.d.ts +10 -10
- package/dist/src/base/QtBaseNativeViewAPI.d.ts +2 -0
- package/dist/src/base/QtBaseViewAPI.d.ts +45 -0
- package/dist/src/base/useBaseView.d.ts +11 -11
- package/dist/src/button/QTIButton.d.ts +1 -1
- package/dist/src/button/QtButtonAPI.d.ts +3 -3
- package/dist/src/button/index.vue.d.ts +21 -21
- package/dist/src/canvas/CanvasGradient.d.ts +36 -0
- package/dist/src/canvas/QTCanvasView.d.ts +3 -0
- package/dist/src/canvas/QTICanvasView.d.ts +50 -0
- package/dist/src/canvas/QtCanvasViewAPI.d.ts +54 -0
- package/dist/src/classified-list-view/QtClassifiedListViewAPI.d.ts +6 -6
- package/dist/src/classified-list-view/core/QTClassifiedListViewItem.d.ts +2 -2
- package/dist/src/classified-list-view/core/QTIClassifiedListView.d.ts +2 -2
- package/dist/src/classified-list-view/index.vue.d.ts +21 -21
- package/dist/src/collapse/QtCollapseAPI.d.ts +7 -7
- package/dist/src/collapse/core/QTCollapse.d.ts +1 -1
- package/dist/src/collapse/core/QTICollapse.d.ts +3 -3
- package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -2
- package/dist/src/collapse/index.vue.d.ts +18 -18
- package/dist/src/column/QTIColumn.d.ts +1 -1
- package/dist/src/column/QtColumnAPI.d.ts +3 -3
- package/dist/src/core/QTFlexStyleGradientBackground.d.ts +1 -1
- package/dist/src/core/QTLocation.d.ts +2 -2
- package/dist/src/dialog/QTDialog.d.ts +1 -1
- package/dist/src/dialog/QTIDialog.d.ts +1 -1
- package/dist/src/gradient/QTGradient.d.ts +3 -3
- package/dist/src/grid-view/QtGridViewAPI.d.ts +7 -7
- package/dist/src/grid-view/core/QTGridViewItem.d.ts +1 -1
- package/dist/src/grid-view/core/QTIGridView.d.ts +2 -2
- package/dist/src/grid-view/index.vue.d.ts +32 -32
- package/dist/src/image/QTIImage.d.ts +2 -2
- package/dist/src/image/QtImageAPI.d.ts +6 -6
- package/dist/src/image/index.vue.d.ts +12 -12
- package/dist/src/index.d.ts +23 -6
- package/dist/src/list/QTIBaseListView.d.ts +5 -5
- package/dist/src/list/QtBaseListViewAPI.d.ts +6 -6
- package/dist/src/list/useBaseListView.d.ts +6 -6
- package/dist/src/list/useListView.d.ts +49 -0
- package/dist/src/list-indicator/QTIndicatorListViewComponent.d.ts +1 -1
- package/dist/src/list-indicator/QtIndicatorViewAPI.d.ts +7 -7
- package/dist/src/list-indicator/core/QTIIndicatorView.d.ts +2 -2
- package/dist/src/list-item/ESListItemComponent.d.ts +1 -1
- package/dist/src/list-item/QtListItemAPI.d.ts +5 -5
- package/dist/src/list-view/QTListViewComponent.d.ts +1 -1
- package/dist/src/list-view/QtListViewAPI.d.ts +7 -7
- package/dist/src/list-view/core/QTIListView.d.ts +2 -2
- package/dist/src/list-view/core/QTListViewItem.d.ts +2 -2
- package/dist/src/loading/QTILoadingView.d.ts +1 -1
- package/dist/src/loading/QTLoadingView.d.ts +1 -1
- package/dist/src/loading/QtLoadingAPI.d.ts +3 -3
- package/dist/src/long-image/QTILongImage.d.ts +22 -0
- package/dist/src/long-image/QTLongImage.d.ts +3 -0
- package/dist/src/long-image/QTLongImageEventBean.d.ts +55 -0
- package/dist/src/long-image/QTLongImageOrientation.d.ts +7 -0
- package/dist/src/long-image/QTLongImagePositionType.d.ts +5 -0
- package/dist/src/long-image/QTLongImageScaleType.d.ts +9 -0
- package/dist/src/long-image/QtLongImageAPI.d.ts +4 -0
- package/dist/src/long-image/index.vue.d.ts +211 -0
- package/dist/src/lottie/QTILottieView.d.ts +4 -4
- package/dist/src/lottie/QTLottieView.d.ts +1 -1
- package/dist/src/lottie/QtLottieViewAPI.d.ts +8 -8
- package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
- package/dist/src/nav-bar/QTNavBar.d.ts +1 -1
- package/dist/src/nav-bar/QTNavBarItem.d.ts +2 -2
- package/dist/src/nav-bar/QtNavBarAPI.d.ts +6 -6
- package/dist/src/nav-bar/index.vue.d.ts +18 -18
- package/dist/src/plugin/QTIPluginView.d.ts +1 -1
- package/dist/src/plugin/QTPluginView.d.ts +1 -1
- package/dist/src/plugin/QtPluginViewAPI.d.ts +5 -5
- package/dist/src/poster/QtPosterAPI.d.ts +3 -3
- package/dist/src/poster/core/QTIPoster.d.ts +1 -1
- package/dist/src/poster/core/QTPoster.d.ts +13 -13
- package/dist/src/poster/core/QTPosterCorner.d.ts +2 -2
- package/dist/src/poster/core/QTPosterElement.d.ts +1 -1
- package/dist/src/poster/core/QTPosterImage.d.ts +1 -1
- package/dist/src/poster/core/QTPosterRipple.d.ts +3 -3
- package/dist/src/poster/core/QTPosterScore.d.ts +4 -4
- package/dist/src/poster/core/QTPosterTitle.d.ts +5 -5
- package/dist/src/poster/index.vue.d.ts +19 -16
- package/dist/src/progressbar/QTIProgressBar.d.ts +8 -8
- package/dist/src/progressbar/QTProgressBar.d.ts +1 -1
- package/dist/src/progressbar/QtProgressBarAPI.d.ts +12 -12
- package/dist/src/qrcode/QTIQRCode.d.ts +1 -1
- package/dist/src/qrcode/QTQRCodeView.d.ts +1 -1
- package/dist/src/qrcode/QtQRCodeAPI.d.ts +3 -3
- package/dist/src/qt/QtAPI.d.ts +67 -31
- package/dist/src/qtListen/index.d.ts +6 -4
- package/dist/src/qtListen/qtArray.d.ts +1 -0
- package/dist/src/qtListen/qtDiff.d.ts +1 -1
- package/dist/src/qtListen/ref.d.ts +30 -0
- package/dist/src/qtListen/types.d.ts +13 -2
- package/dist/src/qtListen/watch.d.ts +6 -1
- package/dist/src/replace-child/QTIReplaceChildView.d.ts +1 -1
- package/dist/src/replace-child/QTReplaceChildView.d.ts +1 -1
- package/dist/src/replace-child/QtReplaceChildViewAPI.d.ts +5 -5
- package/dist/src/row/QTIRow.d.ts +1 -1
- package/dist/src/row/QtRowAPI.d.ts +3 -3
- package/dist/src/scroll-view/QTIScrollView.d.ts +1 -1
- package/dist/src/scroll-view/QTScrollView.d.ts +1 -1
- package/dist/src/scroll-view/QtScrollViewAPI.d.ts +5 -5
- package/dist/src/section/index.vue.d.ts +11 -11
- package/dist/src/seekbar/QTISeekBar.d.ts +8 -8
- package/dist/src/seekbar/QTSeekBar.d.ts +1 -1
- package/dist/src/seekbar/QtSeekBarAPI.d.ts +12 -12
- package/dist/src/series/DataAdapter.d.ts +6 -6
- package/dist/src/series/QTIMediaSeries.d.ts +6 -6
- package/dist/src/series/QTMediaSeries.d.ts +2 -2
- package/dist/src/series/QTMediaSeriesData.d.ts +1 -1
- package/dist/src/series/QTMediaSeriesEvent.d.ts +1 -1
- package/dist/src/series/QTMediaSeriesGroup.d.ts +1 -1
- package/dist/src/series/QtMediaSeriesAPI.d.ts +8 -8
- package/dist/src/series/component/media-series.vue.d.ts +9 -9
- package/dist/src/series/index.vue.d.ts +26 -22
- package/dist/src/series/item/media-series-number-item.vue.d.ts +4 -4
- package/dist/src/series/item/media-series-text-item.vue.d.ts +4 -4
- package/dist/src/tab/QTITab.d.ts +9 -9
- package/dist/src/tab/QTTab.d.ts +1 -1
- package/dist/src/tab/QTTabDataManager.d.ts +8 -8
- package/dist/src/tab/QTTabEvent.d.ts +2 -2
- package/dist/src/tab/QTTabEventParams.d.ts +1 -1
- package/dist/src/tab/QTTabItem.d.ts +1 -1
- package/dist/src/tab/QTTabPage.d.ts +1 -1
- package/dist/src/tab/QTTabPageData.d.ts +1 -1
- package/dist/src/tab/QTTabPageDataState.d.ts +1 -1
- package/dist/src/tab/QtTabAPI.d.ts +11 -11
- package/dist/src/tab/index.vue.d.ts +99 -33
- package/dist/src/tab/useQtTabWatch.d.ts +3 -0
- package/dist/src/text/QTIText.d.ts +2 -2
- package/dist/src/text/QTTextSpan.d.ts +1 -1
- package/dist/src/text/QTTextSpanAttribute.d.ts +1 -1
- package/dist/src/text/QtTextAPI.d.ts +6 -6
- package/dist/src/text/index.vue.d.ts +12 -12
- package/dist/src/ul/QTIUL.d.ts +3 -3
- package/dist/src/ul/QTULInitPosition.d.ts +1 -1
- package/dist/src/ul/QtULAPI.d.ts +7 -7
- package/dist/src/utils/QtVirtualViewAPI.d.ts +1 -1
- package/dist/src/utils/functions.d.ts +1 -0
- package/dist/src/utils/index.d.ts +2 -0
- package/dist/src/utils/make-installer.d.ts +5 -0
- package/dist/src/utils/objects.d.ts +2 -0
- package/dist/src/utils/type.d.ts +1 -1
- package/dist/src/utils/types.d.ts +9 -0
- package/dist/src/utils/vue/index.d.ts +3 -0
- package/dist/src/utils/vue/install.d.ts +6 -0
- package/dist/src/utils/vue/props/index.d.ts +3 -0
- package/dist/src/utils/vue/props/runtime.d.ts +9 -0
- package/dist/src/utils/vue/props/types.d.ts +38 -0
- package/dist/src/utils/vue/props/util.d.ts +8 -0
- package/dist/src/utils/vue/typescript.d.ts +6 -0
- package/dist/src/view/QTIView.d.ts +1 -1
- package/dist/src/view/QtViewAPI.d.ts +3 -44
- package/dist/src/view/index.vue.d.ts +12 -12
- package/dist/src/waterfall/QtWaterfallAPI.d.ts +9 -9
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +4 -4
- package/dist/src/waterfall/core/QTWaterfall.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallCardItem.d.ts +2 -2
- package/dist/src/waterfall/core/QTWaterfallCardSection.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallDataManager.d.ts +3 -3
- package/dist/src/waterfall/core/QTWaterfallEvent.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallFlexStyle.d.ts +8 -8
- package/dist/src/waterfall/core/QTWaterfallItem.d.ts +2 -2
- package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +1 -1
- package/dist/src/waterfall/core/QTWaterfallSection.d.ts +5 -5
- package/dist/src/waterfall/core/QTWaterfallTabItem.d.ts +2 -2
- package/dist/src/waterfall/index.vue.d.ts +37 -24
- package/dist/src/waterfall/item/card-item.vue.d.ts +1 -1
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -12
- package/dist/src/waterfall/section/blank-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/card-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/end-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/flex-section.vue.d.ts +11 -8
- package/dist/src/waterfall/section/loading-section.vue.d.ts +1 -1
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +6 -6
- package/dist/src/waterfall/section/section-title.vue.d.ts +5 -5
- package/dist/src/waterfall/section/vue-section.vue.d.ts +5 -5
- package/dist/src/webview/QTIWebView.d.ts +31 -3
- package/dist/src/webview/QTWebView.d.ts +1 -1
- package/dist/src/webview/QTWebViewInterceptRule.d.ts +4 -0
- package/dist/src/webview/QTWebViewLayerType.d.ts +5 -0
- package/dist/src/webview/QTWebViewSniffingRule.d.ts +20 -0
- package/dist/src/webview/QtWebViewAPI.d.ts +35 -7
- package/dist/src/x5webview/QTIX5WebView.d.ts +36 -3
- package/dist/src/x5webview/QTX5WebView.d.ts +1 -1
- package/dist/src/x5webview/QTX5WebViewInterceptRule.d.ts +4 -0
- package/dist/src/x5webview/QTX5WebViewLayerType.d.ts +5 -0
- package/dist/src/x5webview/QTX5WebViewSniffingRule.d.ts +20 -0
- package/dist/src/x5webview/QtX5WebViewAPI.d.ts +37 -7
- package/package.json +5 -1
- package/web-types.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QTIListView } from
|
|
2
|
-
import { QTNavBar } from
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
import { QTIListView } from '../list-view/core/QTIListView';
|
|
2
|
+
import { QTNavBar } from './QTNavBar';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
textKey: {
|
|
5
5
|
type: StringConstructor;
|
|
6
6
|
default: string;
|
|
@@ -45,12 +45,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
}
|
|
49
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams
|
|
50
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
51
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
48
|
+
}>, {
|
|
49
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
50
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
51
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
52
52
|
clearFocus: () => void;
|
|
53
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
53
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
54
54
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
55
55
|
requestRootLayout: () => void;
|
|
56
56
|
requestLayout: () => void;
|
|
@@ -66,11 +66,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
66
|
setPosition: (x: number, y: number, z: number) => void;
|
|
67
67
|
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
68
68
|
invalidate: () => void;
|
|
69
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
70
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
71
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
72
|
-
setInitFocus: (sid: string, delay?: number
|
|
73
|
-
setAutoFocus: (sid: string, delay?: number
|
|
69
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
70
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
71
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
72
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
73
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
74
74
|
enabledAutofocus: (autofocus: boolean) => void;
|
|
75
75
|
requestAutofocus: () => void;
|
|
76
76
|
hasFocus: () => Promise<boolean>;
|
|
@@ -81,8 +81,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
requestChildFocusAtIndex: (position: number) => void;
|
|
82
82
|
clearMemoryFocused: () => void;
|
|
83
83
|
showDialog: (show: boolean) => void;
|
|
84
|
-
navList: import("vue").Ref<QTIListView | undefined>;
|
|
85
|
-
focusColor: import("vue").Ref<string>;
|
|
84
|
+
navList: import("vue").Ref<QTIListView | undefined, QTIListView | undefined>;
|
|
85
|
+
focusColor: import("vue").Ref<string, string>;
|
|
86
86
|
textColor: {
|
|
87
87
|
normal: string;
|
|
88
88
|
focused: string;
|
|
@@ -94,7 +94,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
scrollToPosition: (index: any) => void;
|
|
95
95
|
scrollToTop: () => void;
|
|
96
96
|
init: (navBar: QTNavBar) => void;
|
|
97
|
-
},
|
|
97
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
98
|
textKey: {
|
|
99
99
|
type: StringConstructor;
|
|
100
100
|
default: string;
|
|
@@ -139,7 +139,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
139
|
type: BooleanConstructor;
|
|
140
140
|
default: boolean;
|
|
141
141
|
};
|
|
142
|
-
}
|
|
142
|
+
}>> & Readonly<{}>, {
|
|
143
143
|
textKey: string;
|
|
144
144
|
itemGap: number;
|
|
145
145
|
horizontal: boolean;
|
|
@@ -151,5 +151,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
151
151
|
verticalFadingEdgeEnabled: boolean;
|
|
152
152
|
fadingEdgeLength: number;
|
|
153
153
|
tabEnable: boolean;
|
|
154
|
-
}, {}>;
|
|
154
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
155
155
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export interface QtPluginViewAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTIPluginView } from './QTIPluginView';
|
|
3
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
4
|
+
export interface QtPluginViewAPI extends QtBaseViewAPI {
|
|
5
5
|
dispatchFunction(instance: string | Ref<QTIPluginView | undefined>, funName: string, params: Array<any>): Promise<any>;
|
|
6
6
|
}
|
|
7
|
-
export declare function createQtPluginViewAPI(viewAPI:
|
|
7
|
+
export declare function createQtPluginViewAPI(viewAPI: QtBaseViewAPI): QtPluginViewAPI;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface QtPosterAPI extends
|
|
1
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
2
|
+
export interface QtPosterAPI extends QtBaseViewAPI {
|
|
3
3
|
}
|
|
4
|
-
export declare function createQtPosterAPI(viewAPI:
|
|
4
|
+
export declare function createQtPosterAPI(viewAPI: QtBaseViewAPI): QtPosterAPI;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { QTWaterfallItem } from
|
|
2
|
-
import { QTPosterShadow } from
|
|
3
|
-
import { QTPosterShimmer } from
|
|
4
|
-
import { QTPosterTitle } from
|
|
5
|
-
import { QTPosterRipple } from
|
|
6
|
-
import { QTPosterCorner } from
|
|
7
|
-
import { QTPosterImage } from
|
|
8
|
-
import { QTFlexStyleMargin } from
|
|
9
|
-
import { QTFlexStylePadding } from
|
|
10
|
-
import { QTFlexStyleSize } from
|
|
11
|
-
import { QTPosterScore } from
|
|
12
|
-
import { QTFocusable } from
|
|
13
|
-
import { QTPosterPlaceholderImg } from
|
|
1
|
+
import { QTWaterfallItem } from '../../waterfall/core/QTWaterfallItem';
|
|
2
|
+
import { QTPosterShadow } from './QTPosterShadow';
|
|
3
|
+
import { QTPosterShimmer } from './QTPosterShimmer';
|
|
4
|
+
import { QTPosterTitle } from './QTPosterTitle';
|
|
5
|
+
import { QTPosterRipple } from './QTPosterRipple';
|
|
6
|
+
import { QTPosterCorner } from './QTPosterCorner';
|
|
7
|
+
import { QTPosterImage } from './QTPosterImage';
|
|
8
|
+
import { QTFlexStyleMargin } from '../../core/QTFlexStyleMargin';
|
|
9
|
+
import { QTFlexStylePadding } from '../../core/QTFlexStylePadding';
|
|
10
|
+
import { QTFlexStyleSize } from '../../core/QTFlexStyleSize';
|
|
11
|
+
import { QTPosterScore } from './QTPosterScore';
|
|
12
|
+
import { QTFocusable } from '../../core/QTFocusable';
|
|
13
|
+
import { QTPosterPlaceholderImg } from './QTPosterPlaceholderImg';
|
|
14
14
|
export interface QTPoster extends QTWaterfallItem {
|
|
15
15
|
focus?: QTFocusable;
|
|
16
16
|
image?: QTPosterImage;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QTPosterElement } from
|
|
2
|
-
import { ESGradient } from
|
|
1
|
+
import { QTPosterElement } from './QTPosterElement';
|
|
2
|
+
import { ESGradient } from '@extscreen/es3-component';
|
|
3
3
|
export interface QTPosterCorner extends QTPosterElement {
|
|
4
4
|
text: string;
|
|
5
5
|
background?: ESGradient;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QTFlexStyleMargin } from
|
|
2
|
-
import { QTFlexStylePadding } from
|
|
3
|
-
import { QTFlexStylePosition } from
|
|
1
|
+
import { QTFlexStyleMargin } from '../../core/QTFlexStyleMargin';
|
|
2
|
+
import { QTFlexStylePadding } from '../../core/QTFlexStylePadding';
|
|
3
|
+
import { QTFlexStylePosition } from '../../core/QTFlexStylePosition';
|
|
4
4
|
export interface QTPosterRipple {
|
|
5
5
|
enable: boolean;
|
|
6
6
|
src?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { QTFlexStyleMargin } from
|
|
2
|
-
import { QTFlexStylePadding } from
|
|
3
|
-
import { QTFlexStyleSize } from
|
|
4
|
-
import { QTFlexStyleText } from
|
|
1
|
+
import { QTFlexStyleMargin } from '../../core/QTFlexStyleMargin';
|
|
2
|
+
import { QTFlexStylePadding } from '../../core/QTFlexStylePadding';
|
|
3
|
+
import { QTFlexStyleSize } from '../../core/QTFlexStyleSize';
|
|
4
|
+
import { QTFlexStyleText } from '../../core/QTFlexStyleText';
|
|
5
5
|
export interface QTPosterScore {
|
|
6
6
|
text: string;
|
|
7
7
|
style?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize & QTFlexStyleText;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { QTFlexStyleMargin } from
|
|
2
|
-
import { QTFlexStylePadding } from
|
|
3
|
-
import { QTFlexStyleSize } from
|
|
4
|
-
import { ESGradient } from
|
|
5
|
-
import { QTFlexStyleText } from
|
|
1
|
+
import { QTFlexStyleMargin } from '../../core/QTFlexStyleMargin';
|
|
2
|
+
import { QTFlexStylePadding } from '../../core/QTFlexStylePadding';
|
|
3
|
+
import { QTFlexStyleSize } from '../../core/QTFlexStyleSize';
|
|
4
|
+
import { ESGradient } from '@extscreen/es3-component';
|
|
5
|
+
import { QTFlexStyleText } from '../../core/QTFlexStyleText';
|
|
6
6
|
export interface QTPosterTitle {
|
|
7
7
|
text: string;
|
|
8
8
|
focusTitle?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
requestFirstFocus: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -39,12 +39,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
type: ArrayConstructor;
|
|
40
40
|
default: () => string[];
|
|
41
41
|
};
|
|
42
|
-
}
|
|
43
|
-
dispatchFunctionBySid: (sid: string, funcName: string, args: import("..").QTNativeParams
|
|
44
|
-
requestFocus: (direction?: import("..").QTFocusDirection
|
|
45
|
-
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection
|
|
42
|
+
}>, {
|
|
43
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: Array<import("..").QTNativeParams>) => void;
|
|
44
|
+
requestFocus: (direction?: import("..").QTFocusDirection) => void;
|
|
45
|
+
requestChildFocus: (position: number, direction?: import("..").QTFocusDirection) => void;
|
|
46
46
|
clearFocus: () => void;
|
|
47
|
-
requestFocusDirectly: (direction?: import("..").QTFocusDirection
|
|
47
|
+
requestFocusDirectly: (direction?: import("..").QTFocusDirection) => void;
|
|
48
48
|
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
49
49
|
requestRootLayout: () => void;
|
|
50
50
|
requestLayout: () => void;
|
|
@@ -60,11 +60,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
setPosition: (x: number, y: number, z: number) => void;
|
|
61
61
|
updateLayout: (width: number, height: number, x: number, y: number) => void;
|
|
62
62
|
invalidate: () => void;
|
|
63
|
-
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: import("..").QTNativeParams
|
|
64
|
-
setBlockFocusDirections: (directionList: import("..").QTFocusDirectionName
|
|
65
|
-
setBlockFocusDirectionsOnFail: (directionList: import("..").QTFocusDirectionName
|
|
66
|
-
setInitFocus: (sid: string, delay?: number
|
|
67
|
-
setAutoFocus: (sid: string, delay?: number
|
|
63
|
+
dispatchFunctionForTarget: (targetName: string, functionTargetName: string, params: Array<import("..").QTNativeParams>, delay: number) => void;
|
|
64
|
+
setBlockFocusDirections: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
65
|
+
setBlockFocusDirectionsOnFail: (directionList: Array<import("..").QTFocusDirectionName>) => void;
|
|
66
|
+
setInitFocus: (sid: string, delay?: number) => void;
|
|
67
|
+
setAutoFocus: (sid: string, delay?: number) => void;
|
|
68
68
|
enabledAutofocus: (autofocus: boolean) => void;
|
|
69
69
|
requestAutofocus: () => void;
|
|
70
70
|
hasFocus: () => Promise<boolean>;
|
|
@@ -76,8 +76,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
clearMemoryFocused: () => void;
|
|
77
77
|
showDialog: (show: boolean) => void;
|
|
78
78
|
mainTextShowOnState: string[];
|
|
79
|
-
viewRef: import("vue").Ref<any>;
|
|
80
|
-
},
|
|
79
|
+
viewRef: import("vue").Ref<any, any>;
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
81
|
requestFirstFocus: {
|
|
82
82
|
type: BooleanConstructor;
|
|
83
83
|
default: boolean;
|
|
@@ -118,13 +118,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
118
|
type: ArrayConstructor;
|
|
119
119
|
default: () => string[];
|
|
120
120
|
};
|
|
121
|
-
}
|
|
121
|
+
}>> & Readonly<{}>, {
|
|
122
122
|
requestFirstFocus: boolean;
|
|
123
|
-
loadDelay: number;
|
|
124
123
|
type: number;
|
|
124
|
+
loadDelay: number;
|
|
125
125
|
templateKeyMap: Record<string, any>;
|
|
126
126
|
borderRadius: number;
|
|
127
127
|
rippleColor: string;
|
|
128
128
|
floatTitleBgColor: unknown[];
|
|
129
|
-
}, {}
|
|
129
|
+
}, {}, {
|
|
130
|
+
'qt-poster-corner-title': import("vue").DefineComponent<{}, {}, any>;
|
|
131
|
+
'qt-poster-focus-title': import("vue").DefineComponent<{}, {}, any>;
|
|
132
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
130
133
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ESGradient } from
|
|
2
|
-
import { QTSeekBarMode } from
|
|
3
|
-
import { QTSeekBarGravity } from
|
|
4
|
-
import { QTSeekBarIndicatorMode } from
|
|
5
|
-
import { QTSeekBarTickMarkMode } from
|
|
6
|
-
import { QTSeekBarTickMarkGravity } from
|
|
7
|
-
import { QTSeekBarTickMarkLayoutGravity } from
|
|
8
|
-
import { QTIView } from
|
|
1
|
+
import { ESGradient } from '@extscreen/es3-component';
|
|
2
|
+
import { QTSeekBarMode } from '../seekbar/QTSeekBarMode';
|
|
3
|
+
import { QTSeekBarGravity } from '../seekbar/QTSeekBarGravity';
|
|
4
|
+
import { QTSeekBarIndicatorMode } from '../seekbar/QTSeekBarIndicatorMode';
|
|
5
|
+
import { QTSeekBarTickMarkMode } from '../seekbar/QTSeekBarTickMarkMode';
|
|
6
|
+
import { QTSeekBarTickMarkGravity } from '../seekbar/QTSeekBarTickMarkGravity';
|
|
7
|
+
import { QTSeekBarTickMarkLayoutGravity } from '../seekbar/QTSeekBarTickMarkLayoutGravity';
|
|
8
|
+
import { QTIView } from '../view/QTIView';
|
|
9
9
|
export interface QTIProgressBar extends QTIView {
|
|
10
10
|
invalidateProgressBar(): void;
|
|
11
11
|
setFocusable(focusable: boolean): void;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export interface QtProgressBarAPI extends
|
|
1
|
+
import { Ref } from '@vue/reactivity';
|
|
2
|
+
import { QTSeekBarMode } from '../seekbar/QTSeekBarMode';
|
|
3
|
+
import { QTSeekBarGravity } from '../seekbar/QTSeekBarGravity';
|
|
4
|
+
import { ESGradient } from '@extscreen/es3-component';
|
|
5
|
+
import { QTSeekBarIndicatorMode } from '../seekbar/QTSeekBarIndicatorMode';
|
|
6
|
+
import { QTSeekBarTickMarkMode } from '../seekbar/QTSeekBarTickMarkMode';
|
|
7
|
+
import { QTSeekBarTickMarkGravity } from '../seekbar/QTSeekBarTickMarkGravity';
|
|
8
|
+
import { QTSeekBarTickMarkLayoutGravity } from '../seekbar/QTSeekBarTickMarkLayoutGravity';
|
|
9
|
+
import { QTIProgressBar } from './QTIProgressBar';
|
|
10
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
11
|
+
export interface QtProgressBarAPI extends QtBaseViewAPI {
|
|
12
12
|
invalidateProgressBar(instance: string | Ref<QTIProgressBar | undefined>): void;
|
|
13
13
|
setFocusable(instance: string | Ref<QTIProgressBar | undefined>, focusable: boolean): void;
|
|
14
14
|
setClickable(instance: string | Ref<QTIProgressBar | undefined>, clickable: boolean): void;
|
|
@@ -136,4 +136,4 @@ export interface QtProgressBarAPI extends QtViewAPI {
|
|
|
136
136
|
setStepsDrawable(instance: string | Ref<QTIProgressBar | undefined>, drawableArray: Array<ESGradient>): void;
|
|
137
137
|
setStepsUrl(instance: string | Ref<QTIProgressBar | undefined>, urlArray: Array<string>): void;
|
|
138
138
|
}
|
|
139
|
-
export declare function createQtProgressBarAPI(viewAPI:
|
|
139
|
+
export declare function createQtProgressBarAPI(viewAPI: QtBaseViewAPI): QtProgressBarAPI;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface QtQRCodeAPI extends
|
|
1
|
+
import { QtBaseViewAPI } from '../base/QtBaseViewAPI';
|
|
2
|
+
export interface QtQRCodeAPI extends QtBaseViewAPI {
|
|
3
3
|
}
|
|
4
|
-
export declare function createQtQRCodeAPI(viewAPI:
|
|
4
|
+
export declare function createQtQRCodeAPI(viewAPI: QtBaseViewAPI): QtQRCodeAPI;
|
package/dist/src/qt/QtAPI.d.ts
CHANGED
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
import { QtViewAPI } from
|
|
2
|
-
import { QtWebViewAPI } from
|
|
3
|
-
import { QtListViewAPI } from
|
|
4
|
-
import { QtGridViewAPI } from
|
|
5
|
-
import { QtWaterfallAPI } from
|
|
6
|
-
import { QtImageAPI } from
|
|
7
|
-
import { QtULAPI } from
|
|
8
|
-
import { QtScrollViewAPI } from
|
|
9
|
-
import { QtTextAPI } from
|
|
10
|
-
import { QtReplaceChildViewAPI } from
|
|
11
|
-
import { QtAnimationAPI } from
|
|
12
|
-
import { QtAppIconAPI } from
|
|
13
|
-
import { QtClassifiedListViewAPI } from
|
|
14
|
-
import { QtCollapseAPI } from
|
|
15
|
-
import { QtListItemAPI } from
|
|
16
|
-
import { QtLottieViewAPI } from
|
|
17
|
-
import { QtNavBarAPI } from
|
|
18
|
-
import { QtPluginViewAPI } from
|
|
19
|
-
import { QtProgressBarAPI } from
|
|
20
|
-
import { QtSeekBarAPI } from
|
|
21
|
-
import { QtMediaSeriesAPI } from
|
|
22
|
-
import { QtTabAPI } from
|
|
23
|
-
import { QtX5WebViewAPI } from
|
|
24
|
-
import { QtButtonAPI } from
|
|
25
|
-
import { QtColumnAPI } from
|
|
26
|
-
import { QtLoadingAPI } from
|
|
27
|
-
import { QtPosterAPI } from
|
|
28
|
-
import { QtQRCodeAPI } from
|
|
29
|
-
import { QtRowAPI } from
|
|
30
|
-
import { QtVirtualViewAPI } from
|
|
31
|
-
import { QtIndicatorViewAPI } from
|
|
1
|
+
import { QtViewAPI } from '../view/QtViewAPI';
|
|
2
|
+
import { QtWebViewAPI } from '../webview/QtWebViewAPI';
|
|
3
|
+
import { QtListViewAPI } from '../list-view/QtListViewAPI';
|
|
4
|
+
import { QtGridViewAPI } from '../grid-view/QtGridViewAPI';
|
|
5
|
+
import { QtWaterfallAPI } from '../waterfall/QtWaterfallAPI';
|
|
6
|
+
import { QtImageAPI } from '../image/QtImageAPI';
|
|
7
|
+
import { QtULAPI } from '../ul/QtULAPI';
|
|
8
|
+
import { QtScrollViewAPI } from '../scroll-view/QtScrollViewAPI';
|
|
9
|
+
import { QtTextAPI } from '../text/QtTextAPI';
|
|
10
|
+
import { QtReplaceChildViewAPI } from '../replace-child/QtReplaceChildViewAPI';
|
|
11
|
+
import { QtAnimationAPI } from '../animation/QtAnimationAPI';
|
|
12
|
+
import { QtAppIconAPI } from '../app/QtAppIconAPI';
|
|
13
|
+
import { QtClassifiedListViewAPI } from '../classified-list-view/QtClassifiedListViewAPI';
|
|
14
|
+
import { QtCollapseAPI } from '../collapse/QtCollapseAPI';
|
|
15
|
+
import { QtListItemAPI } from '../list-item/QtListItemAPI';
|
|
16
|
+
import { QtLottieViewAPI } from '../lottie/QtLottieViewAPI';
|
|
17
|
+
import { QtNavBarAPI } from '../nav-bar/QtNavBarAPI';
|
|
18
|
+
import { QtPluginViewAPI } from '../plugin/QtPluginViewAPI';
|
|
19
|
+
import { QtProgressBarAPI } from '../progressbar/QtProgressBarAPI';
|
|
20
|
+
import { QtSeekBarAPI } from '../seekbar/QtSeekBarAPI';
|
|
21
|
+
import { QtMediaSeriesAPI } from '../series/QtMediaSeriesAPI';
|
|
22
|
+
import { QtTabAPI } from '../tab/QtTabAPI';
|
|
23
|
+
import { QtX5WebViewAPI } from '../x5webview/QtX5WebViewAPI';
|
|
24
|
+
import { QtButtonAPI } from '../button/QtButtonAPI';
|
|
25
|
+
import { QtColumnAPI } from '../column/QtColumnAPI';
|
|
26
|
+
import { QtLoadingAPI } from '../loading/QtLoadingAPI';
|
|
27
|
+
import { QtPosterAPI } from '../poster/QtPosterAPI';
|
|
28
|
+
import { QtQRCodeAPI } from '../qrcode/QtQRCodeAPI';
|
|
29
|
+
import { QtRowAPI } from '../row/QtRowAPI';
|
|
30
|
+
import { QtVirtualViewAPI } from '../utils/QtVirtualViewAPI';
|
|
31
|
+
import { QtIndicatorViewAPI } from '../list-indicator/QtIndicatorViewAPI';
|
|
32
|
+
import { ES, ESActionBar, ESAppList, ESAudio, ESBrightness, ESBroadcast, ESContentProvider, ESDevelop, ESDevice, ESDisplay, ESDownload, ESEventBus, ESFocus, ESIAC, ESLocalStorage, ESLocation, ESLog, ESLogUpload, ESNetwork, ESPermission, ESPlugin, ESPower, ESRuntime, ESService, ESShareData, ESToast, ESUpload, ESUsbDevice, ESXLog } from '@extscreen/es3-core';
|
|
33
|
+
import { QtLongImageAPI } from '../long-image/QtLongImageAPI';
|
|
32
34
|
export interface QtAPI {
|
|
35
|
+
div: QtViewAPI;
|
|
36
|
+
img: QtViewAPI;
|
|
37
|
+
li: QtViewAPI;
|
|
38
|
+
p: QtViewAPI;
|
|
33
39
|
view: QtViewAPI;
|
|
34
40
|
webView: QtWebViewAPI;
|
|
35
41
|
listView: QtListViewAPI;
|
|
@@ -56,10 +62,40 @@ export interface QtAPI {
|
|
|
56
62
|
button: QtButtonAPI;
|
|
57
63
|
column: QtColumnAPI;
|
|
58
64
|
loading: QtLoadingAPI;
|
|
65
|
+
longImage: QtLongImageAPI;
|
|
59
66
|
poster: QtPosterAPI;
|
|
60
67
|
qrCode: QtQRCodeAPI;
|
|
61
68
|
row: QtRowAPI;
|
|
62
69
|
virtualView: QtVirtualViewAPI;
|
|
63
70
|
indicator: QtIndicatorViewAPI;
|
|
71
|
+
log: ESLog;
|
|
72
|
+
es: ES;
|
|
73
|
+
develop: ESDevelop;
|
|
74
|
+
toast: ESToast;
|
|
75
|
+
storage: ESLocalStorage;
|
|
76
|
+
device: ESDevice;
|
|
77
|
+
display: ESDisplay;
|
|
78
|
+
network: ESNetwork;
|
|
79
|
+
appList: ESAppList;
|
|
80
|
+
power: ESPower;
|
|
81
|
+
permission: ESPermission;
|
|
82
|
+
usbDevice: ESUsbDevice;
|
|
83
|
+
broadcast: ESBroadcast;
|
|
84
|
+
audio: ESAudio;
|
|
85
|
+
shareData: ESShareData;
|
|
86
|
+
runtime: ESRuntime;
|
|
87
|
+
plugin: ESPlugin;
|
|
88
|
+
download: ESDownload;
|
|
89
|
+
upload: ESUpload;
|
|
90
|
+
actionBar: ESActionBar;
|
|
91
|
+
iac: ESIAC;
|
|
92
|
+
location: ESLocation;
|
|
93
|
+
focus: ESFocus;
|
|
94
|
+
provider: ESContentProvider;
|
|
95
|
+
eventBus: ESEventBus;
|
|
96
|
+
xlog: ESXLog;
|
|
97
|
+
logUpload: ESLogUpload;
|
|
98
|
+
brightness: ESBrightness;
|
|
99
|
+
service: ESService;
|
|
64
100
|
}
|
|
65
101
|
export declare function createQtAPI(): QtAPI;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
export { qtEffect } from
|
|
2
|
-
export { qtGetParent } from
|
|
3
|
-
export { qtRef } from
|
|
1
|
+
export { qtEffect } from './effect';
|
|
2
|
+
export { qtGetParent } from './reactive';
|
|
3
|
+
export { qtRef, qtRefObject, qtTabsRef } from './ref';
|
|
4
|
+
export type { IQtTabDatas } from './ref';
|
|
4
5
|
export { qtWatchAll } from './watch';
|
|
5
|
-
export { qtLongestSequenceSplit, qtFilterChangeMap } from './types';
|
|
6
|
+
export { qtLongestSequenceSplit, qtFilterChangeMap, parseChildUpdate } from './types';
|
|
7
|
+
export { qtDiff } from './qtDiff';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { IQtWatchOptions } from './watch';
|
|
2
|
-
export declare const qtDiff: (oldt: any[], newt: any[], options: IQtWatchOptions) => void;
|
|
2
|
+
export declare const qtDiff: (oldt: any[], newt: any[], options: Pick<IQtWatchOptions, "update" | "insert" | "delete" | "add">) => void;
|
|
@@ -3,3 +3,33 @@ export interface IQtRef<T = any> {
|
|
|
3
3
|
[k: string]: any;
|
|
4
4
|
}
|
|
5
5
|
export declare function qtRef<T extends Array<any>>(value?: T): IQtRef<T>;
|
|
6
|
+
export declare function qtRefObject<T extends object>(value?: T): IQtRef<T>;
|
|
7
|
+
export interface IQtTabDatas {
|
|
8
|
+
_id: string;
|
|
9
|
+
type: number;
|
|
10
|
+
text: string;
|
|
11
|
+
titleSize: number;
|
|
12
|
+
decoration: {
|
|
13
|
+
left: number;
|
|
14
|
+
right: number;
|
|
15
|
+
};
|
|
16
|
+
useDiff?: boolean;
|
|
17
|
+
disableScrollOnFirstScreen?: boolean;
|
|
18
|
+
firstFocusTargetID?: string;
|
|
19
|
+
bindingPlayer?: string;
|
|
20
|
+
content: Array<{
|
|
21
|
+
title?: string;
|
|
22
|
+
titleStyle?: any;
|
|
23
|
+
itemList: Array<{
|
|
24
|
+
style: any;
|
|
25
|
+
[prop: string]: any;
|
|
26
|
+
}>;
|
|
27
|
+
style: any;
|
|
28
|
+
placeholder?: {
|
|
29
|
+
enable: boolean;
|
|
30
|
+
};
|
|
31
|
+
[k: string]: any;
|
|
32
|
+
}>;
|
|
33
|
+
[k: string]: any;
|
|
34
|
+
}
|
|
35
|
+
export declare function qtTabsRef(value?: Array<IQtTabDatas>): IQtRef<Array<IQtTabDatas>>;
|
|
@@ -25,9 +25,19 @@ export declare const typeEnum: {
|
|
|
25
25
|
shift: string;
|
|
26
26
|
unshift: string;
|
|
27
27
|
newDatas: string;
|
|
28
|
+
arrChangeProp: string;
|
|
28
29
|
};
|
|
29
30
|
export declare const qtFilterChangeMap: (deth: number | undefined, datas: Map<any, any>) => Map<any, any>;
|
|
30
31
|
export declare const qtLongestSequenceSplit: (maps: QtChangeData) => Map<any, QtChangeData>;
|
|
32
|
+
interface IparseChildUpdateRef {
|
|
33
|
+
isArr: boolean;
|
|
34
|
+
arrDeeps: number[];
|
|
35
|
+
oldData: any;
|
|
36
|
+
newData: any;
|
|
37
|
+
ouData: any;
|
|
38
|
+
k: any;
|
|
39
|
+
}
|
|
40
|
+
export declare const parseChildUpdate: (changeData: QtChangeData, orData: any, exFn: (res: IparseChildUpdateRef) => void) => void;
|
|
31
41
|
declare class QtType {
|
|
32
42
|
private targetFlags;
|
|
33
43
|
private targetMaps;
|
|
@@ -36,10 +46,11 @@ declare class QtType {
|
|
|
36
46
|
getType(target: any): Map<any, QtChangeData> | undefined;
|
|
37
47
|
setType(target: any, type: string, datas: QtChangeData): void;
|
|
38
48
|
deleteType(target: any, type?: string): void;
|
|
49
|
+
clear(): void;
|
|
39
50
|
changeTypeData(target: any, prop: any, value: any): boolean;
|
|
40
51
|
changeOfsetType(target: any, prop: any, value: any, name?: any, deth?: number): void;
|
|
41
|
-
|
|
42
|
-
|
|
52
|
+
recordArrChangeProps(target: any, start: number, end: number): void;
|
|
53
|
+
checkArrChangeProps(target: any, prop: any): boolean;
|
|
43
54
|
}
|
|
44
55
|
declare const qtType: QtType;
|
|
45
56
|
export default qtType;
|
|
@@ -9,7 +9,12 @@ export interface IQtWatchOptions {
|
|
|
9
9
|
resetValue?: (datas: any[]) => void;
|
|
10
10
|
[k: string]: any;
|
|
11
11
|
}
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const qtRefUid: {
|
|
13
|
+
pointer: number;
|
|
14
|
+
createUid(key?: string): string;
|
|
15
|
+
addUid(data: any, uk?: string): any;
|
|
16
|
+
addUidBatch(arr: any[], uk?: string): void;
|
|
17
|
+
};
|
|
13
18
|
export declare const qtCloneObj: (target: object, isKey?: boolean) => any;
|
|
14
19
|
export declare function qtWatchAll(target: any, options: IQtWatchOptions): {
|
|
15
20
|
stop(): void;
|