import { css, LitElement, svg, html } from "lit";
import { property } from "lit/decorators.js";
import { customElement } from "../decorator.js";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = (kind ? decorator(target, key, result) : decorator(result)) || result;
  if (kind && result) __defProp(target, key, result);
  return result;
};
let ObiWireEndPoint = class extends LitElement {
  constructor() {
    super(...arguments);
    this.useCssColor = false;
    this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 19L14 5L10 5V10L1.78814e-07 10L0 14L10 14L10 19H14Z" fill="currentColor"/>
<path d="M11 18H13L13 6L11 6V11L0 11V10L10 10V5H14L14 19H10L10 14L0 14V13L11 13L11 18Z" fill="currentColor"/>
</svg>
`;
    this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14 19L14 5L10 5V10L1.78814e-07 10L0 14L10 14L10 19H14Z" style="fill: var(--automation-pipe-primary-color)"/>
<path d="M11 18H13L13 6L11 6V11L0 11V10L10 10V5H14L14 19H10L10 14L0 14V13L11 13L11 18Z" style="fill: var(--automation-pipe-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiWireEndPoint.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiWireEndPoint.prototype, "useCssColor", 2);
ObiWireEndPoint = __decorateClass([
  customElement("obi-wire-end-point")
], ObiWireEndPoint);
export {
  ObiWireEndPoint
};
//# sourceMappingURL=icon-wire-end-point.js.map
