@gravitee/ui-particles-angular 4.10.5-fix-menu-service-singleton-6e69c73 → 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 +40 -15
- 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 -6
- package/esm2015/lib/gio-menu/gio-menu.service.js +4 -8
- package/esm2015/lib/gio-submenu/gio-submenu.module.js +6 -6
- package/fesm2015/gravitee-ui-particles-angular.js +37 -15
- 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 -1
- package/lib/gio-menu/gio-menu.service.d.ts +0 -1
- package/lib/gio-submenu/gio-submenu.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -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)
|
|
@@ -2764,6 +2760,37 @@
|
|
|
2764
2760
|
}]
|
|
2765
2761
|
}] });
|
|
2766
2762
|
|
|
2763
|
+
/*
|
|
2764
|
+
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
2765
|
+
*
|
|
2766
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2767
|
+
* you may not use this file except in compliance with the License.
|
|
2768
|
+
* You may obtain a copy of the License at
|
|
2769
|
+
*
|
|
2770
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2771
|
+
*
|
|
2772
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2773
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2774
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2775
|
+
* See the License for the specific language governing permissions and
|
|
2776
|
+
* limitations under the License.
|
|
2777
|
+
*/
|
|
2778
|
+
var GioMenuSharedServiceModule = /** @class */ (function () {
|
|
2779
|
+
function GioMenuSharedServiceModule() {
|
|
2780
|
+
}
|
|
2781
|
+
GioMenuSharedServiceModule.forRoot = function () {
|
|
2782
|
+
return { ngModule: GioMenuSharedServiceModule, providers: [GioMenuService] };
|
|
2783
|
+
};
|
|
2784
|
+
return GioMenuSharedServiceModule;
|
|
2785
|
+
}());
|
|
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: [{
|
|
2790
|
+
type: i0.NgModule,
|
|
2791
|
+
args: [{}]
|
|
2792
|
+
}] });
|
|
2793
|
+
|
|
2767
2794
|
/*
|
|
2768
2795
|
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
2769
2796
|
*
|
|
@@ -2790,13 +2817,13 @@
|
|
|
2790
2817
|
GioMenuFooterComponent,
|
|
2791
2818
|
GioMenuListComponent,
|
|
2792
2819
|
GioMenuHeaderComponent,
|
|
2793
|
-
GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule], exports: [GioMenuComponent,
|
|
2820
|
+
GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule], exports: [GioMenuComponent,
|
|
2794
2821
|
GioMenuItemComponent,
|
|
2795
2822
|
GioMenuFooterComponent,
|
|
2796
2823
|
GioMenuListComponent,
|
|
2797
2824
|
GioMenuHeaderComponent,
|
|
2798
2825
|
GioMenuSelectorComponent] });
|
|
2799
|
-
GioMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule,
|
|
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()]] });
|
|
2800
2827
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, decorators: [{
|
|
2801
2828
|
type: i0.NgModule,
|
|
2802
2829
|
args: [{
|
|
@@ -2816,8 +2843,7 @@
|
|
|
2816
2843
|
GioMenuHeaderComponent,
|
|
2817
2844
|
GioMenuSelectorComponent,
|
|
2818
2845
|
],
|
|
2819
|
-
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule],
|
|
2820
|
-
providers: [GioMenuService],
|
|
2846
|
+
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule.forRoot()],
|
|
2821
2847
|
}]
|
|
2822
2848
|
}] });
|
|
2823
2849
|
|
|
@@ -2995,15 +3021,14 @@
|
|
|
2995
3021
|
return GioSubmenuModule;
|
|
2996
3022
|
}());
|
|
2997
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 });
|
|
2998
|
-
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], exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent] });
|
|
2999
|
-
GioSubmenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule,
|
|
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()]] });
|
|
3000
3026
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, decorators: [{
|
|
3001
3027
|
type: i0.NgModule,
|
|
3002
3028
|
args: [{
|
|
3003
3029
|
declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3004
3030
|
exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3005
|
-
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule],
|
|
3006
|
-
providers: [GioMenuService],
|
|
3031
|
+
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, GioMenuSharedServiceModule.forRoot()],
|
|
3007
3032
|
}]
|
|
3008
3033
|
}] });
|
|
3009
3034
|
|