import { __decorate, __metadata } from "tslib";
import { h, Host } from "@stencil/core";
import { Logger } from "../../../utils/log";
import { BEM } from "../../../utils/bem";
export class NavLinkGridCol {
    constructor() {
        /**
         * PUBLIC PROPERTY API
         * ------------------------------------------------------
         */
        /**
         * Defines the static column which is always aligned to the right
         */
        this.staticCol = false;
    }
    createLogger(log) {
        this.log = log;
    }
    /**
     * RENDER
     * ------------------------------------------------------
     */
    render() {
        const block = BEM.block('nav-link-grid-col');
        const innerEl = block.element('inner');
        return (h(Host, { key: 'd7acb4f8e0e7d438e80b429883332e397da63372', class: Object.assign(Object.assign({}, block.class()), block.modifier('is-static').class(this.staticCol)) }, h("div", { key: '45840d28afac2acd60020bcbb2365fc5f2942d53', class: Object.assign({}, innerEl.class()) }, h("slot", { key: 'c3938c0a946e3fdd55222635b7dc5a057fcab0d6' }))));
    }
    static get is() { return "bal-nav-link-grid-col"; }
    static get originalStyleUrls() {
        return {
            "$": ["bal-nav-link-grid-col.sass"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["bal-nav-link-grid-col.css"]
        };
    }
    static get properties() {
        return {
            "staticCol": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "BalProps.BalNavLinkGridCol",
                    "resolved": "boolean",
                    "references": {
                        "BalProps": {
                            "location": "global",
                            "id": "global::BalProps"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Defines the static column which is always aligned to the right"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "static-col",
                "defaultValue": "false"
            }
        };
    }
}
__decorate([
    Logger('bal-nav-link-grid-col'),
    __metadata("design:type", Function),
    __metadata("design:paramtypes", [Function]),
    __metadata("design:returntype", void 0)
], NavLinkGridCol.prototype, "createLogger", null);
