@quicktvui/quicktvui3 1.1.32 → 1.1.33
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 +57 -21
- package/dist/index.js +8 -8
- package/dist/src/index.d.ts +3 -0
- package/dist/src/plugin/QTIPluginView.d.ts +9 -0
- package/dist/src/plugin/QTPluginView.d.ts +3 -0
- package/dist/src/poster/index.vue.d.ts +33 -0
- package/dist/src/series/index.vue.d.ts +35 -0
- package/dist/src/series/item/media-series-number-item.vue.d.ts +17 -0
- package/dist/src/series/item/media-series-text-item.vue.d.ts +35 -0
- package/dist/src/tab/index.vue.d.ts +6 -1
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/objects.d.ts +1 -0
- package/dist/src/utils/types.d.ts +8 -0
- package/dist/src/utils/vue/index.d.ts +4 -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/refs.d.ts +3 -0
- package/dist/src/utils/vue/typescript.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallItemType.d.ts +2 -1
- package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +5 -0
- package/dist/src/waterfall/core/QTWaterfallSectionType.d.ts +2 -1
- package/dist/src/waterfall/index.vue.d.ts +6 -1
- package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -0
- package/dist/src/waterfall/section/flex-section.vue.d.ts +4 -2
- package/dist/src/waterfall/section/plugin-section.vue.d.ts +18 -0
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -38,6 +38,8 @@ export type { QTWaterfallCardSection } from './waterfall/core/QTWaterfallCardSec
|
|
|
38
38
|
export type { QTWaterfallCardItem } from './waterfall/core/QTWaterfallCardItem';
|
|
39
39
|
export type { QTWaterfallCardPlaceHolder } from './waterfall/core/QTWaterfallCardPlaceHolder';
|
|
40
40
|
export { QTWaterfallVisibleType } from './waterfall/core/QTWaterfallVisibleType';
|
|
41
|
+
export type { QTWaterfallPluginSection } from './waterfall/core/QTWaterfallPluginSection';
|
|
42
|
+
export type { QTWaterfallPluginItem } from './waterfall/core/QTWaterfallPluginItem';
|
|
41
43
|
export type { QTListViewItem } from './list-view/core/QTListViewItem';
|
|
42
44
|
export type { QTListViewItemDecoration } from './list-view/core/QTListViewItemDecoration';
|
|
43
45
|
export type { QTListViewItemFunctionParams } from './list-view/core/QTListViewItemFunctionParams';
|
|
@@ -105,3 +107,4 @@ export type { QTIQRCode } from './qrcode/QTIQRCode';
|
|
|
105
107
|
export type { QTIRow } from './row/QTIRow';
|
|
106
108
|
export type { QTIText } from './text/QTIText';
|
|
107
109
|
export type { QTIAppIcon } from './app/QTIAppIcon';
|
|
110
|
+
export type { QTIPluginView, QTPluginViewEvent } from './plugin/QTIPluginView';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { QTIView } from "../view/QTIView";
|
|
2
|
+
export interface QTIPluginView extends QTIView {
|
|
3
|
+
dispatchFunction(funName: string, params: Array<any>): Promise<any>;
|
|
4
|
+
}
|
|
5
|
+
export interface QTPluginViewEvent {
|
|
6
|
+
sid?: string;
|
|
7
|
+
errorCode?: number;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
}
|
|
@@ -23,6 +23,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
|
+
focusBgColor: {
|
|
27
|
+
type: ObjectConstructor;
|
|
28
|
+
required: false;
|
|
29
|
+
};
|
|
30
|
+
focusTitleColor: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
required: false;
|
|
33
|
+
};
|
|
34
|
+
focusSubTitleColor: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: false;
|
|
37
|
+
};
|
|
38
|
+
floatTitleBgColor: {
|
|
39
|
+
type: ArrayConstructor;
|
|
40
|
+
default: () => string[];
|
|
41
|
+
};
|
|
26
42
|
}, {
|
|
27
43
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
28
44
|
requestFocus: () => void;
|
|
@@ -56,6 +72,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
72
|
type: StringConstructor;
|
|
57
73
|
default: string;
|
|
58
74
|
};
|
|
75
|
+
focusBgColor: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
required: false;
|
|
78
|
+
};
|
|
79
|
+
focusTitleColor: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: false;
|
|
82
|
+
};
|
|
83
|
+
focusSubTitleColor: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
required: false;
|
|
86
|
+
};
|
|
87
|
+
floatTitleBgColor: {
|
|
88
|
+
type: ArrayConstructor;
|
|
89
|
+
default: () => string[];
|
|
90
|
+
};
|
|
59
91
|
}>>, {
|
|
60
92
|
requestFirstFocus: boolean;
|
|
61
93
|
loadDelay: number;
|
|
@@ -63,5 +95,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
95
|
templateKeyMap: Record<string, any>;
|
|
64
96
|
borderRadius: number;
|
|
65
97
|
rippleColor: string;
|
|
98
|
+
floatTitleBgColor: unknown[];
|
|
66
99
|
}, {}>;
|
|
67
100
|
export default _default;
|
|
@@ -17,6 +17,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
cornerRadius: number;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
+
gradientFocusBackground: {
|
|
21
|
+
type: ObjectConstructor;
|
|
22
|
+
default: () => {
|
|
23
|
+
colors: string[];
|
|
24
|
+
orientation: number;
|
|
25
|
+
cornerRadius: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
20
28
|
iconGradientBackground: {
|
|
21
29
|
type: ObjectConstructor;
|
|
22
30
|
default: () => {
|
|
@@ -49,6 +57,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
57
|
selectColor: string;
|
|
50
58
|
};
|
|
51
59
|
};
|
|
60
|
+
itemDivWidth: {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: number;
|
|
63
|
+
};
|
|
64
|
+
itemDivHeight: {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number;
|
|
67
|
+
};
|
|
52
68
|
}, {
|
|
53
69
|
isVip: import("vue").Ref<boolean>;
|
|
54
70
|
seriesType: import("vue").Ref<QTMediaSeriesType>;
|
|
@@ -90,6 +106,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
106
|
cornerRadius: number;
|
|
91
107
|
};
|
|
92
108
|
};
|
|
109
|
+
gradientFocusBackground: {
|
|
110
|
+
type: ObjectConstructor;
|
|
111
|
+
default: () => {
|
|
112
|
+
colors: string[];
|
|
113
|
+
orientation: number;
|
|
114
|
+
cornerRadius: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
93
117
|
iconGradientBackground: {
|
|
94
118
|
type: ObjectConstructor;
|
|
95
119
|
default: () => {
|
|
@@ -122,6 +146,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
146
|
selectColor: string;
|
|
123
147
|
};
|
|
124
148
|
};
|
|
149
|
+
itemDivWidth: {
|
|
150
|
+
type: NumberConstructor;
|
|
151
|
+
default: number;
|
|
152
|
+
};
|
|
153
|
+
itemDivHeight: {
|
|
154
|
+
type: NumberConstructor;
|
|
155
|
+
default: number;
|
|
156
|
+
};
|
|
125
157
|
}>> & {
|
|
126
158
|
"onLoad-data"?: ((...args: any[]) => any) | undefined;
|
|
127
159
|
"onItem-click"?: ((...args: any[]) => any) | undefined;
|
|
@@ -130,10 +162,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
162
|
}, {
|
|
131
163
|
itemHeight: number;
|
|
132
164
|
gradientBackground: Record<string, any>;
|
|
165
|
+
gradientFocusBackground: Record<string, any>;
|
|
133
166
|
iconGradientBackground: Record<string, any>;
|
|
134
167
|
markColor: string;
|
|
135
168
|
markVipColor: string;
|
|
136
169
|
textColors: Record<string, any>;
|
|
137
170
|
textVipColors: Record<string, any>;
|
|
171
|
+
itemDivWidth: number;
|
|
172
|
+
itemDivHeight: number;
|
|
138
173
|
}, {}>;
|
|
139
174
|
export default _default;
|
|
@@ -11,6 +11,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
cornerRadius: number;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
+
gradientFocusBackground: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {
|
|
17
|
+
colors: string[];
|
|
18
|
+
orientation: number;
|
|
19
|
+
cornerRadius: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
14
22
|
iconGradientBackground: {
|
|
15
23
|
type: ObjectConstructor;
|
|
16
24
|
default: () => {
|
|
@@ -56,6 +64,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
64
|
cornerRadius: number;
|
|
57
65
|
};
|
|
58
66
|
};
|
|
67
|
+
gradientFocusBackground: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default: () => {
|
|
70
|
+
colors: string[];
|
|
71
|
+
orientation: number;
|
|
72
|
+
cornerRadius: number;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
59
75
|
iconGradientBackground: {
|
|
60
76
|
type: ObjectConstructor;
|
|
61
77
|
default: () => {
|
|
@@ -91,6 +107,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
107
|
}>>, {
|
|
92
108
|
isVip: boolean;
|
|
93
109
|
gradientBackground: Record<string, any>;
|
|
110
|
+
gradientFocusBackground: Record<string, any>;
|
|
94
111
|
iconGradientBackground: Record<string, any>;
|
|
95
112
|
markColor: string;
|
|
96
113
|
markVipColor: string;
|
|
@@ -11,6 +11,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
cornerRadius: number;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
+
gradientFocusBackground: {
|
|
15
|
+
type: ObjectConstructor;
|
|
16
|
+
default: () => {
|
|
17
|
+
colors: string[];
|
|
18
|
+
orientation: number;
|
|
19
|
+
cornerRadius: number;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
14
22
|
iconGradientBackground: {
|
|
15
23
|
type: ObjectConstructor;
|
|
16
24
|
default: () => {
|
|
@@ -43,6 +51,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
51
|
selectColor: string;
|
|
44
52
|
};
|
|
45
53
|
};
|
|
54
|
+
itemWidth: {
|
|
55
|
+
type: NumberConstructor;
|
|
56
|
+
default: number;
|
|
57
|
+
};
|
|
58
|
+
itemHeight: {
|
|
59
|
+
type: NumberConstructor;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
46
62
|
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
63
|
isVip: {
|
|
48
64
|
type: BooleanConstructor;
|
|
@@ -56,6 +72,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
72
|
cornerRadius: number;
|
|
57
73
|
};
|
|
58
74
|
};
|
|
75
|
+
gradientFocusBackground: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
default: () => {
|
|
78
|
+
colors: string[];
|
|
79
|
+
orientation: number;
|
|
80
|
+
cornerRadius: number;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
59
83
|
iconGradientBackground: {
|
|
60
84
|
type: ObjectConstructor;
|
|
61
85
|
default: () => {
|
|
@@ -88,13 +112,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
112
|
selectColor: string;
|
|
89
113
|
};
|
|
90
114
|
};
|
|
115
|
+
itemWidth: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
119
|
+
itemHeight: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
91
123
|
}>>, {
|
|
92
124
|
isVip: boolean;
|
|
93
125
|
gradientBackground: Record<string, any>;
|
|
126
|
+
gradientFocusBackground: Record<string, any>;
|
|
94
127
|
iconGradientBackground: Record<string, any>;
|
|
95
128
|
markColor: string;
|
|
96
129
|
markVipColor: string;
|
|
97
130
|
textColors: Record<string, any>;
|
|
98
131
|
textVipColors: Record<string, any>;
|
|
132
|
+
itemWidth: number;
|
|
133
|
+
itemHeight: number;
|
|
99
134
|
}, {}>;
|
|
100
135
|
export default _default;
|
|
@@ -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;
|
|
@@ -212,7 +213,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
213
|
onTabClick: (e: QTTabItem) => void;
|
|
213
214
|
getCurrentPageIndex: () => number;
|
|
214
215
|
getCurrentTabIndex: () => Promise<number>;
|
|
215
|
-
|
|
216
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
217
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
218
|
+
}, 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<{
|
|
216
219
|
enablePlaceholder: {
|
|
217
220
|
type: BooleanConstructor;
|
|
218
221
|
default: boolean;
|
|
@@ -371,6 +374,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
371
374
|
onOnTabPageScrollToEnd?: ((...args: any[]) => any) | undefined;
|
|
372
375
|
onOnTabPageScrollToStart?: ((...args: any[]) => any) | undefined;
|
|
373
376
|
onOnTabClick?: ((...args: any[]) => any) | undefined;
|
|
377
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
374
379
|
}, {
|
|
375
380
|
enablePlaceholder: boolean;
|
|
376
381
|
preloadNumber: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { hasOwn } from '@vue/shared';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { isArray, isFunction, isObject, isString, isDate, isPromise, isSymbol, } from '@vue/shared';
|
|
2
|
+
export { isVNode } from 'vue';
|
|
3
|
+
export declare const isUndefined: (val: any) => val is undefined;
|
|
4
|
+
export declare const isBoolean: (val: any) => val is boolean;
|
|
5
|
+
export declare const isNumber: (val: any) => val is number;
|
|
6
|
+
export declare const isEmpty: (val: unknown) => boolean;
|
|
7
|
+
export declare const isElement: (e: unknown) => e is Element;
|
|
8
|
+
export declare const isStringNumber: (val: string) => boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Directive } from 'vue';
|
|
2
|
+
import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
|
|
3
|
+
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
4
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
5
|
+
export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
|
|
6
|
+
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { EpProp, EpPropConvert, EpPropFinalized, EpPropInput, EpPropMergeType, IfEpProp, IfNativePropType, NativePropType } from './types';
|
|
3
|
+
export declare const epPropKey = "__epPropKey";
|
|
4
|
+
export declare const definePropType: <T>(val: any) => PropType<T>;
|
|
5
|
+
export declare const isEpProp: (val: unknown) => val is EpProp<any, any, any>;
|
|
6
|
+
export declare const buildProp: <Type = never, Value = never, Validator = never, Default extends EpPropMergeType<Type, Value, Validator> = never, Required extends boolean = false>(prop: EpPropInput<Type, Value, Validator, Default, Required>, key?: string) => EpPropFinalized<Type, Value, Validator, Default, Required>;
|
|
7
|
+
export declare const buildProps: <Props extends Record<string, {
|
|
8
|
+
__epPropKey: true;
|
|
9
|
+
} | NativePropType | EpPropInput<any, any, any, any, any>>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { epPropKey } from './runtime';
|
|
2
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import type { IfNever, UnknownToNever, WritableArray } from './util';
|
|
4
|
+
type Value<T> = T[keyof T];
|
|
5
|
+
export type ExtractPropType<T extends object> = Value<ExtractPropTypes<{
|
|
6
|
+
key: T;
|
|
7
|
+
}>>;
|
|
8
|
+
export type ResolvePropType<T> = IfNever<T, never, ExtractPropType<{
|
|
9
|
+
type: WritableArray<T>;
|
|
10
|
+
required: true;
|
|
11
|
+
}>>;
|
|
12
|
+
export type EpPropMergeType<Type, Value, Validator> = IfNever<UnknownToNever<Value>, ResolvePropType<Type>, never> | UnknownToNever<Value> | UnknownToNever<Validator>;
|
|
13
|
+
export type EpPropInputDefault<Required extends boolean, Default> = Required extends true ? never : Default extends Record<string, unknown> | Array<any> ? () => Default : (() => Default) | Default;
|
|
14
|
+
export type NativePropType = ((...args: any) => any) | {
|
|
15
|
+
new (...args: any): any;
|
|
16
|
+
} | undefined | null;
|
|
17
|
+
export type IfNativePropType<T, Y, N> = [T] extends [NativePropType] ? Y : N;
|
|
18
|
+
export type EpPropInput<Type, Value, Validator, Default extends EpPropMergeType<Type, Value, Validator>, Required extends boolean> = {
|
|
19
|
+
type?: Type;
|
|
20
|
+
required?: Required;
|
|
21
|
+
values?: readonly Value[];
|
|
22
|
+
validator?: ((val: any) => val is Validator) | ((val: any) => boolean);
|
|
23
|
+
default?: EpPropInputDefault<Required, Default>;
|
|
24
|
+
};
|
|
25
|
+
export type EpProp<Type, Default, Required> = {
|
|
26
|
+
readonly type: PropType<Type>;
|
|
27
|
+
readonly required: [Required] extends [true] ? true : false;
|
|
28
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
|
+
[epPropKey]: true;
|
|
30
|
+
} & IfNever<Default, unknown, {
|
|
31
|
+
readonly default: Default;
|
|
32
|
+
}>;
|
|
33
|
+
export type IfEpProp<T, Y, N> = T extends {
|
|
34
|
+
[epPropKey]: true;
|
|
35
|
+
} ? Y : N;
|
|
36
|
+
export type EpPropConvert<Input> = Input extends EpPropInput<infer Type, infer Value, infer Validator, any, infer Required> ? EpPropFinalized<Type, Value, Validator, Input['default'], Required> : never;
|
|
37
|
+
export type EpPropFinalized<Type, Value, Validator, Default, Required> = EpProp<EpPropMergeType<Type, Value, Validator>, UnknownToNever<Default>, Required>;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type Writable<T> = {
|
|
2
|
+
-readonly [P in keyof T]: T[P];
|
|
3
|
+
};
|
|
4
|
+
export type WritableArray<T> = T extends readonly any[] ? Writable<T> : T;
|
|
5
|
+
export type IfNever<T, Y = true, N = false> = [T] extends [never] ? Y : N;
|
|
6
|
+
export type IfUnknown<T, Y, N> = [unknown] extends [T] ? Y : N;
|
|
7
|
+
export type UnknownToNever<T> = IfUnknown<T, never, T>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ComponentPublicInstance, Ref } from 'vue';
|
|
2
|
+
export type RefSetter = (el: Element | ComponentPublicInstance | undefined) => void;
|
|
3
|
+
export declare const composeRefs: (...refs: (Ref<HTMLElement | undefined> | RefSetter)[]) => (el: Element | ComponentPublicInstance | null) => void;
|
|
@@ -2,5 +2,6 @@ export declare enum QTWaterfallItemType {
|
|
|
2
2
|
QT_WATERFALL_ITEM_TYPE_POSTER = 10001,
|
|
3
3
|
QT_WATERFALL_ITEM_TYPE_TAB = 10002,
|
|
4
4
|
QT_WATERFALL_ITEM_TYPE_CARD = 10003,
|
|
5
|
-
QT_WATERFALL_ITEM_TYPE_BLANK = -10000
|
|
5
|
+
QT_WATERFALL_ITEM_TYPE_BLANK = -10000,
|
|
6
|
+
QT_WATERFALL_ITEM_TYPE_PLUGIN = 10004
|
|
6
7
|
}
|
|
@@ -9,5 +9,6 @@ export declare enum QTWaterfallSectionType {
|
|
|
9
9
|
QT_WATERFALL_SECTION_TYPE_CARD = 1006,
|
|
10
10
|
QT_WATERFALL_SECTION_TYPE_VUE = 1007,
|
|
11
11
|
QT_WATERFALL_SECTION_TYPE_END = -1001,
|
|
12
|
-
QT_WATERFALL_SECTION_TYPE_BLANK = -1000
|
|
12
|
+
QT_WATERFALL_SECTION_TYPE_BLANK = -1000,
|
|
13
|
+
QT_WATERFALL_SECTION_TYPE_PLUGIN = 1008
|
|
13
14
|
}
|
|
@@ -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;
|
|
@@ -82,7 +83,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
83
|
setListData: (data: any) => void;
|
|
83
84
|
onScrollYGreaterReference: () => void;
|
|
84
85
|
onScrollYLesserReference: () => void;
|
|
85
|
-
|
|
86
|
+
onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
|
|
87
|
+
onPluginLoadError: (event: QTPluginViewEvent) => void;
|
|
88
|
+
}, 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<{
|
|
86
89
|
enablePlaceholder: {
|
|
87
90
|
type: BooleanConstructor;
|
|
88
91
|
default: boolean;
|
|
@@ -121,6 +124,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
124
|
onOnSectionDetached?: ((...args: any[]) => any) | undefined;
|
|
122
125
|
onOnScrollYGreaterReference?: ((...args: any[]) => any) | undefined;
|
|
123
126
|
onOnScrollYLesserReference?: ((...args: any[]) => any) | undefined;
|
|
127
|
+
onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
|
|
124
129
|
}, {
|
|
125
130
|
enablePlaceholder: boolean;
|
|
126
131
|
blockFocusDirections: unknown[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
onFocus: (e: any) => void;
|
|
3
|
+
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
4
|
+
requestFocus: () => void;
|
|
5
|
+
clearFocus: () => void;
|
|
6
|
+
requestFocusDirectly: () => void;
|
|
7
|
+
setVisibility: (v: import("../..").QTIViewVisibility) => void;
|
|
8
|
+
viewRef: import("vue").Ref<any>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "focus"[], "focus", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
10
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
@@ -35,7 +35,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
}, {
|
|
37
37
|
onFocus: (e: any) => void;
|
|
38
|
-
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin,
|
|
38
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
39
39
|
enablePlaceholder: {
|
|
40
40
|
type: BooleanConstructor;
|
|
41
41
|
default: boolean;
|
|
@@ -68,7 +68,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
68
68
|
type: NumberConstructor;
|
|
69
69
|
default: number;
|
|
70
70
|
};
|
|
71
|
-
}
|
|
71
|
+
}>> & {
|
|
72
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, {
|
|
72
74
|
enablePlaceholder: boolean;
|
|
73
75
|
plateData: string;
|
|
74
76
|
useDiff: boolean;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
2
|
+
pluginKey: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
onFocus: (e: any) => void;
|
|
8
|
+
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "focus"[], "focus", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
|
+
pluginKey: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
pluginKey: string;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|