@seniorsistemas/angular-components 17.8.2 → 17.8.3
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 +17 -8
- 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/profile-picture-picker/profile-picture-picker.component.d.ts +9 -7
- package/esm2015/components/profile-picture-picker/profile-picture-picker.component.js +14 -9
- package/esm2015/locale/fallback.js +6 -1
- package/esm5/components/profile-picture-picker/profile-picture-picker.component.js +14 -9
- package/esm5/locale/fallback.js +6 -1
- package/fesm2015/seniorsistemas-angular-components.js +17 -8
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +17 -8
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -14745,17 +14745,20 @@ var FileValidation;
|
|
|
14745
14745
|
})(FileValidation || (FileValidation = {}));
|
|
14746
14746
|
|
|
14747
14747
|
var ProfilePicturePickerComponent = /** @class */ (function () {
|
|
14748
|
-
function ProfilePicturePickerComponent(imageCropperService, confirmationService) {
|
|
14748
|
+
function ProfilePicturePickerComponent(imageCropperService, confirmationService, translateService) {
|
|
14749
14749
|
this.imageCropperService = imageCropperService;
|
|
14750
14750
|
this.confirmationService = confirmationService;
|
|
14751
|
+
this.translateService = translateService;
|
|
14752
|
+
this.simpleTitle = this.translateService.instant("platform.angular_components.drag_your_photo_or"); // Arraste sua foto ou
|
|
14753
|
+
this.actionTitle = this.translateService.instant("platform.angular_components.select_a_file"); // Selecione um arquivo
|
|
14751
14754
|
this.aspectRatio = 1;
|
|
14752
|
-
this.removeButtonLabel = "
|
|
14753
|
-
this.changeButtonLabel = "Alterar foto
|
|
14755
|
+
this.removeButtonLabel = this.translateService.instant("platform.angular_components.remover");
|
|
14756
|
+
this.changeButtonLabel = this.translateService.instant("platform.angular_components.change_photo"); // Alterar foto
|
|
14754
14757
|
this.confirmationTexts = {
|
|
14755
|
-
removalHeader: "
|
|
14756
|
-
removalMessage: "
|
|
14757
|
-
removalAcceptLabel: "
|
|
14758
|
-
removalRejectLabel: "
|
|
14758
|
+
removalHeader: this.translateService.instant("platform.angular_components.remove_image"),
|
|
14759
|
+
removalMessage: this.translateService.instant("platform.angular_components.confirmation_remove_image"),
|
|
14760
|
+
removalAcceptLabel: this.translateService.instant("platform.angular_components.remove"),
|
|
14761
|
+
removalRejectLabel: this.translateService.instant("platform.angular_components.cancel"),
|
|
14759
14762
|
};
|
|
14760
14763
|
this.supportedExtensions = [];
|
|
14761
14764
|
this.changedImage = new EventEmitter();
|
|
@@ -14882,7 +14885,8 @@ var ProfilePicturePickerComponent = /** @class */ (function () {
|
|
|
14882
14885
|
};
|
|
14883
14886
|
ProfilePicturePickerComponent.ctorParameters = function () { return [
|
|
14884
14887
|
{ type: ImageCropperService },
|
|
14885
|
-
{ type: ConfirmationService }
|
|
14888
|
+
{ type: ConfirmationService },
|
|
14889
|
+
{ type: TranslateService }
|
|
14886
14890
|
]; };
|
|
14887
14891
|
__decorate([
|
|
14888
14892
|
Input()
|
|
@@ -17540,6 +17544,11 @@ var WorkspaceSwitchModule = /** @class */ (function () {
|
|
|
17540
17544
|
}());
|
|
17541
17545
|
|
|
17542
17546
|
var fallback = {
|
|
17547
|
+
"platform.angular_components.drag_your_photo_or": "Arraste sua foto ou",
|
|
17548
|
+
"platform.angular_components.select_a_file": "selecione um arquivo",
|
|
17549
|
+
"platform.angular_components.change_photo": "Alterar foto",
|
|
17550
|
+
"platform.angular_components.remove_image": "Remover imagem",
|
|
17551
|
+
"platform.angular_components.confirmation_remove_image": "Deseja remover a imagem? Não pode ser revertida.",
|
|
17543
17552
|
"platform.angular_components.strong": "Forte",
|
|
17544
17553
|
"platform.angular_components.medium": "Média",
|
|
17545
17554
|
"platform.angular_components.weak": "Fraca",
|