mapa-library-ui 0.73.2 → 0.73.3

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.
@@ -23,10 +23,10 @@ export class MapaBenchmarkChartComponent {
23
23
  }
24
24
  }
25
25
  MapaBenchmarkChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBenchmarkChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
26
- MapaBenchmarkChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBenchmarkChartComponent, selector: "mapa-benchmark-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;height:40px;background:rgb(241,245,249);display:flex;margin:3px 0;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MapaBenchmarkIndicatorComponent, selector: "mapa-benchmark-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
26
+ MapaBenchmarkChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBenchmarkChartComponent, selector: "mapa-benchmark-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;background:rgb(241,245,249);display:flex;margin:15px 0 3px;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.MapaBenchmarkIndicatorComponent, selector: "mapa-benchmark-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBenchmarkChartComponent, decorators: [{
28
28
  type: Component,
29
- args: [{ selector: "mapa-benchmark-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;height:40px;background:rgb(241,245,249);display:flex;margin:3px 0;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
29
+ args: [{ selector: "mapa-benchmark-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;background:rgb(241,245,249);display:flex;margin:15px 0 3px;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
30
30
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
31
31
  type: Input
32
32
  }] } });
@@ -30,10 +30,10 @@ class MapaBenchmarkChartComponent {
30
30
  }
31
31
  }
32
32
  MapaBenchmarkChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBenchmarkChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
- MapaBenchmarkChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBenchmarkChartComponent, selector: "mapa-benchmark-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;height:40px;background:rgb(241,245,249);display:flex;margin:3px 0;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaBenchmarkIndicatorComponent, selector: "mapa-benchmark-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
33
+ MapaBenchmarkChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBenchmarkChartComponent, selector: "mapa-benchmark-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;background:rgb(241,245,249);display:flex;margin:15px 0 3px;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaBenchmarkIndicatorComponent, selector: "mapa-benchmark-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
34
34
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBenchmarkChartComponent, decorators: [{
35
35
  type: Component,
36
- args: [{ selector: "mapa-benchmark-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;height:40px;background:rgb(241,245,249);display:flex;margin:3px 0;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
36
+ args: [{ selector: "mapa-benchmark-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;background:rgb(241,245,249);display:flex;margin:15px 0 3px;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
37
37
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
38
38
  type: Input
39
39
  }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"mapa-library-ui-src-lib-components-benchmarking.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/public-api.ts","../../../projects/mapa-library-ui/src/benchmarking.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-benchmarking.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { BenchmarkingChart } from \"../benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-indicator\",\n templateUrl: \"./benchmark-indicator.component.html\",\n styleUrls: [\n \"./benchmark-indicator.component.scss\",\n \"./../styles/benchmark.scss\",\n ],\n})\nexport class MapaBenchmarkIndicatorComponent {\n @Input() item!: BenchmarkingChart;\n}\n","<div\n class=\"indicator\"\n [style.backgroundColor]=\"item.classificationColor\"\n>\n <div class=\"indicator__markers\">\n <div\n *ngFor=\"let mark of item.marks\"\n class=\"indicator__marker--arrow\"\n [ngStyle]=\"{\n left: mark.value + '%',\n borderTopColor: mark.color\n }\"\n [title]=\"mark.name + ' (' + mark.value + '%)'\"\n ></div>\n </div>\n</div>\n","import { Component, Input, ViewEncapsulation } from \"@angular/core\";\nimport { BenchmarkingChart } from \"./benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-chart\",\n templateUrl: \"./benchmark-chart.component.html\",\n styleUrls: [\n \"./benchmark-chart.component.scss\",\n \"./styles/benchmark.scss\",\n ],\n encapsulation: ViewEncapsulation.None\n})\nexport class MapaBenchmarkChartComponent {\n @Input() data!: BenchmarkingChart[];\n public scaleLabels: number[] = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];\n\n constructor() {}\n\n public setUnlabeledItem(item: BenchmarkingChart): BenchmarkingChart {\n return {\n ...item,\n classificationId: item.classificationId,\n classificationColor: item.classificationColor,\n interval: item.interval,\n }\n }\n\n public getWidth(item: BenchmarkingChart): string {\n const minWidth = 0;\n const interval = (item.interval || 0);\n if (interval < 10) return minWidth + 'px';\n return interval + '%';\n }\n}\n","<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorComponent } from \"./benchmark-indicator.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkIndicatorComponent],\n exports: [MapaBenchmarkIndicatorComponent],\n imports: [CommonModule],\n})\nexport class MapaBenchmarkIndicatorModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorModule } from \"./benchmark-indicator/benchmark-indicator.module\";\nimport { MapaBenchmarkChartComponent } from \"./benchmark-chart.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkChartComponent],\n exports: [MapaBenchmarkChartComponent],\n imports: [CommonModule, MapaBenchmarkIndicatorModule],\n})\nexport class MapaBenchmarkChartModule {}\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './src/benchmarking.interface';\nexport * from './src/benchmark-chart.component';\nexport * from './src/benchmark-chart.module';\n\nexport * from './src/benchmark-indicator/benchmark-indicator.component';\nexport * from './src/benchmark-indicator/benchmark-indicator.module';\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './lib/components/benchmarking/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './benchmarking';\n"],"names":["i2.MapaBenchmarkIndicatorComponent"],"mappings":";;;;;MAWa,+BAA+B,CAAA;;6HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,+BAA+B,0FCX5C,yZAgBA,EAAA,MAAA,EAAA,CAAA,qdAAA,EAAA,4nCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA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EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,4BAA4B,YAF7B,YAAY,CAAA,EAAA,CAAA,CAAA;4FAEX,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBALxC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,+BAA+B,CAAC;oBAC/C,OAAO,EAAE,CAAC,+BAA+B,CAAC;oBAC1C,OAAO,EAAE,CAAC,YAAY,CAAC;iBACxB,CAAA;;;MCEY,wBAAwB,CAAA;;sHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,iBAJpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY,EAAE,4BAA4B,aAD1C,2BAA2B,CAAA,EAAA,CAAA,CAAA;uHAG1B,wBAAwB,EAAA,OAAA,EAAA,CAFzB,YAAY,EAAE,4BAA4B,CAAA,EAAA,CAAA,CAAA;4FAEzC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,4BAA4B,CAAC;iBACtD,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"mapa-library-ui-src-lib-components-benchmarking.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/public-api.ts","../../../projects/mapa-library-ui/src/benchmarking.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-benchmarking.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { BenchmarkingChart } from \"../benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-indicator\",\n templateUrl: \"./benchmark-indicator.component.html\",\n styleUrls: [\n \"./benchmark-indicator.component.scss\",\n \"./../styles/benchmark.scss\",\n ],\n})\nexport class MapaBenchmarkIndicatorComponent {\n @Input() item!: BenchmarkingChart;\n}\n","<div\n class=\"indicator\"\n [style.backgroundColor]=\"item.classificationColor\"\n>\n <div class=\"indicator__markers\">\n <div\n *ngFor=\"let mark of item.marks\"\n class=\"indicator__marker--arrow\"\n [ngStyle]=\"{\n left: mark.value + '%',\n borderTopColor: mark.color\n }\"\n [title]=\"mark.name + ' (' + mark.value + '%)'\"\n ></div>\n </div>\n</div>\n","import { Component, Input, ViewEncapsulation } from \"@angular/core\";\nimport { BenchmarkingChart } from \"./benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-chart\",\n templateUrl: \"./benchmark-chart.component.html\",\n styleUrls: [\n \"./benchmark-chart.component.scss\",\n \"./styles/benchmark.scss\",\n ],\n encapsulation: ViewEncapsulation.None\n})\nexport class MapaBenchmarkChartComponent {\n @Input() data!: BenchmarkingChart[];\n public scaleLabels: number[] = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];\n\n constructor() {}\n\n public setUnlabeledItem(item: BenchmarkingChart): BenchmarkingChart {\n return {\n ...item,\n classificationId: item.classificationId,\n classificationColor: item.classificationColor,\n interval: item.interval,\n }\n }\n\n public getWidth(item: BenchmarkingChart): string {\n const minWidth = 0;\n const interval = (item.interval || 0);\n if (interval < 10) return minWidth + 'px';\n return interval + '%';\n }\n}\n","<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorComponent } from \"./benchmark-indicator.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkIndicatorComponent],\n exports: [MapaBenchmarkIndicatorComponent],\n imports: [CommonModule],\n})\nexport class MapaBenchmarkIndicatorModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorModule } from \"./benchmark-indicator/benchmark-indicator.module\";\nimport { MapaBenchmarkChartComponent } from \"./benchmark-chart.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkChartComponent],\n exports: [MapaBenchmarkChartComponent],\n imports: [CommonModule, MapaBenchmarkIndicatorModule],\n})\nexport class MapaBenchmarkChartModule {}\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './src/benchmarking.interface';\nexport * from './src/benchmark-chart.component';\nexport * from './src/benchmark-chart.module';\n\nexport * from './src/benchmark-indicator/benchmark-indicator.component';\nexport * from './src/benchmark-indicator/benchmark-indicator.module';\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './lib/components/benchmarking/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './benchmarking';\n"],"names":["i2.MapaBenchmarkIndicatorComponent"],"mappings":";;;;;MAWa,+BAA+B,CAAA;;6HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,+BAA+B,0FCX5C,yZAgBA,EAAA,MAAA,EAAA,CAAA,qdAAA,EAAA,4nCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDLa,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAR3C,SAAS;+BACE,0BAA0B,EAAA,QAAA,EAAA,yZAAA,EAAA,MAAA,EAAA,CAAA,qdAAA,EAAA,4nCAAA,CAAA,EAAA,CAAA;8BAQ3B,IAAI,EAAA,CAAA;sBAAZ,KAAK;;;MEAK,2BAA2B,CAAA;AAItC,IAAA,WAAA,GAAA;QAFO,IAAW,CAAA,WAAA,GAAa,CAAC,CA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AA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,iBAJpB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY,EAAE,4BAA4B,aAD1C,2BAA2B,CAAA,EAAA,CAAA,CAAA;uHAG1B,wBAAwB,EAAA,OAAA,EAAA,CAFzB,YAAY,EAAE,4BAA4B,CAAA,EAAA,CAAA,CAAA;4FAEzC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,4BAA4B,CAAC;iBACtD,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
@@ -35,10 +35,10 @@ class MapaBenchmarkChartComponent {
35
35
  }
36
36
  }
37
37
  MapaBenchmarkChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBenchmarkChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- MapaBenchmarkChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBenchmarkChartComponent, selector: "mapa-benchmark-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;height:40px;background:rgb(241,245,249);display:flex;margin:3px 0;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaBenchmarkIndicatorComponent, selector: "mapa-benchmark-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
38
+ MapaBenchmarkChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBenchmarkChartComponent, selector: "mapa-benchmark-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;background:rgb(241,245,249);display:flex;margin:15px 0 3px;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaBenchmarkIndicatorComponent, selector: "mapa-benchmark-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
39
39
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBenchmarkChartComponent, decorators: [{
40
40
  type: Component,
41
- args: [{ selector: "mapa-benchmark-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;height:40px;background:rgb(241,245,249);display:flex;margin:3px 0;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
41
+ args: [{ selector: "mapa-benchmark-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart__head th{padding:0 0 12px;font-size:12px;font-weight:500;color:#6f6f7b}.indicator-chart__scale{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:12px;text-align:center;color:#6f6f7b}.indicator-chart__scale span{position:relative;padding-top:8px;text-align:end;transform:translate(10px)}.indicator-chart__scale span:first-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child{text-align:start;transform:translate(0)}.indicator-chart__scale span:last-child:before{content:\"\";position:absolute;bottom:-8px;right:0%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart__scale span:before{content:\"\";position:absolute;bottom:-8px;right:50%;width:1px;height:8px;background-color:#dcdcde}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--classification{width:2%!important;min-width:50px;text-align:end}.indicator-chart__column-background{width:100%;background:rgb(241,245,249);display:flex;margin:15px 0 3px;border-radius:0 18px 18px 0}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important;position:relative}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:Inter,sans-serif;font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:Inter,sans-serif;font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:Inter,sans-serif;font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:Inter,sans-serif;font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
42
42
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
43
43
  type: Input
44
44
  }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"mapa-library-ui-src-lib-components-benchmarking.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/public-api.ts","../../../projects/mapa-library-ui/src/benchmarking.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-benchmarking.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { BenchmarkingChart } from \"../benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-indicator\",\n templateUrl: \"./benchmark-indicator.component.html\",\n styleUrls: [\n \"./benchmark-indicator.component.scss\",\n \"./../styles/benchmark.scss\",\n ],\n})\nexport class MapaBenchmarkIndicatorComponent {\n @Input() item!: BenchmarkingChart;\n}\n","<div\n class=\"indicator\"\n [style.backgroundColor]=\"item.classificationColor\"\n>\n <div class=\"indicator__markers\">\n <div\n *ngFor=\"let mark of item.marks\"\n class=\"indicator__marker--arrow\"\n [ngStyle]=\"{\n left: mark.value + '%',\n borderTopColor: mark.color\n }\"\n [title]=\"mark.name + ' (' + mark.value + '%)'\"\n ></div>\n </div>\n</div>\n","import { Component, Input, ViewEncapsulation } from \"@angular/core\";\nimport { BenchmarkingChart } from \"./benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-chart\",\n templateUrl: \"./benchmark-chart.component.html\",\n styleUrls: [\n \"./benchmark-chart.component.scss\",\n \"./styles/benchmark.scss\",\n ],\n encapsulation: ViewEncapsulation.None\n})\nexport class MapaBenchmarkChartComponent {\n @Input() data!: BenchmarkingChart[];\n public scaleLabels: number[] = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];\n\n constructor() {}\n\n public setUnlabeledItem(item: BenchmarkingChart): BenchmarkingChart {\n return {\n ...item,\n classificationId: item.classificationId,\n classificationColor: item.classificationColor,\n interval: item.interval,\n }\n }\n\n public getWidth(item: BenchmarkingChart): string {\n const minWidth = 0;\n const interval = (item.interval || 0);\n if (interval < 10) return minWidth + 'px';\n return interval + '%';\n }\n}\n","<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorComponent } from \"./benchmark-indicator.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkIndicatorComponent],\n exports: [MapaBenchmarkIndicatorComponent],\n imports: [CommonModule],\n})\nexport class MapaBenchmarkIndicatorModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorModule } from \"./benchmark-indicator/benchmark-indicator.module\";\nimport { MapaBenchmarkChartComponent } from \"./benchmark-chart.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkChartComponent],\n exports: [MapaBenchmarkChartComponent],\n imports: [CommonModule, MapaBenchmarkIndicatorModule],\n})\nexport class MapaBenchmarkChartModule {}\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './src/benchmarking.interface';\nexport * from './src/benchmark-chart.component';\nexport * from './src/benchmark-chart.module';\n\nexport * from './src/benchmark-indicator/benchmark-indicator.component';\nexport * from './src/benchmark-indicator/benchmark-indicator.module';\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './lib/components/benchmarking/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './benchmarking';\n"],"names":["i2.MapaBenchmarkIndicatorComponent"],"mappings":";;;;;MAWa,+BAA+B,CAAA;;6HAA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AA,CAFzB,YAAY,EAAE,4BAA4B,CAAA,EAAA,CAAA,CAAA;4FAEzC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,2BAA2B,CAAC;oBAC3C,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,4BAA4B,CAAC;AACtD,iBAAA,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"mapa-library-ui-src-lib-components-benchmarking.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.component.html","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/src/benchmark-chart.module.ts","../../../projects/mapa-library-ui/src/lib/components/benchmarking/public-api.ts","../../../projects/mapa-library-ui/src/benchmarking.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-benchmarking.ts"],"sourcesContent":["import { Component, Input } from \"@angular/core\";\nimport { BenchmarkingChart } from \"../benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-indicator\",\n templateUrl: \"./benchmark-indicator.component.html\",\n styleUrls: [\n \"./benchmark-indicator.component.scss\",\n \"./../styles/benchmark.scss\",\n ],\n})\nexport class MapaBenchmarkIndicatorComponent {\n @Input() item!: BenchmarkingChart;\n}\n","<div\n class=\"indicator\"\n [style.backgroundColor]=\"item.classificationColor\"\n>\n <div class=\"indicator__markers\">\n <div\n *ngFor=\"let mark of item.marks\"\n class=\"indicator__marker--arrow\"\n [ngStyle]=\"{\n left: mark.value + '%',\n borderTopColor: mark.color\n }\"\n [title]=\"mark.name + ' (' + mark.value + '%)'\"\n ></div>\n </div>\n</div>\n","import { Component, Input, ViewEncapsulation } from \"@angular/core\";\nimport { BenchmarkingChart } from \"./benchmarking.interface\";\n\n@Component({\n selector: \"mapa-benchmark-chart\",\n templateUrl: \"./benchmark-chart.component.html\",\n styleUrls: [\n \"./benchmark-chart.component.scss\",\n \"./styles/benchmark.scss\",\n ],\n encapsulation: ViewEncapsulation.None\n})\nexport class MapaBenchmarkChartComponent {\n @Input() data!: BenchmarkingChart[];\n public scaleLabels: number[] = [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];\n\n constructor() {}\n\n public setUnlabeledItem(item: BenchmarkingChart): BenchmarkingChart {\n return {\n ...item,\n classificationId: item.classificationId,\n classificationColor: item.classificationColor,\n interval: item.interval,\n }\n }\n\n public getWidth(item: BenchmarkingChart): string {\n const minWidth = 0;\n const interval = (item.interval || 0);\n if (interval < 10) return minWidth + 'px';\n return interval + '%';\n }\n}\n","<table class=\"indicator-chart\">\n <thead>\n <tr class=\"indicator-chart__head\">\n <th class=\"indicator-chart__column--description\"></th>\n <th class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__scale\">\n <span *ngFor=\"let label of scaleLabels\">{{ label }}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div class=\"indicator-chart__column--positive\">\n <div class=\"indicator-chart__column-background\">\n <mapa-benchmark-indicator [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"></mapa-benchmark-indicator>\n </div>\n </div>\n </td>\n <td class=\"indicator-chart__column--classification\">\n {{item.interval}} %\n </td>\n </tr>\n </tbody>\n</table>","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorComponent } from \"./benchmark-indicator.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkIndicatorComponent],\n exports: [MapaBenchmarkIndicatorComponent],\n imports: [CommonModule],\n})\nexport class MapaBenchmarkIndicatorModule {}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MapaBenchmarkIndicatorModule } from \"./benchmark-indicator/benchmark-indicator.module\";\nimport { MapaBenchmarkChartComponent } from \"./benchmark-chart.component\";\n\n@NgModule({\n declarations: [MapaBenchmarkChartComponent],\n exports: [MapaBenchmarkChartComponent],\n imports: [CommonModule, MapaBenchmarkIndicatorModule],\n})\nexport class MapaBenchmarkChartModule {}\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './src/benchmarking.interface';\nexport * from './src/benchmark-chart.component';\nexport * from './src/benchmark-chart.module';\n\nexport * from './src/benchmark-indicator/benchmark-indicator.component';\nexport * from './src/benchmark-indicator/benchmark-indicator.module';\n","/*\n * Public API Surface of mapa-library-ui benchmarking\n */\n\nexport * from './lib/components/benchmarking/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './benchmarking';\n"],"names":["i2.MapaBenchmarkIndicatorComponent"],"mappings":";;;;;MAWa,+BAA+B,CAAA;;6HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,+BAA+B,0FCX5C,yZAgBA,EAAA,MAAA,EAAA,CAAA,qdAAA,EAAA,4nCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,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": "0.73.2",
3
+ "version": "0.73.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"
Binary file