@seniorsistemas/angular-components 14.9.10 → 14.9.13
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 +10 -5
- 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/configurations/fields/chips-field.d.ts +2 -0
- package/components/dynamic-form/configurations/form-field.d.ts +1 -1
- package/components/file-upload/file-upload.component.d.ts +2 -0
- package/esm2015/components/dynamic-form/components/fields/chips/chips-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/file-upload/file-upload.component.js +2 -2
- package/esm2015/components/dynamic-form/configurations/fields/chips-field.js +2 -1
- package/esm2015/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm2015/components/file-upload/file-upload.component.js +5 -2
- package/esm2015/components/locale/pipes/localized-bignumber.pipe.js +4 -3
- package/esm5/components/dynamic-form/components/fields/chips/chips-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/file-upload/file-upload.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/fields/chips-field.js +2 -1
- package/esm5/components/dynamic-form/configurations/form-field.js +1 -1
- package/esm5/components/file-upload/file-upload.component.js +5 -2
- package/esm5/components/locale/pipes/localized-bignumber.pipe.js +4 -3
- package/fesm2015/seniorsistemas-angular-components.js +10 -5
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +10 -5
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -14,12 +14,13 @@ var LocalizedBignumberPipe = /** @class */ (function () {
|
|
|
14
14
|
};
|
|
15
15
|
LocalizedBignumberPipe.prototype.applyMask = function (value, options) {
|
|
16
16
|
return this.localeService.get().pipe(map(function (localeConfig) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
18
18
|
var configs = {
|
|
19
19
|
prefix: (_c = (_a = options === null || options === void 0 ? void 0 : options.prefix) !== null && _a !== void 0 ? _a : (_b = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _b === void 0 ? void 0 : _b.currencySymbol) !== null && _c !== void 0 ? _c : "R$",
|
|
20
20
|
thousandsSeparator: (_f = (_d = options === null || options === void 0 ? void 0 : options.thousandsSeparator) !== null && _d !== void 0 ? _d : (_e = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _e === void 0 ? void 0 : _e.thousandsSeparator) !== null && _f !== void 0 ? _f : ".",
|
|
21
21
|
decimalSeparator: (_j = (_g = options === null || options === void 0 ? void 0 : options.decimalSeparator) !== null && _g !== void 0 ? _g : (_h = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _h === void 0 ? void 0 : _h.decimalSeparator) !== null && _j !== void 0 ? _j : ",",
|
|
22
|
-
scale: (_k = options === null || options === void 0 ? void 0 : options.scale) !== null && _k !== void 0 ? _k : 2
|
|
22
|
+
scale: (_k = options === null || options === void 0 ? void 0 : options.scale) !== null && _k !== void 0 ? _k : 2,
|
|
23
|
+
allowNegative: (_l = options === null || options === void 0 ? void 0 : options.allowNegative) !== null && _l !== void 0 ? _l : true
|
|
23
24
|
};
|
|
24
25
|
var isNumber = !(new BigNumber(value).isNaN());
|
|
25
26
|
return applyMask(value, configs, isNumber);
|
|
@@ -36,4 +37,4 @@ var LocalizedBignumberPipe = /** @class */ (function () {
|
|
|
36
37
|
return LocalizedBignumberPipe;
|
|
37
38
|
}());
|
|
38
39
|
export { LocalizedBignumberPipe };
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG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vY2FsZVNlcnZpY2UuZ2V0KCkucGlwZShcbiAgICAgICAgICAgIG1hcChsb2NhbGVDb25maWcgPT4ge1xuICAgICAgICAgICAgICAgIGNvbnN0IGNvbmZpZ3M6IE1hc2tDb25maWcgPSB7XG4gICAgICAgICAgICAgICAgICAgIHByZWZpeDogb3B0aW9ucz8ucHJlZml4ID8/IGxvY2FsZUNvbmZpZz8ubnVtYmVyPy5jdXJyZW5jeVN5bWJvbCA/PyBcIlIkXCIsXG4gICAgICAgICAgICAgICAgICAgIHRob3VzYW5kc1NlcGFyYXRvcjogb3B0aW9ucz8udGhvdXNhbmRzU2VwYXJhdG9yID8/IGxvY2FsZUNvbmZpZz8ubnVtYmVyPy50aG91c2FuZHNTZXBhcmF0b3IgPz8gXCIuXCIsXG4gICAgICAgICAgICAgICAgICAgIGRlY2ltYWxTZXBhcmF0b3I6IG9wdGlvbnM/LmRlY2ltYWxTZXBhcmF0b3IgPz8gbG9jYWxlQ29uZmlnPy5udW1iZXI/LmRlY2ltYWxTZXBhcmF0b3IgPz8gXCIsXCIsXG4gICAgICAgICAgICAgICAgICAgIHNjYWxlOiBvcHRpb25zPy5zY2FsZSA/PyAyLFxuICAgICAgICAgICAgICAgICAgICBhbGxvd05lZ2F0aXZlOiBvcHRpb25zPy5hbGxvd05lZ2F0aXZlID8/IHRydWVcbiAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIGNvbnN0IGlzTnVtYmVyID0gIShuZXcgQmlnTnVtYmVyKHZhbHVlKS5pc05hTigpKTtcbiAgICAgICAgICAgICAgICByZXR1cm4gYXBwbHlNYXNrKHZhbHVlLCBjb25maWdzLCBpc051bWJlcik7XG4gICAgICAgICAgICB9KVxuICAgICAgICApO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1121,12 +1121,13 @@ let LocalizedBignumberPipe = class LocalizedBignumberPipe {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
applyMask(value, options) {
|
|
1123
1123
|
return this.localeService.get().pipe(map(localeConfig => {
|
|
1124
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1124
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
1125
1125
|
const configs = {
|
|
1126
1126
|
prefix: (_c = (_a = options === null || options === void 0 ? void 0 : options.prefix) !== null && _a !== void 0 ? _a : (_b = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _b === void 0 ? void 0 : _b.currencySymbol) !== null && _c !== void 0 ? _c : "R$",
|
|
1127
1127
|
thousandsSeparator: (_f = (_d = options === null || options === void 0 ? void 0 : options.thousandsSeparator) !== null && _d !== void 0 ? _d : (_e = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _e === void 0 ? void 0 : _e.thousandsSeparator) !== null && _f !== void 0 ? _f : ".",
|
|
1128
1128
|
decimalSeparator: (_j = (_g = options === null || options === void 0 ? void 0 : options.decimalSeparator) !== null && _g !== void 0 ? _g : (_h = localeConfig === null || localeConfig === void 0 ? void 0 : localeConfig.number) === null || _h === void 0 ? void 0 : _h.decimalSeparator) !== null && _j !== void 0 ? _j : ",",
|
|
1129
|
-
scale: (_k = options === null || options === void 0 ? void 0 : options.scale) !== null && _k !== void 0 ? _k : 2
|
|
1129
|
+
scale: (_k = options === null || options === void 0 ? void 0 : options.scale) !== null && _k !== void 0 ? _k : 2,
|
|
1130
|
+
allowNegative: (_l = options === null || options === void 0 ? void 0 : options.allowNegative) !== null && _l !== void 0 ? _l : true
|
|
1130
1131
|
};
|
|
1131
1132
|
const isNumber = !(new BigNumber(value).isNaN());
|
|
1132
1133
|
return applyMask(value, configs, isNumber);
|
|
@@ -1427,6 +1428,7 @@ class CalendarField extends Field {
|
|
|
1427
1428
|
class ChipsField extends Field {
|
|
1428
1429
|
constructor(config) {
|
|
1429
1430
|
super(config);
|
|
1431
|
+
this.keyFilter = config.keyFilter;
|
|
1430
1432
|
this.onAdd = config.onAdd;
|
|
1431
1433
|
this.onRemove = config.onRemove;
|
|
1432
1434
|
this.onChipClick = config.onChipClick;
|
|
@@ -2647,6 +2649,9 @@ __decorate([
|
|
|
2647
2649
|
__decorate([
|
|
2648
2650
|
Input()
|
|
2649
2651
|
], FileUploadComponent.prototype, "ariaLabelRemove", void 0);
|
|
2652
|
+
__decorate([
|
|
2653
|
+
Input()
|
|
2654
|
+
], FileUploadComponent.prototype, "formGroup", void 0);
|
|
2650
2655
|
__decorate([
|
|
2651
2656
|
Output()
|
|
2652
2657
|
], FileUploadComponent.prototype, "uploadHandler", void 0);
|
|
@@ -2671,7 +2676,7 @@ __decorate([
|
|
|
2671
2676
|
FileUploadComponent = FileUploadComponent_1 = __decorate([
|
|
2672
2677
|
Component({
|
|
2673
2678
|
selector: "s-file-upload",
|
|
2674
|
-
template: "<div class=\"s-fileupload\" [id]=\"id\">\n <div class=\"s-fileupload-choose\">\n <input type=\"file\" name=\"file\" [accept]=\"accept\" [multiple]=\"multiple\"\n (change)=\"onFileSelect($event.dataTransfer ? $event.dataTransfer.files : $event.target.files)\" #inputUpload>\n <s-button [id]=\"id + 'upload-button'\" [label]=\"chooseLabel\" (onClick)=\"inputUpload.click()\" priority=\"primary\"\n [disabled]=\"
|
|
2679
|
+
template: "<div class=\"s-fileupload\" [id]=\"id\">\n <div class=\"s-fileupload-choose\">\n <input type=\"file\" name=\"file\" [accept]=\"accept\" [multiple]=\"multiple\"\n (change)=\"onFileSelect($event.dataTransfer ? $event.dataTransfer.files : $event.target.files)\" #inputUpload>\n <s-button [id]=\"id + 'upload-button'\" [label]=\"chooseLabel\" (onClick)=\"inputUpload.click()\" priority=\"primary\"\n [disabled]=\"!!formGroup?.disabled\" [auxiliary]=\"false\"></s-button>\n </div>\n\n <section [id]=\"id + 'fileupload-list'\" class=\"s-fileupload-list\" *ngIf=\"files.length\" role=\"grid\">\n <ng-container *ngFor=\"let file of files; let i = index\">\n <div class=\"s-fileupload-list-file\" role=\"row\">\n <div [id]=\"id + '-file-' + i + '-name'\" class=\"s-fileupload-list-file-name\" role=\"gridcell\">\n <ng-container\n *ngTemplateOutlet=\"file.savedFile || file.progress === 100 ? descriptionUrl : description; context: { $implicit: file, index: i }\">\n </ng-container>\n </div>\n <div class=\"s-fileupload-list-file-status\" role=\"gridcell\">\n <p-progressBar *ngIf=\"file.isUploading && !isSmallDevice\"\n [style]=\"{ 'width': '250px', 'background-color': '#d8d8d8', 'border-radius': '0px', 'height': '14px'}\"\n [value]=\"file.progress\" [showValue]=\"false\" role=\"alert\" [attr.aria-label]=\"ariaLabelProgress\">\n </p-progressBar>\n <span [id]=\"id + '-file-' + i + '-spin'\" class=\"fas fa-circle-notch fa-spin\"\n *ngIf=\"file.isUploading && isSmallDevice\" [attr.aria-label]=\"ariaLabelProgress\"></span>\n <span [id]=\"id + '-file-' + i + '-check'\" class=\"fas fa-check\" role=\"alert\"\n *ngIf=\"!file.isUploading && !file.error && file.progress === 100\"\n [attr.aria-label]=\"ariaLabelSuccess || successTooltip\" [pTooltip]=\"successTooltip\"\n tooltipPosition=\"top\" showDelay=\"500\" [appendTo]=\"'body'\"></span>\n <span [id]=\"id + '-file-' + i + '-error'\" class=\"fas fa-times\" role=\"alert\"\n *ngIf=\"file.error?.message\" [pTooltip]=\"file.error?.message\" tooltipPosition=\"top\"\n showDelay=\"500\" [appendTo]=\"'body'\"></span>\n </div>\n <div class=\"s-fileupload-list-file-actions\" role=\"gridcell\">\n <a [id]=\"id + '-file-' + i + '-cancel'\" class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onCancelUpload($event, i)\" *ngIf=\"file.isUploading\">{{cancelLabel}}</a>\n <a role=\"button\" tabindex=\"0\" [id]=\"id + '-file-' + i + '-remove'\"\n class=\"s-fileupload-list-file-actions-action\" (click)=\"onRemoveFile($event, file)\"\n *ngIf=\"!file.isUploading\" [attr.aria-label]=\"ariaLabelRemove || removeLabel\">{{removeLabel}}</a>\n </div>\n </div>\n </ng-container>\n </section>\n</div>\n\n<ng-template #descriptionUrl let-file let-i = index>\n <a [id]=\"id + '-file-' + i + '-name-link'\" tabindex=\"0\" (click)=\"onDowloadFile($event, i)\"\n [attr.aria-label]=\"ariaLabelFileName || file.name\">{{file.name}}</a>\n <a style=\"display: none;\" [href]=\"file.objectURL\" target=\"_blank\" download #anchor></a>\n</ng-template>\n\n<ng-template #description let-file>\n <span tabindex=\"0\" [attr.aria-label]=\"ariaLabelFileName || file.name\">\n {{file.name}}\n </span>\n</ng-template>\n",
|
|
2675
2680
|
styles: [".s-fileupload .s-fileupload-choose{position:relative;margin:15px 0;width:-webkit-max-content;width:max-content}.s-fileupload input[type=file]{display:none}.s-fileupload-list{border:1px solid #ccc}.s-fileupload-list-file:not(:first-child){border-top:1px solid #ccc}.s-fileupload-list .s-fileupload-list-file{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;padding:15px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name>a{cursor:pointer;text-decoration:none}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-status{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.s-fileupload-list .s-fileupload-list-file .fas.fa-circle-notch{color:#d8d8d8;font-size:12px}.s-fileupload-list .s-fileupload-list-file .fas.fa-check{color:#0c9348;font-size:12px}.s-fileupload-list .s-fileupload-list-file .fas.fa-times{color:#c13018;font-size:12px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions{margin-top:15px;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;width:100%}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action{text-decoration:none;color:#428bca}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action :focus,.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action :visited,.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action:hover{text-decoration:none}@media (min-width:768px){.s-fileupload-list .s-fileupload-list-file{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name{width:auto;-ms-flex-positive:2;flex-grow:2}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-status{margin:0 15px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions{margin:0;width:auto}}"]
|
|
2676
2681
|
})
|
|
2677
2682
|
], FileUploadComponent);
|
|
@@ -3774,7 +3779,7 @@ __decorate([
|
|
|
3774
3779
|
], ChipsFieldComponent.prototype, "formControl", void 0);
|
|
3775
3780
|
ChipsFieldComponent = __decorate([
|
|
3776
3781
|
Component({
|
|
3777
|
-
template: "<p-chips\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n></p-chips>\n"
|
|
3782
|
+
template: "<p-chips\n [inputId]=\"(field.id || field.name)\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [allowDuplicate]=\"false\"\n [addOnTab]=\"true\"\n [addOnBlur]=\"true\"\n (onAdd)=\"field.onAdd ? field.onAdd($event) : null\"\n (onRemove)=\"field.onRemove ? field.onRemove($event) : null\"\n (onChipClick)=\"field.onChipClick ? field.onChipClick($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [pKeyFilter]=\"field.keyFilter\"\n></p-chips>\n"
|
|
3778
3783
|
})
|
|
3779
3784
|
], ChipsFieldComponent);
|
|
3780
3785
|
|
|
@@ -3814,7 +3819,7 @@ __decorate([
|
|
|
3814
3819
|
], FileUploadComponent$1.prototype, "formControl", void 0);
|
|
3815
3820
|
FileUploadComponent$1 = __decorate([
|
|
3816
3821
|
Component({
|
|
3817
|
-
template: "<s-file-upload [id]=\"(field.id || field.name)\" [accept]=\"field.accept\" [files]=\"field.files\" [multiple]=\"field.multiple\"\n [chooseLabel]=\"field.chooseLabel\" [removeLabel]=\"field.removeLabel\" [cancelLabel]=\"field.cancelLabel\"\n [successTooltip]=\"field.successTooltip\" (uploadHandler)=\"field.onUploadFile($event, field)\"\n (removeFile)=\"field.onRemoveFile($event, field)\" (cancelUpload)=\"field.onCancelUpload($event, field)\"\n (downloadFile)=\"field.onDownloadFile($event, field)\"
|
|
3822
|
+
template: "<s-file-upload [id]=\"(field.id || field.name)\" [accept]=\"field.accept\" [files]=\"field.files\" [multiple]=\"field.multiple\"\n [chooseLabel]=\"field.chooseLabel\" [removeLabel]=\"field.removeLabel\" [cancelLabel]=\"field.cancelLabel\"\n [successTooltip]=\"field.successTooltip\" (uploadHandler)=\"field.onUploadFile($event, field)\"\n (removeFile)=\"field.onRemoveFile($event, field)\" (cancelUpload)=\"field.onCancelUpload($event, field)\"\n (downloadFile)=\"field.onDownloadFile($event, field)\" [formGroup]=\"formControl\"> \n</s-file-upload>\n"
|
|
3818
3823
|
})
|
|
3819
3824
|
], FileUploadComponent$1);
|
|
3820
3825
|
|