@gridsuite/commons-ui 0.106.1 → 0.107.1
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/dist/components/directoryItemSelector/DirectoryItemSelector.js +1 -0
- package/dist/components/filter/expert/expertFilterConstants.d.ts +15 -0
- package/dist/components/filter/expert/expertFilterConstants.js +28 -0
- package/dist/components/filter/expert/expertFilterUtils.js +1 -1
- package/dist/components/grid/grid-item.d.ts +8 -0
- package/dist/components/grid/grid-item.js +8 -0
- package/dist/components/grid/grid-section.d.ts +8 -0
- package/dist/components/grid/grid-section.js +9 -0
- package/dist/components/grid/index.d.ts +8 -0
- package/dist/components/grid/index.js +3 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +19 -0
- package/dist/components/inputs/reactQueryBuilder/ValueEditor.js +4 -2
- package/dist/components/parameters/common/index.d.ts +1 -0
- package/dist/components/parameters/common/parameters-edition-dialog-props.d.ts +14 -0
- package/dist/components/parameters/common/parameters-edition-dialog-props.js +1 -0
- package/dist/components/parameters/index.d.ts +1 -0
- package/dist/components/parameters/index.js +16 -0
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.d.ts +1 -14
- package/dist/components/parameters/loadflow/load-flow-parameters-dialog.js +1 -1
- package/dist/components/parameters/loadflow/load-flow-parameters-utils.d.ts +0 -3
- package/dist/components/parameters/loadflow/load-flow-parameters-utils.js +0 -35
- package/dist/components/parameters/loadflow/use-load-flow-parameters-form.js +1 -2
- package/dist/components/parameters/network-visualizations/network-visualizations-form.js +4 -4
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.d.ts +2 -14
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-dialog.js +7 -1
- package/dist/components/parameters/network-visualizations/network-visualizations-parameters-inline.js +7 -1
- package/dist/components/parameters/network-visualizations/use-network-visualizations-parameters-form.d.ts +16 -2
- package/dist/components/parameters/network-visualizations/use-network-visualizations-parameters-form.js +15 -6
- package/dist/components/parameters/short-circuit/constants.d.ts +37 -0
- package/dist/components/parameters/short-circuit/constants.js +58 -0
- package/dist/components/parameters/short-circuit/index.d.ts +10 -0
- package/dist/components/parameters/short-circuit/index.js +18 -0
- package/dist/components/parameters/short-circuit/short-circuit-fields.d.ts +9 -0
- package/dist/components/parameters/short-circuit/short-circuit-fields.js +169 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.d.ts +2 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-dialog.js +91 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-form.d.ts +9 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-form.js +69 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.d.ts +8 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters-inline.js +147 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters.type.d.ts +38 -0
- package/dist/components/parameters/short-circuit/short-circuit-parameters.type.js +1 -0
- package/dist/components/parameters/short-circuit/short-circuit-voltage-table.d.ts +5 -0
- package/dist/components/parameters/short-circuit/short-circuit-voltage-table.js +38 -0
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.d.ts +29 -0
- package/dist/components/parameters/short-circuit/use-short-circuit-parameters-form.js +222 -0
- package/dist/components/treeViewFinder/TreeViewFinder.d.ts +2 -0
- package/dist/index.js +23 -1
- package/dist/services/index.js +4 -1
- package/dist/services/short-circuit-analysis.d.ts +2 -0
- package/dist/services/short-circuit-analysis.js +13 -0
- package/dist/services/study.d.ts +4 -0
- package/dist/services/study.js +25 -1
- package/dist/translations/en/filterExpertEn.d.ts +3 -0
- package/dist/translations/en/filterExpertEn.js +4 -1
- package/dist/translations/en/parameters.d.ts +28 -0
- package/dist/translations/en/parameters.js +29 -1
- package/dist/translations/fr/filterExpertFr.d.ts +3 -0
- package/dist/translations/fr/filterExpertFr.js +4 -1
- package/dist/translations/fr/parameters.d.ts +28 -0
- package/dist/translations/fr/parameters.js +29 -1
- package/dist/utils/types/fieldType.d.ts +3 -0
- package/dist/utils/types/fieldType.js +3 -0
- package/package.json +1 -1
package/dist/services/study.js
CHANGED
|
@@ -30,9 +30,33 @@ function setStudyNetworkVisualizationParameters(studyUuid, newParams) {
|
|
|
30
30
|
body: JSON.stringify(newParams)
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
+
function getStudyShortCircuitParameters(studyUuid) {
|
|
34
|
+
console.info("get study short-circuit parameters");
|
|
35
|
+
return backendFetchJson(`${PREFIX_STUDY_QUERIES}/v1/studies/${studyUuid}/short-circuit-analysis/parameters`);
|
|
36
|
+
}
|
|
37
|
+
function setStudyShortCircuitParameters(studyUuid, newParams) {
|
|
38
|
+
console.info("set study short-circuit parameters", newParams);
|
|
39
|
+
return backendFetch(`${PREFIX_STUDY_QUERIES}/v1/studies/${studyUuid}/short-circuit-analysis/parameters`, {
|
|
40
|
+
method: "POST",
|
|
41
|
+
headers: {
|
|
42
|
+
Accept: "application/json",
|
|
43
|
+
"Content-Type": "application/json"
|
|
44
|
+
},
|
|
45
|
+
body: newParams ? JSON.stringify(newParams) : null
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function invalidateStudyShortCircuitStatus(studyUuid) {
|
|
49
|
+
console.info("invalidate study short circuit status");
|
|
50
|
+
return backendFetch(`${PREFIX_STUDY_QUERIES}/v1/studies/${studyUuid}/short-circuit/invalidate-status`, {
|
|
51
|
+
method: "PUT"
|
|
52
|
+
});
|
|
53
|
+
}
|
|
33
54
|
export {
|
|
34
55
|
exportFilter,
|
|
35
56
|
getAvailableComponentLibraries,
|
|
36
57
|
getStudyNetworkVisualizationsParameters,
|
|
37
|
-
|
|
58
|
+
getStudyShortCircuitParameters,
|
|
59
|
+
invalidateStudyShortCircuitStatus,
|
|
60
|
+
setStudyNetworkVisualizationParameters,
|
|
61
|
+
setStudyShortCircuitParameters
|
|
38
62
|
};
|
|
@@ -181,7 +181,10 @@ const filterExpertEn = {
|
|
|
181
181
|
changeOperatorMessage: "The operator will be changed and will be applied to all the criteria already created in the group.",
|
|
182
182
|
lowShortCircuitCurrentLimit: "Low short-circuit current limit",
|
|
183
183
|
highShortCircuitCurrentLimit: "High short-circuit current limit",
|
|
184
|
-
valuesList: "Values list"
|
|
184
|
+
valuesList: "Values list",
|
|
185
|
+
substationId: "Substation ID",
|
|
186
|
+
substationId1: "Substation ID 1",
|
|
187
|
+
substationId2: "Substation ID 2"
|
|
185
188
|
};
|
|
186
189
|
export {
|
|
187
190
|
filterExpertEn
|
|
@@ -88,4 +88,32 @@ export declare const parametersEn: {
|
|
|
88
88
|
FlatDesign: string;
|
|
89
89
|
Carto: string;
|
|
90
90
|
CartoNoLabel: string;
|
|
91
|
+
getNetworkVisualizationsParametersError: string;
|
|
92
|
+
updateNetworkVisualizationsParametersError: string;
|
|
93
|
+
paramsChangingError: string;
|
|
94
|
+
paramsChangingDenied: string;
|
|
95
|
+
paramsRetrievingError: string;
|
|
96
|
+
paramsCreatingError: string;
|
|
97
|
+
paramsUpdateError: string;
|
|
98
|
+
paramsCreationMsg: string;
|
|
99
|
+
paramsUpdateMsg: string;
|
|
100
|
+
optionalServicesRetrievingError: string;
|
|
101
|
+
defaultSensiResultsThresholdRetrievingError: string;
|
|
102
|
+
fetchDefaultLimitReductionsError: string;
|
|
103
|
+
descWithFeederResult: string;
|
|
104
|
+
ShortCircuitPredefinedParameters: string;
|
|
105
|
+
ShortCircuitCharacteristics: string;
|
|
106
|
+
ShortCircuitVoltageProfileMode: string;
|
|
107
|
+
shortCircuitLoads: string;
|
|
108
|
+
shortCircuitHvdc: string;
|
|
109
|
+
shortCircuitShuntCompensators: string;
|
|
110
|
+
shortCircuitNeutralPosition: string;
|
|
111
|
+
shortCircuitNominalVoltage: string;
|
|
112
|
+
shortCircuitInitialVoltage: string;
|
|
113
|
+
iccMawWithNominalVoltageMapPredefinedParams: string;
|
|
114
|
+
iccMaxWithCEIPredefinedParams: string;
|
|
115
|
+
iscMinWithNominalVoltageMapPredefinedParams: string;
|
|
116
|
+
nominalInitialVoltageProfileMode: string;
|
|
117
|
+
cei909InitialVoltageProfileMode: string;
|
|
118
|
+
Or: string;
|
|
91
119
|
};
|
|
@@ -81,7 +81,35 @@ const parametersEn = {
|
|
|
81
81
|
Convergence: "Convergence",
|
|
82
82
|
FlatDesign: "Flat_Design",
|
|
83
83
|
Carto: "Carto",
|
|
84
|
-
CartoNoLabel: "Carto without labels"
|
|
84
|
+
CartoNoLabel: "Carto without labels",
|
|
85
|
+
getNetworkVisualizationsParametersError: "An error occurred while reading the network visualizations parameters",
|
|
86
|
+
updateNetworkVisualizationsParametersError: "An error occurred while updating the network visualizations parameters",
|
|
87
|
+
paramsChangingError: "An error occurred when changing the parameters",
|
|
88
|
+
paramsChangingDenied: "The requested changes have been rejected",
|
|
89
|
+
paramsRetrievingError: "An error occurred while retrieving the parameters",
|
|
90
|
+
paramsCreatingError: "An error occurred while creating the parameters",
|
|
91
|
+
paramsUpdateError: "An error occurred while updating the parameters {item}",
|
|
92
|
+
paramsCreationMsg: "Parameters created in {directory}",
|
|
93
|
+
paramsUpdateMsg: "Parameters {item} updated",
|
|
94
|
+
optionalServicesRetrievingError: "An error occurred while retrieving the status of optional services",
|
|
95
|
+
defaultSensiResultsThresholdRetrievingError: "An error occurred while retrieving the sensitivity analysis results default threshold",
|
|
96
|
+
fetchDefaultLimitReductionsError: "An error occurred while fetching the default limit reductions",
|
|
97
|
+
descWithFeederResult: "With feeder results",
|
|
98
|
+
ShortCircuitPredefinedParameters: "Preset parameters",
|
|
99
|
+
ShortCircuitCharacteristics: "Features considered",
|
|
100
|
+
ShortCircuitVoltageProfileMode: "Initial voltage profile",
|
|
101
|
+
shortCircuitLoads: "Loads",
|
|
102
|
+
shortCircuitHvdc: "HVDC (VSC)",
|
|
103
|
+
shortCircuitShuntCompensators: "Shunt compensators",
|
|
104
|
+
shortCircuitNeutralPosition: "Tap position of ratio tap changers",
|
|
105
|
+
shortCircuitNominalVoltage: "Nominal voltage (kV)",
|
|
106
|
+
shortCircuitInitialVoltage: "Initial voltage (kV)",
|
|
107
|
+
iccMawWithNominalVoltageMapPredefinedParams: "ISC max with nominal voltage profile",
|
|
108
|
+
iccMaxWithCEIPredefinedParams: "ISC max with standard IEC 909",
|
|
109
|
+
iscMinWithNominalVoltageMapPredefinedParams: "ISC min with nominal voltage profile",
|
|
110
|
+
nominalInitialVoltageProfileMode: "Nominal",
|
|
111
|
+
cei909InitialVoltageProfileMode: "IEC 909",
|
|
112
|
+
Or: "or"
|
|
85
113
|
};
|
|
86
114
|
export {
|
|
87
115
|
parametersEn
|
|
@@ -181,7 +181,10 @@ const filterExpertFr = {
|
|
|
181
181
|
changeOperatorMessage: "L'opérateur sera modifié et s'appliquera sur tous les critères déjà créés dans le groupe.",
|
|
182
182
|
lowShortCircuitCurrentLimit: "Limite ICC min",
|
|
183
183
|
highShortCircuitCurrentLimit: "Limite ICC max",
|
|
184
|
-
valuesList: "Liste de valeurs"
|
|
184
|
+
valuesList: "Liste de valeurs",
|
|
185
|
+
substationId: "ID Site",
|
|
186
|
+
substationId1: "ID Site 1",
|
|
187
|
+
substationId2: "ID Site 2"
|
|
185
188
|
};
|
|
186
189
|
export {
|
|
187
190
|
filterExpertFr
|
|
@@ -88,4 +88,32 @@ export declare const parametersFr: {
|
|
|
88
88
|
FlatDesign: string;
|
|
89
89
|
Carto: string;
|
|
90
90
|
CartoNoLabel: string;
|
|
91
|
+
getNetworkVisualizationsParametersError: string;
|
|
92
|
+
updateNetworkVisualizationsParametersError: string;
|
|
93
|
+
paramsChangingError: string;
|
|
94
|
+
paramsChangingDenied: string;
|
|
95
|
+
paramsRetrievingError: string;
|
|
96
|
+
paramsCreatingError: string;
|
|
97
|
+
paramsUpdateError: string;
|
|
98
|
+
paramsCreationMsg: string;
|
|
99
|
+
paramsUpdateMsg: string;
|
|
100
|
+
optionalServicesRetrievingError: string;
|
|
101
|
+
defaultSensiResultsThresholdRetrievingError: string;
|
|
102
|
+
fetchDefaultLimitReductionsError: string;
|
|
103
|
+
descWithFeederResult: string;
|
|
104
|
+
ShortCircuitPredefinedParameters: string;
|
|
105
|
+
ShortCircuitCharacteristics: string;
|
|
106
|
+
ShortCircuitVoltageProfileMode: string;
|
|
107
|
+
shortCircuitLoads: string;
|
|
108
|
+
shortCircuitHvdc: string;
|
|
109
|
+
shortCircuitShuntCompensators: string;
|
|
110
|
+
shortCircuitNeutralPosition: string;
|
|
111
|
+
shortCircuitNominalVoltage: string;
|
|
112
|
+
shortCircuitInitialVoltage: string;
|
|
113
|
+
iccMawWithNominalVoltageMapPredefinedParams: string;
|
|
114
|
+
iccMaxWithCEIPredefinedParams: string;
|
|
115
|
+
iscMinWithNominalVoltageMapPredefinedParams: string;
|
|
116
|
+
nominalInitialVoltageProfileMode: string;
|
|
117
|
+
cei909InitialVoltageProfileMode: string;
|
|
118
|
+
Or: string;
|
|
91
119
|
};
|
|
@@ -81,7 +81,35 @@ const parametersFr = {
|
|
|
81
81
|
Convergence: "Convergence",
|
|
82
82
|
FlatDesign: "Flat_Design",
|
|
83
83
|
Carto: "Carto",
|
|
84
|
-
CartoNoLabel: "Carto sans labels"
|
|
84
|
+
CartoNoLabel: "Carto sans labels",
|
|
85
|
+
getNetworkVisualizationsParametersError: "Une erreur est survenue lors de la récupération des paramètres des images réseau",
|
|
86
|
+
updateNetworkVisualizationsParametersError: "Une erreur est survenue lors de la mise a jour des paramètres des images réseau",
|
|
87
|
+
paramsChangingError: "Une erreur est survenue lors de la modification des paramètres",
|
|
88
|
+
paramsChangingDenied: "Les changements demandés ont été rejetés",
|
|
89
|
+
paramsRetrievingError: "Une erreur est survenue lors de la récupération des paramètres",
|
|
90
|
+
paramsCreatingError: "Une erreur est survenue lors de la création des paramètres",
|
|
91
|
+
paramsUpdateError: "Une erreur est survenue lors de la mise à jour des paramètres {item}",
|
|
92
|
+
paramsCreationMsg: "Création de paramètres dans {directory}",
|
|
93
|
+
paramsUpdateMsg: "Mise à jour des paramètres {item}",
|
|
94
|
+
optionalServicesRetrievingError: "Une erreur est survenue lors de la récupération de l'état des services optionnels",
|
|
95
|
+
defaultSensiResultsThresholdRetrievingError: "Une erreur est survenue lors de la récupération du seuil par défaut des résultats de l'analyse de sensibilité",
|
|
96
|
+
fetchDefaultLimitReductionsError: "Une erreur est survenue lors de la récupération des abattements par défaut",
|
|
97
|
+
descWithFeederResult: "Avec apports",
|
|
98
|
+
ShortCircuitPredefinedParameters: "Paramètres prédéfinis",
|
|
99
|
+
ShortCircuitCharacteristics: "Caractéristiques prises en compte",
|
|
100
|
+
ShortCircuitVoltageProfileMode: "Plan de tension initial",
|
|
101
|
+
shortCircuitLoads: "Charges",
|
|
102
|
+
shortCircuitHvdc: "HVDC (VSC)",
|
|
103
|
+
shortCircuitShuntCompensators: "MCS",
|
|
104
|
+
shortCircuitNeutralPosition: "Prises courantes des régleurs en charge",
|
|
105
|
+
shortCircuitNominalVoltage: "Tension nominale (kV)",
|
|
106
|
+
shortCircuitInitialVoltage: "Tension initiale (kV)",
|
|
107
|
+
iccMawWithNominalVoltageMapPredefinedParams: "ICC max avec plan de tension normalisé",
|
|
108
|
+
iccMaxWithCEIPredefinedParams: "ICC max avec norme CEI 909",
|
|
109
|
+
iscMinWithNominalVoltageMapPredefinedParams: "Pcc min à tension normalisée",
|
|
110
|
+
nominalInitialVoltageProfileMode: "Normalisé",
|
|
111
|
+
cei909InitialVoltageProfileMode: "CEI 909",
|
|
112
|
+
Or: "ou"
|
|
85
113
|
};
|
|
86
114
|
export {
|
|
87
115
|
parametersFr
|
|
@@ -107,6 +107,9 @@ export declare enum FieldType {
|
|
|
107
107
|
PHASE_REGULATION_VALUE_1 = "PHASE_REGULATION_VALUE_1",
|
|
108
108
|
PHASE_REGULATION_VALUE_2 = "PHASE_REGULATION_VALUE_2",
|
|
109
109
|
PHASE_REGULATION_VALUE_3 = "PHASE_REGULATION_VALUE_3",
|
|
110
|
+
SUBSTATION_ID = "SUBSTATION_ID",
|
|
111
|
+
SUBSTATION_ID_1 = "SUBSTATION_ID_1",
|
|
112
|
+
SUBSTATION_ID_2 = "SUBSTATION_ID_2",
|
|
110
113
|
SUBSTATION_PROPERTIES = "SUBSTATION_PROPERTIES",
|
|
111
114
|
SUBSTATION_PROPERTIES_1 = "SUBSTATION_PROPERTIES_1",
|
|
112
115
|
SUBSTATION_PROPERTIES_2 = "SUBSTATION_PROPERTIES_2",
|
|
@@ -101,6 +101,9 @@ var FieldType = /* @__PURE__ */ ((FieldType2) => {
|
|
|
101
101
|
FieldType2["PHASE_REGULATION_VALUE_1"] = "PHASE_REGULATION_VALUE_1";
|
|
102
102
|
FieldType2["PHASE_REGULATION_VALUE_2"] = "PHASE_REGULATION_VALUE_2";
|
|
103
103
|
FieldType2["PHASE_REGULATION_VALUE_3"] = "PHASE_REGULATION_VALUE_3";
|
|
104
|
+
FieldType2["SUBSTATION_ID"] = "SUBSTATION_ID";
|
|
105
|
+
FieldType2["SUBSTATION_ID_1"] = "SUBSTATION_ID_1";
|
|
106
|
+
FieldType2["SUBSTATION_ID_2"] = "SUBSTATION_ID_2";
|
|
104
107
|
FieldType2["SUBSTATION_PROPERTIES"] = "SUBSTATION_PROPERTIES";
|
|
105
108
|
FieldType2["SUBSTATION_PROPERTIES_1"] = "SUBSTATION_PROPERTIES_1";
|
|
106
109
|
FieldType2["SUBSTATION_PROPERTIES_2"] = "SUBSTATION_PROPERTIES_2";
|