@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
|
@@ -1563,10 +1563,10 @@
|
|
|
1563
1563
|
this.value = value;
|
|
1564
1564
|
};
|
|
1565
1565
|
CountryPhonePickerComponent.prototype.registerOnChange = function (onChange) {
|
|
1566
|
-
this.
|
|
1566
|
+
this._onChange = onChange;
|
|
1567
1567
|
};
|
|
1568
1568
|
CountryPhonePickerComponent.prototype.registerOnTouched = function (onTouched) {
|
|
1569
|
-
this.
|
|
1569
|
+
this._onTouched = onTouched;
|
|
1570
1570
|
};
|
|
1571
1571
|
CountryPhonePickerComponent.prototype.onClickout = function (event) {
|
|
1572
1572
|
if (!this.eRef.nativeElement.contains(event.target)) {
|
|
@@ -1593,7 +1593,7 @@
|
|
|
1593
1593
|
rawValue: value !== null && value !== void 0 ? value : "",
|
|
1594
1594
|
value: value ? "" + _this._applyMask(value) : "",
|
|
1595
1595
|
};
|
|
1596
|
-
_this.
|
|
1596
|
+
_this._onChange(_this.value);
|
|
1597
1597
|
});
|
|
1598
1598
|
};
|
|
1599
1599
|
CountryPhonePickerComponent.prototype.onKeydown = function (event) {
|
|
@@ -4285,7 +4285,7 @@
|
|
|
4285
4285
|
InfoSignComponent = __decorate([
|
|
4286
4286
|
core.Component({
|
|
4287
4287
|
selector: "s-info-sign-component",
|
|
4288
|
-
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]=\"
|
|
4288
|
+
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>",
|
|
4289
4289
|
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}"]
|
|
4290
4290
|
})
|
|
4291
4291
|
], InfoSignComponent);
|
|
@@ -4297,6 +4297,7 @@
|
|
|
4297
4297
|
this.templateRef = templateRef;
|
|
4298
4298
|
this.viewContainer = viewContainer;
|
|
4299
4299
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
4300
|
+
this.displayTime = 5000;
|
|
4300
4301
|
}
|
|
4301
4302
|
InfoSignDirective.prototype.ngOnInit = function () {
|
|
4302
4303
|
if (!this.componentRef && this.sInfoSign) {
|
|
@@ -4305,6 +4306,7 @@
|
|
|
4305
4306
|
this.componentRef = this.viewContainer.createComponent(componentFactory);
|
|
4306
4307
|
this.componentRef.instance.templateRef = this.templateRef;
|
|
4307
4308
|
this.componentRef.instance.tooltip = this.sInfoSign;
|
|
4309
|
+
this.componentRef.instance.displayTime = this.displayTime;
|
|
4308
4310
|
}
|
|
4309
4311
|
else if (this.componentRef && this.sInfoSign) {
|
|
4310
4312
|
this.componentRef.instance.tooltip = this.sInfoSign;
|
|
@@ -4327,6 +4329,9 @@
|
|
|
4327
4329
|
__decorate([
|
|
4328
4330
|
core.Input()
|
|
4329
4331
|
], InfoSignDirective.prototype, "sInfoSign", void 0);
|
|
4332
|
+
__decorate([
|
|
4333
|
+
core.Input('sInfoSignDisplayTime')
|
|
4334
|
+
], InfoSignDirective.prototype, "displayTime", void 0);
|
|
4330
4335
|
InfoSignDirective = __decorate([
|
|
4331
4336
|
core.Directive({
|
|
4332
4337
|
selector: "[sInfoSign]",
|