@gravitee/ui-particles-angular 4.10.5-menu-service-shared-instance-ab186df → 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.
@@ -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
  /*
@@ -2760,37 +2761,6 @@
2760
2761
  }]
2761
2762
  }] });
2762
2763
 
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
-
2794
2764
  /*
2795
2765
  * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
2796
2766
  *
@@ -2817,13 +2787,13 @@
2817
2787
  GioMenuFooterComponent,
2818
2788
  GioMenuListComponent,
2819
2789
  GioMenuHeaderComponent,
2820
- GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule], exports: [GioMenuComponent,
2790
+ GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule], exports: [GioMenuComponent,
2821
2791
  GioMenuItemComponent,
2822
2792
  GioMenuFooterComponent,
2823
2793
  GioMenuListComponent,
2824
2794
  GioMenuHeaderComponent,
2825
2795
  GioMenuSelectorComponent] });
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()]] });
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]] });
2827
2797
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, decorators: [{
2828
2798
  type: i0.NgModule,
2829
2799
  args: [{
@@ -2843,7 +2813,7 @@
2843
2813
  GioMenuHeaderComponent,
2844
2814
  GioMenuSelectorComponent,
2845
2815
  ],
2846
- imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuSharedServiceModule.forRoot()],
2816
+ imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule],
2847
2817
  }]
2848
2818
  }] });
2849
2819
 
@@ -2867,6 +2837,7 @@
2867
2837
  function GioSubmenuComponent(gioMenuService) {
2868
2838
  this.gioMenuService = gioMenuService;
2869
2839
  this.reduced = false;
2840
+ this.loaded = false;
2870
2841
  this.overlayOptions = { open: false };
2871
2842
  this.hover = false;
2872
2843
  this.unsubscribe$ = new rxjs.Subject();
@@ -2889,6 +2860,7 @@
2889
2860
  _this.gioSubmenu.nativeElement.style.height = '100%';
2890
2861
  _this.gioSubmenu.nativeElement.style.maxHeight = 'none';
2891
2862
  }
2863
+ _this.loaded = true;
2892
2864
  }))
2893
2865
  .subscribe();
2894
2866
  };
@@ -2907,7 +2879,7 @@
2907
2879
  return GioSubmenuComponent;
2908
2880
  }());
2909
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 });
2910
- 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:flex;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__overlay,.gio-submenu:hover{opacity:1;transition:opacity .23s,visibility .23s;visibility:visible}\n"] });
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"] });
2911
2883
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuComponent, decorators: [{
2912
2884
  type: i0.Component,
2913
2885
  args: [{
@@ -3021,14 +2993,14 @@
3021
2993
  return GioSubmenuModule;
3022
2994
  }());
3023
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 });
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()]] });
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] });
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]] });
3026
2998
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, decorators: [{
3027
2999
  type: i0.NgModule,
3028
3000
  args: [{
3029
3001
  declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
3030
3002
  exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
3031
- imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, GioMenuSharedServiceModule.forRoot()],
3003
+ imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule],
3032
3004
  }]
3033
3005
  }] });
3034
3006