-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugins UI: Placeholder for parser configurations
Placeholder for parser in session start view
- Loading branch information
1 parent
5c0911c
commit bcfc88d
Showing
6 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
application/client/src/app/ui/tabs/observe/parsers/general/plugin/component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { Component, Input } from '@angular/core'; | ||
import { Ilc, IlcInterface } from '@env/decorators/component'; | ||
import { Initial } from '@env/decorators/initial'; | ||
import { Observe } from '@platform/types/observe'; | ||
|
||
@Component({ | ||
selector: 'app-el-parser-plugin-general', | ||
templateUrl: './template.html', | ||
styleUrls: ['./styles.less'], | ||
}) | ||
@Initial() | ||
@Ilc() | ||
export class ParserPluginGeneralConfiguration { | ||
@Input() observe!: Observe; | ||
} | ||
|
||
export interface ParserPluginGeneralConfiguration extends IlcInterface {} |
14 changes: 14 additions & 0 deletions
14
application/client/src/app/ui/tabs/observe/parsers/general/plugin/module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { CommonModule } from '@angular/common'; | ||
import { MatCardModule } from '@angular/material/card'; | ||
import { MatDividerModule } from '@angular/material/divider'; | ||
|
||
import { ParserPluginGeneralConfiguration } from './component'; | ||
|
||
@NgModule({ | ||
imports: [CommonModule, MatCardModule, MatDividerModule], | ||
declarations: [ParserPluginGeneralConfiguration], | ||
exports: [ParserPluginGeneralConfiguration], | ||
bootstrap: [ParserPluginGeneralConfiguration], | ||
}) | ||
export class ParserPluginGeneralConfigurationModule {} |
8 changes: 8 additions & 0 deletions
8
application/client/src/app/ui/tabs/observe/parsers/general/plugin/styles.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import '../../../../../styles/variables.less'; | ||
|
||
:host { | ||
position: relative; | ||
display: block; | ||
width: 100%; | ||
overflow: hidden; | ||
} |
6 changes: 6 additions & 0 deletions
6
application/client/src/app/ui/tabs/observe/parsers/general/plugin/template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<mat-card> | ||
<mat-card-title>Plugin Parser</mat-card-title> | ||
<mat-card-content> | ||
<p>Placeholder for Plugin Parser</p> | ||
</mat-card-content> | ||
</mat-card> |
3 changes: 2 additions & 1 deletion
3
application/client/src/app/ui/tabs/observe/parsers/general/template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<app-tabs-observe-error-state [observe]="state.observe"></app-tabs-observe-error-state> | ||
<app-el-dlt-general *ngIf="state.observe.parser.configuration.Dlt !== undefined" [observe]="state.observe"></app-el-dlt-general> | ||
<app-el-someip-general *ngIf="state.observe.parser.configuration.SomeIp !== undefined" [observe]="state.observe"></app-el-someip-general> | ||
<app-el-text-general *ngIf="state.observe.parser.configuration.Text !== undefined" [observe]="state.observe"></app-el-text-general> | ||
<app-el-text-general *ngIf="state.observe.parser.configuration.Text !== undefined" [observe]="state.observe"></app-el-text-general> | ||
<app-el-parser-plugin-general *ngIf="state.observe.parser.configuration.Plugin !== undefined" [observe]="state.observe"></app-el-parser-plugin-general> |