@quicktvui/quicktvui3 1.1.29 → 1.1.31

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.
@@ -1,7 +1,5 @@
1
- import Row from "./row/index.vue";
2
1
  import { arrangeChildren4ListView } from "./utils/utils";
3
2
  export declare const QuickTVUI: (Vue: any) => void;
4
- export { Row };
5
3
  export type { QTIGridView } from './grid-view/core/QTIGridView';
6
4
  export type { QTIListView } from './list-view/core/QTIListView';
7
5
  export type { QTIView } from './view/QTIView';
@@ -10,6 +10,7 @@ import { QTFlexStylePadding } from "../../core/QTFlexStylePadding";
10
10
  import { QTFlexStyleSize } from "../../core/QTFlexStyleSize";
11
11
  import { QTPosterScore } from "./QTPosterScore";
12
12
  import { QTFocusable } from "../../core/QTFocusable";
13
+ import { QTPosterPlaceholderImg } from "./QTPosterPlaceholderImg";
13
14
  export interface QTPoster extends QTWaterfallItem {
14
15
  focus?: QTFocusable;
15
16
  image?: QTPosterImage;
@@ -24,5 +25,6 @@ export interface QTPoster extends QTWaterfallItem {
24
25
  score?: QTPosterScore;
25
26
  titleStyle?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize;
26
27
  titleFocusStyle?: QTFlexStyleMargin & QTFlexStylePadding & QTFlexStyleSize;
28
+ placeholderImg?: QTPosterPlaceholderImg;
27
29
  [prop: string]: any;
28
30
  }
@@ -3,4 +3,5 @@ import { ESGradient } from "@extscreen/es3-component";
3
3
  export interface QTPosterCorner extends QTPosterElement {
4
4
  text: string;
5
5
  background?: ESGradient;
6
+ [prop: string]: any;
6
7
  }
@@ -0,0 +1,4 @@
1
+ export interface QTPosterPlaceholderImg {
2
+ enable: boolean;
3
+ src: string;
4
+ }
@@ -15,6 +15,14 @@ declare const _default: import("vue").DefineComponent<{
15
15
  type: ObjectConstructor;
16
16
  default: () => null;
17
17
  };
18
+ borderRadius: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ rippleColor: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
18
26
  }, {
19
27
  dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
20
28
  requestFocus: () => void;
@@ -40,10 +48,20 @@ declare const _default: import("vue").DefineComponent<{
40
48
  type: ObjectConstructor;
41
49
  default: () => null;
42
50
  };
51
+ borderRadius: {
52
+ type: NumberConstructor;
53
+ default: number;
54
+ };
55
+ rippleColor: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
43
59
  }>>, {
44
60
  requestFirstFocus: boolean;
45
61
  loadDelay: number;
46
62
  type: number;
47
63
  templateKeyMap: Record<string, any>;
64
+ borderRadius: number;
65
+ rippleColor: string;
48
66
  }, {}>;
49
67
  export default _default;
@@ -9,6 +9,46 @@ declare const _default: import("vue").DefineComponent<{
9
9
  type: NumberConstructor;
10
10
  default: number;
11
11
  };
12
+ gradientBackground: {
13
+ type: ObjectConstructor;
14
+ default: () => {
15
+ colors: string[];
16
+ orientation: number;
17
+ cornerRadius: number;
18
+ };
19
+ };
20
+ iconGradientBackground: {
21
+ type: ObjectConstructor;
22
+ default: () => {
23
+ colors: string[];
24
+ cornerRadius: number;
25
+ orientation: number;
26
+ };
27
+ };
28
+ markColor: {
29
+ type: StringConstructor;
30
+ default: string;
31
+ };
32
+ markVipColor: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ textColors: {
37
+ type: ObjectConstructor;
38
+ default: () => {
39
+ color: string;
40
+ focusColor: string;
41
+ selectColor: string;
42
+ };
43
+ };
44
+ textVipColors: {
45
+ type: ObjectConstructor;
46
+ default: () => {
47
+ color: string;
48
+ focusColor: string;
49
+ selectColor: string;
50
+ };
51
+ };
12
52
  }, {
13
53
  isVip: import("vue").Ref<boolean>;
14
54
  seriesType: import("vue").Ref<QTMediaSeriesType>;
@@ -42,6 +82,46 @@ declare const _default: import("vue").DefineComponent<{
42
82
  type: NumberConstructor;
43
83
  default: number;
44
84
  };
85
+ gradientBackground: {
86
+ type: ObjectConstructor;
87
+ default: () => {
88
+ colors: string[];
89
+ orientation: number;
90
+ cornerRadius: number;
91
+ };
92
+ };
93
+ iconGradientBackground: {
94
+ type: ObjectConstructor;
95
+ default: () => {
96
+ colors: string[];
97
+ cornerRadius: number;
98
+ orientation: number;
99
+ };
100
+ };
101
+ markColor: {
102
+ type: StringConstructor;
103
+ default: string;
104
+ };
105
+ markVipColor: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ textColors: {
110
+ type: ObjectConstructor;
111
+ default: () => {
112
+ color: string;
113
+ focusColor: string;
114
+ selectColor: string;
115
+ };
116
+ };
117
+ textVipColors: {
118
+ type: ObjectConstructor;
119
+ default: () => {
120
+ color: string;
121
+ focusColor: string;
122
+ selectColor: string;
123
+ };
124
+ };
45
125
  }>> & {
46
126
  "onLoad-data"?: ((...args: any[]) => any) | undefined;
47
127
  "onItem-click"?: ((...args: any[]) => any) | undefined;
@@ -49,5 +129,11 @@ declare const _default: import("vue").DefineComponent<{
49
129
  "onGroup-item-focused"?: ((...args: any[]) => any) | undefined;
50
130
  }, {
51
131
  itemHeight: number;
132
+ gradientBackground: Record<string, any>;
133
+ iconGradientBackground: Record<string, any>;
134
+ markColor: string;
135
+ markVipColor: string;
136
+ textColors: Record<string, any>;
137
+ textVipColors: Record<string, any>;
52
138
  }, {}>;
53
139
  export default _default;
@@ -3,12 +3,98 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ gradientBackground: {
7
+ type: ObjectConstructor;
8
+ default: () => {
9
+ colors: string[];
10
+ orientation: number;
11
+ cornerRadius: number;
12
+ };
13
+ };
14
+ iconGradientBackground: {
15
+ type: ObjectConstructor;
16
+ default: () => {
17
+ colors: string[];
18
+ cornerRadius: number;
19
+ orientation: number;
20
+ };
21
+ };
22
+ markColor: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ markVipColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ textColors: {
31
+ type: ObjectConstructor;
32
+ default: () => {
33
+ color: string;
34
+ focusColor: string;
35
+ selectColor: string;
36
+ };
37
+ };
38
+ textVipColors: {
39
+ type: ObjectConstructor;
40
+ default: () => {
41
+ color: string;
42
+ focusColor: string;
43
+ selectColor: string;
44
+ };
45
+ };
6
46
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
47
  isVip: {
8
48
  type: BooleanConstructor;
9
49
  default: boolean;
10
50
  };
51
+ gradientBackground: {
52
+ type: ObjectConstructor;
53
+ default: () => {
54
+ colors: string[];
55
+ orientation: number;
56
+ cornerRadius: number;
57
+ };
58
+ };
59
+ iconGradientBackground: {
60
+ type: ObjectConstructor;
61
+ default: () => {
62
+ colors: string[];
63
+ cornerRadius: number;
64
+ orientation: number;
65
+ };
66
+ };
67
+ markColor: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ markVipColor: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ textColors: {
76
+ type: ObjectConstructor;
77
+ default: () => {
78
+ color: string;
79
+ focusColor: string;
80
+ selectColor: string;
81
+ };
82
+ };
83
+ textVipColors: {
84
+ type: ObjectConstructor;
85
+ default: () => {
86
+ color: string;
87
+ focusColor: string;
88
+ selectColor: string;
89
+ };
90
+ };
11
91
  }>>, {
12
92
  isVip: boolean;
93
+ gradientBackground: Record<string, any>;
94
+ iconGradientBackground: Record<string, any>;
95
+ markColor: string;
96
+ markVipColor: string;
97
+ textColors: Record<string, any>;
98
+ textVipColors: Record<string, any>;
13
99
  }, {}>;
14
100
  export default _default;
@@ -3,12 +3,98 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ gradientBackground: {
7
+ type: ObjectConstructor;
8
+ default: () => {
9
+ colors: string[];
10
+ orientation: number;
11
+ cornerRadius: number;
12
+ };
13
+ };
14
+ iconGradientBackground: {
15
+ type: ObjectConstructor;
16
+ default: () => {
17
+ colors: string[];
18
+ cornerRadius: number;
19
+ orientation: number;
20
+ };
21
+ };
22
+ markColor: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ markVipColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ textColors: {
31
+ type: ObjectConstructor;
32
+ default: () => {
33
+ color: string;
34
+ focusColor: string;
35
+ selectColor: string;
36
+ };
37
+ };
38
+ textVipColors: {
39
+ type: ObjectConstructor;
40
+ default: () => {
41
+ color: string;
42
+ focusColor: string;
43
+ selectColor: string;
44
+ };
45
+ };
6
46
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
47
  isVip: {
8
48
  type: BooleanConstructor;
9
49
  default: boolean;
10
50
  };
51
+ gradientBackground: {
52
+ type: ObjectConstructor;
53
+ default: () => {
54
+ colors: string[];
55
+ orientation: number;
56
+ cornerRadius: number;
57
+ };
58
+ };
59
+ iconGradientBackground: {
60
+ type: ObjectConstructor;
61
+ default: () => {
62
+ colors: string[];
63
+ cornerRadius: number;
64
+ orientation: number;
65
+ };
66
+ };
67
+ markColor: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ markVipColor: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ textColors: {
76
+ type: ObjectConstructor;
77
+ default: () => {
78
+ color: string;
79
+ focusColor: string;
80
+ selectColor: string;
81
+ };
82
+ };
83
+ textVipColors: {
84
+ type: ObjectConstructor;
85
+ default: () => {
86
+ color: string;
87
+ focusColor: string;
88
+ selectColor: string;
89
+ };
90
+ };
11
91
  }>>, {
12
92
  isVip: boolean;
93
+ gradientBackground: Record<string, any>;
94
+ iconGradientBackground: Record<string, any>;
95
+ markColor: string;
96
+ markVipColor: string;
97
+ textColors: Record<string, any>;
98
+ textVipColors: Record<string, any>;
13
99
  }, {}>;
14
100
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",
@@ -9,12 +9,6 @@
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/index.js",
11
11
  "types": "dist/src/index.d.ts",
12
- "style": "dist/index.css",
13
- "exports": {
14
- "./global": {
15
- "types": "./global.d.ts"
16
- }
17
- },
18
12
  "keywords": [
19
13
  "native",
20
14
  "web",
@@ -22,7 +16,6 @@
22
16
  "compiler"
23
17
  ],
24
18
  "files": [
25
- "dist",
26
- "global.d.ts"
19
+ "dist"
27
20
  ]
28
21
  }
package/global.d.ts DELETED
@@ -1,9 +0,0 @@
1
- // GlobalComponents for Volar
2
- declare module "@vue/runtime-core" {
3
- export interface GlobalComponents {
4
- "qt-row": typeof import('@quicktvui/quicktvui3')['Row']
5
- }
6
- }
7
- export {};
8
-
9
-