sldeditor 0.21.0 → 0.23.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 (67) hide show
  1. package/dist/OneLineEditor.d.ts +8 -1
  2. package/dist/OneLineEditor.d.ts.map +1 -1
  3. package/dist/canvas/AnnotationLayer.d.ts.map +1 -1
  4. package/dist/canvas/CanvasSvg.d.ts.map +1 -1
  5. package/dist/canvas/PlaceGhost.d.ts.map +1 -1
  6. package/dist/canvas/hit-test.d.ts +7 -0
  7. package/dist/canvas/hit-test.d.ts.map +1 -1
  8. package/dist/canvas/tools/SelectTool.d.ts.map +1 -1
  9. package/dist/compiler/compile.d.ts.map +1 -1
  10. package/dist/compiler/index.d.ts +1 -1
  11. package/dist/compiler/index.d.ts.map +1 -1
  12. package/dist/compiler/internal-model.d.ts +12 -0
  13. package/dist/compiler/internal-model.d.ts.map +1 -1
  14. package/dist/compiler/library-index.d.ts +35 -1
  15. package/dist/compiler/library-index.d.ts.map +1 -1
  16. package/dist/components/ContextualToolbar.d.ts.map +1 -1
  17. package/dist/components/FloatingToolbar.d.ts.map +1 -1
  18. package/dist/components/LeftPanel.d.ts.map +1 -1
  19. package/dist/components/LibraryPopover.d.ts.map +1 -1
  20. package/dist/components/PropertyPanel.d.ts.map +1 -1
  21. package/dist/components/ViewToolbar.d.ts.map +1 -1
  22. package/dist/hooks/use-host-actions.d.ts +28 -0
  23. package/dist/hooks/use-host-actions.d.ts.map +1 -0
  24. package/dist/i18n/library.d.ts.map +1 -1
  25. package/dist/i18n/locales/ar.d.ts +1 -1
  26. package/dist/i18n/locales/ar.d.ts.map +1 -1
  27. package/dist/i18n/locales/de.d.ts +1 -1
  28. package/dist/i18n/locales/de.d.ts.map +1 -1
  29. package/dist/i18n/locales/es.d.ts +1 -1
  30. package/dist/i18n/locales/es.d.ts.map +1 -1
  31. package/dist/i18n/locales/fa.d.ts +1 -1
  32. package/dist/i18n/locales/fa.d.ts.map +1 -1
  33. package/dist/i18n/locales/fr.d.ts +1 -1
  34. package/dist/i18n/locales/fr.d.ts.map +1 -1
  35. package/dist/i18n/locales/he.d.ts +1 -1
  36. package/dist/i18n/locales/he.d.ts.map +1 -1
  37. package/dist/i18n/locales/index.d.ts +9 -9
  38. package/dist/i18n/locales/ja.d.ts +1 -1
  39. package/dist/i18n/locales/ja.d.ts.map +1 -1
  40. package/dist/i18n/locales/pt.d.ts +1 -1
  41. package/dist/i18n/locales/pt.d.ts.map +1 -1
  42. package/dist/i18n/locales/ru.d.ts +1 -1
  43. package/dist/i18n/locales/ru.d.ts.map +1 -1
  44. package/dist/i18n/messages.d.ts +81 -9
  45. package/dist/i18n/messages.d.ts.map +1 -1
  46. package/dist/index.d.ts +5 -1
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/lib/custom-kind.d.ts +48 -0
  49. package/dist/lib/custom-kind.d.ts.map +1 -0
  50. package/dist/lib/element-labels.d.ts +25 -1
  51. package/dist/lib/element-labels.d.ts.map +1 -1
  52. package/dist/lib/export-dxf.d.ts.map +1 -1
  53. package/dist/lib/export-image.d.ts.map +1 -1
  54. package/dist/model/index.d.ts +2 -2
  55. package/dist/model/index.d.ts.map +1 -1
  56. package/dist/model/library.d.ts +46 -0
  57. package/dist/model/library.d.ts.map +1 -1
  58. package/dist/model/types.d.ts +51 -0
  59. package/dist/model/types.d.ts.map +1 -1
  60. package/dist/sldeditor.cjs +58 -53
  61. package/dist/sldeditor.cjs.map +1 -1
  62. package/dist/sldeditor.js +7523 -6686
  63. package/dist/sldeditor.js.map +1 -1
  64. package/dist/store/store.d.ts +32 -1
  65. package/dist/store/store.d.ts.map +1 -1
  66. package/dist/style.css +1 -1
  67. package/package.json +1 -1
@@ -26,6 +26,13 @@ export interface OneLineEditorProps {
26
26
  * the same documentElement will see the same class.
27
27
  */
28
28
  theme?: Theme;
29
+ /**
30
+ * Open the host's "create a component" flow, surfaced as a button in the
31
+ * component palette. Authoring a symbol means asking an AI agent, which
32
+ * lives in the embedding app — the editor owns the affordance, the host owns
33
+ * the behaviour. Omit it and the button is not offered.
34
+ */
35
+ onCreateComponent?: () => void;
29
36
  }
30
- export declare function OneLineEditor({ className, diagram, readOnly, locale, theme }: OneLineEditorProps): import("react/jsx-runtime").JSX.Element;
37
+ export declare function OneLineEditor({ className, diagram, readOnly, locale, theme, onCreateComponent, }: OneLineEditorProps): import("react/jsx-runtime").JSX.Element;
31
38
  //# sourceMappingURL=OneLineEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OneLineEditor.d.ts","sourceRoot":"","sources":["../src/OneLineEditor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAa,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAc,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE3D,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,kBAAkB,2CAkDhG"}
1
+ {"version":3,"file":"OneLineEditor.d.ts","sourceRoot":"","sources":["../src/OneLineEditor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAa,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAc,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG3D,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,OAAO,EACP,QAAQ,EACR,MAAM,EACN,KAAK,EACL,iBAAiB,GAClB,EAAE,kBAAkB,2CAwDpB"}
@@ -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;AAiBH,wBAAgB,eAAe,4CA2H9B"}
@@ -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":"PlaceGhost.d.ts","sourceRoot":"","sources":["../../src/canvas/PlaceGhost.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAUH,wBAAgB,UAAU,mDA0DzB"}
1
+ {"version":3,"file":"PlaceGhost.d.ts","sourceRoot":"","sources":["../../src/canvas/PlaceGhost.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AASH,wBAAgB,UAAU,mDA6DzB"}
@@ -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"}
@@ -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"}
@@ -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,CA+W3D"}
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 } 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,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC3D,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"}
@@ -86,6 +86,18 @@ export interface InternalModel {
86
86
  terminalToNode: Map<WireEnd, NodeId>;
87
87
  elementToTerminals: Map<ElementId, TerminalRef[]>;
88
88
  diagnostics: Diagnostic[];
89
+ /**
90
+ * The kinds this document can resolve: the built-in library plus its own
91
+ * `customKinds`, merged once per compile.
92
+ *
93
+ * It lives here because `getLibraryEntry` is a module-level lookup and a
94
+ * custom kind is per-document — a global function has no way to know which
95
+ * drawing is asking. Everything that needs to resolve a kind (the palette,
96
+ * the place ghost, the property panel, the agent's geometry checks) already
97
+ * holds the compiled model, so putting the merged view on it means one
98
+ * source of truth instead of each consumer doing its own merge and drifting.
99
+ */
100
+ library: ReadonlyMap<string, LibraryEntry>;
89
101
  }
90
102
  export declare function emptyInternalModel(): InternalModel;
91
103
  export declare function resolvePlacement(p?: Placement): ResolvedPlacement;
@@ -1 +1 @@
1
- {"version":3,"file":"internal-model.d.ts","sourceRoot":"","sources":["../../src/compiler/internal-model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,GAAG,EACH,KAAK,EACL,OAAO,EACP,SAAS,EACT,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,MAAM,EACN,WAAW,EACX,SAAS,EACT,WAAW,EACX,OAAO,EACR,MAAM,UAAU,CAAC;AAElB,4DAA4D;AAC5D,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,YAAY,CAAC;CAC3B;AAED,4EAA4E;AAC5E,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrB,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wEAAwE;AACxE,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,WAAW,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,2CAA2C;IAC3C,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,WAAW,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,uDAAuD;IACvD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,6DAA6D;IAC7D,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,SAAS,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,6DAA6D;AAC7D,MAAM,WAAW,UAAU;IACzB,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,OAAO,UAAU,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IACzB,6EAA6E;IAC7E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;kEAE8D;IAC9D,KAAK,CAAC,EAAE,OAAO,UAAU,EAAE,YAAY,CAAC;CACzC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,GAAG,CAAC,SAAS,EAAE,eAAe,CAAC,CAAC;IAC1C,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IAC/B,SAAS,EAAE,GAAG,CAAC,UAAU,EAAE,gBAAgB,CAAC,CAAC;IAC7C,SAAS,EAAE,GAAG,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;IAC9C,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IACrC,MAAM,EAAE,GAAG,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;IAC1C,qCAAqC;IACrC,WAAW,EAAE,GAAG,CAAC,OAAO,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;IACxD,cAAc,EAAE,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;IACrC,kBAAkB,EAAE,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,CAAC,CAAC;IAClD,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED,wBAAgB,kBAAkB,IAAI,aAAa,CAalD;AAED,wBAAgB,gBAAgB,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,iBAAiB,CAMjE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAEjE"}
1
+ {"version":3,"file":"internal-model.d.ts","sourceRoot":"","sources":["../../src/compiler/internal-model.ts"],"names":[],"mappings":"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"}
@@ -1,4 +1,38 @@
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
+ /** Prefix that marks a kind as defined by a document rather than shipped. */
5
+ export declare const CUSTOM_KIND_PREFIX = "custom:";
6
+ export declare function isCustomKind(kind: string): boolean;
7
+ /**
8
+ * The built-in library plus a document's own kinds.
9
+ *
10
+ * Returns `LIBRARY` itself when there is nothing to merge — the common case by
11
+ * far, and returning the same object keeps `compile()` from allocating a
12
+ * ninety-entry Map on every keystroke.
13
+ *
14
+ * A custom entry can never shadow a built-in: ids are namespaced, and anything
15
+ * that arrives without the prefix is dropped rather than trusted. Shadowing
16
+ * would let a document redefine `breaker` for everyone who opens it, which is
17
+ * a different and much worse feature than defining a new symbol.
18
+ */
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>;
4
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"}
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":"FloatingToolbar.d.ts","sourceRoot":"","sources":["../../src/components/FloatingToolbar.tsx"],"names":[],"mappings":"AAsQA,wBAAgB,eAAe,4CA4H9B"}
1
+ {"version":3,"file":"FloatingToolbar.d.ts","sourceRoot":"","sources":["../../src/components/FloatingToolbar.tsx"],"names":[],"mappings":"AAwRA,wBAAgB,eAAe,4CA6H9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"LeftPanel.d.ts","sourceRoot":"","sources":["../../src/components/LeftPanel.tsx"],"names":[],"mappings":"AASA,wBAAgB,SAAS,mDA0CxB"}
1
+ {"version":3,"file":"LeftPanel.d.ts","sourceRoot":"","sources":["../../src/components/LeftPanel.tsx"],"names":[],"mappings":"AAQA,wBAAgB,SAAS,mDA0CxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"LibraryPopover.d.ts","sourceRoot":"","sources":["../../src/components/LibraryPopover.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkEH,wBAAgB,cAAc,mDAwE7B"}
1
+ {"version":3,"file":"LibraryPopover.d.ts","sourceRoot":"","sources":["../../src/components/LibraryPopover.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AA8FH,wBAAgB,cAAc,mDAwE7B"}
@@ -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"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Actions the embedding app provides that the editor itself cannot implement.
3
+ *
4
+ * "Create a component" is the first: authoring a symbol means asking the AI
5
+ * agent, and the agent lives in the host application, not in this package. The
6
+ * editor owns the affordance — the button belongs in the component palette,
7
+ * next to the symbols it will sit among — while the host owns what happens
8
+ * when it is pressed.
9
+ *
10
+ * A tiny store rather than a prop threaded through EditorShell → RightPanel →
11
+ * LibraryPopover: the callback is set once by the embedder and read in one
12
+ * deep leaf, which is exactly the shape prop-drilling handles worst. Mirrors
13
+ * `useLocale`, which solves the same problem for the same reason.
14
+ */
15
+ export interface HostActions {
16
+ /**
17
+ * Open the host's "describe the component you need" flow. Absent means the
18
+ * host has no agent wired up (the standalone editor, the read-only viewer),
19
+ * and the palette simply does not offer the button.
20
+ */
21
+ onCreateComponent: (() => void) | null;
22
+ }
23
+ interface HostActionsState extends HostActions {
24
+ setHostActions: (actions: Partial<HostActions>) => void;
25
+ }
26
+ export declare const useHostActions: import('zustand').UseBoundStore<import('zustand').StoreApi<HostActionsState>>;
27
+ export {};
28
+ //# sourceMappingURL=use-host-actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-host-actions.d.ts","sourceRoot":"","sources":["../../src/hooks/use-host-actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;CACxC;AAED,UAAU,gBAAiB,SAAQ,WAAW;IAC5C,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CACzD;AAED,eAAO,MAAM,cAAc,+EAGxB,CAAC"}
@@ -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" | "library.empty" | "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.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,OA2PhB,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" | "library.empty" | "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.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,OA2PhB,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" | "library.empty" | "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.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,OAwOhB,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" | "library.empty" | "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.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,OA2PhB,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" | "library.empty" | "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.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,OA2PhB,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" | "library.empty" | "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.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":"he.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/he.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,EAAE,EAAE,OAwOhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkN1C,CAAC;;;;;AAEF,wBAA+B"}
1
+ {"version":3,"file":"he.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/he.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"}