Skip to content

Commit 35a4256

Browse files
author
Rob Tjalma
authored
Merge pull request #87 from com-pas/combine-menu-open-save
Combine CoMPAS Version of Open and Save with OpenSCD Standard menus.
2 parents 2c457e1 + 6c1b5ff commit 35a4256

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+921
-591
lines changed

__snapshots__/clientln wizards.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@
394394
icon=""
395395
label="[back]"
396396
slot="secondaryAction"
397+
style=""
397398
>
398399
</mwc-button>
399400
<mwc-button

__snapshots__/compas-divider.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# `compas-divider`
2+
3+
#### `looks like the latest snapshot`
4+
5+
```html
6+
<div role="separator">
7+
</div>
8+
9+
```
10+

__snapshots__/compas-loading.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
mwc-list-item=""
1010
tabindex="0"
1111
>
12-
[compas.loading]
12+
<i>
13+
[compas.loading]
14+
</i>
1315
</mwc-list-item>
1416
</mwc-list>
1517

__snapshots__/compas-open.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# `compas-open`
2+
3+
## `when-type-needs-to-be-selected`
4+
5+
#### `looks like the latest snapshot`
6+
7+
```html
8+
<compas-divider>
9+
</compas-divider>
10+
<section>
11+
<h3>
12+
[compas.open.localTitle]
13+
</h3>
14+
<input
15+
accept=".sed,.scd,.ssd,.isd,.iid,.cid,.icd"
16+
hidden=""
17+
id="scl-file"
18+
required=""
19+
type="file"
20+
>
21+
<mwc-button label="[compas.open.selectFileButton]">
22+
</mwc-button>
23+
</section>
24+
<compas-divider>
25+
</compas-divider>
26+
<section>
27+
<h3>
28+
[compas.open.compasTitle]
29+
</h3>
30+
<p>
31+
[compas.open.listSclTypes]
32+
</p>
33+
<compas-scltype-list>
34+
</compas-scltype-list>
35+
</section>
36+
37+
```
38+
39+
## `when-project-needs-to-be-selected`
40+
41+
#### `looks like the latest snapshot`
42+
43+
```html
44+
<compas-divider>
45+
</compas-divider>
46+
<section>
47+
<h3>
48+
[compas.open.localTitle]
49+
</h3>
50+
<input
51+
accept=".sed,.scd,.ssd,.isd,.iid,.cid,.icd"
52+
hidden=""
53+
id="scl-file"
54+
required=""
55+
type="file"
56+
>
57+
<mwc-button label="[compas.open.selectFileButton]">
58+
</mwc-button>
59+
</section>
60+
<compas-divider>
61+
</compas-divider>
62+
<section>
63+
<h3>
64+
[compas.open.compasTitle]
65+
</h3>
66+
<p>
67+
[compas.open.listScls]
68+
</p>
69+
<compas-scl-list>
70+
</compas-scl-list>
71+
<mwc-button
72+
icon="arrow_back"
73+
id="reselect-type"
74+
label="[compas.open.otherTypeButton]"
75+
>
76+
</mwc-button>
77+
</section>
78+
79+
```
80+

__snapshots__/compas-save-to.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

__snapshots__/compas-save.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# `compas-save`
2+
3+
## `still determining if document exists in CoMPAS`
4+
5+
#### `looks like the latest snapshot`
6+
7+
```html
8+
<compas-divider>
9+
</compas-divider>
10+
<section>
11+
<h3>
12+
[compas.save.localTitle]
13+
</h3>
14+
<mwc-button label="[compas.save.saveFileButton]">
15+
</mwc-button>
16+
</section>
17+
<compas-divider>
18+
</compas-divider>
19+
<section>
20+
<h3>
21+
[compas.save.compasTitle]
22+
</h3>
23+
<compas-loading>
24+
</compas-loading>
25+
</section>
26+
27+
```
28+
29+
## `new document in compas`
30+
31+
#### `looks like the latest snapshot`
32+
33+
```html
34+
<compas-divider>
35+
</compas-divider>
36+
<section>
37+
<h3>
38+
[compas.save.localTitle]
39+
</h3>
40+
<mwc-button label="[compas.save.saveFileButton]">
41+
</mwc-button>
42+
</section>
43+
<compas-divider>
44+
</compas-divider>
45+
<section>
46+
<h3>
47+
[compas.save.compasTitle]
48+
</h3>
49+
<mwc-textfield
50+
dialoginitialfocus=""
51+
id="name"
52+
label="[scl.name]"
53+
required=""
54+
value="station123.scd"
55+
>
56+
</mwc-textfield>
57+
<compas-scltype-radiogroup>
58+
</compas-scltype-radiogroup>
59+
<compas-comment>
60+
</compas-comment>
61+
</section>
62+
63+
```
64+
65+
## `existing document in compas`
66+
67+
#### `looks like the latest snapshot`
68+
69+
```html
70+
<compas-divider>
71+
</compas-divider>
72+
<section>
73+
<h3>
74+
[compas.save.localTitle]
75+
</h3>
76+
<mwc-button label="[compas.save.saveFileButton]">
77+
</mwc-button>
78+
</section>
79+
<compas-divider>
80+
</compas-divider>
81+
<section>
82+
<h3>
83+
[compas.save.compasTitle]
84+
</h3>
85+
<compas-changeset-radiogroup>
86+
</compas-changeset-radiogroup>
87+
<compas-comment>
88+
</compas-comment>
89+
</section>
90+
91+
```
92+

__snapshots__/compas-scl-list.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
mwc-list-item=""
2222
tabindex="0"
2323
>
24-
[compas.open.noScls]
24+
<i>
25+
[compas.noScls]
26+
</i>
2527
</mwc-list-item>
2628
</mwc-list>
2729

__snapshots__/compas-scltype-list.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
mwc-list-item=""
2222
tabindex="0"
2323
>
24-
[compas.open.noSclTypes]
24+
<i>
25+
[compas.noSclTypes]
26+
</i>
2527
</mwc-list-item>
2628
</mwc-list>
2729

__snapshots__/compas-scltype-radiogroup.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
mwc-list-item=""
2222
tabindex="0"
2323
>
24-
[compas.open.noSclTypes]
24+
<i>
25+
[compas.noSclTypes]
26+
</i>
2527
</mwc-list-item>
2628
</mwc-list>
2729

__snapshots__/compas-versions-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
tabindex="0"
1313
>
1414
<span style="color: var(--base1)">
15-
[compas.versions.noScls]
15+
[compas.noSclVersions]
1616
</span>
1717
</mwc-list-item>
1818
</mwc-list>
@@ -45,7 +45,7 @@
4545
tabindex="0"
4646
>
4747
<span style="color: var(--base1)">
48-
[compas.versions.noScls]
48+
[compas.noSclVersions]
4949
</span>
5050
</mwc-list-item>
5151
</mwc-list>

0 commit comments

Comments
 (0)