'use strict';

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

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

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

let AppImport = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  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: "/imports" }, "Import")), index.h("ion-card", null, index.h("ion-card-header", null, index.h("ion-item", null, index.h("ion-label", null, "Import"), index.h("ion-select", { name: "type" }, index.h("ion-select-option", { value: "ftms-users" }, "FTMS Users"), index.h("ion-select-option", { value: "ftms-jobs" }, "FTMS Jobs")))), index.h("ion-card-content", null, index.h("table", null, index.h("tr", null, index.h("td", null)))))),
      index.h("floodteam-navigation-footer", null),
    ];
  }
};
AppImport.style = appImportCss;

exports.app_import = AppImport;

//# sourceMappingURL=app-import.cjs.entry.js.map