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G","file":"162.js","sourcesContent":["import*as tslib_1 from\"../polyfills/tslib.js\";import{h}from\"../ionic.core.js\";import{a as BACKDROP,b as isCancel,c as present,d as dismiss,e as eventMethod,f as createOverlay,g as dismissOverlay,h as getOverlay}from\"./chunk-265f51bc.js\";import{a as getClassMap}from\"./chunk-7c632336.js\";function iosEnterAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;i.addElement(t.querySelector(\".action-sheet-wrapper\")),o.fromTo(\"opacity\",.01,.4),i.fromTo(\"translateY\",\"100%\",\"0%\");var r=n.addElement(t).easing(\"cubic-bezier(.36,.66,.04,1)\").duration(400).add(o).add(i);return Promise.resolve(r)}function iosLeaveAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;i.addElement(t.querySelector(\".action-sheet-wrapper\")),o.fromTo(\"opacity\",.4,0),i.fromTo(\"translateY\",\"0%\",\"100%\");var r=n.addElement(t).easing(\"cubic-bezier(.36,.66,.04,1)\").duration(450).add(o).add(i);return Promise.resolve(r)}function mdEnterAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;i.addElement(t.querySelector(\".action-sheet-wrapper\")),o.fromTo(\"opacity\",.01,.32),i.fromTo(\"translateY\",\"100%\",\"0%\");var r=n.addElement(t).easing(\"cubic-bezier(.36,.66,.04,1)\").duration(400).add(o).add(i);return Promise.resolve(r)}function mdLeaveAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;i.addElement(t.querySelector(\".action-sheet-wrapper\")),o.fromTo(\"opacity\",.32,0),i.fromTo(\"translateY\",\"0%\",\"100%\");var r=n.addElement(t).easing(\"cubic-bezier(.36,.66,.04,1)\").duration(450).add(o).add(i);return Promise.resolve(r)}var ActionSheet=function(){function e(){this.presented=!1,this.keyboardClose=!0,this.backdropDismiss=!0,this.translucent=!1,this.animated=!0}return e.prototype.onBackdropTap=function(){this.dismiss(void 0,BACKDROP)},e.prototype.dispatchCancelHandler=function(e){if(isCancel(e.detail.role)){var t=this.getButtons().find(function(e){return\"cancel\"===e.role});this.callButtonHandler(t)}},e.prototype.present=function(){return present(this,\"actionSheetEnter\",iosEnterAnimation,mdEnterAnimation)},e.prototype.dismiss=function(e,t){return dismiss(this,e,t,\"actionSheetLeave\",iosLeaveAnimation,mdLeaveAnimation)},e.prototype.onDidDismiss=function(){return eventMethod(this.el,\"ionActionSheetDidDismiss\")},e.prototype.onWillDismiss=function(){return eventMethod(this.el,\"ionActionSheetWillDismiss\")},e.prototype.buttonClick=function(e){return tslib_1.__awaiter(this,void 0,void 0,function(){var t;return tslib_1.__generator(this,function(n){switch(n.label){case 0:return isCancel(t=e.role)?[2,this.dismiss(void 0,t)]:[4,this.callButtonHandler(e)];case 1:return n.sent()?[2,this.dismiss(void 0,e.role)]:[2,Promise.resolve()]}})})},e.prototype.callButtonHandler=function(e){return tslib_1.__awaiter(this,void 0,void 0,function(){var t;return tslib_1.__generator(this,function(n){switch(n.label){case 0:if(!e||!e.handler)return[3,4];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,e.handler()];case 2:return!1===n.sent()?[2,!1]:[3,4];case 3:return t=n.sent(),console.error(t),[3,4];case 4:return[2,!0]}})})},e.prototype.getButtons=function(){return this.buttons.map(function(e){return\"string\"==typeof e?{text:e}:e})},e.prototype.hostData=function(){return{role:\"dialog\",\"aria-modal\":\"true\",style:{zIndex:2e4+this.overlayIndex},class:Object.assign({},getClassMap(this.cssClass),{\"action-sheet-translucent\":this.translucent})}},e.prototype.render=function(){var e=this,t=this.getButtons(),n=t.find(function(e){return\"cancel\"===e.role}),o=t.filter(function(e){return\"cancel\"!==e.role});return[h(\"ion-backdrop\",{tappable:this.backdropDismiss}),h(\"div\",{class:\"action-sheet-wrapper\",role:\"dialog\"},h(\"div\",{class:\"action-sheet-container\"},h(\"div\",{class:\"action-sheet-group\"},void 0!==this.header&&h(\"div\",{class:\"action-sheet-title\"},this.header,this.subHeader&&h(\"div\",{class:\"action-sheet-sub-title\"},this.subHeader)),o.map(function(t){return h(\"button\",{type:\"button\",\"ion-activatable\":!0,class:buttonClass(t),onClick:function(){return e.buttonClick(t)}},h(\"span\",{class:\"action-sheet-button-inner\"},t.icon&&h(\"ion-icon\",{icon:t.icon,lazy:!1,class:\"action-sheet-icon\"}),t.text),\"md\"===e.mode&&h(\"ion-ripple-effect\",null))})),n&&h(\"div\",{class:\"action-sheet-group action-sheet-group-cancel\"},h(\"button\",{type:\"button\",class:buttonClass(n),onClick:function(){return e.buttonClick(n)}},h(\"span\",{class:\"action-sheet-button-inner\"},n.icon&&h(\"ion-icon\",{icon:n.icon,lazy:!1,class:\"action-sheet-icon\"}),n.text)))))]},Object.defineProperty(e,\"is\",{get:function(){return\"ion-action-sheet\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"encapsulation\",{get:function(){return\"scoped\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"properties\",{get:function(){return{animated:{type:Boolean,attr:\"animated\"},backdropDismiss:{type:Boolean,attr:\"backdrop-dismiss\"},buttons:{type:\"Any\",attr:\"buttons\"},config:{context:\"config\"},cssClass:{type:String,attr:\"css-class\"},dismiss:{method:!0},el:{elementRef:!0},enterAnimation:{type:\"Any\",attr:\"enter-animation\"},header:{type:String,attr:\"header\"},keyboardClose:{type:Boolean,attr:\"keyboard-close\"},leaveAnimation:{type:\"Any\",attr:\"leave-animation\"},mode:{type:String,attr:\"mode\"},onDidDismiss:{method:!0},onWillDismiss:{method:!0},overlayIndex:{type:Number,attr:\"overlay-index\"},present:{method:!0},subHeader:{type:String,attr:\"sub-header\"},translucent:{type:Boolean,attr:\"translucent\"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"events\",{get:function(){return[{name:\"ionActionSheetDidPresent\",method:\"didPresent\",bubbles:!0,cancelable:!0,composed:!0},{name:\"ionActionSheetWillPresent\",method:\"willPresent\",bubbles:!0,cancelable:!0,composed:!0},{name:\"ionActionSheetWillDismiss\",method:\"willDismiss\",bubbles:!0,cancelable:!0,composed:!0},{name:\"ionActionSheetDidDismiss\",method:\"didDismiss\",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"listeners\",{get:function(){return[{name:\"ionBackdropTap\",method:\"onBackdropTap\"},{name:\"ionActionSheetWillDismiss\",method:\"dispatchCancelHandler\"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"style\",{get:function(){return\".sc-ion-action-sheet-md-h{--color:initial;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:100%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;font-family:var(--ion-font-family,inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1000}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);display:block;position:absolute;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);z-index:10;pointer-events:none}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-button.sc-ion-action-sheet-md{width:100%;border:0;outline:none;font-family:inherit}.action-sheet-button.activated.sc-ion-action-sheet-md{background:var(--background-activated)}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:scroll;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-selected.sc-ion-action-sheet-md{background:var(--background-selected)}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color,#fff);--background-selected:var(--background,);--background-activated:var(--background)}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;height:60px;color:var(--color,rgba(var(--ion-text-color-rgb,0,0,0),.54));font-size:16px;text-align:start}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:0}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;background:transparent;color:var(--color,var(--ion-color-step-850,#262626));font-size:16px;text-align:start;contain:strict;overflow:hidden}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{padding-bottom:4px;margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color,rgba(var(--ion-text-color-rgb,0,0,0),.54));font-size:24px}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:700}\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"styleMode\",{get:function(){return\"md\"},enumerable:!0,configurable:!0}),e}();function buttonClass(e){var t;return Object.assign(((t={\"action-sheet-button\":!0,\"ion-activatable\":!0})[\"action-sheet-\"+e.role]=void 0!==e.role,t),getClassMap(e.cssClass))}var ActionSheetController=function(){function e(){}return e.prototype.create=function(e){return createOverlay(this.doc.createElement(\"ion-action-sheet\"),e)},e.prototype.dismiss=function(e,t,n){return dismissOverlay(this.doc,e,t,\"ion-action-sheet\",n)},e.prototype.getTop=function(){return tslib_1.__awaiter(this,void 0,void 0,function(){return tslib_1.__generator(this,function(e){return[2,getOverlay(this.doc,\"ion-action-sheet\")]})})},Object.defineProperty(e,\"is\",{get:function(){return\"ion-action-sheet-controller\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"properties\",{get:function(){return{create:{method:!0},dismiss:{method:!0},doc:{context:\"document\"},getTop:{method:!0}}},enumerable:!0,configurable:!0}),e}();export{ActionSheet as IonActionSheet,ActionSheetController as IonActionSheetController};"],"sourceRoot":""}