@isothrum/editor 0.0.0-stage → 0.1.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.
- package/LICENSE +202 -0
- package/NOTICE +8 -0
- package/PUBLISHING.md +93 -0
- package/README.md +106 -2
- package/desktop-editor/editor.css +11 -0
- package/desktop-editor/index.html +14 -0
- package/desktop-editor/main.tsx +26 -0
- package/dist/desktop/editor.css +1 -0
- package/dist/desktop/editor.js +181 -0
- package/dist/desktop/fonts/geist-cyrillic-ext-wght-normal-RO72NYA2.woff2 +0 -0
- package/dist/desktop/fonts/geist-cyrillic-wght-normal-CK2XY27K.woff2 +0 -0
- package/dist/desktop/fonts/geist-latin-ext-wght-normal-XEQ56JUF.woff2 +0 -0
- package/dist/desktop/fonts/geist-latin-wght-normal-T72VVCUW.woff2 +0 -0
- package/dist/desktop/fonts/geist-mono-cyrillic-ext-wght-normal-QXKVIKFD.woff2 +0 -0
- package/dist/desktop/fonts/geist-mono-cyrillic-wght-normal-GOIAQAGU.woff2 +0 -0
- package/dist/desktop/fonts/geist-mono-latin-ext-wght-normal-HU3ZAWN6.woff2 +0 -0
- package/dist/desktop/fonts/geist-mono-latin-wght-normal-CJNQKXUG.woff2 +0 -0
- package/dist/desktop/fonts/geist-mono-symbols2-wght-normal-WZJJVLQO.woff2 +0 -0
- package/dist/desktop/fonts/geist-mono-vietnamese-wght-normal-KW5NM6YV.woff2 +0 -0
- package/dist/desktop/fonts/geist-vietnamese-wght-normal-Y2R7JZKV.woff2 +0 -0
- package/dist/desktop/fonts/shantell-sans-cyrillic-ext-wght-normal-ILPQWRJJ.woff2 +0 -0
- package/dist/desktop/fonts/shantell-sans-cyrillic-wght-normal-RKC6NDPM.woff2 +0 -0
- package/dist/desktop/fonts/shantell-sans-latin-ext-wght-normal-SNKHG3LM.woff2 +0 -0
- package/dist/desktop/fonts/shantell-sans-latin-wght-normal-7CHHGC3N.woff2 +0 -0
- package/dist/desktop/fonts/shantell-sans-vietnamese-wght-normal-IPFAQSBA.woff2 +0 -0
- package/dist/desktop/index.html +14 -0
- package/dist/desktop/styles.css +2 -0
- package/dist/desktop/wasm/isothrum_wasm.d.ts +60 -0
- package/dist/desktop/wasm/isothrum_wasm.js +312 -0
- package/dist/desktop/wasm/isothrum_wasm_bg.wasm +0 -0
- package/dist/index.js +7059 -0
- package/dist/index.js.map +7 -0
- package/dist/model.js +745 -0
- package/dist/model.js.map +7 -0
- package/dist/types/components/tool/canvas/cable-edge.d.ts +4 -0
- package/dist/types/components/tool/canvas/contexts.d.ts +12 -0
- package/dist/types/components/tool/canvas/device-icon.d.ts +17 -0
- package/dist/types/components/tool/canvas/inline-text.d.ts +15 -0
- package/dist/types/components/tool/canvas/lan-node.d.ts +8 -0
- package/dist/types/components/tool/canvas/machine-addresses.d.ts +14 -0
- package/dist/types/components/tool/canvas/machine-node.d.ts +4 -0
- package/dist/types/components/tool/canvas/note-node.d.ts +7 -0
- package/dist/types/components/tool/canvas/port-led.d.ts +10 -0
- package/dist/types/components/tool/canvas/router-node.d.ts +8 -0
- package/dist/types/components/tool/canvas/sketch.d.ts +50 -0
- package/dist/types/components/tool/canvas/status-dot.d.ts +5 -0
- package/dist/types/components/tool/canvas/switch-node.d.ts +8 -0
- package/dist/types/components/tool/canvas/use-measured-ports.d.ts +7 -0
- package/dist/types/components/tool/context-menus.d.ts +5 -0
- package/dist/types/components/tool/device-block.d.ts +12 -0
- package/dist/types/components/tool/editor-menu.d.ts +28 -0
- package/dist/types/components/tool/export/copy-button.d.ts +9 -0
- package/dist/types/components/tool/export/export-panel.d.ts +17 -0
- package/dist/types/components/tool/export/target-list.d.ts +15 -0
- package/dist/types/components/tool/floating-window.d.ts +13 -0
- package/dist/types/components/tool/flow-canvas.d.ts +6 -0
- package/dist/types/components/tool/hooks/use-cabling.d.ts +23 -0
- package/dist/types/components/tool/hooks/use-captures.d.ts +9 -0
- package/dist/types/components/tool/hooks/use-clipboard.d.ts +12 -0
- package/dist/types/components/tool/hooks/use-context-menus.d.ts +25 -0
- package/dist/types/components/tool/hooks/use-design.d.ts +10 -0
- package/dist/types/components/tool/hooks/use-desktop.d.ts +50 -0
- package/dist/types/components/tool/hooks/use-devices.d.ts +17 -0
- package/dist/types/components/tool/hooks/use-downloads.d.ts +9 -0
- package/dist/types/components/tool/hooks/use-editor.d.ts +609 -0
- package/dist/types/components/tool/hooks/use-engine.d.ts +9 -0
- package/dist/types/components/tool/hooks/use-history.d.ts +9 -0
- package/dist/types/components/tool/hooks/use-lab-actions.d.ts +25 -0
- package/dist/types/components/tool/hooks/use-lab-run.d.ts +25 -0
- package/dist/types/components/tool/hooks/use-lab.d.ts +18 -0
- package/dist/types/components/tool/hooks/use-lan-carry.d.ts +8 -0
- package/dist/types/components/tool/hooks/use-machine-actions.d.ts +26 -0
- package/dist/types/components/tool/hooks/use-placement.d.ts +27 -0
- package/dist/types/components/tool/hooks/use-project.d.ts +25 -0
- package/dist/types/components/tool/hooks/use-projects.d.ts +34 -0
- package/dist/types/components/tool/hooks/use-shared-link.d.ts +23 -0
- package/dist/types/components/tool/hooks/use-toast.d.ts +2 -0
- package/dist/types/components/tool/hooks/use-tools.d.ts +17 -0
- package/dist/types/components/tool/lab-canvas.d.ts +18 -0
- package/dist/types/components/tool/overlays.d.ts +5 -0
- package/dist/types/components/tool/projects-list.d.ts +9 -0
- package/dist/types/components/tool/text.d.ts +418 -0
- package/dist/types/components/tool/toolbar.d.ts +5 -0
- package/dist/types/components/tool/top-bars.d.ts +10 -0
- package/dist/types/components/tool/windows/conditions-fields.d.ts +6 -0
- package/dist/types/components/tool/windows/editor-windows.d.ts +5 -0
- package/dist/types/components/tool/windows/fields.d.ts +4 -0
- package/dist/types/components/tool/windows/lab-status.d.ts +6 -0
- package/dist/types/components/tool/windows/lab-windows.d.ts +13 -0
- package/dist/types/components/tool/windows/link-controls.d.ts +21 -0
- package/dist/types/components/tool/windows/machine-controls.d.ts +16 -0
- package/dist/types/components/tool/windows/machine-inspector.d.ts +11 -0
- package/dist/types/components/tool/windows/runs-fields.d.ts +18 -0
- package/dist/types/components/tool/windows/selected-windows.d.ts +21 -0
- package/dist/types/components/ui/button.d.ts +8 -0
- package/dist/types/components/ui/dropdown-menu.d.ts +21 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/lib/auth.d.ts +38 -0
- package/dist/types/lib/brand.d.ts +19 -0
- package/dist/types/lib/i18n.d.ts +19 -0
- package/dist/types/lib/tool/blocks.d.ts +35 -0
- package/dist/types/lib/tool/cables.d.ts +48 -0
- package/dist/types/lib/tool/clone.d.ts +12 -0
- package/dist/types/lib/tool/conditions.d.ts +31 -0
- package/dist/types/lib/tool/create.d.ts +22 -0
- package/dist/types/lib/tool/desktop.d.ts +63 -0
- package/dist/types/lib/tool/draft.d.ts +20 -0
- package/dist/types/lib/tool/engine.d.ts +33 -0
- package/dist/types/lib/tool/examples.d.ts +11 -0
- package/dist/types/lib/tool/export-targets.d.ts +21 -0
- package/dist/types/lib/tool/facing.d.ts +9 -0
- package/dist/types/lib/tool/geometry.d.ts +36 -0
- package/dist/types/lib/tool/gns3-cables.d.ts +17 -0
- package/dist/types/lib/tool/gns3-import.d.ts +15 -0
- package/dist/types/lib/tool/gns3-parts.d.ts +25 -0
- package/dist/types/lib/tool/issues.d.ts +12 -0
- package/dist/types/lib/tool/layout.d.ts +52 -0
- package/dist/types/lib/tool/live.d.ts +21 -0
- package/dist/types/lib/tool/logos.d.ts +7 -0
- package/dist/types/lib/tool/model.d.ts +173 -0
- package/dist/types/lib/tool/os.d.ts +20 -0
- package/dist/types/lib/tool/pins.d.ts +5 -0
- package/dist/types/lib/tool/placement.d.ts +21 -0
- package/dist/types/lib/tool/ports.d.ts +21 -0
- package/dist/types/lib/tool/presets.d.ts +21 -0
- package/dist/types/lib/tool/projects-api.d.ts +37 -0
- package/dist/types/lib/tool/router-ports.d.ts +22 -0
- package/dist/types/lib/tool/selection.d.ts +19 -0
- package/dist/types/lib/tool/storage.d.ts +25 -0
- package/dist/types/lib/tool/switch-edit.d.ts +17 -0
- package/dist/types/lib/tool/text/de.d.ts +2 -0
- package/dist/types/lib/tool/text/en.d.ts +429 -0
- package/dist/types/lib/tool/text/es.d.ts +2 -0
- package/dist/types/lib/tool/text/fr.d.ts +2 -0
- package/dist/types/lib/tool/text/index.d.ts +419 -0
- package/dist/types/lib/tool/topology.d.ts +2 -0
- package/dist/types/lib/tool/vlans.d.ts +24 -0
- package/dist/types/lib/utils.d.ts +2 -0
- package/dist/types/model.d.ts +13 -0
- package/package.json +88 -4
- package/scripts/build-desktop-editor.mjs +43 -0
- package/scripts/build-lib.mjs +38 -0
- package/src/components/tool/canvas/cable-edge.tsx +112 -0
- package/src/components/tool/canvas/contexts.ts +18 -0
- package/src/components/tool/canvas/device-icon.tsx +105 -0
- package/src/components/tool/canvas/inline-text.tsx +69 -0
- package/src/components/tool/canvas/lan-node.tsx +148 -0
- package/src/components/tool/canvas/machine-addresses.tsx +117 -0
- package/src/components/tool/canvas/machine-node.tsx +114 -0
- package/src/components/tool/canvas/note-node.tsx +109 -0
- package/src/components/tool/canvas/port-led.tsx +21 -0
- package/src/components/tool/canvas/router-node.tsx +114 -0
- package/src/components/tool/canvas/sketch.tsx +130 -0
- package/src/components/tool/canvas/status-dot.tsx +29 -0
- package/src/components/tool/canvas/switch-node.tsx +143 -0
- package/src/components/tool/canvas/use-measured-ports.ts +25 -0
- package/src/components/tool/context-menus.tsx +142 -0
- package/src/components/tool/device-block.tsx +107 -0
- package/src/components/tool/editor-menu.tsx +191 -0
- package/src/components/tool/export/copy-button.tsx +45 -0
- package/src/components/tool/export/export-panel.tsx +127 -0
- package/src/components/tool/export/target-list.tsx +87 -0
- package/src/components/tool/floating-window.tsx +69 -0
- package/src/components/tool/flow-canvas.tsx +138 -0
- package/src/components/tool/hooks/use-cabling.ts +66 -0
- package/src/components/tool/hooks/use-captures.ts +24 -0
- package/src/components/tool/hooks/use-clipboard.ts +54 -0
- package/src/components/tool/hooks/use-context-menus.ts +37 -0
- package/src/components/tool/hooks/use-design.ts +24 -0
- package/src/components/tool/hooks/use-desktop.ts +100 -0
- package/src/components/tool/hooks/use-devices.ts +58 -0
- package/src/components/tool/hooks/use-downloads.ts +42 -0
- package/src/components/tool/hooks/use-editor.ts +114 -0
- package/src/components/tool/hooks/use-engine.ts +29 -0
- package/src/components/tool/hooks/use-history.ts +107 -0
- package/src/components/tool/hooks/use-lab-actions.ts +57 -0
- package/src/components/tool/hooks/use-lab-run.ts +61 -0
- package/src/components/tool/hooks/use-lab.ts +32 -0
- package/src/components/tool/hooks/use-lan-carry.ts +43 -0
- package/src/components/tool/hooks/use-machine-actions.ts +57 -0
- package/src/components/tool/hooks/use-placement.ts +80 -0
- package/src/components/tool/hooks/use-project.ts +112 -0
- package/src/components/tool/hooks/use-projects.ts +85 -0
- package/src/components/tool/hooks/use-shared-link.ts +64 -0
- package/src/components/tool/hooks/use-toast.ts +16 -0
- package/src/components/tool/hooks/use-tools.ts +60 -0
- package/src/components/tool/lab-canvas.tsx +96 -0
- package/src/components/tool/overlays.tsx +104 -0
- package/src/components/tool/projects-list.tsx +96 -0
- package/src/components/tool/text.ts +9 -0
- package/src/components/tool/toolbar.tsx +106 -0
- package/src/components/tool/top-bars.tsx +90 -0
- package/src/components/tool/windows/conditions-fields.tsx +43 -0
- package/src/components/tool/windows/editor-windows.tsx +73 -0
- package/src/components/tool/windows/fields.ts +6 -0
- package/src/components/tool/windows/lab-status.tsx +68 -0
- package/src/components/tool/windows/lab-windows.tsx +130 -0
- package/src/components/tool/windows/link-controls.tsx +69 -0
- package/src/components/tool/windows/machine-controls.tsx +116 -0
- package/src/components/tool/windows/machine-inspector.tsx +83 -0
- package/src/components/tool/windows/runs-fields.tsx +127 -0
- package/src/components/tool/windows/selected-windows.tsx +147 -0
- package/src/components/ui/button.tsx +59 -0
- package/src/components/ui/dropdown-menu.tsx +185 -0
- package/src/index.ts +21 -0
- package/src/lib/auth.tsx +43 -0
- package/src/lib/brand.tsx +46 -0
- package/src/lib/i18n.ts +53 -0
- package/src/lib/tool/blocks.test.ts +64 -0
- package/src/lib/tool/blocks.ts +78 -0
- package/src/lib/tool/cable-wiring.test.ts +74 -0
- package/src/lib/tool/cables.test.ts +75 -0
- package/src/lib/tool/cables.ts +215 -0
- package/src/lib/tool/clone.test.ts +54 -0
- package/src/lib/tool/clone.ts +48 -0
- package/src/lib/tool/conditions.test.ts +170 -0
- package/src/lib/tool/conditions.ts +132 -0
- package/src/lib/tool/create.test.ts +67 -0
- package/src/lib/tool/create.ts +83 -0
- package/src/lib/tool/desktop.test.ts +59 -0
- package/src/lib/tool/desktop.ts +99 -0
- package/src/lib/tool/draft.test.ts +150 -0
- package/src/lib/tool/draft.ts +109 -0
- package/src/lib/tool/engine.test.ts +39 -0
- package/src/lib/tool/engine.ts +58 -0
- package/src/lib/tool/examples.test.ts +35 -0
- package/src/lib/tool/examples.ts +71 -0
- package/src/lib/tool/export-targets.test.ts +47 -0
- package/src/lib/tool/export-targets.ts +84 -0
- package/src/lib/tool/facing.test.ts +72 -0
- package/src/lib/tool/facing.ts +100 -0
- package/src/lib/tool/geometry.test.ts +80 -0
- package/src/lib/tool/geometry.ts +109 -0
- package/src/lib/tool/gns3-cables.test.ts +47 -0
- package/src/lib/tool/gns3-cables.ts +81 -0
- package/src/lib/tool/gns3-import.test.ts +102 -0
- package/src/lib/tool/gns3-import.ts +198 -0
- package/src/lib/tool/gns3-layout.test.ts +62 -0
- package/src/lib/tool/gns3-parts.test.ts +47 -0
- package/src/lib/tool/gns3-parts.ts +68 -0
- package/src/lib/tool/issues.test.ts +35 -0
- package/src/lib/tool/issues.ts +60 -0
- package/src/lib/tool/layout.test.ts +128 -0
- package/src/lib/tool/layout.ts +229 -0
- package/src/lib/tool/live.test.ts +46 -0
- package/src/lib/tool/live.ts +49 -0
- package/src/lib/tool/logos.test.ts +30 -0
- package/src/lib/tool/logos.ts +99 -0
- package/src/lib/tool/model.test.ts +128 -0
- package/src/lib/tool/model.ts +238 -0
- package/src/lib/tool/os.test.ts +45 -0
- package/src/lib/tool/os.ts +57 -0
- package/src/lib/tool/parity.test.ts +145 -0
- package/src/lib/tool/pins.test.ts +24 -0
- package/src/lib/tool/pins.ts +11 -0
- package/src/lib/tool/placement.test.ts +79 -0
- package/src/lib/tool/placement.ts +60 -0
- package/src/lib/tool/ports.test.ts +39 -0
- package/src/lib/tool/ports.ts +48 -0
- package/src/lib/tool/presets.test.ts +50 -0
- package/src/lib/tool/presets.ts +77 -0
- package/src/lib/tool/projects-api.test.ts +59 -0
- package/src/lib/tool/projects-api.ts +47 -0
- package/src/lib/tool/router-ports.test.ts +63 -0
- package/src/lib/tool/router-ports.ts +88 -0
- package/src/lib/tool/selection.test.ts +44 -0
- package/src/lib/tool/selection.ts +34 -0
- package/src/lib/tool/storage.test.ts +123 -0
- package/src/lib/tool/storage.ts +127 -0
- package/src/lib/tool/switch-edit.test.ts +49 -0
- package/src/lib/tool/switch-edit.ts +38 -0
- package/src/lib/tool/text/de.ts +358 -0
- package/src/lib/tool/text/en.ts +371 -0
- package/src/lib/tool/text/es.ts +358 -0
- package/src/lib/tool/text/fr.ts +358 -0
- package/src/lib/tool/text/index.ts +21 -0
- package/src/lib/tool/text/text.test.ts +33 -0
- package/src/lib/tool/topology.test.ts +108 -0
- package/src/lib/tool/topology.ts +116 -0
- package/src/lib/tool/vlans.test.ts +64 -0
- package/src/lib/tool/vlans.ts +79 -0
- package/src/lib/utils.ts +6 -0
- package/src/model.ts +13 -0
- package/src/test/arbitrary.ts +41 -0
- package/src/test/engine.ts +48 -0
- package/src/test/lab.ts +101 -0
- package/styles/globals.css +258 -0
- package/styles/theme.css +192 -0
- package/tsconfig.build.json +12 -0
- package/tsconfig.json +22 -0
- package/wasm/isothrum_wasm.d.ts +60 -0
- package/wasm/isothrum_wasm.js +312 -0
- package/wasm/isothrum_wasm_bg.wasm +0 -0
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The editor's words, in English: the source the other languages follow. `EditorText` is this
|
|
3
|
+
* object's type, so a translation that misses a key (or a function's arguments) doesn't compile.
|
|
4
|
+
* Not translated: machine, LAN and port names, images, OS ids, commands, file names, key letters,
|
|
5
|
+
* and the engine's own messages (they come from Isoloom).
|
|
6
|
+
*/
|
|
7
|
+
export declare const en: {
|
|
8
|
+
toolbar: {
|
|
9
|
+
blocks: {
|
|
10
|
+
switch: string;
|
|
11
|
+
router: string;
|
|
12
|
+
firewall: string;
|
|
13
|
+
container: string;
|
|
14
|
+
vm: string;
|
|
15
|
+
mine: string;
|
|
16
|
+
};
|
|
17
|
+
kindsOf: (block: string) => string;
|
|
18
|
+
devices: string;
|
|
19
|
+
hand: string;
|
|
20
|
+
select: string;
|
|
21
|
+
lan: string;
|
|
22
|
+
lanTitle: string;
|
|
23
|
+
switch: string;
|
|
24
|
+
switchTitle: string;
|
|
25
|
+
note: string;
|
|
26
|
+
noteTitle: string;
|
|
27
|
+
forget: (device: string) => string;
|
|
28
|
+
forgetLabel: (device: string) => string;
|
|
29
|
+
undo: string;
|
|
30
|
+
undoTitle: string;
|
|
31
|
+
redo: string;
|
|
32
|
+
redoTitle: string;
|
|
33
|
+
};
|
|
34
|
+
/** The line under the toolbar. */
|
|
35
|
+
hints: {
|
|
36
|
+
lan: string;
|
|
37
|
+
note: string;
|
|
38
|
+
place: (device: string) => string;
|
|
39
|
+
hand: string;
|
|
40
|
+
cable: string;
|
|
41
|
+
select: string;
|
|
42
|
+
};
|
|
43
|
+
/** The built-in devices of the toolbar, by preset id. Without a hint, the hint is what the device runs (its OS or image). */
|
|
44
|
+
devices: {
|
|
45
|
+
router: {
|
|
46
|
+
label: string;
|
|
47
|
+
hint: string;
|
|
48
|
+
};
|
|
49
|
+
"router-frr": {
|
|
50
|
+
label: string;
|
|
51
|
+
hint: string;
|
|
52
|
+
};
|
|
53
|
+
firewall: {
|
|
54
|
+
label: string;
|
|
55
|
+
hint: string;
|
|
56
|
+
};
|
|
57
|
+
container: {
|
|
58
|
+
label: string;
|
|
59
|
+
};
|
|
60
|
+
web: {
|
|
61
|
+
label: string;
|
|
62
|
+
hint: string;
|
|
63
|
+
};
|
|
64
|
+
database: {
|
|
65
|
+
label: string;
|
|
66
|
+
hint: string;
|
|
67
|
+
};
|
|
68
|
+
desktop: {
|
|
69
|
+
label: string;
|
|
70
|
+
hint: string;
|
|
71
|
+
};
|
|
72
|
+
"linux-vm": {
|
|
73
|
+
label: string;
|
|
74
|
+
};
|
|
75
|
+
"ubuntu-vm": {
|
|
76
|
+
label: string;
|
|
77
|
+
};
|
|
78
|
+
"kali-vm": {
|
|
79
|
+
label: string;
|
|
80
|
+
};
|
|
81
|
+
"windows-vm": {
|
|
82
|
+
label: string;
|
|
83
|
+
};
|
|
84
|
+
workstation: {
|
|
85
|
+
label: string;
|
|
86
|
+
hint: string;
|
|
87
|
+
};
|
|
88
|
+
"cisco-iol": {
|
|
89
|
+
label: string;
|
|
90
|
+
hint: string;
|
|
91
|
+
};
|
|
92
|
+
"cisco-iol-l2": {
|
|
93
|
+
label: string;
|
|
94
|
+
hint: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
/** A device saved from the canvas: what it runs (an image, an OS, or this). */
|
|
98
|
+
myDevice: (what: string) => string;
|
|
99
|
+
myDeviceRouter: string;
|
|
100
|
+
status: {
|
|
101
|
+
loading: string;
|
|
102
|
+
toFix: (count: number) => string;
|
|
103
|
+
valid: string;
|
|
104
|
+
};
|
|
105
|
+
run: {
|
|
106
|
+
autoStart: string;
|
|
107
|
+
autoStartNote: string;
|
|
108
|
+
statusTitle: (up: number, total: number) => string;
|
|
109
|
+
probed: string;
|
|
110
|
+
inferred: string;
|
|
111
|
+
run: string;
|
|
112
|
+
starting: string;
|
|
113
|
+
stop: string;
|
|
114
|
+
stopping: string;
|
|
115
|
+
vmsTitle: string;
|
|
116
|
+
runVmsTitle: string;
|
|
117
|
+
startingVmsLog: string;
|
|
118
|
+
runTitle: string;
|
|
119
|
+
startingLog: string;
|
|
120
|
+
window: string;
|
|
121
|
+
running: string;
|
|
122
|
+
stopped: string;
|
|
123
|
+
noDocker: string;
|
|
124
|
+
noLiveCapture: (wireshark: boolean, dir: string) => string;
|
|
125
|
+
};
|
|
126
|
+
capture: {
|
|
127
|
+
capturing: (network: string) => string;
|
|
128
|
+
writingTo: string;
|
|
129
|
+
live: string;
|
|
130
|
+
stop: string;
|
|
131
|
+
start: string;
|
|
132
|
+
runFirst: string;
|
|
133
|
+
};
|
|
134
|
+
link: {
|
|
135
|
+
suspend: string;
|
|
136
|
+
resume: string;
|
|
137
|
+
suspendAll: string;
|
|
138
|
+
resumeAll: string;
|
|
139
|
+
cableSuspended: string;
|
|
140
|
+
lanSuspended: (ports: number) => string;
|
|
141
|
+
runFirst: string;
|
|
142
|
+
};
|
|
143
|
+
export: string;
|
|
144
|
+
engineDidntLoad: (error: string) => string;
|
|
145
|
+
engineFailed: (error: string) => string;
|
|
146
|
+
toasts: {
|
|
147
|
+
brokenLink: string;
|
|
148
|
+
openedShared: (lab: string) => string;
|
|
149
|
+
linkCopied: string;
|
|
150
|
+
copyPrompt: string;
|
|
151
|
+
savedDevice: (device: string) => string;
|
|
152
|
+
gns3Opened: (lab: string, machines: number, lans: number) => string;
|
|
153
|
+
undoBringsBack: string;
|
|
154
|
+
gns3Unreadable: string;
|
|
155
|
+
};
|
|
156
|
+
windows: {
|
|
157
|
+
machine: string;
|
|
158
|
+
lan: (lan: string) => string;
|
|
159
|
+
cable: (a: string, b: string) => string;
|
|
160
|
+
portOn: (machine: string) => string;
|
|
161
|
+
cableNote: string;
|
|
162
|
+
removeCable: string;
|
|
163
|
+
conditions: {
|
|
164
|
+
title: string;
|
|
165
|
+
delay: string;
|
|
166
|
+
jitter: string;
|
|
167
|
+
loss: string;
|
|
168
|
+
rate: string;
|
|
169
|
+
hint: string;
|
|
170
|
+
onLan: string;
|
|
171
|
+
onVlan: string;
|
|
172
|
+
};
|
|
173
|
+
selected: (count: number) => string;
|
|
174
|
+
selection: (items: number, cables: number) => string;
|
|
175
|
+
deleteSelection: (count: number) => string;
|
|
176
|
+
close: string;
|
|
177
|
+
};
|
|
178
|
+
lab: {
|
|
179
|
+
title: string;
|
|
180
|
+
containers: string;
|
|
181
|
+
vms: string;
|
|
182
|
+
lans: string;
|
|
183
|
+
cables: string;
|
|
184
|
+
toFix: string;
|
|
185
|
+
valid: string;
|
|
186
|
+
routing: string;
|
|
187
|
+
};
|
|
188
|
+
menu: {
|
|
189
|
+
menu: string;
|
|
190
|
+
example: string;
|
|
191
|
+
vlanExample: string;
|
|
192
|
+
gns3: string;
|
|
193
|
+
gns3File: string;
|
|
194
|
+
share: string;
|
|
195
|
+
fit: string;
|
|
196
|
+
clear: string;
|
|
197
|
+
light: string;
|
|
198
|
+
dark: string;
|
|
199
|
+
style: string;
|
|
200
|
+
styles: {
|
|
201
|
+
sketch: string;
|
|
202
|
+
business: string;
|
|
203
|
+
};
|
|
204
|
+
language: string;
|
|
205
|
+
about: string;
|
|
206
|
+
blog: string;
|
|
207
|
+
};
|
|
208
|
+
welcome: {
|
|
209
|
+
menuHint: string;
|
|
210
|
+
toolbarHint: string;
|
|
211
|
+
pitch: string;
|
|
212
|
+
example: string;
|
|
213
|
+
how: string;
|
|
214
|
+
};
|
|
215
|
+
inspector: {
|
|
216
|
+
name: string;
|
|
217
|
+
runsAs: string;
|
|
218
|
+
automaticRouter: string;
|
|
219
|
+
container: string;
|
|
220
|
+
vm: string;
|
|
221
|
+
routerNote: string;
|
|
222
|
+
image: string;
|
|
223
|
+
keepRunning: string;
|
|
224
|
+
applianceNote: string;
|
|
225
|
+
ciscoOs: string;
|
|
226
|
+
needsKvm: string;
|
|
227
|
+
dynamipsFirmware: (name: string) => string;
|
|
228
|
+
iosConfig: string;
|
|
229
|
+
iosConfigHint: string;
|
|
230
|
+
keepRunningHint: string;
|
|
231
|
+
os: string;
|
|
232
|
+
provision: string;
|
|
233
|
+
ports: string;
|
|
234
|
+
access: string;
|
|
235
|
+
cables: string;
|
|
236
|
+
noCables: string;
|
|
237
|
+
saveTitle: string;
|
|
238
|
+
save: string;
|
|
239
|
+
remove: string;
|
|
240
|
+
};
|
|
241
|
+
/** On the canvas: machines, LANs, switches, routers, notes. */
|
|
242
|
+
canvas: {
|
|
243
|
+
imageShort: string;
|
|
244
|
+
hosts: (n: number) => string;
|
|
245
|
+
roles: {
|
|
246
|
+
router: string;
|
|
247
|
+
firewall: string;
|
|
248
|
+
workstation: string;
|
|
249
|
+
server: string;
|
|
250
|
+
desktop: string;
|
|
251
|
+
host: string;
|
|
252
|
+
};
|
|
253
|
+
switchModel: (ports: number) => string;
|
|
254
|
+
live: {
|
|
255
|
+
up: string;
|
|
256
|
+
starting: string;
|
|
257
|
+
unhealthy: string;
|
|
258
|
+
down: string;
|
|
259
|
+
portUp: string;
|
|
260
|
+
portDown: string;
|
|
261
|
+
portUnknown: string;
|
|
262
|
+
lanPorts: (up: number, total: number) => string;
|
|
263
|
+
cable: {
|
|
264
|
+
up: string;
|
|
265
|
+
cut: string;
|
|
266
|
+
down: string;
|
|
267
|
+
};
|
|
268
|
+
cableShort: {
|
|
269
|
+
cut: string;
|
|
270
|
+
down: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
editTitle: (what: string) => string;
|
|
274
|
+
unnamed: string;
|
|
275
|
+
machineName: string;
|
|
276
|
+
vm: string;
|
|
277
|
+
automatic: string;
|
|
278
|
+
container: string;
|
|
279
|
+
access: string;
|
|
280
|
+
addressTitle: (network: string, fixed: boolean) => string;
|
|
281
|
+
fixed: string;
|
|
282
|
+
addressOn: (network: string) => string;
|
|
283
|
+
lanName: string;
|
|
284
|
+
addressBlock: string;
|
|
285
|
+
internetOnTitle: string;
|
|
286
|
+
internetOffTitle: string;
|
|
287
|
+
internetOn: string;
|
|
288
|
+
internetOff: string;
|
|
289
|
+
showAreaTitle: string;
|
|
290
|
+
hideAreaTitle: string;
|
|
291
|
+
showArea: string;
|
|
292
|
+
hideArea: string;
|
|
293
|
+
switchName: string;
|
|
294
|
+
port: (n: number) => string;
|
|
295
|
+
trunkPort: string;
|
|
296
|
+
trunkCarries: (vlans: string) => string;
|
|
297
|
+
noVlan: string;
|
|
298
|
+
clickToChange: string;
|
|
299
|
+
vlanNumber: string;
|
|
300
|
+
vlanBlock: string;
|
|
301
|
+
remove: (what: string) => string;
|
|
302
|
+
routerName: string;
|
|
303
|
+
portFree: (port: string) => string;
|
|
304
|
+
textOnly: string;
|
|
305
|
+
box: string;
|
|
306
|
+
ellipse: string;
|
|
307
|
+
colors: {
|
|
308
|
+
yellow: string;
|
|
309
|
+
red: string;
|
|
310
|
+
blue: string;
|
|
311
|
+
green: string;
|
|
312
|
+
violet: string;
|
|
313
|
+
};
|
|
314
|
+
color: (color: string) => string;
|
|
315
|
+
write: string;
|
|
316
|
+
note: string;
|
|
317
|
+
/** A note in lists (it has no name of its own). */
|
|
318
|
+
noteName: string;
|
|
319
|
+
};
|
|
320
|
+
exportPanel: {
|
|
321
|
+
copy: string;
|
|
322
|
+
copied: string;
|
|
323
|
+
labName: string;
|
|
324
|
+
fixFirst: string;
|
|
325
|
+
download: (lab: string) => string;
|
|
326
|
+
onlySpec: string;
|
|
327
|
+
where: string;
|
|
328
|
+
whereIntro: string;
|
|
329
|
+
mixed: string;
|
|
330
|
+
install: string;
|
|
331
|
+
files: (count: number) => string;
|
|
332
|
+
downloadOnly: (target: string) => string;
|
|
333
|
+
downloadTarget: (target: string) => string;
|
|
334
|
+
withIsoloom: string;
|
|
335
|
+
withTool: string;
|
|
336
|
+
run: string;
|
|
337
|
+
specIntro: string;
|
|
338
|
+
showSpec: string;
|
|
339
|
+
hideSpec: string;
|
|
340
|
+
/** Target names: "Vagrant (containers and VMs)", "AWS (one VM per machine)"… */
|
|
341
|
+
containersAndVms: string;
|
|
342
|
+
dockerOnOneVm: string;
|
|
343
|
+
oneVmPerMachine: string;
|
|
344
|
+
};
|
|
345
|
+
/** What the canvas checks before the engine runs. */
|
|
346
|
+
issues: {
|
|
347
|
+
vlanBlocks: (vlan: string, block: string, other: string, sw: string) => string;
|
|
348
|
+
areaBlock: (lan: string, block: string, switches: string) => string;
|
|
349
|
+
noName: {
|
|
350
|
+
machine: string;
|
|
351
|
+
lan: string;
|
|
352
|
+
switch: string;
|
|
353
|
+
};
|
|
354
|
+
sameName: {
|
|
355
|
+
machine: (name: string) => string;
|
|
356
|
+
lan: (name: string) => string;
|
|
357
|
+
switch: (name: string) => string;
|
|
358
|
+
};
|
|
359
|
+
badPort: (machine: string, entry: string) => string;
|
|
360
|
+
};
|
|
361
|
+
gns3: {
|
|
362
|
+
notGns3: string;
|
|
363
|
+
noTopology: string;
|
|
364
|
+
cisco: (node: string, kind: string) => string;
|
|
365
|
+
firewall: (node: string) => string;
|
|
366
|
+
noEquivalent: (node: string, type: string) => string;
|
|
367
|
+
noNodes: string;
|
|
368
|
+
};
|
|
369
|
+
account: {
|
|
370
|
+
signIn: string;
|
|
371
|
+
signOut: string;
|
|
372
|
+
signedInAs: (name: string) => string;
|
|
373
|
+
};
|
|
374
|
+
projects: {
|
|
375
|
+
save: string;
|
|
376
|
+
saveAs: string;
|
|
377
|
+
openList: string;
|
|
378
|
+
saveAsPrompt: string;
|
|
379
|
+
windowTitle: string;
|
|
380
|
+
loading: string;
|
|
381
|
+
none: string;
|
|
382
|
+
open: string;
|
|
383
|
+
openButton: string;
|
|
384
|
+
delete: (name: string) => string;
|
|
385
|
+
confirmDelete: (name: string) => string;
|
|
386
|
+
failed: (error: string) => string;
|
|
387
|
+
history: (name: string) => string;
|
|
388
|
+
noVersions: string;
|
|
389
|
+
restore: string;
|
|
390
|
+
historyHint: string;
|
|
391
|
+
opened: (name: string) => string;
|
|
392
|
+
status: {
|
|
393
|
+
idle: (name: string) => string;
|
|
394
|
+
saving: (name: string) => string;
|
|
395
|
+
saved: (name: string) => string;
|
|
396
|
+
error: (name: string) => string;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
machineRun: {
|
|
400
|
+
display: string;
|
|
401
|
+
displayTitle: string;
|
|
402
|
+
displayOpened: (what: string) => string;
|
|
403
|
+
consoleHint: string;
|
|
404
|
+
runFirst: string;
|
|
405
|
+
running: string;
|
|
406
|
+
stopped: string;
|
|
407
|
+
unknown: string;
|
|
408
|
+
console: string;
|
|
409
|
+
restart: string;
|
|
410
|
+
stop: string;
|
|
411
|
+
start: string;
|
|
412
|
+
snapshots: string;
|
|
413
|
+
takeSnapshot: string;
|
|
414
|
+
snapshotHint: string;
|
|
415
|
+
snapshotPrompt: string;
|
|
416
|
+
noSnapshots: string;
|
|
417
|
+
restore: string;
|
|
418
|
+
inUse: string;
|
|
419
|
+
ownImage: string;
|
|
420
|
+
deleteSnapshot: (label: string) => string;
|
|
421
|
+
};
|
|
422
|
+
update: {
|
|
423
|
+
available: (version: string) => string;
|
|
424
|
+
restart: string;
|
|
425
|
+
installing: string;
|
|
426
|
+
later: string;
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
export type EditorText = typeof en;
|