taxonium-component
Version:
React component for exploring large phylogenetic trees in the browser
46 lines (45 loc) • 1.82 kB
JavaScript
import { g as m } from "./index-dFotuATn.js";
import f from "react/jsx-runtime";
import { N as p, aZ as g, a_ as _ } from "./JBrowsePanel-uJIA-L6s.js";
function d(a, r) {
for (var e = 0; e < r.length; e++) {
const t = r[e];
if (typeof t != "string" && !Array.isArray(t)) {
for (const o in t)
if (o !== "default" && !(o in a)) {
const u = Object.getOwnPropertyDescriptor(t, o);
u && Object.defineProperty(a, o, u.get ? u : {
enumerable: !0,
get: () => t[o]
});
}
}
}
return Object.freeze(Object.defineProperty(a, Symbol.toStringTag, { value: "Module" }));
}
var i = {}, c;
function y() {
if (c) return i;
c = 1;
var a = i && i.__importDefault || function(n) {
return n && n.__esModule ? n : { default: n };
};
Object.defineProperty(i, "__esModule", { value: !0 });
const r = f, e = /* @__PURE__ */ _(), t = g, o = a(p()), u = (0, t.observer)(function({ model: n, handleClose: l }) {
return (0, r.jsxs)(o.default, { maxWidth: "xl", open: !0, onClose: l, title: "Reference sequence", children: [(0, r.jsx)(e.DialogContent, { children: (0, r.jsx)(e.Typography, { children: "Are you sure you want to return to the import form? This will lose your current view" }) }), (0, r.jsxs)(e.DialogActions, { children: [(0, r.jsx)(e.Button, { onClick: () => {
n.clearView(), l();
}, variant: "contained", color: "primary", autoFocus: !0, children: "OK" }), (0, r.jsx)(e.Button, { onClick: () => {
l();
}, color: "secondary", variant: "contained", children: "Cancel" })] })] });
});
return i.default = u, i;
}
var s = y();
const D = /* @__PURE__ */ m(s), h = /* @__PURE__ */ d({
__proto__: null,
default: D
}, [s]);
export {
h as R
};
//# sourceMappingURL=ReturnToImportFormDialog-ClIH4nST.js.map