@cauca-911/material 20.0.11 → 20.0.14

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.
@@ -43,7 +43,7 @@
43
43
  "titleMale": "Delete {{itemType}}",
44
44
  "message": "Are you sure you want to delete \"{{itemName}}\"?"
45
45
  },
46
- "cancelEditionDialog": {
46
+ "cancelEditionDialog": {
47
47
  "title": "Cancel confirmation",
48
48
  "message": "You have unsaved changes, are you sure you want to undo them ?"
49
49
  },
@@ -60,7 +60,7 @@
60
60
  "saveErrorMessage": "An error has occured while saving data, please try again.",
61
61
  "loadErrorMessage": "An error has occured while loading data, please try again."
62
62
  },
63
- "generalError": {
63
+ "generalError": {
64
64
  "errorAlertTitle": "Error",
65
65
  "loadingErrorAlertTitle": "Loading error",
66
66
  "loadingErrorAlertMessage": "An alert has occured while loading date. Please try again.",
@@ -68,7 +68,7 @@
68
68
  "savingErrorAlertMessage": "An alert has occured while saving date. Please try again.",
69
69
  "retryButtonLabel": "Retry"
70
70
  },
71
- "error": {
71
+ "error": {
72
72
  "requiredField": "Required field.",
73
73
  "maxLength": "Value must have less than {{value}} characters.",
74
74
  "valueMin": "Value below minimum",
@@ -47,7 +47,7 @@
47
47
  "titleError": "Erreur de suppression",
48
48
  "messageError": "Une erreur s'est produite lors de la suppression de l'élément \"{{itemName}}\"."
49
49
  },
50
- "cancelEditionDialog": {
50
+ "cancelEditionDialog": {
51
51
  "title": "Confirmation d'annulation",
52
52
  "message": "Vous avez des changements non sauvegardés, êtes-vous sûr de vouloir les annuler ?"
53
53
  },
@@ -65,7 +65,7 @@
65
65
  "deleteErrorMessage": "Une erreur s'est produite lors de la suppression, veuillez réessayer.",
66
66
  "creationErrorMessage": "Une erreur s'est produite lors de la création du fichier, veuillez réessayer."
67
67
  },
68
- "generalError": {
68
+ "generalError": {
69
69
  "errorAlertTitle": "Erreur",
70
70
  "loadingErrorAlertTitle": "Erreur de chargement",
71
71
  "loadingErrorAlertMessage": "Une erreur s'est produite pendant le chargement, veuillez réessayer.",
@@ -13,7 +13,7 @@ import * as i2$1 from '@angular/material/datepicker';
13
13
  import { MatDatepickerModule } from '@angular/material/datepicker';
14
14
  import * as i1$2 from '@angular/material/list';
15
15
  import { MatListModule } from '@angular/material/list';
16
- import { CaucaCoreForChildModule, TranslateService as TranslateService$1, CaucaCoreService } from '@cauca-911/core';
16
+ import { CaucaCoreForChildModule, toLowerCaseAndWithoutDiacritics, TranslateService as TranslateService$1, CaucaCoreService } from '@cauca-911/core';
17
17
  import * as i2 from '@angular/material/button';
18
18
  import { MatButtonModule, MatButton, MatIconButton } from '@angular/material/button';
19
19
  import * as i1$3 from '@angular/common';
@@ -2825,14 +2825,11 @@ class DropdownChipAutocompleteComponent {
2825
2825
  }
2826
2826
  }
2827
2827
  filterSelectedItem() {
2828
- const searchValue = this.toLowerCaseAndWithoutDiacritics((this.searchValue ?? ''));
2828
+ const searchValue = toLowerCaseAndWithoutDiacritics(this.searchValue);
2829
2829
  const filtered = this.listAutoComplete.filter((item) => !this.selectedValues.includes(item[this.keyValue])
2830
- && this.toLowerCaseAndWithoutDiacritics(item[this.displayValue] ?? '').includes(searchValue));
2830
+ && toLowerCaseAndWithoutDiacritics(item[this.displayValue]).includes(searchValue));
2831
2831
  return filtered;
2832
2832
  }
2833
- toLowerCaseAndWithoutDiacritics(value) {
2834
- return value.normalize('NFD').replace(/\p{Diacritic}/gu, '').toLowerCase();
2835
- }
2836
2833
  static { this.ɵfac = function DropdownChipAutocompleteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DropdownChipAutocompleteComponent)(i0.ɵɵdirectiveInject(i1$7.NgControl, 10), i0.ɵɵdirectiveInject(i1$7.NgForm, 8), i0.ɵɵdirectiveInject(i1$7.FormGroupDirective, 8), i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
2837
2834
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DropdownChipAutocompleteComponent, selectors: [["cauca-dropdown-chip-autocomplete"]], contentQueries: function DropdownChipAutocompleteComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
2838
2835
  i0.ɵɵcontentQuery(dirIndex, TemplateRef, 5);
@@ -2955,7 +2952,7 @@ class DropdownChipAutocompleteComponent {
2955
2952
  }], placeholder: [{
2956
2953
  type: Input
2957
2954
  }] }); })();
2958
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownChipAutocompleteComponent, { className: "DropdownChipAutocompleteComponent", filePath: "lib/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts", lineNumber: 45 }); })();
2955
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownChipAutocompleteComponent, { className: "DropdownChipAutocompleteComponent", filePath: "lib/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts", lineNumber: 46 }); })();
2959
2956
 
2960
2957
  const _c0$5 = ["*"];
2961
2958
  class GroupContainerComponent {