'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-cba1c3ae.js');

const appAlertCss = "app-alert ion-card,app-alert ion-card-content{overflow:visible !important}";

const AppAlert = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.alert = {};
  }
  async fetchData() {
  }
  onBeforeSubmit(data) {
    console.log(data);
    return {
      ...data,
      isPrivate: data.isPrivate === "on",
      ignoreWhitelist: data.ignoreWhitelist === "on",
    };
  }
  componentDidLoad() {
    if (!(index.Build === null || index.Build === void 0 ? void 0 : index.Build.isBrowser))
      return;
    this.fetchData();
  }
  render() {
    return [
      index.h("ion-content", { class: "ion-padding" }, index.h("floodteam-title-bar", null, index.h("ion-router-link", { href: "/alerts" }, "Alerts")), index.h("ion-card", null, index.h("ion-card-content", null, "Alert Info"))),
      index.h("floodteam-navigation-footer", null),
    ];
  }
};
AppAlert.style = appAlertCss;

exports.app_alert = AppAlert;
