@gridsuite/commons-ui 0.270.0 → 0.272.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/customAGGrid/custom-aggrid-types.d.ts +7 -0
- package/dist/components/composite/dnd-table/deletable-table-row.d.ts +2 -1
- package/dist/components/composite/dnd-table/deletable-table-row.js +3 -1
- package/dist/components/composite/dnd-table/dnd-table-row.d.ts +2 -1
- package/dist/components/composite/dnd-table/dnd-table-row.js +29 -4
- package/dist/components/composite/dnd-table/dnd-table.d.ts +1 -0
- package/dist/components/composite/dnd-table/dnd-table.js +13 -3
- package/dist/components/composite/dnd-table/dnd-table.type.d.ts +1 -0
- package/dist/components/composite/report/report-viewer/context/report-viewer-context.d.ts +4 -4
- package/dist/components/composite/report/report-viewer/log-table/log-table.js +8 -7
- package/dist/components/composite/report/report.type.d.ts +0 -4
- package/dist/components/ui/addButton/AddButton.js +9 -1
- package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +10 -3
- package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.js +33 -28
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/DirectoryItemsInput.js +3 -1
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/autocompleteInputs/AutocompleteInput.js +2 -0
- package/dist/components/ui/reactHookForm/booleans/BooleanInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/booleans/BooleanInput.js +3 -1
- package/dist/components/ui/reactHookForm/booleans/SwitchInput.d.ts +2 -1
- package/dist/components/ui/reactHookForm/booleans/SwitchInput.js +12 -2
- package/dist/components/ui/reactHookForm/chip-items-input.d.ts +2 -1
- package/dist/components/ui/reactHookForm/chip-items-input.js +2 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.d.ts +2 -1
- package/dist/components/ui/reactHookForm/expandableInput/DeletableRow.js +3 -1
- package/dist/components/ui/reactHookForm/expandableInput/ExpandableInput.d.ts +2 -0
- package/dist/components/ui/reactHookForm/expandableInput/ExpandableInput.js +13 -2
- package/dist/components/ui/reactHookForm/tableInputs/table-text-input.d.ts +2 -1
- package/dist/components/ui/reactHookForm/tableInputs/table-text-input.js +2 -1
- package/dist/features/common/index.d.ts +1 -0
- package/dist/features/common/types.d.ts +32 -0
- package/dist/features/index.d.ts +2 -0
- package/dist/features/index.js +110 -4
- package/dist/features/network-modifications/common/branch/branchCreation.types.d.ts +26 -0
- package/dist/features/network-modifications/common/branch/branchCreation.types.js +1 -0
- package/dist/features/network-modifications/common/branch/branchModification.types.d.ts +36 -0
- package/dist/features/network-modifications/common/branch/branchModification.types.js +1 -0
- package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.d.ts → common/branch/index.d.ts} +2 -8
- package/dist/features/network-modifications/common/branch/index.js +1 -0
- package/dist/features/network-modifications/common/connectivity/VoltageLevelConnectivityForm.js +4 -2
- package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.d.ts +2 -0
- package/dist/features/network-modifications/common/currentLimits/limits.types.d.ts +1 -0
- package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +2 -2
- package/dist/features/network-modifications/common/index.d.ts +1 -0
- package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
- package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.d.ts +2 -2
- package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.js +2 -2
- package/dist/features/network-modifications/index.d.ts +1 -0
- package/dist/features/network-modifications/index.js +87 -2
- package/dist/features/network-modifications/line/characteristics/index.d.ts +0 -1
- package/dist/features/network-modifications/line/characteristics/index.js +1 -2
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.d.ts +4 -19
- package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +0 -14
- package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +6 -26
- package/dist/features/network-modifications/line/index.js +1 -2
- package/dist/features/network-modifications/line/modification/lineModification.types.d.ts +3 -35
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.d.ts +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js +168 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.d.ts +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.js +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.d.ts +41 -0
- package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.js +51 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js +123 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.js +89 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.d.ts +14 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js +118 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js +47 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/index.js +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.d.ts +87 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.js +50 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/index.d.ts +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/index.js +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.d.ts +47 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.js +8 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.d.ts +248 -0
- package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js +325 -0
- package/dist/features/network-modifications/twoWindingsTransformer/index.d.ts +11 -0
- package/dist/features/network-modifications/twoWindingsTransformer/index.js +88 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/index.js +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js +104 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.js +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.js +18 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.d.ts +39 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.d.ts +265 -0
- package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js +100 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.d.ts +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js +130 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.d.ts +20 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js +311 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.js +53 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js +198 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js +201 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.js +15 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.d.ts +114 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js +242 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js +283 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js +181 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.js +18 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.d.ts +132 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.js +211 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.d.ts +2 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js +102 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.d.ts +7 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.js +22 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.d.ts +6 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js +86 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.d.ts +10 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js +140 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.js +13 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.d.ts +12 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.js +1 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.d.ts +9 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.js +19 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.d.ts +14 -0
- package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.js +79 -0
- package/dist/features/results/common/index.d.ts +7 -0
- package/dist/features/results/common/index.js +5 -0
- package/dist/features/results/common/utils.d.ts +5 -0
- package/dist/features/results/common/utils.js +18 -0
- package/dist/features/results/securityanalysis/index.js +1 -2
- package/dist/features/results/securityanalysis/security-analysis-result-nmk.js +3 -2
- package/dist/features/results/securityanalysis/utils.d.ts +0 -1
- package/dist/features/results/securityanalysis/utils.js +0 -2
- package/dist/features/results/shortcircuit/index.d.ts +11 -0
- package/dist/features/results/shortcircuit/index.js +21 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-all-buses-result.d.ts +4 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-all-buses-result.js +25 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-content.d.ts +13 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-content.js +62 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-table.d.ts +41 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result-table.js +451 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.d.ts +53 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.js +252 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.type.d.ts +41 -0
- package/dist/features/results/shortcircuit/shortcircuit-analysis-result.type.js +8 -0
- package/dist/index.js +121 -8
- package/dist/translations/en/filterExpertEn.d.ts +0 -3
- package/dist/translations/en/filterExpertEn.js +0 -3
- package/dist/translations/en/network-modification-validationEn.d.ts +1 -0
- package/dist/translations/en/network-modification-validationEn.js +2 -1
- package/dist/translations/en/networkModificationsEn.d.ts +70 -9
- package/dist/translations/en/networkModificationsEn.js +71 -10
- package/dist/translations/fr/filterExpertFr.d.ts +0 -3
- package/dist/translations/fr/filterExpertFr.js +0 -3
- package/dist/translations/fr/network-modification-validationFr.d.ts +1 -0
- package/dist/translations/fr/network-modification-validationFr.js +2 -1
- package/dist/translations/fr/networkModificationsFr.d.ts +70 -9
- package/dist/translations/fr/networkModificationsFr.js +71 -10
- package/dist/utils/constants/fieldConstants.d.ts +37 -0
- package/dist/utils/constants/fieldConstants.js +37 -0
- package/dist/utils/constants/index.js +2 -1
- package/dist/utils/constants/translationKeys.d.ts +1 -0
- package/dist/utils/constants/translationKeys.js +2 -0
- package/dist/utils/functions.d.ts +9 -0
- package/dist/utils/functions.js +40 -0
- package/dist/utils/index.js +11 -4
- package/dist/utils/langs.d.ts +1 -0
- package/dist/utils/langs.js +9 -1
- package/dist/utils/types/equipmentType.d.ts +34 -0
- package/dist/utils/types/equipmentType.js +28 -0
- package/dist/utils/types/index.d.ts +1 -1
- package/dist/utils/types/index.js +4 -1
- package/package.json +1 -1
- /package/dist/features/{network-modifications/line/characteristics/lineCharacteristicsPane.types.js → common/types.js} +0 -0
|
@@ -75,9 +75,6 @@ export declare const filterExpertFr: {
|
|
|
75
75
|
hasPhaseTapChanger3: string;
|
|
76
76
|
Voltage: string;
|
|
77
77
|
ReactivePower: string;
|
|
78
|
-
VoltageRegulation: string;
|
|
79
|
-
FixedRatio: string;
|
|
80
|
-
CurrentLimiter: string;
|
|
81
78
|
ActivePowerControl: string;
|
|
82
79
|
ratioRegulationMode: string;
|
|
83
80
|
ratioRegulationMode1: string;
|
|
@@ -69,9 +69,6 @@ const filterExpertFr = {
|
|
|
69
69
|
hasPhaseTapChanger3: "Déphaseur 3 existe",
|
|
70
70
|
Voltage: "Tension",
|
|
71
71
|
ReactivePower: "Puissance réactive",
|
|
72
|
-
VoltageRegulation: "Réglage tension",
|
|
73
|
-
FixedRatio: "Rapport fixe",
|
|
74
|
-
CurrentLimiter: "Limitation de courant",
|
|
75
72
|
ActivePowerControl: "Suivi de transit",
|
|
76
73
|
ratioRegulationMode: "Mode de réglage du régleur",
|
|
77
74
|
ratioRegulationMode1: "Mode de réglage du régleur 1",
|
|
@@ -16,6 +16,7 @@ export declare const networkModificationValidationFr: {
|
|
|
16
16
|
WrongRefOrValueError: string;
|
|
17
17
|
ValueMustBeNumericWhenPercentageError: string;
|
|
18
18
|
ValueMustBeRefWhenPercentageError: string;
|
|
19
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: string;
|
|
19
20
|
TemporaryLimitNameUnicityError: string;
|
|
20
21
|
TemporaryLimitDurationUnicityError: string;
|
|
21
22
|
LimitSetApplicabilityError: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
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";
|
|
1
|
+
import { TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, 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
2
|
import "../../utils/conversionUtils.js";
|
|
3
3
|
import "../../utils/types/equipmentType.js";
|
|
4
4
|
import "react/jsx-runtime";
|
|
@@ -21,6 +21,7 @@ const networkModificationValidationFr = {
|
|
|
21
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
22
|
[VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR]: "Lors de l'utilisation de %, ce champ doit être une valeur numérique positive valide",
|
|
23
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
|
+
[TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO]: "La valeur de la bande morte doit être supérieure ou égale à 0",
|
|
24
25
|
TemporaryLimitNameUnicityError: "Les noms des limites temporaires doivent être uniques dans la table",
|
|
25
26
|
TemporaryLimitDurationUnicityError: "Les tempos des limites temporaires doivent être uniques dans la table",
|
|
26
27
|
LimitSetApplicabilityError: "2 jeux de limites de même nom doivent s'appliquer sur des côtés différents.",
|
|
@@ -73,6 +73,17 @@ export declare const networkModificationsFr: {
|
|
|
73
73
|
'network_modifications.CREATE_VOLTAGE_LEVEL_TOPOLOGY': string;
|
|
74
74
|
'network_modifications.CREATE_VOLTAGE_LEVEL_SECTION': string;
|
|
75
75
|
'network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS': string;
|
|
76
|
+
SubstationTab: string;
|
|
77
|
+
ConnectivityTab: string;
|
|
78
|
+
CharacteristicsTab: string;
|
|
79
|
+
LimitsTab: string;
|
|
80
|
+
SetpointsAndLimitsTab: string;
|
|
81
|
+
SpecificTab: string;
|
|
82
|
+
StructureTab: string;
|
|
83
|
+
AdditionalInformationTab: string;
|
|
84
|
+
StateEstimationTab: string;
|
|
85
|
+
TwoWindingsTransformerRatioTapChangerTab: string;
|
|
86
|
+
TwoWindingsTransformerPhaseTapChangerTab: string;
|
|
76
87
|
ModificationReadError: string;
|
|
77
88
|
CompositeModification: string;
|
|
78
89
|
CreateSubstation: string;
|
|
@@ -289,6 +300,65 @@ export declare const networkModificationsFr: {
|
|
|
289
300
|
filter: string;
|
|
290
301
|
G: string;
|
|
291
302
|
B: string;
|
|
303
|
+
CreateTwoWindingsTransformer: string;
|
|
304
|
+
TwoWindingsTransformerCreationError: string;
|
|
305
|
+
ConfigureRatioTapChanger: string;
|
|
306
|
+
WithRatioTapChanger: string;
|
|
307
|
+
ConfigurePhaseTapChanger: string;
|
|
308
|
+
WithPhaseTapChanger: string;
|
|
309
|
+
RegulatedSide: string;
|
|
310
|
+
RatioRegulatedSide: string;
|
|
311
|
+
PhaseRegulatedSide: string;
|
|
312
|
+
RegulatedSide1: string;
|
|
313
|
+
RegulatedSide2: string;
|
|
314
|
+
RatedVoltage: string;
|
|
315
|
+
RegulationSection: string;
|
|
316
|
+
OnLoad: string;
|
|
317
|
+
RegulationMode: string;
|
|
318
|
+
TargetVoltage: string;
|
|
319
|
+
TargetVoltageMustBeGreaterThanZero: string;
|
|
320
|
+
Deadband: string;
|
|
321
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: string;
|
|
322
|
+
LowTapPosition: string;
|
|
323
|
+
HighTapPosition: string;
|
|
324
|
+
TapPosition: string;
|
|
325
|
+
TapPositionMustBeBetweenLowAndHighTapPositionValue: string;
|
|
326
|
+
RegulatedTerminal: string;
|
|
327
|
+
TapsSection: string;
|
|
328
|
+
Tap: string;
|
|
329
|
+
DeltaResistance: string;
|
|
330
|
+
DeltaReactance: string;
|
|
331
|
+
DeltaConductance: string;
|
|
332
|
+
DeltaSusceptance: string;
|
|
333
|
+
Ratio: string;
|
|
334
|
+
Alpha: string;
|
|
335
|
+
ImportFileResistance: string;
|
|
336
|
+
ImportFileReactance: string;
|
|
337
|
+
ImportFileConductance: string;
|
|
338
|
+
ImportFileSusceptance: string;
|
|
339
|
+
ImportFileAlpha: string;
|
|
340
|
+
CreateRegulationRule: string;
|
|
341
|
+
LowTapRatio: string;
|
|
342
|
+
HighTapRatio: string;
|
|
343
|
+
ImportRegulationRule: string;
|
|
344
|
+
CreateDephasingRule: string;
|
|
345
|
+
ResetRegulationRule: string;
|
|
346
|
+
LowTapAlpha: string;
|
|
347
|
+
HighTapAlpha: string;
|
|
348
|
+
ImportDephasingRule: string;
|
|
349
|
+
GenerateSkeleton: string;
|
|
350
|
+
RegulatingValueCurrentLimiter: string;
|
|
351
|
+
CurrentLimiterMustBeGreaterThanZero: string;
|
|
352
|
+
RegulatingValueActivePowerControl: string;
|
|
353
|
+
VoltageRegulation: string;
|
|
354
|
+
FixedRatio: string;
|
|
355
|
+
CurrentLimiter: string;
|
|
356
|
+
PhaseActivePowerControl: string;
|
|
357
|
+
RatedNominalPowerMustBeGreaterThanZero: string;
|
|
358
|
+
PhaseShiftValuesError: string;
|
|
359
|
+
GeneratePhaseTapRowsError: string;
|
|
360
|
+
GenerateRatioTapRowsError: string;
|
|
361
|
+
RatioValuesError: string;
|
|
292
362
|
maximumSusceptance: string;
|
|
293
363
|
minSusceptance: string;
|
|
294
364
|
maxQAtVnominal: string;
|
|
@@ -313,15 +383,6 @@ export declare const networkModificationsFr: {
|
|
|
313
383
|
StaticVarCompensatorAdditionalInfosTab: string;
|
|
314
384
|
b0: string;
|
|
315
385
|
fixQAtNominalV: string;
|
|
316
|
-
SubstationTab: string;
|
|
317
|
-
ConnectivityTab: string;
|
|
318
|
-
CharacteristicsTab: string;
|
|
319
|
-
LimitsTab: string;
|
|
320
|
-
SetpointsAndLimitsTab: string;
|
|
321
|
-
SpecificTab: string;
|
|
322
|
-
StructureTab: string;
|
|
323
|
-
AdditionalInformationTab: string;
|
|
324
|
-
StateEstimationTab: string;
|
|
325
386
|
copyLink: string;
|
|
326
387
|
linkCopied: string;
|
|
327
388
|
linkCopyError: string;
|
|
@@ -67,6 +67,18 @@ const networkModificationsFr = {
|
|
|
67
67
|
"network_modifications.CREATE_VOLTAGE_LEVEL_TOPOLOGY": "Ajout d'un jeu de barre dans le poste {computedLabel}",
|
|
68
68
|
"network_modifications.CREATE_VOLTAGE_LEVEL_SECTION": "Ajout de section / tronçon dans le poste {computedLabel}",
|
|
69
69
|
"network_modifications.MOVE_VOLTAGE_LEVEL_FEEDER_BAYS": "Déplacements de départs dans le poste {computedLabel}",
|
|
70
|
+
// Tabs
|
|
71
|
+
SubstationTab: "Site",
|
|
72
|
+
ConnectivityTab: "Connectivité",
|
|
73
|
+
CharacteristicsTab: "Caractéristiques",
|
|
74
|
+
LimitsTab: "Limites",
|
|
75
|
+
SetpointsAndLimitsTab: "Consignes & Limites",
|
|
76
|
+
SpecificTab: "Spécifique",
|
|
77
|
+
StructureTab: "Structure",
|
|
78
|
+
AdditionalInformationTab: "Compléments",
|
|
79
|
+
StateEstimationTab: "Estimation d'état",
|
|
80
|
+
TwoWindingsTransformerRatioTapChangerTab: "Régleur",
|
|
81
|
+
TwoWindingsTransformerPhaseTapChangerTab: "Déphaseur",
|
|
70
82
|
ModificationReadError: "Une erreur est survenue lors de la récupération de la modification",
|
|
71
83
|
CompositeModification: "Modification composite",
|
|
72
84
|
CreateSubstation: "Créer un site",
|
|
@@ -283,6 +295,65 @@ const networkModificationsFr = {
|
|
|
283
295
|
filter: "Filtre",
|
|
284
296
|
G: "Conductance magnétisante",
|
|
285
297
|
B: "Susceptance magnétisante",
|
|
298
|
+
CreateTwoWindingsTransformer: "Créer un transformateur à 2 enroulements",
|
|
299
|
+
TwoWindingsTransformerCreationError: "Erreur lors de la création d'un transformateur à 2 enroulements",
|
|
300
|
+
ConfigureRatioTapChanger: "Créer régleur",
|
|
301
|
+
WithRatioTapChanger: "Avec régleur",
|
|
302
|
+
ConfigurePhaseTapChanger: "Créer déphaseur",
|
|
303
|
+
WithPhaseTapChanger: "Avec déphaseur",
|
|
304
|
+
RegulatedSide: "Côté réglé",
|
|
305
|
+
RatioRegulatedSide: "Côté réglé régleur",
|
|
306
|
+
PhaseRegulatedSide: "Côté réglé déphaseur",
|
|
307
|
+
RegulatedSide1: "côté 1",
|
|
308
|
+
RegulatedSide2: "côté 2",
|
|
309
|
+
RatedVoltage: "Tension d'enroulement",
|
|
310
|
+
RegulationSection: "Réglage",
|
|
311
|
+
OnLoad: "Passage de prises en charge",
|
|
312
|
+
RegulationMode: "Mode de réglage",
|
|
313
|
+
TargetVoltage: "Consigne de tension",
|
|
314
|
+
TargetVoltageMustBeGreaterThanZero: "La tension doit être supérieure à 0",
|
|
315
|
+
Deadband: "Bande morte",
|
|
316
|
+
TargetDeadbandMustBeGreaterOrEqualToZero: "La valeur de la bande morte doit être supérieure ou égale à 0",
|
|
317
|
+
LowTapPosition: "Prise min",
|
|
318
|
+
HighTapPosition: "Prise max",
|
|
319
|
+
TapPosition: "Prise courante",
|
|
320
|
+
TapPositionMustBeBetweenLowAndHighTapPositionValue: "La valeur de la prise courante doit être comprise entre la valeur de Prise min et Prise max",
|
|
321
|
+
RegulatedTerminal: "Terminal réglé",
|
|
322
|
+
TapsSection: "Prises",
|
|
323
|
+
Tap: "Prise",
|
|
324
|
+
DeltaResistance: "Δ Résistance (%)",
|
|
325
|
+
DeltaReactance: "Δ Réactance (%)",
|
|
326
|
+
DeltaConductance: "Δ Conductance (%)",
|
|
327
|
+
DeltaSusceptance: "Δ Susceptance (%)",
|
|
328
|
+
Ratio: "Rapport",
|
|
329
|
+
Alpha: "Déphasage (°)",
|
|
330
|
+
ImportFileResistance: "Resistance",
|
|
331
|
+
ImportFileReactance: "Reactance",
|
|
332
|
+
ImportFileConductance: "Conductance",
|
|
333
|
+
ImportFileSusceptance: "Susceptance",
|
|
334
|
+
ImportFileAlpha: "Dephasage",
|
|
335
|
+
CreateRegulationRule: "Créer une loi de régleur",
|
|
336
|
+
LowTapRatio: "Rapport (prise min)",
|
|
337
|
+
HighTapRatio: "Rapport (prise max)",
|
|
338
|
+
ImportRegulationRule: "Importer une loi de régleur",
|
|
339
|
+
CreateDephasingRule: "Créer une loi de déphasage",
|
|
340
|
+
ResetRegulationRule: "Réinitialiser la loi de réglage",
|
|
341
|
+
LowTapAlpha: "Déphasage (prise min)",
|
|
342
|
+
HighTapAlpha: "Déphasage (prise max)",
|
|
343
|
+
ImportDephasingRule: "Importer une loi de déphasage",
|
|
344
|
+
GenerateSkeleton: "Générer le modèle",
|
|
345
|
+
RegulatingValueCurrentLimiter: "Limitation du courant",
|
|
346
|
+
CurrentLimiterMustBeGreaterThanZero: "La valeur de la limitation du courant doit être supérieure à 0",
|
|
347
|
+
RegulatingValueActivePowerControl: "Consigne de transit",
|
|
348
|
+
VoltageRegulation: "Réglage tension",
|
|
349
|
+
FixedRatio: "Rapport fixe",
|
|
350
|
+
CurrentLimiter: "Limitation de courant",
|
|
351
|
+
PhaseActivePowerControl: "Suivi de transit",
|
|
352
|
+
RatedNominalPowerMustBeGreaterThanZero: "La valeur de la puissance nominale doit être supérieure à 0",
|
|
353
|
+
PhaseShiftValuesError: "Les valeurs de déphasage doivent être ordonnées et sans duplication",
|
|
354
|
+
GeneratePhaseTapRowsError: "Veuillez générer les prises du déphaseur",
|
|
355
|
+
GenerateRatioTapRowsError: "Veuillez générer les prises du régleur",
|
|
356
|
+
RatioValuesError: "Les rapports de transformation doivent être ordonnés et sans duplication",
|
|
286
357
|
maximumSusceptance: "Susceptance max",
|
|
287
358
|
minSusceptance: "Susceptance min",
|
|
288
359
|
maxQAtVnominal: "Q max à tension nominale",
|
|
@@ -307,16 +378,6 @@ const networkModificationsFr = {
|
|
|
307
378
|
StaticVarCompensatorAdditionalInfosTab: "Compléments",
|
|
308
379
|
b0: "Susceptance fixe",
|
|
309
380
|
fixQAtNominalV: "Q fixe",
|
|
310
|
-
// Tabs
|
|
311
|
-
SubstationTab: "Site",
|
|
312
|
-
ConnectivityTab: "Connectivité",
|
|
313
|
-
CharacteristicsTab: "Caractéristiques",
|
|
314
|
-
LimitsTab: "Limites",
|
|
315
|
-
SetpointsAndLimitsTab: "Consignes & Limites",
|
|
316
|
-
SpecificTab: "Spécifique",
|
|
317
|
-
StructureTab: "Structure",
|
|
318
|
-
AdditionalInformationTab: "Compléments",
|
|
319
|
-
StateEstimationTab: "Estimation d'état",
|
|
320
381
|
copyLink: "Copier le lien",
|
|
321
382
|
linkCopied: "Lien copié",
|
|
322
383
|
linkCopyError: "Erreur lors de la copie du lien",
|
|
@@ -13,6 +13,7 @@ export declare enum FieldConstants {
|
|
|
13
13
|
APPLY_SEGMENTS_LIMITS = "applySegmentsLimits",
|
|
14
14
|
APPLICABILITY_FIELD = "applicability",
|
|
15
15
|
ASSIGNMENTS = "assignments",
|
|
16
|
+
B = "b",
|
|
16
17
|
B1 = "b1",
|
|
17
18
|
B2 = "b2",
|
|
18
19
|
BUS_OR_BUSBAR_SECTION = "busOrBusbarSection",
|
|
@@ -35,6 +36,7 @@ export declare enum FieldConstants {
|
|
|
35
36
|
COUNTRIES_2 = "countries2",
|
|
36
37
|
COUNTRIES = "countries",
|
|
37
38
|
COUNTRY = "country",
|
|
39
|
+
CURRENT_LIMITER_REGULATING_VALUE = "currentLimiterRegulatingValue",
|
|
38
40
|
CURRENT_LIMITS = "currentLimits",
|
|
39
41
|
CURRENT_PARAMETERS = "currentParameters",
|
|
40
42
|
DELETION_MARK = "deletionMark",
|
|
@@ -44,6 +46,7 @@ export declare enum FieldConstants {
|
|
|
44
46
|
DIRECTORY = "directory",
|
|
45
47
|
DROOP = "droop",
|
|
46
48
|
EDITED_FIELD = "editedField",
|
|
49
|
+
ENABLED = "enabled",
|
|
47
50
|
ENERGY_SOURCE = "energySource",
|
|
48
51
|
EQUIPMENT = "equipment",
|
|
49
52
|
EQUIPMENT_ID = "equipmentID",
|
|
@@ -53,17 +56,23 @@ export declare enum FieldConstants {
|
|
|
53
56
|
EQUIPMENT_TYPE = "equipmentType",
|
|
54
57
|
FILTER_TYPE = "filterType",
|
|
55
58
|
FILTERS = "filters",
|
|
59
|
+
FLOW_SET_POINT_REGULATING_VALUE = "flowSetPointRegulatingValue",
|
|
56
60
|
FOLDER_ID = "folderId",
|
|
57
61
|
FOLDER_NAME = "folderName",
|
|
58
62
|
FORCED_OUTAGE_RATE = "forcedOutageRate",
|
|
59
63
|
FORMATTED_CASE_PARAMETERS = "formattedCaseParameters",
|
|
60
64
|
FREQUENCY_REGULATION = "frequencyRegulation",
|
|
65
|
+
G = "g",
|
|
61
66
|
G1 = "g1",
|
|
62
67
|
G2 = "g2",
|
|
68
|
+
HIGH_TAP_POSITION = "highTapPosition",
|
|
63
69
|
HVDC_LINE_LCC_DELETION_SPECIFIC_TYPE = "HVDC_LINE_WITH_LCC",
|
|
64
70
|
ID = "id",
|
|
71
|
+
REGULATING = "isRegulating",
|
|
65
72
|
LOADFLOW_PARAMETERS = "loadflowParameters",
|
|
66
73
|
LOAD_TYPE = "loadType",
|
|
74
|
+
LOAD_TAP_CHANGING_CAPABILITIES = "hasLoadTapChangingCapabilities",
|
|
75
|
+
LOW_TAP_POSITION = "lowTapPosition",
|
|
67
76
|
MARGINAL_COST = "marginalCost",
|
|
68
77
|
MIN_Q_AT_NOMINAL_V = "minQAtNominalV",
|
|
69
78
|
MAX_Q_AT_NOMINAL_V = "maxQAtNominalV",
|
|
@@ -86,6 +95,8 @@ export declare enum FieldConstants {
|
|
|
86
95
|
NOMINAL_VOLTAGE = "nominalVoltage",
|
|
87
96
|
OPERATION_TYPE = "type",
|
|
88
97
|
PERMANENT_LIMIT = "permanentLimit",
|
|
98
|
+
PHASE_TAP_CHANGER = "phaseTapChanger",
|
|
99
|
+
PHASE_TAP_CHANGER_STATUS = "phaseTapChangerStatus",
|
|
89
100
|
PLANNED_ACTIVE_POWER_SET_POINT = "plannedActivePowerSetPoint",
|
|
90
101
|
PLANNED_OUTAGE_RATE = "plannedOutageRate",
|
|
91
102
|
PREVIOUS_VALUE = "previousValue",
|
|
@@ -93,8 +104,20 @@ export declare enum FieldConstants {
|
|
|
93
104
|
PROPERTY_OPERATOR = "propertyOperator",
|
|
94
105
|
PROPERTY = "PROPERTY",
|
|
95
106
|
PROPERTY_VALUES = "propertyValues",
|
|
107
|
+
RATED_S = "ratedS",
|
|
108
|
+
RATED_U1 = "ratedU1",
|
|
109
|
+
RATED_U2 = "ratedU2",
|
|
96
110
|
RATED_NOMINAL_POWER = "ratedNominalPower",
|
|
111
|
+
RATIO_TAP_CHANGER = "ratioTapChanger",
|
|
112
|
+
RATIO_TAP_CHANGER_STATUS = "ratioTapChangerStatus",
|
|
97
113
|
REACTIVE_POWER_SET_POINT = "reactivePowerSetpoint",
|
|
114
|
+
REGULATION_MODE = "regulationMode",
|
|
115
|
+
REGULATION_SIDE = "regulationSide",
|
|
116
|
+
REGULATING_TERMINAL_CONNECTABLE_ID = "regulatingTerminalConnectableId",
|
|
117
|
+
REGULATING_TERMINAL_CONNECTABLE_TYPE = "regulatingTerminalConnectableType",
|
|
118
|
+
REGULATING_TERMINAL_VOLTAGE_LEVEL_ID = "regulatingTerminalVlId",
|
|
119
|
+
REGULATION_TYPE = "regulationType",
|
|
120
|
+
REGULATION_VALUE = "regulationValue",
|
|
98
121
|
SCRIPT = "script",
|
|
99
122
|
SECURITY_ANALYSIS_PARAMETERS = "securityAnalysisParameters",
|
|
100
123
|
SHUNT_COMPENSATOR_SIDE_1 = "mcsOnSide1",
|
|
@@ -102,15 +125,27 @@ export declare enum FieldConstants {
|
|
|
102
125
|
SHUNT_COMPENSATOR_SELECTED = "connectedToHvdc",
|
|
103
126
|
SHUNT_COMPENSATOR_TYPE = "shuntCompensatorType",
|
|
104
127
|
STATE_ESTIMATION = "stateEstimation",
|
|
128
|
+
STEPS = "steps",
|
|
129
|
+
STEPS_TAP = "index",
|
|
130
|
+
STEPS_RESISTANCE = "r",
|
|
131
|
+
STEPS_REACTANCE = "x",
|
|
132
|
+
STEPS_CONDUCTANCE = "g",
|
|
133
|
+
STEPS_SUSCEPTANCE = "b",
|
|
134
|
+
STEPS_RATIO = "rho",
|
|
135
|
+
STEPS_ALPHA = "alpha",
|
|
105
136
|
SWITCHED_ON_Q_AT_NOMINAL_V = "switchedOnQAtNominalV",
|
|
106
137
|
SWITCHED_ON_SUSCEPTANCE = "switchedOnSusceptance",
|
|
107
138
|
STUDY_NAME = "studyName",
|
|
139
|
+
TARGET_DEADBAND = "targetDeadband",
|
|
140
|
+
TARGET_V = "targetV",
|
|
141
|
+
TO_BE_ESTIMATED = "toBeEstimated",
|
|
108
142
|
TYPE = "type",
|
|
109
143
|
VALIDITY = "validity",
|
|
110
144
|
VALUE = "value",
|
|
111
145
|
VALUE_1 = "value1",
|
|
112
146
|
VALUE_2 = "value2",
|
|
113
147
|
VOLTAGE_LEVEL = "voltageLevel",
|
|
148
|
+
VOLTAGE_LEVEL_ID = "voltageLevelId",
|
|
114
149
|
VOLTAGE_REGULATION = "voltageRegulation",
|
|
115
150
|
SWITCH_KINDS = "switchKinds",
|
|
116
151
|
SWITCH_KIND = "switchKind",
|
|
@@ -163,7 +198,9 @@ export declare enum FieldConstants {
|
|
|
163
198
|
SEGMENT_REACTANCE = "segmentReactance",
|
|
164
199
|
SEGMENT_SUSCEPTANCE = "segmentSusceptance",
|
|
165
200
|
SEGMENT_CURRENT_LIMITS = "segmentCurrentLimits",
|
|
201
|
+
SELECTED = "selected",
|
|
166
202
|
SPECIFIC_METADATA = "specificMetadata",
|
|
203
|
+
TAP_POSITION = "tapPosition",
|
|
167
204
|
TOTAL_RESISTANCE = "totalResistance",
|
|
168
205
|
TOTAL_REACTANCE = "totalReactance",
|
|
169
206
|
TOTAL_SUSCEPTANCE = "totalSusceptance",
|
|
@@ -7,6 +7,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
7
7
|
FieldConstants2["APPLY_SEGMENTS_LIMITS"] = "applySegmentsLimits";
|
|
8
8
|
FieldConstants2["APPLICABILITY_FIELD"] = "applicability";
|
|
9
9
|
FieldConstants2["ASSIGNMENTS"] = "assignments";
|
|
10
|
+
FieldConstants2["B"] = "b";
|
|
10
11
|
FieldConstants2["B1"] = "b1";
|
|
11
12
|
FieldConstants2["B2"] = "b2";
|
|
12
13
|
FieldConstants2["BUS_OR_BUSBAR_SECTION"] = "busOrBusbarSection";
|
|
@@ -29,6 +30,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
29
30
|
FieldConstants2["COUNTRIES_2"] = "countries2";
|
|
30
31
|
FieldConstants2["COUNTRIES"] = "countries";
|
|
31
32
|
FieldConstants2["COUNTRY"] = "country";
|
|
33
|
+
FieldConstants2["CURRENT_LIMITER_REGULATING_VALUE"] = "currentLimiterRegulatingValue";
|
|
32
34
|
FieldConstants2["CURRENT_LIMITS"] = "currentLimits";
|
|
33
35
|
FieldConstants2["CURRENT_PARAMETERS"] = "currentParameters";
|
|
34
36
|
FieldConstants2["DELETION_MARK"] = "deletionMark";
|
|
@@ -38,6 +40,7 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
38
40
|
FieldConstants2["DIRECTORY"] = "directory";
|
|
39
41
|
FieldConstants2["DROOP"] = "droop";
|
|
40
42
|
FieldConstants2["EDITED_FIELD"] = "editedField";
|
|
43
|
+
FieldConstants2["ENABLED"] = "enabled";
|
|
41
44
|
FieldConstants2["ENERGY_SOURCE"] = "energySource";
|
|
42
45
|
FieldConstants2["EQUIPMENT"] = "equipment";
|
|
43
46
|
FieldConstants2["EQUIPMENT_ID"] = "equipmentID";
|
|
@@ -47,17 +50,23 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
47
50
|
FieldConstants2["EQUIPMENT_TYPE"] = "equipmentType";
|
|
48
51
|
FieldConstants2["FILTER_TYPE"] = "filterType";
|
|
49
52
|
FieldConstants2["FILTERS"] = "filters";
|
|
53
|
+
FieldConstants2["FLOW_SET_POINT_REGULATING_VALUE"] = "flowSetPointRegulatingValue";
|
|
50
54
|
FieldConstants2["FOLDER_ID"] = "folderId";
|
|
51
55
|
FieldConstants2["FOLDER_NAME"] = "folderName";
|
|
52
56
|
FieldConstants2["FORCED_OUTAGE_RATE"] = "forcedOutageRate";
|
|
53
57
|
FieldConstants2["FORMATTED_CASE_PARAMETERS"] = "formattedCaseParameters";
|
|
54
58
|
FieldConstants2["FREQUENCY_REGULATION"] = "frequencyRegulation";
|
|
59
|
+
FieldConstants2["G"] = "g";
|
|
55
60
|
FieldConstants2["G1"] = "g1";
|
|
56
61
|
FieldConstants2["G2"] = "g2";
|
|
62
|
+
FieldConstants2["HIGH_TAP_POSITION"] = "highTapPosition";
|
|
57
63
|
FieldConstants2["HVDC_LINE_LCC_DELETION_SPECIFIC_TYPE"] = "HVDC_LINE_WITH_LCC";
|
|
58
64
|
FieldConstants2["ID"] = "id";
|
|
65
|
+
FieldConstants2["REGULATING"] = "isRegulating";
|
|
59
66
|
FieldConstants2["LOADFLOW_PARAMETERS"] = "loadflowParameters";
|
|
60
67
|
FieldConstants2["LOAD_TYPE"] = "loadType";
|
|
68
|
+
FieldConstants2["LOAD_TAP_CHANGING_CAPABILITIES"] = "hasLoadTapChangingCapabilities";
|
|
69
|
+
FieldConstants2["LOW_TAP_POSITION"] = "lowTapPosition";
|
|
61
70
|
FieldConstants2["MARGINAL_COST"] = "marginalCost";
|
|
62
71
|
FieldConstants2["MIN_Q_AT_NOMINAL_V"] = "minQAtNominalV";
|
|
63
72
|
FieldConstants2["MAX_Q_AT_NOMINAL_V"] = "maxQAtNominalV";
|
|
@@ -80,6 +89,8 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
80
89
|
FieldConstants2["NOMINAL_VOLTAGE"] = "nominalVoltage";
|
|
81
90
|
FieldConstants2["OPERATION_TYPE"] = "type";
|
|
82
91
|
FieldConstants2["PERMANENT_LIMIT"] = "permanentLimit";
|
|
92
|
+
FieldConstants2["PHASE_TAP_CHANGER"] = "phaseTapChanger";
|
|
93
|
+
FieldConstants2["PHASE_TAP_CHANGER_STATUS"] = "phaseTapChangerStatus";
|
|
83
94
|
FieldConstants2["PLANNED_ACTIVE_POWER_SET_POINT"] = "plannedActivePowerSetPoint";
|
|
84
95
|
FieldConstants2["PLANNED_OUTAGE_RATE"] = "plannedOutageRate";
|
|
85
96
|
FieldConstants2["PREVIOUS_VALUE"] = "previousValue";
|
|
@@ -87,8 +98,20 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
87
98
|
FieldConstants2["PROPERTY_OPERATOR"] = "propertyOperator";
|
|
88
99
|
FieldConstants2["PROPERTY"] = "PROPERTY";
|
|
89
100
|
FieldConstants2["PROPERTY_VALUES"] = "propertyValues";
|
|
101
|
+
FieldConstants2["RATED_S"] = "ratedS";
|
|
102
|
+
FieldConstants2["RATED_U1"] = "ratedU1";
|
|
103
|
+
FieldConstants2["RATED_U2"] = "ratedU2";
|
|
90
104
|
FieldConstants2["RATED_NOMINAL_POWER"] = "ratedNominalPower";
|
|
105
|
+
FieldConstants2["RATIO_TAP_CHANGER"] = "ratioTapChanger";
|
|
106
|
+
FieldConstants2["RATIO_TAP_CHANGER_STATUS"] = "ratioTapChangerStatus";
|
|
91
107
|
FieldConstants2["REACTIVE_POWER_SET_POINT"] = "reactivePowerSetpoint";
|
|
108
|
+
FieldConstants2["REGULATION_MODE"] = "regulationMode";
|
|
109
|
+
FieldConstants2["REGULATION_SIDE"] = "regulationSide";
|
|
110
|
+
FieldConstants2["REGULATING_TERMINAL_CONNECTABLE_ID"] = "regulatingTerminalConnectableId";
|
|
111
|
+
FieldConstants2["REGULATING_TERMINAL_CONNECTABLE_TYPE"] = "regulatingTerminalConnectableType";
|
|
112
|
+
FieldConstants2["REGULATING_TERMINAL_VOLTAGE_LEVEL_ID"] = "regulatingTerminalVlId";
|
|
113
|
+
FieldConstants2["REGULATION_TYPE"] = "regulationType";
|
|
114
|
+
FieldConstants2["REGULATION_VALUE"] = "regulationValue";
|
|
92
115
|
FieldConstants2["SCRIPT"] = "script";
|
|
93
116
|
FieldConstants2["SECURITY_ANALYSIS_PARAMETERS"] = "securityAnalysisParameters";
|
|
94
117
|
FieldConstants2["SHUNT_COMPENSATOR_SIDE_1"] = "mcsOnSide1";
|
|
@@ -96,15 +119,27 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
96
119
|
FieldConstants2["SHUNT_COMPENSATOR_SELECTED"] = "connectedToHvdc";
|
|
97
120
|
FieldConstants2["SHUNT_COMPENSATOR_TYPE"] = "shuntCompensatorType";
|
|
98
121
|
FieldConstants2["STATE_ESTIMATION"] = "stateEstimation";
|
|
122
|
+
FieldConstants2["STEPS"] = "steps";
|
|
123
|
+
FieldConstants2["STEPS_TAP"] = "index";
|
|
124
|
+
FieldConstants2["STEPS_RESISTANCE"] = "r";
|
|
125
|
+
FieldConstants2["STEPS_REACTANCE"] = "x";
|
|
126
|
+
FieldConstants2["STEPS_CONDUCTANCE"] = "g";
|
|
127
|
+
FieldConstants2["STEPS_SUSCEPTANCE"] = "b";
|
|
128
|
+
FieldConstants2["STEPS_RATIO"] = "rho";
|
|
129
|
+
FieldConstants2["STEPS_ALPHA"] = "alpha";
|
|
99
130
|
FieldConstants2["SWITCHED_ON_Q_AT_NOMINAL_V"] = "switchedOnQAtNominalV";
|
|
100
131
|
FieldConstants2["SWITCHED_ON_SUSCEPTANCE"] = "switchedOnSusceptance";
|
|
101
132
|
FieldConstants2["STUDY_NAME"] = "studyName";
|
|
133
|
+
FieldConstants2["TARGET_DEADBAND"] = "targetDeadband";
|
|
134
|
+
FieldConstants2["TARGET_V"] = "targetV";
|
|
135
|
+
FieldConstants2["TO_BE_ESTIMATED"] = "toBeEstimated";
|
|
102
136
|
FieldConstants2["TYPE"] = "type";
|
|
103
137
|
FieldConstants2["VALIDITY"] = "validity";
|
|
104
138
|
FieldConstants2["VALUE"] = "value";
|
|
105
139
|
FieldConstants2["VALUE_1"] = "value1";
|
|
106
140
|
FieldConstants2["VALUE_2"] = "value2";
|
|
107
141
|
FieldConstants2["VOLTAGE_LEVEL"] = "voltageLevel";
|
|
142
|
+
FieldConstants2["VOLTAGE_LEVEL_ID"] = "voltageLevelId";
|
|
108
143
|
FieldConstants2["VOLTAGE_REGULATION"] = "voltageRegulation";
|
|
109
144
|
FieldConstants2["SWITCH_KINDS"] = "switchKinds";
|
|
110
145
|
FieldConstants2["SWITCH_KIND"] = "switchKind";
|
|
@@ -157,7 +192,9 @@ var FieldConstants = /* @__PURE__ */ ((FieldConstants2) => {
|
|
|
157
192
|
FieldConstants2["SEGMENT_REACTANCE"] = "segmentReactance";
|
|
158
193
|
FieldConstants2["SEGMENT_SUSCEPTANCE"] = "segmentSusceptance";
|
|
159
194
|
FieldConstants2["SEGMENT_CURRENT_LIMITS"] = "segmentCurrentLimits";
|
|
195
|
+
FieldConstants2["SELECTED"] = "selected";
|
|
160
196
|
FieldConstants2["SPECIFIC_METADATA"] = "specificMetadata";
|
|
197
|
+
FieldConstants2["TAP_POSITION"] = "tapPosition";
|
|
161
198
|
FieldConstants2["TOTAL_RESISTANCE"] = "totalResistance";
|
|
162
199
|
FieldConstants2["TOTAL_REACTANCE"] = "totalReactance";
|
|
163
200
|
FieldConstants2["TOTAL_SUSCEPTANCE"] = "totalSusceptance";
|
|
@@ -5,7 +5,7 @@ import { MAX_CHAR_DESCRIPTION } from "./uiConstants.js";
|
|
|
5
5
|
import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./unitsConstants.js";
|
|
6
6
|
import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./configConstants.js";
|
|
7
7
|
import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./filterConstant.js";
|
|
8
|
-
import { ACTIVE_LIMITS_MIN_MAX_INVALID, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID, DESCRIPTION_LIMIT_ERROR, DUPLICATED_PROPS_ERROR, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, MUST_BE_GREATER_OR_EQUAL_TO_ZERO, NAME_ALREADY_USED, NAME_EMPTY, NORMALIZED_PERCENTAGE, NUMERIC_VALUE_OR_EMPTY_FIELD, REACTIVE_LIMITS_MIN_MAX_INVALID, REAL_PERCENTAGE, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, YUP_DEFAULT, YUP_NOT_NULL, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_REQUIRED } from "./translationKeys.js";
|
|
8
|
+
import { ACTIVE_LIMITS_MIN_MAX_INVALID, CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID, DESCRIPTION_LIMIT_ERROR, DUPLICATED_PROPS_ERROR, MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE, MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER, MUST_BE_GREATER_OR_EQUAL_TO_ZERO, NAME_ALREADY_USED, NAME_EMPTY, NORMALIZED_PERCENTAGE, NUMERIC_VALUE_OR_EMPTY_FIELD, REACTIVE_LIMITS_MIN_MAX_INVALID, REAL_PERCENTAGE, SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT, SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO, TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO, VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR, VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR, WRONG_REF_OR_VALUE_ERROR, YUP_DEFAULT, YUP_NOT_NULL, YUP_NOT_TYPE_DEFAULT, YUP_NOT_TYPE_NUMBER, YUP_POSITIVE, YUP_REQUIRED } from "./translationKeys.js";
|
|
9
9
|
export {
|
|
10
10
|
ACTIVE_LIMITS_MIN_MAX_INVALID,
|
|
11
11
|
AMPERE,
|
|
@@ -58,6 +58,7 @@ export {
|
|
|
58
58
|
SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO,
|
|
59
59
|
SIEMENS,
|
|
60
60
|
SusceptanceAdornment,
|
|
61
|
+
TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
61
62
|
VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
|
|
62
63
|
VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
|
|
63
64
|
VoltageAdornment,
|
|
@@ -18,6 +18,7 @@ export declare const MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE = "Ma
|
|
|
18
18
|
export declare const SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT = "SectionCountMustBeBetweenZeroAndMaximumSectionCount";
|
|
19
19
|
export declare const CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID = "CreateSubstationInVoltageLevelIdenticalId";
|
|
20
20
|
export declare const MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER = "MinActivePowerMustBeLessOrEqualToMaxActivePower";
|
|
21
|
+
export declare const TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO = "TargetDeadbandMustBeGreaterOrEqualToZero";
|
|
21
22
|
export declare const NAME_ALREADY_USED = "nameAlreadyUsed";
|
|
22
23
|
export declare const NUMERIC_VALUE_OR_EMPTY_FIELD = "NumericValueOrEmptyField";
|
|
23
24
|
export declare const WRONG_REF_OR_VALUE_ERROR = "WrongRefOrValueError";
|
|
@@ -18,6 +18,7 @@ const MAXIMUM_SECTION_COUNT_MUST_BE_GREATER_OR_EQUAL_TO_ONE = "MaximumSectionCou
|
|
|
18
18
|
const SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT = "SectionCountMustBeBetweenZeroAndMaximumSectionCount";
|
|
19
19
|
const CREATE_SUBSTATION_IN_VOLTAGE_LEVEL_IDENTICAL_ID = "CreateSubstationInVoltageLevelIdenticalId";
|
|
20
20
|
const MIN_ACTIVE_POWER_MUST_BE_LESS_OR_EQUAL_TO_MAX_ACTIVE_POWER = "MinActivePowerMustBeLessOrEqualToMaxActivePower";
|
|
21
|
+
const TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO = "TargetDeadbandMustBeGreaterOrEqualToZero";
|
|
21
22
|
const NAME_ALREADY_USED = "nameAlreadyUsed";
|
|
22
23
|
const NUMERIC_VALUE_OR_EMPTY_FIELD = "NumericValueOrEmptyField";
|
|
23
24
|
const WRONG_REF_OR_VALUE_ERROR = "WrongRefOrValueError";
|
|
@@ -40,6 +41,7 @@ export {
|
|
|
40
41
|
SECTION_COUNT_MUST_BE_BETWEEN_ZERO_AND_MAXIMUM_SECTION_COUNT,
|
|
41
42
|
SHORT_CIRCUIT_CURRENT_LIMIT_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
42
43
|
SHUNT_COMPENSATOR_ERROR_Q_AT_NOMINAL_VOLTAGE_LESS_THAN_ZERO,
|
|
44
|
+
TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
|
|
43
45
|
VALUE_MUST_BE_NUMERIC_WHEN_PERCENTAGE_ERROR,
|
|
44
46
|
VALUE_MUST_BE_REF_WHEN_PERCENTAGE_ERROR,
|
|
45
47
|
WRONG_REF_OR_VALUE_ERROR,
|
|
@@ -27,3 +27,12 @@ export declare const areArrayElementsUnique: (array: unknown[]) => boolean;
|
|
|
27
27
|
export declare function isEmpty(value: any): boolean;
|
|
28
28
|
export declare const isObjectEmpty: (object: object) => boolean;
|
|
29
29
|
export declare function getRows(rows: any[] | undefined, status: string): any[];
|
|
30
|
+
/**
|
|
31
|
+
* Returns true if every element of this array is a number and they are ordered (ascending or descending)
|
|
32
|
+
* @param array or numbers
|
|
33
|
+
* @returns {boolean}
|
|
34
|
+
*/
|
|
35
|
+
export declare const areNumbersOrdered: (array?: unknown) => boolean;
|
|
36
|
+
export declare const addSelectedFieldToRows: <T>(rows?: T[]) => (T & {
|
|
37
|
+
selected: boolean;
|
|
38
|
+
})[];
|
package/dist/utils/functions.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FieldConstants } from "./constants/fieldConstants.js";
|
|
2
2
|
import { RunningStatus } from "./running-status.js";
|
|
3
|
+
import { toNumber } from "./validation-functions.js";
|
|
3
4
|
const hasNonEmptyRows = (rows) => Array.isArray(rows) && rows.some(
|
|
4
5
|
(row) => row && Object.keys(row).filter((key) => key !== FieldConstants.AG_GRID_ROW_UUID).some((key) => row[key] !== void 0 && row[key] !== null && String(row[key]).trim().length > 0)
|
|
5
6
|
);
|
|
@@ -24,8 +25,47 @@ const isObjectEmpty = (object) => object && Object.keys(object).length === 0;
|
|
|
24
25
|
function getRows(rows, status) {
|
|
25
26
|
return status === RunningStatus.SUCCEED && rows ? rows : [];
|
|
26
27
|
}
|
|
28
|
+
const areNumbersOrdered = (array) => {
|
|
29
|
+
if (!Array.isArray(array)) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
if (array.length === 0) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
if (array.length === 1) {
|
|
36
|
+
return !Number.isNaN(toNumber(array[0]));
|
|
37
|
+
}
|
|
38
|
+
let current = toNumber(array[0]);
|
|
39
|
+
if (Number.isNaN(current)) {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
let order = null;
|
|
43
|
+
for (let i = 1; i < array.length; i++) {
|
|
44
|
+
const nextOne = toNumber(array[i]);
|
|
45
|
+
if (Number.isNaN(nextOne)) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
if (current !== nextOne) {
|
|
49
|
+
if (order === null) {
|
|
50
|
+
order = current < nextOne ? "asc" : "desc";
|
|
51
|
+
}
|
|
52
|
+
if (order === "asc" && current > nextOne || order === "desc" && current < nextOne) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
current = nextOne;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return true;
|
|
59
|
+
};
|
|
60
|
+
const addSelectedFieldToRows = (rows) => {
|
|
61
|
+
return rows?.map((row) => {
|
|
62
|
+
return { ...row, [FieldConstants.SELECTED]: false };
|
|
63
|
+
}) ?? [];
|
|
64
|
+
};
|
|
27
65
|
export {
|
|
66
|
+
addSelectedFieldToRows,
|
|
28
67
|
areArrayElementsUnique,
|
|
68
|
+
areNumbersOrdered,
|
|
29
69
|
arraysContainIdenticalStrings,
|
|
30
70
|
getRows,
|
|
31
71
|
hasNonEmptyRows,
|