@aarsteinmedia/dotlottie-player 6.3.8 → 6.3.9
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.
- package/custom-elements.json +5 -5
- package/dist/canvas.d.ts +1 -1
- package/dist/canvas.js +3 -3
- package/dist/chunks/{DotLottiePlayerBase-COmjFUND.js → DotLottiePlayerBase-B4yJibwF.js} +40 -36
- package/dist/full.d.ts +1 -1
- package/dist/full.js +3 -3
- package/dist/light.d.ts +1 -1
- package/dist/light.js +3 -3
- package/dist/svg.d.ts +1 -1
- package/dist/svg.js +3 -3
- package/dist/unpkg-canvas.js +18 -18
- package/dist/unpkg-full.js +18 -18
- package/dist/unpkg-light.js +17 -17
- package/dist/unpkg-svg.js +18 -18
- package/package.json +11 -11
package/custom-elements.json
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"superclass": {
|
|
52
52
|
"name": "DotLottiePlayerBase",
|
|
53
|
-
"module": "/dist/chunks/DotLottiePlayerBase-
|
|
53
|
+
"module": "/dist/chunks/DotLottiePlayerBase-B4yJibwF.js"
|
|
54
54
|
},
|
|
55
55
|
"tagName": "tagName",
|
|
56
56
|
"customElement": true
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"kind": "js",
|
|
70
|
-
"name": "
|
|
70
|
+
"name": "PlayerEvent",
|
|
71
71
|
"declaration": {
|
|
72
|
-
"name": "
|
|
72
|
+
"name": "PlayerEvent",
|
|
73
73
|
"package": "@aarsteinmedia/lottie-web/utils"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"name": "MouseOut",
|
|
87
87
|
"declaration": {
|
|
88
88
|
"name": "M",
|
|
89
|
-
"module": "./chunks/DotLottiePlayerBase-
|
|
89
|
+
"module": "./chunks/DotLottiePlayerBase-B4yJibwF.js"
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"name": "PlayerState",
|
|
95
95
|
"declaration": {
|
|
96
96
|
"name": "P",
|
|
97
|
-
"module": "./chunks/DotLottiePlayerBase-
|
|
97
|
+
"module": "./chunks/DotLottiePlayerBase-B4yJibwF.js"
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
{
|
package/dist/canvas.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RendererType, PreserveAspectRatio } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import * as _aarsteinmedia_lottie_web from '@aarsteinmedia/lottie-web';
|
|
4
4
|
import { AnimationConfiguration, Vector2 } from '@aarsteinmedia/lottie-web';
|
|
5
5
|
import { D as DotLottiePlayerBase } from './chunks/DotLottiePlayerBase.d-DaXI0b6M.js';
|
package/dist/canvas.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import Lottie from '@aarsteinmedia/lottie-web/canvas';
|
|
4
|
-
import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-
|
|
5
|
-
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-
|
|
4
|
+
import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
5
|
+
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
6
6
|
import '@aarsteinmedia/lottie-web/dotlottie';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getAnimationData } from '@aarsteinmedia/lottie-web/dotlottie';
|
|
2
|
-
import { isServer, PlayMode, PreserveAspectRatio, RendererType, createElementID,
|
|
2
|
+
import { isServer, PlayMode, PreserveAspectRatio, RendererType, createElementID, PlayerEvent, download, getFilename, clamp } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
|
|
4
4
|
let modulePromise$1;
|
|
5
5
|
function loadControlsModule() {
|
|
@@ -359,7 +359,11 @@ var controls = /*#__PURE__*/Object.freeze({
|
|
|
359
359
|
'h'
|
|
360
360
|
];
|
|
361
361
|
return mandatory.every((field)=>Object.hasOwn(json, field));
|
|
362
|
-
}, isTouch = ()=>'ontouchstart' in window, frameOutput = (frame)=>((frame ?? 0) + 1).toString().padStart(3, '0')
|
|
362
|
+
}, isTouch = ()=>'ontouchstart' in window, frameOutput = (frame)=>((frame ?? 0) + 1).toString().padStart(3, '0'), parseHTMLBooleans = (val)=>val !== null && [
|
|
363
|
+
'true',
|
|
364
|
+
'',
|
|
365
|
+
'1'
|
|
366
|
+
].includes(val);
|
|
363
367
|
|
|
364
368
|
let modulePromise = null;
|
|
365
369
|
function loadErrorModule() {
|
|
@@ -415,7 +419,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
415
419
|
}
|
|
416
420
|
get animateOnScroll() {
|
|
417
421
|
const val = this.getAttribute('animateOnScroll');
|
|
418
|
-
return val
|
|
422
|
+
return parseHTMLBooleans(val);
|
|
419
423
|
}
|
|
420
424
|
get animations() {
|
|
421
425
|
return this._animations;
|
|
@@ -427,7 +431,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
427
431
|
}
|
|
428
432
|
get autoplay() {
|
|
429
433
|
const val = this.getAttribute('autoplay');
|
|
430
|
-
return val
|
|
434
|
+
return parseHTMLBooleans(val);
|
|
431
435
|
}
|
|
432
436
|
/**
|
|
433
437
|
* Background color.
|
|
@@ -444,7 +448,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
444
448
|
}
|
|
445
449
|
get controls() {
|
|
446
450
|
const val = this.getAttribute('controls');
|
|
447
|
-
return val
|
|
451
|
+
return parseHTMLBooleans(val);
|
|
448
452
|
}
|
|
449
453
|
/**
|
|
450
454
|
* Number of times to loop.
|
|
@@ -502,7 +506,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
502
506
|
}
|
|
503
507
|
get dontFreezeOnBlur() {
|
|
504
508
|
const val = this.getAttribute('dontFreezeOnBlur');
|
|
505
|
-
return val
|
|
509
|
+
return parseHTMLBooleans(val);
|
|
506
510
|
}
|
|
507
511
|
/**
|
|
508
512
|
* Whether to play on mouseover.
|
|
@@ -511,7 +515,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
511
515
|
}
|
|
512
516
|
get hover() {
|
|
513
517
|
const val = this.getAttribute('hover');
|
|
514
|
-
return val
|
|
518
|
+
return parseHTMLBooleans(val);
|
|
515
519
|
}
|
|
516
520
|
/**
|
|
517
521
|
* Pause between loop intrations, in miliseconds.
|
|
@@ -535,7 +539,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
535
539
|
}
|
|
536
540
|
get loop() {
|
|
537
541
|
const val = this.getAttribute('loop');
|
|
538
|
-
return val
|
|
542
|
+
return parseHTMLBooleans(val);
|
|
539
543
|
}
|
|
540
544
|
/**
|
|
541
545
|
* Play mode.
|
|
@@ -589,7 +593,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
589
593
|
}
|
|
590
594
|
get once() {
|
|
591
595
|
const val = this.getAttribute('once');
|
|
592
|
-
return val
|
|
596
|
+
return parseHTMLBooleans(val);
|
|
593
597
|
}
|
|
594
598
|
/**
|
|
595
599
|
* Whether to toggle play on click.
|
|
@@ -598,7 +602,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
598
602
|
}
|
|
599
603
|
get playOnClick() {
|
|
600
604
|
const val = this.getAttribute('playOnClick');
|
|
601
|
-
return val
|
|
605
|
+
return parseHTMLBooleans(val);
|
|
602
606
|
}
|
|
603
607
|
/**
|
|
604
608
|
* Play when visible.
|
|
@@ -607,7 +611,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
607
611
|
}
|
|
608
612
|
get playOnVisible() {
|
|
609
613
|
const val = this.getAttribute('playOnVisible');
|
|
610
|
-
return val
|
|
614
|
+
return parseHTMLBooleans(val);
|
|
611
615
|
}
|
|
612
616
|
/**
|
|
613
617
|
* Resizing to container (Deprecated).
|
|
@@ -652,7 +656,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
652
656
|
}
|
|
653
657
|
get simple() {
|
|
654
658
|
const val = this.getAttribute('simple');
|
|
655
|
-
return val
|
|
659
|
+
return parseHTMLBooleans(val);
|
|
656
660
|
}
|
|
657
661
|
/**
|
|
658
662
|
* Speed.
|
|
@@ -681,7 +685,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
681
685
|
}
|
|
682
686
|
get subframe() {
|
|
683
687
|
const val = this.getAttribute('subframe');
|
|
684
|
-
return val
|
|
688
|
+
return parseHTMLBooleans(val);
|
|
685
689
|
}
|
|
686
690
|
constructor(){
|
|
687
691
|
super(), this.isLight = false, /**
|
|
@@ -898,11 +902,11 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
898
902
|
}
|
|
899
903
|
// Add intersection observer for detecting component being out-of-view.
|
|
900
904
|
this._addIntersectionObserver();
|
|
901
|
-
this.dispatchEvent(new CustomEvent(
|
|
905
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Rendered));
|
|
902
906
|
})();
|
|
903
907
|
} catch (error) {
|
|
904
908
|
console.error(error);
|
|
905
|
-
this.dispatchEvent(new CustomEvent(
|
|
909
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Error));
|
|
906
910
|
}
|
|
907
911
|
}
|
|
908
912
|
convert(_params) {
|
|
@@ -917,7 +921,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
917
921
|
this.playerState = PlayerState.Destroyed;
|
|
918
922
|
this._lottieInstance.destroy();
|
|
919
923
|
this._lottieInstance = null;
|
|
920
|
-
this.dispatchEvent(new CustomEvent(
|
|
924
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Destroyed));
|
|
921
925
|
this.remove();
|
|
922
926
|
document.removeEventListener('visibilitychange', this._onVisibilityChange);
|
|
923
927
|
}
|
|
@@ -1031,7 +1035,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1031
1035
|
console.error(error);
|
|
1032
1036
|
this._errorMessage = handleErrors(error).message;
|
|
1033
1037
|
this.playerState = PlayerState.Error;
|
|
1034
|
-
this.dispatchEvent(new CustomEvent(
|
|
1038
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Error));
|
|
1035
1039
|
}
|
|
1036
1040
|
}
|
|
1037
1041
|
loadAnimation(_config) {
|
|
@@ -1053,7 +1057,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1053
1057
|
let hasError = false;
|
|
1054
1058
|
try {
|
|
1055
1059
|
this._lottieInstance.pause();
|
|
1056
|
-
this.dispatchEvent(new CustomEvent(
|
|
1060
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Pause));
|
|
1057
1061
|
} catch (error) {
|
|
1058
1062
|
hasError = true;
|
|
1059
1063
|
console.error(error);
|
|
@@ -1071,7 +1075,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1071
1075
|
let hasError = false;
|
|
1072
1076
|
try {
|
|
1073
1077
|
this._lottieInstance.play();
|
|
1074
|
-
this.dispatchEvent(new CustomEvent(
|
|
1078
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Play));
|
|
1075
1079
|
} catch (error) {
|
|
1076
1080
|
hasError = true;
|
|
1077
1081
|
console.error(error);
|
|
@@ -1244,7 +1248,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1244
1248
|
this._playerState.count = 0;
|
|
1245
1249
|
try {
|
|
1246
1250
|
this._lottieInstance.stop();
|
|
1247
|
-
this.dispatchEvent(new CustomEvent(
|
|
1251
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Stop));
|
|
1248
1252
|
} finally{
|
|
1249
1253
|
this.playerState = PlayerState.Stopped;
|
|
1250
1254
|
}
|
|
@@ -1316,7 +1320,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1316
1320
|
this._playerState.prev = this.playerState;
|
|
1317
1321
|
try {
|
|
1318
1322
|
this._lottieInstance.pause();
|
|
1319
|
-
this.dispatchEvent(new CustomEvent(
|
|
1323
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Freeze));
|
|
1320
1324
|
} finally{
|
|
1321
1325
|
this.playerState = PlayerState.Frozen;
|
|
1322
1326
|
}
|
|
@@ -1444,7 +1448,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1444
1448
|
const { currentFrame, totalFrames } = this._lottieInstance;
|
|
1445
1449
|
this._seeker = Math.round(currentFrame / totalFrames * 100);
|
|
1446
1450
|
this.playerState = PlayerState.Completed;
|
|
1447
|
-
this.dispatchEvent(new CustomEvent(
|
|
1451
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Complete, {
|
|
1448
1452
|
detail: {
|
|
1449
1453
|
frame: currentFrame,
|
|
1450
1454
|
seeker: this._seeker
|
|
@@ -1453,14 +1457,14 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1453
1457
|
}
|
|
1454
1458
|
_dataFailed() {
|
|
1455
1459
|
this.playerState = PlayerState.Error;
|
|
1456
|
-
this.dispatchEvent(new CustomEvent(
|
|
1460
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Error));
|
|
1457
1461
|
}
|
|
1458
1462
|
_dataReady() {
|
|
1459
|
-
this.dispatchEvent(new CustomEvent(
|
|
1463
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Load));
|
|
1460
1464
|
}
|
|
1461
1465
|
_DOMLoaded() {
|
|
1462
1466
|
this._playerState.loaded = true;
|
|
1463
|
-
this.dispatchEvent(new CustomEvent(
|
|
1467
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Ready));
|
|
1464
1468
|
}
|
|
1465
1469
|
_enterFrame() {
|
|
1466
1470
|
if (!this._lottieInstance) {
|
|
@@ -1468,7 +1472,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1468
1472
|
}
|
|
1469
1473
|
const { currentFrame, totalFrames } = this._lottieInstance;
|
|
1470
1474
|
this._seeker = Math.round(currentFrame / totalFrames * 100);
|
|
1471
|
-
this.dispatchEvent(new CustomEvent(
|
|
1475
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Frame, {
|
|
1472
1476
|
detail: {
|
|
1473
1477
|
frame: currentFrame,
|
|
1474
1478
|
seeker: this._seeker
|
|
@@ -1600,11 +1604,11 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1600
1604
|
if (this._playerState.count >= this.count) {
|
|
1601
1605
|
this.setLoop(false);
|
|
1602
1606
|
this.playerState = PlayerState.Completed;
|
|
1603
|
-
this.dispatchEvent(new CustomEvent(
|
|
1607
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Complete));
|
|
1604
1608
|
return;
|
|
1605
1609
|
}
|
|
1606
1610
|
}
|
|
1607
|
-
this.dispatchEvent(new CustomEvent(
|
|
1611
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Loop));
|
|
1608
1612
|
if (this._isBounce) {
|
|
1609
1613
|
this._lottieInstance.goToAndStop(playDirection === -1 ? inPoint : outPoint * 0.99, true);
|
|
1610
1614
|
this._lottieInstance.setDirection(playDirection * -1);
|
|
@@ -1709,7 +1713,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1709
1713
|
// Remove event listeners to new Lottie instance, and add new
|
|
1710
1714
|
this._removeEventListeners();
|
|
1711
1715
|
this._addEventListeners();
|
|
1712
|
-
this.dispatchEvent(new CustomEvent(isPrevious ?
|
|
1716
|
+
this.dispatchEvent(new CustomEvent(isPrevious ? PlayerEvent.Previous : PlayerEvent.Next));
|
|
1713
1717
|
if (this._multiAnimationSettings[this._currentAnimation]?.autoplay ?? this.autoplay) {
|
|
1714
1718
|
if (this.animateOnScroll) {
|
|
1715
1719
|
this._lottieInstance.goToAndStop(0, true);
|
|
@@ -1725,7 +1729,7 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1725
1729
|
} catch (error) {
|
|
1726
1730
|
this._errorMessage = handleErrors(error).message;
|
|
1727
1731
|
this.playerState = PlayerState.Error;
|
|
1728
|
-
this.dispatchEvent(new CustomEvent(
|
|
1732
|
+
this.dispatchEvent(new CustomEvent(PlayerEvent.Error));
|
|
1729
1733
|
}
|
|
1730
1734
|
}
|
|
1731
1735
|
/**
|
|
@@ -1733,12 +1737,12 @@ const notImplemented = 'Method is not implemented', getStyles = async ()=>{
|
|
|
1733
1737
|
*/ _toggleEventListeners(action) {
|
|
1734
1738
|
const method = action === 'add' ? 'addEventListener' : 'removeEventListener';
|
|
1735
1739
|
if (this._lottieInstance) {
|
|
1736
|
-
this._lottieInstance[method](
|
|
1737
|
-
this._lottieInstance[method](
|
|
1738
|
-
this._lottieInstance[method](
|
|
1739
|
-
this._lottieInstance[method](
|
|
1740
|
-
this._lottieInstance[method](
|
|
1741
|
-
this._lottieInstance[method](
|
|
1740
|
+
this._lottieInstance[method](PlayerEvent.EnterFrame, this._enterFrame);
|
|
1741
|
+
this._lottieInstance[method](PlayerEvent.Complete, this._complete);
|
|
1742
|
+
this._lottieInstance[method](PlayerEvent.LoopComplete, this._loopComplete);
|
|
1743
|
+
this._lottieInstance[method](PlayerEvent.DOMLoaded, this._DOMLoaded);
|
|
1744
|
+
this._lottieInstance[method](PlayerEvent.DataReady, this._dataReady);
|
|
1745
|
+
this._lottieInstance[method](PlayerEvent.DataFailed, this._dataFailed);
|
|
1742
1746
|
}
|
|
1743
1747
|
if (this.selector) {
|
|
1744
1748
|
const selector = document.getElementById(this.selector);
|
package/dist/full.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RendererType, PreserveAspectRatio } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import * as _aarsteinmedia_lottie_web from '@aarsteinmedia/lottie-web';
|
|
4
4
|
import { AddAnimationParams, ConvertParams, AnimationConfiguration, Vector2 } from '@aarsteinmedia/lottie-web';
|
|
5
5
|
import { D as DotLottiePlayerBase } from './chunks/DotLottiePlayerBase.d-DaXI0b6M.js';
|
package/dist/full.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import { loadAnimation } from '@aarsteinmedia/lottie-web';
|
|
4
|
-
import { D as DotLottiePlayerBase, l as loadDotLottieTools, t as tagName } from './chunks/DotLottiePlayerBase-
|
|
5
|
-
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-
|
|
4
|
+
import { D as DotLottiePlayerBase, l as loadDotLottieTools, t as tagName } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
5
|
+
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
6
6
|
import '@aarsteinmedia/lottie-web/dotlottie';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/light.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RendererType, PreserveAspectRatio } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import * as _aarsteinmedia_lottie_web from '@aarsteinmedia/lottie-web';
|
|
4
4
|
import { AnimationConfiguration, Vector2 } from '@aarsteinmedia/lottie-web';
|
|
5
5
|
import { D as DotLottiePlayerBase } from './chunks/DotLottiePlayerBase.d-DaXI0b6M.js';
|
package/dist/light.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import { loadAnimation } from '@aarsteinmedia/lottie-web/light';
|
|
4
|
-
import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-
|
|
5
|
-
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-
|
|
4
|
+
import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
5
|
+
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
6
6
|
import '@aarsteinmedia/lottie-web/dotlottie';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/svg.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RendererType, PreserveAspectRatio } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import * as _aarsteinmedia_lottie_web from '@aarsteinmedia/lottie-web';
|
|
4
4
|
import { AnimationConfiguration, Vector2 } from '@aarsteinmedia/lottie-web';
|
|
5
5
|
import { D as DotLottiePlayerBase } from './chunks/DotLottiePlayerBase.d-DaXI0b6M.js';
|
package/dist/svg.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RendererType, isServer } from '@aarsteinmedia/lottie-web/utils';
|
|
2
|
-
export { PlayMode,
|
|
2
|
+
export { PlayMode, PlayerEvent, RendererType } from '@aarsteinmedia/lottie-web/utils';
|
|
3
3
|
import { loadAnimation } from '@aarsteinmedia/lottie-web/svg';
|
|
4
|
-
import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-
|
|
5
|
-
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-
|
|
4
|
+
import { D as DotLottiePlayerBase, t as tagName } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
5
|
+
export { M as MouseOut, P as PlayerState } from './chunks/DotLottiePlayerBase-B4yJibwF.js';
|
|
6
6
|
import '@aarsteinmedia/lottie-web/dotlottie';
|
|
7
7
|
|
|
8
8
|
/**
|