import { r as registerInstance, B as Build, h } from './index-33e43734.js';

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

let AppImport = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  async fetchData() {
  }
  onBeforeSubmit(data) {
    console.log(data);
    return {
      ...data,
      isPrivate: data.isPrivate === "on",
      ignoreWhitelist: data.ignoreWhitelist === "on",
    };
  }
  componentDidLoad() {
    if (!(Build === null || Build === void 0 ? void 0 : Build.isBrowser))
      return;
    this.fetchData();
  }
  render() {
    return [
      h("ion-content", { class: "ion-padding" }, h("floodteam-title-bar", null, h("ion-router-link", { href: "/imports" }, "Import")), h("ion-card", null, h("ion-card-header", null, h("ion-item", null, h("ion-label", null, "Import"), h("ion-select", { name: "type" }, h("ion-select-option", { value: "ftms-users" }, "FTMS Users"), h("ion-select-option", { value: "ftms-jobs" }, "FTMS Jobs")))), h("ion-card-content", null, h("table", null, h("tr", null, h("td", null)))))),
      h("floodteam-navigation-footer", null),
    ];
  }
};
AppImport.style = appImportCss;

export { AppImport as app_import };

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