@cauca-911/material 20.2.6 → 20.2.7-beta1
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.
|
@@ -38,10 +38,16 @@
|
|
|
38
38
|
"titleError": "Deletion Error",
|
|
39
39
|
"messageError": "An error occurred while deleting \"{{itemName}}\". Please try again later."
|
|
40
40
|
},
|
|
41
|
+
"savingSuccessNotification": {
|
|
42
|
+
"title": "Saving",
|
|
43
|
+
"message": "The save was successful."
|
|
44
|
+
},
|
|
41
45
|
"deleteDialog": {
|
|
42
46
|
"titleFemale": "Delete {{itemType}}",
|
|
43
47
|
"titleMale": "Delete {{itemType}}",
|
|
44
|
-
"message": "Are you sure you want to delete \"{{itemName}}\"?"
|
|
48
|
+
"message": "Are you sure you want to delete \"{{itemName}}\"?",
|
|
49
|
+
"titleError": "Unable to delete",
|
|
50
|
+
"messageError": "An error occurred while deleting the item \"{{itemName}}\""
|
|
45
51
|
},
|
|
46
52
|
"cancelEditionDialog": {
|
|
47
53
|
"title": "Cancel confirmation",
|
|
@@ -77,7 +83,12 @@
|
|
|
77
83
|
"invalidPhoneNumber": "Invalid phone number",
|
|
78
84
|
"min": "Minimum value: {{value}}",
|
|
79
85
|
"max": "Maximum value: {{value}}",
|
|
80
|
-
"length": "Length must not exceed {{value}} characters."
|
|
86
|
+
"length": "Length must not exceed {{value}} characters.",
|
|
87
|
+
"identicalPassword": "Same passwords",
|
|
88
|
+
"minimumCharacters": "Minimum 13 characters",
|
|
89
|
+
"minimumNumeric": "Minimum 1 numbers (0-9)",
|
|
90
|
+
"minimumSpecialCharacter": "Minimum 1 special character (!, @, $, ...)",
|
|
91
|
+
"minimumUpperAndLowercase": "Minimum 1 uppercase et 1 lowercase (A, z)"
|
|
81
92
|
},
|
|
82
93
|
"passwordEdition" : {
|
|
83
94
|
"passwordSelection": "Please choose a password.",
|
|
@@ -65,6 +65,10 @@
|
|
|
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
|
+
"savingSuccessNotification": {
|
|
69
|
+
"title": "Sauvegarde",
|
|
70
|
+
"message": "La sauvegarde s'est effectuée avec succès."
|
|
71
|
+
},
|
|
68
72
|
"generalError": {
|
|
69
73
|
"errorAlertTitle": "Erreur",
|
|
70
74
|
"loadingErrorAlertTitle": "Erreur de chargement",
|
|
@@ -82,6 +86,11 @@
|
|
|
82
86
|
"invalidPhoneNumber": "Le téléphone n'est pas valide",
|
|
83
87
|
"min": "Valeur minimale: {{value}}",
|
|
84
88
|
"max": "Valeur maximale: {{value}}",
|
|
89
|
+
"minimumCharacters": "Minimum 13 caractères",
|
|
90
|
+
"minimumNumeric": "Minimum 1 chiffre (0-9)",
|
|
91
|
+
"minimumSpecialCharacter": "Minimum 1 caractère spécial (!, @, $, ...)",
|
|
92
|
+
"minimumUpperAndLowercase": "Minimum 1 majuscule et 1 minuscule (A, z)",
|
|
93
|
+
"identicalPassword": "Mots de passe identiques",
|
|
85
94
|
"length": "La longueur ne doit pas dépasser {{value}} caractères."
|
|
86
95
|
},
|
|
87
96
|
"passwordEdition" : {
|
|
@@ -33,6 +33,9 @@ import * as i1$8 from '@angular/material/chips';
|
|
|
33
33
|
import { MatChipsModule, MatChipGrid, MatChip, MatChipRemove, MatChipInput } from '@angular/material/chips';
|
|
34
34
|
import * as i1$9 from '@fortawesome/angular-fontawesome';
|
|
35
35
|
import { FontAwesomeModule, FaIconComponent } from '@fortawesome/angular-fontawesome';
|
|
36
|
+
import { fal, faUsers, faEngineWarning, faCalendarExclamation, faFileAlt, faFileExclamation, faShareAltSquare, faCog, faChartBar, faCommentAltDots, faFolders, faHome, faBell, faFeather, faCalendarDays, faGear, faMessageLines } from '@fortawesome/pro-light-svg-icons';
|
|
37
|
+
import { fab } from '@fortawesome/free-brands-svg-icons';
|
|
38
|
+
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
36
39
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
37
40
|
import * as i2$3 from '@angular/material/autocomplete';
|
|
38
41
|
import { MatAutocompleteModule, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
@@ -2062,7 +2065,7 @@ function IconComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
2062
2065
|
} if (rf & 2) {
|
|
2063
2066
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
2064
2067
|
i0.ɵɵadvance();
|
|
2065
|
-
i0.ɵɵproperty("icon", ctx_r0.faIcon
|
|
2068
|
+
i0.ɵɵproperty("icon", ctx_r0.faIcon);
|
|
2066
2069
|
} }
|
|
2067
2070
|
function IconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
2068
2071
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -2074,11 +2077,6 @@ function IconComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
2074
2077
|
i0.ɵɵproperty("src", ctx_r0.image, i0.ɵɵsanitizeUrl);
|
|
2075
2078
|
} }
|
|
2076
2079
|
class IconComponent {
|
|
2077
|
-
constructor() {
|
|
2078
|
-
this.isFontAwesome = false;
|
|
2079
|
-
this.faIcon = [];
|
|
2080
|
-
this.image = '';
|
|
2081
|
-
}
|
|
2082
2080
|
set icon(value) {
|
|
2083
2081
|
if (value && value.indexOf(' ') > -1) {
|
|
2084
2082
|
this.isFontAwesome = true;
|
|
@@ -2089,12 +2087,19 @@ class IconComponent {
|
|
|
2089
2087
|
this.image = value;
|
|
2090
2088
|
}
|
|
2091
2089
|
}
|
|
2092
|
-
|
|
2090
|
+
constructor(library) {
|
|
2091
|
+
this.isFontAwesome = false;
|
|
2092
|
+
this.faIcon = [];
|
|
2093
|
+
this.image = '';
|
|
2094
|
+
library.addIconPacks(fal, fab, fas);
|
|
2095
|
+
library.addIcons(faUsers, faEngineWarning, faCalendarExclamation, faFileAlt, faFileExclamation, faShareAltSquare, faCog, faChartBar, faCommentAltDots, faFolders, faHome, faBell, faFeather, faCalendarDays, faGear, faMessageLines);
|
|
2096
|
+
}
|
|
2097
|
+
static { this.ɵfac = function IconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IconComponent)(i0.ɵɵdirectiveInject(i1$9.FaIconLibrary)); }; }
|
|
2093
2098
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconComponent, selectors: [["cauca-icon"]], inputs: { icon: "icon" }, decls: 2, vars: 2, consts: [[1, "icon"], [3, "icon"], ["alt", "icon", 3, "src"]], template: function IconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2094
2099
|
i0.ɵɵconditionalCreate(0, IconComponent_Conditional_0_Template, 2, 1, "div", 0);
|
|
2095
2100
|
i0.ɵɵconditionalCreate(1, IconComponent_Conditional_1_Template, 2, 1, "div", 0);
|
|
2096
2101
|
} if (rf & 2) {
|
|
2097
|
-
i0.ɵɵconditional(ctx.isFontAwesome ? 0 : -1);
|
|
2102
|
+
i0.ɵɵconditional(ctx.isFontAwesome && ctx.faIcon && ctx.faIcon.length > 0 ? 0 : -1);
|
|
2098
2103
|
i0.ɵɵadvance();
|
|
2099
2104
|
i0.ɵɵconditional(!ctx.isFontAwesome && ctx.image ? 1 : -1);
|
|
2100
2105
|
} }, dependencies: [FontAwesomeModule, i1$9.FaIconComponent], styles: ["img[_ngcontent-%COMP%]{max-height:40px;height:40px}fa-icon[_ngcontent-%COMP%]{max-height:40px;height:40px}"] }); }
|
|
@@ -2102,9 +2107,9 @@ class IconComponent {
|
|
|
2102
2107
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconComponent, [{
|
|
2103
2108
|
type: Component,
|
|
2104
2109
|
args: [{ selector: 'cauca-icon', standalone: true, imports: [FontAwesomeModule], template: `
|
|
2105
|
-
@if (isFontAwesome) {
|
|
2110
|
+
@if (isFontAwesome && faIcon && faIcon.length > 0) {
|
|
2106
2111
|
<div class="icon">
|
|
2107
|
-
<fa-icon [icon]="faIcon
|
|
2112
|
+
<fa-icon [icon]="faIcon"></fa-icon>
|
|
2108
2113
|
</div>
|
|
2109
2114
|
}
|
|
2110
2115
|
@if (!isFontAwesome && image) {
|
|
@@ -2113,10 +2118,10 @@ class IconComponent {
|
|
|
2113
2118
|
</div>
|
|
2114
2119
|
}
|
|
2115
2120
|
`, styles: ["img{max-height:40px;height:40px}fa-icon{max-height:40px;height:40px}\n"] }]
|
|
2116
|
-
}],
|
|
2121
|
+
}], () => [{ type: i1$9.FaIconLibrary }], { icon: [{
|
|
2117
2122
|
type: Input
|
|
2118
2123
|
}] }); })();
|
|
2119
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "lib/components/presenters/icon/icon.component.ts", lineNumber:
|
|
2124
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "lib/components/presenters/icon/icon.component.ts", lineNumber: 45 }); })();
|
|
2120
2125
|
|
|
2121
2126
|
function ListPaginatorComponent_For_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2122
2127
|
i0.ɵɵelementStart(0, "div", 5);
|