@aarsteinmedia/dotlottie-player 2.0.1 → 2.0.3

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