aiber-martin/www/5-es5.js.map
Martin Donnelly a4b8625d0f init
2020-12-17 16:23:12 +00:00

1 line
4.1 KiB
Plaintext

{"version":3,"sources":["webpack:///node_modules/@ionic/core/dist/esm/ion-backdrop.entry.js"],"names":["backdropIosCss","backdropMdCss","Backdrop","hostRef","ionBackdropTap","blocker","createBlocker","disableScroll","visible","tappable","stopPropagation","block","unblock","ev","emitTap","preventDefault","emit","mode","tabindex","style","ios","md"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;;AAIA,UAAMA,cAAc,GAAG,wWAAvB;AAEA,UAAMC,aAAa,GAAG,wWAAtB;;AAEA,UAAMC,QAAQ;AACV,0BAAYC,OAAZ,EAAqB;AAAA;;AACjB,uEAAiB,IAAjB,EAAuBA,OAAvB;AACA,eAAKC,cAAL,GAAsB,6DAAY,IAAZ,EAAkB,gBAAlB,EAAoC,CAApC,CAAtB;AACA,eAAKC,OAAL,GAAe,kEAAmBC,aAAnB,CAAiC;AAC5CC,yBAAa,EAAE;AAD6B,WAAjC,CAAf;AAGA;;;;AAGA,eAAKC,OAAL,GAAe,IAAf;AACA;;;;AAGA,eAAKC,QAAL,GAAgB,IAAhB;AACA;;;;AAGA,eAAKC,eAAL,GAAuB,IAAvB;AACH;;AAnBS;AAAA;AAAA,8CAoBU;AAChB,gBAAI,KAAKA,eAAT,EAA0B;AACtB,mBAAKL,OAAL,CAAaM,KAAb;AACH;AACJ;AAxBS;AAAA;AAAA,iDAyBa;AACnB,iBAAKN,OAAL,CAAaO,OAAb;AACH;AA3BS;AAAA;AAAA,sCA4BEC,EA5BF,EA4BM;AACZ,iBAAKC,OAAL,CAAaD,EAAb;AACH;AA9BS;AAAA;AAAA,kCA+BFA,EA/BE,EA+BE;AACR,gBAAI,KAAKH,eAAT,EAA0B;AACtBG,gBAAE,CAACE,cAAH;AACAF,gBAAE,CAACH,eAAH;AACH;;AACD,gBAAI,KAAKD,QAAT,EAAmB;AACf,mBAAKL,cAAL,CAAoBY,IAApB;AACH;AACJ;AAvCS;AAAA;AAAA,mCAwCD;AAAA;;AACL,gBAAMC,IAAI,GAAG,oEAAW,IAAX,CAAb;AACA,mBAAQ,6DAAE,oDAAF,EAAQ;AAAEC,sBAAQ,EAAE,IAAZ;AAAkB,6DACzBD,IADyB,EAClB,IADkB,2BAE1B,eAF0B,EAET,CAAC,KAAKT,OAFG,2BAG1B,sBAH0B,EAGF,CAAC,KAAKC,QAHJ;AAAlB,aAAR,CAAR;AAKH;AA/CS;;AAAA;AAAA,SAAd;;AAiDAP,cAAQ,CAACiB,KAAT,GAAiB;AACbC,WAAG,EAAEpB,cADQ;AAEbqB,UAAE,EAAEpB;AAFS,OAAjB","file":"5-es5.js","sourcesContent":["import { r as registerInstance, e as createEvent, h, H as Host } from './index-92848855.js';\nimport { b as getIonMode } from './ionic-global-23e7365a.js';\nimport { G as GESTURE_CONTROLLER } from './gesture-controller-89173521.js';\n\nconst backdropIosCss = \":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}\";\n\nconst backdropMdCss = \":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}\";\n\nconst Backdrop = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionBackdropTap = createEvent(this, \"ionBackdropTap\", 7);\n this.blocker = GESTURE_CONTROLLER.createBlocker({\n disableScroll: true\n });\n /**\n * If `true`, the backdrop will be visible.\n */\n this.visible = true;\n /**\n * If `true`, the backdrop will can be clicked and will emit the `ionBackdropTap` event.\n */\n this.tappable = true;\n /**\n * If `true`, the backdrop will stop propagation on tap.\n */\n this.stopPropagation = true;\n }\n connectedCallback() {\n if (this.stopPropagation) {\n this.blocker.block();\n }\n }\n disconnectedCallback() {\n this.blocker.unblock();\n }\n onMouseDown(ev) {\n this.emitTap(ev);\n }\n emitTap(ev) {\n if (this.stopPropagation) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n if (this.tappable) {\n this.ionBackdropTap.emit();\n }\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { tabindex: \"-1\", class: {\n [mode]: true,\n 'backdrop-hide': !this.visible,\n 'backdrop-no-tappable': !this.tappable,\n } }));\n }\n};\nBackdrop.style = {\n ios: backdropIosCss,\n md: backdropMdCss\n};\n\nexport { Backdrop as ion_backdrop };\n"]}