@gridsuite/commons-ui 0.64.4 → 0.64.5

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.
Files changed (27) hide show
  1. package/dist/components/translations/common-button-en.d.ts +2 -0
  2. package/dist/components/translations/common-button-en.js +3 -1
  3. package/dist/components/translations/common-button-fr.d.ts +2 -0
  4. package/dist/components/translations/common-button-fr.js +3 -1
  5. package/dist/components/translations/csv-en.d.ts +16 -0
  6. package/dist/components/translations/csv-en.js +12 -0
  7. package/dist/components/translations/csv-fr.d.ts +16 -0
  8. package/dist/components/translations/csv-fr.js +12 -0
  9. package/dist/components/translations/description-en.d.ts +13 -0
  10. package/dist/components/translations/description-en.js +9 -0
  11. package/dist/components/translations/description-fr.d.ts +13 -0
  12. package/dist/components/translations/description-fr.js +9 -0
  13. package/dist/components/translations/equipments-en.d.ts +27 -0
  14. package/dist/components/translations/equipments-en.js +23 -0
  15. package/dist/components/translations/equipments-fr.d.ts +27 -0
  16. package/dist/components/translations/equipments-fr.js +23 -0
  17. package/dist/components/translations/filter-en.d.ts +29 -0
  18. package/dist/components/translations/filter-en.js +30 -1
  19. package/dist/components/translations/filter-expert-en.d.ts +10 -0
  20. package/dist/components/translations/filter-expert-en.js +11 -1
  21. package/dist/components/translations/filter-expert-fr.d.ts +10 -0
  22. package/dist/components/translations/filter-expert-fr.js +11 -1
  23. package/dist/components/translations/filter-fr.d.ts +29 -0
  24. package/dist/components/translations/filter-fr.js +30 -1
  25. package/dist/index.d.ts +6 -0
  26. package/dist/index.js +112 -100
  27. package/package.json +1 -1
@@ -7,5 +7,7 @@
7
7
  declare const commonButtonEn: {
8
8
  cancel: string;
9
9
  validate: string;
10
+ 'button.changeType': string;
11
+ 'button.changeOperator': string;
10
12
  };
11
13
  export default commonButtonEn;
@@ -1,6 +1,8 @@
1
1
  const commonButtonEn = {
2
2
  cancel: "Cancel",
3
- validate: "Validate"
3
+ validate: "Validate",
4
+ "button.changeType": "Change",
5
+ "button.changeOperator": "Change"
4
6
  };
5
7
  export {
6
8
  commonButtonEn as default
@@ -7,5 +7,7 @@
7
7
  declare const commonButtonFr: {
8
8
  cancel: string;
9
9
  validate: string;
10
+ 'button.changeType': string;
11
+ 'button.changeOperator': string;
10
12
  };
11
13
  export default commonButtonFr;
@@ -1,6 +1,8 @@
1
1
  const commonButtonFr = {
2
2
  cancel: "Annuler",
3
- validate: "Valider"
3
+ validate: "Valider",
4
+ "button.changeType": "Modifier",
5
+ "button.changeOperator": "Modifier"
4
6
  };
5
7
  export {
6
8
  commonButtonFr as default
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ declare const csvEn: {
8
+ ImportCSV: string;
9
+ noDataInCsvFile: string;
10
+ wrongCsvHeadersError: string;
11
+ keepCSVDataMessage: string;
12
+ GenerateCSV: string;
13
+ UploadCSV: string;
14
+ uploadMessage: string;
15
+ };
16
+ export default csvEn;
@@ -0,0 +1,12 @@
1
+ const csvEn = {
2
+ ImportCSV: "Import CSV",
3
+ noDataInCsvFile: "No data found in this file",
4
+ wrongCsvHeadersError: "This CSV file has the wrong headers. Use Generate CSV Skeleton button to get supported CSV format",
5
+ keepCSVDataMessage: "Do you want to replace or add the new data to the current list ?",
6
+ GenerateCSV: "Generate CSV skeleton",
7
+ UploadCSV: "Upload CSV",
8
+ uploadMessage: " No file selected"
9
+ };
10
+ export {
11
+ csvEn as default
12
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ declare const csvFr: {
8
+ ImportCSV: string;
9
+ noDataInCsvFile: string;
10
+ wrongCsvHeadersError: string;
11
+ keepCSVDataMessage: string;
12
+ GenerateCSV: string;
13
+ UploadCSV: string;
14
+ uploadMessage: string;
15
+ };
16
+ export default csvFr;
@@ -0,0 +1,12 @@
1
+ const csvFr = {
2
+ ImportCSV: "Import CSV",
3
+ noDataInCsvFile: "Aucune donnée trouvée dans ce fichier",
4
+ wrongCsvHeadersError: "Les en-têtes du fichier CSV sont incorrects. Utilisez le bouton Générer le squelette CSV pour obtenir le format CSV pris en charge",
5
+ keepCSVDataMessage: "Voulez-vous remplacer la liste existante ou y ajouter les nouvelles données ?",
6
+ GenerateCSV: "Générer le squelette CSV",
7
+ UploadCSV: "Télécharger le CSV",
8
+ uploadMessage: " Aucun fichier sélectionné"
9
+ };
10
+ export {
11
+ csvFr as default
12
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ declare const descriptionEn: {
8
+ description: string;
9
+ descriptionProperty: string;
10
+ descriptionModificationError: string;
11
+ descriptionLimitError: string;
12
+ };
13
+ export default descriptionEn;
@@ -0,0 +1,9 @@
1
+ const descriptionEn = {
2
+ description: "Description",
3
+ descriptionProperty: "Description (optional)",
4
+ descriptionModificationError: "An error occurred while editing the description",
5
+ descriptionLimitError: "Description exceeds character limit"
6
+ };
7
+ export {
8
+ descriptionEn as default
9
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ declare const descriptionFr: {
8
+ description: string;
9
+ descriptionProperty: string;
10
+ descriptionModificationError: string;
11
+ descriptionLimitError: string;
12
+ };
13
+ export default descriptionFr;
@@ -0,0 +1,9 @@
1
+ const descriptionFr = {
2
+ description: "Description",
3
+ descriptionProperty: "Description (optionnel)",
4
+ descriptionModificationError: "Erreur lors de la modification de la description",
5
+ descriptionLimitError: "La description dépasse la limite de caractères"
6
+ };
7
+ export {
8
+ descriptionFr as default
9
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ declare const equipmentsEn: {
8
+ Substations: string;
9
+ VoltageLevels: string;
10
+ Lines: string;
11
+ TwoWindingsTransformers: string;
12
+ ThreeWindingsTransformers: string;
13
+ Generators: string;
14
+ Loads: string;
15
+ Batteries: string;
16
+ ShuntCompensators: string;
17
+ Hydro: string;
18
+ Nuclear: string;
19
+ Wind: string;
20
+ Thermal: string;
21
+ Solar: string;
22
+ Other: string;
23
+ LccConverterStations: string;
24
+ VscConverterStations: string;
25
+ StaticVarCompensators: string;
26
+ };
27
+ export default equipmentsEn;
@@ -0,0 +1,23 @@
1
+ const equipmentsEn = {
2
+ Substations: "Substations",
3
+ VoltageLevels: "Voltage levels",
4
+ Lines: "Lines",
5
+ TwoWindingsTransformers: "Two windings transformers",
6
+ ThreeWindingsTransformers: "Three windings transformers",
7
+ Generators: "Generators",
8
+ Loads: "Loads",
9
+ Batteries: "Batteries",
10
+ ShuntCompensators: "Shunt compensators",
11
+ Hydro: "Hydro",
12
+ Nuclear: "Nuclear",
13
+ Wind: "Wind",
14
+ Thermal: "Thermal",
15
+ Solar: "Solar",
16
+ Other: "Other",
17
+ LccConverterStations: "LCC converter stations",
18
+ VscConverterStations: "VSC converter stations",
19
+ StaticVarCompensators: "Static var compensators"
20
+ };
21
+ export {
22
+ equipmentsEn as default
23
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Copyright (c) 2024, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+ declare const equipmentsFr: {
8
+ Substations: string;
9
+ VoltageLevels: string;
10
+ Lines: string;
11
+ TwoWindingsTransformers: string;
12
+ ThreeWindingsTransformers: string;
13
+ Generators: string;
14
+ Loads: string;
15
+ Batteries: string;
16
+ ShuntCompensators: string;
17
+ Hydro: string;
18
+ Nuclear: string;
19
+ Wind: string;
20
+ Thermal: string;
21
+ Solar: string;
22
+ Other: string;
23
+ LccConverterStations: string;
24
+ VscConverterStations: string;
25
+ StaticVarCompensators: string;
26
+ };
27
+ export default equipmentsFr;
@@ -0,0 +1,23 @@
1
+ const equipmentsFr = {
2
+ Substations: "Sites",
3
+ VoltageLevels: "Postes",
4
+ Lines: "Lignes",
5
+ TwoWindingsTransformers: "Transfos à 2 enroulements",
6
+ ThreeWindingsTransformers: "Transfos à 3 enroulements",
7
+ Generators: "Groupes",
8
+ Loads: "Consommations",
9
+ Batteries: "Batteries",
10
+ ShuntCompensators: "Moyens de compensation",
11
+ Hydro: "Hydraulique",
12
+ Nuclear: "Nucléaire",
13
+ Wind: "Eolien",
14
+ Thermal: "Thermique",
15
+ Solar: "Solaire",
16
+ Other: "Autre",
17
+ LccConverterStations: "Stations de conversion LCC",
18
+ VscConverterStations: "Stations de conversion VSC",
19
+ StaticVarCompensators: "CSPR"
20
+ };
21
+ export {
22
+ equipmentsFr as default
23
+ };
@@ -25,5 +25,34 @@ declare const filterEn: {
25
25
  betweenRule: string;
26
26
  emptyGroup: string;
27
27
  Hvdc: string;
28
+ 'filter.criteriaBased': string;
29
+ 'filter.expert': string;
30
+ 'filter.explicitNaming': string;
31
+ nameEmpty: string;
32
+ equipmentType: string;
33
+ changeTypeMessage: string;
34
+ PropertyValues: string;
35
+ PropertyValues1: string;
36
+ PropertyValues2: string;
37
+ FreePropsCrit: string;
38
+ AddFreePropCrit: string;
39
+ FreeProps: string;
40
+ SubstationFreeProps: string;
41
+ YupRequired: string;
42
+ filterPropertiesNameUniquenessError: string;
43
+ emptyFilterError: string;
44
+ distributionKeyWithMissingIdError: string;
45
+ missingDistributionKeyError: string;
46
+ filterCsvFileName: string;
47
+ createNewFilter: string;
48
+ nameProperty: string;
49
+ Countries: string;
50
+ Countries1: string;
51
+ Countries2: string;
52
+ nominalVoltage: string;
53
+ EnergySourceText: string;
54
+ nameAlreadyUsed: string;
55
+ nameValidityCheckErrorMsg: string;
56
+ cantSubmitWhileValidating: string;
28
57
  };
29
58
  export default filterEn;
@@ -18,7 +18,36 @@ const filterEn = {
18
18
  obsoleteFilter: "This filter is no longer supported. Please remove it or change its equipment type.",
19
19
  betweenRule: "Left value of 'between' rule have to be lower than the right value",
20
20
  emptyGroup: "Filter contains an empty group. Consider removing it or adding rules to this group",
21
- Hvdc: "HVDC"
21
+ Hvdc: "HVDC",
22
+ "filter.criteriaBased": "Criteria based",
23
+ "filter.expert": "Expert",
24
+ "filter.explicitNaming": "Explicit naming",
25
+ nameEmpty: "The name is empty",
26
+ equipmentType: "Equipment type",
27
+ changeTypeMessage: "The equipment type will be changed and the current configuration will be erased.",
28
+ PropertyValues: "Property values",
29
+ PropertyValues1: "Property values 1",
30
+ PropertyValues2: "Property values 2",
31
+ FreePropsCrit: "By properties filtering",
32
+ AddFreePropCrit: "Add a filtering by property",
33
+ FreeProps: "Equipment properties",
34
+ SubstationFreeProps: "Equipment substation properties",
35
+ YupRequired: "This field is required",
36
+ filterPropertiesNameUniquenessError: "It is not possible to add multiple filters for the same property",
37
+ emptyFilterError: "Filter should contain at least one equipment",
38
+ distributionKeyWithMissingIdError: "Missing ID with defined distribution key",
39
+ missingDistributionKeyError: "Missing distribution key",
40
+ filterCsvFileName: "filterCreation",
41
+ createNewFilter: "Create a filter",
42
+ nameProperty: "Name",
43
+ Countries: "Countries",
44
+ Countries1: "Countries 1",
45
+ Countries2: "Countries 2",
46
+ nominalVoltage: "Nominal voltage",
47
+ EnergySourceText: "Energy source",
48
+ nameAlreadyUsed: "This name is already used",
49
+ nameValidityCheckErrorMsg: "Error while checking name validity",
50
+ cantSubmitWhileValidating: "Impossible to submit the form while validating a field"
22
51
  };
23
52
  export {
24
53
  filterEn as default
@@ -176,5 +176,15 @@ declare const filterExpertEn: {
176
176
  shuntSusceptance2: string;
177
177
  pairingKey: string;
178
178
  tieLineId: string;
179
+ cannotRetrieveFilter: string;
180
+ equality: string;
181
+ notEquality: string;
182
+ greaterThan: string;
183
+ greaterOrEqual: string;
184
+ lessThan: string;
185
+ lessOrEqual: string;
186
+ YupNotTypeNumber: string;
187
+ YupNotTypeDefault: string;
188
+ changeOperatorMessage: string;
179
189
  };
180
190
  export default filterExpertEn;
@@ -169,7 +169,17 @@ const filterExpertEn = {
169
169
  shuntConductance2: "Shunt conductance 2 (μS)",
170
170
  shuntSusceptance2: "Shunt susceptance 2 (μS)",
171
171
  pairingKey: "Xnode",
172
- tieLineId: "Tie line ID"
172
+ tieLineId: "Tie line ID",
173
+ cannotRetrieveFilter: "Could not retrieve filter: ",
174
+ equality: "=",
175
+ notEquality: "!=",
176
+ greaterThan: ">",
177
+ greaterOrEqual: ">=",
178
+ lessThan: "<",
179
+ lessOrEqual: "<=",
180
+ YupNotTypeNumber: "This field only accepts numeric values",
181
+ YupNotTypeDefault: "Field value format is incorrect",
182
+ changeOperatorMessage: "The operator will be changed and will be applied to all the rules already created in the group."
173
183
  };
174
184
  export {
175
185
  filterExpertEn as default
@@ -176,5 +176,15 @@ declare const filterExpertFr: {
176
176
  shuntSusceptance2: string;
177
177
  pairingKey: string;
178
178
  tieLineId: string;
179
+ cannotRetrieveFilter: string;
180
+ equality: string;
181
+ notEquality: string;
182
+ greaterThan: string;
183
+ greaterOrEqual: string;
184
+ lessThan: string;
185
+ lessOrEqual: string;
186
+ YupNotTypeNumber: string;
187
+ YupNotTypeDefault: string;
188
+ changeOperatorMessage: string;
179
189
  };
180
190
  export default filterExpertFr;
@@ -169,7 +169,17 @@ const filterExpertFr = {
169
169
  shuntConductance2: "Conductance parallèle 2 (μS)",
170
170
  shuntSusceptance2: "Susceptance parallèle 2 (μS)",
171
171
  pairingKey: "Xnode",
172
- tieLineId: "ID de l'interconnexion"
172
+ tieLineId: "ID de l'interconnexion",
173
+ cannotRetrieveFilter: "Erreur d'accès au filtre : ",
174
+ equality: "=",
175
+ notEquality: "!=",
176
+ greaterThan: ">",
177
+ greaterOrEqual: ">=",
178
+ lessThan: "<",
179
+ lessOrEqual: "<=",
180
+ YupNotTypeNumber: "Ce champ n'accepte que des valeurs numériques",
181
+ YupNotTypeDefault: "La valeur du champ n'est pas au bon format",
182
+ changeOperatorMessage: "L'opérateur sera modifié et s'appliquera sur toutes les règles déjà créées dans le groupe."
173
183
  };
174
184
  export {
175
185
  filterExpertFr as default
@@ -25,5 +25,34 @@ declare const filterFr: {
25
25
  betweenRule: string;
26
26
  emptyGroup: string;
27
27
  Hvdc: string;
28
+ 'filter.criteriaBased': string;
29
+ 'filter.expert': string;
30
+ 'filter.explicitNaming': string;
31
+ nameEmpty: string;
32
+ equipmentType: string;
33
+ changeTypeMessage: string;
34
+ PropertyValues: string;
35
+ PropertyValues1: string;
36
+ PropertyValues2: string;
37
+ FreePropsCrit: string;
38
+ AddFreePropCrit: string;
39
+ FreeProps: string;
40
+ SubstationFreeProps: string;
41
+ YupRequired: string;
42
+ filterPropertiesNameUniquenessError: string;
43
+ emptyFilterError: string;
44
+ distributionKeyWithMissingIdError: string;
45
+ missingDistributionKeyError: string;
46
+ filterCsvFileName: string;
47
+ createNewFilter: string;
48
+ nameProperty: string;
49
+ Countries: string;
50
+ Countries1: string;
51
+ Countries2: string;
52
+ nominalVoltage: string;
53
+ EnergySourceText: string;
54
+ nameAlreadyUsed: string;
55
+ nameValidityCheckErrorMsg: string;
56
+ cantSubmitWhileValidating: string;
28
57
  };
29
58
  export default filterFr;
@@ -18,7 +18,36 @@ const filterFr = {
18
18
  obsoleteFilter: "Ce filtre n'est plus supporté. Veuillez le supprimer ou changer son type d'équipement.",
19
19
  betweenRule: "La valeur de gauche d'une règle 'entre' doit être inférieure à la valeur de droite",
20
20
  emptyGroup: "Le filtre contient un groupe vide. Supprimez le ou ajoutez des règles à ce groupe",
21
- Hvdc: "HVDC"
21
+ Hvdc: "HVDC",
22
+ "filter.criteriaBased": "Par critères",
23
+ "filter.expert": "Expert",
24
+ "filter.explicitNaming": "Par nommage",
25
+ nameEmpty: "Le nom est vide",
26
+ equipmentType: "Type d'ouvrage",
27
+ changeTypeMessage: "Le type d'ouvrage sera modifié et la configuration actuelle sera perdue.",
28
+ PropertyValues: "Valeurs de la propriété",
29
+ PropertyValues1: "Valeurs de la propriété 1",
30
+ PropertyValues2: "Valeurs de la propriété 2",
31
+ FreePropsCrit: "Filtrage par propriétés",
32
+ AddFreePropCrit: "Ajouter un filtrage par propriété",
33
+ FreeProps: "Propriétés de l'ouvrage",
34
+ SubstationFreeProps: "Propriétés du site de l'ouvrage",
35
+ YupRequired: "Ce champ doit être renseigné",
36
+ filterPropertiesNameUniquenessError: "Il n'est pas possible d'ajouter plusieurs filtres pour la même propriété",
37
+ emptyFilterError: "Le filtre doit contenir au moins un ouvrage",
38
+ distributionKeyWithMissingIdError: "ID manquant avec une clé de répartition définie",
39
+ missingDistributionKeyError: "Clé de répartition manquante",
40
+ filterCsvFileName: "creationFiltre",
41
+ createNewFilter: "Créer un filtre",
42
+ nameProperty: "Nom",
43
+ Countries: "Pays",
44
+ Countries1: "Pays 1",
45
+ Countries2: "Pays 2",
46
+ nominalVoltage: "Tension nominale",
47
+ EnergySourceText: "Source d'énergie",
48
+ nameAlreadyUsed: "Ce nom est déjà utilisé",
49
+ nameValidityCheckErrorMsg: "Erreur lors de la vérification de la validité du nom",
50
+ cantSubmitWhileValidating: "Impossible de soumettre le formulaire durant la validation d'un champ"
22
51
  };
23
52
  export {
24
53
  filterFr as default
package/dist/index.d.ts CHANGED
@@ -84,6 +84,12 @@ export { default as filter_en } from './components/translations/filter-en';
84
84
  export { default as filter_fr } from './components/translations/filter-fr';
85
85
  export { default as filter_expert_en } from './components/translations/filter-expert-en';
86
86
  export { default as filter_expert_fr } from './components/translations/filter-expert-fr';
87
+ export { default as description_fr } from './components/translations/description-fr';
88
+ export { default as description_en } from './components/translations/description-en';
89
+ export { default as equipments_fr } from './components/translations/equipments-fr';
90
+ export { default as equipments_en } from './components/translations/equipments-en';
91
+ export { default as csv_fr } from './components/translations/csv-fr';
92
+ export { default as csv_en } from './components/translations/csv-en';
87
93
  export { default as card_error_boundary_en } from './components/translations/card-error-boundary-en';
88
94
  export { default as card_error_boundary_fr } from './components/translations/card-error-boundary-fr';
89
95
  export { default as flat_parameters_en } from './components/translations/flat-parameters-en';
package/dist/index.js CHANGED
@@ -60,63 +60,69 @@ import { default as default39 } from "./components/translations/filter-en.js";
60
60
  import { default as default40 } from "./components/translations/filter-fr.js";
61
61
  import { default as default41 } from "./components/translations/filter-expert-en.js";
62
62
  import { default as default42 } from "./components/translations/filter-expert-fr.js";
63
- import { default as default43 } from "./components/translations/card-error-boundary-en.js";
64
- import { default as default44 } from "./components/translations/card-error-boundary-fr.js";
65
- import { default as default45 } from "./components/translations/flat-parameters-en.js";
66
- import { default as default46 } from "./components/translations/flat-parameters-fr.js";
67
- import { default as default47 } from "./components/translations/multiple-selection-dialog-en.js";
68
- import { default as default48 } from "./components/translations/multiple-selection-dialog-fr.js";
69
- import { default as default49 } from "./components/translations/common-button-en.js";
70
- import { default as default50 } from "./components/translations/common-button-fr.js";
71
- import { default as default51 } from "./components/translations/directory-items-input-en.js";
72
- import { default as default52 } from "./components/translations/directory-items-input-fr.js";
63
+ import { default as default43 } from "./components/translations/description-fr.js";
64
+ import { default as default44 } from "./components/translations/description-en.js";
65
+ import { default as default45 } from "./components/translations/equipments-fr.js";
66
+ import { default as default46 } from "./components/translations/equipments-en.js";
67
+ import { default as default47 } from "./components/translations/csv-fr.js";
68
+ import { default as default48 } from "./components/translations/csv-en.js";
69
+ import { default as default49 } from "./components/translations/card-error-boundary-en.js";
70
+ import { default as default50 } from "./components/translations/card-error-boundary-fr.js";
71
+ import { default as default51 } from "./components/translations/flat-parameters-en.js";
72
+ import { default as default52 } from "./components/translations/flat-parameters-fr.js";
73
+ import { default as default53 } from "./components/translations/multiple-selection-dialog-en.js";
74
+ import { default as default54 } from "./components/translations/multiple-selection-dialog-fr.js";
75
+ import { default as default55 } from "./components/translations/common-button-en.js";
76
+ import { default as default56 } from "./components/translations/common-button-fr.js";
77
+ import { default as default57 } from "./components/translations/directory-items-input-en.js";
78
+ import { default as default58 } from "./components/translations/directory-items-input-fr.js";
73
79
  import { EquipmentItem } from "./components/ElementSearchDialog/equipment-item.js";
74
- import { default as default53 } from "./components/CardErrorBoundary/card-error-boundary.js";
75
- import { default as default54 } from "./hooks/useIntlRef.js";
80
+ import { default as default59 } from "./components/CardErrorBoundary/card-error-boundary.js";
81
+ import { default as default60 } from "./hooks/useIntlRef.js";
76
82
  import { useSnackMessage } from "./hooks/useSnackMessage.js";
77
- import { default as default55 } from "./hooks/useDebounce.js";
83
+ import { default as default61 } from "./hooks/useDebounce.js";
78
84
  import { usePrevious } from "./hooks/usePrevious.js";
79
- import { default as default56 } from "./hooks/useConfidentialityWarning.js";
80
- import { default as default57 } from "./components/inputs/select-clearable.js";
81
- import { default as default58 } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
82
- import { default as default59 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
83
- import { default as default60 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
84
- import { default as default61 } from "./components/inputs/react-hook-form/text-input.js";
85
- import { default as default62 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
86
- import { default as default63 } from "./components/inputs/react-hook-form/radio-input.js";
87
- import { default as default64 } from "./components/inputs/react-hook-form/slider-input.js";
88
- import { default as default65 } from "./components/inputs/react-hook-form/numbers/float-input.js";
89
- import { default as default66 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
90
- import { default as default67 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
91
- import { default as default68 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
92
- import { default as default69 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
93
- import { default as default70 } from "./components/inputs/react-hook-form/error-management/error-input.js";
94
- import { default as default71 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
95
- import { default as default72 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
96
- import { default as default73 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
97
- import { default as default74 } from "./components/inputs/react-hook-form/utils/field-label.js";
98
- import { default as default75 } from "./components/inputs/react-hook-form/utils/submit-button.js";
99
- import { default as default76 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
85
+ import { default as default62 } from "./hooks/useConfidentialityWarning.js";
86
+ import { default as default63 } from "./components/inputs/select-clearable.js";
87
+ import { default as default64 } from "./components/inputs/react-hook-form/provider/use-custom-form-context.js";
88
+ import { default as default65 } from "./components/inputs/react-hook-form/provider/custom-form-provider.js";
89
+ import { default as default66 } from "./components/inputs/react-hook-form/autocomplete-inputs/autocomplete-input.js";
90
+ import { default as default67 } from "./components/inputs/react-hook-form/text-input.js";
91
+ import { default as default68 } from "./components/inputs/react-hook-form/ExpandingTextField.js";
92
+ import { default as default69 } from "./components/inputs/react-hook-form/radio-input.js";
93
+ import { default as default70 } from "./components/inputs/react-hook-form/slider-input.js";
94
+ import { default as default71 } from "./components/inputs/react-hook-form/numbers/float-input.js";
95
+ import { default as default72 } from "./components/inputs/react-hook-form/numbers/integer-input.js";
96
+ import { default as default73 } from "./components/inputs/react-hook-form/select-inputs/select-input.js";
97
+ import { default as default74 } from "./components/inputs/react-hook-form/booleans/checkbox-input.js";
98
+ import { default as default75 } from "./components/inputs/react-hook-form/booleans/switch-input.js";
99
+ import { default as default76 } from "./components/inputs/react-hook-form/error-management/error-input.js";
100
+ import { default as default77 } from "./components/inputs/react-hook-form/error-management/field-error-alert.js";
101
+ import { default as default78 } from "./components/inputs/react-hook-form/error-management/mid-form-error.js";
102
+ import { default as default79 } from "./components/inputs/react-hook-form/utils/text-field-with-adornment.js";
103
+ import { default as default80 } from "./components/inputs/react-hook-form/utils/field-label.js";
104
+ import { default as default81 } from "./components/inputs/react-hook-form/utils/submit-button.js";
105
+ import { default as default82 } from "./components/inputs/react-hook-form/utils/cancel-button.js";
100
106
  import { genHelperError, genHelperPreviousValue, gridItem, identity, isFieldRequired, isFloatNumber, toFloatOrNullValue } from "./components/inputs/react-hook-form/utils/functions.js";
101
107
  import { areArrayElementsUnique, isObjectEmpty, keyGenerator } from "./utils/functions.js";
102
- import { default as default77 } from "./components/inputs/react-hook-form/directory-items-input.js";
103
- import { default as default78 } from "./components/DirectoryItemSelector/directory-item-selector.js";
104
- import { default as default79 } from "./components/CustomAGGrid/custom-aggrid.js";
105
- import { default as default80 } from "./components/inputs/react-hook-form/raw-read-only-input.js";
106
- import { default as default81 } from "./components/filter/filter-creation-dialog.js";
107
- import { default as default82 } from "./components/filter/expert/expert-filter-edition-dialog.js";
108
- import { default as default83 } from "./components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js";
109
- import { default as default84 } from "./components/filter/criteria-based/criteria-based-filter-edition-dialog.js";
108
+ import { default as default83 } from "./components/inputs/react-hook-form/directory-items-input.js";
109
+ import { default as default84 } from "./components/DirectoryItemSelector/directory-item-selector.js";
110
+ import { default as default85 } from "./components/CustomAGGrid/custom-aggrid.js";
111
+ import { default as default86 } from "./components/inputs/react-hook-form/raw-read-only-input.js";
112
+ import { default as default87 } from "./components/filter/filter-creation-dialog.js";
113
+ import { default as default88 } from "./components/filter/expert/expert-filter-edition-dialog.js";
114
+ import { default as default89 } from "./components/filter/explicit-naming/explicit-naming-filter-edition-dialog.js";
115
+ import { default as default90 } from "./components/filter/criteria-based/criteria-based-filter-edition-dialog.js";
110
116
  import { saveCriteriaBasedFilter, saveExpertFilter, saveExplicitNamingFilter } from "./components/filter/utils/filter-api.js";
111
- import { DEFAULT_RANGE_VALUE, default as default85, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
112
- import { default as default86 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
113
- import { default as default87 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
114
- import { default as default88 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
117
+ import { DEFAULT_RANGE_VALUE, default as default91, getRangeInputDataForm, getRangeInputSchema } from "./components/inputs/react-hook-form/range-input.js";
118
+ import { default as default92 } from "./components/inputs/react-hook-form/select-inputs/input-with-popup-confirmation.js";
119
+ import { default as default93 } from "./components/inputs/react-hook-form/select-inputs/mui-select-input.js";
120
+ import { default as default94 } from "./components/inputs/react-hook-form/select-inputs/countries-input.js";
115
121
  import { getComputedLanguage, getSystemLanguage, useLocalizedCountries } from "./hooks/localized-countries-hook.js";
116
- import { default as default89 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
117
- import { default as default90 } from "./components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js";
118
- import { default as default91 } from "./components/inputs/react-hook-form/unique-name-input.js";
119
- import { default as default92 } from "./utils/UserManagerMock.js";
122
+ import { default as default95 } from "./components/inputs/react-hook-form/autocomplete-inputs/multiple-autocomplete-input.js";
123
+ import { default as default96 } from "./components/inputs/react-hook-form/ag-grid-table/csv-uploader/csv-uploader.js";
124
+ import { default as default97 } from "./components/inputs/react-hook-form/unique-name-input.js";
125
+ import { default as default98 } from "./utils/UserManagerMock.js";
120
126
  import { CONTINGENCY_LIST_EQUIPMENTS, FILTER_EQUIPMENTS } from "./components/filter/utils/filter-form-utils.js";
121
127
  import { getCriteriaBasedFormData, getCriteriaBasedSchema } from "./components/filter/criteria-based/criteria-based-filter-utils.js";
122
128
  import { setCommonStore } from "./redux/commonStore.js";
@@ -129,23 +135,23 @@ import * as yup from "yup";
129
135
  export {
130
136
  default4 as AboutDialog,
131
137
  default6 as AuthenticationRouter,
132
- default60 as AutocompleteInput,
138
+ default66 as AutocompleteInput,
133
139
  Battery,
134
140
  default20 as BottomRightButtons,
135
141
  BusBar,
136
142
  CONTINGENCY_LIST_EQUIPMENTS,
137
- default76 as CancelButton,
138
- default53 as CardErrorBoundary,
143
+ default82 as CancelButton,
144
+ default59 as CardErrorBoundary,
139
145
  ChangeWays,
140
- default68 as CheckboxInput,
146
+ default74 as CheckboxInput,
141
147
  CheckboxList,
142
- default88 as CountriesInput,
143
- default84 as CriteriaBasedFilterEditionDialog,
148
+ default94 as CountriesInput,
149
+ default90 as CriteriaBasedFilterEditionDialog,
144
150
  default18 as CriteriaBasedForm,
145
- default90 as CsvUploader,
146
- default79 as CustomAGGrid,
151
+ default96 as CsvUploader,
152
+ default85 as CustomAGGrid,
147
153
  default21 as CustomAgGridTable,
148
- default59 as CustomFormProvider,
154
+ default65 as CustomFormProvider,
149
155
  default14 as CustomMuiDialog,
150
156
  default23 as CustomReactQueryBuilder,
151
157
  DARK_THEME,
@@ -156,8 +162,8 @@ export {
156
162
  DanglingLine,
157
163
  default16 as DescriptionField,
158
164
  default15 as DescriptionModificationDialog,
159
- default78 as DirectoryItemSelector,
160
- default77 as DirectoryItemsInput,
165
+ default84 as DirectoryItemSelector,
166
+ default83 as DirectoryItemsInput,
161
167
  EQUIPMENT_TYPE,
162
168
  fields as EXPERT_FILTER_FIELDS,
163
169
  EXPERT_FILTER_QUERY,
@@ -166,23 +172,23 @@ export {
166
172
  ElementType,
167
173
  EquipmentItem,
168
174
  EquipmentType,
169
- default70 as ErrorInput,
175
+ default76 as ErrorInput,
170
176
  default12 as ExpandableGroup,
171
- default62 as ExpandingTextField,
172
- default82 as ExpertFilterEditionDialog,
173
- default83 as ExplicitNamingFilterEditionDialog,
177
+ default68 as ExpandingTextField,
178
+ default88 as ExpertFilterEditionDialog,
179
+ default89 as ExplicitNamingFilterEditionDialog,
174
180
  FILTER_EQUIPMENTS,
175
181
  default22 as FieldConstants,
176
- default71 as FieldErrorAlert,
177
- default74 as FieldLabel,
178
- default81 as FilterCreationDialog,
182
+ default77 as FieldErrorAlert,
183
+ default80 as FieldLabel,
184
+ default87 as FilterCreationDialog,
179
185
  FlatParameters,
180
- default65 as FloatInput,
186
+ default71 as FloatInput,
181
187
  GRIDSUITE_DEFAULT_PRECISION,
182
188
  Generator,
183
189
  Hvdc,
184
- default86 as InputWithPopupConfirmation,
185
- default66 as IntegerInput,
190
+ default92 as InputWithPopupConfirmation,
191
+ default72 as IntegerInput,
186
192
  KeyedColumnsRowIndexer,
187
193
  LANG_ENGLISH,
188
194
  LANG_FRENCH,
@@ -192,35 +198,35 @@ export {
192
198
  LOGOUT_ERROR,
193
199
  Line,
194
200
  Load,
195
- default72 as MidFormError,
201
+ default78 as MidFormError,
196
202
  default17 as ModifyElementSelection,
197
- default87 as MuiSelectInput,
203
+ default93 as MuiSelectInput,
198
204
  default7 as MuiVirtualizedTable,
199
- default89 as MultipleAutocompleteInput,
205
+ default95 as MultipleAutocompleteInput,
200
206
  default13 as MultipleSelectionDialog,
201
207
  OverflowableText,
202
208
  default19 as PopupConfirmationDialog,
203
209
  RESET_AUTHENTICATION_ROUTER_ERROR,
204
210
  ROW_DRAGGING_SELECTION_COLUMN_DEF,
205
- default63 as RadioInput,
206
- default85 as RangeInput,
207
- default80 as RawReadOnlyInput,
211
+ default69 as RadioInput,
212
+ default91 as RangeInput,
213
+ default86 as RawReadOnlyInput,
208
214
  default8 as ReportViewer,
209
215
  default9 as ReportViewerDialog,
210
216
  SHOW_AUTH_INFO_LOGIN,
211
217
  SIGNIN_CALLBACK_ERROR,
212
218
  SVC,
213
- default57 as SelectClearable,
214
- default67 as SelectInput,
219
+ default63 as SelectClearable,
220
+ default73 as SelectInput,
215
221
  ShuntCompensator,
216
- default64 as SliderInput,
222
+ default70 as SliderInput,
217
223
  default5 as SnackbarProvider,
218
- default75 as SubmitButton,
224
+ default81 as SubmitButton,
219
225
  Substation,
220
- default69 as SwitchInput,
226
+ default75 as SwitchInput,
221
227
  default10 as TagRenderer,
222
- default73 as TextFieldWithAdornment,
223
- default61 as TextInput,
228
+ default79 as TextFieldWithAdornment,
229
+ default67 as TextInput,
224
230
  ThreeWindingTransfo,
225
231
  default3 as TopBar,
226
232
  default2 as TreeViewFinder,
@@ -228,26 +234,32 @@ export {
228
234
  UNAUTHORIZED_USER_INFO,
229
235
  USER,
230
236
  USER_VALIDATION_ERROR,
231
- default91 as UniqueNameInput,
232
- default92 as UserManagerMock,
237
+ default97 as UniqueNameInput,
238
+ default98 as UserManagerMock,
233
239
  VSC,
234
240
  VoltageLevel,
235
241
  areArrayElementsUnique,
236
242
  backendFetch,
237
243
  backendFetchJson,
238
- default43 as card_error_boundary_en,
239
- default44 as card_error_boundary_fr,
240
- default49 as common_button_en,
241
- default50 as common_button_fr,
244
+ default49 as card_error_boundary_en,
245
+ default50 as card_error_boundary_fr,
246
+ default55 as common_button_en,
247
+ default56 as common_button_fr,
242
248
  createFilter,
243
- default51 as directory_items_input_en,
244
- default52 as directory_items_input_fr,
249
+ default48 as csv_en,
250
+ default47 as csv_fr,
251
+ default44 as description_en,
252
+ default43 as description_fr,
253
+ default57 as directory_items_input_en,
254
+ default58 as directory_items_input_fr,
245
255
  dispatchUser,
246
256
  default35 as element_search_en,
247
257
  default36 as element_search_fr,
248
258
  equipmentStyles,
249
259
  default37 as equipment_search_en,
250
260
  default38 as equipment_search_fr,
261
+ default46 as equipments_en,
262
+ default45 as equipments_fr,
251
263
  exportExpertRules,
252
264
  exportFilter,
253
265
  fetchAppsMetadata,
@@ -263,8 +275,8 @@ export {
263
275
  default41 as filter_expert_en,
264
276
  default42 as filter_expert_fr,
265
277
  default40 as filter_fr,
266
- default45 as flat_parameters_en,
267
- default46 as flat_parameters_fr,
278
+ default51 as flat_parameters_en,
279
+ default52 as flat_parameters_fr,
268
280
  formatQuery,
269
281
  genHelperError,
270
282
  genHelperPreviousValue,
@@ -294,8 +306,8 @@ export {
294
306
  logout,
295
307
  mergeSx,
296
308
  microUnitToUnit,
297
- default47 as multiple_selection_dialog_en,
298
- default48 as multiple_selection_dialog_fr,
309
+ default53 as multiple_selection_dialog_en,
310
+ default54 as multiple_selection_dialog_fr,
299
311
  noSelectionForCopy,
300
312
  default25 as report_viewer_en,
301
313
  default26 as report_viewer_fr,
@@ -317,11 +329,11 @@ export {
317
329
  default33 as treeview_finder_en,
318
330
  default34 as treeview_finder_fr,
319
331
  unitToMicroUnit,
320
- default56 as useConfidentialityWarning,
321
- default58 as useCustomFormContext,
322
- default55 as useDebounce,
332
+ default62 as useConfidentialityWarning,
333
+ default64 as useCustomFormContext,
334
+ default61 as useDebounce,
323
335
  default11 as useElementSearch,
324
- default54 as useIntlRef,
336
+ default60 as useIntlRef,
325
337
  useLocalizedCountries,
326
338
  usePrevious,
327
339
  useSnackMessage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.64.4",
3
+ "version": "0.64.5",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "engines": {
6
6
  "npm": ">=9",