@dereekb/dbx-web 9.10.0 → 9.10.2
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.
- package/esm2020/mapbox/lib/mapbox.menu.component.mjs +6 -7
- package/fesm2015/dereekb-dbx-web-mapbox.mjs +5 -6
- package/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-web-mapbox.mjs +5 -6
- package/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/esm2020/lib/mapbox.menu.component.mjs +6 -7
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs +5 -6
- package/mapbox/fesm2015/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs +5 -6
- package/mapbox/fesm2020/dereekb-dbx-web-mapbox.mjs.map +1 -1
- package/mapbox/lib/mapbox.menu.component.d.ts +2 -2
- package/mapbox/package.json +3 -3
- package/package.json +3 -3
|
@@ -778,6 +778,9 @@ class DbxMapboxMenuComponent extends AbstractSubscriptionDirective {
|
|
|
778
778
|
get pos() {
|
|
779
779
|
return this._pos;
|
|
780
780
|
}
|
|
781
|
+
set active(active) {
|
|
782
|
+
this._active.next(active ?? true);
|
|
783
|
+
}
|
|
781
784
|
ngOnInit() {
|
|
782
785
|
this.sub = this._active
|
|
783
786
|
.pipe(switchMap((active) => {
|
|
@@ -821,12 +824,9 @@ class DbxMapboxMenuComponent extends AbstractSubscriptionDirective {
|
|
|
821
824
|
this.matMenuTrigger.closeMenu();
|
|
822
825
|
}
|
|
823
826
|
}
|
|
824
|
-
set active(active) {
|
|
825
|
-
this._active.next(active ?? true);
|
|
826
|
-
}
|
|
827
827
|
}
|
|
828
828
|
DbxMapboxMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxMapboxMenuComponent, deps: [{ token: DbxMapboxMapStore }, { token: i2$2.MatMenuTrigger, host: true }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
829
|
-
DbxMapboxMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: DbxMapboxMenuComponent, selector: "dbx-mapbox-menu", inputs: { active:
|
|
829
|
+
DbxMapboxMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: DbxMapboxMenuComponent, selector: "dbx-mapbox-menu", inputs: { active: "active" }, host: { properties: { "style.top": "pos.y", "style.left": "pos.x" }, styleAttribute: "visibility: hidden; position: fixed" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
830
830
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: DbxMapboxMenuComponent, decorators: [{
|
|
831
831
|
type: Component,
|
|
832
832
|
args: [{
|
|
@@ -842,8 +842,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
|
|
|
842
842
|
}], ctorParameters: function () { return [{ type: DbxMapboxMapStore }, { type: i2$2.MatMenuTrigger, decorators: [{
|
|
843
843
|
type: Host
|
|
844
844
|
}] }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { active: [{
|
|
845
|
-
type: Input
|
|
846
|
-
args: ['dbxMapboxMenu']
|
|
845
|
+
type: Input
|
|
847
846
|
}] } });
|
|
848
847
|
|
|
849
848
|
/**
|