@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.
- package/bundles/seniorsistemas-angular-components.umd.js +507 -420
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/dynamic-form/components/fields/bignumber/bignumber-field.module.d.ts +2 -0
- package/components/dynamic-form/components/fields/currency/currency-field.module.d.ts +2 -0
- package/components/dynamic-form/components/fields/number/number-field.component.d.ts +1 -1
- package/components/dynamic-form/components/fields/number/number-field.module.d.ts +2 -0
- package/components/dynamic-form/components/fields/text/text-field.module.d.ts +2 -0
- package/components/dynamic-form/configurations/addon-config.d.ts +4 -0
- package/components/select-button/select-button.component.d.ts +1 -1
- package/esm2015/components/button/button.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +96 -0
- package/esm2015/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +30 -0
- package/esm2015/components/dynamic-form/components/fields/currency/currency-field.module.js +20 -0
- package/esm2015/components/dynamic-form/components/fields/number/number-field.component.js +4 -4
- package/esm2015/components/dynamic-form/components/fields/number/number-field.module.js +32 -0
- package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +3 -3
- package/esm2015/components/dynamic-form/components/fields/text/text-field.module.js +30 -0
- package/esm2015/components/dynamic-form/configurations/addon-config.js +1 -1
- package/esm2015/components/dynamic-form/dynamic-form.js +9 -8
- package/esm2015/components/dynamic-form/dynamic-form.module.js +9 -13
- package/esm2015/components/select-button/select-button.component.js +8 -4
- package/esm2015/seniorsistemas-angular-components.js +67 -60
- package/esm5/components/button/button.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.component.js +105 -0
- package/esm5/components/dynamic-form/components/fields/bignumber/bignumber-field.module.js +33 -0
- package/esm5/components/dynamic-form/components/fields/currency/currency-field.module.js +23 -0
- package/esm5/components/dynamic-form/components/fields/number/number-field.component.js +4 -4
- package/esm5/components/dynamic-form/components/fields/number/number-field.module.js +35 -0
- package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +3 -3
- package/esm5/components/dynamic-form/components/fields/text/text-field.module.js +33 -0
- package/esm5/components/dynamic-form/configurations/addon-config.js +1 -1
- package/esm5/components/dynamic-form/dynamic-form.js +9 -8
- package/esm5/components/dynamic-form/dynamic-form.module.js +9 -13
- package/esm5/components/select-button/select-button.component.js +8 -4
- package/esm5/seniorsistemas-angular-components.js +67 -60
- package/fesm2015/seniorsistemas-angular-components.js +430 -362
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +442 -362
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +66 -59
- package/seniorsistemas-angular-components.metadata.json +1 -1
- package/esm2015/components/dynamic-form/components/fields/bignumber/number-field.component.js +0 -96
- package/esm5/components/dynamic-form/components/fields/bignumber/number-field.component.js +0 -105
- /package/components/dynamic-form/components/fields/bignumber/{number-field.component.d.ts → bignumber-field.component.d.ts} +0 -0
|
@@ -1311,7 +1311,7 @@ __decorate([
|
|
|
1311
1311
|
ButtonComponent = ButtonComponent_1 = __decorate([
|
|
1312
1312
|
Component({
|
|
1313
1313
|
selector: "s-button",
|
|
1314
|
-
template: "<p-tieredMenu [id]=\"id + '-menu'\" [popup]=\"true\" appendTo=\"body\" [baseZIndex]=\"baseZIndex\"></p-tieredMenu>\n\n<button\n [id]=\"id\"\n [type]=\"type\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 's-button-auxiliary': auxiliary,\n 's-button-with-icon': iconClass,\n 's-button-with-text': label,\n 's-button-empty': !iconClass && !label,\n 's-button-size-default': size === 'default',\n 's-button-size-small': size === 'small',\n 's-button-priority-default': priority === 'default',\n 's-button-priority-primary': priority === 'primary',\n 's-button-priority-secondary': priority === 'secondary',\n 's-button-priority-link': priority === 'link',\n 's-button-priority-danger': priority === 'danger',\n 's-button-multiple': (caret && (model && model.length)) || rightIconClass,\n 's-button-active': isOpen(),\n 's-button--slide': validateSlideButton(),\n 's-button--rotate-animation': isRotateAnimation()\n }\"\n [disabled]=\"disabled\"\n [pTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n showDelay=\"500\"\n [tooltipZIndex]=\"tooltipZIndex\"\n (click)=\"onClick.emit($event)\"\n (mouseenter)=\"updateTooltipZIndex()\"
|
|
1314
|
+
template: "<p-tieredMenu [id]=\"id + '-menu'\" [popup]=\"true\" appendTo=\"body\" [baseZIndex]=\"baseZIndex\"></p-tieredMenu>\n\n<button\n [id]=\"id\"\n [type]=\"type\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 's-button-auxiliary': auxiliary,\n 's-button-with-icon': iconClass,\n 's-button-with-text': label,\n 's-button-empty': !iconClass && !label,\n 's-button-size-default': size === 'default',\n 's-button-size-small': size === 'small',\n 's-button-priority-default': priority === 'default',\n 's-button-priority-primary': priority === 'primary',\n 's-button-priority-secondary': priority === 'secondary',\n 's-button-priority-link': priority === 'link',\n 's-button-priority-danger': priority === 'danger',\n 's-button-multiple': (caret && (model && model.length)) || rightIconClass,\n 's-button-active': isOpen(),\n 's-button--slide': validateSlideButton(),\n 's-button--rotate-animation': isRotateAnimation()\n }\"\n [disabled]=\"disabled\"\n [pTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n showDelay=\"500\"\n [tooltipZIndex]=\"tooltipZIndex\"\n (click)=\"onClick.emit($event)\"\n (mouseenter)=\"updateTooltipZIndex()\">\n <span \n *ngIf=\"iconClass\" \n [class]=\"iconClass\" \n [ngClass]=\"{ \n 's-button-icon': true,\n 's-button-icon-margin-right': !label && model && model.length\n }\" \n aria-hidden=\"true\">\n </span>\n <span \n *ngIf=\"label\" \n class=\"s-button-text\"\n [ngClass]=\"{\n 's-button-icon-margin-right': !!rightIconClass || (model && model.length),\n 's-button-icon-margin-left': !!iconClass\n }\">\n {{ label }}\n </span>\n <ng-content></ng-content>\n <span \n *ngIf=\"rightIconClass\" \n [class]=\"rightIconClass\" \n [ngClass]=\"{ 's-button-right-icon': true }\" \n aria-hidden=\"true\">\n </span>\n <span\n *ngIf=\"caret && (model && model.length)\" \n class=\"fa fa-fw fa-caret-down\"\n aria-hidden=\"true\">\n </span>\n</button>\n",
|
|
1315
1315
|
styles: ["button{-ms-flex-align:center;align-items:center;border:1px solid;border-radius:4px;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:34px;-ms-flex-pack:center;justify-content:center;max-width:100%;min-width:40px;outline:0;overflow:visible;padding:5px 10px;position:relative;text-decoration:none;text-transform:none;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out;vertical-align:bottom}button:disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}button:disabled,button:disabled *{cursor:text!important}button.s-button-auxiliary{border-radius:20px}button.s-button-size-small{height:25px;padding:0 20px}button.s-button-with-icon.s-button-multiple,button.s-button-with-text{min-width:80px}button.s-button-with-icon.s-button-with-text.s-button-multiple{min-width:100px}button .s-button-icon,button .s-button-menu-icon,button .s-button-right-icon,button.s-button-with-icon.s-button-multiple:not(.s-button-with-text) .s-button-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}button.s-button-multiple .s-button-text{-ms-flex-align:left;align-items:left;display:-ms-flexbox;display:flex;-ms-flex-pack:left;justify-content:left}button.s-button-with-icon .s-button-text{-ms-flex-align:right;align-items:right;display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right}.s-button-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s-button-menu-icon{right:10px;transition:transform .2s ease-out}.s-button-icon-margin-left{margin-left:10px}.s-button-icon-margin-right{margin-right:10px}.s-button-active .s-button-menu-icon{transform:rotateX(180deg)}button,button.s-button-priority-primary{background-color:#428bca;border-color:#428bca}button .s-button-icon,button .s-button-menu-icon,button .s-button-right-icon,button .s-button-text,button.s-button-priority-primary .s-button-icon,button.s-button-priority-primary .s-button-menu-icon,button.s-button-priority-primary .s-button-right-icon,button.s-button-priority-primary .s-button-text{color:#fff}button.s-button-priority-primary:hover,button:hover{background-color:#2a6496}button.s-button-priority-primary:focus,button:focus{background-color:#2a6496;border-color:#22dce6}button.s-button-active:not(:disabled),button.s-button-priority-primary.s-button-active:not(:disabled),button.s-button-priority-primary:active:not(:disabled),button:active:not(:disabled){background-color:#245682;border-color:#245682}button.s-button-priority-secondary{background-color:#7892a1;border-color:#7892a1}button.s-button-priority-secondary .s-button-icon,button.s-button-priority-secondary .s-button-menu-icon,button.s-button-priority-secondary .s-button-right-icon,button.s-button-priority-secondary .s-button-text{color:#fff}button.s-button-priority-secondary:hover{background-color:#546b79}button.s-button-priority-secondary:focus{background-color:#546b79;border-color:#22dce6}button.s-button-priority-secondary.s-button-active:not(:disabled),button.s-button-priority-secondary:active:not(:disabled){background-color:#495e6a;border-color:#495e6a}button.s-button-priority-default{background-color:#fff;border-color:#ccc}button.s-button-priority-default .s-button-icon,button.s-button-priority-default .s-button-menu-icon,button.s-button-priority-default .s-button-right-icon,button.s-button-priority-default .s-button-text{color:#333}button.s-button-priority-default:hover{background-color:#d9d9d9}button.s-button-priority-default:focus{background-color:#d9d9d9;border-color:#22dce6}button.s-button-priority-default.s-button-active:not(:disabled),button.s-button-priority-default:active:not(:disabled){background-color:#ccc;border-color:#ccc}.s-button-priority-danger{background-color:#9c3a3a;border-color:#9c3a3a}.s-button-priority-danger .s-button-icon,.s-button-priority-danger .s-button-menu-icon,.s-button-priority-danger .s-button-right-icon,.s-button-priority-danger .s-button-text{color:#fff}.s-button-priority-danger:hover{background-color:#642525}.s-button-priority-danger:focus{background-color:#642525;border-color:#22dce6}.s-button-priority-danger.s-button-active:not(:disabled),.s-button-priority-danger:active:not(:disabled){background-color:#521e1e;border-color:#521e1e}button.s-button-priority-link{background-color:transparent;border-color:transparent}button.s-button-priority-link .s-button-icon,button.s-button-priority-link .s-button-menu-icon,button.s-button-priority-link .s-button-right-icon,button.s-button-priority-link .s-button-text{color:#428bca}button.s-button-priority-link:hover{background-color:transparent}button.s-button-priority-link:hover .s-button-icon,button.s-button-priority-link:hover .s-button-menu-icon,button.s-button-priority-link:hover .s-button-right-icon,button.s-button-priority-link:hover .s-button-text{color:#2a6496}button.s-button-priority-link:focus{border-color:#22dce6;background-color:transparent}button.s-button-priority-link:focus .s-button-icon,button.s-button-priority-link:focus .s-button-menu-icon,button.s-button-priority-link:focus .s-button-right-icon,button.s-button-priority-link:focus .s-button-text{color:#2a6496}button.s-button-priority-link.s-button-active:not(:disabled),button.s-button-priority-link:active:not(:disabled){background-color:transparent;border-color:transparent}button.s-button-priority-link.s-button-active:not(:disabled) .s-button-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-menu-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-right-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-text,button.s-button-priority-link:active:not(:disabled) .s-button-icon,button.s-button-priority-link:active:not(:disabled) .s-button-menu-icon,button.s-button-priority-link:active:not(:disabled) .s-button-right-icon,button.s-button-priority-link:active:not(:disabled) .s-button-text{color:#245682}.s-button--slide.s-button-with-icon.s-button-multiple,.s-button--slide.s-button-with-text{min-width:40px}.s-button--slide .s-button-text{position:absolute;opacity:0;width:0}.s-button--slide:hover .s-button-text{opacity:1;position:relative;transition:1s;width:auto}.s-button--slide:hover.s-button--rotate-animation .s-button-icon,.s-button--slide:hover.s-button--rotate-animation .s-button-right-icon{transform:rotate(360deg);transition:1.5s}"]
|
|
1316
1316
|
})
|
|
1317
1317
|
], ButtonComponent);
|
|
@@ -8438,94 +8438,6 @@ AutocompleteFieldComponent = __decorate([
|
|
|
8438
8438
|
})
|
|
8439
8439
|
], AutocompleteFieldComponent);
|
|
8440
8440
|
|
|
8441
|
-
let BignumberFieldComponent = class BignumberFieldComponent extends BaseFieldComponent {
|
|
8442
|
-
constructor(localeService) {
|
|
8443
|
-
super();
|
|
8444
|
-
this.localeService = localeService;
|
|
8445
|
-
this.onInput = new EventEmitter();
|
|
8446
|
-
this.onFocus = new EventEmitter();
|
|
8447
|
-
this.onComplete = new EventEmitter();
|
|
8448
|
-
this.ngUnsubscribe = new Subject();
|
|
8449
|
-
}
|
|
8450
|
-
ngOnInit() {
|
|
8451
|
-
this.onLocaleService();
|
|
8452
|
-
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
8453
|
-
if (this.field.onFocus) {
|
|
8454
|
-
this.field.onFocus(event);
|
|
8455
|
-
}
|
|
8456
|
-
});
|
|
8457
|
-
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
8458
|
-
if (this.field.onInput) {
|
|
8459
|
-
this.field.onInput(event);
|
|
8460
|
-
}
|
|
8461
|
-
});
|
|
8462
|
-
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
8463
|
-
if (this.field.onComplete) {
|
|
8464
|
-
this.field.onComplete(event);
|
|
8465
|
-
}
|
|
8466
|
-
});
|
|
8467
|
-
}
|
|
8468
|
-
ngOnDestroy() {
|
|
8469
|
-
this.ngUnsubscribe.next();
|
|
8470
|
-
this.ngUnsubscribe.complete();
|
|
8471
|
-
}
|
|
8472
|
-
get fieldType() {
|
|
8473
|
-
return FieldType;
|
|
8474
|
-
}
|
|
8475
|
-
onLocaleService() {
|
|
8476
|
-
this.localeService
|
|
8477
|
-
.getLocale()
|
|
8478
|
-
.pipe(first())
|
|
8479
|
-
.subscribe({
|
|
8480
|
-
next: () => {
|
|
8481
|
-
var _a, _b, _c;
|
|
8482
|
-
if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
8483
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
|
|
8484
|
-
}
|
|
8485
|
-
if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
8486
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
|
|
8487
|
-
}
|
|
8488
|
-
if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
8489
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$" });
|
|
8490
|
-
}
|
|
8491
|
-
},
|
|
8492
|
-
error: () => {
|
|
8493
|
-
var _a;
|
|
8494
|
-
return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
8495
|
-
thousandsSeparator: ".",
|
|
8496
|
-
decimalSeparator: ",",
|
|
8497
|
-
currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$",
|
|
8498
|
-
});
|
|
8499
|
-
},
|
|
8500
|
-
});
|
|
8501
|
-
}
|
|
8502
|
-
};
|
|
8503
|
-
BignumberFieldComponent.ctorParameters = () => [
|
|
8504
|
-
{ type: LocaleService }
|
|
8505
|
-
];
|
|
8506
|
-
__decorate([
|
|
8507
|
-
Input()
|
|
8508
|
-
], BignumberFieldComponent.prototype, "field", void 0);
|
|
8509
|
-
__decorate([
|
|
8510
|
-
Input()
|
|
8511
|
-
], BignumberFieldComponent.prototype, "formControl", void 0);
|
|
8512
|
-
__decorate([
|
|
8513
|
-
Output()
|
|
8514
|
-
], BignumberFieldComponent.prototype, "onInput", void 0);
|
|
8515
|
-
__decorate([
|
|
8516
|
-
Output()
|
|
8517
|
-
], BignumberFieldComponent.prototype, "onFocus", void 0);
|
|
8518
|
-
__decorate([
|
|
8519
|
-
Output()
|
|
8520
|
-
], BignumberFieldComponent.prototype, "onComplete", void 0);
|
|
8521
|
-
BignumberFieldComponent = __decorate([
|
|
8522
|
-
Component({
|
|
8523
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n <ng-container *ngIf=\"field.rightAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
|
|
8524
|
-
encapsulation: ViewEncapsulation.None,
|
|
8525
|
-
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
|
|
8526
|
-
})
|
|
8527
|
-
], BignumberFieldComponent);
|
|
8528
|
-
|
|
8529
8441
|
let BooleanFieldComponent = class BooleanFieldComponent {
|
|
8530
8442
|
onClear() {
|
|
8531
8443
|
this.formControl.reset();
|
|
@@ -8697,60 +8609,6 @@ CountryPhonePickerFieldComponent = __decorate([
|
|
|
8697
8609
|
})
|
|
8698
8610
|
], CountryPhonePickerFieldComponent);
|
|
8699
8611
|
|
|
8700
|
-
/**
|
|
8701
|
-
* @deprecated Should use bignumber instead
|
|
8702
|
-
*/
|
|
8703
|
-
let CurrencyFieldComponent = class CurrencyFieldComponent extends BaseFieldComponent {
|
|
8704
|
-
constructor(localeService) {
|
|
8705
|
-
super();
|
|
8706
|
-
this.localeService = localeService;
|
|
8707
|
-
}
|
|
8708
|
-
ngOnInit() {
|
|
8709
|
-
this.onLocaleService();
|
|
8710
|
-
}
|
|
8711
|
-
onLocaleService() {
|
|
8712
|
-
this.localeService
|
|
8713
|
-
.getLocale()
|
|
8714
|
-
.pipe(first())
|
|
8715
|
-
.subscribe({
|
|
8716
|
-
next: () => {
|
|
8717
|
-
var _a, _b, _c;
|
|
8718
|
-
if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
8719
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
|
|
8720
|
-
}
|
|
8721
|
-
if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
8722
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
|
|
8723
|
-
}
|
|
8724
|
-
if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
8725
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
8726
|
-
}
|
|
8727
|
-
},
|
|
8728
|
-
error: () => {
|
|
8729
|
-
var _a;
|
|
8730
|
-
return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
8731
|
-
thousandsSeparator: ".",
|
|
8732
|
-
decimalSeparator: ",",
|
|
8733
|
-
currencySymbol: "R$",
|
|
8734
|
-
});
|
|
8735
|
-
},
|
|
8736
|
-
});
|
|
8737
|
-
}
|
|
8738
|
-
};
|
|
8739
|
-
CurrencyFieldComponent.ctorParameters = () => [
|
|
8740
|
-
{ type: LocaleService }
|
|
8741
|
-
];
|
|
8742
|
-
__decorate([
|
|
8743
|
-
Input()
|
|
8744
|
-
], CurrencyFieldComponent.prototype, "field", void 0);
|
|
8745
|
-
__decorate([
|
|
8746
|
-
Input()
|
|
8747
|
-
], CurrencyFieldComponent.prototype, "formControl", void 0);
|
|
8748
|
-
CurrencyFieldComponent = __decorate([
|
|
8749
|
-
Component({
|
|
8750
|
-
template: "<div class=\"ui-inputgroup\">\n <span\n *ngIf=\"field.numberLocaleOptions.currencySymbol\"\n class=\"ui-inputgroup-addon\">\n {{ field.numberLocaleOptions.currencySymbol }}\n </span>\n <input\n *ngIf=\"!field.mask\"\n type=\"text\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event): null\" />\n <p-inputMask\n *ngIf=\"field.mask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\" >\n </p-inputMask>\n</div>\n"
|
|
8751
|
-
})
|
|
8752
|
-
], CurrencyFieldComponent);
|
|
8753
|
-
|
|
8754
8612
|
let FieldsetComponent = class FieldsetComponent {
|
|
8755
8613
|
};
|
|
8756
8614
|
__decorate([
|
|
@@ -8808,94 +8666,6 @@ LookupFieldComponent = __decorate([
|
|
|
8808
8666
|
})
|
|
8809
8667
|
], LookupFieldComponent);
|
|
8810
8668
|
|
|
8811
|
-
let NumberFieldComponent = class NumberFieldComponent extends BaseFieldComponent {
|
|
8812
|
-
constructor(localeService) {
|
|
8813
|
-
super();
|
|
8814
|
-
this.localeService = localeService;
|
|
8815
|
-
this.onInput = new EventEmitter();
|
|
8816
|
-
this.onFocus = new EventEmitter();
|
|
8817
|
-
this.onComplete = new EventEmitter();
|
|
8818
|
-
this.ngUnsubscribe = new Subject();
|
|
8819
|
-
}
|
|
8820
|
-
ngOnInit() {
|
|
8821
|
-
this.onLocaleService();
|
|
8822
|
-
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
8823
|
-
if (this.field.onFocus)
|
|
8824
|
-
this.field.onFocus(event);
|
|
8825
|
-
});
|
|
8826
|
-
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
8827
|
-
if (this.field.onInput)
|
|
8828
|
-
this.field.onInput(event);
|
|
8829
|
-
});
|
|
8830
|
-
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
8831
|
-
if (this.field.onComplete)
|
|
8832
|
-
this.field.onComplete(event);
|
|
8833
|
-
});
|
|
8834
|
-
}
|
|
8835
|
-
ngOnDestroy() {
|
|
8836
|
-
this.ngUnsubscribe.next();
|
|
8837
|
-
this.ngUnsubscribe.complete();
|
|
8838
|
-
}
|
|
8839
|
-
get numberAlignmentOption() {
|
|
8840
|
-
return NumberAlignmentOption;
|
|
8841
|
-
}
|
|
8842
|
-
get fieldType() {
|
|
8843
|
-
return FieldType;
|
|
8844
|
-
}
|
|
8845
|
-
onLocaleService() {
|
|
8846
|
-
this.localeService
|
|
8847
|
-
.getLocale()
|
|
8848
|
-
.pipe(first())
|
|
8849
|
-
.subscribe({
|
|
8850
|
-
next: () => {
|
|
8851
|
-
var _a, _b, _c;
|
|
8852
|
-
if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
8853
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
|
|
8854
|
-
}
|
|
8855
|
-
if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
8856
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
|
|
8857
|
-
}
|
|
8858
|
-
if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
8859
|
-
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
8860
|
-
}
|
|
8861
|
-
},
|
|
8862
|
-
error: () => {
|
|
8863
|
-
var _a;
|
|
8864
|
-
return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
8865
|
-
thousandsSeparator: ".",
|
|
8866
|
-
decimalSeparator: ",",
|
|
8867
|
-
currencySymbol: "R$",
|
|
8868
|
-
});
|
|
8869
|
-
},
|
|
8870
|
-
});
|
|
8871
|
-
}
|
|
8872
|
-
};
|
|
8873
|
-
NumberFieldComponent.ctorParameters = () => [
|
|
8874
|
-
{ type: LocaleService }
|
|
8875
|
-
];
|
|
8876
|
-
__decorate([
|
|
8877
|
-
Input()
|
|
8878
|
-
], NumberFieldComponent.prototype, "field", void 0);
|
|
8879
|
-
__decorate([
|
|
8880
|
-
Input()
|
|
8881
|
-
], NumberFieldComponent.prototype, "formControl", void 0);
|
|
8882
|
-
__decorate([
|
|
8883
|
-
Output()
|
|
8884
|
-
], NumberFieldComponent.prototype, "onInput", void 0);
|
|
8885
|
-
__decorate([
|
|
8886
|
-
Output()
|
|
8887
|
-
], NumberFieldComponent.prototype, "onFocus", void 0);
|
|
8888
|
-
__decorate([
|
|
8889
|
-
Output()
|
|
8890
|
-
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
8891
|
-
NumberFieldComponent = __decorate([
|
|
8892
|
-
Component({
|
|
8893
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
|
|
8894
|
-
encapsulation: ViewEncapsulation.None,
|
|
8895
|
-
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
|
|
8896
|
-
})
|
|
8897
|
-
], NumberFieldComponent);
|
|
8898
|
-
|
|
8899
8669
|
let PasswordFieldComponent = class PasswordFieldComponent {
|
|
8900
8670
|
constructor() {
|
|
8901
8671
|
this.onInput = new EventEmitter();
|
|
@@ -9234,6 +9004,265 @@ TextAreaIAFieldComponent = __decorate([
|
|
|
9234
9004
|
})
|
|
9235
9005
|
], TextAreaIAFieldComponent);
|
|
9236
9006
|
|
|
9007
|
+
let RowComponent = class RowComponent {
|
|
9008
|
+
constructor() { }
|
|
9009
|
+
ngOnInit() { }
|
|
9010
|
+
getErrorMessages(errorMessages) {
|
|
9011
|
+
if (errorMessages)
|
|
9012
|
+
return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
|
|
9013
|
+
return this.errorMessages;
|
|
9014
|
+
}
|
|
9015
|
+
isFunction(value) {
|
|
9016
|
+
return value instanceof Function;
|
|
9017
|
+
}
|
|
9018
|
+
};
|
|
9019
|
+
__decorate([
|
|
9020
|
+
Input()
|
|
9021
|
+
], RowComponent.prototype, "id", void 0);
|
|
9022
|
+
__decorate([
|
|
9023
|
+
Input()
|
|
9024
|
+
], RowComponent.prototype, "config", void 0);
|
|
9025
|
+
__decorate([
|
|
9026
|
+
Input()
|
|
9027
|
+
], RowComponent.prototype, "group", void 0);
|
|
9028
|
+
__decorate([
|
|
9029
|
+
Input()
|
|
9030
|
+
], RowComponent.prototype, "errorMessages", void 0);
|
|
9031
|
+
RowComponent = __decorate([
|
|
9032
|
+
Component({
|
|
9033
|
+
template: `
|
|
9034
|
+
<div class="ui-fluid" [formGroup]="group">
|
|
9035
|
+
<div class="ui-g">
|
|
9036
|
+
<ng-container *ngFor="let field of config.fields">
|
|
9037
|
+
<div [ngClass]="field.gridClass" *ngIf="field.visible()">
|
|
9038
|
+
<label
|
|
9039
|
+
[for]="field.name"
|
|
9040
|
+
[ngClass]="{ 'required': field.required() }"
|
|
9041
|
+
*sInfoSign="field.infoSign"
|
|
9042
|
+
>
|
|
9043
|
+
{{ field.label }}
|
|
9044
|
+
</label>
|
|
9045
|
+
|
|
9046
|
+
<ng-container *sDynamicForm="{ id: id, config: field, group: group}"></ng-container>
|
|
9047
|
+
|
|
9048
|
+
<s-control-errors [form]="group" [control]="group.controls[field.name]"
|
|
9049
|
+
[errorMessages]="getErrorMessages(field.errorMessages)"></s-control-errors>
|
|
9050
|
+
|
|
9051
|
+
<ng-container *ngIf="field.footer">
|
|
9052
|
+
<ng-container *ngIf="field.footer.help">
|
|
9053
|
+
<span *ngIf="field.footer.help.visible({ abstractControl: group.controls[field.name], formField: field })" style="color: #888B99">{{ field.footer.help.text }}</span>
|
|
9054
|
+
</ng-container>
|
|
9055
|
+
|
|
9056
|
+
<ng-container *ngIf="field.footer.link">
|
|
9057
|
+
<div
|
|
9058
|
+
*ngIf="field.footer.link.visible({ abstractControl: group.controls[field.name], formField: field })"
|
|
9059
|
+
class="ui-g"
|
|
9060
|
+
style="margin-left: -17px"
|
|
9061
|
+
>
|
|
9062
|
+
<s-button
|
|
9063
|
+
[label]="field.footer.link.label"
|
|
9064
|
+
priority="link"
|
|
9065
|
+
(onClick)="field.footer.link.onClick({ abstractControl: group.controls[field.name], formField: field })"
|
|
9066
|
+
[auxiliary]="true"
|
|
9067
|
+
></s-button>
|
|
9068
|
+
</div>
|
|
9069
|
+
</ng-container>
|
|
9070
|
+
</ng-container>
|
|
9071
|
+
|
|
9072
|
+
<ng-template *ngIf="field?.bottomTemplate" [ngTemplateOutlet]="field.bottomTemplate"></ng-template>
|
|
9073
|
+
</div>
|
|
9074
|
+
</ng-container>
|
|
9075
|
+
</div>
|
|
9076
|
+
`
|
|
9077
|
+
})
|
|
9078
|
+
], RowComponent);
|
|
9079
|
+
|
|
9080
|
+
let DynamicFieldComponent = class DynamicFieldComponent {
|
|
9081
|
+
getErrorMessages(errorMessages) {
|
|
9082
|
+
if (errorMessages)
|
|
9083
|
+
return this.isFunction(errorMessages)
|
|
9084
|
+
? Object.assign(Object.assign({}, this.errorMessages), errorMessages()) : Object.assign(Object.assign({}, this.errorMessages), errorMessages);
|
|
9085
|
+
return this.errorMessages;
|
|
9086
|
+
}
|
|
9087
|
+
isFunction(value) {
|
|
9088
|
+
return value instanceof Function;
|
|
9089
|
+
}
|
|
9090
|
+
};
|
|
9091
|
+
__decorate([
|
|
9092
|
+
Input()
|
|
9093
|
+
], DynamicFieldComponent.prototype, "id", void 0);
|
|
9094
|
+
__decorate([
|
|
9095
|
+
Input()
|
|
9096
|
+
], DynamicFieldComponent.prototype, "fields", void 0);
|
|
9097
|
+
__decorate([
|
|
9098
|
+
Input()
|
|
9099
|
+
], DynamicFieldComponent.prototype, "form", void 0);
|
|
9100
|
+
__decorate([
|
|
9101
|
+
Input()
|
|
9102
|
+
], DynamicFieldComponent.prototype, "errorMessages", void 0);
|
|
9103
|
+
__decorate([
|
|
9104
|
+
Input()
|
|
9105
|
+
], DynamicFieldComponent.prototype, "displayTimeInfoSign", void 0);
|
|
9106
|
+
DynamicFieldComponent = __decorate([
|
|
9107
|
+
Component({
|
|
9108
|
+
selector: "s-dynamic-field",
|
|
9109
|
+
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"
|
|
9110
|
+
})
|
|
9111
|
+
], DynamicFieldComponent);
|
|
9112
|
+
|
|
9113
|
+
var GridType;
|
|
9114
|
+
(function (GridType) {
|
|
9115
|
+
GridType["Row"] = "Row";
|
|
9116
|
+
})(GridType || (GridType = {}));
|
|
9117
|
+
|
|
9118
|
+
var StructureType;
|
|
9119
|
+
(function (StructureType) {
|
|
9120
|
+
StructureType["Fieldset"] = "Fieldset";
|
|
9121
|
+
StructureType["Section"] = "Section";
|
|
9122
|
+
})(StructureType || (StructureType = {}));
|
|
9123
|
+
|
|
9124
|
+
let BignumberFieldComponent = class BignumberFieldComponent extends BaseFieldComponent {
|
|
9125
|
+
constructor(localeService) {
|
|
9126
|
+
super();
|
|
9127
|
+
this.localeService = localeService;
|
|
9128
|
+
this.onInput = new EventEmitter();
|
|
9129
|
+
this.onFocus = new EventEmitter();
|
|
9130
|
+
this.onComplete = new EventEmitter();
|
|
9131
|
+
this.ngUnsubscribe = new Subject();
|
|
9132
|
+
}
|
|
9133
|
+
ngOnInit() {
|
|
9134
|
+
this.onLocaleService();
|
|
9135
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
9136
|
+
if (this.field.onFocus) {
|
|
9137
|
+
this.field.onFocus(event);
|
|
9138
|
+
}
|
|
9139
|
+
});
|
|
9140
|
+
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
9141
|
+
if (this.field.onInput) {
|
|
9142
|
+
this.field.onInput(event);
|
|
9143
|
+
}
|
|
9144
|
+
});
|
|
9145
|
+
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
9146
|
+
if (this.field.onComplete) {
|
|
9147
|
+
this.field.onComplete(event);
|
|
9148
|
+
}
|
|
9149
|
+
});
|
|
9150
|
+
}
|
|
9151
|
+
ngOnDestroy() {
|
|
9152
|
+
this.ngUnsubscribe.next();
|
|
9153
|
+
this.ngUnsubscribe.complete();
|
|
9154
|
+
}
|
|
9155
|
+
get fieldType() {
|
|
9156
|
+
return FieldType;
|
|
9157
|
+
}
|
|
9158
|
+
onLocaleService() {
|
|
9159
|
+
this.localeService
|
|
9160
|
+
.getLocale()
|
|
9161
|
+
.pipe(first())
|
|
9162
|
+
.subscribe({
|
|
9163
|
+
next: () => {
|
|
9164
|
+
var _a, _b, _c;
|
|
9165
|
+
if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
9166
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
|
|
9167
|
+
}
|
|
9168
|
+
if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
9169
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
|
|
9170
|
+
}
|
|
9171
|
+
if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
9172
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$" });
|
|
9173
|
+
}
|
|
9174
|
+
},
|
|
9175
|
+
error: () => {
|
|
9176
|
+
var _a;
|
|
9177
|
+
return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
9178
|
+
thousandsSeparator: ".",
|
|
9179
|
+
decimalSeparator: ",",
|
|
9180
|
+
currencySymbol: this.field.type === FieldType.Integer || this.field.type === FieldType.Double ? "" : "R$",
|
|
9181
|
+
});
|
|
9182
|
+
},
|
|
9183
|
+
});
|
|
9184
|
+
}
|
|
9185
|
+
};
|
|
9186
|
+
BignumberFieldComponent.ctorParameters = () => [
|
|
9187
|
+
{ type: LocaleService }
|
|
9188
|
+
];
|
|
9189
|
+
__decorate([
|
|
9190
|
+
Input()
|
|
9191
|
+
], BignumberFieldComponent.prototype, "field", void 0);
|
|
9192
|
+
__decorate([
|
|
9193
|
+
Input()
|
|
9194
|
+
], BignumberFieldComponent.prototype, "formControl", void 0);
|
|
9195
|
+
__decorate([
|
|
9196
|
+
Output()
|
|
9197
|
+
], BignumberFieldComponent.prototype, "onInput", void 0);
|
|
9198
|
+
__decorate([
|
|
9199
|
+
Output()
|
|
9200
|
+
], BignumberFieldComponent.prototype, "onFocus", void 0);
|
|
9201
|
+
__decorate([
|
|
9202
|
+
Output()
|
|
9203
|
+
], BignumberFieldComponent.prototype, "onComplete", void 0);
|
|
9204
|
+
BignumberFieldComponent = __decorate([
|
|
9205
|
+
Component({
|
|
9206
|
+
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [autoClear]=\"field.autoClear\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
|
|
9207
|
+
encapsulation: ViewEncapsulation.None,
|
|
9208
|
+
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px!important}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
9209
|
+
})
|
|
9210
|
+
], BignumberFieldComponent);
|
|
9211
|
+
|
|
9212
|
+
/**
|
|
9213
|
+
* @deprecated Should use bignumber instead
|
|
9214
|
+
*/
|
|
9215
|
+
let CurrencyFieldComponent = class CurrencyFieldComponent extends BaseFieldComponent {
|
|
9216
|
+
constructor(localeService) {
|
|
9217
|
+
super();
|
|
9218
|
+
this.localeService = localeService;
|
|
9219
|
+
}
|
|
9220
|
+
ngOnInit() {
|
|
9221
|
+
this.onLocaleService();
|
|
9222
|
+
}
|
|
9223
|
+
onLocaleService() {
|
|
9224
|
+
this.localeService
|
|
9225
|
+
.getLocale()
|
|
9226
|
+
.pipe(first())
|
|
9227
|
+
.subscribe({
|
|
9228
|
+
next: () => {
|
|
9229
|
+
var _a, _b, _c;
|
|
9230
|
+
if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
9231
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
|
|
9232
|
+
}
|
|
9233
|
+
if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
9234
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
|
|
9235
|
+
}
|
|
9236
|
+
if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
9237
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
9238
|
+
}
|
|
9239
|
+
},
|
|
9240
|
+
error: () => {
|
|
9241
|
+
var _a;
|
|
9242
|
+
return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
9243
|
+
thousandsSeparator: ".",
|
|
9244
|
+
decimalSeparator: ",",
|
|
9245
|
+
currencySymbol: "R$",
|
|
9246
|
+
});
|
|
9247
|
+
},
|
|
9248
|
+
});
|
|
9249
|
+
}
|
|
9250
|
+
};
|
|
9251
|
+
CurrencyFieldComponent.ctorParameters = () => [
|
|
9252
|
+
{ type: LocaleService }
|
|
9253
|
+
];
|
|
9254
|
+
__decorate([
|
|
9255
|
+
Input()
|
|
9256
|
+
], CurrencyFieldComponent.prototype, "field", void 0);
|
|
9257
|
+
__decorate([
|
|
9258
|
+
Input()
|
|
9259
|
+
], CurrencyFieldComponent.prototype, "formControl", void 0);
|
|
9260
|
+
CurrencyFieldComponent = __decorate([
|
|
9261
|
+
Component({
|
|
9262
|
+
template: "<div class=\"ui-inputgroup\">\n <span\n *ngIf=\"field.numberLocaleOptions.currencySymbol\"\n class=\"ui-inputgroup-addon\">\n {{ field.numberLocaleOptions.currencySymbol }}\n </span>\n <input\n *ngIf=\"!field.mask\"\n type=\"text\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event): null\" />\n <p-inputMask\n *ngIf=\"field.mask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [formControl]=\"formControl\"\n [mask]=\"field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event): null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\" >\n </p-inputMask>\n</div>\n"
|
|
9263
|
+
})
|
|
9264
|
+
], CurrencyFieldComponent);
|
|
9265
|
+
|
|
9237
9266
|
let TextFieldComponent = class TextFieldComponent extends BaseFieldComponent {
|
|
9238
9267
|
constructor() {
|
|
9239
9268
|
super(...arguments);
|
|
@@ -9278,129 +9307,12 @@ __decorate([
|
|
|
9278
9307
|
], TextFieldComponent.prototype, "onComplete", void 0);
|
|
9279
9308
|
TextFieldComponent = __decorate([
|
|
9280
9309
|
Component({
|
|
9281
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"
|
|
9310
|
+
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n",
|
|
9282
9311
|
encapsulation: ViewEncapsulation.None,
|
|
9283
|
-
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
|
|
9312
|
+
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
9284
9313
|
})
|
|
9285
9314
|
], TextFieldComponent);
|
|
9286
9315
|
|
|
9287
|
-
let RowComponent = class RowComponent {
|
|
9288
|
-
constructor() { }
|
|
9289
|
-
ngOnInit() { }
|
|
9290
|
-
getErrorMessages(errorMessages) {
|
|
9291
|
-
if (errorMessages)
|
|
9292
|
-
return this.isFunction(errorMessages) ? errorMessages() : errorMessages;
|
|
9293
|
-
return this.errorMessages;
|
|
9294
|
-
}
|
|
9295
|
-
isFunction(value) {
|
|
9296
|
-
return value instanceof Function;
|
|
9297
|
-
}
|
|
9298
|
-
};
|
|
9299
|
-
__decorate([
|
|
9300
|
-
Input()
|
|
9301
|
-
], RowComponent.prototype, "id", void 0);
|
|
9302
|
-
__decorate([
|
|
9303
|
-
Input()
|
|
9304
|
-
], RowComponent.prototype, "config", void 0);
|
|
9305
|
-
__decorate([
|
|
9306
|
-
Input()
|
|
9307
|
-
], RowComponent.prototype, "group", void 0);
|
|
9308
|
-
__decorate([
|
|
9309
|
-
Input()
|
|
9310
|
-
], RowComponent.prototype, "errorMessages", void 0);
|
|
9311
|
-
RowComponent = __decorate([
|
|
9312
|
-
Component({
|
|
9313
|
-
template: `
|
|
9314
|
-
<div class="ui-fluid" [formGroup]="group">
|
|
9315
|
-
<div class="ui-g">
|
|
9316
|
-
<ng-container *ngFor="let field of config.fields">
|
|
9317
|
-
<div [ngClass]="field.gridClass" *ngIf="field.visible()">
|
|
9318
|
-
<label
|
|
9319
|
-
[for]="field.name"
|
|
9320
|
-
[ngClass]="{ 'required': field.required() }"
|
|
9321
|
-
*sInfoSign="field.infoSign"
|
|
9322
|
-
>
|
|
9323
|
-
{{ field.label }}
|
|
9324
|
-
</label>
|
|
9325
|
-
|
|
9326
|
-
<ng-container *sDynamicForm="{ id: id, config: field, group: group}"></ng-container>
|
|
9327
|
-
|
|
9328
|
-
<s-control-errors [form]="group" [control]="group.controls[field.name]"
|
|
9329
|
-
[errorMessages]="getErrorMessages(field.errorMessages)"></s-control-errors>
|
|
9330
|
-
|
|
9331
|
-
<ng-container *ngIf="field.footer">
|
|
9332
|
-
<ng-container *ngIf="field.footer.help">
|
|
9333
|
-
<span *ngIf="field.footer.help.visible({ abstractControl: group.controls[field.name], formField: field })" style="color: #888B99">{{ field.footer.help.text }}</span>
|
|
9334
|
-
</ng-container>
|
|
9335
|
-
|
|
9336
|
-
<ng-container *ngIf="field.footer.link">
|
|
9337
|
-
<div
|
|
9338
|
-
*ngIf="field.footer.link.visible({ abstractControl: group.controls[field.name], formField: field })"
|
|
9339
|
-
class="ui-g"
|
|
9340
|
-
style="margin-left: -17px"
|
|
9341
|
-
>
|
|
9342
|
-
<s-button
|
|
9343
|
-
[label]="field.footer.link.label"
|
|
9344
|
-
priority="link"
|
|
9345
|
-
(onClick)="field.footer.link.onClick({ abstractControl: group.controls[field.name], formField: field })"
|
|
9346
|
-
[auxiliary]="true"
|
|
9347
|
-
></s-button>
|
|
9348
|
-
</div>
|
|
9349
|
-
</ng-container>
|
|
9350
|
-
</ng-container>
|
|
9351
|
-
|
|
9352
|
-
<ng-template *ngIf="field?.bottomTemplate" [ngTemplateOutlet]="field.bottomTemplate"></ng-template>
|
|
9353
|
-
</div>
|
|
9354
|
-
</ng-container>
|
|
9355
|
-
</div>
|
|
9356
|
-
`
|
|
9357
|
-
})
|
|
9358
|
-
], RowComponent);
|
|
9359
|
-
|
|
9360
|
-
let DynamicFieldComponent = class DynamicFieldComponent {
|
|
9361
|
-
getErrorMessages(errorMessages) {
|
|
9362
|
-
if (errorMessages)
|
|
9363
|
-
return this.isFunction(errorMessages)
|
|
9364
|
-
? Object.assign(Object.assign({}, this.errorMessages), errorMessages()) : Object.assign(Object.assign({}, this.errorMessages), errorMessages);
|
|
9365
|
-
return this.errorMessages;
|
|
9366
|
-
}
|
|
9367
|
-
isFunction(value) {
|
|
9368
|
-
return value instanceof Function;
|
|
9369
|
-
}
|
|
9370
|
-
};
|
|
9371
|
-
__decorate([
|
|
9372
|
-
Input()
|
|
9373
|
-
], DynamicFieldComponent.prototype, "id", void 0);
|
|
9374
|
-
__decorate([
|
|
9375
|
-
Input()
|
|
9376
|
-
], DynamicFieldComponent.prototype, "fields", void 0);
|
|
9377
|
-
__decorate([
|
|
9378
|
-
Input()
|
|
9379
|
-
], DynamicFieldComponent.prototype, "form", void 0);
|
|
9380
|
-
__decorate([
|
|
9381
|
-
Input()
|
|
9382
|
-
], DynamicFieldComponent.prototype, "errorMessages", void 0);
|
|
9383
|
-
__decorate([
|
|
9384
|
-
Input()
|
|
9385
|
-
], DynamicFieldComponent.prototype, "displayTimeInfoSign", void 0);
|
|
9386
|
-
DynamicFieldComponent = __decorate([
|
|
9387
|
-
Component({
|
|
9388
|
-
selector: "s-dynamic-field",
|
|
9389
|
-
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"
|
|
9390
|
-
})
|
|
9391
|
-
], DynamicFieldComponent);
|
|
9392
|
-
|
|
9393
|
-
var GridType;
|
|
9394
|
-
(function (GridType) {
|
|
9395
|
-
GridType["Row"] = "Row";
|
|
9396
|
-
})(GridType || (GridType = {}));
|
|
9397
|
-
|
|
9398
|
-
var StructureType;
|
|
9399
|
-
(function (StructureType) {
|
|
9400
|
-
StructureType["Fieldset"] = "Fieldset";
|
|
9401
|
-
StructureType["Section"] = "Section";
|
|
9402
|
-
})(StructureType || (StructureType = {}));
|
|
9403
|
-
|
|
9404
9316
|
class DynamicForm {
|
|
9405
9317
|
constructor({ group, errorMessages }) {
|
|
9406
9318
|
this.group = group;
|
|
@@ -9615,6 +9527,162 @@ DynamicFormDirective = __decorate([
|
|
|
9615
9527
|
Directive({ selector: "[sDynamicForm]" })
|
|
9616
9528
|
], DynamicFormDirective);
|
|
9617
9529
|
|
|
9530
|
+
let TextFieldModule = class TextFieldModule {
|
|
9531
|
+
};
|
|
9532
|
+
TextFieldModule = __decorate([
|
|
9533
|
+
NgModule({
|
|
9534
|
+
imports: [
|
|
9535
|
+
CommonModule,
|
|
9536
|
+
FormsModule,
|
|
9537
|
+
ReactiveFormsModule,
|
|
9538
|
+
ButtonModule,
|
|
9539
|
+
TooltipModule,
|
|
9540
|
+
InputMaskModule,
|
|
9541
|
+
InputTextModule,
|
|
9542
|
+
KeyFilterModule,
|
|
9543
|
+
],
|
|
9544
|
+
declarations: [TextFieldComponent],
|
|
9545
|
+
exports: [TextFieldComponent],
|
|
9546
|
+
})
|
|
9547
|
+
], TextFieldModule);
|
|
9548
|
+
|
|
9549
|
+
let NumberFieldComponent = class NumberFieldComponent extends BaseFieldComponent {
|
|
9550
|
+
constructor(localeService) {
|
|
9551
|
+
super();
|
|
9552
|
+
this.localeService = localeService;
|
|
9553
|
+
this.onInput = new EventEmitter();
|
|
9554
|
+
this.onFocus = new EventEmitter();
|
|
9555
|
+
this.onComplete = new EventEmitter();
|
|
9556
|
+
this.ngUnsubscribe = new Subject();
|
|
9557
|
+
}
|
|
9558
|
+
ngOnInit() {
|
|
9559
|
+
this.onLocaleService();
|
|
9560
|
+
this.onFocus.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
9561
|
+
if (this.field.onFocus)
|
|
9562
|
+
this.field.onFocus(event);
|
|
9563
|
+
});
|
|
9564
|
+
this.onInput.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
9565
|
+
if (this.field.onInput)
|
|
9566
|
+
this.field.onInput(event);
|
|
9567
|
+
});
|
|
9568
|
+
this.onComplete.pipe(takeUntil(this.ngUnsubscribe)).subscribe((event) => {
|
|
9569
|
+
if (this.field.onComplete)
|
|
9570
|
+
this.field.onComplete(event);
|
|
9571
|
+
});
|
|
9572
|
+
}
|
|
9573
|
+
ngOnDestroy() {
|
|
9574
|
+
this.ngUnsubscribe.next();
|
|
9575
|
+
this.ngUnsubscribe.complete();
|
|
9576
|
+
}
|
|
9577
|
+
get numberAlignmentOption() {
|
|
9578
|
+
return NumberAlignmentOption;
|
|
9579
|
+
}
|
|
9580
|
+
get fieldType() {
|
|
9581
|
+
return FieldType;
|
|
9582
|
+
}
|
|
9583
|
+
onLocaleService() {
|
|
9584
|
+
this.localeService
|
|
9585
|
+
.getLocale()
|
|
9586
|
+
.pipe(first())
|
|
9587
|
+
.subscribe({
|
|
9588
|
+
next: () => {
|
|
9589
|
+
var _a, _b, _c;
|
|
9590
|
+
if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
9591
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
|
|
9592
|
+
}
|
|
9593
|
+
if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
9594
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
|
|
9595
|
+
}
|
|
9596
|
+
if (!((_c = this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
9597
|
+
this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
9598
|
+
}
|
|
9599
|
+
},
|
|
9600
|
+
error: () => {
|
|
9601
|
+
var _a;
|
|
9602
|
+
return (this.field.numberLocaleOptions = (_a = this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
9603
|
+
thousandsSeparator: ".",
|
|
9604
|
+
decimalSeparator: ",",
|
|
9605
|
+
currencySymbol: "R$",
|
|
9606
|
+
});
|
|
9607
|
+
},
|
|
9608
|
+
});
|
|
9609
|
+
}
|
|
9610
|
+
};
|
|
9611
|
+
NumberFieldComponent.ctorParameters = () => [
|
|
9612
|
+
{ type: LocaleService }
|
|
9613
|
+
];
|
|
9614
|
+
__decorate([
|
|
9615
|
+
Input()
|
|
9616
|
+
], NumberFieldComponent.prototype, "field", void 0);
|
|
9617
|
+
__decorate([
|
|
9618
|
+
Input()
|
|
9619
|
+
], NumberFieldComponent.prototype, "formControl", void 0);
|
|
9620
|
+
__decorate([
|
|
9621
|
+
Output()
|
|
9622
|
+
], NumberFieldComponent.prototype, "onInput", void 0);
|
|
9623
|
+
__decorate([
|
|
9624
|
+
Output()
|
|
9625
|
+
], NumberFieldComponent.prototype, "onFocus", void 0);
|
|
9626
|
+
__decorate([
|
|
9627
|
+
Output()
|
|
9628
|
+
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
9629
|
+
NumberFieldComponent = __decorate([
|
|
9630
|
+
Component({
|
|
9631
|
+
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
|
|
9632
|
+
encapsulation: ViewEncapsulation.None,
|
|
9633
|
+
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
9634
|
+
})
|
|
9635
|
+
], NumberFieldComponent);
|
|
9636
|
+
|
|
9637
|
+
let NumberFieldModule = class NumberFieldModule {
|
|
9638
|
+
};
|
|
9639
|
+
NumberFieldModule = __decorate([
|
|
9640
|
+
NgModule({
|
|
9641
|
+
imports: [
|
|
9642
|
+
CommonModule,
|
|
9643
|
+
FormsModule,
|
|
9644
|
+
ReactiveFormsModule,
|
|
9645
|
+
LocalizedNumberInputModule,
|
|
9646
|
+
NumberInputModule,
|
|
9647
|
+
ButtonModule,
|
|
9648
|
+
TooltipModule,
|
|
9649
|
+
InputMaskModule,
|
|
9650
|
+
InputTextModule,
|
|
9651
|
+
],
|
|
9652
|
+
declarations: [NumberFieldComponent],
|
|
9653
|
+
exports: [NumberFieldComponent],
|
|
9654
|
+
})
|
|
9655
|
+
], NumberFieldModule);
|
|
9656
|
+
|
|
9657
|
+
let CurrencyFieldModule = class CurrencyFieldModule {
|
|
9658
|
+
};
|
|
9659
|
+
CurrencyFieldModule = __decorate([
|
|
9660
|
+
NgModule({
|
|
9661
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, NumberInputModule, TooltipModule, InputMaskModule, InputTextModule],
|
|
9662
|
+
declarations: [CurrencyFieldComponent],
|
|
9663
|
+
exports: [CurrencyFieldComponent],
|
|
9664
|
+
})
|
|
9665
|
+
], CurrencyFieldModule);
|
|
9666
|
+
|
|
9667
|
+
let NumberFieldModule$1 = class NumberFieldModule {
|
|
9668
|
+
};
|
|
9669
|
+
NumberFieldModule$1 = __decorate([
|
|
9670
|
+
NgModule({
|
|
9671
|
+
imports: [
|
|
9672
|
+
CommonModule,
|
|
9673
|
+
FormsModule,
|
|
9674
|
+
ReactiveFormsModule,
|
|
9675
|
+
ButtonModule,
|
|
9676
|
+
BignumberInputModule,
|
|
9677
|
+
TooltipModule,
|
|
9678
|
+
InputMaskModule,
|
|
9679
|
+
InputTextModule,
|
|
9680
|
+
],
|
|
9681
|
+
declarations: [BignumberFieldComponent],
|
|
9682
|
+
exports: [BignumberFieldComponent],
|
|
9683
|
+
})
|
|
9684
|
+
], NumberFieldModule$1);
|
|
9685
|
+
|
|
9618
9686
|
let DynamicFormModule = class DynamicFormModule {
|
|
9619
9687
|
};
|
|
9620
9688
|
DynamicFormModule = __decorate([
|
|
@@ -9662,16 +9730,18 @@ DynamicFormModule = __decorate([
|
|
|
9662
9730
|
PasswordStrengthModule,
|
|
9663
9731
|
SliderModule,
|
|
9664
9732
|
TranslateModule.forChild(),
|
|
9733
|
+
TextFieldModule,
|
|
9734
|
+
NumberFieldModule,
|
|
9735
|
+
CurrencyFieldModule,
|
|
9736
|
+
NumberFieldModule$1,
|
|
9665
9737
|
],
|
|
9666
9738
|
declarations: [
|
|
9667
9739
|
AutocompleteFieldComponent,
|
|
9668
|
-
BignumberFieldComponent,
|
|
9669
9740
|
BooleanFieldComponent,
|
|
9670
9741
|
BooleanSwitchFieldComponent,
|
|
9671
9742
|
CalendarFieldComponent,
|
|
9672
9743
|
ChipsFieldComponent,
|
|
9673
9744
|
CountryPhonePickerFieldComponent,
|
|
9674
|
-
CurrencyFieldComponent,
|
|
9675
9745
|
DynamicFieldComponent,
|
|
9676
9746
|
DynamicFormComponent,
|
|
9677
9747
|
DynamicFormDirective,
|
|
@@ -9679,7 +9749,6 @@ DynamicFormModule = __decorate([
|
|
|
9679
9749
|
FileUploadComponent$1,
|
|
9680
9750
|
LookupComponent,
|
|
9681
9751
|
LookupFieldComponent,
|
|
9682
|
-
NumberFieldComponent,
|
|
9683
9752
|
PasswordFieldComponent,
|
|
9684
9753
|
RadioButtonComponent,
|
|
9685
9754
|
RowComponent,
|
|
@@ -9688,22 +9757,18 @@ DynamicFormModule = __decorate([
|
|
|
9688
9757
|
SliderFieldComponent,
|
|
9689
9758
|
TextAreaFieldComponent,
|
|
9690
9759
|
TextAreaIAFieldComponent,
|
|
9691
|
-
TextFieldComponent,
|
|
9692
9760
|
],
|
|
9693
9761
|
exports: [DynamicFormComponent, LookupComponent],
|
|
9694
9762
|
entryComponents: [
|
|
9695
9763
|
AutocompleteFieldComponent,
|
|
9696
|
-
BignumberFieldComponent,
|
|
9697
9764
|
BooleanFieldComponent,
|
|
9698
9765
|
BooleanSwitchFieldComponent,
|
|
9699
9766
|
CalendarFieldComponent,
|
|
9700
9767
|
ChipsFieldComponent,
|
|
9701
9768
|
CountryPhonePickerFieldComponent,
|
|
9702
|
-
CurrencyFieldComponent,
|
|
9703
9769
|
FieldsetComponent,
|
|
9704
9770
|
FileUploadComponent$1,
|
|
9705
9771
|
LookupFieldComponent,
|
|
9706
|
-
NumberFieldComponent,
|
|
9707
9772
|
PasswordFieldComponent,
|
|
9708
9773
|
RadioButtonComponent,
|
|
9709
9774
|
RowComponent,
|
|
@@ -9712,7 +9777,6 @@ DynamicFormModule = __decorate([
|
|
|
9712
9777
|
SliderFieldComponent,
|
|
9713
9778
|
TextAreaFieldComponent,
|
|
9714
9779
|
TextAreaIAFieldComponent,
|
|
9715
|
-
TextFieldComponent,
|
|
9716
9780
|
],
|
|
9717
9781
|
providers: [
|
|
9718
9782
|
HotkeysService,
|
|
@@ -14197,9 +14261,13 @@ let SelectButtonComponent = SelectButtonComponent_1 = class SelectButtonComponen
|
|
|
14197
14261
|
writeValue(value) {
|
|
14198
14262
|
if (!value)
|
|
14199
14263
|
return;
|
|
14200
|
-
|
|
14201
|
-
|
|
14202
|
-
|
|
14264
|
+
this.activeItems.clear();
|
|
14265
|
+
if (Array.isArray(value)) {
|
|
14266
|
+
value.forEach((item) => this.activeItems.add(item));
|
|
14267
|
+
}
|
|
14268
|
+
else {
|
|
14269
|
+
this.activeItems.add(value);
|
|
14270
|
+
}
|
|
14203
14271
|
}
|
|
14204
14272
|
registerOnChange(onChange) {
|
|
14205
14273
|
this.onChange = onChange;
|
|
@@ -16427,5 +16495,5 @@ const fallback = {
|
|
|
16427
16495
|
* Generated bundle index. Do not edit.
|
|
16428
16496
|
*/
|
|
16429
16497
|
|
|
16430
|
-
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb,
|
|
16498
|
+
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, TextFieldComponent as ɵba, NumberFieldModule as ɵbb, LocalizedNumberInputModule as ɵbc, NumberInputModule as ɵbd, NumberFieldComponent as ɵbe, CurrencyFieldModule as ɵbf, CurrencyFieldComponent as ɵbg, NumberFieldModule$1 as ɵbh, BignumberInputModule as ɵbi, BignumberFieldComponent as ɵbj, AutocompleteFieldComponent as ɵbk, BooleanFieldComponent as ɵbl, BooleanSwitchFieldComponent as ɵbm, CalendarFieldComponent as ɵbn, ChipsFieldComponent as ɵbo, CountryPhonePickerFieldComponent as ɵbp, DynamicFieldComponent as ɵbq, DynamicFormDirective as ɵbr, FieldsetComponent as ɵbs, FileUploadComponent$1 as ɵbt, LookupFieldComponent as ɵbu, PasswordFieldComponent as ɵbv, RadioButtonComponent as ɵbw, RowComponent as ɵbx, SectionComponent as ɵby, SelectFieldComponent as ɵbz, TemplateDirective as ɵc, SliderFieldComponent as ɵca, TextAreaFieldComponent as ɵcb, TextAreaIAFieldComponent as ɵcc, IAssistService as ɵcd, DecimalField as ɵcf, SideTableComponent as ɵcg, ThumbnailService as ɵch, InfiniteScrollModule as ɵci, InfiniteScrollDirective as ɵcj, IAInsightSidebarComponent as ɵck, IAInsightCardComponent as ɵcl, IAInsightCardLoaderComponent as ɵcm, StructureModule as ɵcn, HeaderComponent as ɵco, FooterComponent as ɵcp, KanbanEventService as ɵcq, KanbanItemComponent as ɵcr, KanbanColumnComponent as ɵcs, KanbanItemDraggingComponent as ɵct, NumberLocaleOptions as ɵcu, BorderButtonModule as ɵcv, BorderButtonComponent as ɵcw, SelectButtonItemComponent as ɵcx, SlidePanelService as ɵcy, TieredMenuEventService as ɵcz, TemplateModule as ɵd, TieredMenuService as ɵda, TieredMenuComponent as ɵdb, TieredMenuNestedComponent as ɵdc, TieredMenuItemComponent as ɵdd, TieredMenuDividerComponent as ɵde, TimelineItemModule as ɵdf, TimelineIconItemComponent as ɵdg, HorizontalTimelineModule as ɵdh, HorizontalTimelineComponent as ɵdi, VerticalTimelineModule as ɵdj, VerticalTimelineComponent as ɵdk, RangeLineComponent as ɵdl, CollapseOptionComponent as ɵdm, CollapsedItemsComponent as ɵdn, VerticalItemsComponent as ɵdo, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, EmptyStateGoBackComponent as ɵm, IAssistIconComponent as ɵn, SeniorIconComponent as ɵo, DotsIndicatorComponent as ɵp, LoadingIndicatorComponent as ɵq, ProgressBarDeterminateComponent as ɵr, ProgressBarIndeterminateComponent as ɵs, FileUploadService as ɵt, FileItemComponent as ɵu, LocaleService as ɵv, InfoSignComponent as ɵw, TableColumnsComponent as ɵx, TablePagingComponent as ɵy, TextFieldModule as ɵz };
|
|
16431
16499
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|