@gravitee/ui-particles-angular 4.10.5 → 4.10.6-393-submenu-position-bf09a1f
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 -7
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu.module.js +2 -4
- package/esm2015/lib/gio-menu/gio-menu.service.js +4 -3
- package/esm2015/lib/gio-submenu/gio-submenu.component.js +4 -2
- package/esm2015/lib/gio-submenu/gio-submenu.module.js +2 -4
- package/fesm2015/gravitee-ui-particles-angular.js +8 -7
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-submenu/gio-submenu.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2490,9 +2490,10 @@
|
|
|
2490
2490
|
return GioMenuService;
|
|
2491
2491
|
}());
|
|
2492
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 });
|
|
2493
|
-
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, providedIn: 'root' });
|
|
2494
2494
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, decorators: [{
|
|
2495
|
-
type: i0.Injectable
|
|
2495
|
+
type: i0.Injectable,
|
|
2496
|
+
args: [{ providedIn: 'root' }]
|
|
2496
2497
|
}] });
|
|
2497
2498
|
|
|
2498
2499
|
/*
|
|
@@ -2792,7 +2793,7 @@
|
|
|
2792
2793
|
GioMenuListComponent,
|
|
2793
2794
|
GioMenuHeaderComponent,
|
|
2794
2795
|
GioMenuSelectorComponent] });
|
|
2795
|
-
GioMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule,
|
|
2796
|
+
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]] });
|
|
2796
2797
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, decorators: [{
|
|
2797
2798
|
type: i0.NgModule,
|
|
2798
2799
|
args: [{
|
|
@@ -2813,7 +2814,6 @@
|
|
|
2813
2814
|
GioMenuSelectorComponent,
|
|
2814
2815
|
],
|
|
2815
2816
|
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule],
|
|
2816
|
-
providers: [GioMenuService],
|
|
2817
2817
|
}]
|
|
2818
2818
|
}] });
|
|
2819
2819
|
|
|
@@ -2837,6 +2837,7 @@
|
|
|
2837
2837
|
function GioSubmenuComponent(gioMenuService) {
|
|
2838
2838
|
this.gioMenuService = gioMenuService;
|
|
2839
2839
|
this.reduced = false;
|
|
2840
|
+
this.loaded = false;
|
|
2840
2841
|
this.overlayOptions = { open: false };
|
|
2841
2842
|
this.hover = false;
|
|
2842
2843
|
this.unsubscribe$ = new rxjs.Subject();
|
|
@@ -2859,6 +2860,7 @@
|
|
|
2859
2860
|
_this.gioSubmenu.nativeElement.style.height = '100%';
|
|
2860
2861
|
_this.gioSubmenu.nativeElement.style.maxHeight = 'none';
|
|
2861
2862
|
}
|
|
2863
|
+
_this.loaded = true;
|
|
2862
2864
|
}))
|
|
2863
2865
|
.subscribe();
|
|
2864
2866
|
};
|
|
@@ -2877,7 +2879,7 @@
|
|
|
2877
2879
|
return GioSubmenuComponent;
|
|
2878
2880
|
}());
|
|
2879
2881
|
GioSubmenuComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuComponent, deps: [{ token: GioMenuService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2880
|
-
GioSubmenuComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioSubmenuComponent, selector: "gio-submenu", viewQueries: [{ propertyName: "gioSubmenu", first: true, predicate: ["gioSubmenu"], descendants: true }], ngImport: i0__namespace, template: "<!--\n\n Copyright (C) 2022 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div\n #gioSubmenu\n class=\"gio-submenu\"\n [class.gio-submenu__reduced]=\"reduced\"\n [class.gio-submenu__overlay]=\"overlayOptions.open\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host{z-index:100}.gio-submenu{display:
|
|
2882
|
+
GioSubmenuComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioSubmenuComponent, selector: "gio-submenu", viewQueries: [{ propertyName: "gioSubmenu", first: true, predicate: ["gioSubmenu"], descendants: true }], ngImport: i0__namespace, template: "<!--\n\n Copyright (C) 2022 The Gravitee team (http://gravitee.io)\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<div\n #gioSubmenu\n class=\"gio-submenu\"\n [class.gio-submenu__loaded]=\"loaded\"\n [class.gio-submenu__reduced]=\"reduced\"\n [class.gio-submenu__overlay]=\"overlayOptions.open\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host{z-index:100}.gio-submenu{display:none;width:266px;height:100%;flex:none;flex-direction:column;flex-grow:0;justify-content:flex-start;padding:16px;background:#100c27}.gio-submenu__reduced{position:absolute;overflow:auto;margin:0 0 0 8px;border-radius:8px;opacity:0;visibility:hidden}.gio-submenu__loaded{display:flex}.gio-submenu__overlay,.gio-submenu:hover{opacity:1;transition:opacity .23s,visibility .23s;visibility:visible}\n"] });
|
|
2881
2883
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuComponent, decorators: [{
|
|
2882
2884
|
type: i0.Component,
|
|
2883
2885
|
args: [{
|
|
@@ -2992,14 +2994,13 @@
|
|
|
2992
2994
|
}());
|
|
2993
2995
|
GioSubmenuModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2994
2996
|
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] });
|
|
2995
|
-
GioSubmenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule,
|
|
2997
|
+
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]] });
|
|
2996
2998
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, decorators: [{
|
|
2997
2999
|
type: i0.NgModule,
|
|
2998
3000
|
args: [{
|
|
2999
3001
|
declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3000
3002
|
exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3001
3003
|
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule],
|
|
3002
|
-
providers: [GioMenuService],
|
|
3003
3004
|
}]
|
|
3004
3005
|
}] });
|
|
3005
3006
|
|