sldeditor 0.22.0 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +2 -1
  2. package/dist/OneLineViewer.d.ts +40 -0
  3. package/dist/OneLineViewer.d.ts.map +1 -0
  4. package/dist/canvas/AnnotationLayer.d.ts.map +1 -1
  5. package/dist/canvas/BusLayer.d.ts.map +1 -1
  6. package/dist/canvas/CanvasSvg.d.ts.map +1 -1
  7. package/dist/canvas/ElementLayer.d.ts.map +1 -1
  8. package/dist/canvas/RuntimeOverlayLayer.d.ts +24 -0
  9. package/dist/canvas/RuntimeOverlayLayer.d.ts.map +1 -0
  10. package/dist/canvas/SelectionOverlay.d.ts.map +1 -1
  11. package/dist/canvas/WireLayer.d.ts.map +1 -1
  12. package/dist/canvas/fit-to-content.d.ts +7 -9
  13. package/dist/canvas/fit-to-content.d.ts.map +1 -1
  14. package/dist/canvas/hit-test.d.ts +7 -0
  15. package/dist/canvas/hit-test.d.ts.map +1 -1
  16. package/dist/canvas/index.d.ts +2 -2
  17. package/dist/canvas/index.d.ts.map +1 -1
  18. package/dist/canvas/tools/SelectTool.d.ts.map +1 -1
  19. package/dist/canvas/useViewport.d.ts +9 -1
  20. package/dist/canvas/useViewport.d.ts.map +1 -1
  21. package/dist/compiler/compile.d.ts.map +1 -1
  22. package/dist/compiler/index.d.ts +1 -1
  23. package/dist/compiler/index.d.ts.map +1 -1
  24. package/dist/compiler/library-index.d.ts +19 -1
  25. package/dist/compiler/library-index.d.ts.map +1 -1
  26. package/dist/components/ContextualToolbar.d.ts.map +1 -1
  27. package/dist/components/PropertyPanel.d.ts.map +1 -1
  28. package/dist/components/ViewToolbar.d.ts.map +1 -1
  29. package/dist/i18n/library.d.ts.map +1 -1
  30. package/dist/i18n/locales/ar.d.ts +1 -1
  31. package/dist/i18n/locales/ar.d.ts.map +1 -1
  32. package/dist/i18n/locales/de.d.ts +1 -1
  33. package/dist/i18n/locales/de.d.ts.map +1 -1
  34. package/dist/i18n/locales/es.d.ts +1 -1
  35. package/dist/i18n/locales/es.d.ts.map +1 -1
  36. package/dist/i18n/locales/fa.d.ts +1 -1
  37. package/dist/i18n/locales/fa.d.ts.map +1 -1
  38. package/dist/i18n/locales/fr.d.ts +1 -1
  39. package/dist/i18n/locales/fr.d.ts.map +1 -1
  40. package/dist/i18n/locales/he.d.ts +1 -1
  41. package/dist/i18n/locales/he.d.ts.map +1 -1
  42. package/dist/i18n/locales/index.d.ts +9 -9
  43. package/dist/i18n/locales/ja.d.ts +1 -1
  44. package/dist/i18n/locales/ja.d.ts.map +1 -1
  45. package/dist/i18n/locales/pt.d.ts +1 -1
  46. package/dist/i18n/locales/pt.d.ts.map +1 -1
  47. package/dist/i18n/locales/ru.d.ts +1 -1
  48. package/dist/i18n/locales/ru.d.ts.map +1 -1
  49. package/dist/i18n/messages.d.ts +57 -9
  50. package/dist/i18n/messages.d.ts.map +1 -1
  51. package/dist/index.d.ts +8 -2
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/lib/element-labels.d.ts +25 -1
  54. package/dist/lib/element-labels.d.ts.map +1 -1
  55. package/dist/lib/export-dxf.d.ts.map +1 -1
  56. package/dist/lib/export-image.d.ts.map +1 -1
  57. package/dist/model/binding.d.ts +57 -0
  58. package/dist/model/binding.d.ts.map +1 -0
  59. package/dist/model/index.d.ts +3 -2
  60. package/dist/model/index.d.ts.map +1 -1
  61. package/dist/model/library.d.ts +46 -0
  62. package/dist/model/library.d.ts.map +1 -1
  63. package/dist/model/types.d.ts +47 -0
  64. package/dist/model/types.d.ts.map +1 -1
  65. package/dist/runtime/bindings.d.ts +49 -0
  66. package/dist/runtime/bindings.d.ts.map +1 -0
  67. package/dist/runtime/runtime-context.d.ts +18 -0
  68. package/dist/runtime/runtime-context.d.ts.map +1 -0
  69. package/dist/runtime/tag-source.d.ts +23 -0
  70. package/dist/runtime/tag-source.d.ts.map +1 -0
  71. package/dist/sldeditor.cjs +58 -53
  72. package/dist/sldeditor.cjs.map +1 -1
  73. package/dist/sldeditor.js +8501 -7499
  74. package/dist/sldeditor.js.map +1 -1
  75. package/dist/store/context.d.ts +8 -0
  76. package/dist/store/context.d.ts.map +1 -0
  77. package/dist/store/index.d.ts +2 -1
  78. package/dist/store/index.d.ts.map +1 -1
  79. package/dist/store/store.d.ts +37 -2
  80. package/dist/store/store.d.ts.map +1 -1
  81. package/dist/style.css +1 -1
  82. package/package.json +1 -1
package/README.md CHANGED
@@ -66,6 +66,7 @@ The `style.css` import is **required** in npm mode (in the submodule layout your
66
66
 
67
67
  The editor reads/writes from a built-in zustand store. For embedding apps that want programmatic control (importers, AI tool-calling, custom renderers), `src/index.ts` exports:
68
68
 
69
+ - `OneLineViewer` — read-only runtime viewer: same canvas, private store, live data via a host `TagSource` (see [API reference](./docs/api.md#onelineviewer--read-only-runtime-viewer))
69
70
  - `useEditorStore` — full store: diagram, selection, viewport, undo stack
70
71
  - `compile(diagram)` — produces an `InternalModel` with resolved geometry + connectivity nodes; use it to build viewers or run topology analysis without re-implementing the model
71
72
  - `LIBRARY`, `getLibraryEntry` — the symbol registry
@@ -79,7 +80,7 @@ The editor reads/writes from a built-in zustand store. For embedding apps that w
79
80
 
80
81
  - Not a format converter — does **not** read/write CIM, IEC 61850 SCL, PSD-BPA, PSS/E, or PowerFactory formats. JSON only.
81
82
  - Not a simulator — no power flow, short-circuit, or stability calculations.
82
- - Not a SCADA viewer — no real-time binding.
83
+ - Not a SCADA platform — `<OneLineViewer>` renders host-supplied live tags through declarative bindings, but there are no protocol drivers, alarm history, trends or command paths; those stay in the host.
83
84
  - Not a secondary / control-loop diagram tool.
84
85
 
85
86
  ## Docs
@@ -0,0 +1,40 @@
1
+ import { CSSProperties, MouseEvent as ReactMouseEvent } from 'react';
2
+ import { Theme } from './hooks/use-theme';
3
+ import { DiagramFile } from './model';
4
+ import { TagSource } from './runtime/tag-source';
5
+ export interface OneLineViewerApi {
6
+ /** Fit the whole diagram into the viewport (same as the initial fit). */
7
+ fit(): void;
8
+ /** Centre the viewport on an element / bus / junction and zoom in on it. */
9
+ focus(id: string): void;
10
+ /** Replace the selection. Ignored while `selectedIds` is controlled. */
11
+ select(ids: string[]): void;
12
+ }
13
+ export interface OneLineViewerProps {
14
+ diagram: DiagramFile;
15
+ /** Live data. Omit for a static rendering — bindings then resolve to nothing. */
16
+ tags?: TagSource;
17
+ /** Controlled selection. Omit to let `api.select` / clicks drive it. */
18
+ selectedIds?: string[];
19
+ /**
20
+ * Controlled hover. `undefined` = follow the pointer; a string or `null`
21
+ * pins the highlight (e.g. mirroring a hovered row in a host list).
22
+ */
23
+ hoveredId?: string | null;
24
+ onElementClick?: (id: string, ev: ReactMouseEvent) => void;
25
+ onElementHover?: (id: string | null) => void;
26
+ onBackgroundClick?: () => void;
27
+ /**
28
+ * Colour mode. Unlike the editor this does NOT touch `<html>`: the class
29
+ * goes on the viewer's own root, so a dark dashboard can hold a light
30
+ * diagram and vice versa. Omit to follow the host's `.dark` ancestor.
31
+ */
32
+ theme?: Theme;
33
+ className?: string;
34
+ style?: CSSProperties;
35
+ /** Fit the diagram on mount, on diagram change and on resize. Default true. */
36
+ fit?: boolean;
37
+ onReady?: (api: OneLineViewerApi) => void;
38
+ }
39
+ export declare function OneLineViewer({ diagram, tags, selectedIds, hoveredId, onElementClick, onElementHover, onBackgroundClick, theme, className, style, fit, onReady, }: OneLineViewerProps): import("react/jsx-runtime").JSX.Element;
40
+ //# sourceMappingURL=OneLineViewer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OneLineViewer.d.ts","sourceRoot":"","sources":["../src/OneLineViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAOL,KAAK,aAAa,EAClB,KAAK,UAAU,IAAI,eAAe,EAEnC,MAAM,OAAO,CAAC;AAYf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAO3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAItD,MAAM,WAAW,gBAAgB;IAC/B,yEAAyE;IACzE,GAAG,IAAI,IAAI,CAAC;IACZ,4EAA4E;IAC5E,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,wEAAwE;IACxE,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,WAAW,CAAC;IACrB,iFAAiF;IACjF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3D,cAAc,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC7C,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,+EAA+E;IAC/E,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC3C;AA6DD,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,IAAI,EACJ,WAAW,EACX,SAAS,EACT,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,KAAK,EACL,SAAS,EACT,KAAK,EACL,GAAU,EACV,OAAO,GACR,EAAE,kBAAkB,2CAqDpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnnotationLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/AnnotationLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAeH,wBAAgB,eAAe,4CAiG9B"}
1
+ {"version":3,"file":"AnnotationLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/AnnotationLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAkBH,wBAAgB,eAAe,4CAmI9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"BusLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/BusLayer.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,wBAAgB,QAAQ,4CA8EvB"}
1
+ {"version":3,"file":"BusLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/BusLayer.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,wBAAgB,QAAQ,4CAoFvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"CanvasSvg.d.ts","sourceRoot":"","sources":["../../src/canvas/CanvasSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA6DH,wBAAgB,SAAS,4CAiSxB"}
1
+ {"version":3,"file":"CanvasSvg.d.ts","sourceRoot":"","sources":["../../src/canvas/CanvasSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA6DH,wBAAgB,SAAS,4CA+SxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ElementLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,wBAAgB,YAAY,4CAgG3B"}
1
+ {"version":3,"file":"ElementLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,wBAAgB,YAAY,4CAuG3B"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Live-data adornments drawn over the diagram by `<OneLineViewer>`:
3
+ *
4
+ * - `value` — small readout (with the tag's unit) at the symbol's
5
+ * bottom-right, clear of the structural label, which the
6
+ * library anchors at the symbol's top-right;
7
+ * - `badge` — pill hanging off the top-right corner of the symbol;
8
+ * - `?` — quality marker off the top-left corner when the element's
9
+ * data is `bad` or `stale` (the symbol itself is greyed by
10
+ * the stylesheet via `data-quality`).
11
+ *
12
+ * Both corner marks sit just OUTSIDE the box rather than centred on the
13
+ * corner: most symbols take their wire through the top centre, and a pill
14
+ * straddling the corner covers the wire end.
15
+ *
16
+ * Everything is positioned from the element's WORLD bounding box (library
17
+ * viewBox through its placement), so a rotated or mirrored symbol keeps its
18
+ * adornments upright and in the same corners. Buses use their geometry.
19
+ *
20
+ * The layer is `pointer-events: none`: adornments describe, they are never
21
+ * click targets — a click "on" a badge lands on the symbol below it.
22
+ */
23
+ export declare function RuntimeOverlayLayer(): import("react/jsx-runtime").JSX.Element | null;
24
+ //# sourceMappingURL=RuntimeOverlayLayer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuntimeOverlayLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/RuntimeOverlayLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAgIH,wBAAgB,mBAAmB,mDAmClC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectionOverlay.d.ts","sourceRoot":"","sources":["../../src/canvas/SelectionOverlay.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,wBAAgB,gBAAgB,mDAmD/B"}
1
+ {"version":3,"file":"SelectionOverlay.d.ts","sourceRoot":"","sources":["../../src/canvas/SelectionOverlay.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,wBAAgB,gBAAgB,mDAqD/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"WireLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/WireLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0DH,wBAAgB,SAAS,4CAsFxB"}
1
+ {"version":3,"file":"WireLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/WireLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6DH,wBAAgB,SAAS,4CAkGxB"}
@@ -1,18 +1,16 @@
1
- /**
2
- * Fit-to-content viewport reset, shared by the explicit "fit" button in
3
- * ViewToolbar and the automatic reset that fires on first mount / after
4
- * loading a file.
5
- *
6
- * Element bboxes come from the live DOM (`data-element-id` nodes), so the
7
- * canvas must already have rendered the diagram. `fitToContentSoon` defers
8
- * via rAF until that's true (typical use: store update → next frame fit).
9
- */
1
+ import { ViewportApi } from './useViewport';
10
2
  /**
11
3
  * Fit all rendered elements to the viewport with padding. Falls back to a
12
4
  * centered 100% reset when the canvas is empty. Returns false if the
13
5
  * viewport / canvas isn't ready yet.
14
6
  */
15
7
  export declare function fitToContent(): boolean;
8
+ /**
9
+ * The fit itself, against an explicit viewport + canvas root. `fitToContent`
10
+ * above resolves both from the editor's module-level singletons; the viewer
11
+ * owns its own pair (several viewers may share a page) and calls this.
12
+ */
13
+ export declare function fitToContentWith(api: ViewportApi, root: HTMLElement): boolean;
16
14
  /**
17
15
  * Run `fitToContent` after the next paint, retrying for a few frames in case
18
16
  * the canvas hasn't mounted yet (initial mount race) or the diagram has
@@ -1 +1 @@
1
- {"version":3,"file":"fit-to-content.d.ts","sourceRoot":"","sources":["../../src/canvas/fit-to-content.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAiBH;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,OAAO,CA4CtC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC"}
1
+ {"version":3,"file":"fit-to-content.d.ts","sourceRoot":"","sources":["../../src/canvas/fit-to-content.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAejD;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAKtC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAyC7E;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC"}
@@ -11,5 +11,12 @@ export declare function hitJunction(target: EventTarget | null): JunctionId | nu
11
11
  export declare function hitTerminal(target: EventTarget | null): WireEnd | null;
12
12
  export declare function hitNode(target: EventTarget | null): NodeId | null;
13
13
  export declare function hitWire(target: EventTarget | null): WireId | null;
14
+ /**
15
+ * The element whose structural label block is under the cursor. The label is
16
+ * not part of the element's `<g>` (it renders upright in its own layer), so
17
+ * it needs its own attribute — and `hitElement` deliberately does NOT match
18
+ * it: dragging the label moves only the label, never the device.
19
+ */
20
+ export declare function hitElementLabel(target: EventTarget | null): ElementId | null;
14
21
  export declare function hitAnnotation(target: EventTarget | null): AnnotationId | null;
15
22
  //# sourceMappingURL=hit-test.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hit-test.d.ts","sourceRoot":"","sources":["../../src/canvas/hit-test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,YAAY,EACZ,KAAK,EACL,SAAS,EACT,UAAU,EACV,MAAM,EAEN,OAAO,EACP,MAAM,EACP,MAAM,UAAU,CAAC;AAOlB,wBAAgB,UAAU,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAEvE;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,CAE/D;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,UAAU,GAAG,IAAI,CAEzE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,GAAG,IAAI,CAQtE;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAEjE;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAEjE;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,YAAY,GAAG,IAAI,CAK7E"}
1
+ {"version":3,"file":"hit-test.d.ts","sourceRoot":"","sources":["../../src/canvas/hit-test.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,YAAY,EACZ,KAAK,EACL,SAAS,EACT,UAAU,EACV,MAAM,EAEN,OAAO,EACP,MAAM,EACP,MAAM,UAAU,CAAC;AAOlB,wBAAgB,UAAU,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAEvE;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,CAE/D;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,UAAU,GAAG,IAAI,CAEzE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,GAAG,IAAI,CAQtE;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAEjE;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAEjE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAK5E;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,YAAY,GAAG,IAAI,CAK7E"}
@@ -6,6 +6,6 @@ export { transformAttr } from './transform-attr';
6
6
  export { hitElement, hitTerminal, hitNode } from './hit-test';
7
7
  export { getScale, subscribeScale } from './zoom-bus';
8
8
  export { getViewportApi, setViewportApi } from './viewport-bus';
9
- export { fitToContent, fitToContentSoon } from './fit-to-content';
10
- export type { Viewport, ViewportApi } from './useViewport';
9
+ export { fitToContent, fitToContentSoon, fitToContentWith } from './fit-to-content';
10
+ export type { Viewport, ViewportApi, ViewportOptions } from './useViewport';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/canvas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAClE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/canvas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpF,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectTool.d.ts","sourceRoot":"","sources":["../../../src/canvas/tools/SelectTool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA6BH,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,SAAS,CAAC;AAqDjD,eAAO,MAAM,UAAU,EAAE,IA0hBxB,CAAC"}
1
+ {"version":3,"file":"SelectTool.d.ts","sourceRoot":"","sources":["../../../src/canvas/tools/SelectTool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAoCH,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,SAAS,CAAC;AA+EjD,eAAO,MAAM,UAAU,EAAE,IAymBxB,CAAC"}
@@ -14,5 +14,13 @@ export interface ViewportApi {
14
14
  /** Subscribe to viewport changes; returns an unsubscribe fn. */
15
15
  subscribe(listener: (vp: Viewport) => void): () => void;
16
16
  }
17
- export declare function useViewport(hostRef: RefObject<HTMLDivElement | null>, groupRef: RefObject<SVGGElement | null>, initial?: Viewport): ViewportApi;
17
+ export interface ViewportOptions {
18
+ /**
19
+ * Publish the live scale on the module-level `zoom-bus` (what the editor's
20
+ * zoom-percentage readout listens to). Default true. A viewer instance
21
+ * passes false so several canvases on one page don't fight over it.
22
+ */
23
+ shared?: boolean;
24
+ }
25
+ export declare function useViewport(hostRef: RefObject<HTMLDivElement | null>, groupRef: RefObject<SVGGElement | null>, initial?: Viewport, options?: ViewportOptions): ViewportApi;
18
26
  //# sourceMappingURL=useViewport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useViewport.d.ts","sourceRoot":"","sources":["../../src/canvas/useViewport.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI1D,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,wBAAgB,WAAW,CACzB,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EACzC,QAAQ,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACvC,OAAO,GAAE,QAAqC,GAC7C,WAAW,CAkSb"}
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,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,wBAAgB,WAAW,CACzB,OAAO,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EACzC,QAAQ,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACvC,OAAO,GAAE,QAAqC,EAC9C,OAAO,GAAE,eAAoB,GAC5B,WAAW,CAwSb"}
@@ -1 +1 @@
1
- {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/compiler/compile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAGV,WAAW,EASZ,MAAM,UAAU,CAAC;AAKlB,OAAO,EAKL,KAAK,aAAa,EAEnB,MAAM,kBAAkB,CAAC;AAyB1B,wBAAgB,OAAO,CAAC,OAAO,EAAE,WAAW,GAAG,aAAa,CAmX3D"}
1
+ {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/compiler/compile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAGV,WAAW,EASZ,MAAM,UAAU,CAAC;AAKlB,OAAO,EAKL,KAAK,aAAa,EAEnB,MAAM,kBAAkB,CAAC;AAyB1B,wBAAgB,OAAO,CAAC,OAAO,EAAE,WAAW,GAAG,aAAa,CAsX3D"}
@@ -1,5 +1,5 @@
1
1
  export { compile } from './compile';
2
- export { LIBRARY, getLibraryEntry, mergeCustomKinds, isCustomKind, CUSTOM_KIND_PREFIX, } from './library-index';
2
+ export { LIBRARY, getLibraryEntry, applySymbolStandard, mergeCustomKinds, isCustomKind, CUSTOM_KIND_PREFIX, } from './library-index';
3
3
  export { busAxisFromRot, emptyInternalModel, resolvePlacement, } from './internal-model';
4
4
  export type { BusGeometry, ConnectivityNode, Diagnostic, InternalModel, ResolvedBus, ResolvedElement, ResolvedJunction, ResolvedPlacement, TerminalGeometry, WireRender, } from './internal-model';
5
5
  export { orientationVec, transformOrientation, transformPoint, } from './transforms';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compiler/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,GACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,cAAc,GACf,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/compiler/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,OAAO,EACP,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,GACX,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,cAAc,GACf,MAAM,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- import { LibraryEntry } from '../model';
1
+ import { LibraryEntry, SymbolStandard } from '../model';
2
2
  export declare const LIBRARY: ReadonlyMap<string, LibraryEntry>;
3
3
  export declare function getLibraryEntry(kind: string): LibraryEntry | undefined;
4
4
  /** Prefix that marks a kind as defined by a document rather than shipped. */
@@ -17,4 +17,22 @@ export declare function isCustomKind(kind: string): boolean;
17
17
  * a different and much worse feature than defining a new symbol.
18
18
  */
19
19
  export declare function mergeCustomKinds(custom: readonly LibraryEntry[] | undefined): ReadonlyMap<string, LibraryEntry>;
20
+ /**
21
+ * Swap in each entry's drawing for `standard`.
22
+ *
23
+ * Resolution happens HERE, once, on the map `compile()` publishes — not in the
24
+ * renderers. Every surface that draws a symbol (canvas, SVG/PNG export, DXF
25
+ * export, content bbox, label anchoring) reads `ResolvedElement.libraryDef`,
26
+ * so doing it at this single point is what keeps the four of them from
27
+ * drifting; a per-renderer lookup is exactly how an export ends up disagreeing
28
+ * with the canvas.
29
+ *
30
+ * Only the drawing changes. `terminals`, `params`, `state`, `category` and
31
+ * `stretchable` come from the base entry untouched, so switching standards can
32
+ * never move a pin, re-route a wire, or alter what the compiler sees.
33
+ *
34
+ * `iec` (and absent) returns the input map unchanged — same object, so the
35
+ * common case allocates nothing on a keystroke.
36
+ */
37
+ export declare function applySymbolStandard(library: ReadonlyMap<string, LibraryEntry>, standard: SymbolStandard | undefined): ReadonlyMap<string, LibraryEntry>;
20
38
  //# sourceMappingURL=library-index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"library-index.d.ts","sourceRoot":"","sources":["../../src/compiler/library-index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,YAAY,CAErD,CAAC;AAEF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEtE;AAED,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAElD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,GAC1C,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAQnC"}
1
+ {"version":3,"file":"library-index.d.ts","sourceRoot":"","sources":["../../src/compiler/library-index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE7D,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,YAAY,CAErD,CAAC;AAEF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEtE;AAED,6EAA6E;AAC7E,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAElD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,SAAS,YAAY,EAAE,GAAG,SAAS,GAC1C,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAQnC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,EAC1C,QAAQ,EAAE,cAAc,GAAG,SAAS,GACnC,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAoBnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ContextualToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAYH,wBAAgB,iBAAiB,4CAmNhC"}
1
+ {"version":3,"file":"ContextualToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ContextualToolbar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA0BH,wBAAgB,iBAAiB,4CA2PhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAmCH,wBAAgB,aAAa,mDA0F5B"}
1
+ {"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoCH,wBAAgB,aAAa,mDAgG5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ViewToolbar.tsx"],"names":[],"mappings":"AAgdA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,2CAkErE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,mDAQ1B"}
1
+ {"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ViewToolbar.tsx"],"names":[],"mappings":"AAmhBA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,2CAoErE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,mDAQ1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../src/i18n/library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAkXH,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;AAkYH,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.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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "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" | "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.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.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" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.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,OAiQhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+N1C,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,OA6QhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+N1C,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.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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "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" | "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.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.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" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.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,OAiQhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA0N1C,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,OA6QhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA0N1C,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.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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "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" | "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.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.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" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.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,OA8OhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkN1C,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,OA0PhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkN1C,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.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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "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" | "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.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.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" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
6
6
  library: Record<string, string>;
7
7
  };
8
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"fa.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/fa.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAiQhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+N1C,CAAC;;;;;AAEF,wBAA+B"}
1
+ {"version":3,"file":"fa.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/fa.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OA6QhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA+N1C,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.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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "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" | "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.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.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" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
6
6
  library: Record<string, string>;
7
7
  };
8
8
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/fr.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAiQhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4N1C,CAAC;;;;;AAEF,wBAA+B"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/fr.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OA6QhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4N1C,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.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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.deleteHintNode" | "ctx.deleteHintWire" | "ctx.deleteHintElement" | "ctx.resetWirePath" | "ctx.resetWirePathHint" | "menu.undo" | "menu.redo" | "menu.cut" | "menu.copy" | "menu.paste" | "menu.rotate" | "menu.mirror" | "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" | "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.junction" | "props.junctionPos" | "props.nSelected" | "props.empty" | "props.multi" | "props.name" | "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.color.default" | "props.color.red" | "props.color.amber" | "props.color.green" | "props.color.blue" | "props.color.gray" | "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.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" | "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.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" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
6
6
  library: Record<string, string>;
7
7
  };
8
8
  export default _default;