@seniorsistemas/angular-components 17.26.13-bugfix-sds-312-bce78028 → 17.26.13-bugfix-sds-312-0983e649
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/bundles/seniorsistemas-angular-components.umd.js +6 -3
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/tooltip/tooltip.directive.d.ts +1 -0
- package/esm2015/components/text-area/text-area/text-area.component.js +1 -1
- package/esm2015/components/tooltip/tooltip.directive.js +6 -3
- package/esm5/components/text-area/text-area/text-area.component.js +1 -1
- package/esm5/components/tooltip/tooltip.directive.js +6 -3
- package/fesm2015/seniorsistemas-angular-components.js +6 -3
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +6 -3
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -653,6 +653,7 @@
|
|
|
653
653
|
this.visible = true;
|
|
654
654
|
this.mobileBehavior = MobileBehavior.Pressing;
|
|
655
655
|
this.componentRef = null;
|
|
656
|
+
this.tooltipCreatedByFocus = false;
|
|
656
657
|
this.debounceCreateTooltipFunction = this.debounceUtils.debounceLeading(function () { return _this._createTooltip(true, true); });
|
|
657
658
|
}
|
|
658
659
|
TooltipDirective.prototype.ngOnInit = function () {
|
|
@@ -673,12 +674,14 @@
|
|
|
673
674
|
this.renderer.listen(inputFocus, "focus", function () {
|
|
674
675
|
if (icon_1) {
|
|
675
676
|
_this._createTooltip(false, false);
|
|
677
|
+
_this.tooltipCreatedByFocus = true;
|
|
676
678
|
}
|
|
677
679
|
});
|
|
678
680
|
this.renderer.listen(inputFocus, "blur", function () {
|
|
679
681
|
if (icon_1) {
|
|
680
682
|
_this.removeTooltip(icon_1);
|
|
681
683
|
_this.destroy();
|
|
684
|
+
_this.tooltipCreatedByFocus = false;
|
|
682
685
|
}
|
|
683
686
|
});
|
|
684
687
|
}
|
|
@@ -718,12 +721,12 @@
|
|
|
718
721
|
}
|
|
719
722
|
};
|
|
720
723
|
TooltipDirective.prototype.onMouseEnter = function () {
|
|
721
|
-
if (this.tooltipEvent === TooltipEvent.Hover) {
|
|
724
|
+
if (this.tooltipEvent === TooltipEvent.Hover || this.focusedInputRef) {
|
|
722
725
|
this.debounceCreateTooltipFunction();
|
|
723
726
|
}
|
|
724
727
|
};
|
|
725
728
|
TooltipDirective.prototype.onMouseLeave = function () {
|
|
726
|
-
if (this.tooltipEvent === TooltipEvent.Hover) {
|
|
729
|
+
if ((this.tooltipEvent === TooltipEvent.Hover || this.focusedInputRef) && !this.tooltipCreatedByFocus) {
|
|
727
730
|
this.destroy();
|
|
728
731
|
}
|
|
729
732
|
};
|
|
@@ -13748,7 +13751,7 @@
|
|
|
13748
13751
|
multi: true,
|
|
13749
13752
|
},
|
|
13750
13753
|
],
|
|
13751
|
-
styles: [".textarea{border-radius:3px;border:1px solid #c1c1cc;background:#fff;width:100%;max-width:100%;min-height:4em;min-width:10em;outline:0;padding:8px;display:block}.textarea:disabled{opacity:.5}:host.ng-invalid.ng-dirty .textarea{border-color:#c13018}"]
|
|
13754
|
+
styles: [".textarea{border-radius:3px;border:1px solid #c1c1cc;background:#fff;width:100%;max-width:100%;min-height:4em;min-width:10em;outline:0;padding:8px;display:block}.textarea:disabled{opacity:.5}.textarea:focus{transition:border-color .2s ease-out;border:1px solid #428bca}:host.ng-invalid.ng-dirty .textarea{border-color:#c13018}"]
|
|
13752
13755
|
})
|
|
13753
13756
|
], TextAreaComponent);
|
|
13754
13757
|
return TextAreaComponent;
|