@cauca-911/material 20.2.8 → 20.2.9

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.
@@ -10,5 +10,94 @@
10
10
  "dialogMessage": "Adquisición de datos en curso <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
11
11
  "version": "Versión",
12
12
  "refresh": "Actualizar"
13
+ },
14
+ "ok": "Ok",
15
+ "apply": "Aplicar",
16
+ "cancel": "Cancelar",
17
+ "clear": "Claro",
18
+ "description": "La librería \"@cauca-911/material\" agrega muchos componentes visuales",
19
+ "select": "Seleccionar",
20
+ "dialogTitle": "Adquisición de datos",
21
+ "dialogMessage": "Adquisición de datos en curso <img src=\"/assets/images/loading.gif\" alt=\"\" width=\"20\" />",
22
+ "version": "Versión",
23
+ "refresh": "Actualizar",
24
+ "close": "Cerrar",
25
+ "copyLink": "Copiar enlace",
26
+ "logout": "Cerrar sesión",
27
+ "search": "Buscar",
28
+ "en": "Inglés",
29
+ "fr": "Francés",
30
+ "or": "O",
31
+ "errorTitle": "Error",
32
+ "edit": "Editar",
33
+ "delete": "Eliminar",
34
+ "save": "Guardar",
35
+ "yes": "Sí",
36
+ "no": "No",
37
+ "errorDialog": {
38
+ "titleError": "Error al eliminar",
39
+ "messageError": "Ocurrió un error al eliminar \"{{itemName}}\". Por favor, inténtalo de nuevo más tarde."
40
+ },
41
+ "savingSuccessNotification": {
42
+ "title": "Guardando",
43
+ "message": "El guardado fue exitoso."
44
+ },
45
+ "deleteDialog": {
46
+ "titleFemale": "Eliminar {{itemType}}",
47
+ "titleMale": "Eliminar {{itemType}}",
48
+ "message": "¿Está seguro que desea eliminar \"{{itemName}}\"?",
49
+ "titleError": "No se puede eliminar",
50
+ "messageError": "Ocurrió un error al eliminar el elemento \"{{itemName}}\""
51
+ },
52
+ "cancelEditionDialog": {
53
+ "title": "Confirmación de cancelación",
54
+ "message": "Tiene cambios sin guardar, ¿está seguro que desea deshacerlos?"
55
+ },
56
+ "validationErrorDialog": {
57
+ "title": "Datos inválidos",
58
+ "message": "No puede guardar porque tiene información inválida.",
59
+ "messageNext": "No puede continuar porque tiene información inválida."
60
+ },
61
+ "alertDialog": {
62
+ "errorTitle": "Error",
63
+ "noResult": "Sin resultados",
64
+ "deleteErrorMessage": "Ocurrió un error al eliminar el elemento, por favor intente de nuevo.",
65
+ "genericErrorMessage": "Ocurrió un error, por favor intente de nuevo.",
66
+ "saveErrorMessage": "Ocurrió un error al guardar los datos, por favor intente de nuevo.",
67
+ "loadErrorMessage": "Ocurrió un error al cargar los datos, por favor intente de nuevo."
68
+ },
69
+ "generalError": {
70
+ "errorAlertTitle": "Error",
71
+ "loadingErrorAlertTitle": "Error al cargar",
72
+ "loadingErrorAlertMessage": "Ocurrió una alerta al cargar los datos. Por favor intente de nuevo.",
73
+ "savingErrorAlertTitle": "Error al guardar",
74
+ "savingErrorAlertMessage": "Ocurrió una alerta al guardar los datos. Por favor intente de nuevo.",
75
+ "retryButtonLabel": "Reintentar"
76
+ },
77
+ "error": {
78
+ "requiredField": "Campo obligatorio.",
79
+ "maxLength": "El valor debe tener menos de {{value}} caracteres.",
80
+ "valueMin": "Valor por debajo del mínimo",
81
+ "valueMax": "Valor por encima del máximo",
82
+ "invalidEmail": "Correo electrónico inválido",
83
+ "invalidPhoneNumber": "Número de teléfono inválido",
84
+ "min": "Valor mínimo: {{value}}",
85
+ "max": "Valor máximo: {{value}}",
86
+ "length": "La longitud no debe exceder {{value}} caracteres.",
87
+ "identicalPassword": "Contraseñas iguales",
88
+ "minimumCharacters": "Mínimo 13 caracteres",
89
+ "minimumNumeric": "Mínimo 1 número (0-9)",
90
+ "minimumSpecialCharacter": "Mínimo 1 carácter especial (!, @, $, ...)",
91
+ "minimumUpperAndLowercase": "Mínimo 1 mayúscula y 1 minúscula (A, z)"
92
+ },
93
+ "passwordEdition": {
94
+ "passwordSelection": "Por favor, elija una contraseña.",
95
+ "password": "Contraseña",
96
+ "passwordConfirmation": "Confirmación de contraseña",
97
+ "minimumCharacters": "Mínimo 13 caracteres",
98
+ "minimumOneNumeric": "Mínimo 1 número (0-9)",
99
+ "minimumOneSpecialCharacter": "Mínimo 1 carácter especial (!, @, $, etc.)",
100
+ "needLowerAndUppercase": "Mínimo 1 mayúscula y 1 minúscula (A, z)",
101
+ "equalPasswords": "Contraseñas iguales"
13
102
  }
14
103
  }
@@ -1859,6 +1859,30 @@ class BreadcrumbLocation {
1859
1859
  }
1860
1860
  }
1861
1861
 
1862
+ class BreadcrumbService {
1863
+ constructor() {
1864
+ this.showBreadcrumb = computed(() => this.isShown(), ...(ngDevMode ? [{ debugName: "showBreadcrumb" }] : []));
1865
+ this.location = signal([], ...(ngDevMode ? [{ debugName: "location" }] : []));
1866
+ this.breadcrumb = signal('', ...(ngDevMode ? [{ debugName: "breadcrumb" }] : []));
1867
+ this.translateBreadcrumb = signal(false, ...(ngDevMode ? [{ debugName: "translateBreadcrumb" }] : []));
1868
+ this.isShown = signal(false, ...(ngDevMode ? [{ debugName: "isShown" }] : []));
1869
+ }
1870
+ show(breadcrumb, location = [], translateBreadcrumb = true) {
1871
+ this.isShown.set(true);
1872
+ this.breadcrumb.set(breadcrumb);
1873
+ this.location.set(location);
1874
+ this.translateBreadcrumb.set(translateBreadcrumb);
1875
+ }
1876
+ hide() {
1877
+ this.isShown.set(false);
1878
+ }
1879
+ static { this.ɵfac = function BreadcrumbService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BreadcrumbService)(); }; }
1880
+ static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BreadcrumbService, factory: BreadcrumbService.ɵfac }); }
1881
+ }
1882
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BreadcrumbService, [{
1883
+ type: Injectable
1884
+ }], null, null); })();
1885
+
1862
1886
  class LoadingStateService {
1863
1887
  constructor() {
1864
1888
  this.showLoadingIndicator = computed(() => this.isLoading(), ...(ngDevMode ? [{ debugName: "showLoadingIndicator" }] : []));
@@ -3399,30 +3423,6 @@ class SectionFieldComponent {
3399
3423
  }], null, null); })();
3400
3424
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionFieldComponent, { className: "SectionFieldComponent", filePath: "lib/components/layout/sections/section-field/section-field.component.ts", lineNumber: 12 }); })();
3401
3425
 
3402
- class BreadcrumbService {
3403
- constructor() {
3404
- this.showBreadcrumb = computed(() => this.isShown(), ...(ngDevMode ? [{ debugName: "showBreadcrumb" }] : []));
3405
- this.location = signal([], ...(ngDevMode ? [{ debugName: "location" }] : []));
3406
- this.breadcrumb = signal('', ...(ngDevMode ? [{ debugName: "breadcrumb" }] : []));
3407
- this.translateBreadcrumb = signal(false, ...(ngDevMode ? [{ debugName: "translateBreadcrumb" }] : []));
3408
- this.isShown = signal(false, ...(ngDevMode ? [{ debugName: "isShown" }] : []));
3409
- }
3410
- show(breadcrumb, location = [], translateBreadcrumb = true) {
3411
- this.isShown.set(true);
3412
- this.breadcrumb.set(breadcrumb);
3413
- this.location.set(location);
3414
- this.translateBreadcrumb.set(translateBreadcrumb);
3415
- }
3416
- hide() {
3417
- this.isShown.set(false);
3418
- }
3419
- static { this.ɵfac = function BreadcrumbService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BreadcrumbService)(); }; }
3420
- static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BreadcrumbService, factory: BreadcrumbService.ɵfac }); }
3421
- }
3422
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BreadcrumbService, [{
3423
- type: Injectable
3424
- }], null, null); })();
3425
-
3426
3426
  function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3427
3427
  i0.ɵɵelementStart(0, "div", 4);
3428
3428
  i0.ɵɵtext(1);
@@ -4108,7 +4108,6 @@ class CaucaInputFileComponent {
4108
4108
  this.dialog = inject(MatDialog);
4109
4109
  }
4110
4110
  ngOnInit() {
4111
- console.log('transl', this.translateService);
4112
4111
  if (!this.icon && !this.text) {
4113
4112
  this.translateService.get(['material.select', 'material.dialogTitle', 'material.dialogMessage']).subscribe((labels) => {
4114
4113
  this.labels = labels;
@@ -4733,5 +4732,5 @@ class CaucaSlideshowComponent {
4733
4732
  * Generated bundle index. Do not edit.
4734
4733
  */
4735
4734
 
4736
- export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StrokedButtonComponent, provideCaucaMaterial };
4735
+ export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, BreadcrumbService, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaMenuSidebarComponent, CaucaMenuVerticalComponent, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItem, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StrokedButtonComponent, provideCaucaMaterial };
4737
4736
  //# sourceMappingURL=cauca-911-material.mjs.map