import { h } from "@stencil/core";
/**
 * Container 布局容器组件
 * 用于布局的容器组件，方便快速搭建页面的基本结构
 */
export class Container {
    /**
     * 布局方向，vertical 时子元素为纵向排列
     * @default false
     */
    direction = 'horizontal';
    render() {
        return (h("section", { key: '8d2029a2363134efb2feb8df16510a5ababe2764', class: {
                'hb-container': true,
                'hb-container--vertical': this.direction === 'vertical',
            } }, h("slot", { key: 'fb2dea608d501e5db4a03657796571fdb30c9128' })));
    }
    static get is() { return "hb-container"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["container.css"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["container.css"]
        };
    }
    static get properties() {
        return {
            "direction": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "'horizontal' | 'vertical'",
                    "resolved": "\"horizontal\" | \"vertical\"",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "default",
                            "text": "false"
                        }],
                    "text": "\u5E03\u5C40\u65B9\u5411\uFF0Cvertical \u65F6\u5B50\u5143\u7D20\u4E3A\u7EB5\u5411\u6392\u5217"
                },
                "getter": false,
                "setter": false,
                "attribute": "direction",
                "reflect": false,
                "defaultValue": "'horizontal'"
            }
        };
    }
}
//# sourceMappingURL=Container.js.map
