Skip to content

Commit

Permalink
[VAS] Story 11586: add controls in ingest contract
Browse files Browse the repository at this point in the history
  • Loading branch information
laedanrex committed Aug 29, 2023
1 parent 24502b4 commit 1d48e32
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
*/
import { VitamuiIcons } from '../../vitamui-icons.enum';
import { unitTypeToVitamuiIcon } from '../index';
import { unitTypeToVitamuiIcon } from '../units';
import { FilingHoldingSchemeNode } from './node.interface';

export function nodeToVitamuiIcon(node: FilingHoldingSchemeNode): VitamuiIcons {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<form [formGroup]="form" (ngSubmit)="onSubmit()" (keydown.enter)="$event.preventDefault()">
<vitamui-common-stepper (selectionChange)="stepIndex = $event.selectedIndex">
<!-- STEP 1 - Informations : ID, nom, description -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -65,13 +66,17 @@ <h4>Informations</h4>
</div>
</div>
<div class="actions">
<button type="button" class="btn primary" cdkStepperNext
[disabled]="firstStepInvalid()">{{ 'COMMON.NEXT' | translate }}</button>
<button type="button" class="btn cancel" (click)="onCancel()">{{ 'COMMON.UNDO' | translate }}</button>
<button type="button" class="btn primary" cdkStepperNext [disabled]="firstStepInvalid()">
{{ 'COMMON.NEXT' | translate }}
</button>
<button type="button" class="btn cancel" (click)="onCancel()">
{{ 'COMMON.UNDO' | translate }}
</button>
</div>
</div>
</cdk-step>

<!-- STEP 2 - Informations : profiles d'archives, Contrat de gestion -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -122,6 +127,7 @@ <h4>Informations</h4>
</div>
</cdk-step>

<!-- STEP 2 - Format des fichiers : authorisés et identifiés -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -193,6 +199,7 @@ <h4>Format des fichiers</h4>
</div>
</cdk-step>

<!-- STEP 3 - Objets : binaire obligatoire et usage -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -258,6 +265,7 @@ <h4>Objets</h4>
</div>
</cdk-step>

<!-- STEP 4 - Héritage : calcul -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -290,6 +298,7 @@ <h4>Héritage</h4>
</div>
</cdk-step>

<!-- STEP 1 - Position de rattachement : selecteur -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -318,6 +327,7 @@ <h4>
</div>
</cdk-step>

<!-- STEP 1 - Contrôle des rattachements : selecteur -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
Expand Down Expand Up @@ -363,9 +373,10 @@ <h4>
</div>
</cdk-step>

<!-- STEP 1 - Contrôle des rattachements -->
<cdk-step>
<div class="content">
<h5>Création d'un contrat d'entrée</h5>
<h5>Contrôle des rattachements</h5>
<h4>
Contrôle des rattachements<i
class="material-icons field-tooltip"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { HttpHeaders, HttpParams } from '@angular/common/http';
import { Component, Inject, Input, OnDestroy, OnInit } from '@angular/core';
import { FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';
import '@angular/localize/init';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { MatSnackBar } from '@angular/material/snack-bar';
import { FileFormat, FilingPlanMode } from 'projects/vitamui-library/src/public-api';
import { Subscription } from 'rxjs';
Expand Down

0 comments on commit 1d48e32

Please sign in to comment.