sldeditor 0.36.0 → 0.36.2
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/canvas/WirePreview.d.ts.map +1 -1
- package/dist/canvas/rail-branch.d.ts +17 -0
- package/dist/canvas/rail-branch.d.ts.map +1 -0
- package/dist/canvas/tools/SelectTool.d.ts.map +1 -1
- package/dist/canvas/wire-target-bus.d.ts +3 -0
- package/dist/canvas/wire-target-bus.d.ts.map +1 -1
- package/dist/model/library.d.ts +9 -0
- package/dist/model/library.d.ts.map +1 -1
- package/dist/sldeditor.cjs +62 -62
- package/dist/sldeditor.cjs.map +1 -1
- package/dist/sldeditor.js +6730 -6599
- package/dist/sldeditor.js.map +1 -1
- package/dist/store/series.d.ts +9 -5
- package/dist/store/series.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/store/series.d.ts
CHANGED
|
@@ -54,11 +54,15 @@ export interface SeriesCut {
|
|
|
54
54
|
export declare function splitWiresForSeries(d: DiagramFile, m: InternalModel, elementId: ElementId, cuts: SeriesCut[]): DiagramFile;
|
|
55
55
|
/**
|
|
56
56
|
* Close the conductors back up through every pole of the devices being
|
|
57
|
-
* deleted.
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
57
|
+
* deleted. Only in-line devices heal (`series` in the library: contacts,
|
|
58
|
+
* switches, fuses, breakers, terminals) — a coil, lamp or motor sits across
|
|
59
|
+
* a supply, and closing its gap would draw a short. A pole heals when each
|
|
60
|
+
* of its pins carries exactly one wire, both far ends survive the delete
|
|
61
|
+
* (and are not the same point), and the two sides are not two different
|
|
62
|
+
* named potentials (rail L and rail N, conductor L1 and L2): the two wires
|
|
63
|
+
* become one, keeping the label / colour and — when the router would draw
|
|
64
|
+
* it differently — the route the two halves made. Returns the wires to add;
|
|
65
|
+
* the caller removes the deleted devices' wires as usual.
|
|
62
66
|
*/
|
|
63
67
|
export declare function healSeries(d: DiagramFile, m: InternalModel, deleted: ReadonlySet<string>): Wire[];
|
|
64
68
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"series.d.ts","sourceRoot":"","sources":["../../src/store/series.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,YAAY,EAGZ,IAAI,EAEL,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"series.d.ts","sourceRoot":"","sources":["../../src/store/series.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,KAAK,EACV,WAAW,EACX,SAAS,EACT,YAAY,EAGZ,IAAI,EAEL,MAAM,UAAU,CAAC;AAMlB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAE3B,+EAA+E;AAC/E,MAAM,WAAW,IAAI;IACnB,+DAA+D;IAC/D,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,EAAE,CAAA;KAAE,CAAC;IAC1B,+BAA+B;IAC/B,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,EAAE,CAAA;KAAE,CAAC;IAC1B,qEAAqE;IACrE,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;CACjB;AAID;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,GAAG,EAAE,YAAY,EACjB,SAAS,EAAE,iBAAiB,EAC5B,OAAO,UAAO,GACb,IAAI,EAAE,CA4CR;AAcD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,aAAa,GAAG,EAAE,EAAE,CAShE;AAUD,oDAAoD;AACpD,MAAM,WAAW,SAAS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