@gridsuite/commons-ui 0.246.0 → 0.248.0
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/composite/filter/expert/ExpertFilterForm.js +2 -2
- package/dist/components/composite/filter/expert/expertFilterConstants.js +12 -0
- package/dist/components/composite/filter/explicitNaming/ExplicitNamingFilterForm.js +4 -6
- package/dist/components/index.js +2 -0
- package/dist/components/ui/index.js +2 -0
- package/dist/components/ui/reactHookForm/index.js +2 -0
- package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.d.ts +1 -1
- package/dist/components/ui/reactHookForm/selectInputs/InputWithPopupConfirmation.js +4 -3
- package/dist/components/ui/reactHookForm/utils/CancelButton.d.ts +1 -1
- package/dist/components/ui/reactHookForm/utils/CancelButton.js +3 -4
- package/dist/components/ui/reactHookForm/utils/CloseButton.d.ts +2 -0
- package/dist/components/ui/reactHookForm/utils/CloseButton.js +9 -0
- package/dist/components/ui/reactHookForm/utils/index.d.ts +1 -0
- package/dist/components/ui/reactHookForm/utils/index.js +2 -0
- package/dist/features/index.js +2 -1
- package/dist/features/network-modifications/common/currentLimits/LimitsPane.js +6 -5
- package/dist/features/parameters/common/constants.d.ts +1 -0
- package/dist/features/parameters/common/constants.js +2 -0
- package/dist/features/parameters/common/index.js +2 -1
- package/dist/features/parameters/common/parameter-field.d.ts +2 -1
- package/dist/features/parameters/common/parameter-field.js +25 -6
- package/dist/features/parameters/index.js +2 -1
- package/dist/features/parameters/loadflow/load-flow-advanced-parameters.d.ts +5 -0
- package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +111 -0
- package/dist/features/parameters/loadflow/load-flow-general-parameters.d.ts +7 -6
- package/dist/features/parameters/loadflow/load-flow-general-parameters.js +8 -93
- package/dist/features/parameters/loadflow/load-flow-parameters-content.d.ts +1 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +6 -2
- package/dist/features/parameters/loadflow/load-flow-parameters-form.js +2 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-header.d.ts +2 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +21 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-type.d.ts +2 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.d.ts +22 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +39 -5
- package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.d.ts +7 -0
- package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +47 -0
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +28 -6
- package/dist/features/parameters/security-analysis/security-analysis-parameters-selector.js +1 -0
- package/dist/features/process-configs/security-analysis/update-sa-process-config.js +1 -0
- package/dist/features/topBar/AboutDialog.js +3 -2
- package/dist/features/topBar/UserInformationDialog.js +2 -2
- package/dist/features/topBar/UserSettingsDialog.js +3 -2
- package/dist/index.js +4 -1
- package/dist/translations/en/commonButtonEn.d.ts +1 -0
- package/dist/translations/en/commonButtonEn.js +1 -0
- package/dist/translations/en/parameters.d.ts +3 -2
- package/dist/translations/en/parameters.js +4 -3
- package/dist/translations/en/topBarEn.d.ts +0 -1
- package/dist/translations/en/topBarEn.js +1 -2
- package/dist/translations/fr/commonButtonFr.d.ts +1 -0
- package/dist/translations/fr/commonButtonFr.js +1 -0
- package/dist/translations/fr/parameters.d.ts +3 -2
- package/dist/translations/fr/parameters.js +4 -3
- package/dist/translations/fr/topBarFr.d.ts +0 -1
- package/dist/translations/fr/topBarFr.js +1 -2
- package/dist/utils/types/equipmentType.js +7 -0
- package/dist/utils/types/parameters.type.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,6 +37,7 @@ import { TextInput } from "./components/ui/reactHookForm/text/TextInput.js";
|
|
|
37
37
|
import { UniqueNameInput } from "./components/ui/reactHookForm/text/UniqueNameInput.js";
|
|
38
38
|
import { DescriptionInput } from "./components/ui/reactHookForm/text/DescriptionInput.js";
|
|
39
39
|
import { CancelButton } from "./components/ui/reactHookForm/utils/CancelButton.js";
|
|
40
|
+
import { CloseButton } from "./components/ui/reactHookForm/utils/CloseButton.js";
|
|
40
41
|
import { FieldLabel } from "./components/ui/reactHookForm/utils/FieldLabel.js";
|
|
41
42
|
import { SubmitButton } from "./components/ui/reactHookForm/utils/SubmitButton.js";
|
|
42
43
|
import { TextFieldWithAdornment } from "./components/ui/reactHookForm/utils/TextFieldWithAdornment.js";
|
|
@@ -178,7 +179,7 @@ import { TopBar } from "./features/topBar/TopBar.js";
|
|
|
178
179
|
import { ParameterLayout } from "./features/parameters/common/parameter-layout/parameter-layout.js";
|
|
179
180
|
import { ParameterLayoutProvider, useParameterLayoutContext } from "./features/parameters/common/parameter-layout/parameter-layout-provider.js";
|
|
180
181
|
import { formatComputingTypeLabel, isValidComputingType } from "./features/parameters/common/computing-type.js";
|
|
181
|
-
import { COMMON_PARAMETERS, CONTINGENCIES, CONTINGENCY_LISTS, CONTINGENCY_LISTS_INFOS, PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_PROVIDER, PROVIDER, SPECIFIC_PARAMETERS, VERSION_PARAMETER, VOLTAGE_LEVEL } from "./features/parameters/common/constants.js";
|
|
182
|
+
import { ADVANCED_PARAMETERS, COMMON_PARAMETERS, CONTINGENCIES, CONTINGENCY_LISTS, CONTINGENCY_LISTS_INFOS, PARAM_SA_FLOW_PROPORTIONAL_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_HIGH_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_LOW_VOLTAGE_ABSOLUTE_THRESHOLD, PARAM_SA_LOW_VOLTAGE_PROPORTIONAL_THRESHOLD, PARAM_SA_PROVIDER, PROVIDER, SPECIFIC_PARAMETERS, VERSION_PARAMETER, VOLTAGE_LEVEL } from "./features/parameters/common/constants.js";
|
|
182
183
|
import { LineSeparator } from "./features/parameters/common/line-separator.js";
|
|
183
184
|
import { LabelledButton, SwitchWithLabel, TabPanel } from "./features/parameters/common/parameters.js";
|
|
184
185
|
import { CreateParameterDialog } from "./features/parameters/common/parameters-creation-dialog.js";
|
|
@@ -503,6 +504,7 @@ import { processConfigFr } from "./translations/fr/processConfigFr.js";
|
|
|
503
504
|
export {
|
|
504
505
|
ACCURACY,
|
|
505
506
|
ACTIVE,
|
|
507
|
+
ADVANCED_PARAMETERS,
|
|
506
508
|
ALL_EQUIPMENTS,
|
|
507
509
|
AMPERE,
|
|
508
510
|
APPLICABILITY,
|
|
@@ -586,6 +588,7 @@ export {
|
|
|
586
588
|
CheckboxInput,
|
|
587
589
|
CheckboxNullableInput,
|
|
588
590
|
ChipItemsInput,
|
|
591
|
+
CloseButton,
|
|
589
592
|
ColumnTypes,
|
|
590
593
|
CombinatorSelector,
|
|
591
594
|
CombinatorType,
|
|
@@ -15,8 +15,7 @@ export declare const parametersEn: {
|
|
|
15
15
|
descLfDcValues: string;
|
|
16
16
|
resetToDefault: string;
|
|
17
17
|
resetParamsConfirmation: string;
|
|
18
|
-
|
|
19
|
-
showSpecificParameters: string;
|
|
18
|
+
ProviderSpecific: string;
|
|
20
19
|
save: string;
|
|
21
20
|
saveParameters: string;
|
|
22
21
|
'settings.button.chooseSettings': string;
|
|
@@ -50,6 +49,7 @@ export declare const parametersEn: {
|
|
|
50
49
|
descLfCountries: string;
|
|
51
50
|
descLfAllCountries: string;
|
|
52
51
|
descLfCountriesToBalance: string;
|
|
52
|
+
inputLabelLfCountriesToBalance: string;
|
|
53
53
|
editParameters: string;
|
|
54
54
|
RealPercentage: string;
|
|
55
55
|
General: string;
|
|
@@ -64,6 +64,7 @@ export declare const parametersEn: {
|
|
|
64
64
|
VoltageRangeInterval: string;
|
|
65
65
|
leftOpenBracket: string;
|
|
66
66
|
rightOpenBracket: string;
|
|
67
|
+
Advanced: string;
|
|
67
68
|
Provider: string;
|
|
68
69
|
LimitReduction: string;
|
|
69
70
|
Default: string;
|
|
@@ -9,8 +9,7 @@ const parametersEn = {
|
|
|
9
9
|
descLfDcValues: "DC Values",
|
|
10
10
|
resetToDefault: "Reset All",
|
|
11
11
|
resetParamsConfirmation: "Do you really want to reset these parameters ?",
|
|
12
|
-
|
|
13
|
-
showSpecificParameters: "Specific settings",
|
|
12
|
+
ProviderSpecific: "Provider specific",
|
|
14
13
|
save: "Save",
|
|
15
14
|
saveParameters: "Save parameters",
|
|
16
15
|
"settings.button.chooseSettings": "Choose parameters",
|
|
@@ -43,7 +42,8 @@ const parametersEn = {
|
|
|
43
42
|
descLfBalanceTypeConformLoad: "conform load",
|
|
44
43
|
descLfCountries: "Countries",
|
|
45
44
|
descLfAllCountries: "All countries",
|
|
46
|
-
descLfCountriesToBalance: "
|
|
45
|
+
descLfCountriesToBalance: "Balancing countries",
|
|
46
|
+
inputLabelLfCountriesToBalance: "Countries participating in balancing",
|
|
47
47
|
editParameters: "Edit parameters",
|
|
48
48
|
RealPercentage: "This value must be between 0 and 1",
|
|
49
49
|
General: "General",
|
|
@@ -58,6 +58,7 @@ const parametersEn = {
|
|
|
58
58
|
VoltageRangeInterval: "Voltage interval ({lowBound} kV, {highBound} kV]",
|
|
59
59
|
leftOpenBracket: "(",
|
|
60
60
|
rightOpenBracket: ")",
|
|
61
|
+
Advanced: "Advanced",
|
|
61
62
|
Provider: "Provider",
|
|
62
63
|
LimitReduction: "Limit reduction",
|
|
63
64
|
Default: "Default",
|
|
@@ -48,8 +48,7 @@ const topBarEn = {
|
|
|
48
48
|
"user-information-dialog/number-of-dynamicMargin-per-study": "Number of dynamic margin",
|
|
49
49
|
"user-settings-dialog/title": "User settings",
|
|
50
50
|
"user-settings-dialog/label-developer-mode": "Developer mode",
|
|
51
|
-
"user-settings-dialog/warning-developer-mode": "Some of the features are not complete, so they may not work as expected. To hide these features, disable developer mode."
|
|
52
|
-
"user-settings-dialog/close": "Close"
|
|
51
|
+
"user-settings-dialog/warning-developer-mode": "Some of the features are not complete, so they may not work as expected. To hide these features, disable developer mode."
|
|
53
52
|
};
|
|
54
53
|
export {
|
|
55
54
|
topBarEn
|
|
@@ -15,8 +15,7 @@ export declare const parametersFr: {
|
|
|
15
15
|
descLfDcValues: string;
|
|
16
16
|
resetToDefault: string;
|
|
17
17
|
resetParamsConfirmation: string;
|
|
18
|
-
|
|
19
|
-
showSpecificParameters: string;
|
|
18
|
+
ProviderSpecific: string;
|
|
20
19
|
save: string;
|
|
21
20
|
saveParameters: string;
|
|
22
21
|
'settings.button.chooseSettings': string;
|
|
@@ -50,6 +49,7 @@ export declare const parametersFr: {
|
|
|
50
49
|
descLfCountries: string;
|
|
51
50
|
descLfAllCountries: string;
|
|
52
51
|
descLfCountriesToBalance: string;
|
|
52
|
+
inputLabelLfCountriesToBalance: string;
|
|
53
53
|
editParameters: string;
|
|
54
54
|
RealPercentage: string;
|
|
55
55
|
General: string;
|
|
@@ -64,6 +64,7 @@ export declare const parametersFr: {
|
|
|
64
64
|
VoltageRangeInterval: string;
|
|
65
65
|
leftOpenBracket: string;
|
|
66
66
|
rightOpenBracket: string;
|
|
67
|
+
Advanced: string;
|
|
67
68
|
Provider: string;
|
|
68
69
|
LimitReduction: string;
|
|
69
70
|
Default: string;
|
|
@@ -9,8 +9,7 @@ const parametersFr = {
|
|
|
9
9
|
descLfDcValues: "DC",
|
|
10
10
|
resetToDefault: "Tout réinitialiser ",
|
|
11
11
|
resetParamsConfirmation: "Souhaitez vous réellement réinitialiser ces paramètres ?",
|
|
12
|
-
|
|
13
|
-
showSpecificParameters: "Paramètres spécifiques",
|
|
12
|
+
ProviderSpecific: "Spécifique au simulateur",
|
|
14
13
|
save: "Enregistrer",
|
|
15
14
|
saveParameters: "Enregistrer des paramètres",
|
|
16
15
|
"settings.button.chooseSettings": "Sélectionner",
|
|
@@ -43,7 +42,8 @@ const parametersFr = {
|
|
|
43
42
|
descLfBalanceTypeConformLoad: "part variable de la consommation",
|
|
44
43
|
descLfCountries: "Pays",
|
|
45
44
|
descLfAllCountries: "Tous les pays",
|
|
46
|
-
descLfCountriesToBalance: "Pays
|
|
45
|
+
descLfCountriesToBalance: "Pays réglant",
|
|
46
|
+
inputLabelLfCountriesToBalance: "Pays participant à la compensation",
|
|
47
47
|
editParameters: "Éditer les paramètres",
|
|
48
48
|
RealPercentage: "Cette valeur doit être comprise entre 0 et 1",
|
|
49
49
|
General: "Général",
|
|
@@ -58,6 +58,7 @@ const parametersFr = {
|
|
|
58
58
|
VoltageRangeInterval: "Plage de tension ]{lowBound} kV; {highBound} kV]",
|
|
59
59
|
leftOpenBracket: "]",
|
|
60
60
|
rightOpenBracket: "[",
|
|
61
|
+
Advanced: "Avancés",
|
|
61
62
|
Provider: "Simulateur",
|
|
62
63
|
LimitReduction: "Abattement des seuils",
|
|
63
64
|
Default: "Défaut",
|
|
@@ -48,8 +48,7 @@ const topBarFr = {
|
|
|
48
48
|
"user-information-dialog/number-of-dynamicMargin-per-study": "Nombre de calculs de marge dynamiques",
|
|
49
49
|
"user-settings-dialog/title": "Paramètres utilisateur",
|
|
50
50
|
"user-settings-dialog/label-developer-mode": "Mode développeur",
|
|
51
|
-
"user-settings-dialog/warning-developer-mode": "Certaines fonctionnalités ne sont pas complètes et peuvent donc ne pas fonctionner comme prévu. Pour masquer ces fonctionnalités, désactivez le mode développeur."
|
|
52
|
-
"user-settings-dialog/close": "Fermer"
|
|
51
|
+
"user-settings-dialog/warning-developer-mode": "Certaines fonctionnalités ne sont pas complètes et peuvent donc ne pas fonctionner comme prévu. Pour masquer ces fonctionnalités, désactivez le mode développeur."
|
|
53
52
|
};
|
|
54
53
|
export {
|
|
55
54
|
topBarFr
|
|
@@ -25,6 +25,7 @@ export type SpecificParameterInfos = {
|
|
|
25
25
|
categoryKey?: string;
|
|
26
26
|
description?: string;
|
|
27
27
|
label?: string;
|
|
28
|
+
inputLabel?: string;
|
|
28
29
|
};
|
|
29
30
|
export type SpecificParametersDescription = Record<string, SpecificParameterInfos[]>;
|
|
30
31
|
export type SpecificParametersValues = Record<string, any>;
|