sldeditor 0.28.0 → 0.29.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/dist/OneLineEditor.d.ts +5 -1
- package/dist/OneLineEditor.d.ts.map +1 -1
- package/dist/canvas/CanvasSvg.d.ts.map +1 -1
- package/dist/canvas/HealthLayer.d.ts +11 -0
- package/dist/canvas/HealthLayer.d.ts.map +1 -0
- package/dist/components/HealthPanel.d.ts +8 -0
- package/dist/components/HealthPanel.d.ts.map +1 -0
- package/dist/components/ViewToolbar.d.ts.map +1 -1
- package/dist/health/check.d.ts +78 -0
- package/dist/health/check.d.ts.map +1 -0
- package/dist/health/index.d.ts +3 -0
- package/dist/health/index.d.ts.map +1 -0
- package/dist/health/present.d.ts +19 -0
- package/dist/health/present.d.ts.map +1 -0
- package/dist/health/roles.d.ts +42 -0
- package/dist/health/roles.d.ts.map +1 -0
- package/dist/health/use-health.d.ts +8 -0
- package/dist/health/use-health.d.ts.map +1 -0
- package/dist/hooks/use-host-actions.d.ts +11 -0
- package/dist/hooks/use-host-actions.d.ts.map +1 -1
- package/dist/hooks/use-panels.d.ts +8 -0
- package/dist/hooks/use-panels.d.ts.map +1 -1
- package/dist/i18n/library.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 +181 -9
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/model/types.d.ts +7 -0
- package/dist/model/types.d.ts.map +1 -1
- package/dist/sldeditor.cjs +63 -58
- package/dist/sldeditor.cjs.map +1 -1
- package/dist/sldeditor.js +7501 -6087
- package/dist/sldeditor.js.map +1 -1
- package/dist/store/store.d.ts +5 -0
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/OneLineEditor.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DiagramFile } from './model';
|
|
2
2
|
import { Locale } from './i18n';
|
|
3
3
|
import { Theme } from './hooks/use-theme';
|
|
4
|
+
import { HealthEvent } from './hooks/use-host-actions';
|
|
4
5
|
export interface OneLineEditorProps {
|
|
5
6
|
className?: string;
|
|
6
7
|
/** Initial DiagramFile to render. Re-renders when this reference changes. */
|
|
@@ -33,6 +34,9 @@ export interface OneLineEditorProps {
|
|
|
33
34
|
* the behaviour. Omit it and the button is not offered.
|
|
34
35
|
*/
|
|
35
36
|
onCreateComponent?: () => void;
|
|
37
|
+
/** Health-check interactions (opened an issue, marked one intentional,
|
|
38
|
+
* restored one), for host analytics. */
|
|
39
|
+
onHealthEvent?: (e: HealthEvent) => void;
|
|
36
40
|
}
|
|
37
|
-
export declare function OneLineEditor({ className, diagram, readOnly, locale, theme, onCreateComponent, }: OneLineEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare function OneLineEditor({ className, diagram, readOnly, locale, theme, onCreateComponent, onHealthEvent, }: OneLineEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
38
42
|
//# 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;
|
|
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;AAC3D,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5E,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;IAC/B;6CACyC;IACzC,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,OAAO,EACP,QAAQ,EACR,MAAM,EACN,KAAK,EACL,iBAAiB,EACjB,aAAa,GACd,EAAE,kBAAkB,2CAyDpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CanvasSvg.d.ts","sourceRoot":"","sources":["../../src/canvas/CanvasSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"CanvasSvg.d.ts","sourceRoot":"","sources":["../../src/canvas/CanvasSvg.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA+DH,wBAAgB,SAAS,4CAiTxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Health-check markers and load figures on the canvas.
|
|
3
|
+
*
|
|
4
|
+
* A small dot at the top-right of every device, bus or junction a warning is
|
|
5
|
+
* about (red for an error, amber for a warning); notes stay in the panel so
|
|
6
|
+
* the drawing is not peppered with dots for things that are probably fine.
|
|
7
|
+
* Transformers, UPSs and buses with load behind them get a short figure
|
|
8
|
+
* ("320 kW · 64%"). Canvas only: none of this reaches an export.
|
|
9
|
+
*/
|
|
10
|
+
export declare function HealthLayer(): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=HealthLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/HealthLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAaH,wBAAgB,WAAW,mDA4E1B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The checks panel: every health issue in one list, the load totals, and the
|
|
3
|
+
* "this is intentional" escape hatch. Opened from the view toolbar (badge =
|
|
4
|
+
* open problems) or by clicking a marker on the canvas.
|
|
5
|
+
*/
|
|
6
|
+
export declare function HealthMenuBtn(): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function HealthControls(): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=HealthPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthPanel.d.ts","sourceRoot":"","sources":["../../src/components/HealthPanel.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAoCH,wBAAgB,aAAa,4CA0D5B;AAgDD,wBAAgB,cAAc,4CAyK7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ViewToolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../src/components/ViewToolbar.tsx"],"names":[],"mappings":"AAohBA;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,2CAsErE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,mDAQ1B"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { DiagramFile } from '../model';
|
|
2
|
+
import { InternalModel } from '../compiler/internal-model';
|
|
3
|
+
export type HealthSeverity = 'error' | 'warning' | 'info';
|
|
4
|
+
export type HealthCode =
|
|
5
|
+
/** A device (or bus) with none of its terminals wired. */
|
|
6
|
+
'unwired'
|
|
7
|
+
/** A wire that ends at a junction nothing else reaches. */
|
|
8
|
+
| 'dangling-wire'
|
|
9
|
+
/** A wire ends on top of another connection point (a junction, a
|
|
10
|
+
* terminal, a busbar) without being joined to it: it looks connected on
|
|
11
|
+
* the drawing and is not. The CAD failure this check exists for. */
|
|
12
|
+
| 'looks-joined'
|
|
13
|
+
/** The supply is drawn but feeds (almost) nothing: most of the drawing
|
|
14
|
+
* has no path to it. Reported once, on the supply, instead of as dozens
|
|
15
|
+
* of separate islands. */
|
|
16
|
+
| 'supply-disconnected'
|
|
17
|
+
/** A series device whose supply side is open (a note: often the panel's
|
|
18
|
+
* incoming end on a drawing that shows no supply). */
|
|
19
|
+
| 'open-side'
|
|
20
|
+
/** A series device whose downstream side is open: the feeder ends here. */
|
|
21
|
+
| 'feeder-end'
|
|
22
|
+
/** Devices with no path to any supply (only when the drawing has one). */
|
|
23
|
+
| 'unsupplied'
|
|
24
|
+
/** The drawing has equipment but no supply symbol (diagram-level hint). */
|
|
25
|
+
| 'no-origin'
|
|
26
|
+
/** Buses of different voltage joined without a transformer. */
|
|
27
|
+
| 'voltage-mix'
|
|
28
|
+
/** Transformer ratio disagrees with the buses on its two sides. */
|
|
29
|
+
| 'ratio-mismatch'
|
|
30
|
+
/** A number in the device's name disagrees with its parameter. */
|
|
31
|
+
| 'label-mismatch'
|
|
32
|
+
/** Known downstream load already exceeds the rating. */
|
|
33
|
+
| 'overload';
|
|
34
|
+
export interface HealthIssue {
|
|
35
|
+
/** Stable across edits: code + the first target. Dismissals key on it. */
|
|
36
|
+
id: string;
|
|
37
|
+
code: HealthCode;
|
|
38
|
+
severity: HealthSeverity;
|
|
39
|
+
/** Element / bus ids the issue is about (first = where the marker goes). */
|
|
40
|
+
targets: string[];
|
|
41
|
+
/** Values for the message template. */
|
|
42
|
+
data?: Record<string, string | number>;
|
|
43
|
+
/** The user marked this as intentional (`meta.healthDismissed`). */
|
|
44
|
+
dismissed?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface LoadSummary {
|
|
47
|
+
/** Bus id, or element id for a transformer / UPS / busbar element. */
|
|
48
|
+
targetId: string;
|
|
49
|
+
targetType: 'bus' | 'element';
|
|
50
|
+
/** Sum over loads whose rating is known. */
|
|
51
|
+
knownKW: number;
|
|
52
|
+
knownKVA: number;
|
|
53
|
+
/** Loads with a known rating / all loads downstream. */
|
|
54
|
+
known: number;
|
|
55
|
+
total: number;
|
|
56
|
+
/** Rating in kVA when the target has one (transformer, UPS). */
|
|
57
|
+
ratingKVA?: number;
|
|
58
|
+
/** knownKVA / ratingKVA × 100, a lower bound when known < total. */
|
|
59
|
+
loadingPct?: number;
|
|
60
|
+
}
|
|
61
|
+
export interface HealthReport {
|
|
62
|
+
issues: HealthIssue[];
|
|
63
|
+
loads: LoadSummary[];
|
|
64
|
+
/** At least one origin (grid, generator, PV, battery…) on the drawing. */
|
|
65
|
+
hasOrigin: boolean;
|
|
66
|
+
/** The drawing has electrical content at all (elements or buses). */
|
|
67
|
+
hasModel: boolean;
|
|
68
|
+
}
|
|
69
|
+
/** Two nominal voltages (kV) belong to the same level. Covers the LV family
|
|
70
|
+
* (380 / 400 / 415 V) and phase vs line voltage of one system (230 / 400 V),
|
|
71
|
+
* which a single drawing legitimately mixes. */
|
|
72
|
+
export declare function sameVoltageLevel(a: number, b: number): boolean;
|
|
73
|
+
/** "10/0.4", "10kV/0.4kV", "11000/415", "13.8/0.48 kV" → [hv, lv] in kV.
|
|
74
|
+
* Unit-less numbers are read as kV unless ≥ 1000 — so "380/220" comes back
|
|
75
|
+
* as kV here, and the caller also tries it as volts. */
|
|
76
|
+
export declare function parseRatio(text: string): [number, number] | null;
|
|
77
|
+
export declare function checkHealth(diagram: DiagramFile, m: InternalModel): HealthReport;
|
|
78
|
+
//# sourceMappingURL=check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../src/health/check.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,UAAU,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAYhE,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1D,MAAM,MAAM,UAAU;AACpB,0DAA0D;AACxD,SAAS;AACX,2DAA2D;GACzD,eAAe;AACjB;;qEAEqE;GACnE,cAAc;AAChB;;2BAE2B;GACzB,qBAAqB;AACvB;uDACuD;GACrD,WAAW;AACb,2EAA2E;GACzE,YAAY;AACd,0EAA0E;GACxE,YAAY;AACd,2EAA2E;GACzE,WAAW;AACb,+DAA+D;GAC7D,aAAa;AACf,mEAAmE;GACjE,gBAAgB;AAClB,kEAAkE;GAChE,gBAAgB;AAClB,wDAAwD;GACtD,UAAU,CAAC;AAEf,MAAM,WAAW,WAAW;IAC1B,0EAA0E;IAC1E,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,cAAc,CAAC;IACzB,4EAA4E;IAC5E,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,uCAAuC;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,KAAK,GAAG,SAAS,CAAC;IAC9B,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,0EAA0E;IAC1E,SAAS,EAAE,OAAO,CAAC;IACnB,qEAAqE;IACrE,QAAQ,EAAE,OAAO,CAAC;CACnB;AAaD;;iDAEiD;AACjD,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAI9D;AAED;;yDAEyD;AACzD,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAkBhE;AAqFD,wBAAgB,WAAW,CAAC,OAAO,EAAE,WAAW,EAAE,CAAC,EAAE,aAAa,GAAG,YAAY,CA8bhF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/health/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACpE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InternalModel } from '../compiler/internal-model';
|
|
2
|
+
import { LocaleKey } from '../i18n';
|
|
3
|
+
import { HealthIssue } from './check';
|
|
4
|
+
type T = (key: LocaleKey, params?: Record<string, string | number>) => string;
|
|
5
|
+
/** Display name: the device's own name (first line), else its id. */
|
|
6
|
+
export declare function targetName(internal: InternalModel, id: string): string;
|
|
7
|
+
export declare function issueText(t: T, internal: InternalModel, issue: HealthIssue): string;
|
|
8
|
+
/** World bounding box of an element, bus or junction, or null. */
|
|
9
|
+
export declare function targetBox(internal: InternalModel, id: string): {
|
|
10
|
+
minX: number;
|
|
11
|
+
minY: number;
|
|
12
|
+
maxX: number;
|
|
13
|
+
maxY: number;
|
|
14
|
+
} | null;
|
|
15
|
+
/** Where an issue's marker sits: the top-right corner of its target. */
|
|
16
|
+
export declare function markerPoint(internal: InternalModel, id: string): [number, number] | null;
|
|
17
|
+
export declare function centerPoint(internal: InternalModel, id: string): [number, number] | null;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=present.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"present.d.ts","sourceRoot":"","sources":["../../src/health/present.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,MAAM,CAAC;AAE9E,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAMtE;AAKD,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,MAAM,CAgBnF;AAED,kEAAkE;AAClE,wBAAgB,SAAS,CACvB,QAAQ,EAAE,aAAa,EACvB,EAAE,EAAE,MAAM,GACT;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CA6BnE;AAED,wEAAwE;AACxE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAKxF;AAED,wBAAgB,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAGxF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What each library kind IS, electrically, for the health check.
|
|
3
|
+
*
|
|
4
|
+
* The library knows symbols, not circuits: there is no input/output flag on a
|
|
5
|
+
* terminal and no "this is a source" field on an entry. These tables supply
|
|
6
|
+
* exactly as much circuit knowledge as the checks need and no more, keyed by
|
|
7
|
+
* kind id so a custom kind (unknown here) is simply left out of every check
|
|
8
|
+
* except "not wired at all".
|
|
9
|
+
*/
|
|
10
|
+
/** Where power comes from. Converters with an input side (UPS, power supply,
|
|
11
|
+
* inverter) are NOT origins — they pass power through. */
|
|
12
|
+
export declare const ORIGIN_KINDS: ReadonlySet<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Two-sided devices that sit IN a conductor. One side wired and the other
|
|
15
|
+
* open is worth a look; both wired is the normal state. Pairs are the pins
|
|
16
|
+
* that must both be connected for current to pass.
|
|
17
|
+
*/
|
|
18
|
+
export declare const SERIES_PINS: Readonly<Record<string, readonly [string, string]>>;
|
|
19
|
+
/**
|
|
20
|
+
* Devices that change voltage. They carry power (so they do not break the
|
|
21
|
+
* "is it supplied?" walk) but they bound a voltage zone: two buses on either
|
|
22
|
+
* side of one may legitimately differ.
|
|
23
|
+
*/
|
|
24
|
+
export declare const VOLTAGE_BOUNDARY_KINDS: ReadonlySet<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Categories left out of the supply walk. Control circuits are routinely
|
|
27
|
+
* drawn without their supply on the same sheet, earthing is not a supply
|
|
28
|
+
* path, and relays/instruments are often placed next to the gear they watch
|
|
29
|
+
* without a wire — flagging any of these as "unsupplied" would be noise.
|
|
30
|
+
*/
|
|
31
|
+
export declare const OFF_SUPPLY_CATEGORIES: ReadonlySet<string>;
|
|
32
|
+
export declare const OFF_SUPPLY_KINDS: ReadonlySet<string>;
|
|
33
|
+
/** Single-pin auxiliaries routinely drawn unwired beside the gear they watch. */
|
|
34
|
+
export declare const UNWIRED_OK_KINDS: ReadonlySet<string>;
|
|
35
|
+
/** Loads: leaves of the supply graph, and what the roll-up adds up. */
|
|
36
|
+
export declare const LOAD_KINDS: ReadonlySet<string>;
|
|
37
|
+
/** Kinds whose rating the roll-up is measured against, and the param. */
|
|
38
|
+
export declare const RATED_KINDS: Readonly<Record<string, {
|
|
39
|
+
param: string;
|
|
40
|
+
toKVA: number;
|
|
41
|
+
}>>;
|
|
42
|
+
//# sourceMappingURL=roles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../src/health/roles.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;2DAC2D;AAC3D,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,MAAM,CAO3C,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAuB3E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,CAgBrD,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAW/C,CAAC;AAEH,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAoB/C,CAAC;AAEH,uEAAuE;AACvE,eAAO,MAAM,UAAU,EAAE,WAAW,CAAC,MAAM,CAUzC,CAAC;AAEH,yEAAyE;AACzE,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAGlF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DiagramFile } from '../model';
|
|
2
|
+
import { InternalModel } from '../compiler/internal-model';
|
|
3
|
+
import { HealthReport } from './check';
|
|
4
|
+
export declare function healthFor(diagram: DiagramFile, internal: InternalModel): HealthReport;
|
|
5
|
+
export declare function useHealth(): HealthReport;
|
|
6
|
+
/** Warnings and errors the user has not marked as intentional. */
|
|
7
|
+
export declare function openProblems(r: HealthReport): import('./check').HealthIssue[];
|
|
8
|
+
//# sourceMappingURL=use-health.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-health.d.ts","sourceRoot":"","sources":["../../src/health/use-health.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAe,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAIzD,wBAAgB,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,GAAG,YAAY,CAQrF;AAED,wBAAgB,SAAS,IAAI,YAAY,CAExC;AAED,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,CAAC,EAAE,YAAY,mCAE3C"}
|
|
@@ -19,6 +19,17 @@ export interface HostActions {
|
|
|
19
19
|
* and the palette simply does not offer the button.
|
|
20
20
|
*/
|
|
21
21
|
onCreateComponent: (() => void) | null;
|
|
22
|
+
/**
|
|
23
|
+
* Told when the user opens a health-check issue or marks one intentional /
|
|
24
|
+
* restores it, so a host can measure whether flagged problems get looked
|
|
25
|
+
* at and fixed. Absent = nobody listening.
|
|
26
|
+
*/
|
|
27
|
+
onHealthEvent: ((e: HealthEvent) => void) | null;
|
|
28
|
+
}
|
|
29
|
+
export interface HealthEvent {
|
|
30
|
+
type: 'open' | 'dismiss' | 'restore';
|
|
31
|
+
issueId: string;
|
|
32
|
+
code: string;
|
|
22
33
|
}
|
|
23
34
|
interface HostActionsState extends HostActions {
|
|
24
35
|
setHostActions: (actions: Partial<HostActions>) => void;
|
|
@@ -1 +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;
|
|
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;IACvC;;;;OAIG;IACH,aAAa,EAAE,CAAC,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;CAClD;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,gBAAiB,SAAQ,WAAW;IAC5C,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CACzD;AAED,eAAO,MAAM,cAAc,+EAIxB,CAAC"}
|
|
@@ -10,6 +10,14 @@ interface PanelState {
|
|
|
10
10
|
outlineOpen: boolean;
|
|
11
11
|
setOutlineOpen: (open: boolean) => void;
|
|
12
12
|
toggleOutline: () => void;
|
|
13
|
+
/** Show health-check markers and load figures on the canvas. Default on:
|
|
14
|
+
* the check is the point of the feature, and it can be switched off. */
|
|
15
|
+
healthMarkers: boolean;
|
|
16
|
+
setHealthMarkers: (on: boolean) => void;
|
|
17
|
+
/** Checks panel open, and the issue it should scroll to (a marker click). */
|
|
18
|
+
healthOpen: boolean;
|
|
19
|
+
healthFocus: string | null;
|
|
20
|
+
setHealthOpen: (open: boolean, focus?: string | null) => void;
|
|
13
21
|
}
|
|
14
22
|
export declare const usePanels: import('zustand').UseBoundStore<import('zustand').StoreApi<PanelState>>;
|
|
15
23
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-panels.d.ts","sourceRoot":"","sources":["../../src/hooks/use-panels.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"use-panels.d.ts","sourceRoot":"","sources":["../../src/hooks/use-panels.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAYH,UAAU,UAAU;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B;6EACyE;IACzE,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,6EAA6E;IAC7E,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,CAAC,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC/D;AA0BD,eAAO,MAAM,SAAS,yEAiBnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../src/i18n/library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../src/i18n/library.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA8ZH,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.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "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.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.introTitle" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "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,OAoUhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2P1C,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.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "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.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.introTitle" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "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,OAoUhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAsP1C,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.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "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.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.introTitle" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "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,OAiThB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA8O1C,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.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "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.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.introTitle" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "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,OAoUhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2P1C,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.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "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.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.introTitle" | "health.intro" | "health.introShow" | "health.introOk" | "health.loading" | "health.disclaimer" | "health.overloadUnits" | "health.code.unwired" | "health.code.looks-joined" | "health.code.dangling-wire" | "health.code.supply-disconnected" | "health.code.unsupplied" | "health.code.no-origin" | "health.code.voltage-mix" | "health.code.ratio-mismatch" | "health.code.label-mismatch" | "health.code.overload" | "health.code.feeder-end" | "health.code.open-side" | "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,OAoUhB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAwP1C,CAAC;;;;;AAEF,wBAA+B"}
|