Skip to content

Commit

Permalink
Merge branch 'develop' into feature/ALCS-1858-update-condition-pills
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarreta committed Dec 11, 2024
2 parents 34fa55a + 6f7f6ec commit 588615e
Show file tree
Hide file tree
Showing 23 changed files with 189 additions and 306 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div>
<div class="subheading2">
<div>
ALR Area Impacted
<ng-container *ngIf="component.applicationDecisionComponentTypeCode !== 'NARU'">(ha)</ng-container>
<ng-container *ngIf="component.applicationDecisionComponentTypeCode === 'NARU'">(m<sup>2</sup>)</ng-container>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Expiry Date</div>
{{ component.expiryDate | date }}
<app-no-data *ngIf="component.expiryDate === null || component.expiryDate === undefined"></app-no-data>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@
></app-no-data>
</div>

<div>
<div class="subheading2">Expiry Date</div>
{{ component.expiryDate | date }}
<app-no-data *ngIf="component.expiryDate === null || component.expiryDate === undefined"></app-no-data>
</div>
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
<ng-content></ng-content>

<div>
<div class="subheading2">Expiry Date</div>
{{ component.expiryDate | date }}
<app-no-data *ngIf="component.expiryDate === null || component.expiryDate === undefined"></app-no-data>
</div>

<div>
<div class="subheading2">Use End Date</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,3 @@
{{ component.nfuSubType }}
<app-no-data *ngIf="component.nfuSubType === null || component.nfuSubType === undefined"></app-no-data>
</div>
<div>
<div class="subheading2">Use End Date</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
<ng-content></ng-content>
<div></div>
<div>
<div class="subheading2">Use End Date (Placement of Fill)</div>
{{ component.endDate2 | date }}
<app-no-data *ngIf="component.endDate2 === null || component.endDate2 === undefined"></app-no-data>
</div>
<div>
<div class="subheading2">Use End Date (Removal of Soil)</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
<div class="full-width">
<div class="subheading2">Type of soil approved to be removed</div>
<div class="pre-wrapped-text">{{ component.soilTypeRemoved }}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Use End Date</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
<div class="full-width">
<div class="subheading2">Type, origin and quality of fill proposed to be placed</div>
<div class="pre-wrapped-text">{{ component.soilFillTypeToPlace }}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Use End Date</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
<div class="full-width">
<div class="subheading2">Type of soil approved to be removed</div>
<div class="pre-wrapped-text">{{ component.soilTypeRemoved }}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Expiry Date</div>
{{ component.expiryDate | date }}
<app-no-data *ngIf="component.expiryDate === null || component.expiryDate === undefined"></app-no-data>
</div>
<div>
<div class="subheading2">Total Number of Lots Approved</div>
{{ component.lots?.length }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ <h5>{{ data.applicationDecisionComponentType?.label }}</h5>
"
class="row-no-flex"
>
<app-expiry-date-input [form]="form"></app-expiry-date-input>
</div>

<div *ngIf="data.applicationDecisionComponentTypeCode === COMPONENT_TYPE.POFO" class="row-no-flex">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,47 +1,32 @@
<ng-container *ngIf="form">
<form [formGroup]="form">
<div class="grid">
<mat-form-field appearance="outline">
<mat-label>ALR Area Impacted (ha)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>
<mat-form-field appearance="outline" class="row">
<mat-label>ALR Area Impacted (ha)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>

<mat-form-field appearance="outline" class="date-picker">
<mat-label>Expiry Date</mat-label>
<input
matInput
(click)="expiryDatePicker.open()"
[matDatepicker]="expiryDatePicker"
formControlName="expiryDate"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="expiryDatePicker"></mat-datepicker-toggle>
<mat-datepicker #expiryDatePicker type="date"></mat-datepicker>
</mat-form-field>

<div class="full-width">
<mat-label class="toggle-label">Applicant Type*</mat-label>
<mat-button-toggle-group
required
id="isFirstNation"
formControlName="applicantType"
name="isFirstNation"
[ngClass]="{
'error-field-outlined': !form.controls['applicantType'].valid && form.controls['applicantType'].touched
}"
>
<mat-button-toggle value="Land Owner">Land Owner</mat-button-toggle>
<mat-button-toggle value="L/FNG Initiated">L/FNG Initiated</mat-button-toggle>
</mat-button-toggle-group>
</div>
<div class="full-width">
<mat-label class="toggle-label">Applicant Type*</mat-label>
<mat-button-toggle-group
required
id="isFirstNation"
formControlName="applicantType"
name="isFirstNation"
[ngClass]="{
'error-field-outlined': !form.controls['applicantType'].valid && form.controls['applicantType'].touched
}"
>
<mat-button-toggle value="Land Owner">Land Owner</mat-button-toggle>
<mat-button-toggle value="L/FNG Initiated">L/FNG Initiated</mat-button-toggle>
</mat-button-toggle-group>
</div>
</form>
</ng-container>
Original file line number Diff line number Diff line change
@@ -1,42 +1,14 @@
<form [formGroup]="form" class="nfu-component-form">
<div class="grid-2">
<mat-form-field appearance="outline">
<mat-label>ALR Area Impacted (m<sup>2</sup>)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>

<mat-form-field appearance="outline" class="date-picker">
<mat-label>Expiry Date</mat-label>
<input
matInput
(click)="expiryDatePicker.open()"
[matDatepicker]="expiryDatePicker"
formControlName="expiryDate"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="expiryDatePicker"></mat-datepicker-toggle>
<mat-datepicker #expiryDatePicker type="date"></mat-datepicker>
</mat-form-field>

<mat-form-field appearance="outline" class="date-picker">
<mat-label>Use End Date</mat-label>
<input
matInput
(click)="endDatePicker.open()"
[matDatepicker]="endDatePicker"
formControlName="naruEndDate"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="endDatePicker"></mat-datepicker-toggle>
<mat-datepicker #endDatePicker type="date"></mat-datepicker>
</mat-form-field>
</div>
<mat-form-field appearance="outline" class="row">
<mat-label>ALR Area Impacted (m<sup>2</sup>)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,6 @@
/>
</mat-form-field>

<div class="grid-2">
<mat-form-field appearance="outline" class="date-picker">
<mat-label>Use End Date (Placement of Fill)</mat-label>
<input
matInput
(click)="endDatePicker2.open()"
[matDatepicker]="endDatePicker2"
formControlName="endDate2"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="endDatePicker2"></mat-datepicker-toggle>
<mat-datepicker #endDatePicker2 type="date"></mat-datepicker>
</mat-form-field>

<mat-form-field appearance="outline" class="date-picker">
<mat-label>Use End Date (Removal of Soil)</mat-label>
<input
matInput
(click)="endDatePicker.open()"
[matDatepicker]="endDatePicker"
formControlName="endDate"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="endDatePicker"></mat-datepicker-toggle>
<mat-datepicker #endDatePicker type="date"></mat-datepicker>
</mat-form-field>
</div>

<mat-form-field appearance="outline" class="row">
<mat-label>Type of soil approved to be removed</mat-label>
<textarea
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,17 @@
<form [formGroup]="form" class="pofo-component-form">
<div class="grid-2">
<mat-form-field appearance="outline">
<mat-label>ALR Area Impacted (ha)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>

<mat-form-field appearance="outline" class="date-picker">
<mat-label>Use End Date</mat-label>
<input
matInput
(click)="endDatePicker.open()"
[matDatepicker]="endDatePicker"
formControlName="endDate"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="endDatePicker"></mat-datepicker-toggle>
<mat-datepicker #endDatePicker type="date"></mat-datepicker>
</mat-form-field>
</div>
<mat-form-field appearance="outline" class="row">
<mat-label>ALR Area Impacted (ha)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>

<mat-form-field appearance="outline" class="row">
<mat-label>Type, origin and quality of fill approved to be placed</mat-label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,16 @@
<form [formGroup]="form" class="roso-component-form">
<div class="grid-2">
<mat-form-field appearance="outline">
<mat-label>ALR Area Impacted (ha)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>

<mat-form-field appearance="outline" class="date-picker">
<mat-label>Use End Date</mat-label>
<input
matInput
(click)="endDatePicker.open()"
[matDatepicker]="endDatePicker"
formControlName="endDate"
name="date"
/>
<mat-datepicker-toggle matSuffix [for]="endDatePicker"></mat-datepicker-toggle>
<mat-datepicker #endDatePicker type="date"></mat-datepicker>
</mat-form-field>
</div>
<mat-form-field appearance="outline" class="row">
<mat-label>ALR Area Impacted (ha)</mat-label>
<input
matInput
min="0.01"
mask="separator.5"
thousandSeparator=","
separatorLimit="9999999999"
formControlName="alrArea"
required
/>
</mat-form-field>

<mat-form-field appearance="outline" class="row">
<mat-label>Type of soil approved to be removed</mat-label>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div>
<div class="subheading2">ALR Area Impacted (ha)</div>
<div>ALR Area Impacted (ha)</div>
<app-inline-number
[value]="component.alrArea?.toString()"
(save)="onSaveAlrArea($event)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
<ng-content></ng-content>
<div></div>
<div>
<div class="subheading2">Use End Date (Placement of Fill)</div>
{{ component.endDate2 | date }}
<app-no-data *ngIf="component.endDate2 === null || component.endDate2 === undefined"></app-no-data>
</div>
<div>
<div class="subheading2">Use End Date (Removal of Soil)</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
<div class="full-width">
<div class="subheading2">Type of soil approved to be removed</div>
<div class="pre-wrapped-text">{{ component.soilTypeRemoved }}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Use End Date</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
<div class="full-width">
<div class="subheading2">Type, origin and quality of fill proposed to be placed</div>
<div class="pre-wrapped-text">{{ component.soilFillTypeToPlace }}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Use End Date</div>
{{ component.endDate | date }}
<app-no-data *ngIf="component.endDate === null || component.endDate === undefined"></app-no-data>
</div>
<div class="full-width">
<div class="subheading2">Type of soil approved to be removed</div>
<div class="pre-wrapped-text">{{ component.soilTypeRemoved }}</div>
Expand Down
Loading

0 comments on commit 588615e

Please sign in to comment.