UNPKG

2.21 kBJavaScriptView Raw
1export{c as createAnimation}from"./p-613c0939.js";export{iosTransitionAnimation}from"./p-6888305b.js";export{mdTransitionAnimation}from"./p-347c22bd.js";export{g as getTimeGivenProgression}from"./p-bac8255f.js";export{createGesture}from"./p-e3be73c0.js";export{g as getPlatforms,i as initialize,a as isPlatform}from"./p-125156f2.js";import{a as o,r as e,b as r}from"./p-f4d641a6.js";export{c as componentOnReady}from"./p-f4d641a6.js";export{I as IonicSafeString}from"./p-1f87b1b9.js";export{a as LIFECYCLE_DID_ENTER,c as LIFECYCLE_DID_LEAVE,L as LIFECYCLE_WILL_ENTER,b as LIFECYCLE_WILL_LEAVE,d as LIFECYCLE_WILL_UNLOAD}from"./p-8bfdda6e.js";export{m as menuController}from"./p-a65c1311.js";export{b as actionSheetController,a as alertController,l as loadingController,m as modalController,p as pickerController,c as popoverController,t as toastController}from"./p-e5dc79d5.js";import"./p-0d9cab2d.js";import"./p-3df3e749.js";import"./p-94c70170.js";const n=o=>{const e=window,t=e.Ionic;if(!t||!t.config||"Object"===t.config.constructor.name)return e.Ionic=e.Ionic||{},e.Ionic.config=Object.assign(Object.assign({},e.Ionic.config),o),e.Ionic.config},s=()=>{const o=window,e=o&&o.Ionic&&o.Ionic.config;return e?e.mode?e.mode:e.get("mode"):"md"},f=(t,a=!0)=>{if("undefined"==typeof window)return;const n=t.el,i=n.closest(".ion-page");if(!i){if(a){const o=n.getRootNode();if("DIV"===o.tagName){const e=new MutationObserver((r=>{const a=null===r[0].oldValue,n=o.classList.contains("ion-page");a&&n&&(e.disconnect(),f(t,!1))}));e.observe(o,{attributeFilter:["class"],attributeOldValue:!0})}}return}const s=n.closest("ion-modal, ion-popover");if(s){const t="ION-MODAL"===s.tagName?"ionModalWillPresent":"ionPopoverWillPresent",a=()=>{e((()=>{n.swiper.update(),r(s,t,a)}))};o(s,t,a)}else new MutationObserver((o=>{var e;const t=null===(e=o[0].oldValue)||void 0===e?void 0:e.includes("ion-page-invisible"),r=i.classList.contains("ion-page-invisible");r||r===t||n.swiper.update()})).observe(i,{attributeFilter:["class"],attributeOldValue:!0});const p=()=>{n.swiper.update(),r(window,"appload",p)};o(window,"appload",p)},j={name:"ionic",on:{afterInit(o){f(o)}}};export{j as IonicSwiper,s as getMode,n as setupConfig}
\No newline at end of file