@tmesoft/data-screen-set 0.0.3 → 0.0.5

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.
@@ -3,8 +3,264 @@ import { ComponentCustomProps } from 'vue';
3
3
  import { ComponentOptionsMixin } from 'vue';
4
4
  import { DefineComponent } from 'vue';
5
5
  import { ExtractPropTypes } from 'vue';
6
+ import { PropType } from 'vue';
6
7
  import { VNodeProps } from 'vue';
7
8
 
8
- export declare const App: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
9
+ declare enum CardType {
10
+ '数据卡' = "data-target",
11
+ '自定义卡' = "target"
12
+ }
13
+
14
+ declare interface CustomListPage {
15
+ id: number;
16
+ bigScreenVersionId: number;
17
+ type: EbigScreenCustomCardType;
18
+ name: string;
19
+ list: any[];
20
+ swiperTime?: number;
21
+ isLoop?: boolean;
22
+ volume?: boolean;
23
+ isEdit: boolean;
24
+ }
25
+
26
+ declare const _default: DefineComponent<{
27
+ customCardCoordinateList: {
28
+ type: {
29
+ (arrayLength: number): {
30
+ id: number;
31
+ detail: IbigScreenCoordinate;
32
+ }[];
33
+ (...items: {
34
+ id: number;
35
+ detail: IbigScreenCoordinate;
36
+ }[]): {
37
+ id: number;
38
+ detail: IbigScreenCoordinate;
39
+ }[];
40
+ new (arrayLength: number): {
41
+ id: number;
42
+ detail: IbigScreenCoordinate;
43
+ }[];
44
+ new (...items: {
45
+ id: number;
46
+ detail: IbigScreenCoordinate;
47
+ }[]): {
48
+ id: number;
49
+ detail: IbigScreenCoordinate;
50
+ }[];
51
+ isArray(arg: any): arg is any[];
52
+ readonly prototype: any[];
53
+ from<T>(arrayLike: ArrayLike<T>): T[];
54
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
55
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
56
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
57
+ of<T_4>(...items: T_4[]): T_4[];
58
+ readonly [Symbol.species]: ArrayConstructor;
59
+ };
60
+ default: () => never[];
61
+ };
62
+ customCardList: {
63
+ type: {
64
+ (arrayLength: number): CustomListPage[];
65
+ (...items: CustomListPage[]): CustomListPage[];
66
+ new (arrayLength: number): CustomListPage[];
67
+ new (...items: CustomListPage[]): CustomListPage[];
68
+ isArray(arg: any): arg is any[];
69
+ readonly prototype: any[];
70
+ from<T>(arrayLike: ArrayLike<T>): T[];
71
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
72
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
73
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
74
+ of<T_4>(...items: T_4[]): T_4[];
75
+ readonly [Symbol.species]: ArrayConstructor;
76
+ };
77
+ default: () => never[];
78
+ };
79
+ dataCardCoordinateList: {
80
+ type: {
81
+ (arrayLength: number): {
82
+ id: number;
83
+ detail: IbigScreenCoordinate;
84
+ }[];
85
+ (...items: {
86
+ id: number;
87
+ detail: IbigScreenCoordinate;
88
+ }[]): {
89
+ id: number;
90
+ detail: IbigScreenCoordinate;
91
+ }[];
92
+ new (arrayLength: number): {
93
+ id: number;
94
+ detail: IbigScreenCoordinate;
95
+ }[];
96
+ new (...items: {
97
+ id: number;
98
+ detail: IbigScreenCoordinate;
99
+ }[]): {
100
+ id: number;
101
+ detail: IbigScreenCoordinate;
102
+ }[];
103
+ isArray(arg: any): arg is any[];
104
+ readonly prototype: any[];
105
+ from<T>(arrayLike: ArrayLike<T>): T[];
106
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
107
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
108
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
109
+ of<T_4>(...items: T_4[]): T_4[];
110
+ readonly [Symbol.species]: ArrayConstructor;
111
+ };
112
+ default: () => never[];
113
+ };
114
+ activeId: {
115
+ type: NumberConstructor;
116
+ default: undefined;
117
+ };
118
+ activeType: {
119
+ type: PropType<CardType>;
120
+ default: undefined;
121
+ };
122
+ title: {
123
+ type: StringConstructor;
124
+ default: string;
125
+ };
126
+ }, {
127
+ setRootWidthHeight: (rootWidthHeighObject: any) => void;
128
+ setDataCardListJson: (_dataCardListJson: any) => void;
129
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
130
+ editBtnClick: (...args: any[]) => void;
131
+ addOrUpCoordinate: (...args: any[]) => void;
132
+ changeActive: (...args: any[]) => void;
133
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
134
+ customCardCoordinateList: {
135
+ type: {
136
+ (arrayLength: number): {
137
+ id: number;
138
+ detail: IbigScreenCoordinate;
139
+ }[];
140
+ (...items: {
141
+ id: number;
142
+ detail: IbigScreenCoordinate;
143
+ }[]): {
144
+ id: number;
145
+ detail: IbigScreenCoordinate;
146
+ }[];
147
+ new (arrayLength: number): {
148
+ id: number;
149
+ detail: IbigScreenCoordinate;
150
+ }[];
151
+ new (...items: {
152
+ id: number;
153
+ detail: IbigScreenCoordinate;
154
+ }[]): {
155
+ id: number;
156
+ detail: IbigScreenCoordinate;
157
+ }[];
158
+ isArray(arg: any): arg is any[];
159
+ readonly prototype: any[];
160
+ from<T>(arrayLike: ArrayLike<T>): T[];
161
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
162
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
163
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
164
+ of<T_4>(...items: T_4[]): T_4[];
165
+ readonly [Symbol.species]: ArrayConstructor;
166
+ };
167
+ default: () => never[];
168
+ };
169
+ customCardList: {
170
+ type: {
171
+ (arrayLength: number): CustomListPage[];
172
+ (...items: CustomListPage[]): CustomListPage[];
173
+ new (arrayLength: number): CustomListPage[];
174
+ new (...items: CustomListPage[]): CustomListPage[];
175
+ isArray(arg: any): arg is any[];
176
+ readonly prototype: any[];
177
+ from<T>(arrayLike: ArrayLike<T>): T[];
178
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
179
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
180
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
181
+ of<T_4>(...items: T_4[]): T_4[];
182
+ readonly [Symbol.species]: ArrayConstructor;
183
+ };
184
+ default: () => never[];
185
+ };
186
+ dataCardCoordinateList: {
187
+ type: {
188
+ (arrayLength: number): {
189
+ id: number;
190
+ detail: IbigScreenCoordinate;
191
+ }[];
192
+ (...items: {
193
+ id: number;
194
+ detail: IbigScreenCoordinate;
195
+ }[]): {
196
+ id: number;
197
+ detail: IbigScreenCoordinate;
198
+ }[];
199
+ new (arrayLength: number): {
200
+ id: number;
201
+ detail: IbigScreenCoordinate;
202
+ }[];
203
+ new (...items: {
204
+ id: number;
205
+ detail: IbigScreenCoordinate;
206
+ }[]): {
207
+ id: number;
208
+ detail: IbigScreenCoordinate;
209
+ }[];
210
+ isArray(arg: any): arg is any[];
211
+ readonly prototype: any[];
212
+ from<T>(arrayLike: ArrayLike<T>): T[];
213
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
214
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
215
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
216
+ of<T_4>(...items: T_4[]): T_4[];
217
+ readonly [Symbol.species]: ArrayConstructor;
218
+ };
219
+ default: () => never[];
220
+ };
221
+ activeId: {
222
+ type: NumberConstructor;
223
+ default: undefined;
224
+ };
225
+ activeType: {
226
+ type: PropType<CardType>;
227
+ default: undefined;
228
+ };
229
+ title: {
230
+ type: StringConstructor;
231
+ default: string;
232
+ };
233
+ }>> & {
234
+ onEditBtnClick?: ((...args: any[]) => any) | undefined;
235
+ onAddOrUpCoordinate?: ((...args: any[]) => any) | undefined;
236
+ onChangeActive?: ((...args: any[]) => any) | undefined;
237
+ }, {
238
+ title: string;
239
+ customCardCoordinateList: {
240
+ id: number;
241
+ detail: IbigScreenCoordinate;
242
+ }[];
243
+ customCardList: CustomListPage[];
244
+ dataCardCoordinateList: {
245
+ id: number;
246
+ detail: IbigScreenCoordinate;
247
+ }[];
248
+ activeId: number;
249
+ activeType: CardType;
250
+ }, {}>;
251
+ export default _default;
252
+
253
+ declare const enum EbigScreenCustomCardType {
254
+ '图片' = 1,
255
+ '视频' = 2,
256
+ '文本' = 3
257
+ }
258
+
259
+ declare interface IbigScreenCoordinate {
260
+ left: number;
261
+ width: number;
262
+ top: number;
263
+ height: number;
264
+ }
9
265
 
10
266
  export { }