@ionic/core 7.3.2-dev.11693254222.1822966d → 7.3.2-dev.11693262117.17edbf6d

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.
Files changed (124) hide show
  1. package/components/action-sheet.js +8 -17
  2. package/components/alert.js +8 -17
  3. package/components/framework-delegate.js +2 -5
  4. package/components/ion-loading.js +8 -17
  5. package/components/ion-menu.js +1 -1
  6. package/components/ion-modal.js +12 -33
  7. package/components/ion-picker.js +8 -17
  8. package/components/ion-toast.js +8 -17
  9. package/components/overlays.js +22 -1
  10. package/components/popover.js +9 -30
  11. package/dist/cjs/{framework-delegate-91be3b84.js → framework-delegate-e8174951.js} +2 -5
  12. package/dist/cjs/index.cjs.js +2 -2
  13. package/dist/cjs/ion-action-sheet.cjs.entry.js +9 -18
  14. package/dist/cjs/ion-alert.cjs.entry.js +9 -18
  15. package/dist/cjs/ion-app_8.cjs.entry.js +1 -1
  16. package/dist/cjs/ion-datetime_3.cjs.entry.js +9 -18
  17. package/dist/cjs/ion-loading.cjs.entry.js +9 -18
  18. package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-modal.cjs.entry.js +13 -34
  20. package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-popover.cjs.entry.js +10 -31
  22. package/dist/cjs/ion-select_3.cjs.entry.js +2 -2
  23. package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
  24. package/dist/cjs/ion-toast.cjs.entry.js +9 -18
  25. package/dist/cjs/{overlays-cf7fa4cf.js → overlays-2b9fa92e.js} +23 -1
  26. package/dist/collection/components/action-sheet/action-sheet.js +8 -17
  27. package/dist/collection/components/alert/alert.js +8 -17
  28. package/dist/collection/components/loading/loading.js +8 -17
  29. package/dist/collection/components/modal/modal.js +12 -33
  30. package/dist/collection/components/picker/picker.js +8 -17
  31. package/dist/collection/components/popover/popover.js +9 -30
  32. package/dist/collection/components/toast/toast.js +8 -17
  33. package/dist/collection/utils/framework-delegate.js +2 -5
  34. package/dist/collection/utils/overlays.js +21 -0
  35. package/dist/docs.json +1 -1
  36. package/dist/esm/{framework-delegate-43758c88.js → framework-delegate-2b76c681.js} +2 -5
  37. package/dist/esm/index.js +2 -2
  38. package/dist/esm/ion-action-sheet.entry.js +9 -18
  39. package/dist/esm/ion-alert.entry.js +9 -18
  40. package/dist/esm/ion-app_8.entry.js +1 -1
  41. package/dist/esm/ion-datetime_3.entry.js +9 -18
  42. package/dist/esm/ion-loading.entry.js +9 -18
  43. package/dist/esm/ion-menu_3.entry.js +2 -2
  44. package/dist/esm/ion-modal.entry.js +13 -34
  45. package/dist/esm/ion-nav_2.entry.js +1 -1
  46. package/dist/esm/ion-popover.entry.js +10 -31
  47. package/dist/esm/ion-select_3.entry.js +2 -2
  48. package/dist/esm/ion-tab_2.entry.js +1 -1
  49. package/dist/esm/ion-toast.entry.js +9 -18
  50. package/dist/esm/{overlays-236d01c6.js → overlays-66222f79.js} +23 -2
  51. package/dist/esm-es5/framework-delegate-2b76c681.js +4 -0
  52. package/dist/esm-es5/index.js +1 -1
  53. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  54. package/dist/esm-es5/ion-alert.entry.js +1 -1
  55. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  56. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  57. package/dist/esm-es5/ion-loading.entry.js +1 -1
  58. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  59. package/dist/esm-es5/ion-modal.entry.js +1 -1
  60. package/dist/esm-es5/ion-nav_2.entry.js +1 -1
  61. package/dist/esm-es5/ion-popover.entry.js +1 -1
  62. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  63. package/dist/esm-es5/ion-tab_2.entry.js +1 -1
  64. package/dist/esm-es5/ion-toast.entry.js +1 -1
  65. package/dist/esm-es5/{overlays-236d01c6.js → overlays-66222f79.js} +1 -1
  66. package/dist/ionic/index.esm.js +1 -1
  67. package/dist/ionic/ionic.esm.js +1 -1
  68. package/dist/ionic/{p-04515b10.system.entry.js → p-0494a5b7.system.entry.js} +1 -1
  69. package/dist/ionic/p-16fd72f2.entry.js +4 -0
  70. package/dist/ionic/p-1c9e3bc7.entry.js +4 -0
  71. package/dist/ionic/{p-4852bb39.entry.js → p-20087c90.entry.js} +1 -1
  72. package/dist/ionic/{p-5c0754cd.entry.js → p-229df0d8.entry.js} +1 -1
  73. package/dist/ionic/p-2a51c81c.entry.js +4 -0
  74. package/dist/ionic/p-2a649b3e.system.entry.js +4 -0
  75. package/dist/ionic/p-3ef9e271.system.entry.js +4 -0
  76. package/dist/ionic/{p-ed290b4a.entry.js → p-5c96dc4e.entry.js} +1 -1
  77. package/dist/ionic/{p-f2c1459b.system.entry.js → p-6b9bf14c.system.entry.js} +1 -1
  78. package/dist/ionic/p-6d484719.system.entry.js +4 -0
  79. package/dist/ionic/p-70d137a0.js +4 -0
  80. package/dist/ionic/p-721933ff.system.js +1 -1
  81. package/dist/ionic/{p-e484ae56.entry.js → p-7776d062.entry.js} +1 -1
  82. package/dist/ionic/p-7ac9bdfa.system.entry.js +4 -0
  83. package/dist/ionic/{p-f1bf45b2.system.entry.js → p-8074bdd7.system.entry.js} +1 -1
  84. package/dist/ionic/p-8d53d5a5.entry.js +4 -0
  85. package/dist/ionic/{p-33dc95e4.system.js → p-8d9475b5.system.js} +1 -1
  86. package/dist/ionic/{p-fb16e75c.entry.js → p-9888a5a7.entry.js} +1 -1
  87. package/dist/ionic/{p-5f5d78da.system.js → p-a0ffdd91.system.js} +1 -1
  88. package/dist/ionic/p-a133c215.system.entry.js +4 -0
  89. package/dist/ionic/{p-50e474b3.system.entry.js → p-b2098e96.system.entry.js} +1 -1
  90. package/dist/ionic/p-b34c1ae1.js +4 -0
  91. package/dist/ionic/p-c0b4ca5c.system.entry.js +4 -0
  92. package/dist/ionic/p-cf768a4f.entry.js +4 -0
  93. package/dist/ionic/{p-ff0f2ef4.system.entry.js → p-d1356034.system.entry.js} +1 -1
  94. package/dist/ionic/p-ddffbfa9.entry.js +4 -0
  95. package/dist/ionic/p-e2e2c2b0.entry.js +4 -0
  96. package/dist/ionic/p-ebb442c4.system.entry.js +4 -0
  97. package/dist/ionic/{p-c275a599.system.js → p-f8e4da48.system.js} +1 -1
  98. package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
  99. package/dist/types/components/alert/alert.d.ts +1 -1
  100. package/dist/types/components/loading/loading.d.ts +1 -1
  101. package/dist/types/components/modal/modal.d.ts +1 -1
  102. package/dist/types/components/picker/picker.d.ts +1 -1
  103. package/dist/types/components/popover/popover.d.ts +1 -1
  104. package/dist/types/components/toast/toast.d.ts +1 -1
  105. package/dist/types/utils/overlays.d.ts +9 -0
  106. package/hydrate/index.js +77 -146
  107. package/package.json +1 -1
  108. package/dist/esm-es5/framework-delegate-43758c88.js +0 -4
  109. package/dist/ionic/p-13df6e84.system.entry.js +0 -4
  110. package/dist/ionic/p-2bdc6097.entry.js +0 -4
  111. package/dist/ionic/p-2d37d114.system.entry.js +0 -4
  112. package/dist/ionic/p-3c14c5b9.system.entry.js +0 -4
  113. package/dist/ionic/p-4adb3257.entry.js +0 -4
  114. package/dist/ionic/p-647c433f.entry.js +0 -4
  115. package/dist/ionic/p-77465c7a.entry.js +0 -4
  116. package/dist/ionic/p-870fee8d.system.entry.js +0 -4
  117. package/dist/ionic/p-8d1ef5d0.entry.js +0 -4
  118. package/dist/ionic/p-ad5a562b.system.entry.js +0 -4
  119. package/dist/ionic/p-d3602489.entry.js +0 -4
  120. package/dist/ionic/p-e015fbd9.system.entry.js +0 -4
  121. package/dist/ionic/p-e30f020d.entry.js +0 -4
  122. package/dist/ionic/p-f2743457.js +0 -4
  123. package/dist/ionic/p-f4bbbc33.js +0 -4
  124. package/dist/ionic/p-f94cad00.system.entry.js +0 -4
@@ -0,0 +1,4 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r["throw"](t))}catch(t){i(t)}}function l(t){t.done?n(t.value):o(t.value).then(a,s)}l((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return l([t,e])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
2
+ /*!
3
+ * (C) Ionic http://ionicframework.com - MIT License
4
+ */System.register(["./p-5b553dc0.system.js","./p-2b89ea1b.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js","./p-f8e4da48.system.js","./p-44bc8b45.system.js","./p-7b16490a.system.js","./p-6b2641f6.system.js","./p-8d9475b5.system.js","./p-8c15eda7.system.js","./p-0e94957a.system.js"],(function(t){"use strict";var e,n,r,o,i,a,s,l,d,c,u,p,h,f,b,g,m,v,x,w,y,k,T,C,_;return{setters:[function(t){e=t.r;n=t.d;r=t.h;o=t.H;i=t.f},function(t){a=t.E;s=t.a},function(t){l=t.g;d=t.r},function(t){c=t.p},function(t){u=t.d;p=t.e;h=t.f;f=t.i;b=t.k;g=t.n;m=t.g;v=t.h;x=t.j;w=t.s},function(t){y=t.g;k=t.c},function(t){T=t.c;C=t.b},function(t){_=t.c},function(){},function(){},function(){}],execute:function(){var j=function(t,e){var n=_();var r=_();var o=l(t);var i=o.querySelector(".toast-wrapper");var a="calc(-10px - var(--ion-safe-area-bottom, 0px))";var s="calc(10px + var(--ion-safe-area-top, 0px))";r.addElement(i);switch(e){case"top":r.fromTo("transform","translateY(-100%)","translateY(".concat(s,")"));break;case"middle":var d=Math.floor(t.clientHeight/2-i.clientHeight/2);i.style.top="".concat(d,"px");r.fromTo("opacity",.01,1);break;default:r.fromTo("transform","translateY(100%)","translateY(".concat(a,")"));break}return n.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(r)};var D=function(t,e){var n=_();var r=_();var o=l(t);var i=o.querySelector(".toast-wrapper");var a="calc(-10px - var(--ion-safe-area-bottom, 0px))";var s="calc(10px + var(--ion-safe-area-top, 0px))";r.addElement(i);switch(e){case"top":r.fromTo("transform","translateY(".concat(s,")"),"translateY(-100%)");break;case"middle":r.fromTo("opacity",.99,0);break;default:r.fromTo("transform","translateY(".concat(a,")"),"translateY(100%)");break}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(r)};var z=function(t,e){var n=_();var r=_();var o=l(t);var i=o.querySelector(".toast-wrapper");var a="calc(8px + var(--ion-safe-area-bottom, 0px))";var s="calc(8px + var(--ion-safe-area-top, 0px))";r.addElement(i);switch(e){case"top":i.style.top=s;r.fromTo("opacity",.01,1);break;case"middle":var d=Math.floor(t.clientHeight/2-i.clientHeight/2);i.style.top="".concat(d,"px");r.fromTo("opacity",.01,1);break;default:i.style.bottom=a;r.fromTo("opacity",.01,1);break}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(r)};var H=function(t){var e=_();var n=_();var r=l(t);var o=r.querySelector(".toast-wrapper");n.addElement(o).fromTo("opacity",.99,0);return e.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)};var S=":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--start:10px;--end:10px;font-size:14px}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:17px;font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}";var O=":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}@supports (inset-inline-start: 0){:host{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host{left:0}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host:dir(rtl){left:unset;right:unset;right:0}}}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}@supports (inset-inline-start: 0){.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}}@supports not (inset-inline-start: 0){.toast-wrapper{left:var(--start);right:var(--end)}:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}[dir=rtl] .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}@supports selector(:dir(rtl)){.toast-wrapper:dir(rtl){left:unset;right:unset;left:var(--end);right:var(--start)}}}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:14px}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:20px}.toast-message{line-height:20px}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:14px;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}";var P=t("ion_toast",function(){function t(t){var r=this;e(this,t);this.didPresent=n(this,"ionToastDidPresent",7);this.willPresent=n(this,"ionToastWillPresent",7);this.willDismiss=n(this,"ionToastWillDismiss",7);this.didDismiss=n(this,"ionToastDidDismiss",7);this.didPresentShorthand=n(this,"didPresent",7);this.willPresentShorthand=n(this,"willPresent",7);this.willDismissShorthand=n(this,"willDismiss",7);this.didDismissShorthand=n(this,"didDismiss",7);this.delegateController=u(this);this.lockController=p();this.triggerController=h();this.customHTMLEnabled=T.get("innerHTMLTemplatesEnabled",a);this.presented=false;this.dispatchCancelHandler=function(t){var e=t.detail.role;if(f(e)){var n=r.getButtons().find((function(t){return t.role==="cancel"}));r.callButtonHandler(n)}};this.revealContentToScreenReader=false;this.overlayIndex=undefined;this.delegate=undefined;this.hasController=false;this.color=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.cssClass=undefined;this.duration=T.getNumber("toastDuration",0);this.header=undefined;this.layout="baseline";this.message=undefined;this.keyboardClose=false;this.position="bottom";this.buttons=undefined;this.translucent=false;this.animated=true;this.icon=undefined;this.htmlAttributes=undefined;this.isOpen=false;this.trigger=undefined}t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.triggerChanged=function(){var t=this,e=t.trigger,n=t.el,r=t.triggerController;if(e){r.addClickListener(n,e)}};t.prototype.connectedCallback=function(){b(this.el);this.triggerChanged()};t.prototype.disconnectedCallback=function(){this.triggerController.removeClickListener()};t.prototype.componentWillLoad=function(){g(this.el)};t.prototype.componentDidLoad=function(){var t=this;if(this.isOpen===true){d((function(){return t.present()}))}};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(n){switch(n.label){case 0:return[4,this.lockController.lock()];case 1:t=n.sent();return[4,this.delegateController.attachViewToDom()];case 2:n.sent();return[4,m(this,"toastEnter",j,z,this.position)];case 3:n.sent();this.revealContentToScreenReader=true;if(this.duration>0){this.durationTimeout=setTimeout((function(){return e.dismiss(undefined,"timeout")}),this.duration)}t();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,void 0,void 0,(function(){var n,r;return __generator(this,(function(o){switch(o.label){case 0:return[4,this.lockController.lock()];case 1:n=o.sent();if(this.durationTimeout){clearTimeout(this.durationTimeout)}return[4,v(this,t,e,"toastLeave",D,H,this.position)];case 2:r=o.sent();if(r){this.delegateController.removeViewFromDom();this.revealContentToScreenReader=false}n();return[2,r]}}))}))};t.prototype.onDidDismiss=function(){return x(this.el,"ionToastDidDismiss")};t.prototype.onWillDismiss=function(){return x(this.el,"ionToastWillDismiss")};t.prototype.getButtons=function(){var t=this.buttons?this.buttons.map((function(t){return typeof t==="string"?{text:t}:t})):[];return t};t.prototype.buttonClick=function(t){return __awaiter(this,void 0,void 0,(function(){var e,n;return __generator(this,(function(r){switch(r.label){case 0:e=t.role;if(f(e)){return[2,this.dismiss(undefined,e)]}return[4,this.callButtonHandler(t)];case 1:n=r.sent();if(n){return[2,this.dismiss(undefined,e)]}return[2,Promise.resolve()]}}))}))};t.prototype.callButtonHandler=function(t){return __awaiter(this,void 0,void 0,(function(){var e,n;return __generator(this,(function(r){switch(r.label){case 0:if(!(t===null||t===void 0?void 0:t.handler))return[3,4];r.label=1;case 1:r.trys.push([1,3,,4]);return[4,w(t.handler)];case 2:e=r.sent();if(e===false){return[2,false]}return[3,4];case 3:n=r.sent();console.error(n);return[3,4];case 4:return[2,true]}}))}))};t.prototype.renderButtons=function(t,e){var n;var o=this;if(t.length===0){return}var i=C(this);var a=(n={"toast-button-group":true},n["toast-button-group-".concat(e)]=true,n);return r("div",{class:a},t.map((function(t){return r("button",Object.assign({},t.htmlAttributes,{type:"button",class:E(t),tabIndex:0,onClick:function(){return o.buttonClick(t)},part:M(t)}),r("div",{class:"toast-button-inner"},t.icon&&r("ion-icon",{"aria-hidden":"true",icon:t.icon,slot:t.text===undefined?"icon-only":undefined,class:"toast-button-icon"}),t.text),i==="md"&&r("ion-ripple-effect",{type:t.icon!==undefined&&t.text===undefined?"unbounded":"bounded"}))})))};t.prototype.renderToastMessage=function(t,e){if(e===void 0){e=null}var n=this,o=n.customHTMLEnabled,i=n.message;if(o){return r("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message",innerHTML:s(i)})}return r("div",{key:t,"aria-hidden":e,class:"toast-message",part:"message"},i)};t.prototype.renderHeader=function(t,e){if(e===void 0){e=null}return r("div",{key:t,class:"toast-header","aria-hidden":e,part:"header"},this.header)};t.prototype.render=function(){var t,e;var n=this,i=n.layout,a=n.el,s=n.revealContentToScreenReader,l=n.header,d=n.message;var u=this.getButtons();var p=u.filter((function(t){return t.side==="start"}));var h=u.filter((function(t){return t.side!=="start"}));var f=C(this);var b=(t={"toast-wrapper":true},t["toast-".concat(this.position)]=true,t["toast-layout-".concat(i)]=true,t);if(i==="stacked"&&p.length>0&&h.length>0){c("This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.",a)}return r(o,Object.assign({tabindex:"-1"},this.htmlAttributes,{style:{zIndex:"".concat(6e4+this.overlayIndex)},class:k(this.color,Object.assign(Object.assign((e={},e[f]=true,e),y(this.cssClass)),{"overlay-hidden":true,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),r("div",{class:b},r("div",{class:"toast-container",part:"container"},this.renderButtons(p,"start"),this.icon!==undefined&&r("ion-icon",{class:"toast-icon",part:"icon",icon:this.icon,lazy:false,"aria-hidden":"true"}),r("div",{class:"toast-content",role:"status","aria-atomic":"true","aria-live":"polite"},!s&&l!==undefined&&this.renderHeader("oldHeader","true"),!s&&d!==undefined&&this.renderToastMessage("oldMessage","true"),s&&l!==undefined&&this.renderHeader("header"),s&&d!==undefined&&this.renderToastMessage("header")),this.renderButtons(h,"end"))))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}},enumerable:false,configurable:true});return t}());var E=function(t){var e;return Object.assign((e={"toast-button":true,"toast-button-icon-only":t.icon!==undefined&&t.text===undefined},e["toast-button-".concat(t.role)]=t.role!==undefined,e["ion-focusable"]=true,e["ion-activatable"]=true,e),y(t.cssClass))};var M=function(t){return f(t.role)?"button cancel":"button"};P.style={ios:S,md:O}}}}));
@@ -1,4 +1,4 @@
1
1
  var __awaiter=this&&this.__awaiter||function(e,n,t,r){function i(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function u(e){try{s(r["throw"](e))}catch(e){o(e)}}function s(e){e.done?t(e.value):i(e.value).then(a,u)}s((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(n){return s([e,n])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(t=0)),t)try{if(r=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;i=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){t.label=u[1];break}if(u[0]===6&&t.label<o[1]){t.label=o[1];o=u;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(u);break}if(o[2])t.ops.pop();t.trys.pop();continue}u=n.call(e,t)}catch(e){u=[6,e];i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,i=n.length,o;r<i;r++){if(o||!(r in n)){if(!o)o=Array.prototype.slice.call(n,0,r);o[r]=n[r]}}return e.concat(o||Array.prototype.slice.call(n))};
2
2
  /*!
3
3
  * (C) Ionic http://ionicframework.com - MIT License
4
- */System.register(["./p-7b16490a.system.js","./p-33dc95e4.system.js","./p-8c15eda7.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js"],(function(e){"use strict";var n,t,r,i,o,a,u,s,l,c;return{setters:[function(e){n=e.b;t=e.c},function(e){r=e.C},function(e){i=e.OVERLAY_BACK_BUTTON_PRIORITY},function(e){o=e.c;a=e.f;u=e.a;s=e.b;l=e.g},function(e){c=e.p}],execute:function(){var d=this;var f=0;var v=0;var m=e("n",new WeakMap);var h=function(e){return{create:function(n){return x(e,n)},dismiss:function(n,t,r){return j(document,n,t,e,r)},getTop:function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,O(document,e)]}))}))}}};var p=e("a",h("ion-alert"));var y=e("b",h("ion-action-sheet"));var b=e("l",h("ion-loading"));var w=e("m",h("ion-modal"));var g=e("p",h("ion-picker"));var _=e("c",h("ion-popover"));var k=e("t",h("ion-toast"));var A=e("j",(function(e){if(typeof document!=="undefined"){F(document)}var n=f++;e.overlayIndex=n}));var E=e("k",(function(e){if(!e.hasAttribute("id")){e.id="ion-overlay-".concat(++v)}return e.id}));var x=function(e,n){if(typeof window!=="undefined"&&typeof window.customElements!=="undefined"){return window.customElements.whenDefined(e).then((function(){var t=document.createElement(e);t.classList.add("overlay-hidden");Object.assign(t,Object.assign(Object.assign({},n),{hasController:true}));V(document).appendChild(t);return new Promise((function(e){return o(t,e)}))}))}return Promise.resolve()};var S='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';var D=e("o",(function(e,n){var t=e.querySelector(S);var r=t===null||t===void 0?void 0:t.shadowRoot;if(r){t=r.querySelector(S)||t}if(t){a(t)}else{n.focus()}}));var L=function(e){return e.classList.contains("overlay-hidden")};var P=function(e,n){var t=Array.from(e.querySelectorAll(S));var r=t.length>0?t[t.length-1]:null;var i=r===null||r===void 0?void 0:r.shadowRoot;if(i){r=i.querySelector(S)||r}if(r){r.focus()}else{n.focus()}};var q=function(e,n){var t=O(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover");var r=e.target;if(!t||!r){return}if(t.classList.contains("ion-disable-focus-trap")){return}var i=function(){if(t===r){t.lastFocus=undefined}else{var e=l(t);if(!e.contains(r)){return}var i=e.querySelector(".ion-overlay-wrapper");if(!i){return}if(i.contains(r)||r===e.querySelector("ion-backdrop")){t.lastFocus=r}else{var o=t.lastFocus;D(i,t);if(o===n.activeElement){P(i,t)}t.lastFocus=n.activeElement}}};var o=function(){if(t.contains(r)){t.lastFocus=r}else{var e=t.lastFocus;D(t,t);if(e===n.activeElement){P(t,t)}t.lastFocus=n.activeElement}};if(t.shadowRoot){o()}else{i()}};var F=function(e){if(f===0){f=1;e.addEventListener("focus",(function(n){q(n,e)}),true);e.addEventListener("ionBackButton",(function(n){var t=O(e);if(t===null||t===void 0?void 0:t.backdropDismiss){n.detail.register(i,(function(){return t.dismiss(undefined,K)}))}}));e.addEventListener("keydown",(function(n){if(n.key==="Escape"){var t=O(e);if(t===null||t===void 0?void 0:t.backdropDismiss){t.dismiss(undefined,K)}}}))}};var j=function(e,n,t,r,i){var o=O(e,r,i);if(!o){return Promise.reject("overlay does not exist")}return o.dismiss(n,t)};var C=function(e,n){if(n===undefined){n="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"}return Array.from(e.querySelectorAll(n)).filter((function(e){return e.overlayIndex>0}))};var O=e("q",(function(e,n,t){var r=C(e,n).filter((function(e){return!L(e)}));return t===undefined?r[r.length-1]:r.find((function(e){return e.id===t}))}));var T=function(e){if(e===void 0){e=false}var n=V(document);var t=n.querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");if(!t){return}if(e){t.setAttribute("aria-hidden","true")}else{t.removeAttribute("aria-hidden")}};var B=e("f",(function(e,r,i,o,a){return __awaiter(d,void 0,void 0,(function(){var u,s,l,c,d;return __generator(this,(function(f){switch(f.label){case 0:if(e.presented){return[2]}T(true);e.presented=true;e.willPresent.emit();(u=e.willPresentShorthand)===null||u===void 0?void 0:u.emit();l=n(e);c=e.enterAnimation?e.enterAnimation:t.get(r,l==="ios"?i:o);return[4,N(e,c,e.el,a)];case 1:d=f.sent();if(d){e.didPresent.emit();(s=e.didPresentShorthand)===null||s===void 0?void 0:s.emit()}if(e.el.tagName!=="ION-TOAST"){I(e.el)}if(e.keyboardClose&&(document.activeElement===null||!e.el.contains(document.activeElement))){e.el.focus()}return[2]}}))}))}));var I=function(e){return __awaiter(d,void 0,void 0,(function(){var n,t;return __generator(this,(function(r){switch(r.label){case 0:n=document.activeElement;if(!n){return[2]}t=n===null||n===void 0?void 0:n.shadowRoot;if(t){n=t.querySelector(S)||n}return[4,e.onDidDismiss()];case 1:r.sent();n.focus();return[2]}}))}))};var R=e("g",(function(e,r,i,o,a,u,s){return __awaiter(d,void 0,void 0,(function(){var l,c,d,f,v;return __generator(this,(function(h){switch(h.label){case 0:if(!e.presented){return[2,false]}T(false);e.presented=false;h.label=1;case 1:h.trys.push([1,4,,5]);e.el.style.setProperty("pointer-events","none");e.willDismiss.emit({data:r,role:i});(l=e.willDismissShorthand)===null||l===void 0?void 0:l.emit({data:r,role:i});d=n(e);f=e.leaveAnimation?e.leaveAnimation:t.get(o,d==="ios"?a:u);if(!(i!==U))return[3,3];return[4,N(e,f,e.el,s)];case 2:h.sent();h.label=3;case 3:e.didDismiss.emit({data:r,role:i});(c=e.didDismissShorthand)===null||c===void 0?void 0:c.emit({data:r,role:i});m.delete(e);e.el.classList.add("overlay-hidden");e.el.style.removeProperty("pointer-events");if(e.el.lastFocus!==undefined){e.el.lastFocus=undefined}return[3,5];case 4:v=h.sent();console.error(v);return[3,5];case 5:e.el.remove();return[2,true]}}))}))}));var V=function(e){return e.querySelector("ion-app")||e.body};var N=function(e,n,r,i){return __awaiter(d,void 0,void 0,(function(){var o,a,u;return __generator(this,(function(s){switch(s.label){case 0:r.classList.remove("overlay-hidden");o=e.el;a=n(o,i);if(!e.animated||!t.getBoolean("animated",true)){a.duration(0)}if(e.keyboardClose){a.beforeAddWrite((function(){var e=r.ownerDocument.activeElement;if(e===null||e===void 0?void 0:e.matches("input,ion-input, ion-textarea")){e.blur()}}))}u=m.get(e)||[];m.set(e,__spreadArray(__spreadArray([],u,true),[a],false));return[4,a.play()];case 1:s.sent();return[2,true]}}))}))};var G=e("h",(function(e,n){var t;var r=new Promise((function(e){return t=e}));M(e,n,(function(e){t(e.detail)}));return r}));var M=function(e,n,t){var r=function(i){s(e,n,r);t(i)};u(e,n,r)};var W=e("i",(function(e){return e==="cancel"||e===K}));var Y=function(e){return e()};var z=e("s",(function(e,n){if(typeof e==="function"){var r=t.get("_zoneGate",Y);return r((function(){try{return e(n)}catch(e){throw e}}))}return undefined}));var K=e("B","backdrop");var U=e("G","gesture");var H=e("d",(function(e){var n=false;var t;var i=r();var o=function(r){if(r===void 0){r=false}if(t&&!r){return{delegate:t,inline:n}}var o=e.el,a=e.hasController,u=e.delegate;var s=o.parentNode;n=s!==null&&!a;t=n?u||i:u;return{inline:n,delegate:t}};var a=function(n){return __awaiter(d,void 0,void 0,(function(){var t,r;return __generator(this,(function(i){switch(i.label){case 0:t=o(true).delegate;if(!t)return[3,2];return[4,t.attachViewToDom(e.el,n)];case 1:return[2,i.sent()];case 2:r=e.hasController;if(r&&n!==undefined){throw new Error("framework delegate is missing")}return[2,null]}}))}))};var u=function(){var n=o().delegate;if(n&&e.el!==undefined){n.removeViewFromDom(e.el.parentElement,e.el)}};return{attachViewToDom:a,removeViewFromDom:u}}));var J=e("e",(function(){var e;var n=function(){if(e){e();e=undefined}};var t=function(t,r){n();var i=r!==undefined?document.getElementById(r):null;if(!i){c('A trigger element with the ID "'.concat(r,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.'),t);return}var o=function(e,n){var t=function(){n.present()};e.addEventListener("click",t);return function(){e.removeEventListener("click",t)}};e=o(i,t)};return{addClickListener:t,removeClickListener:n}}))}}}));
4
+ */System.register(["./p-7b16490a.system.js","./p-8d9475b5.system.js","./p-8c15eda7.system.js","./p-815c2fba.system.js","./p-479cdbf8.system.js"],(function(e){"use strict";var n,t,r,i,o,a,u,s,l,c;return{setters:[function(e){n=e.b;t=e.c},function(e){r=e.C},function(e){i=e.OVERLAY_BACK_BUTTON_PRIORITY},function(e){o=e.c;a=e.f;u=e.a;s=e.b;l=e.g},function(e){c=e.p}],execute:function(){var d=this;var f=0;var v=0;var m=e("o",new WeakMap);var h=function(e){return{create:function(n){return x(e,n)},dismiss:function(n,t,r){return j(document,n,t,e,r)},getTop:function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return[2,O(document,e)]}))}))}}};var p=e("a",h("ion-alert"));var y=e("b",h("ion-action-sheet"));var b=e("l",h("ion-loading"));var w=e("m",h("ion-modal"));var g=e("p",h("ion-picker"));var _=e("c",h("ion-popover"));var k=e("t",h("ion-toast"));var A=e("k",(function(e){if(typeof document!=="undefined"){F(document)}var n=f++;e.overlayIndex=n}));var E=e("n",(function(e){if(!e.hasAttribute("id")){e.id="ion-overlay-".concat(++v)}return e.id}));var x=function(e,n){if(typeof window!=="undefined"&&typeof window.customElements!=="undefined"){return window.customElements.whenDefined(e).then((function(){var t=document.createElement(e);t.classList.add("overlay-hidden");Object.assign(t,Object.assign(Object.assign({},n),{hasController:true}));V(document).appendChild(t);return new Promise((function(e){return o(t,e)}))}))}return Promise.resolve()};var S='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';var D=e("q",(function(e,n){var t=e.querySelector(S);var r=t===null||t===void 0?void 0:t.shadowRoot;if(r){t=r.querySelector(S)||t}if(t){a(t)}else{n.focus()}}));var L=function(e){return e.classList.contains("overlay-hidden")};var P=function(e,n){var t=Array.from(e.querySelectorAll(S));var r=t.length>0?t[t.length-1]:null;var i=r===null||r===void 0?void 0:r.shadowRoot;if(i){r=i.querySelector(S)||r}if(r){r.focus()}else{n.focus()}};var q=function(e,n){var t=O(n,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover");var r=e.target;if(!t||!r){return}if(t.classList.contains("ion-disable-focus-trap")){return}var i=function(){if(t===r){t.lastFocus=undefined}else{var e=l(t);if(!e.contains(r)){return}var i=e.querySelector(".ion-overlay-wrapper");if(!i){return}if(i.contains(r)||r===e.querySelector("ion-backdrop")){t.lastFocus=r}else{var o=t.lastFocus;D(i,t);if(o===n.activeElement){P(i,t)}t.lastFocus=n.activeElement}}};var o=function(){if(t.contains(r)){t.lastFocus=r}else{var e=t.lastFocus;D(t,t);if(e===n.activeElement){P(t,t)}t.lastFocus=n.activeElement}};if(t.shadowRoot){o()}else{i()}};var F=function(e){if(f===0){f=1;e.addEventListener("focus",(function(n){q(n,e)}),true);e.addEventListener("ionBackButton",(function(n){var t=O(e);if(t===null||t===void 0?void 0:t.backdropDismiss){n.detail.register(i,(function(){return t.dismiss(undefined,K)}))}}));e.addEventListener("keydown",(function(n){if(n.key==="Escape"){var t=O(e);if(t===null||t===void 0?void 0:t.backdropDismiss){t.dismiss(undefined,K)}}}))}};var j=function(e,n,t,r,i){var o=O(e,r,i);if(!o){return Promise.reject("overlay does not exist")}return o.dismiss(n,t)};var C=function(e,n){if(n===undefined){n="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"}return Array.from(e.querySelectorAll(n)).filter((function(e){return e.overlayIndex>0}))};var O=e("r",(function(e,n,t){var r=C(e,n).filter((function(e){return!L(e)}));return t===undefined?r[r.length-1]:r.find((function(e){return e.id===t}))}));var T=function(e){if(e===void 0){e=false}var n=V(document);var t=n.querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");if(!t){return}if(e){t.setAttribute("aria-hidden","true")}else{t.removeAttribute("aria-hidden")}};var B=e("g",(function(e,r,i,o,a){return __awaiter(d,void 0,void 0,(function(){var u,s,l,c,d;return __generator(this,(function(f){switch(f.label){case 0:if(e.presented){return[2]}T(true);e.presented=true;e.willPresent.emit();(u=e.willPresentShorthand)===null||u===void 0?void 0:u.emit();l=n(e);c=e.enterAnimation?e.enterAnimation:t.get(r,l==="ios"?i:o);return[4,N(e,c,e.el,a)];case 1:d=f.sent();if(d){e.didPresent.emit();(s=e.didPresentShorthand)===null||s===void 0?void 0:s.emit()}if(e.el.tagName!=="ION-TOAST"){I(e.el)}if(e.keyboardClose&&(document.activeElement===null||!e.el.contains(document.activeElement))){e.el.focus()}return[2]}}))}))}));var I=function(e){return __awaiter(d,void 0,void 0,(function(){var n,t;return __generator(this,(function(r){switch(r.label){case 0:n=document.activeElement;if(!n){return[2]}t=n===null||n===void 0?void 0:n.shadowRoot;if(t){n=t.querySelector(S)||n}return[4,e.onDidDismiss()];case 1:r.sent();n.focus();return[2]}}))}))};var R=e("h",(function(e,r,i,o,a,u,s){return __awaiter(d,void 0,void 0,(function(){var l,c,d,f,v;return __generator(this,(function(h){switch(h.label){case 0:if(!e.presented){return[2,false]}T(false);e.presented=false;h.label=1;case 1:h.trys.push([1,4,,5]);e.el.style.setProperty("pointer-events","none");e.willDismiss.emit({data:r,role:i});(l=e.willDismissShorthand)===null||l===void 0?void 0:l.emit({data:r,role:i});d=n(e);f=e.leaveAnimation?e.leaveAnimation:t.get(o,d==="ios"?a:u);if(!(i!==U))return[3,3];return[4,N(e,f,e.el,s)];case 2:h.sent();h.label=3;case 3:e.didDismiss.emit({data:r,role:i});(c=e.didDismissShorthand)===null||c===void 0?void 0:c.emit({data:r,role:i});m.delete(e);e.el.classList.add("overlay-hidden");e.el.style.removeProperty("pointer-events");if(e.el.lastFocus!==undefined){e.el.lastFocus=undefined}return[3,5];case 4:v=h.sent();console.error(v);return[3,5];case 5:e.el.remove();return[2,true]}}))}))}));var V=function(e){return e.querySelector("ion-app")||e.body};var N=function(e,n,r,i){return __awaiter(d,void 0,void 0,(function(){var o,a,u;return __generator(this,(function(s){switch(s.label){case 0:r.classList.remove("overlay-hidden");o=e.el;a=n(o,i);if(!e.animated||!t.getBoolean("animated",true)){a.duration(0)}if(e.keyboardClose){a.beforeAddWrite((function(){var e=r.ownerDocument.activeElement;if(e===null||e===void 0?void 0:e.matches("input,ion-input, ion-textarea")){e.blur()}}))}u=m.get(e)||[];m.set(e,__spreadArray(__spreadArray([],u,true),[a],false));return[4,a.play()];case 1:s.sent();return[2,true]}}))}))};var G=e("j",(function(e,n){var t;var r=new Promise((function(e){return t=e}));M(e,n,(function(e){t(e.detail)}));return r}));var M=function(e,n,t){var r=function(i){s(e,n,r);t(i)};u(e,n,r)};var W=e("i",(function(e){return e==="cancel"||e===K}));var Y=function(e){return e()};var z=e("s",(function(e,n){if(typeof e==="function"){var r=t.get("_zoneGate",Y);return r((function(){try{return e(n)}catch(e){throw e}}))}return undefined}));var K=e("B","backdrop");var U=e("G","gesture");var H=e("d",(function(e){var n=false;var t;var i=r();var o=function(r){if(r===void 0){r=false}if(t&&!r){return{delegate:t,inline:n}}var o=e.el,a=e.hasController,u=e.delegate;var s=o.parentNode;n=s!==null&&!a;t=n?u||i:u;return{inline:n,delegate:t}};var a=function(n){return __awaiter(d,void 0,void 0,(function(){var t,r;return __generator(this,(function(i){switch(i.label){case 0:t=o(true).delegate;if(!t)return[3,2];return[4,t.attachViewToDom(e.el,n)];case 1:return[2,i.sent()];case 2:r=e.hasController;if(r&&n!==undefined){throw new Error("framework delegate is missing")}return[2,null]}}))}))};var u=function(){var n=o().delegate;if(n&&e.el!==undefined){n.removeViewFromDom(e.el.parentElement,e.el)}};return{attachViewToDom:a,removeViewFromDom:u}}));var J=e("e",(function(){var e;var n=function(){return __awaiter(d,void 0,void 0,(function(){var n,t;return __generator(this,(function(r){switch(r.label){case 0:n=e;e=new Promise((function(e){return t=e}));if(!(n!==undefined))return[3,2];return[4,n];case 1:r.sent();r.label=2;case 2:return[2,t]}}))}))};return{lock:n}}));var Q=e("f",(function(){var e;var n=function(){if(e){e();e=undefined}};var t=function(t,r){n();var i=r!==undefined?document.getElementById(r):null;if(!i){c('A trigger element with the ID "'.concat(r,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.'),t);return}var o=function(e,n){var t=function(){n.present()};e.addEventListener("click",t);return function(){e.removeEventListener("click",t)}};e=o(i,t)};return{addClickListener:t,removeClickListener:n}}))}}}));
@@ -7,8 +7,8 @@ import type { ActionSheetButton } from './action-sheet-interface';
7
7
  */
8
8
  export declare class ActionSheet implements ComponentInterface, OverlayInterface {
9
9
  private readonly delegateController;
10
+ private readonly lockController;
10
11
  private readonly triggerController;
11
- private currentTransition?;
12
12
  private wrapperEl?;
13
13
  private groupEl?;
14
14
  private gesture?;
@@ -8,6 +8,7 @@ import type { AlertButton, AlertInput } from './alert-interface';
8
8
  */
9
9
  export declare class Alert implements ComponentInterface, OverlayInterface {
10
10
  private readonly delegateController;
11
+ private readonly lockController;
11
12
  private readonly triggerController;
12
13
  private customHTMLEnabled;
13
14
  private activeId?;
@@ -16,7 +17,6 @@ export declare class Alert implements ComponentInterface, OverlayInterface {
16
17
  private processedButtons;
17
18
  private wrapperEl?;
18
19
  private gesture?;
19
- private currentTransition?;
20
20
  presented: boolean;
21
21
  lastFocus?: HTMLElement;
22
22
  el: HTMLIonAlertElement;
@@ -8,10 +8,10 @@ import type { SpinnerTypes } from '../spinner/spinner-configs';
8
8
  */
9
9
  export declare class Loading implements ComponentInterface, OverlayInterface {
10
10
  private readonly delegateController;
11
+ private readonly lockController;
11
12
  private readonly triggerController;
12
13
  private customHTMLEnabled;
13
14
  private durationTimeout?;
14
- private currentTransition?;
15
15
  presented: boolean;
16
16
  lastFocus?: HTMLElement;
17
17
  el: HTMLIonLoadingElement;
@@ -12,10 +12,10 @@ import type { ModalBreakpointChangeEventDetail, ModalHandleBehavior } from './mo
12
12
  * @part handle - The handle that is displayed at the top of the sheet modal when `handle="true"`.
13
13
  */
14
14
  export declare class Modal implements ComponentInterface, OverlayInterface {
15
+ private readonly lockController;
15
16
  private readonly triggerController;
16
17
  private gesture?;
17
18
  private coreDelegate;
18
- private currentTransition?;
19
19
  private sheetTransition?;
20
20
  private isSheetModal;
21
21
  private currentBreakpoint?;
@@ -7,9 +7,9 @@ import type { PickerButton, PickerColumn } from './picker-interface';
7
7
  */
8
8
  export declare class Picker implements ComponentInterface, OverlayInterface {
9
9
  private readonly delegateController;
10
+ private readonly lockController;
10
11
  private readonly triggerController;
11
12
  private durationTimeout?;
12
- private currentTransition?;
13
13
  lastFocus?: HTMLElement;
14
14
  el: HTMLIonPickerElement;
15
15
  presented: boolean;
@@ -16,7 +16,7 @@ export declare class Popover implements ComponentInterface, PopoverInterface {
16
16
  private triggerEl?;
17
17
  private parentPopover;
18
18
  private coreDelegate;
19
- private currentTransition?;
19
+ private readonly lockController;
20
20
  private destroyTriggerInteraction?;
21
21
  private destroyKeyboardInteraction?;
22
22
  private destroyDismissInteraction?;
@@ -15,8 +15,8 @@ import type { ToastButton, ToastPosition, ToastLayout } from './toast-interface'
15
15
  */
16
16
  export declare class Toast implements ComponentInterface, OverlayInterface {
17
17
  private readonly delegateController;
18
+ private readonly lockController;
18
19
  private readonly triggerController;
19
- private currentTransition?;
20
20
  private customHTMLEnabled;
21
21
  private durationTimeout?;
22
22
  presented: boolean;
@@ -114,6 +114,15 @@ export declare const createDelegateController: (ref: {
114
114
  attachViewToDom: (component?: any) => Promise<HTMLElement | null>;
115
115
  removeViewFromDom: () => void;
116
116
  };
117
+ /**
118
+ * Creates a lock controller.
119
+ *
120
+ * This function locks transitions.
121
+ * The unlock() function within it calls resolve on this function, unlocking the transitions.
122
+ */
123
+ export declare const createLockController: () => {
124
+ lock: () => Promise<() => void>;
125
+ };
117
126
  /**
118
127
  * Constructs a trigger interaction for an overlay.
119
128
  * Presents an overlay when the trigger is clicked.