@gridsuite/commons-ui 0.270.0 → 0.271.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.
Files changed (132) hide show
  1. package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.d.ts +10 -3
  2. package/dist/components/ui/dialogs/customMuiDialog/CustomMuiDialog.js +33 -28
  3. package/dist/features/index.js +87 -2
  4. package/dist/features/network-modifications/common/branch/branchCreation.types.d.ts +26 -0
  5. package/dist/features/network-modifications/common/branch/branchModification.types.d.ts +36 -0
  6. package/dist/features/network-modifications/common/branch/branchModification.types.js +1 -0
  7. package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.d.ts → common/branch/index.d.ts} +2 -8
  8. package/dist/features/network-modifications/common/branch/index.js +1 -0
  9. package/dist/features/network-modifications/common/connectivity/connectivityForm.utils.d.ts +2 -0
  10. package/dist/features/network-modifications/common/currentLimits/limits.types.d.ts +1 -0
  11. package/dist/features/network-modifications/common/currentLimits/limitsPane.utils.d.ts +2 -2
  12. package/dist/features/network-modifications/common/index.d.ts +1 -0
  13. package/dist/features/network-modifications/common/reactiveLimits/reactiveCapabilityCurve/reactiveCapability.utils.js +1 -1
  14. package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.d.ts +2 -2
  15. package/dist/features/network-modifications/common/regulatingTerminal/regulatingTerminal.utils.js +2 -2
  16. package/dist/features/network-modifications/index.d.ts +1 -0
  17. package/dist/features/network-modifications/index.js +87 -2
  18. package/dist/features/network-modifications/line/characteristics/index.d.ts +0 -1
  19. package/dist/features/network-modifications/line/characteristics/index.js +1 -2
  20. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.d.ts +4 -19
  21. package/dist/features/network-modifications/line/characteristics/lineCharacteristicsPane.utils.js +0 -14
  22. package/dist/features/network-modifications/line/creation/lineCreation.types.d.ts +6 -26
  23. package/dist/features/network-modifications/line/index.js +1 -2
  24. package/dist/features/network-modifications/line/modification/lineModification.types.d.ts +3 -35
  25. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.d.ts +7 -0
  26. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/TwoWindingsTransformerCharacteristicsPane.js +168 -0
  27. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.d.ts +8 -0
  28. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/index.js +8 -0
  29. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.d.ts +41 -0
  30. package/dist/features/network-modifications/twoWindingsTransformer/characteristics/twoWindingsTransformerCharacteristicsPane.utils.js +51 -0
  31. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.d.ts +6 -0
  32. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogHeader.js +123 -0
  33. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.d.ts +9 -0
  34. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabs.js +89 -0
  35. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.d.ts +14 -0
  36. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerDialogTabsContent.js +118 -0
  37. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.d.ts +6 -0
  38. package/dist/features/network-modifications/twoWindingsTransformer/common/TwoWindingsTransformerForm.js +47 -0
  39. package/dist/features/network-modifications/twoWindingsTransformer/common/index.d.ts +12 -0
  40. package/dist/features/network-modifications/twoWindingsTransformer/common/index.js +13 -0
  41. package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.d.ts +87 -0
  42. package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.types.js +1 -0
  43. package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.d.ts +10 -0
  44. package/dist/features/network-modifications/twoWindingsTransformer/common/twoWindingsTransformer.utils.js +50 -0
  45. package/dist/features/network-modifications/twoWindingsTransformer/creation/index.d.ts +8 -0
  46. package/dist/features/network-modifications/twoWindingsTransformer/creation/index.js +12 -0
  47. package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.d.ts +47 -0
  48. package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.types.js +8 -0
  49. package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.d.ts +248 -0
  50. package/dist/features/network-modifications/twoWindingsTransformer/creation/twoWindingsTransformerCreation.utils.js +325 -0
  51. package/dist/features/network-modifications/twoWindingsTransformer/index.d.ts +11 -0
  52. package/dist/features/network-modifications/twoWindingsTransformer/index.js +88 -0
  53. package/dist/features/network-modifications/twoWindingsTransformer/modification/index.d.ts +9 -0
  54. package/dist/features/network-modifications/twoWindingsTransformer/modification/index.js +10 -0
  55. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.d.ts +6 -0
  56. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/ToBeEstimatedForm.js +104 -0
  57. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.d.ts +9 -0
  58. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/index.js +7 -0
  59. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.d.ts +10 -0
  60. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.type.js +1 -0
  61. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.d.ts +12 -0
  62. package/dist/features/network-modifications/twoWindingsTransformer/modification/measurements/toBeEstimated.utils.js +18 -0
  63. package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.d.ts +39 -0
  64. package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.types.js +1 -0
  65. package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.d.ts +265 -0
  66. package/dist/features/network-modifications/twoWindingsTransformer/modification/twoWindingsTransformerModification.utils.js +100 -0
  67. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.d.ts +13 -0
  68. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/RegulatedTerminalSection.js +130 -0
  69. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.d.ts +20 -0
  70. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/TapChangerSteps.js +311 -0
  71. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.d.ts +12 -0
  72. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/index.js +53 -0
  73. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.d.ts +2 -0
  74. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPane.js +198 -0
  75. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.d.ts +9 -0
  76. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/PhaseTapChangerPaneSteps.js +201 -0
  77. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.d.ts +9 -0
  78. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/index.js +15 -0
  79. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.d.ts +114 -0
  80. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/phaseTapChanger/phaseTapChanger.utils.js +242 -0
  81. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.d.ts +2 -0
  82. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPane.js +283 -0
  83. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.d.ts +9 -0
  84. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/RatioTapChangerPaneSteps.js +181 -0
  85. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.d.ts +9 -0
  86. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/index.js +18 -0
  87. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.d.ts +132 -0
  88. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/ratioTapChanger/ratioTapChanger.utils.js +211 -0
  89. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.d.ts +2 -0
  90. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialog.js +102 -0
  91. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.d.ts +7 -0
  92. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleDialogSubmitButton.js +22 -0
  93. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.d.ts +6 -0
  94. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/CreateRuleForm.js +86 -0
  95. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.d.ts +10 -0
  96. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/ImportRuleDialog.js +140 -0
  97. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.d.ts +12 -0
  98. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/index.js +13 -0
  99. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.d.ts +12 -0
  100. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.types.js +1 -0
  101. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.d.ts +9 -0
  102. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/regulationRule/regulationRule.utils.js +19 -0
  103. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.d.ts +14 -0
  104. package/dist/features/network-modifications/twoWindingsTransformer/tapChanger/tapChanger.utils.js +79 -0
  105. package/dist/index.js +98 -6
  106. package/dist/translations/en/filterExpertEn.d.ts +0 -3
  107. package/dist/translations/en/filterExpertEn.js +0 -3
  108. package/dist/translations/en/network-modification-validationEn.d.ts +1 -0
  109. package/dist/translations/en/network-modification-validationEn.js +2 -1
  110. package/dist/translations/en/networkModificationsEn.d.ts +70 -9
  111. package/dist/translations/en/networkModificationsEn.js +71 -10
  112. package/dist/translations/fr/filterExpertFr.d.ts +0 -3
  113. package/dist/translations/fr/filterExpertFr.js +0 -3
  114. package/dist/translations/fr/network-modification-validationFr.d.ts +1 -0
  115. package/dist/translations/fr/network-modification-validationFr.js +2 -1
  116. package/dist/translations/fr/networkModificationsFr.d.ts +70 -9
  117. package/dist/translations/fr/networkModificationsFr.js +71 -10
  118. package/dist/utils/constants/fieldConstants.d.ts +37 -0
  119. package/dist/utils/constants/fieldConstants.js +37 -0
  120. package/dist/utils/constants/index.js +2 -1
  121. package/dist/utils/constants/translationKeys.d.ts +1 -0
  122. package/dist/utils/constants/translationKeys.js +2 -0
  123. package/dist/utils/functions.d.ts +9 -0
  124. package/dist/utils/functions.js +40 -0
  125. package/dist/utils/index.js +11 -4
  126. package/dist/utils/langs.d.ts +1 -0
  127. package/dist/utils/langs.js +9 -1
  128. package/dist/utils/types/equipmentType.d.ts +34 -0
  129. package/dist/utils/types/equipmentType.js +28 -0
  130. package/dist/utils/types/index.js +4 -1
  131. package/package.json +1 -1
  132. /package/dist/features/network-modifications/{line/characteristics/lineCharacteristicsPane.types.js → common/branch/branchCreation.types.js} +0 -0
@@ -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
+ })[];
@@ -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,
@@ -6,13 +6,13 @@ import { MAX_CHAR_DESCRIPTION } from "./constants/uiConstants.js";
6
6
  import { AMPERE, DEGREE, KILO_AMPERE, KILO_METER, KILO_VOLT, MEGA_VAR, MEGA_VOLT_AMPERE, MEGA_WATT, MICRO_SIEMENS, OHM, PERCENTAGE, SIEMENS } from "./constants/unitsConstants.js";
7
7
  import { COMMON_APP_NAME, COMMON_CONFIG_PARAMS_NAMES, LAST_SELECTED_DIRECTORY, PARAM_DEVELOPER_MODE, PARAM_LANGUAGE, PARAM_THEME } from "./constants/configConstants.js";
8
8
  import { FILTERS, FILTER_ID, FILTER_NAME, ID } from "./constants/filterConstant.js";
9
- 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 "./constants/translationKeys.js";
9
+ 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 "./constants/translationKeys.js";
10
10
  import { GRIDSUITE_DEFAULT_PRECISION, convertInputValue, convertOutputValue, isBlankOrEmpty, kiloUnitToUnit, microUnitToUnit, roundToDefaultPrecision, roundToPrecision, toModificationOperation, unitToKiloUnit, unitToMicroUnit } from "./conversionUtils.js";
11
11
  import { catchErrorHandler, extractErrorMessageDescriptor, snackWithFallback } from "./error.js";
12
12
  import { isDisabledValidationButton } from "./form-utils.js";
13
- import { areArrayElementsUnique, arraysContainIdenticalStrings, getRows, hasNonEmptyRows, isEmpty, isObjectEmpty, keyGenerator } from "./functions.js";
13
+ import { addSelectedFieldToRows, areArrayElementsUnique, areNumbersOrdered, arraysContainIdenticalStrings, getRows, hasNonEmptyRows, isEmpty, isObjectEmpty, keyGenerator } from "./functions.js";
14
14
  import { getEquipmentTypeShortLabel } from "./labelUtils.js";
15
- import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, getCsvDelimiter } from "./langs.js";
15
+ import { LANG_ENGLISH, LANG_FRENCH, LANG_SYSTEM, getCsvDelimiter, transformIfFrenchNumber } from "./langs.js";
16
16
  import { getFileIcon } from "./mapper/getFileIcon.js";
17
17
  import { equipmentTypesForPredefinedPropertiesMapper } from "./mapper/equipmentTypesForPredefinedPropertiesMapper.js";
18
18
  import { copyToClipboard } from "./navigator-clipboard.js";
@@ -22,7 +22,7 @@ import { CustomError } from "./types/CustomError.js";
22
22
  import { ProblemDetailError } from "./types/ProblemDetailError.js";
23
23
  import { NetworkTimeoutError } from "./types/NetworkTimeoutError.js";
24
24
  import { ElementType } from "./types/elementType.js";
25
- import { ALL_EQUIPMENTS, BASE_EQUIPMENTS, CONNECTION_DIRECTIONS, ENERGY_SOURCES, EQUIPMENTS_WITH_ONE_NOMINAL_VOLTAGE, EQUIPMENTS_WITH_ONE_SUBSTATION, EQUIPMENTS_WITH_THREE_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_SUBSTATIONS, EquipmentType, ExtendedEquipmentType, HvdcType, LOAD_TYPES, OperatingStatus, SEARCH_EQUIPMENTS, TYPE_TAG_MAX_SIZE, UNDEFINED_CONNECTION_DIRECTION, UNDEFINED_LOAD_TYPE, VL_TAG_MAX_SIZE, equipmentStyles, getConnectionDirectionLabel, getEnergySourceLabel, getEquipmentsInfosForSearchBar, getLoadTypeLabel } from "./types/equipmentType.js";
25
+ import { ALL_EQUIPMENTS, BASE_EQUIPMENTS, CONNECTION_DIRECTIONS, ENERGY_SOURCES, EQUIPMENTS_WITH_ONE_NOMINAL_VOLTAGE, EQUIPMENTS_WITH_ONE_SUBSTATION, EQUIPMENTS_WITH_THREE_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_NOMINAL_VOLTAGES, EQUIPMENTS_WITH_TWO_SUBSTATIONS, EquipmentType, ExtendedEquipmentType, HvdcType, LOAD_TYPES, OperatingStatus, PHASE_REGULATION_MODES, RATIO_REGULATION_MODES, REGULATION_SIDES, SEARCH_EQUIPMENTS, TYPE_TAG_MAX_SIZE, UNDEFINED_CONNECTION_DIRECTION, UNDEFINED_LOAD_TYPE, VL_TAG_MAX_SIZE, equipmentStyles, getConnectionDirectionLabel, getEnergySourceLabel, getEquipmentsInfosForSearchBar, getLoadTypeLabel } from "./types/equipmentType.js";
26
26
  import { Battery, BoundaryLine, BusBar, Generator, Hvdc, LCC, Line, Load, SVC, ShuntCompensator, Substation, ThreeWindingTransfo, TwoWindingTransfo, VSC, VoltageLevel, isInjection } from "./types/equipmentTypes.js";
27
27
  import { AnnouncementSeverity, ArrayAction, ElementStatus, ReferenceType } from "./types/types.js";
28
28
  import { MODIFICATION_TYPES, ModificationType } from "./types/modificationType.js";
@@ -126,6 +126,7 @@ export {
126
126
  PARAM_LANGUAGE,
127
127
  PARAM_THEME,
128
128
  PERCENTAGE,
129
+ PHASE_REGULATION_MODES,
129
130
  PREFIX_CONFIG_NOTIFICATION_WS,
130
131
  PREFIX_DIRECTORY_NOTIFICATION_WS,
131
132
  PREFIX_MONITOR_NOTIFICATION_WS,
@@ -133,8 +134,10 @@ export {
133
134
  ParameterType,
134
135
  PercentageAdornment,
135
136
  ProblemDetailError,
137
+ RATIO_REGULATION_MODES,
136
138
  REACTIVE_LIMITS_MIN_MAX_INVALID,
137
139
  REAL_PERCENTAGE,
140
+ REGULATION_SIDES,
138
141
  ReactivePowerAdornment,
139
142
  ReferenceType,
140
143
  RunningStatus,
@@ -149,6 +152,7 @@ export {
149
152
  SolverType,
150
153
  Substation,
151
154
  SusceptanceAdornment,
155
+ TARGET_DEADBAND_MUST_BE_GREATER_OR_EQUAL_TO_ZERO,
152
156
  TYPE_TAG_MAX_SIZE,
153
157
  ThreeWindingTransfo,
154
158
  TwoWindingTransfo,
@@ -167,8 +171,10 @@ export {
167
171
  YUP_NOT_TYPE_NUMBER,
168
172
  YUP_POSITIVE,
169
173
  YUP_REQUIRED,
174
+ addSelectedFieldToRows,
170
175
  areArrayElementsUnique,
171
176
  areIdsEqual,
177
+ areNumbersOrdered,
172
178
  arraysContainIdenticalStrings,
173
179
  catchErrorHandler,
174
180
  convertInputValue,
@@ -219,6 +225,7 @@ export {
219
225
  toModificationOperation,
220
226
  toNestedGlobalSelectors,
221
227
  toNumber,
228
+ transformIfFrenchNumber,
222
229
  unitToKiloUnit,
223
230
  unitToMicroUnit,
224
231
  validateValueIsANumber
@@ -4,3 +4,4 @@ export declare const LANG_FRENCH = "fr";
4
4
  export type GsLangUser = typeof LANG_ENGLISH | typeof LANG_FRENCH;
5
5
  export type GsLang = GsLangUser | typeof LANG_SYSTEM;
6
6
  export declare function getCsvDelimiter(language: string | undefined): ';' | ',';
7
+ export declare const transformIfFrenchNumber: (value: string, language: GsLang) => string;
@@ -4,9 +4,17 @@ const LANG_FRENCH = "fr";
4
4
  function getCsvDelimiter(language) {
5
5
  return language === LANG_FRENCH ? ";" : ",";
6
6
  }
7
+ const transformIfFrenchNumber = (value, language) => {
8
+ const trimmedValue = value.trim();
9
+ if (language === LANG_FRENCH && trimmedValue.includes(",") && !Number.isNaN(Number(trimmedValue.replace(",", ".")))) {
10
+ return trimmedValue.replace(",", ".");
11
+ }
12
+ return trimmedValue;
13
+ };
7
14
  export {
8
15
  LANG_ENGLISH,
9
16
  LANG_FRENCH,
10
17
  LANG_SYSTEM,
11
- getCsvDelimiter
18
+ getCsvDelimiter,
19
+ transformIfFrenchNumber
12
20
  };