-
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.
v15.0.0, onpush strategy table, add error page (#26)
- Loading branch information
Showing
36 changed files
with
873 additions
and
875 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@vality/ng-core", | ||
"version": "0.7.0", | ||
"version": "15.0.0", | ||
"sideEffects": false, | ||
"exports": { | ||
".": { | ||
|
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: 12 additions & 0 deletions
12
projects/ng-core/src/lib/components/error-page/error-page-routing.module.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,12 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { RouterModule, Routes } from '@angular/router'; | ||
|
||
import { ErrorPageComponent } from './error-page.component'; | ||
|
||
const ROUTES: Routes = [{ path: '', component: ErrorPageComponent }]; | ||
|
||
@NgModule({ | ||
imports: [RouterModule.forChild(ROUTES)], | ||
exports: [RouterModule], | ||
}) | ||
export class ErrorPageRoutingModule {} |
9 changes: 9 additions & 0 deletions
9
projects/ng-core/src/lib/components/error-page/error-page.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,9 @@ | ||
<div class="error"> | ||
<div class="mat-headline-3 title"> | ||
<mat-icon fontIcon="error"></mat-icon> | ||
<div>Page not found</div> | ||
</div> | ||
<h2 class="mat-h1 mat-secondary-text"> | ||
This page doesn't exist<br />or you don't have enough rights to access it | ||
</h2> | ||
</div> |
19 changes: 19 additions & 0 deletions
19
projects/ng-core/src/lib/components/error-page/error-page.component.scss
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,19 @@ | ||
.error { | ||
margin: 0 auto; | ||
padding: 96px 24px; | ||
text-align: center; | ||
|
||
.title { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 16px; | ||
|
||
mat-icon { | ||
font-size: 40px; | ||
width: auto; | ||
height: auto; | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
projects/ng-core/src/lib/components/error-page/error-page.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,7 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
templateUrl: 'error-page.component.html', | ||
styleUrls: ['error-page.component.scss'], | ||
}) | ||
export class ErrorPageComponent {} |
11 changes: 11 additions & 0 deletions
11
projects/ng-core/src/lib/components/error-page/error-page.module.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,11 @@ | ||
import { NgModule } from '@angular/core'; | ||
import { MatIconModule } from '@angular/material/icon'; | ||
|
||
import { ErrorPageRoutingModule } from './error-page-routing.module'; | ||
import { ErrorPageComponent } from './error-page.component'; | ||
|
||
@NgModule({ | ||
imports: [ErrorPageRoutingModule, MatIconModule], | ||
declarations: [ErrorPageComponent], | ||
}) | ||
export class ErrorPageModule {} |
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,2 @@ | ||
export * from './error-page.module'; | ||
export * from './error-page.component'; |
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
4 changes: 1 addition & 3 deletions
4
projects/ng-core/src/lib/components/filters/filters.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,7 +1,5 @@ | ||
<mat-card> | ||
<mat-card-content #content [ngClass]="['v-filters-cols-' + (repeat$ | async), 'filters']"> | ||
<ng-container | ||
*ngTemplateOutlet="mainFiltersTemplate?.templateRef ?? filtersTemplate" | ||
></ng-container> | ||
<ng-container *ngTemplateOutlet="mainFiltersTemplate"></ng-container> | ||
</mat-card-content> | ||
</mat-card> |
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
3 changes: 2 additions & 1 deletion
3
projects/ng-core/src/lib/components/table/components/table-cell/table-cell.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
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.