Skip to content

Commit d427ca4

Browse files
JakobVogelsangca-d
andauthored
feat(communicationmapping): move to ied-editor (#270)
* feat(communicationmapping): move to ied-editor * test(communication mapping): adapt tests * style(zeroline-pane): improve styling * refactor(communication mappings): improve code * refactor: remove unused consol messages * test(Substation,Communication): fix scd import * refactor(communication mapping): seperate ClientLN disconnect and connect * refactor(zeroline-pane): remove async iedcontainer loading * reafctor: minor improvements * feat(substation-editor): add move and dublicate functionality * test(zeroline-pane): update snapshots and fix tests * style(zeroline-pane): use link icon foc comMap * test(zeroline-pane): update snapshots Co-authored-by: Christian Dinkel <[email protected]>
1 parent 4394ef2 commit d427ca4

30 files changed

+2141
-909
lines changed

__snapshots__/clientln wizards.md

Lines changed: 409 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
# `communication mapping wizard`
2+
3+
#### `looks like the latest snapshot`
4+
5+
```html
6+
<mwc-dialog
7+
defaultaction="close"
8+
heading="[commmap.title]"
9+
open=""
10+
>
11+
<div id="wizard-content">
12+
<filtered-list>
13+
<mwc-list-item
14+
graphic="icon"
15+
hasmeta=""
16+
mwc-list-item=""
17+
twoline=""
18+
>
19+
<span>
20+
IED1
21+
<mwc-icon style="--mdc-icon-size: 1em;">
22+
trending_flat
23+
</mwc-icon>
24+
IED3
25+
</span>
26+
<span slot="secondary">
27+
Disconnectors> XSWI 2>ReportCb
28+
</span>
29+
<span
30+
slot="meta"
31+
style="padding-left: 10px"
32+
>
33+
2
34+
</span>
35+
<mwc-icon slot="graphic">
36+
</mwc-icon>
37+
</mwc-list-item>
38+
<mwc-list-item
39+
graphic="icon"
40+
hasmeta=""
41+
mwc-list-item=""
42+
twoline=""
43+
>
44+
<span>
45+
IED2
46+
<mwc-icon style="--mdc-icon-size: 1em;">
47+
trending_flat
48+
</mwc-icon>
49+
IED1
50+
</span>
51+
<span slot="secondary">
52+
CBSW> XSWI 2>ReportCb
53+
</span>
54+
<span
55+
slot="meta"
56+
style="padding-left: 10px"
57+
>
58+
3
59+
</span>
60+
<mwc-icon slot="graphic">
61+
</mwc-icon>
62+
</mwc-list-item>
63+
<mwc-list-item
64+
graphic="icon"
65+
hasmeta=""
66+
mwc-list-item=""
67+
twoline=""
68+
>
69+
<span>
70+
IED2
71+
<mwc-icon style="--mdc-icon-size: 1em;">
72+
trending_flat
73+
</mwc-icon>
74+
IED3
75+
</span>
76+
<span slot="secondary">
77+
CBSW> XSWI 2>ReportCb
78+
</span>
79+
<span
80+
slot="meta"
81+
style="padding-left: 10px"
82+
>
83+
1
84+
</span>
85+
<mwc-icon slot="graphic">
86+
</mwc-icon>
87+
</mwc-list-item>
88+
<mwc-list-item
89+
graphic="icon"
90+
hasmeta=""
91+
mwc-list-item=""
92+
twoline=""
93+
>
94+
<span>
95+
IED3
96+
<mwc-icon style="--mdc-icon-size: 1em;">
97+
trending_flat
98+
</mwc-icon>
99+
IED1
100+
</span>
101+
<span slot="secondary">
102+
MU01>MSVCB01
103+
</span>
104+
<span
105+
slot="meta"
106+
style="padding-left: 10px"
107+
>
108+
14
109+
</span>
110+
<mwc-icon slot="graphic">
111+
</mwc-icon>
112+
</mwc-list-item>
113+
<mwc-list-item
114+
graphic="icon"
115+
hasmeta=""
116+
mwc-list-item=""
117+
twoline=""
118+
>
119+
<span>
120+
IED2
121+
<mwc-icon style="--mdc-icon-size: 1em;">
122+
trending_flat
123+
</mwc-icon>
124+
IED1
125+
</span>
126+
<span slot="secondary">
127+
CBSW>GCB
128+
</span>
129+
<span
130+
slot="meta"
131+
style="padding-left: 10px"
132+
>
133+
2
134+
</span>
135+
<mwc-icon slot="graphic">
136+
</mwc-icon>
137+
</mwc-list-item>
138+
<mwc-list-item
139+
graphic="icon"
140+
hasmeta=""
141+
mwc-list-item=""
142+
twoline=""
143+
>
144+
<span>
145+
IED1
146+
<mwc-icon style="--mdc-icon-size: 1em;">
147+
trending_flat
148+
</mwc-icon>
149+
IED2
150+
</span>
151+
<span slot="secondary">
152+
CircuitBreaker_CB1>GCB
153+
</span>
154+
<span
155+
slot="meta"
156+
style="padding-left: 10px"
157+
>
158+
4
159+
</span>
160+
<mwc-icon slot="graphic">
161+
</mwc-icon>
162+
</mwc-list-item>
163+
</filtered-list>
164+
</div>
165+
<mwc-button
166+
dialogaction="close"
167+
label="[cancel]"
168+
slot="secondaryAction"
169+
style="--mdc-theme-primary: var(--mdc-theme-error)"
170+
>
171+
</mwc-button>
172+
</mwc-dialog>
173+
174+
```
175+

__snapshots__/open-scd.md

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -238,24 +238,6 @@
238238
<mwc-linear-progress indeterminate="">
239239
</mwc-linear-progress>
240240
</mwc-list-item>
241-
<mwc-list-item
242-
aria-disabled="true"
243-
class="middle"
244-
disabled=""
245-
graphic="icon"
246-
iconid="sync_alt"
247-
mwc-list-item=""
248-
tabindex="-1"
249-
>
250-
<mwc-icon slot="graphic">
251-
sync_alt
252-
</mwc-icon>
253-
<span>
254-
Communication Mapping
255-
</span>
256-
<mwc-linear-progress indeterminate="">
257-
</mwc-linear-progress>
258-
</mwc-list-item>
259241
<li
260242
divider=""
261243
padded=""
@@ -734,22 +716,6 @@
734716
</mwc-icon>
735717
Update Substation
736718
</mwc-check-list-item>
737-
<mwc-check-list-item
738-
aria-disabled="false"
739-
class="official"
740-
graphic="control"
741-
hasmeta=""
742-
left=""
743-
mwc-list-item=""
744-
selected=""
745-
tabindex="-1"
746-
value="/src/menu/CommunicationMapping.js"
747-
>
748-
<mwc-icon slot="meta">
749-
sync_alt
750-
</mwc-icon>
751-
Communication Mapping
752-
</mwc-check-list-item>
753719
<li
754720
divider=""
755721
inset=""

0 commit comments

Comments
 (0)