Add NotImplemented page
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma 2019-11-08 13:48:43 +01:00
parent 471a85a428
commit b620cedb6d
2 changed files with 15 additions and 6 deletions

12
package-lock.json generated
View File

@ -660,9 +660,9 @@
} }
}, },
"@farmmaps/common": { "@farmmaps/common": {
"version": "0.0.1-prerelease.69", "version": "0.0.1-prerelease.71",
"resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common/-/common-0.0.1-prerelease.69.tgz", "resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common/-/common-0.0.1-prerelease.71.tgz",
"integrity": "sha512-9HcNQ3jrbnqsnMg57o7QPrnOlGYOiva3V3eaUrKcAG6upcdy98oRH8DcphSkY4jPC546kgGh/6sACaW5gZvrXw==", "integrity": "sha512-MJPTL8NQzm9wBdKoeADxX5iAa1VmIbaEg1ViXqaFvVug6Sd6q+RLJ+Y7hQA9lxbwWnu4UIy12dhPtqA/+JVQiw==",
"requires": { "requires": {
"angular-oauth2-oidc": "^5.0.2", "angular-oauth2-oidc": "^5.0.2",
"ngx-uploadx": "^3.1.3", "ngx-uploadx": "^3.1.3",
@ -670,9 +670,9 @@
} }
}, },
"@farmmaps/common-map": { "@farmmaps/common-map": {
"version": "0.0.1-prerelease.69", "version": "0.0.1-prerelease.71",
"resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common-map/-/common-map-0.0.1-prerelease.69.tgz", "resolved": "https://repository.akkerweb.nl/repository/npm-group/@farmmaps/common-map/-/common-map-0.0.1-prerelease.71.tgz",
"integrity": "sha512-/AoqTqod9FdW4PYMZXFvpI922leEGy2yW/6rV0RdmIFYI1KGronA13t87ispJWpFQeQpYsrCaKWEy1D2QjPdKg==", "integrity": "sha512-1FlsyEphPtClFR/a56cwlzXPa0JxpHyGxomN4x9LRBstCCAUFeFNuNRv784nO0FDNxuGEroFTmWmKtGnMO8yjg==",
"requires": { "requires": {
"ngx-openlayers": "1.0.0-next.9", "ngx-openlayers": "1.0.0-next.9",
"ol": "^5.3.3", "ol": "^5.3.3",

View File

@ -5,6 +5,7 @@ import { AuthGuard,FullScreenGuard } from '@farmmaps/common';
import { MapComponent } from '@farmmaps/common-map'; import { MapComponent } from '@farmmaps/common-map';
import { LogoComponent } from './logo/logo.component'; import { LogoComponent } from './logo/logo.component';
import { MenuComponent } from './menu/menu.component'; import { MenuComponent } from './menu/menu.component';
import {NotImplementedComponent} from '@farmmaps/common';
const routes = [ const routes = [
{ {
@ -12,6 +13,14 @@ const routes = [
redirectTo: 'map', redirectTo: 'map',
pathMatch: 'full' pathMatch: 'full'
}, },
{
path:'editor/:type/item/:itemcode',
component: NotImplementedComponent
},
{
path:'viewer/:type/item/:itemcode',
component: NotImplementedComponent
},
{ path: 'map', canActivateChild: [AuthGuard],canActivate:[FullScreenGuard], children: [ { path: 'map', canActivateChild: [AuthGuard],canActivate:[FullScreenGuard], children: [
{ {
path: '', path: '',