import{h}from"@stencil/core";import{__}from"@wordpress/i18n";import{openWormhole}from"stencil-wormhole";export class ScOrderConfirmationCustomer{constructor(){this.order=void 0,this.heading=void 0,this.customer=void 0,this.error=void 0,this.loading=void 0}render(){return this.customer?h("sc-customer-details",{customer:this.customer,loading:this.loading,error:this.error},h("span",{slot:"heading"},h("slot",{name:"heading"},this.heading||__("Billing Details","surecart")))):null}static get is(){return"sc-order-confirmation-customer"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-order-confirmation-customer.css"]}}static get styleUrls(){return{$:["sc-order-confirmation-customer.css"]}}static get properties(){return{order:{type:"unknown",mutable:!1,complexType:{original:"Checkout",resolved:"Checkout",references:{Checkout:{location:"import",path:"../../../../types",id:"src/types.ts::Checkout"}}},required:!1,optional:!1,docs:{tags:[],text:"The Order"}},heading:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:"The heading"},attribute:"heading",reflect:!1},customer:{type:"unknown",mutable:!1,complexType:{original:"Customer",resolved:"Customer",references:{Customer:{location:"import",path:"../../../../types",id:"src/types.ts::Customer"}}},required:!1,optional:!1,docs:{tags:[],text:"The customer"}},error:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Error message."},attribute:"error",reflect:!1},loading:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Is this loading?"},attribute:"loading",reflect:!1}}}}openWormhole(ScOrderConfirmationCustomer,["order","customer","loading"],!1);