@arcware-cloud/pixelstreaming-websdk 1.2.13 → 1.2.14

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 (41) hide show
  1. package/index.cjs.js +2 -3
  2. package/index.esm.js +1 -3
  3. package/index.umd.js +2 -3
  4. package/package.json +2 -2
  5. package/types/index.d.ts +0 -3
  6. package/types/lib/ApplyUrlHack.d.ts +0 -2
  7. package/types/lib/ArcwareApplication.d.ts +0 -48
  8. package/types/lib/ArcwareConfig.d.ts +0 -35
  9. package/types/lib/ArcwareInit.d.ts +0 -15
  10. package/types/lib/ArcwarePixelStreaming.d.ts +0 -97
  11. package/types/lib/MessageTypes.d.ts +0 -4
  12. package/types/lib/domain/ArcwareSettingsSchema.d.ts +0 -209
  13. package/types/lib/domain/ConnectionIdentifier.d.ts +0 -27
  14. package/types/lib/domain/EventHandler.d.ts +0 -11
  15. package/types/lib/domain/Session.d.ts +0 -29
  16. package/types/lib/domain/Stats.d.ts +0 -36
  17. package/types/lib/domain/debounce.d.ts +0 -1
  18. package/types/lib/index.d.ts +0 -6
  19. package/types/lib/styles/ArcwarePixelStreamingApplicationStyles.d.ts +0 -478
  20. package/types/lib/ui/ArcwareLogoLoader/index.d.ts +0 -6
  21. package/types/lib/ui/AudioButton/AudioIcon.d.ts +0 -7
  22. package/types/lib/ui/AudioButton/index.d.ts +0 -15
  23. package/types/lib/ui/LoveLetters/index.d.ts +0 -6
  24. package/types/lib/ui/MicButton/index.d.ts +0 -14
  25. package/types/lib/ui/MicIcon/index.d.ts +0 -7
  26. package/types/lib/ui/MicrophoneOverlay/index.d.ts +0 -11
  27. package/types/lib/ui/PlayIcon/index.d.ts +0 -5
  28. package/types/lib/ui/StopButton/index.d.ts +0 -16
  29. package/types/lib/ui/StopIcon/index.d.ts +0 -5
  30. package/types/shared/index.d.ts +0 -1
  31. package/types/shared/lib/Messages/ErrorMessage.d.ts +0 -18
  32. package/types/shared/lib/Messages/LoveLetter.d.ts +0 -18
  33. package/types/shared/lib/Messages/Ping.d.ts +0 -15
  34. package/types/shared/lib/Messages/Queue.d.ts +0 -58
  35. package/types/shared/lib/Messages/SessionId.d.ts +0 -12
  36. package/types/shared/lib/Messages/Stats.d.ts +0 -182
  37. package/types/shared/lib/Messages/StreamInfo.d.ts +0 -338
  38. package/types/shared/lib/Messages/Version.d.ts +0 -12
  39. package/types/shared/lib/Messages/WebSdkSettings.d.ts +0 -96
  40. package/types/shared/lib/Messages/index.d.ts +0 -192
  41. package/types/shared/lib/index.d.ts +0 -1
@@ -1,478 +0,0 @@
1
- export declare const ArcwareStyles: {
2
- customStyles: {
3
- ":root": {
4
- "--color0": string;
5
- "--color1": string;
6
- "--color2": string;
7
- "--color3": string;
8
- "--color4": string;
9
- "--color5": string;
10
- "--color6": string;
11
- "--color7": string;
12
- "--color8": string;
13
- "--color9": string;
14
- "--color10": string;
15
- "--color11": string;
16
- "--color12": string;
17
- "--color13": string;
18
- "--colorBoxShadow": string;
19
- };
20
- "#playerUI *": {
21
- fontFamily: string;
22
- };
23
- "#shared-stream-container": {
24
- boxSizing: string;
25
- };
26
- "#shared-stream-container::-webkit-scrollbar": {
27
- width: string;
28
- };
29
- "#shared-stream-container::-webkit-scrollbar-track": {
30
- background: string;
31
- opacity: string;
32
- borderRadius: string;
33
- borderTop: string;
34
- borderRight: string;
35
- borderBottom: string;
36
- borderLeft: string;
37
- };
38
- "#shared-stream-container::-webkit-scrollbar-track-piece": {
39
- background: string;
40
- };
41
- "#shared-stream-container::-webkit-scrollbar-thumb": {
42
- background: string;
43
- width: string;
44
- borderRight: string;
45
- borderLeft: string;
46
- transition: string;
47
- borderRadius: string;
48
- };
49
- "#shared-stream-container::-webkit-scrollbar-thumb:hover": {
50
- transition: string;
51
- background: string;
52
- };
53
- "#playerUI, #videoElementParent": {
54
- position: string;
55
- width: string;
56
- height: string;
57
- maxWidth: string;
58
- maxHeight: string;
59
- top: number;
60
- right: number;
61
- bottom: number;
62
- left: number;
63
- margin: string;
64
- boxSizing: string;
65
- pointerEvents: string;
66
- };
67
- "#streamingVideo": {
68
- maxWidth: string;
69
- maxHeight: string;
70
- boxSizing: string;
71
- background: string;
72
- };
73
- "#uiFeatures #controls": {
74
- top: string;
75
- left: string;
76
- bottom: string;
77
- right: string;
78
- display: string;
79
- flexDirection: string;
80
- };
81
- "#uiFeatures #connection": {
82
- bottom: string;
83
- left: string;
84
- width: string;
85
- heihgt: string;
86
- };
87
- "#uiFeatures button": {
88
- backgroundColor: string;
89
- border: string;
90
- position: string;
91
- width: string;
92
- height: string;
93
- padding: string;
94
- textAlign: string;
95
- cursor: string;
96
- display: string;
97
- flexDirection: string;
98
- justifyContent: string;
99
- alignItems: string;
100
- boxShadow: string;
101
- borderRadius: string;
102
- outline: string;
103
- };
104
- "#uiFeatures button:hover, #uiFeatures button:active": {
105
- padding: string;
106
- border: string;
107
- };
108
- "#uiFeatures button #audioIconMuted, #uiFeatures button #audioIconUnmuted, #uiFeatures button #micIconMuted, #uiFeatures button #micIconUnmuted": {
109
- width: string;
110
- height: string;
111
- };
112
- "#uiFeatures button #maximizeIcon, #uiFeatures button #minimizeIcon": {
113
- width: string;
114
- height: string;
115
- };
116
- "#stopIcon, #playIcon": {
117
- width: string;
118
- height: string;
119
- };
120
- "#uiFeatures button .tooltiptext": {
121
- right: string;
122
- left: string;
123
- boxShadow: string;
124
- borderRadius: string;
125
- backgroundColor: string;
126
- width: string;
127
- visibility: string;
128
- };
129
- "@media (hover: hover) and (pointer: fine)": {
130
- "#uiFeatures button:hover .tooltiptext": {
131
- visibility: string;
132
- };
133
- };
134
- "#controls>*": {
135
- marginBottom: string;
136
- display: string;
137
- lineHeight: string;
138
- padding: string;
139
- backgroundColor: string;
140
- };
141
- "#uiFeatures #settingsIcon, #uiFeatures #statsIcon": {
142
- width: string;
143
- height: string;
144
- };
145
- ".svgIcon": {
146
- fill: string;
147
- };
148
- "#uiFeatures button:hover .svgIcon, #uiFeatures button:active .svgIcon": {
149
- fill: string;
150
- };
151
- ".tgl-switch .tgl-slider, .tgl-flat:checked+.tgl-slider": {
152
- border: string;
153
- };
154
- ".tgl-switch .tgl-slider": {
155
- background: string;
156
- };
157
- ".tgl-switch .tgl-slider::before": {
158
- content: string;
159
- display: string;
160
- background: string;
161
- position: string;
162
- height: string;
163
- width: string;
164
- borderRadius: string;
165
- margin: string;
166
- top: string;
167
- bottom: string;
168
- left: string;
169
- right: string;
170
- };
171
- ".tgl-switch .tgl-slider::after": {
172
- height: string;
173
- width: string;
174
- borderRadius: string;
175
- top: string;
176
- left: string;
177
- };
178
- ".tgl-flat:checked+.tgl-slider:after": {
179
- left: string;
180
- background: string;
181
- };
182
- ".form-control": {
183
- backgroundColor: string;
184
- border: string;
185
- borderRadius: string;
186
- color: string;
187
- textAlign: string;
188
- fontFamily: string;
189
- padding: string;
190
- };
191
- ".btn-flat": {
192
- background: string;
193
- color: string;
194
- border: string;
195
- padding: string;
196
- cursor: string;
197
- borderRadius: string;
198
- textTransform: string;
199
- minWidth: string;
200
- };
201
- ".btn-flat:disabled": {
202
- background: string;
203
- borderColor: string;
204
- color: string;
205
- cursor: string;
206
- };
207
- ".btn-flat:focus": {
208
- outline: string;
209
- };
210
- ".arcware-logo-loader": {
211
- position: string;
212
- display: string;
213
- width: string;
214
- height: string;
215
- };
216
- "#playOverlay img#playButton": {
217
- width: string;
218
- };
219
- "#disconnectOverlay, #errorOverlay": {
220
- textTransform: string;
221
- textAlign: string;
222
- fontSize: string;
223
- lineHeight: number;
224
- };
225
- "#disconnectOverlay .clickableState": {
226
- textTransform: string;
227
- textAlign: string;
228
- color: string;
229
- padding: string;
230
- fontSize: string;
231
- border: string;
232
- margin: string;
233
- width: string;
234
- };
235
- "#afkOverlay": {
236
- background: string;
237
- transition: string;
238
- opacity: number;
239
- pointerEvents: string;
240
- };
241
- "#afkOverlayInner": {
242
- textTransform: string;
243
- background: string;
244
- padding: string;
245
- fontSize: string;
246
- width: string;
247
- textAlign: string;
248
- lineHeight: number;
249
- };
250
- "#afkOverlayInner center::first-line": {
251
- textTransform: string;
252
- color: string;
253
- fontWeight: string;
254
- fontSize: string;
255
- };
256
- "#afkOverlayInner #afkCountDownNumber": {
257
- color: string;
258
- fontSize: string;
259
- lineHeight: string;
260
- };
261
- "#afkOverlayInner center .retry-button": {
262
- textTransform: string;
263
- textAlign: string;
264
- color: string;
265
- padding: string;
266
- fontSize: string;
267
- border: string;
268
- margin: string;
269
- width: string;
270
- };
271
- "#connectOverlay #connectButton": {
272
- textTransform: string;
273
- textAlign: string;
274
- color: string;
275
- padding: string;
276
- fontSize: string;
277
- border: string;
278
- margin: string;
279
- width: string;
280
- };
281
- "#connectOverlay .connection-text": {
282
- textTransform: string;
283
- textAlign: string;
284
- margin: string;
285
- };
286
- "#connectOverlay .connection-text .title": {
287
- color: string;
288
- fontSize: string;
289
- margin: string;
290
- };
291
- "#connectOverlay .connection-text .subtitle": {
292
- color: string;
293
- opacity: number;
294
- fontSize: string;
295
- margin: string;
296
- };
297
- "#infoOverlay.hiddenState": {
298
- display: string;
299
- };
300
- "#disconnectOverlay, #playOverlay, #errorOverlay, #microphoneOverlay, #connectOverlay": {
301
- background: string;
302
- display: string;
303
- transition: string;
304
- opacity: number;
305
- pointerEvents: string;
306
- };
307
- "#microphoneOverlay": {
308
- textTransform: string;
309
- padding: string;
310
- fontSize: string;
311
- height: string;
312
- width: string;
313
- textAlign: string;
314
- lineHeight: number;
315
- position: string;
316
- margin: string;
317
- top: string;
318
- bottom: string;
319
- left: string;
320
- right: string;
321
- justifyContent: string;
322
- alignItems: string;
323
- flexDirection: string;
324
- zIndex: number;
325
- };
326
- "#microphoneOverlay .title": {
327
- fontSize: string;
328
- position: string;
329
- marginBottom: string;
330
- color: string;
331
- };
332
- "#microphoneOverlay .title:after": {
333
- content: string;
334
- display: string;
335
- animation: string;
336
- position: string;
337
- };
338
- "#microphoneOverlay p": {
339
- margin: number;
340
- color: string;
341
- };
342
- "#microphoneOverlay svg": {
343
- height: string;
344
- marginBottom: string;
345
- marginTop: string;
346
- };
347
- "#microphoneOverlay .svgIcon": {
348
- fill: string;
349
- };
350
- "#disconnectOverlay.hiddenState, #playOverlay.hiddenState, #errorOverlay.hiddenState, #afkOverlay.hiddenState, #microphoneOverlay.hiddenState": {
351
- opacity: number;
352
- pointerEvents: string;
353
- };
354
- "#disconnectOverlay.mic-overlay-is-visible, #errorOverlay.mic-overlay-is-visible, #infoOverlay.mic-overlay-is-visible": {
355
- opacity: number;
356
- pointerEvents: string;
357
- };
358
- "#infoOverlay.hiddenState, #connectOverlay.hiddenState": {
359
- display: string;
360
- };
361
- "#connectOverlay": {
362
- display: string;
363
- flexDirection: string;
364
- alignItems: string;
365
- justifyContent: string;
366
- };
367
- "#infoOverlay": {
368
- display: string;
369
- };
370
- ".love-letters-box-root": {
371
- display: string;
372
- position: string;
373
- width: string;
374
- height: string;
375
- color: string;
376
- justifyContent: string;
377
- alignItems: string;
378
- flexDirection: string;
379
- background: string;
380
- zIndex: number;
381
- };
382
- ".love-letters-box-root.fade-out": {
383
- opacity: number;
384
- transition: string;
385
- };
386
- "#letters-block": {
387
- position: string;
388
- top: number;
389
- left: number;
390
- right: number;
391
- bottom: number;
392
- margin: string;
393
- color: string;
394
- zIndex: number;
395
- display: string;
396
- flexDirection: string;
397
- justifyContent: string;
398
- alignItems: string;
399
- fontSize: string;
400
- textTransform: string;
401
- textAlign: string;
402
- };
403
- "#letters-wrapper": {
404
- height: string;
405
- overflow: string;
406
- position: string;
407
- display: string;
408
- flexDirection: string;
409
- alignItems: string;
410
- justifyContent: string;
411
- marginTop: string;
412
- paddingBottom: string;
413
- };
414
- "#letters-wrapper p": {
415
- textAlign: string;
416
- lineHeight: number;
417
- fontSize: string;
418
- };
419
- ".letter-animation:nth-last-of-type(1)::after": {
420
- display: string;
421
- animation: string;
422
- content: string;
423
- position: string;
424
- };
425
- ".letter-animation": {
426
- transition: string;
427
- transformOrigin: string;
428
- margin: string;
429
- };
430
- ".letter-animation-enter": {
431
- animation: string;
432
- };
433
- ".letter-animation-exit": {
434
- opacity: number;
435
- scale: number;
436
- transition: string;
437
- margin: number;
438
- };
439
- "@keyframes dotty": {
440
- "0%": {
441
- content: string;
442
- };
443
- "25%": {
444
- content: string;
445
- };
446
- "50%": {
447
- content: string;
448
- };
449
- "75%": {
450
- content: string;
451
- };
452
- "100%": {
453
- content: string;
454
- };
455
- };
456
- "@keyframes fadeInUp": {
457
- from: {
458
- opacity: number;
459
- transform: string;
460
- scale: number;
461
- };
462
- to: {
463
- opacity: number;
464
- transform: string;
465
- scale: number;
466
- };
467
- };
468
- ".hidden": {
469
- display: string;
470
- opacity: number;
471
- };
472
- ".visible": {
473
- display: string;
474
- opacity: number;
475
- transition: string;
476
- };
477
- };
478
- };
@@ -1,6 +0,0 @@
1
- export declare class ArcwareLogoLoader {
2
- arcwareLogoLoader: HTMLDivElement;
3
- constructor();
4
- private createArcwareLogoLoader;
5
- private getSvg;
6
- }
@@ -1,7 +0,0 @@
1
- export declare class AudioIcon {
2
- audioIconUnmuted: SVGElement;
3
- audioIconMuted: SVGElement;
4
- constructor();
5
- private createAudioIconUnmuted;
6
- private createAudioIconMuted;
7
- }
@@ -1,15 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class AudioButton {
3
- private button;
4
- private stream;
5
- private audioIcon;
6
- private tooltipText;
7
- constructor(stream: ArcwarePixelStreaming);
8
- private setAudioMutedByDefault;
9
- private createButton;
10
- private createTooltipText;
11
- private toggleAudio;
12
- private updateAudioIcon;
13
- get element(): HTMLButtonElement;
14
- private onVolumeChange;
15
- }
@@ -1,6 +0,0 @@
1
- export declare class LoveLetters {
2
- loveLettersRoot: HTMLElement | null;
3
- constructor();
4
- addLetter(letter: string, listLength: number): void;
5
- updateOpacity(listLength: number): void;
6
- }
@@ -1,14 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class MicButton {
3
- private button;
4
- private stream;
5
- private micIcon;
6
- private tooltipText;
7
- constructor(stream: ArcwarePixelStreaming);
8
- private setMicMutedByDefault;
9
- private createButton;
10
- private createTooltipText;
11
- private toggleMic;
12
- private updateMicIcon;
13
- get element(): HTMLButtonElement;
14
- }
@@ -1,7 +0,0 @@
1
- export declare class MicIcon {
2
- micIconUnmuted: SVGElement;
3
- micIconMuted: SVGElement;
4
- constructor();
5
- private createMicIconUnmuted;
6
- private createMicIconMuted;
7
- }
@@ -1,11 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class MicrophoneOverlay {
3
- private overlay;
4
- private parentElement;
5
- private micIcon;
6
- private stream;
7
- constructor(stream: ArcwarePixelStreaming);
8
- createOverlay(): void;
9
- toggleMessage(enabled: boolean): void;
10
- toggleVisibility(visible: boolean): void;
11
- }
@@ -1,5 +0,0 @@
1
- export declare class PlayIcon {
2
- playIcon: SVGElement;
3
- constructor();
4
- private createPlayIcon;
5
- }
@@ -1,16 +0,0 @@
1
- import { ArcwarePixelStreaming } from "../../ArcwarePixelStreaming";
2
- export declare class StopButton {
3
- private button;
4
- private stream;
5
- private stopIcon;
6
- private playIcon;
7
- private tooltipText;
8
- private isStreaming;
9
- constructor(stream: ArcwarePixelStreaming);
10
- private createButton;
11
- private createTooltipText;
12
- private toggleStreaming;
13
- private updateButtonIcon;
14
- get element(): HTMLButtonElement;
15
- private updateButtonState;
16
- }
@@ -1,5 +0,0 @@
1
- export declare class StopIcon {
2
- stopIcon: SVGElement;
3
- constructor();
4
- private createStopIcon;
5
- }
@@ -1 +0,0 @@
1
- export * from "./lib";
@@ -1,18 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZErrorMessage: z.ZodObject<{
3
- type: z.ZodLiteral<"error">;
4
- code: z.ZodNumber;
5
- reason: z.ZodString;
6
- verbosity: z.ZodNumber;
7
- }, "strip", z.ZodTypeAny, {
8
- type?: "error";
9
- code?: number;
10
- reason?: string;
11
- verbosity?: number;
12
- }, {
13
- type?: "error";
14
- code?: number;
15
- reason?: string;
16
- verbosity?: number;
17
- }>;
18
- export type ErrorMessage = z.infer<typeof ZErrorMessage>;
@@ -1,18 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZLoveLetter: z.ZodObject<{
3
- type: z.ZodLiteral<"letter">;
4
- reason: z.ZodString;
5
- code: z.ZodNumber;
6
- verbosity: z.ZodNumber;
7
- }, "strip", z.ZodTypeAny, {
8
- type?: "letter";
9
- reason?: string;
10
- code?: number;
11
- verbosity?: number;
12
- }, {
13
- type?: "letter";
14
- reason?: string;
15
- code?: number;
16
- verbosity?: number;
17
- }>;
18
- export type LoveLetter = z.infer<typeof ZLoveLetter>;
@@ -1,15 +0,0 @@
1
- import { z } from "zod";
2
- export declare const ZPing: z.ZodObject<{
3
- type: z.ZodLiteral<"ping">;
4
- message: z.ZodOptional<z.ZodString>;
5
- time: z.ZodNumber;
6
- }, "strip", z.ZodTypeAny, {
7
- type?: "ping";
8
- message?: string;
9
- time?: number;
10
- }, {
11
- type?: "ping";
12
- message?: string;
13
- time?: number;
14
- }>;
15
- export type Ping = z.infer<typeof ZPing>;