Skip to content

Commit

Permalink
build(dependencies): angular 7.2.0-rc.0 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed Dec 27, 2018
1 parent 210ece5 commit 2f67dbe
Show file tree
Hide file tree
Showing 7 changed files with 1,216 additions and 1,645 deletions.
6 changes: 6 additions & 0 deletions PLAYBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,12 @@ ng update @angular/core
ng update --all
```

### Build

```bash
# Create a translation source file
ng xi18n --output-path apps/webapp/src/local
```
### Run

```bash
Expand Down
27 changes: 27 additions & 0 deletions libs/app-confirm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Conform Popup
=============
confirm popup dialog to get user's choice.

```ts
import { AppConfirmModule } from '@ngx-starter-kit/app-confirm'
import { AppConfirmService } from '@ngx-starter-kit/app-confirm';

constructor(private confirmService: AppConfirmService) {}


delete(item: Account) {
return this.confirmService.confirm('Confirm', `Delete ${item.first_name} ${item.last_name}?`).pipe(
filter(confirmed => confirmed === true),
mergeMap(_ => super.delete(item)),
tap(_ => {
this.snack.open('Member Deleted!', 'OK', { duration: 5000 });
this.store.dispatch(new Navigate([`/dashboard/grid/crud-table`]));
}),
catchError(error => {
this.snack.open(error, 'OK', { duration: 10000 });
return throwError('Ignore Me!');
}),
);
}

```
6 changes: 4 additions & 2 deletions libs/app-confirm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "@ngx-starter-kit/app-confirm",
"version": "0.0.1",
"peerDependencies": {
"@angular/common": "^7.1.0",
"@angular/core": "^7.1.0"
"@angular/common": ">=7.1.0",
"@angular/core": ">=7.1.0",
"@angular/cdk": ">=7.2.0",
"@angular/material": ">=7.2.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h2>360 view of Sumo App</h2>
<svg-viewer src="../assets/img/homepage/sprintzerotoapp.svg" scaleToContainer="true"></svg-viewer>
</div>
<div class="default-homepage-promo-desc">
<h2>Sprint from Zero to App</h2>
<h2 i18n="@@introductionHeader">Sprint from Zero to App</h2>
<p>
Hit the ground running with comprehensive, modern UI components that work across the web, mobile and desktop.
</p>
Expand Down

0 comments on commit 2f67dbe

Please sign in to comment.