@quicktvui/quicktvui3 1.1.32-beta.7 → 1.1.32-beta.9
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 +0 -5
- package/dist/index.js +5 -5
- package/dist/src/index.d.ts +1 -1
- package/dist/src/plugin/QTIPluginView.d.ts +5 -0
- package/dist/src/tab/index.vue.d.ts +6 -1
- package/dist/src/waterfall/index.vue.d.ts +6 -1
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +8 -1
- package/dist/src/waterfall/section/flex-section.vue.d.ts +9 -2
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +9 -2
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -108,4 +108,4 @@ export type { QTIQRCode } from './qrcode/QTIQRCode';
|
|
|
108
108
|
export type { QTIRow } from './row/QTIRow';
|
|
109
109
|
export type { QTIText } from './text/QTIText';
|
|
110
110
|
export type { QTIAppIcon } from './app/QTIAppIcon';
|
|
111
|
-
export type { QTIPluginView } from './plugin/QTIPluginView';
|
|
111
|
+
export type { QTIPluginView, QTPluginViewEvent } from './plugin/QTIPluginView';
|
|
@@ -2,3 +2,8 @@ import { QTIView } from "../view/QTIView";
|
|
|
2
2
|
export interface QTIPluginView extends QTIView {
|
|
3
3
|
dispatchFunction(funName: string, params: Array<any>): Promise<any>;
|
|
4
4
|
}
|
|
5
|
+
export interface QTPluginViewEvent {
|
|
6
|
+
sid?: string;
|
|
7
|
+
errorCode?: number;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
}
|
|
@@ -8,6 +8,7 @@ import { QTWaterfallItem } from "../waterfall/core/QTWaterfallItem";
|
|
|
8
8
|
import { QTTabPageState } from "./QTTabPageState";
|
|
9
9
|
import { QTWaterfallSection } from "../waterfall/core/QTWaterfallSection";
|
|
10
10
|
import { QTTabItem } from "./QTTabItem";
|
|
11
|
+
import { QTPluginViewEvent } from "../plugin/QTIPluginView";
|
|
11
12
|
declare const _default: import("vue").DefineComponent<{
|
|
12
13
|
enablePlaceholder: {
|
|
13
14
|
type: BooleanConstructor;
|
|
@@ -213,7 +214,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
213
214
|
getCurrentPageIndex: () => number;
|
|
214
215
|
getCurrentTabIndex: () => Promise<number>;
|
|
215
216
|
insertPageData(tabPageIndex: number, sectionIndex: number, data: any[]): void;
|
|
216
|
-
|
|
217
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
218
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
219
|
+
}, unknown, {}, {}, 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<{
|
|
217
220
|
enablePlaceholder: {
|
|
218
221
|
type: BooleanConstructor;
|
|
219
222
|
default: boolean;
|
|
@@ -372,6 +375,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
372
375
|
onOnTabPageScrollToEnd?: ((...args: any[]) => any) | undefined;
|
|
373
376
|
onOnTabPageScrollToStart?: ((...args: any[]) => any) | undefined;
|
|
374
377
|
onOnTabClick?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
379
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
375
380
|
}, {
|
|
376
381
|
enablePlaceholder: boolean;
|
|
377
382
|
preloadNumber: number;
|
|
@@ -4,6 +4,7 @@ import { ESIListView } from "@extscreen/es3-component";
|
|
|
4
4
|
import { QTWaterfallItem } from "./core/QTWaterfallItem";
|
|
5
5
|
import { QTWaterfallEvent } from "./core/QTWaterfallEvent";
|
|
6
6
|
import { QTWaterfallVisibleType } from "./core/QTWaterfallVisibleType";
|
|
7
|
+
import { QTPluginViewEvent } from "../plugin/QTIPluginView";
|
|
7
8
|
declare const _default: import("vue").DefineComponent<{
|
|
8
9
|
enablePlaceholder: {
|
|
9
10
|
type: BooleanConstructor;
|
|
@@ -90,7 +91,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
91
|
setListData: (data: any) => void;
|
|
91
92
|
onScrollYGreaterReference: () => void;
|
|
92
93
|
onScrollYLesserReference: () => void;
|
|
93
|
-
|
|
94
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
95
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
96
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference" | "onPluginLoadSuccess" | "onPluginLoadError", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
97
|
enablePlaceholder: {
|
|
95
98
|
type: BooleanConstructor;
|
|
96
99
|
default: boolean;
|
|
@@ -137,6 +140,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
137
140
|
onOnSectionDetached?: ((...args: any[]) => any) | undefined;
|
|
138
141
|
onOnScrollYGreaterReference?: ((...args: any[]) => any) | undefined;
|
|
139
142
|
onOnScrollYLesserReference?: ((...args: any[]) => any) | undefined;
|
|
143
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
144
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
140
145
|
}, {
|
|
141
146
|
enablePlaceholder: boolean;
|
|
142
147
|
blockFocusDirections: unknown[];
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { QTPluginViewEvent } from "../../plugin/QTIPluginView";
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
3
|
onFocus: (e: any) => void;
|
|
4
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
5
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
3
6
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
4
7
|
requestFocus: () => void;
|
|
5
8
|
clearFocus: () => void;
|
|
6
9
|
requestFocusDirectly: () => void;
|
|
7
10
|
setVisibility: (v: import("../..").QTIViewVisibility) => void;
|
|
8
11
|
viewRef: import("vue").Ref<any>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onPluginLoadSuccess" | "onPluginLoadError" | "focus")[], "onPluginLoadSuccess" | "onPluginLoadError" | "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
13
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}, {}, {}>;
|
|
10
17
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { QTWaterfallSectionType } from "../core/QTWaterfallSectionType";
|
|
2
2
|
import { QTWaterfallItemType } from "../core/QTWaterfallItemType";
|
|
3
|
+
import { QTPluginViewEvent } from "../../plugin/QTIPluginView";
|
|
3
4
|
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
4
5
|
enablePlaceholder: {
|
|
5
6
|
type: BooleanConstructor;
|
|
@@ -35,7 +36,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
35
36
|
};
|
|
36
37
|
}, {
|
|
37
38
|
onFocus: (e: any) => void;
|
|
38
|
-
|
|
39
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
40
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
41
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("onPluginLoadSuccess" | "onPluginLoadError" | "focus")[], "onPluginLoadSuccess" | "onPluginLoadError" | "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
39
42
|
enablePlaceholder: {
|
|
40
43
|
type: BooleanConstructor;
|
|
41
44
|
default: boolean;
|
|
@@ -68,7 +71,11 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
68
71
|
type: NumberConstructor;
|
|
69
72
|
default: number;
|
|
70
73
|
};
|
|
71
|
-
}
|
|
74
|
+
}>> & {
|
|
75
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
}, {
|
|
72
79
|
enablePlaceholder: boolean;
|
|
73
80
|
plateData: string;
|
|
74
81
|
useDiff: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { QTPluginViewEvent } from "../../plugin/QTIPluginView";
|
|
1
2
|
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
3
|
pluginKey: {
|
|
3
4
|
type: StringConstructor;
|
|
@@ -5,12 +6,18 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
5
6
|
};
|
|
6
7
|
}, {
|
|
7
8
|
onFocus: (e: any) => void;
|
|
8
|
-
|
|
9
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
10
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
11
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("onPluginLoadSuccess" | "onPluginLoadError" | "focus")[], "onPluginLoadSuccess" | "onPluginLoadError" | "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
12
|
pluginKey: {
|
|
10
13
|
type: StringConstructor;
|
|
11
14
|
default: string;
|
|
12
15
|
};
|
|
13
|
-
}
|
|
16
|
+
}>> & {
|
|
17
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}, {
|
|
14
21
|
pluginKey: string;
|
|
15
22
|
}, {}>;
|
|
16
23
|
export default _default;
|