@gravitee/ui-particles-angular 4.10.4 → 4.10.5-fix-menu-service-singleton-6e69c73
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 -4
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu.service.js +8 -4
- package/esm2015/lib/gio-save-bar/gio-save-bar.component.js +2 -2
- package/esm2015/lib/gio-submenu/gio-submenu.module.js +2 -2
- 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/package.json +1 -1
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
this.resetClicked.emit();
|
|
99
99
|
};
|
|
100
100
|
GioSaveBarComponent.prototype.onDisableSubmitLock = function () {
|
|
101
|
-
this.hasSubmitLock =
|
|
101
|
+
this.hasSubmitLock = false;
|
|
102
102
|
};
|
|
103
103
|
GioSaveBarComponent.prototype.onSubmitClicked = function () {
|
|
104
104
|
var _this = this;
|
|
@@ -2480,6 +2480,7 @@
|
|
|
2480
2480
|
this.overlaySource = new rxjs.BehaviorSubject({ open: false });
|
|
2481
2481
|
this.reduce = this.reduceSource.asObservable();
|
|
2482
2482
|
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); }));
|
|
2483
|
+
console.log('New instance of menu service', this);
|
|
2483
2484
|
}
|
|
2484
2485
|
GioMenuService.prototype.reduced = function (reduced) {
|
|
2485
2486
|
this.reduceSource.next(reduced);
|
|
@@ -2490,10 +2491,13 @@
|
|
|
2490
2491
|
return GioMenuService;
|
|
2491
2492
|
}());
|
|
2492
2493
|
GioMenuService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2493
|
-
GioMenuService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService });
|
|
2494
|
+
GioMenuService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, providedIn: 'root' });
|
|
2494
2495
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, decorators: [{
|
|
2495
|
-
type: i0.Injectable
|
|
2496
|
-
|
|
2496
|
+
type: i0.Injectable,
|
|
2497
|
+
args: [{
|
|
2498
|
+
providedIn: 'root',
|
|
2499
|
+
}]
|
|
2500
|
+
}], ctorParameters: function () { return []; } });
|
|
2497
2501
|
|
|
2498
2502
|
/*
|
|
2499
2503
|
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|