@dereekb/dbx-web 9.7.0 → 9.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ import { MatIconModule } from '@angular/material/icon';
21
21
  import * as i6 from 'angular-resize-event';
22
22
  import { AngularResizeEventModule } from 'angular-resize-event';
23
23
  import * as i2 from '@dereekb/dbx-core';
24
- import { AbstractSubscriptionDirective, safeMarkForCheck, tapDetectChanges, DbxInjectionComponentModule } from '@dereekb/dbx-core';
24
+ import { AbstractSubscriptionDirective, safeMarkForCheck, DbxInjectionComponentModule } from '@dereekb/dbx-core';
25
25
  import * as i2$1 from '@angular/material/menu';
26
26
 
27
27
  class DbxMapboxConfig {
@@ -821,7 +821,6 @@ function provideMapboxStoreIfParentIsUnavailable() {
821
821
  }
822
822
 
823
823
  class DbxMapboxMarkerComponent {
824
- constructor() { }
825
824
  get marker() {
826
825
  return this._marker;
827
826
  }
@@ -908,7 +907,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
908
907
  </dbx-anchor>
909
908
  </mgl-marker>
910
909
  `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".dbx-mapbox-marker{display:flex;align-items:center;flex-direction:column}.dbx-mapbox-marker .dbx-mapbox-marker-content{display:flex;align-items:center;justify-content:center}.dbx-mapbox-marker .dbx-mapbox-marker-content mat-icon{width:100%;height:100%;font-size:inherit}.dbx-mapbox-marker .dbx-mapbox-marker-label{font-size:.9em}\n"] }]
911
- }], ctorParameters: function () { return []; }, propDecorators: { marker: [{
910
+ }], propDecorators: { marker: [{
912
911
  type: Input
913
912
  }] } });
914
913
 
@@ -916,8 +915,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
916
915
  * Component used to render a set of DbxMapboxMarker values from the input data and marker factory.
917
916
  */
918
917
  class DbxMapboxMarkersComponent {
919
- constructor(cdRef) {
920
- this.cdRef = cdRef;
918
+ constructor() {
921
919
  this._data = new BehaviorSubject(undefined);
922
920
  this._markerFactory = new BehaviorSubject(undefined);
923
921
  this.markers$ = combineLatest([this._data.pipe(distinctUntilChanged()), this._markerFactory.pipe(distinctUntilChanged())]).pipe(map(([data, markerFactory]) => {
@@ -927,7 +925,7 @@ class DbxMapboxMarkersComponent {
927
925
  else {
928
926
  return [];
929
927
  }
930
- }), tapDetectChanges(this.cdRef), shareReplay(1));
928
+ }), shareReplay(1));
931
929
  }
932
930
  get data() {
933
931
  return this._data.value;
@@ -946,7 +944,7 @@ class DbxMapboxMarkersComponent {
946
944
  this._markerFactory.complete();
947
945
  }
948
946
  }
949
- DbxMapboxMarkersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxMapboxMarkersComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
947
+ DbxMapboxMarkersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxMapboxMarkersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
950
948
  DbxMapboxMarkersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: DbxMapboxMarkersComponent, selector: "dbx-mapbox-markers", inputs: { data: "data", markerFactory: "markerFactory" }, ngImport: i0, template: `
951
949
  <dbx-mapbox-marker *ngFor="let marker of markers$ | async" [marker]="marker"></dbx-mapbox-marker>
952
950
  `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: DbxMapboxMarkerComponent, selector: "dbx-mapbox-marker", inputs: ["marker"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -959,7 +957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
959
957
  `,
960
958
  changeDetection: ChangeDetectionStrategy.OnPush
961
959
  }]
962
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
960
+ }], propDecorators: { data: [{
963
961
  type: Input
964
962
  }], markerFactory: [{
965
963
  type: Input