@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
@@ -1311,7 +1311,7 @@ __decorate([
1311
1311
  ButtonComponent = ButtonComponent_1 = __decorate([
1312
1312
  Component({
1313
1313
  selector: "s-button",
1314
- 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",
1314
+ 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",
1315
1315
  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}"]
1316
1316
  })
1317
1317
  ], ButtonComponent);
@@ -8438,94 +8438,6 @@ AutocompleteFieldComponent = __decorate([
8438
8438
  })
8439
8439
  ], AutocompleteFieldComponent);
8440
8440
 
8441
- let BignumberFieldComponent = class BignumberFieldComponent extends BaseFieldComponent {
8442
- constructor(localeService) {
8443
- super();
8444
- this.localeService = localeService;
8445
- this.onInput = new EventEmitter();
8446
- this.onFocus = new EventEmitter();
8447
- this.onComplete = new EventEmitter();
8448
- this.ngUnsubscribe = new Subject();
8449
- }
8450
- ngOnInit() {
8451
- this.onLocaleService();
8452
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
8453
- if (this.field.onFocus) {
8454
- this.field.onFocus(event);
8455
- }
8456
- });
8457
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
8458
- if (this.field.onInput) {
8459
- this.field.onInput(event);
8460
- }
8461
- });
8462
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
8463
- if (this.field.onComplete) {
8464
- this.field.onComplete(event);
8465
- }
8466
- });
8467
- }
8468
- ngOnDestroy() {
8469
- this.ngUnsubscribe.next();
8470
- this.ngUnsubscribe.complete();
8471
- }
8472
- get fieldType() {
8473
- return FieldType;
8474
- }
8475
- onLocaleService() {
8476
- this.localeService
8477
- .getLocale()
8478
- .pipe(first())
8479
- .subscribe({
8480
- next: () => {
8481
- var _a, _b, _c;
8482
- if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
8483
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
8484
- }
8485
- if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
8486
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
8487
- }
8488
- if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
8489
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$" });
8490
- }
8491
- },
8492
- error: () => {
8493
- var _a;
8494
- return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
8495
- thousandsSeparator: ".",
8496
- decimalSeparator: ",",
8497
- currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$",
8498
- });
8499
- },
8500
- });
8501
- }
8502
- };
8503
- BignumberFieldComponent.ctorParameters = () => [
8504
- { type: LocaleService }
8505
- ];
8506
- __decorate([
8507
- Input()
8508
- ], BignumberFieldComponent.prototype, "field", void 0);
8509
- __decorate([
8510
- Input()
8511
- ], BignumberFieldComponent.prototype, "formControl", void 0);
8512
- __decorate([
8513
- Output()
8514
- ], BignumberFieldComponent.prototype, "onInput", void 0);
8515
- __decorate([
8516
- Output()
8517
- ], BignumberFieldComponent.prototype, "onFocus", void 0);
8518
- __decorate([
8519
- Output()
8520
- ], BignumberFieldComponent.prototype, "onComplete", void 0);
8521
- BignumberFieldComponent = __decorate([
8522
- Component({
8523
- 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",
8524
- encapsulation: ViewEncapsulation.None,
8525
- 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}"]
8526
- })
8527
- ], BignumberFieldComponent);
8528
-
8529
8441
  let BooleanFieldComponent = class BooleanFieldComponent {
8530
8442
  onClear() {
8531
8443
  this.formControl.reset();
@@ -8697,60 +8609,6 @@ CountryPhonePickerFieldComponent = __decorate([
8697
8609
  })
8698
8610
  ], CountryPhonePickerFieldComponent);
8699
8611
 
8700
- /**
8701
- * @deprecated Should use bignumber instead
8702
- */
8703
- let CurrencyFieldComponent = class CurrencyFieldComponent extends BaseFieldComponent {
8704
- constructor(localeService) {
8705
- super();
8706
- this.localeService = localeService;
8707
- }
8708
- ngOnInit() {
8709
- this.onLocaleService();
8710
- }
8711
- onLocaleService() {
8712
- this.localeService
8713
- .getLocale()
8714
- .pipe(first())
8715
- .subscribe({
8716
- next: () => {
8717
- var _a, _b, _c;
8718
- if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
8719
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
8720
- }
8721
- if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
8722
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
8723
- }
8724
- if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
8725
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
8726
- }
8727
- },
8728
- error: () => {
8729
- var _a;
8730
- return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
8731
- thousandsSeparator: ".",
8732
- decimalSeparator: ",",
8733
- currencySymbol: "R$",
8734
- });
8735
- },
8736
- });
8737
- }
8738
- };
8739
- CurrencyFieldComponent.ctorParameters = () => [
8740
- { type: LocaleService }
8741
- ];
8742
- __decorate([
8743
- Input()
8744
- ], CurrencyFieldComponent.prototype, "field", void 0);
8745
- __decorate([
8746
- Input()
8747
- ], CurrencyFieldComponent.prototype, "formControl", void 0);
8748
- CurrencyFieldComponent = __decorate([
8749
- Component({
8750
- 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"
8751
- })
8752
- ], CurrencyFieldComponent);
8753
-
8754
8612
  let FieldsetComponent = class FieldsetComponent {
8755
8613
  };
8756
8614
  __decorate([
@@ -8808,94 +8666,6 @@ LookupFieldComponent = __decorate([
8808
8666
  })
8809
8667
  ], LookupFieldComponent);
8810
8668
 
8811
- let NumberFieldComponent = class NumberFieldComponent extends BaseFieldComponent {
8812
- constructor(localeService) {
8813
- super();
8814
- this.localeService = localeService;
8815
- this.onInput = new EventEmitter();
8816
- this.onFocus = new EventEmitter();
8817
- this.onComplete = new EventEmitter();
8818
- this.ngUnsubscribe = new Subject();
8819
- }
8820
- ngOnInit() {
8821
- this.onLocaleService();
8822
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
8823
- if (this.field.onFocus)
8824
- this.field.onFocus(event);
8825
- });
8826
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
8827
- if (this.field.onInput)
8828
- this.field.onInput(event);
8829
- });
8830
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
8831
- if (this.field.onComplete)
8832
- this.field.onComplete(event);
8833
- });
8834
- }
8835
- ngOnDestroy() {
8836
- this.ngUnsubscribe.next();
8837
- this.ngUnsubscribe.complete();
8838
- }
8839
- get numberAlignmentOption() {
8840
- return NumberAlignmentOption;
8841
- }
8842
- get fieldType() {
8843
- return FieldType;
8844
- }
8845
- onLocaleService() {
8846
- this.localeService
8847
- .getLocale()
8848
- .pipe(first())
8849
- .subscribe({
8850
- next: () => {
8851
- var _a, _b, _c;
8852
- if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
8853
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
8854
- }
8855
- if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
8856
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
8857
- }
8858
- if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
8859
- this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
8860
- }
8861
- },
8862
- error: () => {
8863
- var _a;
8864
- return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
8865
- thousandsSeparator: ".",
8866
- decimalSeparator: ",",
8867
- currencySymbol: "R$",
8868
- });
8869
- },
8870
- });
8871
- }
8872
- };
8873
- NumberFieldComponent.ctorParameters = () => [
8874
- { type: LocaleService }
8875
- ];
8876
- __decorate([
8877
- Input()
8878
- ], NumberFieldComponent.prototype, "field", void 0);
8879
- __decorate([
8880
- Input()
8881
- ], NumberFieldComponent.prototype, "formControl", void 0);
8882
- __decorate([
8883
- Output()
8884
- ], NumberFieldComponent.prototype, "onInput", void 0);
8885
- __decorate([
8886
- Output()
8887
- ], NumberFieldComponent.prototype, "onFocus", void 0);
8888
- __decorate([
8889
- Output()
8890
- ], NumberFieldComponent.prototype, "onComplete", void 0);
8891
- NumberFieldComponent = __decorate([
8892
- Component({
8893
- 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",
8894
- encapsulation: ViewEncapsulation.None,
8895
- 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}"]
8896
- })
8897
- ], NumberFieldComponent);
8898
-
8899
8669
  let PasswordFieldComponent = class PasswordFieldComponent {
8900
8670
  constructor() {
8901
8671
  this.onInput = new EventEmitter();
@@ -9234,66 +9004,16 @@ TextAreaIAFieldComponent = __decorate([
9234
9004
  })
9235
9005
  ], TextAreaIAFieldComponent);
9236
9006
 
9237
- let TextFieldComponent = class TextFieldComponent extends BaseFieldComponent {
9238
- constructor() {
9239
- super(...arguments);
9240
- this.onInput = new EventEmitter();
9241
- this.onFocus = new EventEmitter();
9242
- this.onComplete = new EventEmitter();
9243
- this.ngUnsubscribe = new Subject();
9007
+ let RowComponent = class RowComponent {
9008
+ constructor() { }
9009
+ ngOnInit() { }
9010
+ getErrorMessages(errorMessages) {
9011
+ if (errorMessages)
9012
+ return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
9013
+ return this.errorMessages;
9244
9014
  }
9245
- ngOnInit() {
9246
- this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9247
- if (this.field.onFocus)
9248
- this.field.onFocus(event);
9249
- });
9250
- this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9251
- if (this.field.onInput)
9252
- this.field.onInput(event);
9253
- });
9254
- this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9255
- if (this.field.onComplete)
9256
- this.field.onComplete(event);
9257
- });
9258
- }
9259
- ngOnDestroy() {
9260
- this.ngUnsubscribe.next();
9261
- this.ngUnsubscribe.complete();
9262
- }
9263
- };
9264
- __decorate([
9265
- Input()
9266
- ], TextFieldComponent.prototype, "field", void 0);
9267
- __decorate([
9268
- Input()
9269
- ], TextFieldComponent.prototype, "formControl", void 0);
9270
- __decorate([
9271
- Output()
9272
- ], TextFieldComponent.prototype, "onInput", void 0);
9273
- __decorate([
9274
- Output()
9275
- ], TextFieldComponent.prototype, "onFocus", void 0);
9276
- __decorate([
9277
- Output()
9278
- ], TextFieldComponent.prototype, "onComplete", void 0);
9279
- TextFieldComponent = __decorate([
9280
- Component({
9281
- 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",
9282
- encapsulation: ViewEncapsulation.None,
9283
- 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}"]
9284
- })
9285
- ], TextFieldComponent);
9286
-
9287
- let RowComponent = class RowComponent {
9288
- constructor() { }
9289
- ngOnInit() { }
9290
- getErrorMessages(errorMessages) {
9291
- if (errorMessages)
9292
- return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
9293
- return this.errorMessages;
9294
- }
9295
- isFunction(value) {
9296
- return value instanceof Function;
9015
+ isFunction(value) {
9016
+ return value instanceof Function;
9297
9017
  }
9298
9018
  };
9299
9019
  __decorate([
@@ -9401,6 +9121,198 @@ var StructureType;
9401
9121
  StructureType["Section"] = "Section";
9402
9122
  })(StructureType || (StructureType = {}));
9403
9123
 
9124
+ let BignumberFieldComponent = class BignumberFieldComponent extends BaseFieldComponent {
9125
+ constructor(localeService) {
9126
+ super();
9127
+ this.localeService = localeService;
9128
+ this.onInput = new EventEmitter();
9129
+ this.onFocus = new EventEmitter();
9130
+ this.onComplete = new EventEmitter();
9131
+ this.ngUnsubscribe = new Subject();
9132
+ }
9133
+ ngOnInit() {
9134
+ this.onLocaleService();
9135
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9136
+ if (this.field.onFocus) {
9137
+ this.field.onFocus(event);
9138
+ }
9139
+ });
9140
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9141
+ if (this.field.onInput) {
9142
+ this.field.onInput(event);
9143
+ }
9144
+ });
9145
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9146
+ if (this.field.onComplete) {
9147
+ this.field.onComplete(event);
9148
+ }
9149
+ });
9150
+ }
9151
+ ngOnDestroy() {
9152
+ this.ngUnsubscribe.next();
9153
+ this.ngUnsubscribe.complete();
9154
+ }
9155
+ get fieldType() {
9156
+ return FieldType;
9157
+ }
9158
+ onLocaleService() {
9159
+ this.localeService
9160
+ .getLocale()
9161
+ .pipe(first())
9162
+ .subscribe({
9163
+ next: () => {
9164
+ var _a, _b, _c;
9165
+ if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9166
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
9167
+ }
9168
+ if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9169
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
9170
+ }
9171
+ if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9172
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$" });
9173
+ }
9174
+ },
9175
+ error: () => {
9176
+ var _a;
9177
+ return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9178
+ thousandsSeparator: ".",
9179
+ decimalSeparator: ",",
9180
+ currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$",
9181
+ });
9182
+ },
9183
+ });
9184
+ }
9185
+ };
9186
+ BignumberFieldComponent.ctorParameters = () => [
9187
+ { type: LocaleService }
9188
+ ];
9189
+ __decorate([
9190
+ Input()
9191
+ ], BignumberFieldComponent.prototype, "field", void 0);
9192
+ __decorate([
9193
+ Input()
9194
+ ], BignumberFieldComponent.prototype, "formControl", void 0);
9195
+ __decorate([
9196
+ Output()
9197
+ ], BignumberFieldComponent.prototype, "onInput", void 0);
9198
+ __decorate([
9199
+ Output()
9200
+ ], BignumberFieldComponent.prototype, "onFocus", void 0);
9201
+ __decorate([
9202
+ Output()
9203
+ ], BignumberFieldComponent.prototype, "onComplete", void 0);
9204
+ BignumberFieldComponent = __decorate([
9205
+ Component({
9206
+ 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",
9207
+ encapsulation: ViewEncapsulation.None,
9208
+ 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}"]
9209
+ })
9210
+ ], BignumberFieldComponent);
9211
+
9212
+ /**
9213
+ * @deprecated Should use bignumber instead
9214
+ */
9215
+ let CurrencyFieldComponent = class CurrencyFieldComponent extends BaseFieldComponent {
9216
+ constructor(localeService) {
9217
+ super();
9218
+ this.localeService = localeService;
9219
+ }
9220
+ ngOnInit() {
9221
+ this.onLocaleService();
9222
+ }
9223
+ onLocaleService() {
9224
+ this.localeService
9225
+ .getLocale()
9226
+ .pipe(first())
9227
+ .subscribe({
9228
+ next: () => {
9229
+ var _a, _b, _c;
9230
+ if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9231
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
9232
+ }
9233
+ if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9234
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
9235
+ }
9236
+ if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9237
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
9238
+ }
9239
+ },
9240
+ error: () => {
9241
+ var _a;
9242
+ return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9243
+ thousandsSeparator: ".",
9244
+ decimalSeparator: ",",
9245
+ currencySymbol: "R$",
9246
+ });
9247
+ },
9248
+ });
9249
+ }
9250
+ };
9251
+ CurrencyFieldComponent.ctorParameters = () => [
9252
+ { type: LocaleService }
9253
+ ];
9254
+ __decorate([
9255
+ Input()
9256
+ ], CurrencyFieldComponent.prototype, "field", void 0);
9257
+ __decorate([
9258
+ Input()
9259
+ ], CurrencyFieldComponent.prototype, "formControl", void 0);
9260
+ CurrencyFieldComponent = __decorate([
9261
+ Component({
9262
+ 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"
9263
+ })
9264
+ ], CurrencyFieldComponent);
9265
+
9266
+ let TextFieldComponent = class TextFieldComponent extends BaseFieldComponent {
9267
+ constructor() {
9268
+ super(...arguments);
9269
+ this.onInput = new EventEmitter();
9270
+ this.onFocus = new EventEmitter();
9271
+ this.onComplete = new EventEmitter();
9272
+ this.ngUnsubscribe = new Subject();
9273
+ }
9274
+ ngOnInit() {
9275
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9276
+ if (this.field.onFocus)
9277
+ this.field.onFocus(event);
9278
+ });
9279
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9280
+ if (this.field.onInput)
9281
+ this.field.onInput(event);
9282
+ });
9283
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9284
+ if (this.field.onComplete)
9285
+ this.field.onComplete(event);
9286
+ });
9287
+ }
9288
+ ngOnDestroy() {
9289
+ this.ngUnsubscribe.next();
9290
+ this.ngUnsubscribe.complete();
9291
+ }
9292
+ };
9293
+ __decorate([
9294
+ Input()
9295
+ ], TextFieldComponent.prototype, "field", void 0);
9296
+ __decorate([
9297
+ Input()
9298
+ ], TextFieldComponent.prototype, "formControl", void 0);
9299
+ __decorate([
9300
+ Output()
9301
+ ], TextFieldComponent.prototype, "onInput", void 0);
9302
+ __decorate([
9303
+ Output()
9304
+ ], TextFieldComponent.prototype, "onFocus", void 0);
9305
+ __decorate([
9306
+ Output()
9307
+ ], TextFieldComponent.prototype, "onComplete", void 0);
9308
+ TextFieldComponent = __decorate([
9309
+ Component({
9310
+ 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",
9311
+ encapsulation: ViewEncapsulation.None,
9312
+ 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}"]
9313
+ })
9314
+ ], TextFieldComponent);
9315
+
9404
9316
  class DynamicForm {
9405
9317
  constructor({ group, errorMessages }) {
9406
9318
  this.group = group;
@@ -9615,6 +9527,162 @@ DynamicFormDirective = __decorate([
9615
9527
  Directive({ selector: "[sDynamicForm]" })
9616
9528
  ], DynamicFormDirective);
9617
9529
 
9530
+ let TextFieldModule = class TextFieldModule {
9531
+ };
9532
+ TextFieldModule = __decorate([
9533
+ NgModule({
9534
+ imports: [
9535
+ CommonModule,
9536
+ FormsModule,
9537
+ ReactiveFormsModule,
9538
+ ButtonModule,
9539
+ TooltipModule,
9540
+ InputMaskModule,
9541
+ InputTextModule,
9542
+ KeyFilterModule,
9543
+ ],
9544
+ declarations: [TextFieldComponent],
9545
+ exports: [TextFieldComponent],
9546
+ })
9547
+ ], TextFieldModule);
9548
+
9549
+ let NumberFieldComponent = class NumberFieldComponent extends BaseFieldComponent {
9550
+ constructor(localeService) {
9551
+ super();
9552
+ this.localeService = localeService;
9553
+ this.onInput = new EventEmitter();
9554
+ this.onFocus = new EventEmitter();
9555
+ this.onComplete = new EventEmitter();
9556
+ this.ngUnsubscribe = new Subject();
9557
+ }
9558
+ ngOnInit() {
9559
+ this.onLocaleService();
9560
+ this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9561
+ if (this.field.onFocus)
9562
+ this.field.onFocus(event);
9563
+ });
9564
+ this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9565
+ if (this.field.onInput)
9566
+ this.field.onInput(event);
9567
+ });
9568
+ this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
9569
+ if (this.field.onComplete)
9570
+ this.field.onComplete(event);
9571
+ });
9572
+ }
9573
+ ngOnDestroy() {
9574
+ this.ngUnsubscribe.next();
9575
+ this.ngUnsubscribe.complete();
9576
+ }
9577
+ get numberAlignmentOption() {
9578
+ return NumberAlignmentOption;
9579
+ }
9580
+ get fieldType() {
9581
+ return FieldType;
9582
+ }
9583
+ onLocaleService() {
9584
+ this.localeService
9585
+ .getLocale()
9586
+ .pipe(first())
9587
+ .subscribe({
9588
+ next: () => {
9589
+ var _a, _b, _c;
9590
+ if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
9591
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
9592
+ }
9593
+ if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
9594
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
9595
+ }
9596
+ if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
9597
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
9598
+ }
9599
+ },
9600
+ error: () => {
9601
+ var _a;
9602
+ return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
9603
+ thousandsSeparator: ".",
9604
+ decimalSeparator: ",",
9605
+ currencySymbol: "R$",
9606
+ });
9607
+ },
9608
+ });
9609
+ }
9610
+ };
9611
+ NumberFieldComponent.ctorParameters = () => [
9612
+ { type: LocaleService }
9613
+ ];
9614
+ __decorate([
9615
+ Input()
9616
+ ], NumberFieldComponent.prototype, "field", void 0);
9617
+ __decorate([
9618
+ Input()
9619
+ ], NumberFieldComponent.prototype, "formControl", void 0);
9620
+ __decorate([
9621
+ Output()
9622
+ ], NumberFieldComponent.prototype, "onInput", void 0);
9623
+ __decorate([
9624
+ Output()
9625
+ ], NumberFieldComponent.prototype, "onFocus", void 0);
9626
+ __decorate([
9627
+ Output()
9628
+ ], NumberFieldComponent.prototype, "onComplete", void 0);
9629
+ NumberFieldComponent = __decorate([
9630
+ Component({
9631
+ 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",
9632
+ encapsulation: ViewEncapsulation.None,
9633
+ 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}"]
9634
+ })
9635
+ ], NumberFieldComponent);
9636
+
9637
+ let NumberFieldModule = class NumberFieldModule {
9638
+ };
9639
+ NumberFieldModule = __decorate([
9640
+ NgModule({
9641
+ imports: [
9642
+ CommonModule,
9643
+ FormsModule,
9644
+ ReactiveFormsModule,
9645
+ LocalizedNumberInputModule,
9646
+ NumberInputModule,
9647
+ ButtonModule,
9648
+ TooltipModule,
9649
+ InputMaskModule,
9650
+ InputTextModule,
9651
+ ],
9652
+ declarations: [NumberFieldComponent],
9653
+ exports: [NumberFieldComponent],
9654
+ })
9655
+ ], NumberFieldModule);
9656
+
9657
+ let CurrencyFieldModule = class CurrencyFieldModule {
9658
+ };
9659
+ CurrencyFieldModule = __decorate([
9660
+ NgModule({
9661
+ imports: [CommonModule, FormsModule, ReactiveFormsModule, NumberInputModule, TooltipModule, InputMaskModule, InputTextModule],
9662
+ declarations: [CurrencyFieldComponent],
9663
+ exports: [CurrencyFieldComponent],
9664
+ })
9665
+ ], CurrencyFieldModule);
9666
+
9667
+ let NumberFieldModule$1 = class NumberFieldModule {
9668
+ };
9669
+ NumberFieldModule$1 = __decorate([
9670
+ NgModule({
9671
+ imports: [
9672
+ CommonModule,
9673
+ FormsModule,
9674
+ ReactiveFormsModule,
9675
+ ButtonModule,
9676
+ BignumberInputModule,
9677
+ TooltipModule,
9678
+ InputMaskModule,
9679
+ InputTextModule,
9680
+ ],
9681
+ declarations: [BignumberFieldComponent],
9682
+ exports: [BignumberFieldComponent],
9683
+ })
9684
+ ], NumberFieldModule$1);
9685
+
9618
9686
  let DynamicFormModule = class DynamicFormModule {
9619
9687
  };
9620
9688
  DynamicFormModule = __decorate([
@@ -9662,16 +9730,18 @@ DynamicFormModule = __decorate([
9662
9730
  PasswordStrengthModule,
9663
9731
  SliderModule,
9664
9732
  TranslateModule.forChild(),
9733
+ TextFieldModule,
9734
+ NumberFieldModule,
9735
+ CurrencyFieldModule,
9736
+ NumberFieldModule$1,
9665
9737
  ],
9666
9738
  declarations: [
9667
9739
  AutocompleteFieldComponent,
9668
- BignumberFieldComponent,
9669
9740
  BooleanFieldComponent,
9670
9741
  BooleanSwitchFieldComponent,
9671
9742
  CalendarFieldComponent,
9672
9743
  ChipsFieldComponent,
9673
9744
  CountryPhonePickerFieldComponent,
9674
- CurrencyFieldComponent,
9675
9745
  DynamicFieldComponent,
9676
9746
  DynamicFormComponent,
9677
9747
  DynamicFormDirective,
@@ -9679,7 +9749,6 @@ DynamicFormModule = __decorate([
9679
9749
  FileUploadComponent$1,
9680
9750
  LookupComponent,
9681
9751
  LookupFieldComponent,
9682
- NumberFieldComponent,
9683
9752
  PasswordFieldComponent,
9684
9753
  RadioButtonComponent,
9685
9754
  RowComponent,
@@ -9688,22 +9757,18 @@ DynamicFormModule = __decorate([
9688
9757
  SliderFieldComponent,
9689
9758
  TextAreaFieldComponent,
9690
9759
  TextAreaIAFieldComponent,
9691
- TextFieldComponent,
9692
9760
  ],
9693
9761
  exports: [DynamicFormComponent, LookupComponent],
9694
9762
  entryComponents: [
9695
9763
  AutocompleteFieldComponent,
9696
- BignumberFieldComponent,
9697
9764
  BooleanFieldComponent,
9698
9765
  BooleanSwitchFieldComponent,
9699
9766
  CalendarFieldComponent,
9700
9767
  ChipsFieldComponent,
9701
9768
  CountryPhonePickerFieldComponent,
9702
- CurrencyFieldComponent,
9703
9769
  FieldsetComponent,
9704
9770
  FileUploadComponent$1,
9705
9771
  LookupFieldComponent,
9706
- NumberFieldComponent,
9707
9772
  PasswordFieldComponent,
9708
9773
  RadioButtonComponent,
9709
9774
  RowComponent,
@@ -9712,7 +9777,6 @@ DynamicFormModule = __decorate([
9712
9777
  SliderFieldComponent,
9713
9778
  TextAreaFieldComponent,
9714
9779
  TextAreaIAFieldComponent,
9715
- TextFieldComponent,
9716
9780
  ],
9717
9781
  providers: [
9718
9782
  HotkeysService,
@@ -16427,5 +16491,5 @@ const fallback = {
16427
16491
  * Generated bundle index. Do not edit.
16428
16492
  */
16429
16493
 
16430
- 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 };
16494
+ 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 };
16431
16495
  //# sourceMappingURL=seniorsistemas-angular-components.js.map