@quicktvui/quicktvui3 1.0.96 → 1.0.98
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 +124 -21
- package/dist/index.js +2 -2
- package/dist/src/animation/QTIAnimation.d.ts +2 -1
- package/dist/src/base/QTIBaseView.d.ts +9 -0
- package/dist/src/base/useBaseView.d.ts +10 -0
- package/dist/src/button/QTIButton.d.ts +3 -0
- package/dist/src/button/index.vue.d.ts +5 -1
- package/dist/src/classified-list-view/core/{QTClassifiedListView.d.ts → QTIClassifiedListView.d.ts} +2 -1
- package/dist/src/classified-list-view/index.vue.d.ts +6 -0
- package/dist/src/collapse/core/QTICollapse.d.ts +2 -1
- package/dist/src/collapse/core/QTICollapseItem.d.ts +2 -1
- package/dist/src/collapse/index.vue.d.ts +6 -0
- package/dist/src/column/QTIColumn.d.ts +3 -0
- package/dist/src/dialog/QTIDialog.d.ts +3 -0
- package/dist/src/grid-view/core/{QTGridView.d.ts → QTIGridView.d.ts} +2 -2
- package/dist/src/grid-view/index.vue.d.ts +3 -0
- package/dist/src/image/QTIImage.d.ts +3 -0
- package/dist/src/image/index.vue.d.ts +8 -1
- package/dist/src/index.d.ts +12 -3
- package/dist/src/list-view/core/QTIListView.d.ts +2 -2
- package/dist/src/loading/QTILoadingView.d.ts +3 -0
- package/dist/src/lottie/QTILottieView.d.ts +2 -1
- package/dist/src/nav-bar/QTINavBar.d.ts +2 -2
- package/dist/src/nav-bar/index.vue.d.ts +5 -0
- package/dist/src/poster/core/QTIPoster.d.ts +3 -0
- package/dist/src/poster/index.vue.d.ts +8 -2
- package/dist/src/progressbar/QTIProgressBar.d.ts +2 -1
- package/dist/src/qrcode/QTIQRCode.d.ts +3 -0
- package/dist/src/row/QTIRow.d.ts +3 -0
- package/dist/src/section/index.vue.d.ts +8 -2
- package/dist/src/seekbar/QTISeekBar.d.ts +2 -1
- package/dist/src/series/QTIMediaSeries.d.ts +2 -2
- package/dist/src/series/index.vue.d.ts +3 -0
- package/dist/src/tab/QTITab.d.ts +3 -2
- package/dist/src/tab/index.vue.d.ts +5 -0
- package/dist/src/text/QTIText.d.ts +3 -0
- package/dist/src/text/index.vue.d.ts +8 -1
- package/dist/src/view/QTIView.d.ts +2 -7
- package/dist/src/view/index.vue.d.ts +3 -3
- package/dist/src/waterfall/core/QTIWaterfall.d.ts +2 -2
- package/dist/src/waterfall/index.vue.d.ts +5 -0
- package/dist/src/webview/QTIWebView.d.ts +2 -1
- package/dist/src/x5webview/QTIX5WebView.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from "./types";
|
|
2
|
-
|
|
2
|
+
import { QTIView } from "../view/QTIView";
|
|
3
|
+
export interface QTIAnimation extends QTIView {
|
|
3
4
|
setPivotX(pivotX: number): any;
|
|
4
5
|
setPivotY(pivotY: number): any;
|
|
5
6
|
resetPivot(): any;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ESIView } from "@extscreen/es3-component";
|
|
2
|
+
import { QTIViewVisibility } from "../view/QTIViewVisibility";
|
|
3
|
+
export interface QTIBaseView extends ESIView {
|
|
4
|
+
requestFocus(): void;
|
|
5
|
+
clearFocus(): void;
|
|
6
|
+
requestFocusDirectly(): void;
|
|
7
|
+
setVisibility(visibility: QTIViewVisibility): void;
|
|
8
|
+
dispatchFunctionBySid(funcName: string, ...args: any[]): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QTIViewVisibility } from "../view/QTIViewVisibility";
|
|
2
|
+
import { Ref } from "@vue/reactivity";
|
|
3
|
+
import { ESIView } from "@extscreen/es3-component";
|
|
4
|
+
export default function (viewRef: Ref<ESIView | undefined>): {
|
|
5
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
6
|
+
requestFocus: () => void;
|
|
7
|
+
clearFocus: () => void;
|
|
8
|
+
requestFocusDirectly: () => void;
|
|
9
|
+
setVisibility: (v: QTIViewVisibility) => void;
|
|
10
|
+
};
|
|
@@ -57,9 +57,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
57
|
focusIconStyle: ObjectConstructor;
|
|
58
58
|
iconParentStyle: ObjectConstructor;
|
|
59
59
|
}, {
|
|
60
|
-
|
|
60
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
61
61
|
requestFocus: () => void;
|
|
62
|
+
clearFocus: () => void;
|
|
62
63
|
requestFocusDirectly: () => void;
|
|
64
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
65
|
+
buttonRef: import("vue").Ref<any>;
|
|
66
|
+
focused: import("vue").Ref<boolean>;
|
|
63
67
|
onFocus: (e: any) => void;
|
|
64
68
|
onClick: (e: any) => void;
|
|
65
69
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "click")[], "focus" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
package/dist/src/classified-list-view/core/{QTClassifiedListView.d.ts → QTIClassifiedListView.d.ts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { QTClassifiedListViewItem } from "./QTClassifiedListViewItem";
|
|
2
|
-
|
|
2
|
+
import { QTIView } from "../../view/QTIView";
|
|
3
|
+
export interface QTIClassifiedListView extends QTIView {
|
|
3
4
|
init(itemList: Array<QTClassifiedListViewItem>): void;
|
|
4
5
|
scrollToIndex(index: number, anim: Boolean, offset: number): void;
|
|
5
6
|
setItemFocused(index: number): void;
|
|
@@ -26,6 +26,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: number;
|
|
27
27
|
};
|
|
28
28
|
}, {
|
|
29
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
30
|
+
requestFocus: () => void;
|
|
31
|
+
clearFocus: () => void;
|
|
32
|
+
requestFocusDirectly: () => void;
|
|
33
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
29
34
|
descendantFocusability: import("vue").Ref<number>;
|
|
30
35
|
content_list_view: import("vue").Ref<QTIListView | undefined>;
|
|
31
36
|
nav_list_view: import("vue").Ref<QTIListView | undefined>;
|
|
@@ -41,6 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
46
|
onSItemFocused: (e: any) => void;
|
|
42
47
|
onFItemFocused: (e: any) => void;
|
|
43
48
|
updateItem: (position: number, data: QTClassifiedListViewItem) => void;
|
|
49
|
+
viewRef: import("vue").Ref<any>;
|
|
44
50
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "item-focused")[], "item-click" | "item-focused", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
51
|
className: {
|
|
46
52
|
type: StringConstructor;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QTICollapseItem } from "./QTICollapseItem";
|
|
2
2
|
import { QTCollapse } from "./QTCollapse";
|
|
3
|
-
|
|
3
|
+
import { QTIView } from "../../view/QTIView";
|
|
4
|
+
export interface QTICollapse extends QTIView {
|
|
4
5
|
init(collapse: QTCollapse): void;
|
|
5
6
|
getItem(index: number): QTICollapseItem;
|
|
6
7
|
expandItem(index: number): void;
|
|
@@ -2,6 +2,11 @@ import { QTICollapseItem } from "./core/QTICollapseItem";
|
|
|
2
2
|
import { QTCollapse } from "./core/QTCollapse";
|
|
3
3
|
import { QTIAnimation } from "../animation/QTIAnimation";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
5
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
6
|
+
requestFocus: () => void;
|
|
7
|
+
clearFocus: () => void;
|
|
8
|
+
requestFocusDirectly: () => void;
|
|
9
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
5
10
|
collapseItemComponentList: import("vue").Ref<any>;
|
|
6
11
|
initComponentRef: (el: QTICollapseItem, item: {
|
|
7
12
|
name: string;
|
|
@@ -16,6 +21,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
16
21
|
expand: () => void;
|
|
17
22
|
collapseWidth: import("vue").Ref<number>;
|
|
18
23
|
collapseHeight: import("vue").Ref<number>;
|
|
24
|
+
viewRef: import("vue").Ref<any>;
|
|
19
25
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onCollapseItemExpand"[], "onCollapseItemExpand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
20
26
|
onOnCollapseItemExpand?: ((...args: any[]) => any) | undefined;
|
|
21
27
|
}, {}, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QTGridViewItem } from "./QTGridViewItem";
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { QTIView } from "../../view/QTIView";
|
|
3
|
+
export interface QTIGridView extends QTIView {
|
|
4
4
|
init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
5
5
|
scrollToTop(): void;
|
|
6
6
|
clearFocus(): void;
|
|
@@ -61,6 +61,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
insertItem: (pos: number, data: Array<QTGridViewItem>) => void;
|
|
62
62
|
clearPostTask: () => void;
|
|
63
63
|
destroy: () => void;
|
|
64
|
+
requestFocus: () => void;
|
|
65
|
+
requestFocusDirectly: () => void;
|
|
66
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
64
67
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused")[], "item-click" | "scroll" | "item-unbind" | "scroll-state-changed" | "item-bind" | "item-focused", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
68
|
loadMore: {
|
|
66
69
|
type: FunctionConstructor;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
4
|
+
clearFocus: () => void;
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
6
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
7
|
+
viewRef: import("vue").Ref<any>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
9
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { arrangeChildren4ListView } from "./utils/utils";
|
|
2
2
|
export declare const QuickTVUI: (Vue: any) => void;
|
|
3
|
-
export type {
|
|
3
|
+
export type { QTIGridView } from './grid-view/core/QTIGridView';
|
|
4
4
|
export type { QTIListView } from './list-view/core/QTIListView';
|
|
5
5
|
export type { QTIView } from './view/QTIView';
|
|
6
6
|
export { QTIViewVisibility } from './view/QTIViewVisibility';
|
|
@@ -45,8 +45,8 @@ export type { QTListViewItemState } from './list-view/core/QTListViewItemState';
|
|
|
45
45
|
export type { QTGridViewItem } from './grid-view/core/QTGridViewItem';
|
|
46
46
|
export type { QTGridViewItemDecoration } from './grid-view/core/QTGridViewItemDecoration';
|
|
47
47
|
export type { QTGridViewItemFunctionParams } from './grid-view/core/QTGridViewItemFunctionParams';
|
|
48
|
-
export type { QTNavBarItem } from './nav-bar/QTNavBarItem';
|
|
49
48
|
export type { QTINavBar } from './nav-bar/QTINavBar';
|
|
49
|
+
export type { QTNavBarItem } from './nav-bar/QTNavBarItem';
|
|
50
50
|
export type { QTNavBar } from './nav-bar/QTNavBar';
|
|
51
51
|
export { QTNavBarItemType } from './nav-bar/QTNavBarItemType';
|
|
52
52
|
export type { QTITab } from './tab/QTITab';
|
|
@@ -57,7 +57,7 @@ export type { QTTabPage } from './tab/QTTabPage';
|
|
|
57
57
|
export { QTTabItemType } from './tab/QTTabItemType';
|
|
58
58
|
export { QTTabPageState } from './tab/QTTabPageState';
|
|
59
59
|
export type { QTTabEventParams } from './tab/QTTabEventParams';
|
|
60
|
-
export type {
|
|
60
|
+
export type { QTIClassifiedListView } from './classified-list-view/core/QTIClassifiedListView';
|
|
61
61
|
export type { QTClassifiedListViewItem } from './classified-list-view/core/QTClassifiedListViewItem';
|
|
62
62
|
export type { QTClassifiedListViewItemDecoration } from './classified-list-view/core/QTClassifiedListViewItemDecoration';
|
|
63
63
|
export { arrangeChildren4ListView };
|
|
@@ -94,3 +94,12 @@ export type { QTGradient } from './gradient/QTGradient';
|
|
|
94
94
|
export { QTGradientOrientation } from './gradient/QTGradientOrientation';
|
|
95
95
|
export { QTGradientShape } from './gradient/QTGradientShape';
|
|
96
96
|
export { QTGradientType } from './gradient/QTGradientType';
|
|
97
|
+
export type { QTIButton } from './button/QTIButton';
|
|
98
|
+
export type { QTIColumn } from './column/QTIColumn';
|
|
99
|
+
export type { QTIDialog } from './dialog/QTIDialog';
|
|
100
|
+
export type { QTIImage } from './image/QTIImage';
|
|
101
|
+
export type { QTILoadingView } from './loading/QTILoadingView';
|
|
102
|
+
export type { QTIPoster } from './poster/core/QTIPoster';
|
|
103
|
+
export type { QTIQRCode } from './qrcode/QTIQRCode';
|
|
104
|
+
export type { QTIRow } from './row/QTIRow';
|
|
105
|
+
export type { QTIText } from './text/QTIText';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QTListViewItem } from "./QTListViewItem";
|
|
2
|
-
import {
|
|
3
|
-
export interface QTIListView extends
|
|
2
|
+
import { QTIView } from "../../view/QTIView";
|
|
3
|
+
export interface QTIListView extends QTIView {
|
|
4
4
|
init(target: Array<QTListViewItem>, isInit?: boolean): Array<QTListViewItem>;
|
|
5
5
|
scrollToTop(): void;
|
|
6
6
|
clearFocus(): void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { QTLottieRepeatMode } from "./QTLottieRepeatMode";
|
|
2
2
|
import { QTLottieRenderMode } from "./QTLottieRenderMode";
|
|
3
3
|
import { QTLottieAsyncUpdates } from "./QTLottieAsyncUpdates";
|
|
4
|
-
|
|
4
|
+
import { QTIView } from "../view/QTIView";
|
|
5
|
+
export interface QTILottieView extends QTIView {
|
|
5
6
|
loadRaw(rawRes: string): void;
|
|
6
7
|
loadFile(fileName: string): void;
|
|
7
8
|
loadUrl(url: string): void;
|
|
@@ -30,6 +30,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
}, {
|
|
33
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
34
|
+
requestFocus: () => void;
|
|
35
|
+
clearFocus: () => void;
|
|
36
|
+
requestFocusDirectly: () => void;
|
|
37
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
33
38
|
navList: import("vue").Ref<QTIListView | undefined>;
|
|
34
39
|
focusColor: import("vue").Ref<string>;
|
|
35
40
|
textColor: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
requestFirstFocus: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
@@ -16,8 +16,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
16
16
|
default: () => null;
|
|
17
17
|
};
|
|
18
18
|
}, {
|
|
19
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
20
|
+
requestFocus: () => void;
|
|
21
|
+
clearFocus: () => void;
|
|
22
|
+
requestFocusDirectly: () => void;
|
|
23
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
19
24
|
mainTextShowOnState: string[];
|
|
20
|
-
|
|
25
|
+
viewRef: import("vue").Ref<any>;
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
27
|
requestFirstFocus: {
|
|
22
28
|
type: BooleanConstructor;
|
|
23
29
|
default: boolean;
|
|
@@ -5,7 +5,8 @@ import { QTSeekBarIndicatorMode } from "../seekbar/QTSeekBarIndicatorMode";
|
|
|
5
5
|
import { QTSeekBarTickMarkMode } from "../seekbar/QTSeekBarTickMarkMode";
|
|
6
6
|
import { QTSeekBarTickMarkGravity } from "../seekbar/QTSeekBarTickMarkGravity";
|
|
7
7
|
import { QTSeekBarTickMarkLayoutGravity } from "../seekbar/QTSeekBarTickMarkLayoutGravity";
|
|
8
|
-
|
|
8
|
+
import { QTIView } from "../view/QTIView";
|
|
9
|
+
export interface QTIProgressBar extends QTIView {
|
|
9
10
|
invalidateProgressBar(): void;
|
|
10
11
|
setFocusable(focusable: boolean): void;
|
|
11
12
|
setClickable(clickable: boolean): void;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
4
|
+
clearFocus: () => void;
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
6
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
2
7
|
onSectionBind: () => void;
|
|
3
|
-
|
|
8
|
+
viewRef: import("vue").Ref<any>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
4
10
|
export default _default;
|
|
@@ -5,7 +5,8 @@ import { QTSeekBarIndicatorMode } from "./QTSeekBarIndicatorMode";
|
|
|
5
5
|
import { QTSeekBarTickMarkMode } from "./QTSeekBarTickMarkMode";
|
|
6
6
|
import { QTSeekBarTickMarkGravity } from "./QTSeekBarTickMarkGravity";
|
|
7
7
|
import { QTSeekBarTickMarkLayoutGravity } from "./QTSeekBarTickMarkLayoutGravity";
|
|
8
|
-
|
|
8
|
+
import { QTIView } from "../view/QTIView";
|
|
9
|
+
export interface QTISeekBar extends QTIView {
|
|
9
10
|
setProgress(p: number): void;
|
|
10
11
|
setMaxProgress(value: number): void;
|
|
11
12
|
resetSeekbar(): void;
|
|
@@ -3,14 +3,14 @@ import { QTMediaSeriesType } from "./QTMediaSeriesType";
|
|
|
3
3
|
import { QTMediaSeriesGroup } from "./QTMediaSeriesGroup";
|
|
4
4
|
import { QTMediaSeriesStyleType } from "./QTMediaSeriesStyleType";
|
|
5
5
|
import { QTMediaSeriesData } from "./QTMediaSeriesData";
|
|
6
|
-
|
|
6
|
+
import { QTIView } from "../view/QTIView";
|
|
7
|
+
export interface QTIMediaSeries extends QTIView {
|
|
7
8
|
setup(): void;
|
|
8
9
|
setInitData(type: QTMediaSeriesType, group: QTMediaSeriesGroup, styleType: QTMediaSeriesStyleType, data: QTMediaSeriesData): void;
|
|
9
10
|
setVisible(visible: boolean): void;
|
|
10
11
|
setPageData(page: number, data: Array<QTMediaSeries>): void;
|
|
11
12
|
scrollTo(position: number): void;
|
|
12
13
|
scrollToWithOffset(position: number, offset: number, anim: boolean): void;
|
|
13
|
-
requestFocus(position: number): void;
|
|
14
14
|
setSelected(position: number): void;
|
|
15
15
|
setGroupSelected(position: number): void;
|
|
16
16
|
release(): void;
|
|
@@ -29,6 +29,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
29
29
|
release: () => void;
|
|
30
30
|
blockRootFocus: () => void;
|
|
31
31
|
unBlockRootFocus: () => void;
|
|
32
|
+
clearFocus: () => void;
|
|
33
|
+
requestFocusDirectly: () => void;
|
|
34
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
32
35
|
}, {}, {}, {}, 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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
33
36
|
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
34
37
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
package/dist/src/tab/QTITab.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { QTTab } from "./QTTab";
|
|
2
2
|
import { QTTabPageData } from "./QTTabPageData";
|
|
3
|
-
import {
|
|
3
|
+
import { ESListViewItemFunctionParams, ESViewStateCallback } from "@extscreen/es3-component";
|
|
4
4
|
import { QTTabPageState } from "./QTTabPageState";
|
|
5
5
|
import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
|
|
6
6
|
import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
|
|
7
7
|
import { QTTabPage } from "./QTTabPage";
|
|
8
|
-
|
|
8
|
+
import { QTIView } from "../view/QTIView";
|
|
9
|
+
export interface QTITab extends QTIView {
|
|
9
10
|
initTab(tab: QTTab): void;
|
|
10
11
|
initPage(waterfall: QTTabPage): void;
|
|
11
12
|
setPageState(pageIndex: number, state: QTTabPageState): void;
|
|
@@ -121,6 +121,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
121
|
default: number;
|
|
122
122
|
};
|
|
123
123
|
}, {
|
|
124
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
125
|
+
requestFocus: () => void;
|
|
126
|
+
clearFocus: () => void;
|
|
127
|
+
requestFocusDirectly: () => void;
|
|
128
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
124
129
|
tabs: import("vue").Ref<ESITab | undefined>;
|
|
125
130
|
ifTabs: import("vue").Ref<boolean>;
|
|
126
131
|
navBarRef: import("vue").Ref<QTINavBar | undefined>;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
3
|
+
requestFocus: () => void;
|
|
4
|
+
clearFocus: () => void;
|
|
5
|
+
requestFocusDirectly: () => void;
|
|
6
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
7
|
+
viewRef: import("vue").Ref<any>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
9
|
export default _default;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export interface QTIView extends ESIView {
|
|
4
|
-
requestFocus(): void;
|
|
5
|
-
clearFocus(): void;
|
|
6
|
-
requestFocusDirectly(): void;
|
|
7
|
-
setVisibility(visibility: QTIViewVisibility): void;
|
|
1
|
+
import { QTIBaseView } from "../base/QTIBaseView";
|
|
2
|
+
export interface QTIView extends QTIBaseView {
|
|
8
3
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { QTIViewVisibility } from "./QTIViewVisibility";
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
-
|
|
2
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
4
3
|
requestFocus: () => void;
|
|
4
|
+
clearFocus: () => void;
|
|
5
5
|
requestFocusDirectly: () => void;
|
|
6
|
-
setVisibility: (v: QTIViewVisibility) => void;
|
|
6
|
+
setVisibility: (v: import("./QTIViewVisibility").QTIViewVisibility) => void;
|
|
7
7
|
viewRef: import("vue").Ref<any>;
|
|
8
8
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clearFocus"[], "clearFocus", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
9
9
|
onClearFocus?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { QTWaterfallSection } from "./QTWaterfallSection";
|
|
2
2
|
import { QTWaterfall } from "./QTWaterfall";
|
|
3
3
|
import { QTWaterfallItem } from "./QTWaterfallItem";
|
|
4
|
-
import {
|
|
5
|
-
export interface QTIWaterfall extends
|
|
4
|
+
import { QTIView } from "../../view/QTIView";
|
|
5
|
+
export interface QTIWaterfall extends QTIView {
|
|
6
6
|
init(waterfall: QTWaterfall): any;
|
|
7
7
|
getSectionList(): Array<QTWaterfallSection>;
|
|
8
8
|
setSectionList(sections: Array<QTWaterfallSection>): void;
|
|
@@ -18,6 +18,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
default: () => string[];
|
|
19
19
|
};
|
|
20
20
|
}, {
|
|
21
|
+
dispatchFunctionBySid: (funcName: string, ...args: any[]) => void;
|
|
22
|
+
requestFocus: () => void;
|
|
23
|
+
clearFocus: () => void;
|
|
24
|
+
requestFocusDirectly: () => void;
|
|
25
|
+
setVisibility: (v: import("..").QTIViewVisibility) => void;
|
|
21
26
|
waterfallRef: import("vue").Ref<ESIListView | undefined>;
|
|
22
27
|
visibleType: import("vue").Ref<QTWaterfallVisibleType>;
|
|
23
28
|
init: (data: QTWaterfall) => void;
|