UNPKG

10.7 kBTypeScriptView Raw
1/* tslint:disable */
2/**
3 * This is an autogenerated file created by the Stencil compiler.
4 * It contains typing information for all components that exist in this project.
5 */
6
7
8import './stencil.core';
9
10
11import {
12 score,
13} from './components/score-board/interfaces';
14
15
16export namespace Components {
17
18 interface PbpAngleControl {
19 'jsonOpen': boolean;
20 'onViewChange': (e: any) => void;
21 'view': string;
22 }
23 interface PbpAngleControlAttributes extends StencilHTMLAttributes {
24 'jsonOpen'?: boolean;
25 'onViewChange'?: (e: any) => void;
26 'view'?: string;
27 }
28
29 interface PbpBall {
30 'animationNumber': number;
31 'movmentSide': string;
32 'opacity': number;
33 'position': {
34 top: number
35 left: number
36 };
37 }
38 interface PbpBallAttributes extends StencilHTMLAttributes {
39 'animationNumber'?: number;
40 'movmentSide'?: string;
41 'opacity'?: number;
42 'position'?: {
43 top: number
44 left: number
45 };
46 }
47
48 interface PbpField {
49 'jsonOpen': boolean;
50 'view': "bird" | "camera" | "side";
51 }
52 interface PbpFieldAttributes extends StencilHTMLAttributes {
53 'jsonOpen'?: boolean;
54 'view'?: "bird" | "camera" | "side";
55 }
56
57 interface PbpMessageAnimate {
58 'messageText': string;
59 }
60 interface PbpMessageAnimateAttributes extends StencilHTMLAttributes {
61 'messageText'?: string;
62 }
63
64 interface PbpMessage {
65 'jsonOpen': boolean;
66 'message': {
67 date: Date;
68 text: string;
69 type?: "ERROR" | "INFO";
70 };
71 }
72 interface PbpMessageAttributes extends StencilHTMLAttributes {
73 'jsonOpen'?: boolean;
74 'message'?: {
75 date: Date;
76 text: string;
77 type?: "ERROR" | "INFO";
78 };
79 }
80
81 interface PlayByPlayWidget {
82 'fixtureid': string;
83 'onconnected': () => void;
84 'ondisconnected': () => void;
85 'onloaderror': () => void;
86 }
87 interface PlayByPlayWidgetAttributes extends StencilHTMLAttributes {
88 'fixtureid'?: string;
89 'onconnected'?: () => void;
90 'ondisconnected'?: () => void;
91 'onloaderror'?: () => void;
92 }
93
94 interface PbpPlayer {
95 'opacity': number;
96 'playerType': any;
97 'position': {
98 currTop: number;
99 currLeft: number;
100 };
101 'postionNumber': number;
102 'side': "home" | "away";
103 'view': "bird" | "camera" | "side";
104 }
105 interface PbpPlayerAttributes extends StencilHTMLAttributes {
106 'opacity'?: number;
107 'playerType'?: any;
108 'position'?: {
109 currTop: number;
110 currLeft: number;
111 };
112 'postionNumber'?: number;
113 'side'?: "home" | "away";
114 'view'?: "bird" | "camera" | "side";
115 }
116
117 interface PbpScoreBoard {
118 'jsonOpen': boolean;
119 'liveScore': score;
120 'message': {
121 date: Date;
122 text: string;
123 type?: "ERROR" | "INFO";
124 };
125 'open': boolean;
126 'playerA': string;
127 'playerB': string;
128 'score': score;
129 }
130 interface PbpScoreBoardAttributes extends StencilHTMLAttributes {
131 'jsonOpen'?: boolean;
132 'liveScore'?: score;
133 'message'?: {
134 date: Date;
135 text: string;
136 type?: "ERROR" | "INFO";
137 };
138 'open'?: boolean;
139 'playerA'?: string;
140 'playerB'?: string;
141 'score'?: score;
142 }
143
144 interface PbpLastPointsStat {
145 'open': boolean;
146 }
147 interface PbpLastPointsStatAttributes extends StencilHTMLAttributes {
148 'open'?: boolean;
149 }
150
151 interface PbpShotPlacementStat {
152 'open': boolean;
153 }
154 interface PbpShotPlacementStatAttributes extends StencilHTMLAttributes {
155 'open'?: boolean;
156 }
157
158 interface PbpStatBoard {
159 'awayPlayerName': any;
160 'homePlayerName': any;
161 'statisticsData': any;
162 }
163 interface PbpStatBoardAttributes extends StencilHTMLAttributes {
164 'awayPlayerName'?: any;
165 'homePlayerName'?: any;
166 'statisticsData'?: any;
167 }
168
169 interface PbpStatistics {
170 'awayPlayerName': any;
171 'homePlayerName': any;
172 'open': boolean;
173 'statistics': any;
174 }
175 interface PbpStatisticsAttributes extends StencilHTMLAttributes {
176 'awayPlayerName'?: any;
177 'homePlayerName'?: any;
178 'open'?: boolean;
179 'statistics'?: any;
180 }
181
182 interface PbpTrackBall {
183 'opacity': number;
184 'position': {
185 top: number
186 left: number
187 };
188 }
189 interface PbpTrackBallAttributes extends StencilHTMLAttributes {
190 'opacity'?: number;
191 'position'?: {
192 top: number
193 left: number
194 };
195 }
196
197 interface PbpTrackPlayer {
198 'opacity': number;
199 'position': {
200 top: number
201 left: number
202 };
203 'view': 'bird' | 'camera' | 'side';
204 }
205 interface PbpTrackPlayerAttributes extends StencilHTMLAttributes {
206 'opacity'?: number;
207 'position'?: {
208 top: number
209 left: number
210 };
211 'view'?: 'bird' | 'camera' | 'side';
212 }
213}
214
215declare global {
216 interface StencilElementInterfaces {
217 'PbpAngleControl': Components.PbpAngleControl;
218 'PbpBall': Components.PbpBall;
219 'PbpField': Components.PbpField;
220 'PbpMessageAnimate': Components.PbpMessageAnimate;
221 'PbpMessage': Components.PbpMessage;
222 'PlayByPlayWidget': Components.PlayByPlayWidget;
223 'PbpPlayer': Components.PbpPlayer;
224 'PbpScoreBoard': Components.PbpScoreBoard;
225 'PbpLastPointsStat': Components.PbpLastPointsStat;
226 'PbpShotPlacementStat': Components.PbpShotPlacementStat;
227 'PbpStatBoard': Components.PbpStatBoard;
228 'PbpStatistics': Components.PbpStatistics;
229 'PbpTrackBall': Components.PbpTrackBall;
230 'PbpTrackPlayer': Components.PbpTrackPlayer;
231 }
232
233 interface StencilIntrinsicElements {
234 'pbp-angle-control': Components.PbpAngleControlAttributes;
235 'pbp-ball': Components.PbpBallAttributes;
236 'pbp-field': Components.PbpFieldAttributes;
237 'pbp-message-animate': Components.PbpMessageAnimateAttributes;
238 'pbp-message': Components.PbpMessageAttributes;
239 'play-by-play-widget': Components.PlayByPlayWidgetAttributes;
240 'pbp-player': Components.PbpPlayerAttributes;
241 'pbp-score-board': Components.PbpScoreBoardAttributes;
242 'pbp-last-points-stat': Components.PbpLastPointsStatAttributes;
243 'pbp-shot-placement-stat': Components.PbpShotPlacementStatAttributes;
244 'pbp-stat-board': Components.PbpStatBoardAttributes;
245 'pbp-statistics': Components.PbpStatisticsAttributes;
246 'pbp-track-ball': Components.PbpTrackBallAttributes;
247 'pbp-track-player': Components.PbpTrackPlayerAttributes;
248 }
249
250
251 interface HTMLPbpAngleControlElement extends Components.PbpAngleControl, HTMLStencilElement {}
252 var HTMLPbpAngleControlElement: {
253 prototype: HTMLPbpAngleControlElement;
254 new (): HTMLPbpAngleControlElement;
255 };
256
257 interface HTMLPbpBallElement extends Components.PbpBall, HTMLStencilElement {}
258 var HTMLPbpBallElement: {
259 prototype: HTMLPbpBallElement;
260 new (): HTMLPbpBallElement;
261 };
262
263 interface HTMLPbpFieldElement extends Components.PbpField, HTMLStencilElement {}
264 var HTMLPbpFieldElement: {
265 prototype: HTMLPbpFieldElement;
266 new (): HTMLPbpFieldElement;
267 };
268
269 interface HTMLPbpMessageAnimateElement extends Components.PbpMessageAnimate, HTMLStencilElement {}
270 var HTMLPbpMessageAnimateElement: {
271 prototype: HTMLPbpMessageAnimateElement;
272 new (): HTMLPbpMessageAnimateElement;
273 };
274
275 interface HTMLPbpMessageElement extends Components.PbpMessage, HTMLStencilElement {}
276 var HTMLPbpMessageElement: {
277 prototype: HTMLPbpMessageElement;
278 new (): HTMLPbpMessageElement;
279 };
280
281 interface HTMLPlayByPlayWidgetElement extends Components.PlayByPlayWidget, HTMLStencilElement {}
282 var HTMLPlayByPlayWidgetElement: {
283 prototype: HTMLPlayByPlayWidgetElement;
284 new (): HTMLPlayByPlayWidgetElement;
285 };
286
287 interface HTMLPbpPlayerElement extends Components.PbpPlayer, HTMLStencilElement {}
288 var HTMLPbpPlayerElement: {
289 prototype: HTMLPbpPlayerElement;
290 new (): HTMLPbpPlayerElement;
291 };
292
293 interface HTMLPbpScoreBoardElement extends Components.PbpScoreBoard, HTMLStencilElement {}
294 var HTMLPbpScoreBoardElement: {
295 prototype: HTMLPbpScoreBoardElement;
296 new (): HTMLPbpScoreBoardElement;
297 };
298
299 interface HTMLPbpLastPointsStatElement extends Components.PbpLastPointsStat, HTMLStencilElement {}
300 var HTMLPbpLastPointsStatElement: {
301 prototype: HTMLPbpLastPointsStatElement;
302 new (): HTMLPbpLastPointsStatElement;
303 };
304
305 interface HTMLPbpShotPlacementStatElement extends Components.PbpShotPlacementStat, HTMLStencilElement {}
306 var HTMLPbpShotPlacementStatElement: {
307 prototype: HTMLPbpShotPlacementStatElement;
308 new (): HTMLPbpShotPlacementStatElement;
309 };
310
311 interface HTMLPbpStatBoardElement extends Components.PbpStatBoard, HTMLStencilElement {}
312 var HTMLPbpStatBoardElement: {
313 prototype: HTMLPbpStatBoardElement;
314 new (): HTMLPbpStatBoardElement;
315 };
316
317 interface HTMLPbpStatisticsElement extends Components.PbpStatistics, HTMLStencilElement {}
318 var HTMLPbpStatisticsElement: {
319 prototype: HTMLPbpStatisticsElement;
320 new (): HTMLPbpStatisticsElement;
321 };
322
323 interface HTMLPbpTrackBallElement extends Components.PbpTrackBall, HTMLStencilElement {}
324 var HTMLPbpTrackBallElement: {
325 prototype: HTMLPbpTrackBallElement;
326 new (): HTMLPbpTrackBallElement;
327 };
328
329 interface HTMLPbpTrackPlayerElement extends Components.PbpTrackPlayer, HTMLStencilElement {}
330 var HTMLPbpTrackPlayerElement: {
331 prototype: HTMLPbpTrackPlayerElement;
332 new (): HTMLPbpTrackPlayerElement;
333 };
334
335 interface HTMLElementTagNameMap {
336 'pbp-angle-control': HTMLPbpAngleControlElement
337 'pbp-ball': HTMLPbpBallElement
338 'pbp-field': HTMLPbpFieldElement
339 'pbp-message-animate': HTMLPbpMessageAnimateElement
340 'pbp-message': HTMLPbpMessageElement
341 'play-by-play-widget': HTMLPlayByPlayWidgetElement
342 'pbp-player': HTMLPbpPlayerElement
343 'pbp-score-board': HTMLPbpScoreBoardElement
344 'pbp-last-points-stat': HTMLPbpLastPointsStatElement
345 'pbp-shot-placement-stat': HTMLPbpShotPlacementStatElement
346 'pbp-stat-board': HTMLPbpStatBoardElement
347 'pbp-statistics': HTMLPbpStatisticsElement
348 'pbp-track-ball': HTMLPbpTrackBallElement
349 'pbp-track-player': HTMLPbpTrackPlayerElement
350 }
351
352 interface ElementTagNameMap {
353 'pbp-angle-control': HTMLPbpAngleControlElement;
354 'pbp-ball': HTMLPbpBallElement;
355 'pbp-field': HTMLPbpFieldElement;
356 'pbp-message-animate': HTMLPbpMessageAnimateElement;
357 'pbp-message': HTMLPbpMessageElement;
358 'play-by-play-widget': HTMLPlayByPlayWidgetElement;
359 'pbp-player': HTMLPbpPlayerElement;
360 'pbp-score-board': HTMLPbpScoreBoardElement;
361 'pbp-last-points-stat': HTMLPbpLastPointsStatElement;
362 'pbp-shot-placement-stat': HTMLPbpShotPlacementStatElement;
363 'pbp-stat-board': HTMLPbpStatBoardElement;
364 'pbp-statistics': HTMLPbpStatisticsElement;
365 'pbp-track-ball': HTMLPbpTrackBallElement;
366 'pbp-track-player': HTMLPbpTrackPlayerElement;
367 }
368
369
370}