@gravitee/ui-particles-angular 4.10.5-fix-menu-service-singleton-d215d9a → 4.10.5-menu-service-shared-instance-ab186df
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 +21 -25
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu-shared-service.module.js +31 -0
- package/esm2015/lib/gio-menu/gio-menu.module.js +6 -5
- package/esm2015/lib/gio-menu/gio-menu.service.js +4 -8
- package/esm2015/lib/gio-menu/index.js +1 -2
- package/esm2015/lib/gio-submenu/gio-submenu.module.js +6 -5
- package/fesm2015/gravitee-ui-particles-angular.js +20 -23
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-menu/gio-menu-shared-service.module.d.ts +11 -0
- package/lib/gio-menu/gio-menu.module.d.ts +2 -2
- package/lib/gio-menu/gio-menu.service.d.ts +0 -1
- package/lib/gio-menu/index.d.ts +0 -1
- package/lib/gio-submenu/gio-submenu.module.d.ts +2 -2
- package/package.json +1 -1
- package/esm2015/lib/gio-menu/gio-menu-service.module.js +0 -30
- package/lib/gio-menu/gio-menu-service.module.d.ts +0 -6
|
@@ -2480,7 +2480,6 @@
|
|
|
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);
|
|
2484
2483
|
}
|
|
2485
2484
|
GioMenuService.prototype.reduced = function (reduced) {
|
|
2486
2485
|
this.reduceSource.next(reduced);
|
|
@@ -2491,13 +2490,10 @@
|
|
|
2491
2490
|
return GioMenuService;
|
|
2492
2491
|
}());
|
|
2493
2492
|
GioMenuService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2494
|
-
GioMenuService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService
|
|
2493
|
+
GioMenuService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService });
|
|
2495
2494
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, decorators: [{
|
|
2496
|
-
type: i0.Injectable
|
|
2497
|
-
|
|
2498
|
-
providedIn: 'root',
|
|
2499
|
-
}]
|
|
2500
|
-
}], ctorParameters: function () { return []; } });
|
|
2495
|
+
type: i0.Injectable
|
|
2496
|
+
}] });
|
|
2501
2497
|
|
|
2502
2498
|
/*
|
|
2503
2499
|
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
@@ -2765,7 +2761,7 @@
|
|
|
2765
2761
|
}] });
|
|
2766
2762
|
|
|
2767
2763
|
/*
|
|
2768
|
-
* Copyright (C)
|
|
2764
|
+
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
2769
2765
|
*
|
|
2770
2766
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2771
2767
|
* you may not use this file except in compliance with the License.
|
|
@@ -2779,19 +2775,20 @@
|
|
|
2779
2775
|
* See the License for the specific language governing permissions and
|
|
2780
2776
|
* limitations under the License.
|
|
2781
2777
|
*/
|
|
2782
|
-
var
|
|
2783
|
-
function
|
|
2778
|
+
var GioMenuSharedServiceModule = /** @class */ (function () {
|
|
2779
|
+
function GioMenuSharedServiceModule() {
|
|
2784
2780
|
}
|
|
2785
|
-
|
|
2781
|
+
GioMenuSharedServiceModule.forRoot = function () {
|
|
2782
|
+
return { ngModule: GioMenuSharedServiceModule, providers: [GioMenuService] };
|
|
2783
|
+
};
|
|
2784
|
+
return GioMenuSharedServiceModule;
|
|
2786
2785
|
}());
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type:
|
|
2786
|
+
GioMenuSharedServiceModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuSharedServiceModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2787
|
+
GioMenuSharedServiceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuSharedServiceModule });
|
|
2788
|
+
GioMenuSharedServiceModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuSharedServiceModule });
|
|
2789
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuSharedServiceModule, decorators: [{
|
|
2791
2790
|
type: i0.NgModule,
|
|
2792
|
-
args: [{
|
|
2793
|
-
providers: [GioMenuService],
|
|
2794
|
-
}]
|
|
2791
|
+
args: [{}]
|
|
2795
2792
|
}] });
|
|
2796
2793
|
|
|
2797
2794
|
/*
|
|
@@ -2820,13 +2817,13 @@
|
|
|
2820
2817
|
GioMenuFooterComponent,
|
|
2821
2818
|
GioMenuListComponent,
|
|
2822
2819
|
GioMenuHeaderComponent,
|
|
2823
|
-
GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule,
|
|
2820
|
+
GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule], exports: [GioMenuComponent,
|
|
2824
2821
|
GioMenuItemComponent,
|
|
2825
2822
|
GioMenuFooterComponent,
|
|
2826
2823
|
GioMenuListComponent,
|
|
2827
2824
|
GioMenuHeaderComponent,
|
|
2828
2825
|
GioMenuSelectorComponent] });
|
|
2829
|
-
GioMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, imports: [[i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule,
|
|
2826
|
+
GioMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, imports: [[i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule.forRoot()]] });
|
|
2830
2827
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, decorators: [{
|
|
2831
2828
|
type: i0.NgModule,
|
|
2832
2829
|
args: [{
|
|
@@ -2846,7 +2843,7 @@
|
|
|
2846
2843
|
GioMenuHeaderComponent,
|
|
2847
2844
|
GioMenuSelectorComponent,
|
|
2848
2845
|
],
|
|
2849
|
-
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule,
|
|
2846
|
+
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule.forRoot()],
|
|
2850
2847
|
}]
|
|
2851
2848
|
}] });
|
|
2852
2849
|
|
|
@@ -3024,14 +3021,14 @@
|
|
|
3024
3021
|
return GioSubmenuModule;
|
|
3025
3022
|
}());
|
|
3026
3023
|
GioSubmenuModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3027
|
-
GioSubmenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule,
|
|
3028
|
-
GioSubmenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, imports: [[i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule,
|
|
3024
|
+
GioSubmenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, GioMenuSharedServiceModule], exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent] });
|
|
3025
|
+
GioSubmenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, imports: [[i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, GioMenuSharedServiceModule.forRoot()]] });
|
|
3029
3026
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, decorators: [{
|
|
3030
3027
|
type: i0.NgModule,
|
|
3031
3028
|
args: [{
|
|
3032
3029
|
declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3033
3030
|
exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3034
|
-
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule,
|
|
3031
|
+
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, GioMenuSharedServiceModule.forRoot()],
|
|
3035
3032
|
}]
|
|
3036
3033
|
}] });
|
|
3037
3034
|
|
|
@@ -3504,7 +3501,6 @@
|
|
|
3504
3501
|
exports.GioMenuModule = GioMenuModule;
|
|
3505
3502
|
exports.GioMenuSelectorComponent = GioMenuSelectorComponent;
|
|
3506
3503
|
exports.GioMenuService = GioMenuService;
|
|
3507
|
-
exports.GioMenuServiceModule = GioMenuServiceModule;
|
|
3508
3504
|
exports.GioSaveBarComponent = GioSaveBarComponent;
|
|
3509
3505
|
exports.GioSaveBarHarness = GioSaveBarHarness;
|
|
3510
3506
|
exports.GioSaveBarModule = GioSaveBarModule;
|