/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { h } from "@stencil/core";
import classNames from "classnames";
export class ViewerSpinner {
    constructor() {
        /**
         * The size of the spinner. Can be `'xs' | 'sm' | 'md' | 'lg' | undefined`. Predefined
         * sizes are set to:
         *
         *  * `xm`: 16px
         *  * `sm`: 24px
         *  * `md`: 32px
         *  * `lg`: 64px
         */
        this.size = 'md';
    }
    render() {
        return (h("div", { key: '0a8f486a9d35133a73a4b65450bf17d5a71b6c2e', class: classNames('spinner', {
                ['xs']: this.size === 'xs',
                ['sm']: this.size === 'sm',
                ['md']: this.size === 'md',
                ['lg']: this.size === 'lg',
            }) }, h("div", { key: 'd5a6c060a227d612dd6a230cbc0d632a96591c42' }), h("div", { key: 'd6a5fc7defc46b63c618f5428011619e63866526' }), h("div", { key: '51681c906629d13e57085b5a246a4ddf64d073e3' }), h("div", { key: 'c52d2cf21a38ff9389d90a9dd4083215ce956ba8' })));
    }
    static get is() { return "vertex-viewer-spinner"; }
    static get encapsulation() { return "shadow"; }
    static get originalStyleUrls() {
        return {
            "$": ["viewer-spinner.css"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["viewer-spinner.css"]
        };
    }
    static get properties() {
        return {
            "size": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "SpinnerSize",
                    "resolved": "\"lg\" | \"md\" | \"sm\" | \"xs\" | undefined",
                    "references": {
                        "SpinnerSize": {
                            "location": "local",
                            "path": "/home/runner/work/vertex-web-sdk/vertex-web-sdk/packages/viewer/src/components/viewer-spinner/viewer-spinner.tsx",
                            "id": "src/components/viewer-spinner/viewer-spinner.tsx::SpinnerSize"
                        }
                    }
                },
                "required": false,
                "optional": true,
                "docs": {
                    "tags": [],
                    "text": "The size of the spinner. Can be `'xs' | 'sm' | 'md' | 'lg' | undefined`. Predefined\nsizes are set to:\n\n * `xm`: 16px\n * `sm`: 24px\n * `md`: 32px\n * `lg`: 64px"
                },
                "getter": false,
                "setter": false,
                "reflect": false,
                "attribute": "size",
                "defaultValue": "'md'"
            }
        };
    }
}
//# sourceMappingURL=viewer-spinner.js.map
