Skip to content

Commit

Permalink
Merge branch 'feature/angular-10' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
RaschidJFR committed Jan 21, 2021
2 parents aef60a2 + 4662af2 commit 5219c39
Show file tree
Hide file tree
Showing 10 changed files with 10,263 additions and 7,285 deletions.
5 changes: 4 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
}
}
},
"defaultProject": "ngx-googlemaps-tracking-view"
"defaultProject": "ngx-googlemaps-tracking-view",
"cli": {
"analytics": false
}
}
17,478 changes: 10,227 additions & 7,251 deletions package-lock.json

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,42 +17,41 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"@angular/animations": "~10.2.4",
"@angular/common": "~10.2.4",
"@angular/compiler": "~10.2.4",
"@angular/core": "~10.2.4",
"@angular/forms": "~10.2.4",
"@angular/platform-browser": "~10.2.4",
"@angular/platform-browser-dynamic": "~10.2.4",
"@angular/router": "~10.2.4",
"angular-cli-ghpages": "^0.5.3",
"core-js": "^2.5.4",
"rxjs": "~6.3.3",
"zone.js": "~0.8.26"
"rxjs": "~6.6.3",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular-devkit/build-ng-packagr": "~0.13.0",
"@angular/cli": "~7.3.3",
"@angular/compiler-cli": "~7.2.0",
"@angular/language-service": "~7.2.0",
"@types/googlemaps": "^3.37.3",
"@angular-devkit/build-angular": "~0.1002.1",
"@angular-devkit/build-ng-packagr": "~0.1002.1",
"@angular/cli": "~10.2.1",
"@angular/compiler-cli": "~10.2.4",
"@angular/language-service": "~10.2.4",
"@types/googlemaps": "^3.43.2",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"codelyzer": "^6.0.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^4.2.0",
"ng-packagr": "^10.1.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tsickle": ">=0.34.0",
"tslib": "^1.9.0",
"tslib": "^2.1.0",
"tslint": "~5.11.0",
"typescript": "~3.2.2"
"typescript": "~4.0.5"
}
}
2 changes: 1 addition & 1 deletion projects/ngx-googlemaps-tracking-view/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions projects/ngx-googlemaps-tracking-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "ngx-googlemaps-tracking-view",
"version": "1.5.1",
"peerDependencies": {
"@angular/common": "^7.2.0",
"@angular/core": "^7.2.0",
"@angular/common": "~10.2.4",
"@angular/core": "~10.2.4",
"@types/googlemaps": "^3.39.3"
},
"description": "A General-purpose embedded Angular map for tracking objects in real time using [Google Maps](https://developers.google.com/maps/documentation/javascript/tutorial).",
Expand Down
2 changes: 0 additions & 2 deletions projects/ngx-googlemaps-tracking-view/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export * from './public-api';
export * from './lib/models/tracked-object';
export * from './lib/components/geolocation-button/geolocation-button';
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ import { GoogleMapsWrapper } from '../../services/googlemaps-wrapper';
</div>`
})
export class InfowindowComponent implements AfterContentInit, OnDestroy {
@ViewChild('root') root: ElementRef;
@ViewChild('root', { static: true }) root: ElementRef;
// tslint:disable-next-line: no-any
@ViewChild('defaultTemplate') defaultTemplateRef: TemplateRef<any>;
@ViewChild('vc', { read: ViewContainerRef }) vc: ViewContainerRef;
@ViewChild('defaultTemplate', { static: true }) defaultTemplateRef: TemplateRef<any>;
@ViewChild('vc', { static: true, read: ViewContainerRef }) vc: ViewContainerRef;
/** When infowindow has closed */
@Output() closed = new EventEmitter<void>();
/** Triggered on clicking on the X button */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class TrackedObjectComponent implements AfterContentInit, OnChanges, OnDe
*/
@Input() triggerInfowindow: 'hover' | 'click' = 'hover';

@ViewChild(InfowindowComponent) infowindow: InfowindowComponent;
@ViewChild(InfowindowComponent, { static: true }) infowindow: InfowindowComponent;
constructor(private googleMaps: GoogleMapsWrapper) { }

async ngAfterContentInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import { HttpClient } from '@angular/common/http';
// encapsulation: ViewEncapsulation.ShadowDom,
})
export class NgxGooglemapsTrackingViewComponent implements OnInit {
// tslint:disable-next-line: no-any
@ViewChild('map', { static: true } as any) mapDiv: ElementRef;
@ViewChild('map', { static: true }) mapDiv: ElementRef;
/**
* A marker fixed to the center of the map which emits the geo-decoded location
* as a full address.
Expand Down
5 changes: 4 additions & 1 deletion projects/ngx-googlemaps-tracking-view/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
*/

export * from './lib/ngx-googlemaps-tracking-view.component';
export * from './lib/ngx-googlemaps-tracking-view.module';
export * from './lib/ngx-googlemaps-tracking-view.module';
export * from './lib/models/tracked-object';
export * from './lib/components/geolocation-button/geolocation-button';
export * from './lib/components/infowindow/infowindow.component';

0 comments on commit 5219c39

Please sign in to comment.