@gravitee/ui-particles-angular 4.10.6 → 4.11.0
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 +23 -4
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-menu/gio-menu.component.js +4 -1
- package/esm2015/lib/gio-submenu/gio-submenu.component.js +15 -3
- package/esm2015/lib/gio-submenu/gio-submenu.module.js +5 -5
- package/fesm2015/gravitee-ui-particles-angular.js +20 -5
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-menu/gio-menu.component.d.ts +3 -1
- package/lib/gio-submenu/gio-submenu.component.d.ts +6 -1
- package/lib/gio-submenu/gio-submenu.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2619,6 +2619,9 @@
|
|
|
2619
2619
|
this.gioMenuService = gioMenuService;
|
|
2620
2620
|
this.reduced = false;
|
|
2621
2621
|
}
|
|
2622
|
+
GioMenuComponent.prototype.ngOnInit = function () {
|
|
2623
|
+
this.gioMenuService.reduced(this.reduced);
|
|
2624
|
+
};
|
|
2622
2625
|
GioMenuComponent.prototype.reduceMenu = function () {
|
|
2623
2626
|
this.reduced = !this.reduced;
|
|
2624
2627
|
this.gioMenuService.reduced(this.reduced);
|
|
@@ -2833,10 +2836,24 @@
|
|
|
2833
2836
|
* limitations under the License.
|
|
2834
2837
|
*/
|
|
2835
2838
|
|
|
2839
|
+
var GioSubmenuTitleDirective = /** @class */ (function () {
|
|
2840
|
+
function GioSubmenuTitleDirective() {
|
|
2841
|
+
}
|
|
2842
|
+
return GioSubmenuTitleDirective;
|
|
2843
|
+
}());
|
|
2844
|
+
GioSubmenuTitleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuTitleDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2845
|
+
GioSubmenuTitleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: GioSubmenuTitleDirective, selector: "[gioSubmenuTitle]", ngImport: i0__namespace });
|
|
2846
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuTitleDirective, decorators: [{
|
|
2847
|
+
type: i0.Directive,
|
|
2848
|
+
args: [{
|
|
2849
|
+
selector: '[gioSubmenuTitle]',
|
|
2850
|
+
}]
|
|
2851
|
+
}] });
|
|
2836
2852
|
var GioSubmenuComponent = /** @class */ (function () {
|
|
2837
2853
|
function GioSubmenuComponent(gioMenuService) {
|
|
2838
2854
|
this.gioMenuService = gioMenuService;
|
|
2839
2855
|
this.reduced = false;
|
|
2856
|
+
this.loaded = false;
|
|
2840
2857
|
this.overlayOptions = { open: false };
|
|
2841
2858
|
this.hover = false;
|
|
2842
2859
|
this.unsubscribe$ = new rxjs.Subject();
|
|
@@ -2847,6 +2864,7 @@
|
|
|
2847
2864
|
.pipe(operators.takeUntil(this.unsubscribe$), operators.tap(function (_a) {
|
|
2848
2865
|
var _b = __read(_a, 2), reduced = _b[0], overlayOptions = _b[1];
|
|
2849
2866
|
_this.reduced = reduced;
|
|
2867
|
+
_this.loaded = true;
|
|
2850
2868
|
if (_this.gioSubmenu) {
|
|
2851
2869
|
_this.overlayOptions = overlayOptions;
|
|
2852
2870
|
if (_this.reduced) {
|
|
@@ -2877,7 +2895,7 @@
|
|
|
2877
2895
|
return GioSubmenuComponent;
|
|
2878
2896
|
}());
|
|
2879
2897
|
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:
|
|
2898
|
+
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 <div #title class=\"gio-submenu__title\" [class.hide]=\"!title.children.length || reduced\">\n <ng-content select=\"[gioSubmenuTitle]\"></ng-content>\n </div>\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}.gio-submenu__title{padding-bottom:8px;color:#fff}.gio-submenu .hide{display:none}\n"] });
|
|
2881
2899
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuComponent, decorators: [{
|
|
2882
2900
|
type: i0.Component,
|
|
2883
2901
|
args: [{
|
|
@@ -2991,13 +3009,13 @@
|
|
|
2991
3009
|
return GioSubmenuModule;
|
|
2992
3010
|
}());
|
|
2993
3011
|
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
|
-
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] });
|
|
3012
|
+
GioSubmenuModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent, GioSubmenuTitleDirective], imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule], exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent, GioSubmenuTitleDirective] });
|
|
2995
3013
|
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
3014
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuModule, decorators: [{
|
|
2997
3015
|
type: i0.NgModule,
|
|
2998
3016
|
args: [{
|
|
2999
|
-
declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3000
|
-
exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent],
|
|
3017
|
+
declarations: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent, GioSubmenuTitleDirective],
|
|
3018
|
+
exports: [GioSubmenuComponent, GioSubmenuGroupComponent, GioSubmenuItemComponent, GioSubmenuTitleDirective],
|
|
3001
3019
|
imports: [i2$1.CommonModule, i1$1.MatIconModule, GioIconsModule],
|
|
3002
3020
|
}]
|
|
3003
3021
|
}] });
|
|
@@ -3478,6 +3496,7 @@
|
|
|
3478
3496
|
exports.GioSubmenuGroupComponent = GioSubmenuGroupComponent;
|
|
3479
3497
|
exports.GioSubmenuItemComponent = GioSubmenuItemComponent;
|
|
3480
3498
|
exports.GioSubmenuModule = GioSubmenuModule;
|
|
3499
|
+
exports.GioSubmenuTitleDirective = GioSubmenuTitleDirective;
|
|
3481
3500
|
exports.GioTopBarComponent = GioTopBarComponent;
|
|
3482
3501
|
exports.GioTopBarContentComponent = GioTopBarContentComponent;
|
|
3483
3502
|
exports.GioTopBarLinkComponent = GioTopBarLinkComponent;
|