axidio-styleguide-library1-v2 0.6.51 → 0.6.53

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.
@@ -47,11 +47,11 @@ export class PlainTrendComponent extends ComponentUniqueId {
47
47
  }
48
48
  }
49
49
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PlainTrendComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
50
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PlainTrendComponent, selector: "lib-plain-trend", inputs: { chartData: "chartData", customChartConfiguration: "customChartConfiguration" }, outputs: { clickEvent: "clickEvent", headerMenuclickEvent: "headerMenuclickEvent" }, viewQueries: [{ propertyName: "containerElt", first: true, predicate: ["plaintrendcontainer"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:18px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.ChartHeaderV1Component, selector: "lib-chart-header-v1", inputs: ["isAlertEnabled", "title", "menuOptions", "isEditEnabled", "isria", "hasDrillDown", "selectedKpiTooltop"], outputs: ["menuOptionClickEvent"] }, { kind: "component", type: i3.ChartHeaderV2Component, selector: "lib-chart-header-v2", inputs: ["chartData", "chartConfiguration"], outputs: ["clickEvent", "zoomInZoomOutClick", "compareByFilterSelection"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }], encapsulation: i0.ViewEncapsulation.None }); }
50
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PlainTrendComponent, selector: "lib-plain-trend", inputs: { chartData: "chartData", customChartConfiguration: "customChartConfiguration" }, outputs: { clickEvent: "clickEvent", headerMenuclickEvent: "headerMenuclickEvent" }, viewQueries: [{ propertyName: "containerElt", first: true, predicate: ["plaintrendcontainer"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:16px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.ChartHeaderV1Component, selector: "lib-chart-header-v1", inputs: ["isAlertEnabled", "title", "menuOptions", "isEditEnabled", "isria", "hasDrillDown", "selectedKpiTooltop"], outputs: ["menuOptionClickEvent"] }, { kind: "component", type: i3.ChartHeaderV2Component, selector: "lib-chart-header-v2", inputs: ["chartData", "chartConfiguration"], outputs: ["clickEvent", "zoomInZoomOutClick", "compareByFilterSelection"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }], encapsulation: i0.ViewEncapsulation.None }); }
51
51
  }
52
52
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PlainTrendComponent, decorators: [{
53
53
  type: Component,
54
- args: [{ selector: 'lib-plain-trend', encapsulation: ViewEncapsulation.None, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:18px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"] }]
54
+ args: [{ selector: 'lib-plain-trend', encapsulation: ViewEncapsulation.None, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:16px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"] }]
55
55
  }], propDecorators: { containerElt: [{
56
56
  type: ViewChild,
57
57
  args: ['plaintrendcontainer', { static: true }]
@@ -3304,9 +3304,9 @@ class GuageChartComponent extends ComponentUniqueId {
3304
3304
  }
3305
3305
  getFontSize() {
3306
3306
  if (this.chartConfiguration.isDrilldownChart) {
3307
- return window.innerWidth < this.LARGE_SCREEN_WIDTH ? '14px' : '18px';
3307
+ return window.innerWidth < this.LARGE_SCREEN_WIDTH ? '14px' : '16px';
3308
3308
  }
3309
- return window.innerWidth < this.LARGE_SCREEN_WIDTH ? '14px' : '18px';
3309
+ return window.innerWidth < this.LARGE_SCREEN_WIDTH ? '14px' : '16px';
3310
3310
  }
3311
3311
  centerSVG(svg, dimensions) {
3312
3312
  const { margin, chartContainer } = dimensions;
@@ -3578,15 +3578,15 @@ class GroupChartComponent extends ComponentUniqueId {
3578
3578
  if (this.chartConfiguration.isMultiChartGridLine !== undefined) {
3579
3579
  x = d3
3580
3580
  .scaleBand()
3581
- .rangeRound([width, 0])
3581
+ .rangeRound([0, width])
3582
3582
  .align(0.5)
3583
3583
  .padding(0.5)
3584
- .domain(data.map((d) => d.name.toLowerCase()));
3584
+ .domain(data.map((d) => d.name.toLowerCase()).reverse());
3585
3585
  }
3586
3586
  else {
3587
3587
  x = d3
3588
3588
  .scaleBand()
3589
- .domain(groups)
3589
+ .domain(groups.reverse())
3590
3590
  .range([leftAndRightSpaces, width - rightSvgWidth - leftAndRightSpaces])
3591
3591
  .padding(0.3);
3592
3592
  }
@@ -3838,7 +3838,12 @@ class GroupChartComponent extends ComponentUniqueId {
3838
3838
  .axisLeft(y)
3839
3839
  .tickSize(0)
3840
3840
  .ticks(this.chartConfiguration.numberOfYTicks)
3841
- .tickFormat(this.chartConfiguration.yAxisLabelFomatter);
3841
+ .tickFormat((d) => {
3842
+ const formatted = this.chartConfiguration.yAxisLabelFomatter
3843
+ ? this.chartConfiguration.yAxisLabelFomatter(d)
3844
+ : d;
3845
+ return formatted >= 1000 ? formatted / 1000 + 'k' : formatted;
3846
+ });
3842
3847
  const yAxisGroup = svgYAxisLeft
3843
3848
  .append('g')
3844
3849
  .attr('class', 'lib-yaxis-labels-texts-drilldown yaxis-dashed')
@@ -6816,7 +6821,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
6816
6821
  .style('right', `${this.CONSTANTS.RIGHT_SVG_WIDTH}px`)
6817
6822
  .style('top', '0')
6818
6823
  .style('width', 'auto')
6819
- .style('height', `${dimensions.height + margin.top + margin.bottom}px`)
6824
+ .style('height', `${dimensions.height + margin.top + margin.bottom + 10}px`)
6820
6825
  .style('overflow-x', 'auto')
6821
6826
  .style('overflow-y', 'hidden');
6822
6827
  const innerContainer = scrollableContainer
@@ -6836,7 +6841,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
6836
6841
  .style('position', 'absolute')
6837
6842
  .style('left', '80px')
6838
6843
  .style('right', `${this.CONSTANTS.RIGHT_SVG_WIDTH}px`)
6839
- .style('bottom', '0')
6844
+ .style('bottom', '-25px')
6840
6845
  .style('height', `${xLabelSpace}px`)
6841
6846
  .style('display', 'flex')
6842
6847
  .style('justify-content', 'center')
@@ -6898,7 +6903,12 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
6898
6903
  .axisLeft(scales.yScale)
6899
6904
  .ticks(this.chartConfiguration.numberOfYTicks)
6900
6905
  .tickSize(0)
6901
- .tickFormat(this.chartConfiguration.yAxisLabelFomatter);
6906
+ .tickFormat((d) => {
6907
+ const formatted = this.chartConfiguration.yAxisLabelFomatter
6908
+ ? this.chartConfiguration.yAxisLabelFomatter(d)
6909
+ : d;
6910
+ return formatted >= 1000 ? formatted / 1000 + 'k' : formatted;
6911
+ });
6902
6912
  let yLineAxis = null;
6903
6913
  if (scales.lineYscale) {
6904
6914
  yLineAxis = d3
@@ -8696,7 +8706,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8696
8706
  // : (height + margin.top + margin.bottom + 40);
8697
8707
  const xPosition = isria
8698
8708
  ? (this.chartConfiguration.isHeaderVisible
8699
- ? (height + margin.top + margin.bottom - 65) // isria + header visible
8709
+ ? (height + margin.top + margin.bottom - 45) // isria + header visible
8700
8710
  : (height + margin.top + margin.bottom) // isria + header NOT visible
8701
8711
  )
8702
8712
  : (height + margin.top + margin.bottom + 40); // not isria
@@ -8891,7 +8901,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8891
8901
  bottomDeduction;
8892
8902
  }
8893
8903
  if (this.chartConfiguration.isHeaderVisible) {
8894
- const bottomDeduction = isria ? 80 : 100;
8904
+ const bottomDeduction = isria ? 60 : 100;
8895
8905
  height =
8896
8906
  parseInt(verticalstackedcontainer.style('height')) -
8897
8907
  margin.top -
@@ -9284,11 +9294,11 @@ class PlainTrendComponent extends ComponentUniqueId {
9284
9294
  }
9285
9295
  }
9286
9296
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PlainTrendComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
9287
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PlainTrendComponent, selector: "lib-plain-trend", inputs: { chartData: "chartData", customChartConfiguration: "customChartConfiguration" }, outputs: { clickEvent: "clickEvent", headerMenuclickEvent: "headerMenuclickEvent" }, viewQueries: [{ propertyName: "containerElt", first: true, predicate: ["plaintrendcontainer"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:18px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ChartHeaderV1Component, selector: "lib-chart-header-v1", inputs: ["isAlertEnabled", "title", "menuOptions", "isEditEnabled", "isria", "hasDrillDown", "selectedKpiTooltop"], outputs: ["menuOptionClickEvent"] }, { kind: "component", type: ChartHeaderV2Component, selector: "lib-chart-header-v2", inputs: ["chartData", "chartConfiguration"], outputs: ["clickEvent", "zoomInZoomOutClick", "compareByFilterSelection"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }], encapsulation: i0.ViewEncapsulation.None }); }
9297
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PlainTrendComponent, selector: "lib-plain-trend", inputs: { chartData: "chartData", customChartConfiguration: "customChartConfiguration" }, outputs: { clickEvent: "clickEvent", headerMenuclickEvent: "headerMenuclickEvent" }, viewQueries: [{ propertyName: "containerElt", first: true, predicate: ["plaintrendcontainer"], descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:16px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ChartHeaderV1Component, selector: "lib-chart-header-v1", inputs: ["isAlertEnabled", "title", "menuOptions", "isEditEnabled", "isria", "hasDrillDown", "selectedKpiTooltop"], outputs: ["menuOptionClickEvent"] }, { kind: "component", type: ChartHeaderV2Component, selector: "lib-chart-header-v2", inputs: ["chartData", "chartConfiguration"], outputs: ["clickEvent", "zoomInZoomOutClick", "compareByFilterSelection"] }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }], encapsulation: i0.ViewEncapsulation.None }); }
9288
9298
  }
9289
9299
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PlainTrendComponent, decorators: [{
9290
9300
  type: Component,
9291
- args: [{ selector: 'lib-plain-trend', encapsulation: ViewEncapsulation.None, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:18px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"] }]
9301
+ args: [{ selector: 'lib-plain-trend', encapsulation: ViewEncapsulation.None, template: "<div #piecontainer class=\"lib-chart-wrapper\" style=\"background-color: var(--card-bg);\">\r\n <lib-chart-header-v1\r\n *ngIf=\"isHeaderVisible\"\r\n [title]=\"chartData.metaData.title\"\r\n [hasDrillDown]=\"chartData.metaData.hasDrillDown\"\r\n [isEditEnabled]=\"chartData.metaData.isEditEnabled\"\r\n [menuOptions]=\"chartConfiguration.headerMenuOptions\"\r\n [selectedKpiTooltop]=\"chartConfiguration.selectedKpiTooltop\"\r\n [isria]=\"customChartConfiguration.isRia\"\r\n [isAlertEnabled]=\"isAlertEnabled\"\r\n (menuOptionClickEvent)=\"handleHeaderMenuClick($event)\"\r\n ></lib-chart-header-v1>\r\n\r\n <ng-container *ngIf=\"chartConfiguration.isToggleVisible && !isHeaderVisible && chartData.data.value > 0\">\r\n <lib-chart-header-v2\r\n [chartData]=\"chartData\"\r\n [chartConfiguration]=\"chartConfiguration\"\r\n (clickEvent)=\"handleClick($event)\"\r\n ></lib-chart-header-v2>\r\n </ng-container>\r\n\r\n <div\r\n #plaintrendcontainer\r\n id=\"trendchartcontainer\"\r\n class=\"trendcontainer\"\r\n [style.height]=\"chartConfiguration.svgHeight\"\r\n >\r\n <div\r\n class=\"central-content\"\r\n [ngClass]=\"{\r\n 'central-content-non-drilldown-sizes': isHeaderVisible,\r\n 'central-content-drilldown-sizes': !isHeaderVisible,\r\n 'lib-justify-content-space-around': chartData.data.bgColor,\r\n 'lib-justify-content-center': !chartData.data.bgColor\r\n }\"\r\n (click)=\"handleClick(chartData.data.daterange)\"\r\n >\r\n <span\r\n class=\"value-style\"\r\n [ngClass]=\"{\r\n 'value-style-non-drilldown': isHeaderVisible,\r\n 'value-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.value | number: '1.0-2' }}\r\n </span>\r\n\r\n <span\r\n class=\"name-style\"\r\n [ngClass]=\"{\r\n 'name-style-non-drilldown': isHeaderVisible,\r\n 'name-style-drilldown': !isHeaderVisible\r\n }\"\r\n >\r\n {{ chartData.data.name }}\r\n </span>\r\n\r\n <div\r\n *ngIf=\"chartData.data.bgColor\"\r\n class=\"direction-panel\"\r\n [ngClass]=\"{\r\n 'direction-panel-non-drilldown': isHeaderVisible,\r\n 'direction-panel-drilldown': !isHeaderVisible\r\n }\"\r\n [style.backgroundColor]=\"chartData.data.bgColor\"\r\n >\r\n <ng-container [ngSwitch]=\"chartData.data.valueDirection\">\r\n <img *ngSwitchCase=\"1\" class=\"trend-img\" src=\"/assets/up-trend.png\" alt=\"up\" />\r\n <img *ngSwitchCase=\"0\" class=\"trend-img\" src=\"/assets/sameline-trend.png\" alt=\"same\" />\r\n <img *ngSwitchCase=\"-1\" class=\"trend-img\" src=\"/assets/down-trend.png\" alt=\"down\" />\r\n </ng-container>\r\n </div>\r\n </div>\r\n\r\n <div\r\n class=\"date-range\"\r\n [ngClass]=\"{ 'date-range-drilldown': !isHeaderVisible }\"\r\n >\r\n <i class=\"fa fa-calendar marginright-3\"></i>\r\n {{ chartData.data.daterange }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".trendcontainer{display:flex!important;justify-content:center;align-items:center;flex-direction:column;position:relative;top:0;width:100%;height:85%;padding:1rem;box-sizing:border-box}.central-content{background:#f0f0f0;display:flex;align-items:center;justify-content:center;flex-direction:row;position:relative;box-shadow:0 1px 2px #0000001a,0 3px 10px #0000004d;border-radius:8px;padding:.5rem 1rem;text-align:center;transition:all .3s ease-in-out;max-width:90%;flex-wrap:nowrap;gap:.75rem}.central-content-non-drilldown-sizes{height:auto;min-width:150px}.central-content-drilldown-sizes{min-width:300px;height:auto}.value-style,.name-style{font-weight:600;margin:.25rem;color:var(--pph-text-color);display:inline-block}.value-style-non-drilldown,.name-style-non-drilldown{font-size:20px}.value-style-drilldown,.name-style-drilldown{font-size:48px}.direction-panel{border-radius:8px;display:flex;justify-content:center;align-items:center;margin-left:8px;flex-shrink:0}.direction-panel-non-drilldown{width:45px;height:45px}.direction-panel-drilldown{width:80px;height:80px}.trend-img{transform:scale(1.25)}.date-range{margin-top:1rem;font-size:16px;text-align:center}@media (max-width: 1024px){.central-content-drilldown-sizes{min-width:250px}.value-style-drilldown,.name-style-drilldown{font-size:36px}}@media (max-width: 768px){.central-content{flex-direction:row;gap:.5rem}.value-style-drilldown,.name-style-drilldown{font-size:28px}.date-range{font-size:14px}}@media (max-width: 480px){.central-content{flex-direction:row;min-width:200px;padding:.5rem;gap:.25rem}.value-style,.name-style{font-size:16px}.direction-panel{width:35px;height:35px}.trend-img{transform:scale(1)}.date-range{font-size:12px}}\n", ".lib-chart-wrapper{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;background:#fff 0% 0% no-repeat padding-box;position:relative}.lib-chart-wrapper-wo-shadow{width:100%;height:100%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background){background-color:#2e3640}.lib-chart-wrapper:hover .chart-header-v1:not(.header-no-background) .chart-title{color:#fff}.lib-chart-svg{width:100%}.lib-chart-header{text-align:center;background-color:#052340;color:#fff;width:100%;height:17%;word-spacing:.5px;line-height:1.8;font-weight:700;padding-top:2%;letter-spacing:0;font-size:1.2em}.lib-donut-chart-footer{width:100%;text-align:right}.lib-donut-label-text{font-size:.9em;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-weight:400;letter-spacing:0px;color:#000;opacity:1}.lib-donut-label-icon{display:inline-block;width:10px;height:10px;margin-right:20px;border-radius:3px}.lib-donut-label-item{font-weight:400;font-size:.85em;color:#2f2f2f}.lib-donut-justified-label-wrapper{width:100%;display:inline-block;text-align:center;list-style-type:none}.lib-donut-justified-label-item{font-weight:400;font-size:.85em;color:#2f2f2f;display:inline-block;text-align:left;padding:0 10px}.lib-donut-justified-label-icon{display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:3px}.lib-no-background{background:none!important}.lib-display-hidden{display:none}.lib-ylabel-weeklyCharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:12px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.07px;text-transform:capitalize;color:#000}.lib-data-labels-weeklycharts{font-style:normal;font-variant:normal;font-weight:400;font-size:12px;line-height:14px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:-.06px;color:#000}.lib-data-labels-angled-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:9.5px;line-height:11px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:.4px;text-anchor:start}.lib-xaxis-labels-texts-weeklycharts{font-style:normal;font-variant:normal;font-weight:800;font-size:10px;line-height:11px;letter-spacing:-.05px;fill:#000}.lib-xaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-xaxis-labels-texts-drilldown-ria{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:-1px;color:#000;opacity:1;text-transform:capitalize}.lib-white-space-nowrap{white-space:nowrap}.lib-xaxis-labels-texts-drilldown-alt{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:10px;letter-spacing:0px;color:#000;opacity:1;text-transform:capitalize}.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}.lib-ylabel-drilldowncharts,.lib-xlabel-drilldowncharts{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:16px;letter-spacing:-.1px;color:#000!important;opacity:1}.lib-donut-justified-label-icon-drilldown{display:inline-block;width:14px;height:14px;margin-right:10px;border-radius:50%}.marginright-2{margin-right:2%}.margintop-5{margin-top:5%}.width-100{width:100%}.float-right{float:right}.marginBottom-10{margin-bottom:10px}.header-alt{align-items:center;margin-bottom:10px}input::placeholder{font-size:20px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;letter-spacing:0px;color:#000;opacity:1}.padding-5{padding:5px}.hidden{visibility:hidden}.font-weight-bold{font-weight:900}.textalign-center{text-align:center}.cursor-pointer{cursor:pointer}.cursor-default{cursor:default}.font-weight-600{font-weight:600}.marginRight-15{margin-right:15px}.marginRight-20{margin-right:20px}.switch{position:relative;display:inline-block;width:46px;height:24px;margin-left:5px;margin-right:5px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#2d5ca0;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:\"\";height:18px;width:18px;right:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider.round{border-radius:18px}.slider.round:before{border-radius:50%}.slider1{position:absolute;cursor:pointer;inset:0;background-color:#015ba2cf;-webkit-transition:.4s;transition:.4s}.slider1:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}.slider1.round1{border-radius:18px}.slider1.round1:before{border-radius:50%}.lib-display-flex{display:flex}.lib-align-items-center{align-items:center}.lib-flex-direction-column{flex-direction:column}.lib-justify-content-space-between{justify-content:space-between}.lib-justify-content-space-around{justify-content:space-around}.lib-justify-content-center{justify-content:center}.lib-justify-content-start{justify-content:start}.lib-justify-content-end{justify-content:end}.lib-ml-20{margin-left:20px}.lib-position-absolute{position:absolute}.lib-z-index-9{z-index:9}.marginright-3{margin-right:3px}@media screen and (min-width: 1280px) and (max-width: 1366px){.lib-yaxis-labels-texts-drilldown{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto;font-size:11px;letter-spacing:0px;color:#000!important;opacity:1}}@media (min-height: 900px){.lib-chart-wrapper{border-radius:8px}.header-font-size-1{font-size:18px!important}.font-size-1{font-size:13px!important}.font-size-2{font-size:16px!important}.font-size-3{font-size:14px!important}.font-size-4{font-size:22px!important}.font-size-5{font-size:24px!important}}\n"] }]
9292
9302
  }], propDecorators: { containerElt: [{
9293
9303
  type: ViewChild,
9294
9304
  args: ['plaintrendcontainer', { static: true }]