@energycap/components 0.32.15 → 0.32.16
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/esm2020/lib/components.module.mjs +10 -5
- package/esm2020/lib/display/tooltip/tooltip.component.mjs +2 -2
- package/esm2020/lib/display/tooltip-directive/tooltip.directive.mjs +143 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/energycap-components.mjs +150 -7
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +149 -7
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/components.module.d.ts +8 -7
- package/lib/display/tooltip-directive/tooltip.directive.d.ts +34 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -8927,10 +8927,10 @@ class TooltipComponent {
|
|
|
8927
8927
|
}
|
|
8928
8928
|
}
|
|
8929
8929
|
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8930
|
-
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: TooltipComponent, selector: "ec-tooltip", host: { properties: { "style.--ec-tooltip-background-color": "this.backgroundColor" } }, ngImport: i0, template: "<article id=\"{{id}}\" class=\"py-3 position-{{position}}\">\r\n <header *ngIf=\"title || subtitle\" class=\"mb-3\">\r\n <h1 class=\"text-heading-2 px-3 mb-0\">{{title}}</h1>\r\n <p class=\"text-caption-1 px-3 mb-0\">{{subtitle}}</p>\r\n </header>\r\n \r\n <ng-container *ngIf=\"customContent; else textTemplate\">\r\n <ng-container *ngTemplateOutlet=\"customContent\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #textTemplate>\r\n <div class=\"text-body-1 px-3\" [innerHTML]=\"text\"></div>\r\n </ng-template>\r\n \r\n <ec-button *ngIf=\"dismissible\" id=\"tooltipDismiss\" type=\"icon\" icon=\"icon-cancel\" (clicked)=\"hide()\" style=\"--ec-button-color-icon: var(--ec-color-secondary-light);\"></ec-button>\r\n</article>", styles: [":host{display:block;padding:.75rem}article{background-color:var(--ec-tooltip-background-color, #162F3B);color:var(--ec-tooltip-color, var(--ec-color-primary-light));border-radius:var(--ec-border-radius-card);position:relative;box-shadow:var(--ec-box-shadow-overlay);--ec-color-interactive: var(--ec-color-interactive-light)}article:after{content:\"\";height:0;width:0;border:.625rem solid transparent;display:block;position:absolute}article.position-top-left:after,article.position-top-center:after,article.position-top-right:after{bottom:-1.25rem;border-top-color:var(--ec-tooltip-background-color, #162F3B)}article.position-bottom-left:after,article.position-bottom-center:after,article.position-bottom-right:after{top:-1.25rem;border-bottom-color:var(--ec-tooltip-background-color, #162F3B)}article.position-top-left:after,article.position-bottom-left:after{right:1rem}article.position-top-right:after,article.position-bottom-right:after{left:1rem}article.position-top-center:after,article.position-bottom-center:after{right:50%;transform:translate(50%)}article.position-right-top:after,article.position-right-center:after,article.position-right-bottom:after{left:-1.25rem;border-right-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-left-center:after,article.position-left-bottom:after{right:-1.25rem;border-left-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-right-top:after{top:1rem}article.position-left-bottom:after,article.position-right-bottom:after{bottom:1rem}article.position-left-center:after,article.position-right-center:after{bottom:50%;transform:translateY(50%)}.text-heading-2,.text-body-1{color:var(--ec-color-primary-light)}.text-body-1 ::ng-deep p:last-child{margin-bottom:0}.text-body-1 ::ng-deep a{font-weight:var(--ec-font-weight-bold)}.text-caption-1{color:var(--ec-color-secondary-light)}ec-button{position:absolute;top:.25rem;right:.25rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "ec-button", inputs: ["id", "disabled", "icon", "label", "badge", "tabindex", "type", "pending", "pendingIcon", "customTemplate", "isSubmit", "autofocus"], outputs: ["clicked"] }] });
|
|
8930
|
+
TooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: TooltipComponent, selector: "ec-tooltip", host: { properties: { "style.--ec-tooltip-background-color": "this.backgroundColor" } }, ngImport: i0, template: "<article id=\"{{id}}\" class=\"py-3 position-{{position}}\">\r\n <header *ngIf=\"title || subtitle\" class=\"mb-3\">\r\n <h1 class=\"text-heading-2 px-3 mb-0\">{{title}}</h1>\r\n <p class=\"text-caption-1 px-3 mb-0\">{{subtitle}}</p>\r\n </header>\r\n \r\n <ng-container *ngIf=\"customContent; else textTemplate\">\r\n <ng-container *ngTemplateOutlet=\"customContent\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #textTemplate>\r\n <div class=\"text-body-1 px-3\" [innerHTML]=\"text\"></div>\r\n </ng-template>\r\n \r\n <ec-button *ngIf=\"dismissible\" id=\"tooltipDismiss\" type=\"icon\" icon=\"icon-cancel\" (clicked)=\"hide()\" style=\"--ec-button-color-icon: var(--ec-color-secondary-light);\"></ec-button>\r\n</article>", styles: [":host{display:block;padding:.75rem}article{background-color:var(--ec-tooltip-background-color, #162F3B);color:var(--ec-tooltip-color, var(--ec-color-primary-light));border-radius:var(--ec-border-radius-card);position:relative;box-shadow:var(--ec-box-shadow-overlay);--ec-color-interactive: var(--ec-color-interactive-light)}article:after{content:\"\";height:0;width:0;border:.625rem solid transparent;display:block;position:absolute;pointer-events:none}article.position-top-left:after,article.position-top-center:after,article.position-top-right:after{bottom:-1.25rem;border-top-color:var(--ec-tooltip-background-color, #162F3B)}article.position-bottom-left:after,article.position-bottom-center:after,article.position-bottom-right:after{top:-1.25rem;border-bottom-color:var(--ec-tooltip-background-color, #162F3B)}article.position-top-left:after,article.position-bottom-left:after{right:1rem}article.position-top-right:after,article.position-bottom-right:after{left:1rem}article.position-top-center:after,article.position-bottom-center:after{right:50%;transform:translate(50%)}article.position-right-top:after,article.position-right-center:after,article.position-right-bottom:after{left:-1.25rem;border-right-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-left-center:after,article.position-left-bottom:after{right:-1.25rem;border-left-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-right-top:after{top:1rem}article.position-left-bottom:after,article.position-right-bottom:after{bottom:1rem}article.position-left-center:after,article.position-right-center:after{bottom:50%;transform:translateY(50%)}.text-heading-2,.text-body-1{color:var(--ec-color-primary-light)}.text-body-1 ::ng-deep p:last-child{margin-bottom:0}.text-body-1 ::ng-deep a{font-weight:var(--ec-font-weight-bold)}.text-caption-1{color:var(--ec-color-secondary-light)}ec-button{position:absolute;top:.25rem;right:.25rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ButtonComponent, selector: "ec-button", inputs: ["id", "disabled", "icon", "label", "badge", "tabindex", "type", "pending", "pendingIcon", "customTemplate", "isSubmit", "autofocus"], outputs: ["clicked"] }] });
|
|
8931
8931
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
8932
8932
|
type: Component,
|
|
8933
|
-
args: [{ selector: 'ec-tooltip', template: "<article id=\"{{id}}\" class=\"py-3 position-{{position}}\">\r\n <header *ngIf=\"title || subtitle\" class=\"mb-3\">\r\n <h1 class=\"text-heading-2 px-3 mb-0\">{{title}}</h1>\r\n <p class=\"text-caption-1 px-3 mb-0\">{{subtitle}}</p>\r\n </header>\r\n \r\n <ng-container *ngIf=\"customContent; else textTemplate\">\r\n <ng-container *ngTemplateOutlet=\"customContent\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #textTemplate>\r\n <div class=\"text-body-1 px-3\" [innerHTML]=\"text\"></div>\r\n </ng-template>\r\n \r\n <ec-button *ngIf=\"dismissible\" id=\"tooltipDismiss\" type=\"icon\" icon=\"icon-cancel\" (clicked)=\"hide()\" style=\"--ec-button-color-icon: var(--ec-color-secondary-light);\"></ec-button>\r\n</article>", styles: [":host{display:block;padding:.75rem}article{background-color:var(--ec-tooltip-background-color, #162F3B);color:var(--ec-tooltip-color, var(--ec-color-primary-light));border-radius:var(--ec-border-radius-card);position:relative;box-shadow:var(--ec-box-shadow-overlay);--ec-color-interactive: var(--ec-color-interactive-light)}article:after{content:\"\";height:0;width:0;border:.625rem solid transparent;display:block;position:absolute}article.position-top-left:after,article.position-top-center:after,article.position-top-right:after{bottom:-1.25rem;border-top-color:var(--ec-tooltip-background-color, #162F3B)}article.position-bottom-left:after,article.position-bottom-center:after,article.position-bottom-right:after{top:-1.25rem;border-bottom-color:var(--ec-tooltip-background-color, #162F3B)}article.position-top-left:after,article.position-bottom-left:after{right:1rem}article.position-top-right:after,article.position-bottom-right:after{left:1rem}article.position-top-center:after,article.position-bottom-center:after{right:50%;transform:translate(50%)}article.position-right-top:after,article.position-right-center:after,article.position-right-bottom:after{left:-1.25rem;border-right-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-left-center:after,article.position-left-bottom:after{right:-1.25rem;border-left-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-right-top:after{top:1rem}article.position-left-bottom:after,article.position-right-bottom:after{bottom:1rem}article.position-left-center:after,article.position-right-center:after{bottom:50%;transform:translateY(50%)}.text-heading-2,.text-body-1{color:var(--ec-color-primary-light)}.text-body-1 ::ng-deep p:last-child{margin-bottom:0}.text-body-1 ::ng-deep a{font-weight:var(--ec-font-weight-bold)}.text-caption-1{color:var(--ec-color-secondary-light)}ec-button{position:absolute;top:.25rem;right:.25rem}\n"] }]
|
|
8933
|
+
args: [{ selector: 'ec-tooltip', template: "<article id=\"{{id}}\" class=\"py-3 position-{{position}}\">\r\n <header *ngIf=\"title || subtitle\" class=\"mb-3\">\r\n <h1 class=\"text-heading-2 px-3 mb-0\">{{title}}</h1>\r\n <p class=\"text-caption-1 px-3 mb-0\">{{subtitle}}</p>\r\n </header>\r\n \r\n <ng-container *ngIf=\"customContent; else textTemplate\">\r\n <ng-container *ngTemplateOutlet=\"customContent\"></ng-container>\r\n </ng-container>\r\n\r\n <ng-template #textTemplate>\r\n <div class=\"text-body-1 px-3\" [innerHTML]=\"text\"></div>\r\n </ng-template>\r\n \r\n <ec-button *ngIf=\"dismissible\" id=\"tooltipDismiss\" type=\"icon\" icon=\"icon-cancel\" (clicked)=\"hide()\" style=\"--ec-button-color-icon: var(--ec-color-secondary-light);\"></ec-button>\r\n</article>", styles: [":host{display:block;padding:.75rem}article{background-color:var(--ec-tooltip-background-color, #162F3B);color:var(--ec-tooltip-color, var(--ec-color-primary-light));border-radius:var(--ec-border-radius-card);position:relative;box-shadow:var(--ec-box-shadow-overlay);--ec-color-interactive: var(--ec-color-interactive-light)}article:after{content:\"\";height:0;width:0;border:.625rem solid transparent;display:block;position:absolute;pointer-events:none}article.position-top-left:after,article.position-top-center:after,article.position-top-right:after{bottom:-1.25rem;border-top-color:var(--ec-tooltip-background-color, #162F3B)}article.position-bottom-left:after,article.position-bottom-center:after,article.position-bottom-right:after{top:-1.25rem;border-bottom-color:var(--ec-tooltip-background-color, #162F3B)}article.position-top-left:after,article.position-bottom-left:after{right:1rem}article.position-top-right:after,article.position-bottom-right:after{left:1rem}article.position-top-center:after,article.position-bottom-center:after{right:50%;transform:translate(50%)}article.position-right-top:after,article.position-right-center:after,article.position-right-bottom:after{left:-1.25rem;border-right-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-left-center:after,article.position-left-bottom:after{right:-1.25rem;border-left-color:var(--ec-tooltip-background-color, #162F3B)}article.position-left-top:after,article.position-right-top:after{top:1rem}article.position-left-bottom:after,article.position-right-bottom:after{bottom:1rem}article.position-left-center:after,article.position-right-center:after{bottom:50%;transform:translateY(50%)}.text-heading-2,.text-body-1{color:var(--ec-color-primary-light)}.text-body-1 ::ng-deep p:last-child{margin-bottom:0}.text-body-1 ::ng-deep a{font-weight:var(--ec-font-weight-bold)}.text-caption-1{color:var(--ec-color-secondary-light)}ec-button{position:absolute;top:.25rem;right:.25rem}\n"] }]
|
|
8934
8934
|
}], propDecorators: { backgroundColor: [{
|
|
8935
8935
|
type: HostBinding,
|
|
8936
8936
|
args: ['style.--ec-tooltip-background-color']
|
|
@@ -9464,6 +9464,144 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
9464
9464
|
args: ['ecCopyTableButton']
|
|
9465
9465
|
}] } });
|
|
9466
9466
|
|
|
9467
|
+
class TooltipDirective {
|
|
9468
|
+
constructor(tooltipService, element) {
|
|
9469
|
+
this.tooltipService = tooltipService;
|
|
9470
|
+
this.element = element;
|
|
9471
|
+
//TooltipConfig: receives all the tooltip options to overwrite the
|
|
9472
|
+
//default configuration of the tooltip
|
|
9473
|
+
this.tooltipConfig = undefined;
|
|
9474
|
+
//TooltipText: receives plain text to display in the default tooltip
|
|
9475
|
+
this.tooltipText = undefined;
|
|
9476
|
+
//TooltipCustomContent: receives a template reference to display
|
|
9477
|
+
//into the tooltip content
|
|
9478
|
+
this.tooltipCustomContent = undefined;
|
|
9479
|
+
//This Input will remain as Input because tooltipPosition is not part
|
|
9480
|
+
//of TooltipOptions type of object
|
|
9481
|
+
this.tooltipPosition = "top-center";
|
|
9482
|
+
//************************************************************//
|
|
9483
|
+
//Events related
|
|
9484
|
+
this.mouseOver = new Subject();
|
|
9485
|
+
this.interrupt = new Subject();
|
|
9486
|
+
this.hideCompleted = new Subject();
|
|
9487
|
+
//Object with the tooltip options builded with the Input parameters
|
|
9488
|
+
//and use it in tooltipService - show()
|
|
9489
|
+
this.tooltipOptions = {};
|
|
9490
|
+
}
|
|
9491
|
+
ngOnInit() {
|
|
9492
|
+
//checkInputsValue(): if there is an error it will prevent to execute
|
|
9493
|
+
//any code related with the tooltip setup
|
|
9494
|
+
if (this.checkInputsValue()) {
|
|
9495
|
+
//Create the object with the tooltip options provided as @Inputs
|
|
9496
|
+
this.createTooltipOptions();
|
|
9497
|
+
//MouseOver flow: start the process of showing the tooltip
|
|
9498
|
+
//until the mouse leaves the anchor element with this.interrupt
|
|
9499
|
+
this.mouseOver
|
|
9500
|
+
.pipe(switchMap(v => of(v).pipe(delay(300), //delays the time previous of showing the tooltip
|
|
9501
|
+
takeUntil(this.interrupt))))
|
|
9502
|
+
.subscribe(() => this.show()); //Calls the function responsable of using the tooltipService
|
|
9503
|
+
//Mouse leave flow: start the process of removing the tooltip when the mouse is away of the anchor element
|
|
9504
|
+
this.interrupt.pipe(switchMap(v => of(v).pipe(delay(50), takeUntil(this.hideCompleted)))).subscribe(() => this.hide()); //hide the tooltip and triggers the completed cycle flag this.hideCompleted
|
|
9505
|
+
}
|
|
9506
|
+
else {
|
|
9507
|
+
console.error('There are too many parameters or none parameter to config the tooltip options');
|
|
9508
|
+
}
|
|
9509
|
+
}
|
|
9510
|
+
//Trigger the process to show the tooltip
|
|
9511
|
+
onMouseOver() {
|
|
9512
|
+
this.mouseOver.next();
|
|
9513
|
+
}
|
|
9514
|
+
//Trigger the process to hide and later the process
|
|
9515
|
+
//to mark as complete the cycle of show and hide the tooltip
|
|
9516
|
+
onLeave() {
|
|
9517
|
+
this.interrupt.next();
|
|
9518
|
+
}
|
|
9519
|
+
checkInputsValue() {
|
|
9520
|
+
let parametersWithValue = 0;
|
|
9521
|
+
if (this.tooltipText) {
|
|
9522
|
+
parametersWithValue = parametersWithValue + 1;
|
|
9523
|
+
}
|
|
9524
|
+
if (this.tooltipCustomContent) {
|
|
9525
|
+
parametersWithValue = parametersWithValue + 1;
|
|
9526
|
+
}
|
|
9527
|
+
if (this.tooltipConfig) {
|
|
9528
|
+
parametersWithValue = parametersWithValue + 1;
|
|
9529
|
+
}
|
|
9530
|
+
if (parametersWithValue === 1) {
|
|
9531
|
+
return true;
|
|
9532
|
+
}
|
|
9533
|
+
else {
|
|
9534
|
+
return false;
|
|
9535
|
+
}
|
|
9536
|
+
}
|
|
9537
|
+
/**
|
|
9538
|
+
* createTooltipOptions
|
|
9539
|
+
* will only be executed after manageError() verifies
|
|
9540
|
+
* if the parameters are not overlapping each other
|
|
9541
|
+
* and it will build the tooltipOptions object
|
|
9542
|
+
*/
|
|
9543
|
+
createTooltipOptions() {
|
|
9544
|
+
this.tooltipOptions = {
|
|
9545
|
+
id: `tooltip_${this.tooltipConfig?.id ? this.tooltipConfig?.id : ''}`,
|
|
9546
|
+
text: this.tooltipConfig?.text || this.tooltipText,
|
|
9547
|
+
title: this.tooltipConfig?.title,
|
|
9548
|
+
subtitle: this.tooltipConfig?.subtitle,
|
|
9549
|
+
customContent: this.tooltipConfig?.customContent || this.tooltipCustomContent,
|
|
9550
|
+
dismissible: this.tooltipConfig?.dismissible || false,
|
|
9551
|
+
maxWidth: this.tooltipConfig?.maxWidth,
|
|
9552
|
+
width: this.tooltipConfig?.width,
|
|
9553
|
+
backgroundColor: this.tooltipConfig?.backgroundColor,
|
|
9554
|
+
};
|
|
9555
|
+
}
|
|
9556
|
+
show() {
|
|
9557
|
+
//Reference to the element where to tooltip is attached
|
|
9558
|
+
const element = this.element.nativeElement;
|
|
9559
|
+
//tooltipPosition is never undefined, default value = "top-center"
|
|
9560
|
+
this.tooltip = this.tooltipService.show(element, this.tooltipPosition, this.tooltipOptions);
|
|
9561
|
+
}
|
|
9562
|
+
hide() {
|
|
9563
|
+
//There is a timing issue between the show - hide with
|
|
9564
|
+
//liner tooltip elements, so the below line
|
|
9565
|
+
//makes sure the app doesn't break
|
|
9566
|
+
if (this.tooltip) {
|
|
9567
|
+
//Call the hide() from the tooltip component
|
|
9568
|
+
this.tooltip.hide();
|
|
9569
|
+
}
|
|
9570
|
+
//Interrupt the flow of mouseover with a delay and triggers the
|
|
9571
|
+
//flow to hide the tooltip with a delay
|
|
9572
|
+
this.interrupt.next();
|
|
9573
|
+
//Work as a flag to indicate the flow of show and hide has been completed
|
|
9574
|
+
this.hideCompleted.next();
|
|
9575
|
+
}
|
|
9576
|
+
//When the element where the tooltip is attached disappears
|
|
9577
|
+
//the tooltip should be destroy as well
|
|
9578
|
+
ngOnDestroy() {
|
|
9579
|
+
this.onLeave();
|
|
9580
|
+
}
|
|
9581
|
+
}
|
|
9582
|
+
TooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipDirective, deps: [{ token: TooltipService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9583
|
+
TooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: TooltipDirective, selector: "[ecTooltip]", inputs: { tooltipConfig: "tooltipConfig", tooltipText: "tooltipText", tooltipCustomContent: "tooltipCustomContent", tooltipPosition: "tooltipPosition" }, host: { listeners: { "mouseover": "onMouseOver()", "mouseleave": "onLeave()" } }, ngImport: i0 });
|
|
9584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
9585
|
+
type: Directive,
|
|
9586
|
+
args: [{
|
|
9587
|
+
selector: '[ecTooltip]'
|
|
9588
|
+
}]
|
|
9589
|
+
}], ctorParameters: function () { return [{ type: TooltipService }, { type: i0.ElementRef }]; }, propDecorators: { tooltipConfig: [{
|
|
9590
|
+
type: Input
|
|
9591
|
+
}], tooltipText: [{
|
|
9592
|
+
type: Input
|
|
9593
|
+
}], tooltipCustomContent: [{
|
|
9594
|
+
type: Input
|
|
9595
|
+
}], tooltipPosition: [{
|
|
9596
|
+
type: Input
|
|
9597
|
+
}], onMouseOver: [{
|
|
9598
|
+
type: HostListener,
|
|
9599
|
+
args: ['mouseover']
|
|
9600
|
+
}], onLeave: [{
|
|
9601
|
+
type: HostListener,
|
|
9602
|
+
args: ['mouseleave']
|
|
9603
|
+
}] } });
|
|
9604
|
+
|
|
9467
9605
|
class ComponentsModule {
|
|
9468
9606
|
/**
|
|
9469
9607
|
* Providing services through the forRoot pattern here ensures that the components module and the importing
|
|
@@ -9546,7 +9684,8 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
9546
9684
|
LinkButtonComponent,
|
|
9547
9685
|
TooltipComponent,
|
|
9548
9686
|
TourComponent,
|
|
9549
|
-
CopyTableButtonDirective
|
|
9687
|
+
CopyTableButtonDirective,
|
|
9688
|
+
TooltipDirective], imports: [CommonModule,
|
|
9550
9689
|
FormsModule,
|
|
9551
9690
|
ReactiveFormsModule,
|
|
9552
9691
|
RouterModule,
|
|
@@ -9612,7 +9751,8 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
9612
9751
|
LinkButtonComponent,
|
|
9613
9752
|
TooltipComponent,
|
|
9614
9753
|
TourComponent,
|
|
9615
|
-
CopyTableButtonDirective
|
|
9754
|
+
CopyTableButtonDirective,
|
|
9755
|
+
TooltipDirective] });
|
|
9616
9756
|
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ComponentsModule, providers: [
|
|
9617
9757
|
FormGroupHelper,
|
|
9618
9758
|
DialogService,
|
|
@@ -9699,7 +9839,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
9699
9839
|
LinkButtonComponent,
|
|
9700
9840
|
TooltipComponent,
|
|
9701
9841
|
TourComponent,
|
|
9702
|
-
CopyTableButtonDirective
|
|
9842
|
+
CopyTableButtonDirective,
|
|
9843
|
+
TooltipDirective
|
|
9703
9844
|
],
|
|
9704
9845
|
imports: [
|
|
9705
9846
|
CommonModule,
|
|
@@ -9781,7 +9922,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
9781
9922
|
LinkButtonComponent,
|
|
9782
9923
|
TooltipComponent,
|
|
9783
9924
|
TourComponent,
|
|
9784
|
-
CopyTableButtonDirective
|
|
9925
|
+
CopyTableButtonDirective,
|
|
9926
|
+
TooltipDirective
|
|
9785
9927
|
]
|
|
9786
9928
|
}]
|
|
9787
9929
|
}] });
|
|
@@ -10737,5 +10879,5 @@ class CopyButtonBaseTestInjectorFactory {
|
|
|
10737
10879
|
* Generated bundle index. Do not edit.
|
|
10738
10880
|
*/
|
|
10739
10881
|
|
|
10740
|
-
export { AppBarComponent, AvatarComponent, BannerComponent, ButtonComponent, CacheService, CheckboxComponent, ClickAreaForDirective, CollapsibleToggleComponent, ComboboxComponent, ComponentsModule, ConfirmComponent, ConfirmDialogContext, CopyButtonBaseTestInjectorFactory, CopyButtonDirective, CopyTableButtonDirective, CustomValidators, DateDisplayPipe, DateTimeHelper, DialogCloseDuration, DialogCloseEvent, DialogCloseLatestEvent, DialogComponent, DialogEvent, DialogGroupComponent, DialogOpenDuration, DialogOpenEndEvent, DialogOpenStartEvent, DialogResult, DialogService, DropdownComponent, ErrorService, FileTypeExtensions, FileUploadComponent, FormControlBase, FormControlComponent, FormControlLabelComponent, FormGroupComponent, FormGroupHelper, HelpPopoverComponent, HierarchyBase, HierarchyBaseTestInjectorFactory, HierarchyItem, HierarchyMocks, HierarchyTreeComponent, HighlightTextPipe, IfViewportWidthDirective, ItemDisplayComponent, ItemPickerComponent, ItemPickerSelectableContext, JsonDisplayComponent, JsonHelper, LinkButtonComponent, MenuComponent, MockActivatedRoute, MockDateDisplayPipe, MockDialog, MockDialogContent, MockTranslateService, MockTranslationHelperService, NavGroup, NavItemActiveDirective, NumericboxComponent, Overlay, PageBaseComponent, PageBaseComponentTestHelper, PageBaseComponentTestInjectorFactory, PageInitResult, PageStatus, PageStatuses, PageTitleComponent, PageViewComponent, PanelCloseDuration, PanelOpenDuration, PopoverComponent, PopupContainerDirective, RadioButtonComponent, RadioButtonOption, RelativeDatePipe, ResizableBase, ResizableColumnComponent, ResizableComponent, RouterHelper, RowCountPipe, ScrollService, SearchableTableComponent, SelectComponent, SpinnerComponent, SplashComponent, SplashService, SpyFactory, TableComponent, TableLockedColumnComponent, TableMasterHeaderRowComponent, TableMasterRowComponent, TablePaginationComponent, TableSelectableRowComponent, TableSelectableRowContext, TabsComponent, Tag, TagsComponent, TelemetryService, TelemetryTrackerService, TextboxComponent, TimeDisplayPipe, ToastComponent, ToastEvent, ToastService, ToasterComponent, TooltipComponent, TooltipService, Tour, TourAnchor, TourComponent, TourEvent, TourService, TourStep, TreeComponent, UnicodeStrings, UserPreferenceService, ValidationMessageService, ViewOverlayComponent, WindowService, WizardBaseComponent, WizardButtonsComponent, WizardProgressComponent, canadianPostalCodeRegex, clickEvent, dateInputFormatRegex, domainPattern, findAllSpacesPattern, forEachFormControl, getApiError, getControlValue, getDecimalPattern, integerPattern, isApiError, menuAnimationSpeed, mockRouterFactory, mockRouterHelperFactory, numericboxValidation, orderByIgnoreCase, otherZipCodeRegex, phoneNumberValidationPattern, sortByIgnoreCase, textboxValidation, unitedStatesZipCodeRegex, urlValidationPattern, validateFormGroupValuesAreUnique };
|
|
10882
|
+
export { AppBarComponent, AvatarComponent, BannerComponent, ButtonComponent, CacheService, CheckboxComponent, ClickAreaForDirective, CollapsibleToggleComponent, ComboboxComponent, ComponentsModule, ConfirmComponent, ConfirmDialogContext, CopyButtonBaseTestInjectorFactory, CopyButtonDirective, CopyTableButtonDirective, CustomValidators, DateDisplayPipe, DateTimeHelper, DialogCloseDuration, DialogCloseEvent, DialogCloseLatestEvent, DialogComponent, DialogEvent, DialogGroupComponent, DialogOpenDuration, DialogOpenEndEvent, DialogOpenStartEvent, DialogResult, DialogService, DropdownComponent, ErrorService, FileTypeExtensions, FileUploadComponent, FormControlBase, FormControlComponent, FormControlLabelComponent, FormGroupComponent, FormGroupHelper, HelpPopoverComponent, HierarchyBase, HierarchyBaseTestInjectorFactory, HierarchyItem, HierarchyMocks, HierarchyTreeComponent, HighlightTextPipe, IfViewportWidthDirective, ItemDisplayComponent, ItemPickerComponent, ItemPickerSelectableContext, JsonDisplayComponent, JsonHelper, LinkButtonComponent, MenuComponent, MockActivatedRoute, MockDateDisplayPipe, MockDialog, MockDialogContent, MockTranslateService, MockTranslationHelperService, NavGroup, NavItemActiveDirective, NumericboxComponent, Overlay, PageBaseComponent, PageBaseComponentTestHelper, PageBaseComponentTestInjectorFactory, PageInitResult, PageStatus, PageStatuses, PageTitleComponent, PageViewComponent, PanelCloseDuration, PanelOpenDuration, PopoverComponent, PopupContainerDirective, RadioButtonComponent, RadioButtonOption, RelativeDatePipe, ResizableBase, ResizableColumnComponent, ResizableComponent, RouterHelper, RowCountPipe, ScrollService, SearchableTableComponent, SelectComponent, SpinnerComponent, SplashComponent, SplashService, SpyFactory, TableComponent, TableLockedColumnComponent, TableMasterHeaderRowComponent, TableMasterRowComponent, TablePaginationComponent, TableSelectableRowComponent, TableSelectableRowContext, TabsComponent, Tag, TagsComponent, TelemetryService, TelemetryTrackerService, TextboxComponent, TimeDisplayPipe, ToastComponent, ToastEvent, ToastService, ToasterComponent, TooltipComponent, TooltipDirective, TooltipService, Tour, TourAnchor, TourComponent, TourEvent, TourService, TourStep, TreeComponent, UnicodeStrings, UserPreferenceService, ValidationMessageService, ViewOverlayComponent, WindowService, WizardBaseComponent, WizardButtonsComponent, WizardProgressComponent, canadianPostalCodeRegex, clickEvent, dateInputFormatRegex, domainPattern, findAllSpacesPattern, forEachFormControl, getApiError, getControlValue, getDecimalPattern, integerPattern, isApiError, menuAnimationSpeed, mockRouterFactory, mockRouterHelperFactory, numericboxValidation, orderByIgnoreCase, otherZipCodeRegex, phoneNumberValidationPattern, sortByIgnoreCase, textboxValidation, unitedStatesZipCodeRegex, urlValidationPattern, validateFormGroupValuesAreUnique };
|
|
10741
10883
|
//# sourceMappingURL=energycap-components.mjs.map
|