@seniorsistemas/angular-components 17.5.5 → 17.6.0

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.
Files changed (44) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +461 -378
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/dynamic-form/components/fields/bignumber/bignumber-field.module.d.ts +2 -0
  6. package/components/dynamic-form/components/fields/currency/currency-field.module.d.ts +2 -0
  7. package/components/dynamic-form/components/fields/number/number-field.component.d.ts +1 -1
  8. package/components/dynamic-form/components/fields/number/number-field.module.d.ts +2 -0
  9. package/components/dynamic-form/components/fields/text/text-field.module.d.ts +2 -0
  10. package/components/dynamic-form/configurations/addon-config.d.ts +4 -0
  11. package/esm2015/components/button/button.component.js +2 -2
  12. package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +96 -0
  13. package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +30 -0
  14. package/esm2015/components/dynamic-form/components/fields/currency/currency-field.module.js +20 -0
  15. package/esm2015/components/dynamic-form/components/fields/number/number-field.component.js +4 -4
  16. package/esm2015/components/dynamic-form/components/fields/number/number-field.module.js +32 -0
  17. package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +3 -3
  18. package/esm2015/components/dynamic-form/components/fields/text/text-field.module.js +30 -0
  19. package/esm2015/components/dynamic-form/configurations/addon-config.js +1 -1
  20. package/esm2015/components/dynamic-form/dynamic-form.js +9 -8
  21. package/esm2015/components/dynamic-form/dynamic-form.module.js +9 -13
  22. package/esm2015/seniorsistemas-angular-components.js +67 -60
  23. package/esm5/components/button/button.component.js +2 -2
  24. package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +105 -0
  25. package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +33 -0
  26. package/esm5/components/dynamic-form/components/fields/currency/currency-field.module.js +23 -0
  27. package/esm5/components/dynamic-form/components/fields/number/number-field.component.js +4 -4
  28. package/esm5/components/dynamic-form/components/fields/number/number-field.module.js +35 -0
  29. package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +3 -3
  30. package/esm5/components/dynamic-form/components/fields/text/text-field.module.js +33 -0
  31. package/esm5/components/dynamic-form/configurations/addon-config.js +1 -1
  32. package/esm5/components/dynamic-form/dynamic-form.js +9 -8
  33. package/esm5/components/dynamic-form/dynamic-form.module.js +9 -13
  34. package/esm5/seniorsistemas-angular-components.js +67 -60
  35. package/fesm2015/seniorsistemas-angular-components.js +363 -299
  36. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  37. package/fesm5/seniorsistemas-angular-components.js +396 -320
  38. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  39. package/package.json +1 -1
  40. package/seniorsistemas-angular-components.d.ts +66 -59
  41. package/seniorsistemas-angular-components.metadata.json +1 -1
  42. package/esm2015/components/dynamic-form/components/fields/bignumber/number-field.component.js +0 -96
  43. package/esm5/components/dynamic-form/components/fields/bignumber/number-field.component.js +0 -105
  44. /package/components/dynamic-form/components/fields/bignumber/{number-field.component.d.ts → bignumber-field.component.d.ts} +0 -0
@@ -1382,7 +1382,7 @@ var ButtonComponent = /** @class */ (function () {
1382
1382
  ButtonComponent = ButtonComponent_1 = __decorate([
1383
1383
  Component({
1384
1384
  selector: "s-button",
1385
- template: "<p-tieredMenu [id]=\"id + '-menu'\" [popup]=\"true\" appendTo=\"body\" [baseZIndex]=\"baseZIndex\"></p-tieredMenu>\n\n<button\n [id]=\"id\"\n [type]=\"type\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 's-button-auxiliary': auxiliary,\n 's-button-with-icon': iconClass,\n 's-button-with-text': label,\n 's-button-empty': !iconClass && !label,\n 's-button-size-default': size === 'default',\n 's-button-size-small': size === 'small',\n 's-button-priority-default': priority === 'default',\n 's-button-priority-primary': priority === 'primary',\n 's-button-priority-secondary': priority === 'secondary',\n 's-button-priority-link': priority === 'link',\n 's-button-priority-danger': priority === 'danger',\n 's-button-multiple': (caret && (model && model.length)) || rightIconClass,\n 's-button-active': isOpen(),\n 's-button--slide': validateSlideButton(),\n 's-button--rotate-animation': isRotateAnimation()\n }\"\n [disabled]=\"disabled\"\n [pTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n showDelay=\"500\"\n [tooltipZIndex]=\"tooltipZIndex\"\n (click)=\"onClick.emit($event)\"\n (mouseenter)=\"updateTooltipZIndex()\"\n>\n <span \n *ngIf=\"iconClass\" \n [class]=\"iconClass\" \n [ngClass]=\"{ \n 's-button-icon': true,\n 's-button-icon-margin-right': !label && model && model.length\n }\" \n aria-hidden=\"true\">\n </span>\n <span \n *ngIf=\"label\" \n class=\"s-button-text\"\n [ngClass]=\"{\n 's-button-icon-margin-right': !!rightIconClass || (model && model.length),\n 's-button-icon-margin-left': !!iconClass\n }\">\n {{ label }}\n </span>\n <ng-content></ng-content>\n <span \n *ngIf=\"rightIconClass\" \n [class]=\"rightIconClass\" \n [ngClass]=\"{ 's-button-right-icon': true }\" \n aria-hidden=\"true\">\n </span>\n <span\n *ngIf=\"caret && (model && model.length)\" \n class=\"fa fa-fw fa-caret-down\"\n aria-hidden=\"true\">\n </span>\n</button>\n",
1385
+ template: "<p-tieredMenu [id]=\"id + '-menu'\" [popup]=\"true\" appendTo=\"body\" [baseZIndex]=\"baseZIndex\"></p-tieredMenu>\n\n<button\n [id]=\"id\"\n [type]=\"type\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 's-button-auxiliary': auxiliary,\n 's-button-with-icon': iconClass,\n 's-button-with-text': label,\n 's-button-empty': !iconClass && !label,\n 's-button-size-default': size === 'default',\n 's-button-size-small': size === 'small',\n 's-button-priority-default': priority === 'default',\n 's-button-priority-primary': priority === 'primary',\n 's-button-priority-secondary': priority === 'secondary',\n 's-button-priority-link': priority === 'link',\n 's-button-priority-danger': priority === 'danger',\n 's-button-multiple': (caret && (model && model.length)) || rightIconClass,\n 's-button-active': isOpen(),\n 's-button--slide': validateSlideButton(),\n 's-button--rotate-animation': isRotateAnimation()\n }\"\n [disabled]=\"disabled\"\n [pTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n showDelay=\"500\"\n [tooltipZIndex]=\"tooltipZIndex\"\n (click)=\"onClick.emit($event)\"\n (mouseenter)=\"updateTooltipZIndex()\">\n <span \n *ngIf=\"iconClass\" \n [class]=\"iconClass\" \n [ngClass]=\"{ \n 's-button-icon': true,\n 's-button-icon-margin-right': !label && model && model.length\n }\" \n aria-hidden=\"true\">\n </span>\n <span \n *ngIf=\"label\" \n class=\"s-button-text\"\n [ngClass]=\"{\n 's-button-icon-margin-right': !!rightIconClass || (model && model.length),\n 's-button-icon-margin-left': !!iconClass\n }\">\n {{ label }}\n </span>\n <ng-content></ng-content>\n <span \n *ngIf=\"rightIconClass\" \n [class]=\"rightIconClass\" \n [ngClass]=\"{ 's-button-right-icon': true }\" \n aria-hidden=\"true\">\n </span>\n <span\n *ngIf=\"caret && (model && model.length)\" \n class=\"fa fa-fw fa-caret-down\"\n aria-hidden=\"true\">\n </span>\n</button>\n",
1386
1386
  styles: ["button{-ms-flex-align:center;align-items:center;border:1px solid;border-radius:4px;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:34px;-ms-flex-pack:center;justify-content:center;max-width:100%;min-width:40px;outline:0;overflow:visible;padding:5px 10px;position:relative;text-decoration:none;text-transform:none;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out;vertical-align:bottom}button:disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}button:disabled,button:disabled *{cursor:text!important}button.s-button-auxiliary{border-radius:20px}button.s-button-size-small{height:25px;padding:0 20px}button.s-button-with-icon.s-button-multiple,button.s-button-with-text{min-width:80px}button.s-button-with-icon.s-button-with-text.s-button-multiple{min-width:100px}button .s-button-icon,button .s-button-menu-icon,button .s-button-right-icon,button.s-button-with-icon.s-button-multiple:not(.s-button-with-text) .s-button-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}button.s-button-multiple .s-button-text{-ms-flex-align:left;align-items:left;display:-ms-flexbox;display:flex;-ms-flex-pack:left;justify-content:left}button.s-button-with-icon .s-button-text{-ms-flex-align:right;align-items:right;display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right}.s-button-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s-button-menu-icon{right:10px;transition:transform .2s ease-out}.s-button-icon-margin-left{margin-left:10px}.s-button-icon-margin-right{margin-right:10px}.s-button-active .s-button-menu-icon{transform:rotateX(180deg)}button,button.s-button-priority-primary{background-color:#428bca;border-color:#428bca}button .s-button-icon,button .s-button-menu-icon,button .s-button-right-icon,button .s-button-text,button.s-button-priority-primary .s-button-icon,button.s-button-priority-primary .s-button-menu-icon,button.s-button-priority-primary .s-button-right-icon,button.s-button-priority-primary .s-button-text{color:#fff}button.s-button-priority-primary:hover,button:hover{background-color:#2a6496}button.s-button-priority-primary:focus,button:focus{background-color:#2a6496;border-color:#22dce6}button.s-button-active:not(:disabled),button.s-button-priority-primary.s-button-active:not(:disabled),button.s-button-priority-primary:active:not(:disabled),button:active:not(:disabled){background-color:#245682;border-color:#245682}button.s-button-priority-secondary{background-color:#7892a1;border-color:#7892a1}button.s-button-priority-secondary .s-button-icon,button.s-button-priority-secondary .s-button-menu-icon,button.s-button-priority-secondary .s-button-right-icon,button.s-button-priority-secondary .s-button-text{color:#fff}button.s-button-priority-secondary:hover{background-color:#546b79}button.s-button-priority-secondary:focus{background-color:#546b79;border-color:#22dce6}button.s-button-priority-secondary.s-button-active:not(:disabled),button.s-button-priority-secondary:active:not(:disabled){background-color:#495e6a;border-color:#495e6a}button.s-button-priority-default{background-color:#fff;border-color:#ccc}button.s-button-priority-default .s-button-icon,button.s-button-priority-default .s-button-menu-icon,button.s-button-priority-default .s-button-right-icon,button.s-button-priority-default .s-button-text{color:#333}button.s-button-priority-default:hover{background-color:#d9d9d9}button.s-button-priority-default:focus{background-color:#d9d9d9;border-color:#22dce6}button.s-button-priority-default.s-button-active:not(:disabled),button.s-button-priority-default:active:not(:disabled){background-color:#ccc;border-color:#ccc}.s-button-priority-danger{background-color:#9c3a3a;border-color:#9c3a3a}.s-button-priority-danger .s-button-icon,.s-button-priority-danger .s-button-menu-icon,.s-button-priority-danger .s-button-right-icon,.s-button-priority-danger .s-button-text{color:#fff}.s-button-priority-danger:hover{background-color:#642525}.s-button-priority-danger:focus{background-color:#642525;border-color:#22dce6}.s-button-priority-danger.s-button-active:not(:disabled),.s-button-priority-danger:active:not(:disabled){background-color:#521e1e;border-color:#521e1e}button.s-button-priority-link{background-color:transparent;border-color:transparent}button.s-button-priority-link .s-button-icon,button.s-button-priority-link .s-button-menu-icon,button.s-button-priority-link .s-button-right-icon,button.s-button-priority-link .s-button-text{color:#428bca}button.s-button-priority-link:hover{background-color:transparent}button.s-button-priority-link:hover .s-button-icon,button.s-button-priority-link:hover .s-button-menu-icon,button.s-button-priority-link:hover .s-button-right-icon,button.s-button-priority-link:hover .s-button-text{color:#2a6496}button.s-button-priority-link:focus{border-color:#22dce6;background-color:transparent}button.s-button-priority-link:focus .s-button-icon,button.s-button-priority-link:focus .s-button-menu-icon,button.s-button-priority-link:focus .s-button-right-icon,button.s-button-priority-link:focus .s-button-text{color:#2a6496}button.s-button-priority-link.s-button-active:not(:disabled),button.s-button-priority-link:active:not(:disabled){background-color:transparent;border-color:transparent}button.s-button-priority-link.s-button-active:not(:disabled) .s-button-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-menu-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-right-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-text,button.s-button-priority-link:active:not(:disabled) .s-button-icon,button.s-button-priority-link:active:not(:disabled) .s-button-menu-icon,button.s-button-priority-link:active:not(:disabled) .s-button-right-icon,button.s-button-priority-link:active:not(:disabled) .s-button-text{color:#245682}.s-button--slide.s-button-with-icon.s-button-multiple,.s-button--slide.s-button-with-text{min-width:40px}.s-button--slide .s-button-text{position:absolute;opacity:0;width:0}.s-button--slide:hover .s-button-text{opacity:1;position:relative;transition:1s;width:auto}.s-button--slide:hover.s-button--rotate-animation .s-button-icon,.s-button--slide:hover.s-button--rotate-animation .s-button-right-icon{transform:rotate(360deg);transition:1.5s}"]
1387
1387
  })
1388
1388
  ], ButtonComponent);
@@ -9034,103 +9034,6 @@ var AutocompleteFieldComponent = /** @class */ (function () {
9034
9034
  return AutocompleteFieldComponent;
9035
9035
  }());
9036
9036
 
9037
- var BignumberFieldComponent = /** @class */ (function (_super) {
9038
- __extends(BignumberFieldComponent, _super);
9039
- function BignumberFieldComponent(localeService) {
9040
- var _this = _super.call(this) || this;
9041
- _this.localeService = localeService;
9042
- _this.onInput = new EventEmitter();
9043
- _this.onFocus = new EventEmitter();
9044
- _this.onComplete = new EventEmitter();
9045
- _this.ngUnsubscribe = new Subject();
9046
- return _this;
9047
- }
9048
- BignumberFieldComponent.prototype.ngOnInit = function () {
9049
- var _this = this;
9050
- this.onLocaleService();
9051
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9052
- if (_this.field.onFocus) {
9053
- _this.field.onFocus(event);
9054
- }
9055
- });
9056
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9057
- if (_this.field.onInput) {
9058
- _this.field.onInput(event);
9059
- }
9060
- });
9061
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9062
- if (_this.field.onComplete) {
9063
- _this.field.onComplete(event);
9064
- }
9065
- });
9066
- };
9067
- BignumberFieldComponent.prototype.ngOnDestroy = function () {
9068
- this.ngUnsubscribe.next();
9069
- this.ngUnsubscribe.complete();
9070
- };
9071
- Object.defineProperty(BignumberFieldComponent.prototype, "fieldType", {
9072
- get: function () {
9073
- return FieldType;
9074
- },
9075
- enumerable: true,
9076
- configurable: true
9077
- });
9078
- BignumberFieldComponent.prototype.onLocaleService = function () {
9079
- var _this = this;
9080
- this.localeService
9081
- .getLocale()
9082
- .pipe(first())
9083
- .subscribe({
9084
- next: function () {
9085
- var _a, _b, _c;
9086
- if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9087
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
9088
- }
9089
- if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9090
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
9091
- }
9092
- if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9093
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: _this.field.type === FieldType.Integer || _this.field.type === FieldType.Double ? "" : "R$" });
9094
- }
9095
- },
9096
- error: function () {
9097
- var _a;
9098
- return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9099
- thousandsSeparator: ".",
9100
- decimalSeparator: ",",
9101
- currencySymbol: _this.field.type === FieldType.Integer || _this.field.type === FieldType.Double ? "" : "R$",
9102
- });
9103
- },
9104
- });
9105
- };
9106
- BignumberFieldComponent.ctorParameters = function () { return [
9107
- { type: LocaleService }
9108
- ]; };
9109
- __decorate([
9110
- Input()
9111
- ], BignumberFieldComponent.prototype, "field", void 0);
9112
- __decorate([
9113
- Input()
9114
- ], BignumberFieldComponent.prototype, "formControl", void 0);
9115
- __decorate([
9116
- Output()
9117
- ], BignumberFieldComponent.prototype, "onInput", void 0);
9118
- __decorate([
9119
- Output()
9120
- ], BignumberFieldComponent.prototype, "onFocus", void 0);
9121
- __decorate([
9122
- Output()
9123
- ], BignumberFieldComponent.prototype, "onComplete", void 0);
9124
- BignumberFieldComponent = __decorate([
9125
- Component({
9126
- template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n <ng-container *ngIf=\"field.rightAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
9127
- encapsulation: ViewEncapsulation.None,
9128
- styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
9129
- })
9130
- ], BignumberFieldComponent);
9131
- return BignumberFieldComponent;
9132
- }(BaseFieldComponent));
9133
-
9134
9037
  var BooleanFieldComponent = /** @class */ (function () {
9135
9038
  function BooleanFieldComponent() {
9136
9039
  }
@@ -9314,64 +9217,6 @@ var CountryPhonePickerFieldComponent = /** @class */ (function () {
9314
9217
  return CountryPhonePickerFieldComponent;
9315
9218
  }());
9316
9219
 
9317
- /**
9318
- * @deprecated Should use bignumber instead
9319
- */
9320
- var CurrencyFieldComponent = /** @class */ (function (_super) {
9321
- __extends(CurrencyFieldComponent, _super);
9322
- function CurrencyFieldComponent(localeService) {
9323
- var _this = _super.call(this) || this;
9324
- _this.localeService = localeService;
9325
- return _this;
9326
- }
9327
- CurrencyFieldComponent.prototype.ngOnInit = function () {
9328
- this.onLocaleService();
9329
- };
9330
- CurrencyFieldComponent.prototype.onLocaleService = function () {
9331
- var _this = this;
9332
- this.localeService
9333
- .getLocale()
9334
- .pipe(first())
9335
- .subscribe({
9336
- next: function () {
9337
- var _a, _b, _c;
9338
- if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9339
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
9340
- }
9341
- if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9342
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
9343
- }
9344
- if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9345
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
9346
- }
9347
- },
9348
- error: function () {
9349
- var _a;
9350
- return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9351
- thousandsSeparator: ".",
9352
- decimalSeparator: ",",
9353
- currencySymbol: "R$",
9354
- });
9355
- },
9356
- });
9357
- };
9358
- CurrencyFieldComponent.ctorParameters = function () { return [
9359
- { type: LocaleService }
9360
- ]; };
9361
- __decorate([
9362
- Input()
9363
- ], CurrencyFieldComponent.prototype, "field", void 0);
9364
- __decorate([
9365
- Input()
9366
- ], CurrencyFieldComponent.prototype, "formControl", void 0);
9367
- CurrencyFieldComponent = __decorate([
9368
- Component({
9369
- template: "<div class=\"ui-inputgroup\">\n <span\n *ngIf=\"field.numberLocaleOptions.currencySymbol\"\n class=\"ui-inputgroup-addon\">\n {{ field.numberLocaleOptions.currencySymbol }}\n </span>\n <input\n *ngIf=\"!field.mask\"\n type=\"text\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event): null\" />\n <p-inputMask\n *ngIf=\"field.mask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\" >\n </p-inputMask>\n</div>\n"
9370
- })
9371
- ], CurrencyFieldComponent);
9372
- return CurrencyFieldComponent;
9373
- }(BaseFieldComponent));
9374
-
9375
9220
  var FieldsetComponent = /** @class */ (function () {
9376
9221
  function FieldsetComponent() {
9377
9222
  }
@@ -9432,107 +9277,6 @@ var LookupFieldComponent = /** @class */ (function () {
9432
9277
  return LookupFieldComponent;
9433
9278
  }());
9434
9279
 
9435
- var NumberFieldComponent = /** @class */ (function (_super) {
9436
- __extends(NumberFieldComponent, _super);
9437
- function NumberFieldComponent(localeService) {
9438
- var _this = _super.call(this) || this;
9439
- _this.localeService = localeService;
9440
- _this.onInput = new EventEmitter();
9441
- _this.onFocus = new EventEmitter();
9442
- _this.onComplete = new EventEmitter();
9443
- _this.ngUnsubscribe = new Subject();
9444
- return _this;
9445
- }
9446
- NumberFieldComponent.prototype.ngOnInit = function () {
9447
- var _this = this;
9448
- this.onLocaleService();
9449
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9450
- if (_this.field.onFocus)
9451
- _this.field.onFocus(event);
9452
- });
9453
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9454
- if (_this.field.onInput)
9455
- _this.field.onInput(event);
9456
- });
9457
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9458
- if (_this.field.onComplete)
9459
- _this.field.onComplete(event);
9460
- });
9461
- };
9462
- NumberFieldComponent.prototype.ngOnDestroy = function () {
9463
- this.ngUnsubscribe.next();
9464
- this.ngUnsubscribe.complete();
9465
- };
9466
- Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
9467
- get: function () {
9468
- return NumberAlignmentOption;
9469
- },
9470
- enumerable: true,
9471
- configurable: true
9472
- });
9473
- Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
9474
- get: function () {
9475
- return FieldType;
9476
- },
9477
- enumerable: true,
9478
- configurable: true
9479
- });
9480
- NumberFieldComponent.prototype.onLocaleService = function () {
9481
- var _this = this;
9482
- this.localeService
9483
- .getLocale()
9484
- .pipe(first())
9485
- .subscribe({
9486
- next: function () {
9487
- var _a, _b, _c;
9488
- if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9489
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
9490
- }
9491
- if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9492
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
9493
- }
9494
- if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9495
- _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
9496
- }
9497
- },
9498
- error: function () {
9499
- var _a;
9500
- return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9501
- thousandsSeparator: ".",
9502
- decimalSeparator: ",",
9503
- currencySymbol: "R$",
9504
- });
9505
- },
9506
- });
9507
- };
9508
- NumberFieldComponent.ctorParameters = function () { return [
9509
- { type: LocaleService }
9510
- ]; };
9511
- __decorate([
9512
- Input()
9513
- ], NumberFieldComponent.prototype, "field", void 0);
9514
- __decorate([
9515
- Input()
9516
- ], NumberFieldComponent.prototype, "formControl", void 0);
9517
- __decorate([
9518
- Output()
9519
- ], NumberFieldComponent.prototype, "onInput", void 0);
9520
- __decorate([
9521
- Output()
9522
- ], NumberFieldComponent.prototype, "onFocus", void 0);
9523
- __decorate([
9524
- Output()
9525
- ], NumberFieldComponent.prototype, "onComplete", void 0);
9526
- NumberFieldComponent = __decorate([
9527
- Component({
9528
- template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
9529
- encapsulation: ViewEncapsulation.None,
9530
- styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
9531
- })
9532
- ], NumberFieldComponent);
9533
- return NumberFieldComponent;
9534
- }(BaseFieldComponent));
9535
-
9536
9280
  var PasswordFieldComponent = /** @class */ (function () {
9537
9281
  function PasswordFieldComponent() {
9538
9282
  this.onInput = new EventEmitter();
@@ -9891,60 +9635,6 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
9891
9635
  return TextAreaIAFieldComponent;
9892
9636
  }());
9893
9637
 
9894
- var TextFieldComponent = /** @class */ (function (_super) {
9895
- __extends(TextFieldComponent, _super);
9896
- function TextFieldComponent() {
9897
- var _this = _super !== null && _super.apply(this, arguments) || this;
9898
- _this.onInput = new EventEmitter();
9899
- _this.onFocus = new EventEmitter();
9900
- _this.onComplete = new EventEmitter();
9901
- _this.ngUnsubscribe = new Subject();
9902
- return _this;
9903
- }
9904
- TextFieldComponent.prototype.ngOnInit = function () {
9905
- var _this = this;
9906
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9907
- if (_this.field.onFocus)
9908
- _this.field.onFocus(event);
9909
- });
9910
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9911
- if (_this.field.onInput)
9912
- _this.field.onInput(event);
9913
- });
9914
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9915
- if (_this.field.onComplete)
9916
- _this.field.onComplete(event);
9917
- });
9918
- };
9919
- TextFieldComponent.prototype.ngOnDestroy = function () {
9920
- this.ngUnsubscribe.next();
9921
- this.ngUnsubscribe.complete();
9922
- };
9923
- __decorate([
9924
- Input()
9925
- ], TextFieldComponent.prototype, "field", void 0);
9926
- __decorate([
9927
- Input()
9928
- ], TextFieldComponent.prototype, "formControl", void 0);
9929
- __decorate([
9930
- Output()
9931
- ], TextFieldComponent.prototype, "onInput", void 0);
9932
- __decorate([
9933
- Output()
9934
- ], TextFieldComponent.prototype, "onFocus", void 0);
9935
- __decorate([
9936
- Output()
9937
- ], TextFieldComponent.prototype, "onComplete", void 0);
9938
- TextFieldComponent = __decorate([
9939
- Component({
9940
- template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n <ng-container *ngIf=\"field.rightAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [type]=\"field.inputType || 'text'\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n",
9941
- encapsulation: ViewEncapsulation.None,
9942
- styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
9943
- })
9944
- ], TextFieldComponent);
9945
- return TextFieldComponent;
9946
- }(BaseFieldComponent));
9947
-
9948
9638
  var RowComponent = /** @class */ (function () {
9949
9639
  function RowComponent() {
9950
9640
  }
@@ -10024,6 +9714,215 @@ var StructureType;
10024
9714
  StructureType["Section"] = "Section";
10025
9715
  })(StructureType || (StructureType = {}));
10026
9716
 
9717
+ var BignumberFieldComponent = /** @class */ (function (_super) {
9718
+ __extends(BignumberFieldComponent, _super);
9719
+ function BignumberFieldComponent(localeService) {
9720
+ var _this = _super.call(this) || this;
9721
+ _this.localeService = localeService;
9722
+ _this.onInput = new EventEmitter();
9723
+ _this.onFocus = new EventEmitter();
9724
+ _this.onComplete = new EventEmitter();
9725
+ _this.ngUnsubscribe = new Subject();
9726
+ return _this;
9727
+ }
9728
+ BignumberFieldComponent.prototype.ngOnInit = function () {
9729
+ var _this = this;
9730
+ this.onLocaleService();
9731
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9732
+ if (_this.field.onFocus) {
9733
+ _this.field.onFocus(event);
9734
+ }
9735
+ });
9736
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9737
+ if (_this.field.onInput) {
9738
+ _this.field.onInput(event);
9739
+ }
9740
+ });
9741
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9742
+ if (_this.field.onComplete) {
9743
+ _this.field.onComplete(event);
9744
+ }
9745
+ });
9746
+ };
9747
+ BignumberFieldComponent.prototype.ngOnDestroy = function () {
9748
+ this.ngUnsubscribe.next();
9749
+ this.ngUnsubscribe.complete();
9750
+ };
9751
+ Object.defineProperty(BignumberFieldComponent.prototype, "fieldType", {
9752
+ get: function () {
9753
+ return FieldType;
9754
+ },
9755
+ enumerable: true,
9756
+ configurable: true
9757
+ });
9758
+ BignumberFieldComponent.prototype.onLocaleService = function () {
9759
+ var _this = this;
9760
+ this.localeService
9761
+ .getLocale()
9762
+ .pipe(first())
9763
+ .subscribe({
9764
+ next: function () {
9765
+ var _a, _b, _c;
9766
+ if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9767
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
9768
+ }
9769
+ if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9770
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
9771
+ }
9772
+ if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9773
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: _this.field.type === FieldType.Integer || _this.field.type === FieldType.Double ? "" : "R$" });
9774
+ }
9775
+ },
9776
+ error: function () {
9777
+ var _a;
9778
+ return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9779
+ thousandsSeparator: ".",
9780
+ decimalSeparator: ",",
9781
+ currencySymbol: _this.field.type === FieldType.Integer || _this.field.type === FieldType.Double ? "" : "R$",
9782
+ });
9783
+ },
9784
+ });
9785
+ };
9786
+ BignumberFieldComponent.ctorParameters = function () { return [
9787
+ { type: LocaleService }
9788
+ ]; };
9789
+ __decorate([
9790
+ Input()
9791
+ ], BignumberFieldComponent.prototype, "field", void 0);
9792
+ __decorate([
9793
+ Input()
9794
+ ], BignumberFieldComponent.prototype, "formControl", void 0);
9795
+ __decorate([
9796
+ Output()
9797
+ ], BignumberFieldComponent.prototype, "onInput", void 0);
9798
+ __decorate([
9799
+ Output()
9800
+ ], BignumberFieldComponent.prototype, "onFocus", void 0);
9801
+ __decorate([
9802
+ Output()
9803
+ ], BignumberFieldComponent.prototype, "onComplete", void 0);
9804
+ BignumberFieldComponent = __decorate([
9805
+ Component({
9806
+ template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
9807
+ encapsulation: ViewEncapsulation.None,
9808
+ styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px!important}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
9809
+ })
9810
+ ], BignumberFieldComponent);
9811
+ return BignumberFieldComponent;
9812
+ }(BaseFieldComponent));
9813
+
9814
+ /**
9815
+ * @deprecated Should use bignumber instead
9816
+ */
9817
+ var CurrencyFieldComponent = /** @class */ (function (_super) {
9818
+ __extends(CurrencyFieldComponent, _super);
9819
+ function CurrencyFieldComponent(localeService) {
9820
+ var _this = _super.call(this) || this;
9821
+ _this.localeService = localeService;
9822
+ return _this;
9823
+ }
9824
+ CurrencyFieldComponent.prototype.ngOnInit = function () {
9825
+ this.onLocaleService();
9826
+ };
9827
+ CurrencyFieldComponent.prototype.onLocaleService = function () {
9828
+ var _this = this;
9829
+ this.localeService
9830
+ .getLocale()
9831
+ .pipe(first())
9832
+ .subscribe({
9833
+ next: function () {
9834
+ var _a, _b, _c;
9835
+ if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9836
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
9837
+ }
9838
+ if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9839
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
9840
+ }
9841
+ if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9842
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
9843
+ }
9844
+ },
9845
+ error: function () {
9846
+ var _a;
9847
+ return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9848
+ thousandsSeparator: ".",
9849
+ decimalSeparator: ",",
9850
+ currencySymbol: "R$",
9851
+ });
9852
+ },
9853
+ });
9854
+ };
9855
+ CurrencyFieldComponent.ctorParameters = function () { return [
9856
+ { type: LocaleService }
9857
+ ]; };
9858
+ __decorate([
9859
+ Input()
9860
+ ], CurrencyFieldComponent.prototype, "field", void 0);
9861
+ __decorate([
9862
+ Input()
9863
+ ], CurrencyFieldComponent.prototype, "formControl", void 0);
9864
+ CurrencyFieldComponent = __decorate([
9865
+ Component({
9866
+ template: "<div class=\"ui-inputgroup\">\n <span\n *ngIf=\"field.numberLocaleOptions.currencySymbol\"\n class=\"ui-inputgroup-addon\">\n {{ field.numberLocaleOptions.currencySymbol }}\n </span>\n <input\n *ngIf=\"!field.mask\"\n type=\"text\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event): null\" />\n <p-inputMask\n *ngIf=\"field.mask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\" >\n </p-inputMask>\n</div>\n"
9867
+ })
9868
+ ], CurrencyFieldComponent);
9869
+ return CurrencyFieldComponent;
9870
+ }(BaseFieldComponent));
9871
+
9872
+ var TextFieldComponent = /** @class */ (function (_super) {
9873
+ __extends(TextFieldComponent, _super);
9874
+ function TextFieldComponent() {
9875
+ var _this = _super !== null && _super.apply(this, arguments) || this;
9876
+ _this.onInput = new EventEmitter();
9877
+ _this.onFocus = new EventEmitter();
9878
+ _this.onComplete = new EventEmitter();
9879
+ _this.ngUnsubscribe = new Subject();
9880
+ return _this;
9881
+ }
9882
+ TextFieldComponent.prototype.ngOnInit = function () {
9883
+ var _this = this;
9884
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9885
+ if (_this.field.onFocus)
9886
+ _this.field.onFocus(event);
9887
+ });
9888
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9889
+ if (_this.field.onInput)
9890
+ _this.field.onInput(event);
9891
+ });
9892
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
9893
+ if (_this.field.onComplete)
9894
+ _this.field.onComplete(event);
9895
+ });
9896
+ };
9897
+ TextFieldComponent.prototype.ngOnDestroy = function () {
9898
+ this.ngUnsubscribe.next();
9899
+ this.ngUnsubscribe.complete();
9900
+ };
9901
+ __decorate([
9902
+ Input()
9903
+ ], TextFieldComponent.prototype, "field", void 0);
9904
+ __decorate([
9905
+ Input()
9906
+ ], TextFieldComponent.prototype, "formControl", void 0);
9907
+ __decorate([
9908
+ Output()
9909
+ ], TextFieldComponent.prototype, "onInput", void 0);
9910
+ __decorate([
9911
+ Output()
9912
+ ], TextFieldComponent.prototype, "onFocus", void 0);
9913
+ __decorate([
9914
+ Output()
9915
+ ], TextFieldComponent.prototype, "onComplete", void 0);
9916
+ TextFieldComponent = __decorate([
9917
+ Component({
9918
+ template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n",
9919
+ encapsulation: ViewEncapsulation.None,
9920
+ styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
9921
+ })
9922
+ ], TextFieldComponent);
9923
+ return TextFieldComponent;
9924
+ }(BaseFieldComponent));
9925
+
10027
9926
  var DynamicForm = /** @class */ (function () {
10028
9927
  function DynamicForm(_a) {
10029
9928
  var group = _a.group, errorMessages = _a.errorMessages;
@@ -10257,6 +10156,187 @@ var DynamicFormDirective = /** @class */ (function () {
10257
10156
  return DynamicFormDirective;
10258
10157
  }());
10259
10158
 
10159
+ var TextFieldModule = /** @class */ (function () {
10160
+ function TextFieldModule() {
10161
+ }
10162
+ TextFieldModule = __decorate([
10163
+ NgModule({
10164
+ imports: [
10165
+ CommonModule,
10166
+ FormsModule,
10167
+ ReactiveFormsModule,
10168
+ ButtonModule,
10169
+ TooltipModule,
10170
+ InputMaskModule,
10171
+ InputTextModule,
10172
+ KeyFilterModule,
10173
+ ],
10174
+ declarations: [TextFieldComponent],
10175
+ exports: [TextFieldComponent],
10176
+ })
10177
+ ], TextFieldModule);
10178
+ return TextFieldModule;
10179
+ }());
10180
+
10181
+ var NumberFieldComponent = /** @class */ (function (_super) {
10182
+ __extends(NumberFieldComponent, _super);
10183
+ function NumberFieldComponent(localeService) {
10184
+ var _this = _super.call(this) || this;
10185
+ _this.localeService = localeService;
10186
+ _this.onInput = new EventEmitter();
10187
+ _this.onFocus = new EventEmitter();
10188
+ _this.onComplete = new EventEmitter();
10189
+ _this.ngUnsubscribe = new Subject();
10190
+ return _this;
10191
+ }
10192
+ NumberFieldComponent.prototype.ngOnInit = function () {
10193
+ var _this = this;
10194
+ this.onLocaleService();
10195
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
10196
+ if (_this.field.onFocus)
10197
+ _this.field.onFocus(event);
10198
+ });
10199
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
10200
+ if (_this.field.onInput)
10201
+ _this.field.onInput(event);
10202
+ });
10203
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
10204
+ if (_this.field.onComplete)
10205
+ _this.field.onComplete(event);
10206
+ });
10207
+ };
10208
+ NumberFieldComponent.prototype.ngOnDestroy = function () {
10209
+ this.ngUnsubscribe.next();
10210
+ this.ngUnsubscribe.complete();
10211
+ };
10212
+ Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
10213
+ get: function () {
10214
+ return NumberAlignmentOption;
10215
+ },
10216
+ enumerable: true,
10217
+ configurable: true
10218
+ });
10219
+ Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
10220
+ get: function () {
10221
+ return FieldType;
10222
+ },
10223
+ enumerable: true,
10224
+ configurable: true
10225
+ });
10226
+ NumberFieldComponent.prototype.onLocaleService = function () {
10227
+ var _this = this;
10228
+ this.localeService
10229
+ .getLocale()
10230
+ .pipe(first())
10231
+ .subscribe({
10232
+ next: function () {
10233
+ var _a, _b, _c;
10234
+ if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
10235
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
10236
+ }
10237
+ if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
10238
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
10239
+ }
10240
+ if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
10241
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
10242
+ }
10243
+ },
10244
+ error: function () {
10245
+ var _a;
10246
+ return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
10247
+ thousandsSeparator: ".",
10248
+ decimalSeparator: ",",
10249
+ currencySymbol: "R$",
10250
+ });
10251
+ },
10252
+ });
10253
+ };
10254
+ NumberFieldComponent.ctorParameters = function () { return [
10255
+ { type: LocaleService }
10256
+ ]; };
10257
+ __decorate([
10258
+ Input()
10259
+ ], NumberFieldComponent.prototype, "field", void 0);
10260
+ __decorate([
10261
+ Input()
10262
+ ], NumberFieldComponent.prototype, "formControl", void 0);
10263
+ __decorate([
10264
+ Output()
10265
+ ], NumberFieldComponent.prototype, "onInput", void 0);
10266
+ __decorate([
10267
+ Output()
10268
+ ], NumberFieldComponent.prototype, "onFocus", void 0);
10269
+ __decorate([
10270
+ Output()
10271
+ ], NumberFieldComponent.prototype, "onComplete", void 0);
10272
+ NumberFieldComponent = __decorate([
10273
+ Component({
10274
+ template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
10275
+ encapsulation: ViewEncapsulation.None,
10276
+ styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
10277
+ })
10278
+ ], NumberFieldComponent);
10279
+ return NumberFieldComponent;
10280
+ }(BaseFieldComponent));
10281
+
10282
+ var NumberFieldModule = /** @class */ (function () {
10283
+ function NumberFieldModule() {
10284
+ }
10285
+ NumberFieldModule = __decorate([
10286
+ NgModule({
10287
+ imports: [
10288
+ CommonModule,
10289
+ FormsModule,
10290
+ ReactiveFormsModule,
10291
+ LocalizedNumberInputModule,
10292
+ NumberInputModule,
10293
+ ButtonModule,
10294
+ TooltipModule,
10295
+ InputMaskModule,
10296
+ InputTextModule,
10297
+ ],
10298
+ declarations: [NumberFieldComponent],
10299
+ exports: [NumberFieldComponent],
10300
+ })
10301
+ ], NumberFieldModule);
10302
+ return NumberFieldModule;
10303
+ }());
10304
+
10305
+ var CurrencyFieldModule = /** @class */ (function () {
10306
+ function CurrencyFieldModule() {
10307
+ }
10308
+ CurrencyFieldModule = __decorate([
10309
+ NgModule({
10310
+ imports: [CommonModule, FormsModule, ReactiveFormsModule, NumberInputModule, TooltipModule, InputMaskModule, InputTextModule],
10311
+ declarations: [CurrencyFieldComponent],
10312
+ exports: [CurrencyFieldComponent],
10313
+ })
10314
+ ], CurrencyFieldModule);
10315
+ return CurrencyFieldModule;
10316
+ }());
10317
+
10318
+ var NumberFieldModule$1 = /** @class */ (function () {
10319
+ function NumberFieldModule() {
10320
+ }
10321
+ NumberFieldModule = __decorate([
10322
+ NgModule({
10323
+ imports: [
10324
+ CommonModule,
10325
+ FormsModule,
10326
+ ReactiveFormsModule,
10327
+ ButtonModule,
10328
+ BignumberInputModule,
10329
+ TooltipModule,
10330
+ InputMaskModule,
10331
+ InputTextModule,
10332
+ ],
10333
+ declarations: [BignumberFieldComponent],
10334
+ exports: [BignumberFieldComponent],
10335
+ })
10336
+ ], NumberFieldModule);
10337
+ return NumberFieldModule;
10338
+ }());
10339
+
10260
10340
  var DynamicFormModule = /** @class */ (function () {
10261
10341
  function DynamicFormModule() {
10262
10342
  }
@@ -10305,16 +10385,18 @@ var DynamicFormModule = /** @class */ (function () {
10305
10385
  PasswordStrengthModule,
10306
10386
  SliderModule,
10307
10387
  TranslateModule.forChild(),
10388
+ TextFieldModule,
10389
+ NumberFieldModule,
10390
+ CurrencyFieldModule,
10391
+ NumberFieldModule$1,
10308
10392
  ],
10309
10393
  declarations: [
10310
10394
  AutocompleteFieldComponent,
10311
- BignumberFieldComponent,
10312
10395
  BooleanFieldComponent,
10313
10396
  BooleanSwitchFieldComponent,
10314
10397
  CalendarFieldComponent,
10315
10398
  ChipsFieldComponent,
10316
10399
  CountryPhonePickerFieldComponent,
10317
- CurrencyFieldComponent,
10318
10400
  DynamicFieldComponent,
10319
10401
  DynamicFormComponent,
10320
10402
  DynamicFormDirective,
@@ -10322,7 +10404,6 @@ var DynamicFormModule = /** @class */ (function () {
10322
10404
  FileUploadComponent$1,
10323
10405
  LookupComponent,
10324
10406
  LookupFieldComponent,
10325
- NumberFieldComponent,
10326
10407
  PasswordFieldComponent,
10327
10408
  RadioButtonComponent,
10328
10409
  RowComponent,
@@ -10331,22 +10412,18 @@ var DynamicFormModule = /** @class */ (function () {
10331
10412
  SliderFieldComponent,
10332
10413
  TextAreaFieldComponent,
10333
10414
  TextAreaIAFieldComponent,
10334
- TextFieldComponent,
10335
10415
  ],
10336
10416
  exports: [DynamicFormComponent, LookupComponent],
10337
10417
  entryComponents: [
10338
10418
  AutocompleteFieldComponent,
10339
- BignumberFieldComponent,
10340
10419
  BooleanFieldComponent,
10341
10420
  BooleanSwitchFieldComponent,
10342
10421
  CalendarFieldComponent,
10343
10422
  ChipsFieldComponent,
10344
10423
  CountryPhonePickerFieldComponent,
10345
- CurrencyFieldComponent,
10346
10424
  FieldsetComponent,
10347
10425
  FileUploadComponent$1,
10348
10426
  LookupFieldComponent,
10349
- NumberFieldComponent,
10350
10427
  PasswordFieldComponent,
10351
10428
  RadioButtonComponent,
10352
10429
  RowComponent,
@@ -10355,7 +10432,6 @@ var DynamicFormModule = /** @class */ (function () {
10355
10432
  SliderFieldComponent,
10356
10433
  TextAreaFieldComponent,
10357
10434
  TextAreaIAFieldComponent,
10358
- TextFieldComponent,
10359
10435
  ],
10360
10436
  providers: [
10361
10437
  HotkeysService,
@@ -17495,5 +17571,5 @@ var fallback = {
17495
17571
  * Generated bundle index. Do not edit.
17496
17572
  */
17497
17573
 
17498
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, BignumberFieldComponent as ɵba, BooleanFieldComponent as ɵbb, BooleanSwitchFieldComponent as ɵbc, CalendarFieldComponent as ɵbd, ChipsFieldComponent as ɵbe, CountryPhonePickerFieldComponent as ɵbf, CurrencyFieldComponent as ɵbg, DynamicFieldComponent as ɵbh, DynamicFormDirective as ɵbi, FieldsetComponent as ɵbj, FileUploadComponent$1 as ɵbk, LookupFieldComponent as ɵbl, NumberFieldComponent as ɵbm, PasswordFieldComponent as ɵbn, RadioButtonComponent as ɵbo, RowComponent as ɵbp, SectionComponent as ɵbq, SelectFieldComponent as ɵbr, SliderFieldComponent as ɵbs, TextAreaFieldComponent as ɵbt, TextAreaIAFieldComponent as ɵbu, IAssistService as ɵbv, TextFieldComponent as ɵbw, DecimalField as ɵby, SideTableComponent as ɵbz, TemplateDirective as ɵc, ThumbnailService as ɵca, InfiniteScrollModule as ɵcb, InfiniteScrollDirective as ɵcc, IAInsightSidebarComponent as ɵcd, IAInsightCardComponent as ɵce, IAInsightCardLoaderComponent as ɵcf, StructureModule as ɵcg, HeaderComponent as ɵch, FooterComponent as ɵci, KanbanEventService as ɵcj, KanbanItemComponent as ɵck, KanbanColumnComponent as ɵcl, KanbanItemDraggingComponent as ɵcm, NumberLocaleOptions as ɵcn, BorderButtonModule as ɵco, BorderButtonComponent as ɵcp, SelectButtonItemComponent as ɵcq, SlidePanelService as ɵcr, TieredMenuEventService as ɵcs, TieredMenuService as ɵct, TieredMenuComponent as ɵcu, TieredMenuNestedComponent as ɵcv, TieredMenuItemComponent as ɵcw, TieredMenuDividerComponent as ɵcx, TimelineItemModule as ɵcy, TimelineIconItemComponent as ɵcz, TemplateModule as ɵd, HorizontalTimelineModule as ɵda, HorizontalTimelineComponent as ɵdb, VerticalTimelineModule as ɵdc, VerticalTimelineComponent as ɵdd, RangeLineComponent as ɵde, CollapseOptionComponent as ɵdf, CollapsedItemsComponent as ɵdg, VerticalItemsComponent as ɵdh, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, EmptyStateGoBackComponent as ɵm, IAssistIconComponent as ɵn, SeniorIconComponent as ɵo, DotsIndicatorComponent as ɵp, LoadingIndicatorComponent as ɵq, ProgressBarDeterminateComponent as ɵr, ProgressBarIndeterminateComponent as ɵs, FileUploadService as ɵt, FileItemComponent as ɵu, LocaleService as ɵv, InfoSignComponent as ɵw, TableColumnsComponent as ɵx, TablePagingComponent as ɵy, AutocompleteFieldComponent as ɵz };
17574
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, TextFieldComponent as ɵba, NumberFieldModule as ɵbb, LocalizedNumberInputModule as ɵbc, NumberInputModule as ɵbd, NumberFieldComponent as ɵbe, CurrencyFieldModule as ɵbf, CurrencyFieldComponent as ɵbg, NumberFieldModule$1 as ɵbh, BignumberInputModule as ɵbi, BignumberFieldComponent as ɵbj, AutocompleteFieldComponent as ɵbk, BooleanFieldComponent as ɵbl, BooleanSwitchFieldComponent as ɵbm, CalendarFieldComponent as ɵbn, ChipsFieldComponent as ɵbo, CountryPhonePickerFieldComponent as ɵbp, DynamicFieldComponent as ɵbq, DynamicFormDirective as ɵbr, FieldsetComponent as ɵbs, FileUploadComponent$1 as ɵbt, LookupFieldComponent as ɵbu, PasswordFieldComponent as ɵbv, RadioButtonComponent as ɵbw, RowComponent as ɵbx, SectionComponent as ɵby, SelectFieldComponent as ɵbz, TemplateDirective as ɵc, SliderFieldComponent as ɵca, TextAreaFieldComponent as ɵcb, TextAreaIAFieldComponent as ɵcc, IAssistService as ɵcd, DecimalField as ɵcf, SideTableComponent as ɵcg, ThumbnailService as ɵch, InfiniteScrollModule as ɵci, InfiniteScrollDirective as ɵcj, IAInsightSidebarComponent as ɵck, IAInsightCardComponent as ɵcl, IAInsightCardLoaderComponent as ɵcm, StructureModule as ɵcn, HeaderComponent as ɵco, FooterComponent as ɵcp, KanbanEventService as ɵcq, KanbanItemComponent as ɵcr, KanbanColumnComponent as ɵcs, KanbanItemDraggingComponent as ɵct, NumberLocaleOptions as ɵcu, BorderButtonModule as ɵcv, BorderButtonComponent as ɵcw, SelectButtonItemComponent as ɵcx, SlidePanelService as ɵcy, TieredMenuEventService as ɵcz, TemplateModule as ɵd, TieredMenuService as ɵda, TieredMenuComponent as ɵdb, TieredMenuNestedComponent as ɵdc, TieredMenuItemComponent as ɵdd, TieredMenuDividerComponent as ɵde, TimelineItemModule as ɵdf, TimelineIconItemComponent as ɵdg, HorizontalTimelineModule as ɵdh, HorizontalTimelineComponent as ɵdi, VerticalTimelineModule as ɵdj, VerticalTimelineComponent as ɵdk, RangeLineComponent as ɵdl, CollapseOptionComponent as ɵdm, CollapsedItemsComponent as ɵdn, VerticalItemsComponent as ɵdo, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, EmptyStateGoBackComponent as ɵm, IAssistIconComponent as ɵn, SeniorIconComponent as ɵo, DotsIndicatorComponent as ɵp, LoadingIndicatorComponent as ɵq, ProgressBarDeterminateComponent as ɵr, ProgressBarIndeterminateComponent as ɵs, FileUploadService as ɵt, FileItemComponent as ɵu, LocaleService as ɵv, InfoSignComponent as ɵw, TableColumnsComponent as ɵx, TablePagingComponent as ɵy, TextFieldModule as ɵz };
17499
17575
  //# sourceMappingURL=seniorsistemas-angular-components.js.map