@gridsuite/commons-ui 0.256.0 → 0.258.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/FilterCreationDialog.js +6 -2
- package/dist/components/composite/filter/FilterForm.js +10 -0
- package/dist/components/composite/filter/HeaderFilterForm.d.ts +0 -10
- package/dist/components/composite/filter/HeaderFilterForm.js +7 -16
- package/dist/components/composite/filter/expert/ExpertFilterForm.js +3 -3
- package/dist/components/index.js +8 -0
- package/dist/components/ui/dialogs/descriptionModificationDialog/DescriptionModificationDialog.js +2 -1
- package/dist/components/ui/dialogs/elementSaveDialog/ElementSaveDialog.js +2 -1
- package/dist/components/ui/dialogs/index.d.ts +1 -0
- package/dist/components/ui/dialogs/index.js +8 -0
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/index.d.ts +2 -1
- package/dist/components/ui/dialogs/name-element-editor/index.js +10 -0
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-form.js +5 -5
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-utils.d.ts +13 -3
- package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-utils.js +27 -22
- package/dist/components/ui/dialogs/name-element-editor/named-element-edition-dialog.d.ts +17 -0
- package/dist/components/ui/dialogs/name-element-editor/named-element-edition-dialog.js +49 -0
- package/dist/components/ui/index.js +8 -0
- package/dist/features/global-filter/context/global-filter-context-provider.d.ts +2 -0
- package/dist/features/global-filter/context/global-filter-context-provider.js +41 -0
- package/dist/features/global-filter/context/global-filter-context.d.ts +3 -0
- package/dist/features/global-filter/context/global-filter-context.js +13 -0
- package/dist/features/global-filter/context/global-filter-context.type.d.ts +14 -0
- package/dist/features/global-filter/context/global-filter-context.type.js +1 -0
- package/dist/features/global-filter/context/index.d.ts +8 -0
- package/dist/features/global-filter/context/index.js +4 -0
- package/dist/features/global-filter/global-filter.style.d.ts +162 -0
- package/dist/features/global-filter/global-filter.style.js +190 -0
- package/dist/features/global-filter/index.d.ts +10 -0
- package/dist/features/global-filter/index.js +31 -0
- package/dist/features/global-filter/types/global-filter.type.d.ts +51 -0
- package/dist/features/global-filter/types/global-filter.type.js +19 -0
- package/dist/features/global-filter/types/index.d.ts +8 -0
- package/dist/features/global-filter/types/index.js +8 -0
- package/dist/features/global-filter/types/limit-violation.type.d.ts +11 -0
- package/dist/features/global-filter/types/limit-violation.type.js +9 -0
- package/dist/features/global-filter/ui/global-filter-dropdown-panel.d.ts +10 -0
- package/dist/features/global-filter/ui/global-filter-dropdown-panel.js +251 -0
- package/dist/features/global-filter/ui/global-filter-panel.d.ts +9 -0
- package/dist/features/global-filter/ui/global-filter-panel.js +391 -0
- package/dist/features/global-filter/ui/label-with-info-tooltip.d.ts +12 -0
- package/dist/features/global-filter/ui/label-with-info-tooltip.js +24 -0
- package/dist/features/global-filter/ui/selected-global-filters.d.ts +4 -0
- package/dist/features/global-filter/ui/selected-global-filters.js +114 -0
- package/dist/features/global-filter/utils/build-valid-global-filters.d.ts +8 -0
- package/dist/features/global-filter/utils/build-valid-global-filters.js +51 -0
- package/dist/features/global-filter/utils/editing-global-filter-sync.d.ts +9 -0
- package/dist/features/global-filter/utils/editing-global-filter-sync.js +15 -0
- package/dist/features/global-filter/utils/global-filter-state.utils.d.ts +14 -0
- package/dist/features/global-filter/utils/global-filter-state.utils.js +71 -0
- package/dist/features/global-filter/utils/global-filter-sync.utils.d.ts +9 -0
- package/dist/features/global-filter/utils/global-filter-sync.utils.js +26 -0
- package/dist/features/global-filter/utils/global-filter-utils.d.ts +7 -0
- package/dist/features/global-filter/utils/global-filter-utils.js +44 -0
- package/dist/features/global-filter/utils/index.d.ts +11 -0
- package/dist/features/global-filter/utils/index.js +21 -0
- package/dist/features/index.d.ts +1 -0
- package/dist/features/index.js +42 -8
- package/dist/features/network-modification-table/renderers/description-cell.js +4 -0
- package/dist/features/network-modifications/battery/creation/batteryCreation.utils.js +3 -2
- package/dist/features/network-modifications/battery/modification/batteryModification.utils.js +2 -1
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-form.js +2 -1
- package/dist/features/network-modifications/by-filter/assignment/assignment/assignment-utils.js +2 -2
- package/dist/features/network-modifications/by-filter/formula/formula/formula-utils.js +5 -5
- package/dist/features/network-modifications/common/activePowerControl/activePowerControlForm.utils.js +2 -1
- package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.js +2 -1
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.js +2 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +2 -1
- package/dist/features/network-modifications/common/reactiveLimits/reactiveLimits.utils.js +3 -2
- package/dist/features/network-modifications/common/voltageRegulation/voltageRegulation.utils.js +3 -2
- package/dist/features/network-modifications/generator/creation/generatorCreation.utils.js +4 -3
- package/dist/features/network-modifications/generator/modification/generatorModification.utils.js +5 -4
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +7 -6
- package/dist/features/network-modifications/shunt-compensator/common/characteristicsForm.utils.js +7 -6
- package/dist/features/network-modifications/voltageLevel/creation/voltageLevelCreation.utils.js +10 -9
- package/dist/features/network-modifications/voltageLevel/modification/voltageLevelModification.utils.js +6 -5
- package/dist/features/parameters/common/hook/use-parameters-form.js +1 -2
- package/dist/features/parameters/common/limitreductions/columns-definitions.js +3 -2
- package/dist/features/parameters/common/parameters-creation-dialog.js +9 -0
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-form.js +0 -1
- package/dist/features/parameters/dynamic-margin-calculation/dynamic-margin-calculation-inline.js +0 -1
- package/dist/features/parameters/dynamic-margin-calculation/loads-variations-parameters.js +2 -2
- package/dist/features/parameters/dynamic-security-analysis/contingency-parameters.js +0 -1
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-inline.js +0 -1
- package/dist/features/parameters/dynamic-security-analysis/dynamic-security-analysis-parameters-form.js +0 -1
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-inline.js +0 -1
- package/dist/features/parameters/dynamic-simulation/dynamic-simulation-parameters-form.js +0 -1
- package/dist/features/parameters/dynamic-simulation/mapping/mapping-parameters.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-advanced-parameters.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-general-parameters.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-content.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-dialog.js +4 -8
- package/dist/features/parameters/loadflow/load-flow-parameters-header.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-inline.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-parameters-utils.js +0 -1
- package/dist/features/parameters/loadflow/load-flow-provider-specific-parameters.js +0 -1
- package/dist/features/parameters/loadflow/use-load-flow-parameters-form.js +1 -2
- package/dist/features/parameters/network-visualizations/network-visualizations-form.js +0 -1
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-dialog.js +3 -7
- package/dist/features/parameters/network-visualizations/network-visualizations-parameters-inline.js +0 -1
- package/dist/features/parameters/network-visualizations/use-network-visualizations-parameters-form.js +1 -2
- package/dist/features/parameters/pcc-min/pcc-min-parameters-dialog.js +1 -5
- package/dist/features/parameters/pcc-min/pcc-min-parameters-inline.js +0 -1
- package/dist/features/parameters/pcc-min/use-pcc-min-parameters-form.js +1 -2
- package/dist/features/parameters/security-analysis/columns-definitions.js +5 -5
- package/dist/features/parameters/security-analysis/security-analysis-parameters-content.js +0 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-dialog.js +2 -6
- package/dist/features/parameters/security-analysis/security-analysis-parameters-form.js +0 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-inline.js +0 -1
- package/dist/features/parameters/security-analysis/security-analysis-parameters-utils.js +0 -1
- package/dist/features/parameters/security-analysis/use-security-analysis-parameters-form.js +1 -2
- package/dist/features/parameters/sensi/columns-definitions.js +0 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-dialog.js +1 -5
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-form.js +0 -1
- package/dist/features/parameters/sensi/sensitivity-analysis-parameters-inline.js +0 -1
- package/dist/features/parameters/sensi/sensitivity-parameters-selector.js +0 -1
- package/dist/features/parameters/sensi/use-sensitivity-analysis-parameters.js +1 -2
- package/dist/features/parameters/sensi/utils.js +1 -2
- package/dist/features/parameters/short-circuit/short-circuit-general-tab-panel.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-content.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-dialog.js +1 -5
- package/dist/features/parameters/short-circuit/short-circuit-parameters-inline.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-parameters-utils.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-power-electronics-tab-panel.js +0 -1
- package/dist/features/parameters/short-circuit/short-circuit-study-area-tab-panel.js +0 -1
- package/dist/features/parameters/short-circuit/use-short-circuit-parameters-form.js +1 -2
- package/dist/features/parameters/voltage-init/equipment-selection-parameters.js +0 -1
- package/dist/features/parameters/voltage-init/general-parameters.js +0 -1
- package/dist/features/parameters/voltage-init/use-voltage-init-parameters-form.js +4 -5
- package/dist/features/parameters/voltage-init/voltage-init-parameters-dialog.js +1 -5
- package/dist/features/parameters/voltage-init/voltage-init-parameters-form.js +0 -1
- package/dist/features/parameters/voltage-init/voltage-init-parameters-inline.js +0 -1
- package/dist/features/process-configs/common/index.d.ts +9 -0
- package/dist/features/process-configs/common/index.js +11 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.d.ts +3 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.js +129 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.utils.d.ts +53 -0
- package/dist/features/process-configs/common/process-config-modifications-edition.utils.js +50 -0
- package/dist/features/process-configs/common/process-config.type.d.ts +14 -0
- package/dist/features/process-configs/index.d.ts +6 -3
- package/dist/features/process-configs/index.js +13 -8
- package/dist/features/process-configs/lf-process-config-edition-dialog.d.ts +3 -0
- package/dist/features/process-configs/lf-process-config-edition-dialog.js +136 -0
- package/dist/features/process-configs/loadflow/index.d.ts +9 -0
- package/dist/features/process-configs/loadflow/index.js +9 -0
- package/dist/features/process-configs/loadflow/lf-process-config-edition.d.ts +1 -0
- package/dist/features/process-configs/loadflow/lf-process-config-edition.js +91 -0
- package/dist/features/process-configs/loadflow/lf-process-config-edition.utils.d.ts +39 -0
- package/dist/features/process-configs/{security-analysis/update-sa-process-config-dialog.js → loadflow/lf-process-config-edition.utils.js} +53 -81
- package/dist/features/process-configs/loadflow/lf-process-config.type.d.ts +6 -0
- package/dist/features/process-configs/loadflow/lf-process-config.type.js +1 -0
- package/dist/features/process-configs/process-config-edition.utils.d.ts +13 -0
- package/dist/features/process-configs/process-config-edition.utils.js +1 -0
- package/dist/features/process-configs/process-config.type.d.ts +14 -0
- package/dist/features/process-configs/process-config.type.js +1 -0
- package/dist/features/process-configs/process-config.utils.d.ts +2 -0
- package/dist/features/process-configs/{update-process-config-modifications.js → process-config.utils.js} +11 -74
- package/dist/features/process-configs/sa-process-config-edition-dialog.d.ts +3 -0
- package/dist/features/process-configs/sa-process-config-edition-dialog.js +136 -0
- package/dist/features/process-configs/security-analysis/index.d.ts +4 -3
- package/dist/features/process-configs/security-analysis/index.js +7 -8
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.d.ts +1 -0
- package/dist/features/process-configs/security-analysis/{update-sa-process-config.js → sa-process-config-edition.js} +5 -13
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.utils.d.ts +45 -0
- package/dist/features/process-configs/security-analysis/sa-process-config-edition.utils.js +119 -0
- package/dist/features/process-configs/security-analysis/sa-process-config.type.d.ts +7 -0
- package/dist/features/process-configs/security-analysis/sa-process-config.type.js +1 -0
- package/dist/hooks/use-unique-name-validation.js +3 -2
- package/dist/index.js +77 -9
- package/dist/translations/en/descriptionEn.d.ts +0 -6
- package/dist/translations/en/descriptionEn.js +6 -1
- package/dist/translations/en/filterEn.d.ts +0 -2
- package/dist/translations/en/filterEn.js +0 -2
- package/dist/translations/en/generic-validationEn.d.ts +23 -0
- package/dist/translations/en/generic-validationEn.js +25 -0
- package/dist/translations/en/index.d.ts +2 -0
- package/dist/translations/en/index.js +4 -0
- package/dist/translations/en/network-modification-validationEn.d.ts +23 -0
- package/dist/translations/en/network-modification-validationEn.js +31 -0
- package/dist/translations/en/networkModificationsEn.d.ts +6 -33
- package/dist/translations/en/networkModificationsEn.js +0 -38
- package/dist/translations/en/parameters.d.ts +0 -2
- package/dist/translations/en/parameters.js +0 -2
- package/dist/translations/en/processConfigEn.d.ts +3 -0
- package/dist/translations/en/processConfigEn.js +5 -2
- package/dist/translations/en/use-unique-name-validation-en.d.ts +0 -2
- package/dist/translations/en/use-unique-name-validation-en.js +1 -3
- package/dist/translations/fr/descriptionFr.d.ts +0 -6
- package/dist/translations/fr/descriptionFr.js +6 -1
- package/dist/translations/fr/filterFr.d.ts +0 -2
- package/dist/translations/fr/filterFr.js +0 -2
- package/dist/translations/fr/generic-validationFr.d.ts +17 -0
- package/dist/translations/fr/generic-validationFr.js +25 -0
- package/dist/translations/fr/index.d.ts +2 -0
- package/dist/translations/fr/index.js +4 -0
- package/dist/translations/fr/network-modification-validationFr.d.ts +23 -0
- package/dist/translations/fr/network-modification-validationFr.js +31 -0
- package/dist/translations/fr/networkModificationsFr.d.ts +6 -33
- package/dist/translations/fr/networkModificationsFr.js +0 -38
- package/dist/translations/fr/parameters.d.ts +0 -2
- package/dist/translations/fr/parameters.js +0 -2
- package/dist/translations/fr/processConfigFr.d.ts +3 -0
- package/dist/translations/fr/processConfigFr.js +5 -2
- package/dist/translations/fr/use-unique-name-validation-fr.d.ts +0 -2
- package/dist/translations/fr/use-unique-name-validation-fr.js +1 -3
- package/dist/utils/constants/index.js +19 -1
- package/dist/utils/constants/translationKeys.d.ts +18 -0
- package/dist/utils/constants/translationKeys.js +36 -0
- package/dist/utils/index.js +19 -1
- package/package.json +1 -1
- package/dist/features/parameters/common/name-element-editor/index.js +0 -7
- package/dist/features/process-configs/process-configs.type.d.ts +0 -33
- package/dist/features/process-configs/security-analysis/update-sa-process-config-dialog.d.ts +0 -14
- package/dist/features/process-configs/security-analysis/update-sa-process-config.d.ts +0 -7
- package/dist/features/process-configs/security-analysis/update-sa-process-configs-utils.d.ts +0 -68
- package/dist/features/process-configs/security-analysis/update-sa-process-configs-utils.js +0 -88
- package/dist/features/process-configs/update-process-config-modifications.d.ts +0 -3
- /package/dist/{features/parameters/common → components/ui/dialogs}/name-element-editor/name-element-editor-form.d.ts +0 -0
- /package/dist/features/process-configs/{process-configs.type.js → common/process-config.type.js} +0 -0
|
@@ -22,12 +22,14 @@ import { tableEn } from "./tableEn.js";
|
|
|
22
22
|
import { topBarEn } from "./topBarEn.js";
|
|
23
23
|
import { treeviewFinderEn } from "./treeviewFinderEn.js";
|
|
24
24
|
import { networkModificationsEn } from "./networkModificationsEn.js";
|
|
25
|
+
import { networkModificationValidationEn } from "./network-modification-validationEn.js";
|
|
25
26
|
import { exportParamsEn } from "./external/exportParamsEn.js";
|
|
26
27
|
import { importParamsEn } from "./external/importParamsEn.js";
|
|
27
28
|
import { componentsEn } from "./componentsEn.js";
|
|
28
29
|
import { parametersEn } from "./parameters.js";
|
|
29
30
|
import { useUniqueNameValidationEn } from "./use-unique-name-validation-en.js";
|
|
30
31
|
import { processConfigEn } from "./processConfigEn.js";
|
|
32
|
+
import { genericValidationEn } from "./generic-validationEn.js";
|
|
31
33
|
export {
|
|
32
34
|
businessErrorsEn,
|
|
33
35
|
cardErrorBoundaryEn,
|
|
@@ -48,9 +50,11 @@ export {
|
|
|
48
50
|
filterEn,
|
|
49
51
|
filterExpertEn,
|
|
50
52
|
flatParametersEn,
|
|
53
|
+
genericValidationEn,
|
|
51
54
|
importParamsEn,
|
|
52
55
|
loginEn,
|
|
53
56
|
multipleSelectionDialogEn,
|
|
57
|
+
networkModificationValidationEn,
|
|
54
58
|
networkModificationsEn,
|
|
55
59
|
parametersEn,
|
|
56
60
|
processConfigEn,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const networkModificationValidationEn: {
|
|
2
|
+
BusBarCountMustBeGreaterThanOrEqualToOne: string;
|
|
3
|
+
SectionCountMustBeGreaterThanOrEqualToOne: string;
|
|
4
|
+
SectionCountMustBeLessThanOrEqualToTwenty: string;
|
|
5
|
+
CreateCouplingDeviceIdenticalBusBar: string;
|
|
6
|
+
CreateSubstationInVoltageLevelIdenticalId: string;
|
|
7
|
+
voltageLevelNominalVoltageMaxValueError: string;
|
|
8
|
+
ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero: string;
|
|
9
|
+
ShortCircuitCurrentLimitMinMaxError: string;
|
|
10
|
+
ShuntCompensatorErrorQAtNominalVoltageLessThanZero: string;
|
|
11
|
+
MaximumSectionCountMustBeGreaterOrEqualToOne: string;
|
|
12
|
+
SectionCountMustBeBetweenZeroAndMaximumSectionCount: string;
|
|
13
|
+
MinActivePowerMustBeLessOrEqualToMaxActivePower: string;
|
|
14
|
+
ActiveLimitsMinMaxInvalid: string;
|
|
15
|
+
ReactiveLimitsMinMaxInvalid: string;
|
|
16
|
+
WrongRefOrValueError: string;
|
|
17
|
+
ValueMustBeNumericWhenPercentageError: string;
|
|
18
|
+
ValueMustBeRefWhenPercentageError: string;
|
|
19
|
+
TemporaryLimitNameUnicityError: string;
|
|
20
|
+
TemporaryLimitDurationUnicityError: string;
|
|
21
|
+
LimitSetApplicabilityError: string;
|
|
22
|
+
permanentCurrentLimitMustBeGreaterThanZero: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, REACTIVE_LIMITS_MIN_MAX_INVALID, ACTIVE_LIMITS_MIN_MAX_INVALID, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID } from "../../utils/constants/translationKeys.js";
|
|
2
|
+
import "../../utils/conversionUtils.js";
|
|
3
|
+
import "../../utils/types/equipmentType.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "@mui/icons-material";
|
|
6
|
+
const networkModificationValidationEn = {
|
|
7
|
+
BusBarCountMustBeGreaterThanOrEqualToOne: "Number of busbars must be greater than or equal to 1",
|
|
8
|
+
SectionCountMustBeGreaterThanOrEqualToOne: "Number of sections must be greater than or equal to 1",
|
|
9
|
+
SectionCountMustBeLessThanOrEqualToTwenty: "Number of sections must be less than or equal to 20",
|
|
10
|
+
CreateCouplingDeviceIdenticalBusBar: "Bus bar section / bus 1 and 2 must be different",
|
|
11
|
+
[CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID]: "Voltage Level ID can not match Substation ID",
|
|
12
|
+
voltageLevelNominalVoltageMaxValueError: "Low voltage limit must be inferior to high voltage limit",
|
|
13
|
+
[SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO]: "Short-circuit current limit must be greater than or equal to 0",
|
|
14
|
+
ShortCircuitCurrentLimitMinMaxError: "Low short-circuit current limit must be less than or equal to high limit",
|
|
15
|
+
[SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO]: "Q at nominal voltage value should be greater than or equal to 0",
|
|
16
|
+
[MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE]: "Maximum section count must be greater than or equal to 1",
|
|
17
|
+
[SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT]: "Section count must be between 0 and Maximum section count",
|
|
18
|
+
[MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER]: "Minimum active power value must be less than or equal to maximum active power value",
|
|
19
|
+
[ACTIVE_LIMITS_MIN_MAX_INVALID]: "Maximum active power must be greater than minimum active power",
|
|
20
|
+
[REACTIVE_LIMITS_MIN_MAX_INVALID]: "Maximum reactive power must be greater than minimum reactive power",
|
|
21
|
+
[WRONG_REF_OR_VALUE_ERROR]: "Please enter a valid numeric value or a valid field reference. Use # to select a field",
|
|
22
|
+
[VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR]: "When using %, this field must be a valid positive numeric value",
|
|
23
|
+
[VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR]: "When using %, this field must be a valid field reference",
|
|
24
|
+
TemporaryLimitNameUnicityError: "Temporary limit names must be unique in the table",
|
|
25
|
+
TemporaryLimitDurationUnicityError: "Temporary limit acceptable durations must be unique in the table",
|
|
26
|
+
LimitSetApplicabilityError: "2 limit sets with the same name must have different application sides.",
|
|
27
|
+
permanentCurrentLimitMustBeGreaterThanZero: "The permanent current limit value must be greater than 0"
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
networkModificationValidationEn
|
|
31
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
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
|
+
*/
|
|
1
7
|
export declare const networkModificationsEn: {
|
|
2
8
|
'network_modifications.modificationsCount': string;
|
|
3
9
|
'network_modifications.EQUIPMENT_DELETION': string;
|
|
@@ -114,22 +120,6 @@ export declare const networkModificationsEn: {
|
|
|
114
120
|
BREAKER: string;
|
|
115
121
|
DISCONNECTOR: string;
|
|
116
122
|
Disconnector: string;
|
|
117
|
-
BusBarCountMustBeGreaterThanOrEqualToOne: string;
|
|
118
|
-
SectionCountMustBeGreaterThanOrEqualToOne: string;
|
|
119
|
-
SectionCountMustBeLessThanOrEqualToTwenty: string;
|
|
120
|
-
mustBeGreaterOrEqualToZero: string;
|
|
121
|
-
CreateCouplingDeviceIdenticalBusBar: string;
|
|
122
|
-
CreateSubstationInVoltageLevelIdenticalId: string;
|
|
123
|
-
voltageLevelNominalVoltageMaxValueError: string;
|
|
124
|
-
ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero: string;
|
|
125
|
-
ShortCircuitCurrentLimitMinMaxError: string;
|
|
126
|
-
DuplicatedPropsError: string;
|
|
127
|
-
YupRequired: string;
|
|
128
|
-
YupNotNull: string;
|
|
129
|
-
YupDefault: string;
|
|
130
|
-
YupPositive: string;
|
|
131
|
-
YupNotTypeNumber: string;
|
|
132
|
-
YupNotTypeDefault: string;
|
|
133
123
|
CreateLoad: string;
|
|
134
124
|
loadType: string;
|
|
135
125
|
CreateShuntCompensator: string;
|
|
@@ -143,9 +133,6 @@ export declare const networkModificationsEn: {
|
|
|
143
133
|
SusceptanceLabel: string;
|
|
144
134
|
SwitchedOnMaxQAtNominalV: string;
|
|
145
135
|
SwitchedOnMaxSusceptance: string;
|
|
146
|
-
ShuntCompensatorErrorQAtNominalVoltageLessThanZero: string;
|
|
147
|
-
MaximumSectionCountMustBeGreaterOrEqualToOne: string;
|
|
148
|
-
SectionCountMustBeBetweenZeroAndMaximumSectionCount: string;
|
|
149
136
|
VOLTAGE_LEVEL: string;
|
|
150
137
|
BusBarBus: string;
|
|
151
138
|
ConnectionName: string;
|
|
@@ -224,7 +211,6 @@ export declare const networkModificationsEn: {
|
|
|
224
211
|
operationalLimitsGroup2WithProperties: string;
|
|
225
212
|
Value: string;
|
|
226
213
|
EmptyField: string;
|
|
227
|
-
NumericValueOrEmptyField: string;
|
|
228
214
|
ValueOrEmptyField: string;
|
|
229
215
|
addNewAssignment: string;
|
|
230
216
|
changeTypeConfirmation: string;
|
|
@@ -236,21 +222,17 @@ export declare const networkModificationsEn: {
|
|
|
236
222
|
Connectivity: string;
|
|
237
223
|
ActiveLimits: string;
|
|
238
224
|
ReactiveLimits: string;
|
|
239
|
-
NormalizedPercentage: string;
|
|
240
225
|
On: string;
|
|
241
226
|
Off: string;
|
|
242
227
|
FrequencyRegulation: string;
|
|
243
228
|
Droop: string;
|
|
244
229
|
Limits: string;
|
|
245
|
-
MinActivePowerMustBeLessOrEqualToMaxActivePower: string;
|
|
246
230
|
activePowerControlTooltip: string;
|
|
247
231
|
NoModification: string;
|
|
248
232
|
ReactiveLimitsKindMinMax: string;
|
|
249
233
|
ReactiveLimitsKindCurve: string;
|
|
250
234
|
MinimumReactivePower: string;
|
|
251
235
|
MaximumReactivePower: string;
|
|
252
|
-
ActiveLimitsMinMaxInvalid: string;
|
|
253
|
-
ReactiveLimitsMinMaxInvalid: string;
|
|
254
236
|
MinReactivePowerRequired: string;
|
|
255
237
|
MaxReactivePowerRequired: string;
|
|
256
238
|
ReactiveCapabilityCurveCreationErrorMissingPoints: string;
|
|
@@ -298,21 +280,12 @@ export declare const networkModificationsEn: {
|
|
|
298
280
|
disableOLGedition: string;
|
|
299
281
|
Edit: string;
|
|
300
282
|
View: string;
|
|
301
|
-
TemporaryLimitNameUnicityError: string;
|
|
302
|
-
TemporaryLimitDurationUnicityError: string;
|
|
303
|
-
LimitSetApplicabilityError: string;
|
|
304
|
-
permanentCurrentLimitMustBeGreaterThanZero: string;
|
|
305
|
-
UniqueName: string;
|
|
306
|
-
FieldNotEmpty: string;
|
|
307
283
|
TemporaryCurrentLimitsText: string;
|
|
308
284
|
SelectedOperationalLimitGroup: string;
|
|
309
285
|
ReferenceFieldOrValue: string;
|
|
310
286
|
Operator: string;
|
|
311
287
|
UseDashToSelectField: string;
|
|
312
288
|
filter: string;
|
|
313
|
-
ValueMustBeNumericWhenPercentageError: string;
|
|
314
|
-
ValueMustBeRefWhenPercentageError: string;
|
|
315
|
-
WrongRefOrValueError: string;
|
|
316
289
|
G: string;
|
|
317
290
|
B: string;
|
|
318
291
|
SubstationTab: string;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_DEFAULT, YUP_NOT_NULL, YUP_REQUIRED, DUPLICATED_PROPS_ERROR } from "../../utils/constants/translationKeys.js";
|
|
2
|
-
import "../../utils/conversionUtils.js";
|
|
3
|
-
import "../../utils/types/equipmentType.js";
|
|
4
|
-
import "react/jsx-runtime";
|
|
5
|
-
import "@mui/icons-material";
|
|
6
1
|
const networkModificationsEn = {
|
|
7
2
|
"network_modifications.modificationsCount": "{hide, select, false {{count, plural, =0 {no modification} =1 {{count} modification} other {{count} modifications}}} other {...}}",
|
|
8
3
|
"network_modifications.EQUIPMENT_DELETION": "Deletion of {computedLabel}",
|
|
@@ -119,22 +114,6 @@ const networkModificationsEn = {
|
|
|
119
114
|
BREAKER: "Breaker",
|
|
120
115
|
DISCONNECTOR: "Disconnector",
|
|
121
116
|
Disconnector: "Disconnector",
|
|
122
|
-
BusBarCountMustBeGreaterThanOrEqualToOne: "Number of busbars must be greater than or equal to 1",
|
|
123
|
-
SectionCountMustBeGreaterThanOrEqualToOne: "Number of sections must be greater than or equal to 1",
|
|
124
|
-
SectionCountMustBeLessThanOrEqualToTwenty: "Number of sections must be less than or equal to 20",
|
|
125
|
-
mustBeGreaterOrEqualToZero: "Must be greater than or equal to 0",
|
|
126
|
-
CreateCouplingDeviceIdenticalBusBar: "Bus bar section / bus 1 and 2 must be different",
|
|
127
|
-
CreateSubstationInVoltageLevelIdenticalId: "Voltage Level ID can not match Substation ID",
|
|
128
|
-
voltageLevelNominalVoltageMaxValueError: "Low voltage limit must be inferior to high voltage limit",
|
|
129
|
-
ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero: "Short-circuit current limit must be greater than or equal to 0",
|
|
130
|
-
ShortCircuitCurrentLimitMinMaxError: "Low short-circuit current limit must be less than or equal to high limit",
|
|
131
|
-
[DUPLICATED_PROPS_ERROR]: "Duplicated properties: each property must be unique",
|
|
132
|
-
[YUP_REQUIRED]: "Required",
|
|
133
|
-
[YUP_NOT_NULL]: "Cannot be empty",
|
|
134
|
-
[YUP_DEFAULT]: "This field is invalid",
|
|
135
|
-
[YUP_POSITIVE]: "Must be a positive number",
|
|
136
|
-
[YUP_NOT_TYPE_NUMBER]: "This field only accepts numeric values",
|
|
137
|
-
[YUP_NOT_TYPE_DEFAULT]: "Field value format is incorrect",
|
|
138
117
|
CreateLoad: "Create load",
|
|
139
118
|
loadType: "Type",
|
|
140
119
|
CreateShuntCompensator: "Create shunt compensator (Linear)",
|
|
@@ -148,9 +127,6 @@ const networkModificationsEn = {
|
|
|
148
127
|
SusceptanceLabel: "Susceptance (S)",
|
|
149
128
|
SwitchedOnMaxQAtNominalV: "Switch-on Q at nominal voltage",
|
|
150
129
|
SwitchedOnMaxSusceptance: "Switch-on susceptance",
|
|
151
|
-
ShuntCompensatorErrorQAtNominalVoltageLessThanZero: "Q at nominal voltage value should be greater than or equal to 0",
|
|
152
|
-
MaximumSectionCountMustBeGreaterOrEqualToOne: "Maximum section count must be greater than or equal to 1",
|
|
153
|
-
SectionCountMustBeBetweenZeroAndMaximumSectionCount: "Section count must be between 0 and Maximum section count",
|
|
154
130
|
VOLTAGE_LEVEL: "Voltage Level",
|
|
155
131
|
BusBarBus: "Bus bar section / bus",
|
|
156
132
|
ConnectionName: "Connection name",
|
|
@@ -229,7 +205,6 @@ const networkModificationsEn = {
|
|
|
229
205
|
operationalLimitsGroup2WithProperties: "Active limit set on side 2 with property",
|
|
230
206
|
Value: "Value",
|
|
231
207
|
EmptyField: "Empty the field",
|
|
232
|
-
NumericValueOrEmptyField: "Numeric value or Empty the field",
|
|
233
208
|
ValueOrEmptyField: "Value or Empty the field",
|
|
234
209
|
addNewAssignment: "Modify another field",
|
|
235
210
|
changeTypeConfirmation: "The type will be changed. All fields values will be erased.",
|
|
@@ -241,21 +216,17 @@ const networkModificationsEn = {
|
|
|
241
216
|
Connectivity: "Connectivity",
|
|
242
217
|
ActiveLimits: "Active limits",
|
|
243
218
|
ReactiveLimits: "Reactive limits",
|
|
244
|
-
NormalizedPercentage: "This percentage must be between 0 and 100",
|
|
245
219
|
On: "On",
|
|
246
220
|
Off: "Off",
|
|
247
221
|
FrequencyRegulation: "Active power regulation",
|
|
248
222
|
Droop: "Droop",
|
|
249
223
|
Limits: "Limits",
|
|
250
|
-
MinActivePowerMustBeLessOrEqualToMaxActivePower: "Minimum active power value must be less than or equal to maximum active power value",
|
|
251
224
|
activePowerControlTooltip: "Slack bus active power repartition key: maxP/droop, default droop = 4 (used if balanceType is PROPORTIONAL_TO_GENERATION_P_MAX)",
|
|
252
225
|
NoModification: "No modification",
|
|
253
226
|
ReactiveLimitsKindMinMax: "By range",
|
|
254
227
|
ReactiveLimitsKindCurve: "By diagram",
|
|
255
228
|
MinimumReactivePower: "Minimum reactive power",
|
|
256
229
|
MaximumReactivePower: "Maximum reactive power",
|
|
257
|
-
ActiveLimitsMinMaxInvalid: "Maximum active power must be greater than minimum active power",
|
|
258
|
-
ReactiveLimitsMinMaxInvalid: "Maximum reactive power must be greater than minimum reactive power",
|
|
259
230
|
MinReactivePowerRequired: "Minimum reactive power is required if maximum is defined",
|
|
260
231
|
MaxReactivePowerRequired: "Maximum reactive power is required if minimum is defined",
|
|
261
232
|
ReactiveCapabilityCurveCreationErrorMissingPoints: "The table of reactive capability curve must have at least four points.",
|
|
@@ -303,21 +274,12 @@ const networkModificationsEn = {
|
|
|
303
274
|
disableOLGedition: "Entered limit sets data will be lost. Do you wish to continue?",
|
|
304
275
|
Edit: "Edit",
|
|
305
276
|
View: "View",
|
|
306
|
-
TemporaryLimitNameUnicityError: "Temporary limit names must be unique in the table",
|
|
307
|
-
TemporaryLimitDurationUnicityError: "Temporary limit acceptable durations must be unique in the table",
|
|
308
|
-
LimitSetApplicabilityError: "2 limit sets with the same name must have different application sides.",
|
|
309
|
-
permanentCurrentLimitMustBeGreaterThanZero: "The permanent current limit value must be greater than 0",
|
|
310
|
-
UniqueName: "Name should be unique",
|
|
311
|
-
FieldNotEmpty: "Field should not be empty",
|
|
312
277
|
TemporaryCurrentLimitsText: "Temporary current limits",
|
|
313
278
|
SelectedOperationalLimitGroup: "Active limit set",
|
|
314
279
|
ReferenceFieldOrValue: "Reference field or value",
|
|
315
280
|
Operator: "Operator",
|
|
316
281
|
UseDashToSelectField: "Use # to select a field",
|
|
317
282
|
filter: "Filter",
|
|
318
|
-
ValueMustBeNumericWhenPercentageError: "When using %, this field must be a valid positive numeric value",
|
|
319
|
-
ValueMustBeRefWhenPercentageError: "When using %, this field must be a valid field reference",
|
|
320
|
-
WrongRefOrValueError: "Please enter a valid numeric value or a valid field reference. Use # to select a field",
|
|
321
283
|
G: "Magnetizing conductance",
|
|
322
284
|
B: "Magnetizing susceptance",
|
|
323
285
|
// Tabs
|
|
@@ -24,7 +24,6 @@ export declare const parametersEn: {
|
|
|
24
24
|
showSelectParameterDialog: string;
|
|
25
25
|
createParameterLabel: string;
|
|
26
26
|
updateParameterLabel: string;
|
|
27
|
-
nameAlreadyUsed: string;
|
|
28
27
|
tagAlreadyUsed: string;
|
|
29
28
|
studyDirectoryFetchingError: string;
|
|
30
29
|
AddDescription: string;
|
|
@@ -51,7 +50,6 @@ export declare const parametersEn: {
|
|
|
51
50
|
descLfCountriesToBalance: string;
|
|
52
51
|
inputLabelLfCountriesToBalance: string;
|
|
53
52
|
editParameters: string;
|
|
54
|
-
RealPercentage: string;
|
|
55
53
|
General: string;
|
|
56
54
|
LimitReductions: string;
|
|
57
55
|
StudyArea: string;
|
|
@@ -18,7 +18,6 @@ const parametersEn = {
|
|
|
18
18
|
showSelectParameterDialog: "Choose parameters",
|
|
19
19
|
createParameterLabel: "Create new parameters",
|
|
20
20
|
updateParameterLabel: "Replace existing parameters",
|
|
21
|
-
nameAlreadyUsed: "This name is already used",
|
|
22
21
|
tagAlreadyUsed: "This tag is already used",
|
|
23
22
|
studyDirectoryFetchingError: "An error occurred while fetching study directory",
|
|
24
23
|
AddDescription: "Add a description (optional)",
|
|
@@ -45,7 +44,6 @@ const parametersEn = {
|
|
|
45
44
|
descLfCountriesToBalance: "Balancing countries",
|
|
46
45
|
inputLabelLfCountriesToBalance: "Countries participating in balancing",
|
|
47
46
|
editParameters: "Edit parameters",
|
|
48
|
-
RealPercentage: "This value must be between 0 and 1",
|
|
49
47
|
General: "General",
|
|
50
48
|
LimitReductions: "Limit reductions",
|
|
51
49
|
StudyArea: "Study area",
|
|
@@ -5,9 +5,12 @@
|
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
7
|
export declare const processConfigEn: {
|
|
8
|
+
'process_config/editLFProcessConfigTitle': string;
|
|
8
9
|
'process_config/editSAProcessConfigTitle': string;
|
|
9
10
|
'process_config/modifications': string;
|
|
10
11
|
'process_config/providersParameters': string;
|
|
11
12
|
'process_config/loadflow': string;
|
|
12
13
|
'process_config/securityAnalysis': string;
|
|
14
|
+
'processConfig/fetchProcessConfigError': string;
|
|
15
|
+
'processConfig/updateProcessConfigError': string;
|
|
13
16
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
const processConfigEn = {
|
|
2
|
-
"process_config/
|
|
2
|
+
"process_config/editLFProcessConfigTitle": "Edit a loadflow process configuration",
|
|
3
|
+
"process_config/editSAProcessConfigTitle": "Edit a security analysis with contingency process configuration",
|
|
3
4
|
"process_config/modifications": "Modifications",
|
|
4
5
|
"process_config/providersParameters": "Providers parameters",
|
|
5
6
|
"process_config/loadflow": "Loadflow",
|
|
6
|
-
"process_config/securityAnalysis": "Security analysis"
|
|
7
|
+
"process_config/securityAnalysis": "Security analysis",
|
|
8
|
+
"processConfig/fetchProcessConfigError": "An error occured when fetching the process configuration",
|
|
9
|
+
"processConfig/updateProcessConfigError": "An error occurred while updating the process configuration"
|
|
7
10
|
};
|
|
8
11
|
export {
|
|
9
12
|
processConfigEn
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
6
6
|
*/
|
|
7
7
|
export declare const useUniqueNameValidationEn: {
|
|
8
|
-
'use-unique-name-validation/nameAlreadyUsed': string;
|
|
9
8
|
'use-unique-name-validation/nameValidityCheckErrorMsg': string;
|
|
10
9
|
'use-unique-name-validation/cantSubmitWhileValidating': string;
|
|
11
|
-
'use-unique-name-validation/nameEmpty': string;
|
|
12
10
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const useUniqueNameValidationEn = {
|
|
2
|
-
"use-unique-name-validation/nameAlreadyUsed": "This name is already used",
|
|
3
2
|
"use-unique-name-validation/nameValidityCheckErrorMsg": "Error while checking name validity",
|
|
4
|
-
"use-unique-name-validation/cantSubmitWhileValidating": "Impossible to submit the form while validating a field"
|
|
5
|
-
"use-unique-name-validation/nameEmpty": "The name is empty"
|
|
3
|
+
"use-unique-name-validation/cantSubmitWhileValidating": "Impossible to submit the form while validating a field"
|
|
6
4
|
};
|
|
7
5
|
export {
|
|
8
6
|
useUniqueNameValidationEn
|
|
@@ -1,9 +1,3 @@
|
|
|
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
1
|
export declare const descriptionFr: {
|
|
8
2
|
description: string;
|
|
9
3
|
descriptionProperty: string;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import { DESCRIPTION_LIMIT_ERROR } from "../../utils/constants/translationKeys.js";
|
|
2
|
+
import "../../utils/conversionUtils.js";
|
|
3
|
+
import "../../utils/types/equipmentType.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "@mui/icons-material";
|
|
1
6
|
const descriptionFr = {
|
|
2
7
|
description: "Description",
|
|
3
8
|
descriptionProperty: "Description",
|
|
4
9
|
descriptionModificationError: "Erreur lors de la modification de la description",
|
|
5
|
-
|
|
10
|
+
[DESCRIPTION_LIMIT_ERROR]: "La description dépasse la limite de caractères",
|
|
6
11
|
AddDescription: "Ajouter une description"
|
|
7
12
|
};
|
|
8
13
|
export {
|
|
@@ -28,7 +28,6 @@ export declare const filterFr: {
|
|
|
28
28
|
Hvdc: string;
|
|
29
29
|
'filter.expert': string;
|
|
30
30
|
'filter.explicitNaming': string;
|
|
31
|
-
nameEmpty: string;
|
|
32
31
|
equipmentType: string;
|
|
33
32
|
changeTypeMessage: string;
|
|
34
33
|
PropertyValues: string;
|
|
@@ -52,7 +51,6 @@ export declare const filterFr: {
|
|
|
52
51
|
Countries2: string;
|
|
53
52
|
nominalVoltage: string;
|
|
54
53
|
EnergySourceText: string;
|
|
55
|
-
nameAlreadyUsed: string;
|
|
56
54
|
nameValidityCheckErrorMsg: string;
|
|
57
55
|
cantSubmitWhileValidating: string;
|
|
58
56
|
elementNotFound: string;
|
|
@@ -22,7 +22,6 @@ const filterFr = {
|
|
|
22
22
|
Hvdc: "HVDC",
|
|
23
23
|
"filter.expert": "Par critères",
|
|
24
24
|
"filter.explicitNaming": "Par nommage",
|
|
25
|
-
nameEmpty: "Le nom est vide",
|
|
26
25
|
equipmentType: "Type d'ouvrage",
|
|
27
26
|
changeTypeMessage: "Le type d'ouvrage sera modifié et la configuration actuelle sera perdue.",
|
|
28
27
|
PropertyValues: "Valeurs de la propriété",
|
|
@@ -46,7 +45,6 @@ const filterFr = {
|
|
|
46
45
|
Countries2: "Pays 2",
|
|
47
46
|
nominalVoltage: "Tension nominale",
|
|
48
47
|
EnergySourceText: "Source d'énergie",
|
|
49
|
-
nameAlreadyUsed: "Ce nom est déjà utilisé",
|
|
50
48
|
nameValidityCheckErrorMsg: "Erreur lors de la vérification de la validité du nom",
|
|
51
49
|
cantSubmitWhileValidating: "Impossible de soumettre le formulaire durant la validation d'un champ",
|
|
52
50
|
elementNotFound: "Élément inexistant"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const genericValidationFr: {
|
|
2
|
+
YupRequired: string;
|
|
3
|
+
YupNotNull: string;
|
|
4
|
+
YupDefault: string;
|
|
5
|
+
YupPositive: string;
|
|
6
|
+
YupNotTypeNumber: string;
|
|
7
|
+
YupNotTypeDefault: string;
|
|
8
|
+
DuplicatedPropsError: string;
|
|
9
|
+
mustBeGreaterOrEqualToZero: string;
|
|
10
|
+
NormalizedPercentage: string;
|
|
11
|
+
RealPercentage: string;
|
|
12
|
+
nameEmpty: string;
|
|
13
|
+
nameAlreadyUsed: string;
|
|
14
|
+
NumericValueOrEmptyField: string;
|
|
15
|
+
UniqueName: string;
|
|
16
|
+
FieldNotEmpty: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { NUMERIC_VALUE_OR_EMPTY_FIELD, NAME_ALREADY_USED, NAME_EMPTY, REAL_PERCENTAGE, NORMALIZED_PERCENTAGE, MUST_BE_GREATER_OR_EQUAL_TO_ZERO, DUPLICATED_PROPS_ERROR, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_DEFAULT, YUP_NOT_NULL, YUP_REQUIRED } from "../../utils/constants/translationKeys.js";
|
|
2
|
+
import "../../utils/conversionUtils.js";
|
|
3
|
+
import "../../utils/types/equipmentType.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "@mui/icons-material";
|
|
6
|
+
const genericValidationFr = {
|
|
7
|
+
[YUP_REQUIRED]: "Obligatoire",
|
|
8
|
+
[YUP_NOT_NULL]: "Ne peut pas être vide",
|
|
9
|
+
[YUP_DEFAULT]: "Ce champ est invalide",
|
|
10
|
+
[YUP_POSITIVE]: "Doit être un nombre positif",
|
|
11
|
+
[YUP_NOT_TYPE_NUMBER]: "Ce champ n'accepte que des valeurs numériques",
|
|
12
|
+
[YUP_NOT_TYPE_DEFAULT]: "La valeur du champ n'est pas au bon format",
|
|
13
|
+
[DUPLICATED_PROPS_ERROR]: "Propriétés dupliquées : chaque propriété doit être unique",
|
|
14
|
+
[MUST_BE_GREATER_OR_EQUAL_TO_ZERO]: "Cette valeur doit être supérieure ou égale à 0",
|
|
15
|
+
[NORMALIZED_PERCENTAGE]: "Ce pourcentage doit être compris entre 0 et 100",
|
|
16
|
+
[REAL_PERCENTAGE]: "Cette valeur doit être comprise entre 0 et 1",
|
|
17
|
+
[NAME_EMPTY]: "Le nom est vide",
|
|
18
|
+
[NAME_ALREADY_USED]: "Ce nom est déjà utilisé",
|
|
19
|
+
[NUMERIC_VALUE_OR_EMPTY_FIELD]: "Valeur numérique ou Vider le champ",
|
|
20
|
+
UniqueName: "Le nom doit être unique",
|
|
21
|
+
FieldNotEmpty: "le champs ne doit pas être vide"
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
genericValidationFr
|
|
25
|
+
};
|
|
@@ -28,9 +28,11 @@ export * from './tableFr';
|
|
|
28
28
|
export * from './topBarFr';
|
|
29
29
|
export * from './treeviewFinderFr';
|
|
30
30
|
export * from './networkModificationsFr';
|
|
31
|
+
export * from './network-modification-validationFr';
|
|
31
32
|
export * from './external/exportParamsFr';
|
|
32
33
|
export * from './external/importParamsFr';
|
|
33
34
|
export * from './componentsFr';
|
|
34
35
|
export * from './parameters';
|
|
35
36
|
export * from './use-unique-name-validation-fr';
|
|
36
37
|
export * from './processConfigFr';
|
|
38
|
+
export * from './generic-validationFr';
|
|
@@ -22,12 +22,14 @@ import { tableFr } from "./tableFr.js";
|
|
|
22
22
|
import { topBarFr } from "./topBarFr.js";
|
|
23
23
|
import { treeviewFinderFr } from "./treeviewFinderFr.js";
|
|
24
24
|
import { networkModificationsFr } from "./networkModificationsFr.js";
|
|
25
|
+
import { networkModificationValidationFr } from "./network-modification-validationFr.js";
|
|
25
26
|
import { exportParamsFr } from "./external/exportParamsFr.js";
|
|
26
27
|
import { importParamsFr } from "./external/importParamsFr.js";
|
|
27
28
|
import { componentsFr } from "./componentsFr.js";
|
|
28
29
|
import { parametersFr } from "./parameters.js";
|
|
29
30
|
import { useUniqueNameValidationFr } from "./use-unique-name-validation-fr.js";
|
|
30
31
|
import { processConfigFr } from "./processConfigFr.js";
|
|
32
|
+
import { genericValidationFr } from "./generic-validationFr.js";
|
|
31
33
|
export {
|
|
32
34
|
businessErrorsFr,
|
|
33
35
|
cardErrorBoundaryFr,
|
|
@@ -48,9 +50,11 @@ export {
|
|
|
48
50
|
filterExpertFr,
|
|
49
51
|
filterFr,
|
|
50
52
|
flatParametersFr,
|
|
53
|
+
genericValidationFr,
|
|
51
54
|
importParamsFr,
|
|
52
55
|
loginFr,
|
|
53
56
|
multipleSelectionDialogFr,
|
|
57
|
+
networkModificationValidationFr,
|
|
54
58
|
networkModificationsFr,
|
|
55
59
|
parametersFr,
|
|
56
60
|
processConfigFr,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const networkModificationValidationFr: {
|
|
2
|
+
BusBarCountMustBeGreaterThanOrEqualToOne: string;
|
|
3
|
+
SectionCountMustBeGreaterThanOrEqualToOne: string;
|
|
4
|
+
SectionCountMustBeLessThanOrEqualToTwenty: string;
|
|
5
|
+
CreateCouplingDeviceIdenticalBusBar: string;
|
|
6
|
+
CreateSubstationInVoltageLevelIdenticalId: string;
|
|
7
|
+
voltageLevelNominalVoltageMaxValueError: string;
|
|
8
|
+
ShortCircuitCurrentLimitMustBeGreaterOrEqualToZero: string;
|
|
9
|
+
ShortCircuitCurrentLimitMinMaxError: string;
|
|
10
|
+
ShuntCompensatorErrorQAtNominalVoltageLessThanZero: string;
|
|
11
|
+
MaximumSectionCountMustBeGreaterOrEqualToOne: string;
|
|
12
|
+
SectionCountMustBeBetweenZeroAndMaximumSectionCount: string;
|
|
13
|
+
MinActivePowerMustBeLessOrEqualToMaxActivePower: string;
|
|
14
|
+
ActiveLimitsMinMaxInvalid: string;
|
|
15
|
+
ReactiveLimitsMinMaxInvalid: string;
|
|
16
|
+
WrongRefOrValueError: string;
|
|
17
|
+
ValueMustBeNumericWhenPercentageError: string;
|
|
18
|
+
ValueMustBeRefWhenPercentageError: string;
|
|
19
|
+
TemporaryLimitNameUnicityError: string;
|
|
20
|
+
TemporaryLimitDurationUnicityError: string;
|
|
21
|
+
LimitSetApplicabilityError: string;
|
|
22
|
+
permanentCurrentLimitMustBeGreaterThanZero: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, REACTIVE_LIMITS_MIN_MAX_INVALID, ACTIVE_LIMITS_MIN_MAX_INVALID, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID } from "../../utils/constants/translationKeys.js";
|
|
2
|
+
import "../../utils/conversionUtils.js";
|
|
3
|
+
import "../../utils/types/equipmentType.js";
|
|
4
|
+
import "react/jsx-runtime";
|
|
5
|
+
import "@mui/icons-material";
|
|
6
|
+
const networkModificationValidationFr = {
|
|
7
|
+
BusBarCountMustBeGreaterThanOrEqualToOne: "Un nombre de barres doit être supérieur ou égal à 1",
|
|
8
|
+
SectionCountMustBeGreaterThanOrEqualToOne: "Un nombre de sections doit être supérieur ou égal à 1",
|
|
9
|
+
SectionCountMustBeLessThanOrEqualToTwenty: "Un nombre de sections doit être inférieur ou égal à 20",
|
|
10
|
+
CreateCouplingDeviceIdenticalBusBar: "Les SJB / Nœuds 1 et 2 doivent être différents",
|
|
11
|
+
[CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID]: "L'ID du poste doit être différent de celui du site",
|
|
12
|
+
voltageLevelNominalVoltageMaxValueError: "La limite de tension basse doit être inférieure à celle de tension haute",
|
|
13
|
+
[SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO]: "Une limite d'ICC doit être supérieure ou égale à 0",
|
|
14
|
+
ShortCircuitCurrentLimitMinMaxError: "La limite ICC min doit être inférieure ou égale à la limite ICC max",
|
|
15
|
+
[SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO]: "La valeur de Q à Unom doit être supérieure ou égale à 0",
|
|
16
|
+
[MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE]: "Le nombre de gradins doit être supérieur ou égal à 1",
|
|
17
|
+
[SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT]: "La valeur de la prise courante doit être comprise entre 0 et le nombre de gradins",
|
|
18
|
+
[MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER]: "La valeur de la puissance active min doit être inférieure ou égale à la valeur de la puissance active max",
|
|
19
|
+
[ACTIVE_LIMITS_MIN_MAX_INVALID]: "La puissance active maximale doit être supérieure à la puissance active minimale",
|
|
20
|
+
[REACTIVE_LIMITS_MIN_MAX_INVALID]: "La puissance réactive maximale doit être supérieure à la puissance réactive minimale",
|
|
21
|
+
[WRONG_REF_OR_VALUE_ERROR]: "Veuillez saisir une valeur numérique valide ou une référence de champ valide. Utiliser # pour sélectionner un champ",
|
|
22
|
+
[VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR]: "Lors de l'utilisation de %, ce champ doit être une valeur numérique positive valide",
|
|
23
|
+
[VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR]: "Lors de l'utilisation de %, ce champ doit être une référence de champ valide",
|
|
24
|
+
TemporaryLimitNameUnicityError: "Les noms des limites temporaires doivent être uniques dans la table",
|
|
25
|
+
TemporaryLimitDurationUnicityError: "Les tempos des limites temporaires doivent être uniques dans la table",
|
|
26
|
+
LimitSetApplicabilityError: "2 jeux de limites de même nom doivent s'appliquer sur des côtés différents.",
|
|
27
|
+
permanentCurrentLimitMustBeGreaterThanZero: "La valeur IST doit être supérieure à 0"
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
networkModificationValidationFr
|
|
31
|
+
};
|