- 
                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
      50 changed files
      with
      493 additions
      and
      142 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
    
  
  
    
              
              
        
          
            14 changes: 14 additions & 0 deletions
          
          14 
        
  ui/src/app/metadata/configuration/component/editor.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,14 @@ | ||
| <div class="alert alert-danger d-flex justify-content-between font-weight-bold mb-3" *ngIf="lockable"> | ||
| <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" | ||
| [model]="model" | ||
| [validators]="validators" | ||
| [bindings]="bindings" | ||
| (onChange)="change.emit($event.value)" | ||
| (onError)="status.emit($event)"></sf-form> | 
        
          
            26 changes: 26 additions & 0 deletions
          
          26 
        
  ui/src/app/metadata/configuration/component/editor.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,26 @@ | ||
| import { Component, Input, Output, EventEmitter } from '@angular/core'; | ||
| import { FormControl } from '@angular/forms'; | ||
| import { Metadata } from '../../domain/domain.type'; | ||
|  | ||
|  | ||
| @Component({ | ||
| selector: 'metadata-editor', | ||
| templateUrl: './editor.component.html', | ||
| styleUrls: [] | ||
| }) | ||
| export class MetadataEditorComponent { | ||
|  | ||
| @Input() schema: any; | ||
| @Input() bindings: any; | ||
| @Input() validators: { [key: string]: any }; | ||
| @Input() model: Metadata; | ||
| @Input() lockable: boolean; | ||
|  | ||
| @Output() change: EventEmitter<any> = new EventEmitter(); | ||
| @Output() status: EventEmitter<any> = new EventEmitter(); | ||
|  | ||
| lock: FormControl = new FormControl(true); | ||
|  | ||
| constructor() {} | ||
| } | ||
|  | 
            File renamed without changes.
          
    
            File renamed without changes.
          
    
  
    
      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
    
  
  
    
              
              
        
          
            6 changes: 3 additions & 3 deletions
          
          6 
        
  ...ion/component/array-property.component.ts → ...nent/property/array-property.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
    
  
  
    
              
              
  
    
      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
    
  
  
    
              
              
        
          
            2 changes: 1 addition & 1 deletion
          
          2 
        
  ...onent/configuration-property.component.ts → ...perty/configuration-property.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
    
  
  
    
              
              
            File renamed without changes.
          
    
  
    
      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
    
  
  
    
              
              
        
          
            2 changes: 1 addition & 1 deletion
          
          2 
        
  ...onent/filter-target-property.component.ts → ...perty/filter-target-property.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
    
  
  
    
              
              
            File renamed without changes.
          
    
  
    
      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
    
  
  
    
              
              
        
          
            2 changes: 1 addition & 1 deletion
          
          2 
        
  ...on/component/object-property.component.ts → ...ent/property/object-property.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
    
  
  
    
              
              
            File renamed without changes.
          
    
  
    
      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
    
  
  
    
              
              
            File renamed without changes.
          
    
  
    
      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
    
  
  
    
              
              
        
          
            6 changes: 6 additions & 0 deletions
          
          6 
        
  ui/src/app/metadata/configuration/container/restore-edit-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,6 @@ | ||
| <metadata-editor | ||
| [schema]="schema$ | async" | ||
| [model]="model$ | async" | ||
| [validators]="validators$ | async" | ||
| (change)="onChange($event)" | ||
| ></metadata-editor> | 
      
      Oops, something went wrong.