@gravitee/ui-particles-angular 4.10.1 → 4.10.2-fix-menu-service-singleton-0f563f9
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 +38 -9
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu-item/gio-menu-item.component.js +1 -1
- package/esm2015/lib/gio-menu/gio-menu-service.module.js +30 -0
- package/esm2015/lib/gio-menu/gio-menu.module.js +5 -6
- package/esm2015/lib/gio-menu/index.js +2 -1
- package/esm2015/lib/gio-submenu/gio-submenu.module.js +5 -6
- package/fesm2015/gravitee-ui-particles-angular.js +35 -10
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-menu/gio-menu-service.module.d.ts +6 -0
- package/lib/gio-menu/gio-menu.module.d.ts +2 -1
- package/lib/gio-menu/index.d.ts +1 -0
- package/lib/gio-submenu/gio-submenu.module.d.ts +2 -1
- package/package.json +1 -1
|
@@ -2526,7 +2526,7 @@
|
|
|
2526
2526
|
return GioMenuItemComponent;
|
|
2527
2527
|
}());
|
|
2528
2528
|
GioMenuItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuItemComponent, deps: [{ token: GioMenuService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2529
|
-
GioMenuItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioMenuItemComponent, selector: "gio-menu-item", inputs: { icon: "icon", active: "active", outlined: "outlined" }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeydownHandler($event)" } }, viewQueries: [{ propertyName: "gioMenuItem", first: true, predicate: ["gioMenuItem"], 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 class=\"gio-menu-item\"\n #gioMenuItem\n [class.gio-menu-item__active]=\"active\"\n [class.gio-menu-item__outlined]=\"outlined\"\n (click)=\"onClick($event)\"\n (mouseenter)=\"onMouseEnter($event)\"\n (mouseleave)=\"onMouseLeave()\"\n>\n <mat-icon *ngIf=\"icon\" class=\"gio-menu-item__icon\" [svgIcon]=\"icon\"></mat-icon>\n <span class=\"gio-menu-item__title\"><ng-content></ng-content></span>\n</div>\n", styles: [":host{display:block}.gio-menu-item{display:flex;width:192px;height:36px;flex:none;flex-direction:row;flex-grow:0;align-items:center;padding:16px;margin:4px 0;background:#1c1e39;border-radius:4px;color:#f7f8fd;cursor:pointer}.gio-menu-item__active{background:#494b61}.gio-menu-item__outlined{border
|
|
2529
|
+
GioMenuItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioMenuItemComponent, selector: "gio-menu-item", inputs: { icon: "icon", active: "active", outlined: "outlined" }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeydownHandler($event)" } }, viewQueries: [{ propertyName: "gioMenuItem", first: true, predicate: ["gioMenuItem"], 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 class=\"gio-menu-item\"\n #gioMenuItem\n [class.gio-menu-item__active]=\"active\"\n [class.gio-menu-item__outlined]=\"outlined\"\n (click)=\"onClick($event)\"\n (mouseenter)=\"onMouseEnter($event)\"\n (mouseleave)=\"onMouseLeave()\"\n>\n <mat-icon *ngIf=\"icon\" class=\"gio-menu-item__icon\" [svgIcon]=\"icon\"></mat-icon>\n <span class=\"gio-menu-item__title\"><ng-content></ng-content></span>\n</div>\n", styles: [":host{display:block}.gio-menu-item{display:flex;width:192px;height:36px;flex:none;flex-direction:row;flex-grow:0;align-items:center;padding:16px;margin:4px 0;background:#1c1e39;border-radius:4px;color:#f7f8fd;cursor:pointer}.gio-menu-item__active{background:#494b61}.gio-menu-item__outlined{border:1px solid #606274;border-radius:4px}.gio-menu-item__icon{position:absolute;width:20px;height:20px}.gio-menu-item__title:not(:first-child){margin:18px 0 18px 32px}:host-context(.gio-menu__reduced) .gio-menu-item{width:44px;justify-content:center;padding:0;margin:8px 0}:host-context(.gio-menu__reduced) .gio-menu-item__title{display:none}:host-context(.gio-menu__reduced .gio-menu-footer) .gio-menu-item{margin:20px 0}:host-context(.gio-menu__reduced .gio-menu-footer) .gio-menu-item__outlined{margin:20px 0}.gio-menu-item:hover:not(.gio-menu-item__active){background:#33354d}\n"], components: [{ type: i1__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2530
2530
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuItemComponent, decorators: [{
|
|
2531
2531
|
type: i0.Component,
|
|
2532
2532
|
args: [{
|
|
@@ -2744,6 +2744,36 @@
|
|
|
2744
2744
|
}]
|
|
2745
2745
|
}] });
|
|
2746
2746
|
|
|
2747
|
+
/*
|
|
2748
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
2749
|
+
*
|
|
2750
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2751
|
+
* you may not use this file except in compliance with the License.
|
|
2752
|
+
* You may obtain a copy of the License at
|
|
2753
|
+
*
|
|
2754
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2755
|
+
*
|
|
2756
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2757
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2758
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2759
|
+
* See the License for the specific language governing permissions and
|
|
2760
|
+
* limitations under the License.
|
|
2761
|
+
*/
|
|
2762
|
+
var GioMenuServiceModule = /** @class */ (function () {
|
|
2763
|
+
function GioMenuServiceModule() {
|
|
2764
|
+
}
|
|
2765
|
+
return GioMenuServiceModule;
|
|
2766
|
+
}());
|
|
2767
|
+
GioMenuServiceModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuServiceModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2768
|
+
GioMenuServiceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuServiceModule });
|
|
2769
|
+
GioMenuServiceModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuServiceModule, providers: [GioMenuService] });
|
|
2770
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuServiceModule, decorators: [{
|
|
2771
|
+
type: i0.NgModule,
|
|
2772
|
+
args: [{
|
|
2773
|
+
providers: [GioMenuService],
|
|
2774
|
+
}]
|
|
2775
|
+
}] });
|
|
2776
|
+
|
|
2747
2777
|
/*
|
|
2748
2778
|
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
2749
2779
|
*
|
|
@@ -2770,13 +2800,13 @@
|
|
|
2770
2800
|
GioMenuFooterComponent,
|
|
2771
2801
|
GioMenuListComponent,
|
|
2772
2802
|
GioMenuHeaderComponent,
|
|
2773
|
-
GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule], exports: [GioMenuComponent,
|
|
2803
|
+
GioMenuSelectorComponent], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuServiceModule], exports: [GioMenuComponent,
|
|
2774
2804
|
GioMenuItemComponent,
|
|
2775
2805
|
GioMenuFooterComponent,
|
|
2776
2806
|
GioMenuListComponent,
|
|
2777
2807
|
GioMenuHeaderComponent,
|
|
2778
2808
|
GioMenuSelectorComponent] });
|
|
2779
|
-
GioMenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule,
|
|
2809
|
+
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, GioMenuServiceModule]] });
|
|
2780
2810
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuModule, decorators: [{
|
|
2781
2811
|
type: i0.NgModule,
|
|
2782
2812
|
args: [{
|
|
@@ -2796,8 +2826,7 @@
|
|
|
2796
2826
|
GioMenuHeaderComponent,
|
|
2797
2827
|
GioMenuSelectorComponent,
|
|
2798
2828
|
],
|
|
2799
|
-
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule],
|
|
2800
|
-
providers: [GioMenuService],
|
|
2829
|
+
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, i2$3.MatSelectModule, GioMenuServiceModule],
|
|
2801
2830
|
}]
|
|
2802
2831
|
}] });
|
|
2803
2832
|
|
|
@@ -2975,15 +3004,14 @@
|
|
|
2975
3004
|
return GioSubmenuModule;
|
|
2976
3005
|
}());
|
|
2977
3006
|
GioSubmenuModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
2978
|
-
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] });
|
|
2979
|
-
GioSubmenuModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule,
|
|
3007
|
+
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, GioMenuServiceModule], exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent] });
|
|
3008
|
+
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, GioMenuServiceModule]] });
|
|
2980
3009
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, decorators: [{
|
|
2981
3010
|
type: i0.NgModule,
|
|
2982
3011
|
args: [{
|
|
2983
3012
|
declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
2984
3013
|
exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
2985
|
-
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule],
|
|
2986
|
-
providers: [GioMenuService],
|
|
3014
|
+
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule, GioMenuServiceModule],
|
|
2987
3015
|
}]
|
|
2988
3016
|
}] });
|
|
2989
3017
|
|
|
@@ -3456,6 +3484,7 @@
|
|
|
3456
3484
|
exports.GioMenuModule = GioMenuModule;
|
|
3457
3485
|
exports.GioMenuSelectorComponent = GioMenuSelectorComponent;
|
|
3458
3486
|
exports.GioMenuService = GioMenuService;
|
|
3487
|
+
exports.GioMenuServiceModule = GioMenuServiceModule;
|
|
3459
3488
|
exports.GioSaveBarComponent = GioSaveBarComponent;
|
|
3460
3489
|
exports.GioSaveBarHarness = GioSaveBarHarness;
|
|
3461
3490
|
exports.GioSaveBarModule = GioSaveBarModule;
|