@gravitee/ui-particles-angular 4.10.2-fix-menu-service-singleton-72f65e5 → 4.10.2-fix-menu-service-singleton-2d6735c
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/bundles/gravitee-ui-particles-angular.umd.js +8 -3
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu.module.js +1 -1
- package/esm2015/lib/gio-menu/gio-menu.service.js +8 -4
- package/esm2015/lib/gio-menu/index.js +2 -1
- package/fesm2015/gravitee-ui-particles-angular.js +8 -4
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-menu/gio-menu.service.d.ts +1 -0
- package/lib/gio-menu/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2464,6 +2464,7 @@
|
|
|
2464
2464
|
this.overlaySource = new rxjs.BehaviorSubject({ open: false });
|
|
2465
2465
|
this.reduce = this.reduceSource.asObservable();
|
|
2466
2466
|
this.overlayObservable = this.overlaySource.asObservable().pipe(operators.distinctUntilChanged(function (prev, curr) { return prev.open === curr.open; }), operators.debounce(function (overlayOptions) { return rxjs.timer(overlayOptions.open ? 150 : 500); }));
|
|
2467
|
+
console.log('New instance of menu service', this);
|
|
2467
2468
|
}
|
|
2468
2469
|
GioMenuService.prototype.reduced = function (reduced) {
|
|
2469
2470
|
this.reduceSource.next(reduced);
|
|
@@ -2474,10 +2475,13 @@
|
|
|
2474
2475
|
return GioMenuService;
|
|
2475
2476
|
}());
|
|
2476
2477
|
GioMenuService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2477
|
-
GioMenuService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService });
|
|
2478
|
+
GioMenuService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, providedIn: 'root' });
|
|
2478
2479
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, decorators: [{
|
|
2479
|
-
type: i0.Injectable
|
|
2480
|
-
|
|
2480
|
+
type: i0.Injectable,
|
|
2481
|
+
args: [{
|
|
2482
|
+
providedIn: 'root',
|
|
2483
|
+
}]
|
|
2484
|
+
}], ctorParameters: function () { return []; } });
|
|
2481
2485
|
|
|
2482
2486
|
/*
|
|
2483
2487
|
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
@@ -3484,6 +3488,7 @@
|
|
|
3484
3488
|
exports.GioMenuModule = GioMenuModule;
|
|
3485
3489
|
exports.GioMenuSelectorComponent = GioMenuSelectorComponent;
|
|
3486
3490
|
exports.GioMenuService = GioMenuService;
|
|
3491
|
+
exports.GioMenuServiceModule = GioMenuServiceModule;
|
|
3487
3492
|
exports.GioSaveBarComponent = GioSaveBarComponent;
|
|
3488
3493
|
exports.GioSaveBarHarness = GioSaveBarHarness;
|
|
3489
3494
|
exports.GioSaveBarModule = GioSaveBarModule;
|