@gravitee/ui-particles-angular 4.11.1-302-breadcrumb-e9f342e → 4.11.1-302-breadcrumb-14bef39
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 +12 -8
- package/bundles/gravitee-ui-particles-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb-item/gio-breadcrumb-item.component.js +6 -8
- package/esm2015/lib/gio-breadcrumb/gio-breadcrumb.component.js +9 -3
- package/fesm2015/gravitee-ui-particles-angular.js +12 -8
- package/fesm2015/gravitee-ui-particles-angular.js.map +1 -1
- package/lib/gio-breadcrumb/gio-breadcrumb-item/gio-breadcrumb-item.component.d.ts +3 -3
- package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -3528,12 +3528,10 @@
|
|
|
3528
3528
|
function GioBreadcrumbItemComponent(componentFactoryResolver) {
|
|
3529
3529
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
3530
3530
|
this.active = false;
|
|
3531
|
-
this.
|
|
3531
|
+
this.itemClicked = new i0.EventEmitter();
|
|
3532
3532
|
}
|
|
3533
|
-
GioBreadcrumbItemComponent.prototype.
|
|
3534
|
-
|
|
3535
|
-
console.log(breadcrumbItem.targetRoute);
|
|
3536
|
-
this.linkClicked.emit(breadcrumbItem.targetRoute);
|
|
3533
|
+
GioBreadcrumbItemComponent.prototype.onItemClick = function (breadcrumbItem) {
|
|
3534
|
+
this.itemClicked.emit(breadcrumbItem.targetRoute);
|
|
3537
3535
|
};
|
|
3538
3536
|
GioBreadcrumbItemComponent.prototype.loadComponent = function (breadcrumbItem) {
|
|
3539
3537
|
var _a;
|
|
@@ -3565,7 +3563,7 @@
|
|
|
3565
3563
|
return GioBreadcrumbItemComponent;
|
|
3566
3564
|
}());
|
|
3567
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 });
|
|
3568
|
-
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: {
|
|
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: { itemClicked: "itemClicked" }, 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\n *ngIf=\"breadcrumbItem?.displayName\"\n (click)=\"onItemClick(breadcrumbItem)\"\n class=\"api-navigation-breadcrumb__link\"\n [class.active]=\"active\"\n >{{ breadcrumbItem?.displayName }}</a\n>\n<ng-template gioBreadcrumbDynamicHost></ng-template>\n", directives: [{ type: i2__namespace$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: GioBreadcrumbDynamicItemDirective, selector: "[gioBreadcrumbDynamicHost]" }] });
|
|
3569
3567
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbItemComponent, decorators: [{
|
|
3570
3568
|
type: i0.Component,
|
|
3571
3569
|
args: [{
|
|
@@ -3576,7 +3574,7 @@
|
|
|
3576
3574
|
type: i0.Input
|
|
3577
3575
|
}], active: [{
|
|
3578
3576
|
type: i0.Input
|
|
3579
|
-
}],
|
|
3577
|
+
}], itemClicked: [{
|
|
3580
3578
|
type: i0.Output
|
|
3581
3579
|
}], breadcrumbDynamicHost: [{
|
|
3582
3580
|
type: i0.ViewChild,
|
|
@@ -3601,11 +3599,15 @@
|
|
|
3601
3599
|
var GioBreadcrumbComponent = /** @class */ (function () {
|
|
3602
3600
|
function GioBreadcrumbComponent() {
|
|
3603
3601
|
this.breadcrumbItems = [];
|
|
3602
|
+
this.itemClicked = new i0.EventEmitter();
|
|
3604
3603
|
}
|
|
3604
|
+
GioBreadcrumbComponent.prototype.onItemClicked = function ($event) {
|
|
3605
|
+
this.itemClicked.emit($event);
|
|
3606
|
+
};
|
|
3605
3607
|
return GioBreadcrumbComponent;
|
|
3606
3608
|
}());
|
|
3607
3609
|
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" }, 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 <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{width:12px;height:12px;margin:0 6px;color:#bbbcc4;line-height:12px}\n"], components: [{ type: GioBreadcrumbItemComponent, selector: "gio-breadcrumb-item", inputs: ["breadcrumbItem", "active"], outputs: ["
|
|
3610
|
+
GioBreadcrumbComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: GioBreadcrumbComponent, selector: "gio-breadcrumb", inputs: { breadcrumbItems: "breadcrumbItems" }, outputs: { itemClicked: "itemClicked" }, 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 <span *ngFor=\"let breadcrumbItem of this.breadcrumbItems; index as breadcrumbItemIndex\" class=\"gio-breadcrumb__content\">\n <gio-breadcrumb-item [breadcrumbItem]=\"breadcrumbItem\" (itemClicked)=\"onItemClicked($event)\" )></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{width:12px;height:12px;margin:0 6px;color:#bbbcc4;line-height:12px}\n"], components: [{ type: GioBreadcrumbItemComponent, selector: "gio-breadcrumb-item", inputs: ["breadcrumbItem", "active"], outputs: ["itemClicked"] }, { 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
3611
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: GioBreadcrumbComponent, decorators: [{
|
|
3610
3612
|
type: i0.Component,
|
|
3611
3613
|
args: [{
|
|
@@ -3615,6 +3617,8 @@
|
|
|
3615
3617
|
}]
|
|
3616
3618
|
}], propDecorators: { breadcrumbItems: [{
|
|
3617
3619
|
type: i0.Input
|
|
3620
|
+
}], itemClicked: [{
|
|
3621
|
+
type: i0.Output
|
|
3618
3622
|
}] } });
|
|
3619
3623
|
|
|
3620
3624
|
/*
|