Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobVogelsang committed Apr 10, 2024
1 parent 57aff09 commit 52fe9c0
Show file tree
Hide file tree
Showing 8 changed files with 12,724 additions and 1,581 deletions.
13 changes: 11 additions & 2 deletions plugins/scl-communication-editor/communication-mapping-editor.d.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
import { LitElement, TemplateResult } from 'lit';
import '@material/mwc-icon-button';
import '@material/mwc-icon-button-toggle';
import '@material/mwc-textfield';
import { Point } from './foundation/sldUtil.js';
import { IED, Connection } from './foundation/types.js';
export declare class CommunicationMappingEditor extends LitElement {
substation: Element;
gridSize: number;
links: Connection[];
connections: Connection[];
get ieds(): IED[];
filterReport: boolean;
filterGOOSE: boolean;
filterSMV: boolean;
selectedIed?: Element;
filterRcv: boolean;
filterSend: boolean;
sourceIEDFilter: string;
targetIEDFilter: string;
cbNameFilter: string;
showFilterBox: boolean;
editMode: boolean;
showLabel: boolean;
placing?: Element;
Expand All @@ -33,12 +38,16 @@ export declare class CommunicationMappingEditor extends LitElement {
placeElement(element: Element, x: number, y: number): void;
startPlacing(element: Element | undefined, offset?: Point): void;
onWheelZoom(evt: WheelEvent): void;
isConnectionFiltered(conn: Connection): boolean;
filterCbName(conn: Connection): boolean;
filterTargetIED(conn: Connection): boolean;
filterSourceIED(conn: Connection): boolean;
filterConnections(conn: Connection): boolean;
constructor();
renderedLabelPosition(element: Element): Point;
renderLabel(element: Element): TemplateResult<2>;
renderedPosition(element: Element): Point;
renderIED(ied: IED): TemplateResult<2>;
renderFilterBox(): TemplateResult;
renderService(controlBlock: string): TemplateResult[];
renderInfoBox(): TemplateResult;
render(): TemplateResult<1>;
Expand Down
2 changes: 2 additions & 0 deletions plugins/scl-communication-editor/foundation/utils.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare function inputReference(input: Element): string;
export declare function inputSupportingText(input: Element): string | undefined;
14 changes: 12 additions & 2 deletions plugins/scl-communication-editor/scl-communication-editor.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
import { LitElement } from 'lit';
import { LitElement, TemplateResult } from 'lit';
import '@material/mwc-dialog';
import '@material/mwc-button';
import type { Dialog } from '@material/mwc-dialog';
import '@openenergytools/filterable-lists/dist/action-list.js';
import './communication-mapping-editor.js';
import { Connection } from './foundation/types.js';
export default class SlcCommunicationEditor extends LitElement {
doc?: XMLDocument;
get substation(): Element | null;
gridSize: number;
editCount: number;
render(): import("lit-html").TemplateResult<1>;
selectedConnection?: Connection;
removeSelection: Dialog;
removeInputs(inputs: Element[]): void;
removeAllInputs(): void;
renderRemoveDialog(): TemplateResult;
render(): TemplateResult<1>;
static styles: import("lit").CSSResult;
}
14,268 changes: 12,695 additions & 1,573 deletions plugins/scl-communication-editor/scl-communication-editor.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/scl-communication-editor/testfiles.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sw.js

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

Loading

0 comments on commit 52fe9c0

Please sign in to comment.