-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
421 additions
and
218 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
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
40 changes: 40 additions & 0 deletions
40
ui/src/app/metadata/configuration/action/version.action.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,40 @@ | ||
import { Action } from '@ngrx/store'; | ||
import { Metadata } from '../../domain/domain.type'; | ||
import { VersionRequest } from '../model/request'; | ||
|
||
export enum VersionActionTypes { | ||
SELECT_VERSION_SUCCESS = '[Version] Select Version Success', | ||
SELECT_VERSION_ERROR = '[Version] Select Version Error', | ||
SELECT_VERSION_REQUEST = '[Version] Select Version Request', | ||
|
||
CLEAR_VERSION = '[Version] Clear Versions' | ||
} | ||
|
||
export class SelectVersionRequest implements Action { | ||
readonly type = VersionActionTypes.SELECT_VERSION_REQUEST; | ||
|
||
constructor(public payload: VersionRequest) { } | ||
} | ||
|
||
export class SelectVersionSuccess implements Action { | ||
readonly type = VersionActionTypes.SELECT_VERSION_SUCCESS; | ||
|
||
constructor(public payload: Metadata) { } | ||
} | ||
export class SelectVersionError implements Action { | ||
readonly type = VersionActionTypes.SELECT_VERSION_ERROR; | ||
|
||
constructor(public payload: any) { } | ||
} | ||
|
||
export class ClearVersion implements Action { | ||
readonly type = VersionActionTypes.CLEAR_VERSION; | ||
|
||
constructor() { } | ||
} | ||
|
||
export type VersionActionsUnion = | ||
| SelectVersionRequest | ||
| SelectVersionError | ||
| SelectVersionSuccess | ||
| ClearVersion; |
6 changes: 4 additions & 2 deletions
6
ui/src/app/metadata/configuration/component/filter-configuration-list.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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, Input } from '@angular/core'; | ||
import { FilterListComponent } from '../../filter/component/filter-list.component'; | ||
|
||
@Component({ | ||
selector: 'filter-configuration-list', | ||
templateUrl: './filter-configuration-list.component.html' | ||
}) | ||
export class FilterConfigurationListComponent extends FilterListComponent { } | ||
export class FilterConfigurationListComponent extends FilterListComponent { | ||
@Input() editable = true; | ||
} |
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
3 changes: 1 addition & 2 deletions
3
ui/src/app/metadata/configuration/component/metadata-configuration.component.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
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
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
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
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
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
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
Oops, something went wrong.