import { h, Host } from "@stencil/core";
import { BEM } from "../../utils/bem";
export class Table {
    constructor() {
        /**
         * If `true` the table has a full width
         */
        this.expanded = false;
    }
    render() {
        const block = BEM.block('table');
        const fullwidthClass = 'is-fullwidth';
        const hasFullwidth = this.expanded;
        return (h(Host, { key: 'e649f646f51b2ff16ad47498e4338b4856c078de', class: Object.assign(Object.assign(Object.assign({}, block.class()), { 'ag-theme-alpine': true }), block.modifier(fullwidthClass).class(hasFullwidth)) }, h("slot", { key: 'cb13c3d6ef13e8fc4013683f60b4557a13fd4401' })));
    }
    static get is() { return "bal-table"; }
    static get originalStyleUrls() {
        return {
            "$": ["bal-table.sass"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["bal-table.css"]
        };
    }
    static get properties() {
        return {
            "expanded": {
                "type": "boolean",
                "attribute": "expanded",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "If `true` the table has a full width"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "defaultValue": "false"
            }
        };
    }
    static get elementRef() { return "el"; }
}
