/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { 
// eslint-disable-next-line @typescript-eslint/no-unused-vars
h, Host, } from "@stencil/core";
import { getPinColors } from "../../lib/pins/model";
export class VertexPinLabelLine {
    render() {
        var _a, _b, _c, _d;
        const { primaryColor } = getPinColors(this.pin);
        return (h(Host, { key: 'f40021966738624fa4707420dd223a1d8d3f0e10' }, h("svg", { key: '80261903100db77ba6191f561cdb67daf614605f', class: "svg" }, h("line", { key: '0dc3e8abaf17f961d5bf5a005ebf4ac29bb8ba96', class: "label-line", style: {
                stroke: primaryColor,
            }, x1: (_a = this.labelPoint) === null || _a === void 0 ? void 0 : _a.x, y1: (_b = this.labelPoint) === null || _b === void 0 ? void 0 : _b.y, x2: (_c = this.pinPoint) === null || _c === void 0 ? void 0 : _c.x, y2: (_d = this.pinPoint) === null || _d === void 0 ? void 0 : _d.y }))));
    }
    static get is() { return "vertex-viewer-pin-label-line"; }
    static get originalStyleUrls() {
        return {
            "$": ["viewer-pin-label-line.css"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["viewer-pin-label-line.css"]
        };
    }
    static get properties() {
        return {
            "pinPoint": {
                "type": "unknown",
                "mutable": false,
                "complexType": {
                    "original": "Point.Point | undefined",
                    "resolved": "Point | undefined",
                    "references": {
                        "Point": {
                            "location": "import",
                            "path": "@vertexvis/geometry",
                            "id": "../geometry/dist/index.d.ts::\"/home/runner/work/vertex-web-sdk/vertex-web-sdk/packages/geometry/dist/point\"",
                            "referenceLocation": "Point"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false
            },
            "labelPoint": {
                "type": "unknown",
                "mutable": false,
                "complexType": {
                    "original": "Point.Point | undefined",
                    "resolved": "Point | undefined",
                    "references": {
                        "Point": {
                            "location": "import",
                            "path": "@vertexvis/geometry",
                            "id": "../geometry/dist/index.d.ts::\"/home/runner/work/vertex-web-sdk/vertex-web-sdk/packages/geometry/dist/point\"",
                            "referenceLocation": "Point"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false
            },
            "pin": {
                "type": "unknown",
                "mutable": false,
                "complexType": {
                    "original": "Pin | undefined",
                    "resolved": "IconPin | TextPin | undefined",
                    "references": {
                        "Pin": {
                            "location": "import",
                            "path": "../../lib/pins/model",
                            "id": "src/lib/pins/model.ts::Pin",
                            "referenceLocation": "Pin"
                        }
                    }
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [],
                    "text": ""
                },
                "getter": false,
                "setter": false
            }
        };
    }
}
//# sourceMappingURL=viewer-pin-label-line.js.map
