Files
doneit-web/.angular/cache/14.2.12/babel-webpack/a2ef53f9539a99dc80ef7e7ee066fc44.json
T

1 line
108 KiB
JSON
Raw Normal View History

2023-06-30 09:54:21 +01:00
{"ast":null,"code":"import { r as registerInstance, e as createEvent, j as forceUpdate, h, H as Host, i as getElement } from './index-7a8b7a1c.js';\nimport { b as getIonMode } from './ionic-global-63a97a32.js';\nimport { c as createButtonActiveGesture } from './button-active-d4bd4f74.js';\nimport { B as BACKDROP, i as isCancel, e as prepareOverlay, d as present, f as dismiss, g as eventMethod, s as safeCall } from './overlays-a62f858b.js';\nimport { s as sanitizeDOMString } from './index-9e3fe806.js';\nimport { g as getClassMap } from './theme-ff3fc52f.js';\nimport { c as createAnimation } from './animation-822d986b.js';\nimport './haptic-27b3f981.js';\nimport './index-34cb2743.js';\nimport './gesture-controller-31cb6bb9.js';\nimport './hardware-back-button-4a6b37fb.js';\nimport './helpers-1457892a.js';\n\n/**\n * iOS Alert Enter Animation\n */\nconst iosEnterAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 0.01, 'var(--backdrop-opacity)').beforeStyles({\n 'pointer-events': 'none'\n }).afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([{\n offset: 0,\n opacity: '0.01',\n transform: 'scale(1.1)'\n }, {\n offset: 1,\n opacity: '1',\n transform: 'scale(1)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(200).addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * iOS Alert Leave Animation\n */\nconst iosLeaveAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([{\n offset: 0,\n opacity: 0.99,\n transform: 'scale(1)'\n }, {\n offset: 1,\n opacity: 0,\n transform: 'scale(0.9)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(200).addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Alert Enter Animation\n */\nconst mdEnterAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 0.01, 'var(--backdrop-opacity)').beforeStyles({\n 'pointer-events': 'none'\n }).afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).keyframes([{\n offset: 0,\n opacity: '0.01',\n transform: 'scale(0.9)'\n }, {\n offset: 1,\n opacity: '1',\n transform: 'scale(1)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(150).addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Alert Leave Animation\n */\nconst mdLeaveAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.alert-wrapper')).fromTo('opacity', 0.99, 0);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(150).addAnimation([backdropAnimation, wrapperAnimation]);\n};\nconst alertIosCss = \".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);conta