@rivm-loculus-tools/sequence-editor 0.1.5 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/_chunks/EditorWorkerService.js +12 -11
  2. package/dist/_chunks/EditorWorkerService.js.map +1 -1
  3. package/dist/_chunks/SequenceEditor.js +362 -495
  4. package/dist/_chunks/SequenceEditor.js.map +1 -1
  5. package/dist/_chunks/SequenceEditorPageDrawer.js +160 -49577
  6. package/dist/_chunks/SequenceEditorPageDrawer.js.map +1 -1
  7. package/dist/_chunks/comlink.js +228 -0
  8. package/dist/_chunks/comlink.js.map +1 -0
  9. package/dist/_chunks/react.js +11 -0
  10. package/dist/_chunks/react.js.map +1 -0
  11. package/dist/_chunks/sequenceEditorStore.js +40 -273
  12. package/dist/_chunks/sequenceEditorStore.js.map +1 -1
  13. package/dist/assets/index-Dn92arD_.js +8 -0
  14. package/dist/assets/index-Dn92arD_.js.map +1 -0
  15. package/dist/classes/services/EditorWorkerService/index.js +1 -2
  16. package/dist/classes/services/SequenceEditorEventBusService/index.js +16 -2
  17. package/dist/classes/services/SequenceEditorEventBusService/index.js.map +1 -0
  18. package/dist/classes/workers/EngineWorker/index.js +3 -2
  19. package/dist/classes/workers/EngineWorker/index.js.map +1 -1
  20. package/dist/components/app/App/index.js +15 -951
  21. package/dist/components/app/App/index.js.map +1 -1
  22. package/dist/components/pages/SequenceEditorErrorPage/index.js +6 -6
  23. package/dist/components/pages/SequenceEditorErrorPage/index.js.map +1 -1
  24. package/dist/components/pages/SequenceEditorMainPage/index.js +61 -2
  25. package/dist/components/pages/SequenceEditorMainPage/index.js.map +1 -0
  26. package/dist/components/ui/SequenceEditor/index.js +1 -2
  27. package/dist/components/ui/SequenceEditorPage/index.js +8 -8
  28. package/dist/components/ui/SequenceEditorPage/index.js.map +1 -1
  29. package/dist/components/ui/SequenceEditorPageDrawer/index.js +1 -2
  30. package/dist/components/ui/SequenceEditorPageHeader/index.js +60 -2
  31. package/dist/components/ui/SequenceEditorPageHeader/index.js.map +1 -0
  32. package/dist/components/ui/SequenceEditorSearchBar/index.js +27 -2
  33. package/dist/components/ui/SequenceEditorSearchBar/index.js.map +1 -0
  34. package/dist/constants/editor.js.map +1 -1
  35. package/dist/constants/keyboard.js +1 -1
  36. package/dist/constants/keyboard.js.map +1 -1
  37. package/dist/constants/palette.js.map +1 -1
  38. package/dist/models/editor.js.map +1 -1
  39. package/dist/models/model.js.map +1 -1
  40. package/dist/models/palette.js.map +1 -1
  41. package/dist/stores/sequenceEditorStore/index.js +1 -2
  42. package/dist/utils/EditorUtil/index.js +158 -150
  43. package/dist/utils/EditorUtil/index.js.map +1 -1
  44. package/dist/utils/PaletteUtil/index.js.map +1 -1
  45. package/package.json +52 -29
  46. package/dist/_chunks/Box.js +0 -6737
  47. package/dist/_chunks/Box.js.map +0 -1
  48. package/dist/_chunks/Close.js +0 -7
  49. package/dist/_chunks/Close.js.map +0 -1
  50. package/dist/_chunks/KeyboardArrowDown.js +0 -1023
  51. package/dist/_chunks/KeyboardArrowDown.js.map +0 -1
  52. package/dist/_chunks/Redo.js +0 -2559
  53. package/dist/_chunks/Redo.js.map +0 -1
  54. package/dist/_chunks/SequenceEditorEventBusService.js +0 -102
  55. package/dist/_chunks/SequenceEditorEventBusService.js.map +0 -1
  56. package/dist/_chunks/SequenceEditorMainPage.js +0 -552
  57. package/dist/_chunks/SequenceEditorMainPage.js.map +0 -1
  58. package/dist/_chunks/SequenceEditorPageHeader.js +0 -236
  59. package/dist/_chunks/SequenceEditorPageHeader.js.map +0 -1
  60. package/dist/_chunks/SequenceEditorSearchBar.js +0 -143
  61. package/dist/_chunks/SequenceEditorSearchBar.js.map +0 -1
  62. package/dist/_chunks/TestIdUtil.js +0 -4695
  63. package/dist/_chunks/TestIdUtil.js.map +0 -1
  64. package/dist/_chunks/TextField.js +0 -3083
  65. package/dist/_chunks/TextField.js.map +0 -1
  66. package/dist/_chunks/rolldown-runtime.js +0 -13
  67. package/dist/_chunks/sequence_editor.js +0 -517
  68. package/dist/_chunks/sequence_editor.js.map +0 -1
  69. package/dist/_chunks/withDialog.js +0 -289
  70. package/dist/_chunks/withDialog.js.map +0 -1
  71. package/dist/assets/index-C5rc-pJV.js +0 -8
  72. package/dist/assets/index-C5rc-pJV.js.map +0 -1
@@ -1,102 +0,0 @@
1
- //#region ../../../../node_modules/.pnpm/@gen-epix+ui-core@3.8.1_react@19.3.0/node_modules/@gen-epix/ui-core/dist/_chunks/StringUtil.js
2
- var e = [];
3
- for (let t = 0; t < 256; ++t) e.push((t + 256).toString(16).slice(1));
4
- function t(t, n = 0) {
5
- return (e[t[n + 0]] + e[t[n + 1]] + e[t[n + 2]] + e[t[n + 3]] + "-" + e[t[n + 4]] + e[t[n + 5]] + "-" + e[t[n + 6]] + e[t[n + 7]] + "-" + e[t[n + 8]] + e[t[n + 9]] + "-" + e[t[n + 10]] + e[t[n + 11]] + e[t[n + 12]] + e[t[n + 13]] + e[t[n + 14]] + e[t[n + 15]]).toLowerCase();
6
- }
7
- var n = /* @__PURE__ */ new Uint8Array(16);
8
- function r() {
9
- return crypto.getRandomValues(n);
10
- }
11
- function i(e, t, n) {
12
- return !t && !e && crypto.randomUUID ? crypto.randomUUID() : a(e, t, n);
13
- }
14
- function a(e, n, i) {
15
- e ||= {};
16
- let a = e.random ?? e.rng?.() ?? r();
17
- if (a.length < 16) throw Error("Random bytes length must be >= 16");
18
- if (a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, n) {
19
- if (i ||= 0, i < 0 || i + 16 > n.length) throw RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);
20
- for (let e = 0; e < 16; ++e) n[i + e] = a[e];
21
- return n;
22
- }
23
- return t(a);
24
- }
25
- var o = class {
26
- static advancedSortComperator(e, t) {
27
- if (e === t) return 0;
28
- if (!e) return 1;
29
- if (!t) return -1;
30
- let n = /\d+|\D+/g, r = (e || "").match(n), i = (t || "").match(n);
31
- for (let e = 0; e < Math.min(r.length, i.length); e++) {
32
- let t = r[e], n = i[e];
33
- if (t === n) continue;
34
- let a = isFinite(+t), o = isFinite(+n);
35
- return a && o ? +t - n : a ? -1 : o ? 1 : t.localeCompare(n);
36
- }
37
- return r.length > i.length ? 1 : -1;
38
- }
39
- static clean(e) {
40
- return e && e.replace(/[^\dA-zÀ-ú]/g, "");
41
- }
42
- static createHash(e, t = 0) {
43
- let n = 3735928559 ^ t, r = 1103547991 ^ t;
44
- for (let t, i = 0; i < e.length; i++) t = e.charCodeAt(i), n = Math.imul(n ^ t, 2654435761), r = Math.imul(r ^ t, 1597334677);
45
- return n = Math.imul(n ^ n >>> 16, 2246822507), n ^= Math.imul(r ^ r >>> 13, 3266489909), r = Math.imul(r ^ r >>> 16, 2246822507), r ^= Math.imul(n ^ n >>> 13, 3266489909), String(4294967296 * (2097151 & r) + (n >>> 0));
46
- }
47
- static createSlug(e) {
48
- return e.toString().normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-");
49
- }
50
- static createUuid() {
51
- return i();
52
- }
53
- static sortComperator(e, t) {
54
- return e.localeCompare(t);
55
- }
56
- static toString(e) {
57
- return typeof e == "number" ? e.toString() : e ?? "";
58
- }
59
- }, s = class {
60
- listeners = {};
61
- addEventListener(e, t) {
62
- let n = o.createUuid();
63
- return this.listeners[e] = this.listeners[e] || /* @__PURE__ */ new Map(), this.listeners[e].set(n, t), () => {
64
- this.listeners[e] && this.listeners[e].delete(n);
65
- };
66
- }
67
- destroy() {
68
- Object.keys(this.listeners).forEach((e) => {
69
- try {
70
- delete this.listeners[e];
71
- } catch {}
72
- });
73
- }
74
- emit(e, t) {
75
- this.listeners[e]?.forEach((e) => e(t));
76
- }
77
- removeEventListener(e, t) {
78
- let n = this.listeners[e];
79
- if (n) {
80
- for (let [e, r] of n.entries()) if (r === t) {
81
- n.delete(e);
82
- break;
83
- }
84
- }
85
- }
86
- }, c = class {
87
- static getHmrSingleton(e, t, n) {
88
- return t || n();
89
- }
90
- }, l = class e extends s {
91
- static __instance;
92
- constructor() {
93
- super();
94
- }
95
- static getInstance() {
96
- return e.__instance = c.getHmrSingleton("SequenceEditorEventBusService", e.__instance, () => new e()), e.__instance;
97
- }
98
- };
99
- //#endregion
100
- export { c as n, s as r, l as t };
101
-
102
- //# sourceMappingURL=SequenceEditorEventBusService.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SequenceEditorEventBusService.js","names":["e","t","e"],"sources":["../../../../../../node_modules/.pnpm/@gen-epix+ui-core@3.8.1_react@19.3.0/node_modules/@gen-epix/ui-core/dist/_chunks/StringUtil.js","../../../../../../node_modules/.pnpm/@gen-epix+ui-core@3.8.1_react@19.3.0/node_modules/@gen-epix/ui-core/dist/classes/abstracts/EventBusAbstract/index.js","../../../../../../node_modules/.pnpm/@gen-epix+ui-core@3.8.1_react@19.3.0/node_modules/@gen-epix/ui-core/dist/utils/HmrUtil/index.js","../../src/classes/services/SequenceEditorEventBusService/SequenceEditorEventBusService.ts"],"sourcesContent":["//#region ../../node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist/stringify.js\nvar e = [];\nfor (let t = 0; t < 256; ++t) e.push((t + 256).toString(16).slice(1));\nfunction t(t, n = 0) {\n\treturn (e[t[n + 0]] + e[t[n + 1]] + e[t[n + 2]] + e[t[n + 3]] + \"-\" + e[t[n + 4]] + e[t[n + 5]] + \"-\" + e[t[n + 6]] + e[t[n + 7]] + \"-\" + e[t[n + 8]] + e[t[n + 9]] + \"-\" + e[t[n + 10]] + e[t[n + 11]] + e[t[n + 12]] + e[t[n + 13]] + e[t[n + 14]] + e[t[n + 15]]).toLowerCase();\n}\n//#endregion\n//#region ../../node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist/rng.js\nvar n = /* @__PURE__ */ new Uint8Array(16);\nfunction r() {\n\treturn crypto.getRandomValues(n);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/uuid@14.0.2/node_modules/uuid/dist/v4.js\nfunction i(e, t, n) {\n\treturn !t && !e && crypto.randomUUID ? crypto.randomUUID() : a(e, t, n);\n}\nfunction a(e, n, i) {\n\te ||= {};\n\tlet a = e.random ?? e.rng?.() ?? r();\n\tif (a.length < 16) throw Error(\"Random bytes length must be >= 16\");\n\tif (a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, n) {\n\t\tif (i ||= 0, i < 0 || i + 16 > n.length) throw RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);\n\t\tfor (let e = 0; e < 16; ++e) n[i + e] = a[e];\n\t\treturn n;\n\t}\n\treturn t(a);\n}\n//#endregion\n//#region src/utils/StringUtil/StringUtil.ts\nvar o = class {\n\tstatic advancedSortComperator(e, t) {\n\t\tif (e === t) return 0;\n\t\tif (!e) return 1;\n\t\tif (!t) return -1;\n\t\tlet n = /\\d+|\\D+/g, r = (e || \"\").match(n), i = (t || \"\").match(n);\n\t\tfor (let e = 0; e < Math.min(r.length, i.length); e++) {\n\t\t\tlet t = r[e], n = i[e];\n\t\t\tif (t === n) continue;\n\t\t\tlet a = isFinite(+t), o = isFinite(+n);\n\t\t\treturn a && o ? +t - n : a ? -1 : o ? 1 : t.localeCompare(n);\n\t\t}\n\t\treturn r.length > i.length ? 1 : -1;\n\t}\n\tstatic clean(e) {\n\t\treturn e && e.replace(/[^\\dA-zÀ-ú]/g, \"\");\n\t}\n\tstatic createHash(e, t = 0) {\n\t\tlet n = 3735928559 ^ t, r = 1103547991 ^ t;\n\t\tfor (let t, i = 0; i < e.length; i++) t = e.charCodeAt(i), n = Math.imul(n ^ t, 2654435761), r = Math.imul(r ^ t, 1597334677);\n\t\treturn n = Math.imul(n ^ n >>> 16, 2246822507), n ^= Math.imul(r ^ r >>> 13, 3266489909), r = Math.imul(r ^ r >>> 16, 2246822507), r ^= Math.imul(n ^ n >>> 13, 3266489909), String(4294967296 * (2097151 & r) + (n >>> 0));\n\t}\n\tstatic createSlug(e) {\n\t\treturn e.toString().normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\").toLowerCase().trim().replace(/\\s+/g, \"-\").replace(/[^\\w-]+/g, \"\").replace(/--+/g, \"-\");\n\t}\n\tstatic createUuid() {\n\t\treturn i();\n\t}\n\tstatic sortComperator(e, t) {\n\t\treturn e.localeCompare(t);\n\t}\n\tstatic toString(e) {\n\t\treturn typeof e == \"number\" ? e.toString() : e ?? \"\";\n\t}\n};\n//#endregion\nexport { o as t };\n\n//# sourceMappingURL=StringUtil.js.map","import { t as e } from \"../../../_chunks/StringUtil.js\";\n//#region src/classes/abstracts/EventBusAbstract/EventBusAbstract.ts\nvar t = class {\n\tlisteners = {};\n\taddEventListener(t, n) {\n\t\tlet r = e.createUuid();\n\t\treturn this.listeners[t] = this.listeners[t] || /* @__PURE__ */ new Map(), this.listeners[t].set(r, n), () => {\n\t\t\tthis.listeners[t] && this.listeners[t].delete(r);\n\t\t};\n\t}\n\tdestroy() {\n\t\tObject.keys(this.listeners).forEach((e) => {\n\t\t\ttry {\n\t\t\t\tdelete this.listeners[e];\n\t\t\t} catch {}\n\t\t});\n\t}\n\temit(e, t) {\n\t\tthis.listeners[e]?.forEach((e) => e(t));\n\t}\n\tremoveEventListener(e, t) {\n\t\tlet n = this.listeners[e];\n\t\tif (n) {\n\t\t\tfor (let [e, r] of n.entries()) if (r === t) {\n\t\t\t\tn.delete(e);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n};\n//#endregion\nexport { t as EventBusAbstract };\n\n//# sourceMappingURL=index.js.map","//#region src/utils/HmrUtil/HmrUtil.ts\nvar e = class {\n\tstatic getHmrSingleton(e, t, n) {\n\t\treturn t || n();\n\t}\n};\n//#endregion\nexport { e as HmrUtil };\n\n//# sourceMappingURL=index.js.map","import { EventBusAbstract } from '@gen-epix/ui-core/classes/abstracts/EventBusAbstract';\nimport { HmrUtil } from '@gen-epix/ui-core/utils/HmrUtil';\n\nimport type { EDITOR_DIRECTION } from '../../../models/editor';\n\nexport type SequenceEditorEventBusServiceEvent = {\n onDeleteBackward: void;\n onExpandSelection: EDITOR_DIRECTION;\n onGotoPosition: void;\n onInsert: void;\n onMoveCells: EDITOR_DIRECTION;\n onMoveRows: EDITOR_DIRECTION;\n onMoveRowsEnd: EDITOR_DIRECTION;\n onMoveSelection: EDITOR_DIRECTION;\n onMutateSelection: string;\n onRedo: void;\n onScrollPageDown: void;\n onScrollPageUp: void;\n onScrollToLineEnd: void;\n onScrollToLineStart: void;\n onSearch: string;\n onUndo: void;\n};\n\nexport class SequenceEditorEventBusService extends EventBusAbstract<SequenceEditorEventBusServiceEvent> {\n private static __instance: SequenceEditorEventBusService;\n\n\n private constructor() {\n super();\n }\n\n public static getInstance(): SequenceEditorEventBusService {\n SequenceEditorEventBusService.__instance = HmrUtil.getHmrSingleton('SequenceEditorEventBusService', SequenceEditorEventBusService.__instance, () => new SequenceEditorEventBusService());\n return SequenceEditorEventBusService.__instance;\n }\n}\n"],"x_google_ignoreList":[0,1,2],"mappings":"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"}
@@ -1,552 +0,0 @@
1
- import { n as e } from "./rolldown-runtime.js";
2
- import { n as t, t as n } from "./sequenceEditorStore.js";
3
- import { Dt as r, It as i, Lt as a, P as o, a as s, g as c, n as l, t as u } from "./Box.js";
4
- import { a as d, i as f, n as p, o as m, r as h } from "./SequenceEditorPageDrawer.js";
5
- import { b as g, i as _, j as v, x as y } from "./TestIdUtil.js";
6
- import { t as b } from "./TextField.js";
7
- import { i as x, n as S, r as C } from "./SequenceEditorPageHeader.js";
8
- import { t as w } from "./withDialog.js";
9
- import { SequenceEditorPage as T } from "../components/ui/SequenceEditorPage/index.js";
10
- import { n as E, t as D } from "./SequenceEditor.js";
11
- //#region ../../../../node_modules/.pnpm/@mui+icons-material@9.4.0_@mui+material@9.4.0_@emotion+react@11.14.0_@types+react@19.3._9ea641d093c8d4a6ca4517c9b0071d29/node_modules/@mui/icons-material/Biotech.mjs
12
- var O = /* @__PURE__ */ e(a(), 1), k = r(), A = c([
13
- /*#__PURE__*/ (0, k.jsx)("path", { d: "M7 19c-1.1 0-2 .9-2 2h14c0-1.1-.9-2-2-2h-4v-2h3c1.1 0 2-.9 2-2h-8c-1.66 0-3-1.34-3-3 0-1.09.59-2.04 1.46-2.56C8.17 9.03 8 8.54 8 8c0-.21.04-.42.09-.62C6.28 8.13 5 9.92 5 12c0 2.76 2.24 5 5 5v2z" }, "0"),
14
- /*#__PURE__*/ (0, k.jsx)("path", { d: "M10.56 5.51C11.91 5.54 13 6.64 13 8c0 .75-.33 1.41-.85 1.87l.59 1.62.94-.34.34.94 1.88-.68-.34-.94.94-.34-2.74-7.53-.94.34-.34-.94-1.88.68.34.94-.94.35z" }, "1"),
15
- /*#__PURE__*/ (0, k.jsx)("circle", {
16
- cx: "10.5",
17
- cy: "8",
18
- r: "1.5"
19
- }, "2")
20
- ], "Biotech"), j = c(/*#__PURE__*/ (0, k.jsx)("path", { d: "M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z" }), "TableChart"), M = class {
21
- static getErrorMessage(e, t) {
22
- return e instanceof Error ? e.message : t;
23
- }
24
- }, N = class {
25
- static clearSearchParams() {
26
- let e = new URL(E.getInstance().window.location.href);
27
- e.search = "", E.getInstance().window.history.replaceState(null, "", e.toString());
28
- }
29
- static fastaLabelFromUrl(e) {
30
- try {
31
- let t = new URL(e), n = t.pathname.split("/").filter(Boolean).pop();
32
- return n ? decodeURIComponent(n) : `${t.hostname}.fasta`;
33
- } catch {
34
- return "remote-alignment.fasta";
35
- }
36
- }
37
- static validateFastaUrl(e) {
38
- let t;
39
- try {
40
- t = new URL(e.trim());
41
- } catch {
42
- throw Error("Enter a valid FASTA URL.");
43
- }
44
- if (t.protocol !== "http:" && t.protocol !== "https:") throw Error("FASTA URLs must use HTTP or HTTPS.");
45
- return t.href;
46
- }
47
- }, P = w(({ extraActions: e, onActionsChange: t, onClose: n, onDataChange: r, onDisableBackdropClickChange: i, onError: a, onNoCloseButtonChange: o, openProps: c }) => {
48
- let [d, g] = (0, O.useState)(0), [_, y] = (0, O.useState)(null), [x, S] = (0, O.useState)(""), [C, w] = (0, O.useState)(""), [T, E] = (0, O.useState)(0), [D, M] = (0, O.useState)(null), [N, P] = (0, O.useState)(""), [F, I] = (0, O.useState)(""), [L, R] = (0, O.useState)(!1), [z, B] = (0, O.useState)(null);
49
- (0, O.useEffect)(() => {
50
- B(c?.initialErrorMessage ?? null);
51
- }, [c]), (0, O.useEffect)(() => {
52
- o && o(!!c?.initialErrorMessage), i && i(!!c?.initialErrorMessage);
53
- }, [
54
- i,
55
- o,
56
- c?.initialErrorMessage
57
- ]);
58
- let V = (0, O.useCallback)(() => B(null), []), H = (0, O.useCallback)((e, t) => {
59
- g(t);
60
- }, []), U = (0, O.useCallback)((e, t) => {
61
- E(t);
62
- }, []), W = (0, O.useCallback)((e) => y(e), []), G = (0, O.useCallback)((e) => M(e), []), K = (0, O.useCallback)((e) => {
63
- S(e.target.value);
64
- }, []), q = (0, O.useCallback)((e) => {
65
- w(e.target.value);
66
- }, []), J = (0, O.useCallback)((e) => {
67
- P(e.target.value);
68
- }, []), Y = (0, O.useCallback)((e) => {
69
- I(e.target.value);
70
- }, []), X = (0, O.useCallback)(async () => {
71
- B(null), R(!0);
72
- try {
73
- let e = "";
74
- if (d === 0 && _) e = await _[0].text();
75
- else if (d === 1 && x.trim()) {
76
- let t = await fetch(x.trim());
77
- if (!t.ok) throw Error(`Failed to fetch FASTA from URL (${t.status} ${t.statusText})`);
78
- e = await t.text();
79
- } else d === 2 && C.trim() && (e = C.trim());
80
- if (!e?.trim()) throw Error("Please provide FASTA sequence data via file, URL, or paste.");
81
- let t = "";
82
- if (T === 0 && D) t = await D[0].text();
83
- else if (T === 1 && N.trim()) {
84
- let e = await fetch(N.trim());
85
- if (!e.ok) throw Error(`Failed to fetch Metadata from URL (${e.status} ${e.statusText})`);
86
- t = await e.text();
87
- } else T === 2 && F.trim() && (t = F.trim());
88
- r(e, t), n && n();
89
- } catch (e) {
90
- console.error("Data import failed:", e), a(e);
91
- } finally {
92
- R(!1);
93
- }
94
- }, [
95
- _,
96
- d,
97
- C,
98
- x,
99
- D,
100
- T,
101
- F,
102
- N,
103
- n,
104
- r,
105
- a
106
- ]);
107
- return (0, O.useEffect)(() => {
108
- let n = [{
109
- disabled: L,
110
- label: L ? "Processing..." : "Load & Calculate",
111
- onClick: X,
112
- startIcon: L ? /* @__PURE__ */ (0, k.jsx)(s, {
113
- color: "inherit",
114
- size: 18
115
- }) : void 0,
116
- variant: "contained"
117
- }];
118
- e?.length && n.unshift(...e), t && t(n);
119
- }, [
120
- t,
121
- X,
122
- L,
123
- e
124
- ]), /* @__PURE__ */ (0, k.jsxs)(k.Fragment, { children: [z && /* @__PURE__ */ (0, k.jsx)(m, {
125
- onClose: V,
126
- severity: "error",
127
- sx: { marginBottom: 2 },
128
- children: z
129
- }), /* @__PURE__ */ (0, k.jsxs)(u, {
130
- sx: {
131
- display: "grid",
132
- gap: 3,
133
- gridTemplateColumns: {
134
- md: "1fr 1fr",
135
- xs: "1fr"
136
- }
137
- },
138
- children: [/* @__PURE__ */ (0, k.jsxs)(v, {
139
- sx: {
140
- borderRadius: 2,
141
- p: 2.5
142
- },
143
- variant: "outlined",
144
- children: [
145
- /* @__PURE__ */ (0, k.jsxs)(u, {
146
- sx: {
147
- alignItems: "center",
148
- display: "flex",
149
- gap: 1,
150
- mb: 1.5
151
- },
152
- children: [/* @__PURE__ */ (0, k.jsx)(A, { color: "primary" }), /* @__PURE__ */ (0, k.jsx)(l, {
153
- sx: { fontWeight: 700 },
154
- variant: "subtitle1",
155
- children: "1. FASTA Sequences (Required)"
156
- })]
157
- }),
158
- /* @__PURE__ */ (0, k.jsx)(l, {
159
- color: "text.secondary",
160
- sx: {
161
- display: "block",
162
- mb: 2
163
- },
164
- variant: "caption",
165
- children: "Pre-aligned nucleotide or amino-acid sequence data."
166
- }),
167
- /* @__PURE__ */ (0, k.jsxs)(h, {
168
- onChange: H,
169
- sx: {
170
- mb: 2,
171
- minHeight: 36
172
- },
173
- value: d,
174
- children: [
175
- /* @__PURE__ */ (0, k.jsx)(f, {
176
- label: "File Upload",
177
- sx: {
178
- fontSize: "0.85rem",
179
- py: .5
180
- }
181
- }),
182
- /* @__PURE__ */ (0, k.jsx)(f, {
183
- label: "Public URL",
184
- sx: {
185
- fontSize: "0.85rem",
186
- py: .5
187
- }
188
- }),
189
- /* @__PURE__ */ (0, k.jsx)(f, {
190
- label: "Direct Paste",
191
- sx: {
192
- fontSize: "0.85rem",
193
- py: .5
194
- }
195
- })
196
- ]
197
- }),
198
- d === 0 && /* @__PURE__ */ (0, k.jsx)(p, {
199
- accept: ".fasta,.fa,.fna,.aln",
200
- files: _,
201
- helperText: "Drag & drop .fasta / .fa alignment file",
202
- onFilesSelected: W
203
- }),
204
- d === 1 && /* @__PURE__ */ (0, k.jsx)(u, {
205
- sx: {
206
- display: "flex",
207
- flexDirection: "column",
208
- gap: 1.5,
209
- justifyContent: "center",
210
- minHeight: 180
211
- },
212
- children: /* @__PURE__ */ (0, k.jsx)(b, {
213
- fullWidth: !0,
214
- helperText: "Enter a publicly accessible URL to a FASTA alignment",
215
- label: "FASTA URL",
216
- onChange: K,
217
- placeholder: "https://example.com/sequences.fasta",
218
- value: x,
219
- variant: "outlined"
220
- })
221
- }),
222
- d === 2 && /* @__PURE__ */ (0, k.jsx)(u, {
223
- sx: { minHeight: 180 },
224
- children: /* @__PURE__ */ (0, k.jsx)(b, {
225
- fullWidth: !0,
226
- label: "Paste FASTA Content",
227
- multiline: !0,
228
- onChange: q,
229
- placeholder: ">seq1&#10;ACTG...&#10;>seq2&#10;ACTG...",
230
- rows: 6,
231
- sx: { fontFamily: "monospace" },
232
- value: C,
233
- variant: "outlined"
234
- })
235
- })
236
- ]
237
- }), /* @__PURE__ */ (0, k.jsxs)(v, {
238
- sx: {
239
- borderRadius: 2,
240
- p: 2.5
241
- },
242
- variant: "outlined",
243
- children: [
244
- /* @__PURE__ */ (0, k.jsxs)(u, {
245
- sx: {
246
- alignItems: "center",
247
- display: "flex",
248
- gap: 1,
249
- mb: 1.5
250
- },
251
- children: [/* @__PURE__ */ (0, k.jsx)(j, { color: "primary" }), /* @__PURE__ */ (0, k.jsx)(l, {
252
- sx: { fontWeight: 700 },
253
- variant: "subtitle1",
254
- children: "2. TSV Metadata (Optional)"
255
- })]
256
- }),
257
- /* @__PURE__ */ (0, k.jsx)(l, {
258
- color: "text.primary",
259
- sx: {
260
- display: "block",
261
- mb: 2
262
- },
263
- variant: "caption",
264
- children: "Sample attributes for coloring, search & custom leaf labels."
265
- }),
266
- /* @__PURE__ */ (0, k.jsxs)(h, {
267
- onChange: U,
268
- sx: {
269
- mb: 2,
270
- minHeight: 36
271
- },
272
- value: T,
273
- children: [
274
- /* @__PURE__ */ (0, k.jsx)(f, {
275
- label: "File Upload",
276
- sx: {
277
- fontSize: "0.85rem",
278
- py: .5
279
- }
280
- }),
281
- /* @__PURE__ */ (0, k.jsx)(f, {
282
- label: "Public URL",
283
- sx: {
284
- fontSize: "0.85rem",
285
- py: .5
286
- }
287
- }),
288
- /* @__PURE__ */ (0, k.jsx)(f, {
289
- label: "Direct Paste",
290
- sx: {
291
- fontSize: "0.85rem",
292
- py: .5
293
- }
294
- })
295
- ]
296
- }),
297
- T === 0 && /* @__PURE__ */ (0, k.jsx)(p, {
298
- accept: ".tsv,.txt,.csv",
299
- files: D,
300
- label: "TSV Metadata File",
301
- onFilesSelected: G
302
- }),
303
- T === 1 && /* @__PURE__ */ (0, k.jsx)(u, {
304
- sx: {
305
- display: "flex",
306
- flexDirection: "column",
307
- gap: 1.5,
308
- justifyContent: "center",
309
- minHeight: 180
310
- },
311
- children: /* @__PURE__ */ (0, k.jsx)(b, {
312
- fullWidth: !0,
313
- helperText: "Enter a publicly accessible URL to a TSV metadata file",
314
- label: "Metadata TSV URL",
315
- onChange: J,
316
- placeholder: "https://example.com/metadata.tsv",
317
- value: N,
318
- variant: "outlined"
319
- })
320
- }),
321
- T === 2 && /* @__PURE__ */ (0, k.jsx)(u, {
322
- sx: { minHeight: 180 },
323
- children: /* @__PURE__ */ (0, k.jsx)(b, {
324
- fullWidth: !0,
325
- label: "Paste TSV Content",
326
- multiline: !0,
327
- onChange: Y,
328
- placeholder: "SampleID&#9;Country&#9;Date&#10;Sample1&#9;NL&#9;2024-01-01",
329
- rows: 6,
330
- sx: { fontFamily: "monospace" },
331
- value: F,
332
- variant: "outlined"
333
- })
334
- })
335
- ]
336
- })]
337
- })] });
338
- }, {
339
- defaultTitle: "Load Phylogenetic Data",
340
- fullWidth: !0,
341
- maxWidth: "xl",
342
- testId: "FastaDataImportDialog"
343
- }), F = ({ extraActions: e, store: n }) => {
344
- let r = i(n, (e) => e.setData), a = i(n, (e) => e.setLoadingStatus), o = (0, O.useRef)(null);
345
- (0, O.useEffect)(() => {
346
- let e = [C.getInstance().addEventListener("onShowImportDialog", (e) => {
347
- o.current?.open(e ? { initialErrorMessage: e } : void 0);
348
- }), C.getInstance().addEventListener("onCloseImportDialog", () => {
349
- o.current?.close();
350
- })];
351
- return () => {
352
- e.forEach((e) => e());
353
- };
354
- }, []), (0, O.useEffect)(() => {
355
- let e = new URLSearchParams(window.location.search), n = e.get("input-fasta"), i = e.get("input-metadata");
356
- (async () => {
357
- if (n) {
358
- a(t.LOADING);
359
- try {
360
- let e = await fetch(n);
361
- if (!e.ok) throw Error(`FASTA fetch failed (${e.status})`);
362
- let o = await e.text();
363
- if (!o.trim()) throw a(t.ERROR), Error("The input-fasta URL returned no sequence data. Check that the URL and requested accession(s) are correct.");
364
- let s;
365
- if (i) try {
366
- let e = await fetch(i);
367
- e.ok && (s = await e.text());
368
- } catch (e) {
369
- console.warn("[App] Failed to auto-fetch metadata:", e);
370
- }
371
- await r(o, s);
372
- } catch (e) {
373
- console.error("[App] Failed to auto-load FASTA:", e);
374
- let t = e instanceof Error ? e.message : "Failed to auto-load FASTA from the provided URL.";
375
- C.getInstance().emit("onShowImportDialog", t);
376
- }
377
- } else C.getInstance().emit("onShowImportDialog");
378
- })();
379
- }, [r, a]);
380
- let s = (0, O.useCallback)((e) => {
381
- o.current?.close(), C.getInstance().emit("onShowImportDialog", e);
382
- }, []), c = (0, O.useCallback)(async (e, t) => {
383
- try {
384
- await r(e, t), o.current?.close();
385
- } catch (e) {
386
- s(M.getErrorMessage(e, "Unknown error"));
387
- } finally {
388
- N.clearSearchParams();
389
- }
390
- }, [s, r]), l = (0, O.useCallback)((e) => {
391
- s(M.getErrorMessage(e, "Unknown error"));
392
- }, [s]);
393
- return /* @__PURE__ */ (0, k.jsx)(k.Fragment, { children: /* @__PURE__ */ (0, k.jsx)(P, {
394
- extraActions: e,
395
- onDataChange: c,
396
- onError: l,
397
- ref: o
398
- }) });
399
- }, I = (0, O.createContext)(null), L = () => (0, O.use)(I), R = 5e3, z = 40, B = ({ color: e = "primary", inline: t, label: n, size: r, takingLongerLabel: i, takingLongerTimeoutMs: a, textColor: o }) => {
400
- let [c, f] = (0, O.useState)(!1), { t: p } = _(), m = L();
401
- return (0, O.useEffect)(() => {
402
- let e = setTimeout(() => {
403
- f(!0);
404
- }, a ?? m?.spinner?.defaultTakingLongerTimeoutMs ?? R);
405
- return () => {
406
- clearTimeout(e);
407
- };
408
- }, [a, m?.spinner?.defaultTakingLongerTimeoutMs]), /* @__PURE__ */ (0, k.jsxs)(u, {
409
- "aria-busy": "true",
410
- role: "status",
411
- sx: {
412
- alignItems: "center",
413
- bottom: t ? "auto" : 0,
414
- display: "flex",
415
- flexDirection: "column",
416
- justifyContent: "center",
417
- left: t ? "auto" : 0,
418
- position: t ? "relative" : "absolute",
419
- right: t ? "auto" : 0,
420
- top: t ? "auto" : 0,
421
- width: t ? "100%" : "auto"
422
- },
423
- children: [
424
- /* @__PURE__ */ (0, k.jsx)(u, {
425
- sx: { margin: 1 },
426
- children: /* @__PURE__ */ (0, k.jsx)(s, {
427
- color: e,
428
- size: r ?? m?.spinner?.defaultCircularProgressSize ?? z
429
- })
430
- }),
431
- /* @__PURE__ */ (0, k.jsx)(u, {
432
- sx: {
433
- ...n ? void 0 : d,
434
- color: o ?? "inherit",
435
- margin: 1
436
- },
437
- children: /* @__PURE__ */ (0, k.jsx)(l, {
438
- "aria-live": "polite",
439
- children: n ?? p`Loading`
440
- })
441
- }),
442
- c && /* @__PURE__ */ (0, k.jsx)(u, {
443
- sx: {
444
- color: o ?? "inherit",
445
- margin: 1
446
- },
447
- children: /* @__PURE__ */ (0, k.jsx)(l, {
448
- "aria-live": "polite",
449
- children: i || p`This is taking longer than expected. We are still trying.`
450
- })
451
- })
452
- ]
453
- });
454
- }, V = ({ backgroundColor: e, open: t, ...n }) => {
455
- let r = o();
456
- return /* @__PURE__ */ (0, k.jsx)(y, {
457
- open: t,
458
- sx: {
459
- backdropFilter: "blur(3px)",
460
- backgroundColor: e ?? (r.palette.mode === "light" ? "rgba(255, 255, 255, 0.6)" : "rgba(0, 0, 0, 0.6)"),
461
- zIndex: r.zIndex.drawer + 1
462
- },
463
- children: t && /* @__PURE__ */ (0, k.jsx)(B, { ...n })
464
- });
465
- }, H = ({ description: e, icon: t, title: n }) => {
466
- let r = (0, O.useCallback)(() => {
467
- C.getInstance().emit("onShowImportDialog");
468
- }, []);
469
- return /* @__PURE__ */ (0, k.jsxs)(u, {
470
- sx: {
471
- alignItems: "center",
472
- display: "flex",
473
- flexDirection: "column",
474
- gap: 2,
475
- height: "100%",
476
- justifyContent: "center",
477
- p: 3,
478
- width: "100%"
479
- },
480
- children: [
481
- t,
482
- /* @__PURE__ */ (0, k.jsx)(l, {
483
- color: "text.secondary",
484
- sx: { fontWeight: 600 },
485
- variant: "h6",
486
- children: n
487
- }),
488
- /* @__PURE__ */ (0, k.jsx)(l, {
489
- color: "text.secondary",
490
- sx: {
491
- maxWidth: 450,
492
- textAlign: "center"
493
- },
494
- variant: "body2",
495
- children: e
496
- }),
497
- /* @__PURE__ */ (0, k.jsx)(g, {
498
- color: "primary",
499
- onClick: r,
500
- startIcon: /* @__PURE__ */ (0, k.jsx)(x, {}),
501
- sx: { mt: 1 },
502
- variant: "contained",
503
- children: "Load Data"
504
- })
505
- ]
506
- });
507
- }, U = () => {
508
- let e = i(n, (e) => e.loadingStatus), r = i(n, (e) => e.setData), a = i(n, (e) => e.rawFasta), o = (0, O.useCallback)(async () => {
509
- try {
510
- let e = await (await fetch("/sample-data/sarscov2_demo.fasta")).text();
511
- await r(e), C.getInstance().emit("onCloseImportDialog");
512
- } catch (e) {
513
- C.getInstance().emit("onCloseImportDialog");
514
- let t = `Failed to load demo dataset: ${M.getErrorMessage(e, "Unknown error")}`;
515
- C.getInstance().emit("onShowImportDialog", t);
516
- } finally {
517
- N.clearSearchParams();
518
- }
519
- }, [r]), s = (0, O.useMemo)(() => [{
520
- autoFocus: !0,
521
- color: "secondary",
522
- label: "Demo (SARS-CoV-2)",
523
- onClick: o,
524
- variant: "contained"
525
- }], [o]);
526
- return /* @__PURE__ */ (0, k.jsxs)(T, {
527
- isNoInteraction: !1,
528
- children: [
529
- a && /* @__PURE__ */ (0, k.jsx)(D, {}),
530
- !a && /* @__PURE__ */ (0, k.jsx)(H, {
531
- description: "Load a FASTA sequence file to enable the editor.",
532
- icon: /* @__PURE__ */ (0, k.jsx)(S, { sx: {
533
- color: "text.disabled",
534
- fontSize: 72
535
- } }),
536
- title: "No FASTA Sequence Loaded"
537
- }),
538
- /* @__PURE__ */ (0, k.jsx)(F, {
539
- extraActions: s,
540
- store: n
541
- }),
542
- /* @__PURE__ */ (0, k.jsx)(V, {
543
- label: "Computing phylogenetic tree",
544
- open: e === t.LOADING
545
- })
546
- ]
547
- });
548
- };
549
- //#endregion
550
- export { U as t };
551
-
552
- //# sourceMappingURL=SequenceEditorMainPage.js.map