@seniorsistemas/angular-components 16.7.1 → 16.7.2
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 +9 -4
- 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/country-phone-picker/country-phone-picker.component.d.ts +3 -3
- package/components/info-sign/info-sign.component.d.ts +1 -0
- package/components/info-sign/info-sign.directive.d.ts +1 -0
- package/esm2015/components/country-phone-picker/country-phone-picker.component.js +4 -4
- package/esm2015/components/info-sign/info-sign.component.js +2 -2
- package/esm2015/components/info-sign/info-sign.directive.js +6 -1
- package/esm5/components/country-phone-picker/country-phone-picker.component.js +4 -4
- package/esm5/components/info-sign/info-sign.component.js +2 -2
- package/esm5/components/info-sign/info-sign.directive.js +6 -1
- package/fesm2015/seniorsistemas-angular-components.js +9 -4
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +9 -4
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -1394,10 +1394,10 @@ var CountryPhonePickerComponent = /** @class */ (function () {
|
|
|
1394
1394
|
this.value = value;
|
|
1395
1395
|
};
|
|
1396
1396
|
CountryPhonePickerComponent.prototype.registerOnChange = function (onChange) {
|
|
1397
|
-
this.
|
|
1397
|
+
this._onChange = onChange;
|
|
1398
1398
|
};
|
|
1399
1399
|
CountryPhonePickerComponent.prototype.registerOnTouched = function (onTouched) {
|
|
1400
|
-
this.
|
|
1400
|
+
this._onTouched = onTouched;
|
|
1401
1401
|
};
|
|
1402
1402
|
CountryPhonePickerComponent.prototype.onClickout = function (event) {
|
|
1403
1403
|
if (!this.eRef.nativeElement.contains(event.target)) {
|
|
@@ -1424,7 +1424,7 @@ var CountryPhonePickerComponent = /** @class */ (function () {
|
|
|
1424
1424
|
rawValue: value !== null && value !== void 0 ? value : "",
|
|
1425
1425
|
value: value ? "" + _this._applyMask(value) : "",
|
|
1426
1426
|
};
|
|
1427
|
-
_this.
|
|
1427
|
+
_this._onChange(_this.value);
|
|
1428
1428
|
});
|
|
1429
1429
|
};
|
|
1430
1430
|
CountryPhonePickerComponent.prototype.onKeydown = function (event) {
|
|
@@ -4116,7 +4116,7 @@ var InfoSignComponent = /** @class */ (function () {
|
|
|
4116
4116
|
InfoSignComponent = __decorate([
|
|
4117
4117
|
Component({
|
|
4118
4118
|
selector: "s-info-sign-component",
|
|
4119
|
-
template: "<span class=\"info-sign\">\n <span *ngTemplateOutlet=\"templateRef\"></span>\n <i\n class=\"info-sign__icon fa fa-info-circle\"\n aria-hidden=\"true\"\n [sTooltip]=\"tooltip\"\n [escape]=\"false\"\n tooltipPosition=\"top\"\n [displayTime]=\"
|
|
4119
|
+
template: "<span class=\"info-sign\">\n <span *ngTemplateOutlet=\"templateRef\"></span>\n <i\n class=\"info-sign__icon fa fa-info-circle\"\n aria-hidden=\"true\"\n [sTooltip]=\"tooltip\"\n [escape]=\"false\"\n tooltipPosition=\"top\"\n [displayTime]=\"displayTime\"\n mobileBehavior=\"tap\"\n showDelay=\"0\">\n </i>\n</span>",
|
|
4120
4120
|
styles: [".info-sign{-ms-flex-align:baseline;align-items:baseline;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:start;justify-content:flex-start}.info-sign .info-sign__icon{padding:0 12px}"]
|
|
4121
4121
|
})
|
|
4122
4122
|
], InfoSignComponent);
|
|
@@ -4128,6 +4128,7 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
4128
4128
|
this.templateRef = templateRef;
|
|
4129
4129
|
this.viewContainer = viewContainer;
|
|
4130
4130
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
4131
|
+
this.displayTime = 5000;
|
|
4131
4132
|
}
|
|
4132
4133
|
InfoSignDirective.prototype.ngOnInit = function () {
|
|
4133
4134
|
if (!this.componentRef && this.sInfoSign) {
|
|
@@ -4136,6 +4137,7 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
4136
4137
|
this.componentRef = this.viewContainer.createComponent(componentFactory);
|
|
4137
4138
|
this.componentRef.instance.templateRef = this.templateRef;
|
|
4138
4139
|
this.componentRef.instance.tooltip = this.sInfoSign;
|
|
4140
|
+
this.componentRef.instance.displayTime = this.displayTime;
|
|
4139
4141
|
}
|
|
4140
4142
|
else if (this.componentRef && this.sInfoSign) {
|
|
4141
4143
|
this.componentRef.instance.tooltip = this.sInfoSign;
|
|
@@ -4158,6 +4160,9 @@ var InfoSignDirective = /** @class */ (function () {
|
|
|
4158
4160
|
__decorate([
|
|
4159
4161
|
Input()
|
|
4160
4162
|
], InfoSignDirective.prototype, "sInfoSign", void 0);
|
|
4163
|
+
__decorate([
|
|
4164
|
+
Input('sInfoSignDisplayTime')
|
|
4165
|
+
], InfoSignDirective.prototype, "displayTime", void 0);
|
|
4161
4166
|
InfoSignDirective = __decorate([
|
|
4162
4167
|
Directive({
|
|
4163
4168
|
selector: "[sInfoSign]",
|