{"version":3,"file":"renet-consulting-animations.mjs","sources":["../../../projects/animations/src/lib/animations.ts","../../../projects/animations/src/public-api.ts","../../../projects/animations/src/renet-consulting-animations.ts"],"sourcesContent":["import { animate, query, stagger, style, transition, trigger } from '@angular/animations';\r\n\r\nconst ERROR_START = { opacity: 0, width: '0px', height: '0px' };\r\nconst ERROR_END = { opacity: 1, width: '*', height: '*' };\r\n\r\n/**\r\n * about duration read at https://material.io/design/motion/speed.html#duration\r\n * about easing read at https://material.io/design/motion/speed.html#easing\r\n */\r\nexport const enterLeaveAnimation = trigger('enterLeave', [\r\n    transition(':enter, * => void', []),\r\n    transition(':increment', [\r\n        query(':enter', [\r\n            style(ERROR_START),\r\n            stagger(180, [\r\n                animate('300ms ease-out', style(ERROR_END)),\r\n            ]),\r\n        ], { optional: true })\r\n    ]),\r\n    transition(':decrement', [\r\n        query(':leave', [\r\n            stagger(100, [\r\n                animate('160ms ease-in', style(ERROR_START)),\r\n            ]),\r\n        ], { optional: true })\r\n    ]),\r\n]);\r\n","/*\r\n * Public API Surface of animations\r\n */\r\n\r\nexport * from './lib/animations';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAEA,MAAM,WAAW,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;AAChE,MAAM,SAAS,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;AAE1D;;;AAGG;AACU,MAAA,mBAAmB,GAAG,OAAO,CAAC,YAAY,EAAE;AACrD,IAAA,UAAU,CAAC,mBAAmB,EAAE,EAAE,CAAC;IACnC,UAAU,CAAC,YAAY,EAAE;QACrB,KAAK,CAAC,QAAQ,EAAE;YACZ,KAAK,CAAC,WAAW,CAAC;YAClB,OAAO,CAAC,GAAG,EAAE;AACT,gBAAA,OAAO,CAAC,gBAAgB,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;aAC9C,CAAC;AACL,SAAA,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;KACzB,CAAC;IACF,UAAU,CAAC,YAAY,EAAE;QACrB,KAAK,CAAC,QAAQ,EAAE;YACZ,OAAO,CAAC,GAAG,EAAE;AACT,gBAAA,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;aAC/C,CAAC;AACL,SAAA,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;KACzB,CAAC;AACL,CAAA;;AC1BD;;AAEG;;ACFH;;AAEG;;;;"}