import{r as i,d as t,h as o}from"./p-846bd001.js";import{s}from"./p-4ff8bb4b.js";import"./p-5cd01495.js";import"./p-259f1737.js";import"./p-ae2fb9dc.js";import"./p-65879f9e.js";import"./p-dca1478c.js";const l=class{constructor(o){i(this,o),this.floodteamCloseModal=t(this,"floodteamCloseModal",7),this.headerTitle="Flow",this.name=void 0,this.formData={},this.nextButton={label:"Next",color:"primary",fill:"clear",icon:"chevron-forward-circle-outline"},this.prevButton={label:"Back",color:"medium",fill:"clear",icon:"chevron-back-circle-outline"},this.saveButton={label:"Save",fill:"solid",color:"primary",icon:"checkmark-circle-outline"},this.hideControls=!1,this.endpoint=void 0,this.documentId=void 0,this.excludeData=[],this.beforeSubmit=void 0,this.disableLoader=!1,this.loading=!1,this.disableEnterButton=!1,this.confirmExit=!1,this.hasChanged=!1,this.method="post",this.action=void 0,this.fetch=void 0,this.fetchParams=void 0,this.fetchDataMap=void 0,this.slidesOptions={autoHeight:!0,allowTouchMove:!1},this.pager=!1,this.scrollbar=!1,this.steps=[],this.googleMapsKey=void 0,this.stripeKey=void 0,this.stripeElements=void 0,this.askConfirmation=!1}render(){var i,t,l,h;return[o("ion-header",null,o("ion-toolbar",null,o("ion-title",null,this.headerTitle),o("ion-buttons",{slot:"end"},o("ion-button",{onClick:()=>this.floodteamCloseModal.emit()},o("ion-icon",{slot:"icon-only",name:"close-circle-outline"}))))),o("ion-content",null,o("fireenjin-flow",{name:this.name,formData:this.formData,nextButton:this.nextButton,saveButton:this.saveButton,prevButton:this.prevButton,hideControls:this.hideControls,endpoint:this.endpoint,documentId:this.documentId,excludeData:this.excludeData,beforeSubmit:this.beforeSubmit,disableLoader:this.disableLoader,loading:this.loading,disableEnterButton:this.disableEnterButton,confirmExit:this.confirmExit,hasChanged:this.hasChanged,method:this.method,action:this.action,fetch:this.fetch,fetchDataMap:this.fetchDataMap,fetchParams:this.fetchParams,slidesOptions:this.slidesOptions||{autoHeight:!0},pager:this.pager,scrollbar:this.scrollbar,steps:this.steps,googleMapsKey:this.googleMapsKey||(null===(t=null===(i=null==s?void 0:s.config)||void 0===i?void 0:i.firebase)||void 0===t?void 0:t.apiKey),stripeKey:this.stripeKey||(null===(h=null===(l=null==s?void 0:s.config)||void 0===l?void 0:l.stripe)||void 0===h?void 0:h.key),stripeElements:this.stripeElements}))]}};l.style="modal-flow .banner{background-color:var(--ion-color-secondary)}modal-flow h1{color:#fff}modal-flow p{margin:0 0 15px 0;color:rgba(255, 255, 255, 0.8);font-weight:normal}.modal-flow{--width:700px;--max-width:700px}@media only screen and (max-width: 800px){.modal-flow{--width:100%;--max-width:auto}}";export{l as modal_flow}