@seniorsistemas/angular-components 17.5.5 → 17.6.1

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 (47) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +507 -420
  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/components/select-button/select-button.component.d.ts +1 -1
  12. package/esm2015/components/button/button.component.js +2 -2
  13. package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +96 -0
  14. package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +30 -0
  15. package/esm2015/components/dynamic-form/components/fields/currency/currency-field.module.js +20 -0
  16. package/esm2015/components/dynamic-form/components/fields/number/number-field.component.js +4 -4
  17. package/esm2015/components/dynamic-form/components/fields/number/number-field.module.js +32 -0
  18. package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +3 -3
  19. package/esm2015/components/dynamic-form/components/fields/text/text-field.module.js +30 -0
  20. package/esm2015/components/dynamic-form/configurations/addon-config.js +1 -1
  21. package/esm2015/components/dynamic-form/dynamic-form.js +9 -8
  22. package/esm2015/components/dynamic-form/dynamic-form.module.js +9 -13
  23. package/esm2015/components/select-button/select-button.component.js +8 -4
  24. package/esm2015/seniorsistemas-angular-components.js +67 -60
  25. package/esm5/components/button/button.component.js +2 -2
  26. package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +105 -0
  27. package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +33 -0
  28. package/esm5/components/dynamic-form/components/fields/currency/currency-field.module.js +23 -0
  29. package/esm5/components/dynamic-form/components/fields/number/number-field.component.js +4 -4
  30. package/esm5/components/dynamic-form/components/fields/number/number-field.module.js +35 -0
  31. package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +3 -3
  32. package/esm5/components/dynamic-form/components/fields/text/text-field.module.js +33 -0
  33. package/esm5/components/dynamic-form/configurations/addon-config.js +1 -1
  34. package/esm5/components/dynamic-form/dynamic-form.js +9 -8
  35. package/esm5/components/dynamic-form/dynamic-form.module.js +9 -13
  36. package/esm5/components/select-button/select-button.component.js +8 -4
  37. package/esm5/seniorsistemas-angular-components.js +67 -60
  38. package/fesm2015/seniorsistemas-angular-components.js +430 -362
  39. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  40. package/fesm5/seniorsistemas-angular-components.js +442 -362
  41. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  42. package/package.json +1 -1
  43. package/seniorsistemas-angular-components.d.ts +66 -59
  44. package/seniorsistemas-angular-components.metadata.json +1 -1
  45. package/esm2015/components/dynamic-form/components/fields/bignumber/number-field.component.js +0 -96
  46. package/esm5/components/dynamic-form/components/fields/bignumber/number-field.component.js +0 -105
  47. /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();
@@ -9871,25 +9615,259 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
9871
9615
  context: [""],
9872
9616
  });
9873
9617
  };
9874
- TextAreaIAFieldComponent.ctorParameters = function () { return [
9875
- { type: IAssistService },
9876
- { type: FormBuilder },
9877
- { type: TranslateService }
9618
+ TextAreaIAFieldComponent.ctorParameters = function () { return [
9619
+ { type: IAssistService },
9620
+ { type: FormBuilder },
9621
+ { type: TranslateService }
9622
+ ]; };
9623
+ __decorate([
9624
+ Input()
9625
+ ], TextAreaIAFieldComponent.prototype, "field", void 0);
9626
+ __decorate([
9627
+ Input()
9628
+ ], TextAreaIAFieldComponent.prototype, "formControl", void 0);
9629
+ TextAreaIAFieldComponent = __decorate([
9630
+ Component({
9631
+ template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
9632
+ styles: [".footer-content{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0}.textarea-ia{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:8px}.iassist-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:-ms-flexbox;display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}"]
9633
+ })
9634
+ ], TextAreaIAFieldComponent);
9635
+ return TextAreaIAFieldComponent;
9636
+ }());
9637
+
9638
+ var RowComponent = /** @class */ (function () {
9639
+ function RowComponent() {
9640
+ }
9641
+ RowComponent.prototype.ngOnInit = function () { };
9642
+ RowComponent.prototype.getErrorMessages = function (errorMessages) {
9643
+ if (errorMessages)
9644
+ return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
9645
+ return this.errorMessages;
9646
+ };
9647
+ RowComponent.prototype.isFunction = function (value) {
9648
+ return value instanceof Function;
9649
+ };
9650
+ __decorate([
9651
+ Input()
9652
+ ], RowComponent.prototype, "id", void 0);
9653
+ __decorate([
9654
+ Input()
9655
+ ], RowComponent.prototype, "config", void 0);
9656
+ __decorate([
9657
+ Input()
9658
+ ], RowComponent.prototype, "group", void 0);
9659
+ __decorate([
9660
+ Input()
9661
+ ], RowComponent.prototype, "errorMessages", void 0);
9662
+ RowComponent = __decorate([
9663
+ Component({
9664
+ template: "\n <div class=\"ui-fluid\" [formGroup]=\"group\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of config.fields\">\n <div [ngClass]=\"field.gridClass\" *ngIf=\"field.visible()\">\n <label\n [for]=\"field.name\"\n [ngClass]=\"{ 'required': field.required() }\"\n *sInfoSign=\"field.infoSign\"\n >\n {{ field.label }}\n </label>\n\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group}\"></ng-container>\n\n <s-control-errors [form]=\"group\" [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"></s-control-errors>\n\n <ng-container *ngIf=\"field.footer\">\n <ng-container *ngIf=\"field.footer.help\">\n <span *ngIf=\"field.footer.help.visible({ abstractControl: group.controls[field.name], formField: field })\" style=\"color: #888B99\">{{ field.footer.help.text }}</span>\n </ng-container>\n\n <ng-container *ngIf=\"field.footer.link\">\n <div\n *ngIf=\"field.footer.link.visible({ abstractControl: group.controls[field.name], formField: field })\"\n class=\"ui-g\"\n style=\"margin-left: -17px\"\n >\n <s-button\n [label]=\"field.footer.link.label\"\n priority=\"link\"\n (onClick)=\"field.footer.link.onClick({ abstractControl: group.controls[field.name], formField: field })\"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template *ngIf=\"field?.bottomTemplate\" [ngTemplateOutlet]=\"field.bottomTemplate\"></ng-template>\n </div>\n </ng-container>\n </div>\n "
9665
+ })
9666
+ ], RowComponent);
9667
+ return RowComponent;
9668
+ }());
9669
+
9670
+ var DynamicFieldComponent = /** @class */ (function () {
9671
+ function DynamicFieldComponent() {
9672
+ }
9673
+ DynamicFieldComponent.prototype.getErrorMessages = function (errorMessages) {
9674
+ if (errorMessages)
9675
+ return this.isFunction(errorMessages)
9676
+ ? __assign(__assign({}, this.errorMessages), errorMessages()) : __assign(__assign({}, this.errorMessages), errorMessages);
9677
+ return this.errorMessages;
9678
+ };
9679
+ DynamicFieldComponent.prototype.isFunction = function (value) {
9680
+ return value instanceof Function;
9681
+ };
9682
+ __decorate([
9683
+ Input()
9684
+ ], DynamicFieldComponent.prototype, "id", void 0);
9685
+ __decorate([
9686
+ Input()
9687
+ ], DynamicFieldComponent.prototype, "fields", void 0);
9688
+ __decorate([
9689
+ Input()
9690
+ ], DynamicFieldComponent.prototype, "form", void 0);
9691
+ __decorate([
9692
+ Input()
9693
+ ], DynamicFieldComponent.prototype, "errorMessages", void 0);
9694
+ __decorate([
9695
+ Input()
9696
+ ], DynamicFieldComponent.prototype, "displayTimeInfoSign", void 0);
9697
+ DynamicFieldComponent = __decorate([
9698
+ Component({
9699
+ selector: "s-dynamic-field",
9700
+ template: "<div class=\"ui-fluid\" [formGroup]=\"form\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of fields\">\n <div\n *ngIf=\"!field.visible || field.visible()\"\n [ngClass]=\"field.gridClass\"\n >\n <span *ngIf=\"field.label\">\n <label\n *sInfoSign=\"\n field.infoSign;\n displayTime: displayTimeInfoSign\n \"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required() }\"\n >\n {{ field.label }}\n </label>\n </span>\n\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: field,\n group: form\n }\"\n ></ng-container>\n\n <s-control-errors\n [form]=\"form\"\n [control]=\"form.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"\n ></s-control-errors>\n\n <ng-container *ngIf=\"field.footer\">\n <ng-container *ngIf=\"field.footer.help\">\n <span\n *ngIf=\"\n field.footer.help.visible({\n abstractControl: form.controls[field.name],\n formField: field\n })\n \"\n style=\"color: #888b99\"\n >\n {{ field.footer.help.text }}\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"field.footer.link\">\n <div\n *ngIf=\"\n field.footer.link.visible({\n abstractControl: form.controls[field.name],\n formField: field\n })\n \"\n class=\"ui-g\"\n style=\"margin-left: -10px\"\n >\n <s-button\n [label]=\"field.footer.link.label\"\n priority=\"link\"\n (onClick)=\"\n field.footer.link.onClick({\n abstractControl:\n form.controls[field.name],\n formField: field\n })\n \"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template\n *ngIf=\"field?.bottomTemplate\"\n [ngTemplateOutlet]=\"field.bottomTemplate\"\n ></ng-template>\n </div>\n </ng-container>\n </div>\n</div>\n"
9701
+ })
9702
+ ], DynamicFieldComponent);
9703
+ return DynamicFieldComponent;
9704
+ }());
9705
+
9706
+ var GridType;
9707
+ (function (GridType) {
9708
+ GridType["Row"] = "Row";
9709
+ })(GridType || (GridType = {}));
9710
+
9711
+ var StructureType;
9712
+ (function (StructureType) {
9713
+ StructureType["Fieldset"] = "Fieldset";
9714
+ StructureType["Section"] = "Section";
9715
+ })(StructureType || (StructureType = {}));
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 }
9878
9857
  ]; };
9879
9858
  __decorate([
9880
9859
  Input()
9881
- ], TextAreaIAFieldComponent.prototype, "field", void 0);
9860
+ ], CurrencyFieldComponent.prototype, "field", void 0);
9882
9861
  __decorate([
9883
9862
  Input()
9884
- ], TextAreaIAFieldComponent.prototype, "formControl", void 0);
9885
- TextAreaIAFieldComponent = __decorate([
9863
+ ], CurrencyFieldComponent.prototype, "formControl", void 0);
9864
+ CurrencyFieldComponent = __decorate([
9886
9865
  Component({
9887
- template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
9888
- styles: [".footer-content{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0}.textarea-ia{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:8px}.iassist-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:-ms-flexbox;display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}"]
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"
9889
9867
  })
9890
- ], TextAreaIAFieldComponent);
9891
- return TextAreaIAFieldComponent;
9892
- }());
9868
+ ], CurrencyFieldComponent);
9869
+ return CurrencyFieldComponent;
9870
+ }(BaseFieldComponent));
9893
9871
 
9894
9872
  var TextFieldComponent = /** @class */ (function (_super) {
9895
9873
  __extends(TextFieldComponent, _super);
@@ -9937,93 +9915,14 @@ var TextFieldComponent = /** @class */ (function (_super) {
9937
9915
  ], TextFieldComponent.prototype, "onComplete", void 0);
9938
9916
  TextFieldComponent = __decorate([
9939
9917
  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",
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",
9941
9919
  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}"]
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}"]
9943
9921
  })
9944
9922
  ], TextFieldComponent);
9945
9923
  return TextFieldComponent;
9946
9924
  }(BaseFieldComponent));
9947
9925
 
9948
- var RowComponent = /** @class */ (function () {
9949
- function RowComponent() {
9950
- }
9951
- RowComponent.prototype.ngOnInit = function () { };
9952
- RowComponent.prototype.getErrorMessages = function (errorMessages) {
9953
- if (errorMessages)
9954
- return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
9955
- return this.errorMessages;
9956
- };
9957
- RowComponent.prototype.isFunction = function (value) {
9958
- return value instanceof Function;
9959
- };
9960
- __decorate([
9961
- Input()
9962
- ], RowComponent.prototype, "id", void 0);
9963
- __decorate([
9964
- Input()
9965
- ], RowComponent.prototype, "config", void 0);
9966
- __decorate([
9967
- Input()
9968
- ], RowComponent.prototype, "group", void 0);
9969
- __decorate([
9970
- Input()
9971
- ], RowComponent.prototype, "errorMessages", void 0);
9972
- RowComponent = __decorate([
9973
- Component({
9974
- template: "\n <div class=\"ui-fluid\" [formGroup]=\"group\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of config.fields\">\n <div [ngClass]=\"field.gridClass\" *ngIf=\"field.visible()\">\n <label\n [for]=\"field.name\"\n [ngClass]=\"{ 'required': field.required() }\"\n *sInfoSign=\"field.infoSign\"\n >\n {{ field.label }}\n </label>\n\n <ng-container *sDynamicForm=\"{ id: id, config: field, group: group}\"></ng-container>\n\n <s-control-errors [form]=\"group\" [control]=\"group.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"></s-control-errors>\n\n <ng-container *ngIf=\"field.footer\">\n <ng-container *ngIf=\"field.footer.help\">\n <span *ngIf=\"field.footer.help.visible({ abstractControl: group.controls[field.name], formField: field })\" style=\"color: #888B99\">{{ field.footer.help.text }}</span>\n </ng-container>\n\n <ng-container *ngIf=\"field.footer.link\">\n <div\n *ngIf=\"field.footer.link.visible({ abstractControl: group.controls[field.name], formField: field })\"\n class=\"ui-g\"\n style=\"margin-left: -17px\"\n >\n <s-button\n [label]=\"field.footer.link.label\"\n priority=\"link\"\n (onClick)=\"field.footer.link.onClick({ abstractControl: group.controls[field.name], formField: field })\"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template *ngIf=\"field?.bottomTemplate\" [ngTemplateOutlet]=\"field.bottomTemplate\"></ng-template>\n </div>\n </ng-container>\n </div>\n "
9975
- })
9976
- ], RowComponent);
9977
- return RowComponent;
9978
- }());
9979
-
9980
- var DynamicFieldComponent = /** @class */ (function () {
9981
- function DynamicFieldComponent() {
9982
- }
9983
- DynamicFieldComponent.prototype.getErrorMessages = function (errorMessages) {
9984
- if (errorMessages)
9985
- return this.isFunction(errorMessages)
9986
- ? __assign(__assign({}, this.errorMessages), errorMessages()) : __assign(__assign({}, this.errorMessages), errorMessages);
9987
- return this.errorMessages;
9988
- };
9989
- DynamicFieldComponent.prototype.isFunction = function (value) {
9990
- return value instanceof Function;
9991
- };
9992
- __decorate([
9993
- Input()
9994
- ], DynamicFieldComponent.prototype, "id", void 0);
9995
- __decorate([
9996
- Input()
9997
- ], DynamicFieldComponent.prototype, "fields", void 0);
9998
- __decorate([
9999
- Input()
10000
- ], DynamicFieldComponent.prototype, "form", void 0);
10001
- __decorate([
10002
- Input()
10003
- ], DynamicFieldComponent.prototype, "errorMessages", void 0);
10004
- __decorate([
10005
- Input()
10006
- ], DynamicFieldComponent.prototype, "displayTimeInfoSign", void 0);
10007
- DynamicFieldComponent = __decorate([
10008
- Component({
10009
- selector: "s-dynamic-field",
10010
- template: "<div class=\"ui-fluid\" [formGroup]=\"form\">\n <div class=\"ui-g\">\n <ng-container *ngFor=\"let field of fields\">\n <div\n *ngIf=\"!field.visible || field.visible()\"\n [ngClass]=\"field.gridClass\"\n >\n <span *ngIf=\"field.label\">\n <label\n *sInfoSign=\"\n field.infoSign;\n displayTime: displayTimeInfoSign\n \"\n [for]=\"field.name\"\n [ngClass]=\"{ required: field.required() }\"\n >\n {{ field.label }}\n </label>\n </span>\n\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: field,\n group: form\n }\"\n ></ng-container>\n\n <s-control-errors\n [form]=\"form\"\n [control]=\"form.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\"\n ></s-control-errors>\n\n <ng-container *ngIf=\"field.footer\">\n <ng-container *ngIf=\"field.footer.help\">\n <span\n *ngIf=\"\n field.footer.help.visible({\n abstractControl: form.controls[field.name],\n formField: field\n })\n \"\n style=\"color: #888b99\"\n >\n {{ field.footer.help.text }}\n </span>\n </ng-container>\n\n <ng-container *ngIf=\"field.footer.link\">\n <div\n *ngIf=\"\n field.footer.link.visible({\n abstractControl: form.controls[field.name],\n formField: field\n })\n \"\n class=\"ui-g\"\n style=\"margin-left: -10px\"\n >\n <s-button\n [label]=\"field.footer.link.label\"\n priority=\"link\"\n (onClick)=\"\n field.footer.link.onClick({\n abstractControl:\n form.controls[field.name],\n formField: field\n })\n \"\n [auxiliary]=\"true\"\n ></s-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template\n *ngIf=\"field?.bottomTemplate\"\n [ngTemplateOutlet]=\"field.bottomTemplate\"\n ></ng-template>\n </div>\n </ng-container>\n </div>\n</div>\n"
10011
- })
10012
- ], DynamicFieldComponent);
10013
- return DynamicFieldComponent;
10014
- }());
10015
-
10016
- var GridType;
10017
- (function (GridType) {
10018
- GridType["Row"] = "Row";
10019
- })(GridType || (GridType = {}));
10020
-
10021
- var StructureType;
10022
- (function (StructureType) {
10023
- StructureType["Fieldset"] = "Fieldset";
10024
- StructureType["Section"] = "Section";
10025
- })(StructureType || (StructureType = {}));
10026
-
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,
@@ -15145,9 +15221,13 @@ var SelectButtonComponent = /** @class */ (function () {
15145
15221
  var _this = this;
15146
15222
  if (!value)
15147
15223
  return;
15148
- value.forEach(function (item) {
15149
- _this.activeItems.add(item);
15150
- });
15224
+ this.activeItems.clear();
15225
+ if (Array.isArray(value)) {
15226
+ value.forEach(function (item) { return _this.activeItems.add(item); });
15227
+ }
15228
+ else {
15229
+ this.activeItems.add(value);
15230
+ }
15151
15231
  };
15152
15232
  SelectButtonComponent.prototype.registerOnChange = function (onChange) {
15153
15233
  this.onChange = onChange;
@@ -17495,5 +17575,5 @@ var fallback = {
17495
17575
  * Generated bundle index. Do not edit.
17496
17576
  */
17497
17577
 
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 };
17578
+ 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
17579
  //# sourceMappingURL=seniorsistemas-angular-components.js.map