@quicktvui/quicktvui3 1.1.32 → 1.1.33-beta.10

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.
Files changed (37) hide show
  1. package/dist/index.css +57 -21
  2. package/dist/index.js +5 -5
  3. package/dist/src/grid-view/core/QTIGridView.d.ts +1 -1
  4. package/dist/src/grid-view/index.vue.d.ts +9 -7
  5. package/dist/src/index.d.ts +6 -0
  6. package/dist/src/list-view/core/QTIListView.d.ts +1 -1
  7. package/dist/src/plugin/QTIPluginView.d.ts +9 -0
  8. package/dist/src/plugin/QTPluginView.d.ts +3 -0
  9. package/dist/src/poster/index.vue.d.ts +33 -0
  10. package/dist/src/qtListen/effect.d.ts +17 -0
  11. package/dist/src/qtListen/index.d.ts +5 -0
  12. package/dist/src/qtListen/qtArray.d.ts +9 -0
  13. package/dist/src/qtListen/qtDiff.d.ts +2 -0
  14. package/dist/src/qtListen/reactive.d.ts +14 -0
  15. package/dist/src/qtListen/ref.d.ts +5 -0
  16. package/dist/src/qtListen/types.d.ts +45 -0
  17. package/dist/src/qtListen/watch.d.ts +16 -0
  18. package/dist/src/series/DataAdapter.d.ts +1 -1
  19. package/dist/src/series/QTMediaSeriesData.d.ts +2 -0
  20. package/dist/src/series/QTMediaSeriesDataStyle.d.ts +4 -0
  21. package/dist/src/series/index.vue.d.ts +35 -0
  22. package/dist/src/series/item/media-series-number-item.vue.d.ts +17 -0
  23. package/dist/src/series/item/media-series-text-item.vue.d.ts +35 -0
  24. package/dist/src/tab/QTITab.d.ts +3 -0
  25. package/dist/src/tab/QTTabDataManager.d.ts +2 -1
  26. package/dist/src/tab/index.vue.d.ts +52 -2
  27. package/dist/src/utils/VirtualView.d.ts +10 -0
  28. package/dist/src/waterfall/core/QTWaterfallDataAdapter.d.ts +2 -2
  29. package/dist/src/waterfall/core/QTWaterfallItemType.d.ts +2 -1
  30. package/dist/src/waterfall/core/QTWaterfallPluginItem.d.ts +5 -0
  31. package/dist/src/waterfall/core/QTWaterfallPluginSection.d.ts +5 -0
  32. package/dist/src/waterfall/core/QTWaterfallSectionType.d.ts +2 -1
  33. package/dist/src/waterfall/index.vue.d.ts +66 -1
  34. package/dist/src/waterfall/item/plugin-item.vue.d.ts +12 -0
  35. package/dist/src/waterfall/section/flex-section.vue.d.ts +21 -2
  36. package/dist/src/waterfall/section/plugin-section.vue.d.ts +18 -0
  37. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ export declare const VirtualView: {
2
+ callUIModule(sid: string, fnName: string, params: any): void;
3
+ callUIModuleAsync(sid: string, fnName: string, params: Array<any>, maxTime?: number): Promise<unknown>;
4
+ call(sid: string, fnName: string, params: Array<any>): void;
5
+ callAsync(sid: string, fnName: string, params: Array<any>, maxTime?: number): Promise<unknown>;
6
+ tvCall(tvsid: string, sid: string, fnName: string, params: Array<any>): void;
7
+ tvCallAsync(tvsid: string, sid: string, fnName: string, params: Array<any>, maxTime?: number): Promise<unknown>;
8
+ updateChild(tvsid: string, sid: string, data: object): void;
9
+ updateBySid(sid: string, data: object): void;
10
+ };
@@ -1,5 +1,5 @@
1
1
  import { QTWaterfallItem } from "./QTWaterfallItem";
2
2
  import { QTWaterfall } from "./QTWaterfall";
3
3
  import { QTWaterfallSection } from "./QTWaterfallSection";
4
- export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>): Array<QTWaterfallItem>;
5
- export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection): QTWaterfallSection;
4
+ export declare function generateSectionList(waterfall: QTWaterfall, sectionList: Array<QTWaterfallSection>, isResetSection?: boolean): Array<QTWaterfallItem>;
5
+ export declare function generateSection(waterfall: QTWaterfall, section: QTWaterfallSection, isResetSection?: boolean): QTWaterfallSection;
@@ -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
  }
@@ -0,0 +1,5 @@
1
+ import { QTWaterfallItem } from "./QTWaterfallItem";
2
+ export interface QTWaterfallPluginItem extends QTWaterfallItem {
3
+ pluginKey: string;
4
+ [prop: string]: any;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { QTWaterfallSection } from "./QTWaterfallSection";
2
+ export interface QTWaterfallPluginSection extends QTWaterfallSection {
3
+ pluginKey: string;
4
+ [prop: string]: any;
5
+ }
@@ -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;
@@ -33,6 +34,35 @@ declare const _default: import("vue").DefineComponent<{
33
34
  type: NumberConstructor;
34
35
  default: number;
35
36
  };
37
+ listData: {
38
+ type: ArrayConstructor;
39
+ required: false;
40
+ };
41
+ pStype: {
42
+ type: ObjectConstructor;
43
+ default: () => {};
44
+ };
45
+ qtTabSectionEnable: {
46
+ type: ObjectConstructor;
47
+ default: () => {
48
+ flexSectionEnable: boolean;
49
+ flexSection: {
50
+ qtPosterEnable: boolean;
51
+ qtPluginItemEnable: boolean;
52
+ cardItemEnable: boolean;
53
+ };
54
+ listSectionEnable: boolean;
55
+ listSection: {
56
+ qtPosterEnable: boolean;
57
+ };
58
+ loadingSectionEnable: boolean;
59
+ endSectionEnable: boolean;
60
+ blankSectionEnable: boolean;
61
+ cardSectionEnable: boolean;
62
+ pluginSectionEnable: boolean;
63
+ vueSectionEnable: boolean;
64
+ };
65
+ };
36
66
  }, {
37
67
  dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
38
68
  requestFocus: () => void;
@@ -82,7 +112,9 @@ declare const _default: import("vue").DefineComponent<{
82
112
  setListData: (data: any) => void;
83
113
  onScrollYGreaterReference: () => void;
84
114
  onScrollYLesserReference: () => void;
85
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference")[], "onScroll" | "onScrollStateChanged" | "onItemClick" | "onItemFocused" | "onSectionBind" | "onSectionAttached" | "onSectionDetached" | "onScrollYGreaterReference" | "onScrollYLesserReference", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
115
+ onPluginLoadSuccess: (event: QTPluginViewEvent) => void;
116
+ onPluginLoadError: (event: QTPluginViewEvent) => void;
117
+ }, 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
118
  enablePlaceholder: {
87
119
  type: BooleanConstructor;
88
120
  default: boolean;
@@ -111,6 +143,35 @@ declare const _default: import("vue").DefineComponent<{
111
143
  type: NumberConstructor;
112
144
  default: number;
113
145
  };
146
+ listData: {
147
+ type: ArrayConstructor;
148
+ required: false;
149
+ };
150
+ pStype: {
151
+ type: ObjectConstructor;
152
+ default: () => {};
153
+ };
154
+ qtTabSectionEnable: {
155
+ type: ObjectConstructor;
156
+ default: () => {
157
+ flexSectionEnable: boolean;
158
+ flexSection: {
159
+ qtPosterEnable: boolean;
160
+ qtPluginItemEnable: boolean;
161
+ cardItemEnable: boolean;
162
+ };
163
+ listSectionEnable: boolean;
164
+ listSection: {
165
+ qtPosterEnable: boolean;
166
+ };
167
+ loadingSectionEnable: boolean;
168
+ endSectionEnable: boolean;
169
+ blankSectionEnable: boolean;
170
+ cardSectionEnable: boolean;
171
+ pluginSectionEnable: boolean;
172
+ vueSectionEnable: boolean;
173
+ };
174
+ };
114
175
  }>> & {
115
176
  onOnScroll?: ((...args: any[]) => any) | undefined;
116
177
  onOnScrollStateChanged?: ((...args: any[]) => any) | undefined;
@@ -121,6 +182,8 @@ declare const _default: import("vue").DefineComponent<{
121
182
  onOnSectionDetached?: ((...args: any[]) => any) | undefined;
122
183
  onOnScrollYGreaterReference?: ((...args: any[]) => any) | undefined;
123
184
  onOnScrollYLesserReference?: ((...args: any[]) => any) | undefined;
185
+ onOnPluginLoadSuccess?: ((...args: any[]) => any) | undefined;
186
+ onOnPluginLoadError?: ((...args: any[]) => any) | undefined;
124
187
  }, {
125
188
  enablePlaceholder: boolean;
126
189
  blockFocusDirections: unknown[];
@@ -129,5 +192,7 @@ declare const _default: import("vue").DefineComponent<{
129
192
  customItemPool: Record<string, any>;
130
193
  scrollYLesserReferenceValue: number;
131
194
  scrollYGreaterReferenceValue: number;
195
+ pStype: Record<string, any>;
196
+ qtTabSectionEnable: Record<string, any>;
132
197
  }, {}>;
133
198
  export default _default;
@@ -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;
@@ -33,9 +33,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
33
33
  type: NumberConstructor;
34
34
  default: number;
35
35
  };
36
+ flexSection: {
37
+ type: ObjectConstructor;
38
+ default: () => {
39
+ qtPosterEnable: boolean;
40
+ qtPluginItemEnable: boolean;
41
+ cardItemEnable: boolean;
42
+ };
43
+ };
36
44
  }, {
37
45
  onFocus: (e: any) => void;
38
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
46
+ }, 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
47
  enablePlaceholder: {
40
48
  type: BooleanConstructor;
41
49
  default: boolean;
@@ -68,7 +76,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
68
76
  type: NumberConstructor;
69
77
  default: number;
70
78
  };
71
- }>>, {
79
+ flexSection: {
80
+ type: ObjectConstructor;
81
+ default: () => {
82
+ qtPosterEnable: boolean;
83
+ qtPluginItemEnable: boolean;
84
+ cardItemEnable: boolean;
85
+ };
86
+ };
87
+ }>> & {
88
+ onFocus?: ((...args: any[]) => any) | undefined;
89
+ }, {
72
90
  enablePlaceholder: boolean;
73
91
  plateData: string;
74
92
  useDiff: boolean;
@@ -77,5 +95,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
77
95
  standItemType: number;
78
96
  currentPageIndex: number;
79
97
  itemFocusScale: number;
98
+ flexSection: Record<string, any>;
80
99
  }, {}>;
81
100
  export default _default;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.1.32",
3
+ "version": "1.1.33-beta.10",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",