@gravitee/ui-particles-angular 4.11.0 → 4.11.1-302-breadcrumb-ee76a79
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 +278 -21
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb-item/GioBreadcrumbItem.js +2 -0
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb-item/GioBreadcrumbItemDynamicComponent.js +2 -0
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb-item/gio-breadcrumb-dynamic-item.directive.js +31 -0
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb-item/gio-breadcrumb-item.component.js +72 -0
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb.component.js +41 -0
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb.module.js +37 -0
- package/esm2015/lib/gio-breadcrumb/index.js +20 -0
- package/esm2015/lib/gio-menu/gio-menu-selector/gio-menu-selector.harness.js +48 -0
- package/esm2015/lib/gio-menu/index.js +2 -1
- package/esm2015/lib/gio-submenu/gio-submenu.component.js +21 -19
- package/esm2015/lib/public-api.js +2 -1
- package/fesm2015/gravitee-ui-particles-angular.js +245 -19
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-breadcrumb/gio-breadcrumb-item/GioBreadcrumbItem.d.ts +8 -0
- package/lib/gio-breadcrumb/gio-breadcrumb-item/GioBreadcrumbItemDynamicComponent.d.ts +3 -0
- package/lib/gio-breadcrumb/gio-breadcrumb-item/gio-breadcrumb-dynamic-item.directive.d.ts +8 -0
- package/lib/gio-breadcrumb/gio-breadcrumb-item/gio-breadcrumb-item.component.d.ts +16 -0
- package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +8 -0
- package/lib/gio-breadcrumb/gio-breadcrumb.module.d.ts +11 -0
- package/lib/gio-breadcrumb/index.d.ts +4 -0
- package/lib/gio-menu/gio-menu-selector/gio-menu-selector.harness.d.ts +8 -0
- package/lib/gio-menu/index.d.ts +1 -0
- package/lib/gio-submenu/gio-submenu.component.d.ts +3 -3
- package/lib/public-api.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -2820,6 +2820,68 @@
|
|
|
2820
2820
|
}]
|
|
2821
2821
|
}] });
|
|
2822
2822
|
|
|
2823
|
+
var GioMenuSelectorHarness = /** @class */ (function (_super) {
|
|
2824
|
+
__extends(GioMenuSelectorHarness, _super);
|
|
2825
|
+
function GioMenuSelectorHarness() {
|
|
2826
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
|
|
2827
|
+
_this.getSelect = _this.locatorFor(testing$5.MatSelectHarness);
|
|
2828
|
+
return _this;
|
|
2829
|
+
}
|
|
2830
|
+
GioMenuSelectorHarness.prototype.availableOptions = function () {
|
|
2831
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2832
|
+
var select, options;
|
|
2833
|
+
return __generator(this, function (_a) {
|
|
2834
|
+
switch (_a.label) {
|
|
2835
|
+
case 0: return [4 /*yield*/, this.getSelect()];
|
|
2836
|
+
case 1:
|
|
2837
|
+
select = _a.sent();
|
|
2838
|
+
return [4 /*yield*/, select.open()];
|
|
2839
|
+
case 2:
|
|
2840
|
+
_a.sent();
|
|
2841
|
+
return [4 /*yield*/, select.getOptions()];
|
|
2842
|
+
case 3:
|
|
2843
|
+
options = _a.sent();
|
|
2844
|
+
return [2 /*return*/, Promise.all(options.map(function (o) { return o.getText(); }))];
|
|
2845
|
+
}
|
|
2846
|
+
});
|
|
2847
|
+
});
|
|
2848
|
+
};
|
|
2849
|
+
GioMenuSelectorHarness.prototype.selectedOption = function () {
|
|
2850
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2851
|
+
var select;
|
|
2852
|
+
return __generator(this, function (_a) {
|
|
2853
|
+
switch (_a.label) {
|
|
2854
|
+
case 0: return [4 /*yield*/, this.getSelect()];
|
|
2855
|
+
case 1:
|
|
2856
|
+
select = _a.sent();
|
|
2857
|
+
return [2 /*return*/, select.getValueText()];
|
|
2858
|
+
}
|
|
2859
|
+
});
|
|
2860
|
+
});
|
|
2861
|
+
};
|
|
2862
|
+
GioMenuSelectorHarness.prototype.selectOptionByIndex = function (index) {
|
|
2863
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2864
|
+
var select, options;
|
|
2865
|
+
return __generator(this, function (_a) {
|
|
2866
|
+
switch (_a.label) {
|
|
2867
|
+
case 0: return [4 /*yield*/, this.getSelect()];
|
|
2868
|
+
case 1:
|
|
2869
|
+
select = _a.sent();
|
|
2870
|
+
return [4 /*yield*/, select.open()];
|
|
2871
|
+
case 2:
|
|
2872
|
+
_a.sent();
|
|
2873
|
+
return [4 /*yield*/, select.getOptions()];
|
|
2874
|
+
case 3:
|
|
2875
|
+
options = _a.sent();
|
|
2876
|
+
return [2 /*return*/, options[index].click()];
|
|
2877
|
+
}
|
|
2878
|
+
});
|
|
2879
|
+
});
|
|
2880
|
+
};
|
|
2881
|
+
return GioMenuSelectorHarness;
|
|
2882
|
+
}(testing.ComponentHarness));
|
|
2883
|
+
GioMenuSelectorHarness.hostSelector = 'gio-menu-selector';
|
|
2884
|
+
|
|
2823
2885
|
/*
|
|
2824
2886
|
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
2825
2887
|
*
|
|
@@ -2836,6 +2898,21 @@
|
|
|
2836
2898
|
* limitations under the License.
|
|
2837
2899
|
*/
|
|
2838
2900
|
|
|
2901
|
+
/*
|
|
2902
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
2903
|
+
*
|
|
2904
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2905
|
+
* you may not use this file except in compliance with the License.
|
|
2906
|
+
* You may obtain a copy of the License at
|
|
2907
|
+
*
|
|
2908
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2909
|
+
*
|
|
2910
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2911
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2912
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2913
|
+
* See the License for the specific language governing permissions and
|
|
2914
|
+
* limitations under the License.
|
|
2915
|
+
*/
|
|
2839
2916
|
var GioSubmenuTitleDirective = /** @class */ (function () {
|
|
2840
2917
|
function GioSubmenuTitleDirective() {
|
|
2841
2918
|
}
|
|
@@ -2858,25 +2935,26 @@
|
|
|
2858
2935
|
this.hover = false;
|
|
2859
2936
|
this.unsubscribe$ = new rxjs.Subject();
|
|
2860
2937
|
}
|
|
2861
|
-
GioSubmenuComponent.prototype.
|
|
2938
|
+
GioSubmenuComponent.prototype.ngAfterViewInit = function () {
|
|
2862
2939
|
var _this = this;
|
|
2863
|
-
|
|
2864
|
-
.pipe(operators.takeUntil(this.unsubscribe$), operators.tap(function (
|
|
2865
|
-
|
|
2866
|
-
_this.reduced = reduced;
|
|
2940
|
+
this.gioMenuService.reduce
|
|
2941
|
+
.pipe(operators.takeUntil(this.unsubscribe$), operators.filter(function (reduced) { return reduced; }), operators.tap(function () {
|
|
2942
|
+
_this.reduced = true;
|
|
2867
2943
|
_this.loaded = true;
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2944
|
+
}), operators.switchMap(function () { return _this.gioMenuService.overlayObservable; }), operators.tap(function (overlayOptions) {
|
|
2945
|
+
var top = overlayOptions.top || 0;
|
|
2946
|
+
_this.overlayOptions = overlayOptions;
|
|
2947
|
+
_this.gioSubmenu.nativeElement.style.top = top + "px";
|
|
2948
|
+
_this.gioSubmenu.nativeElement.style.height = 'auto';
|
|
2949
|
+
_this.gioSubmenu.nativeElement.style.maxHeight = "calc(100vh - " + (top + 8) + "px)";
|
|
2950
|
+
}))
|
|
2951
|
+
.subscribe();
|
|
2952
|
+
this.gioMenuService.reduce
|
|
2953
|
+
.pipe(operators.takeUntil(this.unsubscribe$), operators.filter(function (reduced) { return !reduced; }), operators.tap(function () {
|
|
2954
|
+
_this.reduced = false;
|
|
2955
|
+
_this.loaded = true;
|
|
2956
|
+
_this.gioSubmenu.nativeElement.style.height = '100%';
|
|
2957
|
+
_this.gioSubmenu.nativeElement.style.maxHeight = 'none';
|
|
2880
2958
|
}))
|
|
2881
2959
|
.subscribe();
|
|
2882
2960
|
};
|
|
@@ -3416,6 +3494,180 @@
|
|
|
3416
3494
|
* limitations under the License.
|
|
3417
3495
|
*/
|
|
3418
3496
|
|
|
3497
|
+
/*
|
|
3498
|
+
* Copyright (C) 2022 The Gravitee team (http://gravitee.io)
|
|
3499
|
+
*
|
|
3500
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3501
|
+
* you may not use this file except in compliance with the License.
|
|
3502
|
+
* You may obtain a copy of the License at
|
|
3503
|
+
*
|
|
3504
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3505
|
+
*
|
|
3506
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3507
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3508
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3509
|
+
* See the License for the specific language governing permissions and
|
|
3510
|
+
* limitations under the License.
|
|
3511
|
+
*/
|
|
3512
|
+
var GioBreadcrumbDynamicItemDirective = /** @class */ (function () {
|
|
3513
|
+
function GioBreadcrumbDynamicItemDirective(viewContainerRef) {
|
|
3514
|
+
this.viewContainerRef = viewContainerRef;
|
|
3515
|
+
}
|
|
3516
|
+
return GioBreadcrumbDynamicItemDirective;
|
|
3517
|
+
}());
|
|
3518
|
+
GioBreadcrumbDynamicItemDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbDynamicItemDirective, deps: [{ token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
3519
|
+
GioBreadcrumbDynamicItemDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbDynamicItemDirective, selector: "[gioBreadcrumbDynamicHost]", ngImport: i0__namespace });
|
|
3520
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbDynamicItemDirective, decorators: [{
|
|
3521
|
+
type: i0.Directive,
|
|
3522
|
+
args: [{
|
|
3523
|
+
selector: '[gioBreadcrumbDynamicHost]',
|
|
3524
|
+
}]
|
|
3525
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
|
|
3526
|
+
|
|
3527
|
+
var GioBreadcrumbItemComponent = /** @class */ (function () {
|
|
3528
|
+
function GioBreadcrumbItemComponent(componentFactoryResolver) {
|
|
3529
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
3530
|
+
this.active = false;
|
|
3531
|
+
this.linkClicked = new i0.EventEmitter();
|
|
3532
|
+
}
|
|
3533
|
+
GioBreadcrumbItemComponent.prototype.onClick = function (breadcrumbItem) {
|
|
3534
|
+
this.linkClicked.emit(breadcrumbItem.targetRoute);
|
|
3535
|
+
};
|
|
3536
|
+
GioBreadcrumbItemComponent.prototype.loadComponent = function (breadcrumbItem) {
|
|
3537
|
+
var _a;
|
|
3538
|
+
if (breadcrumbItem.component && this.breadcrumbDynamicHost) {
|
|
3539
|
+
var breadcrumbDynamicComponentComponentFactory = this.componentFactoryResolver.resolveComponentFactory(breadcrumbItem.component);
|
|
3540
|
+
var viewContainerRef = this.breadcrumbDynamicHost.viewContainerRef;
|
|
3541
|
+
viewContainerRef.clear();
|
|
3542
|
+
var componentRef_1 = viewContainerRef.createComponent(breadcrumbDynamicComponentComponentFactory);
|
|
3543
|
+
Object.entries((_a = breadcrumbItem.data) === null || _a === void 0 ? void 0 : _a.nativeElement).forEach(function (_b) {
|
|
3544
|
+
var _c = __read(_b, 2), attribute = _c[0], attributeValue = _c[1];
|
|
3545
|
+
componentRef_1.location.nativeElement[attribute] = attributeValue;
|
|
3546
|
+
});
|
|
3547
|
+
Object.entries(breadcrumbItem.data)
|
|
3548
|
+
.filter(function (_b) {
|
|
3549
|
+
var _c = __read(_b, 1), key = _c[0];
|
|
3550
|
+
return key != 'nativeElement';
|
|
3551
|
+
})
|
|
3552
|
+
.forEach(function (_b) {
|
|
3553
|
+
var _c = __read(_b, 2), property = _c[0], propertyValue = _c[1];
|
|
3554
|
+
componentRef_1.instance[property] = propertyValue;
|
|
3555
|
+
});
|
|
3556
|
+
}
|
|
3557
|
+
};
|
|
3558
|
+
GioBreadcrumbItemComponent.prototype.ngAfterViewInit = function () {
|
|
3559
|
+
if (this.breadcrumbItem) {
|
|
3560
|
+
this.loadComponent(this.breadcrumbItem);
|
|
3561
|
+
}
|
|
3562
|
+
};
|
|
3563
|
+
return GioBreadcrumbItemComponent;
|
|
3564
|
+
}());
|
|
3565
|
+
GioBreadcrumbItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbItemComponent, deps: [{ token: i0__namespace.ComponentFactoryResolver }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3566
|
+
GioBreadcrumbItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbItemComponent, selector: "gio-breadcrumb-item", inputs: { breadcrumbItem: "breadcrumbItem", active: "active" }, outputs: { linkClicked: "linkClicked" }, viewQueries: [{ propertyName: "breadcrumbDynamicHost", first: true, predicate: GioBreadcrumbDynamicItemDirective, descendants: true, static: 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<a *ngIf=\"breadcrumbItem?.displayName\" (click)=\"onClick(breadcrumbItem)\" class=\"api-navigation-breadcrumb__link\" [class.active]=\"active\">{{\n breadcrumbItem?.displayName\n}}</a>\n<ng-template gioBreadcrumbDynamicHost></ng-template>\n", styles: [""], directives: [{ type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: GioBreadcrumbDynamicItemDirective, selector: "[gioBreadcrumbDynamicHost]" }] });
|
|
3567
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbItemComponent, decorators: [{
|
|
3568
|
+
type: i0.Component,
|
|
3569
|
+
args: [{
|
|
3570
|
+
selector: 'gio-breadcrumb-item',
|
|
3571
|
+
templateUrl: './gio-breadcrumb-item.component.html',
|
|
3572
|
+
styleUrls: ['./gio-breadcrumb-item.component.scss'],
|
|
3573
|
+
}]
|
|
3574
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ComponentFactoryResolver }]; }, propDecorators: { breadcrumbItem: [{
|
|
3575
|
+
type: i0.Input
|
|
3576
|
+
}], active: [{
|
|
3577
|
+
type: i0.Input
|
|
3578
|
+
}], linkClicked: [{
|
|
3579
|
+
type: i0.Output
|
|
3580
|
+
}], breadcrumbDynamicHost: [{
|
|
3581
|
+
type: i0.ViewChild,
|
|
3582
|
+
args: [GioBreadcrumbDynamicItemDirective, { static: true }]
|
|
3583
|
+
}] } });
|
|
3584
|
+
|
|
3585
|
+
/*
|
|
3586
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3587
|
+
*
|
|
3588
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3589
|
+
* you may not use this file except in compliance with the License.
|
|
3590
|
+
* You may obtain a copy of the License at
|
|
3591
|
+
*
|
|
3592
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3593
|
+
*
|
|
3594
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3595
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3596
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3597
|
+
* See the License for the specific language governing permissions and
|
|
3598
|
+
* limitations under the License.
|
|
3599
|
+
*/
|
|
3600
|
+
var GioBreadcrumbComponent = /** @class */ (function () {
|
|
3601
|
+
function GioBreadcrumbComponent() {
|
|
3602
|
+
this.breadcrumbItems = [];
|
|
3603
|
+
this.hide = false;
|
|
3604
|
+
}
|
|
3605
|
+
return GioBreadcrumbComponent;
|
|
3606
|
+
}());
|
|
3607
|
+
GioBreadcrumbComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3608
|
+
GioBreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbComponent, selector: "gio-breadcrumb", inputs: { breadcrumbItems: "breadcrumbItems", hide: "hide" }, 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\" [class.gio-breadcrumb-hide]=\"hide\">\n <span *ngFor=\"let breadcrumbItem of this.breadcrumbItems; index as breadcrumbItemIndex\" class=\"gio-breadcrumb__content\">\n <gio-breadcrumb-item [breadcrumbItem]=\"breadcrumbItem\"></gio-breadcrumb-item>\n <mat-icon\n *ngIf=\"breadcrumbItemIndex < this.breadcrumbItems.length - 1\"\n svgIcon=\"gio:nav-arrow-right\"\n class=\"gio-breadcrumb__icon\"\n ></mat-icon>\n </span>\n</div>\n", styles: [".gio-breadcrumb{display:flex;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{height:12px;width:12px;margin:0 6px;line-height:12px;color:#bbbcc4}.gio-breadcrumb-hide{display:none}\n"], components: [{ type: GioBreadcrumbItemComponent, selector: "gio-breadcrumb-item", inputs: ["breadcrumbItem", "active"], outputs: ["linkClicked"] }, { 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"] }] });
|
|
3609
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, decorators: [{
|
|
3610
|
+
type: i0.Component,
|
|
3611
|
+
args: [{
|
|
3612
|
+
selector: 'gio-breadcrumb',
|
|
3613
|
+
templateUrl: './gio-breadcrumb.component.html',
|
|
3614
|
+
styleUrls: ['./gio-breadcrumb.component.scss'],
|
|
3615
|
+
}]
|
|
3616
|
+
}], propDecorators: { breadcrumbItems: [{
|
|
3617
|
+
type: i0.Input
|
|
3618
|
+
}], hide: [{
|
|
3619
|
+
type: i0.Input
|
|
3620
|
+
}] } });
|
|
3621
|
+
|
|
3622
|
+
/*
|
|
3623
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3624
|
+
*
|
|
3625
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3626
|
+
* you may not use this file except in compliance with the License.
|
|
3627
|
+
* You may obtain a copy of the License at
|
|
3628
|
+
*
|
|
3629
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3630
|
+
*
|
|
3631
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3632
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3633
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3634
|
+
* See the License for the specific language governing permissions and
|
|
3635
|
+
* limitations under the License.
|
|
3636
|
+
*/
|
|
3637
|
+
var GioBreadcrumbModule = /** @class */ (function () {
|
|
3638
|
+
function GioBreadcrumbModule() {
|
|
3639
|
+
}
|
|
3640
|
+
return GioBreadcrumbModule;
|
|
3641
|
+
}());
|
|
3642
|
+
GioBreadcrumbModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3643
|
+
GioBreadcrumbModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, declarations: [GioBreadcrumbComponent, GioBreadcrumbDynamicItemDirective, GioBreadcrumbItemComponent], imports: [i2$1.CommonModule, GioIconsModule], exports: [GioBreadcrumbComponent, GioBreadcrumbDynamicItemDirective, GioBreadcrumbItemComponent] });
|
|
3644
|
+
GioBreadcrumbModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, imports: [[i2$1.CommonModule, GioIconsModule]] });
|
|
3645
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbModule, decorators: [{
|
|
3646
|
+
type: i0.NgModule,
|
|
3647
|
+
args: [{
|
|
3648
|
+
imports: [i2$1.CommonModule, GioIconsModule],
|
|
3649
|
+
declarations: [GioBreadcrumbComponent, GioBreadcrumbDynamicItemDirective, GioBreadcrumbItemComponent],
|
|
3650
|
+
exports: [GioBreadcrumbComponent, GioBreadcrumbDynamicItemDirective, GioBreadcrumbItemComponent],
|
|
3651
|
+
entryComponents: [GioBreadcrumbComponent],
|
|
3652
|
+
}]
|
|
3653
|
+
}] });
|
|
3654
|
+
|
|
3655
|
+
/*
|
|
3656
|
+
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
|
|
3657
|
+
*
|
|
3658
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3659
|
+
* you may not use this file except in compliance with the License.
|
|
3660
|
+
* You may obtain a copy of the License at
|
|
3661
|
+
*
|
|
3662
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
3663
|
+
*
|
|
3664
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
3665
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
3666
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
3667
|
+
* See the License for the specific language governing permissions and
|
|
3668
|
+
* limitations under the License.
|
|
3669
|
+
*/
|
|
3670
|
+
|
|
3419
3671
|
/*
|
|
3420
3672
|
* Copyright (C) 2021 The Gravitee team (http://gravitee.io)
|
|
3421
3673
|
*
|
|
@@ -3462,6 +3714,10 @@
|
|
|
3462
3714
|
exports.GioBannerModule = GioBannerModule;
|
|
3463
3715
|
exports.GioBannerSuccessComponent = GioBannerSuccessComponent;
|
|
3464
3716
|
exports.GioBannerWarningComponent = GioBannerWarningComponent;
|
|
3717
|
+
exports.GioBreadcrumbComponent = GioBreadcrumbComponent;
|
|
3718
|
+
exports.GioBreadcrumbDynamicItemDirective = GioBreadcrumbDynamicItemDirective;
|
|
3719
|
+
exports.GioBreadcrumbItemComponent = GioBreadcrumbItemComponent;
|
|
3720
|
+
exports.GioBreadcrumbModule = GioBreadcrumbModule;
|
|
3465
3721
|
exports.GioConfirmAndValidateDialogComponent = GioConfirmAndValidateDialogComponent;
|
|
3466
3722
|
exports.GioConfirmAndValidateDialogHarness = GioConfirmAndValidateDialogHarness;
|
|
3467
3723
|
exports.GioConfirmAndValidateDialogModule = GioConfirmAndValidateDialogModule;
|
|
@@ -3488,6 +3744,7 @@
|
|
|
3488
3744
|
exports.GioMenuListComponent = GioMenuListComponent;
|
|
3489
3745
|
exports.GioMenuModule = GioMenuModule;
|
|
3490
3746
|
exports.GioMenuSelectorComponent = GioMenuSelectorComponent;
|
|
3747
|
+
exports.GioMenuSelectorHarness = GioMenuSelectorHarness;
|
|
3491
3748
|
exports.GioMenuService = GioMenuService;
|
|
3492
3749
|
exports.GioSaveBarComponent = GioSaveBarComponent;
|
|
3493
3750
|
exports.GioSaveBarHarness = GioSaveBarHarness;
|