Skip to content
Open
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
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/distribution/main.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@openscd/open-scd/src/open-scd.js';
import '@openscd/open-scd/src/open-scd.component.js';
33 changes: 29 additions & 4 deletions packages/openscd/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compas-oscd/open-scd",
"version": "0.34.0",
"version": "0.34.43",
"repository": "https://github.com/openscd/open-scd.git",
"directory": "packages/openscd",
"description": "A bottom-up substation configuration designer for projects described using SCL `IEC 61850-6` Edition 2 or greater.",
Expand All @@ -18,9 +18,36 @@
"module": "open-scd.js",
"type": "module",
"files": [
"./build/**"
"./dist/**"
],
"exports": {
".": "./dist/index.js",
"./dist/plugin.js": "./dist/plugin.js",
"./dist/plugin-tag.js": "./dist/plugin-tag.js",
"./dist/foundation/nsdoc.js": "./dist/foundation/nsdoc.js",
"./dist/plugin.events.js": "./dist/plugin.events.js",
"./dist/foundation.js": "./dist/foundation.js",
"./dist/schemas.js": "./dist/schemas.js",
"./addons/Waiter.js": "./dist/addons/Waiter.js",
"./addons/Settings.js": "./dist/addons/Settings.js",
"./dist/addons/Layout.js": "./dist/addons/Layout.js",
"./dist/addons/History.js": "./dist/addons/History.js",
"./addons/Editor.js": "./dist/addons/Editor.js",
"./addons/Wizards.js": "./dist/addons/Wizards.js",
"./dist/action-pane.js": "./dist/action-pane.js",
"./dist/action-icon.js": "./dist/action-icon.js",
"./dist/plain-compare-list.js": "./dist/plain-compare-list.js",
"./filtered-list.js": "./dist/filtered-list.js",
"./dist/wizard-textfield.js": "./dist/wizard-textfield.js",
"./dist/wizard-checkbox.js": "./dist/wizard-checkbox.js",
"./dist/wizard-select.js": "./dist/wizard-select.js",
"./dist/WizardDivider.js": "./dist/WizardDivider.js",
"./dist/oscd-filter-button.js": "./dist/oscd-filter-button.js",
"TODO:": "Open scd base class and web component"
},
"dependencies": {
"@compas-oscd/core": "^0.1.23",
"@compas-oscd/xml": "^0.0.1",
"@material/mwc-dialog": "0.22.1",
"@material/mwc-drawer": "0.22.1",
"@material/mwc-fab": "0.22.1",
Expand All @@ -40,8 +67,6 @@
"@material/mwc-textfield": "0.22.1",
"@material/mwc-top-app-bar-fixed": "0.22.1",
"@openscd/oscd-api": "^0.1.5",
"@openscd/core": "npm:@compas-oscd/core@*",
"@openscd/xml": "npm:@compas-oscd/xml@*",
"ace-custom-element": "^1.6.5",
"lit": "^2.2.7",
"lit-translate": "^1.2.1",
Expand Down
56 changes: 0 additions & 56 deletions packages/openscd/src/Wizarding.ts

This file was deleted.

2 changes: 1 addition & 1 deletion packages/openscd/src/action-pane.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
property,
TemplateResult,
} from 'lit-element';
import { classMap } from 'lit-html/directives/class-map';
import { classMap } from 'lit-html/directives/class-map.js';

import '@material/mwc-icon';
import { nothing } from 'lit-html';
Expand Down
12 changes: 6 additions & 6 deletions packages/openscd/src/addons/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
newEditEvent,
newEditEventV2,
XMLEditor
} from '@openscd/core';
} from '@compas-oscd/core';
import {
property,
LitElement,
Expand All @@ -17,11 +17,11 @@ import { get } from 'lit-translate';
import {
EditorAction,
EditorActionEvent,
} from '@openscd/core/foundation/deprecated/editor.js';
} from '@compas-oscd/core';

import { newLogEvent } from '@openscd/core/foundation/deprecated/history.js';
import { newValidateEvent } from '@openscd/core/foundation/deprecated/validation.js';
import { OpenDocEvent } from '@openscd/core/foundation/deprecated/open-event.js';
import { newLogEvent } from '@compas-oscd/core';
import { newValidateEvent } from '@compas-oscd/core';
import { OpenDocEvent } from '@compas-oscd/core';

import {
Edit,
Expand All @@ -30,7 +30,7 @@ import {
isInsert,
isRemove,
isUpdate,
} from '@openscd/core';
} from '@compas-oscd/core';

import { convertEditActiontoV1 } from './editor/edit-action-to-v1-converter.js';
import { convertEditV1toV2 } from './editor/edit-v1-to-v2-converter.js';
Expand Down
6 changes: 3 additions & 3 deletions packages/openscd/src/addons/History.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ import {
LogEntry,
LogEntryType,
LogEvent,
} from '@openscd/core/foundation/deprecated/history.js';
} from '@compas-oscd/core';

import { getFilterIcon, iconColors } from '../icons/icons.js';

import { Plugin } from '../plugin.js';
import { XMLEditor } from '@openscd/core';
import { XMLEditor } from '@compas-oscd/core';

import { getLogText } from './history/get-log-text.js';

Expand Down Expand Up @@ -366,7 +366,7 @@ export class OscdHistory extends LitElement {
</mwc-list-item>`;
}

private renderIssueEntry(issue: IssueDetail): TemplateResult {
protected renderIssueEntry(issue: IssueDetail): TemplateResult {
return html` <abbr title="${issue.title + '\n' + issue.message}"
><mwc-list-item ?twoline=${!!issue.message}>
<span> ${issue.title}</span>
Expand Down
Loading
Loading