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: 'c3666abb26f5837aa6c7b3beda7cb86b12c513a6', class: Object.assign(Object.assign(Object.assign({}, block.class()), { 'ag-theme-alpine': true }), block.modifier(fullwidthClass).class(hasFullwidth)) }, h("slot", { key: 'b5c6c626cefffe3f170ebc1125ac7b26fff63b8b' })));
    }
    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"; }
}
