-
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.
Merged in feature/SHIBUI-1760 (pull request #466)
Feature/SHIBUI-1760
- Loading branch information
Showing
42 changed files
with
911 additions
and
446 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Action } from '@ngrx/store'; | ||
|
||
export enum EditorActionTypes { | ||
UPDATE_STATUS = '[Filter Editor] Update Status', | ||
CLEAR = '[Filter Editor] Clear' | ||
} | ||
|
||
export class UpdateStatus implements Action { | ||
readonly type = EditorActionTypes.UPDATE_STATUS; | ||
|
||
constructor(public payload: { [key: string]: string }) { } | ||
} | ||
|
||
export class ClearEditor implements Action { | ||
readonly type = EditorActionTypes.CLEAR; | ||
} | ||
|
||
export type EditorActionUnion = | ||
| UpdateStatus | ||
| ClearEditor; |
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
16 changes: 16 additions & 0 deletions
16
ui/src/app/metadata/filter/container/edit-filter-step.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<ng-container *ngIf="definition$ | async"> | ||
<div class="alert alert-danger d-flex justify-content-between font-weight-bold mb-3" *ngIf="(step$ | async).locked"> | ||
<span class="d-flex justify-content-between"> | ||
<toggle-switch id="toggle" [formControl]="lock"></toggle-switch> | ||
<span class="p-1">{{ lock.value ? 'Locked' : 'Unlocked' }}</span> | ||
</span> | ||
<span class="p-1">For Advanced Knowledge Only</span> | ||
</div> | ||
<sf-form | ||
[schema]="schema$ | async" | ||
[model]="model$ | async" | ||
[validators]="validators$ | async" | ||
[bindings]="bindings$ | async" | ||
(onChange)="valueChangeSubject.next($event)" | ||
(onErrorChange)="statusChangeSubject.next($event)"></sf-form> | ||
</ng-container> |
Oops, something went wrong.