import { unsafeCSS, LitElement, html } from "lit";
import { property } from "lit/decorators.js";
import componentStyle from "./notification-badge-button.css.js";
import { classMap } from "lit/directives/class-map.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 ObcNotificationBadgeButton = class extends LitElement {
  constructor() {
    super(...arguments);
    this.openRight = false;
    this.openLeft = false;
    this.cornerLeft = false;
    this.cornerRight = false;
    this.icon = false;
    this.disabled = false;
    this.indent = false;
  }
  render() {
    return html`
      <button
        class=${classMap({
      wrapper: true,
      "open-right": this.openRight,
      "open-left": this.openLeft,
      "corner-left": this.cornerLeft,
      "corner-right": this.cornerRight,
      icon: this.icon,
      indent: this.indent
    })}
        ?disabled=${this.disabled}
      >
        <div class="visible-wrapper">
          <slot></slot>
        </div>
      </button>
    `;
  }
};
ObcNotificationBadgeButton.styles = unsafeCSS(componentStyle);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "openRight", 2);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "openLeft", 2);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "cornerLeft", 2);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "cornerRight", 2);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "icon", 2);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "disabled", 2);
__decorateClass([
  property({ type: Boolean })
], ObcNotificationBadgeButton.prototype, "indent", 2);
ObcNotificationBadgeButton = __decorateClass([
  customElement("obc-notification-badge-button")
], ObcNotificationBadgeButton);
export {
  ObcNotificationBadgeButton
};
//# sourceMappingURL=notification-badge-button.js.map
