@aarsteinmedia/dotlottie-player 2.2.9 → 2.2.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.
@@ -0,0 +1,1276 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/index.ts",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "js",
12
+ "name": "DotLottiePlayer",
13
+ "declaration": {
14
+ "name": "DotLottiePlayer",
15
+ "module": "src/index.ts"
16
+ }
17
+ },
18
+ {
19
+ "kind": "js",
20
+ "name": "PlayMode",
21
+ "declaration": {
22
+ "name": "PlayMode",
23
+ "module": "./component/utils"
24
+ }
25
+ },
26
+ {
27
+ "kind": "js",
28
+ "name": "PlayerEvents",
29
+ "declaration": {
30
+ "name": "PlayerEvents",
31
+ "module": "./component/utils"
32
+ }
33
+ },
34
+ {
35
+ "kind": "js",
36
+ "name": "PlayerState",
37
+ "declaration": {
38
+ "name": "PlayerState",
39
+ "module": "./component/utils"
40
+ }
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "kind": "javascript-module",
46
+ "path": "src/component/index.ts",
47
+ "declarations": [
48
+ {
49
+ "kind": "class",
50
+ "description": "dotLottie Player Web Component",
51
+ "name": "DotLottiePlayer",
52
+ "members": [
53
+ {
54
+ "kind": "field",
55
+ "name": "autoplay",
56
+ "type": {
57
+ "text": "Autoplay | undefined"
58
+ },
59
+ "description": "Autoplay",
60
+ "attribute": "autoplay",
61
+ "reflects": true
62
+ },
63
+ {
64
+ "kind": "field",
65
+ "name": "background",
66
+ "type": {
67
+ "text": "string | undefined"
68
+ },
69
+ "default": "'transparent'",
70
+ "description": "Background color",
71
+ "attribute": "background"
72
+ },
73
+ {
74
+ "kind": "field",
75
+ "name": "controls",
76
+ "type": {
77
+ "text": "Controls | undefined"
78
+ },
79
+ "default": "false",
80
+ "description": "Display controls",
81
+ "attribute": "controls",
82
+ "reflects": true
83
+ },
84
+ {
85
+ "kind": "field",
86
+ "name": "count",
87
+ "type": {
88
+ "text": "number | undefined"
89
+ },
90
+ "description": "Number of times to loop",
91
+ "attribute": "count"
92
+ },
93
+ {
94
+ "kind": "field",
95
+ "name": "currentState",
96
+ "type": {
97
+ "text": "PlayerState | undefined"
98
+ },
99
+ "description": "Player state",
100
+ "attribute": "currentState"
101
+ },
102
+ {
103
+ "kind": "field",
104
+ "name": "description",
105
+ "type": {
106
+ "text": "string | undefined"
107
+ },
108
+ "description": "Description for screen readers",
109
+ "attribute": "description"
110
+ },
111
+ {
112
+ "kind": "field",
113
+ "name": "direction",
114
+ "type": {
115
+ "text": "AnimationDirection | undefined"
116
+ },
117
+ "default": "1",
118
+ "description": "Direction of animation",
119
+ "attribute": "direction"
120
+ },
121
+ {
122
+ "kind": "field",
123
+ "name": "hover",
124
+ "type": {
125
+ "text": "boolean"
126
+ },
127
+ "default": "false",
128
+ "description": "Whether to play on mouseover",
129
+ "attribute": "hover"
130
+ },
131
+ {
132
+ "kind": "field",
133
+ "name": "intermission",
134
+ "type": {
135
+ "text": "number"
136
+ },
137
+ "default": "0",
138
+ "description": "Intermission",
139
+ "attribute": "intermission"
140
+ },
141
+ {
142
+ "kind": "field",
143
+ "name": "loop",
144
+ "type": {
145
+ "text": "Loop | undefined"
146
+ },
147
+ "default": "false",
148
+ "description": "Whether to loop",
149
+ "attribute": "loop",
150
+ "reflects": true
151
+ },
152
+ {
153
+ "kind": "field",
154
+ "name": "mode",
155
+ "type": {
156
+ "text": "PlayMode | undefined"
157
+ },
158
+ "description": "Play mode",
159
+ "attribute": "mode"
160
+ },
161
+ {
162
+ "kind": "field",
163
+ "name": "multiAnimationSettings",
164
+ "type": {
165
+ "text": "AnimationSettings[] | undefined"
166
+ },
167
+ "description": "Multi-animation settings\nIf set, these will override conflicting settings",
168
+ "attribute": "multiAnimationSettings"
169
+ },
170
+ {
171
+ "kind": "field",
172
+ "name": "objectfit",
173
+ "type": {
174
+ "text": "ObjectFit | undefined"
175
+ },
176
+ "default": "'contain'",
177
+ "description": "Resizing to container",
178
+ "attribute": "objectfit"
179
+ },
180
+ {
181
+ "kind": "field",
182
+ "name": "preserveAspectRatio",
183
+ "type": {
184
+ "text": "PreserveAspectRatio | undefined"
185
+ },
186
+ "description": "Resizing to container (Deprecated)",
187
+ "attribute": "preserveAspectRatio"
188
+ },
189
+ {
190
+ "kind": "field",
191
+ "name": "renderer",
192
+ "type": {
193
+ "text": "RendererType | undefined"
194
+ },
195
+ "default": "'svg'",
196
+ "description": "Renderer to use (svg, canvas or html)",
197
+ "attribute": "renderer"
198
+ },
199
+ {
200
+ "kind": "field",
201
+ "name": "segment",
202
+ "type": {
203
+ "text": "AnimationSegment | undefined"
204
+ },
205
+ "description": "Segment",
206
+ "attribute": "segment"
207
+ },
208
+ {
209
+ "kind": "field",
210
+ "name": "simple",
211
+ "type": {
212
+ "text": "boolean | undefined"
213
+ },
214
+ "default": "false",
215
+ "description": "Hide advanced controls",
216
+ "attribute": "simple"
217
+ },
218
+ {
219
+ "kind": "field",
220
+ "name": "speed",
221
+ "type": {
222
+ "text": "number | undefined"
223
+ },
224
+ "default": "1",
225
+ "description": "Speed",
226
+ "attribute": "speed"
227
+ },
228
+ {
229
+ "kind": "field",
230
+ "name": "src",
231
+ "type": {
232
+ "text": "string"
233
+ },
234
+ "description": "JSON/dotLottie data or URL",
235
+ "attribute": "src"
236
+ },
237
+ {
238
+ "kind": "field",
239
+ "name": "subframe",
240
+ "type": {
241
+ "text": "Subframe | undefined"
242
+ },
243
+ "default": "true",
244
+ "description": "Subframe",
245
+ "attribute": "subframe"
246
+ },
247
+ {
248
+ "kind": "field",
249
+ "name": "container",
250
+ "type": {
251
+ "text": "HTMLElement"
252
+ },
253
+ "privacy": "protected",
254
+ "description": "Animaiton Container"
255
+ },
256
+ {
257
+ "kind": "field",
258
+ "name": "_isSettingsOpen",
259
+ "type": {
260
+ "text": "boolean"
261
+ },
262
+ "privacy": "private",
263
+ "default": "false",
264
+ "description": "Whether settings toolbar is open"
265
+ },
266
+ {
267
+ "kind": "field",
268
+ "name": "_seeker",
269
+ "type": {
270
+ "text": "number"
271
+ },
272
+ "privacy": "private",
273
+ "default": "0",
274
+ "description": "Seeker"
275
+ },
276
+ {
277
+ "kind": "field",
278
+ "name": "_currentAnimation",
279
+ "type": {
280
+ "text": "number"
281
+ },
282
+ "privacy": "private",
283
+ "default": "0",
284
+ "description": "Which animation to show, if several"
285
+ },
286
+ {
287
+ "kind": "field",
288
+ "name": "_intersectionObserver",
289
+ "type": {
290
+ "text": "IntersectionObserver | undefined"
291
+ },
292
+ "privacy": "private"
293
+ },
294
+ {
295
+ "kind": "field",
296
+ "name": "_lottieInstance",
297
+ "type": {
298
+ "text": "AnimationItem | null"
299
+ },
300
+ "privacy": "private",
301
+ "default": "null"
302
+ },
303
+ {
304
+ "kind": "field",
305
+ "name": "_identifier",
306
+ "privacy": "private"
307
+ },
308
+ {
309
+ "kind": "field",
310
+ "name": "_errorMessage",
311
+ "type": {
312
+ "text": "string"
313
+ },
314
+ "privacy": "private",
315
+ "default": "'Something went wrong'"
316
+ },
317
+ {
318
+ "kind": "field",
319
+ "name": "_isBounce",
320
+ "type": {
321
+ "text": "boolean"
322
+ },
323
+ "privacy": "private",
324
+ "default": "false"
325
+ },
326
+ {
327
+ "kind": "field",
328
+ "name": "_isDotLottie",
329
+ "type": {
330
+ "text": "boolean"
331
+ },
332
+ "privacy": "private",
333
+ "default": "false"
334
+ },
335
+ {
336
+ "kind": "field",
337
+ "name": "_manifest",
338
+ "type": {
339
+ "text": "LottieManifest"
340
+ },
341
+ "privacy": "private"
342
+ },
343
+ {
344
+ "kind": "field",
345
+ "name": "_animations",
346
+ "type": {
347
+ "text": "LottieJSON[]"
348
+ },
349
+ "privacy": "private",
350
+ "description": "This is set to state, so that next-button will show up\non load, if controls are visible"
351
+ },
352
+ {
353
+ "kind": "field",
354
+ "name": "_playerState",
355
+ "type": {
356
+ "text": "object"
357
+ },
358
+ "privacy": "private",
359
+ "default": "{\n prev: PlayerState.Loading,\n count: 0,\n loaded: false,\n }"
360
+ },
361
+ {
362
+ "kind": "method",
363
+ "name": "_getOptions",
364
+ "privacy": "private",
365
+ "description": "Get options from props",
366
+ "return": {
367
+ "type": {
368
+ "text": "LottieConfig"
369
+ }
370
+ }
371
+ },
372
+ {
373
+ "kind": "method",
374
+ "name": "load",
375
+ "privacy": "public",
376
+ "parameters": [
377
+ {
378
+ "name": "src",
379
+ "type": {
380
+ "text": "string | LottieJSON"
381
+ },
382
+ "description": "URL to lottie animation, or raw JSON data"
383
+ }
384
+ ],
385
+ "description": "Initialize Lottie Web player"
386
+ },
387
+ {
388
+ "kind": "method",
389
+ "name": "getManifest",
390
+ "privacy": "public",
391
+ "description": "Get Lottie Manifest"
392
+ },
393
+ {
394
+ "kind": "method",
395
+ "name": "_addEventListeners",
396
+ "privacy": "private",
397
+ "description": "Add event listeners"
398
+ },
399
+ {
400
+ "kind": "method",
401
+ "name": "_mouseEnter",
402
+ "privacy": "private",
403
+ "description": "Handle MouseEnter"
404
+ },
405
+ {
406
+ "kind": "method",
407
+ "name": "_mouseLeave",
408
+ "privacy": "private",
409
+ "description": "Handle MouseLeave"
410
+ },
411
+ {
412
+ "kind": "method",
413
+ "name": "_onVisibilityChange",
414
+ "privacy": "private",
415
+ "description": "Handle visibility change events"
416
+ },
417
+ {
418
+ "kind": "method",
419
+ "name": "_handleSeekChange",
420
+ "privacy": "private",
421
+ "parameters": [
422
+ {
423
+ "name": "{ target }",
424
+ "type": {
425
+ "text": "Event"
426
+ }
427
+ },
428
+ {
429
+ "name": "event",
430
+ "type": {
431
+ "text": "Event & { HTMLInputElement }"
432
+ }
433
+ }
434
+ ],
435
+ "description": "Handles click and drag actions on the progress track"
436
+ },
437
+ {
438
+ "kind": "method",
439
+ "name": "_isLottie",
440
+ "privacy": "private",
441
+ "parameters": [
442
+ {
443
+ "name": "json",
444
+ "type": {
445
+ "text": "LottieJSON"
446
+ }
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "kind": "method",
452
+ "name": "addAnimation",
453
+ "privacy": "public",
454
+ "parameters": [
455
+ {
456
+ "name": "configs",
457
+ "type": {
458
+ "text": "[AnimationConfig]"
459
+ }
460
+ },
461
+ {
462
+ "name": "fileName",
463
+ "optional": true,
464
+ "type": {
465
+ "text": "string"
466
+ }
467
+ },
468
+ {
469
+ "name": "triggerDownload",
470
+ "default": "true",
471
+ "description": "Whether to trigger a download in the browser.\nIf set to false the function returns an ArrayBuffer. Defaults to true.",
472
+ "type": {
473
+ "text": "boolean"
474
+ }
475
+ }
476
+ ],
477
+ "description": "Creates a new dotLottie file, by combinig several animations"
478
+ },
479
+ {
480
+ "kind": "method",
481
+ "name": "getLottie",
482
+ "privacy": "public",
483
+ "description": "Returns the lottie-web instance used in the component"
484
+ },
485
+ {
486
+ "kind": "method",
487
+ "name": "play",
488
+ "privacy": "public",
489
+ "description": "Play"
490
+ },
491
+ {
492
+ "kind": "method",
493
+ "name": "pause",
494
+ "privacy": "public",
495
+ "description": "Pause"
496
+ },
497
+ {
498
+ "kind": "method",
499
+ "name": "stop",
500
+ "privacy": "public",
501
+ "description": "Stop"
502
+ },
503
+ {
504
+ "kind": "method",
505
+ "name": "destroy",
506
+ "privacy": "public",
507
+ "description": "Destroy animation and element"
508
+ },
509
+ {
510
+ "kind": "method",
511
+ "name": "seek",
512
+ "privacy": "public",
513
+ "parameters": [
514
+ {
515
+ "name": "value",
516
+ "type": {
517
+ "text": "number | string"
518
+ },
519
+ "description": "Frame to seek to"
520
+ }
521
+ ],
522
+ "description": "Seek to a given frame"
523
+ },
524
+ {
525
+ "kind": "method",
526
+ "name": "snapshot",
527
+ "privacy": "public",
528
+ "description": "Snapshot and download the current frame as SVG"
529
+ },
530
+ {
531
+ "kind": "method",
532
+ "name": "setSubframe",
533
+ "privacy": "public",
534
+ "parameters": [
535
+ {
536
+ "name": "value",
537
+ "type": {
538
+ "text": "boolean"
539
+ },
540
+ "description": "Whether animation uses subframe"
541
+ }
542
+ ],
543
+ "description": "Toggles subframe, for more smooth animations"
544
+ },
545
+ {
546
+ "kind": "method",
547
+ "name": "_freeze",
548
+ "privacy": "private",
549
+ "description": "Freeze animation.\nThis internal state pauses animation and is used to differentiate between\nuser requested pauses and component instigated pauses."
550
+ },
551
+ {
552
+ "kind": "method",
553
+ "name": "reload",
554
+ "privacy": "public",
555
+ "description": "Reload animation"
556
+ },
557
+ {
558
+ "kind": "method",
559
+ "name": "setSpeed",
560
+ "privacy": "public",
561
+ "parameters": [
562
+ {
563
+ "name": "value",
564
+ "default": "1",
565
+ "description": "Playback speed",
566
+ "type": {
567
+ "text": "number"
568
+ }
569
+ }
570
+ ],
571
+ "description": "Set animation playback speed"
572
+ },
573
+ {
574
+ "kind": "method",
575
+ "name": "setDirection",
576
+ "privacy": "public",
577
+ "parameters": [
578
+ {
579
+ "name": "value",
580
+ "type": {
581
+ "text": "AnimationDirection"
582
+ },
583
+ "description": "Animation direction"
584
+ }
585
+ ],
586
+ "description": "Animation play direction"
587
+ },
588
+ {
589
+ "kind": "method",
590
+ "name": "setLooping",
591
+ "privacy": "public",
592
+ "parameters": [
593
+ {
594
+ "name": "value",
595
+ "type": {
596
+ "text": "boolean"
597
+ }
598
+ }
599
+ ],
600
+ "description": "Set loop"
601
+ },
602
+ {
603
+ "kind": "method",
604
+ "name": "setMultiAnimationSettings",
605
+ "privacy": "public",
606
+ "parameters": [
607
+ {
608
+ "name": "settings",
609
+ "type": {
610
+ "text": "AnimationSettings[]"
611
+ }
612
+ }
613
+ ],
614
+ "description": "Set Multi-animation settings"
615
+ },
616
+ {
617
+ "kind": "method",
618
+ "name": "togglePlay",
619
+ "privacy": "public",
620
+ "description": "Toggle playing state"
621
+ },
622
+ {
623
+ "kind": "method",
624
+ "name": "toggleLooping",
625
+ "privacy": "public",
626
+ "description": "Toggle loop"
627
+ },
628
+ {
629
+ "kind": "method",
630
+ "name": "toggleBoomerang",
631
+ "privacy": "public",
632
+ "description": "Toggle Boomerang"
633
+ },
634
+ {
635
+ "kind": "method",
636
+ "name": "_toggleSettings",
637
+ "privacy": "private",
638
+ "parameters": [
639
+ {
640
+ "name": "flag",
641
+ "optional": true,
642
+ "type": {
643
+ "text": "boolean"
644
+ }
645
+ }
646
+ ],
647
+ "description": "Toggle show Settings"
648
+ },
649
+ {
650
+ "kind": "field",
651
+ "name": "_handleSettingsClick",
652
+ "privacy": "private",
653
+ "description": "Handle settings click event"
654
+ },
655
+ {
656
+ "kind": "method",
657
+ "name": "_handleBlur",
658
+ "privacy": "private",
659
+ "description": "Handle blur"
660
+ },
661
+ {
662
+ "kind": "method",
663
+ "name": "_switchInstance",
664
+ "privacy": "private",
665
+ "parameters": [
666
+ {
667
+ "name": "isPrevious",
668
+ "default": "false"
669
+ }
670
+ ]
671
+ },
672
+ {
673
+ "kind": "method",
674
+ "name": "next",
675
+ "privacy": "public",
676
+ "description": "Skip to next animation"
677
+ },
678
+ {
679
+ "kind": "method",
680
+ "name": "prev",
681
+ "privacy": "public",
682
+ "description": "Skip to previous animation"
683
+ },
684
+ {
685
+ "kind": "method",
686
+ "name": "convert",
687
+ "privacy": "public",
688
+ "parameters": [
689
+ {
690
+ "name": "typeCheck",
691
+ "optional": true,
692
+ "type": {
693
+ "text": "boolean | undefined"
694
+ },
695
+ "description": "External type safety"
696
+ },
697
+ {
698
+ "name": "manifest",
699
+ "optional": true,
700
+ "type": {
701
+ "text": "LottieManifest | undefined"
702
+ },
703
+ "description": "Externally added manifest"
704
+ },
705
+ {
706
+ "name": "animations",
707
+ "optional": true,
708
+ "type": {
709
+ "text": "LottieJSON[] | undefined"
710
+ },
711
+ "description": "Externally added animations"
712
+ },
713
+ {
714
+ "name": "fileName",
715
+ "optional": true,
716
+ "type": {
717
+ "text": "string"
718
+ }
719
+ },
720
+ {
721
+ "name": "download",
722
+ "default": "true",
723
+ "description": "Whether to trigger a download in the browser",
724
+ "type": {
725
+ "text": "boolean"
726
+ }
727
+ }
728
+ ],
729
+ "description": "Convert JSON Lottie to dotLottie"
730
+ },
731
+ {
732
+ "kind": "method",
733
+ "name": "renderControls",
734
+ "privacy": "protected"
735
+ }
736
+ ],
737
+ "events": [
738
+ {
739
+ "type": {
740
+ "text": "CustomEvent"
741
+ }
742
+ }
743
+ ],
744
+ "attributes": [
745
+ {
746
+ "name": "autoplay",
747
+ "type": {
748
+ "text": "Autoplay | undefined"
749
+ },
750
+ "description": "Autoplay",
751
+ "fieldName": "autoplay"
752
+ },
753
+ {
754
+ "name": "background",
755
+ "type": {
756
+ "text": "string | undefined"
757
+ },
758
+ "default": "'transparent'",
759
+ "description": "Background color",
760
+ "fieldName": "background"
761
+ },
762
+ {
763
+ "name": "controls",
764
+ "type": {
765
+ "text": "Controls | undefined"
766
+ },
767
+ "default": "false",
768
+ "description": "Display controls",
769
+ "fieldName": "controls"
770
+ },
771
+ {
772
+ "name": "count",
773
+ "type": {
774
+ "text": "number | undefined"
775
+ },
776
+ "description": "Number of times to loop",
777
+ "fieldName": "count"
778
+ },
779
+ {
780
+ "name": "currentState",
781
+ "type": {
782
+ "text": "PlayerState | undefined"
783
+ },
784
+ "description": "Player state",
785
+ "fieldName": "currentState"
786
+ },
787
+ {
788
+ "name": "description",
789
+ "type": {
790
+ "text": "string | undefined"
791
+ },
792
+ "description": "Description for screen readers",
793
+ "fieldName": "description"
794
+ },
795
+ {
796
+ "name": "direction",
797
+ "type": {
798
+ "text": "AnimationDirection | undefined"
799
+ },
800
+ "default": "1",
801
+ "description": "Direction of animation",
802
+ "fieldName": "direction"
803
+ },
804
+ {
805
+ "name": "hover",
806
+ "type": {
807
+ "text": "boolean"
808
+ },
809
+ "default": "false",
810
+ "description": "Whether to play on mouseover",
811
+ "fieldName": "hover"
812
+ },
813
+ {
814
+ "name": "intermission",
815
+ "type": {
816
+ "text": "number"
817
+ },
818
+ "default": "0",
819
+ "description": "Intermission",
820
+ "fieldName": "intermission"
821
+ },
822
+ {
823
+ "name": "loop",
824
+ "type": {
825
+ "text": "Loop | undefined"
826
+ },
827
+ "default": "false",
828
+ "description": "Whether to loop",
829
+ "fieldName": "loop"
830
+ },
831
+ {
832
+ "name": "mode",
833
+ "type": {
834
+ "text": "PlayMode | undefined"
835
+ },
836
+ "description": "Play mode",
837
+ "fieldName": "mode"
838
+ },
839
+ {
840
+ "name": "multiAnimationSettings",
841
+ "type": {
842
+ "text": "AnimationSettings[] | undefined"
843
+ },
844
+ "description": "Multi-animation settings\nIf set, these will override conflicting settings",
845
+ "fieldName": "multiAnimationSettings"
846
+ },
847
+ {
848
+ "name": "objectfit",
849
+ "type": {
850
+ "text": "ObjectFit | undefined"
851
+ },
852
+ "default": "'contain'",
853
+ "description": "Resizing to container",
854
+ "fieldName": "objectfit"
855
+ },
856
+ {
857
+ "name": "preserveAspectRatio",
858
+ "type": {
859
+ "text": "PreserveAspectRatio | undefined"
860
+ },
861
+ "description": "Resizing to container (Deprecated)",
862
+ "fieldName": "preserveAspectRatio"
863
+ },
864
+ {
865
+ "name": "renderer",
866
+ "type": {
867
+ "text": "RendererType | undefined"
868
+ },
869
+ "default": "'svg'",
870
+ "description": "Renderer to use (svg, canvas or html)",
871
+ "fieldName": "renderer"
872
+ },
873
+ {
874
+ "name": "segment",
875
+ "type": {
876
+ "text": "AnimationSegment | undefined"
877
+ },
878
+ "description": "Segment",
879
+ "fieldName": "segment"
880
+ },
881
+ {
882
+ "name": "simple",
883
+ "type": {
884
+ "text": "boolean | undefined"
885
+ },
886
+ "default": "false",
887
+ "description": "Hide advanced controls",
888
+ "fieldName": "simple"
889
+ },
890
+ {
891
+ "name": "speed",
892
+ "type": {
893
+ "text": "number | undefined"
894
+ },
895
+ "default": "1",
896
+ "description": "Speed",
897
+ "fieldName": "speed"
898
+ },
899
+ {
900
+ "name": "src",
901
+ "type": {
902
+ "text": "string"
903
+ },
904
+ "description": "JSON/dotLottie data or URL",
905
+ "fieldName": "src"
906
+ },
907
+ {
908
+ "name": "subframe",
909
+ "type": {
910
+ "text": "Subframe | undefined"
911
+ },
912
+ "default": "true",
913
+ "description": "Subframe",
914
+ "fieldName": "subframe"
915
+ }
916
+ ],
917
+ "superclass": {
918
+ "name": "LitElement",
919
+ "package": "lit"
920
+ },
921
+ "tagName": "dotlottie-player",
922
+ "customElement": true
923
+ }
924
+ ],
925
+ "exports": [
926
+ {
927
+ "kind": "js",
928
+ "name": "DotLottiePlayer",
929
+ "declaration": {
930
+ "name": "DotLottiePlayer",
931
+ "module": "src/component/index.ts"
932
+ }
933
+ },
934
+ {
935
+ "kind": "custom-element-definition",
936
+ "name": "dotlottie-player",
937
+ "declaration": {
938
+ "name": "DotLottiePlayer",
939
+ "module": "src/component/index.ts"
940
+ }
941
+ }
942
+ ]
943
+ },
944
+ {
945
+ "kind": "javascript-module",
946
+ "path": "src/component/types.ts",
947
+ "declarations": [],
948
+ "exports": []
949
+ },
950
+ {
951
+ "kind": "javascript-module",
952
+ "path": "src/component/utils.ts",
953
+ "declarations": [
954
+ {
955
+ "kind": "class",
956
+ "description": "",
957
+ "name": "CustomError",
958
+ "members": [
959
+ {
960
+ "kind": "field",
961
+ "name": "status",
962
+ "type": {
963
+ "text": "number | undefined"
964
+ }
965
+ }
966
+ ],
967
+ "superclass": {
968
+ "name": "Error",
969
+ "module": "src/component/utils.ts"
970
+ }
971
+ },
972
+ {
973
+ "kind": "function",
974
+ "name": "addExt",
975
+ "parameters": [
976
+ {
977
+ "name": "ext",
978
+ "type": {
979
+ "text": "string"
980
+ }
981
+ },
982
+ {
983
+ "name": "str",
984
+ "optional": true,
985
+ "type": {
986
+ "text": "string"
987
+ }
988
+ }
989
+ ]
990
+ },
991
+ {
992
+ "kind": "variable",
993
+ "name": "aspectRatio"
994
+ },
995
+ {
996
+ "kind": "variable",
997
+ "name": "base64ToU8"
998
+ },
999
+ {
1000
+ "kind": "variable",
1001
+ "name": "createDotLottie"
1002
+ },
1003
+ {
1004
+ "kind": "variable",
1005
+ "name": "download"
1006
+ },
1007
+ {
1008
+ "kind": "variable",
1009
+ "name": "handleErrors"
1010
+ },
1011
+ {
1012
+ "kind": "variable",
1013
+ "name": "frameOutput"
1014
+ },
1015
+ {
1016
+ "kind": "variable",
1017
+ "name": "getAnimationData"
1018
+ },
1019
+ {
1020
+ "kind": "variable",
1021
+ "name": "getArrayBuffer"
1022
+ },
1023
+ {
1024
+ "kind": "variable",
1025
+ "name": "getExt"
1026
+ },
1027
+ {
1028
+ "kind": "variable",
1029
+ "name": "getExtFromB64"
1030
+ },
1031
+ {
1032
+ "kind": "variable",
1033
+ "name": "getFilename"
1034
+ },
1035
+ {
1036
+ "kind": "variable",
1037
+ "name": "getLottieJSON"
1038
+ },
1039
+ {
1040
+ "kind": "variable",
1041
+ "name": "getManifest"
1042
+ },
1043
+ {
1044
+ "kind": "variable",
1045
+ "name": "getMimeFromExt"
1046
+ },
1047
+ {
1048
+ "kind": "variable",
1049
+ "name": "hasExt"
1050
+ },
1051
+ {
1052
+ "kind": "variable",
1053
+ "name": "isAudio"
1054
+ },
1055
+ {
1056
+ "kind": "variable",
1057
+ "name": "isImage"
1058
+ },
1059
+ {
1060
+ "kind": "variable",
1061
+ "name": "isServer"
1062
+ },
1063
+ {
1064
+ "kind": "variable",
1065
+ "name": "strToU8"
1066
+ },
1067
+ {
1068
+ "kind": "variable",
1069
+ "name": "resolveAssets"
1070
+ },
1071
+ {
1072
+ "kind": "variable",
1073
+ "name": "unzip"
1074
+ },
1075
+ {
1076
+ "kind": "variable",
1077
+ "name": "useId"
1078
+ }
1079
+ ],
1080
+ "exports": [
1081
+ {
1082
+ "kind": "js",
1083
+ "name": "CustomError",
1084
+ "declaration": {
1085
+ "name": "CustomError",
1086
+ "module": "src/component/utils.ts"
1087
+ }
1088
+ },
1089
+ {
1090
+ "kind": "js",
1091
+ "name": "addExt",
1092
+ "declaration": {
1093
+ "name": "addExt",
1094
+ "module": "src/component/utils.ts"
1095
+ }
1096
+ },
1097
+ {
1098
+ "kind": "js",
1099
+ "name": "aspectRatio",
1100
+ "declaration": {
1101
+ "name": "aspectRatio",
1102
+ "module": "src/component/utils.ts"
1103
+ }
1104
+ },
1105
+ {
1106
+ "kind": "js",
1107
+ "name": "base64ToU8",
1108
+ "declaration": {
1109
+ "name": "base64ToU8",
1110
+ "module": "src/component/utils.ts"
1111
+ }
1112
+ },
1113
+ {
1114
+ "kind": "js",
1115
+ "name": "createDotLottie",
1116
+ "declaration": {
1117
+ "name": "createDotLottie",
1118
+ "module": "src/component/utils.ts"
1119
+ }
1120
+ },
1121
+ {
1122
+ "kind": "js",
1123
+ "name": "download",
1124
+ "declaration": {
1125
+ "name": "download",
1126
+ "module": "src/component/utils.ts"
1127
+ }
1128
+ },
1129
+ {
1130
+ "kind": "js",
1131
+ "name": "handleErrors",
1132
+ "declaration": {
1133
+ "name": "handleErrors",
1134
+ "module": "src/component/utils.ts"
1135
+ }
1136
+ },
1137
+ {
1138
+ "kind": "js",
1139
+ "name": "frameOutput",
1140
+ "declaration": {
1141
+ "name": "frameOutput",
1142
+ "module": "src/component/utils.ts"
1143
+ }
1144
+ },
1145
+ {
1146
+ "kind": "js",
1147
+ "name": "getAnimationData",
1148
+ "declaration": {
1149
+ "name": "getAnimationData",
1150
+ "module": "src/component/utils.ts"
1151
+ }
1152
+ },
1153
+ {
1154
+ "kind": "js",
1155
+ "name": "getArrayBuffer",
1156
+ "declaration": {
1157
+ "name": "getArrayBuffer",
1158
+ "module": "src/component/utils.ts"
1159
+ }
1160
+ },
1161
+ {
1162
+ "kind": "js",
1163
+ "name": "getExt",
1164
+ "declaration": {
1165
+ "name": "getExt",
1166
+ "module": "src/component/utils.ts"
1167
+ }
1168
+ },
1169
+ {
1170
+ "kind": "js",
1171
+ "name": "getExtFromB64",
1172
+ "declaration": {
1173
+ "name": "getExtFromB64",
1174
+ "module": "src/component/utils.ts"
1175
+ }
1176
+ },
1177
+ {
1178
+ "kind": "js",
1179
+ "name": "getFilename",
1180
+ "declaration": {
1181
+ "name": "getFilename",
1182
+ "module": "src/component/utils.ts"
1183
+ }
1184
+ },
1185
+ {
1186
+ "kind": "js",
1187
+ "name": "getLottieJSON",
1188
+ "declaration": {
1189
+ "name": "getLottieJSON",
1190
+ "module": "src/component/utils.ts"
1191
+ }
1192
+ },
1193
+ {
1194
+ "kind": "js",
1195
+ "name": "getManifest",
1196
+ "declaration": {
1197
+ "name": "getManifest",
1198
+ "module": "src/component/utils.ts"
1199
+ }
1200
+ },
1201
+ {
1202
+ "kind": "js",
1203
+ "name": "getMimeFromExt",
1204
+ "declaration": {
1205
+ "name": "getMimeFromExt",
1206
+ "module": "src/component/utils.ts"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "js",
1211
+ "name": "hasExt",
1212
+ "declaration": {
1213
+ "name": "hasExt",
1214
+ "module": "src/component/utils.ts"
1215
+ }
1216
+ },
1217
+ {
1218
+ "kind": "js",
1219
+ "name": "isAudio",
1220
+ "declaration": {
1221
+ "name": "isAudio",
1222
+ "module": "src/component/utils.ts"
1223
+ }
1224
+ },
1225
+ {
1226
+ "kind": "js",
1227
+ "name": "isImage",
1228
+ "declaration": {
1229
+ "name": "isImage",
1230
+ "module": "src/component/utils.ts"
1231
+ }
1232
+ },
1233
+ {
1234
+ "kind": "js",
1235
+ "name": "isServer",
1236
+ "declaration": {
1237
+ "name": "isServer",
1238
+ "module": "src/component/utils.ts"
1239
+ }
1240
+ },
1241
+ {
1242
+ "kind": "js",
1243
+ "name": "strToU8",
1244
+ "declaration": {
1245
+ "name": "strToU8",
1246
+ "module": "src/component/utils.ts"
1247
+ }
1248
+ },
1249
+ {
1250
+ "kind": "js",
1251
+ "name": "resolveAssets",
1252
+ "declaration": {
1253
+ "name": "resolveAssets",
1254
+ "module": "src/component/utils.ts"
1255
+ }
1256
+ },
1257
+ {
1258
+ "kind": "js",
1259
+ "name": "unzip",
1260
+ "declaration": {
1261
+ "name": "unzip",
1262
+ "module": "src/component/utils.ts"
1263
+ }
1264
+ },
1265
+ {
1266
+ "kind": "js",
1267
+ "name": "useId",
1268
+ "declaration": {
1269
+ "name": "useId",
1270
+ "module": "src/component/utils.ts"
1271
+ }
1272
+ }
1273
+ ]
1274
+ }
1275
+ ]
1276
+ }