Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[submodule "packages/external-plugins/oscd-publisher"]
path = packages/external-plugins/oscd-publisher
url = https://github.com/openenergytools/oscd-publisher
branch = gh-pages
[submodule "packages/external-plugins/oscd-plugins"]
path = packages/external-plugins/oscd-plugins
url = https://github.com/sprinteins/oscd-plugins
branch = gh-pages
1 change: 1 addition & 0 deletions packages/compas-open-scd/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<link href="/public/google/fonts/roboto-mono-v13.css" rel="stylesheet">
<!-- Original URL from Google: https://fonts.googleapis.com/css?family=Material+Icons+Outlined&display=block -->
<link href="/public/google/icons/material-icons-outlined.css" rel="stylesheet">
<link href="/public/google/icons/material-symbols-outlined.css" rel="stylesheet">
<link href="/public/css/normalize.css" rel="stylesheet">
<link rel="manifest" href="manifest.json" crossorigin="use-credentials">
<link rel="icon" type="image/png" sizes="16x16" href="public/favicon-16x16.png">
Expand Down
2 changes: 1 addition & 1 deletion packages/compas-open-scd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "compas-open-scd",
"version": "0.36.0-1",
"version": "0.36.0-2",
"repository": "https://github.com/openscd/open-scd.git",
"description": "OpenSCD CoMPAS Edition",
"directory": "packages/compas-open-scd",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* fallback */
@font-face {
font-family: 'Material Symbols Outlined';
font-style: normal;
font-weight: 400;
font-display: block;
src: url(material-symbols-outlined.woff2) format('woff2');
}

.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
Binary file not shown.
11 changes: 9 additions & 2 deletions packages/compas-open-scd/public/js/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,16 @@ export const officialPlugins = [
},
{
name: 'Publisher',
src: '/plugins/src/editors/Publisher.js',
src: '/external-plugins/oscd-publisher/oscd-publisher.js',
icon: 'publish',
default: false,
default: true,
kind: 'editor',
},
{
name: 'Communication Explorer',
src: '/external-plugins/oscd-plugins/communication-explorer/0.0.31/index.js',
icon: 'lan',
default: true,
kind: 'editor',
},
{
Expand Down
1 change: 1 addition & 0 deletions packages/compas-open-scd/snowpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default ({
mount: {
'../openscd/': '/openscd/',
'../plugins/': '/plugins/',
'../external-plugins/': '/external-plugins/',
"./": "/",
},
alias: {
Expand Down
1 change: 1 addition & 0 deletions packages/external-plugins/oscd-plugins
Submodule oscd-plugins added at 7f96ed
1 change: 1 addition & 0 deletions packages/external-plugins/oscd-publisher
Submodule oscd-publisher added at f01640
12 changes: 10 additions & 2 deletions packages/openscd/src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,17 @@ export const officialPlugins = [
},
{
name: 'Publisher',
src: generatePluginPath('plugins/src/editors/Publisher.js'),
src: generatePluginPath('external-plugins/oscd-publisher/oscd-publisher.js'),
icon: 'publish',
default: false,
default: true,
kind: 'editor',
requireDoc: true,
},
{
name: 'Communication Explorer',
src: generatePluginPath('external-plugins/oscd-plugins/communication-explorer/0.0.31/index.js'),
icon: 'lan',
default: true,
kind: 'editor',
requireDoc: true,
},
Expand Down