import './Loading.scss' ; ( ( ) => { const Loading = class extends HTMLElement { private loadingElement : HTMLElement | null ; constructor ( ) { super ( ) ; this . loadingElement = null ; } connectedCallback ( ) { this . render ( ) ; this . initElement ( ) ; } initElement ( ) { this . loadingElement = document . querySelector ( 'audi-loading' ) ; } render ( ) { this . innerHTML = `
                <div class='loading-box'>
                    <div class='circle'></div>
                </div>
            ` ; } startLoading ( ) { this . loadingElement ?. classList . remove ( 'hide' ) ; } endLoading ( ) { this . loadingElement ?. classList . add ( 'hide' ) ; } } ; customElements . define ( 'audi-loading' , Loading ) ; } ) ( ) ; export { } ;