export class Route {
    constructor() {
        this.exact = false;
    }
    componentDidLoad() {
        this.el.style.display = "none";
    }
    async getUrl() {
        return this.url;
    }
    render() {
        return (h("div", null));
    }
    static get is() { return "ema-route"; }
    static get properties() { return {
        "action": {
            "type": String,
            "attr": "action"
        },
        "actionParams": {
            "type": String,
            "attr": "action-params"
        },
        "component": {
            "type": String,
            "attr": "component"
        },
        "componentProps": {
            "type": String,
            "attr": "component-props"
        },
        "el": {
            "elementRef": true
        },
        "exact": {
            "type": Boolean,
            "attr": "exact"
        },
        "getUrl": {
            "method": true
        },
        "state": {
            "state": true
        },
        "url": {
            "type": String,
            "attr": "url"
        }
    }; }
}
