import { Host, h } from "@stencil/core";
import { govHost } from "../../helpers/Dom/template";
import { BlockquoteClass, BlockquoteType } from "./constants";
export class GovBlockquote {
    constructor() {
        /**
         * Blockquote’s type
         */
        this.type = BlockquoteType.SUBTLE;
        this.h = govHost(this.host);
    }
    render() {
        return (h(Host, { key: '5a45752fb485b9bc990fad76dc05e3262c6c402b', class: this.h.classes(BlockquoteClass.root), type: this.type }, h("gov-icon", { key: '125a8fbd29e3300795e0396daf99d83a0c8a2939', type: "components", name: "quote", size: "3xl" }), h("blockquote", { key: '7f7df8129d1186fe7cd1c7d7212906b4db5e0acf', cite: this.cite }, h("slot", { key: '5f7b8ca8f487708b5d9e39df5d12daa29cd53dc7' })), h("slot", { key: '5e7e0ec56c25b3cecdc75757c053a5cd751b074d', name: "image" }), h("slot", { key: '6a29244bb9a019b273043cd651917a560d9a21b6', name: "author" })));
    }
    static get is() { return "gov-blockquote"; }
    static get properties() {
        return {
            "type": {
                "type": "string",
                "attribute": "type",
                "mutable": false,
                "complexType": {
                    "original": "BlockquoteTypesType",
                    "resolved": "\"neutral\" | \"primary\" | \"subtle\"",
                    "references": {
                        "BlockquoteTypesType": {
                            "location": "import",
                            "path": "./constants",
                            "id": "../../../packages/core/src/components/gov-blockquote/constants.ts::BlockquoteTypesType"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Blockquote\u2019s type"
                },
                "getter": false,
                "setter": false,
                "reflect": true,
                "defaultValue": "BlockquoteType.SUBTLE"
            },
            "cite": {
                "type": "string",
                "attribute": "cite",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": "Blockquote\u2019s cite url"
                },
                "getter": false,
                "setter": false,
                "reflect": false
            }
        };
    }
    static get elementRef() { return "host"; }
}
//# sourceMappingURL=gov-blockquote.js.map
