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

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 +213 -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 +6 -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 +183 -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 +6 -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;
@@ -2478,7 +2478,9 @@
2478
2478
  function GioMenuService() {
2479
2479
  this.reduceSource = new rxjs.BehaviorSubject(false);
2480
2480
  this.overlaySource = new rxjs.BehaviorSubject({ open: false });
2481
+ this.enterSource = new rxjs.BehaviorSubject(false);
2481
2482
  this.reduce = this.reduceSource.asObservable();
2483
+ this.enterObservable = this.enterSource.asObservable();
2482
2484
  this.overlayObservable = this.overlaySource.asObservable().pipe(operators.distinctUntilChanged(function (prev, curr) { return prev.open === curr.open; }), operators.debounce(function (overlayOptions) { return rxjs.timer(overlayOptions.open ? 150 : 500); }));
2483
2485
  }
2484
2486
  GioMenuService.prototype.reduced = function (reduced) {
@@ -2487,6 +2489,9 @@
2487
2489
  GioMenuService.prototype.overlay = function (overlayOptions) {
2488
2490
  this.overlaySource.next(overlayOptions);
2489
2491
  };
2492
+ GioMenuService.prototype.enter = function () {
2493
+ this.enterSource.next(true);
2494
+ };
2490
2495
  return GioMenuService;
2491
2496
  }());
2492
2497
  GioMenuService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioMenuService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
@@ -2534,10 +2539,11 @@
2534
2539
  var _this = this;
2535
2540
  setTimeout(function () { return _this.onMouseEnter($event); }, 0);
2536
2541
  };
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();
2542
+ GioMenuItemComponent.prototype.onKeydownHandler = function ($event) {
2543
+ if ($event.key === ' ' || $event.key === 'Enter') {
2544
+ var menuItem = $event.target;
2545
+ this.gioMenuService.overlay({ open: false });
2546
+ this.gioMenuService.overlay({ open: true, top: menuItem.getBoundingClientRect().top, parent: menuItem, focus: true });
2541
2547
  }
2542
2548
  };
2543
2549
  return GioMenuItemComponent;
@@ -2820,6 +2826,68 @@
2820
2826
  }]
2821
2827
  }] });
2822
2828
 
2829
+ var GioMenuSelectorHarness = /** @class */ (function (_super) {
2830
+ __extends(GioMenuSelectorHarness, _super);
2831
+ function GioMenuSelectorHarness() {
2832
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
2833
+ _this.getSelect = _this.locatorFor(testing$5.MatSelectHarness);
2834
+ return _this;
2835
+ }
2836
+ GioMenuSelectorHarness.prototype.availableOptions = function () {
2837
+ return __awaiter(this, void 0, void 0, function () {
2838
+ var select, options;
2839
+ return __generator(this, function (_a) {
2840
+ switch (_a.label) {
2841
+ case 0: return [4 /*yield*/, this.getSelect()];
2842
+ case 1:
2843
+ select = _a.sent();
2844
+ return [4 /*yield*/, select.open()];
2845
+ case 2:
2846
+ _a.sent();
2847
+ return [4 /*yield*/, select.getOptions()];
2848
+ case 3:
2849
+ options = _a.sent();
2850
+ return [2 /*return*/, Promise.all(options.map(function (o) { return o.getText(); }))];
2851
+ }
2852
+ });
2853
+ });
2854
+ };
2855
+ GioMenuSelectorHarness.prototype.selectedOption = function () {
2856
+ return __awaiter(this, void 0, void 0, function () {
2857
+ var select;
2858
+ return __generator(this, function (_a) {
2859
+ switch (_a.label) {
2860
+ case 0: return [4 /*yield*/, this.getSelect()];
2861
+ case 1:
2862
+ select = _a.sent();
2863
+ return [2 /*return*/, select.getValueText()];
2864
+ }
2865
+ });
2866
+ });
2867
+ };
2868
+ GioMenuSelectorHarness.prototype.selectOptionByIndex = function (index) {
2869
+ return __awaiter(this, void 0, void 0, function () {
2870
+ var select, options;
2871
+ return __generator(this, function (_a) {
2872
+ switch (_a.label) {
2873
+ case 0: return [4 /*yield*/, this.getSelect()];
2874
+ case 1:
2875
+ select = _a.sent();
2876
+ return [4 /*yield*/, select.open()];
2877
+ case 2:
2878
+ _a.sent();
2879
+ return [4 /*yield*/, select.getOptions()];
2880
+ case 3:
2881
+ options = _a.sent();
2882
+ return [2 /*return*/, options[index].click()];
2883
+ }
2884
+ });
2885
+ });
2886
+ };
2887
+ return GioMenuSelectorHarness;
2888
+ }(testing.ComponentHarness));
2889
+ GioMenuSelectorHarness.hostSelector = 'gio-menu-selector';
2890
+
2823
2891
  /*
2824
2892
  * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
2825
2893
  *
@@ -2885,6 +2953,12 @@
2885
2953
  _this.gioSubmenu.nativeElement.style.top = top + "px";
2886
2954
  _this.gioSubmenu.nativeElement.style.height = 'auto';
2887
2955
  _this.gioSubmenu.nativeElement.style.maxHeight = "calc(100vh - " + (top + 8) + "px)";
2956
+ if (overlayOptions.focus) {
2957
+ var submenuItems_1 = _this.gioSubmenu.nativeElement.querySelectorAll('gio-submenu-item');
2958
+ if (submenuItems_1.length > 0) {
2959
+ setTimeout(function () { return submenuItems_1[0].focus(); }, 200);
2960
+ }
2961
+ }
2888
2962
  }))
2889
2963
  .subscribe();
2890
2964
  this.gioMenuService.reduce
@@ -2896,6 +2970,10 @@
2896
2970
  }))
2897
2971
  .subscribe();
2898
2972
  };
2973
+ GioSubmenuComponent.prototype.ngOnDestroy = function () {
2974
+ this.unsubscribe$.next();
2975
+ this.unsubscribe$.unsubscribe();
2976
+ };
2899
2977
  GioSubmenuComponent.prototype.onMouseEnter = function () {
2900
2978
  this.hover = true;
2901
2979
  this.gioMenuService.overlay(this.overlayOptions);
@@ -2904,14 +2982,17 @@
2904
2982
  this.hover = false;
2905
2983
  this.gioMenuService.overlay({ open: false });
2906
2984
  };
2907
- GioSubmenuComponent.prototype.ngOnDestroy = function () {
2908
- this.unsubscribe$.next();
2909
- this.unsubscribe$.unsubscribe();
2985
+ GioSubmenuComponent.prototype.onKeydownHandler = function (event) {
2986
+ var _this = this;
2987
+ if (event.key === 'Escape' && this.reduced) {
2988
+ setTimeout(function () { var _a; return (_a = _this.overlayOptions.parent) === null || _a === void 0 ? void 0 : _a.focus(); }, 100);
2989
+ this.gioMenuService.overlay({ open: false });
2990
+ }
2910
2991
  };
2911
2992
  return GioSubmenuComponent;
2912
2993
  }());
2913
2994
  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"] });
2995
+ 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
2996
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioSubmenuComponent, decorators: [{
2916
2997
  type: i0.Component,
2917
2998
  args: [{
@@ -2922,6 +3003,9 @@
2922
3003
  }], ctorParameters: function () { return [{ type: GioMenuService }]; }, propDecorators: { gioSubmenu: [{
2923
3004
  type: i0.ViewChild,
2924
3005
  args: ['gioSubmenu', { static: false }]
3006
+ }], onKeydownHandler: [{
3007
+ type: i0.HostListener,
3008
+ args: ['keydown', ['$event']]
2925
3009
  }] } });
2926
3010
 
2927
3011
  /*
@@ -3432,6 +3516,119 @@
3432
3516
  * limitations under the License.
3433
3517
  */
3434
3518
 
3519
+ /*
3520
+ * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3521
+ *
3522
+ * Licensed under the Apache License, Version 2.0 (the "License");
3523
+ * you may not use this file except in compliance with the License.
3524
+ * You may obtain a copy of the License at
3525
+ *
3526
+ * http://www.apache.org/licenses/LICENSE-2.0
3527
+ *
3528
+ * Unless required by applicable law or agreed to in writing, software
3529
+ * distributed under the License is distributed on an "AS IS" BASIS,
3530
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3531
+ * See the License for the specific language governing permissions and
3532
+ * limitations under the License.
3533
+ */
3534
+ var GioBreadcrumbItemDirective = /** @class */ (function () {
3535
+ function GioBreadcrumbItemDirective(templateRef) {
3536
+ this.templateRef = templateRef;
3537
+ }
3538
+ return GioBreadcrumbItemDirective;
3539
+ }());
3540
+ 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 });
3541
+ GioBreadcrumbItemDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbItemDirective, selector: "[gioBreadcrumbItem]", ngImport: i0__namespace });
3542
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbItemDirective, decorators: [{
3543
+ type: i0.Directive,
3544
+ args: [{
3545
+ selector: '[gioBreadcrumbItem]',
3546
+ }]
3547
+ }], ctorParameters: function () { return [{ type: i0__namespace.TemplateRef }]; } });
3548
+
3549
+ /*
3550
+ * Copyright (C) 2022 The Gravitee team (http://gravitee.io)
3551
+ *
3552
+ * Licensed under the Apache License, Version 2.0 (the "License");
3553
+ * you may not use this file except in compliance with the License.
3554
+ * You may obtain a copy of the License at
3555
+ *
3556
+ * http://www.apache.org/licenses/LICENSE-2.0
3557
+ *
3558
+ * Unless required by applicable law or agreed to in writing, software
3559
+ * distributed under the License is distributed on an "AS IS" BASIS,
3560
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3561
+ * See the License for the specific language governing permissions and
3562
+ * limitations under the License.
3563
+ */
3564
+ var GioBreadcrumbComponent = /** @class */ (function () {
3565
+ function GioBreadcrumbComponent() {
3566
+ }
3567
+ return GioBreadcrumbComponent;
3568
+ }());
3569
+ GioBreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
3570
+ 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"] }] });
3571
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, decorators: [{
3572
+ type: i0.Component,
3573
+ args: [{
3574
+ selector: 'gio-breadcrumb',
3575
+ templateUrl: './gio-breadcrumb.component.html',
3576
+ styleUrls: ['./gio-breadcrumb.component.scss'],
3577
+ }]
3578
+ }], propDecorators: { itemDirectives: [{
3579
+ type: i0.ContentChildren,
3580
+ args: [GioBreadcrumbItemDirective]
3581
+ }] } });
3582
+
3583
+ /*
3584
+ * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3585
+ *
3586
+ * Licensed under the Apache License, Version 2.0 (the "License");
3587
+ * you may not use this file except in compliance with the License.
3588
+ * You may obtain a copy of the License at
3589
+ *
3590
+ * http://www.apache.org/licenses/LICENSE-2.0
3591
+ *
3592
+ * Unless required by applicable law or agreed to in writing, software
3593
+ * distributed under the License is distributed on an "AS IS" BASIS,
3594
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3595
+ * See the License for the specific language governing permissions and
3596
+ * limitations under the License.
3597
+ */
3598
+ var GioBreadcrumbModule = /** @class */ (function () {
3599
+ function GioBreadcrumbModule() {
3600
+ }
3601
+ return GioBreadcrumbModule;
3602
+ }());
3603
+ GioBreadcrumbModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
3604
+ 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] });
3605
+ GioBreadcrumbModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, imports: [[i2$1.CommonModule, GioIconsModule]] });
3606
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, decorators: [{
3607
+ type: i0.NgModule,
3608
+ args: [{
3609
+ imports: [i2$1.CommonModule, GioIconsModule],
3610
+ declarations: [GioBreadcrumbComponent, GioBreadcrumbItemDirective],
3611
+ exports: [GioBreadcrumbComponent, GioBreadcrumbItemDirective],
3612
+ entryComponents: [GioBreadcrumbComponent],
3613
+ }]
3614
+ }] });
3615
+
3616
+ /*
3617
+ * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3618
+ *
3619
+ * Licensed under the Apache License, Version 2.0 (the "License");
3620
+ * you may not use this file except in compliance with the License.
3621
+ * You may obtain a copy of the License at
3622
+ *
3623
+ * http://www.apache.org/licenses/LICENSE-2.0
3624
+ *
3625
+ * Unless required by applicable law or agreed to in writing, software
3626
+ * distributed under the License is distributed on an "AS IS" BASIS,
3627
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3628
+ * See the License for the specific language governing permissions and
3629
+ * limitations under the License.
3630
+ */
3631
+
3435
3632
  /*
3436
3633
  * Copyright (C) 2021 The Gravitee team (http://gravitee.io)
3437
3634
  *
@@ -3478,6 +3675,9 @@
3478
3675
  exports.GioBannerModule = GioBannerModule;
3479
3676
  exports.GioBannerSuccessComponent = GioBannerSuccessComponent;
3480
3677
  exports.GioBannerWarningComponent = GioBannerWarningComponent;
3678
+ exports.GioBreadcrumbComponent = GioBreadcrumbComponent;
3679
+ exports.GioBreadcrumbItemDirective = GioBreadcrumbItemDirective;
3680
+ exports.GioBreadcrumbModule = GioBreadcrumbModule;
3481
3681
  exports.GioConfirmAndValidateDialogComponent = GioConfirmAndValidateDialogComponent;
3482
3682
  exports.GioConfirmAndValidateDialogHarness = GioConfirmAndValidateDialogHarness;
3483
3683
  exports.GioConfirmAndValidateDialogModule = GioConfirmAndValidateDialogModule;
@@ -3504,6 +3704,7 @@
3504
3704
  exports.GioMenuListComponent = GioMenuListComponent;
3505
3705
  exports.GioMenuModule = GioMenuModule;
3506
3706
  exports.GioMenuSelectorComponent = GioMenuSelectorComponent;
3707
+ exports.GioMenuSelectorHarness = GioMenuSelectorHarness;
3507
3708
  exports.GioMenuService = GioMenuService;
3508
3709
  exports.GioSaveBarComponent = GioSaveBarComponent;
3509
3710
  exports.GioSaveBarHarness = GioSaveBarHarness;