@nova-ui/dashboards 20.0.11 → 20.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/nova-ui-dashboards.mjs +154 -31
- package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
- package/index.d.ts +33 -2
- package/package.json +3 -3
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.d.ts +3 -0
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js +31 -0
- package/sdk/atoms/src/lib/components/table-widget/delayed-mouse-presence-detection.directive.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/focusable-scroll-region.directive.d.ts +17 -0
- package/sdk/atoms/src/lib/components/table-widget/focusable-scroll-region.directive.js +84 -0
- package/sdk/atoms/src/lib/components/table-widget/focusable-scroll-region.directive.js.map +1 -0
- package/sdk/atoms/src/lib/components/table-widget/public-api.d.ts +1 -0
- package/sdk/atoms/src/lib/components/table-widget/public-api.js +1 -0
- package/sdk/atoms/src/lib/components/table-widget/public-api.js.map +1 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.d.ts +4 -0
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js +10 -1
- package/sdk/atoms/src/lib/components/table-widget/table-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.d.ts +2 -0
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js +5 -0
- package/sdk/atoms/src/lib/components/widget/widget-header/widget-header.component.js.map +1 -1
- package/sdk/atoms/src/lib/dashboards.module.js +3 -1
- package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.d.ts +3 -0
- package/sdk/atoms/src/lib/services/widget-configuration.service.js +8 -1
- package/sdk/atoms/src/lib/services/widget-configuration.service.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i4 from '@angular/common';
|
|
2
2
|
import { CommonModule, DecimalPipe, DOCUMENT } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Component, HostBinding, Input, Pipe, NgModule, InjectionToken, Host, Self, Directive, Injectable, Inject, Optional, NgZone, Injector, EventEmitter, SimpleChange, Output, ViewChildren, ViewChild, ViewEncapsulation, SecurityContext, ChangeDetectionStrategy,
|
|
4
|
+
import { Component, HostBinding, Input, Pipe, NgModule, InjectionToken, Host, Self, Directive, Injectable, Inject, Optional, NgZone, Injector, EventEmitter, SimpleChange, Output, ViewChildren, ViewChild, ViewEncapsulation, SecurityContext, ChangeDetectionStrategy, inject, ElementRef, HostListener, Renderer2, signal, ChangeDetectorRef, KeyValueDiffers, ViewContainerRef, ContentChildren, forwardRef } from '@angular/core';
|
|
5
5
|
import * as i2 from '@nova-ui/bits';
|
|
6
6
|
import { unitConversionBases, NuiImageModule, EventDefinition, immutableSet, EventBus, VirtualViewportManager, uuid, LoggerService, TimeframeService, ResizeObserverDirective, nameof, TableSelectionMode, DEFAULT_INTERACTIVE_ELEMENTS, SorterDirection, TableRowComponent, HistoryStorage, UnitBase, UnitConversionService, NuiBusyModule, NuiCommonModule, NuiIconModule, OVERLAY_CONTAINER, SpinnerSize, removeErrors, NuiMenuModule, NuiPopupModule, NuiDialogModule, NuiSpinnerModule, NuiTextboxModule, NuiFormFieldModule, NuiButtonModule, NuiOverlayAdditionsModule, NuiSelectV2Module, NuiRadioModule, NuiCheckboxModule, NuiValidationMessageModule, NuiExpanderModule, NuiPanelModule, NuiDividerModule, NuiSwitchModule, NuiMessageModule, NuiWizardModule, NuiSorterModule, NuiSearchModule, NuiRepeatModule, NuiColorPickerModule, NuiProgressModule, NuiTableModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTooltipModule, NuiRiskScoreModule, NuiSelectModule, NuiPopoverModule, NuiPaginatorModule } from '@nova-ui/bits';
|
|
7
7
|
import * as i11 from '@angular/cdk/scrolling';
|
|
@@ -662,6 +662,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
|
|
|
662
662
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
663
663
|
// THE SOFTWARE.
|
|
664
664
|
class WidgetConfigurationService {
|
|
665
|
+
constructor() {
|
|
666
|
+
/** Unique per widget instance, so the same widget rendered twice (e.g. dashboard and preview) gets distinct ids */
|
|
667
|
+
this.titleId = `nui-widget-title-${WidgetConfigurationService.nextId++}`;
|
|
668
|
+
}
|
|
669
|
+
static { this.nextId = 0; }
|
|
665
670
|
updateWidget(widget) {
|
|
666
671
|
this.widget = widget;
|
|
667
672
|
}
|
|
@@ -7035,6 +7040,7 @@ class DelayedMousePresenceDetectionDirective {
|
|
|
7035
7040
|
constructor() {
|
|
7036
7041
|
this.enabled = true;
|
|
7037
7042
|
this.delay = 500;
|
|
7043
|
+
this.elementRef = inject(ElementRef);
|
|
7038
7044
|
}
|
|
7039
7045
|
onHostMouseenter() {
|
|
7040
7046
|
if (!this.enabled) {
|
|
@@ -7050,6 +7056,24 @@ class DelayedMousePresenceDetectionDirective {
|
|
|
7050
7056
|
}
|
|
7051
7057
|
this.mousePresentSubject.next(true);
|
|
7052
7058
|
}
|
|
7059
|
+
// Keyboard users never fire mouseenter, leaving the container overflow-hidden and arrow-key scrolling broken.
|
|
7060
|
+
onHostFocusin() {
|
|
7061
|
+
if (!this.enabled) {
|
|
7062
|
+
return;
|
|
7063
|
+
}
|
|
7064
|
+
this.mousePresentSubject.next(true);
|
|
7065
|
+
}
|
|
7066
|
+
onHostFocusout(event) {
|
|
7067
|
+
if (!this.enabled) {
|
|
7068
|
+
return;
|
|
7069
|
+
}
|
|
7070
|
+
// Focus moving between elements inside the host still counts as present.
|
|
7071
|
+
const relatedTarget = event.relatedTarget;
|
|
7072
|
+
if (!(relatedTarget instanceof HTMLElement) ||
|
|
7073
|
+
!this.elementRef.nativeElement.contains(relatedTarget)) {
|
|
7074
|
+
this.mousePresentSubject.next(false);
|
|
7075
|
+
}
|
|
7076
|
+
}
|
|
7053
7077
|
onHostMouseleave() {
|
|
7054
7078
|
if (!this.enabled) {
|
|
7055
7079
|
return;
|
|
@@ -7058,7 +7082,7 @@ class DelayedMousePresenceDetectionDirective {
|
|
|
7058
7082
|
this.mousePresentSubject.next(false);
|
|
7059
7083
|
}
|
|
7060
7084
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DelayedMousePresenceDetectionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7061
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.21", type: DelayedMousePresenceDetectionDirective, isStandalone: false, selector: "[nuiDelayedMousePresenceDetection]", inputs: { enabled: ["nuiDelayedMousePresenceDetection", "enabled"], mousePresentSubject: "mousePresentSubject", delay: "delay" }, host: { listeners: { "mouseenter": "onHostMouseenter()", "click": "onHostClick()", "mouseleave": "onHostMouseleave()" } }, ngImport: i0 }); }
|
|
7085
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.21", type: DelayedMousePresenceDetectionDirective, isStandalone: false, selector: "[nuiDelayedMousePresenceDetection]", inputs: { enabled: ["nuiDelayedMousePresenceDetection", "enabled"], mousePresentSubject: "mousePresentSubject", delay: "delay" }, host: { listeners: { "mouseenter": "onHostMouseenter()", "click": "onHostClick()", "focusin": "onHostFocusin()", "focusout": "onHostFocusout($event)", "mouseleave": "onHostMouseleave()" } }, ngImport: i0 }); }
|
|
7062
7086
|
}
|
|
7063
7087
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DelayedMousePresenceDetectionDirective, decorators: [{
|
|
7064
7088
|
type: Directive,
|
|
@@ -7079,11 +7103,97 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
|
|
|
7079
7103
|
}], onHostClick: [{
|
|
7080
7104
|
type: HostListener,
|
|
7081
7105
|
args: ["click"]
|
|
7106
|
+
}], onHostFocusin: [{
|
|
7107
|
+
type: HostListener,
|
|
7108
|
+
args: ["focusin"]
|
|
7109
|
+
}], onHostFocusout: [{
|
|
7110
|
+
type: HostListener,
|
|
7111
|
+
args: ["focusout", ["$event"]]
|
|
7082
7112
|
}], onHostMouseleave: [{
|
|
7083
7113
|
type: HostListener,
|
|
7084
7114
|
args: ["mouseleave"]
|
|
7085
7115
|
}] } });
|
|
7086
7116
|
|
|
7117
|
+
// © 2026 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7118
|
+
//
|
|
7119
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7120
|
+
// of this software and associated documentation files (the "Software"), to
|
|
7121
|
+
// deal in the Software without restriction, including without limitation the
|
|
7122
|
+
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
7123
|
+
// sell copies of the Software, and to permit persons to whom the Software is
|
|
7124
|
+
// furnished to do so, subject to the following conditions:
|
|
7125
|
+
//
|
|
7126
|
+
// The above copyright notice and this permission notice shall be included in
|
|
7127
|
+
// all copies or substantial portions of the Software.
|
|
7128
|
+
//
|
|
7129
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
7130
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
7131
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
7132
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
7133
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7134
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
7135
|
+
// THE SOFTWARE.
|
|
7136
|
+
/**
|
|
7137
|
+
* Puts the host into the tab sequence as a labelled region while its content overflows,
|
|
7138
|
+
* so it can be scrolled by keyboard even without focusable descendants (WCAG 2.1.1, ACT rule 0ssw9k).
|
|
7139
|
+
*/
|
|
7140
|
+
class FocusableScrollRegionDirective {
|
|
7141
|
+
constructor() {
|
|
7142
|
+
this.elementRef = inject(ElementRef);
|
|
7143
|
+
this.renderer = inject(Renderer2);
|
|
7144
|
+
this.zone = inject(NgZone);
|
|
7145
|
+
}
|
|
7146
|
+
ngAfterViewInit() {
|
|
7147
|
+
const host = this.elementRef.nativeElement;
|
|
7148
|
+
this.zone.runOutsideAngular(() => {
|
|
7149
|
+
this.resizeObserver = new ResizeObserver(() => this.update());
|
|
7150
|
+
// Children are observed too: their size (e.g. a virtual scroll spacer) drives the scroll size.
|
|
7151
|
+
[host, ...Array.from(host.children)].forEach(el => this.resizeObserver?.observe(el));
|
|
7152
|
+
});
|
|
7153
|
+
this.update();
|
|
7154
|
+
}
|
|
7155
|
+
ngOnChanges() {
|
|
7156
|
+
if (this.resizeObserver) {
|
|
7157
|
+
this.update();
|
|
7158
|
+
}
|
|
7159
|
+
}
|
|
7160
|
+
ngOnDestroy() {
|
|
7161
|
+
this.resizeObserver?.disconnect();
|
|
7162
|
+
}
|
|
7163
|
+
update() {
|
|
7164
|
+
const host = this.elementRef.nativeElement;
|
|
7165
|
+
// Scroll size is measured even while overflow is hidden, because the host enables scrolling once focused.
|
|
7166
|
+
const overflows = host.scrollWidth > host.clientWidth ||
|
|
7167
|
+
host.scrollHeight > host.clientHeight;
|
|
7168
|
+
if (overflows) {
|
|
7169
|
+
this.renderer.setAttribute(host, "tabindex", "0");
|
|
7170
|
+
this.renderer.setAttribute(host, "role", "region");
|
|
7171
|
+
if (this.labelledBy) {
|
|
7172
|
+
this.renderer.setAttribute(host, "aria-labelledby", this.labelledBy);
|
|
7173
|
+
}
|
|
7174
|
+
else {
|
|
7175
|
+
this.renderer.removeAttribute(host, "aria-labelledby");
|
|
7176
|
+
}
|
|
7177
|
+
}
|
|
7178
|
+
else {
|
|
7179
|
+
this.renderer.removeAttribute(host, "tabindex");
|
|
7180
|
+
this.renderer.removeAttribute(host, "role");
|
|
7181
|
+
this.renderer.removeAttribute(host, "aria-labelledby");
|
|
7182
|
+
}
|
|
7183
|
+
}
|
|
7184
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: FocusableScrollRegionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7185
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.21", type: FocusableScrollRegionDirective, isStandalone: true, selector: "[nuiFocusableScrollRegion]", inputs: { labelledBy: ["nuiFocusableScrollRegion", "labelledBy"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
7186
|
+
}
|
|
7187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: FocusableScrollRegionDirective, decorators: [{
|
|
7188
|
+
type: Directive,
|
|
7189
|
+
args: [{
|
|
7190
|
+
selector: "[nuiFocusableScrollRegion]",
|
|
7191
|
+
}]
|
|
7192
|
+
}], propDecorators: { labelledBy: [{
|
|
7193
|
+
type: Input,
|
|
7194
|
+
args: ["nuiFocusableScrollRegion"]
|
|
7195
|
+
}] } });
|
|
7196
|
+
|
|
7087
7197
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7088
7198
|
//
|
|
7089
7199
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -7421,6 +7531,7 @@ var ScrollType;
|
|
|
7421
7531
|
*/
|
|
7422
7532
|
class TableWidgetComponent {
|
|
7423
7533
|
static { this.lateLoadKey = "TableWidgetComponent"; }
|
|
7534
|
+
static { this.nextId = 0; }
|
|
7424
7535
|
constructor(eventBus, dataSource, widgetConfigurationService, changeDetector, pizzagnaService, viewportManager, zone, el, logger, searchAddon, paginatorAddon, virtualScrollAddon, formattersRegistryService, selectorService) {
|
|
7425
7536
|
this.eventBus = eventBus;
|
|
7426
7537
|
this.dataSource = dataSource;
|
|
@@ -7463,8 +7574,14 @@ class TableWidgetComponent {
|
|
|
7463
7574
|
this.idle = false;
|
|
7464
7575
|
this.isSearchLimitWarningDisplayed = signal(false, ...(ngDevMode ? [{ debugName: "isSearchLimitWarningDisplayed" }] : []));
|
|
7465
7576
|
this.defaultMaxSearchLength = 2000;
|
|
7577
|
+
this.tableId = `nui-table-widget-table-${TableWidgetComponent.nextId++}`;
|
|
7466
7578
|
this._scrollBuffer = 0;
|
|
7467
7579
|
}
|
|
7580
|
+
/** Region name is "<widget title> <table label>"; a missing title id is skipped by accname */
|
|
7581
|
+
get scrollRegionLabelledBy() {
|
|
7582
|
+
const titleId = this.widgetConfigurationService?.titleId;
|
|
7583
|
+
return titleId ? `${titleId} ${this.tableId}` : this.tableId;
|
|
7584
|
+
}
|
|
7468
7585
|
get headerTooltipsEnabled() {
|
|
7469
7586
|
// Note: If tooltip state is not provided treat is as true;
|
|
7470
7587
|
return this.configuration.headerTooltipsEnabled ?? true;
|
|
@@ -7936,7 +8053,7 @@ class TableWidgetComponent {
|
|
|
7936
8053
|
SearchFeatureAddonService,
|
|
7937
8054
|
VirtualScrollFeatureAddonService,
|
|
7938
8055
|
PaginatorFeatureAddonService,
|
|
7939
|
-
], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "paginator", first: true, predicate: ["paginator"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\">\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\">\n </nui-search>\n @if (isSearchLimitWarningDisplayed()) {\n <nui-message\n class=\"nui-table-search-limit-warning\"\n type=\"warning\"\n [allowDismiss]=\"false\"\n i18n>\n Search query limit is {{ searchLimitMaxLength }} characters.\n </nui-message>\n }\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\">\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\">\n <table\n class=\"nui-table-widget__main\"\n nui-table\n aria-label=\"Data table\"\n i18n-aria-label\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"\n hasPaginator &&\n configuration?.selectionConfiguration?.allPages\n \"\n [dataSource]=\"tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable>\n @for (column of columns; track columnTrackBy($index, column)) {\n <ng-container nuiColumnDef=\"{{ column.id }}\">\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\">\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\">\n @if (element[column.id] && column.formatter) {\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"></ng-template>\n </ng-container>\n }\n </td>\n </ng-container>\n </ng-container>\n }\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\">\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n (keydown.enter)=\"onInteraction(row, $event)\"\n (keydown.space)=\"\n interactive && $event.preventDefault();\n onInteraction(row, $event)\n \"\n [attr.role]=\"interactive ? 'button' : null\"\n [attr.tabindex]=\"interactive ? 0 : null\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\">\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}.nui-table-widget .nui-table-search-limit-warning{display:block;margin-top:5px}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill", "role"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "selectionConfig", "totalItems", "dataSource", "selection", "sortedColumn", "paginatorUsed"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange", "columnsWidthChange"], exportAs: ["nuiTable"] }, { kind: "directive", type: i2.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { kind: "directive", type: i2.TableCellDefDirective, selector: "[nuiCellDef]" }, { kind: "directive", type: i2.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { kind: "component", type: i2.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { kind: "component", type: i2.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "rowObject", "clickableRow", "clickableRowConfig"], exportAs: ["nuiRow"] }, { kind: "directive", type: i2.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { kind: "component", type: i2.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["alignment", "tooltipText", "isColumnSortingDisabled"] }, { kind: "directive", type: i2.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { kind: "directive", type: i2.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { kind: "directive", type: i2.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { kind: "directive", type: i11.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i11.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i11.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i2.SearchComponent, selector: "nui-search", inputs: ["captureFocus", "name", "isInErrorState", "placeholder", "inputId", "ariaLabel", "value"], outputs: ["captureFocusChange", "valueChange", "cancel", "focusChange", "inputChange", "search"] }, { kind: "component", type: i2.PaginatorComponent, selector: "nui-paginator", inputs: ["ariaLabel", "itemsList", "page", "pageSize", "pageSizeSet", "total", "dots", "hideIfEmpty", "hide", "activeClass", "disabledClass", "adjacent", "maxElements", "showPrevNext", "popupDirectionTop", "popupBaseElementSelector", "appendToBody"], outputs: ["pagerAction", "pageChange"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "directive", type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8056
|
+
], viewQueries: [{ propertyName: "table", first: true, predicate: ["widgetTable"], descendants: true }, { propertyName: "paginator", first: true, predicate: ["paginator"], descendants: true }, { propertyName: "vscrollViewport", first: true, predicate: CdkVirtualScrollViewport, descendants: true }, { propertyName: "tableRows", predicate: TableRowComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\">\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\">\n </nui-search>\n @if (isSearchLimitWarningDisplayed()) {\n <nui-message\n class=\"nui-table-search-limit-warning\"\n type=\"warning\"\n [allowDismiss]=\"false\"\n i18n>\n Search query limit is {{ searchLimitMaxLength }} characters.\n </nui-message>\n }\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\">\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [nuiFocusableScrollRegion]=\"scrollRegionLabelledBy\"\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\">\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [attr.id]=\"tableId\"\n aria-label=\"Data table\"\n i18n-aria-label\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"\n hasPaginator &&\n configuration?.selectionConfiguration?.allPages\n \"\n [dataSource]=\"tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable>\n @for (column of columns; track columnTrackBy($index, column)) {\n <ng-container nuiColumnDef=\"{{ column.id }}\">\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\">\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\">\n @if (element[column.id] && column.formatter) {\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"></ng-template>\n </ng-container>\n }\n </td>\n </ng-container>\n </ng-container>\n }\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\">\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n (keydown.enter)=\"onInteraction(row, $event)\"\n (keydown.space)=\"\n interactive && $event.preventDefault();\n onInteraction(row, $event)\n \"\n [attr.role]=\"interactive ? 'button' : null\"\n [attr.tabindex]=\"interactive ? 0 : null\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\">\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container{position:relative}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}.nui-table-widget .nui-table-widget-container .cdk-virtual-scroll-viewport:focus-visible{outline:none}.nui-table-widget .nui-table-widget-container:has(>.cdk-virtual-scroll-viewport:focus-visible):after{content:\"\";position:absolute;inset:0;z-index:1;pointer-events:none;border:2px solid;border-color:var(--nui-color-focus,rgba(0, 196, 210, .5));box-shadow:inset 0 0 0 1px var(--nui-color-text-default, #111)}.nui-table-widget .nui-table-search-limit-warning{display:block;margin-top:5px}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.ImageComponent, selector: "nui-image", inputs: ["image", "description", "float", "margin", "isWatermark", "width", "height", "autoFill", "role"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.TableComponent, selector: "nui-table, table[nui-table]", inputs: ["reorderable", "sortable", "resizable", "selectable", "selectionConfig", "totalItems", "dataSource", "selection", "sortedColumn", "paginatorUsed"], outputs: ["columnsOrderChange", "sortOrderChanged", "selectionChange", "columnsWidthChange"], exportAs: ["nuiTable"] }, { kind: "directive", type: i2.TableHeaderRowDefDirective, selector: "[nuiHeaderRowDef]", inputs: ["nuiHeaderRowDef", "nuiHeaderRowDefSticky"] }, { kind: "directive", type: i2.TableCellDefDirective, selector: "[nuiCellDef]" }, { kind: "directive", type: i2.TableRowDefDirective, selector: "[nuiRowDef]", inputs: ["nuiRowDefColumns", "nuiRowDefWhen"] }, { kind: "component", type: i2.TableHeaderRowComponent, selector: "nui-header-row, tr[nui-header-row]", inputs: ["density"], exportAs: ["nuiHeaderRow"] }, { kind: "component", type: i2.TableRowComponent, selector: "nui-row, tr[nui-row]", inputs: ["density", "rowObject", "clickableRow", "clickableRowConfig"], exportAs: ["nuiRow"] }, { kind: "directive", type: i2.TableHeaderCellDefDirective, selector: "[nuiHeaderCellDef]" }, { kind: "component", type: i2.TableHeaderCellComponent, selector: "nui-header-cell, th[nui-header-cell]", inputs: ["alignment", "tooltipText", "isColumnSortingDisabled"] }, { kind: "directive", type: i2.TableCellDirective, selector: "nui-cell, td[nui-cell]", inputs: ["tooltipText", "alignment"] }, { kind: "directive", type: i2.TableColumnDefDirective, selector: "[nuiColumnDef]", inputs: ["nuiColumnDef", "type", "columnWidth"] }, { kind: "directive", type: i2.TableStickyHeaderDirective, selector: "cdk-virtual-scroll-viewport[tableStickyHeader]", inputs: ["tableStickyHeader"] }, { kind: "directive", type: i11.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i11.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i11.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "component", type: i2.SearchComponent, selector: "nui-search", inputs: ["captureFocus", "name", "isInErrorState", "placeholder", "inputId", "ariaLabel", "value"], outputs: ["captureFocusChange", "valueChange", "cancel", "focusChange", "inputChange", "search"] }, { kind: "component", type: i2.PaginatorComponent, selector: "nui-paginator", inputs: ["ariaLabel", "itemsList", "page", "pageSize", "pageSizeSet", "total", "dots", "hideIfEmpty", "hide", "activeClass", "disabledClass", "adjacent", "maxElements", "showPrevNext", "popupDirectionTop", "popupBaseElementSelector", "appendToBody"], outputs: ["pagerAction", "pageChange"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "directive", type: FocusableScrollRegionDirective, selector: "[nuiFocusableScrollRegion]", inputs: ["nuiFocusableScrollRegion"] }, { kind: "directive", type: DelayedMousePresenceDetectionDirective, selector: "[nuiDelayedMousePresenceDetection]", inputs: ["nuiDelayedMousePresenceDetection", "mousePresentSubject", "delay"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7940
8057
|
}
|
|
7941
8058
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TableWidgetComponent, decorators: [{
|
|
7942
8059
|
type: Component,
|
|
@@ -7948,7 +8065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
|
|
|
7948
8065
|
// Note: Moved here from configuration to ensure that consumers will not override it.
|
|
7949
8066
|
// Used to prevent table overflowing preview container in the edit/configuration mode.
|
|
7950
8067
|
"[class.table-widget-fullwidth]": "true",
|
|
7951
|
-
}, standalone: false, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\">\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\">\n </nui-search>\n @if (isSearchLimitWarningDisplayed()) {\n <nui-message\n class=\"nui-table-search-limit-warning\"\n type=\"warning\"\n [allowDismiss]=\"false\"\n i18n>\n Search query limit is {{ searchLimitMaxLength }} characters.\n </nui-message>\n }\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\">\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\">\n <table\n class=\"nui-table-widget__main\"\n nui-table\n aria-label=\"Data table\"\n i18n-aria-label\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"\n hasPaginator &&\n configuration?.selectionConfiguration?.allPages\n \"\n [dataSource]=\"tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable>\n @for (column of columns; track columnTrackBy($index, column)) {\n <ng-container nuiColumnDef=\"{{ column.id }}\">\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\">\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\">\n @if (element[column.id] && column.formatter) {\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"></ng-template>\n </ng-container>\n }\n </td>\n </ng-container>\n </ng-container>\n }\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\">\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n (keydown.enter)=\"onInteraction(row, $event)\"\n (keydown.space)=\"\n interactive && $event.preventDefault();\n onInteraction(row, $event)\n \"\n [attr.role]=\"interactive ? 'button' : null\"\n [attr.tabindex]=\"interactive ? 0 : null\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\">\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}.nui-table-widget .nui-table-search-limit-warning{display:block;margin-top:5px}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"] }]
|
|
8068
|
+
}, standalone: false, template: "<div\n class=\"h-100 d-flex justify-content-center align-items-center\"\n *ngIf=\"!shouldDisplayTable()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n<!-- h-100 gets added only when there's data to show to prevent an extra scrollbar when the table is empty -->\n<!-- Using invisible class instead of *ngIf as an non-virtual-scroll breakable way to hide the content. -->\n<div\n class=\"nui-table-widget d-flex flex-column\"\n [ngClass]=\"shouldDisplayTable() ? 'h-100' : 'invisible'\">\n <div class=\"mr-2 mb-2 flex-row\" *ngIf=\"isSearchEnabled\">\n <nui-search\n class=\"unlimited-width d-flex justify-content-end flex-grow-1\"\n [value]=\"searchValue\"\n (inputChange)=\"onSearchInputChanged($event)\"\n (cancel)=\"onSearchInputChanged($event)\">\n </nui-search>\n @if (isSearchLimitWarningDisplayed()) {\n <nui-message\n class=\"nui-table-search-limit-warning\"\n type=\"warning\"\n [allowDismiss]=\"false\"\n i18n>\n Search query limit is {{ searchLimitMaxLength }} characters.\n </nui-message>\n }\n </div>\n <div\n class=\"flex-row h-100 nui-table-widget-container\"\n [nuiDelayedMousePresenceDetection]=\"\n delayedMousePresenceDetectionEnabled\n \"\n [delay]=\"configuration.scrollActivationDelayMs\"\n [mousePresentSubject]=\"mousePresent$\">\n <!-- Note: Using inline style to let tableStickyHeader pick the actual height and update it with header height when it is detached -->\n <cdk-virtual-scroll-viewport\n class=\"calc-height\"\n style=\"height: calc(100% - 2px)\"\n tableStickyHeader\n [nuiFocusableScrollRegion]=\"scrollRegionLabelledBy\"\n [itemSize]=\"rowHeight\"\n [ngClass]=\"{\n 'virtual-scroll-disabled':\n (mousePresent$ | async) === false &&\n delayedMousePresenceDetectionEnabled\n }\">\n <table\n class=\"nui-table-widget__main\"\n nui-table\n [attr.id]=\"tableId\"\n aria-label=\"Data table\"\n i18n-aria-label\n [reorderable]=\"configuration?.reorderable\"\n [sortable]=\"sortable\"\n [selection]=\"selection\"\n [selectionConfig]=\"configuration?.selectionConfiguration\"\n [totalItems]=\"totalItems\"\n [paginatorUsed]=\"\n hasPaginator &&\n configuration?.selectionConfiguration?.allPages\n \"\n [dataSource]=\"tableData\"\n [sortedColumn]=\"sortedColumn\"\n (sortOrderChanged)=\"onSortOrderChanged($event)\"\n (selectionChange)=\"onSelectionChange($event)\"\n [trackBy]=\"dataTrackBy()\"\n #widgetTable>\n @for (column of columns; track columnTrackBy($index, column)) {\n <ng-container nuiColumnDef=\"{{ column.id }}\">\n <th\n nui-header-cell\n [isColumnSortingDisabled]=\"!column.sortable\"\n *nuiHeaderCellDef\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"columnsWidthMap.get(column.id)\"\n [style.min-width.px]=\"columnsWidthMap.get(column.id)\"\n [title]=\"column.label\"\n [tooltipText]=\"\n headerTooltipsEnabled ? column.label : undefined\n \"\n [alignment]=\"getColumnAlignment(column)\">\n {{ column.label }}\n </th>\n <ng-container>\n <td\n nui-cell\n *nuiCellDef=\"let element\"\n [style.width.px]=\"columnsWidthMap.get(column.id)\"\n [style.max-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [style.min-width.px]=\"\n columnsWidthMap.get(column.id)\n \"\n [alignment]=\"getColumnAlignment(column)\">\n @if (element[column.id] && column.formatter) {\n <ng-container\n nuiComponentPortal\n componentId=\"formatter\"\n [componentType]=\"\n column.formatter?.componentType\n \"\n [properties]=\"element[column.id]\"\n #componentPortal=\"nuiComponentPortal\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"\n componentPortal.attached($event)\n \"></ng-template>\n </ng-container>\n }\n </td>\n </ng-container>\n </ng-container>\n }\n <tr nui-header-row *nuiHeaderRowDef=\"headers\"></tr>\n\n <ng-template\n nuiRowDef\n cdkVirtualFor\n let-row\n [nuiRowDefColumns]=\"headers\"\n [cdkVirtualForOf]=\"tableData\"\n [cdkVirtualForTemplateCacheSize]=\"10\"\n [cdkVirtualForTrackBy]=\"dataTrackBy()\">\n <tr\n nui-row\n (click)=\"onInteraction(row, $event)\"\n (keydown.enter)=\"onInteraction(row, $event)\"\n (keydown.space)=\"\n interactive && $event.preventDefault();\n onInteraction(row, $event)\n \"\n [attr.role]=\"interactive ? 'button' : null\"\n [attr.tabindex]=\"interactive ? 0 : null\"\n density=\"tiny\"\n [rowObject]=\"row.__record\"\n [clickableRow]=\"clickableRow\"></tr>\n </ng-template>\n </table>\n </cdk-virtual-scroll-viewport>\n </div>\n <div [hidden]=\"!hasPaginator\" class=\"mt-2\">\n <ng-container *ngTemplateOutlet=\"footer\"></ng-container>\n </div>\n</div>\n\n<ng-template #footer>\n <footer>\n <nui-paginator\n #paginator\n id=\"nui-table-widget-paginator\"\n [appendToBody]=\"true\"\n [page]=\"paginatorAddon.paginatorState.page\"\n [pageSize]=\"paginatorAddon.paginatorState.pageSize\"\n [pageSizeSet]=\"paginatorAddon.paginatorState.pageSizeSet\"\n [total]=\"paginatorAddon.paginatorState.total\"\n (pagerAction)=\"onPagerAction($event)\">\n </nui-paginator>\n </footer>\n</ng-template>\n", styles: [".nui-table-widget{overflow:auto;width:100%}.nui-table-widget .display-contents{display:contents}.nui-table-widget__main{flex:1 1 auto}.nui-table-widget__paginator{margin-top:10px}.nui-table-widget__overflow{overflow-y:auto}.nui-table-widget .nui-table-widget-container{position:relative}.nui-table-widget .nui-table-widget-container .virtual-scroll-disabled.cdk-virtual-scroll-viewport{overflow:hidden!important}.nui-table-widget .nui-table-widget-container .cdk-virtual-scroll-viewport:focus-visible{outline:none}.nui-table-widget .nui-table-widget-container:has(>.cdk-virtual-scroll-viewport:focus-visible):after{content:\"\";position:absolute;inset:0;z-index:1;pointer-events:none;border:2px solid;border-color:var(--nui-color-focus,rgba(0, 196, 210, .5));box-shadow:inset 0 0 0 1px var(--nui-color-text-default, #111)}.nui-table-widget .nui-table-search-limit-warning{display:block;margin-top:5px}:host-context(.mobile) .calc-height{min-height:200px}:host.table-widget-fullwidth{width:calc(100% - 10px)}.invisible{height:0}@-moz-document url-prefix(){.nui-table-widget-container{margin-right:10px}}\n"] }]
|
|
7952
8069
|
}], ctorParameters: () => [{ type: i2.EventBus, decorators: [{
|
|
7953
8070
|
type: Inject,
|
|
7954
8071
|
args: [PIZZAGNA_EVENT_BUS]
|
|
@@ -8132,7 +8249,7 @@ class TimeframeSelectionComponent {
|
|
|
8132
8249
|
}
|
|
8133
8250
|
}
|
|
8134
8251
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TimeframeSelectionComponent, deps: [{ token: PizzagnaService }, { token: i2.TimeframeService }, { token: TimeframeSerializationService }, { token: i2.HistoryStorage }, { token: DATA_SOURCE, optional: true }, { token: PIZZAGNA_EVENT_BUS }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8135
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TimeframeSelectionComponent, isStandalone: false, selector: "nui-timeframe-selection", inputs: { componentId: "componentId", minDate: "minDate", maxDate: "maxDate", timeframe: "timeframe" }, host: { properties: { "class": "this.elementClass" } }, providers: [HistoryStorage], usesOnChanges: true, ngImport: i0, template: "<nui-time-frame-bar\n [minDate]=\"minDateAsMoment\"\n [maxDate]=\"maxDateAsMoment\"\n [timeFrame]=\"currentTimeframe\"\n (timeFrameChange)=\"onTimeframeChange(history.restart($event))\"\n [historyIndex]=\"history.index\"\n (undo)=\"onTimeframeChange(history.undo())\"\n (clear)=\"onTimeframeChange(history.restart())\">\n <!-- content for default projection slot -->\n <nui-icon icon=\"calendar\" class=\"pr-3\" aria-hidden=\"true\"></nui-icon>\n {{ currentTimeframe | timeFrame }}\n\n <!-- content for time frame selection projection slot -->\n <nui-quick-picker\n [presets]=\"timeframeService.currentPresets\"\n timeFrameSelection>\n <nui-time-frame-picker></nui-time-frame-picker>\n </nui-quick-picker>\n</nui-time-frame-bar>\n", styles: [":host{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TimeFrameBarComponent, selector: "nui-time-frame-bar", inputs: ["minDate", "maxDate", "timeFrame", "historyIndex"], outputs: ["timeFrameChange", "undo", "clear"] }, { kind: "component", type: i2.QuickPickerComponent, selector: "nui-quick-picker", inputs: ["presets", "pickerTitle", "presetsTitle", "selectedPreset", "presetKeysOrder"], outputs: ["presetSelected"] }, { kind: "component", type: i2.TimeFramePickerComponent, selector: "nui-time-frame-picker", inputs: ["minDate", "maxDate", "startModel", "appendToBody"], outputs: ["changed"] }, { kind: "pipe", type: i2.TimeFrameFormatPipe, name: "timeFrame" }] }); }
|
|
8252
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TimeframeSelectionComponent, isStandalone: false, selector: "nui-timeframe-selection", inputs: { componentId: "componentId", minDate: "minDate", maxDate: "maxDate", timeframe: "timeframe" }, host: { properties: { "class": "this.elementClass" } }, providers: [HistoryStorage], usesOnChanges: true, ngImport: i0, template: "<nui-time-frame-bar\n [minDate]=\"minDateAsMoment\"\n [maxDate]=\"maxDateAsMoment\"\n [timeFrame]=\"currentTimeframe\"\n (timeFrameChange)=\"onTimeframeChange(history.restart($event))\"\n [historyIndex]=\"history.index\"\n (undo)=\"onTimeframeChange(history.undo())\"\n (clear)=\"onTimeframeChange(history.restart())\">\n <!-- content for default projection slot -->\n <nui-icon icon=\"calendar\" class=\"pr-3\" aria-hidden=\"true\"></nui-icon>\n {{ currentTimeframe | timeFrame }}\n\n <!-- content for time frame selection projection slot -->\n <nui-quick-picker\n [presets]=\"timeframeService.currentPresets\"\n timeFrameSelection>\n <nui-time-frame-picker></nui-time-frame-picker>\n </nui-quick-picker>\n</nui-time-frame-bar>\n", styles: [":host{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);border-bottom:1px solid;border-bottom-color:var(--nui-color-line-default,#d9d9d9)}\n"], dependencies: [{ kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TimeFrameBarComponent, selector: "nui-time-frame-bar", inputs: ["minDate", "maxDate", "timeFrame", "historyIndex"], outputs: ["timeFrameChange", "undo", "clear"] }, { kind: "component", type: i2.QuickPickerComponent, selector: "nui-quick-picker", inputs: ["presets", "pickerTitle", "presetsTitle", "selectedPreset", "presetKeysOrder"], outputs: ["presetSelected"] }, { kind: "component", type: i2.TimeFramePickerComponent, selector: "nui-time-frame-picker", inputs: ["minDate", "maxDate", "startModel", "appendToBody", "ariaDescribedby"], outputs: ["changed"] }, { kind: "pipe", type: i2.TimeFrameFormatPipe, name: "timeFrame" }] }); }
|
|
8136
8253
|
}
|
|
8137
8254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TimeframeSelectionComponent, decorators: [{
|
|
8138
8255
|
type: Component,
|
|
@@ -9976,7 +10093,7 @@ class LineChartComponent extends XYChartComponent {
|
|
|
9976
10093
|
return new ChartAssist(chart, null, palette);
|
|
9977
10094
|
}
|
|
9978
10095
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9979
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: LineChartComponent, isStandalone: false, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10096
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: LineChartComponent, isStandalone: false, selector: "nui-line-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "ariaDescribedby", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
9980
10097
|
}
|
|
9981
10098
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: LineChartComponent, decorators: [{
|
|
9982
10099
|
type: Component,
|
|
@@ -10033,7 +10150,7 @@ class StackedAreaChartComponent extends XYChartComponent {
|
|
|
10033
10150
|
return new ChartAssist(chart, stackedArea, palette);
|
|
10034
10151
|
}
|
|
10035
10152
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10036
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: StackedAreaChartComponent, isStandalone: false, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10153
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: StackedAreaChartComponent, isStandalone: false, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "ariaDescribedby", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10037
10154
|
}
|
|
10038
10155
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
|
|
10039
10156
|
type: Component,
|
|
@@ -10105,7 +10222,7 @@ class StackedBarChartComponent extends XYChartComponent {
|
|
|
10105
10222
|
return new ChartAssist(chart, stack, palette);
|
|
10106
10223
|
}
|
|
10107
10224
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10108
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: StackedBarChartComponent, isStandalone: false, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10225
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: StackedBarChartComponent, isStandalone: false, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "ariaDescribedby", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10109
10226
|
}
|
|
10110
10227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: StackedBarChartComponent, decorators: [{
|
|
10111
10228
|
type: Component,
|
|
@@ -10156,7 +10273,7 @@ class StackedPercentageAreaChartComponent extends XYChartComponent {
|
|
|
10156
10273
|
return new ChartAssist(chart, stackedPercentageArea, palette);
|
|
10157
10274
|
}
|
|
10158
10275
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10159
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: StackedPercentageAreaChartComponent, isStandalone: false, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10276
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: StackedPercentageAreaChartComponent, isStandalone: false, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\">\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\">\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\">\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \">\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n class=\"summary-serie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\">\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\">\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\">\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\">\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n\n <button\n nui-button\n legendMenu\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Remove metric\"\n i18n-aria-label\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(summarySerie.id)\"></button>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \">\n <nui-rich-legend-tile\n [value]=\"getLegendValue(legendSeries, valueAccessorKey)\"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \">\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \">\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\">\n <div class=\"descriptions\">\n @if (!legendSeries.link) {\n <!-- TODO: NUI-6288 - drill-down sits inside the nui-legend-series (role=\"checkbox\") -->\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n } @else {\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\">\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n } @if (!legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <div\n class=\"description description-secondary\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n } @else if (legendSeries.secondaryLink &&\n !widgetData.summarySerie) {\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\">\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n }\n </div>\n <nui-icon\n *ngIf=\"legendSeries.realtime\"\n icon=\"fast-poll\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \">\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#006791)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-legend-series:hover{background-color:var(--nui-color-bg-content-hover,#f2f2f2);cursor:pointer}nui-icon{padding:0 5px;align-items:center}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}:host ::ng-deep div:has(>.description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(>.description-container) .descriptions{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i4$1.LegendComponent, selector: "nui-legend", inputs: ["ariaLabel", "active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { kind: "component", type: i4$1.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["active", "interactive", "isSelected", "descriptionPrimary", "descriptionSecondary", "icon", "color", "seriesRenderState"], outputs: ["isSelectedChange"] }, { kind: "component", type: i4$1.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "value", "backgroundColor", "color"] }, { kind: "component", type: i4$1.ChartComponent, selector: "nui-chart", inputs: ["chart", "ariaLabel"] }, { kind: "directive", type: i4$1.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { kind: "component", type: i4$1.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["marker", "drawLine", "color", "maxSize"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "ariaDescribedby", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "pipe", type: i2.MapKeyValuePipe, name: "nuiMapKeyValue" }] }); }
|
|
10160
10277
|
}
|
|
10161
10278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: StackedPercentageAreaChartComponent, decorators: [{
|
|
10162
10279
|
type: Component,
|
|
@@ -10975,6 +11092,9 @@ class WidgetHeaderComponent {
|
|
|
10975
11092
|
get showTitleIcon() {
|
|
10976
11093
|
return this.hasTitleIcon;
|
|
10977
11094
|
}
|
|
11095
|
+
get titleId() {
|
|
11096
|
+
return (this.title && this.widgetConfigurationService?.titleId) || null;
|
|
11097
|
+
}
|
|
10978
11098
|
constructor(eventBus, pizzagnaService, changeDetector, eventProxy, linkProvider) {
|
|
10979
11099
|
this.eventBus = eventBus;
|
|
10980
11100
|
this.pizzagnaService = pizzagnaService;
|
|
@@ -11003,6 +11123,7 @@ class WidgetHeaderComponent {
|
|
|
11003
11123
|
this.collapsed = false;
|
|
11004
11124
|
this.onDestroy$ = new Subject();
|
|
11005
11125
|
this.linkTooltip = $localize `Explore this data`;
|
|
11126
|
+
this.widgetConfigurationService = inject(WidgetConfigurationService, { optional: true });
|
|
11006
11127
|
}
|
|
11007
11128
|
ngOnInit() {
|
|
11008
11129
|
if (this.collapsible) {
|
|
@@ -11076,7 +11197,7 @@ class WidgetHeaderComponent {
|
|
|
11076
11197
|
return true;
|
|
11077
11198
|
}
|
|
11078
11199
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: WidgetHeaderComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: PizzagnaService }, { token: i0.ChangeDetectorRef }, { token: WidgetToDashboardEventProxyService, optional: true }, { token: HEADER_LINK_PROVIDER, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11079
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: WidgetHeaderComponent, isStandalone: false, selector: "nui-widget-header", inputs: { componentId: "componentId", editMode: "editMode", editable: "editable", removable: "removable", collapsible: "collapsible", reloadable: "reloadable", title: "title", titleIcon: "titleIcon", titleIconSize: "titleIconSize", titleIconTooltip: "titleIconTooltip", subtitle: "subtitle", hideMenu: "hideMenu", url: "url", collapsed: "collapsed" }, host: { properties: { "class.nui-widget-header": "this.hostClass" } }, viewQueries: [{ propertyName: "widgetHeaderCustomElement", first: true, predicate: ["widgetHeaderCustomElement"], descendants: true }], ngImport: i0, template: "<div class=\"nui-widget__header\">\n <div\n class=\"nui-widget__header__container\"\n [class.nui-widget__header__container--collapsible]=\"collapsible\"\n [class.nui-widget__header__container--collapsed]=\"\n collapsible && collapsed\n \"\n [class.nui-widget__header__container--expanded]=\"\n collapsible && !collapsed\n \"\n [@expandedState]=\"state\">\n @if (collapsed && collapsible) {\n <div\n class=\"collapse-container\"\n role=\"button\"\n tabindex=\"0\"\n aria-label=\"Expand header\"\n i18n-aria-label\n [attr.aria-expanded]=\"false\"\n (click)=\"toggleCollapsed()\"\n (keydown.enter)=\"toggleCollapsed()\"\n (keydown.space)=\"$event.preventDefault(); toggleCollapsed()\">\n <span class=\"collapse-container__line\"></span>\n </div>\n }\n <div class=\"nui-widget__header__content\">\n <div\n *ngIf=\"editMode\"\n class=\"nui-widget__header__content-drag-icon nui-dashboard__widget--drag-handle\">\n <nui-icon\n icon=\"drag\"\n iconColor=\"gray\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <div\n #widgetHeaderCustomElement\n class=\"nui-widget__header__content-custom-element\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-widget__header__content-title-container nui-dashboard__widget--drag-handle\"\n [class.nui-widget__header__content-title-with-additional-content]=\"\n withCustomElement || editMode\n \">\n <div class=\"nui-widget__header__content-title-row\">\n <!-- text only header with no url defined -->\n @if (!url || editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [title]=\"title\">\n {{ title }}\n </h2>\n }\n\n <!-- link version of the header -->\n @if (url && !editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [title]=\"title\">\n <a\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n [nuiTooltip]=\"linkTooltip\"\n >{{ title }}</a\n >\n </h2>\n } @if (showTitleIcon) {\n <span\n class=\"nui-widget__header__content-title-icon\"\n [attr.aria-label]=\"titleIconTooltip || null\"\n [attr.role]=\"titleIconTooltip ? 'img' : null\"\n [attr.title]=\"titleIconTooltip || null\">\n <nui-icon\n [icon]=\"titleIcon\"\n [iconSize]=\"titleIconSize\"\n aria-hidden=\"true\"></nui-icon>\n </span>\n }\n </div>\n\n @if (subtitle) {\n <div\n class=\"nui-text-hint nui-widget__header__content-help-hint\"\n [title]=\"subtitle\">\n {{ subtitle }}\n </div>\n }\n </div>\n <div class=\"nui-widget__header__content-actions\">\n <a\n *ngIf=\"url && !editMode\"\n nui-button\n displayStyle=\"action\"\n [href]=\"url\"\n [attr.aria-label]=\"linkTooltip\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n icon=\"external-link\"\n [nuiTooltip]=\"linkTooltip\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \">\n </a>\n <button\n *ngIf=\"editable && editMode\"\n class=\"nui-widget-header__action-edit\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"edit\"\n aria-label=\"Edit widget\"\n i18n-aria-label\n nuiTooltip=\"Edit widget\"\n i18n-nuiTooltip\n (click)=\"onEditWidget()\"></button>\n <button\n *ngIf=\"collapsible && !editMode\"\n class=\"nui-widget-header__action-toggle-collapsed\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Collapse header\"\n i18n-aria-label\n nuiTooltip=\"Collapse header\"\n icon=\"double-caret-up\"\n [attr.aria-expanded]=\"true\"\n (click)=\"toggleCollapsed()\"></button>\n <nui-menu\n *ngIf=\"!hideMenu && !editMode\"\n class=\"nui-widget__header__content-actions__menu\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n @if (reloadable) {\n <nui-menu-action (actionDone)=\"onReloadData()\">\n <nui-icon icon=\"reload\" aria-hidden=\"true\"></nui-icon>\n <span i18n>Reload data</span>\n </nui-menu-action>\n }\n </nui-menu>\n <!--TODO: After NUI-3431 should be changed to regular menu instead of popup-->\n <nui-popup\n #popup\n class=\"nui-widget-header__action-remove\"\n [appendToBody]=\"true\"\n *ngIf=\"removable && editMode\">\n <span nuiTooltip=\"Remove widget\" i18n-nuiTooltip>\n <button\n nui-button\n nuiPopupToggle\n type=\"button\"\n icon=\"remove\"\n iconColor=\"red\"\n displayStyle=\"action\"\n aria-label=\"Remove widget\"\n i18n-aria-label\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"\n popup?.isOpen ? 'true' : 'false'\n \"></button>\n </span>\n <div popupAreaContent class=\"nui-menu\">\n <nui-menu-action\n type=\"destructive\"\n (actionDone)=\"removeWidget()\"\n i18n\n >Remove Widget</nui-menu-action\n >\n </div>\n </nui-popup>\n </div>\n </div>\n </div>\n <div *ngIf=\"collapsible\" class=\"collapse-spacer\"></div>\n</div>\n", styles: [".nui-widget__header{display:flex;position:relative}.nui-widget__header .collapse-spacer{margin-bottom:15px}.nui-widget__header__container{z-index:500;width:100%}.nui-widget__header__container--collapsible{width:100%}.nui-widget__header__container--collapsed .nui-widget__header__content{opacity:0;visibility:hidden}.nui-widget__header__container .collapse-container{width:100%;display:flex;justify-content:center;cursor:pointer}.nui-widget__header__container .collapse-container:focus-visible{outline:none;box-shadow:0 0 0 2px #00c4d280}.nui-widget__header__container .collapse-container__line{width:16px;height:1px;background:var(--nui-color-line-active,#0079aa);margin:5px 0;cursor:pointer}.nui-widget__header__container .nui-widget__header__content{align-items:flex-start;display:flex;opacity:1}.nui-widget__header__container .nui-widget__header__content-drag-icon{align-items:center;cursor:move;display:flex;height:30px;justify-content:center;margin:5px;width:30px}.nui-widget__header__container .nui-widget__header__content-title{display:block;max-width:100%;margin:0;min-width:0;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-title a{color:inherit}.nui-widget__header__container .nui-widget__header__content-title-container{flex:1;min-width:0;padding:10px 0 5px 10px}.nui-widget__header__container .nui-widget__header__content-title-with-additional-content{padding-left:0}.nui-widget__header__container .nui-widget__header__content-title-row{align-items:center;display:flex;gap:2px;max-width:100%;min-width:0}.nui-widget__header__container .nui-widget__header__content-title-icon{align-items:center;color:#111;display:inline-flex;flex:0 0 auto;justify-content:center;min-height:24px;min-width:24px;opacity:1}.nui-widget__header__container .nui-widget__header__content-help-hint{max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-actions{display:flex;padding:5px 10px 0 5px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "directive", type: i2.PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled", "opened", "role", "ariaControls", "toggleOnKey"], outputs: ["toggle"] }, { kind: "component", type: i2.PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { kind: "directive", type: i2.TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltipEllipsis", "nuiTooltip"], exportAs: ["nuiTooltip"] }], animations: [
|
|
11200
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: WidgetHeaderComponent, isStandalone: false, selector: "nui-widget-header", inputs: { componentId: "componentId", editMode: "editMode", editable: "editable", removable: "removable", collapsible: "collapsible", reloadable: "reloadable", title: "title", titleIcon: "titleIcon", titleIconSize: "titleIconSize", titleIconTooltip: "titleIconTooltip", subtitle: "subtitle", hideMenu: "hideMenu", url: "url", collapsed: "collapsed" }, host: { properties: { "class.nui-widget-header": "this.hostClass" } }, viewQueries: [{ propertyName: "widgetHeaderCustomElement", first: true, predicate: ["widgetHeaderCustomElement"], descendants: true }], ngImport: i0, template: "<div class=\"nui-widget__header\">\n <div\n class=\"nui-widget__header__container\"\n [class.nui-widget__header__container--collapsible]=\"collapsible\"\n [class.nui-widget__header__container--collapsed]=\"\n collapsible && collapsed\n \"\n [class.nui-widget__header__container--expanded]=\"\n collapsible && !collapsed\n \"\n [@expandedState]=\"state\">\n @if (collapsed && collapsible) {\n <div\n class=\"collapse-container\"\n role=\"button\"\n tabindex=\"0\"\n aria-label=\"Expand header\"\n i18n-aria-label\n [attr.aria-expanded]=\"false\"\n (click)=\"toggleCollapsed()\"\n (keydown.enter)=\"toggleCollapsed()\"\n (keydown.space)=\"$event.preventDefault(); toggleCollapsed()\">\n <span class=\"collapse-container__line\"></span>\n </div>\n }\n <div class=\"nui-widget__header__content\">\n <div\n *ngIf=\"editMode\"\n class=\"nui-widget__header__content-drag-icon nui-dashboard__widget--drag-handle\">\n <nui-icon\n icon=\"drag\"\n iconColor=\"gray\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <div\n #widgetHeaderCustomElement\n class=\"nui-widget__header__content-custom-element\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-widget__header__content-title-container nui-dashboard__widget--drag-handle\"\n [class.nui-widget__header__content-title-with-additional-content]=\"\n withCustomElement || editMode\n \">\n <div class=\"nui-widget__header__content-title-row\">\n <!-- text only header with no url defined -->\n @if (!url || editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [attr.id]=\"titleId\"\n [title]=\"title\">\n {{ title }}\n </h2>\n }\n\n <!-- link version of the header -->\n @if (url && !editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [attr.id]=\"titleId\"\n [title]=\"title\">\n <a\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n [nuiTooltip]=\"linkTooltip\"\n >{{ title }}</a\n >\n </h2>\n } @if (showTitleIcon) {\n <span\n class=\"nui-widget__header__content-title-icon\"\n [attr.aria-label]=\"titleIconTooltip || null\"\n [attr.role]=\"titleIconTooltip ? 'img' : null\"\n [attr.title]=\"titleIconTooltip || null\">\n <nui-icon\n [icon]=\"titleIcon\"\n [iconSize]=\"titleIconSize\"\n aria-hidden=\"true\"></nui-icon>\n </span>\n }\n </div>\n\n @if (subtitle) {\n <div\n class=\"nui-text-hint nui-widget__header__content-help-hint\"\n [title]=\"subtitle\">\n {{ subtitle }}\n </div>\n }\n </div>\n <div class=\"nui-widget__header__content-actions\">\n <a\n *ngIf=\"url && !editMode\"\n nui-button\n displayStyle=\"action\"\n [href]=\"url\"\n [attr.aria-label]=\"linkTooltip\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n icon=\"external-link\"\n [nuiTooltip]=\"linkTooltip\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \">\n </a>\n <button\n *ngIf=\"editable && editMode\"\n class=\"nui-widget-header__action-edit\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"edit\"\n aria-label=\"Edit widget\"\n i18n-aria-label\n nuiTooltip=\"Edit widget\"\n i18n-nuiTooltip\n (click)=\"onEditWidget()\"></button>\n <button\n *ngIf=\"collapsible && !editMode\"\n class=\"nui-widget-header__action-toggle-collapsed\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Collapse header\"\n i18n-aria-label\n nuiTooltip=\"Collapse header\"\n icon=\"double-caret-up\"\n [attr.aria-expanded]=\"true\"\n (click)=\"toggleCollapsed()\"></button>\n <nui-menu\n *ngIf=\"!hideMenu && !editMode\"\n class=\"nui-widget__header__content-actions__menu\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n @if (reloadable) {\n <nui-menu-action (actionDone)=\"onReloadData()\">\n <nui-icon icon=\"reload\" aria-hidden=\"true\"></nui-icon>\n <span i18n>Reload data</span>\n </nui-menu-action>\n }\n </nui-menu>\n <!--TODO: After NUI-3431 should be changed to regular menu instead of popup-->\n <nui-popup\n #popup\n class=\"nui-widget-header__action-remove\"\n [appendToBody]=\"true\"\n *ngIf=\"removable && editMode\">\n <span nuiTooltip=\"Remove widget\" i18n-nuiTooltip>\n <button\n nui-button\n nuiPopupToggle\n type=\"button\"\n icon=\"remove\"\n iconColor=\"red\"\n displayStyle=\"action\"\n aria-label=\"Remove widget\"\n i18n-aria-label\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"\n popup?.isOpen ? 'true' : 'false'\n \"></button>\n </span>\n <div popupAreaContent class=\"nui-menu\">\n <nui-menu-action\n type=\"destructive\"\n (actionDone)=\"removeWidget()\"\n i18n\n >Remove Widget</nui-menu-action\n >\n </div>\n </nui-popup>\n </div>\n </div>\n </div>\n <div *ngIf=\"collapsible\" class=\"collapse-spacer\"></div>\n</div>\n", styles: [".nui-widget__header{display:flex;position:relative}.nui-widget__header .collapse-spacer{margin-bottom:15px}.nui-widget__header__container{z-index:500;width:100%}.nui-widget__header__container--collapsible{width:100%}.nui-widget__header__container--collapsed .nui-widget__header__content{opacity:0;visibility:hidden}.nui-widget__header__container .collapse-container{width:100%;display:flex;justify-content:center;cursor:pointer}.nui-widget__header__container .collapse-container:focus-visible{outline:none;box-shadow:0 0 0 2px #00c4d280}.nui-widget__header__container .collapse-container__line{width:16px;height:1px;background:var(--nui-color-line-active,#0079aa);margin:5px 0;cursor:pointer}.nui-widget__header__container .nui-widget__header__content{align-items:flex-start;display:flex;opacity:1}.nui-widget__header__container .nui-widget__header__content-drag-icon{align-items:center;cursor:move;display:flex;height:30px;justify-content:center;margin:5px;width:30px}.nui-widget__header__container .nui-widget__header__content-title{display:block;max-width:100%;margin:0;min-width:0;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-title a{color:inherit}.nui-widget__header__container .nui-widget__header__content-title-container{flex:1;min-width:0;padding:10px 0 5px 10px}.nui-widget__header__container .nui-widget__header__content-title-with-additional-content{padding-left:0}.nui-widget__header__container .nui-widget__header__content-title-row{align-items:center;display:flex;gap:2px;max-width:100%;min-width:0}.nui-widget__header__container .nui-widget__header__content-title-icon{align-items:center;color:#111;display:inline-flex;flex:0 0 auto;justify-content:center;min-height:24px;min-width:24px;opacity:1}.nui-widget__header__container .nui-widget__header__content-help-hint{max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-actions{display:flex;padding:5px 10px 0 5px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "ariaDescribedby", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "directive", type: i2.PopupToggleDirective, selector: "[nuiPopupToggle]", inputs: ["isDisabled", "disabled", "opened", "role", "ariaControls", "toggleOnKey"], outputs: ["toggle"] }, { kind: "component", type: i2.PopupComponent, selector: "nui-popup", inputs: ["width", "overlayConfig", "contextClass", "directionTop", "directionRight", "manualOpenControl", "appendToBody", "baseElementSelector", "isHostToggleRef", "ariaLabel", "isOpen", "visible"], outputs: ["opened"] }, { kind: "directive", type: i2.TooltipDirective, selector: "[nuiTooltip]", inputs: ["tooltipPlacement", "nuiTooltipDisabled", "nuiTooltipEllipsis", "nuiTooltip"], exportAs: ["nuiTooltip"] }], animations: [
|
|
11080
11201
|
trigger("expandedState", [
|
|
11081
11202
|
state("expanded", style({ height: "*" })),
|
|
11082
11203
|
state("collapsed", style({ height: "11px" })),
|
|
@@ -11096,7 +11217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
|
|
|
11096
11217
|
animate("350ms ease-in-out"),
|
|
11097
11218
|
]),
|
|
11098
11219
|
]),
|
|
11099
|
-
], standalone: false, template: "<div class=\"nui-widget__header\">\n <div\n class=\"nui-widget__header__container\"\n [class.nui-widget__header__container--collapsible]=\"collapsible\"\n [class.nui-widget__header__container--collapsed]=\"\n collapsible && collapsed\n \"\n [class.nui-widget__header__container--expanded]=\"\n collapsible && !collapsed\n \"\n [@expandedState]=\"state\">\n @if (collapsed && collapsible) {\n <div\n class=\"collapse-container\"\n role=\"button\"\n tabindex=\"0\"\n aria-label=\"Expand header\"\n i18n-aria-label\n [attr.aria-expanded]=\"false\"\n (click)=\"toggleCollapsed()\"\n (keydown.enter)=\"toggleCollapsed()\"\n (keydown.space)=\"$event.preventDefault(); toggleCollapsed()\">\n <span class=\"collapse-container__line\"></span>\n </div>\n }\n <div class=\"nui-widget__header__content\">\n <div\n *ngIf=\"editMode\"\n class=\"nui-widget__header__content-drag-icon nui-dashboard__widget--drag-handle\">\n <nui-icon\n icon=\"drag\"\n iconColor=\"gray\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <div\n #widgetHeaderCustomElement\n class=\"nui-widget__header__content-custom-element\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-widget__header__content-title-container nui-dashboard__widget--drag-handle\"\n [class.nui-widget__header__content-title-with-additional-content]=\"\n withCustomElement || editMode\n \">\n <div class=\"nui-widget__header__content-title-row\">\n <!-- text only header with no url defined -->\n @if (!url || editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [title]=\"title\">\n {{ title }}\n </h2>\n }\n\n <!-- link version of the header -->\n @if (url && !editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [title]=\"title\">\n <a\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n [nuiTooltip]=\"linkTooltip\"\n >{{ title }}</a\n >\n </h2>\n } @if (showTitleIcon) {\n <span\n class=\"nui-widget__header__content-title-icon\"\n [attr.aria-label]=\"titleIconTooltip || null\"\n [attr.role]=\"titleIconTooltip ? 'img' : null\"\n [attr.title]=\"titleIconTooltip || null\">\n <nui-icon\n [icon]=\"titleIcon\"\n [iconSize]=\"titleIconSize\"\n aria-hidden=\"true\"></nui-icon>\n </span>\n }\n </div>\n\n @if (subtitle) {\n <div\n class=\"nui-text-hint nui-widget__header__content-help-hint\"\n [title]=\"subtitle\">\n {{ subtitle }}\n </div>\n }\n </div>\n <div class=\"nui-widget__header__content-actions\">\n <a\n *ngIf=\"url && !editMode\"\n nui-button\n displayStyle=\"action\"\n [href]=\"url\"\n [attr.aria-label]=\"linkTooltip\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n icon=\"external-link\"\n [nuiTooltip]=\"linkTooltip\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \">\n </a>\n <button\n *ngIf=\"editable && editMode\"\n class=\"nui-widget-header__action-edit\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"edit\"\n aria-label=\"Edit widget\"\n i18n-aria-label\n nuiTooltip=\"Edit widget\"\n i18n-nuiTooltip\n (click)=\"onEditWidget()\"></button>\n <button\n *ngIf=\"collapsible && !editMode\"\n class=\"nui-widget-header__action-toggle-collapsed\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Collapse header\"\n i18n-aria-label\n nuiTooltip=\"Collapse header\"\n icon=\"double-caret-up\"\n [attr.aria-expanded]=\"true\"\n (click)=\"toggleCollapsed()\"></button>\n <nui-menu\n *ngIf=\"!hideMenu && !editMode\"\n class=\"nui-widget__header__content-actions__menu\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n @if (reloadable) {\n <nui-menu-action (actionDone)=\"onReloadData()\">\n <nui-icon icon=\"reload\" aria-hidden=\"true\"></nui-icon>\n <span i18n>Reload data</span>\n </nui-menu-action>\n }\n </nui-menu>\n <!--TODO: After NUI-3431 should be changed to regular menu instead of popup-->\n <nui-popup\n #popup\n class=\"nui-widget-header__action-remove\"\n [appendToBody]=\"true\"\n *ngIf=\"removable && editMode\">\n <span nuiTooltip=\"Remove widget\" i18n-nuiTooltip>\n <button\n nui-button\n nuiPopupToggle\n type=\"button\"\n icon=\"remove\"\n iconColor=\"red\"\n displayStyle=\"action\"\n aria-label=\"Remove widget\"\n i18n-aria-label\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"\n popup?.isOpen ? 'true' : 'false'\n \"></button>\n </span>\n <div popupAreaContent class=\"nui-menu\">\n <nui-menu-action\n type=\"destructive\"\n (actionDone)=\"removeWidget()\"\n i18n\n >Remove Widget</nui-menu-action\n >\n </div>\n </nui-popup>\n </div>\n </div>\n </div>\n <div *ngIf=\"collapsible\" class=\"collapse-spacer\"></div>\n</div>\n", styles: [".nui-widget__header{display:flex;position:relative}.nui-widget__header .collapse-spacer{margin-bottom:15px}.nui-widget__header__container{z-index:500;width:100%}.nui-widget__header__container--collapsible{width:100%}.nui-widget__header__container--collapsed .nui-widget__header__content{opacity:0;visibility:hidden}.nui-widget__header__container .collapse-container{width:100%;display:flex;justify-content:center;cursor:pointer}.nui-widget__header__container .collapse-container:focus-visible{outline:none;box-shadow:0 0 0 2px #00c4d280}.nui-widget__header__container .collapse-container__line{width:16px;height:1px;background:var(--nui-color-line-active,#0079aa);margin:5px 0;cursor:pointer}.nui-widget__header__container .nui-widget__header__content{align-items:flex-start;display:flex;opacity:1}.nui-widget__header__container .nui-widget__header__content-drag-icon{align-items:center;cursor:move;display:flex;height:30px;justify-content:center;margin:5px;width:30px}.nui-widget__header__container .nui-widget__header__content-title{display:block;max-width:100%;margin:0;min-width:0;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-title a{color:inherit}.nui-widget__header__container .nui-widget__header__content-title-container{flex:1;min-width:0;padding:10px 0 5px 10px}.nui-widget__header__container .nui-widget__header__content-title-with-additional-content{padding-left:0}.nui-widget__header__container .nui-widget__header__content-title-row{align-items:center;display:flex;gap:2px;max-width:100%;min-width:0}.nui-widget__header__container .nui-widget__header__content-title-icon{align-items:center;color:#111;display:inline-flex;flex:0 0 auto;justify-content:center;min-height:24px;min-width:24px;opacity:1}.nui-widget__header__container .nui-widget__header__content-help-hint{max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-actions{display:flex;padding:5px 10px 0 5px}\n"] }]
|
|
11220
|
+
], standalone: false, template: "<div class=\"nui-widget__header\">\n <div\n class=\"nui-widget__header__container\"\n [class.nui-widget__header__container--collapsible]=\"collapsible\"\n [class.nui-widget__header__container--collapsed]=\"\n collapsible && collapsed\n \"\n [class.nui-widget__header__container--expanded]=\"\n collapsible && !collapsed\n \"\n [@expandedState]=\"state\">\n @if (collapsed && collapsible) {\n <div\n class=\"collapse-container\"\n role=\"button\"\n tabindex=\"0\"\n aria-label=\"Expand header\"\n i18n-aria-label\n [attr.aria-expanded]=\"false\"\n (click)=\"toggleCollapsed()\"\n (keydown.enter)=\"toggleCollapsed()\"\n (keydown.space)=\"$event.preventDefault(); toggleCollapsed()\">\n <span class=\"collapse-container__line\"></span>\n </div>\n }\n <div class=\"nui-widget__header__content\">\n <div\n *ngIf=\"editMode\"\n class=\"nui-widget__header__content-drag-icon nui-dashboard__widget--drag-handle\">\n <nui-icon\n icon=\"drag\"\n iconColor=\"gray\"\n aria-hidden=\"true\"></nui-icon>\n </div>\n <div\n #widgetHeaderCustomElement\n class=\"nui-widget__header__content-custom-element\">\n <ng-content></ng-content>\n </div>\n <div\n class=\"nui-widget__header__content-title-container nui-dashboard__widget--drag-handle\"\n [class.nui-widget__header__content-title-with-additional-content]=\"\n withCustomElement || editMode\n \">\n <div class=\"nui-widget__header__content-title-row\">\n <!-- text only header with no url defined -->\n @if (!url || editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [attr.id]=\"titleId\"\n [title]=\"title\">\n {{ title }}\n </h2>\n }\n\n <!-- link version of the header -->\n @if (url && !editMode) {\n <h2\n class=\"nui-text-widget nui-widget__header__content-title\"\n [attr.id]=\"titleId\"\n [title]=\"title\">\n <a\n [href]=\"url\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \"\n [nuiTooltip]=\"linkTooltip\"\n >{{ title }}</a\n >\n </h2>\n } @if (showTitleIcon) {\n <span\n class=\"nui-widget__header__content-title-icon\"\n [attr.aria-label]=\"titleIconTooltip || null\"\n [attr.role]=\"titleIconTooltip ? 'img' : null\"\n [attr.title]=\"titleIconTooltip || null\">\n <nui-icon\n [icon]=\"titleIcon\"\n [iconSize]=\"titleIconSize\"\n aria-hidden=\"true\"></nui-icon>\n </span>\n }\n </div>\n\n @if (subtitle) {\n <div\n class=\"nui-text-hint nui-widget__header__content-help-hint\"\n [title]=\"subtitle\">\n {{ subtitle }}\n </div>\n }\n </div>\n <div class=\"nui-widget__header__content-actions\">\n <a\n *ngIf=\"url && !editMode\"\n nui-button\n displayStyle=\"action\"\n [href]=\"url\"\n [attr.aria-label]=\"linkTooltip\"\n (click)=\"prepareLink($event)\"\n (mouseenter)=\"prepareLink($event)\"\n icon=\"external-link\"\n [nuiTooltip]=\"linkTooltip\"\n (mousedown)=\"\n $event.stopPropagation(); $event.preventDefault()\n \">\n </a>\n <button\n *ngIf=\"editable && editMode\"\n class=\"nui-widget-header__action-edit\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n icon=\"edit\"\n aria-label=\"Edit widget\"\n i18n-aria-label\n nuiTooltip=\"Edit widget\"\n i18n-nuiTooltip\n (click)=\"onEditWidget()\"></button>\n <button\n *ngIf=\"collapsible && !editMode\"\n class=\"nui-widget-header__action-toggle-collapsed\"\n nui-button\n type=\"button\"\n displayStyle=\"action\"\n aria-label=\"Collapse header\"\n i18n-aria-label\n nuiTooltip=\"Collapse header\"\n icon=\"double-caret-up\"\n [attr.aria-expanded]=\"true\"\n (click)=\"toggleCollapsed()\"></button>\n <nui-menu\n *ngIf=\"!hideMenu && !editMode\"\n class=\"nui-widget__header__content-actions__menu\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\">\n @if (reloadable) {\n <nui-menu-action (actionDone)=\"onReloadData()\">\n <nui-icon icon=\"reload\" aria-hidden=\"true\"></nui-icon>\n <span i18n>Reload data</span>\n </nui-menu-action>\n }\n </nui-menu>\n <!--TODO: After NUI-3431 should be changed to regular menu instead of popup-->\n <nui-popup\n #popup\n class=\"nui-widget-header__action-remove\"\n [appendToBody]=\"true\"\n *ngIf=\"removable && editMode\">\n <span nuiTooltip=\"Remove widget\" i18n-nuiTooltip>\n <button\n nui-button\n nuiPopupToggle\n type=\"button\"\n icon=\"remove\"\n iconColor=\"red\"\n displayStyle=\"action\"\n aria-label=\"Remove widget\"\n i18n-aria-label\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"\n popup?.isOpen ? 'true' : 'false'\n \"></button>\n </span>\n <div popupAreaContent class=\"nui-menu\">\n <nui-menu-action\n type=\"destructive\"\n (actionDone)=\"removeWidget()\"\n i18n\n >Remove Widget</nui-menu-action\n >\n </div>\n </nui-popup>\n </div>\n </div>\n </div>\n <div *ngIf=\"collapsible\" class=\"collapse-spacer\"></div>\n</div>\n", styles: [".nui-widget__header{display:flex;position:relative}.nui-widget__header .collapse-spacer{margin-bottom:15px}.nui-widget__header__container{z-index:500;width:100%}.nui-widget__header__container--collapsible{width:100%}.nui-widget__header__container--collapsed .nui-widget__header__content{opacity:0;visibility:hidden}.nui-widget__header__container .collapse-container{width:100%;display:flex;justify-content:center;cursor:pointer}.nui-widget__header__container .collapse-container:focus-visible{outline:none;box-shadow:0 0 0 2px #00c4d280}.nui-widget__header__container .collapse-container__line{width:16px;height:1px;background:var(--nui-color-line-active,#0079aa);margin:5px 0;cursor:pointer}.nui-widget__header__container .nui-widget__header__content{align-items:flex-start;display:flex;opacity:1}.nui-widget__header__container .nui-widget__header__content-drag-icon{align-items:center;cursor:move;display:flex;height:30px;justify-content:center;margin:5px;width:30px}.nui-widget__header__container .nui-widget__header__content-title{display:block;max-width:100%;margin:0;min-width:0;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-title a{color:inherit}.nui-widget__header__container .nui-widget__header__content-title-container{flex:1;min-width:0;padding:10px 0 5px 10px}.nui-widget__header__container .nui-widget__header__content-title-with-additional-content{padding-left:0}.nui-widget__header__container .nui-widget__header__content-title-row{align-items:center;display:flex;gap:2px;max-width:100%;min-width:0}.nui-widget__header__container .nui-widget__header__content-title-icon{align-items:center;color:#111;display:inline-flex;flex:0 0 auto;justify-content:center;min-height:24px;min-width:24px;opacity:1}.nui-widget__header__container .nui-widget__header__content-help-hint{max-width:100%;white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget__header__container .nui-widget__header__content-actions{display:flex;padding:5px 10px 0 5px}\n"] }]
|
|
11100
11221
|
}], ctorParameters: () => [{ type: i2.EventBus, decorators: [{
|
|
11101
11222
|
type: Inject,
|
|
11102
11223
|
args: [PIZZAGNA_EVENT_BUS]
|
|
@@ -13932,7 +14053,7 @@ class WidgetEditorAccordionComponent {
|
|
|
13932
14053
|
this.destroySubject.complete();
|
|
13933
14054
|
}
|
|
13934
14055
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: WidgetEditorAccordionComponent, deps: [{ token: WidgetConfiguratorSectionCoordinatorService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13935
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: WidgetEditorAccordionComponent, isStandalone: false, selector: "nui-widget-editor-accordion", inputs: { showOpenStateIcon: "showOpenStateIcon", state: "state" }, outputs: { openToggle: "openToggle" }, ngImport: i0, template: "<div class=\"nui-widget-editor-accordion\">\n <nui-expander [open]=\"open\" (openChange)=\"openChange($event)\">\n <div\n nuiExpanderHeader\n class=\"d-flex align-items-start\"\n [class.error-state]=\"state === 'critical'\"\n [class.warning-state]=\"state === 'warning'\">\n <ng-content\n select=\"[accordionHeader], nui-widget-editor-accordion-header\"></ng-content>\n <nui-icon\n *ngIf=\"showOpenStateIcon\"\n class=\"nui-widget-editor-accordion__edit-icon\"\n [icon]=\"open ? 'triangle-down' : 'triangle-left'\"></nui-icon>\n </div>\n <ng-content></ng-content>\n </nui-expander>\n</div>\n", styles: [".nui-widget-editor-accordion nui-form-field:last-child .nui-form-field{margin-bottom:0}.nui-widget-editor-accordion__edit-icon{padding:10px;margin-left:auto;margin-right:5px}.nui-widget-editor-accordion .nui-expander--expanded{padding-bottom:0}.nui-widget-editor-accordion .nui-expander__header-icon{display:none}.nui-widget-editor-accordion .nui-expander__header .error-state{background-color:var(--nui-color-semantic-critical-bg,#fceae6)}.nui-widget-editor-accordion .nui-expander__header .warning-state{background-color:var(--nui-color-semantic-warning-bg,#fff9e6)}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader]{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);min-height:50px}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]{overflow:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div{overflow-x:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div .nui-text-secondary,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div .nui-text-secondary{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget-editor-accordion .nui-expander__body{margin:0;padding:0;border-left:none}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.ExpanderComponent, selector: "nui-expander", inputs: ["disabled", "icon", "header", "hideLeftBorder", "ariaLabel", "open"], outputs: ["openChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
14056
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: WidgetEditorAccordionComponent, isStandalone: false, selector: "nui-widget-editor-accordion", inputs: { showOpenStateIcon: "showOpenStateIcon", state: "state" }, outputs: { openToggle: "openToggle" }, ngImport: i0, template: "<div class=\"nui-widget-editor-accordion\">\n <nui-expander [open]=\"open\" (openChange)=\"openChange($event)\">\n <div\n nuiExpanderHeader\n class=\"d-flex align-items-start\"\n [class.error-state]=\"state === 'critical'\"\n [class.warning-state]=\"state === 'warning'\">\n <ng-content\n select=\"[accordionHeader], nui-widget-editor-accordion-header\"></ng-content>\n <nui-icon\n *ngIf=\"showOpenStateIcon\"\n class=\"nui-widget-editor-accordion__edit-icon\"\n [icon]=\"open ? 'triangle-down' : 'triangle-left'\"></nui-icon>\n </div>\n <ng-content></ng-content>\n </nui-expander>\n</div>\n", styles: [".nui-widget-editor-accordion nui-form-field:last-child .nui-form-field{margin-bottom:0}.nui-widget-editor-accordion__edit-icon{padding:10px;margin-left:auto;margin-right:5px}.nui-widget-editor-accordion .nui-expander--expanded{padding-bottom:0}.nui-widget-editor-accordion .nui-expander__header-icon{display:none}.nui-widget-editor-accordion .nui-expander__header .error-state{background-color:var(--nui-color-semantic-critical-bg,#fceae6)}.nui-widget-editor-accordion .nui-expander__header .warning-state{background-color:var(--nui-color-semantic-warning-bg,#fff9e6)}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader]{border-top:1px solid;border-top-color:var(--nui-color-line-default,#d9d9d9);min-height:50px}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]{overflow:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div{overflow-x:hidden}.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] nui-widget-editor-accordion-header>div .nui-text-secondary,.nui-widget-editor-accordion .nui-expander__header [nuiexpanderheader] [accordionheader]>div .nui-text-secondary{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis}.nui-widget-editor-accordion .nui-expander__body{margin:0;padding:0;border-left:none}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.ExpanderComponent, selector: "nui-expander", inputs: ["disabled", "icon", "header", "hideLeftBorder", "ariaLabel", "useRegionLandmark", "open"], outputs: ["openChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
13936
14057
|
}
|
|
13937
14058
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: WidgetEditorAccordionComponent, decorators: [{
|
|
13938
14059
|
type: Component,
|
|
@@ -14255,7 +14376,7 @@ class BackgroundColorRulesConfigurationComponent {
|
|
|
14255
14376
|
rules.setControl(currentIndex, temp);
|
|
14256
14377
|
}
|
|
14257
14378
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: KpiColorComparatorsRegistryService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14258
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: BackgroundColorRulesConfigurationComponent, isStandalone: false, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"formLocal | nuiFormHeaderIconPipe : 'color' | async\"\n [subtitle]=\"getColorRulesSubtitle()\"\n headerTitle=\"Background color rules\" />\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <!-- TODO: NUI-6281 - Fix no keyboard alternative for drag-to-reorder -->\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n @for (rule of formLocal.get(\"rules\")?.value.controls; track\n rule; let i = $index) {\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\">\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\">\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\">\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\">\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\">\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\">\n <nui-textbox formControlName=\"value\"></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\">\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n aria-label=\"Remove rule\"\n i18n-aria-label\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"></nui-drop-area>\n </div>\n }\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n>\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-color-rules-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols", "isSelect", "ariaLabel", "id"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "component", type: DropAreaComponent, selector: "nui-drop-area" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14379
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.21", type: BackgroundColorRulesConfigurationComponent, isStandalone: false, selector: "nui-background-color-rules-configuration", inputs: { rules: "rules", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"formLocal\"\n [state]=\"formLocal | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"formLocal | nuiFormHeaderIconPipe : 'color' | async\"\n [subtitle]=\"getColorRulesSubtitle()\"\n headerTitle=\"Background color rules\" />\n <div class=\"kpi-color-rules-configuration__accordion-content\">\n <div class=\"mb-4\">\n <p class=\"mb-3\">\n We can automatically change the background color when the value\n meets certain conditions.\n </p>\n <!-- TODO: NUI-6281 - Fix no keyboard alternative for drag-to-reorder -->\n <div cdkDropList (cdkDropListDropped)=\"drop($event)\">\n @for (rule of formLocal.get(\"rules\")?.value.controls; track\n rule; let i = $index) {\n <div\n class=\"kpi-color-rule d-flex pt-3\"\n [formGroup]=\"rule\"\n cdkDrag\n (cdkDragStarted)=\"cdkDragStarted($event)\">\n <div\n class=\"kpi-color-rule__control justify-content-center d-flex\">\n <nui-icon\n icon=\"drag\"\n class=\"kpi-color-rule__drag align-items-center\"\n cdkDragHandle></nui-icon>\n </div>\n <div class=\"d-flex flex-grow-1 flex-wrap\">\n <nui-form-field\n class=\"mr-3 mb-3 flex-grow-1\"\n [control]=\"rule.get('comparisonType')\">\n <nui-select-v2\n placeholder=\"Select Item\"\n i18n-placeholder\n style=\"min-width: 220px\"\n [formControl]=\"rule.get('comparisonType')\">\n <nui-select-v2-option\n *ngFor=\"\n let item of availableComparators\n | keyvalue\n \"\n [value]=\"item.key\">\n {{ getLabel(item.key) }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('value')\"\n style=\"max-width: 100px\">\n <nui-textbox formControlName=\"value\"></nui-textbox>\n </nui-form-field>\n\n <nui-form-field\n class=\"mr-3 mb-3\"\n [control]=\"rule.get('color')\">\n <nui-color-picker\n formControlName=\"color\"\n [colorPalette]=\"palette\"></nui-color-picker>\n </nui-form-field>\n </div>\n <button\n nui-button\n icon=\"delete\"\n displayStyle=\"action\"\n type=\"button\"\n aria-label=\"Remove rule\"\n i18n-aria-label\n class=\"kpi-color-rule__control\"\n (click)=\"removeRule(i)\"></button>\n <nui-drop-area\n *cdkDragPlaceholder\n [style.height.px]=\"height\"></nui-drop-area>\n </div>\n }\n </div>\n <button\n nui-button\n icon=\"add\"\n displayStyle=\"action\"\n type=\"button\"\n (click)=\"addRule()\"\n i18n>\n Add new rule\n </button>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-color-rules-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-color-rules-configuration__color-select{display:flex;align-items:center}.kpi-color-rules-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-color-rules-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-color-rules-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}.kpi-color-rule{background-color:var(--nui-color-bg-content,#fff)}.kpi-color-rule__drag{cursor:move}.kpi-color-rule__control{min-width:30px;height:30px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5$1.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i5$1.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i5$1.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "directive", type: i5$1.CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: ["data"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ButtonComponent, selector: "[nui-button]", inputs: ["displayStyle", "icon", "iconColor", "iconRight", "isBusy", "isEmpty", "ariaLabel", "isRepeat", "size"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols", "isSelect", "ariaLabel", "ariaDescribedby", "id"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "component", type: DropAreaComponent, selector: "nui-drop-area" }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14259
14380
|
}
|
|
14260
14381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: BackgroundColorRulesConfigurationComponent, decorators: [{
|
|
14261
14382
|
type: Component,
|
|
@@ -14781,7 +14902,7 @@ class EmbeddedContentConfigurationComponent {
|
|
|
14781
14902
|
});
|
|
14782
14903
|
}
|
|
14783
14904
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: EmbeddedContentConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14784
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: EmbeddedContentConfigurationComponent, isStandalone: false, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'tag' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption>\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required>\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\">\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel", "ariaLabelledby"], outputs: ["valueChange"] }, { kind: "component", type: i2.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "id", "name", "value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14905
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: EmbeddedContentConfigurationComponent, isStandalone: false, selector: "nui-embedded-content-configuration", inputs: { mode: "mode", messageComponent: "messageComponent", customEmbeddedContent: "customEmbeddedContent" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center pl-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'tag' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt1\">\n <span class=\"nui-text-label\" i18n>Embedded Content</span>\n <div class=\"nui-text-secondary\">\n Show the specific HTML I supply\n </div>\n </div>\n </div>\n <div class=\"embedded-configurator-section__accordion-content\">\n <ng-container\n nuiComponentPortal\n #componentPortal=\"nuiComponentPortal\"\n [componentType]=\"messageComponent.componentType\"\n [properties]=\"messageComponent.properties\">\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"></ng-template>\n </ng-container>\n <nui-form-field\n [control]=\"form.get('mode')\"\n caption=\"What do you want to show in the widget?\"\n i18n-caption>\n <nui-radio-group\n formControlName=\"mode\"\n [(value)]=\"mode\"\n name=\"mode\"\n required>\n <nui-radio [value]=\"modes[0].value\">\n {{ modes[0].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('urlCustomContent')\">\n <nui-textbox formControlName=\"urlCustomContent\">\n </nui-textbox>\n </nui-form-field>\n <nui-radio [value]=\"modes[1].value\">\n {{ modes[1].displayValue }}\n </nui-radio>\n <nui-form-field [control]=\"form.get('htmlCustomContent')\">\n <nui-textbox\n class=\"textarea-scrollable\"\n formControlName=\"htmlCustomContent\"\n rows=\"7\">\n </nui-textbox>\n </nui-form-field>\n </nui-radio-group>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".embedded-configurator-section__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i5.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "directive", type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel", "ariaLabelledby"], outputs: ["valueChange"] }, { kind: "component", type: i2.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "ariaDescribedby", "id", "name", "value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14785
14906
|
}
|
|
14786
14907
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: EmbeddedContentConfigurationComponent, decorators: [{
|
|
14787
14908
|
type: Component,
|
|
@@ -14907,7 +15028,7 @@ class KpiDescriptionConfigurationComponent {
|
|
|
14907
15028
|
}
|
|
14908
15029
|
}
|
|
14909
15030
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: KpiDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14910
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: KpiDescriptionConfigurationComponent, isStandalone: false, selector: "nui-kpi-description-configuration", inputs: { componentId: "componentId", configurableUnits: "configurableUnits", label: "label", backgroundColor: "backgroundColor", units: "units", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"kpi-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Background Color\"\n i18n-caption\n [control]=\"form.get('backgroundColor')\"\n class=\"form-group\">\n <nui-color-picker\n class=\"kpi-description-configuration__accordion-content__color-picker\"\n formControlName=\"backgroundColor\"\n [colorPalette]=\"backgroundColors\">\n </nui-color-picker>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"configurableUnits\">\n <nui-form-field\n caption=\"Units\"\n i18n-caption\n [control]=\"form.get('units')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"units\"\n placeholder=\"Units\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-description-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-description-configuration__color-select{display:flex;align-items:center}.kpi-description-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-description-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols", "isSelect", "ariaLabel", "id"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15031
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: KpiDescriptionConfigurationComponent, isStandalone: false, selector: "nui-kpi-description-configuration", inputs: { componentId: "componentId", configurableUnits: "configurableUnits", label: "label", backgroundColor: "backgroundColor", units: "units", backgroundColors: "backgroundColors" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"kpi-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Background Color\"\n i18n-caption\n [control]=\"form.get('backgroundColor')\"\n class=\"form-group\">\n <nui-color-picker\n class=\"kpi-description-configuration__accordion-content__color-picker\"\n formControlName=\"backgroundColor\"\n [colorPalette]=\"backgroundColors\">\n </nui-color-picker>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"configurableUnits\">\n <nui-form-field\n caption=\"Units\"\n i18n-caption\n [control]=\"form.get('units')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"units\"\n placeholder=\"Units\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-description-configuration__accordion-content{padding:15px 15px 15px 46px}.kpi-description-configuration__color-select{display:flex;align-items:center}.kpi-description-configuration__color-preview{width:100%;height:20px;border-radius:3px}.kpi-description-configuration__color-preview.with-arrow{width:calc(100% - 40px);margin-left:10px}.kpi-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ColorPickerComponent, selector: "nui-color-picker", inputs: ["colors", "colorPalette", "cols", "isSelect", "ariaLabel", "ariaDescribedby", "id"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14911
15032
|
}
|
|
14912
15033
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: KpiDescriptionConfigurationComponent, decorators: [{
|
|
14913
15034
|
type: Component,
|
|
@@ -15178,7 +15299,7 @@ class RefreshRateConfiguratorComponent {
|
|
|
15178
15299
|
useExisting: forwardRef((() => RefreshRateConfiguratorComponent)),
|
|
15179
15300
|
multi: true,
|
|
15180
15301
|
},
|
|
15181
|
-
], ngImport: i0, template: "<form [formGroup]=\"form\" class=\"d-flex flex-column\">\n <div class=\"d-flex flex-row\">\n <nui-textbox-number\n formControlName=\"number\"\n customBoxWidth=\"90px\"\n [minValue]=\"minSeconds\"\n [maxValue]=\"maxSeconds\"\n (valueChange)=\"valueChangeFix()\"></nui-textbox-number>\n\n <nui-select-v2 formControlName=\"unit\" class=\"ml-3\">\n <nui-select-v2-option\n *ngFor=\"let item of displayedUnitItems\"\n [value]=\"item\">\n {{ item.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </div>\n <nui-form-field [control]=\"form.get('number')\">\n <nui-validation-message for=\"invalidNumber\">\n {{ getNumberValidationMessage() }}\n </nui-validation-message>\n </nui-form-field>\n</form>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15302
|
+
], ngImport: i0, template: "<form [formGroup]=\"form\" class=\"d-flex flex-column\">\n <div class=\"d-flex flex-row\">\n <nui-textbox-number\n formControlName=\"number\"\n customBoxWidth=\"90px\"\n [minValue]=\"minSeconds\"\n [maxValue]=\"maxSeconds\"\n (valueChange)=\"valueChangeFix()\"></nui-textbox-number>\n\n <nui-select-v2 formControlName=\"unit\" class=\"ml-3\">\n <nui-select-v2-option\n *ngFor=\"let item of displayedUnitItems\"\n [value]=\"item\">\n {{ item.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n </div>\n <nui-form-field [control]=\"form.get('number')\">\n <nui-validation-message for=\"invalidNumber\">\n {{ getNumberValidationMessage() }}\n </nui-validation-message>\n </nui-form-field>\n</form>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "ariaDescribedby", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15182
15303
|
}
|
|
15183
15304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: RefreshRateConfiguratorComponent, decorators: [{
|
|
15184
15305
|
type: Component,
|
|
@@ -15328,11 +15449,11 @@ class RefresherConfigurationComponent {
|
|
|
15328
15449
|
return result;
|
|
15329
15450
|
}
|
|
15330
15451
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: RefresherConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }, { token: RefresherSettingsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15331
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: RefresherConfigurationComponent, isStandalone: false, selector: "nui-refresher-configuration", inputs: { enabled: "enabled", interval: "interval", minSeconds: "minSeconds", maxSeconds: "maxSeconds", overrideDefaultSettingsCaption: "overrideDefaultSettingsCaption", overrideDefaultSettings: "overrideDefaultSettings" }, outputs: { formReady: "formReady" }, viewQueries: [{ propertyName: "refreshRateComp", first: true, predicate: RefreshRateConfiguratorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n iconColor=\"gray\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'reset' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Refresh</span>\n <div class=\"nui-text-secondary\" [title]=\"getHeaderSubtitle()\">\n {{ getHeaderSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"d-flex flex-column nui-refresher-configuration__accordion-content\">\n <div>\n <nui-form-field [control]=\"form.get('enabled')\">\n <nui-switch formControlName=\"enabled\" i18n
|
|
15452
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: RefresherConfigurationComponent, isStandalone: false, selector: "nui-refresher-configuration", inputs: { enabled: "enabled", interval: "interval", minSeconds: "minSeconds", maxSeconds: "maxSeconds", overrideDefaultSettingsCaption: "overrideDefaultSettingsCaption", overrideDefaultSettings: "overrideDefaultSettings" }, outputs: { formReady: "formReady" }, viewQueries: [{ propertyName: "refreshRateComp", first: true, predicate: RefreshRateConfiguratorComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n iconColor=\"gray\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'reset' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Refresh</span>\n <div class=\"nui-text-secondary\" [title]=\"getHeaderSubtitle()\">\n {{ getHeaderSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"d-flex flex-column nui-refresher-configuration__accordion-content\">\n <div>\n <nui-form-field [control]=\"form.get('enabled')\">\n <nui-switch formControlName=\"enabled\" i18n>\n Refresh widget periodically\n </nui-switch>\n </nui-form-field>\n </div>\n <div [class.hidden]=\"!form.get('enabled')?.value\">\n <div class=\"mt-4\">\n <nui-form-field [control]=\"form.get('overrideDefaultSettings')\">\n <nui-switch formControlName=\"overrideDefaultSettings\">\n {{ overrideDefaultSettingsCaption }}\n <div\n class=\"nui-help-hint\"\n *ngIf=\"!form.get('overrideDefaultSettings')?.value\"\n i18n>\n By default, the widget will refresh every {{\n getDurationLabel(\n refresherSettings.refreshRateSeconds )}}.\n </div>\n </nui-switch>\n </nui-form-field>\n </div>\n <div\n [class.hidden]=\"!form.get('overrideDefaultSettings')?.value\"\n class=\"mt-4\">\n <nui-form-field [control]=\"form.get('interval')\">\n <nui-refresh-rate-configurator\n [minSeconds]=\"minSeconds\"\n [maxSeconds]=\"maxSeconds\"\n formControlName=\"interval\"></nui-refresh-rate-configurator>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".nui-refresher-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel", "ariaDescribedby", "id"], outputs: ["valueChange"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: RefreshRateConfiguratorComponent, selector: "nui-refresh-rate-configurator", inputs: ["minSeconds", "maxSeconds"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }] }); }
|
|
15332
15453
|
}
|
|
15333
15454
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: RefresherConfigurationComponent, decorators: [{
|
|
15334
15455
|
type: Component,
|
|
15335
|
-
args: [{ selector: "nui-refresher-configuration", standalone: false, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n iconColor=\"gray\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'reset' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Refresh</span>\n <div class=\"nui-text-secondary\" [title]=\"getHeaderSubtitle()\">\n {{ getHeaderSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"d-flex flex-column nui-refresher-configuration__accordion-content\">\n <div>\n <nui-form-field [control]=\"form.get('enabled')\">\n <nui-switch formControlName=\"enabled\" i18n
|
|
15456
|
+
args: [{ selector: "nui-refresher-configuration", standalone: false, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n iconColor=\"gray\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'reset' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Refresh</span>\n <div class=\"nui-text-secondary\" [title]=\"getHeaderSubtitle()\">\n {{ getHeaderSubtitle() }}\n </div>\n </div>\n </div>\n <div\n class=\"d-flex flex-column nui-refresher-configuration__accordion-content\">\n <div>\n <nui-form-field [control]=\"form.get('enabled')\">\n <nui-switch formControlName=\"enabled\" i18n>\n Refresh widget periodically\n </nui-switch>\n </nui-form-field>\n </div>\n <div [class.hidden]=\"!form.get('enabled')?.value\">\n <div class=\"mt-4\">\n <nui-form-field [control]=\"form.get('overrideDefaultSettings')\">\n <nui-switch formControlName=\"overrideDefaultSettings\">\n {{ overrideDefaultSettingsCaption }}\n <div\n class=\"nui-help-hint\"\n *ngIf=\"!form.get('overrideDefaultSettings')?.value\"\n i18n>\n By default, the widget will refresh every {{\n getDurationLabel(\n refresherSettings.refreshRateSeconds )}}.\n </div>\n </nui-switch>\n </nui-form-field>\n </div>\n <div\n [class.hidden]=\"!form.get('overrideDefaultSettings')?.value\"\n class=\"mt-4\">\n <nui-form-field [control]=\"form.get('interval')\">\n <nui-refresh-rate-configurator\n [minSeconds]=\"minSeconds\"\n [maxSeconds]=\"maxSeconds\"\n formControlName=\"interval\"></nui-refresh-rate-configurator>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".nui-refresher-configuration__accordion-content{padding:15px 15px 15px 46px}\n"] }]
|
|
15336
15457
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$2.FormBuilder }, { type: i2.LoggerService }, { type: RefresherSettingsService }, { type: i0.ChangeDetectorRef }], propDecorators: { enabled: [{
|
|
15337
15458
|
type: Input
|
|
15338
15459
|
}], interval: [{
|
|
@@ -15426,7 +15547,7 @@ class RiskScoreTileDescriptionConfigurationComponent {
|
|
|
15426
15547
|
}
|
|
15427
15548
|
}
|
|
15428
15549
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: RiskScoreTileDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15429
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: RiskScoreTileDescriptionConfigurationComponent, isStandalone: false, selector: "nui-risk-score-tile-description-configuration", inputs: { componentId: "componentId", label: "label", minValue: "minValue", maxValue: "maxValue", description: "description", useStaticLabel: "useStaticLabel", staticLabel: "staticLabel" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"risk-score-tile-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Min Value\"\n i18n-caption\n [control]=\"form.get('minValue')\"\n class=\"form-group\">\n <nui-textbox-number\n formControlName=\"minValue\"\n placeholder=\"Min Value\"\n i18n-placeholder></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Max Value\"\n i18n-caption\n [control]=\"form.get('maxValue')\"\n class=\"form-group\">\n <nui-textbox-number\n formControlName=\"maxValue\"\n placeholder=\"Max Value\"\n i18n-placeholder></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n [control]=\"form.get('useStaticLabel')\"\n class=\"form-group\">\n <nui-switch formControlName=\"useStaticLabel\" i18n\n >Use Float Label</nui-switch\n >\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\" [class.hidden]=\"!form.get('useStaticLabel')?.value\">\n <nui-form-field\n caption=\"Float Label\"\n i18n-caption\n [control]=\"form.get('staticLabel')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"staticLabel\"\n placeholder=\"Set float label\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Description\"\n i18n-caption\n [control]=\"form.get('description')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"Set description\"\n i18n-placeholder></nui-textbox>\n <nui-validation-message for=\"maxlength\" i18n>\n Description cannot be longer than\n {{ MAX_DESCRIPTION_LENGTH }} characters.\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".risk-score-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}.risk-score-tile-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel", "id"], outputs: ["valueChange"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15550
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: RiskScoreTileDescriptionConfigurationComponent, isStandalone: false, selector: "nui-risk-score-tile-description-configuration", inputs: { componentId: "componentId", label: "label", minValue: "minValue", maxValue: "maxValue", description: "description", useStaticLabel: "useStaticLabel", staticLabel: "staticLabel" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <div accordionHeader class=\"d-flex align-items-center px-4 py-2\">\n <nui-icon\n class=\"align-self-start pt-2\"\n [icon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"></nui-icon>\n <div class=\"d-flex flex-column ml-4 pt-1\">\n <span class=\"nui-text-label\" i18n>Description</span>\n <div class=\"nui-text-secondary\" [title]=\"subtitle$ | async\">\n {{ subtitle$ | async }}\n </div>\n </div>\n </div>\n <div class=\"risk-score-tile-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Min Value\"\n i18n-caption\n [control]=\"form.get('minValue')\"\n class=\"form-group\">\n <nui-textbox-number\n formControlName=\"minValue\"\n placeholder=\"Min Value\"\n i18n-placeholder></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Max Value\"\n i18n-caption\n [control]=\"form.get('maxValue')\"\n class=\"form-group\">\n <nui-textbox-number\n formControlName=\"maxValue\"\n placeholder=\"Max Value\"\n i18n-placeholder></nui-textbox-number>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n [control]=\"form.get('useStaticLabel')\"\n class=\"form-group\">\n <nui-switch formControlName=\"useStaticLabel\" i18n\n >Use Float Label</nui-switch\n >\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\" [class.hidden]=\"!form.get('useStaticLabel')?.value\">\n <nui-form-field\n caption=\"Float Label\"\n i18n-caption\n [control]=\"form.get('staticLabel')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"staticLabel\"\n placeholder=\"Set float label\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Description\"\n i18n-caption\n [control]=\"form.get('description')\"\n class=\"form-group\">\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"Set description\"\n i18n-placeholder></nui-textbox>\n <nui-validation-message for=\"maxlength\" i18n>\n Description cannot be longer than\n {{ MAX_DESCRIPTION_LENGTH }} characters.\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".risk-score-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}.risk-score-tile-description-configuration__selector-arrow{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-left:1px solid;border-left-color:var(--nui-color-line-default,#d9d9d9);margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.IconComponent, selector: "nui-icon", inputs: ["iconColor", "brushType", "iconHoverColor", "iconSize", "cssClass", "fillContainer", "status", "childStatus", "icon", "counter", "decorative", "ariaLabel", "explicitRole"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "ariaDescribedby", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel", "ariaDescribedby", "id"], outputs: ["valueChange"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15430
15551
|
}
|
|
15431
15552
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: RiskScoreTileDescriptionConfigurationComponent, decorators: [{
|
|
15432
15553
|
type: Component,
|
|
@@ -15610,7 +15731,7 @@ class ThresholdsConfigurationComponent {
|
|
|
15610
15731
|
}
|
|
15611
15732
|
}
|
|
15612
15733
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ThresholdsConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15613
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: ThresholdsConfigurationComponent, isStandalone: false, selector: "nui-thresholds-configuration", inputs: { criticalThresholdValue: "criticalThresholdValue", warningThresholdValue: "warningThresholdValue", showThresholds: "showThresholds", reversedThresholds: "reversedThresholds" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'thresholds' | async\"\n [subtitle]=\"getThresholdsSubtitle(form.get('showThresholds')?.value)\"\n headerTitle=\"Thresholds\" />\n <div class=\"kpi-thresholds-configuration__accordion-content\">\n <nui-form-field\n [control]=\"form.get('showThresholds')\"\n caption=\"How do you want to set warning/critical thresholds?\"\n i18n-caption>\n <nui-radio-group\n formControlName=\"showThresholds\"\n [value]=\"radioButtonGroupValue\"\n name=\"showThresholds\"\n required>\n <nui-radio\n *ngFor=\"let thresholdOption of thresholdOptions\"\n [value]=\"thresholdOption.value\">\n {{ thresholdOption.displayValue }}\n </nui-radio>\n </nui-radio-group>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"form.get('showThresholds')?.value\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Warning value\"\n i18n-caption\n [control]=\"form.get('warningThresholdValue')\">\n <nui-textbox-number\n formControlName=\"warningThresholdValue\"\n placeholder=\"Never show the warning state\"\n i18n-placeholder></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Warning threshold should be greater than critical\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Warning threshold should be lower than critical\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Critical value\"\n i18n-caption\n [control]=\"form.get('criticalThresholdValue')\">\n <nui-textbox-number\n formControlName=\"criticalThresholdValue\"\n placeholder=\"Set critical value\"\n i18n-placeholder></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Critical threshold should be greater than warning\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Critical threshold should be lower than warning\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n [control]=\"form.get('reversedThresholds')\"\n [showOptionalText]=\"false\">\n <nui-checkbox formControlName=\"reversedThresholds\" required>\n <span class=\"nui-text-label\" i18n\n >Warning and critical when below threshold\n values</span\n >\n </nui-checkbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-thresholds-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel", "ariaLabelledby"], outputs: ["valueChange"] }, { kind: "component", type: i2.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "id", "name", "value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15734
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: ThresholdsConfigurationComponent, isStandalone: false, selector: "nui-thresholds-configuration", inputs: { criticalThresholdValue: "criticalThresholdValue", warningThresholdValue: "warningThresholdValue", showThresholds: "showThresholds", reversedThresholds: "reversedThresholds" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'thresholds' | async\"\n [subtitle]=\"getThresholdsSubtitle(form.get('showThresholds')?.value)\"\n headerTitle=\"Thresholds\" />\n <div class=\"kpi-thresholds-configuration__accordion-content\">\n <nui-form-field\n [control]=\"form.get('showThresholds')\"\n caption=\"How do you want to set warning/critical thresholds?\"\n i18n-caption>\n <nui-radio-group\n formControlName=\"showThresholds\"\n [value]=\"radioButtonGroupValue\"\n name=\"showThresholds\"\n required>\n <nui-radio\n *ngFor=\"let thresholdOption of thresholdOptions\"\n [value]=\"thresholdOption.value\">\n {{ thresholdOption.displayValue }}\n </nui-radio>\n </nui-radio-group>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n\n <div class=\"mt-4\" *ngIf=\"form.get('showThresholds')?.value\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Warning value\"\n i18n-caption\n [control]=\"form.get('warningThresholdValue')\">\n <nui-textbox-number\n formControlName=\"warningThresholdValue\"\n placeholder=\"Never show the warning state\"\n i18n-placeholder></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Warning threshold should be greater than critical\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Warning threshold should be lower than critical\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Critical value\"\n i18n-caption\n [control]=\"form.get('criticalThresholdValue')\">\n <nui-textbox-number\n formControlName=\"criticalThresholdValue\"\n placeholder=\"Set critical value\"\n i18n-placeholder></nui-textbox-number>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n <nui-validation-message for=\"min\" i18n>\n Critical threshold should be greater than warning\n threshold\n </nui-validation-message>\n <nui-validation-message for=\"max\" i18n>\n Critical threshold should be lower than warning\n threshold\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n [control]=\"form.get('reversedThresholds')\"\n [showOptionalText]=\"false\">\n <nui-checkbox formControlName=\"reversedThresholds\" required>\n <span class=\"nui-text-label\" i18n\n >Warning and critical when below threshold\n values</span\n >\n </nui-checkbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".kpi-thresholds-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "ariaDescribedby", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.RadioComponent, selector: "nui-radio", inputs: ["value", "hovered", "checked", "hint", "disabled", "ariaLabel", "ariaLabelledby"], outputs: ["valueChange"] }, { kind: "component", type: i2.RadioGroupComponent, selector: "nui-radio-group", inputs: ["ariaLabel", "ariaDescribedby", "id", "name", "value", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15614
15735
|
}
|
|
15615
15736
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: ThresholdsConfigurationComponent, decorators: [{
|
|
15616
15737
|
type: Component,
|
|
@@ -15733,7 +15854,7 @@ class TimeseriesMetadataConfigurationComponent {
|
|
|
15733
15854
|
this.destroy$.complete();
|
|
15734
15855
|
}
|
|
15735
15856
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TimeseriesMetadataConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: PIZZAGNA_EVENT_BUS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15736
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TimeseriesMetadataConfigurationComponent, isStandalone: false, selector: "nui-timeseries-metadata-configuration", inputs: { legendPlacements: "legendPlacements", timeSpans: "timeSpans", startingTimespan: "startingTimespan", legendPlacement: "legendPlacement", leftAxisLabel: "leftAxisLabel", preset: "preset", availableChartTypes: "availableChartTypes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'edit' | async\"\n [iconColor]=\"form | nuiFormHeaderIconPipe : 'gray' : '' | async\"\n [subtitle]=\"getSecondaryText()\"\n headerTitle=\"Timeseries metadata\" />\n <div class=\"timeseries-metadata-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Starting timespan\"\n i18n-caption\n [control]=\"form.controls['startingTimespan']\">\n <nui-select-v2\n placeholder=\"Starting Timespan\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"startingTimespan\">\n <nui-select-v2-option\n *ngFor=\"let timeSpan of timeSpans\"\n [value]=\"timeSpan\">\n {{ timeSpan.name }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart legend\"\n i18n-caption\n [control]=\"form.controls['legendPlacement']\">\n <nui-select-v2\n placeholder=\"Select Legend Orientation\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"legendPlacement\">\n <nui-select-v2-option\n *ngFor=\"let legendPlacement of legendPlacements\"\n [value]=\"legendPlacement.id\">\n {{ legendPlacement.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart y-axis label\"\n i18n-caption\n [control]=\"form.controls['leftAxisLabel']\">\n <nui-textbox\n formControlName=\"leftAxisLabel\"\n placeholder=\"Set chart y-axis label\"\n i18n-placeholder></nui-textbox>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Chart type\"\n i18n-caption\n [control]=\"form.controls['preset']\">\n <nui-select-v2\n placeholder=\"Chart type\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"preset\">\n <nui-select-v2-option\n *ngFor=\"let option of availableChartTypes\"\n [value]=\"option.value\"\n >{{ option.label }}</nui-select-v2-option\n >\n </nui-select-v2>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".timeseries-metadata-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }] }); }
|
|
15857
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TimeseriesMetadataConfigurationComponent, isStandalone: false, selector: "nui-timeseries-metadata-configuration", inputs: { legendPlacements: "legendPlacements", timeSpans: "timeSpans", startingTimespan: "startingTimespan", legendPlacement: "legendPlacement", leftAxisLabel: "leftAxisLabel", preset: "preset", availableChartTypes: "availableChartTypes" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'edit' | async\"\n [iconColor]=\"form | nuiFormHeaderIconPipe : 'gray' : '' | async\"\n [subtitle]=\"getSecondaryText()\"\n headerTitle=\"Timeseries metadata\" />\n <div class=\"timeseries-metadata-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Starting timespan\"\n i18n-caption\n [control]=\"form.controls['startingTimespan']\">\n <nui-select-v2\n placeholder=\"Starting Timespan\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"startingTimespan\">\n <nui-select-v2-option\n *ngFor=\"let timeSpan of timeSpans\"\n [value]=\"timeSpan\">\n {{ timeSpan.name }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart legend\"\n i18n-caption\n [control]=\"form.controls['legendPlacement']\">\n <nui-select-v2\n placeholder=\"Select Legend Orientation\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"legendPlacement\">\n <nui-select-v2-option\n *ngFor=\"let legendPlacement of legendPlacements\"\n [value]=\"legendPlacement.id\">\n {{ legendPlacement.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Chart y-axis label\"\n i18n-caption\n [control]=\"form.controls['leftAxisLabel']\">\n <nui-textbox\n formControlName=\"leftAxisLabel\"\n placeholder=\"Set chart y-axis label\"\n i18n-placeholder></nui-textbox>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field\n caption=\"Chart type\"\n i18n-caption\n [control]=\"form.controls['preset']\">\n <nui-select-v2\n placeholder=\"Chart type\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"preset\">\n <nui-select-v2-option\n *ngFor=\"let option of availableChartTypes\"\n [value]=\"option.value\"\n >{{ option.label }}</nui-select-v2-option\n >\n </nui-select-v2>\n\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".timeseries-metadata-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }] }); }
|
|
15737
15858
|
}
|
|
15738
15859
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TimeseriesMetadataConfigurationComponent, decorators: [{
|
|
15739
15860
|
type: Component,
|
|
@@ -15820,7 +15941,7 @@ class TitleAndDescriptionConfigurationComponent {
|
|
|
15820
15941
|
return `${forTitle}, ${forSubtitle}`;
|
|
15821
15942
|
}
|
|
15822
15943
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TitleAndDescriptionConfigurationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15823
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TitleAndDescriptionConfigurationComponent, isStandalone: false, selector: "nui-title-and-description-configuration", inputs: { title: "title", url: "url", subtitle: "subtitle", description: "description", collapsible: "collapsible" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"getSecondaryText()\"\n headerTitle=\"Title and Description\" />\n <div class=\"title-and-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget title\"\n i18n-caption\n [control]=\"form.get('title')\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-title\"\n formControlName=\"title\"\n placeholder=\"Set widget title\"\n i18n-placeholder></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget subtitle\"\n i18n-caption\n [control]=\"form.get('subtitle')\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <nui-textbox\n id=\"kpi-widget-subtitle\"\n formControlName=\"subtitle\"\n placeholder=\"Do not show a subtitle\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget link URL\"\n i18n-caption\n [control]=\"form.get('url')\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-url\"\n formControlName=\"url\"\n placeholder=\"Do not link to another page\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget description\"\n i18n-caption\n [control]=\"form.get('description')\"\n hint=\"This won't be shown on the widget, but can be helpful for\n other users who want to re-use this widget on their own dashboards\"\n i18n-hint>\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"No description\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"Hide widget header\"\n [showOptionalText]=\"false\"\n i18n-caption\n [control]=\"form.get('collapsible')\">\n <nui-checkbox formControlName=\"collapsible\" i18n\n >Collapsible</nui-checkbox\n >\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".title-and-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15944
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TitleAndDescriptionConfigurationComponent, isStandalone: false, selector: "nui-title-and-description-configuration", inputs: { title: "title", url: "url", subtitle: "subtitle", description: "description", collapsible: "collapsible" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"getSecondaryText()\"\n headerTitle=\"Title and Description\" />\n <div class=\"title-and-description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget title\"\n i18n-caption\n [control]=\"form.get('title')\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-title\"\n formControlName=\"title\"\n placeholder=\"Set widget title\"\n i18n-placeholder></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget subtitle\"\n i18n-caption\n [control]=\"form.get('subtitle')\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833 -->\n <nui-textbox\n id=\"kpi-widget-subtitle\"\n formControlName=\"subtitle\"\n placeholder=\"Do not show a subtitle\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget link URL\"\n i18n-caption\n [control]=\"form.get('url')\">\n <!-- TODO: remove \"kpi\" prefix in v11 - NUI-5833-->\n <nui-textbox\n id=\"kpi-widget-url\"\n formControlName=\"url\"\n placeholder=\"Do not link to another page\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Widget description\"\n i18n-caption\n [control]=\"form.get('description')\"\n hint=\"This won't be shown on the widget, but can be helpful for\n other users who want to re-use this widget on their own dashboards\"\n i18n-hint>\n <nui-textbox\n formControlName=\"description\"\n placeholder=\"No description\"\n i18n-placeholder></nui-textbox>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"Hide widget header\"\n [showOptionalText]=\"false\"\n i18n-caption\n [control]=\"form.get('collapsible')\">\n <nui-checkbox formControlName=\"collapsible\" i18n\n >Collapsible</nui-checkbox\n >\n </nui-form-field>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".title-and-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
15824
15945
|
}
|
|
15825
15946
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TitleAndDescriptionConfigurationComponent, decorators: [{
|
|
15826
15947
|
type: Component,
|
|
@@ -16774,7 +16895,7 @@ class DescriptionConfigurationComponent {
|
|
|
16774
16895
|
this.formDestroy.emit(this.form);
|
|
16775
16896
|
}
|
|
16776
16897
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DescriptionConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16777
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DescriptionConfigurationComponent, isStandalone: false, selector: "nui-table-column-description-configuration", inputs: { label: "label", isActive: "isActive", width: "width", isWidthMessageDisplayed: "isWidthMessageDisplayed" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"form.controls['label'].value\"\n headerTitle=\"Description\" />\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\">\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\">\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n>\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n>\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16898
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DescriptionConfigurationComponent, isStandalone: false, selector: "nui-table-column-description-configuration", inputs: { label: "label", isActive: "isActive", width: "width", isWidthMessageDisplayed: "isWidthMessageDisplayed" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"form.controls['label'].value\"\n headerTitle=\"Description\" />\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\">\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayed\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\">\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n>\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <nui-message\n *ngIf=\"isWidthMessageDisplayed\"\n type=\"info\"\n [allowDismiss]=\"false\"\n i18n>\n <b>All columns can not have fixed width.</b>\n </nui-message>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "ariaDescribedby", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16778
16899
|
}
|
|
16779
16900
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DescriptionConfigurationComponent, decorators: [{
|
|
16780
16901
|
type: Component,
|
|
@@ -16938,7 +17059,7 @@ class LinkConfiguratorComponent extends FormatterConfiguratorComponent {
|
|
|
16938
17059
|
this.formReady.emit(this.form);
|
|
16939
17060
|
}
|
|
16940
17061
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: LinkConfiguratorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: ConfiguratorHeadingService }, { token: i1$2.FormBuilder }, { token: i2.LoggerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16941
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: LinkConfiguratorComponent, isStandalone: false, selector: "nui-link-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\">\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\">\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\">\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\">\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\">\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel", "id"], outputs: ["valueChange"] }] }); }
|
|
17062
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: LinkConfiguratorComponent, isStandalone: false, selector: "nui-link-configurator", usesInheritance: true, ngImport: i0, template: "<div [formGroup]=\"form\">\n <div formGroupName=\"dataFieldIds\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption=\"\n label field caption| the entity field to be selected for the\n html label property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['value']\">\n <nui-select-v2 formControlName=\"value\">\n <nui-select-v2-option\n *ngFor=\"let itemValue of dropdownItems.value\"\n [value]=\"itemValue.id\">\n {{ itemValue.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div>\n <nui-form-field\n caption=\"URL\"\n i18n-caption=\"\n url field caption| the entity field to be selected for the\n url html property\n \"\n class=\"mb-3\"\n [control]=\"dataFieldIds.controls['link']\">\n <nui-select-v2 formControlName=\"link\">\n <nui-select-v2-option\n *ngFor=\"let itemLink of dropdownItems.link\"\n [value]=\"itemLink.id\">\n {{ itemLink.label }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n <div>\n <nui-form-field\n caption=\"Open in the same window\"\n i18n-caption=\"\n form field caption|switch configuring whether formatted link\n should open in new window/tab\n \"\n class=\"mb-3\"\n [control]=\"form.controls.targetSelf\">\n <nui-switch id=\"nui-switch-target\" formControlName=\"targetSelf\">\n </nui-switch>\n </nui-form-field>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.SwitchComponent, selector: "nui-switch", inputs: ["value", "disabled", "ariaLabel", "ariaDescribedby", "id"], outputs: ["valueChange"] }] }); }
|
|
16942
17063
|
}
|
|
16943
17064
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: LinkConfiguratorComponent, decorators: [{
|
|
16944
17065
|
type: Component,
|
|
@@ -17586,7 +17707,7 @@ class DescriptionConfigurationV2Component {
|
|
|
17586
17707
|
useExisting: forwardRef((() => DescriptionConfigurationV2Component)),
|
|
17587
17708
|
multi: true,
|
|
17588
17709
|
},
|
|
17589
|
-
], ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"form.controls['label'].value\"\n headerTitle=\"Description\" />\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\">\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayedForThisColumn()\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\">\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n>\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <div\n *ngIf=\"isWidthMessageDisplayedForThisColumn()\"\n class=\"mt-4\">\n <nui-message type=\"info\" [allowDismiss]=\"false\" i18n>\n <b>All columns cannot have fixed width.</b>\n </nui-message>\n </div>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17710
|
+
], ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"form | nuiFormHeaderIconPipe : 'widget_list' | async\"\n [subtitle]=\"form.controls['label'].value\"\n headerTitle=\"Description\" />\n <div class=\"description-configuration__accordion-content\">\n <div class=\"mb-4\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['label']\">\n <nui-textbox formControlName=\"label\"></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n\n <nui-form-field [control]=\"form.controls['isActive']\">\n <nui-checkbox formControlName=\"isActive\" i18n\n >Show this column</nui-checkbox\n >\n </nui-form-field>\n\n <ng-container *ngIf=\"form.get('isActive')?.value\">\n <ng-container *ngIf=\"!isWidthMessageDisplayedForThisColumn()\">\n <div class=\"mt-4\">\n <nui-form-field\n caption=\"Column width (px)\"\n i18n-caption\n class=\"mb-3\"\n [control]=\"form.controls['width']\">\n <!-- TODO: Remove this valueChange stub after NUI-3442 is finished-->\n <nui-textbox-number\n class=\"description-configuration__accordion-content__width-input\"\n (valueChange)=\"stub()\"\n placeholder=\"Auto width\"\n i18n-placeholder\n formControlName=\"width\"></nui-textbox-number>\n <nui-validation-message\n [show]=\"form.controls['width'].invalid\"\n for=\"min\"\n i18n>\n Minimum width of the column is 62px\n </nui-validation-message>\n </nui-form-field>\n </div>\n </ng-container>\n <div\n *ngIf=\"isWidthMessageDisplayedForThisColumn()\"\n class=\"mt-4\">\n <nui-message type=\"info\" [allowDismiss]=\"false\" i18n>\n <b>All columns cannot have fixed width.</b>\n </nui-message>\n </div>\n </ng-container>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.TextboxNumberComponent, selector: "nui-textbox-number", inputs: ["value", "customBoxWidth", "disabled", "name", "placeholder", "readonly", "id", "step", "stepPrecision", "isInErrorState", "ariaLabel", "ariaDescribedby", "minValue", "maxValue"], outputs: ["blurred", "valueChange"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.CheckboxComponent, selector: "nui-checkbox", inputs: ["ariaLabel", "ariaLabelledby", "ariaDescribedby", "id", "name", "title", "value", "hovered", "checked", "required", "hint", "disabled", "indeterminate"], outputs: ["valueChange"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: i2.MessageComponent, selector: "nui-message", inputs: ["type", "allowDismiss", "manualControl"], outputs: ["dismiss"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17590
17711
|
}
|
|
17591
17712
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DescriptionConfigurationV2Component, decorators: [{
|
|
17592
17713
|
type: Component,
|
|
@@ -18568,7 +18689,7 @@ class TableScrollTypeEditorComponent {
|
|
|
18568
18689
|
this.onDestroy$.complete();
|
|
18569
18690
|
}
|
|
18570
18691
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TableScrollTypeEditorComponent, deps: [{ token: i1$2.FormBuilder }, { token: ConfiguratorHeadingService }, { token: i0.ChangeDetectorRef }, { token: ScrollTypeEditorService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18571
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TableScrollTypeEditorComponent, isStandalone: false, selector: "nui-scroll-type-editor-component", inputs: { paginatorConfiguration: "paginatorConfiguration", hasVirtualScroll: "hasVirtualScroll", scrollType: "scrollType" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [subtitle]=\"subtitle\"\n headerIcon=\"application\"\n headerTitle=\"Scroll type\" />\n <div\n class=\"table-filters-configuration__accordion-content\"\n formGroupName=\"paginatorConfiguration\">\n <div class=\"scroll-type-field d-flex align-items-end\">\n <nui-form-field\n [showOptionalText]=\"false\"\n caption=\"Scroll Type\"\n i18n-caption>\n <nui-select-v2\n placeholder=\"Select scroll type\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"scrollType\"\n class=\"table-filters-configuration__accordion-content__sort-by-input\">\n <nui-select-v2-option\n *ngFor=\"\n let column of scrollTypeEditorService.loadStrategies\n \"\n [value]=\"column.id\">\n {{ column.title }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <div *ngIf=\"hasPaginator\">\n <div class=\"page-size-set-menu\">\n <nui-form-field\n class=\"\"\n caption=\"Page size options set\"\n i18n-caption\n [showOptionalText]=\"false\">\n <nui-menu\n title=\"Select size options\"\n [appendToBody]=\"true\"\n i18n-title>\n <nui-menu-group header=\"Item Types\" i18n-header>\n <nui-menu-option\n *ngFor=\"let option of pageSizeSetOptions\"\n (actionDone)=\"onPageSizeSetChange(option)\"\n [checked]=\"option.checked\"\n i18n\n >{{ option.value }}\n </nui-menu-option>\n </nui-menu-group>\n </nui-menu>\n <nui-validation-message\n [show]=\"displayPageSizeSetErrorMessage\"\n i18n>\n Page size set is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div\n *ngIf=\"pageSizeOptions.length > 0\"\n class=\"d-flex align-items-end\">\n <nui-form-field\n caption=\"Default page size\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['pageSize']\">\n <nui-select-v2\n placeholder=\"Select page size\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"pageSize\"\n class=\"table-filters-configuration__accordion-content__sort-by-input\">\n <nui-select-v2-option\n *ngFor=\"let option of pageSizeOptions\"\n [value]=\"option\">\n {{ option }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message\n [show]=\"displayPageSizeErrorMessage\"\n i18n>\n Page size is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".table-filters-configuration__accordion-content{padding:15px 15px 15px 46px}.table-filters-configuration__accordion-content .scroll-type-field,.table-filters-configuration__accordion-content .page-size-set-menu{margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "component", type: i2.MenuOptionComponent, selector: "nui-menu-option", inputs: ["name", "value", "checked"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
18692
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TableScrollTypeEditorComponent, isStandalone: false, selector: "nui-scroll-type-editor-component", inputs: { paginatorConfiguration: "paginatorConfiguration", hasVirtualScroll: "hasVirtualScroll", scrollType: "scrollType" }, outputs: { formReady: "formReady" }, usesOnChanges: true, ngImport: i0, template: "<nui-widget-editor-accordion\n [formGroup]=\"form\"\n [state]=\"form | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [subtitle]=\"subtitle\"\n headerIcon=\"application\"\n headerTitle=\"Scroll type\" />\n <div\n class=\"table-filters-configuration__accordion-content\"\n formGroupName=\"paginatorConfiguration\">\n <div class=\"scroll-type-field d-flex align-items-end\">\n <nui-form-field\n [showOptionalText]=\"false\"\n caption=\"Scroll Type\"\n i18n-caption>\n <nui-select-v2\n placeholder=\"Select scroll type\"\n i18n-placeholder\n [popupViewportMargin]=\"configuratorHeading.height$ | async\"\n formControlName=\"scrollType\"\n class=\"table-filters-configuration__accordion-content__sort-by-input\">\n <nui-select-v2-option\n *ngFor=\"\n let column of scrollTypeEditorService.loadStrategies\n \"\n [value]=\"column.id\">\n {{ column.title }}\n </nui-select-v2-option>\n </nui-select-v2>\n </nui-form-field>\n </div>\n <div *ngIf=\"hasPaginator\">\n <div class=\"page-size-set-menu\">\n <nui-form-field\n class=\"\"\n caption=\"Page size options set\"\n i18n-caption\n [showOptionalText]=\"false\">\n <nui-menu\n title=\"Select size options\"\n [appendToBody]=\"true\"\n i18n-title>\n <nui-menu-group header=\"Item Types\" i18n-header>\n <nui-menu-option\n *ngFor=\"let option of pageSizeSetOptions\"\n (actionDone)=\"onPageSizeSetChange(option)\"\n [checked]=\"option.checked\"\n i18n\n >{{ option.value }}\n </nui-menu-option>\n </nui-menu-group>\n </nui-menu>\n <nui-validation-message\n [show]=\"displayPageSizeSetErrorMessage\"\n i18n>\n Page size set is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n <div\n *ngIf=\"pageSizeOptions.length > 0\"\n class=\"d-flex align-items-end\">\n <nui-form-field\n caption=\"Default page size\"\n i18n-caption\n [showOptionalText]=\"false\"\n [control]=\"form.controls['pageSize']\">\n <nui-select-v2\n placeholder=\"Select page size\"\n i18n-placeholder\n [popupViewportMargin]=\"\n configuratorHeading.height$ | async\n \"\n formControlName=\"pageSize\"\n class=\"table-filters-configuration__accordion-content__sort-by-input\">\n <nui-select-v2-option\n *ngFor=\"let option of pageSizeOptions\"\n [value]=\"option\">\n {{ option }}\n </nui-select-v2-option>\n </nui-select-v2>\n <nui-validation-message\n [show]=\"displayPageSizeErrorMessage\"\n i18n>\n Page size is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </div>\n </div>\n</nui-widget-editor-accordion>\n", styles: [".table-filters-configuration__accordion-content{padding:15px 15px 15px 46px}.table-filters-configuration__accordion-content .scroll-type-field,.table-filters-configuration__accordion-content .page-size-set-menu{margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i2.MenuComponent, selector: "nui-menu", inputs: ["widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "ariaDescribedby", "title", "size", "displayStyle", "isDisabled", "icon", "itemsSource"], outputs: ["blurred"] }, { kind: "component", type: i2.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { kind: "component", type: i2.MenuOptionComponent, selector: "nui-menu-option", inputs: ["name", "value", "checked"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.SelectV2Component, selector: "nui-select-v2", inputs: ["displayValueTemplate"] }, { kind: "component", type: i2.SelectV2OptionComponent, selector: "nui-select-v2-option", inputs: ["value", "index", "displayValueContext", "outfiltered"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
18572
18693
|
}
|
|
18573
18694
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TableScrollTypeEditorComponent, decorators: [{
|
|
18574
18695
|
type: Component,
|
|
@@ -18728,7 +18849,7 @@ class TimeseriesTileDescriptionConfigurationComponent {
|
|
|
18728
18849
|
this.formDestroy.emit(this.form);
|
|
18729
18850
|
}
|
|
18730
18851
|
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TimeseriesTileDescriptionConfigurationComponent, deps: [{ token: i1$2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18731
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TimeseriesTileDescriptionConfigurationComponent, isStandalone: false, selector: "nui-table-column-description-configuration", inputs: { label: "label" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form.get('label') | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"\n form.get('label') | nuiFormHeaderIconPipe : 'edit' | async\n \"\n [iconColor]=\"\n form.get('label') | nuiFormHeaderIconPipe : 'gray' : '' | async\n \"\n [subtitle]=\"form.get('label')?.value\"\n headerTitle=\"Description\" />\n <div\n class=\"timeseries-tile-description-configuration__accordion-content\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\">\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".timeseries-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
18852
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: TimeseriesTileDescriptionConfigurationComponent, isStandalone: false, selector: "nui-table-column-description-configuration", inputs: { label: "label" }, outputs: { formReady: "formReady", formDestroy: "formDestroy" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <nui-widget-editor-accordion\n [state]=\"form.get('label') | nuiWidgetEditorAccordionFormState | async\">\n <nui-widget-editor-accordion-header\n [headerIcon]=\"\n form.get('label') | nuiFormHeaderIconPipe : 'edit' | async\n \"\n [iconColor]=\"\n form.get('label') | nuiFormHeaderIconPipe : 'gray' : '' | async\n \"\n [subtitle]=\"form.get('label')?.value\"\n headerTitle=\"Description\" />\n <div\n class=\"timeseries-tile-description-configuration__accordion-content\">\n <nui-form-field\n caption=\"Label\"\n i18n-caption\n [control]=\"form.get('label')\">\n <nui-textbox\n formControlName=\"label\"\n placeholder=\"Set label\"\n i18n-placeholder></nui-textbox>\n <nui-validation-message for=\"required\" i18n>\n This field is required\n </nui-validation-message>\n </nui-form-field>\n </div>\n </nui-widget-editor-accordion>\n</ng-container>\n", styles: [".timeseries-tile-description-configuration__accordion-content{padding:15px 15px 15px 46px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2.TextboxComponent, selector: "nui-textbox", inputs: ["caption", "autocomplete", "info", "ariaActiveDescendant", "ariaExpanded", "ariaHasPopup", "ariaControls", "customBoxWidth", "disabled", "hint", "name", "placeholder", "readonly", "rows", "type", "id", "value", "isInErrorState", "ariaLabel", "ariaDescribedby", "isBusy"], outputs: ["textChange", "blurred"] }, { kind: "component", type: i2.FormFieldComponent, selector: "nui-form-field", inputs: ["control", "caption", "info", "infoTemplate", "hint", "hintTemplate", "customBoxWidth", "showOptionalText"] }, { kind: "component", type: i2.ValidationMessageComponent, selector: "nui-validation-message", inputs: ["show", "for"] }, { kind: "component", type: WidgetEditorAccordionComponent, selector: "nui-widget-editor-accordion", inputs: ["showOpenStateIcon", "state"], outputs: ["openToggle"] }, { kind: "component", type: WidgetEditorAccordionHeaderComponent, selector: "nui-widget-editor-accordion-header", inputs: ["headerIcon", "iconColor", "subtitle", "headerTitle"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: WidgetEditorAccordionFormStatePipe, name: "nuiWidgetEditorAccordionFormState" }, { kind: "pipe", type: FormHeaderIconPipePipe, name: "nuiFormHeaderIconPipe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
18732
18853
|
}
|
|
18733
18854
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: TimeseriesTileDescriptionConfigurationComponent, decorators: [{
|
|
18734
18855
|
type: Component,
|
|
@@ -22457,7 +22578,8 @@ class NuiDashboardsModule {
|
|
|
22457
22578
|
NuiSelectModule,
|
|
22458
22579
|
NuiPopoverModule,
|
|
22459
22580
|
NuiPaginatorModule,
|
|
22460
|
-
NuiMessageModule
|
|
22581
|
+
NuiMessageModule,
|
|
22582
|
+
FocusableScrollRegionDirective], exports: [DashboardComponent,
|
|
22461
22583
|
EmbeddedContentComponent,
|
|
22462
22584
|
GridsterItemWidgetIdDirective,
|
|
22463
22585
|
KpiComponent,
|
|
@@ -22487,7 +22609,7 @@ class NuiDashboardsModule {
|
|
|
22487
22609
|
ListNavigationBarComponent,
|
|
22488
22610
|
WidgetSearchComponent,
|
|
22489
22611
|
ProportionalDonutContentComponent,
|
|
22490
|
-
TimeseriesInspectionMenuComponent] }); }
|
|
22612
|
+
TimeseriesInspectionMenuComponent, FocusableScrollRegionDirective] }); }
|
|
22491
22613
|
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: NuiDashboardsModule, providers: [
|
|
22492
22614
|
ComponentPortalService,
|
|
22493
22615
|
WidgetTypesService,
|
|
@@ -22554,6 +22676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
|
|
|
22554
22676
|
NuiPopoverModule,
|
|
22555
22677
|
NuiPaginatorModule,
|
|
22556
22678
|
NuiMessageModule,
|
|
22679
|
+
FocusableScrollRegionDirective,
|
|
22557
22680
|
],
|
|
22558
22681
|
declarations: dashboardComponents,
|
|
22559
22682
|
providers: [
|
|
@@ -22562,7 +22685,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImpo
|
|
|
22562
22685
|
DecimalPipe,
|
|
22563
22686
|
RefresherSettingsService,
|
|
22564
22687
|
],
|
|
22565
|
-
exports: dashboardComponents,
|
|
22688
|
+
exports: [...dashboardComponents, FocusableScrollRegionDirective],
|
|
22566
22689
|
}]
|
|
22567
22690
|
}], ctorParameters: () => [{ type: WidgetTypesService }, { type: ComponentRegistryService }, { type: EventRegistryService }, { type: KpiFormattersRegistryService }, { type: RiskScoreFormattersRegistryService }] });
|
|
22568
22691
|
|
|
@@ -23959,5 +24082,5 @@ const DONUT_CONTENT_CONFIGURATION_SLICE = {
|
|
|
23959
24082
|
* Generated bundle index. Do not edit.
|
|
23960
24083
|
*/
|
|
23961
24084
|
|
|
23962
|
-
export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseConverter, BaseLayout, CHANGE_SELECTION, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTileViewComponent, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_RISK_SCORE_FORMATTERS_REGISTRY, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TABLE_SCROLL_TYPE_CONVERTER, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardViewsModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalChartViewComponent, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, RiskScoreFormatterTypes, RiskScoreFormattersRegistryService, RiskScoreTileComponent, RiskScoreTileDescriptionConfigurationComponent, RiskScoreTilesConfigurationComponent, SCROLL_NEXT_PAGE, SELECTED_ITEMS, SELECTION, SET_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, ScrollType, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TIMESERIES_INSPECTION_MENU_CLEAR, TIMESERIES_INSPECTION_MENU_CLOSE, TIMESERIES_INSPECTION_MENU_EXPLORE, TIMESERIES_INSPECTION_MENU_SYNCHRONIZE, TIMESERIES_INSPECTION_MENU_ZOOM_IN, TIMESERIES_INSPECTION_MENU_ZOOM_OUT, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableScrollTypeEditorComponent, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UnitTestRegistryService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorAccordionHeaderComponent, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
|
|
24085
|
+
export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseConverter, BaseLayout, CHANGE_SELECTION, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FocusableScrollRegionDirective, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTileViewComponent, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_RISK_SCORE_FORMATTERS_REGISTRY, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TABLE_SCROLL_TYPE_CONVERTER, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardViewsModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalChartViewComponent, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, RiskScoreFormatterTypes, RiskScoreFormattersRegistryService, RiskScoreTileComponent, RiskScoreTileDescriptionConfigurationComponent, RiskScoreTilesConfigurationComponent, SCROLL_NEXT_PAGE, SELECTED_ITEMS, SELECTION, SET_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, ScrollType, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TIMESERIES_INSPECTION_MENU_CLEAR, TIMESERIES_INSPECTION_MENU_CLOSE, TIMESERIES_INSPECTION_MENU_EXPLORE, TIMESERIES_INSPECTION_MENU_SYNCHRONIZE, TIMESERIES_INSPECTION_MENU_ZOOM_IN, TIMESERIES_INSPECTION_MENU_ZOOM_OUT, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableScrollTypeEditorComponent, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UnitTestRegistryService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorAccordionHeaderComponent, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
|
|
23963
24086
|
//# sourceMappingURL=nova-ui-dashboards.mjs.map
|