-
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.
Merge pull request #86 from pegasystems/mod/tor/US-584204
Get all the overrides working and fix issues in the tests
- Loading branch information
Showing
82 changed files
with
262 additions
and
280 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
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
12 changes: 6 additions & 6 deletions
12
...ibrary/src/lib/_components/designSystemExtension/alert-banner/alert-banner.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<div> | ||
<div *ngFor="let banner of banners"> | ||
<div *ngFor="let message of banner.messages"> | ||
<app-alert | ||
[message]="message" | ||
[severity]="SEVERITY_MAP[banner.variant]" | ||
(onClose)="onAlertClose(banner)" | ||
[hideClose]="banner.variant === 'urgent'" | ||
></app-alert> | ||
<component-mapper | ||
name="Alert" | ||
[props]="{message, severity: SEVERITY_MAP[banner.variant], hideClose: banner.variant === 'urgent'}" | ||
[parent]="this" | ||
[outputEvents]="{ onClose: onAlertClose }" | ||
></component-mapper> | ||
</div> | ||
</div> | ||
</div> |
8 changes: 4 additions & 4 deletions
8
...-library/src/lib/_components/designSystemExtension/alert-banner/alert-banner.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
.../angular-sdk-library/src/lib/_components/designSystemExtension/pulse/pulse.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div class="psdk-pulse"> | ||
<app-feed-container [pConn$]="pConn$"></app-feed-container> | ||
<component-mapper [name]="'FeedContainer'" [props]="{ pConn$ }"></component-mapper> | ||
</div> |
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
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
58 changes: 32 additions & 26 deletions
58
...ar-sdk-library/src/lib/_components/infra/dashboard-filter/dashboard-filter.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 |
---|---|---|
@@ -1,29 +1,35 @@ | ||
<div *ngFor="let kid of children"> | ||
<div *ngIf="kid.type === 'DateTime'" [formGroup]="filtersFormGroup$"> | ||
<mat-form-field class="psdk-full-width"> | ||
<mat-label>{{ kid.label }}</mat-label> | ||
<mat-date-range-input [rangePicker]="picker"> | ||
<input matStartDate placeholder="Start date" formControlName="start" /> | ||
<input matEndDate placeholder="End date" formControlName="end" (dateChange)="dateRangeChangeHandler(kid)" /> | ||
</mat-date-range-input> | ||
<mat-datepicker-toggle matIconSuffix [for]="picker"></mat-datepicker-toggle> | ||
<mat-date-range-picker #picker></mat-date-range-picker> | ||
</mat-form-field> | ||
<div | ||
[ngClass]="{ | ||
'psdk-block-style': inlineProps.filterPosition === 'block-start' | ||
}" | ||
> | ||
<div *ngFor="let kid of children"> | ||
<div *ngIf="kid.type === 'DateTime'" [formGroup]="filtersFormGroup$"> | ||
<mat-form-field class="psdk-full-width"> | ||
<mat-label>{{ kid.label }}</mat-label> | ||
<mat-date-range-input [rangePicker]="picker"> | ||
<input matStartDate placeholder="Start date" formControlName="start" /> | ||
<input matEndDate placeholder="End date" formControlName="end" (dateChange)="dateRangeChangeHandler(kid)" /> | ||
</mat-date-range-input> | ||
<mat-datepicker-toggle matIconSuffix [for]="picker"></mat-datepicker-toggle> | ||
<mat-date-range-picker #picker></mat-date-range-picker> | ||
</mat-form-field> | ||
</div> | ||
<div *ngIf="kid.c11nEnv"> | ||
<span (input)="updateTmpData({ event: $event, field: kid })"> | ||
<component-mapper | ||
[name]="kid.c11nEnv.getPConnect().getComponentName()" | ||
[props]="{ | ||
pConn$: kid.c11nEnv.getPConnect(), | ||
formGroup$: filtersFormGroup$ | ||
}" | ||
errorMsg="Dashboard filter wants component not yet available: {{ kid.c11nEnv.getPConnect().getComponentName() }}" | ||
> | ||
</component-mapper> | ||
</span> | ||
</div> | ||
</div> | ||
<div *ngIf="kid.c11nEnv"> | ||
<span (input)="updateTmpData({ event: $event, field: kid })"> | ||
<component-mapper | ||
[name]="kid.c11nEnv.getPConnect().getComponentName()" | ||
[props]="{ | ||
pConn$: kid.c11nEnv.getPConnect(), | ||
formGroup$: filtersFormGroup$ | ||
}" | ||
errorMsg="Dashboard filter wants component not yet available: {{ kid.c11nEnv.getPConnect().getComponentName() }}" | ||
> | ||
</component-mapper> | ||
</span> | ||
<div> | ||
<button mat-button color="primary" (click)="clearFilters()">Clear All</button> | ||
</div> | ||
</div> | ||
<div> | ||
<button mat-button color="primary" (click)="clearFilters()">Clear All</button> | ||
</div> |
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.