sldeditor 0.33.0 → 0.33.1

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 (68) hide show
  1. package/dist/canvas/ElementLayer.d.ts +5 -0
  2. package/dist/canvas/ElementLayer.d.ts.map +1 -1
  3. package/dist/canvas/PlaceGhost.d.ts +3 -3
  4. package/dist/canvas/PlaceGhost.d.ts.map +1 -1
  5. package/dist/canvas/drop-on-bus.d.ts +56 -4
  6. package/dist/canvas/drop-on-bus.d.ts.map +1 -1
  7. package/dist/canvas/fit-to-content.d.ts.map +1 -1
  8. package/dist/canvas/tools/SelectTool.d.ts.map +1 -1
  9. package/dist/canvas/useKeyboardShortcuts.d.ts +4 -2
  10. package/dist/canvas/useKeyboardShortcuts.d.ts.map +1 -1
  11. package/dist/canvas/useViewport.d.ts.map +1 -1
  12. package/dist/canvas/wire-drag.d.ts +12 -2
  13. package/dist/canvas/wire-drag.d.ts.map +1 -1
  14. package/dist/components/EditorShell.d.ts.map +1 -1
  15. package/dist/components/FloatingToolbar.d.ts.map +1 -1
  16. package/dist/components/LibraryPopover.d.ts.map +1 -1
  17. package/dist/components/OnboardingCard.d.ts +2 -1
  18. package/dist/components/OnboardingCard.d.ts.map +1 -1
  19. package/dist/components/PropertyPanel.d.ts +6 -3
  20. package/dist/components/PropertyPanel.d.ts.map +1 -1
  21. package/dist/components/RightPanel.d.ts.map +1 -1
  22. package/dist/components/ViewToolbar.d.ts.map +1 -1
  23. package/dist/hooks/bottom-bar.d.ts +3 -0
  24. package/dist/hooks/bottom-bar.d.ts.map +1 -1
  25. package/dist/i18n/circuit-terms.d.ts +4 -0
  26. package/dist/i18n/circuit-terms.d.ts.map +1 -0
  27. package/dist/i18n/library.d.ts +4 -11
  28. package/dist/i18n/library.d.ts.map +1 -1
  29. package/dist/i18n/locales/ar.d.ts +1 -1
  30. package/dist/i18n/locales/ar.d.ts.map +1 -1
  31. package/dist/i18n/locales/de.d.ts +1 -1
  32. package/dist/i18n/locales/de.d.ts.map +1 -1
  33. package/dist/i18n/locales/es.d.ts +1 -1
  34. package/dist/i18n/locales/es.d.ts.map +1 -1
  35. package/dist/i18n/locales/fa.d.ts +1 -1
  36. package/dist/i18n/locales/fa.d.ts.map +1 -1
  37. package/dist/i18n/locales/fr.d.ts +1 -1
  38. package/dist/i18n/locales/fr.d.ts.map +1 -1
  39. package/dist/i18n/locales/he.d.ts +1 -1
  40. package/dist/i18n/locales/he.d.ts.map +1 -1
  41. package/dist/i18n/locales/index.d.ts +9 -9
  42. package/dist/i18n/locales/ja.d.ts +1 -1
  43. package/dist/i18n/locales/ja.d.ts.map +1 -1
  44. package/dist/i18n/locales/pt.d.ts +1 -1
  45. package/dist/i18n/locales/pt.d.ts.map +1 -1
  46. package/dist/i18n/locales/ru.d.ts +1 -1
  47. package/dist/i18n/locales/ru.d.ts.map +1 -1
  48. package/dist/i18n/messages.d.ts +57 -9
  49. package/dist/i18n/messages.d.ts.map +1 -1
  50. package/dist/index.d.ts +3 -3
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/lib/conductors.d.ts +18 -1
  53. package/dist/lib/conductors.d.ts.map +1 -1
  54. package/dist/lib/library-search.d.ts +35 -0
  55. package/dist/lib/library-search.d.ts.map +1 -0
  56. package/dist/lib/text-entry.d.ts +18 -0
  57. package/dist/lib/text-entry.d.ts.map +1 -0
  58. package/dist/model/library.d.ts +8 -2
  59. package/dist/model/library.d.ts.map +1 -1
  60. package/dist/sldeditor.cjs +66 -61
  61. package/dist/sldeditor.cjs.map +1 -1
  62. package/dist/sldeditor.js +9411 -8767
  63. package/dist/sldeditor.js.map +1 -1
  64. package/dist/store/id-allocator.d.ts +23 -0
  65. package/dist/store/id-allocator.d.ts.map +1 -1
  66. package/dist/store/store.d.ts.map +1 -1
  67. package/dist/style.css +1 -1
  68. package/package.json +1 -1
@@ -12,6 +12,11 @@
12
12
  * we paint an invisible `<rect>` covering the library's viewBox before the
13
13
  * symbol. `fill="transparent"` is hittable (unlike `none`); the visual lines
14
14
  * still draw on top because they're added after.
15
+ *
16
+ * A bounding box alone is not enough for thin symbols: a contact is ~12
17
+ * units wide, so ~17 px at a normal zoom — double-clicks missed it, and the
18
+ * name the user then typed went to the single-key shortcuts instead. Each
19
+ * element therefore also gets an invisible `HitPad` (see styles.css).
15
20
  */
16
21
  export declare function ElementLayer(): import("react/jsx-runtime").JSX.Element;
17
22
  //# sourceMappingURL=ElementLayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ElementLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoCH,wBAAgB,YAAY,4CA8G3B"}
1
+ {"version":3,"file":"ElementLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAkFH,wBAAgB,YAAY,4CA6G3B"}
@@ -8,9 +8,9 @@
8
8
  * expect to drop onto a wire/bus, not the element's centroid.
9
9
  *
10
10
  * In drag-from-terminal mode (`placeFromTerminal != null`) we additionally
11
- * draw a dashed wire from the source terminal to whichever pin of the ghost
12
- * is closest — same visual language as `WirePreview`, so the user sees the
13
- * connection that will be committed on release.
11
+ * draw a dashed wire from the source terminal to the pin it will connect to
12
+ * (one per pole for a multi-pole pair) — same visual language as
13
+ * `WirePreview`, so the user sees the connections committed on release.
14
14
  */
15
15
  export declare function PlaceGhost(): import("react/jsx-runtime").JSX.Element | null;
16
16
  //# sourceMappingURL=PlaceGhost.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlaceGhost.d.ts","sourceRoot":"","sources":["../../src/canvas/PlaceGhost.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AASH,wBAAgB,UAAU,mDA6DzB"}
1
+ {"version":3,"file":"PlaceGhost.d.ts","sourceRoot":"","sources":["../../src/canvas/PlaceGhost.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAKH,wBAAgB,UAAU,mDAyDzB"}
@@ -14,6 +14,24 @@ export declare function dropElement(kind: string, at: [number, number]): DropRes
14
14
  * use the element's hotspot.
15
15
  */
16
16
  export declare function pickPlaceCursorTerminal(lib: LibraryEntry): LibraryTerminal | null;
17
+ /**
18
+ * Where a free (click / palette-drop) placement lands: the tap-side pin on
19
+ * the snapped cursor, then `alignPolesToFacing`. Shared with the place ghost
20
+ * so the preview and the result never disagree.
21
+ */
22
+ export declare function freePlacementAt(lib: LibraryEntry, at: [number, number]): [number, number];
23
+ /**
24
+ * Pole-for-pole magnet for a free placement of a multi-pole device. The cursor
25
+ * carries pole 1, but people aim a 3-pole contactor by its middle, so it used
26
+ * to land one pole off the breaker above it and every phase needed a jog.
27
+ *
28
+ * For each row of two or more pins facing up (or down), look for facing
29
+ * pins of existing devices above (below) within `POLE_REACH`, and shift the
30
+ * placement sideways — by at most one pole pitch — to the offset where the
31
+ * most poles line up. Applied only when at least two do, so single-pole
32
+ * devices (every single-line diagram symbol) place exactly as before.
33
+ */
34
+ export declare function alignPolesToFacing(lib: LibraryEntry, at: [number, number]): [number, number];
17
35
  /**
18
36
  * Resolved place-source: world coords + orientation of the terminal we're
19
37
  * dragging from. Handles both real device terminals and a bare bus id
@@ -33,13 +51,47 @@ export declare function resolvePlaceSource(ref: WireEnd, cursorWorld: [number, n
33
51
  /**
34
52
  * Pick which terminal of the new element should connect to the source.
35
53
  * Prefer a terminal whose orientation is opposite to the source's (so the
36
- * body extends naturally *away* from the source). Tie-break by world
54
+ * body extends naturally *away* from the source). With several of those
55
+ * (a multi-pole device) and a `pole` index — the source pin's place in its
56
+ * own row — take the same pole: breaker 2/4/6 feed contactor 1/3/5, not
57
+ * whichever pole happens to sit nearest. Otherwise tie-break by world
37
58
  * distance to source.
38
59
  */
39
- export declare function pickConnectTerminal(lib: LibraryEntry, source: PlaceSource, placeAt: [number, number]): LibraryTerminal;
60
+ export declare function pickConnectTerminal(lib: LibraryEntry, source: PlaceSource, placeAt: [number, number], pole?: number): LibraryTerminal;
61
+ /** One conductor a place-from-terminal commits. */
62
+ export interface PlaceLink {
63
+ from: WireEnd;
64
+ fromWorld: [number, number];
65
+ /** Pin id on the new element. */
66
+ pin: string;
67
+ pinWorld: [number, number];
68
+ }
69
+ export interface PlacePlan {
70
+ source: PlaceSource;
71
+ placedAt: [number, number];
72
+ /** The pressed source's link first, then any further poles wired with it. */
73
+ links: PlaceLink[];
74
+ }
75
+ /**
76
+ * Everything a place-from-terminal gesture resolves to — where the element
77
+ * lands and which conductors it gets — for the commit and the ghost alike.
78
+ *
79
+ * Single-pole: the chosen pin lands at the anchor, `source.world` for a tap
80
+ * (so the pin meets the source terminal) or the cursor for a drag (so the
81
+ * visible ghost, which carries the chosen pin, matches where the element
82
+ * lands).
83
+ *
84
+ * Multi-pole (either side has a row of poles): the pole matching the source
85
+ * pin is chosen, and the element is lined up on the source pin's column so
86
+ * the conductor runs straight — exactly, not to the grid, unless the drag
87
+ * goes off sideways. Every further source pole that then lines up with a pole
88
+ * of the new element and isn't wired yet is wired too: one drag from breaker
89
+ * pin 2 connects 2-1, 4-3 and 6-5.
90
+ */
91
+ export declare function planPlaceFromTerminal(lib: LibraryEntry, sourceRef: WireEnd, cursorAt: [number, number]): PlacePlan | null;
40
92
  /**
41
- * Place a new element with one of its terminals connected to `sourceRef` in
42
- * a single undo step.
93
+ * Place a new element connected to `sourceRef` — one conductor, or one per
94
+ * matching pole (see `planPlaceFromTerminal`) — in a single undo step.
43
95
  */
44
96
  export declare function dropElementFromTerminal(kind: string, sourceRef: WireEnd, cursorAt: [number, number]): DropResult | null;
45
97
  //# sourceMappingURL=drop-on-bus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drop-on-bus.d.ts","sourceRoot":"","sources":["../../src/canvas/drop-on-bus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EACV,KAAK,EAGL,SAAS,EACT,YAAY,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Y,IAAI,OAAO,CAKtC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAgC7E;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAcvE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAmB5F"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectTool.d.ts","sourceRoot":"","sources":["../../../src/canvas/tools/SelectTool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAsCH,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,SAAS,CAAC;AAkFjD,eAAO,MAAM,UAAU,EAAE,IAqqBxB,CAAC"}
1
+ {"version":3,"file":"SelectTool.d.ts","sourceRoot":"","sources":["../../../src/canvas/tools/SelectTool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAsCH,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,SAAS,CAAC;AAkFjD,eAAO,MAAM,UAAU,EAAE,IAyqBxB,CAAC"}
@@ -5,10 +5,12 @@
5
5
  * eat the user's typing.
6
6
  */
7
7
  /**
8
- * Step out of drawing state. Wire/busbar tools always return to select.
8
+ * Step out of drawing state. Wire/busbar tools always return to select, and
9
+ * so does the hand tool — Esc is the universal "back to the pointer".
9
10
  * Place tool clears its placeKind first; if no kind is selected, returns to
10
11
  * select. For non-drawing tools, falls back to clearing selection. Shared
11
- * between Esc and the canvas right-click handler.
12
+ * between Esc and the canvas right-click handler (which only calls it for
13
+ * drawing tools, so a right-click while panning is unaffected).
12
14
  */
13
15
  export declare function exitDrawingState(): void;
14
16
  export declare function useKeyboardShortcuts(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../src/canvas/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiBH;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CA2CvC;AAGD,wBAAgB,oBAAoB,IAAI,IAAI,CAsJ3C"}
1
+ {"version":3,"file":"useKeyboardShortcuts.d.ts","sourceRoot":"","sources":["../../src/canvas/useKeyboardShortcuts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CA4CvC;AAGD,wBAAgB,oBAAoB,IAAI,IAAI,CAyJ3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"useViewport.d.ts","sourceRoot":"","sources":["../../src/canvas/useViewport.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAInE,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,8EAA8E;IAC9E,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChE,mDAAmD;IACnD,WAAW,IAAI,QAAQ,CAAC;IACxB,0CAA0C;IAC1C,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IAC5C,gEAAgE;IAChE,SAAS,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,QAAQ,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CACzD;AAWD,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-4,6 +4,10 @@ import { WireTarget } from './wire-target-bus';
4
4
  /** Screen-px radius within which a release snaps onto an existing wire (taps a
5
5
  * junction). Wider than the wire's own hit region so near-misses still land. */
6
6
  export declare const SCREEN_TAP_TOL = 16;
7
+ /** Screen-px radius within which a press/release snaps onto a pin, junction
8
+ * or bus it just missed. A pin's hit circle is only ~11 px across, and a
9
+ * near miss used to mint a loose junction beside the pin instead. */
10
+ export declare const SCREEN_PIN_TOL = 14;
7
11
  /** Where a press/release at `cursor` would land, for both preview and commit. */
8
12
  export interface DragTarget {
9
13
  spec: WireEndSpec;
@@ -13,8 +17,14 @@ export interface DragTarget {
13
17
  create: boolean;
14
18
  }
15
19
  export declare function elementUnder(clientX: number, clientY: number): Element | null;
16
- /** Resolve the landing under the cursor into a spec + preview info. A release
17
- * on/near an existing wire taps a junction into it; empty space drops one. */
20
+ /**
21
+ * The connectable nearest the cursor within `worldTol`: a device pin, a
22
+ * junction, or the nearest point of a bus axis. Ties go to the pin.
23
+ */
24
+ export declare function nearestConnectableWithin(cursor: [number, number], worldTol: number): WireEnd | null;
25
+ /** Resolve the landing under the cursor into a spec + preview info. A press or
26
+ * release just off a pin, junction or bus snaps onto it; on/near an existing
27
+ * wire it taps a junction into it; empty space drops one. */
18
28
  export declare function resolveDragTarget(under: Element | null, cursor: [number, number], worldTol: number): DragTarget;
19
29
  /** Convert the screen-px tap tolerance to world units at the current zoom. */
20
30
  export declare function worldTolAt(ctx: {
@@ -1 +1 @@
1
- {"version":3,"file":"wire-drag.d.ts","sourceRoot":"","sources":["../../src/canvas/wire-drag.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD;iFACiF;AACjF,eAAO,MAAM,cAAc,KAAK,CAAC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gB,WAAW,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAIjE;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACpB,QAAQ,EAAE,MAAM,GACf,OAAO,GAAG,IAAI,CA2BhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../src/components/EditorShell.tsx"],"names":[],"mappings":"AAiEA,wBAAgB,WAAW,4CA0C1B"}
1
+ {"version":3,"file":"EditorShell.d.ts","sourceRoot":"","sources":["../../src/components/EditorShell.tsx"],"names":[],"mappings":"AAwEA,wBAAgB,WAAW,4CA0C1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingToolbar.d.ts","sourceRoot":"","sources":["../../src/components/FloatingToolbar.tsx"],"names":[],"mappings":"AA0RA,wBAAgB,eAAe,4CAkK9B"}
1
+ {"version":3,"file":"FloatingToolbar.d.ts","sourceRoot":"","sources":["../../src/components/FloatingToolbar.tsx"],"names":[],"mappings":"AAsTA,wBAAgB,eAAe,4CA4J9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"LibraryPopover.d.ts","sourceRoot":"","sources":["../../src/components/LibraryPopover.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAuGH,wBAAgB,cAAc,mDAwE7B"}
1
+ {"version":3,"file":"LibraryPopover.d.ts","sourceRoot":"","sources":["../../src/components/LibraryPopover.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AA0GH,wBAAgB,cAAc,mDAwE7B"}
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * First-visit onboarding card. Surfaces the canonical drawing flow:
3
3
  * place a component → wire pins together (drag to empty space = junction) →
4
- * reach for a busbar only when several circuits share one rail.
4
+ * reach for a busbar only when several circuits share one rail. On a circuit
5
+ * diagram the third step is the supply rails (L / N, +24V / 0V) instead.
5
6
  *
6
7
  * Visibility: shown until the user dismisses it (persisted to localStorage),
7
8
  * regardless of whether the canvas is empty — the card and the sample
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingCard.d.ts","sourceRoot":"","sources":["../../src/components/OnboardingCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAQH,wBAAgB,cAAc,mDAwD7B"}
1
+ {"version":3,"file":"OnboardingCard.d.ts","sourceRoot":"","sources":["../../src/components/OnboardingCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AASH,wBAAgB,cAAc,mDAsD7B"}
@@ -25,9 +25,12 @@ export declare function TextRow({ label, value, placeholder, unit, multiline, on
25
25
  placeholder?: string;
26
26
  unit?: string;
27
27
  /**
28
- * Enter inserts a line break instead of committing, and the box grows with
29
- * the content. Escape (revert) and blur (commit) are unchanged, and
30
- * ⌘/Ctrl+Enter commits for anyone who reaches for a keyboard "done".
28
+ * The value may hold line breaks and the box grows with the content.
29
+ * Enter still commits — it is a name, and "type it, press Enter" is what
30
+ * everyone does; with Enter as a newline, most users' first Enter became
31
+ * a stray line break in the name instead of "done". A deliberate line
32
+ * break is Shift+Enter, the same as in a text annotation on the canvas.
33
+ * ⌘/Ctrl+Enter also commits; Escape reverts.
31
34
  */
32
35
  multiline?: boolean;
33
36
  onCommit: (v: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgDH,wBAAgB,aAAa,mDAgH5B;AAyeD,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,EACvC,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,OAAO,EAAE;QAAE,KAAK,EAAE,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAA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EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAUA;AAmED,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,KAAK,EACL,WAAW,EACX,IAAI,EACJ,SAAS,EACT,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,2CAiEA"}
@@ -1 +1 @@
1
- {"version":3,"file":"RightPanel.d.ts","sourceRoot":"","sources":["../../src/components/RightPanel.tsx"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,mDAsGzB"}
1
+ {"version":3,"file":"RightPanel.d.ts","sourceRoot":"","sources":["../../src/components/RightPanel.tsx"],"names":[],"mappings":"AAWA,wBAAgB,UAAU,mDAwGzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ViewToolbar.tsx"],"names":[],"mappings":"AAokBA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,2CAwErE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,mDAQ1B"}
1
+ {"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ViewToolbar.tsx"],"names":[],"mappings":"AA6jBA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,2CAwErE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,mDAQ1B"}
@@ -43,6 +43,9 @@ export declare function useBottomBar(): BottomBarState;
43
43
  * rendered in. Nothing is reported on unmount: a piece only disappears in
44
44
  * `dense` (folded into the unified bar), which never consults the cache, and
45
45
  * a zero filed under the mode it left would make that mode look roomy.
46
+ *
47
+ * The element is also marked `data-ole-bottom-chrome`, which is how Fit view
48
+ * finds the bottom row and keeps the drawing clear of it.
46
49
  */
47
50
  export declare function useReportBarWidth(part: BarPart, ref: RefObject<HTMLElement | null>): void;
48
51
  //# sourceMappingURL=bottom-bar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bottom-bar.d.ts","sourceRoot":"","sources":["../../src/hooks/bottom-bar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAsD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3F,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAC7D,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;AAC/C,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;AAEzD,eAAO,MAAM,SAAS,EAAE,SAAS,OAAO,EAA0C,CAAC;AAInF,wBAAgB,UAAU,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,GAAG,OAAO,CAE5D;AAED,2EAA2E;AAC3E,eAAO,MAAM,QAAQ,KAAK,CAAC;AAC3B,eAAO,MAAM,OAAO,IAAI,CAAC;AAEzB;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,UAAQ,GAAG,OAAO,CAM9E;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,EAC1C,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,O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AO,MAAM,OAAO,IAAI,CAAC;AAEzB;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,UAAQ,GAAG,OAAO,CAM9E;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,KAAK,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,EAC1C,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,OAAO,GACb,OAAO,CAWT;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAM7D;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,8CAA8C;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,0DAA0D;IAC1D,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AAED,eAAO,MAAM,gBAAgB,yCAK3B,CAAC;AAEH,wBAAgB,YAAY,IAAI,cAAc,CAE7C;AAED;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,IAAI,CAqBzF"}
@@ -0,0 +1,4 @@
1
+ import { LocaleKey } from './messages';
2
+ /** The key to show for `key` in a drawing of this type. */
3
+ export declare function termKey(key: LocaleKey, circuit: boolean): LocaleKey;
4
+ //# sourceMappingURL=circuit-terms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"circuit-terms.d.ts","sourceRoot":"","sources":["../../src/i18n/circuit-terms.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAiB5C,2DAA2D;AAC3D,wBAAgB,OAAO,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,SAAS,CAEnE"}
@@ -1,17 +1,10 @@
1
- /**
2
- * Translation table for `LibraryEntry` user-facing strings: display name,
3
- * description, state labels, param labels.
4
- *
5
- * Kept separate from the strict `messages.ts` map because keys are derived
6
- * from runtime data (entry id + field name) and would balloon the typed
7
- * key union. Falls back to the JSON-defined value when no translation exists.
8
- *
9
- * Key shape: `<entryId>.name`, `<entryId>.desc`, `<entryId>.state.<name>`,
10
- * `<entryId>.param.<name>`.
11
- */
1
+ import { Locale } from './index';
12
2
  /** One-off lookup in the current locale (no re-render subscription): for
13
3
  * code that composes text outside a component, e.g. health messages. */
14
4
  export declare function libText(key: string, fallback?: string): string;
5
+ /** Lookup in a given locale, whatever the UI's: palette search also matches
6
+ * the English names, which engineers type in every language. */
7
+ export declare function libTextIn(locale: Locale, key: string, fallback?: string): string;
15
8
  /** Returns a translator that re-renders on locale change. */
16
9
  export declare function useLibT(): (key: string, fallback?: string) => string;
17
10
  //# sourceMappingURL=library.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../src/i18n/library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAoeH;yEACyE;AACzE,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,6DAA6D;AAC7D,wBAAgB,OAAO,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,CAGpE"}
1
+ {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../src/i18n/library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAa,KAAK,MAAM,EAAE,MAAM,SAAS,CAAC;AAkejD;yEACyE;AACzE,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED;iEACiE;AACjE,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAEhF;AAED,6DAA6D;AAC7D,wBAAgB,OAAO,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,CAGpE"}
@@ -2,7 +2,7 @@ import { UiTable } from '../messages';
2
2
  export declare const ui: UiTable;
3
3
  export declare const library: Record<string, string>;
4
4
  declare const _default: {
5
- ui: Partial<Record<"common.unnamed" | "common.close" | "common.yes" | "common.no" | "topbar.theme.toLight" | "topbar.theme.toDark" | "topbar.theme.currentDark" | "topbar.theme.currentLight" | "topbar.lang.toEnglish" | "topbar.lang.toChinese" | "topbar.lang.currentEnglish" | "topbar.lang.currentChinese" | "topbar.export.label" | "topbar.export.tooltip" | "topbar.export.pngFailed" | "topbar.export.dxfFailed" | "topbar.file.label" | "topbar.file.tooltip" | "topbar.file.current" | "topbar.file.new" | "topbar.file.open" | "topbar.file.save" | "topbar.file.saveAs" | "topbar.file.newConfirm" | "topbar.file.openFailed" | "topbar.file.saveFailed" | "topbar.file.fileDescription" | "outline.title" | "outline.collapse" | "outline.collapseAria" | "outline.empty" | "props.title" | "props.node" | "props.wire" | "props.bus" | "props.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "props.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.hintCircuit" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "sheet.field.project" | "sheet.field.client" | "sheet.field.title" | "sheet.field.number" | "sheet.field.designer" | "sheet.field.checker" | "sheet.field.date" | "sheet.field.scaleText" | "sheet.field.sheetNo" | "sheet.sheetOf" | "sheet.name" | "sheet.nameN" | "sheet.paper" | "sheet.orientation" | "sheet.landscape" | "sheet.portrait" | "sheet.frameScale" | "sheet.fit" | "sheet.overflow" | "sheet.textHeight" | "sheet.textSmall" | "sheet.enlargeLabels" | "sheet.shared" | "sheet.own" | "sheet.delete" | "sheet.export" | "sheet.moveEarlier" | "sheet.moveLater" | "sheet.add" | "sheet.goTo" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.label.contact-without-operator" | "health.label.operator-without-contacts" | "health.label.duplicate-operator" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "health.code.contact-without-operator" | "health.code.operator-without-contacts" | "health.code.duplicate-operator" | "props.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "props.conductor" | "props.conductor.L1" | "props.conductor.L2" | "props.conductor.L3" | "props.conductor.N" | "props.conductor.PE" | "props.pinNumbers" | "props.pinNumbersHide" | "props.pinNumbersShow" | "props.annStroke" | "props.annStrokeSolid" | "props.annStrokeDashed" | "props.annStrokeDotted" | "props.annStrokeWidth" | "props.annWidthThin" | "props.annWidthMedium" | "props.annWidthThick" | "props.annFill" | "props.annFillNone" | "props.annFillTint" | "props.annArrow" | "props.annArrowNone" | "props.annArrowEnd" | "props.annArrowBoth" | "props.annFontSize" | "props.annRows" | "props.annCols" | "view.zoomOut" | "view.zoomOutHint" | "view.reset" | "view.current" | "view.zoomIn" | "view.zoomInHint" | "view.fit" | "view.fitHint" | "view.gridHide" | "view.gridShow" | "view.gridHotkey" | "view.gridHideHint" | "view.gridShowHint" | "view.gridHideAria" | "view.gridShowAria" | "view.label" | "view.labelOff" | "view.labelId" | "view.labelAll" | "view.labelHint" | "view.labelSize" | "view.labelSizeSmaller" | "view.labelSizeLarger" | "view.standard" | "view.standardIec" | "view.standardAnsi" | "view.standardHint" | "view.diagramType" | "view.diagramTypeSld" | "view.diagramTypeCircuit" | "view.diagramTypeHint" | "view.labelSizeReset" | "library.title" | "tool.draw" | "tool.drawHint" | "library.empty" | "library.customTag" | "library.customHint" | "library.createComponent" | "library.searchPlaceholder" | "library.searchAria" | "library.clearSearch" | "library.itemHint" | "tool.select" | "tool.selectHint" | "tool.pan" | "tool.panHint" | "tool.wire" | "tool.wireHint" | "tool.bus" | "tool.busHint" | "tool.junction" | "tool.junctionHint" | "tool.place" | "tool.placeHint" | "tool.text" | "tool.textHint" | "tool.rect" | "tool.rectHint" | "tool.ellipse" | "tool.ellipseHint" | "tool.line" | "tool.lineHint" | "tool.table" | "tool.tableHint" | "mode.selectWithSel" | "mode.selectEmpty" | "mode.pan" | "mode.wireDragging" | "mode.wireInit" | "mode.busDragging" | "mode.busInit" | "mode.junction" | "mode.placeNoKind" | "mode.placeFromTerm" | "mode.placeNormal" | "mode.text" | "mode.rect" | "mode.ellipse" | "mode.line" | "mode.table" | "mode.annTextSel" | "mode.annTableSel" | "mode.annShapeSel" | "mode.annEditing" | "mode.escSelect" | "mode.escOther" | "tool.placeNoKindTooltip" | "tool.undo" | "tool.undoHint" | "tool.redo" | "tool.redoHint" | "layout.label" | "layout.hint" | "layout.allAuto" | "layout.selAuto" | "layout.allFill" | "layout.selFill" | "circuit.numberWires" | "circuit.numberWiresHint" | "circuit.numbered" | "circuit.numberedNone" | "tool.more" | "tool.moreHint" | "view.menu" | "view.menuHint" | "ctx.ariaNode" | "ctx.ariaWire" | "ctx.ariaElement" | "ctx.ariaEdit" | "ctx.done" | "ctx.cancel" | "ctx.rotate" | "ctx.rotateHint" | "ctx.mirror" | "ctx.mirrorTitle" | "ctx.mirrorHint" | "ctx.delete" | "ctx.color" | "ctx.colorDefault" | "ctx.colorRed" | "ctx.colorAmber" | "ctx.colorGreen" | "ctx.colorBlue" | "ctx.colorGray" | "ctx.colorBrown" | "ctx.colorGreenYellow" | "ctx.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "menu.resetLabel" | "menu.selectAll" | "menu.disconnect" | "menu.delete" | "io.parseFailed" | "io.notObject" | "io.versionMismatch" | "io.elementsMissing" | "compile.duplicateId" | "compile.unknownKind" | "compile.invalidTermRef" | "compile.elementMissing" | "compile.missingPin" | "compile.singleTerminal" | "compile.layoutMissingElement" | "compile.elementUnconnected" | "cat.custom" | "cat.busbar" | "cat.switching" | "cat.protection" | "cat.motor-control" | "cat.transformer" | "cat.instrument-transformer" | "cat.measurement" | "cat.source" | "cat.load" | "cat.storage" | "cat.compensation" | "cat.grounding" | "cat.renewable" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
5
+ ui: Partial<Record<"common.unnamed" | "common.close" | "common.yes" | "common.no" | "topbar.theme.toLight" | "topbar.theme.toDark" | "topbar.theme.currentDark" | "topbar.theme.currentLight" | "topbar.lang.toEnglish" | "topbar.lang.toChinese" | "topbar.lang.currentEnglish" | "topbar.lang.currentChinese" | "topbar.export.label" | "topbar.export.tooltip" | "topbar.export.pngFailed" | "topbar.export.dxfFailed" | "topbar.file.label" | "topbar.file.tooltip" | "topbar.file.current" | "topbar.file.new" | "topbar.file.open" | "topbar.file.save" | "topbar.file.saveAs" | "topbar.file.newConfirm" | "topbar.file.openFailed" | "topbar.file.saveFailed" | "topbar.file.fileDescription" | "outline.title" | "outline.collapse" | "outline.collapseAria" | "outline.empty" | "props.title" | "props.node" | "props.wire" | "props.bus" | "props.rail" | "props.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "props.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.hintCircuit" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "sheet.field.project" | "sheet.field.client" | "sheet.field.title" | "sheet.field.number" | "sheet.field.designer" | "sheet.field.checker" | "sheet.field.date" | "sheet.field.scaleText" | "sheet.field.sheetNo" | "sheet.sheetOf" | "sheet.name" | "sheet.nameN" | "sheet.paper" | "sheet.orientation" | "sheet.landscape" | "sheet.portrait" | "sheet.frameScale" | "sheet.fit" | "sheet.overflow" | "sheet.textHeight" | "sheet.textSmall" | "sheet.enlargeLabels" | "sheet.shared" | "sheet.own" | "sheet.delete" | "sheet.export" | "sheet.moveEarlier" | "sheet.moveLater" | "sheet.add" | "sheet.goTo" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.label.contact-without-operator" | "health.label.operator-without-contacts" | "health.label.duplicate-operator" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "health.code.contact-without-operator" | "health.code.operator-without-contacts" | "health.code.duplicate-operator" | "props.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "props.conductor" | "props.conductor.L1" | "props.conductor.L2" | "props.conductor.L3" | "props.conductor.N" | "props.conductor.PE" | "props.pinNumbers" | "props.pinNumbersHide" | "props.pinNumbersShow" | "props.annStroke" | "props.annStrokeSolid" | "props.annStrokeDashed" | "props.annStrokeDotted" | "props.annStrokeWidth" | "props.annWidthThin" | "props.annWidthMedium" | "props.annWidthThick" | "props.annFill" | "props.annFillNone" | "props.annFillTint" | "props.annArrow" | "props.annArrowNone" | "props.annArrowEnd" | "props.annArrowBoth" | "props.annFontSize" | "props.annRows" | "props.annCols" | "view.zoomOut" | "view.zoomOutHint" | "view.reset" | "view.current" | "view.zoomIn" | "view.zoomInHint" | "view.fit" | "view.fitHint" | "view.gridHide" | "view.gridShow" | "view.gridHotkey" | "view.gridHideHint" | "view.gridShowHint" | "view.gridHideAria" | "view.gridShowAria" | "view.label" | "view.labelOff" | "view.labelId" | "view.labelAll" | "view.labelHint" | "view.labelSize" | "view.labelSizeSmaller" | "view.labelSizeLarger" | "view.standard" | "view.standardIec" | "view.standardAnsi" | "view.standardHint" | "view.diagramType" | "view.diagramTypeSld" | "view.diagramTypeCircuit" | "view.diagramTypeHint" | "view.labelSizeReset" | "library.title" | "tool.draw" | "tool.drawHint" | "library.empty" | "library.customTag" | "library.customHint" | "library.createComponent" | "library.searchPlaceholder" | "library.searchAria" | "library.clearSearch" | "library.itemHint" | "tool.select" | "tool.selectHint" | "tool.pan" | "tool.panHint" | "tool.wire" | "tool.wireHint" | "tool.wireHintCircuit" | "tool.bus" | "tool.busHint" | "tool.rail" | "tool.railHint" | "tool.junction" | "tool.junctionHint" | "tool.place" | "tool.placeHint" | "tool.placeHintCircuit" | "tool.text" | "tool.textHint" | "tool.rect" | "tool.rectHint" | "tool.ellipse" | "tool.ellipseHint" | "tool.line" | "tool.lineHint" | "tool.table" | "tool.tableHint" | "mode.selectWithSel" | "mode.selectEmpty" | "mode.pan" | "mode.wireDragging" | "mode.wireDraggingCircuit" | "mode.wireInit" | "mode.busDragging" | "mode.busInit" | "mode.railDragging" | "mode.railInit" | "mode.junction" | "mode.placeNoKind" | "mode.placeFromTerm" | "mode.placeNormal" | "mode.placeNormalCircuit" | "mode.text" | "mode.rect" | "mode.ellipse" | "mode.line" | "mode.table" | "mode.annTextSel" | "mode.annTableSel" | "mode.annShapeSel" | "mode.annEditing" | "mode.escSelect" | "mode.escOther" | "tool.placeNoKindTooltip" | "tool.undo" | "tool.undoHint" | "tool.redo" | "tool.redoHint" | "layout.label" | "layout.hint" | "layout.allAuto" | "layout.selAuto" | "layout.allFill" | "layout.selFill" | "circuit.numberWires" | "circuit.numberWiresHint" | "circuit.numbered" | "circuit.numberedNone" | "tool.more" | "tool.moreHint" | "view.menu" | "view.menuHint" | "ctx.ariaNode" | "ctx.ariaWire" | "ctx.ariaElement" | "ctx.ariaEdit" | "ctx.done" | "ctx.cancel" | "ctx.rotate" | "ctx.rotateHint" | "ctx.mirror" | "ctx.mirrorTitle" | "ctx.mirrorHint" | "ctx.delete" | "ctx.color" | "ctx.colorDefault" | "ctx.colorRed" | "ctx.colorAmber" | "ctx.colorGreen" | "ctx.colorBlue" | "ctx.colorGray" | "ctx.colorBrown" | "ctx.colorGreenYellow" | "ctx.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "menu.resetLabel" | "menu.selectAll" | "menu.disconnect" | "menu.delete" | "io.parseFailed" | "io.notObject" | "io.versionMismatch" | "io.elementsMissing" | "compile.duplicateId" | "compile.unknownKind" | "compile.invalidTermRef" | "compile.elementMissing" | "compile.missingPin" | "compile.singleTerminal" | "compile.layoutMissingElement" | "compile.elementUnconnected" | "cat.custom" | "cat.busbar" | "cat.busbarCircuit" | "cat.switching" | "cat.protection" | "cat.motor-control" | "cat.transformer" | "cat.instrument-transformer" | "cat.measurement" | "cat.source" | "cat.load" | "cat.storage" | "cat.compensation" | "cat.grounding" | "cat.renewable" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.rail.title" | "onboard.rail.body" | "onboard.dismiss", string>>;
6
6
  library: Record<string, string>;
7
7
  };
8
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ar.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAoYhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoT1C,CAAC;;;;;AAEF,wBAA+B"}
1
+ {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ar.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAgZhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoT1C,CAAC;;;;;AAEF,wBAA+B"}
@@ -2,7 +2,7 @@ import { UiTable } from '../messages';
2
2
  export declare const ui: UiTable;
3
3
  export declare const library: Record<string, string>;
4
4
  declare const _default: {
5
- ui: Partial<Record<"common.unnamed" | "common.close" | "common.yes" | "common.no" | "topbar.theme.toLight" | "topbar.theme.toDark" | "topbar.theme.currentDark" | "topbar.theme.currentLight" | "topbar.lang.toEnglish" | "topbar.lang.toChinese" | "topbar.lang.currentEnglish" | "topbar.lang.currentChinese" | "topbar.export.label" | "topbar.export.tooltip" | "topbar.export.pngFailed" | "topbar.export.dxfFailed" | "topbar.file.label" | "topbar.file.tooltip" | "topbar.file.current" | "topbar.file.new" | "topbar.file.open" | "topbar.file.save" | "topbar.file.saveAs" | "topbar.file.newConfirm" | "topbar.file.openFailed" | "topbar.file.saveFailed" | "topbar.file.fileDescription" | "outline.title" | "outline.collapse" | "outline.collapseAria" | "outline.empty" | "props.title" | "props.node" | "props.wire" | "props.bus" | "props.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "props.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.hintCircuit" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "sheet.field.project" | "sheet.field.client" | "sheet.field.title" | "sheet.field.number" | "sheet.field.designer" | "sheet.field.checker" | "sheet.field.date" | "sheet.field.scaleText" | "sheet.field.sheetNo" | "sheet.sheetOf" | "sheet.name" | "sheet.nameN" | "sheet.paper" | "sheet.orientation" | "sheet.landscape" | "sheet.portrait" | "sheet.frameScale" | "sheet.fit" | "sheet.overflow" | "sheet.textHeight" | "sheet.textSmall" | "sheet.enlargeLabels" | "sheet.shared" | "sheet.own" | "sheet.delete" | "sheet.export" | "sheet.moveEarlier" | "sheet.moveLater" | "sheet.add" | "sheet.goTo" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.label.contact-without-operator" | "health.label.operator-without-contacts" | "health.label.duplicate-operator" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "health.code.contact-without-operator" | "health.code.operator-without-contacts" | "health.code.duplicate-operator" | "props.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "props.conductor" | "props.conductor.L1" | "props.conductor.L2" | "props.conductor.L3" | "props.conductor.N" | "props.conductor.PE" | "props.pinNumbers" | "props.pinNumbersHide" | "props.pinNumbersShow" | "props.annStroke" | "props.annStrokeSolid" | "props.annStrokeDashed" | "props.annStrokeDotted" | "props.annStrokeWidth" | "props.annWidthThin" | "props.annWidthMedium" | "props.annWidthThick" | "props.annFill" | "props.annFillNone" | "props.annFillTint" | "props.annArrow" | "props.annArrowNone" | "props.annArrowEnd" | "props.annArrowBoth" | "props.annFontSize" | "props.annRows" | "props.annCols" | "view.zoomOut" | "view.zoomOutHint" | "view.reset" | "view.current" | "view.zoomIn" | "view.zoomInHint" | "view.fit" | "view.fitHint" | "view.gridHide" | "view.gridShow" | "view.gridHotkey" | "view.gridHideHint" | "view.gridShowHint" | "view.gridHideAria" | "view.gridShowAria" | "view.label" | "view.labelOff" | "view.labelId" | "view.labelAll" | "view.labelHint" | "view.labelSize" | "view.labelSizeSmaller" | "view.labelSizeLarger" | "view.standard" | "view.standardIec" | "view.standardAnsi" | "view.standardHint" | "view.diagramType" | "view.diagramTypeSld" | "view.diagramTypeCircuit" | "view.diagramTypeHint" | "view.labelSizeReset" | "library.title" | "tool.draw" | "tool.drawHint" | "library.empty" | "library.customTag" | "library.customHint" | "library.createComponent" | "library.searchPlaceholder" | "library.searchAria" | "library.clearSearch" | "library.itemHint" | "tool.select" | "tool.selectHint" | "tool.pan" | "tool.panHint" | "tool.wire" | "tool.wireHint" | "tool.bus" | "tool.busHint" | "tool.junction" | "tool.junctionHint" | "tool.place" | "tool.placeHint" | "tool.text" | "tool.textHint" | "tool.rect" | "tool.rectHint" | "tool.ellipse" | "tool.ellipseHint" | "tool.line" | "tool.lineHint" | "tool.table" | "tool.tableHint" | "mode.selectWithSel" | "mode.selectEmpty" | "mode.pan" | "mode.wireDragging" | "mode.wireInit" | "mode.busDragging" | "mode.busInit" | "mode.junction" | "mode.placeNoKind" | "mode.placeFromTerm" | "mode.placeNormal" | "mode.text" | "mode.rect" | "mode.ellipse" | "mode.line" | "mode.table" | "mode.annTextSel" | "mode.annTableSel" | "mode.annShapeSel" | "mode.annEditing" | "mode.escSelect" | "mode.escOther" | "tool.placeNoKindTooltip" | "tool.undo" | "tool.undoHint" | "tool.redo" | "tool.redoHint" | "layout.label" | "layout.hint" | "layout.allAuto" | "layout.selAuto" | "layout.allFill" | "layout.selFill" | "circuit.numberWires" | "circuit.numberWiresHint" | "circuit.numbered" | "circuit.numberedNone" | "tool.more" | "tool.moreHint" | "view.menu" | "view.menuHint" | "ctx.ariaNode" | "ctx.ariaWire" | "ctx.ariaElement" | "ctx.ariaEdit" | "ctx.done" | "ctx.cancel" | "ctx.rotate" | "ctx.rotateHint" | "ctx.mirror" | "ctx.mirrorTitle" | "ctx.mirrorHint" | "ctx.delete" | "ctx.color" | "ctx.colorDefault" | "ctx.colorRed" | "ctx.colorAmber" | "ctx.colorGreen" | "ctx.colorBlue" | "ctx.colorGray" | "ctx.colorBrown" | "ctx.colorGreenYellow" | "ctx.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "menu.resetLabel" | "menu.selectAll" | "menu.disconnect" | "menu.delete" | "io.parseFailed" | "io.notObject" | "io.versionMismatch" | "io.elementsMissing" | "compile.duplicateId" | "compile.unknownKind" | "compile.invalidTermRef" | "compile.elementMissing" | "compile.missingPin" | "compile.singleTerminal" | "compile.layoutMissingElement" | "compile.elementUnconnected" | "cat.custom" | "cat.busbar" | "cat.switching" | "cat.protection" | "cat.motor-control" | "cat.transformer" | "cat.instrument-transformer" | "cat.measurement" | "cat.source" | "cat.load" | "cat.storage" | "cat.compensation" | "cat.grounding" | "cat.renewable" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
5
+ ui: Partial<Record<"common.unnamed" | "common.close" | "common.yes" | "common.no" | "topbar.theme.toLight" | "topbar.theme.toDark" | "topbar.theme.currentDark" | "topbar.theme.currentLight" | "topbar.lang.toEnglish" | "topbar.lang.toChinese" | "topbar.lang.currentEnglish" | "topbar.lang.currentChinese" | "topbar.export.label" | "topbar.export.tooltip" | "topbar.export.pngFailed" | "topbar.export.dxfFailed" | "topbar.file.label" | "topbar.file.tooltip" | "topbar.file.current" | "topbar.file.new" | "topbar.file.open" | "topbar.file.save" | "topbar.file.saveAs" | "topbar.file.newConfirm" | "topbar.file.openFailed" | "topbar.file.saveFailed" | "topbar.file.fileDescription" | "outline.title" | "outline.collapse" | "outline.collapseAria" | "outline.empty" | "props.title" | "props.node" | "props.wire" | "props.bus" | "props.rail" | "props.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "props.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.hintCircuit" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "sheet.field.project" | "sheet.field.client" | "sheet.field.title" | "sheet.field.number" | "sheet.field.designer" | "sheet.field.checker" | "sheet.field.date" | "sheet.field.scaleText" | "sheet.field.sheetNo" | "sheet.sheetOf" | "sheet.name" | "sheet.nameN" | "sheet.paper" | "sheet.orientation" | "sheet.landscape" | "sheet.portrait" | "sheet.frameScale" | "sheet.fit" | "sheet.overflow" | "sheet.textHeight" | "sheet.textSmall" | "sheet.enlargeLabels" | "sheet.shared" | "sheet.own" | "sheet.delete" | "sheet.export" | "sheet.moveEarlier" | "sheet.moveLater" | "sheet.add" | "sheet.goTo" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.label.contact-without-operator" | "health.label.operator-without-contacts" | "health.label.duplicate-operator" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "health.code.contact-without-operator" | "health.code.operator-without-contacts" | "health.code.duplicate-operator" | "props.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "props.conductor" | "props.conductor.L1" | "props.conductor.L2" | "props.conductor.L3" | "props.conductor.N" | "props.conductor.PE" | "props.pinNumbers" | "props.pinNumbersHide" | "props.pinNumbersShow" | "props.annStroke" | "props.annStrokeSolid" | "props.annStrokeDashed" | "props.annStrokeDotted" | "props.annStrokeWidth" | "props.annWidthThin" | "props.annWidthMedium" | "props.annWidthThick" | "props.annFill" | "props.annFillNone" | "props.annFillTint" | "props.annArrow" | "props.annArrowNone" | "props.annArrowEnd" | "props.annArrowBoth" | "props.annFontSize" | "props.annRows" | "props.annCols" | "view.zoomOut" | "view.zoomOutHint" | "view.reset" | "view.current" | "view.zoomIn" | "view.zoomInHint" | "view.fit" | "view.fitHint" | "view.gridHide" | "view.gridShow" | "view.gridHotkey" | "view.gridHideHint" | "view.gridShowHint" | "view.gridHideAria" | "view.gridShowAria" | "view.label" | "view.labelOff" | "view.labelId" | "view.labelAll" | "view.labelHint" | "view.labelSize" | "view.labelSizeSmaller" | "view.labelSizeLarger" | "view.standard" | "view.standardIec" | "view.standardAnsi" | "view.standardHint" | "view.diagramType" | "view.diagramTypeSld" | "view.diagramTypeCircuit" | "view.diagramTypeHint" | "view.labelSizeReset" | "library.title" | "tool.draw" | "tool.drawHint" | "library.empty" | "library.customTag" | "library.customHint" | "library.createComponent" | "library.searchPlaceholder" | "library.searchAria" | "library.clearSearch" | "library.itemHint" | "tool.select" | "tool.selectHint" | "tool.pan" | "tool.panHint" | "tool.wire" | "tool.wireHint" | "tool.wireHintCircuit" | "tool.bus" | "tool.busHint" | "tool.rail" | "tool.railHint" | "tool.junction" | "tool.junctionHint" | "tool.place" | "tool.placeHint" | "tool.placeHintCircuit" | "tool.text" | "tool.textHint" | "tool.rect" | "tool.rectHint" | "tool.ellipse" | "tool.ellipseHint" | "tool.line" | "tool.lineHint" | "tool.table" | "tool.tableHint" | "mode.selectWithSel" | "mode.selectEmpty" | "mode.pan" | "mode.wireDragging" | "mode.wireDraggingCircuit" | "mode.wireInit" | "mode.busDragging" | "mode.busInit" | "mode.railDragging" | "mode.railInit" | "mode.junction" | "mode.placeNoKind" | "mode.placeFromTerm" | "mode.placeNormal" | "mode.placeNormalCircuit" | "mode.text" | "mode.rect" | "mode.ellipse" | "mode.line" | "mode.table" | "mode.annTextSel" | "mode.annTableSel" | "mode.annShapeSel" | "mode.annEditing" | "mode.escSelect" | "mode.escOther" | "tool.placeNoKindTooltip" | "tool.undo" | "tool.undoHint" | "tool.redo" | "tool.redoHint" | "layout.label" | "layout.hint" | "layout.allAuto" | "layout.selAuto" | "layout.allFill" | "layout.selFill" | "circuit.numberWires" | "circuit.numberWiresHint" | "circuit.numbered" | "circuit.numberedNone" | "tool.more" | "tool.moreHint" | "view.menu" | "view.menuHint" | "ctx.ariaNode" | "ctx.ariaWire" | "ctx.ariaElement" | "ctx.ariaEdit" | "ctx.done" | "ctx.cancel" | "ctx.rotate" | "ctx.rotateHint" | "ctx.mirror" | "ctx.mirrorTitle" | "ctx.mirrorHint" | "ctx.delete" | "ctx.color" | "ctx.colorDefault" | "ctx.colorRed" | "ctx.colorAmber" | "ctx.colorGreen" | "ctx.colorBlue" | "ctx.colorGray" | "ctx.colorBrown" | "ctx.colorGreenYellow" | "ctx.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "menu.resetLabel" | "menu.selectAll" | "menu.disconnect" | "menu.delete" | "io.parseFailed" | "io.notObject" | "io.versionMismatch" | "io.elementsMissing" | "compile.duplicateId" | "compile.unknownKind" | "compile.invalidTermRef" | "compile.elementMissing" | "compile.missingPin" | "compile.singleTerminal" | "compile.layoutMissingElement" | "compile.elementUnconnected" | "cat.custom" | "cat.busbar" | "cat.busbarCircuit" | "cat.switching" | "cat.protection" | "cat.motor-control" | "cat.transformer" | "cat.instrument-transformer" | "cat.measurement" | "cat.source" | "cat.load" | "cat.storage" | "cat.compensation" | "cat.grounding" | "cat.renewable" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.rail.title" | "onboard.rail.body" | "onboard.dismiss", string>>;
6
6
  library: Record<string, string>;
7
7
  };
8
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/de.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAoYhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+S1C,CAAC;;;;;AAEF,wBAA+B"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/de.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAgZhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+S1C,CAAC;;;;;AAEF,wBAA+B"}
@@ -2,7 +2,7 @@ import { UiTable } from '../messages';
2
2
  export declare const ui: UiTable;
3
3
  export declare const library: Record<string, string>;
4
4
  declare const _default: {
5
- ui: Partial<Record<"common.unnamed" | "common.close" | "common.yes" | "common.no" | "topbar.theme.toLight" | "topbar.theme.toDark" | "topbar.theme.currentDark" | "topbar.theme.currentLight" | "topbar.lang.toEnglish" | "topbar.lang.toChinese" | "topbar.lang.currentEnglish" | "topbar.lang.currentChinese" | "topbar.export.label" | "topbar.export.tooltip" | "topbar.export.pngFailed" | "topbar.export.dxfFailed" | "topbar.file.label" | "topbar.file.tooltip" | "topbar.file.current" | "topbar.file.new" | "topbar.file.open" | "topbar.file.save" | "topbar.file.saveAs" | "topbar.file.newConfirm" | "topbar.file.openFailed" | "topbar.file.saveFailed" | "topbar.file.fileDescription" | "outline.title" | "outline.collapse" | "outline.collapseAria" | "outline.empty" | "props.title" | "props.node" | "props.wire" | "props.bus" | "props.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "props.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.hintCircuit" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "sheet.field.project" | "sheet.field.client" | "sheet.field.title" | "sheet.field.number" | "sheet.field.designer" | "sheet.field.checker" | "sheet.field.date" | "sheet.field.scaleText" | "sheet.field.sheetNo" | "sheet.sheetOf" | "sheet.name" | "sheet.nameN" | "sheet.paper" | "sheet.orientation" | "sheet.landscape" | "sheet.portrait" | "sheet.frameScale" | "sheet.fit" | "sheet.overflow" | "sheet.textHeight" | "sheet.textSmall" | "sheet.enlargeLabels" | "sheet.shared" | "sheet.own" | "sheet.delete" | "sheet.export" | "sheet.moveEarlier" | "sheet.moveLater" | "sheet.add" | "sheet.goTo" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.label.contact-without-operator" | "health.label.operator-without-contacts" | "health.label.duplicate-operator" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "health.code.contact-without-operator" | "health.code.operator-without-contacts" | "health.code.duplicate-operator" | "props.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "props.conductor" | "props.conductor.L1" | "props.conductor.L2" | "props.conductor.L3" | "props.conductor.N" | "props.conductor.PE" | "props.pinNumbers" | "props.pinNumbersHide" | "props.pinNumbersShow" | "props.annStroke" | "props.annStrokeSolid" | "props.annStrokeDashed" | "props.annStrokeDotted" | "props.annStrokeWidth" | "props.annWidthThin" | "props.annWidthMedium" | "props.annWidthThick" | "props.annFill" | "props.annFillNone" | "props.annFillTint" | "props.annArrow" | "props.annArrowNone" | "props.annArrowEnd" | "props.annArrowBoth" | "props.annFontSize" | "props.annRows" | "props.annCols" | "view.zoomOut" | "view.zoomOutHint" | "view.reset" | "view.current" | "view.zoomIn" | "view.zoomInHint" | "view.fit" | "view.fitHint" | "view.gridHide" | "view.gridShow" | "view.gridHotkey" | "view.gridHideHint" | "view.gridShowHint" | "view.gridHideAria" | "view.gridShowAria" | "view.label" | "view.labelOff" | "view.labelId" | "view.labelAll" | "view.labelHint" | "view.labelSize" | "view.labelSizeSmaller" | "view.labelSizeLarger" | "view.standard" | "view.standardIec" | "view.standardAnsi" | "view.standardHint" | "view.diagramType" | "view.diagramTypeSld" | "view.diagramTypeCircuit" | "view.diagramTypeHint" | "view.labelSizeReset" | "library.title" | "tool.draw" | "tool.drawHint" | "library.empty" | "library.customTag" | "library.customHint" | "library.createComponent" | "library.searchPlaceholder" | "library.searchAria" | "library.clearSearch" | "library.itemHint" | "tool.select" | "tool.selectHint" | "tool.pan" | "tool.panHint" | "tool.wire" | "tool.wireHint" | "tool.bus" | "tool.busHint" | "tool.junction" | "tool.junctionHint" | "tool.place" | "tool.placeHint" | "tool.text" | "tool.textHint" | "tool.rect" | "tool.rectHint" | "tool.ellipse" | "tool.ellipseHint" | "tool.line" | "tool.lineHint" | "tool.table" | "tool.tableHint" | "mode.selectWithSel" | "mode.selectEmpty" | "mode.pan" | "mode.wireDragging" | "mode.wireInit" | "mode.busDragging" | "mode.busInit" | "mode.junction" | "mode.placeNoKind" | "mode.placeFromTerm" | "mode.placeNormal" | "mode.text" | "mode.rect" | "mode.ellipse" | "mode.line" | "mode.table" | "mode.annTextSel" | "mode.annTableSel" | "mode.annShapeSel" | "mode.annEditing" | "mode.escSelect" | "mode.escOther" | "tool.placeNoKindTooltip" | "tool.undo" | "tool.undoHint" | "tool.redo" | "tool.redoHint" | "layout.label" | "layout.hint" | "layout.allAuto" | "layout.selAuto" | "layout.allFill" | "layout.selFill" | "circuit.numberWires" | "circuit.numberWiresHint" | "circuit.numbered" | "circuit.numberedNone" | "tool.more" | "tool.moreHint" | "view.menu" | "view.menuHint" | "ctx.ariaNode" | "ctx.ariaWire" | "ctx.ariaElement" | "ctx.ariaEdit" | "ctx.done" | "ctx.cancel" | "ctx.rotate" | "ctx.rotateHint" | "ctx.mirror" | "ctx.mirrorTitle" | "ctx.mirrorHint" | "ctx.delete" | "ctx.color" | "ctx.colorDefault" | "ctx.colorRed" | "ctx.colorAmber" | "ctx.colorGreen" | "ctx.colorBlue" | "ctx.colorGray" | "ctx.colorBrown" | "ctx.colorGreenYellow" | "ctx.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "menu.resetLabel" | "menu.selectAll" | "menu.disconnect" | "menu.delete" | "io.parseFailed" | "io.notObject" | "io.versionMismatch" | "io.elementsMissing" | "compile.duplicateId" | "compile.unknownKind" | "compile.invalidTermRef" | "compile.elementMissing" | "compile.missingPin" | "compile.singleTerminal" | "compile.layoutMissingElement" | "compile.elementUnconnected" | "cat.custom" | "cat.busbar" | "cat.switching" | "cat.protection" | "cat.motor-control" | "cat.transformer" | "cat.instrument-transformer" | "cat.measurement" | "cat.source" | "cat.load" | "cat.storage" | "cat.compensation" | "cat.grounding" | "cat.renewable" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
5
+ ui: Partial<Record<"common.unnamed" | "common.close" | "common.yes" | "common.no" | "topbar.theme.toLight" | "topbar.theme.toDark" | "topbar.theme.currentDark" | "topbar.theme.currentLight" | "topbar.lang.toEnglish" | "topbar.lang.toChinese" | "topbar.lang.currentEnglish" | "topbar.lang.currentChinese" | "topbar.export.label" | "topbar.export.tooltip" | "topbar.export.pngFailed" | "topbar.export.dxfFailed" | "topbar.file.label" | "topbar.file.tooltip" | "topbar.file.current" | "topbar.file.new" | "topbar.file.open" | "topbar.file.save" | "topbar.file.saveAs" | "topbar.file.newConfirm" | "topbar.file.openFailed" | "topbar.file.saveFailed" | "topbar.file.fileDescription" | "outline.title" | "outline.collapse" | "outline.collapseAria" | "outline.empty" | "props.title" | "props.node" | "props.wire" | "props.bus" | "props.rail" | "props.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "props.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.hintCircuit" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "sheet.field.project" | "sheet.field.client" | "sheet.field.title" | "sheet.field.number" | "sheet.field.designer" | "sheet.field.checker" | "sheet.field.date" | "sheet.field.scaleText" | "sheet.field.sheetNo" | "sheet.sheetOf" | "sheet.name" | "sheet.nameN" | "sheet.paper" | "sheet.orientation" | "sheet.landscape" | "sheet.portrait" | "sheet.frameScale" | "sheet.fit" | "sheet.overflow" | "sheet.textHeight" | "sheet.textSmall" | "sheet.enlargeLabels" | "sheet.shared" | "sheet.own" | "sheet.delete" | "sheet.export" | "sheet.moveEarlier" | "sheet.moveLater" | "sheet.add" | "sheet.goTo" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.label.contact-without-operator" | "health.label.operator-without-contacts" | "health.label.duplicate-operator" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "health.code.contact-without-operator" | "health.code.operator-without-contacts" | "health.code.duplicate-operator" | "props.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "props.conductor" | "props.conductor.L1" | "props.conductor.L2" | "props.conductor.L3" | "props.conductor.N" | "props.conductor.PE" | "props.pinNumbers" | "props.pinNumbersHide" | "props.pinNumbersShow" | "props.annStroke" | "props.annStrokeSolid" | "props.annStrokeDashed" | "props.annStrokeDotted" | "props.annStrokeWidth" | "props.annWidthThin" | "props.annWidthMedium" | "props.annWidthThick" | "props.annFill" | "props.annFillNone" | "props.annFillTint" | "props.annArrow" | "props.annArrowNone" | "props.annArrowEnd" | "props.annArrowBoth" | "props.annFontSize" | "props.annRows" | "props.annCols" | "view.zoomOut" | "view.zoomOutHint" | "view.reset" | "view.current" | "view.zoomIn" | "view.zoomInHint" | "view.fit" | "view.fitHint" | "view.gridHide" | "view.gridShow" | "view.gridHotkey" | "view.gridHideHint" | "view.gridShowHint" | "view.gridHideAria" | "view.gridShowAria" | "view.label" | "view.labelOff" | "view.labelId" | "view.labelAll" | "view.labelHint" | "view.labelSize" | "view.labelSizeSmaller" | "view.labelSizeLarger" | "view.standard" | "view.standardIec" | "view.standardAnsi" | "view.standardHint" | "view.diagramType" | "view.diagramTypeSld" | "view.diagramTypeCircuit" | "view.diagramTypeHint" | "view.labelSizeReset" | "library.title" | "tool.draw" | "tool.drawHint" | "library.empty" | "library.customTag" | "library.customHint" | "library.createComponent" | "library.searchPlaceholder" | "library.searchAria" | "library.clearSearch" | "library.itemHint" | "tool.select" | "tool.selectHint" | "tool.pan" | "tool.panHint" | "tool.wire" | "tool.wireHint" | "tool.wireHintCircuit" | "tool.bus" | "tool.busHint" | "tool.rail" | "tool.railHint" | "tool.junction" | "tool.junctionHint" | "tool.place" | "tool.placeHint" | "tool.placeHintCircuit" | "tool.text" | "tool.textHint" | "tool.rect" | "tool.rectHint" | "tool.ellipse" | "tool.ellipseHint" | "tool.line" | "tool.lineHint" | "tool.table" | "tool.tableHint" | "mode.selectWithSel" | "mode.selectEmpty" | "mode.pan" | "mode.wireDragging" | "mode.wireDraggingCircuit" | "mode.wireInit" | "mode.busDragging" | "mode.busInit" | "mode.railDragging" | "mode.railInit" | "mode.junction" | "mode.placeNoKind" | "mode.placeFromTerm" | "mode.placeNormal" | "mode.placeNormalCircuit" | "mode.text" | "mode.rect" | "mode.ellipse" | "mode.line" | "mode.table" | "mode.annTextSel" | "mode.annTableSel" | "mode.annShapeSel" | "mode.annEditing" | "mode.escSelect" | "mode.escOther" | "tool.placeNoKindTooltip" | "tool.undo" | "tool.undoHint" | "tool.redo" | "tool.redoHint" | "layout.label" | "layout.hint" | "layout.allAuto" | "layout.selAuto" | "layout.allFill" | "layout.selFill" | "circuit.numberWires" | "circuit.numberWiresHint" | "circuit.numbered" | "circuit.numberedNone" | "tool.more" | "tool.moreHint" | "view.menu" | "view.menuHint" | "ctx.ariaNode" | "ctx.ariaWire" | "ctx.ariaElement" | "ctx.ariaEdit" | "ctx.done" | "ctx.cancel" | "ctx.rotate" | "ctx.rotateHint" | "ctx.mirror" | "ctx.mirrorTitle" | "ctx.mirrorHint" | "ctx.delete" | "ctx.color" | "ctx.colorDefault" | "ctx.colorRed" | "ctx.colorAmber" | "ctx.colorGreen" | "ctx.colorBlue" | "ctx.colorGray" | "ctx.colorBrown" | "ctx.colorGreenYellow" | "ctx.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "menu.resetLabel" | "menu.selectAll" | "menu.disconnect" | "menu.delete" | "io.parseFailed" | "io.notObject" | "io.versionMismatch" | "io.elementsMissing" | "compile.duplicateId" | "compile.unknownKind" | "compile.invalidTermRef" | "compile.elementMissing" | "compile.missingPin" | "compile.singleTerminal" | "compile.layoutMissingElement" | "compile.elementUnconnected" | "cat.custom" | "cat.busbar" | "cat.busbarCircuit" | "cat.switching" | "cat.protection" | "cat.motor-control" | "cat.transformer" | "cat.instrument-transformer" | "cat.measurement" | "cat.source" | "cat.load" | "cat.storage" | "cat.compensation" | "cat.grounding" | "cat.renewable" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.rail.title" | "onboard.rail.body" | "onboard.dismiss", string>>;
6
6
  library: Record<string, string>;
7
7
  };
8
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/es.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAiXhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAuS1C,CAAC;;;;;AAEF,wBAA+B"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/es.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OA6XhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAuS1C,CAAC;;;;;AAEF,wBAA+B"}