@seniorsistemas/angular-components 17.16.11 → 17.16.12
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 -1
- 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/dynamic-form/components/fields/bignumber/bignumber-field.component.d.ts +1 -0
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +12 -3
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +12 -3
- package/fesm2015/seniorsistemas-angular-components.js +9 -1
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +9 -1
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -11165,6 +11165,7 @@
|
|
|
11165
11165
|
_this.field.onComplete(event);
|
|
11166
11166
|
}
|
|
11167
11167
|
});
|
|
11168
|
+
this.onScale();
|
|
11168
11169
|
};
|
|
11169
11170
|
BignumberFieldComponent.prototype.ngOnDestroy = function () {
|
|
11170
11171
|
this.ngUnsubscribe.next();
|
|
@@ -11205,6 +11206,13 @@
|
|
|
11205
11206
|
},
|
|
11206
11207
|
});
|
|
11207
11208
|
};
|
|
11209
|
+
BignumberFieldComponent.prototype.onScale = function () {
|
|
11210
|
+
// Currently, this component is used for the following types
|
|
11211
|
+
// FieldType.Number, FieldType.Integer and FieldType.Double
|
|
11212
|
+
if (isNullOrUndefined(this.field.scale)) {
|
|
11213
|
+
this.field.scale = this.field.type === exports.FieldType.Integer ? 0 : 2;
|
|
11214
|
+
}
|
|
11215
|
+
};
|
|
11208
11216
|
BignumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
11209
11217
|
this.changeDetectorRef.detectChanges();
|
|
11210
11218
|
};
|
|
@@ -11228,7 +11236,7 @@
|
|
|
11228
11236
|
core.Output()
|
|
11229
11237
|
], BignumberFieldComponent.prototype, "onComplete", void 0);
|
|
11230
11238
|
__decorate([
|
|
11231
|
-
core.ViewChild(
|
|
11239
|
+
core.ViewChild("inputRef")
|
|
11232
11240
|
], BignumberFieldComponent.prototype, "inputRef", void 0);
|
|
11233
11241
|
BignumberFieldComponent = __decorate([
|
|
11234
11242
|
core.Component({
|