import{r as i,d as t,h as o}from"./p-03169580.js";import{s as l}from"./p-46225039.js";import"./p-59c95c5f.js";import"./p-c9699503.js";const s="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}}";let e=class{constructor(o){i(this,o);this.floodteamCloseModal=t(this,"floodteamCloseModal",7);this.headerTitle="Flow";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=false;this.excludeData=[];this.disableLoader=false;this.loading=false;this.disableEnterButton=false;this.confirmExit=false;this.hasChanged=false;this.method="post";this.slidesOptions={autoHeight:true,allowTouchMove:false};this.pager=false;this.scrollbar=false;this.steps=[];this.askConfirmation=false}render(){var i,t,s,e;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:true},pager:this.pager,scrollbar:this.scrollbar,steps:this.steps,googleMapsKey:this.googleMapsKey||((t=(i=l===null||l===void 0?void 0:l.config)===null||i===void 0?void 0:i.firebase)===null||t===void 0?void 0:t.apiKey),stripeKey:this.stripeKey||((e=(s=l===null||l===void 0?void 0:l.config)===null||s===void 0?void 0:s.stripe)===null||e===void 0?void 0:e.key),stripeElements:this.stripeElements}))]}};e.style=s;export{e as modal_flow};
//# sourceMappingURL=p-9661de38.entry.js.map