FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
surecart
/
dist
/
components
/
components
Edit File: sc-order-manual-instructions2.js
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{o as openWormhole}from"./consumer.js";import{d as defineCustomElement$2}from"./sc-alert2.js";import{d as defineCustomElement$1}from"./sc-icon2.js";const scOrderManualInstructionsCss=":host{display:block}",ScOrderManualInstructionsStyle0=":host{display:block}",ScOrderManualInstructions=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.manualPaymentTitle=void 0,this.manualPaymentInstructions=void 0}render(){return this.manualPaymentInstructions&&this.manualPaymentTitle?h("sc-alert",{type:"info",open:!0},h("span",{slot:"title"},this.manualPaymentTitle),h("div",{innerHTML:this.manualPaymentInstructions})):h(Host,{style:{display:"none"}})}static get style(){return":host{display:block}"}},[1,"sc-order-manual-instructions",{manualPaymentTitle:[1,"manual-payment-title"],manualPaymentInstructions:[1,"manual-payment-instructions"]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["sc-order-manual-instructions","sc-alert","sc-icon"].forEach((t=>{switch(t){case"sc-order-manual-instructions":customElements.get(t)||customElements.define(t,ScOrderManualInstructions);break;case"sc-alert":customElements.get(t)||defineCustomElement$2();break;case"sc-icon":customElements.get(t)||defineCustomElement$1()}}))}openWormhole(ScOrderManualInstructions,["manualPaymentTitle","manualPaymentInstructions"],!1);export{ScOrderManualInstructions as S,defineCustomElement as d};
Save
Back