sldeditor 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/OneLineViewer.d.ts +40 -0
- package/dist/OneLineViewer.d.ts.map +1 -0
- package/dist/canvas/AnnotationLayer.d.ts.map +1 -1
- package/dist/canvas/BusLayer.d.ts.map +1 -1
- package/dist/canvas/ElementLayer.d.ts.map +1 -1
- package/dist/canvas/RuntimeOverlayLayer.d.ts +24 -0
- package/dist/canvas/RuntimeOverlayLayer.d.ts.map +1 -0
- package/dist/canvas/SelectionOverlay.d.ts.map +1 -1
- package/dist/canvas/WireLayer.d.ts.map +1 -1
- package/dist/canvas/fit-to-content.d.ts +7 -9
- package/dist/canvas/fit-to-content.d.ts.map +1 -1
- package/dist/canvas/index.d.ts +2 -2
- package/dist/canvas/index.d.ts.map +1 -1
- package/dist/canvas/transform-attr.d.ts.map +1 -1
- package/dist/canvas/useViewport.d.ts +9 -1
- package/dist/canvas/useViewport.d.ts.map +1 -1
- package/dist/compiler/internal-model.d.ts +3 -0
- package/dist/compiler/internal-model.d.ts.map +1 -1
- package/dist/compiler/transforms.d.ts.map +1 -1
- package/dist/components/PropertyPanel.d.ts.map +1 -1
- package/dist/i18n/locales/ar.d.ts +1 -1
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/de.d.ts +1 -1
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/es.d.ts +1 -1
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/fa.d.ts +1 -1
- package/dist/i18n/locales/fa.d.ts.map +1 -1
- package/dist/i18n/locales/fr.d.ts +1 -1
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/he.d.ts +1 -1
- package/dist/i18n/locales/he.d.ts.map +1 -1
- package/dist/i18n/locales/index.d.ts +9 -9
- package/dist/i18n/locales/ja.d.ts +1 -1
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/pt.d.ts +1 -1
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/ru.d.ts +1 -1
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/messages.d.ts +17 -9
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/lib/element-labels.d.ts.map +1 -1
- package/dist/lib/export-image.d.ts.map +1 -1
- package/dist/lib/symbol-scale.d.ts +16 -0
- package/dist/lib/symbol-scale.d.ts.map +1 -0
- package/dist/model/binding.d.ts +57 -0
- package/dist/model/binding.d.ts.map +1 -0
- package/dist/model/index.d.ts +2 -1
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/types.d.ts +26 -0
- package/dist/model/types.d.ts.map +1 -1
- package/dist/runtime/bindings.d.ts +49 -0
- package/dist/runtime/bindings.d.ts.map +1 -0
- package/dist/runtime/runtime-context.d.ts +18 -0
- package/dist/runtime/runtime-context.d.ts.map +1 -0
- package/dist/runtime/tag-source.d.ts +23 -0
- package/dist/runtime/tag-source.d.ts.map +1 -0
- package/dist/sldeditor.cjs +58 -58
- package/dist/sldeditor.cjs.map +1 -1
- package/dist/sldeditor.js +7862 -7233
- package/dist/sldeditor.js.map +1 -1
- package/dist/store/context.d.ts +8 -0
- package/dist/store/context.d.ts.map +1 -0
- package/dist/store/index.d.ts +2 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/store.d.ts +14 -1
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- 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
|
|
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;
|
|
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;
|
|
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":"ElementLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"ElementLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoCH,wBAAgB,YAAY,4CA2G3B"}
|
|
@@ -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;
|
|
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;
|
|
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;
|
|
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"}
|
package/dist/canvas/index.d.ts
CHANGED
|
@@ -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;
|
|
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":"transform-attr.d.ts","sourceRoot":"","sources":["../../src/canvas/transform-attr.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,wBAAgB,aAAa,CAAC,CAAC,EAAE,iBAAiB,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"transform-attr.d.ts","sourceRoot":"","sources":["../../src/canvas/transform-attr.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,wBAAgB,aAAa,CAAC,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAM1D"}
|
|
@@ -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
|
|
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,
|
|
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"}
|
|
@@ -10,6 +10,9 @@ export interface ResolvedPlacement {
|
|
|
10
10
|
at: [number, number];
|
|
11
11
|
rot: 0 | 90 | 180 | 270;
|
|
12
12
|
mirror: boolean;
|
|
13
|
+
/** Symbol size factor, already clamped. Optional so the many literal
|
|
14
|
+
* placements built by auto-layout stay valid; absent = 1. */
|
|
15
|
+
scale?: number;
|
|
13
16
|
}
|
|
14
17
|
/** Bus geometry resolved at compile time. `axis` derived from `rot`. */
|
|
15
18
|
export interface BusGeometry {
|
|
@@ -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;
|
|
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;AAIlB,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;IAChB;kEAC8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;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;IAC1B;;;;;;;;;;OAUG;IACH,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CAC5C;AAED,wBAAgB,kBAAkB,IAAI,aAAa,CAclD;AAED,wBAAgB,gBAAgB,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,iBAAiB,CASjE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAEjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../src/compiler/transforms.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../src/compiler/transforms.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,wBAAgB,cAAc,CAC5B,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACvB,CAAC,EAAE,iBAAiB,GACnB,CAAC,MAAM,EAAE,MAAM,CAAC,CAmBlB;AAgBD,wBAAgB,oBAAoB,CAClC,CAAC,EAAE,WAAW,EACd,CAAC,EAAE,iBAAiB,GACnB,WAAW,CAKb;AAED,yEAAyE;AACzE,wBAAgB,cAAc,CAAC,CAAC,EAAE,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAW/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoCH,wBAAgB,aAAa,
|
|
1
|
+
{"version":3,"file":"PropertyPanel.d.ts","sourceRoot":"","sources":["../../src/components/PropertyPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAoCH,wBAAgB,aAAa,mDAiG5B"}
|
|
@@ -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.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>>;
|
|
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.size" | "props.sizeReset" | "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,
|
|
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,OA+QhB,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.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>>;
|
|
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.size" | "props.sizeReset" | "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,
|
|
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,OA+QhB,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.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>>;
|
|
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.size" | "props.sizeReset" | "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,
|
|
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,OA4PhB,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.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>>;
|
|
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.size" | "props.sizeReset" | "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,
|
|
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,OA+QhB,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.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>>;
|
|
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.size" | "props.sizeReset" | "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,
|
|
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,OA+QhB,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.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>>;
|
|
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.size" | "props.sizeReset" | "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,
|
|
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,OA4PhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAkN1C,CAAC;;;;;AAEF,wBAA+B"}
|