@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
|
@@ -8992,10 +8992,10 @@ class TooltipComponent {
|
|
|
8992
8992
|
}
|
|
8993
8993
|
}
|
|
8994
8994
|
TooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8995
|
-
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"] }] });
|
|
8995
|
+
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"] }] });
|
|
8996
8996
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
8997
8997
|
type: Component,
|
|
8998
|
-
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"] }]
|
|
8998
|
+
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"] }]
|
|
8999
8999
|
}], propDecorators: { backgroundColor: [{
|
|
9000
9000
|
type: HostBinding,
|
|
9001
9001
|
args: ['style.--ec-tooltip-background-color']
|
|
@@ -9558,6 +9558,145 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
9558
9558
|
args: ['ecCopyTableButton']
|
|
9559
9559
|
}] } });
|
|
9560
9560
|
|
|
9561
|
+
class TooltipDirective {
|
|
9562
|
+
constructor(tooltipService, element) {
|
|
9563
|
+
this.tooltipService = tooltipService;
|
|
9564
|
+
this.element = element;
|
|
9565
|
+
//TooltipConfig: receives all the tooltip options to overwrite the
|
|
9566
|
+
//default configuration of the tooltip
|
|
9567
|
+
this.tooltipConfig = undefined;
|
|
9568
|
+
//TooltipText: receives plain text to display in the default tooltip
|
|
9569
|
+
this.tooltipText = undefined;
|
|
9570
|
+
//TooltipCustomContent: receives a template reference to display
|
|
9571
|
+
//into the tooltip content
|
|
9572
|
+
this.tooltipCustomContent = undefined;
|
|
9573
|
+
//This Input will remain as Input because tooltipPosition is not part
|
|
9574
|
+
//of TooltipOptions type of object
|
|
9575
|
+
this.tooltipPosition = "top-center";
|
|
9576
|
+
//************************************************************//
|
|
9577
|
+
//Events related
|
|
9578
|
+
this.mouseOver = new Subject();
|
|
9579
|
+
this.interrupt = new Subject();
|
|
9580
|
+
this.hideCompleted = new Subject();
|
|
9581
|
+
//Object with the tooltip options builded with the Input parameters
|
|
9582
|
+
//and use it in tooltipService - show()
|
|
9583
|
+
this.tooltipOptions = {};
|
|
9584
|
+
}
|
|
9585
|
+
ngOnInit() {
|
|
9586
|
+
//checkInputsValue(): if there is an error it will prevent to execute
|
|
9587
|
+
//any code related with the tooltip setup
|
|
9588
|
+
if (this.checkInputsValue()) {
|
|
9589
|
+
//Create the object with the tooltip options provided as @Inputs
|
|
9590
|
+
this.createTooltipOptions();
|
|
9591
|
+
//MouseOver flow: start the process of showing the tooltip
|
|
9592
|
+
//until the mouse leaves the anchor element with this.interrupt
|
|
9593
|
+
this.mouseOver
|
|
9594
|
+
.pipe(switchMap(v => of(v).pipe(delay(300), //delays the time previous of showing the tooltip
|
|
9595
|
+
takeUntil(this.interrupt))))
|
|
9596
|
+
.subscribe(() => this.show()); //Calls the function responsable of using the tooltipService
|
|
9597
|
+
//Mouse leave flow: start the process of removing the tooltip when the mouse is away of the anchor element
|
|
9598
|
+
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
|
|
9599
|
+
}
|
|
9600
|
+
else {
|
|
9601
|
+
console.error('There are too many parameters or none parameter to config the tooltip options');
|
|
9602
|
+
}
|
|
9603
|
+
}
|
|
9604
|
+
//Trigger the process to show the tooltip
|
|
9605
|
+
onMouseOver() {
|
|
9606
|
+
this.mouseOver.next();
|
|
9607
|
+
}
|
|
9608
|
+
//Trigger the process to hide and later the process
|
|
9609
|
+
//to mark as complete the cycle of show and hide the tooltip
|
|
9610
|
+
onLeave() {
|
|
9611
|
+
this.interrupt.next();
|
|
9612
|
+
}
|
|
9613
|
+
checkInputsValue() {
|
|
9614
|
+
let parametersWithValue = 0;
|
|
9615
|
+
if (this.tooltipText) {
|
|
9616
|
+
parametersWithValue = parametersWithValue + 1;
|
|
9617
|
+
}
|
|
9618
|
+
if (this.tooltipCustomContent) {
|
|
9619
|
+
parametersWithValue = parametersWithValue + 1;
|
|
9620
|
+
}
|
|
9621
|
+
if (this.tooltipConfig) {
|
|
9622
|
+
parametersWithValue = parametersWithValue + 1;
|
|
9623
|
+
}
|
|
9624
|
+
if (parametersWithValue === 1) {
|
|
9625
|
+
return true;
|
|
9626
|
+
}
|
|
9627
|
+
else {
|
|
9628
|
+
return false;
|
|
9629
|
+
}
|
|
9630
|
+
}
|
|
9631
|
+
/**
|
|
9632
|
+
* createTooltipOptions
|
|
9633
|
+
* will only be executed after manageError() verifies
|
|
9634
|
+
* if the parameters are not overlapping each other
|
|
9635
|
+
* and it will build the tooltipOptions object
|
|
9636
|
+
*/
|
|
9637
|
+
createTooltipOptions() {
|
|
9638
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
9639
|
+
this.tooltipOptions = {
|
|
9640
|
+
id: `tooltip_${((_a = this.tooltipConfig) === null || _a === void 0 ? void 0 : _a.id) ? (_b = this.tooltipConfig) === null || _b === void 0 ? void 0 : _b.id : ''}`,
|
|
9641
|
+
text: ((_c = this.tooltipConfig) === null || _c === void 0 ? void 0 : _c.text) || this.tooltipText,
|
|
9642
|
+
title: (_d = this.tooltipConfig) === null || _d === void 0 ? void 0 : _d.title,
|
|
9643
|
+
subtitle: (_e = this.tooltipConfig) === null || _e === void 0 ? void 0 : _e.subtitle,
|
|
9644
|
+
customContent: ((_f = this.tooltipConfig) === null || _f === void 0 ? void 0 : _f.customContent) || this.tooltipCustomContent,
|
|
9645
|
+
dismissible: ((_g = this.tooltipConfig) === null || _g === void 0 ? void 0 : _g.dismissible) || false,
|
|
9646
|
+
maxWidth: (_h = this.tooltipConfig) === null || _h === void 0 ? void 0 : _h.maxWidth,
|
|
9647
|
+
width: (_j = this.tooltipConfig) === null || _j === void 0 ? void 0 : _j.width,
|
|
9648
|
+
backgroundColor: (_k = this.tooltipConfig) === null || _k === void 0 ? void 0 : _k.backgroundColor,
|
|
9649
|
+
};
|
|
9650
|
+
}
|
|
9651
|
+
show() {
|
|
9652
|
+
//Reference to the element where to tooltip is attached
|
|
9653
|
+
const element = this.element.nativeElement;
|
|
9654
|
+
//tooltipPosition is never undefined, default value = "top-center"
|
|
9655
|
+
this.tooltip = this.tooltipService.show(element, this.tooltipPosition, this.tooltipOptions);
|
|
9656
|
+
}
|
|
9657
|
+
hide() {
|
|
9658
|
+
//There is a timing issue between the show - hide with
|
|
9659
|
+
//liner tooltip elements, so the below line
|
|
9660
|
+
//makes sure the app doesn't break
|
|
9661
|
+
if (this.tooltip) {
|
|
9662
|
+
//Call the hide() from the tooltip component
|
|
9663
|
+
this.tooltip.hide();
|
|
9664
|
+
}
|
|
9665
|
+
//Interrupt the flow of mouseover with a delay and triggers the
|
|
9666
|
+
//flow to hide the tooltip with a delay
|
|
9667
|
+
this.interrupt.next();
|
|
9668
|
+
//Work as a flag to indicate the flow of show and hide has been completed
|
|
9669
|
+
this.hideCompleted.next();
|
|
9670
|
+
}
|
|
9671
|
+
//When the element where the tooltip is attached disappears
|
|
9672
|
+
//the tooltip should be destroy as well
|
|
9673
|
+
ngOnDestroy() {
|
|
9674
|
+
this.onLeave();
|
|
9675
|
+
}
|
|
9676
|
+
}
|
|
9677
|
+
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 });
|
|
9678
|
+
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 });
|
|
9679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TooltipDirective, decorators: [{
|
|
9680
|
+
type: Directive,
|
|
9681
|
+
args: [{
|
|
9682
|
+
selector: '[ecTooltip]'
|
|
9683
|
+
}]
|
|
9684
|
+
}], ctorParameters: function () { return [{ type: TooltipService }, { type: i0.ElementRef }]; }, propDecorators: { tooltipConfig: [{
|
|
9685
|
+
type: Input
|
|
9686
|
+
}], tooltipText: [{
|
|
9687
|
+
type: Input
|
|
9688
|
+
}], tooltipCustomContent: [{
|
|
9689
|
+
type: Input
|
|
9690
|
+
}], tooltipPosition: [{
|
|
9691
|
+
type: Input
|
|
9692
|
+
}], onMouseOver: [{
|
|
9693
|
+
type: HostListener,
|
|
9694
|
+
args: ['mouseover']
|
|
9695
|
+
}], onLeave: [{
|
|
9696
|
+
type: HostListener,
|
|
9697
|
+
args: ['mouseleave']
|
|
9698
|
+
}] } });
|
|
9699
|
+
|
|
9561
9700
|
class ComponentsModule {
|
|
9562
9701
|
/**
|
|
9563
9702
|
* Providing services through the forRoot pattern here ensures that the components module and the importing
|
|
@@ -9640,7 +9779,8 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
9640
9779
|
LinkButtonComponent,
|
|
9641
9780
|
TooltipComponent,
|
|
9642
9781
|
TourComponent,
|
|
9643
|
-
CopyTableButtonDirective
|
|
9782
|
+
CopyTableButtonDirective,
|
|
9783
|
+
TooltipDirective], imports: [CommonModule,
|
|
9644
9784
|
FormsModule,
|
|
9645
9785
|
ReactiveFormsModule,
|
|
9646
9786
|
RouterModule,
|
|
@@ -9706,7 +9846,8 @@ ComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
9706
9846
|
LinkButtonComponent,
|
|
9707
9847
|
TooltipComponent,
|
|
9708
9848
|
TourComponent,
|
|
9709
|
-
CopyTableButtonDirective
|
|
9849
|
+
CopyTableButtonDirective,
|
|
9850
|
+
TooltipDirective] });
|
|
9710
9851
|
ComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ComponentsModule, providers: [
|
|
9711
9852
|
FormGroupHelper,
|
|
9712
9853
|
DialogService,
|
|
@@ -9793,7 +9934,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
9793
9934
|
LinkButtonComponent,
|
|
9794
9935
|
TooltipComponent,
|
|
9795
9936
|
TourComponent,
|
|
9796
|
-
CopyTableButtonDirective
|
|
9937
|
+
CopyTableButtonDirective,
|
|
9938
|
+
TooltipDirective
|
|
9797
9939
|
],
|
|
9798
9940
|
imports: [
|
|
9799
9941
|
CommonModule,
|
|
@@ -9875,7 +10017,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
9875
10017
|
LinkButtonComponent,
|
|
9876
10018
|
TooltipComponent,
|
|
9877
10019
|
TourComponent,
|
|
9878
|
-
CopyTableButtonDirective
|
|
10020
|
+
CopyTableButtonDirective,
|
|
10021
|
+
TooltipDirective
|
|
9879
10022
|
]
|
|
9880
10023
|
}]
|
|
9881
10024
|
}] });
|
|
@@ -10864,5 +11007,5 @@ class CopyButtonBaseTestInjectorFactory {
|
|
|
10864
11007
|
* Generated bundle index. Do not edit.
|
|
10865
11008
|
*/
|
|
10866
11009
|
|
|
10867
|
-
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 };
|
|
11010
|
+
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 };
|
|
10868
11011
|
//# sourceMappingURL=energycap-components.mjs.map
|