import { Host, h } from "@stencil/core";
import { BEM } from "../../../utils/bem";
export class DataItem {
    constructor() {
        /**
         * If `true` the item gets a lighter font color.
         */
        this.disabled = false;
        /**
         * If `true` a bottom border is added to the data-item.
         */
        this.border = false;
    }
    render() {
        const element = BEM.block('data-item');
        return (h(Host, { key: '407b2d982f48e77a71daa015e98acb720b369860', class: Object.assign(Object.assign(Object.assign({}, element.class()), element.modifier('is-disabled').class(this.disabled)), element.modifier('has-border').class(this.border)) }, h("slot", { key: 'e9d0e88af9d336879ed87b59732a583c43bd466f' })));
    }
    static get is() { return "bal-data-item"; }
    static get properties() {
        return {
            "disabled": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "If `true` the item gets a lighter font color."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "disabled",
                "defaultValue": "false"
            },
            "border": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "If `true` a bottom border is added to the data-item."
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "border",
                "defaultValue": "false"
            }
        };
    }
}
