@gravitee/ui-particles-angular 4.11.1 → 4.12.0-291-keyboard-accessibility-ee0ed7d

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.
Files changed (26) hide show
  1. package/bundles/gravitee-ui-particles-angular.umd.js +208 -12
  2. package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
  3. package/esm2015/lib/gio-breadcrumb/gio-breadcrumb-item.directive.js +31 -0
  4. package/esm2015/lib/gio-breadcrumb/gio-breadcrumb.component.js +36 -0
  5. package/esm2015/lib/gio-breadcrumb/gio-breadcrumb.module.js +36 -0
  6. package/esm2015/lib/gio-breadcrumb/index.js +19 -0
  7. package/esm2015/lib/gio-menu/gio-menu-item/gio-menu-item.component.js +6 -5
  8. package/esm2015/lib/gio-menu/gio-menu-selector/gio-menu-selector.harness.js +48 -0
  9. package/esm2015/lib/gio-menu/gio-menu.service.js +1 -1
  10. package/esm2015/lib/gio-menu/index.js +2 -1
  11. package/esm2015/lib/gio-submenu/gio-submenu.component.js +21 -6
  12. package/esm2015/lib/public-api.js +2 -1
  13. package/fesm2015/gravitee-ui-particles-angular.js +178 -10
  14. package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
  15. package/lib/gio-breadcrumb/gio-breadcrumb-item.directive.d.ts +8 -0
  16. package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +8 -0
  17. package/lib/gio-breadcrumb/gio-breadcrumb.module.d.ts +10 -0
  18. package/lib/gio-breadcrumb/index.d.ts +3 -0
  19. package/lib/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +1 -1
  20. package/lib/gio-menu/gio-menu-selector/gio-menu-selector.harness.d.ts +8 -0
  21. package/lib/gio-menu/gio-menu.service.d.ts +3 -3
  22. package/lib/gio-menu/index.d.ts +1 -0
  23. package/lib/gio-submenu/gio-submenu.component.d.ts +4 -5
  24. package/lib/public-api.d.ts +1 -0
  25. package/package.json +1 -1
  26. package/src/scss/theme/typography/gio-typography.scss +1 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/core'), require('rxjs'), require('@angular/material/card'), require('@angular/material/button'), require('@angular/common'), require('@angular/cdk/testing'), require('@angular/cdk/coercion'), require('@angular/material/form-field'), require('lodash'), require('rxjs/operators'), require('@angular/forms'), require('@angular/cdk/a11y'), require('@angular/material/chips'), require('@angular/material/icon'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/autocomplete/testing'), require('@angular/material/chips/testing'), require('@angular/common/http'), require('@angular/platform-browser'), require('@angular/material/dialog'), require('@angular/material/button/testing'), require('@angular/material/input/testing'), require('@angular/cdk/text-field'), require('ngx-file-helpers'), require('jdenticon')) :
3
- typeof define === 'function' && define.amd ? define('@gravitee/ui-particles-angular', ['exports', '@angular/animations', '@angular/core', 'rxjs', '@angular/material/card', '@angular/material/button', '@angular/common', '@angular/cdk/testing', '@angular/cdk/coercion', '@angular/material/form-field', 'lodash', 'rxjs/operators', '@angular/forms', '@angular/cdk/a11y', '@angular/material/chips', '@angular/material/icon', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/input', '@angular/material/select', '@angular/material/autocomplete/testing', '@angular/material/chips/testing', '@angular/common/http', '@angular/platform-browser', '@angular/material/dialog', '@angular/material/button/testing', '@angular/material/input/testing', '@angular/cdk/text-field', 'ngx-file-helpers', 'jdenticon'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.gravitee = global.gravitee || {}, global.gravitee["ui-particles-angular"] = {}), global.ng.animations, global.ng.core, global.rxjs, global.ng.material.card, global.ng.material.button, global.ng.common, global.ng.cdk.testing, global.ng.cdk.coercion, global.ng.material.formField, global.lodash, global.rxjs.operators, global.ng.forms, global.ng.cdk.a11y, global.ng.material.chips, global.ng.material.icon, global.ng.material.autocomplete, global.ng.material.core, global.ng.material.input, global.ng.material.select, global.ng.material.autocomplete.testing, global.ng.material.chips.testing, global.ng.common.http, global.ng.platformBrowser, global.ng.material.dialog, global.ng.material.button.testing, global.ng.material.input.testing, global.ng.cdk.textField, global.i6$2, global.jdenticon));
5
- })(this, (function (exports, animations, i0, rxjs, i1, i2, i2$1, testing, coercion, i3, lodash, operators, i7, i2$2, i3$1, i1$1, i5, i6, i6$1, i2$3, testing$2, testing$1, http, i2$4, i1$2, testing$3, testing$4, i10, i6$2, jdenticon) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/core'), require('rxjs'), require('@angular/material/card'), require('@angular/material/button'), require('@angular/common'), require('@angular/cdk/testing'), require('@angular/cdk/coercion'), require('@angular/material/form-field'), require('lodash'), require('rxjs/operators'), require('@angular/forms'), require('@angular/cdk/a11y'), require('@angular/material/chips'), require('@angular/material/icon'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/input'), require('@angular/material/select'), require('@angular/material/autocomplete/testing'), require('@angular/material/chips/testing'), require('@angular/common/http'), require('@angular/platform-browser'), require('@angular/material/dialog'), require('@angular/material/button/testing'), require('@angular/material/input/testing'), require('@angular/cdk/text-field'), require('ngx-file-helpers'), require('@angular/material/select/testing'), require('jdenticon')) :
3
+ typeof define === 'function' && define.amd ? define('@gravitee/ui-particles-angular', ['exports', '@angular/animations', '@angular/core', 'rxjs', '@angular/material/card', '@angular/material/button', '@angular/common', '@angular/cdk/testing', '@angular/cdk/coercion', '@angular/material/form-field', 'lodash', 'rxjs/operators', '@angular/forms', '@angular/cdk/a11y', '@angular/material/chips', '@angular/material/icon', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/input', '@angular/material/select', '@angular/material/autocomplete/testing', '@angular/material/chips/testing', '@angular/common/http', '@angular/platform-browser', '@angular/material/dialog', '@angular/material/button/testing', '@angular/material/input/testing', '@angular/cdk/text-field', 'ngx-file-helpers', '@angular/material/select/testing', 'jdenticon'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.gravitee = global.gravitee || {}, global.gravitee["ui-particles-angular"] = {}), global.ng.animations, global.ng.core, global.rxjs, global.ng.material.card, global.ng.material.button, global.ng.common, global.ng.cdk.testing, global.ng.cdk.coercion, global.ng.material.formField, global.lodash, global.rxjs.operators, global.ng.forms, global.ng.cdk.a11y, global.ng.material.chips, global.ng.material.icon, global.ng.material.autocomplete, global.ng.material.core, global.ng.material.input, global.ng.material.select, global.ng.material.autocomplete.testing, global.ng.material.chips.testing, global.ng.common.http, global.ng.platformBrowser, global.ng.material.dialog, global.ng.material.button.testing, global.ng.material.input.testing, global.ng.cdk.textField, global.i6$2, global.ng.material.select.testing, global.jdenticon));
5
+ })(this, (function (exports, animations, i0, rxjs, i1, i2, i2$1, testing, coercion, i3, lodash, operators, i7, i2$2, i3$1, i1$1, i5, i6, i6$1, i2$3, testing$2, testing$1, http, i2$4, i1$2, testing$3, testing$4, i10, i6$2, testing$5, jdenticon) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -2534,10 +2534,11 @@
2534
2534
  var _this = this;
2535
2535
  setTimeout(function () { return _this.onMouseEnter($event); }, 0);
2536
2536
  };
2537
- GioMenuItemComponent.prototype.onKeydownHandler = function (event) {
2538
- var _a;
2539
- if (event.key === ' ' || event.key === 'Enter') {
2540
- (_a = this.gioMenuItem) === null || _a === void 0 ? void 0 : _a.nativeElement.click();
2537
+ GioMenuItemComponent.prototype.onKeydownHandler = function ($event) {
2538
+ if ($event.key === ' ' || $event.key === 'Enter') {
2539
+ var menuItem = $event.target;
2540
+ this.gioMenuService.overlay({ open: false });
2541
+ this.gioMenuService.overlay({ open: true, top: menuItem.getBoundingClientRect().top, parent: menuItem, focus: true });
2541
2542
  }
2542
2543
  };
2543
2544
  return GioMenuItemComponent;
@@ -2820,6 +2821,68 @@
2820
2821
  }]
2821
2822
  }] });
2822
2823
 
2824
+ var GioMenuSelectorHarness = /** @class */ (function (_super) {
2825
+ __extends(GioMenuSelectorHarness, _super);
2826
+ function GioMenuSelectorHarness() {
2827
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
2828
+ _this.getSelect = _this.locatorFor(testing$5.MatSelectHarness);
2829
+ return _this;
2830
+ }
2831
+ GioMenuSelectorHarness.prototype.availableOptions = function () {
2832
+ return __awaiter(this, void 0, void 0, function () {
2833
+ var select, options;
2834
+ return __generator(this, function (_a) {
2835
+ switch (_a.label) {
2836
+ case 0: return [4 /*yield*/, this.getSelect()];
2837
+ case 1:
2838
+ select = _a.sent();
2839
+ return [4 /*yield*/, select.open()];
2840
+ case 2:
2841
+ _a.sent();
2842
+ return [4 /*yield*/, select.getOptions()];
2843
+ case 3:
2844
+ options = _a.sent();
2845
+ return [2 /*return*/, Promise.all(options.map(function (o) { return o.getText(); }))];
2846
+ }
2847
+ });
2848
+ });
2849
+ };
2850
+ GioMenuSelectorHarness.prototype.selectedOption = function () {
2851
+ return __awaiter(this, void 0, void 0, function () {
2852
+ var select;
2853
+ return __generator(this, function (_a) {
2854
+ switch (_a.label) {
2855
+ case 0: return [4 /*yield*/, this.getSelect()];
2856
+ case 1:
2857
+ select = _a.sent();
2858
+ return [2 /*return*/, select.getValueText()];
2859
+ }
2860
+ });
2861
+ });
2862
+ };
2863
+ GioMenuSelectorHarness.prototype.selectOptionByIndex = function (index) {
2864
+ return __awaiter(this, void 0, void 0, function () {
2865
+ var select, options;
2866
+ return __generator(this, function (_a) {
2867
+ switch (_a.label) {
2868
+ case 0: return [4 /*yield*/, this.getSelect()];
2869
+ case 1:
2870
+ select = _a.sent();
2871
+ return [4 /*yield*/, select.open()];
2872
+ case 2:
2873
+ _a.sent();
2874
+ return [4 /*yield*/, select.getOptions()];
2875
+ case 3:
2876
+ options = _a.sent();
2877
+ return [2 /*return*/, options[index].click()];
2878
+ }
2879
+ });
2880
+ });
2881
+ };
2882
+ return GioMenuSelectorHarness;
2883
+ }(testing.ComponentHarness));
2884
+ GioMenuSelectorHarness.hostSelector = 'gio-menu-selector';
2885
+
2823
2886
  /*
2824
2887
  * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
2825
2888
  *
@@ -2885,6 +2948,12 @@
2885
2948
  _this.gioSubmenu.nativeElement.style.top = top + "px";
2886
2949
  _this.gioSubmenu.nativeElement.style.height = 'auto';
2887
2950
  _this.gioSubmenu.nativeElement.style.maxHeight = "calc(100vh - " + (top + 8) + "px)";
2951
+ if (overlayOptions.focus) {
2952
+ var submenuItems_1 = _this.gioSubmenu.nativeElement.querySelectorAll('gio-submenu-item');
2953
+ if (submenuItems_1.length > 0) {
2954
+ setTimeout(function () { return submenuItems_1[0].focus(); }, 200);
2955
+ }
2956
+ }
2888
2957
  }))
2889
2958
  .subscribe();
2890
2959
  this.gioMenuService.reduce
@@ -2896,6 +2965,10 @@
2896
2965
  }))
2897
2966
  .subscribe();
2898
2967
  };
2968
+ GioSubmenuComponent.prototype.ngOnDestroy = function () {
2969
+ this.unsubscribe$.next();
2970
+ this.unsubscribe$.unsubscribe();
2971
+ };
2899
2972
  GioSubmenuComponent.prototype.onMouseEnter = function () {
2900
2973
  this.hover = true;
2901
2974
  this.gioMenuService.overlay(this.overlayOptions);
@@ -2904,14 +2977,17 @@
2904
2977
  this.hover = false;
2905
2978
  this.gioMenuService.overlay({ open: false });
2906
2979
  };
2907
- GioSubmenuComponent.prototype.ngOnDestroy = function () {
2908
- this.unsubscribe$.next();
2909
- this.unsubscribe$.unsubscribe();
2980
+ GioSubmenuComponent.prototype.onKeydownHandler = function (event) {
2981
+ var _this = this;
2982
+ if (event.key === 'Escape' && this.reduced) {
2983
+ setTimeout(function () { var _a; return (_a = _this.overlayOptions.parent) === null || _a === void 0 ? void 0 : _a.focus(); }, 100);
2984
+ this.gioMenuService.overlay({ open: false });
2985
+ }
2910
2986
  };
2911
2987
  return GioSubmenuComponent;
2912
2988
  }());
2913
2989
  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 });
2914
- 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"] });
2990
+ GioSubmenuComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioSubmenuComponent, selector: "gio-submenu", host: { listeners: { "keydown": "onKeydownHandler($event)" } }, 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 .15s,visibility .15s;visibility:visible}.gio-submenu__title{padding-bottom:8px;color:#fff}.gio-submenu .hide{display:none}\n"] });
2915
2991
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuComponent, decorators: [{
2916
2992
  type: i0.Component,
2917
2993
  args: [{
@@ -2922,6 +2998,9 @@
2922
2998
  }], ctorParameters: function () { return [{ type: GioMenuService }]; }, propDecorators: { gioSubmenu: [{
2923
2999
  type: i0.ViewChild,
2924
3000
  args: ['gioSubmenu', { static: false }]
3001
+ }], onKeydownHandler: [{
3002
+ type: i0.HostListener,
3003
+ args: ['keydown', ['$event']]
2925
3004
  }] } });
2926
3005
 
2927
3006
  /*
@@ -3432,6 +3511,119 @@
3432
3511
  * limitations under the License.
3433
3512
  */
3434
3513
 
3514
+ /*
3515
+ * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3516
+ *
3517
+ * Licensed under the Apache License, Version 2.0 (the "License");
3518
+ * you may not use this file except in compliance with the License.
3519
+ * You may obtain a copy of the License at
3520
+ *
3521
+ * http://www.apache.org/licenses/LICENSE-2.0
3522
+ *
3523
+ * Unless required by applicable law or agreed to in writing, software
3524
+ * distributed under the License is distributed on an "AS IS" BASIS,
3525
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3526
+ * See the License for the specific language governing permissions and
3527
+ * limitations under the License.
3528
+ */
3529
+ var GioBreadcrumbItemDirective = /** @class */ (function () {
3530
+ function GioBreadcrumbItemDirective(templateRef) {
3531
+ this.templateRef = templateRef;
3532
+ }
3533
+ return GioBreadcrumbItemDirective;
3534
+ }());
3535
+ GioBreadcrumbItemDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbItemDirective, deps: [{ token: i0__namespace.TemplateRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
3536
+ GioBreadcrumbItemDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbItemDirective, selector: "[gioBreadcrumbItem]", ngImport: i0__namespace });
3537
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbItemDirective, decorators: [{
3538
+ type: i0.Directive,
3539
+ args: [{
3540
+ selector: '[gioBreadcrumbItem]',
3541
+ }]
3542
+ }], ctorParameters: function () { return [{ type: i0__namespace.TemplateRef }]; } });
3543
+
3544
+ /*
3545
+ * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3546
+ *
3547
+ * Licensed under the Apache License, Version 2.0 (the "License");
3548
+ * you may not use this file except in compliance with the License.
3549
+ * You may obtain a copy of the License at
3550
+ *
3551
+ * http://www.apache.org/licenses/LICENSE-2.0
3552
+ *
3553
+ * Unless required by applicable law or agreed to in writing, software
3554
+ * distributed under the License is distributed on an "AS IS" BASIS,
3555
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3556
+ * See the License for the specific language governing permissions and
3557
+ * limitations under the License.
3558
+ */
3559
+ var GioBreadcrumbComponent = /** @class */ (function () {
3560
+ function GioBreadcrumbComponent() {
3561
+ }
3562
+ return GioBreadcrumbComponent;
3563
+ }());
3564
+ GioBreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3565
+ GioBreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbComponent, selector: "gio-breadcrumb", queries: [{ propertyName: "itemDirectives", predicate: GioBreadcrumbItemDirective }], 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 class=\"gio-breadcrumb\">\n <ng-container *ngFor=\"let item of itemDirectives; let first = first\">\n <mat-icon *ngIf=\"!first\" svgIcon=\"gio:nav-arrow-right\" class=\"gio-breadcrumb__icon\"></mat-icon>\n <ng-container *ngTemplateOutlet=\"item.templateRef\"></ng-container>\n </ng-container>\n</div>\n", styles: [".gio-breadcrumb{display:flex;flex-flow:wrap;align-items:center;margin:2px}.gio-breadcrumb__content{display:flex;align-items:center;color:#606274}.gio-breadcrumb__content:last-child{font-weight:bold}.gio-breadcrumb__icon{width:12px;height:12px;margin:0 6px;color:#bbbcc4;line-height:12px}\n"], components: [{ type: i1__namespace$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i2__namespace$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
3566
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, decorators: [{
3567
+ type: i0.Component,
3568
+ args: [{
3569
+ selector: 'gio-breadcrumb',
3570
+ templateUrl: './gio-breadcrumb.component.html',
3571
+ styleUrls: ['./gio-breadcrumb.component.scss'],
3572
+ }]
3573
+ }], propDecorators: { itemDirectives: [{
3574
+ type: i0.ContentChildren,
3575
+ args: [GioBreadcrumbItemDirective]
3576
+ }] } });
3577
+
3578
+ /*
3579
+ * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3580
+ *
3581
+ * Licensed under the Apache License, Version 2.0 (the "License");
3582
+ * you may not use this file except in compliance with the License.
3583
+ * You may obtain a copy of the License at
3584
+ *
3585
+ * http://www.apache.org/licenses/LICENSE-2.0
3586
+ *
3587
+ * Unless required by applicable law or agreed to in writing, software
3588
+ * distributed under the License is distributed on an "AS IS" BASIS,
3589
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3590
+ * See the License for the specific language governing permissions and
3591
+ * limitations under the License.
3592
+ */
3593
+ var GioBreadcrumbModule = /** @class */ (function () {
3594
+ function GioBreadcrumbModule() {
3595
+ }
3596
+ return GioBreadcrumbModule;
3597
+ }());
3598
+ GioBreadcrumbModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3599
+ GioBreadcrumbModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, declarations: [GioBreadcrumbComponent, GioBreadcrumbItemDirective], imports: [i2$1.CommonModule, GioIconsModule], exports: [GioBreadcrumbComponent, GioBreadcrumbItemDirective] });
3600
+ GioBreadcrumbModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, imports: [[i2$1.CommonModule, GioIconsModule]] });
3601
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, decorators: [{
3602
+ type: i0.NgModule,
3603
+ args: [{
3604
+ imports: [i2$1.CommonModule, GioIconsModule],
3605
+ declarations: [GioBreadcrumbComponent, GioBreadcrumbItemDirective],
3606
+ exports: [GioBreadcrumbComponent, GioBreadcrumbItemDirective],
3607
+ entryComponents: [GioBreadcrumbComponent],
3608
+ }]
3609
+ }] });
3610
+
3611
+ /*
3612
+ * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3613
+ *
3614
+ * Licensed under the Apache License, Version 2.0 (the "License");
3615
+ * you may not use this file except in compliance with the License.
3616
+ * You may obtain a copy of the License at
3617
+ *
3618
+ * http://www.apache.org/licenses/LICENSE-2.0
3619
+ *
3620
+ * Unless required by applicable law or agreed to in writing, software
3621
+ * distributed under the License is distributed on an "AS IS" BASIS,
3622
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3623
+ * See the License for the specific language governing permissions and
3624
+ * limitations under the License.
3625
+ */
3626
+
3435
3627
  /*
3436
3628
  * Copyright (C) 2021 The Gravitee team (http://gravitee.io)
3437
3629
  *
@@ -3478,6 +3670,9 @@
3478
3670
  exports.GioBannerModule = GioBannerModule;
3479
3671
  exports.GioBannerSuccessComponent = GioBannerSuccessComponent;
3480
3672
  exports.GioBannerWarningComponent = GioBannerWarningComponent;
3673
+ exports.GioBreadcrumbComponent = GioBreadcrumbComponent;
3674
+ exports.GioBreadcrumbItemDirective = GioBreadcrumbItemDirective;
3675
+ exports.GioBreadcrumbModule = GioBreadcrumbModule;
3481
3676
  exports.GioConfirmAndValidateDialogComponent = GioConfirmAndValidateDialogComponent;
3482
3677
  exports.GioConfirmAndValidateDialogHarness = GioConfirmAndValidateDialogHarness;
3483
3678
  exports.GioConfirmAndValidateDialogModule = GioConfirmAndValidateDialogModule;
@@ -3504,6 +3699,7 @@
3504
3699
  exports.GioMenuListComponent = GioMenuListComponent;
3505
3700
  exports.GioMenuModule = GioMenuModule;
3506
3701
  exports.GioMenuSelectorComponent = GioMenuSelectorComponent;
3702
+ exports.GioMenuSelectorHarness = GioMenuSelectorHarness;
3507
3703
  exports.GioMenuService = GioMenuService;
3508
3704
  exports.GioSaveBarComponent = GioSaveBarComponent;
3509
3705
  exports.GioSaveBarHarness = GioSaveBarHarness;