sldeditor 0.28.0 → 0.30.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/ElementHoverLabel.d.ts.map +1 -1
- package/dist/canvas/HealthLayer.d.ts +13 -0
- package/dist/canvas/HealthLayer.d.ts.map +1 -0
- package/dist/canvas/fit-to-content.d.ts.map +1 -1
- package/dist/canvas/tools/SelectTool.d.ts.map +1 -1
- package/dist/canvas/wire-drag.d.ts +9 -0
- package/dist/canvas/wire-drag.d.ts.map +1 -1
- package/dist/components/HealthPanel.d.ts +10 -0
- package/dist/components/HealthPanel.d.ts.map +1 -0
- package/dist/components/ViewToolbar.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/components/ui/upward-popover.d.ts +5 -2
- package/dist/components/ui/upward-popover.d.ts.map +1 -1
- package/dist/health/check.d.ts +84 -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 +25 -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 +12 -0
- package/dist/hooks/use-host-actions.d.ts.map +1 -1
- package/dist/hooks/use-onboarding.d.ts +7 -0
- package/dist/hooks/use-onboarding.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 +3 -0
- 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 +213 -9
- package/dist/i18n/messages.d.ts.map +1 -1
- package/dist/index.d.ts +4 -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 +10322 -8588
- package/dist/sldeditor.js.map +1 -1
- package/dist/store/store.d.ts +14 -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ElementHoverLabel.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementHoverLabel.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAyBH,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ElementHoverLabel.d.ts","sourceRoot":"","sources":["../../src/canvas/ElementHoverLabel.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAyBH,wBAAgB,iBAAiB,uCAuGhC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 get a quiet hollow dot
|
|
6
|
+
* only while the checks panel is open, so the drawing is not peppered with
|
|
7
|
+
* dots for things that are probably fine; the issue picked in the panel gets
|
|
8
|
+
* a ring.
|
|
9
|
+
* Transformers, UPSs and buses with load behind them get a short figure
|
|
10
|
+
* ("320 kW · 64%"). Canvas only: none of this reaches an export.
|
|
11
|
+
*/
|
|
12
|
+
export declare function HealthLayer(): import("react/jsx-runtime").JSX.Element | null;
|
|
13
|
+
//# sourceMappingURL=HealthLayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthLayer.d.ts","sourceRoot":"","sources":["../../src/canvas/HealthLayer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAmBH,wBAAgB,WAAW,mDAwG1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fit-to-content.d.ts","sourceRoot":"","sources":["../../src/canvas/fit-to-content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,QAMrB,CAAC;AAEb,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC,GACvF,YAAY,GAAG,IAAI,CAarB;
|
|
1
|
+
{"version":3,"file":"fit-to-content.d.ts","sourceRoot":"","sources":["../../src/canvas/fit-to-content.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB,QAMrB,CAAC;AAEb,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC,CAAC,GACvF,YAAY,GAAG,IAAI,CAarB;AAiCD;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,OAAO,CAKtC;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAkC7E;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAavE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAOvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectTool.d.ts","sourceRoot":"","sources":["../../../src/canvas/tools/SelectTool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;
|
|
1
|
+
{"version":3,"file":"SelectTool.d.ts","sourceRoot":"","sources":["../../../src/canvas/tools/SelectTool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAqCH,OAAO,KAAK,EAAE,IAAI,EAAe,MAAM,SAAS,CAAC;AA+EjD,eAAO,MAAM,UAAU,EAAE,IA8nBxB,CAAC"}
|
|
@@ -25,4 +25,13 @@ export declare function worldTolAt(ctx: {
|
|
|
25
25
|
export declare function toWireTarget(t: DragTarget): WireTarget;
|
|
26
26
|
/** Same landing → the gesture is a no-op and should cancel. */
|
|
27
27
|
export declare function sameLanding(a: DragTarget, b: DragTarget): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The connection point a dragged junction was dropped on, by geometry (the
|
|
30
|
+
* junction itself is under the cursor, so a DOM hit would only find it): the
|
|
31
|
+
* nearest device pin within `worldTol`, else another junction, else a bus
|
|
32
|
+
* whose axis passes within `worldTol`. Points already on the junction's own
|
|
33
|
+
* node are skipped — dropping a wire's end back onto the pin it comes from
|
|
34
|
+
* is a move, not a join. Null when nothing is close enough.
|
|
35
|
+
*/
|
|
36
|
+
export declare function junctionLanding(jid: string, at: [number, number], worldTol: number): WireEnd | null;
|
|
28
37
|
//# sourceMappingURL=wire-drag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-drag.d.ts","sourceRoot":"","sources":["../../src/canvas/wire-drag.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD;iFACiF;AACjF,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,iFAAiF;AACjF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAwBD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAI7E;AAuBD;+EAC+E;AAC/E,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,OAAO,GAAG,IAAI,EACrB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACxB,QAAQ,EAAE,MAAM,GACf,UAAU,CA0BZ;AAED,8EAA8E;AAC9E,wBAAgB,UAAU,CACxB,GAAG,EAAE;IAAE,QAAQ,EAAE;QAAE,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAAA;CAAE,EAC9E,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,MAAM,CAIR;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,UAAU,CAOtD;AAED,+DAA+D;AAC/D,wBAAgB,WAAW,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAIjE"}
|
|
1
|
+
{"version":3,"file":"wire-drag.d.ts","sourceRoot":"","sources":["../../src/canvas/wire-drag.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD;iFACiF;AACjF,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,iFAAiF;AACjF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;CACjB;AAwBD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAI7E;AAuBD;+EAC+E;AAC/E,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,OAAO,GAAG,IAAI,EACrB,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACxB,QAAQ,EAAE,MAAM,GACf,UAAU,CA0BZ;AAED,8EAA8E;AAC9E,wBAAgB,UAAU,CACxB,GAAG,EAAE;IAAE,QAAQ,EAAE;QAAE,WAAW,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;KAAE,CAAA;CAAE,EAC9E,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,MAAM,CAIR;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,UAAU,CAOtD;AAED,+DAA+D;AAC/D,wBAAgB,WAAW,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAIjE;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EACpB,QAAQ,EAAE,MAAM,GACf,OAAO,GAAG,IAAI,CA2BhB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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({ onClose }?: {
|
|
8
|
+
onClose?: () => void;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# 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;AA0CH,wBAAgB,aAAa,4CA2E5B;AA+FD,wBAAgB,cAAc,CAAC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAO,2CAyNxE"}
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAOL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAWf,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,YAAY,CAAC;QACrB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC7B,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;QACjD,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;QACjD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;QACvC,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B,CAAC,CAAC;IACH,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAuB,GACxB,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAOL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAWf,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,YAAY,CAAC;QACrB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC7B,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;QACjD,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,YAAY,KAAK,IAAI,CAAC;QACjD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;QACvC,kBAAkB,CAAC,EAAE,MAAM,CAAC;KAC7B,CAAC,CAAC;IACH,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAuB,GACxB,EAAE,YAAY,2CAkHd"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare function UpwardPopover({ open, onOpenChange, trigger, children, }: {
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export declare function UpwardPopover({ open, onOpenChange, trigger, children, persistent, className, style, }: {
|
|
3
3
|
open: boolean;
|
|
4
4
|
onOpenChange: (next: boolean) => void;
|
|
5
5
|
trigger: ReactNode;
|
|
6
6
|
children: ReactNode;
|
|
7
|
+
persistent?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
7
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
11
|
//# sourceMappingURL=upward-popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upward-popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/upward-popover.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"upward-popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/upward-popover.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAqB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG9E,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,QAAQ,EACR,UAAkB,EAClB,SAAS,EACT,KAAK,GACN,EAAE;IACD,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,2CAmCA"}
|
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
* Other units (transformers / UPSs) feeding the same loads. The figures
|
|
62
|
+
* above are then this unit's share — by rating, or equal when a rating is
|
|
63
|
+
* missing — and `known` / `total` count the whole shared group.
|
|
64
|
+
*/
|
|
65
|
+
parallelWith?: string[];
|
|
66
|
+
}
|
|
67
|
+
export interface HealthReport {
|
|
68
|
+
issues: HealthIssue[];
|
|
69
|
+
loads: LoadSummary[];
|
|
70
|
+
/** At least one origin (grid, generator, PV, battery…) on the drawing. */
|
|
71
|
+
hasOrigin: boolean;
|
|
72
|
+
/** The drawing has electrical content at all (elements or buses). */
|
|
73
|
+
hasModel: boolean;
|
|
74
|
+
}
|
|
75
|
+
/** Two nominal voltages (kV) belong to the same level. Covers the LV family
|
|
76
|
+
* (380 / 400 / 415 V) and phase vs line voltage of one system (230 / 400 V),
|
|
77
|
+
* which a single drawing legitimately mixes. */
|
|
78
|
+
export declare function sameVoltageLevel(a: number, b: number): boolean;
|
|
79
|
+
/** "10/0.4", "10kV/0.4kV", "11000/415", "13.8/0.48 kV" → [hv, lv] in kV.
|
|
80
|
+
* Unit-less numbers are read as kV unless ≥ 1000 — so "380/220" comes back
|
|
81
|
+
* as kV here, and the caller also tries it as volts. */
|
|
82
|
+
export declare function parseRatio(text: string): [number, number] | null;
|
|
83
|
+
export declare function checkHealth(diagram: DiagramFile, m: InternalModel): HealthReport;
|
|
84
|
+
//# 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;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;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,CA8ehF"}
|
|
@@ -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,25 @@
|
|
|
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
|
+
/**
|
|
6
|
+
* Short display name: the device's own name (first line), else what it is
|
|
7
|
+
* ("Circuit breaker"), else its id. Ids like "e12" mean nothing to the user
|
|
8
|
+
* (10-25 walkthrough), and a click on the issue selects the device anyway.
|
|
9
|
+
*/
|
|
10
|
+
export declare function targetName(internal: InternalModel, id: string, t?: T): string;
|
|
11
|
+
/** Name plus what it is, for messages: "QF3 (Circuit breaker)". */
|
|
12
|
+
export declare function targetLabel(internal: InternalModel, id: string, t?: T): string;
|
|
13
|
+
export declare function issueText(t: T, internal: InternalModel, issue: HealthIssue): string;
|
|
14
|
+
/** World bounding box of an element, bus or junction, or null. */
|
|
15
|
+
export declare function targetBox(internal: InternalModel, id: string): {
|
|
16
|
+
minX: number;
|
|
17
|
+
minY: number;
|
|
18
|
+
maxX: number;
|
|
19
|
+
maxY: number;
|
|
20
|
+
} | null;
|
|
21
|
+
/** Where an issue's marker sits: the top-right corner of its target. */
|
|
22
|
+
export declare function markerPoint(internal: InternalModel, id: string): [number, number] | null;
|
|
23
|
+
export declare function centerPoint(internal: InternalModel, id: string): [number, number] | null;
|
|
24
|
+
export {};
|
|
25
|
+
//# 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;AAEzC,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;AAmB9E;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAK7E;AAED,mEAAmE;AACnE,wBAAgB,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAK9E;AAYD,wBAAgB,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,GAAG,MAAM,CAmBnF;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,18 @@ 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, ignores or restores one,
|
|
24
|
+
* or applies its one-click fix (`fix`: Connect on a wire end that only looks
|
|
25
|
+
* joined), so a host can measure whether flagged problems get looked at and
|
|
26
|
+
* fixed. Absent = nobody listening.
|
|
27
|
+
*/
|
|
28
|
+
onHealthEvent: ((e: HealthEvent) => void) | null;
|
|
29
|
+
}
|
|
30
|
+
export interface HealthEvent {
|
|
31
|
+
type: 'open' | 'dismiss' | 'restore' | 'fix';
|
|
32
|
+
issueId: string;
|
|
33
|
+
code: string;
|
|
22
34
|
}
|
|
23
35
|
interface HostActionsState extends HostActions {
|
|
24
36
|
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;;;;;OAKG;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,GAAG,KAAK,CAAC;IAC7C,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"}
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
interface OnboardingState {
|
|
9
9
|
dismissed: boolean;
|
|
10
10
|
dismiss: () => void;
|
|
11
|
+
/**
|
|
12
|
+
* Hide the card for this page load only, without remembering it: for a
|
|
13
|
+
* host that opens the editor with a purpose of its own (a ready-made
|
|
14
|
+
* example from a landing page), where "place a component" is beside the
|
|
15
|
+
* point — but a later blank visit should still get the card.
|
|
16
|
+
*/
|
|
17
|
+
hide: () => void;
|
|
11
18
|
reset: () => void;
|
|
12
19
|
}
|
|
13
20
|
export declare const useOnboarding: import('zustand').UseBoundStore<import('zustand').StoreApi<OnboardingState>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-onboarding.d.ts","sourceRoot":"","sources":["../../src/hooks/use-onboarding.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,UAAU,eAAe;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"use-onboarding.d.ts","sourceRoot":"","sources":["../../src/hooks/use-onboarding.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,UAAU,eAAe;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,eAAO,MAAM,aAAa,8EAWvB,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"}
|
package/dist/i18n/library.d.ts
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
* Key shape: `<entryId>.name`, `<entryId>.desc`, `<entryId>.state.<name>`,
|
|
10
10
|
* `<entryId>.param.<name>`.
|
|
11
11
|
*/
|
|
12
|
+
/** One-off lookup in the current locale (no re-render subscription): for
|
|
13
|
+
* code that composes text outside a component, e.g. health messages. */
|
|
14
|
+
export declare function libText(key: string, fallback?: string): string;
|
|
12
15
|
/** Returns a translator that re-renders on locale change. */
|
|
13
16
|
export declare function useLibT(): (key: string, fallback?: string) => string;
|
|
14
17
|
//# sourceMappingURL=library.d.ts.map
|
|
@@ -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;AA2aH;yEACyE;AACzE,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,6DAA6D;AAC7D,wBAAgB,OAAO,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,MAAM,CAGpE"}
|
|
@@ -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.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.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" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
|
|
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,OA4UhB,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.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.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" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
|
|
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,OA4UhB,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.defaultHint" | "props.note" | "props.label" | "props.labelPlaceholder" | "props.nodeNotFound" | "props.wireNotFound" | "props.nodeStats" | "props.selectElement" | "props.selectWholeNode" | "props.annText" | "props.annRect" | "props.annEllipse" | "props.annLine" | "props.annTable" | "props.annNotFound" | "props.annLabel" | "props.annLabelPlaceholder" | "props.color" | "props.size" | "props.sizeReset" | "props.labelShown" | "props.labelHidden" | "props.contactType" | "props.direction" | "props.directionOut" | "props.directionIn" | "props.partner" | "props.partnerUnnamed" | "props.partnerNone" | "props.partnerJump" | "health.title" | "health.hint" | "health.markers" | "health.none" | "health.sectionProblems" | "health.sectionNotes" | "health.sectionDismissed" | "health.sectionLoads" | "health.dismiss" | "health.connect" | "health.restore" | "health.loadKnown" | "health.loadAll" | "health.code.unwired-touching" | "health.bus" | "health.figurePartial" | "health.parallel" | "health.loadNone" | "health.label.unwired" | "health.label.looks-joined" | "health.label.dangling-wire" | "health.label.supply-disconnected" | "health.label.unsupplied" | "health.label.no-origin" | "health.label.voltage-mix" | "health.label.ratio-mismatch" | "health.label.label-mismatch" | "health.label.overload" | "health.label.feeder-end" | "health.label.open-side" | "health.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" | "cat.passive" | "cat.control" | "onboard.title" | "onboard.step1.title" | "onboard.step1.body" | "onboard.step2.title" | "onboard.step2.body" | "onboard.step3.title" | "onboard.step3.body" | "onboard.dismiss", string>>;
|
|
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,OAyThB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA8O1C,CAAC;;;;;AAEF,wBAA+B"}
|