import { unsafeCSS, LitElement, nothing, html } from "lit";
import { customElement } from "../../decorator.js";
import compentStyle from "./integration-vessel-selector.css.js";
import { property } from "lit/decorators.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 ObcIntegrationVesselSelector = class extends LitElement {
  constructor() {
    super(...arguments);
    this.hasFleet = false;
  }
  render() {
    return html`
      <div class="wrapper">
        ${this.hasFleet ? html`<div class="fleet-wrapper">
              <slot name="fleet"></slot>
            </div>` : nothing}
        <slot class="vessel-wrapper"></slot>
      </div>
    `;
  }
};
ObcIntegrationVesselSelector.styles = unsafeCSS(compentStyle);
__decorateClass([
  property({ type: Boolean })
], ObcIntegrationVesselSelector.prototype, "hasFleet", 2);
ObcIntegrationVesselSelector = __decorateClass([
  customElement("obc-integration-vessel-selector")
], ObcIntegrationVesselSelector);
export {
  ObcIntegrationVesselSelector
};
//# sourceMappingURL=integration-vessel-selector.js.map
